@pagopa/io-app-design-system 5.3.9 → 5.4.1

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 (253) hide show
  1. package/README.md +3 -2
  2. package/lib/commonjs/components/accordion/AccordionItem.js +4 -2
  3. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  4. package/lib/commonjs/components/alert/Alert.js +5 -11
  5. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  6. package/lib/commonjs/components/alert/AlertEdgeToEdge.js +3 -2
  7. package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
  8. package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
  9. package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
  10. package/lib/commonjs/components/buttons/ButtonLink.js +5 -2
  11. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  12. package/lib/commonjs/components/buttons/ButtonOutline.js +20 -15
  13. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  14. package/lib/commonjs/components/buttons/ButtonSolid.js +4 -1
  15. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  16. package/lib/commonjs/components/buttons/IOButton/IOButton.js +230 -0
  17. package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -0
  18. package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +43 -0
  19. package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
  20. package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  21. package/lib/commonjs/components/buttons/IOButton/index.js +17 -0
  22. package/lib/commonjs/components/buttons/IOButton/index.js.map +1 -0
  23. package/lib/commonjs/components/buttons/IOButton/styles.js +166 -0
  24. package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -0
  25. package/lib/commonjs/components/buttons/IconButton.js +2 -3
  26. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  27. package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
  28. package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
  29. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  30. package/lib/commonjs/components/buttons/__test__/button.test.js +0 -24
  31. package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
  32. package/lib/commonjs/components/buttons/index.js +11 -0
  33. package/lib/commonjs/components/buttons/index.js.map +1 -1
  34. package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  35. package/lib/commonjs/components/icons/Icon.js +11 -9
  36. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  37. package/lib/commonjs/components/layout/FooterActions.js +10 -9
  38. package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
  39. package/lib/commonjs/components/layout/FooterActionsInline.js +8 -8
  40. package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
  41. package/lib/commonjs/components/layout/GradientBottomActions.js +8 -8
  42. package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
  43. package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
  44. package/lib/commonjs/components/layout/ModalBSHeader.js +3 -1
  45. package/lib/commonjs/components/layout/ModalBSHeader.js.map +1 -1
  46. package/lib/commonjs/components/listitems/ListItemAmount.js +3 -1
  47. package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
  48. package/lib/commonjs/components/listitems/ListItemCheckbox.js +3 -2
  49. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  50. package/lib/commonjs/components/listitems/ListItemHeader.js +4 -2
  51. package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
  52. package/lib/commonjs/components/listitems/ListItemInfo.js +3 -1
  53. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  54. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +3 -1
  55. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  56. package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
  57. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  58. package/lib/commonjs/components/listitems/ListItemNavAlert.js +3 -1
  59. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  60. package/lib/commonjs/components/listitems/ListItemRadio.js +10 -2
  61. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  62. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  63. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +6 -6
  64. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  65. package/lib/commonjs/components/numberpad/NumberButton.js +15 -2
  66. package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
  67. package/lib/commonjs/components/numberpad/NumberPad.js +9 -6
  68. package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
  69. package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  70. package/lib/commonjs/components/otpInput/OTPInput.js +3 -3
  71. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  72. package/lib/commonjs/components/radio/RadioButtonLabel.js +3 -3
  73. package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
  74. package/lib/commonjs/components/stepper/Stepper.js +5 -2
  75. package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
  76. package/lib/commonjs/components/typography/IOText.js +4 -1
  77. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  78. package/lib/commonjs/core/IOStyles.js +3 -53
  79. package/lib/commonjs/core/IOStyles.js.map +1 -1
  80. package/lib/module/components/accordion/AccordionItem.js +5 -3
  81. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  82. package/lib/module/components/alert/Alert.js +6 -12
  83. package/lib/module/components/alert/Alert.js.map +1 -1
  84. package/lib/module/components/alert/AlertEdgeToEdge.js +3 -2
  85. package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
  86. package/lib/module/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
  87. package/lib/module/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
  88. package/lib/module/components/buttons/ButtonLink.js +6 -3
  89. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  90. package/lib/module/components/buttons/ButtonOutline.js +21 -16
  91. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  92. package/lib/module/components/buttons/ButtonSolid.js +4 -1
  93. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  94. package/lib/module/components/buttons/IOButton/IOButton.js +223 -0
  95. package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -0
  96. package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js +40 -0
  97. package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
  98. package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  99. package/lib/module/components/buttons/IOButton/index.js +4 -0
  100. package/lib/module/components/buttons/IOButton/index.js.map +1 -0
  101. package/lib/module/components/buttons/IOButton/styles.js +160 -0
  102. package/lib/module/components/buttons/IOButton/styles.js.map +1 -0
  103. package/lib/module/components/buttons/IconButton.js +4 -5
  104. package/lib/module/components/buttons/IconButton.js.map +1 -1
  105. package/lib/module/components/buttons/IconButtonContained.js +2 -3
  106. package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
  107. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  108. package/lib/module/components/buttons/__test__/button.test.js +0 -24
  109. package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
  110. package/lib/module/components/buttons/index.js +1 -0
  111. package/lib/module/components/buttons/index.js.map +1 -1
  112. package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  113. package/lib/module/components/icons/Icon.js +10 -7
  114. package/lib/module/components/icons/Icon.js.map +1 -1
  115. package/lib/module/components/layout/FooterActions.js +11 -10
  116. package/lib/module/components/layout/FooterActions.js.map +1 -1
  117. package/lib/module/components/layout/FooterActionsInline.js +9 -9
  118. package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
  119. package/lib/module/components/layout/GradientBottomActions.js +9 -9
  120. package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
  121. package/lib/module/components/layout/GradientScrollView.js.map +1 -1
  122. package/lib/module/components/layout/ModalBSHeader.js +4 -2
  123. package/lib/module/components/layout/ModalBSHeader.js.map +1 -1
  124. package/lib/module/components/listitems/ListItemAmount.js +4 -2
  125. package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
  126. package/lib/module/components/listitems/ListItemCheckbox.js +4 -3
  127. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  128. package/lib/module/components/listitems/ListItemHeader.js +5 -3
  129. package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
  130. package/lib/module/components/listitems/ListItemInfo.js +4 -2
  131. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  132. package/lib/module/components/listitems/ListItemInfoCopy.js +4 -2
  133. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  134. package/lib/module/components/listitems/ListItemNav.js +2 -2
  135. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  136. package/lib/module/components/listitems/ListItemNavAlert.js +4 -2
  137. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  138. package/lib/module/components/listitems/ListItemRadio.js +11 -3
  139. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  140. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  141. package/lib/module/components/loadingSpinner/LoadingSpinner.js +6 -6
  142. package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  143. package/lib/module/components/numberpad/NumberButton.js +16 -3
  144. package/lib/module/components/numberpad/NumberButton.js.map +1 -1
  145. package/lib/module/components/numberpad/NumberPad.js +10 -7
  146. package/lib/module/components/numberpad/NumberPad.js.map +1 -1
  147. package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  148. package/lib/module/components/otpInput/OTPInput.js +3 -3
  149. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  150. package/lib/module/components/radio/RadioButtonLabel.js +3 -3
  151. package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
  152. package/lib/module/components/stepper/Stepper.js +6 -3
  153. package/lib/module/components/stepper/Stepper.js.map +1 -1
  154. package/lib/module/components/typography/IOText.js +2 -0
  155. package/lib/module/components/typography/IOText.js.map +1 -1
  156. package/lib/module/core/IOStyles.js +3 -53
  157. package/lib/module/core/IOStyles.js.map +1 -1
  158. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  159. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  160. package/lib/typescript/components/alert/AlertEdgeToEdge.d.ts.map +1 -1
  161. package/lib/typescript/components/alert/AlertEdgeToEdgeWrapper.d.ts.map +1 -1
  162. package/lib/typescript/components/buttons/ButtonLink.d.ts +3 -0
  163. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  164. package/lib/typescript/components/buttons/ButtonOutline.d.ts +3 -0
  165. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  166. package/lib/typescript/components/buttons/ButtonSolid.d.ts +3 -0
  167. package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
  168. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +57 -0
  169. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -0
  170. package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts +2 -0
  171. package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts.map +1 -0
  172. package/lib/typescript/components/buttons/IOButton/index.d.ts +2 -0
  173. package/lib/typescript/components/buttons/IOButton/index.d.ts.map +1 -0
  174. package/lib/typescript/components/buttons/IOButton/styles.d.ts +35 -0
  175. package/lib/typescript/components/buttons/IOButton/styles.d.ts.map +1 -0
  176. package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
  177. package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
  178. package/lib/typescript/components/buttons/index.d.ts +1 -0
  179. package/lib/typescript/components/buttons/index.d.ts.map +1 -1
  180. package/lib/typescript/components/icons/Icon.d.ts +1 -4
  181. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  182. package/lib/typescript/components/icons/types.d.ts +3 -2
  183. package/lib/typescript/components/icons/types.d.ts.map +1 -1
  184. package/lib/typescript/components/layout/FooterActions.d.ts +10 -8
  185. package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
  186. package/lib/typescript/components/layout/FooterActionsInline.d.ts +5 -4
  187. package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
  188. package/lib/typescript/components/layout/GradientBottomActions.d.ts +12 -6
  189. package/lib/typescript/components/layout/GradientBottomActions.d.ts.map +1 -1
  190. package/lib/typescript/components/layout/GradientScrollView.d.ts.map +1 -1
  191. package/lib/typescript/components/listitems/ListItemAmount.d.ts.map +1 -1
  192. package/lib/typescript/components/listitems/ListItemCheckbox.d.ts.map +1 -1
  193. package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
  194. package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
  195. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
  196. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
  197. package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
  198. package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts +2 -2
  199. package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
  200. package/lib/typescript/components/numberpad/NumberButton.d.ts +11 -0
  201. package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
  202. package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
  203. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  204. package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
  205. package/lib/typescript/components/stepper/Stepper.d.ts.map +1 -1
  206. package/lib/typescript/components/typography/IOText.d.ts +1 -0
  207. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  208. package/lib/typescript/core/IOStyles.d.ts +0 -47
  209. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  210. package/package.json +1 -1
  211. package/src/components/accordion/AccordionItem.tsx +7 -14
  212. package/src/components/alert/Alert.tsx +7 -21
  213. package/src/components/alert/AlertEdgeToEdge.tsx +1 -2
  214. package/src/components/alert/AlertEdgeToEdgeWrapper.tsx +1 -2
  215. package/src/components/buttons/ButtonLink.tsx +6 -6
  216. package/src/components/buttons/ButtonOutline.tsx +21 -21
  217. package/src/components/buttons/ButtonSolid.tsx +4 -1
  218. package/src/components/buttons/IOButton/IOButton.tsx +363 -0
  219. package/src/components/buttons/IOButton/__test__/IOButton.test.tsx +46 -0
  220. package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  221. package/src/components/buttons/IOButton/index.tsx +1 -0
  222. package/src/components/buttons/IOButton/styles.tsx +228 -0
  223. package/src/components/buttons/IconButton.tsx +4 -9
  224. package/src/components/buttons/IconButtonContained.tsx +3 -6
  225. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  226. package/src/components/buttons/__test__/button.test.tsx +1 -33
  227. package/src/components/buttons/index.tsx +1 -0
  228. package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  229. package/src/components/icons/Icon.tsx +12 -3
  230. package/src/components/icons/types.ts +3 -2
  231. package/src/components/layout/FooterActions.tsx +26 -14
  232. package/src/components/layout/FooterActionsInline.tsx +19 -12
  233. package/src/components/layout/GradientBottomActions.tsx +17 -18
  234. package/src/components/layout/GradientScrollView.tsx +2 -1
  235. package/src/components/layout/ModalBSHeader.tsx +2 -2
  236. package/src/components/listitems/ListItemAmount.tsx +1 -2
  237. package/src/components/listitems/ListItemCheckbox.tsx +8 -11
  238. package/src/components/listitems/ListItemHeader.tsx +2 -3
  239. package/src/components/listitems/ListItemInfo.tsx +1 -2
  240. package/src/components/listitems/ListItemInfoCopy.tsx +1 -2
  241. package/src/components/listitems/ListItemNav.tsx +1 -1
  242. package/src/components/listitems/ListItemNavAlert.tsx +1 -2
  243. package/src/components/listitems/ListItemRadio.tsx +7 -7
  244. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  245. package/src/components/loadingSpinner/LoadingSpinner.tsx +8 -8
  246. package/src/components/numberpad/NumberButton.tsx +18 -11
  247. package/src/components/numberpad/NumberPad.tsx +8 -10
  248. package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  249. package/src/components/otpInput/OTPInput.tsx +1 -2
  250. package/src/components/radio/RadioButtonLabel.tsx +7 -10
  251. package/src/components/stepper/Stepper.tsx +7 -12
  252. package/src/components/typography/IOText.tsx +3 -0
  253. package/src/core/IOStyles.ts +3 -55
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemRadio.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAS,SAAS,EAAoB,MAAM,cAAc,CAAC;AAYlE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAO1D,KAAK,yBAAyB,GAC1B;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,EAAE,iBAAiB,CAAC;IAAC,GAAG,CAAC,EAAE,KAAK,CAAA;CAAE,GAC7D;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAC;IAAC,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C7B,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,UAAU,CACpE,CAAC;AAUJ;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,oIAW3B,kBAAkB,sBA2KpB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
+ import { ColorValue } from "react-native";
2
3
  import { WithTestID } from "../../utils/types";
3
- import { IOColors } from "../../core";
4
4
  export type LoadingSpinner = WithTestID<{
5
- color?: IOColors;
5
+ color?: ColorValue;
6
6
  size?: IOLoadingSpinnerSizeScale;
7
7
  durationMs?: number;
8
8
  accessibilityLabel?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../src/components/loadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAc,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;IACtC,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAQrD,eAAO,MAAM,cAAc,GAAI,yFAO5B,cAAc,KAAG,KAAK,CAAC,YA0FzB,CAAC"}
1
+ {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../src/components/loadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAA0B,UAAU,EAAE,MAAM,cAAc,CAAC;AAElE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;IACtC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAQrD,eAAO,MAAM,cAAc,GAAI,yFAO5B,cAAc,KAAG,KAAK,CAAC,YA0FzB,CAAC"}
@@ -22,5 +22,16 @@ type NumberButtonProps = {
22
22
  * @returns {JSX.Element} The rendered `NumberButton`
23
23
  */
24
24
  export declare const NumberButton: React.MemoExoticComponent<({ number, variant, onPress }: NumberButtonProps) => React.JSX.Element>;
25
+ export declare const numberButtonStyles: {
26
+ circularButton: {
27
+ alignItems: "center";
28
+ justifyContent: "center";
29
+ borderRadius: number;
30
+ };
31
+ buttonSize: {
32
+ width: number;
33
+ height: number;
34
+ };
35
+ };
25
36
  export {};
26
37
  //# sourceMappingURL=NumberButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberButton.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAkB1D,KAAK,uBAAuB,GAAG,SAAS,GAAG,SAAS,CAAC;AAErD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAQF;;;;GAIG;AACH,eAAO,MAAM,YAAY,2DACQ,iBAAiB,uBA0EjD,CAAC"}
1
+ {"version":3,"file":"NumberButton.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAY1D,KAAK,uBAAuB,GAAG,SAAS,GAAG,SAAS,CAAC;AAErD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAUF;;;;GAIG;AACH,eAAO,MAAM,YAAY,2DACQ,iBAAiB,uBAyEjD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;CAU7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NumberPad.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberPad.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,mBAAmB,EAAY,MAAM,mBAAmB,CAAC;AAIlE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,KAAK,kBAAkB,GACnB;IACE;;OAEG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC,GACD;IACE,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,2BAA2B,CAAC,EAAE,KAAK,CAAC;CACrC,CAAC;AAEN,KAAK,cAAc,GAAG;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,YAA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,mIAQvB,cAAc,KAAG,GAAG,CAAC,OA8EvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAML,IAAI,EACL,MAAM,cAAc,CAAC;AAUtB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,oEAiJpB,CAAC"}
1
+ {"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAML,IAAI,EACL,MAAM,cAAc,CAAC;AAStB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,oEAiJpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButtonLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioButtonLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAM/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,KAAK,qBAAqB,GAAG,KAAK,GAChC,IAAI,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAClE,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,CACvD,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,GAAI,oFAO9B,qBAAqB,sBA0DvB,CAAC"}
1
+ {"version":3,"file":"RadioButtonLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioButtonLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAK/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,KAAK,qBAAqB,GAAG,KAAK,GAChC,IAAI,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAClE,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,CACvD,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,GAAI,oFAO9B,qBAAqB,sBAwDvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../src/components/stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBAmC3D,CAAC"}
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../src/components/stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBAoC3D,CAAC"}
@@ -51,5 +51,6 @@ export type TypographicStyleAsLinkProps = {
51
51
  * @constructor
52
52
  */
53
53
  export declare const IOText: React.ForwardRefExoticComponent<IOTextBaseProps & IOTextExcludedProps & React.RefAttributes<View>>;
54
+ export declare const AnimatedIOText: React.FunctionComponent<import("react-native-reanimated").AnimateProps<IOTextBaseProps & IOTextExcludedProps & React.RefAttributes<View>>>;
54
55
  export {};
55
56
  //# sourceMappingURL=IOText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IOText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/IOText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AACnE,OAAO,EACL,iBAAiB,EAEjB,qBAAqB,EACrB,IAAI,EACJ,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAc,MAAM,YAAY,CAAC;AAElD,OAAO,EACL,YAAY,EACZ,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,SAAS,EACT,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,CACtE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,WAAW,EACX,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,CAC5E,GAAG;IAAE,SAAS,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAA;CAAE,GAAG;IACrD,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,YA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C,CAAC"}
@@ -17,31 +17,6 @@ interface IOVisualCostants {
17
17
  }
18
18
  export declare const IOVisualCostants: IOVisualCostants;
19
19
  export declare const IOStyles: {
20
- flex: {
21
- flex: number;
22
- };
23
- selfCenter: {
24
- alignSelf: "center";
25
- };
26
- alignCenter: {
27
- alignItems: "center";
28
- };
29
- horizontalContentPadding: {
30
- paddingHorizontal: 16 | 32 | 8 | 24 | 48;
31
- };
32
- row: {
33
- flexDirection: "row";
34
- };
35
- column: {
36
- flexDirection: "column";
37
- };
38
- rowSpaceBetween: {
39
- flexDirection: "row";
40
- justifyContent: "space-between";
41
- };
42
- centerJustified: {
43
- justifyContent: "center";
44
- };
45
20
  footer: {
46
21
  backgroundColor: string;
47
22
  paddingBottom: number;
@@ -56,17 +31,9 @@ export declare const IOStyles: {
56
31
  shadowRadius: number;
57
32
  elevation: number;
58
33
  };
59
- bgWhite: {
60
- backgroundColor: string;
61
- };
62
- topListBorderBelowTabsStyle: {
63
- borderTopWidth: number | undefined;
64
- elevation: number;
65
- };
66
34
  };
67
35
  export declare const buttonSolidHeight: number;
68
36
  export declare const iconBtnSizeSmall: number;
69
- export declare const numberPadBtnSize: number;
70
37
  export declare const IOButtonStyles: {
71
38
  button: {
72
39
  flexDirection: "row";
@@ -110,7 +77,6 @@ export declare const IOIconButtonStyles: {
110
77
  button: {
111
78
  alignItems: "center";
112
79
  justifyContent: "center";
113
- elevation: number;
114
80
  };
115
81
  buttonSizeSmall: {
116
82
  width: number;
@@ -127,19 +93,6 @@ export declare const IOIconButtonStyles: {
127
93
  borderRadius: number;
128
94
  };
129
95
  };
130
- export declare const IONumberPadButtonStyles: {
131
- button: {
132
- alignItems: "center";
133
- justifyContent: "center";
134
- };
135
- circularShape: {
136
- borderRadius: number;
137
- };
138
- buttonSize: {
139
- width: number;
140
- height: number;
141
- };
142
- };
143
96
  /**
144
97
  * LIST ITEM STYLES
145
98
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IOStyles.d.ts","sourceRoot":"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"5.4.1",
4
4
  "description": "The library defining the core components of the design system of @pagopa/io-app",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -2,12 +2,7 @@ import React from "react";
2
2
  import { StyleSheet, TouchableWithoutFeedback, View } from "react-native";
3
3
  import LinearGradient from "react-native-linear-gradient";
4
4
  import Animated from "react-native-reanimated";
5
- import {
6
- IOAccordionRadius,
7
- IOStyles,
8
- useIOTheme,
9
- type IOSpacingScale
10
- } from "../../core";
5
+ import { IOAccordionRadius, useIOTheme, type IOSpacingScale } from "../../core";
11
6
  import { IOColors, hexToRgba } from "../../core/IOColors";
12
7
  import { useAccordionAnimation } from "../../hooks/useAccordionAnimation";
13
8
  import { IOIconSizeScale, IOIcons, Icon } from "../icons/Icon";
@@ -68,14 +63,12 @@ export const AccordionItem = ({
68
63
  >
69
64
  <View style={styles.textContainer}>
70
65
  <View
71
- style={[
72
- IOStyles.row,
73
- IOStyles.alignCenter,
74
- {
75
- flexShrink: 1,
76
- marginRight: accordionChevronMargin
77
- }
78
- ]}
66
+ style={{
67
+ flexDirection: "row",
68
+ alignItems: "center",
69
+ flexShrink: 1,
70
+ marginRight: accordionChevronMargin
71
+ }}
79
72
  >
80
73
  {icon && (
81
74
  <View style={{ marginRight: accordionIconMargin }}>
@@ -1,10 +1,8 @@
1
- import React, { forwardRef, useCallback, useState } from "react";
1
+ import React, { forwardRef } from "react";
2
2
  import {
3
3
  ColorValue,
4
4
  GestureResponderEvent,
5
- NativeSyntheticEvent,
6
5
  Pressable,
7
- TextLayoutEventData,
8
6
  View,
9
7
  ViewStyle
10
8
  } from "react-native";
@@ -125,15 +123,6 @@ export const Alert = forwardRef<View, AlertType>(
125
123
  useIOFontDynamicScale();
126
124
  const { themeType } = useIOThemeContext();
127
125
 
128
- const [isMultiline, setIsMultiline] = useState(false);
129
-
130
- const onTextLayout = useCallback(
131
- (event: NativeSyntheticEvent<TextLayoutEventData>) => {
132
- setIsMultiline(event.nativeEvent.lines.length > 1);
133
- },
134
- []
135
- );
136
-
137
126
  const paddingDefaultVariant: ViewStyle = {
138
127
  padding,
139
128
  borderRadius: IOAlertRadius * dynamicFontScale * spacingScaleMultiplier,
@@ -149,7 +138,7 @@ export const Alert = forwardRef<View, AlertType>(
149
138
  <HStack
150
139
  space={IOVisualCostants.iconMargin as IOSpacer}
151
140
  allowScaleSpacing
152
- style={{ alignItems: isMultiline ? "flex-start" : "center" }}
141
+ style={{ alignItems: "center" }}
153
142
  >
154
143
  <Icon
155
144
  allowFontScaling
@@ -162,20 +151,17 @@ export const Alert = forwardRef<View, AlertType>(
162
151
  have to put these magic numbers after manual adjustments.
163
152
  Tested on both Android and iOS. */}
164
153
  <View
165
- style={[
166
- isMultiline && {
167
- marginTop: -6 * dynamicFontScale,
168
- marginBottom: -4 * dynamicFontScale
169
- },
170
- { flex: 1 }
171
- ]}
154
+ style={{
155
+ marginTop: -4 * dynamicFontScale,
156
+ marginBottom: -4 * dynamicFontScale,
157
+ flex: 1
158
+ }}
172
159
  >
173
160
  <VStack space={8} allowScaleSpacing>
174
161
  <Body
175
162
  color={mapVariantStates[variant].foreground}
176
163
  weight={"Regular"}
177
164
  accessibilityRole="text"
178
- onTextLayout={onTextLayout}
179
165
  >
180
166
  {content}
181
167
  </Body>
@@ -20,7 +20,6 @@ import {
20
20
  IOColorsStatusForeground
21
21
  } from "../../core/IOColors";
22
22
  import { IOAlertSpacing } from "../../core/IOSpacing";
23
- import { IOStyles } from "../../core/IOStyles";
24
23
  import { useScaleAnimation } from "../../hooks";
25
24
  import { makeFontStyleObject } from "../../utils/fonts";
26
25
  import { WithTestID } from "../../utils/types";
@@ -120,7 +119,7 @@ export const AlertEdgeToEdge = ({
120
119
  color={mapVariantStates[variant].foreground}
121
120
  />
122
121
  </View>
123
- <View style={IOStyles.flex}>
122
+ <View style={{ flex: 1 }}>
124
123
  <Body
125
124
  color={mapVariantStates[variant].foreground}
126
125
  weight={"Regular"}
@@ -1,7 +1,6 @@
1
1
  import React, { ComponentProps } from "react";
2
2
  import Animated, { LinearTransition } from "react-native-reanimated";
3
3
  import { WithTestID } from "../../utils/types";
4
- import { IOStyles } from "../../core";
5
4
  import { AlertEdgeToEdge } from "./AlertEdgeToEdge";
6
5
 
7
6
  type AlertEdgeToEdgeWrapperProps = React.PropsWithChildren<
@@ -15,7 +14,7 @@ export const AlertEdgeToEdgeWrapper = ({
15
14
  }: AlertEdgeToEdgeWrapperProps) => (
16
15
  <>
17
16
  {alertProps && <AlertEdgeToEdge {...alertProps} />}
18
- <Animated.View layout={LinearTransition} style={IOStyles.flex}>
17
+ <Animated.View layout={LinearTransition} style={{ flex: 1 }}>
19
18
  {children}
20
19
  </Animated.View>
21
20
  </>
@@ -24,9 +24,9 @@ import { useScaleAnimation } from "../../hooks";
24
24
  import { WithTestID } from "../../utils/types";
25
25
  import {
26
26
  AnimatedIcon,
27
+ AnimatedIconWithColorTransition,
27
28
  IOIconSizeScale,
28
- IOIcons,
29
- IconClassComponent
29
+ IOIcons
30
30
  } from "../icons";
31
31
  import {
32
32
  IOText,
@@ -64,6 +64,9 @@ type ColorStates = {
64
64
  const DISABLED_OPACITY = 0.5;
65
65
  const ICON_MARGIN = 8;
66
66
 
67
+ /**
68
+ * @deprecated Use `Button` with variant `link` instead
69
+ */
67
70
  export const ButtonLink = forwardRef<View, ButtonLinkProps>(
68
71
  (
69
72
  {
@@ -142,9 +145,6 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
142
145
  return { color: iconColor };
143
146
  });
144
147
 
145
- const AnimatedIconClassComponent =
146
- Animated.createAnimatedComponent(IconClassComponent);
147
-
148
148
  // Icon size
149
149
  const iconSize: IOIconSizeScale = 24;
150
150
  const iconMargin: IOSpacingScale = 8;
@@ -180,7 +180,7 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
180
180
  >
181
181
  {icon &&
182
182
  (!disabled ? (
183
- <AnimatedIconClassComponent
183
+ <AnimatedIconWithColorTransition
184
184
  allowFontScaling
185
185
  name={icon}
186
186
  animatedProps={pressedColorIconAnimationStyle}
@@ -22,9 +22,9 @@ import { useScaleAnimation } from "../../hooks";
22
22
  import { WithTestID } from "../../utils/types";
23
23
  import {
24
24
  AnimatedIcon,
25
+ AnimatedIconWithColorTransition,
25
26
  IOIconSizeScale,
26
- IOIcons,
27
- IconClassComponent
27
+ IOIcons
28
28
  } from "../icons";
29
29
  import { IOText, buttonTextFontSize } from "../typography";
30
30
 
@@ -46,12 +46,12 @@ export type ButtonOutline = WithTestID<
46
46
  >;
47
47
 
48
48
  type ColorStates = {
49
- foreground: {
49
+ background: {
50
50
  default: string;
51
51
  pressed: string;
52
52
  disabled: string;
53
53
  };
54
- background: {
54
+ foreground: {
55
55
  default: string;
56
56
  pressed: string;
57
57
  disabled: string;
@@ -70,6 +70,9 @@ const IOButtonStylesLocal = StyleSheet.create({
70
70
  }
71
71
  });
72
72
 
73
+ /**
74
+ * @deprecated Use `Button` with variant `outline` instead
75
+ */
73
76
  export const ButtonOutline = forwardRef<View, ButtonOutline>(
74
77
  (
75
78
  {
@@ -100,28 +103,28 @@ export const ButtonOutline = forwardRef<View, ButtonOutline>(
100
103
  > = {
101
104
  // Primary button
102
105
  primary: {
103
- foreground: {
104
- default: IOColors[theme["interactiveElem-default"]],
105
- pressed: IOColors[theme["interactiveElem-pressed"]],
106
- disabled: IOColors[theme["interactiveOutline-disabled"]]
107
- },
108
106
  background: {
109
107
  default: hexToRgba(IOColors[theme["interactiveElem-pressed"]], 0),
110
108
  pressed: hexToRgba(IOColors[theme["interactiveElem-pressed"]], 0.1),
111
109
  disabled: "transparent"
110
+ },
111
+ foreground: {
112
+ default: IOColors[theme["interactiveElem-default"]],
113
+ pressed: IOColors[theme["interactiveElem-pressed"]],
114
+ disabled: IOColors[theme["interactiveOutline-disabled"]]
112
115
  }
113
116
  },
114
117
  // Contrast button
115
118
  contrast: {
116
- foreground: {
117
- default: IOColors.white,
118
- pressed: IOColors.white,
119
- disabled: IOColors["blueIO-200"]
120
- },
121
119
  background: {
122
120
  default: hexToRgba(IOColors["blueIO-600"], 0),
123
121
  pressed: hexToRgba(IOColors["blueIO-600"], 0.5),
124
122
  disabled: "transparent"
123
+ },
124
+ foreground: {
125
+ default: IOColors.white,
126
+ pressed: IOColors.white,
127
+ disabled: IOColors["blueIO-200"]
125
128
  }
126
129
  }
127
130
  };
@@ -176,27 +179,24 @@ export const ButtonOutline = forwardRef<View, ButtonOutline>(
176
179
  )
177
180
  }));
178
181
 
179
- const AnimatedIconClassComponent =
180
- Animated.createAnimatedComponent(IconClassComponent);
181
-
182
182
  return (
183
183
  <Pressable
184
184
  ref={ref}
185
+ accessible={true}
185
186
  accessibilityLabel={accessibilityLabel || label}
186
187
  accessibilityHint={accessibilityHint}
187
188
  accessibilityRole={"button"}
188
189
  accessibilityState={{ disabled: disabled || false }}
189
- testID={testID}
190
190
  onPress={onPress}
191
191
  onPressIn={onPressIn}
192
192
  onPressOut={onPressOut}
193
- accessible={true}
194
193
  disabled={disabled}
195
194
  style={
196
195
  fullWidth
197
196
  ? { flexShrink: 0, alignSelf: "stretch" }
198
197
  : { flexShrink: 1, alignSelf: "auto" }
199
198
  }
199
+ testID={testID}
200
200
  >
201
201
  <Animated.View
202
202
  style={[
@@ -224,7 +224,7 @@ export const ButtonOutline = forwardRef<View, ButtonOutline>(
224
224
  >
225
225
  {icon &&
226
226
  (!disabled ? (
227
- <AnimatedIconClassComponent
227
+ <AnimatedIconWithColorTransition
228
228
  allowFontScaling
229
229
  name={icon}
230
230
  animatedProps={pressedColorIconAnimationStyle}
@@ -249,7 +249,7 @@ export const ButtonOutline = forwardRef<View, ButtonOutline>(
249
249
  numberOfLines={1}
250
250
  ellipsizeMode="tail"
251
251
  style={[
252
- IOButtonStyles.label,
252
+ { alignSelf: "center" },
253
253
  disabled
254
254
  ? { color: mapColorStates[color]?.foreground?.disabled }
255
255
  : { ...pressedColorLabelAnimationStyle }
@@ -78,6 +78,9 @@ export type ButtonSolidProps = WithTestID<
78
78
  >
79
79
  >;
80
80
 
81
+ /**
82
+ * @deprecated Use `Button` with variant `solid` instead
83
+ */
81
84
  export const ButtonSolid = forwardRef<View, ButtonSolidProps>(
82
85
  (
83
86
  {
@@ -235,7 +238,7 @@ export const ButtonSolid = forwardRef<View, ButtonSolidProps>(
235
238
  }
236
239
  exiting={exitTransitionInnerContent}
237
240
  >
238
- <LoadingSpinner color={foregroundColor} />
241
+ <LoadingSpinner color={IOColors[foregroundColor]} />
239
242
  </Animated.View>
240
243
  )}
241
244