@threadlabs/looma 0.22.9 → 0.22.10
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.js +2 -2
- package/components/ui-avatar/ui-avatar.js +5 -5
- package/components/ui-avatar-group/ui-avatar-group.js +5 -5
- package/components/ui-button/ui-button.js +1 -1
- package/components/ui-checkbox/ui-checkbox.js +5 -5
- package/components/ui-combobox/ui-combobox.js +61 -61
- package/components/ui-context-menu/ui-context-menu.js +6 -6
- package/components/ui-dialog/ui-dialog.js +9 -9
- package/components/ui-disclosure/ui-disclosure.js +6 -6
- package/components/ui-editable/ui-editable.js +6 -6
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +4 -4
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +8 -8
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -6
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +5 -5
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +4 -4
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +5 -5
- package/components/ui-form-field/ui-form-field.js +4 -4
- package/components/ui-icon-button/ui-icon-button.js +2 -2
- package/components/ui-input/ui-input.js +1 -1
- package/components/ui-input-group/ui-input-group.js +1 -1
- package/components/ui-listbox/ui-listbox.js +12 -12
- package/components/ui-menu/ui-menu.js +7 -7
- package/components/ui-menu-item/ui-menu-item.js +7 -7
- package/components/ui-popover/ui-popover.js +4 -4
- package/components/ui-radio/ui-radio.js +5 -5
- package/components/ui-radio-group/ui-radio-group.js +6 -6
- package/components/ui-scroll-area/ui-scroll-area.js +1 -1
- package/components/ui-search-shell/ui-search-shell.js +6 -6
- package/components/ui-select/ui-select.js +1 -1
- package/components/ui-sidebar/ui-sidebar.js +12 -12
- package/components/ui-switch/ui-switch.js +5 -5
- package/components/ui-switcher/ui-switcher.js +1 -1
- package/components/ui-tabs/ui-tabs.js +5 -5
- package/components/ui-textarea/ui-textarea.js +1 -1
- package/components/ui-toast/ui-toast.js +3 -3
- package/components/ui-toast-region/ui-toast-region.js +1 -1
- package/components/ui-tooltip/ui-tooltip.js +9 -9
- package/components/ui-tree/ui-tree.js +4 -4
- package/components/ui-tree-item/ui-tree-item.js +11 -11
- 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 +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- 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 +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- 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 +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +17 -4
- package/vue/UiAvatar.vue +38 -5
- package/vue/UiAvatarGroup.vue +32 -5
- package/vue/UiBadge.vue +13 -3
- package/vue/UiBreadcrumbItem.vue +5 -3
- package/vue/UiBreadcrumbs.vue +5 -3
- package/vue/UiButton.vue +72 -7
- package/vue/UiCallout.vue +5 -3
- package/vue/UiCard.vue +16 -6
- package/vue/UiCheckbox.vue +41 -4
- package/vue/UiCluster.vue +8 -3
- package/vue/UiCombobox.vue +98 -6
- package/vue/UiContainer.vue +6 -3
- package/vue/UiContextMenu.vue +17 -4
- package/vue/UiCover.vue +5 -3
- package/vue/UiDescriptionItem.vue +5 -3
- package/vue/UiDescriptionList.vue +11 -3
- package/vue/UiDialog.vue +38 -5
- package/vue/UiDisclosure.vue +28 -4
- package/vue/UiEditable.vue +50 -4
- package/vue/UiEditorInsertTableGrid.vue +24 -4
- package/vue/UiEditorMentionMenu.vue +41 -4
- package/vue/UiEditorMentionMenuItem.vue +7 -3
- package/vue/UiEditorSlashMenu.vue +28 -4
- package/vue/UiEditorSlashMenuGroup.vue +5 -3
- package/vue/UiEditorSlashMenuItem.vue +15 -3
- package/vue/UiEditorTableContextMenu.vue +28 -4
- package/vue/UiEditorTableOverlay.vue +17 -4
- package/vue/UiEditorTableToolbar.vue +28 -4
- package/vue/UiEditorToolbar.vue +16 -4
- package/vue/UiFloatingActionButton.vue +7 -3
- package/vue/UiFormField.vue +18 -4
- package/vue/UiGrid.vue +7 -3
- package/vue/UiIcon.vue +5 -3
- package/vue/UiIconButton.vue +47 -5
- package/vue/UiInput.vue +90 -37
- package/vue/UiInputGroup.vue +16 -4
- package/vue/UiList.vue +20 -7
- package/vue/UiListItem.vue +6 -3
- package/vue/UiListbox.vue +38 -5
- package/vue/UiMenu.vue +28 -4
- package/vue/UiMenuGroup.vue +5 -3
- package/vue/UiMenuItem.vue +27 -5
- package/vue/UiMeter.vue +19 -3
- package/vue/UiNavItem.vue +28 -6
- package/vue/UiPageHeader.vue +5 -3
- package/vue/UiPopover.vue +18 -5
- package/vue/UiRadio.vue +28 -4
- package/vue/UiRadioGroup.vue +30 -4
- package/vue/UiReel.vue +7 -3
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.d.ts +1 -1
- package/vue/UiSearchResultRow.vue +6 -3
- package/vue/UiSearchShell.vue +24 -4
- package/vue/UiSection.vue +7 -3
- package/vue/UiSelect.vue +33 -5
- package/vue/UiSeparator.vue +5 -3
- package/vue/UiSidebar.vue +44 -4
- package/vue/UiSpinner.vue +6 -3
- package/vue/UiStack.vue +7 -3
- package/vue/UiStatusMessage.vue +7 -3
- package/vue/UiSwitch.vue +28 -4
- package/vue/UiSwitcher.vue +30 -5
- package/vue/UiTable.vue +17 -4
- package/vue/UiTabs.vue +28 -4
- package/vue/UiText.vue +29 -15
- package/vue/UiTextarea.vue +39 -5
- package/vue/UiToast.vue +17 -4
- package/vue/UiToastRegion.vue +17 -5
- package/vue/UiTooltip.vue +30 -5
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +28 -4
- package/vue/UiTreeItem.d.ts +1 -1
- package/vue/UiTreeItem.vue +59 -4
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +19 -5
- package/vue/chunks/UiAvatar.js +40 -11
- package/vue/chunks/UiAvatarGroup.js +31 -8
- package/vue/chunks/UiBadge.js +13 -7
- package/vue/chunks/UiBreadcrumbItem.js +5 -4
- package/vue/chunks/UiBreadcrumbs.js +5 -4
- package/vue/chunks/UiButton.js +60 -19
- package/vue/chunks/UiCallout.js +5 -4
- package/vue/chunks/UiCard.js +16 -10
- package/vue/chunks/UiCheckbox.js +40 -11
- package/vue/chunks/UiCluster.js +13 -7
- package/vue/chunks/UiCombobox.js +85 -26
- package/vue/chunks/UiContainer.js +9 -5
- package/vue/chunks/UiContextMenu.js +19 -5
- package/vue/chunks/UiCover.js +5 -4
- package/vue/chunks/UiDescriptionItem.js +5 -4
- package/vue/chunks/UiDescriptionList.js +11 -6
- package/vue/chunks/UiDialog.js +40 -11
- package/vue/chunks/UiDisclosure.js +34 -9
- package/vue/chunks/UiEditable.js +49 -14
- package/vue/chunks/UiEditorInsertTableGrid.js +28 -7
- package/vue/chunks/UiEditorMentionMenu.js +40 -11
- package/vue/chunks/UiEditorMentionMenuItem.js +11 -6
- package/vue/chunks/UiEditorSlashMenu.js +34 -9
- package/vue/chunks/UiEditorSlashMenuGroup.js +5 -4
- package/vue/chunks/UiEditorSlashMenuItem.js +15 -8
- package/vue/chunks/UiEditorTableContextMenu.js +34 -9
- package/vue/chunks/UiEditorTableOverlay.js +19 -5
- package/vue/chunks/UiEditorTableToolbar.js +34 -9
- package/vue/chunks/UiEditorToolbar.js +15 -4
- package/vue/chunks/UiFloatingActionButton.js +11 -6
- package/vue/chunks/UiFormField.js +26 -7
- package/vue/chunks/UiGrid.js +11 -6
- package/vue/chunks/UiIcon.js +5 -4
- package/vue/chunks/UiIconButton.js +41 -12
- package/vue/chunks/UiInput.js +53 -14
- package/vue/chunks/UiInputGroup.js +16 -5
- package/vue/chunks/UiList.js +14 -8
- package/vue/chunks/UiListItem.js +9 -5
- package/vue/chunks/UiListbox.js +40 -11
- package/vue/chunks/UiMenu.js +34 -9
- package/vue/chunks/UiMenuGroup.js +5 -4
- package/vue/chunks/UiMenuItem.js +32 -9
- package/vue/chunks/UiMeter.js +19 -10
- package/vue/chunks/UiNavItem.js +16 -9
- package/vue/chunks/UiPageHeader.js +5 -4
- package/vue/chunks/UiPopover.js +25 -6
- package/vue/chunks/UiRadio.js +34 -9
- package/vue/chunks/UiRadioGroup.js +37 -10
- package/vue/chunks/UiReel.js +11 -6
- package/vue/chunks/UiScrollArea.js +15 -4
- package/vue/chunks/UiSearchResultRow.js +9 -5
- package/vue/chunks/UiSearchShell.js +28 -7
- package/vue/chunks/UiSection.js +11 -6
- package/vue/chunks/UiSelect.js +33 -10
- package/vue/chunks/UiSeparator.js +5 -4
- package/vue/chunks/UiSidebar.js +43 -12
- package/vue/chunks/UiSpinner.js +9 -5
- package/vue/chunks/UiStack.js +11 -6
- package/vue/chunks/UiStatusMessage.js +11 -6
- package/vue/chunks/UiSwitch.js +34 -9
- package/vue/chunks/UiSwitcher.js +28 -7
- package/vue/chunks/UiTable.js +20 -6
- package/vue/chunks/UiTabs.js +34 -9
- package/vue/chunks/UiText.js +29 -20
- package/vue/chunks/UiTextarea.js +42 -13
- package/vue/chunks/UiToast.js +19 -5
- package/vue/chunks/UiToastRegion.js +19 -5
- package/vue/chunks/UiTooltip.js +37 -10
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +35 -10
- package/vue/chunks/UiTreeItem.js +58 -17
- package/vue/chunks/host.js +22 -4
- package/vue/chunks/props.js +20 -7
- package/vue/components.css +1205 -1205
- package/vue/host.ts +50 -6
package/vanilla/UiSwitch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiSwitchEventMap {
|
|
3
3
|
change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiSwitch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-switch/ui-switch.js";
|
|
4
4
|
import "../styles/ui-switch.css";
|
package/vanilla/UiSwitcher.d.ts
CHANGED
package/vanilla/UiSwitcher.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-switcher/ui-switcher.js";
|
|
4
4
|
import "../styles/ui-switcher.css";
|
package/vanilla/UiTable.d.ts
CHANGED
package/vanilla/UiTable.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-table/ui-table.js";
|
|
4
4
|
import "../styles/ui-table.css";
|
package/vanilla/UiTabs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTabsEventMap {
|
|
3
3
|
select: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiTabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-tabs/ui-tabs.js";
|
|
4
4
|
import "../styles/ui-tabs.css";
|
package/vanilla/UiText.d.ts
CHANGED
package/vanilla/UiText.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { componentRootIndex, manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import "../styles/ui-text.css";
|
|
4
4
|
|
package/vanilla/UiTextarea.d.ts
CHANGED
package/vanilla/UiTextarea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-textarea/ui-textarea.js";
|
|
4
4
|
import "../styles/ui-textarea.css";
|
package/vanilla/UiToast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiToast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast/ui-toast.js";
|
|
4
4
|
import "../styles/ui-toast.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastRegionEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiToastRegion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast-region/ui-toast-region.js";
|
|
4
4
|
import "../styles/ui-toast-region.css";
|
package/vanilla/UiTooltip.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTooltipEventMap {
|
|
3
3
|
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-tooltip/ui-tooltip.js";
|
|
4
4
|
import "../styles/ui-tooltip.css";
|
package/vanilla/UiTopBar.d.ts
CHANGED
package/vanilla/UiTopBar.js
CHANGED
package/vanilla/UiTree.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeEventMap {
|
|
3
3
|
reorder: CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly sourceType: string; readonly targetType: string; readonly sourceScope: string; readonly targetScope: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
"reorder-rejected": CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly reason: "max-depth"; readonly maxDepth: number; readonly resultingDepth: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree/ui-tree.js";
|
|
4
4
|
import "../styles/ui-tree.css";
|
package/vanilla/UiTreeItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeItemEventMap {
|
|
3
3
|
expand: CustomEvent<{ readonly id: string; readonly expanded: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiTreeItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.19 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree-item/ui-tree-item.js";
|
|
4
4
|
import "../styles/ui-tree-item.css";
|
package/vue/UiActionBar.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
|
|
8
8
|
defineOptions({ inheritAttrs: false })
|
|
9
9
|
|
|
@@ -26,23 +26,26 @@ const propValidityContract = {
|
|
|
26
26
|
default: 16,
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
-
}
|
|
29
|
+
} as const
|
|
30
30
|
const props = defineProps({
|
|
31
31
|
guide: { type: null as unknown as PropType<'dot' | 'none' | null>, default: 'dot' },
|
|
32
32
|
nearRadius: { type: null as unknown as PropType<number | null>, default: 16 },
|
|
33
33
|
})
|
|
34
|
+
const acceptedProps: Record<string, unknown> = { guide: 'dot', nearRadius: 16 }
|
|
34
35
|
const checkedProps = computed(() => ({
|
|
35
36
|
guide: checkedProp<'dot' | 'none'>(
|
|
36
37
|
props['guide'],
|
|
37
38
|
{ kind: 'terminal', name: 'keyword' },
|
|
38
39
|
false,
|
|
39
40
|
'guide',
|
|
41
|
+
acceptedProps,
|
|
40
42
|
) as 'dot' | 'none',
|
|
41
43
|
nearRadius: checkedProp<number>(
|
|
42
44
|
props['nearRadius'],
|
|
43
45
|
{ kind: 'terminal', name: 'number' },
|
|
44
46
|
false,
|
|
45
47
|
'nearRadius',
|
|
48
|
+
acceptedProps,
|
|
46
49
|
) as number,
|
|
47
50
|
}))
|
|
48
51
|
void checkedProps.value
|
|
@@ -122,6 +125,16 @@ useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-s
|
|
|
122
125
|
definition: './components/ui-affordance-scope/ui-affordance-scope.html',
|
|
123
126
|
},
|
|
124
127
|
props: checkedProps,
|
|
128
|
+
propInputs: (name: string) => {
|
|
129
|
+
const incoming = hydrationInstance?.vnode.props
|
|
130
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
131
|
+
return incoming !== null && incoming !== undefined
|
|
132
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
133
|
+
: null
|
|
134
|
+
},
|
|
135
|
+
propNames: ['guide', 'nearRadius'],
|
|
136
|
+
propValidity: (name: string) =>
|
|
137
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
125
138
|
state: { engaged },
|
|
126
139
|
})
|
|
127
140
|
</script>
|
|
@@ -130,7 +143,7 @@ useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-s
|
|
|
130
143
|
<span
|
|
131
144
|
data-component="ui-affordance-scope"
|
|
132
145
|
v-bind="nativeAttrs($attrs)"
|
|
133
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
146
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
134
147
|
:data-guide="reflectedProp('guide', 'guide', checkedProps.guide, undefined, false)"
|
|
135
148
|
:data-near-radius="reflectedProp('nearRadius', 'near-radius', checkedProps.nearRadius, undefined, false)"
|
|
136
149
|
:data-ui-affordance-scope-state="hostState || undefined"
|
package/vue/UiAvatar.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
import UiIcon from './UiIcon.vue'
|
|
8
8
|
|
|
9
9
|
defineOptions({ inheritAttrs: false })
|
|
@@ -75,7 +75,7 @@ const propValidityContract = {
|
|
|
75
75
|
'The image to show, cropped to fill the circle. Until it loads, or if it fails, the avatar shows initials instead. An img element authored inside the avatar\n takes precedence over src.',
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
|
-
}
|
|
78
|
+
} as const
|
|
79
79
|
const props = defineProps({
|
|
80
80
|
active: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
81
81
|
alt: { type: null as unknown as PropType<string | null>, default: '' },
|
|
@@ -86,50 +86,73 @@ const props = defineProps({
|
|
|
86
86
|
size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null>, default: 'md' },
|
|
87
87
|
src: { type: null as unknown as PropType<string | null>, default: null },
|
|
88
88
|
})
|
|
89
|
+
const acceptedProps: Record<string, unknown> = {
|
|
90
|
+
active: false,
|
|
91
|
+
alt: '',
|
|
92
|
+
decorative: false,
|
|
93
|
+
fallback: '',
|
|
94
|
+
name: '',
|
|
95
|
+
shape: 'circle',
|
|
96
|
+
size: 'md',
|
|
97
|
+
src: null,
|
|
98
|
+
}
|
|
89
99
|
const checkedProps = computed(() => ({
|
|
90
100
|
active: checkedProp<boolean>(
|
|
91
101
|
props['active'],
|
|
92
102
|
{ kind: 'terminal', name: 'boolean' },
|
|
93
103
|
false,
|
|
94
104
|
'active',
|
|
105
|
+
acceptedProps,
|
|
95
106
|
) as boolean,
|
|
96
107
|
alt: checkedProp<string>(
|
|
97
108
|
props['alt'],
|
|
98
109
|
{ kind: 'terminal', name: 'string' },
|
|
99
110
|
false,
|
|
100
111
|
'alt',
|
|
112
|
+
acceptedProps,
|
|
101
113
|
) as string,
|
|
102
114
|
decorative: checkedProp<boolean>(
|
|
103
115
|
props['decorative'],
|
|
104
116
|
{ kind: 'terminal', name: 'boolean' },
|
|
105
117
|
false,
|
|
106
118
|
'decorative',
|
|
119
|
+
acceptedProps,
|
|
107
120
|
) as boolean,
|
|
108
121
|
fallback: checkedProp<string>(
|
|
109
122
|
props['fallback'],
|
|
110
123
|
{ kind: 'terminal', name: 'string' },
|
|
111
124
|
false,
|
|
112
125
|
'fallback',
|
|
126
|
+
acceptedProps,
|
|
113
127
|
) as string,
|
|
114
128
|
name: checkedProp<string>(
|
|
115
129
|
props['name'],
|
|
116
130
|
{ kind: 'terminal', name: 'string' },
|
|
117
131
|
false,
|
|
118
132
|
'name',
|
|
133
|
+
acceptedProps,
|
|
119
134
|
) as string,
|
|
120
135
|
shape: checkedProp<'circle' | 'square'>(
|
|
121
136
|
props['shape'],
|
|
122
137
|
{ kind: 'terminal', name: 'keyword' },
|
|
123
138
|
false,
|
|
124
139
|
'shape',
|
|
140
|
+
acceptedProps,
|
|
125
141
|
) as 'circle' | 'square',
|
|
126
142
|
size: checkedProp<'xs' | 'sm' | 'md'>(
|
|
127
143
|
props['size'],
|
|
128
144
|
{ kind: 'terminal', name: 'keyword' },
|
|
129
145
|
false,
|
|
130
146
|
'size',
|
|
147
|
+
acceptedProps,
|
|
131
148
|
) as 'xs' | 'sm' | 'md',
|
|
132
|
-
src: checkedProp<string>(
|
|
149
|
+
src: checkedProp<string>(
|
|
150
|
+
props['src'],
|
|
151
|
+
{ kind: 'terminal', name: 'string' },
|
|
152
|
+
false,
|
|
153
|
+
'src',
|
|
154
|
+
acceptedProps,
|
|
155
|
+
),
|
|
133
156
|
}))
|
|
134
157
|
void checkedProps.value
|
|
135
158
|
watchSyncEffect(() => {
|
|
@@ -258,6 +281,16 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
258
281
|
definition: './components/ui-avatar/ui-avatar.html',
|
|
259
282
|
},
|
|
260
283
|
props: checkedProps,
|
|
284
|
+
propInputs: (name: string) => {
|
|
285
|
+
const incoming = hydrationInstance?.vnode.props
|
|
286
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
287
|
+
return incoming !== null && incoming !== undefined
|
|
288
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
289
|
+
: null
|
|
290
|
+
},
|
|
291
|
+
propNames: ['active', 'alt', 'decorative', 'fallback', 'name', 'shape', 'size', 'src'],
|
|
292
|
+
propValidity: (name: string) =>
|
|
293
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
261
294
|
refs: { image: imageElement },
|
|
262
295
|
state: { hasImage, hasAuthoredImage, initials, showGlyph },
|
|
263
296
|
})
|
|
@@ -267,7 +300,7 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
267
300
|
<span
|
|
268
301
|
data-component="ui-avatar"
|
|
269
302
|
v-bind="nativeAttrs($attrs)"
|
|
270
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
303
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
271
304
|
:data-active="reflectedProp('active', 'active', checkedProps.active, undefined, false)"
|
|
272
305
|
:data-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
273
306
|
:data-decorative="reflectedProp('decorative', 'decorative', checkedProps.decorative, undefined, false)"
|
package/vue/UiAvatarGroup.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
|
|
8
8
|
defineOptions({ inheritAttrs: false })
|
|
9
9
|
|
|
@@ -50,7 +50,7 @@ const propValidityContract = {
|
|
|
50
50
|
'The true number of people when only some avatars are authored. The overflow badge counts the people beyond the visible avatars; it never counts fewer than\n the authored avatars.',
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
-
}
|
|
53
|
+
} as const
|
|
54
54
|
const props = defineProps({
|
|
55
55
|
label: { type: null as unknown as PropType<string | null>, default: 'People' },
|
|
56
56
|
max: { type: null as unknown as PropType<number | null>, default: 5 },
|
|
@@ -58,32 +58,49 @@ const props = defineProps({
|
|
|
58
58
|
size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null>, default: 'md' },
|
|
59
59
|
total: { type: null as unknown as PropType<number | null>, default: null },
|
|
60
60
|
})
|
|
61
|
+
const acceptedProps: Record<string, unknown> = {
|
|
62
|
+
label: 'People',
|
|
63
|
+
max: 5,
|
|
64
|
+
overflowLabel: '{count} more',
|
|
65
|
+
size: 'md',
|
|
66
|
+
total: null,
|
|
67
|
+
}
|
|
61
68
|
const checkedProps = computed(() => ({
|
|
62
69
|
label: checkedProp<string>(
|
|
63
70
|
props['label'],
|
|
64
71
|
{ kind: 'terminal', name: 'string' },
|
|
65
72
|
false,
|
|
66
73
|
'label',
|
|
74
|
+
acceptedProps,
|
|
67
75
|
) as string,
|
|
68
76
|
max: checkedProp<number>(
|
|
69
77
|
props['max'],
|
|
70
78
|
{ kind: 'terminal', name: 'number' },
|
|
71
79
|
false,
|
|
72
80
|
'max',
|
|
81
|
+
acceptedProps,
|
|
73
82
|
) as number,
|
|
74
83
|
overflowLabel: checkedProp<string>(
|
|
75
84
|
props['overflowLabel'],
|
|
76
85
|
{ kind: 'terminal', name: 'string' },
|
|
77
86
|
false,
|
|
78
87
|
'overflowLabel',
|
|
88
|
+
acceptedProps,
|
|
79
89
|
) as string,
|
|
80
90
|
size: checkedProp<'xs' | 'sm' | 'md'>(
|
|
81
91
|
props['size'],
|
|
82
92
|
{ kind: 'terminal', name: 'keyword' },
|
|
83
93
|
false,
|
|
84
94
|
'size',
|
|
95
|
+
acceptedProps,
|
|
85
96
|
) as 'xs' | 'sm' | 'md',
|
|
86
|
-
total: checkedProp<number>(
|
|
97
|
+
total: checkedProp<number>(
|
|
98
|
+
props['total'],
|
|
99
|
+
{ kind: 'terminal', name: 'integer' },
|
|
100
|
+
false,
|
|
101
|
+
'total',
|
|
102
|
+
acceptedProps,
|
|
103
|
+
),
|
|
87
104
|
}))
|
|
88
105
|
void checkedProps.value
|
|
89
106
|
watchSyncEffect(() => {
|
|
@@ -178,6 +195,16 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
178
195
|
definition: './components/ui-avatar-group/ui-avatar-group.html',
|
|
179
196
|
},
|
|
180
197
|
props: checkedProps,
|
|
198
|
+
propInputs: (name: string) => {
|
|
199
|
+
const incoming = hydrationInstance?.vnode.props
|
|
200
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
201
|
+
return incoming !== null && incoming !== undefined
|
|
202
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
203
|
+
: null
|
|
204
|
+
},
|
|
205
|
+
propNames: ['label', 'max', 'overflowLabel', 'size', 'total'],
|
|
206
|
+
propValidity: (name: string) =>
|
|
207
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
181
208
|
refs: { overflow: overflowElement },
|
|
182
209
|
state: { overflowCount, overflowAnnouncement },
|
|
183
210
|
})
|
|
@@ -189,7 +216,7 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
189
216
|
role="group"
|
|
190
217
|
v-bind="nativeAttrs($attrs)"
|
|
191
218
|
:aria-label="checkedProps.label ?? undefined"
|
|
192
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
219
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
193
220
|
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
194
221
|
:data-max="reflectedProp('max', 'max', checkedProps.max, undefined, false)"
|
|
195
222
|
:data-overflow-label="reflectedProp('overflowLabel', 'overflow-label', checkedProps.overflowLabel, undefined, false)"
|
package/vue/UiBadge.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -45,7 +45,7 @@ const propValidityContract = {
|
|
|
45
45
|
default: 'subtle',
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
|
-
}
|
|
48
|
+
} as const
|
|
49
49
|
const props = defineProps({
|
|
50
50
|
shape: { type: null as unknown as PropType<'pill' | 'tag' | null>, default: 'pill' },
|
|
51
51
|
size: { type: null as unknown as PropType<'xs' | 'md' | null>, default: 'md' },
|
|
@@ -60,30 +60,40 @@ const props = defineProps({
|
|
|
60
60
|
default: 'subtle',
|
|
61
61
|
},
|
|
62
62
|
})
|
|
63
|
+
const acceptedProps: Record<string, unknown> = {
|
|
64
|
+
shape: 'pill',
|
|
65
|
+
size: 'md',
|
|
66
|
+
tone: 'neutral',
|
|
67
|
+
variant: 'subtle',
|
|
68
|
+
}
|
|
63
69
|
const checkedProps = computed(() => ({
|
|
64
70
|
shape: checkedProp<'pill' | 'tag'>(
|
|
65
71
|
props['shape'],
|
|
66
72
|
{ kind: 'terminal', name: 'keyword' },
|
|
67
73
|
false,
|
|
68
74
|
'shape',
|
|
75
|
+
acceptedProps,
|
|
69
76
|
) as 'pill' | 'tag',
|
|
70
77
|
size: checkedProp<'xs' | 'md'>(
|
|
71
78
|
props['size'],
|
|
72
79
|
{ kind: 'terminal', name: 'keyword' },
|
|
73
80
|
false,
|
|
74
81
|
'size',
|
|
82
|
+
acceptedProps,
|
|
75
83
|
) as 'xs' | 'md',
|
|
76
84
|
tone: checkedProp<'neutral' | 'accent' | 'info' | 'success' | 'warning' | 'danger'>(
|
|
77
85
|
props['tone'],
|
|
78
86
|
{ kind: 'terminal', name: 'keyword' },
|
|
79
87
|
false,
|
|
80
88
|
'tone',
|
|
89
|
+
acceptedProps,
|
|
81
90
|
) as 'neutral' | 'accent' | 'info' | 'success' | 'warning' | 'danger',
|
|
82
91
|
variant: checkedProp<'solid' | 'subtle' | 'outline'>(
|
|
83
92
|
props['variant'],
|
|
84
93
|
{ kind: 'terminal', name: 'keyword' },
|
|
85
94
|
false,
|
|
86
95
|
'variant',
|
|
96
|
+
acceptedProps,
|
|
87
97
|
) as 'solid' | 'subtle' | 'outline',
|
|
88
98
|
}))
|
|
89
99
|
void checkedProps.value
|
|
@@ -158,7 +168,7 @@ const hostState = computed(() =>
|
|
|
158
168
|
<span
|
|
159
169
|
data-component="ui-badge"
|
|
160
170
|
v-bind="nativeAttrs($attrs)"
|
|
161
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
171
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
162
172
|
:data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
|
|
163
173
|
:data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
164
174
|
:data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
|
package/vue/UiBreadcrumbItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -18,16 +18,18 @@ const propValidityContract = {
|
|
|
18
18
|
default: false,
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
|
-
}
|
|
21
|
+
} as const
|
|
22
22
|
const props = defineProps({
|
|
23
23
|
current: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
24
24
|
})
|
|
25
|
+
const acceptedProps: Record<string, unknown> = { current: false }
|
|
25
26
|
const checkedProps = computed(() => ({
|
|
26
27
|
current: checkedProp<boolean>(
|
|
27
28
|
props['current'],
|
|
28
29
|
{ kind: 'terminal', name: 'boolean' },
|
|
29
30
|
false,
|
|
30
31
|
'current',
|
|
32
|
+
acceptedProps,
|
|
31
33
|
) as boolean,
|
|
32
34
|
}))
|
|
33
35
|
void checkedProps.value
|
|
@@ -118,7 +120,7 @@ function attribute(value: unknown): any {
|
|
|
118
120
|
: attribute(
|
|
119
121
|
(({ true: 'page', false: null }) as Record<string, any>)[`${checkedProps.current ?? ''}`],
|
|
120
122
|
)"
|
|
121
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
123
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
122
124
|
:data-current="reflectedProp('current', 'current', checkedProps.current, undefined, false)"
|
|
123
125
|
:data-ui-breadcrumb-item-state="hostState || undefined"
|
|
124
126
|
>
|
package/vue/UiBreadcrumbs.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -16,16 +16,18 @@ const propValidityContract = {
|
|
|
16
16
|
default: 'Breadcrumb',
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
|
-
}
|
|
19
|
+
} as const
|
|
20
20
|
const props = defineProps({
|
|
21
21
|
label: { type: null as unknown as PropType<string | null>, default: 'Breadcrumb' },
|
|
22
22
|
})
|
|
23
|
+
const acceptedProps: Record<string, unknown> = { label: 'Breadcrumb' }
|
|
23
24
|
const checkedProps = computed(() => ({
|
|
24
25
|
label: checkedProp<string>(
|
|
25
26
|
props['label'],
|
|
26
27
|
{ kind: 'terminal', name: 'string' },
|
|
27
28
|
false,
|
|
28
29
|
'label',
|
|
30
|
+
acceptedProps,
|
|
29
31
|
) as string,
|
|
30
32
|
}))
|
|
31
33
|
void checkedProps.value
|
|
@@ -89,7 +91,7 @@ if (
|
|
|
89
91
|
data-component="ui-breadcrumbs"
|
|
90
92
|
v-bind="nativeAttrs($attrs)"
|
|
91
93
|
:aria-label="checkedProps.label ?? undefined"
|
|
92
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
94
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
93
95
|
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
94
96
|
>
|
|
95
97
|
<ol role="list"><slot /></ol>
|