@threadlabs/looma 0.28.6 → 0.28.7
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-editor-block-actions/ui-editor-block-actions.html +20 -0
- package/components/ui-editor-block-actions/ui-editor-block-actions.js +14 -0
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +7 -6
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.js +2 -1
- package/components/ui-editor-link-card/ui-editor-link-card.html +57 -0
- package/components/ui-editor-link-card/ui-editor-link-card.js +27 -0
- package/dist/index.js +36 -34
- package/package.json +1 -1
- package/styles/ui-editor-block-actions.css +1 -0
- package/styles/ui-editor-link-card.css +1 -0
- package/vanilla/UiEditorBlockActions.d.ts +16 -0
- package/vanilla/UiEditorBlockActions.js +41 -0
- package/vanilla/UiEditorImageToolbar.js +1 -1
- package/vanilla/UiEditorLinkCard.d.ts +20 -0
- package/vanilla/UiEditorLinkCard.js +153 -0
- package/vanilla/index.js +2 -0
- package/vue/UiEditorBlockActions.d.ts +33 -0
- package/vue/UiEditorBlockActions.js +2 -0
- package/vue/UiEditorBlockActions.vue +125 -0
- package/vue/UiEditorImageToolbar.vue +5 -6
- package/vue/UiEditorLinkCard.d.ts +58 -0
- package/vue/UiEditorLinkCard.js +2 -0
- package/vue/UiEditorLinkCard.vue +319 -0
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorBlockActions.js +127 -0
- package/vue/chunks/UiEditorImageToolbar.js +7 -25
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +356 -0
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/chunks/_plugin-vue_export-helper.js +1 -1
- package/vue/components.css +1176 -1176
- package/vue/editor/index.js +29 -94
- package/vue/editor/primitives.d.ts +8 -2
- package/vue/index.d.ts +2 -0
- package/vue/index.js +5 -3
package/vue/editor/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createApp, defineComponent, h, nextTick, onBeforeUnmount, onMounted, reactive, ref, shallowRef, useId, watch } from "vue";
|
|
2
2
|
import { DEFAULT_MENTION_RESULT_LIMIT, LOOMA_CHIP_COLORS, LOOMA_ICONS, createLoomaMentionExtension, createLoomaSlashCommandExtension, getActiveTableUiState, getDefaultEditorExtensions, getDefaultSlashCommands, getTableOfContentsEntries, getVisualViewportRect, handleTableAction, handleTableOverlayAction, measureTableOverlayGeometry, normalizeActiveTableColumnWidths, normalizeLoomaChipColor, normalizeTableOfContentsConfig, resolveTableCellAt, siteRelativeHref } from "@threadlabs/looma/editor";
|
|
3
|
-
import { Button, Callout, Card, Checkbox, Cluster, Combobox, Disclosure, EditorImageToolbar, EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorSurface, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, FormField, Icon, IconButton, Image, Input, InputGroup, List, Menu, MenuItem, Popover, ScrollArea, SearchResultRow, Separator, Stack, Text, Tooltip } from "@threadlabs/looma/vue";
|
|
3
|
+
import { Button, Callout, Card, Checkbox, Cluster, Combobox, Disclosure, EditorBlockActions, EditorImageToolbar, EditorInsertTableGrid, EditorLinkCard, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorSurface, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, FormField, Icon, IconButton, Image, Input, InputGroup, List, Menu, MenuItem, Popover, ScrollArea, SearchResultRow, Separator, Stack, Text, Tooltip } from "@threadlabs/looma/vue";
|
|
4
4
|
import { Editor, Extension, Node as Node$1, getText, getTextSerializersFromSchema, isNodeSelection, mergeAttributes, nodeInputRule, posToDOMRect } from "@tiptap/core";
|
|
5
5
|
import { Editor as Editor$1 } from "@tiptap/vue-3";
|
|
6
6
|
import { closeHistory } from "@tiptap/pm/history";
|
|
@@ -22,7 +22,9 @@ var EDITOR_ADAPTER_COMPONENT_TAG_MAP = {
|
|
|
22
22
|
EditorTableToolbar: "ui-editor-table-toolbar",
|
|
23
23
|
EditorInsertTableGrid: "ui-editor-insert-table-grid",
|
|
24
24
|
EditorTableOverlay: "ui-editor-table-overlay",
|
|
25
|
-
EditorImageToolbar: "ui-editor-image-toolbar"
|
|
25
|
+
EditorImageToolbar: "ui-editor-image-toolbar",
|
|
26
|
+
EditorLinkCard: "ui-editor-link-card",
|
|
27
|
+
EditorBlockActions: "ui-editor-block-actions"
|
|
26
28
|
};
|
|
27
29
|
//#endregion
|
|
28
30
|
//#region src/components/shared/overlay.js
|
|
@@ -2481,7 +2483,6 @@ var LoomaEditor = defineComponent({
|
|
|
2481
2483
|
const fileInput = ref(null);
|
|
2482
2484
|
const tablePickerAnchorId = `looma-editor-table-picker-${useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
|
|
2483
2485
|
const blockActionAnchorId = `ui-block-tools-${useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
|
|
2484
|
-
let blockActionTarget = null;
|
|
2485
2486
|
const linkAnchorId = `looma-editor-link-${useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
|
|
2486
2487
|
const linkPopoverAnchorId = ref(linkAnchorId);
|
|
2487
2488
|
const linkDestinationInput = () => linkFormRoot.value?.querySelector("[data-link-destination]");
|
|
@@ -3110,96 +3111,35 @@ var LoomaEditor = defineComponent({
|
|
|
3110
3111
|
role: "alert"
|
|
3111
3112
|
}, () => linkError.value) : null
|
|
3112
3113
|
])]);
|
|
3113
|
-
const
|
|
3114
|
-
if (linkContextEditing.value) return
|
|
3114
|
+
const renderLinkContextCard = (instance) => {
|
|
3115
|
+
if (linkContextEditing.value) return h(Card, {
|
|
3116
|
+
variant: "elevated",
|
|
3117
|
+
padding: "sm",
|
|
3118
|
+
size: "sm",
|
|
3119
|
+
class: "looma-editor__link-context"
|
|
3120
|
+
}, () => [renderLinkForm()]);
|
|
3115
3121
|
const rawHref = instance.getAttributes("link").href;
|
|
3116
3122
|
const href = typeof rawHref === "string" ? rawHref : "";
|
|
3117
|
-
const safeHref = validLinkHref(href);
|
|
3118
|
-
const editId = `${toolbarScope}-link-edit`;
|
|
3119
|
-
const removeId = `${toolbarScope}-link-remove`;
|
|
3120
|
-
const openId = `${toolbarScope}-link-open`;
|
|
3121
3123
|
const target = linkContextTarget.value;
|
|
3122
|
-
return h(
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
"aria-label": `${target ? props.linkTargetLabel : "URL"}: ${target?.label ?? href}`
|
|
3133
|
-
}, () => [h(Text, {
|
|
3134
|
-
as: "strong",
|
|
3135
|
-
size: "sm",
|
|
3136
|
-
weight: "medium",
|
|
3137
|
-
font: "sans",
|
|
3138
|
-
wrap: "anywhere"
|
|
3139
|
-
}, () => target?.label ?? href), target?.detail ? h(Text, {
|
|
3140
|
-
as: "small",
|
|
3141
|
-
size: "xs",
|
|
3142
|
-
tone: "secondary",
|
|
3143
|
-
font: "sans"
|
|
3144
|
-
}, () => target.detail) : null]),
|
|
3145
|
-
safeHref ? h(Button, {
|
|
3146
|
-
id: openId,
|
|
3147
|
-
as: "a",
|
|
3148
|
-
variant: "ghost",
|
|
3149
|
-
tone: "neutral",
|
|
3150
|
-
size: "sm",
|
|
3151
|
-
href: safeHref,
|
|
3152
|
-
target: "_blank",
|
|
3153
|
-
rel: "noopener noreferrer",
|
|
3154
|
-
"aria-label": "Open link"
|
|
3155
|
-
}, () => h(Cluster, {
|
|
3156
|
-
gap: "xs",
|
|
3157
|
-
wrap: "nowrap"
|
|
3158
|
-
}, () => [loomaIcon("external-link"), "Open link"])) : null,
|
|
3159
|
-
safeHref ? h(Tooltip, { for: openId }, () => "Open link") : null,
|
|
3160
|
-
h(IconButton, {
|
|
3161
|
-
id: editId,
|
|
3162
|
-
label: "Edit link",
|
|
3163
|
-
variant: "ghost",
|
|
3164
|
-
size: "sm",
|
|
3165
|
-
onPointerdown: (event) => event.preventDefault(),
|
|
3166
|
-
onClick: () => openLinkEditor(true)
|
|
3167
|
-
}, () => loomaIcon("pencil")),
|
|
3168
|
-
h(Tooltip, { for: editId }, () => "Edit link"),
|
|
3169
|
-
h(IconButton, {
|
|
3170
|
-
id: removeId,
|
|
3171
|
-
label: "Remove link",
|
|
3172
|
-
variant: "ghost",
|
|
3173
|
-
size: "sm",
|
|
3174
|
-
onPointerdown: (event) => event.preventDefault(),
|
|
3175
|
-
onClick: removeCurrentLink
|
|
3176
|
-
}, () => loomaIcon("unlink")),
|
|
3177
|
-
h(Tooltip, { for: removeId }, () => "Remove link")
|
|
3178
|
-
]);
|
|
3179
|
-
};
|
|
3180
|
-
const renderLinkContextCard = (instance) => h(Card, {
|
|
3181
|
-
variant: "elevated",
|
|
3182
|
-
padding: linkContextEditing.value ? "sm" : "xs",
|
|
3183
|
-
size: linkContextEditing.value ? "sm" : "content",
|
|
3184
|
-
class: ["looma-editor__link-context", { "looma-editor__link-context--editing": linkContextEditing.value }]
|
|
3185
|
-
}, () => [renderLinkContext(instance)]);
|
|
3186
|
-
const captureBlockAction = () => {
|
|
3187
|
-
const instance = editor.value;
|
|
3188
|
-
const head = instance?.state.selection.$head;
|
|
3189
|
-
const position = head && head.depth > 0 ? head.before(1) : null;
|
|
3190
|
-
blockActionTarget = position === null ? null : {
|
|
3191
|
-
position,
|
|
3192
|
-
node: instance?.state.doc.nodeAt(position) ?? null
|
|
3193
|
-
};
|
|
3124
|
+
return h(EditorLinkCard, {
|
|
3125
|
+
class: "looma-editor__link-context",
|
|
3126
|
+
href,
|
|
3127
|
+
openHref: validLinkHref(href) ?? "",
|
|
3128
|
+
label: target?.label ?? "",
|
|
3129
|
+
detail: target?.detail ?? "",
|
|
3130
|
+
targetLabel: props.linkTargetLabel,
|
|
3131
|
+
onEdit: () => openLinkEditor(true),
|
|
3132
|
+
onRemove: removeCurrentLink
|
|
3133
|
+
});
|
|
3194
3134
|
};
|
|
3195
3135
|
const runBlockAction = (value) => {
|
|
3196
3136
|
const instance = editor.value;
|
|
3197
|
-
const
|
|
3198
|
-
if (!instance || !
|
|
3137
|
+
const head = instance?.state.selection.$head;
|
|
3138
|
+
if (!instance || !head || head.depth === 0 || !props.editable) return;
|
|
3199
3139
|
const { state } = instance;
|
|
3200
|
-
const
|
|
3140
|
+
const position = head.before(1);
|
|
3201
3141
|
const block = state.doc.nodeAt(position);
|
|
3202
|
-
if (!block
|
|
3142
|
+
if (!block) return;
|
|
3203
3143
|
const end = position + block.nodeSize;
|
|
3204
3144
|
const transaction = state.tr;
|
|
3205
3145
|
let focusAt = end + 1;
|
|
@@ -4323,16 +4263,11 @@ var LoomaEditor = defineComponent({
|
|
|
4323
4263
|
formatOpen.value = false;
|
|
4324
4264
|
}
|
|
4325
4265
|
}, () => instance ? renderToolbar(instance, true, false, true) : null) : null,
|
|
4326
|
-
h(
|
|
4266
|
+
h(EditorBlockActions, {
|
|
4327
4267
|
for: blockActionAnchorId,
|
|
4328
4268
|
placement: mobile.value ? "top-start" : "bottom-start",
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
}, () => [
|
|
4332
|
-
h(MenuItem, { value: "insert-below" }, () => "Insert paragraph below"),
|
|
4333
|
-
h(MenuItem, { value: "duplicate" }, () => "Duplicate block"),
|
|
4334
|
-
h(MenuItem, { value: "delete" }, () => "Delete block")
|
|
4335
|
-
]),
|
|
4269
|
+
onAction: (event) => runBlockAction(event.detail.action)
|
|
4270
|
+
}),
|
|
4336
4271
|
h(Popover, {
|
|
4337
4272
|
class: "looma-editor__table-picker-popover",
|
|
4338
4273
|
open: tablePickerOpen.value,
|
|
@@ -4462,4 +4397,4 @@ var LoomaEditor = defineComponent({
|
|
|
4462
4397
|
}
|
|
4463
4398
|
});
|
|
4464
4399
|
//#endregion
|
|
4465
|
-
export { EDITOR_ADAPTER_COMPONENT_TAG_MAP, EditorImageToolbar, EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, LoomaEditor };
|
|
4400
|
+
export { EDITOR_ADAPTER_COMPONENT_TAG_MAP, EditorBlockActions, EditorImageToolbar, EditorInsertTableGrid, EditorLinkCard, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, LoomaEditor };
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* `@threadlabs/looma/vue`, re-exported beside the editor that composes them.
|
|
4
4
|
*/
|
|
5
5
|
import type { InsertTableEventDetail, MentionMenuHighlightEventDetail, MentionMenuSelectEventDetail, SlashMenuHighlightEventDetail, SlashMenuSelectEventDetail, TableContextMenuActionEventDetail } from "@threadlabs/looma/editor";
|
|
6
|
-
export { EditorImageToolbar, EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, } from "@threadlabs/looma/vue";
|
|
6
|
+
export { EditorBlockActions, EditorImageToolbar, EditorInsertTableGrid, EditorLinkCard, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, } from "@threadlabs/looma/vue";
|
|
7
7
|
/** The editor components' event details, by event name. */
|
|
8
8
|
export interface VueEditorAdapterEventMap {
|
|
9
9
|
highlight: MentionMenuHighlightEventDetail | SlashMenuHighlightEventDetail;
|
|
10
10
|
select: MentionMenuSelectEventDetail | SlashMenuSelectEventDetail;
|
|
11
|
-
action: TableContextMenuActionEventDetail
|
|
11
|
+
action: TableContextMenuActionEventDetail | {
|
|
12
|
+
action: "insert-below" | "duplicate" | "delete";
|
|
13
|
+
};
|
|
12
14
|
insert: InsertTableEventDetail;
|
|
13
15
|
placement: {
|
|
14
16
|
placement: "block" | "center" | "wrap-left" | "wrap-right";
|
|
@@ -17,6 +19,8 @@ export interface VueEditorAdapterEventMap {
|
|
|
17
19
|
alt: string;
|
|
18
20
|
};
|
|
19
21
|
delete: Record<string, never>;
|
|
22
|
+
edit: Record<string, never>;
|
|
23
|
+
remove: Record<string, never>;
|
|
20
24
|
"add-row-before": {
|
|
21
25
|
boundaryIndex: number;
|
|
22
26
|
};
|
|
@@ -81,4 +85,6 @@ export declare const EDITOR_ADAPTER_COMPONENT_TAG_MAP: {
|
|
|
81
85
|
readonly EditorInsertTableGrid: "ui-editor-insert-table-grid";
|
|
82
86
|
readonly EditorTableOverlay: "ui-editor-table-overlay";
|
|
83
87
|
readonly EditorImageToolbar: "ui-editor-image-toolbar";
|
|
88
|
+
readonly EditorLinkCard: "ui-editor-link-card";
|
|
89
|
+
readonly EditorBlockActions: "ui-editor-block-actions";
|
|
84
90
|
};
|
package/vue/index.d.ts
CHANGED
|
@@ -19,8 +19,10 @@ export { default as DescriptionList } from "./UiDescriptionList.js";
|
|
|
19
19
|
export { default as Dialog } from "./UiDialog.js";
|
|
20
20
|
export { default as Disclosure } from "./UiDisclosure.js";
|
|
21
21
|
export { default as Editable } from "./UiEditable.js";
|
|
22
|
+
export { default as EditorBlockActions } from "./UiEditorBlockActions.js";
|
|
22
23
|
export { default as EditorImageToolbar } from "./UiEditorImageToolbar.js";
|
|
23
24
|
export { default as EditorInsertTableGrid } from "./UiEditorInsertTableGrid.js";
|
|
25
|
+
export { default as EditorLinkCard } from "./UiEditorLinkCard.js";
|
|
24
26
|
export { default as EditorMentionMenu } from "./UiEditorMentionMenu.js";
|
|
25
27
|
export { default as EditorMentionMenuItem } from "./UiEditorMentionMenuItem.js";
|
|
26
28
|
export { default as EditorSlashMenu } from "./UiEditorSlashMenu.js";
|
package/vue/index.js
CHANGED
|
@@ -23,6 +23,9 @@ import { t as UiScrollArea_default } from "./chunks/UiScrollArea.js";
|
|
|
23
23
|
import { t as UiDialog_default } from "./chunks/UiDialog.js";
|
|
24
24
|
import { t as UiDisclosure_default } from "./chunks/UiDisclosure.js";
|
|
25
25
|
import { t as UiEditable_default } from "./chunks/UiEditable.js";
|
|
26
|
+
import { t as UiMenu_default } from "./chunks/UiMenu.js";
|
|
27
|
+
import { t as UiMenuItem_default } from "./chunks/UiMenuItem.js";
|
|
28
|
+
import { t as UiEditorBlockActions_default } from "./chunks/UiEditorBlockActions.js";
|
|
26
29
|
import { t as UiEditorToolbar_default } from "./chunks/UiEditorToolbar.js";
|
|
27
30
|
import { t as UiFormField_default } from "./chunks/UiFormField.js";
|
|
28
31
|
import { t as UiIconButton_default } from "./chunks/UiIconButton.js";
|
|
@@ -32,6 +35,7 @@ import { t as UiStack_default } from "./chunks/UiStack.js";
|
|
|
32
35
|
import { t as UiText_default } from "./chunks/UiText.js";
|
|
33
36
|
import { t as UiEditorImageToolbar_default } from "./chunks/UiEditorImageToolbar.js";
|
|
34
37
|
import { t as UiEditorInsertTableGrid_default } from "./chunks/UiEditorInsertTableGrid.js";
|
|
38
|
+
import { t as UiEditorLinkCard_default } from "./chunks/UiEditorLinkCard.js";
|
|
35
39
|
import { t as UiEditorMentionMenu_default } from "./chunks/UiEditorMentionMenu.js";
|
|
36
40
|
import { t as UiEditorMentionMenuItem_default } from "./chunks/UiEditorMentionMenuItem.js";
|
|
37
41
|
import { t as UiEditorSlashMenu_default } from "./chunks/UiEditorSlashMenu.js";
|
|
@@ -48,9 +52,7 @@ import { t as UiInputGroup_default } from "./chunks/UiInputGroup.js";
|
|
|
48
52
|
import { t as UiList_default } from "./chunks/UiList.js";
|
|
49
53
|
import { t as UiListItem_default } from "./chunks/UiListItem.js";
|
|
50
54
|
import { t as UiListbox_default } from "./chunks/UiListbox.js";
|
|
51
|
-
import { t as UiMenu_default } from "./chunks/UiMenu.js";
|
|
52
55
|
import { t as UiMenuGroup_default } from "./chunks/UiMenuGroup.js";
|
|
53
|
-
import { t as UiMenuItem_default } from "./chunks/UiMenuItem.js";
|
|
54
56
|
import { t as UiMeter_default } from "./chunks/UiMeter.js";
|
|
55
57
|
import { t as UiNavItem_default } from "./chunks/UiNavItem.js";
|
|
56
58
|
import { t as UiPageHeader_default } from "./chunks/UiPageHeader.js";
|
|
@@ -75,4 +77,4 @@ import { t as UiTopBar_default } from "./chunks/UiTopBar.js";
|
|
|
75
77
|
import { t as UiTree_default } from "./chunks/UiTree.js";
|
|
76
78
|
import { t as UiTreeItem_default } from "./chunks/UiTreeItem.js";
|
|
77
79
|
import { trackInputModality } from "@threadlabs/looma/components/shared/input-modality.js";
|
|
78
|
-
export { UiActionBar_default as ActionBar, UiAffordanceScope_default as AffordanceScope, UiAvatar_default as Avatar, UiAvatarGroup_default as AvatarGroup, UiBadge_default as Badge, UiBreadcrumbItem_default as BreadcrumbItem, UiBreadcrumbs_default as Breadcrumbs, UiButton_default as Button, UiCallout_default as Callout, UiCard_default as Card, UiCheckbox_default as Checkbox, UiCluster_default as Cluster, UiCombobox_default as Combobox, UiContainer_default as Container, UiContextMenu_default as ContextMenu, UiCover_default as Cover, UiDescriptionItem_default as DescriptionItem, UiDescriptionList_default as DescriptionList, UiDialog_default as Dialog, UiDisclosure_default as Disclosure, UiEditable_default as Editable, UiEditorImageToolbar_default as EditorImageToolbar, UiEditorInsertTableGrid_default as EditorInsertTableGrid, UiEditorMentionMenu_default as EditorMentionMenu, UiEditorMentionMenuItem_default as EditorMentionMenuItem, UiEditorSlashMenu_default as EditorSlashMenu, UiEditorSlashMenuGroup_default as EditorSlashMenuGroup, UiEditorSlashMenuItem_default as EditorSlashMenuItem, UiEditorSurface_default as EditorSurface, UiEditorTableContextMenu_default as EditorTableContextMenu, UiEditorTableOverlay_default as EditorTableOverlay, UiEditorTableToolbar_default as EditorTableToolbar, UiEditorToolbar_default as EditorToolbar, UiFloatingActionButton_default as FloatingActionButton, UiFormField_default as FormField, UiGrid_default as Grid, UiIcon_default as Icon, UiIconButton_default as IconButton, UiImage_default as Image, UiInput_default as Input, UiInputGroup_default as InputGroup, UiList_default as List, UiListItem_default as ListItem, UiListbox_default as Listbox, UiMenu_default as Menu, UiMenuGroup_default as MenuGroup, UiMenuItem_default as MenuItem, UiMeter_default as Meter, UiNavItem_default as NavItem, UiPageHeader_default as PageHeader, UiPopover_default as Popover, UiRadio_default as Radio, UiRadioGroup_default as RadioGroup, UiReel_default as Reel, UiScrollArea_default as ScrollArea, UiSearchResultRow_default as SearchResultRow, UiSearchShell_default as SearchShell, UiSection_default as Section, UiSelect_default as Select, UiSeparator_default as Separator, UiSidebar_default as Sidebar, UiSpinner_default as Spinner, UiStack_default as Stack, UiStatusMessage_default as StatusMessage, UiSwitch_default as Switch, UiSwitcher_default as Switcher, UiTable_default as Table, UiTabs_default as Tabs, UiText_default as Text, UiTextarea_default as Textarea, UiToast_default as Toast, UiToastRegion_default as ToastRegion, UiTooltip_default as Tooltip, UiTopBar_default as TopBar, UiTree_default as Tree, UiTreeItem_default as TreeItem, trackInputModality };
|
|
80
|
+
export { UiActionBar_default as ActionBar, UiAffordanceScope_default as AffordanceScope, UiAvatar_default as Avatar, UiAvatarGroup_default as AvatarGroup, UiBadge_default as Badge, UiBreadcrumbItem_default as BreadcrumbItem, UiBreadcrumbs_default as Breadcrumbs, UiButton_default as Button, UiCallout_default as Callout, UiCard_default as Card, UiCheckbox_default as Checkbox, UiCluster_default as Cluster, UiCombobox_default as Combobox, UiContainer_default as Container, UiContextMenu_default as ContextMenu, UiCover_default as Cover, UiDescriptionItem_default as DescriptionItem, UiDescriptionList_default as DescriptionList, UiDialog_default as Dialog, UiDisclosure_default as Disclosure, UiEditable_default as Editable, UiEditorBlockActions_default as EditorBlockActions, UiEditorImageToolbar_default as EditorImageToolbar, UiEditorInsertTableGrid_default as EditorInsertTableGrid, UiEditorLinkCard_default as EditorLinkCard, UiEditorMentionMenu_default as EditorMentionMenu, UiEditorMentionMenuItem_default as EditorMentionMenuItem, UiEditorSlashMenu_default as EditorSlashMenu, UiEditorSlashMenuGroup_default as EditorSlashMenuGroup, UiEditorSlashMenuItem_default as EditorSlashMenuItem, UiEditorSurface_default as EditorSurface, UiEditorTableContextMenu_default as EditorTableContextMenu, UiEditorTableOverlay_default as EditorTableOverlay, UiEditorTableToolbar_default as EditorTableToolbar, UiEditorToolbar_default as EditorToolbar, UiFloatingActionButton_default as FloatingActionButton, UiFormField_default as FormField, UiGrid_default as Grid, UiIcon_default as Icon, UiIconButton_default as IconButton, UiImage_default as Image, UiInput_default as Input, UiInputGroup_default as InputGroup, UiList_default as List, UiListItem_default as ListItem, UiListbox_default as Listbox, UiMenu_default as Menu, UiMenuGroup_default as MenuGroup, UiMenuItem_default as MenuItem, UiMeter_default as Meter, UiNavItem_default as NavItem, UiPageHeader_default as PageHeader, UiPopover_default as Popover, UiRadio_default as Radio, UiRadioGroup_default as RadioGroup, UiReel_default as Reel, UiScrollArea_default as ScrollArea, UiSearchResultRow_default as SearchResultRow, UiSearchShell_default as SearchShell, UiSection_default as Section, UiSelect_default as Select, UiSeparator_default as Separator, UiSidebar_default as Sidebar, UiSpinner_default as Spinner, UiStack_default as Stack, UiStatusMessage_default as StatusMessage, UiSwitch_default as Switch, UiSwitcher_default as Switcher, UiTable_default as Table, UiTabs_default as Tabs, UiText_default as Text, UiTextarea_default as Textarea, UiToast_default as Toast, UiToastRegion_default as ToastRegion, UiTooltip_default as Tooltip, UiTopBar_default as TopBar, UiTree_default as Tree, UiTreeItem_default as TreeItem, trackInputModality };
|