@korsolutions/ui 0.0.52 → 0.0.53

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 (254) hide show
  1. package/AGENTS.md +3 -3
  2. package/dist/module/components/alert/components/alert-description.js.map +1 -1
  3. package/dist/module/components/index.js +1 -0
  4. package/dist/module/components/index.js.map +1 -1
  5. package/dist/module/components/input/numeric-input.js +1 -1
  6. package/dist/module/components/input/numeric-input.js.map +1 -1
  7. package/dist/module/components/input/variants/default.js +9 -2
  8. package/dist/module/components/input/variants/default.js.map +1 -1
  9. package/dist/module/components/input/variants/secondary.js +9 -2
  10. package/dist/module/components/input/variants/secondary.js.map +1 -1
  11. package/dist/module/components/link/variants/default.js.map +1 -1
  12. package/dist/module/components/menu/components/menu-trigger.js +1 -1
  13. package/dist/module/components/menu/components/menu-trigger.js.map +1 -1
  14. package/dist/module/components/phone-input/index.js +4 -0
  15. package/dist/module/components/phone-input/index.js.map +1 -0
  16. package/dist/module/components/phone-input/phone-input.js +165 -0
  17. package/dist/module/components/phone-input/phone-input.js.map +1 -0
  18. package/dist/module/components/phone-input/types.js +4 -0
  19. package/dist/module/components/phone-input/types.js.map +1 -0
  20. package/dist/module/components/phone-input/variants/default.js +128 -0
  21. package/dist/module/components/phone-input/variants/default.js.map +1 -0
  22. package/dist/module/components/phone-input/variants/index.js +7 -0
  23. package/dist/module/components/phone-input/variants/index.js.map +1 -0
  24. package/dist/module/components/select/components/select-trigger.js +2 -2
  25. package/dist/module/components/select/components/select-trigger.js.map +1 -1
  26. package/dist/module/components/tabs/variants/default.js.map +1 -1
  27. package/dist/module/components/toast/components/toast-icon.js.map +1 -1
  28. package/dist/module/components/toast/manager.js +2 -2
  29. package/dist/module/components/toast/manager.js.map +1 -1
  30. package/dist/module/components/typography/variants/body-lg.js.map +1 -1
  31. package/dist/module/components/typography/variants/body-md.js.map +1 -1
  32. package/dist/module/components/typography/variants/body-sm.js.map +1 -1
  33. package/dist/module/components/typography/variants/heading-lg.js.map +1 -1
  34. package/dist/module/components/typography/variants/heading-md.js.map +1 -1
  35. package/dist/module/components/typography/variants/heading-sm.js.map +1 -1
  36. package/dist/module/data/countries.js +476 -0
  37. package/dist/module/data/countries.js.map +1 -0
  38. package/dist/module/hooks/index.js +1 -0
  39. package/dist/module/hooks/index.js.map +1 -1
  40. package/dist/module/hooks/use-phone-mask.js +121 -0
  41. package/dist/module/hooks/use-phone-mask.js.map +1 -0
  42. package/dist/module/hooks/use-relative-position.js.map +1 -1
  43. package/dist/module/index.js +2 -2
  44. package/dist/module/index.js.map +1 -1
  45. package/dist/module/themes/provider.js.map +1 -1
  46. package/dist/module/themes/utils.js.map +1 -1
  47. package/dist/module/utils/input-utils.js.map +1 -1
  48. package/dist/module/utils/normalize-layout.js.map +1 -1
  49. package/dist/module/utils/use-themed-styles.js.map +1 -1
  50. package/dist/typescript/src/components/alert/components/alert-body.d.ts.map +1 -1
  51. package/dist/typescript/src/components/alert/components/alert-description.d.ts +2 -2
  52. package/dist/typescript/src/components/alert/components/alert-description.d.ts.map +1 -1
  53. package/dist/typescript/src/components/alert/components/alert-icon.d.ts.map +1 -1
  54. package/dist/typescript/src/components/alert/components/alert-root.d.ts.map +1 -1
  55. package/dist/typescript/src/components/alert/components/alert-title.d.ts.map +1 -1
  56. package/dist/typescript/src/components/alert/variants/default.d.ts +1 -1
  57. package/dist/typescript/src/components/alert/variants/default.d.ts.map +1 -1
  58. package/dist/typescript/src/components/alert/variants/destructive.d.ts +1 -1
  59. package/dist/typescript/src/components/alert/variants/destructive.d.ts.map +1 -1
  60. package/dist/typescript/src/components/alert-dialog/components/alert-dialog-trigger.d.ts.map +1 -1
  61. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts +1 -1
  62. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts.map +1 -1
  63. package/dist/typescript/src/components/avatar/variants/default.d.ts +1 -1
  64. package/dist/typescript/src/components/avatar/variants/default.d.ts.map +1 -1
  65. package/dist/typescript/src/components/badge/components/badge-root.d.ts.map +1 -1
  66. package/dist/typescript/src/components/badge/variants/default.d.ts +1 -1
  67. package/dist/typescript/src/components/badge/variants/default.d.ts.map +1 -1
  68. package/dist/typescript/src/components/badge/variants/secondary.d.ts +1 -1
  69. package/dist/typescript/src/components/badge/variants/secondary.d.ts.map +1 -1
  70. package/dist/typescript/src/components/button/components/button-label.d.ts.map +1 -1
  71. package/dist/typescript/src/components/button/variants/default.d.ts +1 -1
  72. package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -1
  73. package/dist/typescript/src/components/button/variants/secondary.d.ts +1 -1
  74. package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -1
  75. package/dist/typescript/src/components/calendar/variants/default.d.ts +1 -1
  76. package/dist/typescript/src/components/calendar/variants/default.d.ts.map +1 -1
  77. package/dist/typescript/src/components/card/card-body.d.ts.map +1 -1
  78. package/dist/typescript/src/components/card/card-footer.d.ts.map +1 -1
  79. package/dist/typescript/src/components/card/card-header.d.ts.map +1 -1
  80. package/dist/typescript/src/components/card/card-root.d.ts.map +1 -1
  81. package/dist/typescript/src/components/card/card-title.d.ts.map +1 -1
  82. package/dist/typescript/src/components/card/variants/default.d.ts +1 -1
  83. package/dist/typescript/src/components/card/variants/default.d.ts.map +1 -1
  84. package/dist/typescript/src/components/checkbox/variants/default.d.ts +1 -1
  85. package/dist/typescript/src/components/checkbox/variants/default.d.ts.map +1 -1
  86. package/dist/typescript/src/components/checkbox/variants/outlined.d.ts +1 -1
  87. package/dist/typescript/src/components/checkbox/variants/outlined.d.ts.map +1 -1
  88. package/dist/typescript/src/components/empty/variants/default.d.ts +1 -1
  89. package/dist/typescript/src/components/empty/variants/default.d.ts.map +1 -1
  90. package/dist/typescript/src/components/field/variants/default.d.ts +1 -1
  91. package/dist/typescript/src/components/field/variants/default.d.ts.map +1 -1
  92. package/dist/typescript/src/components/icon/icon.d.ts.map +1 -1
  93. package/dist/typescript/src/components/index.d.ts +1 -0
  94. package/dist/typescript/src/components/index.d.ts.map +1 -1
  95. package/dist/typescript/src/components/input/input.d.ts.map +1 -1
  96. package/dist/typescript/src/components/input/numeric-input.d.ts +1 -1
  97. package/dist/typescript/src/components/input/numeric-input.d.ts.map +1 -1
  98. package/dist/typescript/src/components/input/variants/default.d.ts +1 -1
  99. package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -1
  100. package/dist/typescript/src/components/input/variants/secondary.d.ts +1 -1
  101. package/dist/typescript/src/components/input/variants/secondary.d.ts.map +1 -1
  102. package/dist/typescript/src/components/link/variants/default.d.ts.map +1 -1
  103. package/dist/typescript/src/components/menu/components/menu-trigger.d.ts +1 -1
  104. package/dist/typescript/src/components/menu/components/menu-trigger.d.ts.map +1 -1
  105. package/dist/typescript/src/components/menu/context.d.ts.map +1 -1
  106. package/dist/typescript/src/components/menu/variants/default.d.ts +1 -1
  107. package/dist/typescript/src/components/menu/variants/default.d.ts.map +1 -1
  108. package/dist/typescript/src/components/phone-input/index.d.ts +3 -0
  109. package/dist/typescript/src/components/phone-input/index.d.ts.map +1 -0
  110. package/dist/typescript/src/components/phone-input/phone-input.d.ts +16 -0
  111. package/dist/typescript/src/components/phone-input/phone-input.d.ts.map +1 -0
  112. package/dist/typescript/src/components/phone-input/types.d.ts +15 -0
  113. package/dist/typescript/src/components/phone-input/types.d.ts.map +1 -0
  114. package/dist/typescript/src/components/phone-input/variants/default.d.ts +3 -0
  115. package/dist/typescript/src/components/phone-input/variants/default.d.ts.map +1 -0
  116. package/dist/typescript/src/components/phone-input/variants/index.d.ts +5 -0
  117. package/dist/typescript/src/components/phone-input/variants/index.d.ts.map +1 -0
  118. package/dist/typescript/src/components/popover/components/popover-trigger.d.ts.map +1 -1
  119. package/dist/typescript/src/components/popover/context.d.ts.map +1 -1
  120. package/dist/typescript/src/components/popover/variants/default.d.ts +1 -1
  121. package/dist/typescript/src/components/popover/variants/default.d.ts.map +1 -1
  122. package/dist/typescript/src/components/popover/variants/unstyled.d.ts +1 -1
  123. package/dist/typescript/src/components/popover/variants/unstyled.d.ts.map +1 -1
  124. package/dist/typescript/src/components/progress/variants/default.d.ts +1 -1
  125. package/dist/typescript/src/components/progress/variants/default.d.ts.map +1 -1
  126. package/dist/typescript/src/components/select/components/select-trigger.d.ts.map +1 -1
  127. package/dist/typescript/src/components/select/context.d.ts.map +1 -1
  128. package/dist/typescript/src/components/select/variants/default.d.ts +1 -1
  129. package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -1
  130. package/dist/typescript/src/components/tabs/variants/default.d.ts +1 -1
  131. package/dist/typescript/src/components/tabs/variants/default.d.ts.map +1 -1
  132. package/dist/typescript/src/components/tabs/variants/line.d.ts +1 -1
  133. package/dist/typescript/src/components/tabs/variants/line.d.ts.map +1 -1
  134. package/dist/typescript/src/components/textarea/variants/default.d.ts +1 -1
  135. package/dist/typescript/src/components/textarea/variants/default.d.ts.map +1 -1
  136. package/dist/typescript/src/components/toast/components/toast-icon.d.ts +1 -1
  137. package/dist/typescript/src/components/toast/components/toast-icon.d.ts.map +1 -1
  138. package/dist/typescript/src/components/toast/manager.d.ts.map +1 -1
  139. package/dist/typescript/src/components/typography/variants/body-lg.d.ts.map +1 -1
  140. package/dist/typescript/src/components/typography/variants/body-md.d.ts.map +1 -1
  141. package/dist/typescript/src/components/typography/variants/body-sm.d.ts.map +1 -1
  142. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts.map +1 -1
  143. package/dist/typescript/src/components/typography/variants/heading-md.d.ts.map +1 -1
  144. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts.map +1 -1
  145. package/dist/typescript/src/data/countries.d.ts +17 -0
  146. package/dist/typescript/src/data/countries.d.ts.map +1 -0
  147. package/dist/typescript/src/hooks/index.d.ts +1 -0
  148. package/dist/typescript/src/hooks/index.d.ts.map +1 -1
  149. package/dist/typescript/src/hooks/use-phone-mask.d.ts +20 -0
  150. package/dist/typescript/src/hooks/use-phone-mask.d.ts.map +1 -0
  151. package/dist/typescript/src/hooks/use-relative-position.d.ts +1 -1
  152. package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -1
  153. package/dist/typescript/src/index.d.ts +2 -2
  154. package/dist/typescript/src/index.d.ts.map +1 -1
  155. package/dist/typescript/src/themes/provider.d.ts +1 -1
  156. package/dist/typescript/src/themes/provider.d.ts.map +1 -1
  157. package/dist/typescript/src/themes/utils.d.ts.map +1 -1
  158. package/dist/typescript/src/utils/input-utils.d.ts.map +1 -1
  159. package/dist/typescript/src/utils/normalize-layout.d.ts +1 -1
  160. package/dist/typescript/src/utils/normalize-layout.d.ts.map +1 -1
  161. package/dist/typescript/src/utils/use-themed-styles.d.ts.map +1 -1
  162. package/package.json +1 -1
  163. package/src/components/alert/components/alert-body.tsx +1 -1
  164. package/src/components/alert/components/alert-description.tsx +5 -3
  165. package/src/components/alert/components/alert-icon.tsx +1 -1
  166. package/src/components/alert/components/alert-root.tsx +1 -1
  167. package/src/components/alert/components/alert-title.tsx +2 -2
  168. package/src/components/alert/variants/default.tsx +2 -2
  169. package/src/components/alert/variants/destructive.tsx +2 -2
  170. package/src/components/alert-dialog/components/alert-dialog-trigger.tsx +1 -1
  171. package/src/components/alert-dialog/variants/default.tsx +2 -2
  172. package/src/components/avatar/variants/default.tsx +2 -2
  173. package/src/components/badge/components/badge-label.tsx +1 -1
  174. package/src/components/badge/components/badge-root.tsx +2 -2
  175. package/src/components/badge/variants/default.tsx +2 -2
  176. package/src/components/badge/variants/secondary.tsx +2 -2
  177. package/src/components/button/components/button-label.tsx +2 -2
  178. package/src/components/button/variants/default.tsx +3 -3
  179. package/src/components/button/variants/secondary.tsx +3 -3
  180. package/src/components/calendar/components/calendar-day.tsx +1 -1
  181. package/src/components/calendar/components/calendar-nav-button.tsx +1 -1
  182. package/src/components/calendar/components/calendar-title.tsx +1 -1
  183. package/src/components/calendar/components/calendar-weeks.tsx +1 -1
  184. package/src/components/calendar/variants/default.tsx +2 -2
  185. package/src/components/card/card-body.tsx +2 -2
  186. package/src/components/card/card-footer.tsx +2 -2
  187. package/src/components/card/card-header.tsx +2 -2
  188. package/src/components/card/card-root.tsx +2 -2
  189. package/src/components/card/card-title.tsx +3 -3
  190. package/src/components/card/variants/default.tsx +2 -2
  191. package/src/components/checkbox/variants/default.tsx +2 -2
  192. package/src/components/checkbox/variants/outlined.tsx +2 -2
  193. package/src/components/empty/variants/default.tsx +2 -2
  194. package/src/components/field/variants/default.tsx +2 -2
  195. package/src/components/icon/icon.tsx +1 -1
  196. package/src/components/icon/variants/default.tsx +1 -1
  197. package/src/components/index.ts +1 -0
  198. package/src/components/input/input.tsx +1 -1
  199. package/src/components/input/numeric-input.tsx +8 -2
  200. package/src/components/input/variants/default.tsx +10 -3
  201. package/src/components/input/variants/secondary.tsx +10 -3
  202. package/src/components/link/variants/default.tsx +2 -2
  203. package/src/components/menu/components/menu-content.tsx +1 -1
  204. package/src/components/menu/components/menu-root.tsx +1 -1
  205. package/src/components/menu/components/menu-trigger.tsx +40 -38
  206. package/src/components/menu/context.ts +1 -1
  207. package/src/components/menu/variants/default.tsx +2 -2
  208. package/src/components/phone-input/index.ts +2 -0
  209. package/src/components/phone-input/phone-input.tsx +220 -0
  210. package/src/components/phone-input/types.ts +20 -0
  211. package/src/components/phone-input/variants/default.tsx +124 -0
  212. package/src/components/phone-input/variants/index.ts +5 -0
  213. package/src/components/popover/components/popover-content.tsx +2 -2
  214. package/src/components/popover/components/popover-root.tsx +1 -1
  215. package/src/components/popover/components/popover-trigger.tsx +2 -2
  216. package/src/components/popover/context.ts +1 -1
  217. package/src/components/popover/variants/default.tsx +2 -2
  218. package/src/components/popover/variants/unstyled.tsx +2 -2
  219. package/src/components/progress/components/progress-indicator.tsx +1 -1
  220. package/src/components/progress/components/progress-root.tsx +1 -1
  221. package/src/components/progress/variants/default.tsx +2 -2
  222. package/src/components/scroll-bar/scroll-bar.tsx +1 -1
  223. package/src/components/select/components/select-content.tsx +2 -2
  224. package/src/components/select/components/select-option.tsx +1 -1
  225. package/src/components/select/components/select-overlay.tsx +1 -1
  226. package/src/components/select/components/select-root.tsx +2 -2
  227. package/src/components/select/components/select-trigger.tsx +35 -9
  228. package/src/components/select/context.ts +1 -1
  229. package/src/components/select/variants/default.tsx +2 -2
  230. package/src/components/tabs/variants/default.tsx +2 -2
  231. package/src/components/tabs/variants/line.tsx +2 -2
  232. package/src/components/textarea/variants/default.tsx +2 -2
  233. package/src/components/toast/components/toast-icon.tsx +8 -2
  234. package/src/components/toast/manager.tsx +11 -4
  235. package/src/components/toast/variants/danger.tsx +1 -1
  236. package/src/components/toast/variants/default.tsx +1 -1
  237. package/src/components/toast/variants/success.tsx +1 -1
  238. package/src/components/typography/variants/body-lg.tsx +1 -1
  239. package/src/components/typography/variants/body-md.tsx +1 -1
  240. package/src/components/typography/variants/body-sm.tsx +1 -1
  241. package/src/components/typography/variants/heading-lg.tsx +1 -1
  242. package/src/components/typography/variants/heading-md.tsx +1 -1
  243. package/src/components/typography/variants/heading-sm.tsx +1 -1
  244. package/src/data/countries.ts +88 -0
  245. package/src/hooks/index.ts +1 -0
  246. package/src/hooks/use-phone-mask.ts +183 -0
  247. package/src/hooks/use-relative-position.ts +94 -18
  248. package/src/index.tsx +8 -3
  249. package/src/themes/provider.tsx +23 -5
  250. package/src/themes/utils.ts +5 -2
  251. package/src/utils/input-utils.ts +5 -2
  252. package/src/utils/normalize-layout.ts +5 -2
  253. package/src/utils/use-themed-styles.ts +11 -3
  254. package/tsconfig.json +14 -7
@@ -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,MA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 -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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AG,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,17 @@
1
+ export interface CountryData {
2
+ /** ISO 3166-1 alpha-2 code */
3
+ code: string;
4
+ /** Display name */
5
+ name: string;
6
+ /** Dial code without plus sign */
7
+ dialCode: string;
8
+ /** Flag emoji */
9
+ flag: string;
10
+ /** Format pattern using # for digits */
11
+ format: string;
12
+ /** Priority for sorting countries with same dial code (lower = higher) */
13
+ priority: number;
14
+ }
15
+ export declare const COUNTRIES: CountryData[];
16
+ export declare function getCountryByCode(code: string): CountryData | undefined;
17
+ //# 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,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,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,EAoElC,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 UsePhoneMaskReturn {
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): UsePhoneMaskReturn;
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,kBAAkB;IACjC,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,kBAAkB,CAsG/C"}
@@ -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,eAA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B,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.53",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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(
@@ -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 useButtonVariantSecondary = (): ButtonStyles => {
6
6
  return useThemedStyles(
@@ -1,4 +1,4 @@
1
- import { formatDate, isDateAfter, isDateBefore, isDateSameDay, isDateToday, isSameMonth } from "@/utils/date-utils";
1
+ import { formatDate, isDateAfter, isDateBefore, isDateSameDay, isDateToday, isSameMonth } from "../../../utils/date-utils";
2
2
  import React, { useMemo, useState } from "react";
3
3
  import { Pressable, Text, type StyleProp, type TextStyle, type ViewStyle } from "react-native";
4
4
  import { useCalendarContext } from "../context";
@@ -1,4 +1,4 @@
1
- import { addMonths, subMonths } from "@/utils/date-utils";
1
+ import { addMonths, subMonths } from "../../../utils/date-utils";
2
2
  import React, { useState } from "react";
3
3
  import { Pressable, Text, type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from "react-native";
4
4
  import { useCalendarContext } from "../context";
@@ -1,4 +1,4 @@
1
- import { formatDate } from "@/utils/date-utils";
1
+ import { formatDate } from "../../../utils/date-utils";
2
2
  import React from "react";
3
3
  import { Text, type StyleProp, type TextProps, type TextStyle } from "react-native";
4
4
  import { useCalendarContext } from "../context";
@@ -1,4 +1,4 @@
1
- import { getWeekDays, getWeeksInMonth } from "@/utils/date-utils";
1
+ import { getWeekDays, getWeeksInMonth } from "../../../utils/date-utils";
2
2
  import React from "react";
3
3
  import { View, type StyleProp, type ViewProps, type ViewStyle } from "react-native";
4
4
  import { useCalendarContext } from "../context";
@@ -1,5 +1,5 @@
1
- import { type CalendarStyles } from "@/components";
2
- import { useThemedStyles } from "@/utils/use-themed-styles";
1
+ import { type CalendarStyles } from "../..";
2
+ import { useThemedStyles } from "../../../utils/use-themed-styles";
3
3
 
4
4
  export const useCalendarVariantDefault = (): CalendarStyles => {
5
5
  return useThemedStyles(
@@ -1,5 +1,5 @@
1
- import type { PropsWithRender } from "@/types/props.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { PropsWithRender } from "../../types/props.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 { useCard } from "./context";
@@ -1,5 +1,5 @@
1
- import type { PropsWithRender } from "@/types/props.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { PropsWithRender } from "../../types/props.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 { useCard } from "./context";
@@ -1,5 +1,5 @@
1
- import type { PropsWithRender } from "@/types/props.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { PropsWithRender } from "../../types/props.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 { useCard } from "./context";
@@ -1,5 +1,5 @@
1
- import type { PropsWithRender } from "@/types/props.types";
2
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { PropsWithRender } from "../../types/props.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 { CardContext } from "./context";
@@ -1,6 +1,6 @@
1
- import type { TextChildren } from "@/types/element.types";
2
- import type { PropsWithRender } from "@/types/props.types";
3
- import { calculateComposedStyles } from "@/utils/calculate-styles";
1
+ import type { TextChildren } from "../../types/element.types";
2
+ import type { PropsWithRender } from "../../types/props.types";
3
+ import { calculateComposedStyles } from "../../utils/calculate-styles";
4
4
  import React from "react";
5
5
  import { type StyleProp, Text, type TextStyle } from "react-native";
6
6
  import { useCard } from "./context";