@tecsinapse/react-native-kit 1.21.0 → 1.22.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 (423) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/components/atoms/Avatar/Avatar.d.ts +2 -1
  3. package/dist/components/atoms/Avatar/Avatar.js +34 -22
  4. package/dist/components/atoms/Avatar/Avatar.js.map +1 -1
  5. package/dist/components/atoms/Avatar/index.d.ts +1 -1
  6. package/dist/components/atoms/Badge/Badge.js +57 -31
  7. package/dist/components/atoms/Badge/Badge.js.map +1 -1
  8. package/dist/components/atoms/Badge/index.d.ts +2 -1
  9. package/dist/components/atoms/BottomNavigator/BottomNavigator.js +69 -40
  10. package/dist/components/atoms/BottomNavigator/BottomNavigator.js.map +1 -1
  11. package/dist/components/atoms/BottomNavigator/Item.js +66 -32
  12. package/dist/components/atoms/BottomNavigator/Item.js.map +1 -1
  13. package/dist/components/atoms/BottomNavigator/index.d.ts +3 -2
  14. package/dist/components/atoms/BottomNavigator/styled.js +38 -74
  15. package/dist/components/atoms/BottomNavigator/styled.js.map +1 -1
  16. package/dist/components/atoms/Button/Button.js +54 -25
  17. package/dist/components/atoms/Button/Button.js.map +1 -1
  18. package/dist/components/atoms/Button/States/Error.d.ts +1 -1
  19. package/dist/components/atoms/Button/States/Error.js +34 -24
  20. package/dist/components/atoms/Button/States/Error.js.map +1 -1
  21. package/dist/components/atoms/Button/States/Loading.d.ts +1 -1
  22. package/dist/components/atoms/Button/States/Loading.js +34 -24
  23. package/dist/components/atoms/Button/States/Loading.js.map +1 -1
  24. package/dist/components/atoms/Button/States/Success.d.ts +1 -1
  25. package/dist/components/atoms/Button/States/Success.js +34 -24
  26. package/dist/components/atoms/Button/States/Success.js.map +1 -1
  27. package/dist/components/atoms/Button/index.d.ts +2 -1
  28. package/dist/components/atoms/GroupButton/GroupButtonOption.d.ts +1 -1
  29. package/dist/components/atoms/GroupButton/GroupButtonOption.js +34 -23
  30. package/dist/components/atoms/GroupButton/GroupButtonOption.js.map +1 -1
  31. package/dist/components/atoms/Header/Header.js +73 -33
  32. package/dist/components/atoms/Header/Header.js.map +1 -1
  33. package/dist/components/atoms/Header/index.d.ts +2 -1
  34. package/dist/components/atoms/Header/styled.js +22 -23
  35. package/dist/components/atoms/Header/styled.js.map +1 -1
  36. package/dist/components/atoms/Input/Input.d.ts +1 -1
  37. package/dist/components/atoms/Input/Input.js +133 -93
  38. package/dist/components/atoms/Input/Input.js.map +1 -1
  39. package/dist/components/atoms/Input/index.d.ts +2 -1
  40. package/dist/components/atoms/Input/styled.js +14 -21
  41. package/dist/components/atoms/Input/styled.js.map +1 -1
  42. package/dist/components/atoms/InputMask/InputMask.js +135 -91
  43. package/dist/components/atoms/InputMask/InputMask.js.map +1 -1
  44. package/dist/components/atoms/InputMask/index.d.ts +2 -1
  45. package/dist/components/atoms/InputMask/styled.js +17 -22
  46. package/dist/components/atoms/InputMask/styled.js.map +1 -1
  47. package/dist/components/atoms/Modal/ModalGroupManager.js +47 -32
  48. package/dist/components/atoms/Modal/ModalGroupManager.js.map +1 -1
  49. package/dist/components/atoms/Modal/ModalLifecycleHandler.js +70 -78
  50. package/dist/components/atoms/Modal/ModalLifecycleHandler.js.map +1 -1
  51. package/dist/components/atoms/Modal/ui/BaseModalView.js +115 -117
  52. package/dist/components/atoms/Modal/ui/BaseModalView.js.map +1 -1
  53. package/dist/components/atoms/Modal/ui/styled.js +31 -31
  54. package/dist/components/atoms/Modal/ui/styled.js.map +1 -1
  55. package/dist/components/atoms/Modal/useLazyModalManager.d.ts +1 -1
  56. package/dist/components/atoms/Modal/useLazyModalManager.js +22 -25
  57. package/dist/components/atoms/Modal/useLazyModalManager.js.map +1 -1
  58. package/dist/components/atoms/Modal/useModalManager.d.ts +1 -1
  59. package/dist/components/atoms/Modal/useModalManager.js +14 -21
  60. package/dist/components/atoms/Modal/useModalManager.js.map +1 -1
  61. package/dist/components/atoms/Modal/useModalRemoteControl.js +10 -14
  62. package/dist/components/atoms/Modal/useModalRemoteControl.js.map +1 -1
  63. package/dist/components/atoms/Skeleton/Pulse.js +26 -33
  64. package/dist/components/atoms/Skeleton/Pulse.js.map +1 -1
  65. package/dist/components/atoms/Skeleton/Skeleton.js +72 -53
  66. package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -1
  67. package/dist/components/atoms/Skeleton/Wave.js +47 -56
  68. package/dist/components/atoms/Skeleton/Wave.js.map +1 -1
  69. package/dist/components/atoms/Skeleton/animation.js +29 -31
  70. package/dist/components/atoms/Skeleton/animation.js.map +1 -1
  71. package/dist/components/atoms/Skeleton/index.d.ts +2 -1
  72. package/dist/components/atoms/Skeleton/styled.js +14 -30
  73. package/dist/components/atoms/Skeleton/styled.js.map +1 -1
  74. package/dist/components/atoms/SnappingSlider/SnappingSlider.js +73 -36
  75. package/dist/components/atoms/SnappingSlider/SnappingSlider.js.map +1 -1
  76. package/dist/components/atoms/SnappingSlider/index.d.ts +2 -1
  77. package/dist/components/atoms/Tag/Tag.js +45 -28
  78. package/dist/components/atoms/Tag/Tag.js.map +1 -1
  79. package/dist/components/atoms/Tag/index.d.ts +2 -1
  80. package/dist/components/atoms/Text/Text.js +38 -18
  81. package/dist/components/atoms/Text/Text.js.map +1 -1
  82. package/dist/components/atoms/Text/index.d.ts +2 -1
  83. package/dist/components/atoms/Text/styled.js +21 -28
  84. package/dist/components/atoms/Text/styled.js.map +1 -1
  85. package/dist/components/atoms/TextArea/TextArea.js +103 -58
  86. package/dist/components/atoms/TextArea/TextArea.js.map +1 -1
  87. package/dist/components/atoms/TextArea/index.d.ts +2 -1
  88. package/dist/components/atoms/TextArea/styled.js +9 -11
  89. package/dist/components/atoms/TextArea/styled.js.map +1 -1
  90. package/dist/components/molecules/Calendar/Calendar.d.ts +1 -1
  91. package/dist/components/molecules/Calendar/Calendar.js +54 -28
  92. package/dist/components/molecules/Calendar/Calendar.js.map +1 -1
  93. package/dist/components/molecules/DatePicker/DatePicker.d.ts +1 -1
  94. package/dist/components/molecules/DatePicker/DatePicker.js +67 -46
  95. package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -1
  96. package/dist/components/molecules/DatePicker/index.d.ts +2 -1
  97. package/dist/components/molecules/DatePicker/styled.js +10 -18
  98. package/dist/components/molecules/DatePicker/styled.js.map +1 -1
  99. package/dist/components/molecules/DateTimePicker/DateTimePicker.js +61 -38
  100. package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
  101. package/dist/components/molecules/DateTimePicker/index.d.ts +2 -1
  102. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js +54 -28
  103. package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -1
  104. package/dist/components/molecules/Grid/Grid.js +77 -46
  105. package/dist/components/molecules/Grid/Grid.js.map +1 -1
  106. package/dist/components/molecules/Grid/Item/Item.d.ts +1 -1
  107. package/dist/components/molecules/Grid/Item/Item.js +74 -43
  108. package/dist/components/molecules/Grid/Item/Item.js.map +1 -1
  109. package/dist/components/molecules/IconTextButton/IconTextButton.js +67 -42
  110. package/dist/components/molecules/IconTextButton/IconTextButton.js.map +1 -1
  111. package/dist/components/molecules/IconTextButton/TextComponent.js +44 -37
  112. package/dist/components/molecules/IconTextButton/TextComponent.js.map +1 -1
  113. package/dist/components/molecules/IconTextButton/index.d.ts +2 -1
  114. package/dist/components/molecules/IconTextButton/styled.js +34 -45
  115. package/dist/components/molecules/IconTextButton/styled.js.map +1 -1
  116. package/dist/components/molecules/InputPassword/InputPassword.d.ts +1 -1
  117. package/dist/components/molecules/InputPassword/InputPassword.js +60 -40
  118. package/dist/components/molecules/InputPassword/InputPassword.js.map +1 -1
  119. package/dist/components/molecules/InputPassword/index.d.ts +2 -1
  120. package/dist/components/molecules/LabeledSwitch/LabelComponent.js +54 -30
  121. package/dist/components/molecules/LabeledSwitch/LabelComponent.js.map +1 -1
  122. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js +65 -39
  123. package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -1
  124. package/dist/components/molecules/LabeledSwitch/index.d.ts +2 -1
  125. package/dist/components/molecules/LabeledSwitch/styled.js +31 -30
  126. package/dist/components/molecules/LabeledSwitch/styled.js.map +1 -1
  127. package/dist/components/molecules/Select/Modal.js +198 -132
  128. package/dist/components/molecules/Select/Modal.js.map +1 -1
  129. package/dist/components/molecules/Select/Select.js +194 -115
  130. package/dist/components/molecules/Select/Select.js.map +1 -1
  131. package/dist/components/molecules/Select/index.d.ts +2 -1
  132. package/dist/components/molecules/Select/styled.js +82 -104
  133. package/dist/components/molecules/Select/styled.js.map +1 -1
  134. package/dist/components/molecules/Snackbar/Snackbar.d.ts +1 -1
  135. package/dist/components/molecules/Snackbar/Snackbar.js +51 -30
  136. package/dist/components/molecules/Snackbar/Snackbar.js.map +1 -1
  137. package/dist/components/molecules/Snackbar/index.d.ts +2 -1
  138. package/dist/components/molecules/Snackbar/styled.js +11 -23
  139. package/dist/components/molecules/Snackbar/styled.js.map +1 -1
  140. package/dist/index.d.ts +38 -19
  141. package/dist/index.js +78 -431
  142. package/dist/index.js.map +1 -1
  143. package/dist/utils/date.js +31 -21
  144. package/dist/utils/date.js.map +1 -1
  145. package/esm/components/atoms/Avatar/Avatar.d.ts +4 -0
  146. package/esm/components/atoms/Avatar/Avatar.js +31 -0
  147. package/esm/components/atoms/Avatar/Avatar.js.map +1 -0
  148. package/esm/components/atoms/Avatar/index.d.ts +1 -0
  149. package/esm/components/atoms/Badge/Badge.d.ts +8 -0
  150. package/esm/components/atoms/Badge/Badge.js +56 -0
  151. package/esm/components/atoms/Badge/Badge.js.map +1 -0
  152. package/esm/components/atoms/Badge/index.d.ts +2 -0
  153. package/esm/components/atoms/BottomNavigator/BottomNavigator.d.ts +13 -0
  154. package/esm/components/atoms/BottomNavigator/BottomNavigator.js +61 -0
  155. package/esm/components/atoms/BottomNavigator/BottomNavigator.js.map +1 -0
  156. package/esm/components/atoms/BottomNavigator/Item.d.ts +19 -0
  157. package/esm/components/atoms/BottomNavigator/Item.js +58 -0
  158. package/esm/components/atoms/BottomNavigator/Item.js.map +1 -0
  159. package/esm/components/atoms/BottomNavigator/index.d.ts +3 -0
  160. package/esm/components/atoms/BottomNavigator/styled.d.ts +11 -0
  161. package/esm/components/atoms/BottomNavigator/styled.js +31 -0
  162. package/esm/components/atoms/BottomNavigator/styled.js.map +1 -0
  163. package/esm/components/atoms/Button/Button.d.ts +6 -0
  164. package/esm/components/atoms/Button/Button.js +57 -0
  165. package/esm/components/atoms/Button/Button.js.map +1 -0
  166. package/esm/components/atoms/Button/States/Error.d.ts +4 -0
  167. package/esm/components/atoms/Button/States/Error.js +31 -0
  168. package/esm/components/atoms/Button/States/Error.js.map +1 -0
  169. package/esm/components/atoms/Button/States/Loading.d.ts +4 -0
  170. package/esm/components/atoms/Button/States/Loading.js +31 -0
  171. package/esm/components/atoms/Button/States/Loading.js.map +1 -0
  172. package/esm/components/atoms/Button/States/Success.d.ts +4 -0
  173. package/esm/components/atoms/Button/States/Success.js +31 -0
  174. package/esm/components/atoms/Button/States/Success.js.map +1 -0
  175. package/esm/components/atoms/Button/States/index.d.ts +3 -0
  176. package/esm/components/atoms/Button/index.d.ts +3 -0
  177. package/esm/components/atoms/GroupButton/GroupButtonOption.d.ts +2 -0
  178. package/esm/components/atoms/GroupButton/GroupButtonOption.js +31 -0
  179. package/esm/components/atoms/GroupButton/GroupButtonOption.js.map +1 -0
  180. package/esm/components/atoms/GroupButton/index.d.ts +1 -0
  181. package/esm/components/atoms/Header/Header.d.ts +12 -0
  182. package/esm/components/atoms/Header/Header.js +62 -0
  183. package/esm/components/atoms/Header/Header.js.map +1 -0
  184. package/esm/components/atoms/Header/index.d.ts +2 -0
  185. package/esm/components/atoms/Header/styled.d.ts +8 -0
  186. package/esm/components/atoms/Header/styled.js +19 -0
  187. package/esm/components/atoms/Header/styled.js.map +1 -0
  188. package/esm/components/atoms/Input/Input.d.ts +9 -0
  189. package/esm/components/atoms/Input/Input.js +133 -0
  190. package/esm/components/atoms/Input/Input.js.map +1 -0
  191. package/esm/components/atoms/Input/index.d.ts +2 -0
  192. package/esm/components/atoms/Input/styled.d.ts +1 -0
  193. package/esm/components/atoms/Input/styled.js +13 -0
  194. package/esm/components/atoms/Input/styled.js.map +1 -0
  195. package/esm/components/atoms/InputMask/InputMask.d.ts +8 -0
  196. package/esm/components/atoms/InputMask/InputMask.js +134 -0
  197. package/esm/components/atoms/InputMask/InputMask.js.map +1 -0
  198. package/esm/components/atoms/InputMask/index.d.ts +2 -0
  199. package/esm/components/atoms/InputMask/styled.d.ts +5 -0
  200. package/esm/components/atoms/InputMask/styled.js +16 -0
  201. package/esm/components/atoms/InputMask/styled.js.map +1 -0
  202. package/esm/components/atoms/Modal/ModalGroupManager.d.ts +4 -0
  203. package/esm/components/atoms/Modal/ModalGroupManager.js +48 -0
  204. package/esm/components/atoms/Modal/ModalGroupManager.js.map +1 -0
  205. package/esm/components/atoms/Modal/ModalLifecycleHandler.d.ts +24 -0
  206. package/esm/components/atoms/Modal/ModalLifecycleHandler.js +101 -0
  207. package/esm/components/atoms/Modal/ModalLifecycleHandler.js.map +1 -0
  208. package/esm/components/atoms/Modal/index.d.ts +7 -0
  209. package/esm/components/atoms/Modal/ui/BaseModalView.d.ts +3 -0
  210. package/esm/components/atoms/Modal/ui/BaseModalView.js +143 -0
  211. package/esm/components/atoms/Modal/ui/BaseModalView.js.map +1 -0
  212. package/esm/components/atoms/Modal/ui/styled.d.ts +6 -0
  213. package/esm/components/atoms/Modal/ui/styled.js +24 -0
  214. package/esm/components/atoms/Modal/ui/styled.js.map +1 -0
  215. package/esm/components/atoms/Modal/ui/types.d.ts +10 -0
  216. package/esm/components/atoms/Modal/useLazyModalManager.d.ts +8 -0
  217. package/esm/components/atoms/Modal/useLazyModalManager.js +33 -0
  218. package/esm/components/atoms/Modal/useLazyModalManager.js.map +1 -0
  219. package/esm/components/atoms/Modal/useModalManager.d.ts +6 -0
  220. package/esm/components/atoms/Modal/useModalManager.js +24 -0
  221. package/esm/components/atoms/Modal/useModalManager.js.map +1 -0
  222. package/esm/components/atoms/Modal/useModalRemoteControl.d.ts +4 -0
  223. package/esm/components/atoms/Modal/useModalRemoteControl.js +18 -0
  224. package/esm/components/atoms/Modal/useModalRemoteControl.js.map +1 -0
  225. package/esm/components/atoms/Skeleton/Pulse.d.ts +2 -0
  226. package/esm/components/atoms/Skeleton/Pulse.js +32 -0
  227. package/esm/components/atoms/Skeleton/Pulse.js.map +1 -0
  228. package/esm/components/atoms/Skeleton/Skeleton.d.ts +12 -0
  229. package/esm/components/atoms/Skeleton/Skeleton.js +87 -0
  230. package/esm/components/atoms/Skeleton/Skeleton.js.map +1 -0
  231. package/esm/components/atoms/Skeleton/Wave.d.ts +2 -0
  232. package/esm/components/atoms/Skeleton/Wave.js +50 -0
  233. package/esm/components/atoms/Skeleton/Wave.js.map +1 -0
  234. package/esm/components/atoms/Skeleton/animation.d.ts +3 -0
  235. package/esm/components/atoms/Skeleton/animation.js +45 -0
  236. package/esm/components/atoms/Skeleton/animation.js.map +1 -0
  237. package/esm/components/atoms/Skeleton/index.d.ts +2 -0
  238. package/esm/components/atoms/Skeleton/styled.d.ts +7 -0
  239. package/esm/components/atoms/Skeleton/styled.js +13 -0
  240. package/esm/components/atoms/Skeleton/styled.js.map +1 -0
  241. package/esm/components/atoms/Skeleton/types.d.ts +12 -0
  242. package/esm/components/atoms/SnappingSlider/SnappingSlider.d.ts +10 -0
  243. package/esm/components/atoms/SnappingSlider/SnappingSlider.js +79 -0
  244. package/esm/components/atoms/SnappingSlider/SnappingSlider.js.map +1 -0
  245. package/esm/components/atoms/SnappingSlider/index.d.ts +2 -0
  246. package/esm/components/atoms/Tag/Tag.d.ts +7 -0
  247. package/esm/components/atoms/Tag/Tag.js +47 -0
  248. package/esm/components/atoms/Tag/Tag.js.map +1 -0
  249. package/esm/components/atoms/Tag/index.d.ts +2 -0
  250. package/esm/components/atoms/Text/Text.d.ts +5 -0
  251. package/esm/components/atoms/Text/Text.js +38 -0
  252. package/esm/components/atoms/Text/Text.js.map +1 -0
  253. package/esm/components/atoms/Text/index.d.ts +2 -0
  254. package/esm/components/atoms/Text/styled.d.ts +10 -0
  255. package/esm/components/atoms/Text/styled.js +20 -0
  256. package/esm/components/atoms/Text/styled.js.map +1 -0
  257. package/esm/components/atoms/TextArea/TextArea.d.ts +5 -0
  258. package/esm/components/atoms/TextArea/TextArea.js +129 -0
  259. package/esm/components/atoms/TextArea/TextArea.js.map +1 -0
  260. package/esm/components/atoms/TextArea/index.d.ts +2 -0
  261. package/esm/components/atoms/TextArea/styled.d.ts +4 -0
  262. package/esm/components/atoms/TextArea/styled.js +8 -0
  263. package/esm/components/atoms/TextArea/styled.js.map +1 -0
  264. package/esm/components/molecules/Calendar/Calendar.d.ts +1 -0
  265. package/esm/components/molecules/Calendar/Calendar.js +50 -0
  266. package/esm/components/molecules/Calendar/Calendar.js.map +1 -0
  267. package/esm/components/molecules/Calendar/index.d.ts +1 -0
  268. package/esm/components/molecules/DatePicker/DatePicker.d.ts +3 -0
  269. package/esm/components/molecules/DatePicker/DatePicker.js +76 -0
  270. package/esm/components/molecules/DatePicker/DatePicker.js.map +1 -0
  271. package/esm/components/molecules/DatePicker/index.d.ts +2 -0
  272. package/esm/components/molecules/DatePicker/styled.d.ts +4 -0
  273. package/esm/components/molecules/DatePicker/styled.js +9 -0
  274. package/esm/components/molecules/DatePicker/styled.js.map +1 -0
  275. package/esm/components/molecules/DateTimePicker/DateTimePicker.d.ts +4 -0
  276. package/esm/components/molecules/DateTimePicker/DateTimePicker.js +66 -0
  277. package/esm/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -0
  278. package/esm/components/molecules/DateTimePicker/index.d.ts +2 -0
  279. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.d.ts +3 -0
  280. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js +50 -0
  281. package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -0
  282. package/esm/components/molecules/DateTimeSelector/index.d.ts +1 -0
  283. package/esm/components/molecules/Grid/Grid.d.ts +5 -0
  284. package/esm/components/molecules/Grid/Grid.js +88 -0
  285. package/esm/components/molecules/Grid/Grid.js.map +1 -0
  286. package/esm/components/molecules/Grid/Item/Item.d.ts +7 -0
  287. package/esm/components/molecules/Grid/Item/Item.js +106 -0
  288. package/esm/components/molecules/Grid/Item/Item.js.map +1 -0
  289. package/esm/components/molecules/Grid/Item/index.d.ts +1 -0
  290. package/esm/components/molecules/Grid/index.d.ts +2 -0
  291. package/esm/components/molecules/IconTextButton/IconTextButton.d.ts +6 -0
  292. package/esm/components/molecules/IconTextButton/IconTextButton.js +72 -0
  293. package/esm/components/molecules/IconTextButton/IconTextButton.js.map +1 -0
  294. package/esm/components/molecules/IconTextButton/TextComponent.d.ts +12 -0
  295. package/esm/components/molecules/IconTextButton/TextComponent.js +40 -0
  296. package/esm/components/molecules/IconTextButton/TextComponent.js.map +1 -0
  297. package/esm/components/molecules/IconTextButton/index.d.ts +2 -0
  298. package/esm/components/molecules/IconTextButton/styled.d.ts +2 -0
  299. package/esm/components/molecules/IconTextButton/styled.js +28 -0
  300. package/esm/components/molecules/IconTextButton/styled.js.map +1 -0
  301. package/esm/components/molecules/InputPassword/InputPassword.d.ts +6 -0
  302. package/esm/components/molecules/InputPassword/InputPassword.js +54 -0
  303. package/esm/components/molecules/InputPassword/InputPassword.js.map +1 -0
  304. package/esm/components/molecules/InputPassword/index.d.ts +2 -0
  305. package/esm/components/molecules/LabeledSwitch/LabelComponent.d.ts +13 -0
  306. package/esm/components/molecules/LabeledSwitch/LabelComponent.js +59 -0
  307. package/esm/components/molecules/LabeledSwitch/LabelComponent.js.map +1 -0
  308. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +8 -0
  309. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js +76 -0
  310. package/esm/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -0
  311. package/esm/components/molecules/LabeledSwitch/index.d.ts +2 -0
  312. package/esm/components/molecules/LabeledSwitch/styled.d.ts +9 -0
  313. package/esm/components/molecules/LabeledSwitch/styled.js +24 -0
  314. package/esm/components/molecules/LabeledSwitch/styled.js.map +1 -0
  315. package/esm/components/molecules/Select/Modal.d.ts +7 -0
  316. package/esm/components/molecules/Select/Modal.js +230 -0
  317. package/esm/components/molecules/Select/Modal.js.map +1 -0
  318. package/esm/components/molecules/Select/Select.d.ts +24 -0
  319. package/esm/components/molecules/Select/Select.js +240 -0
  320. package/esm/components/molecules/Select/Select.js.map +1 -0
  321. package/esm/components/molecules/Select/index.d.ts +2 -0
  322. package/esm/components/molecules/Select/styled.d.ts +41 -0
  323. package/esm/components/molecules/Select/styled.js +78 -0
  324. package/esm/components/molecules/Select/styled.js.map +1 -0
  325. package/esm/components/molecules/Snackbar/Snackbar.d.ts +9 -0
  326. package/esm/components/molecules/Snackbar/Snackbar.js +51 -0
  327. package/esm/components/molecules/Snackbar/Snackbar.js.map +1 -0
  328. package/esm/components/molecules/Snackbar/index.d.ts +2 -0
  329. package/esm/components/molecules/Snackbar/styled.d.ts +4 -0
  330. package/esm/components/molecules/Snackbar/styled.js +10 -0
  331. package/esm/components/molecules/Snackbar/styled.js.map +1 -0
  332. package/esm/index.d.ts +44 -0
  333. package/esm/index.js +35 -0
  334. package/esm/index.js.map +1 -0
  335. package/esm/utils/date.d.ts +1 -0
  336. package/esm/utils/date.js +16 -0
  337. package/esm/utils/date.js.map +1 -0
  338. package/package.json +8 -5
  339. package/rollup.config.js +39 -0
  340. package/src/components/atoms/Avatar/Avatar.tsx +3 -1
  341. package/src/components/atoms/Avatar/index.ts +1 -1
  342. package/src/components/atoms/Badge/index.ts +2 -1
  343. package/src/components/atoms/BottomNavigator/index.ts +3 -5
  344. package/src/components/atoms/Button/States/Error.tsx +1 -1
  345. package/src/components/atoms/Button/States/Loading.tsx +1 -1
  346. package/src/components/atoms/Button/States/Success.tsx +1 -1
  347. package/src/components/atoms/Button/index.ts +2 -1
  348. package/src/components/atoms/Header/index.ts +2 -1
  349. package/src/components/atoms/Input/index.ts +2 -1
  350. package/src/components/atoms/InputMask/index.ts +2 -1
  351. package/src/components/atoms/Skeleton/index.ts +2 -1
  352. package/src/components/atoms/SnappingSlider/index.ts +2 -4
  353. package/src/components/atoms/Tag/index.ts +2 -1
  354. package/src/components/atoms/Text/index.ts +2 -1
  355. package/src/components/atoms/TextArea/index.ts +2 -1
  356. package/src/components/molecules/DatePicker/index.ts +2 -1
  357. package/src/components/molecules/DateTimePicker/index.ts +2 -1
  358. package/src/components/molecules/IconTextButton/index.ts +2 -4
  359. package/src/components/molecules/InputPassword/index.ts +2 -4
  360. package/src/components/molecules/LabeledSwitch/index.ts +2 -4
  361. package/src/components/molecules/Select/Modal.tsx +1 -1
  362. package/src/components/molecules/Select/Select.tsx +3 -2
  363. package/src/components/molecules/Select/index.ts +2 -1
  364. package/src/components/molecules/Snackbar/Snackbar.tsx +1 -1
  365. package/src/components/molecules/Snackbar/index.ts +2 -1
  366. package/src/index.ts +37 -46
  367. package/tsconfig.build.esm.json +10 -0
  368. package/dist/components/atoms/Avatar/index.js +0 -14
  369. package/dist/components/atoms/Avatar/index.js.map +0 -1
  370. package/dist/components/atoms/Badge/index.js +0 -24
  371. package/dist/components/atoms/Badge/index.js.map +0 -1
  372. package/dist/components/atoms/BottomNavigator/index.js +0 -32
  373. package/dist/components/atoms/BottomNavigator/index.js.map +0 -1
  374. package/dist/components/atoms/Button/States/index.js +0 -32
  375. package/dist/components/atoms/Button/States/index.js.map +0 -1
  376. package/dist/components/atoms/Button/index.js +0 -40
  377. package/dist/components/atoms/Button/index.js.map +0 -1
  378. package/dist/components/atoms/GroupButton/index.js +0 -16
  379. package/dist/components/atoms/GroupButton/index.js.map +0 -1
  380. package/dist/components/atoms/Header/index.js +0 -24
  381. package/dist/components/atoms/Header/index.js.map +0 -1
  382. package/dist/components/atoms/Input/index.js +0 -24
  383. package/dist/components/atoms/Input/index.js.map +0 -1
  384. package/dist/components/atoms/InputMask/index.js +0 -24
  385. package/dist/components/atoms/InputMask/index.js.map +0 -1
  386. package/dist/components/atoms/Modal/index.js +0 -97
  387. package/dist/components/atoms/Modal/index.js.map +0 -1
  388. package/dist/components/atoms/Modal/ui/types.js +0 -6
  389. package/dist/components/atoms/Modal/ui/types.js.map +0 -1
  390. package/dist/components/atoms/Skeleton/index.js +0 -24
  391. package/dist/components/atoms/Skeleton/index.js.map +0 -1
  392. package/dist/components/atoms/Skeleton/types.js +0 -6
  393. package/dist/components/atoms/Skeleton/types.js.map +0 -1
  394. package/dist/components/atoms/SnappingSlider/index.js +0 -24
  395. package/dist/components/atoms/SnappingSlider/index.js.map +0 -1
  396. package/dist/components/atoms/Tag/index.js +0 -24
  397. package/dist/components/atoms/Tag/index.js.map +0 -1
  398. package/dist/components/atoms/Text/index.js +0 -24
  399. package/dist/components/atoms/Text/index.js.map +0 -1
  400. package/dist/components/atoms/TextArea/index.js +0 -24
  401. package/dist/components/atoms/TextArea/index.js.map +0 -1
  402. package/dist/components/molecules/Calendar/index.js +0 -14
  403. package/dist/components/molecules/Calendar/index.js.map +0 -1
  404. package/dist/components/molecules/DatePicker/index.js +0 -20
  405. package/dist/components/molecules/DatePicker/index.js.map +0 -1
  406. package/dist/components/molecules/DateTimePicker/index.js +0 -20
  407. package/dist/components/molecules/DateTimePicker/index.js.map +0 -1
  408. package/dist/components/molecules/DateTimeSelector/index.js +0 -14
  409. package/dist/components/molecules/DateTimeSelector/index.js.map +0 -1
  410. package/dist/components/molecules/Grid/Item/index.js +0 -24
  411. package/dist/components/molecules/Grid/Item/index.js.map +0 -1
  412. package/dist/components/molecules/Grid/index.js +0 -24
  413. package/dist/components/molecules/Grid/index.js.map +0 -1
  414. package/dist/components/molecules/IconTextButton/index.js +0 -24
  415. package/dist/components/molecules/IconTextButton/index.js.map +0 -1
  416. package/dist/components/molecules/InputPassword/index.js +0 -24
  417. package/dist/components/molecules/InputPassword/index.js.map +0 -1
  418. package/dist/components/molecules/LabeledSwitch/index.js +0 -24
  419. package/dist/components/molecules/LabeledSwitch/index.js.map +0 -1
  420. package/dist/components/molecules/Select/index.js +0 -24
  421. package/dist/components/molecules/Select/index.js.map +0 -1
  422. package/dist/components/molecules/Snackbar/index.js +0 -24
  423. package/dist/components/molecules/Snackbar/index.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,434 +1,81 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {
7
- Avatar: true,
8
- Badge: true,
9
- BadgeNativeProps: true,
10
- BottomNavigator: true,
11
- BottomNavigatorProps: true,
12
- Button: true,
13
- ButtonNativeProps: true,
14
- Error: true,
15
- Loading: true,
16
- Success: true,
17
- GroupButtonOption: true,
18
- Header: true,
19
- HeaderProps: true,
20
- Input: true,
21
- InputNativeProps: true,
22
- InputMask: true,
23
- InputMaskNativeProps: true,
24
- IBaseModal: true,
25
- ModalGroupManager: true,
26
- ModalLifecycleHandler: true,
27
- ModalView: true,
28
- useLazyModalManager: true,
29
- useModalManager: true,
30
- useModalRemoteControl: true,
31
- Skeleton: true,
32
- SkeletonProps: true,
33
- SnappingSlider: true,
34
- SnappingSliderProps: true,
35
- Tag: true,
36
- TagProps: true,
37
- Text: true,
38
- TextNativeProps: true,
39
- TextArea: true,
40
- TextAreaProps: true,
41
- Calendar: true,
42
- DatePicker: true,
43
- NativeDatePickerProps: true,
44
- DateTimePicker: true,
45
- NativeDateTimePickerProps: true,
46
- DateTimeSelector: true,
47
- IconTextButton: true,
48
- NativeIconTextButtonProps: true,
49
- InputPassword: true,
50
- InputPasswordNativeProps: true,
51
- LabeledSwitch: true,
52
- LabeledSwitchNativeProps: true,
53
- Select: true,
54
- SelectNativeProps: true,
55
- Snackbar: true,
56
- SnackbarNativeProps: true,
57
- Grid: true,
58
- GridItem: true
59
- };
60
- Object.defineProperty(exports, "Avatar", {
61
- enumerable: true,
62
- get: function () {
63
- return _Avatar.Avatar;
64
- }
65
- });
66
- Object.defineProperty(exports, "Badge", {
67
- enumerable: true,
68
- get: function () {
69
- return _Badge.Badge;
70
- }
71
- });
72
- Object.defineProperty(exports, "BadgeNativeProps", {
73
- enumerable: true,
74
- get: function () {
75
- return _Badge.BadgeNativeProps;
76
- }
77
- });
78
- Object.defineProperty(exports, "BottomNavigator", {
79
- enumerable: true,
80
- get: function () {
81
- return _BottomNavigator.BottomNavigator;
82
- }
83
- });
84
- Object.defineProperty(exports, "BottomNavigatorProps", {
85
- enumerable: true,
86
- get: function () {
87
- return _BottomNavigator.BottomNavigatorProps;
88
- }
89
- });
90
- Object.defineProperty(exports, "Button", {
91
- enumerable: true,
92
- get: function () {
93
- return _Button.Button;
94
- }
95
- });
96
- Object.defineProperty(exports, "ButtonNativeProps", {
97
- enumerable: true,
98
- get: function () {
99
- return _Button.ButtonNativeProps;
100
- }
101
- });
102
- Object.defineProperty(exports, "Calendar", {
103
- enumerable: true,
104
- get: function () {
105
- return _Calendar.Calendar;
106
- }
107
- });
108
- Object.defineProperty(exports, "DatePicker", {
109
- enumerable: true,
110
- get: function () {
111
- return _DatePicker.DatePicker;
112
- }
113
- });
114
- Object.defineProperty(exports, "DateTimePicker", {
115
- enumerable: true,
116
- get: function () {
117
- return _DateTimePicker.DateTimePicker;
118
- }
119
- });
120
- Object.defineProperty(exports, "DateTimeSelector", {
121
- enumerable: true,
122
- get: function () {
123
- return _DateTimeSelector.DateTimeSelector;
124
- }
125
- });
126
- Object.defineProperty(exports, "Error", {
127
- enumerable: true,
128
- get: function () {
129
- return _Button.Error;
130
- }
131
- });
132
- Object.defineProperty(exports, "Grid", {
133
- enumerable: true,
134
- get: function () {
135
- return _Grid.Grid;
136
- }
137
- });
138
- Object.defineProperty(exports, "GridItem", {
139
- enumerable: true,
140
- get: function () {
141
- return _Grid.GridItem;
142
- }
143
- });
144
- Object.defineProperty(exports, "GroupButtonOption", {
145
- enumerable: true,
146
- get: function () {
147
- return _GroupButton.GroupButtonOption;
148
- }
149
- });
150
- Object.defineProperty(exports, "Header", {
151
- enumerable: true,
152
- get: function () {
153
- return _Header.Header;
154
- }
155
- });
156
- Object.defineProperty(exports, "HeaderProps", {
157
- enumerable: true,
158
- get: function () {
159
- return _Header.HeaderProps;
160
- }
161
- });
162
- Object.defineProperty(exports, "IBaseModal", {
163
- enumerable: true,
164
- get: function () {
165
- return _Modal.IBaseModal;
166
- }
167
- });
168
- Object.defineProperty(exports, "IconTextButton", {
169
- enumerable: true,
170
- get: function () {
171
- return _IconTextButton.IconTextButton;
172
- }
173
- });
174
- Object.defineProperty(exports, "Input", {
175
- enumerable: true,
176
- get: function () {
177
- return _Input.Input;
178
- }
179
- });
180
- Object.defineProperty(exports, "InputMask", {
181
- enumerable: true,
182
- get: function () {
183
- return _InputMask.InputMask;
184
- }
185
- });
186
- Object.defineProperty(exports, "InputMaskNativeProps", {
187
- enumerable: true,
188
- get: function () {
189
- return _InputMask.InputMaskNativeProps;
190
- }
191
- });
192
- Object.defineProperty(exports, "InputNativeProps", {
193
- enumerable: true,
194
- get: function () {
195
- return _Input.InputNativeProps;
196
- }
197
- });
198
- Object.defineProperty(exports, "InputPassword", {
199
- enumerable: true,
200
- get: function () {
201
- return _InputPassword.InputPassword;
202
- }
203
- });
204
- Object.defineProperty(exports, "InputPasswordNativeProps", {
205
- enumerable: true,
206
- get: function () {
207
- return _InputPassword.InputPasswordNativeProps;
208
- }
209
- });
210
- Object.defineProperty(exports, "LabeledSwitch", {
211
- enumerable: true,
212
- get: function () {
213
- return _LabeledSwitch.LabeledSwitch;
214
- }
215
- });
216
- Object.defineProperty(exports, "LabeledSwitchNativeProps", {
217
- enumerable: true,
218
- get: function () {
219
- return _LabeledSwitch.LabeledSwitchNativeProps;
220
- }
221
- });
222
- Object.defineProperty(exports, "Loading", {
223
- enumerable: true,
224
- get: function () {
225
- return _Button.Loading;
226
- }
227
- });
228
- Object.defineProperty(exports, "ModalGroupManager", {
229
- enumerable: true,
230
- get: function () {
231
- return _Modal.ModalGroupManager;
232
- }
233
- });
234
- Object.defineProperty(exports, "ModalLifecycleHandler", {
235
- enumerable: true,
236
- get: function () {
237
- return _Modal.ModalLifecycleHandler;
238
- }
239
- });
240
- Object.defineProperty(exports, "ModalView", {
241
- enumerable: true,
242
- get: function () {
243
- return _Modal.ModalView;
244
- }
245
- });
246
- Object.defineProperty(exports, "NativeDatePickerProps", {
247
- enumerable: true,
248
- get: function () {
249
- return _DatePicker.NativeDatePickerProps;
250
- }
251
- });
252
- Object.defineProperty(exports, "NativeDateTimePickerProps", {
253
- enumerable: true,
254
- get: function () {
255
- return _DateTimePicker.NativeDateTimePickerProps;
256
- }
257
- });
258
- Object.defineProperty(exports, "NativeIconTextButtonProps", {
259
- enumerable: true,
260
- get: function () {
261
- return _IconTextButton.NativeIconTextButtonProps;
262
- }
263
- });
264
- Object.defineProperty(exports, "Select", {
265
- enumerable: true,
266
- get: function () {
267
- return _Select.Select;
268
- }
269
- });
270
- Object.defineProperty(exports, "SelectNativeProps", {
271
- enumerable: true,
272
- get: function () {
273
- return _Select.SelectNativeProps;
274
- }
275
- });
276
- Object.defineProperty(exports, "Skeleton", {
277
- enumerable: true,
278
- get: function () {
279
- return _Skeleton.Skeleton;
280
- }
281
- });
282
- Object.defineProperty(exports, "SkeletonProps", {
283
- enumerable: true,
284
- get: function () {
285
- return _Skeleton.SkeletonProps;
286
- }
287
- });
288
- Object.defineProperty(exports, "Snackbar", {
289
- enumerable: true,
290
- get: function () {
291
- return _Snackbar.Snackbar;
292
- }
293
- });
294
- Object.defineProperty(exports, "SnackbarNativeProps", {
295
- enumerable: true,
296
- get: function () {
297
- return _Snackbar.SnackbarNativeProps;
298
- }
299
- });
300
- Object.defineProperty(exports, "SnappingSlider", {
301
- enumerable: true,
302
- get: function () {
303
- return _SnappingSlider.SnappingSlider;
304
- }
305
- });
306
- Object.defineProperty(exports, "SnappingSliderProps", {
307
- enumerable: true,
308
- get: function () {
309
- return _SnappingSlider.SnappingSliderProps;
310
- }
311
- });
312
- Object.defineProperty(exports, "Success", {
313
- enumerable: true,
314
- get: function () {
315
- return _Button.Success;
316
- }
317
- });
318
- Object.defineProperty(exports, "Tag", {
319
- enumerable: true,
320
- get: function () {
321
- return _Tag.Tag;
322
- }
323
- });
324
- Object.defineProperty(exports, "TagProps", {
325
- enumerable: true,
326
- get: function () {
327
- return _Tag.TagProps;
328
- }
329
- });
330
- Object.defineProperty(exports, "Text", {
331
- enumerable: true,
332
- get: function () {
333
- return _Text.Text;
334
- }
335
- });
336
- Object.defineProperty(exports, "TextArea", {
337
- enumerable: true,
338
- get: function () {
339
- return _TextArea.TextArea;
340
- }
341
- });
342
- Object.defineProperty(exports, "TextAreaProps", {
343
- enumerable: true,
344
- get: function () {
345
- return _TextArea.TextAreaProps;
346
- }
347
- });
348
- Object.defineProperty(exports, "TextNativeProps", {
349
- enumerable: true,
350
- get: function () {
351
- return _Text.TextNativeProps;
352
- }
353
- });
354
- Object.defineProperty(exports, "useLazyModalManager", {
355
- enumerable: true,
356
- get: function () {
357
- return _Modal.useLazyModalManager;
358
- }
359
- });
360
- Object.defineProperty(exports, "useModalManager", {
361
- enumerable: true,
362
- get: function () {
363
- return _Modal.useModalManager;
364
- }
365
- });
366
- Object.defineProperty(exports, "useModalRemoteControl", {
367
- enumerable: true,
368
- get: function () {
369
- return _Modal.useModalRemoteControl;
370
- }
371
- });
372
-
373
- var _reactCore = require("@tecsinapse/react-core");
374
-
375
- Object.keys(_reactCore).forEach(function (key) {
376
- if (key === "default" || key === "__esModule") return;
377
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
378
- if (key in exports && exports[key] === _reactCore[key]) return;
379
- Object.defineProperty(exports, key, {
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactCore = require('@tecsinapse/react-core');
6
+ var Avatar = require('./components/atoms/Avatar/Avatar.js');
7
+ var Badge = require('./components/atoms/Badge/Badge.js');
8
+ var BottomNavigator = require('./components/atoms/BottomNavigator/BottomNavigator.js');
9
+ var Button = require('./components/atoms/Button/Button.js');
10
+ var Error = require('./components/atoms/Button/States/Error.js');
11
+ var Loading = require('./components/atoms/Button/States/Loading.js');
12
+ var Success = require('./components/atoms/Button/States/Success.js');
13
+ var GroupButtonOption = require('./components/atoms/GroupButton/GroupButtonOption.js');
14
+ var Header = require('./components/atoms/Header/Header.js');
15
+ var Input = require('./components/atoms/Input/Input.js');
16
+ var InputMask = require('./components/atoms/InputMask/InputMask.js');
17
+ var ModalGroupManager = require('./components/atoms/Modal/ModalGroupManager.js');
18
+ var ModalLifecycleHandler = require('./components/atoms/Modal/ModalLifecycleHandler.js');
19
+ var BaseModalView = require('./components/atoms/Modal/ui/BaseModalView.js');
20
+ var useModalManager = require('./components/atoms/Modal/useModalManager.js');
21
+ var useLazyModalManager = require('./components/atoms/Modal/useLazyModalManager.js');
22
+ var useModalRemoteControl = require('./components/atoms/Modal/useModalRemoteControl.js');
23
+ var Skeleton = require('./components/atoms/Skeleton/Skeleton.js');
24
+ var SnappingSlider = require('./components/atoms/SnappingSlider/SnappingSlider.js');
25
+ var Tag = require('./components/atoms/Tag/Tag.js');
26
+ var Text = require('./components/atoms/Text/Text.js');
27
+ var TextArea = require('./components/atoms/TextArea/TextArea.js');
28
+ var Calendar = require('./components/molecules/Calendar/Calendar.js');
29
+ var DatePicker = require('./components/molecules/DatePicker/DatePicker.js');
30
+ var DateTimePicker = require('./components/molecules/DateTimePicker/DateTimePicker.js');
31
+ var DateTimeSelector = require('./components/molecules/DateTimeSelector/DateTimeSelector.js');
32
+ var IconTextButton = require('./components/molecules/IconTextButton/IconTextButton.js');
33
+ var InputPassword = require('./components/molecules/InputPassword/InputPassword.js');
34
+ var LabeledSwitch = require('./components/molecules/LabeledSwitch/LabeledSwitch.js');
35
+ var Select = require('./components/molecules/Select/Select.js');
36
+ var Snackbar = require('./components/molecules/Snackbar/Snackbar.js');
37
+ var Item = require('./components/molecules/Grid/Item/Item.js');
38
+ var Grid = require('./components/molecules/Grid/Grid.js');
39
+
40
+
41
+
42
+ exports.Avatar = Avatar;
43
+ exports.Badge = Badge;
44
+ exports.BottomNavigator = BottomNavigator;
45
+ exports.Button = Button.Button;
46
+ exports.Error = Error;
47
+ exports.Loading = Loading;
48
+ exports.Success = Success;
49
+ exports.GroupButtonOption = GroupButtonOption;
50
+ exports.Header = Header;
51
+ exports.Input = Input;
52
+ exports.InputMask = InputMask;
53
+ exports.ModalGroupManager = ModalGroupManager.ModalGroupManager;
54
+ exports.ModalLifecycleHandler = ModalLifecycleHandler.ModalLifecycleHandler;
55
+ exports.ModalView = BaseModalView.ModalView;
56
+ exports.useModalManager = useModalManager.useModalManager;
57
+ exports.useLazyModalManager = useLazyModalManager.useLazyModalManager;
58
+ exports.useModalRemoteControl = useModalRemoteControl.useModalRemoteControl;
59
+ exports.Skeleton = Skeleton;
60
+ exports.SnappingSlider = SnappingSlider;
61
+ exports.Tag = Tag;
62
+ exports.Text = Text;
63
+ exports.TextArea = TextArea;
64
+ exports.Calendar = Calendar.Calendar;
65
+ exports.DatePicker = DatePicker.DatePicker;
66
+ exports.DateTimePicker = DateTimePicker.DateTimePicker;
67
+ exports.DateTimeSelector = DateTimeSelector.DateTimeSelector;
68
+ exports.IconTextButton = IconTextButton;
69
+ exports.InputPassword = InputPassword;
70
+ exports.LabeledSwitch = LabeledSwitch;
71
+ exports.Select = Select;
72
+ exports.Snackbar = Snackbar;
73
+ exports.GridItem = Item;
74
+ exports.Grid = Grid;
75
+ Object.keys(reactCore).forEach(function (k) {
76
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
380
77
  enumerable: true,
381
- get: function () {
382
- return _reactCore[key];
383
- }
78
+ get: function () { return reactCore[k]; }
384
79
  });
385
80
  });
386
-
387
- var _Avatar = require("./components/atoms/Avatar");
388
-
389
- var _Badge = require("./components/atoms/Badge");
390
-
391
- var _BottomNavigator = require("./components/atoms/BottomNavigator");
392
-
393
- var _Button = require("./components/atoms/Button");
394
-
395
- var _GroupButton = require("./components/atoms/GroupButton");
396
-
397
- var _Header = require("./components/atoms/Header");
398
-
399
- var _Input = require("./components/atoms/Input");
400
-
401
- var _InputMask = require("./components/atoms/InputMask");
402
-
403
- var _Modal = require("./components/atoms/Modal");
404
-
405
- var _Skeleton = require("./components/atoms/Skeleton");
406
-
407
- var _SnappingSlider = require("./components/atoms/SnappingSlider");
408
-
409
- var _Tag = require("./components/atoms/Tag");
410
-
411
- var _Text = require("./components/atoms/Text");
412
-
413
- var _TextArea = require("./components/atoms/TextArea");
414
-
415
- var _Calendar = require("./components/molecules/Calendar");
416
-
417
- var _DatePicker = require("./components/molecules/DatePicker");
418
-
419
- var _DateTimePicker = require("./components/molecules/DateTimePicker");
420
-
421
- var _DateTimeSelector = require("./components/molecules/DateTimeSelector");
422
-
423
- var _IconTextButton = require("./components/molecules/IconTextButton");
424
-
425
- var _InputPassword = require("./components/molecules/InputPassword");
426
-
427
- var _LabeledSwitch = require("./components/molecules/LabeledSwitch");
428
-
429
- var _Select = require("./components/molecules/Select");
430
-
431
- var _Snackbar = require("./components/molecules/Snackbar");
432
-
433
- var _Grid = require("./components/molecules/Grid");
434
- //# sourceMappingURL=index.js.map
81
+ //# 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 * from '@tecsinapse/react-core';\nexport { Avatar } from './components/atoms/Avatar';\nexport { Badge, BadgeNativeProps } from './components/atoms/Badge';\nexport {\n BottomNavigator,\n BottomNavigatorProps,\n} from './components/atoms/BottomNavigator';\nexport {\n Button,\n ButtonNativeProps,\n Error,\n Loading,\n Success,\n} from './components/atoms/Button';\nexport { GroupButtonOption } from './components/atoms/GroupButton';\nexport { Header, HeaderProps } from './components/atoms/Header';\nexport { Input, InputNativeProps } from './components/atoms/Input';\nexport { InputMask, InputMaskNativeProps } from './components/atoms/InputMask';\nexport {\n IBaseModal,\n ModalGroupManager,\n ModalLifecycleHandler,\n ModalView,\n useLazyModalManager,\n useModalManager,\n useModalRemoteControl,\n} from './components/atoms/Modal';\nexport { Skeleton, SkeletonProps } from './components/atoms/Skeleton';\nexport {\n SnappingSlider,\n SnappingSliderProps,\n} from './components/atoms/SnappingSlider';\nexport { Tag, TagProps } from './components/atoms/Tag';\nexport { Text, TextNativeProps } from './components/atoms/Text';\nexport { TextArea, TextAreaProps } from './components/atoms/TextArea';\nexport { Calendar } from './components/molecules/Calendar';\nexport {\n DatePicker,\n NativeDatePickerProps,\n} from './components/molecules/DatePicker';\nexport {\n DateTimePicker,\n NativeDateTimePickerProps,\n} from './components/molecules/DateTimePicker';\nexport { DateTimeSelector } from './components/molecules/DateTimeSelector';\nexport {\n IconTextButton,\n NativeIconTextButtonProps,\n} from './components/molecules/IconTextButton';\nexport {\n InputPassword,\n InputPasswordNativeProps,\n} from './components/molecules/InputPassword';\nexport {\n LabeledSwitch,\n LabeledSwitchNativeProps,\n} from './components/molecules/LabeledSwitch';\nexport { Select, SelectNativeProps } from './components/molecules/Select';\nexport { Snackbar, SnackbarNativeProps } from './components/molecules/Snackbar';\nexport { Grid, GridItem } from './components/molecules/Grid';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AACA;;AACA;;AAIA;;AAOA;;AACA;;AACA;;AACA;;AACA;;AASA;;AACA;;AAIA;;AACA;;AACA;;AACA;;AACA;;AAIA;;AAIA;;AACA;;AAIA;;AAIA;;AAIA;;AACA;;AACA"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,30 +1,40 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getLocale = void 0;
7
-
8
- var _reactNative = require("react-native");
9
-
10
- var dateFnsLocales = _interopRequireWildcard(require("date-fns/locale"));
11
-
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactNative = require('react-native');
6
+ var dateFnsLocales = require('date-fns/locale');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
13
25
 
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
+ var dateFnsLocales__namespace = /*#__PURE__*/_interopNamespace(dateFnsLocales);
15
27
 
16
28
  const getLocale = () => {
17
29
  let locale;
18
-
19
- if (_reactNative.Platform.OS === 'ios') {
20
- locale = _reactNative.NativeModules.SettingsManager.settings.AppleLocale || _reactNative.NativeModules.SettingsManager.settings.AppleLanguages[0];
30
+ if (reactNative.Platform.OS === "ios") {
31
+ locale = reactNative.NativeModules.SettingsManager.settings.AppleLocale || reactNative.NativeModules.SettingsManager.settings.AppleLanguages[0];
21
32
  } else {
22
- locale = _reactNative.NativeModules.I18nManager.localeIdentifier;
33
+ locale = reactNative.NativeModules.I18nManager.localeIdentifier;
23
34
  }
24
-
25
- const code = locale.replace('_', '');
26
- return dateFnsLocales[code];
35
+ const code = locale.replace("_", "");
36
+ return dateFnsLocales__namespace[code];
27
37
  };
28
38
 
29
39
  exports.getLocale = getLocale;
30
- //# sourceMappingURL=date.js.map
40
+ //# sourceMappingURL=date.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.js","names":["getLocale","locale","Platform","OS","NativeModules","SettingsManager","settings","AppleLocale","AppleLanguages","I18nManager","localeIdentifier","code","replace","dateFnsLocales"],"sources":["../../src/utils/date.ts"],"sourcesContent":["import { NativeModules, Platform } from 'react-native';\nimport * as dateFnsLocales from 'date-fns/locale';\n\nexport const getLocale = (): Locale => {\n let locale: string;\n if (Platform.OS === 'ios') {\n locale =\n NativeModules.SettingsManager.settings.AppleLocale ||\n NativeModules.SettingsManager.settings.AppleLanguages[0];\n } else {\n locale = NativeModules.I18nManager.localeIdentifier;\n }\n\n const code = locale.replace('_', '');\n\n return dateFnsLocales[code];\n};\n"],"mappings":";;;;;;;AAAA;;AACA;;;;;;AAEO,MAAMA,SAAS,GAAG,MAAc;EACrC,IAAIC,MAAJ;;EACA,IAAIC,qBAAA,CAASC,EAAT,KAAgB,KAApB,EAA2B;IACzBF,MAAM,GACJG,0BAAA,CAAcC,eAAd,CAA8BC,QAA9B,CAAuCC,WAAvC,IACAH,0BAAA,CAAcC,eAAd,CAA8BC,QAA9B,CAAuCE,cAAvC,CAAsD,CAAtD,CAFF;EAGD,CAJD,MAIO;IACLP,MAAM,GAAGG,0BAAA,CAAcK,WAAd,CAA0BC,gBAAnC;EACD;;EAED,MAAMC,IAAI,GAAGV,MAAM,CAACW,OAAP,CAAe,GAAf,EAAoB,EAApB,CAAb;EAEA,OAAOC,cAAc,CAACF,IAAD,CAArB;AACD,CAbM"}
1
+ {"version":3,"file":"date.js","sources":["../../src/utils/date.ts"],"sourcesContent":["import { NativeModules, Platform } from 'react-native';\nimport * as dateFnsLocales from 'date-fns/locale';\n\nexport const getLocale = (): Locale => {\n let locale: string;\n if (Platform.OS === 'ios') {\n locale =\n NativeModules.SettingsManager.settings.AppleLocale ||\n NativeModules.SettingsManager.settings.AppleLanguages[0];\n } else {\n locale = NativeModules.I18nManager.localeIdentifier;\n }\n\n const code = locale.replace('_', '');\n\n return dateFnsLocales[code];\n};\n"],"names":["Platform","NativeModules","dateFnsLocales"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,YAAY,MAAc;AACrC,EAAI,IAAA,MAAA,CAAA;AACJ,EAAI,IAAAA,oBAAA,CAAS,OAAO,KAAO,EAAA;AACzB,IAAA,MAAA,GACEC,0BAAc,eAAgB,CAAA,QAAA,CAAS,eACvCA,yBAAc,CAAA,eAAA,CAAgB,SAAS,cAAe,CAAA,CAAA,CAAA,CAAA;AAAA,GACnD,MAAA;AACL,IAAA,MAAA,GAASA,0BAAc,WAAY,CAAA,gBAAA,CAAA;AAAA,GACrC;AAEA,EAAA,MAAM,IAAO,GAAA,MAAA,CAAO,OAAQ,CAAA,GAAA,EAAK,EAAE,CAAA,CAAA;AAEnC,EAAA,OAAOC,yBAAe,CAAA,IAAA,CAAA,CAAA;AACxB;;;;"}
@@ -0,0 +1,4 @@
1
+ import { AvatarProps } from '@tecsinapse/react-core';
2
+ import React from 'react';
3
+ declare const Avatar: React.FC<AvatarProps>;
4
+ export default Avatar;
@@ -0,0 +1,31 @@
1
+ import { Avatar as Avatar$1 } from '@tecsinapse/react-core';
2
+ import React__default from 'react';
3
+ import Text from '../Text/Text.js';
4
+
5
+ var __defProp = Object.defineProperty;
6
+ var __defProps = Object.defineProperties;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
+ var __spreadValues = (a, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ if (__getOwnPropSymbols)
17
+ for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop))
19
+ __defNormalProp(a, prop, b[prop]);
20
+ }
21
+ return a;
22
+ };
23
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ const Avatar = (props) => {
25
+ return /* @__PURE__ */ React__default.createElement(Avatar$1, __spreadProps(__spreadValues({}, props), {
26
+ TextComponent: Text
27
+ }));
28
+ };
29
+
30
+ export { Avatar as default };
31
+ //# sourceMappingURL=Avatar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.js","sources":["../../../../src/components/atoms/Avatar/Avatar.tsx"],"sourcesContent":["import { Avatar as AvatarCore, AvatarProps } from '@tecsinapse/react-core';\nimport React from 'react';\nimport { Text } from '../Text';\n\nconst Avatar: React.FC<AvatarProps> = props => {\n return <AvatarCore {...props} TextComponent={Text} />;\n};\n\nexport default Avatar;\n"],"names":["React","AvatarCore"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,SAAgC,CAAS,KAAA,KAAA;AAC7C,EAAO,uBAAAA,cAAA,CAAA,aAAA,CAACC,2CAAe,KAAf,CAAA,EAAA;AAAA,IAAsB,aAAe,EAAA,IAAA;AAAA,GAAM,CAAA,CAAA,CAAA;AACrD;;;;"}
@@ -0,0 +1 @@
1
+ export { default as Avatar } from './Avatar';
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { BadgeProps, FontColorType } from '@tecsinapse/react-core';
3
+ export interface BadgeNativeProps extends Omit<BadgeProps, 'value'> {
4
+ fontColor?: FontColorType;
5
+ value: string | number;
6
+ }
7
+ declare const Badge: FC<BadgeNativeProps>;
8
+ export default Badge;