@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
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
--_ui-context-menu-shadow: var(--ui-context-menu-shadow);
|
|
38
38
|
--_ui-context-menu-z-index: var(--ui-context-menu-z-index);
|
|
39
39
|
|
|
40
|
-
display: contents;
|
|
40
|
+
display: contents !important;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.menu {
|
|
44
44
|
position: fixed;
|
|
45
45
|
inset: auto;
|
|
46
|
-
margin: 0;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
box-sizing: border-box;
|
|
50
|
-
padding: var(--ui-space-1);
|
|
46
|
+
margin: 0 !important;
|
|
47
|
+
display: flex !important;
|
|
48
|
+
flex-direction: column !important;
|
|
49
|
+
box-sizing: border-box !important;
|
|
50
|
+
padding: var(--ui-space-1) !important;
|
|
51
51
|
background: var(--_ui-context-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
52
52
|
border: var(--ui-border-width) solid var(--_ui-context-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
53
53
|
border-radius: var(--_ui-context-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
.menu hr {
|
|
69
69
|
align-self: stretch;
|
|
70
70
|
block-size: 0;
|
|
71
|
-
margin: var(--ui-space-1) 0;
|
|
71
|
+
margin: var(--ui-space-1) 0 !important;
|
|
72
72
|
border: 0;
|
|
73
73
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
74
74
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
.menu[hidden],
|
|
89
89
|
.menu[popover]:not(:popover-open) {
|
|
90
|
-
display: none;
|
|
90
|
+
display: none !important;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
100
100
|
:scope:where([data-component~="ui-context-menu"])[hidden] {
|
|
101
|
-
display: none;
|
|
101
|
+
display: none !important;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@scope ([data-component~="ui-context-menu"]) to ([data-component]) {
|
package/styles/ui-cover.css
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
/* A layout primitive that centres its content in the space, both ways, with room around it: the
|
|
11
11
|
frame for a view that is one card or one message. */
|
|
12
12
|
:scope:where([data-component~="ui-cover"]) {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
13
|
+
display: flex !important;
|
|
14
|
+
flex-direction: column !important;
|
|
15
15
|
/* Safe: a child wider than the cover keeps its start edge in view instead of overflowing both ways. */
|
|
16
|
-
align-items: safe center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
gap: var(--ui-space-6);
|
|
19
|
-
box-sizing: border-box;
|
|
16
|
+
align-items: safe center !important;
|
|
17
|
+
justify-content: center !important;
|
|
18
|
+
gap: var(--ui-space-6) !important;
|
|
19
|
+
box-sizing: border-box !important;
|
|
20
20
|
min-block-size: 100dvh;
|
|
21
|
-
padding: var(--ui-space-6) var(--ui-space-4);
|
|
21
|
+
padding: var(--ui-space-6) var(--ui-space-4) !important;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
:scope:where([data-component~="ui-cover"])[data-ui-cover-state~="size=fill"] {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
30
30
|
:scope:where([data-component~="ui-cover"])[hidden] {
|
|
31
|
-
display: none;
|
|
31
|
+
display: none !important;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
@scope ([data-component~="ui-cover"]) to ([data-component]) {
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
@scope ([data-component~="ui-description-item"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
/* One term and its value in a ui-description-list, laid out by the list's layout. */
|
|
11
11
|
:scope:where([data-component~="ui-description-item"]) {
|
|
12
|
-
display: var(--_ui-description-display, grid);
|
|
12
|
+
display: var(--_ui-description-display, grid) !important;
|
|
13
13
|
grid-column: var(--_ui-description-column, 1 / -1);
|
|
14
14
|
grid-template-columns: subgrid;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: var(--_ui-description-align, baseline);
|
|
17
|
-
gap: var(--ui-space-1) var(--ui-space-6);
|
|
15
|
+
flex-direction: column !important;
|
|
16
|
+
align-items: var(--_ui-description-align, baseline) !important;
|
|
17
|
+
gap: var(--ui-space-1) var(--ui-space-6) !important;
|
|
18
18
|
min-inline-size: 0;
|
|
19
|
-
padding: var(--_ui-description-padding, 0);
|
|
19
|
+
padding: var(--_ui-description-padding, 0) !important;
|
|
20
20
|
border-width: var(--_ui-description-border-width, 0);
|
|
21
21
|
border-style: solid;
|
|
22
22
|
border-color: var(--_ui-description-border-color, var(--ui-border-default));
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
dd {
|
|
32
|
-
margin: 0;
|
|
32
|
+
margin: 0 !important;
|
|
33
33
|
min-inline-size: 0;
|
|
34
34
|
color: var(--ui-text-primary);
|
|
35
35
|
font-weight: var(--ui-font-medium);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
42
42
|
:scope:where([data-component~="ui-description-item"])[hidden] {
|
|
43
|
-
display: none;
|
|
43
|
+
display: none !important;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
@scope ([data-component~="ui-description-item"]) to ([data-component]) {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
--_min: 10rem;
|
|
17
17
|
--_track: var(--_min);
|
|
18
18
|
--_tile-padding: var(--ui-space-3);
|
|
19
|
-
display: grid;
|
|
19
|
+
display: grid !important;
|
|
20
20
|
grid-template-columns: minmax(6rem, max-content) minmax(0, 1fr);
|
|
21
|
-
gap: var(--_gap) var(--_column-gap);
|
|
21
|
+
gap: var(--_gap) var(--_column-gap) !important;
|
|
22
22
|
min-inline-size: 0;
|
|
23
|
-
margin: 0;
|
|
23
|
+
margin: 0 !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/* Stacked, grid, and tiles set each term above its value, passing the shape to the items through
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
75
75
|
:scope:where([data-component~="ui-description-list"])[hidden] {
|
|
76
|
-
display: none;
|
|
76
|
+
display: none !important;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
@scope ([data-component~="ui-description-list"]) to ([data-component]) {
|
package/styles/ui-dialog.css
CHANGED
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
|
|
44
44
|
position: fixed;
|
|
45
45
|
inset: 0;
|
|
46
|
-
box-sizing: border-box;
|
|
46
|
+
box-sizing: border-box !important;
|
|
47
47
|
inline-size: min(
|
|
48
48
|
calc(100% - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2),
|
|
49
49
|
var(--ui-dialog-max-width, var(--_ui-dialog-size, 440px))
|
|
50
50
|
);
|
|
51
51
|
max-inline-size: none;
|
|
52
52
|
max-block-size: calc(100dvh - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2);
|
|
53
|
-
margin: auto;
|
|
54
|
-
padding: 0;
|
|
53
|
+
margin: auto !important;
|
|
54
|
+
padding: 0 !important;
|
|
55
55
|
overflow: hidden;
|
|
56
|
-
flex-direction: column;
|
|
56
|
+
flex-direction: column !important;
|
|
57
57
|
background: var(--ui-dialog-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
58
58
|
border: var(--ui-border-width) solid var(--ui-dialog-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
59
59
|
border-radius: var(--ui-dialog-radius, var(--ui-overlay-radius, var(--ui-radius-dialog)));
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
:scope:where([data-component~="ui-dialog"])[open] {
|
|
74
|
-
display: flex;
|
|
74
|
+
display: flex !important;
|
|
75
75
|
visibility: visible;
|
|
76
76
|
pointer-events: auto;
|
|
77
77
|
opacity: 1;
|
|
@@ -92,36 +92,36 @@
|
|
|
92
92
|
inline-size: 100%;
|
|
93
93
|
block-size: 100dvh;
|
|
94
94
|
max-block-size: none;
|
|
95
|
-
margin: 0;
|
|
95
|
+
margin: 0 !important;
|
|
96
96
|
border-radius: var(--ui-dialog-radius, 0);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:scope:where([data-component~="ui-dialog"])[data-ui-dialog-state~="alert"] .close {
|
|
100
|
-
display: none;
|
|
100
|
+
display: none !important;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
104
104
|
header {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
gap: var(--ui-space-3);
|
|
105
|
+
display: flex !important;
|
|
106
|
+
align-items: center !important;
|
|
107
|
+
gap: var(--ui-space-3) !important;
|
|
108
108
|
flex: none;
|
|
109
109
|
/* The title's ink sits inside its line box and the taller close target. Balance that
|
|
110
110
|
visible top inset against the action row's bottom inset, not just the boxes. */
|
|
111
|
-
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3) var(--ui-space-5);
|
|
111
|
+
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3) var(--ui-space-5) !important;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/* Alerts have no close target to add height above the title. */
|
|
115
115
|
:scope:where([data-component~="ui-dialog"])[data-ui-dialog-state~="alert"] header {
|
|
116
|
-
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
116
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3) !important;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
120
120
|
:scope:where([data-component~="ui-dialog"]) .title {
|
|
121
121
|
flex: 1;
|
|
122
122
|
min-inline-size: 0;
|
|
123
|
-
margin: 0;
|
|
124
|
-
padding: 0;
|
|
123
|
+
margin: 0 !important;
|
|
124
|
+
padding: 0 !important;
|
|
125
125
|
border: 0;
|
|
126
126
|
color: var(--ui-text-primary);
|
|
127
127
|
letter-spacing: normal;
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.close {
|
|
134
|
-
display: inline-grid;
|
|
134
|
+
display: inline-grid !important;
|
|
135
135
|
place-items: center;
|
|
136
136
|
flex: none;
|
|
137
|
-
margin-inline-start: auto;
|
|
137
|
+
margin-inline-start: auto !important;
|
|
138
138
|
inline-size: var(--ui-control-size-sm);
|
|
139
139
|
block-size: var(--ui-control-size-sm);
|
|
140
|
-
padding: 0;
|
|
140
|
+
padding: 0 !important;
|
|
141
141
|
border: 0;
|
|
142
142
|
border-radius: var(--ui-radius-round);
|
|
143
143
|
background: transparent;
|
|
@@ -186,24 +186,24 @@
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.body {
|
|
189
|
-
display: flex;
|
|
190
|
-
flex-direction: column;
|
|
189
|
+
display: flex !important;
|
|
190
|
+
flex-direction: column !important;
|
|
191
191
|
flex: 1 1 auto;
|
|
192
192
|
min-block-size: 0;
|
|
193
|
-
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5);
|
|
193
|
+
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5) !important;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
footer {
|
|
197
|
-
display: flex;
|
|
197
|
+
display: flex !important;
|
|
198
198
|
flex: none;
|
|
199
|
-
flex-wrap: wrap;
|
|
200
|
-
justify-content: flex-end;
|
|
201
|
-
gap: var(--ui-space-2);
|
|
202
|
-
padding: 0 var(--ui-space-5) var(--ui-space-5);
|
|
199
|
+
flex-wrap: wrap !important;
|
|
200
|
+
justify-content: flex-end !important;
|
|
201
|
+
gap: var(--ui-space-2) !important;
|
|
202
|
+
padding: 0 var(--ui-space-5) var(--ui-space-5) !important;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
footer:empty {
|
|
206
|
-
display: none;
|
|
206
|
+
display: none !important;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
@keyframes ui-dialog-enter {
|
|
@@ -290,17 +290,17 @@
|
|
|
290
290
|
|
|
291
291
|
position: fixed;
|
|
292
292
|
inset: 0;
|
|
293
|
-
box-sizing: border-box;
|
|
293
|
+
box-sizing: border-box !important;
|
|
294
294
|
inline-size: min(
|
|
295
295
|
calc(100% - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2),
|
|
296
296
|
var(--ui-dialog-max-width, var(--_ui-dialog-size, 440px))
|
|
297
297
|
);
|
|
298
298
|
max-inline-size: none;
|
|
299
299
|
max-block-size: calc(100dvh - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2);
|
|
300
|
-
margin: auto;
|
|
301
|
-
padding: 0;
|
|
300
|
+
margin: auto !important;
|
|
301
|
+
padding: 0 !important;
|
|
302
302
|
overflow: hidden;
|
|
303
|
-
flex-direction: column;
|
|
303
|
+
flex-direction: column !important;
|
|
304
304
|
background: var(--ui-dialog-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
305
305
|
border: var(--ui-border-width) solid var(--ui-dialog-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
306
306
|
border-radius: var(--ui-dialog-radius, var(--ui-overlay-radius, var(--ui-radius-dialog)));
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
:where([data-component~="ui-dialog"])[open]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-dialog"]))) {
|
|
321
|
-
display: flex;
|
|
321
|
+
display: flex !important;
|
|
322
322
|
visibility: visible;
|
|
323
323
|
pointer-events: auto;
|
|
324
324
|
opacity: 1;
|
|
@@ -339,36 +339,36 @@
|
|
|
339
339
|
inline-size: 100%;
|
|
340
340
|
block-size: 100dvh;
|
|
341
341
|
max-block-size: none;
|
|
342
|
-
margin: 0;
|
|
342
|
+
margin: 0 !important;
|
|
343
343
|
border-radius: var(--ui-dialog-radius, 0);
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
:where([data-component~="ui-dialog"])[data-ui-dialog-state~="alert"] .close:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-dialog"]))) {
|
|
347
|
-
display: none;
|
|
347
|
+
display: none !important;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
351
351
|
header:where(:scope, :scope *) {
|
|
352
|
-
display: flex;
|
|
353
|
-
align-items: center;
|
|
354
|
-
gap: var(--ui-space-3);
|
|
352
|
+
display: flex !important;
|
|
353
|
+
align-items: center !important;
|
|
354
|
+
gap: var(--ui-space-3) !important;
|
|
355
355
|
flex: none;
|
|
356
356
|
/* The title's ink sits inside its line box and the taller close target. Balance that
|
|
357
357
|
visible top inset against the action row's bottom inset, not just the boxes. */
|
|
358
|
-
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3) var(--ui-space-5);
|
|
358
|
+
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3) var(--ui-space-5) !important;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
/* Alerts have no close target to add height above the title. */
|
|
362
362
|
:where([data-component~="ui-dialog"])[data-ui-dialog-state~="alert"] header:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-dialog"]))) {
|
|
363
|
-
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
363
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3) !important;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
367
367
|
:where([data-component~="ui-dialog"]) .title:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-dialog"]))) {
|
|
368
368
|
flex: 1;
|
|
369
369
|
min-inline-size: 0;
|
|
370
|
-
margin: 0;
|
|
371
|
-
padding: 0;
|
|
370
|
+
margin: 0 !important;
|
|
371
|
+
padding: 0 !important;
|
|
372
372
|
border: 0;
|
|
373
373
|
color: var(--ui-text-primary);
|
|
374
374
|
letter-spacing: normal;
|
|
@@ -378,13 +378,13 @@
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.close:where(:scope, :scope *) {
|
|
381
|
-
display: inline-grid;
|
|
381
|
+
display: inline-grid !important;
|
|
382
382
|
place-items: center;
|
|
383
383
|
flex: none;
|
|
384
|
-
margin-inline-start: auto;
|
|
384
|
+
margin-inline-start: auto !important;
|
|
385
385
|
inline-size: var(--ui-control-size-sm);
|
|
386
386
|
block-size: var(--ui-control-size-sm);
|
|
387
|
-
padding: 0;
|
|
387
|
+
padding: 0 !important;
|
|
388
388
|
border: 0;
|
|
389
389
|
border-radius: var(--ui-radius-round);
|
|
390
390
|
background: transparent;
|
|
@@ -432,24 +432,24 @@
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.body:where(:scope, :scope *) {
|
|
435
|
-
display: flex;
|
|
436
|
-
flex-direction: column;
|
|
435
|
+
display: flex !important;
|
|
436
|
+
flex-direction: column !important;
|
|
437
437
|
flex: 1 1 auto;
|
|
438
438
|
min-block-size: 0;
|
|
439
|
-
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5);
|
|
439
|
+
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5) !important;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
footer:where(:scope, :scope *) {
|
|
443
|
-
display: flex;
|
|
443
|
+
display: flex !important;
|
|
444
444
|
flex: none;
|
|
445
|
-
flex-wrap: wrap;
|
|
446
|
-
justify-content: flex-end;
|
|
447
|
-
gap: var(--ui-space-2);
|
|
448
|
-
padding: 0 var(--ui-space-5) var(--ui-space-5);
|
|
445
|
+
flex-wrap: wrap !important;
|
|
446
|
+
justify-content: flex-end !important;
|
|
447
|
+
gap: var(--ui-space-2) !important;
|
|
448
|
+
padding: 0 var(--ui-space-5) var(--ui-space-5) !important;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
footer:empty:where(:scope, :scope *) {
|
|
452
|
-
display: none;
|
|
452
|
+
display: none !important;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
@keyframes ui-dialog-enter {
|
package/styles/ui-disclosure.css
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
43
43
|
* select or combobox. Stacked disclosures share their dividers. */
|
|
44
44
|
:scope:where([data-component~="ui-disclosure"]) {
|
|
45
|
-
display: block;
|
|
45
|
+
display: block !important;
|
|
46
46
|
inline-size: 100%;
|
|
47
47
|
overflow: clip;
|
|
48
48
|
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.trigger {
|
|
53
|
-
display: flex;
|
|
54
|
-
gap: var(--ui-space-3);
|
|
55
|
-
align-items: center;
|
|
53
|
+
display: flex !important;
|
|
54
|
+
gap: var(--ui-space-3) !important;
|
|
55
|
+
align-items: center !important;
|
|
56
56
|
inline-size: 100%;
|
|
57
57
|
min-block-size: var(--_ui-disclosure-trigger-min-block-size, var(--_trigger-min-block-size));
|
|
58
58
|
padding: var(--_ui-disclosure-trigger-padding-block, var(--_trigger-padding-block))
|
|
59
|
-
var(--_ui-disclosure-trigger-padding-inline, var(--_trigger-padding-inline));
|
|
59
|
+
var(--_ui-disclosure-trigger-padding-inline, var(--_trigger-padding-inline)) !important;
|
|
60
60
|
border: 0;
|
|
61
61
|
background: transparent;
|
|
62
62
|
color: inherit;
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
|
|
88
88
|
.leading,
|
|
89
89
|
.indicator {
|
|
90
|
-
display: inline-flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
justify-content: center;
|
|
90
|
+
display: inline-flex !important;
|
|
91
|
+
align-items: center !important;
|
|
92
|
+
justify-content: center !important;
|
|
93
93
|
flex: none;
|
|
94
94
|
}
|
|
95
95
|
.leading:empty {
|
|
96
|
-
display: none;
|
|
96
|
+
display: none !important;
|
|
97
97
|
}
|
|
98
98
|
.indicator {
|
|
99
99
|
transition: transform var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.panel {
|
|
114
|
-
display: grid;
|
|
114
|
+
display: grid !important;
|
|
115
115
|
grid-template-rows: 0fr;
|
|
116
116
|
transition: grid-template-rows var(--ui-motion-reveal) var(--ui-motion-reveal-ease), content-visibility var(--ui-motion-reveal) allow-discrete;
|
|
117
117
|
}
|
|
@@ -119,21 +119,21 @@
|
|
|
119
119
|
.panel-inner {
|
|
120
120
|
min-block-size: 0;
|
|
121
121
|
overflow: hidden;
|
|
122
|
-
padding-inline: var(--ui-space-3);
|
|
122
|
+
padding-inline: var(--ui-space-3) !important;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel {
|
|
126
126
|
grid-template-rows: 1fr;
|
|
127
127
|
}
|
|
128
128
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
129
|
-
padding-block: 0 var(--ui-space-3);
|
|
129
|
+
padding-block: 0 var(--ui-space-3) !important;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/* A bounded accordion owns one flexible body, so its trigger never scrolls away. The
|
|
133
133
|
* normal content-sized layout and its animation remain unchanged when fill is omitted. */
|
|
134
134
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] {
|
|
135
|
-
display: flex;
|
|
136
|
-
flex-direction: column;
|
|
135
|
+
display: flex !important;
|
|
136
|
+
flex-direction: column !important;
|
|
137
137
|
flex: 0 0 var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size));
|
|
138
138
|
min-block-size: calc(var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size)) + var(--ui-border-width));
|
|
139
139
|
transition: flex-grow var(--ui-motion-layout) var(--ui-motion-layout-ease);
|
|
@@ -154,26 +154,26 @@
|
|
|
154
154
|
min-block-size: 0;
|
|
155
155
|
}
|
|
156
156
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .panel-inner {
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
157
|
+
display: flex !important;
|
|
158
|
+
flex-direction: column !important;
|
|
159
159
|
flex: 1;
|
|
160
160
|
min-block-size: 0;
|
|
161
|
-
padding: 0;
|
|
161
|
+
padding: 0 !important;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] .trigger {
|
|
165
|
-
gap: var(--ui-nav-gap);
|
|
166
|
-
padding-inline: var(--ui-nav-padding-inline);
|
|
165
|
+
gap: var(--ui-nav-gap) !important;
|
|
166
|
+
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
167
167
|
min-block-size: var(--ui-nav-min-block-size);
|
|
168
|
-
padding-block: var(--ui-nav-padding-block);
|
|
168
|
+
padding-block: var(--ui-nav-padding-block) !important;
|
|
169
169
|
border-radius: var(--ui-selection-radius);
|
|
170
170
|
font-size: var(--ui-font-size-md);
|
|
171
171
|
font-weight: var(--ui-font-normal);
|
|
172
172
|
color: var(--ui-text-secondary);
|
|
173
173
|
}
|
|
174
174
|
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
175
|
-
padding-inline: var(--ui-nav-compact-padding-inline);
|
|
176
|
-
padding-block: var(--ui-nav-compact-padding-block);
|
|
175
|
+
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
176
|
+
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
177
177
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
178
178
|
font-size: var(--ui-font-size-sm);
|
|
179
179
|
}
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
|
|
202
202
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
203
203
|
:scope:where([data-component~="ui-disclosure"])[hidden] {
|
|
204
|
-
display: none;
|
|
204
|
+
display: none !important;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
@scope ([data-component~="ui-disclosure"]) to ([data-component]) {
|
package/styles/ui-editable.css
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-editable"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
:scope:where([data-component~="ui-editable"]) {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: var(--ui-space-2);
|
|
11
|
+
display: flex !important;
|
|
12
|
+
flex-wrap: wrap !important;
|
|
13
|
+
align-items: center !important;
|
|
14
|
+
gap: var(--ui-space-2) !important;
|
|
15
15
|
min-inline-size: 0;
|
|
16
16
|
color: var(--ui-text-primary);
|
|
17
17
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/* The value and the input share one grid cell with identical box metrics, so switching between
|
|
20
20
|
* display and edit never changes the control's size or moves the text. */
|
|
21
21
|
.field {
|
|
22
|
-
display: inline-grid;
|
|
22
|
+
display: inline-grid !important;
|
|
23
23
|
min-inline-size: 8rem;
|
|
24
24
|
max-inline-size: 100%;
|
|
25
25
|
}
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
.preview,
|
|
28
28
|
.input {
|
|
29
29
|
grid-area: 1 / 1;
|
|
30
|
-
box-sizing: border-box;
|
|
30
|
+
box-sizing: border-box !important;
|
|
31
31
|
min-block-size: var(--ui-control-size-sm);
|
|
32
|
-
margin: 0;
|
|
33
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
32
|
+
margin: 0 !important;
|
|
33
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
34
34
|
border: var(--ui-border-width) solid transparent;
|
|
35
35
|
border-radius: var(--ui-radius-md);
|
|
36
36
|
font: inherit;
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.preview {
|
|
46
|
-
display: inline-flex;
|
|
47
|
-
gap: var(--ui-space-2);
|
|
48
|
-
align-items: center;
|
|
46
|
+
display: inline-flex !important;
|
|
47
|
+
gap: var(--ui-space-2) !important;
|
|
48
|
+
align-items: center !important;
|
|
49
49
|
background: transparent;
|
|
50
50
|
text-align: start;
|
|
51
51
|
cursor: pointer;
|
|
@@ -94,16 +94,16 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.actions {
|
|
97
|
-
display: none;
|
|
98
|
-
gap: var(--ui-space-1);
|
|
97
|
+
display: none !important;
|
|
98
|
+
gap: var(--ui-space-1) !important;
|
|
99
99
|
}
|
|
100
100
|
:scope:where([data-component~="ui-editable"])[data-ui-editable-state~="internalEdit"] .actions {
|
|
101
|
-
display: inline-flex;
|
|
101
|
+
display: inline-flex !important;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.actions button {
|
|
105
105
|
min-block-size: var(--ui-control-size-sm);
|
|
106
|
-
padding: 0 var(--ui-space-3);
|
|
106
|
+
padding: 0 var(--ui-space-3) !important;
|
|
107
107
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
108
108
|
border-radius: var(--ui-radius-md);
|
|
109
109
|
background: var(--ui-surface-elevated);
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
135
135
|
:scope:where([data-component~="ui-editable"])[hidden] {
|
|
136
|
-
display: none;
|
|
136
|
+
display: none !important;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
@scope ([data-component~="ui-editable"]) to ([data-component]) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-editor-insert-table-grid"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
:scope:where([data-component~="ui-editor-insert-table-grid"]) {
|
|
11
|
-
padding: var(--ui-space-3);
|
|
11
|
+
padding: var(--ui-space-3) !important;
|
|
12
12
|
background: var(--ui-surface);
|
|
13
13
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
14
14
|
border-radius: var(--ui-radius-md);
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.hint {
|
|
19
|
-
margin: 0 0 var(--ui-space-2);
|
|
19
|
+
margin: 0 0 var(--ui-space-2) !important;
|
|
20
20
|
font-size: var(--ui-font-size-sm);
|
|
21
21
|
color: var(--ui-text-muted);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.grid {
|
|
25
|
-
display: grid;
|
|
25
|
+
display: grid !important;
|
|
26
26
|
grid-template-columns: repeat(var(--_cols, 8), 1.25rem);
|
|
27
27
|
grid-template-rows: repeat(var(--_rows, 8), 1.25rem);
|
|
28
|
-
gap: 2px;
|
|
29
|
-
margin-bottom: var(--ui-space-2);
|
|
28
|
+
gap: 2px !important;
|
|
29
|
+
margin-bottom: var(--ui-space-2) !important;
|
|
30
30
|
max-inline-size: 100%;
|
|
31
31
|
overflow: auto;
|
|
32
32
|
--_ui-scroll-fade-direction: to right;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
.cell {
|
|
55
55
|
width: 1.25rem;
|
|
56
56
|
height: 1.25rem;
|
|
57
|
-
padding: 0;
|
|
57
|
+
padding: 0 !important;
|
|
58
58
|
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
59
59
|
border-radius: var(--ui-radius-sm);
|
|
60
60
|
background: var(--ui-surface);
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.header {
|
|
75
|
-
display: block;
|
|
76
|
-
margin-bottom: var(--ui-space-2);
|
|
75
|
+
display: block !important;
|
|
76
|
+
margin-bottom: var(--ui-space-2) !important;
|
|
77
77
|
font-size: var(--ui-font-size-sm);
|
|
78
78
|
cursor: pointer;
|
|
79
79
|
}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:scope:where([data-component~="ui-editor-insert-table-grid"])[hidden] {
|
|
100
|
-
display: none;
|
|
100
|
+
display: none !important;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
@scope ([data-component~="ui-editor-insert-table-grid"]) to ([data-component]) {
|