@recursica/mantine-adapter 0.20.0 → 0.22.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 +13 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1624 -1498
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/AutoComplete/AutoComplete.d.ts +9 -0
- package/dist/src/components/Avatar/Avatar.d.ts +1 -1
- package/dist/src/components/Badge/Badge.d.ts +1 -1
- package/dist/src/components/Button/Button.d.ts +11 -1
- package/dist/src/components/Card/Card.d.ts +1 -1
- package/dist/src/components/Flex/Flex.d.ts +1 -1
- package/dist/src/components/Link/Link.d.ts +1 -1
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +6 -1
- package/dist/src/components/Text/Text.d.ts +1 -1
- package/dist/src/components/Toast/Toast.d.ts +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/package.json +5 -2
- package/src/GlobalExemptions.modules.css +13 -0
- package/src/components/AutoComplete/AUTOCOMPLETE_IMPLEMENTATION_NOTES.md +21 -0
- package/src/components/AutoComplete/AutoComplete.module.css +311 -0
- package/src/components/AutoComplete/AutoComplete.stories.tsx +187 -0
- package/src/components/AutoComplete/AutoComplete.tsx +154 -0
- package/src/components/Avatar/Avatar.module.css +40 -36
- package/src/components/Badge/Badge.module.css +4 -1
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +3 -10
- package/src/components/Button/Button.module.css +220 -57
- package/src/components/Button/Button.stories.tsx +68 -0
- package/src/components/Button/Button.tsx +42 -3
- package/src/components/Button/IMPLEMENTATION_NOTES.md +16 -0
- package/src/components/Card/Card.module.css +58 -1
- package/src/components/Card/Card.stories.tsx +4 -2
- package/src/components/Checkbox/Checkbox.module.css +74 -46
- package/src/components/Checkbox/Checkbox.stories.tsx +3 -0
- package/src/components/Checkbox/CheckboxGroup.tsx +1 -9
- package/src/components/Chip/Chip.module.css +19 -1
- package/src/components/DatePicker/DatePicker.module.css +45 -0
- package/src/components/Dropdown/Dropdown.module.css +42 -15
- package/src/components/Dropdown/Dropdown.stories.tsx +3 -0
- package/src/components/Dropdown/Dropdown.tsx +5 -1
- package/src/components/FileInput/FileInput.module.css +50 -0
- package/src/components/FileUpload/FileUpload.module.css +43 -0
- package/src/components/FormControlLayout/FormControlLayout.module.css +12 -2
- package/src/components/FormControlWrapper/FormControlWrapper.module.css +66 -0
- package/src/components/HoverCard/HoverCard.module.css +12 -5
- package/src/components/Label/Label.module.css +11 -3
- package/src/components/Link/Link.module.css +8 -0
- package/src/components/Menu/Menu.module.css +73 -30
- package/src/components/Modal/Modal.module.css +92 -47
- package/src/components/NumberInput/NumberInput.module.css +46 -15
- package/src/components/NumberInput/NumberInput.tsx +5 -1
- package/src/components/Pagination/Pagination.module.css +123 -41
- package/src/components/Panel/Panel.module.css +55 -3
- package/src/components/Popover/Popover.module.css +6 -4
- package/src/components/Radio/Radio.module.css +72 -59
- package/src/components/Radio/Radio.stories.tsx +3 -0
- package/src/components/Radio/RadioGroup.tsx +1 -8
- package/src/components/ReadOnlyField/ReadOnlyField.module.css +14 -0
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +16 -1
- package/src/components/SegmentedControl/SegmentedControl.module.css +106 -41
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +1 -4
- package/src/components/SegmentedControl/SegmentedControl.tsx +18 -4
- package/src/components/Slider/Slider.module.css +89 -0
- package/src/components/Stepper/Stepper.module.css +53 -2
- package/src/components/Switch/Switch.module.css +62 -23
- package/src/components/Switch/Switch.stories.tsx +3 -0
- package/src/components/Switch/Switch.tsx +1 -0
- package/src/components/Switch/SwitchGroup.tsx +3 -10
- package/src/components/Tabs/Tabs.module.css +33 -12
- package/src/components/TextArea/TextArea.module.css +58 -120
- package/src/components/TextArea/TextArea.stories.tsx +3 -0
- package/src/components/TextArea/TextArea.tsx +7 -3
- package/src/components/TextField/TextField.module.css +46 -15
- package/src/components/TextField/TextField.tsx +5 -1
- package/src/components/TimePicker/TimePicker.module.css +44 -0
- package/src/components/Timeline/Timeline.module.css +6 -0
- package/src/components/Toast/Toast.module.css +62 -1
- package/src/components/Toast/Toast.tsx +1 -1
- package/src/components/Tooltip/Tooltip.module.css +9 -0
- package/src/components/TransferList/TransferList.module.css +41 -0
- package/src/components/index.ts +1 -0
|
@@ -1,3 +1,84 @@
|
|
|
1
|
+
/* EXEMPTIONS:
|
|
2
|
+
- All pagination subcomponent properties (active-pages, inactive-pages, navigation-controls) are ignored
|
|
3
|
+
because we are not implementing custom subcomponent styling for pagination. Instead, pagination items
|
|
4
|
+
directly inherit the unified, standard brand button components for complete UI/UX consistency, rendering
|
|
5
|
+
these generated subcomponent tokens redundant. */
|
|
6
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_border-size */
|
|
7
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_disabled-opacity */
|
|
8
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_elevation */
|
|
9
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_height */
|
|
10
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_horizontal-padding */
|
|
11
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_hover-color */
|
|
12
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_hover-elevation */
|
|
13
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_hover-opacity */
|
|
14
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_icon */
|
|
15
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_icon-text-gap */
|
|
16
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_max-label-width */
|
|
17
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_min-width */
|
|
18
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_font-family */
|
|
19
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_font-size */
|
|
20
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_font-style */
|
|
21
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_font-weight */
|
|
22
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_letter-spacing */
|
|
23
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_line-height */
|
|
24
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_text-decoration */
|
|
25
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_text_text-transform */
|
|
26
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_colors_background */
|
|
27
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_colors_border-color */
|
|
28
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_colors_icon-color */
|
|
29
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_colors_text */
|
|
30
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_active-pages_subcomponent_colors_text-hover */
|
|
31
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_border-size */
|
|
32
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_disabled-opacity */
|
|
33
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_elevation */
|
|
34
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_height */
|
|
35
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_horizontal-padding */
|
|
36
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_hover-color */
|
|
37
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_hover-elevation */
|
|
38
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_hover-opacity */
|
|
39
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_icon */
|
|
40
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_icon-text-gap */
|
|
41
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_max-label-width */
|
|
42
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_min-width */
|
|
43
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_font-family */
|
|
44
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_font-size */
|
|
45
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_font-style */
|
|
46
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_font-weight */
|
|
47
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_letter-spacing */
|
|
48
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_line-height */
|
|
49
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_text-decoration */
|
|
50
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_text_text-transform */
|
|
51
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_colors_background */
|
|
52
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_colors_border-color */
|
|
53
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_colors_icon-color */
|
|
54
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_colors_text */
|
|
55
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_inactive-pages_subcomponent_colors_text-hover */
|
|
56
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_border-size */
|
|
57
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_disabled-opacity */
|
|
58
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_elevation */
|
|
59
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_height */
|
|
60
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_horizontal-padding */
|
|
61
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_hover-color */
|
|
62
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_hover-elevation */
|
|
63
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_hover-opacity */
|
|
64
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_icon */
|
|
65
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_icon-text-gap */
|
|
66
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_max-label-width */
|
|
67
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_min-width */
|
|
68
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_font-family */
|
|
69
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_font-size */
|
|
70
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_font-style */
|
|
71
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_font-weight */
|
|
72
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_letter-spacing */
|
|
73
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_line-height */
|
|
74
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_text-decoration */
|
|
75
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_text_text-transform */
|
|
76
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_colors_background */
|
|
77
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_colors_border-color */
|
|
78
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_colors_icon-color */
|
|
79
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_colors_text */
|
|
80
|
+
/* recursica-ignore: --recursica_ui-kit_components_pagination_properties_navigation-controls_subcomponent_colors_text-hover */
|
|
81
|
+
|
|
1
82
|
.root {
|
|
2
83
|
display: flex;
|
|
3
84
|
align-items: center;
|
|
@@ -17,68 +98,69 @@
|
|
|
17
98
|
|
|
18
99
|
/* Typography */
|
|
19
100
|
font-family: var(
|
|
20
|
-
--recursica_ui-
|
|
101
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_font-family,
|
|
21
102
|
var(--recursica_brand_fonts_primary)
|
|
22
103
|
);
|
|
23
104
|
font-size: var(
|
|
24
|
-
--recursica_ui-
|
|
105
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_font-size,
|
|
25
106
|
var(--recursica_brand_dimensions_text-size_default)
|
|
26
107
|
);
|
|
27
108
|
font-style: var(
|
|
28
|
-
--recursica_ui-
|
|
109
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_font-style,
|
|
29
110
|
normal
|
|
30
111
|
);
|
|
31
112
|
font-weight: var(
|
|
32
|
-
--recursica_ui-
|
|
113
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_font-weight,
|
|
33
114
|
500
|
|
34
115
|
);
|
|
35
116
|
letter-spacing: var(
|
|
36
|
-
--recursica_ui-
|
|
117
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_letter-spacing,
|
|
37
118
|
0
|
|
38
119
|
);
|
|
39
120
|
line-height: var(
|
|
40
|
-
--recursica_ui-
|
|
121
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_line-height,
|
|
41
122
|
1.5
|
|
42
123
|
);
|
|
43
124
|
text-decoration: var(
|
|
44
|
-
--recursica_ui-
|
|
125
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_text-decoration,
|
|
45
126
|
none
|
|
46
127
|
);
|
|
47
128
|
text-transform: var(
|
|
48
|
-
--recursica_ui-
|
|
129
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_text_text-transform,
|
|
49
130
|
none
|
|
50
131
|
);
|
|
51
132
|
|
|
52
133
|
/* Dimensions */
|
|
53
134
|
border-radius: var(
|
|
54
|
-
--recursica_ui-
|
|
135
|
+
--recursica_ui-kit_components_button_variants_content_icon-only_variants_sizes_default_properties_border-radius,
|
|
136
|
+
4px
|
|
55
137
|
);
|
|
56
138
|
height: var(
|
|
57
|
-
--recursica_ui-
|
|
139
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_height
|
|
58
140
|
);
|
|
59
141
|
min-width: var(
|
|
60
|
-
--recursica_ui-
|
|
142
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_min-width
|
|
61
143
|
);
|
|
62
144
|
padding: 0
|
|
63
145
|
var(
|
|
64
|
-
--recursica_ui-
|
|
146
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_horizontal-padding
|
|
65
147
|
);
|
|
66
148
|
|
|
67
149
|
/* Base Inactive Style: Outline */
|
|
68
150
|
border-width: var(
|
|
69
|
-
--recursica_ui-
|
|
151
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_border-size
|
|
70
152
|
);
|
|
71
153
|
box-shadow: var(
|
|
72
|
-
--recursica_ui-
|
|
154
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_elevation
|
|
73
155
|
);
|
|
74
156
|
background-color: var(
|
|
75
|
-
--recursica_ui-
|
|
157
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_background
|
|
76
158
|
);
|
|
77
159
|
border-color: var(
|
|
78
|
-
--recursica_ui-
|
|
160
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_border-color
|
|
79
161
|
);
|
|
80
162
|
color: var(
|
|
81
|
-
--recursica_ui-
|
|
163
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text
|
|
82
164
|
);
|
|
83
165
|
}
|
|
84
166
|
|
|
@@ -89,7 +171,7 @@
|
|
|
89
171
|
|
|
90
172
|
.control:hover:not(:disabled) {
|
|
91
173
|
color: var(
|
|
92
|
-
--recursica_ui-
|
|
174
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text-hover
|
|
93
175
|
);
|
|
94
176
|
}
|
|
95
177
|
|
|
@@ -104,13 +186,13 @@
|
|
|
104
186
|
transition: opacity 150ms ease;
|
|
105
187
|
opacity: 0;
|
|
106
188
|
background-color: var(
|
|
107
|
-
--recursica_ui-
|
|
189
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-color
|
|
108
190
|
);
|
|
109
191
|
}
|
|
110
192
|
|
|
111
193
|
.control:hover:not(:disabled)::after {
|
|
112
194
|
opacity: var(
|
|
113
|
-
--recursica_ui-
|
|
195
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-opacity,
|
|
114
196
|
0.1
|
|
115
197
|
);
|
|
116
198
|
}
|
|
@@ -118,77 +200,77 @@
|
|
|
118
200
|
/* Active Style: Solid */
|
|
119
201
|
.control[data-active] {
|
|
120
202
|
border-width: var(
|
|
121
|
-
--recursica_ui-
|
|
203
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_border-size
|
|
122
204
|
);
|
|
123
205
|
box-shadow: var(
|
|
124
|
-
--recursica_ui-
|
|
206
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_elevation
|
|
125
207
|
);
|
|
126
208
|
background-color: var(
|
|
127
|
-
--recursica_ui-
|
|
209
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_background
|
|
128
210
|
);
|
|
129
211
|
border-color: var(
|
|
130
|
-
--recursica_ui-
|
|
212
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_border-color
|
|
131
213
|
);
|
|
132
214
|
color: var(
|
|
133
|
-
--recursica_ui-
|
|
215
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text
|
|
134
216
|
);
|
|
135
217
|
}
|
|
136
218
|
|
|
137
219
|
.control[data-active]:hover:not(:disabled) {
|
|
138
220
|
color: var(
|
|
139
|
-
--recursica_ui-
|
|
221
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text-hover
|
|
140
222
|
);
|
|
141
223
|
}
|
|
142
224
|
|
|
143
225
|
/* Navigation Style: Text */
|
|
144
226
|
.control[data-variant="text"] {
|
|
145
227
|
border-width: var(
|
|
146
|
-
--recursica_ui-
|
|
228
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_border-size
|
|
147
229
|
);
|
|
148
230
|
box-shadow: var(
|
|
149
|
-
--recursica_ui-
|
|
231
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_elevation
|
|
150
232
|
);
|
|
151
233
|
background-color: var(
|
|
152
|
-
--recursica_ui-
|
|
234
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_background
|
|
153
235
|
);
|
|
154
236
|
border-color: var(
|
|
155
|
-
--recursica_ui-
|
|
237
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_border-color
|
|
156
238
|
);
|
|
157
239
|
color: var(
|
|
158
|
-
--recursica_ui-
|
|
240
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text
|
|
159
241
|
);
|
|
160
242
|
|
|
161
243
|
/* Also explicitly inherit navigation sizes incase they differ from pages */
|
|
162
244
|
border-radius: var(
|
|
163
|
-
--recursica_ui-
|
|
245
|
+
--recursica_ui-kit_components_button_variants_content_icon-only_variants_sizes_default_properties_border-radius
|
|
164
246
|
);
|
|
165
247
|
height: var(
|
|
166
|
-
--recursica_ui-
|
|
248
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_height
|
|
167
249
|
);
|
|
168
250
|
min-width: var(
|
|
169
|
-
--recursica_ui-
|
|
251
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_min-width
|
|
170
252
|
);
|
|
171
253
|
padding: 0
|
|
172
254
|
var(
|
|
173
|
-
--recursica_ui-
|
|
255
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_horizontal-padding
|
|
174
256
|
);
|
|
175
257
|
}
|
|
176
258
|
|
|
177
259
|
.control[data-variant="text"]:hover:not(:disabled) {
|
|
178
260
|
color: var(
|
|
179
|
-
--recursica_ui-
|
|
261
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text-hover
|
|
180
262
|
);
|
|
181
263
|
}
|
|
182
264
|
|
|
183
265
|
/* Hover Overlay for Navigation */
|
|
184
266
|
.control[data-variant="text"]::after {
|
|
185
267
|
background-color: var(
|
|
186
|
-
--recursica_ui-
|
|
268
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-color
|
|
187
269
|
);
|
|
188
270
|
}
|
|
189
271
|
.control[data-variant="text"]:hover:not(:disabled)::after {
|
|
190
272
|
opacity: var(
|
|
191
|
-
--recursica_ui-
|
|
273
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_hover-opacity,
|
|
192
274
|
0.1
|
|
193
275
|
);
|
|
194
276
|
}
|
|
@@ -199,10 +281,10 @@
|
|
|
199
281
|
align-items: center;
|
|
200
282
|
justify-content: center;
|
|
201
283
|
height: var(
|
|
202
|
-
--recursica_ui-
|
|
284
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_height
|
|
203
285
|
);
|
|
204
286
|
min-width: var(
|
|
205
|
-
--recursica_ui-
|
|
287
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_min-width
|
|
206
288
|
);
|
|
207
289
|
color: var(
|
|
208
290
|
--recursica_ui-kit_components_pagination_properties_colors_dots-color
|
|
@@ -214,7 +296,7 @@
|
|
|
214
296
|
display: flex;
|
|
215
297
|
align-items: center;
|
|
216
298
|
gap: var(
|
|
217
|
-
--recursica_ui-
|
|
299
|
+
--recursica_ui-kit_components_button_variants_sizes_default_properties_icon-text-gap,
|
|
218
300
|
4px
|
|
219
301
|
);
|
|
220
302
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
- flexbox layout on .content & .body: Required to create a vertical flex context that pushes the footer to the bottom.
|
|
5
5
|
- position: sticky & negative margins on .footer: A CSS technique used to break the footer out of the .body padding constraints so it stretches edge-to-edge, while remaining fixed at the bottom of the scroll container.
|
|
6
6
|
- z-index: 10 on .footer: Ensures the footer covers the body content as it scrolls underneath.
|
|
7
|
-
*/
|
|
7
|
+
*/
|
|
8
8
|
|
|
9
9
|
/* ======================================
|
|
10
10
|
PANEL CONTENT (outer drawer container)
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
--recursica_ui-kit_components_panel_properties_border-radius
|
|
24
24
|
);
|
|
25
25
|
box-shadow: var(--recursica_ui-kit_components_panel_properties_elevation);
|
|
26
|
-
|
|
26
|
+
min-width: var(--recursica_ui-kit_components_panel_properties_min-width);
|
|
27
|
+
max-width: var(--recursica_ui-kit_components_panel_properties_max-width);
|
|
27
28
|
|
|
28
29
|
display: flex;
|
|
29
30
|
flex-direction: column;
|
|
@@ -64,7 +65,32 @@
|
|
|
64
65
|
|
|
65
66
|
.title {
|
|
66
67
|
color: var(--recursica_ui-kit_components_panel_properties_colors_title);
|
|
67
|
-
|
|
68
|
+
|
|
69
|
+
/* Direct Figma Typography Mapping */
|
|
70
|
+
font-family: var(
|
|
71
|
+
--recursica_ui-kit_components_panel_properties_header-style_fontFamily
|
|
72
|
+
);
|
|
73
|
+
font-size: var(
|
|
74
|
+
--recursica_ui-kit_components_panel_properties_header-style_fontSize
|
|
75
|
+
);
|
|
76
|
+
font-style: var(
|
|
77
|
+
--recursica_ui-kit_components_panel_properties_header-style_fontStyle
|
|
78
|
+
);
|
|
79
|
+
font-weight: var(
|
|
80
|
+
--recursica_ui-kit_components_panel_properties_header-style_fontWeight
|
|
81
|
+
);
|
|
82
|
+
letter-spacing: var(
|
|
83
|
+
--recursica_ui-kit_components_panel_properties_header-style_letterSpacing
|
|
84
|
+
);
|
|
85
|
+
line-height: var(
|
|
86
|
+
--recursica_ui-kit_components_panel_properties_header-style_lineHeight
|
|
87
|
+
);
|
|
88
|
+
text-transform: var(
|
|
89
|
+
--recursica_ui-kit_components_panel_properties_header-style_textCase
|
|
90
|
+
);
|
|
91
|
+
text-decoration: var(
|
|
92
|
+
--recursica_ui-kit_components_panel_properties_header-style_textDecoration
|
|
93
|
+
);
|
|
68
94
|
}
|
|
69
95
|
|
|
70
96
|
.titleTruncate {
|
|
@@ -94,6 +120,32 @@
|
|
|
94
120
|
display: flex;
|
|
95
121
|
flex-direction: column;
|
|
96
122
|
overflow-y: auto;
|
|
123
|
+
|
|
124
|
+
/* Direct Figma Typography Mapping */
|
|
125
|
+
font-family: var(
|
|
126
|
+
--recursica_ui-kit_components_panel_properties_content-style_fontFamily
|
|
127
|
+
);
|
|
128
|
+
font-size: var(
|
|
129
|
+
--recursica_ui-kit_components_panel_properties_content-style_fontSize
|
|
130
|
+
);
|
|
131
|
+
font-style: var(
|
|
132
|
+
--recursica_ui-kit_components_panel_properties_content-style_fontStyle
|
|
133
|
+
);
|
|
134
|
+
font-weight: var(
|
|
135
|
+
--recursica_ui-kit_components_panel_properties_content-style_fontWeight
|
|
136
|
+
);
|
|
137
|
+
letter-spacing: var(
|
|
138
|
+
--recursica_ui-kit_components_panel_properties_content-style_letterSpacing
|
|
139
|
+
);
|
|
140
|
+
line-height: var(
|
|
141
|
+
--recursica_ui-kit_components_panel_properties_content-style_lineHeight
|
|
142
|
+
);
|
|
143
|
+
text-transform: var(
|
|
144
|
+
--recursica_ui-kit_components_panel_properties_content-style_textCase
|
|
145
|
+
);
|
|
146
|
+
text-decoration: var(
|
|
147
|
+
--recursica_ui-kit_components_panel_properties_content-style_textDecoration
|
|
148
|
+
);
|
|
97
149
|
}
|
|
98
150
|
|
|
99
151
|
/* ======================================
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
|
|
15
15
|
.dropdown {
|
|
16
16
|
background-color: var(
|
|
17
|
-
--recursica_ui-kit_components_hover-card-
|
|
17
|
+
--recursica_ui-kit_components_hover-card-popover_properties_colors_background
|
|
18
18
|
);
|
|
19
19
|
border-style: solid; /* HARDCODE: Mantine Paper does not set border-style natively */
|
|
20
20
|
border-width: var(
|
|
21
21
|
--recursica_ui-kit_components_hover-card-popover_properties_border-size
|
|
22
22
|
);
|
|
23
23
|
border-color: var(
|
|
24
|
-
--recursica_ui-kit_components_hover-card-
|
|
24
|
+
--recursica_ui-kit_components_hover-card-popover_properties_colors_border-color
|
|
25
25
|
);
|
|
26
26
|
border-radius: var(
|
|
27
27
|
--recursica_ui-kit_components_hover-card-popover_properties_border-radius
|
|
@@ -70,7 +70,9 @@
|
|
|
70
70
|
--recursica_ui-kit_components_hover-card-popover_properties_content-text_text-transform
|
|
71
71
|
);
|
|
72
72
|
|
|
73
|
-
color: var(
|
|
73
|
+
color: var(
|
|
74
|
+
--recursica_ui-kit_components_hover-card-popover_properties_colors_content
|
|
75
|
+
);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
/* ======================================
|
|
@@ -79,6 +81,6 @@
|
|
|
79
81
|
|
|
80
82
|
.arrow {
|
|
81
83
|
border-color: var(
|
|
82
|
-
--recursica_ui-kit_components_hover-card-
|
|
84
|
+
--recursica_ui-kit_components_hover-card-popover_properties_colors_border-color
|
|
83
85
|
);
|
|
84
86
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
0
|
|
17
17
|
);
|
|
18
18
|
margin: 0; /* HARDCODE: structural reset; consider token if layout needs change */
|
|
19
|
-
display: flex
|
|
19
|
+
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
gap: var(
|
|
22
22
|
--recursica_ui-kit_components_radio-button-group_properties_item-gap,
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
/* SideBySide Variant */
|
|
28
28
|
.groupRoot[data-layout="side-by-side"] {
|
|
29
|
-
flex-direction:
|
|
29
|
+
flex-direction: row;
|
|
30
30
|
flex-wrap: wrap;
|
|
31
|
+
gap: var(
|
|
32
|
+
--recursica_ui-kit_components_radio-button-group_variants_layouts_side-by-side_properties_gutter
|
|
33
|
+
);
|
|
31
34
|
padding-top: var(
|
|
32
35
|
--recursica_ui-kit_components_radio-button-group_variants_layouts_side-by-side_properties_vertical-padding
|
|
33
36
|
);
|
|
@@ -46,7 +49,10 @@
|
|
|
46
49
|
.groupRoot[data-layout="stacked"] {
|
|
47
50
|
flex-direction: column;
|
|
48
51
|
margin-top: var(
|
|
49
|
-
--recursica_ui-kit_components_radio-button-
|
|
52
|
+
--recursica_ui-kit_components_radio-button-group_variants_layouts_stacked_properties_label-field-gap,
|
|
53
|
+
var(
|
|
54
|
+
--recursica_ui-kit_components_radio-button-group_variants_layouts_stacked_properties_top-bottom-margin
|
|
55
|
+
)
|
|
50
56
|
);
|
|
51
57
|
margin-bottom: var(
|
|
52
58
|
--recursica_ui-kit_components_radio-button-group_variants_layouts_stacked_properties_top-bottom-margin
|
|
@@ -69,123 +75,114 @@
|
|
|
69
75
|
);
|
|
70
76
|
}
|
|
71
77
|
|
|
72
|
-
.inner {
|
|
73
|
-
display: flex
|
|
74
|
-
align-items: center
|
|
75
|
-
justify-content: center
|
|
76
|
-
margin: 0
|
|
77
|
-
width: var(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
--recursica_ui-kit_components_radio-
|
|
82
|
-
)
|
|
83
|
-
/* Mathematically syncs the physical input radio bounding block visually with the center of the text's first line
|
|
78
|
+
.root .inner {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
margin: 0; /* HARDCODE: structural reset */
|
|
83
|
+
width: var(--recursica_ui-kit_components_radio-button_properties_size);
|
|
84
|
+
height: var(--recursica_ui-kit_components_radio-button_properties_size);
|
|
85
|
+
/* Apply font-size to this element so that an 'em' based line-height token evaluates to the correct exact pixel value. */
|
|
86
|
+
font-size: var(
|
|
87
|
+
--recursica_ui-kit_components_radio-button-item_properties_text_font-size
|
|
88
|
+
);
|
|
89
|
+
/* Mathematically syncs the physical input radio bounding block visually with the center of the text's first line.
|
|
90
|
+
NOTE: Since the Figma line-height token resolves to an 'em' length (e.g. 1.05em), we CANNOT multiply it by font-size in CSS.
|
|
91
|
+
Instead, it naturally evaluates to the correct height because we applied the font-size above. */
|
|
84
92
|
margin-top: calc(
|
|
85
93
|
(
|
|
86
94
|
var(
|
|
87
95
|
--recursica_ui-kit_components_radio-button-item_properties_text_line-height
|
|
88
|
-
) *
|
|
89
|
-
var(
|
|
90
|
-
--recursica_ui-kit_components_radio-button-item_properties_text_font-size
|
|
91
96
|
) -
|
|
92
97
|
var(--recursica_ui-kit_components_radio-button_properties_size)
|
|
93
98
|
) /
|
|
94
99
|
2
|
|
95
|
-
)
|
|
100
|
+
);
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
/* Base explicit reset masking underlying framework defaults */
|
|
99
|
-
.radio {
|
|
104
|
+
.root .radio {
|
|
100
105
|
cursor: pointer; /* HARDCODE: core interaction behavior */
|
|
101
106
|
appearance: none; /* HARDCODE: reset native widget */
|
|
102
|
-
box-sizing: border-box
|
|
103
|
-
width: var(
|
|
104
|
-
|
|
105
|
-
) !important;
|
|
106
|
-
height: var(
|
|
107
|
-
--recursica_ui-kit_components_radio-button_properties_size
|
|
108
|
-
) !important;
|
|
107
|
+
box-sizing: border-box; /* HARDCODE: ensures size includes borders */
|
|
108
|
+
width: var(--recursica_ui-kit_components_radio-button_properties_size);
|
|
109
|
+
height: var(--recursica_ui-kit_components_radio-button_properties_size);
|
|
109
110
|
border-radius: var(
|
|
110
111
|
--recursica_ui-kit_components_radio-button_properties_border-radius
|
|
111
|
-
)
|
|
112
|
+
);
|
|
112
113
|
border-width: var(
|
|
113
114
|
--recursica_ui-kit_components_radio-button_properties_border-size
|
|
114
|
-
)
|
|
115
|
+
);
|
|
115
116
|
border-style: solid; /* HARDCODE: normalize primitive border-style */
|
|
116
117
|
|
|
117
118
|
/* Standard unchecked state */
|
|
118
119
|
background-color: var(
|
|
119
120
|
--recursica_ui-kit_components_radio-button_properties_colors_background-unselected
|
|
120
|
-
)
|
|
121
|
+
);
|
|
121
122
|
border-color: var(
|
|
122
123
|
--recursica_ui-kit_components_radio-button_properties_colors_border-unselected
|
|
123
|
-
)
|
|
124
|
+
);
|
|
124
125
|
transition: all 0.2s ease; /* HARDCODE: consider global transition token */
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
/* Checked State */
|
|
128
|
-
.radio:checked {
|
|
129
|
+
.root .radio:checked {
|
|
129
130
|
background-color: var(
|
|
130
131
|
--recursica_ui-kit_components_radio-button_properties_colors_background-selected
|
|
131
|
-
)
|
|
132
|
+
);
|
|
132
133
|
border-color: var(
|
|
133
134
|
--recursica_ui-kit_components_radio-button_properties_colors_border-selected
|
|
134
|
-
)
|
|
135
|
+
);
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
/* Disabled State */
|
|
138
|
-
.radio:disabled {
|
|
139
|
+
.root .radio:disabled {
|
|
139
140
|
cursor: not-allowed; /* HARDCODE: disabled state default */
|
|
140
141
|
opacity: var(
|
|
141
142
|
--recursica_ui-kit_components_radio-button_properties_disabled-opacity
|
|
142
|
-
)
|
|
143
|
+
);
|
|
143
144
|
background-color: var(
|
|
144
145
|
--recursica_ui-kit_components_radio-button_properties_colors_disabled-background
|
|
145
|
-
)
|
|
146
|
+
);
|
|
146
147
|
border-color: var(
|
|
147
148
|
--recursica_ui-kit_components_radio-button_properties_colors_disabled-border
|
|
148
|
-
)
|
|
149
|
+
);
|
|
149
150
|
}
|
|
150
151
|
|
|
151
|
-
.icon {
|
|
152
|
+
.root .icon {
|
|
152
153
|
position: absolute;
|
|
153
154
|
inset: 0;
|
|
154
155
|
margin: auto;
|
|
155
156
|
pointer-events: none;
|
|
156
|
-
width: var(
|
|
157
|
-
|
|
158
|
-
) !important;
|
|
159
|
-
height: var(
|
|
160
|
-
--recursica_ui-kit_components_radio-button_properties_icon-size
|
|
161
|
-
) !important;
|
|
157
|
+
width: var(--recursica_ui-kit_components_radio-button_properties_icon-size);
|
|
158
|
+
height: var(--recursica_ui-kit_components_radio-button_properties_icon-size);
|
|
162
159
|
color: var(
|
|
163
160
|
--recursica_ui-kit_components_radio-button_properties_colors_icon-color
|
|
164
|
-
)
|
|
161
|
+
);
|
|
165
162
|
}
|
|
166
|
-
.radio:disabled + .iconWrapper .icon,
|
|
167
|
-
.radio:disabled + .icon {
|
|
163
|
+
.root .radio:disabled + .iconWrapper .icon,
|
|
164
|
+
.root .radio:disabled + .icon {
|
|
168
165
|
color: var(
|
|
169
166
|
--recursica_ui-kit_components_radio-button_properties_colors_disabled-icon
|
|
170
|
-
)
|
|
167
|
+
);
|
|
171
168
|
}
|
|
172
169
|
|
|
173
|
-
.labelWrapper {
|
|
174
|
-
padding: 0
|
|
175
|
-
margin: 0
|
|
170
|
+
.root .labelWrapper {
|
|
171
|
+
padding: 0; /* HARDCODE: structural layout reset */
|
|
172
|
+
margin: 0; /* HARDCODE: structural layout reset */
|
|
176
173
|
flex: 1;
|
|
177
174
|
min-width: 0; /* HARDCODE: forces text wrap boundary in flex child */
|
|
178
175
|
}
|
|
179
176
|
|
|
180
|
-
.label {
|
|
177
|
+
.root .label {
|
|
181
178
|
cursor: pointer; /* HARDCODE: interactive affordance */
|
|
182
|
-
padding: 0
|
|
183
|
-
margin: 0
|
|
179
|
+
padding: 0; /* HARDCODE: reset layout */
|
|
180
|
+
margin: 0; /* HARDCODE: reset layout */
|
|
184
181
|
word-wrap: break-word;
|
|
185
182
|
white-space: normal;
|
|
186
183
|
color: var(
|
|
187
|
-
--recursica_ui-kit_components_radio-button-
|
|
188
|
-
)
|
|
184
|
+
--recursica_ui-kit_components_radio-button-item_properties_colors_text
|
|
185
|
+
);
|
|
189
186
|
font-family: var(
|
|
190
187
|
--recursica_ui-kit_components_radio-button-item_properties_text_font-family
|
|
191
188
|
);
|
|
@@ -198,10 +195,26 @@
|
|
|
198
195
|
line-height: var(
|
|
199
196
|
--recursica_ui-kit_components_radio-button-item_properties_text_line-height
|
|
200
197
|
);
|
|
198
|
+
font-style: var(
|
|
199
|
+
--recursica_ui-kit_components_radio-button-item_properties_text_font-style
|
|
200
|
+
);
|
|
201
|
+
letter-spacing: var(
|
|
202
|
+
--recursica_ui-kit_components_radio-button-item_properties_text_letter-spacing
|
|
203
|
+
);
|
|
204
|
+
text-decoration: var(
|
|
205
|
+
--recursica_ui-kit_components_radio-button-item_properties_text_text-decoration
|
|
206
|
+
);
|
|
207
|
+
text-transform: var(
|
|
208
|
+
--recursica_ui-kit_components_radio-button-item_properties_text_text-transform
|
|
209
|
+
);
|
|
201
210
|
}
|
|
202
|
-
.root
|
|
211
|
+
.root:has(input:disabled) .label {
|
|
203
212
|
cursor: not-allowed; /* HARDCODE: disabled interaction */
|
|
213
|
+
color: var(
|
|
214
|
+
--recursica_ui-kit_components_radio-button-item_properties_colors_disabled-text
|
|
215
|
+
);
|
|
204
216
|
opacity: var(
|
|
205
|
-
--recursica_ui-kit_components_radio-
|
|
217
|
+
--recursica_ui-kit_components_radio-button-item_properties_disabled-opacity,
|
|
218
|
+
var(--recursica_ui-kit_components_radio-button_properties_disabled-opacity)
|
|
206
219
|
);
|
|
207
220
|
}
|