@rarui/styles 3.2.3 → 3.3.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 +12 -0
- package/dist/index.css +2 -2
- package/dist/packages/exhibition/divider/index.d.ts +8 -8
- package/dist/packages/exhibition/icon/index.d.ts +18 -18
- package/dist/packages/exhibition/text/index.d.ts +18 -18
- package/dist/packages/exhibition/title/index.d.ts +18 -18
- package/dist/packages/input/checkbox/rarui-checkbox.css +8 -4
- package/dist/packages/layout/box/index.d.ts +319 -319
- package/dist/packages/layout/sidebar/index.d.ts +2 -2
- package/dist/packages/surface/banner/index.d.ts +3 -0
- package/dist/packages/surface/banner/rarui-banner.css +36 -2
- package/dist/packages/surface/banner/rarui-banner.css.d.ts +7 -0
- package/dist/packages/surface/banner/rarui-banner.css.js +1 -1
- package/dist/packages/surface/card/index.d.ts +33 -33
- package/package.json +1 -1
|
@@ -79,11 +79,11 @@ declare const sidebar: {
|
|
|
79
79
|
};
|
|
80
80
|
padding: {
|
|
81
81
|
values: {
|
|
82
|
-
|
|
82
|
+
medium: {
|
|
83
83
|
default: string;
|
|
84
84
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
none: {
|
|
87
87
|
default: string;
|
|
88
88
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
89
89
|
};
|
|
@@ -42,9 +42,43 @@
|
|
|
42
42
|
.rarui-banner_floating_true__1wgs6s28 {
|
|
43
43
|
border-radius: var(--rarui-shape-border-radius-xs);
|
|
44
44
|
}
|
|
45
|
-
.rarui-
|
|
45
|
+
.rarui-banner__compound_0__1wgs6s2a {
|
|
46
46
|
border: 1px solid var(--rarui-colors-border-subdued);
|
|
47
47
|
}
|
|
48
|
-
.rarui-
|
|
48
|
+
.rarui-banner__compound_1__1wgs6s2b {
|
|
49
49
|
border: 1px solid var(--rarui-colors-border-invert);
|
|
50
|
+
}
|
|
51
|
+
.rarui-banner__compound_2__1wgs6s2c {
|
|
52
|
+
background-color: var(--rarui-colors-surface-brand-subdued);
|
|
53
|
+
color: var(--rarui-colors-content-brand);
|
|
54
|
+
}
|
|
55
|
+
.rarui-banner__compound_3__1wgs6s2d {
|
|
56
|
+
background-color: var(--rarui-colors-surface-info-subdued);
|
|
57
|
+
color: var(--rarui-colors-content-info);
|
|
58
|
+
}
|
|
59
|
+
.rarui-banner__compound_4__1wgs6s2e {
|
|
60
|
+
background-color: var(--rarui-colors-surface-secondary);
|
|
61
|
+
color: var(--rarui-colors-content-secondary);
|
|
62
|
+
border-width: var(--rarui-shape-border-width-1);
|
|
63
|
+
border-color: var(--rarui-colors-border-subdued);
|
|
64
|
+
border-style: solid;
|
|
65
|
+
}
|
|
66
|
+
.rarui-banner__compound_5__1wgs6s2f {
|
|
67
|
+
background-color: var(--rarui-colors-surface-invert-secondary);
|
|
68
|
+
color: var(--rarui-colors-content-invert);
|
|
69
|
+
border-width: var(--rarui-shape-border-width-1);
|
|
70
|
+
border-color: var(--rarui-colors-border-invert);
|
|
71
|
+
border-style: solid;
|
|
72
|
+
}
|
|
73
|
+
.rarui-banner__compound_6__1wgs6s2g {
|
|
74
|
+
background-color: var(--rarui-colors-surface-warning-subdued);
|
|
75
|
+
color: var(--rarui-colors-content-warning);
|
|
76
|
+
}
|
|
77
|
+
.rarui-banner__compound_7__1wgs6s2h {
|
|
78
|
+
background-color: var(--rarui-colors-surface-error-subdued);
|
|
79
|
+
color: var(--rarui-colors-content-error);
|
|
80
|
+
}
|
|
81
|
+
.rarui-banner__compound_8__1wgs6s2i {
|
|
82
|
+
background-color: var(--rarui-colors-surface-success-subdued);
|
|
83
|
+
color: var(--rarui-colors-content-success);
|
|
50
84
|
}
|
|
@@ -45,6 +45,13 @@ declare const bannerStyles: {
|
|
|
45
45
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* Enables subdued color variants for the banner. When true, uses softer, less vibrant versions of the appearance colors for a more subtle presentation.
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
tonal: {
|
|
53
|
+
true: {};
|
|
54
|
+
};
|
|
48
55
|
}>;
|
|
49
56
|
};
|
|
50
57
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../../../node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";var r={banner:a({defaultClassName:"rarui-banner__1wgs6s20",variantClassNames:{appearance:{brand:"rarui-banner_appearance_brand__1wgs6s21",success:"rarui-banner_appearance_success__1wgs6s22",info:"rarui-banner_appearance_info__1wgs6s23",neutral:"rarui-banner_appearance_neutral__1wgs6s24",inverted:"rarui-banner_appearance_inverted__1wgs6s25",warning:"rarui-banner_appearance_warning__1wgs6s26",error:"rarui-banner_appearance_error__1wgs6s27"},floating:{true:"rarui-banner_floating_true__1wgs6s28"}},defaultVariants:{appearance:"brand",floating:!1},compoundVariants:[[{appearance:"neutral",floating:!0},"rarui-
|
|
1
|
+
import{c as a}from"../../../node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";var r={banner:a({defaultClassName:"rarui-banner__1wgs6s20",variantClassNames:{appearance:{brand:"rarui-banner_appearance_brand__1wgs6s21",success:"rarui-banner_appearance_success__1wgs6s22",info:"rarui-banner_appearance_info__1wgs6s23",neutral:"rarui-banner_appearance_neutral__1wgs6s24",inverted:"rarui-banner_appearance_inverted__1wgs6s25",warning:"rarui-banner_appearance_warning__1wgs6s26",error:"rarui-banner_appearance_error__1wgs6s27"},floating:{true:"rarui-banner_floating_true__1wgs6s28"},tonal:{true:"rarui-banner_tonal_true__1wgs6s29"}},defaultVariants:{appearance:"brand",floating:!1},compoundVariants:[[{appearance:"neutral",floating:!0},"rarui-banner__compound_0__1wgs6s2a"],[{appearance:"inverted",floating:!0},"rarui-banner__compound_1__1wgs6s2b"],[{tonal:!0,appearance:"brand"},"rarui-banner__compound_2__1wgs6s2c"],[{tonal:!0,appearance:"info"},"rarui-banner__compound_3__1wgs6s2d"],[{tonal:!0,appearance:"neutral"},"rarui-banner__compound_4__1wgs6s2e"],[{tonal:!0,appearance:"inverted"},"rarui-banner__compound_5__1wgs6s2f"],[{tonal:!0,appearance:"warning"},"rarui-banner__compound_6__1wgs6s2g"],[{tonal:!0,appearance:"error"},"rarui-banner__compound_7__1wgs6s2h"],[{tonal:!0,appearance:"success"},"rarui-banner__compound_8__1wgs6s2i"]]})};export{r as bannerStyles};
|
|
@@ -18,135 +18,135 @@ declare const card: {
|
|
|
18
18
|
config: {
|
|
19
19
|
backgroundColor: {
|
|
20
20
|
values: {
|
|
21
|
-
|
|
21
|
+
"brand-hover": {
|
|
22
22
|
default: string;
|
|
23
23
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
"brand-press": {
|
|
26
26
|
default: string;
|
|
27
27
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
"brand-subdued": {
|
|
30
30
|
default: string;
|
|
31
31
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
"error-hover": {
|
|
34
34
|
default: string;
|
|
35
35
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
36
36
|
};
|
|
37
|
-
"
|
|
37
|
+
"error-press": {
|
|
38
38
|
default: string;
|
|
39
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
40
40
|
};
|
|
41
|
-
"
|
|
41
|
+
"error-subdued": {
|
|
42
42
|
default: string;
|
|
43
43
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
44
|
};
|
|
45
|
-
"
|
|
45
|
+
"info-hover": {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
"info-press": {
|
|
50
50
|
default: string;
|
|
51
51
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
"info-subdued": {
|
|
54
54
|
default: string;
|
|
55
55
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
56
56
|
};
|
|
57
|
-
"
|
|
57
|
+
"invert-disabled": {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
"
|
|
61
|
+
"invert-hover": {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
"
|
|
65
|
+
"invert-press": {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
"invert-secondary": {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
"success-hover": {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
"
|
|
77
|
+
"success-press": {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
"
|
|
81
|
+
"success-subdued": {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
"
|
|
85
|
+
"warning-hover": {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
"warning-press": {
|
|
90
90
|
default: string;
|
|
91
91
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
92
92
|
};
|
|
93
|
-
"
|
|
93
|
+
"warning-subdued": {
|
|
94
94
|
default: string;
|
|
95
95
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
background: {
|
|
98
98
|
default: string;
|
|
99
99
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
brand: {
|
|
102
102
|
default: string;
|
|
103
103
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
disabled: {
|
|
106
106
|
default: string;
|
|
107
107
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
error: {
|
|
110
110
|
default: string;
|
|
111
111
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
hover: {
|
|
114
114
|
default: string;
|
|
115
115
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
info: {
|
|
118
118
|
default: string;
|
|
119
119
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
invert: {
|
|
122
122
|
default: string;
|
|
123
123
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
overlay: {
|
|
126
126
|
default: string;
|
|
127
127
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
press: {
|
|
130
130
|
default: string;
|
|
131
131
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
132
132
|
};
|
|
133
|
-
|
|
133
|
+
primary: {
|
|
134
134
|
default: string;
|
|
135
135
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
secondary: {
|
|
138
138
|
default: string;
|
|
139
139
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
success: {
|
|
142
142
|
default: string;
|
|
143
143
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
144
144
|
};
|
|
145
|
-
|
|
145
|
+
warning: {
|
|
146
146
|
default: string;
|
|
147
147
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
transparent: {
|
|
150
150
|
default: string;
|
|
151
151
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
152
152
|
};
|