@korsolutions/ui 0.0.52 → 0.0.54

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 (430) hide show
  1. package/AGENTS.md +3 -3
  2. package/babel.config.js +1 -11
  3. package/dist/module/components/alert/components/alert-body.js.map +1 -1
  4. package/dist/module/components/alert/components/alert-description.js.map +1 -1
  5. package/dist/module/components/alert/components/alert-icon.js.map +1 -1
  6. package/dist/module/components/alert/components/alert-root.js.map +1 -1
  7. package/dist/module/components/alert/components/alert-title.js.map +1 -1
  8. package/dist/module/components/alert/index.js.map +1 -1
  9. package/dist/module/components/alert/variants/default.js.map +1 -1
  10. package/dist/module/components/alert/variants/destructive.js.map +1 -1
  11. package/dist/module/components/alert/variants/index.js.map +1 -1
  12. package/dist/module/components/alert-dialog/async-alert-dialog.js.map +1 -1
  13. package/dist/module/components/alert-dialog/components/alert-dialog-action.js.map +1 -1
  14. package/dist/module/components/alert-dialog/components/alert-dialog-cancel.js.map +1 -1
  15. package/dist/module/components/alert-dialog/components/alert-dialog-content.js.map +1 -1
  16. package/dist/module/components/alert-dialog/components/alert-dialog-description.js.map +1 -1
  17. package/dist/module/components/alert-dialog/components/alert-dialog-footer.js.map +1 -1
  18. package/dist/module/components/alert-dialog/components/alert-dialog-overlay.js.map +1 -1
  19. package/dist/module/components/alert-dialog/components/alert-dialog-portal.js.map +1 -1
  20. package/dist/module/components/alert-dialog/components/alert-dialog-root.js.map +1 -1
  21. package/dist/module/components/alert-dialog/components/alert-dialog-title.js.map +1 -1
  22. package/dist/module/components/alert-dialog/components/alert-dialog-trigger.js.map +1 -1
  23. package/dist/module/components/alert-dialog/index.js.map +1 -1
  24. package/dist/module/components/alert-dialog/variants/default.js.map +1 -1
  25. package/dist/module/components/alert-dialog/variants/index.js.map +1 -1
  26. package/dist/module/components/avatar/components/avatar-fallback.js.map +1 -1
  27. package/dist/module/components/avatar/components/avatar-image.js.map +1 -1
  28. package/dist/module/components/avatar/components/avatar-root.js.map +1 -1
  29. package/dist/module/components/avatar/index.js.map +1 -1
  30. package/dist/module/components/avatar/variants/default.js.map +1 -1
  31. package/dist/module/components/avatar/variants/index.js.map +1 -1
  32. package/dist/module/components/badge/components/badge-label.js.map +1 -1
  33. package/dist/module/components/badge/components/badge-root.js.map +1 -1
  34. package/dist/module/components/badge/index.js.map +1 -1
  35. package/dist/module/components/badge/variants/default.js.map +1 -1
  36. package/dist/module/components/badge/variants/index.js.map +1 -1
  37. package/dist/module/components/badge/variants/secondary.js.map +1 -1
  38. package/dist/module/components/button/components/button-label.js.map +1 -1
  39. package/dist/module/components/button/components/button-root.js.map +1 -1
  40. package/dist/module/components/button/components/button-spinner.js.map +1 -1
  41. package/dist/module/components/button/index.js.map +1 -1
  42. package/dist/module/components/button/variants/default.js.map +1 -1
  43. package/dist/module/components/button/variants/index.js.map +1 -1
  44. package/dist/module/components/button/variants/secondary.js.map +1 -1
  45. package/dist/module/components/calendar/components/calendar-day.js.map +1 -1
  46. package/dist/module/components/calendar/components/calendar-header.js.map +1 -1
  47. package/dist/module/components/calendar/components/calendar-nav-button.js.map +1 -1
  48. package/dist/module/components/calendar/components/calendar-root.js.map +1 -1
  49. package/dist/module/components/calendar/components/calendar-title.js.map +1 -1
  50. package/dist/module/components/calendar/components/calendar-week-labels.js.map +1 -1
  51. package/dist/module/components/calendar/components/calendar-weeks.js.map +1 -1
  52. package/dist/module/components/calendar/index.js.map +1 -1
  53. package/dist/module/components/calendar/variants/default.js.map +1 -1
  54. package/dist/module/components/calendar/variants/index.js.map +1 -1
  55. package/dist/module/components/card/card-body.js.map +1 -1
  56. package/dist/module/components/card/card-footer.js.map +1 -1
  57. package/dist/module/components/card/card-header.js.map +1 -1
  58. package/dist/module/components/card/card-root.js.map +1 -1
  59. package/dist/module/components/card/card-title.js.map +1 -1
  60. package/dist/module/components/card/index.js.map +1 -1
  61. package/dist/module/components/card/variants/default.js.map +1 -1
  62. package/dist/module/components/card/variants/index.js.map +1 -1
  63. package/dist/module/components/checkbox/components/checkbox-content.js.map +1 -1
  64. package/dist/module/components/checkbox/components/checkbox-description.js.map +1 -1
  65. package/dist/module/components/checkbox/components/checkbox-indicator.js.map +1 -1
  66. package/dist/module/components/checkbox/components/checkbox-root.js.map +1 -1
  67. package/dist/module/components/checkbox/components/checkbox-title.js.map +1 -1
  68. package/dist/module/components/checkbox/index.js.map +1 -1
  69. package/dist/module/components/checkbox/variants/default.js.map +1 -1
  70. package/dist/module/components/checkbox/variants/index.js.map +1 -1
  71. package/dist/module/components/checkbox/variants/outlined.js.map +1 -1
  72. package/dist/module/components/empty/components/empty-description.js.map +1 -1
  73. package/dist/module/components/empty/components/empty-media.js.map +1 -1
  74. package/dist/module/components/empty/components/empty-root.js.map +1 -1
  75. package/dist/module/components/empty/components/empty-title.js.map +1 -1
  76. package/dist/module/components/empty/index.js.map +1 -1
  77. package/dist/module/components/empty/variants/default.js.map +1 -1
  78. package/dist/module/components/empty/variants/index.js.map +1 -1
  79. package/dist/module/components/field/components/field-description.js.map +1 -1
  80. package/dist/module/components/field/components/field-error.js.map +1 -1
  81. package/dist/module/components/field/components/field-label.js.map +1 -1
  82. package/dist/module/components/field/components/field-root.js.map +1 -1
  83. package/dist/module/components/field/index.js.map +1 -1
  84. package/dist/module/components/field/variants/default.js.map +1 -1
  85. package/dist/module/components/field/variants/index.js.map +1 -1
  86. package/dist/module/components/icon/icon.js.map +1 -1
  87. package/dist/module/components/icon/index.js.map +1 -1
  88. package/dist/module/components/icon/variants/default.js.map +1 -1
  89. package/dist/module/components/icon/variants/index.js.map +1 -1
  90. package/dist/module/components/index.js +1 -0
  91. package/dist/module/components/index.js.map +1 -1
  92. package/dist/module/components/input/index.js.map +1 -1
  93. package/dist/module/components/input/input.js.map +1 -1
  94. package/dist/module/components/input/numeric-input.js +1 -1
  95. package/dist/module/components/input/numeric-input.js.map +1 -1
  96. package/dist/module/components/input/variants/default.js +9 -2
  97. package/dist/module/components/input/variants/default.js.map +1 -1
  98. package/dist/module/components/input/variants/index.js.map +1 -1
  99. package/dist/module/components/input/variants/secondary.js +9 -2
  100. package/dist/module/components/input/variants/secondary.js.map +1 -1
  101. package/dist/module/components/link/index.js.map +1 -1
  102. package/dist/module/components/link/link.js.map +1 -1
  103. package/dist/module/components/link/variants/default.js.map +1 -1
  104. package/dist/module/components/link/variants/index.js.map +1 -1
  105. package/dist/module/components/list/index.js.map +1 -1
  106. package/dist/module/components/menu/components/menu-content.js.map +1 -1
  107. package/dist/module/components/menu/components/menu-item.js.map +1 -1
  108. package/dist/module/components/menu/components/menu-overlay.js.map +1 -1
  109. package/dist/module/components/menu/components/menu-portal.js.map +1 -1
  110. package/dist/module/components/menu/components/menu-root.js.map +1 -1
  111. package/dist/module/components/menu/components/menu-trigger.js +1 -1
  112. package/dist/module/components/menu/components/menu-trigger.js.map +1 -1
  113. package/dist/module/components/menu/index.js.map +1 -1
  114. package/dist/module/components/menu/variants/default.js.map +1 -1
  115. package/dist/module/components/menu/variants/index.js.map +1 -1
  116. package/dist/module/components/phone-input/components/country-picker.js +101 -0
  117. package/dist/module/components/phone-input/components/country-picker.js.map +1 -0
  118. package/dist/module/components/phone-input/components/phone-input-root.js +57 -0
  119. package/dist/module/components/phone-input/components/phone-input-root.js.map +1 -0
  120. package/dist/module/components/phone-input/components/phone-input.js +31 -0
  121. package/dist/module/components/phone-input/components/phone-input.js.map +1 -0
  122. package/dist/module/components/phone-input/context.js +12 -0
  123. package/dist/module/components/phone-input/context.js.map +1 -0
  124. package/dist/module/components/phone-input/index.js +11 -0
  125. package/dist/module/components/phone-input/index.js.map +1 -0
  126. package/dist/module/components/phone-input/types.js +4 -0
  127. package/dist/module/components/phone-input/types.js.map +1 -0
  128. package/dist/module/components/phone-input/variants/default.js +128 -0
  129. package/dist/module/components/phone-input/variants/default.js.map +1 -0
  130. package/dist/module/components/phone-input/variants/index.js +7 -0
  131. package/dist/module/components/phone-input/variants/index.js.map +1 -0
  132. package/dist/module/components/popover/components/popover-close.js.map +1 -1
  133. package/dist/module/components/popover/components/popover-content.js.map +1 -1
  134. package/dist/module/components/popover/components/popover-overlay.js.map +1 -1
  135. package/dist/module/components/popover/components/popover-portal.js.map +1 -1
  136. package/dist/module/components/popover/components/popover-root.js.map +1 -1
  137. package/dist/module/components/popover/components/popover-trigger.js.map +1 -1
  138. package/dist/module/components/popover/index.js.map +1 -1
  139. package/dist/module/components/popover/variants/default.js.map +1 -1
  140. package/dist/module/components/popover/variants/index.js.map +1 -1
  141. package/dist/module/components/popover/variants/unstyled.js.map +1 -1
  142. package/dist/module/components/portal/index.js.map +1 -1
  143. package/dist/module/components/portal/portal.js.map +1 -1
  144. package/dist/module/components/portal/portal.web.js.map +1 -1
  145. package/dist/module/components/progress/components/progress-indicator.js.map +1 -1
  146. package/dist/module/components/progress/components/progress-root.js.map +1 -1
  147. package/dist/module/components/progress/index.js.map +1 -1
  148. package/dist/module/components/progress/variants/default.js.map +1 -1
  149. package/dist/module/components/progress/variants/index.js.map +1 -1
  150. package/dist/module/components/scroll-bar/index.js.map +1 -1
  151. package/dist/module/components/scroll-bar/scroll-bar.js.map +1 -1
  152. package/dist/module/components/select/components/select-content.js.map +1 -1
  153. package/dist/module/components/select/components/select-option.js.map +1 -1
  154. package/dist/module/components/select/components/select-overlay.js.map +1 -1
  155. package/dist/module/components/select/components/select-portal.js.map +1 -1
  156. package/dist/module/components/select/components/select-root.js.map +1 -1
  157. package/dist/module/components/select/components/select-trigger.js +2 -2
  158. package/dist/module/components/select/components/select-trigger.js.map +1 -1
  159. package/dist/module/components/select/index.js.map +1 -1
  160. package/dist/module/components/select/variants/default.js.map +1 -1
  161. package/dist/module/components/select/variants/index.js.map +1 -1
  162. package/dist/module/components/tabs/components/tabs-list.js.map +1 -1
  163. package/dist/module/components/tabs/components/tabs-root.js.map +1 -1
  164. package/dist/module/components/tabs/components/tabs-trigger-text.js.map +1 -1
  165. package/dist/module/components/tabs/components/tabs-trigger.js.map +1 -1
  166. package/dist/module/components/tabs/index.js.map +1 -1
  167. package/dist/module/components/tabs/variants/default.js.map +1 -1
  168. package/dist/module/components/tabs/variants/index.js.map +1 -1
  169. package/dist/module/components/tabs/variants/line.js.map +1 -1
  170. package/dist/module/components/textarea/index.js.map +1 -1
  171. package/dist/module/components/textarea/textarea.js.map +1 -1
  172. package/dist/module/components/textarea/variants/default.js.map +1 -1
  173. package/dist/module/components/textarea/variants/index.js.map +1 -1
  174. package/dist/module/components/toast/components/toast-description.js.map +1 -1
  175. package/dist/module/components/toast/components/toast-icon.js.map +1 -1
  176. package/dist/module/components/toast/components/toast-root.js.map +1 -1
  177. package/dist/module/components/toast/components/toast-title.js.map +1 -1
  178. package/dist/module/components/toast/index.js.map +1 -1
  179. package/dist/module/components/toast/manager.js +2 -2
  180. package/dist/module/components/toast/manager.js.map +1 -1
  181. package/dist/module/components/toast/variants/danger.js.map +1 -1
  182. package/dist/module/components/toast/variants/default.js.map +1 -1
  183. package/dist/module/components/toast/variants/index.js.map +1 -1
  184. package/dist/module/components/toast/variants/success.js.map +1 -1
  185. package/dist/module/components/typography/index.js.map +1 -1
  186. package/dist/module/components/typography/typography.js.map +1 -1
  187. package/dist/module/components/typography/variants/body-lg.js.map +1 -1
  188. package/dist/module/components/typography/variants/body-md.js.map +1 -1
  189. package/dist/module/components/typography/variants/body-sm.js.map +1 -1
  190. package/dist/module/components/typography/variants/heading-lg.js.map +1 -1
  191. package/dist/module/components/typography/variants/heading-md.js.map +1 -1
  192. package/dist/module/components/typography/variants/heading-sm.js.map +1 -1
  193. package/dist/module/components/typography/variants/index.js.map +1 -1
  194. package/dist/module/data/countries.js +476 -0
  195. package/dist/module/data/countries.js.map +1 -0
  196. package/dist/module/hooks/index.js +1 -0
  197. package/dist/module/hooks/index.js.map +1 -1
  198. package/dist/module/hooks/use-phone-mask.js +121 -0
  199. package/dist/module/hooks/use-phone-mask.js.map +1 -0
  200. package/dist/module/hooks/use-relative-position.js.map +1 -1
  201. package/dist/module/index.js +2 -2
  202. package/dist/module/index.js.map +1 -1
  203. package/dist/module/safe-area/index.js.map +1 -1
  204. package/dist/module/safe-area/provider.js.map +1 -1
  205. package/dist/module/themes/adapters/index.js.map +1 -1
  206. package/dist/module/themes/adapters/react-navigation.js.map +1 -1
  207. package/dist/module/themes/default/index.js.map +1 -1
  208. package/dist/module/themes/index.js.map +1 -1
  209. package/dist/module/themes/provider.js.map +1 -1
  210. package/dist/module/themes/utils.js.map +1 -1
  211. package/dist/module/utils/input-utils.js.map +1 -1
  212. package/dist/module/utils/normalize-layout.js.map +1 -1
  213. package/dist/module/utils/use-themed-styles.js.map +1 -1
  214. package/dist/typescript/babel.config.d.ts +1 -6
  215. package/dist/typescript/babel.config.d.ts.map +1 -1
  216. package/dist/typescript/src/components/alert/components/alert-body.d.ts.map +1 -1
  217. package/dist/typescript/src/components/alert/components/alert-description.d.ts +2 -2
  218. package/dist/typescript/src/components/alert/components/alert-description.d.ts.map +1 -1
  219. package/dist/typescript/src/components/alert/components/alert-icon.d.ts.map +1 -1
  220. package/dist/typescript/src/components/alert/components/alert-root.d.ts.map +1 -1
  221. package/dist/typescript/src/components/alert/components/alert-title.d.ts.map +1 -1
  222. package/dist/typescript/src/components/alert/variants/default.d.ts +1 -1
  223. package/dist/typescript/src/components/alert/variants/default.d.ts.map +1 -1
  224. package/dist/typescript/src/components/alert/variants/destructive.d.ts +1 -1
  225. package/dist/typescript/src/components/alert/variants/destructive.d.ts.map +1 -1
  226. package/dist/typescript/src/components/alert-dialog/components/alert-dialog-trigger.d.ts.map +1 -1
  227. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts +1 -1
  228. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts.map +1 -1
  229. package/dist/typescript/src/components/avatar/variants/default.d.ts +1 -1
  230. package/dist/typescript/src/components/avatar/variants/default.d.ts.map +1 -1
  231. package/dist/typescript/src/components/badge/components/badge-root.d.ts.map +1 -1
  232. package/dist/typescript/src/components/badge/variants/default.d.ts +1 -1
  233. package/dist/typescript/src/components/badge/variants/default.d.ts.map +1 -1
  234. package/dist/typescript/src/components/badge/variants/secondary.d.ts +1 -1
  235. package/dist/typescript/src/components/badge/variants/secondary.d.ts.map +1 -1
  236. package/dist/typescript/src/components/button/components/button-label.d.ts.map +1 -1
  237. package/dist/typescript/src/components/button/variants/default.d.ts +1 -1
  238. package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -1
  239. package/dist/typescript/src/components/button/variants/secondary.d.ts +1 -1
  240. package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -1
  241. package/dist/typescript/src/components/calendar/variants/default.d.ts +1 -1
  242. package/dist/typescript/src/components/calendar/variants/default.d.ts.map +1 -1
  243. package/dist/typescript/src/components/card/card-body.d.ts.map +1 -1
  244. package/dist/typescript/src/components/card/card-footer.d.ts.map +1 -1
  245. package/dist/typescript/src/components/card/card-header.d.ts.map +1 -1
  246. package/dist/typescript/src/components/card/card-root.d.ts.map +1 -1
  247. package/dist/typescript/src/components/card/card-title.d.ts.map +1 -1
  248. package/dist/typescript/src/components/card/variants/default.d.ts +1 -1
  249. package/dist/typescript/src/components/card/variants/default.d.ts.map +1 -1
  250. package/dist/typescript/src/components/checkbox/variants/default.d.ts +1 -1
  251. package/dist/typescript/src/components/checkbox/variants/default.d.ts.map +1 -1
  252. package/dist/typescript/src/components/checkbox/variants/outlined.d.ts +1 -1
  253. package/dist/typescript/src/components/checkbox/variants/outlined.d.ts.map +1 -1
  254. package/dist/typescript/src/components/empty/variants/default.d.ts +1 -1
  255. package/dist/typescript/src/components/empty/variants/default.d.ts.map +1 -1
  256. package/dist/typescript/src/components/field/variants/default.d.ts +1 -1
  257. package/dist/typescript/src/components/field/variants/default.d.ts.map +1 -1
  258. package/dist/typescript/src/components/icon/icon.d.ts.map +1 -1
  259. package/dist/typescript/src/components/index.d.ts +1 -0
  260. package/dist/typescript/src/components/index.d.ts.map +1 -1
  261. package/dist/typescript/src/components/input/input.d.ts.map +1 -1
  262. package/dist/typescript/src/components/input/numeric-input.d.ts +1 -1
  263. package/dist/typescript/src/components/input/numeric-input.d.ts.map +1 -1
  264. package/dist/typescript/src/components/input/variants/default.d.ts +1 -1
  265. package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -1
  266. package/dist/typescript/src/components/input/variants/secondary.d.ts +1 -1
  267. package/dist/typescript/src/components/input/variants/secondary.d.ts.map +1 -1
  268. package/dist/typescript/src/components/link/variants/default.d.ts.map +1 -1
  269. package/dist/typescript/src/components/menu/components/menu-trigger.d.ts +1 -1
  270. package/dist/typescript/src/components/menu/components/menu-trigger.d.ts.map +1 -1
  271. package/dist/typescript/src/components/menu/context.d.ts.map +1 -1
  272. package/dist/typescript/src/components/menu/variants/default.d.ts +1 -1
  273. package/dist/typescript/src/components/menu/variants/default.d.ts.map +1 -1
  274. package/dist/typescript/src/components/phone-input/components/country-picker.d.ts +3 -0
  275. package/dist/typescript/src/components/phone-input/components/country-picker.d.ts.map +1 -0
  276. package/dist/typescript/src/components/phone-input/components/phone-input-root.d.ts +17 -0
  277. package/dist/typescript/src/components/phone-input/components/phone-input-root.d.ts.map +1 -0
  278. package/dist/typescript/src/components/phone-input/components/phone-input.d.ts +8 -0
  279. package/dist/typescript/src/components/phone-input/components/phone-input.d.ts.map +1 -0
  280. package/dist/typescript/src/components/phone-input/context.d.ts +17 -0
  281. package/dist/typescript/src/components/phone-input/context.d.ts.map +1 -0
  282. package/dist/typescript/src/components/phone-input/index.d.ts +10 -0
  283. package/dist/typescript/src/components/phone-input/index.d.ts.map +1 -0
  284. package/dist/typescript/src/components/phone-input/types.d.ts +15 -0
  285. package/dist/typescript/src/components/phone-input/types.d.ts.map +1 -0
  286. package/dist/typescript/src/components/phone-input/variants/default.d.ts +3 -0
  287. package/dist/typescript/src/components/phone-input/variants/default.d.ts.map +1 -0
  288. package/dist/typescript/src/components/phone-input/variants/index.d.ts +5 -0
  289. package/dist/typescript/src/components/phone-input/variants/index.d.ts.map +1 -0
  290. package/dist/typescript/src/components/popover/components/popover-trigger.d.ts.map +1 -1
  291. package/dist/typescript/src/components/popover/context.d.ts.map +1 -1
  292. package/dist/typescript/src/components/popover/variants/default.d.ts +1 -1
  293. package/dist/typescript/src/components/popover/variants/default.d.ts.map +1 -1
  294. package/dist/typescript/src/components/popover/variants/unstyled.d.ts +1 -1
  295. package/dist/typescript/src/components/popover/variants/unstyled.d.ts.map +1 -1
  296. package/dist/typescript/src/components/progress/variants/default.d.ts +1 -1
  297. package/dist/typescript/src/components/progress/variants/default.d.ts.map +1 -1
  298. package/dist/typescript/src/components/select/components/select-trigger.d.ts.map +1 -1
  299. package/dist/typescript/src/components/select/context.d.ts.map +1 -1
  300. package/dist/typescript/src/components/select/variants/default.d.ts +1 -1
  301. package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -1
  302. package/dist/typescript/src/components/tabs/variants/default.d.ts +1 -1
  303. package/dist/typescript/src/components/tabs/variants/default.d.ts.map +1 -1
  304. package/dist/typescript/src/components/tabs/variants/line.d.ts +1 -1
  305. package/dist/typescript/src/components/tabs/variants/line.d.ts.map +1 -1
  306. package/dist/typescript/src/components/textarea/variants/default.d.ts +1 -1
  307. package/dist/typescript/src/components/textarea/variants/default.d.ts.map +1 -1
  308. package/dist/typescript/src/components/toast/components/toast-icon.d.ts +1 -1
  309. package/dist/typescript/src/components/toast/components/toast-icon.d.ts.map +1 -1
  310. package/dist/typescript/src/components/toast/manager.d.ts.map +1 -1
  311. package/dist/typescript/src/components/typography/variants/body-lg.d.ts.map +1 -1
  312. package/dist/typescript/src/components/typography/variants/body-md.d.ts.map +1 -1
  313. package/dist/typescript/src/components/typography/variants/body-sm.d.ts.map +1 -1
  314. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts.map +1 -1
  315. package/dist/typescript/src/components/typography/variants/heading-md.d.ts.map +1 -1
  316. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts.map +1 -1
  317. package/dist/typescript/src/data/countries.d.ts +18 -0
  318. package/dist/typescript/src/data/countries.d.ts.map +1 -0
  319. package/dist/typescript/src/hooks/index.d.ts +1 -0
  320. package/dist/typescript/src/hooks/index.d.ts.map +1 -1
  321. package/dist/typescript/src/hooks/use-phone-mask.d.ts +20 -0
  322. package/dist/typescript/src/hooks/use-phone-mask.d.ts.map +1 -0
  323. package/dist/typescript/src/hooks/use-relative-position.d.ts +1 -1
  324. package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -1
  325. package/dist/typescript/src/index.d.ts +2 -2
  326. package/dist/typescript/src/index.d.ts.map +1 -1
  327. package/dist/typescript/src/themes/provider.d.ts +1 -1
  328. package/dist/typescript/src/themes/provider.d.ts.map +1 -1
  329. package/dist/typescript/src/themes/utils.d.ts.map +1 -1
  330. package/dist/typescript/src/utils/input-utils.d.ts.map +1 -1
  331. package/dist/typescript/src/utils/normalize-layout.d.ts +1 -1
  332. package/dist/typescript/src/utils/normalize-layout.d.ts.map +1 -1
  333. package/dist/typescript/src/utils/use-themed-styles.d.ts.map +1 -1
  334. package/package.json +2 -7
  335. package/src/components/alert/components/alert-body.tsx +1 -1
  336. package/src/components/alert/components/alert-description.tsx +5 -3
  337. package/src/components/alert/components/alert-icon.tsx +1 -1
  338. package/src/components/alert/components/alert-root.tsx +1 -1
  339. package/src/components/alert/components/alert-title.tsx +2 -2
  340. package/src/components/alert/variants/default.tsx +2 -2
  341. package/src/components/alert/variants/destructive.tsx +2 -2
  342. package/src/components/alert-dialog/components/alert-dialog-trigger.tsx +1 -1
  343. package/src/components/alert-dialog/variants/default.tsx +2 -2
  344. package/src/components/avatar/variants/default.tsx +2 -2
  345. package/src/components/badge/components/badge-label.tsx +1 -1
  346. package/src/components/badge/components/badge-root.tsx +2 -2
  347. package/src/components/badge/variants/default.tsx +2 -2
  348. package/src/components/badge/variants/secondary.tsx +2 -2
  349. package/src/components/button/components/button-label.tsx +2 -2
  350. package/src/components/button/variants/default.tsx +3 -3
  351. package/src/components/button/variants/secondary.tsx +3 -3
  352. package/src/components/calendar/components/calendar-day.tsx +1 -1
  353. package/src/components/calendar/components/calendar-nav-button.tsx +1 -1
  354. package/src/components/calendar/components/calendar-title.tsx +1 -1
  355. package/src/components/calendar/components/calendar-weeks.tsx +1 -1
  356. package/src/components/calendar/variants/default.tsx +2 -2
  357. package/src/components/card/card-body.tsx +2 -2
  358. package/src/components/card/card-footer.tsx +2 -2
  359. package/src/components/card/card-header.tsx +2 -2
  360. package/src/components/card/card-root.tsx +2 -2
  361. package/src/components/card/card-title.tsx +3 -3
  362. package/src/components/card/variants/default.tsx +2 -2
  363. package/src/components/checkbox/variants/default.tsx +2 -2
  364. package/src/components/checkbox/variants/outlined.tsx +2 -2
  365. package/src/components/empty/variants/default.tsx +2 -2
  366. package/src/components/field/variants/default.tsx +2 -2
  367. package/src/components/icon/icon.tsx +1 -1
  368. package/src/components/icon/variants/default.tsx +1 -1
  369. package/src/components/index.ts +1 -0
  370. package/src/components/input/input.tsx +1 -1
  371. package/src/components/input/numeric-input.tsx +8 -2
  372. package/src/components/input/variants/default.tsx +10 -3
  373. package/src/components/input/variants/secondary.tsx +10 -3
  374. package/src/components/link/variants/default.tsx +2 -2
  375. package/src/components/menu/components/menu-content.tsx +1 -1
  376. package/src/components/menu/components/menu-root.tsx +1 -1
  377. package/src/components/menu/components/menu-trigger.tsx +40 -38
  378. package/src/components/menu/context.ts +1 -1
  379. package/src/components/menu/variants/default.tsx +2 -2
  380. package/src/components/phone-input/components/country-picker.tsx +155 -0
  381. package/src/components/phone-input/components/phone-input-root.tsx +85 -0
  382. package/src/components/phone-input/components/phone-input.tsx +43 -0
  383. package/src/components/phone-input/context.ts +32 -0
  384. package/src/components/phone-input/index.ts +11 -0
  385. package/src/components/phone-input/types.ts +20 -0
  386. package/src/components/phone-input/variants/default.tsx +124 -0
  387. package/src/components/phone-input/variants/index.ts +5 -0
  388. package/src/components/popover/components/popover-content.tsx +2 -2
  389. package/src/components/popover/components/popover-root.tsx +1 -1
  390. package/src/components/popover/components/popover-trigger.tsx +2 -2
  391. package/src/components/popover/context.ts +1 -1
  392. package/src/components/popover/variants/default.tsx +2 -2
  393. package/src/components/popover/variants/unstyled.tsx +2 -2
  394. package/src/components/progress/components/progress-indicator.tsx +1 -1
  395. package/src/components/progress/components/progress-root.tsx +1 -1
  396. package/src/components/progress/variants/default.tsx +2 -2
  397. package/src/components/scroll-bar/scroll-bar.tsx +1 -1
  398. package/src/components/select/components/select-content.tsx +2 -2
  399. package/src/components/select/components/select-option.tsx +1 -1
  400. package/src/components/select/components/select-overlay.tsx +1 -1
  401. package/src/components/select/components/select-root.tsx +2 -2
  402. package/src/components/select/components/select-trigger.tsx +35 -9
  403. package/src/components/select/context.ts +1 -1
  404. package/src/components/select/variants/default.tsx +2 -2
  405. package/src/components/tabs/variants/default.tsx +2 -2
  406. package/src/components/tabs/variants/line.tsx +2 -2
  407. package/src/components/textarea/variants/default.tsx +2 -2
  408. package/src/components/toast/components/toast-icon.tsx +8 -2
  409. package/src/components/toast/manager.tsx +11 -4
  410. package/src/components/toast/variants/danger.tsx +1 -1
  411. package/src/components/toast/variants/default.tsx +1 -1
  412. package/src/components/toast/variants/success.tsx +1 -1
  413. package/src/components/typography/variants/body-lg.tsx +1 -1
  414. package/src/components/typography/variants/body-md.tsx +1 -1
  415. package/src/components/typography/variants/body-sm.tsx +1 -1
  416. package/src/components/typography/variants/heading-lg.tsx +1 -1
  417. package/src/components/typography/variants/heading-md.tsx +1 -1
  418. package/src/components/typography/variants/heading-sm.tsx +1 -1
  419. package/src/data/countries.ts +626 -0
  420. package/src/hooks/index.ts +1 -0
  421. package/src/hooks/use-phone-mask.ts +183 -0
  422. package/src/hooks/use-relative-position.ts +94 -18
  423. package/src/index.tsx +8 -3
  424. package/src/themes/provider.tsx +23 -5
  425. package/src/themes/utils.ts +5 -2
  426. package/src/utils/input-utils.ts +5 -2
  427. package/src/utils/normalize-layout.ts +5 -2
  428. package/src/utils/use-themed-styles.ts +11 -3
  429. package/tsconfig.json +14 -7
  430. package/scripts/build.sh +0 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/phone-input/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEjE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEhD,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAE5C,SAAS,EAAE,SAAS,CAAC;IAErB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,wDAE7B,CAAC;AAEF,eAAO,MAAM,aAAa,yBAMzB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type { PhoneInputState, PhoneInputStyles } from "./types";
2
+ import { CountryPicker } from "./components/country-picker";
3
+ import { PhoneInput as PhoneInputComponent } from "./components/phone-input";
4
+ import { PhoneInputRoot } from "./components/phone-input-root";
5
+ export declare const PhoneInput: {
6
+ Root: typeof PhoneInputRoot;
7
+ CountryPicker: typeof CountryPicker;
8
+ Input: typeof PhoneInputComponent;
9
+ };
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/phone-input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,UAAU;;;;CAItB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ export type PhoneInputState = "default" | "focused" | "disabled";
3
+ export interface PhoneInputStyles {
4
+ root?: Partial<Record<PhoneInputState, StyleProp<ViewStyle>>>;
5
+ countryButton?: Partial<Record<PhoneInputState, StyleProp<ViewStyle>>>;
6
+ countryButtonText?: Partial<Record<PhoneInputState, StyleProp<TextStyle>>>;
7
+ separator?: Partial<Record<PhoneInputState, StyleProp<ViewStyle>>>;
8
+ input?: Partial<Record<PhoneInputState, StyleProp<TextStyle>>>;
9
+ pickerOverlay?: Partial<Record<PhoneInputState, StyleProp<ViewStyle>>>;
10
+ pickerContent?: Partial<Record<PhoneInputState, StyleProp<ViewStyle>>>;
11
+ pickerOption?: Partial<Record<PhoneInputState | "selected", StyleProp<ViewStyle>>>;
12
+ pickerOptionText?: Partial<Record<PhoneInputState | "selected", StyleProp<TextStyle>>>;
13
+ pickerSearch?: Partial<Record<PhoneInputState, StyleProp<TextStyle>>>;
14
+ }
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/phone-input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACvE,iBAAiB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/D,aAAa,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACvE,aAAa,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACvE,YAAY,CAAC,EAAE,OAAO,CACpB,MAAM,CAAC,eAAe,GAAG,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAC3D,CAAC;IACF,gBAAgB,CAAC,EAAE,OAAO,CACxB,MAAM,CAAC,eAAe,GAAG,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAC3D,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CACvE"}
@@ -0,0 +1,3 @@
1
+ import type { PhoneInputStyles } from "../types";
2
+ export declare function usePhoneInputVariantDefault(): PhoneInputStyles;
3
+ //# sourceMappingURL=default.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/phone-input/variants/default.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,2BAA2B,IAAI,gBAAgB,CAuH9D"}
@@ -0,0 +1,5 @@
1
+ import { usePhoneInputVariantDefault } from "./default";
2
+ export declare const PhoneInputVariants: {
3
+ default: typeof usePhoneInputVariantDefault;
4
+ };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/phone-input/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"popover-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/components/popover-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,CAAC;CAC7E;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,+FAuCzB,CAAC"}
1
+ {"version":3,"file":"popover-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/components/popover-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,CAAC;CAC7E;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,+FAuCzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAiB,KAAK,QAAQ,EAAc,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,eAAe,EAAE,cAAc,CAAC;IAChC,kBAAkB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IAEnE,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,qDAAuD,CAAC;AAEnF,eAAO,MAAM,UAAU,sBAMtB,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAiB,KAAK,QAAQ,EAAc,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,eAAe,EAAE,cAAc,CAAC;IAChC,kBAAkB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IAEnE,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,qDAAuD,CAAC;AAEnF,eAAO,MAAM,UAAU,sBAMtB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type PopoverStyles } from "../../../components/popover/types";
1
+ import { type PopoverStyles } from "../types";
2
2
  export declare const usePopoverVariantDefault: () => PopoverStyles;
3
3
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGhE,eAAO,MAAM,wBAAwB,QAAO,aAqB3C,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,eAAO,MAAM,wBAAwB,QAAO,aAqB3C,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type PopoverStyles } from "../../../components/popover/types";
1
+ import { type PopoverStyles } from "../types";
2
2
  export declare const usePopoverVariantUnstyled: () => PopoverStyles;
3
3
  //# sourceMappingURL=unstyled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unstyled.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/variants/unstyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGhE,eAAO,MAAM,yBAAyB,QAAO,aAS5C,CAAC"}
1
+ {"version":3,"file":"unstyled.d.ts","sourceRoot":"","sources":["../../../../../../src/components/popover/variants/unstyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,eAAO,MAAM,yBAAyB,QAAO,aAS5C,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type ProgressStyles } from "../../../components";
1
+ import { type ProgressStyles } from "../..";
2
2
  export declare const useProgressVariantDefault: () => ProgressStyles;
3
3
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/progress/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,yBAAyB,QAAO,cAqB5C,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/progress/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,eAAO,MAAM,yBAAyB,QAAO,cAqB5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"select-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/components/select-trigger.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG/F,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAsBtD;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAWlD"}
1
+ {"version":3,"file":"select-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/components/select-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAgCtD;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAqBlD"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAiB,KAAK,QAAQ,EAAc,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,eAAe,EAAE,cAAc,CAAC;IAChC,kBAAkB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnE,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAEhE,UAAU,EAAE,OAAO,CAAC;IAEpB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,eAAO,MAAM,SAAS,qBAMrB,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAiB,KAAK,QAAQ,EAAc,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,eAAe,EAAE,cAAc,CAAC;IAChC,kBAAkB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnE,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAEhE,UAAU,EAAE,OAAO,CAAC;IAEpB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,eAAO,MAAM,SAAS,qBAMrB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type SelectStyles } from "../../../components";
1
+ import { type SelectStyles } from "../..";
2
2
  export declare function useSelectVariantDefault(): SelectStyles;
3
3
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,wBAAgB,uBAAuB,IAAI,YAAY,CA6EtD"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,wBAAgB,uBAAuB,IAAI,YAAY,CA6EtD"}
@@ -1,3 +1,3 @@
1
- import { type TabsStyles } from "../../../components";
1
+ import { type TabsStyles } from "../types";
2
2
  export declare const useTabsVariantDefault: () => TabsStyles;
3
3
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,qBAAqB,QAAO,UA4CxC,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,eAAO,MAAM,qBAAqB,QAAO,UA4CxC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type TabsStyles } from "../../../components";
1
+ import { type TabsStyles } from "../..";
2
2
  export declare const useTabsVariantLine: () => TabsStyles;
3
3
  //# sourceMappingURL=line.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/variants/line.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,kBAAkB,QAAO,UAuCrC,CAAC"}
1
+ {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/variants/line.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,kBAAkB,QAAO,UAuCrC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type TextareaStyles } from "../../../components";
1
+ import { type TextareaStyles } from "../..";
2
2
  export declare function useTextareaVariantDefault(): TextareaStyles;
3
3
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/textarea/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,wBAAgB,yBAAyB,IAAI,cAAc,CAkC1D"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/textarea/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,wBAAgB,yBAAyB,IAAI,cAAc,CAkC1D"}
@@ -1,5 +1,5 @@
1
- import type { PropsWithRequiredRender, SvgProps } from "../../../types/props.types";
2
1
  import React from "react";
2
+ import type { PropsWithRequiredRender, SvgProps } from "../../../types/props.types";
3
3
  export type ToastIconProps = SvgProps;
4
4
  export declare function ToastIcon({ render: Component, ...props }: PropsWithRequiredRender<ToastIconProps>): React.JSX.Element;
5
5
  //# sourceMappingURL=toast-icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast-icon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/components/toast-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEtC,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,CAAC,cAAc,CAAC,qBAUjG"}
1
+ {"version":3,"file":"toast-icon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/components/toast-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,uBAAuB,EACvB,QAAQ,EACT,MAAM,4BAA4B,CAAC;AAGpC,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEtC,wBAAgB,SAAS,CAAC,EACxB,MAAM,EAAE,SAAS,EACjB,GAAG,KAAK,EACT,EAAE,uBAAuB,CAAC,cAAc,CAAC,qBAUzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../../src/components/toast/manager.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA2BD,iBAAS,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAuB7C;AAED,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAGrC;AAED,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,wBAAgB,cAAc,6BAe7B;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;CACtC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,qBAO/C"}
1
+ {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../../src/components/toast/manager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAOpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA2BD,iBAAS,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAuB7C;AAED,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAGrC;AAED,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,wBAAgB,cAAc,6BAoB7B;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;CACtC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,qBAS/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"body-lg.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-lg.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
1
+ {"version":3,"file":"body-lg.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-lg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"body-md.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-md.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
1
+ {"version":3,"file":"body-md.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-md.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"body-sm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-sm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
1
+ {"version":3,"file":"body-sm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body-sm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,oBAAoB,IAAI,SAAS,CAUhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"heading-lg.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-lg.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,uBAAuB,IAAI,SAAS,CAWnD"}
1
+ {"version":3,"file":"heading-lg.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-lg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,uBAAuB,IAAI,SAAS,CAWnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"heading-md.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-md.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,uBAAuB,IAAI,SAAS,CAWnD"}
1
+ {"version":3,"file":"heading-md.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-md.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,uBAAuB,IAAI,SAAS,CAWnD"}
@@ -1 +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,CAWnD"}
1
+ {"version":3,"file":"heading-sm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading-sm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,uBAAuB,IAAI,SAAS,CAWnD"}
@@ -0,0 +1,18 @@
1
+ export type CountryCode = "AF" | "AL" | "DZ" | "AR" | "AU" | "AT" | "BD" | "BE" | "BR" | "CA" | "CL" | "CN" | "CO" | "CR" | "CZ" | "DK" | "DO" | "EC" | "EG" | "FI" | "FR" | "DE" | "GH" | "GR" | "GT" | "HK" | "HU" | "IN" | "ID" | "IE" | "IL" | "IT" | "JM" | "JP" | "KE" | "KR" | "MY" | "MX" | "MA" | "NL" | "NZ" | "NG" | "NO" | "PK" | "PA" | "PE" | "PH" | "PL" | "PT" | "PR" | "RO" | "RU" | "SA" | "SG" | "ZA" | "ES" | "SE" | "CH" | "TW" | "TH" | "TR" | "UA" | "AE" | "GB" | "US" | "VE" | "VN";
2
+ export interface CountryData {
3
+ /** ISO 3166-1 alpha-2 code */
4
+ code: CountryCode;
5
+ /** Display name */
6
+ name: string;
7
+ /** Dial code without plus sign */
8
+ dialCode: string;
9
+ /** Flag emoji */
10
+ flag: string;
11
+ /** Format pattern using # for digits */
12
+ format: string;
13
+ /** Priority for sorting countries with same dial code (lower = higher) */
14
+ priority: number;
15
+ }
16
+ export declare const COUNTRIES: CountryData[];
17
+ export declare function getCountryByCode(code: string): CountryData | undefined;
18
+ //# sourceMappingURL=countries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../../../src/data/countries.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GACnB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,EAAE,WAAW,CAAC;IAClB,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,SAAS,EAAE,WAAW,EAyhBlC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAEtE"}
@@ -1,5 +1,6 @@
1
1
  export * from "./use-screen-size";
2
2
  export * from "./use-currency-mask";
3
3
  export * from "./use-numeric-mask";
4
+ export * from "./use-phone-mask";
4
5
  export * from "./use-relative-position";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type CountryData } from "../data/countries";
2
+ export interface UsePhoneMaskOptions {
3
+ value?: string;
4
+ defaultCountry?: string;
5
+ onChange?: (e164Value: string) => void;
6
+ onCountryChange?: (country: CountryData) => void;
7
+ countries?: CountryData[];
8
+ }
9
+ export interface PhoneMask {
10
+ displayValue: string;
11
+ e164Value: string;
12
+ country: CountryData;
13
+ countries: CountryData[];
14
+ onChangeText: (text: string) => void;
15
+ setCountry: (countryCode: string) => void;
16
+ setValue: (e164: string) => void;
17
+ keyboardType: "phone-pad";
18
+ }
19
+ export declare function usePhoneMask({ value: controlledValue, defaultCountry, onChange, onCountryChange, countries: customCountries, }?: UsePhoneMaskOptions): PhoneMask;
20
+ //# sourceMappingURL=use-phone-mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-phone-mask.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-phone-mask.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,WAAW,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,UAAU,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,YAAY,EAAE,WAAW,CAAC;CAC3B;AAkDD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EAAE,eAAe,EACtB,cAAqB,EACrB,QAAQ,EACR,eAAe,EACf,SAAS,EAAE,eAAe,GAC3B,GAAE,mBAAwB,GAAG,SAAS,CAsGtC"}
@@ -1,5 +1,5 @@
1
- import type { SafeAreaInsets } from "../safe-area";
2
1
  import { type DisplayMetrics, type LayoutRectangle, type ViewStyle } from "react-native";
2
+ import type { SafeAreaInsets } from "../safe-area";
3
3
  type UseRelativePositionArgs = Omit<GetContentStyleArgs, "triggerPosition" | "contentLayout" | "dimensions"> & {
4
4
  triggerPosition: LayoutPosition | null;
5
5
  contentLayout: LayoutRectangle | null;
@@ -1 +1 @@
1
- {"version":3,"file":"use-relative-position.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-relative-position.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9G,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,aAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,EACV,aAAa,GACd,EAAE,uBAAuB,GAAG,SAAS,CA0BrC;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,cAAc,CAAC;IAC3B,eAAe,EAAE,cAAc,CAAC;IAChC,aAAa,EAAE,eAAe,CAAC;IAC/B,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,mBAAoB,SAAQ,eAAe;IACnD,aAAa,EAAE,KAAK,GAAG,QAAQ,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,eAAqD,CAAC;AACnF,eAAO,MAAM,gBAAgB,EAAE,cAA4D,CAAC;AA8D5F,UAAU,oBAAqB,SAAQ,eAAe;IACpD,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AAoDD,KAAK,mBAAmB,GAAG,eAAe,GAAG,mBAAmB,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"use-relative-position.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-relative-position.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,KAAK,uBAAuB,GAAG,IAAI,CACjC,mBAAmB,EACnB,iBAAiB,GAAG,eAAe,GAAG,YAAY,CACnD,GAAG;IACF,eAAe,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,eAAe,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,EACV,aAAa,GACd,EAAE,uBAAuB,GAAG,SAAS,CAoCrC;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,cAAc,CAAC;IAC3B,eAAe,EAAE,cAAc,CAAC;IAChC,aAAa,EAAE,eAAe,CAAC;IAC/B,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,mBAAoB,SAAQ,eAAe;IACnD,aAAa,EAAE,KAAK,GAAG,QAAQ,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,eAK5B,CAAC;AACF,eAAO,MAAM,gBAAgB,EAAE,cAK9B,CAAC;AAqFF,UAAU,oBAAqB,SAAQ,eAAe;IACpD,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AA2ED,KAAK,mBAAmB,GAAG,eAAe,GACxC,mBAAmB,GACnB,oBAAoB,CAAC"}
@@ -1,13 +1,13 @@
1
+ import { type PortalHostProps } from "./components/portal/portal.constants";
1
2
  import { type SafeAreaInsets } from "./safe-area";
2
3
  import { type ThemeProviderProps } from "./themes";
3
- import { type PortalHostProps } from "./components/portal/portal.constants";
4
4
  export interface ProviderProps {
5
5
  children: React.ReactNode;
6
6
  portalContainer?: PortalHostProps["container"];
7
7
  theme?: ThemeProviderProps["theme"];
8
8
  safeAreaInsets?: SafeAreaInsets;
9
9
  }
10
- export declare const UIProvider: ({ children, portalContainer, theme, safeAreaInsets }: ProviderProps) => import("react").JSX.Element;
10
+ export declare const UIProvider: ({ children, portalContainer, theme, safeAreaInsets, }: ProviderProps) => import("react").JSX.Element;
11
11
  export * from "./hooks/use-screen-size";
12
12
  export * from "./themes/adapters";
13
13
  export * from "./themes/default";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAG5E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,eAAO,MAAM,UAAU,GAAI,sDAAsD,aAAa,gCAW7F,CAAC;AAEF,cAAc,yBAAyB,CAAC;AAExC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAE/B,cAAc,cAAc,CAAC;AAE7B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,eAAO,MAAM,UAAU,GAAI,uDAKxB,aAAa,gCAWf,CAAC;AAEF,cAAc,yBAAyB,CAAC;AAExC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAE/B,cAAc,cAAc,CAAC;AAE7B,cAAc,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { DeepPartial } from "../types/util.types";
2
1
  import { type PropsWithChildren } from "react";
2
+ import type { DeepPartial } from "../types/util.types";
3
3
  import type { Colors, ColorScheme, FontFamily, FontSize, LetterSpacing, Radius, ThemeAssets } from "./types";
4
4
  interface ThemeContext {
5
5
  colors: Colors;
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/themes/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAiB,KAAK,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAG/F,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG7G,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,YAAY,8CAA2C,CAAC;AAE9D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,KAAK,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gCA+BtD,CAAC;AAEF,eAAO,MAAM,QAAQ,oBAMpB,CAAC"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/themes/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,UAAU,EACV,QAAQ,EACR,aAAa,EACb,MAAM,EACN,WAAW,EACZ,MAAM,SAAS,CAAC;AAGjB,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,YAAY,8CAA2C,CAAC;AAE9D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,KAAK,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gCAmCtD,CAAC;AAEF,eAAO,MAAM,QAAQ,oBAMpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/themes/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC,GAAG,WAAW,CAWnG"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/themes/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC,GACjC,WAAW,CAWb"}
@@ -1 +1 @@
1
- {"version":3,"file":"input-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/input-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,GAAG,YAAY,EAAE,KAAK,EAAE,MAAM,QAMzF"}
1
+ {"version":3,"file":"input-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/input-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,gBAAgB,GAAG,YAAY,EACxC,KAAK,EAAE,MAAM,QAOd"}
@@ -1,5 +1,5 @@
1
- import type { LayoutPosition } from "../hooks";
2
1
  import type { HostInstance, LayoutRectangle } from "react-native";
2
+ import type { LayoutPosition } from "../hooks";
3
3
  export declare const normalizeLayout: (layout: LayoutRectangle) => {
4
4
  x: number;
5
5
  y: number;
@@ -1 +1 @@
1
- {"version":3,"file":"normalize-layout.d.ts","sourceRoot":"","sources":["../../../../src/utils/normalize-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAElE,eAAO,MAAM,eAAe,GAAI,QAAQ,eAAe;;;;;CAUtD,CAAC;AAUF,eAAO,MAAM,qBAAqB,GAAI,KAAK,YAAY,GAAG,IAAI,EAAE,UAAU,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,SASzG,CAAC"}
1
+ {"version":3,"file":"normalize-layout.d.ts","sourceRoot":"","sources":["../../../../src/utils/normalize-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe,GAAI,QAAQ,eAAe;;;;;CAUtD,CAAC;AAUF,eAAO,MAAM,qBAAqB,GAChC,KAAK,YAAY,GAAG,IAAI,EACxB,UAAU,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,SAU3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-themed-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/use-themed-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE1F,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,UAAU,CAAC,KAAK,EAAE,aAAa,KAAK,CAAC,KAAG,CAS1E,CAAC"}
1
+ {"version":3,"file":"use-themed-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/use-themed-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,UAAU,EACV,QAAQ,EACR,aAAa,EACb,MAAM,EACP,MAAM,iBAAiB,CAAC;AAEzB,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,UAAU,CAAC,KAAK,EAAE,aAAa,KAAK,CAAC,KACpC,CASF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korsolutions/ui",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,19 +21,14 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "scripts": {
24
- "dev": "nodemon",
25
- "prepare": "./scripts/build.sh",
26
- "ts-check": "tsc --noEmit",
24
+ "prepare": "bob build",
27
25
  "lint": "tsc --noEmit"
28
26
  },
29
27
  "devDependencies": {
30
28
  "@react-navigation/native": "^7.1.28",
31
29
  "@types/react": "^19.2.3",
32
30
  "@types/react-dom": "^19.2.3",
33
- "babel-plugin-module-resolver": "^5.0.2",
34
- "nodemon": "^3.1.11",
35
31
  "react-native-builder-bob": "^0.40.17",
36
- "tsc-alias": "^1.8.16",
37
32
  "typescript": "^5.9.3"
38
33
  },
39
34
  "peerDependencies": {
@@ -1,4 +1,4 @@
1
- import type { PropsWithRender } from "@/types/props.types";
1
+ import type { PropsWithRender } from "../../../types/props.types";
2
2
  import React from "react";
3
3
  import { type StyleProp, View, type ViewStyle } from "react-native";
4
4
  import { useAlert } from "../context";
@@ -1,7 +1,7 @@
1
- import type { TextChildren } from "@/types/element.types";
2
- import type { PropsWithRender } from "@/types/props.types";
3
1
  import React from "react";
4
2
  import { type StyleProp, Text, type TextStyle } from "react-native";
3
+ import type { TextChildren } from "../../../types/element.types";
4
+ import type { PropsWithRender } from "../../../types/props.types";
5
5
  import { useAlert } from "../context";
6
6
 
7
7
  export interface AlertDescriptionProps {
@@ -10,7 +10,9 @@ export interface AlertDescriptionProps {
10
10
  style?: StyleProp<TextStyle>;
11
11
  }
12
12
 
13
- export function AlertDescription(props: PropsWithRender<AlertDescriptionProps>) {
13
+ export function AlertDescription(
14
+ props: PropsWithRender<AlertDescriptionProps>,
15
+ ) {
14
16
  const alert = useAlert();
15
17
 
16
18
  const composedStyle = [alert.styles?.description, props.style];
@@ -1,4 +1,4 @@
1
- import type { PropsWithRequiredRender, SvgProps } from "@/types/props.types";
1
+ import type { PropsWithRequiredRender, SvgProps } from "../../../types/props.types";
2
2
  import React from "react";
3
3
  import { useAlert } from "../context";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { PropsWithRender } from "@/types/props.types";
1
+ import type { PropsWithRender } from "../../../types/props.types";
2
2
  import React from "react";
3
3
  import { type StyleProp, View, type ViewStyle } from "react-native";
4
4
  import { AlertContext } from "../context";
@@ -1,5 +1,5 @@
1
- import type { TextChildren } from "@/types/element.types";
2
- import type { PropsWithRender } from "@/types/props.types";
1
+ import type { TextChildren } from "../../../types/element.types";
2
+ import type { PropsWithRender } from "../../../types/props.types";
3
3
  import React from "react";
4
4
  import { type StyleProp, Text, type TextStyle } from "react-native";
5
5
  import { useAlert } from "../context";
@@ -1,5 +1,5 @@
1
- import { type AlertStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type AlertStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useAlertVariantDefault = (): AlertStyles => {
5
5
  return useThemedStyles(
@@ -1,5 +1,5 @@
1
- import { type AlertStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type AlertStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useAlertVariantDestructive = (): AlertStyles => {
5
5
  return useThemedStyles(
@@ -1,4 +1,4 @@
1
- import type { ViewRef } from "@/types/element.types";
1
+ import type { ViewRef } from "../../../types/element.types";
2
2
  import React from "react";
3
3
  import { type PressableProps } from "react-native";
4
4
  import { useAlertDialog } from "../context";
@@ -1,5 +1,5 @@
1
- import { type AlertDialogStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type AlertDialogStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useAlertDialogVariantDefault = (): AlertDialogStyles => {
5
5
  return useThemedStyles(
@@ -1,5 +1,5 @@
1
- import type { AvatarStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import type { AvatarStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export function useAvatarVariantDefault(): AvatarStyles {
5
5
  return useThemedStyles(
@@ -1,4 +1,4 @@
1
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import { calculateComposedStyles } from "../../../utils/calculate-styles";
2
2
  import React from "react";
3
3
  import { type StyleProp, Text, type TextStyle } from "react-native";
4
4
  import { useBadge } from "../context";
@@ -1,5 +1,5 @@
1
- import type { ElementChildren } from "@/types/element.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { ElementChildren } from "../../../types/element.types";
2
+ import { calculateComposedStyles } from "../../../utils/calculate-styles";
3
3
  import React from "react";
4
4
  import { type StyleProp, View, type ViewStyle } from "react-native";
5
5
  import { BadgeContext } from "../context";
@@ -1,5 +1,5 @@
1
- import type { BadgeStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import type { BadgeStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useBadgeVariantDefault = (): BadgeStyles => {
5
5
  return useThemedStyles(
@@ -1,5 +1,5 @@
1
- import { type BadgeStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type BadgeStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useBadgeVariantSecondary = (): BadgeStyles => {
5
5
  return useThemedStyles(
@@ -1,5 +1,5 @@
1
- import type { TextChildren } from "@/types/element.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { TextChildren } from "../../../types/element.types";
2
+ import { calculateComposedStyles } from "../../../utils/calculate-styles";
3
3
  import React from "react";
4
4
  import { type StyleProp, Text, type TextStyle } from "react-native";
5
5
  import { useButton } from "../context";
@@ -1,6 +1,6 @@
1
- import { type ButtonStyles } from "@/components";
2
- import { hslaSetRelativeLightness } from "@/utils/hsla-utils";
3
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type ButtonStyles } from "../..";
2
+ import { hslaSetRelativeLightness } from "../../../utils/hsla-utils";
3
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
4
4
 
5
5
  export const useButtonVariantDefault = (): ButtonStyles => {
6
6
  return useThemedStyles(