@threadlabs/looma 0.29.17 → 0.30.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-combobox/ui-combobox.html +47 -2
- package/components/ui-combobox/ui-combobox.js +2 -1
- package/components/ui-cover/ui-cover.html +2 -5
- package/components/ui-editor-link-card/ui-editor-link-card.html +5 -5
- package/components/ui-form-field/ui-form-field.html +1 -1
- package/components/ui-icon/ui-icon.html +10 -0
- package/components/ui-reel/ui-reel.html +7 -10
- package/components/ui-switcher/ui-switcher.html +17 -22
- package/components/ui-tooltip/ui-tooltip.js +2 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +3 -6
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +9 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +8 -11
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +23 -28
- 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 +10 -1
- package/vanilla/UiActionBar.js +3 -2
- package/vanilla/UiAffordanceScope.d.ts +10 -1
- package/vanilla/UiAffordanceScope.js +3 -2
- package/vanilla/UiAvatar.d.ts +10 -1
- package/vanilla/UiAvatar.js +3 -2
- package/vanilla/UiAvatarGroup.d.ts +10 -1
- package/vanilla/UiAvatarGroup.js +3 -2
- package/vanilla/UiBadge.d.ts +10 -1
- package/vanilla/UiBadge.js +3 -2
- package/vanilla/UiBreadcrumbItem.d.ts +10 -1
- package/vanilla/UiBreadcrumbItem.js +3 -2
- package/vanilla/UiBreadcrumbs.d.ts +10 -1
- package/vanilla/UiBreadcrumbs.js +3 -2
- package/vanilla/UiButton.d.ts +10 -1
- package/vanilla/UiButton.js +3 -2
- package/vanilla/UiCallout.d.ts +10 -1
- package/vanilla/UiCallout.js +3 -2
- package/vanilla/UiCard.d.ts +10 -1
- package/vanilla/UiCard.js +3 -2
- package/vanilla/UiCheckbox.d.ts +10 -1
- package/vanilla/UiCheckbox.js +3 -2
- package/vanilla/UiCluster.d.ts +10 -1
- package/vanilla/UiCluster.js +3 -2
- package/vanilla/UiCombobox.d.ts +14 -1
- package/vanilla/UiCombobox.js +34 -11
- package/vanilla/UiContainer.d.ts +10 -1
- package/vanilla/UiContainer.js +3 -2
- package/vanilla/UiContextMenu.d.ts +10 -1
- package/vanilla/UiContextMenu.js +3 -2
- package/vanilla/UiCover.d.ts +10 -1
- package/vanilla/UiCover.js +3 -2
- package/vanilla/UiDescriptionItem.d.ts +10 -1
- package/vanilla/UiDescriptionItem.js +3 -2
- package/vanilla/UiDescriptionList.d.ts +10 -1
- package/vanilla/UiDescriptionList.js +3 -2
- package/vanilla/UiDialog.d.ts +10 -1
- package/vanilla/UiDialog.js +3 -2
- package/vanilla/UiDisclosure.d.ts +10 -1
- package/vanilla/UiDisclosure.js +3 -2
- package/vanilla/UiEditable.d.ts +10 -1
- package/vanilla/UiEditable.js +3 -2
- package/vanilla/UiEditorBlockActions.d.ts +10 -1
- package/vanilla/UiEditorBlockActions.js +3 -2
- package/vanilla/UiEditorChipEditor.d.ts +10 -1
- package/vanilla/UiEditorChipEditor.js +3 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +10 -1
- package/vanilla/UiEditorCodeLanguage.js +3 -2
- package/vanilla/UiEditorImageToolbar.d.ts +10 -1
- package/vanilla/UiEditorImageToolbar.js +3 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +10 -1
- package/vanilla/UiEditorInsertTableGrid.js +3 -2
- package/vanilla/UiEditorLinkCard.d.ts +10 -1
- package/vanilla/UiEditorLinkCard.js +6 -5
- package/vanilla/UiEditorLinkForm.d.ts +10 -1
- package/vanilla/UiEditorLinkForm.js +3 -2
- package/vanilla/UiEditorMentionMenu.d.ts +10 -1
- package/vanilla/UiEditorMentionMenu.js +3 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +10 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -2
- package/vanilla/UiEditorSlashMenu.d.ts +10 -1
- package/vanilla/UiEditorSlashMenu.js +3 -2
- package/vanilla/UiEditorSlashMenuGroup.d.ts +10 -1
- package/vanilla/UiEditorSlashMenuGroup.js +3 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +10 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -2
- package/vanilla/UiEditorSurface.d.ts +10 -1
- package/vanilla/UiEditorSurface.js +3 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +10 -1
- package/vanilla/UiEditorTableContextMenu.js +3 -2
- package/vanilla/UiEditorTableOverlay.d.ts +10 -1
- package/vanilla/UiEditorTableOverlay.js +3 -2
- package/vanilla/UiEditorTableToolbar.d.ts +10 -1
- package/vanilla/UiEditorTableToolbar.js +3 -2
- package/vanilla/UiEditorToolbar.d.ts +10 -1
- package/vanilla/UiEditorToolbar.js +3 -2
- package/vanilla/UiFloatingActionButton.d.ts +10 -1
- package/vanilla/UiFloatingActionButton.js +3 -2
- package/vanilla/UiFormField.d.ts +10 -1
- package/vanilla/UiFormField.js +4 -3
- package/vanilla/UiGrid.d.ts +10 -1
- package/vanilla/UiGrid.js +3 -2
- package/vanilla/UiIcon.d.ts +11 -1
- package/vanilla/UiIcon.js +11 -5
- package/vanilla/UiIconButton.d.ts +10 -1
- package/vanilla/UiIconButton.js +3 -2
- package/vanilla/UiImage.d.ts +10 -1
- package/vanilla/UiImage.js +3 -2
- package/vanilla/UiInput.d.ts +10 -1
- package/vanilla/UiInput.js +3 -2
- package/vanilla/UiInputGroup.d.ts +10 -1
- package/vanilla/UiInputGroup.js +3 -2
- package/vanilla/UiList.d.ts +10 -1
- package/vanilla/UiList.js +3 -2
- package/vanilla/UiListItem.d.ts +10 -1
- package/vanilla/UiListItem.js +3 -2
- package/vanilla/UiListbox.d.ts +10 -1
- package/vanilla/UiListbox.js +3 -2
- package/vanilla/UiMenu.d.ts +10 -1
- package/vanilla/UiMenu.js +3 -2
- package/vanilla/UiMenuGroup.d.ts +10 -1
- package/vanilla/UiMenuGroup.js +3 -2
- package/vanilla/UiMenuItem.d.ts +10 -1
- package/vanilla/UiMenuItem.js +3 -2
- package/vanilla/UiMeter.d.ts +10 -1
- package/vanilla/UiMeter.js +3 -2
- package/vanilla/UiNavItem.d.ts +10 -1
- package/vanilla/UiNavItem.js +3 -2
- package/vanilla/UiPageHeader.d.ts +10 -1
- package/vanilla/UiPageHeader.js +3 -2
- package/vanilla/UiPopover.d.ts +10 -1
- package/vanilla/UiPopover.js +3 -2
- package/vanilla/UiRadio.d.ts +10 -1
- package/vanilla/UiRadio.js +3 -2
- package/vanilla/UiRadioGroup.d.ts +10 -1
- package/vanilla/UiRadioGroup.js +3 -2
- package/vanilla/UiReel.d.ts +10 -1
- package/vanilla/UiReel.js +3 -2
- package/vanilla/UiScrollArea.d.ts +10 -1
- package/vanilla/UiScrollArea.js +3 -2
- package/vanilla/UiSearchResultRow.d.ts +10 -1
- package/vanilla/UiSearchResultRow.js +3 -2
- package/vanilla/UiSearchShell.d.ts +10 -1
- package/vanilla/UiSearchShell.js +3 -2
- package/vanilla/UiSection.d.ts +10 -1
- package/vanilla/UiSection.js +3 -2
- package/vanilla/UiSelect.d.ts +10 -1
- package/vanilla/UiSelect.js +3 -2
- package/vanilla/UiSeparator.d.ts +10 -1
- package/vanilla/UiSeparator.js +3 -2
- package/vanilla/UiSidebar.d.ts +10 -1
- package/vanilla/UiSidebar.js +3 -2
- package/vanilla/UiSpinner.d.ts +10 -1
- package/vanilla/UiSpinner.js +3 -2
- package/vanilla/UiStack.d.ts +10 -1
- package/vanilla/UiStack.js +3 -2
- package/vanilla/UiStatusMessage.d.ts +10 -1
- package/vanilla/UiStatusMessage.js +3 -2
- package/vanilla/UiSwatch.d.ts +10 -1
- package/vanilla/UiSwatch.js +3 -2
- package/vanilla/UiSwitch.d.ts +10 -1
- package/vanilla/UiSwitch.js +3 -2
- package/vanilla/UiSwitcher.d.ts +10 -1
- package/vanilla/UiSwitcher.js +4 -3
- package/vanilla/UiTable.d.ts +10 -1
- package/vanilla/UiTable.js +3 -2
- package/vanilla/UiTabs.d.ts +10 -1
- package/vanilla/UiTabs.js +3 -2
- package/vanilla/UiText.d.ts +10 -1
- package/vanilla/UiText.js +3 -2
- package/vanilla/UiTextarea.d.ts +10 -1
- package/vanilla/UiTextarea.js +3 -2
- package/vanilla/UiToast.d.ts +10 -1
- package/vanilla/UiToast.js +3 -2
- package/vanilla/UiToastRegion.d.ts +10 -1
- package/vanilla/UiToastRegion.js +3 -2
- package/vanilla/UiTooltip.d.ts +10 -1
- package/vanilla/UiTooltip.js +3 -2
- package/vanilla/UiTopBar.d.ts +10 -1
- package/vanilla/UiTopBar.js +3 -2
- package/vanilla/UiTree.d.ts +10 -1
- package/vanilla/UiTree.js +3 -2
- package/vanilla/UiTreeItem.d.ts +10 -1
- package/vanilla/UiTreeItem.js +3 -2
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +2 -2
- package/vue/UiAvatar.vue +2 -2
- package/vue/UiAvatarGroup.vue +2 -2
- package/vue/UiBadge.d.ts +1 -1
- package/vue/UiBadge.vue +2 -2
- package/vue/UiBreadcrumbItem.vue +2 -2
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.d.ts +1 -1
- package/vue/UiButton.vue +2 -2
- package/vue/UiCallout.vue +2 -2
- package/vue/UiCard.vue +2 -2
- package/vue/UiCheckbox.vue +2 -2
- package/vue/UiCluster.vue +2 -2
- package/vue/UiCombobox.d.ts +36 -13
- package/vue/UiCombobox.vue +130 -4
- package/vue/UiContainer.vue +2 -2
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +4 -7
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +2 -2
- package/vue/UiDialog.vue +2 -2
- package/vue/UiDisclosure.vue +2 -2
- package/vue/UiEditable.vue +2 -2
- package/vue/UiEditorBlockActions.vue +1 -1
- package/vue/UiEditorChipEditor.vue +1 -1
- package/vue/UiEditorCodeLanguage.vue +1 -1
- package/vue/UiEditorImageToolbar.vue +7 -4
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorLinkCard.vue +6 -5
- package/vue/UiEditorLinkForm.vue +45 -45
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +2 -2
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +1 -1
- package/vue/UiEditorTableToolbar.vue +1 -1
- package/vue/UiEditorToolbar.vue +2 -2
- package/vue/UiFloatingActionButton.vue +2 -2
- package/vue/UiFormField.d.ts +1 -1
- package/vue/UiFormField.vue +3 -3
- package/vue/UiGrid.vue +2 -2
- package/vue/UiIcon.d.ts +9 -0
- package/vue/UiIcon.vue +40 -2
- package/vue/UiIconButton.vue +2 -2
- package/vue/UiImage.vue +2 -2
- package/vue/UiInput.vue +2 -2
- package/vue/UiInputGroup.vue +2 -2
- package/vue/UiList.vue +2 -2
- package/vue/UiListItem.vue +2 -2
- package/vue/UiListbox.vue +1 -1
- package/vue/UiMenu.vue +2 -2
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +2 -2
- package/vue/UiMeter.vue +2 -2
- package/vue/UiNavItem.vue +2 -2
- package/vue/UiPageHeader.vue +2 -2
- package/vue/UiPopover.vue +2 -2
- package/vue/UiRadio.vue +2 -2
- package/vue/UiRadioGroup.vue +2 -2
- package/vue/UiReel.vue +9 -12
- package/vue/UiScrollArea.vue +3 -3
- package/vue/UiSearchResultRow.vue +2 -2
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +2 -2
- package/vue/UiSelect.vue +2 -2
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +2 -2
- package/vue/UiSpinner.vue +2 -2
- package/vue/UiStack.vue +2 -2
- package/vue/UiStatusMessage.vue +2 -2
- package/vue/UiSwatch.vue +2 -2
- package/vue/UiSwitch.vue +2 -2
- package/vue/UiSwitcher.vue +23 -27
- package/vue/UiTable.vue +2 -2
- package/vue/UiTabs.vue +2 -2
- package/vue/UiText.d.ts +1 -1
- package/vue/UiText.vue +2 -2
- package/vue/UiTextarea.vue +2 -2
- package/vue/UiToast.vue +2 -2
- package/vue/UiToastRegion.vue +2 -2
- package/vue/UiTooltip.vue +2 -2
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +2 -2
- package/vue/UiTreeItem.vue +2 -2
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +2 -2
- package/vue/chunks/UiAvatar.js +2 -2
- package/vue/chunks/UiAvatarGroup.js +2 -2
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +2 -2
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +2 -2
- package/vue/chunks/UiCard.js +2 -2
- package/vue/chunks/UiCheckbox.js +2 -2
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +117 -5
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +2 -2
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +2 -2
- package/vue/chunks/UiDialog.js +2 -2
- package/vue/chunks/UiDisclosure.js +3 -3
- package/vue/chunks/UiEditable.js +2 -2
- package/vue/chunks/UiEditorImageToolbar.js +3 -2
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +18 -22
- package/vue/chunks/UiEditorLinkForm.js +68 -71
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +2 -2
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +2 -2
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +2 -2
- package/vue/chunks/UiFloatingActionButton.js +2 -2
- package/vue/chunks/UiFormField.js +3 -3
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +61 -21
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +2 -2
- package/vue/chunks/UiInput.js +2 -2
- package/vue/chunks/UiInputGroup.js +2 -2
- package/vue/chunks/UiList.js +2 -2
- package/vue/chunks/UiListItem.js +2 -2
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +2 -2
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +2 -2
- package/vue/chunks/UiNavItem.js +2 -2
- package/vue/chunks/UiPageHeader.js +2 -2
- package/vue/chunks/UiPopover.js +2 -2
- package/vue/chunks/UiRadio.js +2 -2
- package/vue/chunks/UiRadioGroup.js +2 -2
- package/vue/chunks/UiReel.js +2 -2
- package/vue/chunks/UiScrollArea.js +4 -4
- package/vue/chunks/UiSearchResultRow.js +2 -2
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +2 -2
- package/vue/chunks/UiSelect.js +2 -2
- package/vue/chunks/UiSeparator.js +2 -2
- package/vue/chunks/UiSidebar.js +2 -2
- package/vue/chunks/UiSpinner.js +2 -2
- package/vue/chunks/UiStack.js +2 -2
- package/vue/chunks/UiStatusMessage.js +2 -2
- package/vue/chunks/UiSwatch.js +2 -2
- package/vue/chunks/UiSwitch.js +2 -2
- package/vue/chunks/UiSwitcher.js +2 -2
- package/vue/chunks/UiTable.js +2 -2
- package/vue/chunks/UiTabs.js +2 -2
- package/vue/chunks/UiText.js +2 -2
- package/vue/chunks/UiTextarea.js +2 -2
- package/vue/chunks/UiToast.js +2 -2
- package/vue/chunks/UiToastRegion.js +2 -2
- package/vue/chunks/UiTooltip.js +2 -2
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +2 -2
- package/vue/chunks/UiTreeItem.js +2 -2
- package/vue/chunks/_plugin-vue_export-helper.js +13 -3
- package/vue/components.css +83 -76
- package/vue/editor/index.js +211 -30
- package/vue/host.ts +9 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -393,13 +393,16 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
|
|
|
393
393
|
:open="describing"
|
|
394
394
|
ref="descriptionElement"
|
|
395
395
|
><form aria-label="Image description">
|
|
396
|
-
<UiStack gap="s"><UiFormField><
|
|
397
|
-
<UiInput
|
|
396
|
+
<UiStack gap="s"><UiFormField><UiInput
|
|
398
397
|
size="sm"
|
|
399
398
|
:id="guardedBinding19"
|
|
400
399
|
:value="draft"
|
|
401
400
|
ref="altElement"
|
|
402
|
-
|
|
401
|
+
/>
|
|
402
|
+
<template #label><label slot="label" :for="guardedBinding18"
|
|
403
|
+
>Alt text</label></template></UiFormField>{{ ' ' }}<UiText
|
|
404
|
+
size="xs"
|
|
405
|
+
tone="secondary"
|
|
403
406
|
>Describe the image for people using a screen reader.</UiText>{{ ' ' }}<UiCluster
|
|
404
407
|
justify="end"
|
|
405
408
|
gap="xs"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiEditorLinkCard.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -267,16 +267,17 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
267
267
|
:data-ui-editor-link-card-prop-target-label="reflectedProp('targetLabel', 'target-label', checkedProps.targetLabel, undefined, false)"
|
|
268
268
|
ref="root"
|
|
269
269
|
>
|
|
270
|
-
<UiCard variant="elevated" padding="xs" size="
|
|
270
|
+
<UiCard variant="elevated" padding="xs" size="sm"><UiCluster
|
|
271
271
|
gap="xs"
|
|
272
272
|
wrap="nowrap"
|
|
273
273
|
role="group"
|
|
274
274
|
aria-label="Link actions"
|
|
275
275
|
><UiIcon :name="guarded" />{{ ' ' }}<UiStack
|
|
276
276
|
gap="none"
|
|
277
|
+
:fill="true"
|
|
277
278
|
:title="checkedProps.href"
|
|
278
279
|
:aria-label="guardedBinding"
|
|
279
|
-
><UiText as="strong" size="sm" weight="medium" font="sans"
|
|
280
|
+
><UiText as="strong" size="sm" weight="medium" font="sans" :truncate="true">{{
|
|
280
281
|
text(shown)
|
|
281
282
|
}}</UiText>{{ ' ' }}<UiText
|
|
282
283
|
v-if="checkedProps.detail !== ''"
|
|
@@ -284,6 +285,7 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
284
285
|
size="xs"
|
|
285
286
|
tone="secondary"
|
|
286
287
|
font="sans"
|
|
288
|
+
:truncate="true"
|
|
287
289
|
>{{ checkedProps.detail }}</UiText></UiStack>{{ ' ' }}<template
|
|
288
290
|
v-if="checkedProps.openHref !== ''"
|
|
289
291
|
>{{ ' ' }}<UiButton
|
|
@@ -296,8 +298,7 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
296
298
|
aria-label="Open link"
|
|
297
299
|
:id="guardedBinding2"
|
|
298
300
|
:href="checkedProps.openHref"
|
|
299
|
-
><
|
|
300
|
-
link</UiCluster></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding3"
|
|
301
|
+
><UiIcon name="external-link" /></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding3"
|
|
301
302
|
>Open link</UiTooltip>{{ ' ' }}</template>{{ ' ' }}<UiIconButton
|
|
302
303
|
label="Edit link"
|
|
303
304
|
variant="ghost"
|
package/vue/UiEditorLinkForm.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -464,15 +464,10 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
464
464
|
>
|
|
465
465
|
<UiStack gap="s"><UiText as="h3" size="sm" weight="semibold">{{ text(heading) }}</UiText>{{
|
|
466
466
|
' '
|
|
467
|
-
}}<UiStack gap="s"><UiFormField :invalid="checkedProps.error !== ''"><
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
<UiInputGroup v-if="checkedProps.searchable" prefix-kind="icon"><UiIcon
|
|
472
|
-
slot="prefix"
|
|
473
|
-
:name="guardedBinding"
|
|
474
|
-
/>
|
|
475
|
-
<UiInput
|
|
467
|
+
}}<UiStack gap="s"><UiFormField :invalid="checkedProps.error !== ''"><UiInputGroup
|
|
468
|
+
v-if="checkedProps.searchable"
|
|
469
|
+
prefix-kind="icon"
|
|
470
|
+
><UiInput
|
|
476
471
|
data-link-destination=""
|
|
477
472
|
data-link-search=""
|
|
478
473
|
type="text"
|
|
@@ -482,14 +477,15 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
482
477
|
:placeholder="checkedProps.placeholder"
|
|
483
478
|
:value="checkedProps.value"
|
|
484
479
|
/>
|
|
485
|
-
<
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
480
|
+
<template #prefix><UiIcon slot="prefix" :name="guardedBinding" /></template>
|
|
481
|
+
<template #action><UiIconButton
|
|
482
|
+
v-if="checkedProps.value !== ''"
|
|
483
|
+
slot="action"
|
|
484
|
+
label="Clear search"
|
|
485
|
+
variant="ghost"
|
|
486
|
+
size="sm"
|
|
487
|
+
data-link-clear=""
|
|
488
|
+
><UiIcon name="x" /></UiIconButton></template></UiInputGroup>{{ ' ' }}<template
|
|
493
489
|
v-if="!checkedProps.searchable"
|
|
494
490
|
>{{ ' ' }}<UiInput
|
|
495
491
|
data-link-destination=""
|
|
@@ -499,7 +495,10 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
499
495
|
:id="guardedBinding3"
|
|
500
496
|
:placeholder="checkedProps.placeholder"
|
|
501
497
|
:value="checkedProps.value"
|
|
502
|
-
/>{{ ' ' }}</template
|
|
498
|
+
/>{{ ' ' }}</template>
|
|
499
|
+
<template #label><label slot="label" :for="guarded">{{
|
|
500
|
+
text(fieldLabel)
|
|
501
|
+
}}</label></template></UiFormField>{{ ' ' }}<UiScrollArea
|
|
503
502
|
v-if="checkedProps.mode === 'target'"
|
|
504
503
|
size="sm"
|
|
505
504
|
aria-label="Destination search results"
|
|
@@ -512,40 +511,41 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
|
|
|
512
511
|
data-link-result=""
|
|
513
512
|
:selected="result.id === checkedProps.selected"
|
|
514
513
|
:data-link-id="result.id"
|
|
515
|
-
><UiIcon slot="leading" name="file-text"
|
|
516
|
-
<UiText
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
<UiText
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
<UiIcon
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
514
|
+
><template #leading><UiIcon slot="leading" name="file-text" /></template>
|
|
515
|
+
<template #title><UiText
|
|
516
|
+
slot="title"
|
|
517
|
+
as="strong"
|
|
518
|
+
size="sm"
|
|
519
|
+
weight="medium"
|
|
520
|
+
:truncate="true"
|
|
521
|
+
:title="result.label"
|
|
522
|
+
>{{ result.label }}</UiText></template>
|
|
523
|
+
<template #meta><UiText
|
|
524
|
+
v-if="result.detail"
|
|
525
|
+
slot="meta"
|
|
526
|
+
as="span"
|
|
527
|
+
size="xs"
|
|
528
|
+
tone="secondary"
|
|
529
|
+
:truncate="true"
|
|
530
|
+
:title="result.detail"
|
|
531
|
+
>{{ result.detail }}</UiText></template>
|
|
532
|
+
<template #trailing><UiIcon
|
|
533
|
+
v-if="result.id === checkedProps.selected"
|
|
534
|
+
slot="trailing"
|
|
535
|
+
name="check"
|
|
536
|
+
/></template></UiSearchResultRow></KeyedBoundary></UiScrollArea>{{ ' ' }}<template
|
|
538
537
|
v-if="checkedProps.mode === 'url'"
|
|
539
538
|
>{{ ' ' }}<UiCheckbox size="sm" data-link-new-tab="" :checked="checkedProps.newTab"
|
|
540
539
|
>Open in new tab</UiCheckbox>{{ ' ' }}</template></UiStack>{{ ' ' }}<template
|
|
541
540
|
v-if="checkedProps.textEditable"
|
|
542
|
-
>{{ ' ' }}<UiFormField><
|
|
543
|
-
<UiInput
|
|
541
|
+
>{{ ' ' }}<UiFormField><UiInput
|
|
544
542
|
data-link-text=""
|
|
545
543
|
size="sm"
|
|
546
544
|
:id="guardedBinding5"
|
|
547
545
|
:value="checkedProps.text"
|
|
548
|
-
|
|
546
|
+
/>
|
|
547
|
+
<template #label><label slot="label" :for="guardedBinding4"
|
|
548
|
+
>Text</label></template></UiFormField>{{ ' ' }}</template>{{ ' ' }}<UiText
|
|
549
549
|
v-if="checkedProps.error !== ''"
|
|
550
550
|
size="sm"
|
|
551
551
|
tone="danger"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiEditorSurface.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -44,7 +44,7 @@ const reflectedProp = useReflectedProp()
|
|
|
44
44
|
|
|
45
45
|
checkHydratedRoot('div', 'ui-editor-surface')
|
|
46
46
|
|
|
47
|
-
/** The values the styles' :host()
|
|
47
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
48
48
|
const hostState = computed(() =>
|
|
49
49
|
[
|
|
50
50
|
checkedProps.value.density && 'density',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiEditorToolbar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -49,7 +49,7 @@ const root = ref<HTMLElement | null>(null)
|
|
|
49
49
|
const stripElement = useTemplateRef<HTMLElement>('stripElement')
|
|
50
50
|
checkHydratedRoot('div', 'ui-editor-toolbar')
|
|
51
51
|
|
|
52
|
-
/** The values the styles' :host()
|
|
52
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
53
53
|
const hostState = computed(() =>
|
|
54
54
|
[
|
|
55
55
|
checkedProps.value.floating && 'floating',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -72,7 +72,7 @@ const reflectedProp = useReflectedProp()
|
|
|
72
72
|
|
|
73
73
|
checkHydratedRoot('button', 'ui-floating-action-button')
|
|
74
74
|
|
|
75
|
-
/** The values the styles' :host()
|
|
75
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
76
76
|
const hostState = computed(() =>
|
|
77
77
|
[
|
|
78
78
|
checkedProps.value.mobileOnly && 'mobileOnly',
|
package/vue/UiFormField.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
label?: (props: typeof __VLS_1) => any;
|
|
5
5
|
} & {
|
|
6
|
-
|
|
6
|
+
labelAction?: (props: typeof __VLS_3) => any;
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_5) => any;
|
|
9
9
|
} & {
|
package/vue/UiFormField.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -80,7 +80,7 @@ const hydrationInstance = getCurrentInstance()
|
|
|
80
80
|
const root = ref<HTMLElement | null>(null)
|
|
81
81
|
checkHydratedRoot('div', 'ui-form-field')
|
|
82
82
|
|
|
83
|
-
/** The values the styles' :host()
|
|
83
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
84
84
|
const hostState = computed(() =>
|
|
85
85
|
[
|
|
86
86
|
checkedProps.value.invalid && 'invalid',
|
|
@@ -125,7 +125,7 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
|
|
|
125
125
|
>
|
|
126
126
|
<div class="label" data-hn-ui-form-field>
|
|
127
127
|
<slot name="label" />{{ ' ' }}<span class="label-action" data-hn-ui-form-field><slot
|
|
128
|
-
name="
|
|
128
|
+
name="labelAction"
|
|
129
129
|
/></span>
|
|
130
130
|
</div>
|
|
131
131
|
<slot />
|
package/vue/UiGrid.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -71,7 +71,7 @@ const reflectedProp = useReflectedProp()
|
|
|
71
71
|
|
|
72
72
|
checkHydratedRoot('div', 'ui-grid')
|
|
73
73
|
|
|
74
|
-
/** The values the styles' :host()
|
|
74
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
75
75
|
const hostState = computed(() =>
|
|
76
76
|
[
|
|
77
77
|
checkedProps.value.gap && 'gap',
|
package/vue/UiIcon.d.ts
CHANGED
|
@@ -4,13 +4,22 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4
4
|
type: PropType<string | null>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
+
tone: {
|
|
8
|
+
type: PropType<"inherit" | "secondary" | "muted" | null>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
7
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
12
|
name: {
|
|
9
13
|
type: PropType<string | null>;
|
|
10
14
|
default: string;
|
|
11
15
|
};
|
|
16
|
+
tone: {
|
|
17
|
+
type: PropType<"inherit" | "secondary" | "muted" | null>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
12
20
|
}>> & Readonly<{}>, {
|
|
13
21
|
name: string | null;
|
|
22
|
+
tone: "secondary" | "inherit" | "muted" | null;
|
|
14
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
24
|
declare const _default: typeof __VLS_export;
|
|
16
25
|
export default _default;
|
package/vue/UiIcon.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -24,12 +24,25 @@ const propValidityContract = {
|
|
|
24
24
|
'Which icon to draw, by its name in Looma\'s icon set (LOOMA_ICONS), such as "align-left". An unknown or empty name draws nothing. The icon is hidden from\n assistive technology, so name the control it sits in.',
|
|
25
25
|
default: '',
|
|
26
26
|
},
|
|
27
|
+
tone: {
|
|
28
|
+
type: { kind: 'terminal', name: 'keyword' },
|
|
29
|
+
required: false,
|
|
30
|
+
target: { attribute: 'tone' },
|
|
31
|
+
description:
|
|
32
|
+
'Icon colour. inherit follows its control; secondary and muted keep a supporting icon quiet without a text wrapper.',
|
|
33
|
+
values: ['inherit', 'secondary', 'muted'],
|
|
34
|
+
default: 'inherit',
|
|
35
|
+
},
|
|
27
36
|
},
|
|
28
37
|
} as const
|
|
29
38
|
const props = defineProps({
|
|
30
39
|
name: { type: null as unknown as PropType<string | null>, default: '' },
|
|
40
|
+
tone: {
|
|
41
|
+
type: null as unknown as PropType<'inherit' | 'secondary' | 'muted' | null>,
|
|
42
|
+
default: 'inherit',
|
|
43
|
+
},
|
|
31
44
|
})
|
|
32
|
-
const acceptedProps: Record<string, unknown> = { name: '' }
|
|
45
|
+
const acceptedProps: Record<string, unknown> = { name: '', tone: 'inherit' }
|
|
33
46
|
const checkedProps = computed(() => ({
|
|
34
47
|
name: checkedProp<string>(
|
|
35
48
|
props['name'],
|
|
@@ -38,6 +51,13 @@ const checkedProps = computed(() => ({
|
|
|
38
51
|
'name',
|
|
39
52
|
acceptedProps,
|
|
40
53
|
) as string,
|
|
54
|
+
tone: checkedProp<'inherit' | 'secondary' | 'muted'>(
|
|
55
|
+
props['tone'],
|
|
56
|
+
{ kind: 'terminal', name: 'keyword' },
|
|
57
|
+
false,
|
|
58
|
+
'tone',
|
|
59
|
+
acceptedProps,
|
|
60
|
+
) as 'inherit' | 'secondary' | 'muted',
|
|
41
61
|
}))
|
|
42
62
|
void checkedProps.value
|
|
43
63
|
watchSyncEffect(() => {
|
|
@@ -418,6 +438,14 @@ const shapes = cycleCheckedComputed(() =>
|
|
|
418
438
|
}) as Record<string, any>)[checkedProps.value.name]
|
|
419
439
|
)
|
|
420
440
|
checkHydratedRoot('span', 'ui-icon')
|
|
441
|
+
|
|
442
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
443
|
+
const hostState = computed(() =>
|
|
444
|
+
[
|
|
445
|
+
checkedProps.value.tone && 'tone',
|
|
446
|
+
checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`,
|
|
447
|
+
].filter(Boolean).join(' ')
|
|
448
|
+
)
|
|
421
449
|
</script>
|
|
422
450
|
|
|
423
451
|
<template>
|
|
@@ -428,6 +456,8 @@ checkHydratedRoot('span', 'ui-icon')
|
|
|
428
456
|
data-hn
|
|
429
457
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
430
458
|
:data-ui-icon-prop-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
|
|
459
|
+
:data-ui-icon-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
|
|
460
|
+
:data-ui-icon-state="hostState || undefined"
|
|
431
461
|
><svg
|
|
432
462
|
viewBox="0 0 24 24"
|
|
433
463
|
fill="none"
|
|
@@ -493,6 +523,14 @@ checkHydratedRoot('span', 'ui-icon')
|
|
|
493
523
|
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
494
524
|
}
|
|
495
525
|
|
|
526
|
+
:global(:scope[data-ui-icon-state~="tone=secondary"]) {
|
|
527
|
+
color: var(--ui-text-secondary);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
:global(:scope[data-ui-icon-state~="tone=muted"]) {
|
|
531
|
+
color: var(--ui-text-muted);
|
|
532
|
+
}
|
|
533
|
+
|
|
496
534
|
:global(svg) {
|
|
497
535
|
inline-size: 100%;
|
|
498
536
|
block-size: 100%;
|
package/vue/UiIconButton.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -280,7 +280,7 @@ const guarded = computed(() => {
|
|
|
280
280
|
})
|
|
281
281
|
checkHydratedRoot('button', 'ui-icon-button')
|
|
282
282
|
|
|
283
|
-
/** The values the styles' :host()
|
|
283
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
284
284
|
const hostState = computed(() =>
|
|
285
285
|
[
|
|
286
286
|
checkedProps.value.tone && 'tone',
|
package/vue/UiImage.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -166,7 +166,7 @@ const root = ref<HTMLElement | null>(null)
|
|
|
166
166
|
const frameElement = useTemplateRef<HTMLElement>('frameElement')
|
|
167
167
|
checkHydratedRoot('figure', 'ui-image')
|
|
168
168
|
|
|
169
|
-
/** The values the styles' :host()
|
|
169
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
170
170
|
const hostState = computed(() =>
|
|
171
171
|
[
|
|
172
172
|
checkedProps.value.placement && 'placement',
|
package/vue/UiInput.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script
|
|
3
3
|
setup
|
|
4
4
|
lang="ts"
|
|
@@ -400,7 +400,7 @@ const model = computed({
|
|
|
400
400
|
const root = ref<HTMLElement | null>(null)
|
|
401
401
|
checkHydratedRoot('input', 'ui-input')
|
|
402
402
|
|
|
403
|
-
/** The values the styles' :host()
|
|
403
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
404
404
|
const hostState = computed(() =>
|
|
405
405
|
[
|
|
406
406
|
checkedProps.value.size && 'size',
|
package/vue/UiInputGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -123,7 +123,7 @@ const hydrationInstance = getCurrentInstance()
|
|
|
123
123
|
const root = ref<HTMLElement | null>(null)
|
|
124
124
|
checkHydratedRoot('div', 'ui-input-group')
|
|
125
125
|
|
|
126
|
-
/** The values the styles' :host()
|
|
126
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
127
127
|
const hostState = computed(() =>
|
|
128
128
|
[
|
|
129
129
|
checkedProps.value.variant && 'variant',
|
package/vue/UiList.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -103,7 +103,7 @@ const root = rootArmElement
|
|
|
103
103
|
preserveRootFocus(root)
|
|
104
104
|
checkHydratedRoot((checkedProps.value.as === 'ol') ? 'ol' : ('ul'), 'ui-list')
|
|
105
105
|
|
|
106
|
-
/** The values the styles' :host()
|
|
106
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
107
107
|
const hostState = computed(() =>
|
|
108
108
|
[
|
|
109
109
|
checkedProps.value.as && 'as',
|
package/vue/UiListItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -129,7 +129,7 @@ const reflectedProp = useReflectedProp()
|
|
|
129
129
|
|
|
130
130
|
checkHydratedRoot('li', 'ui-list-item')
|
|
131
131
|
|
|
132
|
-
/** The values the styles' :host()
|
|
132
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
133
133
|
const hostState = computed(() =>
|
|
134
134
|
[
|
|
135
135
|
checkedProps.value.variant && 'variant',
|
package/vue/UiListbox.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiMenu.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -186,7 +186,7 @@ const internalOpen = ref(false)
|
|
|
186
186
|
provide('html-next:ui-menu:internalOpen', internalOpen)
|
|
187
187
|
checkHydratedRoot('div', 'ui-menu')
|
|
188
188
|
|
|
189
|
-
/** The values the styles' :host()
|
|
189
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
190
190
|
const hostState = computed(() =>
|
|
191
191
|
[
|
|
192
192
|
checkedProps.value.density && 'density',
|
package/vue/UiMenuGroup.vue
CHANGED
package/vue/UiMenuItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -187,7 +187,7 @@ checkHydratedRoot(
|
|
|
187
187
|
'ui-menu-item',
|
|
188
188
|
)
|
|
189
189
|
|
|
190
|
-
/** The values the styles' :host()
|
|
190
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
191
191
|
const hostState = computed(() =>
|
|
192
192
|
[
|
|
193
193
|
checkedProps.value.tone && 'tone',
|
package/vue/UiMeter.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -784,7 +784,7 @@ const guardedBinding7 = computed(() => {
|
|
|
784
784
|
})
|
|
785
785
|
checkHydratedRoot('span', 'ui-meter')
|
|
786
786
|
|
|
787
|
-
/** The values the styles' :host()
|
|
787
|
+
/** The values the styles' :host() and :state() rules test. */
|
|
788
788
|
const hostState = computed(() =>
|
|
789
789
|
[
|
|
790
790
|
checkedProps.value.size && 'size',
|