@kivid/native-components 1.0.0-alpha.4 → 1.0.0-alpha.6

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 (691) hide show
  1. package/README.md +1 -57
  2. package/dist/commonjs/components/Avatar/assets/class-variants.js +24 -0
  3. package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -0
  4. package/dist/commonjs/components/Avatar/images/girl.jpg +0 -0
  5. package/dist/commonjs/components/Avatar/index.js +115 -0
  6. package/dist/commonjs/components/Avatar/index.js.map +1 -0
  7. package/dist/commonjs/components/Avatar/types.js.map +1 -0
  8. package/dist/commonjs/components/Button/assets/class-variants.js +8 -7
  9. package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
  10. package/dist/commonjs/components/Button/index.js +4 -3
  11. package/dist/commonjs/components/Button/index.js.map +1 -1
  12. package/dist/commonjs/components/ChatBubble/assets/class-variants.js +68 -0
  13. package/dist/commonjs/components/ChatBubble/assets/class-variants.js.map +1 -0
  14. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js +28 -0
  15. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  16. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  17. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js +48 -0
  18. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  19. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
  20. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  21. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
  22. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  23. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  24. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +38 -0
  25. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  26. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js +6 -0
  27. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  28. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js +37 -0
  29. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  30. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
  31. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  32. package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
  33. package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
  34. package/dist/commonjs/components/ChatBubble/context.js +17 -0
  35. package/dist/commonjs/components/ChatBubble/context.js.map +1 -0
  36. package/dist/commonjs/components/ChatBubble/index.js +94 -0
  37. package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
  38. package/dist/commonjs/components/ChatBubble/types.js +6 -0
  39. package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
  40. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
  41. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  42. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  43. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  44. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  45. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  46. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  47. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  48. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  49. package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
  50. package/dist/commonjs/components/CheckboxInput/types.js +6 -0
  51. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
  52. package/dist/commonjs/components/Chip/enums/index.js +0 -11
  53. package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
  54. package/dist/commonjs/components/Chip/index.js +4 -3
  55. package/dist/commonjs/components/Chip/index.js.map +1 -1
  56. package/dist/commonjs/components/InformationStatus/index.js +8 -7
  57. package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
  58. package/dist/commonjs/components/ListButton/assets/class-variants.js +60 -0
  59. package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
  60. package/dist/commonjs/components/ListButton/enums/icon-color.js +18 -0
  61. package/dist/commonjs/components/ListButton/enums/icon-color.js.map +1 -0
  62. package/dist/commonjs/components/ListButton/enums/index.js +28 -0
  63. package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
  64. package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
  65. package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
  66. package/dist/commonjs/components/ListButton/index.js +113 -0
  67. package/dist/commonjs/components/ListButton/index.js.map +1 -0
  68. package/dist/commonjs/components/ListButton/types.js +6 -0
  69. package/dist/commonjs/components/ListButton/types.js.map +1 -0
  70. package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
  71. package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
  72. package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
  73. package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +5 -4
  74. package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  75. package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
  76. package/dist/{module/components/InputOTP → commonjs/components/OtpInput}/components/InformationStatus/types.js.map +1 -1
  77. package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
  78. package/dist/commonjs/components/{InputOTP → OtpInput}/enums/index.js.map +1 -1
  79. package/dist/commonjs/components/{InputOTP → OtpInput}/index.js +10 -4
  80. package/dist/commonjs/components/OtpInput/index.js.map +1 -0
  81. package/dist/commonjs/components/OtpInput/types.js +6 -0
  82. package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
  83. package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
  84. package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
  85. package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
  86. package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
  87. package/dist/commonjs/components/RadioInput/index.js +41 -0
  88. package/dist/commonjs/components/RadioInput/index.js.map +1 -0
  89. package/dist/commonjs/components/RadioInput/types.js +6 -0
  90. package/dist/commonjs/components/RadioInput/types.js.map +1 -0
  91. package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
  92. package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
  93. package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
  94. package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
  95. package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
  96. package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
  97. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
  98. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
  99. package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
  100. package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
  101. package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
  102. package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
  103. package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
  104. package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
  105. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
  106. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
  107. package/dist/commonjs/components/Seal/index.js +5 -2
  108. package/dist/commonjs/components/Seal/index.js.map +1 -1
  109. package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
  110. package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
  111. package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
  112. package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
  113. package/dist/commonjs/components/SelectButton/index.js +110 -0
  114. package/dist/commonjs/components/SelectButton/index.js.map +1 -0
  115. package/dist/commonjs/components/SelectButton/types.js +6 -0
  116. package/dist/commonjs/components/SelectButton/types.js.map +1 -0
  117. package/dist/commonjs/components/TextInput/assets/class-variants.js +71 -0
  118. package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
  119. package/dist/commonjs/components/TextInput/enums.js +12 -0
  120. package/dist/commonjs/components/TextInput/enums.js.map +1 -0
  121. package/dist/commonjs/components/TextInput/index.js +124 -0
  122. package/dist/commonjs/components/TextInput/index.js.map +1 -0
  123. package/dist/commonjs/components/TextInput/types.js +6 -0
  124. package/dist/commonjs/components/TextInput/types.js.map +1 -0
  125. package/dist/commonjs/components/Title/components/icon/index.js +2 -1
  126. package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
  127. package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
  128. package/dist/commonjs/components/Title/components/marker/index.js +4 -3
  129. package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
  130. package/dist/commonjs/components/Title/components/marker/types.js +4 -0
  131. package/dist/commonjs/components/Title/index.js +8 -7
  132. package/dist/commonjs/components/Title/index.js.map +1 -1
  133. package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
  134. package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
  135. package/dist/commonjs/components/Toast/enums/index.js +28 -0
  136. package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
  137. package/dist/commonjs/components/Toast/enums/position.js +12 -0
  138. package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
  139. package/dist/commonjs/components/Toast/enums/variant.js +13 -0
  140. package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
  141. package/dist/commonjs/components/Toast/index.js +107 -0
  142. package/dist/commonjs/components/Toast/index.js.map +1 -0
  143. package/dist/commonjs/components/Toast/types.js +6 -0
  144. package/dist/commonjs/components/Toast/types.js.map +1 -0
  145. package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
  146. package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
  147. package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
  148. package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
  149. package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
  150. package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
  151. package/dist/commonjs/{hooks → components/Tooltip/components}/index.js +4 -4
  152. package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
  153. package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
  154. package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
  155. package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
  156. package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
  157. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
  158. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  159. package/dist/commonjs/components/Tooltip/index.js +43 -0
  160. package/dist/commonjs/components/Tooltip/index.js.map +1 -0
  161. package/dist/commonjs/components/Tooltip/types.js +6 -0
  162. package/dist/commonjs/components/Tooltip/types.js.map +1 -0
  163. package/dist/commonjs/components/Typography/assets/class-variants.js +1 -1
  164. package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -1
  165. package/dist/commonjs/components/index.js +184 -41
  166. package/dist/commonjs/components/index.js.map +1 -1
  167. package/dist/commonjs/enums/corners.js +14 -0
  168. package/dist/commonjs/enums/corners.js.map +1 -0
  169. package/dist/commonjs/enums/index.js +28 -0
  170. package/dist/commonjs/enums/index.js.map +1 -0
  171. package/dist/commonjs/enums/size.js +18 -0
  172. package/dist/commonjs/enums/size.js.map +1 -0
  173. package/dist/commonjs/index.js +11 -0
  174. package/dist/commonjs/index.js.map +1 -1
  175. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
  176. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
  177. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
  178. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
  179. package/dist/commonjs/storybook-utils/components/index.js +13 -0
  180. package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
  181. package/dist/commonjs/storybook-utils/index.js +17 -0
  182. package/dist/commonjs/storybook-utils/index.js.map +1 -0
  183. package/dist/commonjs/styles/index.js +17 -0
  184. package/dist/commonjs/styles/index.js.map +1 -0
  185. package/dist/commonjs/styles/mixins/index.js +17 -0
  186. package/dist/commonjs/styles/mixins/index.js.map +1 -0
  187. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
  188. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  189. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
  190. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  191. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
  192. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  193. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
  194. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  195. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
  196. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  197. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
  198. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  199. package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
  200. package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
  201. package/dist/module/components/Avatar/assets/class-variants.js +21 -0
  202. package/dist/module/components/Avatar/assets/class-variants.js.map +1 -0
  203. package/dist/module/components/Avatar/images/girl.jpg +0 -0
  204. package/dist/module/components/Avatar/index.js +110 -0
  205. package/dist/module/components/Avatar/index.js.map +1 -0
  206. package/dist/module/components/Avatar/types.js.map +1 -0
  207. package/dist/module/components/Button/assets/class-variants.js +8 -7
  208. package/dist/module/components/Button/assets/class-variants.js.map +1 -1
  209. package/dist/module/components/Button/index.js +4 -3
  210. package/dist/module/components/Button/index.js.map +1 -1
  211. package/dist/module/components/ChatBubble/assets/class-variants.js +64 -0
  212. package/dist/module/components/ChatBubble/assets/class-variants.js.map +1 -0
  213. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js +22 -0
  214. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  215. package/dist/module/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  216. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js +41 -0
  217. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  218. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
  219. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  220. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
  221. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  222. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  223. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +32 -0
  224. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  225. package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js +4 -0
  226. package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  227. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js +31 -0
  228. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  229. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
  230. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  231. package/dist/module/components/ChatBubble/components/index.js +9 -0
  232. package/dist/module/components/ChatBubble/components/index.js.map +1 -0
  233. package/dist/module/components/ChatBubble/context.js +12 -0
  234. package/dist/module/components/ChatBubble/context.js.map +1 -0
  235. package/dist/module/components/ChatBubble/index.js +91 -0
  236. package/dist/module/components/ChatBubble/index.js.map +1 -0
  237. package/dist/module/components/ChatBubble/types.js +4 -0
  238. package/dist/module/components/ChatBubble/types.js.map +1 -0
  239. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
  240. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  241. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  242. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  243. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  244. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  245. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  246. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  247. package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  248. package/dist/module/components/CheckboxInput/index.js.map +1 -0
  249. package/dist/module/components/CheckboxInput/types.js +4 -0
  250. package/dist/module/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
  251. package/dist/module/components/Chip/enums/index.js +0 -1
  252. package/dist/module/components/Chip/enums/index.js.map +1 -1
  253. package/dist/module/components/Chip/index.js +4 -3
  254. package/dist/module/components/Chip/index.js.map +1 -1
  255. package/dist/module/components/InformationStatus/index.js +8 -7
  256. package/dist/module/components/InformationStatus/index.js.map +1 -1
  257. package/dist/module/components/ListButton/assets/class-variants.js +57 -0
  258. package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
  259. package/dist/module/components/ListButton/enums/icon-color.js +14 -0
  260. package/dist/module/components/ListButton/enums/icon-color.js.map +1 -0
  261. package/dist/module/components/ListButton/enums/index.js +5 -0
  262. package/dist/module/components/ListButton/enums/index.js.map +1 -0
  263. package/dist/module/components/ListButton/enums/variant.js +13 -0
  264. package/dist/module/components/ListButton/enums/variant.js.map +1 -0
  265. package/dist/module/components/ListButton/index.js +109 -0
  266. package/dist/module/components/ListButton/index.js.map +1 -0
  267. package/dist/module/components/ListButton/types.js +4 -0
  268. package/dist/module/components/ListButton/types.js.map +1 -0
  269. package/dist/module/components/LoadingDots/index.js.map +1 -1
  270. package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
  271. package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
  272. package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +5 -4
  273. package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  274. package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
  275. package/dist/{commonjs/components/InputOTP → module/components/OtpInput}/components/InformationStatus/types.js.map +1 -1
  276. package/dist/module/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
  277. package/dist/module/components/{InputOTP → OtpInput}/enums/index.js.map +1 -1
  278. package/dist/module/components/{InputOTP → OtpInput}/index.js +9 -3
  279. package/dist/module/components/OtpInput/index.js.map +1 -0
  280. package/dist/module/components/OtpInput/types.js +4 -0
  281. package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
  282. package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
  283. package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
  284. package/dist/module/components/RadioInput/enums/index.js +13 -0
  285. package/dist/module/components/RadioInput/enums/index.js.map +1 -0
  286. package/dist/module/components/RadioInput/index.js +37 -0
  287. package/dist/module/components/RadioInput/index.js.map +1 -0
  288. package/dist/module/components/RadioInput/types.js +4 -0
  289. package/dist/module/components/RadioInput/types.js.map +1 -0
  290. package/dist/module/components/Seal/assets/class-variants.js +3 -2
  291. package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
  292. package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
  293. package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
  294. package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
  295. package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
  296. package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
  297. package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
  298. package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
  299. package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
  300. package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
  301. package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
  302. package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
  303. package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
  304. package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
  305. package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
  306. package/dist/module/components/Seal/index.js +5 -2
  307. package/dist/module/components/Seal/index.js.map +1 -1
  308. package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
  309. package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
  310. package/dist/module/components/SelectButton/enums/index.js +8 -0
  311. package/dist/module/components/SelectButton/enums/index.js.map +1 -0
  312. package/dist/module/components/SelectButton/index.js +106 -0
  313. package/dist/module/components/SelectButton/index.js.map +1 -0
  314. package/dist/module/components/SelectButton/types.js +4 -0
  315. package/dist/module/components/SelectButton/types.js.map +1 -0
  316. package/dist/module/components/TextInput/assets/class-variants.js +67 -0
  317. package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
  318. package/dist/module/components/TextInput/enums.js +8 -0
  319. package/dist/module/components/TextInput/enums.js.map +1 -0
  320. package/dist/module/components/TextInput/index.js +118 -0
  321. package/dist/module/components/TextInput/index.js.map +1 -0
  322. package/dist/module/components/TextInput/types.js +4 -0
  323. package/dist/module/components/TextInput/types.js.map +1 -0
  324. package/dist/module/components/Title/components/icon/index.js +2 -1
  325. package/dist/module/components/Title/components/icon/index.js.map +1 -1
  326. package/dist/module/components/Title/components/icon/types.js.map +1 -1
  327. package/dist/module/components/Title/components/marker/index.js +4 -3
  328. package/dist/module/components/Title/components/marker/index.js.map +1 -1
  329. package/dist/module/components/Title/components/marker/types.js +2 -0
  330. package/dist/module/components/Title/index.js +8 -7
  331. package/dist/module/components/Title/index.js.map +1 -1
  332. package/dist/module/components/Toast/assets/class-variants.js +29 -0
  333. package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
  334. package/dist/module/components/Toast/enums/index.js +5 -0
  335. package/dist/module/components/Toast/enums/index.js.map +1 -0
  336. package/dist/module/components/Toast/enums/position.js +8 -0
  337. package/dist/module/components/Toast/enums/position.js.map +1 -0
  338. package/dist/module/components/Toast/enums/variant.js +9 -0
  339. package/dist/module/components/Toast/enums/variant.js.map +1 -0
  340. package/dist/module/components/Toast/index.js +102 -0
  341. package/dist/module/components/Toast/index.js.map +1 -0
  342. package/dist/module/components/Toast/types.js +4 -0
  343. package/dist/module/components/Toast/types.js.map +1 -0
  344. package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
  345. package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
  346. package/dist/module/components/Tooltip/components/Content/index.js +78 -0
  347. package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
  348. package/dist/module/components/Tooltip/components/Content/types.js +4 -0
  349. package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
  350. package/dist/module/components/Tooltip/components/index.js +4 -0
  351. package/dist/module/components/Tooltip/components/index.js.map +1 -0
  352. package/dist/module/components/Tooltip/enum/index.js +14 -0
  353. package/dist/module/components/Tooltip/enum/index.js.map +1 -0
  354. package/dist/module/components/Tooltip/hooks/index.js +4 -0
  355. package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
  356. package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
  357. package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  358. package/dist/module/components/Tooltip/index.js +39 -0
  359. package/dist/module/components/Tooltip/index.js.map +1 -0
  360. package/dist/module/components/Tooltip/types.js +4 -0
  361. package/dist/module/components/Tooltip/types.js.map +1 -0
  362. package/dist/module/components/Typography/assets/class-variants.js +1 -1
  363. package/dist/module/components/Typography/assets/class-variants.js.map +1 -1
  364. package/dist/module/components/index.js +17 -4
  365. package/dist/module/components/index.js.map +1 -1
  366. package/dist/module/enums/corners.js +10 -0
  367. package/dist/module/enums/corners.js.map +1 -0
  368. package/dist/module/enums/index.js +5 -0
  369. package/dist/module/enums/index.js.map +1 -0
  370. package/dist/module/enums/size.js +14 -0
  371. package/dist/module/enums/size.js.map +1 -0
  372. package/dist/module/index.js +1 -0
  373. package/dist/module/index.js.map +1 -1
  374. package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
  375. package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
  376. package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
  377. package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
  378. package/dist/module/storybook-utils/components/index.js +14 -0
  379. package/dist/module/storybook-utils/components/index.js.map +1 -0
  380. package/dist/module/storybook-utils/index.js +11 -0
  381. package/dist/module/storybook-utils/index.js.map +1 -0
  382. package/dist/module/styles/index.js +4 -0
  383. package/dist/module/styles/index.js.map +1 -0
  384. package/dist/module/styles/mixins/index.js +4 -0
  385. package/dist/module/styles/mixins/index.js.map +1 -0
  386. package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
  387. package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  388. package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
  389. package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  390. package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
  391. package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  392. package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
  393. package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  394. package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
  395. package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  396. package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
  397. package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  398. package/dist/module/styles/mixins/shadows/index.js +9 -0
  399. package/dist/module/styles/mixins/shadows/index.js.map +1 -0
  400. package/dist/typescript/components/Avatar/assets/class-variants.d.ts +5 -0
  401. package/dist/typescript/components/Avatar/index.d.ts +2 -0
  402. package/dist/typescript/components/Avatar/types.d.ts +7 -0
  403. package/dist/typescript/components/Button/assets/class-variants.d.ts +3 -2
  404. package/dist/typescript/components/Button/index.d.ts +2 -1
  405. package/dist/typescript/components/Button/types.d.ts +3 -2
  406. package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +7 -0
  407. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/index.d.ts +6 -0
  408. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/types.d.ts +5 -0
  409. package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/index.d.ts +8 -0
  410. package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
  411. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
  412. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
  413. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
  414. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
  415. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
  416. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
  417. package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
  418. package/dist/typescript/components/ChatBubble/context.d.ts +8 -0
  419. package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
  420. package/dist/typescript/components/ChatBubble/types.d.ts +14 -0
  421. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
  422. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
  423. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
  424. package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
  425. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
  426. package/dist/typescript/components/Chip/assets/class-variants.d.ts +1 -1
  427. package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
  428. package/dist/typescript/components/Chip/index.d.ts +1 -1
  429. package/dist/typescript/components/Chip/types.d.ts +3 -2
  430. package/dist/typescript/components/HighlightedText/index.d.ts +1 -1
  431. package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +1 -1
  432. package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +1 -1
  433. package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +1 -1
  434. package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +1 -1
  435. package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
  436. package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
  437. package/dist/typescript/components/ListButton/assets/class-variants.d.ts +14 -0
  438. package/dist/typescript/components/ListButton/enums/icon-color.d.ts +10 -0
  439. package/dist/typescript/components/ListButton/enums/index.d.ts +2 -0
  440. package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
  441. package/dist/typescript/components/ListButton/index.d.ts +2 -0
  442. package/dist/typescript/components/ListButton/types.d.ts +17 -0
  443. package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
  444. package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
  445. package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
  446. package/dist/typescript/components/OtpInput/index.d.ts +3 -0
  447. package/dist/typescript/components/{InputOTP → OtpInput}/types.d.ts +2 -1
  448. package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
  449. package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
  450. package/dist/typescript/components/RadioInput/index.d.ts +2 -0
  451. package/dist/typescript/components/RadioInput/types.d.ts +8 -0
  452. package/dist/typescript/components/Seal/assets/class-variants.d.ts +3 -2
  453. package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
  454. package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
  455. package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
  456. package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
  457. package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
  458. package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
  459. package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
  460. package/dist/typescript/components/Seal/types.d.ts +3 -1
  461. package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
  462. package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
  463. package/dist/typescript/components/SelectButton/index.d.ts +2 -0
  464. package/dist/typescript/components/SelectButton/types.d.ts +17 -0
  465. package/dist/typescript/components/TextInput/assets/class-variants.d.ts +15 -0
  466. package/dist/typescript/components/TextInput/enums.d.ts +4 -0
  467. package/dist/typescript/components/TextInput/index.d.ts +6 -0
  468. package/dist/typescript/components/TextInput/types.d.ts +18 -0
  469. package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
  470. package/dist/typescript/components/Title/components/icon/types.d.ts +3 -1
  471. package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
  472. package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
  473. package/dist/typescript/components/Title/index.d.ts +1 -1
  474. package/dist/typescript/components/Title/types.d.ts +3 -1
  475. package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
  476. package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
  477. package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
  478. package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
  479. package/dist/typescript/components/Toast/index.d.ts +2 -0
  480. package/dist/typescript/components/Toast/types.d.ts +11 -0
  481. package/dist/typescript/components/Toggle/index.d.ts +1 -1
  482. package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
  483. package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
  484. package/dist/typescript/components/Tooltip/components/Content/types.d.ts +13 -0
  485. package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
  486. package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
  487. package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
  488. package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
  489. package/dist/typescript/components/Tooltip/index.d.ts +2 -0
  490. package/dist/typescript/components/Tooltip/types.d.ts +12 -0
  491. package/dist/typescript/components/index.d.ts +26 -6
  492. package/dist/typescript/enums/corners.d.ts +6 -0
  493. package/dist/typescript/enums/index.d.ts +2 -0
  494. package/dist/typescript/enums/size.d.ts +10 -0
  495. package/dist/typescript/iconography/Icons/index.d.ts +2 -1
  496. package/dist/typescript/index.d.ts +1 -0
  497. package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
  498. package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
  499. package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
  500. package/dist/typescript/storybook-utils/index.d.ts +7 -0
  501. package/dist/typescript/styles/index.d.ts +1 -0
  502. package/dist/typescript/styles/mixins/index.d.ts +1 -0
  503. package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
  504. package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
  505. package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
  506. package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
  507. package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
  508. package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
  509. package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
  510. package/package.json +38 -60
  511. package/src/components/Avatar/assets/class-variants.ts +23 -0
  512. package/src/components/Avatar/images/girl.jpg +0 -0
  513. package/src/components/Avatar/index.tsx +119 -0
  514. package/src/components/Avatar/types.ts +15 -0
  515. package/src/components/Button/assets/class-variants.ts +8 -7
  516. package/src/components/Button/index.tsx +8 -7
  517. package/src/components/Button/types.ts +3 -2
  518. package/src/components/ChatBubble/assets/class-variants.ts +75 -0
  519. package/src/components/ChatBubble/components/ChatBubbleContent/index.tsx +24 -0
  520. package/src/components/ChatBubble/components/ChatBubbleContent/types.ts +6 -0
  521. package/src/components/ChatBubble/components/ChatBubbleEar/index.tsx +40 -0
  522. package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
  523. package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +36 -0
  524. package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
  525. package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +35 -0
  526. package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
  527. package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +34 -0
  528. package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
  529. package/src/components/ChatBubble/components/index.ts +6 -0
  530. package/src/components/ChatBubble/context.tsx +26 -0
  531. package/src/components/ChatBubble/index.tsx +112 -0
  532. package/src/components/ChatBubble/types.ts +17 -0
  533. package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
  534. package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
  535. package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
  536. package/src/components/Chip/enums/index.ts +0 -1
  537. package/src/components/Chip/index.tsx +5 -3
  538. package/src/components/Chip/types.ts +3 -2
  539. package/src/components/InformationStatus/index.tsx +14 -7
  540. package/src/components/InformationStatus/types.ts +7 -1
  541. package/src/components/ListButton/assets/class-variants.ts +87 -0
  542. package/src/components/ListButton/enums/icon-color.ts +10 -0
  543. package/src/components/ListButton/enums/index.ts +2 -0
  544. package/src/components/ListButton/enums/variant.ts +9 -0
  545. package/src/components/ListButton/index.tsx +124 -0
  546. package/src/components/ListButton/types.ts +20 -0
  547. package/src/components/LoadingDots/index.tsx +0 -1
  548. package/src/components/OtpInput/assets/class-variant.ts +21 -0
  549. package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +5 -4
  550. package/src/components/{InputOTP → OtpInput}/index.tsx +7 -9
  551. package/src/components/{InputOTP → OtpInput}/types.ts +2 -1
  552. package/src/components/RadioInput/assets/class-variants.ts +112 -0
  553. package/src/components/RadioInput/enums/index.ts +9 -0
  554. package/src/components/RadioInput/index.tsx +36 -0
  555. package/src/components/RadioInput/types.ts +9 -0
  556. package/src/components/Seal/assets/class-variants.ts +3 -2
  557. package/src/components/Seal/components/AddIcon/index.tsx +7 -3
  558. package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
  559. package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
  560. package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
  561. package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
  562. package/src/components/Seal/components/RightIcon/index.tsx +7 -3
  563. package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
  564. package/src/components/Seal/index.tsx +4 -1
  565. package/src/components/Seal/types.ts +4 -2
  566. package/src/components/SelectButton/assets/class-variants.ts +28 -0
  567. package/src/components/SelectButton/enums/index.ts +4 -0
  568. package/src/components/SelectButton/index.tsx +133 -0
  569. package/src/components/SelectButton/types.ts +20 -0
  570. package/src/components/TextInput/assets/class-variants.ts +74 -0
  571. package/src/components/TextInput/enums.ts +4 -0
  572. package/src/components/TextInput/index.tsx +145 -0
  573. package/src/components/TextInput/types.ts +24 -0
  574. package/src/components/Title/components/icon/index.tsx +2 -1
  575. package/src/components/Title/components/icon/types.ts +6 -1
  576. package/src/components/Title/components/marker/index.tsx +4 -3
  577. package/src/components/Title/components/marker/types.ts +5 -1
  578. package/src/components/Title/index.tsx +8 -7
  579. package/src/components/Title/types.ts +11 -1
  580. package/src/components/Toast/assets/class-variants.ts +32 -0
  581. package/src/components/Toast/enums/index.ts +2 -0
  582. package/src/components/Toast/enums/position.ts +4 -0
  583. package/src/components/Toast/enums/variant.ts +5 -0
  584. package/src/components/Toast/index.tsx +102 -0
  585. package/src/components/Toast/types.ts +12 -0
  586. package/src/components/Tooltip/assets/class-variant.ts +26 -0
  587. package/src/components/Tooltip/components/Content/index.tsx +93 -0
  588. package/src/components/Tooltip/components/Content/types.ts +14 -0
  589. package/src/components/Tooltip/components/index.ts +1 -0
  590. package/src/components/Tooltip/enum/index.ts +10 -0
  591. package/src/components/Tooltip/hooks/index.ts +1 -0
  592. package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
  593. package/src/components/Tooltip/index.tsx +38 -0
  594. package/src/components/Tooltip/types.ts +13 -0
  595. package/src/components/Typography/assets/class-variants.ts +1 -1
  596. package/src/components/index.ts +33 -6
  597. package/src/enums/corners.ts +6 -0
  598. package/src/enums/index.ts +2 -0
  599. package/src/enums/size.ts +10 -0
  600. package/src/index.ts +1 -0
  601. package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
  602. package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
  603. package/src/storybook-utils/components/index.ts +12 -0
  604. package/src/storybook-utils/index.ts +8 -0
  605. package/src/styles/index.ts +1 -0
  606. package/src/styles/mixins/index.ts +1 -0
  607. package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
  608. package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
  609. package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
  610. package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
  611. package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
  612. package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
  613. package/src/styles/mixins/shadows/index.ts +6 -0
  614. package/dist/README.md +0 -57
  615. package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
  616. package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
  617. package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
  618. package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  619. package/dist/commonjs/components/InputOTP/index.js.map +0 -1
  620. package/dist/commonjs/hooks/index.js.map +0 -1
  621. package/dist/commonjs/hooks/use-fonts.js +0 -39
  622. package/dist/commonjs/hooks/use-fonts.js.map +0 -1
  623. package/dist/module/components/Chip/enums/chip-size.js +0 -8
  624. package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
  625. package/dist/module/components/InputCheckbox/index.js.map +0 -1
  626. package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  627. package/dist/module/components/InputOTP/index.js.map +0 -1
  628. package/dist/module/hooks/index.js +0 -4
  629. package/dist/module/hooks/index.js.map +0 -1
  630. package/dist/module/hooks/use-fonts.js +0 -35
  631. package/dist/module/hooks/use-fonts.js.map +0 -1
  632. package/dist/package.json +0 -56
  633. package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
  634. package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
  635. package/dist/typescript/components/InputOTP/index.d.ts +0 -3
  636. package/dist/typescript/hooks/index.d.ts +0 -1
  637. package/dist/typescript/hooks/use-fonts.d.ts +0 -10
  638. package/index.js +0 -6
  639. package/src/components/Button/index.stories.tsx +0 -407
  640. package/src/components/Chip/enums/chip-size.ts +0 -4
  641. package/src/components/Chip/index.stories.tsx +0 -95
  642. package/src/components/HighlightedText/index.stories.tsx +0 -209
  643. package/src/components/InformationStatus/index.stories.tsx +0 -112
  644. package/src/components/InputCheckbox/index.stories.tsx +0 -133
  645. package/src/components/InputOTP/index.stories.tsx +0 -256
  646. package/src/components/LoadingDots/index.stories.tsx +0 -74
  647. package/src/components/Seal/index.stories.tsx +0 -124
  648. package/src/components/Title/index.stories.tsx +0 -729
  649. package/src/components/Toggle/index.stories.tsx +0 -88
  650. package/src/components/Typography/index.stories.tsx +0 -218
  651. package/src/hooks/index.ts +0 -1
  652. package/src/hooks/use-fonts.ts +0 -30
  653. package/src/iconography/Icons/index.stories.tsx +0 -23
  654. /package/dist/commonjs/components/{InputCheckbox → Avatar}/types.js +0 -0
  655. /package/dist/commonjs/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  656. /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
  657. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  658. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  659. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  660. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  661. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  662. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  663. /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
  664. /package/dist/commonjs/components/{InputOTP → OtpInput}/enums/index.js +0 -0
  665. /package/dist/module/components/{InputCheckbox → Avatar}/types.js +0 -0
  666. /package/dist/module/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  667. /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
  668. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  669. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  670. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  671. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  672. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  673. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  674. /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
  675. /package/dist/module/components/{InputOTP → OtpInput}/enums/index.js +0 -0
  676. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
  677. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
  678. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
  679. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
  680. /package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/types.d.ts +0 -0
  681. /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
  682. /package/dist/typescript/components/{InputOTP → OtpInput}/enums/index.d.ts +0 -0
  683. /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
  684. /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
  685. /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
  686. /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
  687. /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
  688. /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
  689. /package/src/components/{InputOTP → OtpInput}/components/InformationStatus/types.ts +0 -0
  690. /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
  691. /package/src/components/{InputOTP → OtpInput}/enums/index.ts +0 -0
package/README.md CHANGED
@@ -1,57 +1 @@
1
- ![picture of storybook](https://github.com/user-attachments/assets/cf98766d-8b90-44ab-b718-94ab16e63205)
2
-
3
- # getting started
4
-
5
- ```sh
6
- npx create-expo-app --template expo-template-storybook AwesomeStorybook
7
- ```
8
-
9
- or
10
-
11
- ```sh
12
- yarn create expo-app --template expo-template-storybook AwesomeStorybook
13
- ```
14
-
15
- # app
16
-
17
- ```sh
18
- yarn start
19
- ```
20
-
21
- # RN Storybook (ondevice)
22
-
23
- In this template you can now run `yarn storybook` to start ondevice storybook or `yarn start` to start your expo app.
24
- This works via env variables and expo constants.
25
-
26
- ```sh
27
- # either
28
- yarn storybook
29
-
30
- # ios
31
- yarn storybook:ios
32
-
33
- # android
34
- yarn storybook:android
35
- ```
36
-
37
- If you add new stories on the native (ondevice version) you either need to have the watcher running or run the stories loader
38
-
39
- To update the stories one time
40
-
41
- ```sh
42
- yarn storybook-generate
43
- ```
44
-
45
- # Web
46
-
47
- Start react native web storybook:
48
-
49
- ```
50
- yarn storybook:web
51
- ```
52
-
53
- build react native web storybook:
54
-
55
- ```sh
56
- yarn build-storybook
57
- ```
1
+ TBD
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.avatarVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ var _index = require("../../../enums/index.js");
9
+ const avatarVariants = exports.avatarVariants = (0, _classVarianceAuthority.cva)("border-[1px] border-chia-400 flex items-center justify-center bg-chia-300", {
10
+ variants: {
11
+ size: {
12
+ [_index.SizeEnum.XLARGE]: "w-[96px] h-[96px] rounded-1000",
13
+ [_index.SizeEnum.LARGE]: "w-[72px] h-[72px] rounded-900",
14
+ [_index.SizeEnum.MEDIUM]: "w-[56px] h-[56px] rounded-800",
15
+ [_index.SizeEnum.SMALL]: "w-[40px] h-[40px] rounded-700",
16
+ [_index.SizeEnum.XSMALL]: "w-[32px] h-[32px] rounded-600",
17
+ [_index.SizeEnum.XXSMALL]: "w-[24px] h-[24px] rounded-600"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ size: _index.SizeEnum.MEDIUM
22
+ }
23
+ });
24
+ //# sourceMappingURL=class-variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_classVarianceAuthority","require","_index","avatarVariants","exports","cva","variants","size","SizeEnum","XLARGE","LARGE","MEDIUM","SMALL","XSMALL","XXSMALL","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Avatar/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,2EAA2E,EAC3E;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJ,CAACC,eAAQ,CAACC,MAAM,GAAG,gCAAgC;MACnD,CAACD,eAAQ,CAACE,KAAK,GAAG,+BAA+B;MACjD,CAACF,eAAQ,CAACG,MAAM,GAAG,+BAA+B;MAClD,CAACH,eAAQ,CAACI,KAAK,GAAG,+BAA+B;MACjD,CAACJ,eAAQ,CAACK,MAAM,GAAG,+BAA+B;MAClD,CAACL,eAAQ,CAACM,OAAO,GAAG;IACtB;EACF,CAAC;EACDC,eAAe,EAAE;IACfR,IAAI,EAAEC,eAAQ,CAACG;EACjB;AACF,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Avatar = Avatar;
7
+ var _native = require("@kivid/icons/native");
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../../enums/index.js");
10
+ var _classVariants = require("./assets/class-variants.js");
11
+ var _tailwindPreset = require("@kivid/tailwind-preset");
12
+ var _index2 = _interopRequireDefault(require("../Typography/index.js"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ function Avatar(props) {
16
+ const {
17
+ src,
18
+ name,
19
+ size = _index.SizeEnum.MEDIUM
20
+ } = props;
21
+ const personMappedSize = {
22
+ [_index.SizeEnum.XLARGE]: 56,
23
+ [_index.SizeEnum.LARGE]: 48,
24
+ [_index.SizeEnum.MEDIUM]: 40,
25
+ [_index.SizeEnum.SMALL]: 32,
26
+ [_index.SizeEnum.XSMALL]: 24,
27
+ [_index.SizeEnum.XXSMALL]: 16
28
+ }[size];
29
+ const personMappedStrokeWidth = {
30
+ [_index.SizeEnum.XLARGE]: 1.6,
31
+ [_index.SizeEnum.LARGE]: 1.6,
32
+ [_index.SizeEnum.MEDIUM]: 1.6,
33
+ [_index.SizeEnum.SMALL]: 1.6,
34
+ [_index.SizeEnum.XSMALL]: 1.5,
35
+ [_index.SizeEnum.XXSMALL]: 1.125
36
+ }[size];
37
+ const avatarStyle = (0, _classVariants.avatarVariants)({
38
+ size
39
+ });
40
+ const avatarTextStyleMap = {
41
+ [_index.SizeEnum.XXSMALL]: {
42
+ variant: "body_small",
43
+ fontWeight: "700",
44
+ className: "h-[15px]"
45
+ },
46
+ [_index.SizeEnum.XSMALL]: {
47
+ variant: "body_small",
48
+ fontWeight: "700",
49
+ className: "h-[16px]"
50
+ },
51
+ [_index.SizeEnum.SMALL]: {
52
+ variant: "title_small",
53
+ fontWeight: "700",
54
+ className: "h-[18px]"
55
+ },
56
+ [_index.SizeEnum.MEDIUM]: {
57
+ variant: "title_large",
58
+ fontWeight: "700",
59
+ className: "h-[18px]"
60
+ },
61
+ [_index.SizeEnum.LARGE]: {
62
+ variant: "headline_small",
63
+ fontWeight: "700",
64
+ className: "h-[29px]"
65
+ },
66
+ [_index.SizeEnum.XLARGE]: {
67
+ variant: "headline_medium",
68
+ fontWeight: "700",
69
+ className: "h-[30px]"
70
+ }
71
+ };
72
+ function renderFallbackType() {
73
+ if (name && !!name.trim()) {
74
+ const [firstName, surname] = name.split(" ");
75
+ const hasSurname = !!surname;
76
+ const hasName = !!firstName;
77
+ const firstLetterOfFirstName = hasName ? firstName?.at(0) : "";
78
+ const firstLetterOfSurname = hasSurname ? surname?.at(0) : "";
79
+ const firstLetters = `${firstLetterOfFirstName}${firstLetterOfSurname}`.toUpperCase();
80
+
81
+ //TODO: line height add spaces on font, and element cant be centered
82
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
83
+ className: avatarStyle,
84
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
85
+ className: (0, _tailwindPreset.merge)(avatarTextStyleMap[size].className, "text-chia-600"),
86
+ variant: avatarTextStyleMap[size].variant,
87
+ weight: avatarTextStyleMap[size].fontWeight,
88
+ children: firstLetters
89
+ })
90
+ });
91
+ }
92
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
93
+ className: avatarStyle,
94
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_native.Person, {
95
+ color: "#B6C2C2",
96
+ size: personMappedSize,
97
+ strokeWidth: personMappedStrokeWidth
98
+ })
99
+ });
100
+ }
101
+ if (!src) {
102
+ return renderFallbackType();
103
+ }
104
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
105
+ className: (0, _tailwindPreset.merge)(avatarStyle, "overflow-hidden"),
106
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
107
+ source: {
108
+ uri: src
109
+ },
110
+ className: "object-cover w-full h-full",
111
+ accessibilityLabel: "Profile Avatar"
112
+ })
113
+ });
114
+ }
115
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_native","require","_reactNative","_index","_classVariants","_tailwindPreset","_index2","_interopRequireDefault","_jsxRuntime","e","__esModule","default","Avatar","props","src","name","size","SizeEnum","MEDIUM","personMappedSize","XLARGE","LARGE","SMALL","XSMALL","XXSMALL","personMappedStrokeWidth","avatarStyle","avatarVariants","avatarTextStyleMap","variant","fontWeight","className","renderFallbackType","trim","firstName","surname","split","hasSurname","hasName","firstLetterOfFirstName","at","firstLetterOfSurname","firstLetters","toUpperCase","jsx","View","children","merge","weight","Person","color","strokeWidth","Image","source","uri","accessibilityLabel"],"sourceRoot":"../../../../src","sources":["components/Avatar/index.tsx"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAC,sBAAA,CAAAN,OAAA;AAAuC,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAM,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,SAASG,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IAAEC,GAAG;IAAEC,IAAI;IAAEC,IAAI,GAAGC,eAAQ,CAACC;EAAO,CAAC,GAAGL,KAAK;EAEnD,MAAMM,gBAAgB,GAAG;IACvB,CAACF,eAAQ,CAACG,MAAM,GAAG,EAAE;IACrB,CAACH,eAAQ,CAACI,KAAK,GAAG,EAAE;IACpB,CAACJ,eAAQ,CAACC,MAAM,GAAG,EAAE;IACrB,CAACD,eAAQ,CAACK,KAAK,GAAG,EAAE;IACpB,CAACL,eAAQ,CAACM,MAAM,GAAG,EAAE;IACrB,CAACN,eAAQ,CAACO,OAAO,GAAG;EACtB,CAAC,CAACR,IAAI,CAAC;EAEP,MAAMS,uBAAuB,GAAG;IAC9B,CAACR,eAAQ,CAACG,MAAM,GAAG,GAAG;IACtB,CAACH,eAAQ,CAACI,KAAK,GAAG,GAAG;IACrB,CAACJ,eAAQ,CAACC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K,EAACrB,WAAW,EAAE,iBAAiB,CAAE;IAAAoB,QAAA,eACrD,IAAAtC,WAAA,CAAAoC,GAAA,EAAC1C,YAAA,CAAAkD,KAAK;MACJC,MAAM,EAAE;QAAEC,GAAG,EAAExC;MAAI,CAAE;MACrBiB,SAAS,EAAE,4BAA6B;MACxCwB,kBAAkB,EAAC;IAAgB,CACpC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Avatar/types.ts"],"mappings":"","ignoreList":[]}
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.textVariants = exports.selectedVariants = exports.buttonVariants = void 0;
7
7
  var _classVarianceAuthority = require("class-variance-authority");
8
+ var _index = require("../../../enums/index.js");
8
9
  const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)(["flex-row items-center justify-center", "font-bold", "relative overflow-hidden"], {
9
10
  variants: {
10
11
  variant: {
@@ -19,13 +20,13 @@ const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)
19
20
  ghost: ["bg-transparent", "disabled:opacity-30"]
20
21
  },
21
22
  size: {
22
- small: ["px-400 h-800"],
23
- medium: ["px-600 h-900"],
24
- large: ["px-600 h-1000"]
23
+ [_index.SizeEnum.SMALL]: ["px-400 h-800"],
24
+ [_index.SizeEnum.MEDIUM]: ["px-600 h-900"],
25
+ [_index.SizeEnum.LARGE]: ["px-600 h-1000"]
25
26
  },
26
27
  corners: {
27
- small: "rounded-500",
28
- medium: "rounded-700"
28
+ [_index.CornersEnum.SMALL]: "rounded-500",
29
+ [_index.CornersEnum.MEDIUM]: "rounded-700"
29
30
  },
30
31
  fullWidth: {
31
32
  true: "w-full"
@@ -36,8 +37,8 @@ const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)
36
37
  },
37
38
  defaultVariants: {
38
39
  variant: "grape",
39
- size: "medium",
40
- corners: "medium",
40
+ size: _index.SizeEnum.MEDIUM,
41
+ corners: _index.CornersEnum.MEDIUM,
41
42
  fullWidth: false
42
43
  }
43
44
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_classVarianceAuthority","require","buttonVariants","exports","cva","variants","variant","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","size","small","medium","large","corners","fullWidth","true","selected","defaultVariants","textVariants","compoundVariants","class","selectedVariants"],"sourceRoot":"../../../../../src","sources":["components/Button/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEA,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,CACE,sCAAsC,EACtC,WAAW,EACX,0BAA0B,CAC3B,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,KAAK,EAAE,CAAC,cAAc,EAAE,2CAA2C,CAAC;MACpEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,SAAS,EAAE,CACT,kBAAkB,EAClB,+CAA+C,CAChD;MACDC,UAAU,EAAE,CACV,mBAAmB,EACnB,gDAAgD,CACjD;MACDC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,OAAO,EAAE,CACP,wCAAwC,EACxC,0CAA0C,CAC3C;MACDC,KAAK,EAAE,CACL,0CAA0C,EAC1C,6CAA6C,CAC9C;MACDC,KAAK,EAAE,CAAC,gBAAgB,EAAE,qBAAqB;IACjD,CAAC;IACDC,IAAI,EAAE;MACJC,KAAK,EAAE,CAAC,cAAc,CAAC;MACvBC,MAAM,EAAE,CAAC,cAAc,CAAC;MACxBC,KAAK,EAAE,CAAC,eAAe;IACzB,CAAC;IACDC,OAAO,EAAE;MACPH,KAAK,EAAE,aAAa;MACpBC,MAAM,EAAE;IACV,CAAC;IACDG,SAAS,EAAE;MACTC,IAAI,EAAE;IACR,C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":["_classVarianceAuthority","require","_index","buttonVariants","exports","cva","variants","variant","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","size","SizeEnum","SMALL","MEDIUM","LARGE","corners","CornersEnum","fullWidth","true","selected","defaultVariants","textVariants","compoundVariants","class","selectedVariants"],"sourceRoot":"../../../../../src","sources":["components/Button/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,CACE,sCAAsC,EACtC,WAAW,EACX,0BAA0B,CAC3B,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,KAAK,EAAE,CAAC,cAAc,EAAE,2CAA2C,CAAC;MACpEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,SAAS,EAAE,CACT,kBAAkB,EAClB,+CAA+C,CAChD;MACDC,UAAU,EAAE,CACV,mBAAmB,EACnB,gDAAgD,CACjD;MACDC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,OAAO,EAAE,CACP,wCAAwC,EACxC,0CAA0C,CAC3C;MACDC,KAAK,EAAE,CACL,0CAA0C,EAC1C,6CAA6C,CAC9C;MACDC,KAAK,EAAE,CAAC,gBAAgB,EAAE,qBAAqB;IACjD,CAAC;IACDC,IAAI,EAAE;MACJ,CAACC,eAAQ,CAACC,KAAK,GAAG,CAAC,cAAc,CAAC;MAClC,CAACD,eAAQ,CAACE,MAAM,GAAG,CAAC,cAAc,CAAC;MACnC,CAACF,eAAQ,CAACG,KAAK,GAAG,CAAC,eAAe;IACpC,CAAC;IACDC,OAAO,EAAE;MACP,CAACC,kBAAW,CAACJ,KAAK,GAAG,aAAa;MAClC,CAACI,kBAAW,CAACH,MAAM,GAAG;IACxB,CAAC;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;MACvBC,KAAK,EAAE;IACT;EACF;AACF,CAAC,CAAC","ignoreList":[]}
@@ -10,13 +10,14 @@ var _tailwindPreset = require("@kivid/tailwind-preset");
10
10
  var _index = require("../LoadingDots/index.js");
11
11
  var _index2 = require("../Typography/index.js");
12
12
  var _classVariants = require("./assets/class-variants.js");
13
+ var _index3 = require("../../enums/index.js");
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
16
  function Button(props) {
16
17
  const {
17
18
  variant = "grape",
18
- size = "large",
19
- corners = "medium",
19
+ size = _index3.SizeEnum.LARGE,
20
+ corners = _index3.CornersEnum.MEDIUM,
20
21
  fullWidth = false,
21
22
  loading = false,
22
23
  selected = false,
@@ -47,7 +48,7 @@ function Button(props) {
47
48
  medium: "label_medium",
48
49
  large: "label_large"
49
50
  };
50
- const typographyVariant = typographyVariantMap[size ?? "medium"];
51
+ const typographyVariant = typographyVariantMap[size ?? _index3.SizeEnum.MEDIUM];
51
52
  function renderContent() {
52
53
  const textStyle = (0, _tailwindPreset.merge)((0, _classVariants.textVariants)({
53
54
  variant,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_index2","_classVariants","_jsxRuntime","e","__esModule","default","Button","props","variant","size","corners","fullWidth","loading","selected","disabled","className","children","onPress","accessibilityLabel","ref","onPressIn","onPressOut","rest","animatedValue","React","useRef","Animated","Value","current","loadingDotsVariantsMap","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","typographyVariantMap","small","medium","large","typographyVariant","renderContent","textStyle","merge","textVariants","_variant","jsx","Fragment","LoadingDots","Typography","weight","numberOfLines","buttonStyle","buttonVariants","undefined","selectedVariants","handlePressIn","event","timing","toValue","duration","useNativeDriver","start","handlePressOut","View","style","opacity","Pressable","accessibilityRole","accessibilityState","busy","pointerEvents","displayName"],"sourceRoot":"../../../../src","sources":["components/Button/index.tsx"],"mappings":";;;;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AK,CAAC,CAAC;IAEV7C,SAAS,GAAGwC,KAAK,CAAC;EACpB,CAAC;EAED,MAAMM,cAAc,GAAIN,KAA4B,IAAK;IACvDlC,qBAAQ,CAACmC,MAAM,CAACtC,aAAa,EAAE;MAC7BuC,OAAO,EAAE,CAAC;MACVC,QAAQ,EAAE,GAAG;MACbC,eAAe,EAAE;IACnB,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;IAEV5C,UAAU,GAAGuC,KAAK,CAAC;EACrB,CAAC;EAED,oBACE,IAAA1D,WAAA,CAAA+C,GAAA,EAACpD,YAAA,CAAA6B,QAAQ,CAACyC,IAAI;IACZC,KAAK,EAAE;MACLC,OAAO,EAAE9C;IACX,CAAE;IAAAP,QAAA,eAEF,IAAAd,WAAA,CAAA+C,GAAA,EAACpD,YAAA,CAAAyE,SAAS;MACRnD,GAAG,EAAEA,GAAI;MACTJ,SAAS,EAAEwC,WAAY;MACvBzC,QAAQ,EAAEA,QAAS;MACnBG,OAAO,EAAEA,OAAQ;MACjBG,SAAS,EAAEuC,aAAc;MACzBtC,UAAU,EAAE6C,cAAe;MAC3BK,iBAAiB,EAAC,QAAQ;MAC1BrD,kBAAkB,EAChBA,kBAAkB,KACjB,OAAOF,QAAQ,KAAK,QAAQ,GAAGA,QAAQ,GAAG,QAAQ,CACpD;MACDwD,kBAAkB,EAAE;QAClB1D,QAAQ,EAAEA,QAAQ;QAClBD,QAAQ,EAAEA,QAAQ;QAClB4D,IAAI,EAAE7D;MACR,CAAE;MACF8D,aAAa,EAAE9D,OAAO,IAAIE,QAAQ,GAAG,MAAM,GAAG,MAAO;MAAA,GACjDQ,IAAI;MAAAN,QAAA,EAEP4B,aAAa,CAAC;IAAC,CACP;EAAC,CACC,CAAC;AAEpB;AAEAtC,MAAM,CAACqE,WAAW,GAAG,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_index2","_classVariants","_index3","_jsxRuntime","e","__esModule","default","Button","props","variant","size","SizeEnum","LARGE","corners","CornersEnum","MEDIUM","fullWidth","loading","selected","disabled","className","children","onPress","accessibilityLabel","ref","onPressIn","onPressOut","rest","animatedValue","React","useRef","Animated","Value","current","loadingDotsVariantsMap","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","typographyVariantMap","small","medium","large","typographyVariant","renderContent","textStyle","merge","textVariants","_variant","jsx","Fragment","LoadingDots","Typography","weight","numberOfLines","buttonStyle","buttonVariants","undefined","selectedVariants","handlePressIn","event","timing","toValue","duration","useNativeDriver","start","handlePressOut","View","style","opacity","Pressable","accessibilityRole","accessibilityState","busy","pointerEvents","displayName"],"sourceRoot":"../../../../src","sources":["components/Button/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAQA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAKA,IAAAM,OAAA,GAAAN,OAAA;AAAoD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7C,SAASG,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IACJC,OAAO,GAAG,OAAO;IACjBC,IAAI,GAAGC,gBAAQ,CAACC,KAAK;IACrBC,OAAO,GAAGC,mBAAW,CAACC,MAAM;IAC5BC,SAAS,GAAG,KAAK;IACjBC,OAAO,GAAG,KAAK;IACfC,QAAQ,GAAG,KAAK;IAChBC,QAAQ,GAAG,KAAK;IAChBC,SAAS;IACTC,QAAQ;IACRC,OAAO;IACPC,kBAAkB;IAClBC,GAAG;IACHC,SAAS;IACTC,UAAU;IACV,GAAGC;EACL,CAAC,GAAGnB,KAAK;EAET,MAAMoB,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C,QAAQ;MAC1BrD,kBAAkB,EAChBA,kBAAkB,KACjB,OAAOF,QAAQ,KAAK,QAAQ,GAAGA,QAAQ,GAAG,QAAQ,CACpD;MACDwD,kBAAkB,EAAE;QAClB1D,QAAQ,EAAEA,QAAQ;QAClBD,QAAQ,EAAEA,QAAQ;QAClB4D,IAAI,EAAE7D;MACR,CAAE;MACF8D,aAAa,EAAE9D,OAAO,IAAIE,QAAQ,GAAG,MAAM,GAAG,MAAO;MAAA,GACjDQ,IAAI;MAAAN,QAAA,EAEP4B,aAAa,CAAC;IAAC,CACP;EAAC,CACC,CAAC;AAEpB;AAEA1C,MAAM,CAACyE,WAAW,GAAG,QAAQ","ignoreList":[]}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.chatBubbleTimeVariants = exports.chatBubbleBoxVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ const chatBubbleBoxVariants = exports.chatBubbleBoxVariants = (0, _classVarianceAuthority.cva)("flex-row gap-400 px-600 py-500 min-h-1000", {
9
+ variants: {
10
+ contentType: {
11
+ check: "",
12
+ alert: "",
13
+ error: "",
14
+ custom: ""
15
+ },
16
+ colorState: {
17
+ fill: "",
18
+ outline: "border border-chia-400"
19
+ },
20
+ hasEar: {
21
+ true: "",
22
+ false: ""
23
+ },
24
+ messageType: {
25
+ initial: "",
26
+ followUp: ""
27
+ }
28
+ },
29
+ compoundVariants: [{
30
+ contentType: "check",
31
+ colorState: "fill",
32
+ className: "bg-pear-500"
33
+ }, {
34
+ contentType: "alert",
35
+ colorState: "fill",
36
+ className: "bg-tangerine-500"
37
+ }, {
38
+ contentType: "error",
39
+ colorState: "fill",
40
+ className: "bg-blackberry-500"
41
+ }, {
42
+ contentType: "custom",
43
+ colorState: "fill",
44
+ className: "bg-chia-100"
45
+ }, {
46
+ contentType: "custom",
47
+ colorState: "outline",
48
+ className: "bg-chia-100"
49
+ }, {
50
+ colorState: "outline",
51
+ className: "bg-chia-100"
52
+ }, {
53
+ hasEar: true,
54
+ className: "rounded-700 rounded-bl-100"
55
+ }, {
56
+ hasEar: false,
57
+ className: "rounded-700 rounded-bl-300"
58
+ }, {
59
+ messageType: "followUp",
60
+ className: "rounded-tl-300"
61
+ }],
62
+ defaultVariants: {
63
+ colorState: "fill",
64
+ messageType: "initial"
65
+ }
66
+ });
67
+ const chatBubbleTimeVariants = exports.chatBubbleTimeVariants = (0, _classVarianceAuthority.cva)("flex-row items-center gap-400 pt-400 pl-400");
68
+ //# sourceMappingURL=class-variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_classVarianceAuthority","require","chatBubbleBoxVariants","exports","cva","variants","contentType","check","alert","error","custom","colorState","fill","outline","hasEar","true","false","messageType","initial","followUp","compoundVariants","className","defaultVariants","chatBubbleTimeVariants"],"sourceRoot":"../../../../../src","sources":["components/ChatBubble/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,2CAA2C,EAC3C;EACEC,QAAQ,EAAE;IACRC,WAAW,EAAE;MACXC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV,CAAC;IACDC,UAAU,EAAE;MACVC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE;IACX,CAAC;IACDC,MAAM,EAAE;MACNC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACT,CAAC;IACDC,WAAW,EAAE;MACXC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE;IACZ;EACF,CAAC;EACDC,gBAAgB,EAAE,CAChB;IACEd,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,QAAQ;IACrBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,QAAQ;IACrBK,UAAU,EAAE,SAAS;IACrBU,SAAS,EAAE;EACb,CAAC,EACD;IACEV,UAAU,EAAE,SAAS;IACrBU,SAAS,EAAE;EACb,CAAC,EACD;IACEP,MAAM,EAAE,IAAI;IACZO,SAAS,EAAE;EACb,CAAC,EACD;IACEP,MAAM,EAAE,KAAK;IACbO,SAAS,EAAE;EACb,CAAC,EACD;IAAEJ,WAAW,EAAE,UAAU;IAAEI,SAAS,EAAE;EAAiB,CAAC,CACzD;EACDC,eAAe,EAAE;IACfX,UAAU,EAAE,MAAM;IAClBM,WAAW,EAAE;EACf;AACF,CACF,CAAC;AAEM,MAAMM,sBAAsB,GAAApB,OAAA,CAAAoB,sBAAA,GAAG,IAAAnB,2BAAG,EACvC,6CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleContent = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _tailwindPreset = require("@kivid/tailwind-preset");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ /**
13
+ * Content container for the main bubble content (seal + text)
14
+ */
15
+ const ChatBubbleContent = ({
16
+ className,
17
+ children,
18
+ ...props
19
+ }) => {
20
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
21
+ className: (0, _tailwindPreset.merge)("flex-row items-center gap-2", className),
22
+ ...props,
23
+ children: children
24
+ });
25
+ };
26
+ exports.ChatBubbleContent = ChatBubbleContent;
27
+ ChatBubbleContent.displayName = "ChatBubble.Content";
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_jsxRuntime","e","__esModule","default","ChatBubbleContent","className","children","props","jsx","View","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleContent/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAA+C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG/C;AACA;AACA;AACO,MAAMG,iBAAmD,GAAGA,CAAC;EAClEC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACV,YAAA,CAAAW,IAAI;IACHJ,SAAS,EAAE,IAAAK,qBAAK,EAAC,6BAA6B,EAAEL,SAAS,CAAE;IAAA,GACvDE,KAAK;IAAAD,QAAA,EAERA;EAAQ,CACL,CAAC;AAEX,CAAC;AAACK,OAAA,CAAAP,iBAAA,GAAAA,iBAAA;AAEFA,iBAAiB,CAACQ,WAAW,GAAG,oBAAoB","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleContent/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleEar = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ const ChatBubbleEar = ({
13
+ type = "fill",
14
+ color = "#F2F7F7",
15
+ ...props
16
+ }) => {
17
+ if (type === "outline") {
18
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
19
+ width: 12,
20
+ height: 10,
21
+ viewBox: "0 0 12 10",
22
+ fill: "none",
23
+ ...props,
24
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
25
+ d: "M11.5 0.5V9.5H7.75098C2.95557 9.34303 1.06326 5.41102 0.511719 3.91016C0.476256 3.80748 0.523736 3.72138 0.575195 3.69141L0.576172 3.69043C0.597192 3.67831 0.616459 3.67593 0.632812 3.67773C0.649308 3.67957 0.669032 3.68628 0.688477 3.7041C1.18665 4.17051 2.2435 4.93738 3.79004 4.9375C6.23009 4.9375 8.23446 2.96737 8.47559 0.5H11.5Z",
26
+ fill: color,
27
+ stroke: "#DEE7E7",
28
+ strokeMiterlimit: 10
29
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
30
+ d: "M8 3.15144V9H12V0H9C9 1.47424 8.5 2.46333 8 3.15144Z",
31
+ fill: color
32
+ })]
33
+ });
34
+ }
35
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.default, {
36
+ width: 12,
37
+ height: 10,
38
+ viewBox: "0 0 12 10",
39
+ fill: "none",
40
+ ...props,
41
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
42
+ d: "M12 10V3.55405e-05L8 0C8 2.4436 6.09369 4.43749 3.79039 4.43749C2.41431 4.43749 1.47239 3.75438 1.02718 3.3367C0.832174 3.15714 0.552541 3.12591 0.324419 3.25863C0.0484661 3.41867 -0.0692741 3.76609 0.0411073 4.07837C0.604052 5.61245 2.60563 9.83215 7.73469 10H12Z",
43
+ fill: color
44
+ })
45
+ });
46
+ };
47
+ exports.ChatBubbleEar = ChatBubbleEar;
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ChatBubbleEar","type","color","props","jsxs","width","height","viewBox","fill","children","jsx","Path","d","stroke","strokeMiterlimit","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleEar/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA6C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAE,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yB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AAE;MAAG,CACtB,CAAC,eACF,IAAAlC,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;QACHC,CAAC,EAAC,sDAAsD;QACxDJ,IAAI,EAAEN;MAAM,CACb,CAAC;IAAA,CACC,CAAC;EAEV;EAEA,oBACE,IAAAtB,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAa,OAAG;IAACc,KAAK,EAAE,EAAG;IAACC,MAAM,EAAE,EAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAA,GAAKL,KAAK;IAAAM,QAAA,eACnE,IAAA7B,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,0QAA0Q;MAC5QJ,IAAI,EAAEN;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC;AAACa,OAAA,CAAAf,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleLoading = void 0;
7
+ var _index = require("../../../LoadingDots/index.js");
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+ const ChatBubbleLoading = props => {
10
+ const {
11
+ loadingDotsProps,
12
+ className,
13
+ ...rest
14
+ } = props;
15
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.LoadingDots, {
16
+ lottieViewStyle: {
17
+ width: 32,
18
+ height: 32,
19
+ marginTop: -5,
20
+ marginBottom: -5
21
+ },
22
+ ...loadingDotsProps
23
+ });
24
+ };
25
+ exports.ChatBubbleLoading = ChatBubbleLoading;
26
+ ChatBubbleLoading.displayName = "ChatBubbleLoading";
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_jsxRuntime","ChatBubbleLoading","props","loadingDotsProps","className","rest","jsx","LoadingDots","lottieViewStyle","width","height","marginTop","marginBottom","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleLoading/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAmD,IAAAC,WAAA,GAAAD,OAAA;AAO5C,MAAME,iBAAiB,GAAIC,KAA6B,IAAK;EAClE,MAAM;IAAEC,gBAAgB;IAAEC,SAAS;IAAE,GAAGC;EAAK,CAAC,GAAGH,KAAK;EAEtD,oBACE,IAAAF,WAAA,CAAAM,GAAA,EAACR,MAAA,CAAAS,WAAW;IACVC,eAAe,EAAE;MACfC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,SAAS,EAAE,CAAC,CAAC;MACbC,YAAY,EAAE,CAAC;IACjB,CAAE;IAAA,GACET;EAAgB,CACrB,CAAC;AAEN,CAAC;AAACU,OAAA,CAAAZ,iBAAA,GAAAA,iBAAA;AAEFA,iBAAiB,CAACa,WAAW,GAAG,mBAAmB","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleSeal = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _tailwindPreset = require("@kivid/tailwind-preset");
9
+ var _index = require("../../../Seal/index.js");
10
+ var _context = require("../../context.js");
11
+ var _index2 = require("../../../Seal/enums/index.js");
12
+ var _index3 = require("../../../../enums/index.js");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const ChatBubbleSeal = ({
16
+ className,
17
+ ...props
18
+ }) => {
19
+ const {
20
+ contentType,
21
+ colorState
22
+ } = (0, _context.useChatBubbleContext)();
23
+ if (!contentType || contentType === "custom") {
24
+ return null;
25
+ }
26
+ const sealVariantMap = {
27
+ check: _index2.SealVariantEnum.SUCCESS,
28
+ alert: _index2.SealVariantEnum.ALERT,
29
+ error: _index2.SealVariantEnum.ERROR
30
+ };
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Seal, {
32
+ variant: sealVariantMap[contentType],
33
+ size: _index3.SizeEnum.MEDIUM,
34
+ inverted: colorState === "fill",
35
+ className: (0, _tailwindPreset.merge)("ml-[-6px]", className),
36
+ ...props
37
+ });
38
+ };
39
+ exports.ChatBubbleSeal = ChatBubbleSeal;
40
+ ChatBubbleSeal.displayName = "ChatBubble.Seal";
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_tailwindPreset","_index","_context","_index2","_index3","_jsxRuntime","e","__esModule","default","ChatBubbleSeal","className","props","contentType","colorState","useChatBubbleContext","sealVariantMap","check","SealVariantEnum","SUCCESS","alert","ALERT","error","ERROR","jsx","Seal","variant","size","SizeEnum","MEDIUM","inverted","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleSeal/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAA6C,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtC,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACT,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,WAAW;IAAEC;EAAW,CAAC,GAAG,IAAAC,6BAAoB,EAAC,CAAC;EAE1D,IAAI,CAACF,WAAW,IAAIA,WAAW,KAAK,QAAQ,EAAE;IAC5C,OAAO,IAAI;EACb;EAEA,MAAMG,cAAc,GAAG;IACrBC,KAAK,EAAEC,uBAAe,CAACC,OAAO;IAC9BC,KAAK,EAAEF,uBAAe,CAACG,KAAK;IAC5BC,KAAK,EAAEJ,uBAAe,CAACK;EACzB,CAAC;EAED,oBACE,IAAAjB,WAAA,CAAAkB,GAAA,EAACtB,MAAA,CAAAuB,IAAI;IACHC,OAAO,EAAEV,cAAc,CAACH,WAAW,CAAE;IACrCc,IAAI,EAAEC,gBAAQ,CAACC,MAAO;IACtBC,QAAQ,EAAEhB,UAAU,KAAK,MAAO;IAChCH,SAAS,EAAE,IAAAoB,qBAAK,EAAC,WAAW,EAAEpB,SAAS,CAAE;IAAA,GACrCC;EAAK,CACV,CAAC;AAEN,CAAC;AAACoB,OAAA,CAAAtB,cAAA,GAAAA,cAAA;AAEFA,cAAc,CAACuB,WAAW,GAAG,iBAAiB","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleSeal/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleText = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _tailwindPreset = require("@kivid/tailwind-preset");
9
+ var _index = require("../../../Typography/index.js");
10
+ var _context = require("../../context.js");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ /**
14
+ * Typography component for bubble text content
15
+ */
16
+ const ChatBubbleText = ({
17
+ className,
18
+ children,
19
+ ...props
20
+ }) => {
21
+ const {
22
+ colorState,
23
+ contentType
24
+ } = (0, _context.useChatBubbleContext)();
25
+
26
+ // Text color based on bubble colorState
27
+ const textColorClass = colorState === "fill" && contentType !== "custom" ? "text-chia-200" : "text-chia-800";
28
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
29
+ variant: "body_large",
30
+ weight: "600",
31
+ className: (0, _tailwindPreset.merge)(textColorClass, className),
32
+ ...props,
33
+ children: children
34
+ });
35
+ };
36
+ exports.ChatBubbleText = ChatBubbleText;
37
+ ChatBubbleText.displayName = "ChatBubble.Text";
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_tailwindPreset","_index","_context","_jsxRuntime","e","__esModule","default","ChatBubbleText","className","children","props","colorState","contentType","useChatBubbleContext","textColorClass","jsx","Typography","variant","weight","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleText/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAAqD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGrD;AACA;AACA;AACO,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,UAAU;IAAEC;EAAY,CAAC,GAAG,IAAAC,6BAAoB,EAAC,CAAC;;EAE1D;EACA,MAAMC,cAAc,GAClBH,UAAU,KAAK,MAAM,IAAIC,WAAW,KAAK,QAAQ,GAC7C,eAAe,GACf,eAAe;EAErB,oBACE,IAAAT,WAAA,CAAAY,GAAA,EAACd,MAAA,CAAAe,UAAU;IACTC,OAAO,EAAC,YAAY;IACpBC,MAAM,EAAC,KAAK;IACZV,SAAS,EAAE,IAAAW,qBAAK,EAACL,cAAc,EAAEN,SAAS,CAAE;IAAA,GACxCE,KAAK;IAAAD,QAAA,EAERA;EAAQ,CACC,CAAC;AAEjB,CAAC;AAACW,OAAA,CAAAb,cAAA,GAAAA,cAAA;AAEFA,cAAc,CAACc,WAAW,GAAG,iBAAiB","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleText/types.ts"],"mappings":"","ignoreList":[]}