@kivid/native-components 1.0.0-alpha.1

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 (498) hide show
  1. package/README.md +57 -0
  2. package/assets/adaptive-icon.png +0 -0
  3. package/assets/favicon.png +0 -0
  4. package/assets/fonts/Nunito-Bold.ttf +0 -0
  5. package/assets/fonts/Nunito-BoldItalic.ttf +0 -0
  6. package/assets/fonts/Nunito-Italic.ttf +0 -0
  7. package/assets/fonts/Nunito-Medium.ttf +0 -0
  8. package/assets/fonts/Nunito-MediumItalic.ttf +0 -0
  9. package/assets/fonts/Nunito-Regular.ttf +0 -0
  10. package/assets/fonts/Nunito-SemiBold.ttf +0 -0
  11. package/assets/fonts/Nunito-SemiBoldItalic.ttf +0 -0
  12. package/assets/icon.png +0 -0
  13. package/assets/splash.png +0 -0
  14. package/dist/README.md +57 -0
  15. package/dist/commonjs/components/Button/assets/class-variants.js +91 -0
  16. package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -0
  17. package/dist/commonjs/components/Button/assets/design-system-showcase.js +1455 -0
  18. package/dist/commonjs/components/Button/assets/design-system-showcase.js.map +1 -0
  19. package/dist/commonjs/components/Button/index.js +116 -0
  20. package/dist/commonjs/components/Button/index.js.map +1 -0
  21. package/dist/commonjs/components/Button/types.js +6 -0
  22. package/dist/commonjs/components/Button/types.js.map +1 -0
  23. package/dist/commonjs/components/Chip/assets/class-variants.js +63 -0
  24. package/dist/commonjs/components/Chip/assets/class-variants.js.map +1 -0
  25. package/dist/commonjs/components/Chip/enums/chip-size.js +12 -0
  26. package/dist/commonjs/components/Chip/enums/chip-size.js.map +1 -0
  27. package/dist/commonjs/components/Chip/enums/chip-variant.js +13 -0
  28. package/dist/commonjs/components/Chip/enums/chip-variant.js.map +1 -0
  29. package/dist/commonjs/components/Chip/enums/index.js +28 -0
  30. package/dist/commonjs/components/Chip/enums/index.js.map +1 -0
  31. package/dist/commonjs/components/Chip/index.js +38 -0
  32. package/dist/commonjs/components/Chip/index.js.map +1 -0
  33. package/dist/commonjs/components/Chip/types.js +6 -0
  34. package/dist/commonjs/components/Chip/types.js.map +1 -0
  35. package/dist/commonjs/components/HighlightedText/index.js +46 -0
  36. package/dist/commonjs/components/HighlightedText/index.js.map +1 -0
  37. package/dist/commonjs/components/HighlightedText/types.js +6 -0
  38. package/dist/commonjs/components/HighlightedText/types.js.map +1 -0
  39. package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js +74 -0
  40. package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js.map +1 -0
  41. package/dist/commonjs/components/InformationStatus/components/GradientAdd/types.js +6 -0
  42. package/dist/commonjs/components/InformationStatus/components/GradientAdd/types.js.map +1 -0
  43. package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js +79 -0
  44. package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js.map +1 -0
  45. package/dist/commonjs/components/InformationStatus/components/GradientAlert/types.js +6 -0
  46. package/dist/commonjs/components/InformationStatus/components/GradientAlert/types.js.map +1 -0
  47. package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js +74 -0
  48. package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js.map +1 -0
  49. package/dist/commonjs/components/InformationStatus/components/GradientCheck/types.js +6 -0
  50. package/dist/commonjs/components/InformationStatus/components/GradientCheck/types.js.map +1 -0
  51. package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js +72 -0
  52. package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js.map +1 -0
  53. package/dist/commonjs/components/InformationStatus/components/GradientClose/types.js +6 -0
  54. package/dist/commonjs/components/InformationStatus/components/GradientClose/types.js.map +1 -0
  55. package/dist/commonjs/components/InformationStatus/components/index.js +50 -0
  56. package/dist/commonjs/components/InformationStatus/components/index.js.map +1 -0
  57. package/dist/commonjs/components/InformationStatus/enums.js +14 -0
  58. package/dist/commonjs/components/InformationStatus/enums.js.map +1 -0
  59. package/dist/commonjs/components/InformationStatus/index.js +75 -0
  60. package/dist/commonjs/components/InformationStatus/index.js.map +1 -0
  61. package/dist/commonjs/components/InformationStatus/types.js +6 -0
  62. package/dist/commonjs/components/InformationStatus/types.js.map +1 -0
  63. package/dist/commonjs/components/InputCheckbox/assets/class-variants.js +64 -0
  64. package/dist/commonjs/components/InputCheckbox/assets/class-variants.js.map +1 -0
  65. package/dist/commonjs/components/InputCheckbox/enums/checkbox-variant.js +17 -0
  66. package/dist/commonjs/components/InputCheckbox/enums/checkbox-variant.js.map +1 -0
  67. package/dist/commonjs/components/InputCheckbox/enums/index.js +28 -0
  68. package/dist/commonjs/components/InputCheckbox/enums/index.js.map +1 -0
  69. package/dist/commonjs/components/InputCheckbox/enums/select-variant.js +12 -0
  70. package/dist/commonjs/components/InputCheckbox/enums/select-variant.js.map +1 -0
  71. package/dist/commonjs/components/InputCheckbox/icons/CheckIcon/index.js +28 -0
  72. package/dist/commonjs/components/InputCheckbox/icons/CheckIcon/index.js.map +1 -0
  73. package/dist/commonjs/components/InputCheckbox/icons/IndeterminateIcon/index.js +28 -0
  74. package/dist/commonjs/components/InputCheckbox/icons/IndeterminateIcon/index.js.map +1 -0
  75. package/dist/commonjs/components/InputCheckbox/icons/index.js +20 -0
  76. package/dist/commonjs/components/InputCheckbox/icons/index.js.map +1 -0
  77. package/dist/commonjs/components/InputCheckbox/index.js +53 -0
  78. package/dist/commonjs/components/InputCheckbox/index.js.map +1 -0
  79. package/dist/commonjs/components/InputCheckbox/types.js +6 -0
  80. package/dist/commonjs/components/InputCheckbox/types.js.map +1 -0
  81. package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js +93 -0
  82. package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +1 -0
  83. package/dist/commonjs/components/InputOTP/components/InformationStatus/types.js +6 -0
  84. package/dist/commonjs/components/InputOTP/components/InformationStatus/types.js.map +1 -0
  85. package/dist/commonjs/components/InputOTP/components/index.js +17 -0
  86. package/dist/commonjs/components/InputOTP/components/index.js.map +1 -0
  87. package/dist/commonjs/components/InputOTP/enums/index.js +17 -0
  88. package/dist/commonjs/components/InputOTP/enums/index.js.map +1 -0
  89. package/dist/commonjs/components/InputOTP/enums/information-status.js +15 -0
  90. package/dist/commonjs/components/InputOTP/enums/information-status.js.map +1 -0
  91. package/dist/commonjs/components/InputOTP/index.js +135 -0
  92. package/dist/commonjs/components/InputOTP/index.js.map +1 -0
  93. package/dist/commonjs/components/InputOTP/types.js +6 -0
  94. package/dist/commonjs/components/InputOTP/types.js.map +1 -0
  95. package/dist/commonjs/components/LoadingDots/assets/loading-button-dark.json +1 -0
  96. package/dist/commonjs/components/LoadingDots/assets/loading-button-grape.json +1 -0
  97. package/dist/commonjs/components/LoadingDots/assets/loading-button-light.json +1 -0
  98. package/dist/commonjs/components/LoadingDots/index.js +45 -0
  99. package/dist/commonjs/components/LoadingDots/index.js.map +1 -0
  100. package/dist/commonjs/components/LoadingDots/types.js +6 -0
  101. package/dist/commonjs/components/LoadingDots/types.js.map +1 -0
  102. package/dist/commonjs/components/Seal/assets/class-variants.js +64 -0
  103. package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -0
  104. package/dist/commonjs/components/Seal/components/AddIcon/index.js +32 -0
  105. package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -0
  106. package/dist/commonjs/components/Seal/components/AlertIcon/index.js +32 -0
  107. package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -0
  108. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +32 -0
  109. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -0
  110. package/dist/commonjs/components/Seal/components/LeftIcon/index.js +32 -0
  111. package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -0
  112. package/dist/commonjs/components/Seal/components/MinusIcon/index.js +30 -0
  113. package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -0
  114. package/dist/commonjs/components/Seal/components/RightIcon/index.js +32 -0
  115. package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -0
  116. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +32 -0
  117. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -0
  118. package/dist/commonjs/components/Seal/components/index.js +55 -0
  119. package/dist/commonjs/components/Seal/components/index.js.map +1 -0
  120. package/dist/commonjs/components/Seal/enums/index.js +17 -0
  121. package/dist/commonjs/components/Seal/enums/index.js.map +1 -0
  122. package/dist/commonjs/components/Seal/enums/seal-variant.js +17 -0
  123. package/dist/commonjs/components/Seal/enums/seal-variant.js.map +1 -0
  124. package/dist/commonjs/components/Seal/index.js +52 -0
  125. package/dist/commonjs/components/Seal/index.js.map +1 -0
  126. package/dist/commonjs/components/Seal/types.js +6 -0
  127. package/dist/commonjs/components/Seal/types.js.map +1 -0
  128. package/dist/commonjs/components/Title/components/icon/index.js +49 -0
  129. package/dist/commonjs/components/Title/components/icon/index.js.map +1 -0
  130. package/dist/commonjs/components/Title/components/icon/types.js +15 -0
  131. package/dist/commonjs/components/Title/components/icon/types.js.map +1 -0
  132. package/dist/commonjs/components/Title/components/index.js +28 -0
  133. package/dist/commonjs/components/Title/components/index.js.map +1 -0
  134. package/dist/commonjs/components/Title/components/marker/index.js +33 -0
  135. package/dist/commonjs/components/Title/components/marker/index.js.map +1 -0
  136. package/dist/commonjs/components/Title/components/marker/types.js +2 -0
  137. package/dist/commonjs/components/Title/components/marker/types.js.map +1 -0
  138. package/dist/commonjs/components/Title/index.js +44 -0
  139. package/dist/commonjs/components/Title/index.js.map +1 -0
  140. package/dist/commonjs/components/Title/types.js +6 -0
  141. package/dist/commonjs/components/Title/types.js.map +1 -0
  142. package/dist/commonjs/components/Toggle/assets/class-variants.js +37 -0
  143. package/dist/commonjs/components/Toggle/assets/class-variants.js.map +1 -0
  144. package/dist/commonjs/components/Toggle/enums/index.js +17 -0
  145. package/dist/commonjs/components/Toggle/enums/index.js.map +1 -0
  146. package/dist/commonjs/components/Toggle/enums/variant.js +15 -0
  147. package/dist/commonjs/components/Toggle/enums/variant.js.map +1 -0
  148. package/dist/commonjs/components/Toggle/index.js +41 -0
  149. package/dist/commonjs/components/Toggle/index.js.map +1 -0
  150. package/dist/commonjs/components/Toggle/types.js +6 -0
  151. package/dist/commonjs/components/Toggle/types.js.map +1 -0
  152. package/dist/commonjs/components/Typography/index.js +52 -0
  153. package/dist/commonjs/components/Typography/index.js.map +1 -0
  154. package/dist/commonjs/components/Typography/types.js +6 -0
  155. package/dist/commonjs/components/Typography/types.js.map +1 -0
  156. package/dist/commonjs/components/index.js +127 -0
  157. package/dist/commonjs/components/index.js.map +1 -0
  158. package/dist/commonjs/hooks/index.js +17 -0
  159. package/dist/commonjs/hooks/index.js.map +1 -0
  160. package/dist/commonjs/hooks/use-fonts.js +31 -0
  161. package/dist/commonjs/hooks/use-fonts.js.map +1 -0
  162. package/dist/commonjs/iconography/Icons/index.js +97 -0
  163. package/dist/commonjs/iconography/Icons/index.js.map +1 -0
  164. package/dist/commonjs/iconography/Icons/types.js +6 -0
  165. package/dist/commonjs/iconography/Icons/types.js.map +1 -0
  166. package/dist/commonjs/index.js +17 -0
  167. package/dist/commonjs/index.js.map +1 -0
  168. package/dist/commonjs/nativewind-env.d.js +3 -0
  169. package/dist/commonjs/nativewind-env.d.js.map +1 -0
  170. package/dist/commonjs/package.json +1 -0
  171. package/dist/commonjs/welcome.mdx +3 -0
  172. package/dist/module/components/Button/assets/class-variants.js +88 -0
  173. package/dist/module/components/Button/assets/class-variants.js.map +1 -0
  174. package/dist/module/components/Button/assets/design-system-showcase.js +1451 -0
  175. package/dist/module/components/Button/assets/design-system-showcase.js.map +1 -0
  176. package/dist/module/components/Button/index.js +110 -0
  177. package/dist/module/components/Button/index.js.map +1 -0
  178. package/dist/module/components/Button/types.js +4 -0
  179. package/dist/module/components/Button/types.js.map +1 -0
  180. package/dist/module/components/Chip/assets/class-variants.js +59 -0
  181. package/dist/module/components/Chip/assets/class-variants.js.map +1 -0
  182. package/dist/module/components/Chip/enums/chip-size.js +8 -0
  183. package/dist/module/components/Chip/enums/chip-size.js.map +1 -0
  184. package/dist/module/components/Chip/enums/chip-variant.js +9 -0
  185. package/dist/module/components/Chip/enums/chip-variant.js.map +1 -0
  186. package/dist/module/components/Chip/enums/index.js +5 -0
  187. package/dist/module/components/Chip/enums/index.js.map +1 -0
  188. package/dist/module/components/Chip/index.js +34 -0
  189. package/dist/module/components/Chip/index.js.map +1 -0
  190. package/dist/module/components/Chip/types.js +4 -0
  191. package/dist/module/components/Chip/types.js.map +1 -0
  192. package/dist/module/components/HighlightedText/index.js +41 -0
  193. package/dist/module/components/HighlightedText/index.js.map +1 -0
  194. package/dist/module/components/HighlightedText/types.js +4 -0
  195. package/dist/module/components/HighlightedText/types.js.map +1 -0
  196. package/dist/module/components/InformationStatus/components/GradientAdd/index.js +69 -0
  197. package/dist/module/components/InformationStatus/components/GradientAdd/index.js.map +1 -0
  198. package/dist/module/components/InformationStatus/components/GradientAdd/types.js +4 -0
  199. package/dist/module/components/InformationStatus/components/GradientAdd/types.js.map +1 -0
  200. package/dist/module/components/InformationStatus/components/GradientAlert/index.js +74 -0
  201. package/dist/module/components/InformationStatus/components/GradientAlert/index.js.map +1 -0
  202. package/dist/module/components/InformationStatus/components/GradientAlert/types.js +4 -0
  203. package/dist/module/components/InformationStatus/components/GradientAlert/types.js.map +1 -0
  204. package/dist/module/components/InformationStatus/components/GradientCheck/index.js +69 -0
  205. package/dist/module/components/InformationStatus/components/GradientCheck/index.js.map +1 -0
  206. package/dist/module/components/InformationStatus/components/GradientCheck/types.js +4 -0
  207. package/dist/module/components/InformationStatus/components/GradientCheck/types.js.map +1 -0
  208. package/dist/module/components/InformationStatus/components/GradientClose/index.js +67 -0
  209. package/dist/module/components/InformationStatus/components/GradientClose/index.js.map +1 -0
  210. package/dist/module/components/InformationStatus/components/GradientClose/types.js +4 -0
  211. package/dist/module/components/InformationStatus/components/GradientClose/types.js.map +1 -0
  212. package/dist/module/components/InformationStatus/components/index.js +7 -0
  213. package/dist/module/components/InformationStatus/components/index.js.map +1 -0
  214. package/dist/module/components/InformationStatus/enums.js +10 -0
  215. package/dist/module/components/InformationStatus/enums.js.map +1 -0
  216. package/dist/module/components/InformationStatus/index.js +71 -0
  217. package/dist/module/components/InformationStatus/index.js.map +1 -0
  218. package/dist/module/components/InformationStatus/types.js +4 -0
  219. package/dist/module/components/InformationStatus/types.js.map +1 -0
  220. package/dist/module/components/InputCheckbox/assets/class-variants.js +60 -0
  221. package/dist/module/components/InputCheckbox/assets/class-variants.js.map +1 -0
  222. package/dist/module/components/InputCheckbox/enums/checkbox-variant.js +13 -0
  223. package/dist/module/components/InputCheckbox/enums/checkbox-variant.js.map +1 -0
  224. package/dist/module/components/InputCheckbox/enums/index.js +5 -0
  225. package/dist/module/components/InputCheckbox/enums/index.js.map +1 -0
  226. package/dist/module/components/InputCheckbox/enums/select-variant.js +8 -0
  227. package/dist/module/components/InputCheckbox/enums/select-variant.js.map +1 -0
  228. package/dist/module/components/InputCheckbox/icons/CheckIcon/index.js +22 -0
  229. package/dist/module/components/InputCheckbox/icons/CheckIcon/index.js.map +1 -0
  230. package/dist/module/components/InputCheckbox/icons/IndeterminateIcon/index.js +22 -0
  231. package/dist/module/components/InputCheckbox/icons/IndeterminateIcon/index.js.map +1 -0
  232. package/dist/module/components/InputCheckbox/icons/index.js +5 -0
  233. package/dist/module/components/InputCheckbox/icons/index.js.map +1 -0
  234. package/dist/module/components/InputCheckbox/index.js +49 -0
  235. package/dist/module/components/InputCheckbox/index.js.map +1 -0
  236. package/dist/module/components/InputCheckbox/types.js +4 -0
  237. package/dist/module/components/InputCheckbox/types.js.map +1 -0
  238. package/dist/module/components/InputOTP/components/InformationStatus/index.js +87 -0
  239. package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +1 -0
  240. package/dist/module/components/InputOTP/components/InformationStatus/types.js +4 -0
  241. package/dist/module/components/InputOTP/components/InformationStatus/types.js.map +1 -0
  242. package/dist/module/components/InputOTP/components/index.js +4 -0
  243. package/dist/module/components/InputOTP/components/index.js.map +1 -0
  244. package/dist/module/components/InputOTP/enums/index.js +4 -0
  245. package/dist/module/components/InputOTP/enums/index.js.map +1 -0
  246. package/dist/module/components/InputOTP/enums/information-status.js +11 -0
  247. package/dist/module/components/InputOTP/enums/information-status.js.map +1 -0
  248. package/dist/module/components/InputOTP/index.js +130 -0
  249. package/dist/module/components/InputOTP/index.js.map +1 -0
  250. package/dist/module/components/InputOTP/types.js +4 -0
  251. package/dist/module/components/InputOTP/types.js.map +1 -0
  252. package/dist/module/components/LoadingDots/assets/loading-button-dark.json +1 -0
  253. package/dist/module/components/LoadingDots/assets/loading-button-grape.json +1 -0
  254. package/dist/module/components/LoadingDots/assets/loading-button-light.json +1 -0
  255. package/dist/module/components/LoadingDots/index.js +39 -0
  256. package/dist/module/components/LoadingDots/index.js.map +1 -0
  257. package/dist/module/components/LoadingDots/types.js +4 -0
  258. package/dist/module/components/LoadingDots/types.js.map +1 -0
  259. package/dist/module/components/Seal/assets/class-variants.js +60 -0
  260. package/dist/module/components/Seal/assets/class-variants.js.map +1 -0
  261. package/dist/module/components/Seal/components/AddIcon/index.js +27 -0
  262. package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -0
  263. package/dist/module/components/Seal/components/AlertIcon/index.js +27 -0
  264. package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -0
  265. package/dist/module/components/Seal/components/ErrorIcon/index.js +27 -0
  266. package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -0
  267. package/dist/module/components/Seal/components/LeftIcon/index.js +27 -0
  268. package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -0
  269. package/dist/module/components/Seal/components/MinusIcon/index.js +25 -0
  270. package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -0
  271. package/dist/module/components/Seal/components/RightIcon/index.js +27 -0
  272. package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -0
  273. package/dist/module/components/Seal/components/SuccessIcon/index.js +27 -0
  274. package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -0
  275. package/dist/module/components/Seal/components/index.js +10 -0
  276. package/dist/module/components/Seal/components/index.js.map +1 -0
  277. package/dist/module/components/Seal/enums/index.js +4 -0
  278. package/dist/module/components/Seal/enums/index.js.map +1 -0
  279. package/dist/module/components/Seal/enums/seal-variant.js +13 -0
  280. package/dist/module/components/Seal/enums/seal-variant.js.map +1 -0
  281. package/dist/module/components/Seal/index.js +46 -0
  282. package/dist/module/components/Seal/index.js.map +1 -0
  283. package/dist/module/components/Seal/types.js +4 -0
  284. package/dist/module/components/Seal/types.js.map +1 -0
  285. package/dist/module/components/Title/components/icon/index.js +45 -0
  286. package/dist/module/components/Title/components/icon/index.js.map +1 -0
  287. package/dist/module/components/Title/components/icon/types.js +11 -0
  288. package/dist/module/components/Title/components/icon/types.js.map +1 -0
  289. package/dist/module/components/Title/components/index.js +5 -0
  290. package/dist/module/components/Title/components/index.js.map +1 -0
  291. package/dist/module/components/Title/components/marker/index.js +29 -0
  292. package/dist/module/components/Title/components/marker/index.js.map +1 -0
  293. package/dist/module/components/Title/components/marker/types.js +2 -0
  294. package/dist/module/components/Title/components/marker/types.js.map +1 -0
  295. package/dist/module/components/Title/index.js +41 -0
  296. package/dist/module/components/Title/index.js.map +1 -0
  297. package/dist/module/components/Title/types.js +4 -0
  298. package/dist/module/components/Title/types.js.map +1 -0
  299. package/dist/module/components/Toggle/assets/class-variants.js +34 -0
  300. package/dist/module/components/Toggle/assets/class-variants.js.map +1 -0
  301. package/dist/module/components/Toggle/enums/index.js +4 -0
  302. package/dist/module/components/Toggle/enums/index.js.map +1 -0
  303. package/dist/module/components/Toggle/enums/variant.js +11 -0
  304. package/dist/module/components/Toggle/enums/variant.js.map +1 -0
  305. package/dist/module/components/Toggle/index.js +37 -0
  306. package/dist/module/components/Toggle/index.js.map +1 -0
  307. package/dist/module/components/Toggle/types.js +4 -0
  308. package/dist/module/components/Toggle/types.js.map +1 -0
  309. package/dist/module/components/Typography/index.js +47 -0
  310. package/dist/module/components/Typography/index.js.map +1 -0
  311. package/dist/module/components/Typography/types.js +4 -0
  312. package/dist/module/components/Typography/types.js.map +1 -0
  313. package/dist/module/components/index.js +14 -0
  314. package/dist/module/components/index.js.map +1 -0
  315. package/dist/module/hooks/index.js +4 -0
  316. package/dist/module/hooks/index.js.map +1 -0
  317. package/dist/module/hooks/use-fonts.js +27 -0
  318. package/dist/module/hooks/use-fonts.js.map +1 -0
  319. package/dist/module/iconography/Icons/index.js +92 -0
  320. package/dist/module/iconography/Icons/index.js.map +1 -0
  321. package/dist/module/iconography/Icons/types.js +4 -0
  322. package/dist/module/iconography/Icons/types.js.map +1 -0
  323. package/dist/module/index.js +4 -0
  324. package/dist/module/index.js.map +1 -0
  325. package/dist/module/nativewind-env.d.js +3 -0
  326. package/dist/module/nativewind-env.d.js.map +1 -0
  327. package/dist/module/package.json +1 -0
  328. package/dist/module/welcome.mdx +3 -0
  329. package/dist/package.json +57 -0
  330. package/dist/typescript/components/Button/assets/class-variants.d.ts +16 -0
  331. package/dist/typescript/components/Button/assets/design-system-showcase.d.ts +1448 -0
  332. package/dist/typescript/components/Button/index.d.ts +6 -0
  333. package/dist/typescript/components/Button/types.d.ts +16 -0
  334. package/dist/typescript/components/Chip/assets/class-variants.d.ts +5 -0
  335. package/dist/typescript/components/Chip/enums/chip-size.d.ts +4 -0
  336. package/dist/typescript/components/Chip/enums/chip-variant.d.ts +5 -0
  337. package/dist/typescript/components/Chip/enums/index.d.ts +2 -0
  338. package/dist/typescript/components/Chip/index.d.ts +2 -0
  339. package/dist/typescript/components/Chip/types.d.ts +11 -0
  340. package/dist/typescript/components/HighlightedText/index.d.ts +6 -0
  341. package/dist/typescript/components/HighlightedText/types.d.ts +9 -0
  342. package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +3 -0
  343. package/dist/typescript/components/InformationStatus/components/GradientAdd/types.d.ts +5 -0
  344. package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +3 -0
  345. package/dist/typescript/components/InformationStatus/components/GradientAlert/types.d.ts +5 -0
  346. package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +3 -0
  347. package/dist/typescript/components/InformationStatus/components/GradientCheck/types.d.ts +5 -0
  348. package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +3 -0
  349. package/dist/typescript/components/InformationStatus/components/GradientClose/types.d.ts +5 -0
  350. package/dist/typescript/components/InformationStatus/components/index.d.ts +4 -0
  351. package/dist/typescript/components/InformationStatus/enums.d.ts +6 -0
  352. package/dist/typescript/components/InformationStatus/index.d.ts +2 -0
  353. package/dist/typescript/components/InformationStatus/types.d.ts +14 -0
  354. package/dist/typescript/components/InputCheckbox/assets/class-variants.d.ts +6 -0
  355. package/dist/typescript/components/InputCheckbox/enums/checkbox-variant.d.ts +9 -0
  356. package/dist/typescript/components/InputCheckbox/enums/index.d.ts +2 -0
  357. package/dist/typescript/components/InputCheckbox/enums/select-variant.d.ts +4 -0
  358. package/dist/typescript/components/InputCheckbox/icons/CheckIcon/index.d.ts +2 -0
  359. package/dist/typescript/components/InputCheckbox/icons/IndeterminateIcon/index.d.ts +2 -0
  360. package/dist/typescript/components/InputCheckbox/icons/index.d.ts +2 -0
  361. package/dist/typescript/components/InputCheckbox/index.d.ts +2 -0
  362. package/dist/typescript/components/InputCheckbox/types.d.ts +10 -0
  363. package/dist/typescript/components/InputOTP/components/InformationStatus/index.d.ts +3 -0
  364. package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +6 -0
  365. package/dist/typescript/components/InputOTP/components/index.d.ts +1 -0
  366. package/dist/typescript/components/InputOTP/enums/index.d.ts +1 -0
  367. package/dist/typescript/components/InputOTP/enums/information-status.d.ts +7 -0
  368. package/dist/typescript/components/InputOTP/index.d.ts +3 -0
  369. package/dist/typescript/components/InputOTP/types.d.ts +11 -0
  370. package/dist/typescript/components/LoadingDots/index.d.ts +3 -0
  371. package/dist/typescript/components/LoadingDots/types.d.ts +9 -0
  372. package/dist/typescript/components/Seal/assets/class-variants.d.ts +5 -0
  373. package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +2 -0
  374. package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +2 -0
  375. package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +2 -0
  376. package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +2 -0
  377. package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +2 -0
  378. package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +2 -0
  379. package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +2 -0
  380. package/dist/typescript/components/Seal/components/index.d.ts +7 -0
  381. package/dist/typescript/components/Seal/enums/index.d.ts +1 -0
  382. package/dist/typescript/components/Seal/enums/seal-variant.d.ts +9 -0
  383. package/dist/typescript/components/Seal/index.d.ts +3 -0
  384. package/dist/typescript/components/Seal/types.d.ts +14 -0
  385. package/dist/typescript/components/Title/components/icon/index.d.ts +2 -0
  386. package/dist/typescript/components/Title/components/icon/types.d.ts +12 -0
  387. package/dist/typescript/components/Title/components/index.d.ts +2 -0
  388. package/dist/typescript/components/Title/components/marker/index.d.ts +2 -0
  389. package/dist/typescript/components/Title/components/marker/types.d.ts +4 -0
  390. package/dist/typescript/components/Title/index.d.ts +7 -0
  391. package/dist/typescript/components/Title/types.d.ts +7 -0
  392. package/dist/typescript/components/Toggle/assets/class-variants.d.ts +6 -0
  393. package/dist/typescript/components/Toggle/enums/index.d.ts +1 -0
  394. package/dist/typescript/components/Toggle/enums/variant.d.ts +7 -0
  395. package/dist/typescript/components/Toggle/index.d.ts +2 -0
  396. package/dist/typescript/components/Toggle/types.d.ts +7 -0
  397. package/dist/typescript/components/Typography/index.d.ts +27 -0
  398. package/dist/typescript/components/Typography/types.d.ts +7 -0
  399. package/dist/typescript/components/index.d.ts +11 -0
  400. package/dist/typescript/hooks/index.d.ts +1 -0
  401. package/dist/typescript/hooks/use-fonts.d.ts +10 -0
  402. package/dist/typescript/iconography/Icons/index.d.ts +2 -0
  403. package/dist/typescript/iconography/Icons/types.d.ts +11 -0
  404. package/dist/typescript/index.d.ts +1 -0
  405. package/index.js +6 -0
  406. package/package.json +128 -0
  407. package/src/components/Button/assets/class-variants.ts +111 -0
  408. package/src/components/Button/assets/design-system-showcase.ts +1745 -0
  409. package/src/components/Button/index.stories.tsx +407 -0
  410. package/src/components/Button/index.tsx +137 -0
  411. package/src/components/Button/types.ts +31 -0
  412. package/src/components/Chip/assets/class-variants.ts +68 -0
  413. package/src/components/Chip/enums/chip-size.ts +4 -0
  414. package/src/components/Chip/enums/chip-variant.ts +5 -0
  415. package/src/components/Chip/enums/index.ts +2 -0
  416. package/src/components/Chip/index.stories.tsx +95 -0
  417. package/src/components/Chip/index.tsx +35 -0
  418. package/src/components/Chip/types.ts +13 -0
  419. package/src/components/HighlightedText/index.stories.tsx +110 -0
  420. package/src/components/HighlightedText/index.tsx +38 -0
  421. package/src/components/HighlightedText/types.ts +10 -0
  422. package/src/components/InformationStatus/components/GradientAdd/index.tsx +74 -0
  423. package/src/components/InformationStatus/components/GradientAdd/types.ts +6 -0
  424. package/src/components/InformationStatus/components/GradientAlert/index.tsx +81 -0
  425. package/src/components/InformationStatus/components/GradientAlert/types.ts +6 -0
  426. package/src/components/InformationStatus/components/GradientCheck/index.tsx +75 -0
  427. package/src/components/InformationStatus/components/GradientCheck/types.ts +6 -0
  428. package/src/components/InformationStatus/components/GradientClose/index.tsx +73 -0
  429. package/src/components/InformationStatus/components/GradientClose/types.ts +6 -0
  430. package/src/components/InformationStatus/components/index.ts +4 -0
  431. package/src/components/InformationStatus/enums.ts +6 -0
  432. package/src/components/InformationStatus/index.stories.tsx +112 -0
  433. package/src/components/InformationStatus/index.tsx +76 -0
  434. package/src/components/InformationStatus/types.ts +16 -0
  435. package/src/components/InputCheckbox/assets/class-variants.ts +90 -0
  436. package/src/components/InputCheckbox/enums/checkbox-variant.ts +9 -0
  437. package/src/components/InputCheckbox/enums/index.ts +2 -0
  438. package/src/components/InputCheckbox/enums/select-variant.ts +4 -0
  439. package/src/components/InputCheckbox/icons/CheckIcon/index.tsx +23 -0
  440. package/src/components/InputCheckbox/icons/IndeterminateIcon/index.tsx +23 -0
  441. package/src/components/InputCheckbox/icons/index.ts +2 -0
  442. package/src/components/InputCheckbox/index.stories.tsx +133 -0
  443. package/src/components/InputCheckbox/index.tsx +53 -0
  444. package/src/components/InputCheckbox/types.ts +13 -0
  445. package/src/components/InputOTP/components/InformationStatus/index.tsx +105 -0
  446. package/src/components/InputOTP/components/InformationStatus/types.ts +6 -0
  447. package/src/components/InputOTP/components/index.ts +1 -0
  448. package/src/components/InputOTP/enums/index.ts +1 -0
  449. package/src/components/InputOTP/enums/information-status.ts +7 -0
  450. package/src/components/InputOTP/index.stories.tsx +247 -0
  451. package/src/components/InputOTP/index.tsx +177 -0
  452. package/src/components/InputOTP/types.ts +12 -0
  453. package/src/components/LoadingDots/assets/loading-button-dark.json +1 -0
  454. package/src/components/LoadingDots/assets/loading-button-grape.json +1 -0
  455. package/src/components/LoadingDots/assets/loading-button-light.json +1 -0
  456. package/src/components/LoadingDots/index.stories.tsx +74 -0
  457. package/src/components/LoadingDots/index.tsx +37 -0
  458. package/src/components/LoadingDots/types.ts +10 -0
  459. package/src/components/Seal/assets/class-variants.ts +70 -0
  460. package/src/components/Seal/components/AddIcon/index.tsx +26 -0
  461. package/src/components/Seal/components/AlertIcon/index.tsx +26 -0
  462. package/src/components/Seal/components/ErrorIcon/index.tsx +26 -0
  463. package/src/components/Seal/components/LeftIcon/index.tsx +26 -0
  464. package/src/components/Seal/components/MinusIcon/index.tsx +24 -0
  465. package/src/components/Seal/components/RightIcon/index.tsx +26 -0
  466. package/src/components/Seal/components/SuccessIcon/index.tsx +26 -0
  467. package/src/components/Seal/components/index.ts +7 -0
  468. package/src/components/Seal/enums/index.ts +1 -0
  469. package/src/components/Seal/enums/seal-variant.ts +9 -0
  470. package/src/components/Seal/index.stories.tsx +124 -0
  471. package/src/components/Seal/index.tsx +53 -0
  472. package/src/components/Seal/types.ts +18 -0
  473. package/src/components/Title/components/icon/index.tsx +51 -0
  474. package/src/components/Title/components/icon/types.ts +12 -0
  475. package/src/components/Title/components/index.ts +2 -0
  476. package/src/components/Title/components/marker/index.tsx +25 -0
  477. package/src/components/Title/components/marker/types.ts +13 -0
  478. package/src/components/Title/index.stories.tsx +619 -0
  479. package/src/components/Title/index.tsx +36 -0
  480. package/src/components/Title/types.ts +7 -0
  481. package/src/components/Toggle/assets/class-variants.ts +40 -0
  482. package/src/components/Toggle/enums/index.ts +1 -0
  483. package/src/components/Toggle/enums/variant.ts +7 -0
  484. package/src/components/Toggle/index.stories.tsx +88 -0
  485. package/src/components/Toggle/index.tsx +42 -0
  486. package/src/components/Toggle/types.ts +8 -0
  487. package/src/components/Typography/index.stories.tsx +260 -0
  488. package/src/components/Typography/index.tsx +46 -0
  489. package/src/components/Typography/types.ts +8 -0
  490. package/src/components/index.ts +11 -0
  491. package/src/hooks/index.ts +1 -0
  492. package/src/hooks/use-fonts.ts +22 -0
  493. package/src/iconography/Icons/index.stories.tsx +23 -0
  494. package/src/iconography/Icons/index.tsx +89 -0
  495. package/src/iconography/Icons/types.ts +12 -0
  496. package/src/index.ts +1 -0
  497. package/src/nativewind-env.d.ts +1 -0
  498. package/src/welcome.mdx +3 -0
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Marker = Marker;
7
+ var _reactNative = require("react-native");
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+ function Marker(props) {
10
+ const {
11
+ size = "medium",
12
+ color = "chia"
13
+ } = props;
14
+ const mappedSize = {
15
+ small: "w-700 h-300",
16
+ medium: "w-800 h-[6px]"
17
+ }[size];
18
+ const mappedColor = {
19
+ pear: "bg-pear-500",
20
+ java: "bg-java-500",
21
+ grape: "bg-grape-500",
22
+ pitaya: "bg-pitaya-500",
23
+ tangerine: "bg-tangerine-500",
24
+ mango: "bg-mango-500",
25
+ blackberry: "bg-blackberry-500",
26
+ chia: "bg-chia-600",
27
+ ghost: "bg-chia-200"
28
+ }[color];
29
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
30
+ className: `${mappedColor} ${mappedSize} rounded-500`
31
+ });
32
+ }
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_jsxRuntime","Marker","props","size","color","mappedSize","small","medium","mappedColor","pear","java","grape","pitaya","tangerine","mango","blackberry","chia","ghost","jsx","View","className"],"sourceRoot":"../../../../../../src","sources":["components/Title/components/marker/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAoC,IAAAC,WAAA,GAAAD,OAAA;AAG7B,SAASE,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IAAEC,IAAI,GAAG,QAAQ;IAAEC,KAAK,GAAG;EAAO,CAAC,GAAGF,KAAK;EAEjD,MAAMG,UAAU,GAAG;IACjBC,KAAK,EAAE,aAAa;IACpBC,MAAM,EAAE;EACV,CAAC,CAACJ,IAAI,CAAC;EAEP,MAAMK,WAAW,GAAG;IAClBC,IAAI,EAAE,aAAa;IACnBC,IAAI,EAAE,aAAa;IACnBC,KAAK,EAAE,cAAc;IACrBC,MAAM,EAAE,eAAe;IACvBC,SAAS,EAAE,kBAAkB;IAC7BC,KAAK,EAAE,cAAc;IACrBC,UAAU,EAAE,mBAAmB;IAC/BC,IAAI,EAAE,aAAa;IACnBC,KAAK,EAAE;EACT,CAAC,CAACb,KAAK,CAAC;EAER,oBAAO,IAAAJ,WAAA,CAAAkB,GAAA,EAACpB,YAAA,CAAAqB,IAAI;IAACC,SAAS,EAAE,GAAGZ,WAAW,IAAIH,UAAU;EAAe,CAAE,CAAC;AACxE","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/Title/components/marker/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Title = Title;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("./components/index.js");
9
+ var _tailwindPreset = require("@butterfly/tailwind-preset");
10
+ var _classVarianceAuthority = require("class-variance-authority");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function Title(props) {
13
+ const {
14
+ children,
15
+ className,
16
+ variant = "medium",
17
+ head
18
+ } = props;
19
+ const variantClass = (0, _classVarianceAuthority.cva)("", {
20
+ variants: {
21
+ variant: {
22
+ "2xlarge": "pb-600",
23
+ xlarge: "pb-500",
24
+ large: "pb-600",
25
+ medium: "pb-600",
26
+ small: "pb-400",
27
+ xsmall: "pb-400"
28
+ }
29
+ }
30
+ })({
31
+ variant
32
+ });
33
+ const mergedClassName = (0, _tailwindPreset.merge)("flex flex-col max-w-[344px]", className);
34
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
35
+ className: mergedClassName,
36
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
37
+ className: `${variantClass}`,
38
+ children: head
39
+ }), children]
40
+ });
41
+ }
42
+ Title.Icon = _index.Icon;
43
+ Title.Marker = _index.Marker;
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_tailwindPreset","_classVarianceAuthority","_jsxRuntime","Title","props","children","className","variant","head","variantClass","cva","variants","xlarge","large","medium","small","xsmall","mergedClassName","merge","jsxs","View","jsx","Icon","Marker"],"sourceRoot":"../../../../src","sources":["components/Title/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,uBAAA,GAAAH,OAAA;AAA+C,IAAAI,WAAA,GAAAJ,OAAA;AAE/C,SAASK,KAAKA,CAACC,KAAiB,EAAE;EAChC,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC,OAAO,GAAG,QAAQ;IAAEC;EAAK,CAAC,GAAGJ,KAAK;EAE/D,MAAMK,YAAY,GAAG,IAAAC,2BAAG,EAAC,EAAE,EAAE;IAC3BC,QAAQ,EAAE;MACRJ,OAAO,EAAE;QACP,SAAS,EAAE,QAAQ;QACnBK,MAAM,EAAE,QAAQ;QAChBC,KAAK,EAAE,QAAQ;QACfC,MAAM,EAAE,QAAQ;QAChBC,KAAK,EAAE,QAAQ;QACfC,MAAM,EAAE;MACV;IACF;EACF,CAAC,CAAC,CAAC;IAAET;EAAQ,CAAC,CAAC;EAEf,MAAMU,eAAe,GAAG,IAAAC,qBAAK,EAAC,6BAA6B,EAAEZ,SAAS,CAAC;EAEvE,oBACE,IAAAJ,WAAA,CAAAiB,IAAA,EAACtB,YAAA,CAAAuB,IAAI;IAACd,SAAS,EAAEW,eAAgB;IAAAZ,QAAA,gBAC/B,IAAAH,WAAA,CAAAmB,GAAA,EAACxB,YAAA,CAAAuB,IAAI;MAACd,SAAS,EAAE,GAAGG,YAAY,EAAG;MAAAJ,QAAA,EAAEG;IAAI,CAAO,CAAC,EAChDH,QAAQ;EAAA,CACL,CAAC;AAEX;AAEAF,KAAK,CAACmB,IAAI,GAAGA,WAAI;AACjBnB,KAAK,CAACoB,MAAM,GAAGA,aAAM","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Title/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.toggleVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ const toggleVariants = exports.toggleVariants = (0, _classVarianceAuthority.cva)(["absolute top-100 left-100 right-100 bottom-100 transition-all duration-300 rounded-500"], {
9
+ variants: {
10
+ variant: {
11
+ grape: ["bg-grape-500"],
12
+ java: ["bg-java-500"],
13
+ pear: ["bg-pear-500"],
14
+ tangerine: ["bg-tangerine-500"],
15
+ chia: ["bg-chia-800"]
16
+ },
17
+ checked: {
18
+ true: "",
19
+ false: "bg-chia-400"
20
+ },
21
+ disabled: {
22
+ true: "cursor-not-allowed opacity-50",
23
+ false: "cursor-pointer"
24
+ }
25
+ },
26
+ compoundVariants: [{
27
+ checked: false,
28
+ variant: "chia",
29
+ class: "bg-chia-400"
30
+ }],
31
+ defaultVariants: {
32
+ variant: "java",
33
+ checked: false,
34
+ disabled: false
35
+ }
36
+ });
37
+ //# sourceMappingURL=class-variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_classVarianceAuthority","require","toggleVariants","exports","cva","variants","variant","grape","java","pear","tangerine","chia","checked","true","false","disabled","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Toggle/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEA,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,CACE,wFAAwF,CACzF,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,KAAK,EAAE,CAAC,cAAc,CAAC;MACvBC,IAAI,EAAE,CAAC,aAAa,CAAC;MACrBC,IAAI,EAAE,CAAC,aAAa,CAAC;MACrBC,SAAS,EAAE,CAAC,kBAAkB,CAAC;MAC/BC,IAAI,EAAE,CAAC,aAAa;IACtB,CAAC;IACDC,OAAO,EAAE;MACPC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRF,IAAI,EAAE,+BAA+B;MACrCC,KAAK,EAAE;IACT;EACF,CAAC;EACDE,gBAAgB,EAAE,CAChB;IACEJ,OAAO,EAAE,KAAK;IACdN,OAAO,EAAE,MAAM;IACfW,KAAK,EAAE;EACT,CAAC,CACF;EACDC,eAAe,EAAE;IACfZ,OAAO,EAAE,MAAM;IACfM,OAAO,EAAE,KAAK;IACdG,QAAQ,EAAE;EACZ;AACF,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _variant = require("./variant.js");
7
+ Object.keys(_variant).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _variant[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _variant[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_variant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/Toggle/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,QAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,QAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,QAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.VariantEnum = void 0;
7
+ let VariantEnum = exports.VariantEnum = /*#__PURE__*/function (VariantEnum) {
8
+ VariantEnum["GRAPE"] = "grape";
9
+ VariantEnum["JAVA"] = "java";
10
+ VariantEnum["PEAR"] = "pear";
11
+ VariantEnum["TANGERINE"] = "tangerine";
12
+ VariantEnum["CHIA"] = "chia";
13
+ return VariantEnum;
14
+ }({});
15
+ //# sourceMappingURL=variant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/Toggle/enums/variant.ts"],"mappings":";;;;;;IAAYA,WAAW,GAAAC,OAAA,CAAAD,WAAA,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Toggle = Toggle;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("./enums/index.js");
9
+ var _tailwindPreset = require("@butterfly/tailwind-preset");
10
+ var _classVariants = require("./assets/class-variants.js");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function Toggle(props) {
13
+ const {
14
+ checked,
15
+ disabled = false,
16
+ variant = _index.VariantEnum.JAVA,
17
+ onChange
18
+ } = props;
19
+ const handleToggle = () => {
20
+ if (disabled) return;
21
+ if (onChange) {
22
+ onChange(!checked);
23
+ }
24
+ };
25
+ const mergeToggleClass = (0, _tailwindPreset.merge)((0, _classVariants.toggleVariants)({
26
+ variant,
27
+ checked,
28
+ disabled
29
+ }), disabled && !checked ? "bg-chia-400" : "");
30
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
31
+ onPress: handleToggle,
32
+ className: "w-[40px] h-[24px] bg-chia-400 rounded-500",
33
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
34
+ className: mergeToggleClass,
35
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
36
+ className: `absolute left-300 bottom-300 w-600 h-600 bg-chia-200 rounded-400 transition-all duration-300 ${checked ? "translate-x-[16px]" : "translate-x-100"}`
37
+ })
38
+ })
39
+ });
40
+ }
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_tailwindPreset","_classVariants","_jsxRuntime","Toggle","props","checked","disabled","variant","VariantEnum","JAVA","onChange","handleToggle","mergeToggleClass","merge","toggleVariants","jsx","Pressable","onPress","className","children","View"],"sourceRoot":"../../../../src","sources":["components/Toggle/index.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAAyD,IAAAI,WAAA,GAAAJ,OAAA;AAElD,SAASK,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IACJC,OAAO;IACPC,QAAQ,GAAG,KAAK;IAChBC,OAAO,GAAGC,kBAAW,CAACC,IAAI;IAC1BC;EACF,CAAC,GAAGN,KAAK;EAET,MAAMO,YAAY,GAAGA,CAAA,KAAM;IACzB,IAAIL,QAAQ,EAAE;IAEd,IAAII,QAAQ,EAAE;MACZA,QAAQ,CAAC,CAACL,OAAO,CAAC;IACpB;EACF,CAAC;EAED,MAAMO,gBAAgB,GAAG,IAAAC,qBAAK,EAC5B,IAAAC,6BAAc,EAAC;IAAEP,OAAO;IAAEF,OAAO;IAAEC;EAAS,CAAC,CAAC,EAC9CA,QAAQ,IAAI,CAACD,OAAO,GAAG,aAAa,GAAG,EACzC,CAAC;EAED,oBACE,IAAAH,WAAA,CAAAa,GAAA,EAAClB,YAAA,CAAAmB,SAAS;IACRC,OAAO,EAAEN,YAAa;IACtBO,SAAS,EAAC,2CAA2C;IAAAC,QAAA,eAErD,IAAAjB,WAAA,CAAAa,GAAA,EAAClB,YAAA,CAAAuB,IAAI;MAACF,SAAS,EAAEN,gBAAiB;MAAAO,QAAA,eAChC,IAAAjB,WAAA,CAAAa,GAAA,EAAClB,YAAA,CAAAuB,IAAI;QACHF,SAAS,EAAE,gGACTb,OAAO,GAAG,oBAAoB,GAAG,iBAAiB;MACjD,CACE;IAAC,CACJ;EAAC,CACE,CAAC;AAEhB","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Toggle/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Typography = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _tailwindPreset = require("@butterfly/tailwind-preset");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ /**
13
+ * Universal Typography component for React Native.
14
+ *
15
+ * This component provides:
16
+ * - Type-safe access to all typography variants from your design tokens
17
+ * - Automatic font-family mapping based on font weight
18
+ * - NativeWind className support for additional styling
19
+ * - Consistent typography across your React Native app
20
+ *
21
+ * @example
22
+ * // Display text with automatic font mapping
23
+ * <Typography variant="text-display_large_700">Hero Title</Typography>
24
+ *
25
+ * @example
26
+ * // Body text with medium weight
27
+ * <Typography variant="text-body_medium_500">Content text</Typography>
28
+ *
29
+ * @example
30
+ * // With additional styling
31
+ * <Typography variant="text-label_small_300" className="text-gray-600">
32
+ * Form label
33
+ * </Typography>
34
+ */
35
+ const Typography = ({
36
+ variant,
37
+ className,
38
+ style,
39
+ children,
40
+ ...props
41
+ }) => {
42
+ const textClassName = (0, _tailwindPreset.merge)(`font-nunito`, variant, className);
43
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
44
+ className: textClassName,
45
+ ...props,
46
+ children: children
47
+ });
48
+ };
49
+ exports.Typography = Typography;
50
+ Typography.displayName = "Typography";
51
+ var _default = exports.default = Typography;
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_jsxRuntime","e","__esModule","default","Typography","variant","className","style","children","props","textClassName","merge","jsx","Text","exports","displayName","_default"],"sourceRoot":"../../../../src","sources":["components/Typography/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,eAAA,GAAAF,OAAA;AAAmD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMG,UAAqC,GAAGA,CAAC;EACpDC,OAAO;EACPC,SAAS;EACTC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAG,IAAAC,qBAAK,EAAC,aAAa,EAAEN,OAAO,EAAEC,SAAS,CAAC;EAE9D,oBACE,IAAAN,WAAA,CAAAY,GAAA,EAACd,YAAA,CAAAe,IAAI;IAACP,SAAS,EAAEI,aAAc;IAAA,GAAKD,KAAK;IAAAD,QAAA,EACtCA;EAAQ,CACL,CAAC;AAEX,CAAC;AAACM,OAAA,CAAAV,UAAA,GAAAA,UAAA;AAEFA,UAAU,CAACW,WAAW,GAAG,YAAY;AAAC,IAAAC,QAAA,GAAAF,OAAA,CAAAX,OAAA,GACvBC,UAAU","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Typography/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("./Button/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ var _index2 = require("./Chip/index.js");
18
+ Object.keys(_index2).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _index2[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _index2[key];
25
+ }
26
+ });
27
+ });
28
+ var _index3 = require("./InformationStatus/index.js");
29
+ Object.keys(_index3).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _index3[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _index3[key];
36
+ }
37
+ });
38
+ });
39
+ var _index4 = require("./InputCheckbox/index.js");
40
+ Object.keys(_index4).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _index4[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _index4[key];
47
+ }
48
+ });
49
+ });
50
+ var _index5 = require("./InputOTP/index.js");
51
+ Object.keys(_index5).forEach(function (key) {
52
+ if (key === "default" || key === "__esModule") return;
53
+ if (key in exports && exports[key] === _index5[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _index5[key];
58
+ }
59
+ });
60
+ });
61
+ var _index6 = require("./HighlightedText/index.js");
62
+ Object.keys(_index6).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (key in exports && exports[key] === _index6[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function () {
68
+ return _index6[key];
69
+ }
70
+ });
71
+ });
72
+ var _index7 = require("./LoadingDots/index.js");
73
+ Object.keys(_index7).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (key in exports && exports[key] === _index7[key]) return;
76
+ Object.defineProperty(exports, key, {
77
+ enumerable: true,
78
+ get: function () {
79
+ return _index7[key];
80
+ }
81
+ });
82
+ });
83
+ var _index8 = require("./Seal/index.js");
84
+ Object.keys(_index8).forEach(function (key) {
85
+ if (key === "default" || key === "__esModule") return;
86
+ if (key in exports && exports[key] === _index8[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function () {
90
+ return _index8[key];
91
+ }
92
+ });
93
+ });
94
+ var _index9 = require("./Title/index.js");
95
+ Object.keys(_index9).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (key in exports && exports[key] === _index9[key]) return;
98
+ Object.defineProperty(exports, key, {
99
+ enumerable: true,
100
+ get: function () {
101
+ return _index9[key];
102
+ }
103
+ });
104
+ });
105
+ var _index0 = require("./Toggle/index.js");
106
+ Object.keys(_index0).forEach(function (key) {
107
+ if (key === "default" || key === "__esModule") return;
108
+ if (key in exports && exports[key] === _index0[key]) return;
109
+ Object.defineProperty(exports, key, {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _index0[key];
113
+ }
114
+ });
115
+ });
116
+ var _index1 = require("./Typography/index.js");
117
+ Object.keys(_index1).forEach(function (key) {
118
+ if (key === "default" || key === "__esModule") return;
119
+ if (key in exports && exports[key] === _index1[key]) return;
120
+ Object.defineProperty(exports, key, {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _index1[key];
124
+ }
125
+ });
126
+ });
127
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index0","_index1"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,OAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,OAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,OAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,OAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,OAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,OAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA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cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAS,OAAA,CAAAb,GAAA;IAAA;EAAA;AAAA;AACA,IAAAc,OAAA,GAAAlB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAgB,OAAA,EAAAf,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAc,OAAA,CAAAd,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAU,OAAA,CAAAd,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _useFonts = require("./use-fonts.js");
7
+ Object.keys(_useFonts).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _useFonts[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _useFonts[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_useFonts","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["hooks/index.ts"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useBrandFonts = void 0;
7
+ var _expoFont = require("expo-font");
8
+ /**
9
+ * A hook to load the custom fonts for the design system.
10
+ * This should be used in the root component of the application (e.g., App.tsx).
11
+ *
12
+ * @returns A boolean indicating if the fonts have been loaded, and an error object if one occurred.
13
+ */
14
+ const useBrandFonts = () => {
15
+ const [fontsLoaded, fontError] = (0, _expoFont.useFonts)({
16
+ "Nunito-Bold": require("../../assets/fonts/Nunito-Bold.ttf"),
17
+ "Nunito-BoldItalic": require("../../assets/fonts/Nunito-BoldItalic.ttf"),
18
+ "Nunito-Italic": require("../../assets/fonts/Nunito-Italic.ttf"),
19
+ "Nunito-Medium": require("../../assets/fonts/Nunito-Medium.ttf"),
20
+ "Nunito-MediumItalic": require("../../assets/fonts/Nunito-MediumItalic.ttf"),
21
+ "Nunito-Regular": require("../../assets/fonts/Nunito-Regular.ttf"),
22
+ "Nunito-SemiBold": require("../../assets/fonts/Nunito-SemiBold.ttf"),
23
+ "Nunito-SemiBoldItalic": require("../../assets/fonts/Nunito-SemiBoldItalic.ttf")
24
+ });
25
+ return {
26
+ fontsLoaded,
27
+ fontError
28
+ };
29
+ };
30
+ exports.useBrandFonts = useBrandFonts;
31
+ //# sourceMappingURL=use-fonts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_expoFont","require","useBrandFonts","fontsLoaded","fontError","useExpoFonts","exports"],"sourceRoot":"../../../src","sources":["hooks/use-fonts.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EACjC,MAAM,CAACC,WAAW,EAAEC,SAAS,CAAC,GAAG,IAAAC,kBAAY,EAAC;IAC5C,aAAa,EAAEJ,OAAO,CAAC,oCAAoC,CAAC;IAC5D,mBAAmB,EAAEA,OAAO,CAAC,0CAA0C,CAAC;IACxE,eAAe,EAAEA,OAAO,CAAC,sCAAsC,CAAC;IAChE,eAAe,EAAEA,OAAO,CAAC,sCAAsC,CAAC;IAChE,qBAAqB,EAAEA,OAAO,CAAC,4CAA4C,CAAC;IAC5E,gBAAgB,EAAEA,OAAO,CAAC,uCAAuC,CAAC;IAClE,iBAAiB,EAAEA,OAAO,CAAC,wCAAwC,CAAC;IACpE,uBAAuB,EAAEA,OAAO,CAAC,8CAA8C;EACjF,CAAC,CAAC;EAEF,OAAO;IAAEE,WAAW;IAAEC;EAAU,CAAC;AACnC,CAAC;AAACE,OAAA,CAAAJ,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Icons = Icons;
7
+ var IconsNative = _interopRequireWildcard(require("@butterfly/icons/native"));
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reactNative = require("react-native");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
+ function Icons(props) {
13
+ const {
14
+ size = 24,
15
+ color = 'currentColor'
16
+ } = props;
17
+ const icons = Object.entries(IconsNative).map(([name, IconComponent]) => ({
18
+ name,
19
+ component: IconComponent
20
+ }));
21
+ const [searchTerm, setSearchTerm] = (0, _react.useState)('');
22
+ const iconsFiltered = (0, _react.useMemo)(() => {
23
+ const sorted = [...icons].sort((a, b) => a.name.localeCompare(b.name));
24
+ return sorted.filter(icon => icon.name.toLowerCase().includes(searchTerm.toLowerCase()));
25
+ }, [icons, searchTerm]);
26
+ function handleIconPress(name) {
27
+ const isCurrentColor = color === 'currentColor';
28
+ const component = `<${name} size={${size}} ${isCurrentColor ? '' : `color="${color}"`} />`;
29
+ _reactNative.Alert.alert(`Ícone selecionado: ${component}`);
30
+ }
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.SafeAreaView, {
32
+ className: "m-16",
33
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
34
+ placeholder: "Pesquisar \xEDcones...",
35
+ placeholderTextColor: "#98A3A3",
36
+ style: {
37
+ width: '100%',
38
+ height: 40,
39
+ marginBottom: 16,
40
+ borderRadius: 8,
41
+ borderWidth: 1,
42
+ borderColor: '#98A3A3',
43
+ paddingHorizontal: 12,
44
+ fontSize: 16
45
+ },
46
+ onChangeText: setSearchTerm,
47
+ value: searchTerm
48
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
49
+ data: iconsFiltered,
50
+ keyExtractor: ({
51
+ name
52
+ }) => name,
53
+ numColumns: 4,
54
+ columnWrapperStyle: {
55
+ justifyContent: "flex-start"
56
+ },
57
+ contentContainerStyle: {
58
+ paddingBottom: 32
59
+ },
60
+ renderItem: ({
61
+ item: {
62
+ name,
63
+ component: IconComponent
64
+ }
65
+ }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
66
+ style: {
67
+ flex: 1,
68
+ alignItems: "center",
69
+ marginVertical: 8
70
+ },
71
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
72
+ style: {
73
+ flexDirection: "column",
74
+ alignItems: "center",
75
+ padding: 8
76
+ },
77
+ onPress: () => handleIconPress(name),
78
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {
79
+ size: size,
80
+ color: color
81
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
82
+ style: {
83
+ marginTop: 8,
84
+ fontSize: 12,
85
+ textAlign: "center",
86
+ maxWidth: 100
87
+ },
88
+ numberOfLines: 1,
89
+ children: name
90
+ })]
91
+ })
92
+ })
93
+ })]
94
+ });
95
+ }
96
+ ;
97
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["IconsNative","_interopRequireWildcard","require","_react","_reactNative","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Icons","props","size","color","icons","entries","map","name","IconComponent","component","searchTerm","setSearchTerm","useState","iconsFiltered","useMemo","sorted","sort","a","b","localeCompare","filter","icon","toLowerCase","includes","handleIconPress","isCurrentColor","Alert","alert","jsxs","SafeAreaView","className","children","jsx","TextInput","placeholder","placeholderTextColor","style","width","height","marginBottom","borderRadius","borderWidth","borderColor","paddingHorizontal","fontSize","onChangeText","value","FlatList","data","keyExtractor","numColumns","columnWrapperStyle","justifyContent","contentContainerStyle","paddingBottom","renderItem","item","View","flex","alignItems","marginVertical","Pressable","flexDirection","padding","onPress","Text","marginTop","textAlign","maxWidth","numberOfLines"],"sourceRoot":"../../../../src","sources":["iconography/Icons/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAF,uBAAA,CAAAC,OAAA;AAEA,IAAAE,YAAA,GAAAF,OAAA;AAA+F,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAA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perty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["iconography/Icons/types.ts"],"mappings":"","ignoreList":[]}