@aakaar/dictionary 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/dist/index.cjs +7608 -0
- package/dist/index.d.cts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +7576 -0
- package/package.json +35 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare enum VariableCase {
|
|
2
|
+
KEBAB = "KEBAB",
|
|
3
|
+
SNAKE = "SNAKE",
|
|
4
|
+
CAMEL = "CAMEL"
|
|
5
|
+
}
|
|
6
|
+
declare enum Size {
|
|
7
|
+
zero = "0",
|
|
8
|
+
xs = "xs",
|
|
9
|
+
sm = "sm",
|
|
10
|
+
md = "md",
|
|
11
|
+
lg = "lg",
|
|
12
|
+
xl = "xl",
|
|
13
|
+
full = "full"
|
|
14
|
+
}
|
|
15
|
+
type CssObject = {
|
|
16
|
+
name: string;
|
|
17
|
+
value: string;
|
|
18
|
+
};
|
|
19
|
+
type DesignToken = {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
type CategoryDesignTokens = {
|
|
24
|
+
category: string;
|
|
25
|
+
tokens: DesignToken[];
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare const transformTokenToCssObject: (token: DesignToken) => CssObject;
|
|
29
|
+
declare const transformTokenToCSSVariable: (colorToken: DesignToken) => string;
|
|
30
|
+
declare const buildCategoryDesignTokens: (color: string) => CategoryDesignTokens[];
|
|
31
|
+
declare const runCss: (color: string) => string;
|
|
32
|
+
|
|
33
|
+
export { type CategoryDesignTokens, type CssObject, type DesignToken, Size, VariableCase, buildCategoryDesignTokens, runCss, transformTokenToCSSVariable, transformTokenToCssObject };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare enum VariableCase {
|
|
2
|
+
KEBAB = "KEBAB",
|
|
3
|
+
SNAKE = "SNAKE",
|
|
4
|
+
CAMEL = "CAMEL"
|
|
5
|
+
}
|
|
6
|
+
declare enum Size {
|
|
7
|
+
zero = "0",
|
|
8
|
+
xs = "xs",
|
|
9
|
+
sm = "sm",
|
|
10
|
+
md = "md",
|
|
11
|
+
lg = "lg",
|
|
12
|
+
xl = "xl",
|
|
13
|
+
full = "full"
|
|
14
|
+
}
|
|
15
|
+
type CssObject = {
|
|
16
|
+
name: string;
|
|
17
|
+
value: string;
|
|
18
|
+
};
|
|
19
|
+
type DesignToken = {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
type CategoryDesignTokens = {
|
|
24
|
+
category: string;
|
|
25
|
+
tokens: DesignToken[];
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare const transformTokenToCssObject: (token: DesignToken) => CssObject;
|
|
29
|
+
declare const transformTokenToCSSVariable: (colorToken: DesignToken) => string;
|
|
30
|
+
declare const buildCategoryDesignTokens: (color: string) => CategoryDesignTokens[];
|
|
31
|
+
declare const runCss: (color: string) => string;
|
|
32
|
+
|
|
33
|
+
export { type CategoryDesignTokens, type CssObject, type DesignToken, Size, VariableCase, buildCategoryDesignTokens, runCss, transformTokenToCSSVariable, transformTokenToCssObject };
|