@threadlabs/looma 0.32.0 → 0.33.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/shared/icons.js +1 -0
- package/components/shared/overlay.js +1 -1
- package/components/ui-action-bar/ui-action-bar.html +11 -11
- package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
- package/components/ui-avatar/ui-avatar.html +8 -8
- package/components/ui-avatar-group/ui-avatar-group.html +14 -14
- package/components/ui-avatar-group/ui-avatar-group.js +3 -2
- package/components/ui-badge/ui-badge.html +43 -43
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
- package/components/ui-button/ui-button.html +32 -29
- package/components/ui-callout/ui-callout.html +9 -9
- package/components/ui-card/ui-card.html +11 -11
- package/components/ui-checkbox/ui-checkbox.html +52 -33
- package/components/ui-cluster/ui-cluster.html +21 -21
- package/components/ui-color-picker/ui-color-picker.html +135 -0
- package/components/ui-color-picker/ui-color-picker.js +76 -0
- package/components/ui-combobox/ui-combobox.html +43 -43
- package/components/ui-container/ui-container.html +7 -7
- package/components/ui-context-menu/ui-context-menu.html +9 -9
- package/components/ui-cover/ui-cover.html +8 -8
- package/components/ui-description-item/ui-description-item.html +7 -7
- package/components/ui-description-list/ui-description-list.html +4 -4
- package/components/ui-dialog/ui-dialog.html +26 -26
- package/components/ui-disclosure/ui-disclosure.html +23 -23
- package/components/ui-editable/ui-editable.html +16 -16
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
- package/components/ui-editor-surface/ui-editor-surface.html +2 -2
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
- package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
- package/components/ui-form-field/ui-form-field.html +15 -15
- package/components/ui-form-field/ui-form-field.js +12 -4
- package/components/ui-grid/ui-grid.html +4 -4
- package/components/ui-icon/ui-icon.html +3 -2
- package/components/ui-icon-button/ui-icon-button.html +15 -14
- package/components/ui-image/ui-image.html +14 -14
- package/components/ui-input/ui-input.html +8 -8
- package/components/ui-input-group/ui-input-group.html +18 -18
- package/components/ui-list/ui-list.html +11 -11
- package/components/ui-list-item/ui-list-item.html +18 -18
- package/components/ui-listbox/ui-listbox.html +10 -10
- package/components/ui-menu/ui-menu.html +18 -17
- package/components/ui-menu-group/ui-menu-group.html +4 -4
- package/components/ui-menu-item/ui-menu-item.html +20 -20
- package/components/ui-meter/ui-meter.html +5 -5
- package/components/ui-nav-item/ui-nav-item.html +20 -20
- package/components/ui-page-header/ui-page-header.html +18 -17
- package/components/ui-popover/ui-popover.html +8 -8
- package/components/ui-radio/ui-radio.html +25 -17
- package/components/ui-radio-group/ui-radio-group.html +10 -10
- package/components/ui-reel/ui-reel.html +5 -5
- package/components/ui-scroll-area/ui-scroll-area.html +10 -10
- package/components/ui-search-result-row/ui-search-result-row.html +19 -19
- package/components/ui-search-shell/ui-search-shell.html +22 -22
- package/components/ui-section/ui-section.html +24 -23
- package/components/ui-select/ui-select.html +10 -10
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +8 -8
- package/components/ui-spinner/ui-spinner.html +6 -6
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +17 -17
- package/components/ui-swatch/ui-swatch.html +2 -2
- package/components/ui-switch/ui-switch.html +36 -26
- package/components/ui-switcher/ui-switcher.html +7 -7
- package/components/ui-table/ui-table.html +6 -6
- package/components/ui-tabs/ui-tabs.html +16 -15
- package/components/ui-text/ui-text.html +3 -2
- package/components/ui-textarea/ui-textarea.html +10 -10
- package/components/ui-toast/ui-toast.html +9 -9
- package/components/ui-toast-region/ui-toast-region.html +12 -12
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +11 -11
- package/components/ui-tree/ui-tree.html +5 -5
- package/components/ui-tree-item/ui-tree-item.html +36 -36
- package/dist/index.js +46 -45
- package/editor/chunks/extensions.js +17 -1
- package/editor/extensions/slash-command.d.ts +1 -1
- package/editor/file-uploads.d.ts +31 -0
- package/editor/icons.d.ts +1 -0
- package/editor/index.js +2 -1
- package/package.json +3 -2
- package/styles/ui-action-bar.css +11 -11
- package/styles/ui-affordance-scope.css +2 -2
- package/styles/ui-avatar-group.css +14 -14
- package/styles/ui-avatar.css +8 -8
- package/styles/ui-badge.css +41 -41
- package/styles/ui-breadcrumb-item.css +13 -13
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +30 -28
- package/styles/ui-callout.css +9 -9
- package/styles/ui-card.css +11 -11
- package/styles/ui-checkbox.css +52 -33
- package/styles/ui-cluster.css +21 -21
- package/styles/ui-color-picker.css +120 -0
- package/styles/ui-combobox.css +86 -86
- package/styles/ui-container.css +7 -7
- package/styles/ui-context-menu.css +9 -9
- package/styles/ui-cover.css +8 -8
- package/styles/ui-description-item.css +7 -7
- package/styles/ui-description-list.css +4 -4
- package/styles/ui-dialog.css +52 -52
- package/styles/ui-disclosure.css +23 -23
- package/styles/ui-editable.css +16 -16
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-mention-menu-item.css +10 -10
- package/styles/ui-editor-mention-menu.css +23 -23
- package/styles/ui-editor-slash-menu-group.css +5 -5
- package/styles/ui-editor-slash-menu-item.css +11 -11
- package/styles/ui-editor-slash-menu.css +29 -29
- package/styles/ui-editor-surface.css +2 -2
- package/styles/ui-editor-table-context-menu.css +25 -25
- package/styles/ui-editor-table-overlay.css +13 -13
- package/styles/ui-editor-table-toolbar.css +31 -31
- package/styles/ui-editor-toolbar.css +13 -13
- package/styles/ui-floating-action-button.css +8 -8
- package/styles/ui-form-field.css +13 -13
- package/styles/ui-grid.css +4 -4
- package/styles/ui-icon-button.css +13 -13
- package/styles/ui-icon.css +2 -2
- package/styles/ui-image.css +14 -14
- package/styles/ui-input-group.css +18 -18
- package/styles/ui-input.css +8 -8
- package/styles/ui-list-item.css +18 -18
- package/styles/ui-list.css +11 -11
- package/styles/ui-listbox.css +20 -20
- package/styles/ui-menu-group.css +4 -4
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +16 -16
- package/styles/ui-meter.css +5 -5
- package/styles/ui-nav-item.css +20 -20
- package/styles/ui-page-header.css +18 -17
- package/styles/ui-popover.css +8 -8
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +26 -18
- package/styles/ui-reel.css +5 -5
- package/styles/ui-scroll-area.css +10 -10
- package/styles/ui-search-result-row.css +19 -19
- package/styles/ui-search-shell.css +22 -22
- package/styles/ui-section.css +24 -23
- package/styles/ui-select.css +10 -10
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +8 -8
- package/styles/ui-spinner.css +6 -6
- package/styles/ui-stack.css +12 -12
- package/styles/ui-status-message.css +17 -17
- package/styles/ui-swatch.css +2 -2
- package/styles/ui-switch.css +36 -28
- package/styles/ui-switcher.css +7 -7
- package/styles/ui-table.css +6 -6
- package/styles/ui-tabs.css +11 -11
- package/styles/ui-text.css +3 -2
- package/styles/ui-textarea.css +10 -10
- package/styles/ui-toast-region.css +24 -24
- package/styles/ui-toast.css +18 -18
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +11 -11
- package/styles/ui-tree-item.css +71 -71
- package/styles/ui-tree.css +5 -5
- package/theme-system.css +80 -0
- package/tokens.css +14 -3
- package/vanilla/UiColorPicker.d.ts +30 -0
- package/vanilla/UiColorPicker.js +77 -0
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/index.js +1 -0
- package/vue/UiActionBar.vue +11 -11
- package/vue/UiAffordanceScope.vue +2 -2
- package/vue/UiAvatar.vue +8 -8
- package/vue/UiAvatarGroup.vue +14 -14
- package/vue/UiBadge.vue +43 -42
- package/vue/UiBreadcrumbItem.vue +13 -13
- package/vue/UiBreadcrumbs.vue +8 -8
- package/vue/UiButton.vue +34 -29
- package/vue/UiCallout.vue +9 -9
- package/vue/UiCard.vue +11 -11
- package/vue/UiCheckbox.vue +57 -34
- package/vue/UiCluster.vue +21 -21
- package/vue/UiColorPicker.d.ts +65 -0
- package/vue/UiColorPicker.js +2 -0
- package/vue/UiColorPicker.vue +422 -0
- package/vue/UiCombobox.vue +86 -86
- package/vue/UiContainer.vue +7 -7
- package/vue/UiContextMenu.vue +9 -9
- package/vue/UiCover.vue +8 -8
- package/vue/UiDescriptionItem.vue +7 -7
- package/vue/UiDescriptionList.vue +4 -4
- package/vue/UiDialog.vue +52 -52
- package/vue/UiDisclosure.vue +23 -23
- package/vue/UiEditable.vue +16 -16
- package/vue/UiEditorInsertTableGrid.vue +9 -9
- package/vue/UiEditorMentionMenu.vue +23 -23
- package/vue/UiEditorMentionMenuItem.vue +10 -10
- package/vue/UiEditorSlashMenu.vue +29 -29
- package/vue/UiEditorSlashMenuGroup.vue +5 -5
- package/vue/UiEditorSlashMenuItem.vue +11 -11
- package/vue/UiEditorSurface.vue +2 -2
- package/vue/UiEditorTableContextMenu.vue +25 -25
- package/vue/UiEditorTableOverlay.vue +13 -13
- package/vue/UiEditorTableToolbar.vue +31 -31
- package/vue/UiEditorToolbar.vue +13 -13
- package/vue/UiFloatingActionButton.vue +8 -8
- package/vue/UiFormField.vue +14 -14
- package/vue/UiGrid.vue +4 -4
- package/vue/UiIcon.vue +6 -2
- package/vue/UiIconButton.vue +14 -14
- package/vue/UiImage.vue +14 -14
- package/vue/UiInput.vue +9 -8
- package/vue/UiInputGroup.vue +18 -18
- package/vue/UiList.vue +11 -11
- package/vue/UiListItem.vue +18 -18
- package/vue/UiListbox.vue +20 -20
- package/vue/UiMenu.vue +16 -16
- package/vue/UiMenuGroup.vue +4 -4
- package/vue/UiMenuItem.vue +20 -20
- package/vue/UiMeter.vue +5 -5
- package/vue/UiNavItem.vue +20 -20
- package/vue/UiPageHeader.vue +18 -17
- package/vue/UiPopover.vue +8 -8
- package/vue/UiRadio.vue +28 -17
- package/vue/UiRadioGroup.vue +10 -10
- package/vue/UiReel.vue +5 -5
- package/vue/UiScrollArea.vue +10 -10
- package/vue/UiSearchResultRow.vue +19 -19
- package/vue/UiSearchShell.vue +22 -22
- package/vue/UiSection.vue +24 -23
- package/vue/UiSelect.vue +11 -10
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +8 -8
- package/vue/UiSpinner.vue +6 -6
- package/vue/UiStack.vue +12 -12
- package/vue/UiStatusMessage.vue +17 -17
- package/vue/UiSwatch.vue +2 -2
- package/vue/UiSwitch.vue +38 -25
- package/vue/UiSwitcher.vue +7 -7
- package/vue/UiTable.vue +6 -6
- package/vue/UiTabs.vue +13 -13
- package/vue/UiText.vue +3 -2
- package/vue/UiTextarea.vue +10 -10
- package/vue/UiToast.vue +18 -18
- package/vue/UiToastRegion.vue +24 -24
- package/vue/UiTooltip.vue +15 -15
- package/vue/UiTopBar.vue +11 -11
- package/vue/UiTree.vue +5 -5
- package/vue/UiTreeItem.vue +73 -71
- 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 +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +326 -0
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.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/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +5 -1
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +1 -1
- 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/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.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 +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- 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/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- 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 +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +3 -3
- package/vue/chunks/UiText.js +1 -1
- 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 +1857 -1654
- package/vue/editor/LoomaEditor.d.ts +18 -2
- package/vue/editor/index.d.ts +2 -1
- package/vue/editor/index.js +147 -16
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
>The idle marker of an anticipatory button: dot for contextual actions, or a slim neutral rounded bar for a panel-edge control. The icon appears on hover or
|
|
28
28
|
keyboard focus; touch always shows the icon.</prop>
|
|
29
29
|
<prop name="revealed" type="boolean" default="false"
|
|
30
|
-
>Keeps an anticipatory button visible while its context is active, such as a selected block or an open popup. It does not imply a pressed or expanded
|
|
30
|
+
>Keeps an anticipatory button visible while its context is active, such as a selected block or an open popup. It does not imply a pressed or expanded
|
|
31
|
+
state.</prop>
|
|
31
32
|
<prop name="round" type="boolean" default="false">Use a fully circular shape.</prop>
|
|
32
33
|
</defs>
|
|
33
34
|
<button
|
|
@@ -135,7 +136,7 @@
|
|
|
135
136
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
136
137
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
137
138
|
|
|
138
|
-
display: inline-flex;
|
|
139
|
+
display: inline-flex !important;
|
|
139
140
|
color: var(--ui-text-secondary);
|
|
140
141
|
}
|
|
141
142
|
|
|
@@ -223,22 +224,22 @@
|
|
|
223
224
|
block-size: var(--ui-icon-button-size, var(--_size));
|
|
224
225
|
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
225
226
|
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
226
|
-
padding: 0;
|
|
227
|
-
margin: 0;
|
|
227
|
+
padding: 0 !important;
|
|
228
|
+
margin: 0 !important;
|
|
228
229
|
border: var(--ui-border-width) solid transparent;
|
|
229
230
|
border-radius: var(--ui-icon-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
230
231
|
background-color: var(--ui-icon-button-surface, transparent);
|
|
231
232
|
color: inherit;
|
|
232
|
-
display: inline-flex;
|
|
233
|
-
align-items: center;
|
|
234
|
-
justify-content: center;
|
|
233
|
+
display: inline-flex !important;
|
|
234
|
+
align-items: center !important;
|
|
235
|
+
justify-content: center !important;
|
|
235
236
|
cursor: pointer;
|
|
236
237
|
transition:
|
|
237
238
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
238
239
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
239
240
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
240
241
|
box-shadow var(--ui-motion-base) var(--ui-motion-ease),
|
|
241
|
-
scale var(--ui-motion-fast) var(--ui-motion-ease);
|
|
242
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
@media (hover: none), (pointer: coarse) {
|
|
@@ -368,7 +369,7 @@
|
|
|
368
369
|
}
|
|
369
370
|
|
|
370
371
|
:host:active:enabled:not([aria-disabled="true"]) {
|
|
371
|
-
scale: var(--ui-icon-button-active-scale, 0.96);
|
|
372
|
+
scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
|
|
372
373
|
}
|
|
373
374
|
|
|
374
375
|
:is(:host([loading]), :host([pending])) {
|
|
@@ -376,13 +377,13 @@
|
|
|
376
377
|
}
|
|
377
378
|
|
|
378
379
|
.content {
|
|
379
|
-
display: inline-flex;
|
|
380
|
-
align-items: center;
|
|
381
|
-
justify-content: center;
|
|
380
|
+
display: inline-flex !important;
|
|
381
|
+
align-items: center !important;
|
|
382
|
+
justify-content: center !important;
|
|
382
383
|
}
|
|
383
384
|
|
|
384
385
|
:is(:host([loading]), :host([pending])) .content {
|
|
385
|
-
display: none;
|
|
386
|
+
display: none !important;
|
|
386
387
|
}
|
|
387
388
|
|
|
388
389
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -470,7 +471,7 @@
|
|
|
470
471
|
|
|
471
472
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
472
473
|
:host[hidden] {
|
|
473
|
-
display: none;
|
|
474
|
+
display: none !important;
|
|
474
475
|
}
|
|
475
476
|
</style>
|
|
476
477
|
</template>
|
|
@@ -32,24 +32,24 @@
|
|
|
32
32
|
</figure>
|
|
33
33
|
<style>
|
|
34
34
|
:host {
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: flex-start;
|
|
37
|
-
box-sizing: border-box;
|
|
35
|
+
display: flex !important;
|
|
36
|
+
justify-content: flex-start !important;
|
|
37
|
+
box-sizing: border-box !important;
|
|
38
38
|
max-inline-size: 100%;
|
|
39
39
|
min-inline-size: 0;
|
|
40
|
-
margin: 0;
|
|
41
|
-
padding: var(--ui-space-3) 0;
|
|
40
|
+
margin: 0 !important;
|
|
41
|
+
padding: var(--ui-space-3) 0 !important;
|
|
42
42
|
}
|
|
43
43
|
:host([placement="center"]) {
|
|
44
|
-
justify-content: center;
|
|
44
|
+
justify-content: center !important;
|
|
45
45
|
}
|
|
46
46
|
:host([placement="wrap-left"]) {
|
|
47
47
|
float: left;
|
|
48
|
-
padding-inline-end: var(--ui-space-4);
|
|
48
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
49
49
|
}
|
|
50
50
|
:host([placement="wrap-right"]) {
|
|
51
51
|
float: right;
|
|
52
|
-
padding-inline-start: var(--ui-space-4);
|
|
52
|
+
padding-inline-start: var(--ui-space-4) !important;
|
|
53
53
|
}
|
|
54
54
|
:host:is(:host([placement="wrap-left"]), :host([placement="wrap-right"])) {
|
|
55
55
|
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
border-radius: var(--ui-radius-md);
|
|
72
72
|
}
|
|
73
73
|
.frame img, .frame :slotted(img) {
|
|
74
|
-
display: block;
|
|
74
|
+
display: block !important;
|
|
75
75
|
max-inline-size: 100%;
|
|
76
76
|
block-size: auto;
|
|
77
|
-
margin: 0;
|
|
77
|
+
margin: 0 !important;
|
|
78
78
|
border-radius: inherit;
|
|
79
79
|
}
|
|
80
80
|
:host[data-resizing] .frame img, :host[data-resizing] .frame :slotted(img) {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
z-index: 1;
|
|
90
90
|
inline-size: 24px;
|
|
91
91
|
block-size: 24px;
|
|
92
|
-
padding: 0;
|
|
92
|
+
padding: 0 !important;
|
|
93
93
|
border: 0;
|
|
94
94
|
background: transparent;
|
|
95
95
|
touch-action: none;
|
|
@@ -127,16 +127,16 @@
|
|
|
127
127
|
cursor: nwse-resize;
|
|
128
128
|
}
|
|
129
129
|
.handles[hidden], :host[hidden] {
|
|
130
|
-
display: none;
|
|
130
|
+
display: none !important;
|
|
131
131
|
}
|
|
132
132
|
@media (max-width: 767px) {
|
|
133
133
|
:host:is(:host([placement="wrap-left"]), :host([placement="wrap-right"])) {
|
|
134
134
|
float: none;
|
|
135
135
|
inline-size: 100%;
|
|
136
|
-
padding-inline: 0;
|
|
136
|
+
padding-inline: 0 !important;
|
|
137
137
|
}
|
|
138
138
|
:host:is(:host([placement="wrap-left"]), :host([placement="wrap-right"])) .handles {
|
|
139
|
-
display: none;
|
|
139
|
+
display: none !important;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
@media (pointer: coarse) {
|
|
@@ -96,15 +96,15 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
:host {
|
|
99
|
-
box-sizing: border-box;
|
|
100
|
-
display: inline-block;
|
|
99
|
+
box-sizing: border-box !important;
|
|
100
|
+
display: inline-block !important;
|
|
101
101
|
inline-size: var(--ui-input-inline-size, 100%);
|
|
102
102
|
min-inline-size: 0;
|
|
103
103
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-md)));
|
|
104
|
-
margin: 0;
|
|
105
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
104
|
+
margin: 0 !important;
|
|
105
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
106
106
|
appearance: none;
|
|
107
|
-
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3));
|
|
107
|
+
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3)) !important;
|
|
108
108
|
border: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width))) solid
|
|
109
109
|
var(--ui-input-border, var(--_ui-default-input-border, var(--ui-control-border, var(--ui-border-strong))));
|
|
110
110
|
border-radius: var(--ui-input-radius, var(--_ui-default-input-radius, var(--ui-field-radius, var(--ui-radius-md))));
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
123
123
|
:host([size="sm"]) {
|
|
124
124
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
|
|
125
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
125
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
126
126
|
font-size: var(--ui-font-size-sm);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
:host([size="lg"]) {
|
|
130
130
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
|
|
131
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
131
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
132
132
|
font-size: var(--ui-font-size-md);
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
|
|
216
216
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
217
217
|
:host[hidden] {
|
|
218
|
-
display: none;
|
|
218
|
+
display: none !important;
|
|
219
219
|
}
|
|
220
220
|
</style>
|
|
221
221
|
</template>
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
--_ui-default-textarea-radius: 0;
|
|
66
66
|
--_ui-default-textarea-surface: transparent;
|
|
67
67
|
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: stretch;
|
|
70
|
-
box-sizing: border-box;
|
|
68
|
+
display: flex !important;
|
|
69
|
+
align-items: stretch !important;
|
|
70
|
+
box-sizing: border-box !important;
|
|
71
71
|
inline-size: 100%;
|
|
72
72
|
min-inline-size: 0;
|
|
73
73
|
min-block-size: var(--ui-control-size-md);
|
|
@@ -152,16 +152,16 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.field {
|
|
155
|
-
display: flex;
|
|
155
|
+
display: flex !important;
|
|
156
156
|
flex: 1;
|
|
157
157
|
min-inline-size: 0;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.affix {
|
|
161
|
-
display: inline-flex;
|
|
161
|
+
display: inline-flex !important;
|
|
162
162
|
flex: none;
|
|
163
|
-
align-items: center;
|
|
164
|
-
padding-inline: var(--ui-space-2);
|
|
163
|
+
align-items: center !important;
|
|
164
|
+
padding-inline: var(--ui-space-2) !important;
|
|
165
165
|
color: var(--ui-text-muted);
|
|
166
166
|
font-family: var(--ui-font-family-mono);
|
|
167
167
|
font-size: var(--ui-font-size-sm);
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
--_ui-default-input-padding-inline-start: var(--ui-space-2);
|
|
187
187
|
}
|
|
188
188
|
:host([prefixKind="icon"]) .affix:first-child {
|
|
189
|
-
padding-inline-end: 0;
|
|
189
|
+
padding-inline-end: 0 !important;
|
|
190
190
|
border-inline-end: 0;
|
|
191
191
|
background: transparent;
|
|
192
192
|
}
|
|
@@ -194,15 +194,15 @@
|
|
|
194
194
|
/* Centred rather than padded above and below: the group is exactly a lone Input's height, so a
|
|
195
195
|
small button sits inside it with the difference split evenly, and the field keeps its height. */
|
|
196
196
|
.action {
|
|
197
|
-
display: flex;
|
|
197
|
+
display: flex !important;
|
|
198
198
|
flex: none;
|
|
199
|
-
align-items: center;
|
|
200
|
-
padding-inline: var(--ui-space-1);
|
|
199
|
+
align-items: center !important;
|
|
200
|
+
padding-inline: var(--ui-space-1) !important;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
/* Multiline text owns the first row; its action remains inside the same frame below it. */
|
|
204
204
|
:host([multiline]) {
|
|
205
|
-
display: grid;
|
|
205
|
+
display: grid !important;
|
|
206
206
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -212,9 +212,9 @@
|
|
|
212
212
|
|
|
213
213
|
:host([multiline]) .action {
|
|
214
214
|
grid-column: 1 / -1;
|
|
215
|
-
justify-content: end;
|
|
216
|
-
padding: var(--ui-space-2);
|
|
217
|
-
padding-block-start: 0;
|
|
215
|
+
justify-content: end !important;
|
|
216
|
+
padding: var(--ui-space-2) !important;
|
|
217
|
+
padding-block-start: 0 !important;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
/* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
|
|
@@ -232,17 +232,17 @@
|
|
|
232
232
|
grid-row: 1;
|
|
233
233
|
align-self: start;
|
|
234
234
|
justify-self: end;
|
|
235
|
-
padding: var(--ui-space-2);
|
|
235
|
+
padding: var(--ui-space-2) !important;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.affix:empty,
|
|
239
239
|
.action:empty {
|
|
240
|
-
display: none;
|
|
240
|
+
display: none !important;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
244
244
|
:host[hidden] {
|
|
245
|
-
display: none;
|
|
245
|
+
display: none !important;
|
|
246
246
|
}
|
|
247
247
|
</style>
|
|
248
248
|
</template>
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
:host {
|
|
32
32
|
--_list-gap: var(--ui-list-gap, var(--ui-space-1));
|
|
33
33
|
--_list-min-item-width: var(--ui-list-min-item-width, 14rem);
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
34
|
+
display: flex !important;
|
|
35
|
+
flex-direction: column !important;
|
|
36
36
|
inline-size: 100%;
|
|
37
|
-
gap: var(--_list-gap);
|
|
37
|
+
gap: var(--_list-gap) !important;
|
|
38
38
|
min-inline-size: 0;
|
|
39
|
-
margin: 0;
|
|
40
|
-
padding: 0;
|
|
39
|
+
margin: 0 !important;
|
|
40
|
+
padding: 0 !important;
|
|
41
41
|
list-style: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:host([as="ol"]),
|
|
45
45
|
:host([markers="disc"]) {
|
|
46
|
-
padding-inline-start: var(--ui-space-5);
|
|
46
|
+
padding-inline-start: var(--ui-space-5) !important;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:host([as="ol"]) {
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
:host > :slotted(li) {
|
|
58
|
-
box-sizing: border-box;
|
|
58
|
+
box-sizing: border-box !important;
|
|
59
59
|
min-inline-size: 0;
|
|
60
|
-
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3));
|
|
60
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
|
|
61
61
|
border-radius: var(--ui-radius-md);
|
|
62
62
|
color: var(--ui-text-primary);
|
|
63
63
|
list-style: inherit;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
:host > :slotted(li.card) {
|
|
67
|
-
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4));
|
|
67
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
|
|
68
68
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
69
69
|
border-radius: var(--ui-radius-lg);
|
|
70
70
|
background: var(--ui-surface-raised);
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
|
|
85
85
|
:host([layout="grid"]) {
|
|
86
86
|
--_list-gap: var(--ui-list-gap, var(--ui-space-3));
|
|
87
|
-
display: grid;
|
|
87
|
+
display: grid !important;
|
|
88
88
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
92
92
|
:host[hidden] {
|
|
93
|
-
display: none;
|
|
93
|
+
display: none !important;
|
|
94
94
|
}
|
|
95
95
|
</style>
|
|
96
96
|
</template>
|
|
@@ -59,22 +59,22 @@
|
|
|
59
59
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
60
60
|
|
|
61
61
|
position: relative;
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
gap: var(--ui-list-item-gap, var(--ui-space-3));
|
|
62
|
+
box-sizing: border-box !important;
|
|
63
|
+
display: flex !important;
|
|
64
|
+
align-items: center !important;
|
|
65
|
+
gap: var(--ui-list-item-gap, var(--ui-space-3)) !important;
|
|
66
66
|
min-inline-size: 0;
|
|
67
67
|
min-block-size: var(--_ui-list-item-min-size, var(--ui-control-size, 2.5rem));
|
|
68
|
-
padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2)));
|
|
69
|
-
padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3)));
|
|
68
|
+
padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2))) !important;
|
|
69
|
+
padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3))) !important;
|
|
70
70
|
border-radius: var(--ui-selection-radius);
|
|
71
71
|
color: var(--ui-text-primary);
|
|
72
72
|
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), border-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
:host([variant="card"]) {
|
|
76
|
-
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3));
|
|
77
|
-
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4));
|
|
76
|
+
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3)) !important;
|
|
77
|
+
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4)) !important;
|
|
78
78
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
79
79
|
border-radius: var(--ui-radius-lg);
|
|
80
80
|
background: var(--ui-surface-raised);
|
|
@@ -106,10 +106,10 @@
|
|
|
106
106
|
|
|
107
107
|
.leading,
|
|
108
108
|
.trailing {
|
|
109
|
-
display: inline-flex;
|
|
109
|
+
display: inline-flex !important;
|
|
110
110
|
flex: none;
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: var(--ui-space-2);
|
|
111
|
+
align-items: center !important;
|
|
112
|
+
gap: var(--ui-space-2) !important;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.leading {
|
|
@@ -136,16 +136,16 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.content {
|
|
139
|
-
display: flex;
|
|
139
|
+
display: flex !important;
|
|
140
140
|
flex: 1;
|
|
141
|
-
flex-direction: column;
|
|
142
|
-
gap: var(--ui-space-0-5, 2px);
|
|
141
|
+
flex-direction: column !important;
|
|
142
|
+
gap: var(--ui-space-0-5, 2px) !important;
|
|
143
143
|
min-inline-size: 0;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.title,
|
|
147
147
|
.description {
|
|
148
|
-
display: block;
|
|
148
|
+
display: block !important;
|
|
149
149
|
min-inline-size: 0;
|
|
150
150
|
overflow: hidden;
|
|
151
151
|
text-overflow: ellipsis;
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
/* Keep identity and disclosure marks beside the first line, even with a long description. */
|
|
168
168
|
:host([align="title"]) {
|
|
169
|
-
align-items: flex-start;
|
|
169
|
+
align-items: flex-start !important;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
:host([align="title"]) .leading,
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
.leading:empty,
|
|
202
202
|
.description:empty,
|
|
203
203
|
.trailing:empty {
|
|
204
|
-
display: none;
|
|
204
|
+
display: none !important;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
@media (forced-colors: active) {
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
219
219
|
:host[hidden] {
|
|
220
|
-
display: none;
|
|
220
|
+
display: none !important;
|
|
221
221
|
}
|
|
222
222
|
</style>
|
|
223
223
|
</template>
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
|
|
102
102
|
:host {
|
|
103
103
|
position: relative;
|
|
104
|
-
box-sizing: border-box;
|
|
105
|
-
display: block;
|
|
104
|
+
box-sizing: border-box !important;
|
|
105
|
+
display: block !important;
|
|
106
106
|
inline-size: 100%;
|
|
107
107
|
min-inline-size: 0;
|
|
108
|
-
margin: 0;
|
|
109
|
-
padding: var(--ui-space-1);
|
|
108
|
+
margin: 0 !important;
|
|
109
|
+
padding: var(--ui-space-1) !important;
|
|
110
110
|
border: var(--ui-border-width) solid var(--ui-listbox-border, var(--ui-control-border));
|
|
111
111
|
border-radius: var(--ui-listbox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
112
112
|
background: var(--ui-listbox-surface, var(--ui-control-surface));
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
|
|
120
120
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
121
121
|
.choices {
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
122
|
+
display: flex !important;
|
|
123
|
+
flex-direction: column !important;
|
|
124
124
|
max-block-size: calc(max(2, var(--_rows, 5)) * var(--ui-control-size-md));
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
:host:not([data-enhanced]) {
|
|
128
|
-
padding: 0;
|
|
128
|
+
padding: 0 !important;
|
|
129
129
|
border: 0;
|
|
130
130
|
background: transparent;
|
|
131
131
|
box-shadow: none;
|
|
@@ -133,11 +133,11 @@
|
|
|
133
133
|
|
|
134
134
|
:host:not([data-enhanced]) .choices,
|
|
135
135
|
:host[data-enhanced] .fallback {
|
|
136
|
-
display: none;
|
|
136
|
+
display: none !important;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.fallback {
|
|
140
|
-
box-sizing: border-box;
|
|
140
|
+
box-sizing: border-box !important;
|
|
141
141
|
inline-size: 100%;
|
|
142
142
|
font: inherit;
|
|
143
143
|
}
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
:host[hidden] {
|
|
174
|
-
display: none;
|
|
174
|
+
display: none !important;
|
|
175
175
|
}
|
|
176
176
|
</style>
|
|
177
177
|
</template>
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="density" type="keyword" values="comfortable, compact" default="comfortable"
|
|
4
4
|
>Compact trades padding and type size for rows that fit more on screen.</prop>
|
|
5
|
-
<prop name="icons" type="boolean" default="false"
|
|
5
|
+
<prop name="icons" type="boolean" default="false"
|
|
6
|
+
>Reserves a fixed icon column in every item, including items without an icon. Supply item icons through their icon slot.</prop>
|
|
6
7
|
<prop name="size" type="keyword" values="sm, md" default="md"
|
|
7
8
|
>sm sizes the menu to a small trigger, such as an xs or sm button: smallest text, short rows, a small check, and a narrower minimum width. md is the
|
|
8
9
|
standard size.</prop>
|
|
@@ -61,8 +62,8 @@
|
|
|
61
62
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
62
63
|
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
63
64
|
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
64
|
-
padding: var(--ui-space-1);
|
|
65
|
-
gap: 0;
|
|
65
|
+
padding: var(--ui-space-1) !important;
|
|
66
|
+
gap: 0 !important;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
@@ -74,8 +75,8 @@
|
|
|
74
75
|
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
75
76
|
--_ui-default-menu-indicator-size: 0.75rem;
|
|
76
77
|
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
77
|
-
padding: var(--ui-space-1);
|
|
78
|
-
gap: 0;
|
|
78
|
+
padding: var(--ui-space-1) !important;
|
|
79
|
+
gap: 0 !important;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
:host([icons]) {
|
|
@@ -95,13 +96,13 @@
|
|
|
95
96
|
--_ui-default-menu-item-min-block-size: initial;
|
|
96
97
|
--_ui-default-menu-indicator-size: initial;
|
|
97
98
|
--_ui-default-menu-icon-display: none;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
box-sizing: border-box;
|
|
99
|
+
display: flex !important;
|
|
100
|
+
flex-direction: column !important;
|
|
101
|
+
box-sizing: border-box !important;
|
|
101
102
|
inline-size: max-content;
|
|
102
103
|
min-inline-size: min(12rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
103
104
|
max-inline-size: calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
104
|
-
padding: 0;
|
|
105
|
+
padding: 0 !important;
|
|
105
106
|
border: 0;
|
|
106
107
|
outline: 0;
|
|
107
108
|
border-radius: 0;
|
|
@@ -111,11 +112,11 @@
|
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
.surface {
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-direction: column;
|
|
116
|
-
box-sizing: border-box;
|
|
115
|
+
display: flex !important;
|
|
116
|
+
flex-direction: column !important;
|
|
117
|
+
box-sizing: border-box !important;
|
|
117
118
|
max-inline-size: inherit;
|
|
118
|
-
padding: var(--ui-space-1);
|
|
119
|
+
padding: var(--ui-space-1) !important;
|
|
119
120
|
background: var(--_ui-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
120
121
|
border: var(--ui-border-width) solid var(--_ui-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
121
122
|
border-radius: var(--_ui-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
@@ -127,19 +128,19 @@
|
|
|
127
128
|
.surface hr {
|
|
128
129
|
align-self: stretch;
|
|
129
130
|
block-size: 0;
|
|
130
|
-
margin: var(--ui-space-1) 0;
|
|
131
|
+
margin: var(--ui-space-1) 0 !important;
|
|
131
132
|
border: 0;
|
|
132
133
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
:host(:not(:state(internalOpen))):not(:host([inline])) {
|
|
136
|
-
display: none;
|
|
137
|
+
display: none !important;
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
:host[popover] {
|
|
140
141
|
position: fixed;
|
|
141
142
|
inset: auto;
|
|
142
|
-
margin: 0;
|
|
143
|
+
margin: 0 !important;
|
|
143
144
|
overflow: visible;
|
|
144
145
|
max-block-size: calc(100dvh - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
145
146
|
opacity: 0;
|
|
@@ -164,7 +165,7 @@
|
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
:host[hidden] {
|
|
167
|
-
display: none;
|
|
168
|
+
display: none !important;
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
<style>
|
|
10
10
|
:host {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
11
|
+
display: flex !important;
|
|
12
|
+
flex-direction: column !important;
|
|
13
13
|
min-inline-size: 0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.heading {
|
|
17
|
-
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1);
|
|
17
|
+
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1) !important;
|
|
18
18
|
color: var(--ui-text-muted);
|
|
19
19
|
font-size: var(--ui-font-size-sm);
|
|
20
20
|
font-weight: var(--ui-font-semibold);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
:host[hidden] {
|
|
24
|
-
display: none;
|
|
24
|
+
display: none !important;
|
|
25
25
|
}
|
|
26
26
|
</style>
|
|
27
27
|
</template>
|