@threadlabs/looma 0.30.2 → 0.30.4
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 +10 -10
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -2
- package/dist/index.js +5 -4
- 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 +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-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 +1 -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 +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-swatch.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 +4 -4
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +4 -4
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +3 -3
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +6 -6
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +4 -4
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +6 -6
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +4 -4
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +4 -4
- package/vanilla/UiCombobox.d.ts +12 -12
- package/vanilla/UiCombobox.js +12 -10
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +4 -4
- package/vanilla/UiContextMenu.d.ts +2 -2
- package/vanilla/UiContextMenu.js +3 -3
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +3 -3
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +4 -4
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +4 -4
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +3 -3
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +4 -4
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +3 -3
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +4 -4
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +3 -3
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +8 -6
- package/vanilla/UiEditorLinkForm.d.ts +2 -2
- package/vanilla/UiEditorLinkForm.js +9 -7
- package/vanilla/UiEditorMentionMenu.d.ts +3 -3
- package/vanilla/UiEditorMentionMenu.js +3 -3
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +3 -3
- package/vanilla/UiEditorSlashMenu.js +3 -3
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +3 -3
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +4 -4
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +4 -4
- package/vanilla/UiEditorTableOverlay.d.ts +2 -2
- package/vanilla/UiEditorTableOverlay.js +4 -4
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +4 -4
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +3 -3
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +3 -3
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +3 -3
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +9 -7
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +4 -4
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +4 -4
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +4 -4
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +6 -6
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +4 -4
- package/vanilla/UiListbox.d.ts +2 -2
- package/vanilla/UiListbox.js +3 -3
- package/vanilla/UiMenu.d.ts +2 -2
- package/vanilla/UiMenu.js +4 -4
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +3 -3
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +6 -6
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +9 -7
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +6 -6
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +4 -4
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +4 -4
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +4 -4
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +4 -4
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +3 -3
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +4 -4
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +4 -4
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +4 -4
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +4 -4
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +4 -4
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +9 -7
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +4 -4
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +4 -4
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +4 -4
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +6 -6
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +4 -4
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +4 -4
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +4 -4
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +4 -4
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +35 -23
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.d.ts +8 -8
- package/vue/UiAffordanceScope.vue +57 -20
- package/vue/UiAvatar.d.ts +9 -27
- package/vue/UiAvatar.vue +100 -68
- package/vue/UiAvatarGroup.d.ts +9 -18
- package/vue/UiAvatarGroup.vue +73 -44
- package/vue/UiBadge.d.ts +9 -15
- package/vue/UiBadge.vue +67 -39
- package/vue/UiBreadcrumbItem.d.ts +8 -5
- package/vue/UiBreadcrumbItem.vue +45 -12
- package/vue/UiBreadcrumbs.d.ts +8 -5
- package/vue/UiBreadcrumbs.vue +45 -12
- package/vue/UiButton.d.ts +9 -45
- package/vue/UiButton.vue +148 -119
- package/vue/UiCallout.d.ts +8 -8
- package/vue/UiCallout.vue +68 -25
- package/vue/UiCard.d.ts +8 -17
- package/vue/UiCard.vue +77 -53
- package/vue/UiCheckbox.d.ts +8 -29
- package/vue/UiCheckbox.vue +118 -76
- package/vue/UiCluster.d.ts +9 -24
- package/vue/UiCluster.vue +91 -66
- package/vue/UiCombobox.d.ts +135 -219
- package/vue/UiCombobox.vue +528 -496
- package/vue/UiContainer.d.ts +8 -11
- package/vue/UiContainer.vue +61 -28
- package/vue/UiContextMenu.d.ts +10 -10
- package/vue/UiContextMenu.vue +55 -22
- package/vue/UiCover.d.ts +8 -5
- package/vue/UiCover.vue +45 -12
- package/vue/UiDescriptionItem.d.ts +8 -5
- package/vue/UiDescriptionItem.vue +40 -12
- package/vue/UiDescriptionList.d.ts +8 -11
- package/vue/UiDescriptionList.vue +61 -34
- package/vue/UiDialog.d.ts +8 -26
- package/vue/UiDialog.vue +99 -74
- package/vue/UiDisclosure.d.ts +8 -29
- package/vue/UiDisclosure.vue +118 -79
- package/vue/UiEditable.d.ts +8 -35
- package/vue/UiEditable.vue +136 -92
- package/vue/UiEditorBlockActions.d.ts +8 -8
- package/vue/UiEditorBlockActions.vue +58 -23
- package/vue/UiEditorChipEditor.d.ts +8 -8
- package/vue/UiEditorChipEditor.vue +65 -20
- package/vue/UiEditorCodeLanguage.d.ts +8 -11
- package/vue/UiEditorCodeLanguage.vue +74 -31
- package/vue/UiEditorImageToolbar.d.ts +8 -11
- package/vue/UiEditorImageToolbar.vue +175 -144
- package/vue/UiEditorInsertTableGrid.d.ts +8 -14
- package/vue/UiEditorInsertTableGrid.vue +73 -36
- package/vue/UiEditorLinkCard.d.ts +8 -17
- package/vue/UiEditorLinkCard.vue +157 -90
- package/vue/UiEditorLinkForm.d.ts +10 -44
- package/vue/UiEditorLinkForm.vue +336 -228
- package/vue/UiEditorMentionMenu.d.ts +28 -60
- package/vue/UiEditorMentionMenu.vue +166 -121
- package/vue/UiEditorMentionMenuItem.d.ts +8 -11
- package/vue/UiEditorMentionMenuItem.vue +61 -28
- package/vue/UiEditorSlashMenu.d.ts +26 -52
- package/vue/UiEditorSlashMenu.vue +141 -104
- package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
- package/vue/UiEditorSlashMenuGroup.vue +40 -12
- package/vue/UiEditorSlashMenuItem.d.ts +8 -17
- package/vue/UiEditorSlashMenuItem.vue +90 -48
- package/vue/UiEditorSurface.d.ts +8 -5
- package/vue/UiEditorSurface.vue +45 -15
- package/vue/UiEditorTableContextMenu.d.ts +8 -20
- package/vue/UiEditorTableContextMenu.vue +151 -113
- package/vue/UiEditorTableOverlay.d.ts +10 -29
- package/vue/UiEditorTableOverlay.vue +180 -153
- package/vue/UiEditorTableToolbar.d.ts +8 -20
- package/vue/UiEditorTableToolbar.vue +158 -116
- package/vue/UiEditorToolbar.d.ts +8 -5
- package/vue/UiEditorToolbar.vue +48 -12
- package/vue/UiFloatingActionButton.d.ts +8 -11
- package/vue/UiFloatingActionButton.vue +60 -28
- package/vue/UiFormField.d.ts +8 -11
- package/vue/UiFormField.vue +63 -28
- package/vue/UiGrid.d.ts +8 -11
- package/vue/UiGrid.vue +56 -28
- package/vue/UiIcon.d.ts +8 -8
- package/vue/UiIcon.vue +444 -395
- package/vue/UiIconButton.d.ts +9 -39
- package/vue/UiIconButton.vue +138 -103
- package/vue/UiImage.d.ts +8 -23
- package/vue/UiImage.vue +80 -60
- package/vue/UiInput.d.ts +4 -7
- package/vue/UiInput.vue +169 -149
- package/vue/UiInputGroup.d.ts +8 -17
- package/vue/UiInputGroup.vue +81 -47
- package/vue/UiList.d.ts +9 -15
- package/vue/UiList.vue +67 -39
- package/vue/UiListItem.d.ts +8 -20
- package/vue/UiListItem.vue +87 -52
- package/vue/UiListbox.d.ts +10 -28
- package/vue/UiListbox.vue +111 -71
- package/vue/UiMenu.d.ts +10 -25
- package/vue/UiMenu.vue +96 -65
- package/vue/UiMenuGroup.d.ts +8 -5
- package/vue/UiMenuGroup.vue +40 -12
- package/vue/UiMenuItem.d.ts +8 -20
- package/vue/UiMenuItem.vue +91 -55
- package/vue/UiMeter.d.ts +9 -33
- package/vue/UiMeter.vue +203 -148
- package/vue/UiNavItem.d.ts +9 -24
- package/vue/UiNavItem.vue +78 -63
- package/vue/UiPageHeader.d.ts +8 -5
- package/vue/UiPageHeader.vue +45 -12
- package/vue/UiPopover.d.ts +8 -14
- package/vue/UiPopover.vue +90 -58
- package/vue/UiRadio.d.ts +8 -20
- package/vue/UiRadio.vue +91 -52
- package/vue/UiRadioGroup.d.ts +8 -26
- package/vue/UiRadioGroup.vue +109 -74
- package/vue/UiReel.d.ts +8 -11
- package/vue/UiReel.vue +56 -28
- package/vue/UiScrollArea.d.ts +9 -18
- package/vue/UiScrollArea.vue +81 -53
- package/vue/UiSearchResultRow.d.ts +8 -11
- package/vue/UiSearchResultRow.vue +60 -31
- package/vue/UiSearchShell.d.ts +8 -14
- package/vue/UiSearchShell.vue +73 -36
- package/vue/UiSection.d.ts +8 -11
- package/vue/UiSection.vue +60 -31
- package/vue/UiSelect.d.ts +8 -17
- package/vue/UiSelect.vue +83 -51
- package/vue/UiSeparator.d.ts +9 -15
- package/vue/UiSeparator.vue +69 -39
- package/vue/UiSidebar.d.ts +8 -29
- package/vue/UiSidebar.vue +118 -76
- package/vue/UiSpinner.d.ts +8 -8
- package/vue/UiSpinner.vue +51 -20
- package/vue/UiStack.d.ts +9 -18
- package/vue/UiStack.vue +73 -53
- package/vue/UiStatusMessage.d.ts +8 -11
- package/vue/UiStatusMessage.vue +60 -33
- package/vue/UiSwatch.d.ts +8 -5
- package/vue/UiSwatch.vue +64 -22
- package/vue/UiSwitch.d.ts +8 -20
- package/vue/UiSwitch.vue +91 -52
- package/vue/UiSwitcher.d.ts +9 -15
- package/vue/UiSwitcher.vue +64 -39
- package/vue/UiTable.d.ts +8 -8
- package/vue/UiTable.vue +56 -23
- package/vue/UiTabs.d.ts +8 -23
- package/vue/UiTabs.vue +100 -66
- package/vue/UiText.d.ts +9 -36
- package/vue/UiText.vue +152 -109
- package/vue/UiTextarea.d.ts +8 -29
- package/vue/UiTextarea.vue +118 -83
- package/vue/UiToast.d.ts +8 -8
- package/vue/UiToast.vue +55 -20
- package/vue/UiToastRegion.d.ts +14 -14
- package/vue/UiToastRegion.vue +66 -28
- package/vue/UiTooltip.d.ts +8 -23
- package/vue/UiTooltip.vue +117 -82
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.d.ts +8 -23
- package/vue/UiTree.vue +99 -69
- package/vue/UiTreeItem.d.ts +8 -47
- package/vue/UiTreeItem.vue +178 -127
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +35 -22
- package/vue/chunks/UiAvatar.js +81 -70
- package/vue/chunks/UiAvatarGroup.js +58 -46
- package/vue/chunks/UiBadge.js +46 -38
- package/vue/chunks/UiBreadcrumbItem.js +22 -11
- package/vue/chunks/UiBreadcrumbs.js +22 -11
- package/vue/chunks/UiButton.js +115 -118
- package/vue/chunks/UiCallout.js +32 -22
- package/vue/chunks/UiCard.js +53 -46
- package/vue/chunks/UiCheckbox.js +84 -78
- package/vue/chunks/UiCluster.js +63 -62
- package/vue/chunks/UiCombobox.js +359 -382
- package/vue/chunks/UiContainer.js +35 -30
- package/vue/chunks/UiContextMenu.js +36 -23
- package/vue/chunks/UiCover.js +22 -11
- package/vue/chunks/UiDescriptionItem.js +22 -11
- package/vue/chunks/UiDescriptionList.js +38 -30
- package/vue/chunks/UiDialog.js +78 -70
- package/vue/chunks/UiDisclosure.js +87 -78
- package/vue/chunks/UiEditable.js +102 -94
- package/vue/chunks/UiEditorBlockActions.js +49 -23
- package/vue/chunks/UiEditorChipEditor.js +48 -25
- package/vue/chunks/UiEditorCodeLanguage.js +58 -41
- package/vue/chunks/UiEditorImageToolbar.js +153 -148
- package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
- package/vue/chunks/UiEditorLinkCard.js +104 -82
- package/vue/chunks/UiEditorLinkForm.js +282 -258
- package/vue/chunks/UiEditorMentionMenu.js +156 -145
- package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
- package/vue/chunks/UiEditorSlashMenu.js +141 -130
- package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
- package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
- package/vue/chunks/UiEditorSurface.js +22 -11
- package/vue/chunks/UiEditorTableContextMenu.js +98 -87
- package/vue/chunks/UiEditorTableOverlay.js +286 -308
- package/vue/chunks/UiEditorTableToolbar.js +102 -87
- package/vue/chunks/UiEditorToolbar.js +24 -11
- package/vue/chunks/UiFloatingActionButton.js +39 -30
- package/vue/chunks/UiFormField.js +41 -30
- package/vue/chunks/UiGrid.js +35 -30
- package/vue/chunks/UiIcon.js +38 -25
- package/vue/chunks/UiIconButton.js +102 -102
- package/vue/chunks/UiImage.js +67 -62
- package/vue/chunks/UiInput.js +275 -274
- package/vue/chunks/UiInputGroup.js +55 -46
- package/vue/chunks/UiList.js +46 -38
- package/vue/chunks/UiListItem.js +60 -54
- package/vue/chunks/UiListbox.js +83 -72
- package/vue/chunks/UiMenu.js +71 -63
- package/vue/chunks/UiMenuGroup.js +22 -11
- package/vue/chunks/UiMenuItem.js +63 -54
- package/vue/chunks/UiMeter.js +125 -120
- package/vue/chunks/UiNavItem.js +64 -62
- package/vue/chunks/UiPageHeader.js +22 -11
- package/vue/chunks/UiPopover.js +49 -38
- package/vue/chunks/UiRadio.js +63 -54
- package/vue/chunks/UiRadioGroup.js +77 -70
- package/vue/chunks/UiReel.js +35 -30
- package/vue/chunks/UiScrollArea.js +55 -46
- package/vue/chunks/UiSearchResultRow.js +39 -30
- package/vue/chunks/UiSearchShell.js +49 -38
- package/vue/chunks/UiSection.js +39 -30
- package/vue/chunks/UiSelect.js +57 -48
- package/vue/chunks/UiSeparator.js +46 -38
- package/vue/chunks/UiSidebar.js +88 -78
- package/vue/chunks/UiSpinner.js +32 -22
- package/vue/chunks/UiStack.js +47 -46
- package/vue/chunks/UiStatusMessage.js +39 -30
- package/vue/chunks/UiSwatch.js +28 -14
- package/vue/chunks/UiSwitch.js +63 -54
- package/vue/chunks/UiSwitcher.js +44 -38
- package/vue/chunks/UiTable.js +34 -22
- package/vue/chunks/UiTabs.js +73 -62
- package/vue/chunks/UiText.js +95 -94
- package/vue/chunks/UiTextarea.js +84 -80
- package/vue/chunks/UiToast.js +34 -22
- package/vue/chunks/UiToastRegion.js +36 -23
- package/vue/chunks/UiTooltip.js +70 -62
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +69 -62
- package/vue/chunks/UiTreeItem.js +154 -151
- package/vue/chunks/_plugin-vue_export-helper.js +185 -36
- package/vue/chunks/control.js +6 -1
- package/vue/chunks/props.js +435 -11
- package/vue/components.css +39 -39
- package/vue/editor/index.js +129 -291
- package/vue/host.ts +320 -14
- package/vue/props.d.ts +272 -0
package/vue/UiRadio.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.64 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'
|
|
@@ -11,7 +11,18 @@ import {
|
|
|
11
11
|
useReflectedProp,
|
|
12
12
|
} from './host'
|
|
13
13
|
import { acceptsControllerWrite } from './props'
|
|
14
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
BINDING_INPUTS_PROP,
|
|
16
|
+
checkedProp,
|
|
17
|
+
checkPropInput,
|
|
18
|
+
type InputBindings,
|
|
19
|
+
propValidityState,
|
|
20
|
+
READY_INPUT,
|
|
21
|
+
requireInputStatus,
|
|
22
|
+
UNRESOLVED_INPUT,
|
|
23
|
+
vPropValidity,
|
|
24
|
+
vuePropInputs,
|
|
25
|
+
} from './props'
|
|
15
26
|
|
|
16
27
|
defineOptions({ inheritAttrs: false })
|
|
17
28
|
|
|
@@ -69,12 +80,13 @@ const propValidityContract = {
|
|
|
69
80
|
},
|
|
70
81
|
} as const
|
|
71
82
|
const props = defineProps({
|
|
72
|
-
checked: { type: null as unknown as PropType<boolean | null
|
|
73
|
-
disabled: { type: null as unknown as PropType<boolean | null
|
|
74
|
-
name: { type: null as unknown as PropType<string | null
|
|
75
|
-
required: { type: null as unknown as PropType<boolean | null
|
|
76
|
-
size: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null
|
|
77
|
-
value: { type: null as unknown as PropType<string | null
|
|
83
|
+
checked: { type: null as unknown as PropType<boolean | null> },
|
|
84
|
+
disabled: { type: null as unknown as PropType<boolean | null> },
|
|
85
|
+
name: { type: null as unknown as PropType<string | null> },
|
|
86
|
+
required: { type: null as unknown as PropType<boolean | null> },
|
|
87
|
+
size: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null> },
|
|
88
|
+
value: { type: null as unknown as PropType<string | null> },
|
|
89
|
+
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
78
90
|
})
|
|
79
91
|
const acceptedProps: Record<string, unknown> = {
|
|
80
92
|
checked: false,
|
|
@@ -84,50 +96,74 @@ const acceptedProps: Record<string, unknown> = {
|
|
|
84
96
|
size: 'md',
|
|
85
97
|
value: 'on',
|
|
86
98
|
}
|
|
87
|
-
const
|
|
88
|
-
checked:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
'
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
99
|
+
const inputTracking = vuePropInputs(acceptedProps, {
|
|
100
|
+
checked: false,
|
|
101
|
+
disabled: false,
|
|
102
|
+
name: '',
|
|
103
|
+
required: false,
|
|
104
|
+
size: 'md',
|
|
105
|
+
value: 'on',
|
|
106
|
+
}, (name, value, source, values) => {
|
|
107
|
+
switch (name) {
|
|
108
|
+
case 'checked':
|
|
109
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
110
|
+
case 'disabled':
|
|
111
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
112
|
+
case 'name':
|
|
113
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
114
|
+
case 'required':
|
|
115
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
116
|
+
case 'size':
|
|
117
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
118
|
+
case 'value':
|
|
119
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
120
|
+
default:
|
|
121
|
+
return { ok: false }
|
|
122
|
+
}
|
|
123
|
+
}, () => {
|
|
124
|
+
void checkedProps.value
|
|
125
|
+
})
|
|
126
|
+
const propInputs = inputTracking.inputs
|
|
127
|
+
const checkedProps = computed(() => {
|
|
128
|
+
void inputTracking.version.value
|
|
129
|
+
return ({
|
|
130
|
+
checked: propInputs.value<boolean | null>(
|
|
131
|
+
'checked',
|
|
132
|
+
props['checked'],
|
|
133
|
+
props[BINDING_INPUTS_PROP],
|
|
134
|
+
) as boolean,
|
|
135
|
+
disabled: propInputs.value<boolean | null>(
|
|
136
|
+
'disabled',
|
|
137
|
+
props['disabled'],
|
|
138
|
+
props[BINDING_INPUTS_PROP],
|
|
139
|
+
) as boolean,
|
|
140
|
+
name: propInputs.value<string | null>(
|
|
141
|
+
'name',
|
|
142
|
+
props['name'],
|
|
143
|
+
props[BINDING_INPUTS_PROP],
|
|
144
|
+
) as string,
|
|
145
|
+
required: propInputs.value<boolean | null>(
|
|
146
|
+
'required',
|
|
147
|
+
props['required'],
|
|
148
|
+
props[BINDING_INPUTS_PROP],
|
|
149
|
+
) as boolean,
|
|
150
|
+
size: propInputs.value<'sm' | 'md' | 'lg' | null>(
|
|
151
|
+
'size',
|
|
152
|
+
props['size'],
|
|
153
|
+
props[BINDING_INPUTS_PROP],
|
|
154
|
+
) as 'sm' | 'md' | 'lg',
|
|
155
|
+
value: propInputs.value<string | null>(
|
|
156
|
+
'value',
|
|
157
|
+
props['value'],
|
|
158
|
+
props[BINDING_INPUTS_PROP],
|
|
159
|
+
) as string,
|
|
160
|
+
})
|
|
161
|
+
})
|
|
162
|
+
const inputStatus = (name: string, handlesError: boolean) => {
|
|
163
|
+
void checkedProps.value
|
|
164
|
+
void inputTracking.version.value
|
|
165
|
+
return requireInputStatus(propInputs.status(name), handlesError)
|
|
166
|
+
}
|
|
131
167
|
void checkedProps.value
|
|
132
168
|
watchSyncEffect(() => {
|
|
133
169
|
void checkedProps.value
|
|
@@ -189,11 +225,14 @@ useComponentHost(() => import('../components/ui-radio/ui-radio.js'), {
|
|
|
189
225
|
({ internalChecked: { kind: 'terminal', name: 'boolean' } } as Record<string, any>)[name],
|
|
190
226
|
keys,
|
|
191
227
|
),
|
|
228
|
+
initials: { internalChecked: false },
|
|
192
229
|
controllerSource: {
|
|
193
230
|
specifier: '../components/ui-radio/ui-radio.js',
|
|
194
231
|
definition: './components/ui-radio/ui-radio.html',
|
|
195
232
|
},
|
|
196
233
|
props: checkedProps,
|
|
234
|
+
inputs: propInputs,
|
|
235
|
+
inputTracking,
|
|
197
236
|
propInputs: (name: string) => {
|
|
198
237
|
const incoming = hydrationInstance?.vnode.props
|
|
199
238
|
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
package/vue/UiRadioGroup.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
2
3
|
declare var __VLS_1: {};
|
|
3
4
|
type __VLS_Slots = {} & {
|
|
4
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -6,35 +7,30 @@ type __VLS_Slots = {} & {
|
|
|
6
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
8
|
disabled: {
|
|
8
9
|
type: PropType<boolean | null>;
|
|
9
|
-
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
invalid: {
|
|
12
12
|
type: PropType<boolean | null>;
|
|
13
|
-
default: boolean;
|
|
14
13
|
};
|
|
15
14
|
label: {
|
|
16
15
|
type: PropType<string | null>;
|
|
17
|
-
default: string;
|
|
18
16
|
};
|
|
19
17
|
labelVisibility: {
|
|
20
18
|
type: PropType<"visible" | "sr-only" | null>;
|
|
21
|
-
default: string;
|
|
22
19
|
};
|
|
23
20
|
name: {
|
|
24
21
|
type: PropType<string | null>;
|
|
25
|
-
default: string;
|
|
26
22
|
};
|
|
27
23
|
orientation: {
|
|
28
24
|
type: PropType<"horizontal" | "vertical" | null>;
|
|
29
|
-
default: string;
|
|
30
25
|
};
|
|
31
26
|
required: {
|
|
32
27
|
type: PropType<boolean | null>;
|
|
33
|
-
default: boolean;
|
|
34
28
|
};
|
|
35
29
|
value: {
|
|
36
30
|
type: PropType<string | null>;
|
|
37
|
-
|
|
31
|
+
};
|
|
32
|
+
"\0htmlNextInputStatus": {
|
|
33
|
+
type: PropType<InputBindings>;
|
|
38
34
|
};
|
|
39
35
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
36
|
select: (event: CustomEvent<{
|
|
@@ -51,35 +47,30 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
51
47
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
48
|
disabled: {
|
|
53
49
|
type: PropType<boolean | null>;
|
|
54
|
-
default: boolean;
|
|
55
50
|
};
|
|
56
51
|
invalid: {
|
|
57
52
|
type: PropType<boolean | null>;
|
|
58
|
-
default: boolean;
|
|
59
53
|
};
|
|
60
54
|
label: {
|
|
61
55
|
type: PropType<string | null>;
|
|
62
|
-
default: string;
|
|
63
56
|
};
|
|
64
57
|
labelVisibility: {
|
|
65
58
|
type: PropType<"visible" | "sr-only" | null>;
|
|
66
|
-
default: string;
|
|
67
59
|
};
|
|
68
60
|
name: {
|
|
69
61
|
type: PropType<string | null>;
|
|
70
|
-
default: string;
|
|
71
62
|
};
|
|
72
63
|
orientation: {
|
|
73
64
|
type: PropType<"horizontal" | "vertical" | null>;
|
|
74
|
-
default: string;
|
|
75
65
|
};
|
|
76
66
|
required: {
|
|
77
67
|
type: PropType<boolean | null>;
|
|
78
|
-
default: boolean;
|
|
79
68
|
};
|
|
80
69
|
value: {
|
|
81
70
|
type: PropType<string | null>;
|
|
82
|
-
|
|
71
|
+
};
|
|
72
|
+
"\0htmlNextInputStatus": {
|
|
73
|
+
type: PropType<InputBindings>;
|
|
83
74
|
};
|
|
84
75
|
}>> & Readonly<{
|
|
85
76
|
onSelect?: ((event: CustomEvent<{
|
|
@@ -93,16 +84,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
93
84
|
readonly trigger: "keyboard" | "pointer" | "programmatic";
|
|
94
85
|
}>) => any) | undefined;
|
|
95
86
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
96
|
-
}>, {
|
|
97
|
-
name: string | null;
|
|
98
|
-
value: string | null;
|
|
99
|
-
required: boolean | null;
|
|
100
|
-
label: string | null;
|
|
101
|
-
invalid: boolean | null;
|
|
102
|
-
disabled: boolean | null;
|
|
103
|
-
labelVisibility: "visible" | "sr-only" | null;
|
|
104
|
-
orientation: "vertical" | "horizontal" | null;
|
|
105
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
88
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
107
89
|
declare const _default: typeof __VLS_export;
|
|
108
90
|
export default _default;
|
package/vue/UiRadioGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.64 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'
|
|
@@ -10,7 +10,18 @@ import {
|
|
|
10
10
|
useReflectedProp,
|
|
11
11
|
} from './host'
|
|
12
12
|
import { acceptsControllerWrite } from './props'
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
BINDING_INPUTS_PROP,
|
|
15
|
+
checkedProp,
|
|
16
|
+
checkPropInput,
|
|
17
|
+
type InputBindings,
|
|
18
|
+
propValidityState,
|
|
19
|
+
READY_INPUT,
|
|
20
|
+
requireInputStatus,
|
|
21
|
+
UNRESOLVED_INPUT,
|
|
22
|
+
vPropValidity,
|
|
23
|
+
vuePropInputs,
|
|
24
|
+
} from './props'
|
|
14
25
|
|
|
15
26
|
defineOptions({ inheritAttrs: false })
|
|
16
27
|
|
|
@@ -85,20 +96,15 @@ const propValidityContract = {
|
|
|
85
96
|
},
|
|
86
97
|
} as const
|
|
87
98
|
const props = defineProps({
|
|
88
|
-
disabled: { type: null as unknown as PropType<boolean | null
|
|
89
|
-
invalid: { type: null as unknown as PropType<boolean | null
|
|
90
|
-
label: { type: null as unknown as PropType<string | null
|
|
91
|
-
labelVisibility: {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
type: null as unknown as PropType<'horizontal' | 'vertical' | null>,
|
|
98
|
-
default: 'horizontal',
|
|
99
|
-
},
|
|
100
|
-
required: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
101
|
-
value: { type: null as unknown as PropType<string | null>, default: '' },
|
|
99
|
+
disabled: { type: null as unknown as PropType<boolean | null> },
|
|
100
|
+
invalid: { type: null as unknown as PropType<boolean | null> },
|
|
101
|
+
label: { type: null as unknown as PropType<string | null> },
|
|
102
|
+
labelVisibility: { type: null as unknown as PropType<'visible' | 'sr-only' | null> },
|
|
103
|
+
name: { type: null as unknown as PropType<string | null> },
|
|
104
|
+
orientation: { type: null as unknown as PropType<'horizontal' | 'vertical' | null> },
|
|
105
|
+
required: { type: null as unknown as PropType<boolean | null> },
|
|
106
|
+
value: { type: null as unknown as PropType<string | null> },
|
|
107
|
+
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
102
108
|
})
|
|
103
109
|
const acceptedProps: Record<string, unknown> = {
|
|
104
110
|
disabled: false,
|
|
@@ -110,64 +116,90 @@ const acceptedProps: Record<string, unknown> = {
|
|
|
110
116
|
required: false,
|
|
111
117
|
value: '',
|
|
112
118
|
}
|
|
113
|
-
const
|
|
114
|
-
disabled:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
'
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
119
|
+
const inputTracking = vuePropInputs(acceptedProps, {
|
|
120
|
+
disabled: false,
|
|
121
|
+
invalid: false,
|
|
122
|
+
label: 'Options',
|
|
123
|
+
labelVisibility: 'visible',
|
|
124
|
+
name: '',
|
|
125
|
+
orientation: 'horizontal',
|
|
126
|
+
required: false,
|
|
127
|
+
value: '',
|
|
128
|
+
}, (name, value, source, values) => {
|
|
129
|
+
switch (name) {
|
|
130
|
+
case 'disabled':
|
|
131
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
132
|
+
case 'invalid':
|
|
133
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
134
|
+
case 'label':
|
|
135
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
136
|
+
case 'labelVisibility':
|
|
137
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
138
|
+
case 'name':
|
|
139
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
140
|
+
case 'orientation':
|
|
141
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
142
|
+
case 'required':
|
|
143
|
+
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
144
|
+
case 'value':
|
|
145
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
146
|
+
default:
|
|
147
|
+
return { ok: false }
|
|
148
|
+
}
|
|
149
|
+
}, () => {
|
|
150
|
+
void checkedProps.value
|
|
151
|
+
})
|
|
152
|
+
const propInputs = inputTracking.inputs
|
|
153
|
+
const checkedProps = computed(() => {
|
|
154
|
+
void inputTracking.version.value
|
|
155
|
+
return ({
|
|
156
|
+
disabled: propInputs.value<boolean | null>(
|
|
157
|
+
'disabled',
|
|
158
|
+
props['disabled'],
|
|
159
|
+
props[BINDING_INPUTS_PROP],
|
|
160
|
+
) as boolean,
|
|
161
|
+
invalid: propInputs.value<boolean | null>(
|
|
162
|
+
'invalid',
|
|
163
|
+
props['invalid'],
|
|
164
|
+
props[BINDING_INPUTS_PROP],
|
|
165
|
+
) as boolean,
|
|
166
|
+
label: propInputs.value<string | null>(
|
|
167
|
+
'label',
|
|
168
|
+
props['label'],
|
|
169
|
+
props[BINDING_INPUTS_PROP],
|
|
170
|
+
) as string,
|
|
171
|
+
labelVisibility: propInputs.value<'visible' | 'sr-only' | null>(
|
|
172
|
+
'labelVisibility',
|
|
173
|
+
props['labelVisibility'],
|
|
174
|
+
props[BINDING_INPUTS_PROP],
|
|
175
|
+
) as 'visible' | 'sr-only',
|
|
176
|
+
name: propInputs.value<string | null>(
|
|
177
|
+
'name',
|
|
178
|
+
props['name'],
|
|
179
|
+
props[BINDING_INPUTS_PROP],
|
|
180
|
+
) as string,
|
|
181
|
+
orientation: propInputs.value<'horizontal' | 'vertical' | null>(
|
|
182
|
+
'orientation',
|
|
183
|
+
props['orientation'],
|
|
184
|
+
props[BINDING_INPUTS_PROP],
|
|
185
|
+
) as 'horizontal' | 'vertical',
|
|
186
|
+
required: propInputs.value<boolean | null>(
|
|
187
|
+
'required',
|
|
188
|
+
props['required'],
|
|
189
|
+
props[BINDING_INPUTS_PROP],
|
|
190
|
+
) as boolean,
|
|
191
|
+
value: propInputs.value<string | null>(
|
|
192
|
+
'value',
|
|
193
|
+
props['value'],
|
|
194
|
+
props[BINDING_INPUTS_PROP],
|
|
195
|
+
) as string,
|
|
196
|
+
})
|
|
197
|
+
})
|
|
198
|
+
const inputStatus = (name: string, handlesError: boolean) => {
|
|
199
|
+
void checkedProps.value
|
|
200
|
+
void inputTracking.version.value
|
|
201
|
+
return requireInputStatus(propInputs.status(name), handlesError)
|
|
202
|
+
}
|
|
171
203
|
void checkedProps.value
|
|
172
204
|
watchSyncEffect(() => {
|
|
173
205
|
void checkedProps.value
|
|
@@ -248,11 +280,14 @@ useComponentHost(() => import('../components/ui-radio-group/ui-radio-group.js'),
|
|
|
248
280
|
({ internalValue: { kind: 'terminal', name: 'string' } } as Record<string, any>)[name],
|
|
249
281
|
keys,
|
|
250
282
|
),
|
|
283
|
+
initials: { internalValue: '' },
|
|
251
284
|
controllerSource: {
|
|
252
285
|
specifier: '../components/ui-radio-group/ui-radio-group.js',
|
|
253
286
|
definition: './components/ui-radio-group/ui-radio-group.html',
|
|
254
287
|
},
|
|
255
288
|
props: checkedProps,
|
|
289
|
+
inputs: propInputs,
|
|
290
|
+
inputTracking,
|
|
256
291
|
propInputs: (name: string) => {
|
|
257
292
|
const incoming = hydrationInstance?.vnode.props
|
|
258
293
|
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
package/vue/UiReel.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
2
3
|
declare var __VLS_1: {};
|
|
3
4
|
type __VLS_Slots = {} & {
|
|
4
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -6,34 +7,30 @@ type __VLS_Slots = {} & {
|
|
|
6
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
8
|
gap: {
|
|
8
9
|
type: PropType<"xs" | "s" | "m" | "l" | "xl" | null>;
|
|
9
|
-
default: null;
|
|
10
10
|
};
|
|
11
11
|
itemWidth: {
|
|
12
12
|
type: PropType<"sm" | "md" | "lg" | null>;
|
|
13
|
-
default: null;
|
|
14
13
|
};
|
|
15
14
|
snap: {
|
|
16
15
|
type: PropType<"start" | "center" | null>;
|
|
17
|
-
|
|
16
|
+
};
|
|
17
|
+
"\0htmlNextInputStatus": {
|
|
18
|
+
type: PropType<InputBindings>;
|
|
18
19
|
};
|
|
19
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
21
|
gap: {
|
|
21
22
|
type: PropType<"xs" | "s" | "m" | "l" | "xl" | null>;
|
|
22
|
-
default: null;
|
|
23
23
|
};
|
|
24
24
|
itemWidth: {
|
|
25
25
|
type: PropType<"sm" | "md" | "lg" | null>;
|
|
26
|
-
default: null;
|
|
27
26
|
};
|
|
28
27
|
snap: {
|
|
29
28
|
type: PropType<"start" | "center" | null>;
|
|
30
|
-
default: null;
|
|
31
29
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
"\0htmlNextInputStatus": {
|
|
31
|
+
type: PropType<InputBindings>;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
35
|
declare const _default: typeof __VLS_export;
|
|
39
36
|
export default _default;
|
package/vue/UiReel.vue
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.64 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'
|
|
5
5
|
import { checkHydratedRoot, nativeAttrs, useReflectedProp } from './host'
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
BINDING_INPUTS_PROP,
|
|
8
|
+
checkedProp,
|
|
9
|
+
checkPropInput,
|
|
10
|
+
type InputBindings,
|
|
11
|
+
READY_INPUT,
|
|
12
|
+
requireInputStatus,
|
|
13
|
+
UNRESOLVED_INPUT,
|
|
14
|
+
vPropValidity,
|
|
15
|
+
vuePropInputs,
|
|
16
|
+
} from './props'
|
|
7
17
|
|
|
8
18
|
defineOptions({ inheritAttrs: false })
|
|
9
19
|
|
|
@@ -36,34 +46,52 @@ const propValidityContract = {
|
|
|
36
46
|
},
|
|
37
47
|
} as const
|
|
38
48
|
const props = defineProps({
|
|
39
|
-
gap: { type: null as unknown as PropType<'xs' | 's' | 'm' | 'l' | 'xl' | null
|
|
40
|
-
itemWidth: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null
|
|
41
|
-
snap: { type: null as unknown as PropType<'start' | 'center' | null
|
|
49
|
+
gap: { type: null as unknown as PropType<'xs' | 's' | 'm' | 'l' | 'xl' | null> },
|
|
50
|
+
itemWidth: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null> },
|
|
51
|
+
snap: { type: null as unknown as PropType<'start' | 'center' | null> },
|
|
52
|
+
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
42
53
|
})
|
|
43
54
|
const acceptedProps: Record<string, unknown> = { gap: null, itemWidth: null, snap: null }
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
55
|
+
const inputTracking = vuePropInputs(acceptedProps, {}, (name, value, source, values) => {
|
|
56
|
+
switch (name) {
|
|
57
|
+
case 'gap':
|
|
58
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
59
|
+
case 'itemWidth':
|
|
60
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
61
|
+
case 'snap':
|
|
62
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
63
|
+
default:
|
|
64
|
+
return { ok: false }
|
|
65
|
+
}
|
|
66
|
+
}, () => {
|
|
67
|
+
void checkedProps.value
|
|
68
|
+
})
|
|
69
|
+
const propInputs = inputTracking.inputs
|
|
70
|
+
const checkedProps = computed(() => {
|
|
71
|
+
void inputTracking.version.value
|
|
72
|
+
return ({
|
|
73
|
+
gap: propInputs.value<'xs' | 's' | 'm' | 'l' | 'xl' | null>(
|
|
74
|
+
'gap',
|
|
75
|
+
props['gap'],
|
|
76
|
+
props[BINDING_INPUTS_PROP],
|
|
77
|
+
),
|
|
78
|
+
itemWidth: propInputs.value<'sm' | 'md' | 'lg' | null>(
|
|
79
|
+
'itemWidth',
|
|
80
|
+
props['itemWidth'],
|
|
81
|
+
props[BINDING_INPUTS_PROP],
|
|
82
|
+
),
|
|
83
|
+
snap: propInputs.value<'start' | 'center' | null>(
|
|
84
|
+
'snap',
|
|
85
|
+
props['snap'],
|
|
86
|
+
props[BINDING_INPUTS_PROP],
|
|
87
|
+
),
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
const inputStatus = (name: string, handlesError: boolean) => {
|
|
91
|
+
void checkedProps.value
|
|
92
|
+
void inputTracking.version.value
|
|
93
|
+
return requireInputStatus(propInputs.status(name), handlesError)
|
|
94
|
+
}
|
|
67
95
|
void checkedProps.value
|
|
68
96
|
watchSyncEffect(() => {
|
|
69
97
|
void checkedProps.value
|