@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
|
@@ -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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -45,34 +45,40 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-group')
|
|
|
45
45
|
class="ui-editor-slash-menu-group"
|
|
46
46
|
role="presentation"
|
|
47
47
|
v-bind="nativeAttrs($attrs)"
|
|
48
|
+
data-hn
|
|
49
|
+
data-hn-ui-editor-slash-menu-group
|
|
48
50
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
49
|
-
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
51
|
+
:data-ui-editor-slash-menu-group-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
50
52
|
>
|
|
51
|
-
<div
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
<div
|
|
54
|
+
role="group"
|
|
55
|
+
data-hn-ui-editor-slash-menu-group
|
|
56
|
+
:aria-label="checkedProps.label ?? undefined"
|
|
57
|
+
>
|
|
58
|
+
<div class="heading" data-hn-ui-editor-slash-menu-group>{{ checkedProps.label }}</div>
|
|
59
|
+
<ul role="presentation" data-hn-ui-editor-slash-menu-group><slot /></ul>
|
|
54
60
|
</div>
|
|
55
61
|
</li>
|
|
56
62
|
</template>
|
|
57
63
|
|
|
58
64
|
<style scoped>
|
|
59
|
-
@scope (.ui-editor-slash-menu-group) {
|
|
60
|
-
:scope:where(
|
|
65
|
+
@scope (.ui-editor-slash-menu-group) to ([data-hn]) {
|
|
66
|
+
:global(:scope:where([data-hn-ui-editor-slash-menu-group])) {
|
|
61
67
|
display: block;
|
|
62
68
|
list-style: none;
|
|
63
69
|
}
|
|
64
|
-
.heading {
|
|
70
|
+
:global(.heading:where([data-hn-ui-editor-slash-menu-group])) {
|
|
65
71
|
padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1);
|
|
66
72
|
color: var(--ui-text-muted);
|
|
67
73
|
font-size: var(--ui-font-size-xs);
|
|
68
74
|
font-weight: var(--ui-font-semibold);
|
|
69
75
|
}
|
|
70
|
-
ul {
|
|
76
|
+
:global(ul:where([data-hn-ui-editor-slash-menu-group])) {
|
|
71
77
|
margin: 0;
|
|
72
78
|
padding: 0;
|
|
73
79
|
list-style: none;
|
|
74
80
|
}
|
|
75
|
-
:
|
|
81
|
+
:global(:scope[hidden]:where([data-hn-ui-editor-slash-menu-group])) {
|
|
76
82
|
display: none;
|
|
77
83
|
}
|
|
78
84
|
}
|
|
@@ -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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -114,28 +114,37 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
114
114
|
role="option"
|
|
115
115
|
tabindex="-1"
|
|
116
116
|
v-bind="nativeAttrs($attrs)"
|
|
117
|
+
data-hn
|
|
118
|
+
data-hn-ui-editor-slash-menu-item
|
|
117
119
|
:aria-disabled="checkedProps.disabled ?? undefined"
|
|
120
|
+
:data-value="checkedProps.value ?? undefined"
|
|
121
|
+
:data-keywords="checkedProps.keywords ?? undefined"
|
|
118
122
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
119
|
-
:data-description="reflectedProp('description', 'description', checkedProps.description, undefined, false)"
|
|
120
|
-
:data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
121
|
-
:data-icon="reflectedProp('icon', 'icon', checkedProps.icon, undefined, false)"
|
|
122
|
-
:data-keywords="reflectedProp('keywords', 'keywords', checkedProps.keywords, undefined,
|
|
123
|
-
:data-value="reflectedProp('value', 'value', checkedProps.value, undefined,
|
|
123
|
+
:data-ui-editor-slash-menu-item-prop-description="reflectedProp('description', 'description', checkedProps.description, undefined, false)"
|
|
124
|
+
:data-ui-editor-slash-menu-item-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
125
|
+
:data-ui-editor-slash-menu-item-prop-icon="reflectedProp('icon', 'icon', checkedProps.icon, undefined, false)"
|
|
126
|
+
:data-ui-editor-slash-menu-item-prop-keywords="reflectedProp('keywords', 'keywords', checkedProps.keywords, undefined, false)"
|
|
127
|
+
:data-ui-editor-slash-menu-item-prop-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
|
|
124
128
|
>
|
|
125
|
-
<span
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
<span
|
|
130
|
+
v-if="checkedProps.icon"
|
|
131
|
+
class="icon"
|
|
132
|
+
aria-hidden="true"
|
|
133
|
+
data-hn-ui-editor-slash-menu-item
|
|
134
|
+
><UiIcon class="ui-icon" :name="checkedProps.icon" /></span>
|
|
135
|
+
<span class="body" data-hn-ui-editor-slash-menu-item><span
|
|
136
|
+
class="title"
|
|
137
|
+
data-hn-ui-editor-slash-menu-item
|
|
138
|
+
><slot /></span>
|
|
139
|
+
<span v-if="checkedProps.description" class="description" data-hn-ui-editor-slash-menu-item>{{
|
|
131
140
|
checkedProps.description
|
|
132
141
|
}}</span></span>
|
|
133
142
|
</li>
|
|
134
143
|
</template>
|
|
135
144
|
|
|
136
145
|
<style scoped>
|
|
137
|
-
@scope (.ui-editor-slash-menu-item) to (
|
|
138
|
-
:scope:where(
|
|
146
|
+
@scope (.ui-editor-slash-menu-item) to ([data-hn]) {
|
|
147
|
+
:global(:scope:where([data-hn-ui-editor-slash-menu-item])) {
|
|
139
148
|
display: flex;
|
|
140
149
|
align-items: center;
|
|
141
150
|
gap: var(--ui-space-3);
|
|
@@ -144,19 +153,19 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
144
153
|
cursor: pointer;
|
|
145
154
|
list-style: none;
|
|
146
155
|
}
|
|
147
|
-
:
|
|
156
|
+
:global(:scope[aria-selected="true"]:where([data-hn-ui-editor-slash-menu-item])) {
|
|
148
157
|
background: var(--ui-accent-subtle);
|
|
149
158
|
}
|
|
150
|
-
:
|
|
159
|
+
:global(:scope[aria-disabled="true"]:where([data-hn-ui-editor-slash-menu-item])) {
|
|
151
160
|
background: var(--ui-disabled-surface);
|
|
152
161
|
cursor: not-allowed;
|
|
153
162
|
}
|
|
154
|
-
:scope[aria-disabled="true"] .title,
|
|
155
|
-
:scope[aria-disabled="true"] .description,
|
|
156
|
-
:scope[aria-disabled="true"] .icon {
|
|
163
|
+
:global(:scope[aria-disabled="true"] .title:where([data-hn-ui-editor-slash-menu-item])),
|
|
164
|
+
:global(:scope[aria-disabled="true"] .description:where([data-hn-ui-editor-slash-menu-item])),
|
|
165
|
+
:global(:scope[aria-disabled="true"] .icon:where([data-hn-ui-editor-slash-menu-item])) {
|
|
157
166
|
color: var(--ui-disabled-text);
|
|
158
167
|
}
|
|
159
|
-
.icon {
|
|
168
|
+
:global(.icon:where([data-hn-ui-editor-slash-menu-item])) {
|
|
160
169
|
display: flex;
|
|
161
170
|
align-items: center;
|
|
162
171
|
justify-content: center;
|
|
@@ -168,30 +177,31 @@ checkHydratedRoot('li', 'ui-editor-slash-menu-item')
|
|
|
168
177
|
border: var(--ui-border-width) solid var(--ui-border);
|
|
169
178
|
border-radius: var(--ui-radius-md);
|
|
170
179
|
}
|
|
171
|
-
.icon {
|
|
180
|
+
:global(.icon:where([data-hn-ui-editor-slash-menu-item])) {
|
|
172
181
|
--_ui-default-icon-size: 1rem;
|
|
173
182
|
}
|
|
174
|
-
.body {
|
|
183
|
+
:global(.body:where([data-hn-ui-editor-slash-menu-item])) {
|
|
175
184
|
display: flex;
|
|
176
185
|
min-inline-size: 0;
|
|
177
186
|
flex-direction: column;
|
|
178
187
|
gap: 1px;
|
|
179
188
|
}
|
|
180
|
-
.title,
|
|
189
|
+
:global(.title:where([data-hn-ui-editor-slash-menu-item])),
|
|
190
|
+
:global(.description:where([data-hn-ui-editor-slash-menu-item])) {
|
|
181
191
|
overflow: hidden;
|
|
182
192
|
text-overflow: ellipsis;
|
|
183
193
|
white-space: nowrap;
|
|
184
194
|
}
|
|
185
|
-
.title {
|
|
195
|
+
:global(.title:where([data-hn-ui-editor-slash-menu-item])) {
|
|
186
196
|
color: var(--ui-text-primary);
|
|
187
197
|
font-size: var(--ui-font-size-sm);
|
|
188
198
|
font-weight: var(--ui-font-medium);
|
|
189
199
|
}
|
|
190
|
-
.description {
|
|
200
|
+
:global(.description:where([data-hn-ui-editor-slash-menu-item])) {
|
|
191
201
|
color: var(--ui-text-muted);
|
|
192
202
|
font-size: var(--ui-font-size-xs);
|
|
193
203
|
}
|
|
194
|
-
:
|
|
204
|
+
:global(:scope[hidden]:where([data-hn-ui-editor-slash-menu-item])) {
|
|
195
205
|
display: none;
|
|
196
206
|
}
|
|
197
207
|
}
|
package/vue/UiEditorSurface.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -44,7 +44,7 @@ const reflectedProp = useReflectedProp()
|
|
|
44
44
|
|
|
45
45
|
checkHydratedRoot('div', 'ui-editor-surface')
|
|
46
46
|
|
|
47
|
-
/** The values the styles' :host
|
|
47
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
48
48
|
const hostState = computed(() =>
|
|
49
49
|
[
|
|
50
50
|
checkedProps.value.density && 'density',
|
|
@@ -58,8 +58,10 @@ const hostState = computed(() =>
|
|
|
58
58
|
<div
|
|
59
59
|
class="ui-editor-surface"
|
|
60
60
|
v-bind="nativeAttrs($attrs)"
|
|
61
|
+
data-hn
|
|
62
|
+
data-hn-ui-editor-surface
|
|
61
63
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
62
|
-
:data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
64
|
+
:data-ui-editor-surface-prop-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
63
65
|
:data-ui-editor-surface-state="hostState || undefined"
|
|
64
66
|
>
|
|
65
67
|
<slot />
|
|
@@ -68,14 +70,14 @@ const hostState = computed(() =>
|
|
|
68
70
|
|
|
69
71
|
<style scoped>
|
|
70
72
|
/* The document renderer consumes these inherited surface settings. They do not style controls. */
|
|
71
|
-
@scope (.ui-editor-surface) {
|
|
72
|
-
:scope:where(
|
|
73
|
+
@scope (.ui-editor-surface) to ([data-hn]) {
|
|
74
|
+
:global(:scope:where([data-hn-ui-editor-surface])) {
|
|
73
75
|
display: flex;
|
|
74
76
|
flex-direction: column;
|
|
75
77
|
min-inline-size: 0;
|
|
76
78
|
max-inline-size: 100%;
|
|
77
79
|
}
|
|
78
|
-
:
|
|
80
|
+
:global(:scope[data-ui-editor-surface-state~="density=compact"]:where([data-hn-ui-editor-surface])) {
|
|
79
81
|
--_ui-editor-content-min-height: 0px;
|
|
80
82
|
--_ui-editor-content-padding-block: 0px;
|
|
81
83
|
--_ui-editor-content-padding-inline: 0px;
|
|
@@ -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'
|
|
@@ -442,14 +442,15 @@ useComponentHost(
|
|
|
442
442
|
class="ui-editor-table-context-menu"
|
|
443
443
|
role="menu"
|
|
444
444
|
v-bind="nativeAttrs($attrs)"
|
|
445
|
+
data-hn
|
|
445
446
|
:hidden="!checkedProps.open"
|
|
446
447
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
447
|
-
:data-actions="reflectedProp('actions', 'actions', checkedProps.actions, undefined, false)"
|
|
448
|
-
:data-cell-background="reflectedProp('cellBackground', 'cell-background', checkedProps.cellBackground, undefined, false)"
|
|
449
|
-
:data-header-column="reflectedProp('headerColumn', 'header-column', checkedProps.headerColumn, undefined, false)"
|
|
450
|
-
:data-header-row="reflectedProp('headerRow', 'header-row', checkedProps.headerRow, undefined, false)"
|
|
451
|
-
:data-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
452
|
-
:data-scope="reflectedProp('scope', 'scope', checkedProps.scope, undefined, false)"
|
|
448
|
+
:data-ui-editor-table-context-menu-prop-actions="reflectedProp('actions', 'actions', checkedProps.actions, undefined, false)"
|
|
449
|
+
:data-ui-editor-table-context-menu-prop-cell-background="reflectedProp('cellBackground', 'cell-background', checkedProps.cellBackground, undefined, false)"
|
|
450
|
+
:data-ui-editor-table-context-menu-prop-header-column="reflectedProp('headerColumn', 'header-column', checkedProps.headerColumn, undefined, false)"
|
|
451
|
+
:data-ui-editor-table-context-menu-prop-header-row="reflectedProp('headerRow', 'header-row', checkedProps.headerRow, undefined, false)"
|
|
452
|
+
:data-ui-editor-table-context-menu-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
453
|
+
:data-ui-editor-table-context-menu-prop-scope="reflectedProp('scope', 'scope', checkedProps.scope, undefined, false)"
|
|
453
454
|
ref="root"
|
|
454
455
|
>
|
|
455
456
|
<div v-if="swatches.length" class="section" role="none">
|
|
@@ -531,13 +532,13 @@ useComponentHost(
|
|
|
531
532
|
|
|
532
533
|
/* Separators divide sections, so none sits above the first. */
|
|
533
534
|
|
|
534
|
-
@scope (.ui-editor-table-context-menu) to (
|
|
535
|
-
:
|
|
535
|
+
@scope (.ui-editor-table-context-menu) to ([data-hn]) {
|
|
536
|
+
:global(:scope[popover]) {
|
|
536
537
|
position: fixed;
|
|
537
538
|
inset: auto;
|
|
538
539
|
margin: 0;
|
|
539
540
|
}
|
|
540
|
-
:
|
|
541
|
+
:global(:scope) {
|
|
541
542
|
/* The max-width is a promise about the menu's footprint, so it counts padding and border. */
|
|
542
543
|
box-sizing: border-box;
|
|
543
544
|
min-width: min(14rem, calc(100vw - 24px));
|
|
@@ -555,12 +556,12 @@ useComponentHost(
|
|
|
555
556
|
overscroll-behavior: contain;
|
|
556
557
|
scrollbar-width: thin;
|
|
557
558
|
}
|
|
558
|
-
.section {
|
|
559
|
+
:global(.section) {
|
|
559
560
|
display: flex;
|
|
560
561
|
flex-direction: column;
|
|
561
562
|
gap: 3px;
|
|
562
563
|
}
|
|
563
|
-
:scope button {
|
|
564
|
+
:global(:scope button) {
|
|
564
565
|
display: flex;
|
|
565
566
|
align-items: center;
|
|
566
567
|
gap: var(--ui-space-2);
|
|
@@ -575,25 +576,25 @@ useComponentHost(
|
|
|
575
576
|
cursor: pointer;
|
|
576
577
|
color: var(--ui-text);
|
|
577
578
|
}
|
|
578
|
-
:scope button {
|
|
579
|
+
:global(:scope button) {
|
|
579
580
|
--_ui-default-icon-size: 1rem;
|
|
580
581
|
--_ui-default-icon-stroke-width: var(--ui-editor-toolbar-icon-stroke-width, 1.75);
|
|
581
582
|
}
|
|
582
|
-
:scope button:hover:not(:disabled) {
|
|
583
|
+
:global(:scope button:hover:not(:disabled)) {
|
|
583
584
|
background: var(--ui-surface-hover);
|
|
584
585
|
}
|
|
585
|
-
:scope button.selected {
|
|
586
|
+
:global(:scope button.selected) {
|
|
586
587
|
background: var(--ui-accent-subtle, rgb(59 130 246 / 0.1));
|
|
587
588
|
}
|
|
588
|
-
:scope button.danger {
|
|
589
|
+
:global(:scope button.danger) {
|
|
589
590
|
color: var(--ui-danger);
|
|
590
591
|
}
|
|
591
|
-
.swatches {
|
|
592
|
+
:global(.swatches) {
|
|
592
593
|
display: flex;
|
|
593
594
|
flex-wrap: wrap;
|
|
594
595
|
gap: 3px;
|
|
595
596
|
}
|
|
596
|
-
:scope .swatch-button {
|
|
597
|
+
:global(:scope .swatch-button) {
|
|
597
598
|
display: inline-flex;
|
|
598
599
|
align-items: center;
|
|
599
600
|
gap: var(--ui-space-2);
|
|
@@ -603,7 +604,7 @@ useComponentHost(
|
|
|
603
604
|
padding-inline-end: var(--ui-space-1);
|
|
604
605
|
}
|
|
605
606
|
|
|
606
|
-
.swatch {
|
|
607
|
+
:global(.swatch) {
|
|
607
608
|
display: inline-flex;
|
|
608
609
|
width: 1rem;
|
|
609
610
|
height: 1rem;
|
|
@@ -614,7 +615,7 @@ useComponentHost(
|
|
|
614
615
|
flex-shrink: 0;
|
|
615
616
|
}
|
|
616
617
|
|
|
617
|
-
.swatch.default {
|
|
618
|
+
:global(.swatch.default) {
|
|
618
619
|
position: relative;
|
|
619
620
|
background:
|
|
620
621
|
linear-gradient(
|
|
@@ -627,12 +628,12 @@ useComponentHost(
|
|
|
627
628
|
var(--ui-surface);
|
|
628
629
|
}
|
|
629
630
|
|
|
630
|
-
.swatch-label {
|
|
631
|
+
:global(.swatch-label) {
|
|
631
632
|
min-width: 0;
|
|
632
633
|
white-space: nowrap;
|
|
633
634
|
}
|
|
634
635
|
|
|
635
|
-
.heading {
|
|
636
|
+
:global(.heading) {
|
|
636
637
|
padding: var(--ui-space-1) var(--ui-space-2);
|
|
637
638
|
font-size: var(--ui-font-size-2xs);
|
|
638
639
|
font-weight: 700;
|
|
@@ -641,16 +642,16 @@ useComponentHost(
|
|
|
641
642
|
color: var(--ui-text-muted);
|
|
642
643
|
}
|
|
643
644
|
|
|
644
|
-
.sep {
|
|
645
|
+
:global(.sep) {
|
|
645
646
|
height: 1px;
|
|
646
647
|
background: var(--ui-border-divider);
|
|
647
648
|
margin: var(--ui-space-1) 0;
|
|
648
649
|
}
|
|
649
|
-
.sep:first-child {
|
|
650
|
+
:global(.sep:first-child) {
|
|
650
651
|
display: none;
|
|
651
652
|
}
|
|
652
653
|
|
|
653
|
-
:
|
|
654
|
+
:global(:scope[hidden]) {
|
|
654
655
|
display: none;
|
|
655
656
|
}
|
|
656
657
|
}
|
|
@@ -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'
|
|
@@ -638,10 +638,11 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
638
638
|
class="ui-editor-table-overlay"
|
|
639
639
|
aria-label="Table controls"
|
|
640
640
|
v-bind="nativeAttrs($attrs)"
|
|
641
|
+
data-hn
|
|
641
642
|
:hidden="!checkedProps.open"
|
|
642
643
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
643
|
-
:data-geometry="reflectedProp('geometry', 'geometry', checkedProps.geometry, undefined, false)"
|
|
644
|
-
:data-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
644
|
+
:data-ui-editor-table-overlay-prop-geometry="reflectedProp('geometry', 'geometry', checkedProps.geometry, undefined, false)"
|
|
645
|
+
:data-ui-editor-table-overlay-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
645
646
|
ref="root"
|
|
646
647
|
>
|
|
647
648
|
<div class="rows">
|
|
@@ -734,39 +735,39 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
734
735
|
</template>
|
|
735
736
|
|
|
736
737
|
<style scoped>
|
|
737
|
-
@scope (.ui-editor-table-overlay) to (
|
|
738
|
-
:
|
|
738
|
+
@scope (.ui-editor-table-overlay) to ([data-hn]) {
|
|
739
|
+
:global(:scope) {
|
|
739
740
|
display: block;
|
|
740
741
|
width: 100%;
|
|
741
742
|
height: 100%;
|
|
742
743
|
overflow: visible;
|
|
743
744
|
pointer-events: none;
|
|
744
745
|
}
|
|
745
|
-
:
|
|
746
|
+
:global(:scope) {
|
|
746
747
|
position: relative;
|
|
747
748
|
width: 100%;
|
|
748
749
|
height: 100%;
|
|
749
750
|
overflow: visible;
|
|
750
751
|
pointer-events: none;
|
|
751
752
|
}
|
|
752
|
-
.rows, .cols {
|
|
753
|
+
:global(.rows), :global(.cols) {
|
|
753
754
|
pointer-events: none;
|
|
754
755
|
position: absolute;
|
|
755
756
|
}
|
|
756
|
-
.rows {
|
|
757
|
+
:global(.rows) {
|
|
757
758
|
inset: 0;
|
|
758
759
|
width: 100%;
|
|
759
760
|
}
|
|
760
|
-
.cols {
|
|
761
|
+
:global(.cols) {
|
|
761
762
|
inset: 0;
|
|
762
763
|
height: 100%;
|
|
763
764
|
}
|
|
764
|
-
.control {
|
|
765
|
+
:global(.control) {
|
|
765
766
|
position: absolute;
|
|
766
767
|
z-index: 1;
|
|
767
768
|
pointer-events: none;
|
|
768
769
|
}
|
|
769
|
-
.handle {
|
|
770
|
+
:global(.handle) {
|
|
770
771
|
position: absolute;
|
|
771
772
|
display: inline-flex;
|
|
772
773
|
align-items: center;
|
|
@@ -793,60 +794,64 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
793
794
|
pointer-events: auto;
|
|
794
795
|
cursor: pointer;
|
|
795
796
|
}
|
|
796
|
-
.handle {
|
|
797
|
+
:global(.handle) {
|
|
797
798
|
--_ui-default-icon-size: 14px;
|
|
798
799
|
--_ui-default-icon-stroke-width: 2;
|
|
799
800
|
}
|
|
800
|
-
.handle[data-ui-proximity="near"],
|
|
801
|
+
:global(.handle[data-ui-proximity="near"]),
|
|
802
|
+
:global(.control.active .handle),
|
|
803
|
+
:global(.handle:focus-visible) {
|
|
801
804
|
opacity: 1;
|
|
802
805
|
scale: 1;
|
|
803
806
|
}
|
|
804
|
-
.control.active .handle, .handle:focus-visible {
|
|
807
|
+
:global(.control.active .handle), :global(.handle:focus-visible) {
|
|
805
808
|
border-color: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
806
809
|
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
807
810
|
color: var(--ui-text-on-accent);
|
|
808
811
|
box-shadow: var(--ui-shadow-sm, 0 1px 3px rgb(0 0 0 / 0.1));
|
|
809
812
|
}
|
|
810
|
-
.handle:focus-visible,
|
|
813
|
+
:global(.handle:focus-visible),
|
|
814
|
+
:global(.selector:focus-visible),
|
|
815
|
+
:global(.cell-menu:focus-visible) {
|
|
811
816
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
812
817
|
outline-offset: var(--ui-focus-width);
|
|
813
818
|
}
|
|
814
|
-
.control.row {
|
|
819
|
+
:global(.control.row) {
|
|
815
820
|
left: 0;
|
|
816
821
|
width: 100%;
|
|
817
822
|
height: 0;
|
|
818
823
|
}
|
|
819
|
-
.control.row .handle {
|
|
824
|
+
:global(.control.row .handle) {
|
|
820
825
|
top: -12px;
|
|
821
826
|
left: -30px;
|
|
822
827
|
}
|
|
823
|
-
.control.col {
|
|
828
|
+
:global(.control.col) {
|
|
824
829
|
top: 0;
|
|
825
830
|
width: 0;
|
|
826
831
|
height: 100%;
|
|
827
832
|
}
|
|
828
|
-
.control.col .handle {
|
|
833
|
+
:global(.control.col .handle) {
|
|
829
834
|
top: -30px;
|
|
830
835
|
left: -12px;
|
|
831
836
|
}
|
|
832
|
-
.line {
|
|
837
|
+
:global(.line) {
|
|
833
838
|
position: absolute;
|
|
834
839
|
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
835
840
|
opacity: 0;
|
|
836
841
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
837
842
|
}
|
|
838
|
-
.control.row .line {
|
|
843
|
+
:global(.control.row .line) {
|
|
839
844
|
inset: calc(-0.5 * var(--ui-accent-line-width)) 0 auto;
|
|
840
845
|
height: var(--ui-accent-line-width);
|
|
841
846
|
}
|
|
842
|
-
.control.col .line {
|
|
847
|
+
:global(.control.col .line) {
|
|
843
848
|
inset: 0 auto 0 calc(-0.5 * var(--ui-accent-line-width));
|
|
844
849
|
width: var(--ui-accent-line-width);
|
|
845
850
|
}
|
|
846
|
-
.control.active .line {
|
|
851
|
+
:global(.control.active .line) {
|
|
847
852
|
opacity: 0.8;
|
|
848
853
|
}
|
|
849
|
-
.guide {
|
|
854
|
+
:global(.guide) {
|
|
850
855
|
position: absolute;
|
|
851
856
|
width: var(--ui-affordance-guide-size);
|
|
852
857
|
height: var(--ui-affordance-guide-size);
|
|
@@ -855,18 +860,18 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
855
860
|
opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
|
|
856
861
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
857
862
|
}
|
|
858
|
-
.control.row .guide {
|
|
863
|
+
:global(.control.row .guide) {
|
|
859
864
|
left: -10px;
|
|
860
865
|
top: -2px;
|
|
861
866
|
}
|
|
862
|
-
.control.col .guide {
|
|
867
|
+
:global(.control.col .guide) {
|
|
863
868
|
left: -2px;
|
|
864
869
|
top: -10px;
|
|
865
870
|
}
|
|
866
|
-
.control:has(.handle[data-ui-proximity="near"]) .guide, .control.active .guide {
|
|
871
|
+
:global(.control:has(.handle[data-ui-proximity="near"]) .guide), :global(.control.active .guide) {
|
|
867
872
|
opacity: 0;
|
|
868
873
|
}
|
|
869
|
-
.tooltip {
|
|
874
|
+
:global(.tooltip) {
|
|
870
875
|
position: absolute;
|
|
871
876
|
z-index: 2;
|
|
872
877
|
top: calc(100% + 6px);
|
|
@@ -885,16 +890,16 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
885
890
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
886
891
|
pointer-events: none;
|
|
887
892
|
}
|
|
888
|
-
.control.row .tooltip {
|
|
893
|
+
:global(.control.row .tooltip) {
|
|
889
894
|
top: 50%;
|
|
890
895
|
left: auto;
|
|
891
896
|
right: calc(100% + 8px);
|
|
892
897
|
transform: translateY(-50%);
|
|
893
898
|
}
|
|
894
|
-
.control.active .tooltip, .handle:focus-visible .tooltip {
|
|
899
|
+
:global(.control.active .tooltip), :global(.handle:focus-visible .tooltip) {
|
|
895
900
|
opacity: 1;
|
|
896
901
|
}
|
|
897
|
-
.selector, .cell-menu {
|
|
902
|
+
:global(.selector), :global(.cell-menu) {
|
|
898
903
|
position: absolute;
|
|
899
904
|
z-index: 2;
|
|
900
905
|
display: inline-flex;
|
|
@@ -913,20 +918,20 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
913
918
|
border-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
914
919
|
box-shadow var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
915
920
|
}
|
|
916
|
-
.selector:hover, .cell-menu:hover {
|
|
921
|
+
:global(.selector:hover), :global(.cell-menu:hover) {
|
|
917
922
|
background: var(--ui-surface-muted);
|
|
918
923
|
color: var(--ui-text-primary);
|
|
919
924
|
box-shadow: var(--ui-shadow-xs, 0 1px 2px rgb(0 0 0 / 0.05));
|
|
920
925
|
}
|
|
921
|
-
.selector {
|
|
926
|
+
:global(.selector) {
|
|
922
927
|
border-radius: var(--ui-radius-round);
|
|
923
928
|
touch-action: none;
|
|
924
929
|
cursor: grab;
|
|
925
930
|
}
|
|
926
|
-
.selector:active {
|
|
931
|
+
:global(.selector:active) {
|
|
927
932
|
cursor: grabbing;
|
|
928
933
|
}
|
|
929
|
-
.selector::before {
|
|
934
|
+
:global(.selector::before) {
|
|
930
935
|
content: "";
|
|
931
936
|
position: absolute;
|
|
932
937
|
inset: 50% auto auto 50%;
|
|
@@ -937,7 +942,7 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
937
942
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
938
943
|
pointer-events: none;
|
|
939
944
|
}
|
|
940
|
-
.selector .glyph {
|
|
945
|
+
:global(.selector .glyph) {
|
|
941
946
|
display: block;
|
|
942
947
|
width: 14px;
|
|
943
948
|
height: 14px;
|
|
@@ -949,74 +954,74 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
|
|
|
949
954
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
950
955
|
transform var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
951
956
|
}
|
|
952
|
-
.selector:hover::before, .selector:focus-visible::before {
|
|
957
|
+
:global(.selector:hover::before), :global(.selector:focus-visible::before) {
|
|
953
958
|
opacity: 0;
|
|
954
959
|
}
|
|
955
|
-
.selector:hover .glyph, .selector:focus-visible .glyph {
|
|
960
|
+
:global(.selector:hover .glyph), :global(.selector:focus-visible .glyph) {
|
|
956
961
|
opacity: 1;
|
|
957
962
|
transform: scale(1);
|
|
958
963
|
}
|
|
959
|
-
.selector.row {
|
|
964
|
+
:global(.selector.row) {
|
|
960
965
|
left: -9px;
|
|
961
966
|
width: 18px;
|
|
962
967
|
height: 32px;
|
|
963
968
|
transform: translateY(-50%);
|
|
964
969
|
}
|
|
965
|
-
.selector.row::before {
|
|
970
|
+
:global(.selector.row::before) {
|
|
966
971
|
width: 2px;
|
|
967
972
|
height: 16px;
|
|
968
973
|
}
|
|
969
|
-
.selector.column {
|
|
974
|
+
:global(.selector.column) {
|
|
970
975
|
top: -9px;
|
|
971
976
|
width: 32px;
|
|
972
977
|
height: 18px;
|
|
973
978
|
transform: translateX(-50%);
|
|
974
979
|
}
|
|
975
|
-
.selector.column::before {
|
|
980
|
+
:global(.selector.column::before) {
|
|
976
981
|
width: 16px;
|
|
977
982
|
height: 2px;
|
|
978
983
|
}
|
|
979
984
|
@media (hover: none), (pointer: coarse) {
|
|
980
|
-
.selector::before {
|
|
985
|
+
:global(.selector::before) {
|
|
981
986
|
opacity: 0;
|
|
982
987
|
}
|
|
983
988
|
|
|
984
|
-
.selector .glyph {
|
|
989
|
+
:global(.selector .glyph) {
|
|
985
990
|
opacity: 1;
|
|
986
991
|
transform: none;
|
|
987
992
|
}
|
|
988
993
|
}
|
|
989
|
-
.cell-menu {
|
|
994
|
+
:global(.cell-menu) {
|
|
990
995
|
width: 24px;
|
|
991
996
|
height: 24px;
|
|
992
997
|
border-radius: var(--ui-radius-sm);
|
|
993
998
|
background: color-mix(in srgb, var(--ui-surface-muted) 78%, transparent);
|
|
994
999
|
}
|
|
995
|
-
.cell-menu {
|
|
1000
|
+
:global(.cell-menu) {
|
|
996
1001
|
--_ui-default-icon-size: 15px;
|
|
997
1002
|
--_ui-default-icon-stroke-width: 2;
|
|
998
1003
|
}
|
|
999
|
-
.drop-indicator {
|
|
1004
|
+
:global(.drop-indicator) {
|
|
1000
1005
|
position: absolute;
|
|
1001
1006
|
z-index: 3;
|
|
1002
1007
|
background: var(--ui-accent-solid);
|
|
1003
1008
|
box-shadow: 0 0 0 var(--ui-border-width) var(--ui-surface);
|
|
1004
1009
|
pointer-events: none;
|
|
1005
1010
|
}
|
|
1006
|
-
.drop-indicator.row {
|
|
1011
|
+
:global(.drop-indicator.row) {
|
|
1007
1012
|
left: 0;
|
|
1008
1013
|
width: 100%;
|
|
1009
1014
|
height: var(--ui-accent-line-width);
|
|
1010
1015
|
}
|
|
1011
|
-
.drop-indicator.column {
|
|
1016
|
+
:global(.drop-indicator.column) {
|
|
1012
1017
|
top: 0;
|
|
1013
1018
|
width: var(--ui-accent-line-width);
|
|
1014
1019
|
height: 100%;
|
|
1015
1020
|
}
|
|
1016
|
-
.drop-indicator[hidden] {
|
|
1021
|
+
:global(.drop-indicator[hidden]) {
|
|
1017
1022
|
display: none;
|
|
1018
1023
|
}
|
|
1019
|
-
:
|
|
1024
|
+
:global(:scope[hidden]) {
|
|
1020
1025
|
display: none;
|
|
1021
1026
|
}
|
|
1022
1027
|
}
|