@brightlocal/ui-components 0.1.3 → 0.2.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.
Files changed (166) hide show
  1. package/README.md +2 -1
  2. package/dist/accordion.cjs +1 -1
  3. package/dist/accordion.js +1 -1
  4. package/dist/alert.cjs +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/blocks/data-table.cjs +1 -1
  7. package/dist/blocks/data-table.js +1 -1
  8. package/dist/blocks/sidebar.cjs +1 -1
  9. package/dist/blocks/sidebar.d.ts +37 -306
  10. package/dist/blocks/sidebar.d.ts.map +1 -1
  11. package/dist/blocks/sidebar.js +392 -489
  12. package/dist/breadcrumb.cjs +1 -1
  13. package/dist/breadcrumb.js +1 -1
  14. package/dist/button.cjs +1 -1
  15. package/dist/button.js +1 -1
  16. package/dist/calendar.cjs +1 -1
  17. package/dist/calendar.d.ts +4 -1
  18. package/dist/calendar.d.ts.map +1 -1
  19. package/dist/calendar.js +33 -33
  20. package/dist/centred-layout.cjs +1 -1
  21. package/dist/centred-layout.d.ts +5 -18
  22. package/dist/centred-layout.d.ts.map +1 -1
  23. package/dist/centred-layout.js +21 -23
  24. package/dist/checkbox.cjs +1 -1
  25. package/dist/checkbox.d.ts.map +1 -1
  26. package/dist/checkbox.js +19 -19
  27. package/dist/combobox.cjs +1 -1
  28. package/dist/combobox.d.ts +75 -67
  29. package/dist/combobox.d.ts.map +1 -1
  30. package/dist/combobox.js +241 -194
  31. package/dist/command.cjs +1 -1
  32. package/dist/command.js +1 -1
  33. package/dist/context-menu.cjs +1 -1
  34. package/dist/context-menu.js +1 -1
  35. package/dist/date-picker.cjs +1 -1
  36. package/dist/date-picker.js +1 -1
  37. package/dist/dialog.cjs +1 -1
  38. package/dist/dialog.js +1 -1
  39. package/dist/dropdown-menu.cjs +1 -1
  40. package/dist/dropdown-menu.js +1 -1
  41. package/dist/field.cjs +1 -1
  42. package/dist/field.d.ts +3 -0
  43. package/dist/field.d.ts.map +1 -1
  44. package/dist/field.js +5 -4
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.js +361 -366
  47. package/dist/input-group.cjs +1 -1
  48. package/dist/input-group.d.ts +5 -0
  49. package/dist/input-group.d.ts.map +1 -1
  50. package/dist/input-group.js +47 -39
  51. package/dist/input-otp.cjs +1 -1
  52. package/dist/input-otp.d.ts +6 -0
  53. package/dist/input-otp.d.ts.map +1 -1
  54. package/dist/input-otp.js +79 -76
  55. package/dist/input-password.cjs +1 -1
  56. package/dist/input-password.d.ts +4 -0
  57. package/dist/input-password.d.ts.map +1 -1
  58. package/dist/input-password.js +32 -31
  59. package/dist/input.cjs +1 -1
  60. package/dist/input.d.ts +4 -0
  61. package/dist/input.d.ts.map +1 -1
  62. package/dist/input.js +26 -24
  63. package/dist/link.cjs +1 -1
  64. package/dist/link.js +1 -1
  65. package/dist/logo.cjs +1 -1
  66. package/dist/logo.d.ts +6 -4
  67. package/dist/logo.d.ts.map +1 -1
  68. package/dist/logo.js +17 -20
  69. package/dist/menubar.cjs +1 -1
  70. package/dist/menubar.d.ts +3 -0
  71. package/dist/menubar.d.ts.map +1 -1
  72. package/dist/menubar.js +31 -30
  73. package/dist/navigation-menu.cjs +1 -1
  74. package/dist/navigation-menu.d.ts +6 -54
  75. package/dist/navigation-menu.d.ts.map +1 -1
  76. package/dist/navigation-menu.js +73 -84
  77. package/dist/pagination.cjs +1 -1
  78. package/dist/pagination.d.ts +8 -10
  79. package/dist/pagination.d.ts.map +1 -1
  80. package/dist/pagination.js +78 -86
  81. package/dist/radio-group.cjs +1 -1
  82. package/dist/radio-group.d.ts +10 -23
  83. package/dist/radio-group.d.ts.map +1 -1
  84. package/dist/radio-group.js +47 -55
  85. package/dist/resizable.cjs +1 -1
  86. package/dist/resizable.d.ts +19 -28
  87. package/dist/resizable.d.ts.map +1 -1
  88. package/dist/resizable.js +24 -40
  89. package/dist/select.cjs +1 -1
  90. package/dist/select.d.ts +3 -1
  91. package/dist/select.d.ts.map +1 -1
  92. package/dist/select.js +57 -56
  93. package/dist/separator.cjs +1 -1
  94. package/dist/separator.d.ts +4 -4
  95. package/dist/separator.d.ts.map +1 -1
  96. package/dist/separator.js +19 -21
  97. package/dist/sheet.cjs +1 -1
  98. package/dist/sheet.d.ts +5 -10
  99. package/dist/sheet.d.ts.map +1 -1
  100. package/dist/sheet.js +24 -26
  101. package/dist/sonner.cjs +1 -1
  102. package/dist/sonner.d.ts +17 -20
  103. package/dist/sonner.d.ts.map +1 -1
  104. package/dist/sonner.js +42 -45
  105. package/dist/switch.cjs +1 -1
  106. package/dist/switch.d.ts +2 -12
  107. package/dist/switch.d.ts.map +1 -1
  108. package/dist/switch.js +37 -41
  109. package/dist/table.cjs +1 -1
  110. package/dist/table.d.ts +16 -12
  111. package/dist/table.d.ts.map +1 -1
  112. package/dist/table.js +56 -58
  113. package/dist/tabs.d.ts +27 -3
  114. package/dist/tabs.d.ts.map +1 -1
  115. package/dist/textarea.cjs +1 -1
  116. package/dist/textarea.d.ts +4 -0
  117. package/dist/textarea.d.ts.map +1 -1
  118. package/dist/textarea.js +19 -18
  119. package/dist/toggle-group.cjs +1 -1
  120. package/dist/toggle-group.d.ts +57 -7
  121. package/dist/toggle-group.d.ts.map +1 -1
  122. package/dist/toggle-group.js +60 -67
  123. package/dist/toggle.cjs +1 -1
  124. package/dist/toggle.d.ts +12 -26
  125. package/dist/toggle.d.ts.map +1 -1
  126. package/dist/toggle.js +18 -22
  127. package/package.json +2 -2
  128. package/src/blocks/data-table.tsx +1 -1
  129. package/src/blocks/sidebar.tsx +157 -532
  130. package/src/components/accordion.tsx +1 -1
  131. package/src/components/alert.tsx +1 -1
  132. package/src/components/breadcrumb.tsx +1 -1
  133. package/src/components/button.tsx +1 -1
  134. package/src/components/calendar.tsx +6 -4
  135. package/src/components/centred-layout.tsx +11 -24
  136. package/src/components/checkbox.tsx +5 -6
  137. package/src/components/combobox.tsx +481 -301
  138. package/src/components/command.tsx +1 -1
  139. package/src/components/context-menu.tsx +1 -1
  140. package/src/components/date-picker.tsx +1 -1
  141. package/src/components/dialog.tsx +1 -1
  142. package/src/components/dropdown-menu.tsx +1 -1
  143. package/src/components/field.tsx +2 -0
  144. package/src/components/input-group.tsx +14 -2
  145. package/src/components/input-otp.tsx +17 -2
  146. package/src/components/input-password.tsx +7 -2
  147. package/src/components/input.tsx +11 -3
  148. package/src/components/link.tsx +1 -1
  149. package/src/components/logo.tsx +10 -8
  150. package/src/components/menubar.tsx +3 -1
  151. package/src/components/navigation-menu.tsx +37 -99
  152. package/src/components/pagination.tsx +13 -19
  153. package/src/components/radio-group.tsx +28 -38
  154. package/src/components/resizable.tsx +5 -43
  155. package/src/components/select.tsx +8 -3
  156. package/src/components/separator.tsx +5 -5
  157. package/src/components/sheet.tsx +6 -11
  158. package/src/components/sonner.tsx +24 -27
  159. package/src/components/switch.figma.tsx +7 -11
  160. package/src/components/switch.tsx +9 -19
  161. package/src/components/table.tsx +23 -18
  162. package/src/components/tabs.tsx +27 -3
  163. package/src/components/textarea.tsx +12 -5
  164. package/src/components/toggle-group.tsx +115 -86
  165. package/src/components/toggle.figma.tsx +13 -19
  166. package/src/components/toggle.tsx +32 -48
package/dist/command.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),z=require("react"),m=require("cmdk"),f=require("lucide-react"),O=require("@brightlocal/ui-components/button"),c=require("@brightlocal/ui-components/lib/utils");function E(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const d=E(z),C=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,...r},s)=>n.jsx(m.Command,{ref:s,className:c.cn("bg-popover text-popover-foreground flex w-full flex-col overflow-hidden rounded-lg border shadow-md",e),"data-hook":t,"data-slot":"command","data-tracking-el":a,"data-tracking-label":o,...r}));C.displayName="Command";const b=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,value:r,onValueChange:s,onClear:l,...i},R)=>{const u=d.useRef(null),[S,g]=d.useState("");d.useImperativeHandle(R,()=>u.current,[]);const p=r!==void 0,x=p?r:S,I=String(x).length>0,_=h=>{p||g(h),s?.(h)},q=()=>{p||g(""),s?.(""),l?.(),u.current?.focus()};return n.jsxs("div",{className:"border-base-border flex h-12 items-center gap-2 self-stretch border-b px-3","data-hook":t,"data-slot":"command-input-wrapper",children:[n.jsx(f.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),n.jsx(m.Command.Input,{ref:u,className:c.cn("placeholder:text-muted-foreground flex w-full bg-transparent text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),"data-slot":"command-input","data-tracking-el":a,"data-tracking-label":o,value:x,onValueChange:_,...i}),I&&n.jsx(O.Button,{"aria-label":"Clear search",className:"text-muted-foreground hover:text-foreground",dataHook:"command-input-clear",variant:"ghost",onClick:q,children:n.jsx(f.XIcon,{className:"size-4"})})]})});b.displayName="CommandInput";const k=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.List,{ref:o,className:c.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),"data-hook":t,"data-slot":"command-list",...a}));k.displayName="CommandList";const y=d.forwardRef(({dataHook:e,...t},a)=>n.jsx(m.Command.Empty,{ref:a,className:"py-6 text-center text-sm","data-hook":e,"data-slot":"command-empty",...t}));y.displayName="CommandEmpty";const v=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.Group,{ref:o,className:c.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden px-2 py-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),"data-hook":t,"data-slot":"command-group",...a}));v.displayName="CommandGroup";const N=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.Separator,{ref:o,className:c.cn("bg-border -mx-1 h-px",e),"data-hook":t,"data-slot":"command-separator",...a}));N.displayName="CommandSeparator";const j=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,selected:r,children:s,...l},i)=>n.jsxs(m.Command.Item,{ref:i,className:c.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground data-[disabled=true]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-3 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),"data-hook":t,"data-selected-item":r||void 0,"data-slot":"command-item","data-tracking-el":a,"data-tracking-label":o,...l,children:[s,r&&n.jsx(f.CheckIcon,{className:"text-foreground ml-auto size-4"})]}));j.displayName="CommandItem";const w=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,...r},s)=>n.jsx("span",{ref:s,className:c.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-hook":t,"data-slot":"command-shortcut","data-tracking-el":a,"data-tracking-label":o,...r}));w.displayName="CommandShortcut";exports.Command=C;exports.CommandEmpty=y;exports.CommandGroup=v;exports.CommandInput=b;exports.CommandItem=j;exports.CommandList=k;exports.CommandSeparator=N;exports.CommandShortcut=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),z=require("react"),m=require("cmdk"),f=require("@brightlocal/icons"),O=require("@brightlocal/ui-components/button"),c=require("@brightlocal/ui-components/lib/utils");function E(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const d=E(z),C=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,...r},s)=>n.jsx(m.Command,{ref:s,className:c.cn("bg-popover text-popover-foreground flex w-full flex-col overflow-hidden rounded-lg border shadow-md",e),"data-hook":t,"data-slot":"command","data-tracking-el":a,"data-tracking-label":o,...r}));C.displayName="Command";const b=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,value:r,onValueChange:s,onClear:l,...i},S)=>{const u=d.useRef(null),[I,g]=d.useState("");d.useImperativeHandle(S,()=>u.current,[]);const p=r!==void 0,x=p?r:I,R=String(x).length>0,_=h=>{p||g(h),s?.(h)},q=()=>{p||g(""),s?.(""),l?.(),u.current?.focus()};return n.jsxs("div",{className:"border-base-border flex h-12 items-center gap-2 self-stretch border-b px-3","data-hook":t,"data-slot":"command-input-wrapper",children:[n.jsx(f.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),n.jsx(m.Command.Input,{ref:u,className:c.cn("placeholder:text-muted-foreground flex w-full bg-transparent text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),"data-slot":"command-input","data-tracking-el":a,"data-tracking-label":o,value:x,onValueChange:_,...i}),R&&n.jsx(O.Button,{"aria-label":"Clear search",className:"text-muted-foreground hover:text-foreground",dataHook:"command-input-clear",variant:"ghost",onClick:q,children:n.jsx(f.XIcon,{className:"size-4"})})]})});b.displayName="CommandInput";const k=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.List,{ref:o,className:c.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),"data-hook":t,"data-slot":"command-list",...a}));k.displayName="CommandList";const y=d.forwardRef(({dataHook:e,...t},a)=>n.jsx(m.Command.Empty,{ref:a,className:"py-6 text-center text-sm","data-hook":e,"data-slot":"command-empty",...t}));y.displayName="CommandEmpty";const v=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.Group,{ref:o,className:c.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden px-2 py-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),"data-hook":t,"data-slot":"command-group",...a}));v.displayName="CommandGroup";const N=d.forwardRef(({className:e,dataHook:t,...a},o)=>n.jsx(m.Command.Separator,{ref:o,className:c.cn("bg-border -mx-1 h-px",e),"data-hook":t,"data-slot":"command-separator",...a}));N.displayName="CommandSeparator";const j=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,selected:r,children:s,...l},i)=>n.jsxs(m.Command.Item,{ref:i,className:c.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground data-[disabled=true]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-3 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),"data-hook":t,"data-selected-item":r||void 0,"data-slot":"command-item","data-tracking-el":a,"data-tracking-label":o,...l,children:[s,r&&n.jsx(f.CheckIcon,{className:"text-foreground ml-auto size-4"})]}));j.displayName="CommandItem";const w=d.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:o,...r},s)=>n.jsx("span",{ref:s,className:c.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-hook":t,"data-slot":"command-shortcut","data-tracking-el":a,"data-tracking-label":o,...r}));w.displayName="CommandShortcut";exports.Command=C;exports.CommandEmpty=y;exports.CommandGroup=v;exports.CommandInput=b;exports.CommandItem=j;exports.CommandList=k;exports.CommandSeparator=N;exports.CommandShortcut=w;
package/dist/command.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as d, jsxs as x } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import { Command as s } from "cmdk";
4
- import { SearchIcon as N, XIcon as w, CheckIcon as I } from "lucide-react";
4
+ import { SearchIcon as N, XIcon as w, CheckIcon as I } from "@brightlocal/icons";
5
5
  import { Button as R } from "@brightlocal/ui-components/button";
6
6
  import { cn as l } from "@brightlocal/ui-components/lib/utils";
7
7
  const _ = r.forwardRef(({ className: a, dataHook: e, trackingEl: t, trackingLabel: o, ...n }, m) => /* @__PURE__ */ d(
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),I=require("react"),z=require("@radix-ui/react-context-menu"),m=require("lucide-react"),d=require("@brightlocal/ui-components/lib/utils");function x(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=x(I),a=x(z);function p({...e}){return o.jsx(a.Root,{"data-slot":"context-menu",...e})}p.displayName="ContextMenu";const f=s.forwardRef(({dataHook:e,...n},t)=>o.jsx(a.Trigger,{ref:t,"data-hook":e,"data-slot":"context-menu-trigger",...n}));f.displayName="ContextMenuTrigger";function b({...e}){return o.jsx(a.Group,{"data-slot":"context-menu-group",...e})}b.displayName="ContextMenuGroup";function g({...e}){return o.jsx(a.Portal,{"data-slot":"context-menu-portal",...e})}g.displayName="ContextMenuPortal";function C({...e}){return o.jsx(a.Sub,{"data-slot":"context-menu-sub",...e})}C.displayName="ContextMenuSub";function M({...e}){return o.jsx(a.RadioGroup,{"data-slot":"context-menu-radio-group",...e})}M.displayName="ContextMenuRadioGroup";const h=s.forwardRef(({className:e,inset:n,children:t,dataHook:r,trackingEl:u,trackingLabel:i,...c},l)=>o.jsxs(a.SubTrigger,{ref:l,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none",n&&"pl-8",e),"data-hook":r,"data-slot":"context-menu-sub-trigger","data-tracking-el":u,"data-tracking-label":i,...c,children:[t,o.jsx(m.ChevronRight,{className:"ml-auto size-4"})]}));h.displayName="ContextMenuSubTrigger";const j=s.forwardRef(({className:e,...n},t)=>o.jsx(a.SubContent,{ref:t,className:d.cn("border-border bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",e),"data-slot":"context-menu-sub-content",...n}));j.displayName="ContextMenuSubContent";const y=s.forwardRef(({className:e,...n},t)=>o.jsx(a.Portal,{children:o.jsx(a.Content,{ref:t,className:d.cn("border-border bg-popover text-popover-foreground animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",e),"data-slot":"context-menu-content",...n})}));y.displayName="ContextMenuContent";const N=s.forwardRef(({className:e,inset:n,dataHook:t,trackingEl:r,trackingLabel:u,...i},c)=>o.jsx(a.Item,{ref:c,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",e),"data-hook":t,"data-slot":"context-menu-item","data-tracking-el":r,"data-tracking-label":u,...i}));N.displayName="ContextMenuItem";const R=s.forwardRef(({className:e,children:n,checked:t,dataHook:r,trackingEl:u,trackingLabel:i,...c},l)=>o.jsxs(a.CheckboxItem,{ref:l,checked:t,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),"data-hook":r,"data-slot":"context-menu-checkbox-item","data-tracking-el":u,"data-tracking-label":i,...c,children:[o.jsx("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(a.ItemIndicator,{children:o.jsx(m.Check,{className:"size-4"})})}),n]}));R.displayName="ContextMenuCheckboxItem";const S=s.forwardRef(({className:e,children:n,dataHook:t,trackingEl:r,trackingLabel:u,...i},c)=>o.jsxs(a.RadioItem,{ref:c,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),"data-hook":t,"data-slot":"context-menu-radio-item","data-tracking-el":r,"data-tracking-label":u,...i,children:[o.jsx("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(a.ItemIndicator,{children:o.jsx(m.Circle,{className:"size-2 fill-current"})})}),n]}));S.displayName="ContextMenuRadioItem";const k=s.forwardRef(({className:e,inset:n,...t},r)=>o.jsx(a.Label,{ref:r,className:d.cn("text-foreground px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),"data-slot":"context-menu-label",...t}));k.displayName="ContextMenuLabel";const w=s.forwardRef(({className:e,...n},t)=>o.jsx(a.Separator,{ref:t,className:d.cn("bg-border -mx-1 my-1 h-px",e),"data-slot":"context-menu-separator",...n}));w.displayName="ContextMenuSeparator";const v=s.forwardRef(({className:e,...n},t)=>o.jsx("span",{ref:t,className:d.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-slot":"context-menu-shortcut",...n}));v.displayName="ContextMenuShortcut";exports.ContextMenu=p;exports.ContextMenuCheckboxItem=R;exports.ContextMenuContent=y;exports.ContextMenuGroup=b;exports.ContextMenuItem=N;exports.ContextMenuLabel=k;exports.ContextMenuPortal=g;exports.ContextMenuRadioGroup=M;exports.ContextMenuRadioItem=S;exports.ContextMenuSeparator=w;exports.ContextMenuShortcut=v;exports.ContextMenuSub=C;exports.ContextMenuSubContent=j;exports.ContextMenuSubTrigger=h;exports.ContextMenuTrigger=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),I=require("react"),z=require("@radix-ui/react-context-menu"),m=require("@brightlocal/icons"),d=require("@brightlocal/ui-components/lib/utils");function x(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=x(I),a=x(z);function p({...e}){return o.jsx(a.Root,{"data-slot":"context-menu",...e})}p.displayName="ContextMenu";const f=s.forwardRef(({dataHook:e,...n},t)=>o.jsx(a.Trigger,{ref:t,"data-hook":e,"data-slot":"context-menu-trigger",...n}));f.displayName="ContextMenuTrigger";function b({...e}){return o.jsx(a.Group,{"data-slot":"context-menu-group",...e})}b.displayName="ContextMenuGroup";function g({...e}){return o.jsx(a.Portal,{"data-slot":"context-menu-portal",...e})}g.displayName="ContextMenuPortal";function C({...e}){return o.jsx(a.Sub,{"data-slot":"context-menu-sub",...e})}C.displayName="ContextMenuSub";function M({...e}){return o.jsx(a.RadioGroup,{"data-slot":"context-menu-radio-group",...e})}M.displayName="ContextMenuRadioGroup";const h=s.forwardRef(({className:e,inset:n,children:t,dataHook:r,trackingEl:u,trackingLabel:i,...c},l)=>o.jsxs(a.SubTrigger,{ref:l,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none",n&&"pl-8",e),"data-hook":r,"data-slot":"context-menu-sub-trigger","data-tracking-el":u,"data-tracking-label":i,...c,children:[t,o.jsx(m.ChevronRight,{className:"ml-auto size-4"})]}));h.displayName="ContextMenuSubTrigger";const j=s.forwardRef(({className:e,...n},t)=>o.jsx(a.SubContent,{ref:t,className:d.cn("border-border bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",e),"data-slot":"context-menu-sub-content",...n}));j.displayName="ContextMenuSubContent";const y=s.forwardRef(({className:e,...n},t)=>o.jsx(a.Portal,{children:o.jsx(a.Content,{ref:t,className:d.cn("border-border bg-popover text-popover-foreground animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",e),"data-slot":"context-menu-content",...n})}));y.displayName="ContextMenuContent";const N=s.forwardRef(({className:e,inset:n,dataHook:t,trackingEl:r,trackingLabel:u,...i},c)=>o.jsx(a.Item,{ref:c,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",e),"data-hook":t,"data-slot":"context-menu-item","data-tracking-el":r,"data-tracking-label":u,...i}));N.displayName="ContextMenuItem";const R=s.forwardRef(({className:e,children:n,checked:t,dataHook:r,trackingEl:u,trackingLabel:i,...c},l)=>o.jsxs(a.CheckboxItem,{ref:l,checked:t,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),"data-hook":r,"data-slot":"context-menu-checkbox-item","data-tracking-el":u,"data-tracking-label":i,...c,children:[o.jsx("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(a.ItemIndicator,{children:o.jsx(m.Check,{className:"size-4"})})}),n]}));R.displayName="ContextMenuCheckboxItem";const S=s.forwardRef(({className:e,children:n,dataHook:t,trackingEl:r,trackingLabel:u,...i},c)=>o.jsxs(a.RadioItem,{ref:c,className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),"data-hook":t,"data-slot":"context-menu-radio-item","data-tracking-el":r,"data-tracking-label":u,...i,children:[o.jsx("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(a.ItemIndicator,{children:o.jsx(m.Circle,{className:"size-2 fill-current"})})}),n]}));S.displayName="ContextMenuRadioItem";const k=s.forwardRef(({className:e,inset:n,...t},r)=>o.jsx(a.Label,{ref:r,className:d.cn("text-foreground px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),"data-slot":"context-menu-label",...t}));k.displayName="ContextMenuLabel";const w=s.forwardRef(({className:e,...n},t)=>o.jsx(a.Separator,{ref:t,className:d.cn("bg-border -mx-1 my-1 h-px",e),"data-slot":"context-menu-separator",...n}));w.displayName="ContextMenuSeparator";const v=s.forwardRef(({className:e,...n},t)=>o.jsx("span",{ref:t,className:d.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-slot":"context-menu-shortcut",...n}));v.displayName="ContextMenuShortcut";exports.ContextMenu=p;exports.ContextMenuCheckboxItem=R;exports.ContextMenuContent=y;exports.ContextMenuGroup=b;exports.ContextMenuItem=N;exports.ContextMenuLabel=k;exports.ContextMenuPortal=g;exports.ContextMenuRadioGroup=M;exports.ContextMenuRadioItem=S;exports.ContextMenuSeparator=w;exports.ContextMenuShortcut=v;exports.ContextMenuSub=C;exports.ContextMenuSubContent=j;exports.ContextMenuSubTrigger=h;exports.ContextMenuTrigger=f;
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import * as n from "@radix-ui/react-context-menu";
4
- import { Check as p, Circle as f, ChevronRight as x } from "lucide-react";
4
+ import { Check as p, Circle as f, ChevronRight as x } from "@brightlocal/icons";
5
5
  import { cn as s } from "@brightlocal/ui-components/lib/utils";
6
6
  function b({ ...e }) {
7
7
  return /* @__PURE__ */ t(n.Root, { "data-slot": "context-menu", ...e });
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),T=require("react"),b=require("date-fns"),S=require("lucide-react"),s=require("@brightlocal/ui-components/lib/utils"),y=require("./input.cjs"),N=require("@brightlocal/ui-components/calendar"),d=require("@brightlocal/ui-components/popover"),g=require("@brightlocal/ui-components/select");function $(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const p=$(T),k=p.forwardRef(({className:t,dataHook:a,trackingEl:n,trackingLabel:i,date:r,onDateChange:m,placeholder:x="Pick a date",disabled:o,dateFormat:u="PPP",presets:c,id:P,...f},D)=>{const[w,h]=p.useState(!1),j=e.jsx(N.Calendar,{captionLayout:"dropdown",className:s.cn("border-0 shadow-none",c&&"border-border rounded-lg border"),dataHook:`${a}-calendar`,disabled:o,endMonth:new Date(2100,11,31),mode:"single",selected:r,startMonth:new Date(1900,0,1),onSelect:l=>{m?.(l),h(!1)}});return e.jsx("div",{ref:D,className:s.cn("flex w-full flex-col gap-2",t),"data-hook":a,"data-slot":"date-picker","data-tracking-el":n||"date-picker","data-tracking-label":i,...f,children:e.jsxs(d.Popover,{open:w,onOpenChange:h,children:[e.jsx(d.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"relative flex w-full items-center",children:[e.jsx(S.Calendar,{className:s.cn("text-muted-foreground pointer-events-none absolute left-3 flex size-4 items-center",o&&"opacity-50"),"data-slot":"calendar-icon"}),e.jsx("button",{"aria-label":f["aria-label"]??"Select date",className:s.cn(y.inputVariants({hasIcon:!0}),"cursor-pointer justify-start text-left",!r&&"text-muted-foreground"),"data-hook":`${a}-trigger`,"data-slot":"date-picker-trigger",disabled:o,id:P,type:"button",children:r?b.format(r,u):e.jsx("span",{children:x})})]})}),e.jsx(d.PopoverContent,{align:"start",className:"w-auto rounded-lg p-0",children:c?e.jsxs("div",{className:"flex flex-col gap-2 p-2",children:[e.jsxs(g.Select,{disabled:o,value:r?c.find(l=>l.date().toDateString()===r.toDateString())?.label:void 0,onValueChange:l=>{const v=c.find(q=>q.label===l);v&&m?.(v.date())},children:[e.jsx(g.SelectTrigger,{className:"w-full",dataHook:`${a}-preset-select`,children:e.jsx(g.SelectValue,{placeholder:x})}),e.jsx(g.SelectContent,{children:c.map(l=>e.jsx(g.SelectItem,{"data-hook":`${a}-preset-${l.label.toLowerCase().replace(/\s+/g,"-")}`,value:l.label,children:l.label},l.label))})]}),j]}):j})]})})});k.displayName="DatePicker";const M=[{label:"Today",date:()=>new Date},{label:"Tomorrow",date:()=>{const t=new Date;return t.setDate(t.getDate()+1),t}},{label:"In 3 days",date:()=>{const t=new Date;return t.setDate(t.getDate()+3),t}},{label:"In a week",date:()=>{const t=new Date;return t.setDate(t.getDate()+7),t}}],C=p.forwardRef(({presets:t=M,...a},n)=>e.jsx(k,{ref:n,presets:t,...a}));C.displayName="DatePickerPreset";const O=p.forwardRef(({className:t,dataHook:a,trackingEl:n,trackingLabel:i,dateRange:r,onDateRangeChange:m,placeholder:x="Pick a date range",disabled:o,dateFormat:u="PP",numberOfMonths:c=2,id:P,...f},D)=>{const[w,h]=p.useState(!1),j=()=>r?.from?r.to?`${b.format(r.from,u)} - ${b.format(r.to,u)}`:b.format(r.from,u):null;return e.jsx("div",{ref:D,className:s.cn("flex w-full flex-col gap-2",t),"data-hook":a,"data-slot":"date-picker-range","data-tracking-el":n||"date-picker-range","data-tracking-label":i,...f,children:e.jsxs(d.Popover,{open:w,onOpenChange:h,children:[e.jsx(d.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"relative flex w-full items-center",children:[e.jsx(S.Calendar,{className:s.cn("text-muted-foreground pointer-events-none absolute left-3 flex size-4 items-center",o&&"opacity-50"),"data-slot":"calendar-icon"}),e.jsx("button",{"aria-label":f["aria-label"]??"Select date range",className:s.cn(y.inputVariants({hasIcon:!0}),"cursor-pointer justify-start text-left",!r?.from&&"text-muted-foreground"),"data-hook":`${a}-trigger`,"data-slot":"date-picker-trigger",disabled:o,id:P,type:"button",children:j()||e.jsx("span",{children:x})})]})}),e.jsx(d.PopoverContent,{align:"start",className:"w-auto rounded-lg p-0",children:e.jsx(N.Calendar,{captionLayout:"dropdown",className:"border-0 shadow-none",dataHook:`${a}-calendar`,disabled:o,endMonth:new Date(2100,11,31),mode:"range",numberOfMonths:c,selected:r,startMonth:new Date(1900,0,1),onSelect:m})})]})})});O.displayName="DatePickerRange";exports.DatePicker=k;exports.DatePickerPreset=C;exports.DatePickerRange=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),T=require("react"),b=require("date-fns"),S=require("@brightlocal/icons"),c=require("@brightlocal/ui-components/lib/utils"),y=require("./input.cjs"),N=require("@brightlocal/ui-components/calendar"),d=require("@brightlocal/ui-components/popover"),g=require("@brightlocal/ui-components/select");function $(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const p=$(T),k=p.forwardRef(({className:t,dataHook:a,trackingEl:n,trackingLabel:i,date:r,onDateChange:m,placeholder:x="Pick a date",disabled:o,dateFormat:u="PPP",presets:s,id:P,...f},D)=>{const[w,h]=p.useState(!1),j=e.jsx(N.Calendar,{captionLayout:"dropdown",className:c.cn("border-0 shadow-none",s&&"border-border rounded-lg border"),dataHook:`${a}-calendar`,disabled:o,endMonth:new Date(2100,11,31),mode:"single",selected:r,startMonth:new Date(1900,0,1),onSelect:l=>{m?.(l),h(!1)}});return e.jsx("div",{ref:D,className:c.cn("flex w-full flex-col gap-2",t),"data-hook":a,"data-slot":"date-picker","data-tracking-el":n||"date-picker","data-tracking-label":i,...f,children:e.jsxs(d.Popover,{open:w,onOpenChange:h,children:[e.jsx(d.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"relative flex w-full items-center",children:[e.jsx(S.Calendar,{className:c.cn("text-muted-foreground pointer-events-none absolute left-3 flex size-4 items-center",o&&"opacity-50"),"data-slot":"calendar-icon"}),e.jsx("button",{"aria-label":f["aria-label"]??"Select date",className:c.cn(y.inputVariants({hasIcon:!0}),"cursor-pointer justify-start text-left",!r&&"text-muted-foreground"),"data-hook":`${a}-trigger`,"data-slot":"date-picker-trigger",disabled:o,id:P,type:"button",children:r?b.format(r,u):e.jsx("span",{children:x})})]})}),e.jsx(d.PopoverContent,{align:"start",className:"w-auto rounded-lg p-0",children:s?e.jsxs("div",{className:"flex flex-col gap-2 p-2",children:[e.jsxs(g.Select,{disabled:o,value:r?s.find(l=>l.date().toDateString()===r.toDateString())?.label:void 0,onValueChange:l=>{const v=s.find(q=>q.label===l);v&&m?.(v.date())},children:[e.jsx(g.SelectTrigger,{className:"w-full",dataHook:`${a}-preset-select`,children:e.jsx(g.SelectValue,{placeholder:x})}),e.jsx(g.SelectContent,{children:s.map(l=>e.jsx(g.SelectItem,{"data-hook":`${a}-preset-${l.label.toLowerCase().replace(/\s+/g,"-")}`,value:l.label,children:l.label},l.label))})]}),j]}):j})]})})});k.displayName="DatePicker";const M=[{label:"Today",date:()=>new Date},{label:"Tomorrow",date:()=>{const t=new Date;return t.setDate(t.getDate()+1),t}},{label:"In 3 days",date:()=>{const t=new Date;return t.setDate(t.getDate()+3),t}},{label:"In a week",date:()=>{const t=new Date;return t.setDate(t.getDate()+7),t}}],C=p.forwardRef(({presets:t=M,...a},n)=>e.jsx(k,{ref:n,presets:t,...a}));C.displayName="DatePickerPreset";const O=p.forwardRef(({className:t,dataHook:a,trackingEl:n,trackingLabel:i,dateRange:r,onDateRangeChange:m,placeholder:x="Pick a date range",disabled:o,dateFormat:u="PP",numberOfMonths:s=2,id:P,...f},D)=>{const[w,h]=p.useState(!1),j=()=>r?.from?r.to?`${b.format(r.from,u)} - ${b.format(r.to,u)}`:b.format(r.from,u):null;return e.jsx("div",{ref:D,className:c.cn("flex w-full flex-col gap-2",t),"data-hook":a,"data-slot":"date-picker-range","data-tracking-el":n||"date-picker-range","data-tracking-label":i,...f,children:e.jsxs(d.Popover,{open:w,onOpenChange:h,children:[e.jsx(d.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"relative flex w-full items-center",children:[e.jsx(S.Calendar,{className:c.cn("text-muted-foreground pointer-events-none absolute left-3 flex size-4 items-center",o&&"opacity-50"),"data-slot":"calendar-icon"}),e.jsx("button",{"aria-label":f["aria-label"]??"Select date range",className:c.cn(y.inputVariants({hasIcon:!0}),"cursor-pointer justify-start text-left",!r?.from&&"text-muted-foreground"),"data-hook":`${a}-trigger`,"data-slot":"date-picker-trigger",disabled:o,id:P,type:"button",children:j()||e.jsx("span",{children:x})})]})}),e.jsx(d.PopoverContent,{align:"start",className:"w-auto rounded-lg p-0",children:e.jsx(N.Calendar,{captionLayout:"dropdown",className:"border-0 shadow-none",dataHook:`${a}-calendar`,disabled:o,endMonth:new Date(2100,11,31),mode:"range",numberOfMonths:s,selected:r,startMonth:new Date(1900,0,1),onSelect:m})})]})})});O.displayName="DatePickerRange";exports.DatePicker=k;exports.DatePickerPreset=C;exports.DatePickerRange=O;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
3
  import { format as w } from "date-fns";
4
- import { Calendar as N } from "lucide-react";
4
+ import { Calendar as N } from "@brightlocal/icons";
5
5
  import { cn as c } from "@brightlocal/ui-components/lib/utils";
6
6
  import { inputVariants as v } from "./input.js";
7
7
  import { Calendar as S } from "@brightlocal/ui-components/calendar";
package/dist/dialog.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),v=require("react"),w=require("@radix-ui/react-dialog"),R=require("lucide-react"),l=require("@brightlocal/ui-components/lib/utils");function c(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const i=c(v),s=c(w),g=s.Root;g.displayName="Dialog";const f=i.forwardRef(({dataHook:e,...a},t)=>o.jsx(s.Trigger,{ref:t,"data-hook":e,"data-slot":"dialog-trigger",...a}));f.displayName="DialogTrigger";function n({...e}){return o.jsx(s.Portal,{...e})}n.displayName="DialogPortal";const u=i.forwardRef(({...e},a)=>o.jsx(s.Close,{ref:a,"data-slot":"dialog-close",...e}));u.displayName="DialogClose";const d=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Overlay,{ref:t,className:l.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),"data-slot":"dialog-overlay",...a}));d.displayName="DialogOverlay";const m=i.forwardRef(({className:e,children:a,dataHook:t,trackingEl:r,trackingLabel:b,...j},N)=>o.jsxs(n,{children:[o.jsx(d,{}),o.jsxs(s.Content,{ref:N,className:l.cn("bg-background text-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-card-border fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-8 rounded-xl border p-8 shadow-lg duration-200 sm:max-w-lg",e),"data-hook":t,"data-slot":"dialog-content","data-tracking-el":r,"data-tracking-label":b,...j,children:[a,o.jsxs(s.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-8 right-8 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[o.jsx(R.XIcon,{}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName="DialogContent";const p=i.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:l.cn("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"dialog-header",...a}));p.displayName="DialogHeader";const D=i.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:l.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...a}));D.displayName="DialogFooter";const x=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Title,{ref:t,className:l.cn("text-lg leading-none font-semibold",e),"data-slot":"dialog-title",...a}));x.displayName="DialogTitle";const y=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Description,{ref:t,className:l.cn("text-muted-foreground text-sm",e),"data-slot":"dialog-description",...a}));y.displayName="DialogDescription";exports.Dialog=g;exports.DialogClose=u;exports.DialogContent=m;exports.DialogDescription=y;exports.DialogFooter=D;exports.DialogHeader=p;exports.DialogOverlay=d;exports.DialogPortal=n;exports.DialogTitle=x;exports.DialogTrigger=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),v=require("react"),w=require("@radix-ui/react-dialog"),h=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils");function c(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const i=c(v),s=c(w),g=s.Root;g.displayName="Dialog";const f=i.forwardRef(({dataHook:e,...a},t)=>o.jsx(s.Trigger,{ref:t,"data-hook":e,"data-slot":"dialog-trigger",...a}));f.displayName="DialogTrigger";function n({...e}){return o.jsx(s.Portal,{...e})}n.displayName="DialogPortal";const u=i.forwardRef(({...e},a)=>o.jsx(s.Close,{ref:a,"data-slot":"dialog-close",...e}));u.displayName="DialogClose";const d=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Overlay,{ref:t,className:l.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),"data-slot":"dialog-overlay",...a}));d.displayName="DialogOverlay";const m=i.forwardRef(({className:e,children:a,dataHook:t,trackingEl:r,trackingLabel:b,...j},N)=>o.jsxs(n,{children:[o.jsx(d,{}),o.jsxs(s.Content,{ref:N,className:l.cn("bg-background text-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-card-border fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-8 rounded-xl border p-8 shadow-lg duration-200 sm:max-w-lg",e),"data-hook":t,"data-slot":"dialog-content","data-tracking-el":r,"data-tracking-label":b,...j,children:[a,o.jsxs(s.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-8 right-8 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[o.jsx(h.XIcon,{}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName="DialogContent";const p=i.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:l.cn("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"dialog-header",...a}));p.displayName="DialogHeader";const D=i.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:l.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...a}));D.displayName="DialogFooter";const x=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Title,{ref:t,className:l.cn("text-lg leading-none font-semibold",e),"data-slot":"dialog-title",...a}));x.displayName="DialogTitle";const y=i.forwardRef(({className:e,...a},t)=>o.jsx(s.Description,{ref:t,className:l.cn("text-muted-foreground text-sm",e),"data-slot":"dialog-description",...a}));y.displayName="DialogDescription";exports.Dialog=g;exports.DialogClose=u;exports.DialogContent=m;exports.DialogDescription=y;exports.DialogFooter=D;exports.DialogHeader=p;exports.DialogOverlay=d;exports.DialogPortal=n;exports.DialogTitle=x;exports.DialogTrigger=f;
package/dist/dialog.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import * as l from "@radix-ui/react-dialog";
4
- import { XIcon as p } from "lucide-react";
4
+ import { XIcon as p } from "@brightlocal/icons";
5
5
  import { cn as i } from "@brightlocal/ui-components/lib/utils";
6
6
  const u = l.Root;
7
7
  u.displayName = "Dialog";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),T=require("react"),P=require("@radix-ui/react-dropdown-menu"),p=require("lucide-react"),l=require("@brightlocal/ui-components/lib/utils");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=m(T),r=m(P);function g({...e}){return o.jsx(r.Root,{...e})}g.displayName="DropdownMenu";function f({...e}){return o.jsx(r.Portal,{...e})}f.displayName="DropdownMenuPortal";const w=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,...s},d)=>o.jsx(r.Trigger,{ref:d,className:e,"data-hook":t,"data-slot":"dropdown-menu-trigger","data-tracking-el":n,"data-tracking-label":a,...s}));w.displayName="DropdownMenuTrigger";const x=u.forwardRef(({className:e,sideOffset:t=4,align:n="start",dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsx(r.Portal,{children:o.jsx(r.Content,{ref:c,align:n,className:l.cn(["bg-popover text-popover-foreground","z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-x-hidden overflow-y-auto","rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-hook":a,"data-slot":"dropdown-menu-content","data-tracking-el":s,"data-tracking-label":d,sideOffset:t,...i})}));x.displayName="DropdownMenuContent";function b({...e}){return o.jsx(r.Group,{...e})}b.displayName="DropdownMenuGroup";const h=u.forwardRef(({className:e,inset:t,dataHook:n,trackingEl:a,trackingLabel:s,...d},i)=>o.jsx(r.Item,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 self-stretch select-none","rounded-sm px-2 py-1.5 text-sm leading-normal outline-hidden","[&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground"],e),"data-hook":n,"data-inset":t,"data-slot":"dropdown-menu-item","data-tracking-el":a,"data-tracking-label":s,...d}));h.displayName="DropdownMenuItem";const v=u.forwardRef(({className:e,children:t,checked:n,dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsxs(r.CheckboxItem,{ref:c,checked:n,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":a,"data-slot":"dropdown-menu-checkbox-item","data-tracking-el":s,"data-tracking-label":d,...i,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(p.Check,{className:"size-4"})})}),t]}));v.displayName="DropdownMenuCheckboxItem";function D({...e}){return o.jsx(r.RadioGroup,{...e})}D.displayName="DropdownMenuRadioGroup";const M=u.forwardRef(({className:e,children:t,dataHook:n,trackingEl:a,trackingLabel:s,...d},i)=>o.jsxs(r.RadioItem,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":n,"data-slot":"dropdown-menu-radio-item","data-tracking-el":a,"data-tracking-label":s,...d,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(p.Circle,{className:"size-2 fill-current"})})}),t]}));M.displayName="DropdownMenuRadioItem";const y=u.forwardRef(({className:e,inset:t,...n},a)=>o.jsx(r.Label,{ref:a,className:l.cn(["px-2 py-1.5 text-sm leading-normal font-semibold","data-[inset]:pl-8"],e),"data-inset":t,"data-slot":"dropdown-menu-label",...n}));y.displayName="DropdownMenuLabel";const j=u.forwardRef(({className:e,...t},n)=>o.jsx(r.Separator,{ref:n,className:l.cn(["bg-border -mx-1 my-1 h-px"],e),"data-slot":"dropdown-menu-separator",...t}));j.displayName="DropdownMenuSeparator";function N({className:e,...t}){return o.jsx("span",{className:l.cn(["text-popover-foreground ml-auto text-xs leading-normal opacity-60"],e),"data-slot":"dropdown-menu-shortcut",...t})}N.displayName="DropdownMenuShortcut";function k({...e}){return o.jsx(r.Sub,{...e})}k.displayName="DropdownMenuSub";const R=u.forwardRef(({className:e,inset:t,children:n,dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsxs(r.SubTrigger,{ref:c,className:l.cn(["flex cursor-default items-center gap-2 select-none","rounded-sm px-2 py-1.5 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":a,"data-inset":t,"data-slot":"dropdown-menu-sub-trigger","data-tracking-el":s,"data-tracking-label":d,...i,children:[n,o.jsx(p.ChevronRight,{className:"ml-auto size-4"})]}));R.displayName="DropdownMenuSubTrigger";const S=u.forwardRef(({className:e,...t},n)=>o.jsx(r.SubContent,{ref:n,className:l.cn(["bg-popover text-popover-foreground","z-50 min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-hidden rounded-md border p-1 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-slot":"dropdown-menu-sub-content",...t}));S.displayName="DropdownMenuSubContent";const z=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,avatar:s,title:d,description:i,disabled:c,ariaLabel:_,...C},I)=>o.jsxs(r.Trigger,{ref:I,"aria-label":_??d,className:l.cn(["flex items-center gap-2 rounded-lg border px-3 py-2","bg-popover shadow-sm","outline-none","hover:bg-accent","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","disabled:pointer-events-none disabled:opacity-50"],e),"data-hook":t,"data-slot":"dropdown-menu-trigger-avatar","data-tracking-el":n,"data-tracking-label":a,disabled:c,...C,children:[s,o.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start",children:[o.jsx("span",{className:"w-full overflow-hidden text-sm leading-normal font-semibold text-ellipsis whitespace-nowrap",children:d}),i&&o.jsx("span",{className:"text-muted-foreground w-full overflow-hidden text-xs leading-normal text-ellipsis whitespace-nowrap",children:i})]}),o.jsx(p.ChevronsUpDown,{className:"text-muted-foreground size-4 opacity-50"})]}));z.displayName="DropdownMenuTriggerAvatar";exports.DropdownMenu=g;exports.DropdownMenuCheckboxItem=v;exports.DropdownMenuContent=x;exports.DropdownMenuGroup=b;exports.DropdownMenuItem=h;exports.DropdownMenuLabel=y;exports.DropdownMenuPortal=f;exports.DropdownMenuRadioGroup=D;exports.DropdownMenuRadioItem=M;exports.DropdownMenuSeparator=j;exports.DropdownMenuShortcut=N;exports.DropdownMenuSub=k;exports.DropdownMenuSubContent=S;exports.DropdownMenuSubTrigger=R;exports.DropdownMenuTrigger=w;exports.DropdownMenuTriggerAvatar=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),T=require("react"),P=require("@radix-ui/react-dropdown-menu"),p=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=m(T),r=m(P);function g({...e}){return o.jsx(r.Root,{...e})}g.displayName="DropdownMenu";function f({...e}){return o.jsx(r.Portal,{...e})}f.displayName="DropdownMenuPortal";const w=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,...s},d)=>o.jsx(r.Trigger,{ref:d,className:e,"data-hook":t,"data-slot":"dropdown-menu-trigger","data-tracking-el":n,"data-tracking-label":a,...s}));w.displayName="DropdownMenuTrigger";const x=u.forwardRef(({className:e,sideOffset:t=4,align:n="start",dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsx(r.Portal,{children:o.jsx(r.Content,{ref:c,align:n,className:l.cn(["bg-popover text-popover-foreground","z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-x-hidden overflow-y-auto","rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-hook":a,"data-slot":"dropdown-menu-content","data-tracking-el":s,"data-tracking-label":d,sideOffset:t,...i})}));x.displayName="DropdownMenuContent";function b({...e}){return o.jsx(r.Group,{...e})}b.displayName="DropdownMenuGroup";const h=u.forwardRef(({className:e,inset:t,dataHook:n,trackingEl:a,trackingLabel:s,...d},i)=>o.jsx(r.Item,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 self-stretch select-none","rounded-sm px-2 py-1.5 text-sm leading-normal outline-hidden","[&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground"],e),"data-hook":n,"data-inset":t,"data-slot":"dropdown-menu-item","data-tracking-el":a,"data-tracking-label":s,...d}));h.displayName="DropdownMenuItem";const v=u.forwardRef(({className:e,children:t,checked:n,dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsxs(r.CheckboxItem,{ref:c,checked:n,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":a,"data-slot":"dropdown-menu-checkbox-item","data-tracking-el":s,"data-tracking-label":d,...i,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(p.Check,{className:"size-4"})})}),t]}));v.displayName="DropdownMenuCheckboxItem";function D({...e}){return o.jsx(r.RadioGroup,{...e})}D.displayName="DropdownMenuRadioGroup";const M=u.forwardRef(({className:e,children:t,dataHook:n,trackingEl:a,trackingLabel:s,...d},i)=>o.jsxs(r.RadioItem,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":n,"data-slot":"dropdown-menu-radio-item","data-tracking-el":a,"data-tracking-label":s,...d,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(p.Circle,{className:"size-2 fill-current"})})}),t]}));M.displayName="DropdownMenuRadioItem";const y=u.forwardRef(({className:e,inset:t,...n},a)=>o.jsx(r.Label,{ref:a,className:l.cn(["px-2 py-1.5 text-sm leading-normal font-semibold","data-[inset]:pl-8"],e),"data-inset":t,"data-slot":"dropdown-menu-label",...n}));y.displayName="DropdownMenuLabel";const j=u.forwardRef(({className:e,...t},n)=>o.jsx(r.Separator,{ref:n,className:l.cn(["bg-border -mx-1 my-1 h-px"],e),"data-slot":"dropdown-menu-separator",...t}));j.displayName="DropdownMenuSeparator";function N({className:e,...t}){return o.jsx("span",{className:l.cn(["text-popover-foreground ml-auto text-xs leading-normal opacity-60"],e),"data-slot":"dropdown-menu-shortcut",...t})}N.displayName="DropdownMenuShortcut";function k({...e}){return o.jsx(r.Sub,{...e})}k.displayName="DropdownMenuSub";const R=u.forwardRef(({className:e,inset:t,children:n,dataHook:a,trackingEl:s,trackingLabel:d,...i},c)=>o.jsxs(r.SubTrigger,{ref:c,className:l.cn(["flex cursor-default items-center gap-2 select-none","rounded-sm px-2 py-1.5 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4"],e),"data-hook":a,"data-inset":t,"data-slot":"dropdown-menu-sub-trigger","data-tracking-el":s,"data-tracking-label":d,...i,children:[n,o.jsx(p.ChevronRight,{className:"ml-auto size-4"})]}));R.displayName="DropdownMenuSubTrigger";const S=u.forwardRef(({className:e,...t},n)=>o.jsx(r.SubContent,{ref:n,className:l.cn(["bg-popover text-popover-foreground","z-50 min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-hidden rounded-md border p-1 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-slot":"dropdown-menu-sub-content",...t}));S.displayName="DropdownMenuSubContent";const z=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,avatar:s,title:d,description:i,disabled:c,ariaLabel:_,...C},I)=>o.jsxs(r.Trigger,{ref:I,"aria-label":_??d,className:l.cn(["flex items-center gap-2 rounded-lg border px-3 py-2","bg-popover shadow-sm","outline-none","hover:bg-accent","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","disabled:pointer-events-none disabled:opacity-50"],e),"data-hook":t,"data-slot":"dropdown-menu-trigger-avatar","data-tracking-el":n,"data-tracking-label":a,disabled:c,...C,children:[s,o.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start",children:[o.jsx("span",{className:"w-full overflow-hidden text-sm leading-normal font-semibold text-ellipsis whitespace-nowrap",children:d}),i&&o.jsx("span",{className:"text-muted-foreground w-full overflow-hidden text-xs leading-normal text-ellipsis whitespace-nowrap",children:i})]}),o.jsx(p.ChevronsUpDown,{className:"text-muted-foreground size-4 opacity-50"})]}));z.displayName="DropdownMenuTriggerAvatar";exports.DropdownMenu=g;exports.DropdownMenuCheckboxItem=v;exports.DropdownMenuContent=x;exports.DropdownMenuGroup=b;exports.DropdownMenuItem=h;exports.DropdownMenuLabel=y;exports.DropdownMenuPortal=f;exports.DropdownMenuRadioGroup=D;exports.DropdownMenuRadioItem=M;exports.DropdownMenuSeparator=j;exports.DropdownMenuShortcut=N;exports.DropdownMenuSub=k;exports.DropdownMenuSubContent=S;exports.DropdownMenuSubTrigger=R;exports.DropdownMenuTrigger=w;exports.DropdownMenuTriggerAvatar=z;
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import * as n from "@radix-ui/react-dropdown-menu";
4
- import { Check as w, Circle as b, ChevronRight as h, ChevronsUpDown as x } from "lucide-react";
4
+ import { Check as w, Circle as b, ChevronRight as h, ChevronsUpDown as x } from "@brightlocal/icons";
5
5
  import { cn as p } from "@brightlocal/ui-components/lib/utils";
6
6
  function v({
7
7
  ...e
package/dist/field.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("class-variance-authority"),l=require("@brightlocal/ui-components/lib/utils"),r=require("./description.cjs"),n=require("@brightlocal/ui-components/label");function s({className:t,...e}){return a.jsx("fieldset",{className:l.cn("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",t),"data-slot":"field-set",...e})}const c=["legend","label"];function f({className:t,variant:e="legend",...d}){return a.jsx("legend",{className:l.cn("mb-3 font-medium","data-[variant=legend]:text-base","data-[variant=label]:text-sm",t),"data-slot":"field-legend","data-variant":e,...d})}function u({className:t,...e}){return a.jsx("div",{className:l.cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",t),"data-slot":"field-group",...e})}const g=i.cva("group/field flex w-full gap-2",{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["flex-row items-center","[&>[data-slot=field-label]]:flex-auto","has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-label]]:flex-auto","@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]}},defaultVariants:{orientation:"vertical"}});function p({className:t,orientation:e="vertical",dataHook:d,...o}){return a.jsx("div",{className:l.cn(g({orientation:e}),t),"data-hook":d,"data-orientation":e,"data-slot":"field",role:"group",...o})}function m({className:t,...e}){return a.jsx("div",{className:l.cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug",t),"data-slot":"field-content",...e})}function x({className:t,htmlFor:e,...d}){return a.jsx(n.Label,{className:l.cn("group/field-label peer/field-label w-fit","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",t),"data-slot":"field-label",htmlFor:e,...d})}function h({className:t,...e}){return a.jsx(r.Description,{className:l.cn("mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",t),"data-slot":"field-description",...e})}exports.Field=p;exports.FieldContent=m;exports.FieldDescription=h;exports.FieldGroup=u;exports.FieldLabel=x;exports.FieldLegend=f;exports.FieldSet=s;exports.fieldLegendVariants=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("class-variance-authority"),l=require("@brightlocal/ui-components/lib/utils"),s=require("./description.cjs"),n=require("@brightlocal/ui-components/label");function o({className:t,...e}){return a.jsx("fieldset",{className:l.cn("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",t),"data-slot":"field-set",...e})}o.displayName="FieldSet";const c=["legend","label"];function f({className:t,variant:e="legend",...d}){return a.jsx("legend",{className:l.cn("mb-3 font-medium","data-[variant=legend]:text-base","data-[variant=label]:text-sm",t),"data-slot":"field-legend","data-variant":e,...d})}function u({className:t,...e}){return a.jsx("div",{className:l.cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",t),"data-slot":"field-group",...e})}const p=r.cva("group/field flex w-full gap-2",{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["flex-row items-center","[&>[data-slot=field-label]]:flex-auto","has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-label]]:flex-auto","@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]}},defaultVariants:{orientation:"vertical"}});function g({className:t,orientation:e="vertical",dataHook:d,...i}){return a.jsx("div",{className:l.cn(p({orientation:e}),t),"data-hook":d,"data-orientation":e,"data-slot":"field",role:"group",...i})}function m({className:t,...e}){return a.jsx("div",{className:l.cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug",t),"data-slot":"field-content",...e})}function x({className:t,htmlFor:e,...d}){return a.jsx(n.Label,{className:l.cn("group/field-label peer/field-label w-fit","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",t),"data-slot":"field-label",htmlFor:e,...d})}function h({className:t,...e}){return a.jsx(s.Description,{className:l.cn("mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",t),"data-slot":"field-description",...e})}exports.Field=g;exports.FieldContent=m;exports.FieldDescription=h;exports.FieldGroup=u;exports.FieldLabel=x;exports.FieldLegend=f;exports.FieldSet=o;exports.fieldLegendVariants=c;
package/dist/field.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Label } from '../label';
3
3
  declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace FieldSet {
5
+ var displayName: string;
6
+ }
4
7
  interface FieldLegendProps extends React.ComponentProps<"legend"> {
5
8
  /**
6
9
  * Visual style variant of the legend
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAEzD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAY1E;AAED,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC/D;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC9B;AAED,QAAA,MAAM,mBAAmB,EAAE,gBAAgB,CAAC,SAAS,CAAC,EAAwB,CAAC;AAE/E,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAclB;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,QAAA,MAAM,aAAa;;8EAmBjB,CAAC;AAEH;;GAEG;AACH,UAAU,UACR,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IACvE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,WAAwB,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAWZ;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWzE;AAED,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC;IAClE;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAiBpE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAc3E;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,YAAY,GACb,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAEzD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAY1E;kBAZQ,QAAQ;;;AAgBjB,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC/D;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC9B;AAED,QAAA,MAAM,mBAAmB,EAAE,gBAAgB,CAAC,SAAS,CAAC,EAAwB,CAAC;AAE/E,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAclB;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,QAAA,MAAM,aAAa;;8EAmBjB,CAAC;AAEH;;GAEG;AACH,UAAU,UACR,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IACvE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,WAAwB,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAWZ;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWzE;AAED,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC;IAClE;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAiBpE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAc3E;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,YAAY,GACb,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
package/dist/field.js CHANGED
@@ -3,7 +3,7 @@ import { cva as i } from "class-variance-authority";
3
3
  import { cn as l } from "@brightlocal/ui-components/lib/utils";
4
4
  import { Description as r } from "./description.js";
5
5
  import { Label as s } from "@brightlocal/ui-components/label";
6
- function g({ className: e, ...a }) {
6
+ function n({ className: e, ...a }) {
7
7
  return /* @__PURE__ */ t(
8
8
  "fieldset",
9
9
  {
@@ -17,6 +17,7 @@ function g({ className: e, ...a }) {
17
17
  }
18
18
  );
19
19
  }
20
+ n.displayName = "FieldSet";
20
21
  const x = ["legend", "label"];
21
22
  function h({
22
23
  className: e,
@@ -51,7 +52,7 @@ function b({ className: e, ...a }) {
51
52
  }
52
53
  );
53
54
  }
54
- const n = i("group/field flex w-full gap-2", {
55
+ const f = i("group/field flex w-full gap-2", {
55
56
  variants: {
56
57
  orientation: {
57
58
  vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
@@ -80,7 +81,7 @@ function v({
80
81
  return /* @__PURE__ */ t(
81
82
  "div",
82
83
  {
83
- className: l(n({ orientation: a }), e),
84
+ className: l(f({ orientation: a }), e),
84
85
  "data-hook": o,
85
86
  "data-orientation": a,
86
87
  "data-slot": "field",
@@ -144,6 +145,6 @@ export {
144
145
  b as FieldGroup,
145
146
  k as FieldLabel,
146
147
  h as FieldLegend,
147
- g as FieldSet,
148
+ n as FieldSet,
148
149
  x as fieldLegendVariants
149
150
  };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./accordion.cjs"),h=require("./alert.cjs"),n=require("./alert-dialog.cjs"),K=require("./aspect-ratio.cjs"),R=require("./avatar.cjs"),Q=require("./badge.cjs"),C=require("./breadcrumb.cjs"),N=require("./button.cjs"),E=require("./calendar.cjs"),D=require("./card.cjs"),M=require("./carousel.cjs"),m=require("./chart.cjs"),z=require("./centred-layout.cjs"),Z=require("./checkbox.cjs"),x=require("./collapsible.cjs"),v=require("./combobox.cjs"),p=require("./command.cjs"),O=require("./date-picker.cjs"),a=require("./context-menu.cjs"),ee=require("./description.cjs"),l=require("./dialog.cjs"),i=require("./drawer.cjs"),t=require("./dropdown-menu.cjs"),g=require("./field.cjs"),q=require("./global-layout.cjs"),B=require("./hover-card.cjs"),_=require("./input.cjs"),T=require("./input-group.cjs"),I=require("./input-otp.cjs"),W=require("./label.cjs"),re=require("./link.cjs"),X=require("./logo.cjs"),o=require("./menubar.cjs"),S=require("./navigation-menu.cjs"),b=require("./pagination.cjs"),f=require("./input-password.cjs"),A=require("./popover.cjs"),te=require("./progress.cjs"),k=require("./radio-group.cjs"),ae=require("./rating.cjs"),V=require("./resizable.cjs"),Y=require("./scroll-area.cjs"),d=require("./select.cjs"),j=require("./separator.cjs"),u=require("./sheet.cjs"),oe=require("./skeleton.cjs"),ne=require("./slider.cjs"),L=require("./sonner.cjs"),U=require("./split-layout.cjs"),H=require("./switch.cjs"),c=require("./table.cjs"),w=require("./tabs.cjs"),ie=require("./textarea.cjs"),G=require("./toggle.cjs"),$=require("./toggle-group.cjs"),y=require("./tooltip.cjs"),s=require("./blocks/data-table.cjs"),e=require("./blocks/sidebar.cjs"),ue=require("./hooks/use-mobile.cjs"),le=require("./lib/utils.cjs"),r=require("recharts"),F=require("input-otp"),J=require("@tanstack/react-table");exports.Accordion=P.Accordion;exports.AccordionContent=P.AccordionContent;exports.AccordionItem=P.AccordionItem;exports.AccordionTrigger=P.AccordionTrigger;exports.AlertDestructive=h.AlertDestructive;exports.AlertInfo=h.AlertInfo;exports.AlertSuccess=h.AlertSuccess;exports.AlertWarning=h.AlertWarning;exports.AlertDialog=n.AlertDialog;exports.AlertDialogAction=n.AlertDialogAction;exports.AlertDialogCancel=n.AlertDialogCancel;exports.AlertDialogContent=n.AlertDialogContent;exports.AlertDialogDescription=n.AlertDialogDescription;exports.AlertDialogFooter=n.AlertDialogFooter;exports.AlertDialogHeader=n.AlertDialogHeader;exports.AlertDialogOverlay=n.AlertDialogOverlay;exports.AlertDialogPortal=n.AlertDialogPortal;exports.AlertDialogTitle=n.AlertDialogTitle;exports.AlertDialogTrigger=n.AlertDialogTrigger;exports.AspectRatio=K.AspectRatio;exports.Avatar=R.Avatar;exports.AvatarFallback=R.AvatarFallback;exports.AvatarImage=R.AvatarImage;exports.Badge=Q.Badge;exports.Breadcrumb=C.Breadcrumb;exports.BreadcrumbEllipsis=C.BreadcrumbEllipsis;exports.BreadcrumbItem=C.BreadcrumbItem;exports.BreadcrumbLink=C.BreadcrumbLink;exports.BreadcrumbList=C.BreadcrumbList;exports.BreadcrumbPage=C.BreadcrumbPage;exports.BreadcrumbSeparator=C.BreadcrumbSeparator;exports.Button=N.Button;exports.ButtonVariants=N.ButtonVariants;exports.Calendar=E.Calendar;exports.CalendarDayButton=E.CalendarDayButton;exports.Card=D.Card;exports.CardAction=D.CardAction;exports.CardContent=D.CardContent;exports.CardDescription=D.CardDescription;exports.CardFooter=D.CardFooter;exports.CardHeader=D.CardHeader;exports.CardTitle=D.CardTitle;exports.Carousel=M.Carousel;exports.CarouselContent=M.CarouselContent;exports.CarouselItem=M.CarouselItem;exports.CarouselNext=M.CarouselNext;exports.CarouselPrevious=M.CarouselPrevious;exports.ChartContainer=m.ChartContainer;exports.ChartLegend=m.ChartLegend;exports.ChartLegendContent=m.ChartLegendContent;exports.ChartStyle=m.ChartStyle;exports.ChartTooltip=m.ChartTooltip;exports.ChartTooltipContent=m.ChartTooltipContent;exports.CentredLayout=z.CentredLayout;exports.CentredLayoutBreakpoint=z.CentredLayoutBreakpoint;exports.Checkbox=Z.Checkbox;exports.Collapsible=x.Collapsible;exports.CollapsibleContent=x.CollapsibleContent;exports.CollapsibleTrigger=x.CollapsibleTrigger;exports.Combobox=v.Combobox;exports.ComboboxMenuItemType=v.ComboboxMenuItemType;exports.ComboboxVariant=v.ComboboxVariant;exports.Command=p.Command;exports.CommandEmpty=p.CommandEmpty;exports.CommandGroup=p.CommandGroup;exports.CommandInput=p.CommandInput;exports.CommandItem=p.CommandItem;exports.CommandList=p.CommandList;exports.CommandSeparator=p.CommandSeparator;exports.CommandShortcut=p.CommandShortcut;exports.DatePicker=O.DatePicker;exports.DatePickerPreset=O.DatePickerPreset;exports.DatePickerRange=O.DatePickerRange;exports.ContextMenu=a.ContextMenu;exports.ContextMenuCheckboxItem=a.ContextMenuCheckboxItem;exports.ContextMenuContent=a.ContextMenuContent;exports.ContextMenuGroup=a.ContextMenuGroup;exports.ContextMenuItem=a.ContextMenuItem;exports.ContextMenuLabel=a.ContextMenuLabel;exports.ContextMenuPortal=a.ContextMenuPortal;exports.ContextMenuRadioGroup=a.ContextMenuRadioGroup;exports.ContextMenuRadioItem=a.ContextMenuRadioItem;exports.ContextMenuSeparator=a.ContextMenuSeparator;exports.ContextMenuShortcut=a.ContextMenuShortcut;exports.ContextMenuSub=a.ContextMenuSub;exports.ContextMenuSubContent=a.ContextMenuSubContent;exports.ContextMenuSubTrigger=a.ContextMenuSubTrigger;exports.ContextMenuTrigger=a.ContextMenuTrigger;exports.Description=ee.Description;exports.Dialog=l.Dialog;exports.DialogClose=l.DialogClose;exports.DialogContent=l.DialogContent;exports.DialogDescription=l.DialogDescription;exports.DialogFooter=l.DialogFooter;exports.DialogHeader=l.DialogHeader;exports.DialogOverlay=l.DialogOverlay;exports.DialogPortal=l.DialogPortal;exports.DialogTitle=l.DialogTitle;exports.DialogTrigger=l.DialogTrigger;exports.Drawer=i.Drawer;exports.DrawerBody=i.DrawerBody;exports.DrawerClose=i.DrawerClose;exports.DrawerContent=i.DrawerContent;exports.DrawerDescription=i.DrawerDescription;exports.DrawerFooter=i.DrawerFooter;exports.DrawerHeader=i.DrawerHeader;exports.DrawerOverlay=i.DrawerOverlay;exports.DrawerPortal=i.DrawerPortal;exports.DrawerTitle=i.DrawerTitle;exports.DrawerTrigger=i.DrawerTrigger;exports.DropdownMenu=t.DropdownMenu;exports.DropdownMenuCheckboxItem=t.DropdownMenuCheckboxItem;exports.DropdownMenuContent=t.DropdownMenuContent;exports.DropdownMenuGroup=t.DropdownMenuGroup;exports.DropdownMenuItem=t.DropdownMenuItem;exports.DropdownMenuLabel=t.DropdownMenuLabel;exports.DropdownMenuPortal=t.DropdownMenuPortal;exports.DropdownMenuRadioGroup=t.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=t.DropdownMenuRadioItem;exports.DropdownMenuSeparator=t.DropdownMenuSeparator;exports.DropdownMenuShortcut=t.DropdownMenuShortcut;exports.DropdownMenuSub=t.DropdownMenuSub;exports.DropdownMenuSubContent=t.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=t.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=t.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=t.DropdownMenuTriggerAvatar;exports.Field=g.Field;exports.FieldContent=g.FieldContent;exports.FieldDescription=g.FieldDescription;exports.FieldGroup=g.FieldGroup;exports.FieldLabel=g.FieldLabel;exports.FieldLegend=g.FieldLegend;exports.FieldSet=g.FieldSet;exports.fieldLegendVariants=g.fieldLegendVariants;exports.GlobalLayout=q.GlobalLayout;exports.GlobalLayoutContent=q.GlobalLayoutContent;exports.GlobalLayoutSidebar=q.GlobalLayoutSidebar;exports.HoverCard=B.HoverCard;exports.HoverCardContent=B.HoverCardContent;exports.HoverCardTrigger=B.HoverCardTrigger;exports.Input=_.Input;exports.inputVariants=_.inputVariants;exports.InputGroup=T.InputGroup;exports.InputGroupAddon=T.InputGroupAddon;exports.InputGroupButton=T.InputGroupButton;exports.InputGroupInput=T.InputGroupInput;exports.inputGroupButtonVariants=T.inputGroupButtonVariants;exports.inputGroupVariants=T.inputGroupVariants;exports.InputOTPDigitsOnly=I.InputOTPDigitsOnly;exports.InputOTPSimple=I.InputOTPSimple;exports.InputOTPWithSeparator=I.InputOTPWithSeparator;exports.InputOTPWithSpacing=I.InputOTPWithSpacing;exports.Label=W.Label;exports.labelVariants=W.labelVariants;exports.Link=re.Link;exports.Logo=X.Logo;exports.LogoVariant=X.LogoVariant;exports.Menubar=o.Menubar;exports.MenubarCheckboxItem=o.MenubarCheckboxItem;exports.MenubarContent=o.MenubarContent;exports.MenubarItem=o.MenubarItem;exports.MenubarLabel=o.MenubarLabel;exports.MenubarMenu=o.MenubarMenu;exports.MenubarRadioGroup=o.MenubarRadioGroup;exports.MenubarRadioItem=o.MenubarRadioItem;exports.MenubarSeparator=o.MenubarSeparator;exports.MenubarShortcut=o.MenubarShortcut;exports.MenubarSub=o.MenubarSub;exports.MenubarSubContent=o.MenubarSubContent;exports.MenubarSubTrigger=o.MenubarSubTrigger;exports.MenubarTrigger=o.MenubarTrigger;exports.NavigationMenu=S.NavigationMenu;exports.NavigationMenuContent=S.NavigationMenuContent;exports.NavigationMenuIndicator=S.NavigationMenuIndicator;exports.NavigationMenuItem=S.NavigationMenuItem;exports.NavigationMenuLink=S.NavigationMenuLink;exports.NavigationMenuList=S.NavigationMenuList;exports.NavigationMenuTrigger=S.NavigationMenuTrigger;exports.NavigationMenuViewport=S.NavigationMenuViewport;exports.Pagination=b.Pagination;exports.PaginationButton=b.PaginationButton;exports.PaginationContent=b.PaginationContent;exports.PaginationEllipsis=b.PaginationEllipsis;exports.PaginationItem=b.PaginationItem;exports.PaginationLink=b.PaginationLink;exports.PaginationNext=b.PaginationNext;exports.PaginationPrevious=b.PaginationPrevious;exports.PaginationVariant=b.PaginationVariant;exports.usePagination=b.usePagination;exports.InputPassword=f.InputPassword;exports.PASSWORD_STRENGTH=f.PASSWORD_STRENGTH;exports.calculatePasswordStrength=f.calculatePasswordStrength;exports.Popover=A.Popover;exports.PopoverAnchor=A.PopoverAnchor;exports.PopoverContent=A.PopoverContent;exports.PopoverTrigger=A.PopoverTrigger;exports.Progress=te.Progress;exports.RadioGroup=k.RadioGroup;exports.RadioGroupItem=k.RadioGroupItem;exports.RadioGroupVariant=k.RadioGroupVariant;exports.Rating=ae.Rating;exports.ResizableHandle=V.ResizableHandle;exports.ResizablePanel=V.ResizablePanel;exports.ResizablePanelGroup=V.ResizablePanelGroup;exports.ScrollArea=Y.ScrollArea;exports.ScrollBar=Y.ScrollBar;exports.Select=d.Select;exports.SelectContent=d.SelectContent;exports.SelectGroup=d.SelectGroup;exports.SelectItem=d.SelectItem;exports.SelectLabel=d.SelectLabel;exports.SelectScrollDownButton=d.SelectScrollDownButton;exports.SelectScrollUpButton=d.SelectScrollUpButton;exports.SelectSeparator=d.SelectSeparator;exports.SelectTrigger=d.SelectTrigger;exports.SelectValue=d.SelectValue;exports.Separator=j.Separator;exports.SeparatorOrientation=j.SeparatorOrientation;exports.SeparatorWithText=j.SeparatorWithText;exports.Sheet=u.Sheet;exports.SheetClose=u.SheetClose;exports.SheetContent=u.SheetContent;exports.SheetDescription=u.SheetDescription;exports.SheetFooter=u.SheetFooter;exports.SheetHeader=u.SheetHeader;exports.SheetOverlay=u.SheetOverlay;exports.SheetPortal=u.SheetPortal;exports.SheetSide=u.SheetSide;exports.SheetTitle=u.SheetTitle;exports.SheetTrigger=u.SheetTrigger;exports.Skeleton=oe.Skeleton;exports.Slider=ne.Slider;exports.Sonner=L.Sonner;exports.SonnerColorSchema=L.SonnerColorSchema;exports.SonnerIcon=L.SonnerIcon;exports.sonner=L.sonner;exports.SplitLayout=U.SplitLayout;exports.SplitLayoutSection=U.SplitLayoutSection;exports.Switch=H.Switch;exports.SwitchSide=H.SwitchSide;exports.SwitchVariant=H.SwitchVariant;exports.Table=c.Table;exports.TableBody=c.TableBody;exports.TableCaption=c.TableCaption;exports.TableCell=c.TableCell;exports.TableFooter=c.TableFooter;exports.TableHead=c.TableHead;exports.TableHeader=c.TableHeader;exports.TableRow=c.TableRow;exports.TableSize=c.TableSize;exports.Tabs=w.Tabs;exports.TabsContent=w.TabsContent;exports.TabsList=w.TabsList;exports.TabsTrigger=w.TabsTrigger;exports.Textarea=ie.Textarea;exports.Toggle=G.Toggle;exports.ToggleSize=G.ToggleSize;exports.ToggleVariant=G.ToggleVariant;exports.toggleVariants=G.toggleVariants;exports.ToggleGroup=$.ToggleGroup;exports.ToggleGroupItem=$.ToggleGroupItem;exports.Tooltip=y.Tooltip;exports.TooltipContent=y.TooltipContent;exports.TooltipProvider=y.TooltipProvider;exports.TooltipTrigger=y.TooltipTrigger;exports.DataTable=s.DataTable;exports.DataTableColumnHeader=s.DataTableColumnHeader;exports.DataTablePagination=s.DataTablePagination;exports.DataTableRowActions=s.DataTableRowActions;exports.DataTableSearch=s.DataTableSearch;exports.DataTableSelectAllCheckbox=s.DataTableSelectAllCheckbox;exports.DataTableSelectRowCheckbox=s.DataTableSelectRowCheckbox;exports.DataTableToolbar=s.DataTableToolbar;exports.Sidebar=e.Sidebar;exports.SidebarCollapseIcon=e.SidebarCollapseIcon;exports.SidebarCollapseIconType=e.SidebarCollapseIconType;exports.SidebarCollapsible=e.SidebarCollapsible;exports.SidebarContent=e.SidebarContent;exports.SidebarFooter=e.SidebarFooter;exports.SidebarGroup=e.SidebarGroup;exports.SidebarGroupAction=e.SidebarGroupAction;exports.SidebarGroupContent=e.SidebarGroupContent;exports.SidebarGroupLabel=e.SidebarGroupLabel;exports.SidebarGroupLabelSize=e.SidebarGroupLabelSize;exports.SidebarGroupLabelVariant=e.SidebarGroupLabelVariant;exports.SidebarHeader=e.SidebarHeader;exports.SidebarInput=e.SidebarInput;exports.SidebarInset=e.SidebarInset;exports.SidebarMenu=e.SidebarMenu;exports.SidebarMenuAction=e.SidebarMenuAction;exports.SidebarMenuBadge=e.SidebarMenuBadge;exports.SidebarMenuButton=e.SidebarMenuButton;exports.SidebarMenuButtonSize=e.SidebarMenuButtonSize;exports.SidebarMenuButtonVariant=e.SidebarMenuButtonVariant;exports.SidebarMenuItem=e.SidebarMenuItem;exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton;exports.SidebarMenuSub=e.SidebarMenuSub;exports.SidebarMenuSubButton=e.SidebarMenuSubButton;exports.SidebarMenuSubButtonSize=e.SidebarMenuSubButtonSize;exports.SidebarMenuSubItem=e.SidebarMenuSubItem;exports.SidebarMenuSubVariant=e.SidebarMenuSubVariant;exports.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useIsMobile=ue.useIsMobile;exports.cn=le.cn;Object.defineProperty(exports,"Area",{enumerable:!0,get:()=>r.Area});Object.defineProperty(exports,"AreaChart",{enumerable:!0,get:()=>r.AreaChart});Object.defineProperty(exports,"Bar",{enumerable:!0,get:()=>r.Bar});Object.defineProperty(exports,"BarChart",{enumerable:!0,get:()=>r.BarChart});Object.defineProperty(exports,"CartesianGrid",{enumerable:!0,get:()=>r.CartesianGrid});Object.defineProperty(exports,"Cell",{enumerable:!0,get:()=>r.Cell});Object.defineProperty(exports,"ChartLabel",{enumerable:!0,get:()=>r.Label});Object.defineProperty(exports,"ChartsLegend",{enumerable:!0,get:()=>r.Legend});Object.defineProperty(exports,"ChartsTooltip",{enumerable:!0,get:()=>r.Tooltip});Object.defineProperty(exports,"Customized",{enumerable:!0,get:()=>r.Customized});Object.defineProperty(exports,"LabelList",{enumerable:!0,get:()=>r.LabelList});Object.defineProperty(exports,"Line",{enumerable:!0,get:()=>r.Line});Object.defineProperty(exports,"LineChart",{enumerable:!0,get:()=>r.LineChart});Object.defineProperty(exports,"Pie",{enumerable:!0,get:()=>r.Pie});Object.defineProperty(exports,"PieChart",{enumerable:!0,get:()=>r.PieChart});Object.defineProperty(exports,"PolarAngleAxis",{enumerable:!0,get:()=>r.PolarAngleAxis});Object.defineProperty(exports,"PolarGrid",{enumerable:!0,get:()=>r.PolarGrid});Object.defineProperty(exports,"PolarRadiusAxis",{enumerable:!0,get:()=>r.PolarRadiusAxis});Object.defineProperty(exports,"Radar",{enumerable:!0,get:()=>r.Radar});Object.defineProperty(exports,"RadarChart",{enumerable:!0,get:()=>r.RadarChart});Object.defineProperty(exports,"RadialBar",{enumerable:!0,get:()=>r.RadialBar});Object.defineProperty(exports,"RadialBarChart",{enumerable:!0,get:()=>r.RadialBarChart});Object.defineProperty(exports,"Rectangle",{enumerable:!0,get:()=>r.Rectangle});Object.defineProperty(exports,"ReferenceLine",{enumerable:!0,get:()=>r.ReferenceLine});Object.defineProperty(exports,"ResponsiveContainer",{enumerable:!0,get:()=>r.ResponsiveContainer});Object.defineProperty(exports,"Sector",{enumerable:!0,get:()=>r.Sector});Object.defineProperty(exports,"XAxis",{enumerable:!0,get:()=>r.XAxis});Object.defineProperty(exports,"YAxis",{enumerable:!0,get:()=>r.YAxis});Object.defineProperty(exports,"REGEXP_ONLY_CHARS",{enumerable:!0,get:()=>F.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>F.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>F.REGEXP_ONLY_DIGITS_AND_CHARS});Object.defineProperty(exports,"createColumnHelper",{enumerable:!0,get:()=>J.createColumnHelper});Object.defineProperty(exports,"flexRender",{enumerable:!0,get:()=>J.flexRender});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("./accordion.cjs"),A=require("./alert.cjs"),n=require("./alert-dialog.cjs"),U=require("./aspect-ratio.cjs"),w=require("./avatar.cjs"),$=require("./badge.cjs"),m=require("./breadcrumb.cjs"),k=require("./button.cjs"),j=require("./calendar.cjs"),D=require("./card.cjs"),P=require("./carousel.cjs"),M=require("./chart.cjs"),J=require("./centred-layout.cjs"),K=require("./checkbox.cjs"),y=require("./collapsible.cjs"),i=require("./combobox.cjs"),p=require("./command.cjs"),R=require("./date-picker.cjs"),o=require("./context-menu.cjs"),Q=require("./description.cjs"),l=require("./dialog.cjs"),u=require("./drawer.cjs"),t=require("./dropdown-menu.cjs"),g=require("./field.cjs"),v=require("./global-layout.cjs"),q=require("./hover-card.cjs"),H=require("./input.cjs"),T=require("./input-group.cjs"),h=require("./input-otp.cjs"),F=require("./label.cjs"),Z=require("./link.cjs"),ee=require("./logo.cjs"),a=require("./menubar.cjs"),C=require("./navigation-menu.cjs"),c=require("./pagination.cjs"),O=require("./input-password.cjs"),x=require("./popover.cjs"),re=require("./progress.cjs"),N=require("./radio-group.cjs"),te=require("./rating.cjs"),B=require("./resizable.cjs"),V=require("./scroll-area.cjs"),b=require("./select.cjs"),E=require("./separator.cjs"),d=require("./sheet.cjs"),oe=require("./skeleton.cjs"),ae=require("./slider.cjs"),_=require("./sonner.cjs"),z=require("./split-layout.cjs"),ne=require("./switch.cjs"),s=require("./table.cjs"),L=require("./tabs.cjs"),ie=require("./textarea.cjs"),W=require("./toggle.cjs"),X=require("./toggle-group.cjs"),G=require("./tooltip.cjs"),S=require("./blocks/data-table.cjs"),e=require("./blocks/sidebar.cjs"),ue=require("./hooks/use-mobile.cjs"),le=require("./lib/utils.cjs"),r=require("recharts"),f=require("input-otp"),Y=require("@tanstack/react-table");exports.Accordion=I.Accordion;exports.AccordionContent=I.AccordionContent;exports.AccordionItem=I.AccordionItem;exports.AccordionTrigger=I.AccordionTrigger;exports.AlertDestructive=A.AlertDestructive;exports.AlertInfo=A.AlertInfo;exports.AlertSuccess=A.AlertSuccess;exports.AlertWarning=A.AlertWarning;exports.AlertDialog=n.AlertDialog;exports.AlertDialogAction=n.AlertDialogAction;exports.AlertDialogCancel=n.AlertDialogCancel;exports.AlertDialogContent=n.AlertDialogContent;exports.AlertDialogDescription=n.AlertDialogDescription;exports.AlertDialogFooter=n.AlertDialogFooter;exports.AlertDialogHeader=n.AlertDialogHeader;exports.AlertDialogOverlay=n.AlertDialogOverlay;exports.AlertDialogPortal=n.AlertDialogPortal;exports.AlertDialogTitle=n.AlertDialogTitle;exports.AlertDialogTrigger=n.AlertDialogTrigger;exports.AspectRatio=U.AspectRatio;exports.Avatar=w.Avatar;exports.AvatarFallback=w.AvatarFallback;exports.AvatarImage=w.AvatarImage;exports.Badge=$.Badge;exports.Breadcrumb=m.Breadcrumb;exports.BreadcrumbEllipsis=m.BreadcrumbEllipsis;exports.BreadcrumbItem=m.BreadcrumbItem;exports.BreadcrumbLink=m.BreadcrumbLink;exports.BreadcrumbList=m.BreadcrumbList;exports.BreadcrumbPage=m.BreadcrumbPage;exports.BreadcrumbSeparator=m.BreadcrumbSeparator;exports.Button=k.Button;exports.ButtonVariants=k.ButtonVariants;exports.Calendar=j.Calendar;exports.CalendarDayButton=j.CalendarDayButton;exports.Card=D.Card;exports.CardAction=D.CardAction;exports.CardContent=D.CardContent;exports.CardDescription=D.CardDescription;exports.CardFooter=D.CardFooter;exports.CardHeader=D.CardHeader;exports.CardTitle=D.CardTitle;exports.Carousel=P.Carousel;exports.CarouselContent=P.CarouselContent;exports.CarouselItem=P.CarouselItem;exports.CarouselNext=P.CarouselNext;exports.CarouselPrevious=P.CarouselPrevious;exports.ChartContainer=M.ChartContainer;exports.ChartLegend=M.ChartLegend;exports.ChartLegendContent=M.ChartLegendContent;exports.ChartStyle=M.ChartStyle;exports.ChartTooltip=M.ChartTooltip;exports.ChartTooltipContent=M.ChartTooltipContent;exports.CentredLayout=J.CentredLayout;exports.Checkbox=K.Checkbox;exports.Collapsible=y.Collapsible;exports.CollapsibleContent=y.CollapsibleContent;exports.CollapsibleTrigger=y.CollapsibleTrigger;exports.Combobox=i.Combobox;exports.ComboboxContent=i.ComboboxContent;exports.ComboboxEmpty=i.ComboboxEmpty;exports.ComboboxGroup=i.ComboboxGroup;exports.ComboboxInput=i.ComboboxInput;exports.ComboboxItem=i.ComboboxItem;exports.ComboboxList=i.ComboboxList;exports.ComboboxLoading=i.ComboboxLoading;exports.ComboboxSeparator=i.ComboboxSeparator;exports.ComboboxTrigger=i.ComboboxTrigger;exports.ComboboxValue=i.ComboboxValue;exports.Command=p.Command;exports.CommandEmpty=p.CommandEmpty;exports.CommandGroup=p.CommandGroup;exports.CommandInput=p.CommandInput;exports.CommandItem=p.CommandItem;exports.CommandList=p.CommandList;exports.CommandSeparator=p.CommandSeparator;exports.CommandShortcut=p.CommandShortcut;exports.DatePicker=R.DatePicker;exports.DatePickerPreset=R.DatePickerPreset;exports.DatePickerRange=R.DatePickerRange;exports.ContextMenu=o.ContextMenu;exports.ContextMenuCheckboxItem=o.ContextMenuCheckboxItem;exports.ContextMenuContent=o.ContextMenuContent;exports.ContextMenuGroup=o.ContextMenuGroup;exports.ContextMenuItem=o.ContextMenuItem;exports.ContextMenuLabel=o.ContextMenuLabel;exports.ContextMenuPortal=o.ContextMenuPortal;exports.ContextMenuRadioGroup=o.ContextMenuRadioGroup;exports.ContextMenuRadioItem=o.ContextMenuRadioItem;exports.ContextMenuSeparator=o.ContextMenuSeparator;exports.ContextMenuShortcut=o.ContextMenuShortcut;exports.ContextMenuSub=o.ContextMenuSub;exports.ContextMenuSubContent=o.ContextMenuSubContent;exports.ContextMenuSubTrigger=o.ContextMenuSubTrigger;exports.ContextMenuTrigger=o.ContextMenuTrigger;exports.Description=Q.Description;exports.Dialog=l.Dialog;exports.DialogClose=l.DialogClose;exports.DialogContent=l.DialogContent;exports.DialogDescription=l.DialogDescription;exports.DialogFooter=l.DialogFooter;exports.DialogHeader=l.DialogHeader;exports.DialogOverlay=l.DialogOverlay;exports.DialogPortal=l.DialogPortal;exports.DialogTitle=l.DialogTitle;exports.DialogTrigger=l.DialogTrigger;exports.Drawer=u.Drawer;exports.DrawerBody=u.DrawerBody;exports.DrawerClose=u.DrawerClose;exports.DrawerContent=u.DrawerContent;exports.DrawerDescription=u.DrawerDescription;exports.DrawerFooter=u.DrawerFooter;exports.DrawerHeader=u.DrawerHeader;exports.DrawerOverlay=u.DrawerOverlay;exports.DrawerPortal=u.DrawerPortal;exports.DrawerTitle=u.DrawerTitle;exports.DrawerTrigger=u.DrawerTrigger;exports.DropdownMenu=t.DropdownMenu;exports.DropdownMenuCheckboxItem=t.DropdownMenuCheckboxItem;exports.DropdownMenuContent=t.DropdownMenuContent;exports.DropdownMenuGroup=t.DropdownMenuGroup;exports.DropdownMenuItem=t.DropdownMenuItem;exports.DropdownMenuLabel=t.DropdownMenuLabel;exports.DropdownMenuPortal=t.DropdownMenuPortal;exports.DropdownMenuRadioGroup=t.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=t.DropdownMenuRadioItem;exports.DropdownMenuSeparator=t.DropdownMenuSeparator;exports.DropdownMenuShortcut=t.DropdownMenuShortcut;exports.DropdownMenuSub=t.DropdownMenuSub;exports.DropdownMenuSubContent=t.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=t.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=t.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=t.DropdownMenuTriggerAvatar;exports.Field=g.Field;exports.FieldContent=g.FieldContent;exports.FieldDescription=g.FieldDescription;exports.FieldGroup=g.FieldGroup;exports.FieldLabel=g.FieldLabel;exports.FieldLegend=g.FieldLegend;exports.FieldSet=g.FieldSet;exports.fieldLegendVariants=g.fieldLegendVariants;exports.GlobalLayout=v.GlobalLayout;exports.GlobalLayoutContent=v.GlobalLayoutContent;exports.GlobalLayoutSidebar=v.GlobalLayoutSidebar;exports.HoverCard=q.HoverCard;exports.HoverCardContent=q.HoverCardContent;exports.HoverCardTrigger=q.HoverCardTrigger;exports.Input=H.Input;exports.inputVariants=H.inputVariants;exports.InputGroup=T.InputGroup;exports.InputGroupAddon=T.InputGroupAddon;exports.InputGroupButton=T.InputGroupButton;exports.InputGroupInput=T.InputGroupInput;exports.inputGroupButtonVariants=T.inputGroupButtonVariants;exports.inputGroupVariants=T.inputGroupVariants;exports.InputOTPDigitsOnly=h.InputOTPDigitsOnly;exports.InputOTPSimple=h.InputOTPSimple;exports.InputOTPWithSeparator=h.InputOTPWithSeparator;exports.InputOTPWithSpacing=h.InputOTPWithSpacing;exports.Label=F.Label;exports.labelVariants=F.labelVariants;exports.Link=Z.Link;exports.Logo=ee.Logo;exports.Menubar=a.Menubar;exports.MenubarCheckboxItem=a.MenubarCheckboxItem;exports.MenubarContent=a.MenubarContent;exports.MenubarItem=a.MenubarItem;exports.MenubarLabel=a.MenubarLabel;exports.MenubarMenu=a.MenubarMenu;exports.MenubarRadioGroup=a.MenubarRadioGroup;exports.MenubarRadioItem=a.MenubarRadioItem;exports.MenubarSeparator=a.MenubarSeparator;exports.MenubarShortcut=a.MenubarShortcut;exports.MenubarSub=a.MenubarSub;exports.MenubarSubContent=a.MenubarSubContent;exports.MenubarSubTrigger=a.MenubarSubTrigger;exports.MenubarTrigger=a.MenubarTrigger;exports.NavigationMenu=C.NavigationMenu;exports.NavigationMenuContent=C.NavigationMenuContent;exports.NavigationMenuIndicator=C.NavigationMenuIndicator;exports.NavigationMenuItem=C.NavigationMenuItem;exports.NavigationMenuLink=C.NavigationMenuLink;exports.NavigationMenuList=C.NavigationMenuList;exports.NavigationMenuTrigger=C.NavigationMenuTrigger;exports.NavigationMenuViewport=C.NavigationMenuViewport;exports.Pagination=c.Pagination;exports.PaginationButton=c.PaginationButton;exports.PaginationContent=c.PaginationContent;exports.PaginationEllipsis=c.PaginationEllipsis;exports.PaginationItem=c.PaginationItem;exports.PaginationLink=c.PaginationLink;exports.PaginationNext=c.PaginationNext;exports.PaginationPrevious=c.PaginationPrevious;exports.usePagination=c.usePagination;exports.InputPassword=O.InputPassword;exports.PASSWORD_STRENGTH=O.PASSWORD_STRENGTH;exports.calculatePasswordStrength=O.calculatePasswordStrength;exports.Popover=x.Popover;exports.PopoverAnchor=x.PopoverAnchor;exports.PopoverContent=x.PopoverContent;exports.PopoverTrigger=x.PopoverTrigger;exports.Progress=re.Progress;exports.RadioGroup=N.RadioGroup;exports.RadioGroupItem=N.RadioGroupItem;exports.Rating=te.Rating;exports.ResizableHandle=B.ResizableHandle;exports.ResizablePanel=B.ResizablePanel;exports.ResizablePanelGroup=B.ResizablePanelGroup;exports.ScrollArea=V.ScrollArea;exports.ScrollBar=V.ScrollBar;exports.Select=b.Select;exports.SelectContent=b.SelectContent;exports.SelectGroup=b.SelectGroup;exports.SelectItem=b.SelectItem;exports.SelectLabel=b.SelectLabel;exports.SelectScrollDownButton=b.SelectScrollDownButton;exports.SelectScrollUpButton=b.SelectScrollUpButton;exports.SelectSeparator=b.SelectSeparator;exports.SelectTrigger=b.SelectTrigger;exports.SelectValue=b.SelectValue;exports.Separator=E.Separator;exports.SeparatorWithText=E.SeparatorWithText;exports.Sheet=d.Sheet;exports.SheetClose=d.SheetClose;exports.SheetContent=d.SheetContent;exports.SheetDescription=d.SheetDescription;exports.SheetFooter=d.SheetFooter;exports.SheetHeader=d.SheetHeader;exports.SheetOverlay=d.SheetOverlay;exports.SheetPortal=d.SheetPortal;exports.SheetTitle=d.SheetTitle;exports.SheetTrigger=d.SheetTrigger;exports.Skeleton=oe.Skeleton;exports.Slider=ae.Slider;exports.Sonner=_.Sonner;exports.sonner=_.sonner;exports.SplitLayout=z.SplitLayout;exports.SplitLayoutSection=z.SplitLayoutSection;exports.Switch=ne.Switch;exports.Table=s.Table;exports.TableBody=s.TableBody;exports.TableCaption=s.TableCaption;exports.TableCell=s.TableCell;exports.TableFooter=s.TableFooter;exports.TableHead=s.TableHead;exports.TableHeader=s.TableHeader;exports.TableRow=s.TableRow;exports.Tabs=L.Tabs;exports.TabsContent=L.TabsContent;exports.TabsList=L.TabsList;exports.TabsTrigger=L.TabsTrigger;exports.Textarea=ie.Textarea;exports.Toggle=W.Toggle;exports.toggleVariants=W.toggleVariants;exports.ToggleGroup=X.ToggleGroup;exports.ToggleGroupItem=X.ToggleGroupItem;exports.Tooltip=G.Tooltip;exports.TooltipContent=G.TooltipContent;exports.TooltipProvider=G.TooltipProvider;exports.TooltipTrigger=G.TooltipTrigger;exports.DataTable=S.DataTable;exports.DataTableColumnHeader=S.DataTableColumnHeader;exports.DataTablePagination=S.DataTablePagination;exports.DataTableRowActions=S.DataTableRowActions;exports.DataTableSearch=S.DataTableSearch;exports.DataTableSelectAllCheckbox=S.DataTableSelectAllCheckbox;exports.DataTableSelectRowCheckbox=S.DataTableSelectRowCheckbox;exports.DataTableToolbar=S.DataTableToolbar;exports.Sidebar=e.Sidebar;exports.SidebarCollapseIcon=e.SidebarCollapseIcon;exports.SidebarCollapseIconType=e.SidebarCollapseIconType;exports.SidebarCollapsible=e.SidebarCollapsible;exports.SidebarContent=e.SidebarContent;exports.SidebarFooter=e.SidebarFooter;exports.SidebarGroup=e.SidebarGroup;exports.SidebarGroupAction=e.SidebarGroupAction;exports.SidebarGroupContent=e.SidebarGroupContent;exports.SidebarGroupLabel=e.SidebarGroupLabel;exports.SidebarGroupLabelSize=e.SidebarGroupLabelSize;exports.SidebarGroupLabelVariant=e.SidebarGroupLabelVariant;exports.SidebarHeader=e.SidebarHeader;exports.SidebarInput=e.SidebarInput;exports.SidebarInset=e.SidebarInset;exports.SidebarMenu=e.SidebarMenu;exports.SidebarMenuAction=e.SidebarMenuAction;exports.SidebarMenuBadge=e.SidebarMenuBadge;exports.SidebarMenuButton=e.SidebarMenuButton;exports.SidebarMenuButtonSize=e.SidebarMenuButtonSize;exports.SidebarMenuButtonVariant=e.SidebarMenuButtonVariant;exports.SidebarMenuItem=e.SidebarMenuItem;exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton;exports.SidebarMenuSub=e.SidebarMenuSub;exports.SidebarMenuSubButton=e.SidebarMenuSubButton;exports.SidebarMenuSubButtonSize=e.SidebarMenuSubButtonSize;exports.SidebarMenuSubItem=e.SidebarMenuSubItem;exports.SidebarMenuSubVariant=e.SidebarMenuSubVariant;exports.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useIsMobile=ue.useIsMobile;exports.cn=le.cn;Object.defineProperty(exports,"Area",{enumerable:!0,get:()=>r.Area});Object.defineProperty(exports,"AreaChart",{enumerable:!0,get:()=>r.AreaChart});Object.defineProperty(exports,"Bar",{enumerable:!0,get:()=>r.Bar});Object.defineProperty(exports,"BarChart",{enumerable:!0,get:()=>r.BarChart});Object.defineProperty(exports,"CartesianGrid",{enumerable:!0,get:()=>r.CartesianGrid});Object.defineProperty(exports,"Cell",{enumerable:!0,get:()=>r.Cell});Object.defineProperty(exports,"ChartLabel",{enumerable:!0,get:()=>r.Label});Object.defineProperty(exports,"ChartsLegend",{enumerable:!0,get:()=>r.Legend});Object.defineProperty(exports,"ChartsTooltip",{enumerable:!0,get:()=>r.Tooltip});Object.defineProperty(exports,"Customized",{enumerable:!0,get:()=>r.Customized});Object.defineProperty(exports,"LabelList",{enumerable:!0,get:()=>r.LabelList});Object.defineProperty(exports,"Line",{enumerable:!0,get:()=>r.Line});Object.defineProperty(exports,"LineChart",{enumerable:!0,get:()=>r.LineChart});Object.defineProperty(exports,"Pie",{enumerable:!0,get:()=>r.Pie});Object.defineProperty(exports,"PieChart",{enumerable:!0,get:()=>r.PieChart});Object.defineProperty(exports,"PolarAngleAxis",{enumerable:!0,get:()=>r.PolarAngleAxis});Object.defineProperty(exports,"PolarGrid",{enumerable:!0,get:()=>r.PolarGrid});Object.defineProperty(exports,"PolarRadiusAxis",{enumerable:!0,get:()=>r.PolarRadiusAxis});Object.defineProperty(exports,"Radar",{enumerable:!0,get:()=>r.Radar});Object.defineProperty(exports,"RadarChart",{enumerable:!0,get:()=>r.RadarChart});Object.defineProperty(exports,"RadialBar",{enumerable:!0,get:()=>r.RadialBar});Object.defineProperty(exports,"RadialBarChart",{enumerable:!0,get:()=>r.RadialBarChart});Object.defineProperty(exports,"Rectangle",{enumerable:!0,get:()=>r.Rectangle});Object.defineProperty(exports,"ReferenceLine",{enumerable:!0,get:()=>r.ReferenceLine});Object.defineProperty(exports,"ResponsiveContainer",{enumerable:!0,get:()=>r.ResponsiveContainer});Object.defineProperty(exports,"Sector",{enumerable:!0,get:()=>r.Sector});Object.defineProperty(exports,"XAxis",{enumerable:!0,get:()=>r.XAxis});Object.defineProperty(exports,"YAxis",{enumerable:!0,get:()=>r.YAxis});Object.defineProperty(exports,"REGEXP_ONLY_CHARS",{enumerable:!0,get:()=>f.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>f.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>f.REGEXP_ONLY_DIGITS_AND_CHARS});Object.defineProperty(exports,"createColumnHelper",{enumerable:!0,get:()=>Y.createColumnHelper});Object.defineProperty(exports,"flexRender",{enumerable:!0,get:()=>Y.flexRender});