@threadlabs/looma 0.28.13 → 0.28.15
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/image-delivery.d.ts +10 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +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/LoomaEditor.d.ts +10 -1
- package/vue/editor/index.d.ts +1 -1
- package/vue/editor/index.js +25 -11
- package/vue/host.ts +26 -6
package/vue/UiDisclosure.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'
|
|
@@ -235,7 +235,7 @@ provide('html-next:ui-disclosure:headingRole', headingRole)
|
|
|
235
235
|
provide('html-next:ui-disclosure:headingAriaLevel', headingAriaLevel)
|
|
236
236
|
checkHydratedRoot('div', 'ui-disclosure')
|
|
237
237
|
|
|
238
|
-
/** The values the styles' :host
|
|
238
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
239
239
|
const hostState = computed(() =>
|
|
240
240
|
[
|
|
241
241
|
checkedProps.value.density && 'density',
|
|
@@ -317,21 +317,24 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
317
317
|
<div
|
|
318
318
|
class="ui-disclosure"
|
|
319
319
|
v-bind="nativeAttrs($attrs)"
|
|
320
|
+
data-hn
|
|
321
|
+
data-hn-ui-disclosure
|
|
320
322
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
321
|
-
:data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
322
|
-
:data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
323
|
-
:data-fill="reflectedProp('fill', 'fill', checkedProps.fill, undefined, false)"
|
|
324
|
-
:data-heading-level="reflectedProp('headingLevel', 'heading-level', checkedProps.headingLevel, undefined, false)"
|
|
325
|
-
:data-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
|
|
326
|
-
:data-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
327
|
-
:data-required-open="reflectedProp('requiredOpen', 'required-open', checkedProps.requiredOpen, undefined, false)"
|
|
328
|
-
:data-summary="reflectedProp('summary', 'summary', checkedProps.summary, undefined, false)"
|
|
329
|
-
:data-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
|
|
323
|
+
:data-ui-disclosure-prop-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
324
|
+
:data-ui-disclosure-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
325
|
+
:data-ui-disclosure-prop-fill="reflectedProp('fill', 'fill', checkedProps.fill, undefined, false)"
|
|
326
|
+
:data-ui-disclosure-prop-heading-level="reflectedProp('headingLevel', 'heading-level', checkedProps.headingLevel, undefined, false)"
|
|
327
|
+
:data-ui-disclosure-prop-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
|
|
328
|
+
:data-ui-disclosure-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
329
|
+
:data-ui-disclosure-prop-required-open="reflectedProp('requiredOpen', 'required-open', checkedProps.requiredOpen, undefined, false)"
|
|
330
|
+
:data-ui-disclosure-prop-summary="reflectedProp('summary', 'summary', checkedProps.summary, undefined, false)"
|
|
331
|
+
:data-ui-disclosure-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
|
|
330
332
|
:data-ui-disclosure-state="hostState || undefined"
|
|
331
333
|
ref="root"
|
|
332
334
|
>
|
|
333
335
|
<div
|
|
334
336
|
class="heading"
|
|
337
|
+
data-hn-ui-disclosure
|
|
335
338
|
:role="guarded"
|
|
336
339
|
:aria-level="headingAriaLevel ?? undefined"
|
|
337
340
|
ref="headingElement"
|
|
@@ -339,20 +342,23 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
339
342
|
<button
|
|
340
343
|
class="trigger"
|
|
341
344
|
type="button"
|
|
345
|
+
data-hn-ui-disclosure
|
|
342
346
|
:aria-controls="contentId"
|
|
343
347
|
:aria-expanded="internalOpen"
|
|
344
348
|
:disabled="checkedProps.disabled ?? undefined"
|
|
345
349
|
ref="triggerElement"
|
|
346
350
|
>
|
|
347
|
-
<span class="leading"><slot name="leading" /></span>
|
|
348
|
-
<span class="summary"><slot name="summary">{{
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
<span class="leading" data-hn-ui-disclosure><slot name="leading" /></span>
|
|
352
|
+
<span class="summary" data-hn-ui-disclosure><slot name="summary">{{
|
|
353
|
+
checkedProps.summary
|
|
354
|
+
}}</slot></span>
|
|
355
|
+
<span class="indicator" aria-hidden="true" data-hn-ui-disclosure><slot
|
|
356
|
+
name="indicator"
|
|
357
|
+
><span class="chevron" data-hn-ui-disclosure></span></slot></span>
|
|
352
358
|
</button>
|
|
353
359
|
</div>
|
|
354
|
-
<div class="panel" :id="contentId" ref="panelElement">
|
|
355
|
-
<div class="panel-inner"><slot /></div>
|
|
360
|
+
<div class="panel" data-hn-ui-disclosure :id="contentId" ref="panelElement">
|
|
361
|
+
<div class="panel-inner" data-hn-ui-disclosure><slot /></div>
|
|
356
362
|
</div>
|
|
357
363
|
</div>
|
|
358
364
|
</template>
|
|
@@ -382,8 +388,8 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
382
388
|
|
|
383
389
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
384
390
|
|
|
385
|
-
@scope (.ui-disclosure) {
|
|
386
|
-
:scope:where(
|
|
391
|
+
@scope (.ui-disclosure) to ([data-hn]) {
|
|
392
|
+
:global(:scope:where([data-hn-ui-disclosure])) {
|
|
387
393
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
388
394
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
389
395
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
@@ -394,12 +400,12 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
394
400
|
--_trigger-padding-inline: var(--ui-space-3);
|
|
395
401
|
}
|
|
396
402
|
|
|
397
|
-
:
|
|
403
|
+
:global(:scope[data-ui-disclosure-state~="density=compact"]:where([data-hn-ui-disclosure])) {
|
|
398
404
|
--_trigger-min-block-size: var(--ui-control-size-sm);
|
|
399
405
|
--_trigger-padding-block: var(--ui-space-1);
|
|
400
406
|
--_trigger-padding-inline: var(--ui-space-2);
|
|
401
407
|
}
|
|
402
|
-
:scope:where(
|
|
408
|
+
:global(:scope:where([data-hn-ui-disclosure])) {
|
|
403
409
|
display: block;
|
|
404
410
|
inline-size: 100%;
|
|
405
411
|
overflow: clip;
|
|
@@ -407,7 +413,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
407
413
|
color: var(--ui-text-primary);
|
|
408
414
|
}
|
|
409
415
|
|
|
410
|
-
.trigger {
|
|
416
|
+
:global(.trigger:where([data-hn-ui-disclosure])) {
|
|
411
417
|
display: flex;
|
|
412
418
|
gap: var(--ui-space-3);
|
|
413
419
|
align-items: center;
|
|
@@ -426,41 +432,43 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
426
432
|
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
427
433
|
}
|
|
428
434
|
|
|
429
|
-
.trigger:hover:not(:disabled) {
|
|
435
|
+
:global(.trigger:hover:not(:disabled):where([data-hn-ui-disclosure])) {
|
|
430
436
|
background: color-mix(in srgb, currentColor 6%, transparent);
|
|
431
437
|
}
|
|
432
|
-
.trigger:focus-visible {
|
|
438
|
+
:global(.trigger:focus-visible:where([data-hn-ui-disclosure])) {
|
|
433
439
|
outline: none;
|
|
434
440
|
box-shadow: inset 0 0 0 var(--ui-focus-width)
|
|
435
441
|
color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
436
442
|
}
|
|
437
|
-
.trigger:disabled {
|
|
443
|
+
:global(.trigger:disabled:where([data-hn-ui-disclosure])) {
|
|
438
444
|
color: var(--ui-disabled-text);
|
|
439
445
|
cursor: not-allowed;
|
|
440
446
|
}
|
|
441
447
|
|
|
442
|
-
.summary {
|
|
448
|
+
:global(.summary:where([data-hn-ui-disclosure])) {
|
|
443
449
|
flex: 1;
|
|
444
450
|
min-inline-size: 0;
|
|
445
451
|
}
|
|
446
452
|
|
|
447
|
-
.leading,
|
|
453
|
+
:global(.leading:where([data-hn-ui-disclosure])),
|
|
454
|
+
:global(.indicator:where([data-hn-ui-disclosure])) {
|
|
448
455
|
display: inline-flex;
|
|
449
456
|
align-items: center;
|
|
450
457
|
justify-content: center;
|
|
451
458
|
flex: none;
|
|
452
459
|
}
|
|
453
|
-
.leading:empty {
|
|
460
|
+
:global(.leading:empty:where([data-hn-ui-disclosure])) {
|
|
454
461
|
display: none;
|
|
455
462
|
}
|
|
456
|
-
.indicator {
|
|
463
|
+
:global(.indicator:where([data-hn-ui-disclosure])) {
|
|
457
464
|
transition: transform var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
|
|
458
465
|
}
|
|
459
|
-
:scope[data-ui-disclosure-state~="internalOpen"]
|
|
466
|
+
:global(:scope[data-ui-disclosure-state~="internalOpen"]
|
|
467
|
+
.indicator:where([data-hn-ui-disclosure])) {
|
|
460
468
|
transform: rotate(180deg);
|
|
461
469
|
}
|
|
462
470
|
|
|
463
|
-
.chevron {
|
|
471
|
+
:global(.chevron:where([data-hn-ui-disclosure])) {
|
|
464
472
|
inline-size: 0.5rem;
|
|
465
473
|
block-size: 0.5rem;
|
|
466
474
|
border-inline-end: 2px solid currentColor;
|
|
@@ -468,7 +476,7 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
468
476
|
transform: rotate(45deg) translate(-1px, -1px);
|
|
469
477
|
}
|
|
470
478
|
|
|
471
|
-
.panel {
|
|
479
|
+
:global(.panel:where([data-hn-ui-disclosure])) {
|
|
472
480
|
display: grid;
|
|
473
481
|
grid-template-rows: 0fr;
|
|
474
482
|
transition:
|
|
@@ -476,19 +484,20 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
476
484
|
content-visibility var(--ui-motion-reveal) allow-discrete;
|
|
477
485
|
}
|
|
478
486
|
|
|
479
|
-
.panel-inner {
|
|
487
|
+
:global(.panel-inner:where([data-hn-ui-disclosure])) {
|
|
480
488
|
min-block-size: 0;
|
|
481
489
|
overflow: hidden;
|
|
482
490
|
padding-inline: var(--ui-space-3);
|
|
483
491
|
}
|
|
484
492
|
|
|
485
|
-
:scope[data-ui-disclosure-state~="internalOpen"] .panel {
|
|
493
|
+
:global(:scope[data-ui-disclosure-state~="internalOpen"] .panel:where([data-hn-ui-disclosure])) {
|
|
486
494
|
grid-template-rows: 1fr;
|
|
487
495
|
}
|
|
488
|
-
:scope[data-ui-disclosure-state~="internalOpen"]
|
|
496
|
+
:global(:scope[data-ui-disclosure-state~="internalOpen"]
|
|
497
|
+
.panel-inner:where([data-hn-ui-disclosure])) {
|
|
489
498
|
padding-block: 0 var(--ui-space-3);
|
|
490
499
|
}
|
|
491
|
-
:
|
|
500
|
+
:global(:scope[data-ui-disclosure-state~="fill"]:where([data-hn-ui-disclosure])) {
|
|
492
501
|
display: flex;
|
|
493
502
|
flex-direction: column;
|
|
494
503
|
flex: 0 0 var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size));
|
|
@@ -499,20 +508,20 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
499
508
|
border-block-end: 0;
|
|
500
509
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
501
510
|
}
|
|
502
|
-
:
|
|
511
|
+
:global(:scope[data-ui-disclosure-state~="fill"][data-ui-disclosure-state~="internalOpen"]:where([data-hn-ui-disclosure])) {
|
|
503
512
|
flex-grow: 1;
|
|
504
513
|
}
|
|
505
|
-
:scope[data-ui-disclosure-state~="fill"] .heading {
|
|
514
|
+
:global(:scope[data-ui-disclosure-state~="fill"] .heading:where([data-hn-ui-disclosure])) {
|
|
506
515
|
flex: none;
|
|
507
516
|
}
|
|
508
|
-
:scope[data-ui-disclosure-state~="fill"] .trigger {
|
|
517
|
+
:global(:scope[data-ui-disclosure-state~="fill"] .trigger:where([data-hn-ui-disclosure])) {
|
|
509
518
|
border-radius: 0;
|
|
510
519
|
}
|
|
511
|
-
:scope[data-ui-disclosure-state~="fill"] .panel {
|
|
520
|
+
:global(:scope[data-ui-disclosure-state~="fill"] .panel:where([data-hn-ui-disclosure])) {
|
|
512
521
|
flex: 1;
|
|
513
522
|
min-block-size: 0;
|
|
514
523
|
}
|
|
515
|
-
:scope[data-ui-disclosure-state~="fill"] .panel-inner {
|
|
524
|
+
:global(:scope[data-ui-disclosure-state~="fill"] .panel-inner:where([data-hn-ui-disclosure])) {
|
|
516
525
|
display: flex;
|
|
517
526
|
flex-direction: column;
|
|
518
527
|
flex: 1;
|
|
@@ -520,7 +529,8 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
520
529
|
padding: 0;
|
|
521
530
|
}
|
|
522
531
|
|
|
523
|
-
:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
532
|
+
:global(:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
533
|
+
.trigger:where([data-hn-ui-disclosure])) {
|
|
524
534
|
gap: var(--ui-nav-gap);
|
|
525
535
|
padding-inline: var(--ui-nav-padding-inline);
|
|
526
536
|
min-block-size: var(--ui-nav-min-block-size);
|
|
@@ -530,34 +540,38 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
|
|
|
530
540
|
font-weight: var(--ui-font-normal);
|
|
531
541
|
color: var(--ui-text-secondary);
|
|
532
542
|
}
|
|
533
|
-
:scope[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"]
|
|
534
|
-
.trigger {
|
|
543
|
+
:global(:scope[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"]
|
|
544
|
+
.trigger:where([data-hn-ui-disclosure])) {
|
|
535
545
|
padding-inline: var(--ui-nav-compact-padding-inline);
|
|
536
546
|
padding-block: var(--ui-nav-compact-padding-block);
|
|
537
547
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
538
548
|
font-size: var(--ui-font-size-sm);
|
|
539
549
|
}
|
|
540
|
-
:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
550
|
+
:global(:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
551
|
+
.trigger:hover:not(:disabled):where([data-hn-ui-disclosure])) {
|
|
541
552
|
background: var(--ui-nav-hover-surface);
|
|
542
553
|
color: var(--ui-text-primary);
|
|
543
554
|
}
|
|
544
|
-
:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
555
|
+
:global(:scope[data-ui-disclosure-state~="variant=navigation"]
|
|
556
|
+
:is(.leading, .indicator):where([data-hn-ui-disclosure])) {
|
|
545
557
|
inline-size: var(--ui-nav-icon-size);
|
|
546
558
|
font-size: var(--ui-nav-icon-size);
|
|
547
559
|
}
|
|
548
560
|
@media (pointer: coarse) {
|
|
549
|
-
:scope[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"]
|
|
550
|
-
.trigger {
|
|
561
|
+
:global(:scope[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"]
|
|
562
|
+
.trigger:where([data-hn-ui-disclosure])) {
|
|
551
563
|
min-block-size: var(--ui-control-min-block-size);
|
|
552
564
|
}
|
|
553
565
|
}
|
|
554
566
|
|
|
555
567
|
@media (prefers-reduced-motion: reduce) {
|
|
556
|
-
:
|
|
568
|
+
:global(:scope[data-ui-disclosure-state~="fill"]:where([data-hn-ui-disclosure])),
|
|
569
|
+
:global(.panel:where([data-hn-ui-disclosure])),
|
|
570
|
+
:global(.indicator:where([data-hn-ui-disclosure])) {
|
|
557
571
|
transition: none;
|
|
558
572
|
}
|
|
559
573
|
}
|
|
560
|
-
:
|
|
574
|
+
:global(:scope[hidden]:where([data-hn-ui-disclosure])) {
|
|
561
575
|
display: none;
|
|
562
576
|
}
|
|
563
577
|
}
|
package/vue/UiEditable.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'
|
|
@@ -255,7 +255,7 @@ provide('html-next:ui-editable:internalValue', internalValue)
|
|
|
255
255
|
provide('html-next:ui-editable:draft', draft)
|
|
256
256
|
checkHydratedRoot('div', 'ui-editable')
|
|
257
257
|
|
|
258
|
-
/** The values the styles' :host
|
|
258
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
259
259
|
const hostState = computed(() =>
|
|
260
260
|
[
|
|
261
261
|
internalEdit.value && 'internalEdit',
|
|
@@ -354,18 +354,19 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
354
354
|
<div
|
|
355
355
|
class="ui-editable"
|
|
356
356
|
v-bind="nativeAttrs($attrs)"
|
|
357
|
+
data-hn
|
|
357
358
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
358
|
-
:data-actions="reflectedProp('actions', 'actions', checkedProps.actions, undefined, false)"
|
|
359
|
-
:data-cancel-label="reflectedProp('cancelLabel', 'cancel-label', checkedProps.cancelLabel, undefined, false)"
|
|
360
|
-
:data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
361
|
-
:data-edit="reflectedProp('edit', 'edit', checkedProps.edit, undefined, false)"
|
|
362
|
-
:data-hint="reflectedProp('hint', 'hint', checkedProps.hint, undefined, false)"
|
|
363
|
-
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
364
|
-
:data-max-length="reflectedProp('maxLength', 'max-length', checkedProps.maxLength, undefined, false)"
|
|
365
|
-
:data-placeholder="reflectedProp('placeholder', 'placeholder', checkedProps.placeholder, undefined, false)"
|
|
366
|
-
:data-required="reflectedProp('required', 'required', checkedProps.required, undefined, false)"
|
|
367
|
-
:data-save-label="reflectedProp('saveLabel', 'save-label', checkedProps.saveLabel, undefined, false)"
|
|
368
|
-
:data-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
359
|
+
:data-ui-editable-prop-actions="reflectedProp('actions', 'actions', checkedProps.actions, undefined, false)"
|
|
360
|
+
:data-ui-editable-prop-cancel-label="reflectedProp('cancelLabel', 'cancel-label', checkedProps.cancelLabel, undefined, false)"
|
|
361
|
+
:data-ui-editable-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
362
|
+
:data-ui-editable-prop-edit="reflectedProp('edit', 'edit', checkedProps.edit, undefined, false)"
|
|
363
|
+
:data-ui-editable-prop-hint="reflectedProp('hint', 'hint', checkedProps.hint, undefined, false)"
|
|
364
|
+
:data-ui-editable-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
365
|
+
:data-ui-editable-prop-max-length="reflectedProp('maxLength', 'max-length', checkedProps.maxLength, undefined, false)"
|
|
366
|
+
:data-ui-editable-prop-placeholder="reflectedProp('placeholder', 'placeholder', checkedProps.placeholder, undefined, false)"
|
|
367
|
+
:data-ui-editable-prop-required="reflectedProp('required', 'required', checkedProps.required, undefined, false)"
|
|
368
|
+
:data-ui-editable-prop-save-label="reflectedProp('saveLabel', 'save-label', checkedProps.saveLabel, undefined, false)"
|
|
369
|
+
:data-ui-editable-prop-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
369
370
|
:data-ui-editable-state="hostState || undefined"
|
|
370
371
|
ref="root"
|
|
371
372
|
>
|
|
@@ -407,8 +408,8 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
407
408
|
|
|
408
409
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
409
410
|
|
|
410
|
-
@scope (.ui-editable) {
|
|
411
|
-
:
|
|
411
|
+
@scope (.ui-editable) to ([data-hn]) {
|
|
412
|
+
:global(:scope) {
|
|
412
413
|
display: flex;
|
|
413
414
|
flex-wrap: wrap;
|
|
414
415
|
align-items: center;
|
|
@@ -416,13 +417,13 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
416
417
|
min-inline-size: 0;
|
|
417
418
|
color: var(--ui-text-primary);
|
|
418
419
|
}
|
|
419
|
-
.field {
|
|
420
|
+
:global(.field) {
|
|
420
421
|
display: inline-grid;
|
|
421
422
|
min-inline-size: 8rem;
|
|
422
423
|
max-inline-size: 100%;
|
|
423
424
|
}
|
|
424
425
|
|
|
425
|
-
.preview, .input {
|
|
426
|
+
:global(.preview), :global(.input) {
|
|
426
427
|
grid-area: 1 / 1;
|
|
427
428
|
box-sizing: border-box;
|
|
428
429
|
min-block-size: var(--ui-control-size-sm);
|
|
@@ -439,7 +440,7 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
439
440
|
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
440
441
|
}
|
|
441
442
|
|
|
442
|
-
.preview {
|
|
443
|
+
:global(.preview) {
|
|
443
444
|
display: inline-flex;
|
|
444
445
|
gap: var(--ui-space-2);
|
|
445
446
|
align-items: center;
|
|
@@ -448,20 +449,20 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
448
449
|
cursor: pointer;
|
|
449
450
|
}
|
|
450
451
|
|
|
451
|
-
.preview:hover:not(:disabled) {
|
|
452
|
+
:global(.preview:hover:not(:disabled)) {
|
|
452
453
|
background: var(--ui-surface-muted);
|
|
453
454
|
}
|
|
454
455
|
|
|
455
|
-
.preview:focus-visible {
|
|
456
|
+
:global(.preview:focus-visible) {
|
|
456
457
|
outline: none;
|
|
457
458
|
box-shadow: var(--ui-focus-halo);
|
|
458
459
|
}
|
|
459
460
|
|
|
460
|
-
.hint {
|
|
461
|
+
:global(.hint) {
|
|
461
462
|
color: var(--ui-text-secondary);
|
|
462
463
|
font-size: var(--ui-font-size-sm);
|
|
463
464
|
}
|
|
464
|
-
.input {
|
|
465
|
+
:global(.input) {
|
|
465
466
|
contain: inline-size;
|
|
466
467
|
inline-size: 100%;
|
|
467
468
|
min-inline-size: 0;
|
|
@@ -469,7 +470,7 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
469
470
|
background: var(--ui-control-surface, var(--ui-surface-elevated));
|
|
470
471
|
}
|
|
471
472
|
|
|
472
|
-
.input:focus {
|
|
473
|
+
:global(.input:focus) {
|
|
473
474
|
outline: none;
|
|
474
475
|
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
475
476
|
box-shadow:
|
|
@@ -477,26 +478,26 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
477
478
|
var(--ui-control-focus-halo-shadow);
|
|
478
479
|
}
|
|
479
480
|
|
|
480
|
-
.input::selection {
|
|
481
|
+
:global(.input::selection) {
|
|
481
482
|
background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
|
|
482
483
|
}
|
|
483
484
|
|
|
484
|
-
:scope[data-ui-editable-state~="internalEdit"] .preview {
|
|
485
|
+
:global(:scope[data-ui-editable-state~="internalEdit"] .preview) {
|
|
485
486
|
visibility: hidden;
|
|
486
487
|
}
|
|
487
|
-
:scope[data-ui-editable-state~="internalEdit"] .input {
|
|
488
|
+
:global(:scope[data-ui-editable-state~="internalEdit"] .input) {
|
|
488
489
|
visibility: visible;
|
|
489
490
|
}
|
|
490
491
|
|
|
491
|
-
.actions {
|
|
492
|
+
:global(.actions) {
|
|
492
493
|
display: none;
|
|
493
494
|
gap: var(--ui-space-1);
|
|
494
495
|
}
|
|
495
|
-
:scope[data-ui-editable-state~="internalEdit"] .actions {
|
|
496
|
+
:global(:scope[data-ui-editable-state~="internalEdit"] .actions) {
|
|
496
497
|
display: inline-flex;
|
|
497
498
|
}
|
|
498
499
|
|
|
499
|
-
.actions button {
|
|
500
|
+
:global(.actions button) {
|
|
500
501
|
min-block-size: var(--ui-control-size-sm);
|
|
501
502
|
padding: 0 var(--ui-space-3);
|
|
502
503
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
@@ -510,22 +511,22 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
|
|
|
510
511
|
cursor: pointer;
|
|
511
512
|
}
|
|
512
513
|
|
|
513
|
-
.actions .save {
|
|
514
|
+
:global(.actions .save) {
|
|
514
515
|
border-color: var(--ui-accent-solid);
|
|
515
516
|
background: var(--ui-accent-solid);
|
|
516
517
|
color: var(--ui-text-on-accent);
|
|
517
518
|
}
|
|
518
519
|
|
|
519
|
-
.actions button:focus-visible {
|
|
520
|
+
:global(.actions button:focus-visible) {
|
|
520
521
|
outline: none;
|
|
521
522
|
box-shadow: var(--ui-focus-halo);
|
|
522
523
|
}
|
|
523
524
|
|
|
524
|
-
:scope[data-ui-editable-state~="disabled"] .preview {
|
|
525
|
+
:global(:scope[data-ui-editable-state~="disabled"] .preview) {
|
|
525
526
|
color: var(--ui-disabled-text);
|
|
526
527
|
cursor: not-allowed;
|
|
527
528
|
}
|
|
528
|
-
:
|
|
529
|
+
:global(:scope[hidden]) {
|
|
529
530
|
display: none;
|
|
530
531
|
}
|
|
531
532
|
}
|
|
@@ -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, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -109,9 +109,10 @@ useComponentHost(() => import('../components/ui-editor-block-actions/ui-editor-b
|
|
|
109
109
|
<template>
|
|
110
110
|
<div
|
|
111
111
|
v-bind="nativeAttrs($attrs)"
|
|
112
|
+
data-hn
|
|
112
113
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
113
|
-
:data-for="reflectedProp('for', 'for', checkedProps.for, undefined, false)"
|
|
114
|
-
:data-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
114
|
+
:data-ui-editor-block-actions-prop-for="reflectedProp('for', 'for', checkedProps.for, undefined, false)"
|
|
115
|
+
:data-ui-editor-block-actions-prop-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
115
116
|
ref="root"
|
|
116
117
|
>
|
|
117
118
|
<UiMenu
|
|
@@ -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, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -137,9 +137,10 @@ useComponentHost(() => import('../components/ui-editor-chip-editor/ui-editor-chi
|
|
|
137
137
|
role="dialog"
|
|
138
138
|
aria-label="Edit chip"
|
|
139
139
|
v-bind="nativeAttrs($attrs)"
|
|
140
|
+
data-hn
|
|
140
141
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
141
|
-
:data-color="reflectedProp('color', 'color', checkedProps.color, undefined, false)"
|
|
142
|
-
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
142
|
+
:data-ui-editor-chip-editor-prop-color="reflectedProp('color', 'color', checkedProps.color, undefined, false)"
|
|
143
|
+
:data-ui-editor-chip-editor-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
143
144
|
ref="root"
|
|
144
145
|
>
|
|
145
146
|
<UiStack gap="s"><UiInput
|
|
@@ -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, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -133,9 +133,10 @@ useComponentHost(() => import('../components/ui-editor-code-language/ui-editor-c
|
|
|
133
133
|
<template>
|
|
134
134
|
<div
|
|
135
135
|
v-bind="nativeAttrs($attrs)"
|
|
136
|
+
data-hn
|
|
136
137
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
137
|
-
:data-languages="reflectedProp('languages', 'languages', checkedProps.languages, undefined, false)"
|
|
138
|
-
:data-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
138
|
+
:data-ui-editor-code-language-prop-languages="reflectedProp('languages', 'languages', checkedProps.languages, undefined, false)"
|
|
139
|
+
:data-ui-editor-code-language-prop-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
139
140
|
ref="root"
|
|
140
141
|
>
|
|
141
142
|
<UiCombobox
|
|
@@ -146,7 +147,7 @@ useComponentHost(() => import('../components/ui-editor-code-language/ui-editor-c
|
|
|
146
147
|
:disclosure="true"
|
|
147
148
|
:value="checkedProps.value"
|
|
148
149
|
><KeyedBoundary><option
|
|
149
|
-
v-for="language in uniqueKeys(checkedProps.languages, (language, index, loop) => language.value)"
|
|
150
|
+
v-for="language in uniqueKeys(checkedProps.languages ?? [], (language, index, loop) => language.value)"
|
|
150
151
|
:key="language.value"
|
|
151
152
|
:value="language.value"
|
|
152
153
|
>
|
|
@@ -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'
|
|
@@ -327,10 +327,11 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
|
|
|
327
327
|
<template>
|
|
328
328
|
<div
|
|
329
329
|
v-bind="nativeAttrs($attrs)"
|
|
330
|
+
data-hn
|
|
330
331
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
331
|
-
:data-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
332
|
-
:data-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
333
|
-
:data-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
|
|
332
|
+
:data-ui-editor-image-toolbar-prop-alt="reflectedProp('alt', 'alt', checkedProps.alt, undefined, false)"
|
|
333
|
+
:data-ui-editor-image-toolbar-prop-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
|
|
334
|
+
:data-ui-editor-image-toolbar-prop-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
|
|
334
335
|
ref="root"
|
|
335
336
|
>
|
|
336
337
|
<UiText as="div" font="sans"><UiEditorToolbar
|
|
@@ -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'
|
|
@@ -192,12 +192,13 @@ useComponentHost(
|
|
|
192
192
|
<div
|
|
193
193
|
class="ui-editor-insert-table-grid"
|
|
194
194
|
v-bind="nativeAttrs($attrs)"
|
|
195
|
+
data-hn
|
|
195
196
|
:hidden="!checkedProps.open"
|
|
196
197
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
197
|
-
:data-header-row="reflectedProp('headerRow', 'header-row', checkedProps.headerRow, undefined, false)"
|
|
198
|
-
:data-max-cols="reflectedProp('maxCols', 'max-cols', checkedProps.maxCols, undefined, false)"
|
|
199
|
-
:data-max-rows="reflectedProp('maxRows', 'max-rows', checkedProps.maxRows, undefined, false)"
|
|
200
|
-
:data-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
198
|
+
:data-ui-editor-insert-table-grid-prop-header-row="reflectedProp('headerRow', 'header-row', checkedProps.headerRow, undefined, false)"
|
|
199
|
+
:data-ui-editor-insert-table-grid-prop-max-cols="reflectedProp('maxCols', 'max-cols', checkedProps.maxCols, undefined, false)"
|
|
200
|
+
:data-ui-editor-insert-table-grid-prop-max-rows="reflectedProp('maxRows', 'max-rows', checkedProps.maxRows, undefined, false)"
|
|
201
|
+
:data-ui-editor-insert-table-grid-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
201
202
|
ref="root"
|
|
202
203
|
>
|
|
203
204
|
<p class="hint">{{ hint }}</p>
|
|
@@ -237,20 +238,20 @@ useComponentHost(
|
|
|
237
238
|
</template>
|
|
238
239
|
|
|
239
240
|
<style scoped>
|
|
240
|
-
@scope (.ui-editor-insert-table-grid) {
|
|
241
|
-
:
|
|
241
|
+
@scope (.ui-editor-insert-table-grid) to ([data-hn]) {
|
|
242
|
+
:global(:scope) {
|
|
242
243
|
padding: var(--ui-space-3);
|
|
243
244
|
background: var(--ui-surface);
|
|
244
245
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
245
246
|
border-radius: var(--ui-radius-md);
|
|
246
247
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
247
248
|
}
|
|
248
|
-
.hint {
|
|
249
|
+
:global(.hint) {
|
|
249
250
|
margin: 0 0 var(--ui-space-2);
|
|
250
251
|
font-size: var(--ui-font-size-sm);
|
|
251
252
|
color: var(--ui-text-muted);
|
|
252
253
|
}
|
|
253
|
-
.grid {
|
|
254
|
+
:global(.grid) {
|
|
254
255
|
display: grid;
|
|
255
256
|
grid-template-columns: repeat(var(--_cols, 8), 1.25rem);
|
|
256
257
|
grid-template-rows: repeat(var(--_rows, 8), 1.25rem);
|
|
@@ -279,10 +280,10 @@ useComponentHost(
|
|
|
279
280
|
-1px calc(100% - var(--_ui-scroll-fade-size)),
|
|
280
281
|
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
281
282
|
}
|
|
282
|
-
:scope:dir(rtl) .grid {
|
|
283
|
+
:global(:scope:dir(rtl) .grid) {
|
|
283
284
|
--_ui-scroll-fade-direction: to left;
|
|
284
285
|
}
|
|
285
|
-
.cell {
|
|
286
|
+
:global(.cell) {
|
|
286
287
|
width: 1.25rem;
|
|
287
288
|
height: 1.25rem;
|
|
288
289
|
padding: 0;
|
|
@@ -291,37 +292,37 @@ useComponentHost(
|
|
|
291
292
|
background: var(--ui-surface);
|
|
292
293
|
cursor: pointer;
|
|
293
294
|
}
|
|
294
|
-
.cell.selected {
|
|
295
|
+
:global(.cell.selected) {
|
|
295
296
|
background: var(--ui-accent-solid, var(--ui-accent));
|
|
296
297
|
border-color: var(--ui-accent-solid, var(--ui-accent));
|
|
297
298
|
}
|
|
298
|
-
.cell:focus-visible {
|
|
299
|
+
:global(.cell:focus-visible) {
|
|
299
300
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
300
301
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
301
302
|
}
|
|
302
|
-
.header {
|
|
303
|
+
:global(.header) {
|
|
303
304
|
display: block;
|
|
304
305
|
margin-bottom: var(--ui-space-2);
|
|
305
306
|
font-size: var(--ui-font-size-sm);
|
|
306
307
|
cursor: pointer;
|
|
307
308
|
}
|
|
308
309
|
@media (pointer: coarse) {
|
|
309
|
-
.grid {
|
|
310
|
+
:global(.grid) {
|
|
310
311
|
grid-template-columns: repeat(var(--_cols, 8), 44px);
|
|
311
312
|
grid-template-rows: repeat(var(--_rows, 8), 44px);
|
|
312
313
|
}
|
|
313
314
|
|
|
314
|
-
.cell {
|
|
315
|
+
:global(.cell) {
|
|
315
316
|
width: 44px;
|
|
316
317
|
height: 44px;
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
@media (forced-colors: active) {
|
|
320
|
-
.cell:focus-visible {
|
|
321
|
+
:global(.cell:focus-visible) {
|
|
321
322
|
outline-color: Highlight;
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
|
-
:
|
|
325
|
+
:global(:scope[hidden]) {
|
|
325
326
|
display: none;
|
|
326
327
|
}
|
|
327
328
|
}
|