@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/UiListbox.vue
CHANGED
|
@@ -426,12 +426,12 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
426
426
|
@scope (.ui-listbox) to ([data-hn]) {
|
|
427
427
|
:global(:scope:where([data-hn-ui-listbox])) {
|
|
428
428
|
position: relative;
|
|
429
|
-
box-sizing: border-box;
|
|
430
|
-
display: block;
|
|
429
|
+
box-sizing: border-box !important;
|
|
430
|
+
display: block !important;
|
|
431
431
|
inline-size: 100%;
|
|
432
432
|
min-inline-size: 0;
|
|
433
|
-
margin: 0;
|
|
434
|
-
padding: var(--ui-space-1);
|
|
433
|
+
margin: 0 !important;
|
|
434
|
+
padding: var(--ui-space-1) !important;
|
|
435
435
|
border: var(--ui-border-width) solid var(--ui-listbox-border, var(--ui-control-border));
|
|
436
436
|
border-radius: var(--ui-listbox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
437
437
|
background: var(--ui-listbox-surface, var(--ui-control-surface));
|
|
@@ -442,13 +442,13 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
442
442
|
outline: none;
|
|
443
443
|
}
|
|
444
444
|
:global(.choices:where([data-hn-ui-listbox])) {
|
|
445
|
-
display: flex;
|
|
446
|
-
flex-direction: column;
|
|
445
|
+
display: flex !important;
|
|
446
|
+
flex-direction: column !important;
|
|
447
447
|
max-block-size: calc(max(2, var(--_rows, 5)) * var(--ui-control-size-md));
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
:global(:scope:not([data-enhanced]):where([data-hn-ui-listbox])) {
|
|
451
|
-
padding: 0;
|
|
451
|
+
padding: 0 !important;
|
|
452
452
|
border: 0;
|
|
453
453
|
background: transparent;
|
|
454
454
|
box-shadow: none;
|
|
@@ -456,11 +456,11 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
456
456
|
|
|
457
457
|
:global(:scope:not([data-enhanced]) .choices:where([data-hn-ui-listbox])),
|
|
458
458
|
:global(:scope[data-enhanced] .fallback:where([data-hn-ui-listbox])) {
|
|
459
|
-
display: none;
|
|
459
|
+
display: none !important;
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
:global(.fallback:where([data-hn-ui-listbox])) {
|
|
463
|
-
box-sizing: border-box;
|
|
463
|
+
box-sizing: border-box !important;
|
|
464
464
|
inline-size: 100%;
|
|
465
465
|
font: inherit;
|
|
466
466
|
}
|
|
@@ -494,19 +494,19 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
:global(:scope[hidden]:where([data-hn-ui-listbox])) {
|
|
497
|
-
display: none;
|
|
497
|
+
display: none !important;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
@scope ([data-slotted~="ui-listbox"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
502
502
|
:global(:where(.ui-listbox):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])) {
|
|
503
503
|
position: relative;
|
|
504
|
-
box-sizing: border-box;
|
|
505
|
-
display: block;
|
|
504
|
+
box-sizing: border-box !important;
|
|
505
|
+
display: block !important;
|
|
506
506
|
inline-size: 100%;
|
|
507
507
|
min-inline-size: 0;
|
|
508
|
-
margin: 0;
|
|
509
|
-
padding: var(--ui-space-1);
|
|
508
|
+
margin: 0 !important;
|
|
509
|
+
padding: var(--ui-space-1) !important;
|
|
510
510
|
border: var(--ui-border-width) solid var(--ui-listbox-border, var(--ui-control-border));
|
|
511
511
|
border-radius: var(--ui-listbox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
512
512
|
background: var(--ui-listbox-surface, var(--ui-control-surface));
|
|
@@ -517,13 +517,13 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
517
517
|
outline: none;
|
|
518
518
|
}
|
|
519
519
|
:global(.choices:where(:scope, :scope *):where([data-hn-ui-listbox])) {
|
|
520
|
-
display: flex;
|
|
521
|
-
flex-direction: column;
|
|
520
|
+
display: flex !important;
|
|
521
|
+
flex-direction: column !important;
|
|
522
522
|
max-block-size: calc(max(2, var(--_rows, 5)) * var(--ui-control-size-md));
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
:global(:where(.ui-listbox):not([data-enhanced]):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])) {
|
|
526
|
-
padding: 0;
|
|
526
|
+
padding: 0 !important;
|
|
527
527
|
border: 0;
|
|
528
528
|
background: transparent;
|
|
529
529
|
box-shadow: none;
|
|
@@ -533,11 +533,11 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
533
533
|
.choices:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])),
|
|
534
534
|
:global(:where(.ui-listbox)[data-enhanced]
|
|
535
535
|
.fallback:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])) {
|
|
536
|
-
display: none;
|
|
536
|
+
display: none !important;
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
:global(.fallback:where(:scope, :scope *):where([data-hn-ui-listbox])) {
|
|
540
|
-
box-sizing: border-box;
|
|
540
|
+
box-sizing: border-box !important;
|
|
541
541
|
inline-size: 100%;
|
|
542
542
|
font: inherit;
|
|
543
543
|
}
|
|
@@ -571,7 +571,7 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
:global(:where(.ui-listbox)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])) {
|
|
574
|
-
display: none;
|
|
574
|
+
display: none !important;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
</style>
|
package/vue/UiMenu.vue
CHANGED
|
@@ -358,8 +358,8 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
358
358
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
359
359
|
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
360
360
|
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
361
|
-
padding: var(--ui-space-1);
|
|
362
|
-
gap: 0;
|
|
361
|
+
padding: var(--ui-space-1) !important;
|
|
362
|
+
gap: 0 !important;
|
|
363
363
|
}
|
|
364
364
|
:global(:scope[data-ui-menu-state~="size=sm"]:where([data-hn-ui-menu])) {
|
|
365
365
|
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
@@ -369,8 +369,8 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
369
369
|
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
370
370
|
--_ui-default-menu-indicator-size: 0.75rem;
|
|
371
371
|
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
372
|
-
padding: var(--ui-space-1);
|
|
373
|
-
gap: 0;
|
|
372
|
+
padding: var(--ui-space-1) !important;
|
|
373
|
+
gap: 0 !important;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
:global(:scope[data-ui-menu-state~="icons"]:where([data-hn-ui-menu])) {
|
|
@@ -390,13 +390,13 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
390
390
|
--_ui-default-menu-item-min-block-size: initial;
|
|
391
391
|
--_ui-default-menu-indicator-size: initial;
|
|
392
392
|
--_ui-default-menu-icon-display: none;
|
|
393
|
-
display: flex;
|
|
394
|
-
flex-direction: column;
|
|
395
|
-
box-sizing: border-box;
|
|
393
|
+
display: flex !important;
|
|
394
|
+
flex-direction: column !important;
|
|
395
|
+
box-sizing: border-box !important;
|
|
396
396
|
inline-size: max-content;
|
|
397
397
|
min-inline-size: min(12rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
398
398
|
max-inline-size: calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
399
|
-
padding: 0;
|
|
399
|
+
padding: 0 !important;
|
|
400
400
|
border: 0;
|
|
401
401
|
outline: 0;
|
|
402
402
|
border-radius: 0;
|
|
@@ -406,11 +406,11 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
:global(.surface:where([data-hn-ui-menu])) {
|
|
409
|
-
display: flex;
|
|
410
|
-
flex-direction: column;
|
|
411
|
-
box-sizing: border-box;
|
|
409
|
+
display: flex !important;
|
|
410
|
+
flex-direction: column !important;
|
|
411
|
+
box-sizing: border-box !important;
|
|
412
412
|
max-inline-size: inherit;
|
|
413
|
-
padding: var(--ui-space-1);
|
|
413
|
+
padding: var(--ui-space-1) !important;
|
|
414
414
|
background: var(--_ui-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
415
415
|
border: var(--ui-border-width) solid
|
|
416
416
|
var(--_ui-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
@@ -426,19 +426,19 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
426
426
|
:global(.surface hr:where([data-hn-ui-menu])) {
|
|
427
427
|
align-self: stretch;
|
|
428
428
|
block-size: 0;
|
|
429
|
-
margin: var(--ui-space-1) 0;
|
|
429
|
+
margin: var(--ui-space-1) 0 !important;
|
|
430
430
|
border: 0;
|
|
431
431
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
:global(:scope:not([data-ui-menu-state~="internalOpen"]):not(:scope[data-ui-menu-state~="inline"]):where([data-hn-ui-menu])) {
|
|
435
|
-
display: none;
|
|
435
|
+
display: none !important;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
:global(:scope[popover]:where([data-hn-ui-menu])) {
|
|
439
439
|
position: fixed;
|
|
440
440
|
inset: auto;
|
|
441
|
-
margin: 0;
|
|
441
|
+
margin: 0 !important;
|
|
442
442
|
overflow: visible;
|
|
443
443
|
max-block-size: calc(100dvh - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
444
444
|
opacity: 0;
|
|
@@ -463,7 +463,7 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
:global(:scope[hidden]:where([data-hn-ui-menu])) {
|
|
466
|
-
display: none;
|
|
466
|
+
display: none !important;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
@media (prefers-reduced-motion: reduce) {
|
package/vue/UiMenuGroup.vue
CHANGED
|
@@ -88,18 +88,18 @@ checkHydratedRoot('div', 'ui-menu-group')
|
|
|
88
88
|
<style scoped>
|
|
89
89
|
@scope (.ui-menu-group) to ([data-hn]) {
|
|
90
90
|
:global(:scope:where([data-hn-ui-menu-group])) {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
91
|
+
display: flex !important;
|
|
92
|
+
flex-direction: column !important;
|
|
93
93
|
min-inline-size: 0;
|
|
94
94
|
}
|
|
95
95
|
:global(.heading:where([data-hn-ui-menu-group])) {
|
|
96
|
-
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1);
|
|
96
|
+
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1) !important;
|
|
97
97
|
color: var(--ui-text-muted);
|
|
98
98
|
font-size: var(--ui-font-size-sm);
|
|
99
99
|
font-weight: var(--ui-font-semibold);
|
|
100
100
|
}
|
|
101
101
|
:global(:scope[hidden]:where([data-hn-ui-menu-group])) {
|
|
102
|
-
display: none;
|
|
102
|
+
display: none !important;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
</style>
|
package/vue/UiMenuItem.vue
CHANGED
|
@@ -403,10 +403,10 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
403
403
|
|
|
404
404
|
@scope (.ui-menu-item) to ([data-hn]) {
|
|
405
405
|
:global(:scope:where([data-hn-ui-menu-item])) {
|
|
406
|
-
display: flex;
|
|
407
|
-
align-items: center;
|
|
408
|
-
gap: var(--ui-space-2);
|
|
409
|
-
box-sizing: border-box;
|
|
406
|
+
display: flex !important;
|
|
407
|
+
align-items: center !important;
|
|
408
|
+
gap: var(--ui-space-2) !important;
|
|
409
|
+
box-sizing: border-box !important;
|
|
410
410
|
width: 100%;
|
|
411
411
|
padding: var(
|
|
412
412
|
--ui-menu-item-padding-block,
|
|
@@ -415,7 +415,7 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
415
415
|
var(
|
|
416
416
|
--ui-menu-item-padding-inline,
|
|
417
417
|
var(--_ui-default-menu-item-padding-inline, var(--ui-space-3))
|
|
418
|
-
);
|
|
418
|
+
) !important;
|
|
419
419
|
text-align: left;
|
|
420
420
|
border-radius: var(
|
|
421
421
|
--ui-menu-item-radius,
|
|
@@ -435,16 +435,16 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
435
435
|
color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
436
436
|
}
|
|
437
437
|
:global(.icon:where([data-hn-ui-menu-item])) {
|
|
438
|
-
display: var(--_ui-default-menu-icon-display, none);
|
|
439
|
-
align-items: center;
|
|
440
|
-
justify-content: center;
|
|
438
|
+
display: var(--_ui-default-menu-icon-display, none) !important;
|
|
439
|
+
align-items: center !important;
|
|
440
|
+
justify-content: center !important;
|
|
441
441
|
flex: none;
|
|
442
442
|
inline-size: var(--ui-icon-size-sm);
|
|
443
443
|
block-size: var(--ui-icon-size-sm);
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
:global(.icon:not(:empty):where([data-hn-ui-menu-item])) {
|
|
447
|
-
display: inline-flex;
|
|
447
|
+
display: inline-flex !important;
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
:global(.icon :where(:not([data-hn-ui-menu-item])):is(svg)) {
|
|
@@ -457,19 +457,19 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
:global(.label:where([data-hn-ui-menu-item])) {
|
|
460
|
-
display: flex;
|
|
461
|
-
align-items: center;
|
|
462
|
-
gap: var(--ui-space-2);
|
|
460
|
+
display: flex !important;
|
|
461
|
+
align-items: center !important;
|
|
462
|
+
gap: var(--ui-space-2) !important;
|
|
463
463
|
flex: 1;
|
|
464
464
|
min-inline-size: 0;
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
:global(.indicator:where([data-hn-ui-menu-item])) {
|
|
468
|
-
display: inline-flex;
|
|
469
|
-
align-items: center;
|
|
470
|
-
justify-content: center;
|
|
468
|
+
display: inline-flex !important;
|
|
469
|
+
align-items: center !important;
|
|
470
|
+
justify-content: center !important;
|
|
471
471
|
flex: none;
|
|
472
|
-
box-sizing: border-box;
|
|
472
|
+
box-sizing: border-box !important;
|
|
473
473
|
inline-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
474
474
|
block-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
475
475
|
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
@@ -479,7 +479,7 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
:global(:scope[data-ui-menu-item-state~="type=action"] .indicator:where([data-hn-ui-menu-item])) {
|
|
482
|
-
display: none;
|
|
482
|
+
display: none !important;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
:global(:scope[data-ui-menu-item-state~="type=checkbox"][aria-checked="true"]
|
|
@@ -493,14 +493,14 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
:global(.shortcut:where([data-hn-ui-menu-item])) {
|
|
496
|
-
margin-inline-start: auto;
|
|
496
|
+
margin-inline-start: auto !important;
|
|
497
497
|
color: var(--ui-text-secondary);
|
|
498
498
|
font-size: var(--ui-font-size-sm);
|
|
499
499
|
font-weight: var(--ui-font-normal);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
:global(.shortcut:empty:where([data-hn-ui-menu-item])) {
|
|
503
|
-
display: none;
|
|
503
|
+
display: none !important;
|
|
504
504
|
}
|
|
505
505
|
:global(.shortcut :where(:not([data-hn-ui-menu-item])):is(kbd)) {
|
|
506
506
|
font: inherit;
|
|
@@ -547,7 +547,7 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
:global(:scope[hidden]:where([data-hn-ui-menu-item])) {
|
|
550
|
-
display: none;
|
|
550
|
+
display: none !important;
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
</style>
|
package/vue/UiMeter.vue
CHANGED
|
@@ -920,7 +920,7 @@ const hostState = computed(() =>
|
|
|
920
920
|
:global(:scope) {
|
|
921
921
|
--_meter-fill: var(--ui-text-muted);
|
|
922
922
|
|
|
923
|
-
display: inline-block;
|
|
923
|
+
display: inline-block !important;
|
|
924
924
|
flex: none;
|
|
925
925
|
vertical-align: middle;
|
|
926
926
|
inline-size: var(--ui-meter-inline-size, 8rem);
|
|
@@ -940,7 +940,7 @@ const hostState = computed(() =>
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
:global(.fill) {
|
|
943
|
-
display: block;
|
|
943
|
+
display: block !important;
|
|
944
944
|
block-size: 100%;
|
|
945
945
|
background-color: var(--_meter-fill);
|
|
946
946
|
background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
|
|
@@ -1026,10 +1026,10 @@ const hostState = computed(() =>
|
|
|
1026
1026
|
--_meter-gap: var(--ui-space-0-5);
|
|
1027
1027
|
}
|
|
1028
1028
|
:global(:scope[data-ui-meter-state~="variant=distribution"]) {
|
|
1029
|
-
display: flex;
|
|
1029
|
+
display: flex !important;
|
|
1030
1030
|
inline-size: 100%;
|
|
1031
1031
|
block-size: var(--ui-space-4);
|
|
1032
|
-
gap: var(--ui-space-0-5);
|
|
1032
|
+
gap: var(--ui-space-0-5) !important;
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
1035
|
:global(:scope[data-ui-meter-state~="variant=distribution"][size="sm"]) {
|
|
@@ -1071,7 +1071,7 @@ const hostState = computed(() =>
|
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
1073
|
:global(:scope[hidden]) {
|
|
1074
|
-
display: none;
|
|
1074
|
+
display: none !important;
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
1077
|
</style>
|
package/vue/UiNavItem.vue
CHANGED
|
@@ -373,16 +373,16 @@ const hostState = computed(() =>
|
|
|
373
373
|
--_indicator-width: var(--ui-nav-item-indicator-width, var(--ui-accent-line-width));
|
|
374
374
|
--_indicator-color: var(--ui-nav-item-indicator-color, var(--ui-accent));
|
|
375
375
|
position: relative;
|
|
376
|
-
box-sizing: border-box;
|
|
377
|
-
display: flex;
|
|
378
|
-
align-items: center;
|
|
379
|
-
gap: var(--ui-nav-gap);
|
|
376
|
+
box-sizing: border-box !important;
|
|
377
|
+
display: flex !important;
|
|
378
|
+
align-items: center !important;
|
|
379
|
+
gap: var(--ui-nav-gap) !important;
|
|
380
380
|
inline-size: var(--ui-nav-item-inline-size, 100%);
|
|
381
381
|
min-inline-size: 0;
|
|
382
382
|
min-block-size: var(--ui-nav-min-block-size);
|
|
383
|
-
margin: 0;
|
|
384
|
-
padding-block: var(--ui-nav-padding-block);
|
|
385
|
-
padding-inline: var(--ui-nav-padding-inline);
|
|
383
|
+
margin: 0 !important;
|
|
384
|
+
padding-block: var(--ui-nav-padding-block) !important;
|
|
385
|
+
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
386
386
|
border: 0;
|
|
387
387
|
border-radius: var(--ui-selection-radius);
|
|
388
388
|
background: transparent;
|
|
@@ -426,13 +426,13 @@ const hostState = computed(() =>
|
|
|
426
426
|
position: absolute;
|
|
427
427
|
inset-block: 0;
|
|
428
428
|
inset-inline-start: 0;
|
|
429
|
-
display: none;
|
|
429
|
+
display: none !important;
|
|
430
430
|
border-inline-start: var(--_indicator-width) solid var(--_indicator-color);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
:global(:scope[data-ui-nav-item-state~="variant=line"][aria-current]
|
|
434
434
|
.indicator:where([data-hn-ui-nav-item])) {
|
|
435
|
-
display: block;
|
|
435
|
+
display: block !important;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
@media (forced-colors: active) {
|
|
@@ -448,25 +448,25 @@ const hostState = computed(() =>
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
:global(.leading:where([data-hn-ui-nav-item])), :global(.trailing:where([data-hn-ui-nav-item])) {
|
|
451
|
-
display: inline-flex;
|
|
451
|
+
display: inline-flex !important;
|
|
452
452
|
flex: none;
|
|
453
|
-
align-items: center;
|
|
454
|
-
justify-content: center;
|
|
453
|
+
align-items: center !important;
|
|
454
|
+
justify-content: center !important;
|
|
455
455
|
inline-size: var(--ui-nav-icon-size);
|
|
456
456
|
color: inherit;
|
|
457
457
|
font-size: var(--ui-nav-icon-size);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
:global(.content:where([data-hn-ui-nav-item])) {
|
|
461
|
-
display: flex;
|
|
461
|
+
display: flex !important;
|
|
462
462
|
flex: 1;
|
|
463
|
-
flex-direction: column;
|
|
464
|
-
gap: var(--ui-space-0-5, 2px);
|
|
463
|
+
flex-direction: column !important;
|
|
464
|
+
gap: var(--ui-space-0-5, 2px) !important;
|
|
465
465
|
min-inline-size: 0;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
:global(.label:where([data-hn-ui-nav-item])), :global(.description:where([data-hn-ui-nav-item])) {
|
|
469
|
-
display: block;
|
|
469
|
+
display: block !important;
|
|
470
470
|
min-inline-size: 0;
|
|
471
471
|
overflow: hidden;
|
|
472
472
|
text-overflow: ellipsis;
|
|
@@ -487,8 +487,8 @@ const hostState = computed(() =>
|
|
|
487
487
|
|
|
488
488
|
:global(:scope[data-ui-nav-item-state~="density=compact"]:where([data-hn-ui-nav-item])) {
|
|
489
489
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
490
|
-
padding-block: var(--ui-nav-compact-padding-block);
|
|
491
|
-
padding-inline: var(--ui-nav-compact-padding-inline);
|
|
490
|
+
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
491
|
+
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
492
492
|
}
|
|
493
493
|
:global(:scope[data-ui-nav-item-state~="density=compact"] .label:where([data-hn-ui-nav-item])) {
|
|
494
494
|
font-size: var(--ui-font-size-sm);
|
|
@@ -502,10 +502,10 @@ const hostState = computed(() =>
|
|
|
502
502
|
:global(.leading:empty:where([data-hn-ui-nav-item])),
|
|
503
503
|
:global(.trailing:empty:where([data-hn-ui-nav-item])),
|
|
504
504
|
:global(.description:empty:where([data-hn-ui-nav-item])) {
|
|
505
|
-
display: none;
|
|
505
|
+
display: none !important;
|
|
506
506
|
}
|
|
507
507
|
:global(:scope[hidden]:where([data-hn-ui-nav-item])) {
|
|
508
|
-
display: none;
|
|
508
|
+
display: none !important;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
</style>
|
package/vue/UiPageHeader.vue
CHANGED
|
@@ -113,16 +113,16 @@ const hostState = computed(() =>
|
|
|
113
113
|
|
|
114
114
|
@scope (.ui-page-header) to ([data-hn]) {
|
|
115
115
|
:global(:scope:where([data-hn-ui-page-header])) {
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-wrap: wrap;
|
|
116
|
+
display: flex !important;
|
|
117
|
+
flex-wrap: wrap !important;
|
|
118
118
|
inline-size: 100%;
|
|
119
|
-
align-items: center;
|
|
120
|
-
gap: var(--ui-space-3) var(--ui-space-4);
|
|
119
|
+
align-items: center !important;
|
|
120
|
+
gap: var(--ui-space-3) var(--ui-space-4) !important;
|
|
121
121
|
min-inline-size: 0;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
:global(.leading:where([data-hn-ui-page-header])) {
|
|
125
|
-
display: inline-flex;
|
|
125
|
+
display: inline-flex !important;
|
|
126
126
|
flex: none;
|
|
127
127
|
align-self: center;
|
|
128
128
|
color: var(--ui-text-muted);
|
|
@@ -130,10 +130,10 @@ const hostState = computed(() =>
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
:global(.copy:where([data-hn-ui-page-header])) {
|
|
133
|
-
display: flex;
|
|
133
|
+
display: flex !important;
|
|
134
134
|
flex: 1 1 16rem;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
gap: var(--ui-space-1);
|
|
135
|
+
flex-direction: column !important;
|
|
136
|
+
gap: var(--ui-space-1) !important;
|
|
137
137
|
min-inline-size: 0;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -146,7 +146,8 @@ const hostState = computed(() =>
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
:global(.title:where([data-hn-ui-page-header])) {
|
|
149
|
-
|
|
149
|
+
font-family: var(--ui-font-display, inherit);
|
|
150
|
+
margin: 0 !important;
|
|
150
151
|
color: var(--ui-text-primary);
|
|
151
152
|
font-size: var(--ui-font-size-2xl);
|
|
152
153
|
font-weight: var(--ui-font-bold, 700);
|
|
@@ -161,20 +162,20 @@ const hostState = computed(() =>
|
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
:global(.actions:where([data-hn-ui-page-header])) {
|
|
164
|
-
display: inline-flex;
|
|
165
|
+
display: inline-flex !important;
|
|
165
166
|
flex: none;
|
|
166
|
-
flex-wrap: wrap;
|
|
167
|
-
align-items: center;
|
|
168
|
-
gap: var(--ui-space-2);
|
|
167
|
+
flex-wrap: wrap !important;
|
|
168
|
+
align-items: center !important;
|
|
169
|
+
gap: var(--ui-space-2) !important;
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
:global(:scope[data-ui-page-header-state~="align=center"]:where([data-hn-ui-page-header])) {
|
|
172
|
-
flex-direction: column;
|
|
173
|
+
flex-direction: column !important;
|
|
173
174
|
text-align: center;
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
:global(:scope[data-ui-page-header-state~="align=center"] .copy:where([data-hn-ui-page-header])) {
|
|
177
|
-
align-items: center;
|
|
178
|
+
align-items: center !important;
|
|
178
179
|
flex-basis: auto;
|
|
179
180
|
}
|
|
180
181
|
|
|
@@ -182,10 +183,10 @@ const hostState = computed(() =>
|
|
|
182
183
|
:global(.eyebrow:empty:where([data-hn-ui-page-header])),
|
|
183
184
|
:global(.description:empty:where([data-hn-ui-page-header])),
|
|
184
185
|
:global(.actions:empty:where([data-hn-ui-page-header])) {
|
|
185
|
-
display: none;
|
|
186
|
+
display: none !important;
|
|
186
187
|
}
|
|
187
188
|
:global(:scope[hidden]:where([data-hn-ui-page-header])) {
|
|
188
|
-
display: none;
|
|
189
|
+
display: none !important;
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
192
|
</style>
|
package/vue/UiPopover.vue
CHANGED
|
@@ -343,14 +343,14 @@ useComponentHost(() => import('../components/ui-popover/ui-popover.js'), {
|
|
|
343
343
|
--_ui-popover-radius: var(--ui-popover-radius);
|
|
344
344
|
--_ui-popover-shadow: var(--ui-popover-shadow);
|
|
345
345
|
--_ui-popover-padding: var(--ui-popover-padding);
|
|
346
|
-
box-sizing: border-box;
|
|
346
|
+
box-sizing: border-box !important;
|
|
347
347
|
max-inline-size: min(
|
|
348
348
|
20rem,
|
|
349
349
|
calc(100vw - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2)
|
|
350
350
|
);
|
|
351
351
|
max-block-size: calc(100dvh - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2);
|
|
352
352
|
overflow: visible;
|
|
353
|
-
padding: 0;
|
|
353
|
+
padding: 0 !important;
|
|
354
354
|
border: 0;
|
|
355
355
|
outline: 0;
|
|
356
356
|
border-radius: 0;
|
|
@@ -359,11 +359,11 @@ useComponentHost(() => import('../components/ui-popover/ui-popover.js'), {
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
:global(.surface:where([data-hn-ui-popover])) {
|
|
362
|
-
box-sizing: border-box;
|
|
362
|
+
box-sizing: border-box !important;
|
|
363
363
|
max-inline-size: inherit;
|
|
364
364
|
max-block-size: inherit;
|
|
365
365
|
overflow: auto;
|
|
366
|
-
padding: var(--_ui-popover-padding, var(--ui-space-3));
|
|
366
|
+
padding: var(--_ui-popover-padding, var(--ui-space-3)) !important;
|
|
367
367
|
background: var(--_ui-popover-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
368
368
|
border: var(--ui-border-width) solid
|
|
369
369
|
var(--_ui-popover-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
@@ -375,20 +375,20 @@ useComponentHost(() => import('../components/ui-popover/ui-popover.js'), {
|
|
|
375
375
|
}
|
|
376
376
|
:global(:scope[data-ui-popover-state~="bare"] .surface:where([data-hn-ui-popover])) {
|
|
377
377
|
overflow: visible;
|
|
378
|
-
padding: 0;
|
|
378
|
+
padding: 0 !important;
|
|
379
379
|
border: 0;
|
|
380
380
|
background: transparent;
|
|
381
381
|
box-shadow: none;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
:global(:scope:not([data-ui-popover-state~="internalOpen"]):where([data-hn-ui-popover])) {
|
|
385
|
-
display: none;
|
|
385
|
+
display: none !important;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
:global(:scope[popover]:where([data-hn-ui-popover])) {
|
|
389
389
|
position: fixed;
|
|
390
390
|
inset: auto;
|
|
391
|
-
margin: 0;
|
|
391
|
+
margin: 0 !important;
|
|
392
392
|
opacity: 0;
|
|
393
393
|
transform: translateY(-4px) scale(0.99);
|
|
394
394
|
transition:
|
|
@@ -424,7 +424,7 @@ useComponentHost(() => import('../components/ui-popover/ui-popover.js'), {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
:global(:scope[hidden]:where([data-hn-ui-popover])) {
|
|
427
|
-
display: none;
|
|
427
|
+
display: none !important;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
@media (prefers-reduced-motion: reduce) {
|