@threadlabs/looma 0.31.2 → 0.31.4
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/overlay.js +1 -1
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +1 -0
- package/components/ui-popover/ui-popover.html +11 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +393 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +232 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +2 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +97 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +12 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +199 -1
- package/styles/ui-toast.css +77 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +559 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +1 -1
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +1 -1
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +1 -1
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +1 -1
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +1 -1
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +2 -1
- package/vanilla/UiPopover.js +6 -6
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.vue +1 -1
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +1 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +362 -4
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +200 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +1 -1
- package/vue/UiEditorBlockActions.vue +1 -1
- package/vue/UiEditorChipEditor.vue +1 -1
- package/vue/UiEditorCodeLanguage.vue +1 -1
- package/vue/UiEditorFootnoteEditor.vue +1 -1
- package/vue/UiEditorImageToolbar.vue +1 -1
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorLinkCard.vue +1 -1
- package/vue/UiEditorLinkForm.vue +1 -1
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +1 -1
- package/vue/UiEditorTableToolbar.vue +1 -1
- package/vue/UiEditorToolbar.vue +2 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +79 -1
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +1 -1
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.d.ts +6 -0
- package/vue/UiPopover.vue +32 -2
- package/vue/UiRadio.vue +1 -1
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwatch.vue +1 -1
- package/vue/UiSwitch.vue +1 -1
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +62 -1
- package/vue/UiToastRegion.vue +142 -1
- package/vue/UiTooltip.vue +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +635 -1
- 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 +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- 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/UiCombobox.js +2 -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/UiEditorInsertTableGrid.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 +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- 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 +2 -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 +23 -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 +1 -1
- 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 +1742 -395
- package/vue/editor/index.js +26 -4
- package/vue/host.ts +1 -1
package/vue/UiTreeItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.69 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -1333,4 +1333,638 @@ useComponentHost(() => import('../components/ui-tree-item/ui-tree-item.js'), {
|
|
|
1333
1333
|
display: none;
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
|
+
|
|
1337
|
+
@scope ([data-slotted~="ui-tree-item"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
1338
|
+
:global(:where(.ui-tree-item):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1339
|
+
/* Hooks do not inherit, so the parts below read them from the root. The tree's density
|
|
1340
|
+
sets the defaults, in --_ui-default-*. */
|
|
1341
|
+
--_ui-tree-item-min-block-size: var(
|
|
1342
|
+
--ui-tree-item-min-block-size,
|
|
1343
|
+
var(--_ui-default-tree-item-min-block-size)
|
|
1344
|
+
);
|
|
1345
|
+
--_ui-tree-item-font-size: var(
|
|
1346
|
+
--ui-tree-item-font-size,
|
|
1347
|
+
var(--_ui-default-tree-item-font-size)
|
|
1348
|
+
);
|
|
1349
|
+
--_ui-tree-item-label-padding-block: var(
|
|
1350
|
+
--ui-tree-item-label-padding-block,
|
|
1351
|
+
var(--_ui-default-tree-item-label-padding-block)
|
|
1352
|
+
);
|
|
1353
|
+
--_ui-tree-item-label-padding-inline: var(--ui-tree-item-label-padding-inline);
|
|
1354
|
+
|
|
1355
|
+
--_tree-row-min-height: 32px;
|
|
1356
|
+
--_tree-disclosure-size: 16px;
|
|
1357
|
+
|
|
1358
|
+
position: relative;
|
|
1359
|
+
display: block;
|
|
1360
|
+
min-inline-size: 0;
|
|
1361
|
+
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px));
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
:global(.row:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1365
|
+
position: relative;
|
|
1366
|
+
display: grid;
|
|
1367
|
+
grid-template-columns: var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
1368
|
+
align-items: center;
|
|
1369
|
+
min-block-size: var(--_ui-tree-item-min-block-size, var(--_tree-row-min-height));
|
|
1370
|
+
min-inline-size: 0;
|
|
1371
|
+
font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
|
|
1372
|
+
border-radius: var(--ui-selection-radius);
|
|
1373
|
+
color: var(--ui-text-secondary);
|
|
1374
|
+
transition:
|
|
1375
|
+
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1376
|
+
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1377
|
+
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1378
|
+
box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1379
|
+
min-block-size var(--ui-motion-base) var(--ui-motion-ease);
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
:global(.row:hover:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1383
|
+
:global(.row:focus-within:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1384
|
+
color: var(--ui-text-primary);
|
|
1385
|
+
background: var(--_ui-selection-context-surface, var(--ui-surface-muted));
|
|
1386
|
+
box-shadow: inset 0 0 0 var(--ui-border-width)
|
|
1387
|
+
var(--_ui-selection-context-border, var(--ui-selection-border));
|
|
1388
|
+
}
|
|
1389
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="selected"]
|
|
1390
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1391
|
+
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
1392
|
+
background: var(--_ui-selection-context-surface, var(--ui-selection-surface));
|
|
1393
|
+
box-shadow: inset 0 0 0 var(--ui-border-width)
|
|
1394
|
+
var(--_ui-selection-context-border, var(--ui-selection-border));
|
|
1395
|
+
}
|
|
1396
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="selected"]:not([aria-disabled="true"])
|
|
1397
|
+
> .row
|
|
1398
|
+
> .leading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1399
|
+
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="disabled"]
|
|
1403
|
+
.row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1404
|
+
color: var(--ui-disabled-text);
|
|
1405
|
+
background: var(--ui-disabled-surface);
|
|
1406
|
+
box-shadow: none;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
:global(:where(.ui-tree-item)[data-dragging]:not([data-move-source])
|
|
1410
|
+
.row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1411
|
+
opacity: 0.42;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1415
|
+
> .row
|
|
1416
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1417
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1418
|
+
> .row
|
|
1419
|
+
> .leading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1420
|
+
opacity: 0.42;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
:global(:where(.ui-tree-item):focus:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1424
|
+
outline: none;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
:global(:where(.ui-tree-item):focus-visible
|
|
1428
|
+
.row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1429
|
+
box-shadow: 0 0 0 var(--ui-focus-width) var(--ui-focus-ring);
|
|
1430
|
+
}
|
|
1431
|
+
:global(:where(.ui-tree-item)[data-drop-position="inside"]
|
|
1432
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1433
|
+
background: var(--ui-accent-subtle);
|
|
1434
|
+
box-shadow: inset 0 0 0 var(--ui-accent-line-width)
|
|
1435
|
+
var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
:global(.disclosure:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1439
|
+
:global(.disclosure-spacer:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1440
|
+
grid-column: 1;
|
|
1441
|
+
grid-row: 1;
|
|
1442
|
+
inline-size: var(--_tree-disclosure-size);
|
|
1443
|
+
block-size: 28px;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
:global(.disclosure:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1447
|
+
display: grid;
|
|
1448
|
+
/* Start-aligned: the chevron's ink, not its hit area, aligns with the content above it. */
|
|
1449
|
+
place-items: center start;
|
|
1450
|
+
padding: 0;
|
|
1451
|
+
color: var(--ui-text-muted);
|
|
1452
|
+
background: transparent;
|
|
1453
|
+
border: 0;
|
|
1454
|
+
border-radius: var(--ui-radius-sm);
|
|
1455
|
+
cursor: pointer;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
:global(.disclosure[hidden]:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1459
|
+
display: none;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
:global(.selection-hit:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1463
|
+
display: none;
|
|
1464
|
+
grid-column: 2;
|
|
1465
|
+
grid-row: 1;
|
|
1466
|
+
place-items: center;
|
|
1467
|
+
inline-size: 1.25rem;
|
|
1468
|
+
block-size: var(--_ui-tree-item-min-block-size, var(--_tree-row-min-height));
|
|
1469
|
+
cursor: pointer;
|
|
1470
|
+
}
|
|
1471
|
+
:global(.selection-checkbox:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1472
|
+
inline-size: 1rem;
|
|
1473
|
+
block-size: 1rem;
|
|
1474
|
+
margin: 0;
|
|
1475
|
+
accent-color: var(--ui-accent-solid);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1479
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1480
|
+
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
1481
|
+
}
|
|
1482
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1483
|
+
> .row
|
|
1484
|
+
> .selection-hit:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1485
|
+
display: grid;
|
|
1486
|
+
}
|
|
1487
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1488
|
+
> .row
|
|
1489
|
+
> .leading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1490
|
+
grid-column: 3;
|
|
1491
|
+
}
|
|
1492
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1493
|
+
> .row
|
|
1494
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1495
|
+
grid-column: 4;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
:global(.disclosure:hover:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1499
|
+
color: var(--ui-text-primary);
|
|
1500
|
+
background: var(--ui-surface-elevated);
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
:global(.disclosure-icon:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1504
|
+
display: grid;
|
|
1505
|
+
place-items: center;
|
|
1506
|
+
inline-size: 12px;
|
|
1507
|
+
block-size: 12px;
|
|
1508
|
+
transform: rotate(-90deg);
|
|
1509
|
+
transition: transform var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
:global(.disclosure-icon:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope
|
|
1513
|
+
*):where([data-hn-ui-tree-item])::before) {
|
|
1514
|
+
display: block;
|
|
1515
|
+
inline-size: 0.375rem;
|
|
1516
|
+
block-size: 0.375rem;
|
|
1517
|
+
border-inline-end: 1.5px solid currentColor;
|
|
1518
|
+
border-block-end: 1.5px solid currentColor;
|
|
1519
|
+
content: "";
|
|
1520
|
+
/* A chevron's ink sits below its box centre; lift it so it centres optically (in either rotation). */
|
|
1521
|
+
transform: translateY(-20%) rotate(45deg);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
:global(:where(.ui-tree-item)[aria-expanded="true"]
|
|
1525
|
+
> .row
|
|
1526
|
+
> .disclosure
|
|
1527
|
+
> .disclosure-icon:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1528
|
+
transform: rotate(0deg);
|
|
1529
|
+
}
|
|
1530
|
+
:global(.drag-handle:where(:scope, :scope *) svg:where([data-hn-ui-tree-item])) {
|
|
1531
|
+
display: block;
|
|
1532
|
+
inline-size: 100%;
|
|
1533
|
+
block-size: 100%;
|
|
1534
|
+
}
|
|
1535
|
+
:global(.leading:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1536
|
+
display: inline-grid;
|
|
1537
|
+
place-items: center;
|
|
1538
|
+
grid-column: 2;
|
|
1539
|
+
grid-row: 1;
|
|
1540
|
+
inline-size: 1em;
|
|
1541
|
+
block-size: 1em;
|
|
1542
|
+
margin-inline-start: var(--ui-space-1);
|
|
1543
|
+
color: var(--ui-text-muted);
|
|
1544
|
+
/* Above the label, so a sliding name passes under the icon. */
|
|
1545
|
+
position: relative;
|
|
1546
|
+
z-index: 1;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
:global(.leading:empty:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1550
|
+
display: none;
|
|
1551
|
+
}
|
|
1552
|
+
:global(.label:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1553
|
+
grid-column: 3;
|
|
1554
|
+
grid-row: 1;
|
|
1555
|
+
align-self: stretch;
|
|
1556
|
+
display: flex;
|
|
1557
|
+
align-items: center;
|
|
1558
|
+
min-inline-size: 0;
|
|
1559
|
+
/* The cell clips: a name longer than the row slides inside it rather than over its icons. */
|
|
1560
|
+
overflow: hidden;
|
|
1561
|
+
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1))
|
|
1562
|
+
var(--_ui-tree-item-label-padding-inline, var(--ui-space-2));
|
|
1563
|
+
/* The length of the fade before the controls. The label's one flex child lays out no gap; this
|
|
1564
|
+
is where the controller reads the length in pixels to stop a sliding name before the fade. */
|
|
1565
|
+
column-gap: var(--ui-space-1);
|
|
1566
|
+
}
|
|
1567
|
+
:global(.label-text:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1568
|
+
display: flex;
|
|
1569
|
+
align-items: center;
|
|
1570
|
+
/* Stretches, so slotted content can still be the row's full-height hit area. */
|
|
1571
|
+
align-self: stretch;
|
|
1572
|
+
block-size: 100%;
|
|
1573
|
+
min-inline-size: 0;
|
|
1574
|
+
inline-size: 100%;
|
|
1575
|
+
white-space: nowrap;
|
|
1576
|
+
}
|
|
1577
|
+
:global(.row:hover:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item])),
|
|
1578
|
+
:global(.row:focus-within:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item])),
|
|
1579
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="actionsVisible"]
|
|
1580
|
+
> .row
|
|
1581
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1582
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1583
|
+
> .row
|
|
1584
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1585
|
+
text-overflow: clip;
|
|
1586
|
+
mask-image: linear-gradient(
|
|
1587
|
+
to right,
|
|
1588
|
+
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
1589
|
+
transparent calc(100% - var(--_tree-actions-width, 1.75rem))
|
|
1590
|
+
);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
:global(.row:hover:where(:scope, :scope *) > .label:dir(rtl):where([data-hn-ui-tree-item])),
|
|
1594
|
+
:global(.row:focus-within:where(:scope, :scope *)
|
|
1595
|
+
> .label:dir(rtl):where([data-hn-ui-tree-item])),
|
|
1596
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="actionsVisible"]
|
|
1597
|
+
> .row
|
|
1598
|
+
> .label:dir(rtl):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1599
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1600
|
+
> .row
|
|
1601
|
+
> .label:dir(rtl):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1602
|
+
mask-image: linear-gradient(
|
|
1603
|
+
to left,
|
|
1604
|
+
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
1605
|
+
transparent calc(100% - var(--_tree-actions-width, 1.75rem))
|
|
1606
|
+
);
|
|
1607
|
+
}
|
|
1608
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *)
|
|
1609
|
+
> .label
|
|
1610
|
+
> .label-text:where([data-hn-ui-tree-item])) {
|
|
1611
|
+
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
1612
|
+
long enough to read rather than sliding back and forth. */
|
|
1613
|
+
animation: ui-tree-item-marquee var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
1614
|
+
will-change: transform;
|
|
1615
|
+
}
|
|
1616
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item])) {
|
|
1617
|
+
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px));
|
|
1618
|
+
padding-inline-start: calc(
|
|
1619
|
+
var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))
|
|
1620
|
+
);
|
|
1621
|
+
mask-image: linear-gradient(
|
|
1622
|
+
to right,
|
|
1623
|
+
transparent var(--_marquee-icon-width, 0px),
|
|
1624
|
+
#000 calc(
|
|
1625
|
+
var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))
|
|
1626
|
+
),
|
|
1627
|
+
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
1628
|
+
transparent calc(100% - var(--_tree-actions-width, 1.75rem))
|
|
1629
|
+
);
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *)
|
|
1633
|
+
> .label:dir(rtl):where([data-hn-ui-tree-item])) {
|
|
1634
|
+
mask-image: linear-gradient(
|
|
1635
|
+
to left,
|
|
1636
|
+
transparent var(--_marquee-icon-width, 0px),
|
|
1637
|
+
#000 calc(
|
|
1638
|
+
var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))
|
|
1639
|
+
),
|
|
1640
|
+
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
1641
|
+
transparent calc(100% - var(--_tree-actions-width, 1.75rem))
|
|
1642
|
+
);
|
|
1643
|
+
}
|
|
1644
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1645
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *)
|
|
1646
|
+
> .label
|
|
1647
|
+
> .label-text:where([data-hn-ui-tree-item])) {
|
|
1648
|
+
animation: none;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
:global(.actions:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1653
|
+
position: absolute;
|
|
1654
|
+
z-index: 1;
|
|
1655
|
+
inset-block: 0;
|
|
1656
|
+
inset-inline-end: 0;
|
|
1657
|
+
display: inline-flex;
|
|
1658
|
+
align-items: center;
|
|
1659
|
+
min-inline-size: 0;
|
|
1660
|
+
opacity: 0;
|
|
1661
|
+
pointer-events: none;
|
|
1662
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
:global(.row:hover:where(:scope, :scope *) > .actions:where([data-hn-ui-tree-item])),
|
|
1666
|
+
:global(.row:focus-within:where(:scope, :scope *) > .actions:where([data-hn-ui-tree-item])),
|
|
1667
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="actionsVisible"]
|
|
1668
|
+
> .row
|
|
1669
|
+
> .actions:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1670
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1671
|
+
> .row
|
|
1672
|
+
> .actions:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1673
|
+
opacity: 1;
|
|
1674
|
+
pointer-events: auto;
|
|
1675
|
+
}
|
|
1676
|
+
@media (hover: none), (pointer: coarse) {
|
|
1677
|
+
:global(.row:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1678
|
+
grid-template-columns: var(--_tree-disclosure-size) auto minmax(0, 1fr) auto;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
:global(.actions:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1682
|
+
position: static;
|
|
1683
|
+
grid-column: 4;
|
|
1684
|
+
grid-row: 1;
|
|
1685
|
+
padding-inline-start: 0;
|
|
1686
|
+
background: none;
|
|
1687
|
+
opacity: 1;
|
|
1688
|
+
pointer-events: auto;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
:global(.row:is(:hover, :focus-within):where(:scope, :scope *)
|
|
1692
|
+
> .label:where([data-hn-ui-tree-item])),
|
|
1693
|
+
:global(.row:is(:hover, :focus-within):where(:scope, :scope *)
|
|
1694
|
+
> .label:dir(rtl):where([data-hn-ui-tree-item])),
|
|
1695
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1696
|
+
> .row
|
|
1697
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1698
|
+
:global(:where(.ui-tree-item)[data-move-source]
|
|
1699
|
+
> .row
|
|
1700
|
+
> .label:dir(rtl):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1701
|
+
mask-image: none;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item])) {
|
|
1705
|
+
mask-image: linear-gradient(
|
|
1706
|
+
to right,
|
|
1707
|
+
transparent var(--_marquee-icon-width, 0px),
|
|
1708
|
+
#000 calc(
|
|
1709
|
+
var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))
|
|
1710
|
+
)
|
|
1711
|
+
);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
/* Persistent content has its own column on touch. Fade only the label's end. */
|
|
1715
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="actionsVisible"]
|
|
1716
|
+
> .row
|
|
1717
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1718
|
+
mask-image: linear-gradient(to right, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
1719
|
+
}
|
|
1720
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="actionsVisible"]
|
|
1721
|
+
> .row
|
|
1722
|
+
> .label:dir(rtl):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1723
|
+
mask-image: linear-gradient(to left, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
:global(.row[data-ui-marquee]:where(:scope, :scope *)
|
|
1727
|
+
> .label:dir(rtl):where([data-hn-ui-tree-item])) {
|
|
1728
|
+
mask-image: linear-gradient(
|
|
1729
|
+
to left,
|
|
1730
|
+
transparent var(--_marquee-icon-width, 0px),
|
|
1731
|
+
#000 calc(
|
|
1732
|
+
var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))
|
|
1733
|
+
)
|
|
1734
|
+
);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1738
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1739
|
+
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr) auto;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
:global(:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1743
|
+
> .row
|
|
1744
|
+
> .actions:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1745
|
+
grid-column: 5;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
:global(.drag-handle:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1749
|
+
position: absolute;
|
|
1750
|
+
z-index: 2;
|
|
1751
|
+
inset-block-start: 50%;
|
|
1752
|
+
inset-inline-start: 0;
|
|
1753
|
+
inline-size: var(--_tree-disclosure-size);
|
|
1754
|
+
block-size: 24px;
|
|
1755
|
+
display: grid;
|
|
1756
|
+
place-items: center;
|
|
1757
|
+
padding: 5px 2px;
|
|
1758
|
+
color: var(--ui-text-muted);
|
|
1759
|
+
background: transparent;
|
|
1760
|
+
border: 0;
|
|
1761
|
+
border-radius: var(--ui-radius-sm);
|
|
1762
|
+
cursor: grab;
|
|
1763
|
+
/* Hidden until the row is hovered, but always hittable: the handle sits outside the row, and moving
|
|
1764
|
+
the pointer onto it must not hide it on the way. */
|
|
1765
|
+
opacity: 0;
|
|
1766
|
+
transform: translateY(-50%);
|
|
1767
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
:global(.row:hover:where(:scope, :scope *) .drag-handle:where([data-hn-ui-tree-item])),
|
|
1771
|
+
:global(.drag-handle:hover:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1772
|
+
:global(.drag-handle:focus-visible:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1773
|
+
:global(:where(.ui-tree-item)[data-dragging]
|
|
1774
|
+
> .row
|
|
1775
|
+
> .drag-handle:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1776
|
+
opacity: 1;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="isContainer"]
|
|
1780
|
+
> .row
|
|
1781
|
+
> .drag-handle:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1782
|
+
inset-inline-start: calc(-1 * var(--_tree-disclosure-size) - 2px);
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
:global(.drag-handle:hover:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1786
|
+
:global(.drag-handle:focus-visible:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1787
|
+
color: var(--ui-text-primary);
|
|
1788
|
+
background: var(--ui-surface-hover);
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
:global(.drag-handle:active:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1792
|
+
cursor: grabbing;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
:global(.drop-indicator:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1796
|
+
position: absolute;
|
|
1797
|
+
z-index: 3;
|
|
1798
|
+
inset-inline: 1px;
|
|
1799
|
+
display: none;
|
|
1800
|
+
block-size: var(--ui-accent-line-width);
|
|
1801
|
+
border-radius: var(--ui-radius-round);
|
|
1802
|
+
background: var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
1803
|
+
pointer-events: none;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
:global(.drop-indicator:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope
|
|
1807
|
+
*):where([data-hn-ui-tree-item])::before),
|
|
1808
|
+
:global(.drop-indicator:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope
|
|
1809
|
+
*):where([data-hn-ui-tree-item])::after) {
|
|
1810
|
+
content: "";
|
|
1811
|
+
position: absolute;
|
|
1812
|
+
inset-block-start: 50%;
|
|
1813
|
+
inline-size: 7px;
|
|
1814
|
+
block-size: 7px;
|
|
1815
|
+
border: var(--ui-accent-line-width) solid var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
1816
|
+
border-radius: var(--ui-radius-round);
|
|
1817
|
+
background: var(--ui-surface-elevated);
|
|
1818
|
+
transform: translateY(-50%);
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
:global(.drop-indicator:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope
|
|
1822
|
+
*):where([data-hn-ui-tree-item])::before) {
|
|
1823
|
+
inset-inline-start: -1px;
|
|
1824
|
+
}
|
|
1825
|
+
:global(.drop-indicator:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope
|
|
1826
|
+
*):where([data-hn-ui-tree-item])::after) {
|
|
1827
|
+
inset-inline-end: -1px;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
:global(:where(.ui-tree-item)[data-drop-position="before"]
|
|
1831
|
+
> .row
|
|
1832
|
+
> .row-drop-indicator:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1833
|
+
display: block;
|
|
1834
|
+
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
:global(:where(.ui-tree-item)[data-drop-position="after"]
|
|
1838
|
+
> .subtree-drop-indicator:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1839
|
+
display: block;
|
|
1840
|
+
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
:global(.children[hidden]:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1844
|
+
display: none;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1848
|
+
:where(.ui-tree-item):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1849
|
+
--_tree-row-min-height: 44px;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1853
|
+
:where(.ui-tree-item)
|
|
1854
|
+
.row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1855
|
+
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1859
|
+
:where(.ui-tree-item)
|
|
1860
|
+
.drag-handle:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])),
|
|
1861
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1862
|
+
:where(.ui-tree-item)[data-ui-tree-item-state~="isContainer"]
|
|
1863
|
+
> .row
|
|
1864
|
+
> .drag-handle:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1865
|
+
position: relative;
|
|
1866
|
+
grid-column: 1;
|
|
1867
|
+
grid-row: 1;
|
|
1868
|
+
inset: auto;
|
|
1869
|
+
inline-size: 44px;
|
|
1870
|
+
block-size: 44px;
|
|
1871
|
+
padding: 14px;
|
|
1872
|
+
opacity: 1;
|
|
1873
|
+
transform: none;
|
|
1874
|
+
cursor: pointer;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1878
|
+
:where(.ui-tree-item)
|
|
1879
|
+
.disclosure:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1880
|
+
grid-column: 2;
|
|
1881
|
+
}
|
|
1882
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1883
|
+
:where(.ui-tree-item)
|
|
1884
|
+
.leading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1885
|
+
grid-column: 3;
|
|
1886
|
+
}
|
|
1887
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1888
|
+
:where(.ui-tree-item)
|
|
1889
|
+
.label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1890
|
+
grid-column: 4;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1894
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1895
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1896
|
+
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr);
|
|
1897
|
+
}
|
|
1898
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1899
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1900
|
+
> .row
|
|
1901
|
+
> .selection-hit:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1902
|
+
grid-column: 3;
|
|
1903
|
+
inline-size: 44px;
|
|
1904
|
+
block-size: 44px;
|
|
1905
|
+
}
|
|
1906
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1907
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1908
|
+
> .row
|
|
1909
|
+
> .leading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1910
|
+
grid-column: 4;
|
|
1911
|
+
}
|
|
1912
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1913
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1914
|
+
> .row
|
|
1915
|
+
> .label:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1916
|
+
grid-column: 5;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
@media (hover: none), (pointer: coarse) {
|
|
1920
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1921
|
+
:where(.ui-tree-item)
|
|
1922
|
+
.row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1923
|
+
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr) auto;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1927
|
+
:where(.ui-tree-item)
|
|
1928
|
+
.actions:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1929
|
+
grid-column: 5;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1933
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1934
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1935
|
+
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr) auto;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
:global(html[data-ui-input-modality="touch"]
|
|
1939
|
+
:where(.ui-tree-item)[data-selection-mode="multiple"]
|
|
1940
|
+
> .row
|
|
1941
|
+
> .actions:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1942
|
+
grid-column: 6;
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1947
|
+
:global(.row:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1948
|
+
:global(.disclosure-icon:where(:scope, :scope *):where([data-hn-ui-tree-item])),
|
|
1949
|
+
:global(.drag-handle:where(:scope, :scope *):where([data-hn-ui-tree-item])) {
|
|
1950
|
+
transition: none;
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
@media (forced-colors: active) {
|
|
1955
|
+
:global(:where(.ui-tree-item):focus-visible
|
|
1956
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1957
|
+
outline: var(--ui-focus-width) solid Highlight;
|
|
1958
|
+
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
1959
|
+
}
|
|
1960
|
+
:global(:where(.ui-tree-item)[data-ui-tree-item-state~="selected"]:not(:focus-visible):not([aria-disabled="true"])
|
|
1961
|
+
> .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1962
|
+
outline: var(--ui-border-width) solid Highlight;
|
|
1963
|
+
outline-offset: calc(-1 * var(--ui-border-width));
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
:global(:where(.ui-tree-item)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item])) {
|
|
1967
|
+
display: none;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1336
1970
|
</style>
|
|
@@ -131,6 +131,6 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
131
131
|
}]]);
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
}), [["__scopeId", "data-v-
|
|
134
|
+
}), [["__scopeId", "data-v-70b98180"]]);
|
|
135
135
|
//#endregion
|
|
136
136
|
export { UiAffordanceScope_default as t };
|
package/vue/chunks/UiAvatar.js
CHANGED
package/vue/chunks/UiBadge.js
CHANGED