@threadlabs/looma 0.25.7 → 0.26.1
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 +8 -6
- 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-scroll-area/ui-scroll-area.html +12 -0
- 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 +7 -5
- 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 +12 -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 +89 -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 +2 -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 +8 -6
- 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.d.ts +9 -0
- package/vue/UiScrollArea.vue +34 -2
- 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 +5 -4
- 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 +28 -5
- 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 +1405 -1391
- package/vue/host.ts +22 -20
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
31
31
|
</event>
|
|
32
32
|
</defs>
|
|
33
|
-
<fieldset role="radiogroup" from:aria-required="required" from:aria-invalid="invalid" from:disabled="disabled">
|
|
33
|
+
<fieldset role="radiogroup" from:aria-required="$required" from:aria-invalid="$invalid" from:disabled="$disabled">
|
|
34
34
|
<legend>{$label}</legend>
|
|
35
35
|
<slot></slot>
|
|
36
36
|
</fieldset>
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
<prop name="orientation" type="keyword" values="vertical, horizontal" default="vertical"
|
|
8
8
|
>The direction the content scrolls. Vertical scrolls up and down and clips sideways overflow; horizontal scrolls sideways and clips vertical
|
|
9
9
|
overflow.</prop>
|
|
10
|
+
<prop name="trim" type="boolean" default="false"
|
|
11
|
+
>Removes the outer block margins of the first and last projected items when the surrounding panel owns its edge padding. Margins between items remain
|
|
12
|
+
intact.</prop>
|
|
10
13
|
</defs>
|
|
11
14
|
<div><div class="content" $ref="content"><slot></slot></div></div>
|
|
12
15
|
<style>
|
|
@@ -41,6 +44,15 @@
|
|
|
41
44
|
display: flow-root;
|
|
42
45
|
}
|
|
43
46
|
|
|
47
|
+
/* Trim projected edges without changing spacing inside an item. */
|
|
48
|
+
:host([trim]) .content > :slotted(:first-child) {
|
|
49
|
+
margin-block-start: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([trim]) .content > :slotted(:last-child) {
|
|
53
|
+
margin-block-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
44
56
|
:host([orientation="horizontal"]) {
|
|
45
57
|
overflow-x: auto;
|
|
46
58
|
overflow-y: hidden;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
>Marks the row as the current result: it gets the hover surface and aria-current="true", which assistive technology announces as current. Set it on one row
|
|
9
9
|
at a time, such as the result the arrow keys have moved to.</prop>
|
|
10
10
|
</defs>
|
|
11
|
-
<button type="button" from:disabled="disabled" from:aria-current="selected">
|
|
11
|
+
<button type="button" from:disabled="$disabled" from:aria-current="$selected">
|
|
12
12
|
<span class="leading"><slot name="leading"></slot></span>
|
|
13
13
|
<span class="content">
|
|
14
14
|
<span class="title"><slot name="title"></slot></span>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</event>
|
|
16
16
|
</defs>
|
|
17
17
|
<div>
|
|
18
|
-
<dialog $ref="dialog" from:aria-label="label">
|
|
18
|
+
<dialog $ref="dialog" from:aria-label="$label">
|
|
19
19
|
<div class="panel">
|
|
20
20
|
<div class="search"><slot name="search"></slot></div>
|
|
21
21
|
<div class="status"><slot name="status"></slot></div>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<section>
|
|
12
12
|
<span class="head">
|
|
13
13
|
<span class="copy">
|
|
14
|
-
<h2 class="heading" from:hidden="not heading">{$heading}</h2>
|
|
14
|
+
<h2 class="heading" from:hidden="not $heading">{$heading}</h2>
|
|
15
15
|
<span class="description"><slot name="description"></slot></span>
|
|
16
16
|
</span>
|
|
17
17
|
<span class="actions"><slot name="actions"></slot></span>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
with roomier padding. Under a coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. It is not the native size attribute: a select
|
|
13
13
|
is always a single-choice dropdown. Change it after render through this option; the element's size property is the native one.</prop>
|
|
14
14
|
</defs>
|
|
15
|
-
<select from:disabled="disabled" from:required="required" from:aria-invalid="invalid"><slot></slot></select>
|
|
15
|
+
<select from:disabled="$disabled" from:required="$required" from:aria-invalid="$invalid"><slot></slot></select>
|
|
16
16
|
<style>
|
|
17
17
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
18
18
|
@property --ui-select-border {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<prop name="selectable" type="boolean" default="false">Gives a document divider a pointer-sized hit area. The editor owns selection and deletion.</prop>
|
|
8
8
|
<prop name="selected" type="boolean" default="false">Shows the selected document divider. Selection does not change separator semantics.</prop>
|
|
9
9
|
</defs>
|
|
10
|
-
<hr from:aria-orientation="orientation">
|
|
10
|
+
<hr from:aria-orientation="$orientation">
|
|
11
11
|
<style>
|
|
12
12
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
13
13
|
@property --ui-separator-color {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
aria-orientation="vertical"
|
|
33
33
|
tabindex="0"
|
|
34
34
|
data-ui-affordance="resize"
|
|
35
|
-
from:aria-label="resizeLabel"
|
|
36
|
-
from:hidden="not resizable or drawer or internalCollapsed"
|
|
35
|
+
from:aria-label="$resizeLabel"
|
|
36
|
+
from:hidden="not $resizable or $drawer or $internalCollapsed"
|
|
37
37
|
>
|
|
38
38
|
<span class="guide" aria-hidden="true"></span>
|
|
39
39
|
</div>
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
</defs>
|
|
8
8
|
<span
|
|
9
9
|
class="ring"
|
|
10
|
-
from:role="{ true: 'status', false: null }[concat(label != '')]"
|
|
11
|
-
from:aria-label="{ true: label, false: null }[concat(label != '')]"
|
|
12
|
-
from:aria-live="{ true: 'polite', false: null }[concat(label != '')]"
|
|
13
|
-
from:aria-hidden="{ true: null, false: 'true' }[concat(label != '')]"
|
|
10
|
+
from:role="{ true: 'status', false: null }[concat($label != '')]"
|
|
11
|
+
from:aria-label="{ true: $label, false: null }[concat($label != '')]"
|
|
12
|
+
from:aria-live="{ true: 'polite', false: null }[concat($label != '')]"
|
|
13
|
+
from:aria-hidden="{ true: null, false: 'true' }[concat($label != '')]"
|
|
14
14
|
>
|
|
15
15
|
<svg viewBox="0 0 50 50" fill="none" aria-hidden="true" focusable="false">
|
|
16
16
|
<circle class="track" cx="25" cy="25" r="20"></circle>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
>Where items sit along a stack that is taller than its content: start (the default), center, end, or between, which spreads the spare space between items.
|
|
13
13
|
It has no effect unless the stack is given a height or stretched to one.</prop>
|
|
14
14
|
</defs>
|
|
15
|
-
<div style:--ui-stack-height="height"><slot></slot></div>
|
|
15
|
+
<div style:--ui-stack-height="$height"><slot></slot></div>
|
|
16
16
|
<style>
|
|
17
17
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
18
18
|
@property --ui-stack-height {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
>Where it sits. inline takes its place in the view's flow; panel sits it on a dashed surface, for an empty area in a page; fill centres it in all the space
|
|
9
9
|
it is given, for a whole view that is loading or failed.</prop>
|
|
10
10
|
</defs>
|
|
11
|
-
<div from:role="{ true: 'alert', false: 'status' }[concat(kind = 'error')]">
|
|
12
|
-
<ui-spinner size="sm" from:hidden="kind != 'loading'"></ui-spinner>
|
|
11
|
+
<div from:role="{ true: 'alert', false: 'status' }[concat($kind = 'error')]">
|
|
12
|
+
<ui-spinner size="sm" from:hidden="$kind != 'loading'"></ui-spinner>
|
|
13
13
|
<span class="copy">
|
|
14
|
-
<strong class="heading" from:hidden="not heading">{$heading}</strong>
|
|
14
|
+
<strong class="heading" from:hidden="not $heading">{$heading}</strong>
|
|
15
15
|
<span class="message"><slot></slot></span>
|
|
16
16
|
</span>
|
|
17
17
|
<span class="action"><slot name="action"></slot></span>
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
type="checkbox"
|
|
26
26
|
role="switch"
|
|
27
27
|
$ref="input"
|
|
28
|
-
.checked="internalChecked"
|
|
29
|
-
from:disabled="disabled"
|
|
30
|
-
from:required="required"
|
|
31
|
-
from:name="name"
|
|
32
|
-
from:value="value"
|
|
28
|
+
.checked="$internalChecked"
|
|
29
|
+
from:disabled="$disabled"
|
|
30
|
+
from:required="$required"
|
|
31
|
+
from:name="$name"
|
|
32
|
+
from:value="$value"
|
|
33
33
|
>
|
|
34
34
|
<span class="text">
|
|
35
35
|
<span class="label"><slot></slot></span>
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
</event>
|
|
24
24
|
</defs>
|
|
25
25
|
<div>
|
|
26
|
-
<div class="list" $ref="list" role="tablist" from:aria-label="label" from:aria-orientation="orientation">
|
|
26
|
+
<div class="list" $ref="list" role="tablist" from:aria-label="$label" from:aria-orientation="$orientation">
|
|
27
27
|
<slot name="tab">
|
|
28
28
|
<button
|
|
29
|
-
$each="tab of tabs"
|
|
30
|
-
$key="tab.id"
|
|
29
|
+
$each="tab of $tabs"
|
|
30
|
+
$key="$tab.id"
|
|
31
31
|
type="button"
|
|
32
32
|
role="tab"
|
|
33
|
-
from:id="concat(tab.id, '-tab')"
|
|
34
|
-
from:value="tab.id"
|
|
35
|
-
from:aria-controls="tab.id"
|
|
36
|
-
from:aria-selected="tab.id = internalValue"
|
|
37
|
-
$value="tab.label"
|
|
33
|
+
from:id="concat($tab.id, '-tab')"
|
|
34
|
+
from:value="$tab.id"
|
|
35
|
+
from:aria-controls="$tab.id"
|
|
36
|
+
from:aria-selected="$tab.id = $internalValue"
|
|
37
|
+
$value="$tab.label"
|
|
38
38
|
>
|
|
39
39
|
</button>
|
|
40
40
|
</slot>
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
heading, h2 to h6, below a Page Header's h1 and a Section's h2. A heading takes its size and weight from size and weight, like any other text.</prop>
|
|
25
25
|
</defs>
|
|
26
26
|
<template $match>
|
|
27
|
-
<span $when="as = 'span'"><slot></slot></span>
|
|
28
|
-
<div $when="as = 'div'"><slot></slot></div>
|
|
29
|
-
<small $when="as = 'small'"><slot></slot></small>
|
|
30
|
-
<strong $when="as = 'strong'"><slot></slot></strong>
|
|
31
|
-
<label $when="as = 'label'"><slot></slot></label>
|
|
32
|
-
<h2 $when="as = 'h2'"><slot></slot></h2>
|
|
33
|
-
<h3 $when="as = 'h3'"><slot></slot></h3>
|
|
34
|
-
<h4 $when="as = 'h4'"><slot></slot></h4>
|
|
35
|
-
<h5 $when="as = 'h5'"><slot></slot></h5>
|
|
36
|
-
<h6 $when="as = 'h6'"><slot></slot></h6>
|
|
27
|
+
<span $when="$as = 'span'"><slot></slot></span>
|
|
28
|
+
<div $when="$as = 'div'"><slot></slot></div>
|
|
29
|
+
<small $when="$as = 'small'"><slot></slot></small>
|
|
30
|
+
<strong $when="$as = 'strong'"><slot></slot></strong>
|
|
31
|
+
<label $when="$as = 'label'"><slot></slot></label>
|
|
32
|
+
<h2 $when="$as = 'h2'"><slot></slot></h2>
|
|
33
|
+
<h3 $when="$as = 'h3'"><slot></slot></h3>
|
|
34
|
+
<h4 $when="$as = 'h4'"><slot></slot></h4>
|
|
35
|
+
<h5 $when="$as = 'h5'"><slot></slot></h5>
|
|
36
|
+
<h6 $when="$as = 'h6'"><slot></slot></h6>
|
|
37
37
|
<p $else><slot></slot></p>
|
|
38
38
|
</template>
|
|
39
39
|
<style>
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
text, for compact forms; lg has roomier padding. Under a coarse pointer, sm keeps body-size text.</prop>
|
|
19
19
|
</defs>
|
|
20
20
|
<textarea
|
|
21
|
-
from:value="value"
|
|
22
|
-
from:disabled="disabled"
|
|
23
|
-
from:readonly="readonly"
|
|
24
|
-
from:required="required"
|
|
25
|
-
from:aria-invalid="invalid"
|
|
26
|
-
from:rows="rows"
|
|
27
|
-
style:--_rows="rows"
|
|
28
|
-
style:--_max-rows="maxRows"
|
|
21
|
+
from:value="$value"
|
|
22
|
+
from:disabled="$disabled"
|
|
23
|
+
from:readonly="$readonly"
|
|
24
|
+
from:required="$required"
|
|
25
|
+
from:aria-invalid="$invalid"
|
|
26
|
+
from:rows="$rows"
|
|
27
|
+
style:--_rows="$rows"
|
|
28
|
+
style:--_max-rows="$maxRows"
|
|
29
29
|
></textarea>
|
|
30
30
|
<style>
|
|
31
31
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
13
13
|
</event>
|
|
14
14
|
</defs>
|
|
15
|
-
<div from:role="{ neutral: 'status', info: 'status', success: 'status', warning: 'status', danger: 'alert' }[tone]">
|
|
15
|
+
<div from:role="{ neutral: 'status', info: 'status', success: 'status', warning: 'status', danger: 'alert' }[$tone]">
|
|
16
16
|
<div class="message"><slot></slot></div>
|
|
17
17
|
<div class="action" $ref="action"><slot name="action"></slot></div>
|
|
18
18
|
<ui-icon-button class="dismiss" size="sm" variant="ghost" from:round="true" label="Dismiss notification">
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
<div role="region" aria-label="Notifications" aria-live="polite" popover="manual">
|
|
35
35
|
<slot></slot>
|
|
36
36
|
<div
|
|
37
|
-
$each="toast of toasts"
|
|
38
|
-
$key="toast.id"
|
|
37
|
+
$each="toast of $toasts"
|
|
38
|
+
$key="$toast.id"
|
|
39
39
|
class="toast"
|
|
40
|
-
class:closing="toast.closing"
|
|
41
|
-
from:id="toast.id"
|
|
42
|
-
from:role="toast.role"
|
|
43
|
-
from:data-tone="toast.tone"
|
|
40
|
+
class:closing="$toast.closing"
|
|
41
|
+
from:id="$toast.id"
|
|
42
|
+
from:role="$toast.role"
|
|
43
|
+
from:data-tone="$toast.tone"
|
|
44
44
|
>
|
|
45
45
|
<span class="message">{$toast.message}</span>
|
|
46
|
-
<span class="dismiss" from:data-toast="toast.id">
|
|
47
|
-
<ui-icon-button size="sm" variant="ghost" from:round="true" from:label="concat('Dismiss ', toast.message)">
|
|
46
|
+
<span class="dismiss" from:data-toast="$toast.id">
|
|
47
|
+
<ui-icon-button size="sm" variant="ghost" from:round="true" from:label="concat('Dismiss ', $toast.message)">
|
|
48
48
|
<ui-icon name="x"></ui-icon>
|
|
49
49
|
</ui-icon-button>
|
|
50
50
|
</span>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
33
33
|
</event>
|
|
34
34
|
</defs>
|
|
35
|
-
<span role="tooltip" from:hidden="not internalOpen"><div class="surface">
|
|
35
|
+
<span role="tooltip" from:hidden="not $internalOpen"><div class="surface">
|
|
36
36
|
<slot></slot>
|
|
37
37
|
<span class="shortcut"><slot name="shortcut"></slot></span>
|
|
38
38
|
</div></span>
|
|
@@ -57,25 +57,25 @@
|
|
|
57
57
|
</defs>
|
|
58
58
|
<div
|
|
59
59
|
role="treeitem"
|
|
60
|
-
from:aria-label="label"
|
|
61
|
-
from:aria-level="structuralLevel"
|
|
62
|
-
from:aria-selected="selected"
|
|
63
|
-
from:aria-disabled="disabled"
|
|
64
|
-
from:data-item-id="itemId"
|
|
65
|
-
from:data-drag-type="dragType"
|
|
66
|
-
from:data-drop-scope="dropScope"
|
|
67
|
-
from:data-accepts="accepts"
|
|
68
|
-
from:data-drop-depth="dropDepth"
|
|
69
|
-
from:data-subtree-depth="subtreeDepth"
|
|
60
|
+
from:aria-label="$label"
|
|
61
|
+
from:aria-level="$structuralLevel"
|
|
62
|
+
from:aria-selected="$selected"
|
|
63
|
+
from:aria-disabled="$disabled"
|
|
64
|
+
from:data-item-id="$itemId"
|
|
65
|
+
from:data-drag-type="$dragType"
|
|
66
|
+
from:data-drop-scope="$dropScope"
|
|
67
|
+
from:data-accepts="$accepts"
|
|
68
|
+
from:data-drop-depth="$dropDepth"
|
|
69
|
+
from:data-subtree-depth="$subtreeDepth"
|
|
70
70
|
>
|
|
71
71
|
<div class="row" $ref="row">
|
|
72
72
|
<button
|
|
73
|
-
$if="sortable and not disabled"
|
|
73
|
+
$if="$sortable and not $disabled"
|
|
74
74
|
class="drag-handle"
|
|
75
75
|
$ref="dragHandle"
|
|
76
76
|
type="button"
|
|
77
77
|
draggable="true"
|
|
78
|
-
from:aria-label="{ true: concat('Cancel moving ', label), false: concat('Drag ', label, ' to reorder') }[concat(moving)]"
|
|
78
|
+
from:aria-label="{ true: concat('Cancel moving ', $label), false: concat('Drag ', $label, ' to reorder') }[concat($moving)]"
|
|
79
79
|
>
|
|
80
80
|
<svg
|
|
81
81
|
aria-hidden="true"
|
|
@@ -95,26 +95,26 @@
|
|
|
95
95
|
<circle cx="15" cy="19" r="1"></circle>
|
|
96
96
|
</svg>
|
|
97
97
|
</button>
|
|
98
|
-
<button class="disclosure" $ref="disclosure" type="button" from:disabled="disabled" from:hidden="not isContainer">
|
|
98
|
+
<button class="disclosure" $ref="disclosure" type="button" from:disabled="$disabled" from:hidden="not $isContainer">
|
|
99
99
|
<span class="disclosure-icon" aria-hidden="true"></span>
|
|
100
100
|
</button>
|
|
101
101
|
<label class="selection-hit"><input
|
|
102
102
|
class="selection-checkbox"
|
|
103
103
|
type="checkbox"
|
|
104
104
|
tabindex="-1"
|
|
105
|
-
from:checked="selected"
|
|
106
|
-
from:disabled="disabled"
|
|
107
|
-
from:aria-label="concat('Select ', label)"
|
|
105
|
+
from:checked="$selected"
|
|
106
|
+
from:disabled="$disabled"
|
|
107
|
+
from:aria-label="concat('Select ', $label)"
|
|
108
108
|
></label>
|
|
109
109
|
<span class="leading" $ref="leading"><slot name="leading"></slot></span>
|
|
110
110
|
<span class="label" $ref="label"><span class="label-text" $ref="labelText"><slot name="label">{$label}</slot></span></span>
|
|
111
111
|
<span class="actions" $ref="actions">
|
|
112
|
-
<ui-button $if="moving" data-tree-cancel-move variant="ghost" tone="neutral" size="sm" aria-label="Cancel move">Cancel</ui-button>
|
|
112
|
+
<ui-button $if="$moving" data-tree-cancel-move variant="ghost" tone="neutral" size="sm" aria-label="Cancel move">Cancel</ui-button>
|
|
113
113
|
<span $else><slot name="actions"></slot></span>
|
|
114
114
|
</span>
|
|
115
115
|
<span class="drop-indicator row-drop-indicator" aria-hidden="true"></span>
|
|
116
116
|
</div>
|
|
117
|
-
<div class="children" $ref="children" role="group" from:hidden="not (isContainer and internalExpanded)"><slot></slot></div>
|
|
117
|
+
<div class="children" $ref="children" role="group" from:hidden="not ($isContainer and $internalExpanded)"><slot></slot></div>
|
|
118
118
|
<span class="drop-indicator subtree-drop-indicator" aria-hidden="true"></span>
|
|
119
119
|
</div>
|
|
120
120
|
<style>
|