@tecsinapse/react-core 1.17.4 → 1.20.0

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 (755) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/babel.config.esm.js +34 -0
  3. package/dist/components/atoms/Avatar/Avatar.js +12 -8
  4. package/dist/components/atoms/Avatar/Avatar.js.map +1 -1
  5. package/dist/components/atoms/Avatar/helpers.js +3 -1
  6. package/dist/components/atoms/Avatar/helpers.js.map +1 -1
  7. package/dist/components/atoms/Avatar/index.d.ts +2 -1
  8. package/dist/components/atoms/Avatar/index.js +11 -9
  9. package/dist/components/atoms/Avatar/index.js.map +1 -1
  10. package/dist/components/atoms/Avatar/styled.js +38 -39
  11. package/dist/components/atoms/Avatar/styled.js.map +1 -1
  12. package/dist/components/atoms/Badge/Badge.js +11 -8
  13. package/dist/components/atoms/Badge/Badge.js.map +1 -1
  14. package/dist/components/atoms/Badge/index.d.ts +2 -1
  15. package/dist/components/atoms/Badge/index.js +11 -9
  16. package/dist/components/atoms/Badge/index.js.map +1 -1
  17. package/dist/components/atoms/Badge/styled.js +15 -24
  18. package/dist/components/atoms/Badge/styled.js.map +1 -1
  19. package/dist/components/atoms/BoxContent/BoxContent.js +8 -5
  20. package/dist/components/atoms/BoxContent/BoxContent.js.map +1 -1
  21. package/dist/components/atoms/BoxContent/index.d.ts +2 -1
  22. package/dist/components/atoms/BoxContent/index.js +11 -9
  23. package/dist/components/atoms/BoxContent/index.js.map +1 -1
  24. package/dist/components/atoms/BoxContent/styled.js +63 -58
  25. package/dist/components/atoms/BoxContent/styled.js.map +1 -1
  26. package/dist/components/atoms/Button/Button.js +21 -18
  27. package/dist/components/atoms/Button/Button.js.map +1 -1
  28. package/dist/components/atoms/Button/States/BaseState.js +11 -8
  29. package/dist/components/atoms/Button/States/BaseState.js.map +1 -1
  30. package/dist/components/atoms/Button/States/Error.js +4 -2
  31. package/dist/components/atoms/Button/States/Error.js.map +1 -1
  32. package/dist/components/atoms/Button/States/Loading.js +10 -7
  33. package/dist/components/atoms/Button/States/Loading.js.map +1 -1
  34. package/dist/components/atoms/Button/States/Success.js +4 -2
  35. package/dist/components/atoms/Button/States/Success.js.map +1 -1
  36. package/dist/components/atoms/Button/States/index.js +21 -8
  37. package/dist/components/atoms/Button/States/index.js.map +1 -1
  38. package/dist/components/atoms/Button/States/styled.js +32 -20
  39. package/dist/components/atoms/Button/States/styled.js.map +1 -1
  40. package/dist/components/atoms/Button/index.d.ts +2 -1
  41. package/dist/components/atoms/Button/index.js +29 -16
  42. package/dist/components/atoms/Button/index.js.map +1 -1
  43. package/dist/components/atoms/Button/styled.js +33 -36
  44. package/dist/components/atoms/Button/styled.js.map +1 -1
  45. package/dist/components/atoms/Card/Card.js +12 -8
  46. package/dist/components/atoms/Card/Card.js.map +1 -1
  47. package/dist/components/atoms/Card/Footer/Footer.js +12 -7
  48. package/dist/components/atoms/Card/Footer/Footer.js.map +1 -1
  49. package/dist/components/atoms/Card/Footer/index.d.ts +2 -1
  50. package/dist/components/atoms/Card/Footer/index.js +11 -9
  51. package/dist/components/atoms/Card/Footer/index.js.map +1 -1
  52. package/dist/components/atoms/Card/Header/Header.js +12 -7
  53. package/dist/components/atoms/Card/Header/Header.js.map +1 -1
  54. package/dist/components/atoms/Card/Header/index.d.ts +2 -1
  55. package/dist/components/atoms/Card/Header/index.js +11 -9
  56. package/dist/components/atoms/Card/Header/index.js.map +1 -1
  57. package/dist/components/atoms/Card/index.d.ts +2 -1
  58. package/dist/components/atoms/Card/index.js +11 -9
  59. package/dist/components/atoms/Card/index.js.map +1 -1
  60. package/dist/components/atoms/Card/styled.js +8 -5
  61. package/dist/components/atoms/Card/styled.js.map +1 -1
  62. package/dist/components/atoms/Checkbox/Checkbox.js +17 -13
  63. package/dist/components/atoms/Checkbox/Checkbox.js.map +1 -1
  64. package/dist/components/atoms/Checkbox/index.d.ts +2 -1
  65. package/dist/components/atoms/Checkbox/index.js +11 -9
  66. package/dist/components/atoms/Checkbox/index.js.map +1 -1
  67. package/dist/components/atoms/Checkbox/styled.js +63 -45
  68. package/dist/components/atoms/Checkbox/styled.js.map +1 -1
  69. package/dist/components/atoms/Divider/Divider.js +8 -5
  70. package/dist/components/atoms/Divider/Divider.js.map +1 -1
  71. package/dist/components/atoms/Divider/index.d.ts +2 -1
  72. package/dist/components/atoms/Divider/index.js +11 -9
  73. package/dist/components/atoms/Divider/index.js.map +1 -1
  74. package/dist/components/atoms/Divider/styled.js +33 -26
  75. package/dist/components/atoms/Divider/styled.js.map +1 -1
  76. package/dist/components/atoms/GroupButton/GroupButton.d.ts +1 -1
  77. package/dist/components/atoms/GroupButton/GroupButton.js +25 -21
  78. package/dist/components/atoms/GroupButton/GroupButton.js.map +1 -1
  79. package/dist/components/atoms/GroupButton/GroupButtonOption.js +9 -6
  80. package/dist/components/atoms/GroupButton/GroupButtonOption.js.map +1 -1
  81. package/dist/components/atoms/GroupButton/index.d.ts +4 -2
  82. package/dist/components/atoms/GroupButton/index.js +18 -14
  83. package/dist/components/atoms/GroupButton/index.js.map +1 -1
  84. package/dist/components/atoms/GroupButton/styled.js +98 -101
  85. package/dist/components/atoms/GroupButton/styled.js.map +1 -1
  86. package/dist/components/atoms/Icon/Icon.js +16 -13
  87. package/dist/components/atoms/Icon/Icon.js.map +1 -1
  88. package/dist/components/atoms/Icon/helpers.js +14 -8
  89. package/dist/components/atoms/Icon/helpers.js.map +1 -1
  90. package/dist/components/atoms/Icon/index.d.ts +2 -1
  91. package/dist/components/atoms/Icon/index.js +11 -9
  92. package/dist/components/atoms/Icon/index.js.map +1 -1
  93. package/dist/components/atoms/Input/Hint.js +9 -6
  94. package/dist/components/atoms/Input/Hint.js.map +1 -1
  95. package/dist/components/atoms/Input/InputContainer/InputContainer.d.ts +1 -1
  96. package/dist/components/atoms/Input/InputContainer/InputContainer.js +23 -20
  97. package/dist/components/atoms/Input/InputContainer/InputContainer.js.map +1 -1
  98. package/dist/components/atoms/Input/InputElement/InputElement.d.ts +3 -4
  99. package/dist/components/atoms/Input/InputElement/InputElement.js +14 -11
  100. package/dist/components/atoms/Input/InputElement/InputElement.js.map +1 -1
  101. package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.d.ts +3 -4
  102. package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js +18 -15
  103. package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +1 -1
  104. package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +12 -9
  105. package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +1 -1
  106. package/dist/components/atoms/Input/PressableInputContainer/index.d.ts +2 -1
  107. package/dist/components/atoms/Input/PressableInputContainer/index.js +11 -9
  108. package/dist/components/atoms/Input/PressableInputContainer/index.js.map +1 -1
  109. package/dist/components/atoms/Input/PressableInputContainer/styled.js +9 -4
  110. package/dist/components/atoms/Input/PressableInputContainer/styled.js.map +1 -1
  111. package/dist/components/atoms/Input/hooks/useInputFocus.js +5 -2
  112. package/dist/components/atoms/Input/hooks/useInputFocus.js.map +1 -1
  113. package/dist/components/atoms/Input/hooks/useNumberMask.js +7 -4
  114. package/dist/components/atoms/Input/hooks/useNumberMask.js.map +1 -1
  115. package/dist/components/atoms/Input/hooks/useStringMask.js +11 -6
  116. package/dist/components/atoms/Input/hooks/useStringMask.js.map +1 -1
  117. package/dist/components/atoms/Input/index.d.ts +8 -4
  118. package/dist/components/atoms/Input/index.js +66 -35
  119. package/dist/components/atoms/Input/index.js.map +1 -1
  120. package/dist/components/atoms/Input/styled.js +120 -107
  121. package/dist/components/atoms/Input/styled.js.map +1 -1
  122. package/dist/components/atoms/Paper/Paper.js +14 -9
  123. package/dist/components/atoms/Paper/Paper.js.map +1 -1
  124. package/dist/components/atoms/Paper/index.d.ts +2 -1
  125. package/dist/components/atoms/Paper/index.js +11 -9
  126. package/dist/components/atoms/Paper/index.js.map +1 -1
  127. package/dist/components/atoms/Paper/styled.js +8 -5
  128. package/dist/components/atoms/Paper/styled.js.map +1 -1
  129. package/dist/components/atoms/PressableSurface/PressableSurface.js +28 -19
  130. package/dist/components/atoms/PressableSurface/PressableSurface.js.map +1 -1
  131. package/dist/components/atoms/PressableSurface/index.d.ts +2 -1
  132. package/dist/components/atoms/PressableSurface/index.js +11 -9
  133. package/dist/components/atoms/PressableSurface/index.js.map +1 -1
  134. package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +1 -1
  135. package/dist/components/atoms/ProgressBar/ProgressBar.js +20 -15
  136. package/dist/components/atoms/ProgressBar/ProgressBar.js.map +1 -1
  137. package/dist/components/atoms/ProgressBar/index.d.ts +2 -1
  138. package/dist/components/atoms/ProgressBar/index.js +11 -9
  139. package/dist/components/atoms/ProgressBar/index.js.map +1 -1
  140. package/dist/components/atoms/ProgressBar/styled.js +39 -30
  141. package/dist/components/atoms/ProgressBar/styled.js.map +1 -1
  142. package/dist/components/atoms/RadioButton/RadioButton.js +17 -13
  143. package/dist/components/atoms/RadioButton/RadioButton.js.map +1 -1
  144. package/dist/components/atoms/RadioButton/index.d.ts +2 -1
  145. package/dist/components/atoms/RadioButton/index.js +11 -9
  146. package/dist/components/atoms/RadioButton/index.js.map +1 -1
  147. package/dist/components/atoms/RadioButton/styled.js +39 -30
  148. package/dist/components/atoms/RadioButton/styled.js.map +1 -1
  149. package/dist/components/atoms/Switch/Switch.d.ts +1 -1
  150. package/dist/components/atoms/Switch/Switch.js +17 -14
  151. package/dist/components/atoms/Switch/Switch.js.map +1 -1
  152. package/dist/components/atoms/Switch/animation.js +3 -1
  153. package/dist/components/atoms/Switch/animation.js.map +1 -1
  154. package/dist/components/atoms/Switch/index.d.ts +2 -1
  155. package/dist/components/atoms/Switch/index.js +11 -9
  156. package/dist/components/atoms/Switch/index.js.map +1 -1
  157. package/dist/components/atoms/Switch/styled.d.ts +2 -14
  158. package/dist/components/atoms/Switch/styled.js +30 -23
  159. package/dist/components/atoms/Switch/styled.js.map +1 -1
  160. package/dist/components/atoms/Tag/Tag.js +15 -12
  161. package/dist/components/atoms/Tag/Tag.js.map +1 -1
  162. package/dist/components/atoms/Tag/index.d.ts +2 -1
  163. package/dist/components/atoms/Tag/index.js +11 -9
  164. package/dist/components/atoms/Tag/index.js.map +1 -1
  165. package/dist/components/atoms/Tag/styled.js +48 -44
  166. package/dist/components/atoms/Tag/styled.js.map +1 -1
  167. package/dist/components/atoms/Text/Text.js +20 -17
  168. package/dist/components/atoms/Text/Text.js.map +1 -1
  169. package/dist/components/atoms/Text/functions.js +3 -1
  170. package/dist/components/atoms/Text/functions.js.map +1 -1
  171. package/dist/components/atoms/Text/index.d.ts +2 -1
  172. package/dist/components/atoms/Text/index.js +11 -9
  173. package/dist/components/atoms/Text/index.js.map +1 -1
  174. package/dist/components/atoms/Text/styled.js +52 -34
  175. package/dist/components/atoms/Text/styled.js.map +1 -1
  176. package/dist/components/atoms/shared/PaperAndCard.js +29 -20
  177. package/dist/components/atoms/shared/PaperAndCard.js.map +1 -1
  178. package/dist/components/molecules/Calendar/Calendar.js +20 -16
  179. package/dist/components/molecules/Calendar/Calendar.js.map +1 -1
  180. package/dist/components/molecules/Calendar/components/MonthWeek.js +16 -12
  181. package/dist/components/molecules/Calendar/components/MonthWeek.js.map +1 -1
  182. package/dist/components/molecules/Calendar/components/Weekdays.js +9 -6
  183. package/dist/components/molecules/Calendar/components/Weekdays.js.map +1 -1
  184. package/dist/components/molecules/Calendar/components/index.js +15 -6
  185. package/dist/components/molecules/Calendar/components/index.js.map +1 -1
  186. package/dist/components/molecules/Calendar/index.d.ts +2 -1
  187. package/dist/components/molecules/Calendar/index.js +11 -12
  188. package/dist/components/molecules/Calendar/index.js.map +1 -1
  189. package/dist/components/molecules/Calendar/styled.js +59 -71
  190. package/dist/components/molecules/Calendar/styled.js.map +1 -1
  191. package/dist/components/molecules/DatePicker/DatePicker.js +35 -32
  192. package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -1
  193. package/dist/components/molecules/DatePicker/index.d.ts +2 -1
  194. package/dist/components/molecules/DatePicker/index.js +11 -9
  195. package/dist/components/molecules/DatePicker/index.js.map +1 -1
  196. package/dist/components/molecules/DatePicker/styled.js +20 -14
  197. package/dist/components/molecules/DatePicker/styled.js.map +1 -1
  198. package/dist/components/molecules/DateTimePicker/DateTimePicker.js +44 -41
  199. package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
  200. package/dist/components/molecules/DateTimePicker/index.d.ts +2 -1
  201. package/dist/components/molecules/DateTimePicker/index.js +11 -9
  202. package/dist/components/molecules/DateTimePicker/index.js.map +1 -1
  203. package/dist/components/molecules/DateTimePicker/styled.js +13 -6
  204. package/dist/components/molecules/DateTimePicker/styled.js.map +1 -1
  205. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js +28 -25
  206. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -1
  207. package/dist/components/molecules/DateTimeSelector/Selector.js +18 -14
  208. package/dist/components/molecules/DateTimeSelector/Selector.js.map +1 -1
  209. package/dist/components/molecules/DateTimeSelector/index.d.ts +2 -1
  210. package/dist/components/molecules/DateTimeSelector/index.js +11 -10
  211. package/dist/components/molecules/DateTimeSelector/index.js.map +1 -1
  212. package/dist/components/molecules/DateTimeSelector/styled.js +89 -69
  213. package/dist/components/molecules/DateTimeSelector/styled.js.map +1 -1
  214. package/dist/components/molecules/Grid/functions.d.ts +3 -0
  215. package/dist/components/molecules/Grid/functions.js +25 -0
  216. package/dist/components/molecules/Grid/functions.js.map +1 -0
  217. package/dist/components/molecules/Grid/index.d.ts +42 -2
  218. package/dist/components/molecules/Grid/index.js +16 -15
  219. package/dist/components/molecules/Grid/index.js.map +1 -1
  220. package/dist/components/molecules/HintInputContainer/HintInputContainer.js +20 -16
  221. package/dist/components/molecules/HintInputContainer/HintInputContainer.js.map +1 -1
  222. package/dist/components/molecules/HintInputContainer/index.js +9 -4
  223. package/dist/components/molecules/HintInputContainer/index.js.map +1 -1
  224. package/dist/components/molecules/HintInputContainer/styled.js.map +1 -1
  225. package/dist/components/molecules/IconTextButton/IconComponent.d.ts +9 -0
  226. package/dist/components/molecules/IconTextButton/IconComponent.js +33 -0
  227. package/dist/components/molecules/IconTextButton/IconComponent.js.map +1 -0
  228. package/dist/components/molecules/IconTextButton/IconTextButton.d.ts +8 -0
  229. package/dist/components/molecules/IconTextButton/IconTextButton.js +6 -0
  230. package/dist/components/molecules/IconTextButton/IconTextButton.js.map +1 -0
  231. package/dist/components/molecules/IconTextButton/index.d.ts +2 -0
  232. package/dist/components/molecules/IconTextButton/index.js +16 -0
  233. package/dist/components/molecules/IconTextButton/index.js.map +1 -0
  234. package/dist/components/molecules/IconTextButton/styled.d.ts +4 -0
  235. package/dist/components/molecules/IconTextButton/styled.js +29 -0
  236. package/dist/components/molecules/IconTextButton/styled.js.map +1 -0
  237. package/dist/components/molecules/InputPassword/InputPasswordIcon.js +10 -7
  238. package/dist/components/molecules/InputPassword/InputPasswordIcon.js.map +1 -1
  239. package/dist/components/molecules/InputPassword/index.js +9 -4
  240. package/dist/components/molecules/InputPassword/index.js.map +1 -1
  241. package/dist/components/molecules/InputPassword/styled.js +13 -6
  242. package/dist/components/molecules/InputPassword/styled.js.map +1 -1
  243. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +7 -0
  244. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js +6 -0
  245. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -0
  246. package/dist/components/molecules/LabeledSwitch/index.d.ts +1 -0
  247. package/dist/components/molecules/LabeledSwitch/index.js +6 -0
  248. package/dist/components/molecules/LabeledSwitch/index.js.map +1 -0
  249. package/dist/components/molecules/Snackbar/Snackbar.js +26 -22
  250. package/dist/components/molecules/Snackbar/Snackbar.js.map +1 -1
  251. package/dist/components/molecules/Snackbar/index.d.ts +2 -1
  252. package/dist/components/molecules/Snackbar/index.js +11 -9
  253. package/dist/components/molecules/Snackbar/index.js.map +1 -1
  254. package/dist/components/molecules/Snackbar/styled.js +53 -77
  255. package/dist/components/molecules/Snackbar/styled.js.map +1 -1
  256. package/dist/components/molecules/TextArea/TextArea.d.ts +1 -1
  257. package/dist/components/molecules/TextArea/TextArea.js +29 -26
  258. package/dist/components/molecules/TextArea/TextArea.js.map +1 -1
  259. package/dist/components/molecules/TextArea/index.d.ts +2 -1
  260. package/dist/components/molecules/TextArea/index.js +17 -11
  261. package/dist/components/molecules/TextArea/index.js.map +1 -1
  262. package/dist/components/molecules/TextArea/styled.d.ts +2 -14
  263. package/dist/components/molecules/TextArea/styled.js +15 -13
  264. package/dist/components/molecules/TextArea/styled.js.map +1 -1
  265. package/dist/hooks/index.js +15 -6
  266. package/dist/hooks/index.js.map +1 -1
  267. package/dist/hooks/useDebouncedState.js +5 -2
  268. package/dist/hooks/useDebouncedState.js.map +1 -1
  269. package/dist/hooks/useTheme.js +3 -1
  270. package/dist/hooks/useTheme.js.map +1 -1
  271. package/dist/index.d.ts +58 -28
  272. package/dist/index.js +319 -175
  273. package/dist/index.js.map +1 -1
  274. package/dist/styles/ThemeProvider.js +8 -5
  275. package/dist/styles/ThemeProvider.js.map +1 -1
  276. package/dist/styles/definitions.d.ts +2 -1
  277. package/dist/styles/definitions.js +13 -4
  278. package/dist/styles/definitions.js.map +1 -1
  279. package/dist/styles/light.js +5 -2
  280. package/dist/styles/light.js.map +1 -1
  281. package/dist/types/defaults.d.ts +8 -2
  282. package/dist/types/defaults.js +3 -1
  283. package/dist/types/defaults.js.map +1 -1
  284. package/dist/utils/IPhoneXHelper.js +6 -4
  285. package/dist/utils/IPhoneXHelper.js.map +1 -1
  286. package/dist/utils/ResponsiveFontSize.js +12 -9
  287. package/dist/utils/ResponsiveFontSize.js.map +1 -1
  288. package/dist/utils/extractNumbersFromString.js +4 -2
  289. package/dist/utils/extractNumbersFromString.js.map +1 -1
  290. package/dist/utils/formatWithMask.js +3 -1
  291. package/dist/utils/formatWithMask.js.map +1 -1
  292. package/dist/utils/index.d.ts +5 -4
  293. package/dist/utils/index.js +71 -23
  294. package/dist/utils/index.js.map +1 -1
  295. package/dist/utils/lightenDarkenColor.js +3 -1
  296. package/dist/utils/lightenDarkenColor.js.map +1 -1
  297. package/dist/utils/masks.js +5 -3
  298. package/dist/utils/masks.js.map +1 -1
  299. package/dist/utils/variantComplement.d.ts +6 -0
  300. package/dist/utils/variantComplement.js +37 -0
  301. package/dist/utils/variantComplement.js.map +1 -0
  302. package/esm/components/atoms/Avatar/Avatar.d.ts +14 -0
  303. package/esm/components/atoms/Avatar/Avatar.js +50 -0
  304. package/esm/components/atoms/Avatar/Avatar.js.map +1 -0
  305. package/esm/components/atoms/Avatar/helpers.d.ts +1 -0
  306. package/esm/components/atoms/Avatar/helpers.js +12 -0
  307. package/esm/components/atoms/Avatar/helpers.js.map +1 -0
  308. package/esm/components/atoms/Avatar/index.d.ts +2 -0
  309. package/esm/components/atoms/Avatar/index.js +2 -0
  310. package/esm/components/atoms/Avatar/index.js.map +1 -0
  311. package/esm/components/atoms/Avatar/styled.d.ts +28 -0
  312. package/esm/components/atoms/Avatar/styled.js +33 -0
  313. package/esm/components/atoms/Avatar/styled.js.map +1 -0
  314. package/esm/components/atoms/Badge/Badge.d.ts +11 -0
  315. package/esm/components/atoms/Badge/Badge.js +20 -0
  316. package/esm/components/atoms/Badge/Badge.js.map +1 -0
  317. package/esm/components/atoms/Badge/index.d.ts +2 -0
  318. package/esm/components/atoms/Badge/index.js +2 -0
  319. package/esm/components/atoms/Badge/index.js.map +1 -0
  320. package/esm/components/atoms/Badge/styled.d.ts +15 -0
  321. package/esm/components/atoms/Badge/styled.js +20 -0
  322. package/esm/components/atoms/Badge/styled.js.map +1 -0
  323. package/esm/components/atoms/BoxContent/BoxContent.d.ts +7 -0
  324. package/esm/components/atoms/BoxContent/BoxContent.js +18 -0
  325. package/esm/components/atoms/BoxContent/BoxContent.js.map +1 -0
  326. package/esm/components/atoms/BoxContent/index.d.ts +2 -0
  327. package/esm/components/atoms/BoxContent/index.js +2 -0
  328. package/esm/components/atoms/BoxContent/index.js.map +1 -0
  329. package/esm/components/atoms/BoxContent/styled.d.ts +24 -0
  330. package/esm/components/atoms/BoxContent/styled.js +55 -0
  331. package/esm/components/atoms/BoxContent/styled.js.map +1 -0
  332. package/esm/components/atoms/Button/Button.d.ts +28 -0
  333. package/esm/components/atoms/Button/Button.js +76 -0
  334. package/esm/components/atoms/Button/Button.js.map +1 -0
  335. package/esm/components/atoms/Button/States/BaseState.d.ts +7 -0
  336. package/esm/components/atoms/Button/States/BaseState.js +29 -0
  337. package/esm/components/atoms/Button/States/BaseState.js.map +1 -0
  338. package/esm/components/atoms/Button/States/Error.d.ts +4 -0
  339. package/esm/components/atoms/Button/States/Error.js +11 -0
  340. package/esm/components/atoms/Button/States/Error.js.map +1 -0
  341. package/esm/components/atoms/Button/States/Loading.d.ts +4 -0
  342. package/esm/components/atoms/Button/States/Loading.js +26 -0
  343. package/esm/components/atoms/Button/States/Loading.js.map +1 -0
  344. package/esm/components/atoms/Button/States/Success.d.ts +4 -0
  345. package/esm/components/atoms/Button/States/Success.js +11 -0
  346. package/esm/components/atoms/Button/States/Success.js.map +1 -0
  347. package/esm/components/atoms/Button/States/index.d.ts +3 -0
  348. package/esm/components/atoms/Button/States/index.js +4 -0
  349. package/esm/components/atoms/Button/States/index.js.map +1 -0
  350. package/esm/components/atoms/Button/States/styled.d.ts +16 -0
  351. package/esm/components/atoms/Button/States/styled.js +25 -0
  352. package/esm/components/atoms/Button/States/styled.js.map +1 -0
  353. package/esm/components/atoms/Button/index.d.ts +3 -0
  354. package/esm/components/atoms/Button/index.js +3 -0
  355. package/esm/components/atoms/Button/index.js.map +1 -0
  356. package/esm/components/atoms/Button/styled.d.ts +8 -0
  357. package/esm/components/atoms/Button/styled.js +42 -0
  358. package/esm/components/atoms/Button/styled.js.map +1 -0
  359. package/esm/components/atoms/Card/Card.d.ts +9 -0
  360. package/esm/components/atoms/Card/Card.js +33 -0
  361. package/esm/components/atoms/Card/Card.js.map +1 -0
  362. package/esm/components/atoms/Card/Footer/Footer.d.ts +7 -0
  363. package/esm/components/atoms/Card/Footer/Footer.js +13 -0
  364. package/esm/components/atoms/Card/Footer/Footer.js.map +1 -0
  365. package/esm/components/atoms/Card/Footer/index.d.ts +2 -0
  366. package/esm/components/atoms/Card/Footer/index.js +2 -0
  367. package/esm/components/atoms/Card/Footer/index.js.map +1 -0
  368. package/esm/components/atoms/Card/Header/Header.d.ts +7 -0
  369. package/esm/components/atoms/Card/Header/Header.js +13 -0
  370. package/esm/components/atoms/Card/Header/Header.js.map +1 -0
  371. package/esm/components/atoms/Card/Header/index.d.ts +2 -0
  372. package/esm/components/atoms/Card/Header/index.js +2 -0
  373. package/esm/components/atoms/Card/Header/index.js.map +1 -0
  374. package/esm/components/atoms/Card/index.d.ts +2 -0
  375. package/esm/components/atoms/Card/index.js +2 -0
  376. package/esm/components/atoms/Card/index.js.map +1 -0
  377. package/esm/components/atoms/Card/styled.d.ts +8 -0
  378. package/esm/components/atoms/Card/styled.js +11 -0
  379. package/esm/components/atoms/Card/styled.js.map +1 -0
  380. package/esm/components/atoms/Checkbox/Checkbox.d.ts +14 -0
  381. package/esm/components/atoms/Checkbox/Checkbox.js +56 -0
  382. package/esm/components/atoms/Checkbox/Checkbox.js.map +1 -0
  383. package/esm/components/atoms/Checkbox/index.d.ts +2 -0
  384. package/esm/components/atoms/Checkbox/index.js +2 -0
  385. package/esm/components/atoms/Checkbox/index.js.map +1 -0
  386. package/esm/components/atoms/Checkbox/styled.d.ts +27 -0
  387. package/esm/components/atoms/Checkbox/styled.js +50 -0
  388. package/esm/components/atoms/Checkbox/styled.js.map +1 -0
  389. package/esm/components/atoms/Divider/Divider.d.ts +8 -0
  390. package/esm/components/atoms/Divider/Divider.js +18 -0
  391. package/esm/components/atoms/Divider/Divider.js.map +1 -0
  392. package/esm/components/atoms/Divider/index.d.ts +2 -0
  393. package/esm/components/atoms/Divider/index.js +2 -0
  394. package/esm/components/atoms/Divider/index.js.map +1 -0
  395. package/esm/components/atoms/Divider/styled.d.ts +13 -0
  396. package/esm/components/atoms/Divider/styled.js +28 -0
  397. package/esm/components/atoms/Divider/styled.js.map +1 -0
  398. package/esm/components/atoms/GroupButton/GroupButton.d.ts +32 -0
  399. package/esm/components/atoms/GroupButton/GroupButton.js +78 -0
  400. package/esm/components/atoms/GroupButton/GroupButton.js.map +1 -0
  401. package/esm/components/atoms/GroupButton/GroupButtonOption.d.ts +9 -0
  402. package/esm/components/atoms/GroupButton/GroupButtonOption.js +19 -0
  403. package/esm/components/atoms/GroupButton/GroupButtonOption.js.map +1 -0
  404. package/esm/components/atoms/GroupButton/index.d.ts +4 -0
  405. package/esm/components/atoms/GroupButton/index.js +3 -0
  406. package/esm/components/atoms/GroupButton/index.js.map +1 -0
  407. package/esm/components/atoms/GroupButton/styled.d.ts +42 -0
  408. package/esm/components/atoms/GroupButton/styled.js +97 -0
  409. package/esm/components/atoms/GroupButton/styled.js.map +1 -0
  410. package/esm/components/atoms/Icon/Icon.d.ts +14 -0
  411. package/esm/components/atoms/Icon/Icon.js +37 -0
  412. package/esm/components/atoms/Icon/Icon.js.map +1 -0
  413. package/esm/components/atoms/Icon/helpers.d.ts +4 -0
  414. package/esm/components/atoms/Icon/helpers.js +78 -0
  415. package/esm/components/atoms/Icon/helpers.js.map +1 -0
  416. package/esm/components/atoms/Icon/index.d.ts +2 -0
  417. package/esm/components/atoms/Icon/index.js +2 -0
  418. package/esm/components/atoms/Icon/index.js.map +1 -0
  419. package/esm/components/atoms/Input/Hint.d.ts +10 -0
  420. package/esm/components/atoms/Input/Hint.js +41 -0
  421. package/esm/components/atoms/Input/Hint.js.map +1 -0
  422. package/esm/components/atoms/Input/InputContainer/InputContainer.d.ts +29 -0
  423. package/esm/components/atoms/Input/InputContainer/InputContainer.js +66 -0
  424. package/esm/components/atoms/Input/InputContainer/InputContainer.js.map +1 -0
  425. package/esm/components/atoms/Input/InputElement/InputElement.d.ts +13 -0
  426. package/esm/components/atoms/Input/InputElement/InputElement.js +37 -0
  427. package/esm/components/atoms/Input/InputElement/InputElement.js.map +1 -0
  428. package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.d.ts +16 -0
  429. package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js +92 -0
  430. package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +1 -0
  431. package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.d.ts +10 -0
  432. package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +30 -0
  433. package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +1 -0
  434. package/esm/components/atoms/Input/PressableInputContainer/index.d.ts +2 -0
  435. package/esm/components/atoms/Input/PressableInputContainer/index.js +2 -0
  436. package/esm/components/atoms/Input/PressableInputContainer/index.js.map +1 -0
  437. package/esm/components/atoms/Input/PressableInputContainer/styled.d.ts +5 -0
  438. package/esm/components/atoms/Input/PressableInputContainer/styled.js +7 -0
  439. package/esm/components/atoms/Input/PressableInputContainer/styled.js.map +1 -0
  440. package/esm/components/atoms/Input/hooks/useInputFocus.d.ts +5 -0
  441. package/esm/components/atoms/Input/hooks/useInputFocus.js +40 -0
  442. package/esm/components/atoms/Input/hooks/useInputFocus.js.map +1 -0
  443. package/esm/components/atoms/Input/hooks/useNumberMask.d.ts +8 -0
  444. package/esm/components/atoms/Input/hooks/useNumberMask.js +108 -0
  445. package/esm/components/atoms/Input/hooks/useNumberMask.js.map +1 -0
  446. package/esm/components/atoms/Input/hooks/useStringMask.d.ts +8 -0
  447. package/esm/components/atoms/Input/hooks/useStringMask.js +116 -0
  448. package/esm/components/atoms/Input/hooks/useStringMask.js.map +1 -0
  449. package/esm/components/atoms/Input/index.d.ts +13 -0
  450. package/esm/components/atoms/Input/index.js +10 -0
  451. package/esm/components/atoms/Input/index.js.map +1 -0
  452. package/esm/components/atoms/Input/styled.d.ts +64 -0
  453. package/esm/components/atoms/Input/styled.js +93 -0
  454. package/esm/components/atoms/Input/styled.js.map +1 -0
  455. package/esm/components/atoms/Paper/Paper.d.ts +8 -0
  456. package/esm/components/atoms/Paper/Paper.js +24 -0
  457. package/esm/components/atoms/Paper/Paper.js.map +1 -0
  458. package/esm/components/atoms/Paper/index.d.ts +2 -0
  459. package/esm/components/atoms/Paper/index.js +2 -0
  460. package/esm/components/atoms/Paper/index.js.map +1 -0
  461. package/esm/components/atoms/Paper/styled.d.ts +9 -0
  462. package/esm/components/atoms/Paper/styled.js +11 -0
  463. package/esm/components/atoms/Paper/styled.js.map +1 -0
  464. package/esm/components/atoms/PressableSurface/PressableSurface.d.ts +10 -0
  465. package/esm/components/atoms/PressableSurface/PressableSurface.js +86 -0
  466. package/esm/components/atoms/PressableSurface/PressableSurface.js.map +1 -0
  467. package/esm/components/atoms/PressableSurface/index.d.ts +2 -0
  468. package/esm/components/atoms/PressableSurface/index.js +2 -0
  469. package/esm/components/atoms/PressableSurface/index.js.map +1 -0
  470. package/esm/components/atoms/ProgressBar/ProgressBar.d.ts +18 -0
  471. package/esm/components/atoms/ProgressBar/ProgressBar.js +90 -0
  472. package/esm/components/atoms/ProgressBar/ProgressBar.js.map +1 -0
  473. package/esm/components/atoms/ProgressBar/index.d.ts +2 -0
  474. package/esm/components/atoms/ProgressBar/index.js +2 -0
  475. package/esm/components/atoms/ProgressBar/index.js.map +1 -0
  476. package/esm/components/atoms/ProgressBar/styled.d.ts +20 -0
  477. package/esm/components/atoms/ProgressBar/styled.js +26 -0
  478. package/esm/components/atoms/ProgressBar/styled.js.map +1 -0
  479. package/esm/components/atoms/RadioButton/RadioButton.d.ts +14 -0
  480. package/esm/components/atoms/RadioButton/RadioButton.js +51 -0
  481. package/esm/components/atoms/RadioButton/RadioButton.js.map +1 -0
  482. package/esm/components/atoms/RadioButton/index.d.ts +2 -0
  483. package/esm/components/atoms/RadioButton/index.js +2 -0
  484. package/esm/components/atoms/RadioButton/index.js.map +1 -0
  485. package/esm/components/atoms/RadioButton/styled.d.ts +27 -0
  486. package/esm/components/atoms/RadioButton/styled.js +30 -0
  487. package/esm/components/atoms/RadioButton/styled.js.map +1 -0
  488. package/esm/components/atoms/Switch/Switch.d.ts +16 -0
  489. package/esm/components/atoms/Switch/Switch.js +87 -0
  490. package/esm/components/atoms/Switch/Switch.js.map +1 -0
  491. package/esm/components/atoms/Switch/animation.d.ts +2 -0
  492. package/esm/components/atoms/Switch/animation.js +33 -0
  493. package/esm/components/atoms/Switch/animation.js.map +1 -0
  494. package/esm/components/atoms/Switch/index.d.ts +2 -0
  495. package/esm/components/atoms/Switch/index.js +2 -0
  496. package/esm/components/atoms/Switch/index.js.map +1 -0
  497. package/esm/components/atoms/Switch/styled.d.ts +16 -0
  498. package/esm/components/atoms/Switch/styled.js +24 -0
  499. package/esm/components/atoms/Switch/styled.js.map +1 -0
  500. package/esm/components/atoms/Tag/Tag.d.ts +12 -0
  501. package/esm/components/atoms/Tag/Tag.js +80 -0
  502. package/esm/components/atoms/Tag/Tag.js.map +1 -0
  503. package/esm/components/atoms/Tag/index.d.ts +2 -0
  504. package/esm/components/atoms/Tag/index.js +2 -0
  505. package/esm/components/atoms/Tag/index.js.map +1 -0
  506. package/esm/components/atoms/Tag/styled.d.ts +24 -0
  507. package/esm/components/atoms/Tag/styled.js +39 -0
  508. package/esm/components/atoms/Tag/styled.js.map +1 -0
  509. package/esm/components/atoms/Text/Text.d.ts +19 -0
  510. package/esm/components/atoms/Text/Text.js +47 -0
  511. package/esm/components/atoms/Text/Text.js.map +1 -0
  512. package/esm/components/atoms/Text/functions.d.ts +2 -0
  513. package/esm/components/atoms/Text/functions.js +7 -0
  514. package/esm/components/atoms/Text/functions.js.map +1 -0
  515. package/esm/components/atoms/Text/index.d.ts +2 -0
  516. package/esm/components/atoms/Text/index.js +2 -0
  517. package/esm/components/atoms/Text/index.js.map +1 -0
  518. package/esm/components/atoms/Text/styled.d.ts +20 -0
  519. package/esm/components/atoms/Text/styled.js +46 -0
  520. package/esm/components/atoms/Text/styled.js.map +1 -0
  521. package/esm/components/atoms/shared/PaperAndCard.d.ts +5 -0
  522. package/esm/components/atoms/shared/PaperAndCard.js +25 -0
  523. package/esm/components/atoms/shared/PaperAndCard.js.map +1 -0
  524. package/esm/components/molecules/Calendar/Calendar.d.ts +20 -0
  525. package/esm/components/molecules/Calendar/Calendar.js +144 -0
  526. package/esm/components/molecules/Calendar/Calendar.js.map +1 -0
  527. package/esm/components/molecules/Calendar/components/MonthWeek.d.ts +13 -0
  528. package/esm/components/molecules/Calendar/components/MonthWeek.js +128 -0
  529. package/esm/components/molecules/Calendar/components/MonthWeek.js.map +1 -0
  530. package/esm/components/molecules/Calendar/components/Weekdays.d.ts +8 -0
  531. package/esm/components/molecules/Calendar/components/Weekdays.js +29 -0
  532. package/esm/components/molecules/Calendar/components/Weekdays.js.map +1 -0
  533. package/esm/components/molecules/Calendar/components/index.d.ts +2 -0
  534. package/esm/components/molecules/Calendar/components/index.js +3 -0
  535. package/esm/components/molecules/Calendar/components/index.js.map +1 -0
  536. package/esm/components/molecules/Calendar/index.d.ts +2 -0
  537. package/esm/components/molecules/Calendar/index.js +2 -0
  538. package/esm/components/molecules/Calendar/index.js.map +1 -0
  539. package/esm/components/molecules/Calendar/styled.d.ts +61 -0
  540. package/esm/components/molecules/Calendar/styled.js +56 -0
  541. package/esm/components/molecules/Calendar/styled.js.map +1 -0
  542. package/esm/components/molecules/DatePicker/DatePicker.d.ts +19 -0
  543. package/esm/components/molecules/DatePicker/DatePicker.js +120 -0
  544. package/esm/components/molecules/DatePicker/DatePicker.js.map +1 -0
  545. package/esm/components/molecules/DatePicker/index.d.ts +2 -0
  546. package/esm/components/molecules/DatePicker/index.js +2 -0
  547. package/esm/components/molecules/DatePicker/index.js.map +1 -0
  548. package/esm/components/molecules/DatePicker/styled.d.ts +15 -0
  549. package/esm/components/molecules/DatePicker/styled.js +22 -0
  550. package/esm/components/molecules/DatePicker/styled.js.map +1 -0
  551. package/esm/components/molecules/DateTimePicker/DateTimePicker.d.ts +17 -0
  552. package/esm/components/molecules/DateTimePicker/DateTimePicker.js +122 -0
  553. package/esm/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -0
  554. package/esm/components/molecules/DateTimePicker/index.d.ts +2 -0
  555. package/esm/components/molecules/DateTimePicker/index.js +2 -0
  556. package/esm/components/molecules/DateTimePicker/index.js.map +1 -0
  557. package/esm/components/molecules/DateTimePicker/styled.d.ts +8 -0
  558. package/esm/components/molecules/DateTimePicker/styled.js +12 -0
  559. package/esm/components/molecules/DateTimePicker/styled.js.map +1 -0
  560. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.d.ts +28 -0
  561. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js +219 -0
  562. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -0
  563. package/esm/components/molecules/DateTimeSelector/Selector.d.ts +17 -0
  564. package/esm/components/molecules/DateTimeSelector/Selector.js +113 -0
  565. package/esm/components/molecules/DateTimeSelector/Selector.js.map +1 -0
  566. package/esm/components/molecules/DateTimeSelector/index.d.ts +2 -0
  567. package/esm/components/molecules/DateTimeSelector/index.js +2 -0
  568. package/esm/components/molecules/DateTimeSelector/index.js.map +1 -0
  569. package/esm/components/molecules/DateTimeSelector/styled.d.ts +52 -0
  570. package/esm/components/molecules/DateTimeSelector/styled.js +54 -0
  571. package/esm/components/molecules/DateTimeSelector/styled.js.map +1 -0
  572. package/esm/components/molecules/Grid/functions.d.ts +3 -0
  573. package/esm/components/molecules/Grid/functions.js +16 -0
  574. package/esm/components/molecules/Grid/functions.js.map +1 -0
  575. package/esm/components/molecules/Grid/index.d.ts +42 -0
  576. package/esm/components/molecules/Grid/index.js +2 -0
  577. package/esm/components/molecules/Grid/index.js.map +1 -0
  578. package/esm/components/molecules/HintInputContainer/HintInputContainer.d.ts +17 -0
  579. package/esm/components/molecules/HintInputContainer/HintInputContainer.js +46 -0
  580. package/esm/components/molecules/HintInputContainer/HintInputContainer.js.map +1 -0
  581. package/esm/components/molecules/HintInputContainer/index.d.ts +2 -0
  582. package/esm/components/molecules/HintInputContainer/index.js +2 -0
  583. package/esm/components/molecules/HintInputContainer/index.js.map +1 -0
  584. package/esm/components/molecules/HintInputContainer/styled.d.ts +0 -0
  585. package/esm/components/molecules/HintInputContainer/styled.js +2 -0
  586. package/esm/components/molecules/HintInputContainer/styled.js.map +1 -0
  587. package/esm/components/molecules/IconTextButton/IconComponent.d.ts +9 -0
  588. package/esm/components/molecules/IconTextButton/IconComponent.js +20 -0
  589. package/esm/components/molecules/IconTextButton/IconComponent.js.map +1 -0
  590. package/esm/components/molecules/IconTextButton/IconTextButton.d.ts +8 -0
  591. package/esm/components/molecules/IconTextButton/IconTextButton.js +2 -0
  592. package/esm/components/molecules/IconTextButton/IconTextButton.js.map +1 -0
  593. package/esm/components/molecules/IconTextButton/index.d.ts +2 -0
  594. package/esm/components/molecules/IconTextButton/index.js +2 -0
  595. package/esm/components/molecules/IconTextButton/index.js.map +1 -0
  596. package/esm/components/molecules/IconTextButton/styled.d.ts +11 -0
  597. package/esm/components/molecules/IconTextButton/styled.js +14 -0
  598. package/esm/components/molecules/IconTextButton/styled.js.map +1 -0
  599. package/esm/components/molecules/InputPassword/InputPasswordIcon.d.ts +8 -0
  600. package/esm/components/molecules/InputPassword/InputPasswordIcon.js +33 -0
  601. package/esm/components/molecules/InputPassword/InputPasswordIcon.js.map +1 -0
  602. package/esm/components/molecules/InputPassword/index.d.ts +1 -0
  603. package/esm/components/molecules/InputPassword/index.js +2 -0
  604. package/esm/components/molecules/InputPassword/index.js.map +1 -0
  605. package/esm/components/molecules/InputPassword/styled.d.ts +7 -0
  606. package/esm/components/molecules/InputPassword/styled.js +11 -0
  607. package/esm/components/molecules/InputPassword/styled.js.map +1 -0
  608. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +7 -0
  609. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js +2 -0
  610. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -0
  611. package/esm/components/molecules/LabeledSwitch/index.d.ts +1 -0
  612. package/esm/components/molecules/LabeledSwitch/index.js +2 -0
  613. package/esm/components/molecules/LabeledSwitch/index.js.map +1 -0
  614. package/esm/components/molecules/Snackbar/Snackbar.d.ts +19 -0
  615. package/esm/components/molecules/Snackbar/Snackbar.js +103 -0
  616. package/esm/components/molecules/Snackbar/Snackbar.js.map +1 -0
  617. package/esm/components/molecules/Snackbar/index.d.ts +2 -0
  618. package/esm/components/molecules/Snackbar/index.js +2 -0
  619. package/esm/components/molecules/Snackbar/index.js.map +1 -0
  620. package/esm/components/molecules/Snackbar/styled.d.ts +47 -0
  621. package/esm/components/molecules/Snackbar/styled.js +54 -0
  622. package/esm/components/molecules/Snackbar/styled.js.map +1 -0
  623. package/esm/components/molecules/TextArea/TextArea.d.ts +14 -0
  624. package/esm/components/molecules/TextArea/TextArea.js +77 -0
  625. package/esm/components/molecules/TextArea/TextArea.js.map +1 -0
  626. package/esm/components/molecules/TextArea/index.d.ts +3 -0
  627. package/esm/components/molecules/TextArea/index.js +3 -0
  628. package/esm/components/molecules/TextArea/index.js.map +1 -0
  629. package/esm/components/molecules/TextArea/styled.d.ts +12 -0
  630. package/esm/components/molecules/TextArea/styled.js +14 -0
  631. package/esm/components/molecules/TextArea/styled.js.map +1 -0
  632. package/esm/hooks/index.d.ts +2 -0
  633. package/esm/hooks/index.js +3 -0
  634. package/esm/hooks/index.js.map +1 -0
  635. package/esm/hooks/useDebouncedState.d.ts +2 -0
  636. package/esm/hooks/useDebouncedState.js +31 -0
  637. package/esm/hooks/useDebouncedState.js.map +1 -0
  638. package/esm/hooks/useTheme.d.ts +2 -0
  639. package/esm/hooks/useTheme.js +5 -0
  640. package/esm/hooks/useTheme.js.map +1 -0
  641. package/esm/index.d.ts +64 -0
  642. package/esm/index.js +36 -0
  643. package/esm/index.js.map +1 -0
  644. package/esm/styles/ThemeProvider.d.ts +4 -0
  645. package/esm/styles/ThemeProvider.js +13 -0
  646. package/esm/styles/ThemeProvider.js.map +1 -0
  647. package/esm/styles/definitions.d.ts +45 -0
  648. package/esm/styles/definitions.js +168 -0
  649. package/esm/styles/definitions.js.map +1 -0
  650. package/esm/styles/light.d.ts +2 -0
  651. package/esm/styles/light.js +42 -0
  652. package/esm/styles/light.js.map +1 -0
  653. package/esm/types/defaults.d.ts +134 -0
  654. package/esm/types/defaults.js +2 -0
  655. package/esm/types/defaults.js.map +1 -0
  656. package/esm/utils/IPhoneXHelper.d.ts +4 -0
  657. package/esm/utils/IPhoneXHelper.js +23 -0
  658. package/esm/utils/IPhoneXHelper.js.map +1 -0
  659. package/esm/utils/ResponsiveFontSize.d.ts +3 -0
  660. package/esm/utils/ResponsiveFontSize.js +37 -0
  661. package/esm/utils/ResponsiveFontSize.js.map +1 -0
  662. package/esm/utils/extractNumbersFromString.d.ts +2 -0
  663. package/esm/utils/extractNumbersFromString.js +7 -0
  664. package/esm/utils/extractNumbersFromString.js.map +1 -0
  665. package/esm/utils/formatWithMask.d.ts +3 -0
  666. package/esm/utils/formatWithMask.js +19 -0
  667. package/esm/utils/formatWithMask.js.map +1 -0
  668. package/esm/utils/index.d.ts +7 -0
  669. package/esm/utils/index.js +8 -0
  670. package/esm/utils/index.js.map +1 -0
  671. package/esm/utils/lightenDarkenColor.d.ts +1 -0
  672. package/esm/utils/lightenDarkenColor.js +18 -0
  673. package/esm/utils/lightenDarkenColor.js.map +1 -0
  674. package/esm/utils/masks.d.ts +11 -0
  675. package/esm/utils/masks.js +19 -0
  676. package/esm/utils/masks.js.map +1 -0
  677. package/esm/utils/variantComplement.d.ts +6 -0
  678. package/esm/utils/variantComplement.js +26 -0
  679. package/esm/utils/variantComplement.js.map +1 -0
  680. package/package.json +12 -7
  681. package/src/components/atoms/Avatar/index.ts +2 -1
  682. package/src/components/atoms/Badge/index.ts +2 -1
  683. package/src/components/atoms/Badge/styled.ts +2 -3
  684. package/src/components/atoms/BoxContent/index.ts +2 -1
  685. package/src/components/atoms/Button/index.ts +3 -3
  686. package/src/components/atoms/Card/Footer/index.ts +2 -1
  687. package/src/components/atoms/Card/Header/index.ts +2 -1
  688. package/src/components/atoms/Card/index.ts +2 -1
  689. package/src/components/atoms/Checkbox/index.ts +2 -1
  690. package/src/components/atoms/Divider/index.ts +2 -1
  691. package/src/components/atoms/GroupButton/GroupButton.tsx +2 -5
  692. package/src/components/atoms/GroupButton/index.ts +4 -9
  693. package/src/components/atoms/Icon/index.ts +2 -1
  694. package/src/components/atoms/Input/InputContainer/InputContainer.tsx +3 -3
  695. package/src/components/atoms/Input/InputElement/InputElement.tsx +4 -5
  696. package/src/components/atoms/Input/InputMaskElement/InputMaskElement.tsx +4 -5
  697. package/src/components/atoms/Input/PressableInputContainer/index.ts +2 -4
  698. package/src/components/atoms/Input/index.ts +8 -14
  699. package/src/components/atoms/Paper/index.ts +2 -1
  700. package/src/components/atoms/PressableSurface/index.ts +2 -4
  701. package/src/components/atoms/ProgressBar/ProgressBar.tsx +2 -4
  702. package/src/components/atoms/ProgressBar/index.ts +2 -1
  703. package/src/components/atoms/RadioButton/index.ts +2 -1
  704. package/src/components/atoms/Switch/Switch.tsx +39 -19
  705. package/src/components/atoms/Switch/animation.ts +4 -6
  706. package/src/components/atoms/Switch/index.ts +2 -1
  707. package/src/components/atoms/Switch/styled.ts +4 -6
  708. package/src/components/atoms/Tag/Tag.tsx +1 -1
  709. package/src/components/atoms/Tag/index.ts +2 -1
  710. package/src/components/atoms/Text/index.ts +2 -1
  711. package/src/components/atoms/shared/PaperAndCard.ts +1 -1
  712. package/src/components/molecules/Calendar/index.ts +3 -3
  713. package/src/components/molecules/DatePicker/DatePicker.tsx +12 -8
  714. package/src/components/molecules/DatePicker/index.ts +2 -1
  715. package/src/components/molecules/DateTimePicker/DateTimePicker.tsx +19 -11
  716. package/src/components/molecules/DateTimePicker/index.ts +2 -4
  717. package/src/components/molecules/DateTimeSelector/DateTimeSelector.tsx +0 -1
  718. package/src/components/molecules/DateTimeSelector/index.ts +2 -2
  719. package/src/components/molecules/Grid/functions.ts +29 -0
  720. package/src/components/molecules/Grid/index.ts +66 -2
  721. package/src/components/molecules/HintInputContainer/HintInputContainer.tsx +6 -1
  722. package/src/components/molecules/IconTextButton/IconComponent.tsx +31 -0
  723. package/src/components/molecules/IconTextButton/IconTextButton.tsx +10 -0
  724. package/src/components/molecules/IconTextButton/index.ts +5 -0
  725. package/src/components/molecules/IconTextButton/styled.ts +20 -0
  726. package/src/components/molecules/LabeledSwitch/LabeledSwitch.tsx +9 -0
  727. package/src/components/molecules/LabeledSwitch/index.ts +1 -0
  728. package/src/components/molecules/Snackbar/Snackbar.tsx +1 -1
  729. package/src/components/molecules/Snackbar/index.ts +2 -1
  730. package/src/components/molecules/Snackbar/styled.ts +6 -2
  731. package/src/components/molecules/TextArea/TextArea.tsx +6 -2
  732. package/src/components/molecules/TextArea/index.ts +2 -1
  733. package/src/components/molecules/TextArea/styled.ts +5 -2
  734. package/src/index.ts +82 -54
  735. package/src/styles/definitions.ts +8 -1
  736. package/src/styles/light.ts +2 -0
  737. package/src/types/defaults.ts +11 -1
  738. package/src/utils/IPhoneXHelper.ts +27 -22
  739. package/src/utils/ResponsiveFontSize.ts +55 -36
  740. package/src/utils/index.ts +5 -4
  741. package/src/utils/variantComplement.ts +36 -0
  742. package/tsconfig.build.esm.json +10 -0
  743. package/dist/components/molecules/Grid/Grid.d.ts +0 -15
  744. package/dist/components/molecules/Grid/Grid.js +0 -55
  745. package/dist/components/molecules/Grid/Grid.js.map +0 -1
  746. package/dist/components/molecules/Grid/Item/Item.d.ts +0 -30
  747. package/dist/components/molecules/Grid/Item/Item.js +0 -68
  748. package/dist/components/molecules/Grid/Item/Item.js.map +0 -1
  749. package/dist/components/molecules/Grid/Item/index.d.ts +0 -1
  750. package/dist/components/molecules/Grid/Item/index.js +0 -14
  751. package/dist/components/molecules/Grid/Item/index.js.map +0 -1
  752. package/src/components/molecules/Grid/Grid.stories.tsx +0 -132
  753. package/src/components/molecules/Grid/Grid.tsx +0 -87
  754. package/src/components/molecules/Grid/Item/Item.tsx +0 -93
  755. package/src/components/molecules/Grid/Item/index.ts +0 -1
@@ -0,0 +1,103 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import React from 'react';
4
+ import { Animated } from 'react-native';
5
+ import { Icon } from '../../atoms/Icon';
6
+ import { ContentContainer, DismissContainer, IconContainer, SnackbarContainer, StyledContainerFlexRow, StyledProgressBar, TextContainer } from './styled';
7
+ export var Snackbar = function Snackbar(_ref) {
8
+ var children = _ref.children,
9
+ _ref$open = _ref.open,
10
+ open = _ref$open === void 0 ? true : _ref$open,
11
+ onClose = _ref.onClose,
12
+ _ref$dismissable = _ref.dismissable,
13
+ dismissable = _ref$dismissable === void 0 ? false : _ref$dismissable,
14
+ _ref$timeout = _ref.timeout,
15
+ timeout = _ref$timeout === void 0 ? undefined : _ref$timeout,
16
+ leftIcon = _ref.leftIcon,
17
+ _ref$colorTone = _ref.colorTone,
18
+ colorTone = _ref$colorTone === void 0 ? 'xlight' : _ref$colorTone,
19
+ _ref$colorVariant = _ref.colorVariant,
20
+ colorVariant = _ref$colorVariant === void 0 ? 'primary' : _ref$colorVariant,
21
+ _ref$rightIcon = _ref.rightIcon,
22
+ rightIcon = _ref$rightIcon === void 0 ? {
23
+ colorTone: 'medium',
24
+ colorVariant: 'primary'
25
+ } : _ref$rightIcon,
26
+ _ref$anchor = _ref.anchor,
27
+ anchor = _ref$anchor === void 0 ? 'bottom' : _ref$anchor,
28
+ anchorDistance = _ref.anchorDistance,
29
+ style = _ref.style;
30
+ var fadeAnim = React.useRef(new Animated.Value(0)).current;
31
+ var duration = 500;
32
+
33
+ var fadeIn = function fadeIn() {
34
+ Animated.timing(fadeAnim, {
35
+ toValue: 1,
36
+ useNativeDriver: true,
37
+ duration: duration
38
+ }).start(function () {
39
+ return timeout && fadeOut();
40
+ });
41
+ };
42
+
43
+ var fadeOut = function fadeOut() {
44
+ Animated.timing(fadeAnim, {
45
+ toValue: 0,
46
+ useNativeDriver: true,
47
+ duration: duration,
48
+ delay: timeout ? timeout - duration : 0
49
+ }).start();
50
+ };
51
+
52
+ React.useEffect(function () {
53
+ if (open) {
54
+ fadeIn();
55
+ }
56
+
57
+ if (open && timeout) {
58
+ setTimeout(function () {
59
+ onClose === null || onClose === void 0 ? void 0 : onClose();
60
+ }, timeout + duration);
61
+ }
62
+ }, [open, timeout]);
63
+ return React.createElement(SnackbarContainer, {
64
+ colorVariant: colorVariant,
65
+ colorTone: colorTone,
66
+ elevated: true,
67
+ anchor: anchor,
68
+ anchorDistance: anchorDistance,
69
+ visible: open,
70
+ style: [{
71
+ opacity: fadeAnim
72
+ }, style],
73
+ timeout: timeout
74
+ }, React.createElement(StyledContainerFlexRow, null, React.createElement(ContentContainer, null, leftIcon && React.createElement(IconContainer, null, React.createElement(Icon, _extends({}, leftIcon, {
75
+ size: "centi"
76
+ }))), React.createElement(TextContainer, null, children)), dismissable && React.createElement(DismissContainer, {
77
+ effect: "none",
78
+ onPress: function onPress() {
79
+ fadeOut();
80
+ setTimeout(function () {
81
+ fadeAnim.setValue(0);
82
+ onClose === null || onClose === void 0 ? void 0 : onClose();
83
+ }, duration);
84
+ }
85
+ }, React.createElement(Icon, _extends({}, rightIcon, {
86
+ size: "centi",
87
+ name: "close",
88
+ type: "material-community"
89
+ })))), timeout && open && React.createElement(StyledProgressBar, {
90
+ valueNow: 0,
91
+ valueMax: 100,
92
+ valueMin: 0,
93
+ animate: true,
94
+ color: colorVariant,
95
+ colorTone: "medium",
96
+ animationParameters: {
97
+ direction: 'left',
98
+ duration: timeout
99
+ }
100
+ }));
101
+ };
102
+ export default Snackbar;
103
+ //# sourceMappingURL=Snackbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Snackbar.js","names":["React","Animated","Icon","ContentContainer","DismissContainer","IconContainer","SnackbarContainer","StyledContainerFlexRow","StyledProgressBar","TextContainer","Snackbar","children","open","onClose","dismissable","timeout","undefined","leftIcon","colorTone","colorVariant","rightIcon","anchor","anchorDistance","style","fadeAnim","useRef","Value","current","duration","fadeIn","timing","toValue","useNativeDriver","start","fadeOut","delay","useEffect","setTimeout","opacity","setValue","direction"],"sources":["../../../../src/components/molecules/Snackbar/Snackbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, StyleProp, ViewStyle } from 'react-native';\nimport { ColorGradationType, ColorType } from '../../../types/defaults';\nimport { Icon, IconProps } from '../../atoms/Icon';\nimport {\n ContentContainer,\n DismissContainer,\n IconContainer,\n SnackbarContainer,\n StyledContainerFlexRow,\n StyledProgressBar,\n TextContainer,\n} from './styled';\n\nexport interface SnackbarProps {\n colorVariant?: ColorType;\n colorTone?: ColorGradationType;\n open: boolean;\n /** Close callback */\n onClose?: () => void;\n /** Snackbar is closable */\n dismissable?: boolean;\n /** Time in miliseconds for auto hide */\n timeout?: number;\n leftIcon?: IconProps;\n /** Properties for close icon */\n rightIcon?: Omit<IconProps, 'name' | 'type'>;\n anchor?: 'top' | 'bottom';\n /** Distance from anchorage (results in px) */\n anchorDistance?: number;\n style?: StyleProp<ViewStyle>;\n}\n\nexport const Snackbar: React.FC<SnackbarProps> = ({\n children,\n open = true,\n onClose,\n dismissable = false,\n timeout = undefined,\n leftIcon,\n colorTone = 'xlight',\n colorVariant = 'primary',\n rightIcon = { colorTone: 'medium', colorVariant: 'primary' },\n anchor = 'bottom',\n anchorDistance,\n style,\n}) => {\n const fadeAnim = React.useRef(new Animated.Value(0)).current;\n const duration = 500;\n\n const fadeIn = () => {\n Animated.timing(fadeAnim, {\n toValue: 1,\n useNativeDriver: true,\n duration,\n }).start(() => timeout && fadeOut());\n };\n\n const fadeOut = () => {\n Animated.timing(fadeAnim, {\n toValue: 0,\n useNativeDriver: true,\n duration,\n delay: timeout ? timeout - duration : 0,\n }).start();\n };\n\n React.useEffect(() => {\n if (open) {\n fadeIn();\n }\n if (open && timeout) {\n setTimeout(() => {\n onClose?.();\n }, timeout + duration);\n }\n }, [open, timeout]);\n\n return (\n <SnackbarContainer\n colorVariant={colorVariant}\n colorTone={colorTone}\n elevated\n anchor={anchor}\n anchorDistance={anchorDistance}\n visible={open}\n style={[{ opacity: fadeAnim as unknown as number }, style]}\n timeout={timeout}\n >\n <StyledContainerFlexRow>\n <ContentContainer>\n {leftIcon && (\n <IconContainer>\n <Icon {...leftIcon} size=\"centi\" />\n </IconContainer>\n )}\n <TextContainer>{children}</TextContainer>\n </ContentContainer>\n {dismissable && (\n <DismissContainer\n effect=\"none\"\n onPress={() => {\n fadeOut();\n setTimeout(() => {\n fadeAnim.setValue(0);\n onClose?.();\n }, duration);\n }}\n >\n <Icon\n {...rightIcon}\n size=\"centi\"\n name=\"close\"\n type=\"material-community\"\n />\n </DismissContainer>\n )}\n </StyledContainerFlexRow>\n {timeout && open && (\n <StyledProgressBar\n valueNow={0}\n valueMax={100}\n valueMin={0}\n animate={true}\n color={colorVariant}\n colorTone=\"medium\"\n animationParameters={{ direction: 'left', duration: timeout }}\n />\n )}\n </SnackbarContainer>\n );\n};\n\nexport default Snackbar;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,QAAT,QAA+C,cAA/C;AAEA,SAASC,IAAT,QAAgC,kBAAhC;AACA,SACEC,gBADF,EAEEC,gBAFF,EAGEC,aAHF,EAIEC,iBAJF,EAKEC,sBALF,EAMEC,iBANF,EAOEC,aAPF,QAQO,UARP;AA6BA,OAAO,IAAMC,QAAiC,GAAG,SAApCA,QAAoC,OAa3C;EAAA,IAZJC,QAYI,QAZJA,QAYI;EAAA,qBAXJC,IAWI;EAAA,IAXJA,IAWI,0BAXG,IAWH;EAAA,IAVJC,OAUI,QAVJA,OAUI;EAAA,4BATJC,WASI;EAAA,IATJA,WASI,iCATU,KASV;EAAA,wBARJC,OAQI;EAAA,IARJA,OAQI,6BARMC,SAQN;EAAA,IAPJC,QAOI,QAPJA,QAOI;EAAA,0BANJC,SAMI;EAAA,IANJA,SAMI,+BANQ,QAMR;EAAA,6BALJC,YAKI;EAAA,IALJA,YAKI,kCALW,SAKX;EAAA,0BAJJC,SAII;EAAA,IAJJA,SAII,+BAJQ;IAAEF,SAAS,EAAE,QAAb;IAAuBC,YAAY,EAAE;EAArC,CAIR;EAAA,uBAHJE,MAGI;EAAA,IAHJA,MAGI,4BAHK,QAGL;EAAA,IAFJC,cAEI,QAFJA,cAEI;EAAA,IADJC,KACI,QADJA,KACI;EACJ,IAAMC,QAAQ,GAAGxB,KAAK,CAACyB,MAAN,CAAa,IAAIxB,QAAQ,CAACyB,KAAb,CAAmB,CAAnB,CAAb,EAAoCC,OAArD;EACA,IAAMC,QAAQ,GAAG,GAAjB;;EAEA,IAAMC,MAAM,GAAG,SAATA,MAAS,GAAM;IACnB5B,QAAQ,CAAC6B,MAAT,CAAgBN,QAAhB,EAA0B;MACxBO,OAAO,EAAE,CADe;MAExBC,eAAe,EAAE,IAFO;MAGxBJ,QAAQ,EAARA;IAHwB,CAA1B,EAIGK,KAJH,CAIS;MAAA,OAAMlB,OAAO,IAAImB,OAAO,EAAxB;IAAA,CAJT;EAKD,CAND;;EAQA,IAAMA,OAAO,GAAG,SAAVA,OAAU,GAAM;IACpBjC,QAAQ,CAAC6B,MAAT,CAAgBN,QAAhB,EAA0B;MACxBO,OAAO,EAAE,CADe;MAExBC,eAAe,EAAE,IAFO;MAGxBJ,QAAQ,EAARA,QAHwB;MAIxBO,KAAK,EAAEpB,OAAO,GAAGA,OAAO,GAAGa,QAAb,GAAwB;IAJd,CAA1B,EAKGK,KALH;EAMD,CAPD;;EASAjC,KAAK,CAACoC,SAAN,CAAgB,YAAM;IACpB,IAAIxB,IAAJ,EAAU;MACRiB,MAAM;IACP;;IACD,IAAIjB,IAAI,IAAIG,OAAZ,EAAqB;MACnBsB,UAAU,CAAC,YAAM;QACfxB,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO;MACR,CAFS,EAEPE,OAAO,GAAGa,QAFH,CAAV;IAGD;EACF,CATD,EASG,CAAChB,IAAD,EAAOG,OAAP,CATH;EAWA,OACE,oBAAC,iBAAD;IACE,YAAY,EAAEI,YADhB;IAEE,SAAS,EAAED,SAFb;IAGE,QAAQ,MAHV;IAIE,MAAM,EAAEG,MAJV;IAKE,cAAc,EAAEC,cALlB;IAME,OAAO,EAAEV,IANX;IAOE,KAAK,EAAE,CAAC;MAAE0B,OAAO,EAAEd;IAAX,CAAD,EAA6CD,KAA7C,CAPT;IAQE,OAAO,EAAER;EARX,GAUE,oBAAC,sBAAD,QACE,oBAAC,gBAAD,QACGE,QAAQ,IACP,oBAAC,aAAD,QACE,oBAAC,IAAD,eAAUA,QAAV;IAAoB,IAAI,EAAC;EAAzB,GADF,CAFJ,EAME,oBAAC,aAAD,QAAgBN,QAAhB,CANF,CADF,EASGG,WAAW,IACV,oBAAC,gBAAD;IACE,MAAM,EAAC,MADT;IAEE,OAAO,EAAE,mBAAM;MACboB,OAAO;MACPG,UAAU,CAAC,YAAM;QACfb,QAAQ,CAACe,QAAT,CAAkB,CAAlB;QACA1B,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO;MACR,CAHS,EAGPe,QAHO,CAAV;IAID;EARH,GAUE,oBAAC,IAAD,eACMR,SADN;IAEE,IAAI,EAAC,OAFP;IAGE,IAAI,EAAC,OAHP;IAIE,IAAI,EAAC;EAJP,GAVF,CAVJ,CAVF,EAuCGL,OAAO,IAAIH,IAAX,IACC,oBAAC,iBAAD;IACE,QAAQ,EAAE,CADZ;IAEE,QAAQ,EAAE,GAFZ;IAGE,QAAQ,EAAE,CAHZ;IAIE,OAAO,EAAE,IAJX;IAKE,KAAK,EAAEO,YALT;IAME,SAAS,EAAC,QANZ;IAOE,mBAAmB,EAAE;MAAEqB,SAAS,EAAE,MAAb;MAAqBZ,QAAQ,EAAEb;IAA/B;EAPvB,EAxCJ,CADF;AAqDD,CAlGM;AAoGP,eAAeL,QAAf"}
@@ -0,0 +1,2 @@
1
+ export { default as Snackbar } from './Snackbar';
2
+ export type { SnackbarProps } from './Snackbar';
@@ -0,0 +1,2 @@
1
+ export { default as Snackbar } from './Snackbar';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default","Snackbar"],"sources":["../../../../src/components/molecules/Snackbar/index.ts"],"sourcesContent":["export { default as Snackbar } from './Snackbar';\nexport type { SnackbarProps } from './Snackbar';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAApB,QAAoC,YAApC"}
@@ -0,0 +1,47 @@
1
+ /// <reference types="react" />
2
+ import { View } from 'react-native';
3
+ import { SnackbarProps } from './Snackbar';
4
+ export declare const SnackbarContainer: import("@emotion/native").StyledComponent<import("../../atoms/Paper").PaperProps & {
5
+ children?: import("react").ReactNode;
6
+ } & {
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ } & Partial<SnackbarProps & import("../../../types/defaults").ThemeProviderProps> & {
10
+ visible: boolean;
11
+ }, {}, {}>;
12
+ export declare const ContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any> | undefined;
15
+ }, {}, {
16
+ ref?: import("react").Ref<View> | undefined;
17
+ }>;
18
+ export declare const IconContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
19
+ theme?: import("@emotion/react").Theme | undefined;
20
+ as?: import("react").ElementType<any> | undefined;
21
+ } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
22
+ ref?: import("react").Ref<View> | undefined;
23
+ }>;
24
+ export declare const DismissContainer: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
25
+ children?: import("react").ReactNode;
26
+ } & {
27
+ theme?: import("@emotion/react").Theme | undefined;
28
+ as?: import("react").ElementType<any> | undefined;
29
+ } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
30
+ export declare const StyledProgressBar: import("@emotion/native").StyledComponent<import("../../atoms/ProgressBar").ProgressBarProps & {
31
+ children?: import("react").ReactNode;
32
+ } & {
33
+ theme?: import("@emotion/react").Theme | undefined;
34
+ as?: import("react").ElementType<any> | undefined;
35
+ } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
36
+ export declare const StyledContainerFlexRow: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
37
+ theme?: import("@emotion/react").Theme | undefined;
38
+ as?: import("react").ElementType<any> | undefined;
39
+ } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
40
+ ref?: import("react").Ref<View> | undefined;
41
+ }>;
42
+ export declare const TextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
43
+ theme?: import("@emotion/react").Theme | undefined;
44
+ as?: import("react").ElementType<any> | undefined;
45
+ }, {}, {
46
+ ref?: import("react").Ref<View> | undefined;
47
+ }>;
@@ -0,0 +1,54 @@
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
2
+
3
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
4
+
5
+ import styled, { css } from '@emotion/native';
6
+ import { View } from 'react-native';
7
+ import { RFValue } from '../../../utils';
8
+ import { Paper } from '../../atoms/Paper';
9
+ import { PressableSurface } from '../../atoms/PressableSurface';
10
+ import { ProgressBar } from '../../atoms/ProgressBar';
11
+
12
+ var baseStyles = function baseStyles(_ref) {
13
+ var theme = _ref.theme,
14
+ _ref$colorTone = _ref.colorTone,
15
+ colorTone = _ref$colorTone === void 0 ? 'xlight' : _ref$colorTone,
16
+ _ref$colorVariant = _ref.colorVariant,
17
+ colorVariant = _ref$colorVariant === void 0 ? 'primary' : _ref$colorVariant,
18
+ visible = _ref.visible;
19
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 0;\n border-radius: ", ";\n background-color: ", ";\n position: absolute;\n z-index: ", ";\n display: ", ";\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n"])), theme.borderRadius.mili, theme.color[colorVariant][colorTone], theme.zIndex.modal, visible ? 'flex' : 'none');
20
+ };
21
+
22
+ var anchorTop = function anchorTop(_ref2) {
23
+ var theme = _ref2.theme,
24
+ anchor = _ref2.anchor,
25
+ anchorDistance = _ref2.anchorDistance;
26
+ return anchor === 'top' && css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n top: ", ";\n "])), anchorDistance ? "".concat(RFValue(anchorDistance), "px") : theme.spacing.deca);
27
+ };
28
+
29
+ var anchorBottom = function anchorBottom(_ref3) {
30
+ var theme = _ref3.theme,
31
+ anchor = _ref3.anchor,
32
+ anchorDistance = _ref3.anchorDistance;
33
+ return anchor === 'bottom' && css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n bottom: ", ";\n "])), anchorDistance ? "".concat(RFValue(anchorDistance), "px") : theme.spacing.deca);
34
+ };
35
+
36
+ export var SnackbarContainer = styled(Paper)(function (props) {
37
+ return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), baseStyles(props), anchorBottom(props), anchorTop(props));
38
+ });
39
+ export var ContentContainer = styled(View)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n flex-direction: row;\n display: flex;\n align-items: center;\n flex-shrink: 1;\n"])));
40
+ export var IconContainer = styled(View)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n flex-direction: row;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"])), function (_ref4) {
41
+ var theme = _ref4.theme;
42
+ return theme.spacing.mili;
43
+ });
44
+ export var DismissContainer = styled(PressableSurface)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n flex-direction: row;\n display: flex;\n align-items: center;\n margin-left: ", ";\n"])), function (_ref5) {
45
+ var theme = _ref5.theme;
46
+ return theme.spacing.mili;
47
+ });
48
+ export var StyledProgressBar = styled(ProgressBar)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n"])));
49
+ export var StyledContainerFlexRow = styled(View)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: ", ";\n"])), function (_ref6) {
50
+ var theme = _ref6.theme;
51
+ return theme.spacing.mili;
52
+ });
53
+ export var TextContainer = styled(View)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n display: flex;\n flex-shrink: 1;\n"])));
54
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","names":["styled","css","View","RFValue","Paper","PressableSurface","ProgressBar","baseStyles","theme","colorTone","colorVariant","visible","borderRadius","mili","color","zIndex","modal","anchorTop","anchor","anchorDistance","spacing","deca","anchorBottom","SnackbarContainer","props","ContentContainer","IconContainer","DismissContainer","StyledProgressBar","StyledContainerFlexRow","TextContainer"],"sources":["../../../../src/components/molecules/Snackbar/styled.ts"],"sourcesContent":["import styled, { css } from '@emotion/native';\nimport { View } from 'react-native';\nimport { StyleProps } from '../../../types/defaults';\nimport { RFValue } from '../../../utils';\nimport { Paper } from '../../atoms/Paper';\nimport { PressableSurface } from '../../atoms/PressableSurface';\nimport { ProgressBar } from '../../atoms/ProgressBar';\nimport { SnackbarProps } from './Snackbar';\n\nconst baseStyles = ({\n theme,\n colorTone = 'xlight',\n colorVariant = 'primary',\n visible,\n}: StyleProps & Partial<SnackbarProps> & { visible: boolean }) => css`\n padding: 0;\n border-radius: ${theme.borderRadius.mili};\n background-color: ${theme.color[colorVariant][colorTone]};\n position: absolute;\n z-index: ${theme.zIndex.modal};\n display: ${visible ? 'flex' : 'none'};\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n`;\n\nconst anchorTop = ({\n theme,\n anchor,\n anchorDistance,\n}: Partial<SnackbarProps> & StyleProps) => {\n return (\n anchor === 'top' &&\n css`\n top: ${anchorDistance\n ? `${RFValue(anchorDistance)}px`\n : theme.spacing.deca};\n `\n );\n};\n\nconst anchorBottom = ({\n theme,\n anchor,\n anchorDistance,\n}: Partial<SnackbarProps> & StyleProps) => {\n return (\n anchor === 'bottom' &&\n css`\n bottom: ${anchorDistance\n ? `${RFValue(anchorDistance)}px`\n : theme.spacing.deca};\n `\n );\n};\n\nexport const SnackbarContainer = styled(Paper)<\n Partial<SnackbarProps & StyleProps> & { visible: boolean }\n>(\n props => css`\n ${baseStyles(props)}\n ${anchorBottom(props)}\n ${anchorTop(props)}\n `\n);\n\nexport const ContentContainer = styled(View)`\n flex-direction: row;\n display: flex;\n align-items: center;\n flex-shrink: 1;\n`;\n\nexport const IconContainer = styled(View)<Partial<StyleProps>>`\n flex-direction: row;\n display: flex;\n align-items: center;\n margin-right: ${({ theme }) => theme.spacing.mili};\n`;\n\nexport const DismissContainer = styled(PressableSurface)<Partial<StyleProps>>`\n flex-direction: row;\n display: flex;\n align-items: center;\n margin-left: ${({ theme }) => theme.spacing.mili};\n`;\n\nexport const StyledProgressBar = styled(ProgressBar)<Partial<StyleProps>>`\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n`;\n\nexport const StyledContainerFlexRow = styled(View)<Partial<StyleProps>>`\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: ${({ theme }) => theme.spacing.mili};\n`;\n\nexport const TextContainer = styled(View)`\n display: flex;\n flex-shrink: 1;\n`;\n"],"mappings":";;;;AAAA,OAAOA,MAAP,IAAiBC,GAAjB,QAA4B,iBAA5B;AACA,SAASC,IAAT,QAAqB,cAArB;AAEA,SAASC,OAAT,QAAwB,gBAAxB;AACA,SAASC,KAAT,QAAsB,mBAAtB;AACA,SAASC,gBAAT,QAAiC,8BAAjC;AACA,SAASC,WAAT,QAA4B,yBAA5B;;AAGA,IAAMC,UAAU,GAAG,SAAbA,UAAa;EAAA,IACjBC,KADiB,QACjBA,KADiB;EAAA,0BAEjBC,SAFiB;EAAA,IAEjBA,SAFiB,+BAEL,QAFK;EAAA,6BAGjBC,YAHiB;EAAA,IAGjBA,YAHiB,kCAGF,SAHE;EAAA,IAIjBC,OAJiB,QAIjBA,OAJiB;EAAA,OAK+CV,GAL/C,4RAOAO,KAAK,CAACI,YAAN,CAAmBC,IAPnB,EAQGL,KAAK,CAACM,KAAN,CAAYJ,YAAZ,EAA0BD,SAA1B,CARH,EAUND,KAAK,CAACO,MAAN,CAAaC,KAVP,EAWNL,OAAO,GAAG,MAAH,GAAY,MAXb;AAAA,CAAnB;;AAiBA,IAAMM,SAAS,GAAG,SAAZA,SAAY,QAIyB;EAAA,IAHzCT,KAGyC,SAHzCA,KAGyC;EAAA,IAFzCU,MAEyC,SAFzCA,MAEyC;EAAA,IADzCC,cACyC,SADzCA,cACyC;EACzC,OACED,MAAM,KAAK,KAAX,IACAjB,GADA,gGAESkB,cAAc,aACdhB,OAAO,CAACgB,cAAD,CADO,UAEjBX,KAAK,CAACY,OAAN,CAAcC,IAJpB,CADF;AAQD,CAbD;;AAeA,IAAMC,YAAY,GAAG,SAAfA,YAAe,QAIsB;EAAA,IAHzCd,KAGyC,SAHzCA,KAGyC;EAAA,IAFzCU,MAEyC,SAFzCA,MAEyC;EAAA,IADzCC,cACyC,SADzCA,cACyC;EACzC,OACED,MAAM,KAAK,QAAX,IACAjB,GADA,mGAEYkB,cAAc,aACjBhB,OAAO,CAACgB,cAAD,CADU,UAEpBX,KAAK,CAACY,OAAN,CAAcC,IAJpB,CADF;AAQD,CAbD;;AAeA,OAAO,IAAME,iBAAiB,GAAGvB,MAAM,CAACI,KAAD,CAAN,CAG/B,UAAAoB,KAAK;EAAA,OAAIvB,GAAJ,0GACDM,UAAU,CAACiB,KAAD,CADT,EAEDF,YAAY,CAACE,KAAD,CAFX,EAGDP,SAAS,CAACO,KAAD,CAHR;AAAA,CAH0B,CAA1B;AAUP,OAAO,IAAMC,gBAAgB,GAAGzB,MAAM,CAACE,IAAD,CAAT,8JAAtB;AAOP,OAAO,IAAMwB,aAAa,GAAG1B,MAAM,CAACE,IAAD,CAAT,mKAIR;EAAA,IAAGM,KAAH,SAAGA,KAAH;EAAA,OAAeA,KAAK,CAACY,OAAN,CAAcP,IAA7B;AAAA,CAJQ,CAAnB;AAOP,OAAO,IAAMc,gBAAgB,GAAG3B,MAAM,CAACK,gBAAD,CAAT,kKAIZ;EAAA,IAAGG,KAAH,SAAGA,KAAH;EAAA,OAAeA,KAAK,CAACY,OAAN,CAAcP,IAA7B;AAAA,CAJY,CAAtB;AAOP,OAAO,IAAMe,iBAAiB,GAAG5B,MAAM,CAACM,WAAD,CAAT,sIAAvB;AAKP,OAAO,IAAMuB,sBAAsB,GAAG7B,MAAM,CAACE,IAAD,CAAT,yKAItB;EAAA,IAAGM,KAAH,SAAGA,KAAH;EAAA,OAAeA,KAAK,CAACY,OAAN,CAAcP,IAA7B;AAAA,CAJsB,CAA5B;AAOP,OAAO,IAAMiB,aAAa,GAAG9B,MAAM,CAACE,IAAD,CAAT,gHAAnB"}
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import { FontStackType, FontWeightType } from '@tecsinapse/react-core';
3
+ import { InputContainerProps, InputElementProps } from '../../atoms/Input';
4
+ import { TextProps } from '../../atoms/Text';
5
+ export interface TextAreaProps extends Omit<InputElementProps, 'style' | 'multiline' | 'value'>, InputContainerProps {
6
+ inputFontStack?: FontStackType;
7
+ inputFontWeight?: FontWeightType;
8
+ maxCharCount?: number;
9
+ value: string;
10
+ TextComponent?: FC<TextProps>;
11
+ focused?: boolean;
12
+ }
13
+ declare const TextArea: FC<TextAreaProps>;
14
+ export default TextArea;
@@ -0,0 +1,77 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import { Hint } from '../../atoms/Input';
4
+ import { Text } from '../../atoms/Text';
5
+ import { StyledInputContainer } from './styled';
6
+
7
+ var TextArea = function TextArea(_ref) {
8
+ var label = _ref.label,
9
+ labelColor = _ref.labelColor,
10
+ labelColorVariant = _ref.labelColorVariant,
11
+ labelColorTone = _ref.labelColorTone,
12
+ labelTypography = _ref.labelTypography,
13
+ labelStack = _ref.labelStack,
14
+ labelWeight = _ref.labelWeight,
15
+ leftComponent = _ref.leftComponent,
16
+ rightComponent = _ref.rightComponent,
17
+ disabled = _ref.disabled,
18
+ style = _ref.style,
19
+ borderColor = _ref.borderColor,
20
+ borderColorGradation = _ref.borderColorGradation,
21
+ inputContainerStyle = _ref.inputContainerStyle,
22
+ _ref$variant = _ref.variant,
23
+ variant = _ref$variant === void 0 ? 'default' : _ref$variant,
24
+ hintComponent = _ref.hintComponent,
25
+ hint = _ref.hint,
26
+ _ref$TextComponent = _ref.TextComponent,
27
+ TextComponent = _ref$TextComponent === void 0 ? Text : _ref$TextComponent,
28
+ focused = _ref.focused,
29
+ children = _ref.children,
30
+ _maxLenght = _ref.maxLength,
31
+ _value = _ref.value;
32
+ var length = _value.length;
33
+ var maxLength = _maxLenght;
34
+
35
+ if (maxLength && length > maxLength) {
36
+ length = maxLength;
37
+ }
38
+
39
+ var _hint = hintComponent || React.createElement(Hint, {
40
+ TextComponent: TextComponent,
41
+ text: hint,
42
+ variant: variant
43
+ });
44
+
45
+ return React.createElement(View, {
46
+ style: style
47
+ }, React.createElement(StyledInputContainer, {
48
+ label: label,
49
+ labelColor: labelColor,
50
+ labelColorVariant: labelColorVariant,
51
+ labelColorTone: labelColorTone,
52
+ labelTypography: labelTypography,
53
+ labelStack: labelStack,
54
+ labelWeight: labelWeight,
55
+ LabelComponent: TextComponent,
56
+ leftComponent: leftComponent,
57
+ rightComponent: rightComponent,
58
+ borderColor: borderColor,
59
+ borderColorGradation: borderColorGradation,
60
+ inputContainerStyle: inputContainerStyle,
61
+ focused: focused,
62
+ disabled: disabled,
63
+ variant: variant
64
+ }, children, maxLength && React.createElement(TextComponent, {
65
+ colorVariant: 'secondary',
66
+ colorTone: 'medium',
67
+ typography: 'label',
68
+ fontStack: 'default',
69
+ fontWeight: 'bold',
70
+ style: {
71
+ textAlign: 'right'
72
+ }
73
+ }, "".concat(length, "/").concat(maxLength))), hint && _hint);
74
+ };
75
+
76
+ export default TextArea;
77
+ //# sourceMappingURL=TextArea.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextArea.js","names":["React","View","Hint","Text","StyledInputContainer","TextArea","label","labelColor","labelColorVariant","labelColorTone","labelTypography","labelStack","labelWeight","leftComponent","rightComponent","disabled","style","borderColor","borderColorGradation","inputContainerStyle","variant","hintComponent","hint","TextComponent","focused","children","_maxLenght","maxLength","_value","value","length","_hint","textAlign"],"sources":["../../../../src/components/molecules/TextArea/TextArea.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { View } from 'react-native';\nimport { FontStackType, FontWeightType } from '@tecsinapse/react-core';\nimport {\n Hint,\n InputContainerProps,\n InputElementProps,\n} from '../../atoms/Input';\nimport { Text, TextProps } from '../../atoms/Text';\nimport { StyledInputContainer } from './styled';\n\nexport interface TextAreaProps\n extends Omit<InputElementProps, 'style' | 'multiline' | 'value'>,\n InputContainerProps {\n inputFontStack?: FontStackType;\n inputFontWeight?: FontWeightType;\n maxCharCount?: number;\n value: string;\n // Omit below\n TextComponent?: FC<TextProps>;\n focused?: boolean;\n}\n\nconst TextArea: FC<TextAreaProps> = ({\n label,\n labelColor,\n labelColorVariant,\n labelColorTone,\n labelTypography,\n labelStack,\n labelWeight,\n leftComponent,\n rightComponent,\n disabled,\n style,\n borderColor,\n borderColorGradation,\n inputContainerStyle,\n variant = 'default',\n hintComponent,\n hint,\n TextComponent = Text,\n focused,\n children,\n maxLength: _maxLenght,\n value: _value,\n}) => {\n let length = _value.length;\n const maxLength = _maxLenght;\n if (maxLength && length > maxLength) {\n length = maxLength;\n }\n\n const _hint = hintComponent || (\n <Hint TextComponent={TextComponent} text={hint} variant={variant} />\n );\n\n return (\n <View style={style}>\n <StyledInputContainer\n label={label}\n labelColor={labelColor}\n labelColorVariant={labelColorVariant}\n labelColorTone={labelColorTone}\n labelTypography={labelTypography}\n labelStack={labelStack}\n labelWeight={labelWeight}\n LabelComponent={TextComponent}\n leftComponent={leftComponent}\n rightComponent={rightComponent}\n borderColor={borderColor}\n borderColorGradation={borderColorGradation}\n inputContainerStyle={inputContainerStyle}\n focused={focused}\n disabled={disabled}\n variant={variant}\n >\n {children}\n {maxLength && (\n <TextComponent\n colorVariant={'secondary'}\n colorTone={'medium'}\n typography={'label'}\n fontStack={'default'}\n fontWeight={'bold'}\n style={{ textAlign: 'right' }}\n >\n {`${length}/${maxLength}`}\n </TextComponent>\n )}\n </StyledInputContainer>\n {hint && _hint}\n </View>\n );\n};\n\nexport default TextArea;\n"],"mappings":"AAAA,OAAOA,KAAP,MAA0B,OAA1B;AACA,SAASC,IAAT,QAAqB,cAArB;AAEA,SACEC,IADF,QAIO,mBAJP;AAKA,SAASC,IAAT,QAAgC,kBAAhC;AACA,SAASC,oBAAT,QAAqC,UAArC;;AAcA,IAAMC,QAA2B,GAAG,SAA9BA,QAA8B,OAuB9B;EAAA,IAtBJC,KAsBI,QAtBJA,KAsBI;EAAA,IArBJC,UAqBI,QArBJA,UAqBI;EAAA,IApBJC,iBAoBI,QApBJA,iBAoBI;EAAA,IAnBJC,cAmBI,QAnBJA,cAmBI;EAAA,IAlBJC,eAkBI,QAlBJA,eAkBI;EAAA,IAjBJC,UAiBI,QAjBJA,UAiBI;EAAA,IAhBJC,WAgBI,QAhBJA,WAgBI;EAAA,IAfJC,aAeI,QAfJA,aAeI;EAAA,IAdJC,cAcI,QAdJA,cAcI;EAAA,IAbJC,QAaI,QAbJA,QAaI;EAAA,IAZJC,KAYI,QAZJA,KAYI;EAAA,IAXJC,WAWI,QAXJA,WAWI;EAAA,IAVJC,oBAUI,QAVJA,oBAUI;EAAA,IATJC,mBASI,QATJA,mBASI;EAAA,wBARJC,OAQI;EAAA,IARJA,OAQI,6BARM,SAQN;EAAA,IAPJC,aAOI,QAPJA,aAOI;EAAA,IANJC,IAMI,QANJA,IAMI;EAAA,8BALJC,aAKI;EAAA,IALJA,aAKI,mCALYpB,IAKZ;EAAA,IAJJqB,OAII,QAJJA,OAII;EAAA,IAHJC,QAGI,QAHJA,QAGI;EAAA,IAFOC,UAEP,QAFJC,SAEI;EAAA,IADGC,MACH,QADJC,KACI;EACJ,IAAIC,MAAM,GAAGF,MAAM,CAACE,MAApB;EACA,IAAMH,SAAS,GAAGD,UAAlB;;EACA,IAAIC,SAAS,IAAIG,MAAM,GAAGH,SAA1B,EAAqC;IACnCG,MAAM,GAAGH,SAAT;EACD;;EAED,IAAMI,KAAK,GAAGV,aAAa,IACzB,oBAAC,IAAD;IAAM,aAAa,EAAEE,aAArB;IAAoC,IAAI,EAAED,IAA1C;IAAgD,OAAO,EAAEF;EAAzD,EADF;;EAIA,OACE,oBAAC,IAAD;IAAM,KAAK,EAAEJ;EAAb,GACE,oBAAC,oBAAD;IACE,KAAK,EAAEV,KADT;IAEE,UAAU,EAAEC,UAFd;IAGE,iBAAiB,EAAEC,iBAHrB;IAIE,cAAc,EAAEC,cAJlB;IAKE,eAAe,EAAEC,eALnB;IAME,UAAU,EAAEC,UANd;IAOE,WAAW,EAAEC,WAPf;IAQE,cAAc,EAAEW,aARlB;IASE,aAAa,EAAEV,aATjB;IAUE,cAAc,EAAEC,cAVlB;IAWE,WAAW,EAAEG,WAXf;IAYE,oBAAoB,EAAEC,oBAZxB;IAaE,mBAAmB,EAAEC,mBAbvB;IAcE,OAAO,EAAEK,OAdX;IAeE,QAAQ,EAAET,QAfZ;IAgBE,OAAO,EAAEK;EAhBX,GAkBGK,QAlBH,EAmBGE,SAAS,IACR,oBAAC,aAAD;IACE,YAAY,EAAE,WADhB;IAEE,SAAS,EAAE,QAFb;IAGE,UAAU,EAAE,OAHd;IAIE,SAAS,EAAE,SAJb;IAKE,UAAU,EAAE,MALd;IAME,KAAK,EAAE;MAAEK,SAAS,EAAE;IAAb;EANT,aAQMF,MARN,cAQgBH,SARhB,EApBJ,CADF,EAiCGL,IAAI,IAAIS,KAjCX,CADF;AAqCD,CAvED;;AAyEA,eAAe1B,QAAf"}
@@ -0,0 +1,3 @@
1
+ export { default as TextArea } from './TextArea';
2
+ export type { TextAreaProps } from './TextArea';
3
+ export { TextAreaInputBase } from './styled';
@@ -0,0 +1,3 @@
1
+ export { default as TextArea } from './TextArea';
2
+ export { TextAreaInputBase } from './styled';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default","TextArea","TextAreaInputBase"],"sources":["../../../../src/components/molecules/TextArea/index.ts"],"sourcesContent":["export { default as TextArea } from './TextArea';\nexport type { TextAreaProps } from './TextArea';\nexport { TextAreaInputBase } from './styled';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAApB,QAAoC,YAApC;AAEA,SAASC,iBAAT,QAAkC,UAAlC"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { TextAreaProps } from './TextArea';
3
+ export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("../../atoms/Input").InputContainerProps & Partial<import("../../atoms/Input").InputElementProps> & {
4
+ children?: import("react").ReactNode;
5
+ } & {
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: import("react").ElementType<any> | undefined;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
9
+ export declare const TextAreaInputBase: import("@emotion/native").StyledComponent<import("../../atoms/Input").InputElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
+ } & Partial<TextAreaProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
@@ -0,0 +1,14 @@
1
+ var _templateObject, _templateObject2;
2
+
3
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
4
+
5
+ import styled from '@emotion/native';
6
+ import { extractNumbersFromString, RFValue, RFValueStr } from '../../../utils';
7
+ import { InputContainer, InputElement } from '../../atoms/Input';
8
+ export var StyledInputContainer = styled(InputContainer)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-height: ", ";\n"])), RFValueStr('50px'));
9
+ export var TextAreaInputBase = styled(InputElement)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-height: ", ";\n width: 100%;\n padding: 0;\n margin: ", " 0;\n"])), function (_ref) {
10
+ var theme = _ref.theme,
11
+ numberOfLines = _ref.numberOfLines;
12
+ return "".concat(RFValue(extractNumbersFromString(theme.typography.h5.lineHeight) * (numberOfLines || 1)), "px");
13
+ }, RFValueStr('3px'));
14
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","names":["styled","extractNumbersFromString","RFValue","RFValueStr","InputContainer","InputElement","StyledInputContainer","TextAreaInputBase","theme","numberOfLines","typography","h5","lineHeight"],"sources":["../../../../src/components/molecules/TextArea/styled.ts"],"sourcesContent":["import styled from '@emotion/native';\nimport { StyleProps } from '@tecsinapse/react-core';\nimport { extractNumbersFromString, RFValue, RFValueStr } from '../../../utils';\nimport { InputContainer, InputElement } from '../../atoms/Input';\nimport { TextAreaProps } from './TextArea';\n\nexport const StyledInputContainer = styled(InputContainer)<Partial<StyleProps>>`\n min-height: ${RFValueStr('50px')};\n`;\n\nexport const TextAreaInputBase = styled(InputElement)<\n Partial<TextAreaProps> & Partial<StyleProps>\n>`\n max-height: ${({ theme, numberOfLines }) =>\n `${RFValue(\n extractNumbersFromString(theme.typography.h5.lineHeight) *\n (numberOfLines || 1)\n )}px`};\n width: 100%;\n padding: 0;\n margin: ${RFValueStr('3px')} 0;\n`;\n"],"mappings":";;;;AAAA,OAAOA,MAAP,MAAmB,iBAAnB;AAEA,SAASC,wBAAT,EAAmCC,OAAnC,EAA4CC,UAA5C,QAA8D,gBAA9D;AACA,SAASC,cAAT,EAAyBC,YAAzB,QAA6C,mBAA7C;AAGA,OAAO,IAAMC,oBAAoB,GAAGN,MAAM,CAACI,cAAD,CAAT,6FACjBD,UAAU,CAAC,MAAD,CADO,CAA1B;AAIP,OAAO,IAAMI,iBAAiB,GAAGP,MAAM,CAACK,YAAD,CAAT,iJAGd;EAAA,IAAGG,KAAH,QAAGA,KAAH;EAAA,IAAUC,aAAV,QAAUA,aAAV;EAAA,iBACTP,OAAO,CACRD,wBAAwB,CAACO,KAAK,CAACE,UAAN,CAAiBC,EAAjB,CAAoBC,UAArB,CAAxB,IACGH,aAAa,IAAI,CADpB,CADQ,CADE;AAAA,CAHc,EAUlBN,UAAU,CAAC,KAAD,CAVQ,CAAvB"}
@@ -0,0 +1,2 @@
1
+ export { useDebouncedState } from './useDebouncedState';
2
+ export { useTheme } from './useTheme';
@@ -0,0 +1,3 @@
1
+ export { useDebouncedState } from './useDebouncedState';
2
+ export { useTheme } from './useTheme';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["useDebouncedState","useTheme"],"sources":["../../src/hooks/index.ts"],"sourcesContent":["export { useDebouncedState } from './useDebouncedState';\nexport { useTheme } from './useTheme';\n"],"mappings":"AAAA,SAASA,iBAAT,QAAkC,qBAAlC;AACA,SAASC,QAAT,QAAyB,YAAzB"}
@@ -0,0 +1,2 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ export declare function useDebouncedState<S>(initialState: S | (() => S), timeoutCallback?: (state: S) => void, timeoutMs?: number): [S, Dispatch<SetStateAction<S>>];
@@ -0,0 +1,31 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+
3
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
+
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
+
9
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
10
+
11
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
+
13
+ import { useEffect, useRef, useState } from 'react';
14
+ export function useDebouncedState(initialState, timeoutCallback) {
15
+ var timeoutMs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 166;
16
+ var timeoutId = useRef();
17
+
18
+ var _useState = useState(initialState),
19
+ _useState2 = _slicedToArray(_useState, 2),
20
+ state = _useState2[0],
21
+ setState = _useState2[1];
22
+
23
+ useEffect(function () {
24
+ if (timeoutId.current) clearTimeout(timeoutId.current);
25
+ if (timeoutCallback) timeoutId.current = setTimeout(function () {
26
+ return timeoutCallback(state);
27
+ }, timeoutMs);
28
+ }, [state]);
29
+ return [state, setState];
30
+ }
31
+ //# sourceMappingURL=useDebouncedState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebouncedState.js","names":["useEffect","useRef","useState","useDebouncedState","initialState","timeoutCallback","timeoutMs","timeoutId","state","setState","current","clearTimeout","setTimeout"],"sources":["../../src/hooks/useDebouncedState.ts"],"sourcesContent":["import { Dispatch, SetStateAction, useEffect, useRef, useState } from 'react';\n\n/**\n * @param initialState\n * @param timeoutCallback callback to be called after bouncing ends. Should be memoized.\n * @param timeoutMs\n */\nexport function useDebouncedState<S>(\n initialState: S | (() => S),\n timeoutCallback?: (state: S) => void,\n timeoutMs = 166\n): [S, Dispatch<SetStateAction<S>>] {\n const timeoutId = useRef<number>();\n\n const [state, setState] = useState<S>(initialState);\n\n useEffect(() => {\n if (timeoutId.current) clearTimeout(timeoutId.current);\n if (timeoutCallback)\n timeoutId.current = setTimeout(() => timeoutCallback(state), timeoutMs);\n }, [state]);\n\n return [state, setState];\n}\n"],"mappings":";;;;;;;;;;;;AAAA,SAAmCA,SAAnC,EAA8CC,MAA9C,EAAsDC,QAAtD,QAAsE,OAAtE;AAOA,OAAO,SAASC,iBAAT,CACLC,YADK,EAELC,eAFK,EAI6B;EAAA,IADlCC,SACkC,uEADtB,GACsB;EAClC,IAAMC,SAAS,GAAGN,MAAM,EAAxB;;EAEA,gBAA0BC,QAAQ,CAAIE,YAAJ,CAAlC;EAAA;EAAA,IAAOI,KAAP;EAAA,IAAcC,QAAd;;EAEAT,SAAS,CAAC,YAAM;IACd,IAAIO,SAAS,CAACG,OAAd,EAAuBC,YAAY,CAACJ,SAAS,CAACG,OAAX,CAAZ;IACvB,IAAIL,eAAJ,EACEE,SAAS,CAACG,OAAV,GAAoBE,UAAU,CAAC;MAAA,OAAMP,eAAe,CAACG,KAAD,CAArB;IAAA,CAAD,EAA+BF,SAA/B,CAA9B;EACH,CAJQ,EAIN,CAACE,KAAD,CAJM,CAAT;EAMA,OAAO,CAACA,KAAD,EAAQC,QAAR,CAAP;AACD"}
@@ -0,0 +1,2 @@
1
+ import { ThemeProp } from '../types/defaults';
2
+ export declare const useTheme: () => ThemeProp;
@@ -0,0 +1,5 @@
1
+ import { useTheme as useEmotionTheme } from '@emotion/react';
2
+ export var useTheme = function useTheme() {
3
+ return useEmotionTheme();
4
+ };
5
+ //# sourceMappingURL=useTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTheme.js","names":["useTheme","useEmotionTheme"],"sources":["../../src/hooks/useTheme.ts"],"sourcesContent":["import { useTheme as useEmotionTheme } from '@emotion/react';\nimport { ThemeProp } from '../types/defaults';\n\nexport const useTheme = (): ThemeProp => useEmotionTheme() as ThemeProp;\n"],"mappings":"AAAA,SAASA,QAAQ,IAAIC,eAArB,QAA4C,gBAA5C;AAGA,OAAO,IAAMD,QAAQ,GAAG,SAAXA,QAAW;EAAA,OAAiBC,eAAe,EAAhC;AAAA,CAAjB"}
package/esm/index.d.ts ADDED
@@ -0,0 +1,64 @@
1
+ export { Avatar } from './components/atoms/Avatar';
2
+ export type { AvatarProps } from './components/atoms/Avatar';
3
+ export { Badge } from './components/atoms/Badge';
4
+ export type { BadgeProps } from './components/atoms/Badge';
5
+ export { BoxContent } from './components/atoms/BoxContent';
6
+ export type { BoxContentProps } from './components/atoms/BoxContent';
7
+ export { Button, Error, Loading, Success } from './components/atoms/Button';
8
+ export type { ButtonProps, ButtonSizeType, ButtonStateProps, ButtonStateType, } from './components/atoms/Button';
9
+ export { Card } from './components/atoms/Card';
10
+ export type { CardProps } from './components/atoms/Card';
11
+ export { Footer } from './components/atoms/Card/Footer';
12
+ export type { FooterProps } from './components/atoms/Card/Footer';
13
+ export { Header } from './components/atoms/Card/Header';
14
+ export type { HeaderProps } from './components/atoms/Card/Header';
15
+ export { Checkbox } from './components/atoms/Checkbox';
16
+ export type { CheckboxProps } from './components/atoms/Checkbox';
17
+ export { Divider } from './components/atoms/Divider';
18
+ export type { DividerProps } from './components/atoms/Divider';
19
+ export { GroupButton, GroupButtonOption } from './components/atoms/GroupButton';
20
+ export type { GroupButtonOptionProps, GroupButtonProps, GroupButtonValue, } from './components/atoms/GroupButton';
21
+ export { Icon } from './components/atoms/Icon';
22
+ export type { IconProps } from './components/atoms/Icon';
23
+ export { disabledInputStyles, Hint, InputContainer, InputElement, InputMaskElement, PressableInputContainer, StyledBorderKeeper, useInputFocus, useNumberMask, useStringMask, } from './components/atoms/Input';
24
+ export type { InputContainerProps, InputElementProps, InputMaskElementProps, InputVariantType, PressableInputContainerProps, } from './components/atoms/Input';
25
+ export { Paper } from './components/atoms/Paper';
26
+ export type { PaperProps } from './components/atoms/Paper';
27
+ export { PressableSurface } from './components/atoms/PressableSurface';
28
+ export type { PressableSurfaceProps } from './components/atoms/PressableSurface';
29
+ export { ProgressBar } from './components/atoms/ProgressBar';
30
+ export type { ProgressBarProps } from './components/atoms/ProgressBar';
31
+ export { RadioButton } from './components/atoms/RadioButton';
32
+ export type { RadioButtonProps } from './components/atoms/RadioButton';
33
+ export { Switch } from './components/atoms/Switch';
34
+ export type { SwitchProps } from './components/atoms/Switch';
35
+ export { Tag } from './components/atoms/Tag';
36
+ export type { TagProps } from './components/atoms/Tag';
37
+ export { Text } from './components/atoms/Text';
38
+ export type { TextProps } from './components/atoms/Text';
39
+ export { Calendar } from './components/molecules/Calendar';
40
+ export type { CalendarProps, DateRange, SelectionType, Value, } from './components/molecules/Calendar';
41
+ export { DatePicker } from './components/molecules/DatePicker';
42
+ export type { DatePickerProps } from './components/molecules/DatePicker';
43
+ export { DateTimePicker } from './components/molecules/DateTimePicker';
44
+ export type { DateTimePickerProps } from './components/molecules/DateTimePicker';
45
+ export { DateTimeSelector } from './components/molecules/DateTimeSelector';
46
+ export type { DateTimeSelectorMode, DateTimeSelectorProps, } from './components/molecules/DateTimeSelector';
47
+ export { getGridItemPadding, getGridItemColumSpan, } from './components/molecules/Grid';
48
+ export type { GridSpacing, IGridItem, IGrid, FlexAlignBase, FlexAlignType, FlexPositioning, FlexSpacing, PaddingPosition, } from './components/molecules/Grid';
49
+ export { HintInputContainer } from './components/molecules/HintInputContainer';
50
+ export type { HintInputContainerProps } from './components/molecules/HintInputContainer';
51
+ export { IconComponent } from './components/molecules/IconTextButton';
52
+ export type { IconPositionOptions, IconTextButtonProps, } from './components/molecules/IconTextButton';
53
+ export { InputPasswordIcon } from './components/molecules/InputPassword';
54
+ export type { LabeledSwitchProps, LabelPositionOptions, } from './components/molecules/LabeledSwitch';
55
+ export { Snackbar } from './components/molecules/Snackbar';
56
+ export type { SnackbarProps } from './components/molecules/Snackbar';
57
+ export { TextArea, TextAreaInputBase } from './components/molecules/TextArea';
58
+ export type { TextAreaProps } from './components/molecules/TextArea';
59
+ export * from './hooks';
60
+ export * from './styles/definitions';
61
+ export * from './styles/light';
62
+ export { default as ThemeProvider } from './styles/ThemeProvider';
63
+ export * from './types/defaults';
64
+ export * from './utils';
package/esm/index.js ADDED
@@ -0,0 +1,36 @@
1
+ export { Avatar } from './components/atoms/Avatar';
2
+ export { Badge } from './components/atoms/Badge';
3
+ export { BoxContent } from './components/atoms/BoxContent';
4
+ export { Button, Error, Loading, Success } from './components/atoms/Button';
5
+ export { Card } from './components/atoms/Card';
6
+ export { Footer } from './components/atoms/Card/Footer';
7
+ export { Header } from './components/atoms/Card/Header';
8
+ export { Checkbox } from './components/atoms/Checkbox';
9
+ export { Divider } from './components/atoms/Divider';
10
+ export { GroupButton, GroupButtonOption } from './components/atoms/GroupButton';
11
+ export { Icon } from './components/atoms/Icon';
12
+ export { disabledInputStyles, Hint, InputContainer, InputElement, InputMaskElement, PressableInputContainer, StyledBorderKeeper, useInputFocus, useNumberMask, useStringMask } from './components/atoms/Input';
13
+ export { Paper } from './components/atoms/Paper';
14
+ export { PressableSurface } from './components/atoms/PressableSurface';
15
+ export { ProgressBar } from './components/atoms/ProgressBar';
16
+ export { RadioButton } from './components/atoms/RadioButton';
17
+ export { Switch } from './components/atoms/Switch';
18
+ export { Tag } from './components/atoms/Tag';
19
+ export { Text } from './components/atoms/Text';
20
+ export { Calendar } from './components/molecules/Calendar';
21
+ export { DatePicker } from './components/molecules/DatePicker';
22
+ export { DateTimePicker } from './components/molecules/DateTimePicker';
23
+ export { DateTimeSelector } from './components/molecules/DateTimeSelector';
24
+ export { getGridItemPadding, getGridItemColumSpan } from './components/molecules/Grid';
25
+ export { HintInputContainer } from './components/molecules/HintInputContainer';
26
+ export { IconComponent } from './components/molecules/IconTextButton';
27
+ export { InputPasswordIcon } from './components/molecules/InputPassword';
28
+ export { Snackbar } from './components/molecules/Snackbar';
29
+ export { TextArea, TextAreaInputBase } from './components/molecules/TextArea';
30
+ export * from './hooks';
31
+ export * from './styles/definitions';
32
+ export * from './styles/light';
33
+ export { default as ThemeProvider } from './styles/ThemeProvider';
34
+ export * from './types/defaults';
35
+ export * from './utils';
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Avatar","Badge","BoxContent","Button","Error","Loading","Success","Card","Footer","Header","Checkbox","Divider","GroupButton","GroupButtonOption","Icon","disabledInputStyles","Hint","InputContainer","InputElement","InputMaskElement","PressableInputContainer","StyledBorderKeeper","useInputFocus","useNumberMask","useStringMask","Paper","PressableSurface","ProgressBar","RadioButton","Switch","Tag","Text","Calendar","DatePicker","DateTimePicker","DateTimeSelector","getGridItemPadding","getGridItemColumSpan","HintInputContainer","IconComponent","InputPasswordIcon","Snackbar","TextArea","TextAreaInputBase","default","ThemeProvider"],"sources":["../src/index.ts"],"sourcesContent":["export { Avatar } from './components/atoms/Avatar';\nexport type { AvatarProps } from './components/atoms/Avatar';\nexport { Badge } from './components/atoms/Badge';\nexport type { BadgeProps } from './components/atoms/Badge';\nexport { BoxContent } from './components/atoms/BoxContent';\nexport type { BoxContentProps } from './components/atoms/BoxContent';\nexport { Button, Error, Loading, Success } from './components/atoms/Button';\nexport type {\n ButtonProps,\n ButtonSizeType,\n ButtonStateProps,\n ButtonStateType,\n} from './components/atoms/Button';\nexport { Card } from './components/atoms/Card';\nexport type { CardProps } from './components/atoms/Card';\nexport { Footer } from './components/atoms/Card/Footer';\nexport type { FooterProps } from './components/atoms/Card/Footer';\nexport { Header } from './components/atoms/Card/Header';\nexport type { HeaderProps } from './components/atoms/Card/Header';\nexport { Checkbox } from './components/atoms/Checkbox';\nexport type { CheckboxProps } from './components/atoms/Checkbox';\nexport { Divider } from './components/atoms/Divider';\nexport type { DividerProps } from './components/atoms/Divider';\nexport { GroupButton, GroupButtonOption } from './components/atoms/GroupButton';\nexport type {\n GroupButtonOptionProps,\n GroupButtonProps,\n GroupButtonValue,\n} from './components/atoms/GroupButton';\nexport { Icon } from './components/atoms/Icon';\nexport type { IconProps } from './components/atoms/Icon';\nexport {\n disabledInputStyles,\n Hint,\n InputContainer,\n InputElement,\n InputMaskElement,\n PressableInputContainer,\n StyledBorderKeeper,\n useInputFocus,\n useNumberMask,\n useStringMask,\n} from './components/atoms/Input';\nexport type {\n InputContainerProps,\n InputElementProps,\n InputMaskElementProps,\n InputVariantType,\n PressableInputContainerProps,\n} from './components/atoms/Input';\nexport { Paper } from './components/atoms/Paper';\nexport type { PaperProps } from './components/atoms/Paper';\nexport { PressableSurface } from './components/atoms/PressableSurface';\nexport type { PressableSurfaceProps } from './components/atoms/PressableSurface';\nexport { ProgressBar } from './components/atoms/ProgressBar';\nexport type { ProgressBarProps } from './components/atoms/ProgressBar';\nexport { RadioButton } from './components/atoms/RadioButton';\nexport type { RadioButtonProps } from './components/atoms/RadioButton';\nexport { Switch } from './components/atoms/Switch';\nexport type { SwitchProps } from './components/atoms/Switch';\nexport { Tag } from './components/atoms/Tag';\nexport type { TagProps } from './components/atoms/Tag';\nexport { Text } from './components/atoms/Text';\nexport type { TextProps } from './components/atoms/Text';\nexport { Calendar } from './components/molecules/Calendar';\nexport type {\n CalendarProps,\n DateRange,\n SelectionType,\n Value,\n} from './components/molecules/Calendar';\nexport { DatePicker } from './components/molecules/DatePicker';\nexport type { DatePickerProps } from './components/molecules/DatePicker';\nexport { DateTimePicker } from './components/molecules/DateTimePicker';\nexport type { DateTimePickerProps } from './components/molecules/DateTimePicker';\nexport { DateTimeSelector } from './components/molecules/DateTimeSelector';\nexport type {\n DateTimeSelectorMode,\n DateTimeSelectorProps,\n} from './components/molecules/DateTimeSelector';\nexport {\n getGridItemPadding,\n getGridItemColumSpan,\n} from './components/molecules/Grid';\nexport type {\n GridSpacing,\n IGridItem,\n IGrid,\n FlexAlignBase,\n FlexAlignType,\n FlexPositioning,\n FlexSpacing,\n PaddingPosition,\n} from './components/molecules/Grid';\nexport { HintInputContainer } from './components/molecules/HintInputContainer';\nexport type { HintInputContainerProps } from './components/molecules/HintInputContainer';\nexport { IconComponent } from './components/molecules/IconTextButton';\nexport type {\n IconPositionOptions,\n IconTextButtonProps,\n} from './components/molecules/IconTextButton';\nexport { InputPasswordIcon } from './components/molecules/InputPassword';\nexport type {\n LabeledSwitchProps,\n LabelPositionOptions,\n} from './components/molecules/LabeledSwitch';\nexport { Snackbar } from './components/molecules/Snackbar';\nexport type { SnackbarProps } from './components/molecules/Snackbar';\nexport { TextArea, TextAreaInputBase } from './components/molecules/TextArea';\nexport type { TextAreaProps } from './components/molecules/TextArea';\nexport * from './hooks';\nexport * from './styles/definitions';\nexport * from './styles/light';\nexport { default as ThemeProvider } from './styles/ThemeProvider';\nexport * from './types/defaults';\nexport * from './utils';\n"],"mappings":"AAAA,SAASA,MAAT,QAAuB,2BAAvB;AAEA,SAASC,KAAT,QAAsB,0BAAtB;AAEA,SAASC,UAAT,QAA2B,+BAA3B;AAEA,SAASC,MAAT,EAAiBC,KAAjB,EAAwBC,OAAxB,EAAiCC,OAAjC,QAAgD,2BAAhD;AAOA,SAASC,IAAT,QAAqB,yBAArB;AAEA,SAASC,MAAT,QAAuB,gCAAvB;AAEA,SAASC,MAAT,QAAuB,gCAAvB;AAEA,SAASC,QAAT,QAAyB,6BAAzB;AAEA,SAASC,OAAT,QAAwB,4BAAxB;AAEA,SAASC,WAAT,EAAsBC,iBAAtB,QAA+C,gCAA/C;AAMA,SAASC,IAAT,QAAqB,yBAArB;AAEA,SACEC,mBADF,EAEEC,IAFF,EAGEC,cAHF,EAIEC,YAJF,EAKEC,gBALF,EAMEC,uBANF,EAOEC,kBAPF,EAQEC,aARF,EASEC,aATF,EAUEC,aAVF,QAWO,0BAXP;AAmBA,SAASC,KAAT,QAAsB,0BAAtB;AAEA,SAASC,gBAAT,QAAiC,qCAAjC;AAEA,SAASC,WAAT,QAA4B,gCAA5B;AAEA,SAASC,WAAT,QAA4B,gCAA5B;AAEA,SAASC,MAAT,QAAuB,2BAAvB;AAEA,SAASC,GAAT,QAAoB,wBAApB;AAEA,SAASC,IAAT,QAAqB,yBAArB;AAEA,SAASC,QAAT,QAAyB,iCAAzB;AAOA,SAASC,UAAT,QAA2B,mCAA3B;AAEA,SAASC,cAAT,QAA+B,uCAA/B;AAEA,SAASC,gBAAT,QAAiC,yCAAjC;AAKA,SACEC,kBADF,EAEEC,oBAFF,QAGO,6BAHP;AAcA,SAASC,kBAAT,QAAmC,2CAAnC;AAEA,SAASC,aAAT,QAA8B,uCAA9B;AAKA,SAASC,iBAAT,QAAkC,sCAAlC;AAKA,SAASC,QAAT,QAAyB,iCAAzB;AAEA,SAASC,QAAT,EAAmBC,iBAAnB,QAA4C,iCAA5C;AAEA,cAAc,SAAd;AACA,cAAc,sBAAd;AACA,cAAc,gBAAd;AACA,SAASC,OAAO,IAAIC,aAApB,QAAyC,wBAAzC;AACA,cAAc,kBAAd;AACA,cAAc,SAAd"}
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ThemeProviderProps } from '../types/defaults';
3
+ declare const ThemeProvider: FC<ThemeProviderProps>;
4
+ export default ThemeProvider;