@threadlabs/looma 0.32.1 → 0.33.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/README.md +15 -0
- package/bin/looma-docs.mjs +3 -0
- 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/docs/README.md +116 -0
- package/docs/card.html +63 -0
- package/docs/card.js +32 -0
- package/docs/catalog-view.js +18 -0
- package/docs/catalog-view.mjs +11 -0
- package/docs/catalog.json +22974 -0
- package/docs/catalog.mjs +131 -0
- package/docs/cli.mjs +26 -0
- package/docs/commands.mjs +94 -0
- package/docs/customizer-render.mjs +40 -0
- package/docs/customizer.js +118 -0
- package/docs/documentation.css +8 -0
- package/docs/examples/ui-action-bar/examples/01-form-footer.behavior.js +7 -0
- package/docs/examples/ui-button/examples/08-loading.behavior.js +21 -0
- package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +30 -0
- package/docs/examples/ui-combobox/examples/06-selected-values.behavior.js +11 -0
- package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +34 -0
- package/docs/examples/ui-toast/examples/01-authored.behavior.js +15 -0
- package/docs/examples/ui-toast/examples/02-danger.behavior.js +2 -0
- package/docs/examples/ui-tree/examples/03-max-depth-2-and-hover-expand-delay-300.behavior.js +30 -0
- package/docs/examples/ui-tree/examples/06-move-without-dragging.behavior.js +2 -0
- package/docs/examples/ui-tree/examples/07-multiple-selection.behavior.js +16 -0
- package/docs/examples/ui-tree-item/examples/02-container.behavior.js +1 -0
- package/docs/index.d.ts +54 -0
- package/docs/index.mjs +4 -0
- package/docs/local-server.mjs +68 -0
- package/docs/preview.js +20 -0
- package/docs/reference.html +1 -0
- package/docs/reference.js +36 -0
- package/docs/render.mjs +84 -0
- package/docs/site.mjs +198 -0
- package/docs/store.mjs +92 -0
- package/docs/theme.mjs +100 -0
- package/docs/workspace.mjs +32 -0
- package/package.json +28 -3
- 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/index.js +28 -11
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
package/styles/ui-list-item.css
CHANGED
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
40
40
|
|
|
41
41
|
position: relative;
|
|
42
|
-
box-sizing: border-box;
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
gap: var(--ui-list-item-gap, var(--ui-space-3));
|
|
42
|
+
box-sizing: border-box !important;
|
|
43
|
+
display: flex !important;
|
|
44
|
+
align-items: center !important;
|
|
45
|
+
gap: var(--ui-list-item-gap, var(--ui-space-3)) !important;
|
|
46
46
|
min-inline-size: 0;
|
|
47
47
|
min-block-size: var(--_ui-list-item-min-size, var(--ui-control-size, 2.5rem));
|
|
48
|
-
padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2)));
|
|
49
|
-
padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3)));
|
|
48
|
+
padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2))) !important;
|
|
49
|
+
padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3))) !important;
|
|
50
50
|
border-radius: var(--ui-selection-radius);
|
|
51
51
|
color: var(--ui-text-primary);
|
|
52
52
|
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), border-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="variant=card"] {
|
|
56
|
-
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3));
|
|
57
|
-
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4));
|
|
56
|
+
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3)) !important;
|
|
57
|
+
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4)) !important;
|
|
58
58
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
59
59
|
border-radius: var(--ui-radius-lg);
|
|
60
60
|
background: var(--ui-surface-raised);
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
|
|
87
87
|
.leading,
|
|
88
88
|
.trailing {
|
|
89
|
-
display: inline-flex;
|
|
89
|
+
display: inline-flex !important;
|
|
90
90
|
flex: none;
|
|
91
|
-
align-items: center;
|
|
92
|
-
gap: var(--ui-space-2);
|
|
91
|
+
align-items: center !important;
|
|
92
|
+
gap: var(--ui-space-2) !important;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.leading {
|
|
@@ -116,16 +116,16 @@
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.content {
|
|
119
|
-
display: flex;
|
|
119
|
+
display: flex !important;
|
|
120
120
|
flex: 1;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
gap: var(--ui-space-0-5, 2px);
|
|
121
|
+
flex-direction: column !important;
|
|
122
|
+
gap: var(--ui-space-0-5, 2px) !important;
|
|
123
123
|
min-inline-size: 0;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.title,
|
|
127
127
|
.description {
|
|
128
|
-
display: block;
|
|
128
|
+
display: block !important;
|
|
129
129
|
min-inline-size: 0;
|
|
130
130
|
overflow: hidden;
|
|
131
131
|
text-overflow: ellipsis;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
/* Keep identity and disclosure marks beside the first line, even with a long description. */
|
|
148
148
|
:scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="align=title"] {
|
|
149
|
-
align-items: flex-start;
|
|
149
|
+
align-items: flex-start !important;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
:scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="align=title"] .leading,
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
.leading:empty,
|
|
165
165
|
.description:empty,
|
|
166
166
|
.trailing:empty {
|
|
167
|
-
display: none;
|
|
167
|
+
display: none !important;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@media (forced-colors: active) {
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
|
|
181
181
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
182
182
|
:scope:where([data-component~="ui-list-item"])[hidden] {
|
|
183
|
-
display: none;
|
|
183
|
+
display: none !important;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
@scope ([data-component~="ui-list-item"]) to ([data-component]) {
|
package/styles/ui-list.css
CHANGED
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
:scope:where([data-component~="ui-list"]) {
|
|
24
24
|
--_list-gap: var(--ui-list-gap, var(--ui-space-1));
|
|
25
25
|
--_list-min-item-width: var(--ui-list-min-item-width, 14rem);
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
26
|
+
display: flex !important;
|
|
27
|
+
flex-direction: column !important;
|
|
28
28
|
inline-size: 100%;
|
|
29
|
-
gap: var(--_list-gap);
|
|
29
|
+
gap: var(--_list-gap) !important;
|
|
30
30
|
min-inline-size: 0;
|
|
31
|
-
margin: 0;
|
|
32
|
-
padding: 0;
|
|
31
|
+
margin: 0 !important;
|
|
32
|
+
padding: 0 !important;
|
|
33
33
|
list-style: none;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"],
|
|
37
37
|
:scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
|
|
38
|
-
padding-inline-start: var(--ui-space-5);
|
|
38
|
+
padding-inline-start: var(--ui-space-5) !important;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"] {
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
|
|
60
60
|
:scope:where([data-component~="ui-list"])[data-ui-list-state~="layout=grid"] {
|
|
61
61
|
--_list-gap: var(--ui-list-gap, var(--ui-space-3));
|
|
62
|
-
display: grid;
|
|
62
|
+
display: grid !important;
|
|
63
63
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
67
67
|
:scope:where([data-component~="ui-list"])[hidden] {
|
|
68
|
-
display: none;
|
|
68
|
+
display: none !important;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
@scope ([data-component~="ui-list"]) to ([data-component]) {
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
markers. */
|
|
77
77
|
|
|
78
78
|
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li) {
|
|
79
|
-
box-sizing: border-box;
|
|
79
|
+
box-sizing: border-box !important;
|
|
80
80
|
min-inline-size: 0;
|
|
81
|
-
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3));
|
|
81
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
|
|
82
82
|
border-radius: var(--ui-radius-md);
|
|
83
83
|
color: var(--ui-text-primary);
|
|
84
84
|
list-style: inherit;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li.card) {
|
|
88
|
-
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4));
|
|
88
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
|
|
89
89
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
90
90
|
border-radius: var(--ui-radius-lg);
|
|
91
91
|
background: var(--ui-surface-raised);
|
package/styles/ui-listbox.css
CHANGED
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
|
|
31
31
|
:scope:where([data-component~="ui-listbox"]) {
|
|
32
32
|
position: relative;
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
display: block;
|
|
33
|
+
box-sizing: border-box !important;
|
|
34
|
+
display: block !important;
|
|
35
35
|
inline-size: 100%;
|
|
36
36
|
min-inline-size: 0;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: var(--ui-space-1);
|
|
37
|
+
margin: 0 !important;
|
|
38
|
+
padding: var(--ui-space-1) !important;
|
|
39
39
|
border: var(--ui-border-width) solid var(--ui-listbox-border, var(--ui-control-border));
|
|
40
40
|
border-radius: var(--ui-listbox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
41
41
|
background: var(--ui-listbox-surface, var(--ui-control-surface));
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
|
|
49
49
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
50
50
|
.choices {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
51
|
+
display: flex !important;
|
|
52
|
+
flex-direction: column !important;
|
|
53
53
|
max-block-size: calc(max(2, var(--_rows, 5)) * var(--ui-control-size-md));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
:scope:where([data-component~="ui-listbox"]):not([data-enhanced]) {
|
|
57
|
-
padding: 0;
|
|
57
|
+
padding: 0 !important;
|
|
58
58
|
border: 0;
|
|
59
59
|
background: transparent;
|
|
60
60
|
box-shadow: none;
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
|
|
63
63
|
:scope:where([data-component~="ui-listbox"]):not([data-enhanced]) .choices,
|
|
64
64
|
:scope:where([data-component~="ui-listbox"])[data-enhanced] .fallback {
|
|
65
|
-
display: none;
|
|
65
|
+
display: none !important;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.fallback {
|
|
69
|
-
box-sizing: border-box;
|
|
69
|
+
box-sizing: border-box !important;
|
|
70
70
|
inline-size: 100%;
|
|
71
71
|
font: inherit;
|
|
72
72
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
:scope:where([data-component~="ui-listbox"])[hidden] {
|
|
103
|
-
display: none;
|
|
103
|
+
display: none !important;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
@scope ([data-component~="ui-listbox"]) to ([data-component]) {
|
|
@@ -130,12 +130,12 @@
|
|
|
130
130
|
|
|
131
131
|
:where([data-component~="ui-listbox"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
132
132
|
position: relative;
|
|
133
|
-
box-sizing: border-box;
|
|
134
|
-
display: block;
|
|
133
|
+
box-sizing: border-box !important;
|
|
134
|
+
display: block !important;
|
|
135
135
|
inline-size: 100%;
|
|
136
136
|
min-inline-size: 0;
|
|
137
|
-
margin: 0;
|
|
138
|
-
padding: var(--ui-space-1);
|
|
137
|
+
margin: 0 !important;
|
|
138
|
+
padding: var(--ui-space-1) !important;
|
|
139
139
|
border: var(--ui-border-width) solid var(--ui-listbox-border, var(--ui-control-border));
|
|
140
140
|
border-radius: var(--ui-listbox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
141
141
|
background: var(--ui-listbox-surface, var(--ui-control-surface));
|
|
@@ -148,24 +148,24 @@
|
|
|
148
148
|
|
|
149
149
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
150
150
|
.choices:where(:scope, :scope *) {
|
|
151
|
-
display: flex;
|
|
152
|
-
flex-direction: column;
|
|
151
|
+
display: flex !important;
|
|
152
|
+
flex-direction: column !important;
|
|
153
153
|
max-block-size: calc(max(2, var(--_rows, 5)) * var(--ui-control-size-md));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
:where([data-component~="ui-listbox"]):not([data-enhanced]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
157
|
-
padding: 0;
|
|
157
|
+
padding: 0 !important;
|
|
158
158
|
border: 0;
|
|
159
159
|
background: transparent;
|
|
160
160
|
box-shadow: none;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
:where([data-component~="ui-listbox"]):not([data-enhanced]) .choices:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))), :where([data-component~="ui-listbox"])[data-enhanced] .fallback:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
164
|
-
display: none;
|
|
164
|
+
display: none !important;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.fallback:where(:scope, :scope *) {
|
|
168
|
-
box-sizing: border-box;
|
|
168
|
+
box-sizing: border-box !important;
|
|
169
169
|
inline-size: 100%;
|
|
170
170
|
font: inherit;
|
|
171
171
|
}
|
|
@@ -199,6 +199,6 @@
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
:where([data-component~="ui-listbox"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
202
|
-
display: none;
|
|
202
|
+
display: none !important;
|
|
203
203
|
}
|
|
204
204
|
}
|
package/styles/ui-menu-group.css
CHANGED
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-menu-group"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
:scope:where([data-component~="ui-menu-group"]) {
|
|
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
|
:scope:where([data-component~="ui-menu-group"])[hidden] {
|
|
24
|
-
display: none;
|
|
24
|
+
display: none !important;
|
|
25
25
|
}
|
|
26
26
|
}
|
package/styles/ui-menu-item.css
CHANGED
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:scope:where([data-component~="ui-menu-item"]) {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
gap: var(--ui-space-2);
|
|
40
|
-
box-sizing: border-box;
|
|
37
|
+
display: flex !important;
|
|
38
|
+
align-items: center !important;
|
|
39
|
+
gap: var(--ui-space-2) !important;
|
|
40
|
+
box-sizing: border-box !important;
|
|
41
41
|
width: 100%;
|
|
42
42
|
padding: var(--ui-menu-item-padding-block, var(--_ui-default-menu-item-padding-block, var(--ui-space-2)))
|
|
43
|
-
var(--ui-menu-item-padding-inline, var(--_ui-default-menu-item-padding-inline, var(--ui-space-3)));
|
|
43
|
+
var(--ui-menu-item-padding-inline, var(--_ui-default-menu-item-padding-inline, var(--ui-space-3))) !important;
|
|
44
44
|
text-align: left;
|
|
45
45
|
border-radius: var(--ui-menu-item-radius, var(--_ui-default-menu-item-radius, var(--ui-selection-radius)));
|
|
46
46
|
color: var(--ui-text-primary);
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
|
|
55
55
|
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
56
56
|
.icon {
|
|
57
|
-
display: var(--_ui-default-menu-icon-display, none);
|
|
58
|
-
align-items: center;
|
|
59
|
-
justify-content: center;
|
|
57
|
+
display: var(--_ui-default-menu-icon-display, none) !important;
|
|
58
|
+
align-items: center !important;
|
|
59
|
+
justify-content: center !important;
|
|
60
60
|
flex: none;
|
|
61
61
|
inline-size: var(--ui-icon-size-sm);
|
|
62
62
|
block-size: var(--ui-icon-size-sm);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.icon:not(:empty) {
|
|
66
|
-
display: inline-flex;
|
|
66
|
+
display: inline-flex !important;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="tone=danger"] {
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.label {
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: var(--ui-space-2);
|
|
74
|
+
display: flex !important;
|
|
75
|
+
align-items: center !important;
|
|
76
|
+
gap: var(--ui-space-2) !important;
|
|
77
77
|
flex: 1;
|
|
78
78
|
min-inline-size: 0;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.indicator {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: center;
|
|
82
|
+
display: inline-flex !important;
|
|
83
|
+
align-items: center !important;
|
|
84
|
+
justify-content: center !important;
|
|
85
85
|
flex: none;
|
|
86
|
-
box-sizing: border-box;
|
|
86
|
+
box-sizing: border-box !important;
|
|
87
87
|
inline-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
88
88
|
block-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
89
89
|
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=action"] .indicator {
|
|
96
|
-
display: none;
|
|
96
|
+
display: none !important;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=checkbox"][aria-checked="true"] .indicator {
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.shortcut {
|
|
112
|
-
margin-inline-start: auto;
|
|
112
|
+
margin-inline-start: auto !important;
|
|
113
113
|
color: var(--ui-text-secondary);
|
|
114
114
|
font-size: var(--ui-font-size-sm);
|
|
115
115
|
font-weight: var(--ui-font-normal);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.shortcut:empty {
|
|
119
|
-
display: none;
|
|
119
|
+
display: none !important;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/* A <kbd> takes the browser's monospace; the hint reads in the item's own type. */
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
|
|
164
164
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
165
165
|
:scope:where([data-component~="ui-menu-item"])[hidden] {
|
|
166
|
-
display: none;
|
|
166
|
+
display: none !important;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
package/styles/ui-menu.css
CHANGED
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
37
37
|
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
38
38
|
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
39
|
-
padding: var(--ui-space-1);
|
|
40
|
-
gap: 0;
|
|
39
|
+
padding: var(--ui-space-1) !important;
|
|
40
|
+
gap: 0 !important;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
50
50
|
--_ui-default-menu-indicator-size: 0.75rem;
|
|
51
51
|
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
52
|
-
padding: var(--ui-space-1);
|
|
53
|
-
gap: 0;
|
|
52
|
+
padding: var(--ui-space-1) !important;
|
|
53
|
+
gap: 0 !important;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="icons"] {
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
--_ui-default-menu-item-min-block-size: initial;
|
|
71
71
|
--_ui-default-menu-indicator-size: initial;
|
|
72
72
|
--_ui-default-menu-icon-display: none;
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
box-sizing: border-box;
|
|
73
|
+
display: flex !important;
|
|
74
|
+
flex-direction: column !important;
|
|
75
|
+
box-sizing: border-box !important;
|
|
76
76
|
inline-size: max-content;
|
|
77
77
|
min-inline-size: min(12rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
78
78
|
max-inline-size: calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
79
|
-
padding: 0;
|
|
79
|
+
padding: 0 !important;
|
|
80
80
|
border: 0;
|
|
81
81
|
outline: 0;
|
|
82
82
|
border-radius: 0;
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.surface {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
box-sizing: border-box;
|
|
89
|
+
display: flex !important;
|
|
90
|
+
flex-direction: column !important;
|
|
91
|
+
box-sizing: border-box !important;
|
|
92
92
|
max-inline-size: inherit;
|
|
93
|
-
padding: var(--ui-space-1);
|
|
93
|
+
padding: var(--ui-space-1) !important;
|
|
94
94
|
background: var(--_ui-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
95
95
|
border: var(--ui-border-width) solid var(--_ui-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
96
96
|
border-radius: var(--_ui-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
@@ -102,19 +102,19 @@
|
|
|
102
102
|
.surface hr {
|
|
103
103
|
align-self: stretch;
|
|
104
104
|
block-size: 0;
|
|
105
|
-
margin: var(--ui-space-1) 0;
|
|
105
|
+
margin: var(--ui-space-1) 0 !important;
|
|
106
106
|
border: 0;
|
|
107
107
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
:scope:where([data-component~="ui-menu"]):not([data-ui-menu-state~="internalOpen"]):not(:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="inline"]) {
|
|
111
|
-
display: none;
|
|
111
|
+
display: none !important;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
:scope:where([data-component~="ui-menu"])[popover] {
|
|
115
115
|
position: fixed;
|
|
116
116
|
inset: auto;
|
|
117
|
-
margin: 0;
|
|
117
|
+
margin: 0 !important;
|
|
118
118
|
overflow: visible;
|
|
119
119
|
max-block-size: calc(100dvh - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
120
120
|
opacity: 0;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
:scope:where([data-component~="ui-menu"])[hidden] {
|
|
142
|
-
display: none;
|
|
142
|
+
display: none !important;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
@media (prefers-reduced-motion: reduce) {
|
package/styles/ui-meter.css
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
:scope:where([data-component~="ui-meter"]) {
|
|
19
19
|
--_meter-fill: var(--ui-text-muted);
|
|
20
20
|
|
|
21
|
-
display: inline-block;
|
|
21
|
+
display: inline-block !important;
|
|
22
22
|
flex: none;
|
|
23
23
|
vertical-align: middle;
|
|
24
24
|
inline-size: var(--ui-meter-inline-size, 8rem);
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.fill {
|
|
41
|
-
display: block;
|
|
41
|
+
display: block !important;
|
|
42
42
|
block-size: 100%;
|
|
43
43
|
background-color: var(--_meter-fill);
|
|
44
44
|
background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
|
|
@@ -132,10 +132,10 @@
|
|
|
132
132
|
/* A categorical distribution uses flex ratios, avoiding rounded percentages and retaining
|
|
133
133
|
identical geometry before hydration. It has no progress mask or growing-value animation. */
|
|
134
134
|
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="variant=distribution"] {
|
|
135
|
-
display: flex;
|
|
135
|
+
display: flex !important;
|
|
136
136
|
inline-size: 100%;
|
|
137
137
|
block-size: var(--ui-space-4);
|
|
138
|
-
gap: var(--ui-space-0-5);
|
|
138
|
+
gap: var(--ui-space-0-5) !important;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="variant=distribution"][size="sm"] {
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
|
|
182
182
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
183
183
|
:scope:where([data-component~="ui-meter"])[hidden] {
|
|
184
|
-
display: none;
|
|
184
|
+
display: none !important;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
@scope ([data-component~="ui-meter"]) to ([data-component]) {
|
package/styles/ui-nav-item.css
CHANGED
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
--_indicator-width: var(--ui-nav-item-indicator-width, var(--ui-accent-line-width));
|
|
34
34
|
--_indicator-color: var(--ui-nav-item-indicator-color, var(--ui-accent));
|
|
35
35
|
position: relative;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
gap: var(--ui-nav-gap);
|
|
36
|
+
box-sizing: border-box !important;
|
|
37
|
+
display: flex !important;
|
|
38
|
+
align-items: center !important;
|
|
39
|
+
gap: var(--ui-nav-gap) !important;
|
|
40
40
|
inline-size: var(--ui-nav-item-inline-size, 100%);
|
|
41
41
|
min-inline-size: 0;
|
|
42
42
|
min-block-size: var(--ui-nav-min-block-size);
|
|
43
|
-
margin: 0;
|
|
44
|
-
padding-block: var(--ui-nav-padding-block);
|
|
45
|
-
padding-inline: var(--ui-nav-padding-inline);
|
|
43
|
+
margin: 0 !important;
|
|
44
|
+
padding-block: var(--ui-nav-padding-block) !important;
|
|
45
|
+
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
46
46
|
border: 0;
|
|
47
47
|
border-radius: var(--ui-selection-radius);
|
|
48
48
|
background: transparent;
|
|
@@ -91,12 +91,12 @@
|
|
|
91
91
|
position: absolute;
|
|
92
92
|
inset-block: 0;
|
|
93
93
|
inset-inline-start: 0;
|
|
94
|
-
display: none;
|
|
94
|
+
display: none !important;
|
|
95
95
|
border-inline-start: var(--_indicator-width) solid var(--_indicator-color);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="variant=line"][aria-current] .indicator {
|
|
99
|
-
display: block;
|
|
99
|
+
display: block !important;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@media (forced-colors: active) {
|
|
@@ -113,26 +113,26 @@
|
|
|
113
113
|
|
|
114
114
|
.leading,
|
|
115
115
|
.trailing {
|
|
116
|
-
display: inline-flex;
|
|
116
|
+
display: inline-flex !important;
|
|
117
117
|
flex: none;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
118
|
+
align-items: center !important;
|
|
119
|
+
justify-content: center !important;
|
|
120
120
|
inline-size: var(--ui-nav-icon-size);
|
|
121
121
|
color: inherit;
|
|
122
122
|
font-size: var(--ui-nav-icon-size);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.content {
|
|
126
|
-
display: flex;
|
|
126
|
+
display: flex !important;
|
|
127
127
|
flex: 1;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
gap: var(--ui-space-0-5, 2px);
|
|
128
|
+
flex-direction: column !important;
|
|
129
|
+
gap: var(--ui-space-0-5, 2px) !important;
|
|
130
130
|
min-inline-size: 0;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.label,
|
|
134
134
|
.description {
|
|
135
|
-
display: block;
|
|
135
|
+
display: block !important;
|
|
136
136
|
min-inline-size: 0;
|
|
137
137
|
overflow: hidden;
|
|
138
138
|
text-overflow: ellipsis;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
|
|
154
154
|
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="density=compact"] {
|
|
155
155
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
156
|
-
padding-block: var(--ui-nav-compact-padding-block);
|
|
157
|
-
padding-inline: var(--ui-nav-compact-padding-inline);
|
|
156
|
+
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
157
|
+
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
158
158
|
}
|
|
159
159
|
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="density=compact"] .label {
|
|
160
160
|
font-size: var(--ui-font-size-sm);
|
|
@@ -170,12 +170,12 @@
|
|
|
170
170
|
.leading:empty,
|
|
171
171
|
.trailing:empty,
|
|
172
172
|
.description:empty {
|
|
173
|
-
display: none;
|
|
173
|
+
display: none !important;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
177
177
|
:scope:where([data-component~="ui-nav-item"])[hidden] {
|
|
178
|
-
display: none;
|
|
178
|
+
display: none !important;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
@scope ([data-component~="ui-nav-item"]) to ([data-component]) {
|