@korsolutions/ui 0.0.84 → 0.0.86

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 (467) 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/alert/components/alert-icon.js.map +1 -1
  4. package/dist/module/components/alert/components/alert-root.js +7 -3
  5. package/dist/module/components/alert/components/alert-root.js.map +1 -1
  6. package/dist/module/components/alert-dialog/async-alert-dialog.js.map +1 -1
  7. package/dist/module/components/alert-dialog/components/alert-dialog-root.js +7 -3
  8. package/dist/module/components/alert-dialog/components/alert-dialog-root.js.map +1 -1
  9. package/dist/module/components/alert-dialog/variants/default.js +93 -85
  10. package/dist/module/components/alert-dialog/variants/default.js.map +1 -1
  11. package/dist/module/components/avatar/components/avatar-image.js.map +1 -1
  12. package/dist/module/components/avatar/components/avatar-root.js +7 -3
  13. package/dist/module/components/avatar/components/avatar-root.js.map +1 -1
  14. package/dist/module/components/badge/badge.js +11 -4
  15. package/dist/module/components/badge/badge.js.map +1 -1
  16. package/dist/module/components/button/button.js +7 -3
  17. package/dist/module/components/button/button.js.map +1 -1
  18. package/dist/module/components/button/variants/default.js +48 -44
  19. package/dist/module/components/button/variants/default.js.map +1 -1
  20. package/dist/module/components/button/variants/ghost.js +64 -60
  21. package/dist/module/components/button/variants/ghost.js.map +1 -1
  22. package/dist/module/components/button/variants/secondary.js +66 -62
  23. package/dist/module/components/button/variants/secondary.js.map +1 -1
  24. package/dist/module/components/calendar/calendar/calendar-root.js +6 -2
  25. package/dist/module/components/calendar/calendar/calendar-root.js.map +1 -1
  26. package/dist/module/components/calendar/calendar/calendar-weeks.js +6 -9
  27. package/dist/module/components/calendar/calendar/calendar-weeks.js.map +1 -1
  28. package/dist/module/components/calendar/shared/calendar-context.js.map +1 -1
  29. package/dist/module/components/calendar/shared/calendar-day.js.map +1 -1
  30. package/dist/module/components/calendar/shared/calendar-header.js.map +1 -1
  31. package/dist/module/components/calendar/shared/calendar-nav-buttons.js +4 -4
  32. package/dist/module/components/calendar/shared/calendar-nav-buttons.js.map +1 -1
  33. package/dist/module/components/calendar/shared/calendar-title.js.map +1 -1
  34. package/dist/module/components/calendar/shared/calendar-week-labels.js.map +1 -1
  35. package/dist/module/components/calendar/timeline/calendar-timeline.js.map +1 -1
  36. package/dist/module/components/calendar/week-calendar/week-calendar.js +4 -4
  37. package/dist/module/components/calendar/week-calendar/week-calendar.js.map +1 -1
  38. package/dist/module/components/card/card-root.js +6 -3
  39. package/dist/module/components/card/card-root.js.map +1 -1
  40. package/dist/module/components/checkbox/components/checkbox-root.js +7 -3
  41. package/dist/module/components/checkbox/components/checkbox-root.js.map +1 -1
  42. package/dist/module/components/combobox/components/combobox-content.js.map +1 -1
  43. package/dist/module/components/combobox/components/combobox-option.js.map +1 -1
  44. package/dist/module/components/combobox/components/combobox-overlay.js.map +1 -1
  45. package/dist/module/components/combobox/components/combobox-portal.js.map +1 -1
  46. package/dist/module/components/combobox/components/combobox-root.js +8 -4
  47. package/dist/module/components/combobox/components/combobox-root.js.map +1 -1
  48. package/dist/module/components/combobox/components/combobox-trigger.js.map +1 -1
  49. package/dist/module/components/combobox/context.js.map +1 -1
  50. package/dist/module/components/combobox/variants/default.js +91 -88
  51. package/dist/module/components/combobox/variants/default.js.map +1 -1
  52. package/dist/module/components/empty/components/empty-root.js +6 -2
  53. package/dist/module/components/empty/components/empty-root.js.map +1 -1
  54. package/dist/module/components/field/components/field-label.js.map +1 -1
  55. package/dist/module/components/field/components/field-root.js +6 -2
  56. package/dist/module/components/field/components/field-root.js.map +1 -1
  57. package/dist/module/components/icon/icon.js.map +1 -1
  58. package/dist/module/components/icon-button/icon-button.js +10 -7
  59. package/dist/module/components/icon-button/icon-button.js.map +1 -1
  60. package/dist/module/components/icon-button/variants/default.js +31 -24
  61. package/dist/module/components/icon-button/variants/default.js.map +1 -1
  62. package/dist/module/components/icon-button/variants/ghost.js +32 -25
  63. package/dist/module/components/icon-button/variants/ghost.js.map +1 -1
  64. package/dist/module/components/icon-button/variants/secondary.js +34 -27
  65. package/dist/module/components/icon-button/variants/secondary.js.map +1 -1
  66. package/dist/module/components/index.js +1 -0
  67. package/dist/module/components/index.js.map +1 -1
  68. package/dist/module/components/input/input.js +8 -4
  69. package/dist/module/components/input/input.js.map +1 -1
  70. package/dist/module/components/input/numeric-input.js +0 -1
  71. package/dist/module/components/input/numeric-input.js.map +1 -1
  72. package/dist/module/components/input/variants/default.js +39 -37
  73. package/dist/module/components/input/variants/default.js.map +1 -1
  74. package/dist/module/components/input/variants/secondary.js +39 -37
  75. package/dist/module/components/input/variants/secondary.js.map +1 -1
  76. package/dist/module/components/menu/components/menu-checkbox-item.js.map +1 -1
  77. package/dist/module/components/menu/components/menu-item.js.map +1 -1
  78. package/dist/module/components/menu/components/menu-overlay.js.map +1 -1
  79. package/dist/module/components/menu/components/menu-radio-group.js.map +1 -1
  80. package/dist/module/components/menu/components/menu-radio-item.js.map +1 -1
  81. package/dist/module/components/menu/components/menu-root.js +6 -2
  82. package/dist/module/components/menu/components/menu-root.js.map +1 -1
  83. package/dist/module/components/menu/components/menu-selection-indicator.js +3 -3
  84. package/dist/module/components/menu/components/menu-selection-indicator.js.map +1 -1
  85. package/dist/module/components/menu/components/menu-trigger.js.map +1 -1
  86. package/dist/module/components/menu/context.js.map +1 -1
  87. package/dist/module/components/phone-input/components/country-picker.js.map +1 -1
  88. package/dist/module/components/phone-input/components/phone-input-root.js +9 -4
  89. package/dist/module/components/phone-input/components/phone-input-root.js.map +1 -1
  90. package/dist/module/components/phone-input/components/phone-input.js.map +1 -1
  91. package/dist/module/components/phone-input/context.js.map +1 -1
  92. package/dist/module/components/phone-input/variants/default.js +115 -112
  93. package/dist/module/components/phone-input/variants/default.js.map +1 -1
  94. package/dist/module/components/popover/components/popover-overlay.js.map +1 -1
  95. package/dist/module/components/popover/components/popover-root.js +6 -2
  96. package/dist/module/components/popover/components/popover-root.js.map +1 -1
  97. package/dist/module/components/popover/components/popover-trigger.js.map +1 -1
  98. package/dist/module/components/portal/portal.js.map +1 -1
  99. package/dist/module/components/progress/components/progress-indicator.js.map +1 -1
  100. package/dist/module/components/progress/components/progress-root.js +6 -3
  101. package/dist/module/components/progress/components/progress-root.js.map +1 -1
  102. package/dist/module/components/radio-group/components/radio-group-item.js.map +1 -1
  103. package/dist/module/components/radio-group/components/radio-group-root.js +7 -3
  104. package/dist/module/components/radio-group/components/radio-group-root.js.map +1 -1
  105. package/dist/module/components/select/components/select-content.js.map +1 -1
  106. package/dist/module/components/select/components/select-option.js.map +1 -1
  107. package/dist/module/components/select/components/select-overlay.js.map +1 -1
  108. package/dist/module/components/select/components/select-portal.js.map +1 -1
  109. package/dist/module/components/select/components/select-root.js +8 -5
  110. package/dist/module/components/select/components/select-root.js.map +1 -1
  111. package/dist/module/components/select/components/select-trigger.js.map +1 -1
  112. package/dist/module/components/select/variants/default.js +75 -73
  113. package/dist/module/components/select/variants/default.js.map +1 -1
  114. package/dist/module/components/separator/separator.js +5 -1
  115. package/dist/module/components/separator/separator.js.map +1 -1
  116. package/dist/module/components/spinner/spinner.js +7 -3
  117. package/dist/module/components/spinner/spinner.js.map +1 -1
  118. package/dist/module/components/table/context.js +12 -0
  119. package/dist/module/components/table/context.js.map +1 -0
  120. package/dist/module/components/table/index.js +17 -0
  121. package/dist/module/components/table/index.js.map +1 -0
  122. package/dist/module/components/table/table-body.js +17 -0
  123. package/dist/module/components/table/table-body.js.map +1 -0
  124. package/dist/module/components/table/table-cell.js +17 -0
  125. package/dist/module/components/table/table-cell.js.map +1 -0
  126. package/dist/module/components/table/table-head.js +17 -0
  127. package/dist/module/components/table/table-head.js.map +1 -0
  128. package/dist/module/components/table/table-header.js +17 -0
  129. package/dist/module/components/table/table-header.js.map +1 -0
  130. package/dist/module/components/table/table-root.js +27 -0
  131. package/dist/module/components/table/table-root.js.map +1 -0
  132. package/dist/module/components/table/table-row.js +17 -0
  133. package/dist/module/components/table/table-row.js.map +1 -0
  134. package/dist/module/components/table/types.js +4 -0
  135. package/dist/module/components/table/types.js.map +1 -0
  136. package/dist/module/components/table/variants/default.js +48 -0
  137. package/dist/module/components/table/variants/default.js.map +1 -0
  138. package/dist/module/components/table/variants/index.js +7 -0
  139. package/dist/module/components/table/variants/index.js.map +1 -0
  140. package/dist/module/components/tabs/components/tabs-item.js.map +1 -1
  141. package/dist/module/components/tabs/components/tabs-root.js +7 -3
  142. package/dist/module/components/tabs/components/tabs-root.js.map +1 -1
  143. package/dist/module/components/textarea/textarea.js +7 -3
  144. package/dist/module/components/textarea/textarea.js.map +1 -1
  145. package/dist/module/components/toast/components/toast-icon.js.map +1 -1
  146. package/dist/module/components/toast/components/toast-root.js +6 -2
  147. package/dist/module/components/toast/components/toast-root.js.map +1 -1
  148. package/dist/module/components/toast/manager.js +3 -3
  149. package/dist/module/components/toast/manager.js.map +1 -1
  150. package/dist/module/components/touchable/touchable.js +5 -1
  151. package/dist/module/components/touchable/touchable.js.map +1 -1
  152. package/dist/module/hooks/use-color-scheme.js.map +1 -1
  153. package/dist/module/hooks/use-is-react-navigation-modal.js.map +1 -1
  154. package/dist/module/hooks/use-numeric-mask.js.map +1 -1
  155. package/dist/module/hooks/use-phone-mask.js.map +1 -1
  156. package/dist/module/hooks/use-relative-position.js.map +1 -1
  157. package/dist/module/hooks/use-screen-size.js.map +1 -1
  158. package/dist/module/index.js +1 -1
  159. package/dist/module/index.js.map +1 -1
  160. package/dist/module/themes/default/index.js +1 -0
  161. package/dist/module/themes/default/index.js.map +1 -1
  162. package/dist/module/themes/index.js +2 -2
  163. package/dist/module/themes/index.js.map +1 -1
  164. package/dist/module/themes/provider.js +6 -1
  165. package/dist/module/themes/provider.js.map +1 -1
  166. package/dist/module/themes/types.js +2 -0
  167. package/dist/module/themes/utils.js +2 -1
  168. package/dist/module/themes/utils.js.map +1 -1
  169. package/dist/module/utils/calculate-styles.js +26 -0
  170. package/dist/module/utils/calculate-styles.js.map +1 -1
  171. package/dist/module/utils/date-utils.js.map +1 -1
  172. package/dist/module/utils/input-utils.js.map +1 -1
  173. package/dist/module/utils/normalize-layout.js.map +1 -1
  174. package/dist/module/utils/size-scale.js +42 -0
  175. package/dist/module/utils/size-scale.js.map +1 -0
  176. package/dist/module/utils/use-themed-styles.js +4 -1
  177. package/dist/module/utils/use-themed-styles.js.map +1 -1
  178. package/dist/typescript/src/components/alert/components/alert-description.d.ts.map +1 -1
  179. package/dist/typescript/src/components/alert/components/alert-icon.d.ts.map +1 -1
  180. package/dist/typescript/src/components/alert/components/alert-root.d.ts +1 -1
  181. package/dist/typescript/src/components/alert/components/alert-root.d.ts.map +1 -1
  182. package/dist/typescript/src/components/alert-dialog/async-alert-dialog.d.ts.map +1 -1
  183. package/dist/typescript/src/components/alert-dialog/components/alert-dialog-root.d.ts +2 -0
  184. package/dist/typescript/src/components/alert-dialog/components/alert-dialog-root.d.ts.map +1 -1
  185. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts +3 -2
  186. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts.map +1 -1
  187. package/dist/typescript/src/components/alert-dialog/variants/index.d.ts +1 -1
  188. package/dist/typescript/src/components/avatar/components/avatar-image.d.ts.map +1 -1
  189. package/dist/typescript/src/components/avatar/components/avatar-root.d.ts.map +1 -1
  190. package/dist/typescript/src/components/badge/badge.d.ts.map +1 -1
  191. package/dist/typescript/src/components/button/button.d.ts +2 -0
  192. package/dist/typescript/src/components/button/button.d.ts.map +1 -1
  193. package/dist/typescript/src/components/button/types.d.ts.map +1 -1
  194. package/dist/typescript/src/components/button/variants/default.d.ts +2 -1
  195. package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -1
  196. package/dist/typescript/src/components/button/variants/ghost.d.ts +2 -1
  197. package/dist/typescript/src/components/button/variants/ghost.d.ts.map +1 -1
  198. package/dist/typescript/src/components/button/variants/index.d.ts +3 -3
  199. package/dist/typescript/src/components/button/variants/secondary.d.ts +2 -1
  200. package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -1
  201. package/dist/typescript/src/components/calendar/calendar/calendar-root.d.ts.map +1 -1
  202. package/dist/typescript/src/components/calendar/calendar/calendar-weeks.d.ts.map +1 -1
  203. package/dist/typescript/src/components/calendar/index.d.ts +1 -1
  204. package/dist/typescript/src/components/calendar/index.d.ts.map +1 -1
  205. package/dist/typescript/src/components/calendar/shared/calendar-context.d.ts.map +1 -1
  206. package/dist/typescript/src/components/calendar/shared/calendar-day.d.ts.map +1 -1
  207. package/dist/typescript/src/components/calendar/shared/calendar-header.d.ts.map +1 -1
  208. package/dist/typescript/src/components/calendar/shared/calendar-nav-buttons.d.ts.map +1 -1
  209. package/dist/typescript/src/components/calendar/shared/calendar-title.d.ts.map +1 -1
  210. package/dist/typescript/src/components/calendar/shared/calendar-week-labels.d.ts.map +1 -1
  211. package/dist/typescript/src/components/calendar/shared/types.d.ts.map +1 -1
  212. package/dist/typescript/src/components/calendar/timeline/calendar-timeline.d.ts.map +1 -1
  213. package/dist/typescript/src/components/calendar/timeline/index.d.ts +1 -1
  214. package/dist/typescript/src/components/calendar/timeline/index.d.ts.map +1 -1
  215. package/dist/typescript/src/components/calendar/week-calendar/week-calendar.d.ts.map +1 -1
  216. package/dist/typescript/src/components/card/card-root.d.ts +1 -1
  217. package/dist/typescript/src/components/card/card-root.d.ts.map +1 -1
  218. package/dist/typescript/src/components/checkbox/components/checkbox-root.d.ts.map +1 -1
  219. package/dist/typescript/src/components/combobox/components/combobox-content.d.ts.map +1 -1
  220. package/dist/typescript/src/components/combobox/components/combobox-option.d.ts.map +1 -1
  221. package/dist/typescript/src/components/combobox/components/combobox-overlay.d.ts.map +1 -1
  222. package/dist/typescript/src/components/combobox/components/combobox-portal.d.ts.map +1 -1
  223. package/dist/typescript/src/components/combobox/components/combobox-root.d.ts +2 -0
  224. package/dist/typescript/src/components/combobox/components/combobox-root.d.ts.map +1 -1
  225. package/dist/typescript/src/components/combobox/components/combobox-trigger.d.ts.map +1 -1
  226. package/dist/typescript/src/components/combobox/context.d.ts.map +1 -1
  227. package/dist/typescript/src/components/combobox/variants/default.d.ts +2 -1
  228. package/dist/typescript/src/components/combobox/variants/default.d.ts.map +1 -1
  229. package/dist/typescript/src/components/empty/components/empty-root.d.ts.map +1 -1
  230. package/dist/typescript/src/components/field/components/field-label.d.ts.map +1 -1
  231. package/dist/typescript/src/components/field/components/field-root.d.ts.map +1 -1
  232. package/dist/typescript/src/components/icon/icon.d.ts.map +1 -1
  233. package/dist/typescript/src/components/icon-button/icon-button.d.ts +2 -1
  234. package/dist/typescript/src/components/icon-button/icon-button.d.ts.map +1 -1
  235. package/dist/typescript/src/components/icon-button/variants/default.d.ts +2 -1
  236. package/dist/typescript/src/components/icon-button/variants/default.d.ts.map +1 -1
  237. package/dist/typescript/src/components/icon-button/variants/ghost.d.ts +2 -1
  238. package/dist/typescript/src/components/icon-button/variants/ghost.d.ts.map +1 -1
  239. package/dist/typescript/src/components/icon-button/variants/index.d.ts +3 -3
  240. package/dist/typescript/src/components/icon-button/variants/secondary.d.ts +2 -1
  241. package/dist/typescript/src/components/icon-button/variants/secondary.d.ts.map +1 -1
  242. package/dist/typescript/src/components/index.d.ts +1 -0
  243. package/dist/typescript/src/components/index.d.ts.map +1 -1
  244. package/dist/typescript/src/components/input/input.d.ts +2 -0
  245. package/dist/typescript/src/components/input/input.d.ts.map +1 -1
  246. package/dist/typescript/src/components/input/numeric-input.d.ts +1 -1
  247. package/dist/typescript/src/components/input/numeric-input.d.ts.map +1 -1
  248. package/dist/typescript/src/components/input/variants/default.d.ts +2 -1
  249. package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -1
  250. package/dist/typescript/src/components/input/variants/secondary.d.ts +3 -2
  251. package/dist/typescript/src/components/input/variants/secondary.d.ts.map +1 -1
  252. package/dist/typescript/src/components/menu/components/menu-checkbox-item.d.ts.map +1 -1
  253. package/dist/typescript/src/components/menu/components/menu-item.d.ts.map +1 -1
  254. package/dist/typescript/src/components/menu/components/menu-overlay.d.ts.map +1 -1
  255. package/dist/typescript/src/components/menu/components/menu-radio-group.d.ts.map +1 -1
  256. package/dist/typescript/src/components/menu/components/menu-radio-item.d.ts.map +1 -1
  257. package/dist/typescript/src/components/menu/components/menu-root.d.ts.map +1 -1
  258. package/dist/typescript/src/components/menu/components/menu-selection-indicator.d.ts +1 -1
  259. package/dist/typescript/src/components/menu/components/menu-selection-indicator.d.ts.map +1 -1
  260. package/dist/typescript/src/components/menu/components/menu-trigger.d.ts.map +1 -1
  261. package/dist/typescript/src/components/menu/context.d.ts.map +1 -1
  262. package/dist/typescript/src/components/menu/types.d.ts.map +1 -1
  263. package/dist/typescript/src/components/phone-input/components/country-picker.d.ts.map +1 -1
  264. package/dist/typescript/src/components/phone-input/components/phone-input-root.d.ts +3 -1
  265. package/dist/typescript/src/components/phone-input/components/phone-input-root.d.ts.map +1 -1
  266. package/dist/typescript/src/components/phone-input/components/phone-input.d.ts +1 -1
  267. package/dist/typescript/src/components/phone-input/components/phone-input.d.ts.map +1 -1
  268. package/dist/typescript/src/components/phone-input/context.d.ts.map +1 -1
  269. package/dist/typescript/src/components/phone-input/types.d.ts.map +1 -1
  270. package/dist/typescript/src/components/phone-input/variants/default.d.ts +2 -1
  271. package/dist/typescript/src/components/phone-input/variants/default.d.ts.map +1 -1
  272. package/dist/typescript/src/components/popover/components/popover-overlay.d.ts.map +1 -1
  273. package/dist/typescript/src/components/popover/components/popover-root.d.ts.map +1 -1
  274. package/dist/typescript/src/components/popover/components/popover-trigger.d.ts.map +1 -1
  275. package/dist/typescript/src/components/portal/portal.d.ts +2 -2
  276. package/dist/typescript/src/components/portal/portal.d.ts.map +1 -1
  277. package/dist/typescript/src/components/progress/components/progress-indicator.d.ts.map +1 -1
  278. package/dist/typescript/src/components/progress/components/progress-root.d.ts.map +1 -1
  279. package/dist/typescript/src/components/radio-group/components/radio-group-item.d.ts.map +1 -1
  280. package/dist/typescript/src/components/radio-group/components/radio-group-root.d.ts.map +1 -1
  281. package/dist/typescript/src/components/select/components/select-content.d.ts.map +1 -1
  282. package/dist/typescript/src/components/select/components/select-option.d.ts.map +1 -1
  283. package/dist/typescript/src/components/select/components/select-overlay.d.ts.map +1 -1
  284. package/dist/typescript/src/components/select/components/select-portal.d.ts.map +1 -1
  285. package/dist/typescript/src/components/select/components/select-root.d.ts +2 -0
  286. package/dist/typescript/src/components/select/components/select-root.d.ts.map +1 -1
  287. package/dist/typescript/src/components/select/components/select-trigger.d.ts.map +1 -1
  288. package/dist/typescript/src/components/select/variants/default.d.ts +3 -2
  289. package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -1
  290. package/dist/typescript/src/components/separator/separator.d.ts.map +1 -1
  291. package/dist/typescript/src/components/spinner/spinner.d.ts.map +1 -1
  292. package/dist/typescript/src/components/table/context.d.ts +8 -0
  293. package/dist/typescript/src/components/table/context.d.ts.map +1 -0
  294. package/dist/typescript/src/components/table/index.d.ts +22 -0
  295. package/dist/typescript/src/components/table/index.d.ts.map +1 -0
  296. package/dist/typescript/src/components/table/table-body.d.ts +9 -0
  297. package/dist/typescript/src/components/table/table-body.d.ts.map +1 -0
  298. package/dist/typescript/src/components/table/table-cell.d.ts +9 -0
  299. package/dist/typescript/src/components/table/table-cell.d.ts.map +1 -0
  300. package/dist/typescript/src/components/table/table-head.d.ts +9 -0
  301. package/dist/typescript/src/components/table/table-head.d.ts.map +1 -0
  302. package/dist/typescript/src/components/table/table-header.d.ts +9 -0
  303. package/dist/typescript/src/components/table/table-header.d.ts.map +1 -0
  304. package/dist/typescript/src/components/table/table-root.d.ts +11 -0
  305. package/dist/typescript/src/components/table/table-root.d.ts.map +1 -0
  306. package/dist/typescript/src/components/table/table-row.d.ts +9 -0
  307. package/dist/typescript/src/components/table/table-row.d.ts.map +1 -0
  308. package/dist/typescript/src/components/table/types.d.ts +16 -0
  309. package/dist/typescript/src/components/table/types.d.ts.map +1 -0
  310. package/dist/typescript/src/components/table/variants/default.d.ts +3 -0
  311. package/dist/typescript/src/components/table/variants/default.d.ts.map +1 -0
  312. package/dist/typescript/src/components/table/variants/index.d.ts +5 -0
  313. package/dist/typescript/src/components/table/variants/index.d.ts.map +1 -0
  314. package/dist/typescript/src/components/tabs/components/tabs-item.d.ts.map +1 -1
  315. package/dist/typescript/src/components/tabs/components/tabs-root.d.ts.map +1 -1
  316. package/dist/typescript/src/components/textarea/textarea.d.ts.map +1 -1
  317. package/dist/typescript/src/components/toast/components/toast-icon.d.ts.map +1 -1
  318. package/dist/typescript/src/components/toast/components/toast-root.d.ts.map +1 -1
  319. package/dist/typescript/src/components/toast/manager.d.ts.map +1 -1
  320. package/dist/typescript/src/components/touchable/touchable.d.ts.map +1 -1
  321. package/dist/typescript/src/hooks/use-color-scheme.d.ts.map +1 -1
  322. package/dist/typescript/src/hooks/use-is-react-navigation-modal.d.ts.map +1 -1
  323. package/dist/typescript/src/hooks/use-numeric-mask.d.ts.map +1 -1
  324. package/dist/typescript/src/hooks/use-phone-mask.d.ts.map +1 -1
  325. package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -1
  326. package/dist/typescript/src/hooks/use-screen-size.d.ts.map +1 -1
  327. package/dist/typescript/src/index.d.ts +5 -2
  328. package/dist/typescript/src/index.d.ts.map +1 -1
  329. package/dist/typescript/src/themes/default/index.d.ts.map +1 -1
  330. package/dist/typescript/src/themes/index.d.ts +2 -2
  331. package/dist/typescript/src/themes/index.d.ts.map +1 -1
  332. package/dist/typescript/src/themes/provider.d.ts +3 -19
  333. package/dist/typescript/src/themes/provider.d.ts.map +1 -1
  334. package/dist/typescript/src/themes/types.d.ts +124 -0
  335. package/dist/typescript/src/themes/types.d.ts.map +1 -1
  336. package/dist/typescript/src/themes/utils.d.ts.map +1 -1
  337. package/dist/typescript/src/utils/calculate-styles.d.ts +1 -0
  338. package/dist/typescript/src/utils/calculate-styles.d.ts.map +1 -1
  339. package/dist/typescript/src/utils/date-utils.d.ts.map +1 -1
  340. package/dist/typescript/src/utils/input-utils.d.ts.map +1 -1
  341. package/dist/typescript/src/utils/normalize-layout.d.ts.map +1 -1
  342. package/dist/typescript/src/utils/size-scale.d.ts +20 -0
  343. package/dist/typescript/src/utils/size-scale.d.ts.map +1 -0
  344. package/dist/typescript/src/utils/use-themed-styles.d.ts +5 -0
  345. package/dist/typescript/src/utils/use-themed-styles.d.ts.map +1 -1
  346. package/package.json +9 -8
  347. package/src/components/alert/components/alert-description.tsx +1 -3
  348. package/src/components/alert/components/alert-icon.tsx +4 -1
  349. package/src/components/alert/components/alert-root.tsx +9 -4
  350. package/src/components/alert-dialog/async-alert-dialog.tsx +6 -25
  351. package/src/components/alert-dialog/components/alert-dialog-root.tsx +10 -3
  352. package/src/components/alert-dialog/variants/default.tsx +88 -79
  353. package/src/components/avatar/components/avatar-image.tsx +1 -6
  354. package/src/components/avatar/components/avatar-root.tsx +8 -3
  355. package/src/components/badge/badge.tsx +10 -12
  356. package/src/components/button/button.tsx +13 -23
  357. package/src/components/button/types.ts +1 -5
  358. package/src/components/button/variants/default.tsx +14 -10
  359. package/src/components/button/variants/ghost.tsx +14 -10
  360. package/src/components/button/variants/secondary.tsx +14 -10
  361. package/src/components/calendar/calendar/calendar-root.tsx +6 -2
  362. package/src/components/calendar/calendar/calendar-weeks.tsx +7 -13
  363. package/src/components/calendar/index.ts +1 -5
  364. package/src/components/calendar/shared/calendar-context.ts +2 -6
  365. package/src/components/calendar/shared/calendar-day.tsx +4 -12
  366. package/src/components/calendar/shared/calendar-header.tsx +1 -6
  367. package/src/components/calendar/shared/calendar-nav-buttons.tsx +9 -28
  368. package/src/components/calendar/shared/calendar-title.tsx +1 -6
  369. package/src/components/calendar/shared/calendar-week-labels.tsx +1 -7
  370. package/src/components/calendar/shared/types.ts +1 -6
  371. package/src/components/calendar/timeline/calendar-timeline.tsx +3 -9
  372. package/src/components/calendar/timeline/index.ts +1 -4
  373. package/src/components/calendar/week-calendar/week-calendar.tsx +10 -25
  374. package/src/components/card/card-root.tsx +8 -4
  375. package/src/components/checkbox/components/checkbox-root.tsx +13 -4
  376. package/src/components/combobox/components/combobox-content.tsx +2 -11
  377. package/src/components/combobox/components/combobox-option.tsx +1 -2
  378. package/src/components/combobox/components/combobox-overlay.tsx +1 -6
  379. package/src/components/combobox/components/combobox-portal.tsx +1 -3
  380. package/src/components/combobox/components/combobox-root.tsx +23 -24
  381. package/src/components/combobox/components/combobox-trigger.tsx +2 -7
  382. package/src/components/combobox/context.ts +1 -3
  383. package/src/components/combobox/variants/default.tsx +17 -14
  384. package/src/components/empty/components/empty-root.tsx +7 -2
  385. package/src/components/field/components/field-label.tsx +3 -1
  386. package/src/components/field/components/field-root.tsx +7 -2
  387. package/src/components/icon/icon.tsx +1 -4
  388. package/src/components/icon-button/icon-button.tsx +16 -15
  389. package/src/components/icon-button/variants/default.tsx +12 -6
  390. package/src/components/icon-button/variants/ghost.tsx +12 -6
  391. package/src/components/icon-button/variants/secondary.tsx +12 -6
  392. package/src/components/index.ts +1 -0
  393. package/src/components/input/input.tsx +11 -5
  394. package/src/components/input/numeric-input.tsx +2 -9
  395. package/src/components/input/variants/default.tsx +11 -9
  396. package/src/components/input/variants/secondary.tsx +12 -10
  397. package/src/components/menu/components/menu-checkbox-item.tsx +2 -9
  398. package/src/components/menu/components/menu-item.tsx +2 -10
  399. package/src/components/menu/components/menu-overlay.tsx +1 -6
  400. package/src/components/menu/components/menu-radio-group.tsx +1 -5
  401. package/src/components/menu/components/menu-radio-item.tsx +1 -5
  402. package/src/components/menu/components/menu-root.tsx +10 -2
  403. package/src/components/menu/components/menu-selection-indicator.tsx +4 -6
  404. package/src/components/menu/components/menu-trigger.tsx +32 -34
  405. package/src/components/menu/context.ts +3 -3
  406. package/src/components/menu/types.ts +1 -5
  407. package/src/components/phone-input/components/country-picker.tsx +6 -21
  408. package/src/components/phone-input/components/phone-input-root.tsx +14 -9
  409. package/src/components/phone-input/components/phone-input.tsx +5 -20
  410. package/src/components/phone-input/context.ts +1 -3
  411. package/src/components/phone-input/types.ts +2 -6
  412. package/src/components/phone-input/variants/default.tsx +21 -18
  413. package/src/components/popover/components/popover-overlay.tsx +7 -1
  414. package/src/components/popover/components/popover-root.tsx +10 -2
  415. package/src/components/popover/components/popover-trigger.tsx +1 -4
  416. package/src/components/portal/portal.tsx +6 -26
  417. package/src/components/progress/components/progress-indicator.tsx +13 -2
  418. package/src/components/progress/components/progress-root.tsx +6 -3
  419. package/src/components/radio-group/components/radio-group-item.tsx +1 -5
  420. package/src/components/radio-group/components/radio-group-root.tsx +7 -3
  421. package/src/components/select/components/select-content.tsx +1 -5
  422. package/src/components/select/components/select-option.tsx +5 -1
  423. package/src/components/select/components/select-overlay.tsx +6 -1
  424. package/src/components/select/components/select-portal.tsx +1 -3
  425. package/src/components/select/components/select-root.tsx +10 -5
  426. package/src/components/select/components/select-trigger.tsx +3 -13
  427. package/src/components/select/variants/default.tsx +16 -14
  428. package/src/components/separator/separator.tsx +5 -1
  429. package/src/components/spinner/spinner.tsx +8 -9
  430. package/src/components/table/context.ts +17 -0
  431. package/src/components/table/index.ts +23 -0
  432. package/src/components/table/table-body.tsx +20 -0
  433. package/src/components/table/table-cell.tsx +20 -0
  434. package/src/components/table/table-head.tsx +20 -0
  435. package/src/components/table/table-header.tsx +20 -0
  436. package/src/components/table/table-root.tsx +35 -0
  437. package/src/components/table/table-row.tsx +20 -0
  438. package/src/components/table/types.ts +17 -0
  439. package/src/components/table/variants/default.tsx +46 -0
  440. package/src/components/table/variants/index.ts +5 -0
  441. package/src/components/tabs/components/tabs-item.tsx +5 -25
  442. package/src/components/tabs/components/tabs-root.tsx +9 -10
  443. package/src/components/textarea/textarea.tsx +7 -3
  444. package/src/components/toast/components/toast-icon.tsx +2 -8
  445. package/src/components/toast/components/toast-root.tsx +6 -2
  446. package/src/components/toast/manager.tsx +4 -6
  447. package/src/components/touchable/touchable.tsx +7 -7
  448. package/src/hooks/use-color-scheme.ts +1 -4
  449. package/src/hooks/use-currency-mask.ts +4 -4
  450. package/src/hooks/use-is-react-navigation-modal.ts +4 -13
  451. package/src/hooks/use-numeric-mask.ts +10 -5
  452. package/src/hooks/use-phone-mask.ts +6 -18
  453. package/src/hooks/use-relative-position.ts +8 -24
  454. package/src/hooks/use-screen-size.ts +8 -3
  455. package/src/index.tsx +5 -6
  456. package/src/themes/default/index.ts +1 -0
  457. package/src/themes/index.ts +2 -2
  458. package/src/themes/provider.tsx +10 -25
  459. package/src/themes/types.ts +126 -0
  460. package/src/themes/utils.ts +1 -0
  461. package/src/utils/calculate-styles.ts +42 -2
  462. package/src/utils/date-utils.ts +23 -3
  463. package/src/utils/input-utils.ts +1 -4
  464. package/src/utils/normalize-layout.ts +3 -1
  465. package/src/utils/size-scale.ts +45 -0
  466. package/src/utils/use-themed-styles.ts +10 -10
  467. package/tsconfig.json +5 -15
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-head.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/table-head.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,qBAO/D"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { PropsWithRender } from "../../types/props.types";
4
+ export interface TableHeaderProps {
5
+ children?: React.ReactNode;
6
+ style?: StyleProp<ViewStyle>;
7
+ }
8
+ export declare function TableHeader(props: PropsWithRender<TableHeaderProps>): React.JSX.Element;
9
+ //# sourceMappingURL=table-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/table-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,CAAC,gBAAgB,CAAC,qBAOnE"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { PropsWithRender } from "../../types/props.types";
4
+ import { TableVariants } from "./variants";
5
+ export interface TableRootProps {
6
+ variant?: keyof typeof TableVariants;
7
+ children?: React.ReactNode;
8
+ style?: StyleProp<ViewStyle>;
9
+ }
10
+ export declare function TableRoot(props: PropsWithRender<TableRootProps>): React.JSX.Element;
11
+ //# sourceMappingURL=table-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/table-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,qBAmB/D"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import type { PropsWithRender } from "../../types/props.types";
4
+ export interface TableRowProps {
5
+ children?: React.ReactNode;
6
+ style?: StyleProp<ViewStyle>;
7
+ }
8
+ export declare function TableRow(props: PropsWithRender<TableRowProps>): React.JSX.Element;
9
+ //# sourceMappingURL=table-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC,qBAO7D"}
@@ -0,0 +1,16 @@
1
+ import type { TableBodyProps } from "./table-body";
2
+ import type { TableCellProps } from "./table-cell";
3
+ import type { TableHeadProps } from "./table-head";
4
+ import type { TableHeaderProps } from "./table-header";
5
+ import type { TableRootProps } from "./table-root";
6
+ import type { TableRowProps } from "./table-row";
7
+ export type TableState = "default";
8
+ export interface TableStyles {
9
+ root?: Partial<Record<TableState, TableRootProps["style"]>>;
10
+ header?: Partial<Record<TableState, TableHeaderProps["style"]>>;
11
+ body?: Partial<Record<TableState, TableBodyProps["style"]>>;
12
+ row?: Partial<Record<TableState, TableRowProps["style"]>>;
13
+ head?: Partial<Record<TableState, TableHeadProps["style"]>>;
14
+ cell?: Partial<Record<TableState, TableCellProps["style"]>>;
15
+ }
16
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC;AAEnC,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChE,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,GAAG,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CAC7D"}
@@ -0,0 +1,3 @@
1
+ import type { TableStyles } from "../types";
2
+ export declare function useTableVariantDefault(): TableStyles;
3
+ //# sourceMappingURL=default.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/table/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,WAAW,CA0CpD"}
@@ -0,0 +1,5 @@
1
+ import { useTableVariantDefault } from "./default";
2
+ export declare const TableVariants: {
3
+ default: typeof useTableVariantDefault;
4
+ };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/table/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAEnD,eAAO,MAAM,aAAa;;CAEzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/components/tabs-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAmBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBA2D5C"}
1
+ {"version":3,"file":"tabs-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/components/tabs-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAmBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBAuC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/components/tabs-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBAqB5C"}
1
+ {"version":3,"file":"tabs-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tabs/components/tabs-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhG,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBAwB5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IACjE,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAE1C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,OAAO,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,CAAC;CACpD;AAYD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,+BA+B5C"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAI9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IACjE,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAE1C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,OAAO,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,CAAC;CACpD;AAYD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,+BAiC5C"}
@@ -1 +1 @@
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,QAAQ,CAAC,qBAUnC"}
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,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAGpF,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEtC,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,CAAC,QAAQ,CAAC,qBAU3F"}
@@ -1 +1 @@
1
- {"version":3,"file":"toast-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/components/toast-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;IAEpD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAc9C"}
1
+ {"version":3,"file":"toast-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/components/toast-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;IAEpD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAgB9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../../src/components/toast/manager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAUpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,iBAAiB,iBAAiB,CAAC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AU;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,qBAc/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"touchable.d.ts","sourceRoot":"","sources":["../../../../../src/components/touchable/touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,KAAK,wBAAwB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAEjE,MAAM,WAAW,cAAe,SAAQ,wBAAwB;IAC9D,OAAO,CAAC,EAAE,MAAM,OAAO,iBAAiB,CAAC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAaD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAwC9C"}
1
+ {"version":3,"file":"touchable.d.ts","sourceRoot":"","sources":["../../../../../src/components/touchable/touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAI9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,KAAK,wBAAwB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAEjE,MAAM,WAAW,cAAe,SAAQ,wBAAwB;IAC9D,OAAO,CAAC,EAAE,MAAM,OAAO,iBAAiB,CAAC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAaD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAsC9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-color-scheme.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-color-scheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAgBlE,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACjD;AAED,wBAAgB,cAAc,CAAC,EAAE,kBAAkB,EAAE,EAAE,mBAAmB;;6BAMxC,WAAW;EAe5C"}
1
+ {"version":3,"file":"use-color-scheme.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-color-scheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAgBlE,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACjD;AAED,wBAAgB,cAAc,CAAC,EAAE,kBAAkB,EAAE,EAAE,mBAAmB;;6BAMxC,WAAW;EAY5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-is-react-navigation-modal.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-is-react-navigation-modal.ts"],"names":[],"mappings":"AAQA,wBAAgB,mCAAmC,SAoBlD;AAwBD,wBAAgB,yBAAyB,YAGxC"}
1
+ {"version":3,"file":"use-is-react-navigation-modal.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-is-react-navigation-modal.ts"],"names":[],"mappings":"AAOA,wBAAgB,mCAAmC,SAgBlD;AAoBD,wBAAgB,yBAAyB,YAGxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-numeric-mask.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-numeric-mask.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,YAAY,CAAC;A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IACjC,YAAY,EAAE,WAAW,CAAC;CAC3B;AAgDD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EAAE,eAAe,EACtB,cAAqB,EACrB,QAAQ,EACR,eAAe,EACf,SAAS,EAAE,eAAe,GAC3B,GAAE,mBAAwB,GAAG,SAAS,CAgGtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-relative-position.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-relative-position.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGtE,KAAK,uBAAuB,GAAG,IAAI,CACjC,mBAAmB,EACnB,YAAY,GAAG,QAAQ,CACxB,CAAC;AAEF,KAAK,mBAAmB,GAAG,eAAe,GACxC,mBAAmB,GACnB,oBAAoB,CAAC;AAEvB,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,eAAe,EACf,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,EAAE,uBAAuB,GAAG,SAAS,CA2ErC;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,EAAE,cAAc,CAAC;CACxB;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;AAkFF,UAAU,oBAAqB,SAAQ,eAAe;IACpD,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"use-relative-position.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-relative-position.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGtE,KAAK,uBAAuB,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,QAAQ,CAAC,CAAC;AAElF,KAAK,mBAAmB,GAAG,eAAe,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAExF,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,eAAe,EACf,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,EAAE,uBAAuB,GAAG,SAAS,CAyErC;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,EAAE,cAAc,CAAC;CACxB;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;AA6EF,UAAU,oBAAqB,SAAQ,eAAe;IACpD,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-screen-size.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-screen-size.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD,UAAU,QAAQ;IAChB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,GAAG;SAAG,QAAQ,IAAI,UAAU,GAAG,CAAC;KAAE,GAAG,CAAC,CAAC;IAC3G,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CACnE;AAED,wBAAgB,aAAa,IAAI,QAAQ,CAwBxC"}
1
+ {"version":3,"file":"use-screen-size.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-screen-size.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD,UAAU,QAAQ;IAChB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,MAAM,CAAC,CAAC,EACN,SAAS,EAAE,CAAC;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,GAAG;SAAG,QAAQ,IAAI,UAAU,GAAG,CAAC;KAAE,GAC3F,CAAC,CAAC;IACL,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE;SAAG,IAAI,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;KAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CACnE;AAED,wBAAgB,aAAa,IAAI,QAAQ,CA2BxC"}
@@ -1,6 +1,7 @@
1
1
  import { type PortalHostProps } from "./components/portal/portal.constants";
2
2
  import { type SafeAreaInsets } from "./safe-area";
3
- import { type ComponentsConfig, type ThemeProviderProps } from "./themes";
3
+ import { type ThemeProviderProps } from "./themes/provider";
4
+ import type { ComponentsConfig } from "./themes/types";
4
5
  export interface ProviderProps {
5
6
  children: React.ReactNode;
6
7
  portalContainer?: PortalHostProps["container"];
@@ -12,8 +13,10 @@ export declare const UIProvider: ({ children, portalContainer, theme, safeAreaIn
12
13
  export * from "./hooks/use-screen-size";
13
14
  export * from "./themes/adapters";
14
15
  export * from "./themes/default";
15
- export { useTheme, type ComponentsConfig } from "./themes/provider";
16
+ export { useTheme } from "./themes/provider";
16
17
  export * from "./themes/types";
17
18
  export * from "./components";
18
19
  export * from "./safe-area";
20
+ export type { Size } from "./utils/size-scale";
21
+ export type { SvgProps } from "./types/props.types";
19
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAG5E,OAAO,EAAoB,KAAK,cAAc,EAAE,MA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GAAI,mEAMxB,aAAa,gCAef,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;AAC5B,YAAY,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/default/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,eAAO,MAAM,kBAAkB,EAAE,WAShC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/default/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,eAAO,MAAM,kBAAkB,EAAE,WAUhC,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from "./provider";
2
- export * from "./types";
3
1
  export * from "./adapters/react-navigation";
2
+ export { ThemeProvider, useTheme } from "./provider";
3
+ export * from "./types";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACrD,cAAc,SAAS,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { type PropsWithChildren } from "react";
2
- import type { ToastVariants } from "../components/toast/variants";
3
- import type { SvgProps } from "../types/props.types";
4
2
  import type { DeepPartial } from "../types/util.types";
5
- import type { Colors, ColorScheme, FontFamily, FontSize, LetterSpacing, Radius, StorageClient, ThemeAssets } from "./types";
3
+ import type { Colors, ColorScheme, ComponentsConfig, FontFamily, FontSize, LetterSpacing, Radius, ThemeAssets } from "./types";
6
4
  interface ThemeContext {
7
5
  colors: Colors;
8
6
  radius: Radius;
@@ -10,24 +8,10 @@ interface ThemeContext {
10
8
  colorScheme: ColorScheme;
11
9
  letterSpacing: LetterSpacing;
12
10
  fontSize: FontSize;
11
+ spacing: number;
13
12
  setColorScheme: (scheme: ColorScheme) => void;
14
13
  components?: ComponentsConfig;
15
14
  }
16
- export interface ComponentsConfig {
17
- colorScheme?: {
18
- storage?: StorageClient<ColorScheme>;
19
- };
20
- toast?: {
21
- icons?: Partial<Record<keyof typeof ToastVariants, React.ComponentType<SvgProps>>>;
22
- };
23
- menu?: {
24
- selectionIcon?: React.ComponentType<SvgProps>;
25
- };
26
- calendar?: {
27
- prevIcon?: React.ComponentType<SvgProps>;
28
- nextIcon?: React.ComponentType<SvgProps>;
29
- };
30
- }
31
15
  declare const ThemeContext: import("react").Context<ThemeContext | null>;
32
16
  export interface ThemeProviderProps extends PropsWithChildren {
33
17
  theme?: DeepPartial<ThemeAssets>;
@@ -35,6 +19,6 @@ export interface ThemeProviderProps extends PropsWithChildren {
35
19
  }
36
20
  export declare const ThemeProvider: (props: ThemeProviderProps) => import("react").JSX.Element;
37
21
  export declare const useTheme: () => ThemeContext;
38
- export declare const useComponentsConfig: () => ComponentsConfig | undefined;
22
+ export declare const useComponentConfig: <K extends keyof ComponentsConfig>(componentName: K) => ComponentsConfig[K] | undefined;
39
23
  export {};
40
24
  //# sourceMappingURL=provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/themes/provider.tsx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AAC;AAEF,eAAO,MAAM,QAAQ,oBAMpB,CAAC;AAUF,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,MAAM,gBAAgB,EAAE,eAAe,CAAC,oCAGpF,CAAC"}
@@ -26,10 +26,134 @@ export interface ThemeAssets {
26
26
  fontFamily: FontFamily;
27
27
  letterSpacing: LetterSpacing;
28
28
  fontSize: FontSize;
29
+ spacing: number;
29
30
  }
30
31
  export type StorageClient<T> = {
31
32
  set: (value: T) => void;
32
33
  get: () => T | null;
33
34
  };
35
+ import type { AlertDialogStyles } from "../components/alert-dialog/types";
36
+ import type { AlertStyles } from "../components/alert/types";
37
+ import type { AvatarStyles } from "../components/avatar/types";
38
+ import type { BadgeStyles } from "../components/badge/types";
39
+ import type { ButtonStyles } from "../components/button/types";
40
+ import type { CalendarStyles } from "../components/calendar/calendar/types";
41
+ import type { TimelineStyles } from "../components/calendar/timeline/types";
42
+ import type { WeekCalendarStyles } from "../components/calendar/week-calendar/types";
43
+ import type { CardStyles } from "../components/card/types";
44
+ import type { CheckboxStyles } from "../components/checkbox/types";
45
+ import type { ComboboxStyles } from "../components/combobox/types";
46
+ import type { EmptyStyles } from "../components/empty/types";
47
+ import type { FieldStyles } from "../components/field/types";
48
+ import type { IconButtonStyles } from "../components/icon-button/types";
49
+ import type { InputStyles } from "../components/input/types";
50
+ import type { MenuStyles } from "../components/menu/types";
51
+ import type { PhoneInputStyles } from "../components/phone-input/types";
52
+ import type { PopoverStyles } from "../components/popover/types";
53
+ import type { ProgressStyles } from "../components/progress/types";
54
+ import type { RadioGroupStyles } from "../components/radio-group/types";
55
+ import type { SelectStyles } from "../components/select/types";
56
+ import type { SeparatorStyles } from "../components/separator/types";
57
+ import type { SpinnerStyles } from "../components/spinner/types";
58
+ import type { TableStyles } from "../components/table/types";
59
+ import type { TabsStyles } from "../components/tabs/types";
60
+ import type { TextareaStyles } from "../components/textarea/types";
61
+ import type { ToastStyles } from "../components/toast/types";
62
+ import type { ToastVariants } from "../components/toast/variants";
63
+ import type { PressableStyles } from "../components/touchable/types";
64
+ import type { SvgProps } from "../types/props.types";
65
+ export interface ComponentsConfig {
66
+ colorScheme?: {
67
+ storage?: StorageClient<ColorScheme>;
68
+ };
69
+ alert?: {
70
+ styles?: AlertStyles;
71
+ };
72
+ alertDialog?: {
73
+ styles?: AlertDialogStyles;
74
+ };
75
+ avatar?: {
76
+ styles?: AvatarStyles;
77
+ };
78
+ badge?: {
79
+ styles?: BadgeStyles;
80
+ };
81
+ button?: {
82
+ styles?: ButtonStyles;
83
+ };
84
+ calendar?: {
85
+ prevIcon?: React.ComponentType<SvgProps>;
86
+ nextIcon?: React.ComponentType<SvgProps>;
87
+ styles?: CalendarStyles;
88
+ };
89
+ card?: {
90
+ styles?: CardStyles;
91
+ };
92
+ checkbox?: {
93
+ styles?: CheckboxStyles;
94
+ };
95
+ combobox?: {
96
+ styles?: ComboboxStyles;
97
+ };
98
+ empty?: {
99
+ styles?: EmptyStyles;
100
+ };
101
+ field?: {
102
+ styles?: FieldStyles;
103
+ };
104
+ iconButton?: {
105
+ styles?: IconButtonStyles;
106
+ };
107
+ input?: {
108
+ styles?: InputStyles;
109
+ };
110
+ menu?: {
111
+ selectionIcon?: React.ComponentType<SvgProps>;
112
+ styles?: MenuStyles;
113
+ };
114
+ phoneInput?: {
115
+ styles?: PhoneInputStyles;
116
+ };
117
+ popover?: {
118
+ styles?: PopoverStyles;
119
+ };
120
+ progress?: {
121
+ styles?: ProgressStyles;
122
+ };
123
+ radioGroup?: {
124
+ styles?: RadioGroupStyles;
125
+ };
126
+ select?: {
127
+ styles?: SelectStyles;
128
+ };
129
+ separator?: {
130
+ styles?: SeparatorStyles;
131
+ };
132
+ spinner?: {
133
+ styles?: SpinnerStyles;
134
+ };
135
+ table?: {
136
+ styles?: TableStyles;
137
+ };
138
+ tabs?: {
139
+ styles?: TabsStyles;
140
+ };
141
+ textarea?: {
142
+ styles?: TextareaStyles;
143
+ };
144
+ timeline?: {
145
+ styles?: TimelineStyles;
146
+ };
147
+ toast?: {
148
+ icons?: Partial<Record<keyof typeof ToastVariants, React.ComponentType<SvgProps>>>;
149
+ styles?: ToastStyles;
150
+ };
151
+ touchable?: {
152
+ styles?: PressableStyles;
153
+ };
154
+ weekCalendar?: {
155
+ styles?: WeekCalendarStyles;
156
+ };
157
+ }
34
158
  export {};
35
159
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/themes/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C,KAAK,KAAK,GAAG,OAAO,MAAM,KAAK,MAAM,MAAM,MAAM,IAAI,CAAC;AAEtD,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,KAAK,CAAC;IAClB,UAAU,EAAE,KAAK,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC;IACf,iBAAiB,EAAE,KAAK,CAAC;IACzB,SAAS,EAAE,KAAK,CAAC;IACjB,mBAAmB,EAAE,KAAK,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,KAAK,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,KAAK,CAAC;IACf,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;CACb;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AACnC,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,E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CAAC,EAAE;QACR,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,WAAW,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,UAAU,CAAC;KACrB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,cAAc,CAAC;KACzB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,cAAc,CAAC;KACzB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,OAAO,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACnF,MAAM,CAAC,EAAE,WAAW,CAAC;KACtB,CAAC;IACF,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,eAAe,CAAC;KAC1B,CAAC;IACF,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,kBAAkB,CAAC;KAC7B,CAAC;CACH"}
@@ -1 +1 @@
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
+ {"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,CAYb"}
@@ -1,2 +1,3 @@
1
1
  export declare const calculateComposedStyles: <TStyle, State extends string | "default", Component extends string>(styles: (Partial<Record<Component, Partial<Record<State, TStyle>>>> | null) | undefined, state: State, component: Component, style?: TStyle) => TStyle[];
2
+ export declare const mergeStyles: <TStyle extends Record<string, any>>(variantStyles: TStyle, globalStyles: TStyle | undefined) => TStyle;
2
3
  //# sourceMappingURL=calculate-styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"calculate-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/calculate-styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,MAAM,EAAE,KAAK,SAAS,MAAM,GAAG,SAAS,EAAE,SAAS,SAAS,MAAM,EACxG,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,aAAK,EAC9E,OAAO,KAAK,EACZ,WAAW,SAAS,EACpB,QAAQ,MAAM,KACb,MAAM,EAaR,CAAC"}
1
+ {"version":3,"file":"calculate-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/calculate-styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,GAClC,MAAM,EACN,KAAK,SAAS,MAAM,GAAG,SAAS,EAChC,SAAS,SAAS,MAAM,EAExB,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,aAAK,EAC9E,OAAO,KAAK,EACZ,WAAW,SAAS,EACpB,QAAQ,MAAM,KACb,MAAM,EAaR,CAAC;AAmBF,eAAO,MAAM,WAAW,GAAI,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5D,eAAe,MAAM,EAC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../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
+ {"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,CAAC,OAAO,EAAE,gBAAgB,GAAG,YAAY,EAAE,KAAK,EAAE,MAAM,QAMzF"}
@@ -1 +1 @@
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,SAoB3C,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,SAsB3C,CAAC"}
@@ -0,0 +1,20 @@
1
+ export type Size = "sm" | "md" | "lg";
2
+ interface SizeScaleValues {
3
+ /** spacing * 1 | 1.5 | 2 */
4
+ paddingVertical: number;
5
+ /** spacing * 1.5 | 2 | 3 */
6
+ paddingHorizontal: number;
7
+ /** spacing * 0.75 | 1 | 1.25 */
8
+ gap: number;
9
+ /** fontSize * 0.875 | 1 | 1.125 */
10
+ fontSize: number;
11
+ /** fontSize * 0.875 | 1 | 1.125 (alias for icon sizing) */
12
+ iconSize: number;
13
+ /** 1.75 | 2 | 2.25 */
14
+ strokeWidth: number;
15
+ /** spacing * 4.5 | 6 | 7.5 */
16
+ height: number;
17
+ }
18
+ export declare function getSizeScale(size: Size | undefined, spacing: number, fontSize: number): SizeScaleValues;
19
+ export {};
20
+ //# sourceMappingURL=size-scale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size-scale.d.ts","sourceRoot":"","sources":["../../../../src/utils/size-scale.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,UAAU,eAAe;IACvB,4BAA4B;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gCAAgC;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB;AAWD,wBAAgB,YAAY,CAC1B,IAAI,EAAE,IAAI,YAAO,EACjB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,eAAe,CAYjB"}
@@ -1,10 +1,15 @@
1
1
  import type { Colors, FontFamily, FontSize, LetterSpacing, Radius } from "../themes/types";
2
+ import { getSizeScale, type Size } from "./size-scale";
3
+ type SizeScale = ReturnType<typeof getSizeScale>;
2
4
  interface CallbackProps {
3
5
  colors: Colors;
4
6
  radius: Radius;
5
7
  fontFamily: FontFamily;
6
8
  letterSpacing: LetterSpacing;
7
9
  fontSize: FontSize;
10
+ spacing: number;
11
+ /** Compute spacing-based size dimensions from a Size token */
12
+ sizeScale: (size: Size) => SizeScale;
8
13
  }
9
14
  export declare const useThemedStyles: <T>(callback: (props: CallbackProps) => T) => T;
10
15
  export {};
@@ -1 +1 @@
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"}
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,iBAAiB,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAEvD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,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;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,UAAU,CAAC,KAAK,EAAE,aAAa,KAAK,CAAC,KAAG,CAW1E,CAAC"}
package/package.json CHANGED
@@ -1,28 +1,29 @@
1
1
  {
2
2
  "name": "@korsolutions/ui",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
+ "bugs": {
5
+ "url": "https://github.com/KorSoftwareSolutions/ui/issues"
6
+ },
4
7
  "license": "MIT",
5
8
  "repository": {
6
9
  "type": "git",
7
10
  "url": "https://github.com/KorSoftwareSolutions/ui"
8
11
  },
9
- "bugs": {
10
- "url": "https://github.com/KorSoftwareSolutions/ui/issues"
11
- },
12
12
  "main": "dist/module/index.js",
13
13
  "module": "dist/module/index.js",
14
14
  "types": "dist/typescript/src/index.d.ts",
15
15
  "exports": {
16
16
  ".": {
17
- "default": "./dist/module/index.js",
17
+ "types": "./dist/typescript/src/index.d.ts",
18
18
  "dev-source": "./src/index.ts",
19
- "types": "./dist/typescript/src/index.d.ts"
19
+ "default": "./dist/module/index.js"
20
20
  },
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "scripts": {
24
24
  "prepare": "bob build",
25
- "lint": "tsc --noEmit"
25
+ "lint": "tsc --noEmit && oxlint .",
26
+ "fmt": "oxfmt"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@react-navigation/native": "^7.1.28",
@@ -41,4 +42,4 @@
41
42
  "react-native-web": "*",
42
43
  "react-native-worklets": "*"
43
44
  }
44
- }
45
+ }
@@ -10,9 +10,7 @@ export interface AlertDescriptionProps {
10
10
  style?: StyleProp<TextStyle>;
11
11
  }
12
12
 
13
- export function AlertDescription(
14
- props: PropsWithRender<AlertDescriptionProps>,
15
- ) {
13
+ export function AlertDescription(props: PropsWithRender<AlertDescriptionProps>) {
16
14
  const alert = useAlert();
17
15
 
18
16
  const composedStyle = [alert.styles?.description, props.style];
@@ -4,7 +4,10 @@ import { useAlert } from "../context";
4
4
 
5
5
  export type AlertIconProps = SvgProps;
6
6
 
7
- export function AlertIcon({ render: Component, ...props }: PropsWithRequiredRender<AlertIconProps>) {
7
+ export function AlertIcon({
8
+ render: Component,
9
+ ...props
10
+ }: PropsWithRequiredRender<AlertIconProps>) {
8
11
  const alert = useAlert();
9
12
 
10
13
  const composedProps = {