@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,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ICON_SIZE_BIG = exports.ICON_HORIZONTAL_MARGIN = exports.HIT_SLOP = exports.FONT_SIZE = exports.DEFAULT_TITLE = exports.DEFAULT_PRESSED_BG_COLOR = exports.DEFAULT_ICON_SIZE = exports.DEFAULT_ICON = exports.BUTTON_INTERNAL_PADDING_HORIZONTAL = void 0;
7
+ var _colors = require("../../../styles/colors");
8
+ var _space = require("../../../styles/space");
9
+ const FONT_SIZE = exports.FONT_SIZE = 17;
10
+ const ICON_HORIZONTAL_MARGIN = exports.ICON_HORIZONTAL_MARGIN = 8;
11
+ const ICON_SIZE_BIG = exports.ICON_SIZE_BIG = 24;
12
+ const DEFAULT_ICON_SIZE = exports.DEFAULT_ICON_SIZE = 16;
13
+ const DEFAULT_PRESSED_BG_COLOR = exports.DEFAULT_PRESSED_BG_COLOR = _colors.Colors.GREY_2;
14
+ const DEFAULT_TITLE = exports.DEFAULT_TITLE = 'Button';
15
+ const DEFAULT_ICON = exports.DEFAULT_ICON = 'heart';
16
+ const BUTTON_INTERNAL_PADDING_HORIZONTAL = exports.BUTTON_INTERNAL_PADDING_HORIZONTAL = _space.PADDING.LG;
17
+ const HIT_SLOP = exports.HIT_SLOP = {
18
+ top: 16,
19
+ left: 16,
20
+ right: 16,
21
+ bottom: 16
22
+ };
23
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_colors","require","_space","FONT_SIZE","exports","ICON_HORIZONTAL_MARGIN","ICON_SIZE_BIG","DEFAULT_ICON_SIZE","DEFAULT_PRESSED_BG_COLOR","Colors","GREY_2","DEFAULT_TITLE","DEFAULT_ICON","BUTTON_INTERNAL_PADDING_HORIZONTAL","PADDING","LG","HIT_SLOP","top","left","right","bottom"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/constants.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,EAAE;AAEpB,MAAME,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,GAAG,CAAC;AAChC,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG,EAAE;AAExB,MAAMC,iBAAiB,GAAAH,OAAA,CAAAG,iBAAA,GAAG,EAAE;AAC5B,MAAMC,wBAAwB,GAAAJ,OAAA,CAAAI,wBAAA,GAAGC,cAAM,CAACC,MAAM;AAE9C,MAAMC,aAAa,GAAAP,OAAA,CAAAO,aAAA,GAAG,QAAQ;AAC9B,MAAMC,YAAY,GAAAR,OAAA,CAAAQ,YAAA,GAAG,OAAO;AAE5B,MAAMC,kCAAkC,GAAAT,OAAA,CAAAS,kCAAA,GAAGC,cAAO,CAACC,EAAE;AAErD,MAAMC,QAAgB,GAAAZ,OAAA,CAAAY,QAAA,GAAG;EAC9BC,GAAG,EAAE,EAAE;EACPC,IAAI,EAAE,EAAE;EACRC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "FicButton", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _FicButton.default;
10
+ }
11
+ });
12
+ var _FicButton = _interopRequireDefault(require("./FicButton"));
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_FicButton","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -0,0 +1,291 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _colors = require("../../../../styles/colors");
8
+ var _space = require("../../../../styles/space");
9
+ var _constants = require("../constants");
10
+ const defaultContainerProps = {
11
+ flexDirection: 'row',
12
+ alignSelf: 'flex-start',
13
+ justifyContent: 'center',
14
+ alignContent: 'center',
15
+ alignItems: 'center',
16
+ borderRadius: _space.BORDER_RADIUS.SM
17
+ };
18
+ const {
19
+ alignContent,
20
+ ...defaultIconContainerProps
21
+ } = defaultContainerProps;
22
+ const iconContainerProps = {
23
+ ...defaultIconContainerProps,
24
+ borderRadius: 1000,
25
+ alignSelf: 'center'
26
+ };
27
+ const ficButtonDarkTheme = {
28
+ primary: {
29
+ default: {
30
+ container: {
31
+ ...defaultContainerProps,
32
+ backgroundColor: _colors.Colors.AZURE_K
33
+ },
34
+ text: {
35
+ color: _colors.Colors.ELEVATION_1
36
+ },
37
+ icon: {
38
+ color: _colors.Colors.ELEVATION_1
39
+ },
40
+ pressedStyle: {
41
+ container: {
42
+ ...defaultContainerProps,
43
+ backgroundColor: _colors.Colors.AZURE_K_D1
44
+ },
45
+ text: {
46
+ color: _colors.Colors.ELEVATION_1
47
+ },
48
+ icon: {
49
+ color: _colors.Colors.ELEVATION_1
50
+ }
51
+ }
52
+ },
53
+ disabled: {
54
+ container: {
55
+ ...defaultContainerProps,
56
+ backgroundColor: _colors.Colors.ELEVATION_4
57
+ },
58
+ text: {
59
+ color: _colors.Colors.ELEVATION_2
60
+ },
61
+ icon: {
62
+ color: _colors.Colors.ELEVATION_2
63
+ }
64
+ },
65
+ error: {
66
+ container: {
67
+ ...defaultContainerProps,
68
+ backgroundColor: _colors.Colors.RED
69
+ },
70
+ text: {
71
+ color: _colors.Colors.WHITE
72
+ },
73
+ icon: {
74
+ color: _colors.Colors.WHITE
75
+ },
76
+ pressedStyle: {
77
+ container: {
78
+ ...defaultContainerProps,
79
+ backgroundColor: _colors.Colors.RED_D1
80
+ },
81
+ text: {
82
+ color: _colors.Colors.WHITE
83
+ },
84
+ icon: {
85
+ color: _colors.Colors.WHITE
86
+ }
87
+ }
88
+ }
89
+ },
90
+ secondary: {
91
+ default: {
92
+ container: {
93
+ ...defaultContainerProps,
94
+ backgroundColor: _colors.Colors.ELEVATION_1,
95
+ borderWidth: 1,
96
+ borderColor: _colors.Colors.AZURE_K
97
+ },
98
+ text: {
99
+ color: _colors.Colors.AZURE_K
100
+ },
101
+ icon: {
102
+ color: _colors.Colors.AZURE_K
103
+ },
104
+ pressedStyle: {
105
+ container: {
106
+ ...defaultContainerProps,
107
+ backgroundColor: _colors.Colors.ELEVATION_2,
108
+ borderWidth: 1,
109
+ borderColor: _colors.Colors.AZURE_K
110
+ },
111
+ text: {
112
+ color: _colors.Colors.AZURE_K
113
+ },
114
+ icon: {
115
+ color: _colors.Colors.AZURE_K
116
+ }
117
+ }
118
+ },
119
+ disabled: {
120
+ container: {
121
+ ...defaultContainerProps,
122
+ backgroundColor: _colors.Colors.ELEVATION_1,
123
+ borderWidth: 1,
124
+ borderColor: _colors.Colors.ELEVATION_4
125
+ },
126
+ text: {
127
+ color: _colors.Colors.ELEVATION_4
128
+ },
129
+ icon: {
130
+ color: _colors.Colors.ELEVATION_4
131
+ }
132
+ },
133
+ error: {
134
+ container: {
135
+ ...defaultContainerProps,
136
+ backgroundColor: _colors.Colors.ELEVATION_1,
137
+ borderWidth: 1,
138
+ borderColor: _colors.Colors.RED_K_D1
139
+ },
140
+ text: {
141
+ color: _colors.Colors.RED_K_D1
142
+ },
143
+ icon: {
144
+ color: _colors.Colors.RED_K_D1
145
+ },
146
+ pressedStyle: {
147
+ container: {
148
+ ...defaultContainerProps,
149
+ backgroundColor: _colors.Colors.ELEVATION_2,
150
+ borderWidth: 1,
151
+ borderColor: _colors.Colors.RED_K_D1
152
+ },
153
+ text: {
154
+ color: _colors.Colors.RED_K_D1
155
+ },
156
+ icon: {
157
+ color: _colors.Colors.RED_K_D1
158
+ }
159
+ }
160
+ }
161
+ },
162
+ tertiary: {
163
+ default: {
164
+ container: {
165
+ ...defaultContainerProps,
166
+ alignSelf: 'center'
167
+ },
168
+ text: {
169
+ textDecorationLine: 'underline',
170
+ fontSize: _constants.FONT_SIZE,
171
+ color: _colors.Colors.AZURE_K
172
+ },
173
+ icon: {
174
+ color: _colors.Colors.AZURE_K
175
+ },
176
+ pressedStyle: {
177
+ container: {
178
+ ...defaultContainerProps,
179
+ alignSelf: 'center',
180
+ backgroundColor: _colors.Colors.ELEVATION_4
181
+ },
182
+ text: {
183
+ textDecorationLine: 'underline',
184
+ fontSize: _constants.FONT_SIZE,
185
+ color: _colors.Colors.AZURE_K
186
+ },
187
+ icon: {
188
+ color: _colors.Colors.AZURE_K
189
+ }
190
+ }
191
+ },
192
+ disabled: {
193
+ container: {
194
+ ...defaultContainerProps
195
+ },
196
+ text: {
197
+ textDecorationLine: 'underline',
198
+ fontSize: _constants.FONT_SIZE,
199
+ color: _colors.Colors.ELEVATION_4
200
+ },
201
+ icon: {
202
+ color: _colors.Colors.ELEVATION_4
203
+ }
204
+ },
205
+ error: {
206
+ container: {
207
+ ...defaultContainerProps,
208
+ alignSelf: 'center'
209
+ },
210
+ text: {
211
+ textDecorationLine: 'underline',
212
+ fontSize: _constants.FONT_SIZE,
213
+ color: _colors.Colors.RED_K_D1
214
+ },
215
+ icon: {
216
+ color: _colors.Colors.RED_K_D1
217
+ },
218
+ pressedStyle: {
219
+ container: {
220
+ ...defaultContainerProps,
221
+ alignSelf: 'center',
222
+ backgroundColor: _colors.Colors.ELEVATION_4
223
+ },
224
+ text: {
225
+ textDecorationLine: 'underline',
226
+ fontSize: _constants.FONT_SIZE,
227
+ color: _colors.Colors.RED_K_D1
228
+ },
229
+ icon: {
230
+ color: _colors.Colors.RED_K_D1
231
+ }
232
+ }
233
+ }
234
+ },
235
+ icon: {
236
+ default: {
237
+ container: {
238
+ ...iconContainerProps,
239
+ alignSelf: 'flex-start'
240
+ },
241
+ text: {},
242
+ icon: {
243
+ color: _colors.Colors.WHITE_80
244
+ },
245
+ pressedStyle: {
246
+ container: {
247
+ backgroundColor: _colors.Colors.ELEVATION_4,
248
+ justifyContent: 'center',
249
+ alignItems: 'center'
250
+ },
251
+ text: {},
252
+ icon: {
253
+ color: _colors.Colors.WHITE_80
254
+ }
255
+ }
256
+ },
257
+ disabled: {
258
+ container: {
259
+ ...iconContainerProps
260
+ },
261
+ text: {},
262
+ icon: {
263
+ color: _colors.Colors.ELEVATION_4
264
+ }
265
+ },
266
+ error: {
267
+ container: {
268
+ ...iconContainerProps
269
+ },
270
+ text: {},
271
+ icon: {
272
+ color: _colors.Colors.RED_K_D1
273
+ },
274
+ pressedStyle: {
275
+ container: {
276
+ position: 'absolute',
277
+ justifyContent: 'center',
278
+ alignItems: 'center',
279
+ borderRadius: 1000,
280
+ backgroundColor: _colors.Colors.ELEVATION_4
281
+ },
282
+ text: {},
283
+ icon: {
284
+ color: _colors.Colors.RED_K_D1
285
+ }
286
+ }
287
+ }
288
+ }
289
+ };
290
+ var _default = exports.default = ficButtonDarkTheme;
291
+ //# sourceMappingURL=dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_colors","require","_space","_constants","defaultContainerProps","flexDirection","alignSelf","justifyContent","alignContent","alignItems","borderRadius","BORDER_RADIUS","SM","defaultIconContainerProps","iconContainerProps","ficButtonDarkTheme","primary","default","container","backgroundColor","Colors","AZURE_K","text","color","ELEVATION_1","icon","pressedStyle","AZURE_K_D1","disabled","ELEVATION_4","ELEVATION_2","error","RED","WHITE","RED_D1","secondary","borderWidth","borderColor","RED_K_D1","tertiary","textDecorationLine","fontSize","FONT_SIZE","WHITE_80","position","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/dark.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AAEA,MAAMG,qBAAuC,GAAG;EAC9CC,aAAa,EAAE,KAAK;EACpBC,SAAS,EAAE,YAAY;EACvBC,cAAc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MACRV,SAAS,EAAE;QAAE,GAAGJ;MAAmB,CAAC;MACpCQ,IAAI,EAAE,CAAC,CAAC;MACRG,IAAI,EAAE;QACJF,KAAK,EAAEH,cAAM,CAACS;MAChB;IACF,CAAC;IACDE,KAAK,EAAE;MACLb,SAAS,EAAE;QAAE,GAAGJ;MAAmB,CAAC;MACpCQ,IAAI,EAAE,CAAC,CAAC;MACRG,IAAI,EAAE;QACJF,KAAK,EAAEH,cAAM,CAACkB;MAChB,CAAC;MACDZ,YAAY,EAAE;QACZR,SAAS,EAAE;UACT0B,QAAQ,EAAE,UAAU;UACpBrC,cAAc,EAAE,QAAQ;UACxBE,UAAU,EAAE,QAAQ;UACpBC,YAAY,EAAE,IAAI;UAClBS,eAAe,EAAEC,cAAM,CAACS;QAC1B,CAAC;QACDP,IAAI,EAAE,CAAC,CAAC;QACRG,IAAI,EAAE;UACJF,KAAK,EAAEH,cAAM,CAACkB;QAChB;MACF;IACF;EACF;AACF,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GAEaF,kBAAkB","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ficButtonLightTheme", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _light.default;
10
+ }
11
+ });
12
+ var _light = _interopRequireDefault(require("./light"));
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_light","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -0,0 +1,311 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _colors = require("../../../../styles/colors");
8
+ var _space = require("../../../../styles/space");
9
+ var _constants = require("../constants");
10
+ const defaultContainerProps = {
11
+ flexDirection: 'row',
12
+ alignSelf: 'flex-start',
13
+ justifyContent: 'center',
14
+ alignContent: 'center',
15
+ alignItems: 'center',
16
+ borderRadius: _space.BORDER_RADIUS.SM
17
+ };
18
+ const {
19
+ alignContent,
20
+ ...defaultIconContainerProps
21
+ } = defaultContainerProps;
22
+ const iconContainerProps = {
23
+ ...defaultIconContainerProps,
24
+ borderRadius: 1000,
25
+ alignSelf: 'center'
26
+ };
27
+ const ficButtonLightTheme = {
28
+ primary: {
29
+ default: {
30
+ container: {
31
+ ...defaultContainerProps,
32
+ backgroundColor: _colors.Colors.AZURE
33
+ },
34
+ text: {
35
+ fontSize: _constants.FONT_SIZE,
36
+ color: _colors.Colors.WHITE
37
+ },
38
+ icon: {
39
+ color: _colors.Colors.WHITE
40
+ },
41
+ pressedStyle: {
42
+ container: {
43
+ ...defaultContainerProps,
44
+ backgroundColor: _colors.Colors.AZURE_D1
45
+ },
46
+ text: {
47
+ fontSize: _constants.FONT_SIZE,
48
+ color: _colors.Colors.WHITE
49
+ },
50
+ icon: {
51
+ color: _colors.Colors.WHITE
52
+ }
53
+ }
54
+ },
55
+ disabled: {
56
+ container: {
57
+ ...defaultContainerProps,
58
+ backgroundColor: _colors.Colors.GREY_2
59
+ },
60
+ text: {
61
+ fontSize: _constants.FONT_SIZE,
62
+ color: _colors.Colors.GREY_3
63
+ },
64
+ icon: {
65
+ color: _colors.Colors.GREY_3
66
+ }
67
+ },
68
+ error: {
69
+ container: {
70
+ ...defaultContainerProps,
71
+ backgroundColor: _colors.Colors.RED
72
+ },
73
+ text: {
74
+ fontSize: _constants.FONT_SIZE,
75
+ color: _colors.Colors.WHITE
76
+ },
77
+ icon: {
78
+ color: _colors.Colors.WHITE
79
+ },
80
+ pressedStyle: {
81
+ container: {
82
+ ...defaultContainerProps,
83
+ backgroundColor: _colors.Colors.RED_D2
84
+ },
85
+ text: {
86
+ fontSize: _constants.FONT_SIZE,
87
+ color: _colors.Colors.WHITE
88
+ },
89
+ icon: {
90
+ color: _colors.Colors.WHITE
91
+ }
92
+ }
93
+ }
94
+ },
95
+ secondary: {
96
+ default: {
97
+ container: {
98
+ ...defaultContainerProps,
99
+ backgroundColor: _colors.Colors.WHITE,
100
+ borderWidth: 1,
101
+ borderColor: _colors.Colors.AZURE
102
+ },
103
+ text: {
104
+ fontSize: _constants.FONT_SIZE,
105
+ color: _colors.Colors.AZURE
106
+ },
107
+ icon: {
108
+ color: _colors.Colors.AZURE
109
+ },
110
+ pressedStyle: {
111
+ container: {
112
+ ...defaultContainerProps,
113
+ backgroundColor: _colors.Colors.GREY_2,
114
+ borderWidth: 1,
115
+ borderColor: _colors.Colors.AZURE
116
+ },
117
+ text: {
118
+ fontSize: _constants.FONT_SIZE,
119
+ color: _colors.Colors.AZURE
120
+ },
121
+ icon: {
122
+ color: _colors.Colors.AZURE
123
+ }
124
+ }
125
+ },
126
+ disabled: {
127
+ container: {
128
+ ...defaultContainerProps,
129
+ backgroundColor: _colors.Colors.WHITE,
130
+ borderWidth: 1,
131
+ borderColor: _colors.Colors.GREY_3
132
+ },
133
+ text: {
134
+ fontSize: _constants.FONT_SIZE,
135
+ color: _colors.Colors.GREY_3
136
+ },
137
+ icon: {
138
+ color: _colors.Colors.GREY_3
139
+ }
140
+ },
141
+ error: {
142
+ container: {
143
+ ...defaultContainerProps,
144
+ backgroundColor: _colors.Colors.WHITE,
145
+ borderWidth: 1,
146
+ borderColor: _colors.Colors.RED
147
+ },
148
+ text: {
149
+ fontSize: _constants.FONT_SIZE,
150
+ color: _colors.Colors.RED
151
+ },
152
+ icon: {
153
+ color: _colors.Colors.RED
154
+ },
155
+ pressedStyle: {
156
+ container: {
157
+ ...defaultContainerProps,
158
+ backgroundColor: _colors.Colors.RED_L1,
159
+ borderWidth: 1,
160
+ borderColor: _colors.Colors.RED
161
+ },
162
+ text: {
163
+ fontSize: _constants.FONT_SIZE,
164
+ color: _colors.Colors.RED
165
+ },
166
+ icon: {
167
+ color: _colors.Colors.RED
168
+ }
169
+ }
170
+ }
171
+ },
172
+ tertiary: {
173
+ default: {
174
+ container: {
175
+ ...defaultContainerProps,
176
+ alignSelf: 'center'
177
+ },
178
+ text: {
179
+ textDecorationLine: 'underline',
180
+ fontSize: _constants.FONT_SIZE,
181
+ color: _colors.Colors.AZURE,
182
+ colorContrastForLightTheme: _colors.Colors.WHITE
183
+ },
184
+ icon: {
185
+ color: _colors.Colors.AZURE,
186
+ colorContrastForLightTheme: _colors.Colors.WHITE
187
+ },
188
+ pressedStyle: {
189
+ container: {
190
+ ...defaultContainerProps,
191
+ alignSelf: 'center',
192
+ backgroundColor: _colors.Colors.BLACK_08
193
+ },
194
+ text: {
195
+ textDecorationLine: 'underline',
196
+ fontSize: _constants.FONT_SIZE,
197
+ color: _colors.Colors.AZURE,
198
+ colorContrastForLightTheme: _colors.Colors.WHITE
199
+ },
200
+ icon: {
201
+ color: _colors.Colors.AZURE,
202
+ colorContrastForLightTheme: _colors.Colors.WHITE
203
+ }
204
+ }
205
+ },
206
+ disabled: {
207
+ container: {
208
+ ...defaultContainerProps
209
+ },
210
+ text: {
211
+ textDecorationLine: 'underline',
212
+ fontSize: _constants.FONT_SIZE,
213
+ color: _colors.Colors.GREY_3
214
+ },
215
+ icon: {
216
+ color: _colors.Colors.GREY_3,
217
+ colorContrastForLightTheme: _colors.Colors.WHITE_80
218
+ }
219
+ },
220
+ error: {
221
+ container: {
222
+ ...defaultContainerProps,
223
+ alignSelf: 'center'
224
+ },
225
+ text: {
226
+ textDecorationLine: 'underline',
227
+ fontSize: _constants.FONT_SIZE,
228
+ color: _colors.Colors.RED,
229
+ colorContrastForLightTheme: _colors.Colors.RED_L2
230
+ },
231
+ icon: {
232
+ color: _colors.Colors.RED
233
+ },
234
+ pressedStyle: {
235
+ container: {
236
+ ...defaultContainerProps,
237
+ alignSelf: 'center',
238
+ backgroundColor: _colors.Colors.RED_L1
239
+ },
240
+ text: {
241
+ textDecorationLine: 'underline',
242
+ fontSize: _constants.FONT_SIZE,
243
+ color: _colors.Colors.RED,
244
+ colorContrastForLightTheme: _colors.Colors.RED_L2
245
+ },
246
+ icon: {
247
+ color: _colors.Colors.RED,
248
+ colorContrastForLightTheme: _colors.Colors.RED_L2
249
+ }
250
+ }
251
+ }
252
+ },
253
+ icon: {
254
+ default: {
255
+ container: {
256
+ ...iconContainerProps,
257
+ alignSelf: 'flex-start'
258
+ },
259
+ text: {},
260
+ icon: {
261
+ color: _colors.Colors.AZURE,
262
+ colorContrastForLightTheme: _colors.Colors.WHITE
263
+ },
264
+ pressedStyle: {
265
+ container: {
266
+ backgroundColor: _colors.Colors.BLACK_08,
267
+ justifyContent: 'center',
268
+ alignItems: 'center'
269
+ },
270
+ text: {},
271
+ icon: {
272
+ color: _colors.Colors.AZURE,
273
+ colorContrastForLightTheme: _colors.Colors.WHITE
274
+ }
275
+ }
276
+ },
277
+ disabled: {
278
+ container: {
279
+ ...iconContainerProps
280
+ },
281
+ text: {},
282
+ icon: {
283
+ color: _colors.Colors.GREY_3,
284
+ colorContrastForLightTheme: _colors.Colors.WHITE_80
285
+ }
286
+ },
287
+ error: {
288
+ container: {
289
+ ...iconContainerProps
290
+ },
291
+ text: {},
292
+ icon: {
293
+ color: _colors.Colors.RED
294
+ },
295
+ pressedStyle: {
296
+ container: {
297
+ justifyContent: 'center',
298
+ alignItems: 'center',
299
+ backgroundColor: _colors.Colors.RED_L1
300
+ },
301
+ text: {},
302
+ icon: {
303
+ color: _colors.Colors.RED,
304
+ colorContrastForLightTheme: _colors.Colors.RED_L2
305
+ }
306
+ }
307
+ }
308
+ }
309
+ };
310
+ var _default = exports.default = ficButtonLightTheme;
311
+ //# sourceMappingURL=light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_colors","require","_space","_constants","defaultContainerProps","flexDirection","alignSelf","justifyContent","alignContent","alignItems","borderRadius","BORDER_RADIUS","SM","defaultIconContainerProps","iconContainerProps","ficButtonLightTheme","primary","default","container","backgroundColor","Colors","AZURE","text","fontSize","FONT_SIZE","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","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/light.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AAEA,MAAMG,qBAAuC,GAAG;EAC9CC,aAAa,EAAE,KAAK;EACpBC,SAAS,EAAE,YAAY;EACvBC,cAAc,EAAE,QAAQ;EACxBC,YAAY,EAAE,QAAQ;EACtBC,UAAU,EAAE,QAAQ;EACpBC,YAAY,EAAEC,oBAAa,CAACC;AAC9B,CAAC;AAED,MAAM;EAAEJ,YAAY;EAAE,GAAGK;AAA0B,CAAC,GAAGT,qBAAqB;AAE5E,MAAMU,kBAAkB,GAAG;EACzB,GAAGD,yBAAyB;EAC5BH,YAAY,EAAE,IAAI;EAClBJ,SAAS,EAAE;AACb,CAAC;AAED,MAAMS,mBAAmC,GAAG;EAC1CC,OAAO,EAAE;IACPC,OAAO,EAAE;MACPC,SAAS,EAAE;QACT,GAAGd,qBAAqB;QACxBe,eAAe,EAAEC,cAAM,CAACC;MAC1B,CAAC;MACDC,IAAI,EAAE;QACJC,QAAQ,EAAEC,oBAAS;QACnBC,KAAK,EAAEL,cAAM,CAACM;MAChB,CAAC;MACDC,IAAI,EAAE;QACJF,KAAK,EAAEL,cAAM,CAACM;MAChB,CAAC;MACDE,YAAY,EAAE;QACZV,SAAS,EAAE;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