@recursica/mantine-adapter 0.35.0 → 0.36.0
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 +26 -0
- package/SETUP.md +1 -1
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1385 -1300
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Tree/Tree.d.ts +9 -5
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/llms.txt +2 -0
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.module.css +123 -62
- package/src/components/Accordion/Accordion.stories.tsx +65 -33
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/AutoComplete/AutoComplete.module.css +50 -49
- package/src/components/AutoComplete/AutoComplete.tsx +2 -2
- package/src/components/Avatar/Avatar.module.css +7 -7
- package/src/components/Badge/Badge.module.css +8 -8
- package/src/components/Button/Button.module.css +22 -89
- package/src/components/Card/Card.module.css +3 -3
- package/src/components/Checkbox/Checkbox.module.css +54 -15
- package/src/components/Chip/Chip.module.css +27 -26
- package/src/components/DatePicker/DatePicker.module.css +25 -30
- package/src/components/Dropdown/Dropdown.module.css +47 -44
- package/src/components/Dropdown/Dropdown.tsx +2 -2
- package/src/components/FormControlWrapper/FormControlWrapper.module.css +12 -12
- package/src/components/HoverCard/HoverCard.module.css +1 -1
- package/src/components/Label/Label.module.css +7 -3
- package/src/components/Layer/USAGE.md +54 -0
- package/src/components/Link/IMPLEMENTATION_NOTES.md +2 -9
- package/src/components/Link/Link.module.css +15 -76
- package/src/components/Link/USAGE.md +2 -9
- package/src/components/Loader/Loader.module.css +3 -3
- package/src/components/Menu/Menu.module.css +34 -41
- package/src/components/Modal/Modal.module.css +27 -11
- package/src/components/NumberInput/NumberInput.module.css +39 -37
- package/src/components/NumberInput/NumberInput.tsx +2 -2
- package/src/components/Pagination/Pagination.module.css +10 -43
- package/src/components/Panel/Panel.module.css +3 -3
- package/src/components/Popover/Popover.module.css +1 -1
- package/src/components/Radio/Radio.module.css +31 -14
- package/src/components/ReadOnlyField/ReadOnlyField.module.css +1 -1
- package/src/components/RecursicaThemeProvider/USAGE.md +60 -0
- package/src/components/SegmentedControl/SegmentedControl.module.css +29 -29
- package/src/components/Slider/IMPLEMENTATION_NOTES.md +9 -0
- package/src/components/Slider/Slider.module.css +44 -48
- package/src/components/Stepper/Stepper.module.css +3 -3
- package/src/components/Switch/Switch.module.css +26 -10
- package/src/components/Table/Table.module.css +53 -21
- package/src/components/Tabs/Tabs.module.css +309 -170
- package/src/components/TextArea/TextArea.module.css +36 -21
- package/src/components/TextArea/TextArea.tsx +2 -2
- package/src/components/TextField/TextField.module.css +38 -35
- package/src/components/TextField/TextField.tsx +2 -2
- package/src/components/Timeline/Timeline.module.css +41 -34
- package/src/components/Toast/Toast.module.css +19 -11
- package/src/components/Tooltip/Tooltip.module.css +4 -2
- package/src/components/Tree/IMPLEMENTATION_NOTES.md +17 -0
- package/src/components/Tree/Tree.module.css +173 -39
- package/src/components/Tree/Tree.stories.tsx +81 -4
- package/src/components/Tree/Tree.tsx +117 -15
- package/src/components/Tree/USAGE.md +36 -3
- package/src/components/index.ts +1 -0
- package/src/index.ts +3 -0
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
/* EXEMPTIONS:
|
|
2
|
-
-
|
|
3
|
-
unexpected layout shifts or flickering when switching between
|
|
4
|
-
/* recursica-ignore: --recursica_ui-
|
|
2
|
+
- border-size variables are ignored because the input box uses a uniform static boundary to prevent
|
|
3
|
+
unexpected layout shifts or flickering when switching between focused, disabled, or error states. */
|
|
4
|
+
/* recursica-ignore: --recursica_ui-kit_components_autocomplete_properties_border-size */
|
|
5
5
|
/* recursica-ignore: --recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_border-size */
|
|
6
6
|
/* recursica-ignore: --recursica_ui-kit_components_autocomplete_variants_states_error_properties_border-size */
|
|
7
|
-
/* recursica-ignore: --recursica_ui-kit_components_autocomplete_variants_states_focus_properties_border-size */
|
|
8
7
|
|
|
9
8
|
/* LAYOUT SPACING OVERRIDES:
|
|
10
|
-
- Sets the --form-control-margin-bottom spacing hook to map component-specific layout tokens.
|
|
9
|
+
- Sets the --form-control-margin-bottom spacing hook to map component-specific layout tokens.
|
|
10
|
+
- Also sets the --autocomplete-control-{max,min}-width hooks consumed inline in AutoComplete.tsx,
|
|
11
|
+
since the token schema no longer provides a single layout-agnostic min/max width. */
|
|
11
12
|
.layoutOverride {
|
|
12
13
|
--form-control-margin-bottom: var(
|
|
13
14
|
--recursica_ui-kit_components_autocomplete_variants_layouts_stacked_properties_top-bottom-margin
|
|
14
15
|
);
|
|
16
|
+
--autocomplete-control-max-width: var(
|
|
17
|
+
--recursica_ui-kit_components_autocomplete_variants_layouts_stacked_properties_max-width
|
|
18
|
+
);
|
|
19
|
+
--autocomplete-control-min-width: var(
|
|
20
|
+
--recursica_ui-kit_components_autocomplete_variants_layouts_stacked_properties_min-width
|
|
21
|
+
);
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
.layoutOverride[data-form-layout="side-by-side"] {
|
|
18
25
|
--form-control-margin-bottom: var(
|
|
19
26
|
--recursica_ui-kit_components_autocomplete_variants_layouts_side-by-side_properties_top-bottom-margin
|
|
20
27
|
);
|
|
28
|
+
--autocomplete-control-max-width: var(
|
|
29
|
+
--recursica_ui-kit_components_autocomplete_variants_layouts_side-by-side_properties_max-width
|
|
30
|
+
);
|
|
31
|
+
--autocomplete-control-min-width: var(
|
|
32
|
+
--recursica_ui-kit_components_autocomplete_variants_layouts_side-by-side_properties_min-width
|
|
33
|
+
);
|
|
21
34
|
}
|
|
22
35
|
|
|
23
36
|
/* HARDCODED VALUES:
|
|
@@ -31,9 +44,7 @@
|
|
|
31
44
|
display: flex;
|
|
32
45
|
position: relative;
|
|
33
46
|
width: 100%;
|
|
34
|
-
min-height: var(
|
|
35
|
-
--recursica_ui-kit_components_autocomplete_properties_min-height
|
|
36
|
-
);
|
|
47
|
+
min-height: var(--recursica_ui-kit_components_autocomplete_properties_height);
|
|
37
48
|
|
|
38
49
|
/* Override Mantine native Input variables governing section spacing padding mathematics safely */
|
|
39
50
|
--input-left-section-size: calc(
|
|
@@ -59,9 +70,7 @@
|
|
|
59
70
|
margin: 0;
|
|
60
71
|
|
|
61
72
|
/* Box Geometry */
|
|
62
|
-
min-height: var(
|
|
63
|
-
--recursica_ui-kit_components_autocomplete_properties_min-height
|
|
64
|
-
);
|
|
73
|
+
min-height: var(--recursica_ui-kit_components_autocomplete_properties_height);
|
|
65
74
|
padding-top: var(
|
|
66
75
|
--recursica_ui-kit_components_autocomplete_properties_vertical-padding
|
|
67
76
|
);
|
|
@@ -108,13 +117,13 @@
|
|
|
108
117
|
|
|
109
118
|
/* Base State Default Execution */
|
|
110
119
|
background-color: var(
|
|
111
|
-
--recursica_ui-
|
|
120
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_background-color
|
|
112
121
|
);
|
|
113
122
|
border-color: var(
|
|
114
|
-
--recursica_ui-
|
|
123
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_border-color
|
|
115
124
|
);
|
|
116
125
|
color: var(
|
|
117
|
-
--recursica_ui-
|
|
126
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_text-color
|
|
118
127
|
);
|
|
119
128
|
|
|
120
129
|
outline: none;
|
|
@@ -161,13 +170,13 @@
|
|
|
161
170
|
width: var(--recursica_ui-kit_components_autocomplete_properties_icon-size);
|
|
162
171
|
height: var(--recursica_ui-kit_components_autocomplete_properties_icon-size);
|
|
163
172
|
color: var(
|
|
164
|
-
--recursica_ui-
|
|
173
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_leading-icon
|
|
165
174
|
);
|
|
166
175
|
}
|
|
167
176
|
|
|
168
177
|
.section[data-position="right"] :global(svg) {
|
|
169
178
|
color: var(
|
|
170
|
-
--recursica_ui-
|
|
179
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_trailing-icon
|
|
171
180
|
);
|
|
172
181
|
}
|
|
173
182
|
|
|
@@ -175,11 +184,11 @@
|
|
|
175
184
|
/* We want to make sure the dropdown inherits font correctly. */
|
|
176
185
|
.dropdown {
|
|
177
186
|
background-color: var(
|
|
178
|
-
--recursica_ui-
|
|
187
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_background-color
|
|
179
188
|
);
|
|
180
189
|
border: 1px solid
|
|
181
190
|
var(
|
|
182
|
-
--recursica_ui-
|
|
191
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_border-color
|
|
183
192
|
);
|
|
184
193
|
border-radius: var(
|
|
185
194
|
--recursica_ui-kit_components_autocomplete_properties_border-radius
|
|
@@ -198,7 +207,7 @@
|
|
|
198
207
|
--recursica_ui-kit_components_autocomplete_properties_text_font-weight
|
|
199
208
|
);
|
|
200
209
|
color: var(
|
|
201
|
-
--recursica_ui-
|
|
210
|
+
--recursica_ui-kit_components_autocomplete_properties_colors_text-color
|
|
202
211
|
);
|
|
203
212
|
padding: calc(
|
|
204
213
|
var(
|
|
@@ -212,6 +221,8 @@
|
|
|
212
221
|
cursor: pointer;
|
|
213
222
|
}
|
|
214
223
|
|
|
224
|
+
/* No per-option selected/hovered tokens exist in the schema; use the generic overlay tint
|
|
225
|
+
(same technique as Table/Dropdown) to highlight the active option. */
|
|
215
226
|
.option[data-selected="true"],
|
|
216
227
|
.option[data-selected],
|
|
217
228
|
.option[data-combobox-selected="true"],
|
|
@@ -221,11 +232,11 @@
|
|
|
221
232
|
.option[data-hovered="true"],
|
|
222
233
|
.option[data-hovered],
|
|
223
234
|
.option:hover {
|
|
224
|
-
background-color:
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
235
|
+
background-color: color-mix(
|
|
236
|
+
in srgb,
|
|
237
|
+
var(--recursica_brand_states_hover_color)
|
|
238
|
+
calc(var(--recursica_brand_states_hover_opacity) * 100%),
|
|
239
|
+
transparent
|
|
229
240
|
);
|
|
230
241
|
}
|
|
231
242
|
|
|
@@ -234,29 +245,16 @@
|
|
|
234
245
|
-------------------------------------- */
|
|
235
246
|
|
|
236
247
|
/* Focus State Mapping (Triggered internally via browser pseudo-pseudo-class) */
|
|
248
|
+
/* The token schema no longer provides per-component focus colors; apply the generic focus ring
|
|
249
|
+
tokens as a box-shadow ring instead of a color swap. */
|
|
237
250
|
.input:focus-within,
|
|
238
251
|
.input:focus {
|
|
239
|
-
|
|
240
|
-
--
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
color: var(
|
|
246
|
-
--recursica_ui-kit_components_autocomplete_variants_states_focus_properties_colors_text
|
|
247
|
-
);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.root:focus-within .section[data-position="left"] :global(svg) {
|
|
251
|
-
color: var(
|
|
252
|
-
--recursica_ui-kit_components_autocomplete_variants_states_focus_properties_colors_leading-icon
|
|
253
|
-
);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.root:focus-within .section[data-position="right"] :global(svg) {
|
|
257
|
-
color: var(
|
|
258
|
-
--recursica_ui-kit_components_autocomplete_variants_states_focus_properties_colors_trailing-icon
|
|
259
|
-
);
|
|
252
|
+
box-shadow:
|
|
253
|
+
0 0 0 var(--recursica_brand_states_focus_border-size)
|
|
254
|
+
var(--recursica_brand_states_focus_color),
|
|
255
|
+
0 0 var(--recursica_brand_states_focus_blur)
|
|
256
|
+
var(--recursica_brand_states_focus_margin)
|
|
257
|
+
var(--recursica_brand_states_focus_color);
|
|
260
258
|
}
|
|
261
259
|
|
|
262
260
|
/* Error State Mapping (Propagated strictly down from the wrapper DOM context) */
|
|
@@ -265,10 +263,10 @@
|
|
|
265
263
|
--recursica_ui-kit_components_autocomplete_variants_states_error_properties_colors_border-color
|
|
266
264
|
);
|
|
267
265
|
background-color: var(
|
|
268
|
-
--recursica_ui-kit_components_autocomplete_variants_states_error_properties_colors_background
|
|
266
|
+
--recursica_ui-kit_components_autocomplete_variants_states_error_properties_colors_background-color
|
|
269
267
|
);
|
|
270
268
|
color: var(
|
|
271
|
-
--recursica_ui-kit_components_autocomplete_variants_states_error_properties_colors_text
|
|
269
|
+
--recursica_ui-kit_components_autocomplete_variants_states_error_properties_colors_text-color
|
|
272
270
|
);
|
|
273
271
|
}
|
|
274
272
|
|
|
@@ -290,10 +288,13 @@
|
|
|
290
288
|
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_colors_border-color
|
|
291
289
|
);
|
|
292
290
|
background-color: var(
|
|
293
|
-
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_colors_background
|
|
291
|
+
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_colors_background-color
|
|
294
292
|
);
|
|
295
293
|
color: var(
|
|
296
|
-
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_colors_text
|
|
294
|
+
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_colors_text-color
|
|
295
|
+
);
|
|
296
|
+
opacity: var(
|
|
297
|
+
--recursica_ui-kit_components_autocomplete_variants_states_disabled_properties_opacity
|
|
297
298
|
);
|
|
298
299
|
cursor: not-allowed;
|
|
299
300
|
}
|
|
@@ -121,8 +121,8 @@ export const AutoComplete = forwardRef<HTMLInputElement, AutoCompleteProps>(
|
|
|
121
121
|
<WithReadOnlyWrapper
|
|
122
122
|
className={wrapperClass}
|
|
123
123
|
style={style as React.CSSProperties}
|
|
124
|
-
controlMaxWidth="var(--
|
|
125
|
-
controlMinWidth="var(--
|
|
124
|
+
controlMaxWidth="var(--autocomplete-control-max-width)"
|
|
125
|
+
controlMinWidth="var(--autocomplete-control-min-width)"
|
|
126
126
|
overStyled={overStyled as true}
|
|
127
127
|
formLayout={formLayout}
|
|
128
128
|
labelSize={labelSize}
|
|
@@ -191,7 +191,7 @@ HARDCODED VALUES:
|
|
|
191
191
|
|
|
192
192
|
/* Image variant styles */
|
|
193
193
|
background-color: var(
|
|
194
|
-
--recursica_ui-kit_components_avatar_variants_styles_image_properties_colors_background
|
|
194
|
+
--recursica_ui-kit_components_avatar_variants_styles_image_properties_colors_background-color
|
|
195
195
|
);
|
|
196
196
|
border-color: var(
|
|
197
197
|
--recursica_ui-kit_components_avatar_variants_styles_image_properties_colors_border-color
|
|
@@ -248,7 +248,7 @@ HARDCODED VALUES:
|
|
|
248
248
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_solid_properties_border-size
|
|
249
249
|
);
|
|
250
250
|
background-color: var(
|
|
251
|
-
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_solid_properties_colors_background
|
|
251
|
+
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_solid_properties_colors_background-color
|
|
252
252
|
);
|
|
253
253
|
border-color: var(
|
|
254
254
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_solid_properties_colors_border-color
|
|
@@ -263,7 +263,7 @@ HARDCODED VALUES:
|
|
|
263
263
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_outline_properties_border-size
|
|
264
264
|
);
|
|
265
265
|
background-color: var(
|
|
266
|
-
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_outline_properties_colors_background
|
|
266
|
+
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_outline_properties_colors_background-color
|
|
267
267
|
);
|
|
268
268
|
border-color: var(
|
|
269
269
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_outline_properties_colors_border-color
|
|
@@ -278,7 +278,7 @@ HARDCODED VALUES:
|
|
|
278
278
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_ghost_properties_border-size
|
|
279
279
|
);
|
|
280
280
|
background-color: var(
|
|
281
|
-
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_ghost_properties_colors_background
|
|
281
|
+
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_ghost_properties_colors_background-color
|
|
282
282
|
);
|
|
283
283
|
border-color: var(
|
|
284
284
|
--recursica_ui-kit_components_avatar_variants_styles_icon_variants_types_ghost_properties_colors_border-color
|
|
@@ -303,7 +303,7 @@ HARDCODED VALUES:
|
|
|
303
303
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_solid_properties_border-size
|
|
304
304
|
);
|
|
305
305
|
background-color: var(
|
|
306
|
-
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_solid_properties_colors_background
|
|
306
|
+
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_solid_properties_colors_background-color
|
|
307
307
|
);
|
|
308
308
|
border-color: var(
|
|
309
309
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_solid_properties_colors_border-color
|
|
@@ -318,7 +318,7 @@ HARDCODED VALUES:
|
|
|
318
318
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_outline_properties_border-size
|
|
319
319
|
);
|
|
320
320
|
background-color: var(
|
|
321
|
-
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_outline_properties_colors_background
|
|
321
|
+
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_outline_properties_colors_background-color
|
|
322
322
|
);
|
|
323
323
|
border-color: var(
|
|
324
324
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_outline_properties_colors_border-color
|
|
@@ -333,7 +333,7 @@ HARDCODED VALUES:
|
|
|
333
333
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_ghost_properties_border-size
|
|
334
334
|
);
|
|
335
335
|
background-color: var(
|
|
336
|
-
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_ghost_properties_colors_background
|
|
336
|
+
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_ghost_properties_colors_background-color
|
|
337
337
|
);
|
|
338
338
|
border-color: var(
|
|
339
339
|
--recursica_ui-kit_components_avatar_variants_styles_text_variants_types_ghost_properties_colors_border-color
|
|
@@ -68,49 +68,49 @@
|
|
|
68
68
|
|
|
69
69
|
.root[data-variant="alert"] {
|
|
70
70
|
background-color: var(
|
|
71
|
-
--recursica_ui-kit_components_badge_variants_styles_alert_properties_colors_background
|
|
71
|
+
--recursica_ui-kit_components_badge_variants_styles_alert_properties_colors_background-color
|
|
72
72
|
);
|
|
73
73
|
border-color: var(
|
|
74
74
|
--recursica_ui-kit_components_badge_variants_styles_alert_properties_colors_border-color
|
|
75
75
|
);
|
|
76
76
|
color: var(
|
|
77
|
-
--recursica_ui-kit_components_badge_variants_styles_alert_properties_colors_text
|
|
77
|
+
--recursica_ui-kit_components_badge_variants_styles_alert_properties_colors_text-color
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.root[data-variant="primary-color"] {
|
|
82
82
|
background-color: var(
|
|
83
|
-
--recursica_ui-kit_components_badge_variants_styles_primary-color_properties_colors_background
|
|
83
|
+
--recursica_ui-kit_components_badge_variants_styles_primary-color_properties_colors_background-color
|
|
84
84
|
);
|
|
85
85
|
border-color: var(
|
|
86
86
|
--recursica_ui-kit_components_badge_variants_styles_primary-color_properties_colors_border-color
|
|
87
87
|
);
|
|
88
88
|
color: var(
|
|
89
|
-
--recursica_ui-kit_components_badge_variants_styles_primary-color_properties_colors_text
|
|
89
|
+
--recursica_ui-kit_components_badge_variants_styles_primary-color_properties_colors_text-color
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.root[data-variant="success"] {
|
|
94
94
|
background-color: var(
|
|
95
|
-
--recursica_ui-kit_components_badge_variants_styles_success_properties_colors_background
|
|
95
|
+
--recursica_ui-kit_components_badge_variants_styles_success_properties_colors_background-color
|
|
96
96
|
);
|
|
97
97
|
border-color: var(
|
|
98
98
|
--recursica_ui-kit_components_badge_variants_styles_success_properties_colors_border-color
|
|
99
99
|
);
|
|
100
100
|
color: var(
|
|
101
|
-
--recursica_ui-kit_components_badge_variants_styles_success_properties_colors_text
|
|
101
|
+
--recursica_ui-kit_components_badge_variants_styles_success_properties_colors_text-color
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.root[data-variant="warning"] {
|
|
106
106
|
background-color: var(
|
|
107
|
-
--recursica_ui-kit_components_badge_variants_styles_warning_properties_colors_background
|
|
107
|
+
--recursica_ui-kit_components_badge_variants_styles_warning_properties_colors_background-color
|
|
108
108
|
);
|
|
109
109
|
border-color: var(
|
|
110
110
|
--recursica_ui-kit_components_badge_variants_styles_warning_properties_colors_border-color
|
|
111
111
|
);
|
|
112
112
|
color: var(
|
|
113
|
-
--recursica_ui-kit_components_badge_variants_styles_warning_properties_colors_text
|
|
113
|
+
--recursica_ui-kit_components_badge_variants_styles_warning_properties_colors_text-color
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -282,16 +282,7 @@
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
/* Disabled */
|
|
285
|
-
.root
|
|
286
|
-
opacity: var(
|
|
287
|
-
--recursica_ui-kit_components_button_variants_sizes_default_properties_disabled-opacity
|
|
288
|
-
);
|
|
289
|
-
cursor: not-allowed;
|
|
290
|
-
}
|
|
291
|
-
.root[data-size="small"]:disabled {
|
|
292
|
-
opacity: var(
|
|
293
|
-
--recursica_ui-kit_components_button_variants_sizes_small_properties_disabled-opacity
|
|
294
|
-
);
|
|
285
|
+
.root:disabled {
|
|
295
286
|
cursor: not-allowed;
|
|
296
287
|
}
|
|
297
288
|
|
|
@@ -305,26 +296,10 @@
|
|
|
305
296
|
pointer-events: none;
|
|
306
297
|
transition: opacity 150ms ease;
|
|
307
298
|
opacity: 0;
|
|
299
|
+
background-color: var(--recursica_brand_states_hover_color);
|
|
308
300
|
}
|
|
309
|
-
.root
|
|
310
|
-
|
|
311
|
-
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-color
|
|
312
|
-
);
|
|
313
|
-
}
|
|
314
|
-
.root[data-size="small"]::after {
|
|
315
|
-
background-color: var(
|
|
316
|
-
--recursica_ui-kit_components_button_variants_sizes_small_properties_hover-color
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
.root[data-size="default"]:hover:not(:disabled)::after {
|
|
320
|
-
opacity: var(
|
|
321
|
-
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-opacity
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
|
-
.root[data-size="small"]:hover:not(:disabled)::after {
|
|
325
|
-
opacity: var(
|
|
326
|
-
--recursica_ui-kit_components_button_variants_sizes_small_properties_hover-opacity
|
|
327
|
-
);
|
|
301
|
+
.root:hover:not(:disabled)::after {
|
|
302
|
+
opacity: var(--recursica_brand_states_hover_opacity);
|
|
328
303
|
}
|
|
329
304
|
/* ==== VARIANTS ==== */
|
|
330
305
|
|
|
@@ -337,13 +312,13 @@
|
|
|
337
312
|
--recursica_ui-kit_components_button_variants_styles_solid_properties_elevation
|
|
338
313
|
);
|
|
339
314
|
background-color: var(
|
|
340
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_background
|
|
315
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_background-color
|
|
341
316
|
);
|
|
342
317
|
border-color: var(
|
|
343
318
|
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_border-color
|
|
344
319
|
);
|
|
345
320
|
color: var(
|
|
346
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text
|
|
321
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text-color
|
|
347
322
|
);
|
|
348
323
|
|
|
349
324
|
.iconWrapper {
|
|
@@ -352,26 +327,12 @@
|
|
|
352
327
|
);
|
|
353
328
|
}
|
|
354
329
|
}
|
|
355
|
-
.root[data-variant="solid"]:hover:not(:disabled) {
|
|
356
|
-
color: var(
|
|
357
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text-hover
|
|
358
|
-
);
|
|
359
|
-
border-color: var(
|
|
360
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_border-color-hover
|
|
361
|
-
);
|
|
362
|
-
box-shadow: var(
|
|
363
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_hover-elevation
|
|
364
|
-
);
|
|
365
|
-
|
|
366
|
-
.iconWrapper {
|
|
367
|
-
color: var(
|
|
368
|
-
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_icon-color-hover
|
|
369
|
-
);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
330
|
.root[data-variant="solid"]:disabled {
|
|
331
|
+
opacity: var(
|
|
332
|
+
--recursica_ui-kit_components_button_variants_styles_solid_variants_states_disabled_properties_opacity
|
|
333
|
+
);
|
|
373
334
|
box-shadow: var(
|
|
374
|
-
--recursica_ui-
|
|
335
|
+
--recursica_ui-kit_components_button_variants_styles_solid_variants_states_disabled_properties_elevation
|
|
375
336
|
);
|
|
376
337
|
}
|
|
377
338
|
|
|
@@ -384,13 +345,13 @@
|
|
|
384
345
|
--recursica_ui-kit_components_button_variants_styles_outline_properties_elevation
|
|
385
346
|
);
|
|
386
347
|
background-color: var(
|
|
387
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_background
|
|
348
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_background-color
|
|
388
349
|
);
|
|
389
350
|
border-color: var(
|
|
390
351
|
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_border-color
|
|
391
352
|
);
|
|
392
353
|
color: var(
|
|
393
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text
|
|
354
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text-color
|
|
394
355
|
);
|
|
395
356
|
|
|
396
357
|
.iconWrapper {
|
|
@@ -399,26 +360,12 @@
|
|
|
399
360
|
);
|
|
400
361
|
}
|
|
401
362
|
}
|
|
402
|
-
.root[data-variant="outline"]:hover:not(:disabled) {
|
|
403
|
-
color: var(
|
|
404
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text-hover
|
|
405
|
-
);
|
|
406
|
-
border-color: var(
|
|
407
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_border-color-hover
|
|
408
|
-
);
|
|
409
|
-
box-shadow: var(
|
|
410
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_hover-elevation
|
|
411
|
-
);
|
|
412
|
-
|
|
413
|
-
.iconWrapper {
|
|
414
|
-
color: var(
|
|
415
|
-
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_icon-color-hover
|
|
416
|
-
);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
363
|
.root[data-variant="outline"]:disabled {
|
|
364
|
+
opacity: var(
|
|
365
|
+
--recursica_ui-kit_components_button_variants_styles_outline_variants_states_disabled_properties_opacity
|
|
366
|
+
);
|
|
420
367
|
box-shadow: var(
|
|
421
|
-
--recursica_ui-
|
|
368
|
+
--recursica_ui-kit_components_button_variants_styles_outline_variants_states_disabled_properties_elevation
|
|
422
369
|
);
|
|
423
370
|
}
|
|
424
371
|
|
|
@@ -431,13 +378,13 @@
|
|
|
431
378
|
--recursica_ui-kit_components_button_variants_styles_text_properties_elevation
|
|
432
379
|
);
|
|
433
380
|
background-color: var(
|
|
434
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_background
|
|
381
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_background-color
|
|
435
382
|
);
|
|
436
383
|
border-color: var(
|
|
437
384
|
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_border-color
|
|
438
385
|
);
|
|
439
386
|
color: var(
|
|
440
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text
|
|
387
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text-color
|
|
441
388
|
);
|
|
442
389
|
|
|
443
390
|
.iconWrapper {
|
|
@@ -446,25 +393,11 @@
|
|
|
446
393
|
);
|
|
447
394
|
}
|
|
448
395
|
}
|
|
449
|
-
.root[data-variant="text"]:hover:not(:disabled) {
|
|
450
|
-
color: var(
|
|
451
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text-hover
|
|
452
|
-
);
|
|
453
|
-
border-color: var(
|
|
454
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_border-color-hover
|
|
455
|
-
);
|
|
456
|
-
box-shadow: var(
|
|
457
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_hover-elevation
|
|
458
|
-
);
|
|
459
|
-
|
|
460
|
-
.iconWrapper {
|
|
461
|
-
color: var(
|
|
462
|
-
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_icon-color-hover
|
|
463
|
-
);
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
396
|
.root[data-variant="text"]:disabled {
|
|
397
|
+
opacity: var(
|
|
398
|
+
--recursica_ui-kit_components_button_variants_styles_text_variants_states_disabled_properties_opacity
|
|
399
|
+
);
|
|
467
400
|
box-shadow: var(
|
|
468
|
-
--recursica_ui-
|
|
401
|
+
--recursica_ui-kit_components_button_variants_styles_text_variants_states_disabled_properties_elevation
|
|
469
402
|
);
|
|
470
403
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--card-padding: var(--recursica_ui-kit_components_card_properties_padding);
|
|
10
10
|
|
|
11
11
|
background-color: var(
|
|
12
|
-
--recursica_ui-kit_components_card_properties_colors_background
|
|
12
|
+
--recursica_ui-kit_components_card_properties_colors_background-color
|
|
13
13
|
);
|
|
14
14
|
border-radius: var(
|
|
15
15
|
--recursica_ui-kit_components_card_properties_borders_border-radius
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
.header {
|
|
34
34
|
background-color: var(
|
|
35
|
-
--recursica_ui-kit_components_card_properties_colors_header-background
|
|
35
|
+
--recursica_ui-kit_components_card_properties_colors_header-background-color
|
|
36
36
|
);
|
|
37
37
|
padding: var(--recursica_ui-kit_components_card_properties_header-padding);
|
|
38
38
|
color: var(--recursica_ui-kit_components_card_properties_colors_title);
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
.footer {
|
|
71
71
|
background-color: var(
|
|
72
|
-
--recursica_ui-kit_components_card_properties_colors_footer-background
|
|
72
|
+
--recursica_ui-kit_components_card_properties_colors_footer-background-color
|
|
73
73
|
);
|
|
74
74
|
padding: var(--recursica_ui-kit_components_card_properties_footer-padding);
|
|
75
75
|
border-top: var(--recursica_ui-kit_components_card_properties_divider-size)
|