@still-forest/canopy 0.30.0 → 0.32.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.
@@ -1,11 +1,11 @@
1
1
  import { j as i } from "./jsx-runtime-B0GD0xBr.js";
2
- import { c as re, u as V, f as kt, B as ct, i as fr, j as Ne, h as pr } from "./calendar-D21xByT8.js";
2
+ import { c as re, u as V, f as kt, B as ct, i as fr, j as Ne, h as pr } from "./calendar-DfVsywp-.js";
3
3
  import * as s from "react";
4
4
  import { useState as lt, useEffect as mr, useMemo as vr } from "react";
5
- import { F as ae, G as hr } from "./Layout-DAdzkAxW.js";
6
- import { T as Ae } from "./Heading-Bpvbpnw2.js";
5
+ import { F as ae, G as hr } from "./Layout-CjE5bQn7.js";
6
+ import { T as Ae } from "./Heading-DpEVkX3a.js";
7
7
  import { c as $ } from "./index-CRiPKpXj.js";
8
- import { c as we, d as jt, P as k, a as ye, e as F, t as Pt, g as _t, b as Z, u as dt, v as Me, l as Tt, m as gr, A as xr, f as ne, h as Dt, V as br, i as At, j as yr, R as Mt, F as Ot, D as wr, C as Cr, n as Sr, q as Ft, r as Lt, s as Bt, p as $t, w as Er, x as Ir, k as Rr } from "./popover-BhBG-w7n.js";
8
+ import { c as we, d as jt, P as k, a as ye, e as F, t as Pt, g as _t, b as Z, u as dt, v as Me, l as Tt, m as gr, A as xr, f as ne, h as Dt, V as br, i as At, j as yr, R as Mt, F as Ot, D as wr, C as Cr, n as Sr, q as Ft, r as Lt, s as Bt, p as $t, w as Er, x as Ir, k as Rr } from "./popover-CP7xkaYK.js";
9
9
  import * as Vt from "react-dom";
10
10
  /**
11
11
  * @license lucide-react v0.543.0 - ISC
@@ -1,5 +1,5 @@
1
1
  import { j as P } from "./jsx-runtime-B0GD0xBr.js";
2
- import { F as mt } from "./Layout-DAdzkAxW.js";
2
+ import { F as mt } from "./Layout-CjE5bQn7.js";
3
3
  import { a as Dn, c as _ } from "./index-CRiPKpXj.js";
4
4
  import * as j from "react";
5
5
  import h, { forwardRef as yt, createElement as He, createContext as On, useContext as Cn, useCallback as Q, useRef as Se, useLayoutEffect as Nn, useState as qe, useEffect as xn, useMemo as Fe } from "react";
@@ -1,4 +1,4 @@
1
- import { c as Vn, f as Me, u as Y } from "./calendar-D21xByT8.js";
1
+ import { c as Vn, f as Me, u as Y } from "./calendar-DfVsywp-.js";
2
2
  import * as l from "react";
3
3
  import oe, { useState as Un, useLayoutEffect as Yn } from "react";
4
4
  import { j as S } from "./jsx-runtime-B0GD0xBr.js";
package/dist/forms.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as e, a as s } from "./chunks/calendar-D21xByT8.js";
2
- import { C as o, a as r, b as n, D as p, I as c, c as I, L as b, N as l, R as x, d as B, e as S, S as i, f as m, T as D } from "./chunks/Textarea-Doc1h--A.js";
1
+ import { B as e, a as s } from "./chunks/calendar-DfVsywp-.js";
2
+ import { C as o, a as r, b as n, D as p, I as c, c as I, L as b, N as l, R as x, d as B, e as S, S as i, f as m, T as D } from "./chunks/Textarea-DQRwMNUV.js";
3
3
  export {
4
4
  e as Button,
5
5
  s as ButtonGroup,
package/dist/index.d.ts CHANGED
@@ -130,19 +130,46 @@ declare const buttonVariants: (props?: ({
130
130
  size?: "default" | "unstyled" | "sm" | "lg" | "icon" | null | undefined;
131
131
  } & ClassProp) | undefined) => string;
132
132
 
133
- export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
133
+ export declare const Card: CardComponent;
134
134
 
135
- export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
135
+ declare function Card_2({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
136
136
 
137
- export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
137
+ declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
138
138
 
139
- export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
139
+ declare type CardActionProps = React.ComponentProps<typeof CardAction>;
140
140
 
141
- export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
141
+ declare type CardComponent = React.FC<CardProps> & {
142
+ Action: React.FC<CardActionProps>;
143
+ Content: React.FC<CardContentProps>;
144
+ Description: React.FC<CardDescriptionProps>;
145
+ Footer: React.FC<CardFooterProps>;
146
+ Header: React.FC<CardHeaderProps>;
147
+ Title: React.FC<CardTitleProps>;
148
+ };
149
+
150
+ declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
151
+
152
+ declare type CardContentProps = React.ComponentProps<typeof CardContent>;
153
+
154
+ declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
155
+
156
+ declare type CardDescriptionProps = React.ComponentProps<typeof CardDescription>;
157
+
158
+ declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
159
+
160
+ declare type CardFooterProps = React.ComponentProps<typeof CardFooter>;
161
+
162
+ declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
163
+
164
+ declare type CardHeaderProps = React.ComponentProps<typeof CardHeader>;
165
+
166
+ export declare type CardProps = React.ComponentProps<typeof Card_2> & {
167
+ children: ReactNode;
168
+ };
142
169
 
143
- export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
170
+ declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
144
171
 
145
- export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
172
+ declare type CardTitleProps = React.ComponentProps<typeof CardTitle>;
146
173
 
147
174
  export declare const Checkbox: ({ label, name, value, checked, onCheckedChange }: CheckboxProps) => JSX.Element;
148
175
 
@@ -177,12 +204,13 @@ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Co
177
204
 
178
205
  declare type CollapsibleTriggerProps = React.ComponentProps<typeof CollapsibleTrigger>;
179
206
 
180
- export declare const Container: ({ children, className, direction, ...props }: ContainerProps) => JSX.Element;
207
+ export declare const Container: ({ children, className, direction, separation, ...props }: ContainerProps) => JSX.Element;
181
208
 
182
209
  export declare interface ContainerProps extends FlexProps {
183
210
  children: React.ReactNode;
184
211
  display?: Display_2;
185
212
  className?: string;
213
+ separation?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
186
214
  }
187
215
 
188
216
  export declare type CursorType = "arrow" | "pointer" | "text" | "not-allowed";
@@ -271,7 +299,7 @@ declare type FlexType = "1" | "auto" | "initial" | "none";
271
299
 
272
300
  declare type FlexWrap = (typeof FLEX_WRAPS)[number];
273
301
 
274
- declare const FONT_FAMILIES: readonly ["display", "serif", "sans", "mono"];
302
+ declare const FONT_FAMILIES: readonly ["display", "serif", "sans", "mono", "heading", "body", "brand"];
275
303
 
276
304
  declare const FONT_SIZES: readonly ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "7xl", "8xl", "9xl"];
277
305
 
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import { R, T as F, C as P, c as V, X as O, d as H, D as q, P as K, O as X, e as J } from "./chunks/SidebarLayout-Bm8SlspC.js";
2
- import { A as Ma, f as Sa, M as za, g as Aa, a as $a, b as Da, S as Ea, q as Ba, h as La, i as Ga, j as Ra, k as Fa, l as Pa, m as Va, n as Oa, o as Ha, p as qa } from "./chunks/SidebarLayout-Bm8SlspC.js";
1
+ import { R, T as P, C as F, c as V, X as O, d as H, D as q, P as K, O as X, e as J } from "./chunks/SidebarLayout--MNsYxAf.js";
2
+ import { A as Na, f as ka, g as wa, M as Ta, h as Ca, a as _a, b as Ia, S as Ma, r as Sa, i as za, j as Aa, k as $a, l as Da, m as Ea, n as Ba, o as La, p as Ga, q as Ra } from "./chunks/SidebarLayout--MNsYxAf.js";
3
3
  import { j as t } from "./chunks/jsx-runtime-B0GD0xBr.js";
4
- import { c as b, b as N, S as T, C, d as Q, e as U } from "./chunks/calendar-D21xByT8.js";
5
- import { B as Xa, a as Ja } from "./chunks/calendar-D21xByT8.js";
4
+ import { c as g, b as N, S as T, C, d as Q, e as U } from "./chunks/calendar-DfVsywp-.js";
5
+ import { B as Fa, a as Va } from "./chunks/calendar-DfVsywp-.js";
6
6
  import { c as i } from "./chunks/index-CRiPKpXj.js";
7
7
  import * as x from "react";
8
8
  import { Fragment as W, useState as Y, useEffect as Z, useMemo as ee } from "react";
9
- import { u as ae, a as te, c as re, b as se, P as h, d as ne, e as j } from "./chunks/popover-BhBG-w7n.js";
10
- import { g as _, h as oe, i as ie } from "./chunks/Textarea-Doc1h--A.js";
11
- import { C as Ua, a as Wa, b as Ya, D as Za, I as et, c as at, L as tt, N as rt, R as st, d as nt, e as ot, S as it, f as lt, T as ct } from "./chunks/Textarea-Doc1h--A.js";
12
- import { E as ut, a as mt, I as gt, P as bt, b as pt } from "./chunks/PageNotFound-BqoSSvCP.js";
13
- import { B as ft, C as vt, F as ht, a as yt, G as jt, H as Nt, L as kt } from "./chunks/Layout-DAdzkAxW.js";
14
- import { C as Tt } from "./chunks/Code-DSfz_jrJ.js";
15
- import { H as _t, T as It } from "./chunks/Heading-Bpvbpnw2.js";
16
- import { P as St } from "./chunks/Paragraph-Lcw42_Mz.js";
9
+ import { u as ae, a as te, c as re, b as se, P as h, d as ne, e as j } from "./chunks/popover-CP7xkaYK.js";
10
+ import { g as _, h as oe, i as ie } from "./chunks/Textarea-DQRwMNUV.js";
11
+ import { C as Ha, a as qa, b as Ka, D as Xa, I as Ja, c as Qa, L as Ua, N as Wa, R as Ya, d as Za, e as et, S as at, f as tt, T as rt } from "./chunks/Textarea-DQRwMNUV.js";
12
+ import { E as nt, a as ot, I as it, P as lt, b as ct } from "./chunks/PageNotFound-DxxRBMDz.js";
13
+ import { B as ut, C as bt, F as mt, a as gt, G as pt, H as xt, L as ft } from "./chunks/Layout-CjE5bQn7.js";
14
+ import { C as ht } from "./chunks/Code-C8KML31r.js";
15
+ import { H as jt, T as Nt } from "./chunks/Heading-DpEVkX3a.js";
16
+ import { P as wt } from "./chunks/Paragraph-DiAQlGea.js";
17
17
  /**
18
18
  * @license lucide-react v0.543.0 - ISC
19
19
  *
@@ -23,7 +23,7 @@ import { P as St } from "./chunks/Paragraph-Lcw42_Mz.js";
23
23
  const le = [
24
24
  ["path", { d: "m17 18-6-6 6-6", key: "1yerx2" }],
25
25
  ["path", { d: "M7 6v12", key: "1p53r6" }]
26
- ], ce = b("chevron-first", le);
26
+ ], ce = g("chevron-first", le);
27
27
  /**
28
28
  * @license lucide-react v0.543.0 - ISC
29
29
  *
@@ -33,28 +33,28 @@ const le = [
33
33
  const de = [
34
34
  ["path", { d: "m7 18 6-6-6-6", key: "lwmzdw" }],
35
35
  ["path", { d: "M17 6v12", key: "1o0aio" }]
36
- ], ue = b("chevron-last", de);
36
+ ], ue = g("chevron-last", de);
37
37
  /**
38
38
  * @license lucide-react v0.543.0 - ISC
39
39
  *
40
40
  * This source code is licensed under the ISC license.
41
41
  * See the LICENSE file in the root directory of this source tree.
42
42
  */
43
- const me = [
43
+ const be = [
44
44
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
45
45
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
46
- ], ge = b("circle-check-big", me);
46
+ ], me = g("circle-check-big", be);
47
47
  /**
48
48
  * @license lucide-react v0.543.0 - ISC
49
49
  *
50
50
  * This source code is licensed under the ISC license.
51
51
  * See the LICENSE file in the root directory of this source tree.
52
52
  */
53
- const be = [
53
+ const ge = [
54
54
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
55
55
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
56
56
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
57
- ], pe = b("ellipsis", be);
57
+ ], pe = g("ellipsis", ge);
58
58
  /**
59
59
  * @license lucide-react v0.543.0 - ISC
60
60
  *
@@ -65,7 +65,7 @@ const xe = [
65
65
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
66
66
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
67
67
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
68
- ], fe = b("info", xe);
68
+ ], fe = g("info", xe);
69
69
  /**
70
70
  * @license lucide-react v0.543.0 - ISC
71
71
  *
@@ -82,7 +82,7 @@ const ve = [
82
82
  }
83
83
  ],
84
84
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
85
- ], he = b("octagon-x", ve);
85
+ ], he = g("octagon-x", ve);
86
86
  /**
87
87
  * @license lucide-react v0.543.0 - ISC
88
88
  *
@@ -99,7 +99,7 @@ const ye = [
99
99
  ],
100
100
  ["path", { d: "M12 9v4", key: "juzpu7" }],
101
101
  ["path", { d: "M12 17h.01", key: "p32p05" }]
102
- ], je = b("triangle-alert", ye);
102
+ ], je = g("triangle-alert", ye);
103
103
  var y = "Tabs", [Ne, la] = re(y, [
104
104
  _
105
105
  ]), I = _(), [ke, k] = Ne(y), M = x.forwardRef(
@@ -111,8 +111,8 @@ var y = "Tabs", [Ne, la] = re(y, [
111
111
  defaultValue: l,
112
112
  orientation: r = "horizontal",
113
113
  dir: c,
114
- activationMode: m = "automatic",
115
- ...g
114
+ activationMode: b = "automatic",
115
+ ...m
116
116
  } = e, d = ae(c), [u, p] = te({
117
117
  prop: s,
118
118
  onChange: n,
@@ -128,13 +128,13 @@ var y = "Tabs", [Ne, la] = re(y, [
128
128
  onValueChange: p,
129
129
  orientation: r,
130
130
  dir: d,
131
- activationMode: m,
131
+ activationMode: b,
132
132
  children: /* @__PURE__ */ t.jsx(
133
133
  h.div,
134
134
  {
135
135
  dir: d,
136
136
  "data-orientation": r,
137
- ...g,
137
+ ...m,
138
138
  ref: a
139
139
  }
140
140
  )
@@ -170,7 +170,7 @@ var S = "TabsList", z = x.forwardRef(
170
170
  z.displayName = S;
171
171
  var A = "TabsTrigger", $ = x.forwardRef(
172
172
  (e, a) => {
173
- const { __scopeTabs: o, value: s, disabled: n = !1, ...l } = e, r = k(A, o), c = I(o), m = B(r.baseId, s), g = L(r.baseId, s), d = s === r.value;
173
+ const { __scopeTabs: o, value: s, disabled: n = !1, ...l } = e, r = k(A, o), c = I(o), b = B(r.baseId, s), m = L(r.baseId, s), d = s === r.value;
174
174
  return /* @__PURE__ */ t.jsx(
175
175
  ie,
176
176
  {
@@ -184,11 +184,11 @@ var A = "TabsTrigger", $ = x.forwardRef(
184
184
  type: "button",
185
185
  role: "tab",
186
186
  "aria-selected": d,
187
- "aria-controls": g,
187
+ "aria-controls": m,
188
188
  "data-state": d ? "active" : "inactive",
189
189
  "data-disabled": n ? "" : void 0,
190
190
  disabled: n,
191
- id: m,
191
+ id: b,
192
192
  ...l,
193
193
  ref: a,
194
194
  onMouseDown: j(e.onMouseDown, (u) => {
@@ -210,7 +210,7 @@ var A = "TabsTrigger", $ = x.forwardRef(
210
210
  $.displayName = A;
211
211
  var D = "TabsContent", E = x.forwardRef(
212
212
  (e, a) => {
213
- const { __scopeTabs: o, value: s, forceMount: n, children: l, ...r } = e, c = k(D, o), m = B(c.baseId, s), g = L(c.baseId, s), d = s === c.value, u = x.useRef(d);
213
+ const { __scopeTabs: o, value: s, forceMount: n, children: l, ...r } = e, c = k(D, o), b = B(c.baseId, s), m = L(c.baseId, s), d = s === c.value, u = x.useRef(d);
214
214
  return x.useEffect(() => {
215
215
  const p = requestAnimationFrame(() => u.current = !1);
216
216
  return () => cancelAnimationFrame(p);
@@ -220,9 +220,9 @@ var D = "TabsContent", E = x.forwardRef(
220
220
  "data-state": d ? "active" : "inactive",
221
221
  "data-orientation": c.orientation,
222
222
  role: "tabpanel",
223
- "aria-labelledby": m,
223
+ "aria-labelledby": b,
224
224
  hidden: !p,
225
- id: g,
225
+ id: m,
226
226
  tabIndex: 0,
227
227
  ...r,
228
228
  ref: a,
@@ -283,7 +283,7 @@ function ze({ className: e, ...a }) {
283
283
  );
284
284
  }
285
285
  const Ae = {
286
- success: ge,
286
+ success: me,
287
287
  info: fe,
288
288
  error: he,
289
289
  warning: je
@@ -538,7 +538,7 @@ function Re({ className: e, ...a }) {
538
538
  }
539
539
  );
540
540
  }
541
- function Fe({ children: e, className: a, ...o }) {
541
+ function Pe({ children: e, className: a, ...o }) {
542
542
  return /* @__PURE__ */ t.jsx(
543
543
  "li",
544
544
  {
@@ -551,66 +551,21 @@ function Fe({ children: e, className: a, ...o }) {
551
551
  }
552
552
  );
553
553
  }
554
- const Pe = ({ to: e, label: a }) => /* @__PURE__ */ t.jsx(G, { className: "font-display", href: e, children: a }), Ve = ({ label: e }) => /* @__PURE__ */ t.jsx(Re, { className: "font-display", children: e }), ua = ({ breadcrumbs: e, linkComponent: a, pageComponent: o, className: s }) => {
555
- const n = a || Pe, l = o || Ve;
556
- return /* @__PURE__ */ t.jsx(Be, { className: i("my-4", s), children: /* @__PURE__ */ t.jsx(Le, { children: e.map(({ to: r, label: c }, m) => /* @__PURE__ */ t.jsxs(W, { children: [
554
+ const Fe = ({ to: e, label: a }) => /* @__PURE__ */ t.jsx(G, { className: "font-display", href: e, children: a }), Ve = ({ label: e }) => /* @__PURE__ */ t.jsx(Re, { className: "font-display", children: e }), ua = ({ breadcrumbs: e, linkComponent: a, pageComponent: o, className: s }) => {
555
+ const n = a || Fe, l = o || Ve;
556
+ return /* @__PURE__ */ t.jsx(Be, { className: i("my-4", s), children: /* @__PURE__ */ t.jsx(Le, { children: e.map(({ to: r, label: c }, b) => /* @__PURE__ */ t.jsxs(W, { children: [
557
557
  /* @__PURE__ */ t.jsxs(Ge, { children: [
558
558
  r && /* @__PURE__ */ t.jsx(G, { asChild: !0, className: "font-display", children: /* @__PURE__ */ t.jsx(n, { label: c, to: r }) }),
559
559
  !r && /* @__PURE__ */ t.jsx(l, { label: c })
560
560
  ] }),
561
- m < e.length - 1 && /* @__PURE__ */ t.jsx(Fe, {})
561
+ b < e.length - 1 && /* @__PURE__ */ t.jsx(Pe, {})
562
562
  ] }, c)) }) });
563
563
  };
564
- function ma({ className: e, ...a }) {
565
- return /* @__PURE__ */ t.jsx(
566
- "div",
567
- {
568
- className: i("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", e),
569
- "data-slot": "card",
570
- ...a
571
- }
572
- );
573
- }
574
- function ga({ className: e, ...a }) {
575
- return /* @__PURE__ */ t.jsx(
576
- "div",
577
- {
578
- className: i(
579
- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
580
- e
581
- ),
582
- "data-slot": "card-header",
583
- ...a
584
- }
585
- );
586
- }
587
- function ba({ className: e, ...a }) {
588
- return /* @__PURE__ */ t.jsx("div", { className: i("font-semibold leading-none", e), "data-slot": "card-title", ...a });
589
- }
590
- function pa({ className: e, ...a }) {
591
- return /* @__PURE__ */ t.jsx("div", { className: i("text-muted-foreground text-sm", e), "data-slot": "card-description", ...a });
592
- }
593
- function xa({ className: e, ...a }) {
594
- return /* @__PURE__ */ t.jsx(
595
- "div",
596
- {
597
- className: i("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
598
- "data-slot": "card-action",
599
- ...a
600
- }
601
- );
602
- }
603
- function fa({ className: e, ...a }) {
604
- return /* @__PURE__ */ t.jsx("div", { className: i("px-6", e), "data-slot": "card-content", ...a });
605
- }
606
- function va({ className: e, ...a }) {
607
- return /* @__PURE__ */ t.jsx("div", { className: i("flex items-center px-6 [.border-t]:pt-6", e), "data-slot": "card-footer", ...a });
608
- }
609
564
  function Oe({ ...e }) {
610
565
  return /* @__PURE__ */ t.jsx(R, { "data-slot": "dialog", ...e });
611
566
  }
612
567
  function He({ ...e }) {
613
- return /* @__PURE__ */ t.jsx(F, { "data-slot": "dialog-trigger", ...e });
568
+ return /* @__PURE__ */ t.jsx(P, { "data-slot": "dialog-trigger", ...e });
614
569
  }
615
570
  function qe({ ...e }) {
616
571
  return /* @__PURE__ */ t.jsx(K, { "data-slot": "dialog-portal", ...e });
@@ -632,7 +587,7 @@ function Xe({ className: e, children: a, ...o }) {
632
587
  return /* @__PURE__ */ t.jsxs(qe, { "data-slot": "dialog-portal", children: [
633
588
  /* @__PURE__ */ t.jsx(Ke, {}),
634
589
  /* @__PURE__ */ t.jsxs(
635
- P,
590
+ F,
636
591
  {
637
592
  className: i(
638
593
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg",
@@ -681,16 +636,16 @@ function Ue({ className: e, ...a }) {
681
636
  }
682
637
  );
683
638
  }
684
- const ha = ({ trigger: e, children: a, title: o, description: s, open: n, onOpenChange: l }) => {
685
- const r = n !== void 0, [c, m] = Y(r ? n : !1);
639
+ const ba = ({ trigger: e, children: a, title: o, description: s, open: n, onOpenChange: l }) => {
640
+ const r = n !== void 0, [c, b] = Y(r ? n : !1);
686
641
  if (Z(() => {
687
- r && m(n);
642
+ r && b(n);
688
643
  }, [n, r]), !e && !r)
689
644
  throw new Error("Trigger must be provided if modal state is not controlled through open, onOpenChange props.");
690
- const g = (d) => {
691
- m(d), l?.(d);
645
+ const m = (d) => {
646
+ b(d), l?.(d);
692
647
  };
693
- return /* @__PURE__ */ t.jsxs(Oe, { onOpenChange: g, open: c, children: [
648
+ return /* @__PURE__ */ t.jsxs(Oe, { onOpenChange: m, open: c, children: [
694
649
  /* @__PURE__ */ t.jsx(He, { asChild: !0, children: e }),
695
650
  /* @__PURE__ */ t.jsxs(Xe, { children: [
696
651
  (o || s) && /* @__PURE__ */ t.jsxs(Je, { children: [
@@ -781,7 +736,7 @@ function w({ className: e, ...a }) {
781
736
  }
782
737
  );
783
738
  }
784
- const ya = ({ pageCount: e, currentPage: a, onChange: o }) => {
739
+ const ma = ({ pageCount: e, currentPage: a, onChange: o }) => {
785
740
  const s = Math.max(1, e), n = Math.max(1, Math.min(a, s)), l = ee(() => s === 1 ? [1] : n <= 3 ? Array.from({ length: Math.min(3, s) }, (r, c) => c + 1) : n >= s - 2 ? Array.from(
786
741
  { length: Math.min(3, s) },
787
742
  (r, c) => s - Math.min(3, s) + c + 1
@@ -862,7 +817,7 @@ const ya = ({ pageCount: e, currentPage: a, onChange: o }) => {
862
817
  }
863
818
  ) })
864
819
  ] }) });
865
- }, ja = ({ className: e, orientation: a = "horizontal", gap: o, ...s }) => {
820
+ }, ga = ({ className: e, orientation: a = "horizontal", gap: o, ...s }) => {
866
821
  const n = a === "vertical", r = o ?? (n ? "2" : "4");
867
822
  return /* @__PURE__ */ t.jsx(
868
823
  J,
@@ -914,13 +869,13 @@ const ya = ({ pageCount: e, currentPage: a, onChange: o }) => {
914
869
  }
915
870
  );
916
871
  };
917
- function Na({ className: e, ...a }) {
872
+ function pa({ className: e, ...a }) {
918
873
  return /* @__PURE__ */ t.jsx("div", { className: i("animate-pulse rounded-md bg-accent", e), "data-slot": "skeleton", ...a });
919
874
  }
920
- function ka({ className: e, ...a }) {
875
+ function xa({ className: e, ...a }) {
921
876
  return /* @__PURE__ */ t.jsx(we, { className: i("flex flex-col gap-2", e), "data-slot": "tabs", ...a });
922
877
  }
923
- function wa({ className: e, ...a }) {
878
+ function fa({ className: e, ...a }) {
924
879
  return /* @__PURE__ */ t.jsx(
925
880
  Te,
926
881
  {
@@ -933,7 +888,7 @@ function wa({ className: e, ...a }) {
933
888
  }
934
889
  );
935
890
  }
936
- function Ta({ className: e, ...a }) {
891
+ function va({ className: e, ...a }) {
937
892
  return /* @__PURE__ */ t.jsx(
938
893
  Ce,
939
894
  {
@@ -946,76 +901,70 @@ function Ta({ className: e, ...a }) {
946
901
  }
947
902
  );
948
903
  }
949
- function Ca({ className: e, ...a }) {
904
+ function ha({ className: e, ...a }) {
950
905
  return /* @__PURE__ */ t.jsx(_e, { className: i("flex-1 outline-none", e), "data-slot": "tabs-content", ...a });
951
906
  }
952
907
  export {
953
- Ma as Accordion,
908
+ Na as Accordion,
954
909
  ca as Alert,
955
910
  da as Badge,
956
- ft as Box,
911
+ ut as Box,
957
912
  ua as Breadcrumbs,
958
- Xa as Button,
959
- Ja as ButtonGroup,
960
- ma as Card,
961
- xa as CardAction,
962
- fa as CardContent,
963
- pa as CardDescription,
964
- va as CardFooter,
965
- ga as CardHeader,
966
- ba as CardTitle,
967
- Ua as Checkbox,
968
- Tt as Code,
969
- Sa as Collapsible,
970
- vt as Container,
971
- Wa as DateInput,
972
- Ya as DatePicker,
973
- Za as DeleteButton,
974
- ut as ErrorFallback,
975
- mt as ErrorOverlay,
976
- ht as Flex,
977
- yt as Footer,
978
- jt as Grid,
979
- Nt as Header,
980
- _t as Heading,
981
- et as InputError,
982
- at as InputGroup,
983
- gt as Interstitial,
984
- tt as Label,
985
- kt as Layout,
986
- za as MenuItemText,
987
- ha as Modal,
988
- rt as NumberInput,
989
- bt as PageLoader,
990
- pt as PageNotFound,
991
- ya as Pagination,
992
- St as Paragraph,
993
- Aa as Popover,
994
- st as RadioSelect,
995
- nt as SelectInput,
996
- ot as SelectPicker,
997
- ja as Separator,
998
- $a as Sidebar,
999
- Da as SidebarLayout,
1000
- Ea as SidebarTrigger,
1001
- Ba as SimpleTooltip,
1002
- Na as Skeleton,
1003
- it as SubmitButton,
1004
- La as Table,
1005
- Ga as TableBody,
1006
- Ra as TableCaption,
1007
- Fa as TableCell,
1008
- Pa as TableHead,
1009
- Va as TableHeader,
1010
- Oa as TableRow,
1011
- ka as Tabs,
1012
- Ca as TabsContent,
1013
- wa as TabsList,
1014
- Ta as TabsTrigger,
1015
- It as Text,
1016
- lt as TextInput,
1017
- ct as Textarea,
1018
- Ha as ThemeSelector,
1019
- qa as Tooltip,
913
+ Fa as Button,
914
+ Va as ButtonGroup,
915
+ ka as Card,
916
+ Ha as Checkbox,
917
+ ht as Code,
918
+ wa as Collapsible,
919
+ bt as Container,
920
+ qa as DateInput,
921
+ Ka as DatePicker,
922
+ Xa as DeleteButton,
923
+ nt as ErrorFallback,
924
+ ot as ErrorOverlay,
925
+ mt as Flex,
926
+ gt as Footer,
927
+ pt as Grid,
928
+ xt as Header,
929
+ jt as Heading,
930
+ Ja as InputError,
931
+ Qa as InputGroup,
932
+ it as Interstitial,
933
+ Ua as Label,
934
+ ft as Layout,
935
+ Ta as MenuItemText,
936
+ ba as Modal,
937
+ Wa as NumberInput,
938
+ lt as PageLoader,
939
+ ct as PageNotFound,
940
+ ma as Pagination,
941
+ wt as Paragraph,
942
+ Ca as Popover,
943
+ Ya as RadioSelect,
944
+ Za as SelectInput,
945
+ et as SelectPicker,
946
+ ga as Separator,
947
+ _a as Sidebar,
948
+ Ia as SidebarLayout,
949
+ Ma as SidebarTrigger,
950
+ Sa as SimpleTooltip,
951
+ pa as Skeleton,
952
+ at as SubmitButton,
953
+ za as Table,
954
+ Aa as TableBody,
955
+ $a as TableCaption,
956
+ Da as TableCell,
957
+ Ea as TableHead,
958
+ Ba as TableHeader,
959
+ La as TableRow,
960
+ xa as Tabs,
961
+ ha as TabsContent,
962
+ fa as TabsList,
963
+ va as TabsTrigger,
964
+ Nt as Text,
965
+ tt as TextInput,
966
+ rt as Textarea,
967
+ Ga as ThemeSelector,
968
+ Ra as Tooltip,
1020
969
  i as cn
1021
970
  };
@@ -1,4 +1,4 @@
1
- import { E as o, a as e, I as s, P as t, b as l } from "./chunks/PageNotFound-BqoSSvCP.js";
1
+ import { E as o, a as e, I as s, P as t, b as l } from "./chunks/PageNotFound-DxxRBMDz.js";
2
2
  export {
3
3
  o as ErrorFallback,
4
4
  e as ErrorOverlay,
package/dist/layout.d.ts CHANGED
@@ -28,12 +28,13 @@ export declare interface BoxProps extends default_2.HTMLAttributes<HTMLDivElemen
28
28
 
29
29
  declare type BoxSizing = (typeof BOX_SIZINGS)[number];
30
30
 
31
- export declare const Container: ({ children, className, direction, ...props }: ContainerProps) => JSX.Element;
31
+ export declare const Container: ({ children, className, direction, separation, ...props }: ContainerProps) => JSX.Element;
32
32
 
33
33
  export declare interface ContainerProps extends FlexProps {
34
34
  children: React.ReactNode;
35
35
  display?: Display_2;
36
36
  className?: string;
37
+ separation?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
37
38
  }
38
39
 
39
40
  declare type Display = (typeof DISPLAYS)[number];
package/dist/layout.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as s, C as e, F as r, a as t, G as x, H as F, L as d } from "./chunks/Layout-DAdzkAxW.js";
1
+ import { B as s, C as e, F as r, a as t, G as x, H as F, L as d } from "./chunks/Layout-CjE5bQn7.js";
2
2
  export {
3
3
  s as Box,
4
4
  e as Container,
@@ -1,4 +1,4 @@
1
- import { M as r, a as b, b as i, S as s } from "./chunks/SidebarLayout-Bm8SlspC.js";
1
+ import { M as r, a as b, b as i, S as s } from "./chunks/SidebarLayout--MNsYxAf.js";
2
2
  export {
3
3
  r as MenuItemText,
4
4
  b as Sidebar,
@@ -3,7 +3,7 @@ import { JSX } from 'react/jsx-runtime';
3
3
 
4
4
  export declare const Code: ({ children, ...props }: TextProps) => JSX.Element;
5
5
 
6
- declare const FONT_FAMILIES: readonly ["display", "serif", "sans", "mono"];
6
+ declare const FONT_FAMILIES: readonly ["display", "serif", "sans", "mono", "heading", "body", "brand"];
7
7
 
8
8
  declare const FONT_SIZES: readonly ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "7xl", "8xl", "9xl"];
9
9
 
@@ -1,6 +1,6 @@
1
- import { C as o } from "./chunks/Code-DSfz_jrJ.js";
2
- import { H as p, T as s } from "./chunks/Heading-Bpvbpnw2.js";
3
- import { P as x } from "./chunks/Paragraph-Lcw42_Mz.js";
1
+ import { C as o } from "./chunks/Code-C8KML31r.js";
2
+ import { H as p, T as s } from "./chunks/Heading-DpEVkX3a.js";
3
+ import { P as x } from "./chunks/Paragraph-DiAQlGea.js";
4
4
  export {
5
5
  o as Code,
6
6
  p as Heading,