@crewlethq/ui 0.45.0 → 0.46.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/README.md +22 -0
- package/dist/AgentHandoffPanel/index.js +6 -3
- package/dist/AppShell/index.js +3 -3
- package/dist/ArrangeList/index.js +5 -3
- package/dist/ArtifactBar/index.js +5 -5
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/Canvas/index.js +1 -1
- package/dist/CanvasBoard/index.js +1 -1
- package/dist/CanvasToolbar/index.js +1 -1
- package/dist/CatalogTile/index.js +1 -1
- package/dist/{CatalogTile-VPSLCKJE.css → CatalogTile-26XN7L2A.css} +13 -7
- package/dist/CharacterCount/CharacterCount.d.ts +63 -0
- package/dist/CharacterCount/index.d.ts +3 -0
- package/dist/CharacterCount/index.js +4 -0
- package/dist/CharacterCount-S735DICR.css +29 -0
- package/dist/Checkbox/index.js +5 -2
- package/dist/Combobox/index.js +5 -3
- package/dist/CommandPalette/index.js +6 -4
- package/dist/CommentThread/index.js +6 -3
- package/dist/Composer/index.js +5 -2
- package/dist/ConfirmField/index.js +5 -2
- package/dist/DataTable/index.js +8 -6
- package/dist/DataView/index.js +9 -7
- package/dist/DateTimePicker/index.js +1 -1
- package/dist/DocTabsEditor/index.js +5 -4
- package/dist/EditingStatus/index.js +2 -1
- package/dist/{Editor-AMO2B54T.js → Editor-6FXHMW64.js} +6 -4
- package/dist/FollowBanner/index.js +2 -2
- package/dist/HuePicker/index.js +5 -5
- package/dist/InlineEditor/InlineEditor.d.ts +86 -0
- package/dist/InlineEditor/index.d.ts +3 -0
- package/dist/InlineEditor/index.js +9 -0
- package/dist/InlineEditor-W55DDKML.css +72 -0
- package/dist/Input/FormField.d.ts +18 -1
- package/dist/Input/Textarea.d.ts +16 -0
- package/dist/Input/index.d.ts +2 -2
- package/dist/Input/index.js +4 -1
- package/dist/{Input-OQZBCRX5.css → Input-VDSV7VWJ.css} +19 -0
- package/dist/LinkInterstitial/index.js +3 -3
- package/dist/List/List.d.ts +16 -1
- package/dist/List/index.js +1 -1
- package/dist/{List-YHLIZFK4.css → List-XY445TKY.css} +31 -0
- package/dist/ListInput/ListInput.d.ts +87 -2
- package/dist/ListInput/index.d.ts +2 -2
- package/dist/ListInput/index.js +5 -2
- package/dist/{ListInput-O7LJKOIG.css → ListInput-DP2CSJ22.css} +118 -2
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/Menu/index.js +2 -2
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/Modal/index.js +2 -2
- package/dist/PresenterView/index.js +3 -3
- package/dist/PrincipalPicker/index.js +6 -4
- package/dist/RelatedRow/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/Select/index.js +1 -1
- package/dist/ShareDialog/index.js +3 -3
- package/dist/SheetColumnEditor/index.js +10 -8
- package/dist/SheetGrid/index.js +4 -4
- package/dist/SlideCompare/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +3 -3
- package/dist/Switcher/index.js +5 -4
- package/dist/Tabs/index.js +3 -3
- package/dist/Text/Text.d.ts +8 -0
- package/dist/Text/index.js +1 -1
- package/dist/{Text-S3Q4O3IG.css → Text-XOCOU34C.css} +9 -0
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/TileGrid/index.js +1 -1
- package/dist/{TileGrid-I6LNYD2H.css → TileGrid-UYMVVVJK.css} +30 -0
- package/dist/TimeWindowPicker/index.js +5 -3
- package/dist/TreeCanvas/index.js +1 -1
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-5AHDGYKN.js → chunk-2KQR6JKE.js} +2 -2
- package/dist/{chunk-AGNZIT3Z.js → chunk-2LPNWAN6.js} +1 -1
- package/dist/{chunk-MVGCZ655.js → chunk-2UVMIM2J.js} +1 -1
- package/dist/{chunk-NF6SWHQI.js → chunk-32MTQ6DN.js} +2 -2
- package/dist/{chunk-QOP7QYUW.js → chunk-34RMTXDZ.js} +1 -1
- package/dist/{chunk-Q7HLZH32.js → chunk-3QSKDZR5.js} +1 -1
- package/dist/{chunk-BVFMLSE3.js → chunk-5EBDOE3C.js} +1 -1
- package/dist/{chunk-BF5WV7NM.js → chunk-6FVGSWLS.js} +1 -1
- package/dist/chunk-7P336RA5.js +147 -0
- package/dist/{chunk-KKUJSMLF.js → chunk-DY4DQ7EB.js} +1 -1
- package/dist/{chunk-4DIKLY53.js → chunk-HBSR5DL6.js} +1 -1
- package/dist/{chunk-KA75QPFM.js → chunk-ILFEWRLG.js} +1 -1
- package/dist/{chunk-Y4GXCKOC.js → chunk-KOJKX3U6.js} +3 -3
- package/dist/{chunk-FG243QHY.js → chunk-KZDMAQNJ.js} +1 -1
- package/dist/{chunk-TC7DJTXI.js → chunk-MULOZYHL.js} +2 -0
- package/dist/{chunk-ZUTUI27P.js → chunk-N4GBDK4L.js} +1 -1
- package/dist/{chunk-7CXGSS7D.js → chunk-O6H5XXVK.js} +1 -1
- package/dist/{chunk-GI3S6RMM.js → chunk-PWZT6CZY.js} +3 -3
- package/dist/{chunk-NNTO3TNC.js → chunk-Q6CQMS6R.js} +1 -1
- package/dist/{chunk-IKBK4A5O.js → chunk-QP2P6GDQ.js} +1 -1
- package/dist/{chunk-W53CWWX3.js → chunk-RCKRJXFV.js} +2 -2
- package/dist/{chunk-U44WGRFW.js → chunk-RFPCHMSX.js} +1 -1
- package/dist/{chunk-X6IJ7DAX.js → chunk-RL75QTNT.js} +2 -2
- package/dist/{chunk-N3SHQ3VU.js → chunk-RRPQMMCZ.js} +1 -1
- package/dist/{chunk-EY7LACIR.js → chunk-RWET7W22.js} +1 -1
- package/dist/{chunk-JF3TJUBU.js → chunk-RWWLVDRE.js} +1 -1
- package/dist/{chunk-LSRQJDGR.js → chunk-SEPSXOGJ.js} +1 -1
- package/dist/{chunk-MCOC3KQA.js → chunk-SQ4JFHO7.js} +1 -1
- package/dist/chunk-SQZEVWVC.js +436 -0
- package/dist/{chunk-DL5ERIFF.js → chunk-SS4XCUUJ.js} +2 -2
- package/dist/{chunk-GPIRKHGS.js → chunk-T7DXSFUX.js} +1 -1
- package/dist/{chunk-NZWX27J7.js → chunk-TDQ262TB.js} +19 -3
- package/dist/{chunk-5GNA4RKP.js → chunk-TGSIVB6H.js} +1 -1
- package/dist/{chunk-UO5VJHWP.js → chunk-U4HOKU6P.js} +2 -2
- package/dist/chunk-XCUUI7E7.js +62 -0
- package/dist/{chunk-ENHLVF6Q.js → chunk-XS2FJVMT.js} +1 -1
- package/dist/{chunk-FV6H7H5I.js → chunk-YBJVIY5E.js} +4 -4
- package/dist/{chunk-6MAQ2SVP.js → chunk-YR3ZURBM.js} +3 -3
- package/dist/{chunk-ZI5G5RS7.js → chunk-Z734SV4E.js} +55 -8
- package/dist/{chunk-OWIGEE2Y.js → chunk-ZZCCNVF3.js} +3 -3
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +78 -76
- package/dist/index.js +78 -76
- package/dist/styles.css +333 -15
- package/package.json +3 -3
- package/dist/chunk-NMYGJJJK.js +0 -263
- package/dist/{chunk-6IPEPSB5.js → chunk-245IXG5P.js} +0 -0
- package/dist/{chunk-OED6LUWE.js → chunk-4A4QG6UC.js} +1 -1
- package/dist/{chunk-FYINAYAJ.js → chunk-6AKG2VLR.js} +1 -1
- package/dist/{chunk-E6HXFFWO.js → chunk-ISDEXIXH.js} +1 -1
- package/dist/{chunk-PCI7ZJ6Z.js → chunk-TMM32U7D.js} +1 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { EditingStatus } from './chunk-MULOZYHL.js';
|
|
2
|
+
import { Kbd } from './chunk-SMBKXWML.js';
|
|
3
|
+
import { Button } from './chunk-OG6CL3EB.js';
|
|
4
|
+
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
5
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
|
+
import './InlineEditor-W55DDKML.css';
|
|
7
|
+
import { useRef, useLayoutEffect } from 'react';
|
|
8
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
var INLINE_EDITOR_LABELS = {
|
|
11
|
+
save: "Save",
|
|
12
|
+
cancel: "Cancel",
|
|
13
|
+
unchanged: "Nothing has changed yet.",
|
|
14
|
+
invalid: "Fix the highlighted field first.",
|
|
15
|
+
saving: "Saving. Wait for it to finish.",
|
|
16
|
+
shortcut: "to save"
|
|
17
|
+
};
|
|
18
|
+
function firstField(root) {
|
|
19
|
+
return root.querySelector(
|
|
20
|
+
'textarea:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), [contenteditable="true"]'
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
function InlineEditor({
|
|
24
|
+
label,
|
|
25
|
+
children,
|
|
26
|
+
onSave,
|
|
27
|
+
onCancel,
|
|
28
|
+
dirty,
|
|
29
|
+
saving = false,
|
|
30
|
+
invalid = false,
|
|
31
|
+
error,
|
|
32
|
+
notice,
|
|
33
|
+
focusOnMount = true,
|
|
34
|
+
shortcutHint = true,
|
|
35
|
+
secondaryActions,
|
|
36
|
+
labels: overrides,
|
|
37
|
+
className,
|
|
38
|
+
onKeyDown,
|
|
39
|
+
...rest
|
|
40
|
+
}) {
|
|
41
|
+
const labels = { ...INLINE_EDITOR_LABELS, ...overrides };
|
|
42
|
+
const form = useRef(null);
|
|
43
|
+
const focusAtMount = useRef(focusOnMount);
|
|
44
|
+
useLayoutEffect(() => {
|
|
45
|
+
if (!focusAtMount.current || !form.current) return;
|
|
46
|
+
const field = firstField(form.current);
|
|
47
|
+
if (!field) return;
|
|
48
|
+
field.focus();
|
|
49
|
+
if (field instanceof HTMLTextAreaElement || field instanceof HTMLInputElement) {
|
|
50
|
+
const end = field.value.length;
|
|
51
|
+
try {
|
|
52
|
+
field.setSelectionRange(end, end);
|
|
53
|
+
} catch {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}, []);
|
|
57
|
+
const blocked = saving ? labels.saving : invalid ? labels.invalid : !dirty ? labels.unchanged : null;
|
|
58
|
+
const save = () => {
|
|
59
|
+
if (blocked === null) onSave();
|
|
60
|
+
};
|
|
61
|
+
const submit = (event) => {
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
save();
|
|
64
|
+
};
|
|
65
|
+
const keys = (event) => {
|
|
66
|
+
onKeyDown?.(event);
|
|
67
|
+
if (event.defaultPrevented || isComposing(event)) return;
|
|
68
|
+
if (event.key === "Escape") {
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
if (!saving) onCancel();
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (event.key !== "Enter") return;
|
|
74
|
+
if ((event.metaKey || event.ctrlKey) && !event.altKey) {
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
save();
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (event.target instanceof HTMLInputElement) event.preventDefault();
|
|
80
|
+
};
|
|
81
|
+
return (
|
|
82
|
+
/*
|
|
83
|
+
* THE FORM LISTENS FOR ITS TWO KEYS, as React's own handler rather than a
|
|
84
|
+
* native one, because React's runs after every handler inside it: that is
|
|
85
|
+
* what lets an open menu's Escape close the menu and stop there. A
|
|
86
|
+
* native listener on the form would hear the key first, before anything
|
|
87
|
+
* inside had the chance to claim it.
|
|
88
|
+
*/
|
|
89
|
+
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- see above
|
|
90
|
+
/* @__PURE__ */ jsxs(
|
|
91
|
+
"form",
|
|
92
|
+
{
|
|
93
|
+
...rest,
|
|
94
|
+
ref: form,
|
|
95
|
+
"aria-label": label,
|
|
96
|
+
"aria-busy": saving || void 0,
|
|
97
|
+
noValidate: true,
|
|
98
|
+
className: cx("crewlet-inline-editor", className),
|
|
99
|
+
onSubmit: submit,
|
|
100
|
+
onKeyDown: keys,
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ jsx("div", { className: "crewlet-inline-editor__fields", children }),
|
|
103
|
+
notice ? /* @__PURE__ */ jsx("div", { className: "crewlet-inline-editor__notice", children: notice }) : null,
|
|
104
|
+
error ? /* @__PURE__ */ jsx("div", { className: "crewlet-inline-editor__error", role: "alert", children: error }) : null,
|
|
105
|
+
/* @__PURE__ */ jsxs("div", { className: "crewlet-inline-editor__bar", children: [
|
|
106
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-inline-editor__start", children: [
|
|
107
|
+
/* @__PURE__ */ jsx(EditingStatus, { dirty, saving, labels: labels.status }),
|
|
108
|
+
secondaryActions
|
|
109
|
+
] }),
|
|
110
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-inline-editor__end", children: [
|
|
111
|
+
shortcutHint ? /* @__PURE__ */ jsxs("span", { className: "crewlet-inline-editor__hint", children: [
|
|
112
|
+
/* @__PURE__ */ jsx(Kbd, { keys: ["Mod", "Enter"], subtle: true }),
|
|
113
|
+
" ",
|
|
114
|
+
labels.shortcut
|
|
115
|
+
] }) : null,
|
|
116
|
+
/* @__PURE__ */ jsx(
|
|
117
|
+
Button,
|
|
118
|
+
{
|
|
119
|
+
size: "small",
|
|
120
|
+
variant: "ghost",
|
|
121
|
+
...saving ? { disabledReason: labels.saving } : {},
|
|
122
|
+
onClick: () => {
|
|
123
|
+
if (!saving) onCancel();
|
|
124
|
+
},
|
|
125
|
+
children: labels.cancel
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
/* @__PURE__ */ jsx(
|
|
129
|
+
Button,
|
|
130
|
+
{
|
|
131
|
+
size: "small",
|
|
132
|
+
variant: "primary",
|
|
133
|
+
type: "submit",
|
|
134
|
+
loading: saving,
|
|
135
|
+
...blocked !== null && !saving ? { disabledReason: blocked } : {},
|
|
136
|
+
children: labels.save
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
] })
|
|
140
|
+
] })
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export { INLINE_EDITOR_LABELS, InlineEditor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InlineCode } from './chunk-5CLW2CXT.js';
|
|
2
|
-
import { ConfirmModal } from './chunk-
|
|
2
|
+
import { ConfirmModal } from './chunk-6AKG2VLR.js';
|
|
3
3
|
import { Callout } from './chunk-SZZRIHGT.js';
|
|
4
4
|
import './LinkInterstitial-ET4MSVSV.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
2
2
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
3
3
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-TMM32U7D.js';
|
|
5
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-HOXGBLEY.js';
|
|
2
2
|
import { DateTimePicker } from './chunk-UFXLNC2N.js';
|
|
3
|
-
import { DataTable } from './chunk-
|
|
3
|
+
import { DataTable } from './chunk-PWZT6CZY.js';
|
|
4
4
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
5
5
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
6
6
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
7
7
|
import { RelativeTime } from './chunk-3CZ7XAVY.js';
|
|
8
|
-
import { Input } from './chunk-
|
|
8
|
+
import { Input } from './chunk-Z734SV4E.js';
|
|
9
9
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
10
10
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
11
|
-
import { Menu } from './chunk-
|
|
11
|
+
import { Menu } from './chunk-TMM32U7D.js';
|
|
12
12
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
13
13
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
14
14
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
1
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
3
|
import './EditingStatus-NNA2CKIL.css';
|
|
3
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -19,6 +20,7 @@ function EditingStatus({ dirty, saving = false, labels, className }) {
|
|
|
19
20
|
children: [
|
|
20
21
|
/* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__dot", "aria-hidden": "true" }),
|
|
21
22
|
/* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__label", children: text.editing }),
|
|
23
|
+
state && /* @__PURE__ */ jsx(VisuallyHidden, { children: ", " }),
|
|
22
24
|
state && /* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__state", children: state })
|
|
23
25
|
]
|
|
24
26
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Modal } from './chunk-
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
2
|
+
import { Modal } from './chunk-6AKG2VLR.js';
|
|
3
|
+
import { Checkbox } from './chunk-RWET7W22.js';
|
|
4
4
|
import { EmptyValue } from './chunk-EUCC37WY.js';
|
|
5
5
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
6
|
-
import { Menu } from './chunk-
|
|
6
|
+
import { Menu } from './chunk-TMM32U7D.js';
|
|
7
7
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
8
8
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Input } from './chunk-Z734SV4E.js';
|
|
3
|
+
import { Menu } from './chunk-TMM32U7D.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-BVWSLXTY.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-6FVGSWLS.js';
|
|
3
3
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Select } from './chunk-XQZ6EWOE.js';
|
|
2
2
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
3
3
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-GXQ3B46I.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
5
|
-
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
4
|
+
import { Input } from './chunk-Z734SV4E.js';
|
|
6
5
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
6
|
+
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
7
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
8
8
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Timeline } from './chunk-AUQPBL4O.js';
|
|
2
2
|
import { Section } from './chunk-JQ7IFSF6.js';
|
|
3
3
|
import { Disclosure } from './chunk-OGXHZHRX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-O6H5XXVK.js';
|
|
5
5
|
import { ArtifactPanel } from './chunk-NBDN5JZV.js';
|
|
6
6
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-6FXHMW64.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-6FVGSWLS.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-RMEBFYL7.js';
|
|
2
2
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
3
3
|
import { Kbd, isApplePlatform } from './chunk-SMBKXWML.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-TMM32U7D.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './SlideFilmstrip-PAT7P4OG.css';
|