@threadlabs/looma 0.47.6 → 0.49.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/README.md +39 -16
- package/components/shared/input-modality.d.ts +2 -0
- package/components/shared/input-modality.js +2 -0
- package/components/shared/overlay.js +9 -0
- package/components/ui-compact-content/ui-compact-content.html +8 -0
- package/components/ui-compact-content/ui-compact-content.js +1 -0
- package/components/ui-compact-editor/ui-compact-editor.css +39 -0
- package/components/ui-compact-editor/ui-compact-editor.html +22 -0
- package/components/ui-compact-editor/ui-compact-editor.js +30 -0
- package/components/ui-compact-mark/ui-compact-mark.html +26 -0
- package/components/ui-compact-node/ui-compact-node.html +14 -0
- package/components/ui-dialog/ui-dialog.html +4 -1
- package/components/ui-editor/ui-editor.css +531 -0
- package/components/ui-editor/ui-editor.html +399 -0
- package/components/ui-editor/ui-editor.js +87 -0
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +2 -1
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +6 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.html +59 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.js +44 -0
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -0
- package/components/ui-editor-link-form/ui-editor-link-form.js +7 -0
- package/components/ui-editor-surface/ui-editor-surface.css +109 -0
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +7 -4
- package/components/ui-menu/ui-menu.html +4 -1
- package/components/ui-meter/ui-meter.html +7 -7
- package/components/ui-popover/ui-popover.html +4 -1
- package/components/ui-radio-group/ui-radio-group.html +3 -1
- package/components/ui-radio-group/ui-radio-group.js +5 -0
- package/dist/index.js +57 -53
- package/docs/README.md +5 -7
- package/docs/catalog.json +933 -84
- package/docs/catalog.mjs +2 -2
- package/docs/framework-examples.d.mts +7 -0
- package/docs/framework-examples.mjs +89 -0
- package/docs/index.d.ts +1 -1
- package/docs/render.mjs +3 -40
- package/editor/chunks/content.js +29 -0
- package/{vue/chunks/compact.js → editor/chunks/dist.js} +103 -230
- package/editor/chunks/expressmark.js +1 -24
- package/editor/chunks/extensions.js +63 -455
- package/editor/chunks/session.js +61 -0
- package/editor/chunks/{ui.js → table-overlay.js} +51 -1
- package/editor/compact.d.ts +22 -0
- package/editor/compact.js +63 -0
- package/editor/components.css +3699 -0
- package/editor/document-session.d.ts +274 -0
- package/editor/extensions/index.js +2 -2
- package/editor/index.d.ts +4 -0
- package/editor/index.js +15578 -4
- package/editor/session.d.ts +1 -1
- package/editor/toolbar-tooltip.d.ts +5 -1
- package/editor/ui.js +1 -2
- package/package.json +31 -46
- 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-group.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-color-picker.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-compact-content.css +1 -0
- package/styles/ui-compact-editor.css +1 -0
- package/styles/ui-compact-mark.css +1 -0
- package/styles/ui-compact-node.css +1 -0
- 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-curve-editor.css +1 -1
- package/styles/ui-cycle-button.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +9 -3
- 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-formatting-tools.css +1 -0
- 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-editor.css +1 -0
- 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-light-editor.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 +5 -2
- package/styles/ui-meter.css +8 -8
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-number-input.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +5 -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 +1 -1
- package/styles/ui-site-header.css +1 -1
- package/styles/ui-skeleton.css +1 -1
- package/styles/ui-slider.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 +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 +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/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.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/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiCompactContent.d.ts +23 -0
- package/vanilla/UiCompactContent.js +51 -0
- package/vanilla/UiCompactEditor.d.ts +29 -0
- package/vanilla/UiCompactEditor.js +59 -0
- package/vanilla/UiCompactMark.d.ts +25 -0
- package/vanilla/UiCompactMark.js +206 -0
- package/vanilla/UiCompactNode.d.ts +23 -0
- package/vanilla/UiCompactNode.js +156 -0
- 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/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +1 -1
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.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/UiEditor.d.ts +57 -0
- package/vanilla/UiEditor.js +1067 -0
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +1 -1
- package/vanilla/UiEditorChipEditor.d.ts +2 -1
- package/vanilla/UiEditorChipEditor.js +10 -10
- 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/UiEditorFormattingTools.d.ts +27 -0
- package/vanilla/UiEditorFormattingTools.js +188 -0
- 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 +2 -1
- package/vanilla/UiEditorLinkForm.js +41 -41
- 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 +10 -5
- 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/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.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 +1 -1
- 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/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +2 -1
- package/vanilla/UiRadioGroup.js +33 -28
- 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/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +1 -1
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +1 -1
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.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/vanilla/index.js +6 -0
- package/editor/chunks/table-backgrounds.js +0 -51
- package/vue/UiActionBar.d.ts +0 -19
- package/vue/UiActionBar.js +0 -2
- package/vue/UiActionBar.vue +0 -90
- package/vue/UiAffordanceScope.d.ts +0 -35
- package/vue/UiAffordanceScope.js +0 -2
- package/vue/UiAffordanceScope.vue +0 -182
- package/vue/UiAvatar.d.ts +0 -71
- package/vue/UiAvatar.js +0 -2
- package/vue/UiAvatar.vue +0 -394
- package/vue/UiAvatarGroup.d.ts +0 -53
- package/vue/UiAvatarGroup.js +0 -2
- package/vue/UiAvatarGroup.vue +0 -305
- package/vue/UiBadge.d.ts +0 -49
- package/vue/UiBadge.js +0 -2
- package/vue/UiBadge.vue +0 -810
- package/vue/UiBreadcrumbItem.d.ts +0 -29
- package/vue/UiBreadcrumbItem.js +0 -2
- package/vue/UiBreadcrumbItem.vue +0 -192
- package/vue/UiBreadcrumbs.d.ts +0 -29
- package/vue/UiBreadcrumbs.js +0 -2
- package/vue/UiBreadcrumbs.vue +0 -117
- package/vue/UiButton.d.ts +0 -131
- package/vue/UiButton.js +0 -2
- package/vue/UiButton.vue +0 -1609
- package/vue/UiCallout.d.ts +0 -35
- package/vue/UiCallout.js +0 -2
- package/vue/UiCallout.vue +0 -418
- package/vue/UiCard.d.ts +0 -81
- package/vue/UiCard.js +0 -2
- package/vue/UiCard.vue +0 -530
- package/vue/UiCardGroup.d.ts +0 -41
- package/vue/UiCardGroup.js +0 -2
- package/vue/UiCardGroup.vue +0 -168
- package/vue/UiCheckbox.d.ts +0 -95
- package/vue/UiCheckbox.js +0 -2
- package/vue/UiCheckbox.vue +0 -601
- package/vue/UiCluster.d.ts +0 -65
- package/vue/UiCluster.js +0 -2
- package/vue/UiCluster.vue +0 -304
- package/vue/UiColorPicker.d.ts +0 -71
- package/vue/UiColorPicker.js +0 -2
- package/vue/UiColorPicker.vue +0 -563
- package/vue/UiCombobox.d.ts +0 -538
- package/vue/UiCombobox.js +0 -2
- package/vue/UiCombobox.vue +0 -2894
- package/vue/UiContainer.d.ts +0 -41
- package/vue/UiContainer.js +0 -2
- package/vue/UiContainer.vue +0 -177
- package/vue/UiContextMenu.d.ts +0 -69
- package/vue/UiContextMenu.js +0 -2
- package/vue/UiContextMenu.vue +0 -289
- package/vue/UiCover.d.ts +0 -29
- package/vue/UiCover.js +0 -2
- package/vue/UiCover.vue +0 -127
- package/vue/UiCurveEditor.d.ts +0 -59
- package/vue/UiCurveEditor.js +0 -2
- package/vue/UiCurveEditor.vue +0 -429
- package/vue/UiCycleButton.d.ts +0 -69
- package/vue/UiCycleButton.js +0 -2
- package/vue/UiCycleButton.vue +0 -403
- package/vue/UiDescriptionItem.d.ts +0 -29
- package/vue/UiDescriptionItem.js +0 -2
- package/vue/UiDescriptionItem.vue +0 -124
- package/vue/UiDescriptionList.d.ts +0 -41
- package/vue/UiDescriptionList.js +0 -2
- package/vue/UiDescriptionList.vue +0 -217
- package/vue/UiDialog.d.ts +0 -97
- package/vue/UiDialog.js +0 -2
- package/vue/UiDialog.vue +0 -817
- package/vue/UiDisclosure.d.ts +0 -107
- package/vue/UiDisclosure.js +0 -2
- package/vue/UiDisclosure.vue +0 -605
- package/vue/UiEditable.d.ts +0 -113
- package/vue/UiEditable.js +0 -2
- package/vue/UiEditable.vue +0 -582
- package/vue/UiEditorBlockActions.d.ts +0 -33
- package/vue/UiEditorBlockActions.js +0 -2
- package/vue/UiEditorBlockActions.vue +0 -163
- package/vue/UiEditorChipEditor.d.ts +0 -45
- package/vue/UiEditorChipEditor.js +0 -2
- package/vue/UiEditorChipEditor.vue +0 -208
- package/vue/UiEditorCodeLanguage.d.ts +0 -41
- package/vue/UiEditorCodeLanguage.js +0 -2
- package/vue/UiEditorCodeLanguage.vue +0 -200
- package/vue/UiEditorFootnoteEditor.d.ts +0 -39
- package/vue/UiEditorFootnoteEditor.js +0 -2
- package/vue/UiEditorFootnoteEditor.vue +0 -152
- package/vue/UiEditorImageToolbar.d.ts +0 -51
- package/vue/UiEditorImageToolbar.js +0 -2
- package/vue/UiEditorImageToolbar.vue +0 -446
- package/vue/UiEditorInsertTableGrid.d.ts +0 -49
- package/vue/UiEditorInsertTableGrid.js +0 -2
- package/vue/UiEditorInsertTableGrid.vue +0 -367
- package/vue/UiEditorLinkCard.d.ts +0 -49
- package/vue/UiEditorLinkCard.js +0 -2
- package/vue/UiEditorLinkCard.vue +0 -385
- package/vue/UiEditorLinkForm.d.ts +0 -131
- package/vue/UiEditorLinkForm.js +0 -2
- package/vue/UiEditorLinkForm.vue +0 -664
- package/vue/UiEditorMentionMenu.d.ts +0 -121
- package/vue/UiEditorMentionMenu.js +0 -2
- package/vue/UiEditorMentionMenu.vue +0 -596
- package/vue/UiEditorMentionMenuItem.d.ts +0 -43
- package/vue/UiEditorMentionMenuItem.js +0 -2
- package/vue/UiEditorMentionMenuItem.vue +0 -205
- package/vue/UiEditorSlashMenu.d.ts +0 -111
- package/vue/UiEditorSlashMenu.js +0 -2
- package/vue/UiEditorSlashMenu.vue +0 -549
- package/vue/UiEditorSlashMenuGroup.d.ts +0 -29
- package/vue/UiEditorSlashMenuGroup.js +0 -2
- package/vue/UiEditorSlashMenuGroup.vue +0 -113
- package/vue/UiEditorSlashMenuItem.d.ts +0 -53
- package/vue/UiEditorSlashMenuItem.js +0 -2
- package/vue/UiEditorSlashMenuItem.vue +0 -249
- package/vue/UiEditorSurface.d.ts +0 -29
- package/vue/UiEditorSurface.js +0 -2
- package/vue/UiEditorSurface.vue +0 -117
- package/vue/UiEditorTableContextMenu.d.ts +0 -57
- package/vue/UiEditorTableContextMenu.js +0 -2
- package/vue/UiEditorTableContextMenu.vue +0 -694
- package/vue/UiEditorTableOverlay.d.ts +0 -191
- package/vue/UiEditorTableOverlay.js +0 -2
- package/vue/UiEditorTableOverlay.vue +0 -1099
- package/vue/UiEditorTableToolbar.d.ts +0 -57
- package/vue/UiEditorTableToolbar.js +0 -2
- package/vue/UiEditorTableToolbar.vue +0 -834
- package/vue/UiEditorToolbar.d.ts +0 -29
- package/vue/UiEditorToolbar.js +0 -2
- package/vue/UiEditorToolbar.vue +0 -296
- package/vue/UiFloatingActionButton.d.ts +0 -41
- package/vue/UiFloatingActionButton.js +0 -2
- package/vue/UiFloatingActionButton.vue +0 -201
- package/vue/UiFormField.d.ts +0 -49
- package/vue/UiFormField.js +0 -2
- package/vue/UiFormField.vue +0 -256
- package/vue/UiGrid.d.ts +0 -41
- package/vue/UiGrid.js +0 -2
- package/vue/UiGrid.vue +0 -190
- package/vue/UiIcon.d.ts +0 -25
- package/vue/UiIcon.js +0 -2
- package/vue/UiIcon.vue +0 -612
- package/vue/UiIconButton.d.ts +0 -101
- package/vue/UiIconButton.js +0 -2
- package/vue/UiIconButton.vue +0 -1141
- package/vue/UiImage.d.ts +0 -85
- package/vue/UiImage.js +0 -2
- package/vue/UiImage.vue +0 -462
- package/vue/UiInput.d.ts +0 -50
- package/vue/UiInput.js +0 -2
- package/vue/UiInput.vue +0 -671
- package/vue/UiInputGroup.d.ts +0 -59
- package/vue/UiInputGroup.js +0 -2
- package/vue/UiInputGroup.vue +0 -447
- package/vue/UiLightEditor.d.ts +0 -83
- package/vue/UiLightEditor.js +0 -2
- package/vue/UiLightEditor.vue +0 -537
- package/vue/UiList.d.ts +0 -49
- package/vue/UiList.js +0 -2
- package/vue/UiList.vue +0 -260
- package/vue/UiListItem.d.ts +0 -65
- package/vue/UiListItem.js +0 -2
- package/vue/UiListItem.vue +0 -407
- package/vue/UiListbox.d.ts +0 -87
- package/vue/UiListbox.js +0 -2
- package/vue/UiListbox.vue +0 -554
- package/vue/UiMenu.d.ts +0 -99
- package/vue/UiMenu.js +0 -2
- package/vue/UiMenu.vue +0 -541
- package/vue/UiMenuGroup.d.ts +0 -29
- package/vue/UiMenuGroup.js +0 -2
- package/vue/UiMenuGroup.vue +0 -105
- package/vue/UiMenuItem.d.ts +0 -89
- package/vue/UiMenuItem.js +0 -2
- package/vue/UiMenuItem.vue +0 -532
- package/vue/UiMeter.d.ts +0 -73
- package/vue/UiMeter.js +0 -2
- package/vue/UiMeter.vue +0 -1112
- package/vue/UiNavItem.d.ts +0 -79
- package/vue/UiNavItem.js +0 -2
- package/vue/UiNavItem.vue +0 -493
- package/vue/UiNumberInput.d.ts +0 -89
- package/vue/UiNumberInput.js +0 -2
- package/vue/UiNumberInput.vue +0 -445
- package/vue/UiPageHeader.d.ts +0 -37
- package/vue/UiPageHeader.js +0 -2
- package/vue/UiPageHeader.vue +0 -192
- package/vue/UiPagination.d.ts +0 -115
- package/vue/UiPagination.js +0 -2
- package/vue/UiPagination.vue +0 -596
- package/vue/UiPopover.d.ts +0 -77
- package/vue/UiPopover.js +0 -2
- package/vue/UiPopover.vue +0 -495
- package/vue/UiRadio.d.ts +0 -77
- package/vue/UiRadio.js +0 -2
- package/vue/UiRadio.vue +0 -475
- package/vue/UiRadioGroup.d.ts +0 -95
- package/vue/UiRadioGroup.js +0 -2
- package/vue/UiRadioGroup.vue +0 -393
- package/vue/UiReel.d.ts +0 -41
- package/vue/UiReel.js +0 -2
- package/vue/UiReel.vue +0 -223
- package/vue/UiScrollArea.d.ts +0 -53
- package/vue/UiScrollArea.js +0 -2
- package/vue/UiScrollArea.vue +0 -307
- package/vue/UiSearchResultRow.d.ts +0 -49
- package/vue/UiSearchResultRow.js +0 -2
- package/vue/UiSearchResultRow.vue +0 -268
- package/vue/UiSearchShell.d.ts +0 -67
- package/vue/UiSearchShell.js +0 -2
- package/vue/UiSearchShell.vue +0 -391
- package/vue/UiSection.d.ts +0 -51
- package/vue/UiSection.js +0 -2
- package/vue/UiSection.vue +0 -331
- package/vue/UiSelect.d.ts +0 -69
- package/vue/UiSelect.js +0 -2
- package/vue/UiSelect.vue +0 -391
- package/vue/UiSeparator.d.ts +0 -37
- package/vue/UiSeparator.js +0 -2
- package/vue/UiSeparator.vue +0 -199
- package/vue/UiSidebar.d.ts +0 -99
- package/vue/UiSidebar.js +0 -2
- package/vue/UiSidebar.vue +0 -579
- package/vue/UiSiteHeader.d.ts +0 -59
- package/vue/UiSiteHeader.js +0 -2
- package/vue/UiSiteHeader.vue +0 -904
- package/vue/UiSkeleton.d.ts +0 -37
- package/vue/UiSkeleton.js +0 -2
- package/vue/UiSkeleton.vue +0 -287
- package/vue/UiSlider.d.ts +0 -89
- package/vue/UiSlider.js +0 -2
- package/vue/UiSlider.vue +0 -448
- package/vue/UiSpinner.d.ts +0 -25
- package/vue/UiSpinner.js +0 -2
- package/vue/UiSpinner.vue +0 -330
- package/vue/UiStack.d.ts +0 -53
- package/vue/UiStack.js +0 -2
- package/vue/UiStack.vue +0 -247
- package/vue/UiStatusMessage.d.ts +0 -43
- package/vue/UiStatusMessage.js +0 -2
- package/vue/UiStatusMessage.vue +0 -239
- package/vue/UiSwatch.d.ts +0 -19
- package/vue/UiSwatch.js +0 -2
- package/vue/UiSwatch.vue +0 -188
- package/vue/UiSwitch.d.ts +0 -77
- package/vue/UiSwitch.js +0 -2
- package/vue/UiSwitch.vue +0 -478
- package/vue/UiSwitcher.d.ts +0 -47
- package/vue/UiSwitcher.js +0 -2
- package/vue/UiSwitcher.vue +0 -258
- package/vue/UiTable.d.ts +0 -35
- package/vue/UiTable.js +0 -2
- package/vue/UiTable.vue +0 -280
- package/vue/UiTabs.d.ts +0 -81
- package/vue/UiTabs.js +0 -2
- package/vue/UiTabs.vue +0 -493
- package/vue/UiText.d.ts +0 -111
- package/vue/UiText.js +0 -2
- package/vue/UiText.vue +0 -836
- package/vue/UiTextarea.d.ts +0 -77
- package/vue/UiTextarea.js +0 -2
- package/vue/UiTextarea.vue +0 -477
- package/vue/UiToast.d.ts +0 -49
- package/vue/UiToast.js +0 -2
- package/vue/UiToast.vue +0 -337
- package/vue/UiToastRegion.d.ts +0 -61
- package/vue/UiToastRegion.js +0 -2
- package/vue/UiToastRegion.vue +0 -631
- package/vue/UiTooltip.d.ts +0 -93
- package/vue/UiTooltip.js +0 -2
- package/vue/UiTooltip.vue +0 -627
- package/vue/UiTopBar.d.ts +0 -35
- package/vue/UiTopBar.js +0 -2
- package/vue/UiTopBar.vue +0 -240
- package/vue/UiTree.d.ts +0 -123
- package/vue/UiTree.js +0 -2
- package/vue/UiTree.vue +0 -419
- package/vue/UiTreeItem.d.ts +0 -133
- package/vue/UiTreeItem.js +0 -2
- package/vue/UiTreeItem.vue +0 -1962
- package/vue/chunks/UiActionBar.js +0 -42
- package/vue/chunks/UiAffordanceScope.js +0 -136
- package/vue/chunks/UiAvatar.js +0 -341
- package/vue/chunks/UiAvatarGroup.js +0 -234
- package/vue/chunks/UiBadge.js +0 -188
- package/vue/chunks/UiBreadcrumbItem.js +0 -104
- package/vue/chunks/UiBreadcrumbs.js +0 -67
- package/vue/chunks/UiButton.js +0 -881
- package/vue/chunks/UiCallout.js +0 -302
- package/vue/chunks/UiCard.js +0 -369
- package/vue/chunks/UiCardGroup.js +0 -153
- package/vue/chunks/UiCheckbox.js +0 -361
- package/vue/chunks/UiCluster.js +0 -236
- package/vue/chunks/UiColorPicker.js +0 -375
- package/vue/chunks/UiCombobox.js +0 -2186
- package/vue/chunks/UiContainer.js +0 -122
- package/vue/chunks/UiContextMenu.js +0 -157
- package/vue/chunks/UiCover.js +0 -66
- package/vue/chunks/UiCurveEditor.js +0 -415
- package/vue/chunks/UiCycleButton.js +0 -352
- package/vue/chunks/UiDescriptionItem.js +0 -64
- package/vue/chunks/UiDescriptionList.js +0 -133
- package/vue/chunks/UiDialog.js +0 -367
- package/vue/chunks/UiDisclosure.js +0 -403
- package/vue/chunks/UiEditable.js +0 -436
- package/vue/chunks/UiEditorBlockActions.js +0 -157
- package/vue/chunks/UiEditorChipEditor.js +0 -191
- package/vue/chunks/UiEditorCodeLanguage.js +0 -181
- package/vue/chunks/UiEditorFootnoteEditor.js +0 -114
- package/vue/chunks/UiEditorImageToolbar.js +0 -531
- package/vue/chunks/UiEditorInsertTableGrid.js +0 -325
- package/vue/chunks/UiEditorLinkCard.js +0 -391
- package/vue/chunks/UiEditorLinkForm.js +0 -711
- package/vue/chunks/UiEditorMentionMenu.js +0 -618
- package/vue/chunks/UiEditorMentionMenuItem.js +0 -140
- package/vue/chunks/UiEditorSlashMenu.js +0 -555
- package/vue/chunks/UiEditorSlashMenuGroup.js +0 -78
- package/vue/chunks/UiEditorSlashMenuItem.js +0 -197
- package/vue/chunks/UiEditorSurface.js +0 -66
- package/vue/chunks/UiEditorTableContextMenu.js +0 -500
- package/vue/chunks/UiEditorTableOverlay.js +0 -987
- package/vue/chunks/UiEditorTableToolbar.js +0 -707
- package/vue/chunks/UiEditorToolbar.js +0 -103
- package/vue/chunks/UiFloatingActionButton.js +0 -123
- package/vue/chunks/UiFormField.js +0 -172
- package/vue/chunks/UiGrid.js +0 -127
- package/vue/chunks/UiIcon.js +0 -1361
- package/vue/chunks/UiIconButton.js +0 -469
- package/vue/chunks/UiImage.js +0 -312
- package/vue/chunks/UiInput.js +0 -709
- package/vue/chunks/UiInputGroup.js +0 -225
- package/vue/chunks/UiLightEditor.js +0 -365
- package/vue/chunks/UiList.js +0 -178
- package/vue/chunks/UiListItem.js +0 -219
- package/vue/chunks/UiListbox.js +0 -489
- package/vue/chunks/UiMenu.js +0 -286
- package/vue/chunks/UiMenuGroup.js +0 -75
- package/vue/chunks/UiMenuItem.js +0 -374
- package/vue/chunks/UiMeter.js +0 -540
- package/vue/chunks/UiNavItem.js +0 -380
- package/vue/chunks/UiNumberInput.js +0 -432
- package/vue/chunks/UiPageHeader.js +0 -100
- package/vue/chunks/UiPagination.js +0 -537
- package/vue/chunks/UiPopover.js +0 -243
- package/vue/chunks/UiRadio.js +0 -291
- package/vue/chunks/UiRadioGroup.js +0 -300
- package/vue/chunks/UiReel.js +0 -133
- package/vue/chunks/UiScrollArea.js +0 -219
- package/vue/chunks/UiSearchResultRow.js +0 -164
- package/vue/chunks/UiSearchShell.js +0 -215
- package/vue/chunks/UiSection.js +0 -228
- package/vue/chunks/UiSelect.js +0 -251
- package/vue/chunks/UiSeparator.js +0 -144
- package/vue/chunks/UiSidebar.js +0 -358
- package/vue/chunks/UiSiteHeader.js +0 -335
- package/vue/chunks/UiSkeleton.js +0 -183
- package/vue/chunks/UiSlider.js +0 -427
- package/vue/chunks/UiSpinner.js +0 -181
- package/vue/chunks/UiStack.js +0 -177
- package/vue/chunks/UiStatusMessage.js +0 -176
- package/vue/chunks/UiSwatch.js +0 -93
- package/vue/chunks/UiSwitch.js +0 -292
- package/vue/chunks/UiSwitcher.js +0 -194
- package/vue/chunks/UiTable.js +0 -128
- package/vue/chunks/UiTabs.js +0 -334
- package/vue/chunks/UiText.js +0 -747
- package/vue/chunks/UiTextarea.js +0 -313
- package/vue/chunks/UiToast.js +0 -174
- package/vue/chunks/UiToastRegion.js +0 -275
- package/vue/chunks/UiTooltip.js +0 -297
- package/vue/chunks/UiTopBar.js +0 -129
- package/vue/chunks/UiTree.js +0 -282
- package/vue/chunks/UiTreeItem.js +0 -699
- package/vue/chunks/_plugin-vue_export-helper.js +0 -1265
- package/vue/chunks/control.js +0 -214
- package/vue/chunks/props.js +0 -1228
- package/vue/components.css +0 -17545
- package/vue/editor/LoomaEditor.d.ts +0 -433
- package/vue/editor/compact/index.d.ts +0 -84
- package/vue/editor/compact/index.js +0 -2
- package/vue/editor/index.d.ts +0 -5
- package/vue/editor/index.js +0 -17281
- package/vue/editor/primitives.d.ts +0 -120
- package/vue/host.ts +0 -2272
- package/vue/index.d.ts +0 -94
- package/vue/index.js +0 -95
- package/vue/props.d.ts +0 -272
- /package/{vue → editor}/chunks/1c.js +0 -0
- /package/{vue → editor}/chunks/abnf.js +0 -0
- /package/{vue → editor}/chunks/accesslog.js +0 -0
- /package/{vue → editor}/chunks/actionscript.js +0 -0
- /package/{vue → editor}/chunks/ada.js +0 -0
- /package/{vue → editor}/chunks/angelscript.js +0 -0
- /package/{vue → editor}/chunks/apache.js +0 -0
- /package/{vue → editor}/chunks/applescript.js +0 -0
- /package/{vue → editor}/chunks/arcade.js +0 -0
- /package/{vue → editor}/chunks/arduino.js +0 -0
- /package/{vue → editor}/chunks/armasm.js +0 -0
- /package/{vue → editor}/chunks/asciidoc.js +0 -0
- /package/{vue → editor}/chunks/aspectj.js +0 -0
- /package/{vue → editor}/chunks/autohotkey.js +0 -0
- /package/{vue → editor}/chunks/autoit.js +0 -0
- /package/{vue → editor}/chunks/avrasm.js +0 -0
- /package/{vue → editor}/chunks/awk.js +0 -0
- /package/{vue → editor}/chunks/axapta.js +0 -0
- /package/{vue → editor}/chunks/bash.js +0 -0
- /package/{vue → editor}/chunks/basic.js +0 -0
- /package/{vue → editor}/chunks/bnf.js +0 -0
- /package/{vue → editor}/chunks/brainfuck.js +0 -0
- /package/{vue → editor}/chunks/c.js +0 -0
- /package/{vue → editor}/chunks/cal.js +0 -0
- /package/{vue → editor}/chunks/capnproto.js +0 -0
- /package/{vue → editor}/chunks/ceylon.js +0 -0
- /package/{vue → editor}/chunks/clean.js +0 -0
- /package/{vue → editor}/chunks/clojure-repl.js +0 -0
- /package/{vue → editor}/chunks/clojure.js +0 -0
- /package/{vue → editor}/chunks/cmake.js +0 -0
- /package/{vue → editor}/chunks/coffeescript.js +0 -0
- /package/{vue → editor}/chunks/coq.js +0 -0
- /package/{vue → editor}/chunks/cos.js +0 -0
- /package/{vue → editor}/chunks/cpp.js +0 -0
- /package/{vue → editor}/chunks/crmsh.js +0 -0
- /package/{vue → editor}/chunks/crystal.js +0 -0
- /package/{vue → editor}/chunks/csharp.js +0 -0
- /package/{vue → editor}/chunks/csp.js +0 -0
- /package/{vue → editor}/chunks/css.js +0 -0
- /package/{vue → editor}/chunks/d.js +0 -0
- /package/{vue → editor}/chunks/dart.js +0 -0
- /package/{vue → editor}/chunks/delphi.js +0 -0
- /package/{vue → editor}/chunks/diff.js +0 -0
- /package/{vue → editor}/chunks/django.js +0 -0
- /package/{vue → editor}/chunks/dns.js +0 -0
- /package/{vue → editor}/chunks/dockerfile.js +0 -0
- /package/{vue → editor}/chunks/dos.js +0 -0
- /package/{vue → editor}/chunks/dsconfig.js +0 -0
- /package/{vue → editor}/chunks/dts.js +0 -0
- /package/{vue → editor}/chunks/dust.js +0 -0
- /package/{vue → editor}/chunks/ebnf.js +0 -0
- /package/{vue → editor}/chunks/elixir.js +0 -0
- /package/{vue → editor}/chunks/elm.js +0 -0
- /package/{vue → editor}/chunks/erb.js +0 -0
- /package/{vue → editor}/chunks/erlang-repl.js +0 -0
- /package/{vue → editor}/chunks/erlang.js +0 -0
- /package/{vue → editor}/chunks/excel.js +0 -0
- /package/{vue → editor}/chunks/fix.js +0 -0
- /package/{vue → editor}/chunks/flix.js +0 -0
- /package/{vue → editor}/chunks/fortran.js +0 -0
- /package/{vue → editor}/chunks/fsharp.js +0 -0
- /package/{vue → editor}/chunks/gams.js +0 -0
- /package/{vue → editor}/chunks/gauss.js +0 -0
- /package/{vue → editor}/chunks/gcode.js +0 -0
- /package/{vue → editor}/chunks/gherkin.js +0 -0
- /package/{vue → editor}/chunks/glsl.js +0 -0
- /package/{vue → editor}/chunks/gml.js +0 -0
- /package/{vue → editor}/chunks/go.js +0 -0
- /package/{vue → editor}/chunks/golo.js +0 -0
- /package/{vue → editor}/chunks/gradle.js +0 -0
- /package/{vue → editor}/chunks/graphql.js +0 -0
- /package/{vue → editor}/chunks/groovy.js +0 -0
- /package/{vue → editor}/chunks/haml.js +0 -0
- /package/{vue → editor}/chunks/handlebars.js +0 -0
- /package/{vue → editor}/chunks/haskell.js +0 -0
- /package/{vue → editor}/chunks/haxe.js +0 -0
- /package/{vue → editor}/chunks/hsp.js +0 -0
- /package/{vue → editor}/chunks/http.js +0 -0
- /package/{vue → editor}/chunks/hy.js +0 -0
- /package/{vue → editor}/chunks/inform7.js +0 -0
- /package/{vue → editor}/chunks/ini.js +0 -0
- /package/{vue → editor}/chunks/irpf90.js +0 -0
- /package/{vue → editor}/chunks/isbl.js +0 -0
- /package/{vue → editor}/chunks/java.js +0 -0
- /package/{vue → editor}/chunks/javascript.js +0 -0
- /package/{vue → editor}/chunks/jboss-cli.js +0 -0
- /package/{vue → editor}/chunks/json.js +0 -0
- /package/{vue → editor}/chunks/julia-repl.js +0 -0
- /package/{vue → editor}/chunks/julia.js +0 -0
- /package/{vue → editor}/chunks/kotlin.js +0 -0
- /package/{vue → editor}/chunks/lasso.js +0 -0
- /package/{vue → editor}/chunks/latex.js +0 -0
- /package/{vue → editor}/chunks/ldif.js +0 -0
- /package/{vue → editor}/chunks/leaf.js +0 -0
- /package/{vue → editor}/chunks/less.js +0 -0
- /package/{vue → editor}/chunks/lisp.js +0 -0
- /package/{vue → editor}/chunks/livecodeserver.js +0 -0
- /package/{vue → editor}/chunks/livescript.js +0 -0
- /package/{vue → editor}/chunks/llvm.js +0 -0
- /package/{vue → editor}/chunks/lsl.js +0 -0
- /package/{vue → editor}/chunks/lua.js +0 -0
- /package/{vue → editor}/chunks/makefile.js +0 -0
- /package/{vue → editor}/chunks/markdown.js +0 -0
- /package/{vue → editor}/chunks/mathematica.js +0 -0
- /package/{vue → editor}/chunks/matlab.js +0 -0
- /package/{vue → editor}/chunks/maxima.js +0 -0
- /package/{vue → editor}/chunks/mel.js +0 -0
- /package/{vue → editor}/chunks/mercury.js +0 -0
- /package/{vue → editor}/chunks/mipsasm.js +0 -0
- /package/{vue → editor}/chunks/mizar.js +0 -0
- /package/{vue → editor}/chunks/mojolicious.js +0 -0
- /package/{vue → editor}/chunks/monkey.js +0 -0
- /package/{vue → editor}/chunks/moonscript.js +0 -0
- /package/{vue → editor}/chunks/n1ql.js +0 -0
- /package/{vue → editor}/chunks/nestedtext.js +0 -0
- /package/{vue → editor}/chunks/nginx.js +0 -0
- /package/{vue → editor}/chunks/nim.js +0 -0
- /package/{vue → editor}/chunks/nix.js +0 -0
- /package/{vue → editor}/chunks/node-repl.js +0 -0
- /package/{vue → editor}/chunks/nsis.js +0 -0
- /package/{vue → editor}/chunks/objectivec.js +0 -0
- /package/{vue → editor}/chunks/ocaml.js +0 -0
- /package/{vue → editor}/chunks/openscad.js +0 -0
- /package/{vue → editor}/chunks/oxygene.js +0 -0
- /package/{vue → editor}/chunks/parser3.js +0 -0
- /package/{vue → editor}/chunks/perl.js +0 -0
- /package/{vue → editor}/chunks/pf.js +0 -0
- /package/{vue → editor}/chunks/pgsql.js +0 -0
- /package/{vue → editor}/chunks/php-template.js +0 -0
- /package/{vue → editor}/chunks/php.js +0 -0
- /package/{vue → editor}/chunks/plaintext.js +0 -0
- /package/{vue → editor}/chunks/pony.js +0 -0
- /package/{vue → editor}/chunks/powershell.js +0 -0
- /package/{vue → editor}/chunks/processing.js +0 -0
- /package/{vue → editor}/chunks/profile.js +0 -0
- /package/{vue → editor}/chunks/prolog.js +0 -0
- /package/{vue → editor}/chunks/properties.js +0 -0
- /package/{vue → editor}/chunks/protobuf.js +0 -0
- /package/{vue → editor}/chunks/puppet.js +0 -0
- /package/{vue → editor}/chunks/purebasic.js +0 -0
- /package/{vue → editor}/chunks/python-repl.js +0 -0
- /package/{vue → editor}/chunks/python.js +0 -0
- /package/{vue → editor}/chunks/q.js +0 -0
- /package/{vue → editor}/chunks/qml.js +0 -0
- /package/{vue → editor}/chunks/r.js +0 -0
- /package/{vue → editor}/chunks/reasonml.js +0 -0
- /package/{vue → editor}/chunks/rib.js +0 -0
- /package/{vue → editor}/chunks/roboconf.js +0 -0
- /package/{vue → editor}/chunks/routeros.js +0 -0
- /package/{vue → editor}/chunks/rsl.js +0 -0
- /package/{vue → editor}/chunks/ruby.js +0 -0
- /package/{vue → editor}/chunks/ruleslanguage.js +0 -0
- /package/{vue → editor}/chunks/rust.js +0 -0
- /package/{vue → editor}/chunks/sas.js +0 -0
- /package/{vue → editor}/chunks/scala.js +0 -0
- /package/{vue → editor}/chunks/scheme.js +0 -0
- /package/{vue → editor}/chunks/scilab.js +0 -0
- /package/{vue → editor}/chunks/scss.js +0 -0
- /package/{vue → editor}/chunks/shell.js +0 -0
- /package/{vue → editor}/chunks/smali.js +0 -0
- /package/{vue → editor}/chunks/smalltalk.js +0 -0
- /package/{vue → editor}/chunks/sml.js +0 -0
- /package/{vue → editor}/chunks/sqf.js +0 -0
- /package/{vue → editor}/chunks/sql.js +0 -0
- /package/{vue → editor}/chunks/stan.js +0 -0
- /package/{vue → editor}/chunks/stata.js +0 -0
- /package/{vue → editor}/chunks/step21.js +0 -0
- /package/{vue → editor}/chunks/stylus.js +0 -0
- /package/{vue → editor}/chunks/subunit.js +0 -0
- /package/{vue → editor}/chunks/swift.js +0 -0
- /package/{vue → editor}/chunks/taggerscript.js +0 -0
- /package/{vue → editor}/chunks/tap.js +0 -0
- /package/{vue → editor}/chunks/tcl.js +0 -0
- /package/{vue → editor}/chunks/thrift.js +0 -0
- /package/{vue → editor}/chunks/tp.js +0 -0
- /package/{vue → editor}/chunks/twig.js +0 -0
- /package/{vue → editor}/chunks/typescript.js +0 -0
- /package/{vue → editor}/chunks/vala.js +0 -0
- /package/{vue → editor}/chunks/vbnet.js +0 -0
- /package/{vue → editor}/chunks/vbscript-html.js +0 -0
- /package/{vue → editor}/chunks/vbscript.js +0 -0
- /package/{vue → editor}/chunks/verilog.js +0 -0
- /package/{vue → editor}/chunks/vhdl.js +0 -0
- /package/{vue → editor}/chunks/vim.js +0 -0
- /package/{vue → editor}/chunks/wasm.js +0 -0
- /package/{vue → editor}/chunks/wren.js +0 -0
- /package/{vue → editor}/chunks/x86asm.js +0 -0
- /package/{vue → editor}/chunks/xl.js +0 -0
- /package/{vue → editor}/chunks/xml.js +0 -0
- /package/{vue → editor}/chunks/xquery.js +0 -0
- /package/{vue → editor}/chunks/yaml.js +0 -0
- /package/{vue → editor}/chunks/zephir.js +0 -0
- /package/{vue/editor/compact/extensions.d.ts → editor/compact-extensions.d.ts} +0 -0
package/vue/UiMenu.vue
DELETED
|
@@ -1,541 +0,0 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.69 for Vue 3.5. Do not edit. -->
|
|
2
|
-
<script setup lang="ts">
|
|
3
|
-
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
|
-
import type { PropType } from 'vue'
|
|
5
|
-
import {
|
|
6
|
-
checkHydratedRoot,
|
|
7
|
-
createDispatch,
|
|
8
|
-
nativeAttrs,
|
|
9
|
-
useComponentHost,
|
|
10
|
-
useReflectedProp,
|
|
11
|
-
} from './host'
|
|
12
|
-
import { acceptsControllerWrite } from './props'
|
|
13
|
-
import {
|
|
14
|
-
BINDING_INPUTS_PROP,
|
|
15
|
-
checkedProp,
|
|
16
|
-
checkPropInput,
|
|
17
|
-
type InputBindings,
|
|
18
|
-
propValidityState,
|
|
19
|
-
READY_INPUT,
|
|
20
|
-
requireInputStatus,
|
|
21
|
-
UNRESOLVED_INPUT,
|
|
22
|
-
vPropValidity,
|
|
23
|
-
vuePropInputs,
|
|
24
|
-
} from './props'
|
|
25
|
-
|
|
26
|
-
defineOptions({ inheritAttrs: false })
|
|
27
|
-
|
|
28
|
-
const propValidityContract = {
|
|
29
|
-
props: {
|
|
30
|
-
density: {
|
|
31
|
-
type: { kind: 'terminal', name: 'keyword' },
|
|
32
|
-
required: false,
|
|
33
|
-
target: { attribute: 'density' },
|
|
34
|
-
description: 'Compact trades padding and type size for rows that fit more on screen.',
|
|
35
|
-
values: ['comfortable', 'compact'],
|
|
36
|
-
default: 'comfortable',
|
|
37
|
-
},
|
|
38
|
-
for: {
|
|
39
|
-
type: { kind: 'terminal', name: 'string' },
|
|
40
|
-
required: false,
|
|
41
|
-
target: { attribute: 'for' },
|
|
42
|
-
description: 'ID of the control that toggles and anchors the menu.',
|
|
43
|
-
default: '',
|
|
44
|
-
},
|
|
45
|
-
icons: {
|
|
46
|
-
type: { kind: 'terminal', name: 'boolean' },
|
|
47
|
-
required: false,
|
|
48
|
-
target: { attribute: 'icons' },
|
|
49
|
-
description:
|
|
50
|
-
'Reserves a fixed icon column in every item, including items without an icon. Supply item icons through their icon slot.',
|
|
51
|
-
default: false,
|
|
52
|
-
},
|
|
53
|
-
inline: {
|
|
54
|
-
type: { kind: 'terminal', name: 'boolean' },
|
|
55
|
-
required: false,
|
|
56
|
-
target: { attribute: 'inline' },
|
|
57
|
-
description:
|
|
58
|
-
'Displays the menu in the page flow without an overlay or trigger, for an embedded list of actions.',
|
|
59
|
-
default: false,
|
|
60
|
-
},
|
|
61
|
-
open: {
|
|
62
|
-
type: { kind: 'terminal', name: 'boolean' },
|
|
63
|
-
required: false,
|
|
64
|
-
target: { attribute: 'open' },
|
|
65
|
-
description: 'Whether the menu is open initially or when set externally.',
|
|
66
|
-
default: false,
|
|
67
|
-
},
|
|
68
|
-
placement: {
|
|
69
|
-
type: { kind: 'terminal', name: 'string' },
|
|
70
|
-
required: false,
|
|
71
|
-
target: { attribute: 'placement' },
|
|
72
|
-
description: 'Positions an associated menu relative to its trigger.',
|
|
73
|
-
default: 'bottom-start',
|
|
74
|
-
},
|
|
75
|
-
size: {
|
|
76
|
-
type: { kind: 'terminal', name: 'keyword' },
|
|
77
|
-
required: false,
|
|
78
|
-
target: { attribute: 'size' },
|
|
79
|
-
description:
|
|
80
|
-
'sm sizes the menu to a small trigger, such as an xs or sm button: smallest text, short rows, a small check, and a narrower minimum width. md is the\n standard size.',
|
|
81
|
-
values: ['sm', 'md'],
|
|
82
|
-
default: 'md',
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
} as const
|
|
86
|
-
const props = defineProps({
|
|
87
|
-
density: { type: null as unknown as PropType<'comfortable' | 'compact' | null> },
|
|
88
|
-
for: { type: null as unknown as PropType<string | null> },
|
|
89
|
-
icons: { type: null as unknown as PropType<boolean | null> },
|
|
90
|
-
inline: { type: null as unknown as PropType<boolean | null> },
|
|
91
|
-
open: { type: null as unknown as PropType<boolean | null> },
|
|
92
|
-
placement: { type: null as unknown as PropType<string | null> },
|
|
93
|
-
size: { type: null as unknown as PropType<'sm' | 'md' | null> },
|
|
94
|
-
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
95
|
-
})
|
|
96
|
-
const acceptedProps: Record<string, unknown> = {
|
|
97
|
-
density: 'comfortable',
|
|
98
|
-
for: '',
|
|
99
|
-
icons: false,
|
|
100
|
-
inline: false,
|
|
101
|
-
open: false,
|
|
102
|
-
placement: 'bottom-start',
|
|
103
|
-
size: 'md',
|
|
104
|
-
}
|
|
105
|
-
const inputTracking = vuePropInputs(acceptedProps, {
|
|
106
|
-
density: 'comfortable',
|
|
107
|
-
for: '',
|
|
108
|
-
icons: false,
|
|
109
|
-
inline: false,
|
|
110
|
-
open: false,
|
|
111
|
-
placement: 'bottom-start',
|
|
112
|
-
size: 'md',
|
|
113
|
-
}, (name, value, source, values) => {
|
|
114
|
-
switch (name) {
|
|
115
|
-
case 'density':
|
|
116
|
-
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
117
|
-
case 'for':
|
|
118
|
-
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
119
|
-
case 'icons':
|
|
120
|
-
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
121
|
-
case 'inline':
|
|
122
|
-
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
123
|
-
case 'open':
|
|
124
|
-
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
125
|
-
case 'placement':
|
|
126
|
-
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
127
|
-
case 'size':
|
|
128
|
-
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
129
|
-
default:
|
|
130
|
-
return { ok: false }
|
|
131
|
-
}
|
|
132
|
-
}, () => {
|
|
133
|
-
void checkedProps.value
|
|
134
|
-
})
|
|
135
|
-
const propInputs = inputTracking.inputs
|
|
136
|
-
const checkedProps = computed(() => {
|
|
137
|
-
void inputTracking.version.value
|
|
138
|
-
return ({
|
|
139
|
-
density: propInputs.value<'comfortable' | 'compact' | null>(
|
|
140
|
-
'density',
|
|
141
|
-
props['density'],
|
|
142
|
-
props[BINDING_INPUTS_PROP],
|
|
143
|
-
) as 'comfortable' | 'compact',
|
|
144
|
-
for: propInputs.value<string | null>('for', props['for'], props[BINDING_INPUTS_PROP]) as string,
|
|
145
|
-
icons: propInputs.value<boolean | null>(
|
|
146
|
-
'icons',
|
|
147
|
-
props['icons'],
|
|
148
|
-
props[BINDING_INPUTS_PROP],
|
|
149
|
-
) as boolean,
|
|
150
|
-
inline: propInputs.value<boolean | null>(
|
|
151
|
-
'inline',
|
|
152
|
-
props['inline'],
|
|
153
|
-
props[BINDING_INPUTS_PROP],
|
|
154
|
-
) as boolean,
|
|
155
|
-
open: propInputs.value<boolean | null>(
|
|
156
|
-
'open',
|
|
157
|
-
props['open'],
|
|
158
|
-
props[BINDING_INPUTS_PROP],
|
|
159
|
-
) as boolean,
|
|
160
|
-
placement: propInputs.value<string | null>(
|
|
161
|
-
'placement',
|
|
162
|
-
props['placement'],
|
|
163
|
-
props[BINDING_INPUTS_PROP],
|
|
164
|
-
) as string,
|
|
165
|
-
size: propInputs.value<'sm' | 'md' | null>('size', props['size'], props[BINDING_INPUTS_PROP]) as
|
|
166
|
-
| 'sm'
|
|
167
|
-
| 'md',
|
|
168
|
-
})
|
|
169
|
-
})
|
|
170
|
-
const inputStatus = (name: string, handlesError: boolean) => {
|
|
171
|
-
void checkedProps.value
|
|
172
|
-
void inputTracking.version.value
|
|
173
|
-
return requireInputStatus(propInputs.status(name), handlesError)
|
|
174
|
-
}
|
|
175
|
-
void checkedProps.value
|
|
176
|
-
watchSyncEffect(() => {
|
|
177
|
-
void checkedProps.value
|
|
178
|
-
})
|
|
179
|
-
const reflectedProp = useReflectedProp()
|
|
180
|
-
const hydrationInstance = getCurrentInstance()
|
|
181
|
-
const emit = defineEmits<{
|
|
182
|
-
'update:open': [value: boolean]
|
|
183
|
-
select: [
|
|
184
|
-
event: CustomEvent<
|
|
185
|
-
{
|
|
186
|
-
readonly value: string
|
|
187
|
-
readonly checked?: boolean | null
|
|
188
|
-
readonly trigger: 'keyboard' | 'pointer' | 'programmatic'
|
|
189
|
-
}
|
|
190
|
-
>,
|
|
191
|
-
]
|
|
192
|
-
open: [
|
|
193
|
-
event: CustomEvent<
|
|
194
|
-
{
|
|
195
|
-
readonly open: boolean
|
|
196
|
-
readonly reason: 'action' | 'programmatic'
|
|
197
|
-
readonly trigger: 'keyboard' | 'pointer' | 'programmatic'
|
|
198
|
-
}
|
|
199
|
-
>,
|
|
200
|
-
]
|
|
201
|
-
close: [
|
|
202
|
-
event: CustomEvent<
|
|
203
|
-
{
|
|
204
|
-
readonly open: boolean
|
|
205
|
-
readonly reason: 'action' | 'programmatic' | 'light-dismiss' | 'escape'
|
|
206
|
-
readonly trigger: 'keyboard' | 'pointer' | 'programmatic'
|
|
207
|
-
}
|
|
208
|
-
>,
|
|
209
|
-
]
|
|
210
|
-
}>()
|
|
211
|
-
|
|
212
|
-
const root = ref<HTMLElement | null>(null)
|
|
213
|
-
const internalOpen = ref(false)
|
|
214
|
-
provide('html-next:ui-menu:internalOpen', internalOpen)
|
|
215
|
-
checkHydratedRoot('div', 'ui-menu')
|
|
216
|
-
|
|
217
|
-
/** The values the styles' :host() and :state() rules test. */
|
|
218
|
-
const hostState = computed(() =>
|
|
219
|
-
[
|
|
220
|
-
checkedProps.value.density && 'density',
|
|
221
|
-
checkedProps.value.density != null
|
|
222
|
-
&& `density=${encodeURIComponent(checkedProps.value.density)}`,
|
|
223
|
-
checkedProps.value.size && 'size',
|
|
224
|
-
checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`,
|
|
225
|
-
checkedProps.value.icons && 'icons',
|
|
226
|
-
internalOpen.value && 'internalOpen',
|
|
227
|
-
checkedProps.value.inline && 'inline',
|
|
228
|
-
].filter(Boolean).join(' ')
|
|
229
|
-
)
|
|
230
|
-
|
|
231
|
-
const isSelectDetail = (
|
|
232
|
-
detail: unknown,
|
|
233
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
234
|
-
&& typeof (detail as Record<string, unknown>)['value'] === 'string'
|
|
235
|
-
&& ((detail as Record<string, unknown>)['checked'] == null
|
|
236
|
-
|| typeof (detail as Record<string, unknown>)['checked'] === 'boolean')
|
|
237
|
-
&& ((detail as Record<string, unknown>)['trigger'] === 'keyboard'
|
|
238
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'pointer'
|
|
239
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'programmatic')
|
|
240
|
-
&& Object.keys(detail as object).every((key) => ['value', 'checked', 'trigger'].includes(key)))
|
|
241
|
-
const isOpenDetail = (
|
|
242
|
-
detail: unknown,
|
|
243
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
244
|
-
&& typeof (detail as Record<string, unknown>)['open'] === 'boolean'
|
|
245
|
-
&& ((detail as Record<string, unknown>)['reason'] === 'action'
|
|
246
|
-
|| (detail as Record<string, unknown>)['reason'] === 'programmatic')
|
|
247
|
-
&& ((detail as Record<string, unknown>)['trigger'] === 'keyboard'
|
|
248
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'pointer'
|
|
249
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'programmatic')
|
|
250
|
-
&& Object.keys(detail as object).every((key) => ['open', 'reason', 'trigger'].includes(key)))
|
|
251
|
-
const isCloseDetail = (
|
|
252
|
-
detail: unknown,
|
|
253
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
254
|
-
&& typeof (detail as Record<string, unknown>)['open'] === 'boolean'
|
|
255
|
-
&& ((detail as Record<string, unknown>)['reason'] === 'action'
|
|
256
|
-
|| (detail as Record<string, unknown>)['reason'] === 'programmatic'
|
|
257
|
-
|| (detail as Record<string, unknown>)['reason'] === 'light-dismiss'
|
|
258
|
-
|| (detail as Record<string, unknown>)['reason'] === 'escape')
|
|
259
|
-
&& ((detail as Record<string, unknown>)['trigger'] === 'keyboard'
|
|
260
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'pointer'
|
|
261
|
-
|| (detail as Record<string, unknown>)['trigger'] === 'programmatic')
|
|
262
|
-
&& Object.keys(detail as object).every((key) => ['open', 'reason', 'trigger'].includes(key)))
|
|
263
|
-
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
264
|
-
checks: {
|
|
265
|
-
select: isSelectDetail,
|
|
266
|
-
open: isOpenDetail,
|
|
267
|
-
close: isCloseDetail,
|
|
268
|
-
},
|
|
269
|
-
modeled: ['open'],
|
|
270
|
-
})
|
|
271
|
-
|
|
272
|
-
useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
273
|
-
root,
|
|
274
|
-
module: true,
|
|
275
|
-
dispatch,
|
|
276
|
-
acceptsState: (name: string, keys: readonly string[], value: unknown) =>
|
|
277
|
-
acceptsControllerWrite(
|
|
278
|
-
value,
|
|
279
|
-
({ internalOpen: { kind: 'terminal', name: 'boolean' } } as Record<string, any>)[name],
|
|
280
|
-
keys,
|
|
281
|
-
),
|
|
282
|
-
initials: { internalOpen: false },
|
|
283
|
-
controllerSource: {
|
|
284
|
-
specifier: '../components/ui-menu/ui-menu.js',
|
|
285
|
-
definition: './components/ui-menu/ui-menu.html',
|
|
286
|
-
},
|
|
287
|
-
props: checkedProps,
|
|
288
|
-
inputs: propInputs,
|
|
289
|
-
inputTracking,
|
|
290
|
-
propInputs: (name: string) => {
|
|
291
|
-
const incoming = hydrationInstance?.vnode.props
|
|
292
|
-
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
293
|
-
return incoming !== null && incoming !== undefined
|
|
294
|
-
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
295
|
-
: null
|
|
296
|
-
},
|
|
297
|
-
propNames: ['density', 'for', 'icons', 'inline', 'open', 'placement', 'size'],
|
|
298
|
-
propValidity: (name: string) =>
|
|
299
|
-
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
300
|
-
state: { internalOpen },
|
|
301
|
-
})
|
|
302
|
-
</script>
|
|
303
|
-
|
|
304
|
-
<template>
|
|
305
|
-
<div
|
|
306
|
-
class="ui-menu"
|
|
307
|
-
role="menu"
|
|
308
|
-
aria-orientation="vertical"
|
|
309
|
-
v-bind="nativeAttrs($attrs)"
|
|
310
|
-
data-hn
|
|
311
|
-
data-hn-ui-menu
|
|
312
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
313
|
-
:data-ui-menu-prop-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
314
|
-
:data-ui-menu-prop-for="reflectedProp('for', 'for', checkedProps.for, undefined, false)"
|
|
315
|
-
:data-ui-menu-prop-icons="reflectedProp('icons', 'icons', checkedProps.icons, undefined, false)"
|
|
316
|
-
:data-ui-menu-prop-inline="reflectedProp('inline', 'inline', checkedProps.inline, undefined, false)"
|
|
317
|
-
:data-ui-menu-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
318
|
-
:data-ui-menu-prop-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
319
|
-
:data-ui-menu-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
320
|
-
:data-ui-menu-state="hostState || undefined"
|
|
321
|
-
ref="root"
|
|
322
|
-
>
|
|
323
|
-
<div class="surface" data-hn-ui-menu><slot /></div>
|
|
324
|
-
</div>
|
|
325
|
-
</template>
|
|
326
|
-
|
|
327
|
-
<style scoped>
|
|
328
|
-
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
329
|
-
still win. */
|
|
330
|
-
|
|
331
|
-
/* Small follows its trigger down: an item's own hooks still win. */
|
|
332
|
-
|
|
333
|
-
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
334
|
-
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
335
|
-
|
|
336
|
-
@scope (.ui-menu) to ([data-hn]) {
|
|
337
|
-
:global(:scope[data-ui-menu-state~="density=compact"]:where([data-hn-ui-menu])) {
|
|
338
|
-
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
339
|
-
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
340
|
-
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
341
|
-
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
342
|
-
padding: var(--ui-space-1) !important;
|
|
343
|
-
gap: 0 !important;
|
|
344
|
-
}
|
|
345
|
-
:global(:scope[data-ui-menu-state~="size=sm"]:where([data-hn-ui-menu])) {
|
|
346
|
-
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
347
|
-
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
348
|
-
--_ui-default-menu-item-font-size: var(--ui-font-size-xs);
|
|
349
|
-
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
350
|
-
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
351
|
-
--_ui-default-menu-indicator-size: 0.75rem;
|
|
352
|
-
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
353
|
-
padding: var(--ui-space-1) !important;
|
|
354
|
-
gap: 0 !important;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
:global(:scope[data-ui-menu-state~="icons"]:where([data-hn-ui-menu])) {
|
|
358
|
-
--_ui-default-menu-icon-display: inline-flex;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
:global(:scope:where([data-hn-ui-menu])) {
|
|
362
|
-
--_ui-material-scale: 0.28;
|
|
363
|
-
--_ui-menu-surface: var(--ui-menu-surface);
|
|
364
|
-
--_ui-menu-border: var(--ui-menu-border);
|
|
365
|
-
--_ui-menu-radius: var(--ui-menu-radius);
|
|
366
|
-
--_ui-menu-shadow: var(--ui-menu-shadow);
|
|
367
|
-
/* A menu nested in a compact one starts again from its own density. */
|
|
368
|
-
--_ui-default-menu-item-padding-block: initial;
|
|
369
|
-
--_ui-default-menu-item-padding-inline: initial;
|
|
370
|
-
--_ui-default-menu-item-font-size: initial;
|
|
371
|
-
--_ui-default-menu-item-radius: initial;
|
|
372
|
-
--_ui-default-menu-item-min-block-size: initial;
|
|
373
|
-
--_ui-default-menu-indicator-size: initial;
|
|
374
|
-
--_ui-default-menu-icon-display: none;
|
|
375
|
-
display: flex !important;
|
|
376
|
-
flex-direction: column !important;
|
|
377
|
-
box-sizing: border-box !important;
|
|
378
|
-
inline-size: max-content;
|
|
379
|
-
min-inline-size: min(12rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
380
|
-
max-inline-size: calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
381
|
-
padding: 0 !important;
|
|
382
|
-
border: 0;
|
|
383
|
-
outline: 0;
|
|
384
|
-
border-radius: 0;
|
|
385
|
-
background: transparent;
|
|
386
|
-
box-shadow: none;
|
|
387
|
-
overflow: visible;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
:global(.surface:where([data-hn-ui-menu])) {
|
|
391
|
-
display: flex !important;
|
|
392
|
-
flex-direction: column !important;
|
|
393
|
-
box-sizing: border-box !important;
|
|
394
|
-
max-inline-size: inherit;
|
|
395
|
-
padding: var(--ui-space-1) !important;
|
|
396
|
-
background: var(--_ui-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
397
|
-
border: var(--ui-border-width) solid
|
|
398
|
-
var(--_ui-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
399
|
-
border-radius: var(--_ui-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
400
|
-
box-shadow: var(
|
|
401
|
-
--_ui-menu-shadow,
|
|
402
|
-
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
403
|
-
);
|
|
404
|
-
max-block-size: inherit;
|
|
405
|
-
overflow: auto;
|
|
406
|
-
}
|
|
407
|
-
:global(:scope:not([inline]) .surface:where([data-hn-ui-menu])) {
|
|
408
|
-
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
409
|
-
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
410
|
-
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
411
|
-
--_ui-material-rim: calc(
|
|
412
|
-
var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px
|
|
413
|
-
);
|
|
414
|
-
--_ui-material-content-color: var(
|
|
415
|
-
--_ui-menu-surface,
|
|
416
|
-
var(
|
|
417
|
-
--_ui-material-underpaint,
|
|
418
|
-
var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
|
|
419
|
-
)
|
|
420
|
-
);
|
|
421
|
-
--_ui-material-rim-color: color-mix(
|
|
422
|
-
in srgb,
|
|
423
|
-
var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%),
|
|
424
|
-
transparent
|
|
425
|
-
);
|
|
426
|
-
background:
|
|
427
|
-
var(
|
|
428
|
-
--ui-material-highlight,
|
|
429
|
-
var(--ui-surface-highlight, linear-gradient(transparent, transparent))
|
|
430
|
-
) padding-box,
|
|
431
|
-
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
|
|
432
|
-
padding-box,
|
|
433
|
-
linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
|
|
434
|
-
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
435
|
-
border-color: var(
|
|
436
|
-
--_ui-menu-border,
|
|
437
|
-
color-mix(
|
|
438
|
-
in oklab,
|
|
439
|
-
var(--ui-overlay-border, var(--ui-border-strong)) calc(
|
|
440
|
-
(1 - var(--_ui-material-active)) * 100%
|
|
441
|
-
),
|
|
442
|
-
transparent
|
|
443
|
-
)
|
|
444
|
-
);
|
|
445
|
-
box-shadow: var(
|
|
446
|
-
--_ui-menu-shadow,
|
|
447
|
-
var(
|
|
448
|
-
--ui-overlay-shadow,
|
|
449
|
-
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px) calc(
|
|
450
|
-
var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 24px
|
|
451
|
-
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
452
|
-
var(--ui-material-glow, 0 0 transparent),
|
|
453
|
-
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(
|
|
454
|
-
--ui-material-edge,
|
|
455
|
-
var(--ui-border-strong)
|
|
456
|
-
),
|
|
457
|
-
var(--ui-elevation-overlay, var(--ui-shadow-lg))
|
|
458
|
-
)
|
|
459
|
-
);
|
|
460
|
-
-webkit-backdrop-filter: blur(
|
|
461
|
-
calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px)
|
|
462
|
-
);
|
|
463
|
-
backdrop-filter: blur(
|
|
464
|
-
calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px)
|
|
465
|
-
);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
469
|
-
:global(:scope:not([inline]) .surface:where([data-hn-ui-menu])) {
|
|
470
|
-
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
@media (prefers-reduced-transparency: reduce) {
|
|
475
|
-
:global(:scope:not([inline]) .surface:where([data-hn-ui-menu])) {
|
|
476
|
-
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
477
|
-
-webkit-backdrop-filter: none;
|
|
478
|
-
backdrop-filter: none;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
@media (forced-colors: active) {
|
|
483
|
-
:global(:scope:not([inline]) .surface:where([data-hn-ui-menu])) {
|
|
484
|
-
background: Canvas;
|
|
485
|
-
border-color: CanvasText;
|
|
486
|
-
box-shadow: none;
|
|
487
|
-
-webkit-backdrop-filter: none;
|
|
488
|
-
backdrop-filter: none;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
:global(.surface hr:where([data-hn-ui-menu])) {
|
|
493
|
-
align-self: stretch;
|
|
494
|
-
block-size: 0;
|
|
495
|
-
margin: var(--ui-space-1) 0 !important;
|
|
496
|
-
border: 0;
|
|
497
|
-
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
:global(:scope:not([data-ui-menu-state~="internalOpen"]):not(:scope[data-ui-menu-state~="inline"]):where([data-hn-ui-menu])) {
|
|
501
|
-
display: none !important;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
:global(:scope[popover]:where([data-hn-ui-menu])) {
|
|
505
|
-
position: fixed;
|
|
506
|
-
inset: auto;
|
|
507
|
-
margin: 0 !important;
|
|
508
|
-
overflow: visible;
|
|
509
|
-
max-block-size: calc(100dvh - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
510
|
-
opacity: 0;
|
|
511
|
-
transform: translateY(-4px) scale(0.99);
|
|
512
|
-
transition:
|
|
513
|
-
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
514
|
-
transform var(--ui-motion-fast) var(--ui-motion-ease),
|
|
515
|
-
display var(--ui-motion-fast) allow-discrete,
|
|
516
|
-
overlay var(--ui-motion-fast) allow-discrete;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
:global(:scope[popover]:popover-open:where([data-hn-ui-menu])) {
|
|
520
|
-
opacity: 1;
|
|
521
|
-
transform: translateY(0) scale(1);
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
@starting-style {
|
|
525
|
-
:global(:scope[popover]:popover-open:where([data-hn-ui-menu])) {
|
|
526
|
-
opacity: 0;
|
|
527
|
-
transform: translateY(-4px) scale(0.99);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
:global(:scope[hidden]:where([data-hn-ui-menu])) {
|
|
532
|
-
display: none !important;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
@media (prefers-reduced-motion: reduce) {
|
|
536
|
-
:global(:scope[popover]:where([data-hn-ui-menu])) {
|
|
537
|
-
transition: none;
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
</style>
|
package/vue/UiMenuGroup.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import { type InputBindings } from './props.js';
|
|
3
|
-
declare var __VLS_1: {};
|
|
4
|
-
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof __VLS_1) => any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
-
label: {
|
|
9
|
-
type: PropType<string | null>;
|
|
10
|
-
};
|
|
11
|
-
"\0htmlNextInputStatus": {
|
|
12
|
-
type: PropType<InputBindings>;
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
label: {
|
|
16
|
-
type: PropType<string | null>;
|
|
17
|
-
};
|
|
18
|
-
"\0htmlNextInputStatus": {
|
|
19
|
-
type: PropType<InputBindings>;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
-
declare const _default: typeof __VLS_export;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
package/vue/UiMenuGroup.js
DELETED
package/vue/UiMenuGroup.vue
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.69 for Vue 3.5. Do not edit. -->
|
|
2
|
-
<script setup lang="ts">
|
|
3
|
-
import { computed, watchSyncEffect } from 'vue'
|
|
4
|
-
import type { PropType } from 'vue'
|
|
5
|
-
import { checkHydratedRoot, nativeAttrs, useReflectedProp } from './host'
|
|
6
|
-
import {
|
|
7
|
-
BINDING_INPUTS_PROP,
|
|
8
|
-
checkedProp,
|
|
9
|
-
checkPropInput,
|
|
10
|
-
type InputBindings,
|
|
11
|
-
READY_INPUT,
|
|
12
|
-
requireInputStatus,
|
|
13
|
-
UNRESOLVED_INPUT,
|
|
14
|
-
vPropValidity,
|
|
15
|
-
vuePropInputs,
|
|
16
|
-
} from './props'
|
|
17
|
-
|
|
18
|
-
defineOptions({ inheritAttrs: false })
|
|
19
|
-
|
|
20
|
-
const propValidityContract = {
|
|
21
|
-
props: {
|
|
22
|
-
label: {
|
|
23
|
-
type: { kind: 'terminal', name: 'string' },
|
|
24
|
-
required: false,
|
|
25
|
-
target: { attribute: 'aria-label' },
|
|
26
|
-
description: 'Visible heading and accessible name for this group of menu items.',
|
|
27
|
-
default: '',
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
} as const
|
|
31
|
-
const props = defineProps({
|
|
32
|
-
label: { type: null as unknown as PropType<string | null> },
|
|
33
|
-
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
34
|
-
})
|
|
35
|
-
const acceptedProps: Record<string, unknown> = { label: '' }
|
|
36
|
-
const inputTracking = vuePropInputs(acceptedProps, { label: '' }, (name, value, source, values) => {
|
|
37
|
-
switch (name) {
|
|
38
|
-
case 'label':
|
|
39
|
-
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
40
|
-
default:
|
|
41
|
-
return { ok: false }
|
|
42
|
-
}
|
|
43
|
-
}, () => {
|
|
44
|
-
void checkedProps.value
|
|
45
|
-
})
|
|
46
|
-
const propInputs = inputTracking.inputs
|
|
47
|
-
const checkedProps = computed(() => {
|
|
48
|
-
void inputTracking.version.value
|
|
49
|
-
return ({
|
|
50
|
-
label: propInputs.value<string | null>(
|
|
51
|
-
'label',
|
|
52
|
-
props['label'],
|
|
53
|
-
props[BINDING_INPUTS_PROP],
|
|
54
|
-
) as string,
|
|
55
|
-
})
|
|
56
|
-
})
|
|
57
|
-
const inputStatus = (name: string, handlesError: boolean) => {
|
|
58
|
-
void checkedProps.value
|
|
59
|
-
void inputTracking.version.value
|
|
60
|
-
return requireInputStatus(propInputs.status(name), handlesError)
|
|
61
|
-
}
|
|
62
|
-
void checkedProps.value
|
|
63
|
-
watchSyncEffect(() => {
|
|
64
|
-
void checkedProps.value
|
|
65
|
-
})
|
|
66
|
-
const reflectedProp = useReflectedProp()
|
|
67
|
-
|
|
68
|
-
checkHydratedRoot('div', 'ui-menu-group')
|
|
69
|
-
</script>
|
|
70
|
-
|
|
71
|
-
<template>
|
|
72
|
-
<div
|
|
73
|
-
class="ui-menu-group"
|
|
74
|
-
role="group"
|
|
75
|
-
v-bind="nativeAttrs($attrs)"
|
|
76
|
-
data-hn
|
|
77
|
-
data-hn-ui-menu-group
|
|
78
|
-
:aria-label="checkedProps.label ?? undefined"
|
|
79
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
80
|
-
:data-ui-menu-group-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
81
|
-
>
|
|
82
|
-
<div v-if="checkedProps.label" class="heading" data-hn-ui-menu-group>
|
|
83
|
-
{{ checkedProps.label }}
|
|
84
|
-
</div>{{ ' ' }}<slot />
|
|
85
|
-
</div>
|
|
86
|
-
</template>
|
|
87
|
-
|
|
88
|
-
<style scoped>
|
|
89
|
-
@scope (.ui-menu-group) to ([data-hn]) {
|
|
90
|
-
:global(:scope:where([data-hn-ui-menu-group])) {
|
|
91
|
-
display: flex !important;
|
|
92
|
-
flex-direction: column !important;
|
|
93
|
-
min-inline-size: 0;
|
|
94
|
-
}
|
|
95
|
-
:global(.heading:where([data-hn-ui-menu-group])) {
|
|
96
|
-
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1) !important;
|
|
97
|
-
color: var(--ui-text-muted);
|
|
98
|
-
font-size: var(--ui-font-size-sm);
|
|
99
|
-
font-weight: var(--ui-font-semibold);
|
|
100
|
-
}
|
|
101
|
-
:global(:scope[hidden]:where([data-hn-ui-menu-group])) {
|
|
102
|
-
display: none !important;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
</style>
|