@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/vue/UiDialog.vue
CHANGED
|
@@ -392,17 +392,17 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
392
392
|
|
|
393
393
|
position: fixed;
|
|
394
394
|
inset: 0;
|
|
395
|
-
box-sizing: border-box;
|
|
395
|
+
box-sizing: border-box !important;
|
|
396
396
|
inline-size: min(
|
|
397
397
|
calc(100% - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2),
|
|
398
398
|
var(--ui-dialog-max-width, var(--_ui-dialog-size, 440px))
|
|
399
399
|
);
|
|
400
400
|
max-inline-size: none;
|
|
401
401
|
max-block-size: calc(100dvh - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2);
|
|
402
|
-
margin: auto;
|
|
403
|
-
padding: 0;
|
|
402
|
+
margin: auto !important;
|
|
403
|
+
padding: 0 !important;
|
|
404
404
|
overflow: hidden;
|
|
405
|
-
flex-direction: column;
|
|
405
|
+
flex-direction: column !important;
|
|
406
406
|
background: var(--ui-dialog-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
407
407
|
border: var(--ui-border-width) solid
|
|
408
408
|
var(--ui-dialog-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
@@ -424,7 +424,7 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
:global(:scope[open]:where([data-hn-ui-dialog])) {
|
|
427
|
-
display: flex;
|
|
427
|
+
display: flex !important;
|
|
428
428
|
visibility: visible;
|
|
429
429
|
pointer-events: auto;
|
|
430
430
|
opacity: 1;
|
|
@@ -446,31 +446,31 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
446
446
|
inline-size: 100%;
|
|
447
447
|
block-size: 100dvh;
|
|
448
448
|
max-block-size: none;
|
|
449
|
-
margin: 0;
|
|
449
|
+
margin: 0 !important;
|
|
450
450
|
border-radius: var(--ui-dialog-radius, 0);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
:global(:scope[data-ui-dialog-state~="alert"] .close:where([data-hn-ui-dialog])) {
|
|
454
|
-
display: none;
|
|
454
|
+
display: none !important;
|
|
455
455
|
}
|
|
456
456
|
:global(header:where([data-hn-ui-dialog])) {
|
|
457
|
-
display: flex;
|
|
458
|
-
align-items: center;
|
|
459
|
-
gap: var(--ui-space-3);
|
|
457
|
+
display: flex !important;
|
|
458
|
+
align-items: center !important;
|
|
459
|
+
gap: var(--ui-space-3) !important;
|
|
460
460
|
flex: none;
|
|
461
461
|
/* The title's ink sits inside its line box and the taller close target. Balance that
|
|
462
462
|
visible top inset against the action row's bottom inset, not just the boxes. */
|
|
463
463
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3)
|
|
464
|
-
var(--ui-space-5);
|
|
464
|
+
var(--ui-space-5) !important;
|
|
465
465
|
}
|
|
466
466
|
:global(:scope[data-ui-dialog-state~="alert"] header:where([data-hn-ui-dialog])) {
|
|
467
|
-
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
467
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3) !important;
|
|
468
468
|
}
|
|
469
469
|
:global(:scope .title:where([data-hn-ui-dialog])) {
|
|
470
470
|
flex: 1;
|
|
471
471
|
min-inline-size: 0;
|
|
472
|
-
margin: 0;
|
|
473
|
-
padding: 0;
|
|
472
|
+
margin: 0 !important;
|
|
473
|
+
padding: 0 !important;
|
|
474
474
|
border: 0;
|
|
475
475
|
color: var(--ui-text-primary);
|
|
476
476
|
letter-spacing: normal;
|
|
@@ -480,13 +480,13 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
:global(.close:where([data-hn-ui-dialog])) {
|
|
483
|
-
display: inline-grid;
|
|
483
|
+
display: inline-grid !important;
|
|
484
484
|
place-items: center;
|
|
485
485
|
flex: none;
|
|
486
|
-
margin-inline-start: auto;
|
|
486
|
+
margin-inline-start: auto !important;
|
|
487
487
|
inline-size: var(--ui-control-size-sm);
|
|
488
488
|
block-size: var(--ui-control-size-sm);
|
|
489
|
-
padding: 0;
|
|
489
|
+
padding: 0 !important;
|
|
490
490
|
border: 0;
|
|
491
491
|
border-radius: var(--ui-radius-round);
|
|
492
492
|
background: transparent;
|
|
@@ -533,24 +533,24 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
:global(.body:where([data-hn-ui-dialog])) {
|
|
536
|
-
display: flex;
|
|
537
|
-
flex-direction: column;
|
|
536
|
+
display: flex !important;
|
|
537
|
+
flex-direction: column !important;
|
|
538
538
|
flex: 1 1 auto;
|
|
539
539
|
min-block-size: 0;
|
|
540
|
-
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5);
|
|
540
|
+
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5) !important;
|
|
541
541
|
}
|
|
542
542
|
|
|
543
543
|
:global(footer:where([data-hn-ui-dialog])) {
|
|
544
|
-
display: flex;
|
|
544
|
+
display: flex !important;
|
|
545
545
|
flex: none;
|
|
546
|
-
flex-wrap: wrap;
|
|
547
|
-
justify-content: flex-end;
|
|
548
|
-
gap: var(--ui-space-2);
|
|
549
|
-
padding: 0 var(--ui-space-5) var(--ui-space-5);
|
|
546
|
+
flex-wrap: wrap !important;
|
|
547
|
+
justify-content: flex-end !important;
|
|
548
|
+
gap: var(--ui-space-2) !important;
|
|
549
|
+
padding: 0 var(--ui-space-5) var(--ui-space-5) !important;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
:global(footer:empty:where([data-hn-ui-dialog])) {
|
|
553
|
-
display: none;
|
|
553
|
+
display: none !important;
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
:global(:scope:where([data-hn-ui-dialog])::backdrop) {
|
|
@@ -583,17 +583,17 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
583
583
|
|
|
584
584
|
position: fixed;
|
|
585
585
|
inset: 0;
|
|
586
|
-
box-sizing: border-box;
|
|
586
|
+
box-sizing: border-box !important;
|
|
587
587
|
inline-size: min(
|
|
588
588
|
calc(100% - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2),
|
|
589
589
|
var(--ui-dialog-max-width, var(--_ui-dialog-size, 440px))
|
|
590
590
|
);
|
|
591
591
|
max-inline-size: none;
|
|
592
592
|
max-block-size: calc(100dvh - var(--ui-dialog-viewport-gap, var(--ui-space-4)) * 2);
|
|
593
|
-
margin: auto;
|
|
594
|
-
padding: 0;
|
|
593
|
+
margin: auto !important;
|
|
594
|
+
padding: 0 !important;
|
|
595
595
|
overflow: hidden;
|
|
596
|
-
flex-direction: column;
|
|
596
|
+
flex-direction: column !important;
|
|
597
597
|
background: var(--ui-dialog-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
598
598
|
border: var(--ui-border-width) solid
|
|
599
599
|
var(--ui-dialog-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
@@ -615,7 +615,7 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
:global(:where(.ui-dialog)[open]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])) {
|
|
618
|
-
display: flex;
|
|
618
|
+
display: flex !important;
|
|
619
619
|
visibility: visible;
|
|
620
620
|
pointer-events: auto;
|
|
621
621
|
opacity: 1;
|
|
@@ -637,34 +637,34 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
637
637
|
inline-size: 100%;
|
|
638
638
|
block-size: 100dvh;
|
|
639
639
|
max-block-size: none;
|
|
640
|
-
margin: 0;
|
|
640
|
+
margin: 0 !important;
|
|
641
641
|
border-radius: var(--ui-dialog-radius, 0);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
:global(:where(.ui-dialog)[data-ui-dialog-state~="alert"]
|
|
645
645
|
.close:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])) {
|
|
646
|
-
display: none;
|
|
646
|
+
display: none !important;
|
|
647
647
|
}
|
|
648
648
|
:global(header:where(:scope, :scope *):where([data-hn-ui-dialog])) {
|
|
649
|
-
display: flex;
|
|
650
|
-
align-items: center;
|
|
651
|
-
gap: var(--ui-space-3);
|
|
649
|
+
display: flex !important;
|
|
650
|
+
align-items: center !important;
|
|
651
|
+
gap: var(--ui-space-3) !important;
|
|
652
652
|
flex: none;
|
|
653
653
|
/* The title's ink sits inside its line box and the taller close target. Balance that
|
|
654
654
|
visible top inset against the action row's bottom inset, not just the boxes. */
|
|
655
655
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3)
|
|
656
|
-
var(--ui-space-5);
|
|
656
|
+
var(--ui-space-5) !important;
|
|
657
657
|
}
|
|
658
658
|
:global(:where(.ui-dialog)[data-ui-dialog-state~="alert"]
|
|
659
659
|
header:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])) {
|
|
660
|
-
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
660
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3) !important;
|
|
661
661
|
}
|
|
662
662
|
:global(:where(.ui-dialog)
|
|
663
663
|
.title:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])) {
|
|
664
664
|
flex: 1;
|
|
665
665
|
min-inline-size: 0;
|
|
666
|
-
margin: 0;
|
|
667
|
-
padding: 0;
|
|
666
|
+
margin: 0 !important;
|
|
667
|
+
padding: 0 !important;
|
|
668
668
|
border: 0;
|
|
669
669
|
color: var(--ui-text-primary);
|
|
670
670
|
letter-spacing: normal;
|
|
@@ -674,13 +674,13 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
:global(.close:where(:scope, :scope *):where([data-hn-ui-dialog])) {
|
|
677
|
-
display: inline-grid;
|
|
677
|
+
display: inline-grid !important;
|
|
678
678
|
place-items: center;
|
|
679
679
|
flex: none;
|
|
680
|
-
margin-inline-start: auto;
|
|
680
|
+
margin-inline-start: auto !important;
|
|
681
681
|
inline-size: var(--ui-control-size-sm);
|
|
682
682
|
block-size: var(--ui-control-size-sm);
|
|
683
|
-
padding: 0;
|
|
683
|
+
padding: 0 !important;
|
|
684
684
|
border: 0;
|
|
685
685
|
border-radius: var(--ui-radius-round);
|
|
686
686
|
background: transparent;
|
|
@@ -732,24 +732,24 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
:global(.body:where(:scope, :scope *):where([data-hn-ui-dialog])) {
|
|
735
|
-
display: flex;
|
|
736
|
-
flex-direction: column;
|
|
735
|
+
display: flex !important;
|
|
736
|
+
flex-direction: column !important;
|
|
737
737
|
flex: 1 1 auto;
|
|
738
738
|
min-block-size: 0;
|
|
739
|
-
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5);
|
|
739
|
+
padding: var(--ui-space-3) var(--ui-space-5) var(--ui-space-5) !important;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
:global(footer:where(:scope, :scope *):where([data-hn-ui-dialog])) {
|
|
743
|
-
display: flex;
|
|
743
|
+
display: flex !important;
|
|
744
744
|
flex: none;
|
|
745
|
-
flex-wrap: wrap;
|
|
746
|
-
justify-content: flex-end;
|
|
747
|
-
gap: var(--ui-space-2);
|
|
748
|
-
padding: 0 var(--ui-space-5) var(--ui-space-5);
|
|
745
|
+
flex-wrap: wrap !important;
|
|
746
|
+
justify-content: flex-end !important;
|
|
747
|
+
gap: var(--ui-space-2) !important;
|
|
748
|
+
padding: 0 var(--ui-space-5) var(--ui-space-5) !important;
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
:global(footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog])) {
|
|
752
|
-
display: none;
|
|
752
|
+
display: none !important;
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
:global(:where(.ui-dialog):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])::backdrop) {
|
package/vue/UiDisclosure.vue
CHANGED
|
@@ -447,7 +447,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
447
447
|
--_trigger-padding-inline: var(--ui-space-2);
|
|
448
448
|
}
|
|
449
449
|
:global(:scope:where([data-hn-ui-disclosure])) {
|
|
450
|
-
display: block;
|
|
450
|
+
display: block !important;
|
|
451
451
|
inline-size: 100%;
|
|
452
452
|
overflow: clip;
|
|
453
453
|
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
@@ -455,13 +455,13 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
:global(.trigger:where([data-hn-ui-disclosure])) {
|
|
458
|
-
display: flex;
|
|
459
|
-
gap: var(--ui-space-3);
|
|
460
|
-
align-items: center;
|
|
458
|
+
display: flex !important;
|
|
459
|
+
gap: var(--ui-space-3) !important;
|
|
460
|
+
align-items: center !important;
|
|
461
461
|
inline-size: 100%;
|
|
462
462
|
min-block-size: var(--_ui-disclosure-trigger-min-block-size, var(--_trigger-min-block-size));
|
|
463
463
|
padding: var(--_ui-disclosure-trigger-padding-block, var(--_trigger-padding-block))
|
|
464
|
-
var(--_ui-disclosure-trigger-padding-inline, var(--_trigger-padding-inline));
|
|
464
|
+
var(--_ui-disclosure-trigger-padding-inline, var(--_trigger-padding-inline)) !important;
|
|
465
465
|
border: 0;
|
|
466
466
|
background: transparent;
|
|
467
467
|
color: inherit;
|
|
@@ -493,13 +493,13 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
493
493
|
|
|
494
494
|
:global(.leading:where([data-hn-ui-disclosure])),
|
|
495
495
|
:global(.indicator:where([data-hn-ui-disclosure])) {
|
|
496
|
-
display: inline-flex;
|
|
497
|
-
align-items: center;
|
|
498
|
-
justify-content: center;
|
|
496
|
+
display: inline-flex !important;
|
|
497
|
+
align-items: center !important;
|
|
498
|
+
justify-content: center !important;
|
|
499
499
|
flex: none;
|
|
500
500
|
}
|
|
501
501
|
:global(.leading:empty:where([data-hn-ui-disclosure])) {
|
|
502
|
-
display: none;
|
|
502
|
+
display: none !important;
|
|
503
503
|
}
|
|
504
504
|
:global(.indicator:where([data-hn-ui-disclosure])) {
|
|
505
505
|
transition: transform var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
|
|
@@ -518,7 +518,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
:global(.panel:where([data-hn-ui-disclosure])) {
|
|
521
|
-
display: grid;
|
|
521
|
+
display: grid !important;
|
|
522
522
|
grid-template-rows: 0fr;
|
|
523
523
|
transition:
|
|
524
524
|
grid-template-rows var(--ui-motion-reveal) var(--ui-motion-reveal-ease),
|
|
@@ -528,7 +528,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
528
528
|
:global(.panel-inner:where([data-hn-ui-disclosure])) {
|
|
529
529
|
min-block-size: 0;
|
|
530
530
|
overflow: hidden;
|
|
531
|
-
padding-inline: var(--ui-space-3);
|
|
531
|
+
padding-inline: var(--ui-space-3) !important;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
:global(:scope[data-ui-disclosure-state~="internalOpen"] .panel:where([data-hn-ui-disclosure])) {
|
|
@@ -536,11 +536,11 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
536
536
|
}
|
|
537
537
|
:global(:scope[data-ui-disclosure-state~="internalOpen"]
|
|
538
538
|
.panel-inner:where([data-hn-ui-disclosure])) {
|
|
539
|
-
padding-block: 0 var(--ui-space-3);
|
|
539
|
+
padding-block: 0 var(--ui-space-3) !important;
|
|
540
540
|
}
|
|
541
541
|
:global(:scope[data-ui-disclosure-state~="fill"]:where([data-hn-ui-disclosure])) {
|
|
542
|
-
display: flex;
|
|
543
|
-
flex-direction: column;
|
|
542
|
+
display: flex !important;
|
|
543
|
+
flex-direction: column !important;
|
|
544
544
|
flex: 0 0 var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size));
|
|
545
545
|
min-block-size: calc(
|
|
546
546
|
var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size)) + var(--ui-border-width)
|
|
@@ -563,19 +563,19 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
563
563
|
min-block-size: 0;
|
|
564
564
|
}
|
|
565
565
|
:global(:scope[data-ui-disclosure-state~="fill"] .panel-inner:where([data-hn-ui-disclosure])) {
|
|
566
|
-
display: flex;
|
|
567
|
-
flex-direction: column;
|
|
566
|
+
display: flex !important;
|
|
567
|
+
flex-direction: column !important;
|
|
568
568
|
flex: 1;
|
|
569
569
|
min-block-size: 0;
|
|
570
|
-
padding: 0;
|
|
570
|
+
padding: 0 !important;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
:global(:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
574
574
|
.trigger:where([data-hn-ui-disclosure])) {
|
|
575
|
-
gap: var(--ui-nav-gap);
|
|
576
|
-
padding-inline: var(--ui-nav-padding-inline);
|
|
575
|
+
gap: var(--ui-nav-gap) !important;
|
|
576
|
+
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
577
577
|
min-block-size: var(--ui-nav-min-block-size);
|
|
578
|
-
padding-block: var(--ui-nav-padding-block);
|
|
578
|
+
padding-block: var(--ui-nav-padding-block) !important;
|
|
579
579
|
border-radius: var(--ui-selection-radius);
|
|
580
580
|
font-size: var(--ui-font-size-md);
|
|
581
581
|
font-weight: var(--ui-font-normal);
|
|
@@ -583,8 +583,8 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
583
583
|
}
|
|
584
584
|
:global(:scope[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"]
|
|
585
585
|
.trigger:where([data-hn-ui-disclosure])) {
|
|
586
|
-
padding-inline: var(--ui-nav-compact-padding-inline);
|
|
587
|
-
padding-block: var(--ui-nav-compact-padding-block);
|
|
586
|
+
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
587
|
+
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
588
588
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
589
589
|
font-size: var(--ui-font-size-sm);
|
|
590
590
|
}
|
|
@@ -613,7 +613,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
:global(:scope[hidden]:where([data-hn-ui-disclosure])) {
|
|
616
|
-
display: none;
|
|
616
|
+
display: none !important;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
</style>
|
package/vue/UiEditable.vue
CHANGED
|
@@ -459,25 +459,25 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
459
459
|
|
|
460
460
|
@scope (.ui-editable) to ([data-hn]) {
|
|
461
461
|
:global(:scope) {
|
|
462
|
-
display: flex;
|
|
463
|
-
flex-wrap: wrap;
|
|
464
|
-
align-items: center;
|
|
465
|
-
gap: var(--ui-space-2);
|
|
462
|
+
display: flex !important;
|
|
463
|
+
flex-wrap: wrap !important;
|
|
464
|
+
align-items: center !important;
|
|
465
|
+
gap: var(--ui-space-2) !important;
|
|
466
466
|
min-inline-size: 0;
|
|
467
467
|
color: var(--ui-text-primary);
|
|
468
468
|
}
|
|
469
469
|
:global(.field) {
|
|
470
|
-
display: inline-grid;
|
|
470
|
+
display: inline-grid !important;
|
|
471
471
|
min-inline-size: 8rem;
|
|
472
472
|
max-inline-size: 100%;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
:global(.preview), :global(.input) {
|
|
476
476
|
grid-area: 1 / 1;
|
|
477
|
-
box-sizing: border-box;
|
|
477
|
+
box-sizing: border-box !important;
|
|
478
478
|
min-block-size: var(--ui-control-size-sm);
|
|
479
|
-
margin: 0;
|
|
480
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
479
|
+
margin: 0 !important;
|
|
480
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
481
481
|
border: var(--ui-border-width) solid transparent;
|
|
482
482
|
border-radius: var(--ui-radius-md);
|
|
483
483
|
font: inherit;
|
|
@@ -490,9 +490,9 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
:global(.preview) {
|
|
493
|
-
display: inline-flex;
|
|
494
|
-
gap: var(--ui-space-2);
|
|
495
|
-
align-items: center;
|
|
493
|
+
display: inline-flex !important;
|
|
494
|
+
gap: var(--ui-space-2) !important;
|
|
495
|
+
align-items: center !important;
|
|
496
496
|
background: transparent;
|
|
497
497
|
text-align: start;
|
|
498
498
|
cursor: pointer;
|
|
@@ -539,16 +539,16 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
:global(.actions) {
|
|
542
|
-
display: none;
|
|
543
|
-
gap: var(--ui-space-1);
|
|
542
|
+
display: none !important;
|
|
543
|
+
gap: var(--ui-space-1) !important;
|
|
544
544
|
}
|
|
545
545
|
:global(:scope[data-ui-editable-state~="internalEdit"] .actions) {
|
|
546
|
-
display: inline-flex;
|
|
546
|
+
display: inline-flex !important;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
:global(.actions button) {
|
|
550
550
|
min-block-size: var(--ui-control-size-sm);
|
|
551
|
-
padding: 0 var(--ui-space-3);
|
|
551
|
+
padding: 0 var(--ui-space-3) !important;
|
|
552
552
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
553
553
|
border-radius: var(--ui-radius-md);
|
|
554
554
|
background: var(--ui-surface-elevated);
|
|
@@ -576,7 +576,7 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
576
576
|
cursor: not-allowed;
|
|
577
577
|
}
|
|
578
578
|
:global(:scope[hidden]) {
|
|
579
|
-
display: none;
|
|
579
|
+
display: none !important;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
</style>
|
|
@@ -278,23 +278,23 @@ useComponentHost(
|
|
|
278
278
|
<style scoped>
|
|
279
279
|
@scope (.ui-editor-insert-table-grid) to ([data-hn]) {
|
|
280
280
|
:global(:scope) {
|
|
281
|
-
padding: var(--ui-space-3);
|
|
281
|
+
padding: var(--ui-space-3) !important;
|
|
282
282
|
background: var(--ui-surface);
|
|
283
283
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
284
284
|
border-radius: var(--ui-radius-md);
|
|
285
285
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
286
286
|
}
|
|
287
287
|
:global(.hint) {
|
|
288
|
-
margin: 0 0 var(--ui-space-2);
|
|
288
|
+
margin: 0 0 var(--ui-space-2) !important;
|
|
289
289
|
font-size: var(--ui-font-size-sm);
|
|
290
290
|
color: var(--ui-text-muted);
|
|
291
291
|
}
|
|
292
292
|
:global(.grid) {
|
|
293
|
-
display: grid;
|
|
293
|
+
display: grid !important;
|
|
294
294
|
grid-template-columns: repeat(var(--_cols, 8), 1.25rem);
|
|
295
295
|
grid-template-rows: repeat(var(--_rows, 8), 1.25rem);
|
|
296
|
-
gap: 2px;
|
|
297
|
-
margin-bottom: var(--ui-space-2);
|
|
296
|
+
gap: 2px !important;
|
|
297
|
+
margin-bottom: var(--ui-space-2) !important;
|
|
298
298
|
max-inline-size: 100%;
|
|
299
299
|
overflow: auto;
|
|
300
300
|
--_ui-scroll-fade-direction: to right;
|
|
@@ -324,7 +324,7 @@ useComponentHost(
|
|
|
324
324
|
:global(.cell) {
|
|
325
325
|
width: 1.25rem;
|
|
326
326
|
height: 1.25rem;
|
|
327
|
-
padding: 0;
|
|
327
|
+
padding: 0 !important;
|
|
328
328
|
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
329
329
|
border-radius: var(--ui-radius-sm);
|
|
330
330
|
background: var(--ui-surface);
|
|
@@ -339,8 +339,8 @@ useComponentHost(
|
|
|
339
339
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
340
340
|
}
|
|
341
341
|
:global(.header) {
|
|
342
|
-
display: block;
|
|
343
|
-
margin-bottom: var(--ui-space-2);
|
|
342
|
+
display: block !important;
|
|
343
|
+
margin-bottom: var(--ui-space-2) !important;
|
|
344
344
|
font-size: var(--ui-font-size-sm);
|
|
345
345
|
cursor: pointer;
|
|
346
346
|
}
|
|
@@ -361,7 +361,7 @@ useComponentHost(
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
:global(:scope[hidden]) {
|
|
364
|
-
display: none;
|
|
364
|
+
display: none !important;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
</style>
|
|
@@ -448,26 +448,26 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
448
448
|
:global(:scope[popover]:where([data-hn-ui-editor-mention-menu])) {
|
|
449
449
|
position: fixed;
|
|
450
450
|
inset: auto;
|
|
451
|
-
margin: 0;
|
|
451
|
+
margin: 0 !important;
|
|
452
452
|
}
|
|
453
453
|
:global(:scope:where([data-hn-ui-editor-mention-menu])) {
|
|
454
454
|
user-select: none;
|
|
455
455
|
}
|
|
456
456
|
:global(:scope:where([data-hn-ui-editor-mention-menu])) {
|
|
457
|
-
display: flex;
|
|
457
|
+
display: flex !important;
|
|
458
458
|
overflow: hidden;
|
|
459
|
-
flex-direction: column;
|
|
459
|
+
flex-direction: column !important;
|
|
460
460
|
background: var(--ui-surface);
|
|
461
461
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
462
462
|
border-radius: var(--ui-radius-dialog);
|
|
463
463
|
box-shadow: var(--ui-shadow-lg, 0 8px 24px rgb(0 0 0 / 0.12));
|
|
464
464
|
}
|
|
465
465
|
:global(.header:where([data-hn-ui-editor-mention-menu])) {
|
|
466
|
-
display: flex;
|
|
467
|
-
align-items: center;
|
|
468
|
-
justify-content: space-between;
|
|
469
|
-
gap: var(--ui-space-3);
|
|
470
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
466
|
+
display: flex !important;
|
|
467
|
+
align-items: center !important;
|
|
468
|
+
justify-content: space-between !important;
|
|
469
|
+
gap: var(--ui-space-3) !important;
|
|
470
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
471
471
|
color: var(--ui-text-secondary);
|
|
472
472
|
border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
|
|
473
473
|
font-size: var(--ui-font-size-xs);
|
|
@@ -475,10 +475,10 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
475
475
|
}
|
|
476
476
|
:global(:scope > .header:empty:where([data-hn-ui-editor-mention-menu])),
|
|
477
477
|
:global(:scope > .empty:empty:where([data-hn-ui-editor-mention-menu])) {
|
|
478
|
-
display: none;
|
|
478
|
+
display: none !important;
|
|
479
479
|
}
|
|
480
480
|
:global(.empty:where([data-hn-ui-editor-mention-menu])) {
|
|
481
|
-
padding: var(--ui-space-3);
|
|
481
|
+
padding: var(--ui-space-3) !important;
|
|
482
482
|
color: var(--ui-text-muted);
|
|
483
483
|
font-size: var(--ui-font-size-sm);
|
|
484
484
|
}
|
|
@@ -491,8 +491,8 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
491
491
|
}
|
|
492
492
|
:global(.list:where([data-hn-ui-editor-mention-menu])) {
|
|
493
493
|
max-height: 280px;
|
|
494
|
-
padding: var(--ui-space-1) 0;
|
|
495
|
-
margin: 0;
|
|
494
|
+
padding: var(--ui-space-1) 0 !important;
|
|
495
|
+
margin: 0 !important;
|
|
496
496
|
overflow-y: auto;
|
|
497
497
|
overscroll-behavior: contain;
|
|
498
498
|
list-style: none;
|
|
@@ -519,11 +519,11 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
519
519
|
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
520
520
|
}
|
|
521
521
|
:global(.item:where([data-hn-ui-editor-mention-menu])) {
|
|
522
|
-
display: flex;
|
|
523
|
-
align-items: center;
|
|
522
|
+
display: flex !important;
|
|
523
|
+
align-items: center !important;
|
|
524
524
|
min-height: 44px;
|
|
525
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
526
|
-
gap: var(--ui-space-3);
|
|
525
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
526
|
+
gap: var(--ui-space-3) !important;
|
|
527
527
|
cursor: pointer;
|
|
528
528
|
}
|
|
529
529
|
:global(.item.active:where([data-hn-ui-editor-mention-menu])) {
|
|
@@ -535,9 +535,9 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
:global(.avatar:where([data-hn-ui-editor-mention-menu])) {
|
|
538
|
-
display: inline-flex;
|
|
539
|
-
align-items: center;
|
|
540
|
-
justify-content: center;
|
|
538
|
+
display: inline-flex !important;
|
|
539
|
+
align-items: center !important;
|
|
540
|
+
justify-content: center !important;
|
|
541
541
|
width: 32px;
|
|
542
542
|
height: 32px;
|
|
543
543
|
flex: 0 0 auto;
|
|
@@ -549,9 +549,9 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
:global(.body:where([data-hn-ui-editor-mention-menu])) {
|
|
552
|
-
display: flex;
|
|
552
|
+
display: flex !important;
|
|
553
553
|
min-width: 0;
|
|
554
|
-
flex-direction: column;
|
|
554
|
+
flex-direction: column !important;
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
:global(.label:where([data-hn-ui-editor-mention-menu])),
|
|
@@ -575,7 +575,7 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
575
575
|
|
|
576
576
|
:global(.loading:where([data-hn-ui-editor-mention-menu])) {
|
|
577
577
|
min-height: 44px;
|
|
578
|
-
padding: var(--ui-space-3);
|
|
578
|
+
padding: var(--ui-space-3) !important;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
@media (max-width: 767px) {
|
|
@@ -590,7 +590,7 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
:global(:scope[hidden]:where([data-hn-ui-editor-mention-menu])) {
|
|
593
|
-
display: none;
|
|
593
|
+
display: none !important;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
</style>
|
|
@@ -139,11 +139,11 @@ checkHydratedRoot('li', 'ui-editor-mention-menu-item')
|
|
|
139
139
|
|
|
140
140
|
@scope (.ui-editor-mention-menu-item) to ([data-hn]) {
|
|
141
141
|
:global(:scope:where([data-hn-ui-editor-mention-menu-item])) {
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
142
|
+
display: flex !important;
|
|
143
|
+
align-items: center !important;
|
|
144
144
|
min-block-size: 44px;
|
|
145
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
146
|
-
gap: var(--ui-space-3);
|
|
145
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
146
|
+
gap: var(--ui-space-3) !important;
|
|
147
147
|
cursor: pointer;
|
|
148
148
|
list-style: none;
|
|
149
149
|
}
|
|
@@ -161,9 +161,9 @@ checkHydratedRoot('li', 'ui-editor-mention-menu-item')
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
:global(.avatar:where([data-hn-ui-editor-mention-menu-item])) {
|
|
164
|
-
display: inline-flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
justify-content: center;
|
|
164
|
+
display: inline-flex !important;
|
|
165
|
+
align-items: center !important;
|
|
166
|
+
justify-content: center !important;
|
|
167
167
|
inline-size: 32px;
|
|
168
168
|
block-size: 32px;
|
|
169
169
|
flex: 0 0 auto;
|
|
@@ -175,9 +175,9 @@ checkHydratedRoot('li', 'ui-editor-mention-menu-item')
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
:global(.body:where([data-hn-ui-editor-mention-menu-item])) {
|
|
178
|
-
display: flex;
|
|
178
|
+
display: flex !important;
|
|
179
179
|
min-inline-size: 0;
|
|
180
|
-
flex-direction: column;
|
|
180
|
+
flex-direction: column !important;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
:global(.label:where([data-hn-ui-editor-mention-menu-item])),
|
|
@@ -199,7 +199,7 @@ checkHydratedRoot('li', 'ui-editor-mention-menu-item')
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
:global(:scope[hidden]:where([data-hn-ui-editor-mention-menu-item])) {
|
|
202
|
-
display: none;
|
|
202
|
+
display: none !important;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
</style>
|