@korsolutions/ui 0.0.87 → 0.0.89

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 (237) hide show
  1. package/dist/module/components/alert/components/alert-icon.js +0 -1
  2. package/dist/module/components/alert/components/alert-icon.js.map +1 -1
  3. package/dist/module/components/alert/variants/default.js +2 -1
  4. package/dist/module/components/alert/variants/default.js.map +1 -1
  5. package/dist/module/components/alert/variants/destructive.js +2 -1
  6. package/dist/module/components/alert/variants/destructive.js.map +1 -1
  7. package/dist/module/components/alert-dialog/variants/default.js +4 -1
  8. package/dist/module/components/alert-dialog/variants/default.js.map +1 -1
  9. package/dist/module/components/avatar/variants/default.js +1 -0
  10. package/dist/module/components/avatar/variants/default.js.map +1 -1
  11. package/dist/module/components/badge/variants/default.js +1 -0
  12. package/dist/module/components/badge/variants/default.js.map +1 -1
  13. package/dist/module/components/badge/variants/secondary.js +1 -0
  14. package/dist/module/components/badge/variants/secondary.js.map +1 -1
  15. package/dist/module/components/button/button.js +8 -3
  16. package/dist/module/components/button/button.js.map +1 -1
  17. package/dist/module/components/button/variants/default.js +1 -0
  18. package/dist/module/components/button/variants/default.js.map +1 -1
  19. package/dist/module/components/button/variants/ghost.js +1 -0
  20. package/dist/module/components/button/variants/ghost.js.map +1 -1
  21. package/dist/module/components/button/variants/secondary.js +1 -0
  22. package/dist/module/components/button/variants/secondary.js.map +1 -1
  23. package/dist/module/components/calendar/calendar/variants/default.js +3 -0
  24. package/dist/module/components/calendar/calendar/variants/default.js.map +1 -1
  25. package/dist/module/components/calendar/timeline/variants/default.js +1 -0
  26. package/dist/module/components/calendar/timeline/variants/default.js.map +1 -1
  27. package/dist/module/components/calendar/week-calendar/variants/default.js +3 -0
  28. package/dist/module/components/calendar/week-calendar/variants/default.js.map +1 -1
  29. package/dist/module/components/card/variants/default.js +1 -0
  30. package/dist/module/components/card/variants/default.js.map +1 -1
  31. package/dist/module/components/checkbox/variants/default.js +2 -0
  32. package/dist/module/components/checkbox/variants/default.js.map +1 -1
  33. package/dist/module/components/checkbox/variants/outlined.js +2 -0
  34. package/dist/module/components/checkbox/variants/outlined.js.map +1 -1
  35. package/dist/module/components/combobox/components/combobox-root.js +10 -11
  36. package/dist/module/components/combobox/components/combobox-root.js.map +1 -1
  37. package/dist/module/components/combobox/variants/default.js +3 -0
  38. package/dist/module/components/combobox/variants/default.js.map +1 -1
  39. package/dist/module/components/empty/variants/default.js +2 -0
  40. package/dist/module/components/empty/variants/default.js.map +1 -1
  41. package/dist/module/components/field/variants/default.js +3 -0
  42. package/dist/module/components/field/variants/default.js.map +1 -1
  43. package/dist/module/components/icon/icon.js +1 -2
  44. package/dist/module/components/icon/icon.js.map +1 -1
  45. package/dist/module/components/input/variants/default.js +2 -0
  46. package/dist/module/components/input/variants/default.js.map +1 -1
  47. package/dist/module/components/input/variants/secondary.js +2 -0
  48. package/dist/module/components/input/variants/secondary.js.map +1 -1
  49. package/dist/module/components/link/variants/default.js +1 -0
  50. package/dist/module/components/link/variants/default.js.map +1 -1
  51. package/dist/module/components/menu/variants/default.js +3 -0
  52. package/dist/module/components/menu/variants/default.js.map +1 -1
  53. package/dist/module/components/phone-input/variants/default.js +12 -1
  54. package/dist/module/components/phone-input/variants/default.js.map +1 -1
  55. package/dist/module/components/portal/portal.web.js +15 -0
  56. package/dist/module/components/portal/portal.web.js.map +1 -1
  57. package/dist/module/components/radio-group/variants/default.js +2 -0
  58. package/dist/module/components/radio-group/variants/default.js.map +1 -1
  59. package/dist/module/components/radio-group/variants/outlined.js +2 -0
  60. package/dist/module/components/radio-group/variants/outlined.js.map +1 -1
  61. package/dist/module/components/select/variants/default.js +3 -0
  62. package/dist/module/components/select/variants/default.js.map +1 -1
  63. package/dist/module/components/sidebar/variants/default.js +1 -0
  64. package/dist/module/components/sidebar/variants/default.js.map +1 -1
  65. package/dist/module/components/tabs/variants/default.js +1 -0
  66. package/dist/module/components/tabs/variants/default.js.map +1 -1
  67. package/dist/module/components/tabs/variants/line.js +1 -0
  68. package/dist/module/components/tabs/variants/line.js.map +1 -1
  69. package/dist/module/components/textarea/variants/default.js +1 -0
  70. package/dist/module/components/textarea/variants/default.js.map +1 -1
  71. package/dist/module/components/toast/components/toast-icon.js +0 -1
  72. package/dist/module/components/toast/components/toast-icon.js.map +1 -1
  73. package/dist/module/components/toast/variants/danger.js +7 -6
  74. package/dist/module/components/toast/variants/danger.js.map +1 -1
  75. package/dist/module/components/toast/variants/default.js +2 -0
  76. package/dist/module/components/toast/variants/default.js.map +1 -1
  77. package/dist/module/components/toast/variants/success.js +7 -6
  78. package/dist/module/components/toast/variants/success.js.map +1 -1
  79. package/dist/module/components/typography/typography.js +7 -2
  80. package/dist/module/components/typography/typography.js.map +1 -1
  81. package/dist/module/components/typography/variants/body.js +28 -0
  82. package/dist/module/components/typography/variants/body.js.map +1 -0
  83. package/dist/module/components/typography/variants/heading.js +29 -0
  84. package/dist/module/components/typography/variants/heading.js.map +1 -0
  85. package/dist/module/components/typography/variants/index.js +4 -12
  86. package/dist/module/components/typography/variants/index.js.map +1 -1
  87. package/dist/module/hooks/use-keyboard-height.js +36 -0
  88. package/dist/module/hooks/use-keyboard-height.js.map +1 -0
  89. package/dist/module/hooks/use-relative-position.js +12 -3
  90. package/dist/module/hooks/use-relative-position.js.map +1 -1
  91. package/dist/module/themes/default/colors.js +28 -28
  92. package/dist/module/themes/default/colors.js.map +1 -1
  93. package/dist/module/themes/default/index.js +2 -2
  94. package/dist/module/themes/default/index.js.map +1 -1
  95. package/dist/module/utils/hsla-utils.js +0 -10
  96. package/dist/module/utils/hsla-utils.js.map +1 -1
  97. package/dist/module/utils/size-scale.js +5 -3
  98. package/dist/module/utils/size-scale.js.map +1 -1
  99. package/dist/typescript/src/components/alert/variants/default.d.ts.map +1 -1
  100. package/dist/typescript/src/components/alert/variants/destructive.d.ts.map +1 -1
  101. package/dist/typescript/src/components/alert-dialog/variants/default.d.ts.map +1 -1
  102. package/dist/typescript/src/components/avatar/variants/default.d.ts.map +1 -1
  103. package/dist/typescript/src/components/badge/variants/default.d.ts.map +1 -1
  104. package/dist/typescript/src/components/badge/variants/secondary.d.ts.map +1 -1
  105. package/dist/typescript/src/components/button/button.d.ts.map +1 -1
  106. package/dist/typescript/src/components/button/types.d.ts +3 -2
  107. package/dist/typescript/src/components/button/types.d.ts.map +1 -1
  108. package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -1
  109. package/dist/typescript/src/components/button/variants/ghost.d.ts.map +1 -1
  110. package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -1
  111. package/dist/typescript/src/components/calendar/calendar/variants/default.d.ts.map +1 -1
  112. package/dist/typescript/src/components/calendar/timeline/variants/default.d.ts.map +1 -1
  113. package/dist/typescript/src/components/calendar/week-calendar/variants/default.d.ts.map +1 -1
  114. package/dist/typescript/src/components/card/variants/default.d.ts.map +1 -1
  115. package/dist/typescript/src/components/checkbox/variants/default.d.ts.map +1 -1
  116. package/dist/typescript/src/components/checkbox/variants/outlined.d.ts.map +1 -1
  117. package/dist/typescript/src/components/combobox/components/combobox-root.d.ts.map +1 -1
  118. package/dist/typescript/src/components/combobox/variants/default.d.ts.map +1 -1
  119. package/dist/typescript/src/components/empty/variants/default.d.ts.map +1 -1
  120. package/dist/typescript/src/components/field/variants/default.d.ts.map +1 -1
  121. package/dist/typescript/src/components/icon/icon.d.ts.map +1 -1
  122. package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -1
  123. package/dist/typescript/src/components/input/variants/secondary.d.ts.map +1 -1
  124. package/dist/typescript/src/components/link/variants/default.d.ts.map +1 -1
  125. package/dist/typescript/src/components/menu/variants/default.d.ts.map +1 -1
  126. package/dist/typescript/src/components/phone-input/variants/default.d.ts.map +1 -1
  127. package/dist/typescript/src/components/portal/portal.web.d.ts.map +1 -1
  128. package/dist/typescript/src/components/radio-group/variants/default.d.ts.map +1 -1
  129. package/dist/typescript/src/components/radio-group/variants/outlined.d.ts.map +1 -1
  130. package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -1
  131. package/dist/typescript/src/components/sidebar/variants/default.d.ts.map +1 -1
  132. package/dist/typescript/src/components/tabs/variants/default.d.ts.map +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.map +1 -1
  135. package/dist/typescript/src/components/toast/variants/danger.d.ts.map +1 -1
  136. package/dist/typescript/src/components/toast/variants/default.d.ts.map +1 -1
  137. package/dist/typescript/src/components/toast/variants/success.d.ts.map +1 -1
  138. package/dist/typescript/src/components/typography/typography.d.ts +2 -0
  139. package/dist/typescript/src/components/typography/typography.d.ts.map +1 -1
  140. package/dist/typescript/src/components/typography/variants/body.d.ts +4 -0
  141. package/dist/typescript/src/components/typography/variants/body.d.ts.map +1 -0
  142. package/dist/typescript/src/components/typography/variants/heading.d.ts +4 -0
  143. package/dist/typescript/src/components/typography/variants/heading.d.ts.map +1 -0
  144. package/dist/typescript/src/components/typography/variants/index.d.ts +4 -12
  145. package/dist/typescript/src/components/typography/variants/index.d.ts.map +1 -1
  146. package/dist/typescript/src/hooks/use-keyboard-height.d.ts +9 -0
  147. package/dist/typescript/src/hooks/use-keyboard-height.d.ts.map +1 -0
  148. package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -1
  149. package/dist/typescript/src/types/props.types.d.ts +0 -1
  150. package/dist/typescript/src/types/props.types.d.ts.map +1 -1
  151. package/dist/typescript/src/utils/hsla-utils.d.ts +0 -1
  152. package/dist/typescript/src/utils/hsla-utils.d.ts.map +1 -1
  153. package/dist/typescript/src/utils/size-scale.d.ts +3 -1
  154. package/dist/typescript/src/utils/size-scale.d.ts.map +1 -1
  155. package/package.json +4 -5
  156. package/src/components/alert/components/alert-icon.tsx +1 -1
  157. package/src/components/alert/variants/default.tsx +2 -1
  158. package/src/components/alert/variants/destructive.tsx +2 -1
  159. package/src/components/alert-dialog/variants/default.tsx +4 -1
  160. package/src/components/avatar/variants/default.tsx +1 -0
  161. package/src/components/badge/variants/default.tsx +1 -0
  162. package/src/components/badge/variants/secondary.tsx +1 -0
  163. package/src/components/button/button.tsx +9 -3
  164. package/src/components/button/types.ts +3 -2
  165. package/src/components/button/variants/default.tsx +1 -0
  166. package/src/components/button/variants/ghost.tsx +1 -0
  167. package/src/components/button/variants/secondary.tsx +1 -0
  168. package/src/components/calendar/calendar/variants/default.tsx +3 -0
  169. package/src/components/calendar/timeline/variants/default.tsx +1 -0
  170. package/src/components/calendar/week-calendar/variants/default.tsx +3 -0
  171. package/src/components/card/variants/default.tsx +1 -0
  172. package/src/components/checkbox/variants/default.tsx +2 -0
  173. package/src/components/checkbox/variants/outlined.tsx +2 -0
  174. package/src/components/combobox/components/combobox-root.tsx +10 -11
  175. package/src/components/combobox/variants/default.tsx +3 -0
  176. package/src/components/empty/variants/default.tsx +2 -0
  177. package/src/components/field/variants/default.tsx +3 -0
  178. package/src/components/icon/icon.tsx +0 -1
  179. package/src/components/input/variants/default.tsx +2 -0
  180. package/src/components/input/variants/secondary.tsx +2 -0
  181. package/src/components/link/variants/default.tsx +1 -0
  182. package/src/components/menu/variants/default.tsx +3 -0
  183. package/src/components/phone-input/variants/default.tsx +11 -0
  184. package/src/components/portal/portal.web.tsx +15 -0
  185. package/src/components/radio-group/variants/default.tsx +2 -0
  186. package/src/components/radio-group/variants/outlined.tsx +2 -0
  187. package/src/components/select/variants/default.tsx +3 -0
  188. package/src/components/sidebar/variants/default.tsx +1 -0
  189. package/src/components/tabs/variants/default.tsx +1 -0
  190. package/src/components/tabs/variants/line.tsx +1 -0
  191. package/src/components/textarea/variants/default.tsx +1 -0
  192. package/src/components/toast/components/toast-icon.tsx +1 -1
  193. package/src/components/toast/variants/danger.tsx +6 -5
  194. package/src/components/toast/variants/default.tsx +2 -0
  195. package/src/components/toast/variants/success.tsx +6 -5
  196. package/src/components/typography/typography.tsx +5 -2
  197. package/src/components/typography/variants/body.tsx +26 -0
  198. package/src/components/typography/variants/heading.tsx +27 -0
  199. package/src/components/typography/variants/index.ts +4 -12
  200. package/src/hooks/use-keyboard-height.ts +42 -0
  201. package/src/hooks/use-relative-position.ts +17 -3
  202. package/src/themes/default/colors.ts +28 -28
  203. package/src/themes/default/index.ts +2 -2
  204. package/src/types/props.types.ts +0 -1
  205. package/src/utils/hsla-utils.ts +0 -11
  206. package/src/utils/size-scale.ts +8 -4
  207. package/README.md +0 -4
  208. package/dist/module/components/typography/variants/body-lg.js +0 -18
  209. package/dist/module/components/typography/variants/body-lg.js.map +0 -1
  210. package/dist/module/components/typography/variants/body-md.js +0 -18
  211. package/dist/module/components/typography/variants/body-md.js.map +0 -1
  212. package/dist/module/components/typography/variants/body-sm.js +0 -18
  213. package/dist/module/components/typography/variants/body-sm.js.map +0 -1
  214. package/dist/module/components/typography/variants/heading-lg.js +0 -19
  215. package/dist/module/components/typography/variants/heading-lg.js.map +0 -1
  216. package/dist/module/components/typography/variants/heading-md.js +0 -19
  217. package/dist/module/components/typography/variants/heading-md.js.map +0 -1
  218. package/dist/module/components/typography/variants/heading-sm.js +0 -19
  219. package/dist/module/components/typography/variants/heading-sm.js.map +0 -1
  220. package/dist/typescript/src/components/typography/variants/body-lg.d.ts +0 -3
  221. package/dist/typescript/src/components/typography/variants/body-lg.d.ts.map +0 -1
  222. package/dist/typescript/src/components/typography/variants/body-md.d.ts +0 -3
  223. package/dist/typescript/src/components/typography/variants/body-md.d.ts.map +0 -1
  224. package/dist/typescript/src/components/typography/variants/body-sm.d.ts +0 -3
  225. package/dist/typescript/src/components/typography/variants/body-sm.d.ts.map +0 -1
  226. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts +0 -3
  227. package/dist/typescript/src/components/typography/variants/heading-lg.d.ts.map +0 -1
  228. package/dist/typescript/src/components/typography/variants/heading-md.d.ts +0 -3
  229. package/dist/typescript/src/components/typography/variants/heading-md.d.ts.map +0 -1
  230. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts +0 -3
  231. package/dist/typescript/src/components/typography/variants/heading-sm.d.ts.map +0 -1
  232. package/src/components/typography/variants/body-lg.tsx +0 -14
  233. package/src/components/typography/variants/body-md.tsx +0 -14
  234. package/src/components/typography/variants/body-sm.tsx +0 -14
  235. package/src/components/typography/variants/heading-lg.tsx +0 -15
  236. package/src/components/typography/variants/heading-md.tsx +0 -15
  237. package/src/components/typography/variants/heading-sm.tsx +0 -15
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/card/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,wBAAgB,qBAAqB,IAAI,UAAU,CAyClD"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/card/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,wBAAgB,qBAAqB,IAAI,UAAU,CA0ClD"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,eAAO,MAAM,yBAAyB,QAAO,cAmE5C,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,eAAO,MAAM,yBAAyB,QAAO,cAqE5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"outlined.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/variants/outlined.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,eAAO,MAAM,0BAA0B,QAAO,cAkF7C,CAAC"}
1
+ {"version":3,"file":"outlined.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/variants/outlined.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,eAAO,MAAM,0BAA0B,QAAO,cAoF7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"combobox-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/combobox/components/combobox-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAEL,KAAK,SAAS,EAGd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,iGAAiG;IACjG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AASD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,qBAiEpD"}
1
+ {"version":3,"file":"combobox-root.d.ts","sourceRoot":"","sources":["../../../../../../src/components/combobox/components/combobox-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EAEL,KAAK,SAAS,EAGd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,iGAAiG;IACjG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AASD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,qBAgEpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/combobox/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,cAAc,CAmGpE"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/combobox/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,cAAc,CAsGpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/empty/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,wBAAgB,sBAAsB,IAAI,WAAW,CA+BpD"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/empty/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,wBAAgB,sBAAsB,IAAI,WAAW,CAiCpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/field/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,eAAO,MAAM,sBAAsB,QAAO,WAyBzC,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/field/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,eAAO,MAAM,sBAAsB,QAAO,WA4BzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG;IACjC,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAa7D,CAAC"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG;IACjC,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAY7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/input/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CAwC9D"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/input/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CA0C9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"secondary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/input/variants/secondary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CAwChE"}
1
+ {"version":3,"file":"secondary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/input/variants/secondary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CA0ChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/link/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,qBAAqB,IAAI,SAAS,CAUjD"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/link/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,qBAAqB,IAAI,SAAS,CAWjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/menu/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,qBAAqB,QAAO,UA6FxC,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/menu/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,qBAAqB,QAAO,UAgGxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/phone-input/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB,CAyHxE"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/phone-input/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB,CAoIxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"portal.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/portal.web.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE3E,wBAAgB,UAAU,gCAEzB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,QAA8B,EAAE,QAAQ,EAAE,EAAE,WAAW,+BAcrF"}
1
+ {"version":3,"file":"portal.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/portal.web.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE3E,wBAAgB,UAAU,gCAEzB;AAgBD,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,QAA8B,EAAE,QAAQ,EAAE,EAAE,WAAW,+BAerF"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/radio-group/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,2BAA2B,QAAO,gBA0E9C,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/radio-group/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,2BAA2B,QAAO,gBA4E9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"outlined.d.ts","sourceRoot":"","sources":["../../../../../../src/components/radio-group/variants/outlined.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,4BAA4B,QAAO,gBAsF/C,CAAC"}
1
+ {"version":3,"file":"outlined.d.ts","sourceRoot":"","sources":["../../../../../../src/components/radio-group/variants/outlined.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,4BAA4B,QAAO,gBAwF/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,CAkFhE"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/select/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,CAqFhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/sidebar/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,wBAAwB,IAAI,aAAa,CA4FxD"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/sidebar/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,wBAAwB,IAAI,aAAa,CA6FxD"}
@@ -1 +1 @@
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,UA8DxC,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,UA+DxC,CAAC"}
@@ -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,OAAO,CAAC;AAGxC,eAAO,MAAM,kBAAkB,QAAO,UAwDrC,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,UAyDrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/textarea/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,wBAAgB,yBAAyB,IAAI,cAAc,CAwC1D"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/textarea/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,wBAAgB,yBAAyB,IAAI,cAAc,CAyC1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"danger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/danger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,qBAAqB,QAAO,WAuCxC,CAAC"}
1
+ {"version":3,"file":"danger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/danger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,qBAAqB,QAAO,WAwCxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,QAAO,WAsCzC,CAAC"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,QAAO,WAwCzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/success.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,QAAO,WAuCzC,CAAC"}
1
+ {"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../../../../../src/components/toast/variants/success.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,QAAO,WAwCzC,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
2
  import { type TextProps as RnTextProps } from "react-native";
3
+ import type { Size } from "../../utils/size-scale";
3
4
  import { TypographyVariants } from "./variants";
4
5
  export interface TypographyProps extends RnTextProps {
5
6
  variant?: keyof typeof TypographyVariants;
7
+ size?: Size;
6
8
  }
7
9
  export declare function Typography(props: TypographyProps): React.JSX.Element;
8
10
  //# sourceMappingURL=typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA8B,KAAK,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,OAAO,CAAC,EAAE,MAAM,OAAO,kBAAkB,CAAC;CAC3C;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAMhD"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA8B,KAAK,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,OAAO,CAAC,EAAE,MAAM,OAAO,kBAAkB,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAOhD"}
@@ -0,0 +1,4 @@
1
+ import { type TextStyle } from "react-native";
2
+ import type { Size } from "../../../utils/size-scale";
3
+ export declare function useTextVariantBody(size: Size): TextStyle;
4
+ //# sourceMappingURL=body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAStD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,CAexD"}
@@ -0,0 +1,4 @@
1
+ import { type TextStyle } from "react-native";
2
+ import type { Size } from "../../../utils/size-scale";
3
+ export declare function useTextVariantHeading(size: Size): TextStyle;
4
+ //# sourceMappingURL=heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAStD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,CAgB3D"}
@@ -1,15 +1,7 @@
1
- import { useTextVariantBodyLg } from "./body-lg";
2
- import { useTextVariantBodyMd } from "./body-md";
3
- import { useTextVariantBodySm } from "./body-sm";
4
- import { useTextVariantHeadingLg } from "./heading-lg";
5
- import { useTextVariantHeadingMd } from "./heading-md";
6
- import { useTextVariantHeadingSm } from "./heading-sm";
1
+ import { useTextVariantBody } from "./body";
2
+ import { useTextVariantHeading } from "./heading";
7
3
  export declare const TypographyVariants: {
8
- "body-sm": typeof useTextVariantBodySm;
9
- "body-md": typeof useTextVariantBodyMd;
10
- "body-lg": typeof useTextVariantBodyLg;
11
- "heading-sm": typeof useTextVariantHeadingSm;
12
- "heading-md": typeof useTextVariantHeadingMd;
13
- "heading-lg": typeof useTextVariantHeadingLg;
4
+ body: typeof useTextVariantBody;
5
+ heading: typeof useTextVariantHeading;
14
6
  };
15
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,kBAAkB;;;;;;;CAO9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/typography/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,eAAO,MAAM,kBAAkB;;;CAG9B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Tracks the current software keyboard height on native platforms.
3
+ * Returns 0 when the keyboard is hidden or on web.
4
+ *
5
+ * Initializes with the current keyboard height so it works correctly
6
+ * even when the keyboard is already visible at mount time.
7
+ */
8
+ export declare function useKeyboardHeight(): number;
9
+ //# sourceMappingURL=use-keyboard-height.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-keyboard-height.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-keyboard-height.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CA0B1C"}
@@ -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,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
+ {"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;AAItE,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,CAsFrC;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"}
@@ -10,7 +10,6 @@ export type SvgProps = {
10
10
  size?: number;
11
11
  color?: ColorValue;
12
12
  strokeWidth?: number;
13
- absoluteStrokeWidth?: boolean;
14
13
  style?: StyleProp<ViewStyle & TextStyle>;
15
14
  };
16
15
  //# sourceMappingURL=props.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.types.d.ts","sourceRoot":"","sources":["../../../../src/types/props.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhF,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG;IACnC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,CAAC,GAAG;IAC3C,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;CAC1C,CAAC"}
1
+ {"version":3,"file":"props.types.d.ts","sourceRoot":"","sources":["../../../../src/types/props.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhF,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG;IACnC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,CAAC,GAAG;IAC3C,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;CAC1C,CAAC"}
@@ -1,4 +1,3 @@
1
- export declare const hslaSetAlpha: (hsla: string, alpha: number) => string;
2
1
  export declare const hslaSetLightness: (hsla: string, lightness: number) => string;
3
2
  export declare const hslaGetLightness: (hsla: string) => number;
4
3
  export declare const hslaSetRelativeLightness: (hsla: string, delta: number) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"hsla-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/hsla-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAS1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAOlE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,KAAG,MAI/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAMtE,CAAC"}
1
+ {"version":3,"file":"hsla-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/hsla-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAOlE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,KAAG,MAI/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAMtE,CAAC"}
@@ -8,7 +8,9 @@ interface SizeScaleValues {
8
8
  gap: number;
9
9
  /** fontSize * 0.875 | 1 | 1.125 */
10
10
  fontSize: number;
11
- /** fontSize * 0.875 | 1 | 1.125 (alias for icon sizing) */
11
+ /** fontSize * 1.25 (line height for text) */
12
+ lineHeight: number;
13
+ /** Equal to lineHeight (icons match text line height) */
12
14
  iconSize: number;
13
15
  /** 1.75 | 2 | 2.25 */
14
16
  strokeWidth: number;
@@ -1 +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
+ {"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,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,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,CAcjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korsolutions/ui",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "bugs": {
5
5
  "url": "https://github.com/KorSoftwareSolutions/ui/issues"
6
6
  },
@@ -27,12 +27,11 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@react-navigation/native": "^7.1.28",
30
- "@types/react": "^19.2.3",
31
- "@types/react-dom": "^19.2.3",
30
+ "@types/react": "catalog:",
31
+ "@types/react-dom": "catalog:",
32
32
  "react-native-builder-bob": "^0.40.17",
33
33
  "react-native-reanimated": "catalog:",
34
- "react-native-worklets": "catalog:",
35
- "typescript": "^5.9.3"
34
+ "react-native-worklets": "catalog:"
36
35
  },
37
36
  "peerDependencies": {
38
37
  "react": "*",
@@ -16,5 +16,5 @@ export function AlertIcon({
16
16
  style: [alert.styles?.icon?.style, props.style],
17
17
  };
18
18
 
19
- return <Component absoluteStrokeWidth {...composedProps} />;
19
+ return <Component {...composedProps} />;
20
20
  }
@@ -25,6 +25,7 @@ export const useAlertVariantDefault = (): AlertStyles => {
25
25
  },
26
26
  title: {
27
27
  fontSize: fontSize,
28
+ lineHeight: Math.round(fontSize * 1.25),
28
29
  fontWeight: "600",
29
30
  color: colors.foreground,
30
31
  marginBottom: 4,
@@ -32,7 +33,7 @@ export const useAlertVariantDefault = (): AlertStyles => {
32
33
  description: {
33
34
  fontSize: fontSize * 0.875,
34
35
  color: colors.mutedForeground,
35
- lineHeight: 20,
36
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
36
37
  },
37
38
  }),
38
39
  );
@@ -25,6 +25,7 @@ export const useAlertVariantDestructive = (): AlertStyles => {
25
25
  },
26
26
  title: {
27
27
  fontSize: fontSize,
28
+ lineHeight: Math.round(fontSize * 1.25),
28
29
  fontWeight: "600",
29
30
  color: colors.danger,
30
31
  marginBottom: 4,
@@ -32,7 +33,7 @@ export const useAlertVariantDestructive = (): AlertStyles => {
32
33
  description: {
33
34
  fontSize: fontSize * 0.875,
34
35
  color: colors.danger,
35
- lineHeight: 20,
36
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
36
37
  opacity: 0.9,
37
38
  },
38
39
  }),
@@ -40,6 +40,7 @@ export const useAlertDialogVariantDefault = (size: Size): AlertDialogStyles => {
40
40
  },
41
41
  title: {
42
42
  fontSize: fontSize * 1.25,
43
+ lineHeight: Math.round(fontSize * 1.25 * 1.25),
43
44
  fontWeight: "600",
44
45
  color: colors.foreground,
45
46
  fontFamily,
@@ -49,7 +50,7 @@ export const useAlertDialogVariantDefault = (size: Size): AlertDialogStyles => {
49
50
  fontSize,
50
51
  color: colors.mutedForeground,
51
52
  fontFamily,
52
- lineHeight: fontSize * 1.5,
53
+ lineHeight: Math.round(fontSize * 1.25),
53
54
  },
54
55
  footer: {
55
56
  flexDirection: "row",
@@ -70,6 +71,7 @@ export const useAlertDialogVariantDefault = (size: Size): AlertDialogStyles => {
70
71
  cancelText: {
71
72
  color: colors.foreground,
72
73
  fontSize: s.fontSize,
74
+ lineHeight: s.lineHeight,
73
75
  fontWeight: "500",
74
76
  fontFamily,
75
77
  },
@@ -84,6 +86,7 @@ export const useAlertDialogVariantDefault = (size: Size): AlertDialogStyles => {
84
86
  actionText: {
85
87
  color: colors.primaryForeground,
86
88
  fontSize: s.fontSize,
89
+ lineHeight: s.lineHeight,
87
90
  fontWeight: "500",
88
91
  fontFamily,
89
92
  },
@@ -21,6 +21,7 @@ export function useAvatarVariantDefault(): AvatarStyles {
21
21
  fallback: {
22
22
  fontFamily,
23
23
  fontSize,
24
+ lineHeight: Math.round(fontSize * 1.25),
24
25
  color: colors.foreground,
25
26
  textAlign: "center",
26
27
  verticalAlign: "middle",
@@ -17,6 +17,7 @@ export const useBadgeVariantDefault = (): BadgeStyles => {
17
17
  text: {
18
18
  color: colors.primaryForeground,
19
19
  fontSize: fontSize * 0.75,
20
+ lineHeight: Math.round(fontSize * 0.75 * 1.25),
20
21
  fontWeight: "600",
21
22
  fontFamily,
22
23
  },
@@ -17,6 +17,7 @@ export const useBadgeVariantSecondary = (): BadgeStyles => {
17
17
  text: {
18
18
  color: colors.secondaryForeground,
19
19
  fontSize: fontSize * 0.75,
20
+ lineHeight: Math.round(fontSize * 0.75 * 1.25),
20
21
  fontWeight: "600",
21
22
  fontFamily,
22
23
  },
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from "react";
2
2
  import {
3
- ActivityIndicator,
3
+ Platform,
4
4
  Pressable,
5
5
  type PressableProps,
6
6
  type StyleProp,
@@ -11,6 +11,7 @@ import { useOrganizedChildren } from "../../hooks/use-organized-children";
11
11
  import { useComponentConfig } from "../../themes/provider";
12
12
  import { mergeStyles } from "../../utils/calculate-styles";
13
13
  import type { Size } from "../../utils/size-scale";
14
+ import { Spinner } from "../spinner";
14
15
  import type { ButtonState } from "./types";
15
16
  import { ButtonVariants } from "./variants";
16
17
 
@@ -66,10 +67,15 @@ export function Button(props: ButtonProps) {
66
67
  onHoverIn={() => setIsHovered(true)}
67
68
  onHoverOut={() => setIsHovered(false)}
68
69
  disabled={props.isDisabled}
69
- style={[variantStyles.root?.default, variantStyles.root?.[state], props.style]}
70
+ style={[
71
+ variantStyles.root?.default,
72
+ variantStyles.root?.[state],
73
+ Platform.select({ web: { userSelect: "none" } as ViewStyle }),
74
+ props.style,
75
+ ]}
70
76
  >
71
77
  {organizedChildren}
72
- {props.isLoading && <ActivityIndicator {...spinnerProps} />}
78
+ {props.isLoading && <Spinner {...spinnerProps} />}
73
79
  </Pressable>
74
80
  );
75
81
  }
@@ -1,5 +1,6 @@
1
- import type { ActivityIndicatorProps, TextStyle, ViewStyle } from "react-native";
1
+ import type { TextStyle, ViewStyle } from "react-native";
2
2
  import type { IconProps } from "../icon";
3
+ import type { SpinnerProps } from "../spinner";
3
4
 
4
5
  export type ButtonState = "default" | "disabled" | "loading" | "hovered";
5
6
 
@@ -7,5 +8,5 @@ export interface ButtonStyles {
7
8
  root?: Partial<Record<ButtonState, ViewStyle>>;
8
9
  text?: Partial<Record<ButtonState, TextStyle>>;
9
10
  icon?: Partial<Record<ButtonState, IconProps>>;
10
- spinner?: Partial<Record<ButtonState, ActivityIndicatorProps>>;
11
+ spinner?: Partial<Record<ButtonState, SpinnerProps>>;
11
12
  }
@@ -39,6 +39,7 @@ export const useButtonVariantDefault = (size: Size): ButtonStyles => {
39
39
  default: {
40
40
  color: colors.primaryForeground,
41
41
  fontSize: sizeStyles.fontSize,
42
+ lineHeight: sizeStyles.lineHeight,
42
43
  fontFamily,
43
44
  },
44
45
  },
@@ -37,6 +37,7 @@ export const useButtonVariantGhost = (size: Size): ButtonStyles => {
37
37
  default: {
38
38
  color: colors.foreground,
39
39
  fontSize: sizeStyles.fontSize,
40
+ lineHeight: sizeStyles.lineHeight,
40
41
  fontFamily,
41
42
  },
42
43
  disabled: {
@@ -39,6 +39,7 @@ export const useButtonVariantSecondary = (size: Size): ButtonStyles => {
39
39
  default: {
40
40
  color: colors.secondaryForeground,
41
41
  fontSize: sizeStyles.fontSize,
42
+ lineHeight: sizeStyles.lineHeight,
42
43
  fontFamily,
43
44
  },
44
45
  disabled: {
@@ -22,6 +22,7 @@ export const useCalendarVariantDefault = (): CalendarStyles => {
22
22
  },
23
23
  headerTitle: {
24
24
  fontSize: fontSize * 1.125,
25
+ lineHeight: Math.round(fontSize * 1.125 * 1.25),
25
26
  fontWeight: "600",
26
27
  fontFamily,
27
28
  color: colors.foreground,
@@ -72,6 +73,7 @@ export const useCalendarVariantDefault = (): CalendarStyles => {
72
73
  },
73
74
  weekLabel: {
74
75
  fontSize: fontSize * 0.875,
76
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
75
77
  fontWeight: "500",
76
78
  fontFamily,
77
79
  color: colors.mutedForeground,
@@ -113,6 +115,7 @@ export const useCalendarVariantDefault = (): CalendarStyles => {
113
115
  dayText: {
114
116
  default: {
115
117
  fontSize,
118
+ lineHeight: Math.round(fontSize * 1.25),
116
119
  fontFamily,
117
120
  color: colors.foreground,
118
121
  fontWeight: "400",
@@ -29,6 +29,7 @@ export const useTimelineVariantDefault = (): TimelineStyles => {
29
29
  },
30
30
  timeText: {
31
31
  fontSize: fontSize * 0.75,
32
+ lineHeight: Math.round(fontSize * 0.75 * 1.25),
32
33
  fontWeight: "500",
33
34
  fontFamily,
34
35
  color: colors.mutedForeground,
@@ -21,6 +21,7 @@ export const useWeekCalendarVariantDefault = (): WeekCalendarStyles => {
21
21
  },
22
22
  headerTitle: {
23
23
  fontSize: fontSize * 1.125,
24
+ lineHeight: Math.round(fontSize * 1.125 * 1.25),
24
25
  fontWeight: "600",
25
26
  fontFamily,
26
27
  color: colors.foreground,
@@ -71,6 +72,7 @@ export const useWeekCalendarVariantDefault = (): WeekCalendarStyles => {
71
72
  },
72
73
  weekLabel: {
73
74
  fontSize: fontSize * 0.875,
75
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
74
76
  fontWeight: "500",
75
77
  fontFamily,
76
78
  color: colors.mutedForeground,
@@ -111,6 +113,7 @@ export const useWeekCalendarVariantDefault = (): WeekCalendarStyles => {
111
113
  dayText: {
112
114
  default: {
113
115
  fontSize,
116
+ lineHeight: Math.round(fontSize * 1.25),
114
117
  fontFamily,
115
118
  color: colors.foreground,
116
119
  fontWeight: "400",
@@ -22,6 +22,7 @@ export function useCardVariantDefault(): CardStyles {
22
22
  default: {
23
23
  fontFamily,
24
24
  fontSize: fontSize * 1.25,
25
+ lineHeight: Math.round(fontSize * 1.25 * 1.25),
25
26
  fontWeight: "600",
26
27
  color: colors.foreground,
27
28
  },
@@ -48,6 +48,7 @@ export const useCheckboxVariantDefault = (): CheckboxStyles => {
48
48
  default: {
49
49
  color: colors.foreground,
50
50
  fontSize,
51
+ lineHeight: Math.round(fontSize * 1.25),
51
52
  fontFamily,
52
53
  fontWeight: "500",
53
54
  },
@@ -59,6 +60,7 @@ export const useCheckboxVariantDefault = (): CheckboxStyles => {
59
60
  default: {
60
61
  color: colors.mutedForeground,
61
62
  fontSize: fontSize * 0.875,
63
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
62
64
  fontFamily,
63
65
  marginTop: 2,
64
66
  },
@@ -63,6 +63,7 @@ export const useCheckboxVariantOutlined = (): CheckboxStyles => {
63
63
  default: {
64
64
  color: colors.foreground,
65
65
  fontSize,
66
+ lineHeight: Math.round(fontSize * 1.25),
66
67
  fontFamily,
67
68
  fontWeight: "500",
68
69
  },
@@ -74,6 +75,7 @@ export const useCheckboxVariantOutlined = (): CheckboxStyles => {
74
75
  default: {
75
76
  color: colors.mutedForeground,
76
77
  fontSize: fontSize * 0.875,
78
+ lineHeight: Math.round(fontSize * 0.875 * 1.25),
77
79
  fontFamily,
78
80
  marginTop: 2,
79
81
  },