@threadlabs/looma 0.30.1 → 0.30.3
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/EXPRESSIVE-MARKDOWN.md +5 -0
- 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 +4 -4
- 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 +202 -147
- 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 +124 -119
- 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/vanilla/UiCombobox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList,
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, plainObject, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, warnOnce, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-combobox/ui-combobox.js";
|
|
4
4
|
import "../styles/ui-combobox.css";
|
|
5
5
|
|
|
@@ -31,10 +31,12 @@ const T24 = ["",[],"No suggestions."];
|
|
|
31
31
|
const T25 = ["",[]];
|
|
32
32
|
const T26 = ["div",[],0];
|
|
33
33
|
const T27 = ["",[]];
|
|
34
|
+
const K0 = (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string" && "value" in v0 && typeof v0["value"] == "string" && "label" in v0 && typeof v0["label"] == "string" && (v0["group"] == null || typeof v0["group"] == "string") && (v0["disabled"] == null || typeof v0["disabled"] == "boolean") && (v0["description"] == null || typeof v0["description"] == "string") && (v0["tag"] == null || (plainObject(v0["tag"]) && "label" in v0["tag"] && typeof v0["tag"]["label"] == "string" && (v0["tag"]["tone"] == null || ((typeof v0["tag"]["tone"] == "string" && keywordFormat(v0["tag"]["tone"])) && ["neutral","accent","info","success","warning","danger"].includes(v0["tag"]["tone"]))) && (v0["tag"]["color"] == null || typeof v0["tag"]["color"] == "string") && Object.keys(v0["tag"]).every((v1) => ["label","tone","color"].includes(v1)))) && Object.keys(v0).every((v1) => ["id","value","label","group","disabled","description","tag"].includes(v1)));
|
|
35
|
+
const K1 = (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string" && "value" in v0 && typeof v0["value"] == "string" && "label" in v0 && typeof v0["label"] == "string" && (v0["group"] == null || typeof v0["group"] == "string") && (v0["disabled"] == null || typeof v0["disabled"] == "boolean") && (v0["description"] == null || typeof v0["description"] == "string") && (v0["tag"] == null || (plainObject(v0["tag"]) && "label" in v0["tag"] && typeof v0["tag"]["label"] == "string" && (v0["tag"]["tone"] == null || ((typeof v0["tag"]["tone"] == "string" && keywordFormat(v0["tag"]["tone"])) && ["neutral","accent","info","success","warning","danger"].includes(v0["tag"]["tone"]))) && (v0["tag"]["color"] == null || typeof v0["tag"]["color"] == "string") && Object.keys(v0["tag"]).every((v1) => ["label","tone","color"].includes(v1)))) && (v0["selected"] == null || typeof v0["selected"] == "boolean") && Object.keys(v0).every((v1) => ["id","value","label","group","disabled","description","tag","selected"].includes(v1)));
|
|
34
36
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27;
|
|
35
37
|
const E = new Map();
|
|
36
|
-
const S = { n: ["internalItems","raw","display","selected","expanded","rows","active","helpOpen","lookupError","validation","uid","submitted","groups","creatable","createIndex","message","statusText","validationStatus"], t: [["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)
|
|
37
|
-
const D = { g: "ui-combobox", props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
38
|
+
const S = { n: ["internalItems","raw","display","selected","expanded","rows","active","helpOpen","lookupError","validation","uid","submitted","groups","creatable","createIndex","message","statusText","validationStatus"], t: [["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"s","s","s","b",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"i","b","s",["o",["status",["p",formatOf(keywordFormat)],"touched","b","dirty","b","issues",["l",["o",["message","s"]]]],1],"s","s",["l",["o",["name","s","role",["p",formatOf(keywordFormat)],"label","s","rows",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"index","i","labelledBy","s","detail","s","option",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"selected","b"]]]]]]]],"b","i","s","s","s"], f: import.meta.url, g: "ui-combobox", d: { "query-change": [detailCheck(checkObject([["query", checkString, false], ["display", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "value-change": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "items-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "free-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["status", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pristine","pending","valid","warning","error"]}), false], ["touched", checkBoolean, false], ["dirty", checkBoolean, false], ["issues", checkList(checkObject([["message", checkString, false], ["path", checkList(checkUnknown), true], ["severity", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["error","warning"]}), true]], false)), false], ["output", checkUnknown, true]], false)), true, true, false], "options-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "add-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "remove-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-item": [detailCheck(checkObject([["query", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "selected-values-change": [detailCheck(checkObject([["selectedValues", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine"] };
|
|
39
|
+
const D = { g: "ui-combobox", props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "clearQueryOnBlur": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "clearable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disclosure": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "filter": { "required":false,"values":["label","none"],"default":"label", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "help": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false)), j: 1, m: ["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openOnFocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "query": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectOnTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectedValues": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
|
|
38
40
|
const C = (host) => controller.default(host);
|
|
39
41
|
|
|
40
42
|
export function createUiCombobox(options = {}, html) {
|
|
@@ -106,7 +108,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
106
108
|
}
|
|
107
109
|
if (r.f0 === undefined) {
|
|
108
110
|
r.f0 = 1;
|
|
109
|
-
const s = {}; { const y = trackContainer(r, o); if (y !== NONCONFORMING &&
|
|
111
|
+
const s = {}; { const y = trackContainer(r, o); if (y !== NONCONFORMING) s["item"] = (y != null && y !== ABSENT && (K0(y) || (warnOnce(S, "slot:item:item", "Slot `item` prop `item` does not satisfy its declared type `object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) })`."), false)) ? y : null); }
|
|
110
112
|
const at = fillSlot(r.a1, r.e0, "item", J, true, s, d);
|
|
111
113
|
if (Array.isArray(at)) { r.x0 = at; (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); }
|
|
112
114
|
else if (at !== undefined) { r.b0 = m5(d, undefined, r); at.before(r.b0.n); }
|
|
@@ -114,7 +116,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
114
116
|
if (c & 1073741824) {
|
|
115
117
|
const t = r.x0[1].s;
|
|
116
118
|
let w = c & 1073741824;
|
|
117
|
-
{
|
|
119
|
+
{ let y = trackContainer(r, o); if (y !== NONCONFORMING && (y = (y != null && y !== ABSENT && (K0(y) || (warnOnce(S, "slot:item:item", "Slot `item` prop `item` does not satisfy its declared type `object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) })`."), false)) ? y : null), !("item" in t && Object.is(t["item"], y)))) { t["item"] = y; w = 1; } }
|
|
118
120
|
if (w) r.x0[0].p(r.x0[1], 1073741824, d);
|
|
119
121
|
}
|
|
120
122
|
} else if (r.b0 !== undefined) p5(r.b0, c, d);
|
|
@@ -362,7 +364,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
362
364
|
}
|
|
363
365
|
if (r.f0 === undefined) {
|
|
364
366
|
r.f0 = 1;
|
|
365
|
-
const s = {}; { const y = trackContainer(r, readMember(o, "option")); if (y !== NONCONFORMING &&
|
|
367
|
+
const s = {}; { const y = trackContainer(r, readMember(o, "option")); if (y !== NONCONFORMING) s["option"] = (y != null && y !== ABSENT && (K1(y) || (warnOnce(S, "slot:option:option", "Slot `option` prop `option` does not satisfy its declared type `object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }), selected?: boolean })`."), false)) ? y : null); }
|
|
366
368
|
const at = fillSlot(r.a1, r.e0, "option", J, true, s, d);
|
|
367
369
|
if (Array.isArray(at)) { r.x0 = at; (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); }
|
|
368
370
|
else if (at !== undefined) { r.b0 = m16(d, undefined, r); at.before(r.b0.n); }
|
|
@@ -370,7 +372,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
370
372
|
if (c & 1073741824) {
|
|
371
373
|
const t = r.x0[1].s;
|
|
372
374
|
let w = c & 1073741824;
|
|
373
|
-
{
|
|
375
|
+
{ let y = trackContainer(r, readMember(o, "option")); if (y !== NONCONFORMING && (y = (y != null && y !== ABSENT && (K1(y) || (warnOnce(S, "slot:option:option", "Slot `option` prop `option` does not satisfy its declared type `object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }), selected?: boolean })`."), false)) ? y : null), !("option" in t && Object.is(t["option"], y)))) { t["option"] = y; w = 1; } }
|
|
374
376
|
if (w) r.x0[0].p(r.x0[1], 1073741824, d);
|
|
375
377
|
}
|
|
376
378
|
} else if (r.b0 !== undefined) p16(r.b0, c, d);
|
|
@@ -682,7 +684,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
682
684
|
if (s16 !== r.v16) writeAttribute(r.a14, "aria-busy", r.v16 = s16);
|
|
683
685
|
}
|
|
684
686
|
if (c & 1610612737) {
|
|
685
|
-
const x15 = (checkReference(S, readDeclared(v[0], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)
|
|
687
|
+
const x15 = (checkReference(S, readDeclared(v[0], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:$required and not ($multiple and $internalItems.0):internalItems.0", "Reference `internalItems.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (truthy(v[38]) && !(truthy(v[32]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
|
|
686
688
|
if (x15 !== NONCONFORMING) {
|
|
687
689
|
const s12 = toAttribute(x15, "required");
|
|
688
690
|
if (s12 !== r.v12) writeAttribute(r.a6, "required", r.v12 = s12);
|
|
@@ -746,7 +748,7 @@ export function createUiCombobox(options = {}, html) {
|
|
|
746
748
|
else { r.b11 = m22(d); r.e11.before(r.b11.n); }
|
|
747
749
|
} else if (r.b11 !== undefined) p22(r.b11, c, d);
|
|
748
750
|
let t12;
|
|
749
|
-
if (c & 1610621216 && (t12 = (checkReference(S, readDeclared(v[5], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)
|
|
751
|
+
if (c & 1610621216 && (t12 = (checkReference(S, readDeclared(v[5], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:not $loading and not $rows.0 and not $creatable and not $lookupError:rows.0", "Reference `rows.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled: boolean, selected: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (((!truthy(v[31]) && !truthy(readIndex(v[5], 0))) && !v[13]) && !truthy(v[8])) : NONCONFORMING)) !== NONCONFORMING && !t12 !== !r.b12) {
|
|
750
752
|
dispose(r.b12);
|
|
751
753
|
r.b12 = undefined;
|
|
752
754
|
clearRegion(r.a18, r.e12);
|
package/vanilla/UiContainer.d.ts
CHANGED
package/vanilla/UiContainer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-container.css";
|
|
4
4
|
|
|
5
5
|
const T0 = ["",[],4];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
let P0, P1;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-container" };
|
|
9
|
-
const D = { g: "ui-container", props: { "fill": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "gutters": { "required":false,"values":["s","m","l"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-container", b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-container", props: { "fill": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "gutters": { "required":false,"values":["s","m","l"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "measure": { "required":false,"values":["narrow","wide"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
10
10
|
|
|
11
11
|
export function createUiContainer(options = {}, html) {
|
|
12
12
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiContextMenuEventMap {
|
|
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" }>;
|
|
5
|
-
select: CustomEvent<{ readonly value: string; readonly checked?: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
5
|
+
select: CustomEvent<{ readonly value: string; readonly checked?: boolean | null; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
6
6
|
}
|
|
7
7
|
export interface UiContextMenuElement extends HTMLSpanElement {
|
|
8
8
|
addEventListener<K extends keyof UiContextMenuEventMap>(type: K, listener: (this: UiContextMenuElement, event: UiContextMenuEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
|
package/vanilla/UiContextMenu.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-context-menu/ui-context-menu.js";
|
|
4
4
|
import "../styles/ui-context-menu.css";
|
|
5
5
|
|
|
6
6
|
const T0 = ["",[],["div",["class","menu","role","menu","aria-orientation","vertical"],4]];
|
|
7
7
|
const T1 = ["",[]];
|
|
8
8
|
let P0, P1;
|
|
9
|
-
const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-context-menu", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["value", checkString, false], ["checked", checkBoolean, true], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
9
|
+
const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-context-menu", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["value", checkString, false], ["checked", checkBoolean, true], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false] };
|
|
10
10
|
const D = { g: "ui-context-menu", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
11
11
|
const C = (host) => controller.default(host);
|
|
12
12
|
|
package/vanilla/UiCover.d.ts
CHANGED
package/vanilla/UiCover.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-cover.css";
|
|
4
4
|
|
|
5
5
|
const T0 = ["",[],4];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
let P0, P1;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-cover" };
|
|
9
|
-
const D = { g: "ui-cover", props: { "size": { "required":false,"values":["screen","fill"],"default":"screen", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-cover", b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-cover", props: { "size": { "required":false,"values":["screen","fill"],"default":"screen", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
10
10
|
|
|
11
11
|
export function createUiCover(options = {}, html) {
|
|
12
12
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toText, dispose, acceptProps, manageProps, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toText, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-description-item.css";
|
|
4
4
|
|
|
5
5
|
const T0 = ["",[],"\n ",["dt",[],0],"\n ",["dd",[],4],"\n "];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
let P0, P1;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-description-item" };
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-description-item", b: generatedInputs };
|
|
9
9
|
const D = { g: "ui-description-item", props: { "term": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
10
|
|
|
11
11
|
export function createUiDescriptionItem(options = {}, html) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-description-list.css";
|
|
4
4
|
|
|
5
5
|
const T0 = ["",[],4];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
let P0, P1;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-description-list" };
|
|
9
|
-
const D = { g: "ui-description-list", props: { "columns": { "required":false,"values":["2","3","4"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-description-list", b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-description-list", props: { "columns": { "required":false,"values":["2","3","4"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "layout": { "required":false,"values":["rows","stacked","grid","tiles"],"default":"rows", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
10
10
|
|
|
11
11
|
export function createUiDescriptionList(options = {}, html) {
|
|
12
12
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
package/vanilla/UiDialog.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.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiDialogEventMap {
|
|
3
3
|
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; 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/UiDialog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-dialog/ui-dialog.js";
|
|
4
4
|
import "../styles/ui-dialog.css";
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ const T1 = ["h2",["class","title"],0];
|
|
|
8
8
|
const T2 = ["",[]];
|
|
9
9
|
const T3 = ["",[]];
|
|
10
10
|
let P0, P1, P2, P3;
|
|
11
|
-
const S = { n: ["internalOpen","accessibleLabel"], t: ["b","s"], f: import.meta.url, g: "ui-dialog", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
12
|
-
const D = { g: "ui-dialog", props: { "alert": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "closedby": { "required":false,"values":["any","closerequest","none"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
11
|
+
const S = { n: ["internalOpen","accessibleLabel"], t: ["b","s"], f: import.meta.url, g: "ui-dialog", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, "Dialog"] };
|
|
12
|
+
const D = { g: "ui-dialog", props: { "alert": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "closedby": { "required":false,"values":["any","closerequest","none"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "modal": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "modeless": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "size": { "required":false,"values":["sm","md","lg","fullscreen"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
13
13
|
const C = (host) => controller.default(host);
|
|
14
14
|
|
|
15
15
|
export function createUiDialog(options = {}, html) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiDisclosureEventMap {
|
|
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/UiDisclosure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-disclosure/ui-disclosure.js";
|
|
4
4
|
import "../styles/ui-disclosure.css";
|
|
5
5
|
|
|
@@ -9,8 +9,8 @@ const T2 = ["",[],0];
|
|
|
9
9
|
const T3 = ["",[],["span",["class","chevron"]]];
|
|
10
10
|
const T4 = ["",[]];
|
|
11
11
|
let P0, P1, P2, P3, P4;
|
|
12
|
-
const S = { n: ["internalOpen","contentId","headingRole","headingAriaLevel"], t: ["b","s",["p",formatOf(keywordFormat)
|
|
13
|
-
const D = { g: "ui-disclosure", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
12
|
+
const S = { n: ["internalOpen","contentId","headingRole","headingAriaLevel"], t: ["b","s",["p",formatOf(keywordFormat)],"i"], f: import.meta.url, g: "ui-disclosure", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, "", null, null] };
|
|
13
|
+
const D = { g: "ui-disclosure", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "fill": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "headingLevel": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "requiredOpen": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "summary": { "required":false,"default":"Details", c: checkString, t: "string", j: 0, m: "s" }, "variant": { "required":false,"values":["plain","navigation"],"default":"plain", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
14
14
|
const C = (host) => controller.default(host);
|
|
15
15
|
|
|
16
16
|
export function createUiDisclosure(options = {}, html) {
|
package/vanilla/UiEditable.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.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditableEventMap {
|
|
3
3
|
input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
change: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiEditable.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, clearRegion, readsChanged, rec, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, hostState, acceptProps, manageProps, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, clearRegion, readsChanged, rec, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editable/ui-editable.js";
|
|
4
4
|
import "../styles/ui-editable.css";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ const T0 = ["",[],"\n ",["div",["class","field"],"\n ",["button",["class
|
|
|
7
7
|
const T1 = ["span",["class","hint","aria-hidden","true"],0];
|
|
8
8
|
const T2 = ["div",["class","actions"],"\n ",["button",["class","save","type","button"],0],"\n ",["button",["class","cancel","type","button"],0],"\n "];
|
|
9
9
|
let P0, P1, P2;
|
|
10
|
-
const S = { n: ["internalEdit","internalValue","draft"], t: ["b","s","s"], f: import.meta.url, g: "ui-editable", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "edit-change": [detailCheck(checkObject([["edit", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["activate","commit","cancel","light-dismiss","escape","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
10
|
+
const S = { n: ["internalEdit","internalValue","draft"], t: ["b","s","s"], f: import.meta.url, g: "ui-editable", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "edit-change": [detailCheck(checkObject([["edit", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["activate","commit","cancel","light-dismiss","escape","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, "", ""] };
|
|
11
11
|
const D = { g: "ui-editable", props: { "actions": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "cancelLabel": { "required":false,"default":"Cancel", c: checkString, t: "string", j: 0, m: "s" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "edit": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "hint": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Edit value", c: checkString, t: "string", j: 0, m: "s" }, "maxLength": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "saveLabel": { "required":false,"default":"Save", c: checkString, t: "string", j: 0, m: "s" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
12
12
|
const C = (host) => controller.default(host);
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorBlockActionsEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "insert-below" | "duplicate" | "delete" }>;
|
|
4
4
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-block-actions/ui-editor-block-actions.js";
|
|
4
4
|
import "../styles/ui-editor-block-actions.css";
|
|
5
5
|
|
|
6
6
|
const T0 = ["",[],"\n ",["ui-menu",["aria-label","Block actions"],["ui-menu-item",["value","insert-below"],"Insert paragraph below"],"\n ",["ui-menu-item",["value","duplicate"],"Duplicate block"],"\n ",["ui-menu-item",["value","delete"],"Delete block"]],"\n "];
|
|
7
7
|
let P0;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-block-actions", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["insert-below","duplicate","delete"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
9
|
-
const D = { g: "ui-editor-block-actions", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["bottom-start","top-start"],"default":"bottom-start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-block-actions", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["insert-below","duplicate","delete"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-editor-block-actions", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["bottom-start","top-start"],"default":"bottom-start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
10
10
|
const C = (host) => controller.default(host);
|
|
11
11
|
|
|
12
12
|
export function createUiEditorBlockActions(options = {}, html) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorChipEditorEventMap {
|
|
3
3
|
label: CustomEvent<{ readonly label: string }>;
|
|
4
4
|
color: CustomEvent<{ readonly color: "neutral" | "blue" | "green" | "yellow" | "red" | "purple" }>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-chip-editor/ui-editor-chip-editor.js";
|
|
4
4
|
import "../styles/ui-editor-chip-editor.css";
|
|
5
5
|
|
|
6
6
|
const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-input",["data-chip-label","","size","sm","placeholder","Set a label","aria-label","Chip text"]],"\n ",["ui-radio-group",["label","Chip color","label-visibility","sr-only"],["ui-swatch",["tone","neutral"]],"\n ",["ui-swatch",["tone","blue"]],"\n ",["ui-swatch",["tone","green"]],"\n ",["ui-swatch",["tone","yellow"]],"\n ",["ui-swatch",["tone","red"]],"\n ",["ui-swatch",["tone","purple"]]]],"\n "];
|
|
7
7
|
let P0;
|
|
8
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-chip-editor", d: { "label": [detailCheck(checkObject([["label", checkString, false]], false)), true, true, false], "color": [detailCheck(checkObject([["color", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","blue","green","yellow","red","purple"]}), false]], false)), true, true, false], "done": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared };
|
|
9
|
-
const D = { g: "ui-editor-chip-editor", props: { "color": { "required":false,"values":["neutral","blue","green","yellow","red","purple"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-chip-editor", d: { "label": [detailCheck(checkObject([["label", checkString, false]], false)), true, true, false], "color": [detailCheck(checkObject([["color", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","blue","green","yellow","red","purple"]}), false]], false)), true, true, false], "done": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-editor-chip-editor", props: { "color": { "required":false,"values":["neutral","blue","green","yellow","red","purple"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
10
|
const C = (host) => controller.default(host);
|
|
11
11
|
|
|
12
12
|
export function createUiEditorChipEditor(options = {}, html) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, KeyedList, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, KeyedList, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-code-language/ui-editor-code-language.js";
|
|
4
4
|
import "../styles/ui-editor-code-language.css";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ const T0 = ["",[],"\n ",["ui-combobox",["label","Code language","label-visibi
|
|
|
7
7
|
const T1 = ["option",[],0];
|
|
8
8
|
let P0, P1;
|
|
9
9
|
const E = new Map();
|
|
10
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-code-language", d: { "language": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
10
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-code-language", d: { "language": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
|
|
11
11
|
const D = { g: "ui-editor-code-language", props: { "languages": { "required":false, c: checkList(checkObject([["value", checkString, false], ["label", checkString, false]], false)), j: 1, m: ["l",["o",["value","s","label","s"]]] }, "value": { "required":false,"default":"auto", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
12
12
|
const C = (host) => controller.default(host);
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorImageToolbarEventMap {
|
|
3
3
|
placement: CustomEvent<{ readonly placement: "block" | "center" | "wrap-left" | "wrap-right" }>;
|
|
4
4
|
describe: CustomEvent<{ readonly alt: string }>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-image-toolbar/ui-editor-image-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-image-toolbar.css";
|
|
5
5
|
|
|
6
6
|
const T0 = ["",[],"\n ",["ui-text",["as","div","font","sans"],["ui-editor-toolbar",["floating","","aria-label","Image actions"],["ui-icon-button",["label","Image in line","size","sm","data-placement","block"],["ui-icon",["name","panel-top"]]],"\n ",["ui-icon-button",["label","Center image","size","sm","data-placement","center"],["ui-icon",["name","align-center"]]],"\n ",["ui-icon-button",["label","Wrap text to the right","size","sm","data-placement","wrap-left"],["ui-icon",["name","panel-left"]]],"\n ",["ui-icon-button",["label","Wrap text to the left","size","sm","data-placement","wrap-right"],["ui-icon",["name","panel-right"]]],"\n ",["ui-icon-button",["label","Image description","size","sm","variant","ghost"],["ui-icon",["name","file-text"]]],"\n ",["ui-icon-button",["label","Delete image","size","sm","variant","ghost","data-action","delete"],["ui-icon",["name","trash"]]]],"\n ",["ui-tooltip",[],"Image in line"],"\n ",["ui-tooltip",[],"Center image"],"\n ",["ui-tooltip",[],"Wrap text to the right"],"\n ",["ui-tooltip",[],"Wrap text to the left"],"\n ",["ui-tooltip",[],"Image description"],"\n ",["ui-tooltip",[],"Delete image"],"\n ",["ui-popover",["size","sm","aria-label","Image description"],["form",["aria-label","Image description"],"\n ",["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],"Alt text"],["ui-input",["size","sm"]]],"\n ",["ui-text",["size","xs","tone","secondary"],"Describe the image for people using a screen reader."],"\n ",["ui-cluster",["justify","end","gap","xs"],["ui-button",["type","button","variant","ghost","tone","neutral","size","sm","data-action","cancel"],"Cancel"],"\n ",["ui-button",["type","submit","variant","solid","size","sm"],"Save"]]],"\n "]]],"\n "];
|
|
7
7
|
let P0;
|
|
8
|
-
const S = { n: ["base","describing","draft"], t: ["s","b","s"], f: import.meta.url, g: "ui-editor-image-toolbar", d: { "placement": [detailCheck(checkObject([["placement", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["block","center","wrap-left","wrap-right"]}), false]], false)), true, true, false], "describe": [detailCheck(checkObject([["alt", checkString, false]], false)), true, true, false], "delete": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared };
|
|
9
|
-
const D = { g: "ui-editor-image-toolbar", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)
|
|
8
|
+
const S = { n: ["base","describing","draft"], t: ["s","b","s"], f: import.meta.url, g: "ui-editor-image-toolbar", d: { "placement": [detailCheck(checkObject([["placement", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["block","center","wrap-left","wrap-right"]}), false]], false)), true, true, false], "describe": [detailCheck(checkObject([["alt", checkString, false]], false)), true, true, false], "delete": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: ["ui-editor-image-toolbar", false, ""] };
|
|
9
|
+
const D = { g: "ui-editor-image-toolbar", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "target": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
10
|
const C = (host) => controller.default(host);
|
|
11
11
|
|
|
12
12
|
export function createUiEditorImageToolbar(options = {}, html) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.63 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorInsertTableGridEventMap {
|
|
3
3
|
insert: CustomEvent<{ readonly rows: number; readonly cols: number; readonly withHeaderRow: boolean }>;
|
|
4
4
|
}
|