@clasing/ui 2.6.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/badge-DK9gdPpu.cjs +91 -0
  2. package/dist/badge-aFyTFGVU.js +173 -0
  3. package/dist/button-2VesFn_C.js +256 -0
  4. package/dist/button-DWBp81pk.cjs +70 -0
  5. package/dist/card-DkYKwjsA.cjs +12 -0
  6. package/dist/{card-Cv2M4wv8.js → card-aAzRmGVH.js} +19 -5
  7. package/dist/chip-BlWb6w16.cjs +17 -0
  8. package/dist/chip-BmqvnZuy.js +116 -0
  9. package/dist/{clasing-icon-Bym32_-4.cjs → clasing-icon-CHt2Otn8.cjs} +1 -1
  10. package/dist/{clasing-icon-BIYMLc8o.js → clasing-icon-CJQQN554.js} +1 -1
  11. package/dist/command-DNjJookC.cjs +35 -0
  12. package/dist/command-peXi2dFX.js +209 -0
  13. package/dist/components/accordion.cjs.js +20 -1
  14. package/dist/components/accordion.es.js +38 -16
  15. package/dist/components/alert-dialog.cjs.js +17 -1
  16. package/dist/components/alert-dialog.es.js +23 -7
  17. package/dist/components/alert.cjs.js +6 -1
  18. package/dist/components/alert.d.ts +1 -2
  19. package/dist/components/alert.es.js +54 -50
  20. package/dist/components/avatar.cjs.js +1 -1
  21. package/dist/components/avatar.es.js +1 -1
  22. package/dist/components/badge.cjs.js +1 -1
  23. package/dist/components/badge.d.ts +1 -1
  24. package/dist/components/badge.es.js +1 -1
  25. package/dist/components/blocks/interactive-card.cjs.js +5 -1
  26. package/dist/components/blocks/interactive-card.es.js +60 -56
  27. package/dist/components/blocks/selectable-chips.cjs.js +1 -1
  28. package/dist/components/blocks/selectable-chips.d.ts +6 -6
  29. package/dist/components/blocks/selectable-chips.es.js +88 -55
  30. package/dist/components/breadcrumb.cjs.js +1 -1
  31. package/dist/components/breadcrumb.es.js +1 -1
  32. package/dist/components/button-group.cjs.js +1 -1
  33. package/dist/components/button-group.es.js +3 -3
  34. package/dist/components/button.cjs.js +1 -1
  35. package/dist/components/button.d.ts +8 -17
  36. package/dist/components/button.es.js +2 -4
  37. package/dist/components/calendar.cjs.js +73 -1
  38. package/dist/components/calendar.es.js +120 -42
  39. package/dist/components/card.cjs.js +1 -1
  40. package/dist/components/card.es.js +1 -1
  41. package/dist/components/chart.cjs.js +27 -2
  42. package/dist/components/chart.es.js +38 -7
  43. package/dist/components/checkbox.cjs.js +15 -1
  44. package/dist/components/checkbox.es.js +28 -14
  45. package/dist/components/chip.cjs.js +1 -1
  46. package/dist/components/chip.d.ts +3 -3
  47. package/dist/components/chip.es.js +1 -1
  48. package/dist/components/clasing-icon.cjs.js +1 -1
  49. package/dist/components/clasing-icon.es.js +1 -1
  50. package/dist/components/collapsible.cjs.js +10 -1
  51. package/dist/components/collapsible.es.js +17 -8
  52. package/dist/components/command.cjs.js +1 -1
  53. package/dist/components/command.es.js +1 -1
  54. package/dist/components/context-menu.cjs.js +70 -1
  55. package/dist/components/context-menu.es.js +95 -14
  56. package/dist/components/dialog.cjs.js +1 -1
  57. package/dist/components/dialog.es.js +1 -1
  58. package/dist/components/divider.cjs.js +1 -1
  59. package/dist/components/divider.es.js +1 -1
  60. package/dist/components/drawer.cjs.js +42 -1
  61. package/dist/components/drawer.es.js +63 -17
  62. package/dist/components/dropdown-menu.cjs.js +70 -1
  63. package/dist/components/dropdown-menu.es.js +133 -52
  64. package/dist/components/form.cjs.js +1 -1
  65. package/dist/components/form.es.js +21 -21
  66. package/dist/components/hover-card.cjs.js +13 -1
  67. package/dist/components/hover-card.es.js +14 -2
  68. package/dist/components/input-otp.cjs.js +19 -1
  69. package/dist/components/input-otp.es.js +49 -25
  70. package/dist/components/input.cjs.js +1 -1
  71. package/dist/components/input.es.js +1 -1
  72. package/dist/components/kbd.cjs.js +9 -1
  73. package/dist/components/kbd.es.js +11 -3
  74. package/dist/components/label.cjs.js +1 -1
  75. package/dist/components/label.es.js +1 -1
  76. package/dist/components/menubar.cjs.js +74 -1
  77. package/dist/components/menubar.es.js +121 -36
  78. package/dist/components/multi-select.cjs.js +22 -1
  79. package/dist/components/multi-select.es.js +54 -27
  80. package/dist/components/navigation-menu.cjs.js +70 -1
  81. package/dist/components/navigation-menu.es.js +85 -11
  82. package/dist/components/phone-input.cjs.js +21 -1
  83. package/dist/components/phone-input.es.js +267 -174
  84. package/dist/components/popover.cjs.js +1 -1
  85. package/dist/components/popover.es.js +1 -1
  86. package/dist/components/progress.cjs.js +1 -1
  87. package/dist/components/progress.es.js +3 -3
  88. package/dist/components/resizable.cjs.js +22 -1
  89. package/dist/components/resizable.d.ts +1 -1
  90. package/dist/components/resizable.es.js +52 -17
  91. package/dist/components/scroll-area.cjs.js +1 -1
  92. package/dist/components/scroll-area.es.js +1 -1
  93. package/dist/components/select.cjs.js +56 -1
  94. package/dist/components/select.d.ts +2 -1
  95. package/dist/components/select.es.js +86 -27
  96. package/dist/components/sheet.cjs.js +36 -1
  97. package/dist/components/sheet.es.js +75 -34
  98. package/dist/components/skeleton.cjs.js +1 -1
  99. package/dist/components/skeleton.es.js +1 -1
  100. package/dist/components/slider.cjs.js +23 -1
  101. package/dist/components/slider.es.js +46 -24
  102. package/dist/components/sonner.cjs.js +15 -1
  103. package/dist/components/sonner.es.js +67 -41
  104. package/dist/components/switch.cjs.js +19 -1
  105. package/dist/components/switch.es.js +29 -11
  106. package/dist/components/table.cjs.js +20 -1
  107. package/dist/components/table.es.js +56 -34
  108. package/dist/components/textarea.cjs.js +22 -1
  109. package/dist/components/textarea.es.js +46 -25
  110. package/dist/components/toggle-group.cjs.js +12 -1
  111. package/dist/components/toggle-group.es.js +15 -4
  112. package/dist/components/toggle.cjs.js +1 -1
  113. package/dist/components/toggle.es.js +1 -1
  114. package/dist/components/tooltip.cjs.js +1 -1
  115. package/dist/components/tooltip.es.js +1 -1
  116. package/dist/dialog-BUaX7IId.cjs +28 -0
  117. package/dist/{dialog-CH4VxKX4.js → dialog-CdmsVmRe.js} +41 -14
  118. package/dist/divider-D4EfIlt3.cjs +1 -0
  119. package/dist/{divider-BMxVoyPg.js → divider-DumyhJI_.js} +6 -6
  120. package/dist/entries/button.d.ts +2 -2
  121. package/dist/index-Bfismeyo.cjs +6 -0
  122. package/dist/{index-ECyCsPX0.cjs → index-BmhzhLcV.cjs} +1 -1
  123. package/dist/{index-DEha_UuN.js → index-CnqageB2.js} +1 -1
  124. package/dist/{index-BCEGphus.js → index-CwFDnnd3.js} +678 -519
  125. package/dist/input-kOA9xJIa.js +122 -0
  126. package/dist/input-u-OTHOPe.cjs +28 -0
  127. package/dist/label-BteX4MEt.js +27 -0
  128. package/dist/label-O3mSiGyx.cjs +7 -0
  129. package/dist/popover-A1-x5q-F.cjs +13 -0
  130. package/dist/{popover-BzUZg2od.js → popover-eQq2Is-I.js} +14 -2
  131. package/dist/{scroll-area-CxpVQq0v.js → scroll-area-CJy_EOqT.js} +10 -5
  132. package/dist/scroll-area-DFyIQG6Z.cjs +6 -0
  133. package/dist/toggle-BdWGPLza.cjs +21 -0
  134. package/dist/toggle-DuhnqdDT.js +63 -0
  135. package/dist/tooltip-BYeLeBei.js +74 -0
  136. package/dist/tooltip-BZWEHWmU.cjs +14 -0
  137. package/dist/ui.css +210 -210
  138. package/package.json +32 -28
  139. package/dist/badge-C29hQNIG.js +0 -84
  140. package/dist/badge-Da_xHgvC.cjs +0 -1
  141. package/dist/button-BIGg5o8m.js +0 -213
  142. package/dist/button-BsQuxg6u.cjs +0 -1
  143. package/dist/card-COFAc2zN.cjs +0 -1
  144. package/dist/chip-C_Uh7fe6.cjs +0 -1
  145. package/dist/chip-ZryYiiU1.js +0 -89
  146. package/dist/command-CGrOI2Z9.js +0 -169
  147. package/dist/command-CrtCQpi_.cjs +0 -1
  148. package/dist/dialog-DHZARK1o.cjs +0 -1
  149. package/dist/divider-BcIwJzm7.cjs +0 -1
  150. package/dist/index-9HRzXEQf.cjs +0 -6
  151. package/dist/input-BdGPpUZ8.js +0 -82
  152. package/dist/input-DDgYyRSP.cjs +0 -1
  153. package/dist/label-Bl6V6esj.js +0 -21
  154. package/dist/label-D3iN3bzS.cjs +0 -1
  155. package/dist/popover-Cj78cvz1.cjs +0 -1
  156. package/dist/scroll-area-D74XszlE.cjs +0 -1
  157. package/dist/toggle-99EXLQgX.js +0 -43
  158. package/dist/toggle-CtoQhQby.cjs +0 -1
  159. package/dist/tooltip-CHBabriJ.js +0 -56
  160. package/dist/tooltip-Dd6ylN0m.cjs +0 -1
@@ -1,95 +1,99 @@
1
- import { j as r, c as e } from "../index-BCEGphus.js";
2
- import { QuestionIcon as g, WarningCircleIcon as u, WarningIcon as m, CheckCircleIcon as p, InfoIcon as d } from "@phosphor-icons/react";
3
- import { c as x } from "../index-DEha_UuN.js";
4
- const f = x(
5
- "paragraph-sm text-foreground relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl px-6 py-6 has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current",
1
+ import { j as r, c as n } from "../index-CwFDnnd3.js";
2
+ import { QuestionIcon as d, WarningCircleIcon as g, WarningIcon as u, CheckCircleIcon as f, InfoIcon as m } from "@phosphor-icons/react";
3
+ import { c as p } from "../index-CnqageB2.js";
4
+ const x = p(
5
+ `
6
+ relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl
7
+ border px-6 py-6 paragraph-sm text-foreground
8
+ has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3
9
+ [&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current
10
+ `,
6
11
  {
7
12
  variants: {
8
13
  variant: {
9
- info: "bg-blue-050",
10
- success: "bg-success-light",
11
- warning: "bg-warning-light",
12
- error: "bg-error-light",
13
- neutral: "bg-neutral-000"
14
+ info: "border-info-foreground/50 bg-info/50",
15
+ success: "border-success-foreground/50 bg-success/50",
16
+ warning: "border-warning-foreground/50 bg-warning/50",
17
+ error: "border-destructive-foreground/50 bg-destructive/50",
18
+ neutral: "border-muted bg-muted/50"
14
19
  }
15
20
  },
16
21
  defaultVariants: {
17
22
  variant: "neutral"
18
23
  }
19
24
  }
20
- ), h = {
21
- info: d,
22
- success: p,
23
- warning: m,
24
- error: u,
25
- neutral: g
26
- }, b = {
27
- info: "text-blue-800",
28
- success: "text-success-main",
29
- warning: "text-warning-main",
30
- error: "text-error-main",
31
- neutral: "text-black"
25
+ ), b = {
26
+ info: m,
27
+ success: f,
28
+ warning: u,
29
+ error: g,
30
+ neutral: d
31
+ }, v = {
32
+ info: "text-info-foreground!",
33
+ success: "text-success-foreground!",
34
+ warning: "text-warning-foreground!",
35
+ error: "text-destructive-foreground!",
36
+ neutral: "text-muted-foreground!"
32
37
  };
33
- function C({
34
- className: a,
35
- title: s,
36
- content: n,
38
+ function y({
39
+ className: s,
40
+ title: e,
41
+ content: o,
37
42
  variant: t = "neutral",
38
- showIcon: i,
39
- icon: w,
40
- children: l,
43
+ showIcon: a,
44
+ children: i,
41
45
  ...c
42
46
  }) {
43
- const o = h[t];
47
+ const l = b[t];
44
48
  return /* @__PURE__ */ r.jsxs(
45
49
  "div",
46
50
  {
47
51
  "data-slot": "alert",
48
52
  role: "alert",
49
- className: e(f({ variant: t }), a),
53
+ className: n(x({ variant: t }), s),
50
54
  ...c,
51
55
  children: [
52
- i && t && /* @__PURE__ */ r.jsx(
53
- o,
56
+ a && t && /* @__PURE__ */ r.jsx(
57
+ l,
54
58
  {
55
- className: e("size-5 min-w-5", b[t])
59
+ className: n("size-5 min-w-5", v[t])
56
60
  }
57
61
  ),
58
- s && /* @__PURE__ */ r.jsx(j, { children: /* @__PURE__ */ r.jsx("p", { className: "label-lg font-semibold", children: s }) }),
59
- n && /* @__PURE__ */ r.jsx(v, { children: /* @__PURE__ */ r.jsx("p", { className: "paragraph-sm", children: n }) }),
60
- l
62
+ e && /* @__PURE__ */ r.jsx(h, { children: /* @__PURE__ */ r.jsx("p", { className: "label-lg font-semibold", children: e }) }),
63
+ o && /* @__PURE__ */ r.jsx(j, { children: /* @__PURE__ */ r.jsx("p", { className: "paragraph-sm", children: o }) }),
64
+ i
61
65
  ]
62
66
  }
63
67
  );
64
68
  }
65
- function j({ className: a, ...s }) {
69
+ function h({ className: s, ...e }) {
66
70
  return /* @__PURE__ */ r.jsx(
67
71
  "div",
68
72
  {
69
73
  "data-slot": "alert-title",
70
- className: e("label-lg col-start-2 font-semibold", a),
71
- ...s
74
+ className: n("col-start-2 label-lg font-semibold", s),
75
+ ...e
72
76
  }
73
77
  );
74
78
  }
75
- function v({
76
- className: a,
77
- ...s
79
+ function j({
80
+ className: s,
81
+ ...e
78
82
  }) {
79
83
  return /* @__PURE__ */ r.jsx(
80
84
  "div",
81
85
  {
82
86
  "data-slot": "alert-description",
83
- className: e(
84
- "paragraph-sm col-start-2 grid justify-items-start gap-1",
85
- a
87
+ className: n(
88
+ "col-start-2 grid justify-items-start gap-1 paragraph-sm",
89
+ s
86
90
  ),
87
- ...s
91
+ ...e
88
92
  }
89
93
  );
90
94
  }
91
95
  export {
92
- C as Alert,
93
- v as AlertDescription,
94
- j as AlertTitle
96
+ y as Alert,
97
+ j as AlertDescription,
98
+ h as AlertTitle
95
99
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../index-9HRzXEQf.cjs"),s=require("@radix-ui/react-avatar");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=i(s);function o({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Root,{"data-slot":"avatar",className:a.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Image,{"data-slot":"avatar-image",className:a.cn("aspect-square size-full",e),...t})}function u({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Fallback,{"data-slot":"avatar-fallback",className:a.cn("bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",e),...t})}exports.Avatar=o;exports.AvatarFallback=u;exports.AvatarImage=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../index-Bfismeyo.cjs"),s=require("@radix-ui/react-avatar");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=i(s);function o({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Root,{"data-slot":"avatar",className:a.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Image,{"data-slot":"avatar-image",className:a.cn("aspect-square size-full",e),...t})}function u({className:e,...t}){return a.jsxRuntimeExports.jsx(n.Fallback,{"data-slot":"avatar-fallback",className:a.cn("bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",e),...t})}exports.Avatar=o;exports.AvatarFallback=u;exports.AvatarImage=c;
@@ -1,4 +1,4 @@
1
- import { j as e, c as r } from "../index-BCEGphus.js";
1
+ import { j as e, c as r } from "../index-CwFDnnd3.js";
2
2
  import * as s from "@radix-ui/react-avatar";
3
3
  function i({
4
4
  className: a,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-Da_xHgvC.cjs");exports.Badge=e.Badge;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-DK9gdPpu.cjs");exports.Badge=e.Badge;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  declare const badgeVariants: (props?: ({
4
4
  variant?: "default" | "primary" | "secondary" | "outline" | "destructive" | "info" | "success" | "warning" | "error" | "neutral" | "yellow" | "blue" | "violet" | "not-started" | "in-progress" | "completed" | "blocked" | "paused" | "failed" | "expired" | "cancelled" | null | undefined;
5
5
  size?: "lg" | "md" | "sm" | "xs" | null | undefined;
6
- weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
6
+ weight?: "regular" | "medium" | "semibold" | null | undefined;
7
7
  rounded?: "default" | "full" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  export interface IBadgeProps extends React.ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
@@ -1,4 +1,4 @@
1
- import { B as o } from "../badge-C29hQNIG.js";
1
+ import { B as o } from "../badge-aFyTFGVU.js";
2
2
  export {
3
3
  o as Badge
4
4
  };
@@ -1 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../index-9HRzXEQf.cjs"),N=require("../../badge-Da_xHgvC.cjs"),a=require("../../card-COFAc2zN.cjs"),o=require("../../tooltip-Dd6ylN0m.cjs"),v=require("@phosphor-icons/react"),q=require("../../index-ECyCsPX0.cjs"),w=require("react"),I=q.cva("focus-visible:border-ring focus-visible:ring-ring/50 transition-[color,box-shadow] focus-visible:ring-[3px]"),d=w.forwardRef(({className:j,isActive:s,title:x,text:u,helperText:m,badgeText:t,disabled:r,badgeVariant:p,badgeSize:g="xs",icon:l,tooltipIcon:h,tooltipText:n,tooltipTitle:i,tooltipSide:f,tooltipSideOffset:b,tooltipAlign:R,children:E,...c},C)=>e.jsxRuntimeExports.jsxs(a.Card,{ref:C,className:e.cn(I({className:j}),{"bg-blue-050 border-blue-950":s,"border-neutral-100 bg-neutral-100":r,"cursor-pointer lg:active:bg-blue-100":c.onClick&&s&&!r,"lg:active:bg-blue-050 cursor-pointer":c.onClick&&!s&&!r}),role:"button",tabIndex:0,...c,children:[t||l?e.jsxRuntimeExports.jsxs(a.CardHeader,{className:"flex items-center justify-between gap-2",children:[l?e.jsxRuntimeExports.jsx("div",{className:e.cn("rounded-full p-1",{"bg-neutral-000 text-muted-foreground":!s,"bg-white text-blue-800":s,"bg-white text-neutral-700":r}),children:l}):null,(t||n)&&e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[t?e.jsxRuntimeExports.jsx(N.Badge,{variant:p,size:g,weight:"semibold",className:e.cn({"opacity-50":r}),children:t}):null,n&&e.jsxRuntimeExports.jsxs(o.Tooltip,{children:[e.jsxRuntimeExports.jsx(o.TooltipTrigger,{children:h??e.jsxRuntimeExports.jsx(v.InfoIcon,{size:20,className:"z-10 min-h-5 min-w-5"})}),e.jsxRuntimeExports.jsx(o.TooltipContent,{side:f,sideOffset:b,align:R,children:i||n&&e.jsxRuntimeExports.jsxs("div",{className:"text-neutral-1000 flex flex-col gap-1",children:[i&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md font-semibold",children:i}),n&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md",children:n})]})})]})]})]}):null,e.jsxRuntimeExports.jsxs(a.CardContent,{className:"flex flex-col gap-1",children:[x?e.jsxRuntimeExports.jsx("p",{className:e.cn("text-foreground label-xl font-semibold",{"text-neutral-700":r}),children:x}):null,u?e.jsxRuntimeExports.jsx("p",{className:e.cn("text-muted-foreground paragraph-md",{"text-neutral-700":r}),children:u}):null,E]}),m?e.jsxRuntimeExports.jsx(a.CardFooter,{children:e.jsxRuntimeExports.jsx("p",{className:e.cn("paragraph-sm text-neutral-800",{"text-neutral-700":r}),children:m})}):null]}));d.displayName="InteractiveCard";const y=d;exports.InteractiveCard=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../index-Bfismeyo.cjs"),N=require("../../badge-DK9gdPpu.cjs"),o=require("../../card-DkYKwjsA.cjs"),u=require("../../tooltip-BZWEHWmU.cjs"),v=require("@phosphor-icons/react"),q=require("../../index-BmhzhLcV.cjs"),I=require("react"),y=q.cva(`
2
+ transition-[color,box-shadow]
3
+ focus-visible:border-ring focus-visible:ring-[3px]
4
+ focus-visible:ring-ring/50
5
+ `),m=I.forwardRef(({className:f,isActive:n,title:x,text:d,helperText:l,badgeText:t,disabled:r,badgeVariant:g,badgeSize:j="xs",icon:i,tooltipIcon:p,tooltipText:s,tooltipTitle:a,tooltipSide:h,tooltipSideOffset:R,tooltipAlign:E,children:b,...c},C)=>e.jsxRuntimeExports.jsxs(o.Card,{ref:C,className:e.cn(y({className:f}),{"border-info-foreground bg-info/50":n,"border-muted-foreground bg-muted":r,"cursor-pointer active:bg-info/30":c.onClick&&n&&!r,"cursor-pointer active:bg-info/15":c.onClick&&!n&&!r}),role:"button",tabIndex:0,...c,children:[t||i?e.jsxRuntimeExports.jsxs(o.CardHeader,{className:"flex items-center justify-between gap-2",children:[i?e.jsxRuntimeExports.jsx("div",{className:e.cn("rounded-full p-1",{"bg-muted text-muted-foreground":!n,"bg-info text-info-foreground":n,"bg-background text-muted-foreground":r}),children:i}):null,(t||s)&&e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[t?e.jsxRuntimeExports.jsx(N.Badge,{variant:g,size:j,weight:"semibold",className:e.cn({"opacity-50":r}),children:t}):null,s&&e.jsxRuntimeExports.jsxs(u.Tooltip,{children:[e.jsxRuntimeExports.jsx(u.TooltipTrigger,{children:p??e.jsxRuntimeExports.jsx(v.InfoIcon,{size:20,className:"z-10 min-h-5 min-w-5"})}),e.jsxRuntimeExports.jsx(u.TooltipContent,{side:h,sideOffset:R,align:E,children:a||s&&e.jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[a&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md font-semibold",children:a}),s&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md",children:s})]})})]})]})]}):null,e.jsxRuntimeExports.jsxs(o.CardContent,{className:"flex flex-col gap-1",children:[x?e.jsxRuntimeExports.jsx("p",{className:e.cn("label-xl font-semibold text-foreground",{"text-muted-foreground":r}),children:x}):null,d?e.jsxRuntimeExports.jsx("p",{className:e.cn("paragraph-md text-muted-foreground",{"text-muted-foreground":r}),children:d}):null,b]}),l?e.jsxRuntimeExports.jsx(o.CardFooter,{children:e.jsxRuntimeExports.jsx("p",{className:e.cn("paragraph-sm text-muted-foreground",{"text-muted-foreground":r}),children:l})}):null]}));m.displayName="InteractiveCard";const w=m;exports.InteractiveCard=w;
@@ -1,82 +1,86 @@
1
- import { j as r, c as a } from "../../index-BCEGphus.js";
2
- import { B as v } from "../../badge-C29hQNIG.js";
3
- import { C as w, e as I, b as y, d as z } from "../../card-Cv2M4wv8.js";
4
- import { T as k, c as B, a as R } from "../../tooltip-CHBabriJ.js";
1
+ import { j as r, c as n } from "../../index-CwFDnnd3.js";
2
+ import { B as v } from "../../badge-aFyTFGVU.js";
3
+ import { C as I, e as w, b as y, d as k } from "../../card-aAzRmGVH.js";
4
+ import { T as z, c as B, a as R } from "../../tooltip-BYeLeBei.js";
5
5
  import { InfoIcon as E } from "@phosphor-icons/react";
6
- import { c as F } from "../../index-DEha_UuN.js";
6
+ import { c as F } from "../../index-CnqageB2.js";
7
7
  import { forwardRef as H } from "react";
8
8
  const O = F(
9
- "focus-visible:border-ring focus-visible:ring-ring/50 transition-[color,box-shadow] focus-visible:ring-[3px]"
10
- ), d = H(
9
+ `
10
+ transition-[color,box-shadow]
11
+ focus-visible:border-ring focus-visible:ring-[3px]
12
+ focus-visible:ring-ring/50
13
+ `
14
+ ), f = H(
11
15
  ({
12
- className: x,
16
+ className: u,
13
17
  isActive: s,
14
18
  title: i,
15
19
  text: m,
16
- helperText: u,
17
- badgeText: l,
20
+ helperText: t,
21
+ badgeText: a,
18
22
  disabled: e,
19
- badgeVariant: f,
20
- badgeSize: g = "xs",
21
- icon: t,
23
+ badgeVariant: g,
24
+ badgeSize: x = "xs",
25
+ icon: l,
22
26
  tooltipIcon: p,
23
- tooltipText: n,
24
- tooltipTitle: o,
27
+ tooltipText: o,
28
+ tooltipTitle: c,
25
29
  tooltipSide: h,
26
30
  tooltipSideOffset: j,
27
- tooltipAlign: b,
28
- children: C,
29
- ...c
30
- }, N) => /* @__PURE__ */ r.jsxs(
31
- w,
31
+ tooltipAlign: C,
32
+ children: N,
33
+ ...d
34
+ }, b) => /* @__PURE__ */ r.jsxs(
35
+ I,
32
36
  {
33
- ref: N,
34
- className: a(O({ className: x }), {
35
- "bg-blue-050 border-blue-950": s,
36
- "border-neutral-100 bg-neutral-100": e,
37
- "cursor-pointer lg:active:bg-blue-100": c.onClick && s && !e,
38
- "lg:active:bg-blue-050 cursor-pointer": c.onClick && !s && !e
37
+ ref: b,
38
+ className: n(O({ className: u }), {
39
+ "border-info-foreground bg-info/50": s,
40
+ "border-muted-foreground bg-muted": e,
41
+ "cursor-pointer active:bg-info/30": d.onClick && s && !e,
42
+ "cursor-pointer active:bg-info/15": d.onClick && !s && !e
39
43
  }),
40
44
  role: "button",
41
45
  tabIndex: 0,
42
- ...c,
46
+ ...d,
43
47
  children: [
44
- l || t ? /* @__PURE__ */ r.jsxs(I, { className: "flex items-center justify-between gap-2", children: [
45
- t ? /* @__PURE__ */ r.jsx(
48
+ a || l ? /* @__PURE__ */ r.jsxs(w, { className: "flex items-center justify-between gap-2", children: [
49
+ l ? /* @__PURE__ */ r.jsx(
46
50
  "div",
47
51
  {
48
- className: a("rounded-full p-1", {
49
- "bg-neutral-000 text-muted-foreground": !s,
50
- "bg-white text-blue-800": s,
51
- "bg-white text-neutral-700": e
52
+ className: n("rounded-full p-1", {
53
+ "bg-muted text-muted-foreground": !s,
54
+ "bg-info text-info-foreground": s,
55
+ "bg-background text-muted-foreground": e
52
56
  }),
53
- children: t
57
+ children: l
54
58
  }
55
59
  ) : null,
56
- (l || n) && /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
57
- l ? /* @__PURE__ */ r.jsx(
60
+ (a || o) && /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
61
+ a ? /* @__PURE__ */ r.jsx(
58
62
  v,
59
63
  {
60
- variant: f,
61
- size: g,
64
+ variant: g,
65
+ size: x,
62
66
  weight: "semibold",
63
- className: a({
67
+ className: n({
64
68
  "opacity-50": e
65
69
  }),
66
- children: l
70
+ children: a
67
71
  }
68
72
  ) : null,
69
- n && /* @__PURE__ */ r.jsxs(k, { children: [
73
+ o && /* @__PURE__ */ r.jsxs(z, { children: [
70
74
  /* @__PURE__ */ r.jsx(B, { children: p ?? /* @__PURE__ */ r.jsx(E, { size: 20, className: "z-10 min-h-5 min-w-5" }) }),
71
75
  /* @__PURE__ */ r.jsx(
72
76
  R,
73
77
  {
74
78
  side: h,
75
79
  sideOffset: j,
76
- align: b,
77
- children: o || n && /* @__PURE__ */ r.jsxs("div", { className: "text-neutral-1000 flex flex-col gap-1", children: [
78
- o && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md font-semibold", children: o }),
79
- n && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md", children: n })
80
+ align: C,
81
+ children: c || o && /* @__PURE__ */ r.jsxs("div", { className: "flex flex-col gap-1", children: [
82
+ c && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md font-semibold", children: c }),
83
+ o && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md", children: o })
80
84
  ] })
81
85
  }
82
86
  )
@@ -87,8 +91,8 @@ const O = F(
87
91
  i ? /* @__PURE__ */ r.jsx(
88
92
  "p",
89
93
  {
90
- className: a("text-foreground label-xl font-semibold", {
91
- "text-neutral-700": e
94
+ className: n("label-xl font-semibold text-foreground", {
95
+ "text-muted-foreground": e
92
96
  }),
93
97
  children: i
94
98
  }
@@ -96,29 +100,29 @@ const O = F(
96
100
  m ? /* @__PURE__ */ r.jsx(
97
101
  "p",
98
102
  {
99
- className: a("text-muted-foreground paragraph-md", {
100
- "text-neutral-700": e
103
+ className: n("paragraph-md text-muted-foreground", {
104
+ "text-muted-foreground": e
101
105
  }),
102
106
  children: m
103
107
  }
104
108
  ) : null,
105
- C
109
+ N
106
110
  ] }),
107
- u ? /* @__PURE__ */ r.jsx(z, { children: /* @__PURE__ */ r.jsx(
111
+ t ? /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsx(
108
112
  "p",
109
113
  {
110
- className: a("paragraph-sm text-neutral-800", {
111
- "text-neutral-700": e
114
+ className: n("paragraph-sm text-muted-foreground", {
115
+ "text-muted-foreground": e
112
116
  }),
113
- children: u
117
+ children: t
114
118
  }
115
119
  ) }) : null
116
120
  ]
117
121
  }
118
122
  )
119
123
  );
120
- d.displayName = "InteractiveCard";
121
- const M = d;
124
+ f.displayName = "InteractiveCard";
125
+ const M = f;
122
126
  export {
123
127
  M as InteractiveCard
124
128
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../index-9HRzXEQf.cjs"),p=require("../../chip-C_Uh7fe6.cjs"),S=require("../../label-D3iN3bzS.cjs"),y=require("@phosphor-icons/react"),E=({id:j,label:x,options:u,multiple:i=!1,selectedOptions:t,setSelectedOptions:m,className:d,disabled:c,helperText:v,error:a,touched:r})=>{const n=t,h=e=>{if(!i)return m(e.value),e.value;let s=[];return s=Array.isArray(n)?n.includes(e.value)?n.filter(b=>b!==e.value):[...n,e.value]:[e.value],m(s),s},f=e=>i&&Array.isArray(t)?t.includes(e.value):t===e.value;return u.length===0?null:l.jsxRuntimeExports.jsxs("div",{className:l.cn("flex flex-col gap-3",d),children:[x&&l.jsxRuntimeExports.jsx(S.Label,{htmlFor:j,className:l.cn({"text-neutral-700":c}),children:x}),l.jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(e=>{const s=f(e);return l.jsxRuntimeExports.jsxs(p.ChipComponent,{intent:s?"selected":"unselected",onClick:()=>h(e),className:"py-1",disabled:c,children:[s&&l.jsxRuntimeExports.jsx(y.CheckIcon,{}),e.label]},e.label)})}),a&&r?l.jsxRuntimeExports.jsx("span",{className:"text-error-main label-md -mt-1",children:a}):l.jsxRuntimeExports.jsx("span",{className:l.clsx("label-md -mt-1",{"text-neutral-1000":!a&&!r,"text-error-main":a&&r,"text-success-main":r&&!a,"text-neutral-700":c}),children:v})]})};exports.SelectableChips=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../index-Bfismeyo.cjs"),O=require("../../chip-BlWb6w16.cjs"),E=require("../../label-O3mSiGyx.cjs"),q=require("@phosphor-icons/react"),A=require("react");function k(s){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(l,r,c.get?c:{enumerable:!0,get:()=>s[r]})}}return l.default=s,Object.freeze(l)}const x=k(A),f=x.forwardRef(({id:s,label:l,options:r,multiple:c=!1,value:i,defaultValue:m,onChange:p,onValueChange:b,className:h,disabled:u,helperText:o,...j},g)=>{const[y,S]=x.useState(m||(c?[]:"")),n=i!==void 0?i:y,d=e=>{i===void 0&&S(e),p?.(e),b?.(e)},v=e=>{if(!c){d(e.value);return}const a=Array.isArray(n)?n:[],C=a.includes(e.value)?a.filter(N=>N!==e.value):[...a,e.value];d(C)},R=e=>c?Array.isArray(n)&&n.includes(e.value):n===e.value;return r.length===0?null:t.jsxRuntimeExports.jsxs("div",{ref:g,"data-slot":"selectable-chips",className:t.cn("flex flex-col gap-3",h),...j,children:[l&&t.jsxRuntimeExports.jsx(E.Label,{"data-slot":"selectable-chips-label",htmlFor:s,className:t.cn({"text-muted-foreground":u}),children:l}),t.jsxRuntimeExports.jsx("div",{"data-slot":"selectable-chips-container",className:"flex flex-wrap gap-2",children:r.map(e=>{const a=R(e);return t.jsxRuntimeExports.jsxs(O.ChipComponent,{"data-selected":a,variant:a?"selected":"unselected",onClick:()=>v(e),className:"py-1",disabled:u,children:[a&&t.jsxRuntimeExports.jsx(q.CheckIcon,{}),e.label]},e.label)})}),o&&t.jsxRuntimeExports.jsx("p",{"data-slot":"selectable-chips-description",className:t.cn("-mt-1 label-md text-muted-foreground",u&&"text-muted-foreground"),children:o})]})});f.displayName="SelectableChips";exports.SelectableChips=f;
@@ -1,16 +1,16 @@
1
1
  import { Option } from '@/utils/types';
2
- import { Dispatch, SetStateAction } from 'react';
2
+ import * as React from 'react';
3
3
  export interface ISelectableChipsProps {
4
4
  id?: string;
5
5
  label?: string;
6
6
  options: Option[];
7
7
  multiple?: boolean;
8
- selectedOptions: Option['value'] | Option['value'][] | undefined;
9
- setSelectedOptions: Dispatch<SetStateAction<Option['value'] | Option['value'][] | undefined>>;
8
+ value?: Option['value'] | Option['value'][];
9
+ defaultValue?: Option['value'] | Option['value'][];
10
+ onChange?: (value: Option['value'] | Option['value'][]) => void;
11
+ onValueChange?: (value: Option['value'] | Option['value'][]) => void;
10
12
  className?: string;
11
13
  disabled?: boolean;
12
14
  helperText?: string;
13
- error?: string;
14
- touched?: boolean;
15
15
  }
16
- export declare const SelectableChips: ({ id, label, options, multiple, selectedOptions, setSelectedOptions, className, disabled, helperText, error, touched, }: ISelectableChipsProps) => import("react/jsx-runtime").JSX.Element | null;
16
+ export declare const SelectableChips: React.ForwardRefExoticComponent<ISelectableChipsProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,59 +1,92 @@
1
- import { j as a, c as f, a as y } from "../../index-BCEGphus.js";
2
- import { C as S } from "../../chip-ZryYiiU1.js";
3
- import { L as p } from "../../label-Bl6V6esj.js";
4
- import { CheckIcon as A } from "@phosphor-icons/react";
5
- const w = ({
6
- id: v,
7
- label: m,
8
- options: x,
9
- multiple: u = !1,
10
- selectedOptions: r,
11
- setSelectedOptions: i,
12
- className: d,
13
- disabled: n,
14
- helperText: h,
15
- error: s,
16
- touched: c
17
- }) => {
18
- const t = r, j = (e) => {
19
- if (!u)
20
- return i(e.value), e.value;
21
- let l = [];
22
- return l = Array.isArray(t) ? t.includes(e.value) ? t.filter((N) => N !== e.value) : [...t, e.value] : [e.value], i(l), l;
23
- }, C = (e) => u && Array.isArray(r) ? r.includes(e.value) : r === e.value;
24
- return x.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: f("flex flex-col gap-3", d), children: [
25
- m && /* @__PURE__ */ a.jsx(p, { htmlFor: v, className: f({ "text-neutral-700": n }), children: m }),
26
- /* @__PURE__ */ a.jsx("div", { className: "flex flex-wrap gap-2", children: x.map((e) => {
27
- const l = C(e);
28
- return /* @__PURE__ */ a.jsxs(
29
- S,
30
- {
31
- intent: l ? "selected" : "unselected",
32
- onClick: () => j(e),
33
- className: "py-1",
34
- disabled: n,
35
- children: [
36
- l && /* @__PURE__ */ a.jsx(A, {}),
37
- e.label
38
- ]
39
- },
40
- e.label
41
- );
42
- }) }),
43
- s && c ? /* @__PURE__ */ a.jsx("span", { className: "text-error-main label-md -mt-1", children: s }) : /* @__PURE__ */ a.jsx(
44
- "span",
1
+ import { j as s, c as n } from "../../index-CwFDnnd3.js";
2
+ import { C as R } from "../../chip-BmqvnZuy.js";
3
+ import { L as k } from "../../label-BteX4MEt.js";
4
+ import { CheckIcon as I } from "@phosphor-icons/react";
5
+ import * as u from "react";
6
+ const L = u.forwardRef(
7
+ ({
8
+ id: f,
9
+ label: d,
10
+ options: i,
11
+ multiple: l = !1,
12
+ value: r,
13
+ defaultValue: h,
14
+ onChange: x,
15
+ onValueChange: p,
16
+ className: v,
17
+ disabled: c,
18
+ helperText: o,
19
+ ...b
20
+ }, j) => {
21
+ const [C, g] = u.useState(h || (l ? [] : "")), t = r !== void 0 ? r : C, m = (e) => {
22
+ r === void 0 && g(e), x?.(e), p?.(e);
23
+ }, y = (e) => {
24
+ if (!l) {
25
+ m(e.value);
26
+ return;
27
+ }
28
+ const a = Array.isArray(t) ? t : [], N = a.includes(e.value) ? a.filter((A) => A !== e.value) : [...a, e.value];
29
+ m(N);
30
+ }, S = (e) => l ? Array.isArray(t) && t.includes(e.value) : t === e.value;
31
+ return i.length === 0 ? null : /* @__PURE__ */ s.jsxs(
32
+ "div",
45
33
  {
46
- className: y("label-md -mt-1", {
47
- "text-neutral-1000": !s && !c,
48
- "text-error-main": s && c,
49
- "text-success-main": c && !s,
50
- "text-neutral-700": n
51
- }),
52
- children: h
34
+ ref: j,
35
+ "data-slot": "selectable-chips",
36
+ className: n("flex flex-col gap-3", v),
37
+ ...b,
38
+ children: [
39
+ d && /* @__PURE__ */ s.jsx(
40
+ k,
41
+ {
42
+ "data-slot": "selectable-chips-label",
43
+ htmlFor: f,
44
+ className: n({ "text-muted-foreground": c }),
45
+ children: d
46
+ }
47
+ ),
48
+ /* @__PURE__ */ s.jsx(
49
+ "div",
50
+ {
51
+ "data-slot": "selectable-chips-container",
52
+ className: "flex flex-wrap gap-2",
53
+ children: i.map((e) => {
54
+ const a = S(e);
55
+ return /* @__PURE__ */ s.jsxs(
56
+ R,
57
+ {
58
+ "data-selected": a,
59
+ variant: a ? "selected" : "unselected",
60
+ onClick: () => y(e),
61
+ className: "py-1",
62
+ disabled: c,
63
+ children: [
64
+ a && /* @__PURE__ */ s.jsx(I, {}),
65
+ e.label
66
+ ]
67
+ },
68
+ e.label
69
+ );
70
+ })
71
+ }
72
+ ),
73
+ o && /* @__PURE__ */ s.jsx(
74
+ "p",
75
+ {
76
+ "data-slot": "selectable-chips-description",
77
+ className: n(
78
+ "-mt-1 label-md text-muted-foreground",
79
+ c && "text-muted-foreground"
80
+ ),
81
+ children: o
82
+ }
83
+ )
84
+ ]
53
85
  }
54
- )
55
- ] });
56
- };
86
+ );
87
+ }
88
+ );
89
+ L.displayName = "SelectableChips";
57
90
  export {
58
- w as SelectableChips
91
+ L as SelectableChips
59
92
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-9HRzXEQf.cjs"),i=require("@radix-ui/react-slot"),s=require("@phosphor-icons/react");function o({...e}){return r.jsxRuntimeExports.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx("ol",{"data-slot":"breadcrumb-list",className:r.cn("text-muted-foreground paragraph-sm flex flex-wrap items-center gap-1.5 wrap-break-word sm:gap-2.5",e),...t})}function u({className:e,...t}){return r.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-item",className:r.cn("inline-flex items-center gap-1.5",e),...t})}function m({asChild:e,className:t,...a}){const n=e?i.Slot:"a";return r.jsxRuntimeExports.jsx(n,{"data-slot":"breadcrumb-link",className:r.cn("hover:text-foreground transition-colors",t),...a})}function l({className:e,...t}){return r.jsxRuntimeExports.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:r.cn("text-foreground font-semibold",e),...t})}function d({children:e,className:t,...a}){return r.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:r.cn("[&>svg]:size-3.5",t),...a,children:e??r.jsxRuntimeExports.jsx(s.CaretRightIcon,{})})}function x({className:e,...t}){return r.jsxRuntimeExports.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:r.cn("flex size-9 items-center justify-center [&>svg]:size-3.5",e),...t,children:[r.jsxRuntimeExports.jsx(s.DotsThreeIcon,{}),r.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"More"})]})}exports.Breadcrumb=o;exports.BreadcrumbEllipsis=x;exports.BreadcrumbItem=u;exports.BreadcrumbLink=m;exports.BreadcrumbList=c;exports.BreadcrumbPage=l;exports.BreadcrumbSeparator=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-Bfismeyo.cjs"),i=require("@radix-ui/react-slot"),s=require("@phosphor-icons/react");function o({...e}){return r.jsxRuntimeExports.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx("ol",{"data-slot":"breadcrumb-list",className:r.cn("text-muted-foreground paragraph-sm flex flex-wrap items-center gap-1.5 wrap-break-word sm:gap-2.5",e),...t})}function u({className:e,...t}){return r.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-item",className:r.cn("inline-flex items-center gap-1.5",e),...t})}function m({asChild:e,className:t,...a}){const n=e?i.Slot:"a";return r.jsxRuntimeExports.jsx(n,{"data-slot":"breadcrumb-link",className:r.cn("hover:text-foreground transition-colors",t),...a})}function l({className:e,...t}){return r.jsxRuntimeExports.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:r.cn("text-foreground font-semibold",e),...t})}function d({children:e,className:t,...a}){return r.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:r.cn("[&>svg]:size-3.5",t),...a,children:e??r.jsxRuntimeExports.jsx(s.CaretRightIcon,{})})}function x({className:e,...t}){return r.jsxRuntimeExports.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:r.cn("flex size-9 items-center justify-center [&>svg]:size-3.5",e),...t,children:[r.jsxRuntimeExports.jsx(s.DotsThreeIcon,{}),r.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"More"})]})}exports.Breadcrumb=o;exports.BreadcrumbEllipsis=x;exports.BreadcrumbItem=u;exports.BreadcrumbLink=m;exports.BreadcrumbList=c;exports.BreadcrumbPage=l;exports.BreadcrumbSeparator=d;
@@ -1,4 +1,4 @@
1
- import { j as a, c as t } from "../index-BCEGphus.js";
1
+ import { j as a, c as t } from "../index-CwFDnnd3.js";
2
2
  import { Slot as o } from "@radix-ui/react-slot";
3
3
  import { DotsThreeIcon as i, CaretRightIcon as c } from "@phosphor-icons/react";
4
4
  function d({ ...r }) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),s=require("@radix-ui/react-slot"),a=require("../index-ECyCsPX0.cjs"),u=require("../divider-BcIwJzm7.cjs"),n=a.cva("flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-full [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"[&>*:not(:first-child)]:rounded-l-none! [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none!",vertical:"flex-col [&>*:not(:first-child)]:rounded-t-none! [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none!"}},defaultVariants:{orientation:"horizontal"}});function l({className:o,orientation:t,...r}){return e.jsxRuntimeExports.jsx("div",{role:"group","data-slot":"button-group","data-orientation":t,className:e.cn(n({orientation:t}),o),...r})}function d({className:o,asChild:t=!1,...r}){const i=t?s.Slot:"div";return e.jsxRuntimeExports.jsx(i,{className:e.cn("bg-muted flex items-center gap-2 rounded-full border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",o),...r})}function c({className:o,orientation:t="vertical",...r}){return e.jsxRuntimeExports.jsx(u.Divider,{"data-slot":"button-group-separator",orientation:t,className:e.cn("bg-input relative m-0! self-stretch data-[orientation=vertical]:h-auto",o),...r})}exports.ButtonGroup=l;exports.ButtonGroupDivider=c;exports.ButtonGroupText=d;exports.buttonGroupVariants=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),s=require("@radix-ui/react-slot"),a=require("../index-BmhzhLcV.cjs"),u=require("../divider-D4EfIlt3.cjs"),n=a.cva("flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-full [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"[&>*:not(:first-child)]:rounded-l-none! [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none!",vertical:"flex-col [&>*:not(:first-child)]:rounded-t-none! [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none!"}},defaultVariants:{orientation:"horizontal"}});function l({className:o,orientation:t,...r}){return e.jsxRuntimeExports.jsx("div",{role:"group","data-slot":"button-group","data-orientation":t,className:e.cn(n({orientation:t}),o),...r})}function d({className:o,asChild:t=!1,...r}){const i=t?s.Slot:"div";return e.jsxRuntimeExports.jsx(i,{className:e.cn("bg-muted flex items-center gap-2 rounded-full border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",o),...r})}function c({className:o,orientation:t="vertical",...r}){return e.jsxRuntimeExports.jsx(u.Divider,{"data-slot":"button-group-separator",orientation:t,className:e.cn("bg-input relative m-0! self-stretch data-[orientation=vertical]:h-auto",o),...r})}exports.ButtonGroup=l;exports.ButtonGroupDivider=c;exports.ButtonGroupText=d;exports.buttonGroupVariants=n;
@@ -1,7 +1,7 @@
1
- import { j as r, c as n } from "../index-BCEGphus.js";
1
+ import { j as r, c as n } from "../index-CwFDnnd3.js";
2
2
  import { Slot as a } from "@radix-ui/react-slot";
3
- import { c as i } from "../index-DEha_UuN.js";
4
- import { D as l } from "../divider-BMxVoyPg.js";
3
+ import { c as i } from "../index-CnqageB2.js";
4
+ import { D as l } from "../divider-DumyhJI_.js";
5
5
  const d = i(
6
6
  "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-full [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
7
7
  {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-BsQuxg6u.cjs");exports.Button=t.Button;exports.buttonActiveStyles=t.buttonActiveStyles;exports.buttonLoadingStyles=t.buttonLoadingStyles;exports.buttonStyles=t.buttonStyles;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-DWBp81pk.cjs");exports.Button=t.Button;exports.buttonStyles=t.buttonStyles;