@cronocode/react-box 0.3.5 → 0.3.6
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/box.d.ts +20 -12
- package/box.module.css.js +5319 -5091
- package/css.variables.d.ts +11 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/types.d.ts +2 -4
- package/components/flex.d.ts +0 -16
package/css.variables.d.ts
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
declare const variables: {
|
|
2
2
|
sizes: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100];
|
|
3
3
|
sizeMultiplier: number;
|
|
4
|
-
colors: readonly ["primary", "primaryLight", "primaryDark", "secondary", "secondaryLight", "secondaryDark", "tertiary", "tertiaryLight", "tertiaryDark", "blue", "blueLight", "blueDark", "red", "redLight", "redDark", "purple", "purpleLight", "purpleDark", "yellow", "yellowLight", "yellowDark", "pink", "pinkLight", "pinkDark", "green", "greenLight", "greenDark", "orange", "orangeLight", "orangeDark", "navy", "navyLight", "navyDark", "teal", "tealLight", "tealDark", "violet", "violetLight", "violetDark", "
|
|
4
|
+
colors: readonly ["black", "white", "transparent", "primary", "primaryLight", "primaryDark", "secondary", "secondaryLight", "secondaryDark", "tertiary", "tertiaryLight", "tertiaryDark", "blue", "blueLight", "blueDark", "red", "redLight", "redDark", "purple", "purpleLight", "purpleDark", "yellow", "yellowLight", "yellowDark", "pink", "pinkLight", "pinkDark", "green", "greenLight", "greenDark", "orange", "orangeLight", "orangeDark", "navy", "navyLight", "navyDark", "teal", "tealLight", "tealDark", "violet", "violetLight", "violetDark", "gray", "grayLight", "grayDark", "brown", "brownLight", "brownDark", "orange", "orangeLight", "orangeDark"];
|
|
5
|
+
fontColors: readonly ["color1", "color2", "color3", "color4", "color5", "color6", "color7", "color8", "color9", "color10"];
|
|
6
|
+
bgColors: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
7
|
+
borderColors: readonly [1, 2, 3, 4, 5];
|
|
8
|
+
backgrounds: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
9
|
+
shadows: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
5
10
|
cursors: readonly ["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "e-resize", "n-resize", "ne-resize", "nw-resize", "s-resize", "se-resize", "sw-resize", "w-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "col-resize", "row-resize", "all-scroll", "zoom-in", "zoom-out", "grab", "grabbing"];
|
|
6
11
|
fontSizes: readonly [6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 54, 58, 64, 70, 78, 86, 96];
|
|
7
12
|
};
|
|
8
13
|
export declare type SizeType = typeof variables.sizes[number];
|
|
9
14
|
export declare type ColorType = typeof variables.colors[number];
|
|
15
|
+
export declare type BaseFontColorType = typeof variables.fontColors[number];
|
|
16
|
+
export declare type BaseBgColorType = typeof variables.bgColors[number];
|
|
17
|
+
export declare type BaseBorderColorType = typeof variables.bgColors[number];
|
|
18
|
+
export declare type BackgroundType = typeof variables.backgrounds[number];
|
|
19
|
+
export declare type ShadowType = typeof variables.shadows[number];
|
|
10
20
|
export declare type CursorType = typeof variables.cursors[number];
|
|
11
21
|
export declare type FontSizeType = typeof variables.fontSizes[number];
|
|
12
22
|
export default variables;
|