@threadlabs/looma 0.41.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-action-bar/ui-action-bar.html +1 -7
- package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
- package/components/ui-avatar/ui-avatar.html +0 -22
- package/components/ui-avatar-group/ui-avatar-group.html +1 -11
- package/components/ui-badge/ui-badge.html +57 -78
- package/components/ui-button/ui-button.html +66 -90
- package/components/ui-button/ui-button.js +2 -2
- package/components/ui-callout/ui-callout.html +31 -69
- package/components/ui-card/ui-card.html +47 -21
- package/components/ui-checkbox/ui-checkbox.html +2 -16
- 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 +9 -41
- package/components/ui-disclosure/ui-disclosure.html +1 -15
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +1 -1
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +2 -2
- package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
- package/components/ui-form-field/ui-form-field.html +2 -32
- package/components/ui-grid/ui-grid.html +1 -11
- package/components/ui-icon/ui-icon.html +1 -12
- package/components/ui-icon-button/ui-icon-button.html +94 -94
- package/components/ui-input/ui-input.html +5 -55
- package/components/ui-input-group/ui-input-group.html +1 -13
- package/components/ui-light-editor/ui-light-editor.html +1 -1
- 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 +8 -32
- package/components/ui-menu-item/ui-menu-item.html +1 -27
- 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 +9 -41
- package/components/ui-radio/ui-radio.html +58 -12
- 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-section/ui-section.html +1 -1
- 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-status-message/ui-status-message.html +1 -1
- package/components/ui-swatch/ui-swatch.html +0 -5
- package/components/ui-switch/ui-switch.html +6 -17
- package/components/ui-switcher/ui-switcher.html +1 -11
- package/components/ui-tabs/ui-tabs.html +4 -22
- package/components/ui-text/ui-text.html +20 -7
- 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 +9 -53
- 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 +15 -9
- package/docs/catalog.json +973 -186
- package/docs/customizer-render.mjs +25 -9
- package/docs/customizer.js +42 -2
- package/docs/fonts.mjs +1 -1
- package/docs/palette.mjs +5 -4
- package/docs/theme.mjs +214 -51
- 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 +65 -92
- package/styles/ui-callout.css +33 -73
- package/styles/ui-card.css +42 -18
- package/styles/ui-checkbox.css +4 -20
- 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 +22 -88
- package/styles/ui-disclosure.css +3 -19
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +2 -2
- package/styles/ui-editor-table-toolbar.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 +93 -96
- 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-light-editor.css +2 -2
- 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 +3 -31
- package/styles/ui-menu.css +11 -37
- package/styles/ui-meter.css +8 -4
- package/styles/ui-nav-item.css +2 -22
- package/styles/ui-popover.css +12 -46
- package/styles/ui-radio-group.css +1 -6
- package/styles/ui-radio.css +68 -15
- 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-section.css +1 -1
- 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-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -6
- package/styles/ui-switch.css +8 -21
- package/styles/ui-switcher.css +2 -14
- package/styles/ui-tabs.css +6 -26
- package/styles/ui-text.css +11 -3
- 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 +12 -58
- 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 +16 -10
- package/tokens.css +75 -18
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vue/UiActionBar.vue +3 -9
- package/vue/UiAffordanceScope.vue +4 -4
- package/vue/UiAvatar.vue +1 -28
- package/vue/UiAvatarGroup.vue +1 -11
- package/vue/UiBadge.d.ts +2 -2
- package/vue/UiBadge.vue +84 -81
- package/vue/UiButton.d.ts +2 -2
- package/vue/UiButton.vue +120 -106
- package/vue/UiCallout.vue +31 -72
- package/vue/UiCard.d.ts +2 -2
- package/vue/UiCard.vue +77 -32
- package/vue/UiCheckbox.vue +2 -16
- 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 +23 -77
- package/vue/UiDisclosure.vue +1 -15
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +2 -2
- package/vue/UiEditorTableToolbar.vue +2 -2
- package/vue/UiFloatingActionButton.vue +0 -22
- package/vue/UiFormField.vue +6 -33
- package/vue/UiGrid.vue +1 -13
- package/vue/UiIcon.vue +1 -16
- package/vue/UiIconButton.d.ts +2 -2
- package/vue/UiIconButton.vue +145 -106
- package/vue/UiInput.vue +1 -54
- package/vue/UiInputGroup.vue +8 -20
- package/vue/UiLightEditor.vue +2 -2
- package/vue/UiList.vue +2 -12
- package/vue/UiListItem.vue +8 -26
- package/vue/UiListbox.vue +0 -23
- package/vue/UiMenu.vue +12 -44
- package/vue/UiMenuItem.vue +1 -27
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +47 -12
- package/vue/UiNavItem.vue +3 -21
- package/vue/UiPopover.vue +12 -53
- package/vue/UiRadio.vue +58 -12
- 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/UiSection.vue +1 -1
- 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/UiStatusMessage.vue +1 -1
- package/vue/UiSwatch.vue +1 -6
- package/vue/UiSwitch.vue +6 -17
- package/vue/UiSwitcher.vue +1 -14
- package/vue/UiTabs.vue +4 -22
- package/vue/UiText.d.ts +2 -2
- package/vue/UiText.vue +30 -5
- package/vue/UiTextarea.vue +0 -50
- package/vue/UiToast.vue +26 -34
- package/vue/UiToastRegion.vue +26 -55
- package/vue/UiTooltip.vue +12 -64
- 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/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +4 -2
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiLightEditor.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/UiSection.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/UiStatusMessage.js +1 -1
- 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 +857 -2184
- package/vue/editor/index.js +8 -2
|
@@ -33,28 +33,6 @@
|
|
|
33
33
|
</defs>
|
|
34
34
|
<div role="menu" aria-orientation="vertical"><div class="surface"><slot></slot></div></div>
|
|
35
35
|
<style>
|
|
36
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
37
|
-
@property --ui-menu-surface {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-menu-border {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-menu-radius {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-menu-shadow {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-menu-viewport-gap {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
36
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
59
37
|
still win. */
|
|
60
38
|
:host([density="compact"]) {
|
|
@@ -127,12 +105,12 @@
|
|
|
127
105
|
}
|
|
128
106
|
|
|
129
107
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
130
|
-
transparency,
|
|
108
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
131
109
|
:host:not([inline]) .surface {
|
|
132
|
-
--_ui-material-glassiness:
|
|
110
|
+
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
133
111
|
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
134
|
-
--_ui-material-active: clamp(0, calc(
|
|
135
|
-
--_ui-material-rim: calc(
|
|
112
|
+
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
113
|
+
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px);
|
|
136
114
|
--_ui-material-content-color: var(--_ui-menu-surface, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))));
|
|
137
115
|
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
138
116
|
background:
|
|
@@ -157,10 +135,8 @@
|
|
|
157
135
|
var(--ui-elevation-overlay, var(--ui-shadow-lg))
|
|
158
136
|
)
|
|
159
137
|
);
|
|
160
|
-
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) *
|
|
161
|
-
|
|
162
|
-
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 18px))
|
|
163
|
-
saturate(calc(1 + var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 0.18));
|
|
138
|
+
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px));
|
|
139
|
+
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px));
|
|
164
140
|
}
|
|
165
141
|
|
|
166
142
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
@@ -172,8 +148,8 @@
|
|
|
172
148
|
@media (prefers-reduced-transparency: reduce) {
|
|
173
149
|
:host:not([inline]) .surface {
|
|
174
150
|
background: var(--_ui-material-content-color);
|
|
175
|
-
backdrop-filter: none;
|
|
176
151
|
-webkit-backdrop-filter: none;
|
|
152
|
+
backdrop-filter: none;
|
|
177
153
|
}
|
|
178
154
|
}
|
|
179
155
|
|
|
@@ -182,8 +158,8 @@
|
|
|
182
158
|
background: Canvas;
|
|
183
159
|
border-color: CanvasText;
|
|
184
160
|
box-shadow: none;
|
|
185
|
-
backdrop-filter: none;
|
|
186
161
|
-webkit-backdrop-filter: none;
|
|
162
|
+
backdrop-filter: none;
|
|
187
163
|
}
|
|
188
164
|
}
|
|
189
165
|
|
|
@@ -49,32 +49,6 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</template>
|
|
51
51
|
<style>
|
|
52
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
53
|
-
@property --ui-menu-item-font-size {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-menu-item-hover-surface {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
@property --ui-menu-item-min-block-size {
|
|
62
|
-
syntax: "*";
|
|
63
|
-
inherits: false;
|
|
64
|
-
}
|
|
65
|
-
@property --ui-menu-item-padding-block {
|
|
66
|
-
syntax: "*";
|
|
67
|
-
inherits: false;
|
|
68
|
-
}
|
|
69
|
-
@property --ui-menu-item-padding-inline {
|
|
70
|
-
syntax: "*";
|
|
71
|
-
inherits: false;
|
|
72
|
-
}
|
|
73
|
-
@property --ui-menu-item-radius {
|
|
74
|
-
syntax: "*";
|
|
75
|
-
inherits: false;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
52
|
:host {
|
|
79
53
|
display: flex !important;
|
|
80
54
|
align-items: center !important;
|
|
@@ -114,7 +88,7 @@
|
|
|
114
88
|
}
|
|
115
89
|
|
|
116
90
|
:host([tone="danger"]) {
|
|
117
|
-
color: var(--ui-danger);
|
|
91
|
+
color: var(--ui-danger-subtle-text);
|
|
118
92
|
}
|
|
119
93
|
|
|
120
94
|
.label {
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
<prop name="max" type="number" default="1"
|
|
18
18
|
>The value of a full bar, as on a native meter: 1 for a fraction, or the whole amount (a total, a count of items) with value as the part of it. Must be
|
|
19
19
|
above 0; otherwise the bar is empty.</prop>
|
|
20
|
-
<prop name="tone" type="keyword" values="neutral, accent, info, success, warning, danger" default="neutral"
|
|
20
|
+
<prop name="tone" type="keyword" values="neutral, accent, accent-secondary, accent-tertiary, info, success, warning, danger" default="neutral"
|
|
21
21
|
>Which colour the filled part speaks in, as on Badge: neutral is a quiet grey, accent draws the eye, and info, success, warning, and danger mark a state
|
|
22
22
|
(such as nothing yet, partial, complete, or needs attention). Colour alone says nothing to assistive technology or in forced colours, so say the state in
|
|
23
|
-
valueText or in text beside the meter too
|
|
23
|
+
valueText or in text beside the meter too. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme,
|
|
24
|
+
and unset families follow the primary accent.</prop>
|
|
24
25
|
<prop name="size" type="keyword" values="sm, md" default="md"
|
|
25
26
|
>Thickness. sm is a thin bar that sits in a line of text, such as a table cell beside an amount; md stands on its own.</prop>
|
|
26
27
|
<prop name="segments" type="number" default="0"
|
|
@@ -62,10 +63,6 @@
|
|
|
62
63
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
63
64
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
64
65
|
track and the page. */
|
|
65
|
-
@property --ui-meter-inline-size {
|
|
66
|
-
syntax: "*";
|
|
67
|
-
inherits: false;
|
|
68
|
-
}
|
|
69
66
|
|
|
70
67
|
:host {
|
|
71
68
|
--_meter-fill: var(--ui-text-muted);
|
|
@@ -97,6 +94,14 @@
|
|
|
97
94
|
box-shadow: inset 0 1px rgb(255 255 255 / 0.26), inset 0 -1px rgb(0 0 0 / 0.1);
|
|
98
95
|
}
|
|
99
96
|
|
|
97
|
+
:host([tone="accent-secondary"]) {
|
|
98
|
+
--_meter-fill: var(--ui-accent-secondary-solid);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([tone="accent-tertiary"]) {
|
|
102
|
+
--_meter-fill: var(--ui-accent-tertiary-solid);
|
|
103
|
+
}
|
|
104
|
+
|
|
100
105
|
:host([tone="accent"]) {
|
|
101
106
|
--_meter-fill: var(--ui-accent-solid);
|
|
102
107
|
}
|
|
@@ -47,24 +47,6 @@
|
|
|
47
47
|
</button>
|
|
48
48
|
</template>
|
|
49
49
|
<style>
|
|
50
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
51
|
-
@property --ui-nav-item-current-surface {
|
|
52
|
-
syntax: "*";
|
|
53
|
-
inherits: false;
|
|
54
|
-
}
|
|
55
|
-
@property --ui-nav-item-indicator-color {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-nav-item-indicator-width {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
@property --ui-nav-item-inline-size {
|
|
64
|
-
syntax: "*";
|
|
65
|
-
inherits: false;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
50
|
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
69
51
|
default slot), and an optional line under it (description), such as the record a section
|
|
70
52
|
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
@@ -33,36 +33,6 @@
|
|
|
33
33
|
</defs>
|
|
34
34
|
<span><div class="surface"><slot></slot></div></span>
|
|
35
35
|
<style>
|
|
36
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
37
|
-
@property --ui-popover-surface {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-popover-border {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-popover-radius {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-popover-shadow {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-popover-viewport-gap {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-popover-offset {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
@property --ui-popover-padding {
|
|
62
|
-
syntax: "*";
|
|
63
|
-
inherits: false;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
36
|
:host {
|
|
67
37
|
--_ui-material-scale: 0.55;
|
|
68
38
|
--_ui-popover-surface: var(--ui-popover-surface);
|
|
@@ -98,12 +68,12 @@
|
|
|
98
68
|
}
|
|
99
69
|
|
|
100
70
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
101
|
-
transparency,
|
|
71
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
102
72
|
.surface {
|
|
103
|
-
--_ui-material-glassiness:
|
|
73
|
+
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
104
74
|
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
105
|
-
--_ui-material-active: clamp(0, calc(
|
|
106
|
-
--_ui-material-rim: calc(
|
|
75
|
+
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
76
|
+
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.55) * 8px);
|
|
107
77
|
--_ui-material-content-color: var(--_ui-popover-surface, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))));
|
|
108
78
|
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
109
79
|
background:
|
|
@@ -128,10 +98,8 @@
|
|
|
128
98
|
var(--ui-elevation-overlay, var(--ui-shadow-lg))
|
|
129
99
|
)
|
|
130
100
|
);
|
|
131
|
-
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) *
|
|
132
|
-
|
|
133
|
-
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 18px))
|
|
134
|
-
saturate(calc(1 + var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 0.18));
|
|
101
|
+
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 32px));
|
|
102
|
+
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 32px));
|
|
135
103
|
}
|
|
136
104
|
|
|
137
105
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
@@ -143,8 +111,8 @@
|
|
|
143
111
|
@media (prefers-reduced-transparency: reduce) {
|
|
144
112
|
.surface {
|
|
145
113
|
background: var(--_ui-material-content-color);
|
|
146
|
-
backdrop-filter: none;
|
|
147
114
|
-webkit-backdrop-filter: none;
|
|
115
|
+
backdrop-filter: none;
|
|
148
116
|
}
|
|
149
117
|
}
|
|
150
118
|
|
|
@@ -153,8 +121,8 @@
|
|
|
153
121
|
background: Canvas;
|
|
154
122
|
border-color: CanvasText;
|
|
155
123
|
box-shadow: none;
|
|
156
|
-
backdrop-filter: none;
|
|
157
124
|
-webkit-backdrop-filter: none;
|
|
125
|
+
backdrop-filter: none;
|
|
158
126
|
}
|
|
159
127
|
}
|
|
160
128
|
|
|
@@ -165,8 +133,8 @@
|
|
|
165
133
|
border: 0;
|
|
166
134
|
background: transparent;
|
|
167
135
|
box-shadow: none;
|
|
168
|
-
backdrop-filter: none;
|
|
169
136
|
-webkit-backdrop-filter: none;
|
|
137
|
+
backdrop-filter: none;
|
|
170
138
|
}
|
|
171
139
|
|
|
172
140
|
:host(:not(:state(internalOpen))) {
|
|
@@ -31,18 +31,8 @@
|
|
|
31
31
|
</span>
|
|
32
32
|
</label>
|
|
33
33
|
<style>
|
|
34
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
35
|
-
@property --ui-radio-gap {
|
|
36
|
-
syntax: "*";
|
|
37
|
-
inherits: false;
|
|
38
|
-
}
|
|
39
|
-
@property --ui-radio-size {
|
|
40
|
-
syntax: "*";
|
|
41
|
-
inherits: false;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
34
|
:host {
|
|
45
|
-
/*
|
|
35
|
+
/* Resolve shared part values at the component root. */
|
|
46
36
|
--_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
|
|
47
37
|
|
|
48
38
|
display: inline-flex !important;
|
|
@@ -94,10 +84,40 @@
|
|
|
94
84
|
inline-size: var(--_ui-radio-size, 1.125rem);
|
|
95
85
|
block-size: var(--_ui-radio-size, 1.125rem);
|
|
96
86
|
margin: max(0px, calc((1lh - var(--_ui-radio-size, 1.125rem)) / 2)) 0 0 !important;
|
|
97
|
-
|
|
87
|
+
-webkit-appearance: none;
|
|
88
|
+
appearance: none;
|
|
89
|
+
position: relative;
|
|
90
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
91
|
+
border-radius: var(--ui-radius-round);
|
|
92
|
+
background-color: var(--ui-control-surface, var(--ui-surface-default));
|
|
93
|
+
background-image: var(--ui-surface-highlight, none);
|
|
94
|
+
box-shadow: var(--ui-control-inset);
|
|
98
95
|
cursor: pointer;
|
|
99
96
|
}
|
|
100
97
|
|
|
98
|
+
/* The native radio retains grouping, validation and keyboard behavior.
|
|
99
|
+
Its empty well recedes; the filled selection and its dot stay crisp. */
|
|
100
|
+
input::after {
|
|
101
|
+
content: "";
|
|
102
|
+
position: absolute;
|
|
103
|
+
inset: 28%;
|
|
104
|
+
border-radius: var(--ui-radius-round);
|
|
105
|
+
background-color: var(--ui-text-on-accent);
|
|
106
|
+
opacity: 0;
|
|
107
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
input:checked {
|
|
111
|
+
background-color: var(--ui-accent-solid);
|
|
112
|
+
background-image: var(--ui-accent-highlight, none);
|
|
113
|
+
border-color: var(--ui-accent-solid);
|
|
114
|
+
box-shadow: none;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
input:checked::after {
|
|
118
|
+
opacity: 1;
|
|
119
|
+
}
|
|
120
|
+
|
|
101
121
|
input:focus-visible {
|
|
102
122
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
|
|
103
123
|
outline-offset: var(--ui-focus-width);
|
|
@@ -111,9 +131,35 @@
|
|
|
111
131
|
color: var(--ui-disabled-text);
|
|
112
132
|
}
|
|
113
133
|
:host([disabled]) input {
|
|
134
|
+
border-color: var(--ui-disabled-border);
|
|
135
|
+
background-color: var(--ui-disabled-surface);
|
|
136
|
+
background-image: none;
|
|
137
|
+
box-shadow: none;
|
|
114
138
|
cursor: not-allowed;
|
|
115
139
|
}
|
|
116
140
|
|
|
141
|
+
:host([disabled]) input::after {
|
|
142
|
+
background-color: var(--ui-disabled-text);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media (prefers-reduced-motion: reduce) {
|
|
146
|
+
input::after {
|
|
147
|
+
transition: none;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@media (forced-colors: active) {
|
|
152
|
+
input {
|
|
153
|
+
-webkit-appearance: auto;
|
|
154
|
+
appearance: auto;
|
|
155
|
+
background: none;
|
|
156
|
+
box-shadow: none;
|
|
157
|
+
}
|
|
158
|
+
input::after {
|
|
159
|
+
display: none !important;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
117
163
|
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
118
164
|
and the first line centres in that control height, so the label shares a row's baseline.
|
|
119
165
|
Multi-line labels and descriptions still grow downward from that first line. */
|
|
@@ -38,11 +38,6 @@
|
|
|
38
38
|
<slot></slot>
|
|
39
39
|
</fieldset>
|
|
40
40
|
<style>
|
|
41
|
-
@property --ui-radio-group-invalid-text {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
41
|
:host {
|
|
47
42
|
--_ui-radio-group-invalid-text: var(--ui-radio-group-invalid-text, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
48
43
|
display: inline-flex !important;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="gap" type="keyword" values="xs, s, m, l, xl"
|
|
4
4
|
>Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property,
|
|
5
|
-
set on
|
|
5
|
+
set on :root, an ancestor, or the component itself, overrides it.</prop>
|
|
6
6
|
<prop name="itemWidth" type="keyword" values="sm, md, lg"
|
|
7
7
|
>A fixed width for every item: sm is 12rem, md is 16rem, and lg is 20rem. Unset, each item keeps its content's width. Items never shrink to fit, so the reel
|
|
8
8
|
scrolls sideways once they overflow.</prop>
|
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
</defs>
|
|
14
14
|
<div role="region" tabindex="0"><slot></slot></div>
|
|
15
15
|
<style>
|
|
16
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
17
|
-
@property --ui-reel-gap {
|
|
18
|
-
syntax: "*";
|
|
19
|
-
inherits: false;
|
|
20
|
-
}
|
|
21
|
-
@property --ui-reel-item-width {
|
|
22
|
-
syntax: "*";
|
|
23
|
-
inherits: false;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
16
|
:host {
|
|
27
17
|
--_reel-gap: var(--ui-space-4);
|
|
28
18
|
--_reel-item-width: max-content;
|
|
@@ -18,40 +18,6 @@
|
|
|
18
18
|
<span class="trailing"><slot name="trailing"></slot></span>
|
|
19
19
|
</button>
|
|
20
20
|
<style>
|
|
21
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
22
|
-
@property --ui-search-result-row-border {
|
|
23
|
-
syntax: "*";
|
|
24
|
-
inherits: false;
|
|
25
|
-
}
|
|
26
|
-
@property --ui-search-result-row-gap {
|
|
27
|
-
syntax: "*";
|
|
28
|
-
inherits: false;
|
|
29
|
-
}
|
|
30
|
-
@property --ui-search-result-row-hover-surface {
|
|
31
|
-
syntax: "*";
|
|
32
|
-
inherits: false;
|
|
33
|
-
}
|
|
34
|
-
@property --ui-search-result-row-min-height {
|
|
35
|
-
syntax: "*";
|
|
36
|
-
inherits: false;
|
|
37
|
-
}
|
|
38
|
-
@property --ui-search-result-row-padding-block {
|
|
39
|
-
syntax: "*";
|
|
40
|
-
inherits: false;
|
|
41
|
-
}
|
|
42
|
-
@property --ui-search-result-row-padding-inline {
|
|
43
|
-
syntax: "*";
|
|
44
|
-
inherits: false;
|
|
45
|
-
}
|
|
46
|
-
@property --ui-search-result-row-selected-bg {
|
|
47
|
-
syntax: "*";
|
|
48
|
-
inherits: false;
|
|
49
|
-
}
|
|
50
|
-
@property --ui-search-result-row-surface {
|
|
51
|
-
syntax: "*";
|
|
52
|
-
inherits: false;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
21
|
:host {
|
|
56
22
|
appearance: none;
|
|
57
23
|
inline-size: 100%;
|
|
@@ -25,50 +25,8 @@
|
|
|
25
25
|
</dialog>
|
|
26
26
|
</div>
|
|
27
27
|
<style>
|
|
28
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
29
|
-
@property --ui-search-shell-border {
|
|
30
|
-
syntax: "*";
|
|
31
|
-
inherits: false;
|
|
32
|
-
}
|
|
33
|
-
@property --ui-search-shell-focus-color {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
}
|
|
37
|
-
@property --ui-search-shell-max-height {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-search-shell-max-width {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-search-shell-padding-top {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-search-shell-radius {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-search-shell-shadow {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-search-shell-surface {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
@property --ui-search-shell-viewport-gap {
|
|
62
|
-
syntax: "*";
|
|
63
|
-
inherits: false;
|
|
64
|
-
}
|
|
65
|
-
@property --ui-search-shell-z-index {
|
|
66
|
-
syntax: "*";
|
|
67
|
-
inherits: false;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
28
|
:host {
|
|
71
|
-
/*
|
|
29
|
+
/* Resolve shared part values at the component root. */
|
|
72
30
|
--_ui-search-shell-z-index: var(--ui-search-shell-z-index);
|
|
73
31
|
--_ui-search-shell-padding-top: var(--ui-search-shell-padding-top);
|
|
74
32
|
--_ui-search-shell-viewport-gap: var(--ui-search-shell-viewport-gap);
|
|
@@ -17,48 +17,6 @@
|
|
|
17
17
|
</defs>
|
|
18
18
|
<select from:disabled="$disabled" from:required="$required" from:aria-invalid="$invalid"><slot></slot></select>
|
|
19
19
|
<style>
|
|
20
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
21
|
-
@property --ui-select-border {
|
|
22
|
-
syntax: "*";
|
|
23
|
-
inherits: false;
|
|
24
|
-
}
|
|
25
|
-
@property --ui-select-border-hover {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
|
-
@property --ui-select-focus-border {
|
|
30
|
-
syntax: "*";
|
|
31
|
-
inherits: false;
|
|
32
|
-
}
|
|
33
|
-
@property --ui-select-focus-shadow {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
}
|
|
37
|
-
@property --ui-select-inline-size {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-select-invalid-border {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-select-invalid-focus-shadow {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-select-radius {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-select-shadow {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-select-surface {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
20
|
:host {
|
|
63
21
|
--_ui-select-size: var(--ui-control-size-md);
|
|
64
22
|
--_ui-select-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
@@ -9,12 +9,6 @@
|
|
|
9
9
|
</defs>
|
|
10
10
|
<hr from:aria-orientation="$orientation">
|
|
11
11
|
<style>
|
|
12
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
13
|
-
@property --ui-separator-color {
|
|
14
|
-
syntax: "*";
|
|
15
|
-
inherits: false;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
12
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
19
13
|
:host {
|
|
20
14
|
box-sizing: border-box !important;
|
|
@@ -39,30 +39,8 @@
|
|
|
39
39
|
</div>
|
|
40
40
|
</aside>
|
|
41
41
|
<style>
|
|
42
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
43
|
-
@property --ui-sidebar-backdrop {
|
|
44
|
-
syntax: "*";
|
|
45
|
-
inherits: false;
|
|
46
|
-
}
|
|
47
|
-
@property --ui-sidebar-border {
|
|
48
|
-
syntax: "*";
|
|
49
|
-
inherits: false;
|
|
50
|
-
}
|
|
51
|
-
@property --ui-sidebar-surface {
|
|
52
|
-
syntax: "*";
|
|
53
|
-
inherits: false;
|
|
54
|
-
}
|
|
55
|
-
@property --ui-sidebar-width {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-sidebar-collapsed-width {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
42
|
:host {
|
|
65
|
-
/*
|
|
43
|
+
/* Resolve shared part values at the component root. */
|
|
66
44
|
--_ui-sidebar-backdrop: var(--ui-sidebar-backdrop);
|
|
67
45
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
68
46
|
|
|
@@ -161,7 +139,7 @@
|
|
|
161
139
|
inset-inline-start: 3px;
|
|
162
140
|
inline-size: 2px;
|
|
163
141
|
background: color-mix(in srgb, var(--ui-affordance-guide-color, var(--ui-border-strong)) 45%, transparent);
|
|
164
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
142
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
165
143
|
transition:
|
|
166
144
|
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
167
145
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
@@ -15,31 +15,6 @@
|
|
|
15
15
|
<div class="actions"><slot name="actions"></slot></div>
|
|
16
16
|
</header>
|
|
17
17
|
<style>
|
|
18
|
-
@property --ui-site-header-height {
|
|
19
|
-
syntax: "*";
|
|
20
|
-
inherits: false;
|
|
21
|
-
}
|
|
22
|
-
@property --ui-site-header-compact-height {
|
|
23
|
-
syntax: "*";
|
|
24
|
-
inherits: false;
|
|
25
|
-
}
|
|
26
|
-
@property --ui-site-header-padding-inline {
|
|
27
|
-
syntax: "*";
|
|
28
|
-
inherits: false;
|
|
29
|
-
}
|
|
30
|
-
@property --ui-site-header-surface {
|
|
31
|
-
syntax: "*";
|
|
32
|
-
inherits: false;
|
|
33
|
-
}
|
|
34
|
-
@property --ui-site-header-border {
|
|
35
|
-
syntax: "*";
|
|
36
|
-
inherits: false;
|
|
37
|
-
}
|
|
38
|
-
@property --ui-site-header-z-index {
|
|
39
|
-
syntax: "*";
|
|
40
|
-
inherits: false;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
18
|
:host {
|
|
44
19
|
box-sizing: border-box !important;
|
|
45
20
|
display: flex !important;
|
|
@@ -17,15 +17,6 @@
|
|
|
17
17
|
</defs>
|
|
18
18
|
<span aria-hidden="true" style:--ui-skeleton-width="$width" style:--ui-skeleton-height="$height"></span>
|
|
19
19
|
<style>
|
|
20
|
-
/* Dimensions belong to this placeholder, never a nested or neighbouring one. */
|
|
21
|
-
@property --ui-skeleton-width {
|
|
22
|
-
syntax: "*";
|
|
23
|
-
inherits: false;
|
|
24
|
-
}
|
|
25
|
-
@property --ui-skeleton-height {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
20
|
@property --_ui-skeleton-viewport-x {
|
|
30
21
|
syntax: "<length>";
|
|
31
22
|
inherits: false;
|