@fattureincloud-mobile/fic-mobile-ds 1.2.1 → 1.2.3

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 (622) hide show
  1. package/lib/commonjs/components/Tag/Tag.js +12 -9
  2. package/lib/commonjs/components/Tag/Tag.js.map +1 -1
  3. package/lib/commonjs/components/Tag/index.js +1 -1
  4. package/lib/commonjs/components/Tag/index.js.map +1 -1
  5. package/lib/commonjs/components/Touchable/Touchable.js +24 -15
  6. package/lib/commonjs/components/Touchable/Touchable.js.map +1 -1
  7. package/lib/commonjs/components/Touchable/index.js +1 -1
  8. package/lib/commonjs/components/Touchable/index.js.map +1 -1
  9. package/lib/commonjs/components/base/DatePicker/DatePicker.js +22 -19
  10. package/lib/commonjs/components/base/DatePicker/DatePicker.js.map +1 -1
  11. package/lib/commonjs/components/base/DatePicker/index.js +1 -1
  12. package/lib/commonjs/components/base/DatePicker/index.js.map +1 -1
  13. package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js +20 -21
  14. package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js.map +1 -1
  15. package/lib/commonjs/components/base/HeaderArrows/index.js +1 -1
  16. package/lib/commonjs/components/base/HeaderArrows/index.js.map +1 -1
  17. package/lib/commonjs/components/buttons/FicButton/FicButton.js +20 -27
  18. package/lib/commonjs/components/buttons/FicButton/FicButton.js.map +1 -1
  19. package/lib/commonjs/components/buttons/FicButton/FicButton.types.js.map +1 -1
  20. package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js +48 -41
  21. package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js.map +1 -1
  22. package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js +45 -48
  23. package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js.map +1 -1
  24. package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js +54 -60
  25. package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js.map +1 -1
  26. package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js +75 -90
  27. package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js.map +1 -1
  28. package/lib/commonjs/components/buttons/FicButton/constants.js +2 -2
  29. package/lib/commonjs/components/buttons/FicButton/constants.js.map +1 -1
  30. package/lib/commonjs/components/buttons/FicButton/index.js +1 -1
  31. package/lib/commonjs/components/buttons/FicButton/index.js.map +1 -1
  32. package/lib/commonjs/components/buttons/FicButton/themes/dark.js +5 -4
  33. package/lib/commonjs/components/buttons/FicButton/themes/dark.js.map +1 -1
  34. package/lib/commonjs/components/buttons/FicButton/themes/index.js +8 -1
  35. package/lib/commonjs/components/buttons/FicButton/themes/index.js.map +1 -1
  36. package/lib/commonjs/components/buttons/FicButton/themes/light.js +5 -4
  37. package/lib/commonjs/components/buttons/FicButton/themes/light.js.map +1 -1
  38. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js +19 -18
  39. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -1
  40. package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -1
  41. package/lib/commonjs/components/buttons/FicButtonGroup/index.js +1 -1
  42. package/lib/commonjs/components/buttons/FicButtonGroup/index.js.map +1 -1
  43. package/lib/commonjs/components/notifications/Banner/Banner.js +37 -35
  44. package/lib/commonjs/components/notifications/Banner/Banner.js.map +1 -1
  45. package/lib/commonjs/components/notifications/Banner/Banner.types.js.map +1 -1
  46. package/lib/commonjs/components/notifications/Banner/index.js +1 -1
  47. package/lib/commonjs/components/notifications/Banner/index.js.map +1 -1
  48. package/lib/commonjs/components/notifications/Banner/themes/dark.js +1 -1
  49. package/lib/commonjs/components/notifications/Banner/themes/dark.js.map +1 -1
  50. package/lib/commonjs/components/notifications/Banner/themes/index.js +2 -2
  51. package/lib/commonjs/components/notifications/Banner/themes/index.js.map +1 -1
  52. package/lib/commonjs/components/notifications/Banner/themes/light.js +1 -1
  53. package/lib/commonjs/components/notifications/Banner/themes/light.js.map +1 -1
  54. package/lib/commonjs/components/typographies/Body/Body.js +10 -6
  55. package/lib/commonjs/components/typographies/Body/Body.js.map +1 -1
  56. package/lib/commonjs/components/typographies/Body/index.js +1 -1
  57. package/lib/commonjs/components/typographies/Body/index.js.map +1 -1
  58. package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js +12 -8
  59. package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -1
  60. package/lib/commonjs/components/typographies/ButtonTitle/index.js +1 -1
  61. package/lib/commonjs/components/typographies/ButtonTitle/index.js.map +1 -1
  62. package/lib/commonjs/components/typographies/Callout/Callout.js +10 -6
  63. package/lib/commonjs/components/typographies/Callout/Callout.js.map +1 -1
  64. package/lib/commonjs/components/typographies/Callout/index.js +1 -1
  65. package/lib/commonjs/components/typographies/Callout/index.js.map +1 -1
  66. package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js +10 -6
  67. package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js.map +1 -1
  68. package/lib/commonjs/components/typographies/CaptionOne/index.js +1 -1
  69. package/lib/commonjs/components/typographies/CaptionOne/index.js.map +1 -1
  70. package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js +10 -6
  71. package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -1
  72. package/lib/commonjs/components/typographies/CaptionTwo/index.js +1 -1
  73. package/lib/commonjs/components/typographies/CaptionTwo/index.js.map +1 -1
  74. package/lib/commonjs/components/typographies/Footnote/Footnote.js +10 -6
  75. package/lib/commonjs/components/typographies/Footnote/Footnote.js.map +1 -1
  76. package/lib/commonjs/components/typographies/Footnote/index.js +1 -1
  77. package/lib/commonjs/components/typographies/Footnote/index.js.map +1 -1
  78. package/lib/commonjs/components/typographies/Headline/Headline.js +10 -6
  79. package/lib/commonjs/components/typographies/Headline/Headline.js.map +1 -1
  80. package/lib/commonjs/components/typographies/Headline/index.js +1 -1
  81. package/lib/commonjs/components/typographies/Headline/index.js.map +1 -1
  82. package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js +10 -6
  83. package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js.map +1 -1
  84. package/lib/commonjs/components/typographies/LargeTitle/index.js +1 -1
  85. package/lib/commonjs/components/typographies/LargeTitle/index.js.map +1 -1
  86. package/lib/commonjs/components/typographies/Subhead/Subhead.js +10 -6
  87. package/lib/commonjs/components/typographies/Subhead/Subhead.js.map +1 -1
  88. package/lib/commonjs/components/typographies/Subhead/index.js +1 -1
  89. package/lib/commonjs/components/typographies/Subhead/index.js.map +1 -1
  90. package/lib/commonjs/components/typographies/TitleOne/TitleOne.js +10 -6
  91. package/lib/commonjs/components/typographies/TitleOne/TitleOne.js.map +1 -1
  92. package/lib/commonjs/components/typographies/TitleOne/index.js +1 -1
  93. package/lib/commonjs/components/typographies/TitleOne/index.js.map +1 -1
  94. package/lib/commonjs/components/typographies/TitleThree/TitleThree.js +10 -6
  95. package/lib/commonjs/components/typographies/TitleThree/TitleThree.js.map +1 -1
  96. package/lib/commonjs/components/typographies/TitleThree/index.js +1 -1
  97. package/lib/commonjs/components/typographies/TitleThree/index.js.map +1 -1
  98. package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js +10 -6
  99. package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js.map +1 -1
  100. package/lib/commonjs/components/typographies/TitleTwo/index.js +1 -1
  101. package/lib/commonjs/components/typographies/TitleTwo/index.js.map +1 -1
  102. package/lib/commonjs/components/typographies/font.js.map +1 -1
  103. package/lib/commonjs/hooks/useTheme.js +1 -1
  104. package/lib/commonjs/hooks/useTheme.js.map +1 -1
  105. package/lib/commonjs/index.js +46 -46
  106. package/lib/commonjs/index.js.map +1 -1
  107. package/lib/commonjs/package.json +1 -0
  108. package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js +12 -9
  109. package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -1
  110. package/lib/commonjs/providers/DesignSystemProvider/index.js +1 -1
  111. package/lib/commonjs/providers/DesignSystemProvider/index.js.map +1 -1
  112. package/lib/commonjs/providers/IconProvider/IconProvider.js +11 -7
  113. package/lib/commonjs/providers/IconProvider/IconProvider.js.map +1 -1
  114. package/lib/commonjs/providers/IconProvider/index.js +1 -1
  115. package/lib/commonjs/providers/IconProvider/index.js.map +1 -1
  116. package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js +6 -4
  117. package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js.map +1 -1
  118. package/lib/commonjs/styles/calendarTheme.js.map +1 -1
  119. package/lib/commonjs/styles/colors.js.map +1 -1
  120. package/lib/commonjs/styles/globalStyles.js +1 -1
  121. package/lib/commonjs/styles/globalStyles.js.map +1 -1
  122. package/lib/commonjs/styles/space.js.map +1 -1
  123. package/lib/commonjs/styles/theme.js +7 -7
  124. package/lib/commonjs/styles/theme.js.map +1 -1
  125. package/lib/commonjs/utils/locale.js +2 -2
  126. package/lib/commonjs/utils/locale.js.map +1 -1
  127. package/lib/module/components/Tag/Tag.js +14 -9
  128. package/lib/module/components/Tag/Tag.js.map +1 -1
  129. package/lib/module/components/Tag/index.js +3 -1
  130. package/lib/module/components/Tag/index.js.map +1 -1
  131. package/lib/module/components/Touchable/Touchable.js +26 -15
  132. package/lib/module/components/Touchable/Touchable.js.map +1 -1
  133. package/lib/module/components/Touchable/index.js +3 -1
  134. package/lib/module/components/Touchable/index.js.map +1 -1
  135. package/lib/module/components/base/DatePicker/DatePicker.js +22 -19
  136. package/lib/module/components/base/DatePicker/DatePicker.js.map +1 -1
  137. package/lib/module/components/base/DatePicker/index.js +3 -1
  138. package/lib/module/components/base/DatePicker/index.js.map +1 -1
  139. package/lib/module/components/base/HeaderArrows/HeaderArrows.js +22 -21
  140. package/lib/module/components/base/HeaderArrows/HeaderArrows.js.map +1 -1
  141. package/lib/module/components/base/HeaderArrows/index.js +3 -1
  142. package/lib/module/components/base/HeaderArrows/index.js.map +1 -1
  143. package/lib/module/components/buttons/FicButton/FicButton.js +22 -28
  144. package/lib/module/components/buttons/FicButton/FicButton.js.map +1 -1
  145. package/lib/module/components/buttons/FicButton/FicButton.types.js +2 -0
  146. package/lib/module/components/buttons/FicButton/FicButton.types.js.map +1 -1
  147. package/lib/module/components/buttons/FicButton/FicButtonIcon.js +51 -41
  148. package/lib/module/components/buttons/FicButton/FicButtonIcon.js.map +1 -1
  149. package/lib/module/components/buttons/FicButton/FicButtonPrimary.js +47 -48
  150. package/lib/module/components/buttons/FicButton/FicButtonPrimary.js.map +1 -1
  151. package/lib/module/components/buttons/FicButton/FicButtonSecondary.js +56 -60
  152. package/lib/module/components/buttons/FicButton/FicButtonSecondary.js.map +1 -1
  153. package/lib/module/components/buttons/FicButton/FicButtonTertiary.js +78 -91
  154. package/lib/module/components/buttons/FicButton/FicButtonTertiary.js.map +1 -1
  155. package/lib/module/components/buttons/FicButton/constants.js +4 -2
  156. package/lib/module/components/buttons/FicButton/constants.js.map +1 -1
  157. package/lib/module/components/buttons/FicButton/index.js +3 -1
  158. package/lib/module/components/buttons/FicButton/index.js.map +1 -1
  159. package/lib/module/components/buttons/FicButton/themes/dark.js +7 -4
  160. package/lib/module/components/buttons/FicButton/themes/dark.js.map +1 -1
  161. package/lib/module/components/buttons/FicButton/themes/index.js +5 -2
  162. package/lib/module/components/buttons/FicButton/themes/index.js.map +1 -1
  163. package/lib/module/components/buttons/FicButton/themes/light.js +7 -4
  164. package/lib/module/components/buttons/FicButton/themes/light.js.map +1 -1
  165. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js +21 -18
  166. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -1
  167. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js +2 -0
  168. package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -1
  169. package/lib/module/components/buttons/FicButtonGroup/index.js +3 -1
  170. package/lib/module/components/buttons/FicButtonGroup/index.js.map +1 -1
  171. package/lib/module/components/notifications/Banner/Banner.js +39 -35
  172. package/lib/module/components/notifications/Banner/Banner.js.map +1 -1
  173. package/lib/module/components/notifications/Banner/Banner.types.js +2 -0
  174. package/lib/module/components/notifications/Banner/Banner.types.js.map +1 -1
  175. package/lib/module/components/notifications/Banner/index.js +3 -1
  176. package/lib/module/components/notifications/Banner/index.js.map +1 -1
  177. package/lib/module/components/notifications/Banner/themes/dark.js +3 -1
  178. package/lib/module/components/notifications/Banner/themes/dark.js.map +1 -1
  179. package/lib/module/components/notifications/Banner/themes/index.js +4 -2
  180. package/lib/module/components/notifications/Banner/themes/index.js.map +1 -1
  181. package/lib/module/components/notifications/Banner/themes/light.js +3 -1
  182. package/lib/module/components/notifications/Banner/themes/light.js.map +1 -1
  183. package/lib/module/components/typographies/Body/Body.js +10 -6
  184. package/lib/module/components/typographies/Body/Body.js.map +1 -1
  185. package/lib/module/components/typographies/Body/index.js +3 -1
  186. package/lib/module/components/typographies/Body/index.js.map +1 -1
  187. package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js +12 -8
  188. package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -1
  189. package/lib/module/components/typographies/ButtonTitle/index.js +3 -1
  190. package/lib/module/components/typographies/ButtonTitle/index.js.map +1 -1
  191. package/lib/module/components/typographies/Callout/Callout.js +10 -6
  192. package/lib/module/components/typographies/Callout/Callout.js.map +1 -1
  193. package/lib/module/components/typographies/Callout/index.js +3 -1
  194. package/lib/module/components/typographies/Callout/index.js.map +1 -1
  195. package/lib/module/components/typographies/CaptionOne/CaptionOne.js +10 -6
  196. package/lib/module/components/typographies/CaptionOne/CaptionOne.js.map +1 -1
  197. package/lib/module/components/typographies/CaptionOne/index.js +3 -1
  198. package/lib/module/components/typographies/CaptionOne/index.js.map +1 -1
  199. package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js +10 -6
  200. package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -1
  201. package/lib/module/components/typographies/CaptionTwo/index.js +3 -1
  202. package/lib/module/components/typographies/CaptionTwo/index.js.map +1 -1
  203. package/lib/module/components/typographies/Footnote/Footnote.js +10 -6
  204. package/lib/module/components/typographies/Footnote/Footnote.js.map +1 -1
  205. package/lib/module/components/typographies/Footnote/index.js +3 -1
  206. package/lib/module/components/typographies/Footnote/index.js.map +1 -1
  207. package/lib/module/components/typographies/Headline/Headline.js +10 -6
  208. package/lib/module/components/typographies/Headline/Headline.js.map +1 -1
  209. package/lib/module/components/typographies/Headline/index.js +3 -1
  210. package/lib/module/components/typographies/Headline/index.js.map +1 -1
  211. package/lib/module/components/typographies/LargeTitle/LargeTitle.js +10 -6
  212. package/lib/module/components/typographies/LargeTitle/LargeTitle.js.map +1 -1
  213. package/lib/module/components/typographies/LargeTitle/index.js +3 -1
  214. package/lib/module/components/typographies/LargeTitle/index.js.map +1 -1
  215. package/lib/module/components/typographies/Subhead/Subhead.js +10 -6
  216. package/lib/module/components/typographies/Subhead/Subhead.js.map +1 -1
  217. package/lib/module/components/typographies/Subhead/index.js +3 -1
  218. package/lib/module/components/typographies/Subhead/index.js.map +1 -1
  219. package/lib/module/components/typographies/TitleOne/TitleOne.js +10 -6
  220. package/lib/module/components/typographies/TitleOne/TitleOne.js.map +1 -1
  221. package/lib/module/components/typographies/TitleOne/index.js +3 -1
  222. package/lib/module/components/typographies/TitleOne/index.js.map +1 -1
  223. package/lib/module/components/typographies/TitleThree/TitleThree.js +10 -6
  224. package/lib/module/components/typographies/TitleThree/TitleThree.js.map +1 -1
  225. package/lib/module/components/typographies/TitleThree/index.js +3 -1
  226. package/lib/module/components/typographies/TitleThree/index.js.map +1 -1
  227. package/lib/module/components/typographies/TitleTwo/TitleTwo.js +10 -6
  228. package/lib/module/components/typographies/TitleTwo/TitleTwo.js.map +1 -1
  229. package/lib/module/components/typographies/TitleTwo/index.js +3 -1
  230. package/lib/module/components/typographies/TitleTwo/index.js.map +1 -1
  231. package/lib/module/components/typographies/font.js +2 -0
  232. package/lib/module/components/typographies/font.js.map +1 -1
  233. package/lib/module/hooks/useTheme.js +3 -1
  234. package/lib/module/hooks/useTheme.js.map +1 -1
  235. package/lib/module/index.js +27 -25
  236. package/lib/module/index.js.map +1 -1
  237. package/lib/module/package.json +1 -0
  238. package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js +14 -9
  239. package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -1
  240. package/lib/module/providers/DesignSystemProvider/index.js +3 -1
  241. package/lib/module/providers/DesignSystemProvider/index.js.map +1 -1
  242. package/lib/module/providers/IconProvider/IconProvider.js +13 -7
  243. package/lib/module/providers/IconProvider/IconProvider.js.map +1 -1
  244. package/lib/module/providers/IconProvider/index.js +3 -1
  245. package/lib/module/providers/IconProvider/index.js.map +1 -1
  246. package/lib/module/providers/ThemeProvider/ThemeProvider.js +8 -4
  247. package/lib/module/providers/ThemeProvider/ThemeProvider.js.map +1 -1
  248. package/lib/module/styles/calendarTheme.js +2 -0
  249. package/lib/module/styles/calendarTheme.js.map +1 -1
  250. package/lib/module/styles/colors.js +2 -0
  251. package/lib/module/styles/colors.js.map +1 -1
  252. package/lib/module/styles/globalStyles.js +3 -1
  253. package/lib/module/styles/globalStyles.js.map +1 -1
  254. package/lib/module/styles/space.js +2 -0
  255. package/lib/module/styles/space.js.map +1 -1
  256. package/lib/module/styles/theme.js +6 -4
  257. package/lib/module/styles/theme.js.map +1 -1
  258. package/lib/module/utils/locale.js +4 -2
  259. package/lib/module/utils/locale.js.map +1 -1
  260. package/lib/package.json +4 -2
  261. package/lib/typescript/commonjs/components/Tag/Tag.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/components/Tag/index.d.ts.map +1 -0
  263. package/lib/typescript/commonjs/components/Touchable/Touchable.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/components/Touchable/index.d.ts.map +1 -0
  265. package/lib/typescript/{components → commonjs/components}/base/DatePicker/DatePicker.d.ts +1 -1
  266. package/lib/typescript/commonjs/components/base/DatePicker/DatePicker.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/components/base/DatePicker/index.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/components/base/HeaderArrows/index.d.ts.map +1 -0
  270. package/lib/typescript/commonjs/components/buttons/FicButton/FicButton.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
  272. package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
  273. package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
  275. package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
  276. package/lib/typescript/commonjs/components/buttons/FicButton/Icon.stories.d.ts +22 -0
  277. package/lib/typescript/commonjs/components/buttons/FicButton/Icon.stories.d.ts.map +1 -0
  278. package/lib/typescript/commonjs/components/buttons/FicButton/Primary.stories.d.ts +33 -0
  279. package/lib/typescript/commonjs/components/buttons/FicButton/Primary.stories.d.ts.map +1 -0
  280. package/lib/typescript/commonjs/components/buttons/FicButton/Secondary.stories.d.ts +20 -0
  281. package/lib/typescript/commonjs/components/buttons/FicButton/Secondary.stories.d.ts.map +1 -0
  282. package/lib/typescript/commonjs/components/buttons/FicButton/Tertiary.stories.d.ts +21 -0
  283. package/lib/typescript/commonjs/components/buttons/FicButton/Tertiary.stories.d.ts.map +1 -0
  284. package/lib/typescript/commonjs/components/buttons/FicButton/constants.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/components/buttons/FicButton/index.d.ts.map +1 -0
  286. package/lib/typescript/commonjs/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/components/buttons/FicButton/themes/index.d.ts +4 -0
  288. package/lib/typescript/commonjs/components/buttons/FicButton/themes/index.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/components/buttons/FicButton/themes/light.d.ts.map +1 -0
  290. package/lib/typescript/commonjs/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts +37 -0
  291. package/lib/typescript/commonjs/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
  292. package/lib/typescript/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
  294. package/lib/typescript/commonjs/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
  295. package/lib/typescript/commonjs/components/notifications/Banner/Banner.d.ts.map +1 -0
  296. package/lib/typescript/commonjs/components/notifications/Banner/Banner.types.d.ts.map +1 -0
  297. package/lib/typescript/commonjs/components/notifications/Banner/index.d.ts.map +1 -0
  298. package/lib/typescript/commonjs/components/notifications/Banner/themes/dark.d.ts.map +1 -0
  299. package/lib/typescript/commonjs/components/notifications/Banner/themes/index.d.ts.map +1 -0
  300. package/lib/typescript/commonjs/components/notifications/Banner/themes/light.d.ts.map +1 -0
  301. package/lib/typescript/commonjs/components/typographies/Body/Body.d.ts.map +1 -0
  302. package/lib/typescript/commonjs/components/typographies/Body/index.d.ts.map +1 -0
  303. package/lib/typescript/commonjs/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/components/typographies/ButtonTitle/index.d.ts.map +1 -0
  305. package/lib/typescript/commonjs/components/typographies/Callout/Callout.d.ts.map +1 -0
  306. package/lib/typescript/commonjs/components/typographies/Callout/index.d.ts.map +1 -0
  307. package/lib/typescript/commonjs/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
  308. package/lib/typescript/commonjs/components/typographies/CaptionOne/index.d.ts.map +1 -0
  309. package/lib/typescript/commonjs/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
  310. package/lib/typescript/commonjs/components/typographies/CaptionTwo/index.d.ts.map +1 -0
  311. package/lib/typescript/commonjs/components/typographies/Footnote/Footnote.d.ts.map +1 -0
  312. package/lib/typescript/commonjs/components/typographies/Footnote/index.d.ts.map +1 -0
  313. package/lib/typescript/commonjs/components/typographies/Headline/Headline.d.ts.map +1 -0
  314. package/lib/typescript/commonjs/components/typographies/Headline/index.d.ts.map +1 -0
  315. package/lib/typescript/commonjs/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
  316. package/lib/typescript/commonjs/components/typographies/LargeTitle/index.d.ts.map +1 -0
  317. package/lib/typescript/commonjs/components/typographies/Subhead/Subhead.d.ts.map +1 -0
  318. package/lib/typescript/commonjs/components/typographies/Subhead/index.d.ts.map +1 -0
  319. package/lib/typescript/commonjs/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
  320. package/lib/typescript/commonjs/components/typographies/TitleOne/index.d.ts.map +1 -0
  321. package/lib/typescript/commonjs/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
  322. package/lib/typescript/commonjs/components/typographies/TitleThree/index.d.ts.map +1 -0
  323. package/lib/typescript/commonjs/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/components/typographies/TitleTwo/index.d.ts.map +1 -0
  325. package/lib/typescript/{components → commonjs/components}/typographies/font.d.ts +1 -1
  326. package/lib/typescript/commonjs/components/typographies/font.d.ts.map +1 -0
  327. package/lib/typescript/commonjs/hooks/useTheme.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  329. package/lib/typescript/commonjs/package.json +1 -0
  330. package/lib/typescript/commonjs/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
  331. package/lib/typescript/commonjs/providers/DesignSystemProvider/index.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/providers/IconProvider/IconProvider.d.ts.map +1 -0
  333. package/lib/typescript/commonjs/providers/IconProvider/index.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  335. package/lib/typescript/commonjs/styles/calendarTheme.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/styles/colors.d.ts.map +1 -0
  337. package/lib/typescript/commonjs/styles/globalStyles.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/styles/space.d.ts.map +1 -0
  339. package/lib/typescript/commonjs/styles/theme.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/utils/locale.d.ts.map +1 -0
  341. package/lib/typescript/module/components/Tag/Tag.d.ts +13 -0
  342. package/lib/typescript/module/components/Tag/Tag.d.ts.map +1 -0
  343. package/lib/typescript/module/components/Tag/index.d.ts +3 -0
  344. package/lib/typescript/module/components/Tag/index.d.ts.map +1 -0
  345. package/lib/typescript/module/components/Touchable/Touchable.d.ts +16 -0
  346. package/lib/typescript/module/components/Touchable/Touchable.d.ts.map +1 -0
  347. package/lib/typescript/module/components/Touchable/index.d.ts +3 -0
  348. package/lib/typescript/module/components/Touchable/index.d.ts.map +1 -0
  349. package/lib/typescript/module/components/base/DatePicker/DatePicker.d.ts +60 -0
  350. package/lib/typescript/module/components/base/DatePicker/DatePicker.d.ts.map +1 -0
  351. package/lib/typescript/module/components/base/DatePicker/index.d.ts +4 -0
  352. package/lib/typescript/module/components/base/DatePicker/index.d.ts.map +1 -0
  353. package/lib/typescript/module/components/base/HeaderArrows/HeaderArrows.d.ts +16 -0
  354. package/lib/typescript/module/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
  355. package/lib/typescript/module/components/base/HeaderArrows/index.d.ts +3 -0
  356. package/lib/typescript/module/components/base/HeaderArrows/index.d.ts.map +1 -0
  357. package/lib/typescript/module/components/buttons/FicButton/FicButton.d.ts +5 -0
  358. package/lib/typescript/module/components/buttons/FicButton/FicButton.d.ts.map +1 -0
  359. package/lib/typescript/module/components/buttons/FicButton/FicButton.types.d.ts +91 -0
  360. package/lib/typescript/module/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
  361. package/lib/typescript/module/components/buttons/FicButton/FicButtonIcon.d.ts +5 -0
  362. package/lib/typescript/module/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
  363. package/lib/typescript/module/components/buttons/FicButton/FicButtonPrimary.d.ts +5 -0
  364. package/lib/typescript/module/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
  365. package/lib/typescript/module/components/buttons/FicButton/FicButtonSecondary.d.ts +5 -0
  366. package/lib/typescript/module/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
  367. package/lib/typescript/module/components/buttons/FicButton/FicButtonTertiary.d.ts +5 -0
  368. package/lib/typescript/module/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
  369. package/lib/typescript/module/components/buttons/FicButton/Icon.stories.d.ts +22 -0
  370. package/lib/typescript/module/components/buttons/FicButton/Icon.stories.d.ts.map +1 -0
  371. package/lib/typescript/module/components/buttons/FicButton/Primary.stories.d.ts +33 -0
  372. package/lib/typescript/module/components/buttons/FicButton/Primary.stories.d.ts.map +1 -0
  373. package/lib/typescript/module/components/buttons/FicButton/Secondary.stories.d.ts +20 -0
  374. package/lib/typescript/module/components/buttons/FicButton/Secondary.stories.d.ts.map +1 -0
  375. package/lib/typescript/module/components/buttons/FicButton/Tertiary.stories.d.ts +21 -0
  376. package/lib/typescript/module/components/buttons/FicButton/Tertiary.stories.d.ts.map +1 -0
  377. package/lib/typescript/module/components/buttons/FicButton/constants.d.ts +13 -0
  378. package/lib/typescript/module/components/buttons/FicButton/constants.d.ts.map +1 -0
  379. package/lib/typescript/module/components/buttons/FicButton/index.d.ts +5 -0
  380. package/lib/typescript/module/components/buttons/FicButton/index.d.ts.map +1 -0
  381. package/lib/typescript/module/components/buttons/FicButton/themes/dark.d.ts +4 -0
  382. package/lib/typescript/module/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
  383. package/lib/typescript/module/components/buttons/FicButton/themes/index.d.ts +4 -0
  384. package/lib/typescript/module/components/buttons/FicButton/themes/index.d.ts.map +1 -0
  385. package/lib/typescript/module/components/buttons/FicButton/themes/light.d.ts +4 -0
  386. package/lib/typescript/module/components/buttons/FicButton/themes/light.d.ts.map +1 -0
  387. package/lib/typescript/module/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts +37 -0
  388. package/lib/typescript/module/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
  389. package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.d.ts +5 -0
  390. package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
  391. package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +10 -0
  392. package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
  393. package/lib/typescript/module/components/buttons/FicButtonGroup/index.d.ts +3 -0
  394. package/lib/typescript/module/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
  395. package/lib/typescript/module/components/notifications/Banner/Banner.d.ts +5 -0
  396. package/lib/typescript/module/components/notifications/Banner/Banner.d.ts.map +1 -0
  397. package/lib/typescript/module/components/notifications/Banner/Banner.types.d.ts +44 -0
  398. package/lib/typescript/module/components/notifications/Banner/Banner.types.d.ts.map +1 -0
  399. package/lib/typescript/module/components/notifications/Banner/index.d.ts +3 -0
  400. package/lib/typescript/module/components/notifications/Banner/index.d.ts.map +1 -0
  401. package/lib/typescript/module/components/notifications/Banner/themes/dark.d.ts +4 -0
  402. package/lib/typescript/module/components/notifications/Banner/themes/dark.d.ts.map +1 -0
  403. package/lib/typescript/module/components/notifications/Banner/themes/index.d.ts +4 -0
  404. package/lib/typescript/module/components/notifications/Banner/themes/index.d.ts.map +1 -0
  405. package/lib/typescript/module/components/notifications/Banner/themes/light.d.ts +4 -0
  406. package/lib/typescript/module/components/notifications/Banner/themes/light.d.ts.map +1 -0
  407. package/lib/typescript/module/components/typographies/Body/Body.d.ts +12 -0
  408. package/lib/typescript/module/components/typographies/Body/Body.d.ts.map +1 -0
  409. package/lib/typescript/module/components/typographies/Body/index.d.ts +3 -0
  410. package/lib/typescript/module/components/typographies/Body/index.d.ts.map +1 -0
  411. package/lib/typescript/module/components/typographies/ButtonTitle/ButtonTitle.d.ts +10 -0
  412. package/lib/typescript/module/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
  413. package/lib/typescript/module/components/typographies/ButtonTitle/index.d.ts +3 -0
  414. package/lib/typescript/module/components/typographies/ButtonTitle/index.d.ts.map +1 -0
  415. package/lib/typescript/module/components/typographies/Callout/Callout.d.ts +12 -0
  416. package/lib/typescript/module/components/typographies/Callout/Callout.d.ts.map +1 -0
  417. package/lib/typescript/module/components/typographies/Callout/index.d.ts +3 -0
  418. package/lib/typescript/module/components/typographies/Callout/index.d.ts.map +1 -0
  419. package/lib/typescript/module/components/typographies/CaptionOne/CaptionOne.d.ts +12 -0
  420. package/lib/typescript/module/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
  421. package/lib/typescript/module/components/typographies/CaptionOne/index.d.ts +3 -0
  422. package/lib/typescript/module/components/typographies/CaptionOne/index.d.ts.map +1 -0
  423. package/lib/typescript/module/components/typographies/CaptionTwo/CaptionTwo.d.ts +12 -0
  424. package/lib/typescript/module/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
  425. package/lib/typescript/module/components/typographies/CaptionTwo/index.d.ts +3 -0
  426. package/lib/typescript/module/components/typographies/CaptionTwo/index.d.ts.map +1 -0
  427. package/lib/typescript/module/components/typographies/Footnote/Footnote.d.ts +12 -0
  428. package/lib/typescript/module/components/typographies/Footnote/Footnote.d.ts.map +1 -0
  429. package/lib/typescript/module/components/typographies/Footnote/index.d.ts +3 -0
  430. package/lib/typescript/module/components/typographies/Footnote/index.d.ts.map +1 -0
  431. package/lib/typescript/module/components/typographies/Headline/Headline.d.ts +12 -0
  432. package/lib/typescript/module/components/typographies/Headline/Headline.d.ts.map +1 -0
  433. package/lib/typescript/module/components/typographies/Headline/index.d.ts +3 -0
  434. package/lib/typescript/module/components/typographies/Headline/index.d.ts.map +1 -0
  435. package/lib/typescript/module/components/typographies/LargeTitle/LargeTitle.d.ts +12 -0
  436. package/lib/typescript/module/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
  437. package/lib/typescript/module/components/typographies/LargeTitle/index.d.ts +3 -0
  438. package/lib/typescript/module/components/typographies/LargeTitle/index.d.ts.map +1 -0
  439. package/lib/typescript/module/components/typographies/Subhead/Subhead.d.ts +12 -0
  440. package/lib/typescript/module/components/typographies/Subhead/Subhead.d.ts.map +1 -0
  441. package/lib/typescript/module/components/typographies/Subhead/index.d.ts +3 -0
  442. package/lib/typescript/module/components/typographies/Subhead/index.d.ts.map +1 -0
  443. package/lib/typescript/module/components/typographies/TitleOne/TitleOne.d.ts +12 -0
  444. package/lib/typescript/module/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
  445. package/lib/typescript/module/components/typographies/TitleOne/index.d.ts +3 -0
  446. package/lib/typescript/module/components/typographies/TitleOne/index.d.ts.map +1 -0
  447. package/lib/typescript/module/components/typographies/TitleThree/TitleThree.d.ts +12 -0
  448. package/lib/typescript/module/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
  449. package/lib/typescript/module/components/typographies/TitleThree/index.d.ts +3 -0
  450. package/lib/typescript/module/components/typographies/TitleThree/index.d.ts.map +1 -0
  451. package/lib/typescript/module/components/typographies/TitleTwo/TitleTwo.d.ts +12 -0
  452. package/lib/typescript/module/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
  453. package/lib/typescript/module/components/typographies/TitleTwo/index.d.ts +3 -0
  454. package/lib/typescript/module/components/typographies/TitleTwo/index.d.ts.map +1 -0
  455. package/lib/typescript/module/components/typographies/font.d.ts +9 -0
  456. package/lib/typescript/module/components/typographies/font.d.ts.map +1 -0
  457. package/lib/typescript/module/hooks/useTheme.d.ts +3 -0
  458. package/lib/typescript/module/hooks/useTheme.d.ts.map +1 -0
  459. package/lib/typescript/module/index.d.ts +32 -0
  460. package/lib/typescript/module/index.d.ts.map +1 -0
  461. package/lib/typescript/module/package.json +1 -0
  462. package/lib/typescript/module/providers/DesignSystemProvider/DesignSystemProvider.d.ts +10 -0
  463. package/lib/typescript/module/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
  464. package/lib/typescript/module/providers/DesignSystemProvider/index.d.ts +3 -0
  465. package/lib/typescript/module/providers/DesignSystemProvider/index.d.ts.map +1 -0
  466. package/lib/typescript/module/providers/IconProvider/IconProvider.d.ts +21 -0
  467. package/lib/typescript/module/providers/IconProvider/IconProvider.d.ts.map +1 -0
  468. package/lib/typescript/module/providers/IconProvider/index.d.ts +4 -0
  469. package/lib/typescript/module/providers/IconProvider/index.d.ts.map +1 -0
  470. package/lib/typescript/module/providers/ThemeProvider/ThemeProvider.d.ts +9 -0
  471. package/lib/typescript/module/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  472. package/lib/typescript/module/styles/calendarTheme.d.ts +24 -0
  473. package/lib/typescript/module/styles/calendarTheme.d.ts.map +1 -0
  474. package/lib/typescript/module/styles/colors.d.ts +100 -0
  475. package/lib/typescript/module/styles/colors.d.ts.map +1 -0
  476. package/lib/typescript/module/styles/globalStyles.d.ts +33 -0
  477. package/lib/typescript/module/styles/globalStyles.d.ts.map +1 -0
  478. package/lib/typescript/module/styles/space.d.ts +19 -0
  479. package/lib/typescript/module/styles/space.d.ts.map +1 -0
  480. package/lib/typescript/module/styles/theme.d.ts +185 -0
  481. package/lib/typescript/module/styles/theme.d.ts.map +1 -0
  482. package/lib/typescript/module/utils/locale.d.ts +15 -0
  483. package/lib/typescript/module/utils/locale.d.ts.map +1 -0
  484. package/package.json +5 -3
  485. package/src/components/buttons/FicButton/FicButton.tsx +17 -25
  486. package/src/components/buttons/FicButton/FicButtonIcon.tsx +47 -45
  487. package/src/components/buttons/FicButton/FicButtonPrimary.tsx +13 -1
  488. package/src/components/buttons/FicButton/FicButtonTertiary.tsx +76 -66
  489. package/src/components/buttons/FicButton/themes/dark.ts +77 -77
  490. package/src/components/buttons/FicButton/themes/index.ts +2 -1
  491. package/src/components/buttons/FicButton/themes/light.ts +77 -77
  492. package/src/components/buttons/FicButtonGroup/FicButtonGroup.tsx +32 -11
  493. package/lib/typescript/components/Tag/Tag.d.ts.map +0 -1
  494. package/lib/typescript/components/Tag/index.d.ts.map +0 -1
  495. package/lib/typescript/components/Touchable/Touchable.d.ts.map +0 -1
  496. package/lib/typescript/components/Touchable/index.d.ts.map +0 -1
  497. package/lib/typescript/components/base/DatePicker/DatePicker.d.ts.map +0 -1
  498. package/lib/typescript/components/base/DatePicker/index.d.ts.map +0 -1
  499. package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts.map +0 -1
  500. package/lib/typescript/components/base/HeaderArrows/index.d.ts.map +0 -1
  501. package/lib/typescript/components/buttons/FicButton/FicButton.d.ts.map +0 -1
  502. package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts.map +0 -1
  503. package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts.map +0 -1
  504. package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts.map +0 -1
  505. package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts.map +0 -1
  506. package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts.map +0 -1
  507. package/lib/typescript/components/buttons/FicButton/constants.d.ts.map +0 -1
  508. package/lib/typescript/components/buttons/FicButton/index.d.ts.map +0 -1
  509. package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts.map +0 -1
  510. package/lib/typescript/components/buttons/FicButton/themes/index.d.ts +0 -3
  511. package/lib/typescript/components/buttons/FicButton/themes/index.d.ts.map +0 -1
  512. package/lib/typescript/components/buttons/FicButton/themes/light.d.ts.map +0 -1
  513. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +0 -1
  514. package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +0 -1
  515. package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts.map +0 -1
  516. package/lib/typescript/components/notifications/Banner/Banner.d.ts.map +0 -1
  517. package/lib/typescript/components/notifications/Banner/Banner.types.d.ts.map +0 -1
  518. package/lib/typescript/components/notifications/Banner/index.d.ts.map +0 -1
  519. package/lib/typescript/components/notifications/Banner/themes/dark.d.ts.map +0 -1
  520. package/lib/typescript/components/notifications/Banner/themes/index.d.ts.map +0 -1
  521. package/lib/typescript/components/notifications/Banner/themes/light.d.ts.map +0 -1
  522. package/lib/typescript/components/typographies/Body/Body.d.ts.map +0 -1
  523. package/lib/typescript/components/typographies/Body/index.d.ts.map +0 -1
  524. package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +0 -1
  525. package/lib/typescript/components/typographies/ButtonTitle/index.d.ts.map +0 -1
  526. package/lib/typescript/components/typographies/Callout/Callout.d.ts.map +0 -1
  527. package/lib/typescript/components/typographies/Callout/index.d.ts.map +0 -1
  528. package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts.map +0 -1
  529. package/lib/typescript/components/typographies/CaptionOne/index.d.ts.map +0 -1
  530. package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +0 -1
  531. package/lib/typescript/components/typographies/CaptionTwo/index.d.ts.map +0 -1
  532. package/lib/typescript/components/typographies/Footnote/Footnote.d.ts.map +0 -1
  533. package/lib/typescript/components/typographies/Footnote/index.d.ts.map +0 -1
  534. package/lib/typescript/components/typographies/Headline/Headline.d.ts.map +0 -1
  535. package/lib/typescript/components/typographies/Headline/index.d.ts.map +0 -1
  536. package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts.map +0 -1
  537. package/lib/typescript/components/typographies/LargeTitle/index.d.ts.map +0 -1
  538. package/lib/typescript/components/typographies/Subhead/Subhead.d.ts.map +0 -1
  539. package/lib/typescript/components/typographies/Subhead/index.d.ts.map +0 -1
  540. package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts.map +0 -1
  541. package/lib/typescript/components/typographies/TitleOne/index.d.ts.map +0 -1
  542. package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts.map +0 -1
  543. package/lib/typescript/components/typographies/TitleThree/index.d.ts.map +0 -1
  544. package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts.map +0 -1
  545. package/lib/typescript/components/typographies/TitleTwo/index.d.ts.map +0 -1
  546. package/lib/typescript/components/typographies/font.d.ts.map +0 -1
  547. package/lib/typescript/hooks/useTheme.d.ts.map +0 -1
  548. package/lib/typescript/index.d.ts.map +0 -1
  549. package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +0 -1
  550. package/lib/typescript/providers/DesignSystemProvider/index.d.ts.map +0 -1
  551. package/lib/typescript/providers/IconProvider/IconProvider.d.ts.map +0 -1
  552. package/lib/typescript/providers/IconProvider/index.d.ts.map +0 -1
  553. package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts.map +0 -1
  554. package/lib/typescript/styles/calendarTheme.d.ts.map +0 -1
  555. package/lib/typescript/styles/colors.d.ts.map +0 -1
  556. package/lib/typescript/styles/globalStyles.d.ts.map +0 -1
  557. package/lib/typescript/styles/space.d.ts.map +0 -1
  558. package/lib/typescript/styles/theme.d.ts.map +0 -1
  559. package/lib/typescript/utils/locale.d.ts.map +0 -1
  560. /package/lib/typescript/{components → commonjs/components}/Tag/Tag.d.ts +0 -0
  561. /package/lib/typescript/{components → commonjs/components}/Tag/index.d.ts +0 -0
  562. /package/lib/typescript/{components → commonjs/components}/Touchable/Touchable.d.ts +0 -0
  563. /package/lib/typescript/{components → commonjs/components}/Touchable/index.d.ts +0 -0
  564. /package/lib/typescript/{components → commonjs/components}/base/DatePicker/index.d.ts +0 -0
  565. /package/lib/typescript/{components → commonjs/components}/base/HeaderArrows/HeaderArrows.d.ts +0 -0
  566. /package/lib/typescript/{components → commonjs/components}/base/HeaderArrows/index.d.ts +0 -0
  567. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButton.d.ts +0 -0
  568. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButton.types.d.ts +0 -0
  569. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonIcon.d.ts +0 -0
  570. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonPrimary.d.ts +0 -0
  571. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonSecondary.d.ts +0 -0
  572. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonTertiary.d.ts +0 -0
  573. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/constants.d.ts +0 -0
  574. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/index.d.ts +0 -0
  575. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/themes/dark.d.ts +0 -0
  576. /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/themes/light.d.ts +0 -0
  577. /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/FicButtonGroup.d.ts +0 -0
  578. /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +0 -0
  579. /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/index.d.ts +0 -0
  580. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/Banner.d.ts +0 -0
  581. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/Banner.types.d.ts +0 -0
  582. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/index.d.ts +0 -0
  583. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/dark.d.ts +0 -0
  584. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/index.d.ts +0 -0
  585. /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/light.d.ts +0 -0
  586. /package/lib/typescript/{components → commonjs/components}/typographies/Body/Body.d.ts +0 -0
  587. /package/lib/typescript/{components → commonjs/components}/typographies/Body/index.d.ts +0 -0
  588. /package/lib/typescript/{components → commonjs/components}/typographies/ButtonTitle/ButtonTitle.d.ts +0 -0
  589. /package/lib/typescript/{components → commonjs/components}/typographies/ButtonTitle/index.d.ts +0 -0
  590. /package/lib/typescript/{components → commonjs/components}/typographies/Callout/Callout.d.ts +0 -0
  591. /package/lib/typescript/{components → commonjs/components}/typographies/Callout/index.d.ts +0 -0
  592. /package/lib/typescript/{components → commonjs/components}/typographies/CaptionOne/CaptionOne.d.ts +0 -0
  593. /package/lib/typescript/{components → commonjs/components}/typographies/CaptionOne/index.d.ts +0 -0
  594. /package/lib/typescript/{components → commonjs/components}/typographies/CaptionTwo/CaptionTwo.d.ts +0 -0
  595. /package/lib/typescript/{components → commonjs/components}/typographies/CaptionTwo/index.d.ts +0 -0
  596. /package/lib/typescript/{components → commonjs/components}/typographies/Footnote/Footnote.d.ts +0 -0
  597. /package/lib/typescript/{components → commonjs/components}/typographies/Footnote/index.d.ts +0 -0
  598. /package/lib/typescript/{components → commonjs/components}/typographies/Headline/Headline.d.ts +0 -0
  599. /package/lib/typescript/{components → commonjs/components}/typographies/Headline/index.d.ts +0 -0
  600. /package/lib/typescript/{components → commonjs/components}/typographies/LargeTitle/LargeTitle.d.ts +0 -0
  601. /package/lib/typescript/{components → commonjs/components}/typographies/LargeTitle/index.d.ts +0 -0
  602. /package/lib/typescript/{components → commonjs/components}/typographies/Subhead/Subhead.d.ts +0 -0
  603. /package/lib/typescript/{components → commonjs/components}/typographies/Subhead/index.d.ts +0 -0
  604. /package/lib/typescript/{components → commonjs/components}/typographies/TitleOne/TitleOne.d.ts +0 -0
  605. /package/lib/typescript/{components → commonjs/components}/typographies/TitleOne/index.d.ts +0 -0
  606. /package/lib/typescript/{components → commonjs/components}/typographies/TitleThree/TitleThree.d.ts +0 -0
  607. /package/lib/typescript/{components → commonjs/components}/typographies/TitleThree/index.d.ts +0 -0
  608. /package/lib/typescript/{components → commonjs/components}/typographies/TitleTwo/TitleTwo.d.ts +0 -0
  609. /package/lib/typescript/{components → commonjs/components}/typographies/TitleTwo/index.d.ts +0 -0
  610. /package/lib/typescript/{hooks → commonjs/hooks}/useTheme.d.ts +0 -0
  611. /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
  612. /package/lib/typescript/{providers → commonjs/providers}/DesignSystemProvider/DesignSystemProvider.d.ts +0 -0
  613. /package/lib/typescript/{providers → commonjs/providers}/DesignSystemProvider/index.d.ts +0 -0
  614. /package/lib/typescript/{providers → commonjs/providers}/IconProvider/IconProvider.d.ts +0 -0
  615. /package/lib/typescript/{providers → commonjs/providers}/IconProvider/index.d.ts +0 -0
  616. /package/lib/typescript/{providers → commonjs/providers}/ThemeProvider/ThemeProvider.d.ts +0 -0
  617. /package/lib/typescript/{styles → commonjs/styles}/calendarTheme.d.ts +0 -0
  618. /package/lib/typescript/{styles → commonjs/styles}/colors.d.ts +0 -0
  619. /package/lib/typescript/{styles → commonjs/styles}/globalStyles.d.ts +0 -0
  620. /package/lib/typescript/{styles → commonjs/styles}/space.d.ts +0 -0
  621. /package/lib/typescript/{styles → commonjs/styles}/theme.d.ts +0 -0
  622. /package/lib/typescript/{utils → commonjs/utils}/locale.d.ts +0 -0
@@ -0,0 +1,185 @@
1
+ import { StyleProp, ViewStyle } from 'react-native';
2
+ import { FicButtonTheme } from '../components/buttons/FicButton/FicButton.types';
3
+ import { BannerThemeProp } from '../components/notifications/Banner/Banner.types';
4
+ import { CalendarTheme } from './calendarTheme';
5
+ import { Colors } from './colors';
6
+ interface FlatButtonThemeProps {
7
+ color?: string;
8
+ disabledColor?: string;
9
+ backgroundColor?: string;
10
+ hasShadow?: boolean;
11
+ shadowColor?: string;
12
+ borderRadius?: number;
13
+ disabledStyle?: StyleProp<ViewStyle>;
14
+ containerStyle?: StyleProp<ViewStyle>;
15
+ }
16
+ interface GradientButtonThemeProps {
17
+ isHorizontalGradient?: boolean;
18
+ color?: string;
19
+ disabledColor?: string;
20
+ backgroundColors?: string[];
21
+ disabledBackgroundColors?: string[];
22
+ hasShadow?: boolean;
23
+ shadowColor?: string;
24
+ borderRadius?: number;
25
+ disabledStyle?: StyleProp<ViewStyle>;
26
+ containerStyle?: StyleProp<ViewStyle>;
27
+ }
28
+ interface OutlineButtonThemeProps {
29
+ color?: string;
30
+ disabledColor?: string;
31
+ backgroundColor?: string;
32
+ disabledBackgroundColor?: string;
33
+ borderColor?: string;
34
+ disabledBorderColor?: string;
35
+ hasShadow?: boolean;
36
+ shadowColor?: string;
37
+ borderRadius?: number;
38
+ disabledStyle?: StyleProp<ViewStyle>;
39
+ containerStyle?: StyleProp<ViewStyle>;
40
+ }
41
+ export interface TextInputThemeProps {
42
+ color?: string;
43
+ labelColor?: string;
44
+ disabledTextColor?: string;
45
+ disabledLabelColor?: string;
46
+ mandatoryIndicatorColor?: string;
47
+ placeholderColor?: string;
48
+ inlineLeadingColor?: string;
49
+ fieldIconColor?: string;
50
+ borderColor?: string;
51
+ focusedBorderColor?: string;
52
+ disabledBorderColor?: string;
53
+ erroredBorderColor?: string;
54
+ warningBorderColor?: string;
55
+ backgroundColor?: string;
56
+ disabledBackgroundColor?: string;
57
+ }
58
+ interface TypographiesThemeProps {
59
+ bodyColor?: string;
60
+ buttonTitleColor?: string;
61
+ calloutColor?: string;
62
+ captionOneColor?: string;
63
+ captionTwoColor?: string;
64
+ footnoteColor?: string;
65
+ headlineColor?: string;
66
+ largeTitleColor?: string;
67
+ subheadColor?: string;
68
+ titleOneColor?: string;
69
+ titleTwoColor?: string;
70
+ titleThreeColor?: string;
71
+ }
72
+ export interface TouchablesThemeProps {
73
+ rippleColors?: string;
74
+ highlightColor?: string;
75
+ }
76
+ export interface SearchBarThemeProps {
77
+ color?: string;
78
+ backgroundColor?: string;
79
+ iconColor?: string;
80
+ selectionColor?: string;
81
+ useTextColor?: string;
82
+ errorColor?: string;
83
+ }
84
+ export interface DurationPickerThemeProps {
85
+ activeColor?: string;
86
+ inactiveColor?: string;
87
+ labelColor?: string;
88
+ guidesColor?: string;
89
+ }
90
+ export interface BottomSheetHeaderThemeProps {
91
+ backgroundColor?: string;
92
+ emptyHeaderBackgroundColor?: string;
93
+ handleColor?: string;
94
+ darkHandleColor?: string;
95
+ titleColor?: string;
96
+ captionColor?: string;
97
+ descriptionColor?: string;
98
+ buttonsColor?: string;
99
+ loaderColor?: string;
100
+ }
101
+ export interface BottomSheetThemeProps {
102
+ backgroundColor?: string;
103
+ backdropColor?: string;
104
+ cancelButtonBackgroundColor?: string;
105
+ header?: BottomSheetHeaderThemeProps;
106
+ handleIndicator: ViewStyle;
107
+ }
108
+ export interface YearMonthPickerThemeProps {
109
+ backgroundColor?: string;
110
+ yearColor?: string;
111
+ arrowsColor?: string;
112
+ monthsTextColor?: string;
113
+ monthsBackgroundColor?: string;
114
+ currentMonthTextColor?: string;
115
+ currentMonthBackgroundColor?: string;
116
+ selectedMonthTextColor?: string;
117
+ selectedMonthBackgroundColor?: string;
118
+ }
119
+ export interface ThemeProps {
120
+ flatButton?: FlatButtonThemeProps;
121
+ gradientButton?: GradientButtonThemeProps;
122
+ outlineButton?: OutlineButtonThemeProps;
123
+ textInput?: TextInputThemeProps;
124
+ typographies?: TypographiesThemeProps;
125
+ searchBar?: SearchBarThemeProps;
126
+ datePickers?: CalendarTheme;
127
+ pickers?: DurationPickerThemeProps;
128
+ bottomSheetHeader?: BottomSheetHeaderThemeProps;
129
+ yearMonthPickers?: YearMonthPickerThemeProps;
130
+ }
131
+ export interface GenericThemeProps {
132
+ backgroundLevel0?: string;
133
+ backgroundLevel1?: string;
134
+ backgroundLevel2?: string;
135
+ backgroundLevel3?: string;
136
+ backgroundLevel4?: string;
137
+ title?: string;
138
+ description?: string;
139
+ disabledTitle?: string;
140
+ disabledDescription?: string;
141
+ divider?: string;
142
+ cardBackground?: string;
143
+ }
144
+ interface Primaries {
145
+ azure: Colors;
146
+ red: Colors;
147
+ green: Colors;
148
+ yellow: Colors;
149
+ purple: Colors;
150
+ blue: Colors;
151
+ }
152
+ export interface Theme {
153
+ banner?: BannerThemeProp;
154
+ ficButton?: FicButtonTheme;
155
+ flatButton: Omit<Required<FlatButtonThemeProps>, 'disabledStyle' | 'containerStyle'> & {
156
+ disabledStyle?: StyleProp<ViewStyle>;
157
+ containerStyle?: StyleProp<ViewStyle>;
158
+ };
159
+ gradientButton: Omit<Required<GradientButtonThemeProps>, 'disabledStyle' | 'containerStyle'> & {
160
+ disabledStyle?: StyleProp<ViewStyle>;
161
+ containerStyle?: StyleProp<ViewStyle>;
162
+ };
163
+ outlineButton: Omit<Required<OutlineButtonThemeProps>, 'disabledStyle' | 'containerStyle'> & {
164
+ disabledStyle?: StyleProp<ViewStyle>;
165
+ containerStyle?: StyleProp<ViewStyle>;
166
+ };
167
+ textInput: Required<TextInputThemeProps>;
168
+ typographies: Required<TypographiesThemeProps>;
169
+ touchables: Required<TouchablesThemeProps>;
170
+ searchBar: Required<SearchBarThemeProps>;
171
+ datePickers: CalendarTheme;
172
+ pickers: DurationPickerThemeProps;
173
+ bottomSheet: Required<BottomSheetThemeProps>;
174
+ yearMonthPickers: YearMonthPickerThemeProps;
175
+ generic?: GenericThemeProps;
176
+ primaries?: Primaries;
177
+ primariesContrast?: Primaries;
178
+ primariesLight?: Primaries;
179
+ primariesDark?: Primaries;
180
+ }
181
+ export declare const ficTheme: Theme;
182
+ export declare const ficDarkTheme: Theme;
183
+ export declare const defaultTheme: Theme;
184
+ export {};
185
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/styles/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpD,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAGjF,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAKlF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAA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,YAAY,EAAE,KAAgB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import 'moment/min/locales';
2
+ /**
3
+ * Retrieves the language and optionally the region settings of the device.
4
+ *
5
+ * @param {boolean} [withNoRegion] - If `true`, only the language is returned without the region.
6
+ * @returns {string} The language and region settings of the device.
7
+ * @example
8
+ * // Returns "it_IT" or "it" if `withNoRegion` is `true`
9
+ * const languageRegion = getDeviceLanguageAndRegion(true);
10
+ */
11
+ export declare const getDeviceLanguageAndRegion: (withNoRegion?: boolean) => string;
12
+ export declare let desiredLocale: string | undefined;
13
+ declare const setLocale: (localeCode: string) => void;
14
+ export default setLocale;
15
+ //# sourceMappingURL=locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../../src/utils/locale.ts"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAC;AAoB5B;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,GAAI,eAAe,OAAO,KAAG,MAOnE,CAAC;AAEF,eAAO,IAAI,aAAa,EAAE,MAAM,GAAG,SAAqB,CAAC;AAEzD,QAAA,MAAM,SAAS,GAAI,YAAY,MAAM,SAKpC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fattureincloud-mobile/fic-mobile-ds",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Official Design System for Fatture in Cloud Mobile",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",
7
- "types": "./lib/typescript/index.d.ts",
7
+ "types": "./lib/typescript/commonjs/index.d.ts",
8
8
  "files": [
9
9
  "src",
10
10
  "lib",
@@ -34,7 +34,8 @@
34
34
  "release": "dotenv release-it",
35
35
  "release:ci": "dotenv release-it --ci",
36
36
  "release:ni": "dotenv release-it --no-increment",
37
- "release:rv": "dotenv release-it --release-version"
37
+ "release:rv": "dotenv release-it --release-version",
38
+ "yalc:push": "yarn build && yalc push"
38
39
  },
39
40
  "keywords": [
40
41
  "react-native",
@@ -86,6 +87,7 @@
86
87
  "react-native": "0.74.7",
87
88
  "react-native-builder-bob": "^0.20.0",
88
89
  "react-native-gesture-handler": "2.9.0",
90
+ "react-native-reanimated": "3.16.7",
89
91
  "react-test-renderer": "18.2.0",
90
92
  "release-it": "^15.0.0",
91
93
  "typescript": "5.0.4"
@@ -1,4 +1,3 @@
1
- // @ts-ignore TS6133
2
1
  import React from 'react';
3
2
  import { FicButtonProps } from './FicButton.types';
4
3
  import FicButtonIcon from './FicButtonIcon';
@@ -6,36 +5,29 @@ import FicButtonPrimary from './FicButtonPrimary';
6
5
  import FicButtonSecondary from './FicButtonSecondary';
7
6
  import FicButtonTertiary from './FicButtonTertiary';
8
7
 
8
+ const buttonMap = {
9
+ icon: FicButtonIcon,
10
+ secondary: FicButtonSecondary,
11
+ tertiary: FicButtonTertiary,
12
+ primary: FicButtonPrimary,
13
+ };
14
+
9
15
  const FicButton: React.FC<FicButtonProps> = ({
10
16
  type = 'primary',
11
17
  ...commonProps
12
18
  }) => {
13
- const _iconPosition = commonProps.iconPosition
14
- ? commonProps.iconPosition
15
- : commonProps.iconName
16
- ? 'left'
17
- : undefined;
19
+ const _iconPosition =
20
+ commonProps.iconPosition ?? (commonProps.iconName ? 'left' : undefined);
18
21
 
19
- const FButton = () => {
20
- switch (type) {
21
- case 'icon':
22
- return <FicButtonIcon isPressable {...commonProps} />;
23
- case 'secondary':
24
- return (
25
- <FicButtonSecondary iconPosition={_iconPosition} {...commonProps} />
26
- );
27
- case 'tertiary':
28
- return (
29
- <FicButtonTertiary iconPosition={_iconPosition} {...commonProps} />
30
- );
31
- default:
32
- return (
33
- <FicButtonPrimary iconPosition={_iconPosition} {...commonProps} />
34
- );
35
- }
36
- };
22
+ const ButtonComponent = buttonMap[type] || FicButtonPrimary;
37
23
 
38
- return <FButton />;
24
+ return (
25
+ <ButtonComponent
26
+ iconPosition={_iconPosition}
27
+ {...(type === 'icon' ? { isPressable: true } : {})}
28
+ {...commonProps}
29
+ />
30
+ );
39
31
  };
40
32
 
41
33
  export default FicButton;
@@ -1,15 +1,18 @@
1
- // @ts-ignore TS6133
2
1
  import * as React from 'react';
3
- import { FunctionComponent, useCallback, useMemo, useState } from 'react';
2
+ import { FunctionComponent, useCallback, useMemo } from 'react';
4
3
  import {
5
4
  GestureResponderEvent,
6
5
  Platform,
7
6
  Pressable as PressableIOS,
8
- StyleProp,
9
7
  View,
10
8
  ViewStyle,
11
9
  } from 'react-native';
12
10
  import { TouchableHighlight } from 'react-native-gesture-handler';
11
+ import Animated, {
12
+ useAnimatedStyle,
13
+ useSharedValue,
14
+ withTiming,
15
+ } from 'react-native-reanimated';
13
16
  import { useTheme } from '../../../hooks/useTheme';
14
17
  import { Icon } from '../../../providers/IconProvider';
15
18
  import {
@@ -50,32 +53,26 @@ const FicButtonIcon: FunctionComponent<FicIconProps> = ({
50
53
  ? buttonTheme.error
51
54
  : buttonTheme.default;
52
55
 
53
- const [isPressed, setIsPressed] = useState(false);
56
+ const pressedOpacity = useSharedValue(0);
54
57
 
55
- const pressedAreaSize = useMemo(
56
- () =>
57
- customPressedIconAreaSize
58
- ? customPressedIconAreaSize
59
- : iconSize + INCREMENT_PRESSED_AREA_SIZE,
60
- [iconSize, customPressedIconAreaSize]
61
- );
58
+ const pressedAreaSize = customPressedIconAreaSize
59
+ ? customPressedIconAreaSize
60
+ : iconSize + INCREMENT_PRESSED_AREA_SIZE;
62
61
 
63
- const pressableAreaStyle: StyleProp<ViewStyle> = useMemo(
64
- () => ({
65
- position: 'absolute',
66
- top: ((pressedAreaSize - iconSize) / 2) * -1,
67
- left: ((pressedAreaSize - iconSize) / 2) * -1,
68
- width: pressedAreaSize ?? iconSize,
69
- height: pressedAreaSize ?? iconSize,
70
- borderRadius: pressedAreaSize / 6,
71
- ...themeProps?.pressedStyle?.container,
72
- }),
73
- [iconSize, pressedAreaSize, themeProps]
74
- );
62
+ const pressableAreaStyle = useAnimatedStyle<ViewStyle>(() => ({
63
+ position: 'absolute' as const,
64
+ top: ((pressedAreaSize - iconSize) / 2) * -1,
65
+ left: ((pressedAreaSize - iconSize) / 2) * -1,
66
+ width: pressedAreaSize ?? iconSize,
67
+ height: pressedAreaSize ?? iconSize,
68
+ borderRadius: pressedAreaSize / 6,
69
+ opacity: pressedOpacity.value,
70
+ ...themeProps?.pressedStyle?.container,
71
+ }));
75
72
 
76
- const iconStyle: StyleProp<ViewStyle> = useMemo(
73
+ const iconStyle = useMemo(
77
74
  () => ({
78
- textAlign: 'center',
75
+ textAlign: 'center' as const,
79
76
  lineHeight: iconSize,
80
77
  width: iconSize,
81
78
  height: iconSize,
@@ -89,28 +86,33 @@ const FicButtonIcon: FunctionComponent<FicIconProps> = ({
89
86
  );
90
87
 
91
88
  const iconColor = useMemo(() => {
92
- return iconCustomColor
93
- ? iconCustomColor
94
- : colorContrastForLightTheme && !error
95
- ? themeProps?.icon.colorContrastForLightTheme
96
- ? themeProps?.icon.colorContrastForLightTheme
97
- : themeProps?.icon.color
98
- : themeProps?.icon.color;
89
+ if (iconCustomColor) return iconCustomColor;
90
+ if (error) return themeProps?.icon.color;
91
+
92
+ if (
93
+ colorContrastForLightTheme &&
94
+ themeProps?.icon?.colorContrastForLightTheme
95
+ )
96
+ return themeProps?.icon.colorContrastForLightTheme;
97
+
98
+ return themeProps?.icon.color;
99
99
  }, [colorContrastForLightTheme, error, themeProps, iconCustomColor]);
100
100
 
101
- const handleOnPressIn: onPressType = (
102
- e: GestureResponderEvent | undefined
103
- ) => {
104
- if (onPressIn) onPressIn(e);
105
- setIsPressed(true);
106
- };
101
+ const handleOnPressIn: onPressType = useCallback(
102
+ (e: GestureResponderEvent | undefined) => {
103
+ pressedOpacity.value = withTiming(1, { duration: 50 });
104
+ if (onPressIn) onPressIn(e);
105
+ },
106
+ [pressedOpacity, onPressIn]
107
+ );
107
108
 
108
- const handleOnPressOut: onPressType = (
109
- e: GestureResponderEvent | undefined
110
- ) => {
111
- if (onPressOut) onPressOut(e);
112
- setIsPressed(false);
113
- };
109
+ const handleOnPressOut: onPressType = useCallback(
110
+ (e: GestureResponderEvent | undefined) => {
111
+ pressedOpacity.value = withTiming(0, { duration: 50 });
112
+ if (onPressOut) onPressOut(e);
113
+ },
114
+ [pressedOpacity, onPressOut]
115
+ );
114
116
 
115
117
  const handleOnPress: onPressType = (e: GestureResponderEvent | undefined) => {
116
118
  if (onPress) onPress(e);
@@ -145,7 +147,7 @@ const FicButtonIcon: FunctionComponent<FicIconProps> = ({
145
147
 
146
148
  return (
147
149
  <View style={{ width: _iconSize, height: _iconSize }}>
148
- {isPressed ? <View style={[pressableAreaStyle]} /> : null}
150
+ <Animated.View style={pressableAreaStyle} />
149
151
  <Pressable
150
152
  style={[themeProps?.container, containerStyle]}
151
153
  onPress={handleOnPress}
@@ -137,7 +137,19 @@ const FicButtonPrimary: React.FC<FicButtonTextProps> = ({
137
137
  ) : null}
138
138
  </View>
139
139
  );
140
- }, [iconPosition, iconName, iconSize, bodyStyle, title, ficPrimaryViewStyle, themeProps, solid, regular, light, duotone]);
140
+ }, [
141
+ iconPosition,
142
+ iconName,
143
+ iconSize,
144
+ bodyStyle,
145
+ title,
146
+ ficPrimaryViewStyle,
147
+ themeProps,
148
+ solid,
149
+ regular,
150
+ light,
151
+ duotone,
152
+ ]);
141
153
 
142
154
  return Platform.OS === 'android' ? (
143
155
  <TouchableHighlight
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { useCallback, useMemo, useState } from 'react';
2
+ import { useCallback, useMemo } from 'react';
3
3
  import {
4
4
  GestureResponderEvent,
5
5
  Platform,
@@ -7,15 +7,31 @@ import {
7
7
  StyleProp,
8
8
  TextStyle,
9
9
  View,
10
- ViewStyle
10
+ ViewStyle,
11
11
  } from 'react-native';
12
12
  import { TouchableHighlight } from 'react-native-gesture-handler';
13
+ import Animated, {
14
+ runOnUI,
15
+ useAnimatedStyle,
16
+ useSharedValue,
17
+ withTiming,
18
+ } from 'react-native-reanimated';
13
19
  import { useTheme } from '../../../hooks/useTheme';
14
20
  import { Icon } from '../../../providers/IconProvider';
15
21
  import { PADDING } from '../../../styles/space';
16
22
  import { Body } from '../../typographies/Body';
17
- import { DEFAULT_ICON, DEFAULT_ICON_SIZE, DEFAULT_TITLE, HIT_SLOP, ICON_HORIZONTAL_MARGIN } from './constants';
18
- import { FicButtonTextProps, FicButtonThemeProps, onPressType } from './FicButton.types';
23
+ import {
24
+ DEFAULT_ICON,
25
+ DEFAULT_ICON_SIZE,
26
+ DEFAULT_TITLE,
27
+ HIT_SLOP,
28
+ ICON_HORIZONTAL_MARGIN,
29
+ } from './constants';
30
+ import {
31
+ FicButtonTextProps,
32
+ FicButtonThemeProps,
33
+ onPressType,
34
+ } from './FicButton.types';
19
35
 
20
36
  const FicButtonTertiary: React.FC<FicButtonTextProps> = ({
21
37
  title,
@@ -34,17 +50,21 @@ const FicButtonTertiary: React.FC<FicButtonTextProps> = ({
34
50
  regular,
35
51
  light,
36
52
  duotone,
37
- containerStyle
53
+ containerStyle,
38
54
  }) => {
39
55
  const { ficButton: theme } = useTheme() || {};
40
56
 
41
57
  const Pressable = Platform.OS === 'ios' ? PressableIOS : TouchableHighlight;
42
58
 
43
59
  const buttonTheme = (theme?.['tertiary'] as FicButtonThemeProps) || {};
44
- const themeProps = disabled ? buttonTheme.disabled : error ? buttonTheme.error : buttonTheme.default;
60
+ const themeProps = disabled
61
+ ? buttonTheme.disabled
62
+ : error
63
+ ? buttonTheme.error
64
+ : buttonTheme.default;
45
65
  const _containerStyle = containerStyle ?? {};
46
66
 
47
- const [isPressed, setIsPressed] = useState(false);
67
+ const pressedOpacity = useSharedValue(0);
48
68
 
49
69
  const iconColor = useMemo(() => {
50
70
  return colorContrastForLightTheme && !error
@@ -66,51 +86,42 @@ const FicButtonTertiary: React.FC<FicButtonTextProps> = ({
66
86
  () => ({
67
87
  marginLeft: iconPosition === 'left' ? ICON_HORIZONTAL_MARGIN : 0,
68
88
  marginRight: iconPosition === 'right' ? ICON_HORIZONTAL_MARGIN : 0,
69
- textDecorationLine: themeProps?.text.textDecorationLine ?? 'underline'
89
+ textDecorationLine: themeProps?.text.textDecorationLine ?? 'underline',
70
90
  }),
71
- [themeProps, iconPosition, isPressed, disabled]
91
+ [themeProps, iconPosition, disabled]
72
92
  );
73
93
 
74
- const tertiaryPressedAreaStyle: StyleProp<ViewStyle> = useMemo(
75
- () => ({
76
- top: small ? -PADDING.SM : -PADDING.LG,
77
- bottom: small ? -PADDING.SM : -PADDING.LG,
78
- left: fullWidth ? 0 : PADDING.LG * -1,
79
- right: fullWidth ? 0 : PADDING.LG * -1,
80
- position: 'absolute',
81
- ...themeProps?.pressedStyle?.container
82
- }),
83
- [small, themeProps, fullWidth]
84
- );
94
+ const pressableAreaStyle = useAnimatedStyle<ViewStyle>(() => ({
95
+ top: small ? -PADDING.SM : -PADDING.LG,
96
+ bottom: small ? -PADDING.SM : -PADDING.LG,
97
+ left: fullWidth ? 0 : PADDING.LG * -1,
98
+ right: fullWidth ? 0 : PADDING.LG * -1,
99
+ position: 'absolute',
100
+ opacity: pressedOpacity.value,
101
+ ...themeProps?.pressedStyle?.container,
102
+ }));
103
+
104
+ const animate = (value: number) => {
105
+ 'worklet';
106
+ pressedOpacity.value = withTiming(value, { duration: 0 });
107
+ };
85
108
 
86
- const dynamicContainerStyle: StyleProp<ViewStyle> = useMemo(
87
- () => ({
88
- paddingTop: small ? PADDING.SM : PADDING.LG,
89
- paddingBottom: small ? PADDING.SM : PADDING.LG,
90
- width: '100%',
91
- ...(isPressed ? themeProps?.pressedStyle?.container : themeProps?.container)
92
- }),
93
- [disabled, themeProps, isPressed]
109
+ const handleOnPressIn: onPressType = useCallback(
110
+ (e: GestureResponderEvent | undefined) => {
111
+ runOnUI(animate)(1);
112
+ if (onPressIn) onPressIn(e);
113
+ },
114
+ [pressedOpacity, onPressIn]
94
115
  );
95
116
 
96
- const dynamicContainerStyleContainer: StyleProp<ViewStyle> = useMemo(
97
- () => ({
98
- width: '100%',
99
- ...(isPressed ? themeProps?.pressedStyle?.container : themeProps?.container)
100
- }),
101
- [disabled, themeProps, isPressed]
117
+ const handleOnPressOut: onPressType = useCallback(
118
+ (e: GestureResponderEvent | undefined) => {
119
+ runOnUI(animate)(0);
120
+ if (onPressOut) onPressOut(e);
121
+ },
122
+ [pressedOpacity, onPressOut]
102
123
  );
103
124
 
104
- const handleOnPressIn: onPressType = (e: GestureResponderEvent | undefined) => {
105
- if (onPressIn) onPressIn(e);
106
- setIsPressed(true);
107
- };
108
-
109
- const handleOnPressOut: onPressType = (e: GestureResponderEvent | undefined) => {
110
- if (onPressOut) onPressOut(e);
111
- setIsPressed(false);
112
- };
113
-
114
125
  const handleOnPress: onPressType = (e: GestureResponderEvent | undefined) => {
115
126
  if (onPress) onPress(e);
116
127
  };
@@ -129,7 +140,11 @@ const FicButtonTertiary: React.FC<FicButtonTextProps> = ({
129
140
  duotone={duotone}
130
141
  />
131
142
  ) : null}
132
- <Body text={title ?? DEFAULT_TITLE} style={bodyStyle} color={bodyColor} />
143
+ <Body
144
+ text={title ?? DEFAULT_TITLE}
145
+ style={bodyStyle}
146
+ color={bodyColor}
147
+ />
133
148
  {iconPosition === 'right' ? (
134
149
  <Icon
135
150
  name={iconName || DEFAULT_ICON}
@@ -143,33 +158,28 @@ const FicButtonTertiary: React.FC<FicButtonTextProps> = ({
143
158
  ) : null}
144
159
  </>
145
160
  );
146
- }, [iconPosition, iconName, iconSize, buttonTheme, disabled, error, bodyStyle, title]);
147
-
148
- return fullWidth ? (
149
- <Pressable
150
- style={[dynamicContainerStyle, Platform.OS === 'ios' ? _containerStyle : {}]}
151
- containerStyle={[dynamicContainerStyleContainer, _containerStyle]}
152
- onPress={handleOnPress}
153
- onPressIn={handleOnPressIn}
154
- onPressOut={handleOnPressOut}
155
- disabled={disabled}
156
- hitSlop={HIT_SLOP}
157
- underlayColor={'transparent'}
158
- >
159
- {FicTertiary()}
160
- </Pressable>
161
- ) : (
161
+ }, [
162
+ iconPosition,
163
+ iconName,
164
+ iconSize,
165
+ buttonTheme,
166
+ disabled,
167
+ error,
168
+ bodyStyle,
169
+ title,
170
+ ]);
171
+
172
+ return (
162
173
  <View
163
174
  style={[
164
175
  {
165
- position: 'relative',
166
- alignSelf: 'flex-start',
167
- width: fullWidth ? '100%' : 'auto'
176
+ width: fullWidth ? '100%' : 'auto',
177
+ alignSelf: fullWidth ? 'stretch' : 'flex-start',
168
178
  },
169
- _containerStyle
179
+ _containerStyle,
170
180
  ]}
171
181
  >
172
- {isPressed ? <View style={[tertiaryPressedAreaStyle]} /> : null}
182
+ <Animated.View style={pressableAreaStyle} />
173
183
  <Pressable
174
184
  style={themeProps?.container}
175
185
  onPress={handleOnPress}