@threadlabs/looma 0.32.1 → 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/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/index.js +28 -11
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
|
@@ -384,7 +384,7 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
384
384
|
:global(:scope[popover]:where([data-hn-ui-editor-slash-menu])) {
|
|
385
385
|
position: fixed;
|
|
386
386
|
inset: auto;
|
|
387
|
-
margin: 0;
|
|
387
|
+
margin: 0 !important;
|
|
388
388
|
}
|
|
389
389
|
:global(:scope:where([data-hn-ui-editor-slash-menu])) {
|
|
390
390
|
user-select: none;
|
|
@@ -395,8 +395,8 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
395
395
|
border-radius: var(--ui-radius-dialog);
|
|
396
396
|
box-shadow: var(--ui-shadow-lg, 0 8px 24px rgb(0 0 0 / 0.12));
|
|
397
397
|
overflow: hidden;
|
|
398
|
-
display: flex;
|
|
399
|
-
flex-direction: column;
|
|
398
|
+
display: flex !important;
|
|
399
|
+
flex-direction: column !important;
|
|
400
400
|
}
|
|
401
401
|
@media (max-width: 767px) {
|
|
402
402
|
:global(:scope:where([data-hn-ui-editor-slash-menu])) {
|
|
@@ -405,10 +405,10 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
:global(.header:where([data-hn-ui-editor-slash-menu])) {
|
|
408
|
-
display: none;
|
|
409
|
-
align-items: center;
|
|
410
|
-
gap: var(--ui-space-2);
|
|
411
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
408
|
+
display: none !important;
|
|
409
|
+
align-items: center !important;
|
|
410
|
+
gap: var(--ui-space-2) !important;
|
|
411
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
412
412
|
border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
|
|
413
413
|
font-size: var(--ui-font-size-xs);
|
|
414
414
|
color: var(--ui-text-muted);
|
|
@@ -419,22 +419,22 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
419
419
|
:global(:scope > .header:empty:where([data-hn-ui-editor-slash-menu])),
|
|
420
420
|
:global(:scope > .footer:empty:where([data-hn-ui-editor-slash-menu])),
|
|
421
421
|
:global(:scope > .empty:empty:where([data-hn-ui-editor-slash-menu])) {
|
|
422
|
-
display: none;
|
|
422
|
+
display: none !important;
|
|
423
423
|
}
|
|
424
424
|
:global(.empty:where([data-hn-ui-editor-slash-menu])) {
|
|
425
|
-
padding: var(--ui-space-3);
|
|
425
|
+
padding: var(--ui-space-3) !important;
|
|
426
426
|
color: var(--ui-text-muted);
|
|
427
427
|
font-size: var(--ui-font-size-sm);
|
|
428
428
|
}
|
|
429
429
|
@media (max-width: 767px) {
|
|
430
430
|
:global(.header:where([data-hn-ui-editor-slash-menu])) {
|
|
431
|
-
display: flex;
|
|
431
|
+
display: flex !important;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
:global(.list:where([data-hn-ui-editor-slash-menu])) {
|
|
435
435
|
list-style: none;
|
|
436
|
-
margin: 0;
|
|
437
|
-
padding: var(--ui-space-1) 0;
|
|
436
|
+
margin: 0 !important;
|
|
437
|
+
padding: var(--ui-space-1) 0 !important;
|
|
438
438
|
overflow-y: auto;
|
|
439
439
|
max-height: 280px;
|
|
440
440
|
overscroll-behavior: contain;
|
|
@@ -463,14 +463,14 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
463
463
|
@media (max-width: 767px) {
|
|
464
464
|
:global(.list:where([data-hn-ui-editor-slash-menu])) {
|
|
465
465
|
max-height: calc(60dvh - 80px);
|
|
466
|
-
padding: var(--ui-space-1) 0 var(--ui-space-2);
|
|
466
|
+
padding: var(--ui-space-1) 0 var(--ui-space-2) !important;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
:global(.item:where([data-hn-ui-editor-slash-menu])) {
|
|
470
|
-
display: flex;
|
|
471
|
-
align-items: center;
|
|
472
|
-
gap: var(--ui-space-3);
|
|
473
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
470
|
+
display: flex !important;
|
|
471
|
+
align-items: center !important;
|
|
472
|
+
gap: var(--ui-space-3) !important;
|
|
473
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
474
474
|
min-height: 44px;
|
|
475
475
|
cursor: pointer;
|
|
476
476
|
transition: background-color 120ms ease;
|
|
@@ -479,9 +479,9 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
479
479
|
background: var(--ui-accent-subtle, rgb(59 130 246 / 0.1));
|
|
480
480
|
}
|
|
481
481
|
:global(.icon:where([data-hn-ui-editor-slash-menu])) {
|
|
482
|
-
display: flex;
|
|
483
|
-
align-items: center;
|
|
484
|
-
justify-content: center;
|
|
482
|
+
display: flex !important;
|
|
483
|
+
align-items: center !important;
|
|
484
|
+
justify-content: center !important;
|
|
485
485
|
width: 32px;
|
|
486
486
|
height: 32px;
|
|
487
487
|
background: var(--ui-surface-hover);
|
|
@@ -504,10 +504,10 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
504
504
|
--_ui-default-icon-stroke-width: var(--ui-editor-toolbar-icon-stroke-width, 1.75);
|
|
505
505
|
}
|
|
506
506
|
:global(.body:where([data-hn-ui-editor-slash-menu])) {
|
|
507
|
-
display: flex;
|
|
507
|
+
display: flex !important;
|
|
508
508
|
min-width: 0;
|
|
509
|
-
flex-direction: column;
|
|
510
|
-
gap: 1px;
|
|
509
|
+
flex-direction: column !important;
|
|
510
|
+
gap: 1px !important;
|
|
511
511
|
}
|
|
512
512
|
:global(.title:where([data-hn-ui-editor-slash-menu])) {
|
|
513
513
|
font-size: var(--ui-font-size-sm);
|
|
@@ -525,25 +525,25 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
525
525
|
text-overflow: ellipsis;
|
|
526
526
|
}
|
|
527
527
|
:global(.footer:where([data-hn-ui-editor-slash-menu])) {
|
|
528
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
528
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
529
529
|
border-top: var(--ui-border-width) solid var(--ui-border-divider);
|
|
530
530
|
font-size: var(--ui-font-size-xs);
|
|
531
531
|
color: var(--ui-text-muted);
|
|
532
532
|
}
|
|
533
533
|
:global(:scope kbd:where([data-hn-ui-editor-slash-menu])) {
|
|
534
|
-
display: inline-flex;
|
|
535
|
-
align-items: center;
|
|
536
|
-
justify-content: center;
|
|
534
|
+
display: inline-flex !important;
|
|
535
|
+
align-items: center !important;
|
|
536
|
+
justify-content: center !important;
|
|
537
537
|
font-family: var(--ui-font-family-mono, ui-monospace, monospace);
|
|
538
538
|
font-size: var(--ui-font-size-2xs);
|
|
539
539
|
background: var(--ui-surface-hover);
|
|
540
540
|
border: var(--ui-border-width) solid var(--ui-border);
|
|
541
541
|
border-radius: var(--ui-radius-sm);
|
|
542
|
-
padding: 0 3px;
|
|
542
|
+
padding: 0 3px !important;
|
|
543
543
|
color: var(--ui-text-secondary);
|
|
544
544
|
}
|
|
545
545
|
:global(:scope[hidden]:where([data-hn-ui-editor-slash-menu])) {
|
|
546
|
-
display: none;
|
|
546
|
+
display: none !important;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
</style>
|
|
@@ -92,22 +92,22 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-group')
|
|
|
92
92
|
<style scoped>
|
|
93
93
|
@scope (.ui-editor-slash-menu-group) to ([data-hn]) {
|
|
94
94
|
:global(:scope:where([data-hn-ui-editor-slash-menu-group])) {
|
|
95
|
-
display: block;
|
|
95
|
+
display: block !important;
|
|
96
96
|
list-style: none;
|
|
97
97
|
}
|
|
98
98
|
:global(.heading:where([data-hn-ui-editor-slash-menu-group])) {
|
|
99
|
-
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1);
|
|
99
|
+
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1) !important;
|
|
100
100
|
color: var(--ui-text-muted);
|
|
101
101
|
font-size: var(--ui-font-size-xs);
|
|
102
102
|
font-weight: var(--ui-font-semibold);
|
|
103
103
|
}
|
|
104
104
|
:global(ul:where([data-hn-ui-editor-slash-menu-group])) {
|
|
105
|
-
margin: 0;
|
|
106
|
-
padding: 0;
|
|
105
|
+
margin: 0 !important;
|
|
106
|
+
padding: 0 !important;
|
|
107
107
|
list-style: none;
|
|
108
108
|
}
|
|
109
109
|
:global(:scope[hidden]:where([data-hn-ui-editor-slash-menu-group])) {
|
|
110
|
-
display: none;
|
|
110
|
+
display: none !important;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
</style>
|
|
@@ -186,11 +186,11 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
186
186
|
<style scoped>
|
|
187
187
|
@scope (.ui-editor-slash-menu-item) to ([data-hn]) {
|
|
188
188
|
:global(:scope:where([data-hn-ui-editor-slash-menu-item])) {
|
|
189
|
-
display: flex;
|
|
190
|
-
align-items: center;
|
|
191
|
-
gap: var(--ui-space-3);
|
|
189
|
+
display: flex !important;
|
|
190
|
+
align-items: center !important;
|
|
191
|
+
gap: var(--ui-space-3) !important;
|
|
192
192
|
min-block-size: 44px;
|
|
193
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
193
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
194
194
|
cursor: pointer;
|
|
195
195
|
list-style: none;
|
|
196
196
|
}
|
|
@@ -207,9 +207,9 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
207
207
|
color: var(--ui-disabled-text);
|
|
208
208
|
}
|
|
209
209
|
:global(.icon:where([data-hn-ui-editor-slash-menu-item])) {
|
|
210
|
-
display: flex;
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: center;
|
|
210
|
+
display: flex !important;
|
|
211
|
+
align-items: center !important;
|
|
212
|
+
justify-content: center !important;
|
|
213
213
|
inline-size: 32px;
|
|
214
214
|
block-size: 32px;
|
|
215
215
|
flex: 0 0 auto;
|
|
@@ -222,10 +222,10 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
222
222
|
--_ui-default-icon-size: 1rem;
|
|
223
223
|
}
|
|
224
224
|
:global(.body:where([data-hn-ui-editor-slash-menu-item])) {
|
|
225
|
-
display: flex;
|
|
225
|
+
display: flex !important;
|
|
226
226
|
min-inline-size: 0;
|
|
227
|
-
flex-direction: column;
|
|
228
|
-
gap: 1px;
|
|
227
|
+
flex-direction: column !important;
|
|
228
|
+
gap: 1px !important;
|
|
229
229
|
}
|
|
230
230
|
:global(.title:where([data-hn-ui-editor-slash-menu-item])),
|
|
231
231
|
:global(.description:where([data-hn-ui-editor-slash-menu-item])) {
|
|
@@ -243,7 +243,7 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
243
243
|
font-size: var(--ui-font-size-xs);
|
|
244
244
|
}
|
|
245
245
|
:global(:scope[hidden]:where([data-hn-ui-editor-slash-menu-item])) {
|
|
246
|
-
display: none;
|
|
246
|
+
display: none !important;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
</style>
|
package/vue/UiEditorSurface.vue
CHANGED
|
@@ -102,8 +102,8 @@ const hostState = computed(() =>
|
|
|
102
102
|
/* The document renderer consumes these inherited surface settings. They do not style controls. */
|
|
103
103
|
@scope (.ui-editor-surface) to ([data-hn]) {
|
|
104
104
|
:global(:scope:where([data-hn-ui-editor-surface])) {
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-direction: column;
|
|
105
|
+
display: flex !important;
|
|
106
|
+
flex-direction: column !important;
|
|
107
107
|
min-inline-size: 0;
|
|
108
108
|
max-inline-size: 100%;
|
|
109
109
|
}
|
|
@@ -572,39 +572,39 @@ useComponentHost(
|
|
|
572
572
|
:global(:scope[popover]) {
|
|
573
573
|
position: fixed;
|
|
574
574
|
inset: auto;
|
|
575
|
-
margin: 0;
|
|
575
|
+
margin: 0 !important;
|
|
576
576
|
}
|
|
577
577
|
:global(:scope) {
|
|
578
578
|
/* The max-width is a promise about the menu's footprint, so it counts padding and border. */
|
|
579
|
-
box-sizing: border-box;
|
|
579
|
+
box-sizing: border-box !important;
|
|
580
580
|
min-width: min(14rem, calc(100vw - 24px));
|
|
581
581
|
max-width: min(17rem, calc(100vw - 24px));
|
|
582
582
|
max-height: min(28rem, calc(100vh - 24px));
|
|
583
|
-
padding: var(--ui-space-2);
|
|
583
|
+
padding: var(--ui-space-2) !important;
|
|
584
584
|
background: var(--ui-surface);
|
|
585
585
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
586
586
|
border-radius: var(--ui-radius-lg);
|
|
587
587
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
588
|
-
display: flex;
|
|
589
|
-
flex-direction: column;
|
|
590
|
-
gap: 2px;
|
|
588
|
+
display: flex !important;
|
|
589
|
+
flex-direction: column !important;
|
|
590
|
+
gap: 2px !important;
|
|
591
591
|
overflow-y: auto;
|
|
592
592
|
overscroll-behavior: contain;
|
|
593
593
|
scrollbar-width: thin;
|
|
594
594
|
}
|
|
595
595
|
:global(.section) {
|
|
596
|
-
display: flex;
|
|
597
|
-
flex-direction: column;
|
|
598
|
-
gap: 3px;
|
|
596
|
+
display: flex !important;
|
|
597
|
+
flex-direction: column !important;
|
|
598
|
+
gap: 3px !important;
|
|
599
599
|
}
|
|
600
600
|
:global(:scope button) {
|
|
601
|
-
display: flex;
|
|
602
|
-
align-items: center;
|
|
603
|
-
gap: var(--ui-space-2);
|
|
601
|
+
display: flex !important;
|
|
602
|
+
align-items: center !important;
|
|
603
|
+
gap: var(--ui-space-2) !important;
|
|
604
604
|
width: 100%;
|
|
605
605
|
text-align: left;
|
|
606
606
|
min-height: 32px;
|
|
607
|
-
padding: var(--ui-space-2) var(--ui-space-2);
|
|
607
|
+
padding: var(--ui-space-2) var(--ui-space-2) !important;
|
|
608
608
|
border: none;
|
|
609
609
|
border-radius: var(--ui-radius-sm);
|
|
610
610
|
background: none;
|
|
@@ -626,22 +626,22 @@ useComponentHost(
|
|
|
626
626
|
color: var(--ui-danger);
|
|
627
627
|
}
|
|
628
628
|
:global(.swatches) {
|
|
629
|
-
display: flex;
|
|
630
|
-
flex-wrap: wrap;
|
|
631
|
-
gap: 3px;
|
|
629
|
+
display: flex !important;
|
|
630
|
+
flex-wrap: wrap !important;
|
|
631
|
+
gap: 3px !important;
|
|
632
632
|
}
|
|
633
633
|
:global(:scope .swatch-button) {
|
|
634
|
-
display: inline-flex;
|
|
635
|
-
align-items: center;
|
|
636
|
-
gap: var(--ui-space-2);
|
|
634
|
+
display: inline-flex !important;
|
|
635
|
+
align-items: center !important;
|
|
636
|
+
gap: var(--ui-space-2) !important;
|
|
637
637
|
flex: 1 0 5rem;
|
|
638
638
|
min-width: 5rem;
|
|
639
639
|
max-width: calc((100% - 6px) / 3);
|
|
640
|
-
padding-inline-end: var(--ui-space-1);
|
|
640
|
+
padding-inline-end: var(--ui-space-1) !important;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
:global(.swatch) {
|
|
644
|
-
display: inline-flex;
|
|
644
|
+
display: inline-flex !important;
|
|
645
645
|
width: 1rem;
|
|
646
646
|
height: 1rem;
|
|
647
647
|
border-radius: var(--ui-radius-round);
|
|
@@ -670,7 +670,7 @@ useComponentHost(
|
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
:global(.heading) {
|
|
673
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
673
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
674
674
|
font-size: var(--ui-font-size-2xs);
|
|
675
675
|
font-weight: 700;
|
|
676
676
|
letter-spacing: 0.05em;
|
|
@@ -681,14 +681,14 @@ useComponentHost(
|
|
|
681
681
|
:global(.sep) {
|
|
682
682
|
height: 1px;
|
|
683
683
|
background: var(--ui-border-divider);
|
|
684
|
-
margin: var(--ui-space-1) 0;
|
|
684
|
+
margin: var(--ui-space-1) 0 !important;
|
|
685
685
|
}
|
|
686
686
|
:global(.sep:first-child) {
|
|
687
|
-
display: none;
|
|
687
|
+
display: none !important;
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
:global(:scope[hidden]) {
|
|
691
|
-
display: none;
|
|
691
|
+
display: none !important;
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
</style>
|
|
@@ -773,7 +773,7 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
773
773
|
<style scoped>
|
|
774
774
|
@scope (.ui-editor-table-overlay) to ([data-hn]) {
|
|
775
775
|
:global(:scope) {
|
|
776
|
-
display: block;
|
|
776
|
+
display: block !important;
|
|
777
777
|
width: 100%;
|
|
778
778
|
height: 100%;
|
|
779
779
|
overflow: visible;
|
|
@@ -805,12 +805,12 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
805
805
|
}
|
|
806
806
|
:global(.handle) {
|
|
807
807
|
position: absolute;
|
|
808
|
-
display: inline-flex;
|
|
809
|
-
align-items: center;
|
|
810
|
-
justify-content: center;
|
|
808
|
+
display: inline-flex !important;
|
|
809
|
+
align-items: center !important;
|
|
810
|
+
justify-content: center !important;
|
|
811
811
|
width: 24px;
|
|
812
812
|
height: 24px;
|
|
813
|
-
padding: 0;
|
|
813
|
+
padding: 0 !important;
|
|
814
814
|
border: var(--ui-border-width) solid var(--ui-affordance-near-color, var(--ui-border-strong));
|
|
815
815
|
border-radius: var(--ui-radius-round);
|
|
816
816
|
background: color-mix(in srgb, var(--ui-surface-elevated) 96%, transparent);
|
|
@@ -914,7 +914,7 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
914
914
|
left: 50%;
|
|
915
915
|
width: max-content;
|
|
916
916
|
max-width: 14rem;
|
|
917
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
917
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
918
918
|
border-radius: var(--ui-radius-sm);
|
|
919
919
|
background: var(--ui-text-primary);
|
|
920
920
|
color: var(--ui-surface-elevated);
|
|
@@ -938,10 +938,10 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
938
938
|
:global(.selector), :global(.cell-menu) {
|
|
939
939
|
position: absolute;
|
|
940
940
|
z-index: 2;
|
|
941
|
-
display: inline-flex;
|
|
942
|
-
align-items: center;
|
|
943
|
-
justify-content: center;
|
|
944
|
-
padding: 0;
|
|
941
|
+
display: inline-flex !important;
|
|
942
|
+
align-items: center !important;
|
|
943
|
+
justify-content: center !important;
|
|
944
|
+
padding: 0 !important;
|
|
945
945
|
border: var(--ui-border-width) solid transparent;
|
|
946
946
|
background: transparent;
|
|
947
947
|
color: var(--ui-text-secondary);
|
|
@@ -979,7 +979,7 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
979
979
|
pointer-events: none;
|
|
980
980
|
}
|
|
981
981
|
:global(.selector .glyph) {
|
|
982
|
-
display: block;
|
|
982
|
+
display: block !important;
|
|
983
983
|
width: 14px;
|
|
984
984
|
height: 14px;
|
|
985
985
|
--_ui-default-icon-size: 14px;
|
|
@@ -1055,10 +1055,10 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
1055
1055
|
height: 100%;
|
|
1056
1056
|
}
|
|
1057
1057
|
:global(.drop-indicator[hidden]) {
|
|
1058
|
-
display: none;
|
|
1058
|
+
display: none !important;
|
|
1059
1059
|
}
|
|
1060
1060
|
:global(:scope[hidden]) {
|
|
1061
|
-
display: none;
|
|
1061
|
+
display: none !important;
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
1064
|
</style>
|
|
@@ -674,7 +674,7 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
674
674
|
:global(.looma-editor__mobile-toolbar-shell :scope) {
|
|
675
675
|
min-width: max-content;
|
|
676
676
|
min-height: 100%;
|
|
677
|
-
padding: 0;
|
|
677
|
+
padding: 0 !important;
|
|
678
678
|
background: transparent;
|
|
679
679
|
border: 0;
|
|
680
680
|
border-radius: 0;
|
|
@@ -690,10 +690,10 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
690
690
|
background: var(--ui-accent-soft, var(--ui-accent-subtle));
|
|
691
691
|
}
|
|
692
692
|
:global(:scope) {
|
|
693
|
-
display: inline-flex;
|
|
694
|
-
align-items: center;
|
|
695
|
-
gap: var(--ui-space-1);
|
|
696
|
-
padding: var(--ui-space-1);
|
|
693
|
+
display: inline-flex !important;
|
|
694
|
+
align-items: center !important;
|
|
695
|
+
gap: var(--ui-space-1) !important;
|
|
696
|
+
padding: var(--ui-space-1) !important;
|
|
697
697
|
background: color-mix(in srgb, var(--ui-surface) 94%, transparent);
|
|
698
698
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
699
699
|
border-radius: calc(var(--ui-radius-md) + 2 * var(--ui-border-width));
|
|
@@ -701,9 +701,9 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
701
701
|
backdrop-filter: blur(10px);
|
|
702
702
|
}
|
|
703
703
|
:global(.group) {
|
|
704
|
-
display: inline-flex;
|
|
705
|
-
align-items: center;
|
|
706
|
-
gap: 2px;
|
|
704
|
+
display: inline-flex !important;
|
|
705
|
+
align-items: center !important;
|
|
706
|
+
gap: 2px !important;
|
|
707
707
|
overflow: hidden;
|
|
708
708
|
}
|
|
709
709
|
:global(.sep) {
|
|
@@ -715,10 +715,10 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
715
715
|
position: relative;
|
|
716
716
|
}
|
|
717
717
|
:global(:scope button) {
|
|
718
|
-
display: inline-flex;
|
|
719
|
-
align-items: center;
|
|
720
|
-
justify-content: center;
|
|
721
|
-
gap: var(--ui-space-2);
|
|
718
|
+
display: inline-flex !important;
|
|
719
|
+
align-items: center !important;
|
|
720
|
+
justify-content: center !important;
|
|
721
|
+
gap: var(--ui-space-2) !important;
|
|
722
722
|
min-height: 32px;
|
|
723
723
|
border: 0;
|
|
724
724
|
border-radius: var(--ui-radius-sm);
|
|
@@ -728,7 +728,7 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
728
728
|
font-size: var(--ui-font-size-sm);
|
|
729
729
|
font-weight: 500;
|
|
730
730
|
line-height: 1;
|
|
731
|
-
padding: var(--ui-space-2) var(--ui-space-2);
|
|
731
|
+
padding: var(--ui-space-2) var(--ui-space-2) !important;
|
|
732
732
|
white-space: nowrap;
|
|
733
733
|
}
|
|
734
734
|
:global(:scope button:hover) {
|
|
@@ -756,40 +756,40 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
756
756
|
--_ui-default-icon-stroke-width: var(--ui-editor-toolbar-icon-stroke-width, 1.75);
|
|
757
757
|
}
|
|
758
758
|
:global(.chevron) {
|
|
759
|
-
display: inline-flex;
|
|
759
|
+
display: inline-flex !important;
|
|
760
760
|
--_ui-default-icon-size: 0.875rem;
|
|
761
761
|
}
|
|
762
762
|
:global(:scope .icon-button) {
|
|
763
763
|
width: 32px;
|
|
764
|
-
padding-inline: 0;
|
|
764
|
+
padding-inline: 0 !important;
|
|
765
765
|
}
|
|
766
766
|
:global(.menu) {
|
|
767
|
-
box-sizing: border-box;
|
|
767
|
+
box-sizing: border-box !important;
|
|
768
768
|
position: fixed;
|
|
769
769
|
inset: auto;
|
|
770
|
-
margin: 0;
|
|
770
|
+
margin: 0 !important;
|
|
771
771
|
min-width: 12rem;
|
|
772
772
|
max-width: min(17rem, calc(100vw - 24px));
|
|
773
|
-
padding: var(--ui-space-1);
|
|
773
|
+
padding: var(--ui-space-1) !important;
|
|
774
774
|
background: var(--ui-surface);
|
|
775
775
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
776
776
|
border-radius: var(--ui-radius-md);
|
|
777
777
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
778
|
-
display: flex;
|
|
779
|
-
flex-direction: column;
|
|
780
|
-
gap: 2px;
|
|
778
|
+
display: flex !important;
|
|
779
|
+
flex-direction: column !important;
|
|
780
|
+
gap: 2px !important;
|
|
781
781
|
z-index: 2;
|
|
782
782
|
overflow-y: auto;
|
|
783
783
|
overscroll-behavior: contain;
|
|
784
784
|
scrollbar-width: thin;
|
|
785
785
|
}
|
|
786
786
|
:global(.menu-section + .menu-section) {
|
|
787
|
-
margin-top: var(--ui-space-1);
|
|
788
|
-
padding-top: var(--ui-space-1);
|
|
787
|
+
margin-top: var(--ui-space-1) !important;
|
|
788
|
+
padding-top: var(--ui-space-1) !important;
|
|
789
789
|
border-top: var(--ui-border-width) solid var(--ui-border-divider);
|
|
790
790
|
}
|
|
791
791
|
:global(.menu-heading) {
|
|
792
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
792
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
793
793
|
font-size: var(--ui-font-size-2xs);
|
|
794
794
|
font-weight: 700;
|
|
795
795
|
letter-spacing: 0.05em;
|
|
@@ -797,19 +797,19 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
797
797
|
color: var(--ui-text-muted);
|
|
798
798
|
}
|
|
799
799
|
:global(.menu button) {
|
|
800
|
-
display: flex;
|
|
801
|
-
justify-content: flex-start;
|
|
800
|
+
display: flex !important;
|
|
801
|
+
justify-content: flex-start !important;
|
|
802
802
|
width: 100%;
|
|
803
803
|
text-align: left;
|
|
804
804
|
}
|
|
805
805
|
:global(.swatches) {
|
|
806
|
-
display: grid;
|
|
806
|
+
display: grid !important;
|
|
807
807
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
808
|
-
gap: 2px;
|
|
808
|
+
gap: 2px !important;
|
|
809
809
|
}
|
|
810
810
|
:global(:scope .swatch-button) {
|
|
811
|
-
gap: var(--ui-space-1);
|
|
812
|
-
justify-content: flex-start;
|
|
811
|
+
gap: var(--ui-space-1) !important;
|
|
812
|
+
justify-content: flex-start !important;
|
|
813
813
|
}
|
|
814
814
|
:global(.swatch) {
|
|
815
815
|
width: 14px;
|
|
@@ -828,7 +828,7 @@ useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-t
|
|
|
828
828
|
background: var(--ui-accent-soft, var(--ui-accent-subtle));
|
|
829
829
|
}
|
|
830
830
|
:global(:scope[hidden]) {
|
|
831
|
-
display: none;
|
|
831
|
+
display: none !important;
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
834
|
</style>
|
package/vue/UiEditorToolbar.vue
CHANGED
|
@@ -152,21 +152,21 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
152
152
|
position: sticky;
|
|
153
153
|
top: 0;
|
|
154
154
|
z-index: var(--ui-editor-toolbar-z-index, 10);
|
|
155
|
-
display: flex;
|
|
156
|
-
align-items: center;
|
|
155
|
+
display: flex !important;
|
|
156
|
+
align-items: center !important;
|
|
157
157
|
padding: var(--ui-editor-toolbar-padding-block, 6px)
|
|
158
|
-
var(--ui-editor-toolbar-padding-inline, 12px);
|
|
158
|
+
var(--ui-editor-toolbar-padding-inline, 12px) !important;
|
|
159
159
|
min-height: var(--ui-editor-toolbar-min-height, 48px);
|
|
160
160
|
background: var(--ui-editor-toolbar-surface, var(--ui-surface));
|
|
161
161
|
border-bottom: var(--ui-border-width) solid
|
|
162
162
|
var(--ui-editor-toolbar-border, var(--ui-border-divider));
|
|
163
163
|
}
|
|
164
164
|
:global(.strip:where([data-hn-ui-editor-toolbar])) {
|
|
165
|
-
display: flex;
|
|
165
|
+
display: flex !important;
|
|
166
166
|
flex: 1 1 auto;
|
|
167
|
-
align-items: center;
|
|
168
|
-
justify-content: flex-start;
|
|
169
|
-
gap: var(--ui-editor-toolbar-gap, 2px);
|
|
167
|
+
align-items: center !important;
|
|
168
|
+
justify-content: flex-start !important;
|
|
169
|
+
gap: var(--ui-editor-toolbar-gap, 2px) !important;
|
|
170
170
|
min-width: 0;
|
|
171
171
|
overflow-x: auto;
|
|
172
172
|
overflow-y: hidden;
|
|
@@ -175,7 +175,7 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
:global(.strip:where([data-hn-ui-editor-toolbar])::-webkit-scrollbar) {
|
|
178
|
-
display: none;
|
|
178
|
+
display: none !important;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
:global(.strip > :where(:not([data-hn-ui-editor-toolbar])):is(*)) {
|
|
@@ -213,17 +213,17 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
213
213
|
height: 20px;
|
|
214
214
|
background: var(--ui-editor-toolbar-divider, var(--ui-border-divider));
|
|
215
215
|
flex-shrink: 0;
|
|
216
|
-
margin: 0 var(--ui-editor-toolbar-divider-margin, 4px);
|
|
216
|
+
margin: 0 var(--ui-editor-toolbar-divider-margin, 4px) !important;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
:global(:scope[data-ui-editor-toolbar-state~="floating"]:where([data-hn-ui-editor-toolbar])) {
|
|
220
|
-
box-sizing: border-box;
|
|
220
|
+
box-sizing: border-box !important;
|
|
221
221
|
position: relative;
|
|
222
222
|
top: auto;
|
|
223
223
|
width: max-content;
|
|
224
224
|
max-width: min(calc(100vw - 24px), 100%);
|
|
225
225
|
min-height: auto;
|
|
226
|
-
padding: var(--ui-editor-toolbar-floating-padding, 4px);
|
|
226
|
+
padding: var(--ui-editor-toolbar-floating-padding, 4px) !important;
|
|
227
227
|
background: color-mix(
|
|
228
228
|
in srgb,
|
|
229
229
|
var(--ui-editor-toolbar-surface, var(--ui-surface)) 96%,
|
|
@@ -276,7 +276,7 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
276
276
|
width: 100%;
|
|
277
277
|
max-width: none;
|
|
278
278
|
min-height: 100%;
|
|
279
|
-
padding: 0;
|
|
279
|
+
padding: 0 !important;
|
|
280
280
|
background: transparent;
|
|
281
281
|
border: 0;
|
|
282
282
|
border-radius: 0;
|
|
@@ -290,7 +290,7 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
290
290
|
scroll-snap-type: x mandatory;
|
|
291
291
|
}
|
|
292
292
|
:global(:scope[hidden]:where([data-hn-ui-editor-toolbar])) {
|
|
293
|
-
display: none;
|
|
293
|
+
display: none !important;
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
</style>
|
|
@@ -161,7 +161,7 @@ const hostState = computed(() =>
|
|
|
161
161
|
);
|
|
162
162
|
inline-size: var(--ui-control-min-block-size);
|
|
163
163
|
block-size: var(--ui-control-min-block-size);
|
|
164
|
-
display: inline-flex;
|
|
164
|
+
display: inline-flex !important;
|
|
165
165
|
z-index: var(--ui-floating-action-button-z-index, 100);
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -169,11 +169,11 @@ const hostState = computed(() =>
|
|
|
169
169
|
appearance: none;
|
|
170
170
|
border: none;
|
|
171
171
|
border-radius: var(--ui-radius-round);
|
|
172
|
-
margin: 0;
|
|
173
|
-
padding: 0;
|
|
174
|
-
display: inline-flex;
|
|
175
|
-
align-items: center;
|
|
176
|
-
justify-content: center;
|
|
172
|
+
margin: 0 !important;
|
|
173
|
+
padding: 0 !important;
|
|
174
|
+
display: inline-flex !important;
|
|
175
|
+
align-items: center !important;
|
|
176
|
+
justify-content: center !important;
|
|
177
177
|
background: var(--ui-accent);
|
|
178
178
|
color: var(--ui-on-accent);
|
|
179
179
|
box-shadow: 0 4px 12px color-mix(in srgb, var(--ui-accent) 40%, transparent);
|
|
@@ -213,11 +213,11 @@ const hostState = computed(() =>
|
|
|
213
213
|
|
|
214
214
|
@media (min-width: 768px) {
|
|
215
215
|
:global(:scope[data-ui-floating-action-button-state~="mobileOnly"]:where([data-hn-ui-floating-action-button])) {
|
|
216
|
-
display: none;
|
|
216
|
+
display: none !important;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
:global(:scope[hidden]:where([data-hn-ui-floating-action-button])) {
|
|
220
|
-
display: none;
|
|
220
|
+
display: none !important;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
</style>
|