@fiestaboard/ui 3.0.0 → 3.1.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.
@@ -0,0 +1,89 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import * as t from "react";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import { Popover as r } from "@base-ui/react/popover";
6
+ //#region src/components/overlays/popover.tsx
7
+ var i = "outside-press", a = t.createContext(() => {});
8
+ function o() {
9
+ return t.useContext(a);
10
+ }
11
+ function s({ actionsRef: e, closeOnOutsideClick: o = !0, onOpenChange: s, children: c, ...l }) {
12
+ let u = t.useRef(null);
13
+ t.useImperativeHandle(e, () => ({
14
+ close: () => u.current?.close(),
15
+ unmount: () => u.current?.unmount()
16
+ }));
17
+ let d = t.useCallback(() => {
18
+ u.current?.close();
19
+ }, []), f = t.useCallback((e, t) => {
20
+ if (!e && !o && t.reason === i) {
21
+ t.cancel();
22
+ return;
23
+ }
24
+ s?.(e, t);
25
+ }, [o, s]);
26
+ return /* @__PURE__ */ n(r.Root, {
27
+ actionsRef: u,
28
+ onOpenChange: f,
29
+ ...l,
30
+ children: /* @__PURE__ */ n(a.Provider, {
31
+ value: d,
32
+ children: c
33
+ })
34
+ });
35
+ }
36
+ function c({ asChild: e = !1, children: i, ...a }) {
37
+ return /* @__PURE__ */ n(r.Trigger, {
38
+ "data-slot": "popover-trigger",
39
+ ...e ? { render: t.Children.only(i) } : { children: i },
40
+ ...a
41
+ });
42
+ }
43
+ function l({ className: t, positionerClassName: i, side: a = "bottom", align: s = "center", sideOffset: c = 4, alignOffset: l, collisionPadding: u = 8, collisionBoundary: d, collisionAvoidance: f, sticky: p, anchor: m, label: h = "Popover", children: g, ..._ }) {
44
+ let v = o();
45
+ return /* @__PURE__ */ n(r.Portal, { children: /* @__PURE__ */ n(r.Positioner, {
46
+ side: a,
47
+ align: s,
48
+ sideOffset: c,
49
+ alignOffset: l,
50
+ collisionPadding: u,
51
+ collisionBoundary: d,
52
+ collisionAvoidance: f,
53
+ sticky: p,
54
+ anchor: m,
55
+ className: e("z-[var(--z-popover)]", i),
56
+ children: /* @__PURE__ */ n(r.Popup, {
57
+ "data-slot": "popover-content",
58
+ "aria-label": h,
59
+ className: e("max-h-[var(--available-height)] max-w-[var(--available-width)] origin-[var(--transform-origin)] overflow-auto rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[ending-style]:animate-out data-[ending-style]:fade-out-0 data-[ending-style]:zoom-out-95 data-[open]:animate-in data-[open]:fade-in-0 data-[open]:zoom-in-95", t),
60
+ ..._,
61
+ children: typeof g == "function" ? g({ close: v }) : g
62
+ })
63
+ }) });
64
+ }
65
+ function u({ className: t, ...i }) {
66
+ return /* @__PURE__ */ n(r.Title, {
67
+ "data-slot": "popover-title",
68
+ className: e("text-sm font-semibold leading-none tracking-tight", t),
69
+ ...i
70
+ });
71
+ }
72
+ function d({ className: t, ...i }) {
73
+ return /* @__PURE__ */ n(r.Description, {
74
+ "data-slot": "popover-description",
75
+ className: e("text-sm text-muted-foreground", t),
76
+ ...i
77
+ });
78
+ }
79
+ function f({ asChild: e = !1, children: i, ...a }) {
80
+ return /* @__PURE__ */ n(r.Close, {
81
+ "data-slot": "popover-close",
82
+ ...e ? { render: t.Children.only(i) } : { children: i },
83
+ ...a
84
+ });
85
+ }
86
+ //#endregion
87
+ export { s as Popover, f as PopoverClose, l as PopoverContent, d as PopoverDescription, u as PopoverTitle, c as PopoverTrigger, o as usePopoverClose };
88
+
89
+ //# sourceMappingURL=popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.js","names":[],"sources":["../../../src/components/overlays/popover.tsx"],"mappings":";;;;;;AAiBA,IAAM,IAAgB,iBAWhB,IAAsB,EAAM,oBATf,CAAC,CAS4C;AAEhE,SAAS,IAA8B;CACrC,OAAO,EAAM,WAAW,CAAmB;AAC7C;AAYA,SAAS,EAAQ,EAAE,eAAY,yBAAsB,IAAM,iBAAc,aAAU,GAAG,KAAuB;CAC3G,IAAM,IAAU,EAAM,OAA8B,IAAI;CAKxD,EAAM,oBAAoB,UAAmB;EAC3C,aAAa,EAAQ,SAAS,MAAM;EACpC,eAAe,EAAQ,SAAS,QAAQ;CAC1C,EAAE;CAEF,IAAM,IAAQ,EAAM,kBAAkB;EACpC,EAAQ,SAAS,MAAM;CACzB,GAAG,CAAC,CAAC,GAEC,IAAmB,EAAM,aAC5B,GAAe,MAAsC;EACpD,IAAI,CAAC,KAAQ,CAAC,KAAuB,EAAQ,WAAW,GAAe;GACrE,EAAQ,OAAO;GACf;EACF;EACA,IAAe,GAAM,CAAO;CAC9B,GACA,CAAC,GAAqB,CAAY,CACpC;CAEA,OACE,kBAAC,EAAiB,MAAlB;EAAuB,YAAY;EAAS,cAAc;EAAkB,GAAI;EAC9E,UAAA,kBAAC,EAAoB,UAArB;GAA8B,OAAO;GAAQ;EAAuC,CAAA;CAC/D,CAAA;AAE3B;AAEA,SAAS,EAAe,EACtB,aAAU,IACV,aACA,GAAG,KAC6E;CAChF,OACE,kBAAC,EAAiB,SAAlB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAyCA,SAAS,EAAe,EACtB,cACA,wBACA,UAAO,UACP,WAAQ,UACR,gBAAa,GACb,gBAEA,sBAAmB,GACnB,sBACA,uBACA,WACA,WACA,WAAQ,WACR,aACA,GAAG,KACmB;CACtB,IAAM,IAAQ,EAAgB;CAE9B,OACE,kBAAC,EAAiB,QAAlB,EAAA,UACE,kBAAC,EAAiB,YAAlB;EACQ;EACC;EACK;EACC;EACK;EACC;EACC;EACZ;EACA;EACR,WAAW,EAAG,wBAAwB,CAAmB;EAEzD,UAAA,kBAAC,EAAiB,OAAlB;GACE,aAAU;GACV,cAAY;GACZ,WAAW,EACT,kgBACA,CACF;GACA,GAAI;GAEH,UAAA,OAAO,KAAa,aAAa,EAAS,EAAE,SAAM,CAAC,IAAI;EAClC,CAAA;CACG,CAAA,EACN,CAAA;AAE7B;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAA8D;CAClG,OACE,kBAAC,EAAiB,OAAlB;EACE,aAAU;EACV,WAAW,EAAG,qDAAqD,CAAS;EAC5E,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAoE;CAC9G,OACE,kBAAC,EAAiB,aAAlB;EACE,aAAU;EACV,WAAW,EAAG,iCAAiC,CAAS;EACxD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAa,EACpB,aAAU,IACV,aACA,GAAG,KAC2E;CAC9E,OACE,kBAAC,EAAiB,OAAlB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;CACL,CAAA;AAEL"}
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/json-tree";
12
13
  export * from "./components/effects/aurora";
13
14
  export * from "./components/feedback/alert";
14
15
  export * from "./components/feedback/badge";
@@ -17,12 +18,14 @@ export * from "./components/forms/button";
17
18
  export * from "./components/forms/checkbox";
18
19
  export * from "./components/forms/input";
19
20
  export * from "./components/forms/label";
21
+ export * from "./components/forms/secret-input";
20
22
  export * from "./components/layout/box";
21
23
  export * from "./components/layout/flex";
22
24
  export * from "./components/layout/grid";
23
25
  export * from "./components/overlays/alert-dialog";
24
26
  export * from "./components/overlays/dialog";
25
27
  export * from "./components/overlays/dropdown-menu";
28
+ export * from "./components/overlays/popover";
26
29
  export * from "./components/typography/code";
27
30
  export * from "./components/typography/heading";
28
31
  export * from "./components/typography/list";
@@ -33,10 +36,13 @@ export { default as DecryptedText } from "./components/effects/react-bits/decryp
33
36
  export { default as FadeContent } from "./components/effects/react-bits/fade-content";
34
37
  export * from "./components/feedback/skeleton";
35
38
  export * from "./components/feedback/spinner";
39
+ export * from "./components/feedback/status-dot";
36
40
  export * from "./components/forms/select";
37
41
  export * from "./components/forms/slider";
38
42
  export * from "./components/forms/switch";
39
43
  export * from "./components/forms/textarea";
44
+ export * from "./components/forms/time-picker";
45
+ export * from "./components/forms/toggle-card";
40
46
  export * from "./components/layout/stack";
41
47
  export * from "./components/overlays/sheet";
42
48
  export * from "./components/overlays/tooltip";
package/dist/index.js CHANGED
@@ -2,64 +2,70 @@ 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 { Aurora as h } from "./components/effects/aurora.js";
6
- import { Alert as g, AlertDescription as _, AlertTitle as v, alertVariants as y } from "./components/feedback/alert.js";
7
- import { Badge as b, badgeVariants as x } from "./components/feedback/badge.js";
8
- import { EmptyState as S } from "./components/feedback/empty-state.js";
9
- import { Spinner as C, spinnerVariants as w } from "./components/feedback/spinner.js";
10
- import { Button as T, buttonVariants as E } from "./components/forms/button.js";
11
- import { Checkbox as D } from "./components/forms/checkbox.js";
12
- import { Input as O } from "./components/forms/input.js";
13
- import { Label as k } from "./components/forms/label.js";
14
- import { Box as A } from "./components/layout/box.js";
15
- import { Flex as j, flexVariants as M } from "./components/layout/flex.js";
16
- import { Grid as N, gridVariants as P } from "./components/layout/grid.js";
17
- import { AlertDialog as F, AlertDialogAction as I, AlertDialogCancel as L, AlertDialogContent as R, AlertDialogDescription as z, AlertDialogFooter as B, AlertDialogHeader as V, AlertDialogOverlay as H, AlertDialogPortal as U, AlertDialogTitle as W, AlertDialogTrigger as G } from "./components/overlays/alert-dialog.js";
18
- import { Dialog as K, DialogClose as q, DialogContent as J, DialogDescription as Y, DialogFooter as X, DialogHeader as Z, DialogOverlay as Q, DialogPortal as $, DialogTitle as ee, DialogTrigger as te } from "./components/overlays/dialog.js";
19
- import { DropdownMenu as ne, DropdownMenuCheckboxItem as re, DropdownMenuContent as ie, DropdownMenuGroup as ae, DropdownMenuItem as oe, DropdownMenuLabel as se, DropdownMenuPortal as ce, DropdownMenuRadioGroup as le, DropdownMenuRadioItem as ue, DropdownMenuSeparator as de, DropdownMenuShortcut as fe, DropdownMenuSub as pe, DropdownMenuSubContent as me, DropdownMenuSubTrigger as he, DropdownMenuTrigger as ge } from "./components/overlays/dropdown-menu.js";
20
- import { Code as _e } from "./components/typography/code.js";
21
- import { Heading as ve, headingVariants as ye } from "./components/typography/heading.js";
22
- import { List as be, ListItem as xe, listVariants as Se } from "./components/typography/list.js";
23
- import { ScrollArea as Ce, ScrollBar as we } from "./components/containment/scroll-area.js";
24
- import { Table as Te, TableBody as Ee, TableCell as De, TableHead as Oe, TableHeader as ke, TableRow as Ae } from "./components/containment/table.js";
25
- import { Tabs as je, TabsContent as Me, TabsList as Ne, TabsTrigger as Pe } from "./components/containment/tabs.js";
26
- import Fe from "./components/effects/react-bits/decrypted-text.js";
27
- import Ie from "./components/effects/react-bits/fade-content.js";
28
- import { Skeleton as Le } from "./components/feedback/skeleton.js";
29
- import { Select as Re, SelectContent as ze, SelectGroup as Be, SelectItem as Ve, SelectLabel as He, SelectScrollDownButton as Ue, SelectScrollUpButton as We, SelectSeparator as Ge, SelectTrigger as Ke, SelectValue as qe } from "./components/forms/select.js";
30
- import { Slider as Je } from "./components/forms/slider.js";
31
- import { Switch as Ye } from "./components/forms/switch.js";
32
- import { Textarea as Xe } from "./components/forms/textarea.js";
33
- import { Stack as Ze, stackVariants as Qe } from "./components/layout/stack.js";
34
- import { Sheet as $e, SheetClose as et, SheetContent as tt, SheetDescription as nt, SheetFooter as rt, SheetHeader as it, SheetOverlay as at, SheetPortal as ot, SheetTitle as st, SheetTrigger as ct } from "./components/overlays/sheet.js";
35
- import { Tooltip as lt, TooltipContent as ut, TooltipProvider as dt, TooltipTrigger as ft } from "./components/overlays/tooltip.js";
36
- import { Text as pt, textVariants as mt } from "./components/typography/text.js";
37
- import { TextLink as ht } from "./components/typography/text-link.js";
38
- import { BoardIcon as gt } from "./components/chrome/board-icon.js";
39
- import { BoardSelector as _t } from "./components/chrome/board-selector.js";
40
- import { FIESTA_ICON_DATA_URI as vt, FIESTA_ICON_PALETTE as yt, FIESTA_ICON_SVG as bt, FiestaIcon as xt } from "./components/chrome/fiesta-icon.js";
41
- import { FiestaLogo as St } from "./components/chrome/fiesta-logo.js";
42
- import { LanguageSelector as Ct } from "./components/chrome/language-selector.js";
43
- import { MainContent as wt } from "./components/chrome/main-content.js";
44
- import { PageHeader as Tt, PageIconGradientDefs as Et } from "./components/chrome/page-header.js";
45
- import { PageLayout as Dt } from "./components/chrome/page-layout.js";
46
- import { PageToolbar as Ot } from "./components/chrome/page-toolbar.js";
47
- import { SidebarAurora as kt } from "./components/seasons/sidebar-aurora.js";
48
- import { SidebarAuroraHorizontal as At } from "./components/seasons/sidebar-aurora-horizontal.js";
49
- import { Sidebar as jt } from "./components/chrome/sidebar.js";
50
- import { SkipToContent as Mt } from "./components/chrome/skip-to-content.js";
51
- import { ThemeToggle as Nt } from "./components/chrome/theme-toggle.js";
52
- import { HIDE_FESTIVE_COOKIE as Pt, PRIDE_SEASON as Ft, SEASONS as It, fireSeasonBurst as Lt, getActiveSeason as Rt, readCookieString as zt, shouldShowPride as Bt, useActiveSeason as Vt, usePrideActive as Ht } from "./lib/seasons.js";
53
- import { ALL_COLOR_CODES as Ut, AVAILABLE_COLORS as Wt, BOARD_COLORS as Gt, COLOR_CODE_MAP as Kt, COLOR_DISPLAY as qt, getBoardColor as Jt, isValidBoardColor as Yt, resolveColorCode as Xt } from "./lib/board-colors.js";
54
- import { BOARD_CHARS as Zt, EXTRA_CHARS as Qt, getCharFromToken as $t, getCharIndex as en, isColorTile as tn, messageToGrid as nn, messageToText as rn, parseLine as an, tokensEqual as on } from "./lib/board-characters.js";
55
- import { DEVICE_DIMENSIONS as sn, MAX_NOTES_PER_AXIS as cn, NOTE_COLS as ln, NOTE_ROWS as un, isNoteArray as dn, noteArrayDimensions as fn, resolveDimensions as pn } from "./lib/board-dimensions.js";
56
- import { BoardDisplay as mn, FLAP_SPEED_PRESETS as hn, deriveFlapTiming as gn, resolveFlapSpeed as _n } from "./components/board/board-display.js";
57
- import { BoardTeaser as vn } from "./components/board/board-teaser.js";
58
- import { ScaledBoardDisplay as yn } from "./components/board/scaled-board-display.js";
59
- import { StaticBoardDisplay as bn } from "./components/board/static-board-display.js";
60
- import { DEFAULT_SHAPE_LABELS as xn, previewLabel as Sn, previewLabels as Cn, previewMessage as wn } from "./lib/board-previews.js";
61
- import { BoardShowcase as Tn, DEFAULT_SHOWCASE_LABELS as En } from "./components/plugin/board-showcase.js";
62
- import { PLUGIN_CATEGORIES as Dn, PluginCategoryBadge as On } from "./components/plugin/plugin-category-badge.js";
63
- import { ScaledBoardTeaser as kn } from "./components/plugin/scaled-board-teaser.js";
64
- import { PluginCard as An } from "./components/plugin/plugin-card.js";
65
- export { Ut as ALL_COLOR_CODES, Wt as AVAILABLE_COLORS, t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger, g as Alert, _ as AlertDescription, F as AlertDialog, I as AlertDialogAction, L as AlertDialogCancel, R as AlertDialogContent, z as AlertDialogDescription, B as AlertDialogFooter, V as AlertDialogHeader, H as AlertDialogOverlay, U as AlertDialogPortal, W as AlertDialogTitle, G as AlertDialogTrigger, v as AlertTitle, h as Aurora, Zt as BOARD_CHARS, Gt as BOARD_COLORS, b as Badge, mn as BoardDisplay, gt as BoardIcon, _t as BoardSelector, Tn as BoardShowcase, vn as BoardTeaser, A as Box, T as Button, Kt as COLOR_CODE_MAP, qt as COLOR_DISPLAY, a as Card, o as CardAction, s as CardContent, c as CardDescription, l as CardFooter, u as CardHeader, d as CardTitle, D as Checkbox, _e as Code, f as Collapsible, p as CollapsibleContent, m as CollapsibleTrigger, xn as DEFAULT_SHAPE_LABELS, En as DEFAULT_SHOWCASE_LABELS, sn as DEVICE_DIMENSIONS, Fe as DecryptedText, K as Dialog, q as DialogClose, J as DialogContent, Y as DialogDescription, X as DialogFooter, Z as DialogHeader, Q as DialogOverlay, $ as DialogPortal, ee as DialogTitle, te as DialogTrigger, ne as DropdownMenu, re as DropdownMenuCheckboxItem, ie as DropdownMenuContent, ae as DropdownMenuGroup, oe as DropdownMenuItem, se as DropdownMenuLabel, ce as DropdownMenuPortal, le as DropdownMenuRadioGroup, ue as DropdownMenuRadioItem, de as DropdownMenuSeparator, fe as DropdownMenuShortcut, pe as DropdownMenuSub, me as DropdownMenuSubContent, he as DropdownMenuSubTrigger, ge as DropdownMenuTrigger, Qt as EXTRA_CHARS, S as EmptyState, vt as FIESTA_ICON_DATA_URI, yt as FIESTA_ICON_PALETTE, bt as FIESTA_ICON_SVG, hn as FLAP_SPEED_PRESETS, Ie as FadeContent, xt as FiestaIcon, St as FiestaLogo, j as Flex, N as Grid, Pt as HIDE_FESTIVE_COOKIE, ve as Heading, O as Input, k as Label, Ct as LanguageSelector, be as List, xe as ListItem, cn as MAX_NOTES_PER_AXIS, wt as MainContent, ln as NOTE_COLS, un as NOTE_ROWS, Dn as PLUGIN_CATEGORIES, Ft as PRIDE_SEASON, Tt as PageHeader, Et as PageIconGradientDefs, Dt as PageLayout, Ot as PageToolbar, An as PluginCard, On as PluginCategoryBadge, It as SEASONS, yn as ScaledBoardDisplay, kn as ScaledBoardTeaser, Ce as ScrollArea, we as ScrollBar, Re as Select, ze as SelectContent, Be as SelectGroup, Ve as SelectItem, He as SelectLabel, Ue as SelectScrollDownButton, We as SelectScrollUpButton, Ge as SelectSeparator, Ke as SelectTrigger, qe as SelectValue, $e as Sheet, et as SheetClose, tt as SheetContent, nt as SheetDescription, rt as SheetFooter, it as SheetHeader, at as SheetOverlay, ot as SheetPortal, st as SheetTitle, ct as SheetTrigger, jt as Sidebar, kt as SidebarAurora, At as SidebarAuroraHorizontal, Le as Skeleton, Mt as SkipToContent, Je as Slider, C as Spinner, Ze as Stack, bn as StaticBoardDisplay, Ye as Switch, Te as Table, Ee as TableBody, De as TableCell, Oe as TableHead, ke as TableHeader, Ae as TableRow, je as Tabs, Me as TabsContent, Ne as TabsList, Pe as TabsTrigger, pt as Text, ht as TextLink, Xe as Textarea, Nt as ThemeToggle, lt as Tooltip, ut as TooltipContent, dt as TooltipProvider, ft as TooltipTrigger, y as alertVariants, x as badgeVariants, E as buttonVariants, e as cn, gn as deriveFlapTiming, Lt as fireSeasonBurst, M as flexVariants, Rt as getActiveSeason, Jt as getBoardColor, $t as getCharFromToken, en as getCharIndex, P as gridVariants, ye as headingVariants, tn as isColorTile, dn as isNoteArray, Yt as isValidBoardColor, Se as listVariants, nn as messageToGrid, rn as messageToText, fn as noteArrayDimensions, an as parseLine, Sn as previewLabel, Cn as previewLabels, wn as previewMessage, zt as readCookieString, Xt as resolveColorCode, pn as resolveDimensions, _n as resolveFlapSpeed, Bt as shouldShowPride, w as spinnerVariants, Qe as stackVariants, mt as textVariants, on as tokensEqual, Vt as useActiveSeason, Ht as usePrideActive };
5
+ import { JsonTree as h } from "./components/containment/json-tree.js";
6
+ import { Aurora as g } from "./components/effects/aurora.js";
7
+ import { Alert as _, AlertDescription as v, AlertTitle as y, alertVariants as b } from "./components/feedback/alert.js";
8
+ import { Badge as x, badgeVariants as S } from "./components/feedback/badge.js";
9
+ import { EmptyState as C } from "./components/feedback/empty-state.js";
10
+ import { Spinner as w, spinnerVariants as T } from "./components/feedback/spinner.js";
11
+ import { Button as E, buttonVariants as D } from "./components/forms/button.js";
12
+ import { Checkbox as O } from "./components/forms/checkbox.js";
13
+ import { Input as k } from "./components/forms/input.js";
14
+ import { Label as A } from "./components/forms/label.js";
15
+ import { SecretInput as j } from "./components/forms/secret-input.js";
16
+ import { Box as M } from "./components/layout/box.js";
17
+ import { Flex as N, flexVariants as P } from "./components/layout/flex.js";
18
+ import { Grid as F, gridVariants as I } from "./components/layout/grid.js";
19
+ import { AlertDialog as L, AlertDialogAction as R, AlertDialogCancel as z, AlertDialogContent as B, AlertDialogDescription as V, AlertDialogFooter as H, AlertDialogHeader as U, AlertDialogOverlay as W, AlertDialogPortal as G, AlertDialogTitle as K, AlertDialogTrigger as q } from "./components/overlays/alert-dialog.js";
20
+ import { Dialog as J, DialogClose as Y, DialogContent as X, DialogDescription as Z, DialogFooter as Q, DialogHeader as $, DialogOverlay as ee, DialogPortal as te, DialogTitle as ne, DialogTrigger as re } from "./components/overlays/dialog.js";
21
+ import { DropdownMenu as ie, DropdownMenuCheckboxItem as ae, DropdownMenuContent as oe, DropdownMenuGroup as se, DropdownMenuItem as ce, DropdownMenuLabel as le, DropdownMenuPortal as ue, DropdownMenuRadioGroup as de, DropdownMenuRadioItem as fe, DropdownMenuSeparator as pe, DropdownMenuShortcut as me, DropdownMenuSub as he, DropdownMenuSubContent as ge, DropdownMenuSubTrigger as _e, DropdownMenuTrigger as ve } from "./components/overlays/dropdown-menu.js";
22
+ import { Popover as ye, PopoverClose as be, PopoverContent as xe, PopoverDescription as Se, PopoverTitle as Ce, PopoverTrigger as we, usePopoverClose as Te } from "./components/overlays/popover.js";
23
+ import { Code as Ee } from "./components/typography/code.js";
24
+ import { Heading as De, headingVariants as Oe } from "./components/typography/heading.js";
25
+ import { List as ke, ListItem as Ae, listVariants as je } from "./components/typography/list.js";
26
+ import { ScrollArea as Me, ScrollBar as Ne } from "./components/containment/scroll-area.js";
27
+ import { Table as Pe, TableBody as Fe, TableCell as Ie, TableHead as Le, TableHeader as Re, TableRow as ze } from "./components/containment/table.js";
28
+ import { Tabs as Be, TabsContent as Ve, TabsList as He, TabsTrigger as Ue } from "./components/containment/tabs.js";
29
+ import We from "./components/effects/react-bits/decrypted-text.js";
30
+ import Ge from "./components/effects/react-bits/fade-content.js";
31
+ import { Skeleton as Ke } from "./components/feedback/skeleton.js";
32
+ import { StatusDot as qe, statusDotVariants as Je } from "./components/feedback/status-dot.js";
33
+ import { Select as Ye, SelectContent as Xe, SelectGroup as Ze, SelectItem as Qe, SelectLabel as $e, SelectScrollDownButton as et, SelectScrollUpButton as tt, SelectSeparator as nt, SelectTrigger as rt, SelectValue as it } from "./components/forms/select.js";
34
+ import { Slider as at } from "./components/forms/slider.js";
35
+ import { Switch as ot } from "./components/forms/switch.js";
36
+ import { Textarea as st } from "./components/forms/textarea.js";
37
+ import { Text as ct, textVariants as lt } from "./components/typography/text.js";
38
+ import { TimePicker as ut } from "./components/forms/time-picker.js";
39
+ import { SegmentedControl as dt, SegmentedControlItem as ft, ToggleCard as pt, ToggleCardGroup as mt, segmentedControlItemVariants as ht, segmentedControlVariants as gt, toggleCardGroupVariants as _t, toggleCardVariants as vt } from "./components/forms/toggle-card.js";
40
+ import { Stack as yt, stackVariants as bt } from "./components/layout/stack.js";
41
+ import { Sheet as xt, SheetClose as St, SheetContent as Ct, SheetDescription as wt, SheetFooter as Tt, SheetHeader as Et, SheetOverlay as Dt, SheetPortal as Ot, SheetTitle as kt, SheetTrigger as At } from "./components/overlays/sheet.js";
42
+ import { Tooltip as jt, TooltipContent as Mt, TooltipProvider as Nt, TooltipTrigger as Pt } from "./components/overlays/tooltip.js";
43
+ import { TextLink as Ft } from "./components/typography/text-link.js";
44
+ import { BoardIcon as It } from "./components/chrome/board-icon.js";
45
+ import { BoardSelector as Lt } from "./components/chrome/board-selector.js";
46
+ import { FIESTA_ICON_DATA_URI as Rt, FIESTA_ICON_PALETTE as zt, FIESTA_ICON_SVG as Bt, FiestaIcon as Vt } from "./components/chrome/fiesta-icon.js";
47
+ import { FiestaLogo as Ht } from "./components/chrome/fiesta-logo.js";
48
+ import { LanguageSelector as Ut } from "./components/chrome/language-selector.js";
49
+ import { MainContent as Wt } from "./components/chrome/main-content.js";
50
+ import { PageHeader as Gt, PageIconGradientDefs as Kt } from "./components/chrome/page-header.js";
51
+ import { PageLayout as qt } from "./components/chrome/page-layout.js";
52
+ import { PageToolbar as Jt } from "./components/chrome/page-toolbar.js";
53
+ import { SidebarAurora as Yt } from "./components/seasons/sidebar-aurora.js";
54
+ import { SidebarAuroraHorizontal as Xt } from "./components/seasons/sidebar-aurora-horizontal.js";
55
+ import { Sidebar as Zt } from "./components/chrome/sidebar.js";
56
+ import { SkipToContent as Qt } from "./components/chrome/skip-to-content.js";
57
+ import { ThemeToggle as $t } from "./components/chrome/theme-toggle.js";
58
+ import { HIDE_FESTIVE_COOKIE as en, PRIDE_SEASON as tn, SEASONS as nn, fireSeasonBurst as rn, getActiveSeason as an, readCookieString as on, shouldShowPride as sn, useActiveSeason as cn, usePrideActive as ln } from "./lib/seasons.js";
59
+ import { ALL_COLOR_CODES as un, AVAILABLE_COLORS as dn, BOARD_COLORS as fn, COLOR_CODE_MAP as pn, COLOR_DISPLAY as mn, getBoardColor as hn, isValidBoardColor as gn, resolveColorCode as _n } from "./lib/board-colors.js";
60
+ import { BOARD_CHARS as vn, EXTRA_CHARS as yn, getCharFromToken as bn, getCharIndex as xn, isColorTile as Sn, messageToGrid as Cn, messageToText as wn, parseLine as Tn, tokensEqual as En } from "./lib/board-characters.js";
61
+ import { DEVICE_DIMENSIONS as Dn, MAX_NOTES_PER_AXIS as On, NOTE_COLS as kn, NOTE_ROWS as An, isNoteArray as jn, noteArrayDimensions as Mn, resolveDimensions as Nn } from "./lib/board-dimensions.js";
62
+ import { BoardDisplay as Pn, FLAP_SPEED_PRESETS as Fn, deriveFlapTiming as In, resolveFlapSpeed as Ln } from "./components/board/board-display.js";
63
+ import { BoardTeaser as Rn } from "./components/board/board-teaser.js";
64
+ import { ScaledBoardDisplay as zn } from "./components/board/scaled-board-display.js";
65
+ import { StaticBoardDisplay as Bn } from "./components/board/static-board-display.js";
66
+ import { DEFAULT_SHAPE_LABELS as Vn, previewLabel as Hn, previewLabels as Un, previewMessage as Wn } from "./lib/board-previews.js";
67
+ import { BoardShowcase as Gn, DEFAULT_SHOWCASE_LABELS as Kn } from "./components/plugin/board-showcase.js";
68
+ import { PLUGIN_CATEGORIES as qn, PluginCategoryBadge as Jn } from "./components/plugin/plugin-category-badge.js";
69
+ import { ScaledBoardTeaser as Yn } from "./components/plugin/scaled-board-teaser.js";
70
+ import { PluginCard as Xn } from "./components/plugin/plugin-card.js";
71
+ export { un as ALL_COLOR_CODES, dn as AVAILABLE_COLORS, t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger, _ as Alert, v as AlertDescription, L as AlertDialog, R as AlertDialogAction, z as AlertDialogCancel, B as AlertDialogContent, V as AlertDialogDescription, H as AlertDialogFooter, U as AlertDialogHeader, W as AlertDialogOverlay, G as AlertDialogPortal, K as AlertDialogTitle, q as AlertDialogTrigger, y as AlertTitle, g as Aurora, vn as BOARD_CHARS, fn as BOARD_COLORS, x as Badge, Pn as BoardDisplay, It as BoardIcon, Lt as BoardSelector, Gn as BoardShowcase, Rn as BoardTeaser, M as Box, E as Button, pn as COLOR_CODE_MAP, mn as COLOR_DISPLAY, a as Card, o as CardAction, s as CardContent, c as CardDescription, l as CardFooter, u as CardHeader, d as CardTitle, O as Checkbox, Ee as Code, f as Collapsible, p as CollapsibleContent, m as CollapsibleTrigger, Vn as DEFAULT_SHAPE_LABELS, Kn as DEFAULT_SHOWCASE_LABELS, Dn as DEVICE_DIMENSIONS, We as DecryptedText, J as Dialog, Y as DialogClose, X as DialogContent, Z as DialogDescription, Q as DialogFooter, $ as DialogHeader, ee as DialogOverlay, te as DialogPortal, ne as DialogTitle, re as DialogTrigger, ie as DropdownMenu, ae as DropdownMenuCheckboxItem, oe as DropdownMenuContent, se as DropdownMenuGroup, ce as DropdownMenuItem, le as DropdownMenuLabel, ue as DropdownMenuPortal, de as DropdownMenuRadioGroup, fe as DropdownMenuRadioItem, pe as DropdownMenuSeparator, me as DropdownMenuShortcut, he as DropdownMenuSub, ge as DropdownMenuSubContent, _e as DropdownMenuSubTrigger, ve as DropdownMenuTrigger, yn as EXTRA_CHARS, C as EmptyState, Rt as FIESTA_ICON_DATA_URI, zt as FIESTA_ICON_PALETTE, Bt as FIESTA_ICON_SVG, Fn as FLAP_SPEED_PRESETS, Ge as FadeContent, Vt as FiestaIcon, Ht as FiestaLogo, N as Flex, F as Grid, en as HIDE_FESTIVE_COOKIE, De as Heading, k as Input, h as JsonTree, A as Label, Ut as LanguageSelector, ke as List, Ae as ListItem, On as MAX_NOTES_PER_AXIS, Wt as MainContent, kn as NOTE_COLS, An as NOTE_ROWS, qn as PLUGIN_CATEGORIES, tn as PRIDE_SEASON, Gt as PageHeader, Kt as PageIconGradientDefs, qt as PageLayout, Jt as PageToolbar, Xn as PluginCard, Jn as PluginCategoryBadge, ye as Popover, be as PopoverClose, xe as PopoverContent, Se as PopoverDescription, Ce as PopoverTitle, we as PopoverTrigger, nn as SEASONS, zn as ScaledBoardDisplay, Yn as ScaledBoardTeaser, Me as ScrollArea, Ne as ScrollBar, j as SecretInput, dt as SegmentedControl, ft as SegmentedControlItem, Ye as Select, Xe as SelectContent, Ze as SelectGroup, Qe as SelectItem, $e as SelectLabel, et as SelectScrollDownButton, tt as SelectScrollUpButton, nt as SelectSeparator, rt as SelectTrigger, it as SelectValue, xt as Sheet, St as SheetClose, Ct as SheetContent, wt as SheetDescription, Tt as SheetFooter, Et as SheetHeader, Dt as SheetOverlay, Ot as SheetPortal, kt as SheetTitle, At as SheetTrigger, Zt as Sidebar, Yt as SidebarAurora, Xt as SidebarAuroraHorizontal, Ke as Skeleton, Qt as SkipToContent, at as Slider, w as Spinner, yt as Stack, Bn as StaticBoardDisplay, qe as StatusDot, ot as Switch, Pe as Table, Fe as TableBody, Ie as TableCell, Le as TableHead, Re as TableHeader, ze as TableRow, Be as Tabs, Ve as TabsContent, He as TabsList, Ue as TabsTrigger, ct as Text, Ft as TextLink, st as Textarea, $t as ThemeToggle, ut as TimePicker, pt as ToggleCard, mt as ToggleCardGroup, jt as Tooltip, Mt as TooltipContent, Nt as TooltipProvider, Pt as TooltipTrigger, b as alertVariants, S as badgeVariants, D as buttonVariants, e as cn, In as deriveFlapTiming, rn as fireSeasonBurst, P as flexVariants, an as getActiveSeason, hn as getBoardColor, bn as getCharFromToken, xn as getCharIndex, I as gridVariants, Oe as headingVariants, Sn as isColorTile, jn as isNoteArray, gn as isValidBoardColor, je as listVariants, Cn as messageToGrid, wn as messageToText, Mn as noteArrayDimensions, Tn as parseLine, Hn as previewLabel, Un as previewLabels, Wn as previewMessage, on as readCookieString, _n as resolveColorCode, Nn as resolveDimensions, Ln as resolveFlapSpeed, ht as segmentedControlItemVariants, gt as segmentedControlVariants, sn as shouldShowPride, T as spinnerVariants, bt as stackVariants, Je as statusDotVariants, lt as textVariants, _t as toggleCardGroupVariants, vt as toggleCardVariants, En as tokensEqual, cn as useActiveSeason, Te as usePopoverClose, ln as usePrideActive };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiestaboard/ui",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "FiestaUI — the FiestaBoard design system. React components on Base UI with Tailwind v4 design tokens.",
5
5
  "license": "MIT",
6
6
  "repository": {