@rarui/styles 2.6.3 → 2.7.0-rc.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/CHANGELOG.md +6 -0
- package/dist/index.css +1 -1
- package/dist/packages/exhibition/divider/index.d.ts +8 -8
- package/dist/packages/exhibition/icon/index.d.ts +18 -18
- package/dist/packages/exhibition/label/rarui-label.css.d.ts +1 -0
- package/dist/packages/exhibition/text/index.d.ts +18 -18
- package/dist/packages/exhibition/title/index.d.ts +18 -18
- package/dist/packages/input/dropdown/rarui-dropdown.css.d.ts +6 -0
- package/dist/packages/input/dropdown/rarui-dropdown.css.js +1 -1
- package/dist/packages/input/input/rarui-input.css.d.ts +3 -0
- package/dist/packages/input/toggle/rarui-toggle.css.d.ts +2 -0
- package/dist/packages/layout/box/index.d.ts +334 -322
- package/dist/packages/layout/box/rarui-box.css +4032 -4005
- package/dist/packages/layout/box/rarui-box.css.js +1 -1
- package/dist/packages/layout/box/rarui-box.types.d.ts +1 -1
- package/dist/packages/navigation/pagination/rarui-pagination.css.d.ts +1 -1
- package/dist/packages/surface/card/index.d.ts +32 -32
- package/dist/packages/surface/modal/rarui-modal.css.js +1 -1
- package/package.json +3 -2
|
@@ -10,7 +10,7 @@ interface BoxConditions<T> extends Conditions<T> {
|
|
|
10
10
|
hover?: T;
|
|
11
11
|
disabled?: T;
|
|
12
12
|
}
|
|
13
|
-
type BoxDynamicProperties = Pick<StandardLonghandProperties, "display" | "width" | "height" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "bottom" | "left" | "right" | "top" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "flexShrink" | "flexGrow" | "order" | "transitionDelay" | "transitionProperty" | "backgroundImage" | "backgroundBlendMode" | "backgroundRepeat" | "backgroundSize" | "flexDirection" | "flexWrap" | "flexBasis" | "justifyContent" | "justifyItems" | "alignContent" | "alignItems" | "alignSelf" | "pointerEvents" | "position" | "boxSizing" | "cursor" | "overflowX" | "overflowY" | "transitionTimingFunction" | "textAlign" | "opacity" | "backgroundPositionY" | "backgroundPositionX"> & Pick<StandardShorthandProperties, "flex" | "gridArea" | "backgroundPosition" | "flexFlow" | "borderStyle" | "overflow" | "textDecoration">;
|
|
13
|
+
type BoxDynamicProperties = Pick<StandardLonghandProperties, "display" | "width" | "height" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "bottom" | "left" | "right" | "top" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "flexShrink" | "flexGrow" | "order" | "transitionDelay" | "transitionProperty" | "backgroundImage" | "backgroundBlendMode" | "backgroundRepeat" | "backgroundSize" | "flexDirection" | "flexWrap" | "flexBasis" | "justifyContent" | "justifyItems" | "alignContent" | "alignItems" | "alignSelf" | "pointerEvents" | "position" | "boxSizing" | "cursor" | "overflowX" | "overflowY" | "transitionTimingFunction" | "textAlign" | "opacity" | "backgroundPositionY" | "backgroundPositionX" | "verticalAlign"> & Pick<StandardShorthandProperties, "flex" | "gridArea" | "backgroundPosition" | "flexFlow" | "borderStyle" | "overflow" | "textDecoration">;
|
|
14
14
|
interface BoxSprinkle extends BoxDynamicProperties {
|
|
15
15
|
/**
|
|
16
16
|
* The gap property sets the gaps between rows and columns. It is a shorthand for rowGap and columnGap.
|
|
@@ -18,131 +18,131 @@ declare const card: {
|
|
|
18
18
|
config: {
|
|
19
19
|
backgroundColor: {
|
|
20
20
|
values: {
|
|
21
|
-
|
|
21
|
+
background: {
|
|
22
22
|
default: string;
|
|
23
23
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
brand: {
|
|
26
26
|
default: string;
|
|
27
27
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
28
28
|
};
|
|
29
|
-
"brand-
|
|
29
|
+
"brand-hover": {
|
|
30
30
|
default: string;
|
|
31
31
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
32
32
|
};
|
|
33
|
-
"
|
|
33
|
+
"brand-press": {
|
|
34
34
|
default: string;
|
|
35
35
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
36
36
|
};
|
|
37
|
-
"
|
|
37
|
+
"brand-subdued": {
|
|
38
38
|
default: string;
|
|
39
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
disabled: {
|
|
42
42
|
default: string;
|
|
43
43
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
error: {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
48
48
|
};
|
|
49
|
-
"
|
|
49
|
+
"error-hover": {
|
|
50
50
|
default: string;
|
|
51
51
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
52
52
|
};
|
|
53
|
-
"
|
|
53
|
+
"error-press": {
|
|
54
54
|
default: string;
|
|
55
55
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
56
56
|
};
|
|
57
|
-
"
|
|
57
|
+
"error-subdued": {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
hover: {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
info: {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
"
|
|
69
|
+
"info-hover": {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
"
|
|
73
|
+
"info-press": {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
"
|
|
77
|
+
"info-subdued": {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
invert: {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
"
|
|
85
|
+
"invert-disabled": {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
89
|
-
"
|
|
89
|
+
"invert-hover": {
|
|
90
90
|
default: string;
|
|
91
91
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
92
92
|
};
|
|
93
|
-
"
|
|
93
|
+
"invert-press": {
|
|
94
94
|
default: string;
|
|
95
95
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
"invert-secondary": {
|
|
98
98
|
default: string;
|
|
99
99
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
overlay: {
|
|
102
102
|
default: string;
|
|
103
103
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
press: {
|
|
106
106
|
default: string;
|
|
107
107
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
primary: {
|
|
110
110
|
default: string;
|
|
111
111
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
secondary: {
|
|
114
114
|
default: string;
|
|
115
115
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
success: {
|
|
118
118
|
default: string;
|
|
119
119
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
"success-hover": {
|
|
122
122
|
default: string;
|
|
123
123
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
"success-press": {
|
|
126
126
|
default: string;
|
|
127
127
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
"success-subdued": {
|
|
130
130
|
default: string;
|
|
131
131
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
132
132
|
};
|
|
133
|
-
|
|
133
|
+
warning: {
|
|
134
134
|
default: string;
|
|
135
135
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
"warning-hover": {
|
|
138
138
|
default: string;
|
|
139
139
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
"warning-press": {
|
|
142
142
|
default: string;
|
|
143
143
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
144
144
|
};
|
|
145
|
-
warning: {
|
|
145
|
+
"warning-subdued": {
|
|
146
146
|
default: string;
|
|
147
147
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
148
148
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../../../node_modules/rainbow-sprinkles/dist/createRuntimeFn-891c4670.esm.js";import{c as
|
|
1
|
+
import{c as a}from"../../../node_modules/rainbow-sprinkles/dist/createRuntimeFn-891c4670.esm.js";import{c as d}from"../../../node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";var l=a({config:{maxWidth:{dynamic:{default:"rarui-modal_maxWidth-xs__qilkny9",conditions:{xs:"rarui-modal_maxWidth-xs__qilkny9",md:"rarui-modal_maxWidth-md__qilknya",lg:"rarui-modal_maxWidth-lg__qilknyb",xl:"rarui-modal_maxWidth-xl__qilknyc"}},name:"maxWidth",vars:{conditions:{xs:"var(--maxWidth-xs__qilkny5)",md:"var(--maxWidth-md__qilkny6)",lg:"var(--maxWidth-lg__qilkny7)",xl:"var(--maxWidth-xl__qilkny8)"},default:"var(--maxWidth-xs__qilkny5)"},dynamicScale:!0},zIndex:{values:{100:{conditions:{xs:"rarui-modal_zIndex-100-xs__qilknyd",md:"rarui-modal_zIndex-100-md__qilknye",lg:"rarui-modal_zIndex-100-lg__qilknyf",xl:"rarui-modal_zIndex-100-xl__qilknyg"},default:"rarui-modal_zIndex-100-xs__qilknyd"},200:{conditions:{xs:"rarui-modal_zIndex-200-xs__qilknyh",md:"rarui-modal_zIndex-200-md__qilknyi",lg:"rarui-modal_zIndex-200-lg__qilknyj",xl:"rarui-modal_zIndex-200-xl__qilknyk"},default:"rarui-modal_zIndex-200-xs__qilknyh"},300:{conditions:{xs:"rarui-modal_zIndex-300-xs__qilknyl",md:"rarui-modal_zIndex-300-md__qilknym",lg:"rarui-modal_zIndex-300-lg__qilknyn",xl:"rarui-modal_zIndex-300-xl__qilknyo"},default:"rarui-modal_zIndex-300-xs__qilknyl"},400:{conditions:{xs:"rarui-modal_zIndex-400-xs__qilknyp",md:"rarui-modal_zIndex-400-md__qilknyq",lg:"rarui-modal_zIndex-400-lg__qilknyr",xl:"rarui-modal_zIndex-400-xl__qilknys"},default:"rarui-modal_zIndex-400-xs__qilknyp"},500:{conditions:{xs:"rarui-modal_zIndex-500-xs__qilknyt",md:"rarui-modal_zIndex-500-md__qilknyu",lg:"rarui-modal_zIndex-500-lg__qilknyv",xl:"rarui-modal_zIndex-500-xl__qilknyw"},default:"rarui-modal_zIndex-500-xs__qilknyt"},600:{conditions:{xs:"rarui-modal_zIndex-600-xs__qilknyx",md:"rarui-modal_zIndex-600-md__qilknyy",lg:"rarui-modal_zIndex-600-lg__qilknyz",xl:"rarui-modal_zIndex-600-xl__qilkny10"},default:"rarui-modal_zIndex-600-xs__qilknyx"},700:{conditions:{xs:"rarui-modal_zIndex-700-xs__qilkny11",md:"rarui-modal_zIndex-700-md__qilkny12",lg:"rarui-modal_zIndex-700-lg__qilkny13",xl:"rarui-modal_zIndex-700-xl__qilkny14"},default:"rarui-modal_zIndex-700-xs__qilkny11"},800:{conditions:{xs:"rarui-modal_zIndex-800-xs__qilkny15",md:"rarui-modal_zIndex-800-md__qilkny16",lg:"rarui-modal_zIndex-800-lg__qilkny17",xl:"rarui-modal_zIndex-800-xl__qilkny18"},default:"rarui-modal_zIndex-800-xs__qilkny15"},900:{conditions:{xs:"rarui-modal_zIndex-900-xs__qilkny19",md:"rarui-modal_zIndex-900-md__qilkny1a",lg:"rarui-modal_zIndex-900-lg__qilkny1b",xl:"rarui-modal_zIndex-900-xl__qilkny1c"},default:"rarui-modal_zIndex-900-xs__qilkny19"}},name:"zIndex",staticScale:{100:"var(--rarui-zIndex-100)",200:"var(--rarui-zIndex-200)",300:"var(--rarui-zIndex-300)",400:"var(--rarui-zIndex-400)",500:"var(--rarui-zIndex-500)",600:"var(--rarui-zIndex-600)",700:"var(--rarui-zIndex-700)",800:"var(--rarui-zIndex-800)",900:"var(--rarui-zIndex-900)"}}}}),i={modal:d({defaultClassName:"rarui-modal__qilkny0",variantClassNames:{padding:{base:"rarui-modal_padding_base__qilkny1",none:"rarui-modal_padding_none__qilkny2"}},defaultVariants:{padding:"base"},compoundVariants:[]}),overlay:"rarui-modal_overlay__qilkny4"};export{l as modalSprinkle,i as modalStyles};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/styles",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -44,5 +44,6 @@
|
|
|
44
44
|
"@vanilla-extract/sprinkles": "^1.6.2",
|
|
45
45
|
"jest": "^29.7.0",
|
|
46
46
|
"ts-jest": "^29.2.5"
|
|
47
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"stableVersion": "2.6.3"
|
|
48
49
|
}
|