@korsolutions/ui 0.0.29 → 0.0.31

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 (854) hide show
  1. package/babel.config.js +18 -0
  2. package/bob.config.js +14 -0
  3. package/dist/module/components/avatar/avatar.js +21 -0
  4. package/dist/module/components/avatar/avatar.js.map +1 -0
  5. package/dist/module/components/avatar/variants/default.js +33 -0
  6. package/dist/module/components/avatar/variants/default.js.map +1 -0
  7. package/dist/module/components/avatar/variants/index.js +7 -0
  8. package/dist/module/components/avatar/variants/index.js.map +1 -0
  9. package/dist/module/components/badge/badge.js +23 -0
  10. package/dist/module/components/badge/badge.js.map +1 -0
  11. package/dist/module/components/badge/variants/default.js +30 -0
  12. package/dist/module/components/badge/variants/default.js.map +1 -0
  13. package/dist/module/components/badge/variants/index.js +9 -0
  14. package/dist/module/components/badge/variants/index.js.map +1 -0
  15. package/dist/module/components/badge/variants/secondary.js +30 -0
  16. package/dist/module/components/badge/variants/secondary.js.map +1 -0
  17. package/dist/module/components/button/button.js +23 -0
  18. package/dist/module/components/button/button.js.map +1 -0
  19. package/dist/module/components/button/variants/default.js +62 -0
  20. package/dist/module/components/button/variants/default.js.map +1 -0
  21. package/dist/module/components/button/variants/index.js +9 -0
  22. package/dist/module/components/button/variants/index.js.map +1 -0
  23. package/dist/module/components/button/variants/secondary.js +62 -0
  24. package/dist/module/components/button/variants/secondary.js.map +1 -0
  25. package/dist/module/components/calendar/calendar.js +29 -0
  26. package/dist/module/components/calendar/calendar.js.map +1 -0
  27. package/dist/module/components/calendar/index.js +4 -0
  28. package/dist/module/components/calendar/index.js.map +1 -0
  29. package/dist/module/components/calendar/variants/default.js +131 -0
  30. package/dist/module/components/calendar/variants/default.js.map +1 -0
  31. package/dist/module/components/calendar/variants/index.js +7 -0
  32. package/dist/module/components/calendar/variants/index.js.map +1 -0
  33. package/dist/module/components/card/card.js +21 -0
  34. package/dist/module/components/card/card.js.map +1 -0
  35. package/dist/module/components/card/variants/default.js +42 -0
  36. package/dist/module/components/card/variants/default.js.map +1 -0
  37. package/dist/module/components/card/variants/index.js +7 -0
  38. package/dist/module/components/card/variants/index.js.map +1 -0
  39. package/dist/module/components/dropdown-menu/dropdown-menu.js +34 -0
  40. package/dist/module/components/dropdown-menu/dropdown-menu.js.map +1 -0
  41. package/dist/module/components/dropdown-menu/variants/default.js +47 -0
  42. package/dist/module/components/dropdown-menu/variants/default.js.map +1 -0
  43. package/dist/module/components/dropdown-menu/variants/index.js +7 -0
  44. package/dist/module/components/dropdown-menu/variants/index.js.map +1 -0
  45. package/dist/module/components/empty/empty.js +21 -0
  46. package/dist/module/components/empty/empty.js.map +1 -0
  47. package/dist/module/components/empty/variants/default.js +38 -0
  48. package/dist/module/components/empty/variants/default.js.map +1 -0
  49. package/dist/module/components/empty/variants/index.js +7 -0
  50. package/dist/module/components/empty/variants/index.js.map +1 -0
  51. package/dist/module/components/field/field.js +22 -0
  52. package/dist/module/components/field/field.js.map +1 -0
  53. package/dist/module/components/field/variants/default.js +32 -0
  54. package/dist/module/components/field/variants/default.js.map +1 -0
  55. package/dist/module/components/field/variants/index.js +7 -0
  56. package/dist/module/components/field/variants/index.js.map +1 -0
  57. package/dist/module/components/index.js +18 -0
  58. package/dist/module/components/index.js.map +1 -0
  59. package/dist/module/components/input/index.js +5 -0
  60. package/dist/module/components/input/index.js.map +1 -0
  61. package/dist/module/components/input/input.js +15 -0
  62. package/dist/module/components/input/input.js.map +1 -0
  63. package/dist/module/components/input/numeric-input.js +57 -0
  64. package/dist/module/components/input/numeric-input.js.map +1 -0
  65. package/dist/module/components/input/variants/default.js +41 -0
  66. package/dist/module/components/input/variants/default.js.map +1 -0
  67. package/dist/module/components/input/variants/index.js +7 -0
  68. package/dist/module/components/input/variants/index.js.map +1 -0
  69. package/dist/module/components/link/link.js +25 -0
  70. package/dist/module/components/link/link.js.map +1 -0
  71. package/dist/module/components/link/variants/default.js +18 -0
  72. package/dist/module/components/link/variants/default.js.map +1 -0
  73. package/dist/module/components/link/variants/index.js +7 -0
  74. package/dist/module/components/link/variants/index.js.map +1 -0
  75. package/dist/module/components/popover/popover.js +39 -0
  76. package/dist/module/components/popover/popover.js.map +1 -0
  77. package/dist/module/components/popover/variants/default.js +30 -0
  78. package/dist/module/components/popover/variants/default.js.map +1 -0
  79. package/dist/module/components/popover/variants/index.js +9 -0
  80. package/dist/module/components/popover/variants/index.js.map +1 -0
  81. package/dist/module/components/popover/variants/unstyled.js +12 -0
  82. package/dist/module/components/popover/variants/unstyled.js.map +1 -0
  83. package/dist/module/components/select/select.js +25 -0
  84. package/dist/module/components/select/select.js.map +1 -0
  85. package/dist/module/components/select/variants/default.js +85 -0
  86. package/dist/module/components/select/variants/default.js.map +1 -0
  87. package/dist/module/components/select/variants/index.js +7 -0
  88. package/dist/module/components/select/variants/index.js.map +1 -0
  89. package/dist/module/components/textarea/textarea.js +15 -0
  90. package/dist/module/components/textarea/textarea.js.map +1 -0
  91. package/dist/module/components/textarea/variants/default.js +42 -0
  92. package/dist/module/components/textarea/variants/default.js.map +1 -0
  93. package/dist/module/components/textarea/variants/index.js +7 -0
  94. package/dist/module/components/textarea/variants/index.js.map +1 -0
  95. package/dist/module/components/toast/index.js +9 -0
  96. package/dist/module/components/toast/index.js.map +1 -0
  97. package/dist/module/components/toast/toast-manager.js +78 -0
  98. package/dist/module/components/toast/toast-manager.js.map +1 -0
  99. package/dist/module/components/toast/toast.js +19 -0
  100. package/dist/module/components/toast/toast.js.map +1 -0
  101. package/dist/module/components/toast/variants/danger.js +35 -0
  102. package/dist/module/components/toast/variants/danger.js.map +1 -0
  103. package/dist/module/components/toast/variants/default.js +34 -0
  104. package/dist/module/components/toast/variants/default.js.map +1 -0
  105. package/dist/module/components/toast/variants/index.js +11 -0
  106. package/dist/module/components/toast/variants/index.js.map +1 -0
  107. package/dist/module/components/toast/variants/success.js +35 -0
  108. package/dist/module/components/toast/variants/success.js.map +1 -0
  109. package/dist/module/components/typography/typography.js +15 -0
  110. package/dist/module/components/typography/typography.js.map +1 -0
  111. package/dist/module/components/typography/variants/body-lg.js +17 -0
  112. package/dist/module/components/typography/variants/body-lg.js.map +1 -0
  113. package/dist/module/components/typography/variants/body-md.js +17 -0
  114. package/dist/module/components/typography/variants/body-md.js.map +1 -0
  115. package/dist/module/components/typography/variants/body-sm.js +17 -0
  116. package/dist/module/components/typography/variants/body-sm.js.map +1 -0
  117. package/dist/module/components/typography/variants/heading-lg.js +18 -0
  118. package/dist/module/components/typography/variants/heading-lg.js.map +1 -0
  119. package/dist/module/components/typography/variants/heading-md.js +18 -0
  120. package/dist/module/components/typography/variants/heading-md.js.map +1 -0
  121. package/dist/module/components/typography/variants/heading-sm.js +18 -0
  122. package/dist/module/components/typography/variants/heading-sm.js.map +1 -0
  123. package/dist/module/components/typography/variants/index.js +17 -0
  124. package/dist/module/components/typography/variants/index.js.map +1 -0
  125. package/dist/module/hooks/index.js +7 -0
  126. package/dist/module/hooks/index.js.map +1 -0
  127. package/dist/module/hooks/use-currency-mask.js +101 -0
  128. package/dist/module/hooks/use-currency-mask.js.map +1 -0
  129. package/dist/module/hooks/use-numeric-mask.js +154 -0
  130. package/dist/module/hooks/use-numeric-mask.js.map +1 -0
  131. package/dist/module/hooks/use-relative-position.js +155 -0
  132. package/dist/module/hooks/use-relative-position.js.map +1 -0
  133. package/dist/module/hooks/use-screen-size.js +30 -0
  134. package/dist/module/hooks/use-screen-size.js.map +1 -0
  135. package/dist/module/index.js +20 -0
  136. package/dist/module/index.js.map +1 -0
  137. package/dist/module/package.json +1 -0
  138. package/dist/module/primitives/avatar/avatar-fallback.js +16 -0
  139. package/dist/module/primitives/avatar/avatar-fallback.js.map +1 -0
  140. package/dist/module/primitives/avatar/avatar-image.js +16 -0
  141. package/dist/module/primitives/avatar/avatar-image.js.map +1 -0
  142. package/dist/module/primitives/avatar/avatar-root.js +20 -0
  143. package/dist/module/primitives/avatar/avatar-root.js.map +1 -0
  144. package/dist/module/primitives/avatar/context.js +12 -0
  145. package/dist/module/primitives/avatar/context.js.map +1 -0
  146. package/dist/module/primitives/avatar/index.js +11 -0
  147. package/dist/module/primitives/avatar/index.js.map +1 -0
  148. package/dist/module/primitives/avatar/types.js +4 -0
  149. package/dist/module/primitives/avatar/types.js.map +1 -0
  150. package/dist/module/primitives/badge/badge-label.js +17 -0
  151. package/dist/module/primitives/badge/badge-label.js.map +1 -0
  152. package/dist/module/primitives/badge/badge-root.js +22 -0
  153. package/dist/module/primitives/badge/badge-root.js.map +1 -0
  154. package/dist/module/primitives/badge/context.js +12 -0
  155. package/dist/module/primitives/badge/context.js.map +1 -0
  156. package/dist/module/primitives/badge/index.js +9 -0
  157. package/dist/module/primitives/badge/index.js.map +1 -0
  158. package/dist/module/primitives/badge/types.js +4 -0
  159. package/dist/module/primitives/badge/types.js.map +1 -0
  160. package/dist/module/primitives/button/button-context.js +12 -0
  161. package/dist/module/primitives/button/button-context.js.map +1 -0
  162. package/dist/module/primitives/button/button-label.js +17 -0
  163. package/dist/module/primitives/button/button-label.js.map +1 -0
  164. package/dist/module/primitives/button/button-root.js +38 -0
  165. package/dist/module/primitives/button/button-root.js.map +1 -0
  166. package/dist/module/primitives/button/button-spinner.js +15 -0
  167. package/dist/module/primitives/button/button-spinner.js.map +1 -0
  168. package/dist/module/primitives/button/index.js +12 -0
  169. package/dist/module/primitives/button/index.js.map +1 -0
  170. package/dist/module/primitives/button/types.js +4 -0
  171. package/dist/module/primitives/button/types.js.map +1 -0
  172. package/dist/module/primitives/calendar/calendar-day.js +45 -0
  173. package/dist/module/primitives/calendar/calendar-day.js.map +1 -0
  174. package/dist/module/primitives/calendar/calendar-header.js +23 -0
  175. package/dist/module/primitives/calendar/calendar-header.js.map +1 -0
  176. package/dist/module/primitives/calendar/calendar-nav-button.js +61 -0
  177. package/dist/module/primitives/calendar/calendar-nav-button.js.map +1 -0
  178. package/dist/module/primitives/calendar/calendar-root.js +38 -0
  179. package/dist/module/primitives/calendar/calendar-root.js.map +1 -0
  180. package/dist/module/primitives/calendar/calendar-title.js +26 -0
  181. package/dist/module/primitives/calendar/calendar-title.js.map +1 -0
  182. package/dist/module/primitives/calendar/calendar-week-labels.js +36 -0
  183. package/dist/module/primitives/calendar/calendar-week-labels.js.map +1 -0
  184. package/dist/module/primitives/calendar/calendar-weeks.js +48 -0
  185. package/dist/module/primitives/calendar/calendar-weeks.js.map +1 -0
  186. package/dist/module/primitives/calendar/context.js +12 -0
  187. package/dist/module/primitives/calendar/context.js.map +1 -0
  188. package/dist/module/primitives/calendar/index.js +19 -0
  189. package/dist/module/primitives/calendar/index.js.map +1 -0
  190. package/dist/module/primitives/calendar/types.js +4 -0
  191. package/dist/module/primitives/calendar/types.js.map +1 -0
  192. package/dist/module/primitives/card/card-body.js +17 -0
  193. package/dist/module/primitives/card/card-body.js.map +1 -0
  194. package/dist/module/primitives/card/card-footer.js +17 -0
  195. package/dist/module/primitives/card/card-footer.js.map +1 -0
  196. package/dist/module/primitives/card/card-header.js +17 -0
  197. package/dist/module/primitives/card/card-header.js.map +1 -0
  198. package/dist/module/primitives/card/card-root.js +22 -0
  199. package/dist/module/primitives/card/card-root.js.map +1 -0
  200. package/dist/module/primitives/card/card-title.js +17 -0
  201. package/dist/module/primitives/card/card-title.js.map +1 -0
  202. package/dist/module/primitives/card/context.js +12 -0
  203. package/dist/module/primitives/card/context.js.map +1 -0
  204. package/dist/module/primitives/card/index.js +15 -0
  205. package/dist/module/primitives/card/index.js.map +1 -0
  206. package/dist/module/primitives/card/types.js +4 -0
  207. package/dist/module/primitives/card/types.js.map +1 -0
  208. package/dist/module/primitives/dropdown-menu/context.js +12 -0
  209. package/dist/module/primitives/dropdown-menu/context.js.map +1 -0
  210. package/dist/module/primitives/dropdown-menu/dropdown-menu-button.js +32 -0
  211. package/dist/module/primitives/dropdown-menu/dropdown-menu-button.js.map +1 -0
  212. package/dist/module/primitives/dropdown-menu/dropdown-menu-content.js +29 -0
  213. package/dist/module/primitives/dropdown-menu/dropdown-menu-content.js.map +1 -0
  214. package/dist/module/primitives/dropdown-menu/dropdown-menu-divider.js +16 -0
  215. package/dist/module/primitives/dropdown-menu/dropdown-menu-divider.js.map +1 -0
  216. package/dist/module/primitives/dropdown-menu/dropdown-menu-overlay.js +19 -0
  217. package/dist/module/primitives/dropdown-menu/dropdown-menu-overlay.js.map +1 -0
  218. package/dist/module/primitives/dropdown-menu/dropdown-menu-portal.js +20 -0
  219. package/dist/module/primitives/dropdown-menu/dropdown-menu-portal.js.map +1 -0
  220. package/dist/module/primitives/dropdown-menu/dropdown-menu-root.js +24 -0
  221. package/dist/module/primitives/dropdown-menu/dropdown-menu-root.js.map +1 -0
  222. package/dist/module/primitives/dropdown-menu/dropdown-menu-trigger.js +50 -0
  223. package/dist/module/primitives/dropdown-menu/dropdown-menu-trigger.js.map +1 -0
  224. package/dist/module/primitives/dropdown-menu/index.js +19 -0
  225. package/dist/module/primitives/dropdown-menu/index.js.map +1 -0
  226. package/dist/module/primitives/dropdown-menu/types.js +4 -0
  227. package/dist/module/primitives/dropdown-menu/types.js.map +1 -0
  228. package/dist/module/primitives/empty/context.js +12 -0
  229. package/dist/module/primitives/empty/context.js.map +1 -0
  230. package/dist/module/primitives/empty/empty-description.js +16 -0
  231. package/dist/module/primitives/empty/empty-description.js.map +1 -0
  232. package/dist/module/primitives/empty/empty-media.js +16 -0
  233. package/dist/module/primitives/empty/empty-media.js.map +1 -0
  234. package/dist/module/primitives/empty/empty-root.js +20 -0
  235. package/dist/module/primitives/empty/empty-root.js.map +1 -0
  236. package/dist/module/primitives/empty/empty-title.js +16 -0
  237. package/dist/module/primitives/empty/empty-title.js.map +1 -0
  238. package/dist/module/primitives/empty/index.js +13 -0
  239. package/dist/module/primitives/empty/index.js.map +1 -0
  240. package/dist/module/primitives/empty/types.js +4 -0
  241. package/dist/module/primitives/empty/types.js.map +1 -0
  242. package/dist/module/primitives/field/context.js +15 -0
  243. package/dist/module/primitives/field/context.js.map +1 -0
  244. package/dist/module/primitives/field/field-description.js +15 -0
  245. package/dist/module/primitives/field/field-description.js.map +1 -0
  246. package/dist/module/primitives/field/field-error.js +15 -0
  247. package/dist/module/primitives/field/field-error.js.map +1 -0
  248. package/dist/module/primitives/field/field-label.js +16 -0
  249. package/dist/module/primitives/field/field-label.js.map +1 -0
  250. package/dist/module/primitives/field/field-root.js +22 -0
  251. package/dist/module/primitives/field/field-root.js.map +1 -0
  252. package/dist/module/primitives/field/index.js +13 -0
  253. package/dist/module/primitives/field/index.js.map +1 -0
  254. package/dist/module/primitives/field/types.js +4 -0
  255. package/dist/module/primitives/field/types.js.map +1 -0
  256. package/dist/module/primitives/index.js +17 -0
  257. package/dist/module/primitives/index.js.map +1 -0
  258. package/dist/module/primitives/input/index.js +4 -0
  259. package/dist/module/primitives/input/index.js.map +1 -0
  260. package/dist/module/primitives/input/input.js +46 -0
  261. package/dist/module/primitives/input/input.js.map +1 -0
  262. package/dist/module/primitives/input/types.js +4 -0
  263. package/dist/module/primitives/input/types.js.map +1 -0
  264. package/dist/module/primitives/popover/context.js +12 -0
  265. package/dist/module/primitives/popover/context.js.map +1 -0
  266. package/dist/module/primitives/popover/index.js +18 -0
  267. package/dist/module/primitives/popover/index.js.map +1 -0
  268. package/dist/module/primitives/popover/popover-close.js +19 -0
  269. package/dist/module/primitives/popover/popover-close.js.map +1 -0
  270. package/dist/module/primitives/popover/popover-content.js +30 -0
  271. package/dist/module/primitives/popover/popover-content.js.map +1 -0
  272. package/dist/module/primitives/popover/popover-overlay.js +27 -0
  273. package/dist/module/primitives/popover/popover-overlay.js.map +1 -0
  274. package/dist/module/primitives/popover/popover-portal.js +20 -0
  275. package/dist/module/primitives/popover/popover-portal.js.map +1 -0
  276. package/dist/module/primitives/popover/popover-root.js +24 -0
  277. package/dist/module/primitives/popover/popover-root.js.map +1 -0
  278. package/dist/module/primitives/popover/popover-trigger.js +50 -0
  279. package/dist/module/primitives/popover/popover-trigger.js.map +1 -0
  280. package/dist/module/primitives/popover/types.js +4 -0
  281. package/dist/module/primitives/popover/types.js.map +1 -0
  282. package/dist/module/primitives/portal/index.js +5 -0
  283. package/dist/module/primitives/portal/index.js.map +1 -0
  284. package/dist/module/primitives/portal/portal.constants.js +4 -0
  285. package/dist/module/primitives/portal/portal.constants.js.map +1 -0
  286. package/dist/module/primitives/portal/portal.js +112 -0
  287. package/dist/module/primitives/portal/portal.js.map +1 -0
  288. package/dist/module/primitives/portal/portal.web.js +28 -0
  289. package/dist/module/primitives/portal/portal.web.js.map +1 -0
  290. package/dist/module/primitives/select/context.js +12 -0
  291. package/dist/module/primitives/select/context.js.map +1 -0
  292. package/dist/module/primitives/select/index.js +19 -0
  293. package/dist/module/primitives/select/index.js.map +1 -0
  294. package/dist/module/primitives/select/select-content.js +22 -0
  295. package/dist/module/primitives/select/select-content.js.map +1 -0
  296. package/dist/module/primitives/select/select-option.js +50 -0
  297. package/dist/module/primitives/select/select-option.js.map +1 -0
  298. package/dist/module/primitives/select/select-overlay.js +20 -0
  299. package/dist/module/primitives/select/select-overlay.js.map +1 -0
  300. package/dist/module/primitives/select/select-portal.js +25 -0
  301. package/dist/module/primitives/select/select-portal.js.map +1 -0
  302. package/dist/module/primitives/select/select-root.js +42 -0
  303. package/dist/module/primitives/select/select-root.js.map +1 -0
  304. package/dist/module/primitives/select/select-trigger.js +26 -0
  305. package/dist/module/primitives/select/select-trigger.js.map +1 -0
  306. package/dist/module/primitives/select/select-value.js +19 -0
  307. package/dist/module/primitives/select/select-value.js.map +1 -0
  308. package/dist/module/primitives/select/types.js +4 -0
  309. package/dist/module/primitives/select/types.js.map +1 -0
  310. package/dist/module/primitives/textarea/index.js +4 -0
  311. package/dist/module/primitives/textarea/index.js.map +1 -0
  312. package/dist/module/primitives/textarea/textarea.js +42 -0
  313. package/dist/module/primitives/textarea/textarea.js.map +1 -0
  314. package/dist/module/primitives/textarea/types.js +4 -0
  315. package/dist/module/primitives/textarea/types.js.map +1 -0
  316. package/dist/module/primitives/toast/context.js +12 -0
  317. package/dist/module/primitives/toast/context.js.map +1 -0
  318. package/dist/module/primitives/toast/index.js +11 -0
  319. package/dist/module/primitives/toast/index.js.map +1 -0
  320. package/dist/module/primitives/toast/toast-description.js +16 -0
  321. package/dist/module/primitives/toast/toast-description.js.map +1 -0
  322. package/dist/module/primitives/toast/toast-root.js +20 -0
  323. package/dist/module/primitives/toast/toast-root.js.map +1 -0
  324. package/dist/module/primitives/toast/toast-title.js +16 -0
  325. package/dist/module/primitives/toast/toast-title.js.map +1 -0
  326. package/dist/module/primitives/toast/types.js +4 -0
  327. package/dist/module/primitives/toast/types.js.map +1 -0
  328. package/dist/module/themes/adapters/index.js +4 -0
  329. package/dist/module/themes/adapters/index.js.map +1 -0
  330. package/dist/module/themes/adapters/react-navigation.js +52 -0
  331. package/dist/module/themes/adapters/react-navigation.js.map +1 -0
  332. package/dist/module/themes/default/colors.js +35 -0
  333. package/dist/module/themes/default/colors.js.map +1 -0
  334. package/dist/module/themes/default/index.js +14 -0
  335. package/dist/module/themes/default/index.js.map +1 -0
  336. package/dist/module/themes/index.js +6 -0
  337. package/dist/module/themes/index.js.map +1 -0
  338. package/dist/module/themes/provider.js +41 -0
  339. package/dist/module/themes/provider.js.map +1 -0
  340. package/dist/module/themes/themes.js +7 -0
  341. package/dist/module/themes/themes.js.map +1 -0
  342. package/dist/module/themes/types.js +2 -0
  343. package/dist/module/themes/types.js.map +1 -0
  344. package/dist/module/types/element.types.js +4 -0
  345. package/dist/module/types/element.types.js.map +1 -0
  346. package/dist/module/utils/calculate-styles.js +17 -0
  347. package/dist/module/utils/calculate-styles.js.map +1 -0
  348. package/dist/module/utils/date-utils.js +95 -0
  349. package/dist/module/utils/date-utils.js.map +1 -0
  350. package/dist/module/utils/hsla-utils.js +33 -0
  351. package/dist/module/utils/hsla-utils.js.map +1 -0
  352. package/dist/module/utils/normalize-layout.js +16 -0
  353. package/dist/module/utils/normalize-layout.js.map +1 -0
  354. package/dist/module/utils/use-themed-styles.js +14 -0
  355. package/dist/module/utils/use-themed-styles.js.map +1 -0
  356. package/dist/typescript/babel.config.d.ts +11 -0
  357. package/dist/typescript/babel.config.d.ts.map +1 -0
  358. package/dist/typescript/bob.config.d.ts +7 -0
  359. package/dist/typescript/bob.config.d.ts.map +1 -0
  360. package/dist/typescript/package.json +1 -0
  361. package/dist/typescript/src/components/avatar/avatar.d.ts +10 -0
  362. package/dist/typescript/src/components/avatar/avatar.d.ts.map +1 -0
  363. package/dist/typescript/src/components/avatar/variants/default.d.ts +3 -0
  364. package/dist/typescript/src/components/avatar/variants/default.d.ts.map +1 -0
  365. package/dist/typescript/src/components/avatar/variants/index.d.ts +5 -0
  366. package/dist/typescript/src/components/avatar/variants/index.d.ts.map +1 -0
  367. package/dist/typescript/src/components/badge/badge.d.ts +10 -0
  368. package/dist/typescript/src/components/badge/badge.d.ts.map +1 -0
  369. package/dist/typescript/src/components/badge/variants/default.d.ts +3 -0
  370. package/dist/typescript/src/components/badge/variants/default.d.ts.map +1 -0
  371. package/dist/typescript/src/components/badge/variants/index.d.ts +5 -0
  372. package/dist/typescript/src/components/badge/variants/index.d.ts.map +1 -0
  373. package/dist/typescript/src/components/badge/variants/secondary.d.ts +3 -0
  374. package/dist/typescript/src/components/badge/variants/secondary.d.ts.map +1 -0
  375. package/dist/typescript/src/components/button/button.d.ts +14 -0
  376. package/dist/typescript/src/components/button/button.d.ts.map +1 -0
  377. package/dist/typescript/src/components/button/variants/default.d.ts +3 -0
  378. package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -0
  379. package/dist/typescript/src/components/button/variants/index.d.ts +5 -0
  380. package/dist/typescript/src/components/button/variants/index.d.ts.map +1 -0
  381. package/dist/typescript/src/components/button/variants/secondary.d.ts +3 -0
  382. package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -0
  383. package/dist/typescript/src/components/calendar/calendar.d.ts +14 -0
  384. package/dist/typescript/src/components/calendar/calendar.d.ts.map +1 -0
  385. package/dist/typescript/src/components/calendar/index.d.ts +2 -0
  386. package/dist/typescript/src/components/calendar/index.d.ts.map +1 -0
  387. package/dist/typescript/src/components/calendar/variants/default.d.ts +3 -0
  388. package/dist/typescript/src/components/calendar/variants/default.d.ts.map +1 -0
  389. package/dist/typescript/src/components/calendar/variants/index.d.ts +4 -0
  390. package/dist/typescript/src/components/calendar/variants/index.d.ts.map +1 -0
  391. package/dist/typescript/src/components/card/card.d.ts +10 -0
  392. package/dist/typescript/src/components/card/card.d.ts.map +1 -0
  393. package/dist/typescript/src/components/card/variants/default.d.ts +3 -0
  394. package/dist/typescript/src/components/card/variants/default.d.ts.map +1 -0
  395. package/dist/typescript/src/components/card/variants/index.d.ts +5 -0
  396. package/dist/typescript/src/components/card/variants/index.d.ts.map +1 -0
  397. package/dist/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +18 -0
  398. package/dist/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  399. package/dist/typescript/src/components/dropdown-menu/variants/default.d.ts +3 -0
  400. package/dist/typescript/src/components/dropdown-menu/variants/default.d.ts.map +1 -0
  401. package/dist/typescript/src/components/dropdown-menu/variants/index.d.ts +4 -0
  402. package/dist/typescript/src/components/dropdown-menu/variants/index.d.ts.map +1 -0
  403. package/dist/typescript/src/components/empty/empty.d.ts +11 -0
  404. package/dist/typescript/src/components/empty/empty.d.ts.map +1 -0
  405. package/dist/typescript/src/components/empty/variants/default.d.ts +3 -0
  406. package/dist/typescript/src/components/empty/variants/default.d.ts.map +1 -0
  407. package/dist/typescript/src/components/empty/variants/index.d.ts +5 -0
  408. package/dist/typescript/src/components/empty/variants/index.d.ts.map +1 -0
  409. package/dist/typescript/src/components/field/field.d.ts +12 -0
  410. package/dist/typescript/src/components/field/field.d.ts.map +1 -0
  411. package/dist/typescript/src/components/field/variants/default.d.ts +3 -0
  412. package/dist/typescript/src/components/field/variants/default.d.ts.map +1 -0
  413. package/dist/typescript/src/components/field/variants/index.d.ts +4 -0
  414. package/dist/typescript/src/components/field/variants/index.d.ts.map +1 -0
  415. package/dist/typescript/src/components/index.d.ts +16 -0
  416. package/dist/typescript/src/components/index.d.ts.map +1 -0
  417. package/dist/typescript/src/components/input/index.d.ts +3 -0
  418. package/dist/typescript/src/components/input/index.d.ts.map +1 -0
  419. package/dist/typescript/src/components/input/input.d.ts +9 -0
  420. package/dist/typescript/src/components/input/input.d.ts.map +1 -0
  421. package/dist/typescript/src/components/input/numeric-input.d.ts +17 -0
  422. package/dist/typescript/src/components/input/numeric-input.d.ts.map +1 -0
  423. package/dist/typescript/src/components/input/variants/default.d.ts +3 -0
  424. package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -0
  425. package/dist/typescript/src/components/input/variants/index.d.ts +5 -0
  426. package/dist/typescript/src/components/input/variants/index.d.ts.map +1 -0
  427. package/dist/typescript/src/components/link/link.d.ts +9 -0
  428. package/dist/typescript/src/components/link/link.d.ts.map +1 -0
  429. package/dist/typescript/src/components/link/variants/default.d.ts +3 -0
  430. package/dist/typescript/src/components/link/variants/default.d.ts.map +1 -0
  431. package/dist/typescript/src/components/link/variants/index.d.ts +5 -0
  432. package/dist/typescript/src/components/link/variants/index.d.ts.map +1 -0
  433. package/dist/typescript/src/components/popover/popover.d.ts +16 -0
  434. package/dist/typescript/src/components/popover/popover.d.ts.map +1 -0
  435. package/dist/typescript/src/components/popover/variants/default.d.ts +3 -0
  436. package/dist/typescript/src/components/popover/variants/default.d.ts.map +1 -0
  437. package/dist/typescript/src/components/popover/variants/index.d.ts +5 -0
  438. package/dist/typescript/src/components/popover/variants/index.d.ts.map +1 -0
  439. package/dist/typescript/src/components/popover/variants/unstyled.d.ts +3 -0
  440. package/dist/typescript/src/components/popover/variants/unstyled.d.ts.map +1 -0
  441. package/dist/typescript/src/components/select/select.d.ts +13 -0
  442. package/dist/typescript/src/components/select/select.d.ts.map +1 -0
  443. package/dist/typescript/src/components/select/variants/default.d.ts +3 -0
  444. package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -0
  445. package/dist/typescript/src/components/select/variants/index.d.ts +5 -0
  446. package/dist/typescript/src/components/select/variants/index.d.ts.map +1 -0
  447. package/dist/typescript/src/components/textarea/textarea.d.ts +9 -0
  448. package/dist/typescript/src/components/textarea/textarea.d.ts.map +1 -0
  449. package/dist/typescript/src/components/textarea/variants/default.d.ts +3 -0
  450. package/dist/typescript/src/components/textarea/variants/default.d.ts.map +1 -0
  451. package/dist/typescript/src/components/textarea/variants/index.d.ts +5 -0
  452. package/dist/typescript/src/components/textarea/variants/index.d.ts.map +1 -0
  453. package/dist/typescript/src/components/toast/index.d.ts +6 -0
  454. package/dist/typescript/src/components/toast/index.d.ts.map +1 -0
  455. package/dist/typescript/src/components/toast/toast-manager.d.ts +19 -0
  456. package/dist/typescript/src/components/toast/toast-manager.d.ts.map +1 -0
  457. package/dist/typescript/src/components/toast/toast.d.ts +10 -0
  458. package/dist/typescript/src/components/toast/toast.d.ts.map +1 -0
  459. package/dist/typescript/src/components/toast/variants/danger.d.ts +3 -0
  460. package/dist/typescript/src/components/toast/variants/danger.d.ts.map +1 -0
  461. package/dist/typescript/src/components/toast/variants/default.d.ts +3 -0
  462. package/dist/typescript/src/components/toast/variants/default.d.ts.map +1 -0
  463. package/dist/typescript/src/components/toast/variants/index.d.ts +6 -0
  464. package/dist/typescript/src/components/toast/variants/index.d.ts.map +1 -0
  465. package/dist/typescript/src/components/toast/variants/success.d.ts +3 -0
  466. package/dist/typescript/src/components/toast/variants/success.d.ts.map +1 -0
  467. package/dist/typescript/src/components/typography/typography.d.ts +8 -0
  468. package/dist/typescript/src/components/typography/typography.d.ts.map +1 -0
  469. package/dist/typescript/src/components/typography/variants/body-lg.d.ts +3 -0
  470. package/dist/typescript/src/components/typography/variants/body-lg.d.ts.map +1 -0
  471. package/dist/typescript/src/components/typography/variants/body-md.d.ts +3 -0
  472. package/dist/typescript/src/components/typography/variants/body-md.d.ts.map +1 -0
  473. package/dist/typescript/src/components/typography/variants/body-sm.d.ts +3 -0
  474. package/dist/typescript/src/components/typography/variants/body-sm.d.ts.map +1 -0
  475. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts +3 -0
  476. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts.map +1 -0
  477. package/dist/typescript/src/components/typography/variants/heading-md.d.ts +3 -0
  478. package/dist/typescript/src/components/typography/variants/heading-md.d.ts.map +1 -0
  479. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts +3 -0
  480. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts.map +1 -0
  481. package/dist/typescript/src/components/typography/variants/index.d.ts +15 -0
  482. package/dist/typescript/src/components/typography/variants/index.d.ts.map +1 -0
  483. package/dist/typescript/src/hooks/index.d.ts +5 -0
  484. package/dist/typescript/src/hooks/index.d.ts.map +1 -0
  485. package/dist/typescript/src/hooks/use-currency-mask.d.ts +19 -0
  486. package/dist/typescript/src/hooks/use-currency-mask.d.ts.map +1 -0
  487. package/dist/typescript/src/hooks/use-numeric-mask.d.ts +22 -0
  488. package/dist/typescript/src/hooks/use-numeric-mask.d.ts.map +1 -0
  489. package/dist/typescript/src/hooks/use-relative-position.d.ts +50 -0
  490. package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -0
  491. package/dist/typescript/src/hooks/use-screen-size.d.ts +22 -0
  492. package/dist/typescript/src/hooks/use-screen-size.d.ts.map +1 -0
  493. package/dist/typescript/src/index.d.ts +10 -0
  494. package/dist/typescript/src/index.d.ts.map +1 -0
  495. package/dist/typescript/src/primitives/avatar/avatar-fallback.d.ts +9 -0
  496. package/dist/typescript/src/primitives/avatar/avatar-fallback.d.ts.map +1 -0
  497. package/dist/typescript/src/primitives/avatar/avatar-image.d.ts +10 -0
  498. package/dist/typescript/src/primitives/avatar/avatar-image.d.ts.map +1 -0
  499. package/dist/typescript/src/primitives/avatar/avatar-root.d.ts +11 -0
  500. package/dist/typescript/src/primitives/avatar/avatar-root.d.ts.map +1 -0
  501. package/dist/typescript/src/primitives/avatar/context.d.ts +7 -0
  502. package/dist/typescript/src/primitives/avatar/context.d.ts.map +1 -0
  503. package/dist/typescript/src/primitives/avatar/index.d.ts +13 -0
  504. package/dist/typescript/src/primitives/avatar/index.d.ts.map +1 -0
  505. package/dist/typescript/src/primitives/avatar/types.d.ts +9 -0
  506. package/dist/typescript/src/primitives/avatar/types.d.ts.map +1 -0
  507. package/dist/typescript/src/primitives/badge/badge-label.d.ts +9 -0
  508. package/dist/typescript/src/primitives/badge/badge-label.d.ts.map +1 -0
  509. package/dist/typescript/src/primitives/badge/badge-root.d.ts +11 -0
  510. package/dist/typescript/src/primitives/badge/badge-root.d.ts.map +1 -0
  511. package/dist/typescript/src/primitives/badge/context.d.ts +8 -0
  512. package/dist/typescript/src/primitives/badge/context.d.ts.map +1 -0
  513. package/dist/typescript/src/primitives/badge/index.d.ts +10 -0
  514. package/dist/typescript/src/primitives/badge/index.d.ts.map +1 -0
  515. package/dist/typescript/src/primitives/badge/types.d.ts +8 -0
  516. package/dist/typescript/src/primitives/badge/types.d.ts.map +1 -0
  517. package/dist/typescript/src/primitives/button/button-context.d.ts +9 -0
  518. package/dist/typescript/src/primitives/button/button-context.d.ts.map +1 -0
  519. package/dist/typescript/src/primitives/button/button-label.d.ts +9 -0
  520. package/dist/typescript/src/primitives/button/button-label.d.ts.map +1 -0
  521. package/dist/typescript/src/primitives/button/button-root.d.ts +13 -0
  522. package/dist/typescript/src/primitives/button/button-root.d.ts.map +1 -0
  523. package/dist/typescript/src/primitives/button/button-spinner.d.ts +8 -0
  524. package/dist/typescript/src/primitives/button/button-spinner.d.ts.map +1 -0
  525. package/dist/typescript/src/primitives/button/index.d.ts +12 -0
  526. package/dist/typescript/src/primitives/button/index.d.ts.map +1 -0
  527. package/dist/typescript/src/primitives/button/types.d.ts +9 -0
  528. package/dist/typescript/src/primitives/button/types.d.ts.map +1 -0
  529. package/dist/typescript/src/primitives/calendar/calendar-day.d.ts +10 -0
  530. package/dist/typescript/src/primitives/calendar/calendar-day.d.ts.map +1 -0
  531. package/dist/typescript/src/primitives/calendar/calendar-header.d.ts +8 -0
  532. package/dist/typescript/src/primitives/calendar/calendar-header.d.ts.map +1 -0
  533. package/dist/typescript/src/primitives/calendar/calendar-nav-button.d.ts +10 -0
  534. package/dist/typescript/src/primitives/calendar/calendar-nav-button.d.ts.map +1 -0
  535. package/dist/typescript/src/primitives/calendar/calendar-root.d.ts +15 -0
  536. package/dist/typescript/src/primitives/calendar/calendar-root.d.ts.map +1 -0
  537. package/dist/typescript/src/primitives/calendar/calendar-title.d.ts +9 -0
  538. package/dist/typescript/src/primitives/calendar/calendar-title.d.ts.map +1 -0
  539. package/dist/typescript/src/primitives/calendar/calendar-week-labels.d.ts +12 -0
  540. package/dist/typescript/src/primitives/calendar/calendar-week-labels.d.ts.map +1 -0
  541. package/dist/typescript/src/primitives/calendar/calendar-weeks.d.ts +11 -0
  542. package/dist/typescript/src/primitives/calendar/calendar-weeks.d.ts.map +1 -0
  543. package/dist/typescript/src/primitives/calendar/context.d.ts +14 -0
  544. package/dist/typescript/src/primitives/calendar/context.d.ts.map +1 -0
  545. package/dist/typescript/src/primitives/calendar/index.d.ts +25 -0
  546. package/dist/typescript/src/primitives/calendar/index.d.ts.map +1 -0
  547. package/dist/typescript/src/primitives/calendar/types.d.ts +37 -0
  548. package/dist/typescript/src/primitives/calendar/types.d.ts.map +1 -0
  549. package/dist/typescript/src/primitives/card/card-body.d.ts +9 -0
  550. package/dist/typescript/src/primitives/card/card-body.d.ts.map +1 -0
  551. package/dist/typescript/src/primitives/card/card-footer.d.ts +9 -0
  552. package/dist/typescript/src/primitives/card/card-footer.d.ts.map +1 -0
  553. package/dist/typescript/src/primitives/card/card-header.d.ts +9 -0
  554. package/dist/typescript/src/primitives/card/card-header.d.ts.map +1 -0
  555. package/dist/typescript/src/primitives/card/card-root.d.ts +11 -0
  556. package/dist/typescript/src/primitives/card/card-root.d.ts.map +1 -0
  557. package/dist/typescript/src/primitives/card/card-title.d.ts +9 -0
  558. package/dist/typescript/src/primitives/card/card-title.d.ts.map +1 -0
  559. package/dist/typescript/src/primitives/card/context.d.ts +8 -0
  560. package/dist/typescript/src/primitives/card/context.d.ts.map +1 -0
  561. package/dist/typescript/src/primitives/card/index.d.ts +19 -0
  562. package/dist/typescript/src/primitives/card/index.d.ts.map +1 -0
  563. package/dist/typescript/src/primitives/card/types.d.ts +14 -0
  564. package/dist/typescript/src/primitives/card/types.d.ts.map +1 -0
  565. package/dist/typescript/src/primitives/dropdown-menu/context.d.ts +16 -0
  566. package/dist/typescript/src/primitives/dropdown-menu/context.d.ts.map +1 -0
  567. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-button.d.ts +12 -0
  568. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-button.d.ts.map +1 -0
  569. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-content.d.ts +9 -0
  570. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-content.d.ts.map +1 -0
  571. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-divider.d.ts +8 -0
  572. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-divider.d.ts.map +1 -0
  573. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-overlay.d.ts +9 -0
  574. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-overlay.d.ts.map +1 -0
  575. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-portal.d.ts +6 -0
  576. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-portal.d.ts.map +1 -0
  577. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-root.d.ts +9 -0
  578. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-root.d.ts.map +1 -0
  579. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-trigger.d.ts +12 -0
  580. package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-trigger.d.ts.map +1 -0
  581. package/dist/typescript/src/primitives/dropdown-menu/index.d.ts +24 -0
  582. package/dist/typescript/src/primitives/dropdown-menu/index.d.ts.map +1 -0
  583. package/dist/typescript/src/primitives/dropdown-menu/types.d.ts +12 -0
  584. package/dist/typescript/src/primitives/dropdown-menu/types.d.ts.map +1 -0
  585. package/dist/typescript/src/primitives/empty/context.d.ts +7 -0
  586. package/dist/typescript/src/primitives/empty/context.d.ts.map +1 -0
  587. package/dist/typescript/src/primitives/empty/empty-description.d.ts +9 -0
  588. package/dist/typescript/src/primitives/empty/empty-description.d.ts.map +1 -0
  589. package/dist/typescript/src/primitives/empty/empty-media.d.ts +9 -0
  590. package/dist/typescript/src/primitives/empty/empty-media.d.ts.map +1 -0
  591. package/dist/typescript/src/primitives/empty/empty-root.d.ts +11 -0
  592. package/dist/typescript/src/primitives/empty/empty-root.d.ts.map +1 -0
  593. package/dist/typescript/src/primitives/empty/empty-title.d.ts +9 -0
  594. package/dist/typescript/src/primitives/empty/empty-title.d.ts.map +1 -0
  595. package/dist/typescript/src/primitives/empty/index.d.ts +16 -0
  596. package/dist/typescript/src/primitives/empty/index.d.ts.map +1 -0
  597. package/dist/typescript/src/primitives/empty/types.d.ts +11 -0
  598. package/dist/typescript/src/primitives/empty/types.d.ts.map +1 -0
  599. package/dist/typescript/src/primitives/field/context.d.ts +9 -0
  600. package/dist/typescript/src/primitives/field/context.d.ts.map +1 -0
  601. package/dist/typescript/src/primitives/field/field-description.d.ts +9 -0
  602. package/dist/typescript/src/primitives/field/field-description.d.ts.map +1 -0
  603. package/dist/typescript/src/primitives/field/field-error.d.ts +9 -0
  604. package/dist/typescript/src/primitives/field/field-error.d.ts.map +1 -0
  605. package/dist/typescript/src/primitives/field/field-label.d.ts +10 -0
  606. package/dist/typescript/src/primitives/field/field-label.d.ts.map +1 -0
  607. package/dist/typescript/src/primitives/field/field-root.d.ts +11 -0
  608. package/dist/typescript/src/primitives/field/field-root.d.ts.map +1 -0
  609. package/dist/typescript/src/primitives/field/index.d.ts +16 -0
  610. package/dist/typescript/src/primitives/field/index.d.ts.map +1 -0
  611. package/dist/typescript/src/primitives/field/types.d.ts +11 -0
  612. package/dist/typescript/src/primitives/field/types.d.ts.map +1 -0
  613. package/dist/typescript/src/primitives/index.d.ts +15 -0
  614. package/dist/typescript/src/primitives/index.d.ts.map +1 -0
  615. package/dist/typescript/src/primitives/input/index.d.ts +3 -0
  616. package/dist/typescript/src/primitives/input/index.d.ts.map +1 -0
  617. package/dist/typescript/src/primitives/input/input.d.ts +14 -0
  618. package/dist/typescript/src/primitives/input/input.d.ts.map +1 -0
  619. package/dist/typescript/src/primitives/input/types.d.ts +4 -0
  620. package/dist/typescript/src/primitives/input/types.d.ts.map +1 -0
  621. package/dist/typescript/src/primitives/popover/context.d.ts +16 -0
  622. package/dist/typescript/src/primitives/popover/context.d.ts.map +1 -0
  623. package/dist/typescript/src/primitives/popover/index.d.ts +22 -0
  624. package/dist/typescript/src/primitives/popover/index.d.ts.map +1 -0
  625. package/dist/typescript/src/primitives/popover/popover-close.d.ts +10 -0
  626. package/dist/typescript/src/primitives/popover/popover-close.d.ts.map +1 -0
  627. package/dist/typescript/src/primitives/popover/popover-content.d.ts +9 -0
  628. package/dist/typescript/src/primitives/popover/popover-content.d.ts.map +1 -0
  629. package/dist/typescript/src/primitives/popover/popover-overlay.d.ts +10 -0
  630. package/dist/typescript/src/primitives/popover/popover-overlay.d.ts.map +1 -0
  631. package/dist/typescript/src/primitives/popover/popover-portal.d.ts +6 -0
  632. package/dist/typescript/src/primitives/popover/popover-portal.d.ts.map +1 -0
  633. package/dist/typescript/src/primitives/popover/popover-root.d.ts +9 -0
  634. package/dist/typescript/src/primitives/popover/popover-root.d.ts.map +1 -0
  635. package/dist/typescript/src/primitives/popover/popover-trigger.d.ts +12 -0
  636. package/dist/typescript/src/primitives/popover/popover-trigger.d.ts.map +1 -0
  637. package/dist/typescript/src/primitives/popover/types.d.ts +7 -0
  638. package/dist/typescript/src/primitives/popover/types.d.ts.map +1 -0
  639. package/dist/typescript/src/primitives/portal/index.d.ts +3 -0
  640. package/dist/typescript/src/primitives/portal/index.d.ts.map +1 -0
  641. package/dist/typescript/src/primitives/portal/portal.constants.d.ts +14 -0
  642. package/dist/typescript/src/primitives/portal/portal.constants.d.ts.map +1 -0
  643. package/dist/typescript/src/primitives/portal/portal.d.ts +7 -0
  644. package/dist/typescript/src/primitives/portal/portal.d.ts.map +1 -0
  645. package/dist/typescript/src/primitives/portal/portal.web.d.ts +4 -0
  646. package/dist/typescript/src/primitives/portal/portal.web.d.ts.map +1 -0
  647. package/dist/typescript/src/primitives/select/context.d.ts +20 -0
  648. package/dist/typescript/src/primitives/select/context.d.ts.map +1 -0
  649. package/dist/typescript/src/primitives/select/index.d.ts +25 -0
  650. package/dist/typescript/src/primitives/select/index.d.ts.map +1 -0
  651. package/dist/typescript/src/primitives/select/select-content.d.ts +9 -0
  652. package/dist/typescript/src/primitives/select/select-content.d.ts.map +1 -0
  653. package/dist/typescript/src/primitives/select/select-option.d.ts +11 -0
  654. package/dist/typescript/src/primitives/select/select-option.d.ts.map +1 -0
  655. package/dist/typescript/src/primitives/select/select-overlay.d.ts +10 -0
  656. package/dist/typescript/src/primitives/select/select-overlay.d.ts.map +1 -0
  657. package/dist/typescript/src/primitives/select/select-portal.d.ts +6 -0
  658. package/dist/typescript/src/primitives/select/select-portal.d.ts.map +1 -0
  659. package/dist/typescript/src/primitives/select/select-root.d.ts +21 -0
  660. package/dist/typescript/src/primitives/select/select-root.d.ts.map +1 -0
  661. package/dist/typescript/src/primitives/select/select-trigger.d.ts +13 -0
  662. package/dist/typescript/src/primitives/select/select-trigger.d.ts.map +1 -0
  663. package/dist/typescript/src/primitives/select/select-value.d.ts +8 -0
  664. package/dist/typescript/src/primitives/select/select-value.d.ts.map +1 -0
  665. package/dist/typescript/src/primitives/select/types.d.ts +22 -0
  666. package/dist/typescript/src/primitives/select/types.d.ts.map +1 -0
  667. package/dist/typescript/src/primitives/textarea/index.d.ts +3 -0
  668. package/dist/typescript/src/primitives/textarea/index.d.ts.map +1 -0
  669. package/dist/typescript/src/primitives/textarea/textarea.d.ts +12 -0
  670. package/dist/typescript/src/primitives/textarea/textarea.d.ts.map +1 -0
  671. package/dist/typescript/src/primitives/textarea/types.d.ts +4 -0
  672. package/dist/typescript/src/primitives/textarea/types.d.ts.map +1 -0
  673. package/dist/typescript/src/primitives/toast/context.d.ts +7 -0
  674. package/dist/typescript/src/primitives/toast/context.d.ts.map +1 -0
  675. package/dist/typescript/src/primitives/toast/index.d.ts +13 -0
  676. package/dist/typescript/src/primitives/toast/index.d.ts.map +1 -0
  677. package/dist/typescript/src/primitives/toast/toast-description.d.ts +9 -0
  678. package/dist/typescript/src/primitives/toast/toast-description.d.ts.map +1 -0
  679. package/dist/typescript/src/primitives/toast/toast-root.d.ts +11 -0
  680. package/dist/typescript/src/primitives/toast/toast-root.d.ts.map +1 -0
  681. package/dist/typescript/src/primitives/toast/toast-title.d.ts +9 -0
  682. package/dist/typescript/src/primitives/toast/toast-title.d.ts.map +1 -0
  683. package/dist/typescript/src/primitives/toast/types.d.ts +9 -0
  684. package/dist/typescript/src/primitives/toast/types.d.ts.map +1 -0
  685. package/dist/typescript/src/themes/adapters/index.d.ts +2 -0
  686. package/dist/typescript/src/themes/adapters/index.d.ts.map +1 -0
  687. package/dist/typescript/src/themes/adapters/react-navigation.d.ts +3 -0
  688. package/dist/typescript/src/themes/adapters/react-navigation.d.ts.map +1 -0
  689. package/dist/typescript/src/themes/default/colors.d.ts +4 -0
  690. package/dist/typescript/src/themes/default/colors.d.ts.map +1 -0
  691. package/dist/typescript/src/themes/default/index.d.ts +3 -0
  692. package/dist/typescript/src/themes/default/index.d.ts.map +1 -0
  693. package/dist/typescript/src/themes/index.d.ts +4 -0
  694. package/dist/typescript/src/themes/index.d.ts.map +1 -0
  695. package/dist/typescript/src/themes/provider.d.ts +18 -0
  696. package/dist/typescript/src/themes/provider.d.ts.map +1 -0
  697. package/dist/typescript/src/themes/themes.d.ts +3 -0
  698. package/dist/typescript/src/themes/themes.d.ts.map +1 -0
  699. package/dist/typescript/src/themes/types.d.ts +32 -0
  700. package/dist/typescript/src/themes/types.d.ts.map +1 -0
  701. package/dist/typescript/src/types/element.types.d.ts +4 -0
  702. package/dist/typescript/src/types/element.types.d.ts.map +1 -0
  703. package/dist/typescript/src/utils/calculate-styles.d.ts +2 -0
  704. package/dist/typescript/src/utils/calculate-styles.d.ts.map +1 -0
  705. package/dist/typescript/src/utils/date-utils.d.ts +19 -0
  706. package/dist/typescript/src/utils/date-utils.d.ts.map +1 -0
  707. package/dist/typescript/src/utils/hsla-utils.d.ts +5 -0
  708. package/dist/typescript/src/utils/hsla-utils.d.ts.map +1 -0
  709. package/dist/typescript/src/utils/normalize-layout.d.ts +8 -0
  710. package/dist/typescript/src/utils/normalize-layout.d.ts.map +1 -0
  711. package/dist/typescript/src/utils/use-themed-styles.d.ts +11 -0
  712. package/dist/typescript/src/utils/use-themed-styles.d.ts.map +1 -0
  713. package/package.json +32 -32
  714. package/src/components/avatar/avatar.tsx +1 -1
  715. package/src/components/avatar/variants/default.tsx +1 -1
  716. package/src/components/badge/variants/default.tsx +1 -1
  717. package/src/components/badge/variants/secondary.tsx +1 -1
  718. package/src/components/button/button.tsx +1 -1
  719. package/src/components/button/variants/default.tsx +1 -1
  720. package/src/components/button/variants/secondary.tsx +1 -1
  721. package/src/components/calendar/calendar.tsx +1 -1
  722. package/src/components/calendar/variants/default.tsx +1 -1
  723. package/src/components/card/variants/default.tsx +1 -1
  724. package/src/components/dropdown-menu/dropdown-menu.tsx +3 -1
  725. package/src/components/dropdown-menu/variants/default.tsx +1 -1
  726. package/src/components/empty/variants/default.tsx +1 -1
  727. package/src/components/field/variants/default.tsx +1 -1
  728. package/src/components/input/input.tsx +1 -1
  729. package/src/components/input/numeric-input.tsx +2 -2
  730. package/src/components/input/variants/default.tsx +1 -1
  731. package/src/components/link/link.tsx +1 -1
  732. package/src/components/link/variants/default.tsx +1 -1
  733. package/src/components/popover/popover.tsx +4 -5
  734. package/src/components/popover/variants/default.tsx +2 -1
  735. package/src/components/popover/variants/unstyled.tsx +1 -1
  736. package/src/components/select/select.tsx +1 -1
  737. package/src/components/select/variants/default.tsx +1 -1
  738. package/src/components/textarea/textarea.tsx +1 -1
  739. package/src/components/textarea/variants/default.tsx +1 -1
  740. package/src/components/toast/variants/danger.tsx +1 -1
  741. package/src/components/toast/variants/default.tsx +1 -1
  742. package/src/components/toast/variants/success.tsx +1 -1
  743. package/src/components/typography/typography.tsx +1 -1
  744. package/src/components/typography/variants/body-lg.tsx +1 -1
  745. package/src/components/typography/variants/body-md.tsx +1 -1
  746. package/src/components/typography/variants/body-sm.tsx +1 -1
  747. package/src/components/typography/variants/heading-lg.tsx +1 -1
  748. package/src/components/typography/variants/heading-md.tsx +1 -1
  749. package/src/components/typography/variants/heading-sm.tsx +1 -1
  750. package/src/index.tsx +3 -3
  751. package/src/primitives/avatar/avatar-fallback.tsx +1 -1
  752. package/src/primitives/avatar/avatar-image.tsx +1 -1
  753. package/src/primitives/avatar/avatar-root.tsx +2 -2
  754. package/src/primitives/avatar/context.ts +1 -1
  755. package/src/primitives/avatar/types.ts +3 -3
  756. package/src/primitives/badge/badge-label.tsx +2 -2
  757. package/src/primitives/badge/badge-root.tsx +3 -3
  758. package/src/primitives/badge/context.ts +1 -1
  759. package/src/primitives/badge/types.ts +2 -2
  760. package/src/primitives/button/button-context.tsx +1 -1
  761. package/src/primitives/button/button-label.tsx +2 -2
  762. package/src/primitives/button/button-root.tsx +2 -2
  763. package/src/primitives/button/button-spinner.tsx +2 -2
  764. package/src/primitives/button/types.ts +2 -2
  765. package/src/primitives/calendar/calendar-day.tsx +3 -3
  766. package/src/primitives/calendar/calendar-header.tsx +1 -1
  767. package/src/primitives/calendar/calendar-nav-button.tsx +2 -2
  768. package/src/primitives/calendar/calendar-root.tsx +2 -2
  769. package/src/primitives/calendar/calendar-title.tsx +1 -1
  770. package/src/primitives/calendar/calendar-week-labels.tsx +1 -1
  771. package/src/primitives/calendar/calendar-weeks.tsx +3 -3
  772. package/src/primitives/calendar/context.ts +1 -1
  773. package/src/primitives/calendar/types.ts +7 -7
  774. package/src/primitives/card/card-body.tsx +2 -2
  775. package/src/primitives/card/card-footer.tsx +2 -2
  776. package/src/primitives/card/card-header.tsx +2 -2
  777. package/src/primitives/card/card-root.tsx +3 -3
  778. package/src/primitives/card/card-title.tsx +2 -2
  779. package/src/primitives/card/context.ts +1 -1
  780. package/src/primitives/card/types.ts +5 -5
  781. package/src/primitives/dropdown-menu/context.ts +4 -4
  782. package/src/primitives/dropdown-menu/dropdown-menu-button.tsx +2 -2
  783. package/src/primitives/dropdown-menu/dropdown-menu-content.tsx +2 -2
  784. package/src/primitives/dropdown-menu/dropdown-menu-divider.tsx +1 -1
  785. package/src/primitives/dropdown-menu/dropdown-menu-overlay.tsx +1 -1
  786. package/src/primitives/dropdown-menu/dropdown-menu-root.tsx +3 -3
  787. package/src/primitives/dropdown-menu/dropdown-menu-trigger.tsx +28 -14
  788. package/src/primitives/dropdown-menu/types.ts +4 -4
  789. package/src/primitives/empty/context.ts +1 -1
  790. package/src/primitives/empty/empty-description.tsx +1 -1
  791. package/src/primitives/empty/empty-media.tsx +1 -1
  792. package/src/primitives/empty/empty-root.tsx +2 -2
  793. package/src/primitives/empty/empty-title.tsx +1 -1
  794. package/src/primitives/empty/types.ts +4 -4
  795. package/src/primitives/field/context.ts +1 -1
  796. package/src/primitives/field/field-description.tsx +1 -1
  797. package/src/primitives/field/field-error.tsx +1 -1
  798. package/src/primitives/field/field-label.tsx +1 -1
  799. package/src/primitives/field/field-root.tsx +2 -2
  800. package/src/primitives/field/types.ts +4 -4
  801. package/src/primitives/input/input.tsx +6 -5
  802. package/src/primitives/input/types.ts +1 -1
  803. package/src/primitives/popover/context.ts +4 -4
  804. package/src/primitives/popover/popover-close.tsx +1 -1
  805. package/src/primitives/popover/popover-content.tsx +3 -2
  806. package/src/primitives/popover/popover-overlay.tsx +3 -6
  807. package/src/primitives/popover/popover-root.tsx +3 -3
  808. package/src/primitives/popover/popover-trigger.tsx +28 -14
  809. package/src/primitives/popover/types.ts +2 -2
  810. package/src/primitives/portal/portal.tsx +6 -5
  811. package/src/primitives/portal/portal.web.tsx +22 -0
  812. package/src/primitives/select/context.ts +3 -3
  813. package/src/primitives/select/select-content.tsx +2 -2
  814. package/src/primitives/select/select-option.tsx +3 -3
  815. package/src/primitives/select/select-overlay.tsx +2 -2
  816. package/src/primitives/select/select-root.tsx +3 -3
  817. package/src/primitives/select/select-trigger.tsx +3 -3
  818. package/src/primitives/select/select-value.tsx +2 -2
  819. package/src/primitives/select/types.ts +6 -6
  820. package/src/primitives/textarea/textarea.tsx +2 -2
  821. package/src/primitives/textarea/types.ts +1 -1
  822. package/src/primitives/toast/context.ts +1 -1
  823. package/src/primitives/toast/toast-description.tsx +1 -1
  824. package/src/primitives/toast/toast-root.tsx +2 -2
  825. package/src/primitives/toast/toast-title.tsx +1 -1
  826. package/src/primitives/toast/types.ts +3 -3
  827. package/src/themes/adapters/react-navigation.ts +2 -1
  828. package/src/themes/default/colors.ts +1 -1
  829. package/src/themes/default/index.ts +1 -1
  830. package/src/themes/provider.tsx +5 -5
  831. package/src/themes/themes.ts +1 -1
  832. package/src/types/element.types.ts +4 -0
  833. package/src/utils/hsla-utils.ts +6 -9
  834. package/src/utils/normalize-layout.ts +5 -4
  835. package/src/utils/use-themed-styles.ts +1 -1
  836. package/tsconfig.json +22 -3
  837. package/dist/components/index.d.mts +0 -315
  838. package/dist/components/index.mjs +0 -978
  839. package/dist/hooks/index.d.mts +0 -47
  840. package/dist/hooks/index.mjs +0 -103
  841. package/dist/index-j_OCsdsx.d.mts +0 -704
  842. package/dist/index.d.mts +0 -65
  843. package/dist/index.mjs +0 -16
  844. package/dist/portal.constants-ClRV24_C.d.mts +0 -16
  845. package/dist/primitives/index.d.mts +0 -4
  846. package/dist/primitives/index.mjs +0 -4
  847. package/dist/primitives-8eataXpJ.mjs +0 -1437
  848. package/dist/toast-manager-q0YV3t3j.mjs +0 -321
  849. package/dist/use-numeric-mask-BQlz1Pus.mjs +0 -113
  850. package/dist/use-numeric-mask-D4zqPOnE.d.mts +0 -33
  851. package/dist/use-relative-position-BTKEyT1F.mjs +0 -106
  852. package/dist/use-relative-position-DBzhrBU7.d.mts +0 -61
  853. package/src/utils/get-ref-layout.ts +0 -16
  854. package/tsdown.config.ts +0 -8
@@ -0,0 +1,3 @@
1
+ import { type TextStyle } from "react-native";
2
+ export declare function useTextVariantHeadingSm(): TextStyle;
3
+ //# sourceMappingURL=heading-sm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heading-sm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-sm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,uBAAuB,IAAI,SAAS,CAUnD"}
@@ -0,0 +1,15 @@
1
+ import { useTextVariantBodyLg } from "./body-lg";
2
+ import { useTextVariantBodyMd } from "./body-md";
3
+ import { useTextVariantBodySm } from "./body-sm";
4
+ import { useTextVariantHeadingLg } from "./heading-lg";
5
+ import { useTextVariantHeadingMd } from "./heading-md";
6
+ import { useTextVariantHeadingSm } from "./heading-sm";
7
+ export declare const TypographyVariants: {
8
+ "body-sm": typeof useTextVariantBodySm;
9
+ "body-md": typeof useTextVariantBodyMd;
10
+ "body-lg": typeof useTextVariantBodyLg;
11
+ "heading-sm": typeof useTextVariantHeadingSm;
12
+ "heading-md": typeof useTextVariantHeadingMd;
13
+ "heading-lg": typeof useTextVariantHeadingLg;
14
+ };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,kBAAkB;;;;;;;CAO9B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./use-screen-size";
2
+ export * from "./use-currency-mask";
3
+ export * from "./use-numeric-mask";
4
+ export * from "./use-relative-position";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,19 @@
1
+ export interface UseCurrencyMaskOptions {
2
+ locale?: string;
3
+ currency?: string;
4
+ precision?: number;
5
+ min?: number;
6
+ max?: number;
7
+ onValueChange?: (value: number | null) => void;
8
+ }
9
+ export interface UseCurrencyMaskReturn {
10
+ value: string;
11
+ numericValue: number | null;
12
+ onChangeText: (text: string) => void;
13
+ onBlur: () => void;
14
+ onFocus: () => void;
15
+ keyboardType: "decimal-pad";
16
+ setValue: (value: number | null) => void;
17
+ }
18
+ export declare function useCurrencyMask({ locale, currency, precision, min, max, onValueChange, }?: UseCurrencyMaskOptions): UseCurrencyMaskReturn;
19
+ //# sourceMappingURL=use-currency-mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-currency-mask.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-currency-mask.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,aAAa,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,eAAe,CAAC,EAC9B,MAAgB,EAChB,QAAgB,EAChB,SAAa,EACb,GAAG,EACH,GAAG,EACH,aAAa,GACd,GAAE,sBAA2B,GAAG,qBAAqB,CAgHrD"}
@@ -0,0 +1,22 @@
1
+ export type NumericMaskFormat = "currency" | "decimal" | "integer" | "percentage";
2
+ export interface UseNumericMaskOptions {
3
+ format?: NumericMaskFormat;
4
+ locale?: string;
5
+ currency?: string;
6
+ precision?: number;
7
+ min?: number;
8
+ max?: number;
9
+ allowNegative?: boolean;
10
+ onChange?: (value: number | null) => void;
11
+ }
12
+ export interface UseNumericMaskReturn {
13
+ value: string;
14
+ numericValue: number | null;
15
+ onChangeText: (text: string) => void;
16
+ onBlur: () => void;
17
+ onFocus: () => void;
18
+ keyboardType: "numeric" | "decimal-pad" | "number-pad";
19
+ setValue: (value: number | null) => void;
20
+ }
21
+ export declare function useNumericMask({ format, locale, currency, precision, min, max, allowNegative, onChange, }?: UseNumericMaskOptions): UseNumericMaskReturn;
22
+ //# sourceMappingURL=use-numeric-mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-numeric-mask.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-numeric-mask.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,YAAY,CAAC;AAElF,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,SAAS,GAAG,aAAa,GAAG,YAAY,CAAC;IACvD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,cAAc,CAAC,EAC7B,MAAkB,EAClB,MAAgB,EAChB,QAAgB,EAChB,SAAa,EACb,GAAG,EACH,GAAG,EACH,aAAoB,EACpB,QAAQ,GACT,GAAE,qBAA0B,GAAG,oBAAoB,CAuKnD"}
@@ -0,0 +1,50 @@
1
+ import { type LayoutRectangle, type ScaledSize } from "react-native";
2
+ interface Insets {
3
+ top?: number;
4
+ bottom?: number;
5
+ left?: number;
6
+ right?: number;
7
+ }
8
+ type UseRelativePositionArgs = Omit<GetContentStyleArgs, "triggerPosition" | "contentLayout" | "dimensions"> & {
9
+ triggerPosition: LayoutPosition | null;
10
+ contentLayout: LayoutRectangle | null;
11
+ };
12
+ export declare function useRelativePosition({ align, avoidCollisions, triggerPosition, contentLayout, alignOffset, insets, sideOffset, side, }: UseRelativePositionArgs): ({
13
+ readonly position: "absolute";
14
+ } & {
15
+ top: number;
16
+ } & {
17
+ left: number;
18
+ maxWidth: number;
19
+ }) | {
20
+ readonly position: "absolute";
21
+ readonly opacity: 0;
22
+ readonly top: number;
23
+ readonly zIndex: -9999999;
24
+ };
25
+ export interface LayoutPosition {
26
+ pageY: number;
27
+ pageX: number;
28
+ width: number;
29
+ height: number;
30
+ }
31
+ interface GetPositionArgs {
32
+ dimensions: ScaledSize;
33
+ avoidCollisions: boolean;
34
+ triggerPosition: LayoutPosition;
35
+ contentLayout: LayoutRectangle;
36
+ insets?: Insets;
37
+ }
38
+ interface GetSidePositionArgs extends GetPositionArgs {
39
+ side: "top" | "bottom";
40
+ sideOffset: number;
41
+ }
42
+ export declare const DEFAULT_LAYOUT: LayoutRectangle;
43
+ export declare const DEFAULT_POSITION: LayoutPosition;
44
+ interface GetAlignPositionArgs extends GetPositionArgs {
45
+ align: "start" | "center" | "end";
46
+ alignOffset: number;
47
+ }
48
+ type GetContentStyleArgs = GetPositionArgs & GetSidePositionArgs & GetAlignPositionArgs;
49
+ export {};
50
+ //# sourceMappingURL=use-relative-position.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-relative-position.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-relative-position.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1F,UAAU,MAAM;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,KAAK,uBAAuB,GAAG,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,GAAG,eAAe,GAAG,YAAY,CAAC,GAAG;IAC7G,eAAe,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,eAAe,EACf,eAAe,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,EACV,IAAI,GACL,EAAE,uBAAuB;;;;;;;;;;;;EAwBzB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,eAAe;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,cAAc,CAAC;IAChC,aAAa,EAAE,eAAe,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAoB,SAAQ,eAAe;IACnD,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,eAAqD,CAAC;AACnF,eAAO,MAAM,gBAAgB,EAAE,cAA4D,CAAC;AAyB5F,UAAU,oBAAqB,SAAQ,eAAe;IACpD,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AAsDD,KAAK,mBAAmB,GAAG,eAAe,GAAG,mBAAmB,GAAG,oBAAoB,CAAC"}
@@ -0,0 +1,22 @@
1
+ export type ScreenSize = "mobile" | "tablet" | "desktop";
2
+ interface Response {
3
+ readonly size: ScreenSize;
4
+ readonly width: number;
5
+ readonly height: number;
6
+ readonly isMobile: boolean;
7
+ readonly isTablet: boolean;
8
+ readonly isDesktop: boolean;
9
+ select<T>(specifics: ({
10
+ [size in ScreenSize]?: T;
11
+ } & {
12
+ default: T;
13
+ }) | {
14
+ [platform in ScreenSize]: T;
15
+ }): T;
16
+ select<T>(specifics: {
17
+ [size in ScreenSize]?: T;
18
+ }): T | undefined;
19
+ }
20
+ export declare function useScreenSize(): Response;
21
+ export {};
22
+ //# sourceMappingURL=use-screen-size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-screen-size.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-screen-size.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD,UAAU,QAAQ;IAChB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,GAAG;SAAG,QAAQ,IAAI,UAAU,GAAG,CAAC;KAAE,GAAG,CAAC,CAAC;IAC3G,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CACnE;AAED,wBAAgB,aAAa,IAAI,QAAQ,CAwBxC"}
@@ -0,0 +1,10 @@
1
+ import { type PortalHostProps } from "./primitives/portal/portal.constants";
2
+ export interface ProviderProps {
3
+ children: React.ReactNode;
4
+ portalContainer?: PortalHostProps["container"];
5
+ }
6
+ export declare const UniversalUIProvider: ({ children, portalContainer }: ProviderProps) => import("react").JSX.Element;
7
+ export * from "./themes/adapters";
8
+ export { useTheme } from "./themes/provider";
9
+ export * from "./themes/types";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,eAAe,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CAChD;AAED,eAAO,MAAM,mBAAmB,GAAI,+BAA+B,aAAa,gCAQ/E,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextStyle } from "react-native";
3
+ export interface AvatarFallbackProps {
4
+ children: string;
5
+ render?: (props: AvatarFallbackProps) => React.ReactNode;
6
+ style?: StyleProp<TextStyle>;
7
+ }
8
+ export declare function AvatarFallback(props: AvatarFallbackProps): React.JSX.Element;
9
+ //# sourceMappingURL=avatar-fallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-fallback.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/avatar-fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAQ,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBAKxD"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { type ImageSource, type ImageStyle, type StyleProp } from "react-native";
3
+ export interface AvatarImageProps {
4
+ source: ImageSource;
5
+ onError: () => void;
6
+ render?: (props: AvatarImageProps) => React.ReactNode;
7
+ style?: StyleProp<ImageStyle>;
8
+ }
9
+ export declare function AvatarImage(props: AvatarImageProps): React.JSX.Element;
10
+ //# sourceMappingURL=avatar-image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-image.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/avatar-image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGxF,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtD,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CAC/B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAKlD"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { AvatarStyles } from "./types";
4
+ export interface AvatarRootProps {
5
+ children: React.ReactNode;
6
+ render?: (props: AvatarRootProps) => React.ReactNode;
7
+ style?: StyleProp<ViewStyle>;
8
+ styles?: AvatarStyles;
9
+ }
10
+ export declare function AvatarRoot(props: AvatarRootProps): React.JSX.Element;
11
+ //# sourceMappingURL=avatar-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-root.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/avatar-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC;IACrD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAQhD"}
@@ -0,0 +1,7 @@
1
+ import type { AvatarStyles } from "./types";
2
+ export interface AvatarContext {
3
+ styles?: AvatarStyles;
4
+ }
5
+ export declare const AvatarContext: import("react").Context<AvatarContext | undefined>;
6
+ export declare const useAvatar: () => AvatarContext;
7
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,eAAO,MAAM,SAAS,qBAMrB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { AvatarRoot } from "./avatar-root";
2
+ import { AvatarFallback } from "./avatar-fallback";
3
+ import { AvatarImage } from "./avatar-image";
4
+ export declare const AvatarPrimitive: {
5
+ Root: typeof AvatarRoot;
6
+ Image: typeof AvatarImage;
7
+ Fallback: typeof AvatarFallback;
8
+ };
9
+ export type { AvatarRootProps } from "./avatar-root";
10
+ export type { AvatarFallbackProps } from "./avatar-fallback";
11
+ export type { AvatarImageProps } from "./avatar-image";
12
+ export type { AvatarStyles } from "./types";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AvatarFallbackProps } from "./avatar-fallback";
2
+ import type { AvatarImageProps } from "./avatar-image";
3
+ import type { AvatarRootProps } from "./avatar-root";
4
+ export type AvatarStyles = {
5
+ root?: AvatarRootProps["style"];
6
+ image?: AvatarImageProps["style"];
7
+ fallback?: AvatarFallbackProps["style"];
8
+ };
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;CACzC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextStyle } from "react-native";
3
+ export interface BadgeLabelProps {
4
+ children?: string;
5
+ render?: (props: BadgeLabelProps) => React.ReactNode;
6
+ style?: StyleProp<TextStyle>;
7
+ }
8
+ export declare function BadgeLabel(props: BadgeLabelProps): React.JSX.Element;
9
+ //# sourceMappingURL=badge-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-label.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/badge/badge-label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC;IAErD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAOhD"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { BadgeStyles } from "./types";
4
+ export interface BadgeRootProps {
5
+ children?: React.ReactNode;
6
+ render?: (props: BadgeRootProps) => React.ReactNode;
7
+ style?: StyleProp<ViewStyle>;
8
+ styles?: BadgeStyles;
9
+ }
10
+ export declare function BadgeRoot(props: BadgeRootProps): React.JSX.Element;
11
+ //# sourceMappingURL=badge-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-root.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/badge/badge-root.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;IAEpD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAc9C"}
@@ -0,0 +1,8 @@
1
+ import type { BadgeState, BadgeStyles } from "./types";
2
+ export interface BadgeContext {
3
+ state: BadgeState;
4
+ styles?: BadgeStyles;
5
+ }
6
+ export declare const BadgeContext: import("react").Context<BadgeContext | undefined>;
7
+ export declare const useBadge: () => BadgeContext;
8
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/badge/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,mDAAqD,CAAC;AAE/E,eAAO,MAAM,QAAQ,oBAMpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { BadgeRoot } from "./badge-root";
2
+ import { BadgeLabel } from "./badge-label";
3
+ export declare const BadgePrimitive: {
4
+ Root: typeof BadgeRoot;
5
+ Label: typeof BadgeLabel;
6
+ };
7
+ export type { BadgeRootProps } from "./badge-root";
8
+ export type { BadgeLabelProps } from "./badge-label";
9
+ export type { BadgeStyles } from "./types";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;CAG1B,CAAC;AAEF,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { BadgeLabelProps } from "./badge-label";
2
+ import type { BadgeRootProps } from "./badge-root";
3
+ export type BadgeState = "default";
4
+ export interface BadgeStyles {
5
+ root?: Partial<Record<BadgeState, BadgeRootProps["style"]>>;
6
+ label?: Partial<Record<BadgeState, BadgeLabelProps["style"]>>;
7
+ }
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC;AAEnC,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/D"}
@@ -0,0 +1,9 @@
1
+ import type { ButtonState, ButtonStyles } from "./types";
2
+ export interface ButtonPrimitiveContext {
3
+ disabled?: boolean;
4
+ state: ButtonState;
5
+ styles?: ButtonStyles;
6
+ }
7
+ export declare const ButtonPrimitiveContext: import("react").Context<ButtonPrimitiveContext | undefined>;
8
+ export declare const useButtonPrimitive: () => ButtonPrimitiveContext;
9
+ //# sourceMappingURL=button-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-context.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/button-context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,eAAO,MAAM,sBAAsB,6DAA+D,CAAC;AAEnG,eAAO,MAAM,kBAAkB,8BAM9B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextStyle } from "react-native";
3
+ export interface ButtonPrimitiveLabelProps {
4
+ children?: string;
5
+ render?: (props: this) => React.ReactElement;
6
+ style?: StyleProp<TextStyle>;
7
+ }
8
+ export declare function ButtonLabel(props: ButtonPrimitiveLabelProps): React.JSX.Element;
9
+ //# sourceMappingURL=button-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-label.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/button-label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;IAE7C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,yBAAyB,qBAO3D"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
3
+ import type { ButtonStyles } from "./types";
4
+ export interface ButtonPrimitiveRootProps extends PressableProps {
5
+ children?: React.ReactNode;
6
+ isDisabled?: boolean;
7
+ isLoading?: boolean;
8
+ style?: StyleProp<ViewStyle>;
9
+ styles?: ButtonStyles;
10
+ render?: (props: this) => React.ReactElement;
11
+ }
12
+ export declare function ButtonRoot(props: ButtonPrimitiveRootProps): React.JSX.Element;
13
+ //# sourceMappingURL=button-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-root.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/button-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9F,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;CAC9C;AAeD,wBAAgB,UAAU,CAAC,KAAK,EAAE,wBAAwB,qBAazD"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ interface ButtonSpinnerProps {
4
+ style?: StyleProp<ViewStyle>;
5
+ }
6
+ export declare function ButtonSpinner(props: ButtonSpinnerProps): React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=button-spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-spinner.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/button-spinner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAqB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGjF,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAItD"}
@@ -0,0 +1,12 @@
1
+ import { ButtonRoot } from "./button-root";
2
+ import { ButtonLabel } from "./button-label";
3
+ import { ButtonSpinner } from "./button-spinner";
4
+ export declare const ButtonPrimitive: {
5
+ Root: typeof ButtonRoot;
6
+ Label: typeof ButtonLabel;
7
+ Spinner: typeof ButtonSpinner;
8
+ };
9
+ export type { ButtonPrimitiveRootProps } from "./button-root";
10
+ export type { ButtonPrimitiveLabelProps } from "./button-label";
11
+ export * from "./types";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,YAAY,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAChE,cAAc,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ButtonPrimitiveLabelProps } from "./button-label";
2
+ import type { ButtonPrimitiveRootProps } from "./button-root";
3
+ export type ButtonState = "default" | "disabled" | "loading" | "hovered";
4
+ export interface ButtonStyles {
5
+ root?: Partial<Record<ButtonState, ButtonPrimitiveRootProps["style"]>>;
6
+ label?: Partial<Record<ButtonState, ButtonPrimitiveLabelProps["style"]>>;
7
+ spinner?: Partial<Record<ButtonState, ButtonPrimitiveLabelProps["style"]>>;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACvE,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CAC5E"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextStyle, type ViewStyle } from "react-native";
3
+ export interface CalendarDayProps {
4
+ date: Date;
5
+ onPress?: () => void;
6
+ style?: StyleProp<ViewStyle>;
7
+ textStyle?: StyleProp<TextStyle>;
8
+ }
9
+ export declare function CalendarDay(props: CalendarDayProps): React.JSX.Element;
10
+ //# sourceMappingURL=calendar-day.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-day.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-day.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAI/F,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAClC;AAiBD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAkClD"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewProps, type ViewStyle } from "react-native";
3
+ export interface CalendarHeaderProps extends ViewProps {
4
+ children?: React.ReactNode;
5
+ style?: StyleProp<ViewStyle>;
6
+ }
7
+ export declare function CalendarHeader(props: CalendarHeaderProps): React.JSX.Element;
8
+ //# sourceMappingURL=calendar-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-header.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpF,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBAWxD"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from "react-native";
3
+ export interface CalendarNavButtonProps extends PressableProps {
4
+ children?: React.ReactNode;
5
+ direction: "prev" | "next";
6
+ style?: StyleProp<ViewStyle>;
7
+ textStyle?: StyleProp<TextStyle>;
8
+ }
9
+ export declare function CalendarNavButton(props: CalendarNavButtonProps): React.JSX.Element;
10
+ //# sourceMappingURL=calendar-nav-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-nav-button.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-nav-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpH,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAClC;AAQD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAwC9D"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { CalendarStyles } from "./types";
4
+ export interface CalendarRootProps {
5
+ children?: React.ReactNode;
6
+ value?: Date | null;
7
+ onChange?: (date: Date | null) => void;
8
+ defaultMonth?: Date;
9
+ minDate?: Date;
10
+ maxDate?: Date;
11
+ style?: StyleProp<ViewStyle>;
12
+ styles?: CalendarStyles;
13
+ }
14
+ export declare function CalendarRoot(props: CalendarRootProps): React.JSX.Element;
15
+ //# sourceMappingURL=calendar-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-root.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,qBAwBpD"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextProps, type TextStyle } from "react-native";
3
+ export interface CalendarTitleProps extends TextProps {
4
+ children?: React.ReactNode;
5
+ style?: StyleProp<TextStyle>;
6
+ formatStr?: string;
7
+ }
8
+ export declare function CalendarTitle(props: CalendarTitleProps): React.JSX.Element;
9
+ //# sourceMappingURL=calendar-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-title.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpF,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAWtD"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { type StyleProp, type TextStyle, type ViewStyle } from "react-native";
3
+ export interface CalendarWeekLabelProps {
4
+ children: string;
5
+ style?: StyleProp<TextStyle>;
6
+ }
7
+ export interface CalendarWeekLabelsProps {
8
+ weekDays?: string[];
9
+ style?: StyleProp<ViewStyle>;
10
+ }
11
+ export declare function CalendarWeekLabels(props: CalendarWeekLabelsProps): React.JSX.Element;
12
+ //# sourceMappingURL=calendar-week-labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-week-labels.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-week-labels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1F,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAcD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAID,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBAehE"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewProps, type ViewStyle } from "react-native";
3
+ export interface CalendarWeekProps extends ViewProps {
4
+ index: number;
5
+ style?: StyleProp<ViewStyle>;
6
+ }
7
+ export interface CalendarWeeksProps extends ViewProps {
8
+ style?: StyleProp<ViewStyle>;
9
+ }
10
+ export declare function CalendarWeeks(props: CalendarWeeksProps): React.JSX.Element;
11
+ //# sourceMappingURL=calendar-weeks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-weeks.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/calendar-weeks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpF,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAkBD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBActD"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import type { CalendarStyles } from "./types";
3
+ export interface CalendarContextValue {
4
+ value?: Date | null;
5
+ onChange?: (date: Date | null) => void;
6
+ currentMonth: Date;
7
+ setCurrentMonth: (month: Date) => void;
8
+ minDate?: Date;
9
+ maxDate?: Date;
10
+ styles?: CalendarStyles;
11
+ }
12
+ export declare const CalendarContext: React.Context<CalendarContextValue | undefined>;
13
+ export declare const useCalendarContext: () => CalendarContextValue;
14
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/calendar/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,IAAI,CAAC;IACnB,eAAe,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IAEf,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,iDAAmE,CAAC;AAEhG,eAAO,MAAM,kBAAkB,4BAM9B,CAAC"}