@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
|
@@ -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/UiBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["aria-label", "data-label"];
|
|
6
6
|
var _hoisted_2 = { role: "list" };
|
|
@@ -14,11 +14,21 @@ var UiBreadcrumbs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
14
14
|
default: "Breadcrumb"
|
|
15
15
|
} },
|
|
16
16
|
setup(__props) {
|
|
17
|
+
const propValidityContract = { props: { label: {
|
|
18
|
+
type: {
|
|
19
|
+
kind: "terminal",
|
|
20
|
+
name: "string"
|
|
21
|
+
},
|
|
22
|
+
required: false,
|
|
23
|
+
target: { attribute: "aria-label" },
|
|
24
|
+
description: "The navigation landmark's accessible name.",
|
|
25
|
+
default: "Breadcrumb"
|
|
26
|
+
} } };
|
|
17
27
|
const props = __props;
|
|
18
28
|
const checkedProps = computed(() => ({ label: checkedProp(props["label"], {
|
|
19
29
|
kind: "terminal",
|
|
20
30
|
name: "string"
|
|
21
|
-
}, false, "label"
|
|
31
|
+
}, false, "label") }));
|
|
22
32
|
checkedProps.value;
|
|
23
33
|
watchSyncEffect(() => {
|
|
24
34
|
checkedProps.value;
|
|
@@ -44,12 +54,15 @@ var UiBreadcrumbs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
44
54
|
})
|
|
45
55
|
});
|
|
46
56
|
return (_ctx, _cache) => {
|
|
47
|
-
return openBlock(), createElementBlock("nav", mergeProps({ "data-component": "ui-breadcrumbs" }, nativeAttrs(_ctx.$attrs), {
|
|
57
|
+
return withDirectives((openBlock(), createElementBlock("nav", mergeProps({ "data-component": "ui-breadcrumbs" }, nativeAttrs(_ctx.$attrs), {
|
|
48
58
|
"aria-label": checkedProps.value.label ?? void 0,
|
|
49
59
|
"data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false)
|
|
50
|
-
}), [createElementVNode("ol", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)
|
|
60
|
+
}), [createElementVNode("ol", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
61
|
+
contract: propValidityContract,
|
|
62
|
+
values: { ...checkedProps.value }
|
|
63
|
+
}]]);
|
|
51
64
|
};
|
|
52
65
|
}
|
|
53
|
-
}), [["__scopeId", "data-v-
|
|
66
|
+
}), [["__scopeId", "data-v-fc9f0e45"]]);
|
|
54
67
|
//#endregion
|
|
55
68
|
export { UiBreadcrumbs_default as t };
|
package/vue/chunks/UiButton.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 { n as preserveRootFocus, 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 { t as UiSpinner_default } from "./UiSpinner.js";
|
|
5
|
-
import { computed, createCommentVNode, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
|
|
5
|
+
import { computed, createCommentVNode, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"href",
|
|
@@ -120,86 +120,232 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
setup(__props) {
|
|
123
|
+
const propValidityContract = { props: {
|
|
124
|
+
align: {
|
|
125
|
+
type: {
|
|
126
|
+
kind: "terminal",
|
|
127
|
+
name: "keyword"
|
|
128
|
+
},
|
|
129
|
+
required: false,
|
|
130
|
+
target: { attribute: "align" },
|
|
131
|
+
description: "Content alignment. start lays the content out like a list option: from the start edge, with start-aligned text.",
|
|
132
|
+
values: ["center", "start"],
|
|
133
|
+
default: "center"
|
|
134
|
+
},
|
|
135
|
+
as: {
|
|
136
|
+
type: {
|
|
137
|
+
kind: "terminal",
|
|
138
|
+
name: "keyword"
|
|
139
|
+
},
|
|
140
|
+
required: false,
|
|
141
|
+
target: { attribute: "as" },
|
|
142
|
+
description: "The native element the button renders: a button, or a link (a) that navigates to href.",
|
|
143
|
+
values: ["button", "a"],
|
|
144
|
+
default: "button"
|
|
145
|
+
},
|
|
146
|
+
disabled: {
|
|
147
|
+
type: {
|
|
148
|
+
kind: "terminal",
|
|
149
|
+
name: "boolean"
|
|
150
|
+
},
|
|
151
|
+
required: false,
|
|
152
|
+
target: { attribute: "disabled" },
|
|
153
|
+
description: "Makes the button unavailable: it cannot be pressed, uses a flat neutral palette, and loses its raised look. A disabled link (as=\"a\" with href) drops its\n href and states aria-disabled=\"true\" instead, because a link has no native disabled state.",
|
|
154
|
+
default: false
|
|
155
|
+
},
|
|
156
|
+
href: {
|
|
157
|
+
type: {
|
|
158
|
+
kind: "terminal",
|
|
159
|
+
name: "string"
|
|
160
|
+
},
|
|
161
|
+
required: false,
|
|
162
|
+
target: { attribute: "href" },
|
|
163
|
+
description: "The link's destination. Pair it with as=\"a\" so the button renders as a real link that navigates. A disabled link drops its href and states\n aria-disabled=\"true\", so it cannot be followed."
|
|
164
|
+
},
|
|
165
|
+
loading: {
|
|
166
|
+
type: {
|
|
167
|
+
kind: "terminal",
|
|
168
|
+
name: "boolean"
|
|
169
|
+
},
|
|
170
|
+
required: false,
|
|
171
|
+
target: { attribute: "loading" },
|
|
172
|
+
description: "Keeps the action focusable and its label visible while work is in progress. It shows a decorative spinner, states aria-disabled and aria-busy, and prevents\n activation or form submission until cleared.",
|
|
173
|
+
default: false
|
|
174
|
+
},
|
|
175
|
+
pending: {
|
|
176
|
+
type: {
|
|
177
|
+
kind: "terminal",
|
|
178
|
+
name: "boolean"
|
|
179
|
+
},
|
|
180
|
+
required: false,
|
|
181
|
+
target: { attribute: "pending" },
|
|
182
|
+
description: "Deprecated alias for loading.",
|
|
183
|
+
default: false
|
|
184
|
+
},
|
|
185
|
+
rel: {
|
|
186
|
+
type: {
|
|
187
|
+
kind: "terminal",
|
|
188
|
+
name: "string"
|
|
189
|
+
},
|
|
190
|
+
required: false,
|
|
191
|
+
target: { attribute: "rel" },
|
|
192
|
+
description: "The link's relationship to its destination, as on a native link. Only meaningful with as=\"a\"."
|
|
193
|
+
},
|
|
194
|
+
shape: {
|
|
195
|
+
type: {
|
|
196
|
+
kind: "terminal",
|
|
197
|
+
name: "keyword"
|
|
198
|
+
},
|
|
199
|
+
required: false,
|
|
200
|
+
target: { attribute: "shape" },
|
|
201
|
+
description: "rounded uses the theme's action radius; pill rounds the ends fully, for a compact choice such as a status or a person.",
|
|
202
|
+
values: ["rounded", "pill"],
|
|
203
|
+
default: "rounded"
|
|
204
|
+
},
|
|
205
|
+
size: {
|
|
206
|
+
type: {
|
|
207
|
+
kind: "terminal",
|
|
208
|
+
name: "keyword"
|
|
209
|
+
},
|
|
210
|
+
required: false,
|
|
211
|
+
target: { attribute: "size" },
|
|
212
|
+
description: "Height, padding, and type size. xs is 1.5rem with the smallest text, for a control inside a line of small text; sm is the small control height (2rem by\n default) with tighter padding and smaller text, md is the standard control height (2.5rem), and lg is taller (3rem) with roomier padding. Under touch, sm\n grows to the touch minimum, while xs keeps its size inside its line and gains an invisible touch-sized hit area.",
|
|
213
|
+
values: [
|
|
214
|
+
"xs",
|
|
215
|
+
"sm",
|
|
216
|
+
"md",
|
|
217
|
+
"lg"
|
|
218
|
+
],
|
|
219
|
+
default: "md"
|
|
220
|
+
},
|
|
221
|
+
stretch: {
|
|
222
|
+
type: {
|
|
223
|
+
kind: "terminal",
|
|
224
|
+
name: "boolean"
|
|
225
|
+
},
|
|
226
|
+
required: false,
|
|
227
|
+
target: { attribute: "stretch" },
|
|
228
|
+
description: "Fills the inline size of its container.",
|
|
229
|
+
default: false
|
|
230
|
+
},
|
|
231
|
+
target: {
|
|
232
|
+
type: {
|
|
233
|
+
kind: "terminal",
|
|
234
|
+
name: "string"
|
|
235
|
+
},
|
|
236
|
+
required: false,
|
|
237
|
+
target: { attribute: "target" },
|
|
238
|
+
description: "Where a link opens, as on a native link. Only meaningful with as=\"a\"."
|
|
239
|
+
},
|
|
240
|
+
tone: {
|
|
241
|
+
type: {
|
|
242
|
+
kind: "terminal",
|
|
243
|
+
name: "keyword"
|
|
244
|
+
},
|
|
245
|
+
required: false,
|
|
246
|
+
target: { attribute: "tone" },
|
|
247
|
+
description: "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes:\n tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour.",
|
|
248
|
+
values: [
|
|
249
|
+
"accent",
|
|
250
|
+
"neutral",
|
|
251
|
+
"danger",
|
|
252
|
+
"success",
|
|
253
|
+
"warning",
|
|
254
|
+
"info"
|
|
255
|
+
],
|
|
256
|
+
default: "accent"
|
|
257
|
+
},
|
|
258
|
+
type: {
|
|
259
|
+
type: {
|
|
260
|
+
kind: "terminal",
|
|
261
|
+
name: "keyword"
|
|
262
|
+
},
|
|
263
|
+
required: false,
|
|
264
|
+
target: { attribute: "type" },
|
|
265
|
+
description: "The button's type, as on a native button. button by default, so it never submits a form by accident. A link has no type.",
|
|
266
|
+
values: [
|
|
267
|
+
"button",
|
|
268
|
+
"submit",
|
|
269
|
+
"reset"
|
|
270
|
+
],
|
|
271
|
+
default: "button"
|
|
272
|
+
},
|
|
273
|
+
variant: {
|
|
274
|
+
type: {
|
|
275
|
+
kind: "terminal",
|
|
276
|
+
name: "keyword"
|
|
277
|
+
},
|
|
278
|
+
required: false,
|
|
279
|
+
target: { attribute: "variant" },
|
|
280
|
+
description: "Emphasis: how loudly the button asks. solid fills with its tone, outline draws its tone at the edge over a wash of it, ghost carries only text until it is\n hovered, and link is an inline text action that reads as a link. danger is solid in the danger tone, kept for the call sites that name it.",
|
|
281
|
+
values: [
|
|
282
|
+
"outline",
|
|
283
|
+
"solid",
|
|
284
|
+
"danger",
|
|
285
|
+
"ghost",
|
|
286
|
+
"link"
|
|
287
|
+
],
|
|
288
|
+
default: "outline"
|
|
289
|
+
}
|
|
290
|
+
} };
|
|
123
291
|
const props = __props;
|
|
124
292
|
const checkedProps = computed(() => ({
|
|
125
293
|
align: checkedProp(props["align"], {
|
|
126
294
|
kind: "terminal",
|
|
127
295
|
name: "keyword"
|
|
128
|
-
}, false, "align"
|
|
296
|
+
}, false, "align"),
|
|
129
297
|
as: checkedProp(props["as"], {
|
|
130
298
|
kind: "terminal",
|
|
131
299
|
name: "keyword"
|
|
132
|
-
}, false, "as"
|
|
300
|
+
}, false, "as"),
|
|
133
301
|
disabled: checkedProp(props["disabled"], {
|
|
134
302
|
kind: "terminal",
|
|
135
303
|
name: "boolean"
|
|
136
|
-
}, false, "disabled"
|
|
304
|
+
}, false, "disabled"),
|
|
137
305
|
href: checkedProp(props["href"], {
|
|
138
306
|
kind: "terminal",
|
|
139
307
|
name: "string"
|
|
140
|
-
}, false, "href"
|
|
308
|
+
}, false, "href"),
|
|
141
309
|
loading: checkedProp(props["loading"], {
|
|
142
310
|
kind: "terminal",
|
|
143
311
|
name: "boolean"
|
|
144
|
-
}, false, "loading"
|
|
312
|
+
}, false, "loading"),
|
|
145
313
|
pending: checkedProp(props["pending"], {
|
|
146
314
|
kind: "terminal",
|
|
147
315
|
name: "boolean"
|
|
148
|
-
}, false, "pending"
|
|
316
|
+
}, false, "pending"),
|
|
149
317
|
rel: checkedProp(props["rel"], {
|
|
150
318
|
kind: "terminal",
|
|
151
319
|
name: "string"
|
|
152
|
-
}, false, "rel"
|
|
320
|
+
}, false, "rel"),
|
|
153
321
|
shape: checkedProp(props["shape"], {
|
|
154
322
|
kind: "terminal",
|
|
155
323
|
name: "keyword"
|
|
156
|
-
}, false, "shape"
|
|
324
|
+
}, false, "shape"),
|
|
157
325
|
size: checkedProp(props["size"], {
|
|
158
326
|
kind: "terminal",
|
|
159
327
|
name: "keyword"
|
|
160
|
-
}, false, "size",
|
|
161
|
-
"xs",
|
|
162
|
-
"sm",
|
|
163
|
-
"md",
|
|
164
|
-
"lg"
|
|
165
|
-
]),
|
|
328
|
+
}, false, "size"),
|
|
166
329
|
stretch: checkedProp(props["stretch"], {
|
|
167
330
|
kind: "terminal",
|
|
168
331
|
name: "boolean"
|
|
169
|
-
}, false, "stretch"
|
|
332
|
+
}, false, "stretch"),
|
|
170
333
|
target: checkedProp(props["target"], {
|
|
171
334
|
kind: "terminal",
|
|
172
335
|
name: "string"
|
|
173
|
-
}, false, "target"
|
|
336
|
+
}, false, "target"),
|
|
174
337
|
tone: checkedProp(props["tone"], {
|
|
175
338
|
kind: "terminal",
|
|
176
339
|
name: "keyword"
|
|
177
|
-
}, false, "tone",
|
|
178
|
-
"accent",
|
|
179
|
-
"neutral",
|
|
180
|
-
"danger",
|
|
181
|
-
"success",
|
|
182
|
-
"warning",
|
|
183
|
-
"info"
|
|
184
|
-
]),
|
|
340
|
+
}, false, "tone"),
|
|
185
341
|
type: checkedProp(props["type"], {
|
|
186
342
|
kind: "terminal",
|
|
187
343
|
name: "keyword"
|
|
188
|
-
}, false, "type",
|
|
189
|
-
"button",
|
|
190
|
-
"submit",
|
|
191
|
-
"reset"
|
|
192
|
-
]),
|
|
344
|
+
}, false, "type"),
|
|
193
345
|
variant: checkedProp(props["variant"], {
|
|
194
346
|
kind: "terminal",
|
|
195
347
|
name: "keyword"
|
|
196
|
-
}, false, "variant"
|
|
197
|
-
"outline",
|
|
198
|
-
"solid",
|
|
199
|
-
"danger",
|
|
200
|
-
"ghost",
|
|
201
|
-
"link"
|
|
202
|
-
])
|
|
348
|
+
}, false, "variant")
|
|
203
349
|
}));
|
|
204
350
|
checkedProps.value;
|
|
205
351
|
watchSyncEffect(() => {
|
|
@@ -263,7 +409,7 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
263
409
|
return value === true ? "" : text(value);
|
|
264
410
|
}
|
|
265
411
|
return (_ctx, _cache) => {
|
|
266
|
-
return checkedProps.value.as === "a" ? (openBlock(), createElementBlock("a", mergeProps({
|
|
412
|
+
return checkedProps.value.as === "a" ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
|
|
267
413
|
key: 0,
|
|
268
414
|
"data-component": "ui-button"
|
|
269
415
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -304,7 +450,10 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
304
450
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
305
451
|
"data-ui-button-state": hostState.value || void 0,
|
|
306
452
|
ref: "@html-next/root"
|
|
307
|
-
}), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1))
|
|
453
|
+
}), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
454
|
+
contract: propValidityContract,
|
|
455
|
+
values: { ...checkedProps.value }
|
|
456
|
+
}]]) : withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
308
457
|
key: 1,
|
|
309
458
|
"data-component": "ui-button"
|
|
310
459
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -337,9 +486,12 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
337
486
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
338
487
|
"data-ui-button-state": hostState.value || void 0,
|
|
339
488
|
ref: "@html-next/root"
|
|
340
|
-
}), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_4, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3))
|
|
489
|
+
}), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_4, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3)), [[unref(vPropValidity), {
|
|
490
|
+
contract: propValidityContract,
|
|
491
|
+
values: { ...checkedProps.value }
|
|
492
|
+
}]]);
|
|
341
493
|
};
|
|
342
494
|
}
|
|
343
|
-
}), [["__scopeId", "data-v-
|
|
495
|
+
}), [["__scopeId", "data-v-d5a1d869"]]);
|
|
344
496
|
//#endregion
|
|
345
497
|
export { UiButton_default as t };
|
package/vue/chunks/UiCallout.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, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiCallout.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["data-tone", "data-ui-callout-state"];
|
|
6
6
|
var _hoisted_2 = {
|
|
@@ -63,18 +63,29 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
63
63
|
default: "info"
|
|
64
64
|
} },
|
|
65
65
|
setup(__props) {
|
|
66
|
+
const propValidityContract = { props: { tone: {
|
|
67
|
+
type: {
|
|
68
|
+
kind: "terminal",
|
|
69
|
+
name: "keyword"
|
|
70
|
+
},
|
|
71
|
+
required: false,
|
|
72
|
+
target: { attribute: "tone" },
|
|
73
|
+
description: "Which kind of message the callout carries, shown by its icon and colour: info (the default) for information, neutral for a muted aside, warning for a\n caution, success for a confirmation, and danger for a harmful consequence. note remains as an alias for neutral.",
|
|
74
|
+
values: [
|
|
75
|
+
"info",
|
|
76
|
+
"neutral",
|
|
77
|
+
"note",
|
|
78
|
+
"warning",
|
|
79
|
+
"success",
|
|
80
|
+
"danger"
|
|
81
|
+
],
|
|
82
|
+
default: "info"
|
|
83
|
+
} } };
|
|
66
84
|
const props = __props;
|
|
67
85
|
const checkedProps = computed(() => ({ tone: checkedProp(props["tone"], {
|
|
68
86
|
kind: "terminal",
|
|
69
87
|
name: "keyword"
|
|
70
|
-
}, false, "tone"
|
|
71
|
-
"info",
|
|
72
|
-
"neutral",
|
|
73
|
-
"note",
|
|
74
|
-
"warning",
|
|
75
|
-
"success",
|
|
76
|
-
"danger"
|
|
77
|
-
]) }));
|
|
88
|
+
}, false, "tone") }));
|
|
78
89
|
checkedProps.value;
|
|
79
90
|
watchSyncEffect(() => {
|
|
80
91
|
checkedProps.value;
|
|
@@ -102,7 +113,7 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
102
113
|
/** The values the styles' :host-state() rules test. */
|
|
103
114
|
const hostState = computed(() => [checkedProps.value.tone && "tone", checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`].filter(Boolean).join(" "));
|
|
104
115
|
return (_ctx, _cache) => {
|
|
105
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
116
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
106
117
|
"data-component": "ui-callout",
|
|
107
118
|
role: "note"
|
|
108
119
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -142,9 +153,12 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
142
153
|
createElementVNode("path", { d: "m15 9-6 6" }, null, -1),
|
|
143
154
|
createElementVNode("path", { d: "m9 9 6 6" }, null, -1)
|
|
144
155
|
])])) : createCommentVNode("v-if", true)
|
|
145
|
-
]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)
|
|
156
|
+
]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
157
|
+
contract: propValidityContract,
|
|
158
|
+
values: { ...checkedProps.value }
|
|
159
|
+
}]]);
|
|
146
160
|
};
|
|
147
161
|
}
|
|
148
|
-
}), [["__scopeId", "data-v-
|
|
162
|
+
}), [["__scopeId", "data-v-394b0843"]]);
|
|
149
163
|
//#endregion
|
|
150
164
|
export { UiCallout_default as t };
|
package/vue/chunks/UiCard.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 { n as preserveRootFocus } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
4
|
-
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiCard.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-as",
|
|
@@ -55,37 +55,83 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
setup(__props) {
|
|
58
|
+
const propValidityContract = { props: {
|
|
59
|
+
as: {
|
|
60
|
+
type: {
|
|
61
|
+
kind: "terminal",
|
|
62
|
+
name: "keyword"
|
|
63
|
+
},
|
|
64
|
+
required: false,
|
|
65
|
+
target: { attribute: "as" },
|
|
66
|
+
description: "The native element the card renders. Choose the one that names the content: a section of a page, a self-contained article, or an aside.",
|
|
67
|
+
values: [
|
|
68
|
+
"div",
|
|
69
|
+
"section",
|
|
70
|
+
"article",
|
|
71
|
+
"aside"
|
|
72
|
+
],
|
|
73
|
+
default: "div"
|
|
74
|
+
},
|
|
75
|
+
padding: {
|
|
76
|
+
type: {
|
|
77
|
+
kind: "terminal",
|
|
78
|
+
name: "keyword"
|
|
79
|
+
},
|
|
80
|
+
required: false,
|
|
81
|
+
target: { attribute: "padding" },
|
|
82
|
+
description: "The space inside the card: sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).",
|
|
83
|
+
values: [
|
|
84
|
+
"sm",
|
|
85
|
+
"md",
|
|
86
|
+
"lg"
|
|
87
|
+
],
|
|
88
|
+
default: "md"
|
|
89
|
+
},
|
|
90
|
+
tone: {
|
|
91
|
+
type: {
|
|
92
|
+
kind: "terminal",
|
|
93
|
+
name: "keyword"
|
|
94
|
+
},
|
|
95
|
+
required: false,
|
|
96
|
+
target: { attribute: "tone" },
|
|
97
|
+
description: "danger adds a soft danger surface and a strong leading edge for consequential content.",
|
|
98
|
+
values: ["neutral", "danger"],
|
|
99
|
+
default: "neutral"
|
|
100
|
+
},
|
|
101
|
+
variant: {
|
|
102
|
+
type: {
|
|
103
|
+
kind: "terminal",
|
|
104
|
+
name: "keyword"
|
|
105
|
+
},
|
|
106
|
+
required: false,
|
|
107
|
+
target: { attribute: "variant" },
|
|
108
|
+
description: "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow;\n elevated floats above the page with a shadow, for a view's one card, such as sign-in.",
|
|
109
|
+
values: [
|
|
110
|
+
"outlined",
|
|
111
|
+
"subtle",
|
|
112
|
+
"elevated"
|
|
113
|
+
],
|
|
114
|
+
default: "outlined"
|
|
115
|
+
}
|
|
116
|
+
} };
|
|
58
117
|
const props = __props;
|
|
59
118
|
const checkedProps = computed(() => ({
|
|
60
119
|
as: checkedProp(props["as"], {
|
|
61
120
|
kind: "terminal",
|
|
62
121
|
name: "keyword"
|
|
63
|
-
}, false, "as",
|
|
64
|
-
"div",
|
|
65
|
-
"section",
|
|
66
|
-
"article",
|
|
67
|
-
"aside"
|
|
68
|
-
]),
|
|
122
|
+
}, false, "as"),
|
|
69
123
|
padding: checkedProp(props["padding"], {
|
|
70
124
|
kind: "terminal",
|
|
71
125
|
name: "keyword"
|
|
72
|
-
}, false, "padding",
|
|
73
|
-
"sm",
|
|
74
|
-
"md",
|
|
75
|
-
"lg"
|
|
76
|
-
]),
|
|
126
|
+
}, false, "padding"),
|
|
77
127
|
tone: checkedProp(props["tone"], {
|
|
78
128
|
kind: "terminal",
|
|
79
129
|
name: "keyword"
|
|
80
|
-
}, false, "tone"
|
|
130
|
+
}, false, "tone"),
|
|
81
131
|
variant: checkedProp(props["variant"], {
|
|
82
132
|
kind: "terminal",
|
|
83
133
|
name: "keyword"
|
|
84
|
-
}, false, "variant"
|
|
85
|
-
"outlined",
|
|
86
|
-
"subtle",
|
|
87
|
-
"elevated"
|
|
88
|
-
])
|
|
134
|
+
}, false, "variant")
|
|
89
135
|
}));
|
|
90
136
|
checkedProps.value;
|
|
91
137
|
watchSyncEffect(() => {
|
|
@@ -124,7 +170,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
124
170
|
checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`
|
|
125
171
|
].filter(Boolean).join(" "));
|
|
126
172
|
return (_ctx, _cache) => {
|
|
127
|
-
return checkedProps.value.as === "section" ? (openBlock(), createElementBlock("section", mergeProps({
|
|
173
|
+
return checkedProps.value.as === "section" ? withDirectives((openBlock(), createElementBlock("section", mergeProps({
|
|
128
174
|
key: 0,
|
|
129
175
|
"data-component": "ui-card"
|
|
130
176
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -134,7 +180,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
134
180
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
135
181
|
"data-ui-card-state": hostState.value || void 0,
|
|
136
182
|
ref: "@html-next/root"
|
|
137
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1))
|
|
183
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
184
|
+
contract: propValidityContract,
|
|
185
|
+
values: { ...checkedProps.value }
|
|
186
|
+
}]]) : checkedProps.value.as === "article" ? withDirectives((openBlock(), createElementBlock("article", mergeProps({
|
|
138
187
|
key: 1,
|
|
139
188
|
"data-component": "ui-card"
|
|
140
189
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -144,7 +193,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
144
193
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
145
194
|
"data-ui-card-state": hostState.value || void 0,
|
|
146
195
|
ref: "@html-next/root"
|
|
147
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_2))
|
|
196
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_2)), [[unref(vPropValidity), {
|
|
197
|
+
contract: propValidityContract,
|
|
198
|
+
values: { ...checkedProps.value }
|
|
199
|
+
}]]) : checkedProps.value.as === "aside" ? withDirectives((openBlock(), createElementBlock("aside", mergeProps({
|
|
148
200
|
key: 2,
|
|
149
201
|
"data-component": "ui-card"
|
|
150
202
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -154,7 +206,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
154
206
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
155
207
|
"data-ui-card-state": hostState.value || void 0,
|
|
156
208
|
ref: "@html-next/root"
|
|
157
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3))
|
|
209
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3)), [[unref(vPropValidity), {
|
|
210
|
+
contract: propValidityContract,
|
|
211
|
+
values: { ...checkedProps.value }
|
|
212
|
+
}]]) : withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
158
213
|
key: 3,
|
|
159
214
|
"data-component": "ui-card"
|
|
160
215
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -164,9 +219,12 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
164
219
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
165
220
|
"data-ui-card-state": hostState.value || void 0,
|
|
166
221
|
ref: "@html-next/root"
|
|
167
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_4))
|
|
222
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_4)), [[unref(vPropValidity), {
|
|
223
|
+
contract: propValidityContract,
|
|
224
|
+
values: { ...checkedProps.value }
|
|
225
|
+
}]]);
|
|
168
226
|
};
|
|
169
227
|
}
|
|
170
|
-
}), [["__scopeId", "data-v-
|
|
228
|
+
}), [["__scopeId", "data-v-78ea0ceb"]]);
|
|
171
229
|
//#endregion
|
|
172
230
|
export { UiCard_default as t };
|