@threadlabs/looma 0.42.0 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +47 -21
- 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-mention-menu/ui-editor-mention-menu.js +3 -0
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +4 -0
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -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 +13 -11
- package/docs/card.html +2 -6
- package/docs/card.js +7 -37
- package/docs/catalog.json +821 -202
- package/docs/catalog.mjs +1 -1
- package/docs/customizer-render.mjs +27 -14
- package/docs/customizer.js +42 -9
- package/docs/documentation.css +3 -7
- package/docs/examples/ui-button/examples/08-loading.behavior.js +1 -1
- package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +1 -1
- package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +1 -0
- package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +81 -0
- package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +24 -0
- package/docs/examples/ui-search-shell/examples/00-preview.behavior.js +14 -0
- package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +7 -7
- package/docs/examples/ui-toast/examples/01-authored.behavior.js +2 -2
- package/docs/index.d.ts +1 -1
- package/docs/local-server.mjs +2 -5
- package/docs/palette.mjs +5 -4
- package/docs/pastoral.svg +54 -0
- package/docs/portrait.svg +15 -0
- package/docs/render.mjs +33 -3
- package/docs/site.mjs +22 -54
- 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 +42 -18
- 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/UiEditorTableOverlay.js +50 -36
- 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 +77 -26
- 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.d.ts +11 -1
- package/vue/UiEditorTableOverlay.vue +100 -65
- 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 +41 -13
- 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 +633 -2068
- package/vue/editor/index.js +7 -1
- package/docs/preview.js +0 -22
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)
|
|
@@ -1924,41 +1768,27 @@ html[data-ui-input-modality="touch"]
|
|
|
1924
1768
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
1925
1769
|
}
|
|
1926
1770
|
:scope[data-ui-card-state~="size=sm"]:where([data-hn-ui-card]) {
|
|
1927
|
-
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1928
|
-
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1771
|
+
inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1772
|
+
max-inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1929
1773
|
}
|
|
1930
1774
|
:scope[data-ui-card-state~="size=md"]:where([data-hn-ui-card]) {
|
|
1931
|
-
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1932
|
-
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1775
|
+
inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1776
|
+
max-inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1933
1777
|
}
|
|
1934
1778
|
:scope[data-ui-card-state~="size=lg"]:where([data-hn-ui-card]) {
|
|
1935
|
-
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1936
|
-
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
1779
|
+
inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1780
|
+
max-inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
1937
1781
|
}
|
|
1938
1782
|
:scope[hidden]:where([data-hn-ui-card]) {
|
|
1939
1783
|
display: none !important;
|
|
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;
|
|
@@ -7149,47 +6546,13 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
|
|
|
7149
6546
|
}
|
|
7150
6547
|
}
|
|
7151
6548
|
@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;
|
|
7173
|
-
}
|
|
7174
|
-
@property --ui-search-result-row-min-height {
|
|
7175
|
-
syntax: "*";
|
|
7176
|
-
inherits: false;
|
|
7177
|
-
}
|
|
7178
|
-
@property --ui-search-result-row-padding-block {
|
|
7179
|
-
syntax: "*";
|
|
7180
|
-
inherits: false;
|
|
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. */
|
|
@@ -7879,38 +7242,38 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
7879
7242
|
}
|
|
7880
7243
|
|
|
7881
7244
|
@scope (.ui-editor-table-overlay) to ([data-hn]) {
|
|
7882
|
-
:scope {
|
|
7245
|
+
:scope:where([data-hn-ui-editor-table-overlay]) {
|
|
7883
7246
|
display: block !important;
|
|
7884
7247
|
width: 100%;
|
|
7885
7248
|
height: 100%;
|
|
7886
7249
|
overflow: visible;
|
|
7887
7250
|
pointer-events: none;
|
|
7888
7251
|
}
|
|
7889
|
-
:scope {
|
|
7252
|
+
:scope:where([data-hn-ui-editor-table-overlay]) {
|
|
7890
7253
|
position: relative;
|
|
7891
7254
|
width: 100%;
|
|
7892
7255
|
height: 100%;
|
|
7893
7256
|
overflow: visible;
|
|
7894
7257
|
pointer-events: none;
|
|
7895
7258
|
}
|
|
7896
|
-
.rows,.cols {
|
|
7259
|
+
.rows:where([data-hn-ui-editor-table-overlay]),.cols:where([data-hn-ui-editor-table-overlay]) {
|
|
7897
7260
|
pointer-events: none;
|
|
7898
7261
|
position: absolute;
|
|
7899
7262
|
}
|
|
7900
|
-
.rows {
|
|
7263
|
+
.rows:where([data-hn-ui-editor-table-overlay]) {
|
|
7901
7264
|
inset: 0;
|
|
7902
7265
|
width: 100%;
|
|
7903
7266
|
}
|
|
7904
|
-
.cols {
|
|
7267
|
+
.cols:where([data-hn-ui-editor-table-overlay]) {
|
|
7905
7268
|
inset: 0;
|
|
7906
7269
|
height: 100%;
|
|
7907
7270
|
}
|
|
7908
|
-
.control {
|
|
7271
|
+
.control:where([data-hn-ui-editor-table-overlay]) {
|
|
7909
7272
|
position: absolute;
|
|
7910
7273
|
z-index: 1;
|
|
7911
7274
|
pointer-events: none;
|
|
7912
7275
|
}
|
|
7913
|
-
.handle {
|
|
7276
|
+
.handle:where([data-hn-ui-editor-table-overlay]) {
|
|
7914
7277
|
position: absolute;
|
|
7915
7278
|
display: inline-flex !important;
|
|
7916
7279
|
align-items: center !important;
|
|
@@ -7937,80 +7300,81 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
7937
7300
|
pointer-events: auto;
|
|
7938
7301
|
cursor: pointer;
|
|
7939
7302
|
}
|
|
7940
|
-
.handle {
|
|
7303
|
+
.handle:where([data-hn-ui-editor-table-overlay]) {
|
|
7941
7304
|
--_ui-default-icon-size: 14px;
|
|
7942
7305
|
--_ui-default-icon-stroke-width: 2;
|
|
7943
7306
|
}
|
|
7944
|
-
.handle[data-ui-proximity="near"],.control.active .handle,.handle:focus-visible {
|
|
7307
|
+
.handle[data-ui-proximity="near"]:where([data-hn-ui-editor-table-overlay]),.control.active .handle:where([data-hn-ui-editor-table-overlay]),.handle:focus-visible:where([data-hn-ui-editor-table-overlay]) {
|
|
7945
7308
|
opacity: 1;
|
|
7946
7309
|
scale: 1;
|
|
7947
7310
|
}
|
|
7948
|
-
.control.active .handle,.handle:focus-visible {
|
|
7311
|
+
.control.active .handle:where([data-hn-ui-editor-table-overlay]),.handle:focus-visible:where([data-hn-ui-editor-table-overlay]) {
|
|
7949
7312
|
border-color: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
7950
7313
|
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
7951
7314
|
color: var(--ui-text-on-accent);
|
|
7952
7315
|
box-shadow: var(--ui-shadow-sm, 0 1px 3px rgb(0 0 0 / 0.1));
|
|
7953
7316
|
}
|
|
7954
|
-
.handle:focus-visible,.selector:focus-visible,.cell-menu:focus-visible {
|
|
7317
|
+
.handle:focus-visible:where([data-hn-ui-editor-table-overlay]),.selector:focus-visible:where([data-hn-ui-editor-table-overlay]),.cell-menu:focus-visible:where([data-hn-ui-editor-table-overlay]) {
|
|
7955
7318
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
7956
7319
|
outline-offset: var(--ui-focus-width);
|
|
7957
7320
|
}
|
|
7958
|
-
.control.row {
|
|
7321
|
+
.control.row:where([data-hn-ui-editor-table-overlay]) {
|
|
7959
7322
|
left: 0;
|
|
7960
7323
|
width: 100%;
|
|
7961
7324
|
height: 0;
|
|
7962
7325
|
}
|
|
7963
|
-
.control.row .handle {
|
|
7326
|
+
.control.row .handle:where([data-hn-ui-editor-table-overlay]) {
|
|
7964
7327
|
top: -12px;
|
|
7965
7328
|
left: -30px;
|
|
7966
7329
|
}
|
|
7967
|
-
.control.col {
|
|
7330
|
+
.control.col:where([data-hn-ui-editor-table-overlay]) {
|
|
7968
7331
|
top: 0;
|
|
7969
7332
|
width: 0;
|
|
7970
7333
|
height: 100%;
|
|
7971
7334
|
}
|
|
7972
|
-
.control.col .handle {
|
|
7335
|
+
.control.col .handle:where([data-hn-ui-editor-table-overlay]) {
|
|
7973
7336
|
top: -30px;
|
|
7974
7337
|
left: -12px;
|
|
7975
7338
|
}
|
|
7976
|
-
.line {
|
|
7339
|
+
.line:where([data-hn-ui-editor-table-overlay]) {
|
|
7977
7340
|
position: absolute;
|
|
7978
7341
|
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
7979
7342
|
opacity: 0;
|
|
7980
7343
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
7981
7344
|
}
|
|
7982
|
-
.control.row .line {
|
|
7345
|
+
.control.row .line:where([data-hn-ui-editor-table-overlay]) {
|
|
7983
7346
|
inset: calc(-0.5 * var(--ui-accent-line-width)) 0 auto;
|
|
7984
7347
|
height: var(--ui-accent-line-width);
|
|
7985
7348
|
}
|
|
7986
|
-
.control.col .line {
|
|
7349
|
+
.control.col .line:where([data-hn-ui-editor-table-overlay]) {
|
|
7987
7350
|
inset: 0 auto 0 calc(-0.5 * var(--ui-accent-line-width));
|
|
7988
7351
|
width: var(--ui-accent-line-width);
|
|
7989
7352
|
}
|
|
7990
|
-
.control.active .line {
|
|
7353
|
+
.control.active .line:where([data-hn-ui-editor-table-overlay]) {
|
|
7991
7354
|
opacity: 0.8;
|
|
7992
7355
|
}
|
|
7993
|
-
.guide {
|
|
7356
|
+
.guide:where([data-hn-ui-editor-table-overlay]) {
|
|
7994
7357
|
position: absolute;
|
|
7995
7358
|
width: var(--ui-affordance-guide-size);
|
|
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
|
-
.control.row .guide {
|
|
7365
|
+
.control.row .guide:where([data-hn-ui-editor-table-overlay]) {
|
|
8003
7366
|
left: -10px;
|
|
8004
7367
|
top: -2px;
|
|
8005
7368
|
}
|
|
8006
|
-
.control.col .guide {
|
|
7369
|
+
.control.col .guide:where([data-hn-ui-editor-table-overlay]) {
|
|
8007
7370
|
left: -2px;
|
|
8008
7371
|
top: -10px;
|
|
8009
7372
|
}
|
|
8010
|
-
.control:has(.handle[data-ui-proximity="near"])
|
|
7373
|
+
.control:has(.handle[data-ui-proximity="near"])
|
|
7374
|
+
.guide:where([data-hn-ui-editor-table-overlay]),.control.active .guide:where([data-hn-ui-editor-table-overlay]) {
|
|
8011
7375
|
opacity: 0;
|
|
8012
7376
|
}
|
|
8013
|
-
.tooltip {
|
|
7377
|
+
.tooltip:where([data-hn-ui-editor-table-overlay]) {
|
|
8014
7378
|
position: absolute;
|
|
8015
7379
|
z-index: 2;
|
|
8016
7380
|
top: calc(100% + 6px);
|
|
@@ -8029,16 +7393,16 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8029
7393
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8030
7394
|
pointer-events: none;
|
|
8031
7395
|
}
|
|
8032
|
-
.control.row .tooltip {
|
|
7396
|
+
.control.row .tooltip:where([data-hn-ui-editor-table-overlay]) {
|
|
8033
7397
|
top: 50%;
|
|
8034
7398
|
left: auto;
|
|
8035
7399
|
right: calc(100% + 8px);
|
|
8036
7400
|
transform: translateY(-50%);
|
|
8037
7401
|
}
|
|
8038
|
-
.control.active .tooltip,.handle:focus-visible .tooltip {
|
|
7402
|
+
.control.active .tooltip:where([data-hn-ui-editor-table-overlay]),.handle:focus-visible .tooltip:where([data-hn-ui-editor-table-overlay]) {
|
|
8039
7403
|
opacity: 1;
|
|
8040
7404
|
}
|
|
8041
|
-
.selector,.cell-menu {
|
|
7405
|
+
.selector:where([data-hn-ui-editor-table-overlay]),.cell-menu:where([data-hn-ui-editor-table-overlay]) {
|
|
8042
7406
|
position: absolute;
|
|
8043
7407
|
z-index: 2;
|
|
8044
7408
|
display: inline-flex !important;
|
|
@@ -8057,31 +7421,31 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8057
7421
|
border-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
8058
7422
|
box-shadow var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8059
7423
|
}
|
|
8060
|
-
.selector:hover,.cell-menu:hover {
|
|
7424
|
+
.selector:hover:where([data-hn-ui-editor-table-overlay]),.cell-menu:hover:where([data-hn-ui-editor-table-overlay]) {
|
|
8061
7425
|
background: var(--ui-surface-muted);
|
|
8062
7426
|
color: var(--ui-text-primary);
|
|
8063
7427
|
box-shadow: var(--ui-shadow-xs, 0 1px 2px rgb(0 0 0 / 0.05));
|
|
8064
7428
|
}
|
|
8065
|
-
.selector {
|
|
7429
|
+
.selector:where([data-hn-ui-editor-table-overlay]) {
|
|
8066
7430
|
border-radius: var(--ui-radius-round);
|
|
8067
7431
|
touch-action: none;
|
|
8068
7432
|
cursor: grab;
|
|
8069
7433
|
}
|
|
8070
|
-
.selector:active {
|
|
7434
|
+
.selector:active:where([data-hn-ui-editor-table-overlay]) {
|
|
8071
7435
|
cursor: grabbing;
|
|
8072
7436
|
}
|
|
8073
|
-
.selector::before {
|
|
7437
|
+
.selector:where([data-hn-ui-editor-table-overlay])::before {
|
|
8074
7438
|
content: "";
|
|
8075
7439
|
position: absolute;
|
|
8076
7440
|
inset: 50% auto auto 50%;
|
|
8077
7441
|
border-radius: var(--ui-radius-round);
|
|
8078
7442
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
8079
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
7443
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
8080
7444
|
transform: translate(-50%, -50%);
|
|
8081
7445
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8082
7446
|
pointer-events: none;
|
|
8083
7447
|
}
|
|
8084
|
-
.selector .glyph {
|
|
7448
|
+
.selector .glyph:where([data-hn-ui-editor-table-overlay]) {
|
|
8085
7449
|
display: block !important;
|
|
8086
7450
|
width: 14px;
|
|
8087
7451
|
height: 14px;
|
|
@@ -8093,73 +7457,73 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8093
7457
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
8094
7458
|
transform var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
8095
7459
|
}
|
|
8096
|
-
.selector:hover::before,.selector:focus-visible::before {
|
|
7460
|
+
.selector:hover:where([data-hn-ui-editor-table-overlay])::before,.selector:focus-visible:where([data-hn-ui-editor-table-overlay])::before {
|
|
8097
7461
|
opacity: 0;
|
|
8098
7462
|
}
|
|
8099
|
-
.selector:hover .glyph,.selector:focus-visible .glyph {
|
|
7463
|
+
.selector:hover .glyph:where([data-hn-ui-editor-table-overlay]),.selector:focus-visible .glyph:where([data-hn-ui-editor-table-overlay]) {
|
|
8100
7464
|
opacity: 1;
|
|
8101
7465
|
transform: scale(1);
|
|
8102
7466
|
}
|
|
8103
|
-
.selector.row {
|
|
7467
|
+
.selector.row:where([data-hn-ui-editor-table-overlay]) {
|
|
8104
7468
|
left: -9px;
|
|
8105
7469
|
width: 18px;
|
|
8106
7470
|
height: 32px;
|
|
8107
7471
|
transform: translateY(-50%);
|
|
8108
7472
|
}
|
|
8109
|
-
.selector.row::before {
|
|
7473
|
+
.selector.row:where([data-hn-ui-editor-table-overlay])::before {
|
|
8110
7474
|
width: 2px;
|
|
8111
7475
|
height: 16px;
|
|
8112
7476
|
}
|
|
8113
|
-
.selector.column {
|
|
7477
|
+
.selector.column:where([data-hn-ui-editor-table-overlay]) {
|
|
8114
7478
|
top: -9px;
|
|
8115
7479
|
width: 32px;
|
|
8116
7480
|
height: 18px;
|
|
8117
7481
|
transform: translateX(-50%);
|
|
8118
7482
|
}
|
|
8119
|
-
.selector.column::before {
|
|
7483
|
+
.selector.column:where([data-hn-ui-editor-table-overlay])::before {
|
|
8120
7484
|
width: 16px;
|
|
8121
7485
|
height: 2px;
|
|
8122
7486
|
}
|
|
8123
7487
|
@media (hover: none), (pointer: coarse) {
|
|
8124
|
-
.selector::before {
|
|
7488
|
+
.selector:where([data-hn-ui-editor-table-overlay])::before {
|
|
8125
7489
|
opacity: 0;
|
|
8126
7490
|
}
|
|
8127
|
-
.selector .glyph {
|
|
7491
|
+
.selector .glyph:where([data-hn-ui-editor-table-overlay]) {
|
|
8128
7492
|
opacity: 1;
|
|
8129
7493
|
transform: none;
|
|
8130
7494
|
}
|
|
8131
7495
|
}
|
|
8132
|
-
.cell-menu {
|
|
7496
|
+
.cell-menu:where([data-hn-ui-editor-table-overlay]) {
|
|
8133
7497
|
width: 24px;
|
|
8134
7498
|
height: 24px;
|
|
8135
7499
|
border-radius: var(--ui-radius-sm);
|
|
8136
7500
|
background: color-mix(in srgb, var(--ui-surface-muted) 78%, transparent);
|
|
8137
7501
|
}
|
|
8138
|
-
.cell-menu {
|
|
7502
|
+
.cell-menu:where([data-hn-ui-editor-table-overlay]) {
|
|
8139
7503
|
--_ui-default-icon-size: 15px;
|
|
8140
7504
|
--_ui-default-icon-stroke-width: 2;
|
|
8141
7505
|
}
|
|
8142
|
-
.drop-indicator {
|
|
7506
|
+
.drop-indicator:where([data-hn-ui-editor-table-overlay]) {
|
|
8143
7507
|
position: absolute;
|
|
8144
7508
|
z-index: 3;
|
|
8145
7509
|
background: var(--ui-accent-solid);
|
|
8146
7510
|
box-shadow: 0 0 0 var(--ui-border-width) var(--ui-surface);
|
|
8147
7511
|
pointer-events: none;
|
|
8148
7512
|
}
|
|
8149
|
-
.drop-indicator.row {
|
|
7513
|
+
.drop-indicator.row:where([data-hn-ui-editor-table-overlay]) {
|
|
8150
7514
|
left: 0;
|
|
8151
7515
|
width: 100%;
|
|
8152
7516
|
height: var(--ui-accent-line-width);
|
|
8153
7517
|
}
|
|
8154
|
-
.drop-indicator.column {
|
|
7518
|
+
.drop-indicator.column:where([data-hn-ui-editor-table-overlay]) {
|
|
8155
7519
|
top: 0;
|
|
8156
7520
|
width: var(--ui-accent-line-width);
|
|
8157
7521
|
height: 100%;
|
|
8158
7522
|
}
|
|
8159
|
-
.drop-indicator[hidden] {
|
|
7523
|
+
.drop-indicator[hidden]:where([data-hn-ui-editor-table-overlay]) {
|
|
8160
7524
|
display: none !important;
|
|
8161
7525
|
}
|
|
8162
|
-
:scope[hidden] {
|
|
7526
|
+
:scope[hidden]:where([data-hn-ui-editor-table-overlay]) {
|
|
8163
7527
|
display: none !important;
|
|
8164
7528
|
}
|
|
8165
7529
|
}
|
|
@@ -8325,20 +7689,6 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8325
7689
|
}
|
|
8326
7690
|
}
|
|
8327
7691
|
|
|
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
7692
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8343
7693
|
@scope (.ui-floating-action-button) to ([data-hn]) {
|
|
8344
7694
|
:scope:where([data-hn-ui-floating-action-button]) {
|
|
@@ -8406,16 +7756,6 @@ ul:where([data-hn-ui-editor-slash-menu-group]) {
|
|
|
8406
7756
|
}
|
|
8407
7757
|
}
|
|
8408
7758
|
|
|
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
7759
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8420
7760
|
@scope (.ui-grid) to ([data-hn]) {
|
|
8421
7761
|
:scope:where([data-hn-ui-grid]) {
|
|
@@ -8856,19 +8196,9 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8856
8196
|
}
|
|
8857
8197
|
}
|
|
8858
8198
|
|
|
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
8199
|
/* 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
|
-
|
|
8200
|
+
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
8201
|
+
markers. */
|
|
8872
8202
|
|
|
8873
8203
|
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
8874
8204
|
|
|
@@ -8931,33 +8261,15 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8931
8261
|
}
|
|
8932
8262
|
}
|
|
8933
8263
|
|
|
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
8264
|
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8265
|
+
slot), one line about it (description), and what it offers (trailing, such as a button or a
|
|
8266
|
+
badge). The title and description are one line each and end in an ellipsis, so every item in a
|
|
8267
|
+
list has the same height.
|
|
8956
8268
|
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8269
|
+
A link in the title is the whole item: its hit area stretches over the item, so the icon and the
|
|
8270
|
+
padding follow it too, and the item takes the link's focus ring. The link stays a real link, so
|
|
8271
|
+
a router, a modified click, and "open in new tab" all work. Trailing controls sit above it and
|
|
8272
|
+
stay their own. */
|
|
8961
8273
|
|
|
8962
8274
|
/* Framed cards already have their own edge; the stronger focus ring stays separate. */
|
|
8963
8275
|
|
|
@@ -8972,7 +8284,7 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
8972
8284
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8973
8285
|
@scope (.ui-list-item) to ([data-hn]) {
|
|
8974
8286
|
:scope:where([data-hn-ui-list-item]) {
|
|
8975
|
-
/*
|
|
8287
|
+
/* Resolve shared part values at the component root. */
|
|
8976
8288
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
8977
8289
|
|
|
8978
8290
|
position: relative;
|
|
@@ -9111,27 +8423,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9111
8423
|
}
|
|
9112
8424
|
}
|
|
9113
8425
|
|
|
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
8426
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
9136
8427
|
@scope (.ui-listbox) to ([data-hn]) {
|
|
9137
8428
|
:scope:where([data-hn-ui-listbox]) {
|
|
@@ -9286,10 +8577,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9286
8577
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
9287
8578
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
9288
8579
|
track and the page. */
|
|
9289
|
-
@property --ui-meter-inline-size {
|
|
9290
|
-
syntax: "*";
|
|
9291
|
-
inherits: false;
|
|
9292
|
-
}
|
|
9293
8580
|
|
|
9294
8581
|
/* Segments: the track and its fill show through a mask of equal segments with a gap between them.
|
|
9295
8582
|
A mask over the whole meter, rather than one element per segment, because the expression
|
|
@@ -9334,6 +8621,12 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9334
8621
|
background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
|
|
9335
8622
|
box-shadow: inset 0 1px rgb(255 255 255 / 0.26), inset 0 -1px rgb(0 0 0 / 0.1);
|
|
9336
8623
|
}
|
|
8624
|
+
:scope[data-ui-meter-state~="tone=accent-secondary"] {
|
|
8625
|
+
--_meter-fill: var(--ui-accent-secondary-solid);
|
|
8626
|
+
}
|
|
8627
|
+
:scope[data-ui-meter-state~="tone=accent-tertiary"] {
|
|
8628
|
+
--_meter-fill: var(--ui-accent-tertiary-solid);
|
|
8629
|
+
}
|
|
9337
8630
|
:scope[data-ui-meter-state~="tone=accent"] {
|
|
9338
8631
|
--_meter-fill: var(--ui-accent-solid);
|
|
9339
8632
|
}
|
|
@@ -9443,28 +8736,10 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9443
8736
|
}
|
|
9444
8737
|
}
|
|
9445
8738
|
|
|
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
8739
|
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
8740
|
+
default slot), and an optional line under it (description), such as the record a section
|
|
8741
|
+
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
8742
|
+
navigation has the same height and the rail never grows sideways. */
|
|
9468
8743
|
|
|
9469
8744
|
/* The ring is an outline, drawn inside the item: forced colors keep an outline where they drop a
|
|
9470
8745
|
box shadow, and a scrolling rail cannot clip a ring that stays within the item. */
|
|
@@ -9679,16 +8954,6 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9679
8954
|
}
|
|
9680
8955
|
}
|
|
9681
8956
|
|
|
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
8957
|
/* The label, and under it an optional line saying what the choice means. */
|
|
9693
8958
|
|
|
9694
8959
|
/* The native radio retains grouping, validation and keyboard behavior.
|
|
@@ -9701,7 +8966,7 @@ path:where(:scope, :scope *):where([data-hn-ui-light-editor]) {
|
|
|
9701
8966
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
9702
8967
|
@scope (.ui-radio) to ([data-hn]) {
|
|
9703
8968
|
:scope:where([data-hn-ui-radio]) {
|
|
9704
|
-
/*
|
|
8969
|
+
/* Resolve shared part values at the component root. */
|
|
9705
8970
|
--_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
|
|
9706
8971
|
|
|
9707
8972
|
display: inline-flex !important;
|
|
@@ -9833,16 +9098,6 @@ input:where([data-hn-ui-radio])::after {
|
|
|
9833
9098
|
}
|
|
9834
9099
|
}
|
|
9835
9100
|
|
|
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
9101
|
/* Each end that hides items fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
|
|
9847
9102
|
|
|
9848
9103
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -9928,54 +9183,12 @@ input:where([data-hn-ui-radio])::after {
|
|
|
9928
9183
|
}
|
|
9929
9184
|
}
|
|
9930
9185
|
|
|
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
9186
|
/* Laid out like the dialog's action row: actions right-aligned, spaced as buttons, no fill. */
|
|
9974
9187
|
|
|
9975
9188
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
9976
9189
|
@scope (.ui-search-shell) to ([data-hn]) {
|
|
9977
9190
|
:scope:where([data-hn-ui-search-shell]) {
|
|
9978
|
-
/*
|
|
9191
|
+
/* Resolve shared part values at the component root. */
|
|
9979
9192
|
--_ui-search-shell-z-index: var(--ui-search-shell-z-index);
|
|
9980
9193
|
--_ui-search-shell-padding-top: var(--ui-search-shell-padding-top);
|
|
9981
9194
|
--_ui-search-shell-viewport-gap: var(--ui-search-shell-viewport-gap);
|
|
@@ -10216,48 +9429,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10216
9429
|
}
|
|
10217
9430
|
}
|
|
10218
9431
|
|
|
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
9432
|
/* The select draws its own chevron: the native caret cannot be inset or sized consistently.
|
|
10262
9433
|
* The root stays a native <s-lect>, so the icon is a background image rather than an element. */
|
|
10263
9434
|
|
|
@@ -10390,12 +9561,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10390
9561
|
}
|
|
10391
9562
|
}
|
|
10392
9563
|
|
|
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
9564
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
10400
9565
|
@scope (.ui-separator) to ([data-hn]) {
|
|
10401
9566
|
:scope {
|
|
@@ -10434,30 +9599,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10434
9599
|
}
|
|
10435
9600
|
}
|
|
10436
9601
|
|
|
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
9602
|
/* The panel's content scrolls, and each edge that hides content fades: the scroll fade every
|
|
10460
|
-
|
|
9603
|
+
Looma scroller uses (see ui-scroll-area). */
|
|
10461
9604
|
|
|
10462
9605
|
/* Collapsed while docked. */
|
|
10463
9606
|
|
|
@@ -10468,7 +9611,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10468
9611
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
10469
9612
|
@scope (.ui-sidebar) to ([data-hn]) {
|
|
10470
9613
|
:scope:where([data-hn-ui-sidebar]) {
|
|
10471
|
-
/*
|
|
9614
|
+
/* Resolve shared part values at the component root. */
|
|
10472
9615
|
--_ui-sidebar-backdrop: var(--ui-sidebar-backdrop);
|
|
10473
9616
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
10474
9617
|
|
|
@@ -10571,7 +9714,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10571
9714
|
var(--ui-affordance-guide-color, var(--ui-border-strong)) 45%,
|
|
10572
9715
|
transparent
|
|
10573
9716
|
);
|
|
10574
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
9717
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
10575
9718
|
transition:
|
|
10576
9719
|
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
10577
9720
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
@@ -10650,30 +9793,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10650
9793
|
}
|
|
10651
9794
|
}
|
|
10652
9795
|
|
|
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
9796
|
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
10678
9797
|
/* Without a supplied menu trigger, keep the destinations available on narrow screens. */
|
|
10679
9798
|
@scope (.ui-site-header) to ([data-hn]) {
|
|
@@ -10808,15 +9927,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10808
9927
|
}
|
|
10809
9928
|
}
|
|
10810
9929
|
|
|
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
9930
|
@property --_ui-skeleton-viewport-x {
|
|
10821
9931
|
syntax: "<length>";
|
|
10822
9932
|
inherits: false;
|
|
@@ -10827,7 +9937,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10827
9937
|
inherits: false;
|
|
10828
9938
|
initial-value: 1;
|
|
10829
9939
|
}
|
|
10830
|
-
@keyframes ui-skeleton-shimmer-
|
|
9940
|
+
@keyframes ui-skeleton-shimmer-cc093de4 {
|
|
10831
9941
|
to {
|
|
10832
9942
|
background-position: calc(100vw / var(--_ui-skeleton-paint-scale) - var(--_ui-skeleton-paint-x))
|
|
10833
9943
|
0;
|
|
@@ -10882,7 +9992,7 @@ to {
|
|
|
10882
9992
|
background-size: calc(100vw / var(--_ui-skeleton-paint-scale)) 100%;
|
|
10883
9993
|
background-position: calc(0vw - var(--_ui-skeleton-paint-x)) 0;
|
|
10884
9994
|
background-repeat: repeat-x;
|
|
10885
|
-
animation: ui-skeleton-shimmer-
|
|
9995
|
+
animation: ui-skeleton-shimmer-cc093de4 3s linear infinite;
|
|
10886
9996
|
}
|
|
10887
9997
|
@media (prefers-reduced-motion: reduce) {
|
|
10888
9998
|
:scope[data-ui-skeleton-state~="animated"]::before {
|
|
@@ -11006,20 +10116,6 @@ input {
|
|
|
11006
10116
|
}
|
|
11007
10117
|
}
|
|
11008
10118
|
|
|
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
10119
|
/* The label, and under it an optional line saying what the choice means. */
|
|
11024
10120
|
|
|
11025
10121
|
/* A sized switch keeps its track and aligns instead: the label takes that size's field type size,
|
|
@@ -11029,7 +10125,7 @@ input {
|
|
|
11029
10125
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11030
10126
|
@scope (.ui-switch) to ([data-hn]) {
|
|
11031
10127
|
:scope:where([data-hn-ui-switch]) {
|
|
11032
|
-
/*
|
|
10128
|
+
/* Resolve shared part values at the component root. */
|
|
11033
10129
|
--_ui-switch-track-width: var(--ui-switch-track-width, var(--ui-choice-track-width));
|
|
11034
10130
|
--_ui-switch-track-height: var(--ui-switch-track-height, var(--ui-choice-track-height));
|
|
11035
10131
|
|
|
@@ -11167,16 +10263,6 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11167
10263
|
}
|
|
11168
10264
|
}
|
|
11169
10265
|
|
|
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
10266
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11181
10267
|
@scope (.ui-switcher) to ([data-hn]) {
|
|
11182
10268
|
:scope:where([data-hn-ui-switcher]) {
|
|
@@ -11352,24 +10438,6 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11352
10438
|
}
|
|
11353
10439
|
}
|
|
11354
10440
|
|
|
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
10441
|
/* Density resolves into the tab row's own values; the public tokens still override them. */
|
|
11374
10442
|
|
|
11375
10443
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high. */
|
|
@@ -11379,7 +10447,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11379
10447
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11380
10448
|
@scope (.ui-tabs) to ([data-hn]) {
|
|
11381
10449
|
:scope:where([data-hn-ui-tabs]) {
|
|
11382
|
-
/*
|
|
10450
|
+
/* Resolve shared part values at the component root. */
|
|
11383
10451
|
--_ui-tabs-tab-min-block-size: var(--ui-tabs-tab-min-block-size);
|
|
11384
10452
|
--_ui-tabs-tab-padding-block: var(--ui-tabs-tab-padding-block);
|
|
11385
10453
|
--_ui-tabs-tab-padding-inline: var(--ui-tabs-tab-padding-inline);
|
|
@@ -11493,41 +10561,22 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11493
10561
|
> :where(:not([data-hn-ui-tabs])):is(button[slot="tab"][aria-selected="true"]) {
|
|
11494
10562
|
border-inline-end-color: var(--ui-accent-subtle-text);
|
|
11495
10563
|
}
|
|
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;
|
|
10564
|
+
@media (prefers-reduced-motion: reduce) {
|
|
10565
|
+
.list button:where([data-hn-ui-tabs]),.list > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"]) {
|
|
10566
|
+
transition: none;
|
|
11518
10567
|
}
|
|
11519
|
-
@property --ui-toast-shadow {
|
|
11520
|
-
syntax: "*";
|
|
11521
|
-
inherits: false;
|
|
11522
10568
|
}
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
10569
|
+
:scope[hidden]:where([data-hn-ui-tabs]) {
|
|
10570
|
+
display: none !important;
|
|
10571
|
+
}
|
|
11526
10572
|
}
|
|
10573
|
+
|
|
10574
|
+
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
11527
10575
|
@scope (.ui-toast) to ([data-hn]) {
|
|
11528
10576
|
:scope:where([data-hn-ui-toast]) {
|
|
11529
|
-
--_ui-toast-accent: var(--ui-border-strong);
|
|
11530
|
-
--_ui-
|
|
10577
|
+
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10578
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10579
|
+
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11531
10580
|
|
|
11532
10581
|
display: flex !important;
|
|
11533
10582
|
align-items: center !important;
|
|
@@ -11545,7 +10594,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11545
10594
|
);
|
|
11546
10595
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
11547
10596
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
11548
|
-
color: var(--
|
|
10597
|
+
color: var(--_ui-surface-text);
|
|
11549
10598
|
font-family: var(--ui-font-family-sans);
|
|
11550
10599
|
font-size: var(--ui-font-size-sm);
|
|
11551
10600
|
font-weight: var(--ui-font-normal);
|
|
@@ -11557,19 +10606,23 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11557
10606
|
pointer-events: auto;
|
|
11558
10607
|
}
|
|
11559
10608
|
:scope[data-ui-toast-state~="tone=info"]:where([data-hn-ui-toast]) {
|
|
11560
|
-
--_ui-toast-accent: var(--ui-info-
|
|
10609
|
+
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
10610
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11561
10611
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
11562
10612
|
}
|
|
11563
10613
|
:scope[data-ui-toast-state~="tone=success"]:where([data-hn-ui-toast]) {
|
|
11564
|
-
--_ui-toast-accent: var(--ui-success-
|
|
10614
|
+
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
10615
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11565
10616
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
11566
10617
|
}
|
|
11567
10618
|
:scope[data-ui-toast-state~="tone=warning"]:where([data-hn-ui-toast]) {
|
|
11568
|
-
--_ui-toast-accent: var(--ui-warning-
|
|
10619
|
+
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
10620
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11569
10621
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
11570
10622
|
}
|
|
11571
10623
|
:scope[data-ui-toast-state~="tone=danger"]:where([data-hn-ui-toast]) {
|
|
11572
|
-
--_ui-toast-accent: var(--ui-danger-
|
|
10624
|
+
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
10625
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11573
10626
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
11574
10627
|
}
|
|
11575
10628
|
.message:where([data-hn-ui-toast]) {
|
|
@@ -11585,8 +10638,9 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11585
10638
|
}
|
|
11586
10639
|
@scope ([data-slotted~="ui-toast"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
11587
10640
|
: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-
|
|
10641
|
+
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10642
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10643
|
+
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11590
10644
|
|
|
11591
10645
|
display: flex !important;
|
|
11592
10646
|
align-items: center !important;
|
|
@@ -11604,7 +10658,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11604
10658
|
);
|
|
11605
10659
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
11606
10660
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
11607
|
-
color: var(--
|
|
10661
|
+
color: var(--_ui-surface-text);
|
|
11608
10662
|
font-family: var(--ui-font-family-sans);
|
|
11609
10663
|
font-size: var(--ui-font-size-sm);
|
|
11610
10664
|
font-weight: var(--ui-font-normal);
|
|
@@ -11616,19 +10670,23 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11616
10670
|
pointer-events: auto;
|
|
11617
10671
|
}
|
|
11618
10672
|
: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-
|
|
10673
|
+
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
10674
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11620
10675
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
11621
10676
|
}
|
|
11622
10677
|
: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-
|
|
10678
|
+
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
10679
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11624
10680
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
11625
10681
|
}
|
|
11626
10682
|
: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-
|
|
10683
|
+
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
10684
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11628
10685
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
11629
10686
|
}
|
|
11630
10687
|
: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-
|
|
10688
|
+
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
10689
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11632
10690
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
11633
10691
|
}
|
|
11634
10692
|
.message:where(:scope, :scope *):where([data-hn-ui-toast]) {
|
|
@@ -11643,34 +10701,8 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
11643
10701
|
}
|
|
11644
10702
|
}
|
|
11645
10703
|
|
|
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
10704
|
/* Leaving slides on down and fades; the controller removes the toast when this ends. */
|
|
11673
|
-
@keyframes ui-toast-enter-
|
|
10705
|
+
@keyframes ui-toast-enter-c9576f86 {
|
|
11674
10706
|
from {
|
|
11675
10707
|
opacity: 0;
|
|
11676
10708
|
transform: translateY(-1rem);
|
|
@@ -11680,7 +10712,7 @@ to {
|
|
|
11680
10712
|
transform: translateY(0);
|
|
11681
10713
|
}
|
|
11682
10714
|
}
|
|
11683
|
-
@keyframes ui-toast-exit-
|
|
10715
|
+
@keyframes ui-toast-exit-c9576f86 {
|
|
11684
10716
|
from {
|
|
11685
10717
|
opacity: 1;
|
|
11686
10718
|
transform: translateY(0);
|
|
@@ -11690,7 +10722,7 @@ to {
|
|
|
11690
10722
|
transform: translateY(0.75rem);
|
|
11691
10723
|
}
|
|
11692
10724
|
}
|
|
11693
|
-
@keyframes ui-toast-enter-bottom-
|
|
10725
|
+
@keyframes ui-toast-enter-bottom-c9576f86 {
|
|
11694
10726
|
from {
|
|
11695
10727
|
opacity: 0;
|
|
11696
10728
|
transform: translateY(1rem);
|
|
@@ -11700,7 +10732,7 @@ to {
|
|
|
11700
10732
|
transform: translateY(0);
|
|
11701
10733
|
}
|
|
11702
10734
|
}
|
|
11703
|
-
@keyframes ui-toast-exit-bottom-
|
|
10735
|
+
@keyframes ui-toast-exit-bottom-c9576f86 {
|
|
11704
10736
|
from {
|
|
11705
10737
|
opacity: 1;
|
|
11706
10738
|
transform: translateY(0);
|
|
@@ -11714,7 +10746,7 @@ to {
|
|
|
11714
10746
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
11715
10747
|
@scope (.ui-toast-region) to ([data-hn]) {
|
|
11716
10748
|
:scope:where([data-hn-ui-toast-region]) {
|
|
11717
|
-
/*
|
|
10749
|
+
/* Resolve shared part values at the component root. */
|
|
11718
10750
|
--_ui-toast-region-surface: var(--ui-toast-region-surface);
|
|
11719
10751
|
--_ui-toast-region-border: var(--ui-toast-region-border);
|
|
11720
10752
|
--_ui-toast-region-radius: var(--ui-toast-region-radius);
|
|
@@ -11766,8 +10798,9 @@ to {
|
|
|
11766
10798
|
pointer-events: auto;
|
|
11767
10799
|
}
|
|
11768
10800
|
.toast:where([data-hn-ui-toast-region]) {
|
|
11769
|
-
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
11770
|
-
--_ui-
|
|
10801
|
+
--_ui-toast-region-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10802
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10803
|
+
--_ui-toast-region-tone-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11771
10804
|
display: grid !important;
|
|
11772
10805
|
grid-template-columns: 1fr auto;
|
|
11773
10806
|
gap: var(--ui-space-2) !important;
|
|
@@ -11782,7 +10815,7 @@ to {
|
|
|
11782
10815
|
--_ui-toast-region-surface,
|
|
11783
10816
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
11784
10817
|
);
|
|
11785
|
-
color: var(--
|
|
10818
|
+
color: var(--_ui-surface-text);
|
|
11786
10819
|
font-family: var(--ui-font-family-sans);
|
|
11787
10820
|
font-size: var(--ui-font-size-sm);
|
|
11788
10821
|
font-weight: var(--ui-font-normal);
|
|
@@ -11791,37 +10824,41 @@ to {
|
|
|
11791
10824
|
--_ui-toast-region-shadow,
|
|
11792
10825
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11793
10826
|
);
|
|
11794
|
-
animation: ui-toast-enter-
|
|
10827
|
+
animation: ui-toast-enter-c9576f86 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11795
10828
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11796
10829
|
}
|
|
11797
10830
|
.toast[data-tone="info"]:where([data-hn-ui-toast-region]) {
|
|
11798
|
-
--_ui-toast-region-accent: var(--ui-info-
|
|
10831
|
+
--_ui-toast-region-accent: var(--ui-info-soft-border);
|
|
10832
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11799
10833
|
--_ui-toast-region-tone-surface: var(--ui-info-soft);
|
|
11800
10834
|
}
|
|
11801
10835
|
.toast[data-tone="success"]:where([data-hn-ui-toast-region]) {
|
|
11802
|
-
--_ui-toast-region-accent: var(--ui-success-
|
|
10836
|
+
--_ui-toast-region-accent: var(--ui-success-soft-border);
|
|
10837
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11803
10838
|
--_ui-toast-region-tone-surface: var(--ui-success-soft);
|
|
11804
10839
|
}
|
|
11805
10840
|
.toast[data-tone="warning"]:where([data-hn-ui-toast-region]) {
|
|
11806
|
-
--_ui-toast-region-accent: var(--ui-warning-
|
|
10841
|
+
--_ui-toast-region-accent: var(--ui-warning-soft-border);
|
|
10842
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11807
10843
|
--_ui-toast-region-tone-surface: var(--ui-warning-soft);
|
|
11808
10844
|
}
|
|
11809
10845
|
.toast[data-tone="danger"]:where([data-hn-ui-toast-region]) {
|
|
11810
|
-
--_ui-toast-region-accent: var(--ui-danger-
|
|
10846
|
+
--_ui-toast-region-accent: var(--ui-danger-soft-border);
|
|
10847
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11811
10848
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11812
10849
|
}
|
|
11813
10850
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11814
|
-
animation: ui-toast-exit-
|
|
10851
|
+
animation: ui-toast-exit-c9576f86 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11815
10852
|
both;
|
|
11816
10853
|
pointer-events: none;
|
|
11817
10854
|
}
|
|
11818
10855
|
: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
10856
|
.toast:where([data-hn-ui-toast-region]) {
|
|
11820
|
-
animation-name: ui-toast-enter-bottom-
|
|
10857
|
+
animation-name: ui-toast-enter-bottom-c9576f86;
|
|
11821
10858
|
}
|
|
11822
10859
|
: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
10860
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
11824
|
-
animation-name: ui-toast-exit-bottom-
|
|
10861
|
+
animation-name: ui-toast-exit-bottom-c9576f86;
|
|
11825
10862
|
}
|
|
11826
10863
|
@media (prefers-reduced-motion: reduce) {
|
|
11827
10864
|
.toast:where([data-hn-ui-toast-region]),.toast.closing:where([data-hn-ui-toast-region]) {
|
|
@@ -11841,7 +10878,7 @@ to {
|
|
|
11841
10878
|
}
|
|
11842
10879
|
@scope ([data-slotted~="ui-toast-region"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
11843
10880
|
:where(.ui-toast-region):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region]) {
|
|
11844
|
-
/*
|
|
10881
|
+
/* Resolve shared part values at the component root. */
|
|
11845
10882
|
--_ui-toast-region-surface: var(--ui-toast-region-surface);
|
|
11846
10883
|
--_ui-toast-region-border: var(--ui-toast-region-border);
|
|
11847
10884
|
--_ui-toast-region-radius: var(--ui-toast-region-radius);
|
|
@@ -11890,8 +10927,9 @@ to {
|
|
|
11890
10927
|
bottom: calc(var(--ui-space-4) + env(safe-area-inset-bottom));
|
|
11891
10928
|
}
|
|
11892
10929
|
.toast:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11893
|
-
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
11894
|
-
--_ui-
|
|
10930
|
+
--_ui-toast-region-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
10931
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
10932
|
+
--_ui-toast-region-tone-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
11895
10933
|
display: grid !important;
|
|
11896
10934
|
grid-template-columns: 1fr auto;
|
|
11897
10935
|
gap: var(--ui-space-2) !important;
|
|
@@ -11906,7 +10944,7 @@ to {
|
|
|
11906
10944
|
--_ui-toast-region-surface,
|
|
11907
10945
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
11908
10946
|
);
|
|
11909
|
-
color: var(--
|
|
10947
|
+
color: var(--_ui-surface-text);
|
|
11910
10948
|
font-family: var(--ui-font-family-sans);
|
|
11911
10949
|
font-size: var(--ui-font-size-sm);
|
|
11912
10950
|
font-weight: var(--ui-font-normal);
|
|
@@ -11915,37 +10953,41 @@ to {
|
|
|
11915
10953
|
--_ui-toast-region-shadow,
|
|
11916
10954
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
11917
10955
|
);
|
|
11918
|
-
animation: ui-toast-enter-
|
|
10956
|
+
animation: ui-toast-enter-c9576f86 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
11919
10957
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
11920
10958
|
}
|
|
11921
10959
|
.toast[data-tone="info"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11922
|
-
--_ui-toast-region-accent: var(--ui-info-
|
|
10960
|
+
--_ui-toast-region-accent: var(--ui-info-soft-border);
|
|
10961
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
11923
10962
|
--_ui-toast-region-tone-surface: var(--ui-info-soft);
|
|
11924
10963
|
}
|
|
11925
10964
|
.toast[data-tone="success"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11926
|
-
--_ui-toast-region-accent: var(--ui-success-
|
|
10965
|
+
--_ui-toast-region-accent: var(--ui-success-soft-border);
|
|
10966
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
11927
10967
|
--_ui-toast-region-tone-surface: var(--ui-success-soft);
|
|
11928
10968
|
}
|
|
11929
10969
|
.toast[data-tone="warning"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11930
|
-
--_ui-toast-region-accent: var(--ui-warning-
|
|
10970
|
+
--_ui-toast-region-accent: var(--ui-warning-soft-border);
|
|
10971
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
11931
10972
|
--_ui-toast-region-tone-surface: var(--ui-warning-soft);
|
|
11932
10973
|
}
|
|
11933
10974
|
.toast[data-tone="danger"]:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11934
|
-
--_ui-toast-region-accent: var(--ui-danger-
|
|
10975
|
+
--_ui-toast-region-accent: var(--ui-danger-soft-border);
|
|
10976
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
11935
10977
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
11936
10978
|
}
|
|
11937
10979
|
.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
11938
|
-
animation: ui-toast-exit-
|
|
10980
|
+
animation: ui-toast-exit-c9576f86 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
11939
10981
|
both;
|
|
11940
10982
|
pointer-events: none;
|
|
11941
10983
|
}
|
|
11942
10984
|
: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
10985
|
.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-
|
|
10986
|
+
animation-name: ui-toast-enter-bottom-c9576f86;
|
|
11945
10987
|
}
|
|
11946
10988
|
: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
10989
|
.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-
|
|
10990
|
+
animation-name: ui-toast-exit-bottom-c9576f86;
|
|
11949
10991
|
}
|
|
11950
10992
|
@media (prefers-reduced-motion: reduce) {
|
|
11951
10993
|
.toast:where(:scope, :scope *):where([data-hn-ui-toast-region]),.toast.closing:where(:scope, :scope *):where([data-hn-ui-toast-region]) {
|
|
@@ -11964,42 +11006,12 @@ to {
|
|
|
11964
11006
|
}
|
|
11965
11007
|
}
|
|
11966
11008
|
|
|
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
11009
|
/* An unused region takes no space, so it adds no gap. */
|
|
11998
11010
|
|
|
11999
11011
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
12000
11012
|
@scope (.ui-top-bar) to ([data-hn]) {
|
|
12001
11013
|
:scope:where([data-hn-ui-top-bar]) {
|
|
12002
|
-
/*
|
|
11014
|
+
/* Resolve shared part values at the component root. */
|
|
12003
11015
|
--_ui-top-bar-actions-gap: var(--ui-top-bar-actions-gap);
|
|
12004
11016
|
|
|
12005
11017
|
position: sticky;
|
|
@@ -12042,22 +11054,8 @@ to {
|
|
|
12042
11054
|
}
|
|
12043
11055
|
}
|
|
12044
11056
|
|
|
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
11057
|
/* Reaches the items the way density does, so the setting lives on the tree the way a reader
|
|
12060
|
-
|
|
11058
|
+
thinks about it: this list scrolls its long names. */
|
|
12061
11059
|
|
|
12062
11060
|
/* The items' defaults for this density: an item's own hook still wins. */
|
|
12063
11061
|
|
|
@@ -12072,8 +11070,7 @@ to {
|
|
|
12072
11070
|
--_ui-default-tree-item-label-padding-block: 0;
|
|
12073
11071
|
}
|
|
12074
11072
|
:scope:where([data-hn-ui-tree]) {
|
|
12075
|
-
/*
|
|
12076
|
-
starts again from its own settings. */
|
|
11073
|
+
/* Resolve tree hooks here and reset private density defaults for nested trees. */
|
|
12077
11074
|
--_ui-tree-indent: var(--ui-tree-indent);
|
|
12078
11075
|
--_ui-tree-drop-color: var(--ui-tree-drop-color);
|
|
12079
11076
|
--_ui-default-tree-item-marquee: initial;
|
|
@@ -12096,28 +11093,6 @@ to {
|
|
|
12096
11093
|
}
|
|
12097
11094
|
}
|
|
12098
11095
|
|
|
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
11096
|
/* Selection is the same surface recipe as destination and choice rows. */
|
|
12122
11097
|
|
|
12123
11098
|
/* Child combinators: drop feedback belongs to this item's own row, not the rows nested in it. */
|
|
@@ -12146,7 +11121,7 @@ to {
|
|
|
12146
11121
|
slides, the label reaches back under the icon (the controller measures how far) with its text
|
|
12147
11122
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
12148
11123
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
12149
|
-
@keyframes ui-tree-item-marquee-
|
|
11124
|
+
@keyframes ui-tree-item-marquee-a1b4c079 {
|
|
12150
11125
|
from {
|
|
12151
11126
|
transform: translateX(0);
|
|
12152
11127
|
}
|
|
@@ -12167,7 +11142,7 @@ to {
|
|
|
12167
11142
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
12168
11143
|
@scope (.ui-tree-item) to ([data-hn]) {
|
|
12169
11144
|
:scope:where([data-hn-ui-tree-item]) {
|
|
12170
|
-
/*
|
|
11145
|
+
/* Resolve shared part values at the root. The tree's density
|
|
12171
11146
|
sets the defaults, in --_ui-default-*. */
|
|
12172
11147
|
--_ui-tree-item-min-block-size: var(
|
|
12173
11148
|
--ui-tree-item-min-block-size,
|
|
@@ -12403,7 +11378,7 @@ to {
|
|
|
12403
11378
|
.row[data-ui-marquee] > .label > .label-text:where([data-hn-ui-tree-item]) {
|
|
12404
11379
|
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
12405
11380
|
long enough to read rather than sliding back and forth. */
|
|
12406
|
-
animation: ui-tree-item-marquee-
|
|
11381
|
+
animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
12407
11382
|
will-change: transform;
|
|
12408
11383
|
}
|
|
12409
11384
|
.row[data-ui-marquee] > .label:where([data-hn-ui-tree-item]) {
|
|
@@ -12686,7 +11661,7 @@ html[data-ui-input-modality="touch"]
|
|
|
12686
11661
|
}
|
|
12687
11662
|
@scope ([data-slotted~="ui-tree-item"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
12688
11663
|
:where(.ui-tree-item):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item]) {
|
|
12689
|
-
/*
|
|
11664
|
+
/* Resolve shared part values at the root. The tree's density
|
|
12690
11665
|
sets the defaults, in --_ui-default-*. */
|
|
12691
11666
|
--_ui-tree-item-min-block-size: var(
|
|
12692
11667
|
--ui-tree-item-min-block-size,
|
|
@@ -12934,7 +11909,7 @@ html[data-ui-input-modality="touch"]
|
|
|
12934
11909
|
> .label-text:where([data-hn-ui-tree-item]) {
|
|
12935
11910
|
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
12936
11911
|
long enough to read rather than sliding back and forth. */
|
|
12937
|
-
animation: ui-tree-item-marquee-
|
|
11912
|
+
animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
12938
11913
|
will-change: transform;
|
|
12939
11914
|
}
|
|
12940
11915
|
.row[data-ui-marquee]:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item]) {
|
|
@@ -13935,81 +12910,7 @@ html[data-ui-input-modality="touch"]
|
|
|
13935
12910
|
[data-component~="ui-button"] { --html-next-scope-owner: "ui-button" !important; }
|
|
13936
12911
|
}
|
|
13937
12912
|
@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"]) {
|
|
12913
|
+
:scope:where([data-component~="ui-button"]) {
|
|
14013
12914
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
14014
12915
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
14015
12916
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -14262,10 +13163,36 @@ html[data-ui-input-modality="touch"]
|
|
|
14262
13163
|
|
|
14263
13164
|
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
14264
13165
|
destructive secondary action, not a special case. */
|
|
13166
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-secondary"] {
|
|
13167
|
+
--_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
13168
|
+
--_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
13169
|
+
--_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
13170
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
13171
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
13172
|
+
--_hue: var(--ui-accent-secondary);
|
|
13173
|
+
--_hue-hover: var(--ui-accent-secondary-hover);
|
|
13174
|
+
--_hue-active: var(--ui-accent-secondary-active);
|
|
13175
|
+
--_hue-text: var(--ui-accent-secondary-subtle-text);
|
|
13176
|
+
--_on-hue: var(--ui-accent-secondary-on-strong);
|
|
13177
|
+
}
|
|
13178
|
+
|
|
13179
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-tertiary"] {
|
|
13180
|
+
--_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
13181
|
+
--_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
13182
|
+
--_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
13183
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
13184
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
13185
|
+
--_hue: var(--ui-accent-tertiary);
|
|
13186
|
+
--_hue-hover: var(--ui-accent-tertiary-hover);
|
|
13187
|
+
--_hue-active: var(--ui-accent-tertiary-active);
|
|
13188
|
+
--_hue-text: var(--ui-accent-tertiary-subtle-text);
|
|
13189
|
+
--_on-hue: var(--ui-accent-tertiary-on-strong);
|
|
13190
|
+
}
|
|
13191
|
+
|
|
14265
13192
|
: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-
|
|
13193
|
+
--_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
13194
|
+
--_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
13195
|
+
--_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
14269
13196
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
14270
13197
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
14271
13198
|
--_hue: var(--ui-text);
|
|
@@ -14278,18 +13205,20 @@ html[data-ui-input-modality="touch"]
|
|
|
14278
13205
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
14279
13206
|
border-color: var(--ui-button-border, var(--_tone-border));
|
|
14280
13207
|
background-color: var(--ui-button-surface, var(--ui-neutral-surface));
|
|
13208
|
+
box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
|
|
14281
13209
|
color: var(--ui-button-text, var(--ui-text));
|
|
14282
13210
|
}
|
|
14283
13211
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
14284
13212
|
border-color: var(--ui-button-border, var(--ui-control-border));
|
|
14285
13213
|
background-color: var(--ui-button-surface, transparent);
|
|
13214
|
+
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
14286
13215
|
}
|
|
14287
13216
|
: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
|
|
13217
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
14289
13218
|
background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
|
|
14290
13219
|
}
|
|
14291
13220
|
: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
|
|
13221
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
14293
13222
|
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
14294
13223
|
}
|
|
14295
13224
|
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
@@ -14515,9 +13444,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14515
13444
|
}
|
|
14516
13445
|
}
|
|
14517
13446
|
@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. */
|
|
13447
|
+
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
14521
13448
|
|
|
14522
13449
|
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
14523
13450
|
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
@@ -14574,17 +13501,17 @@ html[data-ui-input-modality="touch"]
|
|
|
14574
13501
|
@scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
|
|
14575
13502
|
:scope:where([data-component~="ui-affordance-scope"]) {
|
|
14576
13503
|
display: contents !important;
|
|
14577
|
-
--
|
|
14578
|
-
--
|
|
13504
|
+
--_ui-affordance-scope-engaged: 0;
|
|
13505
|
+
--_ui-affordance-scope-guide: 1;
|
|
14579
13506
|
}
|
|
14580
13507
|
|
|
14581
13508
|
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="engaged"] {
|
|
14582
|
-
--
|
|
13509
|
+
--_ui-affordance-scope-engaged: 1;
|
|
14583
13510
|
}
|
|
14584
13511
|
|
|
14585
13512
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
14586
13513
|
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="guide=none"] {
|
|
14587
|
-
--
|
|
13514
|
+
--_ui-affordance-scope-guide: 0;
|
|
14588
13515
|
}
|
|
14589
13516
|
|
|
14590
13517
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -14606,13 +13533,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14606
13533
|
[data-component~="ui-cluster"] { --html-next-scope-owner: "ui-cluster" !important; }
|
|
14607
13534
|
}
|
|
14608
13535
|
@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"]) {
|
|
13536
|
+
:scope:where([data-component~="ui-cluster"]) {
|
|
14616
13537
|
--_layout-gap: var(--ui-space-3);
|
|
14617
13538
|
display: flex !important;
|
|
14618
13539
|
flex-wrap: wrap !important;
|
|
@@ -14694,9 +13615,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14694
13615
|
}
|
|
14695
13616
|
}
|
|
14696
13617
|
@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. */
|
|
13618
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
14700
13619
|
}
|
|
14701
13620
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
14702
13621
|
@supports (-moz-appearance: none) {
|
|
@@ -14707,38 +13626,8 @@ html[data-ui-input-modality="touch"]
|
|
|
14707
13626
|
[data-component~="ui-form-field"] { --html-next-scope-owner: "ui-form-field" !important; }
|
|
14708
13627
|
}
|
|
14709
13628
|
@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. */
|
|
13629
|
+
:scope:where([data-component~="ui-form-field"]) {
|
|
13630
|
+
/* Resolve shared part values at the component root. */
|
|
14742
13631
|
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
14743
13632
|
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
14744
13633
|
--_ui-form-field-label-text: var(--ui-form-field-label-text);
|
|
@@ -14763,7 +13652,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14763
13652
|
|
|
14764
13653
|
.label {
|
|
14765
13654
|
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-
|
|
13655
|
+
font-size: var(--_ui-form-field-label-font-size, var(--ui-field-label-font-size, var(--ui-font-size-md)));
|
|
14767
13656
|
}
|
|
14768
13657
|
|
|
14769
13658
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
@@ -14807,9 +13696,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14807
13696
|
}
|
|
14808
13697
|
}
|
|
14809
13698
|
@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
|
|
13699
|
+
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
14813
13700
|
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
14814
13701
|
|
|
14815
13702
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
@@ -14838,19 +13725,8 @@ html[data-ui-input-modality="touch"]
|
|
|
14838
13725
|
[data-component~="ui-icon"] { --html-next-scope-owner: "ui-icon" !important; }
|
|
14839
13726
|
}
|
|
14840
13727
|
@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. */
|
|
13728
|
+
:scope:where([data-component~="ui-icon"]) {
|
|
13729
|
+
/* 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
13730
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
14855
13731
|
|
|
14856
13732
|
display: inline-flex !important;
|
|
@@ -14879,98 +13755,18 @@ html[data-ui-input-modality="touch"]
|
|
|
14879
13755
|
}
|
|
14880
13756
|
}
|
|
14881
13757
|
@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"]) {
|
|
13758
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
13759
|
+
}
|
|
13760
|
+
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
13761
|
+
@supports (-moz-appearance: none) {
|
|
13762
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
13763
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
13764
|
+
}
|
|
13765
|
+
@supports (-moz-appearance: none) {
|
|
13766
|
+
[data-component~="ui-icon-button"] { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
13767
|
+
}
|
|
13768
|
+
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
13769
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
14974
13770
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
14975
13771
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
14976
13772
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -14987,7 +13783,7 @@ html[data-ui-input-modality="touch"]
|
|
|
14987
13783
|
inset calc(-1 * var(--_ui-action-start)) -1px 0 light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.08))
|
|
14988
13784
|
);
|
|
14989
13785
|
--_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
|
-
/*
|
|
13786
|
+
/* Resolve shared part values at the component root. */
|
|
14991
13787
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
14992
13788
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
14993
13789
|
|
|
@@ -14999,6 +13795,40 @@ html[data-ui-input-modality="touch"]
|
|
|
14999
13795
|
--_ui-action-start: -1px;
|
|
15000
13796
|
}
|
|
15001
13797
|
|
|
13798
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-secondary"] {
|
|
13799
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
13800
|
+
--_solid-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
13801
|
+
--_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
13802
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
13803
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
13804
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
13805
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
13806
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
13807
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
13808
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-secondary-solid) 5%, var(--ui-surface-default));
|
|
13809
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
13810
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
13811
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
13812
|
+
color: var(--_icon-button-text);
|
|
13813
|
+
}
|
|
13814
|
+
|
|
13815
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-tertiary"] {
|
|
13816
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
13817
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
13818
|
+
--_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
13819
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
13820
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
13821
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
13822
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
13823
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
13824
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
13825
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-tertiary-solid) 5%, var(--ui-surface-default));
|
|
13826
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
13827
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
13828
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
13829
|
+
color: var(--_icon-button-text);
|
|
13830
|
+
}
|
|
13831
|
+
|
|
15002
13832
|
:scope:where([data-component~="ui-icon-button"])[data-tone="accent"] {
|
|
15003
13833
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
15004
13834
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
@@ -15081,17 +13911,17 @@ html[data-ui-input-modality="touch"]
|
|
|
15081
13911
|
color: var(--_icon-button-text);
|
|
15082
13912
|
}
|
|
15083
13913
|
|
|
15084
|
-
/* Neutral actions
|
|
13914
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
15085
13915
|
: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-
|
|
13916
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
13917
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
13918
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
15089
13919
|
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
15090
13920
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
15091
13921
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
15092
13922
|
--_icon-button-outline-surface: transparent;
|
|
15093
13923
|
--_icon-button-border: var(--ui-control-border);
|
|
15094
|
-
--_icon-button-hover-border: var(--ui-control-border-hover
|
|
13924
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
15095
13925
|
--_icon-button-text: var(--ui-text);
|
|
15096
13926
|
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
15097
13927
|
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
@@ -15111,7 +13941,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15111
13941
|
block-size: var(--ui-affordance-guide-size);
|
|
15112
13942
|
border-radius: var(--ui-radius-round);
|
|
15113
13943
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
15114
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
13944
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
15115
13945
|
transform: translate(-50%, -50%);
|
|
15116
13946
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
15117
13947
|
pointer-events: none;
|
|
@@ -15272,6 +14102,14 @@ html[data-ui-input-modality="touch"]
|
|
|
15272
14102
|
var(--_tone-glow);
|
|
15273
14103
|
}
|
|
15274
14104
|
|
|
14105
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
14106
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
14107
|
+
}
|
|
14108
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
14109
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
14110
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
14111
|
+
}
|
|
14112
|
+
|
|
15275
14113
|
:scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
|
|
15276
14114
|
/* Derived from the text colour so the ghost hover shows on any background. */
|
|
15277
14115
|
background-color: var(--ui-icon-button-hover-surface, color-mix(in srgb, currentColor 8%, transparent));
|
|
@@ -15415,9 +14253,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15415
14253
|
}
|
|
15416
14254
|
}
|
|
15417
14255
|
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
|
15418
|
-
/*
|
|
15419
|
-
|
|
15420
|
-
/* Neutral actions share the same quiet surface and border roles as fields. */
|
|
14256
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
15421
14257
|
|
|
15422
14258
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
15423
14259
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
@@ -15463,17 +14299,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15463
14299
|
[data-component~="ui-list"] { --html-next-scope-owner: "ui-list" !important; }
|
|
15464
14300
|
}
|
|
15465
14301
|
@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
|
|
14302
|
+
/* 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
14303
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
15478
14304
|
markers. */
|
|
15479
14305
|
:scope:where([data-component~="ui-list"]) {
|
|
@@ -15525,9 +14351,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15525
14351
|
}
|
|
15526
14352
|
}
|
|
15527
14353
|
@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
|
|
14354
|
+
/* 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
14355
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
15532
14356
|
markers. */
|
|
15533
14357
|
|
|
@@ -15561,29 +14385,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15561
14385
|
[data-component~="ui-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
15562
14386
|
}
|
|
15563
14387
|
@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
|
|
14388
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
15587
14389
|
still win. */
|
|
15588
14390
|
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
15589
14391
|
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
@@ -15763,9 +14565,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15763
14565
|
}
|
|
15764
14566
|
}
|
|
15765
14567
|
@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
|
|
14568
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
15769
14569
|
still win. */
|
|
15770
14570
|
|
|
15771
14571
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
@@ -15797,33 +14597,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15797
14597
|
[data-component~="ui-menu-item"] { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
15798
14598
|
}
|
|
15799
14599
|
@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"]) {
|
|
14600
|
+
:scope:where([data-component~="ui-menu-item"]) {
|
|
15827
14601
|
display: flex !important;
|
|
15828
14602
|
align-items: center !important;
|
|
15829
14603
|
gap: var(--ui-space-2) !important;
|
|
@@ -15962,9 +14736,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15962
14736
|
}
|
|
15963
14737
|
}
|
|
15964
14738
|
@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. */
|
|
14739
|
+
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
15968
14740
|
|
|
15969
14741
|
.icon :where([data-slotted], [data-slotted] *):is(svg) {
|
|
15970
14742
|
inline-size: 100%;
|
|
@@ -15997,37 +14769,7 @@ html[data-ui-input-modality="touch"]
|
|
|
15997
14769
|
[data-component~="ui-popover"] { --html-next-scope-owner: "ui-popover" !important; }
|
|
15998
14770
|
}
|
|
15999
14771
|
@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"]) {
|
|
14772
|
+
:scope:where([data-component~="ui-popover"]) {
|
|
16031
14773
|
--_ui-material-scale: 0.55;
|
|
16032
14774
|
--_ui-popover-surface: var(--ui-popover-surface);
|
|
16033
14775
|
--_ui-popover-border: var(--ui-popover-border);
|
|
@@ -16184,9 +14926,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16184
14926
|
}
|
|
16185
14927
|
}
|
|
16186
14928
|
@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;
|
|
14929
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
16190
14930
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
16191
14931
|
|
|
16192
14932
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
@@ -16215,13 +14955,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16215
14955
|
[data-component~="ui-stack"] { --html-next-scope-owner: "ui-stack" !important; }
|
|
16216
14956
|
}
|
|
16217
14957
|
@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 {
|
|
14958
|
+
@property --_ui-stack-height {
|
|
16225
14959
|
syntax: "*";
|
|
16226
14960
|
inherits: false;
|
|
16227
14961
|
}
|
|
@@ -16231,7 +14965,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16231
14965
|
display: flex !important;
|
|
16232
14966
|
flex-direction: column !important;
|
|
16233
14967
|
align-items: stretch !important;
|
|
16234
|
-
gap: var(--ui-stack-gap, var(--_layout-gap)) !important;
|
|
14968
|
+
gap: var(--ui-stack-gap, calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5))) !important;
|
|
16235
14969
|
min-inline-size: 0;
|
|
16236
14970
|
max-inline-size: 100%;
|
|
16237
14971
|
margin: 0 !important;
|
|
@@ -16242,7 +14976,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16242
14976
|
min-block-size: 0;
|
|
16243
14977
|
}
|
|
16244
14978
|
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="height"] {
|
|
16245
|
-
block-size: calc(var(--
|
|
14979
|
+
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
16246
14980
|
min-block-size: 0;
|
|
16247
14981
|
}
|
|
16248
14982
|
|
|
@@ -16289,9 +15023,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16289
15023
|
}
|
|
16290
15024
|
}
|
|
16291
15025
|
@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. */
|
|
15026
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
16295
15027
|
}
|
|
16296
15028
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
16297
15029
|
@supports (-moz-appearance: none) {
|
|
@@ -16312,7 +15044,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16312
15044
|
:scope:where([data-component~="ui-text"]) {
|
|
16313
15045
|
margin: 0 !important;
|
|
16314
15046
|
min-inline-size: 0;
|
|
16315
|
-
color:
|
|
15047
|
+
color: inherit;
|
|
16316
15048
|
text-align: start;
|
|
16317
15049
|
}
|
|
16318
15050
|
|
|
@@ -16353,6 +15085,14 @@ html[data-ui-input-modality="touch"]
|
|
|
16353
15085
|
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=muted"] {
|
|
16354
15086
|
color: var(--ui-text-muted);
|
|
16355
15087
|
}
|
|
15088
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-secondary"] {
|
|
15089
|
+
color: var(--ui-accent-secondary-subtle-text);
|
|
15090
|
+
}
|
|
15091
|
+
|
|
15092
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-tertiary"] {
|
|
15093
|
+
color: var(--ui-accent-tertiary-subtle-text);
|
|
15094
|
+
}
|
|
15095
|
+
|
|
16356
15096
|
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent"] {
|
|
16357
15097
|
color: var(--ui-accent-subtle-text);
|
|
16358
15098
|
}
|
|
@@ -16460,7 +15200,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16460
15200
|
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
16461
15201
|
colour. */
|
|
16462
15202
|
:scope:where([data-component~="ui-text"]) :where([data-slotted], [data-slotted] *):is(a) {
|
|
16463
|
-
color: var(--ui-accent-subtle-text);
|
|
15203
|
+
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
16464
15204
|
text-decoration: underline;
|
|
16465
15205
|
text-decoration-thickness: 0.06em;
|
|
16466
15206
|
text-underline-offset: 0.18em;
|
|
@@ -16479,51 +15219,9 @@ html[data-ui-input-modality="touch"]
|
|
|
16479
15219
|
[data-component~="ui-tooltip"] { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
16480
15220
|
}
|
|
16481
15221
|
@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"]) {
|
|
15222
|
+
:scope:where([data-component~="ui-tooltip"]) {
|
|
16525
15223
|
--_ui-material-scale: 0.08;
|
|
16526
|
-
/*
|
|
15224
|
+
/* Resolve shared part values at the component root. */
|
|
16527
15225
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
16528
15226
|
--_ui-tooltip-max-inline-size: var(--ui-tooltip-max-inline-size);
|
|
16529
15227
|
--_ui-tooltip-radius: var(--ui-tooltip-radius);
|
|
@@ -16753,9 +15451,7 @@ html[data-ui-input-modality="touch"]
|
|
|
16753
15451
|
}
|
|
16754
15452
|
}
|
|
16755
15453
|
@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. */
|
|
15454
|
+
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
16759
15455
|
|
|
16760
15456
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
16761
15457
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
@@ -16795,22 +15491,8 @@ html[data-ui-input-modality="touch"]
|
|
|
16795
15491
|
[data-component~="ui-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
16796
15492
|
}
|
|
16797
15493
|
@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. */
|
|
15494
|
+
:scope:where([data-component~="ui-checkbox"]) {
|
|
15495
|
+
/* Resolve shared part values at the component root. */
|
|
16814
15496
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
16815
15497
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
16816
15498
|
|
|
@@ -17020,9 +15702,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17020
15702
|
}
|
|
17021
15703
|
}
|
|
17022
15704
|
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
|
17023
|
-
/*
|
|
17024
|
-
|
|
17025
|
-
/* The label, and under it an optional line saying what the choice means. */
|
|
15705
|
+
/* The label, and under it an optional line saying what the choice means. */
|
|
17026
15706
|
|
|
17027
15707
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
17028
15708
|
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
@@ -17048,23 +15728,9 @@ html[data-ui-input-modality="touch"]
|
|
|
17048
15728
|
[data-component~="ui-disclosure"] { --html-next-scope-owner: "ui-disclosure" !important; }
|
|
17049
15729
|
}
|
|
17050
15730
|
@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. */
|
|
15731
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
17066
15732
|
:scope:where([data-component~="ui-disclosure"]) {
|
|
17067
|
-
/*
|
|
15733
|
+
/* Resolve shared part values at the component root. */
|
|
17068
15734
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
17069
15735
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
17070
15736
|
--_ui-disclosure-trigger-padding-inline: var(--ui-disclosure-trigger-padding-inline);
|
|
@@ -17246,9 +15912,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17246
15912
|
}
|
|
17247
15913
|
}
|
|
17248
15914
|
@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. */
|
|
15915
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
17252
15916
|
|
|
17253
15917
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
17254
15918
|
* select or combobox. Stacked disclosures share their dividers. */
|
|
@@ -17272,60 +15936,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17272
15936
|
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
17273
15937
|
}
|
|
17274
15938
|
@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
|
-
}
|
|
15939
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
17329
15940
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
17330
15941
|
@property --_ui-input-stroke {
|
|
17331
15942
|
syntax: "<length>";
|
|
@@ -17363,7 +15974,10 @@ html[data-ui-input-modality="touch"]
|
|
|
17363
15974
|
|
|
17364
15975
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
17365
15976
|
: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(
|
|
15977
|
+
max-block-size: max(
|
|
15978
|
+
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
15979
|
+
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
15980
|
+
);
|
|
17367
15981
|
}
|
|
17368
15982
|
|
|
17369
15983
|
/* 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 +16072,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17458
16072
|
}
|
|
17459
16073
|
}
|
|
17460
16074
|
@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. */
|
|
16075
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
17463
16076
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
17464
16077
|
|
|
17465
16078
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
@@ -17492,13 +16105,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17492
16105
|
[data-component~="ui-separator"] { --html-next-scope-owner: "ui-separator" !important; }
|
|
17493
16106
|
}
|
|
17494
16107
|
@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. */
|
|
16108
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
17502
16109
|
:scope:where([data-component~="ui-separator"]) {
|
|
17503
16110
|
box-sizing: border-box !important;
|
|
17504
16111
|
align-self: stretch;
|
|
@@ -17534,9 +16141,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17534
16141
|
}
|
|
17535
16142
|
}
|
|
17536
16143
|
@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. */
|
|
16144
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
17540
16145
|
}
|
|
17541
16146
|
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
17542
16147
|
@supports (-moz-appearance: none) {
|
|
@@ -17547,63 +16152,15 @@ html[data-ui-input-modality="touch"]
|
|
|
17547
16152
|
[data-component~="ui-callout"] { --html-next-scope-owner: "ui-callout" !important; }
|
|
17548
16153
|
}
|
|
17549
16154
|
@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. */
|
|
16155
|
+
:scope:where([data-component~="ui-callout"]) {
|
|
16156
|
+
/* Resolve shared part values at the component root. */
|
|
17598
16157
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
17599
16158
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
17600
16159
|
--_ui-callout-icon-size: var(--ui-callout-icon-size);
|
|
17601
16160
|
|
|
17602
|
-
|
|
17603
|
-
--_callout-
|
|
17604
|
-
|
|
17605
|
-
oklch(from var(--_callout-border) 25% min(c, 0.035) h)
|
|
17606
|
-
);
|
|
16161
|
+
--_callout-surface: var(--ui-info-soft);
|
|
16162
|
+
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
16163
|
+
--_ui-surface-text: var(--ui-callout-text, var(--_callout-tone-text));
|
|
17607
16164
|
--_ui-selection-context-surface: light-dark(
|
|
17608
16165
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
17609
16166
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -17614,8 +16171,8 @@ html[data-ui-input-modality="touch"]
|
|
|
17614
16171
|
);
|
|
17615
16172
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
17616
16173
|
|
|
17617
|
-
--_callout-border: var(--ui-info-
|
|
17618
|
-
--_callout-icon: var(--ui-info-
|
|
16174
|
+
--_callout-border: var(--ui-info-soft-border);
|
|
16175
|
+
--_callout-icon: var(--ui-info-subtle-text);
|
|
17619
16176
|
|
|
17620
16177
|
display: grid !important;
|
|
17621
16178
|
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
@@ -17625,13 +16182,12 @@ html[data-ui-input-modality="touch"]
|
|
|
17625
16182
|
padding-block: var(--ui-callout-padding-block, var(--ui-space-2)) !important;
|
|
17626
16183
|
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
17627
16184
|
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);
|
|
16185
|
+
border: var(--ui-callout-border-width, var(--ui-border-width)) solid var(--ui-callout-border, var(--_callout-border));
|
|
17630
16186
|
border-inline-start: var(--ui-callout-leading-border-width, var(--ui-callout-border-width, var(--ui-border-width))) solid
|
|
17631
|
-
|
|
16187
|
+
var(--ui-callout-border, var(--_callout-border));
|
|
17632
16188
|
border-radius: var(--ui-radius-md);
|
|
17633
16189
|
background: var(--ui-callout-surface, var(--_callout-surface));
|
|
17634
|
-
color: var(--ui-callout-text, var(--
|
|
16190
|
+
color: var(--ui-callout-text, var(--_ui-surface-text));
|
|
17635
16191
|
font-family: var(--ui-font-family-sans);
|
|
17636
16192
|
font-size: var(--ui-font-size-sm);
|
|
17637
16193
|
font-weight: var(--ui-font-normal);
|
|
@@ -17666,33 +16222,44 @@ html[data-ui-input-modality="touch"]
|
|
|
17666
16222
|
--_ui-selection-context-border: initial;
|
|
17667
16223
|
--_ui-selection-context-text: initial;
|
|
17668
16224
|
--_callout-surface: var(--ui-surface-muted);
|
|
16225
|
+
--_callout-tone-text: var(--ui-text-primary);
|
|
17669
16226
|
--_callout-border: var(--ui-border-strong);
|
|
17670
16227
|
--_callout-icon: var(--ui-text-secondary);
|
|
17671
16228
|
}
|
|
17672
16229
|
|
|
17673
16230
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
|
|
17674
|
-
--_callout-border: var(--ui-success-
|
|
17675
|
-
--_callout-
|
|
16231
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
16232
|
+
--_callout-surface: var(--ui-success-soft);
|
|
16233
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
16234
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
17676
16235
|
}
|
|
17677
16236
|
|
|
17678
16237
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
|
|
17679
|
-
--_callout-border: var(--ui-accent-
|
|
17680
|
-
--_callout-
|
|
16238
|
+
--_callout-border: var(--ui-accent-soft-border);
|
|
16239
|
+
--_callout-surface: var(--ui-accent-soft);
|
|
16240
|
+
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
16241
|
+
--_callout-icon: var(--ui-accent-subtle-text);
|
|
17681
16242
|
}
|
|
17682
16243
|
|
|
17683
16244
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
|
|
17684
|
-
--_callout-border: var(--ui-warning-
|
|
17685
|
-
--_callout-
|
|
16245
|
+
--_callout-border: var(--ui-warning-soft-border);
|
|
16246
|
+
--_callout-surface: var(--ui-warning-soft);
|
|
16247
|
+
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
16248
|
+
--_callout-icon: var(--ui-warning-subtle-text);
|
|
17686
16249
|
}
|
|
17687
16250
|
|
|
17688
16251
|
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
|
|
17689
|
-
--_callout-border: var(--ui-success-
|
|
17690
|
-
--_callout-
|
|
16252
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
16253
|
+
--_callout-surface: var(--ui-success-soft);
|
|
16254
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
16255
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
17691
16256
|
}
|
|
17692
16257
|
|
|
17693
16258
|
: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-
|
|
16259
|
+
--_callout-border: var(--ui-danger-soft-border);
|
|
16260
|
+
--_callout-surface: var(--ui-danger-soft);
|
|
16261
|
+
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
16262
|
+
--_callout-icon: var(--ui-danger-subtle-text);
|
|
17696
16263
|
}
|
|
17697
16264
|
|
|
17698
16265
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
@@ -17703,9 +16270,7 @@ html[data-ui-input-modality="touch"]
|
|
|
17703
16270
|
}
|
|
17704
16271
|
}
|
|
17705
16272
|
@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. */
|
|
16273
|
+
/* One line box tall, so the icon centres on the first line of text. */
|
|
17709
16274
|
|
|
17710
16275
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
17711
16276
|
.content :where([data-slotted], [data-slotted] *):is(a) {
|