@threadlabs/looma 0.30.8 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-affordance-scope/ui-affordance-scope.js +1 -6
- package/components/ui-avatar/ui-avatar.html +1 -1
- package/components/ui-avatar/ui-avatar.js +1 -6
- package/components/ui-avatar-group/ui-avatar-group.html +1 -1
- package/components/ui-avatar-group/ui-avatar-group.js +1 -6
- package/components/ui-button/ui-button.html +1 -1
- package/components/ui-button/ui-button.js +1 -6
- package/components/ui-checkbox/ui-checkbox.html +1 -1
- package/components/ui-checkbox/ui-checkbox.js +1 -6
- package/components/ui-combobox/ui-combobox.html +1 -1
- package/components/ui-combobox/ui-combobox.js +1 -6
- package/components/ui-context-menu/ui-context-menu.html +1 -1
- package/components/ui-context-menu/ui-context-menu.js +1 -6
- package/components/ui-dialog/ui-dialog.html +6 -1
- package/components/ui-dialog/ui-dialog.js +1 -6
- package/components/ui-disclosure/ui-disclosure.html +1 -1
- package/components/ui-disclosure/ui-disclosure.js +1 -6
- package/components/ui-editable/ui-editable.html +1 -1
- package/components/ui-editable/ui-editable.js +1 -6
- package/components/ui-editor-block-actions/ui-editor-block-actions.html +1 -1
- package/components/ui-editor-block-actions/ui-editor-block-actions.js +1 -6
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +1 -1
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +1 -6
- package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
- package/components/ui-editor-code-language/ui-editor-code-language.js +1 -6
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -1
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.js +1 -6
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +1 -6
- package/components/ui-editor-link-card/ui-editor-link-card.html +1 -1
- package/components/ui-editor-link-card/ui-editor-link-card.js +1 -6
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -1
- package/components/ui-editor-link-form/ui-editor-link-form.js +1 -6
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +1 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +1 -6
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +1 -1
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +1 -6
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +1 -6
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +1 -1
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +1 -6
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +1 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +1 -6
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +1 -1
- package/components/ui-editor-toolbar/ui-editor-toolbar.js +1 -6
- package/components/ui-form-field/ui-form-field.html +1 -1
- package/components/ui-form-field/ui-form-field.js +1 -6
- package/components/ui-icon-button/ui-icon-button.html +1 -1
- package/components/ui-icon-button/ui-icon-button.js +1 -6
- package/components/ui-image/ui-image.html +1 -1
- package/components/ui-image/ui-image.js +1 -6
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-input/ui-input.js +1 -6
- package/components/ui-input-group/ui-input-group.html +1 -1
- package/components/ui-input-group/ui-input-group.js +1 -6
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-listbox/ui-listbox.js +1 -6
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-menu/ui-menu.js +1 -6
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-menu-item/ui-menu-item.js +1 -6
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-popover/ui-popover.js +1 -6
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio/ui-radio.js +1 -6
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-radio-group/ui-radio-group.js +1 -6
- package/components/ui-scroll-area/ui-scroll-area.html +1 -1
- package/components/ui-scroll-area/ui-scroll-area.js +1 -6
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-search-shell/ui-search-shell.js +1 -6
- package/components/ui-select/ui-select.html +1 -1
- package/components/ui-select/ui-select.js +1 -6
- package/components/ui-sidebar/ui-sidebar.html +1 -1
- package/components/ui-sidebar/ui-sidebar.js +1 -6
- package/components/ui-switch/ui-switch.html +1 -1
- package/components/ui-switch/ui-switch.js +1 -6
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-switcher/ui-switcher.js +1 -6
- package/components/ui-table/ui-table.html +1 -1
- package/components/ui-table/ui-table.js +1 -6
- package/components/ui-tabs/ui-tabs.html +1 -1
- package/components/ui-tabs/ui-tabs.js +1 -6
- package/components/ui-textarea/ui-textarea.html +1 -1
- package/components/ui-textarea/ui-textarea.js +1 -6
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast/ui-toast.js +1 -6
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-toast-region/ui-toast-region.js +1 -6
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tooltip/ui-tooltip.js +1 -6
- package/components/ui-tree/ui-tree.html +1 -1
- package/components/ui-tree/ui-tree.js +1 -6
- package/components/ui-tree-item/ui-tree-item.html +1 -1
- package/components/ui-tree-item/ui-tree-item.js +1 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-dialog.css +7 -0
- package/vanilla/UiAffordanceScope.js +4 -4
- package/vanilla/UiAvatar.js +4 -4
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiButton.js +4 -4
- package/vanilla/UiCheckbox.js +4 -4
- package/vanilla/UiCombobox.js +4 -4
- package/vanilla/UiContextMenu.js +4 -4
- package/vanilla/UiDialog.js +4 -4
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.js +4 -4
- package/vanilla/UiEditorBlockActions.js +4 -4
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorImageToolbar.js +4 -4
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.js +4 -4
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorTableContextMenu.js +4 -4
- package/vanilla/UiEditorTableOverlay.js +4 -4
- package/vanilla/UiEditorTableToolbar.js +4 -4
- package/vanilla/UiEditorToolbar.js +4 -4
- package/vanilla/UiFormField.js +4 -4
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.js +4 -4
- package/vanilla/UiInput.js +4 -4
- package/vanilla/UiInputGroup.js +4 -4
- package/vanilla/UiListbox.js +4 -4
- package/vanilla/UiMenu.js +4 -4
- package/vanilla/UiMenuItem.js +4 -4
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.js +4 -4
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiScrollArea.js +4 -4
- package/vanilla/UiSearchShell.js +4 -4
- package/vanilla/UiSelect.js +4 -4
- package/vanilla/UiSidebar.js +4 -4
- package/vanilla/UiSwitch.js +4 -4
- package/vanilla/UiSwitcher.js +4 -4
- package/vanilla/UiTable.js +4 -4
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiTextarea.js +4 -4
- package/vanilla/UiToast.js +4 -4
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.js +4 -4
- package/vanilla/UiTree.js +4 -4
- package/vanilla/UiTreeItem.js +4 -4
- package/vue/UiAffordanceScope.vue +1 -0
- package/vue/UiAvatar.vue +1 -0
- package/vue/UiAvatarGroup.vue +1 -0
- package/vue/UiButton.vue +1 -0
- package/vue/UiCheckbox.vue +1 -0
- package/vue/UiCombobox.vue +1 -0
- package/vue/UiContextMenu.vue +1 -0
- package/vue/UiDialog.vue +6 -0
- package/vue/UiDisclosure.vue +1 -0
- package/vue/UiEditable.vue +1 -0
- package/vue/UiEditorBlockActions.vue +1 -0
- package/vue/UiEditorChipEditor.vue +1 -0
- package/vue/UiEditorCodeLanguage.vue +1 -0
- package/vue/UiEditorImageToolbar.vue +1 -0
- package/vue/UiEditorInsertTableGrid.vue +1 -0
- package/vue/UiEditorLinkCard.vue +1 -0
- package/vue/UiEditorLinkForm.vue +1 -0
- package/vue/UiEditorMentionMenu.vue +1 -0
- package/vue/UiEditorSlashMenu.vue +1 -0
- package/vue/UiEditorTableContextMenu.vue +1 -0
- package/vue/UiEditorTableOverlay.vue +1 -0
- package/vue/UiEditorTableToolbar.vue +1 -0
- package/vue/UiEditorToolbar.vue +1 -0
- package/vue/UiFormField.vue +1 -0
- package/vue/UiIconButton.vue +1 -0
- package/vue/UiImage.vue +1 -0
- package/vue/UiInput.vue +1 -0
- package/vue/UiInputGroup.vue +1 -0
- package/vue/UiListbox.vue +1 -0
- package/vue/UiMenu.vue +1 -0
- package/vue/UiMenuItem.vue +1 -0
- package/vue/UiPopover.vue +1 -0
- package/vue/UiRadio.vue +1 -0
- package/vue/UiRadioGroup.vue +1 -0
- package/vue/UiScrollArea.vue +1 -0
- package/vue/UiSearchShell.vue +1 -0
- package/vue/UiSelect.vue +1 -0
- package/vue/UiSidebar.vue +1 -0
- package/vue/UiSwitch.vue +1 -0
- package/vue/UiSwitcher.vue +1 -0
- package/vue/UiTable.vue +1 -0
- package/vue/UiTabs.vue +1 -0
- package/vue/UiTextarea.vue +1 -0
- package/vue/UiToast.vue +1 -0
- package/vue/UiToastRegion.vue +1 -0
- package/vue/UiTooltip.vue +1 -0
- package/vue/UiTree.vue +1 -0
- package/vue/UiTreeItem.vue +1 -0
- package/vue/chunks/UiAffordanceScope.js +2 -1
- package/vue/chunks/UiAvatar.js +2 -1
- package/vue/chunks/UiAvatarGroup.js +2 -1
- package/vue/chunks/UiButton.js +2 -1
- package/vue/chunks/UiCheckbox.js +2 -1
- package/vue/chunks/UiCombobox.js +2 -1
- package/vue/chunks/UiContextMenu.js +2 -1
- package/vue/chunks/UiDialog.js +2 -1
- package/vue/chunks/UiDisclosure.js +2 -1
- package/vue/chunks/UiEditable.js +2 -1
- package/vue/chunks/UiEditorBlockActions.js +1 -0
- package/vue/chunks/UiEditorChipEditor.js +1 -0
- package/vue/chunks/UiEditorCodeLanguage.js +1 -0
- package/vue/chunks/UiEditorImageToolbar.js +1 -0
- package/vue/chunks/UiEditorInsertTableGrid.js +2 -1
- package/vue/chunks/UiEditorLinkCard.js +1 -0
- package/vue/chunks/UiEditorLinkForm.js +1 -0
- package/vue/chunks/UiEditorMentionMenu.js +2 -1
- package/vue/chunks/UiEditorSlashMenu.js +2 -1
- package/vue/chunks/UiEditorTableContextMenu.js +2 -1
- package/vue/chunks/UiEditorTableOverlay.js +2 -1
- package/vue/chunks/UiEditorTableToolbar.js +2 -1
- package/vue/chunks/UiEditorToolbar.js +2 -1
- package/vue/chunks/UiFormField.js +2 -1
- package/vue/chunks/UiIconButton.js +2 -1
- package/vue/chunks/UiImage.js +2 -1
- package/vue/chunks/UiInput.js +2 -1
- package/vue/chunks/UiInputGroup.js +2 -1
- package/vue/chunks/UiListbox.js +2 -1
- package/vue/chunks/UiMenu.js +2 -1
- package/vue/chunks/UiMenuItem.js +2 -1
- package/vue/chunks/UiPopover.js +2 -1
- package/vue/chunks/UiRadio.js +2 -1
- package/vue/chunks/UiRadioGroup.js +2 -1
- package/vue/chunks/UiScrollArea.js +2 -1
- package/vue/chunks/UiSearchShell.js +2 -1
- package/vue/chunks/UiSelect.js +2 -1
- package/vue/chunks/UiSidebar.js +2 -1
- package/vue/chunks/UiSwitch.js +2 -1
- package/vue/chunks/UiSwitcher.js +2 -1
- package/vue/chunks/UiTable.js +2 -1
- package/vue/chunks/UiTabs.js +2 -1
- package/vue/chunks/UiTextarea.js +2 -1
- package/vue/chunks/UiToast.js +2 -1
- package/vue/chunks/UiToastRegion.js +2 -1
- package/vue/chunks/UiTooltip.js +2 -1
- package/vue/chunks/UiTree.js +2 -1
- package/vue/chunks/UiTreeItem.js +2 -1
- package/vue/components.css +21 -16
- package/vue/editor/index.js +61 -73
package/vue/components.css
CHANGED
|
@@ -1783,7 +1783,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1783
1783
|
/* The label, and under it an optional line saying what the choice means. */
|
|
1784
1784
|
|
|
1785
1785
|
/* Centre the tick's box and lift it slightly for the rotated check shape. */
|
|
1786
|
-
@keyframes ui-checkbox-check-
|
|
1786
|
+
@keyframes ui-checkbox-check-aac88235 {
|
|
1787
1787
|
from {
|
|
1788
1788
|
opacity: 0;
|
|
1789
1789
|
transform: translateY(-0.09rem) rotate(45deg) scale(0.55);
|
|
@@ -1878,7 +1878,7 @@ input:checked:where([data-hn-ui-checkbox])::after {
|
|
|
1878
1878
|
border-width: 0 0.125rem 0.125rem 0;
|
|
1879
1879
|
opacity: 1;
|
|
1880
1880
|
transform: translateY(-0.09rem) rotate(45deg);
|
|
1881
|
-
animation: ui-checkbox-check-
|
|
1881
|
+
animation: ui-checkbox-check-aac88235 180ms var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
|
|
1882
1882
|
both;
|
|
1883
1883
|
}
|
|
1884
1884
|
input:indeterminate:where([data-hn-ui-checkbox])::after {
|
|
@@ -3035,18 +3035,20 @@ dd:where([data-hn-ui-description-item]) {
|
|
|
3035
3035
|
|
|
3036
3036
|
/* Own the layout wrapper; nested component roots are outside these scoped rules. */
|
|
3037
3037
|
|
|
3038
|
+
/* Alerts have no close target to add height above the title. */
|
|
3039
|
+
|
|
3038
3040
|
/* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
|
|
3039
3041
|
|
|
3040
3042
|
/* A CSS-drawn X. */
|
|
3041
3043
|
|
|
3042
3044
|
/* A touch target, like Button on coarse pointers. */
|
|
3043
|
-
@keyframes ui-dialog-enter-
|
|
3045
|
+
@keyframes ui-dialog-enter-0e4bd8b5 {
|
|
3044
3046
|
from {
|
|
3045
3047
|
opacity: 0;
|
|
3046
3048
|
transform: scale(0.96);
|
|
3047
3049
|
}
|
|
3048
3050
|
}
|
|
3049
|
-
@keyframes ui-dialog-backdrop-enter-
|
|
3051
|
+
@keyframes ui-dialog-backdrop-enter-0e4bd8b5 {
|
|
3050
3052
|
from {
|
|
3051
3053
|
background-color: transparent;
|
|
3052
3054
|
}
|
|
@@ -3094,7 +3096,7 @@ from {
|
|
|
3094
3096
|
pointer-events: auto;
|
|
3095
3097
|
opacity: 1;
|
|
3096
3098
|
transform: scale(1);
|
|
3097
|
-
animation: ui-dialog-enter-
|
|
3099
|
+
animation: ui-dialog-enter-0e4bd8b5 var(--ui-dialog-duration, var(--ui-motion-base))
|
|
3098
3100
|
var(--ui-motion-ease);
|
|
3099
3101
|
}
|
|
3100
3102
|
:scope[data-ui-dialog-state~="size=sm"]:where([data-hn-ui-dialog]) {
|
|
@@ -3124,6 +3126,9 @@ header:where([data-hn-ui-dialog]) {
|
|
|
3124
3126
|
padding: calc(var(--ui-space-3) + var(--ui-space-1) / 2) var(--ui-space-3) var(--ui-space-3)
|
|
3125
3127
|
var(--ui-space-5);
|
|
3126
3128
|
}
|
|
3129
|
+
:scope[data-ui-dialog-state~="alert"] header:where([data-hn-ui-dialog]) {
|
|
3130
|
+
padding: var(--ui-space-5) var(--ui-space-5) var(--ui-space-3);
|
|
3131
|
+
}
|
|
3127
3132
|
:scope .title:where([data-hn-ui-dialog]) {
|
|
3128
3133
|
flex: 1;
|
|
3129
3134
|
min-inline-size: 0;
|
|
@@ -3212,7 +3217,7 @@ footer:empty:where([data-hn-ui-dialog]) {
|
|
|
3212
3217
|
}
|
|
3213
3218
|
:scope[open]:modal:where([data-hn-ui-dialog])::backdrop {
|
|
3214
3219
|
background-color: var(--ui-overlay-backdrop);
|
|
3215
|
-
animation: ui-dialog-backdrop-enter-
|
|
3220
|
+
animation: ui-dialog-backdrop-enter-0e4bd8b5 var(--_ui-dialog-duration, var(--ui-motion-base))
|
|
3216
3221
|
var(--ui-motion-ease);
|
|
3217
3222
|
}
|
|
3218
3223
|
:scope[open][data-ui-backdrop-hidden]:where([data-hn-ui-dialog])::backdrop {
|
|
@@ -9431,7 +9436,7 @@ input:where([data-hn-ui-switch]),input:where([data-hn-ui-switch])::after {
|
|
|
9431
9436
|
}
|
|
9432
9437
|
|
|
9433
9438
|
/* Leaving slides on down and fades; the controller removes the toast when this ends. */
|
|
9434
|
-
@keyframes ui-toast-enter-
|
|
9439
|
+
@keyframes ui-toast-enter-cab264c9 {
|
|
9435
9440
|
from {
|
|
9436
9441
|
opacity: 0;
|
|
9437
9442
|
transform: translateY(-1rem);
|
|
@@ -9441,7 +9446,7 @@ to {
|
|
|
9441
9446
|
transform: translateY(0);
|
|
9442
9447
|
}
|
|
9443
9448
|
}
|
|
9444
|
-
@keyframes ui-toast-exit-
|
|
9449
|
+
@keyframes ui-toast-exit-cab264c9 {
|
|
9445
9450
|
from {
|
|
9446
9451
|
opacity: 1;
|
|
9447
9452
|
transform: translateY(0);
|
|
@@ -9451,7 +9456,7 @@ to {
|
|
|
9451
9456
|
transform: translateY(0.75rem);
|
|
9452
9457
|
}
|
|
9453
9458
|
}
|
|
9454
|
-
@keyframes ui-toast-enter-bottom-
|
|
9459
|
+
@keyframes ui-toast-enter-bottom-cab264c9 {
|
|
9455
9460
|
from {
|
|
9456
9461
|
opacity: 0;
|
|
9457
9462
|
transform: translateY(1rem);
|
|
@@ -9461,7 +9466,7 @@ to {
|
|
|
9461
9466
|
transform: translateY(0);
|
|
9462
9467
|
}
|
|
9463
9468
|
}
|
|
9464
|
-
@keyframes ui-toast-exit-bottom-
|
|
9469
|
+
@keyframes ui-toast-exit-bottom-cab264c9 {
|
|
9465
9470
|
from {
|
|
9466
9471
|
opacity: 1;
|
|
9467
9472
|
transform: translateY(0);
|
|
@@ -9552,7 +9557,7 @@ to {
|
|
|
9552
9557
|
--_ui-toast-region-shadow,
|
|
9553
9558
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
9554
9559
|
);
|
|
9555
|
-
animation: ui-toast-enter-
|
|
9560
|
+
animation: ui-toast-enter-cab264c9 var(--_ui-toast-region-enter-duration, 0.32s)
|
|
9556
9561
|
var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
9557
9562
|
}
|
|
9558
9563
|
.toast[data-tone="info"]:where([data-hn-ui-toast-region]) {
|
|
@@ -9572,17 +9577,17 @@ to {
|
|
|
9572
9577
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
9573
9578
|
}
|
|
9574
9579
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
9575
|
-
animation: ui-toast-exit-
|
|
9580
|
+
animation: ui-toast-exit-cab264c9 var(--_ui-toast-region-exit-duration, 0.22s) var(--ui-motion-ease)
|
|
9576
9581
|
both;
|
|
9577
9582
|
pointer-events: none;
|
|
9578
9583
|
}
|
|
9579
9584
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
9580
9585
|
.toast:where([data-hn-ui-toast-region]) {
|
|
9581
|
-
animation-name: ui-toast-enter-bottom-
|
|
9586
|
+
animation-name: ui-toast-enter-bottom-cab264c9;
|
|
9582
9587
|
}
|
|
9583
9588
|
:is(:scope[data-ui-toast-region-state~="placement=bottom"], :scope[data-ui-toast-region-state~="placement=bottom-start"], :scope[data-ui-toast-region-state~="placement=bottom-end"])
|
|
9584
9589
|
.toast.closing:where([data-hn-ui-toast-region]) {
|
|
9585
|
-
animation-name: ui-toast-exit-bottom-
|
|
9590
|
+
animation-name: ui-toast-exit-bottom-cab264c9;
|
|
9586
9591
|
}
|
|
9587
9592
|
@media (prefers-reduced-motion: reduce) {
|
|
9588
9593
|
.toast:where([data-hn-ui-toast-region]),.toast.closing:where([data-hn-ui-toast-region]) {
|
|
@@ -9783,7 +9788,7 @@ to {
|
|
|
9783
9788
|
slides, the label reaches back under the icon (the controller measures how far) with its text
|
|
9784
9789
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
9785
9790
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
9786
|
-
@keyframes ui-tree-item-marquee-
|
|
9791
|
+
@keyframes ui-tree-item-marquee-16fe002b {
|
|
9787
9792
|
from {
|
|
9788
9793
|
transform: translateX(0);
|
|
9789
9794
|
}
|
|
@@ -10039,7 +10044,7 @@ to {
|
|
|
10039
10044
|
.row[data-ui-marquee] > .label > .label-text:where([data-hn-ui-tree-item]) {
|
|
10040
10045
|
/* Once per pass: the controller restarts it after a rest at the end, so the name holds still
|
|
10041
10046
|
long enough to read rather than sliding back and forth. */
|
|
10042
|
-
animation: ui-tree-item-marquee-
|
|
10047
|
+
animation: ui-tree-item-marquee-16fe002b var(--_marquee-duration) linear 0.5s 1 normal forwards;
|
|
10043
10048
|
will-change: transform;
|
|
10044
10049
|
}
|
|
10045
10050
|
.row[data-ui-marquee] > .label:where([data-hn-ui-tree-item]) {
|
package/vue/editor/index.js
CHANGED
|
@@ -11,8 +11,20 @@ import "@tiptap/pm/tables";
|
|
|
11
11
|
import "@tiptap/pm/transform";
|
|
12
12
|
import { closeHistory } from "@tiptap/pm/history";
|
|
13
13
|
import { DOMParser, DOMSerializer, Fragment as Fragment$1 } from "@tiptap/pm/model";
|
|
14
|
-
import { IndexedList, NONCONFORMING, READY_INPUT, UNRESOLVED_INPUT, acceptProps, armElement, attachGeneratedController, awaitInput, buildTemplate, checkBoolean, checkConstrained, checkFormat, checkInteger, checkNumber, checkObject, checkSelected, checkString, clearRegion, computedCycle, defineComponent as defineComponent$1, detailCheck, dispatchDeclared, dispose, evaluateInput, fillSlot, formatOf, generatedInputs, hostState, inputRead, keywordFormat, manageProps, notifyPropertySet, project, readIndex, readMember, readonlyView, readsChanged, rec, replaceRoot, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute } from "@nextwebwg/html-next/generated-runtime";
|
|
14
|
+
import { IndexedList, NONCONFORMING, READY_INPUT, UNRESOLVED_INPUT, acceptProps, activateModule, armElement, attachGeneratedController, awaitInput, buildTemplate, checkBoolean, checkConstrained, checkFormat, checkInteger, checkNumber, checkObject, checkSelected, checkString, clearRegion, computedCycle, defineComponent as defineComponent$1, detailCheck, dispatchDeclared, dispose, evaluateInput, fillSlot, formatOf, generatedInputs, hostState, inputRead, keywordFormat, manageProps, notifyPropertySet, project, readIndex, readMember, readonlyView, readsChanged, rec, replaceRoot, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute } from "@nextwebwg/html-next/generated-runtime";
|
|
15
15
|
export * from "@threadlabs/looma/editor";
|
|
16
|
+
//#region \0rolldown/runtime.js
|
|
17
|
+
var __defProp = Object.defineProperty;
|
|
18
|
+
var __exportAll = (all, no_symbols) => {
|
|
19
|
+
let target = {};
|
|
20
|
+
for (var name in all) __defProp(target, name, {
|
|
21
|
+
get: all[name],
|
|
22
|
+
enumerable: true
|
|
23
|
+
});
|
|
24
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
16
28
|
//#region src/vue/editor/primitives.ts
|
|
17
29
|
/** Each Vue editor component's element tag, for tooling that enumerates them. */
|
|
18
30
|
var EDITOR_ADAPTER_COMPONENT_TAG_MAP = {
|
|
@@ -2691,6 +2703,7 @@ function setCodeBlockLanguage(editor, pos, value, names) {
|
|
|
2691
2703
|
}
|
|
2692
2704
|
//#endregion
|
|
2693
2705
|
//#region components/ui-button/ui-button.js
|
|
2706
|
+
var ui_button_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$11 });
|
|
2694
2707
|
function connect$11(host) {
|
|
2695
2708
|
const onClick = (event) => {
|
|
2696
2709
|
if (!host.props.loading.value && !host.props.pending.value) return;
|
|
@@ -2700,10 +2713,6 @@ function connect$11(host) {
|
|
|
2700
2713
|
host.element.addEventListener("click", onClick, true);
|
|
2701
2714
|
return () => host.element.removeEventListener("click", onClick, true);
|
|
2702
2715
|
}
|
|
2703
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
2704
|
-
function controller$11(host) {
|
|
2705
|
-
host.on("connect", () => connect$11(host));
|
|
2706
|
-
}
|
|
2707
2716
|
//#endregion
|
|
2708
2717
|
//#region vanilla/UiButton.js
|
|
2709
2718
|
var T0$16 = [
|
|
@@ -2859,6 +2868,7 @@ var S$18 = {
|
|
|
2859
2868
|
t: [],
|
|
2860
2869
|
f: import.meta.url,
|
|
2861
2870
|
g: "ui-button",
|
|
2871
|
+
a: (host, I) => C$11(host, I),
|
|
2862
2872
|
b: generatedInputs
|
|
2863
2873
|
};
|
|
2864
2874
|
var A$3 = [
|
|
@@ -3130,7 +3140,7 @@ var D$18 = {
|
|
|
3130
3140
|
}
|
|
3131
3141
|
}
|
|
3132
3142
|
};
|
|
3133
|
-
var C$11 = (host) =>
|
|
3143
|
+
var C$11 = (host) => activateModule(ui_button_exports, host);
|
|
3134
3144
|
function createUiButton(options = {}, html) {
|
|
3135
3145
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
3136
3146
|
const v = [
|
|
@@ -3828,7 +3838,7 @@ function createUiButton(options = {}, html) {
|
|
|
3828
3838
|
};
|
|
3829
3839
|
const I = { B };
|
|
3830
3840
|
const J = project(I, children, slots);
|
|
3831
|
-
attachGeneratedController(element, S$18, v, p,
|
|
3841
|
+
attachGeneratedController(element, S$18, v, p, void 0, void 0, I);
|
|
3832
3842
|
manageProps(I);
|
|
3833
3843
|
return element;
|
|
3834
3844
|
}
|
|
@@ -4456,6 +4466,7 @@ function createIdResolver(document, onLate) {
|
|
|
4456
4466
|
}
|
|
4457
4467
|
//#endregion
|
|
4458
4468
|
//#region components/ui-affordance-scope/ui-affordance-scope.js
|
|
4469
|
+
var ui_affordance_scope_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$10 });
|
|
4459
4470
|
function distance(point, rect) {
|
|
4460
4471
|
const dx = Math.max(rect.left - point.x, 0, point.x - rect.right);
|
|
4461
4472
|
const dy = Math.max(rect.top - point.y, 0, point.y - rect.bottom);
|
|
@@ -4538,10 +4549,6 @@ function connect$10(host) {
|
|
|
4538
4549
|
clear();
|
|
4539
4550
|
};
|
|
4540
4551
|
}
|
|
4541
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
4542
|
-
function controller$10(host) {
|
|
4543
|
-
host.on("connect", () => connect$10(host));
|
|
4544
|
-
}
|
|
4545
4552
|
//#endregion
|
|
4546
4553
|
//#region vanilla/UiAffordanceScope.js
|
|
4547
4554
|
var T0$15 = [
|
|
@@ -4557,6 +4564,7 @@ var S$17 = {
|
|
|
4557
4564
|
t: ["b"],
|
|
4558
4565
|
f: import.meta.url,
|
|
4559
4566
|
g: "ui-affordance-scope",
|
|
4567
|
+
a: (host, I) => C$10(host, I),
|
|
4560
4568
|
b: generatedInputs,
|
|
4561
4569
|
i: [false]
|
|
4562
4570
|
};
|
|
@@ -4582,7 +4590,7 @@ var D$17 = {
|
|
|
4582
4590
|
}
|
|
4583
4591
|
}
|
|
4584
4592
|
};
|
|
4585
|
-
var C$10 = (host) =>
|
|
4593
|
+
var C$10 = (host) => activateModule(ui_affordance_scope_exports, host);
|
|
4586
4594
|
function createUiAffordanceScope(options = {}, html) {
|
|
4587
4595
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
4588
4596
|
const element = document.createElement("span");
|
|
@@ -4634,7 +4642,7 @@ function createUiAffordanceScope(options = {}, html) {
|
|
|
4634
4642
|
attachGeneratedController(element, S$17, v, (c, d) => {
|
|
4635
4643
|
((c, d) => p0(R, c, d))(c, d);
|
|
4636
4644
|
for (const f of I.R) f(c, d);
|
|
4637
|
-
},
|
|
4645
|
+
}, void 0, void 0, I);
|
|
4638
4646
|
manageProps(I);
|
|
4639
4647
|
return element;
|
|
4640
4648
|
}
|
|
@@ -4856,6 +4864,7 @@ function warnOnce(warned, problems, element) {
|
|
|
4856
4864
|
}
|
|
4857
4865
|
//#endregion
|
|
4858
4866
|
//#region components/ui-form-field/ui-form-field.js
|
|
4867
|
+
var ui_form_field_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$9 });
|
|
4859
4868
|
var nextFieldId = 0;
|
|
4860
4869
|
function id(prefix) {
|
|
4861
4870
|
nextFieldId += 1;
|
|
@@ -4936,10 +4945,6 @@ function connect$9(host) {
|
|
|
4936
4945
|
removeOwned(activeInput);
|
|
4937
4946
|
};
|
|
4938
4947
|
}
|
|
4939
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
4940
|
-
function controller$9(host) {
|
|
4941
|
-
host.on("connect", () => connect$9(host));
|
|
4942
|
-
}
|
|
4943
4948
|
//#endregion
|
|
4944
4949
|
//#region vanilla/UiFormField.js
|
|
4945
4950
|
var T0$13 = [
|
|
@@ -4991,6 +4996,7 @@ var S$15 = {
|
|
|
4991
4996
|
t: [],
|
|
4992
4997
|
f: import.meta.url,
|
|
4993
4998
|
g: "ui-form-field",
|
|
4999
|
+
a: (host, I) => C$9(host, I),
|
|
4994
5000
|
b: generatedInputs
|
|
4995
5001
|
};
|
|
4996
5002
|
var D$15 = {
|
|
@@ -5022,7 +5028,7 @@ var D$15 = {
|
|
|
5022
5028
|
}
|
|
5023
5029
|
}
|
|
5024
5030
|
};
|
|
5025
|
-
var C$9 = (host) =>
|
|
5031
|
+
var C$9 = (host) => activateModule(ui_form_field_exports, host);
|
|
5026
5032
|
function createUiFormField(options = {}, html) {
|
|
5027
5033
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
5028
5034
|
const element = document.createElement("div");
|
|
@@ -5152,7 +5158,7 @@ function createUiFormField(options = {}, html) {
|
|
|
5152
5158
|
};
|
|
5153
5159
|
const I = { B };
|
|
5154
5160
|
const J = project(I, children, slots);
|
|
5155
|
-
attachGeneratedController(element, S$15, v, ((c, d) => p0(R, c, d)),
|
|
5161
|
+
attachGeneratedController(element, S$15, v, ((c, d) => p0(R, c, d)), void 0, void 0, I);
|
|
5156
5162
|
manageProps(I);
|
|
5157
5163
|
return element;
|
|
5158
5164
|
}
|
|
@@ -6597,6 +6603,7 @@ function createUiIcon(options = {}, html) {
|
|
|
6597
6603
|
defineComponent$1("ui-icon", createUiIcon, ["name", "tone"]);
|
|
6598
6604
|
//#endregion
|
|
6599
6605
|
//#region components/ui-icon-button/ui-icon-button.js
|
|
6606
|
+
var ui_icon_button_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$8 });
|
|
6600
6607
|
function connect$8(host) {
|
|
6601
6608
|
const stop = host.effect(() => {
|
|
6602
6609
|
if (host.props.anticipatory.value) host.element.setAttribute("data-ui-affordance", "button");
|
|
@@ -6613,10 +6620,6 @@ function connect$8(host) {
|
|
|
6613
6620
|
host.element.removeEventListener("click", onClick, true);
|
|
6614
6621
|
};
|
|
6615
6622
|
}
|
|
6616
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
6617
|
-
function controller$8(host) {
|
|
6618
|
-
host.on("connect", () => connect$8(host));
|
|
6619
|
-
}
|
|
6620
6623
|
//#endregion
|
|
6621
6624
|
//#region vanilla/UiIconButton.js
|
|
6622
6625
|
var T0$11 = [
|
|
@@ -6642,6 +6645,7 @@ var S$13 = {
|
|
|
6642
6645
|
t: [],
|
|
6643
6646
|
f: import.meta.url,
|
|
6644
6647
|
g: "ui-icon-button",
|
|
6648
|
+
a: (host, I) => C$8(host, I),
|
|
6645
6649
|
b: generatedInputs
|
|
6646
6650
|
};
|
|
6647
6651
|
var D$13 = {
|
|
@@ -6755,7 +6759,7 @@ var D$13 = {
|
|
|
6755
6759
|
}
|
|
6756
6760
|
}
|
|
6757
6761
|
};
|
|
6758
|
-
var C$8 = (host) =>
|
|
6762
|
+
var C$8 = (host) => activateModule(ui_icon_button_exports, host);
|
|
6759
6763
|
function createUiIconButton(options = {}, html) {
|
|
6760
6764
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
6761
6765
|
const element = document.createElement("button");
|
|
@@ -6886,7 +6890,7 @@ function createUiIconButton(options = {}, html) {
|
|
|
6886
6890
|
};
|
|
6887
6891
|
const I = { B };
|
|
6888
6892
|
const J = project(I, children, slots);
|
|
6889
|
-
attachGeneratedController(element, S$13, v, ((c, d) => p0(R, c, d)),
|
|
6893
|
+
attachGeneratedController(element, S$13, v, ((c, d) => p0(R, c, d)), void 0, void 0, I);
|
|
6890
6894
|
manageProps(I);
|
|
6891
6895
|
return element;
|
|
6892
6896
|
}
|
|
@@ -7211,6 +7215,7 @@ function navigateMenu(event, menu) {
|
|
|
7211
7215
|
}
|
|
7212
7216
|
//#endregion
|
|
7213
7217
|
//#region components/ui-menu/ui-menu.js
|
|
7218
|
+
var ui_menu_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$7 });
|
|
7214
7219
|
function triggerFor(event) {
|
|
7215
7220
|
if (event instanceof KeyboardEvent) return "keyboard";
|
|
7216
7221
|
if (event instanceof MouseEvent || event instanceof PointerEvent) return event.detail === 0 ? "keyboard" : "pointer";
|
|
@@ -7378,10 +7383,6 @@ function connect$7(host) {
|
|
|
7378
7383
|
releaseAnchor();
|
|
7379
7384
|
};
|
|
7380
7385
|
}
|
|
7381
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
7382
|
-
function controller$7(host) {
|
|
7383
|
-
host.on("connect", () => connect$7(host));
|
|
7384
|
-
}
|
|
7385
7386
|
//#endregion
|
|
7386
7387
|
//#region vanilla/UiMenu.js
|
|
7387
7388
|
var T0$9 = [
|
|
@@ -7487,6 +7488,7 @@ var S$11 = {
|
|
|
7487
7488
|
]
|
|
7488
7489
|
},
|
|
7489
7490
|
x: dispatchDeclared,
|
|
7491
|
+
a: (host, I) => C$7(host, I),
|
|
7490
7492
|
b: generatedInputs,
|
|
7491
7493
|
i: [false]
|
|
7492
7494
|
};
|
|
@@ -7553,7 +7555,7 @@ var D$11 = {
|
|
|
7553
7555
|
}
|
|
7554
7556
|
}
|
|
7555
7557
|
};
|
|
7556
|
-
var C$7 = (host) =>
|
|
7558
|
+
var C$7 = (host) => activateModule(ui_menu_exports, host);
|
|
7557
7559
|
function createUiMenu(options = {}, html) {
|
|
7558
7560
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
7559
7561
|
const element = document.createElement("div");
|
|
@@ -7624,7 +7626,7 @@ function createUiMenu(options = {}, html) {
|
|
|
7624
7626
|
attachGeneratedController(element, S$11, v, (c, d) => {
|
|
7625
7627
|
((c, d) => p0(R, c, d))(c, d);
|
|
7626
7628
|
for (const f of I.R) f(c, d);
|
|
7627
|
-
},
|
|
7629
|
+
}, void 0, void 0, I);
|
|
7628
7630
|
manageProps(I);
|
|
7629
7631
|
return element;
|
|
7630
7632
|
}
|
|
@@ -7639,6 +7641,7 @@ defineComponent$1("ui-menu", createUiMenu, [
|
|
|
7639
7641
|
]);
|
|
7640
7642
|
//#endregion
|
|
7641
7643
|
//#region components/ui-menu-item/ui-menu-item.js
|
|
7644
|
+
var ui_menu_item_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$6 });
|
|
7642
7645
|
function radioScope(item) {
|
|
7643
7646
|
return item.closest("[role=\"group\"]") ?? item.closest("[role=\"menu\"]");
|
|
7644
7647
|
}
|
|
@@ -7692,10 +7695,6 @@ function connect$6(host) {
|
|
|
7692
7695
|
item.removeEventListener("ui-menu-item-clear", onClear);
|
|
7693
7696
|
};
|
|
7694
7697
|
}
|
|
7695
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
7696
|
-
function controller$6(host) {
|
|
7697
|
-
host.on("connect", () => connect$6(host));
|
|
7698
|
-
}
|
|
7699
7698
|
//#endregion
|
|
7700
7699
|
//#region vanilla/UiMenuItem.js
|
|
7701
7700
|
var T0$8 = [
|
|
@@ -7830,6 +7829,7 @@ var S$10 = {
|
|
|
7830
7829
|
false
|
|
7831
7830
|
] },
|
|
7832
7831
|
x: dispatchDeclared,
|
|
7832
|
+
a: (host, I) => C$6(host, I),
|
|
7833
7833
|
b: generatedInputs,
|
|
7834
7834
|
i: [false]
|
|
7835
7835
|
};
|
|
@@ -7934,7 +7934,7 @@ var D$10 = {
|
|
|
7934
7934
|
}
|
|
7935
7935
|
}
|
|
7936
7936
|
};
|
|
7937
|
-
var C$6 = (host) =>
|
|
7937
|
+
var C$6 = (host) => activateModule(ui_menu_item_exports, host);
|
|
7938
7938
|
function createUiMenuItem(options = {}, html) {
|
|
7939
7939
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
7940
7940
|
const v = [
|
|
@@ -8224,7 +8224,7 @@ function createUiMenuItem(options = {}, html) {
|
|
|
8224
8224
|
attachGeneratedController(element, S$10, v, (c, d) => {
|
|
8225
8225
|
p(c, d);
|
|
8226
8226
|
for (const f of I.R) f(c, d);
|
|
8227
|
-
},
|
|
8227
|
+
}, void 0, void 0, I);
|
|
8228
8228
|
manageProps(I);
|
|
8229
8229
|
return element;
|
|
8230
8230
|
}
|
|
@@ -8238,6 +8238,7 @@ defineComponent$1("ui-menu-item", createUiMenuItem, [
|
|
|
8238
8238
|
]);
|
|
8239
8239
|
//#endregion
|
|
8240
8240
|
//#region components/ui-popover/ui-popover.js
|
|
8241
|
+
var ui_popover_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$5 });
|
|
8241
8242
|
function connect$5(host) {
|
|
8242
8243
|
const element = host.element;
|
|
8243
8244
|
const document = element.ownerDocument;
|
|
@@ -8355,10 +8356,6 @@ function connect$5(host) {
|
|
|
8355
8356
|
releaseAnchor();
|
|
8356
8357
|
};
|
|
8357
8358
|
}
|
|
8358
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
8359
|
-
function controller$5(host) {
|
|
8360
|
-
host.on("connect", () => connect$5(host));
|
|
8361
|
-
}
|
|
8362
8359
|
//#endregion
|
|
8363
8360
|
//#region vanilla/UiPopover.js
|
|
8364
8361
|
var T0$7 = [
|
|
@@ -8443,6 +8440,7 @@ var S$9 = {
|
|
|
8443
8440
|
]
|
|
8444
8441
|
},
|
|
8445
8442
|
x: dispatchDeclared,
|
|
8443
|
+
a: (host, I) => C$5(host, I),
|
|
8446
8444
|
b: generatedInputs,
|
|
8447
8445
|
i: [false]
|
|
8448
8446
|
};
|
|
@@ -8503,7 +8501,7 @@ var D$9 = {
|
|
|
8503
8501
|
}
|
|
8504
8502
|
}
|
|
8505
8503
|
};
|
|
8506
|
-
var C$5 = (host) =>
|
|
8504
|
+
var C$5 = (host) => activateModule(ui_popover_exports, host);
|
|
8507
8505
|
function createUiPopover(options = {}, html) {
|
|
8508
8506
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
8509
8507
|
const element = document.createElement("span");
|
|
@@ -8557,7 +8555,7 @@ function createUiPopover(options = {}, html) {
|
|
|
8557
8555
|
attachGeneratedController(element, S$9, v, (c, d) => {
|
|
8558
8556
|
((c, d) => p0(R, c, d))(c, d);
|
|
8559
8557
|
for (const f of I.R) f(c, d);
|
|
8560
|
-
},
|
|
8558
|
+
}, void 0, void 0, I);
|
|
8561
8559
|
manageProps(I);
|
|
8562
8560
|
return element;
|
|
8563
8561
|
}
|
|
@@ -9996,6 +9994,7 @@ defineComponent$1("ui-text", createUiText, [
|
|
|
9996
9994
|
]);
|
|
9997
9995
|
//#endregion
|
|
9998
9996
|
//#region components/ui-tooltip/ui-tooltip.js
|
|
9997
|
+
var ui_tooltip_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$4 });
|
|
9999
9998
|
var warmTooltips = /* @__PURE__ */ new WeakMap();
|
|
10000
9999
|
function connect$4(host) {
|
|
10001
10000
|
const element = host.element;
|
|
@@ -10232,10 +10231,6 @@ function connect$4(host) {
|
|
|
10232
10231
|
closeOverlay(document, overlayId);
|
|
10233
10232
|
};
|
|
10234
10233
|
}
|
|
10235
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
10236
|
-
function controller$4(host) {
|
|
10237
|
-
host.on("connect", () => connect$4(host));
|
|
10238
|
-
}
|
|
10239
10234
|
//#endregion
|
|
10240
10235
|
//#region vanilla/UiTooltip.js
|
|
10241
10236
|
var T0$4 = [
|
|
@@ -10334,6 +10329,7 @@ var S$6 = {
|
|
|
10334
10329
|
]
|
|
10335
10330
|
},
|
|
10336
10331
|
x: dispatchDeclared,
|
|
10332
|
+
a: (host, I) => C$4(host, I),
|
|
10337
10333
|
b: generatedInputs,
|
|
10338
10334
|
i: [false]
|
|
10339
10335
|
};
|
|
@@ -10417,7 +10413,7 @@ var D$6 = {
|
|
|
10417
10413
|
}
|
|
10418
10414
|
}
|
|
10419
10415
|
};
|
|
10420
|
-
var C$4 = (host) =>
|
|
10416
|
+
var C$4 = (host) => activateModule(ui_tooltip_exports, host);
|
|
10421
10417
|
function createUiTooltip(options = {}, html) {
|
|
10422
10418
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
10423
10419
|
const element = document.createElement("span");
|
|
@@ -10502,7 +10498,7 @@ function createUiTooltip(options = {}, html) {
|
|
|
10502
10498
|
attachGeneratedController(element, S$6, v, (c, d) => {
|
|
10503
10499
|
((c, d) => p0(R, c, d))(c, d);
|
|
10504
10500
|
for (const f of I.R) f(c, d);
|
|
10505
|
-
},
|
|
10501
|
+
}, void 0, void 0, I);
|
|
10506
10502
|
manageProps(I);
|
|
10507
10503
|
return element;
|
|
10508
10504
|
}
|
|
@@ -11310,6 +11306,7 @@ function trackTrigger(host) {
|
|
|
11310
11306
|
}
|
|
11311
11307
|
//#endregion
|
|
11312
11308
|
//#region components/ui-checkbox/ui-checkbox.js
|
|
11309
|
+
var ui_checkbox_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$3 });
|
|
11313
11310
|
function connect$3(host) {
|
|
11314
11311
|
const input = host.refs.input;
|
|
11315
11312
|
describeInput(input, host.refs.description);
|
|
@@ -11342,10 +11339,6 @@ function connect$3(host) {
|
|
|
11342
11339
|
input.removeEventListener("change", onChange);
|
|
11343
11340
|
};
|
|
11344
11341
|
}
|
|
11345
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
11346
|
-
function controller$3(host) {
|
|
11347
|
-
host.on("connect", () => connect$3(host));
|
|
11348
|
-
}
|
|
11349
11342
|
//#endregion
|
|
11350
11343
|
//#region vanilla/UiCheckbox.js
|
|
11351
11344
|
var T0$3 = [
|
|
@@ -11415,6 +11408,7 @@ var S$5 = {
|
|
|
11415
11408
|
false
|
|
11416
11409
|
] },
|
|
11417
11410
|
x: dispatchDeclared,
|
|
11411
|
+
a: (host, I) => C$3(host, I),
|
|
11418
11412
|
b: generatedInputs,
|
|
11419
11413
|
i: [false]
|
|
11420
11414
|
};
|
|
@@ -11500,7 +11494,7 @@ var D$5 = {
|
|
|
11500
11494
|
}
|
|
11501
11495
|
}
|
|
11502
11496
|
};
|
|
11503
|
-
var C$3 = (host) =>
|
|
11497
|
+
var C$3 = (host) => activateModule(ui_checkbox_exports, host);
|
|
11504
11498
|
function createUiCheckbox(options = {}, html) {
|
|
11505
11499
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
11506
11500
|
const element = document.createElement("label");
|
|
@@ -11645,7 +11639,7 @@ function createUiCheckbox(options = {}, html) {
|
|
|
11645
11639
|
attachGeneratedController(element, S$5, v, (c, d) => {
|
|
11646
11640
|
((c, d) => p0(R, c, d))(c, d);
|
|
11647
11641
|
for (const f of I.R) f(c, d);
|
|
11648
|
-
},
|
|
11642
|
+
}, void 0, void 0, I);
|
|
11649
11643
|
manageProps(I);
|
|
11650
11644
|
I.r["input"] = t0;
|
|
11651
11645
|
I.r["description"] = t4;
|
|
@@ -11664,6 +11658,7 @@ defineComponent$1("ui-checkbox", createUiCheckbox, [
|
|
|
11664
11658
|
]);
|
|
11665
11659
|
//#endregion
|
|
11666
11660
|
//#region components/ui-disclosure/ui-disclosure.js
|
|
11661
|
+
var ui_disclosure_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$2 });
|
|
11667
11662
|
var disclosures = 0;
|
|
11668
11663
|
var groups = /* @__PURE__ */ new WeakMap();
|
|
11669
11664
|
var pendingGroups = /* @__PURE__ */ new WeakSet();
|
|
@@ -11799,10 +11794,6 @@ function connect$2(host) {
|
|
|
11799
11794
|
host.refs.panel.removeEventListener("beforematch", onBeforematch);
|
|
11800
11795
|
};
|
|
11801
11796
|
}
|
|
11802
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
11803
|
-
function controller$2(host) {
|
|
11804
|
-
host.on("connect", () => connect$2(host));
|
|
11805
|
-
}
|
|
11806
11797
|
//#endregion
|
|
11807
11798
|
//#region vanilla/UiDisclosure.js
|
|
11808
11799
|
var T0$2 = [
|
|
@@ -11957,6 +11948,7 @@ var S$4 = {
|
|
|
11957
11948
|
]
|
|
11958
11949
|
},
|
|
11959
11950
|
x: dispatchDeclared,
|
|
11951
|
+
a: (host, I) => C$2(host, I),
|
|
11960
11952
|
b: generatedInputs,
|
|
11961
11953
|
i: [
|
|
11962
11954
|
false,
|
|
@@ -12044,7 +12036,7 @@ var D$4 = {
|
|
|
12044
12036
|
}
|
|
12045
12037
|
}
|
|
12046
12038
|
};
|
|
12047
|
-
var C$2 = (host) =>
|
|
12039
|
+
var C$2 = (host) => activateModule(ui_disclosure_exports, host);
|
|
12048
12040
|
function createUiDisclosure(options = {}, html) {
|
|
12049
12041
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
12050
12042
|
const element = document.createElement("div");
|
|
@@ -12231,7 +12223,7 @@ function createUiDisclosure(options = {}, html) {
|
|
|
12231
12223
|
attachGeneratedController(element, S$4, v, (c, d) => {
|
|
12232
12224
|
((c, d) => p0(R, c, d))(c, d);
|
|
12233
12225
|
for (const f of I.R) f(c, d);
|
|
12234
|
-
},
|
|
12226
|
+
}, void 0, void 0, I);
|
|
12235
12227
|
manageProps(I);
|
|
12236
12228
|
I.r["heading"] = t0;
|
|
12237
12229
|
I.r["trigger"] = t1;
|
|
@@ -12251,6 +12243,7 @@ defineComponent$1("ui-disclosure", createUiDisclosure, [
|
|
|
12251
12243
|
]);
|
|
12252
12244
|
//#endregion
|
|
12253
12245
|
//#region components/ui-input/ui-input.js
|
|
12246
|
+
var ui_input_exports = /* @__PURE__ */ __exportAll({ connect: () => connect$1 });
|
|
12254
12247
|
function connect$1(host) {
|
|
12255
12248
|
return host.effect(() => {
|
|
12256
12249
|
const value = host.props.value.value;
|
|
@@ -12263,10 +12256,6 @@ function connect$1(host) {
|
|
|
12263
12256
|
input.value = text;
|
|
12264
12257
|
});
|
|
12265
12258
|
}
|
|
12266
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
12267
|
-
function controller$1(host) {
|
|
12268
|
-
host.on("connect", () => connect$1(host));
|
|
12269
|
-
}
|
|
12270
12259
|
//#endregion
|
|
12271
12260
|
//#region vanilla/UiInput.js
|
|
12272
12261
|
var S$3 = {
|
|
@@ -12274,6 +12263,7 @@ var S$3 = {
|
|
|
12274
12263
|
t: [],
|
|
12275
12264
|
f: import.meta.url,
|
|
12276
12265
|
g: "ui-input",
|
|
12266
|
+
a: (host, I) => C$1(host, I),
|
|
12277
12267
|
b: generatedInputs
|
|
12278
12268
|
};
|
|
12279
12269
|
var D$3 = {
|
|
@@ -12464,7 +12454,7 @@ var D$3 = {
|
|
|
12464
12454
|
}
|
|
12465
12455
|
}
|
|
12466
12456
|
};
|
|
12467
|
-
var C$1 = (host) =>
|
|
12457
|
+
var C$1 = (host) => activateModule(ui_input_exports, host);
|
|
12468
12458
|
function createUiInput(options = {}, html) {
|
|
12469
12459
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
12470
12460
|
const element = document.createElement("input");
|
|
@@ -12613,7 +12603,7 @@ function createUiInput(options = {}, html) {
|
|
|
12613
12603
|
v6: void 0
|
|
12614
12604
|
};
|
|
12615
12605
|
const I = { B };
|
|
12616
|
-
attachGeneratedController(element, S$3, v, ((c, d) => p0(R, c, d)),
|
|
12606
|
+
attachGeneratedController(element, S$3, v, ((c, d) => p0(R, c, d)), void 0, void 0, I);
|
|
12617
12607
|
manageProps(I);
|
|
12618
12608
|
return element;
|
|
12619
12609
|
}
|
|
@@ -13434,6 +13424,7 @@ var calloutNodeView = ({ node }) => {
|
|
|
13434
13424
|
};
|
|
13435
13425
|
//#endregion
|
|
13436
13426
|
//#region components/ui-image/ui-image.js
|
|
13427
|
+
var ui_image_exports = /* @__PURE__ */ __exportAll({ connect: () => connect });
|
|
13437
13428
|
/** Owns transient resize geometry; consumers own persistence and selection.
|
|
13438
13429
|
* @lifecycle Pointer capture ends on release, Escape, cancellation, or teardown.
|
|
13439
13430
|
* Only release commits a drag, so consumers can make it one undo operation.
|
|
@@ -13575,10 +13566,6 @@ function connect(host) {
|
|
|
13575
13566
|
document.removeEventListener("keydown", onEscape, true);
|
|
13576
13567
|
};
|
|
13577
13568
|
}
|
|
13578
|
-
/** Keep DOM setup and its cleanup tied to each connection, including reconnects. */
|
|
13579
|
-
function controller(host) {
|
|
13580
|
-
host.on("connect", () => connect(host));
|
|
13581
|
-
}
|
|
13582
13569
|
//#endregion
|
|
13583
13570
|
//#region vanilla/UiImage.js
|
|
13584
13571
|
var T0 = [
|
|
@@ -13692,6 +13679,7 @@ var S = {
|
|
|
13692
13679
|
false
|
|
13693
13680
|
] },
|
|
13694
13681
|
x: dispatchDeclared,
|
|
13682
|
+
a: (host, I) => C(host, I),
|
|
13695
13683
|
b: generatedInputs
|
|
13696
13684
|
};
|
|
13697
13685
|
var D = {
|
|
@@ -13759,7 +13747,7 @@ var D = {
|
|
|
13759
13747
|
}
|
|
13760
13748
|
}
|
|
13761
13749
|
};
|
|
13762
|
-
var C = (host) =>
|
|
13750
|
+
var C = (host) => activateModule(ui_image_exports, host);
|
|
13763
13751
|
function createUiImage(options = {}, html) {
|
|
13764
13752
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
13765
13753
|
const element = document.createElement("figure");
|
|
@@ -13872,7 +13860,7 @@ function createUiImage(options = {}, html) {
|
|
|
13872
13860
|
};
|
|
13873
13861
|
const I = { B };
|
|
13874
13862
|
const J = project(I, children, slots);
|
|
13875
|
-
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)),
|
|
13863
|
+
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), void 0, void 0, I);
|
|
13876
13864
|
manageProps(I);
|
|
13877
13865
|
I.r["frame"] = t0;
|
|
13878
13866
|
return element;
|