@lssm/lib.ui-kit 0.0.0-canary-20251120192244 → 0.0.0-canary-20251206181705

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 (363) hide show
  1. package/README.md +21 -0
  2. package/dist/index.d.ts +1 -2
  3. package/dist/index.js +1 -2
  4. package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +1 -2
  5. package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js +1 -2
  6. package/dist/node_modules/react-hook-form/dist/index.esm.js +33 -21
  7. package/dist/node_modules/zod/v4/classic/errors.js +1 -2
  8. package/dist/node_modules/zod/v4/classic/iso.js +1 -2
  9. package/dist/node_modules/zod/v4/classic/parse.js +1 -2
  10. package/dist/node_modules/zod/v4/classic/schemas.js +7 -5
  11. package/dist/node_modules/zod/v4/core/api.js +30 -3
  12. package/dist/node_modules/zod/v4/core/checks.js +1 -2
  13. package/dist/node_modules/zod/v4/core/core.js +14 -10
  14. package/dist/node_modules/zod/v4/core/errors.js +1 -2
  15. package/dist/node_modules/zod/v4/core/parse.js +1 -2
  16. package/dist/node_modules/zod/v4/core/regexes.js +1 -3
  17. package/dist/node_modules/zod/v4/core/registries.js +4 -5
  18. package/dist/node_modules/zod/v4/core/schemas.js +9 -20
  19. package/dist/node_modules/zod/v4/core/util.js +5 -2
  20. package/dist/node_modules/zod/v4/core/versions.js +2 -3
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/dist/ui/accordion.d.ts +1 -2
  23. package/dist/ui/accordion.js +5 -6
  24. package/dist/ui/alert-dialog.d.ts +1 -2
  25. package/dist/ui/alert-dialog.js +10 -11
  26. package/dist/ui/alert.d.ts +1 -2
  27. package/dist/ui/alert.js +4 -5
  28. package/dist/ui/aspect-ratio.d.ts +1 -2
  29. package/dist/ui/aspect-ratio.js +1 -2
  30. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +1 -2
  31. package/dist/ui/atoms/FilterSelect/FilterSelect.js +1 -2
  32. package/dist/ui/atoms/FilterSelect/types.d.ts +1 -2
  33. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +1 -2
  34. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +1 -2
  35. package/dist/ui/atoms/Pagination/Pagination.d.ts +1 -2
  36. package/dist/ui/atoms/Pagination/Pagination.js +1 -2
  37. package/dist/ui/atoms/Pagination/types.d.ts +1 -2
  38. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +1 -2
  39. package/dist/ui/atoms/SearchInput/SearchInput.js +1 -2
  40. package/dist/ui/atoms/SearchInput/types.d.ts +1 -2
  41. package/dist/ui/avatar.d.ts +5 -6
  42. package/dist/ui/avatar.js +4 -5
  43. package/dist/ui/badge.d.ts +5 -6
  44. package/dist/ui/badge.js +2 -3
  45. package/dist/ui/breadcrumb.d.ts +9 -10
  46. package/dist/ui/breadcrumb.js +7 -8
  47. package/dist/ui/button.d.ts +6 -7
  48. package/dist/ui/button.js +2 -3
  49. package/dist/ui/card.d.ts +8 -9
  50. package/dist/ui/card.js +7 -8
  51. package/dist/ui/carousel.d.ts +1 -2
  52. package/dist/ui/carousel.js +1 -2
  53. package/dist/ui/checkbox.d.ts +4 -5
  54. package/dist/ui/checkbox.js +2 -3
  55. package/dist/ui/collapsible.d.ts +9 -10
  56. package/dist/ui/collapsible.js +1 -2
  57. package/dist/ui/command.d.ts +1 -2
  58. package/dist/ui/command.js +1 -2
  59. package/dist/ui/context-menu.d.ts +17 -18
  60. package/dist/ui/context-menu.js +10 -11
  61. package/dist/ui/date-picker.d.ts +3 -4
  62. package/dist/ui/date-picker.js +1 -2
  63. package/dist/ui/date-range-picker.d.ts +3 -4
  64. package/dist/ui/date-range-picker.js +1 -2
  65. package/dist/ui/datetime-picker.d.ts +3 -4
  66. package/dist/ui/datetime-picker.js +1 -2
  67. package/dist/ui/dialog.d.ts +11 -12
  68. package/dist/ui/dialog.js +8 -9
  69. package/dist/ui/dropdown-menu.d.ts +17 -18
  70. package/dist/ui/dropdown-menu.js +10 -11
  71. package/dist/ui/empty-state.d.ts +5 -6
  72. package/dist/ui/empty-state.js +1 -2
  73. package/dist/ui/empty.d.ts +10 -11
  74. package/dist/ui/empty.js +7 -8
  75. package/dist/ui/fab.d.ts +4 -5
  76. package/dist/ui/fab.js +1 -2
  77. package/dist/ui/field.d.ts +15 -16
  78. package/dist/ui/field.js +11 -13
  79. package/dist/ui/form.d.ts +8 -9
  80. package/dist/ui/form.js +6 -8
  81. package/dist/ui/hover-card.d.ts +7 -8
  82. package/dist/ui/hover-card.js +2 -3
  83. package/dist/ui/icons/Check.js +1 -2
  84. package/dist/ui/icons/ChevronDown.js +1 -2
  85. package/dist/ui/icons/ChevronRight.js +1 -2
  86. package/dist/ui/icons/ChevronUp.js +1 -2
  87. package/dist/ui/icons/CircleUser.js +1 -2
  88. package/dist/ui/icons/Info.js +1 -2
  89. package/dist/ui/icons/Key.js +1 -2
  90. package/dist/ui/icons/MoonStar.js +1 -2
  91. package/dist/ui/icons/Sun.js +1 -2
  92. package/dist/ui/icons/X.js +1 -2
  93. package/dist/ui/icons/iconWithClassName.d.ts +1 -2
  94. package/dist/ui/icons/iconWithClassName.js +1 -2
  95. package/dist/ui/input.d.ts +3 -4
  96. package/dist/ui/input.js +2 -3
  97. package/dist/ui/label.d.ts +3 -4
  98. package/dist/ui/label.js +2 -3
  99. package/dist/ui/link.d.ts +3 -4
  100. package/dist/ui/link.js +2 -3
  101. package/dist/ui/loading-button.d.ts +3 -4
  102. package/dist/ui/loading-button.js +2 -3
  103. package/dist/ui/loading-overlay.d.ts +3 -4
  104. package/dist/ui/loading-overlay.js +1 -2
  105. package/dist/ui/loading-screen.d.ts +3 -4
  106. package/dist/ui/loading-screen.js +1 -2
  107. package/dist/ui/marketing/FeatureGrid.d.ts +3 -4
  108. package/dist/ui/marketing/FeatureGrid.js +1 -2
  109. package/dist/ui/marketing/Hero.d.ts +3 -4
  110. package/dist/ui/marketing/Hero.js +1 -2
  111. package/dist/ui/marketing/PricingTable.d.ts +3 -4
  112. package/dist/ui/marketing/PricingTable.js +1 -2
  113. package/dist/ui/menubar.d.ts +18 -19
  114. package/dist/ui/menubar.js +12 -13
  115. package/dist/ui/molecules/Autocomplete/index.d.ts +1 -2
  116. package/dist/ui/molecules/Autocomplete/index.js +1 -2
  117. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +1 -2
  118. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +1 -2
  119. package/dist/ui/molecules/SearchAndFilter/types.d.ts +1 -2
  120. package/dist/ui/molecules/SkeletonList.d.ts +3 -4
  121. package/dist/ui/molecules/SkeletonList.js +1 -2
  122. package/dist/ui/navigation-menu.d.ts +13 -14
  123. package/dist/ui/navigation-menu.js +7 -8
  124. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +3 -4
  125. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +1 -3
  126. package/dist/ui/organisms/ListPage/ListPage.d.ts +3 -4
  127. package/dist/ui/organisms/ListPage/ListPage.js +1 -2
  128. package/dist/ui/organisms/ListPage/types.d.ts +1 -2
  129. package/dist/ui/page-header.d.ts +6 -7
  130. package/dist/ui/page-header.js +1 -2
  131. package/dist/ui/password-strength.d.ts +3 -4
  132. package/dist/ui/password-strength.js +1 -2
  133. package/dist/ui/popover.d.ts +7 -8
  134. package/dist/ui/popover.js +2 -3
  135. package/dist/ui/progress.d.ts +3 -4
  136. package/dist/ui/progress.js +2 -3
  137. package/dist/ui/radio-group.d.ts +4 -5
  138. package/dist/ui/radio-group.js +3 -4
  139. package/dist/ui/select.d.ts +14 -15
  140. package/dist/ui/select.js +8 -9
  141. package/dist/ui/separator.d.ts +3 -4
  142. package/dist/ui/separator.js +2 -3
  143. package/dist/ui/sheet.d.ts +1 -2
  144. package/dist/ui/sheet.js +1 -2
  145. package/dist/ui/sidebar.d.ts +1 -2
  146. package/dist/ui/sidebar.js +1 -2
  147. package/dist/ui/skeleton.d.ts +3 -4
  148. package/dist/ui/skeleton.js +2 -3
  149. package/dist/ui/stack.d.ts +18 -19
  150. package/dist/ui/stack.js +4 -5
  151. package/dist/ui/stepper.d.ts +5 -6
  152. package/dist/ui/stepper.js +1 -2
  153. package/dist/ui/switch.d.ts +3 -4
  154. package/dist/ui/switch.js +3 -4
  155. package/dist/ui/table.d.ts +9 -10
  156. package/dist/ui/table.js +8 -9
  157. package/dist/ui/tabs.d.ts +12 -13
  158. package/dist/ui/tabs.js +4 -5
  159. package/dist/ui/text.d.ts +3 -4
  160. package/dist/ui/text.js +2 -3
  161. package/dist/ui/textarea.d.ts +1 -2
  162. package/dist/ui/textarea.js +2 -3
  163. package/dist/ui/time-picker.d.ts +3 -4
  164. package/dist/ui/time-picker.js +1 -2
  165. package/dist/ui/toggle-group.d.ts +5 -6
  166. package/dist/ui/toggle-group.js +4 -5
  167. package/dist/ui/toggle.d.ts +7 -8
  168. package/dist/ui/toggle.js +3 -4
  169. package/dist/ui/tooltip.d.ts +7 -8
  170. package/dist/ui/tooltip.js +2 -3
  171. package/dist/ui/typography.d.ts +13 -14
  172. package/dist/ui/typography.js +12 -13
  173. package/dist/ui/useColorScheme.d.ts +3 -4
  174. package/dist/ui/useColorScheme.js +1 -2
  175. package/dist/ui/useListState.d.ts +1 -2
  176. package/dist/ui/useListState.js +1 -2
  177. package/dist/ui/usecases/UseCaseCard.d.ts +3 -4
  178. package/dist/ui/usecases/UseCaseCard.js +1 -2
  179. package/dist/ui/usecases/UserStoryCard.d.ts +3 -4
  180. package/dist/ui/usecases/UserStoryCard.js +1 -2
  181. package/dist/ui/utils.d.ts +1 -2
  182. package/dist/ui/utils.js +1 -2
  183. package/package.json +8 -6
  184. package/dist/index.d.ts.map +0 -1
  185. package/dist/index.js.map +0 -1
  186. package/dist/node_modules/@hookform/resolvers/dist/resolvers.js.map +0 -1
  187. package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js.map +0 -1
  188. package/dist/node_modules/react-hook-form/dist/index.esm.js.map +0 -1
  189. package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
  190. package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
  191. package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
  192. package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
  193. package/dist/node_modules/zod/v4/core/api.js.map +0 -1
  194. package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
  195. package/dist/node_modules/zod/v4/core/core.js.map +0 -1
  196. package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
  197. package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
  198. package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
  199. package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
  200. package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
  201. package/dist/node_modules/zod/v4/core/util.js.map +0 -1
  202. package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
  203. package/dist/ui/accordion.d.ts.map +0 -1
  204. package/dist/ui/accordion.js.map +0 -1
  205. package/dist/ui/alert-dialog.d.ts.map +0 -1
  206. package/dist/ui/alert-dialog.js.map +0 -1
  207. package/dist/ui/alert.d.ts.map +0 -1
  208. package/dist/ui/alert.js.map +0 -1
  209. package/dist/ui/aspect-ratio.d.ts.map +0 -1
  210. package/dist/ui/aspect-ratio.js.map +0 -1
  211. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +0 -1
  212. package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +0 -1
  213. package/dist/ui/atoms/FilterSelect/types.d.ts.map +0 -1
  214. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +0 -1
  215. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +0 -1
  216. package/dist/ui/atoms/Pagination/Pagination.d.ts.map +0 -1
  217. package/dist/ui/atoms/Pagination/Pagination.js.map +0 -1
  218. package/dist/ui/atoms/Pagination/types.d.ts.map +0 -1
  219. package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +0 -1
  220. package/dist/ui/atoms/SearchInput/SearchInput.js.map +0 -1
  221. package/dist/ui/atoms/SearchInput/types.d.ts.map +0 -1
  222. package/dist/ui/avatar.d.ts.map +0 -1
  223. package/dist/ui/avatar.js.map +0 -1
  224. package/dist/ui/badge.d.ts.map +0 -1
  225. package/dist/ui/badge.js.map +0 -1
  226. package/dist/ui/breadcrumb.d.ts.map +0 -1
  227. package/dist/ui/breadcrumb.js.map +0 -1
  228. package/dist/ui/button.d.ts.map +0 -1
  229. package/dist/ui/button.js.map +0 -1
  230. package/dist/ui/card.d.ts.map +0 -1
  231. package/dist/ui/card.js.map +0 -1
  232. package/dist/ui/carousel.d.ts.map +0 -1
  233. package/dist/ui/carousel.js.map +0 -1
  234. package/dist/ui/checkbox.d.ts.map +0 -1
  235. package/dist/ui/checkbox.js.map +0 -1
  236. package/dist/ui/collapsible.d.ts.map +0 -1
  237. package/dist/ui/collapsible.js.map +0 -1
  238. package/dist/ui/command.d.ts.map +0 -1
  239. package/dist/ui/command.js.map +0 -1
  240. package/dist/ui/context-menu.d.ts.map +0 -1
  241. package/dist/ui/context-menu.js.map +0 -1
  242. package/dist/ui/date-picker.d.ts.map +0 -1
  243. package/dist/ui/date-picker.js.map +0 -1
  244. package/dist/ui/date-range-picker.d.ts.map +0 -1
  245. package/dist/ui/date-range-picker.js.map +0 -1
  246. package/dist/ui/datetime-picker.d.ts.map +0 -1
  247. package/dist/ui/datetime-picker.js.map +0 -1
  248. package/dist/ui/dialog.d.ts.map +0 -1
  249. package/dist/ui/dialog.js.map +0 -1
  250. package/dist/ui/dropdown-menu.d.ts.map +0 -1
  251. package/dist/ui/dropdown-menu.js.map +0 -1
  252. package/dist/ui/empty-state.d.ts.map +0 -1
  253. package/dist/ui/empty-state.js.map +0 -1
  254. package/dist/ui/empty.d.ts.map +0 -1
  255. package/dist/ui/empty.js.map +0 -1
  256. package/dist/ui/fab.d.ts.map +0 -1
  257. package/dist/ui/fab.js.map +0 -1
  258. package/dist/ui/field.d.ts.map +0 -1
  259. package/dist/ui/field.js.map +0 -1
  260. package/dist/ui/form.d.ts.map +0 -1
  261. package/dist/ui/form.js.map +0 -1
  262. package/dist/ui/hover-card.d.ts.map +0 -1
  263. package/dist/ui/hover-card.js.map +0 -1
  264. package/dist/ui/icons/Check.js.map +0 -1
  265. package/dist/ui/icons/ChevronDown.js.map +0 -1
  266. package/dist/ui/icons/ChevronRight.js.map +0 -1
  267. package/dist/ui/icons/ChevronUp.js.map +0 -1
  268. package/dist/ui/icons/CircleUser.js.map +0 -1
  269. package/dist/ui/icons/Info.js.map +0 -1
  270. package/dist/ui/icons/Key.js.map +0 -1
  271. package/dist/ui/icons/MoonStar.js.map +0 -1
  272. package/dist/ui/icons/Sun.js.map +0 -1
  273. package/dist/ui/icons/X.js.map +0 -1
  274. package/dist/ui/icons/iconWithClassName.d.ts.map +0 -1
  275. package/dist/ui/icons/iconWithClassName.js.map +0 -1
  276. package/dist/ui/input.d.ts.map +0 -1
  277. package/dist/ui/input.js.map +0 -1
  278. package/dist/ui/label.d.ts.map +0 -1
  279. package/dist/ui/label.js.map +0 -1
  280. package/dist/ui/link.d.ts.map +0 -1
  281. package/dist/ui/link.js.map +0 -1
  282. package/dist/ui/loading-button.d.ts.map +0 -1
  283. package/dist/ui/loading-button.js.map +0 -1
  284. package/dist/ui/loading-overlay.d.ts.map +0 -1
  285. package/dist/ui/loading-overlay.js.map +0 -1
  286. package/dist/ui/loading-screen.d.ts.map +0 -1
  287. package/dist/ui/loading-screen.js.map +0 -1
  288. package/dist/ui/marketing/FeatureGrid.d.ts.map +0 -1
  289. package/dist/ui/marketing/FeatureGrid.js.map +0 -1
  290. package/dist/ui/marketing/Hero.d.ts.map +0 -1
  291. package/dist/ui/marketing/Hero.js.map +0 -1
  292. package/dist/ui/marketing/PricingTable.d.ts.map +0 -1
  293. package/dist/ui/marketing/PricingTable.js.map +0 -1
  294. package/dist/ui/menubar.d.ts.map +0 -1
  295. package/dist/ui/menubar.js.map +0 -1
  296. package/dist/ui/molecules/Autocomplete/index.d.ts.map +0 -1
  297. package/dist/ui/molecules/Autocomplete/index.js.map +0 -1
  298. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +0 -1
  299. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +0 -1
  300. package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +0 -1
  301. package/dist/ui/molecules/SkeletonList.d.ts.map +0 -1
  302. package/dist/ui/molecules/SkeletonList.js.map +0 -1
  303. package/dist/ui/navigation-menu.d.ts.map +0 -1
  304. package/dist/ui/navigation-menu.js.map +0 -1
  305. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
  306. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +0 -1
  307. package/dist/ui/organisms/ListPage/ListPage.d.ts.map +0 -1
  308. package/dist/ui/organisms/ListPage/ListPage.js.map +0 -1
  309. package/dist/ui/organisms/ListPage/types.d.ts.map +0 -1
  310. package/dist/ui/page-header.d.ts.map +0 -1
  311. package/dist/ui/page-header.js.map +0 -1
  312. package/dist/ui/password-strength.d.ts.map +0 -1
  313. package/dist/ui/password-strength.js.map +0 -1
  314. package/dist/ui/popover.d.ts.map +0 -1
  315. package/dist/ui/popover.js.map +0 -1
  316. package/dist/ui/progress.d.ts.map +0 -1
  317. package/dist/ui/progress.js.map +0 -1
  318. package/dist/ui/radio-group.d.ts.map +0 -1
  319. package/dist/ui/radio-group.js.map +0 -1
  320. package/dist/ui/select.d.ts.map +0 -1
  321. package/dist/ui/select.js.map +0 -1
  322. package/dist/ui/separator.d.ts.map +0 -1
  323. package/dist/ui/separator.js.map +0 -1
  324. package/dist/ui/sheet.d.ts.map +0 -1
  325. package/dist/ui/sheet.js.map +0 -1
  326. package/dist/ui/sidebar.d.ts.map +0 -1
  327. package/dist/ui/sidebar.js.map +0 -1
  328. package/dist/ui/skeleton.d.ts.map +0 -1
  329. package/dist/ui/skeleton.js.map +0 -1
  330. package/dist/ui/stack.d.ts.map +0 -1
  331. package/dist/ui/stack.js.map +0 -1
  332. package/dist/ui/stepper.d.ts.map +0 -1
  333. package/dist/ui/stepper.js.map +0 -1
  334. package/dist/ui/switch.d.ts.map +0 -1
  335. package/dist/ui/switch.js.map +0 -1
  336. package/dist/ui/table.d.ts.map +0 -1
  337. package/dist/ui/table.js.map +0 -1
  338. package/dist/ui/tabs.d.ts.map +0 -1
  339. package/dist/ui/tabs.js.map +0 -1
  340. package/dist/ui/text.d.ts.map +0 -1
  341. package/dist/ui/text.js.map +0 -1
  342. package/dist/ui/textarea.d.ts.map +0 -1
  343. package/dist/ui/textarea.js.map +0 -1
  344. package/dist/ui/time-picker.d.ts.map +0 -1
  345. package/dist/ui/time-picker.js.map +0 -1
  346. package/dist/ui/toggle-group.d.ts.map +0 -1
  347. package/dist/ui/toggle-group.js.map +0 -1
  348. package/dist/ui/toggle.d.ts.map +0 -1
  349. package/dist/ui/toggle.js.map +0 -1
  350. package/dist/ui/tooltip.d.ts.map +0 -1
  351. package/dist/ui/tooltip.js.map +0 -1
  352. package/dist/ui/typography.d.ts.map +0 -1
  353. package/dist/ui/typography.js.map +0 -1
  354. package/dist/ui/useColorScheme.d.ts.map +0 -1
  355. package/dist/ui/useColorScheme.js.map +0 -1
  356. package/dist/ui/useListState.d.ts.map +0 -1
  357. package/dist/ui/useListState.js.map +0 -1
  358. package/dist/ui/usecases/UseCaseCard.d.ts.map +0 -1
  359. package/dist/ui/usecases/UseCaseCard.js.map +0 -1
  360. package/dist/ui/usecases/UserStoryCard.d.ts.map +0 -1
  361. package/dist/ui/usecases/UserStoryCard.js.map +0 -1
  362. package/dist/ui/utils.d.ts.map +0 -1
  363. package/dist/ui/utils.js.map +0 -1
@@ -1,33 +1,33 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native6 from "react-native";
2
+ import * as react_native37 from "react-native";
3
3
  import { StyleProp, TextProps, View, ViewStyle } from "react-native";
4
- import * as react_jsx_runtime35 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime84 from "react/jsx-runtime";
5
5
  import * as _rn_primitives_dropdown_menu0 from "@rn-primitives/dropdown-menu";
6
6
 
7
7
  //#region ui/dropdown-menu.d.ts
8
- declare const DropdownMenu: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
8
+ declare const DropdownMenu: React$1.ForwardRefExoticComponent<react_native37.ViewProps & {
9
9
  asChild?: boolean;
10
10
  } & {
11
11
  onOpenChange?: (open: boolean) => void;
12
12
  } & React$1.RefAttributes<View>>;
13
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & React$1.RefAttributes<View>, "ref"> & {
13
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native37.PressableProps & React$1.RefAttributes<View>, "ref"> & {
14
14
  asChild?: boolean;
15
15
  } & {
16
16
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
17
17
  onKeyUp?: (ev: React$1.KeyboardEvent) => void;
18
18
  } & React$1.RefAttributes<_rn_primitives_dropdown_menu0.TriggerRef>>;
19
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
19
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<react_native37.ViewProps & {
20
20
  asChild?: boolean;
21
21
  } & React$1.RefAttributes<View>>;
22
22
  declare const DropdownMenuPortal: typeof _rn_primitives_dropdown_menu0.Portal;
23
- declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
23
+ declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<react_native37.ViewProps & {
24
24
  asChild?: boolean;
25
25
  } & {
26
26
  defaultOpen?: boolean;
27
27
  open?: boolean;
28
28
  onOpenChange?: (value: boolean) => void;
29
29
  } & React$1.RefAttributes<View>>;
30
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
30
+ declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native37.ViewProps & {
31
31
  asChild?: boolean;
32
32
  } & {
33
33
  value: string | undefined;
@@ -43,13 +43,13 @@ declare function DropdownMenuSubTrigger({
43
43
  className?: string;
44
44
  inset?: boolean;
45
45
  children?: React$1.ReactNode;
46
- }): react_jsx_runtime35.JSX.Element;
46
+ }): react_jsx_runtime84.JSX.Element;
47
47
  declare function DropdownMenuSubContent({
48
48
  className,
49
49
  ...props
50
50
  }: _rn_primitives_dropdown_menu0.SubContentProps & {
51
51
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SubContentRef>;
52
- }): react_jsx_runtime35.JSX.Element;
52
+ }): react_jsx_runtime84.JSX.Element;
53
53
  declare function DropdownMenuContent({
54
54
  className,
55
55
  overlayClassName,
@@ -61,7 +61,7 @@ declare function DropdownMenuContent({
61
61
  overlayStyle?: StyleProp<ViewStyle>;
62
62
  overlayClassName?: string;
63
63
  portalHost?: string;
64
- }): react_jsx_runtime35.JSX.Element;
64
+ }): react_jsx_runtime84.JSX.Element;
65
65
  declare function DropdownMenuItem({
66
66
  className,
67
67
  inset,
@@ -70,7 +70,7 @@ declare function DropdownMenuItem({
70
70
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.ItemRef>;
71
71
  className?: string;
72
72
  inset?: boolean;
73
- }): react_jsx_runtime35.JSX.Element;
73
+ }): react_jsx_runtime84.JSX.Element;
74
74
  declare function DropdownMenuCheckboxItem({
75
75
  className,
76
76
  children,
@@ -79,7 +79,7 @@ declare function DropdownMenuCheckboxItem({
79
79
  }: _rn_primitives_dropdown_menu0.CheckboxItemProps & {
80
80
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.CheckboxItemRef>;
81
81
  children?: React$1.ReactNode;
82
- }): react_jsx_runtime35.JSX.Element;
82
+ }): react_jsx_runtime84.JSX.Element;
83
83
  declare function DropdownMenuRadioItem({
84
84
  className,
85
85
  children,
@@ -87,7 +87,7 @@ declare function DropdownMenuRadioItem({
87
87
  }: _rn_primitives_dropdown_menu0.RadioItemProps & {
88
88
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.RadioItemRef>;
89
89
  children?: React$1.ReactNode;
90
- }): react_jsx_runtime35.JSX.Element;
90
+ }): react_jsx_runtime84.JSX.Element;
91
91
  declare function DropdownMenuLabel({
92
92
  className,
93
93
  inset,
@@ -96,17 +96,16 @@ declare function DropdownMenuLabel({
96
96
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.LabelRef>;
97
97
  className?: string;
98
98
  inset?: boolean;
99
- }): react_jsx_runtime35.JSX.Element;
99
+ }): react_jsx_runtime84.JSX.Element;
100
100
  declare function DropdownMenuSeparator({
101
101
  className,
102
102
  ...props
103
103
  }: _rn_primitives_dropdown_menu0.SeparatorProps & {
104
104
  ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SeparatorRef>;
105
- }): react_jsx_runtime35.JSX.Element;
105
+ }): react_jsx_runtime84.JSX.Element;
106
106
  declare function DropdownMenuShortcut({
107
107
  className,
108
108
  ...props
109
- }: TextProps): react_jsx_runtime35.JSX.Element;
109
+ }: TextProps): react_jsx_runtime84.JSX.Element;
110
110
  //#endregion
111
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
112
- //# sourceMappingURL=dropdown-menu.d.ts.map
111
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -16,7 +16,7 @@ const DropdownMenuGroup = DropdownMenuPrimitive.Group;
16
16
  const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
17
17
  const DropdownMenuSub = DropdownMenuPrimitive.Sub;
18
18
  const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
19
- function DropdownMenuSubTrigger({ className, inset, children,...props }) {
19
+ function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
20
20
  const { open } = DropdownMenuPrimitive.useSubContext();
21
21
  const Icon = Platform.OS === "web" ? ChevronRight : open ? ChevronUp : ChevronDown;
22
22
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
@@ -31,14 +31,14 @@ function DropdownMenuSubTrigger({ className, inset, children,...props }) {
31
31
  })
32
32
  });
33
33
  }
34
- function DropdownMenuSubContent({ className,...props }) {
34
+ function DropdownMenuSubContent({ className, ...props }) {
35
35
  const { open } = DropdownMenuPrimitive.useSubContext();
36
36
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubContent, {
37
37
  className: cn("border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md", open ? "web:animate-in web:fade-in-0 web:zoom-in-95" : "web:animate-out web:fade-out-0 web:zoom-out", className),
38
38
  ...props
39
39
  });
40
40
  }
41
- function DropdownMenuContent({ className, overlayClassName, overlayStyle, portalHost,...props }) {
41
+ function DropdownMenuContent({ className, overlayClassName, overlayStyle, portalHost, ...props }) {
42
42
  const { open } = DropdownMenuPrimitive.useRootContext();
43
43
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, {
44
44
  hostName: portalHost,
@@ -52,7 +52,7 @@ function DropdownMenuContent({ className, overlayClassName, overlayStyle, portal
52
52
  })
53
53
  });
54
54
  }
55
- function DropdownMenuItem({ className, inset,...props }) {
55
+ function DropdownMenuItem({ className, inset, ...props }) {
56
56
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
57
57
  value: "select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground",
58
58
  children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {
@@ -61,7 +61,7 @@ function DropdownMenuItem({ className, inset,...props }) {
61
61
  })
62
62
  });
63
63
  }
64
- function DropdownMenuCheckboxItem({ className, children, checked,...props }) {
64
+ function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
65
65
  return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.CheckboxItem, {
66
66
  className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
67
67
  checked,
@@ -76,7 +76,7 @@ function DropdownMenuCheckboxItem({ className, children, checked,...props }) {
76
76
  }), children]
77
77
  });
78
78
  }
79
- function DropdownMenuRadioItem({ className, children,...props }) {
79
+ function DropdownMenuRadioItem({ className, children, ...props }) {
80
80
  return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.RadioItem, {
81
81
  className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
82
82
  ...props,
@@ -86,19 +86,19 @@ function DropdownMenuRadioItem({ className, children,...props }) {
86
86
  }), children]
87
87
  });
88
88
  }
89
- function DropdownMenuLabel({ className, inset,...props }) {
89
+ function DropdownMenuLabel({ className, inset, ...props }) {
90
90
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {
91
91
  className: cn("native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
92
92
  ...props
93
93
  });
94
94
  }
95
- function DropdownMenuSeparator({ className,...props }) {
95
+ function DropdownMenuSeparator({ className, ...props }) {
96
96
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {
97
97
  className: cn("bg-border -mx-1 my-1 h-px", className),
98
98
  ...props
99
99
  });
100
100
  }
101
- function DropdownMenuShortcut({ className,...props }) {
101
+ function DropdownMenuShortcut({ className, ...props }) {
102
102
  return /* @__PURE__ */ jsx(Text, {
103
103
  className: cn("native:text-sm text-muted-foreground ml-auto text-xs tracking-widest", className),
104
104
  ...props
@@ -106,5 +106,4 @@ function DropdownMenuShortcut({ className,...props }) {
106
106
  }
107
107
 
108
108
  //#endregion
109
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
110
- //# sourceMappingURL=dropdown-menu.js.map
109
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime44 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types3 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types6 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/empty-state.d.ts
7
7
  declare const containerVariants: (props?: ({
8
8
  density?: "default" | "compact" | null | undefined;
9
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
10
10
  interface EmptyStateProps extends VariantProps<typeof containerVariants> {
11
11
  icon?: React$1.ReactNode;
12
12
  title: React$1.ReactNode;
@@ -23,7 +23,6 @@ declare function EmptyState({
23
23
  secondaryAction,
24
24
  className,
25
25
  density
26
- }: EmptyStateProps): react_jsx_runtime44.JSX.Element;
26
+ }: EmptyStateProps): react_jsx_runtime93.JSX.Element;
27
27
  //#endregion
28
- export { EmptyState, EmptyStateProps };
29
- //# sourceMappingURL=empty-state.d.ts.map
28
+ export { EmptyState, EmptyStateProps };
@@ -42,5 +42,4 @@ function EmptyState({ icon, title, description, primaryAction, secondaryAction,
42
42
  }
43
43
 
44
44
  //#endregion
45
- export { EmptyState };
46
- //# sourceMappingURL=empty-state.js.map
45
+ export { EmptyState };
@@ -1,37 +1,36 @@
1
1
  import { ViewProps } from "react-native";
2
- import * as react_jsx_runtime45 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime94 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types4 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/empty.d.ts
7
7
  declare function Empty({
8
8
  className,
9
9
  ...props
10
- }: ViewProps): react_jsx_runtime45.JSX.Element;
10
+ }: ViewProps): react_jsx_runtime94.JSX.Element;
11
11
  declare function EmptyHeader({
12
12
  className,
13
13
  ...props
14
- }: ViewProps): react_jsx_runtime45.JSX.Element;
14
+ }: ViewProps): react_jsx_runtime94.JSX.Element;
15
15
  declare const emptyMediaVariants: (props?: ({
16
16
  variant?: "default" | "icon" | null | undefined;
17
- } & class_variance_authority_types4.ClassProp) | undefined) => string;
17
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
18
18
  declare function EmptyMedia({
19
19
  className,
20
20
  variant,
21
21
  ...props
22
- }: ViewProps & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime45.JSX.Element;
22
+ }: ViewProps & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime94.JSX.Element;
23
23
  declare function EmptyTitle({
24
24
  className,
25
25
  ...props
26
- }: ViewProps): react_jsx_runtime45.JSX.Element;
26
+ }: ViewProps): react_jsx_runtime94.JSX.Element;
27
27
  declare function EmptyDescription({
28
28
  className,
29
29
  ...props
30
- }: ViewProps): react_jsx_runtime45.JSX.Element;
30
+ }: ViewProps): react_jsx_runtime94.JSX.Element;
31
31
  declare function EmptyContent({
32
32
  className,
33
33
  ...props
34
- }: ViewProps): react_jsx_runtime45.JSX.Element;
34
+ }: ViewProps): react_jsx_runtime94.JSX.Element;
35
35
  //#endregion
36
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
37
- //# sourceMappingURL=empty.d.ts.map
36
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
package/dist/ui/empty.js CHANGED
@@ -4,14 +4,14 @@ import { jsx } from "react/jsx-runtime";
4
4
  import { cva } from "class-variance-authority";
5
5
 
6
6
  //#region ui/empty.tsx
7
- function Empty({ className,...props }) {
7
+ function Empty({ className, ...props }) {
8
8
  return /* @__PURE__ */ jsx(View, {
9
9
  "data-slot": "empty",
10
10
  className: cn("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", className),
11
11
  ...props
12
12
  });
13
13
  }
14
- function EmptyHeader({ className,...props }) {
14
+ function EmptyHeader({ className, ...props }) {
15
15
  return /* @__PURE__ */ jsx(View, {
16
16
  "data-slot": "empty-header",
17
17
  className: cn("flex max-w-sm flex-col items-center gap-2 text-center", className),
@@ -25,7 +25,7 @@ const emptyMediaVariants = cva("flex shrink-0 items-center justify-center mb-2 [
25
25
  } },
26
26
  defaultVariants: { variant: "default" }
27
27
  });
28
- function EmptyMedia({ className, variant = "default",...props }) {
28
+ function EmptyMedia({ className, variant = "default", ...props }) {
29
29
  return /* @__PURE__ */ jsx(View, {
30
30
  "data-slot": "empty-icon",
31
31
  "data-variant": variant,
@@ -36,21 +36,21 @@ function EmptyMedia({ className, variant = "default",...props }) {
36
36
  ...props
37
37
  });
38
38
  }
39
- function EmptyTitle({ className,...props }) {
39
+ function EmptyTitle({ className, ...props }) {
40
40
  return /* @__PURE__ */ jsx(View, {
41
41
  "data-slot": "empty-title",
42
42
  className: cn("text-lg font-medium tracking-tight", className),
43
43
  ...props
44
44
  });
45
45
  }
46
- function EmptyDescription({ className,...props }) {
46
+ function EmptyDescription({ className, ...props }) {
47
47
  return /* @__PURE__ */ jsx(View, {
48
48
  "data-slot": "empty-description",
49
49
  className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
50
50
  ...props
51
51
  });
52
52
  }
53
- function EmptyContent({ className,...props }) {
53
+ function EmptyContent({ className, ...props }) {
54
54
  return /* @__PURE__ */ jsx(View, {
55
55
  "data-slot": "empty-content",
56
56
  className: cn("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", className),
@@ -59,5 +59,4 @@ function EmptyContent({ className,...props }) {
59
59
  }
60
60
 
61
61
  //#endregion
62
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
63
- //# sourceMappingURL=empty.js.map
62
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
package/dist/ui/fab.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime60 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime100 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/fab.d.ts
5
5
  interface FABAction {
@@ -19,7 +19,7 @@ declare function FAB({
19
19
  className,
20
20
  mainIcon,
21
21
  mainColor
22
- }: FABProps): react_jsx_runtime60.JSX.Element;
22
+ }: FABProps): react_jsx_runtime100.JSX.Element;
23
23
  declare function MiniFAB({
24
24
  icon,
25
25
  onPress,
@@ -30,7 +30,6 @@ declare function MiniFAB({
30
30
  onPress: () => void;
31
31
  className?: string;
32
32
  color?: string;
33
- }): react_jsx_runtime60.JSX.Element;
33
+ }): react_jsx_runtime100.JSX.Element;
34
34
  //#endregion
35
- export { FAB, MiniFAB };
36
- //# sourceMappingURL=fab.d.ts.map
35
+ export { FAB, MiniFAB };
package/dist/ui/fab.js CHANGED
@@ -100,5 +100,4 @@ function MiniFAB({ icon, onPress, className, color = "bg-primary" }) {
100
100
  }
101
101
 
102
102
  //#endregion
103
- export { FAB, MiniFAB };
104
- //# sourceMappingURL=fab.js.map
103
+ export { FAB, MiniFAB };
@@ -1,57 +1,57 @@
1
1
  import { Label } from "./label.js";
2
2
  import { BoxProps } from "./stack.js";
3
3
  import { TypographyProps } from "./typography.js";
4
- import * as react_jsx_runtime63 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime102 from "react/jsx-runtime";
5
5
  import { VariantProps } from "class-variance-authority";
6
- import * as class_variance_authority_types5 from "class-variance-authority/types";
6
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
7
7
 
8
8
  //#region ui/field.d.ts
9
9
  declare function FieldSet({
10
10
  className,
11
11
  ...props
12
- }: BoxProps): react_jsx_runtime63.JSX.Element;
12
+ }: BoxProps): react_jsx_runtime102.JSX.Element;
13
13
  declare function FieldLegend({
14
14
  className,
15
15
  variant,
16
16
  ...props
17
17
  }: BoxProps & {
18
18
  variant?: 'legend' | 'label';
19
- }): react_jsx_runtime63.JSX.Element;
19
+ }): react_jsx_runtime102.JSX.Element;
20
20
  declare function FieldGroup({
21
21
  className,
22
22
  ...props
23
- }: BoxProps): react_jsx_runtime63.JSX.Element;
23
+ }: BoxProps): react_jsx_runtime102.JSX.Element;
24
24
  declare const fieldVariants: (props?: ({
25
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
26
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
25
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
26
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
27
27
  declare function Field({
28
28
  className,
29
29
  orientation,
30
30
  ...props
31
- }: BoxProps & VariantProps<typeof fieldVariants>): react_jsx_runtime63.JSX.Element;
31
+ }: BoxProps & VariantProps<typeof fieldVariants>): react_jsx_runtime102.JSX.Element;
32
32
  declare function FieldContent({
33
33
  className,
34
34
  ...props
35
- }: BoxProps): react_jsx_runtime63.JSX.Element;
35
+ }: BoxProps): react_jsx_runtime102.JSX.Element;
36
36
  declare function FieldLabel({
37
37
  className,
38
38
  ...props
39
- }: React.ComponentProps<typeof Label>): react_jsx_runtime63.JSX.Element;
39
+ }: React.ComponentProps<typeof Label>): react_jsx_runtime102.JSX.Element;
40
40
  declare function FieldTitle({
41
41
  className,
42
42
  ...props
43
- }: BoxProps): react_jsx_runtime63.JSX.Element;
43
+ }: BoxProps): react_jsx_runtime102.JSX.Element;
44
44
  declare function FieldDescription({
45
45
  className,
46
46
  ...props
47
- }: TypographyProps): react_jsx_runtime63.JSX.Element;
47
+ }: TypographyProps): react_jsx_runtime102.JSX.Element;
48
48
  declare function FieldSeparator({
49
49
  children,
50
50
  className,
51
51
  ...props
52
52
  }: BoxProps & {
53
53
  children?: React.ReactNode;
54
- }): react_jsx_runtime63.JSX.Element;
54
+ }): react_jsx_runtime102.JSX.Element;
55
55
  declare function FieldError({
56
56
  className,
57
57
  children,
@@ -61,7 +61,6 @@ declare function FieldError({
61
61
  errors?: ({
62
62
  message?: string;
63
63
  } | undefined)[];
64
- }): react_jsx_runtime63.JSX.Element | null;
64
+ }): react_jsx_runtime102.JSX.Element | null;
65
65
  //#endregion
66
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
67
- //# sourceMappingURL=field.d.ts.map
66
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
package/dist/ui/field.js CHANGED
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import { Box, VStack } from "./stack.js";
6
5
  import { P } from "./typography.js";
@@ -11,14 +10,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
11
10
  import { cva } from "class-variance-authority";
12
11
 
13
12
  //#region ui/field.tsx
14
- function FieldSet({ className,...props }) {
13
+ function FieldSet({ className, ...props }) {
15
14
  return /* @__PURE__ */ jsx(Box, {
16
15
  "data-slot": "field-set",
17
16
  className: cn("flex flex-col gap-6", "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className),
18
17
  ...props
19
18
  });
20
19
  }
21
- function FieldLegend({ className, variant = "legend",...props }) {
20
+ function FieldLegend({ className, variant = "legend", ...props }) {
22
21
  return /* @__PURE__ */ jsx(Box, {
23
22
  "data-slot": "field-legend",
24
23
  "data-variant": variant,
@@ -26,7 +25,7 @@ function FieldLegend({ className, variant = "legend",...props }) {
26
25
  ...props
27
26
  });
28
27
  }
29
- function FieldGroup({ className,...props }) {
28
+ function FieldGroup({ className, ...props }) {
30
29
  return /* @__PURE__ */ jsx(Box, {
31
30
  "data-slot": "field-group",
32
31
  className: cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 data-[slot=field-group]:*:gap-4", className),
@@ -49,7 +48,7 @@ const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:tex
49
48
  } },
50
49
  defaultVariants: { orientation: "vertical" }
51
50
  });
52
- function Field({ className, orientation = "vertical",...props }) {
51
+ function Field({ className, orientation = "vertical", ...props }) {
53
52
  return /* @__PURE__ */ jsx(Box, {
54
53
  role: "group",
55
54
  "data-slot": "field",
@@ -58,35 +57,35 @@ function Field({ className, orientation = "vertical",...props }) {
58
57
  ...props
59
58
  });
60
59
  }
61
- function FieldContent({ className,...props }) {
60
+ function FieldContent({ className, ...props }) {
62
61
  return /* @__PURE__ */ jsx(Box, {
63
62
  "data-slot": "field-content",
64
63
  className: cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", className),
65
64
  ...props
66
65
  });
67
66
  }
68
- function FieldLabel({ className,...props }) {
67
+ function FieldLabel({ className, ...props }) {
69
68
  return /* @__PURE__ */ jsx(Label, {
70
69
  "data-slot": "field-label",
71
70
  className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", className),
72
71
  ...props
73
72
  });
74
73
  }
75
- function FieldTitle({ className,...props }) {
74
+ function FieldTitle({ className, ...props }) {
76
75
  return /* @__PURE__ */ jsx(Box, {
77
76
  "data-slot": "field-label",
78
77
  className: cn("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", className),
79
78
  ...props
80
79
  });
81
80
  }
82
- function FieldDescription({ className,...props }) {
81
+ function FieldDescription({ className, ...props }) {
83
82
  return /* @__PURE__ */ jsx(P, {
84
83
  "data-slot": "field-description",
85
84
  className: cn("text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className),
86
85
  ...props
87
86
  });
88
87
  }
89
- function FieldSeparator({ children, className,...props }) {
88
+ function FieldSeparator({ children, className, ...props }) {
90
89
  return /* @__PURE__ */ jsxs(Box, {
91
90
  "data-slot": "field-separator",
92
91
  "data-content": !!children,
@@ -99,7 +98,7 @@ function FieldSeparator({ children, className,...props }) {
99
98
  })]
100
99
  });
101
100
  }
102
- function FieldError({ className, children, errors,...props }) {
101
+ function FieldError({ className, children, errors, ...props }) {
103
102
  const content = useMemo(() => {
104
103
  if (children) return children;
105
104
  if (!errors?.length) return null;
@@ -120,5 +119,4 @@ function FieldError({ className, children, errors,...props }) {
120
119
  }
121
120
 
122
121
  //#endregion
123
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
124
- //# sourceMappingURL=field.js.map
122
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
package/dist/ui/form.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Label } from "./label.js";
2
2
  import * as React$1 from "react";
3
3
  import { View } from "react-native";
4
- import * as react_jsx_runtime74 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime112 from "react/jsx-runtime";
5
5
  import * as react_hook_form0 from "react-hook-form";
6
6
  import { ControllerProps, FieldPath, FieldValues, UseFormReturn, useFieldArray, useForm } from "react-hook-form";
7
7
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -10,7 +10,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
10
10
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
11
11
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
12
12
  ...props
13
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime74.JSX.Element;
13
+ }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime112.JSX.Element;
14
14
  declare const useFormField: () => {
15
15
  invalid: boolean;
16
16
  isDirty: boolean;
@@ -26,25 +26,24 @@ declare const useFormField: () => {
26
26
  declare function FormItem({
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentProps<'div'>): react_jsx_runtime74.JSX.Element;
29
+ }: React$1.ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
30
30
  declare function FormLabel({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentProps<typeof Label>): react_jsx_runtime74.JSX.Element;
33
+ }: React$1.ComponentProps<typeof Label>): react_jsx_runtime112.JSX.Element;
34
34
  declare function FormControl({
35
35
  asChild,
36
36
  ...props
37
37
  }: React$1.ComponentProps<typeof View> & {
38
38
  asChild?: boolean;
39
- }): react_jsx_runtime74.JSX.Element;
39
+ }): react_jsx_runtime112.JSX.Element;
40
40
  declare function FormDescription({
41
41
  className,
42
42
  ...props
43
- }: React$1.ComponentProps<'p'>): react_jsx_runtime74.JSX.Element;
43
+ }: React$1.ComponentProps<'p'>): react_jsx_runtime112.JSX.Element;
44
44
  declare function FormMessage({
45
45
  className,
46
46
  ...props
47
- }: React$1.ComponentProps<'p'>): react_jsx_runtime74.JSX.Element | null;
47
+ }: React$1.ComponentProps<'p'>): react_jsx_runtime112.JSX.Element | null;
48
48
  //#endregion
49
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
50
- //# sourceMappingURL=form.d.ts.map
49
+ export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
package/dist/ui/form.js CHANGED
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
-
4
3
  import { cn } from "./utils.js";
5
4
  import { Label } from "./label.js";
6
5
  import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "../node_modules/react-hook-form/dist/index.esm.js";
@@ -37,7 +36,7 @@ const useFormField = () => {
37
36
  };
38
37
  };
39
38
  const FormItemContext = React$1.createContext({});
40
- function FormItem({ className,...props }) {
39
+ function FormItem({ className, ...props }) {
41
40
  const id = React$1.useId();
42
41
  return /* @__PURE__ */ jsx(FormItemContext.Provider, {
43
42
  value: { id },
@@ -48,7 +47,7 @@ function FormItem({ className,...props }) {
48
47
  })
49
48
  });
50
49
  }
51
- function FormLabel({ className,...props }) {
50
+ function FormLabel({ className, ...props }) {
52
51
  const { error, formItemId } = useFormField();
53
52
  return /* @__PURE__ */ jsx(Label, {
54
53
  "data-slot": "form-label",
@@ -58,7 +57,7 @@ function FormLabel({ className,...props }) {
58
57
  ...props
59
58
  });
60
59
  }
61
- function FormControl({ asChild = false,...props }) {
60
+ function FormControl({ asChild = false, ...props }) {
62
61
  const Component = asChild ? Slot.Text : View;
63
62
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
64
63
  return /* @__PURE__ */ jsx(Component, {
@@ -69,7 +68,7 @@ function FormControl({ asChild = false,...props }) {
69
68
  ...props
70
69
  });
71
70
  }
72
- function FormDescription({ className,...props }) {
71
+ function FormDescription({ className, ...props }) {
73
72
  const { formDescriptionId } = useFormField();
74
73
  return /* @__PURE__ */ jsx("p", {
75
74
  "data-slot": "form-description",
@@ -78,7 +77,7 @@ function FormDescription({ className,...props }) {
78
77
  ...props
79
78
  });
80
79
  }
81
- function FormMessage({ className,...props }) {
80
+ function FormMessage({ className, ...props }) {
82
81
  const { error, formMessageId } = useFormField();
83
82
  const body = error ? String(error?.message ?? "") : props.children;
84
83
  if (!body) return null;
@@ -92,5 +91,4 @@ function FormMessage({ className,...props }) {
92
91
  }
93
92
 
94
93
  //#endregion
95
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, a as zodResolver };
96
- //# sourceMappingURL=form.js.map
94
+ export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, a as zodResolver };