@craftzbay/ui 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,7 @@ export * from './components/ui/CommandPalette';
20
20
  export * from './components/ui/ContextMenu';
21
21
  export * from './components/ui/DataGrid';
22
22
  export * from './components/ui/DatePicker';
23
+ export * from './components/ui/DesignSystemProvider';
23
24
  export * from './components/ui/Dialog';
24
25
  export * from './components/ui/DropdownMenu';
25
26
  export * from './components/ui/EmptyState';
package/dist-lib/index.js CHANGED
@@ -6,7 +6,7 @@ import { AlertCircle as Qa, AlertTriangle as pt, ArrowDown as Cr, ArrowLeft as T
6
6
  import { jsxs as c, jsx as e, Fragment as Ze } from "react/jsx-runtime";
7
7
  import * as Rt from "@radix-ui/react-accordion";
8
8
  import { cva as Me } from "class-variance-authority";
9
- import { cva as od } from "class-variance-authority";
9
+ import { cva as sd } from "class-variance-authority";
10
10
  import * as Pn from "@radix-ui/react-avatar";
11
11
  import { Slot as Jr } from "@radix-ui/react-slot";
12
12
  import * as dr from "@radix-ui/react-checkbox";
@@ -1815,7 +1815,49 @@ const ci = y(function({ value: n, onChange: r, label: a, placeholder: o = "Pick
1815
1815
  ] }) });
1816
1816
  });
1817
1817
  ci.displayName = "DateRangePicker";
1818
- const di = U.Root, lc = U.Trigger, ui = U.Portal, fi = U.Close, ia = y(function({ className: n, ...r }, a) {
1818
+ function lc({
1819
+ tokens: t,
1820
+ className: n,
1821
+ children: r,
1822
+ style: a,
1823
+ ...o
1824
+ }) {
1825
+ const i = { ...a };
1826
+ if (t)
1827
+ for (const [s, d] of Object.entries(t)) {
1828
+ const u = s.startsWith("--") ? s : `--${s}`;
1829
+ i[u] = d;
1830
+ }
1831
+ return /* @__PURE__ */ e("div", { "data-brand-scope": !0, className: m("contents", n), style: i, ...o, children: r });
1832
+ }
1833
+ const cc = {
1834
+ default: {},
1835
+ /** Cool indigo accent, slightly rounder corners. */
1836
+ edgelog: {
1837
+ "color-accent": "oklch(0.55 0.18 250)",
1838
+ "color-accent-700": "oklch(0.46 0.16 250)",
1839
+ "color-accent-800": "oklch(0.38 0.14 250)",
1840
+ "color-accent-soft": "oklch(0.95 0.04 250)",
1841
+ "radius-md": "8px",
1842
+ "radius-lg": "12px"
1843
+ },
1844
+ /** Warm copper accent, tighter geometry. */
1845
+ gerege: {
1846
+ "color-accent": "oklch(0.62 0.16 45)",
1847
+ "color-accent-700": "oklch(0.54 0.16 45)",
1848
+ "color-accent-800": "oklch(0.46 0.14 45)",
1849
+ "color-accent-soft": "oklch(0.95 0.04 45)",
1850
+ "radius-md": "4px",
1851
+ "radius-lg": "6px"
1852
+ },
1853
+ /** Forest green accent. */
1854
+ forest: {
1855
+ "color-accent": "oklch(0.55 0.14 155)",
1856
+ "color-accent-700": "oklch(0.47 0.14 155)",
1857
+ "color-accent-800": "oklch(0.39 0.12 155)",
1858
+ "color-accent-soft": "oklch(0.95 0.04 155)"
1859
+ }
1860
+ }, di = U.Root, dc = U.Trigger, ui = U.Portal, fi = U.Close, ia = y(function({ className: n, ...r }, a) {
1819
1861
  return /* @__PURE__ */ e(
1820
1862
  U.Overlay,
1821
1863
  {
@@ -1992,8 +2034,8 @@ const gi = {
1992
2034
  );
1993
2035
  });
1994
2036
  pi.displayName = "ErrorState";
1995
- const cc = lo, fa = on(null);
1996
- function dc(t) {
2037
+ const uc = lo, fa = on(null);
2038
+ function fc(t) {
1997
2039
  return /* @__PURE__ */ e(fa.Provider, { value: { name: t.name }, children: /* @__PURE__ */ e(co, { ...t }) });
1998
2040
  }
1999
2041
  const ma = on(null);
@@ -2270,7 +2312,7 @@ const yi = y(function({
2270
2312
  ] });
2271
2313
  });
2272
2314
  yi.displayName = "MultiSelect";
2273
- const pa = fe.Root, uc = fe.Value, tr = y(function({ className: n, placeholder: r, size: a = "md", tone: o = "default", ...i }, s) {
2315
+ const pa = fe.Root, mc = fe.Value, tr = y(function({ className: n, placeholder: r, size: a = "md", tone: o = "default", ...i }, s) {
2274
2316
  return /* @__PURE__ */ c(
2275
2317
  fe.Trigger,
2276
2318
  {
@@ -2507,7 +2549,7 @@ const Kt = m(
2507
2549
  "hover:bg-background-muted hover:text-foreground",
2508
2550
  "disabled:opacity-50 disabled:pointer-events-none",
2509
2551
  "outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
2510
- ), fc = te.Root, mc = te.Trigger, gc = te.Anchor, pc = te.Close, Ci = y(function({ className: n, align: r = "center", sideOffset: a = 4, ...o }, i) {
2552
+ ), gc = te.Root, pc = te.Trigger, hc = te.Anchor, bc = te.Close, Ci = y(function({ className: n, align: r = "center", sideOffset: a = 4, ...o }, i) {
2511
2553
  return /* @__PURE__ */ e(te.Portal, { children: /* @__PURE__ */ e(
2512
2554
  te.Content,
2513
2555
  {
@@ -2728,7 +2770,7 @@ const gt = y(function({ className: n, orientation: r = "horizontal", decorative:
2728
2770
  );
2729
2771
  });
2730
2772
  gt.displayName = "Separator";
2731
- const Ei = U.Root, Ai = U.Trigger, hc = U.Close, Ri = U.Portal, ka = y(function({ className: n, ...r }, a) {
2773
+ const Ei = U.Root, Ai = U.Trigger, xc = U.Close, Ri = U.Portal, ka = y(function({ className: n, ...r }, a) {
2732
2774
  return /* @__PURE__ */ e(
2733
2775
  U.Overlay,
2734
2776
  {
@@ -2821,7 +2863,7 @@ const Bi = y(function({ className: n, ...r }, a) {
2821
2863
  });
2822
2864
  Bi.displayName = "SheetDescription";
2823
2865
  const jt = on({ collapsed: !1 });
2824
- function bc() {
2866
+ function vc() {
2825
2867
  return lt(jt);
2826
2868
  }
2827
2869
  const Ca = y(function({
@@ -3323,7 +3365,7 @@ const Yi = y(function({
3323
3365
  ] });
3324
3366
  });
3325
3367
  Yi.displayName = "Textarea";
3326
- const xc = dt.Provider, Xi = y(function({ className: n, ...r }, a) {
3368
+ const wc = dt.Provider, Xi = y(function({ className: n, ...r }, a) {
3327
3369
  return /* @__PURE__ */ e(
3328
3370
  dt.Viewport,
3329
3371
  {
@@ -3433,7 +3475,7 @@ const rs = y(function({ className: n, ...r }, a) {
3433
3475
  );
3434
3476
  });
3435
3477
  rs.displayName = "ToastClose";
3436
- const vc = ({
3478
+ const yc = ({
3437
3479
  delayDuration: t = 500,
3438
3480
  skipDelayDuration: n = 200,
3439
3481
  ...r
@@ -4777,7 +4819,7 @@ function Sn() {
4777
4819
  if (!t) throw new Error("Carousel components must be used inside <Carousel>");
4778
4820
  return t;
4779
4821
  }
4780
- const wc = y(function({ opts: n, orientation: r = "horizontal", setApi: a, className: o, children: i, ...s }, d) {
4822
+ const Nc = y(function({ opts: n, orientation: r = "horizontal", setApi: a, className: o, children: i, ...s }, d) {
4781
4823
  const [u, l] = sr({ ...n, axis: r === "horizontal" ? "x" : "y" }), [p, g] = B(!1), [f, b] = B(!1), h = Ie((x) => {
4782
4824
  x && (g(x.canScrollPrev()), b(x.canScrollNext()));
4783
4825
  }, []);
@@ -4801,7 +4843,7 @@ const wc = y(function({ opts: n, orientation: r = "horizontal", setApi: a, class
4801
4843
  children: /* @__PURE__ */ e("div", { ref: d, className: m("relative", o), role: "region", "aria-roledescription": "carousel", ...s, children: i })
4802
4844
  }
4803
4845
  );
4804
- }), yc = y(
4846
+ }), kc = y(
4805
4847
  function({ className: n, ...r }, a) {
4806
4848
  const { carouselRef: o, orientation: i } = Sn();
4807
4849
  return /* @__PURE__ */ e("div", { ref: o, className: "overflow-hidden", children: /* @__PURE__ */ e(
@@ -4817,7 +4859,7 @@ const wc = y(function({ opts: n, orientation: r = "horizontal", setApi: a, class
4817
4859
  }
4818
4860
  ) });
4819
4861
  }
4820
- ), Nc = y(
4862
+ ), Sc = y(
4821
4863
  function({ className: n, ...r }, a) {
4822
4864
  const { orientation: o } = Sn();
4823
4865
  return /* @__PURE__ */ e(
@@ -4836,7 +4878,7 @@ const wc = y(function({ opts: n, orientation: r = "horizontal", setApi: a, class
4836
4878
  );
4837
4879
  }
4838
4880
  );
4839
- function kc({ className: t }) {
4881
+ function Cc({ className: t }) {
4840
4882
  const { canPrev: n, scrollPrev: r, orientation: a } = Sn();
4841
4883
  return /* @__PURE__ */ e(
4842
4884
  _t,
@@ -4854,7 +4896,7 @@ function kc({ className: t }) {
4854
4896
  }
4855
4897
  );
4856
4898
  }
4857
- function Sc({ className: t }) {
4899
+ function Tc({ className: t }) {
4858
4900
  const { canNext: n, scrollNext: r, orientation: a } = Sn();
4859
4901
  return /* @__PURE__ */ e(
4860
4902
  _t,
@@ -4876,7 +4918,7 @@ function Aa(t, n, r, a = 8) {
4876
4918
  const o = t.map((f) => f.y), i = Math.min(0, ...o), s = Math.max(...o, 1), d = s - i || 1, u = n - a * 2, l = r - a * 2;
4877
4919
  return { sx: (f) => t.length <= 1 ? a + u / 2 : a + f / (t.length - 1) * u, sy: (f) => a + l - (f - i) / d * l, min: i, max: s };
4878
4920
  }
4879
- function Cc({ data: t, height: n = 80, width: r = "100%", caption: a, className: o }) {
4921
+ function Dc({ data: t, height: n = 80, width: r = "100%", caption: a, className: o }) {
4880
4922
  const i = typeof r == "number" ? r : 320, { sx: s, sy: d } = Aa(t, i, n), u = t.map((l, p) => `${p === 0 ? "M" : "L"}${s(p).toFixed(1)},${d(l.y).toFixed(1)}`).join(" ");
4881
4923
  return /* @__PURE__ */ c("figure", { className: m("flex flex-col gap-1.5", o), children: [
4882
4924
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
@@ -4886,7 +4928,7 @@ function Cc({ data: t, height: n = 80, width: r = "100%", caption: a, className:
4886
4928
  ] })
4887
4929
  ] });
4888
4930
  }
4889
- function Tc({ data: t, height: n = 80, width: r = "100%", caption: a, className: o }) {
4931
+ function Ic({ data: t, height: n = 80, width: r = "100%", caption: a, className: o }) {
4890
4932
  const i = typeof r == "number" ? r : 320, { sx: s, sy: d } = Aa(t, i, n), u = t.map((p, g) => `${g === 0 ? "M" : "L"}${s(g).toFixed(1)},${d(p.y).toFixed(1)}`).join(" "), l = `${u} L${s(t.length - 1).toFixed(1)},${n} L${s(0).toFixed(1)},${n} Z`;
4891
4933
  return /* @__PURE__ */ c("figure", { className: m("flex flex-col gap-1.5", o), children: [
4892
4934
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
@@ -4896,7 +4938,7 @@ function Tc({ data: t, height: n = 80, width: r = "100%", caption: a, className:
4896
4938
  ] })
4897
4939
  ] });
4898
4940
  }
4899
- function Dc({ data: t, height: n = 100, width: r = "100%", caption: a, className: o }) {
4941
+ function zc({ data: t, height: n = 100, width: r = "100%", caption: a, className: o }) {
4900
4942
  const i = typeof r == "number" ? r : 320, s = 8, d = 2, u = i - s * 2, l = Math.max(2, u / t.length - d), p = t.map((f) => f.y), g = Math.max(...p, 1);
4901
4943
  return /* @__PURE__ */ c("figure", { className: m("flex flex-col gap-1.5", o), children: [
4902
4944
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
@@ -5953,7 +5995,7 @@ const et = {
5953
5995
  ...n
5954
5996
  }) => /* @__PURE__ */ e(et.Root, { shouldScaleBackground: t, ...n });
5955
5997
  bl.displayName = "Drawer";
5956
- const Ic = et.Trigger, xl = et.Portal, zc = et.Close, vl = y(function({ className: n, ...r }, a) {
5998
+ const Mc = et.Trigger, xl = et.Portal, Pc = et.Close, vl = y(function({ className: n, ...r }, a) {
5957
5999
  return /* @__PURE__ */ e(
5958
6000
  et.Overlay,
5959
6001
  {
@@ -5972,7 +6014,7 @@ const Ic = et.Trigger, xl = et.Portal, zc = et.Close, vl = y(function({ classNam
5972
6014
  top: "mx-auto mb-3 h-1.5 w-12 rounded-full bg-border order-last",
5973
6015
  left: "mx-1.5 my-auto h-12 w-1.5 rounded-full bg-border order-last self-stretch shrink-0",
5974
6016
  right: "mx-1.5 my-auto h-12 w-1.5 rounded-full bg-border shrink-0 self-stretch"
5975
- }, Mc = y(function({ className: n, direction: r = "bottom", hideHandle: a, children: o, ...i }, s) {
6017
+ }, Ec = y(function({ className: n, direction: r = "bottom", hideHandle: a, children: o, ...i }, s) {
5976
6018
  const d = r === "left" || r === "right";
5977
6019
  return /* @__PURE__ */ c(xl, { children: [
5978
6020
  /* @__PURE__ */ e(vl, {}),
@@ -5995,13 +6037,13 @@ const Ic = et.Trigger, xl = et.Portal, zc = et.Close, vl = y(function({ classNam
5995
6037
  )
5996
6038
  ] });
5997
6039
  });
5998
- function Pc({ className: t, ...n }) {
6040
+ function Ac({ className: t, ...n }) {
5999
6041
  return /* @__PURE__ */ e("div", { className: m("grid gap-1 p-4 text-center sm:text-left", t), ...n });
6000
6042
  }
6001
- function Ec({ className: t, ...n }) {
6043
+ function Rc({ className: t, ...n }) {
6002
6044
  return /* @__PURE__ */ e("div", { className: m("mt-auto flex flex-col gap-2 p-4", t), ...n });
6003
6045
  }
6004
- const Ac = y(function({ className: n, ...r }, a) {
6046
+ const Oc = y(function({ className: n, ...r }, a) {
6005
6047
  return /* @__PURE__ */ e(
6006
6048
  et.Title,
6007
6049
  {
@@ -6010,7 +6052,7 @@ const Ac = y(function({ className: n, ...r }, a) {
6010
6052
  ...r
6011
6053
  }
6012
6054
  );
6013
- }), Rc = y(function({ className: n, ...r }, a) {
6055
+ }), Lc = y(function({ className: n, ...r }, a) {
6014
6056
  return /* @__PURE__ */ e(
6015
6057
  et.Description,
6016
6058
  {
@@ -6023,7 +6065,7 @@ const Ac = y(function({ className: n, ...r }, a) {
6023
6065
  function Nl(t) {
6024
6066
  return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : `${(t / 1024 / 1024).toFixed(1)} MB`;
6025
6067
  }
6026
- const Oc = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange: i, hint: s, disabled: d, className: u }, l) {
6068
+ const $c = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange: i, hint: s, disabled: d, className: u }, l) {
6027
6069
  const p = Et(null), g = Le(), [f, b] = B([]), [h, x] = B(!1), w = o ?? f, v = Ie(
6028
6070
  (T) => {
6029
6071
  o === void 0 && b(T), i == null || i(T);
@@ -6129,7 +6171,7 @@ const Oc = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange:
6129
6171
  success: /* @__PURE__ */ e(bt, { className: "size-4 shrink-0 mt-0.5 text-success-text", "aria-hidden": !0 }),
6130
6172
  warning: /* @__PURE__ */ e(pt, { className: "size-4 shrink-0 mt-0.5 text-warning-text", "aria-hidden": !0 }),
6131
6173
  danger: /* @__PURE__ */ e(Bt, { className: "size-4 shrink-0 mt-0.5 text-danger-text", "aria-hidden": !0 })
6132
- }, Lc = y(function({ className: n, variant: r = "default", title: a, action: o, onClose: i, icon: s, children: d, ...u }, l) {
6174
+ }, Fc = y(function({ className: n, variant: r = "default", title: a, action: o, onClose: i, icon: s, children: d, ...u }, l) {
6133
6175
  const p = s === !1 ? null : s ?? Sl[r ?? "default"];
6134
6176
  return /* @__PURE__ */ c("div", { ref: l, role: "status", className: m(kl({ variant: r }), n), ...u, children: [
6135
6177
  p,
@@ -6149,7 +6191,7 @@ const Oc = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange:
6149
6191
  }
6150
6192
  )
6151
6193
  ] });
6152
- }), $c = y(function({
6194
+ }), Bc = y(function({
6153
6195
  value: n,
6154
6196
  defaultValue: r = [],
6155
6197
  onChange: a,
@@ -6220,9 +6262,9 @@ const Oc = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange:
6220
6262
  ]
6221
6263
  }
6222
6264
  );
6223
- }), Fc = y(function({ className: n, children: r, ...a }, o) {
6265
+ }), _c = y(function({ className: n, children: r, ...a }, o) {
6224
6266
  return /* @__PURE__ */ e("ol", { ref: o, className: m("relative flex flex-col gap-6", n), ...a, children: r });
6225
- }), Bc = y(function({ bullet: n, isLast: r, className: a, children: o, ...i }, s) {
6267
+ }), jc = y(function({ bullet: n, isLast: r, className: a, children: o, ...i }, s) {
6226
6268
  return /* @__PURE__ */ c("li", { ref: s, className: m("relative flex gap-4 pb-1", a), ...i, children: [
6227
6269
  /* @__PURE__ */ c("div", { className: "relative flex shrink-0 flex-col items-center", children: [
6228
6270
  /* @__PURE__ */ e("div", { className: "flex size-6 items-center justify-center rounded-full border border-border bg-card text-foreground-muted", children: n ?? /* @__PURE__ */ e("span", { className: "size-2 rounded-full bg-accent", "aria-hidden": !0 }) }),
@@ -6231,22 +6273,22 @@ const Oc = y(function({ accept: n, multiple: r, maxSize: a, value: o, onChange:
6231
6273
  /* @__PURE__ */ e("div", { className: "min-w-0 flex-1 pb-4", children: o })
6232
6274
  ] });
6233
6275
  });
6234
- function _c({ className: t, children: n }) {
6276
+ function Hc({ className: t, children: n }) {
6235
6277
  return /* @__PURE__ */ e("p", { className: m("text-xs text-foreground-subtle", t), children: n });
6236
6278
  }
6237
- function jc({
6279
+ function Vc({
6238
6280
  className: t,
6239
6281
  children: n
6240
6282
  }) {
6241
6283
  return /* @__PURE__ */ e("p", { className: m("text-sm font-medium", t), children: n });
6242
6284
  }
6243
- function Hc({
6285
+ function Uc({
6244
6286
  className: t,
6245
6287
  children: n
6246
6288
  }) {
6247
6289
  return /* @__PURE__ */ e("p", { className: m("mt-0.5 text-sm text-foreground-muted", t), children: n });
6248
6290
  }
6249
- function Vc({ data: t, defaultExpanded: n = [], selectedId: r, onSelect: a, className: o }) {
6291
+ function Gc({ data: t, defaultExpanded: n = [], selectedId: r, onSelect: a, className: o }) {
6250
6292
  const [i, s] = B(new Set(n)), d = (l) => s((p) => {
6251
6293
  const g = new Set(p);
6252
6294
  return g.has(l) ? g.delete(l) : g.add(l), g;
@@ -6289,7 +6331,7 @@ function Vc({ data: t, defaultExpanded: n = [], selectedId: r, onSelect: a, clas
6289
6331
  }
6290
6332
  return /* @__PURE__ */ e("ul", { role: "tree", className: m("flex flex-col gap-0.5", o), children: t.map((l) => u(l, 0)) });
6291
6333
  }
6292
- function Uc({ brand: t, title: n, subtitle: r, children: a, footer: o }) {
6334
+ function Wc({ brand: t, title: n, subtitle: r, children: a, footer: o }) {
6293
6335
  return /* @__PURE__ */ e("main", { className: "grid min-h-screen place-items-center bg-background-subtle px-4 py-12", children: /* @__PURE__ */ c("div", { className: "w-full max-w-[400px] space-y-6", children: [
6294
6336
  t && /* @__PURE__ */ e("div", { className: "flex justify-center", children: t }),
6295
6337
  /* @__PURE__ */ c("div", { className: "space-y-2 text-center", children: [
@@ -6300,7 +6342,7 @@ function Uc({ brand: t, title: n, subtitle: r, children: a, footer: o }) {
6300
6342
  o && /* @__PURE__ */ e("p", { className: "text-center text-sm text-foreground-muted", children: o })
6301
6343
  ] }) });
6302
6344
  }
6303
- function Gc({ onSubmit: t, loading: n, error: r, forgotHref: a = "/forgot" }) {
6345
+ function qc({ onSubmit: t, loading: n, error: r, forgotHref: a = "/forgot" }) {
6304
6346
  const [o, i] = B(""), [s, d] = B("");
6305
6347
  return /* @__PURE__ */ c("form", { onSubmit: (l) => {
6306
6348
  l.preventDefault(), t({ email: o, password: s });
@@ -6339,7 +6381,7 @@ function Gc({ onSubmit: t, loading: n, error: r, forgotHref: a = "/forgot" }) {
6339
6381
  /* @__PURE__ */ e(K, { type: "submit", loading: n, className: "w-full", trailingIcon: /* @__PURE__ */ e(At, {}), children: "Sign in" })
6340
6382
  ] });
6341
6383
  }
6342
- function Wc({ onSubmit: t, loading: n, error: r }) {
6384
+ function Kc({ onSubmit: t, loading: n, error: r }) {
6343
6385
  const [a, o] = B(""), [i, s] = B(""), [d, u] = B("");
6344
6386
  return /* @__PURE__ */ c(
6345
6387
  "form",
@@ -6380,7 +6422,7 @@ function Wc({ onSubmit: t, loading: n, error: r }) {
6380
6422
  }
6381
6423
  );
6382
6424
  }
6383
- function qc({ onSubmit: t, loading: n, error: r }) {
6425
+ function Yc({ onSubmit: t, loading: n, error: r }) {
6384
6426
  const [a, o] = B("");
6385
6427
  return /* @__PURE__ */ c(
6386
6428
  "form",
@@ -6408,7 +6450,7 @@ function qc({ onSubmit: t, loading: n, error: r }) {
6408
6450
  }
6409
6451
  );
6410
6452
  }
6411
- function Kc({ email: t, onResend: n }) {
6453
+ function Xc({ email: t, onResend: n }) {
6412
6454
  return /* @__PURE__ */ c("div", { className: "space-y-4 text-center", children: [
6413
6455
  /* @__PURE__ */ e("div", { className: "mx-auto inline-flex size-12 items-center justify-center rounded-full bg-success-soft text-success-text", children: /* @__PURE__ */ e(bt, { className: "size-6", "aria-hidden": !0 }) }),
6414
6456
  /* @__PURE__ */ c("p", { className: "text-sm text-foreground-muted", children: [
@@ -6456,7 +6498,7 @@ function Ga({ active: t }) {
6456
6498
  ] })
6457
6499
  ] });
6458
6500
  }
6459
- function Yc({ children: t, brand: n, active: r = "home" }) {
6501
+ function Qc({ children: t, brand: n, active: r = "home" }) {
6460
6502
  return /* @__PURE__ */ c("div", { className: "flex min-h-screen w-full bg-background", children: [
6461
6503
  /* @__PURE__ */ e(Ca, { defaultCollapsed: !1, header: n, footer: /* @__PURE__ */ e(Wa, {}), children: /* @__PURE__ */ e(Ga, { active: r }) }),
6462
6504
  /* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col", children: [
@@ -6647,7 +6689,7 @@ const Il = [
6647
6689
  { id: "3", who: { name: "Tuya G.", initials: "TG" }, action: "commented on", target: "Q2 OKRs", when: "1h ago" },
6648
6690
  { id: "4", who: { name: "Khulan O.", initials: "KO" }, action: "archived", target: "old-billing-spike", when: "3h ago" }
6649
6691
  ];
6650
- function Xc() {
6692
+ function Jc() {
6651
6693
  return /* @__PURE__ */ c("div", { className: "space-y-8", children: [
6652
6694
  /* @__PURE__ */ c("header", { className: "flex items-end justify-between gap-4", children: [
6653
6695
  /* @__PURE__ */ c("div", { children: [
@@ -6712,7 +6754,7 @@ const Ml = [
6712
6754
  { id: "billing", label: "Billing", icon: /* @__PURE__ */ e(Ar, {}) },
6713
6755
  { id: "team", label: "Team", icon: /* @__PURE__ */ e(hn, {}) }
6714
6756
  ];
6715
- function Qc() {
6757
+ function Zc() {
6716
6758
  const [t, n] = B("profile");
6717
6759
  return /* @__PURE__ */ c("div", { className: "mx-auto max-w-5xl space-y-8", children: [
6718
6760
  /* @__PURE__ */ c("header", { children: [
@@ -6846,7 +6888,7 @@ const Pl = [
6846
6888
  paused: { tone: "warning", label: "Paused" },
6847
6889
  archived: { tone: "neutral", label: "Archived" }
6848
6890
  };
6849
- function Jc() {
6891
+ function ed() {
6850
6892
  const [t, n] = B(""), [r, a] = B("all"), [o, i] = B([]), [s, d] = B(1), [u, l] = B(10), p = ht(() => Pl.filter((b) => {
6851
6893
  const h = b.name.toLowerCase().includes(t.toLowerCase()), x = r === "all" || b.status === r;
6852
6894
  return h && x;
@@ -6961,7 +7003,7 @@ function Jc() {
6961
7003
  )
6962
7004
  ] });
6963
7005
  }
6964
- function Zc() {
7006
+ function td() {
6965
7007
  return /* @__PURE__ */ c("div", { className: "space-y-6", children: [
6966
7008
  /* @__PURE__ */ e(
6967
7009
  ea,
@@ -7047,7 +7089,7 @@ const Jt = [
7047
7089
  { title: "Connect data" },
7048
7090
  { title: "Done" }
7049
7091
  ];
7050
- function ed() {
7092
+ function nd() {
7051
7093
  const [t, n] = B(0), r = () => n((o) => Math.min(o + 1, Jt.length - 1)), a = () => n((o) => Math.max(o - 1, 0));
7052
7094
  return /* @__PURE__ */ c("div", { className: "mx-auto max-w-2xl space-y-8 py-12", children: [
7053
7095
  /* @__PURE__ */ e(Ta, { steps: Jt, current: t }),
@@ -7148,7 +7190,7 @@ const Sr = [
7148
7190
  cta: "Talk to sales"
7149
7191
  }
7150
7192
  ];
7151
- function td() {
7193
+ function rd() {
7152
7194
  return /* @__PURE__ */ c("div", { className: "mx-auto max-w-5xl space-y-8 py-16", children: [
7153
7195
  /* @__PURE__ */ c("header", { className: "text-center space-y-3", children: [
7154
7196
  /* @__PURE__ */ e("h1", { className: "text-3xl font-semibold tracking-tight text-foreground", children: "Plans that scale with your team" }),
@@ -7211,7 +7253,7 @@ const Al = [
7211
7253
  cta: "Invite people"
7212
7254
  }
7213
7255
  ];
7214
- function nd() {
7256
+ function ad() {
7215
7257
  return /* @__PURE__ */ c("div", { className: "mx-auto max-w-3xl space-y-8 py-12", children: [
7216
7258
  /* @__PURE__ */ e(
7217
7259
  er,
@@ -7238,13 +7280,13 @@ export {
7238
7280
  wo as AccordionItem,
7239
7281
  yo as AccordionTrigger,
7240
7282
  xn as Alert,
7241
- Yc as AppShell,
7242
- Tc as AreaChart,
7243
- Uc as AuthLayout,
7283
+ Qc as AppShell,
7284
+ Ic as AreaChart,
7285
+ Wc as AuthLayout,
7244
7286
  Re as Avatar,
7245
7287
  Do as AvatarGroup,
7246
7288
  Ce as Badge,
7247
- Dc as BarChart,
7289
+ zc as BarChart,
7248
7290
  ea as Breadcrumbs,
7249
7291
  K as Button,
7250
7292
  aa as Calendar,
@@ -7254,11 +7296,11 @@ export {
7254
7296
  Eo as CardFooter,
7255
7297
  ke as CardHeader,
7256
7298
  De as CardTitle,
7257
- wc as Carousel,
7258
- yc as CarouselContent,
7259
- Nc as CarouselItem,
7260
- Sc as CarouselNext,
7261
- kc as CarouselPrevious,
7299
+ Nc as Carousel,
7300
+ kc as CarouselContent,
7301
+ Sc as CarouselItem,
7302
+ Tc as CarouselNext,
7303
+ Cc as CarouselPrevious,
7262
7304
  Zt as Checkbox,
7263
7305
  Ao as Combobox,
7264
7306
  Ro as Command,
@@ -7286,11 +7328,12 @@ export {
7286
7328
  Vo as ContextMenuSubContent,
7287
7329
  Ho as ContextMenuSubTrigger,
7288
7330
  tc as ContextMenuTrigger,
7289
- Xc as Dashboard,
7331
+ Jc as Dashboard,
7290
7332
  si as DataGrid,
7291
- Jc as DataTablePage,
7333
+ ed as DataTablePage,
7292
7334
  li as DatePicker,
7293
7335
  ci as DateRangePicker,
7336
+ lc as DesignSystemProvider,
7294
7337
  di as Dialog,
7295
7338
  fi as DialogClose,
7296
7339
  sa as DialogContent,
@@ -7300,17 +7343,17 @@ export {
7300
7343
  ia as DialogOverlay,
7301
7344
  ui as DialogPortal,
7302
7345
  da as DialogTitle,
7303
- lc as DialogTrigger,
7346
+ dc as DialogTrigger,
7304
7347
  bl as Drawer,
7305
- zc as DrawerClose,
7306
- Mc as DrawerContent,
7307
- Rc as DrawerDescription,
7308
- Ec as DrawerFooter,
7309
- Pc as DrawerHeader,
7348
+ Pc as DrawerClose,
7349
+ Ec as DrawerContent,
7350
+ Lc as DrawerDescription,
7351
+ Rc as DrawerFooter,
7352
+ Ac as DrawerHeader,
7310
7353
  vl as DrawerOverlay,
7311
7354
  xl as DrawerPortal,
7312
- Ac as DrawerTitle,
7313
- Ic as DrawerTrigger,
7355
+ Oc as DrawerTitle,
7356
+ Mc as DrawerTrigger,
7314
7357
  Kn as DropdownMenu,
7315
7358
  ta as DropdownMenuCheckboxItem,
7316
7359
  yn as DropdownMenuContent,
@@ -7328,14 +7371,14 @@ export {
7328
7371
  Yn as DropdownMenuTrigger,
7329
7372
  er as EmptyState,
7330
7373
  pi as ErrorState,
7331
- Oc as FileUpload,
7332
- nd as FirstRunEmpty,
7333
- qc as ForgotPasswordForm,
7334
- cc as Form,
7374
+ $c as FileUpload,
7375
+ ad as FirstRunEmpty,
7376
+ Yc as ForgotPasswordForm,
7377
+ uc as Form,
7335
7378
  xi as FormControl,
7336
7379
  vi as FormDescription,
7337
7380
  wi as FormError,
7338
- dc as FormField,
7381
+ fc as FormField,
7339
7382
  hi as FormItem,
7340
7383
  bi as FormLabel,
7341
7384
  _t as IconButton,
@@ -7343,22 +7386,22 @@ export {
7343
7386
  Yl as Illustrations,
7344
7387
  le as Input,
7345
7388
  ga as Kbd,
7346
- Cc as LineChart,
7347
- Kc as MagicLinkSent,
7389
+ Dc as LineChart,
7390
+ Xc as MagicLinkSent,
7348
7391
  yi as MultiSelect,
7349
- ed as Onboarding,
7392
+ nd as Onboarding,
7350
7393
  wa as Pagination,
7351
- fc as Popover,
7352
- gc as PopoverAnchor,
7353
- pc as PopoverClose,
7394
+ gc as Popover,
7395
+ hc as PopoverAnchor,
7396
+ bc as PopoverClose,
7354
7397
  Ci as PopoverContent,
7355
- mc as PopoverTrigger,
7356
- td as Pricing,
7398
+ pc as PopoverTrigger,
7399
+ rd as Pricing,
7357
7400
  Ii as Progress,
7358
7401
  Mi as ProgressCircle,
7359
7402
  ya as RadioGroup,
7360
7403
  tn as RadioItem,
7361
- Zc as RecordDetail,
7404
+ td as RecordDetail,
7362
7405
  Pi as ScrollArea,
7363
7406
  Na as ScrollBar,
7364
7407
  pa as Select,
@@ -7370,11 +7413,11 @@ export {
7370
7413
  ba as SelectScrollUpButton,
7371
7414
  Ni as SelectSeparator,
7372
7415
  tr as SelectTrigger,
7373
- uc as SelectValue,
7416
+ mc as SelectValue,
7374
7417
  gt as Separator,
7375
- Qc as SettingsPage,
7418
+ Zc as SettingsPage,
7376
7419
  Ei as Sheet,
7377
- hc as SheetClose,
7420
+ xc as SheetClose,
7378
7421
  Sa as SheetContent,
7379
7422
  Bi as SheetDescription,
7380
7423
  $i as SheetFooter,
@@ -7386,11 +7429,11 @@ export {
7386
7429
  _i as SidebarGroup,
7387
7430
  Ae as SidebarItem,
7388
7431
  nn as SidebarSection,
7389
- Gc as SignInForm,
7390
- Wc as SignUpForm,
7432
+ qc as SignInForm,
7433
+ Kc as SignUpForm,
7391
7434
  ra as Skeleton,
7392
7435
  ji as Slider,
7393
- Lc as Snackbar,
7436
+ Fc as Snackbar,
7394
7437
  Ui as Spinner,
7395
7438
  Ta as Stepper,
7396
7439
  Ct as Switch,
@@ -7407,37 +7450,38 @@ export {
7407
7450
  Dt as TabsContent,
7408
7451
  Da as TabsList,
7409
7452
  Tt as TabsTrigger,
7410
- $c as TagInput,
7453
+ Bc as TagInput,
7411
7454
  Yi as Textarea,
7412
- Fc as Timeline,
7413
- Hc as TimelineDescription,
7414
- Bc as TimelineItem,
7415
- _c as TimelineTime,
7416
- jc as TimelineTitle,
7455
+ _c as Timeline,
7456
+ Uc as TimelineDescription,
7457
+ jc as TimelineItem,
7458
+ Hc as TimelineTime,
7459
+ Vc as TimelineTitle,
7417
7460
  Zi as Toast,
7418
7461
  ns as ToastAction,
7419
7462
  rs as ToastClose,
7420
7463
  ts as ToastDescription,
7421
- xc as ToastProvider,
7464
+ wc as ToastProvider,
7422
7465
  es as ToastTitle,
7423
7466
  Xi as ToastViewport,
7424
7467
  is as Tooltip,
7425
7468
  Ia as TooltipContent,
7426
- vc as TooltipProvider,
7469
+ yc as TooltipProvider,
7427
7470
  as as TooltipRoot,
7428
7471
  os as TooltipTrigger,
7429
7472
  ss as TopNav,
7430
7473
  ls as TopNavLink,
7431
- Vc as Tree,
7474
+ Gc as Tree,
7475
+ cc as brandPresets,
7432
7476
  m as cn,
7433
- od as cva,
7477
+ sd as cva,
7434
7478
  ql as toast,
7435
7479
  Ul as uid,
7436
7480
  Zl as useCommandPaletteShortcut,
7437
7481
  Nn as useFormField,
7438
7482
  mo as useMediaQuery,
7439
7483
  Gl as usePrefersReducedMotion,
7440
- bc as useSidebar,
7484
+ vc as useSidebar,
7441
7485
  Wl as useToast
7442
7486
  };
7443
7487
  //# sourceMappingURL=index.js.map