@threadlabs/looma 0.23.20 → 0.23.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/shared/overlay.js +1 -1
- package/components/ui-combobox/ui-combobox.html +7 -8
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +3 -3
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +4 -4
- package/components/ui-image/ui-image.html +177 -0
- package/components/ui-image/ui-image.js +107 -0
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-menu/ui-menu.js +1 -1
- package/components/ui-popover/ui-popover.js +4 -1
- package/components/ui-separator/ui-separator.html +18 -0
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/dist/index.js +24 -23
- package/editor/chunks/extensions.js +633 -20
- package/editor/extensions/block-selection.d.ts +6 -0
- package/editor/extensions/expand.d.ts +31 -0
- package/editor/extensions/image.d.ts +12 -0
- package/editor/extensions/index.d.ts +4 -1
- package/editor/extensions/index.js +2 -2
- package/editor/extensions/preset.d.ts +8 -0
- package/editor/extensions/slash-command.d.ts +31 -3
- package/editor/extensions/table-of-contents.d.ts +58 -0
- package/editor/index.js +2 -2
- package/package.json +2 -2
- 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-insert-table-grid.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-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 +153 -0
- 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 +17 -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-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +181 -167
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +19 -13
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +17 -13
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +26 -20
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +69 -65
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +72 -64
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +21 -0
- package/vanilla/UiImage.js +84 -0
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +33 -31
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +3 -1
- package/vanilla/UiSeparator.js +11 -3
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +13 -11
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vanilla/index.js +1 -0
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.vue +2 -2
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +1 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +1 -1
- 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 +1 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +1 -1
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +1 -1
- package/vue/UiEditorTableToolbar.vue +1 -1
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.d.ts +100 -0
- package/vue/UiImage.js +2 -0
- package/vue/UiImage.vue +463 -0
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +1 -1
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +1 -1
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +1 -1
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.d.ts +18 -0
- package/vue/UiSeparator.vue +67 -2
- package/vue/UiSidebar.d.ts +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +1 -1
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +1 -1
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +2 -2
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +313 -0
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +79 -22
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1469 -1309
- package/vue/editor/LoomaEditor.d.ts +19 -2
- package/vue/editor/divider.d.ts +6 -0
- package/vue/editor/expand.d.ts +7 -0
- package/vue/editor/image-controls.d.ts +19 -0
- package/vue/editor/image-delivery.d.ts +2 -2
- package/vue/editor/image.d.ts +7 -0
- package/vue/editor/index.d.ts +1 -1
- package/vue/editor/index.js +1188 -52
- package/vue/editor/table-of-contents.d.ts +7 -0
- package/vue/host.ts +1 -1
- package/vue/index.d.ts +1 -0
- package/vue/index.js +2 -1
package/vue/UiImage.vue
ADDED
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
|
+
import type { PropType } from 'vue'
|
|
5
|
+
import { createDispatch, useComponentHost } from './host'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
|
+
|
|
8
|
+
defineOptions({ inheritAttrs: false })
|
|
9
|
+
|
|
10
|
+
const propValidityContract = {
|
|
11
|
+
props: {
|
|
12
|
+
alt: {
|
|
13
|
+
type: { kind: 'terminal', name: 'string' },
|
|
14
|
+
required: false,
|
|
15
|
+
target: { attribute: 'alt' },
|
|
16
|
+
description: 'A text alternative for the image.',
|
|
17
|
+
default: '',
|
|
18
|
+
},
|
|
19
|
+
height: {
|
|
20
|
+
type: { kind: 'terminal', name: 'integer' },
|
|
21
|
+
required: false,
|
|
22
|
+
target: { attribute: 'height' },
|
|
23
|
+
description: 'Image height in CSS pixels; resizing preserves the intrinsic aspect ratio.',
|
|
24
|
+
},
|
|
25
|
+
placement: {
|
|
26
|
+
type: { kind: 'terminal', name: 'keyword' },
|
|
27
|
+
required: false,
|
|
28
|
+
target: { attribute: 'placement' },
|
|
29
|
+
description:
|
|
30
|
+
'Block keeps text below; center centers the image; wrap-left and wrap-right let following text flow beside it.',
|
|
31
|
+
values: ['block', 'center', 'wrap-left', 'wrap-right'],
|
|
32
|
+
default: 'block',
|
|
33
|
+
},
|
|
34
|
+
resizable: {
|
|
35
|
+
type: { kind: 'terminal', name: 'boolean' },
|
|
36
|
+
required: false,
|
|
37
|
+
target: { attribute: 'resizable' },
|
|
38
|
+
description:
|
|
39
|
+
'Shows four corner handles while selected. Drag to resize, or focus a handle and use arrow keys; Shift uses a larger increment.',
|
|
40
|
+
default: false,
|
|
41
|
+
},
|
|
42
|
+
selected: {
|
|
43
|
+
type: { kind: 'terminal', name: 'boolean' },
|
|
44
|
+
required: false,
|
|
45
|
+
target: { attribute: 'selected' },
|
|
46
|
+
description: 'Outlines the media as the current selection.',
|
|
47
|
+
default: false,
|
|
48
|
+
},
|
|
49
|
+
src: {
|
|
50
|
+
type: { kind: 'terminal', name: 'string' },
|
|
51
|
+
required: false,
|
|
52
|
+
target: { attribute: 'src' },
|
|
53
|
+
description: 'The image source, used by the default media.',
|
|
54
|
+
default: '',
|
|
55
|
+
},
|
|
56
|
+
width: {
|
|
57
|
+
type: { kind: 'terminal', name: 'integer' },
|
|
58
|
+
required: false,
|
|
59
|
+
target: { attribute: 'width' },
|
|
60
|
+
description:
|
|
61
|
+
'Image width in CSS pixels; omitted uses intrinsic size in block/center placement or responsive sizing when wrapping.',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
} as const
|
|
65
|
+
const props = defineProps({
|
|
66
|
+
alt: { type: null as unknown as PropType<string | null>, default: '' },
|
|
67
|
+
height: { type: null as unknown as PropType<number | null>, default: null },
|
|
68
|
+
placement: {
|
|
69
|
+
type: null as unknown as PropType<'block' | 'center' | 'wrap-left' | 'wrap-right' | null>,
|
|
70
|
+
default: 'block',
|
|
71
|
+
},
|
|
72
|
+
resizable: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
73
|
+
selected: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
74
|
+
src: { type: null as unknown as PropType<string | null>, default: '' },
|
|
75
|
+
width: { type: null as unknown as PropType<number | null>, default: null },
|
|
76
|
+
})
|
|
77
|
+
const acceptedProps: Record<string, unknown> = {
|
|
78
|
+
alt: '',
|
|
79
|
+
height: null,
|
|
80
|
+
placement: 'block',
|
|
81
|
+
resizable: false,
|
|
82
|
+
selected: false,
|
|
83
|
+
src: '',
|
|
84
|
+
width: null,
|
|
85
|
+
}
|
|
86
|
+
const checkedProps = computed(() => ({
|
|
87
|
+
alt: checkedProp<string>(
|
|
88
|
+
props['alt'],
|
|
89
|
+
{ kind: 'terminal', name: 'string' },
|
|
90
|
+
false,
|
|
91
|
+
'alt',
|
|
92
|
+
acceptedProps,
|
|
93
|
+
) as string,
|
|
94
|
+
height: checkedProp<number>(
|
|
95
|
+
props['height'],
|
|
96
|
+
{ kind: 'terminal', name: 'integer' },
|
|
97
|
+
false,
|
|
98
|
+
'height',
|
|
99
|
+
acceptedProps,
|
|
100
|
+
),
|
|
101
|
+
placement: checkedProp<'block' | 'center' | 'wrap-left' | 'wrap-right'>(
|
|
102
|
+
props['placement'],
|
|
103
|
+
{ kind: 'terminal', name: 'keyword' },
|
|
104
|
+
false,
|
|
105
|
+
'placement',
|
|
106
|
+
acceptedProps,
|
|
107
|
+
) as 'block' | 'center' | 'wrap-left' | 'wrap-right',
|
|
108
|
+
resizable: checkedProp<boolean>(
|
|
109
|
+
props['resizable'],
|
|
110
|
+
{ kind: 'terminal', name: 'boolean' },
|
|
111
|
+
false,
|
|
112
|
+
'resizable',
|
|
113
|
+
acceptedProps,
|
|
114
|
+
) as boolean,
|
|
115
|
+
selected: checkedProp<boolean>(
|
|
116
|
+
props['selected'],
|
|
117
|
+
{ kind: 'terminal', name: 'boolean' },
|
|
118
|
+
false,
|
|
119
|
+
'selected',
|
|
120
|
+
acceptedProps,
|
|
121
|
+
) as boolean,
|
|
122
|
+
src: checkedProp<string>(
|
|
123
|
+
props['src'],
|
|
124
|
+
{ kind: 'terminal', name: 'string' },
|
|
125
|
+
false,
|
|
126
|
+
'src',
|
|
127
|
+
acceptedProps,
|
|
128
|
+
) as string,
|
|
129
|
+
width: checkedProp<number>(
|
|
130
|
+
props['width'],
|
|
131
|
+
{ kind: 'terminal', name: 'integer' },
|
|
132
|
+
false,
|
|
133
|
+
'width',
|
|
134
|
+
acceptedProps,
|
|
135
|
+
),
|
|
136
|
+
}))
|
|
137
|
+
void checkedProps.value
|
|
138
|
+
watchSyncEffect(() => {
|
|
139
|
+
void checkedProps.value
|
|
140
|
+
})
|
|
141
|
+
function nativeAttrs(attrs: Record<string, unknown>): Record<string, unknown> {
|
|
142
|
+
const names = Object.keys(attrs)
|
|
143
|
+
if (!names.some((name) => Object.hasOwn(Object.prototype, name))) return attrs
|
|
144
|
+
return Object.fromEntries(names.map((name) => [
|
|
145
|
+
Object.hasOwn(Object.prototype, name)
|
|
146
|
+
? name === '__proto__' ? '__Proto__' : name[0]!.toUpperCase() + name.slice(1)
|
|
147
|
+
: name,
|
|
148
|
+
attrs[name],
|
|
149
|
+
]))
|
|
150
|
+
}
|
|
151
|
+
const componentInstance = getCurrentInstance()
|
|
152
|
+
function reflectedProp(
|
|
153
|
+
name: string,
|
|
154
|
+
kebab: string,
|
|
155
|
+
value: unknown,
|
|
156
|
+
fallback: string | undefined,
|
|
157
|
+
bound: boolean,
|
|
158
|
+
separator?: string,
|
|
159
|
+
): string | undefined {
|
|
160
|
+
const incoming = componentInstance?.vnode.props
|
|
161
|
+
if (
|
|
162
|
+
!bound
|
|
163
|
+
&& (incoming === null || incoming === undefined
|
|
164
|
+
|| (!Object.hasOwn(incoming, name) && !Object.hasOwn(incoming, kebab)))
|
|
165
|
+
) return fallback
|
|
166
|
+
if (value === null || value === undefined) return undefined
|
|
167
|
+
return Array.isArray(value) && separator !== undefined
|
|
168
|
+
? value.join(separator)
|
|
169
|
+
: typeof value === 'object'
|
|
170
|
+
? JSON.stringify(value)
|
|
171
|
+
: String(value)
|
|
172
|
+
}
|
|
173
|
+
const hydrationInstance = getCurrentInstance()
|
|
174
|
+
const emit = defineEmits<{
|
|
175
|
+
'update:height': [value: number]
|
|
176
|
+
'update:width': [value: number]
|
|
177
|
+
resize: [
|
|
178
|
+
event: CustomEvent<
|
|
179
|
+
{
|
|
180
|
+
readonly width: number
|
|
181
|
+
readonly height: number
|
|
182
|
+
readonly phase: 'preview' | 'commit' | 'cancel'
|
|
183
|
+
readonly trigger: 'pointer' | 'keyboard'
|
|
184
|
+
}
|
|
185
|
+
>,
|
|
186
|
+
]
|
|
187
|
+
}>()
|
|
188
|
+
|
|
189
|
+
const root = ref<HTMLElement | null>(null)
|
|
190
|
+
const frameElement = useTemplateRef<HTMLElement>('frame')
|
|
191
|
+
const hydrationNode = hydrationInstance?.vnode.el
|
|
192
|
+
if (
|
|
193
|
+
typeof window !== 'undefined' && hydrationNode != null
|
|
194
|
+
&& (!(hydrationNode instanceof Element) || hydrationNode.localName !== ('figure'))
|
|
195
|
+
) {
|
|
196
|
+
throw Object.assign(new Error('HR005: Server markup for <ui-image> has an incompatible root.'), {
|
|
197
|
+
name: 'HtmlDiagnosticError',
|
|
198
|
+
diagnostic: Object.freeze({
|
|
199
|
+
code: 'HR005',
|
|
200
|
+
message: 'Server markup for <ui-image> has an incompatible root.',
|
|
201
|
+
}),
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/** The values the styles' :host-state() rules test. */
|
|
206
|
+
const hostState = computed(() =>
|
|
207
|
+
[
|
|
208
|
+
checkedProps.value.placement && 'placement',
|
|
209
|
+
checkedProps.value.placement != null
|
|
210
|
+
&& `placement=${encodeURIComponent(checkedProps.value.placement)}`,
|
|
211
|
+
checkedProps.value.selected && 'selected',
|
|
212
|
+
].filter(Boolean).join(' ')
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
const isResizeDetail = (detail: unknown): boolean =>
|
|
216
|
+
detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
217
|
+
&& Number.isInteger((detail as Record<string, unknown>)['width'])
|
|
218
|
+
&& Number.isInteger((detail as Record<string, unknown>)['height'])
|
|
219
|
+
&& ((detail as Record<string, unknown>)['phase'] === 'preview'
|
|
220
|
+
|| (detail as Record<string, unknown>)['phase'] === 'commit'
|
|
221
|
+
|| (detail as Record<string, unknown>)['phase'] === 'cancel')
|
|
222
|
+
&& ((detail as Record<string, unknown>)['trigger'] === 'pointer'
|
|
223
|
+
|| (detail as Record<string, unknown>)['trigger'] === 'keyboard')
|
|
224
|
+
&& Object.keys(detail as object).every((key) =>
|
|
225
|
+
['width', 'height', 'phase', 'trigger'].includes(key)
|
|
226
|
+
)
|
|
227
|
+
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
228
|
+
checks: {
|
|
229
|
+
resize: isResizeDetail,
|
|
230
|
+
},
|
|
231
|
+
modeled: ['height', 'width'],
|
|
232
|
+
})
|
|
233
|
+
|
|
234
|
+
useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
235
|
+
root,
|
|
236
|
+
dispatch,
|
|
237
|
+
controllerSource: {
|
|
238
|
+
specifier: '../components/ui-image/ui-image.js',
|
|
239
|
+
definition: './components/ui-image/ui-image.html',
|
|
240
|
+
},
|
|
241
|
+
props: checkedProps,
|
|
242
|
+
propInputs: (name: string) => {
|
|
243
|
+
const incoming = hydrationInstance?.vnode.props
|
|
244
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
245
|
+
return incoming !== null && incoming !== undefined
|
|
246
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
247
|
+
: null
|
|
248
|
+
},
|
|
249
|
+
propNames: ['alt', 'height', 'placement', 'resizable', 'selected', 'src', 'width'],
|
|
250
|
+
propValidity: (name: string) =>
|
|
251
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
252
|
+
refs: { frame: frameElement },
|
|
253
|
+
})
|
|
254
|
+
</script>
|
|
255
|
+
|
|
256
|
+
<template>
|
|
257
|
+
<figure
|
|
258
|
+
data-component="ui-image"
|
|
259
|
+
v-bind="nativeAttrs($attrs)"
|
|
260
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
261
|
+
:data-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
262
|
+
:data-height="reflectedProp('height', 'height', checkedProps.height, undefined, false)"
|
|
263
|
+
:data-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
264
|
+
:data-resizable="reflectedProp('resizable', 'resizable', checkedProps.resizable, undefined, false)"
|
|
265
|
+
:data-selected="reflectedProp('selected', 'selected', checkedProps.selected, undefined, false)"
|
|
266
|
+
:data-src="reflectedProp('src', 'src', checkedProps.src, undefined, false)"
|
|
267
|
+
:data-width="reflectedProp('width', 'width', checkedProps.width, undefined, false)"
|
|
268
|
+
:data-ui-image-state="hostState || undefined"
|
|
269
|
+
ref="root"
|
|
270
|
+
>
|
|
271
|
+
<div class="frame" ref="frame">
|
|
272
|
+
<slot name="media"><img
|
|
273
|
+
:src="checkedProps.src ?? undefined"
|
|
274
|
+
:alt="checkedProps.alt ?? undefined"
|
|
275
|
+
:width="checkedProps.width ?? undefined"
|
|
276
|
+
:height="checkedProps.height ?? undefined"
|
|
277
|
+
></slot>
|
|
278
|
+
<div class="handles" :hidden="!(checkedProps.selected && checkedProps.resizable)">
|
|
279
|
+
<button
|
|
280
|
+
type="button"
|
|
281
|
+
class="handle"
|
|
282
|
+
data-corner="top-left"
|
|
283
|
+
aria-label="Resize image from top left"
|
|
284
|
+
>
|
|
285
|
+
</button>
|
|
286
|
+
<button
|
|
287
|
+
type="button"
|
|
288
|
+
class="handle"
|
|
289
|
+
data-corner="top-right"
|
|
290
|
+
aria-label="Resize image from top right"
|
|
291
|
+
>
|
|
292
|
+
</button>
|
|
293
|
+
<button
|
|
294
|
+
type="button"
|
|
295
|
+
class="handle"
|
|
296
|
+
data-corner="bottom-left"
|
|
297
|
+
aria-label="Resize image from bottom left"
|
|
298
|
+
>
|
|
299
|
+
</button>
|
|
300
|
+
<button
|
|
301
|
+
type="button"
|
|
302
|
+
class="handle"
|
|
303
|
+
data-corner="bottom-right"
|
|
304
|
+
aria-label="Resize image from bottom right"
|
|
305
|
+
>
|
|
306
|
+
</button>
|
|
307
|
+
</div>
|
|
308
|
+
<slot name="controls" />
|
|
309
|
+
</div>
|
|
310
|
+
</figure>
|
|
311
|
+
</template>
|
|
312
|
+
|
|
313
|
+
<style scoped>
|
|
314
|
+
[data-component~="ui-image"] {
|
|
315
|
+
display: flex;
|
|
316
|
+
justify-content: flex-start;
|
|
317
|
+
box-sizing: border-box;
|
|
318
|
+
max-inline-size: 100%;
|
|
319
|
+
min-inline-size: 0;
|
|
320
|
+
margin: 0;
|
|
321
|
+
padding: var(--ui-space-3) 0;
|
|
322
|
+
}
|
|
323
|
+
[data-component~="ui-image"][data-ui-image-state~="placement=center"] {
|
|
324
|
+
justify-content: center;
|
|
325
|
+
}
|
|
326
|
+
[data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"] {
|
|
327
|
+
float: left;
|
|
328
|
+
padding-inline-end: var(--ui-space-4);
|
|
329
|
+
}
|
|
330
|
+
[data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"] {
|
|
331
|
+
float: right;
|
|
332
|
+
padding-inline-start: var(--ui-space-4);
|
|
333
|
+
}
|
|
334
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"]) {
|
|
335
|
+
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
336
|
+
}
|
|
337
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"])
|
|
338
|
+
.frame {
|
|
339
|
+
inline-size: 100%;
|
|
340
|
+
}
|
|
341
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"])
|
|
342
|
+
.frame
|
|
343
|
+
img,
|
|
344
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"])
|
|
345
|
+
.frame
|
|
346
|
+
:slotted(img) {
|
|
347
|
+
inline-size: 100%;
|
|
348
|
+
}
|
|
349
|
+
.frame {
|
|
350
|
+
position: relative;
|
|
351
|
+
flex: 0 1 auto;
|
|
352
|
+
inline-size: var(--_ui-image-width, fit-content);
|
|
353
|
+
max-inline-size: 100%;
|
|
354
|
+
min-inline-size: 0;
|
|
355
|
+
align-self: flex-start;
|
|
356
|
+
border-radius: var(--ui-radius-md);
|
|
357
|
+
}
|
|
358
|
+
.frame img, .frame :slotted(img) {
|
|
359
|
+
display: block;
|
|
360
|
+
max-inline-size: 100%;
|
|
361
|
+
block-size: auto;
|
|
362
|
+
margin: 0;
|
|
363
|
+
border-radius: inherit;
|
|
364
|
+
}
|
|
365
|
+
[data-component~="ui-image"][data-resizing] .frame img,
|
|
366
|
+
[data-component~="ui-image"][data-resizing] .frame :slotted(img) {
|
|
367
|
+
inline-size: 100%;
|
|
368
|
+
}
|
|
369
|
+
[data-component~="ui-image"][data-ui-image-state~="selected"] .frame {
|
|
370
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
371
|
+
outline-offset: var(--ui-border-width);
|
|
372
|
+
}
|
|
373
|
+
.handle {
|
|
374
|
+
position: absolute;
|
|
375
|
+
z-index: 1;
|
|
376
|
+
inline-size: 24px;
|
|
377
|
+
block-size: 24px;
|
|
378
|
+
padding: 0;
|
|
379
|
+
border: 0;
|
|
380
|
+
background: transparent;
|
|
381
|
+
touch-action: none;
|
|
382
|
+
}
|
|
383
|
+
.handle::after {
|
|
384
|
+
content: "";
|
|
385
|
+
position: absolute;
|
|
386
|
+
inset: 8px;
|
|
387
|
+
background: var(--ui-surface);
|
|
388
|
+
border: var(--ui-border-width) solid var(--ui-focus-ring);
|
|
389
|
+
border-radius: var(--ui-radius-sm);
|
|
390
|
+
}
|
|
391
|
+
.handle:focus-visible {
|
|
392
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
393
|
+
border-radius: var(--ui-radius-sm);
|
|
394
|
+
}
|
|
395
|
+
.handle[data-corner="top-left"] {
|
|
396
|
+
top: -12px;
|
|
397
|
+
left: -12px;
|
|
398
|
+
cursor: nwse-resize;
|
|
399
|
+
}
|
|
400
|
+
.handle[data-corner="top-right"] {
|
|
401
|
+
top: -12px;
|
|
402
|
+
right: -12px;
|
|
403
|
+
cursor: nesw-resize;
|
|
404
|
+
}
|
|
405
|
+
.handle[data-corner="bottom-left"] {
|
|
406
|
+
bottom: -12px;
|
|
407
|
+
left: -12px;
|
|
408
|
+
cursor: nesw-resize;
|
|
409
|
+
}
|
|
410
|
+
.handle[data-corner="bottom-right"] {
|
|
411
|
+
bottom: -12px;
|
|
412
|
+
right: -12px;
|
|
413
|
+
cursor: nwse-resize;
|
|
414
|
+
}
|
|
415
|
+
.handles[hidden], [data-component~="ui-image"][hidden] {
|
|
416
|
+
display: none;
|
|
417
|
+
}
|
|
418
|
+
@media (max-width: 767px) {
|
|
419
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"]) {
|
|
420
|
+
float: none;
|
|
421
|
+
inline-size: 100%;
|
|
422
|
+
padding-inline: 0;
|
|
423
|
+
}
|
|
424
|
+
[data-component~="ui-image"]:is([data-component~="ui-image"][data-ui-image-state~="placement=wrap-left"], [data-component~="ui-image"][data-ui-image-state~="placement=wrap-right"])
|
|
425
|
+
.handles {
|
|
426
|
+
display: none;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
@media (pointer: coarse) {
|
|
430
|
+
.handle {
|
|
431
|
+
inline-size: 44px;
|
|
432
|
+
block-size: 44px;
|
|
433
|
+
}
|
|
434
|
+
.handle::after {
|
|
435
|
+
inset: 18px;
|
|
436
|
+
}
|
|
437
|
+
.handle[data-corner="top-left"] {
|
|
438
|
+
top: -22px;
|
|
439
|
+
left: -22px;
|
|
440
|
+
}
|
|
441
|
+
.handle[data-corner="top-right"] {
|
|
442
|
+
top: -22px;
|
|
443
|
+
right: -22px;
|
|
444
|
+
}
|
|
445
|
+
.handle[data-corner="bottom-left"] {
|
|
446
|
+
bottom: -22px;
|
|
447
|
+
left: -22px;
|
|
448
|
+
}
|
|
449
|
+
.handle[data-corner="bottom-right"] {
|
|
450
|
+
bottom: -22px;
|
|
451
|
+
right: -22px;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
@media (forced-colors: active) {
|
|
455
|
+
[data-component~="ui-image"][data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
456
|
+
outline-color: Highlight;
|
|
457
|
+
}
|
|
458
|
+
.handle::after {
|
|
459
|
+
border-color: Highlight;
|
|
460
|
+
background: Canvas;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
</style>
|
package/vue/UiInput.vue
CHANGED
package/vue/UiInputGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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'
|
package/vue/UiList.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiListItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiListbox.vue
CHANGED
package/vue/UiMenu.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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'
|
package/vue/UiMenuGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiMenuItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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/UiMeter.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
function createFormatValue(): any {
|
|
4
4
|
// FIFO bounds native instances and retained keys; only constructor inputs, never values, are cached.
|
package/vue/UiNavItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiPageHeader.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiPopover.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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'
|
package/vue/UiRadio.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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/UiRadioGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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'
|
package/vue/UiReel.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiScrollArea.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiSearchShell.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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/UiSection.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiSelect.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.26 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'
|
package/vue/UiSeparator.d.ts
CHANGED
|
@@ -4,13 +4,31 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4
4
|
type: PropType<"horizontal" | "vertical" | null>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
+
selectable: {
|
|
8
|
+
type: PropType<boolean | null>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: PropType<boolean | null>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
7
15
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
16
|
orientation: {
|
|
9
17
|
type: PropType<"horizontal" | "vertical" | null>;
|
|
10
18
|
default: string;
|
|
11
19
|
};
|
|
20
|
+
selectable: {
|
|
21
|
+
type: PropType<boolean | null>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
selected: {
|
|
25
|
+
type: PropType<boolean | null>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
12
28
|
}>> & Readonly<{}>, {
|
|
29
|
+
selected: boolean | null;
|
|
13
30
|
orientation: "vertical" | "horizontal" | null;
|
|
31
|
+
selectable: boolean | null;
|
|
14
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
33
|
declare const _default: typeof __VLS_export;
|
|
16
34
|
export default _default;
|