@threadlabs/looma 0.28.13 → 0.28.14
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/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-avatar/ui-avatar.html +1 -1
- package/components/ui-combobox/ui-combobox.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +4 -4
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +2 -2
- 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 +1 -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 +1 -1
- package/styles/ui-disclosure.css +2 -2
- 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-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 +1 -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 +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -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 +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +3 -3
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +3 -3
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +2 -2
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +2 -2
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +2 -2
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +3 -3
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +4 -4
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +2 -2
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +2 -2
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +3 -3
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +3 -3
- package/vue/UiActionBar.vue +23 -15
- package/vue/UiAffordanceScope.vue +11 -9
- package/vue/UiAvatar.vue +34 -27
- package/vue/UiAvatarGroup.vue +22 -17
- package/vue/UiBadge.vue +78 -69
- package/vue/UiBreadcrumbItem.vue +17 -14
- package/vue/UiBreadcrumbs.vue +9 -7
- package/vue/UiButton.vue +150 -138
- package/vue/UiCallout.vue +68 -43
- package/vue/UiCard.vue +52 -44
- package/vue/UiCheckbox.vue +48 -40
- package/vue/UiCluster.vue +35 -33
- package/vue/UiCombobox.vue +158 -107
- package/vue/UiContainer.vue +16 -14
- package/vue/UiContextMenu.vue +24 -13
- package/vue/UiCover.vue +10 -8
- package/vue/UiDescriptionItem.vue +11 -9
- package/vue/UiDescriptionList.vue +20 -18
- package/vue/UiDialog.vue +41 -37
- package/vue/UiDisclosure.vue +65 -51
- package/vue/UiEditable.vue +34 -33
- package/vue/UiEditorBlockActions.vue +4 -3
- package/vue/UiEditorChipEditor.vue +4 -3
- package/vue/UiEditorCodeLanguage.vue +5 -4
- package/vue/UiEditorImageToolbar.vue +5 -4
- package/vue/UiEditorInsertTableGrid.vue +19 -18
- package/vue/UiEditorLinkCard.vue +7 -6
- package/vue/UiEditorLinkForm.vue +15 -14
- package/vue/UiEditorMentionMenu.vue +52 -37
- package/vue/UiEditorMentionMenuItem.vue +30 -20
- package/vue/UiEditorSlashMenu.vue +49 -36
- package/vue/UiEditorSlashMenuGroup.vue +16 -10
- package/vue/UiEditorSlashMenuItem.vue +36 -26
- package/vue/UiEditorSurface.vue +8 -6
- package/vue/UiEditorTableContextMenu.vue +26 -25
- package/vue/UiEditorTableOverlay.vue +56 -51
- package/vue/UiEditorTableToolbar.vue +37 -36
- package/vue/UiEditorToolbar.vue +24 -20
- package/vue/UiFloatingActionButton.vue +17 -15
- package/vue/UiFormField.vue +27 -22
- package/vue/UiGrid.vue +17 -15
- package/vue/UiIcon.vue +7 -6
- package/vue/UiIconButton.vue +75 -70
- package/vue/UiImage.vue +61 -46
- package/vue/UiInput.vue +28 -28
- package/vue/UiInputGroup.vue +48 -43
- package/vue/UiList.vue +25 -21
- package/vue/UiListItem.vue +54 -44
- package/vue/UiListbox.vue +29 -22
- package/vue/UiMenu.vue +25 -23
- package/vue/UiMenuGroup.vue +11 -7
- package/vue/UiMenuItem.vue +52 -43
- package/vue/UiMeter.vue +42 -41
- package/vue/UiNavItem.vue +60 -47
- package/vue/UiPageHeader.vue +27 -20
- package/vue/UiPopover.vue +21 -19
- package/vue/UiRadio.vue +32 -28
- package/vue/UiRadioGroup.vue +24 -19
- package/vue/UiReel.vue +24 -22
- package/vue/UiScrollArea.vue +30 -24
- package/vue/UiSearchResultRow.vue +41 -26
- package/vue/UiSearchShell.vue +37 -29
- package/vue/UiSection.vue +31 -24
- package/vue/UiSelect.vue +23 -21
- package/vue/UiSeparator.vue +14 -13
- package/vue/UiSidebar.vue +48 -40
- package/vue/UiSpinner.vue +14 -13
- package/vue/UiStack.vue +26 -24
- package/vue/UiStatusMessage.vue +26 -21
- package/vue/UiSwatch.vue +13 -12
- package/vue/UiSwitch.vue +37 -33
- package/vue/UiSwitcher.vue +27 -22
- package/vue/UiTable.vue +23 -19
- package/vue/UiTabs.vue +48 -33
- package/vue/UiText.vue +173 -151
- package/vue/UiTextarea.vue +27 -27
- package/vue/UiToast.vue +17 -15
- package/vue/UiToastRegion.vue +36 -31
- package/vue/UiTooltip.vue +40 -34
- package/vue/UiTopBar.vue +17 -13
- package/vue/UiTree.vue +17 -15
- package/vue/UiTreeItem.vue +202 -133
- package/vue/chunks/UiActionBar.js +21 -6
- package/vue/chunks/UiAffordanceScope.js +8 -6
- package/vue/chunks/UiAvatar.js +30 -20
- package/vue/chunks/UiAvatarGroup.js +16 -13
- package/vue/chunks/UiBadge.js +19 -13
- package/vue/chunks/UiBreadcrumbItem.js +13 -7
- package/vue/chunks/UiBreadcrumbs.js +9 -4
- package/vue/chunks/UiButton.js +158 -124
- package/vue/chunks/UiCallout.js +105 -37
- package/vue/chunks/UiCard.js +50 -42
- package/vue/chunks/UiCheckbox.js +32 -22
- package/vue/chunks/UiCluster.js +18 -16
- package/vue/chunks/UiCombobox.js +130 -73
- package/vue/chunks/UiContainer.js +10 -8
- package/vue/chunks/UiContextMenu.js +7 -4
- package/vue/chunks/UiCover.js +7 -5
- package/vue/chunks/UiDescriptionItem.js +9 -3
- package/vue/chunks/UiDescriptionList.js +10 -8
- package/vue/chunks/UiDialog.js +26 -19
- package/vue/chunks/UiDisclosure.js +43 -25
- package/vue/chunks/UiEditable.js +25 -24
- package/vue/chunks/UiEditorBlockActions.js +4 -3
- package/vue/chunks/UiEditorChipEditor.js +4 -3
- package/vue/chunks/UiEditorCodeLanguage.js +5 -4
- package/vue/chunks/UiEditorImageToolbar.js +7 -6
- package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
- package/vue/chunks/UiEditorLinkCard.js +11 -10
- package/vue/chunks/UiEditorLinkForm.js +26 -25
- package/vue/chunks/UiEditorMentionMenu.js +41 -24
- package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
- package/vue/chunks/UiEditorSlashMenu.js +41 -20
- package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
- package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
- package/vue/chunks/UiEditorSurface.js +6 -4
- package/vue/chunks/UiEditorTableContextMenu.js +14 -13
- package/vue/chunks/UiEditorTableOverlay.js +6 -5
- package/vue/chunks/UiEditorTableToolbar.js +14 -13
- package/vue/chunks/UiEditorToolbar.js +8 -5
- package/vue/chunks/UiFloatingActionButton.js +11 -9
- package/vue/chunks/UiFormField.js +30 -16
- package/vue/chunks/UiGrid.js +10 -8
- package/vue/chunks/UiIcon.js +6 -3
- package/vue/chunks/UiIconButton.js +33 -26
- package/vue/chunks/UiImage.js +31 -22
- package/vue/chunks/UiInput.js +17 -16
- package/vue/chunks/UiInputGroup.js +30 -16
- package/vue/chunks/UiList.js +24 -20
- package/vue/chunks/UiListItem.js +39 -22
- package/vue/chunks/UiListbox.js +35 -25
- package/vue/chunks/UiMenu.js +22 -17
- package/vue/chunks/UiMenuGroup.js +7 -4
- package/vue/chunks/UiMenuItem.js +57 -38
- package/vue/chunks/UiMeter.js +22 -21
- package/vue/chunks/UiNavItem.js +78 -42
- package/vue/chunks/UiPageHeader.js +30 -10
- package/vue/chunks/UiPopover.js +16 -11
- package/vue/chunks/UiRadio.js +26 -16
- package/vue/chunks/UiRadioGroup.js +24 -19
- package/vue/chunks/UiReel.js +11 -9
- package/vue/chunks/UiScrollArea.js +16 -13
- package/vue/chunks/UiSearchResultRow.js +39 -19
- package/vue/chunks/UiSearchShell.js +36 -18
- package/vue/chunks/UiSection.js +31 -13
- package/vue/chunks/UiSelect.js +14 -12
- package/vue/chunks/UiSeparator.js +11 -10
- package/vue/chunks/UiSidebar.js +33 -23
- package/vue/chunks/UiSpinner.js +7 -6
- package/vue/chunks/UiStack.js +14 -12
- package/vue/chunks/UiStatusMessage.js +23 -11
- package/vue/chunks/UiSwatch.js +5 -4
- package/vue/chunks/UiSwitch.js +26 -16
- package/vue/chunks/UiSwitcher.js +13 -11
- package/vue/chunks/UiTable.js +9 -7
- package/vue/chunks/UiTabs.js +23 -18
- package/vue/chunks/UiText.js +277 -255
- package/vue/chunks/UiTextarea.js +21 -20
- package/vue/chunks/UiToast.js +13 -7
- package/vue/chunks/UiToastRegion.js +15 -8
- package/vue/chunks/UiTooltip.js +27 -19
- package/vue/chunks/UiTopBar.js +21 -6
- package/vue/chunks/UiTree.js +18 -16
- package/vue/chunks/UiTreeItem.js +82 -45
- package/vue/chunks/_plugin-vue_export-helper.js +17 -4
- package/vue/components.css +1507 -1479
- package/vue/host.ts +26 -6
package/vue/chunks/UiTreeItem.js
CHANGED
|
@@ -8,32 +8,42 @@ var _hoisted_1 = [
|
|
|
8
8
|
"aria-level",
|
|
9
9
|
"aria-selected",
|
|
10
10
|
"aria-disabled",
|
|
11
|
-
"data-
|
|
12
|
-
"data-actions-visible",
|
|
13
|
-
"data-container",
|
|
14
|
-
"data-disabled",
|
|
11
|
+
"data-item-id",
|
|
15
12
|
"data-drag-type",
|
|
16
|
-
"data-drop-depth",
|
|
17
13
|
"data-drop-scope",
|
|
18
|
-
"data-
|
|
19
|
-
"data-
|
|
20
|
-
"data-label",
|
|
21
|
-
"data-lazy",
|
|
22
|
-
"data-marquee",
|
|
23
|
-
"data-selected",
|
|
24
|
-
"data-sortable",
|
|
14
|
+
"data-accepts",
|
|
15
|
+
"data-drop-depth",
|
|
25
16
|
"data-subtree-depth",
|
|
17
|
+
"data-ui-tree-item-prop-accepts",
|
|
18
|
+
"data-ui-tree-item-prop-actions-visible",
|
|
19
|
+
"data-ui-tree-item-prop-container",
|
|
20
|
+
"data-ui-tree-item-prop-disabled",
|
|
21
|
+
"data-ui-tree-item-prop-drag-type",
|
|
22
|
+
"data-ui-tree-item-prop-drop-depth",
|
|
23
|
+
"data-ui-tree-item-prop-drop-scope",
|
|
24
|
+
"data-ui-tree-item-prop-expanded",
|
|
25
|
+
"data-ui-tree-item-prop-item-id",
|
|
26
|
+
"data-ui-tree-item-prop-label",
|
|
27
|
+
"data-ui-tree-item-prop-lazy",
|
|
28
|
+
"data-ui-tree-item-prop-marquee",
|
|
29
|
+
"data-ui-tree-item-prop-selected",
|
|
30
|
+
"data-ui-tree-item-prop-sortable",
|
|
31
|
+
"data-ui-tree-item-prop-subtree-depth",
|
|
26
32
|
"data-ui-tree-item-state"
|
|
27
33
|
];
|
|
28
34
|
var _hoisted_2 = ["aria-label"];
|
|
29
35
|
var _hoisted_3 = ["disabled", "hidden"];
|
|
30
|
-
var _hoisted_4 = {
|
|
36
|
+
var _hoisted_4 = {
|
|
37
|
+
class: "selection-hit",
|
|
38
|
+
"data-hn-ui-tree-item": ""
|
|
39
|
+
};
|
|
31
40
|
var _hoisted_5 = [
|
|
32
41
|
"^checked",
|
|
33
42
|
"disabled",
|
|
34
43
|
"aria-label"
|
|
35
44
|
];
|
|
36
|
-
var _hoisted_6 =
|
|
45
|
+
var _hoisted_6 = { "data-hn-ui-tree-item": "" };
|
|
46
|
+
var _hoisted_7 = ["hidden"];
|
|
37
47
|
//#endregion
|
|
38
48
|
//#region .build/vue/UiTreeItem.vue
|
|
39
49
|
var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -395,7 +405,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
395
405
|
provide("html-next:ui-tree-item:isContainer", isContainer);
|
|
396
406
|
provide("html-next:ui-tree-item:moving", moving);
|
|
397
407
|
checkHydratedRoot("div", "ui-tree-item");
|
|
398
|
-
/** The values the styles' :host
|
|
408
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
399
409
|
const hostState = computed(() => [
|
|
400
410
|
checkedProps.value.selected && "selected",
|
|
401
411
|
checkedProps.value.disabled && "disabled",
|
|
@@ -495,31 +505,40 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
495
505
|
class: "ui-tree-item",
|
|
496
506
|
role: "treeitem"
|
|
497
507
|
}, unref(nativeAttrs)(_ctx.$attrs), {
|
|
508
|
+
"data-hn": "",
|
|
509
|
+
"data-hn-ui-tree-item": "",
|
|
498
510
|
"aria-label": checkedProps.value.label ?? void 0,
|
|
499
511
|
"aria-level": structuralLevel.value,
|
|
500
512
|
"aria-selected": checkedProps.value.selected ?? void 0,
|
|
501
513
|
"aria-disabled": checkedProps.value.disabled ?? void 0,
|
|
502
|
-
"data-
|
|
503
|
-
"data-
|
|
504
|
-
"data-
|
|
505
|
-
"data-
|
|
506
|
-
"data-
|
|
507
|
-
"data-
|
|
508
|
-
"data-
|
|
509
|
-
"data-
|
|
510
|
-
"data-item-
|
|
511
|
-
"data-
|
|
512
|
-
"data-
|
|
513
|
-
"data-
|
|
514
|
-
"data-
|
|
515
|
-
"data-
|
|
516
|
-
"data-
|
|
514
|
+
"data-item-id": checkedProps.value.itemId ?? void 0,
|
|
515
|
+
"data-drag-type": checkedProps.value.dragType ?? void 0,
|
|
516
|
+
"data-drop-scope": checkedProps.value.dropScope ?? void 0,
|
|
517
|
+
"data-accepts": checkedProps.value.accepts ?? void 0,
|
|
518
|
+
"data-drop-depth": checkedProps.value.dropDepth ?? void 0,
|
|
519
|
+
"data-subtree-depth": checkedProps.value.subtreeDepth ?? void 0,
|
|
520
|
+
"data-ui-tree-item-prop-accepts": unref(reflectedProp)("accepts", "accepts", checkedProps.value.accepts, void 0, false),
|
|
521
|
+
"data-ui-tree-item-prop-actions-visible": unref(reflectedProp)("actionsVisible", "actions-visible", checkedProps.value.actionsVisible, void 0, false),
|
|
522
|
+
"data-ui-tree-item-prop-container": unref(reflectedProp)("container", "container", checkedProps.value.container, void 0, false),
|
|
523
|
+
"data-ui-tree-item-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
524
|
+
"data-ui-tree-item-prop-drag-type": unref(reflectedProp)("dragType", "drag-type", checkedProps.value.dragType, void 0, false),
|
|
525
|
+
"data-ui-tree-item-prop-drop-depth": unref(reflectedProp)("dropDepth", "drop-depth", checkedProps.value.dropDepth, void 0, false),
|
|
526
|
+
"data-ui-tree-item-prop-drop-scope": unref(reflectedProp)("dropScope", "drop-scope", checkedProps.value.dropScope, void 0, false),
|
|
527
|
+
"data-ui-tree-item-prop-expanded": unref(reflectedProp)("expanded", "expanded", checkedProps.value.expanded, void 0, false),
|
|
528
|
+
"data-ui-tree-item-prop-item-id": unref(reflectedProp)("itemId", "item-id", checkedProps.value.itemId, void 0, false),
|
|
529
|
+
"data-ui-tree-item-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
|
|
530
|
+
"data-ui-tree-item-prop-lazy": unref(reflectedProp)("lazy", "lazy", checkedProps.value.lazy, void 0, false),
|
|
531
|
+
"data-ui-tree-item-prop-marquee": unref(reflectedProp)("marquee", "marquee", checkedProps.value.marquee, void 0, false),
|
|
532
|
+
"data-ui-tree-item-prop-selected": unref(reflectedProp)("selected", "selected", checkedProps.value.selected, void 0, false),
|
|
533
|
+
"data-ui-tree-item-prop-sortable": unref(reflectedProp)("sortable", "sortable", checkedProps.value.sortable, void 0, false),
|
|
534
|
+
"data-ui-tree-item-prop-subtree-depth": unref(reflectedProp)("subtreeDepth", "subtree-depth", checkedProps.value.subtreeDepth, void 0, false),
|
|
517
535
|
"data-ui-tree-item-state": hostState.value || void 0,
|
|
518
536
|
ref_key: "root",
|
|
519
537
|
ref: root
|
|
520
538
|
}), [
|
|
521
539
|
createElementVNode("div", {
|
|
522
540
|
class: "row",
|
|
541
|
+
"data-hn-ui-tree-item": "",
|
|
523
542
|
ref_key: "rowElement",
|
|
524
543
|
ref: rowElement
|
|
525
544
|
}, [
|
|
@@ -528,6 +547,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
528
547
|
class: "drag-handle",
|
|
529
548
|
type: "button",
|
|
530
549
|
draggable: "true",
|
|
550
|
+
"data-hn-ui-tree-item": "",
|
|
531
551
|
"aria-label": guarded.value,
|
|
532
552
|
ref_key: "dragHandleElement",
|
|
533
553
|
ref: dragHandleElement
|
|
@@ -539,74 +559,88 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
539
559
|
stroke: "currentColor",
|
|
540
560
|
"stroke-width": "2",
|
|
541
561
|
"stroke-linecap": "round",
|
|
542
|
-
"stroke-linejoin": "round"
|
|
562
|
+
"stroke-linejoin": "round",
|
|
563
|
+
"data-hn-ui-tree-item": ""
|
|
543
564
|
}, [
|
|
544
565
|
createElementVNode("circle", {
|
|
545
566
|
cx: "9",
|
|
546
567
|
cy: "12",
|
|
547
|
-
r: "1"
|
|
568
|
+
r: "1",
|
|
569
|
+
"data-hn-ui-tree-item": ""
|
|
548
570
|
}),
|
|
549
571
|
createElementVNode("circle", {
|
|
550
572
|
cx: "9",
|
|
551
573
|
cy: "5",
|
|
552
|
-
r: "1"
|
|
574
|
+
r: "1",
|
|
575
|
+
"data-hn-ui-tree-item": ""
|
|
553
576
|
}),
|
|
554
577
|
createElementVNode("circle", {
|
|
555
578
|
cx: "9",
|
|
556
579
|
cy: "19",
|
|
557
|
-
r: "1"
|
|
580
|
+
r: "1",
|
|
581
|
+
"data-hn-ui-tree-item": ""
|
|
558
582
|
}),
|
|
559
583
|
createElementVNode("circle", {
|
|
560
584
|
cx: "15",
|
|
561
585
|
cy: "12",
|
|
562
|
-
r: "1"
|
|
586
|
+
r: "1",
|
|
587
|
+
"data-hn-ui-tree-item": ""
|
|
563
588
|
}),
|
|
564
589
|
createElementVNode("circle", {
|
|
565
590
|
cx: "15",
|
|
566
591
|
cy: "5",
|
|
567
|
-
r: "1"
|
|
592
|
+
r: "1",
|
|
593
|
+
"data-hn-ui-tree-item": ""
|
|
568
594
|
}),
|
|
569
595
|
createElementVNode("circle", {
|
|
570
596
|
cx: "15",
|
|
571
597
|
cy: "19",
|
|
572
|
-
r: "1"
|
|
598
|
+
r: "1",
|
|
599
|
+
"data-hn-ui-tree-item": ""
|
|
573
600
|
})
|
|
574
601
|
], -1)])], 8, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
575
602
|
createElementVNode("button", {
|
|
576
603
|
class: "disclosure",
|
|
577
604
|
type: "button",
|
|
605
|
+
"data-hn-ui-tree-item": "",
|
|
578
606
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
579
607
|
hidden: !isContainer.value,
|
|
580
608
|
ref_key: "disclosureElement",
|
|
581
609
|
ref: disclosureElement
|
|
582
610
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
|
|
583
611
|
class: "disclosure-icon",
|
|
584
|
-
"aria-hidden": "true"
|
|
612
|
+
"aria-hidden": "true",
|
|
613
|
+
"data-hn-ui-tree-item": ""
|
|
585
614
|
}, null, -1)])], 8, _hoisted_3),
|
|
586
615
|
createElementVNode("label", _hoisted_4, [createElementVNode("input", {
|
|
587
616
|
class: "selection-checkbox",
|
|
588
617
|
type: "checkbox",
|
|
589
618
|
tabindex: "-1",
|
|
619
|
+
"data-hn-ui-tree-item": "",
|
|
590
620
|
"^checked": checkedProps.value.selected ? true : void 0,
|
|
591
621
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
592
622
|
"aria-label": guardedBinding.value
|
|
593
623
|
}, null, 8, _hoisted_5)]),
|
|
594
624
|
createElementVNode("span", {
|
|
595
625
|
class: "leading",
|
|
626
|
+
"data-hn-ui-tree-item": "",
|
|
596
627
|
ref_key: "leadingElement",
|
|
597
628
|
ref: leadingElement
|
|
598
|
-
}, [renderSlot(_ctx.$slots, "leading")], 512),
|
|
629
|
+
}, [renderSlot(_ctx.$slots, "leading", {}, void 0, true)], 512),
|
|
599
630
|
createElementVNode("span", {
|
|
600
631
|
class: "label",
|
|
632
|
+
"data-hn-ui-tree-item": "",
|
|
601
633
|
ref_key: "labelElement",
|
|
602
634
|
ref: labelElement
|
|
603
635
|
}, [createElementVNode("span", {
|
|
604
636
|
class: "label-text",
|
|
637
|
+
"data-hn-ui-tree-item": "",
|
|
605
638
|
ref_key: "labelTextElement",
|
|
606
639
|
ref: labelTextElement
|
|
607
|
-
}, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(checkedProps.value.label), 1)])], 512)], 512),
|
|
640
|
+
}, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(checkedProps.value.label), 1)], true)], 512)], 512),
|
|
608
641
|
createElementVNode("span", {
|
|
609
642
|
class: "actions",
|
|
643
|
+
"data-hn-ui-tree-item": "",
|
|
610
644
|
ref_key: "actionsElement",
|
|
611
645
|
ref: actionsElement
|
|
612
646
|
}, [moving.value ? (openBlock(), createBlock(UiButton_default, {
|
|
@@ -620,22 +654,25 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
620
654
|
}, {
|
|
621
655
|
default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Cancel", -1)])]),
|
|
622
656
|
_: 1
|
|
623
|
-
})) : createCommentVNode("v-if", true), createElementVNode("span",
|
|
657
|
+
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])], 512),
|
|
624
658
|
_cache[3] || (_cache[3] = createElementVNode("span", {
|
|
625
659
|
class: "drop-indicator row-drop-indicator",
|
|
626
|
-
"aria-hidden": "true"
|
|
660
|
+
"aria-hidden": "true",
|
|
661
|
+
"data-hn-ui-tree-item": ""
|
|
627
662
|
}, null, -1))
|
|
628
663
|
], 512),
|
|
629
664
|
createElementVNode("div", {
|
|
630
665
|
class: "children",
|
|
631
666
|
role: "group",
|
|
667
|
+
"data-hn-ui-tree-item": "",
|
|
632
668
|
hidden: !(isContainer.value && internalExpanded.value),
|
|
633
669
|
ref_key: "childrenElement",
|
|
634
670
|
ref: childrenElement
|
|
635
|
-
}, [renderSlot(_ctx.$slots, "default")], 8,
|
|
671
|
+
}, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 8, _hoisted_7),
|
|
636
672
|
_cache[4] || (_cache[4] = createElementVNode("span", {
|
|
637
673
|
class: "drop-indicator subtree-drop-indicator",
|
|
638
|
-
"aria-hidden": "true"
|
|
674
|
+
"aria-hidden": "true",
|
|
675
|
+
"data-hn-ui-tree-item": ""
|
|
639
676
|
}, null, -1))
|
|
640
677
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
641
678
|
contract: propValidityContract,
|
|
@@ -643,6 +680,6 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
643
680
|
}]]);
|
|
644
681
|
};
|
|
645
682
|
}
|
|
646
|
-
}), [["__scopeId", "data-v-
|
|
683
|
+
}), [["__scopeId", "data-v-54a4ba48"]]);
|
|
647
684
|
//#endregion
|
|
648
685
|
export { UiTreeItem_default as t };
|
|
@@ -123,6 +123,16 @@ function dispatchToTargets(recorded, send) {
|
|
|
123
123
|
const targets = (recorded instanceof Set ? [...recorded] : Array.isArray(recorded) ? [...recorded] : [recorded]).map((ref) => ref?.nodeType === 1 ? ref : ref?.$el).filter((element) => element?.nodeType === 1 && element.isConnected).sort((a, b) => a === b ? 0 : a.compareDocumentPosition(b) & 4 ? -1 : 1);
|
|
124
124
|
for (const target of targets) if (target.isConnected) send(target);
|
|
125
125
|
}
|
|
126
|
+
/** Vue refs a component invocation as its public instance; the ref is the root element it lowered to. */
|
|
127
|
+
function refElement(ref) {
|
|
128
|
+
return ref == null || ref.nodeType === 1 ? ref : ref.$el;
|
|
129
|
+
}
|
|
130
|
+
/** The root ref as an element: a delegating component's root ref holds the invoked component. */
|
|
131
|
+
function rootElement(root) {
|
|
132
|
+
return { get value() {
|
|
133
|
+
return refElement(root.value);
|
|
134
|
+
} };
|
|
135
|
+
}
|
|
126
136
|
var runtimeKey = Symbol.for("@nextwebwg/html-next.runtime.v1");
|
|
127
137
|
function observeConnection(element, check) {
|
|
128
138
|
const document = element.ownerDocument;
|
|
@@ -156,7 +166,8 @@ function observeConnection(element, check) {
|
|
|
156
166
|
};
|
|
157
167
|
}
|
|
158
168
|
/** Keep native focus on the corresponding control when a root-level $match replaces its element. */
|
|
159
|
-
function preserveRootFocus(
|
|
169
|
+
function preserveRootFocus(componentRoot) {
|
|
170
|
+
const root = rootElement(componentRoot);
|
|
160
171
|
const focusable = "a[href], button, input, select, textarea, summary, [tabindex], [contenteditable]";
|
|
161
172
|
let previous = null;
|
|
162
173
|
let active = null;
|
|
@@ -190,7 +201,8 @@ function slottedElements(nodes) {
|
|
|
190
201
|
* and reinsertion without treating an in-tree move as a new connection.
|
|
191
202
|
*/
|
|
192
203
|
function useComponentHost(controllerLoader, options) {
|
|
193
|
-
const
|
|
204
|
+
const root = rootElement(options.root);
|
|
205
|
+
const { dispatch, props, propInputs = () => null, propNames = [], refs = {}, state = {}, computed: computedValues = {}, data = {}, context = {} } = options;
|
|
194
206
|
const vueSlots = useSlots();
|
|
195
207
|
const component = getCurrentInstance();
|
|
196
208
|
const report = (error) => {
|
|
@@ -290,7 +302,7 @@ function useComponentHost(controllerLoader, options) {
|
|
|
290
302
|
props: Object.freeze(propHandles),
|
|
291
303
|
refs: Object.defineProperties({}, Object.fromEntries(Object.entries(refs).map(([name, ref]) => [name, {
|
|
292
304
|
enumerable: true,
|
|
293
|
-
get: () => Array.isArray(ref.value) ? inDocumentOrder(ref.value) : ref.value
|
|
305
|
+
get: () => Array.isArray(ref.value) ? inDocumentOrder(ref.value.map(refElement)) : refElement(ref.value)
|
|
294
306
|
}]))),
|
|
295
307
|
slots: new Proxy({}, {
|
|
296
308
|
get: (_target, name) => {
|
|
@@ -415,7 +427,8 @@ var HtmlDiagnosticError = class extends Error {
|
|
|
415
427
|
}
|
|
416
428
|
};
|
|
417
429
|
/** Reports declared CustomEvents to Vue and dispatches them through the DOM. */
|
|
418
|
-
function createDispatch(
|
|
430
|
+
function createDispatch(componentRoot, emit, options = {}) {
|
|
431
|
+
const root = rootElement(componentRoot);
|
|
419
432
|
const { declared = {}, checks = {}, modeled = [] } = options;
|
|
420
433
|
const reported = /* @__PURE__ */ new Map();
|
|
421
434
|
return (name, detail, targets) => {
|