@threadlabs/looma 0.29.0 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -2
- package/components/ui-editor-link-form/ui-editor-link-form.html +2 -3
- package/components/ui-tooltip/ui-tooltip.html +5 -2
- package/dist/index.js +1 -1
- package/editor/chip-editing.d.ts +39 -0
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +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-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +7 -2
- 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 +6 -6
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +7 -7
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +17 -17
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +13 -13
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +6 -6
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +48 -48
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +4 -4
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +7 -7
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +8 -8
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +11 -11
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +3 -3
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +7 -12
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +90 -95
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +7 -7
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +13 -13
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +32 -44
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +12 -12
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +4 -4
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +11 -11
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +5 -5
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +4 -4
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +16 -16
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +18 -18
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +33 -33
- 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 +8 -8
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +6 -6
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +6 -6
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +7 -7
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +12 -12
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +4 -4
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +11 -11
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +8 -8
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +13 -13
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +8 -8
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +6 -6
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- 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 +8 -8
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +8 -8
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +8 -8
- 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 +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +7 -7
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +6 -6
- 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 +7 -7
- 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 +5 -5
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +8 -8
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +9 -8
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +6 -6
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +13 -13
- package/vue/UiActionBar.vue +8 -5
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +10 -11
- package/vue/UiAvatarGroup.vue +2 -3
- package/vue/UiBadge.vue +5 -3
- package/vue/UiBreadcrumbItem.vue +2 -3
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +15 -13
- package/vue/UiCallout.vue +8 -15
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +5 -4
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -27
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +4 -3
- package/vue/UiDisclosure.vue +9 -8
- package/vue/UiEditable.vue +13 -9
- package/vue/UiEditorBlockActions.vue +5 -4
- package/vue/UiEditorChipEditor.vue +7 -9
- package/vue/UiEditorCodeLanguage.vue +2 -2
- package/vue/UiEditorImageToolbar.vue +25 -32
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorLinkCard.vue +17 -20
- package/vue/UiEditorLinkForm.vue +21 -23
- package/vue/UiEditorMentionMenu.vue +9 -7
- package/vue/UiEditorMentionMenuItem.vue +5 -6
- package/vue/UiEditorSlashMenu.vue +3 -5
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +5 -6
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +4 -7
- package/vue/UiEditorTableOverlay.vue +26 -18
- package/vue/UiEditorTableToolbar.vue +23 -21
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +4 -3
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +4 -3
- package/vue/UiImage.vue +4 -7
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +7 -5
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +10 -7
- package/vue/UiListbox.vue +3 -5
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +2 -3
- package/vue/UiMenuItem.vue +15 -10
- package/vue/UiMeter.vue +4 -5
- package/vue/UiNavItem.vue +19 -13
- package/vue/UiPageHeader.vue +8 -7
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +10 -6
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +11 -8
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +7 -4
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +10 -6
- package/vue/UiSwatch.vue +1 -1
- package/vue/UiSwitch.vue +10 -6
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +3 -3
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +7 -5
- package/vue/UiTooltip.vue +10 -5
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +14 -13
- package/vue/chunks/UiActionBar.js +4 -2
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +18 -12
- package/vue/chunks/UiAvatarGroup.js +15 -11
- package/vue/chunks/UiBadge.js +7 -3
- package/vue/chunks/UiBreadcrumbItem.js +10 -6
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +10 -2
- package/vue/chunks/UiCallout.js +13 -3
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +35 -27
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +108 -74
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +14 -10
- package/vue/chunks/UiDisclosure.js +3 -1
- package/vue/chunks/UiEditable.js +36 -24
- package/vue/chunks/UiEditorBlockActions.js +3 -1
- package/vue/chunks/UiEditorChipEditor.js +31 -22
- package/vue/chunks/UiEditorCodeLanguage.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +45 -27
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +58 -42
- package/vue/chunks/UiEditorLinkForm.js +110 -90
- package/vue/chunks/UiEditorMentionMenu.js +23 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +6 -2
- package/vue/chunks/UiEditorSlashMenu.js +24 -16
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +10 -6
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +65 -53
- package/vue/chunks/UiEditorTableOverlay.js +60 -40
- package/vue/chunks/UiEditorTableToolbar.js +100 -74
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +7 -3
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +11 -7
- package/vue/chunks/UiImage.js +5 -2
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +5 -2
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +9 -3
- package/vue/chunks/UiListbox.js +17 -11
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +7 -3
- package/vue/chunks/UiMenuItem.js +7 -2
- package/vue/chunks/UiMeter.js +28 -16
- package/vue/chunks/UiNavItem.js +20 -6
- package/vue/chunks/UiPageHeader.js +4 -2
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +32 -24
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +6 -2
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +15 -7
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +13 -7
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +33 -25
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +21 -17
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +39 -31
- package/vue/chunks/UiTooltip.js +11 -3
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +25 -15
- package/vue/chunks/_plugin-vue_export-helper.js +1 -0
- package/vue/components.css +25 -21
- package/vue/editor/LoomaEditor.d.ts +2 -2
- package/vue/editor/compact/index.d.ts +2 -2
- package/vue/editor/index.js +241 -77
- package/vue/host.ts +4 -1
package/vue/UiDialog.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -293,8 +293,9 @@ useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
|
|
|
293
293
|
ref="root"
|
|
294
294
|
>
|
|
295
295
|
<header data-hn-ui-dialog ref="headerElement">
|
|
296
|
-
<h2 v-if="checkedProps.label" class="title" data-hn-ui-dialog>{{ checkedProps.label }}</h2>
|
|
297
|
-
|
|
296
|
+
<h2 v-if="checkedProps.label" class="title" data-hn-ui-dialog>{{ checkedProps.label }}</h2>{{
|
|
297
|
+
' '
|
|
298
|
+
}}<button class="close" type="button" aria-label="Close" data-hn-ui-dialog ref="closeElement">
|
|
298
299
|
</button>
|
|
299
300
|
</header>
|
|
300
301
|
<div class="body" data-hn-ui-dialog ref="bodyElement">
|
package/vue/UiDisclosure.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -348,13 +348,14 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
348
348
|
:disabled="checkedProps.disabled ?? undefined"
|
|
349
349
|
ref="triggerElement"
|
|
350
350
|
>
|
|
351
|
-
<span class="leading" data-hn-ui-disclosure><slot name="leading" /></span>
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
351
|
+
<span class="leading" data-hn-ui-disclosure><slot name="leading" /></span>{{ ' ' }}<span
|
|
352
|
+
class="summary"
|
|
353
|
+
data-hn-ui-disclosure
|
|
354
|
+
><slot name="summary">{{ checkedProps.summary }}</slot></span>{{ ' ' }}<span
|
|
355
|
+
class="indicator"
|
|
356
|
+
aria-hidden="true"
|
|
357
|
+
data-hn-ui-disclosure
|
|
358
|
+
><slot name="indicator"><span class="chevron" data-hn-ui-disclosure></span></slot></span>
|
|
358
359
|
</button>
|
|
359
360
|
</div>
|
|
360
361
|
<div class="panel" data-hn-ui-disclosure :id="contentId" ref="panelElement">
|
package/vue/UiEditable.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -377,12 +377,12 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
377
377
|
:disabled="checkedProps.disabled ?? undefined"
|
|
378
378
|
ref="previewElement"
|
|
379
379
|
>
|
|
380
|
-
<span class="text">{{ internalValue }}</span>
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
<input
|
|
380
|
+
<span class="text">{{ internalValue }}</span>{{ ' ' }}<span
|
|
381
|
+
v-if="checkedProps.hint"
|
|
382
|
+
class="hint"
|
|
383
|
+
aria-hidden="true"
|
|
384
|
+
>{{ checkedProps.hint }}</span>
|
|
385
|
+
</button>{{ ' ' }}<input
|
|
386
386
|
class="input"
|
|
387
387
|
type="text"
|
|
388
388
|
v-bind-control="{ tag: 'input', name: 'value', value: draft, nativeProperty: true, defaultValue: '' }"
|
|
@@ -394,8 +394,12 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
394
394
|
>
|
|
395
395
|
</div>
|
|
396
396
|
<div v-if="checkedProps.actions" class="actions">
|
|
397
|
-
<button class="save" type="button">{{ checkedProps.saveLabel }}</button>
|
|
398
|
-
|
|
397
|
+
<button class="save" type="button">{{ checkedProps.saveLabel }}</button>{{ ' ' }}<button
|
|
398
|
+
class="cancel"
|
|
399
|
+
type="button"
|
|
400
|
+
>
|
|
401
|
+
{{ checkedProps.cancelLabel }}
|
|
402
|
+
</button>
|
|
399
403
|
</div>
|
|
400
404
|
</div>
|
|
401
405
|
</template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -119,8 +119,9 @@ useComponentHost(() => import('../components/ui-editor-block-actions/ui-editor-b
|
|
|
119
119
|
aria-label="Block actions"
|
|
120
120
|
:for="checkedProps.for"
|
|
121
121
|
:placement="checkedProps.placement"
|
|
122
|
-
><UiMenuItem value="insert-below">Insert paragraph below</UiMenuItem>
|
|
123
|
-
|
|
124
|
-
<UiMenuItem value="delete"
|
|
122
|
+
><UiMenuItem value="insert-below">Insert paragraph below</UiMenuItem>{{ ' ' }}<UiMenuItem
|
|
123
|
+
value="duplicate"
|
|
124
|
+
>Duplicate block</UiMenuItem>{{ ' ' }}<UiMenuItem value="delete"
|
|
125
|
+
>Delete block</UiMenuItem></UiMenu>
|
|
125
126
|
</div>
|
|
126
127
|
</template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -149,16 +149,14 @@ useComponentHost(() => import('../components/ui-editor-chip-editor/ui-editor-chi
|
|
|
149
149
|
placeholder="Set a label"
|
|
150
150
|
aria-label="Chip text"
|
|
151
151
|
:value="checkedProps.label"
|
|
152
|
-
/>
|
|
153
|
-
<UiRadioGroup
|
|
152
|
+
/>{{ ' ' }}<UiRadioGroup
|
|
154
153
|
label="Chip color"
|
|
155
154
|
label-visibility="sr-only"
|
|
156
155
|
:value="checkedProps.color"
|
|
157
|
-
><UiSwatch tone="neutral" />
|
|
158
|
-
|
|
159
|
-
<UiSwatch tone="
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<UiSwatch tone="purple" /></UiRadioGroup></UiStack>
|
|
156
|
+
><UiSwatch tone="neutral" />{{ ' ' }}<UiSwatch tone="blue" />{{ ' ' }}<UiSwatch
|
|
157
|
+
tone="green"
|
|
158
|
+
/>{{ ' ' }}<UiSwatch tone="yellow" />{{ ' ' }}<UiSwatch tone="red" />{{ ' ' }}<UiSwatch
|
|
159
|
+
tone="purple"
|
|
160
|
+
/></UiRadioGroup></UiStack>
|
|
163
161
|
</div>
|
|
164
162
|
</template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -142,8 +142,8 @@ useComponentHost(() => import('../components/ui-editor-code-language/ui-editor-c
|
|
|
142
142
|
label="Code language"
|
|
143
143
|
label-visibility="sr-only"
|
|
144
144
|
size="sm"
|
|
145
|
-
filter="label"
|
|
146
145
|
:disclosure="true"
|
|
146
|
+
filter="label"
|
|
147
147
|
:value="checkedProps.value"
|
|
148
148
|
><KeyedBoundary><option
|
|
149
149
|
v-for="language in uniqueKeys(checkedProps.languages ?? [], (language, index, loop) => language.value)"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -338,8 +338,8 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
|
|
|
338
338
|
ref="root"
|
|
339
339
|
>
|
|
340
340
|
<UiText as="div" font="sans"><UiEditorToolbar
|
|
341
|
-
aria-label="Image actions"
|
|
342
341
|
:floating="true"
|
|
342
|
+
aria-label="Image actions"
|
|
343
343
|
><UiIconButton
|
|
344
344
|
label="Image in line"
|
|
345
345
|
size="sm"
|
|
@@ -347,48 +347,46 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
|
|
|
347
347
|
:id="guarded"
|
|
348
348
|
:variant="guardedBinding"
|
|
349
349
|
:aria-pressed="guardedBinding2"
|
|
350
|
-
><UiIcon name="panel-top" /></UiIconButton>
|
|
351
|
-
<UiIconButton
|
|
350
|
+
><UiIcon name="panel-top" /></UiIconButton>{{ ' ' }}<UiIconButton
|
|
352
351
|
label="Center image"
|
|
353
352
|
size="sm"
|
|
354
353
|
data-placement="center"
|
|
355
354
|
:id="guardedBinding3"
|
|
356
355
|
:variant="guardedBinding4"
|
|
357
356
|
:aria-pressed="guardedBinding5"
|
|
358
|
-
><UiIcon name="align-center" /></UiIconButton>
|
|
359
|
-
<UiIconButton
|
|
357
|
+
><UiIcon name="align-center" /></UiIconButton>{{ ' ' }}<UiIconButton
|
|
360
358
|
label="Wrap text to the right"
|
|
361
359
|
size="sm"
|
|
362
360
|
data-placement="wrap-left"
|
|
363
361
|
:id="guardedBinding6"
|
|
364
362
|
:variant="guardedBinding7"
|
|
365
363
|
:aria-pressed="guardedBinding8"
|
|
366
|
-
><UiIcon name="panel-left" /></UiIconButton>
|
|
367
|
-
<UiIconButton
|
|
364
|
+
><UiIcon name="panel-left" /></UiIconButton>{{ ' ' }}<UiIconButton
|
|
368
365
|
label="Wrap text to the left"
|
|
369
366
|
size="sm"
|
|
370
367
|
data-placement="wrap-right"
|
|
371
368
|
:id="guardedBinding9"
|
|
372
369
|
:variant="guardedBinding10"
|
|
373
370
|
:aria-pressed="guardedBinding11"
|
|
374
|
-
><UiIcon name="panel-right" /></UiIconButton>
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
371
|
+
><UiIcon name="panel-right" /></UiIconButton>{{ ' ' }}<UiIconButton
|
|
372
|
+
label="Image description"
|
|
373
|
+
size="sm"
|
|
374
|
+
variant="ghost"
|
|
375
|
+
:id="base"
|
|
376
|
+
><UiIcon name="file-text" /></UiIconButton>{{ ' ' }}<UiIconButton
|
|
379
377
|
label="Delete image"
|
|
380
378
|
size="sm"
|
|
381
379
|
variant="ghost"
|
|
382
380
|
data-action="delete"
|
|
383
381
|
:id="guardedBinding12"
|
|
384
|
-
><UiIcon name="trash" /></UiIconButton></UiEditorToolbar>
|
|
385
|
-
|
|
386
|
-
<UiTooltip :for="guardedBinding14"
|
|
387
|
-
<UiTooltip :for="guardedBinding15"
|
|
388
|
-
|
|
389
|
-
<UiTooltip :for="base"
|
|
390
|
-
<UiTooltip :for="guardedBinding17"
|
|
391
|
-
<UiPopover
|
|
382
|
+
><UiIcon name="trash" /></UiIconButton></UiEditorToolbar>{{ ' ' }}<UiTooltip
|
|
383
|
+
:for="guardedBinding13"
|
|
384
|
+
>Image in line</UiTooltip>{{ ' ' }}<UiTooltip :for="guardedBinding14"
|
|
385
|
+
>Center image</UiTooltip>{{ ' ' }}<UiTooltip :for="guardedBinding15"
|
|
386
|
+
>Wrap text to the right</UiTooltip>{{ ' ' }}<UiTooltip :for="guardedBinding16"
|
|
387
|
+
>Wrap text to the left</UiTooltip>{{ ' ' }}<UiTooltip :for="base"
|
|
388
|
+
>Image description</UiTooltip>{{ ' ' }}<UiTooltip :for="guardedBinding17"
|
|
389
|
+
>Delete image</UiTooltip>{{ ' ' }}<UiPopover
|
|
392
390
|
size="sm"
|
|
393
391
|
aria-label="Image description"
|
|
394
392
|
:for="base"
|
|
@@ -401,17 +399,12 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
|
|
|
401
399
|
:id="guardedBinding19"
|
|
402
400
|
:value="draft"
|
|
403
401
|
ref="altElement"
|
|
404
|
-
/></UiFormField>
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
tone="neutral"
|
|
411
|
-
size="sm"
|
|
412
|
-
data-action="cancel"
|
|
413
|
-
>Cancel</UiButton>
|
|
414
|
-
<UiButton type="submit" variant="solid" size="sm"
|
|
402
|
+
/></UiFormField>{{ ' ' }}<UiText size="xs" tone="secondary"
|
|
403
|
+
>Describe the image for people using a screen reader.</UiText>{{ ' ' }}<UiCluster
|
|
404
|
+
justify="end"
|
|
405
|
+
gap="xs"
|
|
406
|
+
><UiButton type="button" variant="ghost" tone="neutral" size="sm" data-action="cancel"
|
|
407
|
+
>Cancel</UiButton>{{ ' ' }}<UiButton type="submit" variant="solid" size="sm"
|
|
415
408
|
>Save</UiButton></UiCluster></UiStack>
|
|
416
409
|
</form></UiPopover></UiText>
|
|
417
410
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiEditorLinkCard.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -272,22 +272,21 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
272
272
|
wrap="nowrap"
|
|
273
273
|
role="group"
|
|
274
274
|
aria-label="Link actions"
|
|
275
|
-
><UiIcon :name="guarded" />
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
>{{ text(shown) }}</UiText>
|
|
283
|
-
<UiText
|
|
275
|
+
><UiIcon :name="guarded" />{{ ' ' }}<UiStack
|
|
276
|
+
gap="none"
|
|
277
|
+
:title="checkedProps.href"
|
|
278
|
+
:aria-label="guardedBinding"
|
|
279
|
+
><UiText as="strong" size="sm" weight="medium" font="sans" wrap="anywhere">{{
|
|
280
|
+
text(shown)
|
|
281
|
+
}}</UiText>{{ ' ' }}<UiText
|
|
284
282
|
v-if="checkedProps.detail !== ''"
|
|
285
283
|
as="small"
|
|
286
284
|
size="xs"
|
|
287
285
|
tone="secondary"
|
|
288
286
|
font="sans"
|
|
289
|
-
>{{ checkedProps.detail }}</UiText></UiStack>
|
|
290
|
-
|
|
287
|
+
>{{ checkedProps.detail }}</UiText></UiStack>{{ ' ' }}<template
|
|
288
|
+
v-if="checkedProps.openHref !== ''"
|
|
289
|
+
>{{ ' ' }}<UiButton
|
|
291
290
|
as="a"
|
|
292
291
|
variant="ghost"
|
|
293
292
|
tone="neutral"
|
|
@@ -298,23 +297,21 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
298
297
|
:id="guardedBinding2"
|
|
299
298
|
:href="checkedProps.openHref"
|
|
300
299
|
><UiCluster gap="xs" wrap="nowrap"><UiIcon name="external-link" />Open
|
|
301
|
-
link</UiCluster></UiButton>
|
|
302
|
-
|
|
303
|
-
<UiIconButton
|
|
300
|
+
link</UiCluster></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding3"
|
|
301
|
+
>Open link</UiTooltip>{{ ' ' }}</template>{{ ' ' }}<UiIconButton
|
|
304
302
|
label="Edit link"
|
|
305
303
|
variant="ghost"
|
|
306
304
|
size="sm"
|
|
307
305
|
data-link-action="edit"
|
|
308
306
|
:id="guardedBinding4"
|
|
309
|
-
><UiIcon name="pencil" /></UiIconButton>
|
|
310
|
-
|
|
311
|
-
<UiIconButton
|
|
307
|
+
><UiIcon name="pencil" /></UiIconButton>{{ ' ' }}<UiTooltip :for="guardedBinding5"
|
|
308
|
+
>Edit link</UiTooltip>{{ ' ' }}<UiIconButton
|
|
312
309
|
label="Remove link"
|
|
313
310
|
variant="ghost"
|
|
314
311
|
size="sm"
|
|
315
312
|
data-link-action="remove"
|
|
316
313
|
:id="guardedBinding6"
|
|
317
|
-
><UiIcon name="unlink" /></UiIconButton>
|
|
318
|
-
|
|
314
|
+
><UiIcon name="unlink" /></UiIconButton>{{ ' ' }}<UiTooltip :for="guardedBinding7"
|
|
315
|
+
>Remove link</UiTooltip></UiCluster></UiCard>
|
|
319
316
|
</div>
|
|
320
317
|
</template>
|
package/vue/UiEditorLinkForm.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -462,8 +462,9 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
462
462
|
:data-ui-editor-link-form-prop-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
463
463
|
ref="root"
|
|
464
464
|
>
|
|
465
|
-
<UiStack gap="s"><UiText as="h3" size="sm" weight="semibold">{{ text(heading) }}</UiText>
|
|
466
|
-
|
|
465
|
+
<UiStack gap="s"><UiText as="h3" size="sm" weight="semibold">{{ text(heading) }}</UiText>{{
|
|
466
|
+
' '
|
|
467
|
+
}}<UiStack gap="s"><UiFormField :invalid="checkedProps.error !== ''"><label
|
|
467
468
|
slot="label"
|
|
468
469
|
:for="guarded"
|
|
469
470
|
>{{ text(fieldLabel) }}</label>
|
|
@@ -488,8 +489,9 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
488
489
|
variant="ghost"
|
|
489
490
|
size="sm"
|
|
490
491
|
data-link-clear=""
|
|
491
|
-
><UiIcon name="x" /></UiIconButton></UiInputGroup>
|
|
492
|
-
|
|
492
|
+
><UiIcon name="x" /></UiIconButton></UiInputGroup>{{ ' ' }}<template
|
|
493
|
+
v-if="!checkedProps.searchable"
|
|
494
|
+
>{{ ' ' }}<UiInput
|
|
493
495
|
data-link-destination=""
|
|
494
496
|
type="text"
|
|
495
497
|
inputmode="url"
|
|
@@ -497,15 +499,13 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
497
499
|
:id="guardedBinding3"
|
|
498
500
|
:placeholder="checkedProps.placeholder"
|
|
499
501
|
:value="checkedProps.value"
|
|
500
|
-
|
|
501
|
-
<UiScrollArea
|
|
502
|
+
/>{{ ' ' }}</template></UiFormField>{{ ' ' }}<UiScrollArea
|
|
502
503
|
v-if="checkedProps.mode === 'target'"
|
|
503
504
|
size="sm"
|
|
504
505
|
aria-label="Destination search results"
|
|
505
506
|
><UiText v-if="checkedProps.status !== ''" size="sm" tone="secondary" role="status">{{
|
|
506
507
|
checkedProps.status
|
|
507
|
-
}}</UiText>
|
|
508
|
-
<KeyedBoundary><UiSearchResultRow
|
|
508
|
+
}}</UiText>{{ ' ' }}<KeyedBoundary><UiSearchResultRow
|
|
509
509
|
v-for="result in uniqueKeys(checkedProps.results ?? [], (result, index, loop) => result.id)"
|
|
510
510
|
:key="result.id"
|
|
511
511
|
density="compact"
|
|
@@ -534,24 +534,22 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
534
534
|
v-if="result.id === checkedProps.selected"
|
|
535
535
|
slot="trailing"
|
|
536
536
|
name="check"
|
|
537
|
-
/></UiSearchResultRow></KeyedBoundary></UiScrollArea>
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
<template v-if="checkedProps.textEditable"><UiFormField><label
|
|
544
|
-
slot="label"
|
|
545
|
-
:for="guardedBinding4"
|
|
546
|
-
>Text</label>
|
|
537
|
+
/></UiSearchResultRow></KeyedBoundary></UiScrollArea>{{ ' ' }}<template
|
|
538
|
+
v-if="checkedProps.mode === 'url'"
|
|
539
|
+
>{{ ' ' }}<UiCheckbox size="sm" data-link-new-tab="" :checked="checkedProps.newTab"
|
|
540
|
+
>Open in new tab</UiCheckbox>{{ ' ' }}</template></UiStack>{{ ' ' }}<template
|
|
541
|
+
v-if="checkedProps.textEditable"
|
|
542
|
+
>{{ ' ' }}<UiFormField><label slot="label" :for="guardedBinding4">Text</label>
|
|
547
543
|
<UiInput
|
|
548
544
|
data-link-text=""
|
|
549
545
|
size="sm"
|
|
550
546
|
:id="guardedBinding5"
|
|
551
547
|
:value="checkedProps.text"
|
|
552
|
-
/></UiFormField
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
548
|
+
/></UiFormField>{{ ' ' }}</template>{{ ' ' }}<UiText
|
|
549
|
+
v-if="checkedProps.error !== ''"
|
|
550
|
+
size="sm"
|
|
551
|
+
tone="danger"
|
|
552
|
+
role="alert"
|
|
553
|
+
>{{ checkedProps.error }}</UiText></UiStack>
|
|
556
554
|
</form>
|
|
557
555
|
</template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -362,8 +362,12 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
362
362
|
<div class="header" data-hn-ui-editor-mention-menu><slot name="header" /></div>
|
|
363
363
|
<div v-if="searching" class="loading" role="status" data-hn-ui-editor-mention-menu>
|
|
364
364
|
{{ checkedProps.loadingLabel }}
|
|
365
|
-
</div>
|
|
366
|
-
|
|
365
|
+
</div>{{ ' ' }}<ul
|
|
366
|
+
v-if="!searching"
|
|
367
|
+
class="list"
|
|
368
|
+
role="presentation"
|
|
369
|
+
data-hn-ui-editor-mention-menu
|
|
370
|
+
>
|
|
367
371
|
<li
|
|
368
372
|
v-for="(row, index) in rows"
|
|
369
373
|
:key="index"
|
|
@@ -378,16 +382,14 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
|
|
|
378
382
|
>
|
|
379
383
|
<span class="avatar" aria-hidden="true" data-hn-ui-editor-mention-menu>{{
|
|
380
384
|
row.initials
|
|
381
|
-
}}</span>
|
|
382
|
-
<span class="body" data-hn-ui-editor-mention-menu><span
|
|
385
|
+
}}</span>{{ ' ' }}<span class="body" data-hn-ui-editor-mention-menu><span
|
|
383
386
|
class="label"
|
|
384
387
|
data-hn-ui-editor-mention-menu
|
|
385
388
|
>{{ row.label }}</span>
|
|
386
389
|
<span v-if="row.detail" class="detail" data-hn-ui-editor-mention-menu>{{
|
|
387
390
|
row.detail
|
|
388
391
|
}}</span></span>
|
|
389
|
-
</li>
|
|
390
|
-
<slot />
|
|
392
|
+
</li>{{ ' ' }}<slot />
|
|
391
393
|
</ul>
|
|
392
394
|
<div class="empty" data-hn-ui-editor-mention-menu ref="emptyElement"><slot name="empty" /></div>
|
|
393
395
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -87,11 +87,10 @@ checkHydratedRoot('li', 'ui-editor-mention-menu-item')
|
|
|
87
87
|
>
|
|
88
88
|
<span class="avatar" aria-hidden="true" data-hn-ui-editor-mention-menu-item><slot
|
|
89
89
|
name="start"
|
|
90
|
-
>{{ checkedProps.initials }}</slot></span>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
><slot /></span>
|
|
90
|
+
>{{ checkedProps.initials }}</slot></span>{{ ' ' }}<span
|
|
91
|
+
class="body"
|
|
92
|
+
data-hn-ui-editor-mention-menu-item
|
|
93
|
+
><span class="label" data-hn-ui-editor-mention-menu-item><slot /></span>
|
|
95
94
|
<span v-if="checkedProps.detail" class="detail" data-hn-ui-editor-mention-menu-item>{{
|
|
96
95
|
checkedProps.detail
|
|
97
96
|
}}</span></span>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -327,16 +327,14 @@ useComponentHost(() => import('../components/ui-editor-slash-menu/ui-editor-slas
|
|
|
327
327
|
<span class="icon" aria-hidden="true" data-hn-ui-editor-slash-menu><UiIcon
|
|
328
328
|
class="ui-icon"
|
|
329
329
|
:name="item.icon"
|
|
330
|
-
/></span>
|
|
331
|
-
<span class="body" data-hn-ui-editor-slash-menu><span
|
|
330
|
+
/></span>{{ ' ' }}<span class="body" data-hn-ui-editor-slash-menu><span
|
|
332
331
|
class="title"
|
|
333
332
|
data-hn-ui-editor-slash-menu
|
|
334
333
|
>{{ item.title }}</span>
|
|
335
334
|
<span class="description" data-hn-ui-editor-slash-menu>{{
|
|
336
335
|
item.description
|
|
337
336
|
}}</span></span>
|
|
338
|
-
</li>
|
|
339
|
-
<slot />
|
|
337
|
+
</li>{{ ' ' }}<slot />
|
|
340
338
|
</ul>
|
|
341
339
|
<div class="empty" data-hn-ui-editor-slash-menu ref="emptyElement"><slot name="empty" /></div>
|
|
342
340
|
<div class="footer" data-hn-ui-editor-slash-menu><slot name="footer" /></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -131,11 +131,10 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
131
131
|
class="icon"
|
|
132
132
|
aria-hidden="true"
|
|
133
133
|
data-hn-ui-editor-slash-menu-item
|
|
134
|
-
><UiIcon class="ui-icon" :name="checkedProps.icon" /></span>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
><slot /></span>
|
|
134
|
+
><UiIcon class="ui-icon" :name="checkedProps.icon" /></span>{{ ' ' }}<span
|
|
135
|
+
class="body"
|
|
136
|
+
data-hn-ui-editor-slash-menu-item
|
|
137
|
+
><span class="title" data-hn-ui-editor-slash-menu-item><slot /></span>
|
|
139
138
|
<span v-if="checkedProps.description" class="description" data-hn-ui-editor-slash-menu-item>{{
|
|
140
139
|
checkedProps.description
|
|
141
140
|
}}</span></span>
|
package/vue/UiEditorSurface.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.54 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -470,12 +470,10 @@ useComponentHost(
|
|
|
470
470
|
class="swatch"
|
|
471
471
|
:class="{ default: !swatch.color }"
|
|
472
472
|
:style="{ '--_swatch': swatch.color }"
|
|
473
|
-
></span>
|
|
474
|
-
<span class="swatch-label">{{ swatch.label }}</span>
|
|
473
|
+
></span>{{ ' ' }}<span class="swatch-label">{{ swatch.label }}</span>
|
|
475
474
|
</button></KeyedBoundary>
|
|
476
475
|
</div>
|
|
477
|
-
</div>
|
|
478
|
-
<KeyedBoundary><template
|
|
476
|
+
</div>{{ ' ' }}<KeyedBoundary><template
|
|
479
477
|
v-for="section in uniqueKeys(sections, (section, indexLoop, loop) => section.heading)"
|
|
480
478
|
:key="section.heading"
|
|
481
479
|
><div class="sep"></div>
|
|
@@ -518,8 +516,7 @@ useComponentHost(
|
|
|
518
516
|
:data-action="item.action"
|
|
519
517
|
:class="{ danger: item.danger }"
|
|
520
518
|
>
|
|
521
|
-
<UiIcon class="ui-icon" :name="item.icon" />
|
|
522
|
-
<span>{{ item.label }}</span>
|
|
519
|
+
<UiIcon class="ui-icon" :name="item.icon" />{{ ' ' }}<span>{{ item.label }}</span>
|
|
523
520
|
</button></KeyedBoundary>
|
|
524
521
|
</div></template></KeyedBoundary>
|
|
525
522
|
</div>
|