@fiestaboard/ui 2.0.2 → 2.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.
Files changed (44) hide show
  1. package/dist/components/chrome/board-selector.js +2 -2
  2. package/dist/components/chrome/board-selector.js.map +1 -1
  3. package/dist/components/chrome/sidebar.js +2 -2
  4. package/dist/components/chrome/sidebar.js.map +1 -1
  5. package/dist/components/plugin/plugin-card.js +1 -1
  6. package/dist/components/plugin/plugin-card.js.map +1 -1
  7. package/dist/components/ui/accordion.js +1 -1
  8. package/dist/components/ui/accordion.js.map +1 -1
  9. package/dist/components/ui/alert.d.ts +1 -1
  10. package/dist/components/ui/alert.js +7 -7
  11. package/dist/components/ui/alert.js.map +1 -1
  12. package/dist/components/ui/button.d.ts +12 -1
  13. package/dist/components/ui/button.js +59 -22
  14. package/dist/components/ui/button.js.map +1 -1
  15. package/dist/components/ui/card.js +1 -1
  16. package/dist/components/ui/card.js.map +1 -1
  17. package/dist/components/ui/checkbox.js +1 -1
  18. package/dist/components/ui/checkbox.js.map +1 -1
  19. package/dist/components/ui/dialog.js +1 -1
  20. package/dist/components/ui/dialog.js.map +1 -1
  21. package/dist/components/ui/input.js +1 -1
  22. package/dist/components/ui/input.js.map +1 -1
  23. package/dist/components/ui/scroll-area.js +1 -1
  24. package/dist/components/ui/scroll-area.js.map +1 -1
  25. package/dist/components/ui/select.js +1 -1
  26. package/dist/components/ui/select.js.map +1 -1
  27. package/dist/components/ui/skeleton.d.ts +12 -0
  28. package/dist/components/ui/skeleton.js +1 -1
  29. package/dist/components/ui/skeleton.js.map +1 -1
  30. package/dist/components/ui/spinner.d.ts +42 -0
  31. package/dist/components/ui/spinner.js +44 -0
  32. package/dist/components/ui/spinner.js.map +1 -0
  33. package/dist/components/ui/switch.js +1 -1
  34. package/dist/components/ui/switch.js.map +1 -1
  35. package/dist/components/ui/table.js +1 -1
  36. package/dist/components/ui/table.js.map +1 -1
  37. package/dist/components/ui/tabs.js +1 -1
  38. package/dist/components/ui/tabs.js.map +1 -1
  39. package/dist/components/ui/textarea.js +1 -1
  40. package/dist/components/ui/textarea.js.map +1 -1
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.js +63 -62
  43. package/dist/theme.css +101 -0
  44. package/package.json +1 -1
@@ -12,9 +12,9 @@ var m = u(function({ boards: u, value: m, onChange: h, labels: g, collapsed: _ =
12
12
  children: e.name || g.unnamedBoard
13
13
  }, e.id)), [u, g.unnamedBoard]), b = /* @__PURE__ */ p(i, {
14
14
  "aria-label": g.boardSelector,
15
- className: e("gap-2 border-sidebar-border/70 bg-sidebar-accent/40 font-medium text-sidebar-foreground shadow-none transition-[width,padding] duration-100 hover:bg-sidebar-accent/70", v === "mobileHeader" && "h-9 w-auto min-w-0 max-w-[170px] px-2.5 max-[479px]:gap-1 max-[479px]:px-2", v === "sidebar" && (_ ? "h-9 w-full justify-center gap-0 px-0 [&>span:last-child]:hidden" : "h-10 w-full")),
15
+ className: e("gap-2 border-sidebar-border/70 bg-sidebar-accent/40 font-medium text-sidebar-foreground shadow-none transition-[width,padding] duration-fast hover:bg-sidebar-accent/70", v === "mobileHeader" && "h-9 w-auto min-w-0 max-w-[170px] px-2.5 max-[479px]:gap-1 max-[479px]:px-2", v === "sidebar" && (_ ? "h-9 w-full justify-center gap-0 px-0 [&>span:last-child]:hidden" : "h-10 w-full")),
16
16
  children: [/* @__PURE__ */ f(l, { className: "h-5 w-5 flex-shrink-0 text-sidebar-foreground/70" }), /* @__PURE__ */ f("span", {
17
- className: e("min-w-0 flex-1 overflow-hidden whitespace-nowrap text-left transition-opacity duration-100", v === "sidebar" && _ ? "max-w-0 opacity-0" : "max-w-48 opacity-100 delay-150", v === "mobileHeader" && "max-[479px]:hidden!"),
17
+ className: e("min-w-0 flex-1 overflow-hidden whitespace-nowrap text-left transition-opacity duration-fast", v === "sidebar" && _ ? "max-w-0 opacity-0" : "max-w-48 opacity-100 delay-150", v === "mobileHeader" && "max-[479px]:hidden!"),
18
18
  children: /* @__PURE__ */ f(a, { placeholder: g.selectBoard })
19
19
  })]
20
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"board-selector.js","names":[],"sources":["../../../src/components/chrome/board-selector.tsx"],"mappings":";;;;;;;;AAwCA,IAAa,IAAgB,EAAK,SAAuB,EACvD,WACA,UACA,aACA,WACA,eAAY,IACZ,aAAU,aACW;CAIrB,IAAM,IAAQ,QAEV,EAAO,KAAK,MACV,kBAAC,GAAD;EAA2B,OAAO,EAAM;EACrC,UAAA,EAAM,QAAQ,EAAO;CACZ,GAFK,EAAM,EAEX,CACb,GACH,CAAC,GAAQ,EAAO,YAAY,CAC9B,GAEM,IACJ,kBAAC,GAAD;EACE,cAAY,EAAO;EACnB,WAAW,EACT,0KAGA,MAAY,kBAAkB,8EAC9B,MAAY,cACT,IAQG,oEACA,cACR;EAlBF,UAAA,CAoBE,kBAAC,GAAD,EAAW,WAAU,mDAAoD,CAAA,GACzE,kBAAC,QAAD;GACE,WAAW,EACT,8FACA,MAAY,aAAa,IAAY,sBAAsB,kCAG3D,MAAY,kBAAkB,qBAChC;GAEA,UAAA,kBAAC,GAAD,EAAa,aAAa,EAAO,YAAc,CAAA;EAC3C,CAAA,CACO;;CAGjB,OACE,kBAAC,GAAD;EAAe;EAAO,eAAe;EAArC,UAAA,CACG,IACC,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;GAAgB,SAAA;GAAS,UAAA;EAAwB,CAAA,GACjD,kBAAC,GAAD;GAAgB,MAAK;GAAQ,WAAU;GACpC,UAAA,EAAO,MAAM,MAAM,EAAE,OAAO,CAAK,CAAC,EAAE,QAAQ,EAAO;EACtC,CAAA,CACT,EAAA,CAAA,IAET,GAEF,kBAAC,GAAD,EAAA,UAAgB,EAAqB,CAAA,CAC/B;;AAEZ,CAAC"}
1
+ {"version":3,"file":"board-selector.js","names":[],"sources":["../../../src/components/chrome/board-selector.tsx"],"mappings":";;;;;;;;AAwCA,IAAa,IAAgB,EAAK,SAAuB,EACvD,WACA,UACA,aACA,WACA,eAAY,IACZ,aAAU,aACW;CAIrB,IAAM,IAAQ,QAEV,EAAO,KAAK,MACV,kBAAC,GAAD;EAA2B,OAAO,EAAM;EACrC,UAAA,EAAM,QAAQ,EAAO;CACZ,GAFK,EAAM,EAEX,CACb,GACH,CAAC,GAAQ,EAAO,YAAY,CAC9B,GAEM,IACJ,kBAAC,GAAD;EACE,cAAY,EAAO;EACnB,WAAW,EACT,2KAGA,MAAY,kBAAkB,8EAC9B,MAAY,cACT,IAQG,oEACA,cACR;EAlBF,UAAA,CAoBE,kBAAC,GAAD,EAAW,WAAU,mDAAoD,CAAA,GACzE,kBAAC,QAAD;GACE,WAAW,EACT,+FACA,MAAY,aAAa,IAAY,sBAAsB,kCAG3D,MAAY,kBAAkB,qBAChC;GAEA,UAAA,kBAAC,GAAD,EAAa,aAAa,EAAO,YAAc,CAAA;EAC3C,CAAA,CACO;;CAGjB,OACE,kBAAC,GAAD;EAAe;EAAO,eAAe;EAArC,UAAA,CACG,IACC,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;GAAgB,SAAA;GAAS,UAAA;EAAwB,CAAA,GACjD,kBAAC,GAAD;GAAgB,MAAK;GAAQ,WAAU;GACpC,UAAA,EAAO,MAAM,MAAM,EAAE,OAAO,CAAK,CAAC,EAAE,QAAQ,EAAO;EACtC,CAAA,CACT,EAAA,CAAA,IAET,GAEF,kBAAC,GAAD,EAAA,UAAgB,EAAqB,CAAA,CAC/B;;AAEZ,CAAC"}
@@ -10,7 +10,7 @@ import { ChevronLeft as c, ChevronRight as l, Menu as ne, Sparkles as u, X as d
10
10
  import { Fragment as f, memo as p, useEffect as m, useRef as h, useState as g } from "react";
11
11
  import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
12
12
  //#region src/components/chrome/sidebar.tsx
13
- var b = "nav-active font-semibold", x = "text-sidebar-foreground nav-active-hover", S = "flex items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", re = e(S, b), ie = e(S, x), C = "flex w-full items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", ae = e(C, b), w = e(C, x), T = "flex items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", E = e(T, b), D = e(T, x), O = "flex w-full items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", oe = e(O, b), k = e(O, x), A = "whitespace-nowrap overflow-hidden transition-opacity duration-100", j = e(A, "opacity-0 max-w-0"), M = e(A, "opacity-100 max-w-48 delay-150"), N = "lg:hidden fixed inset-0 z-[var(--z-mobile-backdrop)] bg-black/25 backdrop-blur-[2px] transition-opacity duration-200 pointer-events-none", se = e(N, "opacity-100 pointer-events-auto"), ce = e(N, "opacity-0"), P = "lg:hidden fixed top-[calc(var(--mobile-header-height,56px)+16px)] left-3 right-3 z-[var(--z-mobile-menu)] flex max-h-[calc(100dvh-var(--mobile-header-height,56px)-2rem)] flex-col overflow-hidden sidebar-gradient-horizontal", le = e(P, "opacity-100"), ue = e(P, "opacity-0 pointer-events-none"), F = "clip-path var(--motion-duration-slower) var(--motion-ease-spring), opacity var(--motion-duration-exit) var(--motion-ease-standard)", I = {
13
+ var b = "nav-active font-semibold", x = "text-sidebar-foreground nav-active-hover", S = "flex items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", re = e(S, b), ie = e(S, x), C = "flex w-full items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", ae = e(C, b), w = e(C, x), T = "flex items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", E = e(T, b), D = e(T, x), O = "flex w-full items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", oe = e(O, b), k = e(O, x), A = "whitespace-nowrap overflow-hidden transition-opacity duration-fast", j = e(A, "opacity-0 max-w-0"), M = e(A, "opacity-100 max-w-48 delay-150"), N = "lg:hidden fixed inset-0 z-[var(--z-mobile-backdrop)] bg-black/25 backdrop-blur-[2px] transition-opacity duration-base pointer-events-none", se = e(N, "opacity-100 pointer-events-auto"), ce = e(N, "opacity-0"), P = "lg:hidden fixed top-[calc(var(--mobile-header-height,56px)+16px)] left-3 right-3 z-[var(--z-mobile-menu)] flex max-h-[calc(100dvh-var(--mobile-header-height,56px)-2rem)] flex-col overflow-hidden sidebar-gradient-horizontal", le = e(P, "opacity-100"), ue = e(P, "opacity-0 pointer-events-none"), F = "clip-path var(--motion-duration-slower) var(--motion-ease-spring), opacity var(--motion-duration-exit) var(--motion-ease-standard)", I = {
14
14
  clipPath: "inset(0 0 0 0 round var(--radius-chrome-mobile, 16px))",
15
15
  transition: F
16
16
  }, L = {
@@ -122,7 +122,7 @@ var b = "nav-active font-semibold", x = "text-sidebar-foreground nav-active-hove
122
122
  let n = t === "mobile" ? /* @__PURE__ */ v(s, {
123
123
  size: "sm",
124
124
  className: "logo-on-gradient whitespace-nowrap"
125
- }) : /* @__PURE__ */ v(s, { className: e("logo-on-gradient whitespace-nowrap overflow-hidden transition-opacity duration-100", C ? "opacity-0 max-w-0" : "opacity-100 max-w-48 delay-150") }), r = /* @__PURE__ */ v("img", {
125
+ }) : /* @__PURE__ */ v(s, { className: e("logo-on-gradient whitespace-nowrap overflow-hidden transition-opacity duration-fast", C ? "opacity-0 max-w-0" : "opacity-100 max-w-48 delay-150") }), r = /* @__PURE__ */ v("img", {
126
126
  src: N,
127
127
  alt: "",
128
128
  width: 32,
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.js","names":[],"sources":["../../../src/components/chrome/sidebar.tsx"],"mappings":";;;;;;;;;;;;AAmBA,IAAM,IAAkB,4BAClB,IAAoB,4CAEpB,IAAmB,mFACnB,KAAqB,EAAG,GAAkB,CAAe,GACzD,KAAuB,EAAG,GAAkB,CAAiB,GAE7D,IAAiB,0FACjB,KAAmB,EAAG,GAAgB,CAAe,GACrD,IAAqB,EAAG,GAAgB,CAAiB,GAEzD,IACJ,gGAC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,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,OAAD,EAAK,WAAU,sCAAuC,CAAA,GACtD,kBAAC,OAAD;QAAK,WAAU;QACb,UAAA,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;SAAgB,SAAA;SACd,UAAA,kBAAC,UAAD;UACE,MAAK;UACL,SAAS,EAAG;UACZ,cAAY,EAAO;UACnB,WAAW,EAAG,SAAS,KAAoB;UAJ7C,UAAA,CAME,kBAAC,GAAD,EAAU,WAAU,wBAAyB,CAAA,GAC7C,kBAAC,QAAD;WAAM,WAAW,IAAY,IAAsB;WAChD,UAAA,EAAO;UACJ,CAAA,CACA;;QACM,CAAA,GACf,KACC,kBAAC,GAAD;SAAgB,MAAK;SAAQ,WAAU;SACpC,UAAA,EAAO;QACM,CAAA,CAEX,EAAA,CAAA;OACN,CAAA,CACL,EAAA,CAAA;OAGJ,kBAAC,OAAD,EAAK,WAAU,sCAAuC,CAAA;OAEtD,kBAAC,OAAD;QAAK,WAAU;QAAf,UAAA,CACE,kBAAC,OAAD;SAAK,cAAY,EAAO;SAAqB,WAAU;SAAvD,UAAA,CACG,EAAe,IAAI,CAAoB,GACvC,IAAgB;UAAE,SAAS;UAAW;SAAU,CAAC,CAC/C;QAGL,CAAA,GAAA,kBAAC,OAAD;SACE,WAAW,EACT,+CACA,IACI,qCACA,wDACN;SANF,UAAA,CAQE,kBAAC,OAAD;UACE,WAAW,EACT,6CACA,IAAY,wCAAwC,SACtD;UAEC,UAAA;SACE,CAAA,GACL,kBAAC,OAAD;UAAK,WAAW,EAAG,iBAAiB,IAAY,YAAY,SAAS;UAAI,UAAA;SAAqB,CAAA,CAC3F;QACF,CAAA,CAAA;;MACF;;IACA;;EACQ,CAAA;CACjB,EAAA,CAAA;AAEN,CAAC"}
@@ -11,7 +11,7 @@ function c({ name: c, description: l, authorLabel: u, category: d, categoryLabel
11
11
  return /* @__PURE__ */ o("div", {
12
12
  "data-slot": "plugin-card",
13
13
  style: v,
14
- className: e("group relative flex h-full flex-col overflow-hidden rounded-xl border bg-card text-card-foreground", "shadow-card transition-[transform,box-shadow] duration-200 hover:-translate-y-1 hover:shadow-lg", "motion-reduce:transition-none motion-reduce:hover:translate-y-0", _),
14
+ className: e("group relative flex h-full flex-col overflow-hidden rounded-xl border bg-card text-card-foreground", "shadow-card transition-[transform,box-shadow] duration-base hover:-translate-y-1 hover:shadow-lg", "motion-reduce:transition-none motion-reduce:hover:translate-y-0", _),
15
15
  children: [/* @__PURE__ */ o("div", {
16
16
  className: "flex flex-1 flex-col gap-2 p-4",
17
17
  children: [
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-card.js","names":[],"sources":["../../../src/components/plugin/plugin-card.tsx"],"mappings":";;;;;;;;AAsBA,IAAM,IACJ;AA8BF,SAAgB,EAAW,EACzB,SACA,gBACA,gBACA,aACA,kBACA,WACA,eAAY,SACZ,eACA,WACA,cACA,YACkB;CAClB,OACE,kBAAC,OAAD;EACE,aAAU;EACH;EACP,WAAW,EACT,sGACA,mGACA,mEACA,CACF;EARF,UAAA,CAUE,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAAC,GAAD;MAAS,OAAO;MAAG,WAAU;MAC1B,UAAA,EAAW;OAAE,WAAW;OAAsB,UAAU;MAAK,CAAC;KACxD,CAAA,GACR,KAAY,kBAAC,GAAD;MAA+B;MAAU,OAAO;MAAe,WAAU;KAAW,CAAA,CAC9F;;IAEJ,KACC,kBAAC,GAAD;KAAM,MAAK;KAAQ,MAAK;KAAK,WAAU;KACpC,UAAA;IACG,CAAA;IAGR,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACG,IACC,kBAAC,GAAD;MAAM,IAAG;MAAO,MAAK;MAAQ,MAAK;MAAK,WAAU;MAC9C,UAAA;KACG,CAAA,IAEN,kBAAC,QAAD,CAAO,CAAA,GAER,KAAU,kBAAC,OAAD;MAAK,WAAU;MAA0B,UAAA;KAAY,CAAA,CAC7D;;GACF;EAEJ,CAAA,GAAA,KACC,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,GAAD;IAA2B;IAAmB;GAAY,CAAA;EACvD,CAAA,CAEJ;;AAET"}
1
+ {"version":3,"file":"plugin-card.js","names":[],"sources":["../../../src/components/plugin/plugin-card.tsx"],"mappings":";;;;;;;;AAsBA,IAAM,IACJ;AA8BF,SAAgB,EAAW,EACzB,SACA,gBACA,gBACA,aACA,kBACA,WACA,eAAY,SACZ,eACA,WACA,cACA,YACkB;CAClB,OACE,kBAAC,OAAD;EACE,aAAU;EACH;EACP,WAAW,EACT,sGACA,oGACA,mEACA,CACF;EARF,UAAA,CAUE,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAAC,GAAD;MAAS,OAAO;MAAG,WAAU;MAC1B,UAAA,EAAW;OAAE,WAAW;OAAsB,UAAU;MAAK,CAAC;KACxD,CAAA,GACR,KAAY,kBAAC,GAAD;MAA+B;MAAU,OAAO;MAAe,WAAU;KAAW,CAAA,CAC9F;;IAEJ,KACC,kBAAC,GAAD;KAAM,MAAK;KAAQ,MAAK;KAAK,WAAU;KACpC,UAAA;IACG,CAAA;IAGR,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACG,IACC,kBAAC,GAAD;MAAM,IAAG;MAAO,MAAK;MAAQ,MAAK;MAAK,WAAU;MAC9C,UAAA;KACG,CAAA,IAEN,kBAAC,QAAD,CAAO,CAAA,GAER,KAAU,kBAAC,OAAD;MAAK,WAAU;MAA0B,UAAA;KAAY,CAAA,CAC7D;;GACF;EAEJ,CAAA,GAAA,KACC,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,GAAD;IAA2B;IAAmB;GAAY,CAAA;EACvD,CAAA,CAEJ;;AAET"}
@@ -31,7 +31,7 @@ function l({ className: r, children: o, ...s }) {
31
31
  "data-slot": "accordion-trigger",
32
32
  className: e("flex flex-1 items-center justify-between py-4 font-medium transition-colors hover:underline [&[data-panel-open]>svg]:rotate-180", r),
33
33
  ...s,
34
- children: [o, /* @__PURE__ */ i(n, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
34
+ children: [o, /* @__PURE__ */ i(n, { className: "h-4 w-4 shrink-0 transition-transform duration-base" })]
35
35
  })
36
36
  });
37
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","names":[],"sources":["../../../src/components/ui/accordion.tsx"],"mappings":";;;;;;;AAQA,IAAM,KAAW,MAAsC,MAAM,KAAA,IAAY,KAAA,IAAY,MAAM,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC;AAe9G,SAAS,EAAU,EACjB,UAAO,UACP,aAAa,GACb,UACA,iBACA,kBACA,GAAG,KACc;CACjB,IAAM,IAAa,EAAM,cAAc,EAAQ,CAAK,GAAG,CAAC,CAAK,CAAC,GACxD,IAAoB,EAAM,cAAc,EAAQ,CAAY,GAAG,CAAC,CAAY,CAAC,GAC7E,IAAoB,EAAM,aAC7B,MACC,MAAS,aAAa,IAAgB,CAAM,IAAI,IAAgB,EAAO,EAAO,SAAS,MAAM,EAAE,GACjG,CAAC,GAAe,CAAI,CACtB;CACA,OACE,kBAAC,EAAmB,MAApB;EACE,aAAU;EACV,UAAU,MAAS;EACnB,OAAO;EACP,cAAc;EACd,eAAe,IAAgB,IAAoB,KAAA;EACnD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAA+D;CACpG,OAAO,kBAAC,EAAmB,MAApB;EAAyB,aAAU;EAAiB,WAAW,EAAG,YAAY,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAEA,SAAS,EAAiB,EAAE,cAAW,aAAU,GAAG,KAAkE;CACpH,OACE,kBAAC,EAAmB,QAApB;EAA2B,WAAU;EACnC,UAAA,kBAAC,EAAmB,SAApB;GACE,aAAU;GACV,WAAW,EACT,mIACA,CACF;GACA,G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EAA2B,WAAU;EACnC,UAAA,kBAAC,EAAmB,SAApB;GACE,aAAU;GACV,WAAW,EACT,mIACA,CACF;GACA,GAAI;GANN,UAAA,CAQG,GACD,kBAAC,GAAD,EAAa,WAAU,sDAAuD,CAAA,CACpD;;CACH,CAAA;AAE/B;AAEA,SAAS,EAAiB,EAAE,cAAW,aAAU,GAAG,KAAgE;CAClH,OACE,kBAAC,EAAmB,OAApB;EACE,aAAU;EACV,WAAU;EACV,GAAI;EAEJ,UAAA,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,OAAD;IAAK,WAAW,EAAG,aAAa,CAAS;IAAI;GAAc,CAAA;EACxD,CAAA;CACmB,CAAA;AAE9B"}
@@ -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-background text-foreground",
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-none tracking-tight", n),
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":";;;;;AAKA,IAAM,IAAgB,EACpB,2KACA;CACE,UAAU,EACR,SAAS;EACP,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;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAqC;CACvE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,kDAAkD,CAAS;EACzE,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"}
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"}
@@ -4,7 +4,18 @@ declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "destructive" | "brand" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, asChild, children, ref, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
7
+ declare function Button({ className, variant, size, asChild, loading, children, onClick, ref, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
8
  asChild?: boolean;
9
+ /**
10
+ * Busy state. Renders a {@link Spinner} over the label and marks the
11
+ * button `aria-busy` + `aria-disabled` — deliberately NOT `disabled`,
12
+ * which drops the button out of the tab order and silently moves focus
13
+ * to <body> at the exact moment the user is waiting for feedback.
14
+ *
15
+ * With `asChild` the rendered element's content belongs to the caller, so
16
+ * no spinner is injected; the busy semantics and the activation guard
17
+ * still apply.
18
+ */
19
+ loading?: boolean;
9
20
  }): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
10
21
  export { Button, buttonVariants };
@@ -1,23 +1,25 @@
1
1
  import { cn as e } from "../../lib/utils.js";
2
- import * as t from "react";
3
- import { cva as n } from "class-variance-authority";
4
- import { useRender as r } from "@base-ui/react/use-render";
2
+ import { Spinner as t } from "./spinner.js";
3
+ import * as n from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { cva as a } from "class-variance-authority";
6
+ import { useRender as o } from "@base-ui/react/use-render";
5
7
  //#region src/components/ui/button.tsx
6
- var i = n("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,background-color,border-color,box-shadow] duration-150 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
8
+ var s = a("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,background-color,border-color,box-shadow] duration-control disabled:pointer-events-none disabled:opacity-50 data-[loading]:cursor-progress [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
7
9
  variants: {
8
10
  variant: {
9
11
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
10
12
  brand: "bg-brand-emphasis text-brand-foreground shadow-sm hover:bg-brand-emphasis/85 focus-visible:ring-brand/30",
11
13
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
12
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
14
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-card dark:border-input dark:hover:bg-muted",
13
15
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
14
16
  ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
15
17
  link: "text-primary underline-offset-4 hover:underline"
16
18
  },
17
19
  size: {
18
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
19
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
20
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
20
+ default: "h-9 px-4 py-2 has-[>svg]:px-3 has-[>[data-slot=button-loading]>[data-slot=button-label]>svg]:px-3",
21
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 has-[>[data-slot=button-loading]>[data-slot=button-label]>svg]:px-2.5",
22
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4 has-[>[data-slot=button-loading]>[data-slot=button-label]>svg]:px-4",
21
23
  icon: "size-9",
22
24
  "icon-sm": "size-8",
23
25
  "icon-lg": "size-10"
@@ -27,26 +29,61 @@ var i = n("inline-flex items-center justify-center gap-2 whitespace-nowrap round
27
29
  variant: "default",
28
30
  size: "default"
29
31
  }
30
- });
31
- function a({ className: n, variant: a = "default", size: o = "default", asChild: s = !1, children: c, ref: l, ...u }) {
32
- return r({
32
+ }), c = {
33
+ default: "md",
34
+ icon: "md",
35
+ sm: "sm",
36
+ "icon-sm": "sm",
37
+ lg: "lg",
38
+ "icon-lg": "lg"
39
+ };
40
+ function l({ className: a, variant: l = "default", size: u = "default", asChild: d = !1, loading: f = !1, children: p, onClick: m, ref: h, ...g }) {
41
+ let _ = (e) => {
42
+ if (f) {
43
+ e.preventDefault(), e.stopPropagation();
44
+ return;
45
+ }
46
+ m?.(e);
47
+ }, v = f && !d ? /* @__PURE__ */ i("span", {
48
+ "data-slot": "button-loading",
49
+ className: "grid grid-cols-1 grid-rows-1 items-center justify-items-center [gap:inherit]",
50
+ children: [/* @__PURE__ */ r("span", {
51
+ "data-slot": "button-label",
52
+ className: "col-start-1 row-start-1 inline-flex items-center [gap:inherit] opacity-0",
53
+ children: p
54
+ }), /* @__PURE__ */ r("span", {
55
+ "data-slot": "button-spinner",
56
+ className: "col-start-1 row-start-1 inline-flex items-center",
57
+ children: /* @__PURE__ */ r(t, {
58
+ size: c[u ?? "default"],
59
+ label: null
60
+ })
61
+ })]
62
+ }) : p;
63
+ return o({
33
64
  defaultTagName: "button",
34
- ref: l,
35
- render: s ? t.Children.only(c) : void 0,
65
+ ref: h,
66
+ render: d ? n.Children.only(p) : void 0,
36
67
  props: {
37
68
  "data-slot": "button",
38
- "data-variant": a,
39
- "data-size": o,
40
- className: e(i({
41
- variant: a,
42
- size: o
43
- }), n),
44
- ...s ? {} : { children: c },
45
- ...u
69
+ "data-variant": l,
70
+ "data-size": u,
71
+ className: e(s({
72
+ variant: l,
73
+ size: u
74
+ }), a),
75
+ ...d ? {} : { children: v },
76
+ ...g,
77
+ ...f ? {
78
+ "aria-busy": !0,
79
+ "aria-disabled": !0,
80
+ "data-loading": ""
81
+ } : {},
82
+ onClick: _
46
83
  }
47
84
  });
48
85
  }
49
86
  //#endregion
50
- export { a as Button, i as buttonVariants };
87
+ export { l as Button, s as buttonVariants };
51
88
 
52
89
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","names":[],"sources":["../../../src/components/ui/button.tsx"],"mappings":";;;;;AAMA,IAAM,IAAiB,EACrB,yfACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,OACE;GACF,aACE;GACF,SACE;GACF,WAAW;GACX,OAAO;GACP,MAAM;EACR;EACA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACN,WAAW;GACX,WAAW;EACb;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF;AAEA,SAAS,EAAO,EACd,cACA,aAAU,WACV,UAAO,WACP,aAAU,IACV,aACA,QACA,GAAG,KAIA;CACH,OAAO,EAAU;EACf,gBAAgB;EACX;EACL,QAAQ,IAAW,EAAM,SAAS,KAAK,CAAQ,IAA2B,KAAA;EAC1E,OAAO;GACL,aAAa;GACb,gBAAgB;GAChB,aAAa;GACb,WAAW,EAAG,EAAe;IAAE;IAAS;GAAK,CAAC,GAAG,CAAS;GAC1D,GAAI,IAAU,CAAC,IAAI,EAAE,YAAS;GAC9B,GAAG;EACL;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"button.js","names":[],"sources":["../../../src/components/ui/button.tsx"],"mappings":";;;;;;;AAOA,IAAM,IAAiB,EACrB,4hBACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,OACE;GACF,aACE;GAUF,SACE;GACF,WAAW;GACX,OAAO;GACP,MAAM;EACR;EAQA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACN,WAAW;GACX,WAAW;EACb;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF,GAKM,IAA+D;CACnE,SAAS;CACT,MAAM;CACN,IAAI;CACJ,WAAW;CACX,IAAI;CACJ,WAAW;AACb;AAEA,SAAS,EAAO,EACd,cACA,aAAU,WACV,UAAO,WACP,aAAU,IACV,aAAU,IACV,aACA,YACA,QACA,GAAG,KAeA;CAOH,IAAM,KAAe,MAA+C;EAClE,IAAI,GAAS;GAEX,AADA,EAAM,eAAe,GACrB,EAAM,gBAAgB;GACtB;EACF;EACA,IAAU,CAAK;CACjB,GAOM,IACJ,KAAW,CAAC,IACV,kBAAC,QAAD;EACE,aAAU;EACV,WAAU;EAFZ,UAAA,CAIE,kBAAC,QAAD;GACE,aAAU;GACV,WAAU;GAET;EACG,CAAA,GACN,kBAAC,QAAD;GAAM,aAAU;GAAiB,WAAU;GACzC,UAAA,kBAAC,GAAD;IAAS,MAAM,EAA4B,KAAQ;IAAY,OAAO;GAAO,CAAA;EACzE,CAAA,CACF;CAEN,CAAA,IAAA;CAGJ,OAAO,EAAU;EACf,gBAAgB;EACX;EACL,QAAQ,IAAW,EAAM,SAAS,KAAK,CAAQ,IAA2B,KAAA;EAC1E,OAAO;GACL,aAAa;GACb,gBAAgB;GAChB,aAAa;GACb,WAAW,EAAG,EAAe;IAAE;IAAS;GAAK,CAAC,GAAG,CAAS;GAC1D,GAAI,IAAU,CAAC,IAAI,EAAE,UAAU,EAAQ;GACvC,GAAG;GACH,GAAI,IAAU;IAAE,aAAa;IAAM,iBAAiB;IAAM,gBAAgB;GAAG,IAAI,CAAC;GAClF,SAAS;EACX;CACF,CAAC;AACH"}
@@ -5,7 +5,7 @@ import { jsx as t } from "react/jsx-runtime";
5
5
  function n({ className: n, ...r }) {
6
6
  return /* @__PURE__ */ t("div", {
7
7
  "data-slot": "card",
8
- className: e("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-card transition-[box-shadow,border-color] duration-200", n),
8
+ className: e("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-card transition-[box-shadow,border-color] duration-base", n),
9
9
  ...r
10
10
  });
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","names":[],"sources":["../../../src/components/ui/card.tsx"],"mappings":";;;;AAIA,SAAS,EAAK,EAAE,cAAW,GAAG,KAAsC;CAClE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,yIACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,4JACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EACjB,cACA,IAAI,IAAY,MAChB,GAAG,KAC6E;CAChF,OAAO,kB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AAU;EAAmB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAClH;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,kEAAkE,CAAS;EACzF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAsC;CACzE,OAAO,kBAAC,OAAD;EAAK,aAAU;EAAe,WAAW,EAAG,QAAQ,CAAS;EAAG,GAAI;CAAQ,CAAA;AACrF;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EAAK,aAAU;EAAc,WAAW,EAAG,2CAA2C,CAAS;EAAG,GAAI;CAAQ,CAAA;AAElH"}
@@ -6,7 +6,7 @@ function n({ className: n, ...r }) {
6
6
  return /* @__PURE__ */ t("input", {
7
7
  type: "checkbox",
8
8
  "data-slot": "checkbox",
9
- className: e("relative h-4 w-4 shrink-0 rounded-sm border border-input accent-primary", "shadow-sm transition-[color,background-color,border-color,box-shadow] duration-150 cursor-pointer", "before:absolute before:top-1/2 before:left-1/2 before:size-6 before:-translate-x-1/2 before:-translate-y-1/2 before:content-['']", "enabled:hover:ring-ring/30 enabled:hover:ring-[3px]", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "aria-invalid:ring-[3px] aria-invalid:accent-destructive", "disabled:cursor-not-allowed disabled:opacity-50", n),
9
+ className: e("relative h-4 w-4 shrink-0 rounded-sm border border-input accent-primary", "shadow-sm transition-[color,background-color,border-color,box-shadow] duration-control cursor-pointer", "before:absolute before:top-1/2 before:left-1/2 before:size-6 before:-translate-x-1/2 before:-translate-y-1/2 before:content-['']", "enabled:hover:ring-ring/30 enabled:hover:ring-[3px]", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "aria-invalid:ring-[3px] aria-invalid:accent-destructive", "disabled:cursor-not-allowed disabled:opacity-50", n),
10
10
  ...r
11
11
  });
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.js","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"mappings":";;;;AAMA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAwB;CACxD,OACE,kBAAC,SAAD;EACE,MAAK;EACL,aAAU;EACV,WAAW,EAIT,2EACA,qGAIA,oIAIA,uDACA,8FACA,0GACA,2DACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
1
+ {"version":3,"file":"checkbox.js","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"mappings":";;;;AAMA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAwB;CACxD,OACE,kBAAC,SAAD;EACE,MAAK;EACL,aAAU;EACV,WAAW,EAIT,2EACA,yGAIA,oIAIA,uDACA,8FACA,0GACA,2DACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -31,7 +31,7 @@ function u({ className: t, ...n }) {
31
31
  function d({ className: n, children: o, ...s }) {
32
32
  return /* @__PURE__ */ i(c, { children: [/* @__PURE__ */ r(u, {}), /* @__PURE__ */ i(a.Popup, {
33
33
  "data-slot": "dialog-content",
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),
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-base 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
36
  children: [o, /* @__PURE__ */ r(t, {
37
37
  "data-slot": "dialog-close",
@@ -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;CACL,CAAA;AAEL;AAEA,IAAM,IAAe,EAAgB;AAErC,SAAS,EAAY,EACnB,aAAU,IACV,aACA,GAAG,KAC0E;CAC7E,OACE,kBAAC,EAAgB,OAAjB;EACE,aAAU;EACV,GAAK,IAAU,EAAE,QAAQ,EAAM,SAAS,KAAK,CAAQ,EAAwB,IAAI,EAAE,YAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAgE;CACrG,OACE,kBAAC,EAAgB,UAAjB;EACE,aAAU;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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AEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAgE;CACrG,OACE,kBAAC,EAAgB,UAAjB;EACE,aAAU;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,mfACA,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"}
@@ -6,7 +6,7 @@ function n({ className: n, type: r, ...i }) {
6
6
  return /* @__PURE__ */ t("input", {
7
7
  type: r,
8
8
  "data-slot": "input",
9
- className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-[color,background-color,border-color,box-shadow] duration-150", "file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground", "placeholder:text-muted-foreground", "hover:border-ring/60", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "disabled:cursor-not-allowed disabled:opacity-50", n),
9
+ className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-[color,background-color,border-color,box-shadow] duration-control", "file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground", "placeholder:text-muted-foreground", "hover:border-ring/60", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "disabled:cursor-not-allowed disabled:opacity-50", n),
10
10
  ...i
11
11
  });
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","names":[],"sources":["../../../src/components/ui/input.tsx"],"mappings":";;;;AAMA,SAAS,EAAM,EAAE,cAAW,SAAM,GAAG,KAAqB;CACxD,OACE,kBAAC,SAAD;EACQ;EACN,aAAU;EACV,WAAW,EAGT,sKACA,wFACA,qCACA,wBACA,8FACA,0GACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
1
+ {"version":3,"file":"input.js","names":[],"sources":["../../../src/components/ui/input.tsx"],"mappings":";;;;AAMA,SAAS,EAAM,EAAE,cAAW,SAAM,GAAG,KAAqB;CACxD,OACE,kBAAC,SAAD;EACQ;EACN,aAAU;EACV,WAAW,EAGT,0KACA,wFACA,qCACA,wBACA,8FACA,0GACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -25,7 +25,7 @@ function a({ className: n, orientation: i = "vertical", ...a }) {
25
25
  return /* @__PURE__ */ t(r.Scrollbar, {
26
26
  "data-slot": "scroll-area-scrollbar",
27
27
  orientation: i,
28
- className: e("flex touch-none select-none opacity-0 transition-[colors,opacity] duration-150 data-[hovering]:opacity-100 data-[scrolling]:opacity-100", i === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]", i === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]", n),
28
+ className: e("flex touch-none select-none opacity-0 transition-[colors,opacity] duration-control data-[hovering]:opacity-100 data-[scrolling]:opacity-100", i === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]", i === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]", n),
29
29
  ...a,
30
30
  children: /* @__PURE__ */ t(r.Thumb, {
31
31
  "data-slot": "scroll-area-thumb",
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-area.js","names":[],"sources":["../../../src/components/ui/scroll-area.tsx"],"mappings":";;;;;;AAOA,SAAS,EAAW,EAAE,cAAW,aAAU,GAAG,KAAgE;CAC5G,OACE,kBAAC,EAAoB,MAArB;EAA0B,aAAU;EAAc,WAAW,EAAG,4BAA4B,CAAS;EAAG,GAAI;EAA5G,UAAA;GACE,kBAAC,EAAoB,UAArB;IACE,aAAU;IACV,WAAU;IACV,UAAU;IAET;GAC2B,CAAA;GAC9B,kBAAC,GAAD,CAAY,CAAA;GACZ,kBAAC,EAAoB,QAArB,CAA6B,CAAA;EACL;;AAE9B;AAEA,SAAS,EAAU,EACjB,cACA,iBAAc,YACd,GAAG,KAC0D;CAC7D,OACE,kBAAC,EAAoB,WAArB;EACE,aAAU;EACG;EACb,WAAW,EACT,2IACA,MAAgB,cAAc,sDAC9B,MAAgB,gBAAgB,wDAChC,CACF;EACA,GAAI;EAEJ,UAAA,kBAAC,EAAoB,OAArB;GAA2B,aAAU;GAAoB,WAAU;EAA0C,CAAA;CAChF,CAAA;AAEnC"}
1
+ {"version":3,"file":"scroll-area.js","names":[],"sources":["../../../src/components/ui/scroll-area.tsx"],"mappings":";;;;;;AAOA,SAAS,EAAW,EAAE,cAAW,aAAU,GAAG,KAAgE;CAC5G,OACE,kBAAC,EAAoB,MAArB;EAA0B,aAAU;EAAc,WAAW,EAAG,4BAA4B,CAAS;EAAG,GAAI;EAA5G,UAAA;GACE,kBAAC,EAAoB,UAArB;IACE,aAAU;IACV,WAAU;IACV,UAAU;IAET;GAC2B,CAAA;GAC9B,kBAAC,GAAD,CAAY,CAAA;GACZ,kBAAC,EAAoB,QAArB,CAA6B,CAAA;EACL;;AAE9B;AAEA,SAAS,EAAU,EACjB,cACA,iBAAc,YACd,GAAG,KAC0D;CAC7D,OACE,kBAAC,EAAoB,WAArB;EACE,aAAU;EACG;EACb,WAAW,EACT,+IACA,MAAgB,cAAc,sDAC9B,MAAgB,gBAAgB,wDAChC,CACF;EACA,GAAI;EAEJ,UAAA,kBAAC,EAAoB,OAArB;GAA2B,aAAU;GAAoB,WAAU;EAA0C,CAAA;CAChF,CAAA;AAEnC"}
@@ -53,7 +53,7 @@ function p({ placeholder: e, ...t }) {
53
53
  function m({ className: t, children: n, ...i }) {
54
54
  return /* @__PURE__ */ s(c.Trigger, {
55
55
  "data-slot": "select-trigger",
56
- className: e("flex h-9 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm transition-[color,background-color,border-color,box-shadow] duration-150 placeholder:text-muted-foreground hover:border-ring/60 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 disabled:cursor-not-allowed disabled:opacity-50 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&>span]:line-clamp-1", t),
56
+ className: e("flex h-9 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm transition-[color,background-color,border-color,box-shadow] duration-control placeholder:text-muted-foreground hover:border-ring/60 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 disabled:cursor-not-allowed disabled:opacity-50 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&>span]:line-clamp-1", t),
57
57
  ...i,
58
58
  children: [n, /* @__PURE__ */ o(c.Icon, {
59
59
  className: "flex",
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","names":[],"sources":["../../../src/components/ui/select.tsx"],"mappings":";;;;;;;;AAcA,SAAS,EAAmB,GAA8E;CACxG,IAAM,IAA2D,CAAC,GAC5D,KAAQ,MAA0B;EACtC,EAAM,SAAS,QAAQ,IAAO,MAAU;GACtC,IAAI,CAAC,EAAM,eAAe,CAAK,GAAG;GAClC,IAAM,IAAa,EAAM;GACzB,AAAI,EAAM,SAAS,KAAc,EAAW,UAAU,KAAA,IACpD,EAAM,KAAK;IAAE,OAAO,EAAW;IAAO,OAAO,EAAW;GAAS,CAAC,IACzD,EAAW,YACpB,EAAK,EAAW,QAAQ;EAE5B,CAAC;CACH;CAEA,OADA,EAAK,CAAQ,GACN;AACT;AAYA,IAAM,IAAqB,EAAM,cAAiE,CAAC,CAAC;AAEpG,SAAS,EAAO,EAAE,aAAU,kBAAe,GAAG,KAAsB;CAOlE,IAAM,IAAY,EAAmB,CAAQ,GACvC,CAAC,GAAa,KAAkB,EAAM,eAAe,EAAqB,MAAM,CAAS,CAAC,GAC1F,IAAkB,EAAqB,GAAa,CAAS;CACnE,AAAI,MAAoB,KAAa,EAAe,CAAe;CACnE,IAAM,IAAQ,EAAgB,OACxB,IAAoB,EAAM,cAI5B,KACK,MAAmB;EAClB,AAAI,KAAS,QAAM,EAAc,CAAe;CAClD,IACA,KAAA,GACN,CAAC,CAAa,CAChB;CACA,OACE,kBAAC,EAAmB,UAApB;EAA6B,OAAO;EAClC,UAAA,kBAAC,EAAgB,MAAjB;GAAsB,OAAO,EAAM,SAAS,IAAI,IAAQ,KAAA;GAAW,eAAe;GAAmB,GAAI;GACtG;EACmB,CAAA;CACK,CAAA;AAEjC;AAEA,SAAS,EAAY,EAAE,GAAG,KAA6D;CACrF,OAAO,kBAAC,EAAgB,OAAjB;EAAuB,aAAU;EAAe,GAAI;CAAQ,CAAA;AACrE;AAEA,SAAS,EAAY,E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;;CACG,CAAA,EACN,CAAA;AAE5B;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAkE;CACrG,OACE,kBAAC,EAAgB,YAAjB;EACE,aAAU;EACV,WAAW,EAAG,0CAA0C,CAAS;EACjE,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,aAAU,GAAG,KAA4D;CACxG,OACE,kBAAC,EAAgB,MAAjB;EACE,aAAU;EACV,WAAW,EACT,oSACA,CACF;EACA,GAAI;EANN,UAAA,CAQE,kBAAC,QAAD;GAAM,WAAU;GACd,UAAA,kBAAC,EAAgB,eAAjB,EAAA,UACE,kBAAC,GAAD,EAAO,WAAU,UAAW,CAAA,EACC,CAAA;EAC3B,CAAA,GAEN,kBAAC,EAAgB,UAAjB,EAA2B,YAAmC,CAAA,CAC1C;;AAE1B;AAEA,SAAS,EAAgB,EAAE,cAAW,GAAG,KAAsC;CAC7E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,MAAK;EACL,oBAAiB;EACjB,WAAW,EAAG,4BAA4B,CAAS;EACnD,GAAI;CACL,CAAA;AAEL"}
@@ -1,2 +1,14 @@
1
+ /**
2
+ * Content placeholder.
3
+ *
4
+ * Reduced motion — the pulse is dropped entirely rather than left to the
5
+ * global 1ms backstop in theme.css. That backstop stops an animation, but
6
+ * where it stops is arbitrary; `pulse` dips to `opacity: .5`, so a frozen
7
+ * frame can leave a grid of placeholders sitting at inconsistent opacities
8
+ * that reads as a half-loaded page. `motion-reduce:animate-none` instead
9
+ * lands every placeholder on the same flat `bg-accent` block — which is
10
+ * already the thing that says "content is coming", with or without the
11
+ * pulse (issue #180).
12
+ */
1
13
  declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
2
14
  export { Skeleton };
@@ -4,7 +4,7 @@ import { jsx as t } from "react/jsx-runtime";
4
4
  function n({ className: n, ...r }) {
5
5
  return /* @__PURE__ */ t("div", {
6
6
  "data-slot": "skeleton",
7
- className: e("bg-accent animate-pulse rounded-md", n),
7
+ className: e("bg-accent animate-pulse motion-reduce:animate-none rounded-md", n),
8
8
  ...r
9
9
  });
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.js","names":[],"sources":["../../../src/components/ui/skeleton.tsx"],"mappings":";;;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAsC;CACtE,OAAO,kBAAC,OAAD;EAAK,aAAU;EAAW,WAAW,EAAG,sCAAsC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G"}
1
+ {"version":3,"file":"skeleton.js","names":[],"sources":["../../../src/components/ui/skeleton.tsx"],"mappings":";;;AAcA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAsC;CACtE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,iEAAiE,CAAS;EACxF,GAAI;CACL,CAAA;AAEL"}
@@ -0,0 +1,42 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import * as React from "react";
3
+ /**
4
+ * Size scale is pinned to the button heights it sits inside, so a spinner
5
+ * never has to be hand-sized at the call site:
6
+ *
7
+ * sm 14px Button size="sm" / "icon-sm" (h-8)
8
+ * md 16px Button size="default" / "icon" (h-9) — matches the 16px icon
9
+ * slot every other Button icon lands in
10
+ * lg 20px Button size="lg" / "icon-lg" (h-10)
11
+ */
12
+ declare const spinnerVariants: (props?: ({
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
+ export interface SpinnerProps extends Omit<React.ComponentProps<"span">, "children">, VariantProps<typeof spinnerVariants> {
16
+ /**
17
+ * Text announced to assistive technology via `role="status"`. Pass `null`
18
+ * for a purely decorative spinner — used when an ancestor already carries
19
+ * the busy semantics (e.g. `<Button loading>`, which owns `aria-busy` and
20
+ * whose accessible name must stay stable).
21
+ */
22
+ label?: string | null;
23
+ }
24
+ /**
25
+ * Indeterminate progress indicator.
26
+ *
27
+ * Reduced motion — the rotation is not merely stopped, it is REPLACED. The
28
+ * default mark is a three-quarter arc whose entire meaning is carried by the
29
+ * rotation; frozen, it reads as a rendering glitch rather than "pending". So
30
+ * under `prefers-reduced-motion: reduce` the arc is swapped for a complete,
31
+ * dimmed ring: a still frame that is legible as a deliberate placeholder,
32
+ * matching the visual language of the equally static `Skeleton`. The swap is
33
+ * pure CSS (`motion-reduce:`), so it is SSR-safe and cannot hydrate wrong,
34
+ * and the announcement is unaffected — `role="status"` carries the state for
35
+ * assistive technology in both cases, which is what makes dropping the
36
+ * animation acceptable rather than merely quieter.
37
+ *
38
+ * Removing the infinite rotation is also what settles WCAG 2.2.2 (Pause,
39
+ * Stop, Hide): nothing here moves for more than five seconds.
40
+ */
41
+ declare function Spinner({ className, size, label, ...props }: SpinnerProps): React.JSX.Element;
42
+ export { Spinner, spinnerVariants };
@@ -0,0 +1,44 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { Circle as t, LoaderCircle as n } from "lucide-react";
3
+ import "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { cva as a } from "class-variance-authority";
6
+ //#region src/components/ui/spinner.tsx
7
+ var o = a("inline-block shrink-0 align-middle", {
8
+ variants: { size: {
9
+ sm: "size-3.5",
10
+ md: "size-4",
11
+ lg: "size-5"
12
+ } },
13
+ defaultVariants: { size: "md" }
14
+ });
15
+ function s({ className: a, size: s = "md", label: c = "Loading", ...l }) {
16
+ let u = c === null;
17
+ return /* @__PURE__ */ i("span", {
18
+ "data-slot": "spinner",
19
+ role: u ? void 0 : "status",
20
+ "aria-hidden": u || void 0,
21
+ className: e(o({ size: s }), a),
22
+ ...l,
23
+ children: [
24
+ /* @__PURE__ */ r(n, {
25
+ "data-slot": "spinner-mark",
26
+ "aria-hidden": !0,
27
+ className: "size-full animate-spin motion-reduce:hidden"
28
+ }),
29
+ /* @__PURE__ */ r(t, {
30
+ "data-slot": "spinner-mark-static",
31
+ "aria-hidden": !0,
32
+ className: "hidden size-full opacity-60 motion-reduce:block"
33
+ }),
34
+ u ? null : /* @__PURE__ */ r("span", {
35
+ className: "sr-only",
36
+ children: c
37
+ })
38
+ ]
39
+ });
40
+ }
41
+ //#endregion
42
+ export { s as Spinner, o as spinnerVariants };
43
+
44
+ //# sourceMappingURL=spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.js","names":[],"sources":["../../../src/components/ui/spinner.tsx"],"mappings":";;;;;;AAeA,IAAM,IAAkB,EAAI,sCAAsC;CAChE,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;CACN,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC;AA8BD,SAAS,EAAQ,EAAE,cAAW,UAAO,MAAM,WAAQ,WAAW,GAAG,KAAuB;CACtF,IAAM,IAAa,MAAU;CAC7B,OACE,kBAAC,QAAD;EACE,aAAU;EACV,MAAM,IAAa,KAAA,IAAY;EAC/B,eAAa,KAAc,KAAA;EAC3B,WAAW,EAAG,EAAgB,EAAE,QAAK,CAAC,GAAG,CAAS;EAClD,GAAI;EALN,UAAA;GAOE,kBAAC,GAAD;IAAc,aAAU;IAAe,eAAA;IAAY,WAAU;GAA+C,CAAA;GAC5G,kBAAC,GAAD;IAAQ,aAAU;IAAsB,eAAA;IAAY,WAAU;GAAmD,CAAA;GAChH,IAAa,OAAO,kBAAC,QAAD;IAAM,WAAU;IAAW,UAAA;GAAY,CAAA;EACxD;;AAEV"}
@@ -10,7 +10,7 @@ function i({ className: i, ...a }) {
10
10
  render: /* @__PURE__ */ t("button", { type: "button" }),
11
11
  nativeButton: !0,
12
12
  "data-slot": "switch",
13
- className: e("peer data-[checked]:bg-primary data-[unchecked]:bg-muted data-[unchecked]:border-input focus-visible:border-ring focus-visible:ring-ring/50 enabled:hover:ring-ring/30 enabled:hover:ring-[3px] aria-invalid:border-destructive aria-invalid:data-[unchecked]:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex h-6 w-11 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-[color,background-color,border-color,box-shadow] duration-150 outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", i),
13
+ className: e("peer data-[checked]:bg-primary data-[unchecked]:bg-muted data-[unchecked]:border-input focus-visible:border-ring focus-visible:ring-ring/50 enabled:hover:ring-ring/30 enabled:hover:ring-[3px] aria-invalid:border-destructive aria-invalid:data-[unchecked]:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex h-6 w-11 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-[color,background-color,border-color,box-shadow] duration-control outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", i),
14
14
  ...a,
15
15
  children: /* @__PURE__ */ t(n.Thumb, {
16
16
  "data-slot": "switch-thumb",
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","names":[],"sources":["../../../src/components/ui/switch.tsx"],"mappings":";;;;;;AAoBA,IAAM,IACJ;AAEF,SAAS,EAAO,EAAE,cAAW,GAAG,KAA4D;CAC1F,OACE,kBAAC,EAAgB,MAAjB;EAGE,QAAQ,kBAAC,UAAD,EAAQ,MAAK,SAAU,CAAA;EAC/B,cAAA;EACA,aAAU;EACV,WAAW,EAUT,slBACA,CACF;EACA,GAAI;EAEJ,UAAA,kBAAC,EAAgB,OAAjB;GAAuB,aAAU;GAAe,WAAW;EAAiB,CAAA;CACxD,CAAA;AAE1B"}
1
+ {"version":3,"file":"switch.js","names":[],"sources":["../../../src/components/ui/switch.tsx"],"mappings":";;;;;;AAoBA,IAAM,IACJ;AAEF,SAAS,EAAO,EAAE,cAAW,GAAG,KAA4D;CAC1F,OACE,kBAAC,EAAgB,MAAjB;EAGE,QAAQ,kBAAC,UAAD,EAAQ,MAAK,SAAU,CAAA;EAC/B,cAAA;EACA,aAAU;EACV,WAAW,EAUT,0lBACA,CACF;EACA,GAAI;EAEJ,UAAA,kBAAC,EAAgB,OAAjB;GAAuB,aAAU;GAAe,WAAW;EAAiB,CAAA;CACxD,CAAA;AAE1B"}
@@ -30,7 +30,7 @@ function i({ className: n, ...r }) {
30
30
  function a({ className: n, ...r }) {
31
31
  return /* @__PURE__ */ t("tr", {
32
32
  "data-slot": "table-row",
33
- className: e("border-b transition-colors duration-150 hover:bg-muted/50", n),
33
+ className: e("border-b transition-colors duration-control hover:bg-muted/50", n),
34
34
  ...r
35
35
  });
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","names":[],"sources":["../../../src/components/ui/table.tsx"],"mappings":";;;;AASA,SAAS,EAAM,EAAE,cAAW,GAAG,KAAwC;CACrE,OACE,kBAAC,OAAD;EAAK,aAAU;EAAkB,WAAU;EACzC,UAAA,kBAAC,SAAD;GAAO,aAAU;GAAQ,WAAW,EAAG,iCAAiC,CAAS;GAAG,GAAI;EAAQ,CAAA;CAC7F,CAAA;AAET;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAwC;CAC3E,OAAO,kBAAC,SAAD;EAAO,aAAU;EAAe,WAAW,EAAG,mBAAmB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAClG;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAwC;CACzE,OAAO,kBAAC,SAAD;EAAO,aAAU;EAAa,WAAW,EAAG,8BAA8B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAqC;CACrE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,6DAA6D,CAAS;EACpF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAqC;CACtE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,qEAAqE,CAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAqC;CACtE,OAAO,kBAAC,MAAD;EAAI,aAAU;EAAa,WAAW,EAAG,oBAAoB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC9F"}
1
+ {"version":3,"file":"table.js","names":[],"sources":["../../../src/components/ui/table.tsx"],"mappings":";;;;AASA,SAAS,EAAM,EAAE,cAAW,GAAG,KAAwC;CACrE,OACE,kBAAC,OAAD;EAAK,aAAU;EAAkB,WAAU;EACzC,UAAA,kBAAC,SAAD;GAAO,aAAU;GAAQ,WAAW,EAAG,iCAAiC,CAAS;GAAG,GAAI;EAAQ,CAAA;CAC7F,CAAA;AAET;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAwC;CAC3E,OAAO,kBAAC,SAAD;EAAO,aAAU;EAAe,WAAW,EAAG,mBAAmB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAClG;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAwC;CACzE,OAAO,kBAAC,SAAD;EAAO,aAAU;EAAa,WAAW,EAAG,8BAA8B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAqC;CACrE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,iEAAiE,CAAS;EACxF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAqC;CACtE,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,qEAAqE,CAAS;EAC5F,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAqC;CACtE,OAAO,kBAAC,MAAD;EAAI,aAAU;EAAa,WAAW,EAAG,oBAAoB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC9F"}
@@ -20,7 +20,7 @@ function i({ className: r, ...i }) {
20
20
  function a({ className: r, ...i }) {
21
21
  return /* @__PURE__ */ t(n.Tab, {
22
22
  "data-slot": "tabs-trigger",
23
- className: e("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-[color,background-color,box-shadow] duration-200 outline-none not-data-[active]:hover:bg-background/50 not-data-[active]:hover:text-foreground focus-visible:ring-ring/50 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-background data-[active]:text-foreground data-[active]:shadow-sm", r),
23
+ className: e("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-[color,background-color,box-shadow] duration-base outline-none not-data-[active]:hover:bg-background/50 not-data-[active]:hover:text-foreground focus-visible:ring-ring/50 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-background data-[active]:text-foreground data-[active]:shadow-sm", r),
24
24
  ...i
25
25
  });
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","names":[],"sources":["../../../src/components/ui/tabs.tsx"],"mappings":";;;;;;AAOA,SAAS,EAAK,EAAE,GAAG,KAA0D;CAC3E,OAAO,kBAAC,EAAc,MAAf;EAAoB,aAAU;EAAO,GAAI;CAAQ,CAAA;AAC1D;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAA0D;CAC1F,OACE,kBAAC,EAAc,MAAf;EACE,aAAU;EACV,WAAW,EACT,8FACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAyD;CAC5F,OACE,kBAAC,EAAc,KAAf;EACE,aAAU;EACV,WAAW,EAIT,ybACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAA2D;CAC9F,OACE,kBAAC,EAAc,OAAf;EACE,aAAU;EACV,WAAW,EAAG,yEAAyE,CAAS;EAChG,GAAI;CACL,CAAA;AAEL"}
1
+ {"version":3,"file":"tabs.js","names":[],"sources":["../../../src/components/ui/tabs.tsx"],"mappings":";;;;;;AAOA,SAAS,EAAK,EAAE,GAAG,KAA0D;CAC3E,OAAO,kBAAC,EAAc,MAAf;EAAoB,aAAU;EAAO,GAAI;CAAQ,CAAA;AAC1D;AAEA,SAAS,EAAS,EAAE,cAAW,GAAG,KAA0D;CAC1F,OACE,kBAAC,EAAc,MAAf;EACE,aAAU;EACV,WAAW,EACT,8FACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAyD;CAC5F,OACE,kBAAC,EAAc,KAAf;EACE,aAAU;EACV,WAAW,EAIT,0bACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAA2D;CAC9F,OACE,kBAAC,EAAc,OAAf;EACE,aAAU;EACV,WAAW,EAAG,yEAAyE,CAAS;EAChG,GAAI;CACL,CAAA;AAEL"}
@@ -5,7 +5,7 @@ import { jsx as t } from "react/jsx-runtime";
5
5
  function n({ className: n, ...r }) {
6
6
  return /* @__PURE__ */ t("textarea", {
7
7
  "data-slot": "textarea",
8
- className: e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm transition-[color,background-color,border-color,box-shadow] duration-150", "placeholder:text-muted-foreground", "hover:border-ring/60", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "disabled:cursor-not-allowed disabled:opacity-50", n),
8
+ className: e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm transition-[color,background-color,border-color,box-shadow] duration-control", "placeholder:text-muted-foreground", "hover:border-ring/60", "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", "disabled:cursor-not-allowed disabled:opacity-50", n),
9
9
  ...r
10
10
  });
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","names":[],"sources":["../../../src/components/ui/textarea.tsx"],"mappings":";;;;AAIA,SAAS,EAAS,EAAE,cAAW,GAAG,KAA2C;CAC3E,OACE,kBAAC,YAAD;EACE,aAAU;EACV,WAAW,EACT,+KACA,qCACA,wBACA,8FACA,0GACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
1
+ {"version":3,"file":"textarea.js","names":[],"sources":["../../../src/components/ui/textarea.tsx"],"mappings":";;;;AAIA,SAAS,EAAS,EAAE,cAAW,GAAG,KAA2C;CAC3E,OACE,kBAAC,YAAD;EACE,aAAU;EACV,WAAW,EACT,mLACA,qCACA,wBACA,8FACA,0GACA,mDACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
package/dist/index.d.ts CHANGED
@@ -33,6 +33,7 @@ export * from "./components/ui/select";
33
33
  export * from "./components/ui/sheet";
34
34
  export * from "./components/ui/skeleton";
35
35
  export * from "./components/ui/slider";
36
+ export * from "./components/ui/spinner";
36
37
  export * from "./components/ui/stack";
37
38
  export * from "./components/ui/switch";
38
39
  export * from "./components/ui/table";
package/dist/index.js CHANGED
@@ -1,64 +1,65 @@
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 c, buttonVariants as l } from "./components/ui/button.js";
5
- import { AlertDialog as u, AlertDialogAction as d, AlertDialogCancel as f, AlertDialogContent as p, AlertDialogDescription as m, AlertDialogFooter as h, AlertDialogHeader as g, AlertDialogOverlay as _, AlertDialogPortal as v, AlertDialogTitle as y, AlertDialogTrigger as b } from "./components/ui/alert-dialog.js";
6
- import { Aurora as x } from "./components/ui/aurora.js";
7
- import { Badge as S, badgeVariants as C } from "./components/ui/badge.js";
8
- import { Box as w } from "./components/ui/box.js";
9
- import { Card as T, CardAction as E, CardContent as D, CardDescription as O, CardFooter as k, CardHeader as A, CardTitle as j } from "./components/ui/card.js";
10
- import { Checkbox as M } from "./components/ui/checkbox.js";
11
- import { Code as N } from "./components/ui/code.js";
12
- import { Collapsible as P, CollapsibleContent as F, CollapsibleTrigger as I } from "./components/ui/collapsible.js";
13
- import { Dialog as L, DialogClose as R, DialogContent as z, DialogDescription as B, DialogFooter as V, DialogHeader as H, DialogOverlay as U, DialogPortal as W, DialogTitle as G, DialogTrigger as K } from "./components/ui/dialog.js";
14
- import { DropdownMenu as q, DropdownMenuCheckboxItem as J, DropdownMenuContent as Y, DropdownMenuGroup as X, DropdownMenuItem as Z, DropdownMenuLabel as Q, DropdownMenuPortal as $, DropdownMenuRadioGroup as ee, DropdownMenuRadioItem as te, DropdownMenuSeparator as ne, DropdownMenuShortcut as re, DropdownMenuSub as ie, DropdownMenuSubContent as ae, DropdownMenuSubTrigger as oe, DropdownMenuTrigger as se } from "./components/ui/dropdown-menu.js";
15
- import { EmptyState as ce } from "./components/ui/empty-state.js";
16
- import { Flex as le, flexVariants as ue } from "./components/ui/flex.js";
17
- import { Grid as de, gridVariants as fe } from "./components/ui/grid.js";
18
- import { Heading as pe, headingVariants as me } from "./components/ui/heading.js";
19
- import { Input as he } from "./components/ui/input.js";
20
- import { Label as ge } from "./components/ui/label.js";
21
- import { List as _e, ListItem as ve, listVariants as ye } from "./components/ui/list.js";
22
- import be from "./components/ui/react-bits/decrypted-text.js";
23
- import xe from "./components/ui/react-bits/fade-content.js";
24
- import { ScrollArea as Se, ScrollBar as Ce } from "./components/ui/scroll-area.js";
25
- import { Select as we, SelectContent as Te, SelectGroup as Ee, SelectItem as De, SelectLabel as Oe, SelectScrollDownButton as ke, SelectScrollUpButton as Ae, SelectSeparator as je, SelectTrigger as Me, SelectValue as Ne } from "./components/ui/select.js";
26
- import { Sheet as Pe, SheetClose as Fe, SheetContent as Ie, SheetDescription as Le, SheetFooter as Re, SheetHeader as ze, SheetOverlay as Be, SheetPortal as Ve, SheetTitle as He, SheetTrigger as Ue } from "./components/ui/sheet.js";
27
- import { Skeleton as We } from "./components/ui/skeleton.js";
28
- import { Slider as Ge } from "./components/ui/slider.js";
29
- import { Stack as Ke, stackVariants as qe } from "./components/ui/stack.js";
30
- import { Switch as Je } from "./components/ui/switch.js";
31
- import { Table as Ye, TableBody as Xe, TableCell as Ze, TableHead as Qe, TableHeader as $e, TableRow as et } from "./components/ui/table.js";
32
- import { Tabs as tt, TabsContent as nt, TabsList as rt, TabsTrigger as it } from "./components/ui/tabs.js";
33
- import { Text as at, textVariants as ot } from "./components/ui/text.js";
34
- import { TextLink as st } from "./components/ui/text-link.js";
35
- import { Textarea as ct } from "./components/ui/textarea.js";
36
- import { Tooltip as lt, TooltipContent as ut, TooltipProvider as dt, TooltipTrigger as ft } from "./components/ui/tooltip.js";
37
- import { BoardIcon as pt } from "./components/chrome/board-icon.js";
38
- import { BoardSelector as mt } from "./components/chrome/board-selector.js";
39
- import { FIESTA_ICON_DATA_URI as ht, FIESTA_ICON_PALETTE as gt, FIESTA_ICON_SVG as _t, FiestaIcon as vt } from "./components/chrome/fiesta-icon.js";
40
- import { FiestaLogo as yt } from "./components/chrome/fiesta-logo.js";
41
- import { LanguageSelector as bt } from "./components/chrome/language-selector.js";
42
- import { MainContent as xt } from "./components/chrome/main-content.js";
43
- import { PageHeader as St, PageIconGradientDefs as Ct } from "./components/chrome/page-header.js";
44
- import { PageLayout as wt } from "./components/chrome/page-layout.js";
45
- import { PageToolbar as Tt } from "./components/chrome/page-toolbar.js";
46
- import { SidebarAurora as Et } from "./components/seasons/sidebar-aurora.js";
47
- import { SidebarAuroraHorizontal as Dt } from "./components/seasons/sidebar-aurora-horizontal.js";
48
- import { Sidebar as Ot } from "./components/chrome/sidebar.js";
49
- import { SkipToContent as kt } from "./components/chrome/skip-to-content.js";
50
- import { ThemeToggle as At } from "./components/chrome/theme-toggle.js";
51
- import { HIDE_FESTIVE_COOKIE as jt, PRIDE_SEASON as Mt, SEASONS as Nt, fireSeasonBurst as Pt, getActiveSeason as Ft, readCookieString as It, shouldShowPride as Lt, useActiveSeason as Rt, usePrideActive as zt } from "./lib/seasons.js";
52
- import { ALL_COLOR_CODES as Bt, AVAILABLE_COLORS as Vt, BOARD_COLORS as Ht, COLOR_CODE_MAP as Ut, COLOR_DISPLAY as Wt, getBoardColor as Gt, isValidBoardColor as Kt, resolveColorCode as qt } from "./lib/board-colors.js";
53
- import { BOARD_CHARS as Jt, EXTRA_CHARS as Yt, getCharFromToken as Xt, getCharIndex as Zt, isColorTile as Qt, messageToGrid as $t, parseLine as en, tokensEqual as tn } from "./lib/board-characters.js";
54
- import { DEVICE_DIMENSIONS as nn, MAX_NOTES_PER_AXIS as rn, NOTE_COLS as an, NOTE_ROWS as on, isNoteArray as sn, noteArrayDimensions as cn, resolveDimensions as ln } from "./lib/board-dimensions.js";
55
- import { BoardDisplay as un } from "./components/board/board-display.js";
56
- import { BoardTeaser as dn } from "./components/board/board-teaser.js";
57
- import { ScaledBoardDisplay as fn } from "./components/board/scaled-board-display.js";
58
- import { StaticBoardDisplay as pn } from "./components/board/static-board-display.js";
59
- import { DEFAULT_SHAPE_LABELS as mn, previewLabel as hn, previewLabels as gn, previewMessage as _n } from "./lib/board-previews.js";
60
- import { BoardShowcase as vn, DEFAULT_SHOWCASE_LABELS as yn } from "./components/plugin/board-showcase.js";
61
- import { PLUGIN_CATEGORIES as bn, PluginCategoryBadge as xn } from "./components/plugin/plugin-category-badge.js";
62
- import { ScaledBoardTeaser as Sn } from "./components/plugin/scaled-board-teaser.js";
63
- import { PluginCard as Cn } from "./components/plugin/plugin-card.js";
64
- export { Bt as ALL_COLOR_CODES, Vt as AVAILABLE_COLORS, t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger, a as Alert, o as AlertDescription, u as AlertDialog, d as AlertDialogAction, f as AlertDialogCancel, p as AlertDialogContent, m as AlertDialogDescription, h as AlertDialogFooter, g as AlertDialogHeader, _ as AlertDialogOverlay, v as AlertDialogPortal, y as AlertDialogTitle, b as AlertDialogTrigger, s as AlertTitle, x as Aurora, Jt as BOARD_CHARS, Ht as BOARD_COLORS, S as Badge, un as BoardDisplay, pt as BoardIcon, mt as BoardSelector, vn as BoardShowcase, dn as BoardTeaser, w as Box, c as Button, Ut as COLOR_CODE_MAP, Wt as COLOR_DISPLAY, T as Card, E as CardAction, D as CardContent, O as CardDescription, k as CardFooter, A as CardHeader, j as CardTitle, M as Checkbox, N as Code, P as Collapsible, F as CollapsibleContent, I as CollapsibleTrigger, mn as DEFAULT_SHAPE_LABELS, yn as DEFAULT_SHOWCASE_LABELS, nn as DEVICE_DIMENSIONS, be as DecryptedText, L as Dialog, R as DialogClose, z as DialogContent, B as DialogDescription, V as DialogFooter, H as DialogHeader, U as DialogOverlay, W as DialogPortal, G as DialogTitle, K as DialogTrigger, q as DropdownMenu, J as DropdownMenuCheckboxItem, Y as DropdownMenuContent, X as DropdownMenuGroup, Z as DropdownMenuItem, Q as DropdownMenuLabel, $ as DropdownMenuPortal, ee as DropdownMenuRadioGroup, te as DropdownMenuRadioItem, ne as DropdownMenuSeparator, re as DropdownMenuShortcut, ie as DropdownMenuSub, ae as DropdownMenuSubContent, oe as DropdownMenuSubTrigger, se as DropdownMenuTrigger, Yt as EXTRA_CHARS, ce as EmptyState, ht as FIESTA_ICON_DATA_URI, gt as FIESTA_ICON_PALETTE, _t as FIESTA_ICON_SVG, xe as FadeContent, vt as FiestaIcon, yt as FiestaLogo, le as Flex, de as Grid, jt as HIDE_FESTIVE_COOKIE, pe as Heading, he as Input, ge as Label, bt as LanguageSelector, _e as List, ve as ListItem, rn as MAX_NOTES_PER_AXIS, xt as MainContent, an as NOTE_COLS, on as NOTE_ROWS, bn as PLUGIN_CATEGORIES, Mt as PRIDE_SEASON, St as PageHeader, Ct as PageIconGradientDefs, wt as PageLayout, Tt as PageToolbar, Cn as PluginCard, xn as PluginCategoryBadge, Nt as SEASONS, fn as ScaledBoardDisplay, Sn as ScaledBoardTeaser, Se as ScrollArea, Ce as ScrollBar, we as Select, Te as SelectContent, Ee as SelectGroup, De as SelectItem, Oe as SelectLabel, ke as SelectScrollDownButton, Ae as SelectScrollUpButton, je as SelectSeparator, Me as SelectTrigger, Ne as SelectValue, Pe as Sheet, Fe as SheetClose, Ie as SheetContent, Le as SheetDescription, Re as SheetFooter, ze as SheetHeader, Be as SheetOverlay, Ve as SheetPortal, He as SheetTitle, Ue as SheetTrigger, Ot as Sidebar, Et as SidebarAurora, Dt as SidebarAuroraHorizontal, We as Skeleton, kt as SkipToContent, Ge as Slider, Ke as Stack, pn as StaticBoardDisplay, Je as Switch, Ye as Table, Xe as TableBody, Ze as TableCell, Qe as TableHead, $e as TableHeader, et as TableRow, tt as Tabs, nt as TabsContent, rt as TabsList, it as TabsTrigger, at as Text, st as TextLink, ct as Textarea, At as ThemeToggle, lt as Tooltip, ut as TooltipContent, dt as TooltipProvider, ft as TooltipTrigger, C as badgeVariants, l as buttonVariants, e as cn, Pt as fireSeasonBurst, ue as flexVariants, Ft as getActiveSeason, Gt as getBoardColor, Xt as getCharFromToken, Zt as getCharIndex, fe as gridVariants, me as headingVariants, Qt as isColorTile, sn as isNoteArray, Kt as isValidBoardColor, ye as listVariants, $t as messageToGrid, cn as noteArrayDimensions, en as parseLine, hn as previewLabel, gn as previewLabels, _n as previewMessage, It as readCookieString, qt as resolveColorCode, ln as resolveDimensions, Lt as shouldShowPride, qe as stackVariants, ot as textVariants, tn as tokensEqual, Rt as useActiveSeason, zt as usePrideActive };
3
+ import { Alert as a, AlertDescription as o, AlertTitle as s, alertVariants as c } from "./components/ui/alert.js";
4
+ import { Spinner as l, spinnerVariants as u } from "./components/ui/spinner.js";
5
+ import { Button as d, buttonVariants as f } from "./components/ui/button.js";
6
+ import { AlertDialog as p, AlertDialogAction as m, AlertDialogCancel as h, AlertDialogContent as g, AlertDialogDescription as _, AlertDialogFooter as v, AlertDialogHeader as y, AlertDialogOverlay as b, AlertDialogPortal as x, AlertDialogTitle as S, AlertDialogTrigger as C } from "./components/ui/alert-dialog.js";
7
+ import { Aurora as w } from "./components/ui/aurora.js";
8
+ import { Badge as T, badgeVariants as E } from "./components/ui/badge.js";
9
+ import { Box as D } from "./components/ui/box.js";
10
+ import { Card as O, CardAction as k, CardContent as A, CardDescription as j, CardFooter as M, CardHeader as N, CardTitle as P } from "./components/ui/card.js";
11
+ import { Checkbox as F } from "./components/ui/checkbox.js";
12
+ import { Code as I } from "./components/ui/code.js";
13
+ import { Collapsible as L, CollapsibleContent as R, CollapsibleTrigger as z } from "./components/ui/collapsible.js";
14
+ import { Dialog as B, DialogClose as V, DialogContent as H, DialogDescription as U, DialogFooter as W, DialogHeader as G, DialogOverlay as K, DialogPortal as q, DialogTitle as J, DialogTrigger as Y } from "./components/ui/dialog.js";
15
+ import { DropdownMenu as X, DropdownMenuCheckboxItem as Z, DropdownMenuContent as Q, DropdownMenuGroup as $, DropdownMenuItem as ee, DropdownMenuLabel as te, DropdownMenuPortal as ne, DropdownMenuRadioGroup as re, DropdownMenuRadioItem as ie, DropdownMenuSeparator as ae, DropdownMenuShortcut as oe, DropdownMenuSub as se, DropdownMenuSubContent as ce, DropdownMenuSubTrigger as le, DropdownMenuTrigger as ue } from "./components/ui/dropdown-menu.js";
16
+ import { EmptyState as de } from "./components/ui/empty-state.js";
17
+ import { Flex as fe, flexVariants as pe } from "./components/ui/flex.js";
18
+ import { Grid as me, gridVariants as he } from "./components/ui/grid.js";
19
+ import { Heading as ge, headingVariants as _e } from "./components/ui/heading.js";
20
+ import { Input as ve } from "./components/ui/input.js";
21
+ import { Label as ye } from "./components/ui/label.js";
22
+ import { List as be, ListItem as xe, listVariants as Se } from "./components/ui/list.js";
23
+ import Ce from "./components/ui/react-bits/decrypted-text.js";
24
+ import we from "./components/ui/react-bits/fade-content.js";
25
+ import { ScrollArea as Te, ScrollBar as Ee } from "./components/ui/scroll-area.js";
26
+ import { Select as De, SelectContent as Oe, SelectGroup as ke, SelectItem as Ae, SelectLabel as je, SelectScrollDownButton as Me, SelectScrollUpButton as Ne, SelectSeparator as Pe, SelectTrigger as Fe, SelectValue as Ie } from "./components/ui/select.js";
27
+ import { Sheet as Le, SheetClose as Re, SheetContent as ze, SheetDescription as Be, SheetFooter as Ve, SheetHeader as He, SheetOverlay as Ue, SheetPortal as We, SheetTitle as Ge, SheetTrigger as Ke } from "./components/ui/sheet.js";
28
+ import { Skeleton as qe } from "./components/ui/skeleton.js";
29
+ import { Slider as Je } from "./components/ui/slider.js";
30
+ import { Stack as Ye, stackVariants as Xe } from "./components/ui/stack.js";
31
+ import { Switch as Ze } from "./components/ui/switch.js";
32
+ import { Table as Qe, TableBody as $e, TableCell as et, TableHead as tt, TableHeader as nt, TableRow as rt } from "./components/ui/table.js";
33
+ import { Tabs as it, TabsContent as at, TabsList as ot, TabsTrigger as st } from "./components/ui/tabs.js";
34
+ import { Text as ct, textVariants as lt } from "./components/ui/text.js";
35
+ import { TextLink as ut } from "./components/ui/text-link.js";
36
+ import { Textarea as dt } from "./components/ui/textarea.js";
37
+ import { Tooltip as ft, TooltipContent as pt, TooltipProvider as mt, TooltipTrigger as ht } from "./components/ui/tooltip.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, parseLine as rn, tokensEqual as an } from "./lib/board-characters.js";
55
+ import { DEVICE_DIMENSIONS as on, MAX_NOTES_PER_AXIS as sn, NOTE_COLS as cn, NOTE_ROWS as ln, isNoteArray as un, noteArrayDimensions as dn, resolveDimensions as fn } from "./lib/board-dimensions.js";
56
+ import { BoardDisplay as pn } from "./components/board/board-display.js";
57
+ import { BoardTeaser as mn } from "./components/board/board-teaser.js";
58
+ import { ScaledBoardDisplay as hn } from "./components/board/scaled-board-display.js";
59
+ import { StaticBoardDisplay as gn } from "./components/board/static-board-display.js";
60
+ import { DEFAULT_SHAPE_LABELS as _n, previewLabel as vn, previewLabels as yn, previewMessage as bn } from "./lib/board-previews.js";
61
+ import { BoardShowcase as xn, DEFAULT_SHOWCASE_LABELS as Sn } from "./components/plugin/board-showcase.js";
62
+ import { PLUGIN_CATEGORIES as Cn, PluginCategoryBadge as wn } from "./components/plugin/plugin-category-badge.js";
63
+ import { ScaledBoardTeaser as Tn } from "./components/plugin/scaled-board-teaser.js";
64
+ import { PluginCard as En } 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, a as Alert, o as AlertDescription, p as AlertDialog, m as AlertDialogAction, h as AlertDialogCancel, g as AlertDialogContent, _ as AlertDialogDescription, v as AlertDialogFooter, y as AlertDialogHeader, b as AlertDialogOverlay, x as AlertDialogPortal, S as AlertDialogTitle, C as AlertDialogTrigger, s as AlertTitle, w as Aurora, Zt as BOARD_CHARS, Gt as BOARD_COLORS, T as Badge, pn as BoardDisplay, gt as BoardIcon, _t as BoardSelector, xn as BoardShowcase, mn as BoardTeaser, D as Box, d as Button, Kt as COLOR_CODE_MAP, qt as COLOR_DISPLAY, O as Card, k as CardAction, A as CardContent, j as CardDescription, M as CardFooter, N as CardHeader, P as CardTitle, F as Checkbox, I as Code, L as Collapsible, R as CollapsibleContent, z as CollapsibleTrigger, _n as DEFAULT_SHAPE_LABELS, Sn as DEFAULT_SHOWCASE_LABELS, on as DEVICE_DIMENSIONS, Ce as DecryptedText, B as Dialog, V as DialogClose, H as DialogContent, U as DialogDescription, W as DialogFooter, G as DialogHeader, K as DialogOverlay, q as DialogPortal, J as DialogTitle, Y as DialogTrigger, X as DropdownMenu, Z as DropdownMenuCheckboxItem, Q as DropdownMenuContent, $ as DropdownMenuGroup, ee as DropdownMenuItem, te as DropdownMenuLabel, ne as DropdownMenuPortal, re as DropdownMenuRadioGroup, ie as DropdownMenuRadioItem, ae as DropdownMenuSeparator, oe as DropdownMenuShortcut, se as DropdownMenuSub, ce as DropdownMenuSubContent, le as DropdownMenuSubTrigger, ue as DropdownMenuTrigger, Qt as EXTRA_CHARS, de as EmptyState, vt as FIESTA_ICON_DATA_URI, yt as FIESTA_ICON_PALETTE, bt as FIESTA_ICON_SVG, we as FadeContent, xt as FiestaIcon, St as FiestaLogo, fe as Flex, me as Grid, Pt as HIDE_FESTIVE_COOKIE, ge as Heading, ve as Input, ye as Label, Ct as LanguageSelector, be as List, xe as ListItem, sn as MAX_NOTES_PER_AXIS, wt as MainContent, cn as NOTE_COLS, ln as NOTE_ROWS, Cn as PLUGIN_CATEGORIES, Ft as PRIDE_SEASON, Tt as PageHeader, Et as PageIconGradientDefs, Dt as PageLayout, Ot as PageToolbar, En as PluginCard, wn as PluginCategoryBadge, It as SEASONS, hn as ScaledBoardDisplay, Tn as ScaledBoardTeaser, Te as ScrollArea, Ee as ScrollBar, De as Select, Oe as SelectContent, ke as SelectGroup, Ae as SelectItem, je as SelectLabel, Me as SelectScrollDownButton, Ne as SelectScrollUpButton, Pe as SelectSeparator, Fe as SelectTrigger, Ie as SelectValue, Le as Sheet, Re as SheetClose, ze as SheetContent, Be as SheetDescription, Ve as SheetFooter, He as SheetHeader, Ue as SheetOverlay, We as SheetPortal, Ge as SheetTitle, Ke as SheetTrigger, jt as Sidebar, kt as SidebarAurora, At as SidebarAuroraHorizontal, qe as Skeleton, Mt as SkipToContent, Je as Slider, l as Spinner, Ye as Stack, gn as StaticBoardDisplay, Ze as Switch, Qe as Table, $e as TableBody, et as TableCell, tt as TableHead, nt as TableHeader, rt as TableRow, it as Tabs, at as TabsContent, ot as TabsList, st as TabsTrigger, ct as Text, ut as TextLink, dt as Textarea, Nt as ThemeToggle, ft as Tooltip, pt as TooltipContent, mt as TooltipProvider, ht as TooltipTrigger, c as alertVariants, E as badgeVariants, f as buttonVariants, e as cn, Lt as fireSeasonBurst, pe as flexVariants, Rt as getActiveSeason, Jt as getBoardColor, $t as getCharFromToken, en as getCharIndex, he as gridVariants, _e as headingVariants, tn as isColorTile, un as isNoteArray, Yt as isValidBoardColor, Se as listVariants, nn as messageToGrid, dn as noteArrayDimensions, rn as parseLine, vn as previewLabel, yn as previewLabels, bn as previewMessage, zt as readCookieString, Xt as resolveColorCode, fn as resolveDimensions, Bt as shouldShowPride, u as spinnerVariants, Xe as stackVariants, lt as textVariants, an as tokensEqual, Vt as useActiveSeason, Ht as usePrideActive };
package/dist/theme.css CHANGED
@@ -151,6 +151,42 @@
151
151
  --shadow-card: var(--elevation-card);
152
152
  --shadow-card-hover: var(--elevation-card-hover);
153
153
  --shadow-modal: var(--elevation-modal);
154
+
155
+ /* ============================================================
156
+ * Motion scale → Tailwind utilities (issue #182).
157
+ *
158
+ * The `duration-*` utility resolves through the `--transition-duration-*`
159
+ * namespace and `ease-*` through `--ease-*` (Tailwind v4). Exporting the
160
+ * motion tokens here is what makes `duration-base` in a component and
161
+ * `var(--motion-duration-base)` in this file the SAME number — retuning a
162
+ * token in :root now moves the component layer with it, instead of the two
163
+ * silently drifting apart (which raw `duration-200` allowed).
164
+ *
165
+ * Declared inside `@theme inline`, so a utility emits
166
+ * `transition-duration: var(--motion-duration-base)` rather than a baked
167
+ * copy of `200ms` — the indirection is what carries a retune through.
168
+ *
169
+ * Bare numeric durations (`duration-200`) still compile; they are banned in
170
+ * src/components by scripts/ci/tests/no-bare-duration-utility.test.mjs.
171
+ *
172
+ * Not exported on purpose:
173
+ * --motion-ease-out (`ease-out`) — Tailwind already ships `--ease-out`
174
+ * with a DIFFERENT curve (cubic-bezier(0, 0, 0.2, 1)). Overriding it
175
+ * would silently retime every existing `ease-out` utility, so the
176
+ * keyword stays a CSS-only token.
177
+ * --motion-ease-in — identical to Tailwind's stock `--ease-in`
178
+ * (cubic-bezier(0.4, 0, 1, 1)), so `ease-in` is already on-scale.
179
+ * ============================================================ */
180
+ --transition-duration-fast: var(--motion-duration-fast);
181
+ --transition-duration-control: var(--motion-duration-control);
182
+ --transition-duration-base: var(--motion-duration-base);
183
+ --transition-duration-exit: var(--motion-duration-exit);
184
+ --transition-duration-slow: var(--motion-duration-slow);
185
+ --transition-duration-slower: var(--motion-duration-slower);
186
+ --transition-duration-slowest: var(--motion-duration-slowest);
187
+ --ease-spring: var(--motion-ease-spring);
188
+ --ease-out-cubic: var(--motion-ease-out-cubic);
189
+ --ease-standard: var(--motion-ease-standard);
154
190
  }
155
191
 
156
192
  :root {
@@ -313,6 +349,10 @@
313
349
  * Deliberately left inline (true one-offs): 117s sidebar gradient
314
350
  * flow, 220ms board-switch exits, 0.8s pride-burst, 1s card-fade-in,
315
351
  * 50ms page-toolbar stagger delay.
352
+ *
353
+ * The component layer reaches these through Tailwind utilities
354
+ * (`duration-base`, `ease-spring`, …), not raw `duration-200` — see the
355
+ * motion export block in `@theme inline` at the top of this file.
316
356
  * ============================================================ */
317
357
  --motion-duration-fast: 100ms;
318
358
  --motion-duration-control: 150ms;
@@ -1300,3 +1340,64 @@ html[data-board-switch="backward"]::view-transition-new(board-page) {
1300
1340
  transition: none !important;
1301
1341
  }
1302
1342
  }
1343
+
1344
+ /* ============================================================
1345
+ * Reduced-motion backstop (issue #180)
1346
+ *
1347
+ * The blocks above gate the animations this file OWNS. Three sources of
1348
+ * motion are structurally out of their reach, and all three shipped
1349
+ * running under `prefers-reduced-motion: reduce`:
1350
+ *
1351
+ * 1. Tailwind utilities — `animate-pulse` (Skeleton) and `animate-spin`
1352
+ * carry no motion gate, and both are INFINITE, which also engages
1353
+ * WCAG 2.2.2 (Pause, Stop, Hide).
1354
+ * 2. tw-animate-css — its `enter`/`exit` keyframes (Dialog, AlertDialog,
1355
+ * Select, Tooltip …) contain no `prefers-reduced-motion` rule at all.
1356
+ * 3. Inline `style` animations — `sheet.tsx` sets `animation` as an
1357
+ * element style, which no ordinary CSS rule can reach. `!important`
1358
+ * can: it outranks the style attribute.
1359
+ *
1360
+ * Hence the universal rule. 1ms rather than 0s on purpose: a zero-length
1361
+ * animation/transition is skipped entirely by some engines, which would
1362
+ * silently drop the `animationend`/`transitionend` that Base UI waits on
1363
+ * before unmounting an exiting popup. 1ms still fires the event on the
1364
+ * next frame, so anything gated on completion still completes; anything
1365
+ * animating in from `opacity: 0` still lands at `opacity: 1`.
1366
+ *
1367
+ * This is a BACKSTOP, not the whole answer. Where a frozen frame is worse
1368
+ * than a bespoke pose, the component states it itself and wins by being
1369
+ * more specific — Skeleton uses `motion-reduce:animate-none` for a static
1370
+ * `bg-accent` placeholder rather than an arbitrary mid-pulse frame, and
1371
+ * Spinner swaps its rotating arc for a static complete ring.
1372
+ * ============================================================ */
1373
+ @media (prefers-reduced-motion: reduce) {
1374
+ *,
1375
+ *::before,
1376
+ *::after {
1377
+ animation-duration: 1ms !important;
1378
+ animation-iteration-count: 1 !important;
1379
+ transition-duration: 1ms !important;
1380
+ }
1381
+
1382
+ /* Exemption: these two must read back EXACTLY 0s.
1383
+ `main-content.tsx` gates its FLIP slide on
1384
+ `parseFloat(getComputedStyle(shift).transitionDuration) === 0`, then —
1385
+ once past that gate — pins `overflow-x: clip` on <main> until a
1386
+ `transitionend` for `transform` clears it. The reduced-motion rule
1387
+ above keeps `transition-property: none`, so that event never arrives;
1388
+ leaving the universal 1ms in place would push the computed duration to
1389
+ 0.001s, defeat the `=== 0` early return, and strand the clip. Keeping
1390
+ the shorthand (specificity 0,1,0 beats `*`) restores 0s. */
1391
+ .sidebar-transition,
1392
+ .content-shift {
1393
+ transition: none !important;
1394
+ }
1395
+ }
1396
+
1397
+ /* Same exemption for the app's `.reduce-motion` class: when the OS
1398
+ preference and the class are both set the universal rule above applies,
1399
+ so the class-based freeze needs `!important` too. */
1400
+ .reduce-motion .sidebar-transition,
1401
+ .reduce-motion .content-shift {
1402
+ transition: none !important;
1403
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiestaboard/ui",
3
- "version": "2.0.2",
3
+ "version": "2.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": {