1
0
Fork 0

worked on GarageApp stuff

This commit is contained in:
Techognito 2025-08-25 17:46:11 +02:00
parent 60aaf17af3
commit eb606572b0
51919 changed files with 2168177 additions and 18 deletions

View file

@ -0,0 +1,16 @@
import type { EmotionCache } from '@emotion/utils';
import { StylisPlugin } from "./types.js";
export interface Options {
nonce?: string;
stylisPlugins?: Array<StylisPlugin>;
key: string;
container?: Node;
speedy?: boolean;
/** @deprecate use `insertionPoint` instead */
prepend?: boolean;
insertionPoint?: HTMLElement;
}
declare let createCache: (options: Options) => EmotionCache;
export default createCache;
export type { EmotionCache };
export type { StylisElement, StylisPlugin, StylisPluginCallback } from "./types.js";

View file

@ -0,0 +1,14 @@
export interface StylisElement {
type: string;
value: string;
props: Array<string> | string;
root: StylisElement | null;
parent: StylisElement | null;
children: Array<StylisElement> | string;
line: number;
column: number;
length: number;
return: string;
}
export type StylisPluginCallback = (element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback) => string | void;
export type StylisPlugin = (element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback) => string | void;