@lssm/lib.ui-kit-web 1.7.3 → 1.9.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 (250) hide show
  1. package/README.md +80 -0
  2. package/dist/node_modules/sonner/dist/index.js +1 -2
  3. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/dist/ui/accordion.d.ts +5 -5
  6. package/dist/ui/accordion.js +3 -4
  7. package/dist/ui/accordion.js.map +1 -1
  8. package/dist/ui/alert-dialog.js +8 -9
  9. package/dist/ui/alert-dialog.js.map +1 -1
  10. package/dist/ui/alert.d.ts +6 -6
  11. package/dist/ui/alert.d.ts.map +1 -1
  12. package/dist/ui/alert.js +3 -3
  13. package/dist/ui/alert.js.map +1 -1
  14. package/dist/ui/aspect-ratio.d.ts +2 -2
  15. package/dist/ui/aspect-ratio.js +0 -1
  16. package/dist/ui/aspect-ratio.js.map +1 -1
  17. package/dist/ui/avatar.d.ts +4 -4
  18. package/dist/ui/avatar.d.ts.map +1 -1
  19. package/dist/ui/avatar.js +3 -4
  20. package/dist/ui/avatar.js.map +1 -1
  21. package/dist/ui/badge.d.ts +3 -3
  22. package/dist/ui/badge.js +1 -1
  23. package/dist/ui/badge.js.map +1 -1
  24. package/dist/ui/breadcrumb.d.ts +8 -8
  25. package/dist/ui/breadcrumb.d.ts.map +1 -1
  26. package/dist/ui/breadcrumb.js +6 -6
  27. package/dist/ui/breadcrumb.js.map +1 -1
  28. package/dist/ui/button.d.ts +6 -6
  29. package/dist/ui/button.js +1 -1
  30. package/dist/ui/button.js.map +1 -1
  31. package/dist/ui/calendar.d.ts +3 -3
  32. package/dist/ui/calendar.js +5 -6
  33. package/dist/ui/calendar.js.map +1 -1
  34. package/dist/ui/card.d.ts +8 -8
  35. package/dist/ui/card.js +7 -7
  36. package/dist/ui/card.js.map +1 -1
  37. package/dist/ui/carousel.d.ts +6 -6
  38. package/dist/ui/carousel.js +5 -6
  39. package/dist/ui/carousel.js.map +1 -1
  40. package/dist/ui/checkbox.d.ts +2 -2
  41. package/dist/ui/checkbox.js +1 -2
  42. package/dist/ui/checkbox.js.map +1 -1
  43. package/dist/ui/collapsible.d.ts +4 -4
  44. package/dist/ui/collapsible.js +0 -1
  45. package/dist/ui/collapsible.js.map +1 -1
  46. package/dist/ui/command.d.ts +10 -10
  47. package/dist/ui/command.js +8 -9
  48. package/dist/ui/command.js.map +1 -1
  49. package/dist/ui/confirm-dialog.d.ts +2 -2
  50. package/dist/ui/context-menu.d.ts +2 -2
  51. package/dist/ui/context-menu.d.ts.map +1 -1
  52. package/dist/ui/context-menu.js +9 -10
  53. package/dist/ui/context-menu.js.map +1 -1
  54. package/dist/ui/cta.d.ts +1 -1
  55. package/dist/ui/cta.js +1 -1
  56. package/dist/ui/cta.js.map +1 -1
  57. package/dist/ui/date-picker.d.ts +2 -2
  58. package/dist/ui/date-picker.js +0 -1
  59. package/dist/ui/date-picker.js.map +1 -1
  60. package/dist/ui/date-range-picker.d.ts +2 -2
  61. package/dist/ui/date-range-picker.js +0 -1
  62. package/dist/ui/date-range-picker.js.map +1 -1
  63. package/dist/ui/datetime-picker.d.ts +2 -2
  64. package/dist/ui/datetime-picker.d.ts.map +1 -1
  65. package/dist/ui/datetime-picker.js +0 -1
  66. package/dist/ui/datetime-picker.js.map +1 -1
  67. package/dist/ui/dialog.d.ts +11 -11
  68. package/dist/ui/dialog.d.ts.map +1 -1
  69. package/dist/ui/dialog.js +6 -7
  70. package/dist/ui/dialog.js.map +1 -1
  71. package/dist/ui/drawer.d.ts +11 -11
  72. package/dist/ui/drawer.js +6 -7
  73. package/dist/ui/drawer.js.map +1 -1
  74. package/dist/ui/dropdown-menu.d.ts +16 -16
  75. package/dist/ui/dropdown-menu.js +9 -10
  76. package/dist/ui/dropdown-menu.js.map +1 -1
  77. package/dist/ui/empty-state.d.ts +4 -4
  78. package/dist/ui/empty.d.ts +9 -9
  79. package/dist/ui/empty.js +6 -6
  80. package/dist/ui/empty.js.map +1 -1
  81. package/dist/ui/field.d.ts +11 -11
  82. package/dist/ui/field.js +10 -11
  83. package/dist/ui/field.js.map +1 -1
  84. package/dist/ui/form.d.ts +7 -7
  85. package/dist/ui/form.js +4 -5
  86. package/dist/ui/form.js.map +1 -1
  87. package/dist/ui/hover-card.d.ts +4 -4
  88. package/dist/ui/hover-card.js +1 -2
  89. package/dist/ui/hover-card.js.map +1 -1
  90. package/dist/ui/input-group.d.ts +11 -11
  91. package/dist/ui/input-group.js +6 -7
  92. package/dist/ui/input-group.js.map +1 -1
  93. package/dist/ui/input-otp.d.ts +2 -2
  94. package/dist/ui/input-otp.js +3 -4
  95. package/dist/ui/input-otp.js.map +1 -1
  96. package/dist/ui/input.d.ts +2 -2
  97. package/dist/ui/input.js +1 -1
  98. package/dist/ui/input.js.map +1 -1
  99. package/dist/ui/label.d.ts +2 -2
  100. package/dist/ui/label.js +1 -2
  101. package/dist/ui/label.js.map +1 -1
  102. package/dist/ui/link.d.ts +3 -3
  103. package/dist/ui/link.js +1 -1
  104. package/dist/ui/link.js.map +1 -1
  105. package/dist/ui/live-region.d.ts +2 -2
  106. package/dist/ui/live-region.js +0 -1
  107. package/dist/ui/live-region.js.map +1 -1
  108. package/dist/ui/loading-button.d.ts +2 -2
  109. package/dist/ui/loading-button.js +1 -1
  110. package/dist/ui/loading-button.js.map +1 -1
  111. package/dist/ui/map/MapBase.d.ts +2 -2
  112. package/dist/ui/map/MapBase.js +0 -1
  113. package/dist/ui/map/MapBase.js.map +1 -1
  114. package/dist/ui/map/MapGeoJsonOverlay.d.ts +2 -2
  115. package/dist/ui/map/MapGeoJsonOverlay.js +0 -1
  116. package/dist/ui/map/MapGeoJsonOverlay.js.map +1 -1
  117. package/dist/ui/map/MapHeatmapH3.d.ts +2 -2
  118. package/dist/ui/map/MapHeatmapH3.js +0 -1
  119. package/dist/ui/map/MapHeatmapH3.js.map +1 -1
  120. package/dist/ui/map/MapMarkers.d.ts +2 -2
  121. package/dist/ui/map/MapMarkers.js +0 -1
  122. package/dist/ui/map/MapMarkers.js.map +1 -1
  123. package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
  124. package/dist/ui/marketing/Hero.d.ts +2 -2
  125. package/dist/ui/marketing/PricingTable.d.ts +2 -2
  126. package/dist/ui/menubar.d.ts +17 -17
  127. package/dist/ui/menubar.d.ts.map +1 -1
  128. package/dist/ui/menubar.js +11 -12
  129. package/dist/ui/menubar.js.map +1 -1
  130. package/dist/ui/molecules/Autocomplete/index.d.ts +2 -2
  131. package/dist/ui/molecules/Autocomplete/index.js +0 -1
  132. package/dist/ui/molecules/Autocomplete/index.js.map +1 -1
  133. package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +1 -1
  134. package/dist/ui/molecules/SkeletonList.d.ts +2 -2
  135. package/dist/ui/nav-layout.d.ts +9 -9
  136. package/dist/ui/nav-layout.d.ts.map +1 -1
  137. package/dist/ui/nav-layout.js +1 -1
  138. package/dist/ui/nav-layout.js.map +1 -1
  139. package/dist/ui/navigation-menu.d.ts +11 -11
  140. package/dist/ui/navigation-menu.d.ts.map +1 -1
  141. package/dist/ui/navigation-menu.js +8 -8
  142. package/dist/ui/navigation-menu.js.map +1 -1
  143. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  144. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +0 -1
  145. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -1
  146. package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
  147. package/dist/ui/page-header.d.ts +5 -5
  148. package/dist/ui/pagination.d.ts +6 -6
  149. package/dist/ui/pagination.js +7 -7
  150. package/dist/ui/pagination.js.map +1 -1
  151. package/dist/ui/popover.d.ts +5 -5
  152. package/dist/ui/popover.js +1 -2
  153. package/dist/ui/popover.js.map +1 -1
  154. package/dist/ui/progress.js +1 -2
  155. package/dist/ui/progress.js.map +1 -1
  156. package/dist/ui/radio-group.d.ts +3 -3
  157. package/dist/ui/radio-group.js +2 -3
  158. package/dist/ui/radio-group.js.map +1 -1
  159. package/dist/ui/resizable.d.ts +7 -7
  160. package/dist/ui/resizable.d.ts.map +1 -1
  161. package/dist/ui/resizable.js +2 -3
  162. package/dist/ui/resizable.js.map +1 -1
  163. package/dist/ui/route-announcer.d.ts +2 -2
  164. package/dist/ui/route-announcer.js +0 -1
  165. package/dist/ui/route-announcer.js.map +1 -1
  166. package/dist/ui/scroll-area.d.ts +3 -3
  167. package/dist/ui/scroll-area.js +2 -3
  168. package/dist/ui/scroll-area.js.map +1 -1
  169. package/dist/ui/section.d.ts +7 -7
  170. package/dist/ui/section.d.ts.map +1 -1
  171. package/dist/ui/section.js +1 -1
  172. package/dist/ui/section.js.map +1 -1
  173. package/dist/ui/select.d.ts +11 -11
  174. package/dist/ui/select.js +7 -8
  175. package/dist/ui/select.js.map +1 -1
  176. package/dist/ui/separator.d.ts +2 -2
  177. package/dist/ui/separator.js +1 -2
  178. package/dist/ui/separator.js.map +1 -1
  179. package/dist/ui/sheet.d.ts +9 -9
  180. package/dist/ui/sheet.js +6 -7
  181. package/dist/ui/sheet.js.map +1 -1
  182. package/dist/ui/sidebar.d.ts +28 -28
  183. package/dist/ui/sidebar.d.ts.map +1 -1
  184. package/dist/ui/sidebar.js +23 -24
  185. package/dist/ui/sidebar.js.map +1 -1
  186. package/dist/ui/skeleton.d.ts +2 -2
  187. package/dist/ui/skeleton.js +1 -1
  188. package/dist/ui/skeleton.js.map +1 -1
  189. package/dist/ui/skip-link.d.ts +2 -2
  190. package/dist/ui/skip-link.js +1 -1
  191. package/dist/ui/skip-link.js.map +1 -1
  192. package/dist/ui/slider.d.ts +2 -2
  193. package/dist/ui/slider.js +1 -2
  194. package/dist/ui/slider.js.map +1 -1
  195. package/dist/ui/sonner.d.ts +2 -2
  196. package/dist/ui/sonner.js +0 -1
  197. package/dist/ui/sonner.js.map +1 -1
  198. package/dist/ui/stack.d.ts +13 -13
  199. package/dist/ui/stack.d.ts.map +1 -1
  200. package/dist/ui/stack.js +3 -3
  201. package/dist/ui/stack.js.map +1 -1
  202. package/dist/ui/stat-card-group.d.ts +2 -2
  203. package/dist/ui/stepper.d.ts +2 -2
  204. package/dist/ui/switch.d.ts +2 -2
  205. package/dist/ui/switch.js +1 -2
  206. package/dist/ui/switch.js.map +1 -1
  207. package/dist/ui/table.d.ts +9 -9
  208. package/dist/ui/table.js +8 -9
  209. package/dist/ui/table.js.map +1 -1
  210. package/dist/ui/tabs.d.ts +5 -5
  211. package/dist/ui/tabs.js +4 -5
  212. package/dist/ui/tabs.js.map +1 -1
  213. package/dist/ui/text.d.ts +2 -2
  214. package/dist/ui/text.js +1 -1
  215. package/dist/ui/text.js.map +1 -1
  216. package/dist/ui/textarea.d.ts +2 -2
  217. package/dist/ui/textarea.js +1 -1
  218. package/dist/ui/textarea.js.map +1 -1
  219. package/dist/ui/time-picker.d.ts +2 -2
  220. package/dist/ui/time-picker.js +0 -1
  221. package/dist/ui/time-picker.js.map +1 -1
  222. package/dist/ui/toast.d.ts +2 -2
  223. package/dist/ui/toast.js +6 -7
  224. package/dist/ui/toast.js.map +1 -1
  225. package/dist/ui/toaster.d.ts +2 -2
  226. package/dist/ui/toaster.js +1 -2
  227. package/dist/ui/toaster.js.map +1 -1
  228. package/dist/ui/toggle-group.d.ts +3 -3
  229. package/dist/ui/toggle-group.js +2 -3
  230. package/dist/ui/toggle-group.js.map +1 -1
  231. package/dist/ui/toggle.d.ts +4 -4
  232. package/dist/ui/toggle.js +1 -2
  233. package/dist/ui/toggle.js.map +1 -1
  234. package/dist/ui/tooltip.d.ts +5 -5
  235. package/dist/ui/tooltip.js +2 -3
  236. package/dist/ui/tooltip.js.map +1 -1
  237. package/dist/ui/typography.d.ts +12 -12
  238. package/dist/ui/typography.js +11 -11
  239. package/dist/ui/typography.js.map +1 -1
  240. package/dist/ui/use-toast.js +0 -1
  241. package/dist/ui/use-toast.js.map +1 -1
  242. package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
  243. package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
  244. package/dist/ui/visually-hidden.js +1 -1
  245. package/dist/ui/visually-hidden.js.map +1 -1
  246. package/package.json +9 -10
  247. package/dist/ui/sidebar-right.d.ts +0 -165
  248. package/dist/ui/sidebar-right.d.ts.map +0 -1
  249. package/dist/ui/sidebar-right.js +0 -380
  250. package/dist/ui/sidebar-right.js.map +0 -1
package/dist/ui/slider.js CHANGED
@@ -1,13 +1,12 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import * as React$1 from "react";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
7
6
  import * as SliderPrimitive from "@radix-ui/react-slider";
8
7
 
9
8
  //#region ui/slider.tsx
10
- function Slider({ className, defaultValue, value, min = 0, max = 100,...props }) {
9
+ function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }) {
11
10
  const _values = React$1.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max], [
12
11
  value,
13
12
  defaultValue,
@@ -1 +1 @@
1
- {"version":3,"file":"slider.js","names":["React"],"sources":["../../ui/slider.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SliderPrimitive from '@radix-ui/react-slider';\n\nimport { cn } from './utils';\n\nfunction Slider({\n className,\n defaultValue,\n value,\n min = 0,\n max = 100,\n ...props\n}: React.ComponentProps<typeof SliderPrimitive.Root>) {\n const _values = React.useMemo(\n () =>\n Array.isArray(value)\n ? value\n : Array.isArray(defaultValue)\n ? defaultValue\n : [min, max],\n [value, defaultValue, min, max]\n );\n\n return (\n <SliderPrimitive.Root\n data-slot=\"slider\"\n defaultValue={defaultValue}\n value={value}\n min={min}\n max={max}\n className={cn(\n 'relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',\n className\n )}\n {...props}\n >\n <SliderPrimitive.Track\n data-slot=\"slider-track\"\n className={cn(\n 'bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5'\n )}\n >\n <SliderPrimitive.Range\n data-slot=\"slider-range\"\n className={cn(\n 'bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full'\n )}\n />\n </SliderPrimitive.Track>\n {Array.from({ length: _values.length }, (_, index) => (\n <SliderPrimitive.Thumb\n data-slot=\"slider-thumb\"\n key={index}\n className=\"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-2xs transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50\"\n />\n ))}\n </SliderPrimitive.Root>\n );\n}\n\nexport { Slider };\n"],"mappings":";;;;;;;;;AAOA,SAAS,OAAO,EACd,WACA,cACA,OACA,MAAM,GACN,MAAM,IACN,GAAG,SACiD;CACpD,MAAM,UAAUA,QAAM,cAElB,MAAM,QAAQ,MAAM,GAChB,QACA,MAAM,QAAQ,aAAa,GACzB,eACA,CAAC,KAAK,IAAI,EAClB;EAAC;EAAO;EAAc;EAAK;EAAI,CAChC;AAED,QACE,qBAAC,gBAAgB;EACf,aAAU;EACI;EACP;EACF;EACA;EACL,WAAW,GACT,qOACA,UACD;EACD,GAAI;aAEJ,oBAAC,gBAAgB;GACf,aAAU;GACV,WAAW,GACT,oMACD;aAED,oBAAC,gBAAgB;IACf,aAAU;IACV,WAAW,GACT,8FACD;KACD;IACoB,EACvB,MAAM,KAAK,EAAE,QAAQ,QAAQ,QAAQ,GAAG,GAAG,UAC1C,oBAAC,gBAAgB;GACf,aAAU;GAEV,WAAU;KADL,MAEL,CACF;GACmB"}
1
+ {"version":3,"file":"slider.js","names":["React"],"sources":["../../ui/slider.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SliderPrimitive from '@radix-ui/react-slider';\n\nimport { cn } from './utils';\n\nfunction Slider({\n className,\n defaultValue,\n value,\n min = 0,\n max = 100,\n ...props\n}: React.ComponentProps<typeof SliderPrimitive.Root>) {\n const _values = React.useMemo(\n () =>\n Array.isArray(value)\n ? value\n : Array.isArray(defaultValue)\n ? defaultValue\n : [min, max],\n [value, defaultValue, min, max]\n );\n\n return (\n <SliderPrimitive.Root\n data-slot=\"slider\"\n defaultValue={defaultValue}\n value={value}\n min={min}\n max={max}\n className={cn(\n 'relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',\n className\n )}\n {...props}\n >\n <SliderPrimitive.Track\n data-slot=\"slider-track\"\n className={cn(\n 'bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5'\n )}\n >\n <SliderPrimitive.Range\n data-slot=\"slider-range\"\n className={cn(\n 'bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full'\n )}\n />\n </SliderPrimitive.Track>\n {Array.from({ length: _values.length }, (_, index) => (\n <SliderPrimitive.Thumb\n data-slot=\"slider-thumb\"\n key={index}\n className=\"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-2xs transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50\"\n />\n ))}\n </SliderPrimitive.Root>\n );\n}\n\nexport { Slider };\n"],"mappings":";;;;;;;;AAOA,SAAS,OAAO,EACd,WACA,cACA,OACA,MAAM,GACN,MAAM,KACN,GAAG,SACiD;CACpD,MAAM,UAAUA,QAAM,cAElB,MAAM,QAAQ,MAAM,GAChB,QACA,MAAM,QAAQ,aAAa,GACzB,eACA,CAAC,KAAK,IAAI,EAClB;EAAC;EAAO;EAAc;EAAK;EAAI,CAChC;AAED,QACE,qBAAC,gBAAgB;EACf,aAAU;EACI;EACP;EACF;EACA;EACL,WAAW,GACT,qOACA,UACD;EACD,GAAI;aAEJ,oBAAC,gBAAgB;GACf,aAAU;GACV,WAAW,GACT,oMACD;aAED,oBAAC,gBAAgB;IACf,aAAU;IACV,WAAW,GACT,8FACD;KACD;IACoB,EACvB,MAAM,KAAK,EAAE,QAAQ,QAAQ,QAAQ,GAAG,GAAG,UAC1C,oBAAC,gBAAgB;GACf,aAAU;GAEV,WAAU;KADL,MAEL,CACF;GACmB"}
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime221 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime156 from "react/jsx-runtime";
2
2
  import { ToasterProps } from "sonner";
3
3
 
4
4
  //#region ui/sonner.d.ts
5
5
  declare const Toaster: ({
6
6
  ...props
7
- }: ToasterProps) => react_jsx_runtime221.JSX.Element;
7
+ }: ToasterProps) => react_jsx_runtime156.JSX.Element;
8
8
  //#endregion
9
9
  export { Toaster };
10
10
  //# sourceMappingURL=sonner.d.ts.map
package/dist/ui/sonner.js CHANGED
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { $e } from "../node_modules/sonner/dist/index.js";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import { useTheme } from "next-themes";
@@ -1 +1 @@
1
- {"version":3,"file":"sonner.js","names":["Sonner"],"sources":["../../ui/sonner.tsx"],"sourcesContent":["'use client';\n\nimport { useTheme } from 'next-themes';\nimport { Toaster as Sonner, type ToasterProps } from 'sonner';\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n const { theme = 'system' } = useTheme();\n\n return (\n <Sonner\n theme={theme as ToasterProps['theme']}\n className=\"toaster group\"\n style={\n {\n '--normal-bg': 'var(--popover)',\n '--normal-text': 'var(--popover-foreground)',\n '--normal-border': 'var(--border)',\n } as React.CSSProperties\n }\n {...props}\n />\n );\n};\n\nexport { Toaster };\n"],"mappings":";;;;;;;;AAKA,MAAM,WAAW,EAAE,GAAG,YAA0B;CAC9C,MAAM,EAAE,QAAQ,aAAa,UAAU;AAEvC,QACE,oBAACA;EACQ;EACP,WAAU;EACV,OACE;GACE,eAAe;GACf,iBAAiB;GACjB,mBAAmB;GACpB;EAEH,GAAI;GACJ"}
1
+ {"version":3,"file":"sonner.js","names":["Sonner"],"sources":["../../ui/sonner.tsx"],"sourcesContent":["'use client';\n\nimport { useTheme } from 'next-themes';\nimport { Toaster as Sonner, type ToasterProps } from 'sonner';\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n const { theme = 'system' } = useTheme();\n\n return (\n <Sonner\n theme={theme as ToasterProps['theme']}\n className=\"toaster group\"\n style={\n {\n '--normal-bg': 'var(--popover)',\n '--normal-text': 'var(--popover-foreground)',\n '--normal-border': 'var(--border)',\n } as React.CSSProperties\n }\n {...props}\n />\n );\n};\n\nexport { Toaster };\n"],"mappings":";;;;;;;AAKA,MAAM,WAAW,EAAE,GAAG,YAA0B;CAC9C,MAAM,EAAE,QAAQ,aAAa,UAAU;AAEvC,QACE,oBAACA;EACQ;EACP,WAAU;EACV,OACE;GACE,eAAe;GACf,iBAAiB;GACjB,mBAAmB;GACpB;EAEH,GAAI;GACJ"}
@@ -1,46 +1,46 @@
1
1
  import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types16 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
4
4
 
5
5
  //#region ui/stack.d.ts
6
6
  declare const vStackVariants: (props?: ({
7
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
7
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
8
8
  align?: "center" | "start" | "end" | "stretch" | null | undefined;
9
9
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
10
- } & class_variance_authority_types16.ClassProp) | undefined) => string;
10
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
11
11
  declare const VStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
12
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
12
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
13
13
  align?: "center" | "start" | "end" | "stretch" | null | undefined;
14
14
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
15
- } & class_variance_authority_types16.ClassProp) | undefined) => string> & {
15
+ } & class_variance_authority_types13.ClassProp) | undefined) => string> & {
16
16
  as?: "div" | "section" | "nav" | "main" | "header" | "footer" | "article" | "aside";
17
17
  } & React$1.RefAttributes<HTMLDivElement>>;
18
18
  declare const hStackVariants: (props?: ({
19
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
19
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
20
20
  align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
21
21
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
22
22
  wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
23
- } & class_variance_authority_types16.ClassProp) | undefined) => string;
23
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
24
24
  declare const HStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
25
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
25
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
26
26
  align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
27
27
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
28
28
  wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
29
- } & class_variance_authority_types16.ClassProp) | undefined) => string> & {
29
+ } & class_variance_authority_types13.ClassProp) | undefined) => string> & {
30
30
  as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
31
31
  } & React$1.RefAttributes<HTMLDivElement>>;
32
32
  declare const boxVariants: (props?: ({
33
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
33
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
34
34
  align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
35
35
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
36
36
  wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
37
- } & class_variance_authority_types16.ClassProp) | undefined) => string;
37
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
38
38
  declare const Box: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
39
- gap?: "sm" | "lg" | "none" | "xs" | "md" | "xl" | "2xl" | null | undefined;
39
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
40
40
  align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
41
41
  justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
42
42
  wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
43
- } & class_variance_authority_types16.ClassProp) | undefined) => string> & {
43
+ } & class_variance_authority_types13.ClassProp) | undefined) => string> & {
44
44
  as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
45
45
  } & React$1.RefAttributes<HTMLDivElement>>;
46
46
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"stack.d.ts","names":[],"sources":["../../ui/stack.tsx"],"sourcesContent":[],"mappings":";;;;;cAIM,sBAyDL;;;EAzDK,OAAA,CAAA,EAAA,QA+BJ,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA,SA0BD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAXK,MAAM,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,MAAA,EAAA,CAAA;EAAA,GAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAAA,KAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;EAAA,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA;;CAAA,wBAAA,eAAA,CAAA,CAAA;cAcN,cAdM,EAAA,CAAA,KA2DA,CA3DA,EAAA,CAAA;EAcN,GAAA,CAAA,EAAA,IAAA,GAAA,IAsCJ,GAAA,MAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAOI,KAAA,CAAA,EAAA,QAWL,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;EAXW,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,IAAA,CAAA,EAAA,MAAA,GAAA,QAAA,GAAA,aAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GAPV,gCAAA,CAAA,SAOU,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAAN,MAAM,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,KAoDV,CApDU,EAAA,CAAA;;;EAAA,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,IAAA,CAAA,EAAA,MAAA,GAAA,QAAA,GAAA,aAAA,GAAA,IAAA,GAAA,SAAA;AAAA,CAAA,GAAA,gCAAA,CAAA,SAoDV,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA,CAAA,GAAA;EAOI,EAAA,CAAA,EAAA,KAWL,GAAA,SAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,SAAA,GAAA,OAAA;CAXQ,wBAAA,eAAA,CAAA,CAAA;cA7CH,WA6CG,EAAA,CAAA,KAAA,CAAA,EAAA,CAAA;EAAA,GAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAAA,KAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;;;CAAA,GAPP,gCAAA,CAAA,SAOO,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAAH,GAAG,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,MAAA,EAAA,CAAA;;;;;IAAA,gCAAA,CAAA"}
1
+ {"version":3,"file":"stack.d.ts","names":[],"sources":["../../ui/stack.tsx"],"sourcesContent":[],"mappings":";;;;;cAIM,sBAyDL;;;EAzDK,OAAA,CAAA,EAAA,QA+BJ,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA,SA0BD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAXK,MAAM,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,MAAA,EAAA,CAAA;EAAA,GAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAAA,KAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;EAAA,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;IAAA,gCAAA,CAAA;;CAAA,wBAAA,eAAA,CAAA,CAAA;cAcN,cAdM,EAAA,CAAA,KA2DA,CA3DA,EAAA,CAAA;EAcN,GAAA,CAAA,EAAA,MAAA,GAAA,IAsCJ,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAOI,KAAA,CAAA,EAAA,QAWL,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;EAXW,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,IAAA,CAAA,EAAA,MAAA,GAAA,QAAA,GAAA,aAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GAPV,gCAAA,CAAA,SAOU,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAAN,MAAM,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,KAoDV,CApDU,EAAA,CAAA;;;EAAA,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,QAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EAAA,IAAA,CAAA,EAAA,MAAA,GAAA,QAAA,GAAA,aAAA,GAAA,IAAA,GAAA,SAAA;AAAA,CAAA,GAAA,gCAAA,CAAA,SAoDV,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA,CAAA,GAAA;EAOI,EAAA,CAAA,EAAA,KAWL,GAAA,SAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,SAAA,GAAA,OAAA;CAXQ,wBAAA,eAAA,CAAA,CAAA;cA7CH,WA6CG,EAAA,CAAA,KAAA,CAAA,EAAA,CAAA;EAAA,GAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,KAAA,GAAA,IAAA,GAAA,SAAA;EAAA,KAAA,CAAA,EAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GAAA,SAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;;;CAAA,GAPP,gCAAA,CAAA,SAOO,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;cAAH,GAAG,EAAA,OAAA,CAAA,yBAAA,CAAA,OAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,YAAA,CAAA,CAAA,MAAA,EAAA,CAAA;;;;;IAAA,gCAAA,CAAA"}
package/dist/ui/stack.js CHANGED
@@ -36,7 +36,7 @@ const vStackVariants = cva("flex flex-col", {
36
36
  justify: "start"
37
37
  }
38
38
  });
39
- const VStack = React$1.forwardRef(({ className, gap, align, justify, as = "div",...props }, ref) => {
39
+ const VStack = React$1.forwardRef(({ className, gap, align, justify, as = "div", ...props }, ref) => {
40
40
  return /* @__PURE__ */ jsx(as, {
41
41
  ref,
42
42
  className: cn(vStackVariants({
@@ -87,7 +87,7 @@ const hStackVariants = cva("flex flex-row", {
87
87
  wrap: "wrap"
88
88
  }
89
89
  });
90
- const HStack = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div",...props }, ref) => {
90
+ const HStack = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
91
91
  return /* @__PURE__ */ jsx(as, {
92
92
  ref,
93
93
  className: cn(hStackVariants({
@@ -139,7 +139,7 @@ const boxVariants = cva("flex flex-row", {
139
139
  wrap: "nowrap"
140
140
  }
141
141
  });
142
- const Box = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div",...props }, ref) => {
142
+ const Box = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
143
143
  return /* @__PURE__ */ jsx(as, {
144
144
  ref,
145
145
  className: cn(boxVariants({
@@ -1 +1 @@
1
- {"version":3,"file":"stack.js","names":["React"],"sources":["../../ui/stack.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from './utils';\n\nconst vStackVariants = cva('flex flex-col', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'stretch',\n justify: 'start',\n },\n});\n\ntype VStackProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof vStackVariants> & {\n as?:\n | 'div'\n | 'section'\n | 'nav'\n | 'main'\n | 'header'\n | 'footer'\n | 'article'\n | 'aside';\n };\n\nconst VStack = React.forwardRef<HTMLDivElement, VStackProps>(\n ({ className, gap, align, justify, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(vStackVariants({ gap, align, justify }), className)}\n {...props}\n />\n );\n }\n);\nVStack.displayName = 'VStack';\n\nconst hStackVariants = cva('flex flex-row', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n baseline: 'items-baseline',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n wrap: {\n nowrap: 'flex-nowrap',\n wrap: 'flex-wrap',\n wrapReverse: 'flex-wrap-reverse',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'center',\n justify: 'start',\n wrap: 'wrap',\n },\n});\n\ntype HStackProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof hStackVariants> & {\n as?: 'div' | 'section' | 'nav' | 'header' | 'footer' | 'article' | 'aside';\n };\n\nconst HStack = React.forwardRef<HTMLDivElement, HStackProps>(\n ({ className, gap, align, justify, wrap, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(hStackVariants({ gap, align, justify, wrap }), className)}\n {...props}\n />\n );\n }\n);\nHStack.displayName = 'HStack';\n\nconst boxVariants = cva('flex flex-row', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n baseline: 'items-baseline',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n wrap: {\n nowrap: 'flex-nowrap',\n wrap: 'flex-wrap',\n wrapReverse: 'flex-wrap-reverse',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'center',\n justify: 'center',\n wrap: 'nowrap',\n },\n});\n\ntype BoxProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof boxVariants> & {\n as?: 'div' | 'section' | 'nav' | 'header' | 'footer' | 'article' | 'aside';\n };\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ className, gap, align, justify, wrap, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(boxVariants({ gap, align, justify, wrap }), className)}\n {...props}\n />\n );\n }\n);\nBox.displayName = 'Box';\n\nexport { VStack, HStack, vStackVariants, hStackVariants, boxVariants, Box };\n"],"mappings":";;;;;;AAIA,MAAM,iBAAiB,IAAI,iBAAiB;CAC1C,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACV;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACV;CACF,CAAC;AAeF,MAAM,SAASA,QAAM,YAClB,EAAE,WAAW,KAAK,OAAO,SAAS,KAAK,MAAO,GAAG,SAAS,QAAQ;AAEjE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,eAAe;GAAE;GAAK;GAAO;GAAS,CAAC,EAAE,UAAU;EACjE,GAAI;GACJ;EAGP;AACD,OAAO,cAAc;AAErB,MAAM,iBAAiB,IAAI,iBAAiB;CAC1C,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,UAAU;GACX;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACD,MAAM;GACJ,QAAQ;GACR,MAAM;GACN,aAAa;GACd;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACF,CAAC;AAOF,MAAM,SAASA,QAAM,YAClB,EAAE,WAAW,KAAK,OAAO,SAAS,MAAM,KAAK,MAAO,GAAG,SAAS,QAAQ;AAEvE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,eAAe;GAAE;GAAK;GAAO;GAAS;GAAM,CAAC,EAAE,UAAU;EACvE,GAAI;GACJ;EAGP;AACD,OAAO,cAAc;AAErB,MAAM,cAAc,IAAI,iBAAiB;CACvC,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,UAAU;GACX;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACD,MAAM;GACJ,QAAQ;GACR,MAAM;GACN,aAAa;GACd;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACF,CAAC;AAOF,MAAM,MAAMA,QAAM,YACf,EAAE,WAAW,KAAK,OAAO,SAAS,MAAM,KAAK,MAAO,GAAG,SAAS,QAAQ;AAEvE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,YAAY;GAAE;GAAK;GAAO;GAAS;GAAM,CAAC,EAAE,UAAU;EACpE,GAAI;GACJ;EAGP;AACD,IAAI,cAAc"}
1
+ {"version":3,"file":"stack.js","names":["React"],"sources":["../../ui/stack.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from './utils';\n\nconst vStackVariants = cva('flex flex-col', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'stretch',\n justify: 'start',\n },\n});\n\ntype VStackProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof vStackVariants> & {\n as?:\n | 'div'\n | 'section'\n | 'nav'\n | 'main'\n | 'header'\n | 'footer'\n | 'article'\n | 'aside';\n };\n\nconst VStack = React.forwardRef<HTMLDivElement, VStackProps>(\n ({ className, gap, align, justify, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(vStackVariants({ gap, align, justify }), className)}\n {...props}\n />\n );\n }\n);\nVStack.displayName = 'VStack';\n\nconst hStackVariants = cva('flex flex-row', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n baseline: 'items-baseline',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n wrap: {\n nowrap: 'flex-nowrap',\n wrap: 'flex-wrap',\n wrapReverse: 'flex-wrap-reverse',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'center',\n justify: 'start',\n wrap: 'wrap',\n },\n});\n\ntype HStackProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof hStackVariants> & {\n as?: 'div' | 'section' | 'nav' | 'header' | 'footer' | 'article' | 'aside';\n };\n\nconst HStack = React.forwardRef<HTMLDivElement, HStackProps>(\n ({ className, gap, align, justify, wrap, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(hStackVariants({ gap, align, justify, wrap }), className)}\n {...props}\n />\n );\n }\n);\nHStack.displayName = 'HStack';\n\nconst boxVariants = cva('flex flex-row', {\n variants: {\n gap: {\n none: 'gap-0',\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-6',\n '2xl': 'gap-8',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n stretch: 'items-stretch',\n baseline: 'items-baseline',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n },\n wrap: {\n nowrap: 'flex-nowrap',\n wrap: 'flex-wrap',\n wrapReverse: 'flex-wrap-reverse',\n },\n },\n defaultVariants: {\n gap: 'md',\n align: 'center',\n justify: 'center',\n wrap: 'nowrap',\n },\n});\n\ntype BoxProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof boxVariants> & {\n as?: 'div' | 'section' | 'nav' | 'header' | 'footer' | 'article' | 'aside';\n };\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ className, gap, align, justify, wrap, as = 'div', ...props }, ref) => {\n const Comp: any = as;\n return (\n <Comp\n ref={ref}\n className={cn(boxVariants({ gap, align, justify, wrap }), className)}\n {...props}\n />\n );\n }\n);\nBox.displayName = 'Box';\n\nexport { VStack, HStack, vStackVariants, hStackVariants, boxVariants, Box };\n"],"mappings":";;;;;;AAIA,MAAM,iBAAiB,IAAI,iBAAiB;CAC1C,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACV;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACV;CACF,CAAC;AAeF,MAAM,SAASA,QAAM,YAClB,EAAE,WAAW,KAAK,OAAO,SAAS,KAAK,OAAO,GAAG,SAAS,QAAQ;AAEjE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,eAAe;GAAE;GAAK;GAAO;GAAS,CAAC,EAAE,UAAU;EACjE,GAAI;GACJ;EAGP;AACD,OAAO,cAAc;AAErB,MAAM,iBAAiB,IAAI,iBAAiB;CAC1C,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,UAAU;GACX;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACD,MAAM;GACJ,QAAQ;GACR,MAAM;GACN,aAAa;GACd;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACF,CAAC;AAOF,MAAM,SAASA,QAAM,YAClB,EAAE,WAAW,KAAK,OAAO,SAAS,MAAM,KAAK,OAAO,GAAG,SAAS,QAAQ;AAEvE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,eAAe;GAAE;GAAK;GAAO;GAAS;GAAM,CAAC,EAAE,UAAU;EACvE,GAAI;GACJ;EAGP;AACD,OAAO,cAAc;AAErB,MAAM,cAAc,IAAI,iBAAiB;CACvC,UAAU;EACR,KAAK;GACH,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACR;EACD,OAAO;GACL,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,UAAU;GACX;EACD,SAAS;GACP,OAAO;GACP,QAAQ;GACR,KAAK;GACL,SAAS;GACT,QAAQ;GACR,QAAQ;GACT;EACD,MAAM;GACJ,QAAQ;GACR,MAAM;GACN,aAAa;GACd;EACF;CACD,iBAAiB;EACf,KAAK;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACF,CAAC;AAOF,MAAM,MAAMA,QAAM,YACf,EAAE,WAAW,KAAK,OAAO,SAAS,MAAM,KAAK,OAAO,GAAG,SAAS,QAAQ;AAEvE,QACE,oBAFgB;EAGT;EACL,WAAW,GAAG,YAAY;GAAE;GAAK;GAAO;GAAS;GAAM,CAAC,EAAE,UAAU;EACpE,GAAI;GACJ;EAGP;AACD,IAAI,cAAc"}
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime222 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime151 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/stat-card-group.d.ts
5
5
  interface StatItem {
@@ -13,7 +13,7 @@ declare function StatCardGroup({
13
13
  }: {
14
14
  items: StatItem[];
15
15
  className?: string;
16
- }): react_jsx_runtime222.JSX.Element;
16
+ }): react_jsx_runtime151.JSX.Element;
17
17
  //#endregion
18
18
  export { StatCardGroup, StatItem };
19
19
  //# sourceMappingURL=stat-card-group.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime224 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime152 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as class_variance_authority_types12 from "class-variance-authority/types";
4
4
 
@@ -17,7 +17,7 @@ declare function Stepper({
17
17
  total,
18
18
  size,
19
19
  className
20
- }: StepperProps): react_jsx_runtime224.JSX.Element;
20
+ }: StepperProps): react_jsx_runtime152.JSX.Element;
21
21
  //#endregion
22
22
  export { Stepper, StepperProps };
23
23
  //# sourceMappingURL=stepper.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime289 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime177 from "react/jsx-runtime";
3
3
  import * as SwitchPrimitive from "@radix-ui/react-switch";
4
4
 
5
5
  //#region ui/switch.d.ts
6
6
  declare function Switch({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime289.JSX.Element;
9
+ }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime177.JSX.Element;
10
10
  //#endregion
11
11
  export { Switch };
12
12
  //# sourceMappingURL=switch.d.ts.map
package/dist/ui/switch.js CHANGED
@@ -1,13 +1,12 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import * as SwitchPrimitive from "@radix-ui/react-switch";
8
7
 
9
8
  //#region ui/switch.tsx
10
- function Switch({ className,...props }) {
9
+ function Switch({ className, ...props }) {
11
10
  return /* @__PURE__ */ jsx(SwitchPrimitive.Root, {
12
11
  "data-slot": "switch",
13
12
  className: cn("peer focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","names":[],"sources":["../../ui/switch.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SwitchPrimitive from '@radix-ui/react-switch';\n\nimport { cn } from './utils';\n\nfunction Switch({\n className,\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'peer focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0'\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n"],"mappings":";;;;;;;;;AAOA,SAAS,OAAO,EACd,UACA,GAAG,SACiD;AACpD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GACT,gXACA,UACD;EACD,GAAI;YAEJ,oBAAC,gBAAgB;GACf,aAAU;GACV,WAAW,GACT,2QACD;IACD;GACmB"}
1
+ {"version":3,"file":"switch.js","names":[],"sources":["../../ui/switch.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SwitchPrimitive from '@radix-ui/react-switch';\n\nimport { cn } from './utils';\n\nfunction Switch({\n className,\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'peer focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0'\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n"],"mappings":";;;;;;;;AAOA,SAAS,OAAO,EACd,WACA,GAAG,SACiD;AACpD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GACT,gXACA,UACD;EACD,GAAI;YAEJ,oBAAC,gBAAgB;GACf,aAAU;GACV,WAAW,GACT,2QACD;IACD;GACmB"}
@@ -1,39 +1,39 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime225 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime169 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/table.d.ts
5
5
  declare function Table({
6
6
  className,
7
7
  ...props
8
- }: React$1.ComponentProps<'table'>): react_jsx_runtime225.JSX.Element;
8
+ }: React$1.ComponentProps<'table'>): react_jsx_runtime169.JSX.Element;
9
9
  declare function TableHeader({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<'thead'>): react_jsx_runtime225.JSX.Element;
12
+ }: React$1.ComponentProps<'thead'>): react_jsx_runtime169.JSX.Element;
13
13
  declare function TableBody({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<'tbody'>): react_jsx_runtime225.JSX.Element;
16
+ }: React$1.ComponentProps<'tbody'>): react_jsx_runtime169.JSX.Element;
17
17
  declare function TableFooter({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<'tfoot'>): react_jsx_runtime225.JSX.Element;
20
+ }: React$1.ComponentProps<'tfoot'>): react_jsx_runtime169.JSX.Element;
21
21
  declare function TableRow({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<'tr'>): react_jsx_runtime225.JSX.Element;
24
+ }: React$1.ComponentProps<'tr'>): react_jsx_runtime169.JSX.Element;
25
25
  declare function TableHead({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentProps<'th'>): react_jsx_runtime225.JSX.Element;
28
+ }: React$1.ComponentProps<'th'>): react_jsx_runtime169.JSX.Element;
29
29
  declare function TableCell({
30
30
  className,
31
31
  ...props
32
- }: React$1.ComponentProps<'td'>): react_jsx_runtime225.JSX.Element;
32
+ }: React$1.ComponentProps<'td'>): react_jsx_runtime169.JSX.Element;
33
33
  declare function TableCaption({
34
34
  className,
35
35
  ...props
36
- }: React$1.ComponentProps<'caption'>): react_jsx_runtime225.JSX.Element;
36
+ }: React$1.ComponentProps<'caption'>): react_jsx_runtime169.JSX.Element;
37
37
  //#endregion
38
38
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
39
39
  //# sourceMappingURL=table.d.ts.map
package/dist/ui/table.js CHANGED
@@ -1,12 +1,11 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
 
8
7
  //#region ui/table.tsx
9
- function Table({ className,...props }) {
8
+ function Table({ className, ...props }) {
10
9
  return /* @__PURE__ */ jsx("div", {
11
10
  "data-slot": "table-container",
12
11
  className: "relative w-full overflow-x-auto",
@@ -17,49 +16,49 @@ function Table({ className,...props }) {
17
16
  })
18
17
  });
19
18
  }
20
- function TableHeader({ className,...props }) {
19
+ function TableHeader({ className, ...props }) {
21
20
  return /* @__PURE__ */ jsx("thead", {
22
21
  "data-slot": "table-header",
23
22
  className: cn("[&_tr]:border-b", className),
24
23
  ...props
25
24
  });
26
25
  }
27
- function TableBody({ className,...props }) {
26
+ function TableBody({ className, ...props }) {
28
27
  return /* @__PURE__ */ jsx("tbody", {
29
28
  "data-slot": "table-body",
30
29
  className: cn("[&_tr:last-child]:border-0", className),
31
30
  ...props
32
31
  });
33
32
  }
34
- function TableFooter({ className,...props }) {
33
+ function TableFooter({ className, ...props }) {
35
34
  return /* @__PURE__ */ jsx("tfoot", {
36
35
  "data-slot": "table-footer",
37
36
  className: cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
38
37
  ...props
39
38
  });
40
39
  }
41
- function TableRow({ className,...props }) {
40
+ function TableRow({ className, ...props }) {
42
41
  return /* @__PURE__ */ jsx("tr", {
43
42
  "data-slot": "table-row",
44
43
  className: cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
45
44
  ...props
46
45
  });
47
46
  }
48
- function TableHead({ className,...props }) {
47
+ function TableHead({ className, ...props }) {
49
48
  return /* @__PURE__ */ jsx("th", {
50
49
  "data-slot": "table-head",
51
50
  className: cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
52
51
  ...props
53
52
  });
54
53
  }
55
- function TableCell({ className,...props }) {
54
+ function TableCell({ className, ...props }) {
56
55
  return /* @__PURE__ */ jsx("td", {
57
56
  "data-slot": "table-cell",
58
57
  className: cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
59
58
  ...props
60
59
  });
61
60
  }
62
- function TableCaption({ className,...props }) {
61
+ function TableCaption({ className, ...props }) {
63
62
  return /* @__PURE__ */ jsx("caption", {
64
63
  "data-slot": "table-caption",
65
64
  className: cn("text-muted-foreground mt-4 text-sm", className),
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","names":[],"sources":["../../ui/table.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { cn } from './utils';\n\nfunction Table({ className, ...props }: React.ComponentProps<'table'>) {\n return (\n <div\n data-slot=\"table-container\"\n className=\"relative w-full overflow-x-auto\"\n >\n <table\n data-slot=\"table\"\n className={cn('w-full caption-bottom text-sm', className)}\n {...props}\n />\n </div>\n );\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n return (\n <thead\n data-slot=\"table-header\"\n className={cn('[&_tr]:border-b', className)}\n {...props}\n />\n );\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n return (\n <tbody\n data-slot=\"table-body\"\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n );\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n return (\n <tfoot\n data-slot=\"table-footer\"\n className={cn(\n 'bg-muted/50 border-t font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n return (\n <tr\n data-slot=\"table-row\"\n className={cn(\n 'hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n return (\n <th\n data-slot=\"table-head\"\n className={cn(\n 'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n return (\n <td\n data-slot=\"table-cell\"\n className={cn(\n 'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableCaption({\n className,\n ...props\n}: React.ComponentProps<'caption'>) {\n return (\n <caption\n data-slot=\"table-caption\"\n className={cn('text-muted-foreground mt-4 text-sm', className)}\n {...props}\n />\n );\n}\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n};\n"],"mappings":";;;;;;;;AAMA,SAAS,MAAM,EAAE,UAAW,GAAG,SAAwC;AACrE,QACE,oBAAC;EACC,aAAU;EACV,WAAU;YAEV,oBAAC;GACC,aAAU;GACV,WAAW,GAAG,iCAAiC,UAAU;GACzD,GAAI;IACJ;GACE;;AAIV,SAAS,YAAY,EAAE,UAAW,GAAG,SAAwC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,mBAAmB,UAAU;EAC3C,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,UAAW,GAAG,SAAwC;AACzE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,UAAW,GAAG,SAAwC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,2DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,SAAS,EAAE,UAAW,GAAG,SAAqC;AACrE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,UAAW,GAAG,SAAqC;AACtE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,sJACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,UAAW,GAAG,SAAqC;AACtE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0GACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,UACA,GAAG,SAC+B;AAClC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAI;GACJ"}
1
+ {"version":3,"file":"table.js","names":[],"sources":["../../ui/table.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { cn } from './utils';\n\nfunction Table({ className, ...props }: React.ComponentProps<'table'>) {\n return (\n <div\n data-slot=\"table-container\"\n className=\"relative w-full overflow-x-auto\"\n >\n <table\n data-slot=\"table\"\n className={cn('w-full caption-bottom text-sm', className)}\n {...props}\n />\n </div>\n );\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n return (\n <thead\n data-slot=\"table-header\"\n className={cn('[&_tr]:border-b', className)}\n {...props}\n />\n );\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n return (\n <tbody\n data-slot=\"table-body\"\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n );\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n return (\n <tfoot\n data-slot=\"table-footer\"\n className={cn(\n 'bg-muted/50 border-t font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n return (\n <tr\n data-slot=\"table-row\"\n className={cn(\n 'hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n return (\n <th\n data-slot=\"table-head\"\n className={cn(\n 'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n return (\n <td\n data-slot=\"table-cell\"\n className={cn(\n 'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TableCaption({\n className,\n ...props\n}: React.ComponentProps<'caption'>) {\n return (\n <caption\n data-slot=\"table-caption\"\n className={cn('text-muted-foreground mt-4 text-sm', className)}\n {...props}\n />\n );\n}\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n};\n"],"mappings":";;;;;;;AAMA,SAAS,MAAM,EAAE,WAAW,GAAG,SAAwC;AACrE,QACE,oBAAC;EACC,aAAU;EACV,WAAU;YAEV,oBAAC;GACC,aAAU;GACV,WAAW,GAAG,iCAAiC,UAAU;GACzD,GAAI;IACJ;GACE;;AAIV,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,mBAAmB,UAAU;EAC3C,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,WAAW,GAAG,SAAwC;AACzE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,2DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,SAAS,EAAE,WAAW,GAAG,SAAqC;AACrE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;AACtE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,sJACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;AACtE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0GACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,WACA,GAAG,SAC+B;AAClC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAI;GACJ"}
package/dist/ui/tabs.d.ts CHANGED
@@ -1,24 +1,24 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime233 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime186 from "react/jsx-runtime";
3
3
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4
4
 
5
5
  //#region ui/tabs.d.ts
6
6
  declare function Tabs({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime233.JSX.Element;
9
+ }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime186.JSX.Element;
10
10
  declare function TabsList({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime233.JSX.Element;
13
+ }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime186.JSX.Element;
14
14
  declare function TabsTrigger({
15
15
  className,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime233.JSX.Element;
17
+ }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime186.JSX.Element;
18
18
  declare function TabsContent({
19
19
  className,
20
20
  ...props
21
- }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime233.JSX.Element;
21
+ }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime186.JSX.Element;
22
22
  //#endregion
23
23
  export { Tabs, TabsContent, TabsList, TabsTrigger };
24
24
  //# sourceMappingURL=tabs.d.ts.map
package/dist/ui/tabs.js CHANGED
@@ -1,34 +1,33 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import * as TabsPrimitive from "@radix-ui/react-tabs";
8
7
 
9
8
  //#region ui/tabs.tsx
10
- function Tabs({ className,...props }) {
9
+ function Tabs({ className, ...props }) {
11
10
  return /* @__PURE__ */ jsx(TabsPrimitive.Root, {
12
11
  "data-slot": "tabs",
13
12
  className: cn("flex flex-col gap-2", className),
14
13
  ...props
15
14
  });
16
15
  }
17
- function TabsList({ className,...props }) {
16
+ function TabsList({ className, ...props }) {
18
17
  return /* @__PURE__ */ jsx(TabsPrimitive.List, {
19
18
  "data-slot": "tabs-list",
20
19
  className: cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", className),
21
20
  ...props
22
21
  });
23
22
  }
24
- function TabsTrigger({ className,...props }) {
23
+ function TabsTrigger({ className, ...props }) {
25
24
  return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
26
25
  "data-slot": "tabs-trigger",
27
26
  className: cn("text-foreground focus-visible:border-ring focus-visible:outline-ring focus-visible:ring-ring/50 data-[state=active]:bg-background dark:text-muted-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-2xs [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
28
27
  ...props
29
28
  });
30
29
  }
31
- function TabsContent({ className,...props }) {
30
+ function TabsContent({ className, ...props }) {
32
31
  return /* @__PURE__ */ jsx(TabsPrimitive.Content, {
33
32
  "data-slot": "tabs-content",
34
33
  className: cn("flex-1 outline-hidden", className),
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","names":[],"sources":["../../ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from './utils';\n\nfunction Tabs({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return (\n <TabsPrimitive.Root\n data-slot=\"tabs\"\n className={cn('flex flex-col gap-2', className)}\n {...props}\n />\n );\n}\n\nfunction TabsList({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n \"text-foreground focus-visible:border-ring focus-visible:outline-ring focus-visible:ring-ring/50 data-[state=active]:bg-background dark:text-muted-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-2xs [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return (\n <TabsPrimitive.Content\n data-slot=\"tabs-content\"\n className={cn('flex-1 outline-hidden', className)}\n {...props}\n />\n );\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"mappings":";;;;;;;;;AAOA,SAAS,KAAK,EACZ,UACA,GAAG,SAC+C;AAClD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GAAG,uBAAuB,UAAU;EAC/C,GAAI;GACJ;;AAIN,SAAS,SAAS,EAChB,UACA,GAAG,SAC+C;AAClD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GACT,uGACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,UACA,GAAG,SACkD;AACrD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GACT,oqBACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,UACA,GAAG,SACkD;AACrD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GAAG,yBAAyB,UAAU;EACjD,GAAI;GACJ"}
1
+ {"version":3,"file":"tabs.js","names":[],"sources":["../../ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from './utils';\n\nfunction Tabs({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return (\n <TabsPrimitive.Root\n data-slot=\"tabs\"\n className={cn('flex flex-col gap-2', className)}\n {...props}\n />\n );\n}\n\nfunction TabsList({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n \"text-foreground focus-visible:border-ring focus-visible:outline-ring focus-visible:ring-ring/50 data-[state=active]:bg-background dark:text-muted-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-2xs [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return (\n <TabsPrimitive.Content\n data-slot=\"tabs-content\"\n className={cn('flex-1 outline-hidden', className)}\n {...props}\n />\n );\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"mappings":";;;;;;;;AAOA,SAAS,KAAK,EACZ,WACA,GAAG,SAC+C;AAClD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GAAG,uBAAuB,UAAU;EAC/C,GAAI;GACJ;;AAIN,SAAS,SAAS,EAChB,WACA,GAAG,SAC+C;AAClD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GACT,uGACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACkD;AACrD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GACT,oqBACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACkD;AACrD,QACE,oBAAC,cAAc;EACb,aAAU;EACV,WAAW,GAAG,yBAAyB,UAAU;EACjD,GAAI;GACJ"}
package/dist/ui/text.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime239 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime153 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/text.d.ts
5
5
  type TextProps = React$1.HTMLProps<HTMLParagraphElement> & {
@@ -10,7 +10,7 @@ declare function Text({
10
10
  className,
11
11
  asChild,
12
12
  ...props
13
- }: TextProps): react_jsx_runtime239.JSX.Element;
13
+ }: TextProps): react_jsx_runtime153.JSX.Element;
14
14
  //#endregion
15
15
  export { Text, TextProps };
16
16
  //# sourceMappingURL=text.d.ts.map
package/dist/ui/text.js CHANGED
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
  import { Slot } from "@radix-ui/react-slot";
5
5
 
6
6
  //#region ui/text.tsx
7
- function Text({ className, asChild = false,...props }) {
7
+ function Text({ className, asChild = false, ...props }) {
8
8
  return /* @__PURE__ */ jsx(asChild ? Slot : "p", {
9
9
  className: cn("text-foreground web:select-text text-base", className),
10
10
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","names":[],"sources":["../../ui/text.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport * as React from 'react';\nimport { cn } from './utils';\n\nexport type TextProps = React.HTMLProps<HTMLParagraphElement> & {\n ref?: React.RefObject<React.HTMLProps<HTMLParagraphElement>>;\n asChild?: boolean;\n};\n\nfunction Text({ className, asChild = false, ...props }: TextProps) {\n const Component = asChild ? Slot : 'p';\n return (\n <Component\n className={cn('text-foreground web:select-text text-base', className)}\n {...props}\n />\n );\n}\n\nexport { Text };\n"],"mappings":";;;;;;AASA,SAAS,KAAK,EAAE,WAAW,UAAU,MAAO,GAAG,SAAoB;AAEjE,QACE,oBAFgB,UAAU,OAAO;EAG/B,WAAW,GAAG,6CAA6C,UAAU;EACrE,GAAI;GACJ"}
1
+ {"version":3,"file":"text.js","names":[],"sources":["../../ui/text.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport * as React from 'react';\nimport { cn } from './utils';\n\nexport type TextProps = React.HTMLProps<HTMLParagraphElement> & {\n ref?: React.RefObject<React.HTMLProps<HTMLParagraphElement>>;\n asChild?: boolean;\n};\n\nfunction Text({ className, asChild = false, ...props }: TextProps) {\n const Component = asChild ? Slot : 'p';\n return (\n <Component\n className={cn('text-foreground web:select-text text-base', className)}\n {...props}\n />\n );\n}\n\nexport { Text };\n"],"mappings":";;;;;;AASA,SAAS,KAAK,EAAE,WAAW,UAAU,OAAO,GAAG,SAAoB;AAEjE,QACE,oBAFgB,UAAU,OAAO;EAG/B,WAAW,GAAG,6CAA6C,UAAU;EACrE,GAAI;GACJ"}
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime243 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime154 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/textarea.d.ts
5
5
  type TextareaProps = React$1.ComponentProps<'textarea'>;
6
6
  declare function Textarea({
7
7
  className,
8
8
  ...props
9
- }: TextareaProps): react_jsx_runtime243.JSX.Element;
9
+ }: TextareaProps): react_jsx_runtime154.JSX.Element;
10
10
  //#endregion
11
11
  export { Textarea, TextareaProps };
12
12
  //# sourceMappingURL=textarea.d.ts.map
@@ -3,7 +3,7 @@ import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/textarea.tsx
6
- function Textarea({ className,...props }) {
6
+ function Textarea({ className, ...props }) {
7
7
  return /* @__PURE__ */ jsx("textarea", {
8
8
  "data-slot": "textarea",
9
9
  className: cn("aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-2xs outline-hidden transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className),
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","names":[],"sources":["../../ui/textarea.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from './utils';\n\nexport type TextareaProps = React.ComponentProps<'textarea'>;\n\nfunction Textarea({ className, ...props }: TextareaProps) {\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-2xs outline-hidden transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Textarea };\n"],"mappings":";;;;;AAMA,SAAS,SAAS,EAAE,UAAW,GAAG,SAAwB;AACxD,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0cACA,UACD;EACD,GAAI;GACJ"}
1
+ {"version":3,"file":"textarea.js","names":[],"sources":["../../ui/textarea.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from './utils';\n\nexport type TextareaProps = React.ComponentProps<'textarea'>;\n\nfunction Textarea({ className, ...props }: TextareaProps) {\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-2xs outline-hidden transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Textarea };\n"],"mappings":";;;;;AAMA,SAAS,SAAS,EAAE,WAAW,GAAG,SAAwB;AACxD,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0cACA,UACD;EACD,GAAI;GACJ"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime237 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime190 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/time-picker.d.ts
4
4
  interface TimePickerProps {
@@ -16,7 +16,7 @@ declare function TimePicker({
16
16
  placeholder,
17
17
  is24Hour,
18
18
  className
19
- }: TimePickerProps): react_jsx_runtime237.JSX.Element;
19
+ }: TimePickerProps): react_jsx_runtime190.JSX.Element;
20
20
  //#endregion
21
21
  export { TimePicker, TimePickerProps };
22
22
  //# sourceMappingURL=time-picker.d.ts.map
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import { Button } from "./button.js";
6
5
  import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";