@plexui/styles 0.1.31 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/Accordion/Accordion.module.css +16 -0
- package/dist/es/components/Badge/Badge.module.css +41 -8
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +1 -1
- package/dist/es/components/Button/Button.module.css +117 -64
- package/dist/es/components/Button/NavigationButton.module.css +27 -0
- package/dist/es/components/Card/Card.module.css +5 -3
- package/dist/es/components/Checkbox/Checkbox.module.css +80 -41
- package/dist/es/components/DataTable/DataTable.module.css +31 -5
- package/dist/es/components/DatePicker/Calendar.module.css +267 -3
- package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +20 -0
- package/dist/es/components/DateRangePicker/Calendar.module.css +205 -3
- package/dist/es/components/Dialog/Dialog.module.css +227 -50
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +58 -14
- package/dist/es/components/Field/Field.module.css +164 -2
- package/dist/es/components/FieldError/FieldError.module.css +13 -10
- package/dist/es/components/FieldGroup/FieldGroup.module.css +64 -5
- package/dist/es/components/FileUpload/FileUpload.module.css +103 -10
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +25 -14
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +20 -14
- package/dist/es/components/Indicator/LoadingIndicator.module.css +41 -6
- package/dist/es/components/Input/Input.module.css +126 -25
- package/dist/es/components/InputGroup/InputGroup.module.css +1 -1
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +27 -147
- package/dist/es/components/Menu/Menu.module.css +162 -20
- package/dist/es/components/OTPInput/OTPInput.module.css +11 -3
- package/dist/es/components/Page/Page.module.css +140 -11
- package/dist/es/components/RadioGroup/RadioGroup.module.css +17 -11
- package/dist/es/components/Select/Select.module.css +118 -13
- package/dist/es/components/SelectControl/SelectControl.module.css +83 -11
- package/dist/es/components/ShimmerText/ShimmerText.module.css +7 -0
- package/dist/es/components/Sidebar/Sidebar.module.css +74 -18
- package/dist/es/components/Skeleton/Skeleton.module.css +4 -0
- package/dist/es/components/Slider/Slider.module.css +53 -16
- package/dist/es/components/Sortable/Sortable.module.css +13 -4
- package/dist/es/components/Switch/Switch.module.css +16 -7
- package/dist/es/components/Table/Table.module.css +4 -2
- package/dist/es/components/Tabs/Tabs.module.css +39 -6
- package/dist/es/components/TagInput/TagInput.module.css +64 -19
- package/dist/es/components/TextLink/TextLink.module.css +4 -4
- package/dist/es/components/Textarea/Textarea.module.css +1 -1
- package/dist/es/components/Toast/Toast.module.css +72 -2
- package/dist/es/components/Toolbar/Toolbar.module.css +389 -0
- package/dist/es/components/Tooltip/Tooltip.module.css +1 -1
- package/dist/es/styles/base.css +1 -1
- package/dist/es/styles/mobile-materials.css +27 -0
- package/dist/es/styles/mobile-surfaces.css +39 -0
- package/dist/es/styles/touch.css +287 -54
- package/dist/es/styles/variables-components.css +61 -0
- package/package.json +1 -1
- package/postcss/mixins.mjs +1 -1
package/dist/es/styles/touch.css
CHANGED
|
@@ -1,15 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
* Optional touch sizes for phones, from Apple's iOS and iPadOS 26 design
|
|
3
|
-
* resources. Below 768px every control takes one height, 44px, with text at
|
|
4
|
-
* 17px; menus and the mobile sidebar follow the iOS measures. Nothing changes
|
|
5
|
-
* unless this file is imported, after the main stylesheet:
|
|
6
|
-
*
|
|
7
|
-
* @import "@plexui/styles/styles/touch.css";
|
|
8
|
-
*
|
|
9
|
-
* Tokens only, so a size prop still picks the same token as on desktop. `3xl`
|
|
10
|
-
* stays large at 50px for the main action of a sign-in or checkout screen.
|
|
11
|
-
*/
|
|
1
|
+
/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */
|
|
12
2
|
@media (max-width: 767px) {
|
|
3
|
+
:where(:root), :where([data-theme="light"]) {
|
|
4
|
+
--mobile-label-secondary: rgb(60 60 67 / 0.6);
|
|
5
|
+
--mobile-label-tertiary: rgb(60 60 67 / 0.3);
|
|
6
|
+
--mobile-label-quaternary: rgb(60 60 67 / 0.18);
|
|
7
|
+
--mobile-accessory-secondary: rgb(60 60 67 / 0.6);
|
|
8
|
+
--mobile-surface-plain-primary: #ffffff;
|
|
9
|
+
--mobile-surface-plain-secondary: #f2f2f7;
|
|
10
|
+
--mobile-surface-plain-tertiary: #ffffff;
|
|
11
|
+
--mobile-surface-grouped-primary: #f2f2f7;
|
|
12
|
+
--mobile-surface-grouped-secondary: #ffffff;
|
|
13
|
+
--mobile-surface-grouped-tertiary: #f2f2f7;
|
|
14
|
+
--mobile-surface-elevated-plain-primary: #ffffff;
|
|
15
|
+
--mobile-surface-elevated-plain-secondary: #f2f2f7;
|
|
16
|
+
--mobile-surface-elevated-plain-tertiary: #ffffff;
|
|
17
|
+
--mobile-surface-elevated-grouped-primary: #f2f2f7;
|
|
18
|
+
--mobile-surface-elevated-grouped-secondary: #ffffff;
|
|
19
|
+
--mobile-surface-elevated-grouped-tertiary: #f2f2f7;
|
|
20
|
+
}
|
|
21
|
+
:where([data-theme="dark"]) {
|
|
22
|
+
--mobile-label-secondary: rgb(235 235 245 / 0.7);
|
|
23
|
+
--mobile-label-tertiary: rgb(235 235 245 / 0.3);
|
|
24
|
+
--mobile-label-quaternary: rgb(235 235 245 / 0.18);
|
|
25
|
+
--mobile-accessory-secondary: rgb(235 235 245 / 0.6);
|
|
26
|
+
--mobile-surface-plain-primary: #000000;
|
|
27
|
+
--mobile-surface-plain-secondary: #1c1c1e;
|
|
28
|
+
--mobile-surface-plain-tertiary: #2c2c2e;
|
|
29
|
+
--mobile-surface-grouped-primary: #000000;
|
|
30
|
+
--mobile-surface-grouped-secondary: #1c1c1e;
|
|
31
|
+
--mobile-surface-grouped-tertiary: #2c2c2e;
|
|
32
|
+
--mobile-surface-elevated-plain-primary: #1c1c1e;
|
|
33
|
+
--mobile-surface-elevated-plain-secondary: #2c2c2e;
|
|
34
|
+
--mobile-surface-elevated-plain-tertiary: #3a3a3c;
|
|
35
|
+
--mobile-surface-elevated-grouped-primary: #1c1c1e;
|
|
36
|
+
--mobile-surface-elevated-grouped-secondary: #2c2c2e;
|
|
37
|
+
--mobile-surface-elevated-grouped-tertiary: #3a3a3c;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@media (max-width: 767px) {
|
|
41
|
+
:root {
|
|
42
|
+
--mobile-glass-sheen: linear-gradient(light-dark(rgb(0 0 0 / 3%), rgb(0 0 0 / 6%)), transparent 50%, light-dark(rgb(255 255 255 / 45%), rgb(255 255 255 / 3%)));
|
|
43
|
+
--mobile-glass-shadow: inset 0.67px 0.67px 0 var(--mobile-glass-rim), inset -0.67px -0.67px 0 var(--mobile-glass-rim);
|
|
44
|
+
--mobile-glass-backdrop-filter: blur(4px);
|
|
45
|
+
}
|
|
46
|
+
:where(:root), :where([data-theme="light"]) {
|
|
47
|
+
--mobile-glass-background: rgb(247 247 247 / 64%);
|
|
48
|
+
--mobile-glass-background-hover: rgb(247 247 247 / 74%);
|
|
49
|
+
--mobile-glass-background-active: rgb(247 247 247 / 84%);
|
|
50
|
+
--mobile-glass-rim: rgb(255 255 255 / 100%);
|
|
51
|
+
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-shadow);
|
|
52
|
+
--mobile-grabber-color: rgb(0 0 0 / 20%);
|
|
53
|
+
}
|
|
54
|
+
:where([data-theme="dark"]) {
|
|
55
|
+
--mobile-glass-background: rgb(19 19 19 / 42%);
|
|
56
|
+
--mobile-glass-background-hover: rgb(60 60 60 / 50%);
|
|
57
|
+
--mobile-glass-background-active: rgb(80 80 80 / 55%);
|
|
58
|
+
--mobile-glass-rim: rgb(255 255 255 / 30%);
|
|
59
|
+
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-shadow);
|
|
60
|
+
--mobile-grabber-color: rgb(255 255 255 / 20%);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@media (max-width: 767px) {
|
|
64
|
+
:where([data-row]) {
|
|
65
|
+
--color-text-secondary: var(--mobile-label-secondary);
|
|
66
|
+
}
|
|
13
67
|
html:root {
|
|
14
68
|
--control-size-sm: 44px;
|
|
15
69
|
--control-size-md: 44px;
|
|
@@ -24,32 +78,101 @@
|
|
|
24
78
|
--control-font-size-md: 17px;
|
|
25
79
|
--control-font-size-lg: 17px;
|
|
26
80
|
--button-gap-lg: 4px;
|
|
27
|
-
|
|
28
|
-
--
|
|
29
|
-
|
|
81
|
+
--button-touch-radius: var(--radius-full);
|
|
82
|
+
--button-font-weight: var(--font-weight-normal);
|
|
83
|
+
--button-size-3xs: 28px;
|
|
84
|
+
--button-gutter-3xs: 10px;
|
|
85
|
+
--button-font-size-3xs: 15px;
|
|
86
|
+
--button-line-height-3xs: 20px;
|
|
87
|
+
--button-size-2xs: 28px;
|
|
88
|
+
--button-gutter-2xs: 10px;
|
|
89
|
+
--button-font-size-2xs: 15px;
|
|
90
|
+
--button-line-height-2xs: 20px;
|
|
91
|
+
--button-size-xs: 28px;
|
|
92
|
+
--button-gutter-xs: 10px;
|
|
93
|
+
--button-font-size-xs: 15px;
|
|
94
|
+
--button-line-height-xs: 20px;
|
|
95
|
+
--button-size-sm: 28px;
|
|
96
|
+
--button-gutter-sm: 10px;
|
|
97
|
+
--button-font-size-sm: 15px;
|
|
98
|
+
--button-line-height-sm: 20px;
|
|
99
|
+
--button-size-md: 34px;
|
|
100
|
+
--button-gutter-md: 14px;
|
|
101
|
+
--button-font-size-md: 15px;
|
|
102
|
+
--button-line-height-md: 20px;
|
|
103
|
+
--button-size-lg: 34px;
|
|
104
|
+
--button-gutter-lg: 14px;
|
|
105
|
+
--button-font-size-lg: 15px;
|
|
106
|
+
--button-line-height-lg: 20px;
|
|
107
|
+
--button-size-xl: 50px;
|
|
108
|
+
--button-gutter-xl: 20px;
|
|
109
|
+
--button-font-size-xl: 17px;
|
|
110
|
+
--button-line-height-xl: 22px;
|
|
111
|
+
--button-size-2xl: 50px;
|
|
112
|
+
--button-gutter-2xl: 20px;
|
|
113
|
+
--button-font-size-2xl: 17px;
|
|
114
|
+
--button-line-height-2xl: 22px;
|
|
115
|
+
--button-size-3xl: 50px;
|
|
116
|
+
--button-gutter-3xl: 20px;
|
|
117
|
+
--button-font-size-3xl: 17px;
|
|
118
|
+
--button-line-height-3xl: 22px;
|
|
119
|
+
--accordion-trigger-min-height: 52px;
|
|
120
|
+
--accordion-trigger-font-size: 17px;
|
|
121
|
+
--accordion-trigger-line-height: 22px;
|
|
122
|
+
--accordion-trigger-font-weight: 590;
|
|
123
|
+
--accordion-trigger-padding-block: 15px;
|
|
124
|
+
--accordion-content-font-size: 17px;
|
|
125
|
+
--accordion-content-line-height: 22px;
|
|
126
|
+
--accordion-content-padding-bottom: 16px;
|
|
30
127
|
--sortable-handle-size: 44px;
|
|
31
|
-
--sortable-handle-icon-size:
|
|
128
|
+
--sortable-handle-icon-size: 17px;
|
|
129
|
+
--sortable-desktop-grip-display: none;
|
|
130
|
+
--sortable-phone-grip-display: block;
|
|
131
|
+
--sortable-phone-grip-ink-width: 17px;
|
|
32
132
|
--sortable-handle-inset: 4px;
|
|
33
|
-
|
|
133
|
+
--menu-item-highlight-opacity: 0;
|
|
134
|
+
--menu-item-press-scale: 1;
|
|
135
|
+
--select-control-ghost-state-opacity: 0;
|
|
34
136
|
--menu-gutter: 10px;
|
|
137
|
+
--menu-default-min-width: 238px;
|
|
138
|
+
--menu-padding-inline: 16px;
|
|
139
|
+
--menu-shadow: 0 8px 40px rgb(0 0 0 / 12%);
|
|
35
140
|
--menu-radius: 32px;
|
|
36
141
|
--menu-radius-pill: 32px;
|
|
37
142
|
--menu-font-size: 17px;
|
|
38
143
|
--menu-line-height: 20px;
|
|
39
|
-
--menu-
|
|
144
|
+
--menu-letter-spacing: -0.43px;
|
|
145
|
+
--menu-description-color: var(--mobile-label-secondary);
|
|
146
|
+
--menu-disabled-label-color: var(--mobile-label-tertiary);
|
|
147
|
+
--menu-disabled-description-color: var(--mobile-label-quaternary);
|
|
148
|
+
--menu-item-padding: 10px 8px 10px 6px;
|
|
40
149
|
--menu-item-gap: 6px;
|
|
41
|
-
--menu-separator-gutter: 10px
|
|
150
|
+
--menu-separator-gutter: 10px 8px;
|
|
42
151
|
--menu-pill-gutter: 10px;
|
|
43
|
-
--menu-pill-item-padding: 10px
|
|
152
|
+
--menu-pill-item-padding: 10px 8px 10px 6px;
|
|
44
153
|
--menu-search-gutter: 12px;
|
|
45
|
-
--menu-pill-separator-gutter: 10px
|
|
154
|
+
--menu-pill-separator-gutter: 10px 8px;
|
|
46
155
|
--menu-checkbox-indicator-size: 24px;
|
|
47
|
-
--menu-label-padding: 4px
|
|
156
|
+
--menu-label-padding: 4px 8px 10px;
|
|
48
157
|
--menu-label-padding-bottom: 10px;
|
|
49
158
|
--menu-label-font-size: 13px;
|
|
50
|
-
--menu-label-font-weight:
|
|
159
|
+
--menu-label-font-weight: 510;
|
|
51
160
|
--menu-label-line-height: 15px;
|
|
52
|
-
|
|
161
|
+
--menu-leading-icon-size: 17px;
|
|
162
|
+
--menu-leading-icon-slot: 28px;
|
|
163
|
+
--menu-leading-icon-gap: 8px;
|
|
164
|
+
--menu-horizontal-item-display: flex;
|
|
165
|
+
--menu-horizontal-item-height: 56px;
|
|
166
|
+
--menu-horizontal-item-padding: 6px 4px;
|
|
167
|
+
--menu-horizontal-item-radius: 20px;
|
|
168
|
+
--menu-horizontal-item-gap: 5px;
|
|
169
|
+
--menu-horizontal-gap: 6px;
|
|
170
|
+
--menu-horizontal-padding-inline: 10px;
|
|
171
|
+
--menu-horizontal-icon-size: 13px;
|
|
172
|
+
--menu-horizontal-icon-slot: 22px;
|
|
173
|
+
--menu-horizontal-label-size: 12px;
|
|
174
|
+
--menu-horizontal-label-leading: 18px;
|
|
175
|
+
--menu-horizontal-label-weight: 510;
|
|
53
176
|
--sidebar-menu-item-height: 44px;
|
|
54
177
|
--sidebar-menu-item-font-size: 17px;
|
|
55
178
|
--sidebar-menu-item-line-height: 22px;
|
|
@@ -58,90 +181,200 @@
|
|
|
58
181
|
--sidebar-menu-sub-item-font-size: 17px;
|
|
59
182
|
--sidebar-menu-sub-item-line-height: 22px;
|
|
60
183
|
--sidebar-icon-size: 20px;
|
|
61
|
-
|
|
62
184
|
--table-cell-font-size: 15px;
|
|
63
185
|
--table-cell-line-height: 20px;
|
|
64
|
-
|
|
186
|
+
--data-table-layout: auto;
|
|
187
|
+
--data-table-min-width: max-content;
|
|
188
|
+
--data-table-control-target: 44px;
|
|
189
|
+
--data-table-pagination-wrap: wrap;
|
|
190
|
+
--data-table-pagination-gap: 12px;
|
|
65
191
|
--switch-track-width: 64px;
|
|
66
192
|
--switch-track-height: 28px;
|
|
67
193
|
--switch-thumb-width: 39px;
|
|
68
194
|
--switch-thumb-offset: 2px;
|
|
69
|
-
|
|
195
|
+
--switch-label-font-size: 17px;
|
|
196
|
+
--switch-label-line-height: 22px;
|
|
197
|
+
--switch-label-font-weight: 400;
|
|
198
|
+
--switch-description-font-size: 15px;
|
|
199
|
+
--switch-description-line-height: 20px;
|
|
200
|
+
--switch-track-top-offset: 0px;
|
|
201
|
+
--switch-label-padding-top: 3px;
|
|
202
|
+
--checkbox-target-size: 44px;
|
|
203
|
+
--checkbox-target-offset: 0px;
|
|
204
|
+
--checkbox-label-inset: 11px;
|
|
205
|
+
--checkbox-indicator-size: 22px;
|
|
206
|
+
--checkbox-ghost-icon-size: 26px;
|
|
207
|
+
--checkbox-border-width: 1.5px;
|
|
208
|
+
--checkbox-radius: var(--radius-full);
|
|
209
|
+
--checkbox-label-font-size: 17px;
|
|
210
|
+
--checkbox-label-line-height: 22px;
|
|
211
|
+
--checkbox-description-font-size: 15px;
|
|
212
|
+
--checkbox-description-line-height: 20px;
|
|
213
|
+
--radio-group-target-size: 44px;
|
|
214
|
+
--radio-group-label-align: center;
|
|
215
|
+
--radio-group-indicator-size: 22px;
|
|
216
|
+
--radio-group-item-font-size: 17px;
|
|
217
|
+
--radio-group-item-line-height: 22px;
|
|
218
|
+
--radio-group-description-font-size: 15px;
|
|
219
|
+
--radio-group-description-line-height: 20px;
|
|
220
|
+
--radio-group-ring: none;
|
|
221
|
+
--radio-group-dot-display: none;
|
|
222
|
+
--radio-group-checkmark-display: block;
|
|
223
|
+
--slider-reset-size: 44px;
|
|
224
|
+
--slider-control-height: 52px;
|
|
225
|
+
--slider-padding-bottom: 0px;
|
|
226
|
+
--slider-track-size: 6px;
|
|
227
|
+
--slider-track-radius: 3px;
|
|
228
|
+
--slider-thumb-width: 38px;
|
|
229
|
+
--slider-thumb-height: 24px;
|
|
230
|
+
--slider-thumb-radius: var(--radius-full);
|
|
231
|
+
--slider-thumb-shadow: 0 0.5px 4px rgb(0 0 0 / 12%), 0 6px 13px rgb(0 0 0 / 12%);
|
|
232
|
+
--progress-height: 6px;
|
|
233
|
+
--progress-radius: 3px;
|
|
234
|
+
--empty-message-title-size: 22px;
|
|
235
|
+
--empty-message-title-leading: 28px;
|
|
236
|
+
--empty-message-title-gap: 4px;
|
|
237
|
+
--empty-message-title-only-gap: 0px;
|
|
238
|
+
--empty-message-title-weight: var(--font-weight-bold);
|
|
239
|
+
--empty-message-title-tracking: -0.26px;
|
|
240
|
+
--empty-message-description-size: 17px;
|
|
241
|
+
--empty-message-description-leading: 22px;
|
|
242
|
+
--empty-message-description-tracking: -0.43px;
|
|
243
|
+
--empty-message-description-color: var(--color-text-secondary);
|
|
244
|
+
--empty-message-compact-description-size: 15px;
|
|
245
|
+
--empty-message-compact-description-leading: 20px;
|
|
246
|
+
--empty-message-padding-inline: 40px;
|
|
247
|
+
--empty-message-padding-bottom: 40px;
|
|
248
|
+
--empty-message-action-spacing: 24px;
|
|
249
|
+
--empty-message-action-gap: 12px;
|
|
250
|
+
--empty-message-multi-direction: column;
|
|
251
|
+
--empty-message-multi-align: stretch;
|
|
252
|
+
--empty-message-multi-action-width: 100%;
|
|
253
|
+
--empty-message-action-size: 48px;
|
|
254
|
+
--empty-message-action-font-size: 17px;
|
|
255
|
+
--empty-message-action-line-height: 22px;
|
|
256
|
+
--empty-message-action-gutter: 16px;
|
|
257
|
+
--empty-message-icon-badge-size: 50px;
|
|
258
|
+
--empty-message-icon-size: 22px;
|
|
259
|
+
--empty-message-icon-radius: var(--radius-full);
|
|
260
|
+
--empty-message-icon-gap: 16px;
|
|
261
|
+
--indicator-default-size: 30px;
|
|
262
|
+
--indicator-container-type: size;
|
|
263
|
+
--indicator-ring-display: none;
|
|
264
|
+
--indicator-spoke-display: block;
|
|
265
|
+
--indicator-rotate-timing: steps(8, end);
|
|
266
|
+
--input-control-min-width: 0px;
|
|
267
|
+
--input-clear-target-size: 44px;
|
|
268
|
+
--input-clear-target-offset: 0px;
|
|
70
269
|
--floating-input-font-size: 17px;
|
|
270
|
+
--floating-input-control-min-width: 0px;
|
|
271
|
+
--floating-input-clear-size: 44px;
|
|
272
|
+
--floating-input-reveal-size: 44px;
|
|
71
273
|
--floating-input-inside-height: 60px;
|
|
72
274
|
--floating-input-inside-label-shift: -13px;
|
|
73
275
|
--floating-input-inside-value-shift: 18px;
|
|
74
276
|
--floating-input-inside-line-height: 22px;
|
|
75
|
-
|
|
76
|
-
--field-
|
|
77
|
-
--field-
|
|
277
|
+
--mobile-field-error-font-size: 15px;
|
|
278
|
+
--mobile-field-error-line-height: 20px;
|
|
279
|
+
--mobile-field-error-font-weight: var(--font-weight-normal);
|
|
280
|
+
--mobile-field-error-letter-spacing: -0.23px;
|
|
281
|
+
--mobile-field-error-offset: 4px;
|
|
282
|
+
--mobile-field-error-icon-size: 16px;
|
|
283
|
+
--mobile-field-error-icon-gap: 4px;
|
|
284
|
+
--mobile-field-error-icon-display: none;
|
|
285
|
+
--mobile-field-error-margin-bottom: 0px;
|
|
286
|
+
--field-row-min-height: 52px;
|
|
287
|
+
--field-row-padding-block: 4px;
|
|
78
288
|
--field-row-text-padding-block: 12px;
|
|
79
289
|
--field-row-gap: 16px;
|
|
80
|
-
--field-row-
|
|
290
|
+
--field-row-disclosure-gap: 8px;
|
|
291
|
+
--field-row-text-display: flex;
|
|
81
292
|
--field-row-label-font-size: 17px;
|
|
82
293
|
--field-row-label-line-height: 22px;
|
|
83
294
|
--field-row-label-font-weight: var(--font-weight-normal);
|
|
84
295
|
--field-row-description-font-size: 15px;
|
|
85
296
|
--field-row-description-line-height: 20px;
|
|
297
|
+
--field-row-description-min-height: 68px;
|
|
86
298
|
--field-row-above-font-size: 15px;
|
|
87
299
|
--field-row-above-line-height: 20px;
|
|
88
300
|
--field-row-above-font-weight: var(--font-weight-normal);
|
|
89
|
-
--field-row-above-gap:
|
|
90
|
-
--field-row-above-padding-block:
|
|
301
|
+
--field-row-above-gap: 0px;
|
|
302
|
+
--field-row-above-padding-block: 13px;
|
|
91
303
|
--field-row-list-padding-block: 12px;
|
|
92
304
|
--field-row-list-row-gap: 6px;
|
|
93
305
|
--field-row-action-size: 34px;
|
|
306
|
+
--field-row-text-action-size: 44px;
|
|
94
307
|
--field-row-action-font-size: 15px;
|
|
95
308
|
--field-row-action-font-weight: var(--font-weight-normal);
|
|
96
|
-
|
|
97
309
|
--badge-size-xl: 36px;
|
|
98
|
-
|
|
99
310
|
--field-group-radius: 26px;
|
|
100
|
-
--field-group-
|
|
101
|
-
--field-group-
|
|
311
|
+
--field-group-separator-inset: 16px;
|
|
312
|
+
--field-group-border-width: 0px;
|
|
313
|
+
--field-group-background: var(--mobile-surface-plain-secondary, var(--color-background-secondary-soft-alpha));
|
|
102
314
|
--field-group-title-color: var(--color-text-secondary);
|
|
103
315
|
--field-group-title-font-size: 17px;
|
|
104
316
|
--field-group-title-line-height: 22px;
|
|
105
|
-
--field-group-title-font-weight:
|
|
317
|
+
--field-group-title-font-weight: 590;
|
|
318
|
+
--field-group-header-min-height: 39px;
|
|
319
|
+
--field-group-header-align: end;
|
|
320
|
+
--field-group-header-padding-bottom: 9px;
|
|
321
|
+
--field-group-footer-font-size: 13px;
|
|
322
|
+
--field-group-footer-line-height: 16px;
|
|
323
|
+
--field-group-footer-padding: 8px 16px 6px;
|
|
106
324
|
--field-group-title-padding-inline: 16px;
|
|
107
325
|
--field-group-description-font-size: 13px;
|
|
108
326
|
--field-group-description-line-height: 18px;
|
|
109
327
|
}
|
|
110
|
-
|
|
111
|
-
html [data-mobile-placement="bottom"] {
|
|
328
|
+
html [data-mobile-placement="bottom"]:not([data-mobile-variant]) {
|
|
112
329
|
--dialog-panel-radius: 38px 38px 0 0;
|
|
113
330
|
--dialog-panel-max-height: calc(100dvh - 10px);
|
|
114
331
|
}
|
|
115
|
-
|
|
116
|
-
html [data-mobile-placement="center"] {
|
|
332
|
+
html [data-mobile-placement="center"]:not([data-mobile-variant]) {
|
|
117
333
|
--dialog-panel-width: 300px;
|
|
118
334
|
--dialog-panel-radius: 34px;
|
|
119
335
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
--segmented-control-
|
|
336
|
+
html [data-variant="segmented"][data-orientation="horizontal"] {
|
|
337
|
+
--segmented-control-size: 32px;
|
|
338
|
+
--segmented-control-gutter: 2px;
|
|
339
|
+
--segmented-control-gap: 4px;
|
|
340
|
+
--segmented-control-radius: 100px;
|
|
341
|
+
--segmented-control-option-radius: 20px;
|
|
342
|
+
--segmented-control-option-gutter: 6px;
|
|
343
|
+
--segmented-control-font-size: 13.333px;
|
|
344
|
+
--segmented-control-line-height: 18px;
|
|
345
|
+
--segmented-control-font-weight: 510;
|
|
346
|
+
--segmented-control-active-font-weight: 590;
|
|
347
|
+
}
|
|
348
|
+
html [data-variant][data-orientation="horizontal"][data-block] {
|
|
349
|
+
--tabs-block-min-width: 0px;
|
|
350
|
+
--tabs-block-content-max-width: 100%;
|
|
351
|
+
--tabs-block-label-overflow: hidden;
|
|
352
|
+
--tabs-block-label-white-space: nowrap;
|
|
353
|
+
--tabs-block-accessory-shrink: 0;
|
|
123
354
|
}
|
|
124
|
-
|
|
125
|
-
/* In the kit's layer: outside it these beat every kit rule, and the bare field
|
|
126
|
-
of a form row would keep a gutter its label does not have. */
|
|
127
355
|
@layer components {
|
|
128
356
|
html [data-slot="input"] {
|
|
129
357
|
--input-font-size: 17px;
|
|
130
358
|
--input-gutter: 14px;
|
|
131
359
|
}
|
|
132
|
-
|
|
133
360
|
html [data-slot="input"][data-has-start-adornment] {
|
|
134
361
|
--input-gutter: 11px;
|
|
135
362
|
}
|
|
136
363
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
--menu-
|
|
364
|
+
html [role="menu"]:not([data-layout="horizontal"]) [role="menuitem"] > :is(div, span) > svg:first-child:not([class*="SubTriggerIcon"]) {
|
|
365
|
+
flex-shrink: 0;
|
|
366
|
+
width: var(--menu-leading-icon-size);
|
|
367
|
+
height: var(--menu-leading-icon-size);
|
|
368
|
+
margin-inline-start: calc((var(--menu-leading-icon-slot) - var(--menu-leading-icon-size)) / 2);
|
|
369
|
+
margin-inline-end: calc((var(--menu-leading-icon-slot) - var(--menu-leading-icon-size)) / 2 + var(--menu-leading-icon-gap) - var(--menu-item-gap));
|
|
370
|
+
}
|
|
371
|
+
html [role="menu"][data-layout="horizontal"] [role="menuitem"] > :is(div, span) > svg {
|
|
372
|
+
flex-shrink: 0;
|
|
373
|
+
width: var(--menu-horizontal-icon-size);
|
|
374
|
+
height: var(--menu-horizontal-icon-size);
|
|
375
|
+
margin-block: calc((var(--menu-horizontal-icon-slot) - var(--menu-horizontal-icon-size)) / 2);
|
|
140
376
|
}
|
|
141
377
|
}
|
|
142
|
-
|
|
143
|
-
/* One calendar on a phone: a whole cell to the finger, narrower only where
|
|
144
|
-
seven of them would not fit between the popover's edges */
|
|
145
378
|
@media (max-width: 575px) {
|
|
146
379
|
html:root {
|
|
147
380
|
--date-range-cell-size: min(44px, calc((100vw - 64px) / 7));
|
|
@@ -96,6 +96,13 @@
|
|
|
96
96
|
--button-font-weight: var(--font-weight-medium);
|
|
97
97
|
--button-outline-background: transparent;
|
|
98
98
|
|
|
99
|
+
/* NavigationButton: 44px target; glyph boxes normalize close/check/back ink. */
|
|
100
|
+
--navigation-button-size: var(--control-size-2xl);
|
|
101
|
+
--navigation-button-back-icon-size: 32px;
|
|
102
|
+
--navigation-button-close-icon-size: 34px;
|
|
103
|
+
/* iOS 26 kit: the 17pt checkmark of a bar button, about 15 × 14.5px of ink. */
|
|
104
|
+
--navigation-button-confirm-icon-size: 26px;
|
|
105
|
+
|
|
99
106
|
/* =============================================
|
|
100
107
|
Card
|
|
101
108
|
============================================= */
|
|
@@ -268,6 +275,7 @@
|
|
|
268
275
|
--field-row-list-row-gap: 8px;
|
|
269
276
|
--field-row-list-label-offset: 6px;
|
|
270
277
|
--field-row-action-size: 2rem;
|
|
278
|
+
--field-row-text-action-size: 2rem;
|
|
271
279
|
/* 32px */
|
|
272
280
|
--field-row-action-font-size: var(--font-text-sm-size);
|
|
273
281
|
--field-row-action-font-weight: var(--font-weight-medium);
|
|
@@ -366,6 +374,7 @@
|
|
|
366
374
|
--dialog-alert-radius: 34px;
|
|
367
375
|
--dialog-alert-padding: 14px;
|
|
368
376
|
--dialog-alert-action-height: 48px;
|
|
377
|
+
--dialog-sheet-action-height: 50px;
|
|
369
378
|
--dialog-sheet-radius: 38px;
|
|
370
379
|
--dialog-sheet-close-size: var(--control-size-2xl);
|
|
371
380
|
--dialog-sheet-close-icon-size: 34px;
|
|
@@ -406,6 +415,56 @@
|
|
|
406
415
|
============================================= */
|
|
407
416
|
--modal-container-inner-padding: calc(var(--spacing) * 5);
|
|
408
417
|
|
|
418
|
+
/* =============================================
|
|
419
|
+
Toolbar (phone only; Apps 2.4 Toolbars, iOS 26)
|
|
420
|
+
============================================= */
|
|
421
|
+
--toolbar-gutter: 16px;
|
|
422
|
+
--toolbar-top-item-size: 44px;
|
|
423
|
+
--toolbar-bottom-item-size: 48px;
|
|
424
|
+
--toolbar-top-item-gap: 10px;
|
|
425
|
+
--toolbar-bottom-item-gap: 12px;
|
|
426
|
+
--toolbar-bottom-gutter: 28px;
|
|
427
|
+
--toolbar-group-gap: 12px;
|
|
428
|
+
--toolbar-group-padding: 2px;
|
|
429
|
+
--toolbar-bottom-group-gap: 6px;
|
|
430
|
+
--toolbar-bottom-group-padding: 4px;
|
|
431
|
+
--toolbar-padding-bottom: 10px;
|
|
432
|
+
--toolbar-sheet-padding-top: 16px;
|
|
433
|
+
--toolbar-bottom-padding-top: 4px;
|
|
434
|
+
--toolbar-bottom-fill-padding-top: 12px;
|
|
435
|
+
--toolbar-bottom-padding-bottom: max(16px, calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) - 2px));
|
|
436
|
+
--toolbar-search-padding-bottom: 14px;
|
|
437
|
+
--toolbar-search-gutter: 11px;
|
|
438
|
+
--toolbar-search-icon-gap: 4px;
|
|
439
|
+
--toolbar-search-icon-size: 26px;
|
|
440
|
+
--toolbar-flat-opacity: 80%;
|
|
441
|
+
--toolbar-flat-blur: 60px;
|
|
442
|
+
--toolbar-large-title-gap: 10px;
|
|
443
|
+
--toolbar-icon-size: 24px;
|
|
444
|
+
--toolbar-label-font-size: 17px;
|
|
445
|
+
--toolbar-label-line-height: 22px;
|
|
446
|
+
--toolbar-label-font-weight: 510;
|
|
447
|
+
--toolbar-label-gutter: 14px;
|
|
448
|
+
--toolbar-bottom-label-gutter: 12px;
|
|
449
|
+
--toolbar-title-font-size: 17px;
|
|
450
|
+
--toolbar-title-line-height: 22px;
|
|
451
|
+
--toolbar-title-font-weight: 590;
|
|
452
|
+
--toolbar-title-compact-font-size: 15px;
|
|
453
|
+
--toolbar-title-compact-line-height: 20px;
|
|
454
|
+
--toolbar-subtitle-font-size: 12px;
|
|
455
|
+
--toolbar-subtitle-line-height: 16px;
|
|
456
|
+
--toolbar-subtitle-font-weight: var(--font-weight-medium);
|
|
457
|
+
--toolbar-large-title-font-size: 34px;
|
|
458
|
+
--toolbar-large-title-line-height: 41px;
|
|
459
|
+
--toolbar-large-subtitle-font-size: 15px;
|
|
460
|
+
--toolbar-large-subtitle-line-height: 20px;
|
|
461
|
+
--toolbar-medium-title-font-size: 22px;
|
|
462
|
+
--toolbar-medium-title-line-height: 28px;
|
|
463
|
+
--toolbar-edge-blur-small: 3px;
|
|
464
|
+
--toolbar-edge-blur-large: 10px;
|
|
465
|
+
--toolbar-group-item-hover: color-mix(in srgb, var(--color-text) 4%, transparent);
|
|
466
|
+
--toolbar-group-item-active: color-mix(in srgb, var(--color-text) 8%, transparent);
|
|
467
|
+
|
|
409
468
|
/* =============================================
|
|
410
469
|
Page
|
|
411
470
|
============================================= */
|
|
@@ -700,6 +759,7 @@
|
|
|
700
759
|
--dialog-backdrop-dim-background: rgb(0 0 0 / 30%);
|
|
701
760
|
--menu-item-background-color: var(--alpha-08);
|
|
702
761
|
--modal-backdrop-background: rgb(0 0 0 / 30%);
|
|
762
|
+
--page-bar-veil-opacity: 72%;
|
|
703
763
|
--page-bar-veil: rgb(255 255 255 / 72%);
|
|
704
764
|
--page-bar-line: rgb(0 0 0 / 10%);
|
|
705
765
|
--segmented-control-background: var(--gray-100);
|
|
@@ -740,6 +800,7 @@
|
|
|
740
800
|
--dialog-backdrop-dim-background: rgb(0 0 0 / 50%);
|
|
741
801
|
--menu-item-background-color: var(--alpha-10);
|
|
742
802
|
--modal-backdrop-background: rgb(0 0 0 / 50%);
|
|
803
|
+
--page-bar-veil-opacity: 60%;
|
|
743
804
|
--page-bar-veil: rgb(0 0 0 / 60%);
|
|
744
805
|
--page-bar-line: var(--color-border);
|
|
745
806
|
--segmented-control-background: var(--alpha-08);
|
package/package.json
CHANGED
package/postcss/mixins.mjs
CHANGED