@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination-CSAJn5Ph.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\nconst PaginationRoot = 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\nconst 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\nconst 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\nconst 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\nfunction 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\nfunction 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\nfunction 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\nexport const Pagination = Object.assign(PaginationRoot, {\n Content: PaginationContent,\n Item: PaginationItem,\n Link: PaginationLink,\n Previous: PaginationPrevious,\n Next: PaginationNext,\n Ellipsis: PaginationEllipsis,\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,IAAM,iBAAiB,WACrB,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,IAAM,oBAAoB,WACxB,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,oCAAoC,SAAS;CAAI,CAAA;AACjG,CACF;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,IAAI,SAAS;CAAI,CAAA;AACjE,CACF;AAOA,IAAM,iBAAiB,WACrB,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,SAAS,mBAAmB,EAAE,WAAW,cAAc,YAAY,uBAAuB,GAAG,SAAgD;CAC3I,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,SAAS,eAAe,EAAE,WAAW,cAAc,YAAY,mBAAmB,GAAG,SAAgD;CACnI,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,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAA2C;CACrF,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;AAEA,IAAa,aAAa,OAAO,OAAO,gBAAgB;CACtD,SAAS;CACT,MAAM;CACN,MAAM;CACN,UAAU;CACV,MAAM;CACN,UAAU;AACZ,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Popover } from "@base-ui/react/popover";
4
4
  // src/components/popover/popover.tsx
5
- var Popover$1 = Popover.Root;
5
+ var PopoverRoot = Popover.Root;
6
6
  var PopoverTrigger = Popover.Trigger;
7
7
  var PopoverClose = Popover.Close;
8
8
  function PopoverContent({ className, children, ...props }) {
@@ -27,6 +27,13 @@ function PopoverDescription({ className, ...props }) {
27
27
  className: cn("text-muted-foreground mt-1 text-sm", className)
28
28
  });
29
29
  }
30
- export { PopoverTitle as a, PopoverDescription as i, PopoverClose as n, PopoverTrigger as o, PopoverContent as r, Popover$1 as t };
30
+ var Popover$1 = Object.assign(PopoverRoot, {
31
+ Trigger: PopoverTrigger,
32
+ Close: PopoverClose,
33
+ Content: PopoverContent,
34
+ Title: PopoverTitle,
35
+ Description: PopoverDescription
36
+ });
37
+ export { Popover$1 as t };
31
38
 
32
- //# sourceMappingURL=popover-D5LdFHVS.js.map
39
+ //# sourceMappingURL=popover-COYlKfkf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover-COYlKfkf.js","names":["BasePopover","Popover"],"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\nconst PopoverRoot = BasePopover.Root;\nconst PopoverTrigger = BasePopover.Trigger;\nconst PopoverClose = BasePopover.Close;\n\nfunction 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\nfunction PopoverTitle({ className, ...props }: ComponentProps<typeof BasePopover.Title>) {\n return <BasePopover.Title {...props} className={cn(\"text-foreground text-sm font-medium\", className)} />;\n}\n\nfunction PopoverDescription({ className, ...props }: ComponentProps<typeof BasePopover.Description>) {\n return <BasePopover.Description {...props} className={cn(\"text-muted-foreground mt-1 text-sm\", className)} />;\n}\n\nexport const Popover = Object.assign(PopoverRoot, {\n Trigger: PopoverTrigger,\n Close: PopoverClose,\n Content: PopoverContent,\n Title: PopoverTitle,\n Description: PopoverDescription,\n});\n"],"mappings":";;;;AAIA,IAAM,cAAcA,QAAY;AAChC,IAAM,iBAAiBA,QAAY;AACnC,IAAM,eAAeA,QAAY;AAEjC,SAAS,eAAe,EAAE,WAAW,UAAU,GAAG,SAAmD;CACnG,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,SAAS,aAAa,EAAE,WAAW,GAAG,SAAmD;CACvF,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,uCAAuC,SAAS;CAAI,CAAA;AACzG;AAEA,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CACnG,OAAO,oBAACA,QAAY,aAAb;EAAyB,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAC9G;AAEA,IAAaC,YAAU,OAAO,OAAO,aAAa;CAChD,SAAS;CACT,OAAO;CACP,SAAS;CACT,OAAO;CACP,aAAa;AACf,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { PreviewCard } from "@base-ui/react/preview-card";
4
4
  // src/components/preview-card/preview-card.tsx
5
- var PreviewCard$1 = PreviewCard.Root;
5
+ var PreviewCardRoot = PreviewCard.Root;
6
6
  function PreviewCardTrigger({ className, ...props }) {
7
7
  return /* @__PURE__ */ jsx(PreviewCard.Trigger, {
8
8
  ...props,
@@ -26,6 +26,11 @@ function PreviewCardArrow({ className, ...props }) {
26
26
  className: cn("fill-background", className)
27
27
  });
28
28
  }
29
- export { PreviewCardTrigger as i, PreviewCardArrow as n, PreviewCardContent as r, PreviewCard$1 as t };
29
+ var PreviewCard$1 = Object.assign(PreviewCardRoot, {
30
+ Trigger: PreviewCardTrigger,
31
+ Content: PreviewCardContent,
32
+ Arrow: PreviewCardArrow
33
+ });
34
+ export { PreviewCard$1 as t };
30
35
 
31
- //# sourceMappingURL=preview-card-Cmds7aMj.js.map
36
+ //# sourceMappingURL=preview-card-ByyvdPvk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-card-ByyvdPvk.js","names":["BasePreviewCard","PreviewCard"],"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\nconst PreviewCardRoot = BasePreviewCard.Root;\n\nfunction 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\nfunction 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\nfunction PreviewCardArrow({ className, ...props }: ComponentProps<typeof BasePreviewCard.Arrow>) {\n return <BasePreviewCard.Arrow {...props} className={cn(\"fill-background\", className)} />;\n}\n\nexport const PreviewCard = Object.assign(PreviewCardRoot, {\n Trigger: PreviewCardTrigger,\n Content: PreviewCardContent,\n Arrow: PreviewCardArrow,\n});\n"],"mappings":";;;;AAIA,IAAM,kBAAkBA,YAAgB;AAExC,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CACnG,OAAO,oBAACA,YAAgB,SAAjB;EAAyB,GAAI;EAAO,WAAW,GAAG,wJAAwJ,SAAS;CAAI,CAAA;AAChO;AAEA,SAAS,mBAAmB,EAAE,WAAW,UAAU,GAAG,SAAuD;CAC3G,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,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CAC/F,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,mBAAmB,SAAS;CAAI,CAAA;AACzF;AAEA,IAAaC,gBAAc,OAAO,OAAO,iBAAiB;CACxD,SAAS;CACT,SAAS;CACT,OAAO;AACT,CAAC"}
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Radio } from "@base-ui/react/radio";
4
4
  import { RadioGroup } from "@base-ui/react/radio-group";
5
5
  // src/components/radio-group/radio-group.tsx
6
- function RadioGroup$1({ className, ...props }) {
6
+ function RadioGroupRoot({ className, ...props }) {
7
7
  return /* @__PURE__ */ jsx(RadioGroup, {
8
8
  ...props,
9
9
  className: cn("grid gap-2", className)
@@ -19,6 +19,7 @@ function RadioGroupItem({ className, ...props }) {
19
19
  })
20
20
  });
21
21
  }
22
- export { RadioGroupItem as n, RadioGroup$1 as t };
22
+ var RadioGroup$1 = Object.assign(RadioGroupRoot, { Item: RadioGroupItem });
23
+ export { RadioGroup$1 as t };
23
24
 
24
- //# sourceMappingURL=radio-group-C2eDfEYd.js.map
25
+ //# sourceMappingURL=radio-group-OdNChchU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group-OdNChchU.js","names":["BaseRadioGroup","BaseRadio","RadioGroup"],"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\nfunction RadioGroupRoot({ className, ...props }: ComponentProps<typeof BaseRadioGroup>) {\n return <BaseRadioGroup {...props} className={cn(\"grid gap-2\", className)} />;\n}\n\nfunction 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\nexport const RadioGroup = Object.assign(RadioGroupRoot, { Item: RadioGroupItem });\n"],"mappings":";;;;;AAKA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAgD;CACtF,OAAO,oBAACA,YAAD;EAAgB,GAAI;EAAO,WAAW,GAAG,cAAc,SAAS;CAAI,CAAA;AAC7E;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAgD;CACtF,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;AAEA,IAAaC,eAAa,OAAO,OAAO,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { IconCheck, IconChevronDown } from "@tabler/icons-react";
4
4
  import { Select } from "@base-ui/react/select";
5
5
  // src/components/select/select.tsx
6
- var Select$1 = Select.Root;
6
+ var SelectRoot = Select.Root;
7
7
  var SelectGroup = Select.Group;
8
8
  var SelectValue = Select.Value;
9
9
  function SelectTrigger({ className, children, ...props }) {
@@ -42,6 +42,13 @@ function SelectItem({ className, children, ...props }) {
42
42
  })]
43
43
  });
44
44
  }
45
- export { SelectTrigger as a, SelectItem as i, SelectContent as n, SelectValue as o, SelectGroup as r, Select$1 as t };
45
+ var Select$1 = Object.assign(SelectRoot, {
46
+ Trigger: SelectTrigger,
47
+ Value: SelectValue,
48
+ Content: SelectContent,
49
+ Group: SelectGroup,
50
+ Item: SelectItem
51
+ });
52
+ export { Select$1 as t };
46
53
 
47
- //# sourceMappingURL=select-CRy8QX_0.js.map
54
+ //# sourceMappingURL=select--Rn5DQaC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select--Rn5DQaC.js","names":["BaseSelect","Select"],"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\nconst SelectRoot = BaseSelect.Root;\nconst SelectGroup = BaseSelect.Group;\nconst SelectValue = BaseSelect.Value;\n\nfunction 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\nfunction 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\nfunction 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\nexport const Select = Object.assign(SelectRoot, {\n Trigger: SelectTrigger,\n Value: SelectValue,\n Content: SelectContent,\n Group: SelectGroup,\n Item: SelectItem,\n});\n"],"mappings":";;;;;AAKA,IAAM,aAAaA,OAAW;AAC9B,IAAM,cAAcA,OAAW;AAC/B,IAAM,cAAcA,OAAW;AAE/B,SAAS,cAAc,EAAE,WAAW,UAAU,GAAG,SAAoD;CACnG,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,SAAS,cAAc,EAAE,WAAW,UAAU,GAAG,SAAkD;CACjG,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,SAAS,WAAW,EAAE,WAAW,UAAU,GAAG,SAAiD;CAC7F,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;AAEA,IAAaC,WAAS,OAAO,OAAO,YAAY;CAC9C,SAAS;CACT,OAAO;CACP,SAAS;CACT,OAAO;CACP,MAAM;AACR,CAAC"}
@@ -13,7 +13,7 @@ var sheetVariants = cva("bg-background text-foreground border-border pointer-eve
13
13
  } },
14
14
  defaultVariants: { side: "right" }
15
15
  });
16
- var Sheet = Dialog.Root;
16
+ var SheetRoot = Dialog.Root;
17
17
  var SheetTrigger = Dialog.Trigger;
18
18
  var SheetClose = Dialog.Close;
19
19
  function SheetContent({ className, children, side = "right", ...props }) {
@@ -52,6 +52,15 @@ var SheetFooter = forwardRef(function SheetFooter({ className, ...props }, ref)
52
52
  className: cn("mt-auto flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className)
53
53
  });
54
54
  });
55
- export { SheetFooter as a, SheetTrigger as c, SheetDescription as i, SheetClose as n, SheetHeader as o, SheetContent as r, SheetTitle as s, Sheet as t };
55
+ var Sheet = Object.assign(SheetRoot, {
56
+ Trigger: SheetTrigger,
57
+ Close: SheetClose,
58
+ Content: SheetContent,
59
+ Description: SheetDescription,
60
+ Footer: SheetFooter,
61
+ Header: SheetHeader,
62
+ Title: SheetTitle
63
+ });
64
+ export { Sheet as t };
56
65
 
57
- //# sourceMappingURL=sheet-BVDn2j7O.js.map
66
+ //# sourceMappingURL=sheet-B6-iNDZG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet-B6-iNDZG.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\nconst SheetRoot = BaseDialog.Root;\nconst SheetTrigger = BaseDialog.Trigger;\nconst SheetClose = BaseDialog.Close;\n\nexport interface SheetContentProps extends ComponentProps<typeof BaseDialog.Popup> {\n side?: SheetSide;\n}\n\nfunction 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\nfunction 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\nfunction SheetDescription({ className, ...props }: ComponentProps<typeof BaseDialog.Description>) {\n return <BaseDialog.Description {...props} className={cn(\"text-muted-foreground text-sm\", className)} />;\n}\n\nconst 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\nconst 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\nexport const Sheet = Object.assign(SheetRoot, {\n Trigger: SheetTrigger,\n Close: SheetClose,\n Content: SheetContent,\n Description: SheetDescription,\n Footer: SheetFooter,\n Header: SheetHeader,\n Title: SheetTitle,\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,IAAM,YAAYA,OAAW;AAC7B,IAAM,eAAeA,OAAW;AAChC,IAAM,aAAaA,OAAW;AAM9B,SAAS,aAAa,EAAE,WAAW,UAAU,OAAO,SAAS,GAAG,SAA4B;CAC1F,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,SAAS,WAAW,EAAE,WAAW,GAAG,SAAkD;CACpF,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AACzH;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAwD;CAChG,OAAO,oBAACA,OAAW,aAAZ;EAAwB,GAAI;EAAO,WAAW,GAAG,iCAAiC,SAAS;CAAI,CAAA;AACxG;AAEA,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACrF,CACF;AAEA,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,kEAAkE,SAAS;CAAI,CAAA;AAChI,CACF;AAEA,IAAa,QAAQ,OAAO,OAAO,WAAW;CAC5C,SAAS;CACT,OAAO;CACP,SAAS;CACT,aAAa;CACb,QAAQ;CACR,QAAQ;CACR,OAAO;AACT,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { forwardRef } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  // src/components/sidebar/sidebar.tsx
5
- var Sidebar = forwardRef(function Sidebar({ className, ...props }, ref) {
5
+ var SidebarRoot = forwardRef(function SidebarRoot({ className, ...props }, ref) {
6
6
  return /* @__PURE__ */ jsx("aside", {
7
7
  ...props,
8
8
  ref,
@@ -67,6 +67,16 @@ var SidebarFooter = forwardRef(function SidebarFooter({ className, ...props }, r
67
67
  className: cn("mt-auto border-t border-border p-3", className)
68
68
  });
69
69
  });
70
- export { SidebarGroupLabel as a, SidebarMenuButton as c, SidebarGroup as i, SidebarMenuItem as l, SidebarContent as n, SidebarHeader as o, SidebarFooter as r, SidebarMenu as s, Sidebar as t };
70
+ var Sidebar = Object.assign(SidebarRoot, {
71
+ Header: SidebarHeader,
72
+ Content: SidebarContent,
73
+ Footer: SidebarFooter,
74
+ Group: SidebarGroup,
75
+ GroupLabel: SidebarGroupLabel,
76
+ Menu: SidebarMenu,
77
+ MenuItem: SidebarMenuItem,
78
+ MenuButton: SidebarMenuButton
79
+ });
80
+ export { Sidebar as t };
71
81
 
72
- //# sourceMappingURL=sidebar-CHBlzB0E.js.map
82
+ //# sourceMappingURL=sidebar-C9YE73TS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-C9YE73TS.js","names":[],"sources":["../src/components/sidebar/sidebar.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst SidebarRoot = forwardRef<HTMLElement, ComponentPropsWithoutRef<\"aside\">>(\n function SidebarRoot({ 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nexport const Sidebar = Object.assign(SidebarRoot, {\n Header: SidebarHeader,\n Content: SidebarContent,\n Footer: SidebarFooter,\n Group: SidebarGroup,\n GroupLabel: SidebarGroupLabel,\n Menu: SidebarMenu,\n MenuItem: SidebarMenuItem,\n MenuButton: SidebarMenuButton,\n});\n"],"mappings":";;;;AAGA,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OACE,oBAAC,SAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,kFAAkF,SAAS;CAC1G,CAAA;AAEL,CACF;AAEA,IAAM,gBAAgB,WACpB,SAAS,cAAc,EAAE,WAAW,GAAG,SAAS,KAAK;CACnD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,gEAAgE,SAAS;CAAI,CAAA;AAC9H,CACF;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,0DAA0D,SAAS;CAAI,CAAA;AACxH,CACF;AAEA,IAAM,eAAe,WACnB,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,WAAD;EAAS,GAAI;EAAY;EAAK,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACzF,CACF;AAEA,IAAM,oBAAoB,WACxB,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,uDAAuD,SAAS;CAAI,CAAA;AACpH,CACF;AAEA,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,yCAAyC,SAAS;CAAI,CAAA;AACtG,CACF;AAEA,IAAM,kBAAkB,WACtB,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAS,KAAK;CACrD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,WAAW,SAAS;CAAI,CAAA;AACxE,CACF;AAEA,IAAM,oBAAoB,WACxB,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,IAAM,gBAAgB,WACpB,SAAS,cAAc,EAAE,WAAW,GAAG,SAAS,KAAK;CACnD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AACpG,CACF;AAEA,IAAa,UAAU,OAAO,OAAO,aAAa;CAChD,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,OAAO;CACP,YAAY;CACZ,MAAM;CACN,UAAU;CACV,YAAY;AACd,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { forwardRef } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  // src/components/table/table.tsx
5
- var Table = forwardRef(function Table({ className, ...props }, ref) {
5
+ var TableRoot = forwardRef(function Table({ className, ...props }, ref) {
6
6
  return /* @__PURE__ */ jsx("div", {
7
7
  className: "relative w-full overflow-auto",
8
8
  children: /* @__PURE__ */ jsx("table", {
@@ -61,6 +61,15 @@ var TableCaption = forwardRef(function TableCaption({ className, ...props }, ref
61
61
  className: cn("text-muted-foreground mt-4 text-sm", className)
62
62
  });
63
63
  });
64
- export { TableFooter as a, TableRow as c, TableCell as i, TableBody as n, TableHead as o, TableCaption as r, TableHeader as s, Table as t };
64
+ var Table = Object.assign(TableRoot, {
65
+ Header: TableHeader,
66
+ Body: TableBody,
67
+ Footer: TableFooter,
68
+ Row: TableRow,
69
+ Head: TableHead,
70
+ Cell: TableCell,
71
+ Caption: TableCaption
72
+ });
73
+ export { Table as t };
65
74
 
66
- //# sourceMappingURL=table-BG-OtXYI.js.map
75
+ //# sourceMappingURL=table-CH0H16pL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-CH0H16pL.js","names":[],"sources":["../src/components/table/table.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst TableRoot = 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nconst 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\nexport const Table = Object.assign(TableRoot, {\n Header: TableHeader,\n Body: TableBody,\n Footer: TableFooter,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n Caption: TableCaption,\n});\n"],"mappings":";;;;AAGA,IAAM,YAAY,WAChB,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,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,SAAD;EAAO,GAAI;EAAY;EAAK,WAAW,GAAG,0CAA0C,SAAS;CAAI,CAAA;AAC1G,CACF;AAEA,IAAM,YAAY,WAChB,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,IAAM,cAAc,WAClB,SAAS,YAAY,EAAE,WAAW,GAAG,SAAS,KAAK;CACjD,OAAO,oBAAC,SAAD;EAAO,GAAI;EAAY;EAAK,WAAW,GAAG,kEAAkE,SAAS;CAAI,CAAA;AAClI,CACF;AAEA,IAAM,WAAW,WACf,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,IAAM,YAAY,WAChB,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,IAAM,YAAY,WAChB,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,IAAM,eAAe,WACnB,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,WAAD;EAAS,GAAI;EAAY;EAAK,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AACxG,CACF;AAEA,IAAa,QAAQ,OAAO,OAAO,WAAW;CAC5C,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,KAAK;CACL,MAAM;CACN,MAAM;CACN,SAAS;AACX,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Tabs } from "@base-ui/react/tabs";
4
4
  // src/components/tabs/tabs.tsx
5
- function Tabs$1(props) {
5
+ function TabsRoot(props) {
6
6
  return /* @__PURE__ */ jsx(Tabs.Root, { ...props });
7
7
  }
8
8
  function TabsList({ className, ...props }) {
@@ -23,6 +23,11 @@ function TabsContent({ className, ...props }) {
23
23
  className: cn("focus-visible:ring-ring mt-2 rounded-ui-md outline-none focus-visible:ring-2", className)
24
24
  });
25
25
  }
26
- export { TabsTrigger as i, TabsContent as n, TabsList as r, Tabs$1 as t };
26
+ var Tabs$1 = Object.assign(TabsRoot, {
27
+ List: TabsList,
28
+ Trigger: TabsTrigger,
29
+ Content: TabsContent
30
+ });
31
+ export { Tabs$1 as t };
27
32
 
28
- //# sourceMappingURL=tabs-BsDJVa2q.js.map
33
+ //# sourceMappingURL=tabs-VnWSV0RD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs-VnWSV0RD.js","names":["BaseTabs","Tabs"],"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\nfunction TabsRoot(props: ComponentProps<typeof BaseTabs.Root>) {\n return <BaseTabs.Root {...props} />;\n}\n\nfunction 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\nfunction 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\nfunction 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\nexport const Tabs = Object.assign(TabsRoot, {\n List: TabsList,\n Trigger: TabsTrigger,\n Content: TabsContent,\n});\n"],"mappings":";;;;AAIA,SAAS,SAAS,OAA6C;CAC7D,OAAO,oBAACA,KAAS,MAAV,EAAe,GAAI,MAAQ,CAAA;AACpC;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA+C;CAC/E,OAAO,oBAACA,KAAS,MAAV;EAAe,GAAI;EAAO,WAAW,GAAG,0EAA0E,SAAS;CAAI,CAAA;AACxI;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAA8C;CACjF,OAAO,oBAACA,KAAS,KAAV;EAAc,GAAI;EAAO,WAAW,GAAG,8UAA8U,SAAS;CAAI,CAAA;AAC3Y;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAgD;CACnF,OAAO,oBAACA,KAAS,OAAV;EAAgB,GAAI;EAAO,WAAW,GAAG,gFAAgF,SAAS;CAAI,CAAA;AAC/I;AAEA,IAAaC,SAAO,OAAO,OAAO,UAAU;CAC1C,MAAM;CACN,SAAS;CACT,SAAS;AACX,CAAC"}
@@ -5,7 +5,7 @@ import { Toast } from "@base-ui/react/toast";
5
5
  // src/components/toast/toast.tsx
6
6
  var ToastProvider = Toast.Provider;
7
7
  var useToastManager = Toast.useToastManager;
8
- var Toast$1 = Toast.Root;
8
+ var ToastRoot = Toast.Root;
9
9
  var ToastClose = Toast.Close;
10
10
  var ToastAction = Toast.Action;
11
11
  var ToastTitle = Toast.Title;
@@ -17,6 +17,14 @@ function ToastContent({ className, ...props }) {
17
17
  className: cn("flex items-start gap-3 p-4", className)
18
18
  });
19
19
  }
20
+ var Toast$1 = Object.assign(ToastRoot, {
21
+ Title: ToastTitle,
22
+ Description: ToastDescription,
23
+ Action: ToastAction,
24
+ Close: ToastClose,
25
+ Content: ToastContent,
26
+ Viewport: ToastViewport
27
+ });
20
28
  function Toaster() {
21
29
  const { toasts } = Toast.useToastManager();
22
30
  return /* @__PURE__ */ jsx(Toast.Portal, { children: /* @__PURE__ */ jsx(Toast.Viewport, {
@@ -43,6 +51,6 @@ function Toaster() {
43
51
  }, toast.id))
44
52
  }) });
45
53
  }
46
- export { ToastDescription as a, ToastViewport as c, ToastContent as i, Toaster as l, ToastAction as n, ToastProvider as o, ToastClose as r, ToastTitle as s, Toast$1 as t, useToastManager as u };
54
+ export { useToastManager as i, ToastProvider as n, Toaster as r, Toast$1 as t };
47
55
 
48
- //# sourceMappingURL=toast-BtHOJV7_.js.map
56
+ //# sourceMappingURL=toast-BkDQhrZ5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast-BkDQhrZ5.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;\nconst ToastRoot = BaseToast.Root;\nconst ToastClose = BaseToast.Close;\nconst ToastAction = BaseToast.Action;\nconst ToastTitle = BaseToast.Title;\nconst ToastDescription = BaseToast.Description;\nconst ToastViewport = BaseToast.Viewport;\n\nfunction 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 const Toast = Object.assign(ToastRoot, {\n Title: ToastTitle,\n Description: ToastDescription,\n Action: ToastAction,\n Close: ToastClose,\n Content: ToastContent,\n Viewport: ToastViewport,\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,IAAM,YAAYA,MAAU;AAC5B,IAAM,aAAaA,MAAU;AAC7B,IAAM,cAAcA,MAAU;AAC9B,IAAM,aAAaA,MAAU;AAC7B,IAAM,mBAAmBA,MAAU;AACnC,IAAM,gBAAgBA,MAAU;AAEhC,SAAS,aAAa,EAAE,WAAW,GAAG,SAAmD;CACvF,OAAO,oBAACA,MAAU,SAAX;EAAmB,GAAI;EAAO,WAAW,GAAG,8BAA8B,SAAS;CAAI,CAAA;AAChG;AAEA,IAAaC,UAAQ,OAAO,OAAO,WAAW;CAC5C,OAAO;CACP,aAAa;CACb,QAAQ;CACR,OAAO;CACP,SAAS;CACT,UAAU;AACZ,CAAC;AAED,SAAgB,UAAU;CACxB,MAAM,EAAE,WAAWD,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"}
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Toggle } from "@base-ui/react/toggle";
4
4
  import { ToggleGroup } from "@base-ui/react/toggle-group";
5
5
  // src/components/toggle-group/toggle-group.tsx
6
- function ToggleGroup$1({ className, ...props }) {
6
+ function ToggleGroupRoot({ className, ...props }) {
7
7
  return /* @__PURE__ */ jsx(ToggleGroup, {
8
8
  ...props,
9
9
  className: cn("bg-muted inline-flex w-fit items-center rounded-ui-md p-1", className)
@@ -15,6 +15,7 @@ function ToggleGroupItem({ className, ...props }) {
15
15
  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)
16
16
  });
17
17
  }
18
- export { ToggleGroupItem as n, ToggleGroup$1 as t };
18
+ var ToggleGroup$1 = Object.assign(ToggleGroupRoot, { Item: ToggleGroupItem });
19
+ export { ToggleGroup$1 as t };
19
20
 
20
- //# sourceMappingURL=toggle-group-NHZGXljI.js.map
21
+ //# sourceMappingURL=toggle-group-B8vnkGCk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-group-B8vnkGCk.js","names":["BaseToggleGroup","ToggleGroup"],"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\nfunction ToggleGroupRoot({ 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\nfunction 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\nexport const ToggleGroup = Object.assign(ToggleGroupRoot, { Item: ToggleGroupItem });\n"],"mappings":";;;;;AAKA,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAiD;CACxF,OAAO,oBAACA,aAAD;EAAiB,GAAI;EAAO,WAAW,GAAG,6DAA6D,SAAS;CAAI,CAAA;AAC7H;AAEA,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAwC;CAC/E,OAAO,oBAAC,QAAD;EAAQ,GAAI;EAAO,WAAW,GAAG,0TAA0T,SAAS;CAAI,CAAA;AACjX;AAEA,IAAaC,gBAAc,OAAO,OAAO,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Toolbar } from "@base-ui/react/toolbar";
4
4
  // src/components/toolbar/toolbar.tsx
5
- function Toolbar$1({ className, ...props }) {
5
+ function ToolbarRoot({ className, ...props }) {
6
6
  return /* @__PURE__ */ jsx(Toolbar.Root, {
7
7
  ...props,
8
8
  className: cn("rounded-ui-md border-border bg-background flex w-fit items-center gap-1 border p-1", className)
@@ -38,6 +38,13 @@ function ToolbarSeparator({ className, ...props }) {
38
38
  className: cn("bg-border mx-1 h-5 w-px", className)
39
39
  });
40
40
  }
41
- export { ToolbarLink as a, ToolbarInput as i, ToolbarButton as n, ToolbarSeparator as o, ToolbarGroup as r, Toolbar$1 as t };
41
+ var Toolbar$1 = Object.assign(ToolbarRoot, {
42
+ Button: ToolbarButton,
43
+ Group: ToolbarGroup,
44
+ Input: ToolbarInput,
45
+ Link: ToolbarLink,
46
+ Separator: ToolbarSeparator
47
+ });
48
+ export { Toolbar$1 as t };
42
49
 
43
- //# sourceMappingURL=toolbar-DJDrGUV_.js.map
50
+ //# sourceMappingURL=toolbar-BVA36_dH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar-BVA36_dH.js","names":["BaseToolbar","Toolbar"],"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\nfunction ToolbarRoot({ 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\nfunction ToolbarGroup({ className, ...props }: ComponentProps<typeof BaseToolbar.Group>) {\n return <BaseToolbar.Group {...props} className={cn(\"flex items-center gap-1\", className)} />;\n}\n\nfunction 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\nfunction 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\nfunction 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\nfunction 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\nexport const Toolbar = Object.assign(ToolbarRoot, {\n Button: ToolbarButton,\n Group: ToolbarGroup,\n Input: ToolbarInput,\n Link: ToolbarLink,\n Separator: ToolbarSeparator,\n});\n"],"mappings":";;;;AAIA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAkD;CACrF,OAAO,oBAACA,QAAY,MAAb;EAAkB,GAAI;EAAO,WAAW,GAAG,sFAAsF,SAAS;CAAI,CAAA;AACvJ;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAmD;CACvF,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AAC7F;AAEA,SAAS,cAAc,EAAE,WAAW,GAAG,SAAoD;CACzF,OAAO,oBAACA,QAAY,QAAb;EAAoB,GAAI;EAAO,WAAW,GAAG,oPAAoP,SAAS;CAAI,CAAA;AACvT;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAkD;CACrF,OAAO,oBAACA,QAAY,MAAb;EAAkB,GAAI;EAAO,WAAW,GAAG,oJAAoJ,SAAS;CAAI,CAAA;AACrN;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAmD;CACvF,OAAO,oBAACA,QAAY,OAAb;EAAmB,GAAI;EAAO,WAAW,GAAG,uJAAuJ,SAAS;CAAI,CAAA;AACzN;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CAC/F,OAAO,oBAACA,QAAY,WAAb;EAAuB,GAAI;EAAO,WAAW,GAAG,2BAA2B,SAAS;CAAI,CAAA;AACjG;AAEA,IAAaC,YAAU,OAAO,OAAO,aAAa;CAChD,QAAQ;CACR,OAAO;CACP,OAAO;CACP,MAAM;CACN,WAAW;AACb,CAAC"}
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Tooltip } from "@base-ui/react/tooltip";
4
4
  // src/components/tooltip/tooltip.tsx
5
5
  var TooltipProvider = Tooltip.Provider;
6
- var Tooltip$1 = Tooltip.Root;
6
+ var TooltipRoot = Tooltip.Root;
7
7
  var TooltipTrigger = Tooltip.Trigger;
8
8
  function TooltipContent({ className, ...props }) {
9
9
  return /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, {
@@ -14,6 +14,11 @@ function TooltipContent({ className, ...props }) {
14
14
  })
15
15
  }) });
16
16
  }
17
- export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip$1 as t };
17
+ var Tooltip$1 = Object.assign(TooltipRoot, {
18
+ Trigger: TooltipTrigger,
19
+ Content: TooltipContent,
20
+ Provider: TooltipProvider
21
+ });
22
+ export { Tooltip$1 as t };
18
23
 
19
- //# sourceMappingURL=tooltip-B07nkHWG.js.map
24
+ //# sourceMappingURL=tooltip-a7t8wv2L.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-a7t8wv2L.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\nconst TooltipProvider = BaseTooltip.Provider;\nconst TooltipRoot = BaseTooltip.Root;\nconst TooltipTrigger = BaseTooltip.Trigger;\n\nfunction 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\nexport const Tooltip = Object.assign(TooltipRoot, {\n Trigger: TooltipTrigger,\n Content: TooltipContent,\n Provider: TooltipProvider,\n});\n"],"mappings":";;;;AAIA,IAAM,kBAAkBA,QAAY;AACpC,IAAM,cAAcA,QAAY;AAChC,IAAM,iBAAiBA,QAAY;AAEnC,SAAS,eAAe,EAAE,WAAW,GAAG,SAAmD;CACzF,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;AAEA,IAAaC,YAAU,OAAO,OAAO,aAAa;CAChD,SAAS;CACT,SAAS;CACT,UAAU;AACZ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walidsj/react-ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Accessible React components styled with Tailwind CSS v4 and built on Base UI primitives.",
5
5
  "keywords": [
6
6
  "react",
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion-Da0Y5c3W.js","names":["Accordion","BaseAccordion"],"sources":["../src/components/accordion/accordion.tsx"],"sourcesContent":["import { Accordion as BaseAccordion } from \"@base-ui/react/accordion\";\nimport { IconChevronDown } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Accordion = BaseAccordion.Root;\n\nexport function AccordionItem({ className, ...props }: ComponentProps<typeof BaseAccordion.Item>) {\n return <BaseAccordion.Item {...props} className={cn(\"border-border border-b\", className)} />;\n}\n\nexport function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof BaseAccordion.Trigger>) {\n return <BaseAccordion.Header className=\"flex\"><BaseAccordion.Trigger {...props} className={cn(\"text-foreground focus-visible:ring-ring flex flex-1 items-center justify-between py-4 text-left text-sm font-medium outline-none focus-visible:ring-2\", className)}>{children}<span className=\"text-muted-foreground ml-3 flex transition-transform data-[panel-open]:rotate-180\" aria-hidden=\"true\"><IconChevronDown size={16} /></span></BaseAccordion.Trigger></BaseAccordion.Header>;\n}\n\nexport function AccordionContent({ className, ...props }: ComponentProps<typeof BaseAccordion.Panel>) {\n return <BaseAccordion.Panel {...props} className={cn(\"text-muted-foreground overflow-hidden pb-4 text-sm\", className)} />;\n}\n"],"mappings":";;;;;AAKA,IAAaA,cAAYC,UAAc;AAEvC,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoD;CAChG,OAAO,oBAACA,UAAc,MAAf;EAAoB,GAAI;EAAO,WAAW,GAAG,0BAA0B,SAAS;CAAI,CAAA;AAC7F;AAEA,SAAgB,iBAAiB,EAAE,WAAW,UAAU,GAAG,SAAuD;CAChH,OAAO,oBAACA,UAAc,QAAf;EAAsB,WAAU;EAAO,UAAA,qBAACA,UAAc,SAAf;GAAuB,GAAI;GAAO,WAAW,GAAG,yJAAyJ,SAAS;GAAlN,UAAA,CAAsN,UAAS,oBAAC,QAAD;IAAM,WAAU;IAAoF,eAAY;IAAO,UAAA,oBAAC,iBAAD,EAAiB,MAAM,GAAK,CAAA;GAAO,CAAA,CAAwB;;CAAuB,CAAA;AACxd;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAqD;CACpG,OAAO,oBAACA,UAAc,OAAf;EAAqB,GAAI;EAAO,WAAW,GAAG,sDAAsD,SAAS;CAAI,CAAA;AAC1H"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert-D7lYqDGZ.js","names":[],"sources":["../src/components/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\nimport { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst alertVariants = cva(\"rounded-ui-lg border p-4 text-sm\", {\n variants: {\n variant: {\n default: \"border-border bg-background text-foreground\",\n danger: \"border-danger/40 bg-danger/10 text-foreground [&>svg]:text-danger\",\n success: \"border-success-foreground/30 bg-success text-success-foreground\",\n warning: \"border-warning-foreground/30 bg-warning text-warning-foreground\",\n },\n },\n defaultVariants: { variant: \"default\" },\n});\n\nexport interface AlertProps extends ComponentPropsWithoutRef<\"div\">, VariantProps<typeof alertVariants> {}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(function Alert(\n { className, variant = \"default\", ...props }, ref,\n) {\n return <div {...props} ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} />;\n});\n\nexport const AlertTitle = forwardRef<HTMLHeadingElement, ComponentPropsWithoutRef<\"h5\">>(\n function AlertTitle({ className, ...props }, ref) {\n return <h5 {...props} ref={ref} className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)} />;\n },\n);\n\nexport const AlertDescription = forwardRef<HTMLParagraphElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDescription({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"text-sm opacity-90 [&_p]:leading-relaxed\", className)} />;\n },\n);\n"],"mappings":";;;;;AAIA,IAAM,gBAAgB,IAAI,oCAAoC;CAC5D,UAAU,EACR,SAAS;EACP,SAAS;EACT,QAAQ;EACR,SAAS;EACT,SAAS;CACX,EACF;CACA,iBAAiB,EAAE,SAAS,UAAU;AACxC,CAAC;AAID,IAAa,QAAQ,WAAuC,SAAS,MACnE,EAAE,WAAW,UAAU,WAAW,GAAG,SAAS,KAC9C;CACA,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,MAAK;EAAQ,WAAW,GAAG,cAAc,EAAE,QAAQ,CAAC,GAAG,SAAS;CAAI,CAAA;AACvG,CAAC;AAED,IAAa,aAAa,WACxB,SAAS,WAAW,EAAE,WAAW,GAAG,SAAS,KAAK;CAChD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,gDAAgD,SAAS;CAAI,CAAA;AAC7G,CACF;AAEA,IAAa,mBAAmB,WAC9B,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAS,KAAK;CACtD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,4CAA4C,SAAS;CAAI,CAAA;AAC1G,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert-dialog-BSyPkfNR.js","names":["AlertDialog","BaseAlertDialog"],"sources":["../src/components/alert-dialog/alert-dialog.tsx"],"sourcesContent":["import { AlertDialog as BaseAlertDialog } from \"@base-ui/react/alert-dialog\";\nimport { type ComponentProps, type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { buttonVariants } from \"../button/button\";\nimport { cn } from \"../../lib/cn\";\n\nexport const AlertDialog = BaseAlertDialog.Root;\nexport const AlertDialogTrigger = BaseAlertDialog.Trigger;\n\nexport function AlertDialogContent({ className, children, ...props }: ComponentProps<typeof BaseAlertDialog.Popup>) {\n return (\n <BaseAlertDialog.Portal>\n <BaseAlertDialog.Backdrop className=\"fixed inset-0 z-40 bg-black/45 transition-opacity data-ending-style:opacity-0 data-starting-style:opacity-0\" />\n <BaseAlertDialog.Viewport className=\"fixed inset-0 z-50 grid place-items-center overflow-y-auto p-4\">\n <BaseAlertDialog.Popup\n {...props}\n className={cn(\n \"rounded-ui-lg border-border bg-background text-foreground w-full max-w-md border p-6 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\",\n className,\n )}\n >\n {children}\n </BaseAlertDialog.Popup>\n </BaseAlertDialog.Viewport>\n </BaseAlertDialog.Portal>\n );\n}\n\nexport function AlertDialogTitle({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Title>) {\n return <BaseAlertDialog.Title {...props} className={cn(\"text-foreground text-lg font-semibold tracking-tight\", className)} />;\n}\n\nexport function AlertDialogDescription({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Description>) {\n return <BaseAlertDialog.Description {...props} className={cn(\"text-muted-foreground mt-2 text-sm\", className)} />;\n}\n\nexport const AlertDialogHeader = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDialogHeader({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex flex-col\", className)} />;\n },\n);\n\nexport const AlertDialogFooter = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDialogFooter({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)} />;\n },\n);\n\nexport interface AlertDialogActionProps extends ComponentProps<typeof BaseAlertDialog.Close> {\n variant?: \"primary\" | \"danger\";\n}\n\nexport function AlertDialogAction({ className, variant = \"primary\", ...props }: AlertDialogActionProps) {\n return <BaseAlertDialog.Close {...props} className={cn(buttonVariants({ variant, size: \"md\" }), className)} />;\n}\n\nexport function AlertDialogCancel({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Close>) {\n return <BaseAlertDialog.Close {...props} className={cn(buttonVariants({ variant: \"outline\", size: \"md\" }), className)} />;\n}\n"],"mappings":";;;;;;AAKA,IAAaA,gBAAcC,YAAgB;AAC3C,IAAa,qBAAqBA,YAAgB;AAElD,SAAgB,mBAAmB,EAAE,WAAW,UAAU,GAAG,SAAuD;CAClH,OACE,qBAACA,YAAgB,QAAjB,EAAA,UAAA,CACE,oBAACA,YAAgB,UAAjB,EAA0B,WAAU,8GAA+G,CAAA,GACnJ,oBAACA,YAAgB,UAAjB;EAA0B,WAAU;EAClC,UAAA,oBAACA,YAAgB,OAAjB;GACE,GAAI;GACJ,WAAW,GACT,kSACA,SACF;GAEC;EACoB,CAAA;CACC,CAAA,CACJ,EAAA,CAAA;AAE5B;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AAC9H;AAEA,SAAgB,uBAAuB,EAAE,WAAW,GAAG,SAA6D;CAClH,OAAO,oBAACA,YAAgB,aAAjB;EAA6B,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAClH;AAEA,IAAa,oBAAoB,WAC/B,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,iBAAiB,SAAS;CAAI,CAAA;AAC/E,CACF;AAEA,IAAa,oBAAoB,WAC/B,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,+DAA+D,SAAS;CAAI,CAAA;AAC7H,CACF;AAMA,SAAgB,kBAAkB,EAAE,WAAW,UAAU,WAAW,GAAG,SAAiC;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,eAAe;GAAE;GAAS,MAAM;EAAK,CAAC,GAAG,SAAS;CAAI,CAAA;AAC/G;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAuD;CACvG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,eAAe;GAAE,SAAS;GAAW,MAAM;EAAK,CAAC,GAAG,SAAS;CAAI,CAAA;AAC1H"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"autocomplete-D_OafKFC.js","names":["Autocomplete","BaseAutocomplete"],"sources":["../src/components/autocomplete/autocomplete.tsx"],"sourcesContent":["import { Autocomplete as BaseAutocomplete } from \"@base-ui/react/autocomplete\";\nimport { IconX } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Autocomplete = BaseAutocomplete.Root;\n\nexport function AutocompleteInputGroup({ className, ...props }: ComponentProps<typeof BaseAutocomplete.InputGroup>) {\n return <BaseAutocomplete.InputGroup {...props} className={cn(\"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 relative flex h-10 w-full items-center border focus-within:ring-2\", className)} />;\n}\n\nexport function AutocompleteInput({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Input>) {\n return <BaseAutocomplete.Input {...props} className={cn(\"text-foreground placeholder:text-muted-foreground h-full min-w-0 flex-1 bg-transparent px-3 text-sm outline-none\", className)} />;\n}\n\nexport function AutocompleteClear({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Clear>) {\n return <BaseAutocomplete.Clear {...props} aria-label=\"Clear input\" className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 items-center justify-center text-sm\", className)}><IconX size={16} aria-hidden=\"true\" /></BaseAutocomplete.Clear>;\n}\n\nexport function AutocompleteContent({ className, children, ...props }: ComponentProps<typeof BaseAutocomplete.Popup>) {\n return (\n <BaseAutocomplete.Portal>\n <BaseAutocomplete.Positioner sideOffset={4} className=\"z-50 outline-none\">\n <BaseAutocomplete.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground min-w-[var(--anchor-width)] overflow-hidden border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)}>\n <BaseAutocomplete.Empty className=\"text-muted-foreground px-2 py-3 text-sm\">No results found.</BaseAutocomplete.Empty>\n <BaseAutocomplete.List className=\"max-h-64 overflow-y-auto overscroll-contain outline-none data-empty:p-0\">{children}</BaseAutocomplete.List>\n </BaseAutocomplete.Popup>\n </BaseAutocomplete.Positioner>\n </BaseAutocomplete.Portal>\n );\n}\n\nexport function AutocompleteItem({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Item>) {\n return <BaseAutocomplete.Item {...props} className={cn(\"data-highlighted:bg-muted rounded-ui-sm flex cursor-default items-center px-2 py-1.5 text-sm outline-none select-none data-disabled:opacity-50\", className)} />;\n}\n"],"mappings":";;;;;AAKA,IAAaA,iBAAeC,aAAiB;AAE7C,SAAgB,uBAAuB,EAAE,WAAW,GAAG,SAA6D;CAClH,OAAO,oBAACA,aAAiB,YAAlB;EAA6B,GAAI;EAAO,WAAW,GAAG,kKAAkK,SAAS;CAAI,CAAA;AAC9O;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACxG,OAAO,oBAACA,aAAiB,OAAlB;EAAwB,GAAI;EAAO,WAAW,GAAG,oHAAoH,SAAS;CAAI,CAAA;AAC3L;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACxG,OAAO,oBAACA,aAAiB,OAAlB;EAAwB,GAAI;EAAO,cAAW;EAAc,WAAW,GAAG,mGAAmG,SAAS;EAAG,UAAA,oBAAC,OAAD;GAAO,MAAM;GAAI,eAAY;EAAQ,CAAA;CAAyB,CAAA;AAChQ;AAEA,SAAgB,oBAAoB,EAAE,WAAW,UAAU,GAAG,SAAwD;CACpH,OACE,oBAACA,aAAiB,QAAlB,EAAA,UACE,oBAACA,aAAiB,YAAlB;EAA6B,YAAY;EAAG,WAAU;EACpD,UAAA,qBAACA,aAAiB,OAAlB;GAAwB,GAAI;GAAO,WAAW,GAAG,qKAAqK,SAAS;GAA/N,UAAA,CACE,oBAACA,aAAiB,OAAlB;IAAwB,WAAU;IAA0C,UAAA;GAAyC,CAAA,GACrH,oBAACA,aAAiB,MAAlB;IAAuB,WAAU;IAA2E;GAAgC,CAAA,CACtH;;CACG,CAAA,EACN,CAAA;AAE7B;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,aAAiB,MAAlB;EAAuB,GAAI;EAAO,WAAW,GAAG,kJAAkJ,SAAS;CAAI,CAAA;AACxN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar-CgtyIpnX.js","names":["Avatar","BaseAvatar"],"sources":["../src/components/avatar/avatar.tsx","../src/components/avatar/avatar-group.tsx"],"sourcesContent":["import { Avatar as BaseAvatar } from \"@base-ui/react/avatar\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Avatar = BaseAvatar.Root;\n\nexport function AvatarImage({ className, ...props }: ComponentProps<typeof BaseAvatar.Image>) {\n return <BaseAvatar.Image {...props} className={cn(\"aspect-square size-full object-cover\", className)} />;\n}\n\nexport function AvatarFallback({ className, ...props }: ComponentProps<typeof BaseAvatar.Fallback>) {\n return <BaseAvatar.Fallback {...props} className={cn(\"bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-xs font-medium\", className)} />;\n}\n","import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const AvatarGroup = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AvatarGroup({ className, role = \"group\", ...props }, ref) {\n return (\n <div\n {...props}\n ref={ref}\n role={role}\n className={cn(\"flex w-fit items-center -space-x-3 [&>*]:ring-2 [&>*]:ring-background\", className)}\n />\n );\n },\n);\n\nexport const AvatarGroupCount = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"span\">>(\n function AvatarGroupCount({ className, ...props }, ref) {\n return (\n <span\n {...props}\n ref={ref}\n className={cn(\"bg-muted text-muted-foreground inline-flex size-10 shrink-0 items-center justify-center rounded-full text-xs font-medium\", className)}\n />\n );\n },\n);\n"],"mappings":";;;;;AAIA,IAAaA,WAASC,OAAW;AAEjC,SAAgB,YAAY,EAAE,WAAW,GAAG,SAAkD;CAC5F,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wCAAwC,SAAS;CAAI,CAAA;AACzG;AAEA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAAqD;CAClG,OAAO,oBAACA,OAAW,UAAZ;EAAqB,GAAI;EAAO,WAAW,GAAG,8GAA8G,SAAS;CAAI,CAAA;AAClL;;ACTA,IAAa,cAAc,WACzB,SAAS,YAAY,EAAE,WAAW,OAAO,SAAS,GAAG,SAAS,KAAK;CACjE,OACE,oBAAC,OAAD;EACE,GAAI;EACC;EACC;EACN,WAAW,GAAG,yEAAyE,SAAS;CACjG,CAAA;AAEL,CACF;AAEA,IAAa,mBAAmB,WAC9B,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAS,KAAK;CACtD,OACE,oBAAC,QAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,4HAA4H,SAAS;CACpJ,CAAA;AAEL,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"breadcrumb-ieuPHz2w.js","names":[],"sources":["../src/components/breadcrumb/breadcrumb.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Breadcrumb({ ...props }: ComponentPropsWithoutRef<\"nav\">) {\n return <nav aria-label=\"breadcrumb\" {...props} />;\n}\n\nexport const BreadcrumbList = forwardRef<HTMLOListElement, ComponentPropsWithoutRef<\"ol\">>(\n function BreadcrumbList({ className, ...props }, ref) {\n return <ol {...props} ref={ref} className={cn(\"text-muted-foreground flex flex-wrap items-center gap-2 text-sm\", className)} />;\n },\n);\n\nexport const BreadcrumbItem = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<\"li\">>(\n function BreadcrumbItem({ className, ...props }, ref) {\n return <li {...props} ref={ref} className={cn(\"inline-flex items-center gap-2\", className)} />;\n },\n);\n\nexport const BreadcrumbLink = forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<\"a\">>(\n function BreadcrumbLink({ className, ...props }, ref) {\n return <a {...props} ref={ref} className={cn(\"hover:text-foreground transition-colors\", className)} />;\n },\n);\n\nexport const BreadcrumbPage = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"span\">>(\n function BreadcrumbPage({ className, ...props }, ref) {\n return <span {...props} ref={ref} aria-current=\"page\" className={cn(\"text-foreground font-normal\", className)} />;\n },\n);\n\nexport function BreadcrumbSeparator({ className, children = \"/\", ...props }: ComponentPropsWithoutRef<\"li\">) {\n return <li {...props} aria-hidden=\"true\" className={cn(\"text-muted-foreground [&>svg]:size-3.5\", className)}>{children}</li>;\n}\n"],"mappings":";;;;AAGA,SAAgB,WAAW,EAAE,GAAG,SAA0C;CACxE,OAAO,oBAAC,OAAD;EAAK,cAAW;EAAa,GAAI;CAAQ,CAAA;AAClD;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,mEAAmE,SAAS;CAAI,CAAA;AAChI,CACF;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,kCAAkC,SAAS;CAAI,CAAA;AAC/F,CACF;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,KAAD;EAAG,GAAI;EAAY;EAAK,WAAW,GAAG,2CAA2C,SAAS;CAAI,CAAA;AACvG,CACF;AAEA,IAAa,iBAAiB,WAC5B,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,QAAD;EAAM,GAAI;EAAY;EAAK,gBAAa;EAAO,WAAW,GAAG,+BAA+B,SAAS;CAAI,CAAA;AAClH,CACF;AAEA,SAAgB,oBAAoB,EAAE,WAAW,WAAW,KAAK,GAAG,SAAyC;CAC3G,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAO,eAAY;EAAO,WAAW,GAAG,0CAA0C,SAAS;EAAI;CAAa,CAAA;AAC7H"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"collapsible-CaAEi_w7.js","names":["Collapsible","BaseCollapsible"],"sources":["../src/components/collapsible/collapsible.tsx"],"sourcesContent":["import { Collapsible as BaseCollapsible } from \"@base-ui/react/collapsible\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Collapsible = BaseCollapsible.Root;\n\nexport function CollapsibleTrigger({ className, ...props }: ComponentProps<typeof BaseCollapsible.Trigger>) {\n return <BaseCollapsible.Trigger {...props} className={cn(\"text-foreground focus-visible:ring-ring inline-flex items-center gap-2 text-sm font-medium outline-none focus-visible:ring-2\", className)} />;\n}\n\nexport function CollapsibleContent({ className, ...props }: ComponentProps<typeof BaseCollapsible.Panel>) {\n return <BaseCollapsible.Panel {...props} className={cn(\"overflow-hidden\", 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,gIAAgI,SAAS;CAAI,CAAA;AACxM;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAuD;CACxG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,mBAAmB,SAAS;CAAI,CAAA;AACzF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"combobox-CDRnBR2S.js","names":["Combobox","BaseCombobox"],"sources":["../src/components/combobox/combobox.tsx"],"sourcesContent":["import { Combobox as BaseCombobox } from \"@base-ui/react/combobox\";\nimport { IconCheck, IconChevronDown, IconX } from \"@tabler/icons-react\";\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Combobox = BaseCombobox.Root;\nexport const ComboboxLabel = BaseCombobox.Label;\nexport const ComboboxValue = BaseCombobox.Value;\nexport const ComboboxGroup = BaseCombobox.Group;\nexport const ComboboxItemIndicator = BaseCombobox.ItemIndicator;\nexport const ComboboxSeparator = BaseCombobox.Separator;\n\nexport function ComboboxInputGroup({ className, ...props }: ComponentProps<typeof BaseCombobox.InputGroup>) {\n return (\n <BaseCombobox.InputGroup\n {...props}\n className={cn(\n \"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 relative flex h-10 w-full items-center border outline-none focus-within:ring-2\",\n className,\n )}\n />\n );\n}\n\nexport function ComboboxInput({ className, ...props }: ComponentProps<typeof BaseCombobox.Input>) {\n return (\n <BaseCombobox.Input\n {...props}\n className={cn(\"text-foreground placeholder:text-muted-foreground h-full min-w-0 flex-1 bg-transparent px-3 text-sm outline-none\", className)}\n />\n );\n}\n\nexport function ComboboxClear({ className, ...props }: ComponentProps<typeof BaseCombobox.Clear>) {\n return (\n <BaseCombobox.Clear\n {...props}\n aria-label=\"Clear selection\"\n className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 shrink-0 items-center justify-center text-sm outline-none\", className)}\n >\n <IconX size={16} aria-hidden=\"true\" />\n </BaseCombobox.Clear>\n );\n}\n\nexport function ComboboxTrigger({ className, ...props }: ComponentProps<typeof BaseCombobox.Trigger>) {\n return (\n <BaseCombobox.Trigger\n {...props}\n aria-label=\"Open options\"\n className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 shrink-0 items-center justify-center text-sm outline-none\", className)}\n >\n <IconChevronDown size={16} aria-hidden=\"true\" />\n </BaseCombobox.Trigger>\n );\n}\n\nexport interface ComboboxContentProps extends Omit<ComponentProps<typeof BaseCombobox.Popup>, \"children\"> {\n children?: ComponentProps<typeof BaseCombobox.List>[\"children\"];\n empty?: ReactNode;\n listClassName?: string;\n}\n\nexport function ComboboxContent({ className, children, empty = \"No results found.\", listClassName, ...props }: ComboboxContentProps) {\n return (\n <BaseCombobox.Portal>\n <BaseCombobox.Positioner sideOffset={4} className=\"outline-none\">\n <BaseCombobox.Popup\n {...props}\n className={cn(\n \"rounded-ui-lg border-border bg-background text-foreground max-h-72 min-w-[var(--anchor-width)] overflow-hidden border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none data-ending-style:scale-[0.98] data-ending-style:opacity-0 data-starting-style:scale-[0.98] data-starting-style:opacity-0\",\n className,\n )}\n >\n <BaseCombobox.Empty className=\"text-muted-foreground px-2 py-3 text-sm\">{empty}</BaseCombobox.Empty>\n <BaseCombobox.List className={cn(\"max-h-64 overflow-y-auto overscroll-contain outline-none data-empty:p-0\", listClassName)}>\n {children}\n </BaseCombobox.List>\n </BaseCombobox.Popup>\n </BaseCombobox.Positioner>\n </BaseCombobox.Portal>\n );\n}\n\nexport function ComboboxGroupLabel({ className, ...props }: ComponentProps<typeof BaseCombobox.GroupLabel>) {\n return <BaseCombobox.GroupLabel {...props} className={cn(\"text-muted-foreground px-2 py-1.5 text-xs font-medium\", className)} />;\n}\n\nexport function ComboboxItem({ className, children, ...props }: ComponentProps<typeof BaseCombobox.Item>) {\n return (\n <BaseCombobox.Item\n {...props}\n className={cn(\n \"data-highlighted:bg-muted rounded-ui-sm relative flex cursor-default items-center gap-2 py-1.5 pr-8 pl-2 text-sm outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50\",\n className,\n )}\n >\n {children}\n <BaseCombobox.ItemIndicator className=\"absolute right-2 flex\"><IconCheck size={16} aria-hidden=\"true\" /></BaseCombobox.ItemIndicator>\n </BaseCombobox.Item>\n );\n}\n"],"mappings":";;;;;AAKA,IAAaA,aAAWC,SAAa;AACrC,IAAa,gBAAgBA,SAAa;AAC1C,IAAa,gBAAgBA,SAAa;AAC1C,IAAa,gBAAgBA,SAAa;AAC1C,IAAa,wBAAwBA,SAAa;AAClD,IAAa,oBAAoBA,SAAa;AAE9C,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OACE,oBAACA,SAAa,YAAd;EACE,GAAI;EACJ,WAAW,GACT,+KACA,SACF;CACD,CAAA;AAEL;AAEA,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoD;CAChG,OACE,oBAACA,SAAa,OAAd;EACE,GAAI;EACJ,WAAW,GAAG,oHAAoH,SAAS;CAC5I,CAAA;AAEL;AAEA,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoD;CAChG,OACE,oBAACA,SAAa,OAAd;EACE,GAAI;EACJ,cAAW;EACX,WAAW,GAAG,yHAAyH,SAAS;EAEhJ,UAAA,oBAAC,OAAD;GAAO,MAAM;GAAI,eAAY;EAAQ,CAAA;CACnB,CAAA;AAExB;AAEA,SAAgB,gBAAgB,EAAE,WAAW,GAAG,SAAsD;CACpG,OACE,oBAACA,SAAa,SAAd;EACE,GAAI;EACJ,cAAW;EACX,WAAW,GAAG,yHAAyH,SAAS;EAEhJ,UAAA,oBAAC,iBAAD;GAAiB,MAAM;GAAI,eAAY;EAAQ,CAAA;CAC3B,CAAA;AAE1B;AAQA,SAAgB,gBAAgB,EAAE,WAAW,UAAU,QAAQ,qBAAqB,eAAe,GAAG,SAA+B;CACnI,OACE,oBAACA,SAAa,QAAd,EAAA,UACE,oBAACA,SAAa,YAAd;EAAyB,YAAY;EAAG,WAAU;EAChD,UAAA,qBAACA,SAAa,OAAd;GACE,GAAI;GACJ,WAAW,GACT,wSACA,SACF;GALF,UAAA,CAOE,oBAACA,SAAa,OAAd;IAAoB,WAAU;IAA2C,UAAA;GAA0B,CAAA,GACnG,oBAACA,SAAa,MAAd;IAAmB,WAAW,GAAG,2EAA2E,aAAa;IACtH;GACgB,CAAA,CACD;;CACG,CAAA,EACN,CAAA;AAEzB;AAEA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CAC1G,OAAO,oBAACA,SAAa,YAAd;EAAyB,GAAI;EAAO,WAAW,GAAG,yDAAyD,SAAS;CAAI,CAAA;AACjI;AAEA,SAAgB,aAAa,EAAE,WAAW,UAAU,GAAG,SAAmD;CACxG,OACE,qBAACA,SAAa,MAAd;EACE,GAAI;EACJ,WAAW,GACT,wMACA,SACF;EALF,UAAA,CAOG,UACD,oBAACA,SAAa,eAAd;GAA4B,WAAU;GAAwB,UAAA,oBAAC,WAAD;IAAW,MAAM;IAAI,eAAY;GAAQ,CAAA;EAA6B,CAAA,CACnH;;AAEvB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-menu-Bgjfb3Vn.js","names":["ContextMenu","BaseContextMenu"],"sources":["../src/components/context-menu/context-menu.tsx"],"sourcesContent":["import { ContextMenu as BaseContextMenu } from \"@base-ui/react/context-menu\";\nimport { IconCheck, IconCircleFilled } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const ContextMenu = BaseContextMenu.Root;\nexport const ContextMenuTrigger = BaseContextMenu.Trigger;\n\nexport function ContextMenuContent({ className, ...props }: ComponentProps<typeof BaseContextMenu.Popup>) {\n return (\n <BaseContextMenu.Portal>\n <BaseContextMenu.Positioner className=\"z-50 outline-none\">\n <BaseContextMenu.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)} />\n </BaseContextMenu.Positioner>\n </BaseContextMenu.Portal>\n );\n}\n\nexport function ContextMenuItem({ className, ...props }: ComponentProps<typeof BaseContextMenu.Item>) {\n return <BaseContextMenu.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 ContextMenuCheckboxItem({ className, children, ...props }: ComponentProps<typeof BaseContextMenu.CheckboxItem>) {\n return (\n <BaseContextMenu.CheckboxItem {...props} className={cn(\"rounded-ui-sm focus:bg-muted focus:text-foreground relative flex cursor-default items-center py-1.5 pr-2 pl-8 text-sm outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50\", className)}>\n <BaseContextMenu.CheckboxItemIndicator className=\"absolute left-2 flex\"><IconCheck size={16} aria-hidden=\"true\" /></BaseContextMenu.CheckboxItemIndicator>\n {children}\n </BaseContextMenu.CheckboxItem>\n );\n}\n\nexport function ContextMenuRadioGroup({ className, ...props }: ComponentProps<typeof BaseContextMenu.RadioGroup>) {\n return <BaseContextMenu.RadioGroup {...props} className={className} />;\n}\n\nexport function ContextMenuRadioItem({ className, children, ...props }: ComponentProps<typeof BaseContextMenu.RadioItem>) {\n return (\n <BaseContextMenu.RadioItem {...props} className={cn(\"rounded-ui-sm focus:bg-muted focus:text-foreground relative flex cursor-default items-center py-1.5 pr-2 pl-8 text-sm outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50\", className)}>\n <BaseContextMenu.RadioItemIndicator className=\"absolute left-2 flex\"><IconCircleFilled size={8} aria-hidden=\"true\" /></BaseContextMenu.RadioItemIndicator>\n {children}\n </BaseContextMenu.RadioItem>\n );\n}\n\nexport function ContextMenuGroup({ className, ...props }: ComponentProps<typeof BaseContextMenu.Group>) {\n return <BaseContextMenu.Group {...props} className={className} />;\n}\n\nexport function ContextMenuLabel({ className, ...props }: ComponentProps<typeof BaseContextMenu.GroupLabel>) {\n return <BaseContextMenu.GroupLabel {...props} className={cn(\"text-muted-foreground px-2 py-1.5 text-xs font-medium\", className)} />;\n}\n\nexport function ContextMenuSeparator({ className, ...props }: ComponentProps<typeof BaseContextMenu.Separator>) {\n return <BaseContextMenu.Separator {...props} className={cn(\"bg-border -mx-1 my-1 h-px\", className)} />;\n}\n"],"mappings":";;;;;AAKA,IAAaA,gBAAcC,YAAgB;AAC3C,IAAa,qBAAqBA,YAAgB;AAElD,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAuD;CACxG,OACE,oBAACA,YAAgB,QAAjB,EAAA,UACE,oBAACA,YAAgB,YAAjB;EAA4B,WAAU;EACpC,UAAA,oBAACA,YAAgB,OAAjB;GAAuB,GAAI;GAAO,WAAW,GAAG,kIAAkI,SAAS;EAAI,CAAA;CACrK,CAAA,EACN,CAAA;AAE5B;AAEA,SAAgB,gBAAgB,EAAE,WAAW,GAAG,SAAsD;CACpG,OAAO,oBAACA,YAAgB,MAAjB;EAAsB,GAAI;EAAO,WAAW,GAAG,8MAA8M,SAAS;CAAI,CAAA;AACnR;AAEA,SAAgB,wBAAwB,EAAE,WAAW,UAAU,GAAG,SAA8D;CAC9H,OACE,qBAACA,YAAgB,cAAjB;EAA8B,GAAI;EAAO,WAAW,GAAG,6MAA6M,SAAS;EAA7Q,UAAA,CACE,oBAACA,YAAgB,uBAAjB;GAAuC,WAAU;GAAuB,UAAA,oBAAC,WAAD;IAAW,MAAM;IAAI,eAAY;GAAQ,CAAA;EAAwC,CAAA,GACxJ,QAC2B;;AAElC;AAEA,SAAgB,sBAAsB,EAAE,WAAW,GAAG,SAA4D;CAChH,OAAO,oBAACA,YAAgB,YAAjB;EAA4B,GAAI;EAAkB;CAAY,CAAA;AACvE;AAEA,SAAgB,qBAAqB,EAAE,WAAW,UAAU,GAAG,SAA2D;CACxH,OACE,qBAACA,YAAgB,WAAjB;EAA2B,GAAI;EAAO,WAAW,GAAG,6MAA6M,SAAS;EAA1Q,UAAA,CACE,oBAACA,YAAgB,oBAAjB;GAAoC,WAAU;GAAuB,UAAA,oBAAC,kBAAD;IAAkB,MAAM;IAAG,eAAY;GAAQ,CAAA;EAAqC,CAAA,GACxJ,QACwB;;AAE/B;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAkB;CAAY,CAAA;AAClE;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAA4D;CAC3G,OAAO,oBAACA,YAAgB,YAAjB;EAA4B,GAAI;EAAO,WAAW,GAAG,yDAAyD,SAAS;CAAI,CAAA;AACpI;AAEA,SAAgB,qBAAqB,EAAE,WAAW,GAAG,SAA2D;CAC9G,OAAO,oBAACA,YAAgB,WAAjB;EAA2B,GAAI;EAAO,WAAW,GAAG,6BAA6B,SAAS;CAAI,CAAA;AACvG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"description-list-DsadmGs0.js","names":[],"sources":["../src/components/description-list/description-list.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const DescriptionList = forwardRef<HTMLDListElement, ComponentPropsWithoutRef<\"dl\">>(\n function DescriptionList({ className, ...props }, ref) {\n return <dl {...props} ref={ref} className={cn(\"grid gap-x-6 gap-y-4\", className)} />;\n },\n);\n\nexport const DescriptionTerm = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"dt\">>(\n function DescriptionTerm({ className, ...props }, ref) {\n return <dt {...props} ref={ref} className={cn(\"text-muted-foreground text-sm\", className)} />;\n },\n);\n\nexport const DescriptionDetails = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"dd\">>(\n function DescriptionDetails({ className, ...props }, ref) {\n return <dd {...props} ref={ref} className={cn(\"text-foreground m-0 text-sm font-medium\", className)} />;\n },\n);\n"],"mappings":";;;;AAGA,IAAa,kBAAkB,WAC7B,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAS,KAAK;CACrD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,wBAAwB,SAAS;CAAI,CAAA;AACrF,CACF;AAEA,IAAa,kBAAkB,WAC7B,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAS,KAAK;CACrD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,iCAAiC,SAAS;CAAI,CAAA;AAC9F,CACF;AAEA,IAAa,qBAAqB,WAChC,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAS,KAAK;CACxD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,2CAA2C,SAAS;CAAI,CAAA;AACxG,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog-55wgLYTM.js","names":["Dialog","BaseDialog"],"sources":["../src/components/dialog/dialog.tsx"],"sourcesContent":["import { Dialog as BaseDialog } from \"@base-ui/react/dialog\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Dialog = BaseDialog.Root;\nexport const DialogTrigger = BaseDialog.Trigger;\nexport const DialogClose = BaseDialog.Close;\n\nexport function DialogContent({ className, children, ...props }: ComponentProps<typeof BaseDialog.Popup>) {\n return (\n <BaseDialog.Portal>\n <BaseDialog.Backdrop className=\"fixed inset-0 bg-black/45 transition-opacity\" />\n <BaseDialog.Viewport className=\"fixed inset-0 grid place-items-center overflow-y-auto p-4\">\n <BaseDialog.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground w-full max-w-lg border p-6 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)}>\n {children}\n </BaseDialog.Popup>\n </BaseDialog.Viewport>\n </BaseDialog.Portal>\n );\n}\n\nexport function DialogTitle({ 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 DialogDescription({ className, ...props }: ComponentProps<typeof BaseDialog.Description>) {\n return <BaseDialog.Description {...props} className={cn(\"text-muted-foreground mt-2 text-sm\", className)} />;\n}\n"],"mappings":";;;;AAIA,IAAaA,WAASC,OAAW;AACjC,IAAa,gBAAgBA,OAAW;AACxC,IAAa,cAAcA,OAAW;AAEtC,SAAgB,cAAc,EAAE,WAAW,UAAU,GAAG,SAAkD;CACxG,OACE,qBAACA,OAAW,QAAZ,EAAA,UAAA,CACE,oBAACA,OAAW,UAAZ,EAAqB,WAAU,+CAAgD,CAAA,GAC/E,oBAACA,OAAW,UAAZ;EAAqB,WAAU;EAC7B,UAAA,oBAACA,OAAW,OAAZ;GAAkB,GAAI;GAAO,WAAW,GAAG,yIAAyI,SAAS;GAC1L;EACe,CAAA;CACC,CAAA,CACJ,EAAA,CAAA;AAEvB;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAAkD;CAC5F,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AACzH;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACxG,OAAO,oBAACA,OAAW,aAAZ;EAAwB,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAC7G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"drawer-C00GsyiF.js","names":["Drawer","BaseDrawer"],"sources":["../src/components/drawer/drawer.tsx"],"sourcesContent":["import { Drawer as BaseDrawer } from \"@base-ui/react/drawer\";\nimport type { ComponentProps, ComponentPropsWithoutRef } from \"react\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Drawer = BaseDrawer.Root;\nexport const DrawerTrigger = BaseDrawer.Trigger;\nexport const DrawerClose = BaseDrawer.Close;\n\nexport function DrawerContent({ className, children, ...props }: ComponentProps<typeof BaseDrawer.Popup>) {\n return (\n <BaseDrawer.Portal>\n <BaseDrawer.Backdrop className=\"fixed inset-0 z-40 bg-black/45 transition-opacity data-ending-style:opacity-0 data-starting-style:opacity-0\" />\n <BaseDrawer.Viewport className=\"pointer-events-none fixed inset-0 z-50 flex items-end justify-center p-3\">\n <BaseDrawer.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground pointer-events-auto max-h-[85dvh] w-full max-w-lg overflow-y-auto border p-6 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none transition-transform data-ending-style:translate-y-full data-starting-style:translate-y-full\", className)}>\n <BaseDrawer.Content className=\"mx-auto w-full max-w-2xl\">{children}</BaseDrawer.Content>\n </BaseDrawer.Popup>\n </BaseDrawer.Viewport>\n </BaseDrawer.Portal>\n );\n}\n\nexport function DrawerTitle({ className, ...props }: ComponentProps<typeof BaseDrawer.Title>) {\n return <BaseDrawer.Title {...props} className={cn(\"text-foreground text-lg font-semibold tracking-tight\", className)} />;\n}\n\nexport function DrawerDescription({ className, ...props }: ComponentProps<typeof BaseDrawer.Description>) {\n return <BaseDrawer.Description {...props} className={cn(\"text-muted-foreground mt-2 text-sm\", className)} />;\n}\n\nexport const DrawerHeader = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function DrawerHeader({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex flex-col gap-1\", className)} />;\n },\n);\n\nexport const DrawerFooter = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function DrawerFooter({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)} />;\n },\n);\n"],"mappings":";;;;;AAKA,IAAaA,WAASC,OAAW;AACjC,IAAa,gBAAgBA,OAAW;AACxC,IAAa,cAAcA,OAAW;AAEtC,SAAgB,cAAc,EAAE,WAAW,UAAU,GAAG,SAAkD;CACxG,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,wRAAwR,SAAS;GAC1U,UAAA,oBAACA,OAAW,SAAZ;IAAoB,WAAU;IAA4B;GAA6B,CAAA;EACvE,CAAA;CACC,CAAA,CACJ,EAAA,CAAA;AAEvB;AAEA,SAAgB,YAAY,EAAE,WAAW,GAAG,SAAkD;CAC5F,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AACzH;AAEA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACxG,OAAO,oBAACA,OAAW,aAAZ;EAAwB,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAC7G;AAEA,IAAa,eAAe,WAC1B,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACrF,CACF;AAEA,IAAa,eAAe,WAC1B,SAAS,aAAa,EAAE,WAAW,GAAG,SAAS,KAAK;CAClD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,+DAA+D,SAAS;CAAI,CAAA;AAC7H,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-Bdv_CYy4.js","names":["BaseMenu"],"sources":["../src/components/dropdown-menu/dropdown-menu.tsx"],"sourcesContent":["import { Menu as BaseMenu } from \"@base-ui/react/menu\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const DropdownMenu = BaseMenu.Root;\nexport const DropdownMenuTrigger = BaseMenu.Trigger;\n\nexport function DropdownMenuContent({ className, ...props }: ComponentProps<typeof BaseMenu.Popup>) {\n return <BaseMenu.Portal><BaseMenu.Positioner sideOffset={5}><BaseMenu.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground min-w-36 border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)} /></BaseMenu.Positioner></BaseMenu.Portal>;\n}\n\nexport function DropdownMenuItem({ className, ...props }: ComponentProps<typeof BaseMenu.Item>) {\n return <BaseMenu.Item {...props} className={cn(\"focus:bg-muted focus:text-foreground relative flex cursor-default items-center rounded-ui-sm 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 DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof BaseMenu.Separator>) {\n return <BaseMenu.Separator {...props} className={cn(\"bg-border -mx-1 my-1 h-px\", className)} />;\n}\n"],"mappings":";;;;AAIA,IAAa,eAAeA,KAAS;AACrC,IAAa,sBAAsBA,KAAS;AAE5C,SAAgB,oBAAoB,EAAE,WAAW,GAAG,SAAgD;CAClG,OAAO,oBAACA,KAAS,QAAV,EAAA,UAAiB,oBAACA,KAAS,YAAV;EAAqB,YAAY;EAAG,UAAA,oBAACA,KAAS,OAAV;GAAgB,GAAI;GAAO,WAAW,GAAG,kIAAkI,SAAS;EAAI,CAAA;CAAsB,CAAA,EAAkB,CAAA;AAC9R;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAA+C;CAC9F,OAAO,oBAACA,KAAS,MAAV;EAAe,GAAI;EAAO,WAAW,GAAG,4MAA4M,SAAS;CAAI,CAAA;AAC1Q;AAEA,SAAgB,sBAAsB,EAAE,WAAW,GAAG,SAAoD;CACxG,OAAO,oBAACA,KAAS,WAAV;EAAoB,GAAI;EAAO,WAAW,GAAG,6BAA6B,SAAS;CAAI,CAAA;AAChG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"empty-BQnRtQAg.js","names":[],"sources":["../src/components/empty/empty.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Empty = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function Empty({ className, ...props }, ref) {\n return (\n <div\n {...props}\n ref={ref}\n className={cn(\"flex min-h-40 flex-col items-center justify-center gap-2 text-center\", className)}\n />\n );\n },\n);\n\nexport const EmptyTitle = forwardRef<HTMLHeadingElement, ComponentPropsWithoutRef<\"h3\">>(\n function EmptyTitle({ className, ...props }, ref) {\n return <h3 {...props} ref={ref} className={cn(\"text-foreground text-base font-semibold\", className)} />;\n },\n);\n\nexport const EmptyDescription = forwardRef<HTMLParagraphElement, ComponentPropsWithoutRef<\"p\">>(\n function EmptyDescription({ className, ...props }, ref) {\n return <p {...props} ref={ref} className={cn(\"text-muted-foreground max-w-sm text-sm\", className)} />;\n },\n);\n"],"mappings":";;;;AAGA,IAAa,QAAQ,WACnB,SAAS,MAAM,EAAE,WAAW,GAAG,SAAS,KAAK;CAC3C,OACE,oBAAC,OAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,wEAAwE,SAAS;CAChG,CAAA;AAEL,CACF;AAEA,IAAa,aAAa,WACxB,SAAS,WAAW,EAAE,WAAW,GAAG,SAAS,KAAK;CAChD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,2CAA2C,SAAS;CAAI,CAAA;AACxG,CACF;AAEA,IAAa,mBAAmB,WAC9B,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAS,KAAK;CACtD,OAAO,oBAAC,KAAD;EAAG,GAAI;EAAY;EAAK,WAAW,GAAG,0CAA0C,SAAS;CAAI,CAAA;AACtG,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"field-CmdqOHUg.js","names":["Field","BaseField"],"sources":["../src/components/field/field.tsx"],"sourcesContent":["import { Field as BaseField } from \"@base-ui/react/field\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nexport const Field = BaseField.Root;\n\nexport function FieldLabel({ className, ...props }: ComponentProps<typeof BaseField.Label>) {\n return <BaseField.Label {...props} className={cn(\"text-foreground text-sm font-medium\", className)} />;\n}\n\nexport function FieldDescription({ className, ...props }: ComponentProps<typeof BaseField.Description>) {\n return <BaseField.Description {...props} className={cn(\"text-muted-foreground text-sm\", className)} />;\n}\n\nexport function FieldError({ className, ...props }: ComponentProps<typeof BaseField.Error>) {\n return <BaseField.Error {...props} className={cn(\"text-danger text-sm\", className)} />;\n}\n"],"mappings":";;;;AAIA,IAAaA,UAAQC,MAAU;AAE/B,SAAgB,WAAW,EAAE,WAAW,GAAG,SAAiD;CAC1F,OAAO,oBAACA,MAAU,OAAX;EAAiB,GAAI;EAAO,WAAW,GAAG,uCAAuC,SAAS;CAAI,CAAA;AACvG;AAEA,SAAgB,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CACtG,OAAO,oBAACA,MAAU,aAAX;EAAuB,GAAI;EAAO,WAAW,GAAG,iCAAiC,SAAS;CAAI,CAAA;AACvG;AAEA,SAAgB,WAAW,EAAE,WAAW,GAAG,SAAiD;CAC1F,OAAO,oBAACA,MAAU,OAAX;EAAiB,GAAI;EAAO,WAAW,GAAG,uBAAuB,SAAS;CAAI,CAAA;AACvF"}