@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/UiToastRegion.vue
CHANGED
|
@@ -384,13 +384,13 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
384
384
|
left: 50%;
|
|
385
385
|
transform: translateX(-50%);
|
|
386
386
|
z-index: 9999;
|
|
387
|
-
display: grid;
|
|
388
|
-
gap: var(--ui-space-2);
|
|
387
|
+
display: grid !important;
|
|
388
|
+
gap: var(--ui-space-2) !important;
|
|
389
389
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
390
390
|
max-inline-size: 100%;
|
|
391
|
-
box-sizing: border-box;
|
|
392
|
-
margin: 0;
|
|
393
|
-
padding: 0;
|
|
391
|
+
box-sizing: border-box !important;
|
|
392
|
+
margin: 0 !important;
|
|
393
|
+
padding: 0 !important;
|
|
394
394
|
overflow: visible;
|
|
395
395
|
border: 0;
|
|
396
396
|
outline: 0;
|
|
@@ -400,7 +400,7 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
:global(:scope:not(:popover-open):where([data-hn-ui-toast-region])) {
|
|
403
|
-
display: none;
|
|
403
|
+
display: none !important;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
:global(:scope[data-ui-toast-region-state~="placement=top-start"]:where([data-hn-ui-toast-region])),
|
|
@@ -434,16 +434,16 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
434
434
|
:global(.toast:where([data-hn-ui-toast-region])) {
|
|
435
435
|
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
436
436
|
--_ui-toast-region-tone-surface: var(--ui-surface-muted);
|
|
437
|
-
display: grid;
|
|
437
|
+
display: grid !important;
|
|
438
438
|
grid-template-columns: 1fr auto;
|
|
439
|
-
gap: var(--ui-space-2);
|
|
440
|
-
align-items: start;
|
|
439
|
+
gap: var(--ui-space-2) !important;
|
|
440
|
+
align-items: start !important;
|
|
441
441
|
border: var(--ui-border-width) solid
|
|
442
442
|
var(--_ui-toast-region-border, var(--ui-overlay-border, var(--_ui-toast-region-accent)));
|
|
443
443
|
border-radius: var(--_ui-toast-region-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
444
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
444
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
445
445
|
/* The close button's internal space supplies the rest of the trailing inset. */
|
|
446
|
-
padding-inline-end: var(--ui-space-2);
|
|
446
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
447
447
|
background: var(
|
|
448
448
|
--_ui-toast-region-surface,
|
|
449
449
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
@@ -509,7 +509,7 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
509
509
|
align-self: center;
|
|
510
510
|
}
|
|
511
511
|
:global(:scope[hidden]:where([data-hn-ui-toast-region])) {
|
|
512
|
-
display: none;
|
|
512
|
+
display: none !important;
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
|
|
@@ -530,13 +530,13 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
530
530
|
left: 50%;
|
|
531
531
|
transform: translateX(-50%);
|
|
532
532
|
z-index: 9999;
|
|
533
|
-
display: grid;
|
|
534
|
-
gap: var(--ui-space-2);
|
|
533
|
+
display: grid !important;
|
|
534
|
+
gap: var(--ui-space-2) !important;
|
|
535
535
|
inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
|
|
536
536
|
max-inline-size: 100%;
|
|
537
|
-
box-sizing: border-box;
|
|
538
|
-
margin: 0;
|
|
539
|
-
padding: 0;
|
|
537
|
+
box-sizing: border-box !important;
|
|
538
|
+
margin: 0 !important;
|
|
539
|
+
padding: 0 !important;
|
|
540
540
|
overflow: visible;
|
|
541
541
|
border: 0;
|
|
542
542
|
outline: 0;
|
|
@@ -546,7 +546,7 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
:global(:where(.ui-toast-region):not(:popover-open):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region])) {
|
|
549
|
-
display: none;
|
|
549
|
+
display: none !important;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
:global(:where(.ui-toast-region)[data-ui-toast-region-state~="placement=top-start"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region])),
|
|
@@ -575,16 +575,16 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
575
575
|
:global(.toast:where(:scope, :scope *):where([data-hn-ui-toast-region])) {
|
|
576
576
|
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
577
577
|
--_ui-toast-region-tone-surface: var(--ui-surface-muted);
|
|
578
|
-
display: grid;
|
|
578
|
+
display: grid !important;
|
|
579
579
|
grid-template-columns: 1fr auto;
|
|
580
|
-
gap: var(--ui-space-2);
|
|
581
|
-
align-items: start;
|
|
580
|
+
gap: var(--ui-space-2) !important;
|
|
581
|
+
align-items: start !important;
|
|
582
582
|
border: var(--ui-border-width) solid
|
|
583
583
|
var(--_ui-toast-region-border, var(--ui-overlay-border, var(--_ui-toast-region-accent)));
|
|
584
584
|
border-radius: var(--_ui-toast-region-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
585
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
585
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
586
586
|
/* The close button's internal space supplies the rest of the trailing inset. */
|
|
587
|
-
padding-inline-end: var(--ui-space-2);
|
|
587
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
588
588
|
background: var(
|
|
589
589
|
--_ui-toast-region-surface,
|
|
590
590
|
var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface))
|
|
@@ -650,7 +650,7 @@ useComponentHost(() => import('../components/ui-toast-region/ui-toast-region.js'
|
|
|
650
650
|
align-self: center;
|
|
651
651
|
}
|
|
652
652
|
:global(:where(.ui-toast-region)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast-region"]))):where([data-hn-ui-toast-region])) {
|
|
653
|
-
display: none;
|
|
653
|
+
display: none !important;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
</style>
|
package/vue/UiTooltip.vue
CHANGED
|
@@ -412,10 +412,10 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
412
412
|
|
|
413
413
|
position: fixed;
|
|
414
414
|
inset: auto;
|
|
415
|
-
margin: 0;
|
|
416
|
-
display: inline-block;
|
|
417
|
-
box-sizing: border-box;
|
|
418
|
-
padding: 0;
|
|
415
|
+
margin: 0 !important;
|
|
416
|
+
display: inline-block !important;
|
|
417
|
+
box-sizing: border-box !important;
|
|
418
|
+
padding: 0 !important;
|
|
419
419
|
border: 0;
|
|
420
420
|
outline: 0;
|
|
421
421
|
border-radius: 0;
|
|
@@ -433,16 +433,16 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
433
433
|
:global(.surface:where([data-hn-ui-tooltip])) {
|
|
434
434
|
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
435
435
|
position: relative;
|
|
436
|
-
display: flex;
|
|
437
|
-
align-items: baseline;
|
|
438
|
-
gap: var(--ui-space-2);
|
|
439
|
-
box-sizing: border-box;
|
|
436
|
+
display: flex !important;
|
|
437
|
+
align-items: baseline !important;
|
|
438
|
+
gap: var(--ui-space-2) !important;
|
|
439
|
+
box-sizing: border-box !important;
|
|
440
440
|
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
441
441
|
border: var(--ui-border-width) solid var(--_tooltip-line);
|
|
442
442
|
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
443
443
|
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
444
444
|
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
445
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
445
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
446
446
|
font-family: var(--ui-font-family-sans);
|
|
447
447
|
font-size: var(--ui-font-size-sm);
|
|
448
448
|
line-height: var(--ui-line-height-tight);
|
|
@@ -452,9 +452,9 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
452
452
|
);
|
|
453
453
|
}
|
|
454
454
|
:global(.shortcut:where([data-hn-ui-tooltip])) {
|
|
455
|
-
display: inline-flex;
|
|
456
|
-
align-items: center;
|
|
457
|
-
padding-inline-start: var(--ui-space-2);
|
|
455
|
+
display: inline-flex !important;
|
|
456
|
+
align-items: center !important;
|
|
457
|
+
padding-inline-start: var(--ui-space-2) !important;
|
|
458
458
|
border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
459
459
|
color: color-mix(in oklab, currentColor 72%, transparent);
|
|
460
460
|
font-size: var(--ui-font-size-xs);
|
|
@@ -464,7 +464,7 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
:global(.shortcut:empty:where([data-hn-ui-tooltip])) {
|
|
467
|
-
display: none;
|
|
467
|
+
display: none !important;
|
|
468
468
|
}
|
|
469
469
|
:global(.shortcut :where(:not([data-hn-ui-tooltip])):is(kbd)) {
|
|
470
470
|
font: inherit;
|
|
@@ -485,7 +485,7 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
485
485
|
);
|
|
486
486
|
inline-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
487
487
|
block-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
488
|
-
box-sizing: border-box;
|
|
488
|
+
box-sizing: border-box !important;
|
|
489
489
|
background: inherit;
|
|
490
490
|
border: 0 solid var(--_tooltip-line);
|
|
491
491
|
border-inline-end-width: var(--ui-border-width);
|
|
@@ -569,7 +569,7 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
:global(:scope[hidden]:where([data-hn-ui-tooltip])) {
|
|
572
|
-
display: none;
|
|
572
|
+
display: none !important;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
@media (prefers-reduced-motion: reduce) {
|
package/vue/UiTopBar.vue
CHANGED
|
@@ -60,18 +60,18 @@ checkHydratedRoot('header', 'ui-top-bar')
|
|
|
60
60
|
inset-block-start: 0;
|
|
61
61
|
z-index: var(--ui-top-bar-z-index, 100);
|
|
62
62
|
min-block-size: calc(var(--ui-top-bar-height, 56px) + env(safe-area-inset-top));
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
gap: var(--ui-top-bar-gap, var(--ui-space-3));
|
|
66
|
-
padding-block-start: env(safe-area-inset-top);
|
|
63
|
+
display: flex !important;
|
|
64
|
+
align-items: center !important;
|
|
65
|
+
gap: var(--ui-top-bar-gap, var(--ui-space-3)) !important;
|
|
66
|
+
padding-block-start: env(safe-area-inset-top) !important;
|
|
67
67
|
padding-inline-start: max(
|
|
68
68
|
var(--ui-top-bar-padding-inline, var(--ui-space-4)),
|
|
69
69
|
env(safe-area-inset-left)
|
|
70
|
-
);
|
|
70
|
+
) !important;
|
|
71
71
|
padding-inline-end: max(
|
|
72
72
|
var(--ui-top-bar-padding-inline, var(--ui-space-4)),
|
|
73
73
|
env(safe-area-inset-right)
|
|
74
|
-
);
|
|
74
|
+
) !important;
|
|
75
75
|
background: var(--ui-top-bar-surface, var(--ui-surface-elevated));
|
|
76
76
|
border-block-end: var(--ui-border-width) solid
|
|
77
77
|
var(--ui-top-bar-border, var(--ui-border-divider));
|
|
@@ -80,13 +80,13 @@ checkHydratedRoot('header', 'ui-top-bar')
|
|
|
80
80
|
:global(.leading:where([data-hn-ui-top-bar])),
|
|
81
81
|
:global(.search:where([data-hn-ui-top-bar])),
|
|
82
82
|
:global(.actions:where([data-hn-ui-top-bar])) {
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
83
|
+
display: flex !important;
|
|
84
|
+
align-items: center !important;
|
|
85
85
|
flex-shrink: 0;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:global(.actions:where([data-hn-ui-top-bar])) {
|
|
89
|
-
gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1));
|
|
89
|
+
gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1)) !important;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
:global(.title:where([data-hn-ui-top-bar])) {
|
|
@@ -96,10 +96,10 @@ checkHydratedRoot('header', 'ui-top-bar')
|
|
|
96
96
|
:global(.leading:empty:where([data-hn-ui-top-bar])),
|
|
97
97
|
:global(.search:empty:where([data-hn-ui-top-bar])),
|
|
98
98
|
:global(.actions:empty:where([data-hn-ui-top-bar])) {
|
|
99
|
-
display: none;
|
|
99
|
+
display: none !important;
|
|
100
100
|
}
|
|
101
101
|
:global(:scope[hidden]:where([data-hn-ui-top-bar])) {
|
|
102
|
-
display: none;
|
|
102
|
+
display: none !important;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
</style>
|
package/vue/UiTree.vue
CHANGED
|
@@ -415,20 +415,20 @@ useComponentHost(() => import('../components/ui-tree/ui-tree.js'), {
|
|
|
415
415
|
--_ui-default-tree-item-min-block-size: initial;
|
|
416
416
|
--_ui-default-tree-item-font-size: initial;
|
|
417
417
|
--_ui-default-tree-item-label-padding-block: initial;
|
|
418
|
-
display: block;
|
|
418
|
+
display: block !important;
|
|
419
419
|
min-inline-size: 0;
|
|
420
|
-
padding-inline-start: var(--ui-tree-gutter, 0px);
|
|
420
|
+
padding-inline-start: var(--ui-tree-gutter, 0px) !important;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
:global(:scope[data-move-mode]:where([data-hn-ui-tree])::after) {
|
|
424
424
|
content: "Choose a destination row, or use Up and Down; Right nests inside a branch. Enter places it, Escape cancels.";
|
|
425
|
-
display: block;
|
|
426
|
-
padding: var(--ui-space-2);
|
|
425
|
+
display: block !important;
|
|
426
|
+
padding: var(--ui-space-2) !important;
|
|
427
427
|
color: var(--ui-text-secondary);
|
|
428
428
|
font-size: var(--ui-font-size-sm);
|
|
429
429
|
}
|
|
430
430
|
:global(:scope[hidden]:where([data-hn-ui-tree])) {
|
|
431
|
-
display: none;
|
|
431
|
+
display: none !important;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
</style>
|