@threadlabs/looma 0.21.6 → 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 +2 -2
- 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 +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-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 +1 -1
- 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 +1 -1
- package/vue/UiAvatarGroup.vue +67 -21
- package/vue/UiBadge.vue +34 -8
- package/vue/UiBreadcrumbItem.vue +15 -4
- package/vue/UiBreadcrumbs.vue +14 -4
- package/vue/UiButton.vue +123 -42
- 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 -16
- 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 +1197 -1197
- package/vue/host.ts +6 -6
package/vue/chunks/UiSection.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, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiSection.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"data-heading",
|
|
@@ -34,24 +34,58 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(__props) {
|
|
37
|
+
const propValidityContract = { props: {
|
|
38
|
+
heading: {
|
|
39
|
+
type: {
|
|
40
|
+
kind: "terminal",
|
|
41
|
+
name: "string"
|
|
42
|
+
},
|
|
43
|
+
required: false,
|
|
44
|
+
target: { attribute: "heading" },
|
|
45
|
+
description: "The section's heading, an h2. Leave it empty for a section with no visible heading, and name the section with aria-label.",
|
|
46
|
+
default: ""
|
|
47
|
+
},
|
|
48
|
+
tone: {
|
|
49
|
+
type: {
|
|
50
|
+
kind: "terminal",
|
|
51
|
+
name: "keyword"
|
|
52
|
+
},
|
|
53
|
+
required: false,
|
|
54
|
+
target: { attribute: "tone" },
|
|
55
|
+
description: "danger marks a section of destructive actions (a danger zone): its heading and a card's border take the danger colour.",
|
|
56
|
+
values: ["neutral", "danger"],
|
|
57
|
+
default: "neutral"
|
|
58
|
+
},
|
|
59
|
+
variant: {
|
|
60
|
+
type: {
|
|
61
|
+
kind: "terminal",
|
|
62
|
+
name: "keyword"
|
|
63
|
+
},
|
|
64
|
+
required: false,
|
|
65
|
+
target: { attribute: "variant" },
|
|
66
|
+
description: "How the section is set apart. plain is a heading and content in the flow of the page; card sits it on a bordered surface, for a settings group; divided\n rules it off from the section before it, for a long form.",
|
|
67
|
+
values: [
|
|
68
|
+
"plain",
|
|
69
|
+
"card",
|
|
70
|
+
"divided"
|
|
71
|
+
],
|
|
72
|
+
default: "plain"
|
|
73
|
+
}
|
|
74
|
+
} };
|
|
37
75
|
const props = __props;
|
|
38
76
|
const checkedProps = computed(() => ({
|
|
39
77
|
heading: checkedProp(props["heading"], {
|
|
40
78
|
kind: "terminal",
|
|
41
79
|
name: "string"
|
|
42
|
-
}, false, "heading"
|
|
80
|
+
}, false, "heading"),
|
|
43
81
|
tone: checkedProp(props["tone"], {
|
|
44
82
|
kind: "terminal",
|
|
45
83
|
name: "keyword"
|
|
46
|
-
}, false, "tone"
|
|
84
|
+
}, false, "tone"),
|
|
47
85
|
variant: checkedProp(props["variant"], {
|
|
48
86
|
kind: "terminal",
|
|
49
87
|
name: "keyword"
|
|
50
|
-
}, false, "variant"
|
|
51
|
-
"plain",
|
|
52
|
-
"card",
|
|
53
|
-
"divided"
|
|
54
|
-
])
|
|
88
|
+
}, false, "variant")
|
|
55
89
|
}));
|
|
56
90
|
checkedProps.value;
|
|
57
91
|
watchSyncEffect(() => {
|
|
@@ -85,7 +119,7 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
85
119
|
checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`
|
|
86
120
|
].filter(Boolean).join(" "));
|
|
87
121
|
return (_ctx, _cache) => {
|
|
88
|
-
return openBlock(), createElementBlock("section", mergeProps({ "data-component": "ui-section" }, nativeAttrs(_ctx.$attrs), {
|
|
122
|
+
return withDirectives((openBlock(), createElementBlock("section", mergeProps({ "data-component": "ui-section" }, nativeAttrs(_ctx.$attrs), {
|
|
89
123
|
"data-heading": reflectedProp("heading", "heading", checkedProps.value.heading, void 0, false),
|
|
90
124
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
91
125
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
@@ -93,9 +127,12 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
93
127
|
}), [createElementVNode("span", _hoisted_2, [createElementVNode("span", _hoisted_3, [createElementVNode("h2", {
|
|
94
128
|
class: "heading",
|
|
95
129
|
hidden: !checkedProps.value.heading
|
|
96
|
-
}, toDisplayString(checkedProps.value.heading), 9, _hoisted_4), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])]), createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)
|
|
130
|
+
}, toDisplayString(checkedProps.value.heading), 9, _hoisted_4), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])]), createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
131
|
+
contract: propValidityContract,
|
|
132
|
+
values: { ...checkedProps.value }
|
|
133
|
+
}]]);
|
|
97
134
|
};
|
|
98
135
|
}
|
|
99
|
-
}), [["__scopeId", "data-v-
|
|
136
|
+
}), [["__scopeId", "data-v-733826b4"]]);
|
|
100
137
|
//#endregion
|
|
101
138
|
export { UiSection_default as t };
|
package/vue/chunks/UiSelect.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 { n as readBoundControl, r as vBindControl, t as SelectedOptions } from "./control.js";
|
|
5
5
|
import { computed, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -45,36 +45,88 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["update:modelValue"],
|
|
47
47
|
setup(__props, { emit: __emit }) {
|
|
48
|
+
const propValidityContract = { props: {
|
|
49
|
+
disabled: {
|
|
50
|
+
type: {
|
|
51
|
+
kind: "terminal",
|
|
52
|
+
name: "boolean"
|
|
53
|
+
},
|
|
54
|
+
required: false,
|
|
55
|
+
target: { attribute: "disabled" },
|
|
56
|
+
description: "Prevents selection and form submission.",
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
invalid: {
|
|
60
|
+
type: {
|
|
61
|
+
kind: "terminal",
|
|
62
|
+
name: "boolean"
|
|
63
|
+
},
|
|
64
|
+
required: false,
|
|
65
|
+
target: { attribute: "aria-invalid" },
|
|
66
|
+
description: "Exposes invalid state to assistive technology and styling.",
|
|
67
|
+
default: false
|
|
68
|
+
},
|
|
69
|
+
required: {
|
|
70
|
+
type: {
|
|
71
|
+
kind: "terminal",
|
|
72
|
+
name: "boolean"
|
|
73
|
+
},
|
|
74
|
+
required: false,
|
|
75
|
+
target: { attribute: "required" },
|
|
76
|
+
description: "Requires a non-empty option for form validation.",
|
|
77
|
+
default: false
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
type: {
|
|
81
|
+
kind: "terminal",
|
|
82
|
+
name: "keyword"
|
|
83
|
+
},
|
|
84
|
+
required: false,
|
|
85
|
+
target: { attribute: "size" },
|
|
86
|
+
description: "Height, padding, chevron, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by\n default) with smaller text and a smaller chevron, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller\n with roomier padding. Under a coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. It is not the native size attribute: a select\n is always a single-choice dropdown. Change it after render through this option; the element's size property is the native one.",
|
|
87
|
+
values: [
|
|
88
|
+
"sm",
|
|
89
|
+
"md",
|
|
90
|
+
"lg"
|
|
91
|
+
],
|
|
92
|
+
default: "md"
|
|
93
|
+
},
|
|
94
|
+
value: {
|
|
95
|
+
type: {
|
|
96
|
+
kind: "terminal",
|
|
97
|
+
name: "string"
|
|
98
|
+
},
|
|
99
|
+
required: false,
|
|
100
|
+
target: { attribute: "value" },
|
|
101
|
+
description: "The value of the selected option, initially or when set externally. It is also the default, so a form reset returns to it rather than to the first\n option."
|
|
102
|
+
}
|
|
103
|
+
} };
|
|
48
104
|
const props = __props;
|
|
49
105
|
const checkedProps = computed(() => ({
|
|
50
106
|
disabled: checkedProp(props["disabled"], {
|
|
51
107
|
kind: "terminal",
|
|
52
108
|
name: "boolean"
|
|
53
|
-
}, false, "disabled"
|
|
109
|
+
}, false, "disabled"),
|
|
54
110
|
invalid: checkedProp(props["invalid"], {
|
|
55
111
|
kind: "terminal",
|
|
56
112
|
name: "boolean"
|
|
57
|
-
}, false, "invalid"
|
|
113
|
+
}, false, "invalid"),
|
|
58
114
|
required: checkedProp(props["required"], {
|
|
59
115
|
kind: "terminal",
|
|
60
116
|
name: "boolean"
|
|
61
|
-
}, false, "required"
|
|
117
|
+
}, false, "required"),
|
|
62
118
|
size: checkedProp(props["size"], {
|
|
63
119
|
kind: "terminal",
|
|
64
120
|
name: "keyword"
|
|
65
|
-
}, false, "size",
|
|
66
|
-
"sm",
|
|
67
|
-
"md",
|
|
68
|
-
"lg"
|
|
69
|
-
]),
|
|
121
|
+
}, false, "size"),
|
|
70
122
|
value: checkedProp(props["value"], {
|
|
71
123
|
kind: "terminal",
|
|
72
124
|
name: "string"
|
|
73
|
-
}, false, "value"
|
|
125
|
+
}, false, "value"),
|
|
74
126
|
modelValue: checkedProp(props.modelValue, {
|
|
75
127
|
kind: "terminal",
|
|
76
128
|
name: "string"
|
|
77
|
-
}, false, "modelValue"
|
|
129
|
+
}, false, "modelValue")
|
|
78
130
|
}));
|
|
79
131
|
checkedProps.value;
|
|
80
132
|
watchSyncEffect(() => {
|
|
@@ -140,7 +192,10 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
140
192
|
}, {
|
|
141
193
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
142
194
|
_: 3
|
|
143
|
-
}, 8, ["value"])], 16, _hoisted_1)), [[unref(
|
|
195
|
+
}, 8, ["value"])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
196
|
+
contract: propValidityContract,
|
|
197
|
+
values: { ...checkedProps.value }
|
|
198
|
+
}], [unref(vBindControl), {
|
|
144
199
|
tag: "select",
|
|
145
200
|
name: "value",
|
|
146
201
|
value: model.value,
|
|
@@ -148,6 +203,6 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
148
203
|
}]]);
|
|
149
204
|
};
|
|
150
205
|
}
|
|
151
|
-
}), [["__scopeId", "data-v-
|
|
206
|
+
}), [["__scopeId", "data-v-560178c9"]]);
|
|
152
207
|
//#endregion
|
|
153
208
|
export { UiSelect_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, defineComponent, getCurrentInstance, mergeProps, openBlock, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiSeparator.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["aria-orientation", "data-orientation"];
|
|
6
6
|
//#endregion
|
|
@@ -13,11 +13,22 @@ var UiSeparator_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
13
13
|
default: "horizontal"
|
|
14
14
|
} },
|
|
15
15
|
setup(__props) {
|
|
16
|
+
const propValidityContract = { props: { orientation: {
|
|
17
|
+
type: {
|
|
18
|
+
kind: "terminal",
|
|
19
|
+
name: "keyword"
|
|
20
|
+
},
|
|
21
|
+
required: false,
|
|
22
|
+
target: { attribute: "aria-orientation" },
|
|
23
|
+
description: "Whether the separator divides stacked content (horizontal) or inline content (vertical).",
|
|
24
|
+
values: ["horizontal", "vertical"],
|
|
25
|
+
default: "horizontal"
|
|
26
|
+
} } };
|
|
16
27
|
const props = __props;
|
|
17
28
|
const checkedProps = computed(() => ({ orientation: checkedProp(props["orientation"], {
|
|
18
29
|
kind: "terminal",
|
|
19
30
|
name: "keyword"
|
|
20
|
-
}, false, "orientation"
|
|
31
|
+
}, false, "orientation") }));
|
|
21
32
|
checkedProps.value;
|
|
22
33
|
watchSyncEffect(() => {
|
|
23
34
|
checkedProps.value;
|
|
@@ -43,12 +54,15 @@ var UiSeparator_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
43
54
|
})
|
|
44
55
|
});
|
|
45
56
|
return (_ctx, _cache) => {
|
|
46
|
-
return openBlock(), createElementBlock("hr", mergeProps({ "data-component": "ui-separator" }, nativeAttrs(_ctx.$attrs), {
|
|
57
|
+
return withDirectives((openBlock(), createElementBlock("hr", mergeProps({ "data-component": "ui-separator" }, nativeAttrs(_ctx.$attrs), {
|
|
47
58
|
"aria-orientation": checkedProps.value.orientation ?? void 0,
|
|
48
59
|
"data-orientation": reflectedProp("orientation", "orientation", checkedProps.value.orientation, void 0, false)
|
|
49
|
-
}), null, 16, _hoisted_1)
|
|
60
|
+
}), null, 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
61
|
+
contract: propValidityContract,
|
|
62
|
+
values: { ...checkedProps.value }
|
|
63
|
+
}]]);
|
|
50
64
|
};
|
|
51
65
|
}
|
|
52
|
-
}), [["__scopeId", "data-v-
|
|
66
|
+
}), [["__scopeId", "data-v-38463d0f"]]);
|
|
53
67
|
//#endregion
|
|
54
68
|
export { UiSeparator_default as t };
|
package/vue/chunks/UiSidebar.js
CHANGED
|
@@ -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/UiSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-breakpoint",
|
|
@@ -66,48 +66,142 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
66
66
|
"toggle"
|
|
67
67
|
],
|
|
68
68
|
setup(__props, { emit: __emit }) {
|
|
69
|
+
const propValidityContract = { props: {
|
|
70
|
+
breakpoint: {
|
|
71
|
+
type: {
|
|
72
|
+
kind: "terminal",
|
|
73
|
+
name: "keyword"
|
|
74
|
+
},
|
|
75
|
+
required: false,
|
|
76
|
+
target: { attribute: "breakpoint" },
|
|
77
|
+
description: "Below this viewport width (40rem, 48rem, 64rem) the sidebar becomes an off-canvas drawer, closed until toggled.",
|
|
78
|
+
values: [
|
|
79
|
+
"sm",
|
|
80
|
+
"md",
|
|
81
|
+
"lg"
|
|
82
|
+
],
|
|
83
|
+
default: "md"
|
|
84
|
+
},
|
|
85
|
+
collapsed: {
|
|
86
|
+
type: {
|
|
87
|
+
kind: "terminal",
|
|
88
|
+
name: "boolean"
|
|
89
|
+
},
|
|
90
|
+
required: false,
|
|
91
|
+
target: { attribute: "collapsed" },
|
|
92
|
+
description: "Whether the docked sidebar is collapsed.",
|
|
93
|
+
default: false
|
|
94
|
+
},
|
|
95
|
+
maxWidth: {
|
|
96
|
+
type: {
|
|
97
|
+
kind: "terminal",
|
|
98
|
+
name: "number"
|
|
99
|
+
},
|
|
100
|
+
required: false,
|
|
101
|
+
target: { attribute: "maxwidth" },
|
|
102
|
+
description: "The widest width the resize handle allows, in pixels.",
|
|
103
|
+
default: 480
|
|
104
|
+
},
|
|
105
|
+
minWidth: {
|
|
106
|
+
type: {
|
|
107
|
+
kind: "terminal",
|
|
108
|
+
name: "number"
|
|
109
|
+
},
|
|
110
|
+
required: false,
|
|
111
|
+
target: { attribute: "minwidth" },
|
|
112
|
+
description: "The narrowest width the resize handle allows, in pixels.",
|
|
113
|
+
default: 200
|
|
114
|
+
},
|
|
115
|
+
resizable: {
|
|
116
|
+
type: {
|
|
117
|
+
kind: "terminal",
|
|
118
|
+
name: "boolean"
|
|
119
|
+
},
|
|
120
|
+
required: false,
|
|
121
|
+
target: { attribute: "resizable" },
|
|
122
|
+
description: "Adds a resize handle on the inner edge (drag, or arrow keys, Home, and End).",
|
|
123
|
+
default: false
|
|
124
|
+
},
|
|
125
|
+
resizeLabel: {
|
|
126
|
+
type: {
|
|
127
|
+
kind: "terminal",
|
|
128
|
+
name: "string"
|
|
129
|
+
},
|
|
130
|
+
required: false,
|
|
131
|
+
target: { attribute: "aria-label" },
|
|
132
|
+
description: "Accessible name of the resize handle.",
|
|
133
|
+
default: "Resize sidebar"
|
|
134
|
+
},
|
|
135
|
+
resizeStep: {
|
|
136
|
+
type: {
|
|
137
|
+
kind: "terminal",
|
|
138
|
+
name: "number"
|
|
139
|
+
},
|
|
140
|
+
required: false,
|
|
141
|
+
target: { attribute: "resizestep" },
|
|
142
|
+
description: "Arrow-key resize step in pixels.",
|
|
143
|
+
default: 16
|
|
144
|
+
},
|
|
145
|
+
side: {
|
|
146
|
+
type: {
|
|
147
|
+
kind: "terminal",
|
|
148
|
+
name: "keyword"
|
|
149
|
+
},
|
|
150
|
+
required: false,
|
|
151
|
+
target: { attribute: "side" },
|
|
152
|
+
description: "The edge the sidebar sits on. The page places it beside its main content.",
|
|
153
|
+
values: ["start", "end"],
|
|
154
|
+
default: "start"
|
|
155
|
+
},
|
|
156
|
+
width: {
|
|
157
|
+
type: {
|
|
158
|
+
kind: "terminal",
|
|
159
|
+
name: "number"
|
|
160
|
+
},
|
|
161
|
+
required: false,
|
|
162
|
+
target: { attribute: "width" },
|
|
163
|
+
description: "Docked width in pixels. 0 uses --ui-sidebar-width (280px by default); dragging the handle updates it.",
|
|
164
|
+
default: 0
|
|
165
|
+
}
|
|
166
|
+
} };
|
|
69
167
|
const props = __props;
|
|
70
168
|
const checkedProps = computed(() => ({
|
|
71
169
|
breakpoint: checkedProp(props["breakpoint"], {
|
|
72
170
|
kind: "terminal",
|
|
73
171
|
name: "keyword"
|
|
74
|
-
}, false, "breakpoint",
|
|
75
|
-
"sm",
|
|
76
|
-
"md",
|
|
77
|
-
"lg"
|
|
78
|
-
]),
|
|
172
|
+
}, false, "breakpoint"),
|
|
79
173
|
collapsed: checkedProp(props["collapsed"], {
|
|
80
174
|
kind: "terminal",
|
|
81
175
|
name: "boolean"
|
|
82
|
-
}, false, "collapsed"
|
|
176
|
+
}, false, "collapsed"),
|
|
83
177
|
maxWidth: checkedProp(props["maxWidth"], {
|
|
84
178
|
kind: "terminal",
|
|
85
179
|
name: "number"
|
|
86
|
-
}, false, "maxWidth"
|
|
180
|
+
}, false, "maxWidth"),
|
|
87
181
|
minWidth: checkedProp(props["minWidth"], {
|
|
88
182
|
kind: "terminal",
|
|
89
183
|
name: "number"
|
|
90
|
-
}, false, "minWidth"
|
|
184
|
+
}, false, "minWidth"),
|
|
91
185
|
resizable: checkedProp(props["resizable"], {
|
|
92
186
|
kind: "terminal",
|
|
93
187
|
name: "boolean"
|
|
94
|
-
}, false, "resizable"
|
|
188
|
+
}, false, "resizable"),
|
|
95
189
|
resizeLabel: checkedProp(props["resizeLabel"], {
|
|
96
190
|
kind: "terminal",
|
|
97
191
|
name: "string"
|
|
98
|
-
}, false, "resizeLabel"
|
|
192
|
+
}, false, "resizeLabel"),
|
|
99
193
|
resizeStep: checkedProp(props["resizeStep"], {
|
|
100
194
|
kind: "terminal",
|
|
101
195
|
name: "number"
|
|
102
|
-
}, false, "resizeStep"
|
|
196
|
+
}, false, "resizeStep"),
|
|
103
197
|
side: checkedProp(props["side"], {
|
|
104
198
|
kind: "terminal",
|
|
105
199
|
name: "keyword"
|
|
106
|
-
}, false, "side"
|
|
200
|
+
}, false, "side"),
|
|
107
201
|
width: checkedProp(props["width"], {
|
|
108
202
|
kind: "terminal",
|
|
109
203
|
name: "number"
|
|
110
|
-
}, false, "width"
|
|
204
|
+
}, false, "width")
|
|
111
205
|
}));
|
|
112
206
|
checkedProps.value;
|
|
113
207
|
watchSyncEffect(() => {
|
|
@@ -131,6 +225,13 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
131
225
|
const resizerElement = useTemplateRef("resizer");
|
|
132
226
|
const internalCollapsed = ref(false);
|
|
133
227
|
const drawer = ref(false);
|
|
228
|
+
let guardedPrevious;
|
|
229
|
+
const guarded = computed(() => {
|
|
230
|
+
if (!((drawer.value == null || typeof drawer.value === "boolean") && (internalCollapsed.value == null || typeof internalCollapsed.value === "boolean"))) return guardedPrevious;
|
|
231
|
+
return guardedPrevious = !checkedProps.value.resizable || drawer.value || internalCollapsed.value;
|
|
232
|
+
});
|
|
233
|
+
provide("html-next:ui-sidebar:internalCollapsed", internalCollapsed);
|
|
234
|
+
provide("html-next:ui-sidebar:drawer", drawer);
|
|
134
235
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
135
236
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "aside")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-sidebar> has an incompatible root."), {
|
|
136
237
|
name: "HtmlDiagnosticError",
|
|
@@ -173,7 +274,7 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
173
274
|
}
|
|
174
275
|
});
|
|
175
276
|
return (_ctx, _cache) => {
|
|
176
|
-
return openBlock(), createElementBlock("aside", mergeProps({ "data-component": "ui-sidebar" }, nativeAttrs(_ctx.$attrs), {
|
|
277
|
+
return withDirectives((openBlock(), createElementBlock("aside", mergeProps({ "data-component": "ui-sidebar" }, nativeAttrs(_ctx.$attrs), {
|
|
177
278
|
"data-breakpoint": reflectedProp("breakpoint", "breakpoint", checkedProps.value.breakpoint, void 0, false),
|
|
178
279
|
"data-collapsed": reflectedProp("collapsed", "collapsed", checkedProps.value.collapsed, void 0, false),
|
|
179
280
|
"data-max-width": reflectedProp("maxWidth", "max-width", checkedProps.value.maxWidth, void 0, false),
|
|
@@ -193,14 +294,17 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
193
294
|
tabindex: "0",
|
|
194
295
|
"data-ui-affordance": "resize",
|
|
195
296
|
"aria-label": checkedProps.value.resizeLabel ?? void 0,
|
|
196
|
-
hidden:
|
|
297
|
+
hidden: guarded.value,
|
|
197
298
|
ref: "resizer"
|
|
198
299
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("span", {
|
|
199
300
|
class: "guide",
|
|
200
301
|
"aria-hidden": "true"
|
|
201
|
-
}, null, -1)])], 8, _hoisted_3)], 16, _hoisted_1)
|
|
302
|
+
}, null, -1)])], 8, _hoisted_3)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
303
|
+
contract: propValidityContract,
|
|
304
|
+
values: { ...checkedProps.value }
|
|
305
|
+
}]]);
|
|
202
306
|
};
|
|
203
307
|
}
|
|
204
|
-
}), [["__scopeId", "data-v-
|
|
308
|
+
}), [["__scopeId", "data-v-ecac8900"]]);
|
|
205
309
|
//#endregion
|
|
206
310
|
export { UiSidebar_default as t };
|
package/vue/chunks/UiSpinner.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, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"role",
|
|
@@ -27,16 +27,39 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(__props) {
|
|
30
|
+
const propValidityContract = { props: {
|
|
31
|
+
label: {
|
|
32
|
+
type: {
|
|
33
|
+
kind: "terminal",
|
|
34
|
+
name: "string"
|
|
35
|
+
},
|
|
36
|
+
required: false,
|
|
37
|
+
target: { attribute: "label" },
|
|
38
|
+
description: "What is loading, for assistive technology (\"Loading pages\"). With a label the spinner is a status that is announced; without one it is decoration, for a\n spinner beside visible text that already says so.",
|
|
39
|
+
default: ""
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
type: {
|
|
43
|
+
kind: "terminal",
|
|
44
|
+
name: "keyword"
|
|
45
|
+
},
|
|
46
|
+
required: false,
|
|
47
|
+
target: { attribute: "size" },
|
|
48
|
+
description: "sm fits inside a button or a line of small text; md sits beside body text.",
|
|
49
|
+
values: ["sm", "md"],
|
|
50
|
+
default: "md"
|
|
51
|
+
}
|
|
52
|
+
} };
|
|
30
53
|
const props = __props;
|
|
31
54
|
const checkedProps = computed(() => ({
|
|
32
55
|
label: checkedProp(props["label"], {
|
|
33
56
|
kind: "terminal",
|
|
34
57
|
name: "string"
|
|
35
|
-
}, false, "label"
|
|
58
|
+
}, false, "label"),
|
|
36
59
|
size: checkedProp(props["size"], {
|
|
37
60
|
kind: "terminal",
|
|
38
61
|
name: "keyword"
|
|
39
|
-
}, false, "size"
|
|
62
|
+
}, false, "size")
|
|
40
63
|
}));
|
|
41
64
|
checkedProps.value;
|
|
42
65
|
watchSyncEffect(() => {
|
|
@@ -73,7 +96,7 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
73
96
|
return value === true ? "" : text(value);
|
|
74
97
|
}
|
|
75
98
|
return (_ctx, _cache) => {
|
|
76
|
-
return openBlock(), createElementBlock("span", mergeProps({
|
|
99
|
+
return withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
77
100
|
"data-component": "ui-spinner",
|
|
78
101
|
class: "ring"
|
|
79
102
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -129,9 +152,12 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
129
152
|
cx: "25",
|
|
130
153
|
cy: "25",
|
|
131
154
|
r: "20"
|
|
132
|
-
})], -1)])], 16, _hoisted_1)
|
|
155
|
+
})], -1)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
156
|
+
contract: propValidityContract,
|
|
157
|
+
values: { ...checkedProps.value }
|
|
158
|
+
}]]);
|
|
133
159
|
};
|
|
134
160
|
}
|
|
135
|
-
}), [["__scopeId", "data-v-
|
|
161
|
+
}), [["__scopeId", "data-v-dd46da2f"]]);
|
|
136
162
|
//#endregion
|
|
137
163
|
export { UiSpinner_default as t };
|
package/vue/chunks/UiStack.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/UiStack.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"data-align",
|
|
@@ -28,36 +28,68 @@ var UiStack_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(__props) {
|
|
31
|
+
const propValidityContract = { props: {
|
|
32
|
+
align: {
|
|
33
|
+
type: {
|
|
34
|
+
kind: "terminal",
|
|
35
|
+
name: "keyword"
|
|
36
|
+
},
|
|
37
|
+
required: false,
|
|
38
|
+
target: { attribute: "align" },
|
|
39
|
+
description: "How items sit across the stack: stretch (the default) makes each fill the stack's width; start, center, and end keep each at its own width, against the\n start, in the middle, or against the end.",
|
|
40
|
+
values: [
|
|
41
|
+
"start",
|
|
42
|
+
"center",
|
|
43
|
+
"end",
|
|
44
|
+
"stretch"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
gap: {
|
|
48
|
+
type: {
|
|
49
|
+
kind: "terminal",
|
|
50
|
+
name: "keyword"
|
|
51
|
+
},
|
|
52
|
+
required: false,
|
|
53
|
+
target: { attribute: "gap" },
|
|
54
|
+
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-stack-gap custom property,\n set on the stack itself, overrides it; set on an ancestor, it does nothing.",
|
|
55
|
+
values: [
|
|
56
|
+
"xs",
|
|
57
|
+
"s",
|
|
58
|
+
"m",
|
|
59
|
+
"l",
|
|
60
|
+
"xl"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
justify: {
|
|
64
|
+
type: {
|
|
65
|
+
kind: "terminal",
|
|
66
|
+
name: "keyword"
|
|
67
|
+
},
|
|
68
|
+
required: false,
|
|
69
|
+
target: { attribute: "justify" },
|
|
70
|
+
description: "Where items sit along a stack that is taller than its content: start (the default), center, end, or between, which spreads the spare space between items.\n It has no effect unless the stack is given a height or stretched to one.",
|
|
71
|
+
values: [
|
|
72
|
+
"start",
|
|
73
|
+
"center",
|
|
74
|
+
"end",
|
|
75
|
+
"between"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
} };
|
|
31
79
|
const props = __props;
|
|
32
80
|
const checkedProps = computed(() => ({
|
|
33
81
|
align: checkedProp(props["align"], {
|
|
34
82
|
kind: "terminal",
|
|
35
83
|
name: "keyword"
|
|
36
|
-
}, false, "align",
|
|
37
|
-
"start",
|
|
38
|
-
"center",
|
|
39
|
-
"end",
|
|
40
|
-
"stretch"
|
|
41
|
-
]),
|
|
84
|
+
}, false, "align"),
|
|
42
85
|
gap: checkedProp(props["gap"], {
|
|
43
86
|
kind: "terminal",
|
|
44
87
|
name: "keyword"
|
|
45
|
-
}, false, "gap",
|
|
46
|
-
"xs",
|
|
47
|
-
"s",
|
|
48
|
-
"m",
|
|
49
|
-
"l",
|
|
50
|
-
"xl"
|
|
51
|
-
]),
|
|
88
|
+
}, false, "gap"),
|
|
52
89
|
justify: checkedProp(props["justify"], {
|
|
53
90
|
kind: "terminal",
|
|
54
91
|
name: "keyword"
|
|
55
|
-
}, false, "justify"
|
|
56
|
-
"start",
|
|
57
|
-
"center",
|
|
58
|
-
"end",
|
|
59
|
-
"between"
|
|
60
|
-
])
|
|
92
|
+
}, false, "justify")
|
|
61
93
|
}));
|
|
62
94
|
checkedProps.value;
|
|
63
95
|
watchSyncEffect(() => {
|
|
@@ -93,14 +125,17 @@ var UiStack_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
93
125
|
checkedProps.value.justify != null && `justify=${encodeURIComponent(checkedProps.value.justify)}`
|
|
94
126
|
].filter(Boolean).join(" "));
|
|
95
127
|
return (_ctx, _cache) => {
|
|
96
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-stack" }, nativeAttrs(_ctx.$attrs), {
|
|
128
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-stack" }, nativeAttrs(_ctx.$attrs), {
|
|
97
129
|
"data-align": reflectedProp("align", "align", checkedProps.value.align, void 0, false),
|
|
98
130
|
"data-gap": reflectedProp("gap", "gap", checkedProps.value.gap, void 0, false),
|
|
99
131
|
"data-justify": reflectedProp("justify", "justify", checkedProps.value.justify, void 0, false),
|
|
100
132
|
"data-ui-stack-state": hostState.value || void 0
|
|
101
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)
|
|
133
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
134
|
+
contract: propValidityContract,
|
|
135
|
+
values: { ...checkedProps.value }
|
|
136
|
+
}]]);
|
|
102
137
|
};
|
|
103
138
|
}
|
|
104
|
-
}), [["__scopeId", "data-v-
|
|
139
|
+
}), [["__scopeId", "data-v-5d511bbb"]]);
|
|
105
140
|
//#endregion
|
|
106
141
|
export { UiStack_default as t };
|