@fiestaboard/ui 5.3.0 → 5.4.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 +18 -0
- package/dist/components/chrome/nav-list.d.ts +53 -0
- package/dist/components/chrome/nav-list.js +84 -0
- package/dist/components/chrome/nav-list.js.map +1 -0
- package/dist/components/containment/icon-tile.d.ts +67 -0
- package/dist/components/containment/icon-tile.js +44 -0
- package/dist/components/containment/icon-tile.js.map +1 -0
- package/dist/components/containment/json-tree.js +1 -1
- package/dist/components/containment/json-tree.js.map +1 -1
- package/dist/components/containment/scroll-area.d.ts +17 -0
- package/dist/components/containment/scroll-area.js +2 -2
- package/dist/components/containment/scroll-area.js.map +1 -1
- package/dist/components/containment/tabs.js +2 -2
- package/dist/components/containment/tabs.js.map +1 -1
- package/dist/components/editor/formula/formula-editor-panel.js +2 -2
- package/dist/components/editor/formula/formula-editor-panel.js.map +1 -1
- package/dist/components/editor/template-editor-toolbar.d.ts +27 -3
- package/dist/components/editor/template-editor-toolbar.js +99 -96
- package/dist/components/editor/template-editor-toolbar.js.map +1 -1
- package/dist/components/forms/button.d.ts +1 -1
- package/dist/components/forms/button.js +2 -0
- package/dist/components/forms/button.js.map +1 -1
- package/dist/components/forms/selection-group.d.ts +82 -0
- package/dist/components/forms/selection-group.js +51 -0
- package/dist/components/forms/selection-group.js.map +1 -0
- package/dist/components/forms/swatch.d.ts +81 -0
- package/dist/components/forms/swatch.js +91 -0
- package/dist/components/forms/swatch.js.map +1 -0
- package/dist/components/forms/timezone-picker.d.ts +163 -0
- package/dist/components/forms/timezone-picker.js +158 -0
- package/dist/components/forms/timezone-picker.js.map +1 -0
- package/dist/components/forms/toggle-card.d.ts +45 -35
- package/dist/components/forms/toggle-card.js +187 -122
- package/dist/components/forms/toggle-card.js.map +1 -1
- package/dist/components/forms/toggle.d.ts +1 -1
- package/dist/components/layout/flex.d.ts +1 -1
- package/dist/components/layout/grid.d.ts +1 -1
- package/dist/components/layout/stack.d.ts +1 -1
- package/dist/components/overlays/lightbox.js +1 -1
- package/dist/components/overlays/lightbox.js.map +1 -1
- package/dist/components/overlays/overlay-close.js +1 -1
- package/dist/components/overlays/overlay-close.js.map +1 -1
- package/dist/components/plugin/board-showcase.js +1 -1
- package/dist/components/plugin/board-showcase.js.map +1 -1
- package/dist/components/typography/heading.d.ts +1 -1
- package/dist/components/typography/text-link.d.ts +27 -3
- package/dist/components/typography/text-link.js +1 -1
- package/dist/components/typography/text-link.js.map +1 -1
- package/dist/components/typography/text.d.ts +1 -1
- package/dist/components/wizard/wizard-shell.d.ts +6 -1
- package/dist/components/wizard/wizard-shell.js +38 -35
- package/dist/components/wizard/wizard-shell.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +104 -100
- package/dist/theme.css +85 -4
- package/package.json +9 -2
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
/**
|
|
3
|
-
* Inline text anchor with the canonical link treatment
|
|
4
|
-
* rest (
|
|
5
|
-
*
|
|
3
|
+
* Inline text anchor with the canonical link treatment: always underlined at
|
|
4
|
+
* rest (WCAG 1.4.1 / axe `link-in-text-block`), brand pigment, and the shared
|
|
5
|
+
* two-tone focus ring. For router navigation, keep using the router's `Link`
|
|
6
6
|
* component; this primitive is for plain anchors.
|
|
7
|
+
*
|
|
8
|
+
* ## Pigment: `text-brand`, never `text-primary` (#238)
|
|
9
|
+
*
|
|
10
|
+
* `--primary` is the literal #f5a623 tile. It measures **1.83:1** on a light
|
|
11
|
+
* page — legal as a button field with board ink on it, illegal as a sentence.
|
|
12
|
+
* `--brand` is the same hue at the ink plateau: **5.09:1** light, **9.63:1**
|
|
13
|
+
* dark on `--background`. This is the pigment `Button`'s `link` variant
|
|
14
|
+
* already uses, and the two are deliberately the same so a link does not
|
|
15
|
+
* change colour depending on which component drew it.
|
|
16
|
+
*
|
|
17
|
+
* The underline is permanent rather than on hover because colour alone cannot
|
|
18
|
+
* distinguish a link from body copy: `--brand` against `--foreground` is
|
|
19
|
+
* 1.86:1 in dark, under G183's 3:1.
|
|
20
|
+
*
|
|
21
|
+
* ## Focus: the shared `focus-ring` class (#238)
|
|
22
|
+
*
|
|
23
|
+
* The previous recipe was `outline-none focus-visible:ring-[3px]
|
|
24
|
+
* focus-visible:ring-ring/50`, which is now a two-part failure. `--ring`
|
|
25
|
+
* follows `--primary`, so since 4.0.0 the band is the tile; composited in
|
|
26
|
+
* gamma space a 50% band of it measures **1.36:1** against a light page,
|
|
27
|
+
* against SC 2.4.11's 3:1. And `outline-none` suppressed the UA outline that
|
|
28
|
+
* would otherwise have covered for it, so the link had no visible focus
|
|
29
|
+
* indicator at all. `focus-ring` bounds the orange band with board-ink
|
|
30
|
+
* hairlines (16:1 on light surfaces) — see the recipe in theme.css.
|
|
7
31
|
*/
|
|
8
32
|
declare function TextLink({ className, ...props }: React.ComponentProps<"a">): React.JSX.Element;
|
|
9
33
|
export { TextLink };
|
|
@@ -5,7 +5,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
5
5
|
function n({ className: n, ...r }) {
|
|
6
6
|
return /* @__PURE__ */ t("a", {
|
|
7
7
|
"data-slot": "text-link",
|
|
8
|
-
className: e("rounded-sm text-
|
|
8
|
+
className: e("focus-ring rounded-sm text-brand underline underline-offset-4", n),
|
|
9
9
|
...r
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-link.js","names":[],"sources":["../../../src/components/typography/text-link.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"text-link.js","names":[],"sources":["../../../src/components/typography/text-link.tsx"],"mappings":";;;;AAkCA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAoC;CACpE,OACE,kBAAC,KAAD;EACE,aAAU;EACV,WAAW,EAAG,iEAAiE,CAAS;EACxF,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -2,7 +2,7 @@ import { type VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const textVariants: (props?: ({
|
|
4
4
|
size?: "base" | "sm" | "lg" | "xs" | null | undefined;
|
|
5
|
-
tone?: "default" | "destructive" | "info" | "success" | "warning" |
|
|
5
|
+
tone?: "muted" | "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
6
6
|
weight?: "normal" | "medium" | "semibold" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
interface TextProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof textVariants> {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export interface WizardShellProps {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Brand mark for the header medallion — an <img>, an inline SVG, anything.
|
|
4
|
+
* Rendered inside a decorative {@link IconTile}, so it is hidden from
|
|
5
|
+
* assistive technology: the `wordmark` beside it is the lockup's name and
|
|
6
|
+
* announcing both would say the product twice.
|
|
7
|
+
*/
|
|
3
8
|
icon?: React.ReactNode;
|
|
4
9
|
/**
|
|
5
10
|
* Wordmark rendered beside the mark. Together they are the product lockup —
|
|
@@ -1,62 +1,65 @@
|
|
|
1
1
|
import { cn as e } from "../../lib/utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { IconTile as t } from "../containment/icon-tile.js";
|
|
3
|
+
import { WizardProgress as n } from "./wizard-progress.js";
|
|
4
|
+
import { BoardBackdrop as r } from "../board/board-backdrop.js";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
6
|
//#region src/components/wizard/wizard-shell.tsx
|
|
6
|
-
function
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
className: e("bg-background fixed inset-0 z-50 overflow-y-auto",
|
|
9
|
-
children: [
|
|
10
|
-
phrases:
|
|
7
|
+
function o({ icon: o, wordmark: s, title: c, description: l, aside: u, steps: d, current: f, progressLabel: p, stepTitle: m, stepDescription: h, children: g, footer: _, backdropPhrases: v, className: y }) {
|
|
8
|
+
return /* @__PURE__ */ a("div", {
|
|
9
|
+
className: e("bg-background fixed inset-0 z-50 overflow-y-auto", y),
|
|
10
|
+
children: [v?.length ? /* @__PURE__ */ i(r, {
|
|
11
|
+
phrases: v,
|
|
11
12
|
fixed: !0
|
|
12
|
-
}) : null, /* @__PURE__ */
|
|
13
|
+
}) : null, /* @__PURE__ */ i("div", {
|
|
13
14
|
className: "relative flex min-h-full items-start justify-center px-4 py-6 sm:px-6 sm:py-10",
|
|
14
|
-
children: /* @__PURE__ */
|
|
15
|
+
children: /* @__PURE__ */ a("div", {
|
|
15
16
|
className: e("bg-card border-border w-full max-w-lg rounded-2xl border p-6 sm:p-8", "shadow-[var(--elevation-modal)]"),
|
|
16
17
|
children: [
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ a("header", {
|
|
18
19
|
className: "pb-6",
|
|
19
20
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ a("div", {
|
|
21
22
|
className: "flex items-center justify-between gap-4",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
23
|
+
children: [/* @__PURE__ */ a("span", {
|
|
23
24
|
className: "flex min-w-0 items-center gap-3",
|
|
24
|
-
children: [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
children: [o ? /* @__PURE__ */ i(t, {
|
|
26
|
+
size: "lg",
|
|
27
|
+
tone: "board",
|
|
28
|
+
className: "sm:size-14",
|
|
29
|
+
children: o
|
|
30
|
+
}) : null, s]
|
|
31
|
+
}), u]
|
|
29
32
|
}),
|
|
30
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ i("h1", {
|
|
31
34
|
className: "mt-5 text-2xl font-semibold tracking-tight text-balance sm:text-3xl",
|
|
32
|
-
children:
|
|
35
|
+
children: c
|
|
33
36
|
}),
|
|
34
|
-
|
|
37
|
+
l ? /* @__PURE__ */ i("p", {
|
|
35
38
|
className: "text-muted-foreground mt-2 text-sm sm:text-base",
|
|
36
|
-
children:
|
|
39
|
+
children: l
|
|
37
40
|
}) : null
|
|
38
41
|
]
|
|
39
42
|
}),
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
steps:
|
|
42
|
-
current:
|
|
43
|
-
label:
|
|
43
|
+
/* @__PURE__ */ i(n, {
|
|
44
|
+
steps: d,
|
|
45
|
+
current: f,
|
|
46
|
+
label: p,
|
|
44
47
|
className: "pb-7"
|
|
45
48
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ a("div", {
|
|
47
50
|
className: "mb-6",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
51
|
+
children: [/* @__PURE__ */ i("h2", {
|
|
49
52
|
className: "text-xl font-semibold tracking-tight sm:text-2xl",
|
|
50
|
-
children: p
|
|
51
|
-
}), m ? /* @__PURE__ */ r("p", {
|
|
52
|
-
className: "text-muted-foreground mt-1",
|
|
53
53
|
children: m
|
|
54
|
+
}), h ? /* @__PURE__ */ i("p", {
|
|
55
|
+
className: "text-muted-foreground mt-1",
|
|
56
|
+
children: h
|
|
54
57
|
}) : null]
|
|
55
58
|
}),
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
g,
|
|
60
|
+
_ ? /* @__PURE__ */ i("div", {
|
|
58
61
|
className: "border-border mt-8 flex items-center justify-between border-t pt-6",
|
|
59
|
-
children:
|
|
62
|
+
children: _
|
|
60
63
|
}) : null
|
|
61
64
|
]
|
|
62
65
|
})
|
|
@@ -64,6 +67,6 @@ function a({ icon: a, wordmark: o, title: s, description: c, aside: l, steps: u,
|
|
|
64
67
|
});
|
|
65
68
|
}
|
|
66
69
|
//#endregion
|
|
67
|
-
export {
|
|
70
|
+
export { o as WizardShell };
|
|
68
71
|
|
|
69
72
|
//# sourceMappingURL=wizard-shell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-shell.js","names":[],"sources":["../../../src/components/wizard/wizard-shell.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"wizard-shell.js","names":[],"sources":["../../../src/components/wizard/wizard-shell.tsx"],"mappings":";;;;;;AA4EA,SAAgB,EAAY,EAC1B,SACA,aACA,UACA,gBACA,UACA,UACA,YACA,kBACA,cACA,oBACA,aACA,WACA,oBACA,gBACmB;CACnB,OACE,kBAAC,OAAD;EAAK,WAAW,EAAG,oDAAoD,CAAS;EAAhF,UAAA,CAGG,GAAiB,SAAS,kBAAC,GAAD;GAAe,SAAS;GAAiB,OAAA;EAAO,CAAA,IAAI,MAC/E,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,OAAD;IACE,WAAW,EACT,uEACA,iCACF;IAJF,UAAA;KAME,kBAAC,UAAD;MAAQ,WAAU;MAAlB,UAAA;OAcE,kBAAC,OAAD;QAAK,WAAU;QAAf,UAAA,CACE,kBAAC,QAAD;SAAM,WAAU;SAAhB,UAAA,CACG,IAIC,kBAAC,GAAD;UAAU,MAAK;UAAK,MAAK;UAAQ,WAAU;UACxC,UAAA;SACO,CAAA,IACR,MACH,CACG;QACL,CAAA,GAAA,CACE;;OACL,kBAAC,MAAD;QAAI,WAAU;QAAuE,UAAA;OAAU,CAAA;OAC9F,IAAc,kBAAC,KAAD;QAAG,WAAU;QAAmD,UAAA;OAAe,CAAA,IAAI;MAC5F;;KAER,kBAAC,GAAD;MAAuB;MAAgB;MAAS,OAAO;MAAe,WAAU;KAAQ,CAAA;KAExF,kBAAC,OAAD;MAAK,WAAU;MAAf,UAAA,CACE,kBAAC,MAAD;OAAI,WAAU;OAAoD,UAAA;MAAc,CAAA,GAC/E,IAAkB,kBAAC,KAAD;OAAG,WAAU;OAA8B,UAAA;MAAmB,CAAA,IAAI,IAClF;;KAEJ;KAEA,IACC,kBAAC,OAAD;MAAK,WAAU;MAAsE,UAAA;KAAY,CAAA,IAC/F;IACD;;EACF,CAAA,CACF;;AAET"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export * from "./components/containment/accordion";
|
|
10
10
|
export * from "./components/containment/card";
|
|
11
11
|
export * from "./components/containment/collapsible";
|
|
12
|
+
export * from "./components/containment/icon-tile";
|
|
12
13
|
export * from "./components/containment/json-tree";
|
|
13
14
|
export * from "./components/containment/media-frame";
|
|
14
15
|
export * from "./components/feedback/alert";
|
|
@@ -40,9 +41,11 @@ export * from "./components/feedback/spinner";
|
|
|
40
41
|
export * from "./components/feedback/status-dot";
|
|
41
42
|
export * from "./components/forms/select";
|
|
42
43
|
export * from "./components/forms/slider";
|
|
44
|
+
export * from "./components/forms/swatch";
|
|
43
45
|
export * from "./components/forms/switch";
|
|
44
46
|
export * from "./components/forms/textarea";
|
|
45
47
|
export * from "./components/forms/time-picker";
|
|
48
|
+
export * from "./components/forms/timezone-picker";
|
|
46
49
|
export * from "./components/forms/toggle";
|
|
47
50
|
export * from "./components/forms/toggle-card";
|
|
48
51
|
export * from "./components/layout/stack";
|
|
@@ -57,6 +60,7 @@ export * from "./components/chrome/fiesta-icon";
|
|
|
57
60
|
export * from "./components/chrome/fiesta-logo";
|
|
58
61
|
export * from "./components/chrome/language-selector";
|
|
59
62
|
export * from "./components/chrome/main-content";
|
|
63
|
+
export * from "./components/chrome/nav-list";
|
|
60
64
|
export * from "./components/chrome/page-header";
|
|
61
65
|
export * from "./components/chrome/page-layout";
|
|
62
66
|
export * from "./components/chrome/page-toolbar";
|
package/dist/index.js
CHANGED
|
@@ -2,103 +2,107 @@ import { cn as e } from "./lib/utils.js";
|
|
|
2
2
|
import { Accordion as t, AccordionContent as n, AccordionItem as r, AccordionTrigger as i } from "./components/containment/accordion.js";
|
|
3
3
|
import { Card as a, CardAction as o, CardContent as s, CardDescription as c, CardFooter as l, CardHeader as u, CardTitle as d } from "./components/containment/card.js";
|
|
4
4
|
import { Collapsible as f, CollapsibleContent as p, CollapsibleTrigger as m } from "./components/containment/collapsible.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import tt from "./components/
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
|
|
5
|
+
import { IconTile as h, iconTileVariants as g } from "./components/containment/icon-tile.js";
|
|
6
|
+
import { JsonTree as _ } from "./components/containment/json-tree.js";
|
|
7
|
+
import { MediaFrame as v, MediaFrameBar as y, MediaFrameMedia as b } from "./components/containment/media-frame.js";
|
|
8
|
+
import { Alert as x, AlertDescription as S, AlertTitle as C, alertVariants as w } from "./components/feedback/alert.js";
|
|
9
|
+
import { Badge as T, badgeVariants as E } from "./components/feedback/badge.js";
|
|
10
|
+
import { Chip as D, chipVariants as O } from "./components/feedback/chip.js";
|
|
11
|
+
import { EmptyState as k } from "./components/feedback/empty-state.js";
|
|
12
|
+
import { Spinner as A, spinnerVariants as j } from "./components/feedback/spinner.js";
|
|
13
|
+
import { Button as M, buttonVariants as N } from "./components/forms/button.js";
|
|
14
|
+
import { Checkbox as P } from "./components/forms/checkbox.js";
|
|
15
|
+
import { Input as F } from "./components/forms/input.js";
|
|
16
|
+
import { Label as I } from "./components/forms/label.js";
|
|
17
|
+
import { SecretInput as L } from "./components/forms/secret-input.js";
|
|
18
|
+
import { Box as R } from "./components/layout/box.js";
|
|
19
|
+
import { Flex as z, flexVariants as B } from "./components/layout/flex.js";
|
|
20
|
+
import { Grid as V, gridVariants as H } from "./components/layout/grid.js";
|
|
21
|
+
import { AlertDialog as U, AlertDialogAction as W, AlertDialogCancel as G, AlertDialogContent as K, AlertDialogDescription as q, AlertDialogFooter as J, AlertDialogHeader as Y, AlertDialogOverlay as X, AlertDialogPortal as Z, AlertDialogTitle as Q, AlertDialogTrigger as $ } from "./components/overlays/alert-dialog.js";
|
|
22
|
+
import { Dialog as ee, DialogClose as te, DialogContent as ne, DialogDescription as re, DialogFooter as ie, DialogHeader as ae, DialogOverlay as oe, DialogPortal as se, DialogTitle as ce, DialogTrigger as le } from "./components/overlays/dialog.js";
|
|
23
|
+
import { DropdownMenu as ue, DropdownMenuCheckboxItem as de, DropdownMenuContent as fe, DropdownMenuGroup as pe, DropdownMenuItem as me, DropdownMenuLabel as he, DropdownMenuPortal as ge, DropdownMenuRadioGroup as _e, DropdownMenuRadioItem as ve, DropdownMenuSeparator as ye, DropdownMenuShortcut as be, DropdownMenuSub as xe, DropdownMenuSubContent as Se, DropdownMenuSubTrigger as Ce, DropdownMenuTrigger as we } from "./components/overlays/dropdown-menu.js";
|
|
24
|
+
import { Lightbox as Te, LightboxClose as Ee, LightboxContent as De, LightboxFooter as Oe, LightboxOverlay as ke, LightboxPortal as Ae, LightboxTrigger as je } from "./components/overlays/lightbox.js";
|
|
25
|
+
import { Popover as Me, PopoverClose as Ne, PopoverContent as Pe, PopoverDescription as Fe, PopoverTitle as Ie, PopoverTrigger as Le, usePopoverClose as Re } from "./components/overlays/popover.js";
|
|
26
|
+
import { Code as ze } from "./components/typography/code.js";
|
|
27
|
+
import { Heading as Be, headingVariants as Ve } from "./components/typography/heading.js";
|
|
28
|
+
import { List as He, ListItem as Ue, listVariants as We } from "./components/typography/list.js";
|
|
29
|
+
import { ScrollArea as Ge, ScrollBar as Ke } from "./components/containment/scroll-area.js";
|
|
30
|
+
import { Table as qe, TableBody as Je, TableCell as Ye, TableHead as Xe, TableHeader as Ze, TableRow as Qe } from "./components/containment/table.js";
|
|
31
|
+
import { Tabs as $e, TabsContent as et, TabsList as tt, TabsTrigger as nt } from "./components/containment/tabs.js";
|
|
32
|
+
import rt from "./components/effects/react-bits/fade-content.js";
|
|
33
|
+
import { Skeleton as it } from "./components/feedback/skeleton.js";
|
|
34
|
+
import { StatusDot as at, statusDotVariants as ot } from "./components/feedback/status-dot.js";
|
|
35
|
+
import { Select as st, SelectContent as ct, SelectGroup as lt, SelectItem as ut, SelectLabel as dt, SelectScrollDownButton as ft, SelectScrollUpButton as pt, SelectSeparator as mt, SelectTrigger as ht, SelectValue as gt } from "./components/forms/select.js";
|
|
36
|
+
import { Slider as _t } from "./components/forms/slider.js";
|
|
37
|
+
import { Swatch as vt, SwatchGroup as yt, swatchFillVariants as bt, swatchGroupVariants as xt, swatchIndicatorVariants as St, swatchVariants as Ct } from "./components/forms/swatch.js";
|
|
38
|
+
import { Switch as wt } from "./components/forms/switch.js";
|
|
39
|
+
import { Textarea as Tt } from "./components/forms/textarea.js";
|
|
40
|
+
import { Text as Et, textVariants as Dt } from "./components/typography/text.js";
|
|
41
|
+
import { TimePicker as Ot } from "./components/forms/time-picker.js";
|
|
42
|
+
import { TimezonePicker as kt, listTimezones as At } from "./components/forms/timezone-picker.js";
|
|
43
|
+
import { Toggle as jt, ToggleGroup as Mt, toggleGroupVariants as Nt, toggleVariants as Pt } from "./components/forms/toggle.js";
|
|
44
|
+
import { SegmentedControl as Ft, SegmentedControlItem as It, ToggleCard as Lt, ToggleCardGroup as Rt, segmentedControlItemVariants as zt, segmentedControlVariants as Bt, toggleCardGroupVariants as Vt, toggleCardVariants as Ht } from "./components/forms/toggle-card.js";
|
|
45
|
+
import { Stack as Ut, stackVariants as Wt } from "./components/layout/stack.js";
|
|
46
|
+
import { Sheet as Gt, SheetClose as Kt, SheetContent as qt, SheetDescription as Jt, SheetFooter as Yt, SheetHeader as Xt, SheetOverlay as Zt, SheetPortal as Qt, SheetTitle as $t, SheetTrigger as en } from "./components/overlays/sheet.js";
|
|
47
|
+
import { Tooltip as tn, TooltipContent as nn, TooltipProvider as rn, TooltipTrigger as an } from "./components/overlays/tooltip.js";
|
|
48
|
+
import { TextLink as on } from "./components/typography/text-link.js";
|
|
49
|
+
import { BoardIcon as sn } from "./components/chrome/board-icon.js";
|
|
50
|
+
import { BoardSelector as cn } from "./components/chrome/board-selector.js";
|
|
51
|
+
import { Breadcrumb as ln, BreadcrumbEllipsis as un, BreadcrumbItem as dn, BreadcrumbLink as fn, BreadcrumbList as pn, BreadcrumbPage as mn, BreadcrumbSeparator as hn } from "./components/chrome/breadcrumb.js";
|
|
52
|
+
import { FIESTA_ICON_DATA_URI as gn, FIESTA_ICON_PALETTE as _n, FIESTA_ICON_SVG as vn, FiestaIcon as yn } from "./components/chrome/fiesta-icon.js";
|
|
53
|
+
import { FiestaLogo as bn } from "./components/chrome/fiesta-logo.js";
|
|
54
|
+
import { LanguageSelector as xn } from "./components/chrome/language-selector.js";
|
|
55
|
+
import { MainContent as Sn } from "./components/chrome/main-content.js";
|
|
56
|
+
import { NavList as Cn, NavListItem as wn, NavListLink as Tn, NavListSection as En, NavListSectionContent as Dn, NavListSectionTrigger as On } from "./components/chrome/nav-list.js";
|
|
57
|
+
import { PAGE_HUES as kn, PageHeader as An, PageIconGradientDefs as jn, pageHue as Mn } from "./components/chrome/page-header.js";
|
|
58
|
+
import { PageLayout as Nn } from "./components/chrome/page-layout.js";
|
|
59
|
+
import { PageToolbar as Pn } from "./components/chrome/page-toolbar.js";
|
|
60
|
+
import { Sidebar as Fn } from "./components/chrome/sidebar.js";
|
|
61
|
+
import { SkipToContent as In } from "./components/chrome/skip-to-content.js";
|
|
62
|
+
import { ThemeToggle as Ln } from "./components/chrome/theme-toggle.js";
|
|
63
|
+
import { WizardProgress as Rn } from "./components/wizard/wizard-progress.js";
|
|
64
|
+
import { ALL_COLOR_CODES as zn, AVAILABLE_COLORS as Bn, BOARD_COLORS as Vn, COLOR_CODE_MAP as Hn, COLOR_DISPLAY as Un, FIESTABOARD_COLORS as Wn, getBoardColor as Gn, isValidBoardColor as Kn, resolveColorCode as qn } from "./lib/board-colors.js";
|
|
65
|
+
import { BOARD_CHARS as Jn, EXTRA_CHARS as Yn, getCharFromToken as Xn, getCharIndex as Zn, isColorTile as Qn, messageToGrid as $n, messageToText as er, parseLine as tr, resolveCode62Glyph as nr, tokensEqual as rr } from "./lib/board-characters.js";
|
|
66
|
+
import { BoardTeaser as ir } from "./components/board/board-teaser.js";
|
|
67
|
+
import { BoardBackdrop as ar } from "./components/board/board-backdrop.js";
|
|
68
|
+
import { WizardShell as or } from "./components/wizard/wizard-shell.js";
|
|
69
|
+
import { DEVICE_DIMENSIONS as sr, MAX_NOTES_PER_AXIS as cr, NOTE_COLS as lr, NOTE_ROWS as ur, isNoteArray as dr, noteArrayDimensions as fr, resolveDimensions as pr } from "./lib/board-dimensions.js";
|
|
70
|
+
import { BoardDisplay as mr, FLAP_SPEED_PRESETS as hr, deriveFlapTiming as gr, resolveFlapSpeed as _r } from "./components/board/board-display.js";
|
|
71
|
+
import { ScaledBoardDisplay as vr } from "./components/board/scaled-board-display.js";
|
|
72
|
+
import { StaticBoardDisplay as yr } from "./components/board/static-board-display.js";
|
|
73
|
+
import { DEFAULT_SHAPE_LABELS as br, previewLabel as xr, previewLabels as Sr, previewMessage as Cr } from "./lib/board-previews.js";
|
|
74
|
+
import { BarList as wr } from "./components/data/bar-list.js";
|
|
75
|
+
import { StatStrip as Tr, StatStripItem as Er } from "./components/data/stat-strip.js";
|
|
76
|
+
import { BoardShowcase as Dr, DEFAULT_SHOWCASE_LABELS as Or } from "./components/plugin/board-showcase.js";
|
|
77
|
+
import { PLUGIN_CATEGORIES as kr, PluginCategoryBadge as Ar } from "./components/plugin/plugin-category-badge.js";
|
|
78
|
+
import { ScaledBoardTeaser as jr } from "./components/plugin/scaled-board-teaser.js";
|
|
79
|
+
import { PluginCard as Mr } from "./components/plugin/plugin-card.js";
|
|
80
|
+
import { BOARD_CODE_TO_COLOR as Nr, BOARD_COLOR_CODES as Pr, CURSOR_ANCHOR as Fr, DEFAULT_BOARD_LINES as Ir, DEFAULT_BOARD_WIDTH as Lr, FILL_SPACE_REPEAT_VAR as Rr, FILL_SPACE_VAR as zr } from "./components/editor/constants.js";
|
|
81
|
+
import { NodeViewInjectionProvider as Br, useNodeViewInjection as Vr } from "./components/editor/node-views/node-view-context.js";
|
|
82
|
+
import { ColorTileNodeView as Hr, DEFAULT_COLOR_TILE_NODE_VIEW_LABELS as Ur } from "./components/editor/node-views/color-tile-node-view.js";
|
|
83
|
+
import { ColorTileNode as Wr } from "./components/editor/extensions/color-tile-node.js";
|
|
84
|
+
import { DEFAULT_FILL_SPACE_NODE_VIEW_LABELS as Gr, FillSpaceNodeView as Kr } from "./components/editor/node-views/fill-space-node-view.js";
|
|
85
|
+
import { FillSpaceNode as qr } from "./components/editor/extensions/fill-space-node.js";
|
|
86
|
+
import { DEFAULT_FORMULA_NODE_VIEW_LABELS as Jr, FormulaNodeView as Yr } from "./components/editor/node-views/formula-node-view.js";
|
|
87
|
+
import { FormulaNode as Xr } from "./components/editor/extensions/formula-node.js";
|
|
88
|
+
import { LineNavigation as Zr } from "./components/editor/extensions/line-navigation.js";
|
|
89
|
+
import { SingleParagraphDoc as Qr } from "./components/editor/extensions/single-paragraph-doc.js";
|
|
90
|
+
import { TrailingNewline as $r } from "./components/editor/extensions/trailing-newline.js";
|
|
91
|
+
import { DEFAULT_VARIABLE_NODE_VIEW_LABELS as ei, VariableNodeView as ti } from "./components/editor/node-views/variable-node-view.js";
|
|
92
|
+
import { VariableNode as ni } from "./components/editor/extensions/variable-node.js";
|
|
93
|
+
import { DEFAULT_WRAPPED_TEXT_VIEW_LABELS as ri, WrappedTextView as ii } from "./components/editor/node-views/wrapped-text-view.js";
|
|
94
|
+
import { WrappedTextNode as ai } from "./components/editor/extensions/wrapped-text-node.js";
|
|
95
|
+
import { ColorPickerContent as oi, DEFAULT_COLOR_PICKER_LABELS as si } from "./components/editor/color-picker-content.js";
|
|
96
|
+
import { DRAW_CHARS as ci, brushToCell as li, cellsToLine as ui, isPositionalLine as di, lineToCells as fi, paintLine as pi, renderPositionalLine as mi } from "./components/editor/utils/draw-mode.js";
|
|
97
|
+
import { DEFAULT_DRAW_CHAR_PICKER_LABELS as hi, DrawCharPickerContent as gi } from "./components/editor/draw-char-picker-content.js";
|
|
98
|
+
import { DEFAULT_FORMATTING_PICKER_LABELS as _i, FormattingPickerContent as vi } from "./components/editor/formatting-picker-content.js";
|
|
99
|
+
import { DEFAULT_TOOLBAR_DROPDOWN_LABELS as yi, ToolbarDropdown as bi } from "./components/editor/toolbar-dropdown.js";
|
|
100
|
+
import { parseLineContent as xi, parseTemplateSimple as Si, serializeTemplateSimple as Ci } from "./components/editor/utils/serialization.js";
|
|
101
|
+
import { insertTemplateContent as wi } from "./components/editor/utils/insertion.js";
|
|
102
|
+
import { DEFAULT_TEMPLATE_EDITOR_TOOLBAR_LABELS as Ti, TemplateEditorToolbar as Ei } from "./components/editor/template-editor-toolbar.js";
|
|
103
|
+
import { buildStrokeTransaction as Di, lineRanges as Oi } from "./components/editor/utils/stroke-transaction.js";
|
|
104
|
+
import { DEFAULT_TEMPLATE_EDITOR_LABELS as ki, TemplateEditor as Ai } from "./components/editor/template-editor.js";
|
|
105
|
+
import { DEFAULT_FILTER_PICKER_LABELS as ji, FilterPickerContent as Mi } from "./components/editor/filter-picker-content.js";
|
|
106
|
+
import { DEFAULT_VARIABLE_PICKER_LABELS as Ni, VariablePickerContent as Pi, createLucideIconResolver as Fi, getPluginsWithNestedArrays as Ii } from "./components/editor/variable-picker-content.js";
|
|
107
|
+
import { calculateLineLength as Li, getOverflowAmount as Ri, willOverflow as zi } from "./components/editor/utils/length-calculator.js";
|
|
108
|
+
export { zn as ALL_COLOR_CODES, Bn as AVAILABLE_COLORS, t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger, x as Alert, S as AlertDescription, U as AlertDialog, W as AlertDialogAction, G as AlertDialogCancel, K as AlertDialogContent, q as AlertDialogDescription, J as AlertDialogFooter, Y as AlertDialogHeader, X as AlertDialogOverlay, Z as AlertDialogPortal, Q as AlertDialogTitle, $ as AlertDialogTrigger, C as AlertTitle, Jn as BOARD_CHARS, Nr as BOARD_CODE_TO_COLOR, Vn as BOARD_COLORS, Pr as BOARD_COLOR_CODES, T as Badge, wr as BarList, ar as BoardBackdrop, mr as BoardDisplay, sn as BoardIcon, cn as BoardSelector, Dr as BoardShowcase, ir as BoardTeaser, R as Box, ln as Breadcrumb, un as BreadcrumbEllipsis, dn as BreadcrumbItem, fn as BreadcrumbLink, pn as BreadcrumbList, mn as BreadcrumbPage, hn as BreadcrumbSeparator, M as Button, Hn as COLOR_CODE_MAP, Un as COLOR_DISPLAY, Fr as CURSOR_ANCHOR, a as Card, o as CardAction, s as CardContent, c as CardDescription, l as CardFooter, u as CardHeader, d as CardTitle, P as Checkbox, D as Chip, ze as Code, f as Collapsible, p as CollapsibleContent, m as CollapsibleTrigger, oi as ColorPickerContent, Wr as ColorTileNode, Hr as ColorTileNodeView, Ir as DEFAULT_BOARD_LINES, Lr as DEFAULT_BOARD_WIDTH, si as DEFAULT_COLOR_PICKER_LABELS, Ur as DEFAULT_COLOR_TILE_NODE_VIEW_LABELS, hi as DEFAULT_DRAW_CHAR_PICKER_LABELS, Gr as DEFAULT_FILL_SPACE_NODE_VIEW_LABELS, ji as DEFAULT_FILTER_PICKER_LABELS, _i as DEFAULT_FORMATTING_PICKER_LABELS, Jr as DEFAULT_FORMULA_NODE_VIEW_LABELS, br as DEFAULT_SHAPE_LABELS, Or as DEFAULT_SHOWCASE_LABELS, ki as DEFAULT_TEMPLATE_EDITOR_LABELS, Ti as DEFAULT_TEMPLATE_EDITOR_TOOLBAR_LABELS, yi as DEFAULT_TOOLBAR_DROPDOWN_LABELS, ei as DEFAULT_VARIABLE_NODE_VIEW_LABELS, Ni as DEFAULT_VARIABLE_PICKER_LABELS, ri as DEFAULT_WRAPPED_TEXT_VIEW_LABELS, sr as DEVICE_DIMENSIONS, ci as DRAW_CHARS, ee as Dialog, te as DialogClose, ne as DialogContent, re as DialogDescription, ie as DialogFooter, ae as DialogHeader, oe as DialogOverlay, se as DialogPortal, ce as DialogTitle, le as DialogTrigger, gi as DrawCharPickerContent, ue as DropdownMenu, de as DropdownMenuCheckboxItem, fe as DropdownMenuContent, pe as DropdownMenuGroup, me as DropdownMenuItem, he as DropdownMenuLabel, ge as DropdownMenuPortal, _e as DropdownMenuRadioGroup, ve as DropdownMenuRadioItem, ye as DropdownMenuSeparator, be as DropdownMenuShortcut, xe as DropdownMenuSub, Se as DropdownMenuSubContent, Ce as DropdownMenuSubTrigger, we as DropdownMenuTrigger, Yn as EXTRA_CHARS, k as EmptyState, Wn as FIESTABOARD_COLORS, gn as FIESTA_ICON_DATA_URI, _n as FIESTA_ICON_PALETTE, vn as FIESTA_ICON_SVG, Rr as FILL_SPACE_REPEAT_VAR, zr as FILL_SPACE_VAR, hr as FLAP_SPEED_PRESETS, rt as FadeContent, yn as FiestaIcon, bn as FiestaLogo, qr as FillSpaceNode, Kr as FillSpaceNodeView, Mi as FilterPickerContent, z as Flex, vi as FormattingPickerContent, Xr as FormulaNode, Yr as FormulaNodeView, V as Grid, Be as Heading, h as IconTile, F as Input, _ as JsonTree, I as Label, xn as LanguageSelector, Te as Lightbox, Ee as LightboxClose, De as LightboxContent, Oe as LightboxFooter, ke as LightboxOverlay, Ae as LightboxPortal, je as LightboxTrigger, Zr as LineNavigation, He as List, Ue as ListItem, cr as MAX_NOTES_PER_AXIS, Sn as MainContent, v as MediaFrame, y as MediaFrameBar, b as MediaFrameMedia, lr as NOTE_COLS, ur as NOTE_ROWS, Cn as NavList, wn as NavListItem, Tn as NavListLink, En as NavListSection, Dn as NavListSectionContent, On as NavListSectionTrigger, Br as NodeViewInjectionProvider, kn as PAGE_HUES, kr as PLUGIN_CATEGORIES, An as PageHeader, jn as PageIconGradientDefs, Nn as PageLayout, Pn as PageToolbar, Mr as PluginCard, Ar as PluginCategoryBadge, Me as Popover, Ne as PopoverClose, Pe as PopoverContent, Fe as PopoverDescription, Ie as PopoverTitle, Le as PopoverTrigger, vr as ScaledBoardDisplay, jr as ScaledBoardTeaser, Ge as ScrollArea, Ke as ScrollBar, L as SecretInput, Ft as SegmentedControl, It as SegmentedControlItem, st as Select, ct as SelectContent, lt as SelectGroup, ut as SelectItem, dt as SelectLabel, ft as SelectScrollDownButton, pt as SelectScrollUpButton, mt as SelectSeparator, ht as SelectTrigger, gt as SelectValue, Gt as Sheet, Kt as SheetClose, qt as SheetContent, Jt as SheetDescription, Yt as SheetFooter, Xt as SheetHeader, Zt as SheetOverlay, Qt as SheetPortal, $t as SheetTitle, en as SheetTrigger, Fn as Sidebar, Qr as SingleParagraphDoc, it as Skeleton, In as SkipToContent, _t as Slider, A as Spinner, Ut as Stack, Tr as StatStrip, Er as StatStripItem, yr as StaticBoardDisplay, at as StatusDot, vt as Swatch, yt as SwatchGroup, wt as Switch, qe as Table, Je as TableBody, Ye as TableCell, Xe as TableHead, Ze as TableHeader, Qe as TableRow, $e as Tabs, et as TabsContent, tt as TabsList, nt as TabsTrigger, Ai as TemplateEditor, Ei as TemplateEditorToolbar, Et as Text, on as TextLink, Tt as Textarea, Ln as ThemeToggle, Ot as TimePicker, kt as TimezonePicker, jt as Toggle, Lt as ToggleCard, Rt as ToggleCardGroup, Mt as ToggleGroup, bi as ToolbarDropdown, tn as Tooltip, nn as TooltipContent, rn as TooltipProvider, an as TooltipTrigger, $r as TrailingNewline, ni as VariableNode, ti as VariableNodeView, Pi as VariablePickerContent, Rn as WizardProgress, or as WizardShell, ai as WrappedTextNode, ii as WrappedTextView, w as alertVariants, E as badgeVariants, li as brushToCell, Di as buildStrokeTransaction, N as buttonVariants, Li as calculateLineLength, ui as cellsToLine, O as chipVariants, e as cn, Fi as createLucideIconResolver, gr as deriveFlapTiming, B as flexVariants, Gn as getBoardColor, Xn as getCharFromToken, Zn as getCharIndex, Ri as getOverflowAmount, Ii as getPluginsWithNestedArrays, H as gridVariants, Ve as headingVariants, g as iconTileVariants, wi as insertTemplateContent, Qn as isColorTile, dr as isNoteArray, di as isPositionalLine, Kn as isValidBoardColor, Oi as lineRanges, fi as lineToCells, At as listTimezones, We as listVariants, $n as messageToGrid, er as messageToText, fr as noteArrayDimensions, Mn as pageHue, pi as paintLine, tr as parseLine, xi as parseLineContent, Si as parseTemplateSimple, xr as previewLabel, Sr as previewLabels, Cr as previewMessage, mi as renderPositionalLine, nr as resolveCode62Glyph, qn as resolveColorCode, pr as resolveDimensions, _r as resolveFlapSpeed, zt as segmentedControlItemVariants, Bt as segmentedControlVariants, Ci as serializeTemplateSimple, j as spinnerVariants, Wt as stackVariants, ot as statusDotVariants, bt as swatchFillVariants, xt as swatchGroupVariants, St as swatchIndicatorVariants, Ct as swatchVariants, Dt as textVariants, Vt as toggleCardGroupVariants, Ht as toggleCardVariants, Nt as toggleGroupVariants, Pt as toggleVariants, rr as tokensEqual, Vr as useNodeViewInjection, Re as usePopoverClose, zi as willOverflow };
|