@threadlabs/looma 0.42.0 → 0.43.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/components/ui-action-bar/ui-action-bar.html +1 -7
- package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
- package/components/ui-avatar/ui-avatar.html +0 -22
- package/components/ui-avatar-group/ui-avatar-group.html +1 -11
- package/components/ui-badge/ui-badge.html +57 -78
- package/components/ui-button/ui-button.html +36 -81
- package/components/ui-callout/ui-callout.html +30 -68
- package/components/ui-card/ui-card.html +41 -15
- package/components/ui-checkbox/ui-checkbox.html +1 -15
- package/components/ui-cluster/ui-cluster.html +1 -7
- package/components/ui-combobox/ui-combobox.html +7 -70
- package/components/ui-container/ui-container.html +2 -12
- package/components/ui-context-menu/ui-context-menu.html +1 -23
- package/components/ui-dialog/ui-dialog.html +1 -31
- package/components/ui-disclosure/ui-disclosure.html +1 -15
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
- package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
- package/components/ui-form-field/ui-form-field.html +2 -32
- package/components/ui-grid/ui-grid.html +1 -11
- package/components/ui-icon/ui-icon.html +1 -12
- package/components/ui-icon-button/ui-icon-button.html +52 -87
- package/components/ui-input/ui-input.html +5 -55
- package/components/ui-input-group/ui-input-group.html +1 -13
- package/components/ui-list/ui-list.html +0 -10
- package/components/ui-list-item/ui-list-item.html +1 -19
- package/components/ui-listbox/ui-listbox.html +0 -21
- package/components/ui-menu/ui-menu.html +0 -22
- package/components/ui-menu-item/ui-menu-item.html +0 -26
- package/components/ui-meter/ui-meter.html +11 -6
- package/components/ui-nav-item/ui-nav-item.html +0 -18
- package/components/ui-popover/ui-popover.html +0 -30
- package/components/ui-radio/ui-radio.html +7 -13
- package/components/ui-radio-group/ui-radio-group.html +0 -5
- package/components/ui-reel/ui-reel.html +1 -11
- package/components/ui-search-result-row/ui-search-result-row.html +0 -34
- package/components/ui-search-shell/ui-search-shell.html +1 -43
- package/components/ui-select/ui-select.html +0 -42
- package/components/ui-separator/ui-separator.html +0 -6
- package/components/ui-sidebar/ui-sidebar.html +2 -24
- package/components/ui-site-header/ui-site-header.html +0 -25
- package/components/ui-skeleton/ui-skeleton.html +0 -9
- package/components/ui-stack/ui-stack.html +6 -11
- package/components/ui-swatch/ui-swatch.html +0 -5
- package/components/ui-switch/ui-switch.html +1 -15
- package/components/ui-switcher/ui-switcher.html +1 -11
- package/components/ui-tabs/ui-tabs.html +1 -19
- package/components/ui-text/ui-text.html +19 -6
- package/components/ui-textarea/ui-textarea.html +0 -50
- package/components/ui-toast/ui-toast.html +12 -27
- package/components/ui-toast-region/ui-toast-region.html +13 -34
- package/components/ui-tooltip/ui-tooltip.html +1 -43
- package/components/ui-top-bar/ui-top-bar.html +1 -31
- package/components/ui-tree/ui-tree.html +1 -16
- package/components/ui-tree-item/ui-tree-item.html +1 -23
- package/components/ui-tree-item/ui-tree-item.js +0 -1
- package/dist/index.js +1 -1
- package/docs/README.md +11 -9
- package/docs/catalog.json +606 -191
- package/docs/customizer-render.mjs +20 -8
- package/docs/customizer.js +40 -2
- package/docs/palette.mjs +5 -4
- package/docs/theme.mjs +97 -35
- package/docs/value-editors.mjs +2 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +3 -11
- package/styles/ui-affordance-scope.css +4 -4
- package/styles/ui-avatar-group.css +3 -15
- package/styles/ui-avatar.css +2 -26
- package/styles/ui-badge.css +56 -80
- package/styles/ui-button.css +35 -83
- package/styles/ui-callout.css +32 -72
- package/styles/ui-card.css +36 -12
- package/styles/ui-checkbox.css +3 -19
- package/styles/ui-cluster.css +2 -10
- package/styles/ui-combobox.css +7 -140
- package/styles/ui-container.css +2 -14
- package/styles/ui-context-menu.css +3 -27
- package/styles/ui-dialog.css +5 -67
- package/styles/ui-disclosure.css +3 -19
- package/styles/ui-editor-table-overlay.css +2 -2
- package/styles/ui-floating-action-button.css +2 -18
- package/styles/ui-form-field.css +4 -36
- package/styles/ui-grid.css +2 -14
- package/styles/ui-icon-button.css +51 -89
- package/styles/ui-icon.css +3 -16
- package/styles/ui-input-group.css +2 -14
- package/styles/ui-input.css +6 -57
- package/styles/ui-list-item.css +3 -23
- package/styles/ui-list.css +2 -14
- package/styles/ui-listbox.css +2 -44
- package/styles/ui-menu-item.css +2 -30
- package/styles/ui-menu.css +2 -26
- package/styles/ui-meter.css +8 -4
- package/styles/ui-nav-item.css +2 -22
- package/styles/ui-popover.css +2 -34
- package/styles/ui-radio-group.css +1 -6
- package/styles/ui-radio.css +9 -17
- package/styles/ui-reel.css +2 -14
- package/styles/ui-search-result-row.css +2 -38
- package/styles/ui-search-shell.css +3 -47
- package/styles/ui-select.css +2 -46
- package/styles/ui-separator.css +2 -10
- package/styles/ui-sidebar.css +4 -28
- package/styles/ui-site-header.css +1 -26
- package/styles/ui-skeleton.css +2 -12
- package/styles/ui-stack.css +4 -12
- package/styles/ui-swatch.css +1 -6
- package/styles/ui-switch.css +3 -19
- package/styles/ui-switcher.css +2 -14
- package/styles/ui-tabs.css +3 -23
- package/styles/ui-text.css +10 -2
- package/styles/ui-textarea.css +2 -54
- package/styles/ui-toast-region.css +29 -73
- package/styles/ui-toast.css +24 -54
- package/styles/ui-tooltip.css +3 -47
- package/styles/ui-top-bar.css +3 -35
- package/styles/ui-tree-item.css +5 -51
- package/styles/ui-tree.css +3 -20
- package/theme-system.css +6 -2
- package/tokens.css +55 -21
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vue/UiActionBar.vue +3 -9
- package/vue/UiAffordanceScope.vue +4 -4
- package/vue/UiAvatar.vue +1 -28
- package/vue/UiAvatarGroup.vue +1 -11
- package/vue/UiBadge.d.ts +2 -2
- package/vue/UiBadge.vue +84 -81
- package/vue/UiButton.d.ts +2 -2
- package/vue/UiButton.vue +78 -97
- package/vue/UiCallout.vue +30 -71
- package/vue/UiCard.d.ts +2 -2
- package/vue/UiCard.vue +71 -20
- package/vue/UiCheckbox.vue +1 -15
- package/vue/UiCluster.vue +1 -10
- package/vue/UiCombobox.vue +13 -72
- package/vue/UiContainer.vue +1 -13
- package/vue/UiContextMenu.vue +1 -30
- package/vue/UiDialog.vue +3 -33
- package/vue/UiDisclosure.vue +1 -15
- package/vue/UiEditorTableOverlay.vue +2 -2
- package/vue/UiFloatingActionButton.vue +0 -22
- package/vue/UiFormField.vue +6 -33
- package/vue/UiGrid.vue +1 -13
- package/vue/UiIcon.vue +1 -16
- package/vue/UiIconButton.d.ts +2 -2
- package/vue/UiIconButton.vue +103 -99
- package/vue/UiInput.vue +1 -54
- package/vue/UiInputGroup.vue +8 -20
- package/vue/UiList.vue +2 -12
- package/vue/UiListItem.vue +8 -26
- package/vue/UiListbox.vue +0 -23
- package/vue/UiMenu.vue +1 -23
- package/vue/UiMenuItem.vue +0 -26
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +47 -12
- package/vue/UiNavItem.vue +3 -21
- package/vue/UiPopover.vue +1 -32
- package/vue/UiRadio.vue +1 -11
- package/vue/UiRadioGroup.vue +0 -11
- package/vue/UiReel.vue +1 -11
- package/vue/UiSearchResultRow.vue +0 -35
- package/vue/UiSearchShell.vue +1 -53
- package/vue/UiSelect.vue +0 -42
- package/vue/UiSeparator.vue +0 -7
- package/vue/UiSidebar.vue +3 -26
- package/vue/UiSiteHeader.vue +0 -24
- package/vue/UiSkeleton.vue +0 -9
- package/vue/UiStack.vue +6 -11
- package/vue/UiSwatch.vue +1 -6
- package/vue/UiSwitch.vue +1 -15
- package/vue/UiSwitcher.vue +1 -14
- package/vue/UiTabs.vue +1 -19
- package/vue/UiText.d.ts +2 -2
- package/vue/UiText.vue +29 -4
- package/vue/UiTextarea.vue +0 -50
- package/vue/UiToast.vue +26 -34
- package/vue/UiToastRegion.vue +26 -55
- package/vue/UiTooltip.vue +1 -43
- package/vue/UiTopBar.vue +1 -34
- package/vue/UiTree.vue +2 -17
- package/vue/UiTreeItem.vue +2 -28
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +4 -2
- package/vue/chunks/UiButton.js +4 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +5 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +3 -3
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +4 -2
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +4 -2
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +2 -2
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSiteHeader.js +1 -1
- package/vue/chunks/UiSkeleton.js +1 -1
- package/vue/chunks/UiStack.js +3 -3
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +2 -2
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +4 -2
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +581 -2017
- package/vue/editor/index.js +7 -1
package/vue/components.css
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
3
|
-
@property --ui-action-bar-gap {
|
|
4
|
-
syntax: "*";
|
|
5
|
-
inherits: false;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
2
|
/* The action row of a form or dialog. Tertiary actions (Back, Cancel, Discard) sit at the start
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
edge; secondary actions (Save as draft, Preview) sit just before the primary one, which ends the
|
|
4
|
+
row. The bar arranges its actions and leaves their look to them. */
|
|
11
5
|
|
|
12
6
|
/* The tertiary group takes the spare space, pushing the rest to the end edge; without it, the
|
|
13
7
|
rest still ends the row. */
|
|
@@ -18,7 +12,7 @@
|
|
|
18
12
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
19
13
|
@scope (.ui-action-bar) to ([data-hn]) {
|
|
20
14
|
:scope:where([data-hn-ui-action-bar]) {
|
|
21
|
-
/*
|
|
15
|
+
/* Resolve shared part values at the component root. */
|
|
22
16
|
--_ui-action-bar-gap: var(--ui-action-bar-gap);
|
|
23
17
|
|
|
24
18
|
--_gap: var(--ui-space-2);
|
|
@@ -64,35 +58,24 @@
|
|
|
64
58
|
@scope (.ui-affordance-scope) to ([data-hn]) {
|
|
65
59
|
:scope:where([data-hn-ui-affordance-scope]) {
|
|
66
60
|
display: contents !important;
|
|
67
|
-
--
|
|
68
|
-
--
|
|
61
|
+
--_ui-affordance-scope-engaged: 0;
|
|
62
|
+
--_ui-affordance-scope-guide: 1;
|
|
69
63
|
}
|
|
70
64
|
:scope[data-ui-affordance-scope-state~="engaged"]:where([data-hn-ui-affordance-scope]) {
|
|
71
|
-
--
|
|
65
|
+
--_ui-affordance-scope-engaged: 1;
|
|
72
66
|
}
|
|
73
67
|
:scope[data-ui-affordance-scope-state~="guide=none"]:where([data-hn-ui-affordance-scope]) {
|
|
74
|
-
--
|
|
68
|
+
--_ui-affordance-scope-guide: 0;
|
|
75
69
|
}
|
|
76
70
|
:scope[hidden]:where([data-hn-ui-affordance-scope]) {
|
|
77
71
|
display: none !important;
|
|
78
72
|
}
|
|
79
73
|
}
|
|
80
74
|
|
|
81
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
82
|
-
@property --ui-icon-size {
|
|
83
|
-
syntax: "*";
|
|
84
|
-
inherits: false;
|
|
85
|
-
}
|
|
86
|
-
@property --ui-icon-stroke-width {
|
|
87
|
-
syntax: "*";
|
|
88
|
-
inherits: false;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
75
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
92
76
|
@scope (.ui-icon) to ([data-hn]) {
|
|
93
77
|
:scope {
|
|
94
|
-
/*
|
|
95
|
-
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
78
|
+
/* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
96
79
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
97
80
|
|
|
98
81
|
display: inline-flex !important;
|
|
@@ -116,30 +99,8 @@ svg {
|
|
|
116
99
|
}
|
|
117
100
|
}
|
|
118
101
|
|
|
119
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
120
|
-
@property --ui-avatar-border {
|
|
121
|
-
syntax: "*";
|
|
122
|
-
inherits: false;
|
|
123
|
-
}
|
|
124
|
-
@property --ui-avatar-radius {
|
|
125
|
-
syntax: "*";
|
|
126
|
-
inherits: false;
|
|
127
|
-
}
|
|
128
|
-
@property --ui-avatar-surface {
|
|
129
|
-
syntax: "*";
|
|
130
|
-
inherits: false;
|
|
131
|
-
}
|
|
132
|
-
@property --ui-avatar-text {
|
|
133
|
-
syntax: "*";
|
|
134
|
-
inherits: false;
|
|
135
|
-
}
|
|
136
|
-
@property --ui-avatar-active-ring {
|
|
137
|
-
syntax: "*";
|
|
138
|
-
inherits: false;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
102
|
/* An outline, not a dot: the avatar clips its content to the circle, and an outline is drawn
|
|
142
|
-
|
|
103
|
+
outside the box, so the ring survives the clip and the overlap in an Avatar Group. */
|
|
143
104
|
|
|
144
105
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high. */
|
|
145
106
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high.
|
|
@@ -227,23 +188,13 @@ svg {
|
|
|
227
188
|
}
|
|
228
189
|
}
|
|
229
190
|
|
|
230
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
231
|
-
@property --ui-avatar-group-edge-ring {
|
|
232
|
-
syntax: "*";
|
|
233
|
-
inherits: false;
|
|
234
|
-
}
|
|
235
|
-
@property --ui-avatar-group-overlap-shadow {
|
|
236
|
-
syntax: "*";
|
|
237
|
-
inherits: false;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
191
|
/* Overlap and the separating shadow are applied by the controller: slotted avatars are nested
|
|
241
192
|
* component roots outside this style scope. */
|
|
242
193
|
|
|
243
194
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
244
195
|
@scope (.ui-avatar-group) to ([data-hn]) {
|
|
245
196
|
:scope:where([data-hn-ui-avatar-group]) {
|
|
246
|
-
/*
|
|
197
|
+
/* Resolve shared part values at the component root. */
|
|
247
198
|
--_ui-avatar-group-overlap-shadow: var(--ui-avatar-group-overlap-shadow);
|
|
248
199
|
--_ui-avatar-group-edge-ring: var(--ui-avatar-group-edge-ring);
|
|
249
200
|
|
|
@@ -308,70 +259,8 @@ svg {
|
|
|
308
259
|
}
|
|
309
260
|
}
|
|
310
261
|
|
|
311
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
312
|
-
@property --ui-badge-border {
|
|
313
|
-
syntax: "*";
|
|
314
|
-
inherits: false;
|
|
315
|
-
}
|
|
316
|
-
@property --ui-badge-square-size {
|
|
317
|
-
syntax: "*";
|
|
318
|
-
inherits: false;
|
|
319
|
-
}
|
|
320
|
-
@property --ui-badge-circle-size {
|
|
321
|
-
syntax: "*";
|
|
322
|
-
inherits: false;
|
|
323
|
-
}
|
|
324
|
-
@property --ui-badge-circle-opacity {
|
|
325
|
-
syntax: "*";
|
|
326
|
-
inherits: false;
|
|
327
|
-
}
|
|
328
|
-
@property --ui-badge-dot-size {
|
|
329
|
-
syntax: "*";
|
|
330
|
-
inherits: false;
|
|
331
|
-
}
|
|
332
|
-
@property --ui-badge-color {
|
|
333
|
-
syntax: "*";
|
|
334
|
-
inherits: false;
|
|
335
|
-
}
|
|
336
|
-
@property --ui-badge-font-size {
|
|
337
|
-
syntax: "*";
|
|
338
|
-
inherits: false;
|
|
339
|
-
}
|
|
340
|
-
@property --ui-badge-font-weight {
|
|
341
|
-
syntax: "*";
|
|
342
|
-
inherits: false;
|
|
343
|
-
}
|
|
344
|
-
@property --ui-badge-line-height {
|
|
345
|
-
syntax: "*";
|
|
346
|
-
inherits: false;
|
|
347
|
-
}
|
|
348
|
-
@property --ui-badge-min-block-size {
|
|
349
|
-
syntax: "*";
|
|
350
|
-
inherits: false;
|
|
351
|
-
}
|
|
352
|
-
@property --ui-badge-padding-block {
|
|
353
|
-
syntax: "*";
|
|
354
|
-
inherits: false;
|
|
355
|
-
}
|
|
356
|
-
@property --ui-badge-padding-inline {
|
|
357
|
-
syntax: "*";
|
|
358
|
-
inherits: false;
|
|
359
|
-
}
|
|
360
|
-
@property --ui-badge-point {
|
|
361
|
-
syntax: "*";
|
|
362
|
-
inherits: false;
|
|
363
|
-
}
|
|
364
|
-
@property --ui-badge-surface {
|
|
365
|
-
syntax: "*";
|
|
366
|
-
inherits: false;
|
|
367
|
-
}
|
|
368
|
-
@property --ui-badge-text {
|
|
369
|
-
syntax: "*";
|
|
370
|
-
inherits: false;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
262
|
/* A constrained badge keeps its surface intact and ellipsizes only its label. The full
|
|
374
|
-
|
|
263
|
+
text stays in the DOM for accessible names and consumers' selected values. */
|
|
375
264
|
|
|
376
265
|
/* Icon content has its own flex item so label ellipsis never clips its strokes. */
|
|
377
266
|
|
|
@@ -516,6 +405,34 @@ svg {
|
|
|
516
405
|
font-size: var(--ui-badge-font-size, var(--ui-font-size-2xs));
|
|
517
406
|
line-height: var(--ui-badge-line-height, 1);
|
|
518
407
|
}
|
|
408
|
+
:scope[data-ui-badge-state~="tone=accent-secondary"]:where([data-hn-ui-badge]) {
|
|
409
|
+
--_badge-surface: var(--ui-accent-secondary-strong-surface, var(--ui-accent-secondary-solid));
|
|
410
|
+
--_badge-border: var(--ui-accent-secondary-strong-surface, var(--ui-accent-secondary-solid));
|
|
411
|
+
--_badge-text: var(--ui-accent-secondary-on-strong, var(--ui-text-on-accent));
|
|
412
|
+
}
|
|
413
|
+
:scope[data-ui-badge-state~="tone=accent-tertiary"]:where([data-hn-ui-badge]) {
|
|
414
|
+
--_badge-surface: var(--ui-accent-tertiary-strong-surface, var(--ui-accent-tertiary-solid));
|
|
415
|
+
--_badge-border: var(--ui-accent-tertiary-strong-surface, var(--ui-accent-tertiary-solid));
|
|
416
|
+
--_badge-text: var(--ui-accent-tertiary-on-strong, var(--ui-text-on-accent));
|
|
417
|
+
}
|
|
418
|
+
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent-secondary"]:where([data-hn-ui-badge]) {
|
|
419
|
+
--_badge-surface: var(--ui-accent-secondary-soft);
|
|
420
|
+
--_badge-border: var(--ui-accent-secondary-soft-border);
|
|
421
|
+
--_badge-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
422
|
+
}
|
|
423
|
+
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent-tertiary"]:where([data-hn-ui-badge]) {
|
|
424
|
+
--_badge-surface: var(--ui-accent-tertiary-soft);
|
|
425
|
+
--_badge-border: var(--ui-accent-tertiary-soft-border);
|
|
426
|
+
--_badge-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
427
|
+
}
|
|
428
|
+
:scope[data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent-secondary"]:where([data-hn-ui-badge]) {
|
|
429
|
+
--_badge-border: var(--ui-accent-secondary-solid);
|
|
430
|
+
--_badge-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
431
|
+
}
|
|
432
|
+
:scope[data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent-tertiary"]:where([data-hn-ui-badge]) {
|
|
433
|
+
--_badge-border: var(--ui-accent-tertiary-solid);
|
|
434
|
+
--_badge-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
435
|
+
}
|
|
519
436
|
:scope[data-ui-badge-state~="tone=accent"]:where([data-hn-ui-badge]) {
|
|
520
437
|
--_badge-surface: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
521
438
|
--_badge-border: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
@@ -542,28 +459,28 @@ svg {
|
|
|
542
459
|
--_badge-text: var(--ui-info-on-strong, var(--ui-text-on-accent));
|
|
543
460
|
}
|
|
544
461
|
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent"]:where([data-hn-ui-badge]) {
|
|
545
|
-
--_badge-surface:
|
|
546
|
-
--_badge-border:
|
|
462
|
+
--_badge-surface: var(--ui-accent-soft);
|
|
463
|
+
--_badge-border: var(--ui-accent-soft-border);
|
|
547
464
|
--_badge-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
548
465
|
}
|
|
549
466
|
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=danger"]:where([data-hn-ui-badge]) {
|
|
550
|
-
--_badge-surface:
|
|
551
|
-
--_badge-border:
|
|
467
|
+
--_badge-surface: var(--ui-danger-soft);
|
|
468
|
+
--_badge-border: var(--ui-danger-soft-border);
|
|
552
469
|
--_badge-text: var(--ui-danger-subtle-text, var(--ui-danger-solid));
|
|
553
470
|
}
|
|
554
471
|
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=success"]:where([data-hn-ui-badge]) {
|
|
555
|
-
--_badge-surface:
|
|
556
|
-
--_badge-border:
|
|
472
|
+
--_badge-surface: var(--ui-success-soft);
|
|
473
|
+
--_badge-border: var(--ui-success-soft-border);
|
|
557
474
|
--_badge-text: var(--ui-success-subtle-text, var(--ui-success-solid));
|
|
558
475
|
}
|
|
559
476
|
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=warning"]:where([data-hn-ui-badge]) {
|
|
560
|
-
--_badge-surface:
|
|
561
|
-
--_badge-border:
|
|
477
|
+
--_badge-surface: var(--ui-warning-soft);
|
|
478
|
+
--_badge-border: var(--ui-warning-soft-border);
|
|
562
479
|
--_badge-text: var(--ui-warning-subtle-text, var(--ui-warning-solid));
|
|
563
480
|
}
|
|
564
481
|
:scope[data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=info"]:where([data-hn-ui-badge]) {
|
|
565
|
-
--_badge-surface:
|
|
566
|
-
--_badge-border:
|
|
482
|
+
--_badge-surface: var(--ui-info-soft);
|
|
483
|
+
--_badge-border: var(--ui-info-soft-border);
|
|
567
484
|
--_badge-text: var(--ui-info-subtle-text, var(--ui-info-solid));
|
|
568
485
|
}
|
|
569
486
|
:scope[data-ui-badge-state~="variant=solid"]:where([data-hn-ui-badge]) {
|
|
@@ -1036,80 +953,6 @@ svg,.arc {
|
|
|
1036
953
|
}
|
|
1037
954
|
}
|
|
1038
955
|
|
|
1039
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
1040
|
-
@property --ui-button-active-surface {
|
|
1041
|
-
syntax: "*";
|
|
1042
|
-
inherits: false;
|
|
1043
|
-
}
|
|
1044
|
-
@property --ui-button-border {
|
|
1045
|
-
syntax: "*";
|
|
1046
|
-
inherits: false;
|
|
1047
|
-
}
|
|
1048
|
-
@property --ui-button-disabled-filter {
|
|
1049
|
-
syntax: "*";
|
|
1050
|
-
inherits: false;
|
|
1051
|
-
}
|
|
1052
|
-
@property --ui-button-disabled-opacity {
|
|
1053
|
-
syntax: "*";
|
|
1054
|
-
inherits: false;
|
|
1055
|
-
}
|
|
1056
|
-
@property --ui-button-ghost-active-surface {
|
|
1057
|
-
syntax: "*";
|
|
1058
|
-
inherits: false;
|
|
1059
|
-
}
|
|
1060
|
-
@property --ui-button-ghost-hover-surface {
|
|
1061
|
-
syntax: "*";
|
|
1062
|
-
inherits: false;
|
|
1063
|
-
}
|
|
1064
|
-
@property --ui-button-ghost-text {
|
|
1065
|
-
syntax: "*";
|
|
1066
|
-
inherits: false;
|
|
1067
|
-
}
|
|
1068
|
-
@property --ui-button-hover-border {
|
|
1069
|
-
syntax: "*";
|
|
1070
|
-
inherits: false;
|
|
1071
|
-
}
|
|
1072
|
-
@property --ui-button-hover-surface {
|
|
1073
|
-
syntax: "*";
|
|
1074
|
-
inherits: false;
|
|
1075
|
-
}
|
|
1076
|
-
@property --ui-button-link-hover-text {
|
|
1077
|
-
syntax: "*";
|
|
1078
|
-
inherits: false;
|
|
1079
|
-
}
|
|
1080
|
-
@property --ui-button-link-text {
|
|
1081
|
-
syntax: "*";
|
|
1082
|
-
inherits: false;
|
|
1083
|
-
}
|
|
1084
|
-
@property --ui-button-min-block-size {
|
|
1085
|
-
syntax: "*";
|
|
1086
|
-
inherits: false;
|
|
1087
|
-
}
|
|
1088
|
-
@property --ui-button-radius {
|
|
1089
|
-
syntax: "*";
|
|
1090
|
-
inherits: false;
|
|
1091
|
-
}
|
|
1092
|
-
@property --ui-button-shadow {
|
|
1093
|
-
syntax: "*";
|
|
1094
|
-
inherits: false;
|
|
1095
|
-
}
|
|
1096
|
-
@property --ui-button-solid-shadow {
|
|
1097
|
-
syntax: "*";
|
|
1098
|
-
inherits: false;
|
|
1099
|
-
}
|
|
1100
|
-
@property --ui-button-surface {
|
|
1101
|
-
syntax: "*";
|
|
1102
|
-
inherits: false;
|
|
1103
|
-
}
|
|
1104
|
-
@property --ui-button-text {
|
|
1105
|
-
syntax: "*";
|
|
1106
|
-
inherits: false;
|
|
1107
|
-
}
|
|
1108
|
-
@property --ui-button-white-space {
|
|
1109
|
-
syntax: "*";
|
|
1110
|
-
inherits: false;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
956
|
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
1114
957
|
|
|
1115
958
|
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
@@ -1386,10 +1229,40 @@ svg,.arc {
|
|
|
1386
1229
|
background-image: none;
|
|
1387
1230
|
box-shadow: var(--ui-pressed);
|
|
1388
1231
|
}
|
|
1232
|
+
:scope[data-tone="accent-secondary"]:where([data-hn-ui-button]) {
|
|
1233
|
+
--_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
1234
|
+
--_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
1235
|
+
--_tone-active-border: var(
|
|
1236
|
+
--ui-accent-secondary-active-border,
|
|
1237
|
+
var(--ui-accent-secondary-active)
|
|
1238
|
+
);
|
|
1239
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
1240
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
1241
|
+
--_hue: var(--ui-accent-secondary);
|
|
1242
|
+
--_hue-hover: var(--ui-accent-secondary-hover);
|
|
1243
|
+
--_hue-active: var(--ui-accent-secondary-active);
|
|
1244
|
+
--_hue-text: var(--ui-accent-secondary-subtle-text);
|
|
1245
|
+
--_on-hue: var(--ui-accent-secondary-on-strong);
|
|
1246
|
+
}
|
|
1247
|
+
:scope[data-tone="accent-tertiary"]:where([data-hn-ui-button]) {
|
|
1248
|
+
--_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
1249
|
+
--_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
1250
|
+
--_tone-active-border: var(
|
|
1251
|
+
--ui-accent-tertiary-active-border,
|
|
1252
|
+
var(--ui-accent-tertiary-active)
|
|
1253
|
+
);
|
|
1254
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
1255
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
1256
|
+
--_hue: var(--ui-accent-tertiary);
|
|
1257
|
+
--_hue-hover: var(--ui-accent-tertiary-hover);
|
|
1258
|
+
--_hue-active: var(--ui-accent-tertiary-active);
|
|
1259
|
+
--_hue-text: var(--ui-accent-tertiary-subtle-text);
|
|
1260
|
+
--_on-hue: var(--ui-accent-tertiary-on-strong);
|
|
1261
|
+
}
|
|
1389
1262
|
:scope[data-tone="neutral"]:where([data-hn-ui-button]) {
|
|
1390
|
-
--_tone-border: var(--ui-
|
|
1391
|
-
--_tone-hover-border: var(--ui-
|
|
1392
|
-
--_tone-active-border: var(--ui-
|
|
1263
|
+
--_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
1264
|
+
--_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
1265
|
+
--_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
1393
1266
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
1394
1267
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
1395
1268
|
--_hue: var(--ui-text);
|
|
@@ -1401,24 +1274,20 @@ svg,.arc {
|
|
|
1401
1274
|
:scope[data-tone="neutral"][data-appearance="solid"]:where([data-hn-ui-button]) {
|
|
1402
1275
|
border-color: var(--ui-button-border, var(--_tone-border));
|
|
1403
1276
|
background-color: var(--ui-button-surface, var(--ui-neutral-surface));
|
|
1277
|
+
box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
|
|
1404
1278
|
color: var(--ui-button-text, var(--ui-text));
|
|
1405
1279
|
}
|
|
1406
1280
|
:scope[data-tone="neutral"][data-appearance="outline"]:where([data-hn-ui-button]) {
|
|
1407
1281
|
border-color: var(--ui-button-border, var(--ui-control-border));
|
|
1408
1282
|
background-color: var(--ui-button-surface, transparent);
|
|
1283
|
+
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
1409
1284
|
}
|
|
1410
1285
|
:scope[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
|
|
1411
|
-
border-color: var(
|
|
1412
|
-
--ui-button-hover-border,
|
|
1413
|
-
var(--ui-control-border-hover, var(--ui-control-border))
|
|
1414
|
-
);
|
|
1286
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
1415
1287
|
background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
|
|
1416
1288
|
}
|
|
1417
1289
|
:scope[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
|
|
1418
|
-
border-color: var(
|
|
1419
|
-
--ui-button-hover-border,
|
|
1420
|
-
var(--ui-control-border-hover, var(--ui-control-border))
|
|
1421
|
-
);
|
|
1290
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
1422
1291
|
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
1423
1292
|
}
|
|
1424
1293
|
:scope[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
|
|
@@ -1621,52 +1490,6 @@ html[data-ui-input-modality="touch"]
|
|
|
1621
1490
|
}
|
|
1622
1491
|
}
|
|
1623
1492
|
|
|
1624
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
1625
|
-
@property --ui-callout-border {
|
|
1626
|
-
syntax: "*";
|
|
1627
|
-
inherits: false;
|
|
1628
|
-
}
|
|
1629
|
-
@property --ui-callout-border-width {
|
|
1630
|
-
syntax: "*";
|
|
1631
|
-
inherits: false;
|
|
1632
|
-
}
|
|
1633
|
-
@property --ui-callout-gap {
|
|
1634
|
-
syntax: "*";
|
|
1635
|
-
inherits: false;
|
|
1636
|
-
}
|
|
1637
|
-
@property --ui-callout-icon {
|
|
1638
|
-
syntax: "*";
|
|
1639
|
-
inherits: false;
|
|
1640
|
-
}
|
|
1641
|
-
@property --ui-callout-icon-column {
|
|
1642
|
-
syntax: "*";
|
|
1643
|
-
inherits: false;
|
|
1644
|
-
}
|
|
1645
|
-
@property --ui-callout-icon-size {
|
|
1646
|
-
syntax: "*";
|
|
1647
|
-
inherits: false;
|
|
1648
|
-
}
|
|
1649
|
-
@property --ui-callout-leading-border-width {
|
|
1650
|
-
syntax: "*";
|
|
1651
|
-
inherits: false;
|
|
1652
|
-
}
|
|
1653
|
-
@property --ui-callout-padding-block {
|
|
1654
|
-
syntax: "*";
|
|
1655
|
-
inherits: false;
|
|
1656
|
-
}
|
|
1657
|
-
@property --ui-callout-padding-inline {
|
|
1658
|
-
syntax: "*";
|
|
1659
|
-
inherits: false;
|
|
1660
|
-
}
|
|
1661
|
-
@property --ui-callout-surface {
|
|
1662
|
-
syntax: "*";
|
|
1663
|
-
inherits: false;
|
|
1664
|
-
}
|
|
1665
|
-
@property --ui-callout-text {
|
|
1666
|
-
syntax: "*";
|
|
1667
|
-
inherits: false;
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
1493
|
/* One line box tall, so the icon centres on the first line of text. */
|
|
1671
1494
|
|
|
1672
1495
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
@@ -1674,20 +1497,14 @@ html[data-ui-input-modality="touch"]
|
|
|
1674
1497
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1675
1498
|
@scope (.ui-callout) to ([data-hn]) {
|
|
1676
1499
|
:scope:where([data-hn-ui-callout]) {
|
|
1677
|
-
/*
|
|
1500
|
+
/* Resolve shared part values at the component root. */
|
|
1678
1501
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
1679
1502
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
1680
1503
|
--_ui-callout-icon-size: var(--ui-callout-icon-size);
|
|
1681
1504
|
|
|
1682
|
-
|
|
1683
|
-
--_callout-
|
|
1684
|
-
|
|
1685
|
-
from var(--_callout-border)
|
|
1686
|
-
96% min(c, calc(0.02 + 0.03 * max(0, cos(calc((h - 140) * 1deg)))))
|
|
1687
|
-
h
|
|
1688
|
-
),
|
|
1689
|
-
oklch(from var(--_callout-border) 25% min(c, 0.035) h)
|
|
1690
|
-
);
|
|
1505
|
+
--_callout-surface: var(--ui-info-soft);
|
|
1506
|
+
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
1507
|
+
--_ui-surface-text: var(--ui-callout-text, var(--_callout-tone-text));
|
|
1691
1508
|
--_ui-selection-context-surface: light-dark(
|
|
1692
1509
|
oklch(
|
|
1693
1510
|
from var(--ui-callout-surface, var(--_callout-surface))
|
|
@@ -1718,8 +1535,8 @@ html[data-ui-input-modality="touch"]
|
|
|
1718
1535
|
);
|
|
1719
1536
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
1720
1537
|
|
|
1721
|
-
--_callout-border: var(--ui-info-
|
|
1722
|
-
--_callout-icon: var(--ui-info-
|
|
1538
|
+
--_callout-border: var(--ui-info-soft-border);
|
|
1539
|
+
--_callout-icon: var(--ui-info-subtle-text);
|
|
1723
1540
|
|
|
1724
1541
|
display: grid !important;
|
|
1725
1542
|
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
@@ -1730,14 +1547,14 @@ html[data-ui-input-modality="touch"]
|
|
|
1730
1547
|
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
1731
1548
|
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3)) !important;
|
|
1732
1549
|
border: var(--ui-callout-border-width, var(--ui-border-width)) solid
|
|
1733
|
-
|
|
1550
|
+
var(--ui-callout-border, var(--_callout-border));
|
|
1734
1551
|
border-inline-start: var(
|
|
1735
1552
|
--ui-callout-leading-border-width,
|
|
1736
1553
|
var(--ui-callout-border-width, var(--ui-border-width))
|
|
1737
|
-
) solid
|
|
1554
|
+
) solid var(--ui-callout-border, var(--_callout-border));
|
|
1738
1555
|
border-radius: var(--ui-radius-md);
|
|
1739
1556
|
background: var(--ui-callout-surface, var(--_callout-surface));
|
|
1740
|
-
color: var(--ui-callout-text, var(--
|
|
1557
|
+
color: var(--ui-callout-text, var(--_ui-surface-text));
|
|
1741
1558
|
font-family: var(--ui-font-family-sans);
|
|
1742
1559
|
font-size: var(--ui-font-size-sm);
|
|
1743
1560
|
font-weight: var(--ui-font-normal);
|
|
@@ -1766,28 +1583,39 @@ html[data-ui-input-modality="touch"]
|
|
|
1766
1583
|
--_ui-selection-context-border: initial;
|
|
1767
1584
|
--_ui-selection-context-text: initial;
|
|
1768
1585
|
--_callout-surface: var(--ui-surface-muted);
|
|
1586
|
+
--_callout-tone-text: var(--ui-text-primary);
|
|
1769
1587
|
--_callout-border: var(--ui-border-strong);
|
|
1770
1588
|
--_callout-icon: var(--ui-text-secondary);
|
|
1771
1589
|
}
|
|
1772
1590
|
:scope[data-ui-callout-state~="tone=tip"]:where([data-hn-ui-callout]) {
|
|
1773
|
-
--_callout-border: var(--ui-success-
|
|
1774
|
-
--_callout-
|
|
1591
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
1592
|
+
--_callout-surface: var(--ui-success-soft);
|
|
1593
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
1594
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
1775
1595
|
}
|
|
1776
1596
|
:scope[data-ui-callout-state~="tone=important"]:where([data-hn-ui-callout]) {
|
|
1777
|
-
--_callout-border: var(--ui-accent-
|
|
1778
|
-
--_callout-
|
|
1597
|
+
--_callout-border: var(--ui-accent-soft-border);
|
|
1598
|
+
--_callout-surface: var(--ui-accent-soft);
|
|
1599
|
+
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
1600
|
+
--_callout-icon: var(--ui-accent-subtle-text);
|
|
1779
1601
|
}
|
|
1780
1602
|
:scope[data-ui-callout-state~="tone=warning"]:where([data-hn-ui-callout]) {
|
|
1781
|
-
--_callout-border: var(--ui-warning-
|
|
1782
|
-
--_callout-
|
|
1603
|
+
--_callout-border: var(--ui-warning-soft-border);
|
|
1604
|
+
--_callout-surface: var(--ui-warning-soft);
|
|
1605
|
+
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
1606
|
+
--_callout-icon: var(--ui-warning-subtle-text);
|
|
1783
1607
|
}
|
|
1784
1608
|
:scope[data-ui-callout-state~="tone=success"]:where([data-hn-ui-callout]) {
|
|
1785
|
-
--_callout-border: var(--ui-success-
|
|
1786
|
-
--_callout-
|
|
1609
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
1610
|
+
--_callout-surface: var(--ui-success-soft);
|
|
1611
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
1612
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
1787
1613
|
}
|
|
1788
1614
|
:scope[data-ui-callout-state~="tone=danger"]:where([data-hn-ui-callout]),:scope[data-ui-callout-state~="tone=caution"]:where([data-hn-ui-callout]) {
|
|
1789
|
-
--_callout-border: var(--ui-danger-
|
|
1790
|
-
--_callout-
|
|
1615
|
+
--_callout-border: var(--ui-danger-soft-border);
|
|
1616
|
+
--_callout-surface: var(--ui-danger-soft);
|
|
1617
|
+
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
1618
|
+
--_callout-icon: var(--ui-danger-subtle-text);
|
|
1791
1619
|
}
|
|
1792
1620
|
.content :where(:not([data-hn-ui-callout])):is(a) {
|
|
1793
1621
|
color: var(--ui-accent-subtle-text);
|
|
@@ -1809,6 +1637,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1809
1637
|
@scope (.ui-card) to ([data-hn]) {
|
|
1810
1638
|
:scope:where([data-hn-ui-card]) {
|
|
1811
1639
|
--_ui-card-surface: var(--ui-surface-raised);
|
|
1640
|
+
--_ui-surface-text: initial;
|
|
1812
1641
|
--_ui-card-elevation: 0 0 0 transparent;
|
|
1813
1642
|
--_ui-selection-context-surface: initial;
|
|
1814
1643
|
--_ui-selection-context-border: initial;
|
|
@@ -1822,7 +1651,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1822
1651
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
1823
1652
|
border-radius: var(--ui-radius-lg);
|
|
1824
1653
|
background: var(--_ui-card-surface);
|
|
1825
|
-
color: var(--ui-text-primary);
|
|
1654
|
+
color: var(--_ui-surface-text, var(--ui-text-primary));
|
|
1826
1655
|
}
|
|
1827
1656
|
:scope[data-ui-card-state~="padding=xs"]:where([data-hn-ui-card]) {
|
|
1828
1657
|
gap: var(--ui-space-1) !important;
|
|
@@ -1889,30 +1718,45 @@ html[data-ui-input-modality="touch"]
|
|
|
1889
1718
|
backdrop-filter: none;
|
|
1890
1719
|
}
|
|
1891
1720
|
}
|
|
1721
|
+
:scope[data-ui-card-state~="tone=accent-secondary"]:where([data-hn-ui-card]) {
|
|
1722
|
+
border-color: var(--ui-accent-secondary-soft-border);
|
|
1723
|
+
--_ui-card-surface: var(--ui-accent-secondary-soft);
|
|
1724
|
+
--_ui-surface-text: var(--ui-accent-secondary-subtle-text);
|
|
1725
|
+
}
|
|
1726
|
+
:scope[data-ui-card-state~="tone=accent-tertiary"]:where([data-hn-ui-card]) {
|
|
1727
|
+
border-color: var(--ui-accent-tertiary-soft-border);
|
|
1728
|
+
--_ui-card-surface: var(--ui-accent-tertiary-soft);
|
|
1729
|
+
--_ui-surface-text: var(--ui-accent-tertiary-subtle-text);
|
|
1730
|
+
}
|
|
1892
1731
|
:scope[data-ui-card-state~="tone=accent"]:where([data-hn-ui-card]) {
|
|
1893
|
-
border-color:
|
|
1894
|
-
--_ui-card-surface:
|
|
1732
|
+
border-color: var(--ui-accent-soft-border);
|
|
1733
|
+
--_ui-card-surface: var(--ui-accent-soft);
|
|
1734
|
+
--_ui-surface-text: var(--ui-accent-subtle-text);
|
|
1895
1735
|
}
|
|
1896
1736
|
:scope[data-ui-card-state~="tone=info"]:where([data-hn-ui-card]) {
|
|
1897
|
-
border-color:
|
|
1898
|
-
--_ui-card-surface:
|
|
1737
|
+
border-color: var(--ui-info-soft-border);
|
|
1738
|
+
--_ui-card-surface: var(--ui-info-soft);
|
|
1739
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
1899
1740
|
}
|
|
1900
1741
|
:scope[data-ui-card-state~="tone=success"]:where([data-hn-ui-card]) {
|
|
1901
|
-
border-color:
|
|
1902
|
-
--_ui-card-surface:
|
|
1742
|
+
border-color: var(--ui-success-soft-border);
|
|
1743
|
+
--_ui-card-surface: var(--ui-success-soft);
|
|
1744
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
1903
1745
|
}
|
|
1904
1746
|
:scope[data-ui-card-state~="tone=warning"]:where([data-hn-ui-card]) {
|
|
1905
|
-
border-color:
|
|
1906
|
-
--_ui-card-surface:
|
|
1747
|
+
border-color: var(--ui-warning-soft-border);
|
|
1748
|
+
--_ui-card-surface: var(--ui-warning-soft);
|
|
1749
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
1907
1750
|
}
|
|
1908
|
-
:scope[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]):where([data-hn-ui-card]) {
|
|
1751
|
+
:scope[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=accent-secondary"], [data-ui-card-state~="tone=accent-tertiary"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]):where([data-hn-ui-card]) {
|
|
1909
1752
|
border-color: transparent;
|
|
1910
1753
|
}
|
|
1911
1754
|
:scope[data-ui-card-state~="tone=danger"]:where([data-hn-ui-card]) {
|
|
1912
|
-
border-color:
|
|
1755
|
+
border-color: var(--ui-danger-soft-border);
|
|
1913
1756
|
--_ui-card-surface: var(--ui-danger-soft);
|
|
1757
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
1914
1758
|
}
|
|
1915
|
-
:scope[data-ui-card-state~="tone=accent"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=info"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=success"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=warning"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=danger"]:where([data-hn-ui-card]) {
|
|
1759
|
+
:scope[data-ui-card-state~="tone=accent"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=accent-secondary"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=accent-tertiary"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=info"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=success"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=warning"]:where([data-hn-ui-card]),:scope[data-ui-card-state~="tone=danger"]:where([data-hn-ui-card]) {
|
|
1916
1760
|
--_ui-selection-context-surface: light-dark(
|
|
1917
1761
|
oklch(from var(--_ui-card-surface) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
1918
1762
|
oklch(from var(--_ui-card-surface) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -1940,25 +1784,11 @@ html[data-ui-input-modality="touch"]
|
|
|
1940
1784
|
}
|
|
1941
1785
|
}
|
|
1942
1786
|
|
|
1943
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
1944
|
-
@property --ui-checkbox-gap {
|
|
1945
|
-
syntax: "*";
|
|
1946
|
-
inherits: false;
|
|
1947
|
-
}
|
|
1948
|
-
@property --ui-checkbox-invalid-border {
|
|
1949
|
-
syntax: "*";
|
|
1950
|
-
inherits: false;
|
|
1951
|
-
}
|
|
1952
|
-
@property --ui-checkbox-size {
|
|
1953
|
-
syntax: "*";
|
|
1954
|
-
inherits: false;
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
1787
|
/* The label, and under it an optional line saying what the choice means. */
|
|
1958
1788
|
|
|
1959
1789
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
1960
1790
|
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
1961
|
-
@keyframes ui-checkbox-check-
|
|
1791
|
+
@keyframes ui-checkbox-check-2c515f3a {
|
|
1962
1792
|
from {
|
|
1963
1793
|
opacity: 0;
|
|
1964
1794
|
scale: 0.55;
|
|
@@ -1980,7 +1810,7 @@ to {
|
|
|
1980
1810
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1981
1811
|
@scope (.ui-checkbox) to ([data-hn]) {
|
|
1982
1812
|
:scope:where([data-hn-ui-checkbox]) {
|
|
1983
|
-
/*
|
|
1813
|
+
/* Resolve shared part values at the component root. */
|
|
1984
1814
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
1985
1815
|
--_ui-checkbox-invalid-border: var(
|
|
1986
1816
|
--ui-checkbox-invalid-border,
|
|
@@ -2077,7 +1907,7 @@ input:checked:where([data-hn-ui-checkbox])::after {
|
|
|
2077
1907
|
center / contain no-repeat;
|
|
2078
1908
|
opacity: 1;
|
|
2079
1909
|
translate: -50% -50% !important;
|
|
2080
|
-
animation: ui-checkbox-check-
|
|
1910
|
+
animation: ui-checkbox-check-2c515f3a var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
2081
1911
|
}
|
|
2082
1912
|
input:indeterminate:where([data-hn-ui-checkbox])::after {
|
|
2083
1913
|
mask: none;
|
|
@@ -2151,12 +1981,6 @@ input:focus-visible:where([data-hn-ui-checkbox]) {
|
|
|
2151
1981
|
}
|
|
2152
1982
|
}
|
|
2153
1983
|
|
|
2154
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
2155
|
-
@property --ui-cluster-gap {
|
|
2156
|
-
syntax: "*";
|
|
2157
|
-
inherits: false;
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
1984
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2161
1985
|
@scope (.ui-cluster) to ([data-hn]) {
|
|
2162
1986
|
:scope:where([data-hn-ui-cluster]) {
|
|
@@ -2237,60 +2061,7 @@ input:focus-visible:where([data-hn-ui-checkbox]) {
|
|
|
2237
2061
|
}
|
|
2238
2062
|
}
|
|
2239
2063
|
|
|
2240
|
-
/*
|
|
2241
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
2242
|
-
@property --ui-input-border {
|
|
2243
|
-
syntax: "*";
|
|
2244
|
-
inherits: false;
|
|
2245
|
-
}
|
|
2246
|
-
@property --ui-input-border-hover {
|
|
2247
|
-
syntax: "*";
|
|
2248
|
-
inherits: false;
|
|
2249
|
-
}
|
|
2250
|
-
@property --ui-input-border-width {
|
|
2251
|
-
syntax: "*";
|
|
2252
|
-
inherits: false;
|
|
2253
|
-
}
|
|
2254
|
-
@property --ui-input-focus-border {
|
|
2255
|
-
syntax: "*";
|
|
2256
|
-
inherits: false;
|
|
2257
|
-
}
|
|
2258
|
-
@property --ui-input-focus-outline {
|
|
2259
|
-
syntax: "*";
|
|
2260
|
-
inherits: false;
|
|
2261
|
-
}
|
|
2262
|
-
@property --ui-input-focus-shadow {
|
|
2263
|
-
syntax: "*";
|
|
2264
|
-
inherits: false;
|
|
2265
|
-
}
|
|
2266
|
-
@property --ui-input-inline-size {
|
|
2267
|
-
syntax: "*";
|
|
2268
|
-
inherits: false;
|
|
2269
|
-
}
|
|
2270
|
-
@property --ui-input-invalid-border {
|
|
2271
|
-
syntax: "*";
|
|
2272
|
-
inherits: false;
|
|
2273
|
-
}
|
|
2274
|
-
@property --ui-input-invalid-focus-shadow {
|
|
2275
|
-
syntax: "*";
|
|
2276
|
-
inherits: false;
|
|
2277
|
-
}
|
|
2278
|
-
@property --ui-input-min-block-size {
|
|
2279
|
-
syntax: "*";
|
|
2280
|
-
inherits: false;
|
|
2281
|
-
}
|
|
2282
|
-
@property --ui-input-radius {
|
|
2283
|
-
syntax: "*";
|
|
2284
|
-
inherits: false;
|
|
2285
|
-
}
|
|
2286
|
-
@property --ui-input-shadow {
|
|
2287
|
-
syntax: "*";
|
|
2288
|
-
inherits: false;
|
|
2289
|
-
}
|
|
2290
|
-
@property --ui-input-surface {
|
|
2291
|
-
syntax: "*";
|
|
2292
|
-
inherits: false;
|
|
2293
|
-
}
|
|
2064
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
2294
2065
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
2295
2066
|
@property --_ui-input-stroke {
|
|
2296
2067
|
syntax: "<length>";
|
|
@@ -2575,48 +2346,6 @@ input[type="range"] {
|
|
|
2575
2346
|
}
|
|
2576
2347
|
}
|
|
2577
2348
|
|
|
2578
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
2579
|
-
@property --ui-tooltip-arrow-size {
|
|
2580
|
-
syntax: "*";
|
|
2581
|
-
inherits: false;
|
|
2582
|
-
}
|
|
2583
|
-
@property --ui-tooltip-border {
|
|
2584
|
-
syntax: "*";
|
|
2585
|
-
inherits: false;
|
|
2586
|
-
}
|
|
2587
|
-
@property --ui-tooltip-inverse-surface {
|
|
2588
|
-
syntax: "*";
|
|
2589
|
-
inherits: false;
|
|
2590
|
-
}
|
|
2591
|
-
@property --ui-tooltip-inverse-text {
|
|
2592
|
-
syntax: "*";
|
|
2593
|
-
inherits: false;
|
|
2594
|
-
}
|
|
2595
|
-
@property --ui-tooltip-max-inline-size {
|
|
2596
|
-
syntax: "*";
|
|
2597
|
-
inherits: false;
|
|
2598
|
-
}
|
|
2599
|
-
@property --ui-tooltip-offset {
|
|
2600
|
-
syntax: "*";
|
|
2601
|
-
inherits: false;
|
|
2602
|
-
}
|
|
2603
|
-
@property --ui-tooltip-radius {
|
|
2604
|
-
syntax: "*";
|
|
2605
|
-
inherits: false;
|
|
2606
|
-
}
|
|
2607
|
-
@property --ui-tooltip-shadow {
|
|
2608
|
-
syntax: "*";
|
|
2609
|
-
inherits: false;
|
|
2610
|
-
}
|
|
2611
|
-
@property --ui-tooltip-surface {
|
|
2612
|
-
syntax: "*";
|
|
2613
|
-
inherits: false;
|
|
2614
|
-
}
|
|
2615
|
-
@property --ui-tooltip-text {
|
|
2616
|
-
syntax: "*";
|
|
2617
|
-
inherits: false;
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
2349
|
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
2621
2350
|
|
|
2622
2351
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
@@ -2632,7 +2361,7 @@ input[type="range"] {
|
|
|
2632
2361
|
@scope (.ui-tooltip) to ([data-hn]) {
|
|
2633
2362
|
:scope:where([data-hn-ui-tooltip]) {
|
|
2634
2363
|
--_ui-material-scale: 0.08;
|
|
2635
|
-
/*
|
|
2364
|
+
/* Resolve shared part values at the component root. */
|
|
2636
2365
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
2637
2366
|
--_ui-tooltip-max-inline-size: var(--ui-tooltip-max-inline-size);
|
|
2638
2367
|
--_ui-tooltip-radius: var(--ui-tooltip-radius);
|
|
@@ -2870,73 +2599,8 @@ input[type="range"] {
|
|
|
2870
2599
|
}
|
|
2871
2600
|
}
|
|
2872
2601
|
|
|
2873
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
2874
|
-
@property --ui-combobox-affordance-text {
|
|
2875
|
-
syntax: "*";
|
|
2876
|
-
inherits: false;
|
|
2877
|
-
}
|
|
2878
|
-
@property --ui-combobox-item-input-min-inline-size {
|
|
2879
|
-
syntax: "*";
|
|
2880
|
-
inherits: false;
|
|
2881
|
-
}
|
|
2882
|
-
@property --ui-combobox-item-item-max-inline-size {
|
|
2883
|
-
syntax: "*";
|
|
2884
|
-
inherits: false;
|
|
2885
|
-
}
|
|
2886
|
-
@property --ui-combobox-item-min-block-size {
|
|
2887
|
-
syntax: "*";
|
|
2888
|
-
inherits: false;
|
|
2889
|
-
}
|
|
2890
|
-
@property --ui-combobox-label-font-size {
|
|
2891
|
-
syntax: "*";
|
|
2892
|
-
inherits: false;
|
|
2893
|
-
}
|
|
2894
|
-
@property --ui-combobox-label-text {
|
|
2895
|
-
syntax: "*";
|
|
2896
|
-
inherits: false;
|
|
2897
|
-
}
|
|
2898
|
-
@property --ui-combobox-max-block-size {
|
|
2899
|
-
syntax: "*";
|
|
2900
|
-
inherits: false;
|
|
2901
|
-
}
|
|
2902
|
-
@property --ui-combobox-message-text {
|
|
2903
|
-
syntax: "*";
|
|
2904
|
-
inherits: false;
|
|
2905
|
-
}
|
|
2906
|
-
@property --ui-combobox-option-check {
|
|
2907
|
-
syntax: "*";
|
|
2908
|
-
inherits: false;
|
|
2909
|
-
}
|
|
2910
|
-
@property --ui-combobox-option-text {
|
|
2911
|
-
syntax: "*";
|
|
2912
|
-
inherits: false;
|
|
2913
|
-
}
|
|
2914
|
-
@property --ui-combobox-radius {
|
|
2915
|
-
syntax: "*";
|
|
2916
|
-
inherits: false;
|
|
2917
|
-
}
|
|
2918
|
-
@property --ui-combobox-invalid-border {
|
|
2919
|
-
syntax: "*";
|
|
2920
|
-
inherits: false;
|
|
2921
|
-
}
|
|
2922
|
-
@property --ui-combobox-popup-surface {
|
|
2923
|
-
syntax: "*";
|
|
2924
|
-
inherits: false;
|
|
2925
|
-
}
|
|
2926
|
-
@property --ui-combobox-popup-border {
|
|
2927
|
-
syntax: "*";
|
|
2928
|
-
inherits: false;
|
|
2929
|
-
}
|
|
2930
|
-
@property --ui-combobox-popup-radius {
|
|
2931
|
-
syntax: "*";
|
|
2932
|
-
inherits: false;
|
|
2933
|
-
}
|
|
2934
|
-
@property --ui-combobox-popup-shadow {
|
|
2935
|
-
syntax: "*";
|
|
2936
|
-
inherits: false;
|
|
2937
|
-
}
|
|
2938
2602
|
/* The field and anything that annotates it sit on one row; the help button is beside the box,
|
|
2939
|
-
|
|
2603
|
+
not inside it, because a control's box holds its value. */
|
|
2940
2604
|
/* A ghost icon button: the affordance is the mark, not a box around it. */
|
|
2941
2605
|
/* A row with a tag or a description: the label and its tag on one line, the description under them. */
|
|
2942
2606
|
|
|
@@ -2948,7 +2612,7 @@ input[type="range"] {
|
|
|
2948
2612
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2949
2613
|
@scope (.ui-combobox) to ([data-hn]) {
|
|
2950
2614
|
:scope:where([data-hn-ui-combobox]) {
|
|
2951
|
-
/*
|
|
2615
|
+
/* Resolve shared part values at the component root. */
|
|
2952
2616
|
--_ui-combobox-label-text: var(--ui-combobox-label-text);
|
|
2953
2617
|
--_ui-combobox-label-font-size: var(--ui-combobox-label-font-size);
|
|
2954
2618
|
--_ui-combobox-affordance-text: var(--ui-combobox-affordance-text);
|
|
@@ -2975,7 +2639,10 @@ input[type="range"] {
|
|
|
2975
2639
|
}
|
|
2976
2640
|
label:where([data-hn-ui-combobox]) {
|
|
2977
2641
|
color: var(--_ui-combobox-label-text, var(--ui-text-primary));
|
|
2978
|
-
font-size: var(
|
|
2642
|
+
font-size: var(
|
|
2643
|
+
--_ui-combobox-label-font-size,
|
|
2644
|
+
var(--ui-field-label-font-size, var(--ui-font-size-md))
|
|
2645
|
+
);
|
|
2979
2646
|
font-weight: 500;
|
|
2980
2647
|
}
|
|
2981
2648
|
.control:where([data-hn-ui-combobox]) {
|
|
@@ -3295,7 +2962,7 @@ input:disabled:where([data-hn-ui-combobox]),button:disabled:where([data-hn-ui-co
|
|
|
3295
2962
|
}
|
|
3296
2963
|
@scope ([data-slotted~="ui-combobox"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
3297
2964
|
:where(.ui-combobox):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3298
|
-
/*
|
|
2965
|
+
/* Resolve shared part values at the component root. */
|
|
3299
2966
|
--_ui-combobox-label-text: var(--ui-combobox-label-text);
|
|
3300
2967
|
--_ui-combobox-label-font-size: var(--ui-combobox-label-font-size);
|
|
3301
2968
|
--_ui-combobox-affordance-text: var(--ui-combobox-affordance-text);
|
|
@@ -3322,7 +2989,10 @@ input:disabled:where([data-hn-ui-combobox]),button:disabled:where([data-hn-ui-co
|
|
|
3322
2989
|
}
|
|
3323
2990
|
label:where(:scope, :scope *):where([data-hn-ui-combobox]) {
|
|
3324
2991
|
color: var(--_ui-combobox-label-text, var(--ui-text-primary));
|
|
3325
|
-
font-size: var(
|
|
2992
|
+
font-size: var(
|
|
2993
|
+
--_ui-combobox-label-font-size,
|
|
2994
|
+
var(--ui-field-label-font-size, var(--ui-font-size-md))
|
|
2995
|
+
);
|
|
3326
2996
|
font-weight: 500;
|
|
3327
2997
|
}
|
|
3328
2998
|
.control:where(:scope, :scope *):where([data-hn-ui-combobox]) {
|
|
@@ -3653,16 +3323,6 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3653
3323
|
}
|
|
3654
3324
|
}
|
|
3655
3325
|
|
|
3656
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
3657
|
-
@property --ui-container-gutters {
|
|
3658
|
-
syntax: "*";
|
|
3659
|
-
inherits: false;
|
|
3660
|
-
}
|
|
3661
|
-
@property --ui-container-measure {
|
|
3662
|
-
syntax: "*";
|
|
3663
|
-
inherits: false;
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
3326
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3667
3327
|
@scope (.ui-container) to ([data-hn]) {
|
|
3668
3328
|
:scope:where([data-hn-ui-container]) {
|
|
@@ -3702,32 +3362,10 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3702
3362
|
}
|
|
3703
3363
|
}
|
|
3704
3364
|
|
|
3705
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
3706
|
-
@property --ui-context-menu-surface {
|
|
3707
|
-
syntax: "*";
|
|
3708
|
-
inherits: false;
|
|
3709
|
-
}
|
|
3710
|
-
@property --ui-context-menu-border {
|
|
3711
|
-
syntax: "*";
|
|
3712
|
-
inherits: false;
|
|
3713
|
-
}
|
|
3714
|
-
@property --ui-context-menu-radius {
|
|
3715
|
-
syntax: "*";
|
|
3716
|
-
inherits: false;
|
|
3717
|
-
}
|
|
3718
|
-
@property --ui-context-menu-shadow {
|
|
3719
|
-
syntax: "*";
|
|
3720
|
-
inherits: false;
|
|
3721
|
-
}
|
|
3722
|
-
@property --ui-context-menu-z-index {
|
|
3723
|
-
syntax: "*";
|
|
3724
|
-
inherits: false;
|
|
3725
|
-
}
|
|
3726
|
-
|
|
3727
3365
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3728
3366
|
@scope (.ui-context-menu) to ([data-hn]) {
|
|
3729
3367
|
:scope:where([data-hn-ui-context-menu]) {
|
|
3730
|
-
/*
|
|
3368
|
+
/* Resolve shared part values at the component root. */
|
|
3731
3369
|
--_ui-context-menu-surface: var(--ui-context-menu-surface);
|
|
3732
3370
|
--_ui-context-menu-border: var(--ui-context-menu-border);
|
|
3733
3371
|
--_ui-context-menu-radius: var(--ui-context-menu-radius);
|
|
@@ -3792,115 +3430,37 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3792
3430
|
transition: none;
|
|
3793
3431
|
}
|
|
3794
3432
|
}
|
|
3795
|
-
:scope[hidden]:where([data-hn-ui-context-menu]) {
|
|
3796
|
-
display: none !important;
|
|
3797
|
-
}
|
|
3798
|
-
}
|
|
3799
|
-
|
|
3800
|
-
/* A layout primitive that centres its content in the space, both ways, with room around it: the
|
|
3801
|
-
frame for a view that is one card or one message. */
|
|
3802
|
-
|
|
3803
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3804
|
-
@scope (.ui-cover) to ([data-hn]) {
|
|
3805
|
-
:scope:where([data-hn-ui-cover]) {
|
|
3806
|
-
display: flex !important;
|
|
3807
|
-
flex-direction: column !important;
|
|
3808
|
-
/* Safe: a child wider than the cover keeps its start edge in view instead of overflowing both ways. */
|
|
3809
|
-
align-items: safe center !important;
|
|
3810
|
-
justify-content: center !important;
|
|
3811
|
-
gap: var(--ui-space-6) !important;
|
|
3812
|
-
box-sizing: border-box !important;
|
|
3813
|
-
min-block-size: 100dvh;
|
|
3814
|
-
padding: var(--ui-space-6) var(--ui-space-4) !important;
|
|
3815
|
-
}
|
|
3816
|
-
:scope[data-ui-cover-state~="size=fill"]:where([data-hn-ui-cover]) {
|
|
3817
|
-
flex: 1;
|
|
3818
|
-
min-block-size: 100%;
|
|
3819
|
-
}
|
|
3820
|
-
:scope[hidden]:where([data-hn-ui-cover]) {
|
|
3821
|
-
display: none !important;
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
|
|
3825
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
3826
|
-
@property --ui-icon-button-active-scale {
|
|
3827
|
-
syntax: "*";
|
|
3828
|
-
inherits: false;
|
|
3829
|
-
}
|
|
3830
|
-
@property --ui-icon-button-active-surface {
|
|
3831
|
-
syntax: "*";
|
|
3832
|
-
inherits: false;
|
|
3833
|
-
}
|
|
3834
|
-
@property --ui-icon-button-border {
|
|
3835
|
-
syntax: "*";
|
|
3836
|
-
inherits: false;
|
|
3837
|
-
}
|
|
3838
|
-
@property --ui-icon-button-disabled-filter {
|
|
3839
|
-
syntax: "*";
|
|
3840
|
-
inherits: false;
|
|
3841
|
-
}
|
|
3842
|
-
@property --ui-icon-button-disabled-opacity {
|
|
3843
|
-
syntax: "*";
|
|
3844
|
-
inherits: false;
|
|
3845
|
-
}
|
|
3846
|
-
@property --ui-icon-button-hover-border {
|
|
3847
|
-
syntax: "*";
|
|
3848
|
-
inherits: false;
|
|
3849
|
-
}
|
|
3850
|
-
@property --ui-icon-button-hover-surface {
|
|
3851
|
-
syntax: "*";
|
|
3852
|
-
inherits: false;
|
|
3853
|
-
}
|
|
3854
|
-
@property --ui-icon-button-hover-text {
|
|
3855
|
-
syntax: "*";
|
|
3856
|
-
inherits: false;
|
|
3857
|
-
}
|
|
3858
|
-
@property --ui-icon-button-icon-size {
|
|
3859
|
-
syntax: "*";
|
|
3860
|
-
inherits: false;
|
|
3861
|
-
}
|
|
3862
|
-
@property --ui-icon-button-icon-stroke-width {
|
|
3863
|
-
syntax: "*";
|
|
3864
|
-
inherits: false;
|
|
3865
|
-
}
|
|
3866
|
-
@property --ui-icon-button-outline-surface {
|
|
3867
|
-
syntax: "*";
|
|
3868
|
-
inherits: false;
|
|
3869
|
-
}
|
|
3870
|
-
@property --ui-icon-button-outline-text {
|
|
3871
|
-
syntax: "*";
|
|
3872
|
-
inherits: false;
|
|
3873
|
-
}
|
|
3874
|
-
@property --ui-icon-button-radius {
|
|
3875
|
-
syntax: "*";
|
|
3876
|
-
inherits: false;
|
|
3877
|
-
}
|
|
3878
|
-
@property --ui-icon-button-size {
|
|
3879
|
-
syntax: "*";
|
|
3880
|
-
inherits: false;
|
|
3881
|
-
}
|
|
3882
|
-
@property --ui-icon-button-solid-hover-surface {
|
|
3883
|
-
syntax: "*";
|
|
3884
|
-
inherits: false;
|
|
3433
|
+
:scope[hidden]:where([data-hn-ui-context-menu]) {
|
|
3434
|
+
display: none !important;
|
|
3885
3435
|
}
|
|
3886
|
-
@property --ui-icon-button-solid-shadow {
|
|
3887
|
-
syntax: "*";
|
|
3888
|
-
inherits: false;
|
|
3889
3436
|
}
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3437
|
+
|
|
3438
|
+
/* A layout primitive that centres its content in the space, both ways, with room around it: the
|
|
3439
|
+
frame for a view that is one card or one message. */
|
|
3440
|
+
|
|
3441
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3442
|
+
@scope (.ui-cover) to ([data-hn]) {
|
|
3443
|
+
:scope:where([data-hn-ui-cover]) {
|
|
3444
|
+
display: flex !important;
|
|
3445
|
+
flex-direction: column !important;
|
|
3446
|
+
/* Safe: a child wider than the cover keeps its start edge in view instead of overflowing both ways. */
|
|
3447
|
+
align-items: safe center !important;
|
|
3448
|
+
justify-content: center !important;
|
|
3449
|
+
gap: var(--ui-space-6) !important;
|
|
3450
|
+
box-sizing: border-box !important;
|
|
3451
|
+
min-block-size: 100dvh;
|
|
3452
|
+
padding: var(--ui-space-6) var(--ui-space-4) !important;
|
|
3893
3453
|
}
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3454
|
+
:scope[data-ui-cover-state~="size=fill"]:where([data-hn-ui-cover]) {
|
|
3455
|
+
flex: 1;
|
|
3456
|
+
min-block-size: 100%;
|
|
3457
|
+
}
|
|
3458
|
+
:scope[hidden]:where([data-hn-ui-cover]) {
|
|
3459
|
+
display: none !important;
|
|
3897
3460
|
}
|
|
3898
|
-
@property --ui-icon-button-surface {
|
|
3899
|
-
syntax: "*";
|
|
3900
|
-
inherits: false;
|
|
3901
3461
|
}
|
|
3902
3462
|
|
|
3903
|
-
/* Neutral actions
|
|
3463
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
3904
3464
|
|
|
3905
3465
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
3906
3466
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
@@ -3941,7 +3501,7 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3941
3501
|
--_ui-action-shadow:
|
|
3942
3502
|
var(--_ui-action-edge),
|
|
3943
3503
|
0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
3944
|
-
/*
|
|
3504
|
+
/* Resolve shared part values at the component root. */
|
|
3945
3505
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
3946
3506
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
3947
3507
|
|
|
@@ -3951,6 +3511,55 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3951
3511
|
:scope:dir(rtl):where([data-hn-ui-icon-button]) {
|
|
3952
3512
|
--_ui-action-start: -1px;
|
|
3953
3513
|
}
|
|
3514
|
+
:scope[data-tone="accent-secondary"]:where([data-hn-ui-icon-button]) {
|
|
3515
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
3516
|
+
--_solid-hover-border: var(
|
|
3517
|
+
--ui-accent-secondary-hover-border,
|
|
3518
|
+
var(--ui-accent-secondary-hover)
|
|
3519
|
+
);
|
|
3520
|
+
--_solid-active-border: var(
|
|
3521
|
+
--ui-accent-secondary-active-border,
|
|
3522
|
+
var(--ui-accent-secondary-active)
|
|
3523
|
+
);
|
|
3524
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
3525
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
3526
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
3527
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
3528
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
3529
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
3530
|
+
--_icon-button-outline-surface: color-mix(
|
|
3531
|
+
in srgb,
|
|
3532
|
+
var(--ui-accent-secondary-solid) 5%,
|
|
3533
|
+
var(--ui-surface-default)
|
|
3534
|
+
);
|
|
3535
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
3536
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
3537
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
3538
|
+
color: var(--_icon-button-text);
|
|
3539
|
+
}
|
|
3540
|
+
:scope[data-tone="accent-tertiary"]:where([data-hn-ui-icon-button]) {
|
|
3541
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
3542
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
3543
|
+
--_solid-active-border: var(
|
|
3544
|
+
--ui-accent-tertiary-active-border,
|
|
3545
|
+
var(--ui-accent-tertiary-active)
|
|
3546
|
+
);
|
|
3547
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
3548
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
3549
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
3550
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
3551
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
3552
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
3553
|
+
--_icon-button-outline-surface: color-mix(
|
|
3554
|
+
in srgb,
|
|
3555
|
+
var(--ui-accent-tertiary-solid) 5%,
|
|
3556
|
+
var(--ui-surface-default)
|
|
3557
|
+
);
|
|
3558
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
3559
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
3560
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
3561
|
+
color: var(--_icon-button-text);
|
|
3562
|
+
}
|
|
3954
3563
|
:scope[data-tone="accent"]:where([data-hn-ui-icon-button]) {
|
|
3955
3564
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
3956
3565
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
@@ -4049,15 +3658,15 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
4049
3658
|
color: var(--_icon-button-text);
|
|
4050
3659
|
}
|
|
4051
3660
|
:scope[data-tone="neutral"]:where([data-hn-ui-icon-button]) {
|
|
4052
|
-
--_solid-border: var(--ui-
|
|
4053
|
-
--_solid-hover-border: var(--ui-
|
|
4054
|
-
--_solid-active-border: var(--ui-
|
|
3661
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
3662
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
3663
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
4055
3664
|
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
4056
3665
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
4057
3666
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
4058
3667
|
--_icon-button-outline-surface: transparent;
|
|
4059
3668
|
--_icon-button-border: var(--ui-control-border);
|
|
4060
|
-
--_icon-button-hover-border: var(--ui-control-border-hover
|
|
3669
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
4061
3670
|
--_icon-button-text: var(--ui-text);
|
|
4062
3671
|
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
4063
3672
|
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
@@ -4075,7 +3684,7 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
4075
3684
|
block-size: var(--ui-affordance-guide-size);
|
|
4076
3685
|
border-radius: var(--ui-radius-round);
|
|
4077
3686
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
4078
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
3687
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
4079
3688
|
transform: translate(-50%, -50%);
|
|
4080
3689
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
4081
3690
|
pointer-events: none;
|
|
@@ -4225,6 +3834,13 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
|
|
|
4225
3834
|
var(--ui-icon-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
4226
3835
|
var(--_tone-glow);
|
|
4227
3836
|
}
|
|
3837
|
+
:scope[data-tone="neutral"][data-appearance="outline"]:where([data-hn-ui-icon-button]) {
|
|
3838
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
3839
|
+
}
|
|
3840
|
+
:scope[data-tone="neutral"][data-appearance="solid"]:where([data-hn-ui-icon-button]) {
|
|
3841
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
3842
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
3843
|
+
}
|
|
4228
3844
|
:scope:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
|
|
4229
3845
|
/* Derived from the text colour so the ghost hover shows on any background. */
|
|
4230
3846
|
background-color: var(
|
|
@@ -4705,51 +4321,21 @@ dd:where([data-hn-ui-description-item]) {
|
|
|
4705
4321
|
}
|
|
4706
4322
|
}
|
|
4707
4323
|
|
|
4708
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
4709
|
-
@property --ui-dialog-duration {
|
|
4710
|
-
syntax: "*";
|
|
4711
|
-
inherits: false;
|
|
4712
|
-
}
|
|
4713
|
-
@property --ui-dialog-surface {
|
|
4714
|
-
syntax: "*";
|
|
4715
|
-
inherits: false;
|
|
4716
|
-
}
|
|
4717
|
-
@property --ui-dialog-border {
|
|
4718
|
-
syntax: "*";
|
|
4719
|
-
inherits: false;
|
|
4720
|
-
}
|
|
4721
|
-
@property --ui-dialog-radius {
|
|
4722
|
-
syntax: "*";
|
|
4723
|
-
inherits: false;
|
|
4724
|
-
}
|
|
4725
|
-
@property --ui-dialog-shadow {
|
|
4726
|
-
syntax: "*";
|
|
4727
|
-
inherits: false;
|
|
4728
|
-
}
|
|
4729
|
-
@property --ui-dialog-max-width {
|
|
4730
|
-
syntax: "*";
|
|
4731
|
-
inherits: false;
|
|
4732
|
-
}
|
|
4733
|
-
@property --ui-dialog-viewport-gap {
|
|
4734
|
-
syntax: "*";
|
|
4735
|
-
inherits: false;
|
|
4736
|
-
}
|
|
4737
|
-
|
|
4738
4324
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
4739
|
-
|
|
4325
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
4740
4326
|
|
|
4741
4327
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
4742
4328
|
|
|
4743
4329
|
/* Alerts have no close target to add height above the title. */
|
|
4744
4330
|
|
|
4745
4331
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
4746
|
-
@keyframes ui-dialog-enter-
|
|
4332
|
+
@keyframes ui-dialog-enter-568f2d22 {
|
|
4747
4333
|
from {
|
|
4748
4334
|
opacity: 0;
|
|
4749
4335
|
transform: scale(0.96);
|
|
4750
4336
|
}
|
|
4751
4337
|
}
|
|
4752
|
-
@keyframes ui-dialog-backdrop-enter-
|
|
4338
|
+
@keyframes ui-dialog-backdrop-enter-568f2d22 {
|
|
4753
4339
|
from {
|
|
4754
4340
|
background-color: transparent;
|
|
4755
4341
|
}
|
|
@@ -4757,7 +4343,7 @@ from {
|
|
|
4757
4343
|
@scope (.ui-dialog) to ([data-hn]) {
|
|
4758
4344
|
:scope:where([data-hn-ui-dialog]) {
|
|
4759
4345
|
--_ui-material-scale: 1;
|
|
4760
|
-
/*
|
|
4346
|
+
/* Resolve shared part values at the component root. */
|
|
4761
4347
|
--_ui-dialog-duration: var(--ui-dialog-duration);
|
|
4762
4348
|
|
|
4763
4349
|
position: fixed;
|
|
@@ -4872,7 +4458,7 @@ from {
|
|
|
4872
4458
|
pointer-events: auto;
|
|
4873
4459
|
opacity: 1;
|
|
4874
4460
|
transform: scale(1);
|
|
4875
|
-
animation: ui-dialog-enter-
|
|
4461
|
+
animation: ui-dialog-enter-568f2d22 var(--ui-dialog-duration, var(--ui-motion-base))
|
|
4876
4462
|
var(--ui-motion-ease);
|
|
4877
4463
|
}
|
|
4878
4464
|
:scope[data-ui-dialog-state~="size=sm"]:where([data-hn-ui-dialog]) {
|
|
@@ -4952,7 +4538,7 @@ footer:empty:where([data-hn-ui-dialog]) {
|
|
|
4952
4538
|
}
|
|
4953
4539
|
:scope[open]:modal:where([data-hn-ui-dialog])::backdrop {
|
|
4954
4540
|
background-color: var(--ui-overlay-backdrop);
|
|
4955
|
-
animation: ui-dialog-backdrop-enter-
|
|
4541
|
+
animation: ui-dialog-backdrop-enter-568f2d22 var(--_ui-dialog-duration, var(--ui-motion-base))
|
|
4956
4542
|
var(--ui-motion-ease);
|
|
4957
4543
|
}
|
|
4958
4544
|
:scope[open][data-ui-backdrop-hidden]:where([data-hn-ui-dialog])::backdrop {
|
|
@@ -4964,7 +4550,7 @@ footer:empty:where([data-hn-ui-dialog]) {
|
|
|
4964
4550
|
@scope ([data-slotted~="ui-dialog"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
4965
4551
|
:where(.ui-dialog):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog]) {
|
|
4966
4552
|
--_ui-material-scale: 1;
|
|
4967
|
-
/*
|
|
4553
|
+
/* Resolve shared part values at the component root. */
|
|
4968
4554
|
--_ui-dialog-duration: var(--ui-dialog-duration);
|
|
4969
4555
|
|
|
4970
4556
|
position: fixed;
|
|
@@ -5079,7 +4665,7 @@ footer:empty:where([data-hn-ui-dialog]) {
|
|
|
5079
4665
|
pointer-events: auto;
|
|
5080
4666
|
opacity: 1;
|
|
5081
4667
|
transform: scale(1);
|
|
5082
|
-
animation: ui-dialog-enter-
|
|
4668
|
+
animation: ui-dialog-enter-568f2d22 var(--ui-dialog-duration, var(--ui-motion-base))
|
|
5083
4669
|
var(--ui-motion-ease);
|
|
5084
4670
|
}
|
|
5085
4671
|
:where(.ui-dialog)[data-ui-dialog-state~="size=sm"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog]) {
|
|
@@ -5162,7 +4748,7 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5162
4748
|
}
|
|
5163
4749
|
:where(.ui-dialog)[open]:modal:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])::backdrop {
|
|
5164
4750
|
background-color: var(--ui-overlay-backdrop);
|
|
5165
|
-
animation: ui-dialog-backdrop-enter-
|
|
4751
|
+
animation: ui-dialog-backdrop-enter-568f2d22 var(--_ui-dialog-duration, var(--ui-motion-base))
|
|
5166
4752
|
var(--ui-motion-ease);
|
|
5167
4753
|
}
|
|
5168
4754
|
:where(.ui-dialog)[open][data-ui-backdrop-hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])::backdrop {
|
|
@@ -5172,20 +4758,6 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5172
4758
|
}
|
|
5173
4759
|
}
|
|
5174
4760
|
|
|
5175
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
5176
|
-
@property --ui-disclosure-trigger-min-block-size {
|
|
5177
|
-
syntax: "*";
|
|
5178
|
-
inherits: false;
|
|
5179
|
-
}
|
|
5180
|
-
@property --ui-disclosure-trigger-padding-block {
|
|
5181
|
-
syntax: "*";
|
|
5182
|
-
inherits: false;
|
|
5183
|
-
}
|
|
5184
|
-
@property --ui-disclosure-trigger-padding-inline {
|
|
5185
|
-
syntax: "*";
|
|
5186
|
-
inherits: false;
|
|
5187
|
-
}
|
|
5188
|
-
|
|
5189
4761
|
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
5190
4762
|
|
|
5191
4763
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
@@ -5197,7 +4769,7 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5197
4769
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
5198
4770
|
@scope (.ui-disclosure) to ([data-hn]) {
|
|
5199
4771
|
:scope:where([data-hn-ui-disclosure]) {
|
|
5200
|
-
/*
|
|
4772
|
+
/* Resolve shared part values at the component root. */
|
|
5201
4773
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
5202
4774
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
5203
4775
|
--_ui-disclosure-trigger-padding-inline: var(--ui-disclosure-trigger-padding-inline);
|
|
@@ -5485,30 +5057,8 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5485
5057
|
}
|
|
5486
5058
|
}
|
|
5487
5059
|
|
|
5488
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
5489
|
-
@property --ui-menu-surface {
|
|
5490
|
-
syntax: "*";
|
|
5491
|
-
inherits: false;
|
|
5492
|
-
}
|
|
5493
|
-
@property --ui-menu-border {
|
|
5494
|
-
syntax: "*";
|
|
5495
|
-
inherits: false;
|
|
5496
|
-
}
|
|
5497
|
-
@property --ui-menu-radius {
|
|
5498
|
-
syntax: "*";
|
|
5499
|
-
inherits: false;
|
|
5500
|
-
}
|
|
5501
|
-
@property --ui-menu-shadow {
|
|
5502
|
-
syntax: "*";
|
|
5503
|
-
inherits: false;
|
|
5504
|
-
}
|
|
5505
|
-
@property --ui-menu-viewport-gap {
|
|
5506
|
-
syntax: "*";
|
|
5507
|
-
inherits: false;
|
|
5508
|
-
}
|
|
5509
|
-
|
|
5510
5060
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
5511
|
-
|
|
5061
|
+
still win. */
|
|
5512
5062
|
|
|
5513
5063
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
5514
5064
|
|
|
@@ -5702,32 +5252,6 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5702
5252
|
}
|
|
5703
5253
|
}
|
|
5704
5254
|
|
|
5705
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
5706
|
-
@property --ui-menu-item-font-size {
|
|
5707
|
-
syntax: "*";
|
|
5708
|
-
inherits: false;
|
|
5709
|
-
}
|
|
5710
|
-
@property --ui-menu-item-hover-surface {
|
|
5711
|
-
syntax: "*";
|
|
5712
|
-
inherits: false;
|
|
5713
|
-
}
|
|
5714
|
-
@property --ui-menu-item-min-block-size {
|
|
5715
|
-
syntax: "*";
|
|
5716
|
-
inherits: false;
|
|
5717
|
-
}
|
|
5718
|
-
@property --ui-menu-item-padding-block {
|
|
5719
|
-
syntax: "*";
|
|
5720
|
-
inherits: false;
|
|
5721
|
-
}
|
|
5722
|
-
@property --ui-menu-item-padding-inline {
|
|
5723
|
-
syntax: "*";
|
|
5724
|
-
inherits: false;
|
|
5725
|
-
}
|
|
5726
|
-
@property --ui-menu-item-radius {
|
|
5727
|
-
syntax: "*";
|
|
5728
|
-
inherits: false;
|
|
5729
|
-
}
|
|
5730
|
-
|
|
5731
5255
|
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
5732
5256
|
|
|
5733
5257
|
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
@@ -5877,11 +5401,6 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
|
|
|
5877
5401
|
}
|
|
5878
5402
|
}
|
|
5879
5403
|
|
|
5880
|
-
@property --ui-radio-group-invalid-text {
|
|
5881
|
-
syntax: "*";
|
|
5882
|
-
inherits: false;
|
|
5883
|
-
}
|
|
5884
|
-
|
|
5885
5404
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
5886
5405
|
@scope (.ui-radio-group) to ([data-hn]) {
|
|
5887
5406
|
:scope:where([data-hn-ui-radio-group]) {
|
|
@@ -5928,12 +5447,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
5928
5447
|
}
|
|
5929
5448
|
}
|
|
5930
5449
|
|
|
5931
|
-
|
|
5932
|
-
@property --ui-stack-height {
|
|
5933
|
-
syntax: "*";
|
|
5934
|
-
inherits: false;
|
|
5935
|
-
}
|
|
5936
|
-
@property --ui-stack-gap {
|
|
5450
|
+
@property --_ui-stack-height {
|
|
5937
5451
|
syntax: "*";
|
|
5938
5452
|
inherits: false;
|
|
5939
5453
|
}
|
|
@@ -5945,7 +5459,8 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
5945
5459
|
display: flex !important;
|
|
5946
5460
|
flex-direction: column !important;
|
|
5947
5461
|
align-items: stretch !important;
|
|
5948
|
-
gap: var(--ui-stack-gap, var(--_layout-gap))
|
|
5462
|
+
gap: var(--ui-stack-gap, calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5)))
|
|
5463
|
+
!important;
|
|
5949
5464
|
min-inline-size: 0;
|
|
5950
5465
|
max-inline-size: 100%;
|
|
5951
5466
|
margin: 0 !important;
|
|
@@ -5955,7 +5470,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
5955
5470
|
min-block-size: 0;
|
|
5956
5471
|
}
|
|
5957
5472
|
:scope[data-ui-stack-state~="height"]:where([data-hn-ui-stack]) {
|
|
5958
|
-
block-size: calc(var(--
|
|
5473
|
+
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
5959
5474
|
min-block-size: 0;
|
|
5960
5475
|
}
|
|
5961
5476
|
:scope[data-ui-stack-state~="gap=none"]:where([data-hn-ui-stack]) {
|
|
@@ -5999,13 +5514,8 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
5999
5514
|
}
|
|
6000
5515
|
}
|
|
6001
5516
|
|
|
6002
|
-
@property --ui-swatch-size {
|
|
6003
|
-
syntax: "*";
|
|
6004
|
-
inherits: false;
|
|
6005
|
-
}
|
|
6006
|
-
|
|
6007
5517
|
/* A native radio drawn as a round dot. Inside a ui-radio-group the group names it, applies its
|
|
6008
|
-
|
|
5518
|
+
value, and moves between swatches with the arrow keys. */
|
|
6009
5519
|
|
|
6010
5520
|
/* The chosen swatch and the focused one share one ring at the focus width (2px by default), in
|
|
6011
5521
|
the tone or the focus colour. */
|
|
@@ -6055,38 +5565,8 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6055
5565
|
}
|
|
6056
5566
|
}
|
|
6057
5567
|
|
|
6058
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
6059
|
-
@property --ui-form-field-danger {
|
|
6060
|
-
syntax: "*";
|
|
6061
|
-
inherits: false;
|
|
6062
|
-
}
|
|
6063
|
-
@property --ui-form-field-help-font-size {
|
|
6064
|
-
syntax: "*";
|
|
6065
|
-
inherits: false;
|
|
6066
|
-
}
|
|
6067
|
-
@property --ui-form-field-help-min-block-size {
|
|
6068
|
-
syntax: "*";
|
|
6069
|
-
inherits: false;
|
|
6070
|
-
}
|
|
6071
|
-
@property --ui-form-field-help-text {
|
|
6072
|
-
syntax: "*";
|
|
6073
|
-
inherits: false;
|
|
6074
|
-
}
|
|
6075
|
-
@property --ui-form-field-label-font-size {
|
|
6076
|
-
syntax: "*";
|
|
6077
|
-
inherits: false;
|
|
6078
|
-
}
|
|
6079
|
-
@property --ui-form-field-label-text {
|
|
6080
|
-
syntax: "*";
|
|
6081
|
-
inherits: false;
|
|
6082
|
-
}
|
|
6083
|
-
@property --ui-form-field-min-inline-size {
|
|
6084
|
-
syntax: "*";
|
|
6085
|
-
inherits: false;
|
|
6086
|
-
}
|
|
6087
|
-
|
|
6088
5568
|
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
6089
|
-
|
|
5569
|
+
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
6090
5570
|
|
|
6091
5571
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
6092
5572
|
tall, centred on the first line and overflowing it. A button taller than a line of label
|
|
@@ -6097,7 +5577,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6097
5577
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
6098
5578
|
@scope (.ui-form-field) to ([data-hn]) {
|
|
6099
5579
|
:scope:where([data-hn-ui-form-field]) {
|
|
6100
|
-
/*
|
|
5580
|
+
/* Resolve shared part values at the component root. */
|
|
6101
5581
|
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
6102
5582
|
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
6103
5583
|
--_ui-form-field-label-text: var(--ui-form-field-label-text);
|
|
@@ -6116,7 +5596,10 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6116
5596
|
}
|
|
6117
5597
|
.label:where([data-hn-ui-form-field]) {
|
|
6118
5598
|
color: var(--_ui-form-field-label-text, var(--ui-text-secondary));
|
|
6119
|
-
font-size: var(
|
|
5599
|
+
font-size: var(
|
|
5600
|
+
--_ui-form-field-label-font-size,
|
|
5601
|
+
var(--ui-field-label-font-size, var(--ui-font-size-md))
|
|
5602
|
+
);
|
|
6120
5603
|
}
|
|
6121
5604
|
.label:has(> .label-action > *):where([data-hn-ui-form-field]) {
|
|
6122
5605
|
display: flex !important;
|
|
@@ -6154,26 +5637,14 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6154
5637
|
}
|
|
6155
5638
|
}
|
|
6156
5639
|
|
|
6157
|
-
@property --ui-input-group-radius {
|
|
6158
|
-
syntax: "*";
|
|
6159
|
-
inherits: false;
|
|
6160
|
-
}
|
|
6161
|
-
@property --ui-input-group-invalid-border {
|
|
6162
|
-
syntax: "*";
|
|
6163
|
-
inherits: false;
|
|
6164
|
-
}
|
|
6165
|
-
@property --ui-input-group-invalid-focus-shadow {
|
|
6166
|
-
syntax: "*";
|
|
6167
|
-
inherits: false;
|
|
6168
|
-
}
|
|
6169
5640
|
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
5641
|
+
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
5642
|
+
focus ring around the input and its affixes together; the input inside drops its own through
|
|
5643
|
+
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
5644
|
+
affixes are plain text beside the input, so name the input with a label that says what the
|
|
5645
|
+
whole value is. The action slot takes one button at the end, inside the border, for the one
|
|
5646
|
+
thing the field is for ("Continue" after a site's address), so it reads as the field's action
|
|
5647
|
+
and not the form's. */
|
|
6177
5648
|
|
|
6178
5649
|
/* The frame takes its input's size, so a small group lines up with small buttons and fields. */
|
|
6179
5650
|
|
|
@@ -6196,7 +5667,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6196
5667
|
@scope (.ui-input-group) to ([data-hn]) {
|
|
6197
5668
|
:scope:where([data-hn-ui-input-group]) {
|
|
6198
5669
|
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
6199
|
-
|
|
5670
|
+
These are defaults for the input; public hooks still win. */
|
|
6200
5671
|
--_ui-default-input-border-width: 0;
|
|
6201
5672
|
--_ui-default-input-min-block-size: 0;
|
|
6202
5673
|
--_ui-default-input-frame-width: calc(2 * var(--ui-border-width));
|
|
@@ -6368,56 +5839,6 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6368
5839
|
}
|
|
6369
5840
|
}
|
|
6370
5841
|
|
|
6371
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
6372
|
-
@property --ui-textarea-border-width {
|
|
6373
|
-
syntax: "*";
|
|
6374
|
-
inherits: false;
|
|
6375
|
-
}
|
|
6376
|
-
@property --ui-textarea-border {
|
|
6377
|
-
syntax: "*";
|
|
6378
|
-
inherits: false;
|
|
6379
|
-
}
|
|
6380
|
-
@property --ui-textarea-border-hover {
|
|
6381
|
-
syntax: "*";
|
|
6382
|
-
inherits: false;
|
|
6383
|
-
}
|
|
6384
|
-
@property --ui-textarea-focus-border {
|
|
6385
|
-
syntax: "*";
|
|
6386
|
-
inherits: false;
|
|
6387
|
-
}
|
|
6388
|
-
@property --ui-textarea-focus-outline {
|
|
6389
|
-
syntax: "*";
|
|
6390
|
-
inherits: false;
|
|
6391
|
-
}
|
|
6392
|
-
@property --ui-textarea-surface {
|
|
6393
|
-
syntax: "*";
|
|
6394
|
-
inherits: false;
|
|
6395
|
-
}
|
|
6396
|
-
@property --ui-textarea-focus-shadow {
|
|
6397
|
-
syntax: "*";
|
|
6398
|
-
inherits: false;
|
|
6399
|
-
}
|
|
6400
|
-
@property --ui-textarea-invalid-border {
|
|
6401
|
-
syntax: "*";
|
|
6402
|
-
inherits: false;
|
|
6403
|
-
}
|
|
6404
|
-
@property --ui-textarea-invalid-focus-shadow {
|
|
6405
|
-
syntax: "*";
|
|
6406
|
-
inherits: false;
|
|
6407
|
-
}
|
|
6408
|
-
@property --ui-textarea-radius {
|
|
6409
|
-
syntax: "*";
|
|
6410
|
-
inherits: false;
|
|
6411
|
-
}
|
|
6412
|
-
@property --ui-textarea-shadow {
|
|
6413
|
-
syntax: "*";
|
|
6414
|
-
inherits: false;
|
|
6415
|
-
}
|
|
6416
|
-
@property --ui-textarea-padding-inline-end {
|
|
6417
|
-
syntax: "*";
|
|
6418
|
-
inherits: false;
|
|
6419
|
-
}
|
|
6420
|
-
|
|
6421
5842
|
/* Tabbing into a field selects its text; tint that selection softly instead of the page highlight. */
|
|
6422
5843
|
|
|
6423
5844
|
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
@@ -6726,38 +6147,8 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6726
6147
|
}
|
|
6727
6148
|
}
|
|
6728
6149
|
|
|
6729
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
6730
|
-
@property --ui-popover-surface {
|
|
6731
|
-
syntax: "*";
|
|
6732
|
-
inherits: false;
|
|
6733
|
-
}
|
|
6734
|
-
@property --ui-popover-border {
|
|
6735
|
-
syntax: "*";
|
|
6736
|
-
inherits: false;
|
|
6737
|
-
}
|
|
6738
|
-
@property --ui-popover-radius {
|
|
6739
|
-
syntax: "*";
|
|
6740
|
-
inherits: false;
|
|
6741
|
-
}
|
|
6742
|
-
@property --ui-popover-shadow {
|
|
6743
|
-
syntax: "*";
|
|
6744
|
-
inherits: false;
|
|
6745
|
-
}
|
|
6746
|
-
@property --ui-popover-viewport-gap {
|
|
6747
|
-
syntax: "*";
|
|
6748
|
-
inherits: false;
|
|
6749
|
-
}
|
|
6750
|
-
@property --ui-popover-offset {
|
|
6751
|
-
syntax: "*";
|
|
6752
|
-
inherits: false;
|
|
6753
|
-
}
|
|
6754
|
-
@property --ui-popover-padding {
|
|
6755
|
-
syntax: "*";
|
|
6756
|
-
inherits: false;
|
|
6757
|
-
}
|
|
6758
|
-
|
|
6759
6150
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
6760
|
-
|
|
6151
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
6761
6152
|
|
|
6762
6153
|
/* A toolbar or card can supply its own surface, including an unclipped shadow. */
|
|
6763
6154
|
@scope (.ui-popover) to ([data-hn]) {
|
|
@@ -6953,7 +6344,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6953
6344
|
:scope:where([data-hn-ui-text]) {
|
|
6954
6345
|
margin: 0 !important;
|
|
6955
6346
|
min-inline-size: 0;
|
|
6956
|
-
color:
|
|
6347
|
+
color: inherit;
|
|
6957
6348
|
text-align: start;
|
|
6958
6349
|
}
|
|
6959
6350
|
:scope:is(h1, h2, h3, h4, h5, h6):where([data-hn-ui-text]) {
|
|
@@ -6987,6 +6378,12 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
6987
6378
|
:scope[data-ui-text-state~="tone=muted"]:where([data-hn-ui-text]) {
|
|
6988
6379
|
color: var(--ui-text-muted);
|
|
6989
6380
|
}
|
|
6381
|
+
:scope[data-ui-text-state~="tone=accent-secondary"]:where([data-hn-ui-text]) {
|
|
6382
|
+
color: var(--ui-accent-secondary-subtle-text);
|
|
6383
|
+
}
|
|
6384
|
+
:scope[data-ui-text-state~="tone=accent-tertiary"]:where([data-hn-ui-text]) {
|
|
6385
|
+
color: var(--ui-accent-tertiary-subtle-text);
|
|
6386
|
+
}
|
|
6990
6387
|
:scope[data-ui-text-state~="tone=accent"]:where([data-hn-ui-text]) {
|
|
6991
6388
|
color: var(--ui-accent-subtle-text);
|
|
6992
6389
|
}
|
|
@@ -7042,7 +6439,7 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
7042
6439
|
font-family: var(--ui-font-family-mono);
|
|
7043
6440
|
}
|
|
7044
6441
|
:scope :where(:not([data-hn-ui-text])):is(a) {
|
|
7045
|
-
color: var(--ui-accent-subtle-text);
|
|
6442
|
+
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
7046
6443
|
text-decoration: underline;
|
|
7047
6444
|
text-decoration-thickness: 0.06em;
|
|
7048
6445
|
text-underline-offset: 0.18em;
|
|
@@ -7145,51 +6542,17 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
7145
6542
|
}
|
|
7146
6543
|
.cell {
|
|
7147
6544
|
width: 44px;
|
|
7148
|
-
height: 44px;
|
|
7149
|
-
}
|
|
7150
|
-
}
|
|
7151
|
-
@media (forced-colors: active) {
|
|
7152
|
-
.cell:focus-visible {
|
|
7153
|
-
outline-color: Highlight;
|
|
7154
|
-
}
|
|
7155
|
-
}
|
|
7156
|
-
:scope[hidden] {
|
|
7157
|
-
display: none !important;
|
|
7158
|
-
}
|
|
7159
|
-
}
|
|
7160
|
-
|
|
7161
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
7162
|
-
@property --ui-search-result-row-border {
|
|
7163
|
-
syntax: "*";
|
|
7164
|
-
inherits: false;
|
|
7165
|
-
}
|
|
7166
|
-
@property --ui-search-result-row-gap {
|
|
7167
|
-
syntax: "*";
|
|
7168
|
-
inherits: false;
|
|
7169
|
-
}
|
|
7170
|
-
@property --ui-search-result-row-hover-surface {
|
|
7171
|
-
syntax: "*";
|
|
7172
|
-
inherits: false;
|
|
6545
|
+
height: 44px;
|
|
7173
6546
|
}
|
|
7174
|
-
@property --ui-search-result-row-min-height {
|
|
7175
|
-
syntax: "*";
|
|
7176
|
-
inherits: false;
|
|
7177
6547
|
}
|
|
7178
|
-
@
|
|
7179
|
-
|
|
7180
|
-
|
|
6548
|
+
@media (forced-colors: active) {
|
|
6549
|
+
.cell:focus-visible {
|
|
6550
|
+
outline-color: Highlight;
|
|
7181
6551
|
}
|
|
7182
|
-
@property --ui-search-result-row-padding-inline {
|
|
7183
|
-
syntax: "*";
|
|
7184
|
-
inherits: false;
|
|
7185
6552
|
}
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
inherits: false;
|
|
6553
|
+
:scope[hidden] {
|
|
6554
|
+
display: none !important;
|
|
7189
6555
|
}
|
|
7190
|
-
@property --ui-search-result-row-surface {
|
|
7191
|
-
syntax: "*";
|
|
7192
|
-
inherits: false;
|
|
7193
6556
|
}
|
|
7194
6557
|
|
|
7195
6558
|
/* Slot wrappers own their line boxes even when an app makes buttons inherit body typography. */
|
|
@@ -7996,7 +7359,7 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
7996
7359
|
height: var(--ui-affordance-guide-size);
|
|
7997
7360
|
border-radius: var(--ui-radius-round);
|
|
7998
7361
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
7999
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
7362
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
8000
7363
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8001
7364
|
}
|
|
8002
7365
|
.control.row .guide {
|
|
@@ -8076,7 +7439,7 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8076
7439
|
inset: 50% auto auto 50%;
|
|
8077
7440
|
border-radius: var(--ui-radius-round);
|
|
8078
7441
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
8079
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
7442
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
8080
7443
|
transform: translate(-50%, -50%);
|
|
8081
7444
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8082
7445
|
pointer-events: none;
|
|
@@ -8325,20 +7688,6 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8325
7688
|
}
|
|
8326
7689
|
}
|
|
8327
7690
|
|
|
8328
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
8329
|
-
@property --ui-floating-action-button-inset-block-end {
|
|
8330
|
-
syntax: "*";
|
|
8331
|
-
inherits: false;
|
|
8332
|
-
}
|
|
8333
|
-
@property --ui-floating-action-button-inset-inline-end {
|
|
8334
|
-
syntax: "*";
|
|
8335
|
-
inherits: false;
|
|
8336
|
-
}
|
|
8337
|
-
@property --ui-floating-action-button-z-index {
|
|
8338
|
-
syntax: "*";
|
|
8339
|
-
inherits: false;
|
|
8340
|
-
}
|
|
8341
|
-
|
|
8342
7691
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8343
7692
|
@scope (.ui-floating-action-button) to ([data-hn]) {
|
|
8344
7693
|
:scope:where([data-hn-ui-floating-action-button]) {
|
|
@@ -8406,16 +7755,6 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8406
7755
|
}
|
|
8407
7756
|
}
|
|
8408
7757
|
|
|
8409
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
8410
|
-
@property --ui-grid-gap {
|
|
8411
|
-
syntax: "*";
|
|
8412
|
-
inherits: false;
|
|
8413
|
-
}
|
|
8414
|
-
@property --ui-grid-min {
|
|
8415
|
-
syntax: "*";
|
|
8416
|
-
inherits: false;
|
|
8417
|
-
}
|
|
8418
|
-
|
|
8419
7758
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8420
7759
|
@scope (.ui-grid) to ([data-hn]) {
|
|
8421
7760
|
:scope:where([data-hn-ui-grid]) {
|
|
@@ -8856,19 +8195,9 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8856
8195
|
}
|
|
8857
8196
|
}
|
|
8858
8197
|
|
|
8859
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
8860
|
-
@property --ui-list-gap {
|
|
8861
|
-
syntax: "*";
|
|
8862
|
-
inherits: false;
|
|
8863
|
-
}
|
|
8864
|
-
@property --ui-list-min-item-width {
|
|
8865
|
-
syntax: "*";
|
|
8866
|
-
inherits: false;
|
|
8867
|
-
}
|
|
8868
|
-
|
|
8869
8198
|
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
8870
|
-
|
|
8871
|
-
|
|
8199
|
+
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
8200
|
+
markers. */
|
|
8872
8201
|
|
|
8873
8202
|
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
8874
8203
|
|
|
@@ -8931,33 +8260,15 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8931
8260
|
}
|
|
8932
8261
|
}
|
|
8933
8262
|
|
|
8934
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
8935
|
-
@property --ui-list-item-gap {
|
|
8936
|
-
syntax: "*";
|
|
8937
|
-
inherits: false;
|
|
8938
|
-
}
|
|
8939
|
-
@property --ui-list-item-icon-size {
|
|
8940
|
-
syntax: "*";
|
|
8941
|
-
inherits: false;
|
|
8942
|
-
}
|
|
8943
|
-
@property --ui-list-item-padding-block {
|
|
8944
|
-
syntax: "*";
|
|
8945
|
-
inherits: false;
|
|
8946
|
-
}
|
|
8947
|
-
@property --ui-list-item-padding-inline {
|
|
8948
|
-
syntax: "*";
|
|
8949
|
-
inherits: false;
|
|
8950
|
-
}
|
|
8951
|
-
|
|
8952
8263
|
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8264
|
+
slot), one line about it (description), and what it offers (trailing, such as a button or a
|
|
8265
|
+
badge). The title and description are one line each and end in an ellipsis, so every item in a
|
|
8266
|
+
list has the same height.
|
|
8956
8267
|
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8268
|
+
A link in the title is the whole item: its hit area stretches over the item, so the icon and the
|
|
8269
|
+
padding follow it too, and the item takes the link's focus ring. The link stays a real link, so
|
|
8270
|
+
a router, a modified click, and "open in new tab" all work. Trailing controls sit above it and
|
|
8271
|
+
stay their own. */
|
|
8961
8272
|
|
|
8962
8273
|
/* Framed cards already have their own edge; the stronger focus ring stays separate. */
|
|
8963
8274
|
|
|
@@ -8972,7 +8283,7 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8972
8283
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8973
8284
|
@scope (.ui-list-item) to ([data-hn]) {
|
|
8974
8285
|
:scope:where([data-hn-ui-list-item]) {
|
|
8975
|
-
/*
|
|
8286
|
+
/* Resolve shared part values at the component root. */
|
|
8976
8287
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
8977
8288
|
|
|
8978
8289
|
position: relative;
|
|
@@ -9111,27 +8422,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9111
8422
|
}
|
|
9112
8423
|
}
|
|
9113
8424
|
|
|
9114
|
-
@property --ui-listbox-radius {
|
|
9115
|
-
syntax: "*";
|
|
9116
|
-
inherits: false;
|
|
9117
|
-
}
|
|
9118
|
-
@property --ui-listbox-border {
|
|
9119
|
-
syntax: "*";
|
|
9120
|
-
inherits: false;
|
|
9121
|
-
}
|
|
9122
|
-
@property --ui-listbox-surface {
|
|
9123
|
-
syntax: "*";
|
|
9124
|
-
inherits: false;
|
|
9125
|
-
}
|
|
9126
|
-
@property --ui-listbox-focus-shadow {
|
|
9127
|
-
syntax: "*";
|
|
9128
|
-
inherits: false;
|
|
9129
|
-
}
|
|
9130
|
-
@property --ui-listbox-invalid-border {
|
|
9131
|
-
syntax: "*";
|
|
9132
|
-
inherits: false;
|
|
9133
|
-
}
|
|
9134
|
-
|
|
9135
8425
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
9136
8426
|
@scope (.ui-listbox) to ([data-hn]) {
|
|
9137
8427
|
:scope:where([data-hn-ui-listbox]) {
|
|
@@ -9286,10 +8576,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9286
8576
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
9287
8577
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
9288
8578
|
track and the page. */
|
|
9289
|
-
@property --ui-meter-inline-size {
|
|
9290
|
-
syntax: "*";
|
|
9291
|
-
inherits: false;
|
|
9292
|
-
}
|
|
9293
8579
|
|
|
9294
8580
|
/* Segments: the track and its fill show through a mask of equal segments with a gap between them.
|
|
9295
8581
|
A mask over the whole meter, rather than one element per segment, because the expression
|
|
@@ -9334,6 +8620,12 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9334
8620
|
background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
|
|
9335
8621
|
box-shadow: inset 0 1px rgb(255 255 255 / 0.26), inset 0 -1px rgb(0 0 0 / 0.1);
|
|
9336
8622
|
}
|
|
8623
|
+
:scope[data-ui-meter-state~="tone=accent-secondary"] {
|
|
8624
|
+
--_meter-fill: var(--ui-accent-secondary-solid);
|
|
8625
|
+
}
|
|
8626
|
+
:scope[data-ui-meter-state~="tone=accent-tertiary"] {
|
|
8627
|
+
--_meter-fill: var(--ui-accent-tertiary-solid);
|
|
8628
|
+
}
|
|
9337
8629
|
:scope[data-ui-meter-state~="tone=accent"] {
|
|
9338
8630
|
--_meter-fill: var(--ui-accent-solid);
|
|
9339
8631
|
}
|
|
@@ -9443,28 +8735,10 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9443
8735
|
}
|
|
9444
8736
|
}
|
|
9445
8737
|
|
|
9446
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
9447
|
-
@property --ui-nav-item-current-surface {
|
|
9448
|
-
syntax: "*";
|
|
9449
|
-
inherits: false;
|
|
9450
|
-
}
|
|
9451
|
-
@property --ui-nav-item-indicator-color {
|
|
9452
|
-
syntax: "*";
|
|
9453
|
-
inherits: false;
|
|
9454
|
-
}
|
|
9455
|
-
@property --ui-nav-item-indicator-width {
|
|
9456
|
-
syntax: "*";
|
|
9457
|
-
inherits: false;
|
|
9458
|
-
}
|
|
9459
|
-
@property --ui-nav-item-inline-size {
|
|
9460
|
-
syntax: "*";
|
|
9461
|
-
inherits: false;
|
|
9462
|
-
}
|
|
9463
|
-
|
|
9464
8738
|
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
8739
|
+
default slot), and an optional line under it (description), such as the record a section
|
|
8740
|
+
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
8741
|
+
navigation has the same height and the rail never grows sideways. */
|
|
9468
8742
|
|
|
9469
8743
|
/* The ring is an outline, drawn inside the item: forced colors keep an outline where they drop a
|
|
9470
8744
|
box shadow, and a scrolling rail cannot clip a ring that stays within the item. */
|
|
@@ -9679,16 +8953,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9679
8953
|
}
|
|
9680
8954
|
}
|
|
9681
8955
|
|
|
9682
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
9683
|
-
@property --ui-radio-gap {
|
|
9684
|
-
syntax: "*";
|
|
9685
|
-
inherits: false;
|
|
9686
|
-
}
|
|
9687
|
-
@property --ui-radio-size {
|
|
9688
|
-
syntax: "*";
|
|
9689
|
-
inherits: false;
|
|
9690
|
-
}
|
|
9691
|
-
|
|
9692
8956
|
/* The label, and under it an optional line saying what the choice means. */
|
|
9693
8957
|
|
|
9694
8958
|
/* The native radio retains grouping, validation and keyboard behavior.
|
|
@@ -9701,7 +8965,7 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9701
8965
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
9702
8966
|
@scope (.ui-radio) to ([data-hn]) {
|
|
9703
8967
|
:scope:where([data-hn-ui-radio]) {
|
|
9704
|
-
/*
|
|
8968
|
+
/* Resolve shared part values at the component root. */
|
|
9705
8969
|
--_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
|
|
9706
8970
|
|
|
9707
8971
|
display: inline-flex !important;
|
|
@@ -9833,16 +9097,6 @@ input:where([data-hn-ui-radio])::after {
|
|
|
9833
9097
|
}
|
|
9834
9098
|
}
|
|
9835
9099
|
|
|
9836
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
9837
|
-
@property --ui-reel-gap {
|
|
9838
|
-
syntax: "*";
|
|
9839
|
-
inherits: false;
|
|
9840
|
-
}
|
|
9841
|
-
@property --ui-reel-item-width {
|
|
9842
|
-
syntax: "*";
|
|
9843
|
-
inherits: false;
|
|
9844
|
-
}
|
|
9845
|
-
|
|
9846
9100
|
/* Each end that hides items fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
|
|
9847
9101
|
|
|
9848
9102
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -9928,54 +9182,12 @@ input:where([data-hn-ui-radio])::after {
|
|
|
9928
9182
|
}
|
|
9929
9183
|
}
|
|
9930
9184
|
|
|
9931
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
9932
|
-
@property --ui-search-shell-border {
|
|
9933
|
-
syntax: "*";
|
|
9934
|
-
inherits: false;
|
|
9935
|
-
}
|
|
9936
|
-
@property --ui-search-shell-focus-color {
|
|
9937
|
-
syntax: "*";
|
|
9938
|
-
inherits: false;
|
|
9939
|
-
}
|
|
9940
|
-
@property --ui-search-shell-max-height {
|
|
9941
|
-
syntax: "*";
|
|
9942
|
-
inherits: false;
|
|
9943
|
-
}
|
|
9944
|
-
@property --ui-search-shell-max-width {
|
|
9945
|
-
syntax: "*";
|
|
9946
|
-
inherits: false;
|
|
9947
|
-
}
|
|
9948
|
-
@property --ui-search-shell-padding-top {
|
|
9949
|
-
syntax: "*";
|
|
9950
|
-
inherits: false;
|
|
9951
|
-
}
|
|
9952
|
-
@property --ui-search-shell-radius {
|
|
9953
|
-
syntax: "*";
|
|
9954
|
-
inherits: false;
|
|
9955
|
-
}
|
|
9956
|
-
@property --ui-search-shell-shadow {
|
|
9957
|
-
syntax: "*";
|
|
9958
|
-
inherits: false;
|
|
9959
|
-
}
|
|
9960
|
-
@property --ui-search-shell-surface {
|
|
9961
|
-
syntax: "*";
|
|
9962
|
-
inherits: false;
|
|
9963
|
-
}
|
|
9964
|
-
@property --ui-search-shell-viewport-gap {
|
|
9965
|
-
syntax: "*";
|
|
9966
|
-
inherits: false;
|
|
9967
|
-
}
|
|
9968
|
-
@property --ui-search-shell-z-index {
|
|
9969
|
-
syntax: "*";
|
|
9970
|
-
inherits: false;
|
|
9971
|
-
}
|
|
9972
|
-
|
|
9973
9185
|
/* Laid out like the dialog's action row: actions right-aligned, spaced as buttons, no fill. */
|
|
9974
9186
|
|
|
9975
9187
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
9976
9188
|
@scope (.ui-search-shell) to ([data-hn]) {
|
|
9977
9189
|
:scope:where([data-hn-ui-search-shell]) {
|
|
9978
|
-
/*
|
|
9190
|
+
/* Resolve shared part values at the component root. */
|
|
9979
9191
|
--_ui-search-shell-z-index: var(--ui-search-shell-z-index);
|
|
9980
9192
|
--_ui-search-shell-padding-top: var(--ui-search-shell-padding-top);
|
|
9981
9193
|
--_ui-search-shell-viewport-gap: var(--ui-search-shell-viewport-gap);
|
|
@@ -10216,48 +9428,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10216
9428
|
}
|
|
10217
9429
|
}
|
|
10218
9430
|
|
|
10219
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
10220
|
-
@property --ui-select-border {
|
|
10221
|
-
syntax: "*";
|
|
10222
|
-
inherits: false;
|
|
10223
|
-
}
|
|
10224
|
-
@property --ui-select-border-hover {
|
|
10225
|
-
syntax: "*";
|
|
10226
|
-
inherits: false;
|
|
10227
|
-
}
|
|
10228
|
-
@property --ui-select-focus-border {
|
|
10229
|
-
syntax: "*";
|
|
10230
|
-
inherits: false;
|
|
10231
|
-
}
|
|
10232
|
-
@property --ui-select-focus-shadow {
|
|
10233
|
-
syntax: "*";
|
|
10234
|
-
inherits: false;
|
|
10235
|
-
}
|
|
10236
|
-
@property --ui-select-inline-size {
|
|
10237
|
-
syntax: "*";
|
|
10238
|
-
inherits: false;
|
|
10239
|
-
}
|
|
10240
|
-
@property --ui-select-invalid-border {
|
|
10241
|
-
syntax: "*";
|
|
10242
|
-
inherits: false;
|
|
10243
|
-
}
|
|
10244
|
-
@property --ui-select-invalid-focus-shadow {
|
|
10245
|
-
syntax: "*";
|
|
10246
|
-
inherits: false;
|
|
10247
|
-
}
|
|
10248
|
-
@property --ui-select-radius {
|
|
10249
|
-
syntax: "*";
|
|
10250
|
-
inherits: false;
|
|
10251
|
-
}
|
|
10252
|
-
@property --ui-select-shadow {
|
|
10253
|
-
syntax: "*";
|
|
10254
|
-
inherits: false;
|
|
10255
|
-
}
|
|
10256
|
-
@property --ui-select-surface {
|
|
10257
|
-
syntax: "*";
|
|
10258
|
-
inherits: false;
|
|
10259
|
-
}
|
|
10260
|
-
|
|
10261
9431
|
/* The select draws its own chevron: the native caret cannot be inset or sized consistently.
|
|
10262
9432
|
* The root stays a native <s-lect>, so the icon is a background image rather than an element. */
|
|
10263
9433
|
|
|
@@ -10390,12 +9560,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10390
9560
|
}
|
|
10391
9561
|
}
|
|
10392
9562
|
|
|
10393
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
10394
|
-
@property --ui-separator-color {
|
|
10395
|
-
syntax: "*";
|
|
10396
|
-
inherits: false;
|
|
10397
|
-
}
|
|
10398
|
-
|
|
10399
9563
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
10400
9564
|
@scope (.ui-separator) to ([data-hn]) {
|
|
10401
9565
|
:scope {
|
|
@@ -10434,30 +9598,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10434
9598
|
}
|
|
10435
9599
|
}
|
|
10436
9600
|
|
|
10437
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
10438
|
-
@property --ui-sidebar-backdrop {
|
|
10439
|
-
syntax: "*";
|
|
10440
|
-
inherits: false;
|
|
10441
|
-
}
|
|
10442
|
-
@property --ui-sidebar-border {
|
|
10443
|
-
syntax: "*";
|
|
10444
|
-
inherits: false;
|
|
10445
|
-
}
|
|
10446
|
-
@property --ui-sidebar-surface {
|
|
10447
|
-
syntax: "*";
|
|
10448
|
-
inherits: false;
|
|
10449
|
-
}
|
|
10450
|
-
@property --ui-sidebar-width {
|
|
10451
|
-
syntax: "*";
|
|
10452
|
-
inherits: false;
|
|
10453
|
-
}
|
|
10454
|
-
@property --ui-sidebar-collapsed-width {
|
|
10455
|
-
syntax: "*";
|
|
10456
|
-
inherits: false;
|
|
10457
|
-
}
|
|
10458
|
-
|
|
10459
9601
|
/* The panel's content scrolls, and each edge that hides content fades: the scroll fade every
|
|
10460
|
-
|
|
9602
|
+
Looma scroller uses (see ui-scroll-area). */
|
|
10461
9603
|
|
|
10462
9604
|
/* Collapsed while docked. */
|
|
10463
9605
|
|
|
@@ -10468,7 +9610,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10468
9610
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
10469
9611
|
@scope (.ui-sidebar) to ([data-hn]) {
|
|
10470
9612
|
:scope:where([data-hn-ui-sidebar]) {
|
|
10471
|
-
/*
|
|
9613
|
+
/* Resolve shared part values at the component root. */
|
|
10472
9614
|
--_ui-sidebar-backdrop: var(--ui-sidebar-backdrop);
|
|
10473
9615
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
10474
9616
|
|
|
@@ -10571,7 +9713,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10571
9713
|
var(--ui-affordance-guide-color, var(--ui-border-strong)) 45%,
|
|
10572
9714
|
transparent
|
|
10573
9715
|
);
|
|
10574
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
9716
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
10575
9717
|
transition:
|
|
10576
9718
|
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
10577
9719
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
@@ -10650,30 +9792,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10650
9792
|
}
|
|
10651
9793
|
}
|
|
10652
9794
|
|
|
10653
|
-
@property --ui-site-header-height {
|
|
10654
|
-
syntax: "*";
|
|
10655
|
-
inherits: false;
|
|
10656
|
-
}
|
|
10657
|
-
@property --ui-site-header-compact-height {
|
|
10658
|
-
syntax: "*";
|
|
10659
|
-
inherits: false;
|
|
10660
|
-
}
|
|
10661
|
-
@property --ui-site-header-padding-inline {
|
|
10662
|
-
syntax: "*";
|
|
10663
|
-
inherits: false;
|
|
10664
|
-
}
|
|
10665
|
-
@property --ui-site-header-surface {
|
|
10666
|
-
syntax: "*";
|
|
10667
|
-
inherits: false;
|
|
10668
|
-
}
|
|
10669
|
-
@property --ui-site-header-border {
|
|
10670
|
-
syntax: "*";
|
|
10671
|
-
inherits: false;
|
|
10672
|
-
}
|
|
10673
|
-
@property --ui-site-header-z-index {
|
|
10674
|
-
syntax: "*";
|
|
10675
|
-
inherits: false;
|
|
10676
|
-
}
|
|
10677
9795
|
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
10678
9796
|
/* Without a supplied menu trigger, keep the destinations available on narrow screens. */
|
|
10679
9797
|
@scope (.ui-site-header) to ([data-hn]) {
|
|
@@ -10808,15 +9926,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10808
9926
|
}
|
|
10809
9927
|
}
|
|
10810
9928
|
|
|
10811
|
-
/* Dimensions belong to this placeholder, never a nested or neighbouring one. */
|
|
10812
|
-
@property --ui-skeleton-width {
|
|
10813
|
-
syntax: "*";
|
|
10814
|
-
inherits: false;
|
|
10815
|
-
}
|
|
10816
|
-
@property --ui-skeleton-height {
|
|
10817
|
-
syntax: "*";
|
|
10818
|
-
inherits: false;
|
|
10819
|
-
}
|
|
10820
9929
|
@property --_ui-skeleton-viewport-x {
|
|
10821
9930
|
syntax: "<length>";
|
|
10822
9931
|
inherits: false;
|
|
@@ -10827,7 +9936,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10827
9936
|
inherits: false;
|
|
10828
9937
|
initial-value: 1;
|
|
10829
9938
|
}
|
|
10830
|
-
@keyframes ui-skeleton-shimmer-
|
|
9939
|
+
@keyframes ui-skeleton-shimmer-cc093de4 {
|
|
10831
9940
|
to {
|
|
10832
9941
|
background-position: calc(100vw / var(--_ui-skeleton-paint-scale) - var(--_ui-skeleton-paint-x))
|
|
10833
9942
|
0;
|
|
@@ -10882,7 +9991,7 @@ to {
|
|
|
10882
9991
|
background-size: calc(100vw / var(--_ui-skeleton-paint-scale)) 100%;
|
|
10883
9992
|
background-position: calc(0vw - var(--_ui-skeleton-paint-x)) 0;
|
|
10884
9993
|
background-repeat: repeat-x;
|
|
10885
|
-
animation: ui-skeleton-shimmer-
|
|
9994
|
+
animation: ui-skeleton-shimmer-cc093de4 3s linear infinite;
|
|
10886
9995
|
}
|
|
10887
9996
|
@media (prefers-reduced-motion: reduce) {
|
|
10888
9997
|
:scope[data-ui-skeleton-state~="animated"]::before {
|
|
@@ -11006,20 +10115,6 @@ input {
|
|
|
11006
10115
|
}
|
|
11007
10116
|
}
|
|
11008
10117
|
|
|
11009
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
11010
|
-
@property --ui-switch-gap {
|
|
11011
|
-
syntax: "*";
|
|
11012
|
-
inherits: false;
|
|
11013
|
-
}
|
|
11014
|
-
@property --ui-switch-track-height {
|
|
11015
|
-
syntax: "*";
|
|
11016
|
-
inherits: false;
|
|
11017
|
-
}
|
|
11018
|
-
@property --ui-switch-track-width {
|
|
11019
|
-
syntax: "*";
|
|
11020
|
-
inherits: false;
|
|
11021
|
-
}
|
|
11022
|
-
|
|
11023
10118
|
/* The label, and under it an optional line saying what the choice means. */
|
|
11024
10119
|
|
|
11025
10120
|
/* A sized switch keeps its track and aligns instead: the label takes that size's field type size,
|
|
@@ -11029,7 +10124,7 @@ input {
|
|
|
11029
10124
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11030
10125
|
@scope (.ui-switch) to ([data-hn]) {
|
|
11031
10126
|
:scope:where([data-hn-ui-switch]) {
|
|
11032
|
-
/*
|
|
10127
|
+
/* Resolve shared part values at the component root. */
|
|
11033
10128
|
--_ui-switch-track-width: var(--ui-switch-track-width, var(--ui-choice-track-width));
|
|
11034
10129
|
--_ui-switch-track-height: var(--ui-switch-track-height, var(--ui-choice-track-height));
|
|
11035
10130
|
|
|
@@ -11167,16 +10262,6 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11167
10262
|
}
|
|
11168
10263
|
}
|
|
11169
10264
|
|
|
11170
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
11171
|
-
@property --ui-switcher-gap {
|
|
11172
|
-
syntax: "*";
|
|
11173
|
-
inherits: false;
|
|
11174
|
-
}
|
|
11175
|
-
@property --ui-switcher-threshold {
|
|
11176
|
-
syntax: "*";
|
|
11177
|
-
inherits: false;
|
|
11178
|
-
}
|
|
11179
|
-
|
|
11180
10265
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11181
10266
|
@scope (.ui-switcher) to ([data-hn]) {
|
|
11182
10267
|
:scope:where([data-hn-ui-switcher]) {
|
|
@@ -11352,24 +10437,6 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11352
10437
|
}
|
|
11353
10438
|
}
|
|
11354
10439
|
|
|
11355
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
11356
|
-
@property --ui-tabs-tab-min-block-size {
|
|
11357
|
-
syntax: "*";
|
|
11358
|
-
inherits: false;
|
|
11359
|
-
}
|
|
11360
|
-
@property --ui-tabs-tab-padding-block {
|
|
11361
|
-
syntax: "*";
|
|
11362
|
-
inherits: false;
|
|
11363
|
-
}
|
|
11364
|
-
@property --ui-tabs-tab-padding-inline {
|
|
11365
|
-
syntax: "*";
|
|
11366
|
-
inherits: false;
|
|
11367
|
-
}
|
|
11368
|
-
@property --ui-tabs-panel-padding {
|
|
11369
|
-
syntax: "*";
|
|
11370
|
-
inherits: false;
|
|
11371
|
-
}
|
|
11372
|
-
|
|
11373
10440
|
/* Density resolves into the tab row's own values; the public tokens still override them. */
|
|
11374
10441
|
|
|
11375
10442
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high. */
|
|
@@ -11379,7 +10446,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11379
10446
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11380
10447
|
@scope (.ui-tabs) to ([data-hn]) {
|
|
11381
10448
|
:scope:where([data-hn-ui-tabs]) {
|
|
11382
|
-
/*
|
|
10449
|
+
/* Resolve shared part values at the component root. */
|
|
11383
10450
|
--_ui-tabs-tab-min-block-size: var(--ui-tabs-tab-min-block-size);
|
|
11384
10451
|
--_ui-tabs-tab-padding-block: var(--ui-tabs-tab-padding-block);
|
|
11385
10452
|
--_ui-tabs-tab-padding-inline: var(--ui-tabs-tab-padding-inline);
|
|
@@ -11493,41 +10560,22 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11493
10560
|
> :where(:not([data-hn-ui-tabs])):is(button[slot="tab"][aria-selected="true"]) {
|
|
11494
10561
|
border-inline-end-color: var(--ui-accent-subtle-text);
|
|
11495
10562
|
}
|
|
11496
|
-
@media (prefers-reduced-motion: reduce) {
|
|
11497
|
-
.list button:where([data-hn-ui-tabs]),.list > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"]) {
|
|
11498
|
-
transition: none;
|
|
11499
|
-
}
|
|
11500
|
-
}
|
|
11501
|
-
:scope[hidden]:where([data-hn-ui-tabs]) {
|
|
11502
|
-
display: none !important;
|
|
11503
|
-
}
|
|
11504
|
-
}
|
|
11505
|
-
|
|
11506
|
-
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
11507
|
-
@property --ui-toast-surface {
|
|
11508
|
-
syntax: "*";
|
|
11509
|
-
inherits: false;
|
|
11510
|
-
}
|
|
11511
|
-
@property --ui-toast-border {
|
|
11512
|
-
syntax: "*";
|
|
11513
|
-
inherits: false;
|
|
11514
|
-
}
|
|
11515
|
-
@property --ui-toast-radius {
|
|
11516
|
-
syntax: "*";
|
|
11517
|
-
inherits: false;
|
|
10563
|
+
@media (prefers-reduced-motion: reduce) {
|
|
10564
|
+
.list button:where([data-hn-ui-tabs]),.list > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"]) {
|
|
10565
|
+
transition: none;
|
|
11518
10566
|
}
|
|
11519
|
-
@property --ui-toast-shadow {
|
|
11520
|
-
syntax: "*";
|
|
11521
|
-
inherits: false;
|
|
11522
10567
|
}
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
10568
|
+
:scope[hidden]:where([data-hn-ui-tabs]) {
|
|
10569
|
+
display: none !important;
|
|
10570
|
+
}
|
|
11526
10571
|
}
|
|
10572
|
+
|
|
10573
|
+
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
11527
10574
|
@scope (.ui-toast) to ([data-hn]) {
|
|
11528
10575
|
:scope:where([data-hn-ui-toast]) {
|
|
11529
|
-
--_ui-toast-accent: var(--ui-border-strong);
|
|
11530
|
-
--_ui-
|
|
10576
|
+
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10577
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10578
|
+
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11531
10579
|
|
|
11532
10580
|
display: flex !important;
|
|
11533
10581
|
align-items: center !important;
|
|
@@ -11545,7 +10593,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11545
10593
|
);
|
|
11546
10594
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
11547
10595
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
11548
|
-
color: var(--
|
|
10596
|
+
color: var(--_ui-surface-text);
|
|
11549
10597
|
font-family: var(--ui-font-family-sans);
|
|
11550
10598
|
font-size: var(--ui-font-size-sm);
|
|
11551
10599
|
font-weight: var(--ui-font-normal);
|
|
@@ -11557,19 +10605,23 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11557
10605
|
pointer-events: auto;
|
|
11558
10606
|
}
|
|
11559
10607
|
:scope[data-ui-toast-state~="tone=info"]:where([data-hn-ui-toast]) {
|
|
11560
|
-
--_ui-toast-accent: var(--ui-info-
|
|
10608
|
+
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
10609
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11561
10610
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
11562
10611
|
}
|
|
11563
10612
|
:scope[data-ui-toast-state~="tone=success"]:where([data-hn-ui-toast]) {
|
|
11564
|
-
--_ui-toast-accent: var(--ui-success-
|
|
10613
|
+
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
10614
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11565
10615
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
11566
10616
|
}
|
|
11567
10617
|
:scope[data-ui-toast-state~="tone=warning"]:where([data-hn-ui-toast]) {
|
|
11568
|
-
--_ui-toast-accent: var(--ui-warning-
|
|
10618
|
+
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
10619
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11569
10620
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
11570
10621
|
}
|
|
11571
10622
|
:scope[data-ui-toast-state~="tone=danger"]:where([data-hn-ui-toast]) {
|
|
11572
|
-
--_ui-toast-accent: var(--ui-danger-
|
|
10623
|
+
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
10624
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11573
10625
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
11574
10626
|
}
|
|
11575
10627
|
.message:where([data-hn-ui-toast]) {
|
|
@@ -11585,8 +10637,9 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11585
10637
|
}
|
|
11586
10638
|
@scope ([data-slotted~="ui-toast"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
11587
10639
|
:where(.ui-toast):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast]) {
|
|
11588
|
-
--_ui-toast-accent: var(--ui-border-strong);
|
|
11589
|
-
--_ui-
|
|
10640
|
+
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10641
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10642
|
+
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11590
10643
|
|
|
11591
10644
|
display: flex !important;
|
|
11592
10645
|
align-items: center !important;
|
|
@@ -11604,7 +10657,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11604
10657
|
);
|
|
11605
10658
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
11606
10659
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
11607
|
-
color: var(--
|
|
10660
|
+
color: var(--_ui-surface-text);
|
|
11608
10661
|
font-family: var(--ui-font-family-sans);
|
|
11609
10662
|
font-size: var(--ui-font-size-sm);
|
|
11610
10663
|
font-weight: var(--ui-font-normal);
|
|
@@ -11616,19 +10669,23 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11616
10669
|
pointer-events: auto;
|
|
11617
10670
|
}
|
|
11618
10671
|
:where(.ui-toast)[data-ui-toast-state~="tone=info"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast]) {
|
|
11619
|
-
--_ui-toast-accent: var(--ui-info-
|
|
10672
|
+
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
10673
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11620
10674
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
11621
10675
|
}
|
|
11622
10676
|
:where(.ui-toast)[data-ui-toast-state~="tone=success"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast]) {
|
|
11623
|
-
--_ui-toast-accent: var(--ui-success-
|
|
10677
|
+
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
10678
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11624
10679
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
11625
10680
|
}
|
|
11626
10681
|
:where(.ui-toast)[data-ui-toast-state~="tone=warning"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast]) {
|
|
11627
|
-
--_ui-toast-accent: var(--ui-warning-
|
|
10682
|
+
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
10683
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11628
10684
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
11629
10685
|
}
|
|
11630
10686
|
:where(.ui-toast)[data-ui-toast-state~="tone=danger"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast]) {
|
|
11631
|
-
--_ui-toast-accent: var(--ui-danger-
|
|
10687
|
+
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
10688
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11632
10689
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
11633
10690
|
}
|
|
11634
10691
|
.message:where(:scope, :scope *):where([data-hn-ui-toast]) {
|
|
@@ -11643,34 +10700,8 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11643
10700
|
}
|
|
11644
10701
|
}
|
|
11645
10702
|
|
|
11646
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
11647
|
-
@property --ui-toast-region-surface {
|
|
11648
|
-
syntax: "*";
|
|
11649
|
-
inherits: false;
|
|
11650
|
-
}
|
|
11651
|
-
@property --ui-toast-region-border {
|
|
11652
|
-
syntax: "*";
|
|
11653
|
-
inherits: false;
|
|
11654
|
-
}
|
|
11655
|
-
@property --ui-toast-region-radius {
|
|
11656
|
-
syntax: "*";
|
|
11657
|
-
inherits: false;
|
|
11658
|
-
}
|
|
11659
|
-
@property --ui-toast-region-shadow {
|
|
11660
|
-
syntax: "*";
|
|
11661
|
-
inherits: false;
|
|
11662
|
-
}
|
|
11663
|
-
@property --ui-toast-region-enter-duration {
|
|
11664
|
-
syntax: "*";
|
|
11665
|
-
inherits: false;
|
|
11666
|
-
}
|
|
11667
|
-
@property --ui-toast-region-exit-duration {
|
|
11668
|
-
syntax: "*";
|
|
11669
|
-
inherits: false;
|
|
11670
|
-
}
|
|
11671
|
-
|
|
11672
10703
|
/* Leaving slides on down and fades; the controller removes the toast when this ends. */
|
|
11673
|
-
@keyframes ui-toast-enter-
|
|
10704
|
+
@keyframes ui-toast-enter-c9576f86 {
|
|
11674
10705
|
from {
|
|
11675
10706
|
opacity: 0;
|
|
11676
10707
|
transform: translateY(-1rem);
|
|
@@ -11680,7 +10711,7 @@ to {
|
|
|
11680
10711
|
transform: translateY(0);
|
|
11681
10712
|
}
|
|
11682
10713
|
}
|
|
11683
|
-
@keyframes ui-toast-exit-
|
|
10714
|
+
@keyframes ui-toast-exit-c9576f86 {
|
|
11684
10715
|
from {
|
|
11685
10716
|
opacity: 1;
|
|
11686
10717
|
transform: translateY(0);
|
|
@@ -11690,7 +10721,7 @@ to {
|
|
|
11690
10721
|
transform: translateY(0.75rem);
|
|
11691
10722
|
}
|
|
11692
10723
|
}
|
|
11693
|
-
@keyframes ui-toast-enter-bottom-
|
|
10724
|
+
@keyframes ui-toast-enter-bottom-c9576f86 {
|
|
11694
10725
|
from {
|
|
11695
10726
|
opacity: 0;
|
|
11696
10727
|
transform: translateY(1rem);
|
|
@@ -11700,7 +10731,7 @@ to {
|
|
|
11700
10731
|
transform: translateY(0);
|
|
11701
10732
|
}
|
|
11702
10733
|
}
|
|
11703
|
-
@keyframes ui-toast-exit-bottom-
|
|
10734
|
+
@keyframes ui-toast-exit-bottom-c9576f86 {
|
|
11704
10735
|
from {
|
|
11705
10736
|
opacity: 1;
|
|
11706
10737
|
transform: translateY(0);
|
|
@@ -11714,7 +10745,7 @@ to {
|
|
|
11714
10745
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11715
10746
|
@scope (.ui-toast-region) to ([data-hn]) {
|
|
11716
10747
|
:scope:where([data-hn-ui-toast-region]) {
|
|
11717
|
-
/*
|
|
10748
|
+
/* Resolve shared part values at the component root. */
|
|
11718
10749
|
--_ui-toast-region-surface: var(--ui-toast-region-surface);
|
|
11719
10750
|
--_ui-toast-region-border: var(--ui-toast-region-border);
|
|
11720
10751
|
--_ui-toast-region-radius: var(--ui-toast-region-radius);
|
|
@@ -11766,8 +10797,9 @@ to {
|
|
|
11766
10797
|
pointer-events: auto;
|
|
11767
10798
|
}
|
|
11768
10799
|
.toast:where([data-hn-ui-toast-region]) {
|
|
11769
|
-
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
11770
|
-
--_ui-
|
|
10800
|
+
--_ui-toast-region-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10801
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10802
|
+
--_ui-toast-region-tone-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11771
10803
|
display: grid !important;
|
|
11772
10804
|
grid-template-columns: 1fr auto;
|
|
11773
10805
|
gap: var(--ui-space-2) !important;
|
|
@@ -11782,7 +10814,7 @@ to {
|
|
|
11782
10814
|
--_ui-toast-region-surface,
|
|
11783
10815
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
11784
10816
|
);
|
|
11785
|
-
color: var(--
|
|
10817
|
+
color: var(--_ui-surface-text);
|
|
11786
10818
|
font-family: var(--ui-font-family-sans);
|
|
11787
10819
|
font-size: var(--ui-font-size-sm);
|
|
11788
10820
|
font-weight: var(--ui-font-normal);
|
|
@@ -11791,37 +10823,41 @@ to {
|
|
|
11791
10823
|
--_ui-toast-region-shadow,
|
|
11792
10824
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11793
10825
|
);
|
|
11794
|
-
animation: ui-toast-enter-
|
|
10826
|
+
animation: ui-toast-enter-c9576f86 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11795
10827
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11796
10828
|
}
|
|
11797
10829
|
.toast[data-tone="info"]:where([data-hn-ui-toast-region]) {
|
|
11798
|
-
--_ui-toast-region-accent: var(--ui-info-
|
|
10830
|
+
--_ui-toast-region-accent: var(--ui-info-soft-border);
|
|
10831
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11799
10832
|
--_ui-toast-region-tone-surface: var(--ui-info-soft);
|
|
11800
10833
|
}
|
|
11801
10834
|
.toast[data-tone="success"]:where([data-hn-ui-toast-region]) {
|
|
11802
|
-
--_ui-toast-region-accent: var(--ui-success-
|
|
10835
|
+
--_ui-toast-region-accent: var(--ui-success-soft-border);
|
|
10836
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11803
10837
|
--_ui-toast-region-tone-surface: var(--ui-success-soft);
|
|
11804
10838
|
}
|
|
11805
10839
|
.toast[data-tone="warning"]:where([data-hn-ui-toast-region]) {
|
|
11806
|
-
--_ui-toast-region-accent: var(--ui-warning-
|
|
10840
|
+
--_ui-toast-region-accent: var(--ui-warning-soft-border);
|
|
10841
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11807
10842
|
--_ui-toast-region-tone-surface: var(--ui-warning-soft);
|
|
11808
10843
|
}
|
|
11809
10844
|
.toast[data-tone="danger"]:where([data-hn-ui-toast-region]) {
|
|
11810
|
-
--_ui-toast-region-accent: var(--ui-danger-
|
|
10845
|
+
--_ui-toast-region-accent: var(--ui-danger-soft-border);
|
|
10846
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11811
10847
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11812
10848
|
}
|
|
11813
10849
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11814
|
-
animation: ui-toast-exit-
|
|
10850
|
+
animation: ui-toast-exit-c9576f86 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11815
10851
|
both;
|
|
11816
10852
|
pointer-events: none;
|
|
11817
10853
|
}
|
|
11818
10854
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11819
10855
|
.toast:where([data-hn-ui-toast-region]) {
|
|
11820
|
-
animation-name: ui-toast-enter-bottom-
|
|
10856
|
+
animation-name: ui-toast-enter-bottom-c9576f86;
|
|
11821
10857
|
}
|
|
11822
10858
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11823
10859
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11824
|
-
animation-name: ui-toast-exit-bottom-
|
|
10860
|
+
animation-name: ui-toast-exit-bottom-c9576f86;
|
|
11825
10861
|
}
|
|
11826
10862
|
@media (prefers-reduced-motion: reduce) {
|
|
11827
10863
|
.toast:where([data-hn-ui-toast-region]),.toast.closing:where([data-hn-ui-toast-region]) {
|
|
@@ -11841,7 +10877,7 @@ to {
|
|
|
11841
10877
|
}
|
|
11842
10878
|
@scope ([data-slotted~="ui-toast-region"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
11843
10879
|
:where(.ui-toast-region):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11844
|
-
/*
|
|
10880
|
+
/* Resolve shared part values at the component root. */
|
|
11845
10881
|
--_ui-toast-region-surface: var(--ui-toast-region-surface);
|
|
11846
10882
|
--_ui-toast-region-border: var(--ui-toast-region-border);
|
|
11847
10883
|
--_ui-toast-region-radius: var(--ui-toast-region-radius);
|
|
@@ -11890,8 +10926,9 @@ to {
|
|
|
11890
10926
|
bottom: calc(var(--ui-space-4) + env(safe-area-inset-bottom));
|
|
11891
10927
|
}
|
|
11892
10928
|
.toast:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11893
|
-
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
11894
|
-
--_ui-
|
|
10929
|
+
--_ui-toast-region-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10930
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10931
|
+
--_ui-toast-region-tone-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11895
10932
|
display: grid !important;
|
|
11896
10933
|
grid-template-columns: 1fr auto;
|
|
11897
10934
|
gap: var(--ui-space-2) !important;
|
|
@@ -11906,7 +10943,7 @@ to {
|
|
|
11906
10943
|
--_ui-toast-region-surface,
|
|
11907
10944
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
11908
10945
|
);
|
|
11909
|
-
color: var(--
|
|
10946
|
+
color: var(--_ui-surface-text);
|
|
11910
10947
|
font-family: var(--ui-font-family-sans);
|
|
11911
10948
|
font-size: var(--ui-font-size-sm);
|
|
11912
10949
|
font-weight: var(--ui-font-normal);
|
|
@@ -11915,37 +10952,41 @@ to {
|
|
|
11915
10952
|
--_ui-toast-region-shadow,
|
|
11916
10953
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11917
10954
|
);
|
|
11918
|
-
animation: ui-toast-enter-
|
|
10955
|
+
animation: ui-toast-enter-c9576f86 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11919
10956
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11920
10957
|
}
|
|
11921
10958
|
.toast[data-tone="info"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11922
|
-
--_ui-toast-region-accent: var(--ui-info-
|
|
10959
|
+
--_ui-toast-region-accent: var(--ui-info-soft-border);
|
|
10960
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11923
10961
|
--_ui-toast-region-tone-surface: var(--ui-info-soft);
|
|
11924
10962
|
}
|
|
11925
10963
|
.toast[data-tone="success"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11926
|
-
--_ui-toast-region-accent: var(--ui-success-
|
|
10964
|
+
--_ui-toast-region-accent: var(--ui-success-soft-border);
|
|
10965
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11927
10966
|
--_ui-toast-region-tone-surface: var(--ui-success-soft);
|
|
11928
10967
|
}
|
|
11929
10968
|
.toast[data-tone="warning"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11930
|
-
--_ui-toast-region-accent: var(--ui-warning-
|
|
10969
|
+
--_ui-toast-region-accent: var(--ui-warning-soft-border);
|
|
10970
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11931
10971
|
--_ui-toast-region-tone-surface: var(--ui-warning-soft);
|
|
11932
10972
|
}
|
|
11933
10973
|
.toast[data-tone="danger"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11934
|
-
--_ui-toast-region-accent: var(--ui-danger-
|
|
10974
|
+
--_ui-toast-region-accent: var(--ui-danger-soft-border);
|
|
10975
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11935
10976
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11936
10977
|
}
|
|
11937
10978
|
.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11938
|
-
animation: ui-toast-exit-
|
|
10979
|
+
animation: ui-toast-exit-c9576f86 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11939
10980
|
both;
|
|
11940
10981
|
pointer-events: none;
|
|
11941
10982
|
}
|
|
11942
10983
|
:is(:where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-start"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11943
10984
|
.toast:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11944
|
-
animation-name: ui-toast-enter-bottom-
|
|
10985
|
+
animation-name: ui-toast-enter-bottom-c9576f86;
|
|
11945
10986
|
}
|
|
11946
10987
|
:is(:where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-start"], :where(.ui-toast-region)[data-ui-toast-region-state~="placement=bottom-end"])
|
|
11947
10988
|
.toast.closing:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11948
|
-
animation-name: ui-toast-exit-bottom-
|
|
10989
|
+
animation-name: ui-toast-exit-bottom-c9576f86;
|
|
11949
10990
|
}
|
|
11950
10991
|
@media (prefers-reduced-motion: reduce) {
|
|
11951
10992
|
.toast:where(:scope, :scope *):where([data-hn-ui-toast-region]),.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
@@ -11964,42 +11005,12 @@ to {
|
|
|
11964
11005
|
}
|
|
11965
11006
|
}
|
|
11966
11007
|
|
|
11967
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
11968
|
-
@property --ui-top-bar-actions-gap {
|
|
11969
|
-
syntax: "*";
|
|
11970
|
-
inherits: false;
|
|
11971
|
-
}
|
|
11972
|
-
@property --ui-top-bar-border {
|
|
11973
|
-
syntax: "*";
|
|
11974
|
-
inherits: false;
|
|
11975
|
-
}
|
|
11976
|
-
@property --ui-top-bar-gap {
|
|
11977
|
-
syntax: "*";
|
|
11978
|
-
inherits: false;
|
|
11979
|
-
}
|
|
11980
|
-
@property --ui-top-bar-height {
|
|
11981
|
-
syntax: "*";
|
|
11982
|
-
inherits: false;
|
|
11983
|
-
}
|
|
11984
|
-
@property --ui-top-bar-padding-inline {
|
|
11985
|
-
syntax: "*";
|
|
11986
|
-
inherits: false;
|
|
11987
|
-
}
|
|
11988
|
-
@property --ui-top-bar-surface {
|
|
11989
|
-
syntax: "*";
|
|
11990
|
-
inherits: false;
|
|
11991
|
-
}
|
|
11992
|
-
@property --ui-top-bar-z-index {
|
|
11993
|
-
syntax: "*";
|
|
11994
|
-
inherits: false;
|
|
11995
|
-
}
|
|
11996
|
-
|
|
11997
11008
|
/* An unused region takes no space, so it adds no gap. */
|
|
11998
11009
|
|
|
11999
11010
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
12000
11011
|
@scope (.ui-top-bar) to ([data-hn]) {
|
|
12001
11012
|
:scope:where([data-hn-ui-top-bar]) {
|
|
12002
|
-
/*
|
|
11013
|
+
/* Resolve shared part values at the component root. */
|
|
12003
11014
|
--_ui-top-bar-actions-gap: var(--ui-top-bar-actions-gap);
|
|
12004
11015
|
|
|
12005
11016
|
position: sticky;
|
|
@@ -12042,22 +11053,8 @@ to {
|
|
|
12042
11053
|
}
|
|
12043
11054
|
}
|
|
12044
11055
|
|
|
12045
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
12046
|
-
@property --ui-tree-drop-color {
|
|
12047
|
-
syntax: "*";
|
|
12048
|
-
inherits: false;
|
|
12049
|
-
}
|
|
12050
|
-
@property --ui-tree-gutter {
|
|
12051
|
-
syntax: "*";
|
|
12052
|
-
inherits: false;
|
|
12053
|
-
}
|
|
12054
|
-
@property --ui-tree-indent {
|
|
12055
|
-
syntax: "*";
|
|
12056
|
-
inherits: false;
|
|
12057
|
-
}
|
|
12058
|
-
|
|
12059
11056
|
/* Reaches the items the way density does, so the setting lives on the tree the way a reader
|
|
12060
|
-
|
|
11057
|
+
thinks about it: this list scrolls its long names. */
|
|
12061
11058
|
|
|
12062
11059
|
/* The items' defaults for this density: an item's own hook still wins. */
|
|
12063
11060
|
|
|
@@ -12072,8 +11069,7 @@ to {
|
|
|
12072
11069
|
--_ui-default-tree-item-label-padding-block: 0;
|
|
12073
11070
|
}
|
|
12074
11071
|
:scope:where([data-hn-ui-tree]) {
|
|
12075
|
-
/*
|
|
12076
|
-
starts again from its own settings. */
|
|
11072
|
+
/* Resolve tree hooks here and reset private density defaults for nested trees. */
|
|
12077
11073
|
--_ui-tree-indent: var(--ui-tree-indent);
|
|
12078
11074
|
--_ui-tree-drop-color: var(--ui-tree-drop-color);
|
|
12079
11075
|
--_ui-default-tree-item-marquee: initial;
|
|
@@ -12096,28 +11092,6 @@ to {
|
|
|
12096
11092
|
}
|
|
12097
11093
|
}
|
|
12098
11094
|
|
|
12099
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
12100
|
-
@property --ui-tree-item-depth {
|
|
12101
|
-
syntax: "*";
|
|
12102
|
-
inherits: false;
|
|
12103
|
-
}
|
|
12104
|
-
@property --ui-tree-item-font-size {
|
|
12105
|
-
syntax: "*";
|
|
12106
|
-
inherits: false;
|
|
12107
|
-
}
|
|
12108
|
-
@property --ui-tree-item-label-padding-block {
|
|
12109
|
-
syntax: "*";
|
|
12110
|
-
inherits: false;
|
|
12111
|
-
}
|
|
12112
|
-
@property --ui-tree-item-label-padding-inline {
|
|
12113
|
-
syntax: "*";
|
|
12114
|
-
inherits: false;
|
|
12115
|
-
}
|
|
12116
|
-
@property --ui-tree-item-min-block-size {
|
|
12117
|
-
syntax: "*";
|
|
12118
|
-
inherits: false;
|
|
12119
|
-
}
|
|
12120
|
-
|
|
12121
11095
|
/* Selection is the same surface recipe as destination and choice rows. */
|
|
12122
11096
|
|
|
12123
11097
|
/* Child combinators: drop feedback belongs to this item's own row, not the rows nested in it. */
|
|
@@ -12146,7 +11120,7 @@ to {
|
|
|
12146
11120
|
slides, the label reaches back under the icon (the controller measures how far) with its text
|
|
12147
11121
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
12148
11122
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
12149
|
-
@keyframes ui-tree-item-marquee-
|
|
11123
|
+
@keyframes ui-tree-item-marquee-a1b4c079 {
|
|
12150
11124
|
from {
|
|
12151
11125
|
transform: translateX(0);
|
|
12152
11126
|
}
|
|
@@ -12167,7 +11141,7 @@ to {
|
|
|
12167
11141
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
12168
11142
|
@scope (.ui-tree-item) to ([data-hn]) {
|
|
12169
11143
|
:scope:where([data-hn-ui-tree-item]) {
|
|
12170
|
-
/*
|
|
11144
|
+
/* Resolve shared part values at the root. The tree's density
|
|
12171
11145
|
sets the defaults, in --_ui-default-*. */
|
|
12172
11146
|
--_ui-tree-item-min-block-size: var(
|
|
12173
11147
|
--ui-tree-item-min-block-size,
|
|
@@ -12403,7 +11377,7 @@ to {
|
|
|
12403
11377
|
.row[data-ui-marquee] > .label > .label-text:where([data-hn-ui-tree-item]) {
|
|
12404
11378
|
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
12405
11379
|
long enough to read rather than sliding back and forth. */
|
|
12406
|
-
animation: ui-tree-item-marquee-
|
|
11380
|
+
animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
12407
11381
|
will-change: transform;
|
|
12408
11382
|
}
|
|
12409
11383
|
.row[data-ui-marquee] > .label:where([data-hn-ui-tree-item]) {
|
|
@@ -12686,7 +11660,7 @@ html[data-ui-input-modality="touch"]
|
|
|
12686
11660
|
}
|
|
12687
11661
|
@scope ([data-slotted~="ui-tree-item"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
12688
11662
|
:where(.ui-tree-item):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item]) {
|
|
12689
|
-
/*
|
|
11663
|
+
/* Resolve shared part values at the root. The tree's density
|
|
12690
11664
|
sets the defaults, in --_ui-default-*. */
|
|
12691
11665
|
--_ui-tree-item-min-block-size: var(
|
|
12692
11666
|
--ui-tree-item-min-block-size,
|
|
@@ -12934,7 +11908,7 @@ html[data-ui-input-modality="touch"]
|
|
|
12934
11908
|
> .label-text:where([data-hn-ui-tree-item]) {
|
|
12935
11909
|
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
12936
11910
|
long enough to read rather than sliding back and forth. */
|
|
12937
|
-
animation: ui-tree-item-marquee-
|
|
11911
|
+
animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
12938
11912
|
will-change: transform;
|
|
12939
11913
|
}
|
|
12940
11914
|
.row[data-ui-marquee]:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item]) {
|
|
@@ -13935,81 +12909,7 @@ html[data-ui-input-modality="touch"]
|
|
|
13935
12909
|
[data-component~="ui-button"] { --html-next-scope-owner: "ui-button" !important; }
|
|
13936
12910
|
}
|
|
13937
12911
|
@scope ([data-component~="ui-button"]) to ([data-component], [data-slotted]) {
|
|
13938
|
-
|
|
13939
|
-
@property --ui-button-active-surface {
|
|
13940
|
-
syntax: "*";
|
|
13941
|
-
inherits: false;
|
|
13942
|
-
}
|
|
13943
|
-
@property --ui-button-border {
|
|
13944
|
-
syntax: "*";
|
|
13945
|
-
inherits: false;
|
|
13946
|
-
}
|
|
13947
|
-
@property --ui-button-disabled-filter {
|
|
13948
|
-
syntax: "*";
|
|
13949
|
-
inherits: false;
|
|
13950
|
-
}
|
|
13951
|
-
@property --ui-button-disabled-opacity {
|
|
13952
|
-
syntax: "*";
|
|
13953
|
-
inherits: false;
|
|
13954
|
-
}
|
|
13955
|
-
@property --ui-button-ghost-active-surface {
|
|
13956
|
-
syntax: "*";
|
|
13957
|
-
inherits: false;
|
|
13958
|
-
}
|
|
13959
|
-
@property --ui-button-ghost-hover-surface {
|
|
13960
|
-
syntax: "*";
|
|
13961
|
-
inherits: false;
|
|
13962
|
-
}
|
|
13963
|
-
@property --ui-button-ghost-text {
|
|
13964
|
-
syntax: "*";
|
|
13965
|
-
inherits: false;
|
|
13966
|
-
}
|
|
13967
|
-
@property --ui-button-hover-border {
|
|
13968
|
-
syntax: "*";
|
|
13969
|
-
inherits: false;
|
|
13970
|
-
}
|
|
13971
|
-
@property --ui-button-hover-surface {
|
|
13972
|
-
syntax: "*";
|
|
13973
|
-
inherits: false;
|
|
13974
|
-
}
|
|
13975
|
-
@property --ui-button-link-hover-text {
|
|
13976
|
-
syntax: "*";
|
|
13977
|
-
inherits: false;
|
|
13978
|
-
}
|
|
13979
|
-
@property --ui-button-link-text {
|
|
13980
|
-
syntax: "*";
|
|
13981
|
-
inherits: false;
|
|
13982
|
-
}
|
|
13983
|
-
@property --ui-button-min-block-size {
|
|
13984
|
-
syntax: "*";
|
|
13985
|
-
inherits: false;
|
|
13986
|
-
}
|
|
13987
|
-
@property --ui-button-radius {
|
|
13988
|
-
syntax: "*";
|
|
13989
|
-
inherits: false;
|
|
13990
|
-
}
|
|
13991
|
-
@property --ui-button-shadow {
|
|
13992
|
-
syntax: "*";
|
|
13993
|
-
inherits: false;
|
|
13994
|
-
}
|
|
13995
|
-
@property --ui-button-solid-shadow {
|
|
13996
|
-
syntax: "*";
|
|
13997
|
-
inherits: false;
|
|
13998
|
-
}
|
|
13999
|
-
@property --ui-button-surface {
|
|
14000
|
-
syntax: "*";
|
|
14001
|
-
inherits: false;
|
|
14002
|
-
}
|
|
14003
|
-
@property --ui-button-text {
|
|
14004
|
-
syntax: "*";
|
|
14005
|
-
inherits: false;
|
|
14006
|
-
}
|
|
14007
|
-
@property --ui-button-white-space {
|
|
14008
|
-
syntax: "*";
|
|
14009
|
-
inherits: false;
|
|
14010
|
-
}
|
|
14011
|
-
|
|
14012
|
-
:scope:where([data-component~="ui-button"]) {
|
|
12912
|
+
:scope:where([data-component~="ui-button"]) {
|
|
14013
12913
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
14014
12914
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
14015
12915
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -14262,10 +13162,36 @@ html[data-ui-input-modality="touch"]
|
|
|
14262
13162
|
|
|
14263
13163
|
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
14264
13164
|
destructive secondary action, not a special case. */
|
|
13165
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-secondary"] {
|
|
13166
|
+
--_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
13167
|
+
--_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
13168
|
+
--_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
13169
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
13170
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
13171
|
+
--_hue: var(--ui-accent-secondary);
|
|
13172
|
+
--_hue-hover: var(--ui-accent-secondary-hover);
|
|
13173
|
+
--_hue-active: var(--ui-accent-secondary-active);
|
|
13174
|
+
--_hue-text: var(--ui-accent-secondary-subtle-text);
|
|
13175
|
+
--_on-hue: var(--ui-accent-secondary-on-strong);
|
|
13176
|
+
}
|
|
13177
|
+
|
|
13178
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-tertiary"] {
|
|
13179
|
+
--_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
13180
|
+
--_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
13181
|
+
--_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
13182
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
13183
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
13184
|
+
--_hue: var(--ui-accent-tertiary);
|
|
13185
|
+
--_hue-hover: var(--ui-accent-tertiary-hover);
|
|
13186
|
+
--_hue-active: var(--ui-accent-tertiary-active);
|
|
13187
|
+
--_hue-text: var(--ui-accent-tertiary-subtle-text);
|
|
13188
|
+
--_on-hue: var(--ui-accent-tertiary-on-strong);
|
|
13189
|
+
}
|
|
13190
|
+
|
|
14265
13191
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"] {
|
|
14266
|
-
--_tone-border: var(--ui-
|
|
14267
|
-
--_tone-hover-border: var(--ui-
|
|
14268
|
-
--_tone-active-border: var(--ui-
|
|
13192
|
+
--_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
13193
|
+
--_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
13194
|
+
--_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
14269
13195
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
14270
13196
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
14271
13197
|
--_hue: var(--ui-text);
|
|
@@ -14278,18 +13204,20 @@ html[data-ui-input-modality="touch"]
|
|
|
14278
13204
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
14279
13205
|
border-color: var(--ui-button-border, var(--_tone-border));
|
|
14280
13206
|
background-color: var(--ui-button-surface, var(--ui-neutral-surface));
|
|
13207
|
+
box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
|
|
14281
13208
|
color: var(--ui-button-text, var(--ui-text));
|
|
14282
13209
|
}
|
|
14283
13210
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
14284
13211
|
border-color: var(--ui-button-border, var(--ui-control-border));
|
|
14285
13212
|
background-color: var(--ui-button-surface, transparent);
|
|
13213
|
+
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
14286
13214
|
}
|
|
14287
13215
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
14288
|
-
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover
|
|
13216
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
14289
13217
|
background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
|
|
14290
13218
|
}
|
|
14291
13219
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
14292
|
-
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover
|
|
13220
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
14293
13221
|
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
14294
13222
|
}
|
|
14295
13223
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
@@ -14515,9 +13443,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14515
13443
|
}
|
|
14516
13444
|
}
|
|
14517
13445
|
@scope ([data-component~="ui-button"]) to ([data-component]) {
|
|
14518
|
-
/*
|
|
14519
|
-
|
|
14520
|
-
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
13446
|
+
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
14521
13447
|
|
|
14522
13448
|
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
14523
13449
|
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
@@ -14574,17 +13500,17 @@ html[data-ui-input-modality="touch"]
|
|
|
14574
13500
|
@scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
|
|
14575
13501
|
:scope:where([data-component~="ui-affordance-scope"]) {
|
|
14576
13502
|
display: contents !important;
|
|
14577
|
-
--
|
|
14578
|
-
--
|
|
13503
|
+
--_ui-affordance-scope-engaged: 0;
|
|
13504
|
+
--_ui-affordance-scope-guide: 1;
|
|
14579
13505
|
}
|
|
14580
13506
|
|
|
14581
13507
|
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="engaged"] {
|
|
14582
|
-
--
|
|
13508
|
+
--_ui-affordance-scope-engaged: 1;
|
|
14583
13509
|
}
|
|
14584
13510
|
|
|
14585
13511
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
14586
13512
|
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="guide=none"] {
|
|
14587
|
-
--
|
|
13513
|
+
--_ui-affordance-scope-guide: 0;
|
|
14588
13514
|
}
|
|
14589
13515
|
|
|
14590
13516
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -14606,13 +13532,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14606
13532
|
[data-component~="ui-cluster"] { --html-next-scope-owner: "ui-cluster" !important; }
|
|
14607
13533
|
}
|
|
14608
13534
|
@scope ([data-component~="ui-cluster"]) to ([data-component], [data-slotted]) {
|
|
14609
|
-
|
|
14610
|
-
@property --ui-cluster-gap {
|
|
14611
|
-
syntax: "*";
|
|
14612
|
-
inherits: false;
|
|
14613
|
-
}
|
|
14614
|
-
|
|
14615
|
-
:scope:where([data-component~="ui-cluster"]) {
|
|
13535
|
+
:scope:where([data-component~="ui-cluster"]) {
|
|
14616
13536
|
--_layout-gap: var(--ui-space-3);
|
|
14617
13537
|
display: flex !important;
|
|
14618
13538
|
flex-wrap: wrap !important;
|
|
@@ -14694,9 +13614,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14694
13614
|
}
|
|
14695
13615
|
}
|
|
14696
13616
|
@scope ([data-component~="ui-cluster"]) to ([data-component]) {
|
|
14697
|
-
/*
|
|
14698
|
-
|
|
14699
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
13617
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
14700
13618
|
}
|
|
14701
13619
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
14702
13620
|
@supports (-moz-appearance: none) {
|
|
@@ -14707,38 +13625,8 @@ html[data-ui-input-modality="touch"]
|
|
|
14707
13625
|
[data-component~="ui-form-field"] { --html-next-scope-owner: "ui-form-field" !important; }
|
|
14708
13626
|
}
|
|
14709
13627
|
@scope ([data-component~="ui-form-field"]) to ([data-component], [data-slotted]) {
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
syntax: "*";
|
|
14713
|
-
inherits: false;
|
|
14714
|
-
}
|
|
14715
|
-
@property --ui-form-field-help-font-size {
|
|
14716
|
-
syntax: "*";
|
|
14717
|
-
inherits: false;
|
|
14718
|
-
}
|
|
14719
|
-
@property --ui-form-field-help-min-block-size {
|
|
14720
|
-
syntax: "*";
|
|
14721
|
-
inherits: false;
|
|
14722
|
-
}
|
|
14723
|
-
@property --ui-form-field-help-text {
|
|
14724
|
-
syntax: "*";
|
|
14725
|
-
inherits: false;
|
|
14726
|
-
}
|
|
14727
|
-
@property --ui-form-field-label-font-size {
|
|
14728
|
-
syntax: "*";
|
|
14729
|
-
inherits: false;
|
|
14730
|
-
}
|
|
14731
|
-
@property --ui-form-field-label-text {
|
|
14732
|
-
syntax: "*";
|
|
14733
|
-
inherits: false;
|
|
14734
|
-
}
|
|
14735
|
-
@property --ui-form-field-min-inline-size {
|
|
14736
|
-
syntax: "*";
|
|
14737
|
-
inherits: false;
|
|
14738
|
-
}
|
|
14739
|
-
|
|
14740
|
-
:scope:where([data-component~="ui-form-field"]) {
|
|
14741
|
-
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
13628
|
+
:scope:where([data-component~="ui-form-field"]) {
|
|
13629
|
+
/* Resolve shared part values at the component root. */
|
|
14742
13630
|
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
14743
13631
|
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
14744
13632
|
--_ui-form-field-label-text: var(--ui-form-field-label-text);
|
|
@@ -14763,7 +13651,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14763
13651
|
|
|
14764
13652
|
.label {
|
|
14765
13653
|
color: var(--_ui-form-field-label-text, var(--ui-text-secondary));
|
|
14766
|
-
font-size: var(--_ui-form-field-label-font-size, var(--ui-font-size-
|
|
13654
|
+
font-size: var(--_ui-form-field-label-font-size, var(--ui-field-label-font-size, var(--ui-font-size-md)));
|
|
14767
13655
|
}
|
|
14768
13656
|
|
|
14769
13657
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
@@ -14807,9 +13695,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14807
13695
|
}
|
|
14808
13696
|
}
|
|
14809
13697
|
@scope ([data-component~="ui-form-field"]) to ([data-component]) {
|
|
14810
|
-
/*
|
|
14811
|
-
|
|
14812
|
-
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
13698
|
+
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
14813
13699
|
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
14814
13700
|
|
|
14815
13701
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
@@ -14838,19 +13724,8 @@ html[data-ui-input-modality="touch"]
|
|
|
14838
13724
|
[data-component~="ui-icon"] { --html-next-scope-owner: "ui-icon" !important; }
|
|
14839
13725
|
}
|
|
14840
13726
|
@scope ([data-component~="ui-icon"]) to ([data-component], [data-slotted]) {
|
|
14841
|
-
|
|
14842
|
-
|
|
14843
|
-
syntax: "*";
|
|
14844
|
-
inherits: false;
|
|
14845
|
-
}
|
|
14846
|
-
@property --ui-icon-stroke-width {
|
|
14847
|
-
syntax: "*";
|
|
14848
|
-
inherits: false;
|
|
14849
|
-
}
|
|
14850
|
-
|
|
14851
|
-
:scope:where([data-component~="ui-icon"]) {
|
|
14852
|
-
/* Hooks do not inherit, so the svg reads the stroke from the root. A Looma component that
|
|
14853
|
-
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
13727
|
+
:scope:where([data-component~="ui-icon"]) {
|
|
13728
|
+
/* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
14854
13729
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
14855
13730
|
|
|
14856
13731
|
display: inline-flex !important;
|
|
@@ -14879,98 +13754,18 @@ html[data-ui-input-modality="touch"]
|
|
|
14879
13754
|
}
|
|
14880
13755
|
}
|
|
14881
13756
|
@scope ([data-component~="ui-icon"]) to ([data-component]) {
|
|
14882
|
-
/*
|
|
14883
|
-
|
|
14884
|
-
|
|
14885
|
-
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
}
|
|
14891
|
-
|
|
14892
|
-
[data-component~="ui-icon-button"]
|
|
14893
|
-
|
|
14894
|
-
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
14895
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
14896
|
-
@property --ui-icon-button-active-scale {
|
|
14897
|
-
syntax: "*";
|
|
14898
|
-
inherits: false;
|
|
14899
|
-
}
|
|
14900
|
-
@property --ui-icon-button-active-surface {
|
|
14901
|
-
syntax: "*";
|
|
14902
|
-
inherits: false;
|
|
14903
|
-
}
|
|
14904
|
-
@property --ui-icon-button-border {
|
|
14905
|
-
syntax: "*";
|
|
14906
|
-
inherits: false;
|
|
14907
|
-
}
|
|
14908
|
-
@property --ui-icon-button-disabled-filter {
|
|
14909
|
-
syntax: "*";
|
|
14910
|
-
inherits: false;
|
|
14911
|
-
}
|
|
14912
|
-
@property --ui-icon-button-disabled-opacity {
|
|
14913
|
-
syntax: "*";
|
|
14914
|
-
inherits: false;
|
|
14915
|
-
}
|
|
14916
|
-
@property --ui-icon-button-hover-border {
|
|
14917
|
-
syntax: "*";
|
|
14918
|
-
inherits: false;
|
|
14919
|
-
}
|
|
14920
|
-
@property --ui-icon-button-hover-surface {
|
|
14921
|
-
syntax: "*";
|
|
14922
|
-
inherits: false;
|
|
14923
|
-
}
|
|
14924
|
-
@property --ui-icon-button-hover-text {
|
|
14925
|
-
syntax: "*";
|
|
14926
|
-
inherits: false;
|
|
14927
|
-
}
|
|
14928
|
-
@property --ui-icon-button-icon-size {
|
|
14929
|
-
syntax: "*";
|
|
14930
|
-
inherits: false;
|
|
14931
|
-
}
|
|
14932
|
-
@property --ui-icon-button-icon-stroke-width {
|
|
14933
|
-
syntax: "*";
|
|
14934
|
-
inherits: false;
|
|
14935
|
-
}
|
|
14936
|
-
@property --ui-icon-button-outline-surface {
|
|
14937
|
-
syntax: "*";
|
|
14938
|
-
inherits: false;
|
|
14939
|
-
}
|
|
14940
|
-
@property --ui-icon-button-outline-text {
|
|
14941
|
-
syntax: "*";
|
|
14942
|
-
inherits: false;
|
|
14943
|
-
}
|
|
14944
|
-
@property --ui-icon-button-radius {
|
|
14945
|
-
syntax: "*";
|
|
14946
|
-
inherits: false;
|
|
14947
|
-
}
|
|
14948
|
-
@property --ui-icon-button-size {
|
|
14949
|
-
syntax: "*";
|
|
14950
|
-
inherits: false;
|
|
14951
|
-
}
|
|
14952
|
-
@property --ui-icon-button-solid-hover-surface {
|
|
14953
|
-
syntax: "*";
|
|
14954
|
-
inherits: false;
|
|
14955
|
-
}
|
|
14956
|
-
@property --ui-icon-button-solid-shadow {
|
|
14957
|
-
syntax: "*";
|
|
14958
|
-
inherits: false;
|
|
14959
|
-
}
|
|
14960
|
-
@property --ui-icon-button-solid-surface {
|
|
14961
|
-
syntax: "*";
|
|
14962
|
-
inherits: false;
|
|
14963
|
-
}
|
|
14964
|
-
@property --ui-icon-button-solid-text {
|
|
14965
|
-
syntax: "*";
|
|
14966
|
-
inherits: false;
|
|
14967
|
-
}
|
|
14968
|
-
@property --ui-icon-button-surface {
|
|
14969
|
-
syntax: "*";
|
|
14970
|
-
inherits: false;
|
|
14971
|
-
}
|
|
14972
|
-
|
|
14973
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
13757
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
13758
|
+
}
|
|
13759
|
+
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
13760
|
+
@supports (-moz-appearance: none) {
|
|
13761
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
13762
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
13763
|
+
}
|
|
13764
|
+
@supports (-moz-appearance: none) {
|
|
13765
|
+
[data-component~="ui-icon-button"] { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
13766
|
+
}
|
|
13767
|
+
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
13768
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
14974
13769
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
14975
13770
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
14976
13771
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -14987,7 +13782,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14987
13782
|
inset calc(-1 * var(--_ui-action-start)) -1px 0 light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.08))
|
|
14988
13783
|
);
|
|
14989
13784
|
--_ui-action-shadow: var(--_ui-action-edge), 0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
14990
|
-
/*
|
|
13785
|
+
/* Resolve shared part values at the component root. */
|
|
14991
13786
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
14992
13787
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
14993
13788
|
|
|
@@ -14999,6 +13794,40 @@ html[data-ui-input-modality="touch"]
|
|
|
14999
13794
|
--_ui-action-start: -1px;
|
|
15000
13795
|
}
|
|
15001
13796
|
|
|
13797
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-secondary"] {
|
|
13798
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
13799
|
+
--_solid-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
13800
|
+
--_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
13801
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
13802
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
13803
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
13804
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
13805
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
13806
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
13807
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-secondary-solid) 5%, var(--ui-surface-default));
|
|
13808
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
13809
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
13810
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
13811
|
+
color: var(--_icon-button-text);
|
|
13812
|
+
}
|
|
13813
|
+
|
|
13814
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-tertiary"] {
|
|
13815
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
13816
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
13817
|
+
--_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
13818
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
13819
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
13820
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
13821
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
13822
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
13823
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
13824
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-tertiary-solid) 5%, var(--ui-surface-default));
|
|
13825
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
13826
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
13827
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
13828
|
+
color: var(--_icon-button-text);
|
|
13829
|
+
}
|
|
13830
|
+
|
|
15002
13831
|
:scope:where([data-component~="ui-icon-button"])[data-tone="accent"] {
|
|
15003
13832
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
15004
13833
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
@@ -15081,17 +13910,17 @@ html[data-ui-input-modality="touch"]
|
|
|
15081
13910
|
color: var(--_icon-button-text);
|
|
15082
13911
|
}
|
|
15083
13912
|
|
|
15084
|
-
/* Neutral actions
|
|
13913
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
15085
13914
|
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"] {
|
|
15086
|
-
--_solid-border: var(--ui-
|
|
15087
|
-
--_solid-hover-border: var(--ui-
|
|
15088
|
-
--_solid-active-border: var(--ui-
|
|
13915
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
13916
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
13917
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
15089
13918
|
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
15090
13919
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
15091
13920
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
15092
13921
|
--_icon-button-outline-surface: transparent;
|
|
15093
13922
|
--_icon-button-border: var(--ui-control-border);
|
|
15094
|
-
--_icon-button-hover-border: var(--ui-control-border-hover
|
|
13923
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
15095
13924
|
--_icon-button-text: var(--ui-text);
|
|
15096
13925
|
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
15097
13926
|
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
@@ -15111,7 +13940,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15111
13940
|
block-size: var(--ui-affordance-guide-size);
|
|
15112
13941
|
border-radius: var(--ui-radius-round);
|
|
15113
13942
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
15114
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
13943
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
15115
13944
|
transform: translate(-50%, -50%);
|
|
15116
13945
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
15117
13946
|
pointer-events: none;
|
|
@@ -15272,6 +14101,14 @@ html[data-ui-input-modality="touch"]
|
|
|
15272
14101
|
var(--_tone-glow);
|
|
15273
14102
|
}
|
|
15274
14103
|
|
|
14104
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
14105
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
14106
|
+
}
|
|
14107
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
14108
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
14109
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
14110
|
+
}
|
|
14111
|
+
|
|
15275
14112
|
:scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
|
|
15276
14113
|
/* Derived from the text colour so the ghost hover shows on any background. */
|
|
15277
14114
|
background-color: var(--ui-icon-button-hover-surface, color-mix(in srgb, currentColor 8%, transparent));
|
|
@@ -15415,9 +14252,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15415
14252
|
}
|
|
15416
14253
|
}
|
|
15417
14254
|
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
|
15418
|
-
/*
|
|
15419
|
-
|
|
15420
|
-
/* Neutral actions share the same quiet surface and border roles as fields. */
|
|
14255
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
15421
14256
|
|
|
15422
14257
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
15423
14258
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
@@ -15463,17 +14298,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15463
14298
|
[data-component~="ui-list"] { --html-next-scope-owner: "ui-list" !important; }
|
|
15464
14299
|
}
|
|
15465
14300
|
@scope ([data-component~="ui-list"]) to ([data-component], [data-slotted]) {
|
|
15466
|
-
/*
|
|
15467
|
-
@property --ui-list-gap {
|
|
15468
|
-
syntax: "*";
|
|
15469
|
-
inherits: false;
|
|
15470
|
-
}
|
|
15471
|
-
@property --ui-list-min-item-width {
|
|
15472
|
-
syntax: "*";
|
|
15473
|
-
inherits: false;
|
|
15474
|
-
}
|
|
15475
|
-
|
|
15476
|
-
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
14301
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
15477
14302
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
15478
14303
|
markers. */
|
|
15479
14304
|
:scope:where([data-component~="ui-list"]) {
|
|
@@ -15525,9 +14350,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15525
14350
|
}
|
|
15526
14351
|
}
|
|
15527
14352
|
@scope ([data-component~="ui-list"]) to ([data-component]) {
|
|
15528
|
-
/*
|
|
15529
|
-
|
|
15530
|
-
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
14353
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
15531
14354
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
15532
14355
|
markers. */
|
|
15533
14356
|
|
|
@@ -15561,29 +14384,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15561
14384
|
[data-component~="ui-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
15562
14385
|
}
|
|
15563
14386
|
@scope ([data-component~="ui-menu"]) to ([data-component], [data-slotted]) {
|
|
15564
|
-
/*
|
|
15565
|
-
@property --ui-menu-surface {
|
|
15566
|
-
syntax: "*";
|
|
15567
|
-
inherits: false;
|
|
15568
|
-
}
|
|
15569
|
-
@property --ui-menu-border {
|
|
15570
|
-
syntax: "*";
|
|
15571
|
-
inherits: false;
|
|
15572
|
-
}
|
|
15573
|
-
@property --ui-menu-radius {
|
|
15574
|
-
syntax: "*";
|
|
15575
|
-
inherits: false;
|
|
15576
|
-
}
|
|
15577
|
-
@property --ui-menu-shadow {
|
|
15578
|
-
syntax: "*";
|
|
15579
|
-
inherits: false;
|
|
15580
|
-
}
|
|
15581
|
-
@property --ui-menu-viewport-gap {
|
|
15582
|
-
syntax: "*";
|
|
15583
|
-
inherits: false;
|
|
15584
|
-
}
|
|
15585
|
-
|
|
15586
|
-
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
14387
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
15587
14388
|
still win. */
|
|
15588
14389
|
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
15589
14390
|
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
@@ -15763,9 +14564,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15763
14564
|
}
|
|
15764
14565
|
}
|
|
15765
14566
|
@scope ([data-component~="ui-menu"]) to ([data-component]) {
|
|
15766
|
-
/*
|
|
15767
|
-
|
|
15768
|
-
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
14567
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
15769
14568
|
still win. */
|
|
15770
14569
|
|
|
15771
14570
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
@@ -15797,33 +14596,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15797
14596
|
[data-component~="ui-menu-item"] { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
15798
14597
|
}
|
|
15799
14598
|
@scope ([data-component~="ui-menu-item"]) to ([data-component], [data-slotted]) {
|
|
15800
|
-
|
|
15801
|
-
@property --ui-menu-item-font-size {
|
|
15802
|
-
syntax: "*";
|
|
15803
|
-
inherits: false;
|
|
15804
|
-
}
|
|
15805
|
-
@property --ui-menu-item-hover-surface {
|
|
15806
|
-
syntax: "*";
|
|
15807
|
-
inherits: false;
|
|
15808
|
-
}
|
|
15809
|
-
@property --ui-menu-item-min-block-size {
|
|
15810
|
-
syntax: "*";
|
|
15811
|
-
inherits: false;
|
|
15812
|
-
}
|
|
15813
|
-
@property --ui-menu-item-padding-block {
|
|
15814
|
-
syntax: "*";
|
|
15815
|
-
inherits: false;
|
|
15816
|
-
}
|
|
15817
|
-
@property --ui-menu-item-padding-inline {
|
|
15818
|
-
syntax: "*";
|
|
15819
|
-
inherits: false;
|
|
15820
|
-
}
|
|
15821
|
-
@property --ui-menu-item-radius {
|
|
15822
|
-
syntax: "*";
|
|
15823
|
-
inherits: false;
|
|
15824
|
-
}
|
|
15825
|
-
|
|
15826
|
-
:scope:where([data-component~="ui-menu-item"]) {
|
|
14599
|
+
:scope:where([data-component~="ui-menu-item"]) {
|
|
15827
14600
|
display: flex !important;
|
|
15828
14601
|
align-items: center !important;
|
|
15829
14602
|
gap: var(--ui-space-2) !important;
|
|
@@ -15962,9 +14735,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15962
14735
|
}
|
|
15963
14736
|
}
|
|
15964
14737
|
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
|
15965
|
-
/*
|
|
15966
|
-
|
|
15967
|
-
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
14738
|
+
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
15968
14739
|
|
|
15969
14740
|
.icon :where([data-slotted], [data-slotted] *):is(svg) {
|
|
15970
14741
|
inline-size: 100%;
|
|
@@ -15997,37 +14768,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15997
14768
|
[data-component~="ui-popover"] { --html-next-scope-owner: "ui-popover" !important; }
|
|
15998
14769
|
}
|
|
15999
14770
|
@scope ([data-component~="ui-popover"]) to ([data-component], [data-slotted]) {
|
|
16000
|
-
|
|
16001
|
-
@property --ui-popover-surface {
|
|
16002
|
-
syntax: "*";
|
|
16003
|
-
inherits: false;
|
|
16004
|
-
}
|
|
16005
|
-
@property --ui-popover-border {
|
|
16006
|
-
syntax: "*";
|
|
16007
|
-
inherits: false;
|
|
16008
|
-
}
|
|
16009
|
-
@property --ui-popover-radius {
|
|
16010
|
-
syntax: "*";
|
|
16011
|
-
inherits: false;
|
|
16012
|
-
}
|
|
16013
|
-
@property --ui-popover-shadow {
|
|
16014
|
-
syntax: "*";
|
|
16015
|
-
inherits: false;
|
|
16016
|
-
}
|
|
16017
|
-
@property --ui-popover-viewport-gap {
|
|
16018
|
-
syntax: "*";
|
|
16019
|
-
inherits: false;
|
|
16020
|
-
}
|
|
16021
|
-
@property --ui-popover-offset {
|
|
16022
|
-
syntax: "*";
|
|
16023
|
-
inherits: false;
|
|
16024
|
-
}
|
|
16025
|
-
@property --ui-popover-padding {
|
|
16026
|
-
syntax: "*";
|
|
16027
|
-
inherits: false;
|
|
16028
|
-
}
|
|
16029
|
-
|
|
16030
|
-
:scope:where([data-component~="ui-popover"]) {
|
|
14771
|
+
:scope:where([data-component~="ui-popover"]) {
|
|
16031
14772
|
--_ui-material-scale: 0.55;
|
|
16032
14773
|
--_ui-popover-surface: var(--ui-popover-surface);
|
|
16033
14774
|
--_ui-popover-border: var(--ui-popover-border);
|
|
@@ -16184,9 +14925,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16184
14925
|
}
|
|
16185
14926
|
}
|
|
16186
14927
|
@scope ([data-component~="ui-popover"]) to ([data-component]) {
|
|
16187
|
-
/*
|
|
16188
|
-
|
|
16189
|
-
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
14928
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
16190
14929
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
16191
14930
|
|
|
16192
14931
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
@@ -16215,13 +14954,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16215
14954
|
[data-component~="ui-stack"] { --html-next-scope-owner: "ui-stack" !important; }
|
|
16216
14955
|
}
|
|
16217
14956
|
@scope ([data-component~="ui-stack"]) to ([data-component], [data-slotted]) {
|
|
16218
|
-
|
|
16219
|
-
@property --ui-stack-height {
|
|
16220
|
-
syntax: "*";
|
|
16221
|
-
inherits: false;
|
|
16222
|
-
}
|
|
16223
|
-
|
|
16224
|
-
@property --ui-stack-gap {
|
|
14957
|
+
@property --_ui-stack-height {
|
|
16225
14958
|
syntax: "*";
|
|
16226
14959
|
inherits: false;
|
|
16227
14960
|
}
|
|
@@ -16231,7 +14964,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16231
14964
|
display: flex !important;
|
|
16232
14965
|
flex-direction: column !important;
|
|
16233
14966
|
align-items: stretch !important;
|
|
16234
|
-
gap: var(--ui-stack-gap, var(--_layout-gap)) !important;
|
|
14967
|
+
gap: var(--ui-stack-gap, calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5))) !important;
|
|
16235
14968
|
min-inline-size: 0;
|
|
16236
14969
|
max-inline-size: 100%;
|
|
16237
14970
|
margin: 0 !important;
|
|
@@ -16242,7 +14975,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16242
14975
|
min-block-size: 0;
|
|
16243
14976
|
}
|
|
16244
14977
|
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="height"] {
|
|
16245
|
-
block-size: calc(var(--
|
|
14978
|
+
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
16246
14979
|
min-block-size: 0;
|
|
16247
14980
|
}
|
|
16248
14981
|
|
|
@@ -16289,9 +15022,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16289
15022
|
}
|
|
16290
15023
|
}
|
|
16291
15024
|
@scope ([data-component~="ui-stack"]) to ([data-component]) {
|
|
16292
|
-
/*
|
|
16293
|
-
|
|
16294
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
15025
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
16295
15026
|
}
|
|
16296
15027
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
16297
15028
|
@supports (-moz-appearance: none) {
|
|
@@ -16312,7 +15043,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16312
15043
|
:scope:where([data-component~="ui-text"]) {
|
|
16313
15044
|
margin: 0 !important;
|
|
16314
15045
|
min-inline-size: 0;
|
|
16315
|
-
color:
|
|
15046
|
+
color: inherit;
|
|
16316
15047
|
text-align: start;
|
|
16317
15048
|
}
|
|
16318
15049
|
|
|
@@ -16353,6 +15084,14 @@ html[data-ui-input-modality="touch"]
|
|
|
16353
15084
|
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=muted"] {
|
|
16354
15085
|
color: var(--ui-text-muted);
|
|
16355
15086
|
}
|
|
15087
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-secondary"] {
|
|
15088
|
+
color: var(--ui-accent-secondary-subtle-text);
|
|
15089
|
+
}
|
|
15090
|
+
|
|
15091
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-tertiary"] {
|
|
15092
|
+
color: var(--ui-accent-tertiary-subtle-text);
|
|
15093
|
+
}
|
|
15094
|
+
|
|
16356
15095
|
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent"] {
|
|
16357
15096
|
color: var(--ui-accent-subtle-text);
|
|
16358
15097
|
}
|
|
@@ -16460,7 +15199,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16460
15199
|
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
16461
15200
|
colour. */
|
|
16462
15201
|
:scope:where([data-component~="ui-text"]) :where([data-slotted], [data-slotted] *):is(a) {
|
|
16463
|
-
color: var(--ui-accent-subtle-text);
|
|
15202
|
+
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
16464
15203
|
text-decoration: underline;
|
|
16465
15204
|
text-decoration-thickness: 0.06em;
|
|
16466
15205
|
text-underline-offset: 0.18em;
|
|
@@ -16479,51 +15218,9 @@ html[data-ui-input-modality="touch"]
|
|
|
16479
15218
|
[data-component~="ui-tooltip"] { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
16480
15219
|
}
|
|
16481
15220
|
@scope ([data-component~="ui-tooltip"]) to ([data-component], [data-slotted]) {
|
|
16482
|
-
|
|
16483
|
-
@property --ui-tooltip-arrow-size {
|
|
16484
|
-
syntax: "*";
|
|
16485
|
-
inherits: false;
|
|
16486
|
-
}
|
|
16487
|
-
@property --ui-tooltip-border {
|
|
16488
|
-
syntax: "*";
|
|
16489
|
-
inherits: false;
|
|
16490
|
-
}
|
|
16491
|
-
@property --ui-tooltip-inverse-surface {
|
|
16492
|
-
syntax: "*";
|
|
16493
|
-
inherits: false;
|
|
16494
|
-
}
|
|
16495
|
-
@property --ui-tooltip-inverse-text {
|
|
16496
|
-
syntax: "*";
|
|
16497
|
-
inherits: false;
|
|
16498
|
-
}
|
|
16499
|
-
@property --ui-tooltip-max-inline-size {
|
|
16500
|
-
syntax: "*";
|
|
16501
|
-
inherits: false;
|
|
16502
|
-
}
|
|
16503
|
-
@property --ui-tooltip-offset {
|
|
16504
|
-
syntax: "*";
|
|
16505
|
-
inherits: false;
|
|
16506
|
-
}
|
|
16507
|
-
@property --ui-tooltip-radius {
|
|
16508
|
-
syntax: "*";
|
|
16509
|
-
inherits: false;
|
|
16510
|
-
}
|
|
16511
|
-
@property --ui-tooltip-shadow {
|
|
16512
|
-
syntax: "*";
|
|
16513
|
-
inherits: false;
|
|
16514
|
-
}
|
|
16515
|
-
@property --ui-tooltip-surface {
|
|
16516
|
-
syntax: "*";
|
|
16517
|
-
inherits: false;
|
|
16518
|
-
}
|
|
16519
|
-
@property --ui-tooltip-text {
|
|
16520
|
-
syntax: "*";
|
|
16521
|
-
inherits: false;
|
|
16522
|
-
}
|
|
16523
|
-
|
|
16524
|
-
:scope:where([data-component~="ui-tooltip"]) {
|
|
15221
|
+
:scope:where([data-component~="ui-tooltip"]) {
|
|
16525
15222
|
--_ui-material-scale: 0.08;
|
|
16526
|
-
/*
|
|
15223
|
+
/* Resolve shared part values at the component root. */
|
|
16527
15224
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
16528
15225
|
--_ui-tooltip-max-inline-size: var(--ui-tooltip-max-inline-size);
|
|
16529
15226
|
--_ui-tooltip-radius: var(--ui-tooltip-radius);
|
|
@@ -16753,9 +15450,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16753
15450
|
}
|
|
16754
15451
|
}
|
|
16755
15452
|
@scope ([data-component~="ui-tooltip"]) to ([data-component]) {
|
|
16756
|
-
/*
|
|
16757
|
-
|
|
16758
|
-
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
15453
|
+
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
16759
15454
|
|
|
16760
15455
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
16761
15456
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
@@ -16795,22 +15490,8 @@ html[data-ui-input-modality="touch"]
|
|
|
16795
15490
|
[data-component~="ui-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
16796
15491
|
}
|
|
16797
15492
|
@scope ([data-component~="ui-checkbox"]) to ([data-component], [data-slotted]) {
|
|
16798
|
-
|
|
16799
|
-
|
|
16800
|
-
syntax: "*";
|
|
16801
|
-
inherits: false;
|
|
16802
|
-
}
|
|
16803
|
-
@property --ui-checkbox-invalid-border {
|
|
16804
|
-
syntax: "*";
|
|
16805
|
-
inherits: false;
|
|
16806
|
-
}
|
|
16807
|
-
@property --ui-checkbox-size {
|
|
16808
|
-
syntax: "*";
|
|
16809
|
-
inherits: false;
|
|
16810
|
-
}
|
|
16811
|
-
|
|
16812
|
-
:scope:where([data-component~="ui-checkbox"]) {
|
|
16813
|
-
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
15493
|
+
:scope:where([data-component~="ui-checkbox"]) {
|
|
15494
|
+
/* Resolve shared part values at the component root. */
|
|
16814
15495
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
16815
15496
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
16816
15497
|
|
|
@@ -17020,9 +15701,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17020
15701
|
}
|
|
17021
15702
|
}
|
|
17022
15703
|
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
|
17023
|
-
/*
|
|
17024
|
-
|
|
17025
|
-
/* The label, and under it an optional line saying what the choice means. */
|
|
15704
|
+
/* The label, and under it an optional line saying what the choice means. */
|
|
17026
15705
|
|
|
17027
15706
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
17028
15707
|
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
@@ -17048,23 +15727,9 @@ html[data-ui-input-modality="touch"]
|
|
|
17048
15727
|
[data-component~="ui-disclosure"] { --html-next-scope-owner: "ui-disclosure" !important; }
|
|
17049
15728
|
}
|
|
17050
15729
|
@scope ([data-component~="ui-disclosure"]) to ([data-component], [data-slotted]) {
|
|
17051
|
-
/*
|
|
17052
|
-
@property --ui-disclosure-trigger-min-block-size {
|
|
17053
|
-
syntax: "*";
|
|
17054
|
-
inherits: false;
|
|
17055
|
-
}
|
|
17056
|
-
@property --ui-disclosure-trigger-padding-block {
|
|
17057
|
-
syntax: "*";
|
|
17058
|
-
inherits: false;
|
|
17059
|
-
}
|
|
17060
|
-
@property --ui-disclosure-trigger-padding-inline {
|
|
17061
|
-
syntax: "*";
|
|
17062
|
-
inherits: false;
|
|
17063
|
-
}
|
|
17064
|
-
|
|
17065
|
-
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
15730
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
17066
15731
|
:scope:where([data-component~="ui-disclosure"]) {
|
|
17067
|
-
/*
|
|
15732
|
+
/* Resolve shared part values at the component root. */
|
|
17068
15733
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
17069
15734
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
17070
15735
|
--_ui-disclosure-trigger-padding-inline: var(--ui-disclosure-trigger-padding-inline);
|
|
@@ -17246,9 +15911,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17246
15911
|
}
|
|
17247
15912
|
}
|
|
17248
15913
|
@scope ([data-component~="ui-disclosure"]) to ([data-component]) {
|
|
17249
|
-
/*
|
|
17250
|
-
|
|
17251
|
-
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
15914
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
17252
15915
|
|
|
17253
15916
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
17254
15917
|
* select or combobox. Stacked disclosures share their dividers. */
|
|
@@ -17272,60 +15935,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17272
15935
|
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
17273
15936
|
}
|
|
17274
15937
|
@scope ([data-component~="ui-input"]) to ([data-component], [data-slotted]) {
|
|
17275
|
-
/*
|
|
17276
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
17277
|
-
@property --ui-input-border {
|
|
17278
|
-
syntax: "*";
|
|
17279
|
-
inherits: false;
|
|
17280
|
-
}
|
|
17281
|
-
@property --ui-input-border-hover {
|
|
17282
|
-
syntax: "*";
|
|
17283
|
-
inherits: false;
|
|
17284
|
-
}
|
|
17285
|
-
@property --ui-input-border-width {
|
|
17286
|
-
syntax: "*";
|
|
17287
|
-
inherits: false;
|
|
17288
|
-
}
|
|
17289
|
-
@property --ui-input-focus-border {
|
|
17290
|
-
syntax: "*";
|
|
17291
|
-
inherits: false;
|
|
17292
|
-
}
|
|
17293
|
-
@property --ui-input-focus-outline {
|
|
17294
|
-
syntax: "*";
|
|
17295
|
-
inherits: false;
|
|
17296
|
-
}
|
|
17297
|
-
@property --ui-input-focus-shadow {
|
|
17298
|
-
syntax: "*";
|
|
17299
|
-
inherits: false;
|
|
17300
|
-
}
|
|
17301
|
-
@property --ui-input-inline-size {
|
|
17302
|
-
syntax: "*";
|
|
17303
|
-
inherits: false;
|
|
17304
|
-
}
|
|
17305
|
-
@property --ui-input-invalid-border {
|
|
17306
|
-
syntax: "*";
|
|
17307
|
-
inherits: false;
|
|
17308
|
-
}
|
|
17309
|
-
@property --ui-input-invalid-focus-shadow {
|
|
17310
|
-
syntax: "*";
|
|
17311
|
-
inherits: false;
|
|
17312
|
-
}
|
|
17313
|
-
@property --ui-input-min-block-size {
|
|
17314
|
-
syntax: "*";
|
|
17315
|
-
inherits: false;
|
|
17316
|
-
}
|
|
17317
|
-
@property --ui-input-radius {
|
|
17318
|
-
syntax: "*";
|
|
17319
|
-
inherits: false;
|
|
17320
|
-
}
|
|
17321
|
-
@property --ui-input-shadow {
|
|
17322
|
-
syntax: "*";
|
|
17323
|
-
inherits: false;
|
|
17324
|
-
}
|
|
17325
|
-
@property --ui-input-surface {
|
|
17326
|
-
syntax: "*";
|
|
17327
|
-
inherits: false;
|
|
17328
|
-
}
|
|
15938
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
17329
15939
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
17330
15940
|
@property --_ui-input-stroke {
|
|
17331
15941
|
syntax: "<length>";
|
|
@@ -17363,7 +15973,10 @@ html[data-ui-input-modality="touch"]
|
|
|
17363
15973
|
|
|
17364
15974
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
17365
15975
|
:scope:where([data-component~="ui-input"]):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
17366
|
-
max-block-size: max(
|
|
15976
|
+
max-block-size: max(
|
|
15977
|
+
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
15978
|
+
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
15979
|
+
);
|
|
17367
15980
|
}
|
|
17368
15981
|
|
|
17369
15982
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
@@ -17458,8 +16071,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17458
16071
|
}
|
|
17459
16072
|
}
|
|
17460
16073
|
@scope ([data-component~="ui-input"]) to ([data-component]) {
|
|
17461
|
-
/*
|
|
17462
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
16074
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
17463
16075
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
17464
16076
|
|
|
17465
16077
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
@@ -17492,13 +16104,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17492
16104
|
[data-component~="ui-separator"] { --html-next-scope-owner: "ui-separator" !important; }
|
|
17493
16105
|
}
|
|
17494
16106
|
@scope ([data-component~="ui-separator"]) to ([data-component], [data-slotted]) {
|
|
17495
|
-
/*
|
|
17496
|
-
@property --ui-separator-color {
|
|
17497
|
-
syntax: "*";
|
|
17498
|
-
inherits: false;
|
|
17499
|
-
}
|
|
17500
|
-
|
|
17501
|
-
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
16107
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
17502
16108
|
:scope:where([data-component~="ui-separator"]) {
|
|
17503
16109
|
box-sizing: border-box !important;
|
|
17504
16110
|
align-self: stretch;
|
|
@@ -17534,9 +16140,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17534
16140
|
}
|
|
17535
16141
|
}
|
|
17536
16142
|
@scope ([data-component~="ui-separator"]) to ([data-component]) {
|
|
17537
|
-
/*
|
|
17538
|
-
|
|
17539
|
-
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
16143
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
17540
16144
|
}
|
|
17541
16145
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
17542
16146
|
@supports (-moz-appearance: none) {
|
|
@@ -17547,63 +16151,15 @@ html[data-ui-input-modality="touch"]
|
|
|
17547
16151
|
[data-component~="ui-callout"] { --html-next-scope-owner: "ui-callout" !important; }
|
|
17548
16152
|
}
|
|
17549
16153
|
@scope ([data-component~="ui-callout"]) to ([data-component], [data-slotted]) {
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
syntax: "*";
|
|
17553
|
-
inherits: false;
|
|
17554
|
-
}
|
|
17555
|
-
@property --ui-callout-border-width {
|
|
17556
|
-
syntax: "*";
|
|
17557
|
-
inherits: false;
|
|
17558
|
-
}
|
|
17559
|
-
@property --ui-callout-gap {
|
|
17560
|
-
syntax: "*";
|
|
17561
|
-
inherits: false;
|
|
17562
|
-
}
|
|
17563
|
-
@property --ui-callout-icon {
|
|
17564
|
-
syntax: "*";
|
|
17565
|
-
inherits: false;
|
|
17566
|
-
}
|
|
17567
|
-
@property --ui-callout-icon-column {
|
|
17568
|
-
syntax: "*";
|
|
17569
|
-
inherits: false;
|
|
17570
|
-
}
|
|
17571
|
-
@property --ui-callout-icon-size {
|
|
17572
|
-
syntax: "*";
|
|
17573
|
-
inherits: false;
|
|
17574
|
-
}
|
|
17575
|
-
@property --ui-callout-leading-border-width {
|
|
17576
|
-
syntax: "*";
|
|
17577
|
-
inherits: false;
|
|
17578
|
-
}
|
|
17579
|
-
@property --ui-callout-padding-block {
|
|
17580
|
-
syntax: "*";
|
|
17581
|
-
inherits: false;
|
|
17582
|
-
}
|
|
17583
|
-
@property --ui-callout-padding-inline {
|
|
17584
|
-
syntax: "*";
|
|
17585
|
-
inherits: false;
|
|
17586
|
-
}
|
|
17587
|
-
@property --ui-callout-surface {
|
|
17588
|
-
syntax: "*";
|
|
17589
|
-
inherits: false;
|
|
17590
|
-
}
|
|
17591
|
-
@property --ui-callout-text {
|
|
17592
|
-
syntax: "*";
|
|
17593
|
-
inherits: false;
|
|
17594
|
-
}
|
|
17595
|
-
|
|
17596
|
-
:scope:where([data-component~="ui-callout"]) {
|
|
17597
|
-
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
16154
|
+
:scope:where([data-component~="ui-callout"]) {
|
|
16155
|
+
/* Resolve shared part values at the component root. */
|
|
17598
16156
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
17599
16157
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
17600
16158
|
--_ui-callout-icon-size: var(--ui-callout-icon-size);
|
|
17601
16159
|
|
|
17602
|
-
|
|
17603
|
-
--_callout-
|
|
17604
|
-
|
|
17605
|
-
oklch(from var(--_callout-border) 25% min(c, 0.035) h)
|
|
17606
|
-
);
|
|
16160
|
+
--_callout-surface: var(--ui-info-soft);
|
|
16161
|
+
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
16162
|
+
--_ui-surface-text: var(--ui-callout-text, var(--_callout-tone-text));
|
|
17607
16163
|
--_ui-selection-context-surface: light-dark(
|
|
17608
16164
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
17609
16165
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -17614,8 +16170,8 @@ html[data-ui-input-modality="touch"]
|
|
|
17614
16170
|
);
|
|
17615
16171
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
17616
16172
|
|
|
17617
|
-
--_callout-border: var(--ui-info-
|
|
17618
|
-
--_callout-icon: var(--ui-info-
|
|
16173
|
+
--_callout-border: var(--ui-info-soft-border);
|
|
16174
|
+
--_callout-icon: var(--ui-info-subtle-text);
|
|
17619
16175
|
|
|
17620
16176
|
display: grid !important;
|
|
17621
16177
|
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
@@ -17625,13 +16181,12 @@ html[data-ui-input-modality="touch"]
|
|
|
17625
16181
|
padding-block: var(--ui-callout-padding-block, var(--ui-space-2)) !important;
|
|
17626
16182
|
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
17627
16183
|
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3)) !important;
|
|
17628
|
-
border: var(--ui-callout-border-width, var(--ui-border-width)) solid
|
|
17629
|
-
color-mix(in srgb, var(--ui-callout-border, var(--_callout-border)) 35%, transparent);
|
|
16184
|
+
border: var(--ui-callout-border-width, var(--ui-border-width)) solid var(--ui-callout-border, var(--_callout-border));
|
|
17630
16185
|
border-inline-start: var(--ui-callout-leading-border-width, var(--ui-callout-border-width, var(--ui-border-width))) solid
|
|
17631
|
-
|
|
16186
|
+
var(--ui-callout-border, var(--_callout-border));
|
|
17632
16187
|
border-radius: var(--ui-radius-md);
|
|
17633
16188
|
background: var(--ui-callout-surface, var(--_callout-surface));
|
|
17634
|
-
color: var(--ui-callout-text, var(--
|
|
16189
|
+
color: var(--ui-callout-text, var(--_ui-surface-text));
|
|
17635
16190
|
font-family: var(--ui-font-family-sans);
|
|
17636
16191
|
font-size: var(--ui-font-size-sm);
|
|
17637
16192
|
font-weight: var(--ui-font-normal);
|
|
@@ -17666,33 +16221,44 @@ html[data-ui-input-modality="touch"]
|
|
|
17666
16221
|
--_ui-selection-context-border: initial;
|
|
17667
16222
|
--_ui-selection-context-text: initial;
|
|
17668
16223
|
--_callout-surface: var(--ui-surface-muted);
|
|
16224
|
+
--_callout-tone-text: var(--ui-text-primary);
|
|
17669
16225
|
--_callout-border: var(--ui-border-strong);
|
|
17670
16226
|
--_callout-icon: var(--ui-text-secondary);
|
|
17671
16227
|
}
|
|
17672
16228
|
|
|
17673
16229
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
|
|
17674
|
-
--_callout-border: var(--ui-success-
|
|
17675
|
-
--_callout-
|
|
16230
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
16231
|
+
--_callout-surface: var(--ui-success-soft);
|
|
16232
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
16233
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
17676
16234
|
}
|
|
17677
16235
|
|
|
17678
16236
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
|
|
17679
|
-
--_callout-border: var(--ui-accent-
|
|
17680
|
-
--_callout-
|
|
16237
|
+
--_callout-border: var(--ui-accent-soft-border);
|
|
16238
|
+
--_callout-surface: var(--ui-accent-soft);
|
|
16239
|
+
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
16240
|
+
--_callout-icon: var(--ui-accent-subtle-text);
|
|
17681
16241
|
}
|
|
17682
16242
|
|
|
17683
16243
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
|
|
17684
|
-
--_callout-border: var(--ui-warning-
|
|
17685
|
-
--_callout-
|
|
16244
|
+
--_callout-border: var(--ui-warning-soft-border);
|
|
16245
|
+
--_callout-surface: var(--ui-warning-soft);
|
|
16246
|
+
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
16247
|
+
--_callout-icon: var(--ui-warning-subtle-text);
|
|
17686
16248
|
}
|
|
17687
16249
|
|
|
17688
16250
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
|
|
17689
|
-
--_callout-border: var(--ui-success-
|
|
17690
|
-
--_callout-
|
|
16251
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
16252
|
+
--_callout-surface: var(--ui-success-soft);
|
|
16253
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
16254
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
17691
16255
|
}
|
|
17692
16256
|
|
|
17693
16257
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=danger"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=caution"] {
|
|
17694
|
-
--_callout-border: var(--ui-danger-
|
|
17695
|
-
--_callout-
|
|
16258
|
+
--_callout-border: var(--ui-danger-soft-border);
|
|
16259
|
+
--_callout-surface: var(--ui-danger-soft);
|
|
16260
|
+
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
16261
|
+
--_callout-icon: var(--ui-danger-subtle-text);
|
|
17696
16262
|
}
|
|
17697
16263
|
|
|
17698
16264
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
@@ -17703,9 +16269,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17703
16269
|
}
|
|
17704
16270
|
}
|
|
17705
16271
|
@scope ([data-component~="ui-callout"]) to ([data-component]) {
|
|
17706
|
-
/*
|
|
17707
|
-
|
|
17708
|
-
/* One line box tall, so the icon centres on the first line of text. */
|
|
16272
|
+
/* One line box tall, so the icon centres on the first line of text. */
|
|
17709
16273
|
|
|
17710
16274
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
17711
16275
|
.content :where([data-slotted], [data-slotted] *):is(a) {
|