@bestow-ui/react 0.6.0 → 0.7.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.
package/dist/index.js CHANGED
@@ -206,55 +206,83 @@ function usePortalClassName() {
206
206
  return usePortalProps().className;
207
207
  }
208
208
 
209
- // src/components/Badge/Badge.tsx
209
+ // src/components/Avatar/Avatar.tsx
210
+ import * as RadixAvatar from "@radix-ui/react-avatar";
211
+ import { UserIcon } from "@bestow-ui/icons";
210
212
  import { forwardRef as forwardRef2 } from "react";
211
213
 
212
- // src/components/Badge/Badge.css.ts
214
+ // src/components/Avatar/Avatar.css.ts
213
215
  import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
214
- var badge = _7a468({ defaultClassName: "_1295cfn4", variantClassNames: { variant: { solid: "_1295cfn5", soft: "_1295cfn6", outline: "_1295cfn7" }, color: { primary: "_1295cfn8", neutral: "_1295cfn9", danger: "_1295cfna", success: "_1295cfnb" }, size: { sm: "_1295cfnc", md: "_1295cfnd", lg: "_1295cfne" } }, defaultVariants: { variant: "soft", color: "neutral", size: "md" }, compoundVariants: [] });
216
+ var fallback = "_1fd2kp27";
217
+ var image = "_1fd2kp26";
218
+ var root2 = _7a468({ defaultClassName: "_1fd2kp20", variantClassNames: { size: { sm: "_1fd2kp21", md: "_1fd2kp22", lg: "_1fd2kp23" }, shape: { circle: "_1fd2kp24", square: "_1fd2kp25" } }, defaultVariants: { size: "md", shape: "circle" }, compoundVariants: [] });
219
+
220
+ // src/components/Avatar/Avatar.tsx
221
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
222
+ function getInitials(name) {
223
+ const [a = "", b = ""] = name.trim().split(/\s+/);
224
+ const first = (word) => Array.from(word)[0] ?? "";
225
+ return (first(a) + first(b)).toUpperCase();
226
+ }
227
+ var Avatar = forwardRef2(function Avatar2({ src, alt, name, fallback: fallback2, size, shape, className, ...rest }, ref) {
228
+ const label3 = alt ?? name;
229
+ const a11y = label3 ? { role: "img", "aria-label": label3 } : { "aria-hidden": true };
230
+ const initials = name ? getInitials(name) : "";
231
+ return /* @__PURE__ */ jsxs(RadixAvatar.Root, { ref, className: cx(root2({ size, shape }), className), ...a11y, ...rest, children: [
232
+ src && /* @__PURE__ */ jsx2(RadixAvatar.Image, { src, alt: "", className: image }),
233
+ /* @__PURE__ */ jsx2(RadixAvatar.Fallback, { className: fallback, children: fallback2 ?? (initials || /* @__PURE__ */ jsx2(UserIcon, { size: "60%" })) })
234
+ ] });
235
+ });
236
+
237
+ // src/components/Badge/Badge.tsx
238
+ import { forwardRef as forwardRef3 } from "react";
239
+
240
+ // src/components/Badge/Badge.css.ts
241
+ import { createRuntimeFn as _7a4682 } from "@vanilla-extract/recipes/createRuntimeFn";
242
+ var badge = _7a4682({ defaultClassName: "_1295cfn4", variantClassNames: { variant: { solid: "_1295cfn5", soft: "_1295cfn6", outline: "_1295cfn7" }, color: { primary: "_1295cfn8", neutral: "_1295cfn9", danger: "_1295cfna", success: "_1295cfnb" }, size: { sm: "_1295cfnc", md: "_1295cfnd", lg: "_1295cfne" } }, defaultVariants: { variant: "soft", color: "neutral", size: "md" }, compoundVariants: [] });
215
243
  var icon = "_1295cfnf";
216
244
 
217
245
  // src/components/Badge/Badge.tsx
218
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
219
- var Badge = forwardRef2(function Badge2({ variant, color, size, startIcon, className, children, ...rest }, ref) {
220
- return /* @__PURE__ */ jsxs("span", { ref, className: cx(badge({ variant, color, size }), className), ...rest, children: [
221
- startIcon && /* @__PURE__ */ jsx2("span", { className: icon, children: startIcon }),
246
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
247
+ var Badge = forwardRef3(function Badge2({ variant, color, size, startIcon, className, children, ...rest }, ref) {
248
+ return /* @__PURE__ */ jsxs2("span", { ref, className: cx(badge({ variant, color, size }), className), ...rest, children: [
249
+ startIcon && /* @__PURE__ */ jsx3("span", { className: icon, children: startIcon }),
222
250
  children
223
251
  ] });
224
252
  });
225
253
 
226
254
  // src/components/Button/Button.tsx
227
- import { forwardRef as forwardRef4 } from "react";
255
+ import { forwardRef as forwardRef5 } from "react";
228
256
 
229
257
  // src/components/Spinner/Spinner.tsx
230
258
  import { LoaderIcon } from "@bestow-ui/icons";
231
- import { forwardRef as forwardRef3 } from "react";
259
+ import { forwardRef as forwardRef4 } from "react";
232
260
 
233
261
  // src/styles/visuallyHidden.css.ts
234
262
  var visuallyHidden = "_1kdtbw10";
235
263
 
236
264
  // src/components/Spinner/Spinner.css.ts
237
- import { createRuntimeFn as _7a4682 } from "@vanilla-extract/recipes/createRuntimeFn";
238
- var spinner = _7a4682({ defaultClassName: "_4b5tg40", variantClassNames: { color: { current: "_4b5tg41", primary: "_4b5tg42", neutral: "_4b5tg43", danger: "_4b5tg44" }, size: { sm: "_4b5tg45", md: "_4b5tg46", lg: "_4b5tg47" } }, defaultVariants: { color: "current", size: "md" }, compoundVariants: [] });
265
+ import { createRuntimeFn as _7a4683 } from "@vanilla-extract/recipes/createRuntimeFn";
266
+ var spinner = _7a4683({ defaultClassName: "_4b5tg40", variantClassNames: { color: { current: "_4b5tg41", primary: "_4b5tg42", neutral: "_4b5tg43", danger: "_4b5tg44" }, size: { sm: "_4b5tg45", md: "_4b5tg46", lg: "_4b5tg47" } }, defaultVariants: { color: "current", size: "md" }, compoundVariants: [] });
239
267
 
240
268
  // src/components/Spinner/Spinner.tsx
241
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
242
- var Spinner = forwardRef3(function Spinner2({ size, color, label: label3 = "\uB85C\uB529 \uC911", className, ...rest }, ref) {
269
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
270
+ var Spinner = forwardRef4(function Spinner2({ size, color, label: label3 = "\uB85C\uB529 \uC911", className, ...rest }, ref) {
243
271
  const a11y = label3 ? { role: "status" } : { "aria-hidden": true };
244
- return /* @__PURE__ */ jsxs2("span", { ref, className: cx(spinner({ size, color }), className), ...a11y, ...rest, children: [
245
- /* @__PURE__ */ jsx3(LoaderIcon, { size: "100%" }),
246
- label3 && /* @__PURE__ */ jsx3("span", { className: visuallyHidden, children: label3 })
272
+ return /* @__PURE__ */ jsxs3("span", { ref, className: cx(spinner({ size, color }), className), ...a11y, ...rest, children: [
273
+ /* @__PURE__ */ jsx4(LoaderIcon, { size: "100%" }),
274
+ label3 && /* @__PURE__ */ jsx4("span", { className: visuallyHidden, children: label3 })
247
275
  ] });
248
276
  });
249
277
 
250
278
  // src/components/Button/Button.css.ts
251
- import { createRuntimeFn as _7a4683 } from "@vanilla-extract/recipes/createRuntimeFn";
252
- var button = _7a4683({ defaultClassName: "xcekda6", variantClassNames: { variant: { solid: "xcekda7", soft: "xcekda8", outline: "xcekda9", ghost: "xcekdaa" }, color: { primary: "xcekdab", neutral: "xcekdac", danger: "xcekdad" }, size: { sm: "xcekdae", md: "xcekdaf", lg: "xcekdag" }, fullWidth: { true: "xcekdah" } }, defaultVariants: { variant: "solid", color: "primary", size: "md" }, compoundVariants: [] });
279
+ import { createRuntimeFn as _7a4684 } from "@vanilla-extract/recipes/createRuntimeFn";
280
+ var button = _7a4684({ defaultClassName: "xcekda6", variantClassNames: { variant: { solid: "xcekda7", soft: "xcekda8", outline: "xcekda9", ghost: "xcekdaa" }, color: { primary: "xcekdab", neutral: "xcekdac", danger: "xcekdad" }, size: { sm: "xcekdae", md: "xcekdaf", lg: "xcekdag" }, fullWidth: { true: "xcekdah" } }, defaultVariants: { variant: "solid", color: "primary", size: "md" }, compoundVariants: [] });
253
281
  var icon2 = "xcekdai";
254
282
 
255
283
  // src/components/Button/Button.tsx
256
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
257
- var Button = forwardRef4(function Button2({ variant, color, size, fullWidth, startIcon, endIcon, loading, className, type = "button", onClick, children, ...rest }, ref) {
284
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
285
+ var Button = forwardRef5(function Button2({ variant, color, size, fullWidth, startIcon, endIcon, loading, className, type = "button", onClick, children, ...rest }, ref) {
258
286
  const handleClick = (event) => {
259
287
  if (loading) {
260
288
  event.preventDefault();
@@ -262,8 +290,8 @@ var Button = forwardRef4(function Button2({ variant, color, size, fullWidth, sta
262
290
  }
263
291
  onClick?.(event);
264
292
  };
265
- const leading = loading ? /* @__PURE__ */ jsx4(Spinner, { size: "sm", label: "" }) : startIcon;
266
- return /* @__PURE__ */ jsxs3(
293
+ const leading = loading ? /* @__PURE__ */ jsx5(Spinner, { size: "sm", label: "" }) : startIcon;
294
+ return /* @__PURE__ */ jsxs4(
267
295
  "button",
268
296
  {
269
297
  ref,
@@ -274,41 +302,41 @@ var Button = forwardRef4(function Button2({ variant, color, size, fullWidth, sta
274
302
  onClick: handleClick,
275
303
  ...rest,
276
304
  children: [
277
- leading && /* @__PURE__ */ jsx4("span", { className: icon2, children: leading }),
305
+ leading && /* @__PURE__ */ jsx5("span", { className: icon2, children: leading }),
278
306
  children,
279
- endIcon && /* @__PURE__ */ jsx4("span", { className: icon2, children: endIcon })
307
+ endIcon && /* @__PURE__ */ jsx5("span", { className: icon2, children: endIcon })
280
308
  ]
281
309
  }
282
310
  );
283
311
  });
284
312
 
285
313
  // src/components/Card/Card.tsx
286
- import { forwardRef as forwardRef5 } from "react";
314
+ import { forwardRef as forwardRef6 } from "react";
287
315
 
288
316
  // src/components/Card/Card.css.ts
289
- import { createRuntimeFn as _7a4684 } from "@vanilla-extract/recipes/createRuntimeFn";
317
+ import { createRuntimeFn as _7a4685 } from "@vanilla-extract/recipes/createRuntimeFn";
290
318
  var body = "dnuf1u9";
291
- var card = _7a4684({ defaultClassName: "dnuf1u0", variantClassNames: { variant: { outline: "dnuf1u1", elevated: "dnuf1u2", soft: "dnuf1u3" }, padding: { none: "dnuf1u4", sm: "dnuf1u5", md: "dnuf1u6", lg: "dnuf1u7" } }, defaultVariants: { variant: "outline", padding: "md" }, compoundVariants: [] });
319
+ var card = _7a4685({ defaultClassName: "dnuf1u0", variantClassNames: { variant: { outline: "dnuf1u1", elevated: "dnuf1u2", soft: "dnuf1u3" }, padding: { none: "dnuf1u4", sm: "dnuf1u5", md: "dnuf1u6", lg: "dnuf1u7" } }, defaultVariants: { variant: "outline", padding: "md" }, compoundVariants: [] });
292
320
  var footer = "dnuf1ua";
293
321
  var header = "dnuf1u8";
294
322
 
295
323
  // src/components/Card/Card.tsx
296
- import { jsx as jsx5 } from "react/jsx-runtime";
297
- var Card = forwardRef5(function Card2({ variant, padding, as: Component = "div", className, ...rest }, ref) {
298
- return /* @__PURE__ */ jsx5(Component, { ref, className: cx(card({ variant, padding }), className), ...rest });
324
+ import { jsx as jsx6 } from "react/jsx-runtime";
325
+ var Card = forwardRef6(function Card2({ variant, padding, as: Component = "div", className, ...rest }, ref) {
326
+ return /* @__PURE__ */ jsx6(Component, { ref, className: cx(card({ variant, padding }), className), ...rest });
299
327
  });
300
- var CardHeader = forwardRef5(function CardHeader2({ className, ...rest }, ref) {
301
- return /* @__PURE__ */ jsx5("div", { ref, className: cx(header, className), ...rest });
328
+ var CardHeader = forwardRef6(function CardHeader2({ className, ...rest }, ref) {
329
+ return /* @__PURE__ */ jsx6("div", { ref, className: cx(header, className), ...rest });
302
330
  });
303
- var CardBody = forwardRef5(function CardBody2({ className, ...rest }, ref) {
304
- return /* @__PURE__ */ jsx5("div", { ref, className: cx(body, className), ...rest });
331
+ var CardBody = forwardRef6(function CardBody2({ className, ...rest }, ref) {
332
+ return /* @__PURE__ */ jsx6("div", { ref, className: cx(body, className), ...rest });
305
333
  });
306
- var CardFooter = forwardRef5(function CardFooter2({ className, ...rest }, ref) {
307
- return /* @__PURE__ */ jsx5("div", { ref, className: cx(footer, className), ...rest });
334
+ var CardFooter = forwardRef6(function CardFooter2({ className, ...rest }, ref) {
335
+ return /* @__PURE__ */ jsx6("div", { ref, className: cx(footer, className), ...rest });
308
336
  });
309
337
 
310
338
  // src/components/Checkbox/Checkbox.tsx
311
- import { forwardRef as forwardRef6, useEffect, useRef } from "react";
339
+ import { forwardRef as forwardRef7, useEffect, useRef } from "react";
312
340
 
313
341
  // src/utils/mergeRefs.ts
314
342
  function mergeRefs(...refs) {
@@ -321,23 +349,23 @@ function mergeRefs(...refs) {
321
349
  }
322
350
 
323
351
  // src/components/Checkbox/Checkbox.css.ts
324
- import { createRuntimeFn as _7a4685 } from "@vanilla-extract/recipes/createRuntimeFn";
352
+ import { createRuntimeFn as _7a4686 } from "@vanilla-extract/recipes/createRuntimeFn";
325
353
  var checkIcon = "_1y7mzsn8 _1y7mzsn7";
326
- var control = _7a4685({ defaultClassName: "_1y7mzsn3", variantClassNames: { size: { sm: "_1y7mzsn4", md: "_1y7mzsn5" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
354
+ var control = _7a4686({ defaultClassName: "_1y7mzsn3", variantClassNames: { size: { sm: "_1y7mzsn4", md: "_1y7mzsn5" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
327
355
  var indeterminateIcon = "_1y7mzsn9 _1y7mzsn7";
328
356
  var input = "_1y7mzsn6";
329
- var root2 = _7a4685({ defaultClassName: "_1y7mzsn0", variantClassNames: { size: { sm: "_1y7mzsn1", md: "_1y7mzsn2" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
357
+ var root3 = _7a4686({ defaultClassName: "_1y7mzsn0", variantClassNames: { size: { sm: "_1y7mzsn1", md: "_1y7mzsn2" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
330
358
 
331
359
  // src/components/Checkbox/Checkbox.tsx
332
- import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
333
- var Checkbox = forwardRef6(function Checkbox2({ label: label3, size, indeterminate = false, invalid, disabled, className, ...rest }, ref) {
360
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
361
+ var Checkbox = forwardRef7(function Checkbox2({ label: label3, size, indeterminate = false, invalid, disabled, className, ...rest }, ref) {
334
362
  const innerRef = useRef(null);
335
363
  useEffect(() => {
336
364
  if (innerRef.current) innerRef.current.indeterminate = indeterminate;
337
365
  }, [indeterminate]);
338
- return /* @__PURE__ */ jsxs4("label", { className: cx(root2({ size }), className), "data-disabled": disabled || void 0, children: [
339
- /* @__PURE__ */ jsxs4("span", { className: control({ size }), children: [
340
- /* @__PURE__ */ jsx6(
366
+ return /* @__PURE__ */ jsxs5("label", { className: cx(root3({ size }), className), "data-disabled": disabled || void 0, children: [
367
+ /* @__PURE__ */ jsxs5("span", { className: control({ size }), children: [
368
+ /* @__PURE__ */ jsx7(
341
369
  "input",
342
370
  {
343
371
  ref: mergeRefs(innerRef, ref),
@@ -348,39 +376,62 @@ var Checkbox = forwardRef6(function Checkbox2({ label: label3, size, indetermina
348
376
  ...rest
349
377
  }
350
378
  ),
351
- /* @__PURE__ */ jsx6("svg", { className: checkIcon, viewBox: "0 0 20 20", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsx6("path", { d: "M5 10.5l3.2 3L15 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }),
352
- /* @__PURE__ */ jsx6("svg", { className: indeterminateIcon, viewBox: "0 0 20 20", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsx6("path", { d: "M6 10h8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) })
379
+ /* @__PURE__ */ jsx7("svg", { className: checkIcon, viewBox: "0 0 20 20", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsx7("path", { d: "M5 10.5l3.2 3L15 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }),
380
+ /* @__PURE__ */ jsx7("svg", { className: indeterminateIcon, viewBox: "0 0 20 20", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsx7("path", { d: "M6 10h8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) })
353
381
  ] }),
354
382
  label3
355
383
  ] });
356
384
  });
357
385
 
386
+ // src/components/Divider/Divider.tsx
387
+ import { forwardRef as forwardRef8 } from "react";
388
+
389
+ // src/components/Divider/Divider.css.ts
390
+ import { createRuntimeFn as _7a4687 } from "@vanilla-extract/recipes/createRuntimeFn";
391
+ var divider = _7a4687({ defaultClassName: "_1t3gq8v0", variantClassNames: { orientation: { horizontal: "_1t3gq8v1", vertical: "_1t3gq8v2" } }, defaultVariants: { orientation: "horizontal" }, compoundVariants: [] });
392
+ var labeled = "_1t3gq8v3";
393
+ var line = "_1t3gq8v4";
394
+
395
+ // src/components/Divider/Divider.tsx
396
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
397
+ var Divider = forwardRef8(function Divider2({ orientation = "horizontal", decorative, className, children, ...rest }, ref) {
398
+ if (children && orientation === "horizontal") {
399
+ return /* @__PURE__ */ jsxs6("div", { ref, className: cx(labeled, className), ...rest, children: [
400
+ /* @__PURE__ */ jsx8("span", { className: line, "aria-hidden": true }),
401
+ children,
402
+ /* @__PURE__ */ jsx8("span", { className: line, "aria-hidden": true })
403
+ ] });
404
+ }
405
+ const a11y = decorative ? { role: "none" } : { role: "separator", "aria-orientation": orientation === "vertical" ? "vertical" : void 0 };
406
+ return /* @__PURE__ */ jsx8("div", { ref, className: cx(divider({ orientation }), className), ...a11y, ...rest });
407
+ });
408
+
358
409
  // src/components/Input/Input.tsx
359
- import { forwardRef as forwardRef7 } from "react";
410
+ import { forwardRef as forwardRef9 } from "react";
360
411
 
361
412
  // src/components/Input/Input.css.ts
362
- import { createRuntimeFn as _7a4686 } from "@vanilla-extract/recipes/createRuntimeFn";
413
+ import { createRuntimeFn as _7a4688 } from "@vanilla-extract/recipes/createRuntimeFn";
363
414
  var adornment = "_19p5zvh6";
364
415
  var field = "_19p5zvh7";
365
416
  var fieldFullWidth = "_19p5zvh8";
366
- var helperText = _7a4686({ defaultClassName: "_19p5zvhb", variantClassNames: { error: { true: "_19p5zvhc" } }, defaultVariants: {}, compoundVariants: [] });
417
+ var helperText = _7a4688({ defaultClassName: "_19p5zvhb", variantClassNames: { error: { true: "_19p5zvhc" } }, defaultVariants: {}, compoundVariants: [] });
367
418
  var input2 = "_19p5zvh5";
368
419
  var label = "_19p5zvh9";
369
420
  var requiredMark = "_19p5zvha";
370
- var root3 = _7a4686({ defaultClassName: "_19p5zvh0", variantClassNames: { size: { sm: "_19p5zvh1", md: "_19p5zvh2", lg: "_19p5zvh3" }, fullWidth: { true: "_19p5zvh4" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
421
+ var root4 = _7a4688({ defaultClassName: "_19p5zvh0", variantClassNames: { size: { sm: "_19p5zvh1", md: "_19p5zvh2", lg: "_19p5zvh3" }, fullWidth: { true: "_19p5zvh4" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
371
422
 
372
423
  // src/components/Input/Input.tsx
373
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
374
- var Input = forwardRef7(function Input2({ size, invalid, fullWidth, startAdornment, endAdornment, rootClassName, className, disabled, ...rest }, ref) {
375
- return /* @__PURE__ */ jsxs5(
424
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
425
+ var Input = forwardRef9(function Input2({ size, invalid, fullWidth, startAdornment, endAdornment, rootClassName, className, disabled, ...rest }, ref) {
426
+ return /* @__PURE__ */ jsxs7(
376
427
  "div",
377
428
  {
378
- className: cx(root3({ size, fullWidth }), rootClassName),
429
+ className: cx(root4({ size, fullWidth }), rootClassName),
379
430
  "data-invalid": invalid || void 0,
380
431
  "data-disabled": disabled || void 0,
381
432
  children: [
382
- startAdornment && /* @__PURE__ */ jsx7("span", { className: adornment, children: startAdornment }),
383
- /* @__PURE__ */ jsx7(
433
+ startAdornment && /* @__PURE__ */ jsx9("span", { className: adornment, children: startAdornment }),
434
+ /* @__PURE__ */ jsx9(
384
435
  "input",
385
436
  {
386
437
  ref,
@@ -390,25 +441,25 @@ var Input = forwardRef7(function Input2({ size, invalid, fullWidth, startAdornme
390
441
  ...rest
391
442
  }
392
443
  ),
393
- endAdornment && /* @__PURE__ */ jsx7("span", { className: adornment, children: endAdornment })
444
+ endAdornment && /* @__PURE__ */ jsx9("span", { className: adornment, children: endAdornment })
394
445
  ]
395
446
  }
396
447
  );
397
448
  });
398
449
 
399
450
  // src/components/Input/TextField.tsx
400
- import { forwardRef as forwardRef8, useId } from "react";
401
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
402
- var TextField = forwardRef8(function TextField2({ label: label3, helperText: helperText2, error, required, fullWidth, id, "aria-describedby": ariaDescribedBy, ...rest }, ref) {
451
+ import { forwardRef as forwardRef10, useId } from "react";
452
+ import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
453
+ var TextField = forwardRef10(function TextField2({ label: label3, helperText: helperText2, error, required, fullWidth, id, "aria-describedby": ariaDescribedBy, ...rest }, ref) {
403
454
  const generatedId = useId();
404
455
  const inputId = id ?? generatedId;
405
456
  const helperId = helperText2 ? `${inputId}-helper` : void 0;
406
- return /* @__PURE__ */ jsxs6("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
407
- label3 && /* @__PURE__ */ jsxs6("label", { htmlFor: inputId, className: label, children: [
457
+ return /* @__PURE__ */ jsxs8("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
458
+ label3 && /* @__PURE__ */ jsxs8("label", { htmlFor: inputId, className: label, children: [
408
459
  label3,
409
- required && /* @__PURE__ */ jsx8("span", { className: requiredMark, "aria-hidden": true, children: "*" })
460
+ required && /* @__PURE__ */ jsx10("span", { className: requiredMark, "aria-hidden": true, children: "*" })
410
461
  ] }),
411
- /* @__PURE__ */ jsx8(
462
+ /* @__PURE__ */ jsx10(
412
463
  Input,
413
464
  {
414
465
  ref,
@@ -420,7 +471,7 @@ var TextField = forwardRef8(function TextField2({ label: label3, helperText: hel
420
471
  ...rest
421
472
  }
422
473
  ),
423
- helperText2 && /* @__PURE__ */ jsx8("p", { id: helperId, className: helperText({ error }), children: helperText2 })
474
+ helperText2 && /* @__PURE__ */ jsx10("p", { id: helperId, className: helperText({ error }), children: helperText2 })
424
475
  ] });
425
476
  });
426
477
 
@@ -429,10 +480,10 @@ import * as Dialog from "@radix-ui/react-dialog";
429
480
  import { XIcon } from "@bestow-ui/icons";
430
481
 
431
482
  // src/components/Modal/Modal.css.ts
432
- import { createRuntimeFn as _7a4687 } from "@vanilla-extract/recipes/createRuntimeFn";
483
+ import { createRuntimeFn as _7a4689 } from "@vanilla-extract/recipes/createRuntimeFn";
433
484
  var body2 = "_1pdsmv0a";
434
485
  var closeButton = "_1pdsmv09";
435
- var content = _7a4687({ defaultClassName: "_1pdsmv01", variantClassNames: { size: { sm: "_1pdsmv02", md: "_1pdsmv03", lg: "_1pdsmv04" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
486
+ var content = _7a4689({ defaultClassName: "_1pdsmv01", variantClassNames: { size: { sm: "_1pdsmv02", md: "_1pdsmv03", lg: "_1pdsmv04" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
436
487
  var description = "_1pdsmv08";
437
488
  var footer2 = "_1pdsmv0b";
438
489
  var header2 = "_1pdsmv05";
@@ -441,7 +492,7 @@ var overlay = "_1pdsmv00";
441
492
  var title = "_1pdsmv07";
442
493
 
443
494
  // src/components/Modal/Modal.tsx
444
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
495
+ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
445
496
  function Modal({
446
497
  open,
447
498
  defaultOpen,
@@ -457,11 +508,11 @@ function Modal({
457
508
  className
458
509
  }) {
459
510
  const portal2 = usePortalProps();
460
- return /* @__PURE__ */ jsxs7(Dialog.Root, { open, defaultOpen, onOpenChange, children: [
461
- trigger2 && /* @__PURE__ */ jsx9(Dialog.Trigger, { asChild: true, children: trigger2 }),
462
- /* @__PURE__ */ jsxs7(Dialog.Portal, { children: [
463
- /* @__PURE__ */ jsx9(Dialog.Overlay, { className: cx(portal2.className, overlay), style: portal2.style }),
464
- /* @__PURE__ */ jsxs7(
511
+ return /* @__PURE__ */ jsxs9(Dialog.Root, { open, defaultOpen, onOpenChange, children: [
512
+ trigger2 && /* @__PURE__ */ jsx11(Dialog.Trigger, { asChild: true, children: trigger2 }),
513
+ /* @__PURE__ */ jsxs9(Dialog.Portal, { children: [
514
+ /* @__PURE__ */ jsx11(Dialog.Overlay, { className: cx(portal2.className, overlay), style: portal2.style }),
515
+ /* @__PURE__ */ jsxs9(
465
516
  Dialog.Content,
466
517
  {
467
518
  className: cx(portal2.className, content({ size }), className),
@@ -469,15 +520,15 @@ function Modal({
469
520
  onPointerDownOutside: closeOnOverlayClick ? void 0 : (event) => event.preventDefault(),
470
521
  ...description4 ? {} : { "aria-describedby": void 0 },
471
522
  children: [
472
- /* @__PURE__ */ jsxs7("div", { className: header2, children: [
473
- /* @__PURE__ */ jsxs7("div", { className: headings, children: [
474
- /* @__PURE__ */ jsx9(Dialog.Title, { className: title, children: title3 }),
475
- description4 && /* @__PURE__ */ jsx9(Dialog.Description, { className: description, children: description4 })
523
+ /* @__PURE__ */ jsxs9("div", { className: header2, children: [
524
+ /* @__PURE__ */ jsxs9("div", { className: headings, children: [
525
+ /* @__PURE__ */ jsx11(Dialog.Title, { className: title, children: title3 }),
526
+ description4 && /* @__PURE__ */ jsx11(Dialog.Description, { className: description, children: description4 })
476
527
  ] }),
477
- !hideCloseButton && /* @__PURE__ */ jsx9(Dialog.Close, { className: closeButton, "aria-label": "\uB2EB\uAE30", children: /* @__PURE__ */ jsx9(XIcon, { size: 16 }) })
528
+ !hideCloseButton && /* @__PURE__ */ jsx11(Dialog.Close, { className: closeButton, "aria-label": "\uB2EB\uAE30", children: /* @__PURE__ */ jsx11(XIcon, { size: 16 }) })
478
529
  ] }),
479
- children && /* @__PURE__ */ jsx9("div", { className: body2, children }),
480
- footer4 && /* @__PURE__ */ jsx9("div", { className: footer2, children: footer4 })
530
+ children && /* @__PURE__ */ jsx11("div", { className: body2, children }),
531
+ footer4 && /* @__PURE__ */ jsx11("div", { className: footer2, children: footer4 })
481
532
  ]
482
533
  }
483
534
  )
@@ -488,22 +539,22 @@ var ModalClose = Dialog.Close;
488
539
 
489
540
  // src/components/RadioGroup/RadioGroup.tsx
490
541
  import * as RadixRadioGroup from "@radix-ui/react-radio-group";
491
- import { forwardRef as forwardRef9, useId as useId2 } from "react";
542
+ import { forwardRef as forwardRef11, useId as useId2 } from "react";
492
543
 
493
544
  // src/components/RadioGroup/RadioGroup.css.ts
494
- import { createRuntimeFn as _7a4688 } from "@vanilla-extract/recipes/createRuntimeFn";
545
+ import { createRuntimeFn as _7a46810 } from "@vanilla-extract/recipes/createRuntimeFn";
495
546
  var description2 = "_1w9iwjmd";
496
547
  var groupLabel = "_1w9iwjme";
497
548
  var indicator = "_1w9iwjma";
498
- var items = _7a4688({ defaultClassName: "_1w9iwjm0", variantClassNames: { orientation: { vertical: "_1w9iwjm1", horizontal: "_1w9iwjm2" } }, defaultVariants: { orientation: "vertical" }, compoundVariants: [] });
549
+ var items = _7a46810({ defaultClassName: "_1w9iwjm0", variantClassNames: { orientation: { vertical: "_1w9iwjm1", horizontal: "_1w9iwjm2" } }, defaultVariants: { orientation: "vertical" }, compoundVariants: [] });
499
550
  var labelText = "_1w9iwjmc";
500
- var option = _7a4688({ defaultClassName: "_1w9iwjm3", variantClassNames: { size: { sm: "_1w9iwjm4", md: "_1w9iwjm5" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
501
- var radio = _7a4688({ defaultClassName: "_1w9iwjm7", variantClassNames: { size: { sm: "_1w9iwjm8", md: "_1w9iwjm9" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
551
+ var option = _7a46810({ defaultClassName: "_1w9iwjm3", variantClassNames: { size: { sm: "_1w9iwjm4", md: "_1w9iwjm5" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
552
+ var radio = _7a46810({ defaultClassName: "_1w9iwjm7", variantClassNames: { size: { sm: "_1w9iwjm8", md: "_1w9iwjm9" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
502
553
  var text = "_1w9iwjmb";
503
554
 
504
555
  // src/components/RadioGroup/RadioGroup.tsx
505
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
506
- var RadioGroup = forwardRef9(function RadioGroup2(props, ref) {
556
+ import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
557
+ var RadioGroup = forwardRef11(function RadioGroup2(props, ref) {
507
558
  const {
508
559
  options,
509
560
  value: value2,
@@ -526,12 +577,12 @@ var RadioGroup = forwardRef9(function RadioGroup2(props, ref) {
526
577
  const baseId = id ?? generatedId;
527
578
  const labelId = label3 ? `${baseId}-label` : void 0;
528
579
  const helperId = helperText2 ? `${baseId}-helper` : void 0;
529
- return /* @__PURE__ */ jsxs8("div", { className: cx(field, className), children: [
530
- label3 && /* @__PURE__ */ jsxs8("span", { id: labelId, className: cx(label, groupLabel), children: [
580
+ return /* @__PURE__ */ jsxs10("div", { className: cx(field, className), children: [
581
+ label3 && /* @__PURE__ */ jsxs10("span", { id: labelId, className: cx(label, groupLabel), children: [
531
582
  label3,
532
- required && /* @__PURE__ */ jsx10("span", { className: requiredMark, "aria-hidden": true, children: "*" })
583
+ required && /* @__PURE__ */ jsx12("span", { className: requiredMark, "aria-hidden": true, children: "*" })
533
584
  ] }),
534
- /* @__PURE__ */ jsx10(
585
+ /* @__PURE__ */ jsx12(
535
586
  RadixRadioGroup.Root,
536
587
  {
537
588
  ref,
@@ -552,8 +603,8 @@ var RadioGroup = forwardRef9(function RadioGroup2(props, ref) {
552
603
  const itemId = `${baseId}-${option2.value}`;
553
604
  const descriptionId = option2.description ? `${itemId}-description` : void 0;
554
605
  const itemDisabled = disabled || option2.disabled;
555
- return /* @__PURE__ */ jsxs8("div", { className: option({ size }), "data-disabled": itemDisabled || void 0, children: [
556
- /* @__PURE__ */ jsx10(
606
+ return /* @__PURE__ */ jsxs10("div", { className: option({ size }), "data-disabled": itemDisabled || void 0, children: [
607
+ /* @__PURE__ */ jsx12(
557
608
  RadixRadioGroup.Item,
558
609
  {
559
610
  id: itemId,
@@ -561,24 +612,24 @@ var RadioGroup = forwardRef9(function RadioGroup2(props, ref) {
561
612
  disabled: option2.disabled,
562
613
  "aria-describedby": descriptionId,
563
614
  className: radio({ size }),
564
- children: /* @__PURE__ */ jsx10(RadixRadioGroup.Indicator, { className: indicator })
615
+ children: /* @__PURE__ */ jsx12(RadixRadioGroup.Indicator, { className: indicator })
565
616
  }
566
617
  ),
567
- /* @__PURE__ */ jsxs8("span", { className: text, children: [
568
- /* @__PURE__ */ jsx10("label", { htmlFor: itemId, className: labelText, children: option2.label }),
569
- option2.description && /* @__PURE__ */ jsx10("span", { id: descriptionId, className: description2, children: option2.description })
618
+ /* @__PURE__ */ jsxs10("span", { className: text, children: [
619
+ /* @__PURE__ */ jsx12("label", { htmlFor: itemId, className: labelText, children: option2.label }),
620
+ option2.description && /* @__PURE__ */ jsx12("span", { id: descriptionId, className: description2, children: option2.description })
570
621
  ] })
571
622
  ] }, option2.value);
572
623
  })
573
624
  }
574
625
  ),
575
- helperText2 && /* @__PURE__ */ jsx10("p", { id: helperId, className: helperText({ error }), children: helperText2 })
626
+ helperText2 && /* @__PURE__ */ jsx12("p", { id: helperId, className: helperText({ error }), children: helperText2 })
576
627
  ] });
577
628
  });
578
629
 
579
630
  // src/components/Select/Select.tsx
580
631
  import * as RadixSelect from "@radix-ui/react-select";
581
- import { forwardRef as forwardRef10, useId as useId3 } from "react";
632
+ import { forwardRef as forwardRef12, useId as useId3 } from "react";
582
633
  import { CheckIcon, ChevronDownIcon } from "@bestow-ui/icons";
583
634
 
584
635
  // src/components/Select/Select.css.ts
@@ -591,8 +642,8 @@ var value = "_1kx81e81";
591
642
  var viewport = "_1kx81e84";
592
643
 
593
644
  // src/components/Select/Select.tsx
594
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
595
- var Select = forwardRef10(function Select2(props, ref) {
645
+ import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
646
+ var Select = forwardRef12(function Select2(props, ref) {
596
647
  const {
597
648
  options,
598
649
  value: value2,
@@ -616,12 +667,12 @@ var Select = forwardRef10(function Select2(props, ref) {
616
667
  const triggerId = id ?? generatedId;
617
668
  const helperId = helperText2 ? `${triggerId}-helper` : void 0;
618
669
  const portal2 = usePortalProps();
619
- return /* @__PURE__ */ jsxs9("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
620
- label3 && /* @__PURE__ */ jsxs9("label", { htmlFor: triggerId, className: label, children: [
670
+ return /* @__PURE__ */ jsxs11("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
671
+ label3 && /* @__PURE__ */ jsxs11("label", { htmlFor: triggerId, className: label, children: [
621
672
  label3,
622
- required && /* @__PURE__ */ jsx11("span", { className: requiredMark, "aria-hidden": true, children: "*" })
673
+ required && /* @__PURE__ */ jsx13("span", { className: requiredMark, "aria-hidden": true, children: "*" })
623
674
  ] }),
624
- /* @__PURE__ */ jsxs9(
675
+ /* @__PURE__ */ jsxs11(
625
676
  RadixSelect.Root,
626
677
  {
627
678
  value: isControlled ? value2 ?? "" : void 0,
@@ -631,7 +682,7 @@ var Select = forwardRef10(function Select2(props, ref) {
631
682
  required,
632
683
  name,
633
684
  children: [
634
- /* @__PURE__ */ jsxs9(
685
+ /* @__PURE__ */ jsxs11(
635
686
  RadixSelect.Trigger,
636
687
  {
637
688
  ref,
@@ -640,14 +691,14 @@ var Select = forwardRef10(function Select2(props, ref) {
640
691
  "aria-invalid": error || void 0,
641
692
  "aria-describedby": helperId,
642
693
  "data-invalid": error || void 0,
643
- className: cx(root3({ size, fullWidth }), trigger, className),
694
+ className: cx(root4({ size, fullWidth }), trigger, className),
644
695
  children: [
645
- /* @__PURE__ */ jsx11("span", { className: value, children: /* @__PURE__ */ jsx11(RadixSelect.Value, { placeholder }) }),
646
- /* @__PURE__ */ jsx11(RadixSelect.Icon, { className: icon3, children: /* @__PURE__ */ jsx11(ChevronDownIcon, { size: 16 }) })
696
+ /* @__PURE__ */ jsx13("span", { className: value, children: /* @__PURE__ */ jsx13(RadixSelect.Value, { placeholder }) }),
697
+ /* @__PURE__ */ jsx13(RadixSelect.Icon, { className: icon3, children: /* @__PURE__ */ jsx13(ChevronDownIcon, { size: 16 }) })
647
698
  ]
648
699
  }
649
700
  ),
650
- /* @__PURE__ */ jsx11(RadixSelect.Portal, { children: /* @__PURE__ */ jsx11(
701
+ /* @__PURE__ */ jsx13(RadixSelect.Portal, { children: /* @__PURE__ */ jsx13(
651
702
  RadixSelect.Content,
652
703
  {
653
704
  position: "popper",
@@ -655,15 +706,15 @@ var Select = forwardRef10(function Select2(props, ref) {
655
706
  collisionPadding: 8,
656
707
  className: cx(portal2.className, content2),
657
708
  style: portal2.style,
658
- children: /* @__PURE__ */ jsx11(RadixSelect.Viewport, { className: viewport, children: options.map((option2) => /* @__PURE__ */ jsxs9(
709
+ children: /* @__PURE__ */ jsx13(RadixSelect.Viewport, { className: viewport, children: options.map((option2) => /* @__PURE__ */ jsxs11(
659
710
  RadixSelect.Item,
660
711
  {
661
712
  value: option2.value,
662
713
  disabled: option2.disabled,
663
714
  className: item,
664
715
  children: [
665
- /* @__PURE__ */ jsx11(RadixSelect.ItemText, { children: option2.label }),
666
- /* @__PURE__ */ jsx11(RadixSelect.ItemIndicator, { className: itemIndicator, children: /* @__PURE__ */ jsx11(CheckIcon, { size: 16 }) })
716
+ /* @__PURE__ */ jsx13(RadixSelect.ItemText, { children: option2.label }),
717
+ /* @__PURE__ */ jsx13(RadixSelect.ItemIndicator, { className: itemIndicator, children: /* @__PURE__ */ jsx13(CheckIcon, { size: 16 }) })
667
718
  ]
668
719
  },
669
720
  option2.value
@@ -673,21 +724,70 @@ var Select = forwardRef10(function Select2(props, ref) {
673
724
  ]
674
725
  }
675
726
  ),
676
- helperText2 && /* @__PURE__ */ jsx11("p", { id: helperId, className: helperText({ error }), children: helperText2 })
727
+ helperText2 && /* @__PURE__ */ jsx13("p", { id: helperId, className: helperText({ error }), children: helperText2 })
677
728
  ] });
678
729
  });
679
730
 
731
+ // src/components/Skeleton/Skeleton.tsx
732
+ import { assignInlineVars as assignInlineVars2 } from "@vanilla-extract/dynamic";
733
+ import { forwardRef as forwardRef13 } from "react";
734
+
735
+ // src/components/Skeleton/Skeleton.css.ts
736
+ import { createRuntimeFn as _7a46811 } from "@vanilla-extract/recipes/createRuntimeFn";
737
+ var height = "var(--_1s8datd1)";
738
+ var lines = "_1s8datd6";
739
+ var skeleton = _7a46811({ defaultClassName: "_1s8datd2", variantClassNames: { variant: { text: "_1s8datd3", rect: "_1s8datd4", circle: "_1s8datd5" } }, defaultVariants: { variant: "text" }, compoundVariants: [] });
740
+ var width = "var(--_1s8datd0)";
741
+
742
+ // src/components/Skeleton/Skeleton.tsx
743
+ import { jsx as jsx14 } from "react/jsx-runtime";
744
+ var toCss = (value2) => typeof value2 === "number" ? `${value2}px` : value2;
745
+ var Skeleton = forwardRef13(function Skeleton2({ variant = "text", width: width2, height: height2, lines: lines2 = 1, className, style, ...rest }, ref) {
746
+ const w = toCss(width2 ?? (variant === "circle" ? 40 : "100%"));
747
+ const h = toCss(height2 ?? (variant === "circle" ? w : variant === "rect" ? 100 : "1em"));
748
+ if (variant === "text" && lines2 > 1) {
749
+ return /* @__PURE__ */ jsx14(
750
+ "span",
751
+ {
752
+ ref,
753
+ "aria-hidden": true,
754
+ className: cx(lines, className),
755
+ style: { ...assignInlineVars2({ [width]: w }), ...style },
756
+ ...rest,
757
+ children: Array.from({ length: lines2 }, (_, i) => /* @__PURE__ */ jsx14(
758
+ "span",
759
+ {
760
+ className: skeleton({ variant }),
761
+ style: assignInlineVars2({ [width]: i === lines2 - 1 ? "60%" : "100%", [height]: h })
762
+ },
763
+ i
764
+ ))
765
+ }
766
+ );
767
+ }
768
+ return /* @__PURE__ */ jsx14(
769
+ "span",
770
+ {
771
+ ref,
772
+ "aria-hidden": true,
773
+ className: cx(skeleton({ variant }), className),
774
+ style: { ...assignInlineVars2({ [width]: w, [height]: h }), ...style },
775
+ ...rest
776
+ }
777
+ );
778
+ });
779
+
680
780
  // src/components/Stack/Stack.tsx
681
- import { forwardRef as forwardRef11 } from "react";
781
+ import { forwardRef as forwardRef14 } from "react";
682
782
 
683
783
  // src/components/Stack/Stack.css.ts
684
- import { createRuntimeFn as _7a4689 } from "@vanilla-extract/recipes/createRuntimeFn";
685
- var stack = _7a4689({ defaultClassName: "_1jz9hj90", variantClassNames: { direction: { row: "_1jz9hj91", column: "_1jz9hj92", "row-reverse": "_1jz9hj93", "column-reverse": "_1jz9hj94" }, gap: { "0": "_1jz9hj95", "1": "_1jz9hj96", "2": "_1jz9hj97", "3": "_1jz9hj98", "4": "_1jz9hj99", "5": "_1jz9hj9a", "6": "_1jz9hj9b", "8": "_1jz9hj9c", "10": "_1jz9hj9d", "12": "_1jz9hj9e", "16": "_1jz9hj9f" }, align: { start: "_1jz9hj9g", center: "_1jz9hj9h", end: "_1jz9hj9i", stretch: "_1jz9hj9j", baseline: "_1jz9hj9k" }, justify: { start: "_1jz9hj9l", center: "_1jz9hj9m", end: "_1jz9hj9n", between: "_1jz9hj9o", around: "_1jz9hj9p", evenly: "_1jz9hj9q" }, wrap: { true: "_1jz9hj9r" } }, defaultVariants: { direction: "column" }, compoundVariants: [] });
784
+ import { createRuntimeFn as _7a46812 } from "@vanilla-extract/recipes/createRuntimeFn";
785
+ var stack = _7a46812({ defaultClassName: "_1jz9hj90", variantClassNames: { direction: { row: "_1jz9hj91", column: "_1jz9hj92", "row-reverse": "_1jz9hj93", "column-reverse": "_1jz9hj94" }, gap: { "0": "_1jz9hj95", "1": "_1jz9hj96", "2": "_1jz9hj97", "3": "_1jz9hj98", "4": "_1jz9hj99", "5": "_1jz9hj9a", "6": "_1jz9hj9b", "8": "_1jz9hj9c", "10": "_1jz9hj9d", "12": "_1jz9hj9e", "16": "_1jz9hj9f" }, align: { start: "_1jz9hj9g", center: "_1jz9hj9h", end: "_1jz9hj9i", stretch: "_1jz9hj9j", baseline: "_1jz9hj9k" }, justify: { start: "_1jz9hj9l", center: "_1jz9hj9m", end: "_1jz9hj9n", between: "_1jz9hj9o", around: "_1jz9hj9p", evenly: "_1jz9hj9q" }, wrap: { true: "_1jz9hj9r" } }, defaultVariants: { direction: "column" }, compoundVariants: [] });
686
786
 
687
787
  // src/components/Stack/Stack.tsx
688
- import { jsx as jsx12 } from "react/jsx-runtime";
689
- var Stack = forwardRef11(function Stack2({ as: Component = "div", direction, gap, align, justify, wrap, className, ...rest }, ref) {
690
- return /* @__PURE__ */ jsx12(
788
+ import { jsx as jsx15 } from "react/jsx-runtime";
789
+ var Stack = forwardRef14(function Stack2({ as: Component = "div", direction, gap, align, justify, wrap, className, ...rest }, ref) {
790
+ return /* @__PURE__ */ jsx15(
691
791
  Component,
692
792
  {
693
793
  ref,
@@ -699,22 +799,22 @@ var Stack = forwardRef11(function Stack2({ as: Component = "div", direction, gap
699
799
 
700
800
  // src/components/Switch/Switch.tsx
701
801
  import * as RadixSwitch from "@radix-ui/react-switch";
702
- import { forwardRef as forwardRef12, useId as useId4 } from "react";
802
+ import { forwardRef as forwardRef15, useId as useId4 } from "react";
703
803
 
704
804
  // src/components/Switch/Switch.css.ts
705
- import { createRuntimeFn as _7a46810 } from "@vanilla-extract/recipes/createRuntimeFn";
805
+ import { createRuntimeFn as _7a46813 } from "@vanilla-extract/recipes/createRuntimeFn";
706
806
  var label2 = "o33ul29";
707
- var root4 = _7a46810({ defaultClassName: "o33ul20", variantClassNames: { size: { sm: "o33ul21", md: "o33ul22" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
708
- var thumb = _7a46810({ defaultClassName: "o33ul26", variantClassNames: { size: { sm: "o33ul27", md: "o33ul28" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
709
- var track = _7a46810({ defaultClassName: "o33ul23", variantClassNames: { size: { sm: "o33ul24", md: "o33ul25" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
807
+ var root5 = _7a46813({ defaultClassName: "o33ul20", variantClassNames: { size: { sm: "o33ul21", md: "o33ul22" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
808
+ var thumb = _7a46813({ defaultClassName: "o33ul26", variantClassNames: { size: { sm: "o33ul27", md: "o33ul28" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
809
+ var track = _7a46813({ defaultClassName: "o33ul23", variantClassNames: { size: { sm: "o33ul24", md: "o33ul25" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
710
810
 
711
811
  // src/components/Switch/Switch.tsx
712
- import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
713
- var Switch = forwardRef12(function Switch2({ label: label3, size, id, className, disabled, "aria-label": ariaLabel, ...rest }, ref) {
812
+ import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
813
+ var Switch = forwardRef15(function Switch2({ label: label3, size, id, className, disabled, "aria-label": ariaLabel, ...rest }, ref) {
714
814
  const generatedId = useId4();
715
815
  const switchId = id ?? generatedId;
716
- return /* @__PURE__ */ jsxs10("span", { className: cx(root4({ size }), className), "data-disabled": disabled || void 0, children: [
717
- /* @__PURE__ */ jsx13(
816
+ return /* @__PURE__ */ jsxs12("span", { className: cx(root5({ size }), className), "data-disabled": disabled || void 0, children: [
817
+ /* @__PURE__ */ jsx16(
718
818
  RadixSwitch.Root,
719
819
  {
720
820
  ref,
@@ -723,16 +823,16 @@ var Switch = forwardRef12(function Switch2({ label: label3, size, id, className,
723
823
  "aria-label": ariaLabel,
724
824
  className: track({ size }),
725
825
  ...rest,
726
- children: /* @__PURE__ */ jsx13(RadixSwitch.Thumb, { className: thumb({ size }) })
826
+ children: /* @__PURE__ */ jsx16(RadixSwitch.Thumb, { className: thumb({ size }) })
727
827
  }
728
828
  ),
729
- label3 && /* @__PURE__ */ jsx13("label", { htmlFor: switchId, className: label2, children: label3 })
829
+ label3 && /* @__PURE__ */ jsx16("label", { htmlFor: switchId, className: label2, children: label3 })
730
830
  ] });
731
831
  });
732
832
 
733
833
  // src/components/Textarea/Textarea.tsx
734
834
  import {
735
- forwardRef as forwardRef13,
835
+ forwardRef as forwardRef16,
736
836
  useCallback,
737
837
  useEffect as useEffect2,
738
838
  useId as useId5,
@@ -742,17 +842,17 @@ import {
742
842
  } from "react";
743
843
 
744
844
  // src/components/Textarea/Textarea.css.ts
745
- import { createRuntimeFn as _7a46811 } from "@vanilla-extract/recipes/createRuntimeFn";
845
+ import { createRuntimeFn as _7a46814 } from "@vanilla-extract/recipes/createRuntimeFn";
746
846
  var count = "_1koawa9";
747
847
  var countOver = "_1koawaa";
748
848
  var defaultWidth = "_1koawa7";
749
849
  var footer3 = "_1koawa8";
750
- var textarea = _7a46811({ defaultClassName: "_1koawa0", variantClassNames: { size: { sm: "_1koawa1", md: "_1koawa2", lg: "_1koawa3" }, resize: { none: "_1koawa4", vertical: "_1koawa5", both: "_1koawa6" } }, defaultVariants: { size: "md", resize: "vertical" }, compoundVariants: [] });
850
+ var textarea = _7a46814({ defaultClassName: "_1koawa0", variantClassNames: { size: { sm: "_1koawa1", md: "_1koawa2", lg: "_1koawa3" }, resize: { none: "_1koawa4", vertical: "_1koawa5", both: "_1koawa6" } }, defaultVariants: { size: "md", resize: "vertical" }, compoundVariants: [] });
751
851
 
752
852
  // src/components/Textarea/Textarea.tsx
753
- import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
853
+ import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
754
854
  var useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect2;
755
- var Textarea = forwardRef13(function Textarea2({
855
+ var Textarea = forwardRef16(function Textarea2({
756
856
  label: label3,
757
857
  helperText: helperText2,
758
858
  error,
@@ -792,12 +892,12 @@ var Textarea = forwardRef13(function Textarea2({
792
892
  fitHeight();
793
893
  onChange?.(event);
794
894
  };
795
- return /* @__PURE__ */ jsxs11("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
796
- label3 && /* @__PURE__ */ jsxs11("label", { htmlFor: textareaId, className: label, children: [
895
+ return /* @__PURE__ */ jsxs13("div", { className: cx(field, fullWidth && fieldFullWidth), children: [
896
+ label3 && /* @__PURE__ */ jsxs13("label", { htmlFor: textareaId, className: label, children: [
797
897
  label3,
798
- required && /* @__PURE__ */ jsx14("span", { className: requiredMark, "aria-hidden": true, children: "*" })
898
+ required && /* @__PURE__ */ jsx17("span", { className: requiredMark, "aria-hidden": true, children: "*" })
799
899
  ] }),
800
- /* @__PURE__ */ jsx14(
900
+ /* @__PURE__ */ jsx17(
801
901
  "textarea",
802
902
  {
803
903
  ref: mergeRefs(innerRef, ref),
@@ -819,9 +919,9 @@ var Textarea = forwardRef13(function Textarea2({
819
919
  ...rest
820
920
  }
821
921
  ),
822
- (helperText2 || showCount) && /* @__PURE__ */ jsxs11("div", { className: footer3, children: [
823
- helperText2 && /* @__PURE__ */ jsx14("p", { id: helperId, className: helperText({ error }), children: helperText2 }),
824
- showCount && /* @__PURE__ */ jsx14("span", { className: cx(count, maxLength !== void 0 && length >= maxLength && countOver), children: maxLength !== void 0 ? `${length}/${maxLength}` : length })
922
+ (helperText2 || showCount) && /* @__PURE__ */ jsxs13("div", { className: footer3, children: [
923
+ helperText2 && /* @__PURE__ */ jsx17("p", { id: helperId, className: helperText({ error }), children: helperText2 }),
924
+ showCount && /* @__PURE__ */ jsx17("span", { className: cx(count, maxLength !== void 0 && length >= maxLength && countOver), children: maxLength !== void 0 ? `${length}/${maxLength}` : length })
825
925
  ] })
826
926
  ] });
827
927
  });
@@ -832,16 +932,16 @@ import { createContext as createContext2, useCallback as useCallback2, useContex
832
932
  import { XIcon as XIcon2 } from "@bestow-ui/icons";
833
933
 
834
934
  // src/components/Toast/Toast.css.ts
835
- import { createRuntimeFn as _7a46812 } from "@vanilla-extract/recipes/createRuntimeFn";
935
+ import { createRuntimeFn as _7a46815 } from "@vanilla-extract/recipes/createRuntimeFn";
836
936
  var action = "_1g11zvx7";
837
937
  var close = "_1g11zvx8";
838
938
  var description3 = "_1g11zvx6";
839
939
  var title2 = "_1g11zvx5";
840
- var toast = _7a46812({ defaultClassName: "_1g11zvx1", variantClassNames: { variant: { "default": "_1g11zvx2", success: "_1g11zvx3", danger: "_1g11zvx4" } }, defaultVariants: { variant: "default" }, compoundVariants: [] });
940
+ var toast = _7a46815({ defaultClassName: "_1g11zvx1", variantClassNames: { variant: { "default": "_1g11zvx2", success: "_1g11zvx3", danger: "_1g11zvx4" } }, defaultVariants: { variant: "default" }, compoundVariants: [] });
841
941
  var viewport2 = "_1g11zvx0";
842
942
 
843
943
  // src/components/Toast/Toast.tsx
844
- import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
944
+ import { jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
845
945
  var REMOVE_DELAY = 500;
846
946
  var ToastContext = createContext2(null);
847
947
  function ToastProvider({ children, duration = 5e3, label: label3 = "\uC54C\uB9BC" }) {
@@ -859,9 +959,9 @@ function ToastProvider({ children, duration = 5e3, label: label3 = "\uC54C\uB9BC
859
959
  setTimeout(() => setToasts((prev) => prev.filter((t) => t.open || !isTarget(t))), REMOVE_DELAY);
860
960
  }, []);
861
961
  const value2 = useMemo2(() => ({ toast: toast2, dismiss }), [toast2, dismiss]);
862
- return /* @__PURE__ */ jsx15(ToastContext.Provider, { value: value2, children: /* @__PURE__ */ jsxs12(RadixToast.Provider, { duration, label: label3, swipeDirection: "right", children: [
962
+ return /* @__PURE__ */ jsx18(ToastContext.Provider, { value: value2, children: /* @__PURE__ */ jsxs14(RadixToast.Provider, { duration, label: label3, swipeDirection: "right", children: [
863
963
  children,
864
- toasts.map(({ id, open, title: title3, description: description4, variant, duration: itemDuration, action: action2 }) => /* @__PURE__ */ jsxs12(
964
+ toasts.map(({ id, open, title: title3, description: description4, variant, duration: itemDuration, action: action2 }) => /* @__PURE__ */ jsxs14(
865
965
  RadixToast.Root,
866
966
  {
867
967
  open,
@@ -871,15 +971,15 @@ function ToastProvider({ children, duration = 5e3, label: label3 = "\uC54C\uB9BC
871
971
  },
872
972
  className: toast({ variant }),
873
973
  children: [
874
- /* @__PURE__ */ jsx15(RadixToast.Title, { className: title2, children: title3 }),
875
- description4 && /* @__PURE__ */ jsx15(RadixToast.Description, { className: description3, children: description4 }),
876
- action2 && /* @__PURE__ */ jsx15(RadixToast.Action, { asChild: true, altText: action2.altText ?? action2.label, className: action, children: /* @__PURE__ */ jsx15(Button, { size: "sm", variant: "soft", color: "neutral", onClick: action2.onClick, children: action2.label }) }),
877
- /* @__PURE__ */ jsx15(RadixToast.Close, { className: close, "aria-label": "\uB2EB\uAE30", children: /* @__PURE__ */ jsx15(XIcon2, { size: 16 }) })
974
+ /* @__PURE__ */ jsx18(RadixToast.Title, { className: title2, children: title3 }),
975
+ description4 && /* @__PURE__ */ jsx18(RadixToast.Description, { className: description3, children: description4 }),
976
+ action2 && /* @__PURE__ */ jsx18(RadixToast.Action, { asChild: true, altText: action2.altText ?? action2.label, className: action, children: /* @__PURE__ */ jsx18(Button, { size: "sm", variant: "soft", color: "neutral", onClick: action2.onClick, children: action2.label }) }),
977
+ /* @__PURE__ */ jsx18(RadixToast.Close, { className: close, "aria-label": "\uB2EB\uAE30", children: /* @__PURE__ */ jsx18(XIcon2, { size: 16 }) })
878
978
  ]
879
979
  },
880
980
  id
881
981
  )),
882
- /* @__PURE__ */ jsx15(RadixToast.Viewport, { className: cx(portal2.className, viewport2), style: portal2.style })
982
+ /* @__PURE__ */ jsx18(RadixToast.Viewport, { className: cx(portal2.className, viewport2), style: portal2.style })
883
983
  ] }) });
884
984
  }
885
985
  function useToast() {
@@ -896,7 +996,7 @@ var arrow = "z7rufs1";
896
996
  var content3 = "z7rufs0";
897
997
 
898
998
  // src/components/Tooltip/Tooltip.tsx
899
- import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
999
+ import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
900
1000
  function Tooltip({
901
1001
  content: content4,
902
1002
  children,
@@ -911,9 +1011,9 @@ function Tooltip({
911
1011
  }) {
912
1012
  const portal2 = usePortalProps();
913
1013
  if (disabled || content4 == null || content4 === "") return children;
914
- return /* @__PURE__ */ jsx16(RadixTooltip.Provider, { delayDuration: delay, children: /* @__PURE__ */ jsxs13(RadixTooltip.Root, { open, defaultOpen, onOpenChange, children: [
915
- /* @__PURE__ */ jsx16(RadixTooltip.Trigger, { asChild: true, children }),
916
- /* @__PURE__ */ jsx16(RadixTooltip.Portal, { children: /* @__PURE__ */ jsxs13(
1014
+ return /* @__PURE__ */ jsx19(RadixTooltip.Provider, { delayDuration: delay, children: /* @__PURE__ */ jsxs15(RadixTooltip.Root, { open, defaultOpen, onOpenChange, children: [
1015
+ /* @__PURE__ */ jsx19(RadixTooltip.Trigger, { asChild: true, children }),
1016
+ /* @__PURE__ */ jsx19(RadixTooltip.Portal, { children: /* @__PURE__ */ jsxs15(
917
1017
  RadixTooltip.Content,
918
1018
  {
919
1019
  side,
@@ -924,7 +1024,7 @@ function Tooltip({
924
1024
  style: portal2.style,
925
1025
  children: [
926
1026
  content4,
927
- /* @__PURE__ */ jsx16(RadixTooltip.Arrow, { className: arrow, width: 10, height: 5 })
1027
+ /* @__PURE__ */ jsx19(RadixTooltip.Arrow, { className: arrow, width: 10, height: 5 })
928
1028
  ]
929
1029
  }
930
1030
  ) })
@@ -932,14 +1032,14 @@ function Tooltip({
932
1032
  }
933
1033
 
934
1034
  // src/components/Typography/Typography.tsx
935
- import { forwardRef as forwardRef14 } from "react";
1035
+ import { forwardRef as forwardRef17 } from "react";
936
1036
 
937
1037
  // src/components/Typography/Typography.css.ts
938
- import { createRuntimeFn as _7a46813 } from "@vanilla-extract/recipes/createRuntimeFn";
939
- var typography = _7a46813({ defaultClassName: "kiolio0", variantClassNames: { variant: { display: "kiolio1", h1: "kiolio2", h2: "kiolio3", h3: "kiolio4", h4: "kiolio5", "body-lg": "kiolio6", body: "kiolio7", "body-sm": "kiolio8", caption: "kiolio9" }, color: { "default": "kiolioa", muted: "kioliob", subtle: "kiolioc", primary: "kioliod", danger: "kiolioe", success: "kioliof", inherit: "kioliog" }, weight: { regular: "kiolioh", medium: "kiolioi", semibold: "kiolioj", bold: "kioliok" }, align: { start: "kioliol", center: "kioliom", end: "kiolion" }, truncate: { true: "kiolioo" } }, defaultVariants: { variant: "body", color: "default" }, compoundVariants: [] });
1038
+ import { createRuntimeFn as _7a46816 } from "@vanilla-extract/recipes/createRuntimeFn";
1039
+ var typography = _7a46816({ defaultClassName: "kiolio0", variantClassNames: { variant: { display: "kiolio1", h1: "kiolio2", h2: "kiolio3", h3: "kiolio4", h4: "kiolio5", "body-lg": "kiolio6", body: "kiolio7", "body-sm": "kiolio8", caption: "kiolio9" }, color: { "default": "kiolioa", muted: "kioliob", subtle: "kiolioc", primary: "kioliod", danger: "kiolioe", success: "kioliof", inherit: "kioliog" }, weight: { regular: "kiolioh", medium: "kiolioi", semibold: "kiolioj", bold: "kioliok" }, align: { start: "kioliol", center: "kioliom", end: "kiolion" }, truncate: { true: "kiolioo" } }, defaultVariants: { variant: "body", color: "default" }, compoundVariants: [] });
940
1040
 
941
1041
  // src/components/Typography/Typography.tsx
942
- import { jsx as jsx17 } from "react/jsx-runtime";
1042
+ import { jsx as jsx20 } from "react/jsx-runtime";
943
1043
  var defaultElement = {
944
1044
  display: "h1",
945
1045
  h1: "h1",
@@ -951,9 +1051,9 @@ var defaultElement = {
951
1051
  "body-sm": "p",
952
1052
  caption: "span"
953
1053
  };
954
- var Typography = forwardRef14(function Typography2({ variant = "body", as, color, weight, align, truncate, className, ...rest }, ref) {
1054
+ var Typography = forwardRef17(function Typography2({ variant = "body", as, color, weight, align, truncate, className, ...rest }, ref) {
955
1055
  const Component = as ?? defaultElement[variant];
956
- return /* @__PURE__ */ jsx17(
1056
+ return /* @__PURE__ */ jsx20(
957
1057
  Component,
958
1058
  {
959
1059
  ref,
@@ -963,6 +1063,7 @@ var Typography = forwardRef14(function Typography2({ variant = "body", as, color
963
1063
  );
964
1064
  });
965
1065
  export {
1066
+ Avatar,
966
1067
  Badge,
967
1068
  Button,
968
1069
  Card,
@@ -970,11 +1071,13 @@ export {
970
1071
  CardFooter,
971
1072
  CardHeader,
972
1073
  Checkbox,
1074
+ Divider,
973
1075
  Input,
974
1076
  Modal,
975
1077
  ModalClose,
976
1078
  RadioGroup,
977
1079
  Select,
1080
+ Skeleton,
978
1081
  Spinner,
979
1082
  Stack,
980
1083
  Switch,