@fiestaboard/ui 2.0.1 → 2.0.3
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/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/alert.js +7 -7
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/code.js +1 -1
- package/dist/components/ui/code.js.map +1 -1
- package/dist/components/ui/dialog.js +3 -7
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/heading.js +1 -1
- package/dist/components/ui/heading.js.map +1 -1
- package/dist/components/ui/overlay-close.d.ts +27 -0
- package/dist/components/ui/overlay-close.js +29 -0
- package/dist/components/ui/overlay-close.js.map +1 -0
- package/dist/components/ui/sheet.js +3 -7
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/index.js +62 -62
- package/dist/theme.css +7 -5
- package/package.json +1 -1
|
@@ -6,4 +6,4 @@ declare const alertVariants: (props?: ({
|
|
|
6
6
|
declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element;
|
|
7
7
|
declare function AlertTitle({ className, ...props }: React.ComponentProps<"h5">): React.JSX.Element;
|
|
8
8
|
declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
9
|
-
export { Alert, AlertDescription, AlertTitle };
|
|
9
|
+
export { Alert, AlertDescription, AlertTitle, alertVariants };
|
|
@@ -5,11 +5,11 @@ import { cva as n } from "class-variance-authority";
|
|
|
5
5
|
//#region src/components/ui/alert.tsx
|
|
6
6
|
var r = n("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7", {
|
|
7
7
|
variants: { variant: {
|
|
8
|
-
default: "bg-
|
|
9
|
-
destructive: "border-destructive text-destructive [&>svg]:text-destructive",
|
|
10
|
-
info: "border-info text-info [&>svg]:text-info",
|
|
11
|
-
success: "border-success text-success [&>svg]:text-success",
|
|
12
|
-
warning: "border-warning text-warning [&>svg]:text-warning"
|
|
8
|
+
default: "bg-muted text-foreground",
|
|
9
|
+
destructive: "border-destructive bg-destructive/8 text-destructive [&>svg]:text-destructive",
|
|
10
|
+
info: "border-info bg-info/8 text-info [&>svg]:text-info",
|
|
11
|
+
success: "border-success bg-success/8 text-success [&>svg]:text-success",
|
|
12
|
+
warning: "border-warning bg-warning/8 text-warning [&>svg]:text-warning"
|
|
13
13
|
} },
|
|
14
14
|
defaultVariants: { variant: "default" }
|
|
15
15
|
});
|
|
@@ -24,7 +24,7 @@ function i({ className: n, variant: i, ...a }) {
|
|
|
24
24
|
function a({ className: n, ...r }) {
|
|
25
25
|
return /* @__PURE__ */ t("h5", {
|
|
26
26
|
"data-slot": "alert-title",
|
|
27
|
-
className: e("mb-1 font-semibold leading-
|
|
27
|
+
className: e("mb-1 font-semibold leading-tight tracking-tight", n),
|
|
28
28
|
...r
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -36,6 +36,6 @@ function o({ className: n, ...r }) {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
export { i as Alert, o as AlertDescription, a as AlertTitle };
|
|
39
|
+
export { i as Alert, o as AlertDescription, a as AlertTitle, r as alertVariants };
|
|
40
40
|
|
|
41
41
|
//# sourceMappingURL=alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","names":[],"sources":["../../../src/components/ui/alert.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"alert.js","names":[],"sources":["../../../src/components/ui/alert.tsx"],"mappings":";;;;;AAqBA,IAAM,IAAgB,EACpB,2KACA;CACE,UAAU,EACR,SAAS;EAKP,SAAS;EACT,aAAa;EACb,MAAM;EACN,SAAS;EACT,SAAS;CACX,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CACF;AAEA,SAAS,EAAM,EAAE,cAAW,YAAS,GAAG,KAA2E;CACjH,OAAO,kBAAC,OAAD;EAAK,aAAU;EAAQ,MAAK;EAAQ,WAAW,EAAG,EAAc,EAAE,WAAQ,CAAC,GAAG,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAIA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAqC;CACvE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,mDAAmD,CAAS;EAC1E,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAiB,EAAE,cAAW,GAAG,KAAsC;CAC9E,OAAO,kBAAC,OAAD;EAAK,aAAU;EAAoB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AACnH"}
|
|
@@ -5,7 +5,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
5
5
|
function n({ className: n, ...r }) {
|
|
6
6
|
return /* @__PURE__ */ t("code", {
|
|
7
7
|
"data-slot": "code",
|
|
8
|
-
className: e("rounded bg-muted px-1.5 py-0.5 font-mono text-xs text-foreground", n),
|
|
8
|
+
className: e("rounded-sm bg-muted px-1.5 py-0.5 font-mono text-xs text-foreground", n),
|
|
9
9
|
...r
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code.js","names":[],"sources":["../../../src/components/ui/code.tsx"],"mappings":";;;;AASA,SAAS,EAAK,EAAE,cAAW,GAAG,KAAuC;CACnE,OACE,kBAAC,QAAD;EACE,aAAU;EACV,WAAW,EAAG,
|
|
1
|
+
{"version":3,"file":"code.js","names":[],"sources":["../../../src/components/ui/code.tsx"],"mappings":";;;;AASA,SAAS,EAAK,EAAE,cAAW,GAAG,KAAuC;CACnE,OACE,kBAAC,QAAD;EACE,aAAU;EACV,WAAW,EAAG,uEAAuE,CAAS;EAC9F,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import { OverlayClose as t } from "./overlay-close.js";
|
|
4
4
|
import * as n from "react";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
import { Dialog as a } from "@base-ui/react/dialog";
|
|
@@ -33,13 +33,9 @@ function d({ className: n, children: o, ...s }) {
|
|
|
33
33
|
"data-slot": "dialog-content",
|
|
34
34
|
className: e("fixed left-[50%] top-[50%] z-[var(--z-modal)] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-modal duration-200 data-[open]:animate-in data-[ending-style]:animate-out data-[ending-style]:fade-out-0 data-[open]:fade-in-0 data-[ending-style]:zoom-out-95 data-[open]:zoom-in-95 data-[ending-style]:slide-out-to-left-1/2 data-[ending-style]:slide-out-to-top-[48%] data-[open]:slide-in-from-left-1/2 data-[open]:slide-in-from-top-[48%] sm:rounded-lg", n),
|
|
35
35
|
...s,
|
|
36
|
-
children: [o, /* @__PURE__ */
|
|
36
|
+
children: [o, /* @__PURE__ */ r(t, {
|
|
37
37
|
"data-slot": "dialog-close",
|
|
38
|
-
|
|
39
|
-
children: [/* @__PURE__ */ r(t, { className: "h-4 w-4" }), /* @__PURE__ */ r("span", {
|
|
40
|
-
className: "sr-only",
|
|
41
|
-
children: "Close"
|
|
42
|
-
})]
|
|
38
|
+
size: "sm"
|
|
43
39
|
})]
|
|
44
40
|
})] });
|
|
45
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","names":[],"sources":["../../../src/components/ui/dialog.tsx"],"mappings":";;;;;;;AAQA,IAAM,IAAS,EAAgB;AAE/B,SAAS,EAAc,EACrB,aAAU,IACV,aACA,GAAG,KAC4E;CAC/E,OACE,kBAAC,EAAgB,SAAjB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;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AAU;EACV,WAAW,EACT,2JACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EAAE,cAAW,aAAU,GAAG,KAA6D;CAC5G,OACE,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,CAAgB,CAAA,GAChB,kBAAC,EAAgB,OAAjB;EACE,aAAU;EACV,WAAW,EACT,kfACA,CACF;EACA,GAAI;EANN,UAAA,CAQG,GAGD,kBAAC,GAAD;GAAc,aAAU;GAAe,MAAK;EAAM,CAAA,CAC7B;CACX,CAAA,CAAA,EAAA,CAAA;AAElB;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAsC;CAC1E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,sDAAsD,CAAS;EAC7E,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAsC;CAC1E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,iEAAiE,CAAS;EACxF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAA6D;CAChG,OACE,kBAAC,EAAgB,OAAjB;EACE,aAAU;EACV,WAAW,EAAG,qDAAqD,CAAS;EAC5E,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EAAE,cAAW,GAAG,KAAmE;CAC5G,OACE,kBAAC,EAAgB,aAAjB;EACE,aAAU;EACV,WAAW,EAAG,iCAAiC,CAAS;EACxD,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
import { cva as n } from "class-variance-authority";
|
|
5
5
|
//#region src/components/ui/heading.tsx
|
|
6
|
-
var r = n("font-semibold leading-
|
|
6
|
+
var r = n("font-semibold leading-tight tracking-tight text-foreground", {
|
|
7
7
|
variants: { size: {
|
|
8
8
|
sm: "text-sm",
|
|
9
9
|
base: "text-base",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.js","names":[],"sources":["../../../src/components/ui/heading.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"heading.js","names":[],"sources":["../../../src/components/ui/heading.tsx"],"mappings":";;;;;AAQA,IAAM,IAAkB,EAAI,8DAA8D;CACxF,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,MAAM;EACN,IAAI;EACJ,IAAI;CACN,EACF;CACA,iBAAiB,EACf,MAAM,OACR;AACF,CAAC;AAcD,SAAS,EAAQ,EAAE,WAAQ,GAAG,SAAM,cAAW,GAAG,KAAuB;CACvE,IAAM,IAAY,IAAI;CACtB,OAAO,kBAAC,GAAD;EAAW,aAAU;EAAU,WAAW,EAAG,EAAgB,EAAE,QAAK,CAAC,GAAG,CAAS;EAAG,GAAI;CAAQ,CAAA;AACzG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* One dismiss affordance for every overlay surface: a filled circular chip
|
|
6
|
+
* pinned to the top-right of the popup. Sizes are a scale on this single
|
|
7
|
+
* design, not separate designs — `md` (40px) for roomy surfaces like Sheet,
|
|
8
|
+
* `sm` (32px) for the denser Dialog header. Both clear the WCAG 2.2 SC 2.5.8
|
|
9
|
+
* 24x24 minimum, which the pre-unification 16px bare Dialog icon did not.
|
|
10
|
+
*/
|
|
11
|
+
declare const overlayCloseVariants: (props?: ({
|
|
12
|
+
size?: "sm" | "md" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
+
interface OverlayCloseProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Close>, "children">, VariantProps<typeof overlayCloseVariants> {
|
|
15
|
+
/** Visually hidden accessible name for the button. Never render it empty. */
|
|
16
|
+
label?: string;
|
|
17
|
+
/** Overlay-specific slot hook (`dialog-close`, `sheet-close`, ...). */
|
|
18
|
+
"data-slot"?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Internal — not exported from the package barrel. It renders a Base UI
|
|
22
|
+
* `Dialog.Close`, so it only works inside a Dialog/Sheet root, and its
|
|
23
|
+
* `absolute right-4 top-4` placement assumes an overlay popup as the
|
|
24
|
+
* positioned ancestor. Overlays compose it; consumers use the overlay.
|
|
25
|
+
*/
|
|
26
|
+
declare function OverlayClose({ size, className, label, ...props }: OverlayCloseProps): React.JSX.Element;
|
|
27
|
+
export { OverlayClose, overlayCloseVariants };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import { X as t } from "lucide-react";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
|
+
import { cva as i } from "class-variance-authority";
|
|
7
|
+
import { Dialog as a } from "@base-ui/react/dialog";
|
|
8
|
+
//#region src/components/ui/overlay-close.tsx
|
|
9
|
+
var o = i("absolute right-4 top-4 flex items-center justify-center rounded-full bg-muted/80 transition-colors hover:bg-muted outline-none focus-visible:ring-ring/50 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50", {
|
|
10
|
+
variants: { size: {
|
|
11
|
+
sm: "size-8 [&_svg]:size-4",
|
|
12
|
+
md: "size-10 [&_svg]:size-5"
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { size: "md" }
|
|
15
|
+
});
|
|
16
|
+
function s({ size: i, className: s, label: c = "Close", ...l }) {
|
|
17
|
+
return /* @__PURE__ */ r(a.Close, {
|
|
18
|
+
className: e(o({ size: i }), s),
|
|
19
|
+
...l,
|
|
20
|
+
children: [/* @__PURE__ */ n(t, {}), /* @__PURE__ */ n("span", {
|
|
21
|
+
className: "sr-only",
|
|
22
|
+
children: c
|
|
23
|
+
})]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { s as OverlayClose, o as overlayCloseVariants };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=overlay-close.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-close.js","names":[],"sources":["../../../src/components/ui/overlay-close.tsx"],"mappings":";;;;;;;;AAgBA,IAAM,IAAuB,EAC3B,uOACA;CACE,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;CACN,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CACF;AAkBA,SAAS,EAAa,EAAE,SAAM,cAAW,WAAQ,SAAS,GAAG,KAA4B;CACvF,OACE,kBAAC,EAAgB,OAAjB;EAAuB,WAAW,EAAG,EAAqB,EAAE,QAAK,CAAC,GAAG,CAAS;EAAG,GAAI;EAArF,UAAA,CACE,kBAAC,GAAD,CAAI,CAAA,GACJ,kBAAC,QAAD;GAAM,WAAU;GAAW,UAAA;EAAY,CAAA,CAClB;;AAE3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import { OverlayClose as t } from "./overlay-close.js";
|
|
4
4
|
import * as n from "react";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
import { cva as a } from "class-variance-authority";
|
|
@@ -70,13 +70,9 @@ function g({ side: a = "right", className: s, children: c, onEscapeKeyDown: l, o
|
|
|
70
70
|
onKeyDown: g,
|
|
71
71
|
style: h[a ?? "right"],
|
|
72
72
|
...m,
|
|
73
|
-
children: [c, /* @__PURE__ */
|
|
73
|
+
children: [c, /* @__PURE__ */ r(t, {
|
|
74
74
|
"data-slot": "sheet-close",
|
|
75
|
-
|
|
76
|
-
children: [/* @__PURE__ */ r(t, { className: "h-5 w-5" }), /* @__PURE__ */ r("span", {
|
|
77
|
-
className: "sr-only",
|
|
78
|
-
children: "Close"
|
|
79
|
-
})]
|
|
75
|
+
size: "md"
|
|
80
76
|
})]
|
|
81
77
|
})] });
|
|
82
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.js","names":[],"sources":["../../../src/components/ui/sheet.tsx"],"mappings":";;;;;;;;AASA,IAAM,IAAQ,EAAe;AAE7B,SAAS,EAAa,EACpB,aAAU,IACV,aACA,GAAG,KAC2E;CAC9E,OACE,kBAAC,EAAe,SAAhB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAClB,aAAU,IACV,aACA,GAAG,KACyE;CAC5E,OACE,kBAAC,EAAe,OAAhB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAEA,IAAM,IAAc,EAAe,QAE7B,IAA2C,EAC/C,WAAW,sEACb;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAA+D;CACnG,OACE,kBAAC,EAAe,UAAhB;EACE,aAAU;EACV,WAAW,EAAG,+CAA+C,CAAS;EACtE,OAAO;EACP,GAAI;CACL,CAAA;AAEL;AAEA,IAAM,IAAgB,EAAI,iEAAiE;CACzF,UAAU,EACR,MAAM;EACJ,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;CACT,EACF;CACA,iBAAiB,EACf,MAAM,QACR;AACF,CAAC,GAIK,IAAqB,8DAOrB,IAA8D;CAClE,KAAK;EACH,WAAW,sBAAsB;EACjC,oBAAoB;EACpB,SAAS;CACX;CACA,QAAQ;EACN,WAAW,yBAAyB;EACpC,oBAAoB;EACpB,SAAS;CACX;CACA,MAAM;EACJ,WAAW,uBAAuB;EAClC,oBAAoB;EACpB,SAAS;CACX;CACA,OAAO;EACL,WAAW,wBAAwB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G,iEAAiE,CAAS;EACxF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAA4D;CAC9F,OACE,kBAAC,EAAe,OAAhB;EACE,aAAU;EACV,WAAW,EAAG,yCAAyC,CAAS;EAChE,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAiB,EAAE,cAAW,GAAG,KAAkE;CAC1G,OACE,kBAAC,EAAe,aAAhB;EACE,aAAU;EACV,WAAW,EAAG,iCAAiC,CAAS;EACxD,GAAI;CACL,CAAA;AAEL"}
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
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/ui/accordion.js";
|
|
3
|
-
import { Alert as a, AlertDescription as o, AlertTitle as s } from "./components/ui/alert.js";
|
|
4
|
-
import { Button as
|
|
5
|
-
import { AlertDialog as
|
|
6
|
-
import { Aurora as
|
|
7
|
-
import { Badge as
|
|
8
|
-
import { Box as
|
|
9
|
-
import { Card as
|
|
10
|
-
import { Checkbox as
|
|
11
|
-
import { Code as
|
|
12
|
-
import { Collapsible as
|
|
13
|
-
import { Dialog as
|
|
14
|
-
import { DropdownMenu as
|
|
15
|
-
import { EmptyState as
|
|
16
|
-
import { Flex as
|
|
17
|
-
import { Grid as
|
|
18
|
-
import { Heading as
|
|
19
|
-
import { Input as
|
|
20
|
-
import { Label as
|
|
21
|
-
import { List as
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import { ScrollArea as
|
|
25
|
-
import { Select as
|
|
26
|
-
import { Sheet as
|
|
27
|
-
import { Skeleton as
|
|
28
|
-
import { Slider as
|
|
29
|
-
import { Stack as
|
|
30
|
-
import { Switch as
|
|
31
|
-
import { Table as
|
|
32
|
-
import { Tabs as
|
|
33
|
-
import { Text as
|
|
34
|
-
import { TextLink as
|
|
35
|
-
import { Textarea as
|
|
36
|
-
import { Tooltip as
|
|
37
|
-
import { BoardIcon as
|
|
38
|
-
import { BoardSelector as
|
|
39
|
-
import { FIESTA_ICON_DATA_URI as
|
|
40
|
-
import { FiestaLogo as
|
|
41
|
-
import { LanguageSelector as
|
|
42
|
-
import { MainContent as
|
|
43
|
-
import { PageHeader as
|
|
44
|
-
import { PageLayout as
|
|
45
|
-
import { PageToolbar as
|
|
46
|
-
import { SidebarAurora as
|
|
47
|
-
import { SidebarAuroraHorizontal as
|
|
48
|
-
import { Sidebar as
|
|
49
|
-
import { SkipToContent as
|
|
50
|
-
import { ThemeToggle as
|
|
51
|
-
import { HIDE_FESTIVE_COOKIE as
|
|
52
|
-
import { ALL_COLOR_CODES as
|
|
53
|
-
import { BOARD_CHARS as
|
|
54
|
-
import { DEVICE_DIMENSIONS as
|
|
55
|
-
import { BoardDisplay as
|
|
56
|
-
import { BoardTeaser as
|
|
57
|
-
import { ScaledBoardDisplay as
|
|
58
|
-
import { StaticBoardDisplay as
|
|
59
|
-
import { DEFAULT_SHAPE_LABELS as
|
|
60
|
-
import { BoardShowcase as
|
|
61
|
-
import { PLUGIN_CATEGORIES as
|
|
62
|
-
import { ScaledBoardTeaser as
|
|
63
|
-
import { PluginCard as
|
|
64
|
-
export {
|
|
3
|
+
import { Alert as a, AlertDescription as o, AlertTitle as s, alertVariants as c } from "./components/ui/alert.js";
|
|
4
|
+
import { Button as l, buttonVariants as u } from "./components/ui/button.js";
|
|
5
|
+
import { AlertDialog as d, AlertDialogAction as f, AlertDialogCancel as p, AlertDialogContent as m, AlertDialogDescription as h, AlertDialogFooter as g, AlertDialogHeader as _, AlertDialogOverlay as v, AlertDialogPortal as y, AlertDialogTitle as b, AlertDialogTrigger as x } from "./components/ui/alert-dialog.js";
|
|
6
|
+
import { Aurora as S } from "./components/ui/aurora.js";
|
|
7
|
+
import { Badge as C, badgeVariants as w } from "./components/ui/badge.js";
|
|
8
|
+
import { Box as T } from "./components/ui/box.js";
|
|
9
|
+
import { Card as E, CardAction as D, CardContent as O, CardDescription as k, CardFooter as A, CardHeader as j, CardTitle as M } from "./components/ui/card.js";
|
|
10
|
+
import { Checkbox as N } from "./components/ui/checkbox.js";
|
|
11
|
+
import { Code as P } from "./components/ui/code.js";
|
|
12
|
+
import { Collapsible as F, CollapsibleContent as I, CollapsibleTrigger as L } from "./components/ui/collapsible.js";
|
|
13
|
+
import { Dialog as R, DialogClose as z, DialogContent as B, DialogDescription as V, DialogFooter as H, DialogHeader as U, DialogOverlay as W, DialogPortal as G, DialogTitle as K, DialogTrigger as q } from "./components/ui/dialog.js";
|
|
14
|
+
import { DropdownMenu as J, DropdownMenuCheckboxItem as Y, DropdownMenuContent as X, DropdownMenuGroup as Z, DropdownMenuItem as Q, DropdownMenuLabel as $, DropdownMenuPortal as ee, DropdownMenuRadioGroup as te, DropdownMenuRadioItem as ne, DropdownMenuSeparator as re, DropdownMenuShortcut as ie, DropdownMenuSub as ae, DropdownMenuSubContent as oe, DropdownMenuSubTrigger as se, DropdownMenuTrigger as ce } from "./components/ui/dropdown-menu.js";
|
|
15
|
+
import { EmptyState as le } from "./components/ui/empty-state.js";
|
|
16
|
+
import { Flex as ue, flexVariants as de } from "./components/ui/flex.js";
|
|
17
|
+
import { Grid as fe, gridVariants as pe } from "./components/ui/grid.js";
|
|
18
|
+
import { Heading as me, headingVariants as he } from "./components/ui/heading.js";
|
|
19
|
+
import { Input as ge } from "./components/ui/input.js";
|
|
20
|
+
import { Label as _e } from "./components/ui/label.js";
|
|
21
|
+
import { List as ve, ListItem as ye, listVariants as be } from "./components/ui/list.js";
|
|
22
|
+
import xe from "./components/ui/react-bits/decrypted-text.js";
|
|
23
|
+
import Se from "./components/ui/react-bits/fade-content.js";
|
|
24
|
+
import { ScrollArea as Ce, ScrollBar as we } from "./components/ui/scroll-area.js";
|
|
25
|
+
import { Select as Te, SelectContent as Ee, SelectGroup as De, SelectItem as Oe, SelectLabel as ke, SelectScrollDownButton as Ae, SelectScrollUpButton as je, SelectSeparator as Me, SelectTrigger as Ne, SelectValue as Pe } from "./components/ui/select.js";
|
|
26
|
+
import { Sheet as Fe, SheetClose as Ie, SheetContent as Le, SheetDescription as Re, SheetFooter as ze, SheetHeader as Be, SheetOverlay as Ve, SheetPortal as He, SheetTitle as Ue, SheetTrigger as We } from "./components/ui/sheet.js";
|
|
27
|
+
import { Skeleton as Ge } from "./components/ui/skeleton.js";
|
|
28
|
+
import { Slider as Ke } from "./components/ui/slider.js";
|
|
29
|
+
import { Stack as qe, stackVariants as Je } from "./components/ui/stack.js";
|
|
30
|
+
import { Switch as Ye } from "./components/ui/switch.js";
|
|
31
|
+
import { Table as Xe, TableBody as Ze, TableCell as Qe, TableHead as $e, TableHeader as et, TableRow as tt } from "./components/ui/table.js";
|
|
32
|
+
import { Tabs as nt, TabsContent as rt, TabsList as it, TabsTrigger as at } from "./components/ui/tabs.js";
|
|
33
|
+
import { Text as ot, textVariants as st } from "./components/ui/text.js";
|
|
34
|
+
import { TextLink as ct } from "./components/ui/text-link.js";
|
|
35
|
+
import { Textarea as lt } from "./components/ui/textarea.js";
|
|
36
|
+
import { Tooltip as ut, TooltipContent as dt, TooltipProvider as ft, TooltipTrigger as pt } from "./components/ui/tooltip.js";
|
|
37
|
+
import { BoardIcon as mt } from "./components/chrome/board-icon.js";
|
|
38
|
+
import { BoardSelector as ht } from "./components/chrome/board-selector.js";
|
|
39
|
+
import { FIESTA_ICON_DATA_URI as gt, FIESTA_ICON_PALETTE as _t, FIESTA_ICON_SVG as vt, FiestaIcon as yt } from "./components/chrome/fiesta-icon.js";
|
|
40
|
+
import { FiestaLogo as bt } from "./components/chrome/fiesta-logo.js";
|
|
41
|
+
import { LanguageSelector as xt } from "./components/chrome/language-selector.js";
|
|
42
|
+
import { MainContent as St } from "./components/chrome/main-content.js";
|
|
43
|
+
import { PageHeader as Ct, PageIconGradientDefs as wt } from "./components/chrome/page-header.js";
|
|
44
|
+
import { PageLayout as Tt } from "./components/chrome/page-layout.js";
|
|
45
|
+
import { PageToolbar as Et } from "./components/chrome/page-toolbar.js";
|
|
46
|
+
import { SidebarAurora as Dt } from "./components/seasons/sidebar-aurora.js";
|
|
47
|
+
import { SidebarAuroraHorizontal as Ot } from "./components/seasons/sidebar-aurora-horizontal.js";
|
|
48
|
+
import { Sidebar as kt } from "./components/chrome/sidebar.js";
|
|
49
|
+
import { SkipToContent as At } from "./components/chrome/skip-to-content.js";
|
|
50
|
+
import { ThemeToggle as jt } from "./components/chrome/theme-toggle.js";
|
|
51
|
+
import { HIDE_FESTIVE_COOKIE as Mt, PRIDE_SEASON as Nt, SEASONS as Pt, fireSeasonBurst as Ft, getActiveSeason as It, readCookieString as Lt, shouldShowPride as Rt, useActiveSeason as zt, usePrideActive as Bt } from "./lib/seasons.js";
|
|
52
|
+
import { ALL_COLOR_CODES as Vt, AVAILABLE_COLORS as Ht, BOARD_COLORS as Ut, COLOR_CODE_MAP as Wt, COLOR_DISPLAY as Gt, getBoardColor as Kt, isValidBoardColor as qt, resolveColorCode as Jt } from "./lib/board-colors.js";
|
|
53
|
+
import { BOARD_CHARS as Yt, EXTRA_CHARS as Xt, getCharFromToken as Zt, getCharIndex as Qt, isColorTile as $t, messageToGrid as en, parseLine as tn, tokensEqual as nn } from "./lib/board-characters.js";
|
|
54
|
+
import { DEVICE_DIMENSIONS as rn, MAX_NOTES_PER_AXIS as an, NOTE_COLS as on, NOTE_ROWS as sn, isNoteArray as cn, noteArrayDimensions as ln, resolveDimensions as un } from "./lib/board-dimensions.js";
|
|
55
|
+
import { BoardDisplay as dn } from "./components/board/board-display.js";
|
|
56
|
+
import { BoardTeaser as fn } from "./components/board/board-teaser.js";
|
|
57
|
+
import { ScaledBoardDisplay as pn } from "./components/board/scaled-board-display.js";
|
|
58
|
+
import { StaticBoardDisplay as mn } from "./components/board/static-board-display.js";
|
|
59
|
+
import { DEFAULT_SHAPE_LABELS as hn, previewLabel as gn, previewLabels as _n, previewMessage as vn } from "./lib/board-previews.js";
|
|
60
|
+
import { BoardShowcase as yn, DEFAULT_SHOWCASE_LABELS as bn } from "./components/plugin/board-showcase.js";
|
|
61
|
+
import { PLUGIN_CATEGORIES as xn, PluginCategoryBadge as Sn } from "./components/plugin/plugin-category-badge.js";
|
|
62
|
+
import { ScaledBoardTeaser as Cn } from "./components/plugin/scaled-board-teaser.js";
|
|
63
|
+
import { PluginCard as wn } from "./components/plugin/plugin-card.js";
|
|
64
|
+
export { Vt as ALL_COLOR_CODES, Ht as AVAILABLE_COLORS, t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger, a as Alert, o as AlertDescription, d as AlertDialog, f as AlertDialogAction, p as AlertDialogCancel, m as AlertDialogContent, h as AlertDialogDescription, g as AlertDialogFooter, _ as AlertDialogHeader, v as AlertDialogOverlay, y as AlertDialogPortal, b as AlertDialogTitle, x as AlertDialogTrigger, s as AlertTitle, S as Aurora, Yt as BOARD_CHARS, Ut as BOARD_COLORS, C as Badge, dn as BoardDisplay, mt as BoardIcon, ht as BoardSelector, yn as BoardShowcase, fn as BoardTeaser, T as Box, l as Button, Wt as COLOR_CODE_MAP, Gt as COLOR_DISPLAY, E as Card, D as CardAction, O as CardContent, k as CardDescription, A as CardFooter, j as CardHeader, M as CardTitle, N as Checkbox, P as Code, F as Collapsible, I as CollapsibleContent, L as CollapsibleTrigger, hn as DEFAULT_SHAPE_LABELS, bn as DEFAULT_SHOWCASE_LABELS, rn as DEVICE_DIMENSIONS, xe as DecryptedText, R as Dialog, z as DialogClose, B as DialogContent, V as DialogDescription, H as DialogFooter, U as DialogHeader, W as DialogOverlay, G as DialogPortal, K as DialogTitle, q as DialogTrigger, J as DropdownMenu, Y as DropdownMenuCheckboxItem, X as DropdownMenuContent, Z as DropdownMenuGroup, Q as DropdownMenuItem, $ as DropdownMenuLabel, ee as DropdownMenuPortal, te as DropdownMenuRadioGroup, ne as DropdownMenuRadioItem, re as DropdownMenuSeparator, ie as DropdownMenuShortcut, ae as DropdownMenuSub, oe as DropdownMenuSubContent, se as DropdownMenuSubTrigger, ce as DropdownMenuTrigger, Xt as EXTRA_CHARS, le as EmptyState, gt as FIESTA_ICON_DATA_URI, _t as FIESTA_ICON_PALETTE, vt as FIESTA_ICON_SVG, Se as FadeContent, yt as FiestaIcon, bt as FiestaLogo, ue as Flex, fe as Grid, Mt as HIDE_FESTIVE_COOKIE, me as Heading, ge as Input, _e as Label, xt as LanguageSelector, ve as List, ye as ListItem, an as MAX_NOTES_PER_AXIS, St as MainContent, on as NOTE_COLS, sn as NOTE_ROWS, xn as PLUGIN_CATEGORIES, Nt as PRIDE_SEASON, Ct as PageHeader, wt as PageIconGradientDefs, Tt as PageLayout, Et as PageToolbar, wn as PluginCard, Sn as PluginCategoryBadge, Pt as SEASONS, pn as ScaledBoardDisplay, Cn as ScaledBoardTeaser, Ce as ScrollArea, we as ScrollBar, Te as Select, Ee as SelectContent, De as SelectGroup, Oe as SelectItem, ke as SelectLabel, Ae as SelectScrollDownButton, je as SelectScrollUpButton, Me as SelectSeparator, Ne as SelectTrigger, Pe as SelectValue, Fe as Sheet, Ie as SheetClose, Le as SheetContent, Re as SheetDescription, ze as SheetFooter, Be as SheetHeader, Ve as SheetOverlay, He as SheetPortal, Ue as SheetTitle, We as SheetTrigger, kt as Sidebar, Dt as SidebarAurora, Ot as SidebarAuroraHorizontal, Ge as Skeleton, At as SkipToContent, Ke as Slider, qe as Stack, mn as StaticBoardDisplay, Ye as Switch, Xe as Table, Ze as TableBody, Qe as TableCell, $e as TableHead, et as TableHeader, tt as TableRow, nt as Tabs, rt as TabsContent, it as TabsList, at as TabsTrigger, ot as Text, ct as TextLink, lt as Textarea, jt as ThemeToggle, ut as Tooltip, dt as TooltipContent, ft as TooltipProvider, pt as TooltipTrigger, c as alertVariants, w as badgeVariants, u as buttonVariants, e as cn, Ft as fireSeasonBurst, de as flexVariants, It as getActiveSeason, Kt as getBoardColor, Zt as getCharFromToken, Qt as getCharIndex, pe as gridVariants, he as headingVariants, $t as isColorTile, cn as isNoteArray, qt as isValidBoardColor, be as listVariants, en as messageToGrid, ln as noteArrayDimensions, tn as parseLine, gn as previewLabel, _n as previewLabels, vn as previewMessage, Lt as readCookieString, Jt as resolveColorCode, un as resolveDimensions, Rt as shouldShowPride, Je as stackVariants, st as textVariants, nn as tokensEqual, zt as useActiveSeason, Bt as usePrideActive };
|
package/dist/theme.css
CHANGED
|
@@ -334,11 +334,11 @@
|
|
|
334
334
|
* parity is the contract — see file header).
|
|
335
335
|
*
|
|
336
336
|
* Role | token | = class | value | used by
|
|
337
|
-
* control-inset | --radius-control-inset | rounded-sm | 6px | items nested inside a rounded control/popover: dropdown & select items, tabs trigger,
|
|
337
|
+
* control-inset | --radius-control-inset | rounded-sm | 6px | items nested inside a rounded control/popover: dropdown & select items, tabs trigger, inline code
|
|
338
338
|
* control | --radius-control | rounded-md | 8px | buttons, input, textarea, select trigger, tabs list, skeleton, skip-link, and popover surfaces (dropdown/select/tooltip popups)
|
|
339
339
|
* surface | --radius-surface | rounded-lg | 10px | modal surfaces (dialog, alert-dialog), alert, sidebar nav pills
|
|
340
340
|
* card | --radius-card | rounded-xl | 12px | card, page-header icon tile
|
|
341
|
-
* pill | --radius-pill | rounded-full | ∞ | badge, switch, slider,
|
|
341
|
+
* pill | --radius-pill | rounded-full | ∞ | badge, switch, slider, overlay close (dialog + sheet), scroll-area thumb, sidebar edge toggle, empty-state icon
|
|
342
342
|
* chrome | --radius-chrome | (css/inline) | 14px | desktop sidebar shell + its aurora inset
|
|
343
343
|
* chrome-mobile | --radius-chrome-mobile | (css/inline) | 16px | mobile header/menu shell, its aurora inset, menu clip-path reveal
|
|
344
344
|
*
|
|
@@ -349,9 +349,11 @@
|
|
|
349
349
|
* The chrome radii are deliberately fixed px (not on the rem-based
|
|
350
350
|
* --radius chain): they match the aurora canvas insets exactly.
|
|
351
351
|
*
|
|
352
|
-
* Deliberately off-scale (left as-is):
|
|
353
|
-
*
|
|
354
|
-
*
|
|
352
|
+
* Deliberately off-scale (left as-is): pride-burst particle 2px,
|
|
353
|
+
* scroll-area viewport rounded-[inherit]. Both are arbitrary-value
|
|
354
|
+
* classes, which is exactly what the eslint.config.mjs guard on bare
|
|
355
|
+
* `rounded` / `rounded-none` in src/components allows through — so
|
|
356
|
+
* this list and that rule now describe the same set.
|
|
355
357
|
* ============================================================ */
|
|
356
358
|
--radius-control-inset: calc(var(--radius) - 4px);
|
|
357
359
|
--radius-control: calc(var(--radius) - 2px);
|