@kivid/native-components 1.0.0-alpha.2 → 1.0.0-alpha.21

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 (910) hide show
  1. package/README.md +1 -57
  2. package/dist/commonjs/components/ActionButton/assets/class-variants.js +47 -0
  3. package/dist/commonjs/components/ActionButton/assets/class-variants.js.map +1 -0
  4. package/dist/commonjs/components/ActionButton/index.js +120 -0
  5. package/dist/commonjs/components/ActionButton/index.js.map +1 -0
  6. package/dist/commonjs/components/ActionButton/types.js.map +1 -0
  7. package/dist/commonjs/components/Avatar/assets/class-variants.js +24 -0
  8. package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -0
  9. package/dist/commonjs/components/Avatar/images/girl.jpg +0 -0
  10. package/dist/commonjs/components/Avatar/index.js +116 -0
  11. package/dist/commonjs/components/Avatar/index.js.map +1 -0
  12. package/dist/commonjs/components/Avatar/types.js.map +1 -0
  13. package/dist/commonjs/components/Button/assets/class-variants.js +24 -13
  14. package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
  15. package/dist/commonjs/components/Button/index.js +33 -26
  16. package/dist/commonjs/components/Button/index.js.map +1 -1
  17. package/dist/commonjs/components/ChatBubble/assets/class-variants.js +124 -0
  18. package/dist/commonjs/components/ChatBubble/assets/class-variants.js.map +1 -0
  19. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js +28 -0
  20. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  21. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  22. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js +53 -0
  23. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  24. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/types.js +6 -0
  25. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/types.js.map +1 -0
  26. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
  27. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  28. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
  29. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  30. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js +6 -0
  31. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  32. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +43 -0
  33. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  34. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js +6 -0
  35. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  36. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js +43 -0
  37. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  38. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
  39. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  40. package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
  41. package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
  42. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js +17 -0
  43. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
  44. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/types.js +6 -0
  45. package/dist/{module/components/InputOTP/components/InformationStatus → commonjs/components/ChatBubble/contexts/ChatBubbleContext}/types.js.map +1 -1
  46. package/dist/commonjs/components/ChatBubble/contexts/index.js +17 -0
  47. package/dist/commonjs/components/ChatBubble/contexts/index.js.map +1 -0
  48. package/dist/commonjs/components/ChatBubble/index.js +149 -0
  49. package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
  50. package/dist/commonjs/components/ChatBubble/types.js +6 -0
  51. package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
  52. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
  53. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  54. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  55. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  56. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  57. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  58. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  59. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  60. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  61. package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
  62. package/dist/commonjs/components/CheckboxInput/types.js +6 -0
  63. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
  64. package/dist/commonjs/components/Chip/assets/class-variants.js +2 -2
  65. package/dist/commonjs/components/Chip/assets/class-variants.js.map +1 -1
  66. package/dist/commonjs/components/Chip/enums/index.js +0 -11
  67. package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
  68. package/dist/commonjs/components/Chip/index.js +10 -5
  69. package/dist/commonjs/components/Chip/index.js.map +1 -1
  70. package/dist/commonjs/components/HighlightedText/index.js +20 -16
  71. package/dist/commonjs/components/HighlightedText/index.js.map +1 -1
  72. package/dist/commonjs/components/IconButton/assets/class-variants.js +82 -0
  73. package/dist/commonjs/components/IconButton/assets/class-variants.js.map +1 -0
  74. package/dist/commonjs/components/IconButton/assets/design-system-showcase.js +119 -0
  75. package/dist/commonjs/components/IconButton/assets/design-system-showcase.js.map +1 -0
  76. package/dist/commonjs/components/IconButton/enums.js +33 -0
  77. package/dist/commonjs/components/IconButton/enums.js.map +1 -0
  78. package/dist/commonjs/components/IconButton/index.js +108 -0
  79. package/dist/commonjs/components/IconButton/index.js.map +1 -0
  80. package/dist/commonjs/components/IconButton/types.js +6 -0
  81. package/dist/commonjs/components/IconButton/types.js.map +1 -0
  82. package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js +115 -60
  83. package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
  84. package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js +117 -60
  85. package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
  86. package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js +113 -58
  87. package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
  88. package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js +112 -55
  89. package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js.map +1 -1
  90. package/dist/commonjs/components/InformationStatus/index.js +9 -13
  91. package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
  92. package/dist/commonjs/components/ListButton/assets/class-variants.js +52 -0
  93. package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
  94. package/dist/commonjs/components/ListButton/assets/design-system-showcase.js +424 -0
  95. package/dist/commonjs/components/ListButton/assets/design-system-showcase.js.map +1 -0
  96. package/dist/commonjs/{hooks → components/ListButton/enums}/index.js +4 -4
  97. package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
  98. package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
  99. package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
  100. package/dist/commonjs/components/ListButton/index.js +116 -0
  101. package/dist/commonjs/components/ListButton/index.js.map +1 -0
  102. package/dist/commonjs/components/ListButton/types.js +6 -0
  103. package/dist/commonjs/components/ListButton/types.js.map +1 -0
  104. package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
  105. package/dist/commonjs/components/MessageInput/assets/class-variants.js +31 -0
  106. package/dist/commonjs/components/MessageInput/assets/class-variants.js.map +1 -0
  107. package/dist/commonjs/components/MessageInput/index.js +105 -0
  108. package/dist/commonjs/components/MessageInput/index.js.map +1 -0
  109. package/dist/commonjs/components/MessageInput/types.js +6 -0
  110. package/dist/commonjs/components/MessageInput/types.js.map +1 -0
  111. package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
  112. package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
  113. package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +21 -18
  114. package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  115. package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
  116. package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map +1 -1
  117. package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
  118. package/dist/commonjs/components/OtpInput/enums/index.js +14 -0
  119. package/dist/commonjs/components/OtpInput/enums/index.js.map +1 -0
  120. package/dist/commonjs/components/OtpInput/index.js +115 -0
  121. package/dist/commonjs/components/OtpInput/index.js.map +1 -0
  122. package/dist/commonjs/components/OtpInput/types.js +6 -0
  123. package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
  124. package/dist/commonjs/components/PageIndicators/index.js +41 -0
  125. package/dist/commonjs/components/PageIndicators/index.js.map +1 -0
  126. package/dist/commonjs/components/PageIndicators/types.js +2 -0
  127. package/dist/commonjs/components/PageIndicators/types.js.map +1 -0
  128. package/dist/commonjs/components/PasswordInput/index.js +42 -0
  129. package/dist/commonjs/components/PasswordInput/index.js.map +1 -0
  130. package/dist/commonjs/components/PasswordInput/types.js +6 -0
  131. package/dist/{module/components/InputCheckbox → commonjs/components/PasswordInput}/types.js.map +1 -1
  132. package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
  133. package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
  134. package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
  135. package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
  136. package/dist/commonjs/components/RadioInput/index.js +41 -0
  137. package/dist/commonjs/components/RadioInput/index.js.map +1 -0
  138. package/dist/commonjs/components/RadioInput/types.js +6 -0
  139. package/dist/commonjs/components/RadioInput/types.js.map +1 -0
  140. package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
  141. package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
  142. package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
  143. package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
  144. package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
  145. package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
  146. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
  147. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
  148. package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
  149. package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
  150. package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
  151. package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
  152. package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
  153. package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
  154. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
  155. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
  156. package/dist/commonjs/components/Seal/index.js +5 -2
  157. package/dist/commonjs/components/Seal/index.js.map +1 -1
  158. package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
  159. package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
  160. package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
  161. package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
  162. package/dist/commonjs/components/SelectButton/index.js +110 -0
  163. package/dist/commonjs/components/SelectButton/index.js.map +1 -0
  164. package/dist/commonjs/components/SelectButton/types.js +6 -0
  165. package/dist/commonjs/components/SelectButton/types.js.map +1 -0
  166. package/dist/commonjs/components/TextInput/assets/class-variants.js +88 -0
  167. package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
  168. package/dist/commonjs/components/TextInput/enums.js +18 -0
  169. package/dist/commonjs/components/TextInput/enums.js.map +1 -0
  170. package/dist/commonjs/components/TextInput/index.js +145 -0
  171. package/dist/commonjs/components/TextInput/index.js.map +1 -0
  172. package/dist/commonjs/components/TextInput/types.js +6 -0
  173. package/dist/commonjs/components/TextInput/types.js.map +1 -0
  174. package/dist/commonjs/components/Title/components/icon/index.js +2 -1
  175. package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
  176. package/dist/commonjs/components/Title/components/icon/types.js +0 -9
  177. package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
  178. package/dist/commonjs/components/Title/components/marker/index.js +4 -3
  179. package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
  180. package/dist/commonjs/components/Title/components/marker/types.js +4 -0
  181. package/dist/commonjs/components/Title/index.js +8 -7
  182. package/dist/commonjs/components/Title/index.js.map +1 -1
  183. package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
  184. package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
  185. package/dist/commonjs/components/Toast/enums/index.js +28 -0
  186. package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
  187. package/dist/commonjs/components/Toast/enums/position.js +12 -0
  188. package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
  189. package/dist/commonjs/components/Toast/enums/variant.js +13 -0
  190. package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
  191. package/dist/commonjs/components/Toast/index.js +122 -0
  192. package/dist/commonjs/components/Toast/index.js.map +1 -0
  193. package/dist/commonjs/components/Toast/types.js +6 -0
  194. package/dist/commonjs/components/Toast/types.js.map +1 -0
  195. package/dist/commonjs/components/Toggle/enums/variant.js +8 -8
  196. package/dist/commonjs/components/Toggle/enums/variant.js.map +1 -1
  197. package/dist/commonjs/components/Toggle/index.js +1 -1
  198. package/dist/commonjs/components/Toggle/index.js.map +1 -1
  199. package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
  200. package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
  201. package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
  202. package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
  203. package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
  204. package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
  205. package/dist/commonjs/components/Tooltip/components/index.js +17 -0
  206. package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
  207. package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
  208. package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
  209. package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
  210. package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
  211. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
  212. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  213. package/dist/commonjs/components/Tooltip/index.js +82 -0
  214. package/dist/commonjs/components/Tooltip/index.js.map +1 -0
  215. package/dist/commonjs/components/Tooltip/types.js +6 -0
  216. package/dist/commonjs/components/Tooltip/types.js.map +1 -0
  217. package/dist/commonjs/components/Typography/assets/class-variants.js +59 -0
  218. package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -0
  219. package/dist/commonjs/components/Typography/index.js +9 -5
  220. package/dist/commonjs/components/Typography/index.js.map +1 -1
  221. package/dist/commonjs/components/index.js +308 -11
  222. package/dist/commonjs/components/index.js.map +1 -1
  223. package/dist/commonjs/enums/corners.js +14 -0
  224. package/dist/commonjs/enums/corners.js.map +1 -0
  225. package/dist/commonjs/enums/font-weight.js +18 -0
  226. package/dist/commonjs/enums/font-weight.js.map +1 -0
  227. package/dist/commonjs/enums/index.js +50 -0
  228. package/dist/commonjs/enums/index.js.map +1 -0
  229. package/dist/commonjs/enums/size.js +18 -0
  230. package/dist/commonjs/enums/size.js.map +1 -0
  231. package/dist/commonjs/enums/state-variant.js +15 -0
  232. package/dist/commonjs/enums/state-variant.js.map +1 -0
  233. package/dist/commonjs/iconography/Icons/index.js +49 -15
  234. package/dist/commonjs/iconography/Icons/index.js.map +1 -1
  235. package/dist/commonjs/index.js +22 -0
  236. package/dist/commonjs/index.js.map +1 -1
  237. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
  238. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
  239. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
  240. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
  241. package/dist/commonjs/storybook-utils/components/index.js +13 -0
  242. package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
  243. package/dist/commonjs/storybook-utils/index.js +17 -0
  244. package/dist/commonjs/storybook-utils/index.js.map +1 -0
  245. package/dist/commonjs/styles/index.js +17 -0
  246. package/dist/commonjs/styles/index.js.map +1 -0
  247. package/dist/commonjs/styles/mixins/index.js +17 -0
  248. package/dist/commonjs/styles/mixins/index.js.map +1 -0
  249. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
  250. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  251. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
  252. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  253. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
  254. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  255. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
  256. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  257. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
  258. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  259. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
  260. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  261. package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
  262. package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
  263. package/dist/module/components/ActionButton/assets/class-variants.js +43 -0
  264. package/dist/module/components/ActionButton/assets/class-variants.js.map +1 -0
  265. package/dist/module/components/ActionButton/index.js +115 -0
  266. package/dist/module/components/ActionButton/index.js.map +1 -0
  267. package/dist/module/components/ActionButton/types.js.map +1 -0
  268. package/dist/module/components/Avatar/assets/class-variants.js +21 -0
  269. package/dist/module/components/Avatar/assets/class-variants.js.map +1 -0
  270. package/dist/module/components/Avatar/images/girl.jpg +0 -0
  271. package/dist/module/components/Avatar/index.js +111 -0
  272. package/dist/module/components/Avatar/index.js.map +1 -0
  273. package/dist/module/components/Avatar/types.js.map +1 -0
  274. package/dist/module/components/Button/assets/class-variants.js +24 -13
  275. package/dist/module/components/Button/assets/class-variants.js.map +1 -1
  276. package/dist/module/components/Button/index.js +34 -26
  277. package/dist/module/components/Button/index.js.map +1 -1
  278. package/dist/module/components/ChatBubble/assets/class-variants.js +120 -0
  279. package/dist/module/components/ChatBubble/assets/class-variants.js.map +1 -0
  280. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js +22 -0
  281. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  282. package/dist/module/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  283. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js +46 -0
  284. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  285. package/dist/module/components/ChatBubble/components/ChatBubbleEar/types.js +4 -0
  286. package/dist/module/components/ChatBubble/components/ChatBubbleEar/types.js.map +1 -0
  287. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
  288. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  289. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
  290. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  291. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js +4 -0
  292. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  293. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +38 -0
  294. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  295. package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js +4 -0
  296. package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  297. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js +38 -0
  298. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  299. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
  300. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  301. package/dist/module/components/ChatBubble/components/index.js +9 -0
  302. package/dist/module/components/ChatBubble/components/index.js.map +1 -0
  303. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js +12 -0
  304. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
  305. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js +4 -0
  306. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js.map +1 -0
  307. package/dist/module/components/ChatBubble/contexts/index.js +4 -0
  308. package/dist/module/components/{InputOTP/components → ChatBubble/contexts}/index.js.map +1 -1
  309. package/dist/module/components/ChatBubble/index.js +146 -0
  310. package/dist/module/components/ChatBubble/index.js.map +1 -0
  311. package/dist/module/components/ChatBubble/types.js +4 -0
  312. package/dist/module/components/ChatBubble/types.js.map +1 -0
  313. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
  314. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  315. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  316. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  317. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  318. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  319. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  320. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  321. package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  322. package/dist/module/components/CheckboxInput/index.js.map +1 -0
  323. package/dist/module/components/CheckboxInput/types.js +4 -0
  324. package/dist/module/components/CheckboxInput/types.js.map +1 -0
  325. package/dist/module/components/Chip/assets/class-variants.js +2 -2
  326. package/dist/module/components/Chip/assets/class-variants.js.map +1 -1
  327. package/dist/module/components/Chip/enums/index.js +0 -1
  328. package/dist/module/components/Chip/enums/index.js.map +1 -1
  329. package/dist/module/components/Chip/index.js +11 -6
  330. package/dist/module/components/Chip/index.js.map +1 -1
  331. package/dist/module/components/HighlightedText/index.js +20 -16
  332. package/dist/module/components/HighlightedText/index.js.map +1 -1
  333. package/dist/module/components/IconButton/assets/class-variants.js +79 -0
  334. package/dist/module/components/IconButton/assets/class-variants.js.map +1 -0
  335. package/dist/module/components/IconButton/assets/design-system-showcase.js +115 -0
  336. package/dist/module/components/IconButton/assets/design-system-showcase.js.map +1 -0
  337. package/dist/module/components/IconButton/enums.js +29 -0
  338. package/dist/module/components/IconButton/enums.js.map +1 -0
  339. package/dist/module/components/IconButton/index.js +103 -0
  340. package/dist/module/components/IconButton/index.js.map +1 -0
  341. package/dist/module/components/IconButton/types.js +4 -0
  342. package/dist/module/components/IconButton/types.js.map +1 -0
  343. package/dist/module/components/InformationStatus/components/GradientAdd/index.js +113 -59
  344. package/dist/module/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
  345. package/dist/module/components/InformationStatus/components/GradientAlert/index.js +116 -60
  346. package/dist/module/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
  347. package/dist/module/components/InformationStatus/components/GradientCheck/index.js +113 -59
  348. package/dist/module/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
  349. package/dist/module/components/InformationStatus/components/GradientClose/index.js +111 -55
  350. package/dist/module/components/InformationStatus/components/GradientClose/index.js.map +1 -1
  351. package/dist/module/components/InformationStatus/index.js +9 -13
  352. package/dist/module/components/InformationStatus/index.js.map +1 -1
  353. package/dist/module/components/ListButton/assets/class-variants.js +49 -0
  354. package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
  355. package/dist/module/components/ListButton/assets/design-system-showcase.js +420 -0
  356. package/dist/module/components/ListButton/assets/design-system-showcase.js.map +1 -0
  357. package/dist/module/components/ListButton/enums/index.js +4 -0
  358. package/dist/module/components/ListButton/enums/index.js.map +1 -0
  359. package/dist/module/components/ListButton/enums/variant.js +13 -0
  360. package/dist/module/components/ListButton/enums/variant.js.map +1 -0
  361. package/dist/module/components/ListButton/index.js +112 -0
  362. package/dist/module/components/ListButton/index.js.map +1 -0
  363. package/dist/module/components/ListButton/types.js +4 -0
  364. package/dist/module/components/ListButton/types.js.map +1 -0
  365. package/dist/module/components/LoadingDots/index.js.map +1 -1
  366. package/dist/module/components/MessageInput/assets/class-variants.js +27 -0
  367. package/dist/module/components/MessageInput/assets/class-variants.js.map +1 -0
  368. package/dist/module/components/MessageInput/index.js +100 -0
  369. package/dist/module/components/MessageInput/index.js.map +1 -0
  370. package/dist/module/components/MessageInput/types.js +4 -0
  371. package/dist/module/components/MessageInput/types.js.map +1 -0
  372. package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
  373. package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
  374. package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +21 -18
  375. package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  376. package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
  377. package/dist/module/components/OtpInput/components/InformationStatus/types.js.map +1 -0
  378. package/dist/module/components/OtpInput/components/index.js.map +1 -0
  379. package/dist/module/components/OtpInput/enums/index.js +10 -0
  380. package/dist/module/components/OtpInput/enums/index.js.map +1 -0
  381. package/dist/module/components/OtpInput/index.js +110 -0
  382. package/dist/module/components/OtpInput/index.js.map +1 -0
  383. package/dist/module/components/OtpInput/types.js +4 -0
  384. package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
  385. package/dist/module/components/PageIndicators/index.js +37 -0
  386. package/dist/module/components/PageIndicators/index.js.map +1 -0
  387. package/dist/module/components/PageIndicators/types.js +2 -0
  388. package/dist/module/components/PageIndicators/types.js.map +1 -0
  389. package/dist/module/components/PasswordInput/index.js +37 -0
  390. package/dist/module/components/PasswordInput/index.js.map +1 -0
  391. package/dist/module/components/PasswordInput/types.js +4 -0
  392. package/dist/module/components/PasswordInput/types.js.map +1 -0
  393. package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
  394. package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
  395. package/dist/module/components/RadioInput/enums/index.js +13 -0
  396. package/dist/module/components/RadioInput/enums/index.js.map +1 -0
  397. package/dist/module/components/RadioInput/index.js +37 -0
  398. package/dist/module/components/RadioInput/index.js.map +1 -0
  399. package/dist/module/components/RadioInput/types.js +4 -0
  400. package/dist/module/components/RadioInput/types.js.map +1 -0
  401. package/dist/module/components/Seal/assets/class-variants.js +3 -2
  402. package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
  403. package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
  404. package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
  405. package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
  406. package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
  407. package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
  408. package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
  409. package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
  410. package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
  411. package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
  412. package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
  413. package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
  414. package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
  415. package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
  416. package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
  417. package/dist/module/components/Seal/index.js +5 -2
  418. package/dist/module/components/Seal/index.js.map +1 -1
  419. package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
  420. package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
  421. package/dist/module/components/SelectButton/enums/index.js +8 -0
  422. package/dist/module/components/SelectButton/enums/index.js.map +1 -0
  423. package/dist/module/components/SelectButton/index.js +106 -0
  424. package/dist/module/components/SelectButton/index.js.map +1 -0
  425. package/dist/module/components/SelectButton/types.js +4 -0
  426. package/dist/module/components/SelectButton/types.js.map +1 -0
  427. package/dist/module/components/TextInput/assets/class-variants.js +84 -0
  428. package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
  429. package/dist/module/components/TextInput/enums.js +14 -0
  430. package/dist/module/components/TextInput/enums.js.map +1 -0
  431. package/dist/module/components/TextInput/index.js +139 -0
  432. package/dist/module/components/TextInput/index.js.map +1 -0
  433. package/dist/module/components/TextInput/types.js +4 -0
  434. package/dist/module/components/TextInput/types.js.map +1 -0
  435. package/dist/module/components/Title/components/icon/index.js +2 -1
  436. package/dist/module/components/Title/components/icon/index.js.map +1 -1
  437. package/dist/module/components/Title/components/icon/types.js +1 -8
  438. package/dist/module/components/Title/components/icon/types.js.map +1 -1
  439. package/dist/module/components/Title/components/marker/index.js +4 -3
  440. package/dist/module/components/Title/components/marker/index.js.map +1 -1
  441. package/dist/module/components/Title/components/marker/types.js +2 -0
  442. package/dist/module/components/Title/index.js +8 -7
  443. package/dist/module/components/Title/index.js.map +1 -1
  444. package/dist/module/components/Toast/assets/class-variants.js +29 -0
  445. package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
  446. package/dist/module/components/Toast/enums/index.js +5 -0
  447. package/dist/module/components/Toast/enums/index.js.map +1 -0
  448. package/dist/module/components/Toast/enums/position.js +8 -0
  449. package/dist/module/components/Toast/enums/position.js.map +1 -0
  450. package/dist/module/components/Toast/enums/variant.js +9 -0
  451. package/dist/module/components/Toast/enums/variant.js.map +1 -0
  452. package/dist/module/components/Toast/index.js +117 -0
  453. package/dist/module/components/Toast/index.js.map +1 -0
  454. package/dist/module/components/Toast/types.js +4 -0
  455. package/dist/module/components/Toast/types.js.map +1 -0
  456. package/dist/module/components/Toggle/enums/variant.js +7 -7
  457. package/dist/module/components/Toggle/enums/variant.js.map +1 -1
  458. package/dist/module/components/Toggle/index.js +2 -2
  459. package/dist/module/components/Toggle/index.js.map +1 -1
  460. package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
  461. package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
  462. package/dist/module/components/Tooltip/components/Content/index.js +78 -0
  463. package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
  464. package/dist/module/components/Tooltip/components/Content/types.js +4 -0
  465. package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
  466. package/dist/module/components/Tooltip/components/index.js +4 -0
  467. package/dist/module/components/Tooltip/components/index.js.map +1 -0
  468. package/dist/module/components/Tooltip/enum/index.js +14 -0
  469. package/dist/module/components/Tooltip/enum/index.js.map +1 -0
  470. package/dist/module/components/Tooltip/hooks/index.js +4 -0
  471. package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
  472. package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
  473. package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  474. package/dist/module/components/Tooltip/index.js +78 -0
  475. package/dist/module/components/Tooltip/index.js.map +1 -0
  476. package/dist/module/components/Tooltip/types.js +4 -0
  477. package/dist/module/components/Tooltip/types.js.map +1 -0
  478. package/dist/module/components/Typography/assets/class-variants.js +55 -0
  479. package/dist/module/components/Typography/assets/class-variants.js.map +1 -0
  480. package/dist/module/components/Typography/index.js +9 -5
  481. package/dist/module/components/Typography/index.js.map +1 -1
  482. package/dist/module/components/index.js +30 -2
  483. package/dist/module/components/index.js.map +1 -1
  484. package/dist/module/enums/corners.js +10 -0
  485. package/dist/module/enums/corners.js.map +1 -0
  486. package/dist/module/enums/font-weight.js +14 -0
  487. package/dist/module/enums/font-weight.js.map +1 -0
  488. package/dist/module/enums/index.js +7 -0
  489. package/dist/module/enums/index.js.map +1 -0
  490. package/dist/module/enums/size.js +14 -0
  491. package/dist/module/enums/size.js.map +1 -0
  492. package/dist/module/enums/state-variant.js +11 -0
  493. package/dist/module/enums/state-variant.js.map +1 -0
  494. package/dist/module/iconography/Icons/index.js +50 -16
  495. package/dist/module/iconography/Icons/index.js.map +1 -1
  496. package/dist/module/index.js +2 -0
  497. package/dist/module/index.js.map +1 -1
  498. package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
  499. package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
  500. package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
  501. package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
  502. package/dist/module/storybook-utils/components/index.js +14 -0
  503. package/dist/module/storybook-utils/components/index.js.map +1 -0
  504. package/dist/module/storybook-utils/index.js +11 -0
  505. package/dist/module/storybook-utils/index.js.map +1 -0
  506. package/dist/module/styles/index.js +4 -0
  507. package/dist/module/styles/index.js.map +1 -0
  508. package/dist/module/styles/mixins/index.js +4 -0
  509. package/dist/module/styles/mixins/index.js.map +1 -0
  510. package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
  511. package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  512. package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
  513. package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  514. package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
  515. package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  516. package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
  517. package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  518. package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
  519. package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  520. package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
  521. package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  522. package/dist/module/styles/mixins/shadows/index.js +9 -0
  523. package/dist/module/styles/mixins/shadows/index.js.map +1 -0
  524. package/dist/typescript/components/ActionButton/assets/class-variants.d.ts +8 -0
  525. package/dist/typescript/components/ActionButton/index.d.ts +6 -0
  526. package/dist/typescript/components/ActionButton/types.d.ts +61 -0
  527. package/dist/typescript/components/Avatar/assets/class-variants.d.ts +5 -0
  528. package/dist/typescript/components/Avatar/index.d.ts +2 -0
  529. package/dist/typescript/components/Avatar/types.d.ts +8 -0
  530. package/dist/typescript/components/Button/assets/class-variants.d.ts +4 -3
  531. package/dist/typescript/components/Button/index.d.ts +4 -3
  532. package/dist/typescript/components/Button/types.d.ts +3 -2
  533. package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +14 -0
  534. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/index.d.ts +6 -0
  535. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/types.d.ts +5 -0
  536. package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/index.d.ts +3 -0
  537. package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/types.d.ts +6 -0
  538. package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
  539. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
  540. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
  541. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
  542. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
  543. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
  544. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
  545. package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
  546. package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/index.d.ts +3 -0
  547. package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/types.d.ts +7 -0
  548. package/dist/typescript/components/ChatBubble/contexts/index.d.ts +1 -0
  549. package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
  550. package/dist/typescript/components/ChatBubble/types.d.ts +17 -0
  551. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
  552. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
  553. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
  554. package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
  555. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
  556. package/dist/typescript/components/Chip/assets/class-variants.d.ts +1 -1
  557. package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
  558. package/dist/typescript/components/Chip/index.d.ts +3 -2
  559. package/dist/typescript/components/Chip/types.d.ts +3 -2
  560. package/dist/typescript/components/HighlightedText/index.d.ts +2 -1
  561. package/dist/typescript/components/HighlightedText/types.d.ts +9 -3
  562. package/dist/typescript/components/IconButton/assets/class-variants.d.ts +8 -0
  563. package/dist/typescript/components/IconButton/assets/design-system-showcase.d.ts +17 -0
  564. package/dist/typescript/components/IconButton/enums.d.ts +22 -0
  565. package/dist/typescript/components/IconButton/index.d.ts +2 -0
  566. package/dist/typescript/components/IconButton/types.d.ts +15 -0
  567. package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +2 -1
  568. package/dist/typescript/components/InformationStatus/components/GradientAdd/types.d.ts +3 -2
  569. package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +2 -1
  570. package/dist/typescript/components/InformationStatus/components/GradientAlert/types.d.ts +3 -2
  571. package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +4 -3
  572. package/dist/typescript/components/InformationStatus/components/GradientCheck/types.d.ts +3 -2
  573. package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +2 -1
  574. package/dist/typescript/components/InformationStatus/components/GradientClose/types.d.ts +3 -2
  575. package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
  576. package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
  577. package/dist/typescript/components/ListButton/assets/class-variants.d.ts +11 -0
  578. package/dist/typescript/components/ListButton/assets/design-system-showcase.d.ts +14 -0
  579. package/dist/typescript/components/ListButton/enums/index.d.ts +1 -0
  580. package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
  581. package/dist/typescript/components/ListButton/index.d.ts +2 -0
  582. package/dist/typescript/components/ListButton/types.d.ts +19 -0
  583. package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
  584. package/dist/typescript/components/MessageInput/assets/class-variants.d.ts +7 -0
  585. package/dist/typescript/components/MessageInput/index.d.ts +6 -0
  586. package/dist/typescript/components/MessageInput/types.d.ts +13 -0
  587. package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
  588. package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
  589. package/dist/typescript/components/OtpInput/components/InformationStatus/types.d.ts +6 -0
  590. package/dist/typescript/components/OtpInput/enums/index.d.ts +6 -0
  591. package/dist/typescript/components/OtpInput/index.d.ts +3 -0
  592. package/dist/typescript/components/OtpInput/types.d.ts +15 -0
  593. package/dist/typescript/components/PageIndicators/index.d.ts +2 -0
  594. package/dist/typescript/components/PageIndicators/types.d.ts +4 -0
  595. package/dist/typescript/components/PasswordInput/index.d.ts +2 -0
  596. package/dist/typescript/components/PasswordInput/types.d.ts +3 -0
  597. package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
  598. package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
  599. package/dist/typescript/components/RadioInput/index.d.ts +2 -0
  600. package/dist/typescript/components/RadioInput/types.d.ts +8 -0
  601. package/dist/typescript/components/Seal/assets/class-variants.d.ts +3 -2
  602. package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
  603. package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
  604. package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
  605. package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
  606. package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
  607. package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
  608. package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
  609. package/dist/typescript/components/Seal/types.d.ts +3 -1
  610. package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
  611. package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
  612. package/dist/typescript/components/SelectButton/index.d.ts +2 -0
  613. package/dist/typescript/components/SelectButton/types.d.ts +18 -0
  614. package/dist/typescript/components/TextInput/assets/class-variants.d.ts +18 -0
  615. package/dist/typescript/components/TextInput/enums.d.ts +9 -0
  616. package/dist/typescript/components/TextInput/index.d.ts +6 -0
  617. package/dist/typescript/components/TextInput/types.d.ts +24 -0
  618. package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
  619. package/dist/typescript/components/Title/components/icon/types.d.ts +4 -9
  620. package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
  621. package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
  622. package/dist/typescript/components/Title/index.d.ts +1 -1
  623. package/dist/typescript/components/Title/types.d.ts +3 -1
  624. package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
  625. package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
  626. package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
  627. package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
  628. package/dist/typescript/components/Toast/index.d.ts +2 -0
  629. package/dist/typescript/components/Toast/types.d.ts +11 -0
  630. package/dist/typescript/components/Toggle/enums/variant.d.ts +1 -1
  631. package/dist/typescript/components/Toggle/index.d.ts +1 -1
  632. package/dist/typescript/components/Toggle/types.d.ts +2 -2
  633. package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
  634. package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
  635. package/dist/typescript/components/Tooltip/components/Content/types.d.ts +14 -0
  636. package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
  637. package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
  638. package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
  639. package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
  640. package/dist/typescript/components/Tooltip/index.d.ts +2 -0
  641. package/dist/typescript/components/Tooltip/types.d.ts +13 -0
  642. package/dist/typescript/components/Typography/assets/class-variants.d.ts +4 -0
  643. package/dist/typescript/components/Typography/index.d.ts +3 -3
  644. package/dist/typescript/components/Typography/types.d.ts +3 -3
  645. package/dist/typescript/components/index.d.ts +53 -2
  646. package/dist/typescript/enums/corners.d.ts +6 -0
  647. package/dist/typescript/enums/font-weight.d.ts +10 -0
  648. package/dist/typescript/enums/index.d.ts +4 -0
  649. package/dist/typescript/enums/size.d.ts +10 -0
  650. package/dist/typescript/enums/state-variant.d.ts +7 -0
  651. package/dist/typescript/iconography/Icons/index.d.ts +2 -1
  652. package/dist/typescript/index.d.ts +2 -0
  653. package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
  654. package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
  655. package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
  656. package/dist/typescript/storybook-utils/index.d.ts +7 -0
  657. package/dist/typescript/styles/index.d.ts +1 -0
  658. package/dist/typescript/styles/mixins/index.d.ts +1 -0
  659. package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
  660. package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
  661. package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
  662. package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
  663. package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
  664. package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
  665. package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
  666. package/package.json +51 -61
  667. package/src/components/ActionButton/assets/class-variants.ts +51 -0
  668. package/src/components/ActionButton/index.tsx +147 -0
  669. package/src/components/ActionButton/types.ts +76 -0
  670. package/src/components/Avatar/assets/class-variants.ts +23 -0
  671. package/src/components/Avatar/images/girl.jpg +0 -0
  672. package/src/components/Avatar/index.tsx +119 -0
  673. package/src/components/Avatar/types.ts +16 -0
  674. package/src/components/Button/assets/class-variants.ts +27 -13
  675. package/src/components/Button/index.tsx +52 -33
  676. package/src/components/Button/types.ts +3 -2
  677. package/src/components/ChatBubble/assets/class-variants.ts +141 -0
  678. package/src/components/ChatBubble/components/ChatBubbleContent/index.tsx +24 -0
  679. package/src/components/ChatBubble/components/ChatBubbleContent/types.ts +6 -0
  680. package/src/components/ChatBubble/components/ChatBubbleEar/index.tsx +51 -0
  681. package/src/components/ChatBubble/components/ChatBubbleEar/types.ts +7 -0
  682. package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
  683. package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +37 -0
  684. package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
  685. package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +39 -0
  686. package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
  687. package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +37 -0
  688. package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
  689. package/src/components/ChatBubble/components/index.ts +6 -0
  690. package/src/components/ChatBubble/contexts/ChatBubbleContext/index.tsx +17 -0
  691. package/src/components/ChatBubble/contexts/ChatBubbleContext/types.ts +12 -0
  692. package/src/components/ChatBubble/contexts/index.ts +1 -0
  693. package/src/components/ChatBubble/index.tsx +185 -0
  694. package/src/components/ChatBubble/types.ts +19 -0
  695. package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
  696. package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
  697. package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
  698. package/src/components/Chip/assets/class-variants.ts +2 -2
  699. package/src/components/Chip/enums/index.ts +0 -1
  700. package/src/components/Chip/index.tsx +20 -10
  701. package/src/components/Chip/types.ts +3 -2
  702. package/src/components/HighlightedText/index.tsx +36 -16
  703. package/src/components/HighlightedText/types.ts +9 -3
  704. package/src/components/IconButton/assets/class-variants.ts +126 -0
  705. package/src/components/IconButton/assets/design-system-showcase.ts +246 -0
  706. package/src/components/IconButton/enums.ts +26 -0
  707. package/src/components/IconButton/index.tsx +123 -0
  708. package/src/components/IconButton/types.ts +22 -0
  709. package/src/components/InformationStatus/components/GradientAdd/index.tsx +107 -56
  710. package/src/components/InformationStatus/components/GradientAdd/types.ts +3 -2
  711. package/src/components/InformationStatus/components/GradientAlert/index.tsx +116 -62
  712. package/src/components/InformationStatus/components/GradientAlert/types.ts +3 -2
  713. package/src/components/InformationStatus/components/GradientCheck/index.tsx +111 -59
  714. package/src/components/InformationStatus/components/GradientCheck/types.ts +3 -3
  715. package/src/components/InformationStatus/components/GradientClose/index.tsx +106 -53
  716. package/src/components/InformationStatus/components/GradientClose/types.ts +3 -2
  717. package/src/components/InformationStatus/index.tsx +15 -14
  718. package/src/components/InformationStatus/types.ts +7 -1
  719. package/src/components/ListButton/assets/class-variants.ts +78 -0
  720. package/src/components/ListButton/assets/design-system-showcase.ts +502 -0
  721. package/src/components/ListButton/enums/index.ts +1 -0
  722. package/src/components/ListButton/enums/variant.ts +9 -0
  723. package/src/components/ListButton/index.tsx +128 -0
  724. package/src/components/ListButton/types.ts +22 -0
  725. package/src/components/LoadingDots/index.tsx +0 -1
  726. package/src/components/MessageInput/assets/class-variants.ts +35 -0
  727. package/src/components/MessageInput/index.tsx +121 -0
  728. package/src/components/MessageInput/types.ts +18 -0
  729. package/src/components/OtpInput/assets/class-variant.ts +21 -0
  730. package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +21 -19
  731. package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
  732. package/src/components/{InputOTP/enums/information-status.ts → OtpInput/enums/index.ts} +1 -2
  733. package/src/components/OtpInput/index.tsx +129 -0
  734. package/src/components/OtpInput/types.ts +16 -0
  735. package/src/components/PageIndicators/index.tsx +36 -0
  736. package/src/components/PageIndicators/types.ts +4 -0
  737. package/src/components/PasswordInput/index.tsx +37 -0
  738. package/src/components/PasswordInput/types.ts +4 -0
  739. package/src/components/RadioInput/assets/class-variants.ts +112 -0
  740. package/src/components/RadioInput/enums/index.ts +9 -0
  741. package/src/components/RadioInput/index.tsx +36 -0
  742. package/src/components/RadioInput/types.ts +9 -0
  743. package/src/components/Seal/assets/class-variants.ts +3 -2
  744. package/src/components/Seal/components/AddIcon/index.tsx +7 -3
  745. package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
  746. package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
  747. package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
  748. package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
  749. package/src/components/Seal/components/RightIcon/index.tsx +7 -3
  750. package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
  751. package/src/components/Seal/index.tsx +4 -1
  752. package/src/components/Seal/types.ts +4 -2
  753. package/src/components/SelectButton/assets/class-variants.ts +28 -0
  754. package/src/components/SelectButton/enums/index.ts +4 -0
  755. package/src/components/SelectButton/index.tsx +133 -0
  756. package/src/components/SelectButton/types.ts +21 -0
  757. package/src/components/TextInput/assets/class-variants.ts +93 -0
  758. package/src/components/TextInput/enums.ts +10 -0
  759. package/src/components/TextInput/index.tsx +167 -0
  760. package/src/components/TextInput/types.ts +30 -0
  761. package/src/components/Title/components/icon/index.tsx +2 -1
  762. package/src/components/Title/components/icon/types.ts +6 -9
  763. package/src/components/Title/components/marker/index.tsx +4 -3
  764. package/src/components/Title/components/marker/types.ts +5 -1
  765. package/src/components/Title/index.tsx +8 -7
  766. package/src/components/Title/types.ts +11 -1
  767. package/src/components/Toast/assets/class-variants.ts +32 -0
  768. package/src/components/Toast/enums/index.ts +2 -0
  769. package/src/components/Toast/enums/position.ts +4 -0
  770. package/src/components/Toast/enums/variant.ts +5 -0
  771. package/src/components/Toast/index.tsx +131 -0
  772. package/src/components/Toast/types.ts +12 -0
  773. package/src/components/Toggle/enums/variant.ts +1 -1
  774. package/src/components/Toggle/index.tsx +2 -2
  775. package/src/components/Toggle/types.ts +2 -2
  776. package/src/components/Tooltip/assets/class-variant.ts +26 -0
  777. package/src/components/Tooltip/components/Content/index.tsx +93 -0
  778. package/src/components/Tooltip/components/Content/types.ts +15 -0
  779. package/src/components/Tooltip/components/index.ts +1 -0
  780. package/src/components/Tooltip/enum/index.ts +10 -0
  781. package/src/components/Tooltip/hooks/index.ts +1 -0
  782. package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
  783. package/src/components/Tooltip/index.tsx +90 -0
  784. package/src/components/Tooltip/types.ts +14 -0
  785. package/src/components/Typography/assets/class-variants.ts +56 -0
  786. package/src/components/Typography/index.tsx +9 -5
  787. package/src/components/Typography/types.ts +5 -3
  788. package/src/components/index.ts +76 -2
  789. package/src/enums/corners.ts +6 -0
  790. package/src/enums/font-weight.ts +10 -0
  791. package/src/enums/index.ts +5 -0
  792. package/src/enums/size.ts +10 -0
  793. package/src/enums/state-variant.ts +7 -0
  794. package/src/iconography/Icons/index.tsx +62 -20
  795. package/src/index.ts +2 -0
  796. package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
  797. package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
  798. package/src/storybook-utils/components/index.ts +12 -0
  799. package/src/storybook-utils/index.ts +8 -0
  800. package/src/styles/index.ts +1 -0
  801. package/src/styles/mixins/index.ts +1 -0
  802. package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
  803. package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
  804. package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
  805. package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
  806. package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
  807. package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
  808. package/src/styles/mixins/shadows/index.ts +6 -0
  809. package/assets/adaptive-icon.png +0 -0
  810. package/assets/favicon.png +0 -0
  811. package/assets/fonts/Nunito-Bold.ttf +0 -0
  812. package/assets/fonts/Nunito-BoldItalic.ttf +0 -0
  813. package/assets/fonts/Nunito-Italic.ttf +0 -0
  814. package/assets/fonts/Nunito-Medium.ttf +0 -0
  815. package/assets/fonts/Nunito-MediumItalic.ttf +0 -0
  816. package/assets/fonts/Nunito-Regular.ttf +0 -0
  817. package/assets/fonts/Nunito-SemiBold.ttf +0 -0
  818. package/assets/fonts/Nunito-SemiBoldItalic.ttf +0 -0
  819. package/assets/icon.png +0 -0
  820. package/assets/splash.png +0 -0
  821. package/dist/README.md +0 -57
  822. package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
  823. package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
  824. package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
  825. package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  826. package/dist/commonjs/components/InputOTP/enums/index.js +0 -17
  827. package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
  828. package/dist/commonjs/components/InputOTP/enums/information-status.js +0 -15
  829. package/dist/commonjs/components/InputOTP/enums/information-status.js.map +0 -1
  830. package/dist/commonjs/components/InputOTP/index.js +0 -135
  831. package/dist/commonjs/components/InputOTP/index.js.map +0 -1
  832. package/dist/commonjs/hooks/index.js.map +0 -1
  833. package/dist/commonjs/hooks/use-fonts.js +0 -31
  834. package/dist/commonjs/hooks/use-fonts.js.map +0 -1
  835. package/dist/module/components/Chip/enums/chip-size.js +0 -8
  836. package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
  837. package/dist/module/components/InputCheckbox/index.js.map +0 -1
  838. package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  839. package/dist/module/components/InputOTP/enums/index.js +0 -4
  840. package/dist/module/components/InputOTP/enums/index.js.map +0 -1
  841. package/dist/module/components/InputOTP/enums/information-status.js +0 -11
  842. package/dist/module/components/InputOTP/enums/information-status.js.map +0 -1
  843. package/dist/module/components/InputOTP/index.js +0 -130
  844. package/dist/module/components/InputOTP/index.js.map +0 -1
  845. package/dist/module/hooks/index.js +0 -4
  846. package/dist/module/hooks/index.js.map +0 -1
  847. package/dist/module/hooks/use-fonts.js +0 -27
  848. package/dist/module/hooks/use-fonts.js.map +0 -1
  849. package/dist/package.json +0 -57
  850. package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
  851. package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
  852. package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +0 -6
  853. package/dist/typescript/components/InputOTP/enums/index.d.ts +0 -1
  854. package/dist/typescript/components/InputOTP/enums/information-status.d.ts +0 -7
  855. package/dist/typescript/components/InputOTP/index.d.ts +0 -3
  856. package/dist/typescript/components/InputOTP/types.d.ts +0 -11
  857. package/dist/typescript/hooks/index.d.ts +0 -1
  858. package/dist/typescript/hooks/use-fonts.d.ts +0 -10
  859. package/index.js +0 -6
  860. package/src/components/Button/index.stories.tsx +0 -407
  861. package/src/components/Chip/enums/chip-size.ts +0 -4
  862. package/src/components/Chip/index.stories.tsx +0 -95
  863. package/src/components/HighlightedText/index.stories.tsx +0 -110
  864. package/src/components/InformationStatus/index.stories.tsx +0 -112
  865. package/src/components/InputCheckbox/index.stories.tsx +0 -133
  866. package/src/components/InputOTP/components/InformationStatus/types.ts +0 -6
  867. package/src/components/InputOTP/enums/index.ts +0 -1
  868. package/src/components/InputOTP/index.stories.tsx +0 -247
  869. package/src/components/InputOTP/index.tsx +0 -177
  870. package/src/components/InputOTP/types.ts +0 -12
  871. package/src/components/LoadingDots/index.stories.tsx +0 -74
  872. package/src/components/Seal/index.stories.tsx +0 -124
  873. package/src/components/Title/index.stories.tsx +0 -619
  874. package/src/components/Toggle/index.stories.tsx +0 -88
  875. package/src/components/Typography/index.stories.tsx +0 -260
  876. package/src/hooks/index.ts +0 -1
  877. package/src/hooks/use-fonts.ts +0 -22
  878. package/src/iconography/Icons/index.stories.tsx +0 -23
  879. /package/dist/commonjs/components/{InputCheckbox → ActionButton}/types.js +0 -0
  880. /package/dist/commonjs/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
  881. /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  882. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  883. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  884. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  885. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  886. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  887. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  888. /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
  889. /package/dist/module/components/{InputCheckbox → ActionButton}/types.js +0 -0
  890. /package/dist/module/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
  891. /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  892. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  893. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  894. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  895. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  896. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  897. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  898. /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
  899. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
  900. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
  901. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
  902. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
  903. /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
  904. /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
  905. /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
  906. /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
  907. /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
  908. /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
  909. /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
  910. /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+
3
+ import { View } from "react-native";
4
+ import { merge } from "@kivid/tailwind-preset";
5
+ import { TooltipPointerOffsetEnum, TooltipVariantEnum } from "../../enum/index.js";
6
+ import { contentVariants, pointerVariants } from "../../assets/class-variant.js";
7
+ import { SealVariantEnum } from "../../../Seal/enums/index.js";
8
+ import { Seal } from "../../../Seal/index.js";
9
+ import Typography from "../../../Typography/index.js";
10
+ import { SizeEnum } from "../../../../enums/index.js";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
+ export function Content(props) {
13
+ const {
14
+ message,
15
+ variant = TooltipVariantEnum.TRIGGER,
16
+ className,
17
+ isVisible,
18
+ translateX,
19
+ pointerOffset,
20
+ pointerClassName,
21
+ containerClassName,
22
+ onLayout
23
+ } = props;
24
+ const pointerStyle = pointerVariants({
25
+ variant
26
+ });
27
+ const contentStyle = contentVariants({
28
+ variant
29
+ });
30
+ const mergedContainerClassName = merge("absolute top-full mt-[9px] z-50 self-center", containerClassName);
31
+ function renderContent() {
32
+ if (variant === TooltipVariantEnum.ERROR) {
33
+ return /*#__PURE__*/_jsxs(View, {
34
+ className: "flex flex-row items-center gap-2",
35
+ children: [/*#__PURE__*/_jsx(Seal, {
36
+ variant: SealVariantEnum.ERROR,
37
+ size: SizeEnum.SMALL
38
+ }), typeof message === "string" ? /*#__PURE__*/_jsx(Typography, {
39
+ className: "text-blackberry-500",
40
+ variant: "body_small",
41
+ weight: "600",
42
+ children: message
43
+ }) : message]
44
+ });
45
+ }
46
+ return typeof message === "string" ? /*#__PURE__*/_jsx(Typography, {
47
+ className: "text-chia-900",
48
+ variant: "body_small",
49
+ weight: "600",
50
+ children: message
51
+ }) : message;
52
+ }
53
+ if (!isVisible) return null;
54
+ const mappedPointerPosition = {
55
+ [TooltipPointerOffsetEnum.LEFT]: "flex-start",
56
+ [TooltipPointerOffsetEnum.RIGHT]: "flex-end",
57
+ [TooltipPointerOffsetEnum.CENTER]: "center"
58
+ };
59
+ return /*#__PURE__*/_jsx(View, {
60
+ className: mergedContainerClassName,
61
+ style: {
62
+ transform: [{
63
+ translateX: translateX ?? 0
64
+ }]
65
+ },
66
+ onLayout: onLayout,
67
+ children: /*#__PURE__*/_jsxs(View, {
68
+ className: merge(contentStyle, className),
69
+ children: [renderContent(), /*#__PURE__*/_jsx(View, {
70
+ className: merge(pointerStyle, pointerClassName),
71
+ style: {
72
+ alignSelf: mappedPointerPosition[pointerOffset ?? TooltipPointerOffsetEnum.CENTER]
73
+ }
74
+ })]
75
+ })
76
+ });
77
+ }
78
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","merge","TooltipPointerOffsetEnum","TooltipVariantEnum","contentVariants","pointerVariants","SealVariantEnum","Seal","Typography","SizeEnum","jsx","_jsx","jsxs","_jsxs","Content","props","message","variant","TRIGGER","className","isVisible","translateX","pointerOffset","pointerClassName","containerClassName","onLayout","pointerStyle","contentStyle","mergedContainerClassName","renderContent","ERROR","children","size","SMALL","weight","mappedPointerPosition","LEFT","RIGHT","CENTER","style","transform","alignSelf"],"sourceRoot":"../../../../../../src","sources":["components/Tooltip/components/Content/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,KAAK,QAAQ,wBAAwB;AAE9C,SAASC,wBAAwB,EAAEC,kBAAkB,QAAQ,qBAAY;AACzE,SAASC,eAAe,EAAEC,eAAe,QAAQ,+BAA4B;AAC7E,SAASC,eAAe,QAAQ,8BAAqB;AACrD,SAASC,IAAI,QAAQ,wBAAe;AACpC,OAAOC,UAAU,MAAM,8BAAqB;AAC5C,SAASC,QAAQ,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7C,OAAO,SAASC,OAAOA,CAACC,KAAmB,EAAE;EAC3C,MAAM;IACJC,OAAO;IACPC,OAAO,GAAGd,kBAAkB,CAACe,OAAO;IACpCC,SAAS;IACTC,SAAS;IACTC,UAAU;IACVC,aAAa;IACbC,gBAAgB;IAChBC,kBAAkB;IAClBC;EACF,CAAC,GAAGV,KAAK;EAET,MAAMW,YAAY,GAAGrB,eAAe,CAAC;IAAEY;EAAQ,CAAC,CAAC;EACjD,MAAMU,YAAY,GAAGvB,eAAe,CAAC;IAAEa;EAAQ,CAAC,CAAC;EACjD,MAAMW,wBAAwB,GAAG3B,KAAK,CACpC,6CAA6C,EAC7CuB,kBACF,CAAC;EAED,SAASK,aAAaA,CAAA,EAAG;IACvB,IAAIZ,OAAO,KAAKd,kBAAkB,CAAC2B,KAAK,EAAE;MACxC,oBACEjB,KAAA,CAACb,IAAI;QAACmB,SAAS,EAAC,kCAAkC;QAAAY,QAAA,gBAChDpB,IAAA,CAACJ,IAAI;UAACU,OAAO,EAAEX,eAAe,CAACwB,KAAM;UAACE,IAAI,EAAEvB,QAAQ,CAACwB;QAAM,CAAE,CAAC,EAC7D,OAAOjB,OAAO,KAAK,QAAQ,gBAC1BL,IAAA,CAACH,UAAU;UACTW,SAAS,EAAC,qBAAqB;UAC/BF,OAAO,EAAC,YAAY;UACpBiB,MAAM,EAAC,KAAK;UAAAH,QAAA,EAEXf;QAAO,CACE,CAAC,GAEbA,OACD;MAAA,CACG,CAAC;IAEX;IAEA,OAAO,OAAOA,OAAO,KAAK,QAAQ,gBAChCL,IAAA,CAACH,UAAU;MAACW,SAAS,EAAC,eAAe;MAACF,OAAO,EAAC,YAAY;MAACiB,MAAM,EAAC,KAAK;MAAAH,QAAA,EACpEf;IAAO,CACE,CAAC,GAEbA,OACD;EACH;EAEA,IAAI,CAACI,SAAS,EAAE,OAAO,IAAI;EAE3B,MAAMe,qBAGL,GAAG;IACF,CAACjC,wBAAwB,CAACkC,IAAI,GAAG,YAAY;IAC7C,CAAClC,wBAAwB,CAACmC,KAAK,GAAG,UAAU;IAC5C,CAACnC,wBAAwB,CAACoC,MAAM,GAAG;EACrC,CAAC;EAED,oBACE3B,IAAA,CAACX,IAAI;IACHmB,SAAS,EAAES,wBAAyB;IACpCW,KAAK,EAAE;MACLC,SAAS,EAAE,CAAC;QAAEnB,UAAU,EAAEA,UAAU,IAAI;MAAE,CAAC;IAC7C,CAAE;IACFI,QAAQ,EAAEA,QAAS;IAAAM,QAAA,eAEnBlB,KAAA,CAACb,IAAI;MAACmB,SAAS,EAAElB,KAAK,CAAC0B,YAAY,EAAER,SAAS,CAAE;MAAAY,QAAA,GAC7CF,aAAa,CAAC,CAAC,eAChBlB,IAAA,CAACX,IAAI;QACHmB,SAAS,EAAElB,KAAK,CAACyB,YAAY,EAAEH,gBAAgB,CAAE;QACjDgB,KAAK,EAAE;UACLE,SAAS,EACPN,qBAAqB,CACnBb,aAAa,IAAIpB,wBAAwB,CAACoC,MAAM;QAEtD;MAAE,CACH,CAAC;IAAA,CACE;EAAC,CACH,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/Tooltip/components/Content/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./Content/index.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Tooltip/components/index.ts"],"mappings":";;AAAA,cAAc,oBAAW","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ export let TooltipVariantEnum = /*#__PURE__*/function (TooltipVariantEnum) {
4
+ TooltipVariantEnum["ERROR"] = "error";
5
+ TooltipVariantEnum["TRIGGER"] = "trigger";
6
+ return TooltipVariantEnum;
7
+ }({});
8
+ export let TooltipPointerOffsetEnum = /*#__PURE__*/function (TooltipPointerOffsetEnum) {
9
+ TooltipPointerOffsetEnum["LEFT"] = "left";
10
+ TooltipPointerOffsetEnum["CENTER"] = "center";
11
+ TooltipPointerOffsetEnum["RIGHT"] = "right";
12
+ return TooltipPointerOffsetEnum;
13
+ }({});
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TooltipVariantEnum","TooltipPointerOffsetEnum"],"sourceRoot":"../../../../../src","sources":["components/Tooltip/enum/index.ts"],"mappings":";;AAAA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAK9B,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./tooltip-position.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Tooltip/hooks/index.ts"],"mappings":";;AAAA,cAAc,uBAAoB","ignoreList":[]}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ import { useState, useCallback, useMemo } from "react";
4
+ import { Dimensions } from "react-native";
5
+ import { TooltipPointerOffsetEnum } from "../enum/index.js";
6
+ export function useTooltipPosition() {
7
+ const [triggerLayout, setTriggerLayout] = useState(null);
8
+ const [tooltipLayout, setTooltipLayout] = useState(null);
9
+ const screenWidth = Dimensions.get("window").width;
10
+ const onTriggerLayout = useCallback(event => {
11
+ setTriggerLayout(event.nativeEvent.layout);
12
+ }, []);
13
+ const onTooltipLayout = useCallback(event => {
14
+ setTooltipLayout(event.nativeEvent.layout);
15
+ }, []);
16
+ const pointerOffset = useMemo(() => {
17
+ if (!triggerLayout || !tooltipLayout) return TooltipPointerOffsetEnum.CENTER;
18
+ const elementPositionX = triggerLayout.x;
19
+ const tooltipPositionXAxis = elementPositionX + tooltipLayout.width;
20
+ if (elementPositionX === 0) {
21
+ return TooltipPointerOffsetEnum.LEFT;
22
+ }
23
+ if (tooltipPositionXAxis > screenWidth) {
24
+ return TooltipPointerOffsetEnum.RIGHT;
25
+ }
26
+ return TooltipPointerOffsetEnum.CENTER;
27
+ }, [triggerLayout, tooltipLayout]);
28
+ const calculateAdjustedPosition = useCallback(() => {
29
+ if (!triggerLayout || !tooltipLayout) {
30
+ return {
31
+ translateX: 0
32
+ };
33
+ }
34
+ const elementPositionX = triggerLayout.x;
35
+ const tooltipPositionXAxis = elementPositionX + tooltipLayout.width;
36
+ if (elementPositionX === 0) {
37
+ return {
38
+ translateX: -tooltipLayout.x
39
+ };
40
+ }
41
+ if (tooltipPositionXAxis > screenWidth) {
42
+ return {
43
+ translateX: tooltipLayout.x
44
+ };
45
+ }
46
+ return {
47
+ translateX: 0
48
+ };
49
+ }, [triggerLayout, tooltipLayout, screenWidth]);
50
+ return {
51
+ positionData: {
52
+ triggerLayout,
53
+ tooltipLayout,
54
+ screenWidth,
55
+ adjustedPosition: calculateAdjustedPosition(),
56
+ pointerOffset
57
+ },
58
+ onTriggerLayout,
59
+ onTooltipLayout
60
+ };
61
+ }
62
+ //# sourceMappingURL=tooltip-position.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","useCallback","useMemo","Dimensions","TooltipPointerOffsetEnum","useTooltipPosition","triggerLayout","setTriggerLayout","tooltipLayout","setTooltipLayout","screenWidth","get","width","onTriggerLayout","event","nativeEvent","layout","onTooltipLayout","pointerOffset","CENTER","elementPositionX","x","tooltipPositionXAxis","LEFT","RIGHT","calculateAdjustedPosition","translateX","positionData","adjustedPosition"],"sourceRoot":"../../../../../src","sources":["components/Tooltip/hooks/tooltip-position.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACtD,SAASC,UAAU,QAA4C,cAAc;AAC7E,SAASC,wBAAwB,QAAQ,kBAAS;AAYlD,OAAO,SAASC,kBAAkBA,CAAA,EAIhC;EACA,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGP,QAAQ,CAChD,IACF,CAAC;EACD,MAAM,CAACQ,aAAa,EAAEC,gBAAgB,CAAC,GAAGT,QAAQ,CAChD,IACF,CAAC;EAED,MAAMU,WAAW,GAAGP,UAAU,CAACQ,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;EAElD,MAAMC,eAAe,GAAGZ,WAAW,CAAEa,KAAwB,IAAK;IAChEP,gBAAgB,CAACO,KAAK,CAACC,WAAW,CAACC,MAAM,CAAC;EAC5C,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,eAAe,GAAGhB,WAAW,CAAEa,KAAwB,IAAK;IAChEL,gBAAgB,CAACK,KAAK,CAACC,WAAW,CAACC,MAAM,CAAC;EAC5C,CAAC,EAAE,EAAE,CAAC;EAEN,MAAME,aAAa,GAAGhB,OAAO,CAAC,MAAM;IAClC,IAAI,CAACI,aAAa,IAAI,CAACE,aAAa,EAClC,OAAOJ,wBAAwB,CAACe,MAAM;IAExC,MAAMC,gBAAgB,GAAGd,aAAa,CAACe,CAAC;IACxC,MAAMC,oBAAoB,GAAGF,gBAAgB,GAAGZ,aAAa,CAACI,KAAK;IAEnE,IAAIQ,gBAAgB,KAAK,CAAC,EAAE;MAC1B,OAAOhB,wBAAwB,CAACmB,IAAI;IACtC;IAEA,IAAID,oBAAoB,GAAGZ,WAAW,EAAE;MACtC,OAAON,wBAAwB,CAACoB,KAAK;IACvC;IAEA,OAAOpB,wBAAwB,CAACe,MAAM;EACxC,CAAC,EAAE,CAACb,aAAa,EAAEE,aAAa,CAAC,CAAC;EAElC,MAAMiB,yBAAyB,GAAGxB,WAAW,CAAC,MAAM;IAClD,IAAI,CAACK,aAAa,IAAI,CAACE,aAAa,EAAE;MACpC,OAAO;QAAEkB,UAAU,EAAE;MAAE,CAAC;IAC1B;IAEA,MAAMN,gBAAgB,GAAGd,aAAa,CAACe,CAAC;IACxC,MAAMC,oBAAoB,GAAGF,gBAAgB,GAAGZ,aAAa,CAACI,KAAK;IAEnE,IAAIQ,gBAAgB,KAAK,CAAC,EAAE;MAC1B,OAAO;QAAEM,UAAU,EAAE,CAAClB,aAAa,CAACa;MAAE,CAAC;IACzC;IAEA,IAAIC,oBAAoB,GAAGZ,WAAW,EAAE;MACtC,OAAO;QAAEgB,UAAU,EAAElB,aAAa,CAACa;MAAE,CAAC;IACxC;IAEA,OAAO;MAAEK,UAAU,EAAE;IAAE,CAAC;EAC1B,CAAC,EAAE,CAACpB,aAAa,EAAEE,aAAa,EAAEE,WAAW,CAAC,CAAC;EAE/C,OAAO;IACLiB,YAAY,EAAE;MACZrB,aAAa;MACbE,aAAa;MACbE,WAAW;MACXkB,gBAAgB,EAAEH,yBAAyB,CAAC,CAAC;MAC7CP;IACF,CAAC;IACDL,eAAe;IACfI;EACF,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+
3
+ import { View, Pressable } from "react-native";
4
+ import { Content } from "./components/index.js";
5
+ import { useTooltipPosition } from "./hooks/index.js";
6
+ import { TooltipVariantEnum } from "./enum/index.js";
7
+ import { useState, useCallback, cloneElement, isValidElement } from "react";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export function Tooltip(props) {
10
+ const {
11
+ children,
12
+ message,
13
+ variant = TooltipVariantEnum.TRIGGER,
14
+ className,
15
+ containerClassName,
16
+ pointerClassName,
17
+ isOpenedByVariantError,
18
+ onChangeVisibility
19
+ } = props;
20
+ const {
21
+ positionData,
22
+ onTriggerLayout,
23
+ onTooltipLayout
24
+ } = useTooltipPosition();
25
+ const [isVisible, setIsVisible] = useState(false);
26
+ const handleVisibilityChange = useCallback(visible => {
27
+ setIsVisible(visible);
28
+ onChangeVisibility?.(visible);
29
+ }, [onChangeVisibility]);
30
+ const handleToggleVisibility = useCallback(() => {
31
+ const newVisibility = !isVisible;
32
+ handleVisibilityChange(newVisibility);
33
+ }, [isVisible, handleVisibilityChange]);
34
+ const renderTriggerContent = () => {
35
+ if (variant !== TooltipVariantEnum.TRIGGER) {
36
+ return children;
37
+ }
38
+ if (/*#__PURE__*/isValidElement(children)) {
39
+ const child = children;
40
+ const childProps = child.props;
41
+ const componentType = child.type;
42
+ const componentName = (typeof componentType === 'function' ? componentType.displayName || componentType.name : componentType) || '';
43
+ const isButton = componentName === 'Button' || componentName === 'Pressable' || componentName === 'TouchableOpacity';
44
+ if (isButton || childProps && typeof childProps.onPress === 'function') {
45
+ return /*#__PURE__*/cloneElement(child, {
46
+ ...childProps,
47
+ onPress: (...args) => {
48
+ if (typeof childProps.onPress === 'function') {
49
+ childProps.onPress(...args);
50
+ handleToggleVisibility();
51
+ }
52
+ }
53
+ });
54
+ }
55
+ }
56
+ return /*#__PURE__*/_jsx(Pressable, {
57
+ onPress: handleToggleVisibility,
58
+ children: children
59
+ });
60
+ };
61
+ return /*#__PURE__*/_jsxs(View, {
62
+ className: "relative",
63
+ onLayout: onTriggerLayout,
64
+ children: [renderTriggerContent(), /*#__PURE__*/_jsx(Content, {
65
+ message: message,
66
+ variant: variant,
67
+ isVisible: variant === TooltipVariantEnum.TRIGGER ? isVisible : !!isOpenedByVariantError,
68
+ onLayout: onTooltipLayout,
69
+ translateX: positionData.adjustedPosition.translateX,
70
+ pointerOffset: positionData.pointerOffset,
71
+ className: className,
72
+ containerClassName: containerClassName,
73
+ pointerClassName: pointerClassName,
74
+ onChangeVisibility: handleVisibilityChange
75
+ })]
76
+ });
77
+ }
78
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Pressable","Content","useTooltipPosition","TooltipVariantEnum","useState","useCallback","cloneElement","isValidElement","jsx","_jsx","jsxs","_jsxs","Tooltip","props","children","message","variant","TRIGGER","className","containerClassName","pointerClassName","isOpenedByVariantError","onChangeVisibility","positionData","onTriggerLayout","onTooltipLayout","isVisible","setIsVisible","handleVisibilityChange","visible","handleToggleVisibility","newVisibility","renderTriggerContent","child","childProps","componentType","type","componentName","displayName","name","isButton","onPress","args","onLayout","translateX","adjustedPosition","pointerOffset"],"sourceRoot":"../../../../src","sources":["components/Tooltip/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,SAAS,QAAQ,cAAc;AAC9C,SAASC,OAAO,QAAQ,uBAAc;AACtC,SAASC,kBAAkB,QAAQ,kBAAS;AAG5C,SAASC,kBAAkB,QAAQ,iBAAQ;AAC3C,SAASC,QAAQ,EAAEC,WAAW,EAAEC,YAAY,EAAEC,cAAc,QAAsB,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE1F,OAAO,SAASC,OAAOA,CAACC,KAAmB,EAAE;EAC3C,MAAM;IACJC,QAAQ;IACRC,OAAO;IACPC,OAAO,GAAGb,kBAAkB,CAACc,OAAO;IACpCC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,sBAAsB;IACtBC;EACF,CAAC,GAAGT,KAAK;EACT,MAAM;IAAEU,YAAY;IAAEC,eAAe;IAAEC;EAAgB,CAAC,GACtDvB,kBAAkB,CAAC,CAAC;EAEtB,MAAM,CAACwB,SAAS,EAAEC,YAAY,CAAC,GAAGvB,QAAQ,CAAC,KAAK,CAAC;EAEjD,MAAMwB,sBAAsB,GAAGvB,WAAW,CAAEwB,OAAgB,IAAK;IAC/DF,YAAY,CAACE,OAAO,CAAC;IACrBP,kBAAkB,GAAGO,OAAO,CAAC;EAC/B,CAAC,EAAE,CAACP,kBAAkB,CAAC,CAAC;EAExB,MAAMQ,sBAAsB,GAAGzB,WAAW,CAAC,MAAM;IAC/C,MAAM0B,aAAa,GAAG,CAACL,SAAS;IAChCE,sBAAsB,CAACG,aAAa,CAAC;EACvC,CAAC,EAAE,CAACL,SAAS,EAAEE,sBAAsB,CAAC,CAAC;EAEvC,MAAMI,oBAAoB,GAAGA,CAAA,KAAM;IACjC,IAAIhB,OAAO,KAAKb,kBAAkB,CAACc,OAAO,EAAE;MAC1C,OAAOH,QAAQ;IACjB;IAEA,iBAAIP,cAAc,CAACO,QAAQ,CAAC,EAAE;MAC5B,MAAMmB,KAAK,GAAGnB,QAAwB;MACtC,MAAMoB,UAAU,GAAGD,KAAK,CAACpB,KAAY;MAErC,MAAMsB,aAAa,GAAGF,KAAK,CAACG,IAAW;MACvC,MAAMC,aAAa,GAAG,CAAC,OAAOF,aAAa,KAAK,UAAU,GACtDA,aAAa,CAACG,WAAW,IAAIH,aAAa,CAACI,IAAI,GAC/CJ,aAAa,KAAK,EAAE;MACxB,MAAMK,QAAQ,GAAGH,aAAa,KAAK,QAAQ,IACzCA,aAAa,KAAK,WAAW,IAC7BA,aAAa,KAAK,kBAAkB;MAEtC,IAAIG,QAAQ,IAAKN,UAAU,IAAI,OAAOA,UAAU,CAACO,OAAO,KAAK,UAAW,EAAE;QACxE,oBAAOnC,YAAY,CAAC2B,KAAK,EAAE;UACzB,GAAGC,UAAU;UACbO,OAAO,EAAEA,CAAC,GAAGC,IAAW,KAAK;YAC3B,IAAI,OAAOR,UAAU,CAACO,OAAO,KAAK,UAAU,EAAE;cAC5CP,UAAU,CAACO,OAAO,CAAC,GAAGC,IAAI,CAAC;cAC3BZ,sBAAsB,CAAC,CAAC;YAC1B;UACF;QACF,CAAC,CAAC;MACJ;IACF;IAEA,oBACErB,IAAA,CAACT,SAAS;MAACyC,OAAO,EAAEX,sBAAuB;MAAAhB,QAAA,EACxCA;IAAQ,CACA,CAAC;EAEhB,CAAC;EAED,oBACEH,KAAA,CAACZ,IAAI;IAACmB,SAAS,EAAC,UAAU;IAACyB,QAAQ,EAAEnB,eAAgB;IAAAV,QAAA,GAClDkB,oBAAoB,CAAC,CAAC,eAEvBvB,IAAA,CAACR,OAAO;MACNc,OAAO,EAAEA,OAAQ;MACjBC,OAAO,EAAEA,OAAQ;MACjBU,SAAS,EAAEV,OAAO,KAAKb,kBAAkB,CAACc,OAAO,GAAGS,SAAS,GAAG,CAAC,CAACL,sBAAuB;MACzFsB,QAAQ,EAAElB,eAAgB;MAC1BmB,UAAU,EAAErB,YAAY,CAACsB,gBAAgB,CAACD,UAAW;MACrDE,aAAa,EAAEvB,YAAY,CAACuB,aAAc;MAC1C5B,SAAS,EAAEA,SAAU;MACrBC,kBAAkB,EAAEA,kBAAmB;MACvCC,gBAAgB,EAAEA,gBAAiB;MACnCE,kBAAkB,EAAEM;IAAuB,CAC5C,CAAC;EAAA,CACE,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Tooltip/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ import { cva } from "class-variance-authority";
4
+ import { Platform } from "react-native";
5
+ const getWeightVariants = () => {
6
+ if (Platform.OS === "web") {
7
+ return {
8
+ "200": "font-[200]",
9
+ "300": "font-[300]",
10
+ "400": "font-[400]",
11
+ "500": "font-[500]",
12
+ "600": "font-[600]",
13
+ "700": "font-[700]",
14
+ "800": "font-[800]",
15
+ "900": "font-[900]"
16
+ };
17
+ }
18
+ return {
19
+ "200": "font-nunito-extralight",
20
+ "300": "font-nunito-light",
21
+ "400": "font-nunito-regular",
22
+ "500": "font-nunito-medium",
23
+ "600": "font-nunito-semibold",
24
+ "700": "font-nunito-bold",
25
+ "800": "font-nunito-extrabold",
26
+ "900": "font-nunito-black"
27
+ };
28
+ };
29
+ export const typographyVariants = cva("font-nunito-regular text-chia-900", {
30
+ variants: {
31
+ variant: {
32
+ label_small: "text-[12px] leading-[16px]",
33
+ label_medium: "text-[13.5px] leading-[18px]",
34
+ label_large: "text-[16px] leading-[22px]",
35
+ body_small: "text-[12px] leading-[16px]",
36
+ body_medium: "text-[13.5px] leading-[20px]",
37
+ body_large: "text-[16px] leading-[24px]",
38
+ title_small: "text-[16px] leading-[20px]",
39
+ title_medium: "text-[18px] leading-[22px]",
40
+ title_large: "text-[22px] leading-[24px]",
41
+ headline_small: "text-[26px] leading-[32px]",
42
+ headline_medium: "text-[32px] leading-[36px]",
43
+ headline_large: "text-[36px] leading-[40px]",
44
+ display_small: "text-[40px] leading-[48px]",
45
+ display_medium: "text-[44px] leading-[56px]",
46
+ display_large: "text-[56px] leading-[64px]"
47
+ },
48
+ weight: getWeightVariants()
49
+ },
50
+ defaultVariants: {
51
+ variant: "body_medium",
52
+ weight: "400"
53
+ }
54
+ });
55
+ //# sourceMappingURL=class-variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cva","Platform","getWeightVariants","OS","typographyVariants","variants","variant","label_small","label_medium","label_large","body_small","body_medium","body_large","title_small","title_medium","title_large","headline_small","headline_medium","headline_large","display_small","display_medium","display_large","weight","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Typography/assets/class-variants.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,QAAQ,QAAQ,cAAc;AAEvC,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,IAAID,QAAQ,CAACE,EAAE,KAAK,KAAK,EAAE;IACzB,OAAO;MACL,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE;IACT,CAAC;EACH;EAEA,OAAO;IACL,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE;EACT,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAGJ,GAAG,CAAC,mCAAmC,EAAE;EACzEK,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE,8BAA8B;MAC5CC,WAAW,EAAE,4BAA4B;MACzCC,UAAU,EAAE,4BAA4B;MACxCC,WAAW,EAAE,8BAA8B;MAC3CC,UAAU,EAAE,4BAA4B;MACxCC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE,4BAA4B;MAC1CC,WAAW,EAAE,4BAA4B;MACzCC,cAAc,EAAE,4BAA4B;MAC5CC,eAAe,EAAE,4BAA4B;MAC7CC,cAAc,EAAE,4BAA4B;MAC5CC,aAAa,EAAE,4BAA4B;MAC3CC,cAAc,EAAE,4BAA4B;MAC5CC,aAAa,EAAE;IACjB,CAAC;IACDC,MAAM,EAAEpB,iBAAiB,CAAC;EAC5B,CAAC;EAEDqB,eAAe,EAAE;IACfjB,OAAO,EAAE,aAAa;IACtBgB,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
@@ -3,6 +3,7 @@
3
3
  import React from "react";
4
4
  import { Text } from "react-native";
5
5
  import { merge } from "@kivid/tailwind-preset";
6
+ import { typographyVariants } from "./assets/class-variants.js";
6
7
 
7
8
  /**
8
9
  * Universal Typography component for React Native.
@@ -15,15 +16,15 @@ import { merge } from "@kivid/tailwind-preset";
15
16
  *
16
17
  * @example
17
18
  * // Display text with automatic font mapping
18
- * <Typography variant="text-display_large_700">Hero Title</Typography>
19
+ * <Typography variant="display_large" weight="700">Hero Title</Typography>
19
20
  *
20
21
  * @example
21
22
  * // Body text with medium weight
22
- * <Typography variant="text-body_medium_500">Content text</Typography>
23
+ * <Typography variant="body_medium" weight="500">Content text</Typography>
23
24
  *
24
25
  * @example
25
26
  * // With additional styling
26
- * <Typography variant="text-label_small_300" className="text-gray-600">
27
+ * <Typography variant="label_small" weight="300" className="text-gray-600">
27
28
  * Form label
28
29
  * </Typography>
29
30
  */
@@ -31,11 +32,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
31
32
  export const Typography = ({
32
33
  variant,
33
34
  className,
34
- style,
35
+ weight,
35
36
  children,
36
37
  ...props
37
38
  }) => {
38
- const textClassName = merge(`font-nunito`, variant, className);
39
+ const textClassName = merge(typographyVariants({
40
+ variant,
41
+ weight
42
+ }), className);
39
43
  return /*#__PURE__*/_jsx(Text, {
40
44
  className: textClassName,
41
45
  ...props,
@@ -1 +1 @@
1
- {"version":3,"names":["React","Text","merge","jsx","_jsx","Typography","variant","className","style","children","props","textClassName","displayName"],"sourceRoot":"../../../../src","sources":["components/Typography/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAtBA,SAAAC,GAAA,IAAAC,IAAA;AAuBA,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EACpDC,OAAO;EACPC,SAAS;EACTC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAGT,KAAK,CAAC,aAAa,EAAEI,OAAO,EAAEC,SAAS,CAAC;EAE9D,oBACEH,IAAA,CAACH,IAAI;IAACM,SAAS,EAAEI,aAAc;IAAA,GAAKD,KAAK;IAAAD,QAAA,EACtCA;EAAQ,CACL,CAAC;AAEX,CAAC;AAEDJ,UAAU,CAACO,WAAW,GAAG,YAAY;AACrC,eAAeP,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["React","Text","merge","typographyVariants","jsx","_jsx","Typography","variant","className","weight","children","props","textClassName","displayName"],"sourceRoot":"../../../../src","sources":["components/Typography/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,kBAAkB,QAAQ,4BAAyB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAtBA,SAAAC,GAAA,IAAAC,IAAA;AAuBA,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EACpDC,OAAO;EACPC,SAAS;EACTC,MAAM;EACNC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAGV,KAAK,CACzBC,kBAAkB,CAAC;IAAEI,OAAO;IAAEE;EAAO,CAAC,CAAC,EACvCD,SACF,CAAC;EAED,oBACEH,IAAA,CAACJ,IAAI;IAACO,SAAS,EAAEI,aAAc;IAAA,GAAKD,KAAK;IAAAD,QAAA,EACtCA;EAAQ,CACL,CAAC;AAEX,CAAC;AAEDJ,UAAU,CAACO,WAAW,GAAG,YAAY;AACrC,eAAeP,UAAU","ignoreList":[]}
@@ -1,14 +1,42 @@
1
1
  "use strict";
2
2
 
3
+ export * from "./Avatar/index.js";
3
4
  export * from "./Button/index.js";
5
+ export * from "./ChatBubble/index.js";
4
6
  export * from "./Chip/index.js";
7
+ export * from "./Chip/enums/index.js";
8
+ export * from "./Chip/types.js";
5
9
  export * from "./InformationStatus/index.js";
6
- export * from "./InputCheckbox/index.js";
7
- export * from "./InputOTP/index.js";
10
+ export * from "./InformationStatus/enums.js";
11
+ export * from "./CheckboxInput/index.js";
12
+ export * from "./CheckboxInput/enums/index.js";
13
+ export * from "./OtpInput/index.js";
14
+ export * from "./OtpInput/enums/index.js";
15
+ export * from "./MessageInput/index.js";
8
16
  export * from "./HighlightedText/index.js";
9
17
  export * from "./LoadingDots/index.js";
18
+ export * from "./LoadingDots/types.js";
10
19
  export * from "./Seal/index.js";
20
+ export * from "./Seal/enums/index.js";
11
21
  export * from "./Title/index.js";
12
22
  export * from "./Toggle/index.js";
23
+ export * from "./Toggle/enums/index.js";
13
24
  export * from "./Typography/index.js";
25
+ export * from "./Toast/index.js";
26
+ export * from "./Toast/enums/index.js";
27
+ export * from "./Tooltip/index.js";
28
+ export * from "./ListButton/index.js";
29
+ export * from "./ListButton/enums/index.js";
30
+ export * from "./TextInput/index.js";
31
+ export * from "./TextInput/enums.js";
32
+ export * from "./SelectButton/index.js";
33
+ export * from "./SelectButton/enums/index.js";
34
+ export * from "./RadioInput/index.js";
35
+ export * from "./RadioInput/enums/index.js";
36
+ export * from "./IconButton/index.js";
37
+ export * from "./IconButton/enums.js";
38
+ export * from "./PasswordInput/index.js";
39
+ export * from "./PageIndicators/index.js";
40
+ export * from "./ActionButton/index.js";
41
+ export * from "./MessageInput/index.js";
14
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,mBAAU;AACxB,cAAc,iBAAQ;AACtB,cAAc,8BAAqB;AACnC,cAAc,0BAAiB;AAC/B,cAAc,qBAAY;AAC1B,cAAc,4BAAmB;AACjC,cAAc,wBAAe;AAC7B,cAAc,iBAAQ;AACtB,cAAc,kBAAS;AACvB,cAAc,mBAAU;AACxB,cAAc,uBAAc","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,mBAAU;AACxB,cAAc,mBAAU;AAGxB,cAAc,uBAAc;AAI5B,cAAc,iBAAQ;AACtB,cAAc,uBAAc;AAC5B,cAAc,iBAAc;AAE5B,cAAc,8BAAqB;AACnC,cAAc,8BAA2B;AAGzC,cAAc,0BAAiB;AAC/B,cAAc,gCAAuB;AAGrC,cAAc,qBAAY;AAC1B,cAAc,2BAAkB;AAGhC,cAAc,yBAAgB;AAG9B,cAAc,4BAAmB;AAGjC,cAAc,wBAAe;AAC7B,cAAc,wBAAqB;AAEnC,cAAc,iBAAQ;AACtB,cAAc,uBAAc;AAG5B,cAAc,kBAAS;AAGvB,cAAc,mBAAU;AACxB,cAAc,yBAAgB;AAG9B,cAAc,uBAAc;AAG5B,cAAc,kBAAS;AACvB,cAAc,wBAAe;AAG7B,cAAc,oBAAW;AAGzB,cAAc,uBAAc;AAC5B,cAAc,6BAAoB;AAGlC,cAAc,sBAAa;AAC3B,cAAc,sBAAmB;AAGjC,cAAc,yBAAgB;AAC9B,cAAc,+BAAsB;AAGpC,cAAc,uBAAc;AAC5B,cAAc,6BAAoB;AAGlC,cAAc,uBAAc;AAC5B,cAAc,uBAAoB;AAGlC,cAAc,0BAAiB;AAG/B,cAAc,2BAAkB;AAGhC,cAAc,yBAAgB;AAG9B,cAAc,yBAAgB","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ export let CornersEnum = /*#__PURE__*/function (CornersEnum) {
4
+ CornersEnum["SMALL"] = "small";
5
+ CornersEnum["MEDIUM"] = "medium";
6
+ CornersEnum["LARGE"] = "large";
7
+ CornersEnum["XLARGE"] = "xlarge";
8
+ return CornersEnum;
9
+ }({});
10
+ //# sourceMappingURL=corners.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CornersEnum"],"sourceRoot":"../../../src","sources":["enums/corners.ts"],"mappings":";;AAAA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ export let FontWeightEnum = /*#__PURE__*/function (FontWeightEnum) {
4
+ FontWeightEnum["LIGHT"] = "100";
5
+ FontWeightEnum["THIN"] = "200";
6
+ FontWeightEnum["REGULAR"] = "400";
7
+ FontWeightEnum["MEDIUM"] = "500";
8
+ FontWeightEnum["SEMIBOLD"] = "600";
9
+ FontWeightEnum["BOLD"] = "700";
10
+ FontWeightEnum["EXTRA_BOLD"] = "800";
11
+ FontWeightEnum["BLACK"] = "900";
12
+ return FontWeightEnum;
13
+ }({});
14
+ //# sourceMappingURL=font-weight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FontWeightEnum"],"sourceRoot":"../../../src","sources":["enums/font-weight.ts"],"mappings":";;AAAA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ export * from "./corners.js";
4
+ export * from "./font-weight.js";
5
+ export * from "./size.js";
6
+ export * from "./state-variant.js";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["enums/index.ts"],"mappings":";;AAAA,cAAc,cAAW;AACzB,cAAc,kBAAe;AAC7B,cAAc,WAAQ;AACtB,cAAc,oBAAiB","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ export let SizeEnum = /*#__PURE__*/function (SizeEnum) {
4
+ SizeEnum["XXSMALL"] = "xxsmall";
5
+ SizeEnum["XSMALL"] = "xsmall";
6
+ SizeEnum["SMALL"] = "small";
7
+ SizeEnum["MEDIUM"] = "medium";
8
+ SizeEnum["LARGE"] = "large";
9
+ SizeEnum["XLARGE"] = "xlarge";
10
+ SizeEnum["XXLARGE"] = "xxlarge";
11
+ SizeEnum["XXXLARGE"] = "xxxlarge";
12
+ return SizeEnum;
13
+ }({});
14
+ //# sourceMappingURL=size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SizeEnum"],"sourceRoot":"../../../src","sources":["enums/size.ts"],"mappings":";;AAAA,WAAYA,QAAQ,0BAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ export let StateVariantEnum = /*#__PURE__*/function (StateVariantEnum) {
4
+ StateVariantEnum["SUCCESS"] = "success";
5
+ StateVariantEnum["ERROR"] = "error";
6
+ StateVariantEnum["WARNING"] = "warning";
7
+ StateVariantEnum["ADD"] = "add";
8
+ StateVariantEnum["CUSTOM"] = "custom";
9
+ return StateVariantEnum;
10
+ }({});
11
+ //# sourceMappingURL=state-variant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StateVariantEnum"],"sourceRoot":"../../../src","sources":["enums/state-variant.ts"],"mappings":";;AAAA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA","ignoreList":[]}
@@ -2,18 +2,25 @@
2
2
 
3
3
  import * as IconsNative from "@kivid/icons/native";
4
4
  import React, { useMemo, useState } from "react";
5
- import { Alert, FlatList, Pressable, SafeAreaView, Text, TextInput, View } from "react-native";
5
+ import { Alert, FlatList, Pressable, Text, TextInput, View } from "react-native";
6
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  export function Icons(props) {
8
8
  const {
9
9
  size = 24,
10
- color = "currentColor"
10
+ color: initialColor = "currentColor"
11
11
  } = props;
12
12
  const icons = Object.entries(IconsNative).map(([name, IconComponent]) => ({
13
13
  name,
14
14
  component: IconComponent
15
15
  }));
16
16
  const [searchTerm, setSearchTerm] = useState("");
17
+ const [color, setColor] = useState(initialColor);
18
+ const availableColors = ["currentColor", "#000000", "#FF0000", "#00FF00", "#0000FF", "#FF00FF", "#FFA500", "#800080"];
19
+ function handleColorChange() {
20
+ const currentIndex = availableColors.indexOf(color);
21
+ const nextIndex = (currentIndex + 1) % availableColors.length;
22
+ setColor(availableColors[nextIndex]);
23
+ }
17
24
  const iconsFiltered = useMemo(() => {
18
25
  const sorted = [...icons].sort((a, b) => a.name.localeCompare(b.name));
19
26
  return sorted.filter(icon => icon.name.toLowerCase().includes(searchTerm.toLowerCase()));
@@ -23,23 +30,50 @@ export function Icons(props) {
23
30
  const component = `<${name} size={${size}} ${isCurrentColor ? "" : `color="${color}"`} />`;
24
31
  Alert.alert(`Ícone selecionado: ${component}`);
25
32
  }
26
- return /*#__PURE__*/_jsxs(SafeAreaView, {
33
+ return /*#__PURE__*/_jsxs(View, {
27
34
  className: "m-16",
28
- children: [/*#__PURE__*/_jsx(TextInput, {
29
- placeholder: "Pesquisar \xEDcones...",
30
- placeholderTextColor: "#98A3A3",
35
+ children: [/*#__PURE__*/_jsxs(View, {
31
36
  style: {
32
- width: "100%",
33
- height: 40,
34
- marginBottom: 16,
35
- borderRadius: 8,
36
- borderWidth: 1,
37
- borderColor: "#98A3A3",
38
- paddingHorizontal: 12,
39
- fontSize: 16
37
+ flexDirection: "row",
38
+ gap: 8,
39
+ marginBottom: 16
40
40
  },
41
- onChangeText: setSearchTerm,
42
- value: searchTerm
41
+ children: [/*#__PURE__*/_jsx(TextInput, {
42
+ placeholder: "Pesquisar \xEDcones...",
43
+ placeholderTextColor: "#98A3A3",
44
+ style: {
45
+ flex: 1,
46
+ height: 40,
47
+ borderRadius: 8,
48
+ borderWidth: 1,
49
+ borderColor: "#98A3A3",
50
+ paddingHorizontal: 12,
51
+ fontSize: 16
52
+ },
53
+ onChangeText: setSearchTerm,
54
+ value: searchTerm
55
+ }), /*#__PURE__*/_jsx(Pressable, {
56
+ onPress: handleColorChange,
57
+ style: {
58
+ height: 40,
59
+ paddingHorizontal: 16,
60
+ borderRadius: 8,
61
+ borderWidth: 1,
62
+ borderColor: "#98A3A3",
63
+ backgroundColor: color === "currentColor" ? "#F0F0F0" : color,
64
+ justifyContent: "center",
65
+ alignItems: "center",
66
+ minWidth: 100
67
+ },
68
+ children: /*#__PURE__*/_jsx(Text, {
69
+ style: {
70
+ fontSize: 14,
71
+ fontWeight: "600",
72
+ color: color === "currentColor" ? "#000000" : "#FFFFFF"
73
+ },
74
+ children: "Color"
75
+ })
76
+ })]
43
77
  }), /*#__PURE__*/_jsx(FlatList, {
44
78
  data: iconsFiltered,
45
79
  keyExtractor: ({