@kivid/native-components 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (752) hide show
  1. package/README.md +1 -57
  2. package/dist/commonjs/components/Avatar/assets/class-variants.js +9 -8
  3. package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -1
  4. package/dist/commonjs/components/Avatar/index.js +46 -28
  5. package/dist/commonjs/components/Avatar/index.js.map +1 -1
  6. package/dist/commonjs/components/Button/assets/class-variants.js +8 -7
  7. package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
  8. package/dist/commonjs/components/Button/index.js +4 -3
  9. package/dist/commonjs/components/Button/index.js.map +1 -1
  10. package/dist/commonjs/components/ChatBubble/assets/class-variants.js +68 -0
  11. package/dist/commonjs/components/ChatBubble/assets/class-variants.js.map +1 -0
  12. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js +28 -0
  13. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  14. package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  15. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js +48 -0
  16. package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  17. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
  18. package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  19. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
  20. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  21. package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  22. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +38 -0
  23. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  24. package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  25. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js +37 -0
  26. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  27. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
  28. package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  29. package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
  30. package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
  31. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js +17 -0
  32. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
  33. package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/types.js +6 -0
  34. package/dist/{module/components/InputOTP/components/InformationStatus → commonjs/components/ChatBubble/contexts/ChatBubbleContext}/types.js.map +1 -1
  35. package/dist/commonjs/components/ChatBubble/contexts/index.js +17 -0
  36. package/dist/commonjs/components/ChatBubble/contexts/index.js.map +1 -0
  37. package/dist/commonjs/components/ChatBubble/index.js +94 -0
  38. package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
  39. package/dist/commonjs/components/ChatBubble/types.js +6 -0
  40. package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
  41. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
  42. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  43. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  44. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  45. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  46. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  47. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  48. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  49. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  50. package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
  51. package/dist/commonjs/components/CheckboxInput/types.js +6 -0
  52. package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
  53. package/dist/commonjs/components/Chip/enums/index.js +0 -11
  54. package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
  55. package/dist/commonjs/components/Chip/index.js +4 -3
  56. package/dist/commonjs/components/Chip/index.js.map +1 -1
  57. package/dist/commonjs/components/IconButton/assets/class-variants.js +82 -0
  58. package/dist/commonjs/components/IconButton/assets/class-variants.js.map +1 -0
  59. package/dist/commonjs/components/IconButton/assets/design-system-showcase.js +119 -0
  60. package/dist/commonjs/components/IconButton/assets/design-system-showcase.js.map +1 -0
  61. package/dist/commonjs/components/IconButton/enums.js +33 -0
  62. package/dist/commonjs/components/IconButton/enums.js.map +1 -0
  63. package/dist/commonjs/components/IconButton/index.js +108 -0
  64. package/dist/commonjs/components/IconButton/index.js.map +1 -0
  65. package/dist/commonjs/components/IconButton/types.js +6 -0
  66. package/dist/commonjs/components/IconButton/types.js.map +1 -0
  67. package/dist/commonjs/components/InformationStatus/index.js +8 -7
  68. package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
  69. package/dist/commonjs/components/ListButton/assets/class-variants.js +52 -0
  70. package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
  71. package/dist/commonjs/components/ListButton/assets/design-system-showcase.js +424 -0
  72. package/dist/commonjs/components/ListButton/assets/design-system-showcase.js.map +1 -0
  73. package/dist/commonjs/{hooks → components/ListButton/enums}/index.js +4 -4
  74. package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
  75. package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
  76. package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
  77. package/dist/commonjs/components/ListButton/index.js +109 -0
  78. package/dist/commonjs/components/ListButton/index.js.map +1 -0
  79. package/dist/commonjs/components/ListButton/types.js +6 -0
  80. package/dist/commonjs/components/ListButton/types.js.map +1 -0
  81. package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
  82. package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
  83. package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
  84. package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +18 -15
  85. package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  86. package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
  87. package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map +1 -1
  88. package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
  89. package/dist/commonjs/components/OtpInput/enums/index.js +14 -0
  90. package/dist/commonjs/components/OtpInput/enums/index.js.map +1 -0
  91. package/dist/commonjs/components/OtpInput/index.js +106 -0
  92. package/dist/commonjs/components/OtpInput/index.js.map +1 -0
  93. package/dist/commonjs/components/OtpInput/types.js +6 -0
  94. package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
  95. package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
  96. package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
  97. package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
  98. package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
  99. package/dist/commonjs/components/RadioInput/index.js +41 -0
  100. package/dist/commonjs/components/RadioInput/index.js.map +1 -0
  101. package/dist/commonjs/components/RadioInput/types.js +6 -0
  102. package/dist/commonjs/components/RadioInput/types.js.map +1 -0
  103. package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
  104. package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
  105. package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
  106. package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
  107. package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
  108. package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
  109. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
  110. package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
  111. package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
  112. package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
  113. package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
  114. package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
  115. package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
  116. package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
  117. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
  118. package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
  119. package/dist/commonjs/components/Seal/index.js +5 -2
  120. package/dist/commonjs/components/Seal/index.js.map +1 -1
  121. package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
  122. package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
  123. package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
  124. package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
  125. package/dist/commonjs/components/SelectButton/index.js +110 -0
  126. package/dist/commonjs/components/SelectButton/index.js.map +1 -0
  127. package/dist/commonjs/components/SelectButton/types.js +6 -0
  128. package/dist/commonjs/components/SelectButton/types.js.map +1 -0
  129. package/dist/commonjs/components/TextInput/assets/class-variants.js +71 -0
  130. package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
  131. package/dist/commonjs/components/TextInput/enums.js +12 -0
  132. package/dist/commonjs/components/TextInput/enums.js.map +1 -0
  133. package/dist/commonjs/components/TextInput/index.js +124 -0
  134. package/dist/commonjs/components/TextInput/index.js.map +1 -0
  135. package/dist/commonjs/components/TextInput/types.js +6 -0
  136. package/dist/commonjs/components/TextInput/types.js.map +1 -0
  137. package/dist/commonjs/components/Title/components/icon/index.js +2 -1
  138. package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
  139. package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
  140. package/dist/commonjs/components/Title/components/marker/index.js +4 -3
  141. package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
  142. package/dist/commonjs/components/Title/components/marker/types.js +4 -0
  143. package/dist/commonjs/components/Title/index.js +8 -7
  144. package/dist/commonjs/components/Title/index.js.map +1 -1
  145. package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
  146. package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
  147. package/dist/commonjs/components/Toast/enums/index.js +28 -0
  148. package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
  149. package/dist/commonjs/components/Toast/enums/position.js +12 -0
  150. package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
  151. package/dist/commonjs/components/Toast/enums/variant.js +13 -0
  152. package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
  153. package/dist/commonjs/components/Toast/index.js +107 -0
  154. package/dist/commonjs/components/Toast/index.js.map +1 -0
  155. package/dist/commonjs/components/Toast/types.js +6 -0
  156. package/dist/commonjs/components/Toast/types.js.map +1 -0
  157. package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
  158. package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
  159. package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
  160. package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
  161. package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
  162. package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
  163. package/dist/commonjs/components/Tooltip/components/index.js +17 -0
  164. package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
  165. package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
  166. package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
  167. package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
  168. package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
  169. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
  170. package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  171. package/dist/commonjs/components/Tooltip/index.js +82 -0
  172. package/dist/commonjs/components/Tooltip/index.js.map +1 -0
  173. package/dist/commonjs/components/Tooltip/types.js +6 -0
  174. package/dist/commonjs/components/Tooltip/types.js.map +1 -0
  175. package/dist/commonjs/components/Typography/assets/class-variants.js +1 -1
  176. package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -1
  177. package/dist/commonjs/components/index.js +190 -36
  178. package/dist/commonjs/components/index.js.map +1 -1
  179. package/dist/commonjs/enums/corners.js +14 -0
  180. package/dist/commonjs/enums/corners.js.map +1 -0
  181. package/dist/commonjs/enums/index.js +28 -0
  182. package/dist/commonjs/enums/index.js.map +1 -0
  183. package/dist/commonjs/enums/size.js +18 -0
  184. package/dist/commonjs/enums/size.js.map +1 -0
  185. package/dist/commonjs/iconography/Icons/index.js +1 -1
  186. package/dist/commonjs/iconography/Icons/index.js.map +1 -1
  187. package/dist/commonjs/index.js +11 -0
  188. package/dist/commonjs/index.js.map +1 -1
  189. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
  190. package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
  191. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
  192. package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
  193. package/dist/commonjs/storybook-utils/components/index.js +13 -0
  194. package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
  195. package/dist/commonjs/storybook-utils/index.js +17 -0
  196. package/dist/commonjs/storybook-utils/index.js.map +1 -0
  197. package/dist/commonjs/{components/Avatar/enums → styles}/index.js +4 -4
  198. package/dist/commonjs/styles/index.js.map +1 -0
  199. package/dist/commonjs/styles/mixins/index.js +17 -0
  200. package/dist/commonjs/styles/mixins/index.js.map +1 -0
  201. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
  202. package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  203. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
  204. package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  205. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
  206. package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  207. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
  208. package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  209. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
  210. package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  211. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
  212. package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  213. package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
  214. package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
  215. package/dist/module/components/Avatar/assets/class-variants.js +9 -8
  216. package/dist/module/components/Avatar/assets/class-variants.js.map +1 -1
  217. package/dist/module/components/Avatar/index.js +46 -28
  218. package/dist/module/components/Avatar/index.js.map +1 -1
  219. package/dist/module/components/Button/assets/class-variants.js +8 -7
  220. package/dist/module/components/Button/assets/class-variants.js.map +1 -1
  221. package/dist/module/components/Button/index.js +4 -3
  222. package/dist/module/components/Button/index.js.map +1 -1
  223. package/dist/module/components/ChatBubble/assets/class-variants.js +64 -0
  224. package/dist/module/components/ChatBubble/assets/class-variants.js.map +1 -0
  225. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js +22 -0
  226. package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
  227. package/dist/module/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
  228. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js +41 -0
  229. package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
  230. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
  231. package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
  232. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
  233. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
  234. package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
  235. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +33 -0
  236. package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
  237. package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
  238. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js +31 -0
  239. package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
  240. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
  241. package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
  242. package/dist/module/components/ChatBubble/components/index.js +9 -0
  243. package/dist/module/components/ChatBubble/components/index.js.map +1 -0
  244. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js +12 -0
  245. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
  246. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js +4 -0
  247. package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js.map +1 -0
  248. package/dist/module/components/ChatBubble/contexts/index.js +4 -0
  249. package/dist/module/components/{InputOTP/components → ChatBubble/contexts}/index.js.map +1 -1
  250. package/dist/module/components/ChatBubble/index.js +91 -0
  251. package/dist/module/components/ChatBubble/index.js.map +1 -0
  252. package/dist/module/components/ChatBubble/types.js +4 -0
  253. package/dist/module/components/ChatBubble/types.js.map +1 -0
  254. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
  255. package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
  256. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
  257. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
  258. package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
  259. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
  260. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
  261. package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
  262. package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
  263. package/dist/module/components/CheckboxInput/index.js.map +1 -0
  264. package/dist/module/components/CheckboxInput/types.js +4 -0
  265. package/dist/module/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
  266. package/dist/module/components/Chip/enums/index.js +0 -1
  267. package/dist/module/components/Chip/enums/index.js.map +1 -1
  268. package/dist/module/components/Chip/index.js +4 -3
  269. package/dist/module/components/Chip/index.js.map +1 -1
  270. package/dist/module/components/IconButton/assets/class-variants.js +79 -0
  271. package/dist/module/components/IconButton/assets/class-variants.js.map +1 -0
  272. package/dist/module/components/IconButton/assets/design-system-showcase.js +115 -0
  273. package/dist/module/components/IconButton/assets/design-system-showcase.js.map +1 -0
  274. package/dist/module/components/IconButton/enums.js +29 -0
  275. package/dist/module/components/IconButton/enums.js.map +1 -0
  276. package/dist/module/components/IconButton/index.js +103 -0
  277. package/dist/module/components/IconButton/index.js.map +1 -0
  278. package/dist/module/components/IconButton/types.js +4 -0
  279. package/dist/module/components/IconButton/types.js.map +1 -0
  280. package/dist/module/components/InformationStatus/index.js +8 -7
  281. package/dist/module/components/InformationStatus/index.js.map +1 -1
  282. package/dist/module/components/ListButton/assets/class-variants.js +49 -0
  283. package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
  284. package/dist/module/components/ListButton/assets/design-system-showcase.js +420 -0
  285. package/dist/module/components/ListButton/assets/design-system-showcase.js.map +1 -0
  286. package/dist/module/components/ListButton/enums/index.js +4 -0
  287. package/dist/module/components/ListButton/enums/index.js.map +1 -0
  288. package/dist/module/components/ListButton/enums/variant.js +13 -0
  289. package/dist/module/components/ListButton/enums/variant.js.map +1 -0
  290. package/dist/module/components/ListButton/index.js +105 -0
  291. package/dist/module/components/ListButton/index.js.map +1 -0
  292. package/dist/module/components/ListButton/types.js +4 -0
  293. package/dist/module/components/ListButton/types.js.map +1 -0
  294. package/dist/module/components/LoadingDots/index.js.map +1 -1
  295. package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
  296. package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
  297. package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +20 -17
  298. package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
  299. package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
  300. package/dist/module/components/OtpInput/components/InformationStatus/types.js.map +1 -0
  301. package/dist/module/components/OtpInput/components/index.js.map +1 -0
  302. package/dist/module/components/OtpInput/enums/index.js +10 -0
  303. package/dist/module/components/OtpInput/enums/index.js.map +1 -0
  304. package/dist/module/components/OtpInput/index.js +101 -0
  305. package/dist/module/components/OtpInput/index.js.map +1 -0
  306. package/dist/module/components/OtpInput/types.js +4 -0
  307. package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
  308. package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
  309. package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
  310. package/dist/module/components/RadioInput/enums/index.js +13 -0
  311. package/dist/module/components/RadioInput/enums/index.js.map +1 -0
  312. package/dist/module/components/RadioInput/index.js +37 -0
  313. package/dist/module/components/RadioInput/index.js.map +1 -0
  314. package/dist/module/components/RadioInput/types.js +4 -0
  315. package/dist/module/components/RadioInput/types.js.map +1 -0
  316. package/dist/module/components/Seal/assets/class-variants.js +3 -2
  317. package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
  318. package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
  319. package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
  320. package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
  321. package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
  322. package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
  323. package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
  324. package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
  325. package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
  326. package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
  327. package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
  328. package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
  329. package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
  330. package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
  331. package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
  332. package/dist/module/components/Seal/index.js +5 -2
  333. package/dist/module/components/Seal/index.js.map +1 -1
  334. package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
  335. package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
  336. package/dist/module/components/SelectButton/enums/index.js +8 -0
  337. package/dist/module/components/SelectButton/enums/index.js.map +1 -0
  338. package/dist/module/components/SelectButton/index.js +106 -0
  339. package/dist/module/components/SelectButton/index.js.map +1 -0
  340. package/dist/module/components/SelectButton/types.js +4 -0
  341. package/dist/module/components/SelectButton/types.js.map +1 -0
  342. package/dist/module/components/TextInput/assets/class-variants.js +67 -0
  343. package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
  344. package/dist/module/components/TextInput/enums.js +8 -0
  345. package/dist/module/components/TextInput/enums.js.map +1 -0
  346. package/dist/module/components/TextInput/index.js +118 -0
  347. package/dist/module/components/TextInput/index.js.map +1 -0
  348. package/dist/module/components/TextInput/types.js +4 -0
  349. package/dist/module/components/TextInput/types.js.map +1 -0
  350. package/dist/module/components/Title/components/icon/index.js +2 -1
  351. package/dist/module/components/Title/components/icon/index.js.map +1 -1
  352. package/dist/module/components/Title/components/icon/types.js.map +1 -1
  353. package/dist/module/components/Title/components/marker/index.js +4 -3
  354. package/dist/module/components/Title/components/marker/index.js.map +1 -1
  355. package/dist/module/components/Title/components/marker/types.js +2 -0
  356. package/dist/module/components/Title/index.js +8 -7
  357. package/dist/module/components/Title/index.js.map +1 -1
  358. package/dist/module/components/Toast/assets/class-variants.js +29 -0
  359. package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
  360. package/dist/module/components/Toast/enums/index.js +5 -0
  361. package/dist/module/components/Toast/enums/index.js.map +1 -0
  362. package/dist/module/components/Toast/enums/position.js +8 -0
  363. package/dist/module/components/Toast/enums/position.js.map +1 -0
  364. package/dist/module/components/Toast/enums/variant.js +9 -0
  365. package/dist/module/components/Toast/enums/variant.js.map +1 -0
  366. package/dist/module/components/Toast/index.js +102 -0
  367. package/dist/module/components/Toast/index.js.map +1 -0
  368. package/dist/module/components/Toast/types.js +4 -0
  369. package/dist/module/components/Toast/types.js.map +1 -0
  370. package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
  371. package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
  372. package/dist/module/components/Tooltip/components/Content/index.js +78 -0
  373. package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
  374. package/dist/module/components/Tooltip/components/Content/types.js +4 -0
  375. package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
  376. package/dist/module/components/Tooltip/components/index.js +4 -0
  377. package/dist/module/components/Tooltip/components/index.js.map +1 -0
  378. package/dist/module/components/Tooltip/enum/index.js +14 -0
  379. package/dist/module/components/Tooltip/enum/index.js.map +1 -0
  380. package/dist/module/components/Tooltip/hooks/index.js +4 -0
  381. package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
  382. package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
  383. package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
  384. package/dist/module/components/Tooltip/index.js +78 -0
  385. package/dist/module/components/Tooltip/index.js.map +1 -0
  386. package/dist/module/components/Tooltip/types.js +4 -0
  387. package/dist/module/components/Tooltip/types.js.map +1 -0
  388. package/dist/module/components/Typography/assets/class-variants.js +1 -1
  389. package/dist/module/components/Typography/assets/class-variants.js.map +1 -1
  390. package/dist/module/components/index.js +18 -4
  391. package/dist/module/components/index.js.map +1 -1
  392. package/dist/module/enums/corners.js +10 -0
  393. package/dist/module/enums/corners.js.map +1 -0
  394. package/dist/module/enums/index.js +5 -0
  395. package/dist/module/enums/index.js.map +1 -0
  396. package/dist/module/enums/size.js +14 -0
  397. package/dist/module/enums/size.js.map +1 -0
  398. package/dist/module/iconography/Icons/index.js +2 -2
  399. package/dist/module/iconography/Icons/index.js.map +1 -1
  400. package/dist/module/index.js +1 -0
  401. package/dist/module/index.js.map +1 -1
  402. package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
  403. package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
  404. package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
  405. package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
  406. package/dist/module/storybook-utils/components/index.js +14 -0
  407. package/dist/module/storybook-utils/components/index.js.map +1 -0
  408. package/dist/module/storybook-utils/index.js +11 -0
  409. package/dist/module/storybook-utils/index.js.map +1 -0
  410. package/dist/module/styles/index.js +4 -0
  411. package/dist/module/styles/index.js.map +1 -0
  412. package/dist/module/styles/mixins/index.js +4 -0
  413. package/dist/module/styles/mixins/index.js.map +1 -0
  414. package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
  415. package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
  416. package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
  417. package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
  418. package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
  419. package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
  420. package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
  421. package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
  422. package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
  423. package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
  424. package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
  425. package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
  426. package/dist/module/styles/mixins/shadows/index.js +9 -0
  427. package/dist/module/styles/mixins/shadows/index.js.map +1 -0
  428. package/dist/typescript/components/Avatar/assets/class-variants.d.ts +2 -2
  429. package/dist/typescript/components/Avatar/index.d.ts +1 -1
  430. package/dist/typescript/components/Avatar/types.d.ts +3 -2
  431. package/dist/typescript/components/Button/assets/class-variants.d.ts +3 -2
  432. package/dist/typescript/components/Button/index.d.ts +2 -1
  433. package/dist/typescript/components/Button/types.d.ts +3 -2
  434. package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +7 -0
  435. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/index.d.ts +6 -0
  436. package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/types.d.ts +5 -0
  437. package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/index.d.ts +8 -0
  438. package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
  439. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
  440. package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
  441. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
  442. package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
  443. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
  444. package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
  445. package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
  446. package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/index.d.ts +3 -0
  447. package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/types.d.ts +6 -0
  448. package/dist/typescript/components/ChatBubble/contexts/index.d.ts +1 -0
  449. package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
  450. package/dist/typescript/components/ChatBubble/types.d.ts +13 -0
  451. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
  452. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
  453. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
  454. package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
  455. package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
  456. package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
  457. package/dist/typescript/components/Chip/index.d.ts +1 -1
  458. package/dist/typescript/components/Chip/types.d.ts +3 -2
  459. package/dist/typescript/components/HighlightedText/index.d.ts +1 -1
  460. package/dist/typescript/components/IconButton/assets/class-variants.d.ts +8 -0
  461. package/dist/typescript/components/IconButton/assets/design-system-showcase.d.ts +17 -0
  462. package/dist/typescript/components/IconButton/enums.d.ts +22 -0
  463. package/dist/typescript/components/IconButton/index.d.ts +2 -0
  464. package/dist/typescript/components/IconButton/types.d.ts +15 -0
  465. package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +1 -1
  466. package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +1 -1
  467. package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +1 -1
  468. package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +1 -1
  469. package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
  470. package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
  471. package/dist/typescript/components/ListButton/assets/class-variants.d.ts +11 -0
  472. package/dist/typescript/components/ListButton/assets/design-system-showcase.d.ts +14 -0
  473. package/dist/typescript/components/ListButton/enums/index.d.ts +1 -0
  474. package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
  475. package/dist/typescript/components/ListButton/index.d.ts +2 -0
  476. package/dist/typescript/components/ListButton/types.d.ts +18 -0
  477. package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
  478. package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
  479. package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
  480. package/dist/typescript/components/OtpInput/components/InformationStatus/types.d.ts +6 -0
  481. package/dist/typescript/components/OtpInput/enums/index.d.ts +6 -0
  482. package/dist/typescript/components/OtpInput/index.d.ts +3 -0
  483. package/dist/typescript/components/OtpInput/types.d.ts +12 -0
  484. package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
  485. package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
  486. package/dist/typescript/components/RadioInput/index.d.ts +2 -0
  487. package/dist/typescript/components/RadioInput/types.d.ts +8 -0
  488. package/dist/typescript/components/Seal/assets/class-variants.d.ts +2 -1
  489. package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
  490. package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
  491. package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
  492. package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
  493. package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
  494. package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
  495. package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
  496. package/dist/typescript/components/Seal/types.d.ts +3 -1
  497. package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
  498. package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
  499. package/dist/typescript/components/SelectButton/index.d.ts +2 -0
  500. package/dist/typescript/components/SelectButton/types.d.ts +17 -0
  501. package/dist/typescript/components/TextInput/assets/class-variants.d.ts +15 -0
  502. package/dist/typescript/components/TextInput/enums.d.ts +4 -0
  503. package/dist/typescript/components/TextInput/index.d.ts +6 -0
  504. package/dist/typescript/components/TextInput/types.d.ts +18 -0
  505. package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
  506. package/dist/typescript/components/Title/components/icon/types.d.ts +3 -1
  507. package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
  508. package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
  509. package/dist/typescript/components/Title/index.d.ts +1 -1
  510. package/dist/typescript/components/Title/types.d.ts +3 -1
  511. package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
  512. package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
  513. package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
  514. package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
  515. package/dist/typescript/components/Toast/index.d.ts +2 -0
  516. package/dist/typescript/components/Toast/types.d.ts +11 -0
  517. package/dist/typescript/components/Toggle/index.d.ts +1 -1
  518. package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
  519. package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
  520. package/dist/typescript/components/Tooltip/components/Content/types.d.ts +14 -0
  521. package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
  522. package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
  523. package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
  524. package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
  525. package/dist/typescript/components/Tooltip/index.d.ts +2 -0
  526. package/dist/typescript/components/Tooltip/types.d.ts +14 -0
  527. package/dist/typescript/components/index.d.ts +29 -6
  528. package/dist/typescript/{components/Avatar/enums/size.d.ts → enums/corners.d.ts} +1 -2
  529. package/dist/typescript/enums/index.d.ts +2 -0
  530. package/dist/typescript/enums/size.d.ts +10 -0
  531. package/dist/typescript/iconography/Icons/index.d.ts +2 -1
  532. package/dist/typescript/index.d.ts +1 -0
  533. package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
  534. package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
  535. package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
  536. package/dist/typescript/storybook-utils/index.d.ts +7 -0
  537. package/dist/typescript/styles/index.d.ts +1 -0
  538. package/dist/typescript/styles/mixins/index.d.ts +1 -0
  539. package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
  540. package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
  541. package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
  542. package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
  543. package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
  544. package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
  545. package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
  546. package/package.json +38 -60
  547. package/src/components/Avatar/assets/class-variants.ts +9 -8
  548. package/src/components/Avatar/index.tsx +58 -37
  549. package/src/components/Avatar/types.ts +10 -2
  550. package/src/components/Button/assets/class-variants.ts +8 -7
  551. package/src/components/Button/index.tsx +8 -7
  552. package/src/components/Button/types.ts +3 -2
  553. package/src/components/ChatBubble/assets/class-variants.ts +75 -0
  554. package/src/components/ChatBubble/components/ChatBubbleContent/index.tsx +24 -0
  555. package/src/components/ChatBubble/components/ChatBubbleContent/types.ts +6 -0
  556. package/src/components/ChatBubble/components/ChatBubbleEar/index.tsx +40 -0
  557. package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
  558. package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +37 -0
  559. package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
  560. package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +36 -0
  561. package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
  562. package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +34 -0
  563. package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
  564. package/src/components/ChatBubble/components/index.ts +6 -0
  565. package/src/components/ChatBubble/contexts/ChatBubbleContext/index.tsx +17 -0
  566. package/src/components/ChatBubble/contexts/ChatBubbleContext/types.ts +11 -0
  567. package/src/components/ChatBubble/contexts/index.ts +1 -0
  568. package/src/components/ChatBubble/index.tsx +115 -0
  569. package/src/components/ChatBubble/types.ts +15 -0
  570. package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
  571. package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
  572. package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
  573. package/src/components/Chip/enums/index.ts +0 -1
  574. package/src/components/Chip/index.tsx +5 -3
  575. package/src/components/Chip/types.ts +3 -2
  576. package/src/components/IconButton/assets/class-variants.ts +126 -0
  577. package/src/components/IconButton/assets/design-system-showcase.ts +246 -0
  578. package/src/components/IconButton/enums.ts +26 -0
  579. package/src/components/IconButton/index.tsx +124 -0
  580. package/src/components/IconButton/types.ts +22 -0
  581. package/src/components/InformationStatus/index.tsx +14 -7
  582. package/src/components/InformationStatus/types.ts +7 -1
  583. package/src/components/ListButton/assets/class-variants.ts +78 -0
  584. package/src/components/ListButton/assets/design-system-showcase.ts +502 -0
  585. package/src/components/ListButton/enums/index.ts +1 -0
  586. package/src/components/ListButton/enums/variant.ts +9 -0
  587. package/src/components/ListButton/index.tsx +126 -0
  588. package/src/components/ListButton/types.ts +21 -0
  589. package/src/components/LoadingDots/index.tsx +0 -1
  590. package/src/components/OtpInput/assets/class-variant.ts +21 -0
  591. package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +20 -18
  592. package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
  593. package/src/components/{InputOTP → OtpInput}/enums/index.ts +1 -2
  594. package/src/components/OtpInput/index.tsx +116 -0
  595. package/src/components/OtpInput/types.ts +13 -0
  596. package/src/components/RadioInput/assets/class-variants.ts +112 -0
  597. package/src/components/RadioInput/enums/index.ts +9 -0
  598. package/src/components/RadioInput/index.tsx +36 -0
  599. package/src/components/RadioInput/types.ts +9 -0
  600. package/src/components/Seal/assets/class-variants.ts +3 -2
  601. package/src/components/Seal/components/AddIcon/index.tsx +7 -3
  602. package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
  603. package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
  604. package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
  605. package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
  606. package/src/components/Seal/components/RightIcon/index.tsx +7 -3
  607. package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
  608. package/src/components/Seal/index.tsx +4 -1
  609. package/src/components/Seal/types.ts +4 -2
  610. package/src/components/SelectButton/assets/class-variants.ts +28 -0
  611. package/src/components/SelectButton/enums/index.ts +4 -0
  612. package/src/components/SelectButton/index.tsx +133 -0
  613. package/src/components/SelectButton/types.ts +20 -0
  614. package/src/components/TextInput/assets/class-variants.ts +74 -0
  615. package/src/components/TextInput/enums.ts +4 -0
  616. package/src/components/TextInput/index.tsx +145 -0
  617. package/src/components/TextInput/types.ts +24 -0
  618. package/src/components/Title/components/icon/index.tsx +2 -1
  619. package/src/components/Title/components/icon/types.ts +6 -1
  620. package/src/components/Title/components/marker/index.tsx +4 -3
  621. package/src/components/Title/components/marker/types.ts +5 -1
  622. package/src/components/Title/index.tsx +8 -7
  623. package/src/components/Title/types.ts +11 -1
  624. package/src/components/Toast/assets/class-variants.ts +32 -0
  625. package/src/components/Toast/enums/index.ts +2 -0
  626. package/src/components/Toast/enums/position.ts +4 -0
  627. package/src/components/Toast/enums/variant.ts +5 -0
  628. package/src/components/Toast/index.tsx +102 -0
  629. package/src/components/Toast/types.ts +12 -0
  630. package/src/components/Tooltip/assets/class-variant.ts +26 -0
  631. package/src/components/Tooltip/components/Content/index.tsx +93 -0
  632. package/src/components/Tooltip/components/Content/types.ts +15 -0
  633. package/src/components/Tooltip/components/index.ts +1 -0
  634. package/src/components/Tooltip/enum/index.ts +10 -0
  635. package/src/components/Tooltip/hooks/index.ts +1 -0
  636. package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
  637. package/src/components/Tooltip/index.tsx +90 -0
  638. package/src/components/Tooltip/types.ts +15 -0
  639. package/src/components/Typography/assets/class-variants.ts +1 -1
  640. package/src/components/index.ts +37 -6
  641. package/src/{components/Avatar/enums/size.ts → enums/corners.ts} +1 -2
  642. package/src/enums/index.ts +2 -0
  643. package/src/enums/size.ts +10 -0
  644. package/src/iconography/Icons/index.tsx +2 -3
  645. package/src/index.ts +1 -0
  646. package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
  647. package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
  648. package/src/storybook-utils/components/index.ts +12 -0
  649. package/src/storybook-utils/index.ts +8 -0
  650. package/src/styles/index.ts +1 -0
  651. package/src/styles/mixins/index.ts +1 -0
  652. package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
  653. package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
  654. package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
  655. package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
  656. package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
  657. package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
  658. package/src/styles/mixins/shadows/index.ts +6 -0
  659. package/dist/README.md +0 -57
  660. package/dist/commonjs/components/Avatar/enums/index.js.map +0 -1
  661. package/dist/commonjs/components/Avatar/enums/size.js +0 -15
  662. package/dist/commonjs/components/Avatar/enums/size.js.map +0 -1
  663. package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
  664. package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
  665. package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
  666. package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  667. package/dist/commonjs/components/InputOTP/enums/index.js +0 -15
  668. package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
  669. package/dist/commonjs/components/InputOTP/index.js +0 -135
  670. package/dist/commonjs/components/InputOTP/index.js.map +0 -1
  671. package/dist/commonjs/hooks/index.js.map +0 -1
  672. package/dist/commonjs/hooks/use-fonts.js +0 -39
  673. package/dist/commonjs/hooks/use-fonts.js.map +0 -1
  674. package/dist/module/components/Avatar/enums/index.js +0 -4
  675. package/dist/module/components/Avatar/enums/index.js.map +0 -1
  676. package/dist/module/components/Avatar/enums/size.js +0 -11
  677. package/dist/module/components/Avatar/enums/size.js.map +0 -1
  678. package/dist/module/components/Chip/enums/chip-size.js +0 -8
  679. package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
  680. package/dist/module/components/InputCheckbox/index.js.map +0 -1
  681. package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
  682. package/dist/module/components/InputOTP/enums/index.js +0 -11
  683. package/dist/module/components/InputOTP/enums/index.js.map +0 -1
  684. package/dist/module/components/InputOTP/index.js +0 -130
  685. package/dist/module/components/InputOTP/index.js.map +0 -1
  686. package/dist/module/hooks/index.js +0 -4
  687. package/dist/module/hooks/index.js.map +0 -1
  688. package/dist/module/hooks/use-fonts.js +0 -35
  689. package/dist/module/hooks/use-fonts.js.map +0 -1
  690. package/dist/package.json +0 -56
  691. package/dist/typescript/components/Avatar/enums/index.d.ts +0 -1
  692. package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
  693. package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
  694. package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +0 -6
  695. package/dist/typescript/components/InputOTP/enums/index.d.ts +0 -7
  696. package/dist/typescript/components/InputOTP/index.d.ts +0 -3
  697. package/dist/typescript/components/InputOTP/types.d.ts +0 -11
  698. package/dist/typescript/hooks/index.d.ts +0 -1
  699. package/dist/typescript/hooks/use-fonts.d.ts +0 -10
  700. package/index.js +0 -6
  701. package/src/components/Avatar/enums/index.ts +0 -1
  702. package/src/components/Avatar/index.stories.tsx +0 -84
  703. package/src/components/Button/index.stories.tsx +0 -407
  704. package/src/components/Chip/enums/chip-size.ts +0 -4
  705. package/src/components/Chip/index.stories.tsx +0 -95
  706. package/src/components/HighlightedText/index.stories.tsx +0 -209
  707. package/src/components/InformationStatus/index.stories.tsx +0 -112
  708. package/src/components/InputCheckbox/index.stories.tsx +0 -133
  709. package/src/components/InputOTP/components/InformationStatus/types.ts +0 -6
  710. package/src/components/InputOTP/index.stories.tsx +0 -256
  711. package/src/components/InputOTP/index.tsx +0 -177
  712. package/src/components/InputOTP/types.ts +0 -12
  713. package/src/components/LoadingDots/index.stories.tsx +0 -74
  714. package/src/components/Seal/index.stories.tsx +0 -124
  715. package/src/components/Title/index.stories.tsx +0 -729
  716. package/src/components/Toggle/index.stories.tsx +0 -88
  717. package/src/components/Typography/index.stories.tsx +0 -218
  718. package/src/hooks/index.ts +0 -1
  719. package/src/hooks/use-fonts.ts +0 -30
  720. package/src/iconography/Icons/index.stories.tsx +0 -23
  721. /package/dist/commonjs/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  722. /package/dist/commonjs/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
  723. /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
  724. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  725. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  726. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  727. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  728. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  729. /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  730. /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
  731. /package/dist/module/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
  732. /package/dist/module/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
  733. /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
  734. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
  735. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
  736. /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
  737. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
  738. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
  739. /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
  740. /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
  741. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
  742. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
  743. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
  744. /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
  745. /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
  746. /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
  747. /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
  748. /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
  749. /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
  750. /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
  751. /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
  752. /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
@@ -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 _index2 = require("../../contexts/index.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, _index2.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","_index2","_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;AAGA,IAAAG,OAAA,GAAAH,OAAA;AAAsD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtD;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,4BAAoB,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 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleText/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubbleTime = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _tailwindPreset = require("@kivid/tailwind-preset");
10
+ var _index = require("../../../Typography/index.js");
11
+ var _classVariants = require("../../assets/class-variants.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ /**
15
+ * Time component for displaying message timestamp
16
+ */
17
+ const ChatBubbleTime = ({
18
+ className,
19
+ children,
20
+ ...props
21
+ }) => {
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
23
+ className: (0, _classVariants.chatBubbleTimeVariants)(),
24
+ accessibilityLabel: `Message time: ${children}`,
25
+ accessibilityRole: "text",
26
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
27
+ variant: "label_small",
28
+ weight: "600",
29
+ className: (0, _tailwindPreset.merge)("text-chia-600", className),
30
+ ...props,
31
+ children: children
32
+ })
33
+ });
34
+ };
35
+ exports.ChatBubbleTime = ChatBubbleTime;
36
+ ChatBubbleTime.displayName = "ChatBubble.Time";
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_classVariants","_jsxRuntime","e","__esModule","default","ChatBubbleTime","className","children","props","jsx","View","chatBubbleTimeVariants","accessibilityLabel","accessibilityRole","Typography","variant","weight","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleTime/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;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAAqE,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGrE;AACA;AACA;AACO,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACZ,YAAA,CAAAa,IAAI;IACHJ,SAAS,EAAE,IAAAK,qCAAsB,EAAC,CAAE;IACpCC,kBAAkB,EAAE,iBAAiBL,QAAQ,EAAG;IAChDM,iBAAiB,EAAC,MAAM;IAAAN,QAAA,eAExB,IAAAN,WAAA,CAAAQ,GAAA,EAACV,MAAA,CAAAe,UAAU;MACTC,OAAO,EAAC,aAAa;MACrBC,MAAM,EAAC,KAAK;MACZV,SAAS,EAAE,IAAAW,qBAAK,EAAC,eAAe,EAAEX,SAAS,CAAE;MAAA,GACzCE,KAAK;MAAAD,QAAA,EAERA;IAAQ,CACC;EAAC,CACT,CAAC;AAEX,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/ChatBubbleTime/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ChatBubbleContent", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _index2.ChatBubbleContent;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "ChatBubbleEar", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _index.ChatBubbleEar;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "ChatBubbleLoading", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _index6.ChatBubbleLoading;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "ChatBubbleSeal", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _index3.ChatBubbleSeal;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "ChatBubbleText", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _index4.ChatBubbleText;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "ChatBubbleTime", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _index5.ChatBubbleTime;
40
+ }
41
+ });
42
+ var _index = require("./ChatBubbleEar/index.js");
43
+ var _index2 = require("./ChatBubbleContent/index.js");
44
+ var _index3 = require("./ChatBubbleSeal/index.js");
45
+ var _index4 = require("./ChatBubbleText/index.js");
46
+ var _index5 = require("./ChatBubbleTime/index.js");
47
+ var _index6 = require("./ChatBubbleLoading/index.js");
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_index2","_index3","_index4","_index5","_index6"],"sourceRoot":"../../../../../src","sources":["components/ChatBubble/components/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useChatBubbleContext = exports.ChatBubbleContext = void 0;
7
+ var _react = require("react");
8
+ const ChatBubbleContext = exports.ChatBubbleContext = /*#__PURE__*/(0, _react.createContext)(null);
9
+ const useChatBubbleContext = () => {
10
+ const context = (0, _react.useContext)(ChatBubbleContext);
11
+ if (!context) {
12
+ throw new Error("ChatBubble compound components must be used within a ChatBubble");
13
+ }
14
+ return context;
15
+ };
16
+ exports.useChatBubbleContext = useChatBubbleContext;
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","ChatBubbleContext","exports","createContext","useChatBubbleContext","context","useContext","Error"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/contexts/ChatBubbleContext/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIO,MAAMC,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,gBAAG,IAAAE,oBAAa,EAC5C,IACF,CAAC;AAEM,MAAMC,oBAAoB,GAAGA,CAAA,KAAM;EACxC,MAAMC,OAAO,GAAG,IAAAC,iBAAU,EAACL,iBAAiB,CAAC;EAC7C,IAAI,CAACI,OAAO,EAAE;IACZ,MAAM,IAAIE,KAAK,CACb,iEACF,CAAC;EACH;EACA,OAAOF,OAAO;AAChB,CAAC;AAACH,OAAA,CAAAE,oBAAA,GAAAA,oBAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/InputOTP/components/InformationStatus/types.ts"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/contexts/ChatBubbleContext/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("./ChatBubbleContext/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/ChatBubble/contexts/index.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChatBubble = ChatBubble;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("./components/index.js");
9
+ var _classVariants = require("./assets/class-variants.js");
10
+ var _index2 = require("../../styles/mixins/shadows/index.js");
11
+ var _tailwindPreset = require("@kivid/tailwind-preset");
12
+ var _index3 = require("./contexts/index.js");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function ChatBubble(props) {
15
+ const {
16
+ contentType = "custom",
17
+ colorState = "outline",
18
+ hasEar = false,
19
+ className,
20
+ children,
21
+ time: timeFromProps,
22
+ messageType = "initial",
23
+ ...restOfProps
24
+ } = props;
25
+ const [hours, minutes] = new Date().toLocaleTimeString().split(":");
26
+ const time = timeFromProps ? timeFromProps : `${hours}:${minutes}`;
27
+ const colorMap = {
28
+ check: "#3DCC78",
29
+ alert: "#FF8B59",
30
+ error: "#E65245",
31
+ custom: "#FAFCFC"
32
+ };
33
+ const tailColor = colorState === "outline" ? "#FAFCFC" : colorMap[contentType];
34
+ const contextInitialValue = {
35
+ contentType,
36
+ colorState,
37
+ messageType
38
+ };
39
+ const accessibilityLabelMap = {
40
+ check: "Success message",
41
+ alert: "Warning message",
42
+ error: "Error message",
43
+ custom: "Custom message"
44
+ };
45
+ function renderChatBubbleEar() {
46
+ if (hasEar) {
47
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleEar, {
48
+ color: tailColor,
49
+ type: colorState
50
+ });
51
+ }
52
+ return null;
53
+ }
54
+ const bubbleWithEarOffset = hasEar ? "mr-[8.8px]" : "";
55
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.ChatBubbleContext.Provider, {
56
+ value: contextInitialValue,
57
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
58
+ accessibilityRole: "text",
59
+ accessibilityLabel: accessibilityLabelMap[contentType],
60
+ accessible: true,
61
+ className: (0, _tailwindPreset.merge)("flex", className),
62
+ ...restOfProps,
63
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
64
+ className: `relative flex-row items-end ${bubbleWithEarOffset}`,
65
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
66
+ className: "w-[11px] h-[9px] mr-[-3.2px] pb-[1.2px] z-10 items-center justify-center",
67
+ accessibilityElementsHidden: true,
68
+ importantForAccessibility: "no-hide-descendants",
69
+ children: renderChatBubbleEar()
70
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
71
+ className: (0, _tailwindPreset.merge)((0, _classVariants.chatBubbleBoxVariants)({
72
+ contentType,
73
+ colorState,
74
+ hasEar,
75
+ messageType
76
+ })),
77
+ style: {
78
+ boxShadow: _index2.elevationDown100
79
+ },
80
+ accessibilityRole: "text",
81
+ children: children
82
+ })]
83
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleTime, {
84
+ children: time
85
+ })]
86
+ })
87
+ });
88
+ }
89
+ ChatBubble.Content = _index.ChatBubbleContent;
90
+ ChatBubble.Seal = _index.ChatBubbleSeal;
91
+ ChatBubble.Text = _index.ChatBubbleText;
92
+ ChatBubble.Loading = _index.ChatBubbleLoading;
93
+ ChatBubble.displayName = "ChatBubble";
94
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_classVariants","_index2","_tailwindPreset","_index3","_jsxRuntime","ChatBubble","props","contentType","colorState","hasEar","className","children","time","timeFromProps","messageType","restOfProps","hours","minutes","Date","toLocaleTimeString","split","colorMap","check","alert","error","custom","tailColor","contextInitialValue","accessibilityLabelMap","renderChatBubbleEar","jsx","ChatBubbleEar","color","type","bubbleWithEarOffset","ChatBubbleContext","Provider","value","jsxs","View","accessibilityRole","accessibilityLabel","accessible","merge","accessibilityElementsHidden","importantForAccessibility","chatBubbleBoxVariants","style","boxShadow","elevationDown100","ChatBubbleTime","Content","ChatBubbleContent","Seal","ChatBubbleSeal","Text","ChatBubbleText","Loading","ChatBubbleLoading","displayName"],"sourceRoot":"../../../../src","sources":["components/ChatBubble/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AASA,IAAAE,cAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAA+C,IAAAM,WAAA,GAAAN,OAAA;AAIxC,SAASO,UAAUA,CAACC,KAAsB,EAAE;EACjD,MAAM;IACJC,WAAW,GAAG,QAAQ;IACtBC,UAAU,GAAG,SAAS;IACtBC,MAAM,GAAG,KAAK;IACdC,SAAS;IACTC,QAAQ;IACRC,IAAI,EAAEC,aAAa;IACnBC,WAAW,GAAG,SAAS;IACvB,GAAGC;EACL,CAAC,GAAGT,KAAK;EAET,MAAM,CAACU,KAAK,EAAEC,OAAO,CAAC,GAAG,IAAIC,IAAI,CAAC,CAAC,CAACC,kBAAkB,CAAC,CAAC,CAACC,KAAK,CAAC,GAAG,CAAC;EACnE,MAAMR,IAAI,GAAGC,aAAa,GAAGA,aAAa,GAAG,GAAGG,KAAK,IAAIC,OAAO,EAAE;EAElE,MAAMI,QAAQ,GAAG;IACfC,KAAK,EAAE,SAAS;IAChBC,KAAK,EAAE,SAAS;IAChBC,KAAK,EAAE,SAAS;IAChBC,MAAM,EAAE;EACV,CAAC;EAED,MAAMC,SAAS,GACblB,UAAU,KAAK,SAAS,GAAG,SAAS,GAAGa,QAAQ,CAACd,WAAW,CAAC;EAE9D,MAAMoB,mBAA2C,GAAG;IAClDpB,WAAW;IACXC,UAAU;IACVM;EACF,CAAC;EAED,MAAMc,qBAAqB,GAAG;IAC5BN,KAAK,EAAE,iBAAiB;IACxBC,KAAK,EAAE,iBAAiB;IACxBC,KAAK,EAAE,eAAe;IACtBC,MAAM,EAAE;EACV,CAAC;EAED,SAASI,mBAAmBA,CAAA,EAAG;IAC7B,IAAIpB,MAAM,EAAE;MACV,oBAAO,IAAAL,WAAA,CAAA0B,GAAA,EAAC/B,MAAA,CAAAgC,aAAa;QAACC,KAAK,EAAEN,SAAU;QAACO,IAAI,EAAEzB;MAAW,CAAE,CAAC;IAC9D;IAEA,OAAO,IAAI;EACb;EAEA,MAAM0B,mBAAmB,GAAGzB,MAAM,GAAG,YAAY,GAAG,EAAE;EAEtD,oBACE,IAAAL,WAAA,CAAA0B,GAAA,EAAC3B,OAAA,CAAAgC,iBAAiB,CAACC,QAAQ;IAACC,KAAK,EAAEV,mBAAoB;IAAAhB,QAAA,eACrD,IAAAP,WAAA,CAAAkC,IAAA,EAACzC,YAAA,CAAA0C,IAAI;MACHC,iBAAiB,EAAC,MAAM;MACxBC,kBAAkB,EAAEb,qBAAqB,CAACrB,WAAW,CAAE;MACvDmC,UAAU,EAAE,IAAK;MACjBhC,SAAS,EAAE,IAAAiC,qBAAK,EAAC,MAAM,EAAEjC,SAAS,CAAE;MAAA,GAChCK,WAAW;MAAAJ,QAAA,gBAEf,IAAAP,WAAA,CAAAkC,IAAA,EAACzC,YAAA,CAAA0C,IAAI;QAAC7B,SAAS,EAAE,+BAA+BwB,mBAAmB,EAAG;QAAAvB,QAAA,gBACpE,IAAAP,WAAA,CAAA0B,GAAA,EAACjC,YAAA,CAAA0C,IAAI;UACH7B,SAAS,EACP,0EACD;UACDkC,2BAA2B,EAAE,IAAK;UAClCC,yBAAyB,EAAC,qBAAqB;UAAAlC,QAAA,EAE9CkB,mBAAmB,CAAC;QAAC,CAClB,CAAC,eAEP,IAAAzB,WAAA,CAAA0B,GAAA,EAACjC,YAAA,CAAA0C,IAAI;UACH7B,SAAS,EAAE,IAAAiC,qBAAK,EACd,IAAAG,oCAAqB,EAAC;YACpBvC,WAAW;YACXC,UAAU;YACVC,MAAM;YACNK;UACF,CAAC,CACH,CAAE;UACFiC,KAAK,EAAE;YACLC,SAAS,EAAEC;UACb,CAAE;UACFT,iBAAiB,EAAC,MAAM;UAAA7B,QAAA,EAEvBA;QAAQ,CACL,CAAC;MAAA,CACH,CAAC,eACP,IAAAP,WAAA,CAAA0B,GAAA,EAAC/B,MAAA,CAAAmD,cAAc;QAAAvC,QAAA,EAAEC;MAAI,CAAiB,CAAC;IAAA,CACnC;EAAC,CACmB,CAAC;AAEjC;AAEAP,UAAU,CAAC8C,OAAO,GAAGC,wBAAiB;AACtC/C,UAAU,CAACgD,IAAI,GAAGC,qBAAc;AAChCjD,UAAU,CAACkD,IAAI,GAAGC,qBAAc;AAChCnD,UAAU,CAACoD,OAAO,GAAGC,wBAAiB;AAEtCrD,UAAU,CAACsD,WAAW,GAAG,YAAY","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/types.ts"],"mappings":"","ignoreList":[]}
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.inputCheckboxVariants = void 0;
6
+ exports.checkboxInputVariants = void 0;
7
7
  var _classVarianceAuthority = require("class-variance-authority");
8
8
  var _index = require("../enums/index.js");
9
- const inputCheckboxVariants = exports.inputCheckboxVariants = (0, _classVarianceAuthority.cva)("flex items-center justify-center w-[20px] h-[20px] rounded-500 border transition-all duration-200", {
9
+ const checkboxInputVariants = exports.checkboxInputVariants = (0, _classVarianceAuthority.cva)("flex items-center justify-center w-[20px] h-[20px] rounded-500 border transition-all duration-200", {
10
10
  variants: {
11
11
  variant: {
12
12
  [_index.CheckboxVariantEnum.GRAPE]: ["bg-chia-200 border-chia-400", "disabled:bg-grape-300 disabled:border-grape-300"],
@@ -1 +1 @@
1
- {"version":3,"names":["_classVarianceAuthority","require","_index","inputCheckboxVariants","exports","cva","variants","variant","CheckboxVariantEnum","GRAPE","JAVA","PEAR","TANGERINE","CHIA","PITAYA","MANGO","isChecked","true","false","disabled","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,mGAAmG,EACnG;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACC,0BAAmB,CAACC,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD,CAClD;MACD,CAACD,0BAAmB,CAACE,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACF,0BAAmB,CAACG,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACH,0BAAmB,CAACI,SAAS,GAAG,CAC/B,6BAA6B,EAC7B,yDAAyD,CAC1D;MACD,CAACJ,0BAAmB,CAACK,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACL,0BAAmB,CAACM,MAAM,GAAG,CAC5B,6BAA6B,EAC7B,mDAAmD,CACpD;MACD,CAACN,0BAAmB,CAACO,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD;IAErD,CAAC;IACDC,SAAS,EAAE;MACTC,IAAI,EAAE,IAAI;MACVC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRF,IAAI,EAAE,+BAA+B;MACrCC,KAAK,EAAE;IACT;EACF,CAAC;EACDE,gBAAgB,EAAE,CAChB;IACEb,OAAO,EAAEC,0BAAmB,CAACC,KAAK;IAClCO,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACG,IAAI;IACjCK,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACI,SAAS;IACtCI,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACK,IAAI;IACjCG,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACM,MAAM;IACnCE,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACO,KAAK;IAClCC,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,CACF;EACDC,eAAe,EAAE;IACff,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,KAAK;IAChBG,QAAQ,EAAE;EACZ;AACF,CACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_classVarianceAuthority","require","_index","checkboxInputVariants","exports","cva","variants","variant","CheckboxVariantEnum","GRAPE","JAVA","PEAR","TANGERINE","CHIA","PITAYA","MANGO","isChecked","true","false","disabled","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,mGAAmG,EACnG;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACC,0BAAmB,CAACC,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD,CAClD;MACD,CAACD,0BAAmB,CAACE,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACF,0BAAmB,CAACG,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACH,0BAAmB,CAACI,SAAS,GAAG,CAC/B,6BAA6B,EAC7B,yDAAyD,CAC1D;MACD,CAACJ,0BAAmB,CAACK,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACL,0BAAmB,CAACM,MAAM,GAAG,CAC5B,6BAA6B,EAC7B,mDAAmD,CACpD;MACD,CAACN,0BAAmB,CAACO,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD;IAErD,CAAC;IACDC,SAAS,EAAE;MACTC,IAAI,EAAE,IAAI;MACVC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRF,IAAI,EAAE,+BAA+B;MACrCC,KAAK,EAAE;IACT;EACF,CAAC;EACDE,gBAAgB,EAAE,CAChB;IACEb,OAAO,EAAEC,0BAAmB,CAACC,KAAK;IAClCO,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACG,IAAI;IACjCK,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACI,SAAS;IACtCI,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACK,IAAI;IACjCG,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACM,MAAM;IACnCE,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACO,KAAK;IAClCC,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,CACF;EACDC,eAAe,EAAE;IACff,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,KAAK;IAChBG,QAAQ,EAAE;EACZ;AACF,CACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CheckboxVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/enums/checkbox-variant.ts"],"mappings":";;;;;;IAAYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["CheckboxVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/checkbox-variant.ts"],"mappings":";;;;;;IAAYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_checkboxVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_selectVariant"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,cAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["_checkboxVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_selectVariant"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,cAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["SelectVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/enums/select-variant.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["SelectVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/select-variant.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CheckIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/InputCheckbox/icons/CheckIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,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,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,SAAS,GAAIC,KAAe,IAAK;EAC5C,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,UAAU;IAClBC,KAAK,EAAE,EAAG;IACVC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA4O,CAC/O;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,SAAA,GAAAA,SAAA;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CheckIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/CheckboxInput/icons/CheckIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,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,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,SAAS,GAAIC,KAAe,IAAK;EAC5C,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,UAAU;IAClBC,KAAK,EAAE,EAAG;IACVC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA4O,CAC/O;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,SAAA,GAAAA,SAAA;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","IndeterminateIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/InputCheckbox/icons/IndeterminateIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,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,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,iBAAiB,GAAIC,KAAe,IAAK;EACpD,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,SAAS;IACjBC,KAAK,EAAE,CAAE;IACTC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA8U,CACjV;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,iBAAA,GAAAA,iBAAA;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","IndeterminateIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/CheckboxInput/icons/IndeterminateIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,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,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,iBAAiB,GAAIC,KAAe,IAAK;EACpD,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,SAAS;IACjBC,KAAK,EAAE,CAAE;IACTC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA8U,CACjV;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,iBAAA,GAAAA,iBAAA;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_index","require","_index2"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/icons/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_index","require","_index2"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/icons/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA","ignoreList":[]}
@@ -3,22 +3,23 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.InputCheckbox = InputCheckbox;
6
+ exports.CheckboxInput = CheckboxInput;
7
7
  var _index = require("./enums/index.js");
8
8
  var _classVariants = require("./assets/class-variants.js");
9
9
  var _reactNative = require("react-native");
10
10
  var _index2 = require("./icons/index.js");
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
- function InputCheckbox(props) {
12
+ function CheckboxInput(props) {
13
13
  const {
14
14
  isChecked = false,
15
15
  selectType = _index.SelectVariantEnum.SELECTED,
16
16
  variant = _index.CheckboxVariantEnum.JAVA,
17
17
  onChange,
18
- disabled = false
18
+ disabled = false,
19
+ className
19
20
  } = props;
20
21
  function handleChange() {
21
- onChange(!isChecked);
22
+ onChange?.(!isChecked);
22
23
  }
23
24
  function renderIcon() {
24
25
  if (!isChecked) {
@@ -39,8 +40,9 @@ function InputCheckbox(props) {
39
40
  accessibilityState: {
40
41
  checked: isChecked
41
42
  },
43
+ className: className,
42
44
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
43
- className: (0, _classVariants.inputCheckboxVariants)({
45
+ className: (0, _classVariants.checkboxInputVariants)({
44
46
  variant,
45
47
  disabled,
46
48
  isChecked
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_classVariants","_reactNative","_index2","_jsxRuntime","CheckboxInput","props","isChecked","selectType","SelectVariantEnum","SELECTED","variant","CheckboxVariantEnum","JAVA","onChange","disabled","className","handleChange","renderIcon","INDETERMINATE","jsx","CheckIcon","IndeterminateIcon","View","children","TouchableOpacity","onPress","accessible","accessibilityRole","accessibilityState","checked","checkboxInputVariants"],"sourceRoot":"../../../../src","sources":["components/CheckboxInput/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAuD,IAAAI,WAAA,GAAAJ,OAAA;AAEhD,SAASK,aAAaA,CAACC,KAAyB,EAAE;EACvD,MAAM;IACJC,SAAS,GAAG,KAAK;IACjBC,UAAU,GAAGC,wBAAiB,CAACC,QAAQ;IACvCC,OAAO,GAAGC,0BAAmB,CAACC,IAAI;IAClCC,QAAQ;IACRC,QAAQ,GAAG,KAAK;IAChBC;EACF,CAAC,GAAGV,KAAK;EAET,SAASW,YAAYA,CAAA,EAAG;IACtBH,QAAQ,GAAG,CAACP,SAAS,CAAC;EACxB;EAEA,SAASW,UAAUA,CAAA,EAAG;IACpB,IAAI,CAACX,SAAS,EAAE;MACd,OAAO,IAAI;IACb;IAEA,IAAIC,UAAU,KAAKC,wBAAiB,CAACU,aAAa,EAAE;MAClD,oBAAO,IAAAf,WAAA,CAAAgB,GAAA,EAACjB,OAAA,CAAAkB,SAAS,IAAE,CAAC;IACtB;IAEA,oBAAO,IAAAjB,WAAA,CAAAgB,GAAA,EAACjB,OAAA,CAAAmB,iBAAiB,IAAE,CAAC;EAC9B;EAEA,oBACE,IAAAlB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAqB,IAAI;IAACP,SAAS,EAAC,4CAA4C;IAAAQ,QAAA,eAC1D,IAAApB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAuB,gBAAgB;MACfC,OAAO,EAAET,YAAa;MACtBF,QAAQ,EAAEA,QAAS;MACnBY,UAAU;MACVC,iBAAiB,EAAC,UAAU;MAC5BC,kBAAkB,EAAE;QAAEC,OAAO,EAAEvB;MAAU,CAAE;MAC3CS,SAAS,EAAEA,SAAU;MAAAQ,QAAA,eAErB,IAAApB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAqB,IAAI;QACHP,SAAS,EAAE,IAAAe,oCAAqB,EAAC;UAC/BpB,OAAO;UACPI,QAAQ;UACRR;QACF,CAAC,CAAE;QAAAiB,QAAA,EAEFN,UAAU,CAAC;MAAC,CACT;IAAC,CACS;EAAC,CACf,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/InputCheckbox/types.ts"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/CheckboxInput/types.ts"],"mappings":"","ignoreList":[]}
@@ -14,15 +14,4 @@ Object.keys(_chipVariant).forEach(function (key) {
14
14
  }
15
15
  });
16
16
  });
17
- var _chipSize = require("./chip-size.js");
18
- Object.keys(_chipSize).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _chipSize[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _chipSize[key];
25
- }
26
- });
27
- });
28
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_chipVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_chipSize"],"sourceRoot":"../../../../../src","sources":["components/Chip/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,SAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,SAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,SAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,SAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["_chipVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/Chip/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -10,16 +10,17 @@ var _index = require("../Seal/index.js");
10
10
  var _reactNative = require("react-native");
11
11
  var _index2 = require("../Seal/enums/index.js");
12
12
  var _index3 = require("../Typography/index.js");
13
+ var _index4 = require("../../enums/index.js");
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  function Chip(props) {
15
16
  const {
16
17
  label,
17
18
  className,
18
19
  sealVariant = _index2.SealVariantEnum.ADD,
19
- size = "medium",
20
+ size = _index4.SizeEnum.MEDIUM,
20
21
  variant = "outline"
21
22
  } = props;
22
- const typographyVariant = size === "medium" ? "label_small" : "label_medium";
23
+ const typographyVariant = size === _index4.SizeEnum.MEDIUM ? "label_small" : "label_medium";
23
24
  const textColorClass = variant === "filled" ? "text-chia-200" : "text-chia-900";
24
25
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
25
26
  className: (0, _tailwindPreset.merge)((0, _classVariants.chipVariants)({
@@ -30,7 +31,7 @@ function Chip(props) {
30
31
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Seal, {
31
32
  variant: sealVariant,
32
33
  inverted: variant === "filled",
33
- size: "small"
34
+ size: _index4.SizeEnum.SMALL
34
35
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Typography, {
35
36
  variant: typographyVariant,
36
37
  weight: "700",
@@ -1 +1 @@
1
- {"version":3,"names":["_tailwindPreset","require","_classVariants","_index","_reactNative","_index2","_index3","_jsxRuntime","Chip","props","label","className","sealVariant","SealVariantEnum","ADD","size","variant","typographyVariant","textColorClass","jsxs","View","merge","chipVariants","children","jsx","Seal","inverted","Typography","weight"],"sourceRoot":"../../../../src","sources":["components/Chip/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAA2C,IAAAM,WAAA,GAAAN,OAAA;AAEpC,SAASO,IAAIA,CAACC,KAAgB,EAAE;EACrC,MAAM;IACJC,KAAK;IACLC,SAAS;IACTC,WAAW,GAAGC,uBAAe,CAACC,GAAG;IACjCC,IAAI,GAAG,QAAQ;IACfC,OAAO,GAAG;EACZ,CAAC,GAAGP,KAAK;EAET,MAAMQ,iBAAiB,GAAGF,IAAI,KAAK,QAAQ,GAAG,aAAa,GAAG,cAAc;EAE5E,MAAMG,cAAc,GAClBF,OAAO,KAAK,QAAQ,GAAG,eAAe,GAAG,eAAe;EAE1D,oBACE,IAAAT,WAAA,CAAAY,IAAA,EAACf,YAAA,CAAAgB,IAAI;IACHT,SAAS,EAAE,IAAAU,qBAAK,EAAC,IAAAC,2BAAY,EAAC;MAAEP,IAAI;MAAEC,OAAO;MAAEJ;IAAY,CAAC,CAAC,EAAED,SAAS,CAAE;IAAAY,QAAA,gBAE1E,IAAAhB,WAAA,CAAAiB,GAAA,EAACrB,MAAA,CAAAsB,IAAI;MACHT,OAAO,EAAEJ,WAAY;MACrBc,QAAQ,EAAEV,OAAO,KAAK,QAAS;MAC/BD,IAAI,EAAC;IAAO,CACb,CAAC,eACF,IAAAR,WAAA,CAAAiB,GAAA,EAAClB,OAAA,CAAAqB,UAAU;MACTX,OAAO,EAAEC,iBAAkB;MAC3BW,MAAM,EAAC,KAAK;MACZjB,SAAS,EAAE,IAAAU,qBAAK,EAAC,SAAS,EAAEH,cAAc,CAAE;MAAAK,QAAA,EAE3Cb;IAAK,CACI,CAAC;EAAA,CACT,CAAC;AAEX","ignoreList":[]}
1
+ {"version":3,"names":["_tailwindPreset","require","_classVariants","_index","_reactNative","_index2","_index3","_index4","_jsxRuntime","Chip","props","label","className","sealVariant","SealVariantEnum","ADD","size","SizeEnum","MEDIUM","variant","typographyVariant","textColorClass","jsxs","View","merge","chipVariants","children","jsx","Seal","inverted","SMALL","Typography","weight"],"sourceRoot":"../../../../src","sources":["components/Chip/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAAuC,IAAAO,WAAA,GAAAP,OAAA;AAEhC,SAASQ,IAAIA,CAACC,KAAgB,EAAE;EACrC,MAAM;IACJC,KAAK;IACLC,SAAS;IACTC,WAAW,GAAGC,uBAAe,CAACC,GAAG;IACjCC,IAAI,GAAGC,gBAAQ,CAACC,MAAM;IACtBC,OAAO,GAAG;EACZ,CAAC,GAAGT,KAAK;EAET,MAAMU,iBAAiB,GACrBJ,IAAI,KAAKC,gBAAQ,CAACC,MAAM,GAAG,aAAa,GAAG,cAAc;EAE3D,MAAMG,cAAc,GAClBF,OAAO,KAAK,QAAQ,GAAG,eAAe,GAAG,eAAe;EAE1D,oBACE,IAAAX,WAAA,CAAAc,IAAA,EAAClB,YAAA,CAAAmB,IAAI;IACHX,SAAS,EAAE,IAAAY,qBAAK,EAAC,IAAAC,2BAAY,EAAC;MAAET,IAAI;MAAEG,OAAO;MAAEN;IAAY,CAAC,CAAC,EAAED,SAAS,CAAE;IAAAc,QAAA,gBAE1E,IAAAlB,WAAA,CAAAmB,GAAA,EAACxB,MAAA,CAAAyB,IAAI;MACHT,OAAO,EAAEN,WAAY;MACrBgB,QAAQ,EAAEV,OAAO,KAAK,QAAS;MAC/BH,IAAI,EAAEC,gBAAQ,CAACa;IAAM,CACtB,CAAC,eACF,IAAAtB,WAAA,CAAAmB,GAAA,EAACrB,OAAA,CAAAyB,UAAU;MACTZ,OAAO,EAAEC,iBAAkB;MAC3BY,MAAM,EAAC,KAAK;MACZpB,SAAS,EAAE,IAAAY,qBAAK,EAAC,SAAS,EAAEH,cAAc,CAAE;MAAAK,QAAA,EAE3Cf;IAAK,CACI,CAAC;EAAA,CACT,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.buttonVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ var _enums = require("../enums.js");
9
+ const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)(["flex flex-row items-center justify-center max-w-fit", "disabled:cursor-not-allowed", "relative overflow-hidden"], {
10
+ variants: {
11
+ variant: {
12
+ [_enums.IconButtonVariantEnum.GRAPE]: ["bg-grape-500", "disabled:bg-grape-500 disabled:opacity-30"],
13
+ [_enums.IconButtonVariantEnum.JAVA]: ["bg-java-500", "disabled:bg-java-500 disabled:opacity-30"],
14
+ [_enums.IconButtonVariantEnum.PEAR]: ["bg-pear-500", "disabled:bg-pear-500 disabled:opacity-30"],
15
+ [_enums.IconButtonVariantEnum.TANGERINE]: ["bg-tangerine-500", "disabled:bg-tangerine-500 disabled:opacity-30"],
16
+ [_enums.IconButtonVariantEnum.PITAYA]: ["bg-pitaya-500 border border-pitaya-500", "disabled:bg-pitaya-500 disabled:opacity-30"],
17
+ [_enums.IconButtonVariantEnum.BLACKBERRY]: ["bg-blackberry-500", "disabled:bg-blackberry-500 disabled:opacity-30"],
18
+ [_enums.IconButtonVariantEnum.CHIA]: ["bg-chia-700", "disabled:bg-chia-700 disabled:opacity-30"],
19
+ [_enums.IconButtonVariantEnum.OUTLINE]: ["bg-chia-100 border-100 border-chia-400", "disabled:bg-chia-200 disabled:opacity-50"],
20
+ [_enums.IconButtonVariantEnum.GHOST]: ["bg-transparent", "disabled:opacity-30"]
21
+ },
22
+ size: {
23
+ [_enums.IconButtonSizeEnum.SMALL]: "px-400 py-300",
24
+ [_enums.IconButtonSizeEnum.MEDIUM]: "px-500 py-400",
25
+ [_enums.IconButtonSizeEnum.LARGE]: "px-600 py-400",
26
+ [_enums.IconButtonSizeEnum.XLARGE]: "px-700 py-500",
27
+ [_enums.IconButtonSizeEnum.XXLARGE]: "px-800 py-600"
28
+ },
29
+ corners: {
30
+ [_enums.IconButtonCornersEnum.SMALL]: "rounded-500",
31
+ [_enums.IconButtonCornersEnum.MEDIUM]: "rounded-700"
32
+ },
33
+ selected: {
34
+ true: "",
35
+ false: ""
36
+ }
37
+ },
38
+ compoundVariants: [{
39
+ variant: _enums.IconButtonVariantEnum.GRAPE,
40
+ selected: true,
41
+ className: "bg-grape-600"
42
+ }, {
43
+ variant: _enums.IconButtonVariantEnum.JAVA,
44
+ selected: true,
45
+ className: "bg-java-600"
46
+ }, {
47
+ variant: _enums.IconButtonVariantEnum.PEAR,
48
+ selected: true,
49
+ className: "bg-pear-600"
50
+ }, {
51
+ variant: _enums.IconButtonVariantEnum.TANGERINE,
52
+ selected: true,
53
+ className: "bg-tangerine-600"
54
+ }, {
55
+ variant: _enums.IconButtonVariantEnum.BLACKBERRY,
56
+ selected: true,
57
+ className: "bg-blackberry-600"
58
+ }, {
59
+ variant: _enums.IconButtonVariantEnum.CHIA,
60
+ selected: true,
61
+ className: "bg-chia-600"
62
+ }, {
63
+ variant: _enums.IconButtonVariantEnum.OUTLINE,
64
+ selected: true,
65
+ className: "bg-outline-600"
66
+ }, {
67
+ variant: _enums.IconButtonVariantEnum.PITAYA,
68
+ selected: true,
69
+ className: "bg-pitaya-600"
70
+ }, {
71
+ variant: _enums.IconButtonVariantEnum.GHOST,
72
+ selected: true,
73
+ className: "bg-grape-100 border-100 border-grape-300"
74
+ }],
75
+ defaultVariants: {
76
+ variant: _enums.IconButtonVariantEnum.GRAPE,
77
+ size: _enums.IconButtonSizeEnum.MEDIUM,
78
+ corners: _enums.IconButtonCornersEnum.MEDIUM,
79
+ selected: false
80
+ }
81
+ });
82
+ //# sourceMappingURL=class-variants.js.map