@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
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]) {
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-editor-mention-menu-item"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
:scope:where([data-component~="ui-editor-mention-menu-item"]) {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
11
|
+
display: flex !important;
|
|
12
|
+
align-items: center !important;
|
|
13
13
|
min-block-size: 44px;
|
|
14
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
15
|
-
gap: var(--ui-space-3);
|
|
14
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
15
|
+
gap: var(--ui-space-3) !important;
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
list-style: none;
|
|
18
18
|
}
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.avatar {
|
|
39
|
-
display: inline-flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
39
|
+
display: inline-flex !important;
|
|
40
|
+
align-items: center !important;
|
|
41
|
+
justify-content: center !important;
|
|
42
42
|
inline-size: 32px;
|
|
43
43
|
block-size: 32px;
|
|
44
44
|
flex: 0 0 auto;
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.body {
|
|
53
|
-
display: flex;
|
|
53
|
+
display: flex !important;
|
|
54
54
|
min-inline-size: 0;
|
|
55
|
-
flex-direction: column;
|
|
55
|
+
flex-direction: column !important;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.label, .detail {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
:scope:where([data-component~="ui-editor-mention-menu-item"])[hidden] {
|
|
76
|
-
display: none;
|
|
76
|
+
display: none !important;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
@scope ([data-component~="ui-editor-mention-menu-item"]) to ([data-component]) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:scope:where([data-component~="ui-editor-mention-menu"])[popover] {
|
|
11
11
|
position: fixed;
|
|
12
12
|
inset: auto;
|
|
13
|
-
margin: 0;
|
|
13
|
+
margin: 0 !important;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
:scope:where([data-component~="ui-editor-mention-menu"]) {
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:scope:where([data-component~="ui-editor-mention-menu"]) {
|
|
21
|
-
display: flex;
|
|
21
|
+
display: flex !important;
|
|
22
22
|
overflow: hidden;
|
|
23
|
-
flex-direction: column;
|
|
23
|
+
flex-direction: column !important;
|
|
24
24
|
background: var(--ui-surface);
|
|
25
25
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
26
26
|
border-radius: var(--ui-radius-dialog);
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.header {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
gap: var(--ui-space-3);
|
|
35
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
31
|
+
display: flex !important;
|
|
32
|
+
align-items: center !important;
|
|
33
|
+
justify-content: space-between !important;
|
|
34
|
+
gap: var(--ui-space-3) !important;
|
|
35
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
36
36
|
color: var(--ui-text-secondary);
|
|
37
37
|
border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
|
|
38
38
|
font-size: var(--ui-font-size-xs);
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
:scope:where([data-component~="ui-editor-mention-menu"]) > .header:empty, :scope:where([data-component~="ui-editor-mention-menu"]) > .empty:empty {
|
|
43
|
-
display: none;
|
|
43
|
+
display: none !important;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.empty {
|
|
47
|
-
padding: var(--ui-space-3);
|
|
47
|
+
padding: var(--ui-space-3) !important;
|
|
48
48
|
color: var(--ui-text-muted);
|
|
49
49
|
font-size: var(--ui-font-size-sm);
|
|
50
50
|
}
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
|
|
60
60
|
.list {
|
|
61
61
|
max-height: 280px;
|
|
62
|
-
padding: var(--ui-space-1) 0;
|
|
63
|
-
margin: 0;
|
|
62
|
+
padding: var(--ui-space-1) 0 !important;
|
|
63
|
+
margin: 0 !important;
|
|
64
64
|
overflow-y: auto;
|
|
65
65
|
overscroll-behavior: contain;
|
|
66
66
|
list-style: none;
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.item {
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
87
|
+
display: flex !important;
|
|
88
|
+
align-items: center !important;
|
|
89
89
|
min-height: 44px;
|
|
90
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
91
|
-
gap: var(--ui-space-3);
|
|
90
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
91
|
+
gap: var(--ui-space-3) !important;
|
|
92
92
|
cursor: pointer;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.avatar {
|
|
107
|
-
display: inline-flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
justify-content: center;
|
|
107
|
+
display: inline-flex !important;
|
|
108
|
+
align-items: center !important;
|
|
109
|
+
justify-content: center !important;
|
|
110
110
|
width: 32px;
|
|
111
111
|
height: 32px;
|
|
112
112
|
flex: 0 0 auto;
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.body {
|
|
121
|
-
display: flex;
|
|
121
|
+
display: flex !important;
|
|
122
122
|
min-width: 0;
|
|
123
|
-
flex-direction: column;
|
|
123
|
+
flex-direction: column !important;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.label,
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
|
|
145
145
|
.loading {
|
|
146
146
|
min-height: 44px;
|
|
147
|
-
padding: var(--ui-space-3);
|
|
147
|
+
padding: var(--ui-space-3) !important;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
@media (max-width: 767px) {
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
:scope:where([data-component~="ui-editor-mention-menu"])[hidden] {
|
|
162
|
-
display: none;
|
|
162
|
+
display: none !important;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
@scope ([data-component~="ui-editor-mention-menu"]) to ([data-component]) {
|