@threadlabs/looma 0.25.7 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
- package/components/ui-button/ui-button.html +27 -27
- package/components/ui-callout/ui-callout.html +5 -5
- package/components/ui-card/ui-card.html +3 -3
- package/components/ui-checkbox/ui-checkbox.html +8 -8
- package/components/ui-combobox/ui-combobox.html +59 -59
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +3 -3
- package/components/ui-editable/ui-editable.html +8 -8
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-grid/ui-grid.html +1 -1
- package/components/ui-icon/ui-icon.html +12 -12
- package/components/ui-icon-button/ui-icon-button.html +6 -6
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-listbox/ui-listbox.html +24 -24
- package/components/ui-menu-group/ui-menu-group.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +9 -9
- package/components/ui-meter/ui-meter.html +8 -8
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-result-row/ui-search-result-row.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-select/ui-select.html +1 -1
- package/components/ui-separator/ui-separator.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-stack/ui-stack.html +1 -1
- package/components/ui-status-message/ui-status-message.html +3 -3
- package/components/ui-switch/ui-switch.html +5 -5
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-text/ui-text.html +10 -10
- package/components/ui-textarea/ui-textarea.html +8 -8
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +8 -8
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +18 -18
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-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-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 +70 -52
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +36 -17
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +72 -37
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +57 -26
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +49 -39
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +41 -26
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +35 -24
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +444 -156
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +135 -111
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +147 -47
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +100 -58
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +35 -29
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +879 -283
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +35 -19
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +34 -23
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +35 -15
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +37 -24
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +35 -21
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +83 -42
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +113 -72
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +125 -58
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +85 -30
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +193 -75
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +81 -44
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +123 -78
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +40 -34
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +98 -45
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +35 -15
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +143 -60
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +212 -109
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +330 -113
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +37 -20
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +44 -22
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +89 -65
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +39 -19
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +186 -27
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +82 -32
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +76 -69
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +51 -27
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +77 -56
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +91 -27
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +81 -74
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +204 -81
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +36 -20
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +60 -24
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +177 -77
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +77 -14
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +199 -123
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +91 -69
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +36 -20
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +82 -50
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +58 -30
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +35 -21
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +37 -20
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +98 -74
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +81 -64
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +71 -53
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +50 -26
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +23 -22
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +49 -37
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +43 -26
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +39 -19
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +70 -41
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +82 -51
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +36 -17
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +35 -17
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +97 -42
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +343 -117
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +56 -33
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +61 -40
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +85 -35
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +54 -31
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +70 -52
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +35 -17
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +219 -181
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +7 -7
- package/vue/UiAvatarGroup.vue +3 -3
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +2 -2
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -25
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +2 -2
- package/vue/UiDisclosure.vue +6 -6
- package/vue/UiEditable.vue +3 -3
- package/vue/UiEditorInsertTableGrid.vue +4 -4
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +2 -2
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +2 -2
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +4 -4
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +2 -2
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +2 -2
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +3 -3
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +2 -2
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +2 -2
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +6 -6
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +6 -6
- package/vue/chunks/UiAvatarGroup.js +3 -3
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +2 -2
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +22 -22
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +2 -2
- package/vue/chunks/UiDisclosure.js +6 -6
- package/vue/chunks/UiEditable.js +3 -3
- package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
- package/vue/chunks/UiEditorMentionMenu.js +2 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +2 -2
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +11 -11
- package/vue/chunks/UiEditorTableToolbar.js +2 -2
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +4 -4
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +2 -2
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +2 -2
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +2 -2
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +2 -2
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +5 -5
- package/vue/chunks/control.js +41 -13
- package/vue/chunks/host.js +19 -18
- package/vue/components.css +1388 -1388
- package/vue/host.ts +22 -20
package/vanilla/UiText.js
CHANGED
|
@@ -1,174 +1,111 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import {
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, armElement, replaceRoot, checkBoolean, checkFormat } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-text.css";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const T0 = ["",[],4];
|
|
6
|
+
const T1 = ["",[]];
|
|
7
|
+
const T2 = ["",[],4];
|
|
8
|
+
const T3 = ["",[]];
|
|
9
|
+
const T4 = ["",[],4];
|
|
10
|
+
const T5 = ["",[]];
|
|
11
|
+
const T6 = ["",[],4];
|
|
12
|
+
const T7 = ["",[]];
|
|
13
|
+
const T8 = ["",[],4];
|
|
14
|
+
const T9 = ["",[]];
|
|
15
|
+
const T10 = ["",[],4];
|
|
16
|
+
const T11 = ["",[]];
|
|
17
|
+
const T12 = ["",[],4];
|
|
18
|
+
const T13 = ["",[]];
|
|
19
|
+
const T14 = ["",[],4];
|
|
20
|
+
const T15 = ["",[]];
|
|
21
|
+
const T16 = ["",[],4];
|
|
22
|
+
const T17 = ["",[]];
|
|
23
|
+
const T18 = ["",[],4];
|
|
24
|
+
const T19 = ["",[]];
|
|
25
|
+
const T20 = ["",[],4];
|
|
26
|
+
const T21 = ["",[]];
|
|
27
|
+
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21;
|
|
28
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-text" };
|
|
29
|
+
const A = [["span",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["div",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["small",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["strong",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["label",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["h2",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["h3",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["h4",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["h5",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["h6",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]],["p",{},[],"",[],["data-ui-text-state","data-align","data-as","data-font","data-grow","data-size","data-tone","data-truncate","data-variant","data-weight","data-wrap"]]];
|
|
30
|
+
const Q = [[],[],[],[],[],[],[],[],[],[],[]];
|
|
31
|
+
const D = { props: { "align": { "required":false,"values":["start","center"],"default":"start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "as": { "required":false,"values":["p","span","div","small","strong","label","h2","h3","h4","h5","h6"],"default":"p", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "font": { "required":false,"values":["inherit","sans"],"default":"inherit", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "grow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "size": { "required":false,"values":["inherit","xs","sm","md","lg"],"default":"inherit", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "tone": { "required":false,"values":["default","secondary","muted","accent","danger","success","info","warning"],"default":"default", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "truncate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "variant": { "required":false,"values":["body","eyebrow","code"],"default":"body", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "weight": { "required":false,"values":["inherit","normal","medium","semibold"],"default":"inherit", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "wrap": { "required":false,"values":["normal","anywhere"],"default":"normal", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
6
32
|
|
|
7
|
-
export function createUiText(options = {}) {
|
|
33
|
+
export function createUiText(options = {}, html) {
|
|
8
34
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
9
|
-
const
|
|
10
|
-
|
|
35
|
+
const v = [null, null, null, null, null, null, null, null, null, null];
|
|
36
|
+
acceptProps(undefined, D, S.n, v, componentProps, [], html);
|
|
37
|
+
let a = ((v[1] === "span") ? 0 : (v[1] === "div") ? 1 : (v[1] === "small") ? 2 : (v[1] === "strong") ? 3 : (v[1] === "label") ? 4 : (v[1] === "h2") ? 5 : (v[1] === "h3") ? 6 : (v[1] === "h4") ? 7 : (v[1] === "h5") ? 8 : (v[1] === "h6") ? 9 : 10);
|
|
11
38
|
let element;
|
|
12
|
-
if (
|
|
39
|
+
if (a === 0) {
|
|
13
40
|
element = document.createElement("span");
|
|
14
41
|
for (const [name, value] of Object.entries(attributes)) {
|
|
15
42
|
if (value === null || value === undefined || value === false) continue;
|
|
16
43
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
17
44
|
}
|
|
18
45
|
element.setAttribute("data-component", "ui-text");
|
|
19
|
-
|
|
20
|
-
for (const child of children) {
|
|
21
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
22
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
23
|
-
projected.push([node, ""]);
|
|
24
|
-
element.append(node);
|
|
25
|
-
}
|
|
26
|
-
} else {
|
|
27
|
-
}
|
|
28
|
-
} else if (root === 1) {
|
|
46
|
+
} else if (a === 1) {
|
|
29
47
|
element = document.createElement("div");
|
|
30
48
|
for (const [name, value] of Object.entries(attributes)) {
|
|
31
49
|
if (value === null || value === undefined || value === false) continue;
|
|
32
50
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
33
51
|
}
|
|
34
52
|
element.setAttribute("data-component", "ui-text");
|
|
35
|
-
|
|
36
|
-
for (const child of children) {
|
|
37
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
38
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
39
|
-
projected.push([node, ""]);
|
|
40
|
-
element.append(node);
|
|
41
|
-
}
|
|
42
|
-
} else {
|
|
43
|
-
}
|
|
44
|
-
} else if (root === 2) {
|
|
53
|
+
} else if (a === 2) {
|
|
45
54
|
element = document.createElement("small");
|
|
46
55
|
for (const [name, value] of Object.entries(attributes)) {
|
|
47
56
|
if (value === null || value === undefined || value === false) continue;
|
|
48
57
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
49
58
|
}
|
|
50
59
|
element.setAttribute("data-component", "ui-text");
|
|
51
|
-
|
|
52
|
-
for (const child of children) {
|
|
53
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
54
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
55
|
-
projected.push([node, ""]);
|
|
56
|
-
element.append(node);
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
}
|
|
60
|
-
} else if (root === 3) {
|
|
60
|
+
} else if (a === 3) {
|
|
61
61
|
element = document.createElement("strong");
|
|
62
62
|
for (const [name, value] of Object.entries(attributes)) {
|
|
63
63
|
if (value === null || value === undefined || value === false) continue;
|
|
64
64
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
65
65
|
}
|
|
66
66
|
element.setAttribute("data-component", "ui-text");
|
|
67
|
-
|
|
68
|
-
for (const child of children) {
|
|
69
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
70
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
71
|
-
projected.push([node, ""]);
|
|
72
|
-
element.append(node);
|
|
73
|
-
}
|
|
74
|
-
} else {
|
|
75
|
-
}
|
|
76
|
-
} else if (root === 4) {
|
|
67
|
+
} else if (a === 4) {
|
|
77
68
|
element = document.createElement("label");
|
|
78
69
|
for (const [name, value] of Object.entries(attributes)) {
|
|
79
70
|
if (value === null || value === undefined || value === false) continue;
|
|
80
71
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
81
72
|
}
|
|
82
73
|
element.setAttribute("data-component", "ui-text");
|
|
83
|
-
|
|
84
|
-
for (const child of children) {
|
|
85
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
86
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
87
|
-
projected.push([node, ""]);
|
|
88
|
-
element.append(node);
|
|
89
|
-
}
|
|
90
|
-
} else {
|
|
91
|
-
}
|
|
92
|
-
} else if (root === 5) {
|
|
74
|
+
} else if (a === 5) {
|
|
93
75
|
element = document.createElement("h2");
|
|
94
76
|
for (const [name, value] of Object.entries(attributes)) {
|
|
95
77
|
if (value === null || value === undefined || value === false) continue;
|
|
96
78
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
97
79
|
}
|
|
98
80
|
element.setAttribute("data-component", "ui-text");
|
|
99
|
-
|
|
100
|
-
for (const child of children) {
|
|
101
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
102
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
103
|
-
projected.push([node, ""]);
|
|
104
|
-
element.append(node);
|
|
105
|
-
}
|
|
106
|
-
} else {
|
|
107
|
-
}
|
|
108
|
-
} else if (root === 6) {
|
|
81
|
+
} else if (a === 6) {
|
|
109
82
|
element = document.createElement("h3");
|
|
110
83
|
for (const [name, value] of Object.entries(attributes)) {
|
|
111
84
|
if (value === null || value === undefined || value === false) continue;
|
|
112
85
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
113
86
|
}
|
|
114
87
|
element.setAttribute("data-component", "ui-text");
|
|
115
|
-
|
|
116
|
-
for (const child of children) {
|
|
117
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
118
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
119
|
-
projected.push([node, ""]);
|
|
120
|
-
element.append(node);
|
|
121
|
-
}
|
|
122
|
-
} else {
|
|
123
|
-
}
|
|
124
|
-
} else if (root === 7) {
|
|
88
|
+
} else if (a === 7) {
|
|
125
89
|
element = document.createElement("h4");
|
|
126
90
|
for (const [name, value] of Object.entries(attributes)) {
|
|
127
91
|
if (value === null || value === undefined || value === false) continue;
|
|
128
92
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
129
93
|
}
|
|
130
94
|
element.setAttribute("data-component", "ui-text");
|
|
131
|
-
|
|
132
|
-
for (const child of children) {
|
|
133
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
134
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
135
|
-
projected.push([node, ""]);
|
|
136
|
-
element.append(node);
|
|
137
|
-
}
|
|
138
|
-
} else {
|
|
139
|
-
}
|
|
140
|
-
} else if (root === 8) {
|
|
95
|
+
} else if (a === 8) {
|
|
141
96
|
element = document.createElement("h5");
|
|
142
97
|
for (const [name, value] of Object.entries(attributes)) {
|
|
143
98
|
if (value === null || value === undefined || value === false) continue;
|
|
144
99
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
145
100
|
}
|
|
146
101
|
element.setAttribute("data-component", "ui-text");
|
|
147
|
-
|
|
148
|
-
for (const child of children) {
|
|
149
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
150
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
151
|
-
projected.push([node, ""]);
|
|
152
|
-
element.append(node);
|
|
153
|
-
}
|
|
154
|
-
} else {
|
|
155
|
-
}
|
|
156
|
-
} else if (root === 9) {
|
|
102
|
+
} else if (a === 9) {
|
|
157
103
|
element = document.createElement("h6");
|
|
158
104
|
for (const [name, value] of Object.entries(attributes)) {
|
|
159
105
|
if (value === null || value === undefined || value === false) continue;
|
|
160
106
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
161
107
|
}
|
|
162
108
|
element.setAttribute("data-component", "ui-text");
|
|
163
|
-
if (children.length > 0) {
|
|
164
|
-
for (const child of children) {
|
|
165
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
166
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
167
|
-
projected.push([node, ""]);
|
|
168
|
-
element.append(node);
|
|
169
|
-
}
|
|
170
|
-
} else {
|
|
171
|
-
}
|
|
172
109
|
} else {
|
|
173
110
|
element = document.createElement("p");
|
|
174
111
|
for (const [name, value] of Object.entries(attributes)) {
|
|
@@ -176,18 +113,307 @@ export function createUiText(options = {}) {
|
|
|
176
113
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
177
114
|
}
|
|
178
115
|
element.setAttribute("data-component", "ui-text");
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
116
|
+
}
|
|
117
|
+
const B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
|
|
118
|
+
const m1 = (d) => {
|
|
119
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
120
|
+
const r = { n };
|
|
121
|
+
p1(r, -1, d);
|
|
122
|
+
return r;
|
|
123
|
+
};
|
|
124
|
+
const p1 = (r, c, d) => {
|
|
125
|
+
};
|
|
126
|
+
const m3 = (d) => {
|
|
127
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
128
|
+
const r = { n };
|
|
129
|
+
p3(r, -1, d);
|
|
130
|
+
return r;
|
|
131
|
+
};
|
|
132
|
+
const p3 = (r, c, d) => {
|
|
133
|
+
};
|
|
134
|
+
const m5 = (d) => {
|
|
135
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
136
|
+
const r = { n };
|
|
137
|
+
p5(r, -1, d);
|
|
138
|
+
return r;
|
|
139
|
+
};
|
|
140
|
+
const p5 = (r, c, d) => {
|
|
141
|
+
};
|
|
142
|
+
const m7 = (d) => {
|
|
143
|
+
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
144
|
+
const r = { n };
|
|
145
|
+
p7(r, -1, d);
|
|
146
|
+
return r;
|
|
147
|
+
};
|
|
148
|
+
const p7 = (r, c, d) => {
|
|
149
|
+
};
|
|
150
|
+
const m9 = (d) => {
|
|
151
|
+
const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
|
|
152
|
+
const r = { n };
|
|
153
|
+
p9(r, -1, d);
|
|
154
|
+
return r;
|
|
155
|
+
};
|
|
156
|
+
const p9 = (r, c, d) => {
|
|
157
|
+
};
|
|
158
|
+
const m11 = (d) => {
|
|
159
|
+
const n = (P11 ??= buildTemplate(T11)).cloneNode(true);
|
|
160
|
+
const r = { n };
|
|
161
|
+
p11(r, -1, d);
|
|
162
|
+
return r;
|
|
163
|
+
};
|
|
164
|
+
const p11 = (r, c, d) => {
|
|
165
|
+
};
|
|
166
|
+
const m13 = (d) => {
|
|
167
|
+
const n = (P13 ??= buildTemplate(T13)).cloneNode(true);
|
|
168
|
+
const r = { n };
|
|
169
|
+
p13(r, -1, d);
|
|
170
|
+
return r;
|
|
171
|
+
};
|
|
172
|
+
const p13 = (r, c, d) => {
|
|
173
|
+
};
|
|
174
|
+
const m15 = (d) => {
|
|
175
|
+
const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
|
|
176
|
+
const r = { n };
|
|
177
|
+
p15(r, -1, d);
|
|
178
|
+
return r;
|
|
179
|
+
};
|
|
180
|
+
const p15 = (r, c, d) => {
|
|
181
|
+
};
|
|
182
|
+
const m17 = (d) => {
|
|
183
|
+
const n = (P17 ??= buildTemplate(T17)).cloneNode(true);
|
|
184
|
+
const r = { n };
|
|
185
|
+
p17(r, -1, d);
|
|
186
|
+
return r;
|
|
187
|
+
};
|
|
188
|
+
const p17 = (r, c, d) => {
|
|
189
|
+
};
|
|
190
|
+
const m19 = (d) => {
|
|
191
|
+
const n = (P19 ??= buildTemplate(T19)).cloneNode(true);
|
|
192
|
+
const r = { n };
|
|
193
|
+
p19(r, -1, d);
|
|
194
|
+
return r;
|
|
195
|
+
};
|
|
196
|
+
const p19 = (r, c, d) => {
|
|
197
|
+
};
|
|
198
|
+
const m21 = (d) => {
|
|
199
|
+
const n = (P21 ??= buildTemplate(T21)).cloneNode(true);
|
|
200
|
+
const r = { n };
|
|
201
|
+
p21(r, -1, d);
|
|
202
|
+
return r;
|
|
203
|
+
};
|
|
204
|
+
const p21 = (r, c, d) => {
|
|
205
|
+
};
|
|
206
|
+
const m0 = (n, d) => {
|
|
207
|
+
n.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
208
|
+
const t0 = n.firstChild;
|
|
209
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
210
|
+
p0(r, -1, d);
|
|
211
|
+
return r;
|
|
212
|
+
};
|
|
213
|
+
const p0 = (r, c, d) => {
|
|
214
|
+
if (c & 1021) {
|
|
215
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
216
|
+
const s0 = x0;
|
|
217
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
218
|
+
}
|
|
219
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
220
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
221
|
+
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
222
|
+
};
|
|
223
|
+
const m2 = (n, d) => {
|
|
224
|
+
n.append((P2 ??= buildTemplate(T2)).cloneNode(true));
|
|
225
|
+
const t0 = n.firstChild;
|
|
226
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
227
|
+
p2(r, -1, d);
|
|
228
|
+
return r;
|
|
229
|
+
};
|
|
230
|
+
const p2 = (r, c, d) => {
|
|
231
|
+
if (c & 1021) {
|
|
232
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
233
|
+
const s0 = x0;
|
|
234
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
235
|
+
}
|
|
236
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
237
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m3(d); at.before(r.b0.n); } }
|
|
238
|
+
else if (r.b0 !== undefined) p3(r.b0, c, d);
|
|
239
|
+
};
|
|
240
|
+
const m4 = (n, d) => {
|
|
241
|
+
n.append((P4 ??= buildTemplate(T4)).cloneNode(true));
|
|
242
|
+
const t0 = n.firstChild;
|
|
243
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
244
|
+
p4(r, -1, d);
|
|
245
|
+
return r;
|
|
246
|
+
};
|
|
247
|
+
const p4 = (r, c, d) => {
|
|
248
|
+
if (c & 1021) {
|
|
249
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
250
|
+
const s0 = x0;
|
|
251
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
252
|
+
}
|
|
253
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
254
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d); at.before(r.b0.n); } }
|
|
255
|
+
else if (r.b0 !== undefined) p5(r.b0, c, d);
|
|
256
|
+
};
|
|
257
|
+
const m6 = (n, d) => {
|
|
258
|
+
n.append((P6 ??= buildTemplate(T6)).cloneNode(true));
|
|
259
|
+
const t0 = n.firstChild;
|
|
260
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
261
|
+
p6(r, -1, d);
|
|
262
|
+
return r;
|
|
263
|
+
};
|
|
264
|
+
const p6 = (r, c, d) => {
|
|
265
|
+
if (c & 1021) {
|
|
266
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
267
|
+
const s0 = x0;
|
|
268
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
269
|
+
}
|
|
270
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
271
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m7(d); at.before(r.b0.n); } }
|
|
272
|
+
else if (r.b0 !== undefined) p7(r.b0, c, d);
|
|
273
|
+
};
|
|
274
|
+
const m8 = (n, d) => {
|
|
275
|
+
n.append((P8 ??= buildTemplate(T8)).cloneNode(true));
|
|
276
|
+
const t0 = n.firstChild;
|
|
277
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
278
|
+
p8(r, -1, d);
|
|
279
|
+
return r;
|
|
280
|
+
};
|
|
281
|
+
const p8 = (r, c, d) => {
|
|
282
|
+
if (c & 1021) {
|
|
283
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
284
|
+
const s0 = x0;
|
|
285
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
286
|
+
}
|
|
287
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
288
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m9(d); at.before(r.b0.n); } }
|
|
289
|
+
else if (r.b0 !== undefined) p9(r.b0, c, d);
|
|
290
|
+
};
|
|
291
|
+
const m10 = (n, d) => {
|
|
292
|
+
n.append((P10 ??= buildTemplate(T10)).cloneNode(true));
|
|
293
|
+
const t0 = n.firstChild;
|
|
294
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
295
|
+
p10(r, -1, d);
|
|
296
|
+
return r;
|
|
297
|
+
};
|
|
298
|
+
const p10 = (r, c, d) => {
|
|
299
|
+
if (c & 1021) {
|
|
300
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
301
|
+
const s0 = x0;
|
|
302
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
303
|
+
}
|
|
304
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
305
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m11(d); at.before(r.b0.n); } }
|
|
306
|
+
else if (r.b0 !== undefined) p11(r.b0, c, d);
|
|
307
|
+
};
|
|
308
|
+
const m12 = (n, d) => {
|
|
309
|
+
n.append((P12 ??= buildTemplate(T12)).cloneNode(true));
|
|
310
|
+
const t0 = n.firstChild;
|
|
311
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
312
|
+
p12(r, -1, d);
|
|
313
|
+
return r;
|
|
314
|
+
};
|
|
315
|
+
const p12 = (r, c, d) => {
|
|
316
|
+
if (c & 1021) {
|
|
317
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
318
|
+
const s0 = x0;
|
|
319
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
320
|
+
}
|
|
321
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
322
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m13(d); at.before(r.b0.n); } }
|
|
323
|
+
else if (r.b0 !== undefined) p13(r.b0, c, d);
|
|
324
|
+
};
|
|
325
|
+
const m14 = (n, d) => {
|
|
326
|
+
n.append((P14 ??= buildTemplate(T14)).cloneNode(true));
|
|
327
|
+
const t0 = n.firstChild;
|
|
328
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
329
|
+
p14(r, -1, d);
|
|
330
|
+
return r;
|
|
331
|
+
};
|
|
332
|
+
const p14 = (r, c, d) => {
|
|
333
|
+
if (c & 1021) {
|
|
334
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
335
|
+
const s0 = x0;
|
|
336
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
337
|
+
}
|
|
338
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
339
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m15(d); at.before(r.b0.n); } }
|
|
340
|
+
else if (r.b0 !== undefined) p15(r.b0, c, d);
|
|
341
|
+
};
|
|
342
|
+
const m16 = (n, d) => {
|
|
343
|
+
n.append((P16 ??= buildTemplate(T16)).cloneNode(true));
|
|
344
|
+
const t0 = n.firstChild;
|
|
345
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
346
|
+
p16(r, -1, d);
|
|
347
|
+
return r;
|
|
348
|
+
};
|
|
349
|
+
const p16 = (r, c, d) => {
|
|
350
|
+
if (c & 1021) {
|
|
351
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
352
|
+
const s0 = x0;
|
|
353
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
354
|
+
}
|
|
355
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
356
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m17(d); at.before(r.b0.n); } }
|
|
357
|
+
else if (r.b0 !== undefined) p17(r.b0, c, d);
|
|
358
|
+
};
|
|
359
|
+
const m18 = (n, d) => {
|
|
360
|
+
n.append((P18 ??= buildTemplate(T18)).cloneNode(true));
|
|
361
|
+
const t0 = n.firstChild;
|
|
362
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
363
|
+
p18(r, -1, d);
|
|
364
|
+
return r;
|
|
365
|
+
};
|
|
366
|
+
const p18 = (r, c, d) => {
|
|
367
|
+
if (c & 1021) {
|
|
368
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
369
|
+
const s0 = x0;
|
|
370
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
371
|
+
}
|
|
372
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
373
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m19(d); at.before(r.b0.n); } }
|
|
374
|
+
else if (r.b0 !== undefined) p19(r.b0, c, d);
|
|
375
|
+
};
|
|
376
|
+
const m20 = (n, d) => {
|
|
377
|
+
n.append((P20 ??= buildTemplate(T20)).cloneNode(true));
|
|
378
|
+
const t0 = n.firstChild;
|
|
379
|
+
const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
380
|
+
p20(r, -1, d);
|
|
381
|
+
return r;
|
|
382
|
+
};
|
|
383
|
+
const p20 = (r, c, d) => {
|
|
384
|
+
if (c & 1021) {
|
|
385
|
+
const x0 = hostState(["grow","size","tone","weight","variant","truncate","align","font","wrap"], [v[3], v[4], v[5], v[8], v[7], v[6], v[0], v[2], v[9]]);
|
|
386
|
+
const s0 = x0;
|
|
387
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-text-state", (r.v0 = s0) === "" ? null : s0);
|
|
388
|
+
}
|
|
389
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
|
|
390
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m21(d); at.before(r.b0.n); } }
|
|
391
|
+
else if (r.b0 !== undefined) p21(r.b0, c, d);
|
|
392
|
+
};
|
|
393
|
+
const M = [m0, m2, m4, m6, m8, m10, m12, m14, m16, m18, m20], N = [p0, p2, p4, p6, p8, p10, p12, p14, p16, p18, p20];
|
|
394
|
+
let R;
|
|
395
|
+
const p = (c, d) => {
|
|
396
|
+
if (R === null) return;
|
|
397
|
+
if (R === undefined) { R = M[a](element, d); return; }
|
|
398
|
+
if (c & 2) {
|
|
399
|
+
const t = ((v[1] === "span") ? 0 : (v[1] === "div") ? 1 : (v[1] === "small") ? 2 : (v[1] === "strong") ? 3 : (v[1] === "label") ? 4 : (v[1] === "h2") ? 5 : (v[1] === "h3") ? 6 : (v[1] === "h4") ? 7 : (v[1] === "h5") ? 8 : (v[1] === "h6") ? 9 : 10);
|
|
400
|
+
if (t !== a) {
|
|
401
|
+
dispose(R);
|
|
402
|
+
for (const key in I.r) delete I.r[key];
|
|
403
|
+
const previous = I.e, next = armElement(previous, A[a], A[t]);
|
|
404
|
+
I.B.b = Q[t];
|
|
405
|
+
a = t;
|
|
406
|
+
R = null;
|
|
407
|
+
R = M[t](next, d);
|
|
408
|
+
replaceRoot(I, previous, next);
|
|
409
|
+
return;
|
|
185
410
|
}
|
|
186
|
-
} else {
|
|
187
411
|
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
412
|
+
N[a](R, c, d);
|
|
413
|
+
};
|
|
414
|
+
const I = { B };
|
|
415
|
+
const J = project(I, children, slots);
|
|
416
|
+
attachGeneratedController(element, S, v, p, undefined, undefined, I);
|
|
417
|
+
manageProps(I);
|
|
191
418
|
return element;
|
|
192
419
|
}
|
|
193
|
-
|
package/vanilla/UiTextarea.d.ts
CHANGED