@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
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
elevated adds a subtle lift above the page, for a view's one card, such as sign-in. Treatment independently controls decorative material.</prop>
|
|
8
8
|
<prop name="treatment" type="keyword" values="standard, expressive" default="standard"
|
|
9
9
|
>How much of the theme's decorative material the surface expresses. standard preserves its restrained treatment; expressive uses the full material
|
|
10
|
-
treatment. Its glass rim can transmit and frost the surrounding scene while content remains opaque. Surface separation controls the rim, independently of
|
|
10
|
+
treatment. Its glass rim can transmit and frost the surrounding scene while content remains opaque. Surface separation controls the rim, independently of
|
|
11
|
+
frosting. This does not add elevation or require glass.</prop>
|
|
11
12
|
<prop name="padding" type="keyword" values="xs, sm, md, lg" default="md"
|
|
12
13
|
>The space inside the card: xs is compact (0.5rem), sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).</prop>
|
|
13
|
-
<prop name="tone" type="keyword" values="neutral, accent, info, success, warning, danger" default="neutral"
|
|
14
|
+
<prop name="tone" type="keyword" values="neutral, accent, accent-secondary, accent-tertiary, info, success, warning, danger" default="neutral"
|
|
14
15
|
>accent, info, success, warning and danger add a quiet semantic surface without changing card geometry. Row highlights follow the surface hue; action
|
|
15
|
-
controls retain their own intent
|
|
16
|
+
controls retain their own intent. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset
|
|
17
|
+
families follow the primary accent.</prop>
|
|
16
18
|
<prop name="as" type="keyword" values="div, section, article, aside" default="div"
|
|
17
19
|
>The native element the card renders. Choose the one that names the content: a section of a page, a self-contained article, or an aside.</prop>
|
|
18
20
|
</defs>
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
needs no layout of its own. */
|
|
28
30
|
:host {
|
|
29
31
|
--_ui-card-surface: var(--ui-surface-raised);
|
|
32
|
+
--_ui-surface-text: initial;
|
|
30
33
|
--_ui-card-elevation: 0 0 0 transparent;
|
|
31
34
|
--_ui-selection-context-surface: initial;
|
|
32
35
|
--_ui-selection-context-border: initial;
|
|
@@ -40,7 +43,7 @@
|
|
|
40
43
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
41
44
|
border-radius: var(--ui-radius-lg);
|
|
42
45
|
background: var(--_ui-card-surface);
|
|
43
|
-
color: var(--ui-text-primary);
|
|
46
|
+
color: var(--_ui-surface-text, var(--ui-text-primary));
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
:host([padding="xs"]) {
|
|
@@ -110,37 +113,60 @@
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
116
|
+
:host([tone="accent-secondary"]) {
|
|
117
|
+
border-color: var(--ui-accent-secondary-soft-border);
|
|
118
|
+
--_ui-card-surface: var(--ui-accent-secondary-soft);
|
|
119
|
+
--_ui-surface-text: var(--ui-accent-secondary-subtle-text);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host([tone="accent-tertiary"]) {
|
|
123
|
+
border-color: var(--ui-accent-tertiary-soft-border);
|
|
124
|
+
--_ui-card-surface: var(--ui-accent-tertiary-soft);
|
|
125
|
+
--_ui-surface-text: var(--ui-accent-tertiary-subtle-text);
|
|
126
|
+
}
|
|
127
|
+
|
|
113
128
|
:host([tone="accent"]) {
|
|
114
|
-
border-color:
|
|
115
|
-
--_ui-card-surface:
|
|
129
|
+
border-color: var(--ui-accent-soft-border);
|
|
130
|
+
--_ui-card-surface: var(--ui-accent-soft);
|
|
131
|
+
--_ui-surface-text: var(--ui-accent-subtle-text);
|
|
116
132
|
}
|
|
117
133
|
|
|
118
134
|
:host([tone="info"]) {
|
|
119
|
-
border-color:
|
|
120
|
-
--_ui-card-surface:
|
|
135
|
+
border-color: var(--ui-info-soft-border);
|
|
136
|
+
--_ui-card-surface: var(--ui-info-soft);
|
|
137
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
121
138
|
}
|
|
122
139
|
|
|
123
140
|
:host([tone="success"]) {
|
|
124
|
-
border-color:
|
|
125
|
-
--_ui-card-surface:
|
|
141
|
+
border-color: var(--ui-success-soft-border);
|
|
142
|
+
--_ui-card-surface: var(--ui-success-soft);
|
|
143
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
126
144
|
}
|
|
127
145
|
|
|
128
146
|
:host([tone="warning"]) {
|
|
129
|
-
border-color:
|
|
130
|
-
--_ui-card-surface:
|
|
147
|
+
border-color: var(--ui-warning-soft-border);
|
|
148
|
+
--_ui-card-surface: var(--ui-warning-soft);
|
|
149
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
131
150
|
}
|
|
132
151
|
|
|
133
|
-
:host([variant="subtle"]:is([tone="accent"], [tone="info"], [tone="success"], [tone="warning"])) {
|
|
152
|
+
:host([variant="subtle"]:is([tone="accent"], [tone="accent-secondary"], [tone="accent-tertiary"], [tone="info"], [tone="success"], [tone="warning"])) {
|
|
134
153
|
border-color: transparent;
|
|
135
154
|
}
|
|
136
155
|
|
|
137
156
|
:host([tone="danger"]) {
|
|
138
|
-
border-color:
|
|
157
|
+
border-color: var(--ui-danger-soft-border);
|
|
139
158
|
--_ui-card-surface: var(--ui-danger-soft);
|
|
159
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
140
160
|
}
|
|
141
161
|
|
|
142
162
|
/* A colored panel shades rows in its own hue, without changing button intent. */
|
|
143
|
-
:host([tone="accent"]),
|
|
163
|
+
:host([tone="accent"]),
|
|
164
|
+
:host([tone="accent-secondary"]),
|
|
165
|
+
:host([tone="accent-tertiary"]),
|
|
166
|
+
:host([tone="info"]),
|
|
167
|
+
:host([tone="success"]),
|
|
168
|
+
:host([tone="warning"]),
|
|
169
|
+
:host([tone="danger"]) {
|
|
144
170
|
--_ui-selection-context-surface: light-dark(
|
|
145
171
|
oklch(from var(--_ui-card-surface) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
146
172
|
oklch(from var(--_ui-card-surface) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -153,16 +179,16 @@
|
|
|
153
179
|
}
|
|
154
180
|
|
|
155
181
|
:host([size="sm"]) {
|
|
156
|
-
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
157
|
-
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
182
|
+
inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
183
|
+
max-inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
158
184
|
}
|
|
159
185
|
:host([size="md"]) {
|
|
160
|
-
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
161
|
-
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
186
|
+
inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
187
|
+
max-inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
162
188
|
}
|
|
163
189
|
:host([size="lg"]) {
|
|
164
|
-
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
165
|
-
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
190
|
+
inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
191
|
+
max-inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
166
192
|
}
|
|
167
193
|
|
|
168
194
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -46,22 +46,8 @@
|
|
|
46
46
|
</span>
|
|
47
47
|
</label>
|
|
48
48
|
<style>
|
|
49
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
50
|
-
@property --ui-checkbox-gap {
|
|
51
|
-
syntax: "*";
|
|
52
|
-
inherits: false;
|
|
53
|
-
}
|
|
54
|
-
@property --ui-checkbox-invalid-border {
|
|
55
|
-
syntax: "*";
|
|
56
|
-
inherits: false;
|
|
57
|
-
}
|
|
58
|
-
@property --ui-checkbox-size {
|
|
59
|
-
syntax: "*";
|
|
60
|
-
inherits: false;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
49
|
:host {
|
|
64
|
-
/*
|
|
50
|
+
/* Resolve shared part values at the component root. */
|
|
65
51
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
66
52
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
67
53
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<prop name="fixed" type="boolean" default="false">Keeps this group at its content size inside a flex layout.</prop>
|
|
8
8
|
<prop name="gap" type="keyword" values="xs, s, m, l, xl"
|
|
9
9
|
>Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem (also the default), m 1rem, l 1.5rem, and xl 2rem. The --ui-cluster-gap custom property,
|
|
10
|
-
set on
|
|
10
|
+
set on :root, an ancestor, or the component itself, overrides it.</prop>
|
|
11
11
|
<prop name="align" type="keyword" values="start, center, end, stretch, baseline"
|
|
12
12
|
>How items line up within each row: center (the default) aligns their middles, start their tops, end their bottoms, and stretch makes every item as tall as
|
|
13
13
|
its row. baseline aligns the first text baselines, including multiline columns.</prop>
|
|
@@ -21,12 +21,6 @@
|
|
|
21
21
|
</defs>
|
|
22
22
|
<div><slot></slot></div>
|
|
23
23
|
<style>
|
|
24
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
25
|
-
@property --ui-cluster-gap {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
24
|
:host {
|
|
31
25
|
--_layout-gap: var(--ui-space-3);
|
|
32
26
|
display: flex !important;
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
>The field's label, tied to its input and shown above it; required adds an asterisk. It also names the suggestion list. Pair it with
|
|
7
7
|
labelVisibility="sr-only" when the context already labels the field visibly.</prop>
|
|
8
8
|
<prop name="muted" type="boolean" default="false"
|
|
9
|
-
>Shows the selected field value with supporting-text emphasis, for an inherited or default choice. Suggestions keep normal emphasis and the field stays
|
|
9
|
+
>Shows the selected field value with supporting-text emphasis, for an inherited or default choice. Suggestions keep normal emphasis and the field stays
|
|
10
|
+
interactive.</prop>
|
|
10
11
|
<prop name="placeholder" type="string" default=""
|
|
11
12
|
>Hint text shown in the empty input, as on a native input. It disappears as the user types, so it never replaces label.</prop>
|
|
12
13
|
<prop name="name" type="string" default=""
|
|
@@ -81,7 +82,9 @@
|
|
|
81
82
|
when the field is left empty. In multiple mode a chosen item satisfies it, whatever is left in the input.</prop>
|
|
82
83
|
<prop name="invalid" type="boolean" default="false"
|
|
83
84
|
>Exposes an externally validated error on the input and field. It remains until the consumer clears it, independently of native validation.</prop>
|
|
84
|
-
<prop name="openOnFocus" type="boolean" default="false"
|
|
85
|
+
<prop name="openOnFocus" type="boolean" default="false"
|
|
86
|
+
>Opens suggestions when the input receives focus or is clicked. A committed selection shows all choices until typing filters them; an explicitly supplied
|
|
87
|
+
query keeps its filtering.</prop>
|
|
85
88
|
<prop name="loading" type="boolean" default="false"
|
|
86
89
|
>Marks the suggestion list busy while the consumer loads options. It announces loading and suppresses the empty state and create offer until cleared.</prop>
|
|
87
90
|
<prop name="size" type="keyword" values="sm, md, lg" default="md"
|
|
@@ -571,74 +574,8 @@
|
|
|
571
574
|
<div class="authored-options" $ref="options" hidden aria-hidden="true"><slot></slot></div>
|
|
572
575
|
</div>
|
|
573
576
|
<style>
|
|
574
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
575
|
-
@property --ui-combobox-affordance-text {
|
|
576
|
-
syntax: "*";
|
|
577
|
-
inherits: false;
|
|
578
|
-
}
|
|
579
|
-
@property --ui-combobox-item-input-min-inline-size {
|
|
580
|
-
syntax: "*";
|
|
581
|
-
inherits: false;
|
|
582
|
-
}
|
|
583
|
-
@property --ui-combobox-item-item-max-inline-size {
|
|
584
|
-
syntax: "*";
|
|
585
|
-
inherits: false;
|
|
586
|
-
}
|
|
587
|
-
@property --ui-combobox-item-min-block-size {
|
|
588
|
-
syntax: "*";
|
|
589
|
-
inherits: false;
|
|
590
|
-
}
|
|
591
|
-
@property --ui-combobox-label-font-size {
|
|
592
|
-
syntax: "*";
|
|
593
|
-
inherits: false;
|
|
594
|
-
}
|
|
595
|
-
@property --ui-combobox-label-text {
|
|
596
|
-
syntax: "*";
|
|
597
|
-
inherits: false;
|
|
598
|
-
}
|
|
599
|
-
@property --ui-combobox-max-block-size {
|
|
600
|
-
syntax: "*";
|
|
601
|
-
inherits: false;
|
|
602
|
-
}
|
|
603
|
-
@property --ui-combobox-message-text {
|
|
604
|
-
syntax: "*";
|
|
605
|
-
inherits: false;
|
|
606
|
-
}
|
|
607
|
-
@property --ui-combobox-option-check {
|
|
608
|
-
syntax: "*";
|
|
609
|
-
inherits: false;
|
|
610
|
-
}
|
|
611
|
-
@property --ui-combobox-option-text {
|
|
612
|
-
syntax: "*";
|
|
613
|
-
inherits: false;
|
|
614
|
-
}
|
|
615
|
-
@property --ui-combobox-radius {
|
|
616
|
-
syntax: "*";
|
|
617
|
-
inherits: false;
|
|
618
|
-
}
|
|
619
|
-
@property --ui-combobox-invalid-border {
|
|
620
|
-
syntax: "*";
|
|
621
|
-
inherits: false;
|
|
622
|
-
}
|
|
623
|
-
@property --ui-combobox-popup-surface {
|
|
624
|
-
syntax: "*";
|
|
625
|
-
inherits: false;
|
|
626
|
-
}
|
|
627
|
-
@property --ui-combobox-popup-border {
|
|
628
|
-
syntax: "*";
|
|
629
|
-
inherits: false;
|
|
630
|
-
}
|
|
631
|
-
@property --ui-combobox-popup-radius {
|
|
632
|
-
syntax: "*";
|
|
633
|
-
inherits: false;
|
|
634
|
-
}
|
|
635
|
-
@property --ui-combobox-popup-shadow {
|
|
636
|
-
syntax: "*";
|
|
637
|
-
inherits: false;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
577
|
:host {
|
|
641
|
-
/*
|
|
578
|
+
/* Resolve shared part values at the component root. */
|
|
642
579
|
--_ui-combobox-label-text: var(--ui-combobox-label-text);
|
|
643
580
|
--_ui-combobox-label-font-size: var(--ui-combobox-label-font-size);
|
|
644
581
|
--_ui-combobox-affordance-text: var(--ui-combobox-affordance-text);
|
|
@@ -665,7 +602,7 @@
|
|
|
665
602
|
}
|
|
666
603
|
label {
|
|
667
604
|
color: var(--_ui-combobox-label-text, var(--ui-text-primary));
|
|
668
|
-
font-size: var(--_ui-combobox-label-font-size, var(--ui-font-size-
|
|
605
|
+
font-size: var(--_ui-combobox-label-font-size, var(--ui-field-label-font-size, var(--ui-font-size-md)));
|
|
669
606
|
font-weight: 500;
|
|
670
607
|
}
|
|
671
608
|
/* The field and anything that annotates it sit on one row; the help button is beside the box,
|
|
@@ -5,23 +5,13 @@
|
|
|
5
5
|
Omit it to keep the usual block layout.</prop>
|
|
6
6
|
<prop name="measure" type="keyword" values="narrow, wide"
|
|
7
7
|
>The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The
|
|
8
|
-
container centres itself when its parent is wider. The --ui-container-measure custom property, set on
|
|
9
|
-
|
|
8
|
+
container centres itself when its parent is wider. The --ui-container-measure custom property, set on :root, an ancestor, or the container itself,
|
|
9
|
+
overrides it.</prop>
|
|
10
10
|
<prop name="gutters" type="keyword" values="s, m, l"
|
|
11
11
|
>Inline padding on both sides, which keeps content off the edges of a narrow screen: s is 0.75rem, m is 1rem (also the default), and l is 1.5rem.</prop>
|
|
12
12
|
</defs>
|
|
13
13
|
<div><slot></slot></div>
|
|
14
14
|
<style>
|
|
15
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
16
|
-
@property --ui-container-gutters {
|
|
17
|
-
syntax: "*";
|
|
18
|
-
inherits: false;
|
|
19
|
-
}
|
|
20
|
-
@property --ui-container-measure {
|
|
21
|
-
syntax: "*";
|
|
22
|
-
inherits: false;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
15
|
:host {
|
|
26
16
|
--_container-measure: 65ch;
|
|
27
17
|
--_container-gutters: var(--ui-space-4);
|
|
@@ -27,30 +27,8 @@
|
|
|
27
27
|
</defs>
|
|
28
28
|
<span><div class="menu" $ref="menu" role="menu" aria-orientation="vertical"><slot></slot></div></span>
|
|
29
29
|
<style>
|
|
30
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
31
|
-
@property --ui-context-menu-surface {
|
|
32
|
-
syntax: "*";
|
|
33
|
-
inherits: false;
|
|
34
|
-
}
|
|
35
|
-
@property --ui-context-menu-border {
|
|
36
|
-
syntax: "*";
|
|
37
|
-
inherits: false;
|
|
38
|
-
}
|
|
39
|
-
@property --ui-context-menu-radius {
|
|
40
|
-
syntax: "*";
|
|
41
|
-
inherits: false;
|
|
42
|
-
}
|
|
43
|
-
@property --ui-context-menu-shadow {
|
|
44
|
-
syntax: "*";
|
|
45
|
-
inherits: false;
|
|
46
|
-
}
|
|
47
|
-
@property --ui-context-menu-z-index {
|
|
48
|
-
syntax: "*";
|
|
49
|
-
inherits: false;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
30
|
:host {
|
|
53
|
-
/*
|
|
31
|
+
/* Resolve shared part values at the component root. */
|
|
54
32
|
--_ui-context-menu-surface: var(--ui-context-menu-surface);
|
|
55
33
|
--_ui-context-menu-border: var(--ui-context-menu-border);
|
|
56
34
|
--_ui-context-menu-radius: var(--ui-context-menu-radius);
|
|
@@ -47,39 +47,9 @@
|
|
|
47
47
|
<footer $ref="footer"><slot name="actions"></slot></footer>
|
|
48
48
|
</dialog>
|
|
49
49
|
<style>
|
|
50
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
51
|
-
@property --ui-dialog-duration {
|
|
52
|
-
syntax: "*";
|
|
53
|
-
inherits: false;
|
|
54
|
-
}
|
|
55
|
-
@property --ui-dialog-surface {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-dialog-border {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
@property --ui-dialog-radius {
|
|
64
|
-
syntax: "*";
|
|
65
|
-
inherits: false;
|
|
66
|
-
}
|
|
67
|
-
@property --ui-dialog-shadow {
|
|
68
|
-
syntax: "*";
|
|
69
|
-
inherits: false;
|
|
70
|
-
}
|
|
71
|
-
@property --ui-dialog-max-width {
|
|
72
|
-
syntax: "*";
|
|
73
|
-
inherits: false;
|
|
74
|
-
}
|
|
75
|
-
@property --ui-dialog-viewport-gap {
|
|
76
|
-
syntax: "*";
|
|
77
|
-
inherits: false;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
50
|
:host {
|
|
81
51
|
--_ui-material-scale: 1;
|
|
82
|
-
/*
|
|
52
|
+
/* Resolve shared part values at the component root. */
|
|
83
53
|
--_ui-dialog-duration: var(--ui-dialog-duration);
|
|
84
54
|
|
|
85
55
|
position: fixed;
|
|
@@ -54,23 +54,9 @@
|
|
|
54
54
|
<div class="panel" $ref="panel" from:id="$contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
55
55
|
</div>
|
|
56
56
|
<style>
|
|
57
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
58
|
-
@property --ui-disclosure-trigger-min-block-size {
|
|
59
|
-
syntax: "*";
|
|
60
|
-
inherits: false;
|
|
61
|
-
}
|
|
62
|
-
@property --ui-disclosure-trigger-padding-block {
|
|
63
|
-
syntax: "*";
|
|
64
|
-
inherits: false;
|
|
65
|
-
}
|
|
66
|
-
@property --ui-disclosure-trigger-padding-inline {
|
|
67
|
-
syntax: "*";
|
|
68
|
-
inherits: false;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
57
|
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
72
58
|
:host {
|
|
73
|
-
/*
|
|
59
|
+
/* Resolve shared part values at the component root. */
|
|
74
60
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
75
61
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
76
62
|
--_ui-disclosure-trigger-padding-inline: var(--ui-disclosure-trigger-padding-inline);
|
|
@@ -35,6 +35,9 @@ export function connect(host) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
const stop = host.effect(() => {
|
|
38
|
+
// The deferred DOM pass cannot track these reads for the effect.
|
|
39
|
+
void host.props.open.value;
|
|
40
|
+
void host.props.anchorRect.value;
|
|
38
41
|
if (!authoredLabel) element.setAttribute("aria-label", String(host.props.label.value || "Mentions"));
|
|
39
42
|
const items = (Array.isArray(host.props.items.value) ? host.props.items.value : []).slice(0, 20);
|
|
40
43
|
host.state.rows = items.map((item) => ({ ...item, initials: item.initials ?? String(item.label).slice(0, 2).toUpperCase() }));
|
|
@@ -43,6 +43,10 @@ export function connect(host) {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
const stop = host.effect(() => {
|
|
46
|
+
// The deferred DOM pass cannot track these reads for the effect.
|
|
47
|
+
void host.props.open.value;
|
|
48
|
+
void host.props.anchorRect.value;
|
|
49
|
+
void host.props.query.value;
|
|
46
50
|
const items = Array.isArray(host.props.items.value) ? host.props.items.value : [];
|
|
47
51
|
if (!authoredLabel) element.setAttribute("aria-label", String(host.props.label.value || "Insert block"));
|
|
48
52
|
host.state.rows = items.map((item) => ({ ...item, value: String(item.value ?? item.title) }));
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
></event>
|
|
108
108
|
</defs>
|
|
109
109
|
<div aria-label="Table controls" from:hidden="not $open">
|
|
110
|
+
<slot></slot>
|
|
110
111
|
<div class="rows">
|
|
111
112
|
<div
|
|
112
113
|
$each="control of $rows"
|
|
@@ -340,7 +341,7 @@
|
|
|
340
341
|
height: var(--ui-affordance-guide-size);
|
|
341
342
|
border-radius: var(--ui-radius-round);
|
|
342
343
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
343
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
344
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
344
345
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
345
346
|
}
|
|
346
347
|
|
|
@@ -435,7 +436,7 @@
|
|
|
435
436
|
inset: 50% auto auto 50%;
|
|
436
437
|
border-radius: var(--ui-radius-round);
|
|
437
438
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
438
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
439
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
439
440
|
transform: translate(-50%, -50%);
|
|
440
441
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
441
442
|
pointer-events: none;
|
|
@@ -8,20 +8,6 @@
|
|
|
8
8
|
</defs>
|
|
9
9
|
<button type="button" from:aria-label="$label" from:disabled="$disabled"><slot></slot></button>
|
|
10
10
|
<style>
|
|
11
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
12
|
-
@property --ui-floating-action-button-inset-block-end {
|
|
13
|
-
syntax: "*";
|
|
14
|
-
inherits: false;
|
|
15
|
-
}
|
|
16
|
-
@property --ui-floating-action-button-inset-inline-end {
|
|
17
|
-
syntax: "*";
|
|
18
|
-
inherits: false;
|
|
19
|
-
}
|
|
20
|
-
@property --ui-floating-action-button-z-index {
|
|
21
|
-
syntax: "*";
|
|
22
|
-
inherits: false;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
11
|
:host {
|
|
26
12
|
position: fixed;
|
|
27
13
|
inset-block-end: calc(var(--ui-floating-action-button-inset-block-end, var(--ui-space-6)) + env(safe-area-inset-bottom));
|
|
@@ -20,38 +20,8 @@
|
|
|
20
20
|
<div class="error"><slot name="error"></slot></div>
|
|
21
21
|
</div>
|
|
22
22
|
<style>
|
|
23
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
24
|
-
@property --ui-form-field-danger {
|
|
25
|
-
syntax: "*";
|
|
26
|
-
inherits: false;
|
|
27
|
-
}
|
|
28
|
-
@property --ui-form-field-help-font-size {
|
|
29
|
-
syntax: "*";
|
|
30
|
-
inherits: false;
|
|
31
|
-
}
|
|
32
|
-
@property --ui-form-field-help-min-block-size {
|
|
33
|
-
syntax: "*";
|
|
34
|
-
inherits: false;
|
|
35
|
-
}
|
|
36
|
-
@property --ui-form-field-help-text {
|
|
37
|
-
syntax: "*";
|
|
38
|
-
inherits: false;
|
|
39
|
-
}
|
|
40
|
-
@property --ui-form-field-label-font-size {
|
|
41
|
-
syntax: "*";
|
|
42
|
-
inherits: false;
|
|
43
|
-
}
|
|
44
|
-
@property --ui-form-field-label-text {
|
|
45
|
-
syntax: "*";
|
|
46
|
-
inherits: false;
|
|
47
|
-
}
|
|
48
|
-
@property --ui-form-field-min-inline-size {
|
|
49
|
-
syntax: "*";
|
|
50
|
-
inherits: false;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
23
|
:host {
|
|
54
|
-
/*
|
|
24
|
+
/* Resolve shared part values at the component root. */
|
|
55
25
|
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
56
26
|
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
57
27
|
--_ui-form-field-label-text: var(--ui-form-field-label-text);
|
|
@@ -76,7 +46,7 @@
|
|
|
76
46
|
|
|
77
47
|
.label {
|
|
78
48
|
color: var(--_ui-form-field-label-text, var(--ui-text-secondary));
|
|
79
|
-
font-size: var(--_ui-form-field-label-font-size, var(--ui-font-size-
|
|
49
|
+
font-size: var(--_ui-form-field-label-font-size, var(--ui-field-label-font-size, var(--ui-font-size-md)));
|
|
80
50
|
}
|
|
81
51
|
|
|
82
52
|
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="gap" type="keyword" values="xs, s, m, l, xl"
|
|
4
4
|
>Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property,
|
|
5
|
-
set on
|
|
5
|
+
set on :root, an ancestor, or the component itself, overrides it.</prop>
|
|
6
6
|
<prop name="min" type="keyword" values="sm, md, lg"
|
|
7
7
|
>The narrowest a column may get before the grid drops to fewer columns: sm is 12rem (also the default), md is 16rem, and lg is 20rem. The grid fits as many
|
|
8
8
|
equal columns as its width allows, and a single column never overflows a narrower container.</prop>
|
|
@@ -11,16 +11,6 @@
|
|
|
11
11
|
</defs>
|
|
12
12
|
<div style:--_grid-column-cap="$columns"><slot></slot></div>
|
|
13
13
|
<style>
|
|
14
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
15
|
-
@property --ui-grid-gap {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-grid-min {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
14
|
:host {
|
|
25
15
|
--_grid-gap: var(--ui-space-4);
|
|
26
16
|
--_grid-min: 12rem;
|
|
@@ -111,19 +111,8 @@
|
|
|
111
111
|
</svg>
|
|
112
112
|
</span>
|
|
113
113
|
<style>
|
|
114
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
115
|
-
@property --ui-icon-size {
|
|
116
|
-
syntax: "*";
|
|
117
|
-
inherits: false;
|
|
118
|
-
}
|
|
119
|
-
@property --ui-icon-stroke-width {
|
|
120
|
-
syntax: "*";
|
|
121
|
-
inherits: false;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
114
|
:host {
|
|
125
|
-
/*
|
|
126
|
-
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
115
|
+
/* 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. */
|
|
127
116
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
128
117
|
|
|
129
118
|
display: inline-flex !important;
|