@threadlabs/looma 0.25.6 → 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 +32 -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 +14 -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 +2 -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.d.ts +9 -0
- package/vue/UiTreeItem.vue +41 -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 +28 -5
- package/vue/chunks/control.js +41 -13
- package/vue/chunks/host.js +19 -18
- package/vue/components.css +1398 -1383
- package/vue/host.ts +22 -20
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
</defs>
|
|
29
29
|
<span>
|
|
30
30
|
<slot></slot>
|
|
31
|
-
<img class="image" $ref="image" from:src="src" alt="" aria-hidden="true" from:hidden="hasAuthoredImage or not hasImage">
|
|
32
|
-
<span class="fallback" from:aria-hidden="hasImage" from:hidden="hasImage">
|
|
33
|
-
<span from:hidden="showGlyph">{$initials}</span>
|
|
34
|
-
<span from:hidden="not showGlyph"><ui-icon name="user-round"></ui-icon></span>
|
|
31
|
+
<img class="image" $ref="image" from:src="$src" alt="" aria-hidden="true" from:hidden="$hasAuthoredImage or not $hasImage">
|
|
32
|
+
<span class="fallback" from:aria-hidden="$hasImage" from:hidden="$hasImage">
|
|
33
|
+
<span from:hidden="$showGlyph">{$initials}</span>
|
|
34
|
+
<span from:hidden="not $showGlyph"><ui-icon name="user-round"></ui-icon></span>
|
|
35
35
|
</span>
|
|
36
36
|
</span>
|
|
37
37
|
<style>
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
<state type="integer" name="overflowCount" value="0"></state>
|
|
17
17
|
<state type="string" name="overflowAnnouncement" value=""></state>
|
|
18
18
|
</defs>
|
|
19
|
-
<div role="group" from:aria-label="label">
|
|
19
|
+
<div role="group" from:aria-label="$label">
|
|
20
20
|
<slot></slot>
|
|
21
|
-
<span class="overflow" $ref="overflow" role="img" from:hidden="not overflowCount" from:aria-label="overflowAnnouncement">+{$overflowCount}</span>
|
|
21
|
+
<span class="overflow" $ref="overflow" role="img" from:hidden="not $overflowCount" from:aria-label="$overflowAnnouncement">+{$overflowCount}</span>
|
|
22
22
|
</div>
|
|
23
23
|
<style>
|
|
24
24
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<prop name="current" type="boolean" default="false"
|
|
4
4
|
>Marks the step as the view you are on: it is plain text with aria-current="page". Every other step holds a link.</prop>
|
|
5
5
|
</defs>
|
|
6
|
-
<li from:aria-current="{ true: 'page', false: null }[concat(current)]">
|
|
6
|
+
<li from:aria-current="{ true: 'page', false: null }[concat($current)]">
|
|
7
7
|
<span class="separator" aria-hidden="true"><ui-icon name="chevron-right"></ui-icon></span>
|
|
8
8
|
<span class="content"><slot></slot></span>
|
|
9
9
|
</li>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="label" type="string" default="Breadcrumb">The navigation landmark's accessible name.</prop>
|
|
4
4
|
</defs>
|
|
5
|
-
<nav from:aria-label="label"><ol role="list"><slot></slot></ol></nav>
|
|
5
|
+
<nav from:aria-label="$label"><ol role="list"><slot></slot></ol></nav>
|
|
6
6
|
<style>
|
|
7
7
|
/* Where a view sits: a trail of ui-breadcrumb-item, from the top down to the current view. It wraps
|
|
8
8
|
rather than scrolls, so every step stays reachable. */
|
|
@@ -40,53 +40,53 @@
|
|
|
40
40
|
</defs>
|
|
41
41
|
<template $match>
|
|
42
42
|
<a
|
|
43
|
-
$when="variant = 'card' and as = 'a'"
|
|
44
|
-
from:href="{ true: null, false: href }[concat(disabled or loading or pending)]"
|
|
45
|
-
from:target="target"
|
|
46
|
-
from:rel="rel"
|
|
47
|
-
from:aria-disabled="{ true: 'true', false: null }[concat(disabled or loading or pending)]"
|
|
48
|
-
from:aria-busy="loading or pending"
|
|
49
|
-
from:tabindex="{ true: '0', false: null }[concat((loading or pending) and not disabled)]"
|
|
43
|
+
$when="$variant = 'card' and $as = 'a'"
|
|
44
|
+
from:href="{ true: null, false: $href }[concat($disabled or $loading or $pending)]"
|
|
45
|
+
from:target="$target"
|
|
46
|
+
from:rel="$rel"
|
|
47
|
+
from:aria-disabled="{ true: 'true', false: null }[concat($disabled or $loading or $pending)]"
|
|
48
|
+
from:aria-busy="$loading or $pending"
|
|
49
|
+
from:tabindex="{ true: '0', false: null }[concat(($loading or $pending) and not $disabled)]"
|
|
50
50
|
>
|
|
51
|
-
<span class="card-icon"><ui-spinner $if="loading or pending" size="sm"></ui-spinner><template $if="not (loading or pending)"><slot
|
|
51
|
+
<span class="card-icon"><ui-spinner $if="$loading or $pending" size="sm"></ui-spinner><template $if="not ($loading or $pending)"><slot
|
|
52
52
|
name="icon"
|
|
53
53
|
></slot></template></span>
|
|
54
54
|
<span class="card-content"><slot></slot></span>
|
|
55
55
|
<span class="card-action"><slot name="action"><ui-icon name="chevron-right" aria-hidden="true"></ui-icon></slot></span>
|
|
56
56
|
</a>
|
|
57
57
|
<button
|
|
58
|
-
$when="variant = 'card'"
|
|
59
|
-
from:type="type"
|
|
60
|
-
from:disabled="disabled"
|
|
61
|
-
from:aria-disabled="{ true: 'true', false: null }[concat(loading or pending)]"
|
|
62
|
-
from:aria-busy="loading or pending"
|
|
58
|
+
$when="$variant = 'card'"
|
|
59
|
+
from:type="$type"
|
|
60
|
+
from:disabled="$disabled"
|
|
61
|
+
from:aria-disabled="{ true: 'true', false: null }[concat($loading or $pending)]"
|
|
62
|
+
from:aria-busy="$loading or $pending"
|
|
63
63
|
>
|
|
64
|
-
<span class="card-icon"><ui-spinner $if="loading or pending" size="sm"></ui-spinner><template $if="not (loading or pending)"><slot
|
|
64
|
+
<span class="card-icon"><ui-spinner $if="$loading or $pending" size="sm"></ui-spinner><template $if="not ($loading or $pending)"><slot
|
|
65
65
|
name="icon"
|
|
66
66
|
></slot></template></span>
|
|
67
67
|
<span class="card-content"><slot></slot></span>
|
|
68
68
|
<span class="card-action"><slot name="action"><ui-icon name="chevron-right" aria-hidden="true"></ui-icon></slot></span>
|
|
69
69
|
</button>
|
|
70
70
|
<a
|
|
71
|
-
$when="as = 'a'"
|
|
72
|
-
from:href="{ true: null, false: href }[concat(disabled or loading or pending)]"
|
|
73
|
-
from:target="target"
|
|
74
|
-
from:rel="rel"
|
|
75
|
-
from:aria-disabled="{ true: 'true', false: null }[concat(disabled or loading or pending)]"
|
|
76
|
-
from:aria-busy="loading or pending"
|
|
77
|
-
from:tabindex="{ true: '0', false: null }[concat((loading or pending) and not disabled)]"
|
|
71
|
+
$when="$as = 'a'"
|
|
72
|
+
from:href="{ true: null, false: $href }[concat($disabled or $loading or $pending)]"
|
|
73
|
+
from:target="$target"
|
|
74
|
+
from:rel="$rel"
|
|
75
|
+
from:aria-disabled="{ true: 'true', false: null }[concat($disabled or $loading or $pending)]"
|
|
76
|
+
from:aria-busy="$loading or $pending"
|
|
77
|
+
from:tabindex="{ true: '0', false: null }[concat(($loading or $pending) and not $disabled)]"
|
|
78
78
|
>
|
|
79
|
-
<span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
79
|
+
<span $if="$loading or $pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
80
80
|
<slot></slot>
|
|
81
81
|
</a>
|
|
82
82
|
<button
|
|
83
83
|
$else
|
|
84
|
-
from:type="type"
|
|
85
|
-
from:disabled="disabled"
|
|
86
|
-
from:aria-disabled="{ true: 'true', false: null }[concat(loading or pending)]"
|
|
87
|
-
from:aria-busy="loading or pending"
|
|
84
|
+
from:type="$type"
|
|
85
|
+
from:disabled="$disabled"
|
|
86
|
+
from:aria-disabled="{ true: 'true', false: null }[concat($loading or $pending)]"
|
|
87
|
+
from:aria-busy="$loading or $pending"
|
|
88
88
|
>
|
|
89
|
-
<span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
89
|
+
<span $if="$loading or $pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
90
90
|
<slot></slot>
|
|
91
91
|
</button>
|
|
92
92
|
</template>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
</defs>
|
|
7
7
|
<div role="note">
|
|
8
8
|
<span class="icon" aria-hidden="true">
|
|
9
|
-
<svg $if="tone = 'info'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
9
|
+
<svg $if="$tone = 'info'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
10
10
|
<circle cx="12" cy="12" r="10"></circle>
|
|
11
11
|
<path d="M12 16v-4"></path>
|
|
12
12
|
<path d="M12 8h.01"></path>
|
|
13
13
|
</svg>
|
|
14
14
|
<svg
|
|
15
|
-
$if="tone = 'neutral' or tone = 'note'"
|
|
15
|
+
$if="$tone = 'neutral' or $tone = 'note'"
|
|
16
16
|
viewBox="0 0 24 24"
|
|
17
17
|
fill="none"
|
|
18
18
|
stroke="currentColor"
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
<path d="M13 2v7h7"></path>
|
|
25
25
|
<path d="m9.5 17.5 4-4 2 2-4 4H9.5v-2Z"></path>
|
|
26
26
|
</svg>
|
|
27
|
-
<svg $if="tone = 'warning'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
27
|
+
<svg $if="$tone = 'warning'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
28
28
|
<path d="m21.73 18-8-14a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"></path>
|
|
29
29
|
<path d="M12 9v4"></path>
|
|
30
30
|
<path d="M12 17h.01"></path>
|
|
31
31
|
</svg>
|
|
32
|
-
<svg $if="tone = 'success'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
32
|
+
<svg $if="$tone = 'success'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
33
33
|
<circle cx="12" cy="12" r="10"></circle>
|
|
34
34
|
<path d="m9 12 2 2 4-4"></path>
|
|
35
35
|
</svg>
|
|
36
|
-
<svg $if="tone = 'danger'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
36
|
+
<svg $if="$tone = 'danger'" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
37
37
|
<circle cx="12" cy="12" r="10"></circle>
|
|
38
38
|
<path d="m15 9-6 6"></path>
|
|
39
39
|
<path d="m9 9 6 6"></path>
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
>The native element the card renders. Choose the one that names the content: a section of a page, a self-contained article, or an aside.</prop>
|
|
15
15
|
</defs>
|
|
16
16
|
<template $match>
|
|
17
|
-
<section $when="as = 'section'"><slot></slot></section>
|
|
18
|
-
<article $when="as = 'article'"><slot></slot></article>
|
|
19
|
-
<aside $when="as = 'aside'"><slot></slot></aside>
|
|
17
|
+
<section $when="$as = 'section'"><slot></slot></section>
|
|
18
|
+
<article $when="$as = 'article'"><slot></slot></article>
|
|
19
|
+
<aside $when="$as = 'aside'"><slot></slot></aside>
|
|
20
20
|
<div $else><slot></slot></div>
|
|
21
21
|
</template>
|
|
22
22
|
<style>
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
<label>
|
|
31
31
|
<input
|
|
32
32
|
type="checkbox"
|
|
33
|
-
from:aria-label="label"
|
|
33
|
+
from:aria-label="$label"
|
|
34
34
|
$ref="input"
|
|
35
|
-
.checked="internalChecked"
|
|
36
|
-
.indeterminate="indeterminate"
|
|
37
|
-
from:disabled="disabled"
|
|
38
|
-
from:aria-invalid="invalid"
|
|
39
|
-
from:required="required"
|
|
40
|
-
from:name="name"
|
|
41
|
-
from:value="value"
|
|
35
|
+
.checked="$internalChecked"
|
|
36
|
+
.indeterminate="$indeterminate"
|
|
37
|
+
from:disabled="$disabled"
|
|
38
|
+
from:aria-invalid="$invalid"
|
|
39
|
+
from:required="$required"
|
|
40
|
+
from:name="$name"
|
|
41
|
+
from:value="$value"
|
|
42
42
|
>
|
|
43
43
|
<span class="text">
|
|
44
44
|
<span class="label"><slot></slot></span>
|
|
@@ -369,66 +369,66 @@
|
|
|
369
369
|
</event>
|
|
370
370
|
</defs>
|
|
371
371
|
<div>
|
|
372
|
-
<label from:for="concat(uid, '-input')" class:sr-only="labelVisibility = 'sr-only'">{$label}<template $if="required">
|
|
372
|
+
<label from:for="concat($uid, '-input')" class:sr-only="$labelVisibility = 'sr-only'">{$label}<template $if="$required">
|
|
373
373
|
*</template></label>
|
|
374
374
|
<div class="control">
|
|
375
375
|
<div class="field" $ref="field">
|
|
376
376
|
<div class="entry">
|
|
377
377
|
<slot name="start"></slot>
|
|
378
|
-
<template $if="multiple">
|
|
378
|
+
<template $if="$multiple">
|
|
379
379
|
<button
|
|
380
|
-
$each="item, index of internalItems"
|
|
381
|
-
$key="item.id"
|
|
380
|
+
$each="item, index of $internalItems"
|
|
381
|
+
$key="$item.id"
|
|
382
382
|
class="item"
|
|
383
383
|
type="button"
|
|
384
384
|
tabindex="-1"
|
|
385
|
-
from:data-index="index"
|
|
386
|
-
from:disabled="disabled or readonly or item.disabled"
|
|
387
|
-
from:aria-label="concat(item.label, ', press Delete or Backspace to remove')"
|
|
385
|
+
from:data-index="$index"
|
|
386
|
+
from:disabled="$disabled or $readonly or $item.disabled"
|
|
387
|
+
from:aria-label="concat($item.label, ', press Delete or Backspace to remove')"
|
|
388
388
|
>
|
|
389
|
-
<slot from:name="concat('item-', item.id)"><ui-badge>{$item.label}</ui-badge></slot>
|
|
389
|
+
<slot from:name="concat('item-', $item.id)"><ui-badge>{$item.label}</ui-badge></slot>
|
|
390
390
|
</button>
|
|
391
391
|
</template>
|
|
392
392
|
<input
|
|
393
393
|
$ref="input"
|
|
394
|
-
from:id="concat(uid, '-input')"
|
|
394
|
+
from:id="concat($uid, '-input')"
|
|
395
395
|
role="combobox"
|
|
396
396
|
aria-autocomplete="list"
|
|
397
397
|
autocomplete="off"
|
|
398
|
-
from:aria-controls="concat(uid, '-listbox')"
|
|
399
|
-
from:aria-expanded="expanded"
|
|
400
|
-
from:aria-invalid="invalid or validationStatus = 'error'"
|
|
401
|
-
from:aria-busy="loading or validationStatus = 'pending'"
|
|
402
|
-
.value="display"
|
|
403
|
-
from:placeholder="placeholder"
|
|
404
|
-
from:disabled="disabled"
|
|
405
|
-
from:readonly="readonly"
|
|
406
|
-
from:required="required and not (multiple and internalItems.0)"
|
|
398
|
+
from:aria-controls="concat($uid, '-listbox')"
|
|
399
|
+
from:aria-expanded="$expanded"
|
|
400
|
+
from:aria-invalid="$invalid or $validationStatus = 'error'"
|
|
401
|
+
from:aria-busy="$loading or $validationStatus = 'pending'"
|
|
402
|
+
.value="$display"
|
|
403
|
+
from:placeholder="$placeholder"
|
|
404
|
+
from:disabled="$disabled"
|
|
405
|
+
from:readonly="$readonly"
|
|
406
|
+
from:required="$required and not ($multiple and $internalItems.0)"
|
|
407
407
|
>
|
|
408
408
|
</div>
|
|
409
|
-
<input $if="name and not multiple" type="hidden" from:name="name" from:value="submitted" from:disabled="disabled">
|
|
410
|
-
<template $if="name and multiple">
|
|
411
|
-
<input $each="item of internalItems" $key="item.id" type="hidden" from:name="name" from:value="item.value" from:disabled="disabled">
|
|
409
|
+
<input $if="$name and not $multiple" type="hidden" from:name="$name" from:value="$submitted" from:disabled="$disabled">
|
|
410
|
+
<template $if="$name and $multiple">
|
|
411
|
+
<input $each="item of $internalItems" $key="$item.id" type="hidden" from:name="$name" from:value="$item.value" from:disabled="$disabled">
|
|
412
412
|
</template>
|
|
413
413
|
<button
|
|
414
|
-
$if="clearable"
|
|
414
|
+
$if="$clearable"
|
|
415
415
|
type="button"
|
|
416
416
|
data-combobox-action="clear"
|
|
417
417
|
aria-label="Clear"
|
|
418
|
-
from:disabled="disabled or readonly or (not raw and (multiple or selected = null))"
|
|
418
|
+
from:disabled="$disabled or $readonly or (not $raw and ($multiple or $selected = null))"
|
|
419
419
|
>
|
|
420
420
|
<svg class="affordance-icon" aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
|
|
421
421
|
<path d="M7 7l10 10M17 7 7 17"></path>
|
|
422
422
|
</svg>
|
|
423
423
|
</button>
|
|
424
424
|
<button
|
|
425
|
-
$if="disclosure"
|
|
425
|
+
$if="$disclosure"
|
|
426
426
|
type="button"
|
|
427
427
|
data-combobox-action="disclosure"
|
|
428
428
|
tabindex="-1"
|
|
429
429
|
aria-label="Show suggestions"
|
|
430
|
-
from:aria-controls="concat(uid, '-listbox')"
|
|
431
|
-
from:disabled="disabled or readonly"
|
|
430
|
+
from:aria-controls="concat($uid, '-listbox')"
|
|
431
|
+
from:disabled="$disabled or $readonly"
|
|
432
432
|
>
|
|
433
433
|
<svg
|
|
434
434
|
class="affordance-icon"
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
</svg>
|
|
445
445
|
</button>
|
|
446
446
|
</div>
|
|
447
|
-
<button $if="help" class="help" from:id="concat(uid, '-help')" type="button" aria-label="Help" from:disabled="disabled">
|
|
447
|
+
<button $if="$help" class="help" from:id="concat($uid, '-help')" type="button" aria-label="Help" from:disabled="$disabled">
|
|
448
448
|
<svg
|
|
449
449
|
class="help-icon"
|
|
450
450
|
aria-hidden="true"
|
|
@@ -461,60 +461,60 @@
|
|
|
461
461
|
</svg>
|
|
462
462
|
</button>
|
|
463
463
|
</div>
|
|
464
|
-
<ui-tooltip $if="help" trigger="click" from:id="concat(uid, '-help-text')" from:for="concat(uid, '-help')">{$help}</ui-tooltip>
|
|
465
|
-
<div class="popup" $ref="popup" from:hidden="not expanded">
|
|
466
|
-
<div role="listbox" $ref="listbox" from:id="concat(uid, '-listbox')" from:aria-label="concat(label, ' suggestions')" from:aria-busy="loading">
|
|
467
|
-
<div $each="group of groups" $key="group.name" from:role="group.role" from:aria-label="group.label">
|
|
468
|
-
<div $if="group.name" class="group">{$group.name}</div>
|
|
464
|
+
<ui-tooltip $if="$help" trigger="click" from:id="concat($uid, '-help-text')" from:for="concat($uid, '-help')">{$help}</ui-tooltip>
|
|
465
|
+
<div class="popup" $ref="popup" from:hidden="not $expanded">
|
|
466
|
+
<div role="listbox" $ref="listbox" from:id="concat($uid, '-listbox')" from:aria-label="concat($label, ' suggestions')" from:aria-busy="$loading">
|
|
467
|
+
<div $each="group of $groups" $key="$group.name" from:role="$group.role" from:aria-label="$group.label">
|
|
468
|
+
<div $if="$group.name" class="group">{$group.name}</div>
|
|
469
469
|
<div
|
|
470
|
-
$each="row of group.rows"
|
|
471
|
-
$key="row.id"
|
|
470
|
+
$each="row of $group.rows"
|
|
471
|
+
$key="$row.id"
|
|
472
472
|
class="option"
|
|
473
|
-
class:active="row.index = active"
|
|
473
|
+
class:active="$row.index = $active"
|
|
474
474
|
role="option"
|
|
475
475
|
data-ui-choice-option
|
|
476
|
-
from:data-multiple="multiple"
|
|
477
|
-
from:id="concat(uid, '-option-', row.index)"
|
|
478
|
-
from:aria-selected="row.selected"
|
|
479
|
-
from:aria-disabled="row.disabled"
|
|
480
|
-
from:data-index="row.index"
|
|
481
|
-
from:aria-labelledby="row.labelledBy"
|
|
482
|
-
from:aria-describedby="row.detail"
|
|
476
|
+
from:data-multiple="$multiple"
|
|
477
|
+
from:id="concat($uid, '-option-', $row.index)"
|
|
478
|
+
from:aria-selected="$row.selected"
|
|
479
|
+
from:aria-disabled="$row.disabled"
|
|
480
|
+
from:data-index="$row.index"
|
|
481
|
+
from:aria-labelledby="$row.labelledBy"
|
|
482
|
+
from:aria-describedby="$row.detail"
|
|
483
483
|
>
|
|
484
|
-
<slot from:name="concat('option-', row.id)">
|
|
485
|
-
<span $if="row.detail" class="detail">
|
|
484
|
+
<slot from:name="concat('option-', $row.id)">
|
|
485
|
+
<span $if="$row.detail" class="detail">
|
|
486
486
|
<span class="line">
|
|
487
|
-
<span class="primary" from:id="concat(uid, '-option-', row.index, '-label')">{$row.label}</span>
|
|
488
|
-
<ui-badge $if="row.tag" from:tone="row.tag.tone" style:--ui-badge-color="row.tag.color"><span
|
|
489
|
-
from:id="concat(uid, '-option-', row.index, '-tag')"
|
|
487
|
+
<span class="primary" from:id="concat($uid, '-option-', $row.index, '-label')">{$row.label}</span>
|
|
488
|
+
<ui-badge $if="$row.tag" from:tone="$row.tag.tone" style:--ui-badge-color="$row.tag.color"><span
|
|
489
|
+
from:id="concat($uid, '-option-', $row.index, '-tag')"
|
|
490
490
|
>{$row.tag.label}</span></ui-badge>
|
|
491
491
|
</span>
|
|
492
|
-
<span $if="row.description" class="description" from:id="concat(uid, '-option-', row.index, '-description')">{$row.description}</span>
|
|
492
|
+
<span $if="$row.description" class="description" from:id="concat($uid, '-option-', $row.index, '-description')">{$row.description}</span>
|
|
493
493
|
</span>
|
|
494
|
-
<span $if="not row.detail" class="primary">{$row.label}</span>
|
|
494
|
+
<span $if="not $row.detail" class="primary">{$row.label}</span>
|
|
495
495
|
</slot>
|
|
496
496
|
</div>
|
|
497
497
|
</div>
|
|
498
498
|
<div
|
|
499
|
-
$if="creatable"
|
|
499
|
+
$if="$creatable"
|
|
500
500
|
class="option"
|
|
501
|
-
class:active="createIndex = active"
|
|
501
|
+
class:active="$createIndex = $active"
|
|
502
502
|
role="option"
|
|
503
503
|
data-ui-choice-option
|
|
504
|
-
from:data-multiple="multiple"
|
|
504
|
+
from:data-multiple="$multiple"
|
|
505
505
|
aria-selected="false"
|
|
506
|
-
from:id="concat(uid, '-option-', createIndex)"
|
|
507
|
-
from:data-index="createIndex"
|
|
508
|
-
$value="concat('Create “', raw, '”')"
|
|
506
|
+
from:id="concat($uid, '-option-', $createIndex)"
|
|
507
|
+
from:data-index="$createIndex"
|
|
508
|
+
$value="concat('Create “', $raw, '”')"
|
|
509
509
|
>
|
|
510
510
|
</div>
|
|
511
|
-
<div $if="message" class="message">{$message}</div>
|
|
512
|
-
<div $if="not loading and not rows.0 and not creatable and not lookupError" class="message"><slot name="empty">No suggestions.</slot></div>
|
|
511
|
+
<div $if="$message" class="message">{$message}</div>
|
|
512
|
+
<div $if="not $loading and not $rows.0 and not $creatable and not $lookupError" class="message"><slot name="empty">No suggestions.</slot></div>
|
|
513
513
|
</div>
|
|
514
514
|
<slot name="footer"></slot>
|
|
515
515
|
</div>
|
|
516
|
-
<div class="message" from:id="concat(uid, '-validation')" from:hidden="not validation.issues.length">
|
|
517
|
-
<div $each="issue of validation.issues">{$issue.message}</div>
|
|
516
|
+
<div class="message" from:id="concat($uid, '-validation')" from:hidden="not $validation.issues.length">
|
|
517
|
+
<div $each="issue of $validation.issues">{$issue.message}</div>
|
|
518
518
|
</div>
|
|
519
519
|
<div class="sr-only" role="status" aria-live="polite" aria-atomic="true">{$statusText}</div>
|
|
520
520
|
<div class="authored-options" $ref="options" hidden aria-hidden="true"><slot></slot></div>
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
36
36
|
</event>
|
|
37
37
|
</defs>
|
|
38
|
-
<dialog from:aria-label="accessibleLabel">
|
|
38
|
+
<dialog from:aria-label="$accessibleLabel">
|
|
39
39
|
<header>
|
|
40
|
-
<h2 class="title" $if="label">{$label}</h2>
|
|
40
|
+
<h2 class="title" $if="$label">{$label}</h2>
|
|
41
41
|
<button class="close" $ref="close" type="button" aria-label="Close"></button>
|
|
42
42
|
</header>
|
|
43
43
|
<ui-scroll-area class="body"><slot></slot></ui-scroll-area>
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
</event>
|
|
45
45
|
</defs>
|
|
46
46
|
<div>
|
|
47
|
-
<div class="heading" $ref="heading" from:role="headingRole" from:aria-level="headingAriaLevel">
|
|
48
|
-
<button class="trigger" type="button" $ref="trigger" from:aria-controls="contentId" from:aria-expanded="internalOpen" from:disabled="disabled">
|
|
47
|
+
<div class="heading" $ref="heading" from:role="$headingRole" from:aria-level="$headingAriaLevel">
|
|
48
|
+
<button class="trigger" type="button" $ref="trigger" from:aria-controls="$contentId" from:aria-expanded="$internalOpen" from:disabled="$disabled">
|
|
49
49
|
<span class="leading"><slot name="leading"></slot></span>
|
|
50
50
|
<span class="summary"><slot name="summary">{$summary}</slot></span>
|
|
51
51
|
<span class="indicator" aria-hidden="true"><slot name="indicator"><span class="chevron"></span></slot></span>
|
|
52
52
|
</button>
|
|
53
53
|
</div>
|
|
54
|
-
<div class="panel" $ref="panel" from:id="contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
54
|
+
<div class="panel" $ref="panel" from:id="$contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
55
55
|
</div>
|
|
56
56
|
<style>
|
|
57
57
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
</defs>
|
|
38
38
|
<div>
|
|
39
39
|
<div class="field">
|
|
40
|
-
<button class="preview" $ref="preview" type="button" from:disabled="disabled">
|
|
40
|
+
<button class="preview" $ref="preview" type="button" from:disabled="$disabled">
|
|
41
41
|
<span class="text">{$internalValue}</span>
|
|
42
|
-
<span $if="hint" class="hint" aria-hidden="true">{$hint}</span>
|
|
42
|
+
<span $if="$hint" class="hint" aria-hidden="true">{$hint}</span>
|
|
43
43
|
</button>
|
|
44
44
|
<input
|
|
45
45
|
class="input"
|
|
46
46
|
$ref="input"
|
|
47
47
|
type="text"
|
|
48
|
-
.value="draft"
|
|
49
|
-
from:aria-label="label"
|
|
50
|
-
from:placeholder="placeholder"
|
|
51
|
-
from:required="required"
|
|
52
|
-
from:disabled="disabled or not internalEdit"
|
|
48
|
+
.value="$draft"
|
|
49
|
+
from:aria-label="$label"
|
|
50
|
+
from:placeholder="$placeholder"
|
|
51
|
+
from:required="$required"
|
|
52
|
+
from:disabled="$disabled or not $internalEdit"
|
|
53
53
|
>
|
|
54
54
|
</div>
|
|
55
|
-
<div $if="actions" class="actions">
|
|
55
|
+
<div $if="$actions" class="actions">
|
|
56
56
|
<button class="save" type="button">{$saveLabel}</button>
|
|
57
57
|
<button class="cancel" type="button">{$cancelLabel}</button>
|
|
58
58
|
</div>
|
|
@@ -15,24 +15,24 @@
|
|
|
15
15
|
<state type="boolean" name="withHeaderRow" value="false"></state>
|
|
16
16
|
<event name="insert" type="object({ rows: integer, cols: integer, withHeaderRow: boolean })"></event>
|
|
17
17
|
</defs>
|
|
18
|
-
<div from:hidden="not open">
|
|
18
|
+
<div from:hidden="not $open">
|
|
19
19
|
<p class="hint">{$hint}</p>
|
|
20
|
-
<div class="grid" $ref="grid" role="group" aria-label="Table dimensions" style:--_rows="rows" style:--_cols="cols">
|
|
20
|
+
<div class="grid" $ref="grid" role="group" aria-label="Table dimensions" style:--_rows="$rows" style:--_cols="$cols">
|
|
21
21
|
<button
|
|
22
|
-
$each="cell of cells"
|
|
23
|
-
$key="cell.key"
|
|
22
|
+
$each="cell of $cells"
|
|
23
|
+
$key="$cell.key"
|
|
24
24
|
type="button"
|
|
25
25
|
class="cell"
|
|
26
|
-
class:selected="cell.selected"
|
|
27
|
-
from:data-row="cell.row"
|
|
28
|
-
from:data-col="cell.col"
|
|
29
|
-
from:aria-label="cell.label"
|
|
30
|
-
from:aria-pressed="cell.selected"
|
|
31
|
-
from:tabindex="cell.tabIndex"
|
|
26
|
+
class:selected="$cell.selected"
|
|
27
|
+
from:data-row="$cell.row"
|
|
28
|
+
from:data-col="$cell.col"
|
|
29
|
+
from:aria-label="$cell.label"
|
|
30
|
+
from:aria-pressed="$cell.selected"
|
|
31
|
+
from:tabindex="$cell.tabIndex"
|
|
32
32
|
>
|
|
33
33
|
</button>
|
|
34
34
|
</div>
|
|
35
|
-
<label class="header"><input type="checkbox" $ref="header" .checked="withHeaderRow"> Header row</label>
|
|
35
|
+
<label class="header"><input type="checkbox" $ref="header" .checked="$withHeaderRow"> Header row</label>
|
|
36
36
|
</div>
|
|
37
37
|
<style>
|
|
38
38
|
:host {
|
|
@@ -22,22 +22,22 @@
|
|
|
22
22
|
<event name="highlight" type="object({ index: integer, value: string })"></event>
|
|
23
23
|
<event name="select" type="object({ index: integer, value: string })"></event>
|
|
24
24
|
</defs>
|
|
25
|
-
<div role="listbox" from:aria-busy="loading" from:hidden="not visible">
|
|
25
|
+
<div role="listbox" from:aria-busy="$loading" from:hidden="not $visible">
|
|
26
26
|
<div class="header"><slot name="header"></slot></div>
|
|
27
|
-
<div $if="searching" class="loading" role="status">{$loadingLabel}</div>
|
|
28
|
-
<ul $if="not searching" class="list" role="presentation">
|
|
27
|
+
<div $if="$searching" class="loading" role="status">{$loadingLabel}</div>
|
|
28
|
+
<ul $if="not $searching" class="list" role="presentation">
|
|
29
29
|
<li
|
|
30
|
-
$each="row, index of rows"
|
|
31
|
-
from:id="concat(prefix, '-option-', index)"
|
|
30
|
+
$each="row, index of $rows"
|
|
31
|
+
from:id="concat($prefix, '-option-', $index)"
|
|
32
32
|
class="item"
|
|
33
|
-
class:active="index = active"
|
|
33
|
+
class:active="$index = $active"
|
|
34
34
|
role="option"
|
|
35
|
-
from:aria-selected="index = active"
|
|
36
|
-
from:data-index="index"
|
|
37
|
-
from:data-value="row.id"
|
|
35
|
+
from:aria-selected="$index = $active"
|
|
36
|
+
from:data-index="$index"
|
|
37
|
+
from:data-value="$row.id"
|
|
38
38
|
>
|
|
39
39
|
<span class="avatar" aria-hidden="true">{$row.initials}</span>
|
|
40
|
-
<span class="body"><span class="label">{$row.label}</span><span $if="row.detail" class="detail">{$row.detail}</span></span>
|
|
40
|
+
<span class="body"><span class="label">{$row.label}</span><span $if="$row.detail" class="detail">{$row.detail}</span></span>
|
|
41
41
|
</li>
|
|
42
42
|
<slot></slot>
|
|
43
43
|
</ul>
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<prop name="detail" type="string" default="">Secondary text, such as a team or role.</prop>
|
|
5
5
|
<prop name="initials" type="string" default="">Text fallback for the start slot when no avatar is supplied.</prop>
|
|
6
6
|
</defs>
|
|
7
|
-
<li role="option" tabindex="-1" from:data-value="value">
|
|
7
|
+
<li role="option" tabindex="-1" from:data-value="$value">
|
|
8
8
|
<span class="avatar" aria-hidden="true"><slot name="start">{$initials}</slot></span>
|
|
9
|
-
<span class="body"><span class="label"><slot></slot></span><span $if="detail" class="detail">{$detail}</span></span>
|
|
9
|
+
<span class="body"><span class="label"><slot></slot></span><span $if="$detail" class="detail">{$detail}</span></span>
|
|
10
10
|
</li>
|
|
11
11
|
<style>
|
|
12
12
|
:host {
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
<event name="highlight" type="object({ index: integer, value: string })"></event>
|
|
23
23
|
<event name="select" type="object({ index: integer, value: string })"></event>
|
|
24
24
|
</defs>
|
|
25
|
-
<div role="listbox" from:hidden="not visible">
|
|
25
|
+
<div role="listbox" from:hidden="not $visible">
|
|
26
26
|
<div class="header"><slot name="header"></slot></div>
|
|
27
27
|
<ul class="list" role="presentation">
|
|
28
28
|
<li
|
|
29
|
-
$each="item, index of rows"
|
|
29
|
+
$each="item, index of $rows"
|
|
30
30
|
class="item"
|
|
31
|
-
class:active="index = active"
|
|
31
|
+
class:active="$index = $active"
|
|
32
32
|
role="option"
|
|
33
|
-
from:aria-selected="index = active"
|
|
34
|
-
from:data-index="index"
|
|
35
|
-
from:data-value="item.value"
|
|
33
|
+
from:aria-selected="$index = $active"
|
|
34
|
+
from:data-index="$index"
|
|
35
|
+
from:data-value="$item.value"
|
|
36
36
|
>
|
|
37
|
-
<span class="icon" aria-hidden="true"><ui-icon from:name="item.icon"></ui-icon></span>
|
|
37
|
+
<span class="icon" aria-hidden="true"><ui-icon from:name="$item.icon"></ui-icon></span>
|
|
38
38
|
<span class="body"><span class="title">{$item.title}</span><span class="description">{$item.description}</span></span>
|
|
39
39
|
</li>
|
|
40
40
|
<slot></slot>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<prop name="label" type="string" default="">Names this group of related slash commands.</prop>
|
|
4
4
|
</defs>
|
|
5
5
|
<li role="presentation">
|
|
6
|
-
<div role="group" from:aria-label="label">
|
|
6
|
+
<div role="group" from:aria-label="$label">
|
|
7
7
|
<div class="heading">{$label}</div>
|
|
8
8
|
<ul role="presentation"><slot></slot></ul>
|
|
9
9
|
</div>
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<prop name="keywords" type="string" default="">Additional space-separated search terms matched by the containing Slash Menu.</prop>
|
|
8
8
|
<prop name="disabled" type="boolean" default="false">Keeps the command visible but unavailable for selection.</prop>
|
|
9
9
|
</defs>
|
|
10
|
-
<li role="option" tabindex="-1" from:aria-disabled="disabled" from:data-value="value" from:data-keywords="keywords">
|
|
11
|
-
<span $if="icon" class="icon" aria-hidden="true"><ui-icon from:name="icon"></ui-icon></span>
|
|
12
|
-
<span class="body"><span class="title"><slot></slot></span><span $if="description" class="description">{$description}</span></span>
|
|
10
|
+
<li role="option" tabindex="-1" from:aria-disabled="$disabled" from:data-value="$value" from:data-keywords="$keywords">
|
|
11
|
+
<span $if="$icon" class="icon" aria-hidden="true"><ui-icon from:name="$icon"></ui-icon></span>
|
|
12
|
+
<span class="body"><span class="title"><slot></slot></span><span $if="$description" class="description">{$description}</span></span>
|
|
13
13
|
</li>
|
|
14
14
|
<style>
|
|
15
15
|
:host {
|