@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
package/dist/chunk-NMYGJJJK.js
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { FormField, Textarea, Input } from './chunk-ZI5G5RS7.js';
|
|
2
|
-
import { Kbd } from './chunk-SMBKXWML.js';
|
|
3
|
-
import { announce } from './chunk-RSAQOKH3.js';
|
|
4
|
-
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
5
|
-
import { IconButton } from './chunk-LACA4JGC.js';
|
|
6
|
-
import './ListInput-O7LJKOIG.css';
|
|
7
|
-
import { useState, useRef, useLayoutEffect } from 'react';
|
|
8
|
-
import { ArrowUpGlyph, ArrowDownGlyph, XGlyph, PlusGlyph } from '@crewlethq/icons/glyphs';
|
|
9
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
|
-
|
|
11
|
-
var minted = 0;
|
|
12
|
-
var mint = () => `item-${minted += 1}`;
|
|
13
|
-
var capitalized = (text) => text.charAt(0).toLocaleUpperCase() + text.slice(1);
|
|
14
|
-
function ListInput({
|
|
15
|
-
label,
|
|
16
|
-
itemName,
|
|
17
|
-
value,
|
|
18
|
-
onChange,
|
|
19
|
-
multiline = false,
|
|
20
|
-
helper,
|
|
21
|
-
helperOnFocus,
|
|
22
|
-
error,
|
|
23
|
-
placeholder,
|
|
24
|
-
disabled = false,
|
|
25
|
-
optional,
|
|
26
|
-
enterHint = true,
|
|
27
|
-
focusOnMount = false,
|
|
28
|
-
addLabel = (name) => `Add ${name}`,
|
|
29
|
-
itemLabel = (name, position) => `${name} ${position}`,
|
|
30
|
-
newItemLabel = (name) => `New ${name}`,
|
|
31
|
-
moveUpLabel = (name, position) => `Move ${name} ${position} up`,
|
|
32
|
-
moveDownLabel = (name, position) => `Move ${name} ${position} down`,
|
|
33
|
-
removeLabel = (name, position) => `Remove ${name} ${position}`,
|
|
34
|
-
addedMessage = (name, position) => `Added ${name} ${position}`,
|
|
35
|
-
removedMessage = (name, position) => `Removed ${name} ${position}`,
|
|
36
|
-
movedMessage = (name, position, count) => `Moved ${name} to position ${position} of ${count}`
|
|
37
|
-
}) {
|
|
38
|
-
const [draft, setDraft] = useState("");
|
|
39
|
-
const ids = useRef([]);
|
|
40
|
-
const emitted = useRef(null);
|
|
41
|
-
if (value !== emitted.current && value.length !== ids.current.length) {
|
|
42
|
-
ids.current = value.map(mint);
|
|
43
|
-
}
|
|
44
|
-
const inputs = useRef(/* @__PURE__ */ new Map());
|
|
45
|
-
const ups = useRef(/* @__PURE__ */ new Map());
|
|
46
|
-
const downs = useRef(/* @__PURE__ */ new Map());
|
|
47
|
-
const addBox = useRef(null);
|
|
48
|
-
const focusNext = useRef(null);
|
|
49
|
-
const focusAtMount = useRef(focusOnMount);
|
|
50
|
-
useLayoutEffect(() => {
|
|
51
|
-
if (focusAtMount.current) addBox.current?.focus();
|
|
52
|
-
}, []);
|
|
53
|
-
useLayoutEffect(() => {
|
|
54
|
-
const want = focusNext.current;
|
|
55
|
-
if (!want) return;
|
|
56
|
-
focusNext.current = null;
|
|
57
|
-
if (want.target === "add") {
|
|
58
|
-
addBox.current?.focus();
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const up = ups.current.get(want.id);
|
|
62
|
-
const down = downs.current.get(want.id);
|
|
63
|
-
const box = inputs.current.get(want.id);
|
|
64
|
-
const order = want.target === "up" ? [up, down, box] : want.target === "down" ? [down, up, box] : [box];
|
|
65
|
-
order.find((el) => el && !el.disabled)?.focus();
|
|
66
|
-
});
|
|
67
|
-
function emit(next, nextIds, said) {
|
|
68
|
-
ids.current = nextIds;
|
|
69
|
-
emitted.current = next;
|
|
70
|
-
onChange(next);
|
|
71
|
-
if (said) announce(said);
|
|
72
|
-
}
|
|
73
|
-
const name = capitalized(itemName);
|
|
74
|
-
const count = value.length;
|
|
75
|
-
function add() {
|
|
76
|
-
const text = draft.trim();
|
|
77
|
-
if (!text || disabled) return;
|
|
78
|
-
emit(
|
|
79
|
-
[...value, text],
|
|
80
|
-
[...ids.current, mint()],
|
|
81
|
-
addedMessage(itemName, `${count + 1} of ${count + 1}`)
|
|
82
|
-
);
|
|
83
|
-
setDraft("");
|
|
84
|
-
focusNext.current = { id: "", target: "add" };
|
|
85
|
-
}
|
|
86
|
-
function move(index, by, target) {
|
|
87
|
-
const to = index + by;
|
|
88
|
-
if (disabled || to < 0 || to >= count) return;
|
|
89
|
-
const next = [...value];
|
|
90
|
-
const nextIds = [...ids.current];
|
|
91
|
-
[next[index], next[to]] = [next[to], next[index]];
|
|
92
|
-
[nextIds[index], nextIds[to]] = [nextIds[to], nextIds[index]];
|
|
93
|
-
focusNext.current = { id: nextIds[to], target };
|
|
94
|
-
emit(next, nextIds, movedMessage(itemName, to + 1, count));
|
|
95
|
-
}
|
|
96
|
-
function remove(index) {
|
|
97
|
-
if (disabled) return;
|
|
98
|
-
const next = value.filter((_, at) => at !== index);
|
|
99
|
-
const nextIds = ids.current.filter((_, at) => at !== index);
|
|
100
|
-
const neighbour = nextIds[index] ?? nextIds[index - 1];
|
|
101
|
-
focusNext.current = neighbour ? { id: neighbour, target: "input" } : { id: "", target: "add" };
|
|
102
|
-
emit(next, nextIds, removedMessage(itemName, `${index + 1} of ${count}`));
|
|
103
|
-
}
|
|
104
|
-
const acts = (event) => event.key === "Enter" && !(multiline && event.shiftKey) && !isComposing(event);
|
|
105
|
-
function itemKeys(event, index) {
|
|
106
|
-
if (isComposing(event)) return;
|
|
107
|
-
if (event.altKey && (event.key === "ArrowUp" || event.key === "ArrowDown")) {
|
|
108
|
-
event.preventDefault();
|
|
109
|
-
move(index, event.key === "ArrowUp" ? -1 : 1, "input");
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
if (!acts(event)) return;
|
|
113
|
-
event.preventDefault();
|
|
114
|
-
const next = ids.current[index + 1];
|
|
115
|
-
if (next) inputs.current.get(next)?.focus();
|
|
116
|
-
else addBox.current?.focus();
|
|
117
|
-
}
|
|
118
|
-
const control = (props) => (
|
|
119
|
-
/*
|
|
120
|
-
* ONE LINE THAT GROWS, never a fixed block of rows. A list of sentences
|
|
121
|
-
* read as a list wants each item on its own line; a two-row textarea per
|
|
122
|
-
* item made three of them 256px where the console draws 111, and the
|
|
123
|
-
* second row was empty in every one of them. `autoResize` starts at one
|
|
124
|
-
* line and takes as many as the sentence needs.
|
|
125
|
-
*/
|
|
126
|
-
multiline ? /* @__PURE__ */ jsx(
|
|
127
|
-
Textarea,
|
|
128
|
-
{
|
|
129
|
-
rows: 1,
|
|
130
|
-
autoResize: true,
|
|
131
|
-
"aria-label": props.label,
|
|
132
|
-
value: props.value,
|
|
133
|
-
placeholder: props.placeholder,
|
|
134
|
-
disabled,
|
|
135
|
-
spellCheck: true,
|
|
136
|
-
trailing: props.trailing,
|
|
137
|
-
onChange: (event) => props.onChange(event.target.value),
|
|
138
|
-
onKeyDown: props.onKeyDown,
|
|
139
|
-
ref: props.ref
|
|
140
|
-
}
|
|
141
|
-
) : /* @__PURE__ */ jsx(
|
|
142
|
-
Input,
|
|
143
|
-
{
|
|
144
|
-
"aria-label": props.label,
|
|
145
|
-
value: props.value,
|
|
146
|
-
placeholder: props.placeholder,
|
|
147
|
-
disabled,
|
|
148
|
-
autoComplete: "off",
|
|
149
|
-
spellCheck: true,
|
|
150
|
-
trailing: props.trailing,
|
|
151
|
-
onChange: (event) => props.onChange(event.target.value),
|
|
152
|
-
onKeyDown: props.onKeyDown,
|
|
153
|
-
ref: props.ref
|
|
154
|
-
}
|
|
155
|
-
)
|
|
156
|
-
);
|
|
157
|
-
return /* @__PURE__ */ jsxs(
|
|
158
|
-
FormField,
|
|
159
|
-
{
|
|
160
|
-
as: "fieldset",
|
|
161
|
-
label,
|
|
162
|
-
optional,
|
|
163
|
-
helper,
|
|
164
|
-
helperOnFocus,
|
|
165
|
-
error,
|
|
166
|
-
className: "crewlet-list-input",
|
|
167
|
-
labelAction: /* @__PURE__ */ jsx(
|
|
168
|
-
IconButton,
|
|
169
|
-
{
|
|
170
|
-
size: "sm",
|
|
171
|
-
variant: "soft-brand",
|
|
172
|
-
label: addLabel(itemName),
|
|
173
|
-
icon: /* @__PURE__ */ jsx(PlusGlyph, {}),
|
|
174
|
-
disabled: disabled || draft.trim() === "",
|
|
175
|
-
onClick: add
|
|
176
|
-
}
|
|
177
|
-
),
|
|
178
|
-
children: [
|
|
179
|
-
/* @__PURE__ */ jsx("div", { className: "crewlet-list-input__add", children: control({
|
|
180
|
-
label: newItemLabel(itemName),
|
|
181
|
-
value: draft,
|
|
182
|
-
placeholder,
|
|
183
|
-
trailing: enterHint ? /* @__PURE__ */ jsx(Kbd, { subtle: true, children: "Enter" }) : void 0,
|
|
184
|
-
onChange: setDraft,
|
|
185
|
-
onKeyDown: (event) => {
|
|
186
|
-
if (!acts(event)) return;
|
|
187
|
-
event.preventDefault();
|
|
188
|
-
add();
|
|
189
|
-
},
|
|
190
|
-
ref: (el) => {
|
|
191
|
-
addBox.current = el;
|
|
192
|
-
}
|
|
193
|
-
}) }),
|
|
194
|
-
count > 0 ? /* @__PURE__ */ jsx("ol", { className: "crewlet-list-input__items", children: value.map((item, index) => {
|
|
195
|
-
const key = ids.current[index];
|
|
196
|
-
const position = `${index + 1} of ${count}`;
|
|
197
|
-
return /* @__PURE__ */ jsxs("li", { className: "crewlet-list-input__item", children: [
|
|
198
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-list-input__index", "aria-hidden": "true", children: index + 1 }),
|
|
199
|
-
control({
|
|
200
|
-
label: itemLabel(name, position),
|
|
201
|
-
value: item,
|
|
202
|
-
onChange: (next) => {
|
|
203
|
-
const list = [...value];
|
|
204
|
-
list[index] = next;
|
|
205
|
-
emit(list, ids.current);
|
|
206
|
-
},
|
|
207
|
-
onKeyDown: (event) => itemKeys(event, index),
|
|
208
|
-
ref: (el) => {
|
|
209
|
-
if (el) inputs.current.set(key, el);
|
|
210
|
-
else inputs.current.delete(key);
|
|
211
|
-
}
|
|
212
|
-
}),
|
|
213
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-list-input__actions", children: [
|
|
214
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-list-input__move", children: [
|
|
215
|
-
/* @__PURE__ */ jsx(
|
|
216
|
-
IconButton,
|
|
217
|
-
{
|
|
218
|
-
size: "sm",
|
|
219
|
-
label: moveUpLabel(itemName, position),
|
|
220
|
-
icon: /* @__PURE__ */ jsx(ArrowUpGlyph, {}),
|
|
221
|
-
disabled: disabled || index === 0,
|
|
222
|
-
onClick: () => move(index, -1, "up"),
|
|
223
|
-
ref: (el) => {
|
|
224
|
-
if (el) ups.current.set(key, el);
|
|
225
|
-
else ups.current.delete(key);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
),
|
|
229
|
-
/* @__PURE__ */ jsx(
|
|
230
|
-
IconButton,
|
|
231
|
-
{
|
|
232
|
-
size: "sm",
|
|
233
|
-
label: moveDownLabel(itemName, position),
|
|
234
|
-
icon: /* @__PURE__ */ jsx(ArrowDownGlyph, {}),
|
|
235
|
-
disabled: disabled || index === count - 1,
|
|
236
|
-
onClick: () => move(index, 1, "down"),
|
|
237
|
-
ref: (el) => {
|
|
238
|
-
if (el) downs.current.set(key, el);
|
|
239
|
-
else downs.current.delete(key);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
)
|
|
243
|
-
] }),
|
|
244
|
-
/* @__PURE__ */ jsx(
|
|
245
|
-
IconButton,
|
|
246
|
-
{
|
|
247
|
-
size: "sm",
|
|
248
|
-
variant: "ghost-danger",
|
|
249
|
-
label: removeLabel(itemName, position),
|
|
250
|
-
icon: /* @__PURE__ */ jsx(XGlyph, {}),
|
|
251
|
-
disabled,
|
|
252
|
-
onClick: () => remove(index)
|
|
253
|
-
}
|
|
254
|
-
)
|
|
255
|
-
] })
|
|
256
|
-
] }, key);
|
|
257
|
-
}) }) : null
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export { ListInput };
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Callout } from './chunk-SZZRIHGT.js';
|
|
2
|
-
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
3
2
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
3
|
+
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
6
|
import { EyeGlyph, UserGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
2
2
|
import { useLayerContainer } from './chunk-OMV5W53A.js';
|
|
3
|
-
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-H5XTJ7GJ.js';
|
|
4
3
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
4
|
+
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-H5XTJ7GJ.js';
|
|
5
5
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './Modal-TOEWHDCQ.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SlideNav } from './chunk-RRO7UEYU.js';
|
|
2
1
|
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-RMEBFYL7.js';
|
|
2
|
+
import { SlideNav } from './chunk-RRO7UEYU.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
4
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
|
|
2
|
-
import { usePopupLayer } from './chunk-H5XTJ7GJ.js';
|
|
3
2
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
3
|
+
import { usePopupLayer } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { returnFocus } from './chunk-NUZHC6MM.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|