@threadlabs/looma 0.21.6 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-checkbox/ui-checkbox.html +1 -1
- package/components/ui-combobox/ui-combobox.html +18 -18
- package/components/ui-context-menu/ui-context-menu.html +1 -1
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
- package/components/ui-listbox/ui-listbox.html +6 -6
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-switch/ui-switch.html +1 -1
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tabs/ui-tabs.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/dist/index.js +1 -1
- 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 +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- 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 +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- 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 +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- 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 +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- 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 +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- 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 +2 -2
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +25 -7
- package/vue/UiAvatar.vue +125 -30
- package/vue/UiAvatarGroup.d.ts +1 -1
- package/vue/UiAvatarGroup.vue +67 -21
- package/vue/UiBadge.vue +34 -8
- package/vue/UiBreadcrumbItem.vue +15 -4
- package/vue/UiBreadcrumbs.vue +14 -4
- package/vue/UiButton.vue +123 -42
- package/vue/UiCallout.vue +16 -4
- package/vue/UiCard.vue +46 -10
- package/vue/UiCheckbox.d.ts +5 -5
- package/vue/UiCheckbox.vue +73 -19
- package/vue/UiCluster.vue +39 -10
- package/vue/UiCombobox.d.ts +5 -5
- package/vue/UiCombobox.vue +317 -78
- package/vue/UiContainer.vue +23 -6
- package/vue/UiContextMenu.vue +24 -7
- package/vue/UiCover.vue +16 -4
- package/vue/UiDescriptionItem.vue +14 -4
- package/vue/UiDescriptionList.vue +33 -8
- package/vue/UiDialog.vue +79 -26
- package/vue/UiDisclosure.vue +101 -38
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +107 -27
- package/vue/UiEditorInsertTableGrid.vue +47 -11
- package/vue/UiEditorMentionMenu.vue +99 -20
- package/vue/UiEditorMentionMenuItem.vue +29 -8
- package/vue/UiEditorSlashMenu.vue +85 -16
- package/vue/UiEditorSlashMenuGroup.vue +14 -4
- package/vue/UiEditorSlashMenuItem.vue +43 -12
- package/vue/UiEditorTableContextMenu.d.ts +1 -1
- package/vue/UiEditorTableContextMenu.vue +95 -19
- package/vue/UiEditorTableOverlay.vue +91 -7
- package/vue/UiEditorTableToolbar.vue +105 -16
- package/vue/UiEditorToolbar.vue +15 -4
- package/vue/UiFloatingActionButton.vue +31 -8
- package/vue/UiFormField.d.ts +1 -1
- package/vue/UiFormField.vue +31 -8
- package/vue/UiGrid.vue +30 -8
- package/vue/UiIcon.vue +15 -4
- package/vue/UiIconButton.vue +70 -24
- package/vue/UiInput.vue +114 -39
- package/vue/UiInputGroup.vue +15 -4
- package/vue/UiList.vue +47 -16
- package/vue/UiListItem.vue +24 -6
- package/vue/UiListbox.d.ts +3 -3
- package/vue/UiListbox.vue +72 -24
- package/vue/UiMenu.vue +55 -15
- package/vue/UiMenuGroup.vue +14 -4
- package/vue/UiMenuItem.d.ts +4 -4
- package/vue/UiMenuItem.vue +77 -27
- package/vue/UiMeter.vue +65 -16
- package/vue/UiNavItem.vue +48 -24
- package/vue/UiPageHeader.vue +16 -4
- package/vue/UiPopover.vue +46 -21
- package/vue/UiRadio.d.ts +4 -4
- package/vue/UiRadio.vue +58 -15
- package/vue/UiRadioGroup.d.ts +3 -3
- package/vue/UiRadioGroup.vue +66 -17
- package/vue/UiReel.d.ts +1 -1
- package/vue/UiReel.vue +31 -8
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.vue +23 -6
- package/vue/UiSearchShell.vue +38 -11
- package/vue/UiSection.vue +33 -8
- package/vue/UiSelect.d.ts +1 -1
- package/vue/UiSelect.vue +45 -20
- package/vue/UiSeparator.vue +16 -4
- package/vue/UiSidebar.d.ts +2 -2
- package/vue/UiSidebar.vue +86 -22
- package/vue/UiSpinner.vue +23 -6
- package/vue/UiStack.vue +31 -8
- package/vue/UiStatusMessage.vue +32 -8
- package/vue/UiSwitch.d.ts +4 -4
- package/vue/UiSwitch.vue +57 -15
- package/vue/UiSwitcher.vue +41 -17
- package/vue/UiTable.vue +24 -6
- package/vue/UiTabs.vue +60 -14
- package/vue/UiText.vue +98 -35
- package/vue/UiTextarea.d.ts +1 -1
- package/vue/UiTextarea.vue +67 -26
- package/vue/UiToast.vue +24 -6
- package/vue/UiToastRegion.vue +41 -13
- package/vue/UiTooltip.d.ts +1 -1
- package/vue/UiTooltip.vue +85 -30
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +56 -14
- package/vue/UiTreeItem.d.ts +3 -3
- package/vue/UiTreeItem.vue +147 -36
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +34 -7
- package/vue/chunks/UiAvatar.js +141 -21
- package/vue/chunks/UiAvatarGroup.js +83 -16
- package/vue/chunks/UiBadge.js +57 -19
- package/vue/chunks/UiBreadcrumbItem.js +19 -6
- package/vue/chunks/UiBreadcrumbs.js +19 -6
- package/vue/chunks/UiButton.js +194 -42
- package/vue/chunks/UiCallout.js +27 -13
- package/vue/chunks/UiCard.js +83 -25
- package/vue/chunks/UiCheckbox.js +104 -17
- package/vue/chunks/UiCluster.js +70 -25
- package/vue/chunks/UiCombobox.js +441 -46
- package/vue/chunks/UiContainer.js +36 -11
- package/vue/chunks/UiContextMenu.js +33 -7
- package/vue/chunks/UiCover.js +20 -6
- package/vue/chunks/UiDescriptionItem.js +18 -5
- package/vue/chunks/UiDescriptionList.js +54 -17
- package/vue/chunks/UiDialog.js +115 -23
- package/vue/chunks/UiDisclosure.js +110 -24
- package/vue/chunks/UiEditable.js +146 -18
- package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
- package/vue/chunks/UiEditorMentionMenu.js +210 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
- package/vue/chunks/UiEditorSlashMenu.js +186 -12
- package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
- package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
- package/vue/chunks/UiEditorTableContextMenu.js +116 -16
- package/vue/chunks/UiEditorTableOverlay.js +188 -7
- package/vue/chunks/UiEditorTableToolbar.js +125 -16
- package/vue/chunks/UiEditorToolbar.js +19 -6
- package/vue/chunks/UiFloatingActionButton.js +43 -8
- package/vue/chunks/UiFormField.js +43 -8
- package/vue/chunks/UiGrid.js +52 -18
- package/vue/chunks/UiIcon.js +19 -6
- package/vue/chunks/UiIconButton.js +107 -21
- package/vue/chunks/UiInput.js +309 -30
- package/vue/chunks/UiInputGroup.js +19 -6
- package/vue/chunks/UiList.js +62 -10
- package/vue/chunks/UiListItem.js +33 -7
- package/vue/chunks/UiListbox.js +105 -13
- package/vue/chunks/UiMenu.js +79 -11
- package/vue/chunks/UiMenuGroup.js +19 -6
- package/vue/chunks/UiMenuItem.js +93 -28
- package/vue/chunks/UiMeter.js +96 -19
- package/vue/chunks/UiNavItem.js +74 -17
- package/vue/chunks/UiPageHeader.js +20 -6
- package/vue/chunks/UiPopover.js +58 -21
- package/vue/chunks/UiRadio.js +82 -15
- package/vue/chunks/UiRadioGroup.js +89 -12
- package/vue/chunks/UiReel.js +53 -18
- package/vue/chunks/UiScrollArea.js +20 -6
- package/vue/chunks/UiSearchResultRow.js +32 -7
- package/vue/chunks/UiSearchShell.js +55 -9
- package/vue/chunks/UiSection.js +49 -12
- package/vue/chunks/UiSelect.js +68 -13
- package/vue/chunks/UiSeparator.js +20 -6
- package/vue/chunks/UiSidebar.js +123 -19
- package/vue/chunks/UiSpinner.js +33 -7
- package/vue/chunks/UiStack.js +59 -24
- package/vue/chunks/UiStatusMessage.js +53 -16
- package/vue/chunks/UiSwitch.js +82 -15
- package/vue/chunks/UiSwitcher.js +70 -25
- package/vue/chunks/UiTable.js +33 -7
- package/vue/chunks/UiTabs.js +81 -11
- package/vue/chunks/UiText.js +169 -58
- package/vue/chunks/UiTextarea.js +101 -16
- package/vue/chunks/UiToast.js +39 -13
- package/vue/chunks/UiToastRegion.js +41 -14
- package/vue/chunks/UiTooltip.js +113 -30
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +82 -15
- package/vue/chunks/UiTreeItem.js +184 -22
- package/vue/chunks/props.js +271 -35
- package/vue/components.css +1197 -1197
- package/vue/editor/index.js +5 -2
- package/vue/editor/primitives.d.ts +4 -1
- package/vue/host.ts +6 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<prop name="guide" type="keyword" values="dot, none" default="dot"
|
|
5
5
|
>What marks an anticipatory control at rest. dot shows a small guide dot where it will appear; none shows nothing until the pointer nears it, it is hovered,
|
|
6
6
|
or it takes focus. Every guide inside the scope follows it, including a sidebar's resize line and the editor table's handles.</prop>
|
|
7
|
-
<state name="engaged"
|
|
7
|
+
<state type="boolean" name="engaged" value="false"></state>
|
|
8
8
|
</defs>
|
|
9
9
|
<span><slot></slot></span>
|
|
10
10
|
<style>
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
<prop name="active" type="boolean" default="false"
|
|
22
22
|
>Marks the person as active now, such as editing the same page: a fine accent ring around the avatar. The ring is not announced, so say what it means in alt
|
|
23
23
|
("Ada Lovelace, editing").</prop>
|
|
24
|
-
<state name="hasImage"
|
|
25
|
-
<state name="hasAuthoredImage"
|
|
26
|
-
<state name="initials"
|
|
27
|
-
<state name="showGlyph"
|
|
24
|
+
<state type="boolean" name="hasImage" value="false"></state>
|
|
25
|
+
<state type="boolean" name="hasAuthoredImage" value="false"></state>
|
|
26
|
+
<state type="string" name="initials" value="?"></state>
|
|
27
|
+
<state type="boolean" name="showGlyph" value="false"></state>
|
|
28
28
|
</defs>
|
|
29
29
|
<span>
|
|
30
30
|
<slot></slot>
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
<prop name="size" type="keyword" values="xs, sm, md" default="md"
|
|
14
14
|
>The size of the avatars inside, matched by the +N badge and the overlap. Give each Avatar the same size. xs suits a group inside a line of small text, such
|
|
15
15
|
as the people listed under a title.</prop>
|
|
16
|
-
<state name="overflowCount"
|
|
17
|
-
<state name="overflowAnnouncement"
|
|
16
|
+
<state type="integer" name="overflowCount" value="0"></state>
|
|
17
|
+
<state type="string" name="overflowAnnouncement" value=""></state>
|
|
18
18
|
</defs>
|
|
19
19
|
<div role="group" from:aria-label="label">
|
|
20
20
|
<slot></slot>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
>Aligns the checkbox with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres
|
|
20
20
|
in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
|
|
21
21
|
baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
|
|
22
|
-
<state name="internalChecked"
|
|
22
|
+
<state type="boolean" name="internalChecked" value="false"></state>
|
|
23
23
|
<event name="change" type="object">
|
|
24
24
|
<prop name="checked" required type="boolean"></prop>
|
|
25
25
|
<prop name="value" required type="string"></prop>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<state
|
|
92
92
|
name="internalItems"
|
|
93
93
|
type="list"
|
|
94
|
-
|
|
94
|
+
value="[]"
|
|
95
95
|
>
|
|
96
96
|
<prop type="object">
|
|
97
97
|
<prop name="id" required type="string"></prop>
|
|
@@ -107,14 +107,14 @@
|
|
|
107
107
|
</prop>
|
|
108
108
|
</prop>
|
|
109
109
|
</state>
|
|
110
|
-
<state name="raw"
|
|
111
|
-
<state name="display"
|
|
112
|
-
<state name="selected" type="string"
|
|
113
|
-
<state name="expanded"
|
|
110
|
+
<state type="string" name="raw" value=""></state>
|
|
111
|
+
<state type="string" name="display" value=""></state>
|
|
112
|
+
<state name="selected" type="string"></state>
|
|
113
|
+
<state type="boolean" name="expanded" value="false"></state>
|
|
114
114
|
<state
|
|
115
115
|
name="rows"
|
|
116
116
|
type="list"
|
|
117
|
-
|
|
117
|
+
value="[]"
|
|
118
118
|
>
|
|
119
119
|
<prop type="object">
|
|
120
120
|
<prop name="id" required type="string"></prop>
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
</prop>
|
|
132
132
|
</prop>
|
|
133
133
|
</state>
|
|
134
|
-
<state name="active"
|
|
135
|
-
<state name="helpOpen"
|
|
136
|
-
<state name="lookupError"
|
|
134
|
+
<state type="integer" name="active" value="-1"></state>
|
|
135
|
+
<state type="boolean" name="helpOpen" value="false"></state>
|
|
136
|
+
<state type="string" name="lookupError" value=""></state>
|
|
137
137
|
<state
|
|
138
138
|
name="validation"
|
|
139
139
|
type="object"
|
|
140
|
-
|
|
140
|
+
value="{ status: 'pristine', touched: false, dirty: false, issues: [] }"
|
|
141
141
|
open
|
|
142
142
|
>
|
|
143
143
|
<prop name="status" required type="keyword" values="pristine, pending, valid, warning, error"></prop>
|
|
@@ -149,12 +149,12 @@
|
|
|
149
149
|
</prop>
|
|
150
150
|
</prop>
|
|
151
151
|
</state>
|
|
152
|
-
<state name="uid"
|
|
153
|
-
<state name="submitted"
|
|
152
|
+
<state type="string" name="uid" value=""></state>
|
|
153
|
+
<state type="string" name="submitted" value=""></state>
|
|
154
154
|
<state
|
|
155
155
|
name="groups"
|
|
156
156
|
type="list"
|
|
157
|
-
|
|
157
|
+
value="[]"
|
|
158
158
|
>
|
|
159
159
|
<prop type="object">
|
|
160
160
|
<prop name="name" required type="string"></prop>
|
|
@@ -181,11 +181,11 @@
|
|
|
181
181
|
</prop>
|
|
182
182
|
</prop>
|
|
183
183
|
</state>
|
|
184
|
-
<state name="creatable"
|
|
185
|
-
<state name="createIndex"
|
|
186
|
-
<state name="message"
|
|
187
|
-
<state name="statusText"
|
|
188
|
-
<state name="validationStatus"
|
|
184
|
+
<state type="boolean" name="creatable" value="false"></state>
|
|
185
|
+
<state type="integer" name="createIndex" value="0"></state>
|
|
186
|
+
<state type="string" name="message" value=""></state>
|
|
187
|
+
<state type="string" name="statusText" value=""></state>
|
|
188
|
+
<state type="string" name="validationStatus" value="pristine"></state>
|
|
189
189
|
<event name="query-change" type="object">
|
|
190
190
|
<prop name="query" required type="string"></prop>
|
|
191
191
|
<prop name="display" required type="string"></prop>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="open" type="boolean" default="false">Whether the context menu is open initially or when set externally.</prop>
|
|
4
4
|
<prop name="for" type="string" default="">ID of the element whose context click (right-click, long-press, Shift+F10, or the Menu key) opens the menu.</prop>
|
|
5
|
-
<state name="internalOpen"
|
|
5
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
6
6
|
<event
|
|
7
7
|
name="open"
|
|
8
8
|
type="object"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<prop name="size" type="keyword" values="sm, md, lg, fullscreen" default="md">Choose a compact, standard, wide, or viewport-filling dialog.</prop>
|
|
17
17
|
<prop name="label" type="string">Visible title in the dialog header; also its accessible name.</prop>
|
|
18
18
|
<prop name="for" type="string" default="">ID of the control that opens the dialog.</prop>
|
|
19
|
-
<state name="internalOpen"
|
|
20
|
-
<state name="accessibleLabel"
|
|
19
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
20
|
+
<state type="string" name="accessibleLabel" value="Dialog"></state>
|
|
21
21
|
<event
|
|
22
22
|
name="open"
|
|
23
23
|
type="object"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
items.</prop>
|
|
14
14
|
<prop name="headingLevel" type="integer" default="0"
|
|
15
15
|
>Adds heading semantics around the trigger at level 2 through 6. Zero leaves it a plain disclosure; choose a level that matches the page outline.</prop>
|
|
16
|
-
<state name="internalOpen"
|
|
17
|
-
<state name="contentId"
|
|
18
|
-
<state
|
|
19
|
-
<state
|
|
16
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
17
|
+
<state type="string" name="contentId" value=""></state>
|
|
18
|
+
<state type="keyword" name="headingRole"></state>
|
|
19
|
+
<state type="integer" name="headingAriaLevel"></state>
|
|
20
20
|
<event
|
|
21
21
|
name="open"
|
|
22
22
|
type="object"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
<prop name="placeholder" type="string" default="">Hint shown in the text input while the draft is empty.</prop>
|
|
15
15
|
<prop name="required" type="boolean" default="false">Prevent an empty draft from being saved.</prop>
|
|
16
16
|
<prop name="maxLength" type="number" default="0">Maximum draft length; 0 leaves the length unrestricted.</prop>
|
|
17
|
-
<state name="internalEdit"
|
|
18
|
-
<state name="internalValue"
|
|
19
|
-
<state name="draft"
|
|
17
|
+
<state type="boolean" name="internalEdit" value="false"></state>
|
|
18
|
+
<state type="string" name="internalValue" value=""></state>
|
|
19
|
+
<state type="string" name="draft" value=""></state>
|
|
20
20
|
<event name="input" type="object">
|
|
21
21
|
<prop name="value" required type="string"></prop>
|
|
22
22
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
<state
|
|
8
8
|
name="cells"
|
|
9
9
|
type="list(object({ key: string, row: integer, col: integer, label: string, selected: boolean, tabIndex: integer }))"
|
|
10
|
-
|
|
10
|
+
value="[]"
|
|
11
11
|
></state>
|
|
12
|
-
<state name="rows"
|
|
13
|
-
<state name="cols"
|
|
14
|
-
<state name="hint"
|
|
15
|
-
<state name="withHeaderRow"
|
|
12
|
+
<state type="integer" name="rows" value="8"></state>
|
|
13
|
+
<state type="integer" name="cols" value="8"></state>
|
|
14
|
+
<state type="string" name="hint" value=""></state>
|
|
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
18
|
<div from:hidden="not open">
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
name="anchorRect"
|
|
15
15
|
type="object({ left?: number, top?: number, right?: number, bottom?: number, x?: number, y?: number, width?: number, height?: number })"
|
|
16
16
|
>Where the @ was typed, in viewport coordinates.</prop>
|
|
17
|
-
<state name="visible"
|
|
18
|
-
<state name="rows" type="list(object({ id: string, label: string, detail?: string, initials: string }))"
|
|
19
|
-
<state name="searching"
|
|
20
|
-
<state name="active"
|
|
21
|
-
<state name="prefix"
|
|
17
|
+
<state type="boolean" name="visible" value="false"></state>
|
|
18
|
+
<state name="rows" type="list(object({ id: string, label: string, detail?: string, initials: string }))" value="[]"></state>
|
|
19
|
+
<state type="boolean" name="searching" value="false"></state>
|
|
20
|
+
<state type="integer" name="active" value="0"></state>
|
|
21
|
+
<state type="string" name="prefix" value="ui-editor-mention-menu"></state>
|
|
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>
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
name="anchorRect"
|
|
17
17
|
type="object({ left?: number, top?: number, right?: number, bottom?: number, x?: number, y?: number, width?: number, height?: number })"
|
|
18
18
|
>Where the slash was typed, in viewport coordinates.</prop>
|
|
19
|
-
<state name="visible"
|
|
20
|
-
<state name="active"
|
|
21
|
-
<state name="rows" type="list(object({ value: string, title: string, description: string, icon: string }))"
|
|
19
|
+
<state type="boolean" name="visible" value="false"></state>
|
|
20
|
+
<state type="integer" name="active" value="0"></state>
|
|
21
|
+
<state name="rows" type="list(object({ value: string, title: string, description: string, icon: string }))" value="[]"></state>
|
|
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>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
></prop>
|
|
17
17
|
The complete set of commands the current selection permits.
|
|
18
18
|
</prop>
|
|
19
|
-
<state name="swatches" type="list"
|
|
19
|
+
<state name="swatches" type="list" value="[]">
|
|
20
20
|
<prop type="object">
|
|
21
21
|
<prop name="action" required type="string"></prop>
|
|
22
22
|
<prop name="label" required type="string"></prop>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<state
|
|
28
28
|
name="sections"
|
|
29
29
|
type="list(object({ heading: string, items: list(object({ action: string, label: string, icon: string, danger: boolean, checkable: boolean, checked: boolean })) }))"
|
|
30
|
-
|
|
30
|
+
value="[]"
|
|
31
31
|
></state>
|
|
32
32
|
<event
|
|
33
33
|
name="action"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<state
|
|
34
34
|
name="rows"
|
|
35
35
|
type="list"
|
|
36
|
-
|
|
36
|
+
value="[]"
|
|
37
37
|
>
|
|
38
38
|
<prop type="object">
|
|
39
39
|
<prop name="key" required type="string"></prop>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<state
|
|
48
48
|
name="cols"
|
|
49
49
|
type="list"
|
|
50
|
-
|
|
50
|
+
value="[]"
|
|
51
51
|
>
|
|
52
52
|
<prop type="object">
|
|
53
53
|
<prop name="key" required type="string"></prop>
|
|
@@ -61,8 +61,6 @@
|
|
|
61
61
|
<state
|
|
62
62
|
name="hovered"
|
|
63
63
|
type="object"
|
|
64
|
-
:value="null"
|
|
65
|
-
nullable
|
|
66
64
|
>
|
|
67
65
|
<prop name="left" required type="number"></prop>
|
|
68
66
|
<prop name="top" required type="number"></prop>
|
|
@@ -76,8 +74,6 @@
|
|
|
76
74
|
<state
|
|
77
75
|
name="active"
|
|
78
76
|
type="object"
|
|
79
|
-
:value="null"
|
|
80
|
-
nullable
|
|
81
77
|
>
|
|
82
78
|
<prop name="left" required type="number"></prop>
|
|
83
79
|
<prop name="top" required type="number"></prop>
|
|
@@ -88,7 +84,7 @@
|
|
|
88
84
|
<prop name="menuLeft" required type="string"></prop>
|
|
89
85
|
<prop name="menuTop" required type="string"></prop>
|
|
90
86
|
</state>
|
|
91
|
-
<state name="activeKey"
|
|
87
|
+
<state type="string" name="activeKey" value=""></state>
|
|
92
88
|
<event name="add-row-before" type="object({ boundaryIndex: integer })"></event>
|
|
93
89
|
<event name="add-row-after" type="object({ boundaryIndex: integer })"></event>
|
|
94
90
|
<event name="add-column-before" type="object({ boundaryIndex: integer })"></event>
|
|
@@ -17,28 +17,28 @@
|
|
|
17
17
|
></prop>
|
|
18
18
|
The complete set of commands the current selection permits.
|
|
19
19
|
</prop>
|
|
20
|
-
<state name="alignments" type="list"
|
|
20
|
+
<state name="alignments" type="list" value="[]">
|
|
21
21
|
<prop type="object">
|
|
22
22
|
<prop name="action" required type="keyword" values="align-left, align-center, align-right"></prop>
|
|
23
23
|
<prop name="label" required type="string"></prop>
|
|
24
24
|
<prop name="active" required type="boolean"></prop>
|
|
25
25
|
</prop>
|
|
26
26
|
</state>
|
|
27
|
-
<state name="structure" type="list"
|
|
27
|
+
<state name="structure" type="list" value="[]">
|
|
28
28
|
<prop type="object">
|
|
29
29
|
<prop name="action" required type="keyword" values="add-row-after, add-column-after"></prop>
|
|
30
30
|
<prop name="label" required type="string"></prop>
|
|
31
31
|
<prop name="icon" required type="string"></prop>
|
|
32
32
|
</prop>
|
|
33
33
|
</state>
|
|
34
|
-
<state name="swatches" type="list(object({ action: string, label: string, color: string, selected: boolean }))"
|
|
34
|
+
<state name="swatches" type="list(object({ action: string, label: string, color: string, selected: boolean }))" value="[]"></state>
|
|
35
35
|
<state
|
|
36
36
|
name="sections"
|
|
37
37
|
type="list(object({ heading: string, items: list(object({ action: string, label: string, icon: string, danger: boolean, checkable: boolean, checked: boolean })) }))"
|
|
38
|
-
|
|
38
|
+
value="[]"
|
|
39
39
|
></state>
|
|
40
|
-
<state name="hasOverflow"
|
|
41
|
-
<state name="overflowOpen"
|
|
40
|
+
<state type="boolean" name="hasOverflow" value="false"></state>
|
|
41
|
+
<state type="boolean" name="overflowOpen" value="false"></state>
|
|
42
42
|
<event
|
|
43
43
|
name="action"
|
|
44
44
|
type="object"
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
<prop name="disabled" type="boolean" default="false">Prevents selection and form submission.</prop>
|
|
10
10
|
<prop name="required" type="boolean" default="false">Requires at least one choice before form submission.</prop>
|
|
11
11
|
<prop name="invalid" type="boolean" default="false">Exposes invalid state to assistive technology and styling.</prop>
|
|
12
|
-
<state name="choices" type="list(object({ value: string, label: string, disabled: boolean, selected: boolean, index: integer }))"
|
|
13
|
-
<state name="selection" type="list(string)"
|
|
14
|
-
<state name="hasSelection" type="boolean"
|
|
15
|
-
<state name="active" type="integer"
|
|
16
|
-
<state name="uid" type="string"
|
|
17
|
-
<state name="validationError" type="boolean"
|
|
12
|
+
<state name="choices" type="list(object({ value: string, label: string, disabled: boolean, selected: boolean, index: integer }))" value="[]"></state>
|
|
13
|
+
<state name="selection" type="list(string)" value="[]"></state>
|
|
14
|
+
<state name="hasSelection" type="boolean" value="false"></state>
|
|
15
|
+
<state name="active" type="integer" value="-1"></state>
|
|
16
|
+
<state name="uid" type="string" value=""></state>
|
|
17
|
+
<state name="validationError" type="boolean" value="false"></state>
|
|
18
18
|
<event name="change" type="object">
|
|
19
19
|
<prop name="value" required nullable type="string"></prop>
|
|
20
20
|
<prop name="values" required type="list">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<prop name="inline" type="boolean" default="false">Displays the menu in the page flow without an overlay or trigger, for an embedded list of actions.</prop>
|
|
10
10
|
<prop name="for" type="string" default="">ID of the control that toggles and anchors the menu.</prop>
|
|
11
11
|
<prop name="placement" type="string" default="bottom-start">Positions an associated menu relative to its trigger.</prop>
|
|
12
|
-
<state name="internalOpen"
|
|
12
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
13
13
|
<event name="select" type="object">
|
|
14
14
|
<prop name="value" required type="string"></prop>
|
|
15
15
|
<prop name="checked" type="boolean"></prop>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<prop name="type" type="keyword" values="action, checkbox, radio" default="action"
|
|
11
11
|
>An action closes its menu; a checkbox toggles, and a radio chooses one item within its nearest Menu Group. Checkable items keep the menu open.</prop>
|
|
12
12
|
<prop name="checked" type="boolean" default="false">Initial or externally controlled checked state of a checkbox or radio item.</prop>
|
|
13
|
-
<state name="internalChecked"
|
|
13
|
+
<state type="boolean" name="internalChecked" value="false"></state>
|
|
14
14
|
<event name="change" type="object">
|
|
15
15
|
<prop name="checked" required type="boolean"></prop>
|
|
16
16
|
<prop name="value" required type="string"></prop>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
values="top, top-start, top-end, bottom, bottom-start, bottom-end, left, left-start, left-end, right, right-start, right-end"
|
|
9
9
|
default="bottom-start"
|
|
10
10
|
>Positions the surface around its trigger. Start and end on top or bottom follow the writing direction.</prop>
|
|
11
|
-
<state name="internalOpen"
|
|
11
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
12
12
|
<event
|
|
13
13
|
name="open"
|
|
14
14
|
type="object"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
>Aligns the radio with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres in
|
|
17
17
|
that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text baseline.
|
|
18
18
|
Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
|
|
19
|
-
<state name="internalChecked"
|
|
19
|
+
<state type="boolean" name="internalChecked" value="false"></state>
|
|
20
20
|
<event name="change" type="object">
|
|
21
21
|
<prop name="checked" required type="boolean"></prop>
|
|
22
22
|
<prop name="value" required type="string"></prop>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
form validation fails until one is checked.</prop>
|
|
19
19
|
<prop name="invalid" type="boolean" default="false"
|
|
20
20
|
>Exposes an externally validated error on the group and styles its legend with the field danger colour.</prop>
|
|
21
|
-
<state name="internalValue"
|
|
21
|
+
<state type="string" name="internalValue" value=""></state>
|
|
22
22
|
<event name="select" type="object">
|
|
23
23
|
<prop name="value" required type="string"></prop>
|
|
24
24
|
<prop name="previousValue" required type="string"></prop>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<prop name="modal" type="boolean" default="false">Makes the rest of the page inert while the search surface is open.</prop>
|
|
5
5
|
<prop name="dismissible" type="boolean" default="false">Allows backdrop activation to close the search surface. Escape always closes it.</prop>
|
|
6
6
|
<prop name="label" type="string" default="Search">Provides the native dialog's accessible name.</prop>
|
|
7
|
-
<state name="internalOpen"
|
|
7
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
8
8
|
<event
|
|
9
9
|
name="close"
|
|
10
10
|
type="object"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<prop name="collapsed" type="boolean" default="false">Whether the docked sidebar is collapsed.</prop>
|
|
11
11
|
<prop name="breakpoint" type="keyword" values="sm, md, lg" default="md"
|
|
12
12
|
>Below this viewport width (40rem, 48rem, 64rem) the sidebar becomes an off-canvas drawer, closed until toggled.</prop>
|
|
13
|
-
<state name="internalCollapsed"
|
|
14
|
-
<state name="drawer"
|
|
13
|
+
<state type="boolean" name="internalCollapsed" value="false"></state>
|
|
14
|
+
<state type="boolean" name="drawer" value="false"></state>
|
|
15
15
|
<event name="resize" type="object">
|
|
16
16
|
<prop name="width" required type="number"></prop>
|
|
17
17
|
<prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
>Aligns the switch with fields and buttons of the same size. It keeps its track size; the label takes that size's field type size and its first line centres
|
|
14
14
|
in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
|
|
15
15
|
baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
|
|
16
|
-
<state name="internalChecked"
|
|
16
|
+
<state type="boolean" name="internalChecked" value="false"></state>
|
|
17
17
|
<event name="change" type="object">
|
|
18
18
|
<prop name="checked" required type="boolean"></prop>
|
|
19
19
|
<prop name="value" required type="string"></prop>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
bottoms.</prop>
|
|
12
12
|
<prop name="limit" type="integer"
|
|
13
13
|
>Most children allowed in a horizontal row. When the count exceeds this value, every child stacks regardless of width. Omit it for no count limit.</prop>
|
|
14
|
-
<state name="overLimit"
|
|
14
|
+
<state type="boolean" name="overLimit" value="false"></state>
|
|
15
15
|
</defs>
|
|
16
16
|
<div><slot></slot></div>
|
|
17
17
|
<style>
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
>In auto mode, arrow keys move focus and select the next panel. In manual mode, arrows move focus while Enter or Space selects a panel. Use manual when
|
|
15
15
|
displaying a panel takes time.</prop>
|
|
16
16
|
<prop name="stretch" type="boolean" default="false">Share the full width of the tab list equally between tabs instead of sizing each to its label.</prop>
|
|
17
|
-
<state name="internalValue"
|
|
18
|
-
<state name="tabs" type="list(object({ id: string, label: string }))"
|
|
17
|
+
<state type="string" name="internalValue" value=""></state>
|
|
18
|
+
<state name="tabs" type="list(object({ id: string, label: string }))" value="[]"></state>
|
|
19
19
|
<event name="select" type="object">
|
|
20
20
|
<prop name="value" required type="string"></prop>
|
|
21
21
|
<prop name="previousValue" required type="string"></prop>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<prop name="showDelay" type="number" default="500">Waits this many milliseconds before showing after pointer entry.</prop>
|
|
15
15
|
<prop name="hideDelay" type="number" default="100">Waits this many milliseconds before hiding after pointer exit.</prop>
|
|
16
16
|
<prop name="inverse" type="boolean" default="false">Use the high-contrast inverse surface (dark on light themes, light on dark themes).</prop>
|
|
17
|
-
<state name="internalOpen"
|
|
17
|
+
<state type="boolean" name="internalOpen" value="false"></state>
|
|
18
18
|
<event
|
|
19
19
|
name="open"
|
|
20
20
|
type="object"
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
still list.</prop>
|
|
41
41
|
<prop name="disabled" type="boolean" default="false"
|
|
42
42
|
>Makes the item unavailable: faded, skipped by keyboard navigation, unable to expand or be dragged, and closed to drops inside it.</prop>
|
|
43
|
-
<state name="internalExpanded"
|
|
44
|
-
<state name="structuralLevel"
|
|
45
|
-
<state name="tabStop"
|
|
46
|
-
<state name="isContainer"
|
|
43
|
+
<state type="boolean" name="internalExpanded" value="false"></state>
|
|
44
|
+
<state type="integer" name="structuralLevel" value="1"></state>
|
|
45
|
+
<state type="boolean" name="tabStop" value="false"></state>
|
|
46
|
+
<state type="boolean" name="isContainer" value="false"></state>
|
|
47
47
|
<event name="expand" bubbles="false" type="object">
|
|
48
48
|
<prop name="id" required type="string"></prop>
|
|
49
49
|
<prop name="expanded" required type="boolean"></prop>
|