@fattureincloud-mobile/fic-mobile-ds 1.0.0 → 1.2.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 (469) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +31 -0
  3. package/lib/commonjs/components/Tag/Tag.js +44 -0
  4. package/lib/commonjs/components/Tag/Tag.js.map +1 -0
  5. package/lib/commonjs/components/Tag/index.js +14 -0
  6. package/lib/commonjs/components/Tag/index.js.map +1 -0
  7. package/lib/commonjs/components/Touchable/Touchable.js +79 -0
  8. package/lib/commonjs/components/Touchable/Touchable.js.map +1 -0
  9. package/lib/commonjs/components/Touchable/index.js +14 -0
  10. package/lib/commonjs/components/Touchable/index.js.map +1 -0
  11. package/lib/commonjs/components/base/DatePicker/DatePicker.js +257 -0
  12. package/lib/commonjs/components/base/DatePicker/DatePicker.js.map +1 -0
  13. package/lib/commonjs/components/base/DatePicker/index.js +14 -0
  14. package/lib/commonjs/components/base/DatePicker/index.js.map +1 -0
  15. package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js +77 -0
  16. package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js.map +1 -0
  17. package/lib/commonjs/components/base/HeaderArrows/index.js +14 -0
  18. package/lib/commonjs/components/base/HeaderArrows/index.js.map +1 -0
  19. package/lib/commonjs/components/buttons/FicButton/FicButton.js +42 -0
  20. package/lib/commonjs/components/buttons/FicButton/FicButton.js.map +1 -0
  21. package/lib/commonjs/components/buttons/FicButton/FicButton.types.js +6 -0
  22. package/lib/commonjs/components/buttons/FicButton/FicButton.types.js.map +1 -0
  23. package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js +104 -0
  24. package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js.map +1 -0
  25. package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js +121 -0
  26. package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js.map +1 -0
  27. package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js +123 -0
  28. package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js.map +1 -0
  29. package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js +144 -0
  30. package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js.map +1 -0
  31. package/lib/commonjs/components/buttons/FicButton/constants.js +23 -0
  32. package/lib/commonjs/components/buttons/FicButton/constants.js.map +1 -0
  33. package/lib/commonjs/components/buttons/FicButton/index.js +14 -0
  34. package/lib/commonjs/components/buttons/FicButton/index.js.map +1 -0
  35. package/lib/commonjs/components/buttons/FicButton/themes/dark.js +291 -0
  36. package/lib/commonjs/components/buttons/FicButton/themes/dark.js.map +1 -0
  37. package/lib/commonjs/components/buttons/FicButton/themes/index.js +14 -0
  38. package/lib/commonjs/components/buttons/FicButton/themes/index.js.map +1 -0
  39. package/lib/commonjs/components/buttons/FicButton/themes/light.js +311 -0
  40. package/lib/commonjs/components/buttons/FicButton/themes/light.js.map +1 -0
  41. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js +54 -0
  42. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -0
  43. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js +6 -0
  44. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -0
  45. package/lib/commonjs/components/buttons/FicButtonGroup/index.js +14 -0
  46. package/lib/commonjs/components/buttons/FicButtonGroup/index.js.map +1 -0
  47. package/lib/commonjs/components/notifications/Banner/Banner.js +96 -0
  48. package/lib/commonjs/components/notifications/Banner/Banner.js.map +1 -0
  49. package/lib/commonjs/components/notifications/Banner/Banner.types.js +6 -0
  50. package/lib/commonjs/components/notifications/Banner/Banner.types.js.map +1 -0
  51. package/lib/commonjs/components/notifications/Banner/index.js +14 -0
  52. package/lib/commonjs/components/notifications/Banner/index.js.map +1 -0
  53. package/lib/commonjs/components/notifications/Banner/themes/dark.js +47 -0
  54. package/lib/commonjs/components/notifications/Banner/themes/dark.js.map +1 -0
  55. package/lib/commonjs/components/notifications/Banner/themes/index.js +21 -0
  56. package/lib/commonjs/components/notifications/Banner/themes/index.js.map +1 -0
  57. package/lib/commonjs/components/notifications/Banner/themes/light.js +47 -0
  58. package/lib/commonjs/components/notifications/Banner/themes/light.js.map +1 -0
  59. package/lib/commonjs/components/typographies/Body/Body.js +35 -0
  60. package/lib/commonjs/components/typographies/Body/Body.js.map +1 -0
  61. package/lib/commonjs/components/typographies/Body/index.js +14 -0
  62. package/lib/commonjs/components/typographies/Body/index.js.map +1 -0
  63. package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js +45 -0
  64. package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -0
  65. package/lib/commonjs/components/typographies/ButtonTitle/index.js +14 -0
  66. package/lib/commonjs/components/typographies/ButtonTitle/index.js.map +1 -0
  67. package/lib/commonjs/components/typographies/Callout/Callout.js +35 -0
  68. package/lib/commonjs/components/typographies/Callout/Callout.js.map +1 -0
  69. package/lib/commonjs/components/typographies/Callout/index.js +14 -0
  70. package/lib/commonjs/components/typographies/Callout/index.js.map +1 -0
  71. package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js +35 -0
  72. package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js.map +1 -0
  73. package/lib/commonjs/components/typographies/CaptionOne/index.js +14 -0
  74. package/lib/commonjs/components/typographies/CaptionOne/index.js.map +1 -0
  75. package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js +35 -0
  76. package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -0
  77. package/lib/commonjs/components/typographies/CaptionTwo/index.js +14 -0
  78. package/lib/commonjs/components/typographies/CaptionTwo/index.js.map +1 -0
  79. package/lib/commonjs/components/typographies/Footnote/Footnote.js +35 -0
  80. package/lib/commonjs/components/typographies/Footnote/Footnote.js.map +1 -0
  81. package/lib/commonjs/components/typographies/Footnote/index.js +14 -0
  82. package/lib/commonjs/components/typographies/Footnote/index.js.map +1 -0
  83. package/lib/commonjs/components/typographies/Headline/Headline.js +35 -0
  84. package/lib/commonjs/components/typographies/Headline/Headline.js.map +1 -0
  85. package/lib/commonjs/components/typographies/Headline/index.js +14 -0
  86. package/lib/commonjs/components/typographies/Headline/index.js.map +1 -0
  87. package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js +35 -0
  88. package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js.map +1 -0
  89. package/lib/commonjs/components/typographies/LargeTitle/index.js +14 -0
  90. package/lib/commonjs/components/typographies/LargeTitle/index.js.map +1 -0
  91. package/lib/commonjs/components/typographies/README.md +22 -0
  92. package/lib/commonjs/components/typographies/Subhead/Subhead.js +35 -0
  93. package/lib/commonjs/components/typographies/Subhead/Subhead.js.map +1 -0
  94. package/lib/commonjs/components/typographies/Subhead/index.js +14 -0
  95. package/lib/commonjs/components/typographies/Subhead/index.js.map +1 -0
  96. package/lib/commonjs/components/typographies/TitleOne/TitleOne.js +35 -0
  97. package/lib/commonjs/components/typographies/TitleOne/TitleOne.js.map +1 -0
  98. package/lib/commonjs/components/typographies/TitleOne/index.js +14 -0
  99. package/lib/commonjs/components/typographies/TitleOne/index.js.map +1 -0
  100. package/lib/commonjs/components/typographies/TitleThree/TitleThree.js +35 -0
  101. package/lib/commonjs/components/typographies/TitleThree/TitleThree.js.map +1 -0
  102. package/lib/commonjs/components/typographies/TitleThree/index.js +14 -0
  103. package/lib/commonjs/components/typographies/TitleThree/index.js.map +1 -0
  104. package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js +35 -0
  105. package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js.map +1 -0
  106. package/lib/commonjs/components/typographies/TitleTwo/index.js +14 -0
  107. package/lib/commonjs/components/typographies/TitleTwo/index.js.map +1 -0
  108. package/lib/commonjs/components/typographies/font.js +33 -0
  109. package/lib/commonjs/components/typographies/font.js.map +1 -0
  110. package/lib/commonjs/hooks/useTheme.js +24 -0
  111. package/lib/commonjs/hooks/useTheme.js.map +1 -0
  112. package/lib/commonjs/index.js +206 -0
  113. package/lib/commonjs/index.js.map +1 -0
  114. package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js +30 -0
  115. package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -0
  116. package/lib/commonjs/providers/DesignSystemProvider/index.js +14 -0
  117. package/lib/commonjs/providers/DesignSystemProvider/index.js.map +1 -0
  118. package/lib/commonjs/providers/IconProvider/IconProvider.js +35 -0
  119. package/lib/commonjs/providers/IconProvider/IconProvider.js.map +1 -0
  120. package/lib/commonjs/providers/IconProvider/index.js +20 -0
  121. package/lib/commonjs/providers/IconProvider/index.js.map +1 -0
  122. package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js +20 -0
  123. package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js.map +1 -0
  124. package/lib/commonjs/styles/calendarTheme.js +6 -0
  125. package/lib/commonjs/styles/calendarTheme.js.map +1 -0
  126. package/lib/commonjs/styles/colors.js +109 -0
  127. package/lib/commonjs/styles/colors.js.map +1 -0
  128. package/lib/commonjs/styles/globalStyles.js +41 -0
  129. package/lib/commonjs/styles/globalStyles.js.map +1 -0
  130. package/lib/commonjs/styles/space.js +34 -0
  131. package/lib/commonjs/styles/space.js.map +1 -0
  132. package/lib/commonjs/styles/theme.js +421 -0
  133. package/lib/commonjs/styles/theme.js.map +1 -0
  134. package/lib/commonjs/utils/locale.js +50 -0
  135. package/lib/commonjs/utils/locale.js.map +1 -0
  136. package/lib/module/components/Tag/Tag.js +37 -0
  137. package/lib/module/components/Tag/Tag.js.map +1 -0
  138. package/lib/module/components/Tag/index.js +3 -0
  139. package/lib/module/components/Tag/index.js.map +1 -0
  140. package/lib/module/components/Touchable/Touchable.js +72 -0
  141. package/lib/module/components/Touchable/Touchable.js.map +1 -0
  142. package/lib/module/components/Touchable/index.js +3 -0
  143. package/lib/module/components/Touchable/index.js.map +1 -0
  144. package/lib/module/components/base/DatePicker/DatePicker.js +251 -0
  145. package/lib/module/components/base/DatePicker/DatePicker.js.map +1 -0
  146. package/lib/module/components/base/DatePicker/index.js +3 -0
  147. package/lib/module/components/base/DatePicker/index.js.map +1 -0
  148. package/lib/module/components/base/HeaderArrows/HeaderArrows.js +70 -0
  149. package/lib/module/components/base/HeaderArrows/HeaderArrows.js.map +1 -0
  150. package/lib/module/components/base/HeaderArrows/index.js +3 -0
  151. package/lib/module/components/base/HeaderArrows/index.js.map +1 -0
  152. package/lib/module/components/buttons/FicButton/FicButton.js +36 -0
  153. package/lib/module/components/buttons/FicButton/FicButton.js.map +1 -0
  154. package/lib/module/components/buttons/FicButton/FicButton.types.js +2 -0
  155. package/lib/module/components/buttons/FicButton/FicButton.types.js.map +1 -0
  156. package/lib/module/components/buttons/FicButton/FicButtonIcon.js +96 -0
  157. package/lib/module/components/buttons/FicButton/FicButtonIcon.js.map +1 -0
  158. package/lib/module/components/buttons/FicButton/FicButtonPrimary.js +114 -0
  159. package/lib/module/components/buttons/FicButton/FicButtonPrimary.js.map +1 -0
  160. package/lib/module/components/buttons/FicButton/FicButtonSecondary.js +116 -0
  161. package/lib/module/components/buttons/FicButton/FicButtonSecondary.js.map +1 -0
  162. package/lib/module/components/buttons/FicButton/FicButtonTertiary.js +137 -0
  163. package/lib/module/components/buttons/FicButton/FicButtonTertiary.js.map +1 -0
  164. package/lib/module/components/buttons/FicButton/constants.js +17 -0
  165. package/lib/module/components/buttons/FicButton/constants.js.map +1 -0
  166. package/lib/module/components/buttons/FicButton/index.js +3 -0
  167. package/lib/module/components/buttons/FicButton/index.js.map +1 -0
  168. package/lib/module/components/buttons/FicButton/themes/dark.js +285 -0
  169. package/lib/module/components/buttons/FicButton/themes/dark.js.map +1 -0
  170. package/lib/module/components/buttons/FicButton/themes/index.js +3 -0
  171. package/lib/module/components/buttons/FicButton/themes/index.js.map +1 -0
  172. package/lib/module/components/buttons/FicButton/themes/light.js +305 -0
  173. package/lib/module/components/buttons/FicButton/themes/light.js.map +1 -0
  174. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js +47 -0
  175. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -0
  176. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js +2 -0
  177. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -0
  178. package/lib/module/components/buttons/FicButtonGroup/index.js +3 -0
  179. package/lib/module/components/buttons/FicButtonGroup/index.js.map +1 -0
  180. package/lib/module/components/notifications/Banner/Banner.js +89 -0
  181. package/lib/module/components/notifications/Banner/Banner.js.map +1 -0
  182. package/lib/module/components/notifications/Banner/Banner.types.js +2 -0
  183. package/lib/module/components/notifications/Banner/Banner.types.js.map +1 -0
  184. package/lib/module/components/notifications/Banner/index.js +3 -0
  185. package/lib/module/components/notifications/Banner/index.js.map +1 -0
  186. package/lib/module/components/notifications/Banner/themes/dark.js +41 -0
  187. package/lib/module/components/notifications/Banner/themes/dark.js.map +1 -0
  188. package/lib/module/components/notifications/Banner/themes/index.js +4 -0
  189. package/lib/module/components/notifications/Banner/themes/index.js.map +1 -0
  190. package/lib/module/components/notifications/Banner/themes/light.js +41 -0
  191. package/lib/module/components/notifications/Banner/themes/light.js.map +1 -0
  192. package/lib/module/components/typographies/Body/Body.js +29 -0
  193. package/lib/module/components/typographies/Body/Body.js.map +1 -0
  194. package/lib/module/components/typographies/Body/index.js +3 -0
  195. package/lib/module/components/typographies/Body/index.js.map +1 -0
  196. package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js +39 -0
  197. package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -0
  198. package/lib/module/components/typographies/ButtonTitle/index.js +3 -0
  199. package/lib/module/components/typographies/ButtonTitle/index.js.map +1 -0
  200. package/lib/module/components/typographies/Callout/Callout.js +29 -0
  201. package/lib/module/components/typographies/Callout/Callout.js.map +1 -0
  202. package/lib/module/components/typographies/Callout/index.js +3 -0
  203. package/lib/module/components/typographies/Callout/index.js.map +1 -0
  204. package/lib/module/components/typographies/CaptionOne/CaptionOne.js +29 -0
  205. package/lib/module/components/typographies/CaptionOne/CaptionOne.js.map +1 -0
  206. package/lib/module/components/typographies/CaptionOne/index.js +3 -0
  207. package/lib/module/components/typographies/CaptionOne/index.js.map +1 -0
  208. package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js +29 -0
  209. package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -0
  210. package/lib/module/components/typographies/CaptionTwo/index.js +3 -0
  211. package/lib/module/components/typographies/CaptionTwo/index.js.map +1 -0
  212. package/lib/module/components/typographies/Footnote/Footnote.js +29 -0
  213. package/lib/module/components/typographies/Footnote/Footnote.js.map +1 -0
  214. package/lib/module/components/typographies/Footnote/index.js +3 -0
  215. package/lib/module/components/typographies/Footnote/index.js.map +1 -0
  216. package/lib/module/components/typographies/Headline/Headline.js +29 -0
  217. package/lib/module/components/typographies/Headline/Headline.js.map +1 -0
  218. package/lib/module/components/typographies/Headline/index.js +3 -0
  219. package/lib/module/components/typographies/Headline/index.js.map +1 -0
  220. package/lib/module/components/typographies/LargeTitle/LargeTitle.js +29 -0
  221. package/lib/module/components/typographies/LargeTitle/LargeTitle.js.map +1 -0
  222. package/lib/module/components/typographies/LargeTitle/index.js +3 -0
  223. package/lib/module/components/typographies/LargeTitle/index.js.map +1 -0
  224. package/lib/module/components/typographies/README.md +22 -0
  225. package/lib/module/components/typographies/Subhead/Subhead.js +29 -0
  226. package/lib/module/components/typographies/Subhead/Subhead.js.map +1 -0
  227. package/lib/module/components/typographies/Subhead/index.js +3 -0
  228. package/lib/module/components/typographies/Subhead/index.js.map +1 -0
  229. package/lib/module/components/typographies/TitleOne/TitleOne.js +29 -0
  230. package/lib/module/components/typographies/TitleOne/TitleOne.js.map +1 -0
  231. package/lib/module/components/typographies/TitleOne/index.js +3 -0
  232. package/lib/module/components/typographies/TitleOne/index.js.map +1 -0
  233. package/lib/module/components/typographies/TitleThree/TitleThree.js +29 -0
  234. package/lib/module/components/typographies/TitleThree/TitleThree.js.map +1 -0
  235. package/lib/module/components/typographies/TitleThree/index.js +3 -0
  236. package/lib/module/components/typographies/TitleThree/index.js.map +1 -0
  237. package/lib/module/components/typographies/TitleTwo/TitleTwo.js +29 -0
  238. package/lib/module/components/typographies/TitleTwo/TitleTwo.js.map +1 -0
  239. package/lib/module/components/typographies/TitleTwo/index.js +3 -0
  240. package/lib/module/components/typographies/TitleTwo/index.js.map +1 -0
  241. package/lib/module/components/typographies/font.js +26 -0
  242. package/lib/module/components/typographies/font.js.map +1 -0
  243. package/lib/module/hooks/useTheme.js +16 -0
  244. package/lib/module/hooks/useTheme.js.map +1 -0
  245. package/lib/module/index.js +26 -0
  246. package/lib/module/index.js.map +1 -0
  247. package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js +22 -0
  248. package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -0
  249. package/lib/module/providers/DesignSystemProvider/index.js +3 -0
  250. package/lib/module/providers/DesignSystemProvider/index.js.map +1 -0
  251. package/lib/module/providers/IconProvider/IconProvider.js +27 -0
  252. package/lib/module/providers/IconProvider/IconProvider.js.map +1 -0
  253. package/lib/module/providers/IconProvider/index.js +3 -0
  254. package/lib/module/providers/IconProvider/index.js.map +1 -0
  255. package/lib/module/providers/ThemeProvider/ThemeProvider.js +13 -0
  256. package/lib/module/providers/ThemeProvider/ThemeProvider.js.map +1 -0
  257. package/lib/module/styles/calendarTheme.js +2 -0
  258. package/lib/module/styles/calendarTheme.js.map +1 -0
  259. package/lib/module/styles/colors.js +103 -0
  260. package/lib/module/styles/colors.js.map +1 -0
  261. package/lib/module/styles/globalStyles.js +35 -0
  262. package/lib/module/styles/globalStyles.js.map +1 -0
  263. package/lib/module/styles/space.js +28 -0
  264. package/lib/module/styles/space.js.map +1 -0
  265. package/lib/module/styles/theme.js +414 -0
  266. package/lib/module/styles/theme.js.map +1 -0
  267. package/lib/module/utils/locale.js +42 -0
  268. package/lib/module/utils/locale.js.map +1 -0
  269. package/lib/package.json +138 -0
  270. package/lib/typescript/components/Tag/Tag.d.ts +13 -0
  271. package/lib/typescript/components/Tag/Tag.d.ts.map +1 -0
  272. package/lib/typescript/components/Tag/index.d.ts +3 -0
  273. package/lib/typescript/components/Tag/index.d.ts.map +1 -0
  274. package/lib/typescript/components/Touchable/Touchable.d.ts +16 -0
  275. package/lib/typescript/components/Touchable/Touchable.d.ts.map +1 -0
  276. package/lib/typescript/components/Touchable/index.d.ts +3 -0
  277. package/lib/typescript/components/Touchable/index.d.ts.map +1 -0
  278. package/lib/typescript/components/base/DatePicker/DatePicker.d.ts +60 -0
  279. package/lib/typescript/components/base/DatePicker/DatePicker.d.ts.map +1 -0
  280. package/lib/typescript/components/base/DatePicker/index.d.ts +4 -0
  281. package/lib/typescript/components/base/DatePicker/index.d.ts.map +1 -0
  282. package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts +16 -0
  283. package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
  284. package/lib/typescript/components/base/HeaderArrows/index.d.ts +3 -0
  285. package/lib/typescript/components/base/HeaderArrows/index.d.ts.map +1 -0
  286. package/lib/typescript/components/buttons/FicButton/FicButton.d.ts +5 -0
  287. package/lib/typescript/components/buttons/FicButton/FicButton.d.ts.map +1 -0
  288. package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts +87 -0
  289. package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
  290. package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts +5 -0
  291. package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
  292. package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts +5 -0
  293. package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
  294. package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts +5 -0
  295. package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
  296. package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts +5 -0
  297. package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
  298. package/lib/typescript/components/buttons/FicButton/constants.d.ts +13 -0
  299. package/lib/typescript/components/buttons/FicButton/constants.d.ts.map +1 -0
  300. package/lib/typescript/components/buttons/FicButton/index.d.ts +5 -0
  301. package/lib/typescript/components/buttons/FicButton/index.d.ts.map +1 -0
  302. package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts +4 -0
  303. package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
  304. package/lib/typescript/components/buttons/FicButton/themes/index.d.ts +3 -0
  305. package/lib/typescript/components/buttons/FicButton/themes/index.d.ts.map +1 -0
  306. package/lib/typescript/components/buttons/FicButton/themes/light.d.ts +4 -0
  307. package/lib/typescript/components/buttons/FicButton/themes/light.d.ts.map +1 -0
  308. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts +5 -0
  309. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
  310. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +10 -0
  311. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
  312. package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts +3 -0
  313. package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
  314. package/lib/typescript/components/notifications/Banner/Banner.d.ts +5 -0
  315. package/lib/typescript/components/notifications/Banner/Banner.d.ts.map +1 -0
  316. package/lib/typescript/components/notifications/Banner/Banner.types.d.ts +50 -0
  317. package/lib/typescript/components/notifications/Banner/Banner.types.d.ts.map +1 -0
  318. package/lib/typescript/components/notifications/Banner/index.d.ts +3 -0
  319. package/lib/typescript/components/notifications/Banner/index.d.ts.map +1 -0
  320. package/lib/typescript/components/notifications/Banner/themes/dark.d.ts +4 -0
  321. package/lib/typescript/components/notifications/Banner/themes/dark.d.ts.map +1 -0
  322. package/lib/typescript/components/notifications/Banner/themes/index.d.ts +4 -0
  323. package/lib/typescript/components/notifications/Banner/themes/index.d.ts.map +1 -0
  324. package/lib/typescript/components/notifications/Banner/themes/light.d.ts +4 -0
  325. package/lib/typescript/components/notifications/Banner/themes/light.d.ts.map +1 -0
  326. package/lib/typescript/components/typographies/Body/Body.d.ts +12 -0
  327. package/lib/typescript/components/typographies/Body/Body.d.ts.map +1 -0
  328. package/lib/typescript/components/typographies/Body/index.d.ts +3 -0
  329. package/lib/typescript/components/typographies/Body/index.d.ts.map +1 -0
  330. package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts +10 -0
  331. package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
  332. package/lib/typescript/components/typographies/ButtonTitle/index.d.ts +3 -0
  333. package/lib/typescript/components/typographies/ButtonTitle/index.d.ts.map +1 -0
  334. package/lib/typescript/components/typographies/Callout/Callout.d.ts +12 -0
  335. package/lib/typescript/components/typographies/Callout/Callout.d.ts.map +1 -0
  336. package/lib/typescript/components/typographies/Callout/index.d.ts +3 -0
  337. package/lib/typescript/components/typographies/Callout/index.d.ts.map +1 -0
  338. package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts +12 -0
  339. package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
  340. package/lib/typescript/components/typographies/CaptionOne/index.d.ts +3 -0
  341. package/lib/typescript/components/typographies/CaptionOne/index.d.ts.map +1 -0
  342. package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts +12 -0
  343. package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
  344. package/lib/typescript/components/typographies/CaptionTwo/index.d.ts +3 -0
  345. package/lib/typescript/components/typographies/CaptionTwo/index.d.ts.map +1 -0
  346. package/lib/typescript/components/typographies/Footnote/Footnote.d.ts +12 -0
  347. package/lib/typescript/components/typographies/Footnote/Footnote.d.ts.map +1 -0
  348. package/lib/typescript/components/typographies/Footnote/index.d.ts +3 -0
  349. package/lib/typescript/components/typographies/Footnote/index.d.ts.map +1 -0
  350. package/lib/typescript/components/typographies/Headline/Headline.d.ts +12 -0
  351. package/lib/typescript/components/typographies/Headline/Headline.d.ts.map +1 -0
  352. package/lib/typescript/components/typographies/Headline/index.d.ts +3 -0
  353. package/lib/typescript/components/typographies/Headline/index.d.ts.map +1 -0
  354. package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts +12 -0
  355. package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
  356. package/lib/typescript/components/typographies/LargeTitle/index.d.ts +3 -0
  357. package/lib/typescript/components/typographies/LargeTitle/index.d.ts.map +1 -0
  358. package/lib/typescript/components/typographies/Subhead/Subhead.d.ts +12 -0
  359. package/lib/typescript/components/typographies/Subhead/Subhead.d.ts.map +1 -0
  360. package/lib/typescript/components/typographies/Subhead/index.d.ts +3 -0
  361. package/lib/typescript/components/typographies/Subhead/index.d.ts.map +1 -0
  362. package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts +12 -0
  363. package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
  364. package/lib/typescript/components/typographies/TitleOne/index.d.ts +3 -0
  365. package/lib/typescript/components/typographies/TitleOne/index.d.ts.map +1 -0
  366. package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts +12 -0
  367. package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
  368. package/lib/typescript/components/typographies/TitleThree/index.d.ts +3 -0
  369. package/lib/typescript/components/typographies/TitleThree/index.d.ts.map +1 -0
  370. package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts +12 -0
  371. package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
  372. package/lib/typescript/components/typographies/TitleTwo/index.d.ts +3 -0
  373. package/lib/typescript/components/typographies/TitleTwo/index.d.ts.map +1 -0
  374. package/lib/typescript/components/typographies/font.d.ts +9 -0
  375. package/lib/typescript/components/typographies/font.d.ts.map +1 -0
  376. package/lib/typescript/hooks/useTheme.d.ts +3 -0
  377. package/lib/typescript/hooks/useTheme.d.ts.map +1 -0
  378. package/lib/typescript/index.d.ts +31 -0
  379. package/lib/typescript/index.d.ts.map +1 -0
  380. package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts +10 -0
  381. package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
  382. package/lib/typescript/providers/DesignSystemProvider/index.d.ts +3 -0
  383. package/lib/typescript/providers/DesignSystemProvider/index.d.ts.map +1 -0
  384. package/lib/typescript/providers/IconProvider/IconProvider.d.ts +21 -0
  385. package/lib/typescript/providers/IconProvider/IconProvider.d.ts.map +1 -0
  386. package/lib/typescript/providers/IconProvider/index.d.ts +4 -0
  387. package/lib/typescript/providers/IconProvider/index.d.ts.map +1 -0
  388. package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts +9 -0
  389. package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  390. package/lib/typescript/styles/calendarTheme.d.ts +24 -0
  391. package/lib/typescript/styles/calendarTheme.d.ts.map +1 -0
  392. package/lib/typescript/styles/colors.d.ts +100 -0
  393. package/lib/typescript/styles/colors.d.ts.map +1 -0
  394. package/lib/typescript/styles/globalStyles.d.ts +33 -0
  395. package/lib/typescript/styles/globalStyles.d.ts.map +1 -0
  396. package/lib/typescript/styles/space.d.ts +19 -0
  397. package/lib/typescript/styles/space.d.ts.map +1 -0
  398. package/lib/typescript/styles/theme.d.ts +183 -0
  399. package/lib/typescript/styles/theme.d.ts.map +1 -0
  400. package/lib/typescript/utils/locale.d.ts +15 -0
  401. package/lib/typescript/utils/locale.d.ts.map +1 -0
  402. package/package.json +30 -43
  403. package/src/components/Tag/Tag.tsx +59 -0
  404. package/src/components/Tag/index.ts +3 -0
  405. package/src/components/Touchable/Touchable.tsx +110 -0
  406. package/src/components/Touchable/index.ts +3 -0
  407. package/src/components/base/DatePicker/DatePicker.tsx +427 -0
  408. package/src/components/base/DatePicker/index.ts +4 -0
  409. package/src/components/base/HeaderArrows/HeaderArrows.tsx +93 -0
  410. package/src/components/base/HeaderArrows/index.ts +3 -0
  411. package/src/components/buttons/FicButton/FicButton.tsx +41 -0
  412. package/src/components/buttons/FicButton/FicButton.types.ts +114 -0
  413. package/src/components/buttons/FicButton/FicButtonIcon.tsx +161 -0
  414. package/src/components/buttons/FicButton/FicButtonPrimary.tsx +167 -0
  415. package/src/components/buttons/FicButton/FicButtonSecondary.tsx +168 -0
  416. package/src/components/buttons/FicButton/FicButtonTertiary.tsx +188 -0
  417. package/src/components/buttons/FicButton/constants.ts +23 -0
  418. package/src/components/buttons/FicButton/index.ts +5 -0
  419. package/src/components/buttons/FicButton/themes/dark.ts +273 -0
  420. package/src/components/buttons/FicButton/themes/index.ts +3 -0
  421. package/src/components/buttons/FicButton/themes/light.ts +293 -0
  422. package/src/components/buttons/FicButtonGroup/FicButtonGroup.tsx +40 -0
  423. package/src/components/buttons/FicButtonGroup/FicButtonGroup.types.ts +11 -0
  424. package/src/components/buttons/FicButtonGroup/index.ts +2 -0
  425. package/src/components/notifications/Banner/Banner.tsx +105 -0
  426. package/src/components/notifications/Banner/Banner.types.ts +69 -0
  427. package/src/components/notifications/Banner/index.ts +3 -0
  428. package/src/components/notifications/Banner/themes/dark.ts +43 -0
  429. package/src/components/notifications/Banner/themes/index.ts +4 -0
  430. package/src/components/notifications/Banner/themes/light.ts +43 -0
  431. package/src/components/typographies/Body/Body.tsx +38 -0
  432. package/src/components/typographies/Body/index.ts +3 -0
  433. package/src/components/typographies/ButtonTitle/ButtonTitle.tsx +51 -0
  434. package/src/components/typographies/ButtonTitle/index.ts +3 -0
  435. package/src/components/typographies/Callout/Callout.tsx +38 -0
  436. package/src/components/typographies/Callout/index.ts +3 -0
  437. package/src/components/typographies/CaptionOne/CaptionOne.tsx +38 -0
  438. package/src/components/typographies/CaptionOne/index.ts +4 -0
  439. package/src/components/typographies/CaptionTwo/CaptionTwo.tsx +38 -0
  440. package/src/components/typographies/CaptionTwo/index.ts +4 -0
  441. package/src/components/typographies/Footnote/Footnote.tsx +38 -0
  442. package/src/components/typographies/Footnote/index.ts +4 -0
  443. package/src/components/typographies/Headline/Headline.tsx +38 -0
  444. package/src/components/typographies/Headline/index.ts +4 -0
  445. package/src/components/typographies/LargeTitle/LargeTitle.tsx +38 -0
  446. package/src/components/typographies/LargeTitle/index.ts +3 -0
  447. package/src/components/typographies/README.md +22 -0
  448. package/src/components/typographies/Subhead/Subhead.tsx +38 -0
  449. package/src/components/typographies/Subhead/index.ts +4 -0
  450. package/src/components/typographies/TitleOne/TitleOne.tsx +38 -0
  451. package/src/components/typographies/TitleOne/index.ts +4 -0
  452. package/src/components/typographies/TitleThree/TitleThree.tsx +38 -0
  453. package/src/components/typographies/TitleThree/index.ts +4 -0
  454. package/src/components/typographies/TitleTwo/TitleTwo.tsx +38 -0
  455. package/src/components/typographies/TitleTwo/index.ts +4 -0
  456. package/src/components/typographies/font.ts +25 -0
  457. package/src/hooks/useTheme.ts +17 -0
  458. package/src/index.tsx +47 -0
  459. package/src/providers/DesignSystemProvider/DesignSystemProvider.tsx +31 -0
  460. package/src/providers/DesignSystemProvider/index.ts +3 -0
  461. package/src/providers/IconProvider/IconProvider.tsx +46 -0
  462. package/src/providers/IconProvider/index.ts +4 -0
  463. package/src/providers/ThemeProvider/ThemeProvider.tsx +17 -0
  464. package/src/styles/calendarTheme.ts +24 -0
  465. package/src/styles/colors.ts +119 -0
  466. package/src/styles/globalStyles.ts +36 -0
  467. package/src/styles/space.ts +27 -0
  468. package/src/styles/theme.ts +609 -0
  469. package/src/utils/locale.ts +50 -0
@@ -0,0 +1,305 @@
1
+ import { Colors } from '../../../../styles/colors';
2
+ import { BORDER_RADIUS } from '../../../../styles/space';
3
+ import { FONT_SIZE } from '../constants';
4
+ const defaultContainerProps = {
5
+ flexDirection: 'row',
6
+ alignSelf: 'flex-start',
7
+ justifyContent: 'center',
8
+ alignContent: 'center',
9
+ alignItems: 'center',
10
+ borderRadius: BORDER_RADIUS.SM
11
+ };
12
+ const {
13
+ alignContent,
14
+ ...defaultIconContainerProps
15
+ } = defaultContainerProps;
16
+ const iconContainerProps = {
17
+ ...defaultIconContainerProps,
18
+ borderRadius: 1000,
19
+ alignSelf: 'center'
20
+ };
21
+ const ficButtonLightTheme = {
22
+ primary: {
23
+ default: {
24
+ container: {
25
+ ...defaultContainerProps,
26
+ backgroundColor: Colors.AZURE
27
+ },
28
+ text: {
29
+ fontSize: FONT_SIZE,
30
+ color: Colors.WHITE
31
+ },
32
+ icon: {
33
+ color: Colors.WHITE
34
+ },
35
+ pressedStyle: {
36
+ container: {
37
+ ...defaultContainerProps,
38
+ backgroundColor: Colors.AZURE_D1
39
+ },
40
+ text: {
41
+ fontSize: FONT_SIZE,
42
+ color: Colors.WHITE
43
+ },
44
+ icon: {
45
+ color: Colors.WHITE
46
+ }
47
+ }
48
+ },
49
+ disabled: {
50
+ container: {
51
+ ...defaultContainerProps,
52
+ backgroundColor: Colors.GREY_2
53
+ },
54
+ text: {
55
+ fontSize: FONT_SIZE,
56
+ color: Colors.GREY_3
57
+ },
58
+ icon: {
59
+ color: Colors.GREY_3
60
+ }
61
+ },
62
+ error: {
63
+ container: {
64
+ ...defaultContainerProps,
65
+ backgroundColor: Colors.RED
66
+ },
67
+ text: {
68
+ fontSize: FONT_SIZE,
69
+ color: Colors.WHITE
70
+ },
71
+ icon: {
72
+ color: Colors.WHITE
73
+ },
74
+ pressedStyle: {
75
+ container: {
76
+ ...defaultContainerProps,
77
+ backgroundColor: Colors.RED_D2
78
+ },
79
+ text: {
80
+ fontSize: FONT_SIZE,
81
+ color: Colors.WHITE
82
+ },
83
+ icon: {
84
+ color: Colors.WHITE
85
+ }
86
+ }
87
+ }
88
+ },
89
+ secondary: {
90
+ default: {
91
+ container: {
92
+ ...defaultContainerProps,
93
+ backgroundColor: Colors.WHITE,
94
+ borderWidth: 1,
95
+ borderColor: Colors.AZURE
96
+ },
97
+ text: {
98
+ fontSize: FONT_SIZE,
99
+ color: Colors.AZURE
100
+ },
101
+ icon: {
102
+ color: Colors.AZURE
103
+ },
104
+ pressedStyle: {
105
+ container: {
106
+ ...defaultContainerProps,
107
+ backgroundColor: Colors.GREY_2,
108
+ borderWidth: 1,
109
+ borderColor: Colors.AZURE
110
+ },
111
+ text: {
112
+ fontSize: FONT_SIZE,
113
+ color: Colors.AZURE
114
+ },
115
+ icon: {
116
+ color: Colors.AZURE
117
+ }
118
+ }
119
+ },
120
+ disabled: {
121
+ container: {
122
+ ...defaultContainerProps,
123
+ backgroundColor: Colors.WHITE,
124
+ borderWidth: 1,
125
+ borderColor: Colors.GREY_3
126
+ },
127
+ text: {
128
+ fontSize: FONT_SIZE,
129
+ color: Colors.GREY_3
130
+ },
131
+ icon: {
132
+ color: Colors.GREY_3
133
+ }
134
+ },
135
+ error: {
136
+ container: {
137
+ ...defaultContainerProps,
138
+ backgroundColor: Colors.WHITE,
139
+ borderWidth: 1,
140
+ borderColor: Colors.RED
141
+ },
142
+ text: {
143
+ fontSize: FONT_SIZE,
144
+ color: Colors.RED
145
+ },
146
+ icon: {
147
+ color: Colors.RED
148
+ },
149
+ pressedStyle: {
150
+ container: {
151
+ ...defaultContainerProps,
152
+ backgroundColor: Colors.RED_L1,
153
+ borderWidth: 1,
154
+ borderColor: Colors.RED
155
+ },
156
+ text: {
157
+ fontSize: FONT_SIZE,
158
+ color: Colors.RED
159
+ },
160
+ icon: {
161
+ color: Colors.RED
162
+ }
163
+ }
164
+ }
165
+ },
166
+ tertiary: {
167
+ default: {
168
+ container: {
169
+ ...defaultContainerProps,
170
+ alignSelf: 'center'
171
+ },
172
+ text: {
173
+ textDecorationLine: 'underline',
174
+ fontSize: FONT_SIZE,
175
+ color: Colors.AZURE,
176
+ colorContrastForLightTheme: Colors.WHITE
177
+ },
178
+ icon: {
179
+ color: Colors.AZURE,
180
+ colorContrastForLightTheme: Colors.WHITE
181
+ },
182
+ pressedStyle: {
183
+ container: {
184
+ ...defaultContainerProps,
185
+ alignSelf: 'center',
186
+ backgroundColor: Colors.BLACK_08
187
+ },
188
+ text: {
189
+ textDecorationLine: 'underline',
190
+ fontSize: FONT_SIZE,
191
+ color: Colors.AZURE,
192
+ colorContrastForLightTheme: Colors.WHITE
193
+ },
194
+ icon: {
195
+ color: Colors.AZURE,
196
+ colorContrastForLightTheme: Colors.WHITE
197
+ }
198
+ }
199
+ },
200
+ disabled: {
201
+ container: {
202
+ ...defaultContainerProps
203
+ },
204
+ text: {
205
+ textDecorationLine: 'underline',
206
+ fontSize: FONT_SIZE,
207
+ color: Colors.GREY_3
208
+ },
209
+ icon: {
210
+ color: Colors.GREY_3,
211
+ colorContrastForLightTheme: Colors.WHITE_80
212
+ }
213
+ },
214
+ error: {
215
+ container: {
216
+ ...defaultContainerProps,
217
+ alignSelf: 'center'
218
+ },
219
+ text: {
220
+ textDecorationLine: 'underline',
221
+ fontSize: FONT_SIZE,
222
+ color: Colors.RED,
223
+ colorContrastForLightTheme: Colors.RED_L2
224
+ },
225
+ icon: {
226
+ color: Colors.RED
227
+ },
228
+ pressedStyle: {
229
+ container: {
230
+ ...defaultContainerProps,
231
+ alignSelf: 'center',
232
+ backgroundColor: Colors.RED_L1
233
+ },
234
+ text: {
235
+ textDecorationLine: 'underline',
236
+ fontSize: FONT_SIZE,
237
+ color: Colors.RED,
238
+ colorContrastForLightTheme: Colors.RED_L2
239
+ },
240
+ icon: {
241
+ color: Colors.RED,
242
+ colorContrastForLightTheme: Colors.RED_L2
243
+ }
244
+ }
245
+ }
246
+ },
247
+ icon: {
248
+ default: {
249
+ container: {
250
+ ...iconContainerProps,
251
+ alignSelf: 'flex-start'
252
+ },
253
+ text: {},
254
+ icon: {
255
+ color: Colors.AZURE,
256
+ colorContrastForLightTheme: Colors.WHITE
257
+ },
258
+ pressedStyle: {
259
+ container: {
260
+ backgroundColor: Colors.BLACK_08,
261
+ justifyContent: 'center',
262
+ alignItems: 'center'
263
+ },
264
+ text: {},
265
+ icon: {
266
+ color: Colors.AZURE,
267
+ colorContrastForLightTheme: Colors.WHITE
268
+ }
269
+ }
270
+ },
271
+ disabled: {
272
+ container: {
273
+ ...iconContainerProps
274
+ },
275
+ text: {},
276
+ icon: {
277
+ color: Colors.GREY_3,
278
+ colorContrastForLightTheme: Colors.WHITE_80
279
+ }
280
+ },
281
+ error: {
282
+ container: {
283
+ ...iconContainerProps
284
+ },
285
+ text: {},
286
+ icon: {
287
+ color: Colors.RED
288
+ },
289
+ pressedStyle: {
290
+ container: {
291
+ justifyContent: 'center',
292
+ alignItems: 'center',
293
+ backgroundColor: Colors.RED_L1
294
+ },
295
+ text: {},
296
+ icon: {
297
+ color: Colors.RED,
298
+ colorContrastForLightTheme: Colors.RED_L2
299
+ }
300
+ }
301
+ }
302
+ }
303
+ };
304
+ export default ficButtonLightTheme;
305
+ //# sourceMappingURL=light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Colors","BORDER_RADIUS","FONT_SIZE","defaultContainerProps","flexDirection","alignSelf","justifyContent","alignContent","alignItems","borderRadius","SM","defaultIconContainerProps","iconContainerProps","ficButtonLightTheme","primary","default","container","backgroundColor","AZURE","text","fontSize","color","WHITE","icon","pressedStyle","AZURE_D1","disabled","GREY_2","GREY_3","error","RED","RED_D2","secondary","borderWidth","borderColor","RED_L1","tertiary","textDecorationLine","colorContrastForLightTheme","BLACK_08","WHITE_80","RED_L2"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/light.ts"],"mappings":"AACA,SAASA,MAAM,QAAQ,2BAA2B;AAClD,SAASC,aAAa,QAAQ,0BAA0B;AAExD,SAASC,SAAS,QAAQ,cAAc;AAExC,MAAMC,qBAAuC,GAAG;EAC9CC,aAAa,EAAE,KAAK;EACpBC,SAAS,EAAE,YAAY;EACvBC,cAAc,EAAE,QAAQ;EACxBC,YAAY,EAAE,QAAQ;EACtBC,UAAU,EAAE,QAAQ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CAAC;QACDhB,IAAI,EAAE,CAAC,CAAC;QACRI,IAAI,EAAE;UACJF,KAAK,EAAErB,MAAM,CAAC8B,GAAG;UACjBQ,0BAA0B,EAAEtC,MAAM,CAACyC;QACrC;MACF;IACF;EACF;AACF,CAAC;AAED,eAAe5B,mBAAmB","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ import { StyleSheet, View } from 'react-native';
4
+ import FicButton from '../FicButton/FicButton';
5
+ const FicButtonGroup = ({
6
+ primaryAction,
7
+ secondaryAction,
8
+ style,
9
+ horizontal
10
+ }) => {
11
+ const containerStyleObj = style ?? {};
12
+ const dynamicContainerStyle = {
13
+ flexDirection: horizontal ? 'row' : 'column'
14
+ };
15
+ const primaryActionStyle = [horizontal ? {
16
+ flex: 1
17
+ } : {}, horizontal && secondaryAction ? {
18
+ marginRight: 8
19
+ } : {}, {
20
+ alignSelf: 'center'
21
+ }];
22
+ const secondaryActionStyle = [horizontal ? {
23
+ flex: 1
24
+ } : {}, !horizontal && primaryAction ? {
25
+ marginTop: 8
26
+ } : {}, horizontal && primaryAction ? {
27
+ marginLeft: 8
28
+ } : {}, {
29
+ alignSelf: 'center'
30
+ }];
31
+ return /*#__PURE__*/React.createElement(View, {
32
+ style: [styles.container, dynamicContainerStyle, containerStyleObj]
33
+ }, primaryAction ? /*#__PURE__*/React.createElement(FicButton, _extends({
34
+ fullWidth: true,
35
+ containerStyle: primaryActionStyle
36
+ }, primaryAction)) : null, secondaryAction ? /*#__PURE__*/React.createElement(FicButton, _extends({
37
+ fullWidth: true,
38
+ containerStyle: secondaryActionStyle
39
+ }, secondaryAction)) : null);
40
+ };
41
+ export default FicButtonGroup;
42
+ const styles = StyleSheet.create({
43
+ container: {
44
+ alignItems: 'center'
45
+ }
46
+ });
47
+ //# sourceMappingURL=FicButtonGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","FicButton","FicButtonGroup","primaryAction","secondaryAction","style","horizontal","containerStyleObj","dynamicContainerStyle","flexDirection","primaryActionStyle","flex","marginRight","alignSelf","secondaryActionStyle","marginTop","marginLeft","createElement","styles","container","_extends","fullWidth","containerStyle","create","alignItems"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/FicButtonGroup.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AACrE,OAAOC,SAAS,MAAM,wBAAwB;AAG9C,MAAMC,cAA6C,GAAGA,CAAC;EAAEC,aAAa;EAAEC,eAAe;EAAEC,KAAK;EAAEC;AAAW,CAAC,KAAK;EAC/G,MAAMC,iBAAiB,GAAGF,KAAK,IAAI,CAAC,CAAC;EAErC,MAAMG,qBAA2C,GAAG;IAClDC,aAAa,EAAEH,UAAU,GAAG,KAAK,GAAG;EACtC,CAAC;EAED,MAAMI,kBAA0C,GAAG,CACjDJ,UAAU,GAAG;IAAEK,IAAI,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EAC7BL,UAAU,IAAIF,eAAe,GAAG;IAAEQ,WAAW,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACvD;IAAEC,SAAS,EAAE;EAAS,CAAC,CACxB;EAED,MAAMC,oBAA4C,GAAG,CACnDR,UAAU,GAAG;IAAEK,IAAI,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EAC7B,CAACL,UAAU,IAAIH,aAAa,GAAG;IAAEY,SAAS,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACpDT,UAAU,IAAIH,aAAa,GAAG;IAAEa,UAAU,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACpD;IAAEH,SAAS,EAAE;EAAS,CAAC,CACxB;EAED,oBACEf,KAAA,CAAAmB,aAAA,CAACjB,IAAI;IAACK,KAAK,EAAE,CAACa,MAAM,CAACC,SAAS,EAAEX,qBAAqB,EAAED,iBAAiB;EAAE,GACvEJ,aAAa,gBAAGL,KAAA,CAAAmB,aAAA,CAAChB,SAAS,EAAAmB,QAAA;IAACC,SAAS;IAACC,cAAc,EAAEZ;EAAmB,GAAKP,aAAa,CAAG,CAAC,GAAG,IAAI,EACrGC,eAAe,gBAAGN,KAAA,CAAAmB,aAAA,CAAChB,SAAS,EAAAmB,QAAA;IAACC,SAAS;IAACC,cAAc,EAAER;EAAqB,GAAKV,eAAe,CAAG,CAAC,GAAG,IACpG,CAAC;AAEX,CAAC;AAED,eAAeF,cAAc;AAE7B,MAAMgB,MAAM,GAAGnB,UAAU,CAACwB,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FicButtonGroup.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/FicButtonGroup.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import FicButtonGroup from './FicButtonGroup';
2
+ export { FicButtonGroup };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FicButtonGroup"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/index.ts"],"mappings":"AAAA,OAAOA,cAAc,MAAM,kBAAkB;AAC7C,SAASA,cAAc","ignoreList":[]}
@@ -0,0 +1,89 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ import { StyleSheet, View } from 'react-native';
4
+ import { useTheme } from '../../../hooks/useTheme';
5
+ import { Icon } from '../../../providers/IconProvider';
6
+ import { MARGIN, PADDING } from '../../../styles/space';
7
+ import { FicButtonGroup } from '../../buttons/FicButtonGroup';
8
+ import { Headline } from '../../typographies/Headline';
9
+ import { Subhead } from '../../typographies/Subhead';
10
+ const iconNameByType = {
11
+ info: 'info-circle',
12
+ success: 'check-circle',
13
+ warning: 'exclamation-triangle',
14
+ danger: 'exclamation-circle'
15
+ };
16
+ const Banner = ({
17
+ title,
18
+ message,
19
+ iconName,
20
+ type = 'info',
21
+ highContrast = false,
22
+ primaryAction,
23
+ secondaryAction,
24
+ style,
25
+ ...props
26
+ }) => {
27
+ var _theme$type, _theme$type2;
28
+ const {
29
+ banner: theme
30
+ } = useTheme();
31
+ const themeProps = highContrast && theme !== null && theme !== void 0 && (_theme$type = theme[type]) !== null && _theme$type !== void 0 && _theme$type.highContrast ? theme === null || theme === void 0 || (_theme$type2 = theme[type]) === null || _theme$type2 === void 0 ? void 0 : _theme$type2.highContrast : theme === null || theme === void 0 ? void 0 : theme[type];
32
+ const {
33
+ backgroundColor,
34
+ borderColor,
35
+ headlineColor,
36
+ messageColor
37
+ } = themeProps || {};
38
+ const containerStyle = [styles.bannerContainer, {
39
+ backgroundColor: backgroundColor || 'transparent',
40
+ borderColor: borderColor || 'transparent'
41
+ }, style];
42
+ return /*#__PURE__*/React.createElement(View, _extends({
43
+ style: containerStyle
44
+ }, props), /*#__PURE__*/React.createElement(View, {
45
+ style: styles.bannerHeader
46
+ }, /*#__PURE__*/React.createElement(Icon, {
47
+ name: iconName || (iconNameByType === null || iconNameByType === void 0 ? void 0 : iconNameByType[type]) || 'question',
48
+ solid: true,
49
+ size: 20,
50
+ internalPadding: 2,
51
+ color: headlineColor
52
+ }), title ? /*#__PURE__*/React.createElement(Headline, {
53
+ text: title,
54
+ color: headlineColor,
55
+ style: styles.bannerTitle
56
+ }) : null), message ? /*#__PURE__*/React.createElement(Subhead, {
57
+ text: message,
58
+ color: messageColor,
59
+ style: styles.bannerMessage
60
+ }) : null, primaryAction || secondaryAction ? /*#__PURE__*/React.createElement(FicButtonGroup, {
61
+ primaryAction: primaryAction,
62
+ secondaryAction: secondaryAction,
63
+ horizontal: true,
64
+ style: {
65
+ marginTop: 16
66
+ }
67
+ }) : null);
68
+ };
69
+ const styles = StyleSheet.create({
70
+ bannerContainer: {
71
+ padding: PADDING.LG,
72
+ borderRadius: 8,
73
+ borderWidth: 1
74
+ },
75
+ bannerHeader: {
76
+ flexDirection: 'row',
77
+ alignItems: 'center'
78
+ },
79
+ bannerTitle: {
80
+ marginLeft: MARGIN.SM,
81
+ flexShrink: 1
82
+ },
83
+ bannerMessage: {
84
+ marginTop: MARGIN.SM,
85
+ flexShrink: 1
86
+ }
87
+ });
88
+ export default Banner;
89
+ //# sourceMappingURL=Banner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","useTheme","Icon","MARGIN","PADDING","FicButtonGroup","Headline","Subhead","iconNameByType","info","success","warning","danger","Banner","title","message","iconName","type","highContrast","primaryAction","secondaryAction","style","props","_theme$type","_theme$type2","banner","theme","themeProps","backgroundColor","borderColor","headlineColor","messageColor","containerStyle","styles","bannerContainer","createElement","_extends","bannerHeader","name","solid","size","internalPadding","color","text","bannerTitle","bannerMessage","horizontal","marginTop","create","padding","LG","borderRadius","borderWidth","flexDirection","alignItems","marginLeft","SM","flexShrink"],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/Banner.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,IAAI,QAAQ,iCAAiC;AACtD,SAASC,MAAM,EAAEC,OAAO,QAAQ,uBAAuB;AACvD,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,OAAO,QAAQ,4BAA4B;AAGpD,MA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AM","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Banner.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/Banner.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import Banner from './Banner';
2
+ export { Banner };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Banner"],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/index.ts"],"mappings":"AAAA,OAAOA,MAAM,MAAM,UAAU;AAE7B,SAASA,MAAM","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ import { Colors } from '../../../../styles/colors';
2
+ const bannerDarkTheme = {
3
+ info: {
4
+ backgroundColor: Colors.AZURE_K_D2,
5
+ borderColor: Colors.AZURE_K_D1,
6
+ headlineColor: Colors.AZURE_K_L1,
7
+ messageColor: Colors.AZURE_K_L2
8
+ },
9
+ success: {
10
+ backgroundColor: Colors.GREEN_K_D2,
11
+ borderColor: Colors.GREEN_K_D1,
12
+ headlineColor: Colors.GREEN_K_L1,
13
+ messageColor: Colors.GREEN_K_L2
14
+ },
15
+ warning: {
16
+ backgroundColor: Colors.YELLOW_K_D2,
17
+ borderColor: Colors.YELLOW_K_D1,
18
+ headlineColor: Colors.ELEVATION_1,
19
+ messageColor: Colors.ELEVATION_2,
20
+ highContrast: {
21
+ backgroundColor: Colors.YELLOW_K_L3,
22
+ borderColor: Colors.YELLOW_K_L2,
23
+ headlineColor: Colors.ELEVATION_1,
24
+ messageColor: Colors.ELEVATION_2
25
+ }
26
+ },
27
+ danger: {
28
+ backgroundColor: Colors.RED_K_D2,
29
+ borderColor: Colors.RED_K_D1,
30
+ headlineColor: Colors.RED_K_L1,
31
+ messageColor: Colors.RED_K_L2,
32
+ highContrast: {
33
+ backgroundColor: Colors.RED_K_L3,
34
+ borderColor: Colors.RED_K_L2,
35
+ headlineColor: Colors.ELEVATION_1,
36
+ messageColor: Colors.ELEVATION_2
37
+ }
38
+ }
39
+ };
40
+ export default bannerDarkTheme;
41
+ //# sourceMappingURL=dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Colors","bannerDarkTheme","info","backgroundColor","AZURE_K_D2","borderColor","AZURE_K_D1","headlineColor","AZURE_K_L1","messageColor","AZURE_K_L2","success","GREEN_K_D2","GREEN_K_D1","GREEN_K_L1","GREEN_K_L2","warning","YELLOW_K_D2","YELLOW_K_D1","ELEVATION_1","ELEVATION_2","highContrast","YELLOW_K_L3","YELLOW_K_L2","danger","RED_K_D2","RED_K_D1","RED_K_L1","RED_K_L2","RED_K_L3"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/dark.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,2BAA2B;AAGlD,MAAMC,eAAgC,GAAG;EACvCC,IAAI,EAAE;IACJC,eAAe,EAAEH,MAAM,CAACI,UAAU;IAClCC,WAAW,EAAEL,MAAM,CAACM,UAAU;IAC9BC,aAAa,EAAEP,MAAM,CAACQ,UAAU;IAChCC,YAAY,EAAET,MAAM,CAACU;EACvB,CAAC;EACDC,OAAO,EAAE;IACPR,eAAe,EAAEH,MAAM,CAACY,UAAU;IAClCP,WAAW,EAAEL,MAAM,CAACa,UAAU;IAC9BN,aAAa,EAAEP,MAAM,CAACc,UAAU;IAChCL,YAAY,EAAET,MAAM,CAACe;EACvB,CAAC;EACDC,OAAO,EAAE;IACPb,eAAe,EAAEH,MAAM,CAACiB,WAAW;IACnCZ,WAAW,EAAEL,MAAM,CAACkB,WAAW;IAC/BX,aAAa,EAAEP,MAAM,CAACmB,WAAW;IACjCV,YAAY,EAAET,MAAM,CAACoB,WAAW;IAChCC,YAAY,EAAE;MACZlB,eAAe,EAAEH,MAAM,CAACsB,WAAW;MACnCjB,WAAW,EAAEL,MAAM,CAACuB,WAAW;MAC/BhB,aAAa,EAAEP,MAAM,CAACmB,WAAW;MACjCV,YAAY,EAAET,MAAM,CAACoB;IACvB;EACF,CAAC;EACDI,MAAM,EAAE;IACNrB,eAAe,EAAEH,MAAM,CAACyB,QAAQ;IAChCpB,WAAW,EAAEL,MAAM,CAAC0B,QAAQ;IAC5BnB,aAAa,EAAEP,MAAM,CAAC2B,QAAQ;IAC9BlB,YAAY,EAAET,MAAM,CAAC4B,QAAQ;IAC7BP,YAAY,EAAE;MACZlB,eAAe,EAAEH,MAAM,CAAC6B,QAAQ;MAChCxB,WAAW,EAAEL,MAAM,CAAC4B,QAAQ;MAC5BrB,aAAa,EAAEP,MAAM,CAACmB,WAAW;MACjCV,YAAY,EAAET,MAAM,CAACoB;IACvB;EACF;AACF,CAAC;AAED,eAAenB,eAAe","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ import bannerLightTheme from './light';
2
+ import bannerDarkTheme from './dark';
3
+ export { bannerLightTheme, bannerDarkTheme };
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bannerLightTheme","bannerDarkTheme"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/index.ts"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,SAAS;AACtC,OAAOC,eAAe,MAAM,QAAQ;AAEpC,SAASD,gBAAgB,EAAEC,eAAe","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ import { Colors } from '../../../../styles/colors';
2
+ const bannerLightTheme = {
3
+ info: {
4
+ backgroundColor: Colors.AZURE_L1,
5
+ borderColor: Colors.AZURE_L2,
6
+ headlineColor: Colors.AZURE_D2,
7
+ messageColor: Colors.AZURE_D1
8
+ },
9
+ success: {
10
+ backgroundColor: Colors.GREEN_L1,
11
+ borderColor: Colors.GREEN_L2,
12
+ headlineColor: Colors.GREEN_D2,
13
+ messageColor: Colors.GREEN_D1
14
+ },
15
+ warning: {
16
+ backgroundColor: Colors.YELLOW_L1,
17
+ borderColor: Colors.YELLOW_L2,
18
+ headlineColor: Colors.BLACK_80,
19
+ messageColor: Colors.BLACK_80,
20
+ highContrast: {
21
+ backgroundColor: Colors.YELLOW_D1,
22
+ borderColor: Colors.YELLOW_D2,
23
+ headlineColor: Colors.BLACK_80,
24
+ messageColor: Colors.BLACK_80
25
+ }
26
+ },
27
+ danger: {
28
+ backgroundColor: Colors.RED_L1,
29
+ borderColor: Colors.RED_L2,
30
+ headlineColor: Colors.RED_D2,
31
+ messageColor: Colors.RED_D1,
32
+ highContrast: {
33
+ backgroundColor: Colors.RED_D1,
34
+ borderColor: Colors.RED_D2,
35
+ headlineColor: Colors.RED_L1,
36
+ messageColor: Colors.RED_L1
37
+ }
38
+ }
39
+ };
40
+ export default bannerLightTheme;
41
+ //# sourceMappingURL=light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Colors","bannerLightTheme","info","backgroundColor","AZURE_L1","borderColor","AZURE_L2","headlineColor","AZURE_D2","messageColor","AZURE_D1","success","GREEN_L1","GREEN_L2","GREEN_D2","GREEN_D1","warning","YELLOW_L1","YELLOW_L2","BLACK_80","highContrast","YELLOW_D1","YELLOW_D2","danger","RED_L1","RED_L2","RED_D2","RED_D1"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/light.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,2BAA2B;AAGlD,MAAMC,gBAAiC,GAAG;EACxCC,IAAI,EAAE;IACJC,eAAe,EAAEH,MAAM,CAACI,QAAQ;IAChCC,WAAW,EAAEL,MAAM,CAACM,QAAQ;IAC5BC,aAAa,EAAEP,MAAM,CAACQ,QAAQ;IAC9BC,YAAY,EAAET,MAAM,CAACU;EACvB,CAAC;EACDC,OAAO,EAAE;IACPR,eAAe,EAAEH,MAAM,CAACY,QAAQ;IAChCP,WAAW,EAAEL,MAAM,CAACa,QAAQ;IAC5BN,aAAa,EAAEP,MAAM,CAACc,QAAQ;IAC9BL,YAAY,EAAET,MAAM,CAACe;EACvB,CAAC;EACDC,OAAO,EAAE;IACPb,eAAe,EAAEH,MAAM,CAACiB,SAAS;IACjCZ,WAAW,EAAEL,MAAM,CAACkB,SAAS;IAC7BX,aAAa,EAAEP,MAAM,CAACmB,QAAQ;IAC9BV,YAAY,EAAET,MAAM,CAACmB,QAAQ;IAC7BC,YAAY,EAAE;MACZjB,eAAe,EAAEH,MAAM,CAACqB,SAAS;MACjChB,WAAW,EAAEL,MAAM,CAACsB,SAAS;MAC7Bf,aAAa,EAAEP,MAAM,CAACmB,QAAQ;MAC9BV,YAAY,EAAET,MAAM,CAACmB;IACvB;EACF,CAAC;EACDI,MAAM,EAAE;IACNpB,eAAe,EAAEH,MAAM,CAACwB,MAAM;IAC9BnB,WAAW,EAAEL,MAAM,CAACyB,MAAM;IAC1BlB,aAAa,EAAEP,MAAM,CAAC0B,MAAM;IAC5BjB,YAAY,EAAET,MAAM,CAAC2B,MAAM;IAC3BP,YAAY,EAAE;MACZjB,eAAe,EAAEH,MAAM,CAAC2B,MAAM;MAC9BtB,WAAW,EAAEL,MAAM,CAAC0B,MAAM;MAC1BnB,aAAa,EAAEP,MAAM,CAACwB,MAAM;MAC5Bf,YAAY,EAAET,MAAM,CAACwB;IACvB;EACF;AACF,CAAC;AAED,eAAevB,gBAAgB","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ // @ts-ignore TS6133
3
+ import React from 'react';
4
+ import { Text } from 'react-native';
5
+ import { human } from 'react-native-typography';
6
+ import { useTheme } from '../../../hooks/useTheme';
7
+ import { FontWeight, retrieveFontWeight } from '../font';
8
+ const Body = ({
9
+ text,
10
+ weight,
11
+ color,
12
+ style,
13
+ children,
14
+ ...rest
15
+ }) => {
16
+ const {
17
+ typographies: typographiesTheme
18
+ } = useTheme();
19
+ const composedStyle = {
20
+ ...human.bodyObject,
21
+ ...retrieveFontWeight(weight || FontWeight.REGULAR),
22
+ color: color || typographiesTheme.bodyColor
23
+ };
24
+ return /*#__PURE__*/React.createElement(Text, _extends({}, rest, {
25
+ style: [composedStyle, style]
26
+ }), text || children);
27
+ };
28
+ export default Body;
29
+ //# sourceMappingURL=Body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","human","useTheme","FontWeight","retrieveFontWeight","Body","text","weight","color","style","children","rest","typographies","typographiesTheme","composedStyle","bodyObject","REGULAR","bodyColor","createElement","_extends"],"sourceRoot":"../../../../../src","sources":["components/typographies/Body/Body.tsx"],"mappings":";AAAA;AACA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAAoBC,IAAI,QAA8B,cAAc;AACpE,SAASC,KAAK,QAAQ,yBAAyB;AAC/C,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,UAAU,EAAEC,kBAAkB,QAAQ,SAAS;AASxD,MAAMC,IAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,YAAY,EAAEC;EAAkB,CAAC,GAAGX,QAAQ,CAAC,CAAC;EAEtD,MAAMY,aAAmC,GAAG;IAC1C,GAAGb,KAAK,CAACc,UAAU;IACnB,GAAGX,kBAAkB,CAACG,MAAM,IAAIJ,UAAU,CAACa,OAAO,CAAC;IACnDR,KAAK,EAAEA,KAAK,IAAIK,iBAAiB,CAACI;EACpC,CAAC;EAED,oBACElB,KAAA,CAAAmB,aAAA,CAAClB,IAAI,EAAAmB,QAAA,KAAKR,IAAI;IAAEF,KAAK,EAAE,CAACK,aAAa,EAAEL,KAAK;EAAE,IAC3CH,IAAI,IAAII,QACL,CAAC;AAEX,CAAC;AAED,eAAeL,IAAI","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import Body from './Body';
2
+ export { Body };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Body"],"sourceRoot":"../../../../../src","sources":["components/typographies/Body/index.ts"],"mappings":"AAAA,OAAOA,IAAI,MAAM,QAAQ;AAEzB,SAASA,IAAI","ignoreList":[]}