@threadlabs/looma 0.28.12 → 0.28.14
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 +1 -1
- package/components/ui-combobox/ui-combobox.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +4 -4
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +2 -2
- package/dist/index.js +1 -1
- package/editor/formatting-selection.d.ts +49 -0
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +2 -2
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-swatch.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 +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +3 -3
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +3 -3
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- 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/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +2 -2
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.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 +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- 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 +2 -2
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +2 -2
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +2 -2
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +3 -3
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- 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 +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +4 -4
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +2 -2
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- 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 +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +2 -2
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- 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 +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +3 -3
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- 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 +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +3 -3
- package/vue/UiActionBar.vue +23 -15
- package/vue/UiAffordanceScope.vue +11 -9
- package/vue/UiAvatar.vue +34 -27
- package/vue/UiAvatarGroup.vue +22 -17
- package/vue/UiBadge.vue +78 -69
- package/vue/UiBreadcrumbItem.vue +17 -14
- package/vue/UiBreadcrumbs.vue +9 -7
- package/vue/UiButton.vue +150 -138
- package/vue/UiCallout.vue +68 -43
- package/vue/UiCard.vue +52 -44
- package/vue/UiCheckbox.vue +48 -40
- package/vue/UiCluster.vue +35 -33
- package/vue/UiCombobox.vue +158 -107
- package/vue/UiContainer.vue +16 -14
- package/vue/UiContextMenu.vue +24 -13
- package/vue/UiCover.vue +10 -8
- package/vue/UiDescriptionItem.vue +11 -9
- package/vue/UiDescriptionList.vue +20 -18
- package/vue/UiDialog.vue +41 -37
- package/vue/UiDisclosure.vue +65 -51
- package/vue/UiEditable.vue +34 -33
- package/vue/UiEditorBlockActions.vue +4 -3
- package/vue/UiEditorChipEditor.vue +4 -3
- package/vue/UiEditorCodeLanguage.vue +5 -4
- package/vue/UiEditorImageToolbar.vue +5 -4
- package/vue/UiEditorInsertTableGrid.vue +19 -18
- package/vue/UiEditorLinkCard.vue +7 -6
- package/vue/UiEditorLinkForm.vue +15 -14
- package/vue/UiEditorMentionMenu.vue +52 -37
- package/vue/UiEditorMentionMenuItem.vue +30 -20
- package/vue/UiEditorSlashMenu.vue +49 -36
- package/vue/UiEditorSlashMenuGroup.vue +16 -10
- package/vue/UiEditorSlashMenuItem.vue +36 -26
- package/vue/UiEditorSurface.vue +8 -6
- package/vue/UiEditorTableContextMenu.vue +26 -25
- package/vue/UiEditorTableOverlay.vue +56 -51
- package/vue/UiEditorTableToolbar.vue +37 -36
- package/vue/UiEditorToolbar.vue +24 -20
- package/vue/UiFloatingActionButton.vue +17 -15
- package/vue/UiFormField.vue +27 -22
- package/vue/UiGrid.vue +17 -15
- package/vue/UiIcon.vue +7 -6
- package/vue/UiIconButton.vue +75 -70
- package/vue/UiImage.vue +61 -46
- package/vue/UiInput.vue +28 -28
- package/vue/UiInputGroup.vue +48 -43
- package/vue/UiList.vue +25 -21
- package/vue/UiListItem.vue +54 -44
- package/vue/UiListbox.vue +29 -22
- package/vue/UiMenu.vue +25 -23
- package/vue/UiMenuGroup.vue +11 -7
- package/vue/UiMenuItem.vue +52 -43
- package/vue/UiMeter.vue +42 -41
- package/vue/UiNavItem.vue +60 -47
- package/vue/UiPageHeader.vue +27 -20
- package/vue/UiPopover.vue +21 -19
- package/vue/UiRadio.vue +32 -28
- package/vue/UiRadioGroup.vue +24 -19
- package/vue/UiReel.vue +24 -22
- package/vue/UiScrollArea.vue +30 -24
- package/vue/UiSearchResultRow.vue +41 -26
- package/vue/UiSearchShell.vue +37 -29
- package/vue/UiSection.vue +31 -24
- package/vue/UiSelect.vue +23 -21
- package/vue/UiSeparator.vue +14 -13
- package/vue/UiSidebar.vue +48 -40
- package/vue/UiSpinner.vue +14 -13
- package/vue/UiStack.vue +26 -24
- package/vue/UiStatusMessage.vue +26 -21
- package/vue/UiSwatch.vue +13 -12
- package/vue/UiSwitch.vue +37 -33
- package/vue/UiSwitcher.vue +27 -22
- package/vue/UiTable.vue +23 -19
- package/vue/UiTabs.vue +48 -33
- package/vue/UiText.vue +173 -151
- package/vue/UiTextarea.vue +27 -27
- package/vue/UiToast.vue +17 -15
- package/vue/UiToastRegion.vue +36 -31
- package/vue/UiTooltip.vue +40 -34
- package/vue/UiTopBar.vue +17 -13
- package/vue/UiTree.vue +17 -15
- package/vue/UiTreeItem.vue +202 -133
- package/vue/chunks/UiActionBar.js +21 -6
- package/vue/chunks/UiAffordanceScope.js +8 -6
- package/vue/chunks/UiAvatar.js +30 -20
- package/vue/chunks/UiAvatarGroup.js +16 -13
- package/vue/chunks/UiBadge.js +19 -13
- package/vue/chunks/UiBreadcrumbItem.js +13 -7
- package/vue/chunks/UiBreadcrumbs.js +9 -4
- package/vue/chunks/UiButton.js +158 -124
- package/vue/chunks/UiCallout.js +105 -37
- package/vue/chunks/UiCard.js +50 -42
- package/vue/chunks/UiCheckbox.js +32 -22
- package/vue/chunks/UiCluster.js +18 -16
- package/vue/chunks/UiCombobox.js +130 -73
- package/vue/chunks/UiContainer.js +10 -8
- package/vue/chunks/UiContextMenu.js +7 -4
- package/vue/chunks/UiCover.js +7 -5
- package/vue/chunks/UiDescriptionItem.js +9 -3
- package/vue/chunks/UiDescriptionList.js +10 -8
- package/vue/chunks/UiDialog.js +26 -19
- package/vue/chunks/UiDisclosure.js +43 -25
- package/vue/chunks/UiEditable.js +25 -24
- package/vue/chunks/UiEditorBlockActions.js +4 -3
- package/vue/chunks/UiEditorChipEditor.js +4 -3
- package/vue/chunks/UiEditorCodeLanguage.js +5 -4
- package/vue/chunks/UiEditorImageToolbar.js +7 -6
- package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
- package/vue/chunks/UiEditorLinkCard.js +11 -10
- package/vue/chunks/UiEditorLinkForm.js +26 -25
- package/vue/chunks/UiEditorMentionMenu.js +41 -24
- package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
- package/vue/chunks/UiEditorSlashMenu.js +41 -20
- package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
- package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
- package/vue/chunks/UiEditorSurface.js +6 -4
- package/vue/chunks/UiEditorTableContextMenu.js +14 -13
- package/vue/chunks/UiEditorTableOverlay.js +6 -5
- package/vue/chunks/UiEditorTableToolbar.js +14 -13
- package/vue/chunks/UiEditorToolbar.js +8 -5
- package/vue/chunks/UiFloatingActionButton.js +11 -9
- package/vue/chunks/UiFormField.js +30 -16
- package/vue/chunks/UiGrid.js +10 -8
- package/vue/chunks/UiIcon.js +6 -3
- package/vue/chunks/UiIconButton.js +33 -26
- package/vue/chunks/UiImage.js +31 -22
- package/vue/chunks/UiInput.js +17 -16
- package/vue/chunks/UiInputGroup.js +30 -16
- package/vue/chunks/UiList.js +24 -20
- package/vue/chunks/UiListItem.js +39 -22
- package/vue/chunks/UiListbox.js +35 -25
- package/vue/chunks/UiMenu.js +22 -17
- package/vue/chunks/UiMenuGroup.js +7 -4
- package/vue/chunks/UiMenuItem.js +57 -38
- package/vue/chunks/UiMeter.js +22 -21
- package/vue/chunks/UiNavItem.js +78 -42
- package/vue/chunks/UiPageHeader.js +30 -10
- package/vue/chunks/UiPopover.js +16 -11
- package/vue/chunks/UiRadio.js +26 -16
- package/vue/chunks/UiRadioGroup.js +24 -19
- package/vue/chunks/UiReel.js +11 -9
- package/vue/chunks/UiScrollArea.js +16 -13
- package/vue/chunks/UiSearchResultRow.js +39 -19
- package/vue/chunks/UiSearchShell.js +36 -18
- package/vue/chunks/UiSection.js +31 -13
- package/vue/chunks/UiSelect.js +14 -12
- package/vue/chunks/UiSeparator.js +11 -10
- package/vue/chunks/UiSidebar.js +33 -23
- package/vue/chunks/UiSpinner.js +7 -6
- package/vue/chunks/UiStack.js +14 -12
- package/vue/chunks/UiStatusMessage.js +23 -11
- package/vue/chunks/UiSwatch.js +5 -4
- package/vue/chunks/UiSwitch.js +26 -16
- package/vue/chunks/UiSwitcher.js +13 -11
- package/vue/chunks/UiTable.js +9 -7
- package/vue/chunks/UiTabs.js +23 -18
- package/vue/chunks/UiText.js +277 -255
- package/vue/chunks/UiTextarea.js +21 -20
- package/vue/chunks/UiToast.js +13 -7
- package/vue/chunks/UiToastRegion.js +15 -8
- package/vue/chunks/UiTooltip.js +27 -19
- package/vue/chunks/UiTopBar.js +21 -6
- package/vue/chunks/UiTree.js +18 -16
- package/vue/chunks/UiTreeItem.js +82 -45
- package/vue/chunks/_plugin-vue_export-helper.js +17 -4
- package/vue/components.css +1507 -1479
- package/vue/editor/index.js +108 -65
- package/vue/host.ts +26 -6
package/vanilla/UiTextarea.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, toAttribute, toText, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, checkBoolean, checkFormat, checkInteger, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-textarea/ui-textarea.js";
|
|
4
4
|
import "../styles/ui-textarea.css";
|
|
5
5
|
|
|
6
6
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-textarea" };
|
|
7
|
-
const D = { props: { "autosize": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "rows": { "required":false,"default":4, c: checkInteger, t: "integer", j: 0, m: "i" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
|
|
7
|
+
const D = { g: "ui-textarea", props: { "autosize": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "rows": { "required":false,"default":4, c: checkInteger, t: "integer", j: 0, m: "i" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
|
|
8
8
|
const C = (host) => controller.default(host);
|
|
9
9
|
|
|
10
10
|
export function createUiTextarea(options = {}, html) {
|
package/vanilla/UiToast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiToast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, readIndex, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast/ui-toast.js";
|
|
4
4
|
import "../styles/ui-toast.css";
|
|
@@ -8,7 +8,7 @@ const T1 = ["",[]];
|
|
|
8
8
|
const T2 = ["",[]];
|
|
9
9
|
let P0, P1, P2;
|
|
10
10
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-toast", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
11
|
-
const D = { props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "tone": { "required":false,"values":["neutral","info","success","warning","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
11
|
+
const D = { g: "ui-toast", props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "tone": { "required":false,"values":["neutral","info","success","warning","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
12
12
|
const C = (host) => controller.default(host);
|
|
13
13
|
|
|
14
14
|
export function createUiToast(options = {}, html) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastRegionEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
"show-toast": CustomEvent<{ readonly message: string; readonly id?: string; readonly tone?: "neutral" | "info" | "success" | "warning" | "danger"; readonly duration?: number }>;
|
package/vanilla/UiToastRegion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast-region/ui-toast-region.js";
|
|
4
4
|
import "../styles/ui-toast-region.css";
|
|
@@ -9,7 +9,7 @@ const T2 = ["div",["class","toast"],["span",["class","message"],0],["span",["cla
|
|
|
9
9
|
let P0, P1, P2;
|
|
10
10
|
const E = new Map();
|
|
11
11
|
const S = { n: ["toasts"], t: [["l",["o",["id","s","message","s","tone",["p",formatOf(keywordFormat),false],"role",["p",formatOf(keywordFormat),false],"closing","b"]]]], f: import.meta.url, g: "ui-toast-region", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "show-toast": [detailCheck(checkObject([["message", checkString, false], ["id", checkString, true], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","info","success","warning","danger"]}), true], ["duration", checkNumber, true]], false)), true, true, false] }, x: dispatchDeclared };
|
|
12
|
-
const D = { props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
12
|
+
const D = { g: "ui-toast-region", props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
13
13
|
const C = (host) => controller.default(host);
|
|
14
14
|
|
|
15
15
|
export function createUiToastRegion(options = {}, html) {
|
package/vanilla/UiTooltip.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTooltipEventMap {
|
|
3
3
|
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tooltip/ui-tooltip.js";
|
|
4
4
|
import "../styles/ui-tooltip.css";
|
|
@@ -8,7 +8,7 @@ const T1 = ["",[]];
|
|
|
8
8
|
const T2 = ["",[]];
|
|
9
9
|
let P0, P1, P2;
|
|
10
10
|
const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-tooltip", d: { "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
11
|
-
const D = { props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "hideDelay": { "required":false,"default":100, c: checkNumber, t: "number", j: 0, m: "n" }, "inverse": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "showDelay": { "required":false,"default":500, c: checkNumber, t: "number", j: 0, m: "n" }, "trigger": { "required":false,"values":["hover","click","focus"],"default":"hover", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
11
|
+
const D = { g: "ui-tooltip", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "hideDelay": { "required":false,"default":100, c: checkNumber, t: "number", j: 0, m: "n" }, "inverse": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "showDelay": { "required":false,"default":500, c: checkNumber, t: "number", j: 0, m: "n" }, "trigger": { "required":false,"values":["hover","click","focus"],"default":"hover", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
12
12
|
const C = (host) => controller.default(host);
|
|
13
13
|
|
|
14
14
|
export function createUiTooltip(options = {}, html) {
|
package/vanilla/UiTopBar.d.ts
CHANGED
package/vanilla/UiTopBar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, dispose, project, fillSlot } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-top-bar.css";
|
|
4
4
|
|
package/vanilla/UiTree.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeEventMap {
|
|
3
3
|
reorder: CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly sourceType: string; readonly targetType: string; readonly sourceScope: string; readonly targetScope: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
"reorder-rejected": CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly reason: "max-depth"; readonly maxDepth: number; readonly resultingDepth: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree/ui-tree.js";
|
|
4
4
|
import "../styles/ui-tree.css";
|
|
@@ -7,7 +7,7 @@ const T0 = ["",[],4];
|
|
|
7
7
|
const T1 = ["",[]];
|
|
8
8
|
let P0, P1;
|
|
9
9
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-tree", d: { "reorder": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["sourceType", checkString, false], ["targetType", checkString, false], ["sourceScope", checkString, false], ["targetScope", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "reorder-rejected": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["max-depth"]}), false], ["maxDepth", checkInteger, false], ["resultingDepth", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "activate": [detailCheck(checkObject([["id", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["ids", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
10
|
-
const D = { props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "hoverExpandDelay": { "required":false,"default":700, c: checkNumber, t: "number", j: 0, m: "n" }, "label": { "required":false,"default":"Tree", c: checkString, t: "string", j: 0, m: "s" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxDepth": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "moveActivation": { "required":false,"values":["click","keyboard-touch"],"default":"click", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "selection": { "required":false,"values":["none","single","multiple"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
10
|
+
const D = { g: "ui-tree", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "hoverExpandDelay": { "required":false,"default":700, c: checkNumber, t: "number", j: 0, m: "n" }, "label": { "required":false,"default":"Tree", c: checkString, t: "string", j: 0, m: "s" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxDepth": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "moveActivation": { "required":false,"values":["click","keyboard-touch"],"default":"click", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "selection": { "required":false,"values":["none","single","multiple"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
|
|
11
11
|
const C = (host) => controller.default(host);
|
|
12
12
|
|
|
13
13
|
export function createUiTree(options = {}, html) {
|
package/vanilla/UiTreeItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeItemEventMap {
|
|
3
3
|
expand: CustomEvent<{ readonly id: string; readonly expanded: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiTreeItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.52 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree-item/ui-tree-item.js";
|
|
4
4
|
import "../styles/ui-tree-item.css";
|
|
@@ -12,7 +12,7 @@ const T5 = ["",[]];
|
|
|
12
12
|
const T6 = ["",[]];
|
|
13
13
|
let P0, P1, P2, P3, P4, P5, P6;
|
|
14
14
|
const S = { n: ["internalExpanded","structuralLevel","tabStop","isContainer","moving"], t: ["b","i","b","b","b"], f: import.meta.url, g: "ui-tree-item", d: { "expand": [detailCheck(checkObject([["id", checkString, false], ["expanded", checkBoolean, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), false, true, false] }, x: dispatchDeclared };
|
|
15
|
-
const D = { props: { "accepts": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "actionsVisible": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "container": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "dragType": { "required":false,"default":"item", c: checkString, t: "string", j: 0, m: "s" }, "dropDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" }, "dropScope": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "expanded": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "itemId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "lazy": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "sortable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "subtreeDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" } } };
|
|
15
|
+
const D = { g: "ui-tree-item", props: { "accepts": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "actionsVisible": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "container": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "dragType": { "required":false,"default":"item", c: checkString, t: "string", j: 0, m: "s" }, "dropDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" }, "dropScope": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "expanded": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "itemId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "lazy": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "sortable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "subtreeDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" } } };
|
|
16
16
|
const C = (host) => controller.default(host);
|
|
17
17
|
|
|
18
18
|
export function createUiTreeItem(options = {}, html) {
|
|
@@ -26,7 +26,7 @@ export function createUiTreeItem(options = {}, html) {
|
|
|
26
26
|
element.setAttribute("data-component", "ui-tree-item");
|
|
27
27
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
28
28
|
const v = [false, 1, false, false, false, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
29
|
-
const B = acceptProps(element, D, S.n, v, componentProps, [
|
|
29
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
30
30
|
const m1 = (d) => {
|
|
31
31
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
32
32
|
const r = { n, v0: null };
|
package/vue/UiActionBar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.52 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { checkHydratedRoot, nativeAttrs } from './host'
|
|
4
4
|
|
|
@@ -8,12 +8,12 @@ checkHydratedRoot('div', 'ui-action-bar')
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<div class="ui-action-bar" v-bind="nativeAttrs($attrs)">
|
|
12
|
-
<div class="bar">
|
|
13
|
-
<span class="tertiary"><slot name="tertiary" /></span>
|
|
14
|
-
<span class="secondary"><slot name="secondary" />
|
|
11
|
+
<div class="ui-action-bar" v-bind="nativeAttrs($attrs)" data-hn data-hn-ui-action-bar>
|
|
12
|
+
<div class="bar" data-hn-ui-action-bar>
|
|
13
|
+
<span class="tertiary" data-hn-ui-action-bar><slot name="tertiary" /></span>
|
|
14
|
+
<span class="secondary" data-hn-ui-action-bar><slot name="secondary" />
|
|
15
15
|
<slot /></span>
|
|
16
|
-
<span class="primary"><slot name="primary" /></span>
|
|
16
|
+
<span class="primary" data-hn-ui-action-bar><slot name="primary" /></span>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|
|
@@ -37,8 +37,8 @@ checkHydratedRoot('div', 'ui-action-bar')
|
|
|
37
37
|
|
|
38
38
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
39
39
|
|
|
40
|
-
@scope (.ui-action-bar) {
|
|
41
|
-
:scope:where(
|
|
40
|
+
@scope (.ui-action-bar) to ([data-hn]) {
|
|
41
|
+
:global(:scope:where([data-hn-ui-action-bar])) {
|
|
42
42
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
43
43
|
--_ui-action-bar-gap: var(--ui-action-bar-gap);
|
|
44
44
|
|
|
@@ -50,35 +50,43 @@ checkHydratedRoot('div', 'ui-action-bar')
|
|
|
50
50
|
min-inline-size: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.bar,
|
|
53
|
+
:global(.bar:where([data-hn-ui-action-bar])),
|
|
54
|
+
:global(.tertiary:where([data-hn-ui-action-bar])),
|
|
55
|
+
:global(.secondary:where([data-hn-ui-action-bar])),
|
|
56
|
+
:global(.primary:where([data-hn-ui-action-bar])) {
|
|
54
57
|
display: flex;
|
|
55
58
|
flex-wrap: wrap;
|
|
56
59
|
align-items: center;
|
|
57
60
|
gap: var(--_ui-action-bar-gap, var(--_gap));
|
|
58
61
|
}
|
|
59
|
-
.bar {
|
|
62
|
+
:global(.bar:where([data-hn-ui-action-bar])) {
|
|
60
63
|
justify-content: flex-end;
|
|
61
64
|
}
|
|
62
65
|
|
|
63
|
-
.tertiary {
|
|
66
|
+
:global(.tertiary:where([data-hn-ui-action-bar])) {
|
|
64
67
|
flex: 1 1 auto;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
|
-
.tertiary:empty
|
|
70
|
+
:global(.tertiary:empty:where([data-hn-ui-action-bar])),
|
|
71
|
+
:global(.secondary:empty:where([data-hn-ui-action-bar])),
|
|
72
|
+
:global(.primary:empty:where([data-hn-ui-action-bar])) {
|
|
68
73
|
display: none;
|
|
69
74
|
}
|
|
70
75
|
@container (inline-size < 24rem) {
|
|
71
|
-
.bar,
|
|
76
|
+
:global(.bar:where([data-hn-ui-action-bar])),
|
|
77
|
+
:global(.tertiary:where([data-hn-ui-action-bar])),
|
|
78
|
+
:global(.secondary:where([data-hn-ui-action-bar])),
|
|
79
|
+
:global(.primary:where([data-hn-ui-action-bar])) {
|
|
72
80
|
flex-direction: column-reverse;
|
|
73
81
|
flex-wrap: nowrap;
|
|
74
82
|
align-items: stretch;
|
|
75
83
|
}
|
|
76
84
|
|
|
77
|
-
.tertiary {
|
|
85
|
+
:global(.tertiary:where([data-hn-ui-action-bar])) {
|
|
78
86
|
flex: none;
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
|
-
:
|
|
89
|
+
:global(:scope[hidden]:where([data-hn-ui-action-bar])) {
|
|
82
90
|
display: none;
|
|
83
91
|
}
|
|
84
92
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.52 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -67,7 +67,7 @@ const engaged = ref(false)
|
|
|
67
67
|
provide('html-next:ui-affordance-scope:engaged', engaged)
|
|
68
68
|
checkHydratedRoot('span', 'ui-affordance-scope')
|
|
69
69
|
|
|
70
|
-
/** The values the styles' :host
|
|
70
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
71
71
|
const hostState = computed(() =>
|
|
72
72
|
[
|
|
73
73
|
engaged.value && 'engaged',
|
|
@@ -110,9 +110,11 @@ useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-s
|
|
|
110
110
|
<span
|
|
111
111
|
class="ui-affordance-scope"
|
|
112
112
|
v-bind="nativeAttrs($attrs)"
|
|
113
|
+
data-hn
|
|
114
|
+
data-hn-ui-affordance-scope
|
|
113
115
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
114
|
-
:data-guide="reflectedProp('guide', 'guide', checkedProps.guide, undefined, false)"
|
|
115
|
-
:data-near-radius="reflectedProp('nearRadius', 'near-radius', checkedProps.nearRadius, undefined, false)"
|
|
116
|
+
:data-ui-affordance-scope-prop-guide="reflectedProp('guide', 'guide', checkedProps.guide, undefined, false)"
|
|
117
|
+
:data-ui-affordance-scope-prop-near-radius="reflectedProp('nearRadius', 'near-radius', checkedProps.nearRadius, undefined, false)"
|
|
116
118
|
:data-ui-affordance-scope-state="hostState || undefined"
|
|
117
119
|
ref="root"
|
|
118
120
|
><slot /></span>
|
|
@@ -123,19 +125,19 @@ useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-s
|
|
|
123
125
|
|
|
124
126
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
125
127
|
|
|
126
|
-
@scope (.ui-affordance-scope) {
|
|
127
|
-
:scope:where(
|
|
128
|
+
@scope (.ui-affordance-scope) to ([data-hn]) {
|
|
129
|
+
:global(:scope:where([data-hn-ui-affordance-scope])) {
|
|
128
130
|
display: contents;
|
|
129
131
|
--ui-affordance-scope-engaged: 0;
|
|
130
132
|
--ui-affordance-scope-guide: 1;
|
|
131
133
|
}
|
|
132
|
-
:
|
|
134
|
+
:global(:scope[data-ui-affordance-scope-state~="engaged"]:where([data-hn-ui-affordance-scope])) {
|
|
133
135
|
--ui-affordance-scope-engaged: 1;
|
|
134
136
|
}
|
|
135
|
-
:
|
|
137
|
+
:global(:scope[data-ui-affordance-scope-state~="guide=none"]:where([data-hn-ui-affordance-scope])) {
|
|
136
138
|
--ui-affordance-scope-guide: 0;
|
|
137
139
|
}
|
|
138
|
-
:
|
|
140
|
+
:global(:scope[hidden]:where([data-hn-ui-affordance-scope])) {
|
|
139
141
|
display: none;
|
|
140
142
|
}
|
|
141
143
|
}
|
package/vue/UiAvatar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.52 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -181,7 +181,7 @@ provide('html-next:ui-avatar:initials', initials)
|
|
|
181
181
|
provide('html-next:ui-avatar:showGlyph', showGlyph)
|
|
182
182
|
checkHydratedRoot('span', 'ui-avatar')
|
|
183
183
|
|
|
184
|
-
/** The values the styles' :host
|
|
184
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
185
185
|
const hostState = computed(() =>
|
|
186
186
|
[
|
|
187
187
|
checkedProps.value.size && 'size',
|
|
@@ -233,15 +233,17 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
233
233
|
<span
|
|
234
234
|
class="ui-avatar"
|
|
235
235
|
v-bind="nativeAttrs($attrs)"
|
|
236
|
+
data-hn
|
|
237
|
+
data-hn-ui-avatar
|
|
236
238
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
237
|
-
:data-active="reflectedProp('active', 'active', checkedProps.active, undefined, false)"
|
|
238
|
-
:data-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
239
|
-
:data-decorative="reflectedProp('decorative', 'decorative', checkedProps.decorative, undefined, false)"
|
|
240
|
-
:data-fallback="reflectedProp('fallback', 'fallback', checkedProps.fallback, undefined, false)"
|
|
241
|
-
:data-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
|
|
242
|
-
:data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
|
|
243
|
-
:data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
244
|
-
:data-src="reflectedProp('src', 'src', checkedProps.src, undefined, false)"
|
|
239
|
+
:data-ui-avatar-prop-active="reflectedProp('active', 'active', checkedProps.active, undefined, false)"
|
|
240
|
+
:data-ui-avatar-prop-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
241
|
+
:data-ui-avatar-prop-decorative="reflectedProp('decorative', 'decorative', checkedProps.decorative, undefined, false)"
|
|
242
|
+
:data-ui-avatar-prop-fallback="reflectedProp('fallback', 'fallback', checkedProps.fallback, undefined, false)"
|
|
243
|
+
:data-ui-avatar-prop-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
|
|
244
|
+
:data-ui-avatar-prop-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
|
|
245
|
+
:data-ui-avatar-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
246
|
+
:data-ui-avatar-prop-src="reflectedProp('src', 'src', checkedProps.src, undefined, false)"
|
|
245
247
|
:data-ui-avatar-state="hostState || undefined"
|
|
246
248
|
ref="root"
|
|
247
249
|
><slot />
|
|
@@ -249,14 +251,19 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
249
251
|
class="image"
|
|
250
252
|
alt=""
|
|
251
253
|
aria-hidden="true"
|
|
254
|
+
data-hn-ui-avatar
|
|
252
255
|
:src="checkedProps.src ?? undefined"
|
|
253
256
|
:hidden="hasAuthoredImage || !hasImage"
|
|
254
257
|
ref="imageElement"
|
|
255
258
|
>
|
|
256
|
-
<span class="fallback" :aria-hidden="hasImage" :hidden="hasImage"><span
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
259
|
+
<span class="fallback" data-hn-ui-avatar :aria-hidden="hasImage" :hidden="hasImage"><span
|
|
260
|
+
data-hn-ui-avatar
|
|
261
|
+
:hidden="showGlyph"
|
|
262
|
+
>{{ initials }}</span>
|
|
263
|
+
<span data-hn-ui-avatar :hidden="!showGlyph"><UiIcon
|
|
264
|
+
class="ui-icon"
|
|
265
|
+
name="user-round"
|
|
266
|
+
/></span></span></span>
|
|
260
267
|
</template>
|
|
261
268
|
|
|
262
269
|
<style scoped>
|
|
@@ -291,8 +298,8 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
291
298
|
|
|
292
299
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
293
300
|
|
|
294
|
-
@scope (.ui-avatar) to (
|
|
295
|
-
:scope:where(
|
|
301
|
+
@scope (.ui-avatar) to ([data-hn]) {
|
|
302
|
+
:global(:scope:where([data-hn-ui-avatar])) {
|
|
296
303
|
--_ui-default-icon-size: 1.25rem;
|
|
297
304
|
display: inline-grid;
|
|
298
305
|
place-items: center;
|
|
@@ -315,14 +322,14 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
315
322
|
text-transform: uppercase;
|
|
316
323
|
}
|
|
317
324
|
|
|
318
|
-
:
|
|
325
|
+
:global(:scope[data-ui-avatar-state~="size=sm"]:where([data-hn-ui-avatar])) {
|
|
319
326
|
--_ui-default-icon-size: 1rem;
|
|
320
327
|
inline-size: 1.75rem;
|
|
321
328
|
block-size: 1.75rem;
|
|
322
329
|
font-size: var(--ui-font-size-xs);
|
|
323
330
|
}
|
|
324
331
|
|
|
325
|
-
:
|
|
332
|
+
:global(:scope[data-ui-avatar-state~="size=xs"]:where([data-hn-ui-avatar])) {
|
|
326
333
|
--_ui-default-icon-size: 0.75rem;
|
|
327
334
|
inline-size: 1.25rem;
|
|
328
335
|
block-size: 1.25rem;
|
|
@@ -331,30 +338,30 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
331
338
|
letter-spacing: 0.02em;
|
|
332
339
|
}
|
|
333
340
|
|
|
334
|
-
:
|
|
341
|
+
:global(:scope[data-ui-avatar-state~="hasImage"]:where([data-hn-ui-avatar])) {
|
|
335
342
|
border-color: var(--ui-avatar-border, var(--ui-border-strong));
|
|
336
343
|
}
|
|
337
344
|
|
|
338
|
-
:
|
|
345
|
+
:global(:scope[data-ui-avatar-state~="shape=circle"]:where([data-hn-ui-avatar])) {
|
|
339
346
|
box-shadow: var(--ui-shadow-sm);
|
|
340
347
|
}
|
|
341
348
|
|
|
342
|
-
:
|
|
349
|
+
:global(:scope[data-ui-avatar-state~="shape=square"]:where([data-hn-ui-avatar])) {
|
|
343
350
|
border-radius: var(--ui-avatar-radius, var(--ui-radius-md));
|
|
344
351
|
}
|
|
345
|
-
:
|
|
352
|
+
:global(:scope[data-ui-avatar-state~="active"]:where([data-hn-ui-avatar])) {
|
|
346
353
|
outline: var(--ui-border-width) solid var(--ui-avatar-active-ring, var(--ui-accent-solid));
|
|
347
354
|
outline-offset: var(--ui-border-width);
|
|
348
355
|
}
|
|
349
356
|
|
|
350
|
-
.image, :
|
|
357
|
+
:global(.image:where([data-hn-ui-avatar])), :global(:where(:not([data-hn-ui-avatar])):is(img)) {
|
|
351
358
|
grid-area: 1 / 1;
|
|
352
359
|
inline-size: 100%;
|
|
353
360
|
block-size: 100%;
|
|
354
361
|
object-fit: cover;
|
|
355
362
|
}
|
|
356
363
|
|
|
357
|
-
.fallback {
|
|
364
|
+
:global(.fallback:where([data-hn-ui-avatar])) {
|
|
358
365
|
grid-area: 1 / 1;
|
|
359
366
|
display: inline-flex;
|
|
360
367
|
align-items: center;
|
|
@@ -363,7 +370,7 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
363
370
|
block-size: 100%;
|
|
364
371
|
}
|
|
365
372
|
@supports (text-box-trim: trim-both) {
|
|
366
|
-
.fallback {
|
|
373
|
+
:global(.fallback:where([data-hn-ui-avatar])) {
|
|
367
374
|
display: block;
|
|
368
375
|
text-align: center;
|
|
369
376
|
align-content: center;
|
|
@@ -372,10 +379,10 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
|
|
|
372
379
|
}
|
|
373
380
|
}
|
|
374
381
|
|
|
375
|
-
[hidden] {
|
|
382
|
+
:global([hidden]:where([data-hn-ui-avatar])) {
|
|
376
383
|
display: none;
|
|
377
384
|
}
|
|
378
|
-
:
|
|
385
|
+
:global(:scope[hidden]:where([data-hn-ui-avatar])) {
|
|
379
386
|
display: none;
|
|
380
387
|
}
|
|
381
388
|
}
|
package/vue/UiAvatarGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.52 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -124,7 +124,7 @@ provide('html-next:ui-avatar-group:overflowCount', overflowCount)
|
|
|
124
124
|
provide('html-next:ui-avatar-group:overflowAnnouncement', overflowAnnouncement)
|
|
125
125
|
checkHydratedRoot('div', 'ui-avatar-group')
|
|
126
126
|
|
|
127
|
-
/** The values the styles' :host
|
|
127
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
128
128
|
const hostState = computed(() =>
|
|
129
129
|
[
|
|
130
130
|
checkedProps.value.size && 'size',
|
|
@@ -171,13 +171,15 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
171
171
|
class="ui-avatar-group"
|
|
172
172
|
role="group"
|
|
173
173
|
v-bind="nativeAttrs($attrs)"
|
|
174
|
+
data-hn
|
|
175
|
+
data-hn-ui-avatar-group
|
|
174
176
|
:aria-label="checkedProps.label ?? undefined"
|
|
175
177
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
176
|
-
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
177
|
-
:data-max="reflectedProp('max', 'max', checkedProps.max, undefined, false)"
|
|
178
|
-
:data-overflow-label="reflectedProp('overflowLabel', 'overflow-label', checkedProps.overflowLabel, undefined, false)"
|
|
179
|
-
:data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
180
|
-
:data-total="reflectedProp('total', 'total', checkedProps.total, undefined, false)"
|
|
178
|
+
:data-ui-avatar-group-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
179
|
+
:data-ui-avatar-group-prop-max="reflectedProp('max', 'max', checkedProps.max, undefined, false)"
|
|
180
|
+
:data-ui-avatar-group-prop-overflow-label="reflectedProp('overflowLabel', 'overflow-label', checkedProps.overflowLabel, undefined, false)"
|
|
181
|
+
:data-ui-avatar-group-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
|
182
|
+
:data-ui-avatar-group-prop-total="reflectedProp('total', 'total', checkedProps.total, undefined, false)"
|
|
181
183
|
:data-ui-avatar-group-state="hostState || undefined"
|
|
182
184
|
ref="root"
|
|
183
185
|
>
|
|
@@ -185,6 +187,7 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
185
187
|
<span
|
|
186
188
|
class="overflow"
|
|
187
189
|
role="img"
|
|
190
|
+
data-hn-ui-avatar-group
|
|
188
191
|
:hidden="!overflowCount"
|
|
189
192
|
:aria-label="overflowAnnouncement"
|
|
190
193
|
ref="overflowElement"
|
|
@@ -208,8 +211,8 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
208
211
|
|
|
209
212
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
210
213
|
|
|
211
|
-
@scope (.ui-avatar-group) {
|
|
212
|
-
:scope:where(
|
|
214
|
+
@scope (.ui-avatar-group) to ([data-hn]) {
|
|
215
|
+
:global(:scope:where([data-hn-ui-avatar-group])) {
|
|
213
216
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
214
217
|
--_ui-avatar-group-overlap-shadow: var(--ui-avatar-group-overlap-shadow);
|
|
215
218
|
--_ui-avatar-group-edge-ring: var(--ui-avatar-group-edge-ring);
|
|
@@ -223,20 +226,20 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
223
226
|
flex-direction: row;
|
|
224
227
|
gap: 0;
|
|
225
228
|
}
|
|
226
|
-
:
|
|
229
|
+
:global(:where(:not([data-hn-ui-avatar-group])):is(*)) {
|
|
227
230
|
margin-inline-start: -0.5rem;
|
|
228
231
|
flex-shrink: 0;
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
:
|
|
234
|
+
:global(:where(:not([data-hn-ui-avatar-group])):is(*:first-child)) {
|
|
232
235
|
margin-inline-start: 0;
|
|
233
236
|
}
|
|
234
237
|
|
|
235
|
-
:
|
|
238
|
+
:global(:scope:dir(rtl):where([data-hn-ui-avatar-group])) {
|
|
236
239
|
--_overlap-shadow: 1px 0 0 0 rgb(0 0 0 / 0.22);
|
|
237
240
|
}
|
|
238
241
|
|
|
239
|
-
.overflow {
|
|
242
|
+
:global(.overflow:where([data-hn-ui-avatar-group])) {
|
|
240
243
|
margin-inline-start: -0.5rem;
|
|
241
244
|
display: inline-flex;
|
|
242
245
|
align-items: center;
|
|
@@ -256,13 +259,15 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
256
259
|
flex-shrink: 0;
|
|
257
260
|
}
|
|
258
261
|
|
|
259
|
-
:scope[data-ui-avatar-group-state~="size=sm"]
|
|
262
|
+
:global(:scope[data-ui-avatar-group-state~="size=sm"]
|
|
263
|
+
.overflow:where([data-hn-ui-avatar-group])) {
|
|
260
264
|
margin-inline-start: -0.25rem;
|
|
261
265
|
inline-size: 1.75rem;
|
|
262
266
|
block-size: 1.75rem;
|
|
263
267
|
}
|
|
264
268
|
|
|
265
|
-
:scope[data-ui-avatar-group-state~="size=xs"]
|
|
269
|
+
:global(:scope[data-ui-avatar-group-state~="size=xs"]
|
|
270
|
+
.overflow:where([data-hn-ui-avatar-group])) {
|
|
266
271
|
margin-inline-start: -0.1875rem;
|
|
267
272
|
inline-size: 1.25rem;
|
|
268
273
|
block-size: 1.25rem;
|
|
@@ -271,10 +276,10 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
|
|
|
271
276
|
line-height: 1;
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
.overflow[hidden] {
|
|
279
|
+
:global(.overflow[hidden]:where([data-hn-ui-avatar-group])) {
|
|
275
280
|
display: none;
|
|
276
281
|
}
|
|
277
|
-
:
|
|
282
|
+
:global(:scope[hidden]:where([data-hn-ui-avatar-group])) {
|
|
278
283
|
display: none;
|
|
279
284
|
}
|
|
280
285
|
}
|