@factorialco/f0-react 12.0.2 → 12.2.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.
Files changed (37) hide show
  1. package/dist/{ChatPostComposerDialog-BjrsNFUH.js → ChatPostComposerDialog-DxjgJvww.js} +3 -3
  2. package/dist/{CoachmarkProvider-BJFpsBQz.js → CoachmarkProvider-DxxTrrK0.js} +27397 -27397
  3. package/dist/{DocumentToolbar-CS2Z7HiZ.js → DocumentToolbar-MbpAP2xa.js} +5 -5
  4. package/dist/{DocxViewer-B_NnBwF0.js → DocxViewer-DLnunbBn.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-_6Q5DfJg.js → F0AiProcessingOverlay-cNJdJNme.js} +1063 -1047
  6. package/dist/{F0CanvasPanel-BMURqtcr.js → F0CanvasPanel-d0ARNvCs.js} +7881 -7877
  7. package/dist/F0DocumentViewer-CMTc9-v6.js +3 -0
  8. package/dist/{F0DocumentViewer-DRm6fqh4.js → F0DocumentViewer-DU0u8sE9.js} +39 -39
  9. package/dist/{F0Map-f0PCE1Mz.js → F0Map-Ytutlfjd.js} +125 -125
  10. package/dist/{F0Select-BcKwX9W8.js → F0Select-DKCy1C1n.js} +5549 -5477
  11. package/dist/F0Text-BtzfLrwP.js +81 -0
  12. package/dist/F0VideoPlayer-BZmP3fGi.js +1 -0
  13. package/dist/{F0VideoPlayer-CRXj4sNZ.js → F0VideoPlayer-DWE0J3NR.js} +290 -290
  14. package/dist/{Map-Cq4G6JVt.js → Map-DyNfwVdY.js} +20 -20
  15. package/dist/{PdfThumbnail-BEH1NBCB.js → PdfThumbnail-C-F-aujX.js} +1 -1
  16. package/dist/{SheetViewer-CcXri71G.js → SheetViewer-BRTqhc5o.js} +6 -6
  17. package/dist/{TextViewer-BMHUpHg-.js → TextViewer-_rXZwM4E.js} +2 -2
  18. package/dist/ai.d.ts +2 -2
  19. package/dist/ai.js +4 -4
  20. package/dist/component-status.js +1 -1
  21. package/dist/{dist-UTTWm0CV.js → dist-DvxtFKDL.js} +1 -1
  22. package/dist/experimental.d.ts +2 -2
  23. package/dist/experimental.js +4529 -4707
  24. package/dist/{exports-CMhLojYN.d.ts → exports-CnbBeOMM.d.ts} +1 -1
  25. package/dist/f0.d.ts +3 -3
  26. package/dist/f0.js +500 -500
  27. package/dist/{index-aXC2gQbs.d.ts → index-DE9tIS8D.d.ts} +1 -1
  28. package/dist/{maplibre-B2bLeY4t.js → maplibre-BMdn9aMc.js} +1 -1
  29. package/dist/{pdfWorker-C7GrpmLJ.js → pdfWorker-YDigL1gB.js} +1 -1
  30. package/dist/{popover-B-ET_Kay.js → popover-BjrPOMeQ.js} +1 -1
  31. package/dist/styles.css +1 -1
  32. package/dist/{types-CEo4cZBQ.d.ts → types-DiDeZRzi.d.ts} +5 -1
  33. package/dist/{useData-DpxY5-yo.js → useData-BPTvQHGp.js} +5800 -4789
  34. package/package.json +1 -1
  35. package/dist/F0DocumentViewer-7PUNVXNk.js +0 -3
  36. package/dist/F0Text-Bu80O85X.js +0 -1093
  37. package/dist/F0VideoPlayer-cuFJGYLM.js +0 -1
@@ -1,1093 +0,0 @@
1
- import { Qn as e, ar as t, cr as n, ln as r, rr as i, vn as a } from "./popover-B-ET_Kay.js";
2
- import { L as o } from "./tooltip-BX4dSfeL.js";
3
- import { z as s } from "./useData-DpxY5-yo.js";
4
- import { createContext as c, forwardRef as l, useCallback as u, useContext as d, useMemo as f, useRef as p, useState as m } from "react";
5
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
6
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
7
- var _ = c(null);
8
- //#endregion
9
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-is-mounted.mjs
10
- function v() {
11
- let e = p(!1);
12
- return i(() => (e.current = !0, () => {
13
- e.current = !1;
14
- }), []), e;
15
- }
16
- //#endregion
17
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-force-update.mjs
18
- function y() {
19
- let t = v(), [n, r] = m(0), i = u(() => {
20
- t.current && r(n + 1);
21
- }, [n]);
22
- return [u(() => e.postRender(i), [i]), n];
23
- }
24
- //#endregion
25
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/group.mjs
26
- var b = (e) => !e.isLayoutDirty && e.willUpdate(!1);
27
- function x() {
28
- let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(b);
29
- return {
30
- add: (r) => {
31
- e.add(r), t.set(r, r.addEventListener("willUpdate", n));
32
- },
33
- remove: (r) => {
34
- e.delete(r);
35
- let i = t.get(r);
36
- i && (i(), t.delete(r)), n();
37
- },
38
- dirty: n
39
- };
40
- }
41
- //#endregion
42
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/components/LayoutGroup/index.mjs
43
- var S = (e) => e === !0, C = (e) => S(e === !0) || e === "id", w = ({ children: e, id: n, inherit: r = !0 }) => {
44
- let i = d(t), a = d(_), [o, s] = y(), c = p(null), l = i.id || a;
45
- c.current === null && (C(r) && l && (n = n ? l + "-" + n : l), c.current = {
46
- id: n,
47
- group: S(r) && i.group || x()
48
- });
49
- let u = f(() => ({
50
- ...c.current,
51
- forceRender: o
52
- }), [s]);
53
- return h(t.Provider, {
54
- value: u,
55
- children: e
56
- });
57
- }, T = l((e, t) => /* @__PURE__ */ g("svg", {
58
- xmlns: "http://www.w3.org/2000/svg",
59
- fill: "none",
60
- viewBox: "0 0 24 24",
61
- ref: t,
62
- ...e,
63
- children: [/* @__PURE__ */ h("path", {
64
- stroke: "currentColor",
65
- strokeLinecap: "round",
66
- strokeLinejoin: "round",
67
- d: "M16.9497 7.05026L12 12L7.05025 16.9498"
68
- }), /* @__PURE__ */ h("path", {
69
- stroke: "currentColor",
70
- strokeLinecap: "round",
71
- strokeLinejoin: "round",
72
- d: "M12 12L7.05025 7.05026L16.9497 16.9498"
73
- })]
74
- })), E = { background: {
75
- transparent: "bg-transparent",
76
- primary: "bg-f1-background",
77
- secondary: "bg-f1-background-secondary",
78
- tertiary: "bg-f1-background-tertiary",
79
- inverse: "bg-f1-background-inverse",
80
- "inverse-secondary": "bg-f1-background-inverse-secondary",
81
- bold: "bg-f1-background-bold",
82
- accent: "bg-f1-background-accent",
83
- "accent-bold": "bg-f1-background-accent-bold",
84
- promote: "bg-f1-background-promote",
85
- critical: "bg-f1-background-critical",
86
- "critical-bold": "bg-f1-background-critical-bold",
87
- info: "bg-f1-background-info",
88
- "info-bold": "bg-f1-background-info-bold",
89
- warning: "bg-f1-background-warning",
90
- "warning-bold": "bg-f1-background-warning-bold",
91
- positive: "bg-f1-background-positive",
92
- "positive-bold": "bg-f1-background-positive-bold",
93
- selected: "bg-f1-background-selected",
94
- "selected-secondary": "bg-f1-background-selected-secondary",
95
- "selected-bold": "bg-f1-background-selected-bold",
96
- overlay: "bg-f1-background-overlay"
97
- } }, D = {
98
- borderColor: {
99
- default: "border-f1-border",
100
- secondary: "border-f1-border-secondary",
101
- bold: "border-f1-border-bold",
102
- selected: "border-f1-border-selected",
103
- "selected-bold": "border-f1-border-selected-bold",
104
- critical: "border-f1-border-critical",
105
- "critical-bold": "border-f1-border-critical-bold",
106
- warning: "border-f1-border-warning",
107
- "warning-bold": "border-f1-border-warning-bold",
108
- info: "border-f1-border-info",
109
- "info-bold": "border-f1-border-info-bold",
110
- positive: "border-f1-border-positive",
111
- "positive-bold": "border-f1-border-positive-bold",
112
- promote: "border-f1-border-promote"
113
- },
114
- border: {
115
- none: "border-0",
116
- default: "border border-solid",
117
- thick: "border-2 border-solid"
118
- },
119
- borderTop: {
120
- none: "border-t-0",
121
- default: "border-t border-solid",
122
- thick: "border-t-2 border-solid"
123
- },
124
- borderBottom: {
125
- none: "border-b-0",
126
- default: "border-b border-solid",
127
- thick: "border-b-2 border-solid"
128
- },
129
- borderLeft: {
130
- none: "border-l-0",
131
- default: "border-l border-solid",
132
- thick: "border-l-2 border-solid"
133
- },
134
- borderRight: {
135
- none: "border-r-0",
136
- default: "border-r border-solid",
137
- thick: "border-r-2 border-solid"
138
- },
139
- borderRadius: {
140
- none: "rounded-none",
141
- "2xs": "rounded-2xs",
142
- xs: "rounded-xs",
143
- sm: "rounded-sm",
144
- md: "rounded-md",
145
- lg: "rounded-lg",
146
- xl: "rounded-xl",
147
- "2xl": "rounded-2xl",
148
- "3xl": "rounded-3xl",
149
- full: "rounded-full"
150
- },
151
- borderRadiusTopLeft: {
152
- none: "rounded-tl-none",
153
- "2xs": "rounded-tl-2xs",
154
- xs: "rounded-tl-xs",
155
- sm: "rounded-tl-sm",
156
- md: "rounded-tl-md",
157
- lg: "rounded-tl-lg",
158
- xl: "rounded-tl-xl",
159
- "2xl": "rounded-tl-2xl",
160
- "3xl": "rounded-tl-3xl",
161
- full: "rounded-tl-full"
162
- },
163
- borderRadiusTopRight: {
164
- none: "rounded-tr-none",
165
- "2xs": "rounded-tr-2xs",
166
- xs: "rounded-tr-xs",
167
- sm: "rounded-tr-sm",
168
- md: "rounded-tr-md",
169
- lg: "rounded-tr-lg",
170
- xl: "rounded-tr-xl",
171
- "2xl": "rounded-tr-2xl",
172
- "3xl": "rounded-tr-3xl",
173
- full: "rounded-tr-full"
174
- },
175
- borderRadiusBottomLeft: {
176
- none: "rounded-bl-none",
177
- "2xs": "rounded-bl-2xs",
178
- xs: "rounded-bl-xs",
179
- sm: "rounded-bl-sm",
180
- md: "rounded-bl-md",
181
- lg: "rounded-bl-lg",
182
- xl: "rounded-bl-xl",
183
- "2xl": "rounded-bl-2xl",
184
- "3xl": "rounded-bl-3xl",
185
- full: "rounded-bl-full"
186
- },
187
- borderRadiusBottomRight: {
188
- none: "rounded-br-none",
189
- "2xs": "rounded-br-2xs",
190
- xs: "rounded-br-xs",
191
- sm: "rounded-br-sm",
192
- md: "rounded-br-md",
193
- lg: "rounded-br-lg",
194
- xl: "rounded-br-xl",
195
- "2xl": "rounded-br-2xl",
196
- "3xl": "rounded-br-3xl",
197
- full: "rounded-br-full"
198
- },
199
- borderStyle: {
200
- solid: "border-solid",
201
- dashed: "border-dashed",
202
- dotted: "border-dotted",
203
- double: "border-double",
204
- none: "border-none"
205
- }
206
- }, O = {}, k = {
207
- width: {
208
- auto: "w-auto",
209
- full: "w-full",
210
- screen: "w-screen",
211
- min: "w-min",
212
- max: "w-max",
213
- fit: "w-fit",
214
- 0: "w-0",
215
- "0.5": "w-0.5",
216
- 1: "w-1",
217
- "1.5": "w-1.5",
218
- 2: "w-2",
219
- "2.5": "w-2.5",
220
- 3: "w-3",
221
- "3.5": "w-3.5",
222
- 4: "w-4",
223
- 5: "w-5",
224
- 6: "w-6",
225
- 7: "w-7",
226
- 8: "w-8",
227
- 9: "w-9",
228
- 10: "w-10",
229
- 11: "w-11",
230
- 12: "w-12",
231
- 14: "w-14",
232
- 16: "w-16",
233
- 18: "w-18",
234
- 20: "w-20",
235
- 24: "w-24",
236
- 28: "w-28",
237
- 32: "w-32",
238
- 36: "w-36",
239
- 40: "w-40",
240
- 44: "w-44",
241
- 48: "w-48",
242
- 52: "w-52",
243
- 56: "w-56",
244
- 60: "w-60",
245
- 64: "w-64",
246
- 72: "w-72",
247
- 80: "w-80",
248
- 96: "w-96",
249
- "1/2": "w-1/2",
250
- "1/3": "w-1/3",
251
- "2/3": "w-2/3",
252
- "1/4": "w-1/4",
253
- "2/4": "w-2/4",
254
- "3/4": "w-3/4",
255
- "1/5": "w-1/5",
256
- "2/5": "w-2/5",
257
- "3/5": "w-3/5",
258
- "4/5": "w-4/5",
259
- "1/6": "w-1/6",
260
- "5/6": "w-5/6"
261
- },
262
- height: {
263
- auto: "h-auto",
264
- full: "h-full",
265
- screen: "h-screen",
266
- min: "h-min",
267
- max: "h-max",
268
- fit: "h-fit",
269
- 0: "h-0",
270
- "0.5": "h-0.5",
271
- 1: "h-1",
272
- "1.5": "h-1.5",
273
- 2: "h-2",
274
- "2.5": "h-2.5",
275
- 3: "h-3",
276
- "3.5": "h-3.5",
277
- 4: "h-4",
278
- 5: "h-5",
279
- 6: "h-6",
280
- 7: "h-7",
281
- 8: "h-8",
282
- 9: "h-9",
283
- 10: "h-10",
284
- 11: "h-11",
285
- 12: "h-12",
286
- 14: "h-14",
287
- 16: "h-16",
288
- 18: "h-18",
289
- 20: "h-20",
290
- 24: "h-24",
291
- 28: "h-28",
292
- 32: "h-32",
293
- 36: "h-36",
294
- 40: "h-40",
295
- 44: "h-44",
296
- 48: "h-48",
297
- 52: "h-52",
298
- 56: "h-56",
299
- 60: "h-60",
300
- 64: "h-64",
301
- 72: "h-72",
302
- 80: "h-80",
303
- 96: "h-96",
304
- "1/2": "h-1/2",
305
- "1/3": "h-1/3",
306
- "2/3": "h-2/3",
307
- "1/4": "h-1/4",
308
- "2/4": "h-2/4",
309
- "3/4": "h-3/4",
310
- "1/5": "h-1/5",
311
- "2/5": "h-2/5",
312
- "3/5": "h-3/5",
313
- "4/5": "h-4/5",
314
- "1/6": "h-1/6",
315
- "5/6": "h-5/6"
316
- },
317
- minWidth: {
318
- auto: "min-w-0",
319
- full: "min-w-full",
320
- screen: "min-w-screen",
321
- min: "min-w-min",
322
- max: "min-w-max",
323
- fit: "min-w-fit",
324
- 0: "min-w-0",
325
- "0.5": "min-w-0.5",
326
- 1: "min-w-1",
327
- "1.5": "min-w-1.5",
328
- 2: "min-w-2",
329
- "2.5": "min-w-2.5",
330
- 3: "min-w-3",
331
- "3.5": "min-w-3.5",
332
- 4: "min-w-4",
333
- 5: "min-w-5",
334
- 6: "min-w-6",
335
- 7: "min-w-7",
336
- 8: "min-w-8",
337
- 9: "min-w-9",
338
- 10: "min-w-10",
339
- 11: "min-w-11",
340
- 12: "min-w-12",
341
- 14: "min-w-14",
342
- 16: "min-w-16",
343
- 18: "min-w-18",
344
- 20: "min-w-20",
345
- 24: "min-w-24",
346
- 28: "min-w-28",
347
- 32: "min-w-32",
348
- 36: "min-w-36",
349
- 40: "min-w-40",
350
- 44: "min-w-44",
351
- 48: "min-w-48",
352
- 52: "min-w-52",
353
- 56: "min-w-56",
354
- 60: "min-w-60",
355
- 64: "min-w-64",
356
- 72: "min-w-72",
357
- 80: "min-w-80",
358
- 96: "min-w-96",
359
- "1/2": "min-w-1/2",
360
- "1/3": "min-w-1/3",
361
- "2/3": "min-w-2/3",
362
- "1/4": "min-w-1/4",
363
- "2/4": "min-w-2/4",
364
- "3/4": "min-w-3/4",
365
- "1/5": "min-w-1/5",
366
- "2/5": "min-w-2/5",
367
- "3/5": "min-w-3/5",
368
- "4/5": "min-w-4/5",
369
- "1/6": "min-w-1/6",
370
- "5/6": "min-w-5/6"
371
- },
372
- minHeight: {
373
- auto: "min-h-0",
374
- full: "min-h-full",
375
- screen: "min-h-screen",
376
- min: "min-h-min",
377
- max: "min-h-max",
378
- fit: "min-h-fit",
379
- 0: "min-h-0",
380
- "0.5": "min-h-0.5",
381
- 1: "min-h-1",
382
- "1.5": "min-h-1.5",
383
- 2: "min-h-2",
384
- "2.5": "min-h-2.5",
385
- 3: "min-h-3",
386
- "3.5": "min-h-3.5",
387
- 4: "min-h-4",
388
- 5: "min-h-5",
389
- 6: "min-h-6",
390
- 7: "min-h-7",
391
- 8: "min-h-8",
392
- 9: "min-h-9",
393
- 10: "min-h-10",
394
- 11: "min-h-11",
395
- 12: "min-h-12",
396
- 14: "min-h-14",
397
- 16: "min-h-16",
398
- 18: "min-h-18",
399
- 20: "min-h-20",
400
- 24: "min-h-24",
401
- 28: "min-h-28",
402
- 32: "min-h-32",
403
- 36: "min-h-36",
404
- 40: "min-h-40",
405
- 44: "min-h-44",
406
- 48: "min-h-48",
407
- 52: "min-h-52",
408
- 56: "min-h-56",
409
- 60: "min-h-60",
410
- 64: "min-h-64",
411
- 72: "min-h-72",
412
- 80: "min-h-80",
413
- 96: "min-h-96",
414
- "1/2": "min-h-1/2",
415
- "1/3": "min-h-1/3",
416
- "2/3": "min-h-2/3",
417
- "1/4": "min-h-1/4",
418
- "2/4": "min-h-2/4",
419
- "3/4": "min-h-3/4",
420
- "1/5": "min-h-1/5",
421
- "2/5": "min-h-2/5",
422
- "3/5": "min-h-3/5",
423
- "4/5": "min-h-4/5",
424
- "1/6": "min-h-1/6",
425
- "5/6": "min-h-5/6"
426
- },
427
- maxWidth: {
428
- auto: "max-w-none",
429
- content: "max-w-content",
430
- full: "max-w-full",
431
- screen: "max-w-screen",
432
- min: "max-w-min",
433
- max: "max-w-max",
434
- fit: "max-w-fit",
435
- 0: "max-w-0",
436
- "0.5": "max-w-0.5",
437
- 1: "max-w-1",
438
- "1.5": "max-w-1.5",
439
- 2: "max-w-2",
440
- "2.5": "max-w-2.5",
441
- 3: "max-w-3",
442
- "3.5": "max-w-3.5",
443
- 4: "max-w-4",
444
- 5: "max-w-5",
445
- 6: "max-w-6",
446
- 7: "max-w-7",
447
- 8: "max-w-8",
448
- 9: "max-w-9",
449
- 10: "max-w-10",
450
- 11: "max-w-11",
451
- 12: "max-w-12",
452
- 14: "max-w-14",
453
- 16: "max-w-16",
454
- 18: "max-w-18",
455
- 20: "max-w-20",
456
- 24: "max-w-24",
457
- 28: "max-w-28",
458
- 32: "max-w-32",
459
- 36: "max-w-36",
460
- 40: "max-w-40",
461
- 44: "max-w-44",
462
- 48: "max-w-48",
463
- 52: "max-w-52",
464
- 56: "max-w-56",
465
- 60: "max-w-60",
466
- 64: "max-w-64",
467
- 72: "max-w-72",
468
- 80: "max-w-80",
469
- 96: "max-w-96",
470
- "1/2": "max-w-1/2",
471
- "1/3": "max-w-1/3",
472
- "2/3": "max-w-2/3",
473
- "1/4": "max-w-1/4",
474
- "2/4": "max-w-2/4",
475
- "3/4": "max-w-3/4",
476
- "1/5": "max-w-1/5",
477
- "2/5": "max-w-2/5",
478
- "3/5": "max-w-3/5",
479
- "4/5": "max-w-4/5",
480
- "1/6": "max-w-1/6",
481
- "5/6": "max-w-5/6"
482
- },
483
- maxHeight: {
484
- auto: "max-h-none",
485
- full: "max-h-full",
486
- screen: "max-h-screen",
487
- min: "max-h-min",
488
- max: "max-h-max",
489
- fit: "max-h-fit",
490
- 0: "max-h-0",
491
- "0.5": "max-h-0.5",
492
- 1: "max-h-1",
493
- "1.5": "max-h-1.5",
494
- 2: "max-h-2",
495
- "2.5": "max-h-2.5",
496
- 3: "max-h-3",
497
- "3.5": "max-h-3.5",
498
- 4: "max-h-4",
499
- 5: "max-h-5",
500
- 6: "max-h-6",
501
- 7: "max-h-7",
502
- 8: "max-h-8",
503
- 9: "max-h-9",
504
- 10: "max-h-10",
505
- 11: "max-h-11",
506
- 12: "max-h-12",
507
- 14: "max-h-14",
508
- 16: "max-h-16",
509
- 18: "max-h-18",
510
- 20: "max-h-20",
511
- 24: "max-h-24",
512
- 28: "max-h-28",
513
- 32: "max-h-32",
514
- 36: "max-h-36",
515
- 40: "max-h-40",
516
- 44: "max-h-44",
517
- 48: "max-h-48",
518
- 52: "max-h-52",
519
- 56: "max-h-56",
520
- 60: "max-h-60",
521
- 64: "max-h-64",
522
- 72: "max-h-72",
523
- 80: "max-h-80",
524
- 96: "max-h-96",
525
- "1/2": "max-h-1/2",
526
- "1/3": "max-h-1/3",
527
- "2/3": "max-h-2/3",
528
- "1/4": "max-h-1/4",
529
- "2/4": "max-h-2/4",
530
- "3/4": "max-h-3/4",
531
- "1/5": "max-h-1/5",
532
- "2/5": "max-h-2/5",
533
- "3/5": "max-h-3/5",
534
- "4/5": "max-h-4/5",
535
- "1/6": "max-h-1/6",
536
- "5/6": "max-h-5/6"
537
- }
538
- }, A = {
539
- display: {
540
- block: "block",
541
- flex: "flex",
542
- inline: "inline",
543
- "inline-flex": "inline-flex",
544
- grid: "grid",
545
- none: "hidden"
546
- },
547
- position: {
548
- static: "static",
549
- relative: "relative",
550
- absolute: "absolute",
551
- fixed: "fixed",
552
- sticky: "sticky"
553
- }
554
- }, j = {
555
- divider: {
556
- x: "divide-x divide-y-0 divide-solid",
557
- y: "divide-y divide-x-0 divide-solid"
558
- },
559
- dividerColor: {
560
- default: "divide-f1-border",
561
- secondary: "divide-f1-border-secondary",
562
- bold: "divide-f1-border-bold",
563
- selected: "divide-f1-border-selected",
564
- "selected-bold": "divide-f1-border-selected-bold",
565
- critical: "divide-f1-border-critical",
566
- "critical-bold": "divide-f1-border-critical-bold",
567
- warning: "divide-f1-border-warning",
568
- "warning-bold": "divide-f1-border-warning-bold",
569
- info: "divide-f1-border-info",
570
- "info-bold": "divide-f1-border-info-bold",
571
- positive: "divide-f1-border-positive",
572
- "positive-bold": "divide-f1-border-positive-bold",
573
- promote: "divide-f1-border-promote"
574
- }
575
- }, M = {
576
- gap: {
577
- none: "gap-0",
578
- xs: "gap-0.5",
579
- sm: "gap-1",
580
- md: "gap-2",
581
- lg: "gap-3",
582
- xl: "gap-4",
583
- "2xl": "gap-6",
584
- "3xl": "gap-8",
585
- "4xl": "gap-10",
586
- "5xl": "gap-12"
587
- },
588
- alignItems: {
589
- start: "items-start",
590
- center: "items-center",
591
- end: "items-end",
592
- stretch: "items-stretch",
593
- baseline: "items-baseline"
594
- },
595
- justifyContent: {
596
- start: "justify-start",
597
- center: "justify-center",
598
- end: "justify-end",
599
- between: "justify-between",
600
- around: "justify-around",
601
- evenly: "justify-evenly",
602
- stretch: "justify-stretch"
603
- },
604
- flexDirection: {
605
- row: "flex-row",
606
- column: "flex-col",
607
- "row-reverse": "flex-row-reverse",
608
- "column-reverse": "flex-col-reverse"
609
- },
610
- flexWrap: {
611
- nowrap: "flex-nowrap",
612
- wrap: "flex-wrap",
613
- "wrap-reverse": "flex-wrap-reverse"
614
- },
615
- grow: {
616
- true: "grow",
617
- false: "grow-0"
618
- },
619
- shrink: {
620
- true: "shrink",
621
- false: "shrink-0"
622
- }
623
- }, N = {}, P = {
624
- columns: {
625
- none: "grid-cols-none",
626
- 1: "grid-cols-1",
627
- 2: "grid-cols-2",
628
- 3: "grid-cols-3",
629
- 4: "grid-cols-4",
630
- 5: "grid-cols-5",
631
- 6: "grid-cols-6",
632
- 7: "grid-cols-7",
633
- 8: "grid-cols-8",
634
- 9: "grid-cols-9",
635
- 10: "grid-cols-10",
636
- 11: "grid-cols-11",
637
- 12: "grid-cols-12"
638
- },
639
- rows: {
640
- none: "grid-rows-none",
641
- 1: "grid-rows-1",
642
- 2: "grid-rows-2",
643
- 3: "grid-rows-3",
644
- 4: "grid-rows-4",
645
- 5: "grid-rows-5",
646
- 6: "grid-rows-6"
647
- },
648
- colSpan: {
649
- 1: "col-span-1",
650
- 2: "col-span-2",
651
- 3: "col-span-3",
652
- 4: "col-span-4",
653
- 5: "col-span-5",
654
- 6: "col-span-6",
655
- 7: "col-span-7",
656
- 8: "col-span-8",
657
- 9: "col-span-9",
658
- 10: "col-span-10",
659
- 11: "col-span-11",
660
- 12: "col-span-12",
661
- full: "col-span-full"
662
- },
663
- colStart: {
664
- auto: "col-start-auto",
665
- 1: "col-start-1",
666
- 2: "col-start-2",
667
- 3: "col-start-3",
668
- 4: "col-start-4",
669
- 5: "col-start-5",
670
- 6: "col-start-6",
671
- 7: "col-start-7",
672
- 8: "col-start-8",
673
- 9: "col-start-9",
674
- 10: "col-start-10",
675
- 11: "col-start-11",
676
- 12: "col-start-12",
677
- 13: "col-start-13"
678
- },
679
- rowSpan: {
680
- 1: "row-span-1",
681
- 2: "row-span-2",
682
- 3: "row-span-3",
683
- 4: "row-span-4",
684
- 5: "row-span-5",
685
- 6: "row-span-6",
686
- full: "row-span-full"
687
- }
688
- }, F = {
689
- top: {
690
- none: "top-0",
691
- xs: "top-1",
692
- sm: "top-2",
693
- md: "top-3",
694
- lg: "top-4",
695
- xl: "top-6",
696
- "2xl": "top-8",
697
- "3xl": "top-10",
698
- "4xl": "top-12",
699
- "5xl": "top-16"
700
- },
701
- right: {
702
- none: "right-0",
703
- xs: "right-1",
704
- sm: "right-2",
705
- md: "right-3",
706
- lg: "right-4",
707
- xl: "right-6",
708
- "2xl": "right-8",
709
- "3xl": "right-10",
710
- "4xl": "right-12",
711
- "5xl": "right-16"
712
- },
713
- bottom: {
714
- none: "bottom-0",
715
- xs: "bottom-1",
716
- sm: "bottom-2",
717
- md: "bottom-3",
718
- lg: "bottom-4",
719
- xl: "bottom-6",
720
- "2xl": "bottom-8",
721
- "3xl": "bottom-10",
722
- "4xl": "bottom-12",
723
- "5xl": "bottom-16"
724
- },
725
- left: {
726
- none: "left-0",
727
- xs: "left-1",
728
- sm: "left-2",
729
- md: "left-3",
730
- lg: "left-4",
731
- xl: "left-6",
732
- "2xl": "left-8",
733
- "3xl": "left-10",
734
- "4xl": "left-12",
735
- "5xl": "left-16"
736
- }
737
- }, I = {
738
- margin: {
739
- none: "m-0",
740
- xs: "m-1",
741
- sm: "m-2",
742
- md: "m-3",
743
- lg: "m-4",
744
- xl: "m-6",
745
- "2xl": "m-8",
746
- "3xl": "m-10",
747
- "4xl": "m-12",
748
- "5xl": "m-16",
749
- auto: "m-auto"
750
- },
751
- marginX: {
752
- none: "mx-0",
753
- xs: "mx-1",
754
- sm: "mx-2",
755
- md: "mx-3",
756
- lg: "mx-4",
757
- xl: "mx-6",
758
- "2xl": "mx-8",
759
- "3xl": "mx-10",
760
- "4xl": "mx-12",
761
- "5xl": "mx-16",
762
- auto: "mx-auto"
763
- },
764
- marginY: {
765
- none: "my-0",
766
- xs: "my-1",
767
- sm: "my-2",
768
- md: "my-3",
769
- lg: "my-4",
770
- xl: "my-6",
771
- "2xl": "my-8",
772
- "3xl": "my-10",
773
- "4xl": "my-12",
774
- "5xl": "my-16",
775
- auto: "my-auto"
776
- },
777
- marginTop: {
778
- none: "mt-0",
779
- xs: "mt-1",
780
- sm: "mt-2",
781
- md: "mt-3",
782
- lg: "mt-4",
783
- xl: "mt-6",
784
- "2xl": "mt-8",
785
- "3xl": "mt-10",
786
- "4xl": "mt-12",
787
- "5xl": "mt-16",
788
- auto: "mt-auto"
789
- },
790
- marginBottom: {
791
- none: "mb-0",
792
- xs: "mb-1",
793
- sm: "mb-2",
794
- md: "mb-3",
795
- lg: "mb-4",
796
- xl: "mb-6",
797
- "2xl": "mb-8",
798
- "3xl": "mb-10",
799
- "4xl": "mb-12",
800
- "5xl": "mb-16",
801
- auto: "mb-auto"
802
- },
803
- marginLeft: {
804
- none: "ml-0",
805
- xs: "ml-1",
806
- sm: "ml-2",
807
- md: "ml-3",
808
- lg: "ml-4",
809
- xl: "ml-6",
810
- "2xl": "ml-8",
811
- "3xl": "ml-10",
812
- "4xl": "ml-12",
813
- "5xl": "ml-16",
814
- auto: "ml-auto"
815
- },
816
- marginRight: {
817
- none: "mr-0",
818
- xs: "mr-1",
819
- sm: "mr-2",
820
- md: "mr-3",
821
- lg: "mr-4",
822
- xl: "mr-6",
823
- "2xl": "mr-8",
824
- "3xl": "mr-10",
825
- "4xl": "mr-12",
826
- "5xl": "mr-16",
827
- auto: "mr-auto"
828
- }
829
- }, L = {}, R = {
830
- overflow: {
831
- visible: "overflow-visible",
832
- hidden: "overflow-hidden",
833
- auto: "overflow-auto",
834
- scroll: "overflow-scroll"
835
- },
836
- overflowX: {
837
- visible: "overflow-x-visible",
838
- hidden: "overflow-x-hidden",
839
- auto: "overflow-x-auto",
840
- scroll: "overflow-x-scroll"
841
- },
842
- overflowY: {
843
- visible: "overflow-y-visible",
844
- hidden: "overflow-y-hidden",
845
- auto: "overflow-y-auto",
846
- scroll: "overflow-y-scroll"
847
- }
848
- }, z = {}, B = {
849
- padding: {
850
- none: "p-0",
851
- xs: "p-1",
852
- sm: "p-2",
853
- md: "p-3",
854
- lg: "p-4",
855
- xl: "p-6",
856
- "2xl": "p-8",
857
- "3xl": "p-10",
858
- "4xl": "p-12",
859
- "5xl": "p-16"
860
- },
861
- paddingX: {
862
- none: "px-0",
863
- xs: "px-1",
864
- sm: "px-2",
865
- md: "px-3",
866
- lg: "px-4",
867
- xl: "px-6",
868
- "2xl": "px-8",
869
- "3xl": "px-10",
870
- "4xl": "px-12",
871
- "5xl": "px-16"
872
- },
873
- paddingY: {
874
- none: "py-0",
875
- xs: "py-1",
876
- sm: "py-2",
877
- md: "py-3",
878
- lg: "py-4",
879
- xl: "py-6",
880
- "2xl": "py-8",
881
- "3xl": "py-10",
882
- "4xl": "py-12",
883
- "5xl": "py-16"
884
- },
885
- paddingTop: {
886
- none: "pt-0",
887
- xs: "pt-1",
888
- sm: "pt-2",
889
- md: "pt-3",
890
- lg: "pt-4",
891
- xl: "pt-6",
892
- "2xl": "pt-8",
893
- "3xl": "pt-10",
894
- "4xl": "pt-12",
895
- "5xl": "pt-16"
896
- },
897
- paddingBottom: {
898
- none: "pb-0",
899
- xs: "pb-1",
900
- sm: "pb-2",
901
- md: "pb-3",
902
- lg: "pb-4",
903
- xl: "pb-6",
904
- "2xl": "pb-8",
905
- "3xl": "pb-10",
906
- "4xl": "pb-12",
907
- "5xl": "pb-16"
908
- },
909
- paddingLeft: {
910
- none: "pl-0",
911
- xs: "pl-1",
912
- sm: "pl-2",
913
- md: "pl-3",
914
- lg: "pl-4",
915
- xl: "pl-6",
916
- "2xl": "pl-8",
917
- "3xl": "pl-10",
918
- "4xl": "pl-12",
919
- "5xl": "pl-16"
920
- },
921
- paddingRight: {
922
- none: "pr-0",
923
- xs: "pr-1",
924
- sm: "pr-2",
925
- md: "pr-3",
926
- lg: "pr-4",
927
- xl: "pr-6",
928
- "2xl": "pr-8",
929
- "3xl": "pr-10",
930
- "4xl": "pr-12",
931
- "5xl": "pr-16"
932
- }
933
- }, V = {}, H = { boxShadow: {
934
- none: "shadow-none",
935
- sm: "shadow",
936
- md: "shadow-md",
937
- lg: "shadow-lg",
938
- xl: "shadow-xl"
939
- } }, U = { zIndex: {
940
- auto: "z-auto",
941
- 0: "z-0",
942
- 10: "z-10",
943
- 20: "z-20",
944
- 30: "z-30",
945
- 40: "z-40",
946
- 50: "z-50"
947
- } }, W = {
948
- ...A,
949
- ...F,
950
- ...B,
951
- ...I,
952
- ...M,
953
- ...P,
954
- ...k,
955
- ...E,
956
- ...D,
957
- ...R,
958
- ...j,
959
- ...U
960
- };
961
- function G(e, t) {
962
- return t.split(" ").map((t) => `${e}:${t}`).join(" ");
963
- }
964
- function ee(e, t) {
965
- let n = [];
966
- for (let [r, i] of Object.entries(t)) {
967
- if (i == null) continue;
968
- let t = W[r];
969
- if (!t) continue;
970
- let a = t[String(i)];
971
- a && n.push(G(e, a));
972
- }
973
- return n.join(" ");
974
- }
975
- //#endregion
976
- //#region src/elements/F0Box/F0Box.tsx
977
- var te = a({
978
- base: "",
979
- variants: {
980
- ...A,
981
- ...F,
982
- ...B,
983
- ...I,
984
- ...M,
985
- ...P,
986
- ...k,
987
- ...E,
988
- ...D,
989
- ...R,
990
- ...j,
991
- ...H,
992
- ...U
993
- },
994
- defaultVariants: {
995
- ...V,
996
- ...L,
997
- ...N,
998
- ...O,
999
- ...z
1000
- }
1001
- }), ne = [
1002
- "sm",
1003
- "md",
1004
- "lg",
1005
- "xl"
1006
- ], K = l(({ display: e, position: t, top: n, right: r, bottom: i, left: a, zIndex: s, padding: c, paddingX: l, paddingY: u, paddingTop: d, paddingBottom: f, paddingLeft: p, paddingRight: m, margin: g, marginX: _, marginY: v, marginTop: y, marginBottom: b, marginLeft: x, marginRight: S, gap: C, columns: w, rows: T, colSpan: E, colStart: D, rowSpan: O, width: k, height: A, minWidth: j, minHeight: M, maxWidth: N, maxHeight: P, background: F, borderColor: I, border: L, borderTop: R, borderBottom: z, borderLeft: B, borderRight: V, borderRadius: H, borderRadiusTopLeft: U, borderRadiusTopRight: W, borderRadiusBottomLeft: G, borderRadiusBottomRight: K, borderStyle: q, overflow: J, overflowX: Y, overflowY: X, divider: Z, dividerColor: Q, boxShadow: re, alignItems: ie, justifyContent: ae, flexDirection: oe, flexWrap: se, grow: ce, shrink: le, sm: ue, md: de, lg: fe, xl: pe, ...me }, he) => {
1007
- let $ = R && R !== "none" || z && z !== "none" || B && B !== "none" || V && V !== "none", ge = L && L !== "none" || $, _e = {
1008
- sm: ue,
1009
- md: de,
1010
- lg: fe,
1011
- xl: pe
1012
- }, ve = ne.map((e) => {
1013
- let t = _e[e];
1014
- return t ? ee(e, t) : "";
1015
- }).filter(Boolean).join(" ");
1016
- return /* @__PURE__ */ h("div", {
1017
- ref: he,
1018
- className: o($ && "border-0", te({
1019
- display: e,
1020
- position: t,
1021
- top: n,
1022
- right: r,
1023
- bottom: i,
1024
- left: a,
1025
- zIndex: s,
1026
- padding: c,
1027
- paddingX: l,
1028
- paddingY: u,
1029
- paddingTop: d,
1030
- paddingBottom: f,
1031
- paddingLeft: p,
1032
- paddingRight: m,
1033
- margin: g,
1034
- marginX: _,
1035
- marginY: v,
1036
- marginTop: y,
1037
- marginBottom: b,
1038
- marginLeft: x,
1039
- marginRight: S,
1040
- gap: C,
1041
- columns: w,
1042
- rows: T,
1043
- colSpan: E,
1044
- colStart: D,
1045
- rowSpan: O,
1046
- width: k,
1047
- height: A,
1048
- minWidth: j,
1049
- minHeight: M,
1050
- maxWidth: N,
1051
- maxHeight: P,
1052
- background: F,
1053
- borderColor: I,
1054
- border: L,
1055
- borderTop: R,
1056
- borderBottom: z,
1057
- borderLeft: B,
1058
- borderRight: V,
1059
- borderRadius: H,
1060
- borderRadiusTopLeft: U,
1061
- borderRadiusTopRight: W,
1062
- borderRadiusBottomLeft: G,
1063
- borderRadiusBottomRight: K,
1064
- borderStyle: q,
1065
- overflow: J,
1066
- overflowX: Y,
1067
- overflowY: X,
1068
- divider: Z,
1069
- dividerColor: Q,
1070
- alignItems: ie,
1071
- justifyContent: ae,
1072
- flexDirection: oe,
1073
- flexWrap: se,
1074
- grow: ce,
1075
- shrink: le,
1076
- boxShadow: re
1077
- }), ve, ge && !I && "border-f1-border", Z && !Q && "divide-f1-border", "scrollbar-macos"),
1078
- ...me
1079
- });
1080
- });
1081
- K.displayName = "F0Box";
1082
- var q = r({
1083
- name: "F0Box",
1084
- type: "layout"
1085
- }, K), J = l((e, t) => /* @__PURE__ */ h(s, {
1086
- ref: t,
1087
- markdown: e.markdown ?? !0,
1088
- ...e
1089
- }));
1090
- J.displayName = "F0Text";
1091
- var Y = n(J);
1092
- //#endregion
1093
- export { w as i, q as n, T as r, Y as t };