@nimbus-ds/styles 5.0.0-rc.1 → 5.0.0-rc.2
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/dist/packages/atomic/box/box.sprinkle.css.d.ts +4 -4
- package/dist/packages/atomic/box/index.d.ts +8 -8
- package/dist/packages/atomic/checkbox/checkbox.sprinkle.css.d.ts +1 -1
- package/dist/packages/atomic/checkbox/index.d.ts +1 -1
- package/dist/packages/atomic/fileUploader/fileUploader.sprinkle.css.d.ts +2 -2
- package/dist/packages/atomic/fileUploader/index.d.ts +2 -2
- package/dist/packages/atomic/icon/icon.sprinkle.css.d.ts +1 -1
- package/dist/packages/atomic/icon/index.d.ts +1 -1
- package/dist/packages/atomic/radio/index.d.ts +1 -1
- package/dist/packages/atomic/radio/radio.sprinkle.css.d.ts +1 -1
- package/dist/packages/atomic/stack/index.d.ts +5 -5
- package/dist/packages/atomic/stack/stack.sprinkle.css.d.ts +3 -3
- package/package.json +2 -2
|
@@ -64,11 +64,11 @@ export declare const sprinkle: import("rainbow-sprinkles/dist/declarations/src/c
|
|
|
64
64
|
config: {
|
|
65
65
|
borderStyle: {
|
|
66
66
|
values: {
|
|
67
|
-
|
|
67
|
+
solid: {
|
|
68
68
|
default: string;
|
|
69
69
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
none: {
|
|
72
72
|
default: string;
|
|
73
73
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
74
74
|
};
|
|
@@ -104,11 +104,11 @@ export declare const sprinkle: import("rainbow-sprinkles/dist/declarations/src/c
|
|
|
104
104
|
};
|
|
105
105
|
cursor: {
|
|
106
106
|
values: {
|
|
107
|
-
|
|
107
|
+
auto: {
|
|
108
108
|
default: string;
|
|
109
109
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
110
110
|
};
|
|
111
|
-
|
|
111
|
+
pointer: {
|
|
112
112
|
default: string;
|
|
113
113
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
114
114
|
};
|
|
@@ -3,11 +3,11 @@ export declare const box: {
|
|
|
3
3
|
config: {
|
|
4
4
|
borderStyle: {
|
|
5
5
|
values: {
|
|
6
|
-
|
|
6
|
+
solid: {
|
|
7
7
|
default: string;
|
|
8
8
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
none: {
|
|
11
11
|
default: string;
|
|
12
12
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
13
13
|
};
|
|
@@ -24,7 +24,7 @@ export declare const box: {
|
|
|
24
24
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
staticScale: ("
|
|
27
|
+
staticScale: ("solid" | "none" | "hidden" | "dashed" | "dotted")[];
|
|
28
28
|
name: "borderStyle";
|
|
29
29
|
};
|
|
30
30
|
boxSizing: {
|
|
@@ -43,16 +43,16 @@ export declare const box: {
|
|
|
43
43
|
};
|
|
44
44
|
cursor: {
|
|
45
45
|
values: {
|
|
46
|
-
|
|
46
|
+
auto: {
|
|
47
47
|
default: string;
|
|
48
48
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
pointer: {
|
|
51
51
|
default: string;
|
|
52
52
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
staticScale: ("
|
|
55
|
+
staticScale: ("auto" | "pointer")[];
|
|
56
56
|
name: "cursor";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -544,7 +544,7 @@ export declare const box: {
|
|
|
544
544
|
"neutral.surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
545
545
|
"neutral.surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
546
546
|
};
|
|
547
|
-
borderStyle: ("
|
|
547
|
+
borderStyle: ("solid" | "none" | "hidden" | "dashed" | "dotted")[];
|
|
548
548
|
boxSizing: ("border-box" | "content-box")[];
|
|
549
549
|
space: {
|
|
550
550
|
none: string;
|
|
@@ -562,7 +562,7 @@ export declare const box: {
|
|
|
562
562
|
"18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
563
563
|
"20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
564
564
|
};
|
|
565
|
-
cursor: ("
|
|
565
|
+
cursor: ("auto" | "pointer")[];
|
|
566
566
|
};
|
|
567
567
|
};
|
|
568
568
|
export type { BoxSprinkle } from "./box.sprinkle.types";
|
|
@@ -9,7 +9,7 @@ export declare const cursorProperties: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const sprinkle: ((props: {
|
|
11
11
|
borderColor?: "primary.interactive" | "danger.interactive" | "neutral.interactive" | undefined;
|
|
12
|
-
cursor?: "
|
|
12
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
13
13
|
}) => string) & {
|
|
14
14
|
properties: Set<"cursor" | "borderColor">;
|
|
15
15
|
};
|
|
@@ -3,7 +3,7 @@ export declare const checkbox: {
|
|
|
3
3
|
style: typeof styles;
|
|
4
4
|
sprinkle: ((props: {
|
|
5
5
|
borderColor?: "primary.interactive" | "danger.interactive" | "neutral.interactive" | undefined;
|
|
6
|
-
cursor?: "
|
|
6
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
7
7
|
}) => string) & {
|
|
8
8
|
properties: Set<"cursor" | "borderColor">;
|
|
9
9
|
};
|
|
@@ -18,8 +18,8 @@ export declare const cursorProperties: {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const sprinkle: ((props: {
|
|
20
20
|
aspectRatio?: "none" | "1-1" | "16-9" | "9-16" | "4-3" | "3-4" | "2-1" | "1-2" | undefined;
|
|
21
|
-
flexDirection?: "
|
|
22
|
-
cursor?: "
|
|
21
|
+
flexDirection?: "column" | "row" | undefined;
|
|
22
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
23
23
|
}) => string) & {
|
|
24
24
|
properties: Set<"aspectRatio" | "cursor" | "flexDirection">;
|
|
25
25
|
};
|
|
@@ -3,8 +3,8 @@ export declare const fileUploader: {
|
|
|
3
3
|
style: typeof style;
|
|
4
4
|
sprinkle: ((props: {
|
|
5
5
|
aspectRatio?: "none" | "1-1" | "16-9" | "9-16" | "4-3" | "3-4" | "2-1" | "1-2" | undefined;
|
|
6
|
-
flexDirection?: "
|
|
7
|
-
cursor?: "
|
|
6
|
+
flexDirection?: "column" | "row" | undefined;
|
|
7
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
8
8
|
}) => string) & {
|
|
9
9
|
properties: Set<"aspectRatio" | "cursor" | "flexDirection">;
|
|
10
10
|
};
|
|
@@ -20,7 +20,7 @@ export declare const colorProperties: {
|
|
|
20
20
|
export declare const cursorProperties: readonly ["auto", "pointer"];
|
|
21
21
|
export declare const sprinkle: ((props: {
|
|
22
22
|
color?: "primary.interactive" | "primary.textLow" | "primary.textHigh" | "success.interactive" | "success.textLow" | "success.textHigh" | "warning.interactive" | "warning.textLow" | "warning.textHigh" | "danger.interactive" | "danger.textLow" | "danger.textHigh" | "neutral.background" | "neutral.interactive" | "neutral.textDisabled" | "neutral.textLow" | "neutral.textHigh" | undefined;
|
|
23
|
-
cursor?: "
|
|
23
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
24
24
|
}) => string) & {
|
|
25
25
|
properties: Set<"color" | "cursor">;
|
|
26
26
|
};
|
|
@@ -2,7 +2,7 @@ export declare const icon: {
|
|
|
2
2
|
style: string;
|
|
3
3
|
sprinkle: ((props: {
|
|
4
4
|
color?: "primary.interactive" | "primary.textLow" | "primary.textHigh" | "success.interactive" | "success.textLow" | "success.textHigh" | "warning.interactive" | "warning.textLow" | "warning.textHigh" | "danger.interactive" | "danger.textLow" | "danger.textHigh" | "neutral.background" | "neutral.interactive" | "neutral.textDisabled" | "neutral.textLow" | "neutral.textHigh" | undefined;
|
|
5
|
-
cursor?: "
|
|
5
|
+
cursor?: "auto" | "pointer" | undefined;
|
|
6
6
|
}) => string) & {
|
|
7
7
|
properties: Set<"color" | "cursor">;
|
|
8
8
|
};
|
|
@@ -29,15 +29,15 @@ export declare const stack: {
|
|
|
29
29
|
};
|
|
30
30
|
flexDirection: {
|
|
31
31
|
values: {
|
|
32
|
-
|
|
32
|
+
column: {
|
|
33
33
|
default: string;
|
|
34
34
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
35
35
|
};
|
|
36
|
-
column: {
|
|
36
|
+
"column-reverse": {
|
|
37
37
|
default: string;
|
|
38
38
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
row: {
|
|
41
41
|
default: string;
|
|
42
42
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
43
43
|
};
|
|
@@ -46,7 +46,7 @@ export declare const stack: {
|
|
|
46
46
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
staticScale: ("
|
|
49
|
+
staticScale: ("column" | "column-reverse" | "row" | "row-reverse")[];
|
|
50
50
|
name: "flexDirection";
|
|
51
51
|
};
|
|
52
52
|
flexWrap: {
|
|
@@ -260,7 +260,7 @@ export declare const stack: {
|
|
|
260
260
|
}]>;
|
|
261
261
|
properties: {
|
|
262
262
|
display: ("flex" | "grid" | "block" | "inline-flex" | "inline-grid")[];
|
|
263
|
-
flexDirection: ("
|
|
263
|
+
flexDirection: ("column" | "column-reverse" | "row" | "row-reverse")[];
|
|
264
264
|
flexWrap: ("nowrap" | "wrap" | "wrap-reverse")[];
|
|
265
265
|
justifyContent: ("center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start")[];
|
|
266
266
|
alignItems: ("stretch" | "center" | "flex-end" | "flex-start" | "baseline")[];
|
|
@@ -55,15 +55,15 @@ export declare const sprinkle: import("rainbow-sprinkles/dist/declarations/src/c
|
|
|
55
55
|
};
|
|
56
56
|
flexDirection: {
|
|
57
57
|
values: {
|
|
58
|
-
|
|
58
|
+
column: {
|
|
59
59
|
default: string;
|
|
60
60
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
61
61
|
};
|
|
62
|
-
column: {
|
|
62
|
+
"column-reverse": {
|
|
63
63
|
default: string;
|
|
64
64
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
row: {
|
|
67
67
|
default: string;
|
|
68
68
|
conditions: Record<"xs" | "md" | "lg", string>;
|
|
69
69
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/styles",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"url": "https://github.com/TiendaNube/nimbus-design-system/issues"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nimbus-ds/webpack": "1.0.0-rc.
|
|
28
|
+
"@nimbus-ds/webpack": "1.0.0-rc.2",
|
|
29
29
|
"@types/glob": "^8",
|
|
30
30
|
"@vanilla-extract/css": "^1.9.2",
|
|
31
31
|
"@vanilla-extract/recipes": "^0.3.0",
|