@pagopa/io-app-design-system 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (549) hide show
  1. package/lib/commonjs/components/alert/Alert.js +9 -1
  2. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  3. package/lib/commonjs/components/badge/Badge.js +11 -2
  4. package/lib/commonjs/components/badge/Badge.js.map +1 -1
  5. package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
  6. package/lib/commonjs/components/banner/Banner.js +0 -1
  7. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  8. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
  9. package/lib/commonjs/components/buttons/ButtonExtendedOutline.js +1 -1
  10. package/lib/commonjs/components/buttons/ButtonExtendedOutline.js.map +1 -1
  11. package/lib/commonjs/components/buttons/ButtonLink.js +3 -2
  12. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  13. package/lib/commonjs/components/buttons/ButtonOutline.js +8 -48
  14. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  15. package/lib/commonjs/components/buttons/ButtonSolid.js +5 -7
  16. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  17. package/lib/commonjs/components/buttons/IconButtonSolid.js +54 -29
  18. package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
  19. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
  20. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +14 -2
  21. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
  22. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +11 -3
  23. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  24. package/lib/commonjs/components/checkbox/CheckboxLabel.js +31 -8
  25. package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
  26. package/lib/commonjs/components/icons/Icon.js +27 -15
  27. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  28. package/lib/commonjs/components/icons/IconContained.js +59 -0
  29. package/lib/commonjs/components/icons/IconContained.js.map +1 -0
  30. package/lib/commonjs/components/icons/index.js +11 -0
  31. package/lib/commonjs/components/icons/index.js.map +1 -1
  32. package/lib/commonjs/components/icons/svg/IconChange.js +31 -0
  33. package/lib/commonjs/components/icons/svg/IconChange.js.map +1 -0
  34. package/lib/commonjs/components/icons/svg/IconDialpad.js +29 -0
  35. package/lib/commonjs/components/icons/svg/IconDialpad.js.map +1 -0
  36. package/lib/commonjs/components/icons/svg/IconKey.js +31 -0
  37. package/lib/commonjs/components/icons/svg/IconKey.js.map +1 -0
  38. package/lib/commonjs/components/icons/svg/IconNotification.js +31 -0
  39. package/lib/commonjs/components/icons/svg/IconNotification.js.map +1 -0
  40. package/lib/commonjs/components/icons/svg/IconOption.js +31 -0
  41. package/lib/commonjs/components/icons/svg/IconOption.js.map +1 -0
  42. package/lib/commonjs/components/icons/svg/IconTransactions.js +1 -1
  43. package/lib/commonjs/components/icons/svg/IconTransactions.js.map +1 -1
  44. package/lib/commonjs/components/icons/svg/IconTransactionsBoxed.js +31 -0
  45. package/lib/commonjs/components/icons/svg/IconTransactionsBoxed.js.map +1 -0
  46. package/lib/commonjs/components/icons/svg/originals/IconChange.svg +3 -0
  47. package/lib/commonjs/components/icons/svg/originals/IconDialpad.svg +5 -0
  48. package/lib/commonjs/components/icons/svg/originals/IconKey.svg +7 -0
  49. package/lib/commonjs/components/icons/svg/originals/IconNotification.svg +7 -0
  50. package/lib/commonjs/components/icons/svg/originals/IconOption.svg +7 -0
  51. package/lib/commonjs/components/icons/svg/originals/IconTransactions.svg +8 -0
  52. package/lib/commonjs/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
  53. package/lib/commonjs/components/index.js +11 -0
  54. package/lib/commonjs/components/index.js.map +1 -1
  55. package/lib/commonjs/components/listitems/ListItemAction.js +38 -8
  56. package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
  57. package/lib/commonjs/components/listitems/ListItemInfo.js +31 -7
  58. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  59. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +40 -10
  60. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  61. package/lib/commonjs/components/listitems/ListItemNav.js +30 -7
  62. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  63. package/lib/commonjs/components/listitems/ListItemNavAlert.js +32 -7
  64. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  65. package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
  66. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  67. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
  68. package/lib/commonjs/components/listitems/__test__/listitem.test.js +2 -2
  69. package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
  70. package/lib/commonjs/components/listitems/index.js +4 -4
  71. package/lib/commonjs/components/listitems/index.js.map +1 -1
  72. package/lib/commonjs/components/{listitems/ListItemIDP.js → modules/ModuleIDP.js} +19 -12
  73. package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -0
  74. package/lib/commonjs/components/modules/index.js +17 -0
  75. package/lib/commonjs/components/modules/index.js.map +1 -0
  76. package/lib/commonjs/components/pictograms/Pictogram.js +13 -1
  77. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  78. package/lib/commonjs/components/pictograms/svg/PictogramBleedCie.js +47 -0
  79. package/lib/commonjs/components/pictograms/svg/PictogramBleedCie.js.map +1 -0
  80. package/lib/commonjs/components/pictograms/svg/PictogramBleedFeature.js +50 -0
  81. package/lib/commonjs/components/pictograms/svg/PictogramBleedFeature.js.map +1 -0
  82. package/lib/commonjs/components/pictograms/svg/PictogramBleedSecurity.js +44 -0
  83. package/lib/commonjs/components/pictograms/svg/PictogramBleedSecurity.js.map +1 -0
  84. package/lib/commonjs/components/pictograms/svg/PictogramCie.js +47 -0
  85. package/lib/commonjs/components/pictograms/svg/PictogramCie.js.map +1 -0
  86. package/lib/commonjs/components/pictograms/svg/PictogramFeature.js +50 -0
  87. package/lib/commonjs/components/pictograms/svg/PictogramFeature.js.map +1 -0
  88. package/lib/commonjs/components/pictograms/svg/PictogramSecurity.js +47 -0
  89. package/lib/commonjs/components/pictograms/svg/PictogramSecurity.js.map +1 -0
  90. package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
  91. package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
  92. package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
  93. package/lib/commonjs/components/pictograms/svg/originals/PictogramCie.svg +30 -0
  94. package/lib/commonjs/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
  95. package/lib/commonjs/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
  96. package/lib/commonjs/components/radio/AnimatedRadio.js +14 -2
  97. package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
  98. package/lib/commonjs/components/switch/NativeSwitch.js +19 -5
  99. package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
  100. package/lib/commonjs/components/switch/SwitchLabel.js +31 -8
  101. package/lib/commonjs/components/switch/SwitchLabel.js.map +1 -1
  102. package/lib/commonjs/components/tag/Tag.js +16 -8
  103. package/lib/commonjs/components/tag/Tag.js.map +1 -1
  104. package/lib/commonjs/components/textInput/TextInputBase.js +11 -2
  105. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  106. package/lib/commonjs/components/typography/Body.js +1 -4
  107. package/lib/commonjs/components/typography/Body.js.map +1 -1
  108. package/lib/commonjs/components/typography/BodyMonospace.js +28 -0
  109. package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -0
  110. package/lib/commonjs/components/typography/ButtonText.js +39 -0
  111. package/lib/commonjs/components/typography/ButtonText.js.map +1 -0
  112. package/lib/commonjs/components/typography/Caption.js +37 -0
  113. package/lib/commonjs/components/typography/Caption.js.map +1 -0
  114. package/lib/commonjs/components/typography/Chip.js +34 -0
  115. package/lib/commonjs/components/typography/Chip.js.map +1 -0
  116. package/lib/commonjs/components/typography/H1.js +18 -15
  117. package/lib/commonjs/components/typography/H1.js.map +1 -1
  118. package/lib/commonjs/components/typography/H2.js +18 -15
  119. package/lib/commonjs/components/typography/H2.js.map +1 -1
  120. package/lib/commonjs/components/typography/H3.js +24 -18
  121. package/lib/commonjs/components/typography/H3.js.map +1 -1
  122. package/lib/commonjs/components/typography/H4.js +18 -14
  123. package/lib/commonjs/components/typography/H4.js.map +1 -1
  124. package/lib/commonjs/components/typography/H5.js +19 -33
  125. package/lib/commonjs/components/typography/H5.js.map +1 -1
  126. package/lib/commonjs/components/typography/H6.js +15 -13
  127. package/lib/commonjs/components/typography/H6.js.map +1 -1
  128. package/lib/commonjs/components/typography/Hero.js +38 -0
  129. package/lib/commonjs/components/typography/Hero.js.map +1 -0
  130. package/lib/commonjs/components/typography/Label.js +13 -10
  131. package/lib/commonjs/components/typography/Label.js.map +1 -1
  132. package/lib/commonjs/components/typography/LabelHeader.js +19 -16
  133. package/lib/commonjs/components/typography/LabelHeader.js.map +1 -1
  134. package/lib/commonjs/components/typography/{Link.js → LabelLink.js} +9 -14
  135. package/lib/commonjs/components/typography/LabelLink.js.map +1 -0
  136. package/lib/commonjs/components/typography/LabelSmall.js +18 -22
  137. package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
  138. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
  139. package/lib/commonjs/components/typography/__test__/typography.test.js +10 -42
  140. package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
  141. package/lib/commonjs/components/typography/common.js +18 -1
  142. package/lib/commonjs/components/typography/common.js.map +1 -1
  143. package/lib/commonjs/components/typography/index.js +45 -12
  144. package/lib/commonjs/components/typography/index.js.map +1 -1
  145. package/lib/commonjs/core/IODSExperimentalContextProvider.js +3 -2
  146. package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +1 -1
  147. package/lib/commonjs/core/IOShapes.js +3 -3
  148. package/lib/commonjs/core/IOShapes.js.map +1 -1
  149. package/lib/commonjs/core/IOSpacing.js +8 -8
  150. package/lib/commonjs/core/IOSpacing.js.map +1 -1
  151. package/lib/commonjs/core/IOStyles.js +2 -8
  152. package/lib/commonjs/core/IOStyles.js.map +1 -1
  153. package/lib/commonjs/stories/Link.stories.js +1 -1
  154. package/lib/commonjs/stories/Link.stories.js.map +1 -1
  155. package/lib/commonjs/stories/Monospace.stories.js +1 -1
  156. package/lib/commonjs/stories/Monospace.stories.js.map +1 -1
  157. package/lib/commonjs/utils/fonts.js +8 -6
  158. package/lib/commonjs/utils/fonts.js.map +1 -1
  159. package/lib/module/components/alert/Alert.js +9 -1
  160. package/lib/module/components/alert/Alert.js.map +1 -1
  161. package/lib/module/components/badge/Badge.js +12 -3
  162. package/lib/module/components/badge/Badge.js.map +1 -1
  163. package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
  164. package/lib/module/components/banner/Banner.js +0 -1
  165. package/lib/module/components/banner/Banner.js.map +1 -1
  166. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
  167. package/lib/module/components/buttons/ButtonExtendedOutline.js +2 -2
  168. package/lib/module/components/buttons/ButtonExtendedOutline.js.map +1 -1
  169. package/lib/module/components/buttons/ButtonLink.js +3 -2
  170. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  171. package/lib/module/components/buttons/ButtonOutline.js +8 -48
  172. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  173. package/lib/module/components/buttons/ButtonSolid.js +5 -7
  174. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  175. package/lib/module/components/buttons/IconButtonSolid.js +55 -30
  176. package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
  177. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
  178. package/lib/module/components/checkbox/AnimatedCheckbox.js +15 -3
  179. package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
  180. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +13 -5
  181. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  182. package/lib/module/components/checkbox/CheckboxLabel.js +32 -9
  183. package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
  184. package/lib/module/components/icons/Icon.js +27 -15
  185. package/lib/module/components/icons/Icon.js.map +1 -1
  186. package/lib/module/components/icons/IconContained.js +51 -0
  187. package/lib/module/components/icons/IconContained.js.map +1 -0
  188. package/lib/module/components/icons/index.js +1 -0
  189. package/lib/module/components/icons/index.js.map +1 -1
  190. package/lib/module/components/icons/svg/IconChange.js +23 -0
  191. package/lib/module/components/icons/svg/IconChange.js.map +1 -0
  192. package/lib/module/components/icons/svg/IconDialpad.js +21 -0
  193. package/lib/module/components/icons/svg/IconDialpad.js.map +1 -0
  194. package/lib/module/components/icons/svg/IconKey.js +23 -0
  195. package/lib/module/components/icons/svg/IconKey.js.map +1 -0
  196. package/lib/module/components/icons/svg/IconNotification.js +23 -0
  197. package/lib/module/components/icons/svg/IconNotification.js.map +1 -0
  198. package/lib/module/components/icons/svg/IconOption.js +23 -0
  199. package/lib/module/components/icons/svg/IconOption.js.map +1 -0
  200. package/lib/module/components/icons/svg/IconTransactions.js +1 -1
  201. package/lib/module/components/icons/svg/IconTransactions.js.map +1 -1
  202. package/lib/module/components/icons/svg/IconTransactionsBoxed.js +23 -0
  203. package/lib/module/components/icons/svg/IconTransactionsBoxed.js.map +1 -0
  204. package/lib/module/components/icons/svg/originals/IconChange.svg +3 -0
  205. package/lib/module/components/icons/svg/originals/IconDialpad.svg +5 -0
  206. package/lib/module/components/icons/svg/originals/IconKey.svg +7 -0
  207. package/lib/module/components/icons/svg/originals/IconNotification.svg +7 -0
  208. package/lib/module/components/icons/svg/originals/IconOption.svg +7 -0
  209. package/lib/module/components/icons/svg/originals/IconTransactions.svg +8 -0
  210. package/lib/module/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
  211. package/lib/module/components/index.js +1 -0
  212. package/lib/module/components/index.js.map +1 -1
  213. package/lib/module/components/listitems/ListItemAction.js +40 -10
  214. package/lib/module/components/listitems/ListItemAction.js.map +1 -1
  215. package/lib/module/components/listitems/ListItemInfo.js +34 -10
  216. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  217. package/lib/module/components/listitems/ListItemInfoCopy.js +43 -13
  218. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  219. package/lib/module/components/listitems/ListItemNav.js +34 -10
  220. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  221. package/lib/module/components/listitems/ListItemNavAlert.js +35 -10
  222. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  223. package/lib/module/components/listitems/ListItemSwitch.js +2 -2
  224. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  225. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
  226. package/lib/module/components/listitems/__test__/listitem.test.js +1 -1
  227. package/lib/module/components/listitems/__test__/listitem.test.js.map +1 -1
  228. package/lib/module/components/listitems/index.js +1 -1
  229. package/lib/module/components/listitems/index.js.map +1 -1
  230. package/lib/module/components/{listitems/ListItemIDP.js → modules/ModuleIDP.js} +18 -11
  231. package/lib/module/components/modules/ModuleIDP.js.map +1 -0
  232. package/lib/module/components/modules/index.js +2 -0
  233. package/lib/module/components/modules/index.js.map +1 -0
  234. package/lib/module/components/pictograms/Pictogram.js +13 -1
  235. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  236. package/lib/module/components/pictograms/svg/PictogramBleedCie.js +39 -0
  237. package/lib/module/components/pictograms/svg/PictogramBleedCie.js.map +1 -0
  238. package/lib/module/components/pictograms/svg/PictogramBleedFeature.js +42 -0
  239. package/lib/module/components/pictograms/svg/PictogramBleedFeature.js.map +1 -0
  240. package/lib/module/components/pictograms/svg/PictogramBleedSecurity.js +36 -0
  241. package/lib/module/components/pictograms/svg/PictogramBleedSecurity.js.map +1 -0
  242. package/lib/module/components/pictograms/svg/PictogramCie.js +39 -0
  243. package/lib/module/components/pictograms/svg/PictogramCie.js.map +1 -0
  244. package/lib/module/components/pictograms/svg/PictogramFeature.js +42 -0
  245. package/lib/module/components/pictograms/svg/PictogramFeature.js.map +1 -0
  246. package/lib/module/components/pictograms/svg/PictogramSecurity.js +39 -0
  247. package/lib/module/components/pictograms/svg/PictogramSecurity.js.map +1 -0
  248. package/lib/module/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
  249. package/lib/module/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
  250. package/lib/module/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
  251. package/lib/module/components/pictograms/svg/originals/PictogramCie.svg +30 -0
  252. package/lib/module/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
  253. package/lib/module/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
  254. package/lib/module/components/radio/AnimatedRadio.js +15 -3
  255. package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
  256. package/lib/module/components/switch/NativeSwitch.js +20 -6
  257. package/lib/module/components/switch/NativeSwitch.js.map +1 -1
  258. package/lib/module/components/switch/SwitchLabel.js +32 -9
  259. package/lib/module/components/switch/SwitchLabel.js.map +1 -1
  260. package/lib/module/components/tag/Tag.js +12 -4
  261. package/lib/module/components/tag/Tag.js.map +1 -1
  262. package/lib/module/components/textInput/TextInputBase.js +12 -3
  263. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  264. package/lib/module/components/typography/Body.js +1 -4
  265. package/lib/module/components/typography/Body.js.map +1 -1
  266. package/lib/module/components/typography/BodyMonospace.js +21 -0
  267. package/lib/module/components/typography/BodyMonospace.js.map +1 -0
  268. package/lib/module/components/typography/ButtonText.js +31 -0
  269. package/lib/module/components/typography/ButtonText.js.map +1 -0
  270. package/lib/module/components/typography/Caption.js +29 -0
  271. package/lib/module/components/typography/Caption.js.map +1 -0
  272. package/lib/module/components/typography/Chip.js +27 -0
  273. package/lib/module/components/typography/Chip.js.map +1 -0
  274. package/lib/module/components/typography/H1.js +17 -12
  275. package/lib/module/components/typography/H1.js.map +1 -1
  276. package/lib/module/components/typography/H2.js +17 -12
  277. package/lib/module/components/typography/H2.js.map +1 -1
  278. package/lib/module/components/typography/H3.js +24 -18
  279. package/lib/module/components/typography/H3.js.map +1 -1
  280. package/lib/module/components/typography/H4.js +17 -13
  281. package/lib/module/components/typography/H4.js.map +1 -1
  282. package/lib/module/components/typography/H5.js +17 -31
  283. package/lib/module/components/typography/H5.js.map +1 -1
  284. package/lib/module/components/typography/H6.js +15 -11
  285. package/lib/module/components/typography/H6.js.map +1 -1
  286. package/lib/module/components/typography/Hero.js +29 -0
  287. package/lib/module/components/typography/Hero.js.map +1 -0
  288. package/lib/module/components/typography/Label.js +13 -10
  289. package/lib/module/components/typography/Label.js.map +1 -1
  290. package/lib/module/components/typography/LabelHeader.js +20 -17
  291. package/lib/module/components/typography/LabelHeader.js.map +1 -1
  292. package/lib/module/components/typography/{Link.js → LabelLink.js} +6 -11
  293. package/lib/module/components/typography/LabelLink.js.map +1 -0
  294. package/lib/module/components/typography/LabelSmall.js +18 -22
  295. package/lib/module/components/typography/LabelSmall.js.map +1 -1
  296. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
  297. package/lib/module/components/typography/__test__/typography.test.js +10 -42
  298. package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
  299. package/lib/module/components/typography/common.js +15 -0
  300. package/lib/module/components/typography/common.js.map +1 -1
  301. package/lib/module/components/typography/index.js +6 -3
  302. package/lib/module/components/typography/index.js.map +1 -1
  303. package/lib/module/core/IODSExperimentalContextProvider.js +3 -2
  304. package/lib/module/core/IODSExperimentalContextProvider.js.map +1 -1
  305. package/lib/module/core/IOShapes.js +1 -1
  306. package/lib/module/core/IOShapes.js.map +1 -1
  307. package/lib/module/core/IOSpacing.js +4 -4
  308. package/lib/module/core/IOSpacing.js.map +1 -1
  309. package/lib/module/core/IOStyles.js +2 -8
  310. package/lib/module/core/IOStyles.js.map +1 -1
  311. package/lib/module/stories/Link.stories.js +2 -2
  312. package/lib/module/stories/Link.stories.js.map +1 -1
  313. package/lib/module/stories/Monospace.stories.js +2 -2
  314. package/lib/module/stories/Monospace.stories.js.map +1 -1
  315. package/lib/module/utils/fonts.js +8 -6
  316. package/lib/module/utils/fonts.js.map +1 -1
  317. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  318. package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
  319. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  320. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  321. package/lib/typescript/components/buttons/ButtonOutline.d.ts +2 -3
  322. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  323. package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
  324. package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
  325. package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
  326. package/lib/typescript/components/checkbox/AnimatedMessageCheckbox.d.ts.map +1 -1
  327. package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
  328. package/lib/typescript/components/icons/Icon.d.ts +7 -1
  329. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  330. package/lib/typescript/components/icons/IconContained.d.ts +10 -0
  331. package/lib/typescript/components/icons/IconContained.d.ts.map +1 -0
  332. package/lib/typescript/components/icons/index.d.ts +1 -0
  333. package/lib/typescript/components/icons/index.d.ts.map +1 -1
  334. package/lib/typescript/components/icons/svg/IconChange.d.ts +5 -0
  335. package/lib/typescript/components/icons/svg/IconChange.d.ts.map +1 -0
  336. package/lib/typescript/components/icons/svg/IconDialpad.d.ts +5 -0
  337. package/lib/typescript/components/icons/svg/IconDialpad.d.ts.map +1 -0
  338. package/lib/typescript/components/icons/svg/IconKey.d.ts +5 -0
  339. package/lib/typescript/components/icons/svg/IconKey.d.ts.map +1 -0
  340. package/lib/typescript/components/icons/svg/IconNotification.d.ts +5 -0
  341. package/lib/typescript/components/icons/svg/IconNotification.d.ts.map +1 -0
  342. package/lib/typescript/components/icons/svg/IconOption.d.ts +5 -0
  343. package/lib/typescript/components/icons/svg/IconOption.d.ts.map +1 -0
  344. package/lib/typescript/components/icons/svg/IconTransactionsBoxed.d.ts +5 -0
  345. package/lib/typescript/components/icons/svg/IconTransactionsBoxed.d.ts.map +1 -0
  346. package/lib/typescript/components/index.d.ts +1 -0
  347. package/lib/typescript/components/index.d.ts.map +1 -1
  348. package/lib/typescript/components/listitems/ListItemAction.d.ts.map +1 -1
  349. package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
  350. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
  351. package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
  352. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
  353. package/lib/typescript/components/listitems/ListItemSwitch.d.ts +1 -1
  354. package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
  355. package/lib/typescript/components/listitems/index.d.ts +1 -1
  356. package/lib/typescript/components/listitems/index.d.ts.map +1 -1
  357. package/lib/typescript/components/{listitems/ListItemIDP.d.ts → modules/ModuleIDP.d.ts} +4 -4
  358. package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -0
  359. package/lib/typescript/components/modules/index.d.ts +2 -0
  360. package/lib/typescript/components/modules/index.d.ts.map +1 -0
  361. package/lib/typescript/components/pictograms/Pictogram.d.ts +4 -1
  362. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  363. package/lib/typescript/components/pictograms/svg/PictogramBleedCie.d.ts +5 -0
  364. package/lib/typescript/components/pictograms/svg/PictogramBleedCie.d.ts.map +1 -0
  365. package/lib/typescript/components/pictograms/svg/PictogramBleedFeature.d.ts +5 -0
  366. package/lib/typescript/components/pictograms/svg/PictogramBleedFeature.d.ts.map +1 -0
  367. package/lib/typescript/components/pictograms/svg/PictogramBleedSecurity.d.ts +5 -0
  368. package/lib/typescript/components/pictograms/svg/PictogramBleedSecurity.d.ts.map +1 -0
  369. package/lib/typescript/components/pictograms/svg/PictogramCie.d.ts +5 -0
  370. package/lib/typescript/components/pictograms/svg/PictogramCie.d.ts.map +1 -0
  371. package/lib/typescript/components/pictograms/svg/PictogramFeature.d.ts +5 -0
  372. package/lib/typescript/components/pictograms/svg/PictogramFeature.d.ts.map +1 -0
  373. package/lib/typescript/components/pictograms/svg/PictogramSecurity.d.ts +5 -0
  374. package/lib/typescript/components/pictograms/svg/PictogramSecurity.d.ts.map +1 -0
  375. package/lib/typescript/components/radio/AnimatedRadio.d.ts.map +1 -1
  376. package/lib/typescript/components/switch/NativeSwitch.d.ts.map +1 -1
  377. package/lib/typescript/components/switch/SwitchLabel.d.ts.map +1 -1
  378. package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
  379. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  380. package/lib/typescript/components/typography/Body.d.ts +4 -7
  381. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  382. package/lib/typescript/components/typography/BodyMonospace.d.ts +13 -0
  383. package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -0
  384. package/lib/typescript/components/typography/ButtonText.d.ts +14 -0
  385. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -0
  386. package/lib/typescript/components/typography/Caption.d.ts +14 -0
  387. package/lib/typescript/components/typography/Caption.d.ts.map +1 -0
  388. package/lib/typescript/components/typography/Chip.d.ts +13 -0
  389. package/lib/typescript/components/typography/Chip.d.ts.map +1 -0
  390. package/lib/typescript/components/typography/H1.d.ts +9 -15
  391. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  392. package/lib/typescript/components/typography/H2.d.ts +9 -15
  393. package/lib/typescript/components/typography/H2.d.ts.map +1 -1
  394. package/lib/typescript/components/typography/H3.d.ts +7 -10
  395. package/lib/typescript/components/typography/H3.d.ts.map +1 -1
  396. package/lib/typescript/components/typography/H4.d.ts +8 -11
  397. package/lib/typescript/components/typography/H4.d.ts.map +1 -1
  398. package/lib/typescript/components/typography/H5.d.ts +9 -24
  399. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  400. package/lib/typescript/components/typography/H6.d.ts +7 -12
  401. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  402. package/lib/typescript/components/typography/Hero.d.ts +15 -0
  403. package/lib/typescript/components/typography/Hero.d.ts.map +1 -0
  404. package/lib/typescript/components/typography/Label.d.ts +8 -9
  405. package/lib/typescript/components/typography/Label.d.ts.map +1 -1
  406. package/lib/typescript/components/typography/LabelHeader.d.ts +4 -7
  407. package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -1
  408. package/lib/typescript/components/typography/LabelLink.d.ts +18 -0
  409. package/lib/typescript/components/typography/LabelLink.d.ts.map +1 -0
  410. package/lib/typescript/components/typography/LabelSmall.d.ts +4 -7
  411. package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
  412. package/lib/typescript/components/typography/common.d.ts +6 -0
  413. package/lib/typescript/components/typography/common.d.ts.map +1 -1
  414. package/lib/typescript/components/typography/index.d.ts +6 -3
  415. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  416. package/lib/typescript/core/IODSExperimentalContextProvider.d.ts +4 -1
  417. package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +1 -1
  418. package/lib/typescript/core/IOShapes.d.ts +1 -1
  419. package/lib/typescript/core/IOShapes.d.ts.map +1 -1
  420. package/lib/typescript/core/IOSpacing.d.ts +5 -5
  421. package/lib/typescript/core/IOSpacing.d.ts.map +1 -1
  422. package/lib/typescript/core/IOStyles.d.ts +1 -6
  423. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  424. package/lib/typescript/stories/H1.stories.d.ts +2 -2
  425. package/lib/typescript/stories/H2.stories.d.ts +2 -2
  426. package/lib/typescript/stories/H3.stories.d.ts +2 -2
  427. package/lib/typescript/stories/H4.stories.d.ts +2 -2
  428. package/lib/typescript/stories/H5.stories.d.ts +2 -10
  429. package/lib/typescript/stories/H5.stories.d.ts.map +1 -1
  430. package/lib/typescript/stories/H6.stories.d.ts +2 -2
  431. package/lib/typescript/stories/Label.stories.d.ts +4 -2
  432. package/lib/typescript/stories/Label.stories.d.ts.map +1 -1
  433. package/lib/typescript/stories/LabelSmall.stories.d.ts +2 -2
  434. package/lib/typescript/stories/Link.stories.d.ts +3 -3
  435. package/lib/typescript/stories/Link.stories.d.ts.map +1 -1
  436. package/lib/typescript/stories/Monospace.stories.d.ts +2 -2
  437. package/lib/typescript/stories/Monospace.stories.d.ts.map +1 -1
  438. package/lib/typescript/utils/fonts.d.ts +3 -3
  439. package/lib/typescript/utils/fonts.d.ts.map +1 -1
  440. package/package.json +1 -1
  441. package/src/components/alert/Alert.tsx +7 -1
  442. package/src/components/badge/Badge.tsx +30 -19
  443. package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
  444. package/src/components/banner/Banner.tsx +1 -3
  445. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
  446. package/src/components/buttons/ButtonExtendedOutline.tsx +2 -2
  447. package/src/components/buttons/ButtonLink.tsx +3 -2
  448. package/src/components/buttons/ButtonOutline.tsx +6 -53
  449. package/src/components/buttons/ButtonSolid.tsx +8 -17
  450. package/src/components/buttons/IconButtonSolid.tsx +43 -13
  451. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
  452. package/src/components/checkbox/AnimatedCheckbox.tsx +26 -5
  453. package/src/components/checkbox/AnimatedMessageCheckbox.tsx +20 -10
  454. package/src/components/checkbox/CheckboxLabel.tsx +33 -6
  455. package/src/components/icons/Icon.tsx +27 -15
  456. package/src/components/icons/IconContained.tsx +76 -0
  457. package/src/components/icons/index.tsx +1 -0
  458. package/src/components/icons/svg/IconChange.tsx +16 -0
  459. package/src/components/icons/svg/IconDialpad.tsx +14 -0
  460. package/src/components/icons/svg/IconKey.tsx +16 -0
  461. package/src/components/icons/svg/IconNotification.tsx +16 -0
  462. package/src/components/icons/svg/IconOption.tsx +16 -0
  463. package/src/components/icons/svg/IconTransactions.tsx +1 -1
  464. package/src/components/icons/svg/IconTransactionsBoxed.tsx +16 -0
  465. package/src/components/icons/svg/originals/IconChange.svg +3 -0
  466. package/src/components/icons/svg/originals/IconDialpad.svg +5 -0
  467. package/src/components/icons/svg/originals/IconKey.svg +7 -0
  468. package/src/components/icons/svg/originals/IconNotification.svg +7 -0
  469. package/src/components/icons/svg/originals/IconOption.svg +7 -0
  470. package/src/components/icons/svg/originals/IconTransactions.svg +8 -0
  471. package/src/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
  472. package/src/components/index.tsx +1 -0
  473. package/src/components/listitems/ListItemAction.tsx +53 -11
  474. package/src/components/listitems/ListItemInfo.tsx +55 -11
  475. package/src/components/listitems/ListItemInfoCopy.tsx +67 -18
  476. package/src/components/listitems/ListItemNav.tsx +60 -12
  477. package/src/components/listitems/ListItemNavAlert.tsx +50 -9
  478. package/src/components/listitems/ListItemSwitch.tsx +4 -4
  479. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
  480. package/src/components/listitems/__test__/listitem.test.tsx +1 -1
  481. package/src/components/listitems/index.tsx +1 -1
  482. package/src/components/{listitems/ListItemIDP.tsx → modules/ModuleIDP.tsx} +29 -16
  483. package/src/components/modules/index.tsx +1 -0
  484. package/src/components/pictograms/Pictogram.tsx +14 -2
  485. package/src/components/pictograms/svg/PictogramBleedCie.tsx +38 -0
  486. package/src/components/pictograms/svg/PictogramBleedFeature.tsx +46 -0
  487. package/src/components/pictograms/svg/PictogramBleedSecurity.tsx +38 -0
  488. package/src/components/pictograms/svg/PictogramCie.tsx +38 -0
  489. package/src/components/pictograms/svg/PictogramFeature.tsx +42 -0
  490. package/src/components/pictograms/svg/PictogramSecurity.tsx +38 -0
  491. package/src/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
  492. package/src/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
  493. package/src/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
  494. package/src/components/pictograms/svg/originals/PictogramCie.svg +30 -0
  495. package/src/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
  496. package/src/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
  497. package/src/components/radio/AnimatedRadio.tsx +26 -5
  498. package/src/components/switch/NativeSwitch.tsx +35 -13
  499. package/src/components/switch/SwitchLabel.tsx +33 -6
  500. package/src/components/tag/Tag.tsx +39 -24
  501. package/src/components/textInput/TextInputBase.tsx +20 -3
  502. package/src/components/typography/Body.tsx +3 -7
  503. package/src/components/typography/BodyMonospace.tsx +29 -0
  504. package/src/components/typography/ButtonText.tsx +45 -0
  505. package/src/components/typography/Caption.tsx +37 -0
  506. package/src/components/typography/Chip.tsx +33 -0
  507. package/src/components/typography/H1.tsx +20 -29
  508. package/src/components/typography/H2.tsx +20 -29
  509. package/src/components/typography/H3.tsx +21 -20
  510. package/src/components/typography/H4.tsx +19 -20
  511. package/src/components/typography/H5.tsx +22 -54
  512. package/src/components/typography/H6.tsx +17 -15
  513. package/src/components/typography/Hero.tsx +34 -0
  514. package/src/components/typography/Label.tsx +23 -21
  515. package/src/components/typography/LabelHeader.tsx +12 -12
  516. package/src/components/typography/{Link.tsx → LabelLink.tsx} +15 -12
  517. package/src/components/typography/LabelSmall.tsx +13 -14
  518. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
  519. package/src/components/typography/__test__/typography.test.tsx +12 -50
  520. package/src/components/typography/common.tsx +16 -0
  521. package/src/components/typography/index.tsx +6 -3
  522. package/src/core/IODSExperimentalContextProvider.tsx +10 -3
  523. package/src/core/IOShapes.ts +1 -1
  524. package/src/core/IOSpacing.ts +6 -6
  525. package/src/core/IOStyles.ts +3 -8
  526. package/src/stories/Link.stories.ts +5 -5
  527. package/src/stories/Monospace.stories.ts +5 -5
  528. package/src/utils/fonts.ts +8 -6
  529. package/lib/commonjs/components/listitems/ListItemIDP.js.map +0 -1
  530. package/lib/commonjs/components/typography/CTA.js +0 -34
  531. package/lib/commonjs/components/typography/CTA.js.map +0 -1
  532. package/lib/commonjs/components/typography/Link.js.map +0 -1
  533. package/lib/commonjs/components/typography/Monospace.js +0 -30
  534. package/lib/commonjs/components/typography/Monospace.js.map +0 -1
  535. package/lib/module/components/listitems/ListItemIDP.js.map +0 -1
  536. package/lib/module/components/typography/CTA.js +0 -27
  537. package/lib/module/components/typography/CTA.js.map +0 -1
  538. package/lib/module/components/typography/Link.js.map +0 -1
  539. package/lib/module/components/typography/Monospace.js +0 -23
  540. package/lib/module/components/typography/Monospace.js.map +0 -1
  541. package/lib/typescript/components/listitems/ListItemIDP.d.ts.map +0 -1
  542. package/lib/typescript/components/typography/CTA.d.ts +0 -16
  543. package/lib/typescript/components/typography/CTA.d.ts.map +0 -1
  544. package/lib/typescript/components/typography/Link.d.ts +0 -22
  545. package/lib/typescript/components/typography/Link.d.ts.map +0 -1
  546. package/lib/typescript/components/typography/Monospace.d.ts +0 -16
  547. package/lib/typescript/components/typography/Monospace.d.ts.map +0 -1
  548. package/src/components/typography/CTA.tsx +0 -35
  549. package/src/components/typography/Monospace.tsx +0 -34
@@ -14,7 +14,8 @@ import {
14
14
  IOButtonStyles,
15
15
  IOIconButtonStyles,
16
16
  IOScaleValues,
17
- IOSpringValues
17
+ IOSpringValues,
18
+ useIOExperimentalDesign
18
19
  } from "../../core";
19
20
  import { IOColors, hexToRgba } from "../../core/IOColors";
20
21
  import { WithTestID } from "../../utils/types";
@@ -70,6 +71,36 @@ const mapColorStates: Record<
70
71
  }
71
72
  };
72
73
 
74
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
75
+ const mapLegacyColorStates: Record<
76
+ NonNullable<IconButtonSolid["color"]>,
77
+ ColorStates
78
+ > = {
79
+ // Primary button
80
+ primary: {
81
+ background: {
82
+ default: IOColors.blue,
83
+ pressed: IOColors["blue-600"],
84
+ disabled: IOColors["grey-100"]
85
+ },
86
+ icon: {
87
+ default: IOColors.white,
88
+ disabled: IOColors["grey-450"]
89
+ }
90
+ },
91
+ contrast: {
92
+ background: {
93
+ default: IOColors.white,
94
+ pressed: IOColors["blue-50"],
95
+ disabled: hexToRgba(IOColors.white, 0.25)
96
+ },
97
+ icon: {
98
+ default: IOColors.blue,
99
+ disabled: IOColors.blue
100
+ }
101
+ }
102
+ };
103
+
73
104
  export const IconButtonSolid = ({
74
105
  icon,
75
106
  color = "primary",
@@ -80,7 +111,7 @@ export const IconButtonSolid = ({
80
111
  testID
81
112
  }: IconButtonSolid) => {
82
113
  const isPressed = useSharedValue(0);
83
-
114
+ const { isExperimental } = useIOExperimentalDesign();
84
115
  // Scaling transformation applied when the button is pressed
85
116
  const animationScaleValue = IOScaleValues?.exaggeratedButton?.pressedState;
86
117
 
@@ -89,15 +120,16 @@ export const IconButtonSolid = ({
89
120
  withSpring(isPressed.value, IOSpringValues.button)
90
121
  );
91
122
 
123
+ const colorMap = React.useMemo(
124
+ () => (isExperimental ? mapColorStates : mapLegacyColorStates),
125
+ [isExperimental]
126
+ );
92
127
  // Interpolate animation values from `isPressed` values
93
128
  const pressedAnimationStyle = useAnimatedStyle(() => {
94
129
  const backgroundColor = interpolateColor(
95
130
  progressPressed.value,
96
131
  [0, 1],
97
- [
98
- mapColorStates[color].background.default,
99
- mapColorStates[color].background.pressed
100
- ]
132
+ [colorMap[color].background.default, colorMap[color].background.pressed]
101
133
  );
102
134
 
103
135
  // Scale down button slightly when pressed
@@ -123,7 +155,7 @@ export const IconButtonSolid = ({
123
155
  isPressed.value = 0;
124
156
  }, [isPressed]);
125
157
 
126
- const NewButton = () => (
158
+ return (
127
159
  <Pressable
128
160
  accessibilityLabel={accessibilityLabel}
129
161
  accessibilityHint={accessibilityHint}
@@ -143,10 +175,10 @@ export const IconButtonSolid = ({
143
175
  !disabled && pressedAnimationStyle,
144
176
  disabled
145
177
  ? {
146
- backgroundColor: mapColorStates[color]?.background?.disabled
178
+ backgroundColor: colorMap[color]?.background?.disabled
147
179
  }
148
180
  : {
149
- backgroundColor: mapColorStates[color]?.background?.default
181
+ backgroundColor: colorMap[color]?.background?.default
150
182
  }
151
183
  ]}
152
184
  >
@@ -154,15 +186,13 @@ export const IconButtonSolid = ({
154
186
  name={icon}
155
187
  color={
156
188
  !disabled
157
- ? mapColorStates[color]?.icon?.default
158
- : mapColorStates[color]?.icon?.disabled
189
+ ? colorMap[color]?.icon?.default
190
+ : colorMap[color]?.icon?.disabled
159
191
  }
160
192
  />
161
193
  </Animated.View>
162
194
  </Pressable>
163
195
  );
164
-
165
- return <NewButton />;
166
196
  };
167
197
 
168
198
  export default IconButtonSolid;
@@ -69,29 +69,29 @@ exports[`Test Buttons Components ButtonExtendedOutline Snapshot 1`] = `
69
69
  <Text
70
70
  color="black"
71
71
  defaultColor="black"
72
- defaultWeight="Regular"
73
- font="ReadexPro"
72
+ defaultWeight="SemiBold"
73
+ font="TitilliumWeb"
74
74
  fontStyle={
75
75
  {
76
- "fontSize": 20,
76
+ "fontSize": 16,
77
77
  "lineHeight": 24,
78
78
  }
79
79
  }
80
80
  style={
81
81
  [
82
82
  {
83
- "fontSize": 20,
83
+ "fontSize": 16,
84
84
  "lineHeight": 24,
85
85
  },
86
86
  {
87
87
  "color": "#0E0F13",
88
- "fontFamily": "Readex Pro",
88
+ "fontFamily": "Titillium Web",
89
89
  "fontStyle": "normal",
90
- "fontWeight": "400",
90
+ "fontWeight": "600",
91
91
  },
92
92
  ]
93
93
  }
94
- weight="Regular"
94
+ weight="SemiBold"
95
95
  >
96
96
  label
97
97
  </Text>
@@ -311,10 +311,10 @@ exports[`Test Buttons Components ButtonOutline Snapshot 1`] = `
311
311
  {
312
312
  "borderWidth": 1,
313
313
  },
314
- false,
315
314
  {
316
315
  "height": 40,
317
316
  },
317
+ false,
318
318
  {
319
319
  "backgroundColor": "rgba(0,115,230,0)",
320
320
  "borderColor": "#0073E6",
@@ -344,9 +344,6 @@ exports[`Test Buttons Components ButtonOutline Snapshot 1`] = `
344
344
  {
345
345
  "alignSelf": "center",
346
346
  },
347
- {
348
- "fontSize": 16,
349
- },
350
347
  {
351
348
  "color": "#0073E6",
352
349
  },
@@ -433,19 +430,24 @@ exports[`Test Buttons Components ButtonSolid Snapshot 1`] = `
433
430
  >
434
431
  <Text
435
432
  color="white"
433
+ defaultColor="white"
434
+ defaultWeight="Bold"
436
435
  ellipsizeMode="tail"
436
+ font="TitilliumWeb"
437
+ fontStyle={
438
+ {
439
+ "fontSize": 16,
440
+ }
441
+ }
437
442
  numberOfLines={1}
438
443
  style={
439
444
  [
440
- [
441
- {
442
- "alignSelf": "center",
443
- },
444
- {
445
- "fontSize": 16,
446
- },
447
- ],
448
- undefined,
445
+ {
446
+ "alignSelf": "center",
447
+ },
448
+ {
449
+ "fontSize": 16,
450
+ },
449
451
  {
450
452
  "color": "#FFFFFF",
451
453
  "fontFamily": "Titillium Web",
@@ -764,7 +766,7 @@ exports[`Test Buttons Components IconButtonSolid Snapshot 1`] = `
764
766
  ],
765
767
  },
766
768
  {
767
- "backgroundColor": "#0B3EE3",
769
+ "backgroundColor": "#0073E6",
768
770
  },
769
771
  ]
770
772
  }
@@ -8,9 +8,13 @@ import Animated, {
8
8
  withSpring,
9
9
  withTiming
10
10
  } from "react-native-reanimated";
11
+ import { useIOExperimentalDesign } from "../../core";
11
12
  import { IOSpringValues } from "../../core/IOAnimations";
12
13
  import { IOColors } from "../../core/IOColors";
13
- import { IOSelectionTickVisualParams } from "../../core/IOStyles";
14
+ import {
15
+ IOSelectionTickLegacyVisualParams,
16
+ IOSelectionTickVisualParams
17
+ } from "../../core/IOStyles";
14
18
  import { AnimatedTick } from "../common/AnimatedTick";
15
19
 
16
20
  type Props = {
@@ -52,6 +56,25 @@ const styles = StyleSheet.create({
52
56
  export const AnimatedCheckbox = ({ checked, onPress, disabled }: OwnProps) => {
53
57
  const isChecked = checked ?? false;
54
58
 
59
+ const { isExperimental } = useIOExperimentalDesign();
60
+ const borderColorOffState =
61
+ IOColors[IOSelectionTickVisualParams.borderColorOffState];
62
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
63
+ const legacyBorderColorOffState =
64
+ IOColors[IOSelectionTickLegacyVisualParams.borderColorOffState];
65
+ const borderColorProp = isExperimental
66
+ ? borderColorOffState
67
+ : legacyBorderColorOffState;
68
+
69
+ const backgroundColorOnState =
70
+ IOColors[IOSelectionTickVisualParams.bgColorOnState];
71
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
72
+ const legacyBackgroundColorOnState =
73
+ IOColors[IOSelectionTickLegacyVisualParams.bgColorOnState];
74
+ const backgroundColorProp = isExperimental
75
+ ? backgroundColorOnState
76
+ : legacyBackgroundColorOnState;
77
+
55
78
  const squareAnimationProgress = useSharedValue(checked ? 1 : 0);
56
79
  const tickAnimationProgress = useSharedValue(checked ? 1 : 0);
57
80
 
@@ -89,8 +112,7 @@ export const AnimatedCheckbox = ({ checked, onPress, disabled }: OwnProps) => {
89
112
  style={[
90
113
  styles.checkboxBorder,
91
114
  {
92
- borderColor:
93
- IOColors[IOSelectionTickVisualParams.borderColorOffState]
115
+ borderColor: borderColorProp
94
116
  }
95
117
  ]}
96
118
  />
@@ -98,8 +120,7 @@ export const AnimatedCheckbox = ({ checked, onPress, disabled }: OwnProps) => {
98
120
  style={[
99
121
  styles.checkBoxSquare,
100
122
  {
101
- backgroundColor:
102
- IOColors[IOSelectionTickVisualParams.bgColorOnState]
123
+ backgroundColor: backgroundColorProp
103
124
  },
104
125
  animatedCheckboxSquare
105
126
  ]}
@@ -1,21 +1,23 @@
1
1
  import React, { useEffect } from "react";
2
- import { StyleSheet, Pressable, PressableProps } from "react-native";
2
+ import { Pressable, PressableProps, StyleSheet } from "react-native";
3
3
  import Animated, {
4
- useSharedValue,
5
- useAnimatedStyle,
4
+ Easing,
6
5
  interpolate,
6
+ useAnimatedStyle,
7
+ useSharedValue,
7
8
  withSpring,
8
- withTiming,
9
- Easing
9
+ withTiming
10
10
  } from "react-native-reanimated";
11
- import { IOColors } from "../../core/IOColors";
11
+ import { useIOExperimentalDesign } from "../../core";
12
12
  import { IOSpringValues } from "../../core/IOAnimations";
13
- import { AnimatedTick } from "../common/AnimatedTick";
13
+ import { IOColors } from "../../core/IOColors";
14
+ import { IOSpacingScale } from "../../core/IOSpacing";
14
15
  import {
16
+ IOSelectionTickLegacyVisualParams,
15
17
  IOSelectionTickVisualParams,
16
18
  IOVisualCostants
17
19
  } from "../../core/IOStyles";
18
- import { IOSpacingScale } from "../../core/IOSpacing";
20
+ import { AnimatedTick } from "../common/AnimatedTick";
19
21
 
20
22
  type Props = {
21
23
  checked?: boolean;
@@ -50,9 +52,18 @@ export const AnimatedMessageCheckbox = ({
50
52
  onPress
51
53
  }: AnimatedMessageCheckbox) => {
52
54
  const isChecked = checked ?? true;
55
+ const { isExperimental } = useIOExperimentalDesign();
53
56
 
54
57
  const circleAnimationProgress = useSharedValue(checked ? 1 : 0);
55
58
  const tickAnimationProgress = useSharedValue(checked ? 1 : 0);
59
+ const backgroundColorOnState =
60
+ IOColors[IOSelectionTickVisualParams.bgColorOnState];
61
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
62
+ const legacyBackgroundColorOnState =
63
+ IOColors[IOSelectionTickLegacyVisualParams.bgColorOnState];
64
+ const backgroundColorProp = isExperimental
65
+ ? backgroundColorOnState
66
+ : legacyBackgroundColorOnState;
56
67
 
57
68
  useEffect(() => {
58
69
  // eslint-disable-next-line functional/immutable-data
@@ -87,8 +98,7 @@ export const AnimatedMessageCheckbox = ({
87
98
  style={[
88
99
  styles.checkBoxCircle,
89
100
  {
90
- backgroundColor:
91
- IOColors[IOSelectionTickVisualParams.bgColorOnState]
101
+ backgroundColor: backgroundColorProp
92
102
  },
93
103
  animatedCheckboxCircle
94
104
  ]}
@@ -1,10 +1,12 @@
1
1
  import * as React from "react";
2
2
  import { useState } from "react";
3
- import { Pressable, View } from "react-native";
4
- import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
5
- import { H6 } from "../typography/H6";
3
+ import { Pressable, StyleSheet, Text, View } from "react-native";
4
+ import { IOColors, useIOExperimentalDesign } from "../../core";
6
5
  import { IOStyles } from "../../core/IOStyles";
6
+ import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
7
+ import { makeFontStyleObject } from "../../utils/fonts";
7
8
  import { HSpacer } from "../spacer/Spacer";
9
+ import { H6 } from "../typography/H6";
8
10
  import { AnimatedCheckbox } from "./AnimatedCheckbox";
9
11
 
10
12
  type Props = {
@@ -21,6 +23,17 @@ type OwnProps = Props &
21
23
  Pick<React.ComponentProps<typeof AnimatedCheckbox>, "disabled" | "checked"> &
22
24
  Pick<React.ComponentProps<typeof Pressable>, "onPress">;
23
25
 
26
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
27
+ const styles = StyleSheet.create({
28
+ legacyTextValue: {
29
+ fontSize: 16,
30
+ lineHeight: 24,
31
+ color: IOColors.bluegreyDark,
32
+ flexShrink: 1,
33
+ ...makeFontStyleObject("SemiBold", undefined, "TitilliumWeb")
34
+ }
35
+ });
36
+
24
37
  /**
25
38
  * A checkbox with the automatic state management that uses a {@link AnimatedCheckBox}
26
39
  * The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
@@ -36,6 +49,22 @@ export const CheckboxLabel = ({
36
49
  }: OwnProps) => {
37
50
  const [toggleValue, setToggleValue] = useState(checked ?? false);
38
51
 
52
+ const { isExperimental } = useIOExperimentalDesign();
53
+ const checkboxLabelText = (
54
+ <H6 style={{ flexShrink: 1 }} color={"black"}>
55
+ {label}
56
+ </H6>
57
+ );
58
+
59
+ // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
60
+ const legacyCheckboxlabelText = (
61
+ <Text style={styles.legacyTextValue}>{label}</Text>
62
+ );
63
+
64
+ const checkboxLabelTextComponent = isExperimental
65
+ ? checkboxLabelText
66
+ : legacyCheckboxlabelText;
67
+
39
68
  const toggleCheckbox = () => {
40
69
  triggerHaptic("impactLight");
41
70
  setToggleValue(!toggleValue);
@@ -67,9 +96,7 @@ export const CheckboxLabel = ({
67
96
  <AnimatedCheckbox checked={checked ?? toggleValue} />
68
97
  </View>
69
98
  <HSpacer size={8} />
70
- <H6 color={"black"} style={{ flexShrink: 1 }}>
71
- {label}
72
- </H6>
99
+ {checkboxLabelTextComponent}
73
100
  </View>
74
101
  </Pressable>
75
102
  );
@@ -139,10 +139,16 @@ import IconSystemSettingsAndroid from "./svg/IconSystemSettingsAndroid";
139
139
  import IconSystemSettingsiOS from "./svg/IconSystemSettingsiOS";
140
140
  import IconSystemToggleInstructions from "./svg/IconSystemToggleInstructions";
141
141
  import IconTag from "./svg/IconTag";
142
+ import IconTransactionsBoxed from "./svg/IconTransactionsBoxed";
142
143
  import IconTransactions from "./svg/IconTransactions";
143
144
  import IconTrashcan from "./svg/IconTrashcan";
144
145
  import IconWarningFilled from "./svg/IconWarningFilled";
145
146
  import IconWebsite from "./svg/IconWebsite";
147
+ import IconOption from "./svg/IconOption";
148
+ import IconKey from "./svg/IconKey";
149
+ import IconNotification from "./svg/IconNotification";
150
+ import IconChange from "./svg/IconChange";
151
+ import IconDialpad from "./svg/IconDialpad";
146
152
  import LegIconCheckOff from "./svg/LegIconCheckOff";
147
153
  import LegIconCheckOn from "./svg/LegIconCheckOn";
148
154
  import LegIconRadioOff from "./svg/LegIconRadioOff";
@@ -161,10 +167,11 @@ export const IOIcons = {
161
167
  copy: IconCopy,
162
168
  selfCert: IconSelfCertification,
163
169
  institution: IconInstitution,
170
+ merchant: IconMerchant,
164
171
  hourglass: IconHourglass,
165
172
  shareiOs: IconShareiOs,
166
173
  shareAndroid: IconShareAndroid,
167
- locked: IconLockOn /* io-lucchetto */,
174
+ locked: IconLockOn,
168
175
  unlocked: IconLockOff,
169
176
  initiatives: IconInitiatives,
170
177
  analytics: IconAnalytics,
@@ -175,8 +182,8 @@ export const IOIcons = {
175
182
  pinOn: IconPinOn,
176
183
  emojiSad: IconEmojiSad,
177
184
  emojiHappy: IconEmojiHappy,
178
- phone: IconPhone /* io-phone */,
179
- email: IconEmail /* io-envelope */,
185
+ phone: IconPhone,
186
+ email: IconEmail,
180
187
  emailFill: IconEmailFill,
181
188
  pec: IconPEC,
182
189
  messageLegal: IconMessageLegal,
@@ -186,6 +193,8 @@ export const IOIcons = {
186
193
  docSign: IconDocumentSign,
187
194
  docAgree: IconAgreement,
188
195
  security: IconSecurity,
196
+ option: IconOption,
197
+ key: IconKey,
189
198
  docGiacenza: IconGiacenza,
190
199
  docAttach: IconDocumentAttachment,
191
200
  docAttachPDF: IconDocumentAttachmentPDF,
@@ -194,8 +203,9 @@ export const IOIcons = {
194
203
  success: IconSuccess,
195
204
  ok: IconOk,
196
205
  fiscalCodeIndividual: IconFiscalCodeIndividual,
197
- creditCard: IconCreditCard /* io-carta */,
206
+ creditCard: IconCreditCard,
198
207
  bonus: IconBonus,
208
+ transactionsBoxed: IconTransactionsBoxed,
199
209
  transactions: IconTransactions,
200
210
  amount: IconAmount,
201
211
  psp: IconPSP,
@@ -204,7 +214,7 @@ export const IOIcons = {
204
214
  locationAndroid: IconLocationAndroid,
205
215
  coggle: IconCoggle,
206
216
  warningFilled: IconWarningFilled,
207
- notice: IconNotice /* io-warning */,
217
+ notice: IconNotice,
208
218
  noticeFilled: IconNoticeFilled,
209
219
  info: IconInfo,
210
220
  infoFilled: IconInfoFilled,
@@ -217,16 +227,18 @@ export const IOIcons = {
217
227
  edit: IconEdit,
218
228
  battery: IconBattery,
219
229
  trashcan: IconTrashcan,
220
- calendar: IconCalendar /* io-calendar */ /* io-calendario */,
230
+ calendar: IconCalendar,
221
231
  profile: IconProfile,
222
232
  profileFilled: IconProfileFilled,
223
- profileAlt: IconProfileAlt /* io-titolare */,
233
+ profileAlt: IconProfileAlt,
224
234
  lightbulb: IconLightbulb,
225
235
  magicWand: IconMagicWand,
226
236
  starFilled: IconStarFilled,
227
237
  starEmpty: IconStarEmpty,
228
238
  switchOff: IconSwitchOff,
229
239
  device: IconDevice,
240
+ notification: IconNotification,
241
+ dialpad: IconDialpad,
230
242
  dotMenu: IconDotMenu,
231
243
  barcode: IconBarcode,
232
244
  save: IconSave,
@@ -238,24 +250,25 @@ export const IOIcons = {
238
250
  externalLink: IconExternalLink,
239
251
  cancel: IconCancel,
240
252
  help: IconQuestion,
241
- search: IconSearch /* io-search */,
253
+ search: IconSearch,
242
254
  chevronRight: IconChevronRight,
243
255
  chevronLeft: IconChevronLeft,
244
256
  chevronBottom: IconChevronBottom,
245
257
  chevronTop: IconChevronTop,
246
258
  chevronRightListItem: IconChevronRightListItem,
247
- closeLarge: IconCloseLarge /* io-close */,
259
+ closeLarge: IconCloseLarge,
248
260
  closeMedium: IconCloseMedium,
249
261
  closeSmall: IconCloseSmall,
250
262
  arrowBottom: IconArrowBottom,
251
263
  arrowLeft: IconArrowLeft,
252
264
  arrowTop: IconArrowTop,
253
265
  arrowRight: IconArrowRight,
266
+ change: IconChange,
254
267
  backiOS: IconBackiOS,
255
268
  backAndroid: IconBackAndroid,
256
- navMessages: IconNavMessages /* io-messaggi */,
269
+ navMessages: IconNavMessages,
257
270
  navMessagesFocused: IconNavMessagesFocused,
258
- navWallet: IconNavWallet /* io-portafoglio */,
271
+ navWallet: IconNavWallet,
259
272
  navWalletFocused: IconNavWalletFocused,
260
273
  navScan: IconNavScan,
261
274
  navServices: IconNavServices,
@@ -267,8 +280,8 @@ export const IOIcons = {
267
280
  legRadioOff: LegIconRadioOff,
268
281
  legCheckOn: LegIconCheckOn,
269
282
  legCheckOff: LegIconCheckOff,
270
- biomFingerprint: IconBiomFingerprint /* io-fingerprint */,
271
- biomFaceID: IconBiomFaceID /* io-face-id */,
283
+ biomFingerprint: IconBiomFingerprint,
284
+ biomFaceID: IconBiomFaceID,
272
285
  categCulture: IconCategCulture,
273
286
  categWellness: IconCategWellness,
274
287
  categLearning: IconCategLearning,
@@ -282,11 +295,10 @@ export const IOIcons = {
282
295
  categShopping: IconCategShopping,
283
296
  categSustainability: IconCategSustainability,
284
297
  productIOApp: IconProductIOApp,
285
- productPagoPA: IconProductPagoPA /* io-pagopa */,
298
+ productPagoPA: IconProductPagoPA,
286
299
  productIOAppBlueBg: IconProductIOAppBlueBg,
287
300
  checkTick: IconCheckTick,
288
301
  checkTickBig: IconCheckTickBig,
289
- merchant: IconMerchant,
290
302
  light: IconLight,
291
303
  lightFilled: IconLightFilled,
292
304
  systemSettingsAndroid: IconSystemSettingsAndroid,
@@ -0,0 +1,76 @@
1
+ import * as React from "react";
2
+ import { useMemo } from "react";
3
+ import { StyleSheet, View } from "react-native";
4
+ import { IOVisualCostants, IOColors } from "../../core";
5
+ import { IOIcons, Icon } from ".";
6
+
7
+ type IconContained = {
8
+ variant: "tonal";
9
+ color: "neutral";
10
+ icon: IOIcons;
11
+ };
12
+
13
+ type IconContainedVisualAttrs = {
14
+ background: IOColors;
15
+ foreground: IOColors;
16
+ };
17
+
18
+ type IconContainedColorVariants = Record<
19
+ IconContained["color"],
20
+ IconContainedVisualAttrs
21
+ >;
22
+
23
+ const tonalColorMap: IconContainedColorVariants = {
24
+ neutral: {
25
+ background: "blueIO-50",
26
+ foreground: "grey-450"
27
+ }
28
+ };
29
+
30
+ const variantMap: Record<IconContained["variant"], IconContainedColorVariants> =
31
+ {
32
+ tonal: tonalColorMap
33
+ };
34
+
35
+ const IconContainedDefaultSize = IOVisualCostants.iconContainedSizeDefault;
36
+
37
+ const styles = StyleSheet.create({
38
+ iconContainedWrapper: {
39
+ overflow: "hidden",
40
+ display: "flex",
41
+ alignItems: "center",
42
+ justifyContent: "center",
43
+ width: IconContainedDefaultSize,
44
+ height: IconContainedDefaultSize,
45
+ borderRadius: IconContainedDefaultSize / 2
46
+ }
47
+ });
48
+
49
+ /*
50
+ `IconContained` is just a special wrapper for the `Icon` component.
51
+ It's also not an interactive component, unlike the `IconButton`.
52
+ When adding new styles, you should be aware of this context and be careful
53
+ not to add variants that look like interactive counterparts.
54
+ */
55
+ export const IconContained = ({ variant, color, icon }: IconContained) => {
56
+ const backgroundColor = useMemo(
57
+ () => variantMap[variant][color].background,
58
+ [variant, color]
59
+ );
60
+
61
+ const foregroundColor = useMemo(
62
+ () => variantMap[variant][color].foreground,
63
+ [variant, color]
64
+ );
65
+
66
+ return (
67
+ <View
68
+ style={[
69
+ styles.iconContainedWrapper,
70
+ { backgroundColor: IOColors[backgroundColor] }
71
+ ]}
72
+ >
73
+ <Icon name={icon} color={foregroundColor} />
74
+ </View>
75
+ );
76
+ };
@@ -1 +1,2 @@
1
1
  export * from "./Icon";
2
+ export * from "./IconContained";
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { Svg, Path } from "react-native-svg";
3
+ import { SVGIconProps } from "../Icon";
4
+
5
+ const IconChange = ({ size, style, ...props }: SVGIconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
7
+ <Path
8
+ fillRule="evenodd"
9
+ clipRule="evenodd"
10
+ d="M23.7071 16.2929C24.0976 16.6834 24.0976 17.3166 23.7071 17.7071C23.3166 18.0976 22.6834 18.0976 22.2929 17.7071L20 15.4142L20 17C20 20.866 16.866 24 13 24L5 24C4.44772 24 4 23.5523 4 23C4 22.4477 4.44772 22 5 22L13 22C15.7614 22 18 19.7614 18 17L18 15.4142L15.7071 17.7071C15.3166 18.0976 14.6834 18.0976 14.2929 17.7071C13.9024 17.3166 13.9024 16.6834 14.2929 16.2929L18.2929 12.2929C18.6834 11.9024 19.3166 11.9024 19.7071 12.2929L23.7071 16.2929ZM6 7C6 4.23858 8.23858 2 11 2L19 2C19.5523 2 20 1.55228 20 1C20 0.447716 19.5523 1.94416e-07 19 2.18557e-07L11 5.68248e-07C7.13401 7.37236e-07 4 3.13401 4 7L4 8.58579L1.70711 6.29289C1.31658 5.90237 0.683417 5.90237 0.292892 6.29289C-0.0976322 6.68342 -0.0976322 7.31658 0.292892 7.70711L4.29289 11.7071C4.68342 12.0976 5.31658 12.0976 5.70711 11.7071L9.70711 7.70711C10.0976 7.31658 10.0976 6.68342 9.70711 6.29289C9.31658 5.90237 8.68342 5.90237 8.29289 6.29289L6 8.58578L6 7Z"
11
+ fill="currentColor"
12
+ />
13
+ </Svg>
14
+ );
15
+
16
+ export default IconChange;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { Svg, Path } from "react-native-svg";
3
+ import { SVGIconProps } from "../Icon";
4
+
5
+ const IconDialpad = ({ size, style, ...props }: SVGIconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
7
+ <Path
8
+ fill="currentColor"
9
+ d="M12 19C10.9 19 10 19.9 10 21C10 22.1 10.9 23 12 23C13.1 23 14 22.1 14 21C14 19.9 13.1 19 12 19ZM6 1C4.9 1 4 1.9 4 3C4 4.1 4.9 5 6 5C7.1 5 8 4.1 8 3C8 1.9 7.1 1 6 1ZM6 7C4.9 7 4 7.9 4 9C4 10.1 4.9 11 6 11C7.1 11 8 10.1 8 9C8 7.9 7.1 7 6 7ZM6 13C4.9 13 4 13.9 4 15C4 16.1 4.9 17 6 17C7.1 17 8 16.1 8 15C8 13.9 7.1 13 6 13ZM18 5C19.1 5 20 4.1 20 3C20 1.9 19.1 1 18 1C16.9 1 16 1.9 16 3C16 4.1 16.9 5 18 5ZM12 13C10.9 13 10 13.9 10 15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15C14 13.9 13.1 13 12 13ZM18 13C16.9 13 16 13.9 16 15C16 16.1 16.9 17 18 17C19.1 17 20 16.1 20 15C20 13.9 19.1 13 18 13ZM18 7C16.9 7 16 7.9 16 9C16 10.1 16.9 11 18 11C19.1 11 20 10.1 20 9C20 7.9 19.1 7 18 7ZM12 7C10.9 7 10 7.9 10 9C10 10.1 10.9 11 12 11C13.1 11 14 10.1 14 9C14 7.9 13.1 7 12 7ZM12 1C10.9 1 10 1.9 10 3C10 4.1 10.9 5 12 5C13.1 5 14 4.1 14 3C14 1.9 13.1 1 12 1Z"
10
+ />
11
+ </Svg>
12
+ );
13
+
14
+ export default IconDialpad;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { Svg, Path } from "react-native-svg";
3
+ import { SVGIconProps } from "../Icon";
4
+
5
+ const IconKey = ({ size, style, ...props }: SVGIconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
7
+ <Path
8
+ fill="currentColor"
9
+ fillRule="evenodd"
10
+ clipRule="evenodd"
11
+ d="M16 12c0-1.6569 1.3431-3 3-3s3 1.3431 3 3-1.3431 3-3 3-3-1.3431-3-3Zm-1.901.9952A1.01133 1.01133 0 0 1 14 13H8v3c0 .5523-.44772 1-1 1s-1-.4477-1-1v-3H4v1c0 .5523-.44772 1-1 1s-1-.4477-1-1v-1H1c-.55229 0-1-.4477-1-1s.44771-1 1-1h13c.0334 0 .0665.0016.099.0048C14.5604 8.72019 16.5793 7 19 7c2.7614 0 5 2.23858 5 5 0 2.7614-2.2386 5-5 5-2.4207 0-4.4396-1.7202-4.901-4.0048Z"
12
+ />
13
+ </Svg>
14
+ );
15
+
16
+ export default IconKey;