@tecsinapse/react-core 1.20.0 → 1.21.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 (573) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/components/atoms/Avatar/Avatar.d.ts +1 -1
  3. package/dist/components/atoms/Avatar/Avatar.js +30 -42
  4. package/dist/components/atoms/Avatar/Avatar.js.map +1 -1
  5. package/dist/components/atoms/Avatar/Avatar.stories.d.ts +9 -0
  6. package/dist/components/atoms/Avatar/helpers.js +6 -11
  7. package/dist/components/atoms/Avatar/helpers.js.map +1 -1
  8. package/dist/components/atoms/Avatar/styled.js +41 -54
  9. package/dist/components/atoms/Avatar/styled.js.map +1 -1
  10. package/dist/components/atoms/Badge/Badge.js +17 -23
  11. package/dist/components/atoms/Badge/Badge.js.map +1 -1
  12. package/dist/components/atoms/Badge/styled.js +44 -31
  13. package/dist/components/atoms/Badge/styled.js.map +1 -1
  14. package/dist/components/atoms/BoxContent/BoxContent.js +38 -18
  15. package/dist/components/atoms/BoxContent/BoxContent.js.map +1 -1
  16. package/dist/components/atoms/BoxContent/BoxContent.stories.d.ts +9 -0
  17. package/dist/components/atoms/BoxContent/styled.d.ts +1 -1
  18. package/dist/components/atoms/BoxContent/styled.js +53 -73
  19. package/dist/components/atoms/BoxContent/styled.js.map +1 -1
  20. package/dist/components/atoms/Button/Button.js +77 -51
  21. package/dist/components/atoms/Button/Button.js.map +1 -1
  22. package/dist/components/atoms/Button/States/BaseState.d.ts +1 -1
  23. package/dist/components/atoms/Button/States/BaseState.js +27 -36
  24. package/dist/components/atoms/Button/States/BaseState.js.map +1 -1
  25. package/dist/components/atoms/Button/States/Error.d.ts +1 -1
  26. package/dist/components/atoms/Button/States/Error.js +28 -17
  27. package/dist/components/atoms/Button/States/Error.js.map +1 -1
  28. package/dist/components/atoms/Button/States/Loading.d.ts +1 -1
  29. package/dist/components/atoms/Button/States/Loading.js +26 -35
  30. package/dist/components/atoms/Button/States/Loading.js.map +1 -1
  31. package/dist/components/atoms/Button/States/Success.d.ts +1 -1
  32. package/dist/components/atoms/Button/States/Success.js +28 -17
  33. package/dist/components/atoms/Button/States/Success.js.map +1 -1
  34. package/dist/components/atoms/Button/States/styled.js +17 -39
  35. package/dist/components/atoms/Button/States/styled.js.map +1 -1
  36. package/dist/components/atoms/Button/styled.js +52 -50
  37. package/dist/components/atoms/Button/styled.js.map +1 -1
  38. package/dist/components/atoms/Card/Card.js +52 -28
  39. package/dist/components/atoms/Card/Card.js.map +1 -1
  40. package/dist/components/atoms/Card/Card.stories.d.ts +9 -0
  41. package/dist/components/atoms/Card/Footer/Footer.js +10 -21
  42. package/dist/components/atoms/Card/Footer/Footer.js.map +1 -1
  43. package/dist/components/atoms/Card/Header/Header.js +10 -21
  44. package/dist/components/atoms/Card/Header/Header.js.map +1 -1
  45. package/dist/components/atoms/Card/styled.js +14 -17
  46. package/dist/components/atoms/Card/styled.js.map +1 -1
  47. package/dist/components/atoms/Checkbox/Checkbox.js +66 -39
  48. package/dist/components/atoms/Checkbox/Checkbox.js.map +1 -1
  49. package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +9 -0
  50. package/dist/components/atoms/Checkbox/styled.js +39 -68
  51. package/dist/components/atoms/Checkbox/styled.js.map +1 -1
  52. package/dist/components/atoms/Divider/Divider.js +38 -18
  53. package/dist/components/atoms/Divider/Divider.js.map +1 -1
  54. package/dist/components/atoms/Divider/Divider.stories.d.ts +9 -0
  55. package/dist/components/atoms/Divider/styled.js +30 -43
  56. package/dist/components/atoms/Divider/styled.js.map +1 -1
  57. package/dist/components/atoms/GroupButton/GroupButton.js +68 -47
  58. package/dist/components/atoms/GroupButton/GroupButton.js.map +1 -1
  59. package/dist/components/atoms/GroupButton/GroupButton.stories.d.ts +8 -0
  60. package/dist/components/atoms/GroupButton/GroupButtonOption.js +16 -23
  61. package/dist/components/atoms/GroupButton/GroupButtonOption.js.map +1 -1
  62. package/dist/components/atoms/GroupButton/styled.js +113 -124
  63. package/dist/components/atoms/GroupButton/styled.js.map +1 -1
  64. package/dist/components/atoms/Icon/Icon.js +64 -31
  65. package/dist/components/atoms/Icon/Icon.js.map +1 -1
  66. package/dist/components/atoms/Icon/Icon.stories.d.ts +9 -0
  67. package/dist/components/atoms/Icon/helpers.d.ts +2 -2
  68. package/dist/components/atoms/Icon/helpers.js +110 -77
  69. package/dist/components/atoms/Icon/helpers.js.map +1 -1
  70. package/dist/components/atoms/Input/Hint.js +19 -34
  71. package/dist/components/atoms/Input/Hint.js.map +1 -1
  72. package/dist/components/atoms/Input/InputContainer/InputContainer.js +81 -44
  73. package/dist/components/atoms/Input/InputContainer/InputContainer.js.map +1 -1
  74. package/dist/components/atoms/Input/InputElement/InputElement.js +68 -40
  75. package/dist/components/atoms/Input/InputElement/InputElement.js.map +1 -1
  76. package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js +109 -83
  77. package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +1 -1
  78. package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +67 -31
  79. package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +1 -1
  80. package/dist/components/atoms/Input/PressableInputContainer/styled.js +9 -12
  81. package/dist/components/atoms/Input/PressableInputContainer/styled.js.map +1 -1
  82. package/dist/components/atoms/Input/hooks/useInputFocus.d.ts +1 -1
  83. package/dist/components/atoms/Input/hooks/useInputFocus.js +8 -12
  84. package/dist/components/atoms/Input/hooks/useInputFocus.js.map +1 -1
  85. package/dist/components/atoms/Input/hooks/useNumberMask.d.ts +2 -2
  86. package/dist/components/atoms/Input/hooks/useNumberMask.js +67 -66
  87. package/dist/components/atoms/Input/hooks/useNumberMask.js.map +1 -1
  88. package/dist/components/atoms/Input/hooks/useStringMask.d.ts +1 -1
  89. package/dist/components/atoms/Input/hooks/useStringMask.js +49 -60
  90. package/dist/components/atoms/Input/hooks/useStringMask.js.map +1 -1
  91. package/dist/components/atoms/Input/styled.js +106 -144
  92. package/dist/components/atoms/Input/styled.js.map +1 -1
  93. package/dist/components/atoms/Paper/Paper.js +47 -21
  94. package/dist/components/atoms/Paper/Paper.js.map +1 -1
  95. package/dist/components/atoms/Paper/Paper.stories.d.ts +9 -0
  96. package/dist/components/atoms/Paper/styled.js +14 -17
  97. package/dist/components/atoms/Paper/styled.js.map +1 -1
  98. package/dist/components/atoms/PressableSurface/PressableSurface.js +78 -68
  99. package/dist/components/atoms/PressableSurface/PressableSurface.js.map +1 -1
  100. package/dist/components/atoms/ProgressBar/ProgressBar.js +88 -44
  101. package/dist/components/atoms/ProgressBar/ProgressBar.js.map +1 -1
  102. package/dist/components/atoms/ProgressBar/ProgressBar.stories.d.ts +9 -0
  103. package/dist/components/atoms/ProgressBar/styled.js +39 -51
  104. package/dist/components/atoms/ProgressBar/styled.js.map +1 -1
  105. package/dist/components/atoms/RadioButton/RadioButton.js +60 -33
  106. package/dist/components/atoms/RadioButton/RadioButton.js.map +1 -1
  107. package/dist/components/atoms/RadioButton/RadioButton.stories.d.ts +9 -0
  108. package/dist/components/atoms/RadioButton/styled.js +28 -44
  109. package/dist/components/atoms/RadioButton/styled.js.map +1 -1
  110. package/dist/components/atoms/Switch/Switch.js +94 -73
  111. package/dist/components/atoms/Switch/Switch.js.map +1 -1
  112. package/dist/components/atoms/Switch/Switch.stories.d.ts +9 -0
  113. package/dist/components/atoms/Switch/animation.js +12 -20
  114. package/dist/components/atoms/Switch/animation.js.map +1 -1
  115. package/dist/components/atoms/Switch/styled.js +36 -44
  116. package/dist/components/atoms/Switch/styled.js.map +1 -1
  117. package/dist/components/atoms/Tag/Tag.js +65 -45
  118. package/dist/components/atoms/Tag/Tag.js.map +1 -1
  119. package/dist/components/atoms/Tag/styled.js +43 -63
  120. package/dist/components/atoms/Tag/styled.js.map +1 -1
  121. package/dist/components/atoms/Text/Text.js +71 -37
  122. package/dist/components/atoms/Text/Text.js.map +1 -1
  123. package/dist/components/atoms/Text/Text.stories.d.ts +9 -0
  124. package/dist/components/atoms/Text/functions.js +5 -10
  125. package/dist/components/atoms/Text/functions.js.map +1 -1
  126. package/dist/components/atoms/Text/styled.js +29 -67
  127. package/dist/components/atoms/Text/styled.js.map +1 -1
  128. package/dist/components/atoms/shared/PaperAndCard.d.ts +1 -1
  129. package/dist/components/atoms/shared/PaperAndCard.js +17 -32
  130. package/dist/components/atoms/shared/PaperAndCard.js.map +1 -1
  131. package/dist/components/molecules/Calendar/Calendar.js +148 -98
  132. package/dist/components/molecules/Calendar/Calendar.js.map +1 -1
  133. package/dist/components/molecules/Calendar/Calendar.stories.d.ts +8 -0
  134. package/dist/components/molecules/Calendar/components/MonthWeek.js +92 -125
  135. package/dist/components/molecules/Calendar/components/MonthWeek.js.map +1 -1
  136. package/dist/components/molecules/Calendar/components/Weekdays.js +16 -29
  137. package/dist/components/molecules/Calendar/components/Weekdays.js.map +1 -1
  138. package/dist/components/molecules/Calendar/styled.js +88 -91
  139. package/dist/components/molecules/Calendar/styled.js.map +1 -1
  140. package/dist/components/molecules/DatePicker/DatePicker.js +133 -86
  141. package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -1
  142. package/dist/components/molecules/DatePicker/styled.js +34 -40
  143. package/dist/components/molecules/DatePicker/styled.js.map +1 -1
  144. package/dist/components/molecules/DateTimePicker/DateTimePicker.js +150 -85
  145. package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
  146. package/dist/components/molecules/DateTimePicker/styled.js +10 -18
  147. package/dist/components/molecules/DateTimePicker/styled.js.map +1 -1
  148. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js +174 -146
  149. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -1
  150. package/dist/components/molecules/DateTimeSelector/Selector.js +101 -69
  151. package/dist/components/molecules/DateTimeSelector/Selector.js.map +1 -1
  152. package/dist/components/molecules/DateTimeSelector/styled.js +67 -105
  153. package/dist/components/molecules/DateTimeSelector/styled.js.map +1 -1
  154. package/dist/components/molecules/Grid/functions.d.ts +1 -1
  155. package/dist/components/molecules/Grid/functions.js +22 -16
  156. package/dist/components/molecules/Grid/functions.js.map +1 -1
  157. package/dist/components/molecules/HintInputContainer/HintInputContainer.js +84 -36
  158. package/dist/components/molecules/HintInputContainer/HintInputContainer.js.map +1 -1
  159. package/dist/components/molecules/IconTextButton/IconComponent.js +38 -31
  160. package/dist/components/molecules/IconTextButton/IconComponent.js.map +1 -1
  161. package/dist/components/molecules/InputPassword/InputPasswordIcon.js +53 -28
  162. package/dist/components/molecules/InputPassword/InputPasswordIcon.js.map +1 -1
  163. package/dist/components/molecules/InputPassword/styled.js +15 -18
  164. package/dist/components/molecules/InputPassword/styled.js.map +1 -1
  165. package/dist/components/molecules/Snackbar/Snackbar.d.ts +1 -1
  166. package/dist/components/molecules/Snackbar/Snackbar.js +64 -71
  167. package/dist/components/molecules/Snackbar/Snackbar.js.map +1 -1
  168. package/dist/components/molecules/Snackbar/styled.js +92 -73
  169. package/dist/components/molecules/Snackbar/styled.js.map +1 -1
  170. package/dist/components/molecules/TextArea/TextArea.js +63 -72
  171. package/dist/components/molecules/TextArea/TextArea.js.map +1 -1
  172. package/dist/components/molecules/TextArea/styled.js +33 -27
  173. package/dist/components/molecules/TextArea/styled.js.map +1 -1
  174. package/dist/hooks/useDebouncedState.js +14 -14
  175. package/dist/hooks/useDebouncedState.js.map +1 -1
  176. package/dist/hooks/useTheme.js +5 -8
  177. package/dist/hooks/useTheme.js.map +1 -1
  178. package/dist/index.js +141 -455
  179. package/dist/index.js.map +1 -1
  180. package/dist/styles/ThemeProvider.js +13 -19
  181. package/dist/styles/ThemeProvider.js.map +1 -1
  182. package/dist/styles/definitions.js +107 -104
  183. package/dist/styles/definitions.js.map +1 -1
  184. package/dist/styles/light.js +47 -36
  185. package/dist/styles/light.js.map +1 -1
  186. package/dist/utils/IPhoneXHelper.js +13 -19
  187. package/dist/utils/IPhoneXHelper.js.map +1 -1
  188. package/dist/utils/ResponsiveFontSize.d.ts +1 -1
  189. package/dist/utils/ResponsiveFontSize.js +22 -42
  190. package/dist/utils/ResponsiveFontSize.js.map +1 -1
  191. package/dist/utils/extractNumbersFromString.js +6 -11
  192. package/dist/utils/extractNumbersFromString.js.map +1 -1
  193. package/dist/utils/formatWithMask.js +23 -20
  194. package/dist/utils/formatWithMask.js.map +1 -1
  195. package/dist/utils/lightenDarkenColor.js +19 -15
  196. package/dist/utils/lightenDarkenColor.js.map +1 -1
  197. package/dist/utils/masks.js +16 -18
  198. package/dist/utils/masks.js.map +1 -1
  199. package/dist/utils/variantComplement.js +24 -25
  200. package/dist/utils/variantComplement.js.map +1 -1
  201. package/esm/components/atoms/Avatar/Avatar.d.ts +1 -1
  202. package/esm/components/atoms/Avatar/Avatar.js +25 -43
  203. package/esm/components/atoms/Avatar/Avatar.js.map +1 -1
  204. package/esm/components/atoms/Avatar/helpers.js +6 -8
  205. package/esm/components/atoms/Avatar/helpers.js.map +1 -1
  206. package/esm/components/atoms/Avatar/styled.js +32 -30
  207. package/esm/components/atoms/Avatar/styled.js.map +1 -1
  208. package/esm/components/atoms/Badge/Badge.js +15 -16
  209. package/esm/components/atoms/Badge/Badge.js.map +1 -1
  210. package/esm/components/atoms/Badge/styled.js +34 -15
  211. package/esm/components/atoms/Badge/styled.js.map +1 -1
  212. package/esm/components/atoms/BoxContent/BoxContent.js +35 -15
  213. package/esm/components/atoms/BoxContent/BoxContent.js.map +1 -1
  214. package/esm/components/atoms/BoxContent/styled.d.ts +3 -16
  215. package/esm/components/atoms/BoxContent/styled.js +48 -49
  216. package/esm/components/atoms/BoxContent/styled.js.map +1 -1
  217. package/esm/components/atoms/Button/Button.js +79 -56
  218. package/esm/components/atoms/Button/Button.js.map +1 -1
  219. package/esm/components/atoms/Button/States/BaseState.d.ts +1 -1
  220. package/esm/components/atoms/Button/States/BaseState.js +22 -22
  221. package/esm/components/atoms/Button/States/BaseState.js.map +1 -1
  222. package/esm/components/atoms/Button/States/Error.d.ts +1 -1
  223. package/esm/components/atoms/Button/States/Error.js +26 -7
  224. package/esm/components/atoms/Button/States/Error.js.map +1 -1
  225. package/esm/components/atoms/Button/States/Loading.d.ts +1 -1
  226. package/esm/components/atoms/Button/States/Loading.js +20 -20
  227. package/esm/components/atoms/Button/States/Loading.js.map +1 -1
  228. package/esm/components/atoms/Button/States/Success.d.ts +1 -1
  229. package/esm/components/atoms/Button/States/Success.js +26 -7
  230. package/esm/components/atoms/Button/States/Success.js.map +1 -1
  231. package/esm/components/atoms/Button/States/styled.d.ts +2 -11
  232. package/esm/components/atoms/Button/States/styled.js +13 -22
  233. package/esm/components/atoms/Button/States/styled.js.map +1 -1
  234. package/esm/components/atoms/Button/styled.js +43 -35
  235. package/esm/components/atoms/Button/styled.js.map +1 -1
  236. package/esm/components/atoms/Card/Card.js +52 -27
  237. package/esm/components/atoms/Card/Card.js.map +1 -1
  238. package/esm/components/atoms/Card/Footer/Footer.js +6 -10
  239. package/esm/components/atoms/Card/Footer/Footer.js.map +1 -1
  240. package/esm/components/atoms/Card/Header/Header.js +6 -10
  241. package/esm/components/atoms/Card/Header/Header.js.map +1 -1
  242. package/esm/components/atoms/Card/styled.d.ts +1 -8
  243. package/esm/components/atoms/Card/styled.js +11 -9
  244. package/esm/components/atoms/Card/styled.js.map +1 -1
  245. package/esm/components/atoms/Checkbox/Checkbox.js +66 -40
  246. package/esm/components/atoms/Checkbox/Checkbox.js.map +1 -1
  247. package/esm/components/atoms/Checkbox/styled.d.ts +3 -7
  248. package/esm/components/atoms/Checkbox/styled.js +35 -48
  249. package/esm/components/atoms/Checkbox/styled.js.map +1 -1
  250. package/esm/components/atoms/Divider/Divider.js +35 -15
  251. package/esm/components/atoms/Divider/Divider.js.map +1 -1
  252. package/esm/components/atoms/Divider/styled.d.ts +1 -13
  253. package/esm/components/atoms/Divider/styled.js +21 -25
  254. package/esm/components/atoms/Divider/styled.js.map +1 -1
  255. package/esm/components/atoms/GroupButton/GroupButton.js +83 -62
  256. package/esm/components/atoms/GroupButton/GroupButton.js.map +1 -1
  257. package/esm/components/atoms/GroupButton/GroupButtonOption.js +13 -13
  258. package/esm/components/atoms/GroupButton/GroupButtonOption.js.map +1 -1
  259. package/esm/components/atoms/GroupButton/styled.js +101 -84
  260. package/esm/components/atoms/GroupButton/styled.js.map +1 -1
  261. package/esm/components/atoms/Icon/Icon.js +64 -33
  262. package/esm/components/atoms/Icon/Icon.js.map +1 -1
  263. package/esm/components/atoms/Icon/helpers.d.ts +1 -1
  264. package/esm/components/atoms/Icon/helpers.js +88 -64
  265. package/esm/components/atoms/Icon/helpers.js.map +1 -1
  266. package/esm/components/atoms/Input/Hint.js +18 -26
  267. package/esm/components/atoms/Input/Hint.js.map +1 -1
  268. package/esm/components/atoms/Input/InputContainer/InputContainer.js +88 -55
  269. package/esm/components/atoms/Input/InputContainer/InputContainer.js.map +1 -1
  270. package/esm/components/atoms/Input/InputElement/InputElement.js +64 -34
  271. package/esm/components/atoms/Input/InputElement/InputElement.js.map +1 -1
  272. package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js +102 -87
  273. package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +1 -1
  274. package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +50 -25
  275. package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +1 -1
  276. package/esm/components/atoms/Input/PressableInputContainer/styled.js +6 -5
  277. package/esm/components/atoms/Input/PressableInputContainer/styled.js.map +1 -1
  278. package/esm/components/atoms/Input/hooks/useInputFocus.d.ts +1 -1
  279. package/esm/components/atoms/Input/hooks/useInputFocus.js +11 -26
  280. package/esm/components/atoms/Input/hooks/useInputFocus.js.map +1 -1
  281. package/esm/components/atoms/Input/hooks/useNumberMask.d.ts +2 -2
  282. package/esm/components/atoms/Input/hooks/useNumberMask.js +67 -84
  283. package/esm/components/atoms/Input/hooks/useNumberMask.js.map +1 -1
  284. package/esm/components/atoms/Input/hooks/useStringMask.d.ts +1 -1
  285. package/esm/components/atoms/Input/hooks/useStringMask.js +58 -79
  286. package/esm/components/atoms/Input/hooks/useStringMask.js.map +1 -1
  287. package/esm/components/atoms/Input/styled.js +91 -89
  288. package/esm/components/atoms/Input/styled.js.map +1 -1
  289. package/esm/components/atoms/Paper/Paper.js +45 -20
  290. package/esm/components/atoms/Paper/Paper.js.map +1 -1
  291. package/esm/components/atoms/Paper/styled.d.ts +1 -9
  292. package/esm/components/atoms/Paper/styled.js +11 -9
  293. package/esm/components/atoms/Paper/styled.js.map +1 -1
  294. package/esm/components/atoms/PressableSurface/PressableSurface.js +83 -66
  295. package/esm/components/atoms/PressableSurface/PressableSurface.js.map +1 -1
  296. package/esm/components/atoms/ProgressBar/ProgressBar.js +79 -64
  297. package/esm/components/atoms/ProgressBar/ProgressBar.js.map +1 -1
  298. package/esm/components/atoms/ProgressBar/styled.js +30 -24
  299. package/esm/components/atoms/ProgressBar/styled.js.map +1 -1
  300. package/esm/components/atoms/RadioButton/RadioButton.js +61 -35
  301. package/esm/components/atoms/RadioButton/RadioButton.js.map +1 -1
  302. package/esm/components/atoms/RadioButton/styled.js +24 -28
  303. package/esm/components/atoms/RadioButton/styled.js.map +1 -1
  304. package/esm/components/atoms/Switch/Switch.js +88 -62
  305. package/esm/components/atoms/Switch/Switch.js.map +1 -1
  306. package/esm/components/atoms/Switch/animation.js +7 -5
  307. package/esm/components/atoms/Switch/animation.js.map +1 -1
  308. package/esm/components/atoms/Switch/styled.d.ts +2 -14
  309. package/esm/components/atoms/Switch/styled.js +27 -22
  310. package/esm/components/atoms/Switch/styled.js.map +1 -1
  311. package/esm/components/atoms/Tag/Tag.js +69 -63
  312. package/esm/components/atoms/Tag/Tag.js.map +1 -1
  313. package/esm/components/atoms/Tag/styled.js +31 -35
  314. package/esm/components/atoms/Tag/styled.js.map +1 -1
  315. package/esm/components/atoms/Text/Text.js +72 -43
  316. package/esm/components/atoms/Text/Text.js.map +1 -1
  317. package/esm/components/atoms/Text/functions.js +5 -7
  318. package/esm/components/atoms/Text/functions.js.map +1 -1
  319. package/esm/components/atoms/Text/styled.d.ts +2 -16
  320. package/esm/components/atoms/Text/styled.js +19 -43
  321. package/esm/components/atoms/Text/styled.js.map +1 -1
  322. package/esm/components/atoms/shared/PaperAndCard.d.ts +1 -3
  323. package/esm/components/atoms/shared/PaperAndCard.js +16 -20
  324. package/esm/components/atoms/shared/PaperAndCard.js.map +1 -1
  325. package/esm/components/molecules/Calendar/Calendar.js +130 -124
  326. package/esm/components/molecules/Calendar/Calendar.js.map +1 -1
  327. package/esm/components/molecules/Calendar/components/MonthWeek.js +80 -98
  328. package/esm/components/molecules/Calendar/components/MonthWeek.js.map +1 -1
  329. package/esm/components/molecules/Calendar/components/Weekdays.js +19 -25
  330. package/esm/components/molecules/Calendar/components/Weekdays.js.map +1 -1
  331. package/esm/components/molecules/Calendar/styled.js +79 -52
  332. package/esm/components/molecules/Calendar/styled.js.map +1 -1
  333. package/esm/components/molecules/DatePicker/DatePicker.js +131 -95
  334. package/esm/components/molecules/DatePicker/DatePicker.js.map +1 -1
  335. package/esm/components/molecules/DatePicker/styled.js +25 -19
  336. package/esm/components/molecules/DatePicker/styled.js.map +1 -1
  337. package/esm/components/molecules/DateTimePicker/DateTimePicker.js +155 -102
  338. package/esm/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
  339. package/esm/components/molecules/DateTimePicker/styled.js +8 -10
  340. package/esm/components/molecules/DateTimePicker/styled.js.map +1 -1
  341. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js +175 -179
  342. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -1
  343. package/esm/components/molecules/DateTimeSelector/Selector.js +93 -82
  344. package/esm/components/molecules/DateTimeSelector/Selector.js.map +1 -1
  345. package/esm/components/molecules/DateTimeSelector/styled.js +54 -52
  346. package/esm/components/molecules/DateTimeSelector/styled.js.map +1 -1
  347. package/esm/components/molecules/Grid/functions.d.ts +1 -1
  348. package/esm/components/molecules/Grid/functions.js +23 -13
  349. package/esm/components/molecules/Grid/functions.js.map +1 -1
  350. package/esm/components/molecules/HintInputContainer/HintInputContainer.js +71 -36
  351. package/esm/components/molecules/HintInputContainer/HintInputContainer.js.map +1 -1
  352. package/esm/components/molecules/IconTextButton/IconComponent.js +31 -17
  353. package/esm/components/molecules/IconTextButton/IconComponent.js.map +1 -1
  354. package/esm/components/molecules/InputPassword/InputPasswordIcon.js +48 -24
  355. package/esm/components/molecules/InputPassword/InputPasswordIcon.js.map +1 -1
  356. package/esm/components/molecules/InputPassword/styled.js +12 -9
  357. package/esm/components/molecules/InputPassword/styled.js.map +1 -1
  358. package/esm/components/molecules/Snackbar/Snackbar.d.ts +1 -1
  359. package/esm/components/molecules/Snackbar/Snackbar.js +64 -65
  360. package/esm/components/molecules/Snackbar/Snackbar.js.map +1 -1
  361. package/esm/components/molecules/Snackbar/styled.js +84 -48
  362. package/esm/components/molecules/Snackbar/styled.js.map +1 -1
  363. package/esm/components/molecules/TextArea/TextArea.js +66 -67
  364. package/esm/components/molecules/TextArea/TextArea.js.map +1 -1
  365. package/esm/components/molecules/TextArea/styled.d.ts +2 -12
  366. package/esm/components/molecules/TextArea/styled.js +25 -12
  367. package/esm/components/molecules/TextArea/styled.js.map +1 -1
  368. package/esm/hooks/useDebouncedState.js +13 -28
  369. package/esm/hooks/useDebouncedState.js.map +1 -1
  370. package/esm/hooks/useTheme.js +6 -5
  371. package/esm/hooks/useTheme.js.map +1 -1
  372. package/esm/index.js +55 -36
  373. package/esm/index.js.map +1 -1
  374. package/esm/styles/ThemeProvider.js +10 -9
  375. package/esm/styles/ThemeProvider.js.map +1 -1
  376. package/esm/styles/definitions.js +107 -117
  377. package/esm/styles/definitions.js.map +1 -1
  378. package/esm/styles/light.js +44 -31
  379. package/esm/styles/light.js.map +1 -1
  380. package/esm/utils/IPhoneXHelper.js +11 -9
  381. package/esm/utils/IPhoneXHelper.js.map +1 -1
  382. package/esm/utils/ResponsiveFontSize.d.ts +1 -1
  383. package/esm/utils/ResponsiveFontSize.js +26 -31
  384. package/esm/utils/ResponsiveFontSize.js.map +1 -1
  385. package/esm/utils/extractNumbersFromString.js +5 -7
  386. package/esm/utils/extractNumbersFromString.js.map +1 -1
  387. package/esm/utils/formatWithMask.js +20 -13
  388. package/esm/utils/formatWithMask.js.map +1 -1
  389. package/esm/utils/lightenDarkenColor.js +23 -14
  390. package/esm/utils/lightenDarkenColor.js.map +1 -1
  391. package/esm/utils/masks.js +18 -17
  392. package/esm/utils/masks.js.map +1 -1
  393. package/esm/utils/variantComplement.js +23 -21
  394. package/esm/utils/variantComplement.js.map +1 -1
  395. package/package.json +4 -7
  396. package/rollup.config.js +36 -0
  397. package/src/components/atoms/Avatar/Avatar.stories.tsx +2 -3
  398. package/src/components/atoms/Avatar/Avatar.tsx +1 -1
  399. package/src/components/atoms/Button/States/BaseState.tsx +1 -1
  400. package/src/components/atoms/Button/States/Error.tsx +2 -2
  401. package/src/components/atoms/Button/States/Loading.tsx +1 -1
  402. package/src/components/atoms/Button/States/Success.tsx +2 -2
  403. package/src/components/atoms/Icon/Icon.tsx +6 -2
  404. package/src/components/atoms/Icon/helpers.ts +18 -16
  405. package/src/components/molecules/Grid/functions.ts +2 -6
  406. package/src/components/molecules/IconTextButton/IconComponent.tsx +2 -6
  407. package/src/components/molecules/IconTextButton/{IconTextButton.tsx → IconTextButton.ts} +0 -0
  408. package/src/components/molecules/Snackbar/Snackbar.tsx +1 -1
  409. package/tsconfig.build.json +2 -1
  410. package/babel.config.esm.js +0 -34
  411. package/dist/components/atoms/Avatar/index.js +0 -16
  412. package/dist/components/atoms/Avatar/index.js.map +0 -1
  413. package/dist/components/atoms/Badge/index.js +0 -16
  414. package/dist/components/atoms/Badge/index.js.map +0 -1
  415. package/dist/components/atoms/BoxContent/index.js +0 -16
  416. package/dist/components/atoms/BoxContent/index.js.map +0 -1
  417. package/dist/components/atoms/Button/States/index.js +0 -32
  418. package/dist/components/atoms/Button/States/index.js.map +0 -1
  419. package/dist/components/atoms/Button/index.js +0 -36
  420. package/dist/components/atoms/Button/index.js.map +0 -1
  421. package/dist/components/atoms/Card/Footer/index.js +0 -16
  422. package/dist/components/atoms/Card/Footer/index.js.map +0 -1
  423. package/dist/components/atoms/Card/Header/index.js +0 -16
  424. package/dist/components/atoms/Card/Header/index.js.map +0 -1
  425. package/dist/components/atoms/Card/index.js +0 -16
  426. package/dist/components/atoms/Card/index.js.map +0 -1
  427. package/dist/components/atoms/Checkbox/index.js +0 -16
  428. package/dist/components/atoms/Checkbox/index.js.map +0 -1
  429. package/dist/components/atoms/Divider/index.js +0 -16
  430. package/dist/components/atoms/Divider/index.js.map +0 -1
  431. package/dist/components/atoms/GroupButton/index.js +0 -24
  432. package/dist/components/atoms/GroupButton/index.js.map +0 -1
  433. package/dist/components/atoms/Icon/index.js +0 -16
  434. package/dist/components/atoms/Icon/index.js.map +0 -1
  435. package/dist/components/atoms/Input/PressableInputContainer/index.js +0 -16
  436. package/dist/components/atoms/Input/PressableInputContainer/index.js.map +0 -1
  437. package/dist/components/atoms/Input/index.js +0 -113
  438. package/dist/components/atoms/Input/index.js.map +0 -1
  439. package/dist/components/atoms/Paper/index.js +0 -16
  440. package/dist/components/atoms/Paper/index.js.map +0 -1
  441. package/dist/components/atoms/PressableSurface/index.js +0 -16
  442. package/dist/components/atoms/PressableSurface/index.js.map +0 -1
  443. package/dist/components/atoms/ProgressBar/index.js +0 -16
  444. package/dist/components/atoms/ProgressBar/index.js.map +0 -1
  445. package/dist/components/atoms/RadioButton/index.js +0 -16
  446. package/dist/components/atoms/RadioButton/index.js.map +0 -1
  447. package/dist/components/atoms/Switch/index.js +0 -16
  448. package/dist/components/atoms/Switch/index.js.map +0 -1
  449. package/dist/components/atoms/Tag/index.js +0 -16
  450. package/dist/components/atoms/Tag/index.js.map +0 -1
  451. package/dist/components/atoms/Text/index.js +0 -16
  452. package/dist/components/atoms/Text/index.js.map +0 -1
  453. package/dist/components/molecules/Calendar/components/index.js +0 -24
  454. package/dist/components/molecules/Calendar/components/index.js.map +0 -1
  455. package/dist/components/molecules/Calendar/index.js +0 -16
  456. package/dist/components/molecules/Calendar/index.js.map +0 -1
  457. package/dist/components/molecules/DatePicker/index.js +0 -16
  458. package/dist/components/molecules/DatePicker/index.js.map +0 -1
  459. package/dist/components/molecules/DateTimePicker/index.js +0 -16
  460. package/dist/components/molecules/DateTimePicker/index.js.map +0 -1
  461. package/dist/components/molecules/DateTimeSelector/index.js +0 -16
  462. package/dist/components/molecules/DateTimeSelector/index.js.map +0 -1
  463. package/dist/components/molecules/Grid/index.js +0 -20
  464. package/dist/components/molecules/Grid/index.js.map +0 -1
  465. package/dist/components/molecules/HintInputContainer/index.js +0 -16
  466. package/dist/components/molecules/HintInputContainer/index.js.map +0 -1
  467. package/dist/components/molecules/HintInputContainer/styled.js +0 -2
  468. package/dist/components/molecules/HintInputContainer/styled.js.map +0 -1
  469. package/dist/components/molecules/IconTextButton/IconTextButton.js +0 -6
  470. package/dist/components/molecules/IconTextButton/IconTextButton.js.map +0 -1
  471. package/dist/components/molecules/IconTextButton/index.js +0 -16
  472. package/dist/components/molecules/IconTextButton/index.js.map +0 -1
  473. package/dist/components/molecules/IconTextButton/styled.d.ts +0 -4
  474. package/dist/components/molecules/IconTextButton/styled.js +0 -29
  475. package/dist/components/molecules/IconTextButton/styled.js.map +0 -1
  476. package/dist/components/molecules/InputPassword/index.js +0 -16
  477. package/dist/components/molecules/InputPassword/index.js.map +0 -1
  478. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js +0 -6
  479. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js.map +0 -1
  480. package/dist/components/molecules/LabeledSwitch/index.js +0 -6
  481. package/dist/components/molecules/LabeledSwitch/index.js.map +0 -1
  482. package/dist/components/molecules/Snackbar/index.js +0 -16
  483. package/dist/components/molecules/Snackbar/index.js.map +0 -1
  484. package/dist/components/molecules/TextArea/index.js +0 -24
  485. package/dist/components/molecules/TextArea/index.js.map +0 -1
  486. package/dist/hooks/index.js +0 -22
  487. package/dist/hooks/index.js.map +0 -1
  488. package/dist/types/defaults.js +0 -6
  489. package/dist/types/defaults.js.map +0 -1
  490. package/dist/utils/index.js +0 -103
  491. package/dist/utils/index.js.map +0 -1
  492. package/esm/components/atoms/Avatar/index.js +0 -2
  493. package/esm/components/atoms/Avatar/index.js.map +0 -1
  494. package/esm/components/atoms/Badge/index.js +0 -2
  495. package/esm/components/atoms/Badge/index.js.map +0 -1
  496. package/esm/components/atoms/BoxContent/index.js +0 -2
  497. package/esm/components/atoms/BoxContent/index.js.map +0 -1
  498. package/esm/components/atoms/Button/States/index.js +0 -4
  499. package/esm/components/atoms/Button/States/index.js.map +0 -1
  500. package/esm/components/atoms/Button/index.js +0 -3
  501. package/esm/components/atoms/Button/index.js.map +0 -1
  502. package/esm/components/atoms/Card/Footer/index.js +0 -2
  503. package/esm/components/atoms/Card/Footer/index.js.map +0 -1
  504. package/esm/components/atoms/Card/Header/index.js +0 -2
  505. package/esm/components/atoms/Card/Header/index.js.map +0 -1
  506. package/esm/components/atoms/Card/index.js +0 -2
  507. package/esm/components/atoms/Card/index.js.map +0 -1
  508. package/esm/components/atoms/Checkbox/index.js +0 -2
  509. package/esm/components/atoms/Checkbox/index.js.map +0 -1
  510. package/esm/components/atoms/Divider/index.js +0 -2
  511. package/esm/components/atoms/Divider/index.js.map +0 -1
  512. package/esm/components/atoms/GroupButton/index.js +0 -3
  513. package/esm/components/atoms/GroupButton/index.js.map +0 -1
  514. package/esm/components/atoms/Icon/index.js +0 -2
  515. package/esm/components/atoms/Icon/index.js.map +0 -1
  516. package/esm/components/atoms/Input/PressableInputContainer/index.js +0 -2
  517. package/esm/components/atoms/Input/PressableInputContainer/index.js.map +0 -1
  518. package/esm/components/atoms/Input/index.js +0 -10
  519. package/esm/components/atoms/Input/index.js.map +0 -1
  520. package/esm/components/atoms/Paper/index.js +0 -2
  521. package/esm/components/atoms/Paper/index.js.map +0 -1
  522. package/esm/components/atoms/PressableSurface/index.js +0 -2
  523. package/esm/components/atoms/PressableSurface/index.js.map +0 -1
  524. package/esm/components/atoms/ProgressBar/index.js +0 -2
  525. package/esm/components/atoms/ProgressBar/index.js.map +0 -1
  526. package/esm/components/atoms/RadioButton/index.js +0 -2
  527. package/esm/components/atoms/RadioButton/index.js.map +0 -1
  528. package/esm/components/atoms/Switch/index.js +0 -2
  529. package/esm/components/atoms/Switch/index.js.map +0 -1
  530. package/esm/components/atoms/Tag/index.js +0 -2
  531. package/esm/components/atoms/Tag/index.js.map +0 -1
  532. package/esm/components/atoms/Text/index.js +0 -2
  533. package/esm/components/atoms/Text/index.js.map +0 -1
  534. package/esm/components/molecules/Calendar/components/index.js +0 -3
  535. package/esm/components/molecules/Calendar/components/index.js.map +0 -1
  536. package/esm/components/molecules/Calendar/index.js +0 -2
  537. package/esm/components/molecules/Calendar/index.js.map +0 -1
  538. package/esm/components/molecules/DatePicker/index.js +0 -2
  539. package/esm/components/molecules/DatePicker/index.js.map +0 -1
  540. package/esm/components/molecules/DateTimePicker/index.js +0 -2
  541. package/esm/components/molecules/DateTimePicker/index.js.map +0 -1
  542. package/esm/components/molecules/DateTimeSelector/index.js +0 -2
  543. package/esm/components/molecules/DateTimeSelector/index.js.map +0 -1
  544. package/esm/components/molecules/Grid/index.js +0 -2
  545. package/esm/components/molecules/Grid/index.js.map +0 -1
  546. package/esm/components/molecules/HintInputContainer/index.js +0 -2
  547. package/esm/components/molecules/HintInputContainer/index.js.map +0 -1
  548. package/esm/components/molecules/HintInputContainer/styled.js +0 -2
  549. package/esm/components/molecules/HintInputContainer/styled.js.map +0 -1
  550. package/esm/components/molecules/IconTextButton/IconTextButton.js +0 -2
  551. package/esm/components/molecules/IconTextButton/IconTextButton.js.map +0 -1
  552. package/esm/components/molecules/IconTextButton/index.js +0 -2
  553. package/esm/components/molecules/IconTextButton/index.js.map +0 -1
  554. package/esm/components/molecules/IconTextButton/styled.d.ts +0 -11
  555. package/esm/components/molecules/IconTextButton/styled.js +0 -14
  556. package/esm/components/molecules/IconTextButton/styled.js.map +0 -1
  557. package/esm/components/molecules/InputPassword/index.js +0 -2
  558. package/esm/components/molecules/InputPassword/index.js.map +0 -1
  559. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js +0 -2
  560. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js.map +0 -1
  561. package/esm/components/molecules/LabeledSwitch/index.js +0 -2
  562. package/esm/components/molecules/LabeledSwitch/index.js.map +0 -1
  563. package/esm/components/molecules/Snackbar/index.js +0 -2
  564. package/esm/components/molecules/Snackbar/index.js.map +0 -1
  565. package/esm/components/molecules/TextArea/index.js +0 -3
  566. package/esm/components/molecules/TextArea/index.js.map +0 -1
  567. package/esm/hooks/index.js +0 -3
  568. package/esm/hooks/index.js.map +0 -1
  569. package/esm/types/defaults.js +0 -2
  570. package/esm/types/defaults.js.map +0 -1
  571. package/esm/utils/index.js +0 -8
  572. package/esm/utils/index.js.map +0 -1
  573. package/src/components/molecules/IconTextButton/styled.ts +0 -20
package/dist/index.js CHANGED
@@ -1,455 +1,141 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {
7
- Avatar: true,
8
- Badge: true,
9
- BoxContent: true,
10
- Button: true,
11
- Error: true,
12
- Loading: true,
13
- Success: true,
14
- Card: true,
15
- Footer: true,
16
- Header: true,
17
- Checkbox: true,
18
- Divider: true,
19
- GroupButton: true,
20
- GroupButtonOption: true,
21
- Icon: true,
22
- disabledInputStyles: true,
23
- Hint: true,
24
- InputContainer: true,
25
- InputElement: true,
26
- InputMaskElement: true,
27
- PressableInputContainer: true,
28
- StyledBorderKeeper: true,
29
- useInputFocus: true,
30
- useNumberMask: true,
31
- useStringMask: true,
32
- Paper: true,
33
- PressableSurface: true,
34
- ProgressBar: true,
35
- RadioButton: true,
36
- Switch: true,
37
- Tag: true,
38
- Text: true,
39
- Calendar: true,
40
- DatePicker: true,
41
- DateTimePicker: true,
42
- DateTimeSelector: true,
43
- getGridItemPadding: true,
44
- getGridItemColumSpan: true,
45
- HintInputContainer: true,
46
- IconComponent: true,
47
- InputPasswordIcon: true,
48
- Snackbar: true,
49
- TextArea: true,
50
- TextAreaInputBase: true,
51
- ThemeProvider: true
52
- };
53
- Object.defineProperty(exports, "Avatar", {
54
- enumerable: true,
55
- get: function () {
56
- return _Avatar.Avatar;
57
- }
58
- });
59
- Object.defineProperty(exports, "Badge", {
60
- enumerable: true,
61
- get: function () {
62
- return _Badge.Badge;
63
- }
64
- });
65
- Object.defineProperty(exports, "BoxContent", {
66
- enumerable: true,
67
- get: function () {
68
- return _BoxContent.BoxContent;
69
- }
70
- });
71
- Object.defineProperty(exports, "Button", {
72
- enumerable: true,
73
- get: function () {
74
- return _Button.Button;
75
- }
76
- });
77
- Object.defineProperty(exports, "Calendar", {
78
- enumerable: true,
79
- get: function () {
80
- return _Calendar.Calendar;
81
- }
82
- });
83
- Object.defineProperty(exports, "Card", {
84
- enumerable: true,
85
- get: function () {
86
- return _Card.Card;
87
- }
88
- });
89
- Object.defineProperty(exports, "Checkbox", {
90
- enumerable: true,
91
- get: function () {
92
- return _Checkbox.Checkbox;
93
- }
94
- });
95
- Object.defineProperty(exports, "DatePicker", {
96
- enumerable: true,
97
- get: function () {
98
- return _DatePicker.DatePicker;
99
- }
100
- });
101
- Object.defineProperty(exports, "DateTimePicker", {
102
- enumerable: true,
103
- get: function () {
104
- return _DateTimePicker.DateTimePicker;
105
- }
106
- });
107
- Object.defineProperty(exports, "DateTimeSelector", {
108
- enumerable: true,
109
- get: function () {
110
- return _DateTimeSelector.DateTimeSelector;
111
- }
112
- });
113
- Object.defineProperty(exports, "Divider", {
114
- enumerable: true,
115
- get: function () {
116
- return _Divider.Divider;
117
- }
118
- });
119
- Object.defineProperty(exports, "Error", {
120
- enumerable: true,
121
- get: function () {
122
- return _Button.Error;
123
- }
124
- });
125
- Object.defineProperty(exports, "Footer", {
126
- enumerable: true,
127
- get: function () {
128
- return _Footer.Footer;
129
- }
130
- });
131
- Object.defineProperty(exports, "GroupButton", {
132
- enumerable: true,
133
- get: function () {
134
- return _GroupButton.GroupButton;
135
- }
136
- });
137
- Object.defineProperty(exports, "GroupButtonOption", {
138
- enumerable: true,
139
- get: function () {
140
- return _GroupButton.GroupButtonOption;
141
- }
142
- });
143
- Object.defineProperty(exports, "Header", {
144
- enumerable: true,
145
- get: function () {
146
- return _Header.Header;
147
- }
148
- });
149
- Object.defineProperty(exports, "Hint", {
150
- enumerable: true,
151
- get: function () {
152
- return _Input.Hint;
153
- }
154
- });
155
- Object.defineProperty(exports, "HintInputContainer", {
156
- enumerable: true,
157
- get: function () {
158
- return _HintInputContainer.HintInputContainer;
159
- }
160
- });
161
- Object.defineProperty(exports, "Icon", {
162
- enumerable: true,
163
- get: function () {
164
- return _Icon.Icon;
165
- }
166
- });
167
- Object.defineProperty(exports, "IconComponent", {
168
- enumerable: true,
169
- get: function () {
170
- return _IconTextButton.IconComponent;
171
- }
172
- });
173
- Object.defineProperty(exports, "InputContainer", {
174
- enumerable: true,
175
- get: function () {
176
- return _Input.InputContainer;
177
- }
178
- });
179
- Object.defineProperty(exports, "InputElement", {
180
- enumerable: true,
181
- get: function () {
182
- return _Input.InputElement;
183
- }
184
- });
185
- Object.defineProperty(exports, "InputMaskElement", {
186
- enumerable: true,
187
- get: function () {
188
- return _Input.InputMaskElement;
189
- }
190
- });
191
- Object.defineProperty(exports, "InputPasswordIcon", {
192
- enumerable: true,
193
- get: function () {
194
- return _InputPassword.InputPasswordIcon;
195
- }
196
- });
197
- Object.defineProperty(exports, "Loading", {
198
- enumerable: true,
199
- get: function () {
200
- return _Button.Loading;
201
- }
202
- });
203
- Object.defineProperty(exports, "Paper", {
204
- enumerable: true,
205
- get: function () {
206
- return _Paper.Paper;
207
- }
208
- });
209
- Object.defineProperty(exports, "PressableInputContainer", {
210
- enumerable: true,
211
- get: function () {
212
- return _Input.PressableInputContainer;
213
- }
214
- });
215
- Object.defineProperty(exports, "PressableSurface", {
216
- enumerable: true,
217
- get: function () {
218
- return _PressableSurface.PressableSurface;
219
- }
220
- });
221
- Object.defineProperty(exports, "ProgressBar", {
222
- enumerable: true,
223
- get: function () {
224
- return _ProgressBar.ProgressBar;
225
- }
226
- });
227
- Object.defineProperty(exports, "RadioButton", {
228
- enumerable: true,
229
- get: function () {
230
- return _RadioButton.RadioButton;
231
- }
232
- });
233
- Object.defineProperty(exports, "Snackbar", {
234
- enumerable: true,
235
- get: function () {
236
- return _Snackbar.Snackbar;
237
- }
238
- });
239
- Object.defineProperty(exports, "StyledBorderKeeper", {
240
- enumerable: true,
241
- get: function () {
242
- return _Input.StyledBorderKeeper;
243
- }
244
- });
245
- Object.defineProperty(exports, "Success", {
246
- enumerable: true,
247
- get: function () {
248
- return _Button.Success;
249
- }
250
- });
251
- Object.defineProperty(exports, "Switch", {
252
- enumerable: true,
253
- get: function () {
254
- return _Switch.Switch;
255
- }
256
- });
257
- Object.defineProperty(exports, "Tag", {
258
- enumerable: true,
259
- get: function () {
260
- return _Tag.Tag;
261
- }
262
- });
263
- Object.defineProperty(exports, "Text", {
264
- enumerable: true,
265
- get: function () {
266
- return _Text.Text;
267
- }
268
- });
269
- Object.defineProperty(exports, "TextArea", {
270
- enumerable: true,
271
- get: function () {
272
- return _TextArea.TextArea;
273
- }
274
- });
275
- Object.defineProperty(exports, "TextAreaInputBase", {
276
- enumerable: true,
277
- get: function () {
278
- return _TextArea.TextAreaInputBase;
279
- }
280
- });
281
- Object.defineProperty(exports, "ThemeProvider", {
282
- enumerable: true,
283
- get: function () {
284
- return _ThemeProvider.default;
285
- }
286
- });
287
- Object.defineProperty(exports, "disabledInputStyles", {
288
- enumerable: true,
289
- get: function () {
290
- return _Input.disabledInputStyles;
291
- }
292
- });
293
- Object.defineProperty(exports, "getGridItemColumSpan", {
294
- enumerable: true,
295
- get: function () {
296
- return _Grid.getGridItemColumSpan;
297
- }
298
- });
299
- Object.defineProperty(exports, "getGridItemPadding", {
300
- enumerable: true,
301
- get: function () {
302
- return _Grid.getGridItemPadding;
303
- }
304
- });
305
- Object.defineProperty(exports, "useInputFocus", {
306
- enumerable: true,
307
- get: function () {
308
- return _Input.useInputFocus;
309
- }
310
- });
311
- Object.defineProperty(exports, "useNumberMask", {
312
- enumerable: true,
313
- get: function () {
314
- return _Input.useNumberMask;
315
- }
316
- });
317
- Object.defineProperty(exports, "useStringMask", {
318
- enumerable: true,
319
- get: function () {
320
- return _Input.useStringMask;
321
- }
322
- });
323
-
324
- var _Avatar = require("./components/atoms/Avatar");
325
-
326
- var _Badge = require("./components/atoms/Badge");
327
-
328
- var _BoxContent = require("./components/atoms/BoxContent");
329
-
330
- var _Button = require("./components/atoms/Button");
331
-
332
- var _Card = require("./components/atoms/Card");
333
-
334
- var _Footer = require("./components/atoms/Card/Footer");
335
-
336
- var _Header = require("./components/atoms/Card/Header");
337
-
338
- var _Checkbox = require("./components/atoms/Checkbox");
339
-
340
- var _Divider = require("./components/atoms/Divider");
341
-
342
- var _GroupButton = require("./components/atoms/GroupButton");
343
-
344
- var _Icon = require("./components/atoms/Icon");
345
-
346
- var _Input = require("./components/atoms/Input");
347
-
348
- var _Paper = require("./components/atoms/Paper");
349
-
350
- var _PressableSurface = require("./components/atoms/PressableSurface");
351
-
352
- var _ProgressBar = require("./components/atoms/ProgressBar");
353
-
354
- var _RadioButton = require("./components/atoms/RadioButton");
355
-
356
- var _Switch = require("./components/atoms/Switch");
357
-
358
- var _Tag = require("./components/atoms/Tag");
359
-
360
- var _Text = require("./components/atoms/Text");
361
-
362
- var _Calendar = require("./components/molecules/Calendar");
363
-
364
- var _DatePicker = require("./components/molecules/DatePicker");
365
-
366
- var _DateTimePicker = require("./components/molecules/DateTimePicker");
367
-
368
- var _DateTimeSelector = require("./components/molecules/DateTimeSelector");
369
-
370
- var _Grid = require("./components/molecules/Grid");
371
-
372
- var _HintInputContainer = require("./components/molecules/HintInputContainer");
373
-
374
- var _IconTextButton = require("./components/molecules/IconTextButton");
375
-
376
- var _InputPassword = require("./components/molecules/InputPassword");
377
-
378
- var _Snackbar = require("./components/molecules/Snackbar");
379
-
380
- var _TextArea = require("./components/molecules/TextArea");
381
-
382
- var _hooks = require("./hooks");
383
-
384
- Object.keys(_hooks).forEach(function (key) {
385
- if (key === "default" || key === "__esModule") return;
386
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
387
- if (key in exports && exports[key] === _hooks[key]) return;
388
- Object.defineProperty(exports, key, {
389
- enumerable: true,
390
- get: function () {
391
- return _hooks[key];
392
- }
393
- });
394
- });
395
-
396
- var _definitions = require("./styles/definitions");
397
-
398
- Object.keys(_definitions).forEach(function (key) {
399
- if (key === "default" || key === "__esModule") return;
400
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
401
- if (key in exports && exports[key] === _definitions[key]) return;
402
- Object.defineProperty(exports, key, {
403
- enumerable: true,
404
- get: function () {
405
- return _definitions[key];
406
- }
407
- });
408
- });
409
-
410
- var _light = require("./styles/light");
411
-
412
- Object.keys(_light).forEach(function (key) {
413
- if (key === "default" || key === "__esModule") return;
414
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
415
- if (key in exports && exports[key] === _light[key]) return;
416
- Object.defineProperty(exports, key, {
417
- enumerable: true,
418
- get: function () {
419
- return _light[key];
420
- }
421
- });
422
- });
423
-
424
- var _ThemeProvider = _interopRequireDefault(require("./styles/ThemeProvider"));
425
-
426
- var _defaults = require("./types/defaults");
427
-
428
- Object.keys(_defaults).forEach(function (key) {
429
- if (key === "default" || key === "__esModule") return;
430
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
431
- if (key in exports && exports[key] === _defaults[key]) return;
432
- Object.defineProperty(exports, key, {
433
- enumerable: true,
434
- get: function () {
435
- return _defaults[key];
436
- }
437
- });
438
- });
439
-
440
- var _utils = require("./utils");
441
-
442
- Object.keys(_utils).forEach(function (key) {
443
- if (key === "default" || key === "__esModule") return;
444
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
445
- if (key in exports && exports[key] === _utils[key]) return;
446
- Object.defineProperty(exports, key, {
447
- enumerable: true,
448
- get: function () {
449
- return _utils[key];
450
- }
451
- });
452
- });
453
-
454
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
455
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var Avatar = require('./components/atoms/Avatar/Avatar.js');
6
+ var Badge = require('./components/atoms/Badge/Badge.js');
7
+ var BoxContent = require('./components/atoms/BoxContent/BoxContent.js');
8
+ var Button = require('./components/atoms/Button/Button.js');
9
+ var Error = require('./components/atoms/Button/States/Error.js');
10
+ var Loading = require('./components/atoms/Button/States/Loading.js');
11
+ var Success = require('./components/atoms/Button/States/Success.js');
12
+ var Card = require('./components/atoms/Card/Card.js');
13
+ var Footer = require('./components/atoms/Card/Footer/Footer.js');
14
+ var Header = require('./components/atoms/Card/Header/Header.js');
15
+ var Checkbox = require('./components/atoms/Checkbox/Checkbox.js');
16
+ var Divider = require('./components/atoms/Divider/Divider.js');
17
+ var GroupButton = require('./components/atoms/GroupButton/GroupButton.js');
18
+ var GroupButtonOption = require('./components/atoms/GroupButton/GroupButtonOption.js');
19
+ var Icon = require('./components/atoms/Icon/Icon.js');
20
+ var Hint = require('./components/atoms/Input/Hint.js');
21
+ var useInputFocus = require('./components/atoms/Input/hooks/useInputFocus.js');
22
+ var useNumberMask = require('./components/atoms/Input/hooks/useNumberMask.js');
23
+ var useStringMask = require('./components/atoms/Input/hooks/useStringMask.js');
24
+ var InputContainer = require('./components/atoms/Input/InputContainer/InputContainer.js');
25
+ var InputElement = require('./components/atoms/Input/InputElement/InputElement.js');
26
+ var InputMaskElement = require('./components/atoms/Input/InputMaskElement/InputMaskElement.js');
27
+ var PressableInputContainer = require('./components/atoms/Input/PressableInputContainer/PressableInputContainer.js');
28
+ var styled = require('./components/atoms/Input/styled.js');
29
+ var Paper = require('./components/atoms/Paper/Paper.js');
30
+ var PressableSurface = require('./components/atoms/PressableSurface/PressableSurface.js');
31
+ var ProgressBar = require('./components/atoms/ProgressBar/ProgressBar.js');
32
+ var RadioButton = require('./components/atoms/RadioButton/RadioButton.js');
33
+ var Switch = require('./components/atoms/Switch/Switch.js');
34
+ var Tag = require('./components/atoms/Tag/Tag.js');
35
+ var Text = require('./components/atoms/Text/Text.js');
36
+ var Calendar = require('./components/molecules/Calendar/Calendar.js');
37
+ var DatePicker = require('./components/molecules/DatePicker/DatePicker.js');
38
+ var DateTimePicker = require('./components/molecules/DateTimePicker/DateTimePicker.js');
39
+ var DateTimeSelector = require('./components/molecules/DateTimeSelector/DateTimeSelector.js');
40
+ var functions = require('./components/molecules/Grid/functions.js');
41
+ var HintInputContainer = require('./components/molecules/HintInputContainer/HintInputContainer.js');
42
+ var IconComponent = require('./components/molecules/IconTextButton/IconComponent.js');
43
+ var InputPasswordIcon = require('./components/molecules/InputPassword/InputPasswordIcon.js');
44
+ var Snackbar = require('./components/molecules/Snackbar/Snackbar.js');
45
+ var TextArea = require('./components/molecules/TextArea/TextArea.js');
46
+ var styled$1 = require('./components/molecules/TextArea/styled.js');
47
+ var useDebouncedState = require('./hooks/useDebouncedState.js');
48
+ var useTheme = require('./hooks/useTheme.js');
49
+ var definitions = require('./styles/definitions.js');
50
+ var light = require('./styles/light.js');
51
+ var ThemeProvider = require('./styles/ThemeProvider.js');
52
+ var extractNumbersFromString = require('./utils/extractNumbersFromString.js');
53
+ var formatWithMask = require('./utils/formatWithMask.js');
54
+ var IPhoneXHelper = require('./utils/IPhoneXHelper.js');
55
+ var lightenDarkenColor = require('./utils/lightenDarkenColor.js');
56
+ var masks = require('./utils/masks.js');
57
+ var ResponsiveFontSize = require('./utils/ResponsiveFontSize.js');
58
+ var variantComplement = require('./utils/variantComplement.js');
59
+
60
+
61
+
62
+ exports.Avatar = Avatar;
63
+ exports.Badge = Badge;
64
+ exports.BoxContent = BoxContent;
65
+ exports.Button = Button;
66
+ exports.Error = Error;
67
+ exports.Loading = Loading;
68
+ exports.Success = Success;
69
+ exports.Card = Card;
70
+ exports.Footer = Footer;
71
+ exports.Header = Header;
72
+ exports.Checkbox = Checkbox;
73
+ exports.Divider = Divider;
74
+ exports.GroupButton = GroupButton;
75
+ exports.GroupButtonOption = GroupButtonOption;
76
+ exports.Icon = Icon;
77
+ exports.Hint = Hint;
78
+ exports.useInputFocus = useInputFocus.useInputFocus;
79
+ exports.useNumberMask = useNumberMask.useNumberMask;
80
+ exports.useStringMask = useStringMask.useStringMask;
81
+ exports.InputContainer = InputContainer;
82
+ exports.InputElement = InputElement;
83
+ exports.InputMaskElement = InputMaskElement;
84
+ exports.PressableInputContainer = PressableInputContainer;
85
+ exports.StyledBorderKeeper = styled.StyledBorderKeeper;
86
+ exports.disabledInputStyles = styled.disabledInputStyles;
87
+ exports.Paper = Paper;
88
+ exports.PressableSurface = PressableSurface;
89
+ exports.ProgressBar = ProgressBar;
90
+ exports.RadioButton = RadioButton;
91
+ exports.Switch = Switch;
92
+ exports.Tag = Tag;
93
+ exports.Text = Text;
94
+ exports.Calendar = Calendar;
95
+ exports.DatePicker = DatePicker;
96
+ exports.DateTimePicker = DateTimePicker;
97
+ exports.DateTimeSelector = DateTimeSelector;
98
+ exports.getGridItemColumSpan = functions.getGridItemColumSpan;
99
+ exports.getGridItemPadding = functions.getGridItemPadding;
100
+ exports.HintInputContainer = HintInputContainer;
101
+ exports.IconComponent = IconComponent;
102
+ exports.InputPasswordIcon = InputPasswordIcon;
103
+ exports.Snackbar = Snackbar;
104
+ exports.TextArea = TextArea;
105
+ exports.TextAreaInputBase = styled$1.TextAreaInputBase;
106
+ exports.useDebouncedState = useDebouncedState.useDebouncedState;
107
+ exports.useTheme = useTheme.useTheme;
108
+ exports.borderRadius = definitions.borderRadius;
109
+ exports.borderWidth = definitions.borderWidth;
110
+ exports.breakpoints = definitions.breakpoints;
111
+ exports.fontColor = definitions.fontColor;
112
+ exports.fontFiles = definitions.fontFiles;
113
+ exports.fontStack = definitions.fontStack;
114
+ exports.fontWeight = definitions.fontWeight;
115
+ exports.hex2rgba = definitions.hex2rgba;
116
+ exports.iconSize = definitions.iconSize;
117
+ exports.miscellaneous = definitions.miscellaneous;
118
+ exports.spacing = definitions.spacing;
119
+ exports.statusColor = definitions.statusColor;
120
+ exports.typography = definitions.typography;
121
+ exports.zIndex = definitions.zIndex;
122
+ exports.lightTheme = light.lightTheme;
123
+ exports.ThemeProvider = ThemeProvider;
124
+ exports.extractDigitsFromString = extractNumbersFromString.extractDigitsFromString;
125
+ exports.extractNumbersFromString = extractNumbersFromString.extractNumbersFromString;
126
+ exports.formatWithMask = formatWithMask.formatWithMask;
127
+ exports.getBottomSpace = IPhoneXHelper.getBottomSpace;
128
+ exports.getStatusBarHeight = IPhoneXHelper.getStatusBarHeight;
129
+ exports.ifIphoneX = IPhoneXHelper.ifIphoneX;
130
+ exports.isIphoneX = IPhoneXHelper.isIphoneX;
131
+ exports.lightenDarkenColor = lightenDarkenColor.lightenDarkenColor;
132
+ exports.Masks = masks.Masks;
133
+ exports.RFPercentage = ResponsiveFontSize.RFPercentage;
134
+ exports.RFValue = ResponsiveFontSize.RFValue;
135
+ exports.RFValueStr = ResponsiveFontSize.RFValueStr;
136
+ exports.borderColorGradationVC = variantComplement.borderColorGradationVC;
137
+ exports.borderColorVC = variantComplement.borderColorVC;
138
+ exports.colorGradationVC = variantComplement.colorGradationVC;
139
+ exports.colorVC = variantComplement.colorVC;
140
+ exports.fontColorVC = variantComplement.fontColorVC;
141
+ //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"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;;AAEA;;AAEA;;AAEA;;AAOA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAMA;;AAEA;;AAmBA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAOA;;AAEA;;AAEA;;AAKA;;AAcA;;AAEA;;AAKA;;AAKA;;AAEA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,26 +1,20 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
3
+ var React = require('react');
4
+ var react = require('@emotion/react');
7
5
 
8
- var _react = _interopRequireDefault(require("react"));
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
7
 
10
- var _react2 = require("@emotion/react");
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
9
 
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- const ThemeProvider = _ref => {
15
- let {
16
- theme,
17
- children
18
- } = _ref;
19
- return _react.default.createElement(_react2.ThemeProvider, {
20
- theme: theme
10
+ const ThemeProvider = ({
11
+ theme,
12
+ children
13
+ }) => {
14
+ return /* @__PURE__ */ React__default["default"].createElement(react.ThemeProvider, {
15
+ theme
21
16
  }, children);
22
17
  };
23
18
 
24
- var _default = ThemeProvider;
25
- exports.default = _default;
26
- //# sourceMappingURL=ThemeProvider.js.map
19
+ module.exports = ThemeProvider;
20
+ //# sourceMappingURL=ThemeProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.js","names":["ThemeProvider","theme","children"],"sources":["../../src/styles/ThemeProvider.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { ThemeProvider as EmotionProvider } from '@emotion/react';\nimport { ThemeProviderProps } from '../types/defaults';\n\nconst ThemeProvider: FC<ThemeProviderProps> = ({\n theme,\n children,\n}): JSX.Element => {\n return <EmotionProvider theme={theme}>{children}</EmotionProvider>;\n};\n\nexport default ThemeProvider;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;AAGA,MAAMA,aAAqC,GAAG,QAG3B;EAAA,IAH4B;IAC7CC,KAD6C;IAE7CC;EAF6C,CAG5B;EACjB,OAAO,6BAAC,qBAAD;IAAiB,KAAK,EAAED;EAAxB,GAAgCC,QAAhC,CAAP;AACD,CALD;;eAOeF,a"}
1
+ {"version":3,"file":"ThemeProvider.js","sources":["../../src/styles/ThemeProvider.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { ThemeProvider as EmotionProvider } from '@emotion/react';\nimport { ThemeProviderProps } from '../types/defaults';\n\nconst ThemeProvider: FC<ThemeProviderProps> = ({\n theme,\n children,\n}): JSX.Element => {\n return <EmotionProvider theme={theme}>{children}</EmotionProvider>;\n};\n\nexport default ThemeProvider;\n"],"names":["React","EmotionProvider"],"mappings":";;;;;;;;;AAIA,MAAM,gBAAwC,CAAC;AAAA,EAC7C,KAAA;AAAA,EACA,QAAA;AACF,CAAmB,KAAA;AACjB,EAAA,uBAAQA,yBAAA,CAAA,aAAA,CAAAC,mBAAA,EAAA;AAAA,IAAgB,KAAA;AAAA,GAAA,EAAe,QAAS,CAAA,CAAA;AAClD;;;;"}