@threadlabs/looma 0.20.0 → 0.21.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 +10 -10
- package/components/ui-checkbox/ui-checkbox.html +5 -5
- package/components/ui-combobox/ui-combobox.html +42 -40
- package/components/ui-dialog/ui-dialog.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +3 -3
- package/components/ui-editable/ui-editable.html +5 -5
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +6 -6
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +1 -1
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +5 -5
- 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 +2 -2
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +7 -7
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +17 -17
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +15 -15
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-icon/ui-icon.html +13 -4
- package/components/ui-icon-button/ui-icon-button.html +4 -4
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-listbox/ui-listbox.html +24 -15
- package/components/ui-menu-group/ui-menu-group.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +7 -7
- package/components/ui-meter/ui-meter.html +5 -5
- package/components/ui-nav-item/ui-nav-item.html +5 -5
- 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-status-message/ui-status-message.html +3 -3
- package/components/ui-switch/ui-switch.html +10 -1
- package/components/ui-tabs/ui-tabs.html +5 -5
- package/components/ui-textarea/ui-textarea.html +9 -1
- package/components/ui-toast/ui-toast.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +11 -3
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +16 -16
- package/package.json +2 -2
- 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-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-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 +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.vue +1 -1
- 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 +1 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +1 -1
- 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 +1 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +1 -1
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +1 -1
- package/vue/UiEditorTableToolbar.vue +1 -1
- 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/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 +1 -1
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +1 -1
- 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 +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +1 -1
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- 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 +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- 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 +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- 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/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 +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1192 -1192
- package/vue/host.ts +1 -1
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
</defs>
|
|
28
28
|
<span>
|
|
29
29
|
<slot></slot>
|
|
30
|
-
<img class="image" $ref="image" :src="src" alt="" aria-hidden="true" :hidden="hasAuthoredImage or not hasImage">
|
|
31
|
-
<span class="fallback" :aria-hidden="hasImage" :hidden="hasImage">
|
|
32
|
-
<span :hidden="showGlyph" $value="initials"></span>
|
|
33
|
-
<span :hidden="not showGlyph"><ui-icon name="user-round"></ui-icon></span>
|
|
30
|
+
<img class="image" $ref="image" from:src="src" alt="" aria-hidden="true" from:hidden="hasAuthoredImage or not hasImage">
|
|
31
|
+
<span class="fallback" from:aria-hidden="hasImage" from:hidden="hasImage">
|
|
32
|
+
<span from:hidden="showGlyph" $value="initials"></span>
|
|
33
|
+
<span from:hidden="not showGlyph"><ui-icon name="user-round"></ui-icon></span>
|
|
34
34
|
</span>
|
|
35
35
|
</span>
|
|
36
36
|
<style>
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
<state name="overflowCount" :value="0"></state>
|
|
16
16
|
<state name="overflowAnnouncement" :value="''"></state>
|
|
17
17
|
</defs>
|
|
18
|
-
<div role="group" :aria-label="label">
|
|
18
|
+
<div role="group" from:aria-label="label">
|
|
19
19
|
<slot></slot>
|
|
20
|
-
<span class="overflow" $ref="overflow" role="img" :hidden="not overflowCount" :aria-label="overflowAnnouncement"><template
|
|
20
|
+
<span class="overflow" $ref="overflow" role="img" from:hidden="not overflowCount" from:aria-label="overflowAnnouncement"><template
|
|
21
21
|
$value="format('+%s', overflowCount)"
|
|
22
22
|
></template></span>
|
|
23
23
|
</div>
|
|
@@ -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 :aria-current="{ true: 'page', false: null }[format('%s', current)]">
|
|
6
|
+
<li from:aria-current="{ true: 'page', false: null }[format('%s', 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 :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. */
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
<template $match>
|
|
37
37
|
<a
|
|
38
38
|
$when="as = 'a'"
|
|
39
|
-
:href="{ true: null, false: href }[format('%s', disabled or loading or pending)]"
|
|
40
|
-
:target="target"
|
|
41
|
-
:rel="rel"
|
|
42
|
-
:aria-disabled="{ true: 'true', false: null }[format('%s', disabled or loading or pending)]"
|
|
43
|
-
:aria-busy="loading or pending"
|
|
44
|
-
:tabindex="{ true: '0', false: null }[format('%s', (loading or pending) and not disabled)]"
|
|
39
|
+
from:href="{ true: null, false: href }[format('%s', disabled or loading or pending)]"
|
|
40
|
+
from:target="target"
|
|
41
|
+
from:rel="rel"
|
|
42
|
+
from:aria-disabled="{ true: 'true', false: null }[format('%s', disabled or loading or pending)]"
|
|
43
|
+
from:aria-busy="loading or pending"
|
|
44
|
+
from:tabindex="{ true: '0', false: null }[format('%s', (loading or pending) and not disabled)]"
|
|
45
45
|
>
|
|
46
46
|
<span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
47
47
|
<slot></slot>
|
|
48
48
|
</a>
|
|
49
49
|
<button
|
|
50
50
|
$else
|
|
51
|
-
:type="type"
|
|
52
|
-
:disabled="disabled"
|
|
53
|
-
:aria-disabled="{ true: 'true', false: null }[format('%s', loading or pending)]"
|
|
54
|
-
:aria-busy="loading or pending"
|
|
51
|
+
from:type="type"
|
|
52
|
+
from:disabled="disabled"
|
|
53
|
+
from:aria-disabled="{ true: 'true', false: null }[format('%s', loading or pending)]"
|
|
54
|
+
from:aria-busy="loading or pending"
|
|
55
55
|
>
|
|
56
56
|
<span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
|
|
57
57
|
<slot></slot>
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
$ref="input"
|
|
33
33
|
.checked="internalChecked"
|
|
34
34
|
.indeterminate="indeterminate"
|
|
35
|
-
:disabled="disabled"
|
|
36
|
-
:aria-invalid="invalid"
|
|
37
|
-
:required="required"
|
|
38
|
-
:name="name"
|
|
39
|
-
:value="value"
|
|
35
|
+
from:disabled="disabled"
|
|
36
|
+
from:aria-invalid="invalid"
|
|
37
|
+
from:required="required"
|
|
38
|
+
from:name="name"
|
|
39
|
+
from:value="value"
|
|
40
40
|
>
|
|
41
41
|
<span class="text">
|
|
42
42
|
<span class="label"><slot></slot></span>
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
<method name="focusInput" export="focusInput" returns="promise(undefined)"></method>
|
|
366
366
|
</defs>
|
|
367
367
|
<div>
|
|
368
|
-
<label :for="format('%s-input', uid)" class:sr-only="labelVisibility = 'sr-only'"><template $value="label"></template><template $if="required">
|
|
368
|
+
<label from:for="format('%s-input', uid)" class:sr-only="labelVisibility = 'sr-only'"><template $value="label"></template><template $if="required">
|
|
369
369
|
*</template></label>
|
|
370
370
|
<div class="control">
|
|
371
371
|
<div class="field" $ref="field">
|
|
@@ -378,40 +378,40 @@
|
|
|
378
378
|
class="item"
|
|
379
379
|
type="button"
|
|
380
380
|
tabindex="-1"
|
|
381
|
-
:data-index="index"
|
|
382
|
-
:disabled="disabled or readonly or item.disabled"
|
|
383
|
-
:aria-label="format('%s, press Delete or Backspace to remove', item.label)"
|
|
381
|
+
from:data-index="index"
|
|
382
|
+
from:disabled="disabled or readonly or item.disabled"
|
|
383
|
+
from:aria-label="format('%s, press Delete or Backspace to remove', item.label)"
|
|
384
384
|
>
|
|
385
|
-
<slot :name="format('item-%s', item.id)"><ui-badge $value="item.label"></ui-badge></slot>
|
|
385
|
+
<slot from:name="format('item-%s', item.id)"><ui-badge $value="item.label"></ui-badge></slot>
|
|
386
386
|
</button>
|
|
387
387
|
</template>
|
|
388
388
|
<input
|
|
389
389
|
$ref="input"
|
|
390
|
-
:id="format('%s-input', uid)"
|
|
390
|
+
from:id="format('%s-input', uid)"
|
|
391
391
|
role="combobox"
|
|
392
392
|
aria-autocomplete="list"
|
|
393
393
|
autocomplete="off"
|
|
394
|
-
:aria-controls="format('%s-listbox', uid)"
|
|
395
|
-
:aria-expanded="expanded"
|
|
396
|
-
:aria-invalid="invalid or validationStatus = 'error'"
|
|
397
|
-
:aria-busy="loading or validationStatus = 'pending'"
|
|
394
|
+
from:aria-controls="format('%s-listbox', uid)"
|
|
395
|
+
from:aria-expanded="expanded"
|
|
396
|
+
from:aria-invalid="invalid or validationStatus = 'error'"
|
|
397
|
+
from:aria-busy="loading or validationStatus = 'pending'"
|
|
398
398
|
.value="display"
|
|
399
|
-
:placeholder="placeholder"
|
|
400
|
-
:disabled="disabled"
|
|
401
|
-
:readonly="readonly"
|
|
402
|
-
:required="required and not (multiple and internalItems[0])"
|
|
399
|
+
from:placeholder="placeholder"
|
|
400
|
+
from:disabled="disabled"
|
|
401
|
+
from:readonly="readonly"
|
|
402
|
+
from:required="required and not (multiple and internalItems[0])"
|
|
403
403
|
>
|
|
404
404
|
</div>
|
|
405
|
-
<input $if="name and not multiple" type="hidden" :name="name" :value="submitted" :disabled="disabled">
|
|
405
|
+
<input $if="name and not multiple" type="hidden" from:name="name" from:value="submitted" from:disabled="disabled">
|
|
406
406
|
<template $if="name and multiple">
|
|
407
|
-
<input $each="item of internalItems" $key="item.id" type="hidden" :name="name" :value="item.value" :disabled="disabled">
|
|
407
|
+
<input $each="item of internalItems" $key="item.id" type="hidden" from:name="name" from:value="item.value" from:disabled="disabled">
|
|
408
408
|
</template>
|
|
409
409
|
<button
|
|
410
410
|
$if="clearable"
|
|
411
411
|
type="button"
|
|
412
412
|
data-combobox-action="clear"
|
|
413
413
|
aria-label="Clear"
|
|
414
|
-
:disabled="disabled or readonly or (not raw and (multiple or selected = null))"
|
|
414
|
+
from:disabled="disabled or readonly or (not raw and (multiple or selected = null))"
|
|
415
415
|
>
|
|
416
416
|
<svg class="affordance-icon" aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
|
|
417
417
|
<path d="M7 7l10 10M17 7 7 17"></path>
|
|
@@ -423,8 +423,8 @@
|
|
|
423
423
|
data-combobox-action="disclosure"
|
|
424
424
|
tabindex="-1"
|
|
425
425
|
aria-label="Show suggestions"
|
|
426
|
-
:aria-controls="format('%s-listbox', uid)"
|
|
427
|
-
:disabled="disabled or readonly"
|
|
426
|
+
from:aria-controls="format('%s-listbox', uid)"
|
|
427
|
+
from:disabled="disabled or readonly"
|
|
428
428
|
>
|
|
429
429
|
<svg
|
|
430
430
|
class="affordance-icon"
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
</svg>
|
|
441
441
|
</button>
|
|
442
442
|
</div>
|
|
443
|
-
<button $if="help" class="help" :id="format('%s-help', uid)" type="button" aria-label="Help" :disabled="disabled">
|
|
443
|
+
<button $if="help" class="help" from:id="format('%s-help', uid)" type="button" aria-label="Help" from:disabled="disabled">
|
|
444
444
|
<svg
|
|
445
445
|
class="help-icon"
|
|
446
446
|
aria-hidden="true"
|
|
@@ -457,10 +457,12 @@
|
|
|
457
457
|
</svg>
|
|
458
458
|
</button>
|
|
459
459
|
</div>
|
|
460
|
-
<ui-tooltip $if="help" trigger="click" :id="format('%s-help-text', uid)" :for="format('%s-help', uid)"><template
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
460
|
+
<ui-tooltip $if="help" trigger="click" from:id="format('%s-help-text', uid)" from:for="format('%s-help', uid)"><template
|
|
461
|
+
$value="help"
|
|
462
|
+
></template></ui-tooltip>
|
|
463
|
+
<div class="popup" $ref="popup" from:hidden="not expanded">
|
|
464
|
+
<div role="listbox" $ref="listbox" from:id="format('%s-listbox', uid)" from:aria-label="format('%s suggestions', label)" from:aria-busy="loading">
|
|
465
|
+
<div $each="group of groups" $key="group.name" from:role="group.role" from:aria-label="group.label">
|
|
464
466
|
<div $if="group.name" class="group" $value="group.name"></div>
|
|
465
467
|
<div
|
|
466
468
|
$each="row of group.rows"
|
|
@@ -469,24 +471,24 @@
|
|
|
469
471
|
class:active="row.index = active"
|
|
470
472
|
role="option"
|
|
471
473
|
data-ui-choice-option
|
|
472
|
-
:data-multiple="multiple"
|
|
473
|
-
:id="format('%s-option-%s', uid, row.index)"
|
|
474
|
-
:aria-selected="row.selected"
|
|
475
|
-
:aria-disabled="row.disabled"
|
|
476
|
-
:data-index="row.index"
|
|
477
|
-
:aria-labelledby="row.labelledBy"
|
|
478
|
-
:aria-describedby="row.detail"
|
|
474
|
+
from:data-multiple="multiple"
|
|
475
|
+
from:id="format('%s-option-%s', uid, row.index)"
|
|
476
|
+
from:aria-selected="row.selected"
|
|
477
|
+
from:aria-disabled="row.disabled"
|
|
478
|
+
from:data-index="row.index"
|
|
479
|
+
from:aria-labelledby="row.labelledBy"
|
|
480
|
+
from:aria-describedby="row.detail"
|
|
479
481
|
>
|
|
480
|
-
<slot :name="format('option-%s', row.id)">
|
|
482
|
+
<slot from:name="format('option-%s', row.id)">
|
|
481
483
|
<span $if="row.detail" class="detail">
|
|
482
484
|
<span class="line">
|
|
483
|
-
<span class="primary" :id="format('%s-option-%s-label', uid, row.index)" $value="row.label"></span>
|
|
484
|
-
<ui-badge $if="row.tag" :tone="row.tag.tone" style:--ui-badge-color="row.tag.color"><span
|
|
485
|
-
:id="format('%s-option-%s-tag', uid, row.index)"
|
|
485
|
+
<span class="primary" from:id="format('%s-option-%s-label', uid, row.index)" $value="row.label"></span>
|
|
486
|
+
<ui-badge $if="row.tag" from:tone="row.tag.tone" style:--ui-badge-color="row.tag.color"><span
|
|
487
|
+
from:id="format('%s-option-%s-tag', uid, row.index)"
|
|
486
488
|
$value="row.tag.label"
|
|
487
489
|
></span></ui-badge>
|
|
488
490
|
</span>
|
|
489
|
-
<span $if="row.description" class="description" :id="format('%s-option-%s-description', uid, row.index)" $value="row.description"></span>
|
|
491
|
+
<span $if="row.description" class="description" from:id="format('%s-option-%s-description', uid, row.index)" $value="row.description"></span>
|
|
490
492
|
</span>
|
|
491
493
|
<span $if="not row.detail" class="primary" $value="row.label"></span>
|
|
492
494
|
</slot>
|
|
@@ -498,10 +500,10 @@
|
|
|
498
500
|
class:active="createIndex = active"
|
|
499
501
|
role="option"
|
|
500
502
|
data-ui-choice-option
|
|
501
|
-
:data-multiple="multiple"
|
|
503
|
+
from:data-multiple="multiple"
|
|
502
504
|
aria-selected="false"
|
|
503
|
-
:id="format('%s-option-%s', uid, createIndex)"
|
|
504
|
-
:data-index="createIndex"
|
|
505
|
+
from:id="format('%s-option-%s', uid, createIndex)"
|
|
506
|
+
from:data-index="createIndex"
|
|
505
507
|
$value="format('Create “%s”', raw)"
|
|
506
508
|
>
|
|
507
509
|
</div>
|
|
@@ -510,7 +512,7 @@
|
|
|
510
512
|
</div>
|
|
511
513
|
<slot name="footer"></slot>
|
|
512
514
|
</div>
|
|
513
|
-
<div class="message" :id="format('%s-validation', uid)" :hidden="not validation.issues.length">
|
|
515
|
+
<div class="message" from:id="format('%s-validation', uid)" from:hidden="not validation.issues.length">
|
|
514
516
|
<div $each="issue of validation.issues" $value="issue.message"></div>
|
|
515
517
|
</div>
|
|
516
518
|
<div class="sr-only" role="status" aria-live="polite" aria-atomic="true" $value="statusText"></div>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
36
36
|
</event>
|
|
37
37
|
</defs>
|
|
38
|
-
<dialog :aria-label="accessibleLabel">
|
|
38
|
+
<dialog from:aria-label="accessibleLabel">
|
|
39
39
|
<header>
|
|
40
40
|
<h2 class="title" $if="label" $value="label"></h2>
|
|
41
41
|
<button class="close" $ref="close" type="button" aria-label="Close"></button>
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
</event>
|
|
36
36
|
</defs>
|
|
37
37
|
<div>
|
|
38
|
-
<div class="heading" :role="headingRole" :aria-level="headingAriaLevel">
|
|
39
|
-
<button class="trigger" type="button" $ref="trigger" :aria-controls="contentId" :aria-expanded="internalOpen" :disabled="disabled">
|
|
38
|
+
<div class="heading" from:role="headingRole" from:aria-level="headingAriaLevel">
|
|
39
|
+
<button class="trigger" type="button" $ref="trigger" from:aria-controls="contentId" from:aria-expanded="internalOpen" from:disabled="disabled">
|
|
40
40
|
<span class="summary"><slot name="summary"><template $value="summary"></template></slot></span>
|
|
41
41
|
<span class="chevron" aria-hidden="true"></span>
|
|
42
42
|
</button>
|
|
43
43
|
</div>
|
|
44
|
-
<div class="panel" $ref="panel" :id="contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
44
|
+
<div class="panel" $ref="panel" from:id="contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
45
45
|
</div>
|
|
46
46
|
<style>
|
|
47
47
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</defs>
|
|
38
38
|
<div>
|
|
39
39
|
<div class="field">
|
|
40
|
-
<button class="preview" $ref="preview" type="button" :disabled="disabled">
|
|
40
|
+
<button class="preview" $ref="preview" type="button" from:disabled="disabled">
|
|
41
41
|
<span class="text" $value="internalValue"></span>
|
|
42
42
|
<span $if="hint" class="hint" aria-hidden="true" $value="hint"></span>
|
|
43
43
|
</button>
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
$ref="input"
|
|
47
47
|
type="text"
|
|
48
48
|
.value="draft"
|
|
49
|
-
:aria-label="label"
|
|
50
|
-
:placeholder="placeholder"
|
|
51
|
-
:required="required"
|
|
52
|
-
:disabled="disabled or not internalEdit"
|
|
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
55
|
<div $if="actions" class="actions">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<state name="withHeaderRow" :value="false"></state>
|
|
16
16
|
<event name="insert" type="object({ rows: integer, cols: integer, withHeaderRow: boolean })"></event>
|
|
17
17
|
</defs>
|
|
18
|
-
<div :hidden="not open">
|
|
18
|
+
<div from:hidden="not open">
|
|
19
19
|
<p class="hint" $value="hint"></p>
|
|
20
20
|
<div class="grid" $ref="grid" role="group" aria-label="Table dimensions" style:--_rows="rows" style:--_cols="cols">
|
|
21
21
|
<button
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
type="button"
|
|
25
25
|
class="cell"
|
|
26
26
|
class:selected="cell.selected"
|
|
27
|
-
:data-row="cell.row"
|
|
28
|
-
:data-col="cell.col"
|
|
29
|
-
:aria-label="cell.label"
|
|
30
|
-
:aria-pressed="cell.selected"
|
|
31
|
-
:tabindex="cell.tabIndex"
|
|
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>
|
|
@@ -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" :aria-busy="loading" :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
27
|
<div $if="searching" class="loading" role="status" $value="loadingLabel"></div>
|
|
28
28
|
<ul $if="not searching" class="list" role="presentation">
|
|
29
29
|
<li
|
|
30
30
|
$each="row, index of rows"
|
|
31
|
-
:id="format('%s-option-%s', prefix, index)"
|
|
31
|
+
from:id="format('%s-option-%s', prefix, index)"
|
|
32
32
|
class="item"
|
|
33
33
|
class:active="index = active"
|
|
34
34
|
role="option"
|
|
35
|
-
:aria-selected="index = active"
|
|
36
|
-
:data-index="index"
|
|
37
|
-
: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" $value="row.initials"></span>
|
|
40
40
|
<span class="body"><span class="label" $value="row.label"></span><span $if="row.detail" class="detail" $value="row.detail"></span></span>
|
|
@@ -4,7 +4,7 @@
|
|
|
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" :data-value="value">
|
|
7
|
+
<li role="option" tabindex="-1" from:data-value="value">
|
|
8
8
|
<span class="avatar" aria-hidden="true"><slot name="start"><template $value="initials"></template></slot></span>
|
|
9
9
|
<span class="body"><span class="label"><slot></slot></span><span $if="detail" class="detail" $value="detail"></span></span>
|
|
10
10
|
</li>
|
|
@@ -22,7 +22,7 @@
|
|
|
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" :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
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
class="item"
|
|
31
31
|
class:active="index = active"
|
|
32
32
|
role="option"
|
|
33
|
-
:aria-selected="index = active"
|
|
34
|
-
:data-index="index"
|
|
35
|
-
: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 :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" $value="item.title"></span><span class="description" $value="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" :aria-label="label">
|
|
6
|
+
<div role="group" from:aria-label="label">
|
|
7
7
|
<div class="heading" $value="label"></div>
|
|
8
8
|
<ul role="presentation"><slot></slot></ul>
|
|
9
9
|
</div>
|
|
@@ -7,8 +7,8 @@
|
|
|
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" :aria-disabled="disabled" :data-value="value" :data-keywords="keywords">
|
|
11
|
-
<span $if="icon" class="icon" aria-hidden="true"><ui-icon :name="icon"></ui-icon></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
12
|
<span class="body"><span class="title"><slot></slot></span><span $if="description" class="description" $value="description"></span></span>
|
|
13
13
|
</li>
|
|
14
14
|
<style>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
></prop>
|
|
42
42
|
</event>
|
|
43
43
|
</defs>
|
|
44
|
-
<div role="menu" :hidden="not open">
|
|
44
|
+
<div role="menu" from:hidden="not open">
|
|
45
45
|
<div $if="swatches" class="section" role="none">
|
|
46
46
|
<div class="heading" role="presentation">Cell background</div>
|
|
47
47
|
<div class="swatches" role="group" aria-label="Cell background">
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
class="swatch-button"
|
|
53
53
|
class:selected="swatch.selected"
|
|
54
54
|
role="menuitemradio"
|
|
55
|
-
:aria-checked="swatch.selected"
|
|
56
|
-
:data-action="swatch.action"
|
|
55
|
+
from:aria-checked="swatch.selected"
|
|
56
|
+
from:data-action="swatch.action"
|
|
57
57
|
>
|
|
58
58
|
<span class="swatch" class:default="not swatch.color" style:--_swatch="swatch.color"></span>
|
|
59
59
|
<span class="swatch-label" $value="swatch.label"></span>
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
$each="item of section.items"
|
|
69
69
|
$key="item.action"
|
|
70
70
|
type="button"
|
|
71
|
-
:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
|
|
72
|
-
:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
|
|
71
|
+
from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
|
|
72
|
+
from:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
|
|
73
73
|
class:danger="item.danger"
|
|
74
|
-
:data-action="item.action"
|
|
74
|
+
from:data-action="item.action"
|
|
75
75
|
>
|
|
76
|
-
<ui-icon :name="item.icon"></ui-icon>
|
|
76
|
+
<ui-icon from:name="item.icon"></ui-icon>
|
|
77
77
|
<span $value="item.label"></span>
|
|
78
78
|
</button>
|
|
79
79
|
</div>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
type="object({ rowIndex: integer, columnIndex: integer, anchor: object({ left: number, top: number, right: number, bottom: number }) })"
|
|
111
111
|
></event>
|
|
112
112
|
</defs>
|
|
113
|
-
<div aria-label="Table controls" :hidden="not open">
|
|
113
|
+
<div aria-label="Table controls" from:hidden="not open">
|
|
114
114
|
<div class="rows">
|
|
115
115
|
<div
|
|
116
116
|
$each="control of rows"
|
|
@@ -118,17 +118,17 @@
|
|
|
118
118
|
class="control row"
|
|
119
119
|
class:active="control.key = activeKey"
|
|
120
120
|
style:top="control.offset"
|
|
121
|
-
:data-control-key="control.key"
|
|
121
|
+
from:data-control-key="control.key"
|
|
122
122
|
>
|
|
123
123
|
<span class="line" aria-hidden="true"></span>
|
|
124
124
|
<span class="guide" data-ui-guide aria-hidden="true"></span>
|
|
125
125
|
<button
|
|
126
126
|
type="button"
|
|
127
127
|
class="handle"
|
|
128
|
-
:data-ui-affordance="control.affordance"
|
|
129
|
-
:data-action="control.action"
|
|
130
|
-
:data-boundary-index="control.index"
|
|
131
|
-
:aria-label="control.label"
|
|
128
|
+
from:data-ui-affordance="control.affordance"
|
|
129
|
+
from:data-action="control.action"
|
|
130
|
+
from:data-boundary-index="control.index"
|
|
131
|
+
from:aria-label="control.label"
|
|
132
132
|
>
|
|
133
133
|
<ui-icon name="plus"></ui-icon>
|
|
134
134
|
<span class="tooltip" role="tooltip" $value="control.label"></span>
|
|
@@ -142,17 +142,17 @@
|
|
|
142
142
|
class="control col"
|
|
143
143
|
class:active="control.key = activeKey"
|
|
144
144
|
style:left="control.offset"
|
|
145
|
-
:data-control-key="control.key"
|
|
145
|
+
from:data-control-key="control.key"
|
|
146
146
|
>
|
|
147
147
|
<span class="line" aria-hidden="true"></span>
|
|
148
148
|
<span class="guide" data-ui-guide aria-hidden="true"></span>
|
|
149
149
|
<button
|
|
150
150
|
type="button"
|
|
151
151
|
class="handle"
|
|
152
|
-
:data-ui-affordance="control.affordance"
|
|
153
|
-
:data-action="control.action"
|
|
154
|
-
:data-boundary-index="control.index"
|
|
155
|
-
:aria-label="control.label"
|
|
152
|
+
from:data-ui-affordance="control.affordance"
|
|
153
|
+
from:data-action="control.action"
|
|
154
|
+
from:data-boundary-index="control.index"
|
|
155
|
+
from:aria-label="control.label"
|
|
156
156
|
>
|
|
157
157
|
<ui-icon name="plus"></ui-icon>
|
|
158
158
|
<span class="tooltip" role="tooltip" $value="control.label"></span>
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
class="selector row"
|
|
166
166
|
style:top="hovered.rowOffset"
|
|
167
167
|
data-action="select-row"
|
|
168
|
-
:data-row-index="hovered.rowIndex"
|
|
169
|
-
:data-column-index="hovered.columnIndex"
|
|
168
|
+
from:data-row-index="hovered.rowIndex"
|
|
169
|
+
from:data-column-index="hovered.columnIndex"
|
|
170
170
|
title="Drag row to reorder; click for actions"
|
|
171
171
|
aria-label="Row actions"
|
|
172
172
|
>
|
|
@@ -177,8 +177,8 @@
|
|
|
177
177
|
class="selector column"
|
|
178
178
|
style:left="hovered.columnOffset"
|
|
179
179
|
data-action="select-column"
|
|
180
|
-
:data-row-index="hovered.rowIndex"
|
|
181
|
-
:data-column-index="hovered.columnIndex"
|
|
180
|
+
from:data-row-index="hovered.rowIndex"
|
|
181
|
+
from:data-column-index="hovered.columnIndex"
|
|
182
182
|
title="Drag column to reorder; click for actions"
|
|
183
183
|
aria-label="Column actions"
|
|
184
184
|
>
|
|
@@ -192,8 +192,8 @@
|
|
|
192
192
|
style:left="active.menuLeft"
|
|
193
193
|
style:top="active.menuTop"
|
|
194
194
|
data-action="open-cell-menu"
|
|
195
|
-
:data-row-index="active.rowIndex"
|
|
196
|
-
:data-column-index="active.columnIndex"
|
|
195
|
+
from:data-row-index="active.rowIndex"
|
|
196
|
+
from:data-column-index="active.columnIndex"
|
|
197
197
|
title="Cell actions"
|
|
198
198
|
aria-label="Cell actions"
|
|
199
199
|
>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
></prop>
|
|
52
52
|
</event>
|
|
53
53
|
</defs>
|
|
54
|
-
<div role="toolbar" aria-label="Table actions" :hidden="not open">
|
|
54
|
+
<div role="toolbar" aria-label="Table actions" from:hidden="not open">
|
|
55
55
|
<div $if="alignments" class="group" role="group" aria-label="Cell alignment">
|
|
56
56
|
<button
|
|
57
57
|
$each="item of alignments"
|
|
@@ -59,24 +59,24 @@
|
|
|
59
59
|
type="button"
|
|
60
60
|
class="icon-button"
|
|
61
61
|
class:active="item.active"
|
|
62
|
-
:data-action="item.action"
|
|
63
|
-
:aria-label="item.label"
|
|
64
|
-
:title="item.label"
|
|
65
|
-
:aria-pressed="item.active"
|
|
62
|
+
from:data-action="item.action"
|
|
63
|
+
from:aria-label="item.label"
|
|
64
|
+
from:title="item.label"
|
|
65
|
+
from:aria-pressed="item.active"
|
|
66
66
|
>
|
|
67
|
-
<ui-icon :name="item.action"></ui-icon>
|
|
67
|
+
<ui-icon from:name="item.action"></ui-icon>
|
|
68
68
|
</button>
|
|
69
69
|
</div>
|
|
70
70
|
<div $if="alignments and structure" class="sep" aria-hidden="true"></div>
|
|
71
71
|
<div $if="structure" class="group" role="group" aria-label="Table structure">
|
|
72
|
-
<button $each="item of structure" $key="item.action" type="button" :data-action="item.action">
|
|
73
|
-
<ui-icon :name="item.icon"></ui-icon>
|
|
72
|
+
<button $each="item of structure" $key="item.action" type="button" from:data-action="item.action">
|
|
73
|
+
<ui-icon from:name="item.icon"></ui-icon>
|
|
74
74
|
<span $value="item.label"></span>
|
|
75
75
|
</button>
|
|
76
76
|
</div>
|
|
77
77
|
<div $if="(alignments or structure) and hasOverflow" class="sep" aria-hidden="true"></div>
|
|
78
78
|
<div $if="hasOverflow" class="overflow">
|
|
79
|
-
<button type="button" class="more" data-action="toggle-overflow" aria-haspopup="menu" :aria-expanded="overflowOpen">
|
|
79
|
+
<button type="button" class="more" data-action="toggle-overflow" aria-haspopup="menu" from:aria-expanded="overflowOpen">
|
|
80
80
|
<ui-icon name="table"></ui-icon>
|
|
81
81
|
<span>Table options</span>
|
|
82
82
|
<span class="chevron"><ui-icon name="chevron-down"></ui-icon></span>
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
class="swatch-button"
|
|
93
93
|
class:selected="swatch.selected"
|
|
94
94
|
role="menuitemradio"
|
|
95
|
-
:aria-checked="swatch.selected"
|
|
96
|
-
:data-action="swatch.action"
|
|
95
|
+
from:aria-checked="swatch.selected"
|
|
96
|
+
from:data-action="swatch.action"
|
|
97
97
|
>
|
|
98
98
|
<span class="swatch" class:default="not swatch.color" style:--_swatch="swatch.color"></span>
|
|
99
99
|
<span $value="swatch.label"></span>
|
|
@@ -106,12 +106,12 @@
|
|
|
106
106
|
$each="item of section.items"
|
|
107
107
|
$key="item.action"
|
|
108
108
|
type="button"
|
|
109
|
-
:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
|
|
110
|
-
:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
|
|
109
|
+
from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
|
|
110
|
+
from:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
|
|
111
111
|
class:danger="item.danger"
|
|
112
|
-
:data-action="item.action"
|
|
112
|
+
from:data-action="item.action"
|
|
113
113
|
>
|
|
114
|
-
<ui-icon :name="item.icon"></ui-icon>
|
|
114
|
+
<ui-icon from:name="item.icon"></ui-icon>
|
|
115
115
|
<span $value="item.label"></span>
|
|
116
116
|
</button>
|
|
117
117
|
</div>
|