@threadlabs/looma 0.4.0 → 0.5.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 +43 -12
- package/components/shared/editor.js +69 -0
- package/components/shared/input-modality.js +20 -0
- package/components/shared/overlay.js +281 -0
- package/components/shared/trigger.js +17 -0
- package/components/ui-affordance-scope/ui-affordance-scope.html +22 -0
- package/components/ui-affordance-scope/ui-affordance-scope.js +76 -0
- package/components/ui-avatar/ui-avatar.html +59 -0
- package/components/ui-avatar/ui-avatar.js +47 -0
- package/components/ui-avatar-group/ui-avatar-group.html +62 -0
- package/components/ui-avatar-group/ui-avatar-group.js +27 -0
- package/components/ui-badge/ui-badge.html +94 -0
- package/components/ui-button/ui-button.html +198 -0
- package/components/ui-callout/ui-callout.html +104 -0
- package/components/ui-checkbox/ui-checkbox.html +107 -0
- package/components/ui-checkbox/ui-checkbox.js +24 -0
- package/components/ui-cluster/ui-cluster.html +49 -0
- package/components/ui-combobox/ui-combobox.html +377 -0
- package/components/ui-combobox/ui-combobox.js +432 -0
- package/components/ui-container/ui-container.html +39 -0
- package/components/ui-context-menu/ui-context-menu.html +75 -0
- package/components/ui-context-menu/ui-context-menu.js +143 -0
- package/components/ui-dialog/ui-dialog.html +178 -0
- package/components/ui-dialog/ui-dialog.js +105 -0
- package/components/ui-disclosure/ui-disclosure.html +109 -0
- package/components/ui-disclosure/ui-disclosure.js +28 -0
- package/components/ui-editable/ui-editable.html +163 -0
- package/components/ui-editable/ui-editable.js +113 -0
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +97 -0
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +71 -0
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +157 -0
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +50 -0
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +197 -0
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +44 -0
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +164 -0
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +75 -0
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +422 -0
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +119 -0
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +271 -0
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +54 -0
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +110 -0
- package/components/ui-floating-action-button/ui-floating-action-button.html +83 -0
- package/components/ui-form-field/ui-form-field.html +45 -0
- package/components/ui-form-field/ui-form-field.js +71 -0
- package/components/ui-grid/ui-grid.html +46 -0
- package/components/ui-icon/ui-icon.html +34 -0
- package/components/ui-icon/ui-icon.js +8 -0
- package/components/ui-icon-button/ui-icon-button.html +167 -0
- package/components/ui-icon-button/ui-icon-button.js +7 -0
- package/components/ui-input/ui-input.html +81 -0
- package/components/ui-input/ui-input.js +7 -0
- package/components/ui-menu/ui-menu.html +87 -0
- package/components/ui-menu/ui-menu.js +114 -0
- package/components/ui-menu-item/ui-menu-item.html +37 -0
- package/components/ui-popover/ui-popover.html +85 -0
- package/components/ui-popover/ui-popover.js +70 -0
- package/components/ui-radio/ui-radio.html +57 -0
- package/components/ui-radio/ui-radio.js +25 -0
- package/components/ui-radio-group/ui-radio-group.html +51 -0
- package/components/ui-radio-group/ui-radio-group.js +42 -0
- package/components/ui-reel/ui-reel.html +67 -0
- package/components/ui-search-result-row/ui-search-result-row.html +101 -0
- package/components/ui-search-shell/ui-search-shell.html +142 -0
- package/components/ui-search-shell/ui-search-shell.js +60 -0
- package/components/ui-select/ui-select.html +87 -0
- package/components/ui-select/ui-select.js +16 -0
- package/components/ui-separator/ui-separator.html +22 -0
- package/components/ui-sidebar/ui-sidebar.html +183 -0
- package/components/ui-sidebar/ui-sidebar.js +178 -0
- package/components/ui-stack/ui-stack.html +59 -0
- package/components/ui-switch/ui-switch.html +95 -0
- package/components/ui-switch/ui-switch.js +24 -0
- package/components/ui-switcher/ui-switcher.html +65 -0
- package/components/ui-tabs/ui-tabs.html +134 -0
- package/components/ui-tabs/ui-tabs.js +81 -0
- package/components/ui-textarea/ui-textarea.html +80 -0
- package/components/ui-textarea/ui-textarea.js +7 -0
- package/components/ui-toast-region/ui-toast-region.html +127 -0
- package/components/ui-toast-region/ui-toast-region.js +119 -0
- package/components/ui-tooltip/ui-tooltip.html +122 -0
- package/components/ui-tooltip/ui-tooltip.js +134 -0
- package/components/ui-top-bar/ui-top-bar.html +53 -0
- package/components/ui-tree/ui-tree.html +29 -0
- package/components/ui-tree/ui-tree.js +250 -0
- package/components/ui-tree-item/ui-tree-item.html +326 -0
- package/components/ui-tree-item/ui-tree-item.js +94 -0
- package/dist/index.d.ts +4 -414
- package/dist/index.js +55 -657
- package/editor/chunks/extensions.js +7267 -0
- package/editor/chunks/table-backgrounds.js +51 -0
- package/editor/chunks/ui.js +92 -0
- package/editor/extensions/callout.d.ts +20 -0
- package/editor/extensions/index.d.ts +12 -441
- package/editor/extensions/index.js +3 -64
- package/editor/extensions/list-behavior.d.ts +7 -0
- package/editor/extensions/mention.d.ts +35 -0
- package/editor/extensions/preset.d.ts +42 -0
- package/editor/extensions/slash-command.d.ts +80 -0
- package/editor/extensions/smart-paste.d.ts +13 -0
- package/editor/extensions/table-commands.d.ts +114 -0
- package/editor/extensions/table-formatting.d.ts +60 -0
- package/editor/icons.d.ts +55 -0
- package/editor/index.d.ts +8 -6
- package/editor/index.js +96 -71
- package/editor/insert-table-grid.d.ts +7 -0
- package/editor/mention-contract.d.ts +78 -0
- package/editor/mention-menu.d.ts +9 -0
- package/editor/slash-menu.d.ts +29 -0
- package/editor/table-backgrounds.d.ts +43 -0
- package/editor/table-context-menu.d.ts +12 -0
- package/editor/table-overlay.d.ts +79 -0
- package/editor/ui.d.ts +10 -50
- package/editor/ui.js +3 -14
- package/editor/viewport.d.ts +15 -0
- package/package.json +84 -60
- package/styles/ui-affordance-scope.css +19 -0
- package/styles/ui-avatar-group.css +56 -0
- package/styles/ui-avatar.css +47 -0
- package/styles/ui-badge.css +91 -0
- package/styles/ui-button.css +206 -0
- package/styles/ui-callout.css +76 -0
- package/styles/ui-checkbox.css +98 -0
- package/styles/ui-cluster.css +46 -0
- package/styles/ui-combobox.css +213 -0
- package/styles/ui-container.css +36 -0
- package/styles/ui-context-menu.css +68 -0
- package/styles/ui-dialog.css +160 -0
- package/styles/ui-disclosure.css +95 -0
- package/styles/ui-editable.css +139 -0
- package/styles/ui-editor-insert-table-grid.css +65 -0
- package/styles/ui-editor-mention-menu.css +121 -0
- package/styles/ui-editor-slash-menu.css +179 -0
- package/styles/ui-editor-table-context-menu.css +118 -0
- package/styles/ui-editor-table-overlay.css +318 -0
- package/styles/ui-editor-table-toolbar.css +191 -0
- package/styles/ui-editor-toolbar.css +115 -0
- package/styles/ui-floating-action-button.css +82 -0
- package/styles/ui-form-field.css +36 -0
- package/styles/ui-grid.css +43 -0
- package/styles/ui-icon-button.css +169 -0
- package/styles/ui-icon.css +23 -0
- package/styles/ui-input.css +82 -0
- package/styles/ui-menu-item.css +34 -0
- package/styles/ui-menu.css +80 -0
- package/styles/ui-popover.css +76 -0
- package/styles/ui-radio-group.css +38 -0
- package/styles/ui-radio.css +46 -0
- package/styles/ui-reel.css +63 -0
- package/styles/ui-search-result-row.css +92 -0
- package/styles/ui-search-shell.css +128 -0
- package/styles/ui-select.css +86 -0
- package/styles/ui-separator.css +16 -0
- package/styles/ui-sidebar.css +166 -0
- package/styles/ui-stack.css +55 -0
- package/styles/ui-switch.css +88 -0
- package/styles/ui-switcher.css +61 -0
- package/styles/ui-tabs.css +114 -0
- package/styles/ui-textarea.css +77 -0
- package/styles/ui-toast-region.css +103 -0
- package/styles/ui-tooltip.css +113 -0
- package/styles/ui-top-bar.css +51 -0
- package/styles/ui-tree-item.css +267 -0
- package/styles/ui-tree.css +16 -0
- package/vanilla/UiAffordanceScope.d.ts +14 -0
- package/vanilla/UiAffordanceScope.js +30 -0
- package/vanilla/UiAvatar.d.ts +17 -0
- package/vanilla/UiAvatar.js +41 -0
- package/vanilla/UiAvatarGroup.d.ts +15 -0
- package/vanilla/UiAvatarGroup.js +40 -0
- package/vanilla/UiBadge.d.ts +15 -0
- package/vanilla/UiBadge.js +30 -0
- package/vanilla/UiButton.d.ts +16 -0
- package/vanilla/UiButton.js +32 -0
- package/vanilla/UiCallout.d.ts +14 -0
- package/vanilla/UiCallout.js +124 -0
- package/vanilla/UiCheckbox.d.ts +19 -0
- package/vanilla/UiCheckbox.js +47 -0
- package/vanilla/UiCluster.d.ts +15 -0
- package/vanilla/UiCluster.js +30 -0
- package/vanilla/UiCombobox.d.ts +42 -0
- package/vanilla/UiCombobox.js +194 -0
- package/vanilla/UiContainer.d.ts +15 -0
- package/vanilla/UiContainer.js +30 -0
- package/vanilla/UiContextMenu.d.ts +18 -0
- package/vanilla/UiContextMenu.js +35 -0
- package/vanilla/UiDialog.d.ts +19 -0
- package/vanilla/UiDialog.js +53 -0
- package/vanilla/UiDisclosure.d.ts +18 -0
- package/vanilla/UiDisclosure.js +49 -0
- package/vanilla/UiEditable.d.ts +22 -0
- package/vanilla/UiEditable.js +59 -0
- package/vanilla/UiEditorInsertTableGrid.d.ts +18 -0
- package/vanilla/UiEditorInsertTableGrid.js +46 -0
- package/vanilla/UiEditorMentionMenu.d.ts +21 -0
- package/vanilla/UiEditorMentionMenu.js +63 -0
- package/vanilla/UiEditorSlashMenu.d.ts +20 -0
- package/vanilla/UiEditorSlashMenu.js +74 -0
- package/vanilla/UiEditorTableContextMenu.d.ts +17 -0
- package/vanilla/UiEditorTableContextMenu.js +69 -0
- package/vanilla/UiEditorTableOverlay.d.ts +16 -0
- package/vanilla/UiEditorTableOverlay.js +113 -0
- package/vanilla/UiEditorTableToolbar.d.ts +18 -0
- package/vanilla/UiEditorTableToolbar.js +121 -0
- package/vanilla/UiEditorToolbar.d.ts +14 -0
- package/vanilla/UiEditorToolbar.js +30 -0
- package/vanilla/UiFloatingActionButton.d.ts +16 -0
- package/vanilla/UiFloatingActionButton.js +35 -0
- package/vanilla/UiFormField.d.ts +16 -0
- package/vanilla/UiFormField.js +54 -0
- package/vanilla/UiGrid.d.ts +15 -0
- package/vanilla/UiGrid.js +30 -0
- package/vanilla/UiIcon.d.ts +14 -0
- package/vanilla/UiIcon.js +40 -0
- package/vanilla/UiIconButton.d.ts +19 -0
- package/vanilla/UiIconButton.js +37 -0
- package/vanilla/UiInput.d.ts +18 -0
- package/vanilla/UiInput.js +37 -0
- package/vanilla/UiMenu.d.ts +19 -0
- package/vanilla/UiMenu.js +35 -0
- package/vanilla/UiMenuItem.d.ts +15 -0
- package/vanilla/UiMenuItem.js +43 -0
- package/vanilla/UiPopover.d.ts +18 -0
- package/vanilla/UiPopover.js +33 -0
- package/vanilla/UiRadio.d.ts +19 -0
- package/vanilla/UiRadio.js +48 -0
- package/vanilla/UiRadioGroup.d.ts +21 -0
- package/vanilla/UiRadioGroup.js +35 -0
- package/vanilla/UiReel.d.ts +16 -0
- package/vanilla/UiReel.js +34 -0
- package/vanilla/UiSearchResultRow.d.ts +15 -0
- package/vanilla/UiSearchResultRow.js +82 -0
- package/vanilla/UiSearchShell.d.ts +18 -0
- package/vanilla/UiSearchShell.js +74 -0
- package/vanilla/UiSelect.d.ts +18 -0
- package/vanilla/UiSelect.js +42 -0
- package/vanilla/UiSeparator.d.ts +14 -0
- package/vanilla/UiSeparator.js +28 -0
- package/vanilla/UiSidebar.d.ts +24 -0
- package/vanilla/UiSidebar.js +47 -0
- package/vanilla/UiStack.d.ts +16 -0
- package/vanilla/UiStack.js +32 -0
- package/vanilla/UiSwitch.d.ts +18 -0
- package/vanilla/UiSwitch.js +46 -0
- package/vanilla/UiSwitcher.d.ts +16 -0
- package/vanilla/UiSwitcher.js +32 -0
- package/vanilla/UiTabs.d.ts +18 -0
- package/vanilla/UiTabs.js +47 -0
- package/vanilla/UiTextarea.d.ts +19 -0
- package/vanilla/UiTextarea.js +40 -0
- package/vanilla/UiToastRegion.d.ts +20 -0
- package/vanilla/UiToastRegion.js +58 -0
- package/vanilla/UiTooltip.d.ts +21 -0
- package/vanilla/UiTooltip.js +34 -0
- package/vanilla/UiTopBar.d.ts +13 -0
- package/vanilla/UiTopBar.js +59 -0
- package/vanilla/UiTree.d.ts +18 -0
- package/vanilla/UiTree.js +31 -0
- package/vanilla/UiTreeItem.d.ts +26 -0
- package/vanilla/UiTreeItem.js +164 -0
- package/vanilla/index.js +48 -0
- package/vue/UiAffordanceScope.d.ts +18 -0
- package/vue/UiAffordanceScope.js +2 -0
- package/vue/UiAffordanceScope.vue +118 -0
- package/vue/UiAvatar.d.ts +23 -0
- package/vue/UiAvatar.js +2 -0
- package/vue/UiAvatar.vue +152 -0
- package/vue/UiAvatarGroup.d.ts +20 -0
- package/vue/UiAvatarGroup.js +2 -0
- package/vue/UiAvatarGroup.vue +167 -0
- package/vue/UiBadge.d.ts +20 -0
- package/vue/UiBadge.js +2 -0
- package/vue/UiBadge.vue +123 -0
- package/vue/UiButton.d.ts +22 -0
- package/vue/UiButton.js +2 -0
- package/vue/UiButton.vue +229 -0
- package/vue/UiCallout.d.ts +18 -0
- package/vue/UiCallout.js +2 -0
- package/vue/UiCallout.vue +104 -0
- package/vue/UiCheckbox.d.ts +38 -0
- package/vue/UiCheckbox.js +2 -0
- package/vue/UiCheckbox.vue +216 -0
- package/vue/UiCluster.d.ts +17 -0
- package/vue/UiCluster.js +2 -0
- package/vue/UiCluster.vue +75 -0
- package/vue/UiCombobox.d.ts +255 -0
- package/vue/UiCombobox.js +2 -0
- package/vue/UiCombobox.vue +466 -0
- package/vue/UiContainer.d.ts +17 -0
- package/vue/UiContainer.js +2 -0
- package/vue/UiContainer.vue +65 -0
- package/vue/UiContextMenu.d.ts +50 -0
- package/vue/UiContextMenu.js +2 -0
- package/vue/UiContextMenu.vue +166 -0
- package/vue/UiDialog.d.ts +39 -0
- package/vue/UiDialog.js +2 -0
- package/vue/UiDialog.vue +273 -0
- package/vue/UiDisclosure.d.ts +44 -0
- package/vue/UiDisclosure.js +2 -0
- package/vue/UiDisclosure.vue +211 -0
- package/vue/UiEditable.d.ts +48 -0
- package/vue/UiEditable.js +2 -0
- package/vue/UiEditable.vue +267 -0
- package/vue/UiEditorInsertTableGrid.d.ts +26 -0
- package/vue/UiEditorInsertTableGrid.js +2 -0
- package/vue/UiEditorInsertTableGrid.vue +210 -0
- package/vue/UiEditorMentionMenu.d.ts +44 -0
- package/vue/UiEditorMentionMenu.js +2 -0
- package/vue/UiEditorMentionMenu.vue +284 -0
- package/vue/UiEditorSlashMenu.d.ts +41 -0
- package/vue/UiEditorSlashMenu.js +2 -0
- package/vue/UiEditorSlashMenu.vue +306 -0
- package/vue/UiEditorTableContextMenu.d.ts +19 -0
- package/vue/UiEditorTableContextMenu.js +2 -0
- package/vue/UiEditorTableContextMenu.vue +252 -0
- package/vue/UiEditorTableOverlay.d.ts +66 -0
- package/vue/UiEditorTableOverlay.js +2 -0
- package/vue/UiEditorTableOverlay.vue +455 -0
- package/vue/UiEditorTableToolbar.d.ts +21 -0
- package/vue/UiEditorTableToolbar.js +2 -0
- package/vue/UiEditorTableToolbar.vue +339 -0
- package/vue/UiEditorToolbar.d.ts +18 -0
- package/vue/UiEditorToolbar.js +2 -0
- package/vue/UiEditorToolbar.vue +138 -0
- package/vue/UiFloatingActionButton.d.ts +22 -0
- package/vue/UiFloatingActionButton.js +2 -0
- package/vue/UiFloatingActionButton.vue +116 -0
- package/vue/UiFormField.d.ts +28 -0
- package/vue/UiFormField.js +2 -0
- package/vue/UiFormField.vue +124 -0
- package/vue/UiGrid.d.ts +17 -0
- package/vue/UiGrid.js +2 -0
- package/vue/UiGrid.vue +72 -0
- package/vue/UiIcon.d.ts +8 -0
- package/vue/UiIcon.js +2 -0
- package/vue/UiIcon.vue +135 -0
- package/vue/UiIconButton.d.ts +27 -0
- package/vue/UiIconButton.js +2 -0
- package/vue/UiIconButton.vue +268 -0
- package/vue/UiInput.d.ts +20 -0
- package/vue/UiInput.js +2 -0
- package/vue/UiInput.vue +177 -0
- package/vue/UiMenu.d.ts +52 -0
- package/vue/UiMenu.js +2 -0
- package/vue/UiMenu.vue +194 -0
- package/vue/UiMenuItem.d.ts +20 -0
- package/vue/UiMenuItem.js +2 -0
- package/vue/UiMenuItem.vue +55 -0
- package/vue/UiPopover.d.ts +44 -0
- package/vue/UiPopover.js +2 -0
- package/vue/UiPopover.vue +188 -0
- package/vue/UiRadio.d.ts +38 -0
- package/vue/UiRadio.js +2 -0
- package/vue/UiRadio.vue +166 -0
- package/vue/UiRadioGroup.d.ts +50 -0
- package/vue/UiRadioGroup.js +2 -0
- package/vue/UiRadioGroup.vue +161 -0
- package/vue/UiReel.d.ts +18 -0
- package/vue/UiReel.js +2 -0
- package/vue/UiReel.vue +93 -0
- package/vue/UiSearchResultRow.d.ts +28 -0
- package/vue/UiSearchResultRow.js +2 -0
- package/vue/UiSearchResultRow.vue +124 -0
- package/vue/UiSearchShell.d.ts +42 -0
- package/vue/UiSearchShell.js +2 -0
- package/vue/UiSearchShell.vue +233 -0
- package/vue/UiSelect.d.ts +30 -0
- package/vue/UiSelect.js +2 -0
- package/vue/UiSelect.vue +183 -0
- package/vue/UiSeparator.d.ts +8 -0
- package/vue/UiSeparator.js +2 -0
- package/vue/UiSeparator.vue +38 -0
- package/vue/UiSidebar.d.ts +54 -0
- package/vue/UiSidebar.js +2 -0
- package/vue/UiSidebar.vue +288 -0
- package/vue/UiStack.d.ts +18 -0
- package/vue/UiStack.js +2 -0
- package/vue/UiStack.vue +85 -0
- package/vue/UiSwitch.d.ts +36 -0
- package/vue/UiSwitch.js +2 -0
- package/vue/UiSwitch.vue +203 -0
- package/vue/UiSwitcher.d.ts +18 -0
- package/vue/UiSwitcher.js +2 -0
- package/vue/UiSwitcher.vue +91 -0
- package/vue/UiTabs.d.ts +36 -0
- package/vue/UiTabs.js +2 -0
- package/vue/UiTabs.vue +269 -0
- package/vue/UiTextarea.d.ts +22 -0
- package/vue/UiTextarea.js +2 -0
- package/vue/UiTextarea.vue +177 -0
- package/vue/UiToastRegion.d.ts +48 -0
- package/vue/UiToastRegion.js +2 -0
- package/vue/UiToastRegion.vue +256 -0
- package/vue/UiTooltip.d.ts +50 -0
- package/vue/UiTooltip.js +2 -0
- package/vue/UiTooltip.vue +230 -0
- package/vue/UiTopBar.d.ts +19 -0
- package/vue/UiTopBar.js +2 -0
- package/vue/UiTopBar.vue +56 -0
- package/vue/UiTree.d.ts +62 -0
- package/vue/UiTree.js +2 -0
- package/vue/UiTree.vue +117 -0
- package/vue/UiTreeItem.d.ts +56 -0
- package/vue/UiTreeItem.js +2 -0
- package/vue/UiTreeItem.vue +418 -0
- package/vue/chunks/UiAffordanceScope.js +112 -0
- package/vue/chunks/UiAvatar.js +144 -0
- package/vue/chunks/UiAvatarGroup.js +142 -0
- package/vue/chunks/UiBadge.js +33 -0
- package/vue/chunks/UiButton.js +47 -0
- package/vue/chunks/UiCallout.js +117 -0
- package/vue/chunks/UiCheckbox.js +167 -0
- package/vue/chunks/UiCluster.js +33 -0
- package/vue/chunks/UiCombobox.js +684 -0
- package/vue/chunks/UiContainer.js +33 -0
- package/vue/chunks/UiContextMenu.js +153 -0
- package/vue/chunks/UiDialog.js +162 -0
- package/vue/chunks/UiDisclosure.js +185 -0
- package/vue/chunks/UiEditable.js +223 -0
- package/vue/chunks/UiEditorInsertTableGrid.js +221 -0
- package/vue/chunks/UiEditorMentionMenu.js +245 -0
- package/vue/chunks/UiEditorSlashMenu.js +210 -0
- package/vue/chunks/UiEditorTableContextMenu.js +201 -0
- package/vue/chunks/UiEditorTableOverlay.js +301 -0
- package/vue/chunks/UiEditorTableToolbar.js +299 -0
- package/vue/chunks/UiEditorToolbar.js +37 -0
- package/vue/chunks/UiFloatingActionButton.js +56 -0
- package/vue/chunks/UiFormField.js +113 -0
- package/vue/chunks/UiGrid.js +33 -0
- package/vue/chunks/UiIcon.js +170 -0
- package/vue/chunks/UiIconButton.js +141 -0
- package/vue/chunks/UiInput.js +136 -0
- package/vue/chunks/UiMenu.js +163 -0
- package/vue/chunks/UiMenuItem.js +37 -0
- package/vue/chunks/UiPopover.js +149 -0
- package/vue/chunks/UiRadio.js +164 -0
- package/vue/chunks/UiRadioGroup.js +160 -0
- package/vue/chunks/UiReel.js +42 -0
- package/vue/chunks/UiSearchResultRow.js +63 -0
- package/vue/chunks/UiSearchShell.js +152 -0
- package/vue/chunks/UiSelect.js +134 -0
- package/vue/chunks/UiSeparator.js +24 -0
- package/vue/chunks/UiSidebar.js +180 -0
- package/vue/chunks/UiStack.js +38 -0
- package/vue/chunks/UiSwitch.js +162 -0
- package/vue/chunks/UiSwitcher.js +38 -0
- package/vue/chunks/UiTabs.js +210 -0
- package/vue/chunks/UiTextarea.js +139 -0
- package/vue/chunks/UiToastRegion.js +227 -0
- package/vue/chunks/UiTooltip.js +163 -0
- package/vue/chunks/UiTopBar.js +25 -0
- package/vue/chunks/UiTree.js +140 -0
- package/vue/chunks/UiTreeItem.js +315 -0
- package/vue/chunks/_plugin-vue_export-helper.js +8 -0
- package/vue/components.css +4405 -0
- package/vue/editor/LoomaEditor.d.ts +171 -0
- package/vue/editor/image-delivery.d.ts +61 -0
- package/vue/editor/index.d.ts +4 -386
- package/vue/editor/index.js +995 -1134
- package/vue/editor/primitives.d.ts +23 -0
- package/vue/index.d.ts +48 -604
- package/vue/index.js +49 -86
- package/dist/chunk-MLKGABMK.js +0 -9
- package/dist/chunk-RWLYVQY6.js +0 -5719
- package/dist/chunk-XDNZIKNI.js +0 -2721
- package/dist/declarative-generated.cjs +0 -149
- package/dist/declarative-generated.d.cts +0 -16
- package/dist/declarative-generated.d.ts +0 -16
- package/dist/declarative-generated.js +0 -124
- package/dist/declarative.cjs +0 -2750
- package/dist/declarative.d.cts +0 -101
- package/dist/declarative.d.ts +0 -101
- package/dist/declarative.js +0 -15
- package/dist/index.cjs +0 -9077
- package/dist/index.d.cts +0 -414
- package/dist/loader.cjs +0 -8442
- package/dist/loader.d.cts +0 -4
- package/dist/loader.d.ts +0 -4
- package/dist/loader.js +0 -16
- package/editor/chunk-EUIH3TBV.js +0 -6826
- package/editor/chunk-JK53ENSG.js +0 -29
- package/editor/chunk-U36XNFJN.js +0 -2592
- package/editor/table-overlay-DZFGHQDt.d.ts +0 -138
- package/editor.css +0 -1592
- package/layout/index.cjs +0 -356
- package/layout/index.d.cts +0 -18
- package/layout/index.d.ts +0 -18
- package/layout/index.js +0 -341
- package/layout.css +0 -191
- package/styles.css +0 -940
- package/vue/chunk-OX3EACZ7.js +0 -4369
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The editor components, as Vue components. They are the converted components from
|
|
3
|
+
* `@threadlabs/looma/vue`, re-exported beside the editor that composes them.
|
|
4
|
+
*/
|
|
5
|
+
import type { InsertTableEventDetail, MentionMenuHighlightEventDetail, MentionMenuSelectEventDetail, SlashMenuHighlightEventDetail, SlashMenuSelectEventDetail, TableContextMenuActionEventDetail, TableOverlayActionEventDetail } from "@threadlabs/looma/editor";
|
|
6
|
+
export { EditorInsertTableGrid, EditorMentionMenu, EditorSlashMenu, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, } from "@threadlabs/looma/vue";
|
|
7
|
+
/** The editor components' event details, by event name. */
|
|
8
|
+
export interface VueEditorAdapterEventMap {
|
|
9
|
+
highlight: MentionMenuHighlightEventDetail | SlashMenuHighlightEventDetail;
|
|
10
|
+
select: MentionMenuSelectEventDetail | SlashMenuSelectEventDetail;
|
|
11
|
+
action: TableContextMenuActionEventDetail | TableOverlayActionEventDetail;
|
|
12
|
+
insert: InsertTableEventDetail;
|
|
13
|
+
}
|
|
14
|
+
/** Each Vue editor component's element tag, for tooling that enumerates them. */
|
|
15
|
+
export declare const EDITOR_ADAPTER_COMPONENT_TAG_MAP: {
|
|
16
|
+
readonly EditorToolbar: "ui-editor-toolbar";
|
|
17
|
+
readonly EditorSlashMenu: "ui-editor-slash-menu";
|
|
18
|
+
readonly EditorMentionMenu: "ui-editor-mention-menu";
|
|
19
|
+
readonly EditorTableContextMenu: "ui-editor-table-context-menu";
|
|
20
|
+
readonly EditorTableToolbar: "ui-editor-table-toolbar";
|
|
21
|
+
readonly EditorInsertTableGrid: "ui-editor-insert-table-grid";
|
|
22
|
+
readonly EditorTableOverlay: "ui-editor-table-overlay";
|
|
23
|
+
};
|
package/vue/index.d.ts
CHANGED
|
@@ -1,604 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
position: "before" | "inside" | "after";
|
|
50
|
-
reason: "max-depth";
|
|
51
|
-
maxDepth?: number;
|
|
52
|
-
resultingDepth?: number;
|
|
53
|
-
trigger: string;
|
|
54
|
-
};
|
|
55
|
-
expand: {
|
|
56
|
-
id: string;
|
|
57
|
-
expanded: boolean;
|
|
58
|
-
trigger: string;
|
|
59
|
-
};
|
|
60
|
-
editChange: EditableChange;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface AdapterBaseProps {
|
|
64
|
-
'data-allow-mismatch'?: string;
|
|
65
|
-
}
|
|
66
|
-
interface StackProps extends AdapterBaseProps {
|
|
67
|
-
"align"?: "start" | "center" | "end" | "stretch" | undefined;
|
|
68
|
-
"gap"?: "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
69
|
-
"justify"?: "start" | "center" | "end" | "between" | undefined;
|
|
70
|
-
}
|
|
71
|
-
interface ClusterProps extends AdapterBaseProps {
|
|
72
|
-
"align"?: "start" | "center" | "end" | "stretch" | undefined;
|
|
73
|
-
"gap"?: "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
74
|
-
}
|
|
75
|
-
interface GridProps extends AdapterBaseProps {
|
|
76
|
-
"gap"?: "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
77
|
-
"min"?: "sm" | "md" | "lg" | undefined;
|
|
78
|
-
}
|
|
79
|
-
interface ContainerProps extends AdapterBaseProps {
|
|
80
|
-
"gutters"?: "s" | "m" | "l" | undefined;
|
|
81
|
-
"measure"?: "narrow" | "wide" | undefined;
|
|
82
|
-
}
|
|
83
|
-
interface SwitcherProps extends AdapterBaseProps {
|
|
84
|
-
"align"?: "start" | "center" | "end" | "stretch" | undefined;
|
|
85
|
-
"gap"?: "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
86
|
-
"threshold"?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
87
|
-
}
|
|
88
|
-
interface SidebarProps extends AdapterBaseProps {
|
|
89
|
-
"breakpoint"?: "sm" | "md" | "lg" | undefined;
|
|
90
|
-
"collapsed"?: boolean | undefined;
|
|
91
|
-
"maxWidth"?: number | undefined;
|
|
92
|
-
"minWidth"?: number | undefined;
|
|
93
|
-
"resizable"?: boolean | undefined;
|
|
94
|
-
"resizeLabel"?: string | undefined;
|
|
95
|
-
"resizeStep"?: number | undefined;
|
|
96
|
-
"side"?: "start" | "end" | undefined;
|
|
97
|
-
"width"?: number | undefined;
|
|
98
|
-
}
|
|
99
|
-
interface ReelProps extends AdapterBaseProps {
|
|
100
|
-
"gap"?: "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
101
|
-
"itemWidth"?: "sm" | "md" | "lg" | undefined;
|
|
102
|
-
"snap"?: "start" | "center" | undefined;
|
|
103
|
-
}
|
|
104
|
-
interface SeparatorProps extends AdapterBaseProps {
|
|
105
|
-
"orientation"?: "horizontal" | "vertical" | undefined;
|
|
106
|
-
}
|
|
107
|
-
interface DisclosureProps extends AdapterBaseProps {
|
|
108
|
-
"disabled"?: boolean | undefined;
|
|
109
|
-
"open"?: boolean | undefined;
|
|
110
|
-
"summary"?: string | undefined;
|
|
111
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
112
|
-
"onOpen"?: ((detail: VueAdapterEventMap['open']) => void) | undefined;
|
|
113
|
-
}
|
|
114
|
-
interface EditableProps extends AdapterBaseProps {
|
|
115
|
-
"actions"?: boolean | undefined;
|
|
116
|
-
"disabled"?: boolean | undefined;
|
|
117
|
-
"edit"?: boolean | undefined;
|
|
118
|
-
"hint"?: string | undefined;
|
|
119
|
-
"label"?: string | undefined;
|
|
120
|
-
"value"?: string | undefined;
|
|
121
|
-
"onChange"?: ((detail: VueAdapterEventMap['change']) => void) | undefined;
|
|
122
|
-
"onEditChange"?: ((detail: VueAdapterEventMap['editChange']) => void) | undefined;
|
|
123
|
-
"onInput"?: ((detail: VueAdapterEventMap['input']) => void) | undefined;
|
|
124
|
-
}
|
|
125
|
-
interface TabsProps extends AdapterBaseProps {
|
|
126
|
-
"label"?: string | undefined;
|
|
127
|
-
"orientation"?: "horizontal" | "vertical" | undefined;
|
|
128
|
-
"stretch"?: boolean | undefined;
|
|
129
|
-
"value"?: string | undefined;
|
|
130
|
-
"onSelect"?: ((detail: VueAdapterEventMap['select']) => void) | undefined;
|
|
131
|
-
}
|
|
132
|
-
interface DialogProps extends AdapterBaseProps {
|
|
133
|
-
"dismissible"?: boolean | undefined;
|
|
134
|
-
"for"?: string | undefined;
|
|
135
|
-
"label"?: string | undefined;
|
|
136
|
-
"modal"?: boolean | undefined;
|
|
137
|
-
"open"?: boolean | undefined;
|
|
138
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
139
|
-
}
|
|
140
|
-
interface PopoverProps extends AdapterBaseProps {
|
|
141
|
-
"for"?: string | undefined;
|
|
142
|
-
"open"?: boolean | undefined;
|
|
143
|
-
"placement"?: string | undefined;
|
|
144
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
145
|
-
"onOpen"?: ((detail: VueAdapterEventMap['open']) => void) | undefined;
|
|
146
|
-
}
|
|
147
|
-
interface MenuProps extends AdapterBaseProps {
|
|
148
|
-
"for"?: string | undefined;
|
|
149
|
-
"open"?: boolean | undefined;
|
|
150
|
-
"placement"?: string | undefined;
|
|
151
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
152
|
-
"onOpen"?: ((detail: VueAdapterEventMap['open']) => void) | undefined;
|
|
153
|
-
"onSelect"?: ((detail: VueAdapterEventMap['select']) => void) | undefined;
|
|
154
|
-
}
|
|
155
|
-
interface MenuItemProps extends AdapterBaseProps {
|
|
156
|
-
"disabled"?: boolean | undefined;
|
|
157
|
-
"value"?: string | undefined;
|
|
158
|
-
}
|
|
159
|
-
interface ContextMenuProps extends AdapterBaseProps {
|
|
160
|
-
"for"?: string | undefined;
|
|
161
|
-
"open"?: boolean | undefined;
|
|
162
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
163
|
-
"onOpen"?: ((detail: VueAdapterEventMap['open']) => void) | undefined;
|
|
164
|
-
"onSelect"?: ((detail: VueAdapterEventMap['select']) => void) | undefined;
|
|
165
|
-
}
|
|
166
|
-
interface AffordanceScopeProps extends AdapterBaseProps {
|
|
167
|
-
"nearRadius"?: number | undefined;
|
|
168
|
-
}
|
|
169
|
-
interface ButtonProps extends AdapterBaseProps {
|
|
170
|
-
"disabled"?: boolean | undefined;
|
|
171
|
-
"size"?: "sm" | "md" | "lg" | undefined;
|
|
172
|
-
"variant"?: "outline" | "solid" | "danger" | "ghost" | "link" | undefined;
|
|
173
|
-
}
|
|
174
|
-
interface IconButtonProps extends AdapterBaseProps {
|
|
175
|
-
"anticipatory"?: boolean | undefined;
|
|
176
|
-
"disabled"?: boolean | undefined;
|
|
177
|
-
"label"?: string | undefined;
|
|
178
|
-
"round"?: boolean | undefined;
|
|
179
|
-
"size"?: "sm" | "md" | "lg" | undefined;
|
|
180
|
-
"variant"?: "ghost" | "outline" | "solid" | undefined;
|
|
181
|
-
}
|
|
182
|
-
interface InputProps extends AdapterBaseProps {
|
|
183
|
-
"disabled"?: boolean | undefined;
|
|
184
|
-
"invalid"?: boolean | undefined;
|
|
185
|
-
"readonly"?: boolean | undefined;
|
|
186
|
-
"required"?: boolean | undefined;
|
|
187
|
-
"value"?: string | undefined;
|
|
188
|
-
"modelValue"?: string | undefined;
|
|
189
|
-
"onUpdate:modelValue"?: ((value: string) => void) | undefined;
|
|
190
|
-
"onInput"?: ((event: Event) => void) | undefined;
|
|
191
|
-
"onChange"?: ((event: Event) => void) | undefined;
|
|
192
|
-
}
|
|
193
|
-
interface SelectProps extends AdapterBaseProps {
|
|
194
|
-
"disabled"?: boolean | undefined;
|
|
195
|
-
"invalid"?: boolean | undefined;
|
|
196
|
-
"multiple"?: boolean | undefined;
|
|
197
|
-
"required"?: boolean | undefined;
|
|
198
|
-
"value"?: string | undefined;
|
|
199
|
-
"modelValue"?: string | undefined;
|
|
200
|
-
"onUpdate:modelValue"?: ((value: string) => void) | undefined;
|
|
201
|
-
"onInput"?: ((event: Event) => void) | undefined;
|
|
202
|
-
"onChange"?: ((event: Event) => void) | undefined;
|
|
203
|
-
}
|
|
204
|
-
interface TextareaProps extends AdapterBaseProps {
|
|
205
|
-
"disabled"?: boolean | undefined;
|
|
206
|
-
"invalid"?: boolean | undefined;
|
|
207
|
-
"readonly"?: boolean | undefined;
|
|
208
|
-
"required"?: boolean | undefined;
|
|
209
|
-
"rows"?: number | undefined;
|
|
210
|
-
"value"?: string | undefined;
|
|
211
|
-
"modelValue"?: string | undefined;
|
|
212
|
-
"onUpdate:modelValue"?: ((value: string) => void) | undefined;
|
|
213
|
-
"onInput"?: ((event: Event) => void) | undefined;
|
|
214
|
-
"onChange"?: ((event: Event) => void) | undefined;
|
|
215
|
-
}
|
|
216
|
-
interface FormFieldProps extends AdapterBaseProps {
|
|
217
|
-
"disabled"?: boolean | undefined;
|
|
218
|
-
"invalid"?: boolean | undefined;
|
|
219
|
-
"required"?: boolean | undefined;
|
|
220
|
-
}
|
|
221
|
-
interface TooltipProps extends AdapterBaseProps {
|
|
222
|
-
"for"?: string | undefined;
|
|
223
|
-
"hideDelay"?: number | undefined;
|
|
224
|
-
"inverse"?: boolean | undefined;
|
|
225
|
-
"open"?: boolean | undefined;
|
|
226
|
-
"placement"?: string | undefined;
|
|
227
|
-
"showDelay"?: number | undefined;
|
|
228
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
229
|
-
"onOpen"?: ((detail: VueAdapterEventMap['open']) => void) | undefined;
|
|
230
|
-
}
|
|
231
|
-
interface ToastRegionProps extends AdapterBaseProps {
|
|
232
|
-
"auto"?: boolean | undefined;
|
|
233
|
-
"duration"?: number | undefined;
|
|
234
|
-
"message"?: string | undefined;
|
|
235
|
-
"open"?: boolean | undefined;
|
|
236
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
237
|
-
"onDismiss"?: ((detail: VueAdapterEventMap['dismiss']) => void) | undefined;
|
|
238
|
-
}
|
|
239
|
-
interface CheckboxProps extends AdapterBaseProps {
|
|
240
|
-
"checked"?: boolean | undefined;
|
|
241
|
-
"disabled"?: boolean | undefined;
|
|
242
|
-
"indeterminate"?: boolean | undefined;
|
|
243
|
-
"required"?: boolean | undefined;
|
|
244
|
-
"value"?: string | undefined;
|
|
245
|
-
"onChange"?: ((detail: VueAdapterEventMap['change']) => void) | undefined;
|
|
246
|
-
}
|
|
247
|
-
interface SwitchProps extends AdapterBaseProps {
|
|
248
|
-
"checked"?: boolean | undefined;
|
|
249
|
-
"disabled"?: boolean | undefined;
|
|
250
|
-
"required"?: boolean | undefined;
|
|
251
|
-
"value"?: string | undefined;
|
|
252
|
-
"onChange"?: ((detail: VueAdapterEventMap['change']) => void) | undefined;
|
|
253
|
-
}
|
|
254
|
-
interface RadioGroupProps extends AdapterBaseProps {
|
|
255
|
-
"disabled"?: boolean | undefined;
|
|
256
|
-
"label"?: string | undefined;
|
|
257
|
-
"name"?: string | undefined;
|
|
258
|
-
"orientation"?: "horizontal" | "vertical" | undefined;
|
|
259
|
-
"required"?: boolean | undefined;
|
|
260
|
-
"value"?: string | undefined;
|
|
261
|
-
"onChange"?: ((detail: VueAdapterEventMap['change']) => void) | undefined;
|
|
262
|
-
"onSelect"?: ((detail: VueAdapterEventMap['select']) => void) | undefined;
|
|
263
|
-
}
|
|
264
|
-
interface RadioProps extends AdapterBaseProps {
|
|
265
|
-
"checked"?: boolean | undefined;
|
|
266
|
-
"disabled"?: boolean | undefined;
|
|
267
|
-
"name"?: string | undefined;
|
|
268
|
-
"required"?: boolean | undefined;
|
|
269
|
-
"value"?: string | undefined;
|
|
270
|
-
"onChange"?: ((detail: VueAdapterEventMap['change']) => void) | undefined;
|
|
271
|
-
}
|
|
272
|
-
interface BadgeProps extends AdapterBaseProps {
|
|
273
|
-
"tone"?: "neutral" | "accent" | "info" | "success" | "warning" | "danger" | undefined;
|
|
274
|
-
"variant"?: "solid" | "subtle" | undefined;
|
|
275
|
-
}
|
|
276
|
-
interface CalloutProps extends AdapterBaseProps {
|
|
277
|
-
"tone"?: "info" | "note" | "warning" | "success" | "danger" | undefined;
|
|
278
|
-
}
|
|
279
|
-
interface AvatarProps extends AdapterBaseProps {
|
|
280
|
-
"alt"?: string | undefined;
|
|
281
|
-
"fallback"?: string | undefined;
|
|
282
|
-
"name"?: string | undefined;
|
|
283
|
-
"src"?: string | undefined;
|
|
284
|
-
}
|
|
285
|
-
interface AvatarGroupProps extends AdapterBaseProps {
|
|
286
|
-
"label"?: string | undefined;
|
|
287
|
-
"max"?: number | undefined;
|
|
288
|
-
}
|
|
289
|
-
interface SearchShellProps extends AdapterBaseProps {
|
|
290
|
-
"dismissible"?: boolean | undefined;
|
|
291
|
-
"label"?: string | undefined;
|
|
292
|
-
"modal"?: boolean | undefined;
|
|
293
|
-
"open"?: boolean | undefined;
|
|
294
|
-
"onClose"?: ((detail: VueAdapterEventMap['close']) => void) | undefined;
|
|
295
|
-
}
|
|
296
|
-
interface SearchResultRowProps extends AdapterBaseProps {
|
|
297
|
-
"disabled"?: boolean | undefined;
|
|
298
|
-
"selected"?: boolean | undefined;
|
|
299
|
-
}
|
|
300
|
-
interface TopBarProps extends AdapterBaseProps {
|
|
301
|
-
}
|
|
302
|
-
interface TreeProps extends AdapterBaseProps {
|
|
303
|
-
"hoverExpandDelay"?: number | undefined;
|
|
304
|
-
"label"?: string | undefined;
|
|
305
|
-
"maxDepth"?: number | undefined;
|
|
306
|
-
"onReorder"?: ((detail: VueAdapterEventMap['reorder']) => void) | undefined;
|
|
307
|
-
"onReorderRejected"?: ((detail: VueAdapterEventMap['reorderRejected']) => void) | undefined;
|
|
308
|
-
}
|
|
309
|
-
interface TreeItemProps extends AdapterBaseProps {
|
|
310
|
-
"accepts"?: string | undefined;
|
|
311
|
-
"container"?: boolean | undefined;
|
|
312
|
-
"disabled"?: boolean | undefined;
|
|
313
|
-
"dragType"?: string | undefined;
|
|
314
|
-
"dropDepth"?: number | undefined;
|
|
315
|
-
"dropScope"?: string | undefined;
|
|
316
|
-
"expanded"?: boolean | undefined;
|
|
317
|
-
"itemId"?: string | undefined;
|
|
318
|
-
"label"?: string | undefined;
|
|
319
|
-
"selected"?: boolean | undefined;
|
|
320
|
-
"sortable"?: boolean | undefined;
|
|
321
|
-
"subtreeDepth"?: number | undefined;
|
|
322
|
-
"onExpand"?: ((detail: VueAdapterEventMap['expand']) => void) | undefined;
|
|
323
|
-
}
|
|
324
|
-
interface AdapterComponentProps {
|
|
325
|
-
"Stack": StackProps;
|
|
326
|
-
"Cluster": ClusterProps;
|
|
327
|
-
"Grid": GridProps;
|
|
328
|
-
"Container": ContainerProps;
|
|
329
|
-
"Switcher": SwitcherProps;
|
|
330
|
-
"Sidebar": SidebarProps;
|
|
331
|
-
"Reel": ReelProps;
|
|
332
|
-
"Separator": SeparatorProps;
|
|
333
|
-
"Disclosure": DisclosureProps;
|
|
334
|
-
"Editable": EditableProps;
|
|
335
|
-
"Tabs": TabsProps;
|
|
336
|
-
"Dialog": DialogProps;
|
|
337
|
-
"Popover": PopoverProps;
|
|
338
|
-
"Menu": MenuProps;
|
|
339
|
-
"MenuItem": MenuItemProps;
|
|
340
|
-
"ContextMenu": ContextMenuProps;
|
|
341
|
-
"AffordanceScope": AffordanceScopeProps;
|
|
342
|
-
"Button": ButtonProps;
|
|
343
|
-
"IconButton": IconButtonProps;
|
|
344
|
-
"Input": InputProps;
|
|
345
|
-
"Select": SelectProps;
|
|
346
|
-
"Textarea": TextareaProps;
|
|
347
|
-
"FormField": FormFieldProps;
|
|
348
|
-
"Tooltip": TooltipProps;
|
|
349
|
-
"ToastRegion": ToastRegionProps;
|
|
350
|
-
"Checkbox": CheckboxProps;
|
|
351
|
-
"Switch": SwitchProps;
|
|
352
|
-
"RadioGroup": RadioGroupProps;
|
|
353
|
-
"Radio": RadioProps;
|
|
354
|
-
"Badge": BadgeProps;
|
|
355
|
-
"Callout": CalloutProps;
|
|
356
|
-
"Avatar": AvatarProps;
|
|
357
|
-
"AvatarGroup": AvatarGroupProps;
|
|
358
|
-
"SearchShell": SearchShellProps;
|
|
359
|
-
"SearchResultRow": SearchResultRowProps;
|
|
360
|
-
"TopBar": TopBarProps;
|
|
361
|
-
"Tree": TreeProps;
|
|
362
|
-
"TreeItem": TreeItemProps;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/** An option for the list. Rendered as a native <option> (inside <optgroup> when `group` is set). */
|
|
366
|
-
interface ComboboxOptionInput {
|
|
367
|
-
readonly value: string;
|
|
368
|
-
readonly label?: string;
|
|
369
|
-
readonly group?: string;
|
|
370
|
-
readonly disabled?: boolean;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
374
|
-
label: {
|
|
375
|
-
type: StringConstructor;
|
|
376
|
-
required: true;
|
|
377
|
-
};
|
|
378
|
-
modelValue: {
|
|
379
|
-
type: vue.PropType<string | readonly _threadlabs_looma_core.ComboboxOption[] | null>;
|
|
380
|
-
default: undefined;
|
|
381
|
-
};
|
|
382
|
-
query: {
|
|
383
|
-
type: StringConstructor;
|
|
384
|
-
default: undefined;
|
|
385
|
-
};
|
|
386
|
-
defaultValue: StringConstructor;
|
|
387
|
-
defaultQuery: StringConstructor;
|
|
388
|
-
options: {
|
|
389
|
-
type: vue.PropType<readonly ComboboxOptionInput[]>;
|
|
390
|
-
default: () => never[];
|
|
391
|
-
};
|
|
392
|
-
allowFreeText: BooleanConstructor;
|
|
393
|
-
allowCreate: BooleanConstructor;
|
|
394
|
-
placeholder: StringConstructor;
|
|
395
|
-
name: StringConstructor;
|
|
396
|
-
size: {
|
|
397
|
-
type: vue.PropType<"sm" | "md">;
|
|
398
|
-
default: string;
|
|
399
|
-
};
|
|
400
|
-
labelVisibility: {
|
|
401
|
-
type: vue.PropType<"visible" | "sr-only">;
|
|
402
|
-
default: string;
|
|
403
|
-
};
|
|
404
|
-
disabled: BooleanConstructor;
|
|
405
|
-
readOnly: BooleanConstructor;
|
|
406
|
-
required: BooleanConstructor;
|
|
407
|
-
disclosure: BooleanConstructor;
|
|
408
|
-
clearable: BooleanConstructor;
|
|
409
|
-
help: StringConstructor;
|
|
410
|
-
multiple: BooleanConstructor;
|
|
411
|
-
tokenSeparators: {
|
|
412
|
-
type: vue.PropType<readonly string[]>;
|
|
413
|
-
default: () => never[];
|
|
414
|
-
};
|
|
415
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
416
|
-
[key: string]: any;
|
|
417
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
418
|
-
'update:modelValue': (_value: string | null) => true;
|
|
419
|
-
'update:query': (_query: string) => true;
|
|
420
|
-
queryChange: (_detail: {
|
|
421
|
-
query: string;
|
|
422
|
-
display: string;
|
|
423
|
-
trigger: string;
|
|
424
|
-
}) => true;
|
|
425
|
-
valueChange: (_detail: _threadlabs_looma_core.ComboboxChange | readonly _threadlabs_looma_core.MultiComboboxItem[]) => true;
|
|
426
|
-
freeEntry: (_detail: _threadlabs_looma_core.ComboboxChange) => true;
|
|
427
|
-
createEntry: (_detail: _threadlabs_looma_core.ComboboxChange) => true;
|
|
428
|
-
validationChange: (_detail: _threadlabs_looma_core.ComboboxValidationState) => true;
|
|
429
|
-
addItem: (_detail: _threadlabs_looma_core.MultiComboboxItemChange) => true;
|
|
430
|
-
removeItem: (_detail: _threadlabs_looma_core.MultiComboboxItemChange) => true;
|
|
431
|
-
createItem: (_detail: _threadlabs_looma_core.MultiComboboxCreate) => true;
|
|
432
|
-
optionsChange: (_detail: readonly _threadlabs_looma_core.ComboboxOption[]) => true;
|
|
433
|
-
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
434
|
-
label: {
|
|
435
|
-
type: StringConstructor;
|
|
436
|
-
required: true;
|
|
437
|
-
};
|
|
438
|
-
modelValue: {
|
|
439
|
-
type: vue.PropType<string | readonly _threadlabs_looma_core.ComboboxOption[] | null>;
|
|
440
|
-
default: undefined;
|
|
441
|
-
};
|
|
442
|
-
query: {
|
|
443
|
-
type: StringConstructor;
|
|
444
|
-
default: undefined;
|
|
445
|
-
};
|
|
446
|
-
defaultValue: StringConstructor;
|
|
447
|
-
defaultQuery: StringConstructor;
|
|
448
|
-
options: {
|
|
449
|
-
type: vue.PropType<readonly ComboboxOptionInput[]>;
|
|
450
|
-
default: () => never[];
|
|
451
|
-
};
|
|
452
|
-
allowFreeText: BooleanConstructor;
|
|
453
|
-
allowCreate: BooleanConstructor;
|
|
454
|
-
placeholder: StringConstructor;
|
|
455
|
-
name: StringConstructor;
|
|
456
|
-
size: {
|
|
457
|
-
type: vue.PropType<"sm" | "md">;
|
|
458
|
-
default: string;
|
|
459
|
-
};
|
|
460
|
-
labelVisibility: {
|
|
461
|
-
type: vue.PropType<"visible" | "sr-only">;
|
|
462
|
-
default: string;
|
|
463
|
-
};
|
|
464
|
-
disabled: BooleanConstructor;
|
|
465
|
-
readOnly: BooleanConstructor;
|
|
466
|
-
required: BooleanConstructor;
|
|
467
|
-
disclosure: BooleanConstructor;
|
|
468
|
-
clearable: BooleanConstructor;
|
|
469
|
-
help: StringConstructor;
|
|
470
|
-
multiple: BooleanConstructor;
|
|
471
|
-
tokenSeparators: {
|
|
472
|
-
type: vue.PropType<readonly string[]>;
|
|
473
|
-
default: () => never[];
|
|
474
|
-
};
|
|
475
|
-
}>> & Readonly<{
|
|
476
|
-
"onUpdate:modelValue"?: (_value: string | null) => any;
|
|
477
|
-
"onUpdate:query"?: (_query: string) => any;
|
|
478
|
-
onQueryChange?: (_detail: {
|
|
479
|
-
query: string;
|
|
480
|
-
display: string;
|
|
481
|
-
trigger: string;
|
|
482
|
-
}) => any;
|
|
483
|
-
onValueChange?: (_detail: _threadlabs_looma_core.ComboboxChange | readonly _threadlabs_looma_core.ComboboxOption[]) => any;
|
|
484
|
-
onFreeEntry?: (_detail: _threadlabs_looma_core.ComboboxChange) => any;
|
|
485
|
-
onCreateEntry?: (_detail: _threadlabs_looma_core.ComboboxChange) => any;
|
|
486
|
-
onValidationChange?: (_detail: _threadlabs_looma_core.ComboboxValidationState) => any;
|
|
487
|
-
onAddItem?: (_detail: _threadlabs_looma_core.MultiComboboxItemChange) => any;
|
|
488
|
-
onRemoveItem?: (_detail: _threadlabs_looma_core.MultiComboboxItemChange) => any;
|
|
489
|
-
onCreateItem?: (_detail: _threadlabs_looma_core.MultiComboboxCreate) => any;
|
|
490
|
-
onOptionsChange?: (_detail: readonly _threadlabs_looma_core.ComboboxOption[]) => any;
|
|
491
|
-
}>, {
|
|
492
|
-
allowFreeText: boolean;
|
|
493
|
-
allowCreate: boolean;
|
|
494
|
-
disabled: boolean;
|
|
495
|
-
readOnly: boolean;
|
|
496
|
-
required: boolean;
|
|
497
|
-
disclosure: boolean;
|
|
498
|
-
clearable: boolean;
|
|
499
|
-
multiple: boolean;
|
|
500
|
-
modelValue: string | readonly _threadlabs_looma_core.ComboboxOption[] | null;
|
|
501
|
-
query: string;
|
|
502
|
-
options: readonly ComboboxOptionInput[];
|
|
503
|
-
size: "sm" | "md";
|
|
504
|
-
labelVisibility: "visible" | "sr-only";
|
|
505
|
-
tokenSeparators: readonly string[];
|
|
506
|
-
}, vue.SlotsType<{
|
|
507
|
-
option: {
|
|
508
|
-
option: _threadlabs_looma_core.ComboboxOption;
|
|
509
|
-
};
|
|
510
|
-
item: {
|
|
511
|
-
item: _threadlabs_looma_core.MultiComboboxItem;
|
|
512
|
-
};
|
|
513
|
-
loading: Record<string, never>;
|
|
514
|
-
empty: Record<string, never>;
|
|
515
|
-
error: Record<string, never>;
|
|
516
|
-
create: {
|
|
517
|
-
query: string;
|
|
518
|
-
};
|
|
519
|
-
start: Record<string, never>;
|
|
520
|
-
footer: Record<string, never>;
|
|
521
|
-
}>, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
522
|
-
|
|
523
|
-
declare const Stack: vue.DefineComponent<StackProps>;
|
|
524
|
-
declare const Cluster: vue.DefineComponent<ClusterProps>;
|
|
525
|
-
declare const Grid: vue.DefineComponent<GridProps>;
|
|
526
|
-
declare const Container: vue.DefineComponent<ContainerProps>;
|
|
527
|
-
declare const Switcher: vue.DefineComponent<SwitcherProps>;
|
|
528
|
-
declare const Sidebar: vue.DefineComponent<SidebarProps>;
|
|
529
|
-
declare const Reel: vue.DefineComponent<ReelProps>;
|
|
530
|
-
declare const Separator: vue.DefineComponent<SeparatorProps>;
|
|
531
|
-
declare const Disclosure: vue.DefineComponent<DisclosureProps>;
|
|
532
|
-
declare const Editable: vue.DefineComponent<EditableProps>;
|
|
533
|
-
declare const Tabs: vue.DefineComponent<TabsProps>;
|
|
534
|
-
declare const Dialog: vue.DefineComponent<DialogProps>;
|
|
535
|
-
declare const Popover: vue.DefineComponent<PopoverProps>;
|
|
536
|
-
declare const Menu: vue.DefineComponent<MenuProps>;
|
|
537
|
-
declare const MenuItem: vue.DefineComponent<MenuItemProps>;
|
|
538
|
-
declare const ContextMenu: vue.DefineComponent<ContextMenuProps>;
|
|
539
|
-
declare const AffordanceScope: vue.DefineComponent<AffordanceScopeProps>;
|
|
540
|
-
declare const Button: vue.DefineComponent<ButtonProps>;
|
|
541
|
-
declare const IconButton: vue.DefineComponent<IconButtonProps>;
|
|
542
|
-
declare const Input: vue.DefineComponent<InputProps>;
|
|
543
|
-
declare const Select: vue.DefineComponent<SelectProps>;
|
|
544
|
-
declare const Textarea: vue.DefineComponent<TextareaProps>;
|
|
545
|
-
declare const FormField: vue.DefineComponent<FormFieldProps>;
|
|
546
|
-
declare const Tooltip: vue.DefineComponent<TooltipProps>;
|
|
547
|
-
declare const ToastRegion: vue.DefineComponent<ToastRegionProps>;
|
|
548
|
-
declare const Checkbox: vue.DefineComponent<CheckboxProps>;
|
|
549
|
-
declare const Switch: vue.DefineComponent<SwitchProps>;
|
|
550
|
-
declare const RadioGroup: vue.DefineComponent<RadioGroupProps>;
|
|
551
|
-
declare const Radio: vue.DefineComponent<RadioProps>;
|
|
552
|
-
declare const Badge: vue.DefineComponent<BadgeProps>;
|
|
553
|
-
declare const Callout: vue.DefineComponent<CalloutProps>;
|
|
554
|
-
declare const Avatar: vue.DefineComponent<AvatarProps>;
|
|
555
|
-
declare const AvatarGroup: vue.DefineComponent<AvatarGroupProps>;
|
|
556
|
-
declare const SearchShell: vue.DefineComponent<SearchShellProps>;
|
|
557
|
-
declare const SearchResultRow: vue.DefineComponent<SearchResultRowProps>;
|
|
558
|
-
declare const TopBar: vue.DefineComponent<TopBarProps>;
|
|
559
|
-
declare const Tree: vue.DefineComponent<TreeProps>;
|
|
560
|
-
declare const TreeItem: vue.DefineComponent<TreeItemProps>;
|
|
561
|
-
declare const ADAPTER_COMPONENT_TAG_MAP: {
|
|
562
|
-
readonly Combobox: "ui-combobox";
|
|
563
|
-
readonly Stack: "ui-stack";
|
|
564
|
-
readonly Cluster: "ui-cluster";
|
|
565
|
-
readonly Grid: "ui-grid";
|
|
566
|
-
readonly Container: "ui-container";
|
|
567
|
-
readonly Switcher: "ui-switcher";
|
|
568
|
-
readonly Sidebar: "ui-sidebar";
|
|
569
|
-
readonly Reel: "ui-reel";
|
|
570
|
-
readonly Separator: "ui-separator";
|
|
571
|
-
readonly Disclosure: "ui-disclosure";
|
|
572
|
-
readonly Editable: "ui-editable";
|
|
573
|
-
readonly Tabs: "ui-tabs";
|
|
574
|
-
readonly Dialog: "ui-dialog";
|
|
575
|
-
readonly Popover: "ui-popover";
|
|
576
|
-
readonly Menu: "ui-menu";
|
|
577
|
-
readonly MenuItem: "ui-menu-item";
|
|
578
|
-
readonly ContextMenu: "ui-context-menu";
|
|
579
|
-
readonly AffordanceScope: "ui-affordance-scope";
|
|
580
|
-
readonly Button: "ui-button";
|
|
581
|
-
readonly IconButton: "ui-icon-button";
|
|
582
|
-
readonly Input: "ui-input";
|
|
583
|
-
readonly Select: "ui-select";
|
|
584
|
-
readonly Textarea: "ui-textarea";
|
|
585
|
-
readonly FormField: "ui-form-field";
|
|
586
|
-
readonly Tooltip: "ui-tooltip";
|
|
587
|
-
readonly ToastRegion: "ui-toast-region";
|
|
588
|
-
readonly Checkbox: "ui-checkbox";
|
|
589
|
-
readonly Switch: "ui-switch";
|
|
590
|
-
readonly RadioGroup: "ui-radio-group";
|
|
591
|
-
readonly Radio: "ui-radio";
|
|
592
|
-
readonly Badge: "ui-badge";
|
|
593
|
-
readonly Callout: "ui-callout";
|
|
594
|
-
readonly Avatar: "ui-avatar";
|
|
595
|
-
readonly AvatarGroup: "ui-avatar-group";
|
|
596
|
-
readonly SearchShell: "ui-search-shell";
|
|
597
|
-
readonly SearchResultRow: "ui-search-result-row";
|
|
598
|
-
readonly TopBar: "ui-top-bar";
|
|
599
|
-
readonly Tree: "ui-tree";
|
|
600
|
-
readonly TreeItem: "ui-tree-item";
|
|
601
|
-
};
|
|
602
|
-
declare const VUE_ADAPTER_NOTE = "Native-root adapter: attrs, slots, props, methods, and events project the framework-neutral Looma declarative contract into Vue.";
|
|
603
|
-
|
|
604
|
-
export { ADAPTER_COMPONENT_TAG_MAP, type AdapterBaseProps, type AdapterComponentProps, AffordanceScope, type AffordanceScopeProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Callout, type CalloutProps, Checkbox, type CheckboxProps, Cluster, type ClusterProps, Combobox, type ComboboxOptionInput, Container, type ContainerProps, ContextMenu, type ContextMenuProps, Dialog, type DialogProps, Disclosure, type DisclosureProps, Editable, type EditableProps, FormField, type FormFieldProps, Grid, type GridProps, IconButton, type IconButtonProps, Input, type InputProps, Menu, MenuItem, type MenuItemProps, type MenuProps, Popover, type PopoverProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Reel, type ReelProps, SearchResultRow, type SearchResultRowProps, SearchShell, type SearchShellProps, Select, type SelectProps, Separator, type SeparatorProps, Sidebar, type SidebarProps, Stack, type StackProps, Switch, type SwitchProps, Switcher, type SwitcherProps, Tabs, type TabsProps, Textarea, type TextareaProps, ToastRegion, type ToastRegionProps, Tooltip, type TooltipProps, TopBar, type TopBarProps, Tree, TreeItem, type TreeItemProps, type TreeProps, VUE_ADAPTER_NOTE, type VueAdapterEventMap };
|
|
1
|
+
export { default as AffordanceScope } from "./UiAffordanceScope.js";
|
|
2
|
+
export { default as Avatar } from "./UiAvatar.js";
|
|
3
|
+
export { default as AvatarGroup } from "./UiAvatarGroup.js";
|
|
4
|
+
export { default as Badge } from "./UiBadge.js";
|
|
5
|
+
export { default as Button } from "./UiButton.js";
|
|
6
|
+
export { default as Callout } from "./UiCallout.js";
|
|
7
|
+
export { default as Checkbox } from "./UiCheckbox.js";
|
|
8
|
+
export { default as Cluster } from "./UiCluster.js";
|
|
9
|
+
export { default as Combobox } from "./UiCombobox.js";
|
|
10
|
+
export { default as Container } from "./UiContainer.js";
|
|
11
|
+
export { default as ContextMenu } from "./UiContextMenu.js";
|
|
12
|
+
export { default as Dialog } from "./UiDialog.js";
|
|
13
|
+
export { default as Disclosure } from "./UiDisclosure.js";
|
|
14
|
+
export { default as Editable } from "./UiEditable.js";
|
|
15
|
+
export { default as EditorInsertTableGrid } from "./UiEditorInsertTableGrid.js";
|
|
16
|
+
export { default as EditorMentionMenu } from "./UiEditorMentionMenu.js";
|
|
17
|
+
export { default as EditorSlashMenu } from "./UiEditorSlashMenu.js";
|
|
18
|
+
export { default as EditorTableContextMenu } from "./UiEditorTableContextMenu.js";
|
|
19
|
+
export { default as EditorTableOverlay } from "./UiEditorTableOverlay.js";
|
|
20
|
+
export { default as EditorTableToolbar } from "./UiEditorTableToolbar.js";
|
|
21
|
+
export { default as EditorToolbar } from "./UiEditorToolbar.js";
|
|
22
|
+
export { default as FloatingActionButton } from "./UiFloatingActionButton.js";
|
|
23
|
+
export { default as FormField } from "./UiFormField.js";
|
|
24
|
+
export { default as Grid } from "./UiGrid.js";
|
|
25
|
+
export { default as Icon } from "./UiIcon.js";
|
|
26
|
+
export { default as IconButton } from "./UiIconButton.js";
|
|
27
|
+
export { default as Input } from "./UiInput.js";
|
|
28
|
+
export { default as Menu } from "./UiMenu.js";
|
|
29
|
+
export { default as MenuItem } from "./UiMenuItem.js";
|
|
30
|
+
export { default as Popover } from "./UiPopover.js";
|
|
31
|
+
export { default as Radio } from "./UiRadio.js";
|
|
32
|
+
export { default as RadioGroup } from "./UiRadioGroup.js";
|
|
33
|
+
export { default as Reel } from "./UiReel.js";
|
|
34
|
+
export { default as SearchResultRow } from "./UiSearchResultRow.js";
|
|
35
|
+
export { default as SearchShell } from "./UiSearchShell.js";
|
|
36
|
+
export { default as Select } from "./UiSelect.js";
|
|
37
|
+
export { default as Separator } from "./UiSeparator.js";
|
|
38
|
+
export { default as Sidebar } from "./UiSidebar.js";
|
|
39
|
+
export { default as Stack } from "./UiStack.js";
|
|
40
|
+
export { default as Switch } from "./UiSwitch.js";
|
|
41
|
+
export { default as Switcher } from "./UiSwitcher.js";
|
|
42
|
+
export { default as Tabs } from "./UiTabs.js";
|
|
43
|
+
export { default as Textarea } from "./UiTextarea.js";
|
|
44
|
+
export { default as ToastRegion } from "./UiToastRegion.js";
|
|
45
|
+
export { default as Tooltip } from "./UiTooltip.js";
|
|
46
|
+
export { default as TopBar } from "./UiTopBar.js";
|
|
47
|
+
export { default as Tree } from "./UiTree.js";
|
|
48
|
+
export { default as TreeItem } from "./UiTreeItem.js";
|