MCPcopy
hub / github.com/kuma-ui/kuma-ui / StyleSheet

Interface StyleSheet

packages/core/src/registry/sheet/StyleSheet.ts:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging -- FIXME
12export interface StyleSheet {
13 inject(): void;
14 isSpeedy(): boolean;
15 setSpeedy(bool: boolean): void;
16 insertRule(rule: string, index?: number): number;
17 deleteRule(index: number): void;
18 flush(): void;
19 cssRules(): (CSSRule | undefined)[];
20}
21
22// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging -- FIXME
23export class StyleSheet implements StyleSheet {

Callers 15

constructorMethod · 0.65
flushMethod · 0.65
stylesMethod · 0.65
addMethod · 0.65
insertRuleMethod · 0.65
deleteRuleMethod · 0.65
insertRuleMethod · 0.65
deleteRuleMethod · 0.65
removeMethod · 0.65
deleteRuleMethod · 0.65
deleteRuleMethod · 0.65
getInitialPropsMethod · 0.65

Implementers 3

ServerStyleSheetpackages/core/src/registry/sheet/Serve
ClientStyleSheetpackages/core/src/registry/sheet/Clien
StyleSheetpackages/core/src/registry/sheet/Style

Calls

no outgoing calls

Tested by

no test coverage detected