@walidsj/react-ui 0.2.0 → 0.3.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 (212) hide show
  1. package/README.md +52 -37
  2. package/dist/{accordion-Da0Y5c3W.js → accordion-nzbtc3_2.js} +8 -3
  3. package/dist/accordion-nzbtc3_2.js.map +1 -0
  4. package/dist/{alert-D7lYqDGZ.js → alert-BQzMceKI.js} +7 -3
  5. package/dist/alert-BQzMceKI.js.map +1 -0
  6. package/dist/{alert-dialog-BSyPkfNR.js → alert-dialog-_E4de7AY.js} +13 -3
  7. package/dist/alert-dialog-_E4de7AY.js.map +1 -0
  8. package/dist/{autocomplete-D_OafKFC.js → autocomplete-CVD8GTVR.js} +10 -3
  9. package/dist/autocomplete-CVD8GTVR.js.map +1 -0
  10. package/dist/{avatar-CgtyIpnX.js → avatar-1d_t2tas.js} +9 -4
  11. package/dist/avatar-1d_t2tas.js.map +1 -0
  12. package/dist/{breadcrumb-ieuPHz2w.js → breadcrumb-BGVDD5TT.js} +10 -3
  13. package/dist/breadcrumb-BGVDD5TT.js.map +1 -0
  14. package/dist/{collapsible-CaAEi_w7.js → collapsible-odw6ynaJ.js} +7 -3
  15. package/dist/collapsible-odw6ynaJ.js.map +1 -0
  16. package/dist/{combobox-CDRnBR2S.js → combobox-BjSMdUz_.js} +17 -3
  17. package/dist/combobox-BjSMdUz_.js.map +1 -0
  18. package/dist/components/accordion/accordion.d.ts +9 -4
  19. package/dist/components/accordion/index.d.ts +1 -1
  20. package/dist/components/accordion/index.js +1 -1
  21. package/dist/components/alert/alert.d.ts +4 -3
  22. package/dist/components/alert/index.d.ts +1 -1
  23. package/dist/components/alert/index.js +1 -1
  24. package/dist/components/alert-dialog/alert-dialog.d.ts +16 -9
  25. package/dist/components/alert-dialog/index.d.ts +1 -1
  26. package/dist/components/alert-dialog/index.js +1 -1
  27. package/dist/components/autocomplete/autocomplete.d.ts +13 -6
  28. package/dist/components/autocomplete/index.d.ts +1 -1
  29. package/dist/components/autocomplete/index.js +1 -1
  30. package/dist/components/avatar/avatar-group.d.ts +3 -2
  31. package/dist/components/avatar/avatar.d.ts +7 -3
  32. package/dist/components/avatar/index.d.ts +2 -2
  33. package/dist/components/avatar/index.js +1 -1
  34. package/dist/components/breadcrumb/breadcrumb.d.ts +10 -6
  35. package/dist/components/breadcrumb/index.d.ts +1 -1
  36. package/dist/components/breadcrumb/index.js +1 -1
  37. package/dist/components/card/card.d.ts +7 -6
  38. package/dist/components/card/index.d.ts +1 -1
  39. package/dist/components/collapsible/collapsible.d.ts +7 -3
  40. package/dist/components/collapsible/index.d.ts +1 -1
  41. package/dist/components/collapsible/index.js +1 -1
  42. package/dist/components/combobox/combobox.d.ts +22 -13
  43. package/dist/components/combobox/index.d.ts +1 -1
  44. package/dist/components/combobox/index.js +1 -1
  45. package/dist/components/context-menu/context-menu.d.ts +20 -10
  46. package/dist/components/context-menu/index.d.ts +1 -1
  47. package/dist/components/context-menu/index.js +1 -1
  48. package/dist/components/description-list/description-list.d.ts +4 -3
  49. package/dist/components/description-list/index.d.ts +1 -1
  50. package/dist/components/description-list/index.js +1 -1
  51. package/dist/components/dialog/dialog.d.ts +11 -6
  52. package/dist/components/dialog/index.d.ts +1 -1
  53. package/dist/components/dialog/index.js +1 -1
  54. package/dist/components/drawer/drawer.d.ts +13 -8
  55. package/dist/components/drawer/index.d.ts +1 -1
  56. package/dist/components/drawer/index.js +1 -1
  57. package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -5
  58. package/dist/components/dropdown-menu/index.d.ts +1 -1
  59. package/dist/components/dropdown-menu/index.js +1 -1
  60. package/dist/components/empty/empty.d.ts +4 -3
  61. package/dist/components/empty/index.d.ts +1 -1
  62. package/dist/components/empty/index.js +1 -1
  63. package/dist/components/field/field.d.ts +9 -4
  64. package/dist/components/field/index.d.ts +1 -1
  65. package/dist/components/field/index.js +1 -1
  66. package/dist/components/fieldset/fieldset.d.ts +6 -2
  67. package/dist/components/fieldset/index.d.ts +1 -1
  68. package/dist/components/fieldset/index.js +1 -1
  69. package/dist/components/input-group/index.d.ts +1 -1
  70. package/dist/components/input-group/index.js +1 -1
  71. package/dist/components/input-group/input-group.d.ts +3 -2
  72. package/dist/components/menubar/index.d.ts +1 -1
  73. package/dist/components/menubar/index.js +1 -1
  74. package/dist/components/menubar/menubar.d.ts +13 -6
  75. package/dist/components/navigation-menu/index.d.ts +1 -1
  76. package/dist/components/navigation-menu/index.js +1 -1
  77. package/dist/components/navigation-menu/navigation-menu.d.ts +19 -10
  78. package/dist/components/number-field/index.d.ts +1 -1
  79. package/dist/components/number-field/index.js +1 -1
  80. package/dist/components/number-field/number-field.d.ts +11 -5
  81. package/dist/components/otp-field/index.d.ts +1 -1
  82. package/dist/components/otp-field/index.js +1 -1
  83. package/dist/components/otp-field/otp-field.d.ts +8 -3
  84. package/dist/components/pagination/index.d.ts +1 -1
  85. package/dist/components/pagination/index.js +1 -1
  86. package/dist/components/pagination/pagination.d.ts +11 -7
  87. package/dist/components/popover/index.d.ts +1 -1
  88. package/dist/components/popover/index.js +1 -1
  89. package/dist/components/popover/popover.d.ts +11 -6
  90. package/dist/components/preview-card/index.d.ts +1 -1
  91. package/dist/components/preview-card/index.js +1 -1
  92. package/dist/components/preview-card/preview-card.d.ts +9 -4
  93. package/dist/components/radio-group/index.d.ts +1 -1
  94. package/dist/components/radio-group/index.js +1 -1
  95. package/dist/components/radio-group/radio-group.d.ts +6 -2
  96. package/dist/components/select/index.d.ts +1 -1
  97. package/dist/components/select/index.js +1 -1
  98. package/dist/components/select/select.d.ts +11 -6
  99. package/dist/components/sheet/index.d.ts +1 -1
  100. package/dist/components/sheet/index.js +1 -1
  101. package/dist/components/sheet/sheet.d.ts +12 -8
  102. package/dist/components/sidebar/index.d.ts +1 -1
  103. package/dist/components/sidebar/index.js +1 -1
  104. package/dist/components/sidebar/sidebar.d.ts +10 -9
  105. package/dist/components/table/index.d.ts +1 -1
  106. package/dist/components/table/index.js +1 -1
  107. package/dist/components/table/table.d.ts +9 -8
  108. package/dist/components/tabs/index.d.ts +1 -1
  109. package/dist/components/tabs/index.js +1 -1
  110. package/dist/components/tabs/tabs.d.ts +10 -4
  111. package/dist/components/toast/index.d.ts +1 -1
  112. package/dist/components/toast/index.js +1 -1
  113. package/dist/components/toast/toast.d.ts +10 -7
  114. package/dist/components/toggle-group/index.d.ts +1 -1
  115. package/dist/components/toggle-group/index.js +1 -1
  116. package/dist/components/toggle-group/toggle-group.d.ts +6 -2
  117. package/dist/components/toolbar/index.d.ts +1 -1
  118. package/dist/components/toolbar/index.js +1 -1
  119. package/dist/components/toolbar/toolbar.d.ts +14 -6
  120. package/dist/components/tooltip/index.d.ts +1 -1
  121. package/dist/components/tooltip/index.js +1 -1
  122. package/dist/components/tooltip/tooltip.d.ts +7 -4
  123. package/dist/{context-menu-Bgjfb3Vn.js → context-menu-paRijJ7d.js} +14 -3
  124. package/dist/context-menu-paRijJ7d.js.map +1 -0
  125. package/dist/{description-list-DsadmGs0.js → description-list-DDfz-rHA.js} +7 -3
  126. package/dist/description-list-DDfz-rHA.js.map +1 -0
  127. package/dist/{dialog-55wgLYTM.js → dialog-wnHwh4r8.js} +10 -3
  128. package/dist/dialog-wnHwh4r8.js.map +1 -0
  129. package/dist/{drawer-C00GsyiF.js → drawer-C27gyXYB.js} +12 -3
  130. package/dist/drawer-C27gyXYB.js.map +1 -0
  131. package/dist/{dropdown-menu-Bdv_CYy4.js → dropdown-menu-nea36MKM.js} +9 -3
  132. package/dist/dropdown-menu-nea36MKM.js.map +1 -0
  133. package/dist/{empty-BQnRtQAg.js → empty-Cqrg0Hyt.js} +7 -3
  134. package/dist/empty-Cqrg0Hyt.js.map +1 -0
  135. package/dist/{field-CmdqOHUg.js → field-C-2eNSGZ.js} +8 -3
  136. package/dist/field-C-2eNSGZ.js.map +1 -0
  137. package/dist/{fieldset-DyFySEr8.js → fieldset-Cgl_KnGa.js} +4 -3
  138. package/dist/fieldset-Cgl_KnGa.js.map +1 -0
  139. package/dist/index.d.ts +38 -35
  140. package/dist/index.js +48 -42
  141. package/dist/index.js.map +1 -1
  142. package/dist/{input-group-wc-i4msT.js → input-group-DgRdsJK8.js} +4 -3
  143. package/dist/input-group-DgRdsJK8.js.map +1 -0
  144. package/dist/{menubar-Dsu8-ZDe.js → menubar-11VKbNs2.js} +10 -3
  145. package/dist/menubar-11VKbNs2.js.map +1 -0
  146. package/dist/{navigation-menu-DsyXq41S.js → navigation-menu-DP7r2PP-.js} +14 -3
  147. package/dist/navigation-menu-DP7r2PP-.js.map +1 -0
  148. package/dist/{number-field-B1tNwdKz.js → number-field-YJ_58VU5.js} +9 -3
  149. package/dist/number-field-YJ_58VU5.js.map +1 -0
  150. package/dist/{otp-field-Cptj2cmZ.js → otp-field-DZmagJ_O.js} +7 -3
  151. package/dist/otp-field-DZmagJ_O.js.map +1 -0
  152. package/dist/{pagination-2XGW4DoY.js → pagination-CSAJn5Ph.js} +11 -3
  153. package/dist/pagination-CSAJn5Ph.js.map +1 -0
  154. package/dist/{popover-D5LdFHVS.js → popover-COYlKfkf.js} +10 -3
  155. package/dist/popover-COYlKfkf.js.map +1 -0
  156. package/dist/{preview-card-Cmds7aMj.js → preview-card-ByyvdPvk.js} +8 -3
  157. package/dist/preview-card-ByyvdPvk.js.map +1 -0
  158. package/dist/{radio-group-C2eDfEYd.js → radio-group-OdNChchU.js} +4 -3
  159. package/dist/radio-group-OdNChchU.js.map +1 -0
  160. package/dist/{select-CRy8QX_0.js → select--Rn5DQaC.js} +10 -3
  161. package/dist/select--Rn5DQaC.js.map +1 -0
  162. package/dist/{sheet-BVDn2j7O.js → sheet-B6-iNDZG.js} +12 -3
  163. package/dist/sheet-B6-iNDZG.js.map +1 -0
  164. package/dist/{sidebar-CHBlzB0E.js → sidebar-C9YE73TS.js} +13 -3
  165. package/dist/sidebar-C9YE73TS.js.map +1 -0
  166. package/dist/{table-BG-OtXYI.js → table-CH0H16pL.js} +12 -3
  167. package/dist/table-CH0H16pL.js.map +1 -0
  168. package/dist/{tabs-BsDJVa2q.js → tabs-VnWSV0RD.js} +8 -3
  169. package/dist/tabs-VnWSV0RD.js.map +1 -0
  170. package/dist/{toast-BtHOJV7_.js → toast-BkDQhrZ5.js} +11 -3
  171. package/dist/toast-BkDQhrZ5.js.map +1 -0
  172. package/dist/{toggle-group-NHZGXljI.js → toggle-group-B8vnkGCk.js} +4 -3
  173. package/dist/toggle-group-B8vnkGCk.js.map +1 -0
  174. package/dist/{toolbar-DJDrGUV_.js → toolbar-BVA36_dH.js} +10 -3
  175. package/dist/toolbar-BVA36_dH.js.map +1 -0
  176. package/dist/{tooltip-B07nkHWG.js → tooltip-a7t8wv2L.js} +8 -3
  177. package/dist/tooltip-a7t8wv2L.js.map +1 -0
  178. package/package.json +1 -1
  179. package/dist/accordion-Da0Y5c3W.js.map +0 -1
  180. package/dist/alert-D7lYqDGZ.js.map +0 -1
  181. package/dist/alert-dialog-BSyPkfNR.js.map +0 -1
  182. package/dist/autocomplete-D_OafKFC.js.map +0 -1
  183. package/dist/avatar-CgtyIpnX.js.map +0 -1
  184. package/dist/breadcrumb-ieuPHz2w.js.map +0 -1
  185. package/dist/collapsible-CaAEi_w7.js.map +0 -1
  186. package/dist/combobox-CDRnBR2S.js.map +0 -1
  187. package/dist/context-menu-Bgjfb3Vn.js.map +0 -1
  188. package/dist/description-list-DsadmGs0.js.map +0 -1
  189. package/dist/dialog-55wgLYTM.js.map +0 -1
  190. package/dist/drawer-C00GsyiF.js.map +0 -1
  191. package/dist/dropdown-menu-Bdv_CYy4.js.map +0 -1
  192. package/dist/empty-BQnRtQAg.js.map +0 -1
  193. package/dist/field-CmdqOHUg.js.map +0 -1
  194. package/dist/fieldset-DyFySEr8.js.map +0 -1
  195. package/dist/input-group-wc-i4msT.js.map +0 -1
  196. package/dist/menubar-Dsu8-ZDe.js.map +0 -1
  197. package/dist/navigation-menu-DsyXq41S.js.map +0 -1
  198. package/dist/number-field-B1tNwdKz.js.map +0 -1
  199. package/dist/otp-field-Cptj2cmZ.js.map +0 -1
  200. package/dist/pagination-2XGW4DoY.js.map +0 -1
  201. package/dist/popover-D5LdFHVS.js.map +0 -1
  202. package/dist/preview-card-Cmds7aMj.js.map +0 -1
  203. package/dist/radio-group-C2eDfEYd.js.map +0 -1
  204. package/dist/select-CRy8QX_0.js.map +0 -1
  205. package/dist/sheet-BVDn2j7O.js.map +0 -1
  206. package/dist/sidebar-CHBlzB0E.js.map +0 -1
  207. package/dist/table-BG-OtXYI.js.map +0 -1
  208. package/dist/tabs-BsDJVa2q.js.map +0 -1
  209. package/dist/toast-BtHOJV7_.js.map +0 -1
  210. package/dist/toggle-group-NHZGXljI.js.map +0 -1
  211. package/dist/toolbar-DJDrGUV_.js.map +0 -1
  212. package/dist/tooltip-B07nkHWG.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldset-DyFySEr8.js","names":["Fieldset","BaseFieldset"],"sources":["../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import { Fieldset as BaseFieldset } from \"@base-ui/react/fieldset\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Fieldset({ className, ...props }: ComponentProps<typeof BaseFieldset.Root>) {\n return <BaseFieldset.Root {...props} className={cn(\"flex min-w-0 flex-col gap-4\", className)} />;\n}\n\nexport function FieldsetLegend({ className, ...props }: ComponentProps<typeof BaseFieldset.Legend>) {\n return <BaseFieldset.Legend {...props} className={cn(\"text-foreground mb-1 text-sm font-semibold\", className)} />;\n}\n"],"mappings":";;;;AAIA,SAAgBA,WAAS,EAAE,WAAW,GAAG,SAAmD;CAC1F,OAAO,oBAACC,SAAa,MAAd;EAAmB,GAAI;EAAO,WAAW,GAAG,+BAA+B,SAAS;CAAI,CAAA;AACjG;AAEA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAAqD;CAClG,OAAO,oBAACA,SAAa,QAAd;EAAqB,GAAI;EAAO,WAAW,GAAG,8CAA8C,SAAS;CAAI,CAAA;AAClH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-group-wc-i4msT.js","names":[],"sources":["../src/components/input-group/input-group.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const InputGroup = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function InputGroup({ className, ...props }, ref) {\n return (\n <div\n {...props}\n ref={ref}\n className={cn(\n \"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 flex min-h-10 w-full items-center gap-2 border px-3 transition-colors focus-within:ring-2\",\n className,\n )}\n />\n );\n },\n);\n\nexport const InputGroupAddon = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"span\">>(\n function InputGroupAddon({ className, ...props }, ref) {\n return (\n <span\n {...props}\n ref={ref}\n aria-hidden={props[\"aria-label\"] ? undefined : true}\n className={cn(\"text-muted-foreground inline-flex shrink-0 items-center text-sm\", className)}\n />\n );\n },\n);\n"],"mappings":";;;;AAGA,IAAa,aAAa,WACxB,SAAS,WAAW,EAAE,WAAW,GAAG,SAAS,KAAK;CAChD,OACE,oBAAC,OAAD;EACE,GAAI;EACC;EACL,WAAW,GACT,0LACA,SACF;CACD,CAAA;AAEL,CACF;AAEA,IAAa,kBAAkB,WAC7B,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAS,KAAK;CACrD,OACE,oBAAC,QAAD;EACE,GAAI;EACC;EACL,eAAa,MAAM,gBAAgB,KAAA,IAAY;EAC/C,WAAW,GAAG,mEAAmE,SAAS;CAC3F,CAAA;AAEL,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menubar-Dsu8-ZDe.js","names":["Menubar","BaseMenubar"],"sources":["../src/components/menubar/menubar.tsx"],"sourcesContent":["import { Menu } from \"@base-ui/react/menu\";\nimport { Menubar as BaseMenubar } from \"@base-ui/react/menubar\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Menubar({ className, ...props }: ComponentProps<typeof BaseMenubar>) {\n return <BaseMenubar {...props} className={cn(\"rounded-ui-md border-border bg-background flex w-fit items-center gap-1 border p-1\", className)} />;\n}\n\nexport const MenubarMenu = Menu.Root;\n\nexport function MenubarTrigger({ className, ...props }: ComponentProps<typeof Menu.Trigger>) {\n return <Menu.Trigger {...props} className={cn(\"rounded-ui-sm text-foreground data-[pressed]:bg-muted hover:bg-muted focus-visible:ring-ring h-8 px-3 text-sm outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function MenubarContent({ className, ...props }: ComponentProps<typeof Menu.Popup>) {\n return <Menu.Portal><Menu.Positioner sideOffset={4} className=\"z-50 outline-none\"><Menu.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground min-w-40 border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)} /></Menu.Positioner></Menu.Portal>;\n}\n\nexport function MenubarItem({ className, ...props }: ComponentProps<typeof Menu.Item>) {\n return <Menu.Item {...props} className={cn(\"rounded-ui-sm focus:bg-muted focus:text-foreground relative flex cursor-default items-center gap-2 px-2 py-1.5 text-sm outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50\", className)} />;\n}\n\nexport function MenubarSeparator({ className, ...props }: ComponentProps<typeof Menu.Separator>) {\n return <Menu.Separator {...props} className={cn(\"bg-border -mx-1 my-1 h-px\", className)} />;\n}\n"],"mappings":";;;;;AAKA,SAAgBA,UAAQ,EAAE,WAAW,GAAG,SAA6C;CACnF,OAAO,oBAACC,SAAD;EAAa,GAAI;EAAO,WAAW,GAAG,sFAAsF,SAAS;CAAI,CAAA;AAClJ;AAEA,IAAa,cAAc,KAAK;AAEhC,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8C;CAC3F,OAAO,oBAAC,KAAK,SAAN;EAAc,GAAI;EAAO,WAAW,GAAG,mJAAmJ,SAAS;CAAI,CAAA;AAChN;AAEA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA4C;CACzF,OAAO,oBAAC,KAAK,QAAN,EAAA,UAAa,oBAAC,KAAK,YAAN;EAAiB,YAAY;EAAG,WAAU;EAAoB,UAAA,oBAAC,KAAK,OAAN;GAAY,GAAI;GAAO,WAAW,GAAG,kIAAkI,SAAS;EAAI,CAAA;CAAkB,CAAA,EAAc,CAAA;AACxS;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAA2C;CACrF,OAAO,oBAAC,KAAK,MAAN;EAAW,GAAI;EAAO,WAAW,GAAG,8MAA8M,SAAS;CAAI,CAAA;AACxQ;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAgD;CAC/F,OAAO,oBAAC,KAAK,WAAN;EAAgB,GAAI;EAAO,WAAW,GAAG,6BAA6B,SAAS;CAAI,CAAA;AAC5F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"navigation-menu-DsyXq41S.js","names":["NavigationMenu","BaseNavigationMenu"],"sources":["../src/components/navigation-menu/navigation-menu.tsx"],"sourcesContent":["import { NavigationMenu as BaseNavigationMenu } from \"@base-ui/react/navigation-menu\";\nimport { IconChevronDown } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function NavigationMenu({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.Root>) {\n return <BaseNavigationMenu.Root {...props} className={cn(\"relative z-10 flex w-max items-center\", className)} />;\n}\n\nexport function NavigationMenuList({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.List>) {\n return <BaseNavigationMenu.List {...props} className={cn(\"flex items-center gap-1\", className)} />;\n}\n\nexport const NavigationMenuItem = BaseNavigationMenu.Item;\n\nexport function NavigationMenuTrigger({ className, children, ...props }: ComponentProps<typeof BaseNavigationMenu.Trigger>) {\n return <BaseNavigationMenu.Trigger {...props} className={cn(\"rounded-ui-md text-foreground data-[popup-open]:bg-muted hover:bg-muted focus-visible:ring-ring inline-flex h-9 items-center gap-2 px-3 text-sm font-medium outline-none focus-visible:ring-2\", className)}>{children}<BaseNavigationMenu.Icon className=\"text-muted-foreground flex transition-transform data-[popup-open]:rotate-180\"><IconChevronDown size={16} aria-hidden=\"true\" /></BaseNavigationMenu.Icon></BaseNavigationMenu.Trigger>;\n}\n\nexport function NavigationMenuContent({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.Content>) {\n return <BaseNavigationMenu.Content {...props} className={cn(\"rounded-ui-md bg-background text-foreground p-4\", className)} />;\n}\n\nexport function NavigationMenuLink({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.Link>) {\n return <BaseNavigationMenu.Link {...props} className={cn(\"rounded-ui-sm text-foreground hover:bg-muted focus-visible:ring-ring block p-3 text-sm outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function NavigationMenuPopup({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.Popup>) {\n return <BaseNavigationMenu.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background min-w-56 border shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)} />;\n}\n\nexport function NavigationMenuViewport({ className, ...props }: ComponentProps<typeof BaseNavigationMenu.Viewport>) {\n return <BaseNavigationMenu.Viewport {...props} className={cn(\"relative h-full w-full overflow-hidden\", className)} />;\n}\n\nexport const NavigationMenuPortal = BaseNavigationMenu.Portal;\nexport const NavigationMenuPositioner = BaseNavigationMenu.Positioner;\n"],"mappings":";;;;;AAKA,SAAgBA,iBAAe,EAAE,WAAW,GAAG,SAAyD;CACtG,OAAO,oBAACC,eAAmB,MAApB;EAAyB,GAAI;EAAO,WAAW,GAAG,yCAAyC,SAAS;CAAI,CAAA;AACjH;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OAAO,oBAACA,eAAmB,MAApB;EAAyB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AACnG;AAEA,IAAa,qBAAqBA,eAAmB;AAErD,SAAgB,sBAAsB,EAAE,WAAW,UAAU,GAAG,SAA4D;CAC1H,OAAO,qBAACA,eAAmB,SAApB;EAA4B,GAAI;EAAO,WAAW,GAAG,iMAAiM,SAAS;EAA/P,UAAA,CAAmQ,UAAS,oBAACA,eAAmB,MAApB;GAAyB,WAAU;GAA+E,UAAA,oBAAC,iBAAD;IAAiB,MAAM;IAAI,eAAY;GAAQ,CAAA;EAA0B,CAAA,CAA6B;;AAC7e;AAEA,SAAgB,sBAAsB,EAAE,WAAW,GAAG,SAA4D;CAChH,OAAO,oBAACA,eAAmB,SAApB;EAA4B,GAAI;EAAO,WAAW,GAAG,mDAAmD,SAAS;CAAI,CAAA;AAC9H;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OAAO,oBAACA,eAAmB,MAApB;EAAyB,GAAI;EAAO,WAAW,GAAG,4HAA4H,SAAS;CAAI,CAAA;AACpM;AAEA,SAAgB,oBAAoB,EAAE,WAAW,GAAG,SAA0D;CAC5G,OAAO,oBAACA,eAAmB,OAApB;EAA0B,GAAI;EAAO,WAAW,GAAG,8GAA8G,SAAS;CAAI,CAAA;AACvL;AAEA,SAAgB,uBAAuB,EAAE,WAAW,GAAG,SAA6D;CAClH,OAAO,oBAACA,eAAmB,UAApB;EAA6B,GAAI;EAAO,WAAW,GAAG,0CAA0C,SAAS;CAAI,CAAA;AACtH;AAEA,IAAa,uBAAuBA,eAAmB;AACvD,IAAa,2BAA2BA,eAAmB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"number-field-B1tNwdKz.js","names":["NumberField","BaseNumberField"],"sources":["../src/components/number-field/number-field.tsx"],"sourcesContent":["import { NumberField as BaseNumberField } from \"@base-ui/react/number-field\";\nimport { IconMinus, IconPlus } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const NumberField = BaseNumberField.Root;\n\nexport function NumberFieldGroup({ className, ...props }: ComponentProps<typeof BaseNumberField.Group>) {\n return <BaseNumberField.Group {...props} className={cn(\"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 flex h-10 items-center border outline-none focus-within:ring-2\", className)} />;\n}\n\nexport function NumberFieldInput({ className, ...props }: ComponentProps<typeof BaseNumberField.Input>) {\n return <BaseNumberField.Input {...props} className={cn(\"text-foreground min-w-0 flex-1 bg-transparent px-3 text-sm outline-none\", className)} />;\n}\n\nexport function NumberFieldIncrement({ className, ...props }: ComponentProps<typeof BaseNumberField.Increment>) {\n return <BaseNumberField.Increment {...props} className={cn(\"border-border text-muted-foreground hover:bg-muted flex h-full items-center justify-center border-l px-3\", className)}><IconPlus size={16} aria-hidden=\"true\" /></BaseNumberField.Increment>;\n}\n\nexport function NumberFieldDecrement({ className, ...props }: ComponentProps<typeof BaseNumberField.Decrement>) {\n return <BaseNumberField.Decrement {...props} className={cn(\"border-border text-muted-foreground hover:bg-muted flex h-full items-center justify-center border-r px-3\", className)}><IconMinus size={16} aria-hidden=\"true\" /></BaseNumberField.Decrement>;\n}\n"],"mappings":";;;;;AAKA,IAAaA,gBAAcC,YAAgB;AAE3C,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,+JAA+J,SAAS;CAAI,CAAA;AACrO;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,2EAA2E,SAAS;CAAI,CAAA;AACjJ;AAEA,SAAgB,qBAAqB,EAAE,WAAW,GAAG,SAA2D;CAC9G,OAAO,oBAACA,YAAgB,WAAjB;EAA2B,GAAI;EAAO,WAAW,GAAG,4GAA4G,SAAS;EAAG,UAAA,oBAAC,UAAD;GAAU,MAAM;GAAI,eAAY;EAAQ,CAAA;CAA4B,CAAA;AACzP;AAEA,SAAgB,qBAAqB,EAAE,WAAW,GAAG,SAA2D;CAC9G,OAAO,oBAACA,YAAgB,WAAjB;EAA2B,GAAI;EAAO,WAAW,GAAG,4GAA4G,SAAS;EAAG,UAAA,oBAAC,WAAD;GAAW,MAAM;GAAI,eAAY;EAAQ,CAAA;CAA4B,CAAA;AAC1P"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"otp-field-Cptj2cmZ.js","names":["OTPField","BaseOTPField"],"sources":["../src/components/otp-field/otp-field.tsx"],"sourcesContent":["import { OTPField as BaseOTPField } from \"@base-ui/react/otp-field\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function OTPField({ className, ...props }: ComponentProps<typeof BaseOTPField.Root>) {\n return <BaseOTPField.Root {...props} className={cn(\"flex items-center gap-2\", className)} />;\n}\n\nexport function OTPFieldInput({ className, ...props }: ComponentProps<typeof BaseOTPField.Input>) {\n return <BaseOTPField.Input {...props} className={cn(\"rounded-ui-md border-border bg-background text-foreground aria-invalid:border-danger focus-visible:border-ring focus-visible:ring-ring/40 size-11 border text-center text-lg font-medium outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function OTPFieldSeparator({ className, ...props }: ComponentProps<typeof BaseOTPField.Separator>) {\n return <BaseOTPField.Separator {...props} className={cn(\"bg-border h-px w-3\", className)} />;\n}\n"],"mappings":";;;;AAIA,SAAgBA,WAAS,EAAE,WAAW,GAAG,SAAmD;CAC1F,OAAO,oBAACC,SAAa,MAAd;EAAmB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AAC7F;AAEA,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoD;CAChG,OAAO,oBAACA,SAAa,OAAd;EAAoB,GAAI;EAAO,WAAW,GAAG,8NAA8N,SAAS;CAAI,CAAA;AACjS;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACxG,OAAO,oBAACA,SAAa,WAAd;EAAwB,GAAI;EAAO,WAAW,GAAG,sBAAsB,SAAS;CAAI,CAAA;AAC7F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagination-2XGW4DoY.js","names":[],"sources":["../src/components/pagination/pagination.tsx"],"sourcesContent":["import { IconChevronLeft, IconChevronRight, IconDots } from \"@tabler/icons-react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst paginationLinkVariants = cva(\n \"rounded-ui-md focus-visible:ring-ring focus-visible:ring-offset-background inline-flex items-center justify-center gap-1 text-sm font-medium whitespace-nowrap transition-colors outline-none select-none focus-visible:ring-2 focus-visible:ring-offset-2\",\n {\n variants: {\n variant: {\n ghost: \"text-muted-foreground hover:bg-muted hover:text-foreground\",\n outline: \"border-border bg-background text-foreground border\",\n },\n size: {\n default: \"h-9 min-w-9 px-3\",\n sm: \"h-8 min-w-8 px-2.5 text-xs\",\n icon: \"size-9\",\n },\n },\n defaultVariants: { variant: \"ghost\", size: \"default\" },\n },\n);\n\nexport type PaginationLinkSize = NonNullable<VariantProps<typeof paginationLinkVariants>[\"size\"]>;\n\nexport const Pagination = forwardRef<HTMLElement, ComponentPropsWithoutRef<\"nav\">>(\n function Pagination({ className, \"aria-label\": ariaLabel = \"pagination\", ...props }, ref) {\n return <nav {...props} ref={ref} aria-label={ariaLabel} className={cn(\"mx-auto flex w-full justify-center\", className)} />;\n },\n);\n\nexport const PaginationContent = forwardRef<HTMLUListElement, ComponentPropsWithoutRef<\"ul\">>(\n function PaginationContent({ className, ...props }, ref) {\n return <ul {...props} ref={ref} className={cn(\"flex flex-row items-center gap-1\", className)} />;\n },\n);\n\nexport const PaginationItem = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<\"li\">>(\n function PaginationItem({ className, ...props }, ref) {\n return <li {...props} ref={ref} className={cn(\"\", className)} />;\n },\n);\n\nexport interface PaginationLinkProps extends ComponentPropsWithoutRef<\"a\"> {\n isActive?: boolean;\n size?: PaginationLinkSize;\n}\n\nexport const PaginationLink = forwardRef<HTMLAnchorElement, PaginationLinkProps>(\n function PaginationLink({ className, isActive = false, size = \"default\", ...props }, ref) {\n return (\n <a\n {...props}\n ref={ref}\n aria-current={isActive ? \"page\" : undefined}\n data-active={isActive ? \"\" : undefined}\n className={cn(paginationLinkVariants({ variant: isActive ? \"outline\" : \"ghost\", size }), className)}\n />\n );\n },\n);\n\nexport function PaginationPrevious({ className, \"aria-label\": ariaLabel = \"Go to previous page\", ...props }: Omit<PaginationLinkProps, \"children\">) {\n return (\n <PaginationLink {...props} aria-label={ariaLabel} className={cn(\"gap-1 pl-2.5\", className)}>\n <span aria-hidden=\"true\" className=\"flex\"><IconChevronLeft size={16} /></span>\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\nexport function PaginationNext({ className, \"aria-label\": ariaLabel = \"Go to next page\", ...props }: Omit<PaginationLinkProps, \"children\">) {\n return (\n <PaginationLink {...props} aria-label={ariaLabel} className={cn(\"gap-1 pr-2.5\", className)}>\n <span>Next</span>\n <span aria-hidden=\"true\" className=\"flex\"><IconChevronRight size={16} /></span>\n </PaginationLink>\n );\n}\n\nexport function PaginationEllipsis({ className, ...props }: ComponentPropsWithoutRef<\"span\">) {\n return (\n <span {...props} aria-hidden=\"true\" className={cn(\"text-muted-foreground flex size-9 items-center justify-center\", className)}>\n <IconDots size={16} aria-hidden=\"true\" /><span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n"],"mappings":";;;;;;AAKA,IAAM,yBAAyB,IAC7B,8PACA;CACE,UAAU;EACR,SAAS;GACP,OAAO;GACP,SAAS;EACX;EACA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,MAAM;EACR;CACF;CACA,iBAAiB;EAAE,SAAS;EAAS,MAAM;CAAU;AACvD,CACF;AAIA,IAAa,aAAa,WACxB,SAAS,WAAW,EAAE,WAAW,cAAc,YAAY,cAAc,GAAG,SAAS,KAAK;CACxF,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,cAAY;EAAW,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAC3H,CACF;AAEA,IAAa,oBAAoB,WAC/B,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,oCAAoC,SAAS;CAAI,CAAA;AACjG,CACF;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,IAAI,SAAS;CAAI,CAAA;AACjE,CACF;AAOA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,WAAW,OAAO,OAAO,WAAW,GAAG,SAAS,KAAK;CACxF,OACE,oBAAC,KAAD;EACE,GAAI;EACC;EACL,gBAAc,WAAW,SAAS,KAAA;EAClC,eAAa,WAAW,KAAK,KAAA;EAC7B,WAAW,GAAG,uBAAuB;GAAE,SAAS,WAAW,YAAY;GAAS;EAAK,CAAC,GAAG,SAAS;CACnG,CAAA;AAEL,CACF;AAEA,SAAgB,mBAAmB,EAAE,WAAW,cAAc,YAAY,uBAAuB,GAAG,SAAgD;CAClJ,OACE,qBAAC,gBAAD;EAAgB,GAAI;EAAO,cAAY;EAAW,WAAW,GAAG,gBAAgB,SAAS;EAAzF,UAAA,CACE,oBAAC,QAAD;GAAM,eAAY;GAAO,WAAU;GAAO,UAAA,oBAAC,iBAAD,EAAiB,MAAM,GAAK,CAAA;EAAO,CAAA,GAC7E,oBAAC,QAAD,EAAA,UAAM,WAAc,CAAA,CACN;;AAEpB;AAEA,SAAgB,eAAe,EAAE,WAAW,cAAc,YAAY,mBAAmB,GAAG,SAAgD;CAC1I,OACE,qBAAC,gBAAD;EAAgB,GAAI;EAAO,cAAY;EAAW,WAAW,GAAG,gBAAgB,SAAS;EAAzF,UAAA,CACE,oBAAC,QAAD,EAAA,UAAM,OAAU,CAAA,GAChB,oBAAC,QAAD;GAAM,eAAY;GAAO,WAAU;GAAO,UAAA,oBAAC,kBAAD,EAAkB,MAAM,GAAK,CAAA;EAAO,CAAA,CAChE;;AAEpB;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAA2C;CAC5F,OACE,qBAAC,QAAD;EAAM,GAAI;EAAO,eAAY;EAAO,WAAW,GAAG,iEAAiE,SAAS;EAA5H,UAAA,CACE,oBAAC,UAAD;GAAU,MAAM;GAAI,eAAY;EAAQ,CAAA,GAAC,oBAAC,QAAD;GAAM,WAAU;GAAU,UAAA;EAAgB,CAAA,CAC/E;;AAEV"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"popover-D5LdFHVS.js","names":["Popover","BasePopover"],"sources":["../src/components/popover/popover.tsx"],"sourcesContent":["import { Popover as BasePopover } from \"@base-ui/react/popover\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Popover = BasePopover.Root;\nexport const PopoverTrigger = BasePopover.Trigger;\nexport const PopoverClose = BasePopover.Close;\n\nexport function PopoverContent({ className, children, ...props }: ComponentProps<typeof BasePopover.Popup>) {\n return <BasePopover.Portal><BasePopover.Positioner sideOffset={6}><BasePopover.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground w-72 border p-4 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)}>{children}</BasePopover.Popup></BasePopover.Positioner></BasePopover.Portal>;\n}\n\nexport function PopoverTitle({ className, ...props }: ComponentProps<typeof BasePopover.Title>) {\n return <BasePopover.Title {...props} className={cn(\"text-foreground text-sm font-medium\", className)} />;\n}\n\nexport function PopoverDescription({ className, ...props }: ComponentProps<typeof BasePopover.Description>) {\n return <BasePopover.Description {...props} className={cn(\"text-muted-foreground mt-1 text-sm\", className)} />;\n}\n"],"mappings":";;;;AAIA,IAAaA,YAAUC,QAAY;AACnC,IAAa,iBAAiBA,QAAY;AAC1C,IAAa,eAAeA,QAAY;AAExC,SAAgB,eAAe,EAAE,WAAW,UAAU,GAAG,SAAmD;CAC1G,OAAO,oBAACA,QAAY,QAAb,EAAA,UAAoB,oBAACA,QAAY,YAAb;EAAwB,YAAY;EAAG,UAAA,oBAACA,QAAY,OAAb;GAAmB,GAAI;GAAO,WAAW,GAAG,8HAA8H,SAAS;GAAI;EAA4B,CAAA;CAAyB,CAAA,EAAqB,CAAA;AACrU;AAEA,SAAgB,aAAa,EAAE,WAAW,GAAG,SAAmD;CAC9F,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,uCAAuC,SAAS;CAAI,CAAA;AACzG;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OAAO,oBAACA,QAAY,aAAb;EAAyB,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAC9G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"preview-card-Cmds7aMj.js","names":["PreviewCard","BasePreviewCard"],"sources":["../src/components/preview-card/preview-card.tsx"],"sourcesContent":["import { PreviewCard as BasePreviewCard } from \"@base-ui/react/preview-card\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const PreviewCard = BasePreviewCard.Root;\n\nexport function PreviewCardTrigger({ className, ...props }: ComponentProps<typeof BasePreviewCard.Trigger>) {\n return <BasePreviewCard.Trigger {...props} className={cn(\"text-link underline decoration-link/40 underline-offset-2 hover:decoration-link focus-visible:ring-ring rounded-sm outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function PreviewCardContent({ className, children, ...props }: ComponentProps<typeof BasePreviewCard.Popup>) {\n return (\n <BasePreviewCard.Portal>\n <BasePreviewCard.Positioner sideOffset={8} className=\"z-50 outline-none\">\n <BasePreviewCard.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground w-64 border p-4 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none transition-[transform,opacity] data-ending-style:scale-[0.98] data-ending-style:opacity-0 data-starting-style:scale-[0.98] data-starting-style:opacity-0\", className)}>\n {children}\n </BasePreviewCard.Popup>\n </BasePreviewCard.Positioner>\n </BasePreviewCard.Portal>\n );\n}\n\nexport function PreviewCardArrow({ className, ...props }: ComponentProps<typeof BasePreviewCard.Arrow>) {\n return <BasePreviewCard.Arrow {...props} className={cn(\"fill-background\", className)} />;\n}\n"],"mappings":";;;;AAIA,IAAaA,gBAAcC,YAAgB;AAE3C,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OAAO,oBAACA,YAAgB,SAAjB;EAAyB,GAAI;EAAO,WAAW,GAAG,wJAAwJ,SAAS;CAAI,CAAA;AAChO;AAEA,SAAgB,mBAAmB,EAAE,WAAW,UAAU,GAAG,SAAuD;CAClH,OACE,oBAACA,YAAgB,QAAjB,EAAA,UACE,oBAACA,YAAgB,YAAjB;EAA4B,YAAY;EAAG,WAAU;EACnD,UAAA,oBAACA,YAAgB,OAAjB;GAAuB,GAAI;GAAO,WAAW,GAAG,uRAAuR,SAAS;GAC7U;EACoB,CAAA;CACG,CAAA,EACN,CAAA;AAE5B;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,mBAAmB,SAAS;CAAI,CAAA;AACzF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group-C2eDfEYd.js","names":["RadioGroup","BaseRadioGroup","BaseRadio"],"sources":["../src/components/radio-group/radio-group.tsx"],"sourcesContent":["import { Radio as BaseRadio } from \"@base-ui/react/radio\";\nimport { RadioGroup as BaseRadioGroup } from \"@base-ui/react/radio-group\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function RadioGroup({ className, ...props }: ComponentProps<typeof BaseRadioGroup>) {\n return <BaseRadioGroup {...props} className={cn(\"grid gap-2\", className)} />;\n}\n\nexport function RadioGroupItem({ className, ...props }: ComponentProps<typeof BaseRadio.Root>) {\n return <BaseRadio.Root {...props} className={cn(\"rounded-full border-border text-primary focus-visible:border-ring focus-visible:ring-ring/40 size-4 shrink-0 border outline-none focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50\", className)}><BaseRadio.Indicator className=\"flex items-center justify-center\"><span className=\"bg-current size-2 rounded-full\" /></BaseRadio.Indicator></BaseRadio.Root>;\n}\n"],"mappings":";;;;;AAKA,SAAgBA,aAAW,EAAE,WAAW,GAAG,SAAgD;CACzF,OAAO,oBAACC,YAAD;EAAgB,GAAI;EAAO,WAAW,GAAG,cAAc,SAAS;CAAI,CAAA;AAC7E;AAEA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAAgD;CAC7F,OAAO,oBAACC,MAAU,MAAX;EAAgB,GAAI;EAAO,WAAW,GAAG,yMAAyM,SAAS;EAAG,UAAA,oBAACA,MAAU,WAAX;GAAqB,WAAU;GAAmC,UAAA,oBAAC,QAAD,EAAM,WAAU,iCAAkC,CAAA;EAAsB,CAAA;CAAiB,CAAA;AACla"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-CRy8QX_0.js","names":["Select","BaseSelect"],"sources":["../src/components/select/select.tsx"],"sourcesContent":["import { Select as BaseSelect } from \"@base-ui/react/select\";\nimport { IconChevronDown, IconCheck } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Select = BaseSelect.Root;\nexport const SelectGroup = BaseSelect.Group;\nexport const SelectValue = BaseSelect.Value;\n\nexport function SelectTrigger({ className, children, ...props }: ComponentProps<typeof BaseSelect.Trigger>) {\n return <BaseSelect.Trigger {...props} className={cn(\"rounded-ui-md border-border bg-background text-foreground aria-invalid:border-danger focus-visible:border-ring focus-visible:ring-ring/40 flex h-10 w-full items-center justify-between gap-2 border px-3 text-sm outline-none focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50\", className)}>{children}<BaseSelect.Icon className=\"text-muted-foreground flex\"><IconChevronDown size={16} aria-hidden=\"true\" /></BaseSelect.Icon></BaseSelect.Trigger>;\n}\n\nexport function SelectContent({ className, children, ...props }: ComponentProps<typeof BaseSelect.Popup>) {\n return <BaseSelect.Portal><BaseSelect.Positioner sideOffset={4}><BaseSelect.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground max-h-72 min-w-32 overflow-y-auto border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)}><BaseSelect.List>{children}</BaseSelect.List></BaseSelect.Popup></BaseSelect.Positioner></BaseSelect.Portal>;\n}\n\nexport function SelectItem({ className, children, ...props }: ComponentProps<typeof BaseSelect.Item>) {\n return <BaseSelect.Item {...props} className={cn(\"focus:bg-muted data-[highlighted]:bg-muted relative flex cursor-default items-center rounded-ui-sm py-1.5 pr-8 pl-2 text-sm outline-none select-none\", className)}><BaseSelect.ItemText>{children}</BaseSelect.ItemText><BaseSelect.ItemIndicator className=\"absolute right-2 flex\"><IconCheck size={16} aria-hidden=\"true\" /></BaseSelect.ItemIndicator></BaseSelect.Item>;\n}\n"],"mappings":";;;;;AAKA,IAAaA,WAASC,OAAW;AACjC,IAAa,cAAcA,OAAW;AACtC,IAAa,cAAcA,OAAW;AAEtC,SAAgB,cAAc,EAAE,WAAW,UAAU,GAAG,SAAoD;CAC1G,OAAO,qBAACA,OAAW,SAAZ;EAAoB,GAAI;EAAO,WAAW,GAAG,uSAAuS,SAAS;EAA7V,UAAA,CAAiW,UAAS,oBAACA,OAAW,MAAZ;GAAiB,WAAU;GAA6B,UAAA,oBAAC,iBAAD;IAAiB,MAAM;IAAI,eAAY;GAAQ,CAAA;EAAkB,CAAA,CAAqB;;AACjgB;AAEA,SAAgB,cAAc,EAAE,WAAW,UAAU,GAAG,SAAkD;CACxG,OAAO,oBAACA,OAAW,QAAZ,EAAA,UAAmB,oBAACA,OAAW,YAAZ;EAAuB,YAAY;EAAG,UAAA,oBAACA,OAAW,OAAZ;GAAkB,GAAI;GAAO,WAAW,GAAG,2JAA2J,SAAS;GAAG,UAAA,oBAACA,OAAW,MAAZ,EAAkB,SAA0B,CAAA;EAAmB,CAAA;CAAwB,CAAA,EAAoB,CAAA;AAC/X;AAEA,SAAgB,WAAW,EAAE,WAAW,UAAU,GAAG,SAAiD;CACpG,OAAO,qBAACA,OAAW,MAAZ;EAAiB,GAAI;EAAO,WAAW,GAAG,wJAAwJ,SAAS;EAA3M,UAAA,CAA8M,oBAACA,OAAW,UAAZ,EAAsB,SAA8B,CAAA,GAAC,oBAACA,OAAW,eAAZ;GAA0B,WAAU;GAAwB,UAAA,oBAAC,WAAD;IAAW,MAAM;IAAI,eAAY;GAAQ,CAAA;EAA2B,CAAA,CAAkB;;AAC9Z"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet-BVDn2j7O.js","names":["BaseDialog"],"sources":["../src/components/sheet/sheet.tsx"],"sourcesContent":["import { Dialog as BaseDialog } from \"@base-ui/react/dialog\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { type ComponentProps, type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst sheetVariants = cva(\n \"bg-background text-foreground border-border pointer-events-auto fixed z-50 flex flex-col gap-4 border p-6 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none transition-transform\",\n {\n variants: {\n side: {\n right: \"inset-y-0 right-0 h-full w-full max-w-md border-y-0 border-r-0 data-ending-style:translate-x-full data-starting-style:translate-x-full\",\n left: \"inset-y-0 left-0 h-full w-full max-w-md border-y-0 border-l-0 data-ending-style:-translate-x-full data-starting-style:-translate-x-full\",\n top: \"inset-x-0 top-0 max-h-[85vh] w-full border-x-0 border-t-0 data-ending-style:-translate-y-full data-starting-style:-translate-y-full\",\n bottom: \"inset-x-0 bottom-0 max-h-[85vh] w-full border-x-0 border-b-0 data-ending-style:translate-y-full data-starting-style:translate-y-full\",\n },\n },\n defaultVariants: { side: \"right\" },\n },\n);\n\nexport type SheetSide = NonNullable<VariantProps<typeof sheetVariants>[\"side\"]>;\n\nexport const Sheet = BaseDialog.Root;\nexport const SheetTrigger = BaseDialog.Trigger;\nexport const SheetClose = BaseDialog.Close;\n\nexport interface SheetContentProps extends ComponentProps<typeof BaseDialog.Popup> {\n side?: SheetSide;\n}\n\nexport function SheetContent({ className, children, side = \"right\", ...props }: SheetContentProps) {\n return (\n <BaseDialog.Portal>\n <BaseDialog.Backdrop className=\"fixed inset-0 z-40 bg-black/45 transition-opacity data-ending-style:opacity-0 data-starting-style:opacity-0\" />\n <BaseDialog.Viewport className=\"pointer-events-none fixed inset-0 z-50\">\n <BaseDialog.Popup {...props} className={cn(sheetVariants({ side }), className)}>\n {children}\n </BaseDialog.Popup>\n </BaseDialog.Viewport>\n </BaseDialog.Portal>\n );\n}\n\nexport function SheetTitle({ className, ...props }: ComponentProps<typeof BaseDialog.Title>) {\n return <BaseDialog.Title {...props} className={cn(\"text-foreground text-lg font-semibold tracking-tight\", className)} />;\n}\n\nexport function SheetDescription({ className, ...props }: ComponentProps<typeof BaseDialog.Description>) {\n return <BaseDialog.Description {...props} className={cn(\"text-muted-foreground text-sm\", className)} />;\n}\n\nexport const SheetHeader = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function SheetHeader({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex flex-col gap-1\", className)} />;\n },\n);\n\nexport const SheetFooter = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function SheetFooter({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"mt-auto flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)} />;\n },\n);\n"],"mappings":";;;;;;AAKA,IAAM,gBAAgB,IACpB,mLACA;CACE,UAAU,EACR,MAAM;EACJ,OAAO;EACP,MAAM;EACN,KAAK;EACL,QAAQ;CACV,EACF;CACA,iBAAiB,EAAE,MAAM,QAAQ;AACnC,CACF;AAIA,IAAa,QAAQA,OAAW;AAChC,IAAa,eAAeA,OAAW;AACvC,IAAa,aAAaA,OAAW;AAMrC,SAAgB,aAAa,EAAE,WAAW,UAAU,OAAO,SAAS,GAAG,SAA4B;CACjG,OACE,qBAACA,OAAW,QAAZ,EAAA,UAAA,CACE,oBAACA,OAAW,UAAZ,EAAqB,WAAU,8GAA+G,CAAA,GAC9I,oBAACA,OAAW,UAAZ;EAAqB,WAAU;EAC7B,UAAA,oBAACA,OAAW,OAAZ;GAAkB,GAAI;GAAO,WAAW,GAAG,cAAc,EAAE,KAAK,CAAC,GAAG,SAAS;GAC1E;EACe,CAAA;CACC,CAAA,CACJ,EAAA,CAAA;AAEvB;AAEA,SAAgB,WAAW,EAAE,WAAW,GAAG,SAAkD;CAC3F,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AACzH;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAwD;CACvG,OAAO,oBAACA,OAAW,aAAZ;EAAwB,GAAI;EAAO,WAAW,GAAG,iCAAiC,SAAS;CAAI,CAAA;AACxG;AAEA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACrF,CACF;AAEA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,kEAAkE,SAAS;CAAI,CAAA;AAChI,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sidebar-CHBlzB0E.js","names":[],"sources":["../src/components/sidebar/sidebar.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Sidebar = forwardRef<HTMLElement, ComponentPropsWithoutRef<\"aside\">>(\n function Sidebar({ className, ...props }, ref) {\n return (\n <aside\n {...props}\n ref={ref}\n className={cn(\"bg-background text-foreground flex h-full w-64 flex-col border-r border-border\", className)}\n />\n );\n },\n);\n\nexport const SidebarHeader = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function SidebarHeader({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex min-h-14 items-center gap-2 border-b border-border px-4\", className)} />;\n },\n);\n\nexport const SidebarContent = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function SidebarContent({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-3\", className)} />;\n },\n);\n\nexport const SidebarGroup = forwardRef<HTMLElement, ComponentPropsWithoutRef<\"section\">>(\n function SidebarGroup({ className, ...props }, ref) {\n return <section {...props} ref={ref} className={cn(\"flex flex-col gap-1\", className)} />;\n },\n);\n\nexport const SidebarGroupLabel = forwardRef<HTMLHeadingElement, ComponentPropsWithoutRef<\"h2\">>(\n function SidebarGroupLabel({ className, ...props }, ref) {\n return <h2 {...props} ref={ref} className={cn(\"text-muted-foreground px-2 py-1 text-xs font-medium\", className)} />;\n },\n);\n\nexport const SidebarMenu = forwardRef<HTMLUListElement, ComponentPropsWithoutRef<\"ul\">>(\n function SidebarMenu({ className, ...props }, ref) {\n return <ul {...props} ref={ref} className={cn(\"m-0 flex list-none flex-col gap-1 p-0\", className)} />;\n },\n);\n\nexport const SidebarMenuItem = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<\"li\">>(\n function SidebarMenuItem({ className, ...props }, ref) {\n return <li {...props} ref={ref} className={cn(\"min-w-0\", className)} />;\n },\n);\n\nexport const SidebarMenuButton = forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<\"a\">>(\n function SidebarMenuButton({ className, \"aria-current\": ariaCurrent, ...props }, ref) {\n return (\n <a\n {...props}\n ref={ref}\n aria-current={ariaCurrent}\n data-active={ariaCurrent === \"page\" ? \"\" : undefined}\n className={cn(\n \"rounded-ui-md text-foreground hover:bg-muted focus-visible:ring-ring flex min-h-9 items-center gap-2 px-2 text-sm outline-none focus-visible:ring-2 data-active:bg-muted data-active:font-medium\",\n className,\n )}\n />\n );\n },\n);\n\nexport const SidebarFooter = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function SidebarFooter({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"mt-auto border-t border-border p-3\", className)} />;\n },\n);\n"],"mappings":";;;;AAGA,IAAa,UAAU,WACrB,SAAS,QAAQ,EAAE,WAAW,GAAG,SAAS,KAAK;CAC7C,OACE,oBAAC,SAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,kFAAkF,SAAS;CAC1G,CAAA;AAEL,CACF;AAEA,IAAa,gBAAgB,WAC3B,SAAS,cAAc,EAAE,WAAW,GAAG,SAAS,KAAK;CACnD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,gEAAgE,SAAS;CAAI,CAAA;AAC9H,CACF;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,0DAA0D,SAAS;CAAI,CAAA;AACxH,CACF;AAEA,IAAa,eAAe,WAC1B,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,WAAD;EAAS,GAAI;EAAY;EAAK,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACzF,CACF;AAEA,IAAa,oBAAoB,WAC/B,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,uDAAuD,SAAS;CAAI,CAAA;AACpH,CACF;AAEA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,yCAAyC,SAAS;CAAI,CAAA;AACtG,CACF;AAEA,IAAa,kBAAkB,WAC7B,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAS,KAAK;CACrD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,WAAW,SAAS;CAAI,CAAA;AACxE,CACF;AAEA,IAAa,oBAAoB,WAC/B,SAAS,kBAAkB,EAAE,WAAW,gBAAgB,aAAa,GAAG,SAAS,KAAK;CACpF,OACE,oBAAC,KAAD;EACE,GAAI;EACC;EACL,gBAAc;EACd,eAAa,gBAAgB,SAAS,KAAK,KAAA;EAC3C,WAAW,GACT,oMACA,SACF;CACD,CAAA;AAEL,CACF;AAEA,IAAa,gBAAgB,WAC3B,SAAS,cAAc,EAAE,WAAW,GAAG,SAAS,KAAK;CACnD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AACpG,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-BG-OtXYI.js","names":[],"sources":["../src/components/table/table.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Table = forwardRef<HTMLTableElement, ComponentPropsWithoutRef<\"table\">>(\n function Table({ className, ...props }, ref) {\n return <div className=\"relative w-full overflow-auto\"><table {...props} ref={ref} className={cn(\"w-full caption-bottom text-sm\", className)} /></div>;\n },\n);\n\nexport const TableHeader = forwardRef<HTMLTableSectionElement, ComponentPropsWithoutRef<\"thead\">>(\n function TableHeader({ className, ...props }, ref) {\n return <thead {...props} ref={ref} className={cn(\"[&_tr]:border-b-border [&_tr]:border-b\", className)} />;\n },\n);\n\nexport const TableBody = forwardRef<HTMLTableSectionElement, ComponentPropsWithoutRef<\"tbody\">>(\n function TableBody({ className, ...props }, ref) {\n return <tbody {...props} ref={ref} className={cn(\"[&_tr:last-child]:border-0\", className)} />;\n },\n);\n\nexport const TableFooter = forwardRef<HTMLTableSectionElement, ComponentPropsWithoutRef<\"tfoot\">>(\n function TableFooter({ className, ...props }, ref) {\n return <tfoot {...props} ref={ref} className={cn(\"bg-muted/50 border-t-border font-medium [&>tr]:last:border-b-0\", className)} />;\n },\n);\n\nexport const TableRow = forwardRef<HTMLTableRowElement, ComponentPropsWithoutRef<\"tr\">>(\n function TableRow({ className, ...props }, ref) {\n return <tr {...props} ref={ref} className={cn(\"border-b-border hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors\", className)} />;\n },\n);\n\nexport const TableHead = forwardRef<HTMLTableCellElement, ComponentPropsWithoutRef<\"th\">>(\n function TableHead({ className, ...props }, ref) {\n return <th {...props} ref={ref} className={cn(\"text-muted-foreground h-10 px-3 text-left align-middle text-xs font-medium\", className)} />;\n },\n);\n\nexport const TableCell = forwardRef<HTMLTableCellElement, ComponentPropsWithoutRef<\"td\">>(\n function TableCell({ className, ...props }, ref) {\n return <td {...props} ref={ref} className={cn(\"text-foreground px-3 py-3 align-middle\", className)} />;\n },\n);\n\nexport const TableCaption = forwardRef<HTMLTableCaptionElement, ComponentPropsWithoutRef<\"caption\">>(\n function TableCaption({ className, ...props }, ref) {\n return <caption {...props} ref={ref} className={cn(\"text-muted-foreground mt-4 text-sm\", className)} />;\n },\n);\n"],"mappings":";;;;AAGA,IAAa,QAAQ,WACnB,SAAS,MAAM,EAAE,WAAW,GAAG,SAAS,KAAK;CAC3C,OAAO,oBAAC,OAAD;EAAK,WAAU;EAAgC,UAAA,oBAAC,SAAD;GAAO,GAAI;GAAY;GAAK,WAAW,GAAG,iCAAiC,SAAS;EAAI,CAAA;CAAM,CAAA;AACtJ,CACF;AAEA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,SAAD;EAAO,GAAI;EAAY;EAAK,WAAW,GAAG,0CAA0C,SAAS;CAAI,CAAA;AAC1G,CACF;AAEA,IAAa,YAAY,WACvB,SAAS,UAAU,EAAE,WAAW,GAAG,SAAS,KAAK;CAC/C,OAAO,oBAAC,SAAD;EAAO,GAAI;EAAY;EAAK,WAAW,GAAG,8BAA8B,SAAS;CAAI,CAAA;AAC9F,CACF;AAEA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,SAAD;EAAO,GAAI;EAAY;EAAK,WAAW,GAAG,kEAAkE,SAAS;CAAI,CAAA;AAClI,CACF;AAEA,IAAa,WAAW,WACtB,SAAS,SAAS,EAAE,WAAW,GAAG,SAAS,KAAK;CAC9C,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,+FAA+F,SAAS;CAAI,CAAA;AAC5J,CACF;AAEA,IAAa,YAAY,WACvB,SAAS,UAAU,EAAE,WAAW,GAAG,SAAS,KAAK;CAC/C,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,8EAA8E,SAAS;CAAI,CAAA;AAC3I,CACF;AAEA,IAAa,YAAY,WACvB,SAAS,UAAU,EAAE,WAAW,GAAG,SAAS,KAAK;CAC/C,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,0CAA0C,SAAS;CAAI,CAAA;AACvG,CACF;AAEA,IAAa,eAAe,WAC1B,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,WAAD;EAAS,GAAI;EAAY;EAAK,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AACxG,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs-BsDJVa2q.js","names":["Tabs","BaseTabs"],"sources":["../src/components/tabs/tabs.tsx"],"sourcesContent":["import { Tabs as BaseTabs } from \"@base-ui/react/tabs\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Tabs(props: ComponentProps<typeof BaseTabs.Root>) {\n return <BaseTabs.Root {...props} />;\n}\n\nexport function TabsList({ className, ...props }: ComponentProps<typeof BaseTabs.List>) {\n return <BaseTabs.List {...props} className={cn(\"bg-muted inline-flex h-9 items-center justify-center rounded-ui-md p-1\", className)} />;\n}\n\nexport function TabsTrigger({ className, ...props }: ComponentProps<typeof BaseTabs.Tab>) {\n return <BaseTabs.Tab {...props} className={cn(\"text-muted-foreground data-[active]:bg-background data-[active]:text-foreground data-[active]:shadow-sm focus-visible:ring-ring inline-flex items-center justify-center rounded-ui-sm px-3 py-1 text-sm font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50\", className)} />;\n}\n\nexport function TabsContent({ className, ...props }: ComponentProps<typeof BaseTabs.Panel>) {\n return <BaseTabs.Panel {...props} className={cn(\"focus-visible:ring-ring mt-2 rounded-ui-md outline-none focus-visible:ring-2\", className)} />;\n}\n"],"mappings":";;;;AAIA,SAAgBA,OAAK,OAA6C;CAChE,OAAO,oBAACC,KAAS,MAAV,EAAe,GAAI,MAAQ,CAAA;AACpC;AAEA,SAAgB,SAAS,EAAE,WAAW,GAAG,SAA+C;CACtF,OAAO,oBAACA,KAAS,MAAV;EAAe,GAAI;EAAO,WAAW,GAAG,0EAA0E,SAAS;CAAI,CAAA;AACxI;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAA8C;CACxF,OAAO,oBAACA,KAAS,KAAV;EAAc,GAAI;EAAO,WAAW,GAAG,8UAA8U,SAAS;CAAI,CAAA;AAC3Y;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAAgD;CAC1F,OAAO,oBAACA,KAAS,OAAV;EAAgB,GAAI;EAAO,WAAW,GAAG,gFAAgF,SAAS;CAAI,CAAA;AAC/I"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toast-BtHOJV7_.js","names":["BaseToast","Toast"],"sources":["../src/components/toast/toast.tsx"],"sourcesContent":["import { Toast as BaseToast } from \"@base-ui/react/toast\";\nimport { IconX } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const ToastProvider = BaseToast.Provider;\nexport const useToastManager = BaseToast.useToastManager;\nexport const Toast = BaseToast.Root;\nexport const ToastClose = BaseToast.Close;\nexport const ToastAction = BaseToast.Action;\nexport const ToastTitle = BaseToast.Title;\nexport const ToastDescription = BaseToast.Description;\nexport const ToastViewport = BaseToast.Viewport;\n\nexport function ToastContent({ className, ...props }: ComponentProps<typeof BaseToast.Content>) {\n return <BaseToast.Content {...props} className={cn(\"flex items-start gap-3 p-4\", className)} />;\n}\n\nexport function Toaster() {\n const { toasts } = BaseToast.useToastManager();\n\n return (\n <BaseToast.Portal>\n <BaseToast.Viewport className=\"fixed right-4 bottom-4 z-50 flex w-[min(22rem,calc(100vw-2rem))] flex-col gap-2 outline-none\">\n {toasts.map((toast) => (\n <BaseToast.Root\n key={toast.id}\n toast={toast}\n swipeDirection={[\"down\", \"right\"]}\n className=\"rounded-ui-lg border-border bg-background text-foreground w-full border p-0 shadow-[0_8px_30px_rgb(0,0,0,0.12)] transition-[transform,opacity] data-ending-style:translate-y-2 data-ending-style:opacity-0 data-limited:hidden data-starting-style:translate-y-2 data-starting-style:opacity-0\"\n >\n <ToastContent>\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\n <BaseToast.Title className=\"text-sm font-medium\" />\n <BaseToast.Description className=\"text-muted-foreground text-sm\" />\n </div>\n <BaseToast.Action className=\"text-link focus-visible:ring-ring shrink-0 rounded-ui-sm px-1 text-sm font-medium outline-none focus-visible:ring-2\" />\n <BaseToast.Close\n aria-label=\"Dismiss notification\"\n className=\"text-muted-foreground hover:bg-muted focus-visible:ring-ring -m-1 shrink-0 rounded-ui-sm p-1 leading-none outline-none focus-visible:ring-2\"\n >\n <IconX size={16} aria-hidden=\"true\" />\n </BaseToast.Close>\n </ToastContent>\n </BaseToast.Root>\n ))}\n </BaseToast.Viewport>\n </BaseToast.Portal>\n );\n}\n"],"mappings":";;;;;AAKA,IAAa,gBAAgBA,MAAU;AACvC,IAAa,kBAAkBA,MAAU;AACzC,IAAaC,UAAQD,MAAU;AAC/B,IAAa,aAAaA,MAAU;AACpC,IAAa,cAAcA,MAAU;AACrC,IAAa,aAAaA,MAAU;AACpC,IAAa,mBAAmBA,MAAU;AAC1C,IAAa,gBAAgBA,MAAU;AAEvC,SAAgB,aAAa,EAAE,WAAW,GAAG,SAAmD;CAC9F,OAAO,oBAACA,MAAU,SAAX;EAAmB,GAAI;EAAO,WAAW,GAAG,8BAA8B,SAAS;CAAI,CAAA;AAChG;AAEA,SAAgB,UAAU;CACxB,MAAM,EAAE,WAAWA,MAAU,gBAAgB;CAE7C,OACE,oBAACA,MAAU,QAAX,EAAA,UACE,oBAACA,MAAU,UAAX;EAAoB,WAAU;EAC3B,UAAA,OAAO,KAAK,UACX,oBAACA,MAAU,MAAX;GAES;GACP,gBAAgB,CAAC,QAAQ,OAAO;GAChC,WAAU;GAEV,UAAA,qBAAC,cAAD,EAAA,UAAA;IACE,qBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,oBAACA,MAAU,OAAX,EAAiB,WAAU,sBAAuB,CAAA,GAClD,oBAACA,MAAU,aAAX,EAAuB,WAAU,gCAAiC,CAAA,CAC/D;;IACL,oBAACA,MAAU,QAAX,EAAkB,WAAU,sHAAuH,CAAA;IACnJ,oBAACA,MAAU,OAAX;KACE,cAAW;KACX,WAAU;KAEV,UAAA,oBAAC,OAAD;MAAO,MAAM;MAAI,eAAY;KAAQ,CAAA;IACtB,CAAA;GACL,EAAA,CAAA;EACA,GAlBT,MAAM,EAkBG,CACjB;CACiB,CAAA,EACJ,CAAA;AAEtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toggle-group-NHZGXljI.js","names":["ToggleGroup","BaseToggleGroup"],"sources":["../src/components/toggle-group/toggle-group.tsx"],"sourcesContent":["import { Toggle } from \"@base-ui/react/toggle\";\nimport { ToggleGroup as BaseToggleGroup } from \"@base-ui/react/toggle-group\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function ToggleGroup({ className, ...props }: ComponentProps<typeof BaseToggleGroup>) {\n return <BaseToggleGroup {...props} className={cn(\"bg-muted inline-flex w-fit items-center rounded-ui-md p-1\", className)} />;\n}\n\nexport function ToggleGroupItem({ className, ...props }: ComponentProps<typeof Toggle>) {\n return <Toggle {...props} className={cn(\"text-muted-foreground data-[pressed]:bg-background data-[pressed]:text-foreground data-[pressed]:shadow-sm focus-visible:ring-ring inline-flex h-8 min-w-8 items-center justify-center rounded-ui-sm px-2 text-sm outline-none transition-colors focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50\", className)} />;\n}\n"],"mappings":";;;;;AAKA,SAAgBA,cAAY,EAAE,WAAW,GAAG,SAAiD;CAC3F,OAAO,oBAACC,aAAD;EAAiB,GAAI;EAAO,WAAW,GAAG,6DAA6D,SAAS;CAAI,CAAA;AAC7H;AAEA,SAAgB,gBAAgB,EAAE,WAAW,GAAG,SAAwC;CACtF,OAAO,oBAAC,QAAD;EAAQ,GAAI;EAAO,WAAW,GAAG,0TAA0T,SAAS;CAAI,CAAA;AACjX"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolbar-DJDrGUV_.js","names":["Toolbar","BaseToolbar"],"sources":["../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import { Toolbar as BaseToolbar } from \"@base-ui/react/toolbar\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Toolbar({ className, ...props }: ComponentProps<typeof BaseToolbar.Root>) {\n return <BaseToolbar.Root {...props} className={cn(\"rounded-ui-md border-border bg-background flex w-fit items-center gap-1 border p-1\", className)} />;\n}\n\nexport function ToolbarGroup({ className, ...props }: ComponentProps<typeof BaseToolbar.Group>) {\n return <BaseToolbar.Group {...props} className={cn(\"flex items-center gap-1\", className)} />;\n}\n\nexport function ToolbarButton({ className, ...props }: ComponentProps<typeof BaseToolbar.Button>) {\n return <BaseToolbar.Button {...props} className={cn(\"rounded-ui-sm text-foreground data-[pressed]:bg-muted hover:bg-muted focus-visible:ring-ring inline-flex h-8 min-w-8 items-center justify-center px-2 text-sm outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50\", className)} />;\n}\n\nexport function ToolbarLink({ className, ...props }: ComponentProps<typeof BaseToolbar.Link>) {\n return <BaseToolbar.Link {...props} className={cn(\"rounded-ui-sm text-foreground hover:bg-muted focus-visible:ring-ring inline-flex h-8 items-center px-2 text-sm outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function ToolbarInput({ className, ...props }: ComponentProps<typeof BaseToolbar.Input>) {\n return <BaseToolbar.Input {...props} className={cn(\"rounded-ui-sm border-border bg-background text-foreground focus-visible:ring-ring h-8 min-w-0 border px-2 text-sm outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function ToolbarSeparator({ className, ...props }: ComponentProps<typeof BaseToolbar.Separator>) {\n return <BaseToolbar.Separator {...props} className={cn(\"bg-border mx-1 h-5 w-px\", className)} />;\n}\n"],"mappings":";;;;AAIA,SAAgBA,UAAQ,EAAE,WAAW,GAAG,SAAkD;CACxF,OAAO,oBAACC,QAAY,MAAb;EAAkB,GAAI;EAAO,WAAW,GAAG,sFAAsF,SAAS;CAAI,CAAA;AACvJ;AAEA,SAAgB,aAAa,EAAE,WAAW,GAAG,SAAmD;CAC9F,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AAC7F;AAEA,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoD;CAChG,OAAO,oBAACA,QAAY,QAAb;EAAoB,GAAI;EAAO,WAAW,GAAG,oPAAoP,SAAS;CAAI,CAAA;AACvT;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAAkD;CAC5F,OAAO,oBAACA,QAAY,MAAb;EAAkB,GAAI;EAAO,WAAW,GAAG,oJAAoJ,SAAS;CAAI,CAAA;AACrN;AAEA,SAAgB,aAAa,EAAE,WAAW,GAAG,SAAmD;CAC9F,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,uJAAuJ,SAAS;CAAI,CAAA;AACzN;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,QAAY,WAAb;EAAuB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AACjG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip-B07nkHWG.js","names":["BaseTooltip","Tooltip"],"sources":["../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import { Tooltip as BaseTooltip } from \"@base-ui/react/tooltip\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const TooltipProvider = BaseTooltip.Provider;\nexport const Tooltip = BaseTooltip.Root;\nexport const TooltipTrigger = BaseTooltip.Trigger;\n\nexport function TooltipContent({ className, ...props }: ComponentProps<typeof BaseTooltip.Popup>) {\n return <BaseTooltip.Portal><BaseTooltip.Positioner sideOffset={6}><BaseTooltip.Popup {...props} className={cn(\"rounded-ui-sm bg-foreground text-background px-3 py-1.5 text-xs shadow-[0_4px_12px_rgb(0,0,0,0.12)]\", className)} /></BaseTooltip.Positioner></BaseTooltip.Portal>;\n}\n"],"mappings":";;;;AAIA,IAAa,kBAAkBA,QAAY;AAC3C,IAAaC,YAAUD,QAAY;AACnC,IAAa,iBAAiBA,QAAY;AAE1C,SAAgB,eAAe,EAAE,WAAW,GAAG,SAAmD;CAChG,OAAO,oBAACA,QAAY,QAAb,EAAA,UAAoB,oBAACA,QAAY,YAAb;EAAwB,YAAY;EAAG,UAAA,oBAACA,QAAY,OAAb;GAAmB,GAAI;GAAO,WAAW,GAAG,uGAAuG,SAAS;EAAI,CAAA;CAAyB,CAAA,EAAqB,CAAA;AAClR"}