@lglab/compose-ui 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ import { Collapsible as BaseCollapsible } from '@base-ui/react/collapsible';
2
+ import * as React from 'react';
3
+ type CollapsibleRootProps = React.ComponentProps<typeof BaseCollapsible.Root>;
4
+ declare const CollapsibleRoot: {
5
+ ({ className, ...props }: CollapsibleRootProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ type CollapsibleTriggerProps = React.ComponentProps<typeof BaseCollapsible.Trigger>;
9
+ declare const CollapsibleTrigger: {
10
+ ({ className, ...props }: CollapsibleTriggerProps): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ type CollapsiblePanelProps = React.ComponentProps<typeof BaseCollapsible.Panel>;
14
+ declare const CollapsiblePanel: {
15
+ ({ className, ...props }: CollapsiblePanelProps): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export { CollapsibleRoot, CollapsibleTrigger, CollapsiblePanel };
19
+ export type { CollapsibleRootProps, CollapsibleTriggerProps, CollapsiblePanelProps };
20
+ //# sourceMappingURL=collapsible.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/components/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;8BAA6B,oBAAoB;;CAErE,CAAA;AAQD,KAAK,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAA;AAEnF,QAAA,MAAM,kBAAkB;8BAA6B,uBAAuB;;CAO3E,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAA;AAE/E,QAAA,MAAM,gBAAgB;8BAA6B,qBAAqB;;CAavE,CAAA;AAQD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,CAAA;AAEhE,YAAY,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { Button } from './components/button';
2
+ export { CollapsibleRoot, CollapsibleTrigger, CollapsiblePanel, } from './components/collapsible';
2
3
  export { AlertDialogRoot, AlertDialogTrigger, AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, AlertDialogPopup, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, } from './components/alert-dialog';
3
4
  export { AlertDialog } from '@base-ui/react/alert-dialog';
4
5
  export { AvatarRoot, AvatarImage, AvatarFallback, AvatarStack } from './components/avatar';
@@ -13,6 +14,7 @@ export { MeterRoot, MeterTrack, MeterIndicator, MeterValue, MeterLabel, } from '
13
14
  export { ProgressRoot, ProgressTrack, ProgressIndicator, ProgressValue, ProgressLabel, } from './components/progress';
14
15
  export { ToggleGroupRoot, ToggleGroupItem } from './components/toggle-group';
15
16
  export type { ButtonProps } from './components/button';
17
+ export type { CollapsibleRootProps, CollapsibleTriggerProps, CollapsiblePanelProps, } from './components/collapsible';
16
18
  export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
17
19
  export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps, } from './components/avatar';
18
20
  export type { ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './components/scroll-area';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACzF,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAA;AAC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,GACtB,MAAM,0BAA0B,CAAA;AACjC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAC5E,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvD,YAAY,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EACV,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,eAAe,GAChB,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EACV,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,2BAA2B,CAAA"}
package/dist/index.es.js CHANGED
@@ -1,22 +1,23 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as k } from "react/jsx-runtime";
2
+ import { jsx as t, jsxs as A } from "react/jsx-runtime";
3
3
  import { Button as S } from "@base-ui/react/button";
4
4
  import { cva as n } from "class-variance-authority";
5
- import { clsx as C } from "clsx";
6
- import { twMerge as _ } from "tailwind-merge";
5
+ import { clsx as _ } from "clsx";
6
+ import { twMerge as I } from "tailwind-merge";
7
+ import { Collapsible as w } from "@base-ui/react/collapsible";
7
8
  import { AlertDialog as d } from "@base-ui/react/alert-dialog";
8
- import { AlertDialog as ya } from "@base-ui/react/alert-dialog";
9
- import { Avatar as w } from "@base-ui/react/avatar";
10
- import * as N from "react";
9
+ import { AlertDialog as wa } from "@base-ui/react/alert-dialog";
10
+ import { Avatar as D } from "@base-ui/react/avatar";
11
+ import * as x from "react";
11
12
  import { ScrollArea as m } from "@base-ui/react/scroll-area";
12
- import { Switch as A } from "@base-ui/react/switch";
13
- import { Toggle as T } from "@base-ui/react/toggle";
13
+ import { Switch as T } from "@base-ui/react/switch";
14
+ import { Toggle as z } from "@base-ui/react/toggle";
14
15
  import { Tabs as f } from "@base-ui/react/tabs";
15
- import { Dialog as l } from "@base-ui/react/dialog";
16
+ import { Dialog as s } from "@base-ui/react/dialog";
16
17
  import { Accordion as b } from "@base-ui/react/accordion";
17
18
  import { Meter as y } from "@base-ui/react/meter";
18
19
  import { Progress as h } from "@base-ui/react/progress";
19
- import { ToggleGroup as I } from "@base-ui/react/toggle-group";
20
+ import { ToggleGroup as F } from "@base-ui/react/toggle-group";
20
21
  const u = n(
21
22
  [
22
23
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
@@ -47,43 +48,67 @@ const u = n(
47
48
  }
48
49
  );
49
50
  function r(...e) {
50
- return _(C(e));
51
+ return I(_(e));
51
52
  }
52
- const F = ({
53
+ const j = ({
53
54
  className: e,
54
55
  variant: a,
55
56
  size: o,
56
- disabled: s,
57
+ disabled: l,
57
58
  children: i,
58
59
  ...c
59
60
  }) => /* @__PURE__ */ t(
60
61
  S,
61
62
  {
62
63
  className: r(u({ variant: a, size: o }), e),
63
- disabled: s,
64
+ disabled: l,
64
65
  ...c,
65
66
  children: i
66
67
  }
67
68
  );
68
- F.displayName = "Button";
69
- const B = (e) => /* @__PURE__ */ t(d.Root, { ...e });
70
- B.displayName = "AlertDialogRoot";
71
- const M = ({
69
+ j.displayName = "Button";
70
+ const B = ({ className: e, ...a }) => /* @__PURE__ */ t(w.Root, { className: r("w-full", e), ...a });
71
+ B.displayName = "CollapsibleRoot";
72
+ const M = ({ className: e, ...a }) => /* @__PURE__ */ t(
73
+ w.Trigger,
74
+ {
75
+ className: r("flex items-center justify-between font-medium", e),
76
+ ...a
77
+ }
78
+ );
79
+ M.displayName = "CollapsibleTrigger";
80
+ const L = ({ className: e, ...a }) => /* @__PURE__ */ t(
81
+ w.Panel,
82
+ {
83
+ className: r(
84
+ '[&[hidden]:not([hidden="until-found"])]:hidden h-(--collapsible-panel-height)',
85
+ "overflow-hidden duration-200 transition-all ease-out",
86
+ "data-ending-style:h-0",
87
+ "data-starting-style:h-0",
88
+ e
89
+ ),
90
+ ...a
91
+ }
92
+ );
93
+ L.displayName = "CollapsiblePanel";
94
+ const H = (e) => /* @__PURE__ */ t(d.Root, { ...e });
95
+ H.displayName = "AlertDialogRoot";
96
+ const G = ({
72
97
  className: e,
73
98
  variant: a,
74
99
  size: o,
75
- ...s
100
+ ...l
76
101
  }) => /* @__PURE__ */ t(
77
102
  d.Trigger,
78
103
  {
79
104
  className: r(u({ variant: a, size: o }), e),
80
- ...s
105
+ ...l
81
106
  }
82
107
  );
83
- M.displayName = "AlertDialogTrigger";
84
- const j = (e) => /* @__PURE__ */ t(d.Portal, { ...e });
85
- j.displayName = "AlertDialogPortal";
86
- const L = ({ className: e, ...a }) => /* @__PURE__ */ t(
108
+ G.displayName = "AlertDialogTrigger";
109
+ const q = (e) => /* @__PURE__ */ t(d.Portal, { ...e });
110
+ q.displayName = "AlertDialogPortal";
111
+ const E = ({ className: e, ...a }) => /* @__PURE__ */ t(
87
112
  d.Backdrop,
88
113
  {
89
114
  className: r(
@@ -95,16 +120,16 @@ const L = ({ className: e, ...a }) => /* @__PURE__ */ t(
95
120
  ...a
96
121
  }
97
122
  );
98
- L.displayName = "AlertDialogBackdrop";
99
- const H = ({ className: e, ...a }) => /* @__PURE__ */ t(
123
+ E.displayName = "AlertDialogBackdrop";
124
+ const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(
100
125
  d.Viewport,
101
126
  {
102
127
  className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
103
128
  ...a
104
129
  }
105
130
  );
106
- H.displayName = "AlertDialogViewport";
107
- const G = n(
131
+ $.displayName = "AlertDialogViewport";
132
+ const J = n(
108
133
  [
109
134
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
110
135
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -128,38 +153,38 @@ const G = n(
128
153
  size: "default"
129
154
  }
130
155
  }
131
- ), q = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
156
+ ), K = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
132
157
  d.Popup,
133
158
  {
134
- className: r(G({ size: a }), e),
159
+ className: r(J({ size: a }), e),
135
160
  ...o
136
161
  }
137
162
  );
138
- q.displayName = "AlertDialogPopup";
139
- const E = ({ className: e, ...a }) => /* @__PURE__ */ t(
163
+ K.displayName = "AlertDialogPopup";
164
+ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
140
165
  d.Title,
141
166
  {
142
167
  className: r("text-lg font-semibold leading-none tracking-tight", e),
143
168
  ...a
144
169
  }
145
170
  );
146
- E.displayName = "AlertDialogTitle";
147
- const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Description, { className: r("mt-2", e), ...a });
148
- $.displayName = "AlertDialogDescription";
149
- const J = ({
171
+ O.displayName = "AlertDialogTitle";
172
+ const Q = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Description, { className: r("mt-2", e), ...a });
173
+ Q.displayName = "AlertDialogDescription";
174
+ const U = ({
150
175
  className: e,
151
176
  variant: a,
152
177
  size: o,
153
- ...s
178
+ ...l
154
179
  }) => /* @__PURE__ */ t(
155
180
  d.Close,
156
181
  {
157
182
  className: r(u({ variant: a ?? "outline", size: o }), e),
158
- ...s
183
+ ...l
159
184
  }
160
185
  );
161
- J.displayName = "AlertDialogClose";
162
- const z = n(
186
+ U.displayName = "AlertDialogClose";
187
+ const P = n(
163
188
  [
164
189
  "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
165
190
  "bg-muted text-foreground",
@@ -177,18 +202,18 @@ const z = n(
177
202
  size: "default"
178
203
  }
179
204
  }
180
- ), P = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(w.Root, { className: r(z({ size: a }), e), ...o });
181
- P.displayName = "AvatarRoot";
182
- const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
183
- w.Image,
205
+ ), R = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(D.Root, { className: r(P({ size: a }), e), ...o });
206
+ R.displayName = "AvatarRoot";
207
+ const W = ({ className: e, ...a }) => /* @__PURE__ */ t(
208
+ D.Image,
184
209
  {
185
210
  className: r("aspect-square h-full w-full object-cover", e),
186
211
  ...a
187
212
  }
188
213
  );
189
- K.displayName = "AvatarImage";
190
- const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
191
- w.Fallback,
214
+ W.displayName = "AvatarImage";
215
+ const X = ({ className: e, ...a }) => /* @__PURE__ */ t(
216
+ D.Fallback,
192
217
  {
193
218
  className: r(
194
219
  "flex h-full w-full items-center justify-center font-medium",
@@ -197,50 +222,50 @@ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
197
222
  ...a
198
223
  }
199
224
  );
200
- O.displayName = "AvatarFallback";
201
- const Q = ({
225
+ X.displayName = "AvatarFallback";
226
+ const Y = ({
202
227
  "aria-label": e,
203
228
  maxVisible: a,
204
229
  className: o,
205
- children: s
230
+ children: l
206
231
  }) => {
207
- const i = N.Children.toArray(s), c = i.length, g = a !== void 0 ? Math.min(a, c) : c, x = c - g, v = i.slice(0, g), V = (() => {
232
+ const i = x.Children.toArray(l), c = i.length, g = a !== void 0 ? Math.min(a, c) : c, N = c - g, v = i.slice(0, g), C = (() => {
208
233
  const p = i[0];
209
- return N.isValidElement(p) && p.type === P ? p.props.size ?? "default" : "default";
234
+ return x.isValidElement(p) && p.type === R ? p.props.size ?? "default" : "default";
210
235
  })();
211
- return /* @__PURE__ */ k("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
212
- v.map((p, D) => /* @__PURE__ */ t("li", { children: p }, D)),
213
- x > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ k(
236
+ return /* @__PURE__ */ A("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
237
+ v.map((p, k) => /* @__PURE__ */ t("li", { children: p }, k)),
238
+ N > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ A(
214
239
  "span",
215
240
  {
216
241
  className: r(
217
242
  "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
218
243
  "bg-muted text-foreground border-2 border-background",
219
244
  "font-medium",
220
- z({ size: V })
245
+ P({ size: C })
221
246
  ),
222
247
  children: [
223
248
  "+",
224
- x
249
+ N
225
250
  ]
226
251
  }
227
252
  ) })
228
253
  ] });
229
254
  };
230
- Q.displayName = "AvatarStack";
231
- const U = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Root, { className: r("relative", e), ...a });
232
- U.displayName = "ScrollAreaRoot";
233
- const W = ({ className: e, ...a }) => /* @__PURE__ */ t(
255
+ Y.displayName = "AvatarStack";
256
+ const Z = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Root, { className: r("relative", e), ...a });
257
+ Z.displayName = "ScrollAreaRoot";
258
+ const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
234
259
  m.Viewport,
235
260
  {
236
261
  className: r("h-full overscroll-contain pr-3", e),
237
262
  ...a
238
263
  }
239
264
  );
240
- W.displayName = "ScrollAreaViewport";
241
- const X = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Content, { className: r("min-w-full", e), ...a });
242
- X.displayName = "ScrollAreaContent";
243
- const Y = ({
265
+ ee.displayName = "ScrollAreaViewport";
266
+ const ae = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Content, { className: r("min-w-full", e), ...a });
267
+ ae.displayName = "ScrollAreaContent";
268
+ const te = ({
244
269
  className: e,
245
270
  orientation: a = "vertical",
246
271
  ...o
@@ -258,8 +283,8 @@ const Y = ({
258
283
  ...o
259
284
  }
260
285
  );
261
- Y.displayName = "ScrollAreaScrollbar";
262
- const Z = ({ className: e, ...a }) => /* @__PURE__ */ t(
286
+ te.displayName = "ScrollAreaScrollbar";
287
+ const re = ({ className: e, ...a }) => /* @__PURE__ */ t(
263
288
  m.Thumb,
264
289
  {
265
290
  className: r(
@@ -270,11 +295,11 @@ const Z = ({ className: e, ...a }) => /* @__PURE__ */ t(
270
295
  ...a
271
296
  }
272
297
  );
273
- Z.displayName = "ScrollAreaThumb";
274
- const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Corner, { className: r("bg-muted/50", e), ...a });
275
- ee.displayName = "ScrollAreaCorner";
276
- const ae = ({ className: e, ...a }) => /* @__PURE__ */ t(
277
- A.Root,
298
+ re.displayName = "ScrollAreaThumb";
299
+ const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Corner, { className: r("bg-muted/50", e), ...a });
300
+ oe.displayName = "ScrollAreaCorner";
301
+ const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
302
+ T.Root,
278
303
  {
279
304
  className: r(
280
305
  "relative flex h-6 w-10 rounded-full",
@@ -291,9 +316,9 @@ const ae = ({ className: e, ...a }) => /* @__PURE__ */ t(
291
316
  ...a
292
317
  }
293
318
  );
294
- ae.displayName = "SwitchRoot";
295
- const te = ({ className: e, ...a }) => /* @__PURE__ */ t(
296
- A.Thumb,
319
+ le.displayName = "SwitchRoot";
320
+ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
321
+ T.Thumb,
297
322
  {
298
323
  className: r(
299
324
  "aspect-square h-full rounded-full bg-background",
@@ -307,8 +332,8 @@ const te = ({ className: e, ...a }) => /* @__PURE__ */ t(
307
332
  ...a
308
333
  }
309
334
  );
310
- te.displayName = "SwitchThumb";
311
- const R = n(
335
+ se.displayName = "SwitchThumb";
336
+ const V = n(
312
337
  [
313
338
  "inline-flex items-center justify-center gap-2 rounded-md",
314
339
  "text-sm font-medium",
@@ -339,11 +364,11 @@ const R = n(
339
364
  size: "default"
340
365
  }
341
366
  }
342
- ), re = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(T, { className: r(R({ variant: a, size: o }), e), ...s });
343
- re.displayName = "Toggle";
344
- const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("flex flex-col", e), ...a });
345
- oe.displayName = "TabsRoot";
346
- const se = n(
367
+ ), ie = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(z, { className: r(V({ variant: a, size: o }), e), ...l });
368
+ ie.displayName = "Toggle";
369
+ const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("flex flex-col", e), ...a });
370
+ ne.displayName = "TabsRoot";
371
+ const de = n(
347
372
  ["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
348
373
  {
349
374
  variants: {
@@ -356,15 +381,15 @@ const se = n(
356
381
  orientation: "horizontal"
357
382
  }
358
383
  }
359
- ), le = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
384
+ ), ce = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
360
385
  f.List,
361
386
  {
362
- className: r(se({ orientation: a }), e),
387
+ className: r(de({ orientation: a }), e),
363
388
  ...o
364
389
  }
365
390
  );
366
- le.displayName = "TabsList";
367
- const ie = n(
391
+ ce.displayName = "TabsList";
392
+ const ue = n(
368
393
  [
369
394
  "relative z-10 inline-flex items-center justify-center whitespace-nowrap",
370
395
  "rounded-md px-3 py-1.5 text-sm font-medium",
@@ -385,9 +410,9 @@ const ie = n(
385
410
  size: "default"
386
411
  }
387
412
  }
388
- ), ne = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(f.Tab, { className: r(ie({ size: a }), e), ...o });
389
- ne.displayName = "TabsTab";
390
- const de = n(
413
+ ), me = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(f.Tab, { className: r(ue({ size: a }), e), ...o });
414
+ me.displayName = "TabsTab";
415
+ const ge = n(
391
416
  ["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
392
417
  {
393
418
  variants: {
@@ -400,34 +425,34 @@ const de = n(
400
425
  orientation: "horizontal"
401
426
  }
402
427
  }
403
- ), ce = ({
428
+ ), pe = ({
404
429
  className: e,
405
430
  orientation: a = "horizontal",
406
431
  ...o
407
432
  }) => /* @__PURE__ */ t(
408
433
  f.Indicator,
409
434
  {
410
- className: r(de({ orientation: a }), e),
435
+ className: r(ge({ orientation: a }), e),
411
436
  ...o
412
437
  }
413
438
  );
414
- ce.displayName = "TabsIndicator";
415
- const ue = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
416
- ue.displayName = "TabsPanel";
417
- const me = (e) => /* @__PURE__ */ t(l.Root, { ...e });
418
- me.displayName = "DialogRoot";
419
- const ge = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
420
- l.Trigger,
439
+ pe.displayName = "TabsIndicator";
440
+ const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
441
+ fe.displayName = "TabsPanel";
442
+ const be = (e) => /* @__PURE__ */ t(s.Root, { ...e });
443
+ be.displayName = "DialogRoot";
444
+ const ye = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
445
+ s.Trigger,
421
446
  {
422
447
  className: r(u({ variant: a, size: o }), e),
423
- ...s
448
+ ...l
424
449
  }
425
450
  );
426
- ge.displayName = "DialogTrigger";
427
- const pe = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
428
- pe.displayName = "DialogPortal";
429
- const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
430
- l.Backdrop,
451
+ ye.displayName = "DialogTrigger";
452
+ const he = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
453
+ he.displayName = "DialogPortal";
454
+ const Ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
455
+ s.Backdrop,
431
456
  {
432
457
  className: r(
433
458
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -438,8 +463,8 @@ const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
438
463
  ...a
439
464
  }
440
465
  );
441
- fe.displayName = "DialogBackdrop";
442
- const be = n(
466
+ Ne.displayName = "DialogBackdrop";
467
+ const xe = n(
443
468
  [
444
469
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
445
470
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -463,35 +488,35 @@ const be = n(
463
488
  size: "default"
464
489
  }
465
490
  }
466
- ), ye = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
467
- l.Popup,
491
+ ), ve = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
492
+ s.Popup,
468
493
  {
469
- className: r(be({ size: a }), e),
494
+ className: r(xe({ size: a }), e),
470
495
  ...o
471
496
  }
472
497
  );
473
- ye.displayName = "DialogPopup";
474
- const he = ({ className: e, ...a }) => /* @__PURE__ */ t(
475
- l.Title,
498
+ ve.displayName = "DialogPopup";
499
+ const we = ({ className: e, ...a }) => /* @__PURE__ */ t(
500
+ s.Title,
476
501
  {
477
502
  className: r("text-lg font-semibold leading-none tracking-tight", e),
478
503
  ...a
479
504
  }
480
505
  );
481
- he.displayName = "DialogTitle";
482
- const xe = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Description, { className: r("mt-2", e), ...a });
483
- xe.displayName = "DialogDescription";
484
- const Ne = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
485
- l.Close,
506
+ we.displayName = "DialogTitle";
507
+ const De = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("mt-2", e), ...a });
508
+ De.displayName = "DialogDescription";
509
+ const ke = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
510
+ s.Close,
486
511
  {
487
512
  className: r(u({ variant: a ?? "outline", size: o }), e),
488
- ...s
513
+ ...l
489
514
  }
490
515
  );
491
- Ne.displayName = "DialogClose";
492
- const ve = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
493
- ve.displayName = "DialogHeader";
494
- const we = ({ className: e, ...a }) => /* @__PURE__ */ t(
516
+ ke.displayName = "DialogClose";
517
+ const Ae = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
518
+ Ae.displayName = "DialogHeader";
519
+ const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(
495
520
  "div",
496
521
  {
497
522
  className: r(
@@ -501,21 +526,21 @@ const we = ({ className: e, ...a }) => /* @__PURE__ */ t(
501
526
  ...a
502
527
  }
503
528
  );
504
- we.displayName = "DialogFooter";
505
- const De = (e) => /* @__PURE__ */ t(l.Root, { ...e });
506
- De.displayName = "DrawerRoot";
507
- const ke = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
508
- l.Trigger,
529
+ Te.displayName = "DialogFooter";
530
+ const ze = (e) => /* @__PURE__ */ t(s.Root, { ...e });
531
+ ze.displayName = "DrawerRoot";
532
+ const Pe = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
533
+ s.Trigger,
509
534
  {
510
535
  className: r(u({ variant: a, size: o }), e),
511
- ...s
536
+ ...l
512
537
  }
513
538
  );
514
- ke.displayName = "DrawerTrigger";
515
- const Ae = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
516
- Ae.displayName = "DrawerPortal";
517
- const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(
518
- l.Backdrop,
539
+ Pe.displayName = "DrawerTrigger";
540
+ const Re = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
541
+ Re.displayName = "DrawerPortal";
542
+ const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
543
+ s.Backdrop,
519
544
  {
520
545
  className: r(
521
546
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -526,8 +551,8 @@ const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(
526
551
  ...a
527
552
  }
528
553
  );
529
- Te.displayName = "DrawerBackdrop";
530
- const ze = n(
554
+ Ve.displayName = "DrawerBackdrop";
555
+ const Ce = n(
531
556
  [
532
557
  "fixed z-50 flex flex-col bg-background p-6 shadow-lg",
533
558
  "transition-transform duration-300 ease-out",
@@ -563,51 +588,51 @@ const ze = n(
563
588
  side: "right"
564
589
  }
565
590
  }
566
- ), Pe = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
567
- l.Popup,
591
+ ), Se = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
592
+ s.Popup,
568
593
  {
569
- className: r(ze({ side: a }), e),
594
+ className: r(Ce({ side: a }), e),
570
595
  ...o
571
596
  }
572
597
  );
573
- Pe.displayName = "DrawerPopup";
574
- const Re = ({ className: e, ...a }) => /* @__PURE__ */ t(
575
- l.Title,
598
+ Se.displayName = "DrawerPopup";
599
+ const _e = ({ className: e, ...a }) => /* @__PURE__ */ t(
600
+ s.Title,
576
601
  {
577
602
  className: r("text-lg font-semibold leading-none tracking-tight", e),
578
603
  ...a
579
604
  }
580
605
  );
581
- Re.displayName = "DrawerTitle";
582
- const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Description, { className: r("", e), ...a });
583
- Ve.displayName = "DrawerDescription";
584
- const Se = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
585
- l.Close,
606
+ _e.displayName = "DrawerTitle";
607
+ const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("", e), ...a });
608
+ Ie.displayName = "DrawerDescription";
609
+ const Fe = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
610
+ s.Close,
586
611
  {
587
612
  className: r(u({ variant: a ?? "outline", size: o }), e),
588
- ...s
589
- }
590
- );
591
- Se.displayName = "DrawerClose";
592
- const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
593
- Ce.displayName = "DrawerHeader";
594
- const _e = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
595
- _e.displayName = "DrawerContent";
596
- const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
597
- Ie.displayName = "DrawerFooter";
598
- const Fe = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Root, { className: r("w-full", e), ...a });
599
- Fe.displayName = "AccordionRoot";
600
- const Be = ({ className: e, ...a }) => /* @__PURE__ */ t(
613
+ ...l
614
+ }
615
+ );
616
+ Fe.displayName = "DrawerClose";
617
+ const je = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
618
+ je.displayName = "DrawerHeader";
619
+ const Be = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
620
+ Be.displayName = "DrawerContent";
621
+ const Me = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
622
+ Me.displayName = "DrawerFooter";
623
+ const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Root, { className: r("w-full", e), ...a });
624
+ Le.displayName = "AccordionRoot";
625
+ const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
601
626
  b.Item,
602
627
  {
603
628
  className: r("border-b border-border last:border-b-0", e),
604
629
  ...a
605
630
  }
606
631
  );
607
- Be.displayName = "AccordionItem";
608
- const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Header, { className: r("flex", e), ...a });
609
- Me.displayName = "AccordionHeader";
610
- const je = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
632
+ He.displayName = "AccordionItem";
633
+ const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Header, { className: r("flex", e), ...a });
634
+ Ge.displayName = "AccordionHeader";
635
+ const qe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
611
636
  b.Trigger,
612
637
  {
613
638
  className: r(
@@ -618,8 +643,8 @@ const je = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
618
643
  children: a
619
644
  }
620
645
  );
621
- je.displayName = "AccordionTrigger";
622
- const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(
646
+ qe.displayName = "AccordionTrigger";
647
+ const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
623
648
  b.Panel,
624
649
  {
625
650
  className: r(
@@ -629,24 +654,24 @@ const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(
629
654
  ...a
630
655
  }
631
656
  );
632
- Le.displayName = "AccordionPanel";
633
- const He = ({ className: e, animated: a, value: o, ...s }) => {
634
- const i = o ?? 0, [c, g] = N.useState(a ? 0 : i);
635
- return N.useEffect(() => {
657
+ Ee.displayName = "AccordionPanel";
658
+ const $e = ({ className: e, animated: a, value: o, ...l }) => {
659
+ const i = o ?? 0, [c, g] = x.useState(a ? 0 : i);
660
+ return x.useEffect(() => {
636
661
  if (a) {
637
- const x = requestAnimationFrame(() => {
662
+ const N = requestAnimationFrame(() => {
638
663
  const v = requestAnimationFrame(() => {
639
664
  g(i ?? 0);
640
665
  });
641
666
  return () => cancelAnimationFrame(v);
642
667
  });
643
- return () => cancelAnimationFrame(x);
668
+ return () => cancelAnimationFrame(N);
644
669
  } else
645
670
  g(i ?? 0);
646
- }, [a, i]), /* @__PURE__ */ t(y.Root, { className: r("w-full", e), value: c, ...s });
671
+ }, [a, i]), /* @__PURE__ */ t(y.Root, { className: r("w-full", e), value: c, ...l });
647
672
  };
648
- He.displayName = "MeterRoot";
649
- const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
673
+ $e.displayName = "MeterRoot";
674
+ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
650
675
  y.Track,
651
676
  {
652
677
  className: r(
@@ -656,8 +681,8 @@ const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
656
681
  ...a
657
682
  }
658
683
  );
659
- Ge.displayName = "MeterTrack";
660
- const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
684
+ Je.displayName = "MeterTrack";
685
+ const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
661
686
  y.Indicator,
662
687
  {
663
688
  className: r(
@@ -667,26 +692,26 @@ const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
667
692
  ...a
668
693
  }
669
694
  );
670
- qe.displayName = "MeterIndicator";
671
- const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
695
+ Ke.displayName = "MeterIndicator";
696
+ const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(
672
697
  y.Value,
673
698
  {
674
699
  className: r("text-sm font-medium text-foreground", e),
675
700
  ...a
676
701
  }
677
702
  );
678
- Ee.displayName = "MeterValue";
679
- const $e = ({ className: e, ...a }) => /* @__PURE__ */ t(
703
+ Oe.displayName = "MeterValue";
704
+ const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
680
705
  y.Label,
681
706
  {
682
707
  className: r("text-sm font-medium text-foreground", e),
683
708
  ...a
684
709
  }
685
710
  );
686
- $e.displayName = "MeterLabel";
687
- const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Root, { className: r("w-full", e), ...a });
688
- Je.displayName = "ProgressRoot";
689
- const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
711
+ Qe.displayName = "MeterLabel";
712
+ const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Root, { className: r("w-full", e), ...a });
713
+ Ue.displayName = "ProgressRoot";
714
+ const We = ({ className: e, ...a }) => /* @__PURE__ */ t(
690
715
  h.Track,
691
716
  {
692
717
  className: r(
@@ -696,8 +721,8 @@ const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
696
721
  ...a
697
722
  }
698
723
  );
699
- Ke.displayName = "ProgressTrack";
700
- const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(
724
+ We.displayName = "ProgressTrack";
725
+ const Xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
701
726
  h.Indicator,
702
727
  {
703
728
  className: r(
@@ -707,25 +732,25 @@ const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(
707
732
  ...a
708
733
  }
709
734
  );
710
- Oe.displayName = "ProgressIndicator";
711
- const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
735
+ Xe.displayName = "ProgressIndicator";
736
+ const Ye = ({ className: e, ...a }) => /* @__PURE__ */ t(
712
737
  h.Value,
713
738
  {
714
739
  className: r("text-sm font-medium text-foreground", e),
715
740
  ...a
716
741
  }
717
742
  );
718
- Qe.displayName = "ProgressValue";
719
- const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
743
+ Ye.displayName = "ProgressValue";
744
+ const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t(
720
745
  h.Label,
721
746
  {
722
747
  className: r("text-sm font-medium text-foreground", e),
723
748
  ...a
724
749
  }
725
750
  );
726
- Ue.displayName = "ProgressLabel";
727
- const We = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
728
- I,
751
+ Ze.displayName = "ProgressLabel";
752
+ const ea = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
753
+ F,
729
754
  {
730
755
  orientation: a,
731
756
  className: r(
@@ -741,91 +766,94 @@ const We = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
741
766
  ...o
742
767
  }
743
768
  );
744
- We.displayName = "ToggleGroupRoot";
745
- const Xe = ({
769
+ ea.displayName = "ToggleGroupRoot";
770
+ const aa = ({
746
771
  className: e,
747
772
  variant: a,
748
773
  size: o,
749
- ...s
774
+ ...l
750
775
  }) => /* @__PURE__ */ t(
751
- T,
776
+ z,
752
777
  {
753
778
  className: r(
754
- R({ variant: a, size: o }),
779
+ V({ variant: a, size: o }),
755
780
  // Ghost variant in toggle-group: add borders, no background when pressed
756
781
  a === "ghost" && "border border-border",
757
782
  e
758
783
  ),
759
- ...s
784
+ ...l
760
785
  }
761
786
  );
762
- Xe.displayName = "ToggleGroupItem";
787
+ aa.displayName = "ToggleGroupItem";
763
788
  export {
764
- Me as AccordionHeader,
765
- Be as AccordionItem,
766
- Le as AccordionPanel,
767
- Fe as AccordionRoot,
768
- je as AccordionTrigger,
769
- ya as AlertDialog,
770
- L as AlertDialogBackdrop,
771
- J as AlertDialogClose,
772
- $ as AlertDialogDescription,
773
- q as AlertDialogPopup,
774
- j as AlertDialogPortal,
775
- B as AlertDialogRoot,
776
- E as AlertDialogTitle,
777
- M as AlertDialogTrigger,
778
- H as AlertDialogViewport,
779
- O as AvatarFallback,
780
- K as AvatarImage,
781
- P as AvatarRoot,
782
- Q as AvatarStack,
783
- F as Button,
784
- fe as DialogBackdrop,
785
- Ne as DialogClose,
786
- xe as DialogDescription,
787
- we as DialogFooter,
788
- ve as DialogHeader,
789
- ye as DialogPopup,
790
- pe as DialogPortal,
791
- me as DialogRoot,
792
- he as DialogTitle,
793
- ge as DialogTrigger,
794
- Te as DrawerBackdrop,
795
- Se as DrawerClose,
796
- _e as DrawerContent,
797
- Ve as DrawerDescription,
798
- Ie as DrawerFooter,
799
- Ce as DrawerHeader,
800
- Pe as DrawerPopup,
801
- Ae as DrawerPortal,
802
- De as DrawerRoot,
803
- Re as DrawerTitle,
804
- ke as DrawerTrigger,
805
- qe as MeterIndicator,
806
- $e as MeterLabel,
807
- He as MeterRoot,
808
- Ge as MeterTrack,
809
- Ee as MeterValue,
810
- Oe as ProgressIndicator,
811
- Ue as ProgressLabel,
812
- Je as ProgressRoot,
813
- Ke as ProgressTrack,
814
- Qe as ProgressValue,
815
- X as ScrollAreaContent,
816
- ee as ScrollAreaCorner,
817
- U as ScrollAreaRoot,
818
- Y as ScrollAreaScrollbar,
819
- Z as ScrollAreaThumb,
820
- W as ScrollAreaViewport,
821
- ae as SwitchRoot,
822
- te as SwitchThumb,
823
- ce as TabsIndicator,
824
- le as TabsList,
825
- ue as TabsPanel,
826
- oe as TabsRoot,
827
- ne as TabsTab,
828
- re as Toggle,
829
- Xe as ToggleGroupItem,
830
- We as ToggleGroupRoot
789
+ Ge as AccordionHeader,
790
+ He as AccordionItem,
791
+ Ee as AccordionPanel,
792
+ Le as AccordionRoot,
793
+ qe as AccordionTrigger,
794
+ wa as AlertDialog,
795
+ E as AlertDialogBackdrop,
796
+ U as AlertDialogClose,
797
+ Q as AlertDialogDescription,
798
+ K as AlertDialogPopup,
799
+ q as AlertDialogPortal,
800
+ H as AlertDialogRoot,
801
+ O as AlertDialogTitle,
802
+ G as AlertDialogTrigger,
803
+ $ as AlertDialogViewport,
804
+ X as AvatarFallback,
805
+ W as AvatarImage,
806
+ R as AvatarRoot,
807
+ Y as AvatarStack,
808
+ j as Button,
809
+ L as CollapsiblePanel,
810
+ B as CollapsibleRoot,
811
+ M as CollapsibleTrigger,
812
+ Ne as DialogBackdrop,
813
+ ke as DialogClose,
814
+ De as DialogDescription,
815
+ Te as DialogFooter,
816
+ Ae as DialogHeader,
817
+ ve as DialogPopup,
818
+ he as DialogPortal,
819
+ be as DialogRoot,
820
+ we as DialogTitle,
821
+ ye as DialogTrigger,
822
+ Ve as DrawerBackdrop,
823
+ Fe as DrawerClose,
824
+ Be as DrawerContent,
825
+ Ie as DrawerDescription,
826
+ Me as DrawerFooter,
827
+ je as DrawerHeader,
828
+ Se as DrawerPopup,
829
+ Re as DrawerPortal,
830
+ ze as DrawerRoot,
831
+ _e as DrawerTitle,
832
+ Pe as DrawerTrigger,
833
+ Ke as MeterIndicator,
834
+ Qe as MeterLabel,
835
+ $e as MeterRoot,
836
+ Je as MeterTrack,
837
+ Oe as MeterValue,
838
+ Xe as ProgressIndicator,
839
+ Ze as ProgressLabel,
840
+ Ue as ProgressRoot,
841
+ We as ProgressTrack,
842
+ Ye as ProgressValue,
843
+ ae as ScrollAreaContent,
844
+ oe as ScrollAreaCorner,
845
+ Z as ScrollAreaRoot,
846
+ te as ScrollAreaScrollbar,
847
+ re as ScrollAreaThumb,
848
+ ee as ScrollAreaViewport,
849
+ le as SwitchRoot,
850
+ se as SwitchThumb,
851
+ pe as TabsIndicator,
852
+ ce as TabsList,
853
+ fe as TabsPanel,
854
+ ne as TabsRoot,
855
+ me as TabsTab,
856
+ ie as Toggle,
857
+ aa as ToggleGroupItem,
858
+ ea as ToggleGroupRoot
831
859
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lglab/compose-ui",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "A collection of components built with Base UI & Tailwind CSS",
5
5
  "author": "LGLab",
6
6
  "license": "MIT",