@threadlabs/looma 0.21.5 → 0.22.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/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +14 -4
- package/components/ui-avatar-group/ui-avatar-group.js +1 -1
- package/components/ui-button/ui-button.html +10 -7
- package/components/ui-checkbox/ui-checkbox.html +1 -1
- package/components/ui-combobox/ui-combobox.html +18 -18
- package/components/ui-context-menu/ui-context-menu.html +1 -1
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
- package/components/ui-listbox/ui-listbox.html +6 -6
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-switch/ui-switch.html +1 -1
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tabs/ui-tabs.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/dist/index.js +1 -1
- 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 +10 -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 +11 -7
- 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-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-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +2 -2
- package/vanilla/UiAvatarGroup.js +2 -2
- 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 +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +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/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 +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- 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 +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +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 +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- 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 +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- 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 +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +25 -7
- package/vue/UiAvatar.vue +125 -30
- package/vue/UiAvatarGroup.d.ts +4 -4
- package/vue/UiAvatarGroup.vue +79 -24
- package/vue/UiBadge.vue +34 -8
- package/vue/UiBreadcrumbItem.vue +15 -4
- package/vue/UiBreadcrumbs.vue +14 -4
- package/vue/UiButton.vue +133 -49
- package/vue/UiCallout.vue +16 -4
- package/vue/UiCard.vue +46 -10
- package/vue/UiCheckbox.d.ts +5 -5
- package/vue/UiCheckbox.vue +73 -19
- package/vue/UiCluster.vue +39 -10
- package/vue/UiCombobox.d.ts +5 -5
- package/vue/UiCombobox.vue +317 -78
- package/vue/UiContainer.vue +23 -6
- package/vue/UiContextMenu.vue +24 -7
- package/vue/UiCover.vue +16 -4
- package/vue/UiDescriptionItem.vue +14 -4
- package/vue/UiDescriptionList.vue +33 -8
- package/vue/UiDialog.vue +79 -26
- package/vue/UiDisclosure.vue +101 -38
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +107 -27
- package/vue/UiEditorInsertTableGrid.vue +47 -11
- package/vue/UiEditorMentionMenu.vue +99 -20
- package/vue/UiEditorMentionMenuItem.vue +29 -8
- package/vue/UiEditorSlashMenu.vue +85 -16
- package/vue/UiEditorSlashMenuGroup.vue +14 -4
- package/vue/UiEditorSlashMenuItem.vue +43 -12
- package/vue/UiEditorTableContextMenu.d.ts +1 -1
- package/vue/UiEditorTableContextMenu.vue +95 -19
- package/vue/UiEditorTableOverlay.vue +91 -7
- package/vue/UiEditorTableToolbar.vue +105 -16
- package/vue/UiEditorToolbar.vue +15 -4
- package/vue/UiFloatingActionButton.vue +31 -8
- package/vue/UiFormField.d.ts +1 -1
- package/vue/UiFormField.vue +31 -8
- package/vue/UiGrid.vue +30 -8
- package/vue/UiIcon.vue +15 -4
- package/vue/UiIconButton.vue +70 -24
- package/vue/UiInput.vue +114 -39
- package/vue/UiInputGroup.vue +15 -4
- package/vue/UiList.vue +47 -16
- package/vue/UiListItem.vue +24 -6
- package/vue/UiListbox.d.ts +3 -3
- package/vue/UiListbox.vue +72 -24
- package/vue/UiMenu.vue +55 -15
- package/vue/UiMenuGroup.vue +14 -4
- package/vue/UiMenuItem.d.ts +4 -4
- package/vue/UiMenuItem.vue +77 -27
- package/vue/UiMeter.vue +65 -16
- package/vue/UiNavItem.vue +48 -24
- package/vue/UiPageHeader.vue +16 -4
- package/vue/UiPopover.vue +46 -21
- package/vue/UiRadio.d.ts +4 -4
- package/vue/UiRadio.vue +58 -15
- package/vue/UiRadioGroup.d.ts +3 -3
- package/vue/UiRadioGroup.vue +66 -17
- package/vue/UiReel.d.ts +1 -1
- package/vue/UiReel.vue +31 -8
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.vue +23 -6
- package/vue/UiSearchShell.vue +38 -11
- package/vue/UiSection.vue +33 -8
- package/vue/UiSelect.d.ts +1 -1
- package/vue/UiSelect.vue +45 -20
- package/vue/UiSeparator.vue +16 -4
- package/vue/UiSidebar.d.ts +2 -2
- package/vue/UiSidebar.vue +86 -22
- package/vue/UiSpinner.vue +23 -6
- package/vue/UiStack.vue +31 -8
- package/vue/UiStatusMessage.vue +32 -8
- package/vue/UiSwitch.d.ts +4 -4
- package/vue/UiSwitch.vue +57 -15
- package/vue/UiSwitcher.vue +41 -17
- package/vue/UiTable.vue +24 -6
- package/vue/UiTabs.vue +60 -14
- package/vue/UiText.vue +98 -35
- package/vue/UiTextarea.d.ts +1 -1
- package/vue/UiTextarea.vue +67 -26
- package/vue/UiToast.vue +24 -6
- package/vue/UiToastRegion.vue +41 -13
- package/vue/UiTooltip.d.ts +1 -1
- package/vue/UiTooltip.vue +85 -30
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +56 -14
- package/vue/UiTreeItem.d.ts +3 -3
- package/vue/UiTreeItem.vue +147 -36
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +34 -7
- package/vue/chunks/UiAvatar.js +141 -21
- package/vue/chunks/UiAvatarGroup.js +83 -12
- package/vue/chunks/UiBadge.js +57 -19
- package/vue/chunks/UiBreadcrumbItem.js +19 -6
- package/vue/chunks/UiBreadcrumbs.js +19 -6
- package/vue/chunks/UiButton.js +194 -42
- package/vue/chunks/UiCallout.js +27 -13
- package/vue/chunks/UiCard.js +83 -25
- package/vue/chunks/UiCheckbox.js +104 -17
- package/vue/chunks/UiCluster.js +70 -25
- package/vue/chunks/UiCombobox.js +441 -46
- package/vue/chunks/UiContainer.js +36 -11
- package/vue/chunks/UiContextMenu.js +33 -7
- package/vue/chunks/UiCover.js +20 -6
- package/vue/chunks/UiDescriptionItem.js +18 -5
- package/vue/chunks/UiDescriptionList.js +54 -17
- package/vue/chunks/UiDialog.js +115 -23
- package/vue/chunks/UiDisclosure.js +110 -24
- package/vue/chunks/UiEditable.js +146 -18
- package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
- package/vue/chunks/UiEditorMentionMenu.js +210 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
- package/vue/chunks/UiEditorSlashMenu.js +186 -12
- package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
- package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
- package/vue/chunks/UiEditorTableContextMenu.js +116 -16
- package/vue/chunks/UiEditorTableOverlay.js +188 -7
- package/vue/chunks/UiEditorTableToolbar.js +125 -16
- package/vue/chunks/UiEditorToolbar.js +19 -6
- package/vue/chunks/UiFloatingActionButton.js +43 -8
- package/vue/chunks/UiFormField.js +43 -8
- package/vue/chunks/UiGrid.js +52 -18
- package/vue/chunks/UiIcon.js +19 -6
- package/vue/chunks/UiIconButton.js +107 -21
- package/vue/chunks/UiInput.js +309 -30
- package/vue/chunks/UiInputGroup.js +19 -6
- package/vue/chunks/UiList.js +62 -10
- package/vue/chunks/UiListItem.js +33 -7
- package/vue/chunks/UiListbox.js +105 -13
- package/vue/chunks/UiMenu.js +79 -11
- package/vue/chunks/UiMenuGroup.js +19 -6
- package/vue/chunks/UiMenuItem.js +93 -28
- package/vue/chunks/UiMeter.js +96 -19
- package/vue/chunks/UiNavItem.js +74 -17
- package/vue/chunks/UiPageHeader.js +20 -6
- package/vue/chunks/UiPopover.js +58 -21
- package/vue/chunks/UiRadio.js +82 -15
- package/vue/chunks/UiRadioGroup.js +89 -12
- package/vue/chunks/UiReel.js +53 -18
- package/vue/chunks/UiScrollArea.js +20 -6
- package/vue/chunks/UiSearchResultRow.js +32 -7
- package/vue/chunks/UiSearchShell.js +55 -9
- package/vue/chunks/UiSection.js +49 -12
- package/vue/chunks/UiSelect.js +68 -13
- package/vue/chunks/UiSeparator.js +20 -6
- package/vue/chunks/UiSidebar.js +123 -19
- package/vue/chunks/UiSpinner.js +33 -7
- package/vue/chunks/UiStack.js +59 -24
- package/vue/chunks/UiStatusMessage.js +53 -16
- package/vue/chunks/UiSwitch.js +82 -15
- package/vue/chunks/UiSwitcher.js +70 -25
- package/vue/chunks/UiTable.js +33 -7
- package/vue/chunks/UiTabs.js +81 -11
- package/vue/chunks/UiText.js +169 -58
- package/vue/chunks/UiTextarea.js +101 -16
- package/vue/chunks/UiToast.js +39 -13
- package/vue/chunks/UiToastRegion.js +41 -14
- package/vue/chunks/UiTooltip.js +113 -30
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +82 -15
- package/vue/chunks/UiTreeItem.js +184 -22
- package/vue/chunks/props.js +271 -35
- package/vue/components.css +1209 -1198
- package/vue/host.ts +6 -6
package/vue/chunks/UiRadio.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
4
|
import { r as vBindControl } from "./control.js";
|
|
5
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiRadio.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"data-checked",
|
|
@@ -63,36 +63,99 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
63
63
|
"change"
|
|
64
64
|
],
|
|
65
65
|
setup(__props, { emit: __emit }) {
|
|
66
|
+
const propValidityContract = { props: {
|
|
67
|
+
checked: {
|
|
68
|
+
type: {
|
|
69
|
+
kind: "terminal",
|
|
70
|
+
name: "boolean"
|
|
71
|
+
},
|
|
72
|
+
required: false,
|
|
73
|
+
target: { attribute: "checked" },
|
|
74
|
+
description: "Whether the radio is checked initially or when set externally. A form reset returns it to this. Inside a ui-radio-group the group's value decides\n instead.",
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
disabled: {
|
|
78
|
+
type: {
|
|
79
|
+
kind: "terminal",
|
|
80
|
+
name: "boolean"
|
|
81
|
+
},
|
|
82
|
+
required: false,
|
|
83
|
+
target: { attribute: "disabled" },
|
|
84
|
+
description: "Disables the native radio, so it cannot be chosen, focused, or reached with the arrow keys.",
|
|
85
|
+
default: false
|
|
86
|
+
},
|
|
87
|
+
name: {
|
|
88
|
+
type: {
|
|
89
|
+
kind: "terminal",
|
|
90
|
+
name: "string"
|
|
91
|
+
},
|
|
92
|
+
required: false,
|
|
93
|
+
target: { attribute: "name" },
|
|
94
|
+
description: "The native name that groups radios: of the radios that share a name, only one can be checked, and the arrow keys move between them. Inside a ui-radio-group\n the group sets the name, so leave this empty there.",
|
|
95
|
+
default: ""
|
|
96
|
+
},
|
|
97
|
+
required: {
|
|
98
|
+
type: {
|
|
99
|
+
kind: "terminal",
|
|
100
|
+
name: "boolean"
|
|
101
|
+
},
|
|
102
|
+
required: false,
|
|
103
|
+
target: { attribute: "required" },
|
|
104
|
+
description: "Marks the native radio required, so native form validation fails until a radio with the same name is checked.",
|
|
105
|
+
default: false
|
|
106
|
+
},
|
|
107
|
+
size: {
|
|
108
|
+
type: {
|
|
109
|
+
kind: "terminal",
|
|
110
|
+
name: "keyword"
|
|
111
|
+
},
|
|
112
|
+
required: false,
|
|
113
|
+
target: { attribute: "size" },
|
|
114
|
+
description: "Aligns the radio with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres in\n that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text baseline.\n Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.",
|
|
115
|
+
values: [
|
|
116
|
+
"sm",
|
|
117
|
+
"md",
|
|
118
|
+
"lg"
|
|
119
|
+
],
|
|
120
|
+
default: "md"
|
|
121
|
+
},
|
|
122
|
+
value: {
|
|
123
|
+
type: {
|
|
124
|
+
kind: "terminal",
|
|
125
|
+
name: "string"
|
|
126
|
+
},
|
|
127
|
+
required: false,
|
|
128
|
+
target: { attribute: "value" },
|
|
129
|
+
description: "The value this radio stands for: submitted with a form, reported in its change event, and matched against a ui-radio-group's value to decide which radio is\n checked.",
|
|
130
|
+
default: "on"
|
|
131
|
+
}
|
|
132
|
+
} };
|
|
66
133
|
const props = __props;
|
|
67
134
|
const checkedProps = computed(() => ({
|
|
68
135
|
checked: checkedProp(props["checked"], {
|
|
69
136
|
kind: "terminal",
|
|
70
137
|
name: "boolean"
|
|
71
|
-
}, false, "checked"
|
|
138
|
+
}, false, "checked"),
|
|
72
139
|
disabled: checkedProp(props["disabled"], {
|
|
73
140
|
kind: "terminal",
|
|
74
141
|
name: "boolean"
|
|
75
|
-
}, false, "disabled"
|
|
142
|
+
}, false, "disabled"),
|
|
76
143
|
name: checkedProp(props["name"], {
|
|
77
144
|
kind: "terminal",
|
|
78
145
|
name: "string"
|
|
79
|
-
}, false, "name"
|
|
146
|
+
}, false, "name"),
|
|
80
147
|
required: checkedProp(props["required"], {
|
|
81
148
|
kind: "terminal",
|
|
82
149
|
name: "boolean"
|
|
83
|
-
}, false, "required"
|
|
150
|
+
}, false, "required"),
|
|
84
151
|
size: checkedProp(props["size"], {
|
|
85
152
|
kind: "terminal",
|
|
86
153
|
name: "keyword"
|
|
87
|
-
}, false, "size",
|
|
88
|
-
"sm",
|
|
89
|
-
"md",
|
|
90
|
-
"lg"
|
|
91
|
-
]),
|
|
154
|
+
}, false, "size"),
|
|
92
155
|
value: checkedProp(props["value"], {
|
|
93
156
|
kind: "terminal",
|
|
94
157
|
name: "string"
|
|
95
|
-
}, false, "value"
|
|
158
|
+
}, false, "value")
|
|
96
159
|
}));
|
|
97
160
|
checkedProps.value;
|
|
98
161
|
watchSyncEffect(() => {
|
|
@@ -116,6 +179,7 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
116
179
|
const inputElement = useTemplateRef("input");
|
|
117
180
|
const descriptionElement = useTemplateRef("description");
|
|
118
181
|
const internalChecked = ref(false);
|
|
182
|
+
provide("html-next:ui-radio:internalChecked", internalChecked);
|
|
119
183
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
120
184
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "label")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-radio> has an incompatible root."), {
|
|
121
185
|
name: "HtmlDiagnosticError",
|
|
@@ -154,7 +218,7 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
154
218
|
state: { internalChecked }
|
|
155
219
|
});
|
|
156
220
|
return (_ctx, _cache) => {
|
|
157
|
-
return openBlock(), createElementBlock("label", mergeProps({ "data-component": "ui-radio" }, nativeAttrs(_ctx.$attrs), {
|
|
221
|
+
return withDirectives((openBlock(), createElementBlock("label", mergeProps({ "data-component": "ui-radio" }, nativeAttrs(_ctx.$attrs), {
|
|
158
222
|
"data-checked": reflectedProp("checked", "checked", checkedProps.value.checked, void 0, false),
|
|
159
223
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
160
224
|
"data-name": reflectedProp("name", "name", checkedProps.value.name, void 0, false),
|
|
@@ -177,9 +241,12 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
177
241
|
value: internalChecked.value,
|
|
178
242
|
nativeProperty: true,
|
|
179
243
|
defaultChecked: false
|
|
180
|
-
}]]), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)], 512)])], 16, _hoisted_1)
|
|
244
|
+
}]]), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)], 512)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
245
|
+
contract: propValidityContract,
|
|
246
|
+
values: { ...checkedProps.value }
|
|
247
|
+
}]]);
|
|
181
248
|
};
|
|
182
249
|
}
|
|
183
|
-
}), [["__scopeId", "data-v-
|
|
250
|
+
}), [["__scopeId", "data-v-c32e5116"]]);
|
|
184
251
|
//#endregion
|
|
185
252
|
export { UiRadio_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
4
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, toDisplayString, watchSyncEffect } from "vue";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiRadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"aria-required",
|
|
@@ -57,36 +57,109 @@ var UiRadioGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
57
57
|
"change"
|
|
58
58
|
],
|
|
59
59
|
setup(__props, { emit: __emit }) {
|
|
60
|
+
const propValidityContract = { props: {
|
|
61
|
+
disabled: {
|
|
62
|
+
type: {
|
|
63
|
+
kind: "terminal",
|
|
64
|
+
name: "boolean"
|
|
65
|
+
},
|
|
66
|
+
required: false,
|
|
67
|
+
target: { attribute: "disabled" },
|
|
68
|
+
description: "Disables every radio in the group through the native fieldset, so no choice can be made and the group submits nothing with its form. A radio disabled on\n its own stays disabled when the group is enabled.",
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
71
|
+
invalid: {
|
|
72
|
+
type: {
|
|
73
|
+
kind: "terminal",
|
|
74
|
+
name: "boolean"
|
|
75
|
+
},
|
|
76
|
+
required: false,
|
|
77
|
+
target: { attribute: "aria-invalid" },
|
|
78
|
+
description: "Exposes an externally validated error on the group and styles its legend with the field danger colour.",
|
|
79
|
+
default: false
|
|
80
|
+
},
|
|
81
|
+
label: {
|
|
82
|
+
type: {
|
|
83
|
+
kind: "terminal",
|
|
84
|
+
name: "string"
|
|
85
|
+
},
|
|
86
|
+
required: false,
|
|
87
|
+
target: { attribute: "label" },
|
|
88
|
+
description: "The group's legend, shown above the radios and announced as the group's name. Phrase it as the question the radios answer.",
|
|
89
|
+
default: "Options"
|
|
90
|
+
},
|
|
91
|
+
name: {
|
|
92
|
+
type: {
|
|
93
|
+
kind: "terminal",
|
|
94
|
+
name: "string"
|
|
95
|
+
},
|
|
96
|
+
required: false,
|
|
97
|
+
target: { attribute: "name" },
|
|
98
|
+
description: "The native name given to every radio in the group, under which a form submits the chosen value. Left empty, the group generates a unique name that keeps\n the radios together, so set it when the choice submits with a form.",
|
|
99
|
+
default: ""
|
|
100
|
+
},
|
|
101
|
+
orientation: {
|
|
102
|
+
type: {
|
|
103
|
+
kind: "terminal",
|
|
104
|
+
name: "keyword"
|
|
105
|
+
},
|
|
106
|
+
required: false,
|
|
107
|
+
target: { attribute: "orientation" },
|
|
108
|
+
description: "horizontal lays the radios out in a row; vertical stacks them in a column. The arrow keys move between radios either way.",
|
|
109
|
+
values: ["horizontal", "vertical"],
|
|
110
|
+
default: "horizontal"
|
|
111
|
+
},
|
|
112
|
+
required: {
|
|
113
|
+
type: {
|
|
114
|
+
kind: "terminal",
|
|
115
|
+
name: "boolean"
|
|
116
|
+
},
|
|
117
|
+
required: false,
|
|
118
|
+
target: { attribute: "aria-required" },
|
|
119
|
+
description: "Makes a choice required, as a required native radio does for its group: the group states aria-required, every radio in it is marked required, and native\n form validation fails until one is checked.",
|
|
120
|
+
default: false
|
|
121
|
+
},
|
|
122
|
+
value: {
|
|
123
|
+
type: {
|
|
124
|
+
kind: "terminal",
|
|
125
|
+
name: "string"
|
|
126
|
+
},
|
|
127
|
+
required: false,
|
|
128
|
+
target: { attribute: "value" },
|
|
129
|
+
description: "The value of the checked radio, initially or when set externally; empty checks none. The user's choice updates it from there and is reported as select and\n change events, and a form reset returns the group to it.",
|
|
130
|
+
default: ""
|
|
131
|
+
}
|
|
132
|
+
} };
|
|
60
133
|
const props = __props;
|
|
61
134
|
const checkedProps = computed(() => ({
|
|
62
135
|
disabled: checkedProp(props["disabled"], {
|
|
63
136
|
kind: "terminal",
|
|
64
137
|
name: "boolean"
|
|
65
|
-
}, false, "disabled"
|
|
138
|
+
}, false, "disabled"),
|
|
66
139
|
invalid: checkedProp(props["invalid"], {
|
|
67
140
|
kind: "terminal",
|
|
68
141
|
name: "boolean"
|
|
69
|
-
}, false, "invalid"
|
|
142
|
+
}, false, "invalid"),
|
|
70
143
|
label: checkedProp(props["label"], {
|
|
71
144
|
kind: "terminal",
|
|
72
145
|
name: "string"
|
|
73
|
-
}, false, "label"
|
|
146
|
+
}, false, "label"),
|
|
74
147
|
name: checkedProp(props["name"], {
|
|
75
148
|
kind: "terminal",
|
|
76
149
|
name: "string"
|
|
77
|
-
}, false, "name"
|
|
150
|
+
}, false, "name"),
|
|
78
151
|
orientation: checkedProp(props["orientation"], {
|
|
79
152
|
kind: "terminal",
|
|
80
153
|
name: "keyword"
|
|
81
|
-
}, false, "orientation"
|
|
154
|
+
}, false, "orientation"),
|
|
82
155
|
required: checkedProp(props["required"], {
|
|
83
156
|
kind: "terminal",
|
|
84
157
|
name: "boolean"
|
|
85
|
-
}, false, "required"
|
|
158
|
+
}, false, "required"),
|
|
86
159
|
value: checkedProp(props["value"], {
|
|
87
160
|
kind: "terminal",
|
|
88
161
|
name: "string"
|
|
89
|
-
}, false, "value"
|
|
162
|
+
}, false, "value")
|
|
90
163
|
}));
|
|
91
164
|
checkedProps.value;
|
|
92
165
|
watchSyncEffect(() => {
|
|
@@ -108,6 +181,7 @@ var UiRadioGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
108
181
|
const emit = __emit;
|
|
109
182
|
const root = ref(null);
|
|
110
183
|
const internalValue = ref("");
|
|
184
|
+
provide("html-next:ui-radio-group:internalValue", internalValue);
|
|
111
185
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
112
186
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "fieldset")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-radio-group> has an incompatible root."), {
|
|
113
187
|
name: "HtmlDiagnosticError",
|
|
@@ -150,7 +224,7 @@ var UiRadioGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
150
224
|
state: { internalValue }
|
|
151
225
|
});
|
|
152
226
|
return (_ctx, _cache) => {
|
|
153
|
-
return openBlock(), createElementBlock("fieldset", mergeProps({
|
|
227
|
+
return withDirectives((openBlock(), createElementBlock("fieldset", mergeProps({
|
|
154
228
|
"data-component": "ui-radio-group",
|
|
155
229
|
role: "radiogroup"
|
|
156
230
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -167,9 +241,12 @@ var UiRadioGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
167
241
|
"data-ui-radio-group-state": hostState.value || void 0,
|
|
168
242
|
ref_key: "root",
|
|
169
243
|
ref: root
|
|
170
|
-
}), [createElementVNode("legend", null, toDisplayString(checkedProps.value.label), 1), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)
|
|
244
|
+
}), [createElementVNode("legend", null, toDisplayString(checkedProps.value.label), 1), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
245
|
+
contract: propValidityContract,
|
|
246
|
+
values: { ...checkedProps.value }
|
|
247
|
+
}]]);
|
|
171
248
|
};
|
|
172
249
|
}
|
|
173
|
-
}), [["__scopeId", "data-v-
|
|
250
|
+
}), [["__scopeId", "data-v-f987b361"]]);
|
|
174
251
|
//#endregion
|
|
175
252
|
export { UiRadioGroup_default as t };
|
package/vue/chunks/UiReel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
-
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiReel.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"data-gap",
|
|
@@ -28,30 +28,62 @@ var UiReel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(__props) {
|
|
31
|
+
const propValidityContract = { props: {
|
|
32
|
+
gap: {
|
|
33
|
+
type: {
|
|
34
|
+
kind: "terminal",
|
|
35
|
+
name: "keyword"
|
|
36
|
+
},
|
|
37
|
+
required: false,
|
|
38
|
+
target: { attribute: "gap" },
|
|
39
|
+
description: "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property,\n set on the reel itself, overrides it; set on an ancestor, it does nothing.",
|
|
40
|
+
values: [
|
|
41
|
+
"xs",
|
|
42
|
+
"s",
|
|
43
|
+
"m",
|
|
44
|
+
"l",
|
|
45
|
+
"xl"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
itemWidth: {
|
|
49
|
+
type: {
|
|
50
|
+
kind: "terminal",
|
|
51
|
+
name: "keyword"
|
|
52
|
+
},
|
|
53
|
+
required: false,
|
|
54
|
+
target: { attribute: "itemwidth" },
|
|
55
|
+
description: "A fixed width for every item: sm is 12rem, md is 16rem, and lg is 20rem. Unset, each item keeps its content's width. Items never shrink to fit, so the reel\n scrolls sideways once they overflow.",
|
|
56
|
+
values: [
|
|
57
|
+
"sm",
|
|
58
|
+
"md",
|
|
59
|
+
"lg"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
snap: {
|
|
63
|
+
type: {
|
|
64
|
+
kind: "terminal",
|
|
65
|
+
name: "keyword"
|
|
66
|
+
},
|
|
67
|
+
required: false,
|
|
68
|
+
target: { attribute: "snap" },
|
|
69
|
+
description: "Snaps scrolling to items: start comes to rest with an item's start edge at the reel's start, and center with an item centred in the reel. Unset, the reel\n scrolls freely.",
|
|
70
|
+
values: ["start", "center"]
|
|
71
|
+
}
|
|
72
|
+
} };
|
|
31
73
|
const props = __props;
|
|
32
74
|
const checkedProps = computed(() => ({
|
|
33
75
|
gap: checkedProp(props["gap"], {
|
|
34
76
|
kind: "terminal",
|
|
35
77
|
name: "keyword"
|
|
36
|
-
}, false, "gap",
|
|
37
|
-
"xs",
|
|
38
|
-
"s",
|
|
39
|
-
"m",
|
|
40
|
-
"l",
|
|
41
|
-
"xl"
|
|
42
|
-
]),
|
|
78
|
+
}, false, "gap"),
|
|
43
79
|
itemWidth: checkedProp(props["itemWidth"], {
|
|
44
80
|
kind: "terminal",
|
|
45
81
|
name: "keyword"
|
|
46
|
-
}, false, "itemWidth",
|
|
47
|
-
"sm",
|
|
48
|
-
"md",
|
|
49
|
-
"lg"
|
|
50
|
-
]),
|
|
82
|
+
}, false, "itemWidth"),
|
|
51
83
|
snap: checkedProp(props["snap"], {
|
|
52
84
|
kind: "terminal",
|
|
53
85
|
name: "keyword"
|
|
54
|
-
}, false, "snap"
|
|
86
|
+
}, false, "snap")
|
|
55
87
|
}));
|
|
56
88
|
checkedProps.value;
|
|
57
89
|
watchSyncEffect(() => {
|
|
@@ -87,7 +119,7 @@ var UiReel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
87
119
|
checkedProps.value.snap != null && `snap=${encodeURIComponent(checkedProps.value.snap)}`
|
|
88
120
|
].filter(Boolean).join(" "));
|
|
89
121
|
return (_ctx, _cache) => {
|
|
90
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
122
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
91
123
|
"data-component": "ui-reel",
|
|
92
124
|
role: "region",
|
|
93
125
|
tabindex: "0"
|
|
@@ -96,9 +128,12 @@ var UiReel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
96
128
|
"data-item-width": reflectedProp("itemWidth", "item-width", checkedProps.value.itemWidth, void 0, false),
|
|
97
129
|
"data-snap": reflectedProp("snap", "snap", checkedProps.value.snap, void 0, false),
|
|
98
130
|
"data-ui-reel-state": hostState.value || void 0
|
|
99
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)
|
|
131
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
132
|
+
contract: propValidityContract,
|
|
133
|
+
values: { ...checkedProps.value }
|
|
134
|
+
}]]);
|
|
100
135
|
};
|
|
101
136
|
}
|
|
102
|
-
}), [["__scopeId", "data-v-
|
|
137
|
+
}), [["__scopeId", "data-v-9fb4110f"]]);
|
|
103
138
|
//#endregion
|
|
104
139
|
export { UiReel_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
4
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiScrollArea.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = ["data-orientation", "data-ui-scroll-area-state"];
|
|
7
7
|
var _hoisted_2 = {
|
|
@@ -18,11 +18,22 @@ var UiScrollArea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
18
18
|
default: "vertical"
|
|
19
19
|
} },
|
|
20
20
|
setup(__props) {
|
|
21
|
+
const propValidityContract = { props: { orientation: {
|
|
22
|
+
type: {
|
|
23
|
+
kind: "terminal",
|
|
24
|
+
name: "keyword"
|
|
25
|
+
},
|
|
26
|
+
required: false,
|
|
27
|
+
target: { attribute: "orientation" },
|
|
28
|
+
description: "The direction the content scrolls. Vertical scrolls up and down and clips sideways overflow; horizontal scrolls sideways and clips vertical\n overflow.",
|
|
29
|
+
values: ["vertical", "horizontal"],
|
|
30
|
+
default: "vertical"
|
|
31
|
+
} } };
|
|
21
32
|
const props = __props;
|
|
22
33
|
const checkedProps = computed(() => ({ orientation: checkedProp(props["orientation"], {
|
|
23
34
|
kind: "terminal",
|
|
24
35
|
name: "keyword"
|
|
25
|
-
}, false, "orientation"
|
|
36
|
+
}, false, "orientation") }));
|
|
26
37
|
checkedProps.value;
|
|
27
38
|
watchSyncEffect(() => {
|
|
28
39
|
checkedProps.value;
|
|
@@ -64,14 +75,17 @@ var UiScrollArea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
64
75
|
refs: { content: contentElement }
|
|
65
76
|
});
|
|
66
77
|
return (_ctx, _cache) => {
|
|
67
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-scroll-area" }, nativeAttrs(_ctx.$attrs), {
|
|
78
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-scroll-area" }, nativeAttrs(_ctx.$attrs), {
|
|
68
79
|
"data-orientation": reflectedProp("orientation", "orientation", checkedProps.value.orientation, void 0, false),
|
|
69
80
|
"data-ui-scroll-area-state": hostState.value || void 0,
|
|
70
81
|
ref_key: "root",
|
|
71
82
|
ref: root
|
|
72
|
-
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16, _hoisted_1)
|
|
83
|
+
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
84
|
+
contract: propValidityContract,
|
|
85
|
+
values: { ...checkedProps.value }
|
|
86
|
+
}]]);
|
|
73
87
|
};
|
|
74
88
|
}
|
|
75
|
-
}), [["__scopeId", "data-v-
|
|
89
|
+
}), [["__scopeId", "data-v-0b6d2927"]]);
|
|
76
90
|
//#endregion
|
|
77
91
|
export { UiScrollArea_default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiSearchResultRow.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"disabled",
|
|
@@ -31,16 +31,38 @@ var UiSearchResultRow_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
setup(__props) {
|
|
34
|
+
const propValidityContract = { props: {
|
|
35
|
+
disabled: {
|
|
36
|
+
type: {
|
|
37
|
+
kind: "terminal",
|
|
38
|
+
name: "boolean"
|
|
39
|
+
},
|
|
40
|
+
required: false,
|
|
41
|
+
target: { attribute: "disabled" },
|
|
42
|
+
description: "Disables the row's button, so it cannot be chosen or focused, and gives it a flat muted treatment.",
|
|
43
|
+
default: false
|
|
44
|
+
},
|
|
45
|
+
selected: {
|
|
46
|
+
type: {
|
|
47
|
+
kind: "terminal",
|
|
48
|
+
name: "boolean"
|
|
49
|
+
},
|
|
50
|
+
required: false,
|
|
51
|
+
target: { attribute: "aria-current" },
|
|
52
|
+
description: "Marks the row as the current result: it gets the hover surface and aria-current=\"true\", which assistive technology announces as current. Set it on one row\n at a time, such as the result the arrow keys have moved to.",
|
|
53
|
+
default: false
|
|
54
|
+
}
|
|
55
|
+
} };
|
|
34
56
|
const props = __props;
|
|
35
57
|
const checkedProps = computed(() => ({
|
|
36
58
|
disabled: checkedProp(props["disabled"], {
|
|
37
59
|
kind: "terminal",
|
|
38
60
|
name: "boolean"
|
|
39
|
-
}, false, "disabled"
|
|
61
|
+
}, false, "disabled"),
|
|
40
62
|
selected: checkedProp(props["selected"], {
|
|
41
63
|
kind: "terminal",
|
|
42
64
|
name: "boolean"
|
|
43
|
-
}, false, "selected"
|
|
65
|
+
}, false, "selected")
|
|
44
66
|
}));
|
|
45
67
|
checkedProps.value;
|
|
46
68
|
watchSyncEffect(() => {
|
|
@@ -69,7 +91,7 @@ var UiSearchResultRow_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
69
91
|
/** The values the styles' :host-state() rules test. */
|
|
70
92
|
const hostState = computed(() => [checkedProps.value.selected && "selected"].filter(Boolean).join(" "));
|
|
71
93
|
return (_ctx, _cache) => {
|
|
72
|
-
return openBlock(), createElementBlock("button", mergeProps({
|
|
94
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
73
95
|
"data-component": "ui-search-result-row",
|
|
74
96
|
type: "button"
|
|
75
97
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -86,9 +108,12 @@ var UiSearchResultRow_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
86
108
|
createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "excerpt")])
|
|
87
109
|
]),
|
|
88
110
|
createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "trailing")])
|
|
89
|
-
], 16, _hoisted_1)
|
|
111
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
112
|
+
contract: propValidityContract,
|
|
113
|
+
values: { ...checkedProps.value }
|
|
114
|
+
}]]);
|
|
90
115
|
};
|
|
91
116
|
}
|
|
92
|
-
}), [["__scopeId", "data-v-
|
|
117
|
+
}), [["__scopeId", "data-v-7577310c"]]);
|
|
93
118
|
//#endregion
|
|
94
119
|
export { UiSearchResultRow_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
4
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiSearchShell.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-dismissible",
|
|
@@ -40,24 +40,66 @@ var UiSearchShell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:open", "close"],
|
|
42
42
|
setup(__props, { emit: __emit }) {
|
|
43
|
+
const propValidityContract = { props: {
|
|
44
|
+
dismissible: {
|
|
45
|
+
type: {
|
|
46
|
+
kind: "terminal",
|
|
47
|
+
name: "boolean"
|
|
48
|
+
},
|
|
49
|
+
required: false,
|
|
50
|
+
target: { attribute: "dismissible" },
|
|
51
|
+
description: "Allows backdrop activation to close the search surface. Escape always closes it.",
|
|
52
|
+
default: false
|
|
53
|
+
},
|
|
54
|
+
label: {
|
|
55
|
+
type: {
|
|
56
|
+
kind: "terminal",
|
|
57
|
+
name: "string"
|
|
58
|
+
},
|
|
59
|
+
required: false,
|
|
60
|
+
target: { attribute: "aria-label" },
|
|
61
|
+
description: "Provides the native dialog's accessible name.",
|
|
62
|
+
default: "Search"
|
|
63
|
+
},
|
|
64
|
+
modal: {
|
|
65
|
+
type: {
|
|
66
|
+
kind: "terminal",
|
|
67
|
+
name: "boolean"
|
|
68
|
+
},
|
|
69
|
+
required: false,
|
|
70
|
+
target: { attribute: "modal" },
|
|
71
|
+
description: "Makes the rest of the page inert while the search surface is open.",
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
74
|
+
open: {
|
|
75
|
+
type: {
|
|
76
|
+
kind: "terminal",
|
|
77
|
+
name: "boolean"
|
|
78
|
+
},
|
|
79
|
+
required: false,
|
|
80
|
+
target: { attribute: "open" },
|
|
81
|
+
description: "Shows the search surface.",
|
|
82
|
+
default: false
|
|
83
|
+
}
|
|
84
|
+
} };
|
|
43
85
|
const props = __props;
|
|
44
86
|
const checkedProps = computed(() => ({
|
|
45
87
|
dismissible: checkedProp(props["dismissible"], {
|
|
46
88
|
kind: "terminal",
|
|
47
89
|
name: "boolean"
|
|
48
|
-
}, false, "dismissible"
|
|
90
|
+
}, false, "dismissible"),
|
|
49
91
|
label: checkedProp(props["label"], {
|
|
50
92
|
kind: "terminal",
|
|
51
93
|
name: "string"
|
|
52
|
-
}, false, "label"
|
|
94
|
+
}, false, "label"),
|
|
53
95
|
modal: checkedProp(props["modal"], {
|
|
54
96
|
kind: "terminal",
|
|
55
97
|
name: "boolean"
|
|
56
|
-
}, false, "modal"
|
|
98
|
+
}, false, "modal"),
|
|
57
99
|
open: checkedProp(props["open"], {
|
|
58
100
|
kind: "terminal",
|
|
59
101
|
name: "boolean"
|
|
60
|
-
}, false, "open"
|
|
102
|
+
}, false, "open")
|
|
61
103
|
}));
|
|
62
104
|
checkedProps.value;
|
|
63
105
|
watchSyncEffect(() => {
|
|
@@ -80,6 +122,7 @@ var UiSearchShell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
80
122
|
const root = ref(null);
|
|
81
123
|
const dialogElement = useTemplateRef("dialog");
|
|
82
124
|
const internalOpen = ref(false);
|
|
125
|
+
provide("html-next:ui-search-shell:internalOpen", internalOpen);
|
|
83
126
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
84
127
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-search-shell> has an incompatible root."), {
|
|
85
128
|
name: "HtmlDiagnosticError",
|
|
@@ -109,7 +152,7 @@ var UiSearchShell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
109
152
|
state: { internalOpen }
|
|
110
153
|
});
|
|
111
154
|
return (_ctx, _cache) => {
|
|
112
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-search-shell" }, nativeAttrs(_ctx.$attrs), {
|
|
155
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-search-shell" }, nativeAttrs(_ctx.$attrs), {
|
|
113
156
|
"data-dismissible": reflectedProp("dismissible", "dismissible", checkedProps.value.dismissible, void 0, false),
|
|
114
157
|
"data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false),
|
|
115
158
|
"data-modal": reflectedProp("modal", "modal", checkedProps.value.modal, void 0, false),
|
|
@@ -124,9 +167,12 @@ var UiSearchShell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
124
167
|
createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "status")]),
|
|
125
168
|
createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "body")]),
|
|
126
169
|
createElementVNode("div", _hoisted_7, [renderSlot(_ctx.$slots, "footer")])
|
|
127
|
-
])], 8, _hoisted_2)], 16, _hoisted_1)
|
|
170
|
+
])], 8, _hoisted_2)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
171
|
+
contract: propValidityContract,
|
|
172
|
+
values: { ...checkedProps.value }
|
|
173
|
+
}]]);
|
|
128
174
|
};
|
|
129
175
|
}
|
|
130
|
-
}), [["__scopeId", "data-v-
|
|
176
|
+
}), [["__scopeId", "data-v-5489114a"]]);
|
|
131
177
|
//#endregion
|
|
132
178
|
export { UiSearchShell_default as t };
|