@pagopa/io-app-design-system 1.17.2 → 1.19.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 (298) hide show
  1. package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
  2. package/lib/commonjs/components/Advice/__test__/advice.test.js +9 -0
  3. package/lib/commonjs/components/Advice/__test__/advice.test.js.map +1 -1
  4. package/lib/commonjs/components/accordion/AccordionItem.js +25 -9
  5. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  6. package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
  7. package/lib/commonjs/components/avatar/__test__/avatar.test.js +13 -0
  8. package/lib/commonjs/components/avatar/__test__/avatar.test.js.map +1 -1
  9. package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
  10. package/lib/commonjs/components/badge/__test__/badge.test.js +10 -0
  11. package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
  12. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
  13. package/lib/commonjs/components/banner/__test__/banner.test.js +15 -0
  14. package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
  15. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
  16. package/lib/commonjs/components/buttons/__test__/button.test.js +57 -0
  17. package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
  18. package/lib/commonjs/components/checkbox/CheckboxLabel.js +6 -29
  19. package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
  20. package/lib/commonjs/components/codeInput/CodeInput.js +10 -25
  21. package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
  22. package/lib/commonjs/components/endOfPage/EndOfPage.js +36 -0
  23. package/lib/commonjs/components/endOfPage/EndOfPage.js.map +1 -0
  24. package/lib/commonjs/components/endOfPage/index.js +17 -0
  25. package/lib/commonjs/components/endOfPage/index.js.map +1 -0
  26. package/lib/commonjs/components/icons/Icon.js +64 -48
  27. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  28. package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js +34 -0
  29. package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
  30. package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js +1 -0
  31. package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
  32. package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js +34 -0
  33. package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
  34. package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js +105 -0
  35. package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
  36. package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js +34 -0
  37. package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
  38. package/lib/commonjs/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
  39. package/lib/commonjs/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
  40. package/lib/commonjs/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
  41. package/lib/commonjs/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
  42. package/lib/commonjs/components/image/Image.js +47 -0
  43. package/lib/commonjs/components/image/Image.js.map +1 -0
  44. package/lib/commonjs/components/image/index.js +17 -0
  45. package/lib/commonjs/components/image/index.js.map +1 -0
  46. package/lib/commonjs/components/index.js +33 -0
  47. package/lib/commonjs/components/index.js.map +1 -1
  48. package/lib/commonjs/components/layout/HeaderSecondLevel.js +9 -3
  49. package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
  50. package/lib/commonjs/components/listitems/ListItemHeader.js +4 -3
  51. package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
  52. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +4 -1
  53. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  54. package/lib/commonjs/components/listitems/ListItemTransaction.js +6 -3
  55. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  56. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
  57. package/lib/commonjs/components/listitems/__test__/listitem.test.js +83 -3
  58. package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
  59. package/lib/commonjs/components/otpInput/BoxedInput.js +72 -0
  60. package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -0
  61. package/lib/commonjs/components/otpInput/OTPInput.js +131 -0
  62. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -0
  63. package/lib/commonjs/components/otpInput/index.js +17 -0
  64. package/lib/commonjs/components/otpInput/index.js.map +1 -0
  65. package/lib/commonjs/components/pictograms/Pictogram.js +74 -68
  66. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  67. package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js +85 -0
  68. package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
  69. package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js +40 -0
  70. package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js.map +1 -0
  71. package/lib/commonjs/components/pictograms/svg/PictogramHello.js +61 -0
  72. package/lib/commonjs/components/pictograms/svg/PictogramHello.js.map +1 -0
  73. package/lib/commonjs/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
  74. package/lib/commonjs/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
  75. package/lib/commonjs/components/pictograms/svg/originals/PictogramHello.svg +46 -0
  76. package/lib/commonjs/components/radio/RadioButtonLabel.js +70 -0
  77. package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -0
  78. package/lib/commonjs/components/radio/RadioGroup.js +25 -21
  79. package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
  80. package/lib/commonjs/components/radio/index.js +11 -0
  81. package/lib/commonjs/components/radio/index.js.map +1 -1
  82. package/lib/commonjs/components/tabs/TabItem.js +13 -6
  83. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  84. package/lib/commonjs/components/typography/LabelHeader.js +6 -4
  85. package/lib/commonjs/components/typography/LabelHeader.js.map +1 -1
  86. package/lib/commonjs/core/IODSExperimentalContextProvider.js +9 -9
  87. package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +1 -1
  88. package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js +44 -0
  89. package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js.map +1 -0
  90. package/lib/commonjs/utils/testing.js +15 -0
  91. package/lib/commonjs/utils/testing.js.map +1 -0
  92. package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
  93. package/lib/module/components/Advice/__test__/advice.test.js +9 -0
  94. package/lib/module/components/Advice/__test__/advice.test.js.map +1 -1
  95. package/lib/module/components/accordion/AccordionItem.js +27 -11
  96. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  97. package/lib/module/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
  98. package/lib/module/components/avatar/__test__/avatar.test.js +13 -0
  99. package/lib/module/components/avatar/__test__/avatar.test.js.map +1 -1
  100. package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
  101. package/lib/module/components/badge/__test__/badge.test.js +10 -0
  102. package/lib/module/components/badge/__test__/badge.test.js.map +1 -1
  103. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
  104. package/lib/module/components/banner/__test__/banner.test.js +15 -0
  105. package/lib/module/components/banner/__test__/banner.test.js.map +1 -1
  106. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
  107. package/lib/module/components/buttons/__test__/button.test.js +57 -0
  108. package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
  109. package/lib/module/components/checkbox/CheckboxLabel.js +7 -30
  110. package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
  111. package/lib/module/components/codeInput/CodeInput.js +9 -25
  112. package/lib/module/components/codeInput/CodeInput.js.map +1 -1
  113. package/lib/module/components/endOfPage/EndOfPage.js +28 -0
  114. package/lib/module/components/endOfPage/EndOfPage.js.map +1 -0
  115. package/lib/module/components/endOfPage/index.js +2 -0
  116. package/lib/module/components/endOfPage/index.js.map +1 -0
  117. package/lib/module/components/icons/Icon.js +64 -48
  118. package/lib/module/components/icons/Icon.js.map +1 -1
  119. package/lib/module/components/icons/svg/IconSystemLocationiOS.js +26 -0
  120. package/lib/module/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
  121. package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js +2 -1
  122. package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
  123. package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js +26 -0
  124. package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
  125. package/lib/module/components/icons/svg/IconSystemPhotosiOS.js +97 -0
  126. package/lib/module/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
  127. package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js +26 -0
  128. package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
  129. package/lib/module/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
  130. package/lib/module/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
  131. package/lib/module/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
  132. package/lib/module/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
  133. package/lib/module/components/image/Image.js +39 -0
  134. package/lib/module/components/image/Image.js.map +1 -0
  135. package/lib/module/components/image/index.js +2 -0
  136. package/lib/module/components/image/index.js.map +1 -0
  137. package/lib/module/components/index.js +3 -0
  138. package/lib/module/components/index.js.map +1 -1
  139. package/lib/module/components/layout/HeaderSecondLevel.js +9 -3
  140. package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
  141. package/lib/module/components/listitems/ListItemHeader.js +4 -3
  142. package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
  143. package/lib/module/components/listitems/ListItemRadioWithAmount.js +4 -1
  144. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  145. package/lib/module/components/listitems/ListItemTransaction.js +6 -3
  146. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  147. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
  148. package/lib/module/components/listitems/__test__/listitem.test.js +83 -3
  149. package/lib/module/components/listitems/__test__/listitem.test.js.map +1 -1
  150. package/lib/module/components/otpInput/BoxedInput.js +64 -0
  151. package/lib/module/components/otpInput/BoxedInput.js.map +1 -0
  152. package/lib/module/components/otpInput/OTPInput.js +121 -0
  153. package/lib/module/components/otpInput/OTPInput.js.map +1 -0
  154. package/lib/module/components/otpInput/index.js +2 -0
  155. package/lib/module/components/otpInput/index.js.map +1 -0
  156. package/lib/module/components/pictograms/Pictogram.js +74 -68
  157. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  158. package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js +77 -0
  159. package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
  160. package/lib/module/components/pictograms/svg/PictogramEventClose.js +32 -0
  161. package/lib/module/components/pictograms/svg/PictogramEventClose.js.map +1 -0
  162. package/lib/module/components/pictograms/svg/PictogramHello.js +53 -0
  163. package/lib/module/components/pictograms/svg/PictogramHello.js.map +1 -0
  164. package/lib/module/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
  165. package/lib/module/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
  166. package/lib/module/components/pictograms/svg/originals/PictogramHello.svg +46 -0
  167. package/lib/module/components/radio/RadioButtonLabel.js +62 -0
  168. package/lib/module/components/radio/RadioButtonLabel.js.map +1 -0
  169. package/lib/module/components/radio/RadioGroup.js +25 -21
  170. package/lib/module/components/radio/RadioGroup.js.map +1 -1
  171. package/lib/module/components/radio/index.js +1 -0
  172. package/lib/module/components/radio/index.js.map +1 -1
  173. package/lib/module/components/tabs/TabItem.js +13 -6
  174. package/lib/module/components/tabs/TabItem.js.map +1 -1
  175. package/lib/module/components/typography/LabelHeader.js +6 -4
  176. package/lib/module/components/typography/LabelHeader.js.map +1 -1
  177. package/lib/module/core/IODSExperimentalContextProvider.js +3 -3
  178. package/lib/module/core/IODSExperimentalContextProvider.js.map +1 -1
  179. package/lib/module/utils/hooks/useErrorShakeAnimation.js +37 -0
  180. package/lib/module/utils/hooks/useErrorShakeAnimation.js.map +1 -0
  181. package/lib/module/utils/testing.js +7 -0
  182. package/lib/module/utils/testing.js.map +1 -0
  183. package/lib/typescript/components/accordion/AccordionItem.d.ts +3 -1
  184. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  185. package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
  186. package/lib/typescript/components/codeInput/CodeInput.d.ts.map +1 -1
  187. package/lib/typescript/components/endOfPage/EndOfPage.d.ts +23 -0
  188. package/lib/typescript/components/endOfPage/EndOfPage.d.ts.map +1 -0
  189. package/lib/typescript/components/endOfPage/index.d.ts +2 -0
  190. package/lib/typescript/components/endOfPage/index.d.ts.map +1 -0
  191. package/lib/typescript/components/icons/Icon.d.ts +8 -0
  192. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  193. package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts +5 -0
  194. package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts.map +1 -0
  195. package/lib/typescript/components/icons/svg/IconSystemNotificationsInstructions.d.ts.map +1 -1
  196. package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts +5 -0
  197. package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts.map +1 -0
  198. package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts +5 -0
  199. package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts.map +1 -0
  200. package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts +5 -0
  201. package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts.map +1 -0
  202. package/lib/typescript/components/image/Image.d.ts +17 -0
  203. package/lib/typescript/components/image/Image.d.ts.map +1 -0
  204. package/lib/typescript/components/image/index.d.ts +2 -0
  205. package/lib/typescript/components/image/index.d.ts.map +1 -0
  206. package/lib/typescript/components/index.d.ts +3 -0
  207. package/lib/typescript/components/index.d.ts.map +1 -1
  208. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +10 -4
  209. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
  210. package/lib/typescript/components/listitems/ListItemHeader.d.ts +2 -2
  211. package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
  212. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +1 -0
  213. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
  214. package/lib/typescript/components/listitems/ListItemTransaction.d.ts +6 -1
  215. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  216. package/lib/typescript/components/otpInput/BoxedInput.d.ts +9 -0
  217. package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -0
  218. package/lib/typescript/components/otpInput/OTPInput.d.ts +26 -0
  219. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -0
  220. package/lib/typescript/components/otpInput/index.d.ts +2 -0
  221. package/lib/typescript/components/otpInput/index.d.ts.map +1 -0
  222. package/lib/typescript/components/pictograms/Pictogram.d.ts +3 -0
  223. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  224. package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts +5 -0
  225. package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts.map +1 -0
  226. package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts +5 -0
  227. package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts.map +1 -0
  228. package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts +5 -0
  229. package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts.map +1 -0
  230. package/lib/typescript/components/radio/RadioButtonLabel.d.ts +18 -0
  231. package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -0
  232. package/lib/typescript/components/radio/RadioGroup.d.ts +22 -9
  233. package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
  234. package/lib/typescript/components/radio/index.d.ts +1 -0
  235. package/lib/typescript/components/radio/index.d.ts.map +1 -1
  236. package/lib/typescript/components/tabs/TabItem.d.ts +2 -1
  237. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
  238. package/lib/typescript/components/typography/LabelHeader.d.ts +1 -1
  239. package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -1
  240. package/lib/typescript/core/IODSExperimentalContextProvider.d.ts +5 -1
  241. package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +1 -1
  242. package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts +11 -0
  243. package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts.map +1 -0
  244. package/lib/typescript/utils/testing.d.ts +4 -0
  245. package/lib/typescript/utils/testing.d.ts.map +1 -0
  246. package/package.json +4 -2
  247. package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
  248. package/src/components/Advice/__test__/advice.test.tsx +10 -0
  249. package/src/components/accordion/AccordionItem.tsx +33 -13
  250. package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
  251. package/src/components/avatar/__test__/avatar.test.tsx +10 -0
  252. package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
  253. package/src/components/badge/__test__/badge.test.tsx +10 -0
  254. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
  255. package/src/components/banner/__test__/banner.test.tsx +18 -0
  256. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
  257. package/src/components/buttons/__test__/button.test.tsx +77 -1
  258. package/src/components/checkbox/CheckboxLabel.tsx +4 -31
  259. package/src/components/codeInput/CodeInput.tsx +5 -33
  260. package/src/components/endOfPage/EndOfPage.tsx +55 -0
  261. package/src/components/endOfPage/index.tsx +1 -0
  262. package/src/components/icons/Icon.tsx +64 -48
  263. package/src/components/icons/svg/IconSystemLocationiOS.tsx +15 -0
  264. package/src/components/icons/svg/IconSystemNotificationsInstructions.tsx +2 -1
  265. package/src/components/icons/svg/IconSystemPermissionsAndroid.tsx +19 -0
  266. package/src/components/icons/svg/IconSystemPhotosiOS.tsx +114 -0
  267. package/src/components/icons/svg/IconSystemPrivacyiOS.tsx +15 -0
  268. package/src/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
  269. package/src/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
  270. package/src/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
  271. package/src/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
  272. package/src/components/image/Image.tsx +49 -0
  273. package/src/components/image/index.tsx +1 -0
  274. package/src/components/index.tsx +3 -0
  275. package/src/components/layout/HeaderSecondLevel.tsx +28 -10
  276. package/src/components/listitems/ListItemHeader.tsx +6 -3
  277. package/src/components/listitems/ListItemRadioWithAmount.tsx +5 -1
  278. package/src/components/listitems/ListItemTransaction.tsx +12 -1
  279. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
  280. package/src/components/listitems/__test__/listitem.test.tsx +104 -3
  281. package/src/components/otpInput/BoxedInput.tsx +67 -0
  282. package/src/components/otpInput/OTPInput.tsx +135 -0
  283. package/src/components/otpInput/index.tsx +1 -0
  284. package/src/components/pictograms/Pictogram.tsx +74 -68
  285. package/src/components/pictograms/svg/PictogramComunicationProblem.tsx +94 -0
  286. package/src/components/pictograms/svg/PictogramEventClose.tsx +34 -0
  287. package/src/components/pictograms/svg/PictogramHello.tsx +54 -0
  288. package/src/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
  289. package/src/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
  290. package/src/components/pictograms/svg/originals/PictogramHello.svg +46 -0
  291. package/src/components/radio/RadioButtonLabel.tsx +73 -0
  292. package/src/components/radio/RadioGroup.tsx +61 -11
  293. package/src/components/radio/index.tsx +1 -0
  294. package/src/components/tabs/TabItem.tsx +22 -6
  295. package/src/components/typography/LabelHeader.tsx +11 -6
  296. package/src/core/IODSExperimentalContextProvider.tsx +3 -3
  297. package/src/utils/hooks/useErrorShakeAnimation.ts +43 -0
  298. package/src/utils/testing.tsx +14 -0
@@ -0,0 +1,77 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from "react";
3
+ import { Svg, Path } from "react-native-svg";
4
+ const PictogramComunicationProblem = _ref => {
5
+ let {
6
+ size,
7
+ colorValues,
8
+ ...props
9
+ } = _ref;
10
+ return /*#__PURE__*/React.createElement(Svg, _extends({
11
+ width: size,
12
+ height: size,
13
+ viewBox: "0 0 240 240"
14
+ }, props), /*#__PURE__*/React.createElement(Path, {
15
+ d: "M176.99 121.75L176.44 117.27L172.07 117.8L172.99 125.34C174.47 123.79 175.91 122.58 176.99 121.76V121.75Z",
16
+ fill: colorValues.hands
17
+ }), /*#__PURE__*/React.createElement(Path, {
18
+ d: "M153.72 158.8C156.62 163.52 159.63 168.41 167.72 175.69L170.67 172.42C163.05 165.56 160.34 161.16 157.48 156.49C154.97 152.4 152.37 148.17 146.55 142.18C145.54 143.23 144.52 144.28 143.48 145.34C148.89 150.93 151.35 154.93 153.73 158.79L153.72 158.8Z",
19
+ fill: colorValues.hands
20
+ }), /*#__PURE__*/React.createElement(Path, {
21
+ d: "M165.879 101.9L166.019 102.14C167.969 98 173.489 94.2 183.549 90.03C186.189 88.94 188.649 88.57 190.909 88.89C196.019 80.64 198.889 74.82 198.889 74.82C213.739 60.08 208.539 43.32 208.539 43.32C206.109 33.27 192.999 27.7 192.999 27.7C192.999 27.7 171.449 17.65 160.269 46.27C149.089 74.89 162.799 75.98 162.799 75.98C166.359 76.73 164.539 81.24 164.539 81.24C163.839 83.52 161.099 87.8 157.469 92.83C157.889 93.03 158.309 93.23 158.739 93.46C162.129 95.31 164.299 99.11 165.889 101.89L165.879 101.9ZM179.839 70.8C188.489 66.69 193.829 60.97 195.689 53.79C197.069 48.5 195.959 44.42 195.949 44.38C195.729 43.58 196.189 42.75 196.989 42.53C197.779 42.31 198.609 42.77 198.839 43.57C198.889 43.76 203.889 62.7 181.129 73.51C180.919 73.61 180.699 73.66 180.489 73.66C179.929 73.66 179.389 73.34 179.129 72.8C178.769 72.05 179.089 71.16 179.839 70.8Z",
22
+ fill: colorValues.main
23
+ }), /*#__PURE__*/React.createElement(Path, {
24
+ d: "M144.03 150.22C149.69 146.71 154.89 142.51 159.54 137.75C165.1 132.05 168.75 128.41 168.75 128.41C172.19 125.17 180.35 114.8 183.39 111.28C181.82 111 169.71 113.28 168.75 112.52C168.28 113.52 167.54 114.53 166.39 115.53C164.25 117.39 162.18 117.91 160.14 117.55C160.47 118.49 160.68 119.43 160.76 120.35C160.96 122.68 160.25 124.79 158.72 126.47C157.26 128.08 155.31 128.92 153.13 128.89C151.8 128.88 150.42 128.54 149.05 128C150.43 130.19 151.16 132.19 150.83 134.27C150.49 136.46 149.07 138.33 146.35 140.14C145.47 140.73 144.5 140.99 143.47 140.99C137.53 140.99 129.77 132.36 127.17 129.26C123.19 132.46 121.03 133.68 119.85 131.54C117.6 127.48 111.06 126.94 111.06 126.94C100.27 125.39 94.6701 128.35 94.6701 128.35C89.3501 130.58 85.8601 132.93 82.6301 135.63C68.8701 147.15 73.1101 169.7 90.3001 174.86C90.3901 174.89 90.4601 174.91 90.5001 174.93C114.21 181.33 122.2 163.11 122.2 163.11C122.2 163.11 134.34 156.19 144.01 150.2L144.03 150.22ZM119.25 145.43C119.05 146.16 114.13 163.36 89.7601 165.5C89.7201 165.5 89.6701 165.5 89.6301 165.5C88.8601 165.5 88.2101 164.91 88.1401 164.13C88.0701 163.3 88.6801 162.58 89.5001 162.51C111.81 160.55 116.31 144.8 116.36 144.64C116.58 143.84 117.4 143.37 118.2 143.58C119 143.8 119.47 144.62 119.26 145.42L119.25 145.43Z",
25
+ fill: colorValues.main
26
+ }), /*#__PURE__*/React.createElement(Path, {
27
+ d: "M180.481 73.65C180.701 73.65 180.911 73.6 181.121 73.5C203.881 62.69 198.881 43.75 198.831 43.56C198.611 42.76 197.771 42.29 196.981 42.52C196.181 42.74 195.721 43.57 195.941 44.37C195.951 44.41 197.061 48.49 195.681 53.78C193.821 60.96 188.481 66.68 179.831 70.79C179.081 71.15 178.761 72.04 179.121 72.79C179.381 73.33 179.911 73.65 180.481 73.65Z",
28
+ fill: colorValues.secondary
29
+ }), /*#__PURE__*/React.createElement(Path, {
30
+ d: "M118.19 143.59C117.39 143.38 116.57 143.85 116.35 144.65C116.31 144.81 111.8 160.56 89.4901 162.52C88.6601 162.59 88.0501 163.32 88.1301 164.14C88.2001 164.92 88.8501 165.51 89.6201 165.51C89.6601 165.51 89.7101 165.51 89.7501 165.51C114.13 163.37 119.04 146.17 119.24 145.44C119.46 144.64 118.98 143.82 118.18 143.6L118.19 143.59Z",
31
+ fill: colorValues.secondary
32
+ }), /*#__PURE__*/React.createElement(Path, {
33
+ d: "M183.36 111.91C188.25 109.56 192.3 106.32 192.47 106.18L189.71 102.75C187.18 104.78 181.02 108.91 176.18 109.79C175 111.26 173.77 112.72 172.52 114.18C175.11 114.64 178.61 114.19 183.36 111.91Z",
34
+ fill: colorValues.hands
35
+ }), /*#__PURE__*/React.createElement(Path, {
36
+ d: "M193.051 119.07C193.491 117.62 194.771 116.17 196.121 114.63C199.231 111.1 203.481 106.26 200.371 97.56C200.151 96.84 198.481 91.97 193.951 89.79C192.991 89.33 191.971 89.04 190.911 88.89C190.051 90.28 189.121 91.75 188.131 93.26C189.581 93.05 190.881 93.21 192.021 93.74C195.021 95.17 196.161 98.83 196.171 98.86C196.181 98.9 196.201 98.95 196.211 98.99C198.471 105.28 195.851 108.26 192.811 111.71C191.211 113.53 189.551 115.42 188.841 117.78C186.101 126.82 191.931 143.53 206.121 154.76L208.851 151.31C195.571 140.8 191.081 125.57 193.051 119.06V119.07Z",
37
+ fill: colorValues.hands
38
+ }), /*#__PURE__*/React.createElement(Path, {
39
+ d: "M183.55 90.03C173.49 94.2 167.97 97.99 166.02 102.14L166.22 102.49C166.38 102.77 166.61 103.1 166.86 103.45C168.06 105.17 170.53 108.72 168.75 112.52C169.71 113.28 170.94 113.9 172.51 114.19C173.77 112.73 174.99 111.27 176.17 109.8C173.98 110.2 172.06 109.93 170.87 108.49C169.43 106.74 169.51 105.55 169.69 104.81C170.48 101.65 175.7 98.05 185.22 94.11C186.24 93.69 187.21 93.41 188.12 93.28C189.11 91.76 190.04 90.3 190.9 88.91C188.64 88.59 186.18 88.96 183.54 90.05L183.55 90.03Z",
40
+ fill: colorValues.hands
41
+ }), /*#__PURE__*/React.createElement(Path, {
42
+ d: "M179.92 122.35L181.1 124.21L179.92 122.35Z",
43
+ fill: colorValues.hands
44
+ }), /*#__PURE__*/React.createElement(Path, {
45
+ d: "M178.73 120.5C178.61 120.57 177.95 121.01 176.98 121.75L177.36 124.88L172.99 125.41V125.34C169.43 129.05 165.69 134.66 166.5 141.37L170.87 140.84C169.76 131.61 180.95 124.31 181.09 124.21L179.91 122.35L178.73 120.49V120.5Z",
46
+ fill: colorValues.hands
47
+ }), /*#__PURE__*/React.createElement(Path, {
48
+ d: "M177.37 124.87L176.99 121.74C175.92 122.57 174.47 123.78 172.99 125.32V125.39L177.37 124.86V124.87Z",
49
+ fill: colorValues.hands
50
+ }), /*#__PURE__*/React.createElement(Path, {
51
+ d: "M130.411 126.33C130.231 126.09 130.051 125.86 129.891 125.64C129.691 125.35 129.551 125.05 129.491 124.72C129.351 124 129.471 122.02 130.731 120.49C131.871 119.11 133.721 118.37 136.221 118.29C136.391 118.54 136.561 118.77 136.741 119.01C137.671 117.91 138.661 116.72 139.711 115.45C139.531 115.25 139.351 115.06 139.191 114.87C139.111 114.78 139.031 114.7 138.941 114.63C139.161 112.24 140.221 107.45 145.211 106.13C145.621 106.5 146.011 106.86 146.401 107.23C147.331 106.07 148.271 104.89 149.201 103.7C148.651 103.23 148.211 102.87 147.961 102.67C148.011 100.57 148.551 97.27 150.251 96.19C151.421 95.45 153.151 95.8 154.781 96.45C155.711 95.21 156.601 94 157.451 92.82C153.601 91.01 150.381 90.88 147.891 92.47C144.451 94.66 143.711 99.33 143.591 102C137.221 103.92 134.991 109.76 134.571 114C130.771 114.48 128.571 116.2 127.341 117.68C124.981 120.54 124.871 123.97 125.171 125.54C125.351 126.48 125.731 127.36 126.291 128.16C126.311 128.19 126.631 128.6 127.181 129.26C128.261 128.39 129.361 127.4 130.401 126.32L130.411 126.33Z",
52
+ fill: colorValues.hands
53
+ }), /*#__PURE__*/React.createElement(Path, {
54
+ d: "M143.489 141C144.519 141 145.489 140.74 146.369 140.15C149.089 138.33 150.509 136.46 150.849 134.28C151.169 132.19 150.439 130.2 149.069 128.01C150.439 128.55 151.819 128.88 153.149 128.9C155.339 128.93 157.279 128.09 158.739 126.48C160.269 124.8 160.969 122.69 160.779 120.36C160.699 119.43 160.479 118.49 160.159 117.56C162.199 117.91 164.269 117.4 166.409 115.54C167.559 114.54 168.299 113.53 168.769 112.53C168.279 112.14 167.859 111.73 167.499 111.29C165.499 108.86 164.809 106.32 165.449 103.74C165.579 103.2 165.779 102.67 166.029 102.15L165.889 101.91C164.309 99.13 162.139 95.33 158.739 93.48C158.309 93.24 157.889 93.04 157.469 92.85C156.619 94.02 155.729 95.24 154.799 96.48C155.439 96.74 156.069 97.04 156.639 97.35C158.939 98.6 160.749 101.78 162.069 104.1L162.409 104.7C162.649 105.12 162.949 105.54 163.259 105.99C165.209 108.78 165.829 110.22 163.509 112.23C161.269 114.18 159.369 113.35 154.539 108.88C152.549 106.66 150.539 104.85 149.219 103.72C148.289 104.9 147.349 106.08 146.419 107.25C147.419 108.18 148.399 109.11 149.329 110.01C149.999 110.66 150.669 111.3 151.329 111.92C153.879 114.76 156.159 118.05 156.389 120.75C156.479 121.87 156.199 122.76 155.479 123.54C154.849 124.23 154.199 124.54 153.189 124.52C149.299 124.48 143.099 119.17 139.719 115.46C138.669 116.73 137.679 117.92 136.749 119.02C138.449 121.4 140.079 123.46 141.549 125.3C144.469 128.96 146.769 131.86 146.499 133.62C146.369 134.48 145.499 135.46 143.919 136.51C142.019 137.78 134.019 131.02 130.419 126.34C129.369 127.42 128.279 128.41 127.199 129.28C129.789 132.38 137.559 141.01 143.499 141.01L143.489 141Z",
55
+ fill: colorValues.hands
56
+ }), /*#__PURE__*/React.createElement(Path, {
57
+ d: "M167.49 111.28C167.85 111.71 168.27 112.13 168.76 112.52C170.53 108.72 168.07 105.17 166.87 103.45C166.62 103.09 166.39 102.77 166.23 102.49L166.03 102.14C165.78 102.67 165.58 103.2 165.45 103.73C164.81 106.31 165.5 108.85 167.5 111.28H167.49Z",
58
+ fill: colorValues.hands
59
+ }), /*#__PURE__*/React.createElement(Path, {
60
+ d: "M63.0998 184.68C62.8498 184.68 62.5998 184.62 62.3598 184.48L45.3598 174.84C44.6398 174.43 44.3898 173.52 44.7898 172.8C45.1998 172.08 46.1198 171.83 46.8298 172.23L63.8298 181.87C64.5498 182.28 64.7998 183.19 64.3998 183.91C64.1198 184.4 63.6198 184.67 63.0898 184.67L63.0998 184.68Z",
61
+ fill: colorValues.secondary
62
+ }), /*#__PURE__*/React.createElement(Path, {
63
+ d: "M48.4204 215.54C47.9904 215.54 47.5704 215.36 47.2704 215C46.7404 214.37 46.8204 213.42 47.4504 212.89L67.0704 196.41C67.7004 195.88 68.6504 195.96 69.1804 196.59C69.7104 197.22 69.6304 198.17 69.0004 198.7L49.3804 215.18C49.1004 215.42 48.7604 215.53 48.4204 215.53V215.54Z",
64
+ fill: colorValues.secondary
65
+ }), /*#__PURE__*/React.createElement(Path, {
66
+ d: "M32.5001 192.78C31.6801 192.78 31.0201 192.13 31.0001 191.31C30.9901 190.48 31.6401 189.8 32.4701 189.78L61.7601 189.26H61.7901C62.6101 189.26 63.2701 189.91 63.2901 190.73C63.3001 191.56 62.6501 192.24 61.8201 192.26L32.5301 192.78H32.5001Z",
67
+ fill: colorValues.secondary
68
+ }), /*#__PURE__*/React.createElement(Path, {
69
+ d: "M71.5586 192.67V192.71C71.5586 192.71 71.5786 192.71 71.5886 192.71L71.5586 192.67Z",
70
+ fill: colorValues.main
71
+ }), /*#__PURE__*/React.createElement(Path, {
72
+ d: "M90.7491 172.96C90.5991 173.41 86.9991 183.57 73.2091 185.5L75.5691 186.76L71.2891 188.87V188.91H77.3291L71.8891 190.72L74.8791 191.46L74.3491 192.4C92.4691 189.81 97.2091 175.74 97.4091 175.11L90.7491 172.95V172.96Z",
73
+ fill: colorValues.main
74
+ }));
75
+ };
76
+ export default PictogramComunicationProblem;
77
+ //# sourceMappingURL=PictogramComunicationProblem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Svg","Path","PictogramComunicationProblem","_ref","size","colorValues","props","createElement","_extends","width","height","viewBox","d","fill","hands","main","secondary"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramComunicationProblem.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,kBAAkB;AAG5C,MAAMC,4BAA4B,GAAGC,IAAA;EAAA,IAAC;IACpCC,IAAI;IACJC,WAAW;IACX,GAAGC;EACc,CAAC,GAAAH,IAAA;EAAA,oBAClBJ,KAAA,CAAAQ,aAAA,CAACP,GAAG,EAAAQ,QAAA;IAACC,KAAK,EAAEL,IAAK;IAACM,MAAM,EAAEN,IAAK;IAACO,OAAO,EAAC;EAAa,GAAKL,KAAK,gBAC7DP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,2GAA2G;IAC7GC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,4PAA4P;IAC9PC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,+0BAA+0B;IACj1BC,IAAI,EAAER,WAAW,CAACU;EAAK,CACxB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,svCAAsvC;IACxvCC,IAAI,EAAER,WAAW,CAACU;EAAK,CACxB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,+VAA+V;IACjWC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,6UAA6U;IAC/UC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,mMAAmM;IACrMC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,8iBAA8iB;IAChjBC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,oeAAoe;IACteC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,4CAA4C;IAC9CC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,gOAAgO;IAClOC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,qGAAqG;IACvGC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,4gCAA4gC;IAC9gCC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,okDAAokD;IACtkDC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,qPAAqP;IACvPC,IAAI,EAAER,WAAW,CAACS;EAAM,CACzB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,8RAA8R;IAChSC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,oRAAoR;IACtRC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,mPAAmP;IACrPC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,qFAAqF;IACvFC,IAAI,EAAER,WAAW,CAACU;EAAK,CACxB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,0NAA0N;IAC5NC,IAAI,EAAER,WAAW,CAACU;EAAK,CACxB,CACE,CAAC;AAAA,CACP;AAED,eAAeb,4BAA4B"}
@@ -0,0 +1,32 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from "react";
3
+ import { Svg, Path } from "react-native-svg";
4
+ const PictogramEventClose = _ref => {
5
+ let {
6
+ size,
7
+ colorValues,
8
+ ...props
9
+ } = _ref;
10
+ return /*#__PURE__*/React.createElement(Svg, _extends({
11
+ width: size,
12
+ height: size,
13
+ viewBox: "0 0 240 240"
14
+ }, props), /*#__PURE__*/React.createElement(Path, {
15
+ d: "M191.363 186.548L142.458 72.3504C141.322 69.5959 138.811 67.6788 135.882 67.3257L116.86 65.0453L115.554 61.1708C115.016 59.5665 113.103 58.1035 111.29 57.8916L105.471 57.2257C106.756 55.6012 107.035 53.4218 106.248 51.0809C104.743 46.601 99.6316 42.6457 94.6196 42.0706C91.8096 41.7477 89.3983 42.565 88.0133 44.3207C86.7279 45.9451 86.4489 48.1246 87.236 50.4654C87.8538 52.3119 89.0994 54.0675 90.6837 55.5306L85.8211 54.9756C84.0076 54.7637 82.9713 55.8938 83.5094 57.4981L84.7549 61.2011L65.1652 58.8602C58.9774 58.1237 54.2842 64.3895 56.6557 70.2215L80.7991 125.756L96.6722 126.432L109.436 129.288L117.238 132.466L120.148 134.403L122.739 135.987L123.277 138.52L123.645 141.053L122.091 145.422C122.091 145.422 121.573 146.148 121.374 146.39C121.174 146.632 122.739 148.438 122.739 148.438L126.376 151.445L127.153 153.009L127.402 155.471C127.402 155.471 128.179 156.995 127.402 157.307C126.625 157.62 125.479 159.366 125.479 159.366L123.675 160.819V161.697C123.675 161.697 121.374 161.888 120.836 162.05C120.297 162.211 119.839 162.978 119.839 162.978L121.962 167.781L122.001 170.384L119.261 173.048L117.488 175.278C117.488 175.278 114.06 175.974 112.665 176.529C111.27 177.084 109.058 177.82 109.058 177.82L105.451 179.142L107.663 185.519C108.709 188.546 111.399 190.685 114.548 191.008L183.003 197.96C189.151 198.585 193.734 192.329 191.353 186.548H191.363ZM90.8132 46.601C91.3114 45.9754 92.2381 45.6424 93.4139 45.6424C93.673 45.6424 93.932 45.6626 94.211 45.6929C97.8281 46.1066 101.784 49.1134 102.84 52.2614C103.059 52.9072 103.328 54.118 102.661 54.9453C102.063 55.7021 100.827 56.0351 99.2629 55.8534C95.6459 55.4397 91.6901 52.433 90.6339 49.2849C90.4146 48.6392 90.1456 47.4284 90.8132 46.601Z",
16
+ fill: colorValues.main
17
+ }), /*#__PURE__*/React.createElement(Path, {
18
+ d: "M99.2923 181.321C81.3866 181.321 69.1704 167.377 69.0109 167.185C52.4304 148.015 45.1565 130.085 47.3985 113.911C49.8895 95.981 63.2018 87.0918 63.7697 86.7285L65.932 90.1188L64.8558 88.4236L65.9419 90.1188C65.8224 90.1995 53.5464 98.4429 51.3443 114.546C49.3016 129.49 56.2567 146.309 72.0202 164.542C72.8472 165.5 92.4469 187.739 118.205 171.342C118.234 171.322 118.264 171.302 118.294 171.292C118.932 170.919 120.646 169.607 120.745 168.104C120.845 166.61 119.33 165.097 118.045 164.088L120.486 160.899C123.496 163.25 124.92 165.783 124.721 168.416C124.442 172.21 120.905 174.43 120.287 174.783C112.764 179.566 105.669 181.331 99.3023 181.331L99.2923 181.321Z",
19
+ fill: colorValues.hands
20
+ }), /*#__PURE__*/React.createElement(Path, {
21
+ d: "M110.472 165.47C102.261 165.47 94.1007 163.826 92.5762 163.503L93.3932 159.557C93.453 159.568 99.8302 160.91 106.895 161.303C115.534 161.787 121.552 160.667 123.874 158.135C124.143 157.671 125.289 155.501 124.133 153.393C122.728 150.85 117.138 146.693 95.3861 147.329L95.2665 143.293C113.531 142.748 124.412 145.512 127.64 151.486C130.072 155.996 127.232 160.314 127.112 160.486C127.062 160.556 127.013 160.617 126.963 160.677C123.744 164.391 117.088 165.46 110.462 165.46L110.472 165.47Z",
22
+ fill: colorValues.hands
23
+ }), /*#__PURE__*/React.createElement(Path, {
24
+ d: "M121.821 148.852L119.051 145.946L120.436 147.399L119.041 145.956C119.161 145.835 122.001 142.949 120.815 139.66C119.48 135.937 112.256 129.288 78.9551 126.563L79.2739 122.538C106.417 124.757 121.652 130.065 124.571 138.318C126.604 144.069 122.001 148.65 121.811 148.842L121.821 148.852Z",
25
+ fill: colorValues.hands
26
+ }), /*#__PURE__*/React.createElement(Path, {
27
+ d: "M184.886 192.874C184.836 192.874 184.786 192.874 184.736 192.874L116.969 185.832C116.152 185.751 115.554 185.004 115.634 184.167C115.714 183.329 116.451 182.744 117.278 182.815L182.514 189.585L134.945 77.8293C134.616 77.0624 134.965 76.1745 135.722 75.8416C136.479 75.5086 137.356 75.8617 137.685 76.6286L186.261 190.755C186.47 191.25 186.41 191.815 186.091 192.249C185.812 192.642 185.364 192.864 184.886 192.864V192.874Z",
28
+ fill: colorValues.secondary
29
+ }));
30
+ };
31
+ export default PictogramEventClose;
32
+ //# sourceMappingURL=PictogramEventClose.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Svg","Path","PictogramEventClose","_ref","size","colorValues","props","createElement","_extends","width","height","viewBox","d","fill","main","hands","secondary"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramEventClose.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,kBAAkB;AAG5C,MAAMC,mBAAmB,GAAGC,IAAA;EAAA,IAAC;IAC3BC,IAAI;IACJC,WAAW;IACX,GAAGC;EACc,CAAC,GAAAH,IAAA;EAAA,oBAClBJ,KAAA,CAAAQ,aAAA,CAACP,GAAG,EAAAQ,QAAA;IAACC,KAAK,EAAEL,IAAK;IAACM,MAAM,EAAEN,IAAK;IAACO,OAAO,EAAC;EAAa,GAAKL,KAAK,gBAC7DP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,8qDAA8qD;IAChrDC,IAAI,EAAER,WAAW,CAACS;EAAK,CACxB,CAAC,eACFf,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,wpBAAwpB;IAC1pBC,IAAI,EAAER,WAAW,CAACU;EAAM,CACzB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,0eAA0e;IAC5eC,IAAI,EAAER,WAAW,CAACU;EAAM,CACzB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,gSAAgS;IAClSC,IAAI,EAAER,WAAW,CAACU;EAAM,CACzB,CAAC,eACFhB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,waAAwa;IAC1aC,IAAI,EAAER,WAAW,CAACW;EAAU,CAC7B,CACE,CAAC;AAAA,CACP;AAED,eAAed,mBAAmB"}
@@ -0,0 +1,53 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from "react";
3
+ import { Svg, Path } from "react-native-svg";
4
+ const PictogramHello = _ref => {
5
+ let {
6
+ size,
7
+ colorValues,
8
+ ...props
9
+ } = _ref;
10
+ return /*#__PURE__*/React.createElement(Svg, _extends({
11
+ width: size,
12
+ height: size,
13
+ viewBox: "0 0 240 240"
14
+ }, props), /*#__PURE__*/React.createElement(Path, {
15
+ d: "M67.47 125.11C67.4583 125.144 67.4474 125.178 67.4373 125.213C67.4403 125.203 67.2992 125.644 67.1195 126.364C66.9403 127.082 66.7169 128.096 66.519 129.348C66.124 131.848 65.8258 135.326 66.1965 139.314C66.9424 147.339 70.4047 157.396 81.0528 165.567C81.8604 166.193 82.8154 166.486 83.7484 166.486C85.0805 166.486 86.3868 165.886 87.2585 164.75C88.7337 162.829 88.3917 160.032 86.4337 158.541C70.0526 145.991 75.6361 128.583 75.8493 127.952L75.8493 127.952L75.8531 127.941C76.6199 125.637 75.3846 123.141 73.0936 122.347L73.0573 122.334C70.7563 121.576 68.264 122.783 67.47 125.11Z",
16
+ fill: colorValues.secondary,
17
+ stroke: colorValues.main,
18
+ strokeWidth: 5,
19
+ strokeLinejoin: "round"
20
+ }), /*#__PURE__*/React.createElement(Path, {
21
+ d: "M77.0725 183.625C77.2044 183.625 77.3338 183.614 77.4601 183.595C78.6546 183.49 79.7958 182.901 80.5827 181.876C82.0578 179.955 81.7159 177.158 79.7582 175.667C45.2189 149.19 56.9812 112.426 57.5204 110.8C58.3109 108.482 57.0472 105.966 54.7507 105.191C52.4006 104.384 49.9235 105.693 49.1438 107.95L49.1346 107.977C49.0055 108.365 45.4372 119.393 46.8165 134.141C48.203 148.965 54.5992 167.542 74.378 182.706C75.1854 183.331 76.1399 183.625 77.0725 183.625Z",
22
+ fill: colorValues.secondary,
23
+ stroke: colorValues.main,
24
+ strokeWidth: 5,
25
+ strokeLinejoin: "round"
26
+ }), /*#__PURE__*/React.createElement(Path, {
27
+ d: "M164.192 94.668C164.33 94.668 164.466 94.6568 164.598 94.6353C164.627 94.6331 164.655 94.6305 164.684 94.6273C167.14 94.3573 168.852 92.1304 168.59 89.7358L168.589 89.7325C168.553 89.407 167.744 83.2042 163.688 76.3378C159.59 69.3997 152.167 61.787 139.051 58.9578L139.051 58.9578L139.044 58.9564C136.699 58.4571 134.31 59.9358 133.795 62.3531C133.272 64.7501 134.805 67.107 137.193 67.6134C157.311 71.9597 159.709 90.0196 159.797 90.7518C160.063 93.0131 161.976 94.668 164.192 94.668Z",
28
+ fill: colorValues.secondary,
29
+ stroke: colorValues.main,
30
+ strokeWidth: 5,
31
+ strokeLinejoin: "round"
32
+ }), /*#__PURE__*/React.createElement(Path, {
33
+ d: "M188.077 102.318C188.215 102.318 188.351 102.307 188.483 102.285C188.511 102.283 188.54 102.28 188.568 102.277C191.024 102.007 192.737 99.7802 192.474 97.3856L192.472 97.3663C192.424 96.9566 190.947 85.4595 183.411 72.7174C175.833 59.9059 162.124 45.8438 137.767 40.598L137.767 40.598L137.761 40.5968C135.415 40.0975 133.027 41.5762 132.512 43.9935C131.989 46.3906 133.522 48.7476 135.91 49.2539C178.49 58.4422 183.486 96.7894 183.682 98.4039C183.949 100.664 185.861 102.318 188.077 102.318Z",
34
+ fill: colorValues.secondary,
35
+ stroke: colorValues.main,
36
+ strokeWidth: 5,
37
+ strokeLinejoin: "round"
38
+ }), /*#__PURE__*/React.createElement(Path, {
39
+ d: "M139.011 195.961C116.615 173.783 84.6579 127.807 87.5328 109.062C88.2002 104.716 90.5873 102.646 92.474 101.669C94.8868 100.422 97.4537 100.602 100.021 101.669C97.9285 96.578 96.6836 91.5252 97.1456 87.3596C97.5435 83.7982 99.1991 81.0597 101.946 79.4526C103.768 78.3855 105.886 78.1669 108.106 78.8226C111.674 79.8898 115.511 83.3611 119.144 87.7067C118.746 85.1482 118.643 82.6926 119.002 80.494C119.567 76.9841 120.876 74.5027 122.891 73.1271C124.521 72.0085 126.575 71.6742 128.795 72.1628C132.376 72.9471 135.494 75.5699 137.163 79.1955L154.22 111.183C161.651 104.626 167.734 101.515 172.354 101.901C175.011 102.119 176.346 103.456 176.731 103.919C182.404 110.682 176.859 117.997 172.816 123.333C171.045 125.673 169.21 128.09 168.658 129.903C166.361 137.514 171.597 155.308 187.088 167.586L183.905 171.623C167.349 158.497 160.56 138.98 163.755 128.412C164.577 125.712 166.592 123.05 168.735 120.222C173.137 114.423 175.614 110.643 172.842 107.288C171.79 106.491 166.451 106.645 155.272 117.2C154.694 117.753 153.886 117.997 153.103 117.869C152.307 117.74 151.627 117.252 151.255 116.545L132.607 81.574C132.607 81.574 132.555 81.4712 132.53 81.4197C131.541 79.2212 129.732 77.6527 127.704 77.2027C126.459 76.9327 125.946 77.2798 125.779 77.3955C124.996 77.9227 124.393 79.3241 124.072 81.3297C123.097 87.321 126.69 96.7708 130.22 104.086C132.735 108.445 134.48 111.903 134.981 112.906C135.597 114.14 135.135 115.632 133.929 116.3C132.735 116.969 131.221 116.57 130.502 115.4C130.284 115.04 128.115 111.492 125.702 106.555C119.824 96.4622 111.956 85.3411 106.656 83.7725C105.552 83.4511 104.962 83.6697 104.564 83.9011C103.717 84.4025 102.562 85.3668 102.267 87.9382C101.676 93.2609 105.154 101.592 109.39 108.831C114.164 113.948 117.963 119.99 119.233 122.086C119.901 123.179 119.644 124.606 118.656 125.416C117.655 126.226 116.217 126.174 115.28 125.3C112.791 122.973 108.927 118.023 105.385 112.16C101.342 107.866 97.3125 105.012 94.8355 106.285C94.0654 106.683 92.9873 107.493 92.6151 109.885C90.2921 125.004 118.656 168.602 142.63 192.349L139.024 196L139.011 195.961Z",
40
+ fill: colorValues.hands
41
+ }), /*#__PURE__*/React.createElement(Path, {
42
+ d: "M149.297 127.75L144.201 128.374L145.285 137.269L150.381 136.646L149.297 127.75Z",
43
+ fill: colorValues.hands
44
+ }), /*#__PURE__*/React.createElement(Path, {
45
+ d: "M139.526 110.602L109.59 127.958L112.161 132.409L142.098 115.053L139.526 110.602Z",
46
+ fill: colorValues.hands
47
+ }), /*#__PURE__*/React.createElement(Path, {
48
+ d: "M137.689 155.925C135.995 141.898 151.307 131.96 151.948 131.549L154.708 135.881C154.579 135.971 141.475 144.508 142.772 155.308L137.677 155.925H137.689Z",
49
+ fill: colorValues.hands
50
+ }));
51
+ };
52
+ export default PictogramHello;
53
+ //# sourceMappingURL=PictogramHello.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Svg","Path","PictogramHello","_ref","size","colorValues","props","createElement","_extends","width","height","viewBox","d","fill","secondary","stroke","main","strokeWidth","strokeLinejoin","hands"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramHello.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,kBAAkB;AAG5C,MAAMC,cAAc,GAAGC,IAAA;EAAA,IAAC;IAAEC,IAAI;IAAEC,WAAW;IAAE,GAAGC;EAAyB,CAAC,GAAAH,IAAA;EAAA,oBACxEJ,KAAA,CAAAQ,aAAA,CAACP,GAAG,EAAAQ,QAAA;IAACC,KAAK,EAAEL,IAAK;IAACM,MAAM,EAAEN,IAAK;IAACO,OAAO,EAAC;EAAa,GAAKL,KAAK,gBAC7DP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,ykBAAykB;IAC3kBC,IAAI,EAAER,WAAW,CAACS,SAAU;IAC5BC,MAAM,EAAEV,WAAW,CAACW,IAAK;IACzBC,WAAW,EAAE,CAAE;IACfC,cAAc,EAAC;EAAO,CACvB,CAAC,eACFnB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,4cAA4c;IAC9cC,IAAI,EAAER,WAAW,CAACS,SAAU;IAC5BC,MAAM,EAAEV,WAAW,CAACW,IAAK;IACzBC,WAAW,EAAE,CAAE;IACfC,cAAc,EAAC;EAAO,CACvB,CAAC,eACFnB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,ueAAue;IACzeC,IAAI,EAAER,WAAW,CAACS,SAAU;IAC5BC,MAAM,EAAEV,WAAW,CAACW,IAAK;IACzBC,WAAW,EAAE,CAAE;IACfC,cAAc,EAAC;EAAO,CACvB,CAAC,eACFnB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,6eAA6e;IAC/eC,IAAI,EAAER,WAAW,CAACS,SAAU;IAC5BC,MAAM,EAAEV,WAAW,CAACW,IAAK;IACzBC,WAAW,EAAE,CAAE;IACfC,cAAc,EAAC;EAAO,CACvB,CAAC,eACFnB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,6hEAA6hE;IAC/hEC,IAAI,EAAER,WAAW,CAACc;EAAM,CACzB,CAAC,eACFpB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,iFAAiF;IACnFC,IAAI,EAAER,WAAW,CAACc;EAAM,CACzB,CAAC,eACFpB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,kFAAkF;IACpFC,IAAI,EAAER,WAAW,CAACc;EAAM,CACzB,CAAC,eACFpB,KAAA,CAAAQ,aAAA,CAACN,IAAI;IACHW,CAAC,EAAC,0JAA0J;IAC5JC,IAAI,EAAER,WAAW,CAACc;EAAM,CACzB,CACE,CAAC;AAAA,CACP;AAED,eAAejB,cAAc"}
@@ -0,0 +1,91 @@
1
+ <svg viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_15349_26782)">
3
+ <path
4
+ d="M176.99 121.75L176.44 117.27L172.07 117.8L172.99 125.34C174.47 123.79 175.91 122.58 176.99 121.76V121.75Z"
5
+ fill="#0B3EE3"
6
+ />
7
+ <path
8
+ d="M153.72 158.8C156.62 163.52 159.63 168.41 167.72 175.69L170.67 172.42C163.05 165.56 160.34 161.16 157.48 156.49C154.97 152.4 152.37 148.17 146.55 142.18C145.54 143.23 144.52 144.28 143.48 145.34C148.89 150.93 151.35 154.93 153.73 158.79L153.72 158.8Z"
9
+ fill="#0B3EE3"
10
+ />
11
+ <path
12
+ d="M165.879 101.9L166.019 102.14C167.969 98 173.489 94.2 183.549 90.03C186.189 88.94 188.649 88.57 190.909 88.89C196.019 80.64 198.889 74.82 198.889 74.82C213.739 60.08 208.539 43.32 208.539 43.32C206.109 33.27 192.999 27.7 192.999 27.7C192.999 27.7 171.449 17.65 160.269 46.27C149.089 74.89 162.799 75.98 162.799 75.98C166.359 76.73 164.539 81.24 164.539 81.24C163.839 83.52 161.099 87.8 157.469 92.83C157.889 93.03 158.309 93.23 158.739 93.46C162.129 95.31 164.299 99.11 165.889 101.89L165.879 101.9ZM179.839 70.8C188.489 66.69 193.829 60.97 195.689 53.79C197.069 48.5 195.959 44.42 195.949 44.38C195.729 43.58 196.189 42.75 196.989 42.53C197.779 42.31 198.609 42.77 198.839 43.57C198.889 43.76 203.889 62.7 181.129 73.51C180.919 73.61 180.699 73.66 180.489 73.66C179.929 73.66 179.389 73.34 179.129 72.8C178.769 72.05 179.089 71.16 179.839 70.8Z"
13
+ fill="#AAEEEF"
14
+ />
15
+ <path
16
+ d="M144.03 150.22C149.69 146.71 154.89 142.51 159.54 137.75C165.1 132.05 168.75 128.41 168.75 128.41C172.19 125.17 180.35 114.8 183.39 111.28C181.82 111 169.71 113.28 168.75 112.52C168.28 113.52 167.54 114.53 166.39 115.53C164.25 117.39 162.18 117.91 160.14 117.55C160.47 118.49 160.68 119.43 160.76 120.35C160.96 122.68 160.25 124.79 158.72 126.47C157.26 128.08 155.31 128.92 153.13 128.89C151.8 128.88 150.42 128.54 149.05 128C150.43 130.19 151.16 132.19 150.83 134.27C150.49 136.46 149.07 138.33 146.35 140.14C145.47 140.73 144.5 140.99 143.47 140.99C137.53 140.99 129.77 132.36 127.17 129.26C123.19 132.46 121.03 133.68 119.85 131.54C117.6 127.48 111.06 126.94 111.06 126.94C100.27 125.39 94.6701 128.35 94.6701 128.35C89.3501 130.58 85.8601 132.93 82.6301 135.63C68.8701 147.15 73.1101 169.7 90.3001 174.86C90.3901 174.89 90.4601 174.91 90.5001 174.93C114.21 181.33 122.2 163.11 122.2 163.11C122.2 163.11 134.34 156.19 144.01 150.2L144.03 150.22ZM119.25 145.43C119.05 146.16 114.13 163.36 89.7601 165.5C89.7201 165.5 89.6701 165.5 89.6301 165.5C88.8601 165.5 88.2101 164.91 88.1401 164.13C88.0701 163.3 88.6801 162.58 89.5001 162.51C111.81 160.55 116.31 144.8 116.36 144.64C116.58 143.84 117.4 143.37 118.2 143.58C119 143.8 119.47 144.62 119.26 145.42L119.25 145.43Z"
17
+ fill="#AAEEEF"
18
+ />
19
+ <path
20
+ d="M180.481 73.65C180.701 73.65 180.911 73.6 181.121 73.5C203.881 62.69 198.881 43.75 198.831 43.56C198.611 42.76 197.771 42.29 196.981 42.52C196.181 42.74 195.721 43.57 195.941 44.37C195.951 44.41 197.061 48.49 195.681 53.78C193.821 60.96 188.481 66.68 179.831 70.79C179.081 71.15 178.761 72.04 179.121 72.79C179.381 73.33 179.911 73.65 180.481 73.65Z"
21
+ fill="#00C5CA"
22
+ />
23
+ <path
24
+ d="M118.19 143.59C117.39 143.38 116.57 143.85 116.35 144.65C116.31 144.81 111.8 160.56 89.4901 162.52C88.6601 162.59 88.0501 163.32 88.1301 164.14C88.2001 164.92 88.8501 165.51 89.6201 165.51C89.6601 165.51 89.7101 165.51 89.7501 165.51C114.13 163.37 119.04 146.17 119.24 145.44C119.46 144.64 118.98 143.82 118.18 143.6L118.19 143.59Z"
25
+ fill="#00C5CA"
26
+ />
27
+ <path
28
+ d="M183.36 111.91C188.25 109.56 192.3 106.32 192.47 106.18L189.71 102.75C187.18 104.78 181.02 108.91 176.18 109.79C175 111.26 173.77 112.72 172.52 114.18C175.11 114.64 178.61 114.19 183.36 111.91Z"
29
+ fill="#0B3EE3"
30
+ />
31
+ <path
32
+ d="M193.051 119.07C193.491 117.62 194.771 116.17 196.121 114.63C199.231 111.1 203.481 106.26 200.371 97.56C200.151 96.84 198.481 91.97 193.951 89.79C192.991 89.33 191.971 89.04 190.911 88.89C190.051 90.28 189.121 91.75 188.131 93.26C189.581 93.05 190.881 93.21 192.021 93.74C195.021 95.17 196.161 98.83 196.171 98.86C196.181 98.9 196.201 98.95 196.211 98.99C198.471 105.28 195.851 108.26 192.811 111.71C191.211 113.53 189.551 115.42 188.841 117.78C186.101 126.82 191.931 143.53 206.121 154.76L208.851 151.31C195.571 140.8 191.081 125.57 193.051 119.06V119.07Z"
33
+ fill="#0B3EE3"
34
+ />
35
+ <path
36
+ d="M183.55 90.03C173.49 94.2 167.97 97.99 166.02 102.14L166.22 102.49C166.38 102.77 166.61 103.1 166.86 103.45C168.06 105.17 170.53 108.72 168.75 112.52C169.71 113.28 170.94 113.9 172.51 114.19C173.77 112.73 174.99 111.27 176.17 109.8C173.98 110.2 172.06 109.93 170.87 108.49C169.43 106.74 169.51 105.55 169.69 104.81C170.48 101.65 175.7 98.05 185.22 94.11C186.24 93.69 187.21 93.41 188.12 93.28C189.11 91.76 190.04 90.3 190.9 88.91C188.64 88.59 186.18 88.96 183.54 90.05L183.55 90.03Z"
37
+ fill="#0B3EE3"
38
+ />
39
+ <path d="M179.92 122.35L181.1 124.21L179.92 122.35Z" fill="#0B3EE3" />
40
+ <path
41
+ d="M178.73 120.5C178.61 120.57 177.95 121.01 176.98 121.75L177.36 124.88L172.99 125.41V125.34C169.43 129.05 165.69 134.66 166.5 141.37L170.87 140.84C169.76 131.61 180.95 124.31 181.09 124.21L179.91 122.35L178.73 120.49V120.5Z"
42
+ fill="#0B3EE3"
43
+ />
44
+ <path
45
+ d="M177.37 124.87L176.99 121.74C175.92 122.57 174.47 123.78 172.99 125.32V125.39L177.37 124.86V124.87Z"
46
+ fill="#0B3EE3"
47
+ />
48
+ <path
49
+ d="M130.411 126.33C130.231 126.09 130.051 125.86 129.891 125.64C129.691 125.35 129.551 125.05 129.491 124.72C129.351 124 129.471 122.02 130.731 120.49C131.871 119.11 133.721 118.37 136.221 118.29C136.391 118.54 136.561 118.77 136.741 119.01C137.671 117.91 138.661 116.72 139.711 115.45C139.531 115.25 139.351 115.06 139.191 114.87C139.111 114.78 139.031 114.7 138.941 114.63C139.161 112.24 140.221 107.45 145.211 106.13C145.621 106.5 146.011 106.86 146.401 107.23C147.331 106.07 148.271 104.89 149.201 103.7C148.651 103.23 148.211 102.87 147.961 102.67C148.011 100.57 148.551 97.27 150.251 96.19C151.421 95.45 153.151 95.8 154.781 96.45C155.711 95.21 156.601 94 157.451 92.82C153.601 91.01 150.381 90.88 147.891 92.47C144.451 94.66 143.711 99.33 143.591 102C137.221 103.92 134.991 109.76 134.571 114C130.771 114.48 128.571 116.2 127.341 117.68C124.981 120.54 124.871 123.97 125.171 125.54C125.351 126.48 125.731 127.36 126.291 128.16C126.311 128.19 126.631 128.6 127.181 129.26C128.261 128.39 129.361 127.4 130.401 126.32L130.411 126.33Z"
50
+ fill="#0B3EE3"
51
+ />
52
+ <path
53
+ d="M143.489 141C144.519 141 145.489 140.74 146.369 140.15C149.089 138.33 150.509 136.46 150.849 134.28C151.169 132.19 150.439 130.2 149.069 128.01C150.439 128.55 151.819 128.88 153.149 128.9C155.339 128.93 157.279 128.09 158.739 126.48C160.269 124.8 160.969 122.69 160.779 120.36C160.699 119.43 160.479 118.49 160.159 117.56C162.199 117.91 164.269 117.4 166.409 115.54C167.559 114.54 168.299 113.53 168.769 112.53C168.279 112.14 167.859 111.73 167.499 111.29C165.499 108.86 164.809 106.32 165.449 103.74C165.579 103.2 165.779 102.67 166.029 102.15L165.889 101.91C164.309 99.13 162.139 95.33 158.739 93.48C158.309 93.24 157.889 93.04 157.469 92.85C156.619 94.02 155.729 95.24 154.799 96.48C155.439 96.74 156.069 97.04 156.639 97.35C158.939 98.6 160.749 101.78 162.069 104.1L162.409 104.7C162.649 105.12 162.949 105.54 163.259 105.99C165.209 108.78 165.829 110.22 163.509 112.23C161.269 114.18 159.369 113.35 154.539 108.88C152.549 106.66 150.539 104.85 149.219 103.72C148.289 104.9 147.349 106.08 146.419 107.25C147.419 108.18 148.399 109.11 149.329 110.01C149.999 110.66 150.669 111.3 151.329 111.92C153.879 114.76 156.159 118.05 156.389 120.75C156.479 121.87 156.199 122.76 155.479 123.54C154.849 124.23 154.199 124.54 153.189 124.52C149.299 124.48 143.099 119.17 139.719 115.46C138.669 116.73 137.679 117.92 136.749 119.02C138.449 121.4 140.079 123.46 141.549 125.3C144.469 128.96 146.769 131.86 146.499 133.62C146.369 134.48 145.499 135.46 143.919 136.51C142.019 137.78 134.019 131.02 130.419 126.34C129.369 127.42 128.279 128.41 127.199 129.28C129.789 132.38 137.559 141.01 143.499 141.01L143.489 141Z"
54
+ fill="#0B3EE3"
55
+ />
56
+ <path
57
+ d="M167.49 111.28C167.85 111.71 168.27 112.13 168.76 112.52C170.53 108.72 168.07 105.17 166.87 103.45C166.62 103.09 166.39 102.77 166.23 102.49L166.03 102.14C165.78 102.67 165.58 103.2 165.45 103.73C164.81 106.31 165.5 108.85 167.5 111.28H167.49Z"
58
+ fill="#0B3EE3"
59
+ />
60
+ <path
61
+ d="M63.0998 184.68C62.8498 184.68 62.5998 184.62 62.3598 184.48L45.3598 174.84C44.6398 174.43 44.3898 173.52 44.7898 172.8C45.1998 172.08 46.1198 171.83 46.8298 172.23L63.8298 181.87C64.5498 182.28 64.7998 183.19 64.3998 183.91C64.1198 184.4 63.6198 184.67 63.0898 184.67L63.0998 184.68Z"
62
+ fill="#00C5CA"
63
+ />
64
+ <path
65
+ d="M48.4204 215.54C47.9904 215.54 47.5704 215.36 47.2704 215C46.7404 214.37 46.8204 213.42 47.4504 212.89L67.0704 196.41C67.7004 195.88 68.6504 195.96 69.1804 196.59C69.7104 197.22 69.6304 198.17 69.0004 198.7L49.3804 215.18C49.1004 215.42 48.7604 215.53 48.4204 215.53V215.54Z"
66
+ fill="#00C5CA"
67
+ />
68
+ <path
69
+ d="M32.5001 192.78C31.6801 192.78 31.0201 192.13 31.0001 191.31C30.9901 190.48 31.6401 189.8 32.4701 189.78L61.7601 189.26H61.7901C62.6101 189.26 63.2701 189.91 63.2901 190.73C63.3001 191.56 62.6501 192.24 61.8201 192.26L32.5301 192.78H32.5001Z"
70
+ fill="#00C5CA"
71
+ />
72
+ <path
73
+ d="M71.5586 192.67V192.71C71.5586 192.71 71.5786 192.71 71.5886 192.71L71.5586 192.67Z"
74
+ fill="#AAEEEF"
75
+ />
76
+ <path
77
+ d="M90.7491 172.96C90.5991 173.41 86.9991 183.57 73.2091 185.5L75.5691 186.76L71.2891 188.87V188.91H77.3291L71.8891 190.72L74.8791 191.46L74.3491 192.4C92.4691 189.81 97.2091 175.74 97.4091 175.11L90.7491 172.95V172.96Z"
78
+ fill="#AAEEEF"
79
+ />
80
+ </g>
81
+ <defs>
82
+ <clipPath id="clip0_15349_26782">
83
+ <rect
84
+ width="178.42"
85
+ height="189.54"
86
+ fill="white"
87
+ transform="translate(31 26)"
88
+ />
89
+ </clipPath>
90
+ </defs>
91
+ </svg>;
@@ -0,0 +1,34 @@
1
+ <svg viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_14946_5273)">
3
+ <path
4
+ d="M191.363 186.548L142.458 72.3504C141.322 69.5959 138.811 67.6788 135.882 67.3257L116.86 65.0453L115.554 61.1708C115.016 59.5665 113.103 58.1035 111.29 57.8916L105.471 57.2257C106.756 55.6012 107.035 53.4218 106.248 51.0809C104.743 46.601 99.6316 42.6457 94.6196 42.0706C91.8096 41.7477 89.3983 42.565 88.0133 44.3207C86.7279 45.9451 86.4489 48.1246 87.236 50.4654C87.8538 52.3119 89.0994 54.0675 90.6837 55.5306L85.8211 54.9756C84.0076 54.7637 82.9713 55.8938 83.5094 57.4981L84.7549 61.2011L65.1652 58.8602C58.9774 58.1237 54.2842 64.3895 56.6557 70.2215L80.7991 125.756L96.6722 126.432L109.436 129.288L117.238 132.466L120.148 134.403L122.739 135.987L123.277 138.52L123.645 141.053L122.091 145.422C122.091 145.422 121.573 146.148 121.374 146.39C121.174 146.632 122.739 148.438 122.739 148.438L126.376 151.445L127.153 153.009L127.402 155.471C127.402 155.471 128.179 156.995 127.402 157.307C126.625 157.62 125.479 159.366 125.479 159.366L123.675 160.819V161.697C123.675 161.697 121.374 161.888 120.836 162.05C120.297 162.211 119.839 162.978 119.839 162.978L121.962 167.781L122.001 170.384L119.261 173.048L117.488 175.278C117.488 175.278 114.06 175.974 112.665 176.529C111.27 177.084 109.058 177.82 109.058 177.82L105.451 179.142L107.663 185.519C108.709 188.546 111.399 190.685 114.548 191.008L183.003 197.96C189.151 198.585 193.734 192.329 191.353 186.548H191.363ZM90.8132 46.601C91.3114 45.9754 92.2381 45.6424 93.4139 45.6424C93.673 45.6424 93.932 45.6626 94.211 45.6929C97.8281 46.1066 101.784 49.1134 102.84 52.2614C103.059 52.9072 103.328 54.118 102.661 54.9453C102.063 55.7021 100.827 56.0351 99.2629 55.8534C95.6459 55.4397 91.6901 52.433 90.6339 49.2849C90.4146 48.6392 90.1456 47.4284 90.8132 46.601Z"
5
+ fill="#AAEEEF"
6
+ />
7
+ <path
8
+ d="M99.2923 181.321C81.3866 181.321 69.1704 167.377 69.0109 167.185C52.4304 148.015 45.1565 130.085 47.3985 113.911C49.8895 95.981 63.2018 87.0918 63.7697 86.7285L65.932 90.1188L64.8558 88.4236L65.9419 90.1188C65.8224 90.1995 53.5464 98.4429 51.3443 114.546C49.3016 129.49 56.2567 146.309 72.0202 164.542C72.8472 165.5 92.4469 187.739 118.205 171.342C118.234 171.322 118.264 171.302 118.294 171.292C118.932 170.919 120.646 169.607 120.745 168.104C120.845 166.61 119.33 165.097 118.045 164.088L120.486 160.899C123.496 163.25 124.92 165.783 124.721 168.416C124.442 172.21 120.905 174.43 120.287 174.783C112.764 179.566 105.669 181.331 99.3023 181.331L99.2923 181.321Z"
9
+ fill="#0B3EE3"
10
+ />
11
+ <path
12
+ d="M110.472 165.47C102.261 165.47 94.1007 163.826 92.5762 163.503L93.3932 159.557C93.453 159.568 99.8302 160.91 106.895 161.303C115.534 161.787 121.552 160.667 123.874 158.135C124.143 157.671 125.289 155.501 124.133 153.393C122.728 150.85 117.138 146.693 95.3861 147.329L95.2665 143.293C113.531 142.748 124.412 145.512 127.64 151.486C130.072 155.996 127.232 160.314 127.112 160.486C127.062 160.556 127.013 160.617 126.963 160.677C123.744 164.391 117.088 165.46 110.462 165.46L110.472 165.47Z"
13
+ fill="#0B3EE3"
14
+ />
15
+ <path
16
+ d="M121.821 148.852L119.051 145.946L120.436 147.399L119.041 145.956C119.161 145.835 122.001 142.949 120.815 139.66C119.48 135.937 112.256 129.288 78.9551 126.563L79.2739 122.538C106.417 124.757 121.652 130.065 124.571 138.318C126.604 144.069 122.001 148.65 121.811 148.842L121.821 148.852Z"
17
+ fill="#0B3EE3"
18
+ />
19
+ <path
20
+ d="M184.886 192.874C184.836 192.874 184.786 192.874 184.736 192.874L116.969 185.832C116.152 185.751 115.554 185.004 115.634 184.167C115.714 183.329 116.451 182.744 117.278 182.815L182.514 189.585L134.945 77.8293C134.616 77.0624 134.965 76.1745 135.722 75.8416C136.479 75.5086 137.356 75.8617 137.685 76.6286L186.261 190.755C186.47 191.25 186.41 191.815 186.091 192.249C185.812 192.642 185.364 192.864 184.886 192.864V192.874Z"
21
+ fill="#00C5CA"
22
+ />
23
+ </g>
24
+ <defs>
25
+ <clipPath id="clip0_14946_5273">
26
+ <rect
27
+ width="145"
28
+ height="156"
29
+ fill="white"
30
+ transform="translate(47 42)"
31
+ />
32
+ </clipPath>
33
+ </defs>
34
+ </svg>;
@@ -0,0 +1,46 @@
1
+ <svg viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M67.47 125.11C67.4583 125.144 67.4474 125.178 67.4373 125.213C67.4403 125.203 67.2992 125.644 67.1195 126.364C66.9403 127.082 66.7169 128.096 66.519 129.348C66.124 131.848 65.8258 135.326 66.1965 139.314C66.9424 147.339 70.4047 157.396 81.0528 165.567C81.8604 166.193 82.8154 166.486 83.7484 166.486C85.0805 166.486 86.3868 165.886 87.2585 164.75C88.7337 162.829 88.3917 160.032 86.4337 158.541C70.0526 145.991 75.6361 128.583 75.8493 127.952L75.8493 127.952L75.8531 127.941C76.6199 125.637 75.3846 123.141 73.0936 122.347L73.0573 122.334C70.7563 121.576 68.264 122.783 67.47 125.11Z"
4
+ fill="#00C5CA"
5
+ stroke="#AAEEEF"
6
+ stroke-width="5"
7
+ stroke-linejoin="round"
8
+ />
9
+ <path
10
+ d="M77.0725 183.625C77.2044 183.625 77.3338 183.614 77.4601 183.595C78.6546 183.49 79.7958 182.901 80.5827 181.876C82.0578 179.955 81.7159 177.158 79.7582 175.667C45.2189 149.19 56.9812 112.426 57.5204 110.8C58.3109 108.482 57.0472 105.966 54.7507 105.191C52.4006 104.384 49.9235 105.693 49.1438 107.95L49.1346 107.977C49.0055 108.365 45.4372 119.393 46.8165 134.141C48.203 148.965 54.5992 167.542 74.378 182.706C75.1854 183.331 76.1399 183.625 77.0725 183.625Z"
11
+ fill="#00C5CA"
12
+ stroke="#AAEEEF"
13
+ stroke-width="5"
14
+ stroke-linejoin="round"
15
+ />
16
+ <path
17
+ d="M164.192 94.668C164.33 94.668 164.466 94.6568 164.598 94.6353C164.627 94.6331 164.655 94.6305 164.684 94.6273C167.14 94.3573 168.852 92.1304 168.59 89.7358L168.589 89.7325C168.553 89.407 167.744 83.2042 163.688 76.3378C159.59 69.3997 152.167 61.787 139.051 58.9578L139.051 58.9578L139.044 58.9564C136.699 58.4571 134.31 59.9358 133.795 62.3531C133.272 64.7501 134.805 67.107 137.193 67.6134C157.311 71.9597 159.709 90.0196 159.797 90.7518C160.063 93.0131 161.976 94.668 164.192 94.668Z"
18
+ fill="#00C5CA"
19
+ stroke="#AAEEEF"
20
+ stroke-width="5"
21
+ stroke-linejoin="round"
22
+ />
23
+ <path
24
+ d="M188.077 102.318C188.215 102.318 188.351 102.307 188.483 102.285C188.511 102.283 188.54 102.28 188.568 102.277C191.024 102.007 192.737 99.7802 192.474 97.3856L192.472 97.3663C192.424 96.9566 190.947 85.4595 183.411 72.7174C175.833 59.9059 162.124 45.8438 137.767 40.598L137.767 40.598L137.761 40.5968C135.415 40.0975 133.027 41.5762 132.512 43.9935C131.989 46.3906 133.522 48.7476 135.91 49.2539C178.49 58.4422 183.486 96.7894 183.682 98.4039C183.949 100.664 185.861 102.318 188.077 102.318Z"
25
+ fill="#00C5CA"
26
+ stroke="#AAEEEF"
27
+ stroke-width="5"
28
+ stroke-linejoin="round"
29
+ />
30
+ <path
31
+ d="M139.011 195.961C116.615 173.783 84.6579 127.807 87.5328 109.062C88.2002 104.716 90.5873 102.646 92.474 101.669C94.8868 100.422 97.4537 100.602 100.021 101.669C97.9285 96.578 96.6836 91.5252 97.1456 87.3596C97.5435 83.7982 99.1991 81.0597 101.946 79.4526C103.768 78.3855 105.886 78.1669 108.106 78.8226C111.674 79.8898 115.511 83.3611 119.144 87.7067C118.746 85.1482 118.643 82.6926 119.002 80.494C119.567 76.9841 120.876 74.5027 122.891 73.1271C124.521 72.0085 126.575 71.6742 128.795 72.1628C132.376 72.9471 135.494 75.5699 137.163 79.1955L154.22 111.183C161.651 104.626 167.734 101.515 172.354 101.901C175.011 102.119 176.346 103.456 176.731 103.919C182.404 110.682 176.859 117.997 172.816 123.333C171.045 125.673 169.21 128.09 168.658 129.903C166.361 137.514 171.597 155.308 187.088 167.586L183.905 171.623C167.349 158.497 160.56 138.98 163.755 128.412C164.577 125.712 166.592 123.05 168.735 120.222C173.137 114.423 175.614 110.643 172.842 107.288C171.79 106.491 166.451 106.645 155.272 117.2C154.694 117.753 153.886 117.997 153.103 117.869C152.307 117.74 151.627 117.252 151.255 116.545L132.607 81.574C132.607 81.574 132.555 81.4712 132.53 81.4197C131.541 79.2212 129.732 77.6527 127.704 77.2027C126.459 76.9327 125.946 77.2798 125.779 77.3955C124.996 77.9227 124.393 79.3241 124.072 81.3297C123.097 87.321 126.69 96.7708 130.22 104.086C132.735 108.445 134.48 111.903 134.981 112.906C135.597 114.14 135.135 115.632 133.929 116.3C132.735 116.969 131.221 116.57 130.502 115.4C130.284 115.04 128.115 111.492 125.702 106.555C119.824 96.4622 111.956 85.3411 106.656 83.7725C105.552 83.4511 104.962 83.6697 104.564 83.9011C103.717 84.4025 102.562 85.3668 102.267 87.9382C101.676 93.2609 105.154 101.592 109.39 108.831C114.164 113.948 117.963 119.99 119.233 122.086C119.901 123.179 119.644 124.606 118.656 125.416C117.655 126.226 116.217 126.174 115.28 125.3C112.791 122.973 108.927 118.023 105.385 112.16C101.342 107.866 97.3125 105.012 94.8355 106.285C94.0654 106.683 92.9873 107.493 92.6151 109.885C90.2921 125.004 118.656 168.602 142.63 192.349L139.024 196L139.011 195.961Z"
32
+ fill="#0B3EE3"
33
+ />
34
+ <path
35
+ d="M149.297 127.75L144.201 128.374L145.285 137.269L150.381 136.646L149.297 127.75Z"
36
+ fill="#0B3EE3"
37
+ />
38
+ <path
39
+ d="M139.526 110.602L109.59 127.958L112.161 132.409L142.098 115.053L139.526 110.602Z"
40
+ fill="#0B3EE3"
41
+ />
42
+ <path
43
+ d="M137.689 155.925C135.995 141.898 151.307 131.96 151.948 131.549L154.708 135.881C154.579 135.971 141.475 144.508 142.772 155.308L137.677 155.925H137.689Z"
44
+ fill="#0B3EE3"
45
+ />
46
+ </svg>;
@@ -0,0 +1,62 @@
1
+ import * as React from "react";
2
+ import { useState } from "react";
3
+ import { Pressable, View } from "react-native";
4
+ import { IOStyles } from "../../core/IOStyles";
5
+ import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
6
+ import { HSpacer } from "../spacer/Spacer";
7
+ import { H6 } from "../typography/H6";
8
+ import { AnimatedRadio } from "./AnimatedRadio";
9
+ const DISABLED_OPACITY = 0.5;
10
+
11
+ // disabled: the component is no longer touchable
12
+ // onPress:
13
+ /**
14
+ * A radio button with the automatic state management that uses a {@link AnimatedRadio}
15
+ * The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
16
+ *
17
+ * @param props
18
+ * @constructor
19
+ */
20
+ export const RadioButtonLabel = _ref => {
21
+ let {
22
+ label,
23
+ checked,
24
+ disabled,
25
+ onValueChange
26
+ } = _ref;
27
+ const [toggleValue, setToggleValue] = useState(checked ?? false);
28
+ const toggleRadioButton = () => {
29
+ triggerHaptic("impactLight");
30
+ setToggleValue(!toggleValue);
31
+ if (onValueChange !== undefined) {
32
+ onValueChange(!toggleValue);
33
+ }
34
+ };
35
+ return /*#__PURE__*/React.createElement(Pressable, {
36
+ disabled: disabled,
37
+ onPress: toggleRadioButton,
38
+ testID: "AnimatedRadioButton",
39
+ style: {
40
+ alignSelf: "flex-start",
41
+ opacity: disabled ? DISABLED_OPACITY : 1
42
+ }
43
+ }, /*#__PURE__*/React.createElement(View, {
44
+ style: [IOStyles.row, {
45
+ alignItems: "flex-start",
46
+ flexShrink: 1,
47
+ width: "100%"
48
+ }]
49
+ }, /*#__PURE__*/React.createElement(View, {
50
+ pointerEvents: "none"
51
+ }, /*#__PURE__*/React.createElement(AnimatedRadio, {
52
+ checked: checked ?? toggleValue
53
+ })), /*#__PURE__*/React.createElement(HSpacer, {
54
+ size: 8
55
+ }), /*#__PURE__*/React.createElement(H6, {
56
+ style: {
57
+ flexShrink: 1
58
+ },
59
+ color: "black"
60
+ }, label)));
61
+ };
62
+ //# sourceMappingURL=RadioButtonLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","Pressable","View","IOStyles","triggerHaptic","HSpacer","H6","AnimatedRadio","DISABLED_OPACITY","RadioButtonLabel","_ref","label","checked","disabled","onValueChange","toggleValue","setToggleValue","toggleRadioButton","undefined","createElement","onPress","testID","style","alignSelf","opacity","row","alignItems","flexShrink","width","pointerEvents","size","color"],"sourceRoot":"../../../../src","sources":["components/radio/RadioButtonLabel.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,QAAQ,OAAO;AAChC,SAASC,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAC9C,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,aAAa,QAAQ,gDAAgD;AAC9E,SAASC,OAAO,QAAQ,kBAAkB;AAC1C,SAASC,EAAE,QAAQ,kBAAkB;AACrC,SAASC,aAAa,QAAQ,iBAAiB;AAQ/C,MAAMC,gBAAgB,GAAG,GAAG;;AAE5B;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGC,IAAA,IAKhB;EAAA,IALiB;IAC/BC,KAAK;IACLC,OAAO;IACPC,QAAQ;IACRC;EACQ,CAAC,GAAAJ,IAAA;EACT,MAAM,CAACK,WAAW,EAAEC,cAAc,CAAC,GAAGhB,QAAQ,CAACY,OAAO,IAAI,KAAK,CAAC;EAEhE,MAAMK,iBAAiB,GAAGA,CAAA,KAAM;IAC9Bb,aAAa,CAAC,aAAa,CAAC;IAC5BY,cAAc,CAAC,CAACD,WAAW,CAAC;IAC5B,IAAID,aAAa,KAAKI,SAAS,EAAE;MAC/BJ,aAAa,CAAC,CAACC,WAAW,CAAC;IAC7B;EACF,CAAC;EAED,oBACEhB,KAAA,CAAAoB,aAAA,CAAClB,SAAS;IACRY,QAAQ,EAAEA,QAAS;IACnBO,OAAO,EAAEH,iBAAkB;IAC3BI,MAAM,EAAC,qBAAqB;IAC5BC,KAAK,EAAE;MACLC,SAAS,EAAE,YAAY;MACvBC,OAAO,EAAEX,QAAQ,GAAGL,gBAAgB,GAAG;IACzC;EAAE,gBAEFT,KAAA,CAAAoB,aAAA,CAACjB,IAAI;IACHoB,KAAK,EAAE,CACLnB,QAAQ,CAACsB,GAAG,EACZ;MAAEC,UAAU,EAAE,YAAY;MAAEC,UAAU,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAO,CAAC;EAC1D,gBAEF7B,KAAA,CAAAoB,aAAA,CAACjB,IAAI;IAAC2B,aAAa,EAAC;EAAM,gBACxB9B,KAAA,CAAAoB,aAAA,CAACZ,aAAa;IAACK,OAAO,EAAEA,OAAO,IAAIG;EAAY,CAAE,CAC7C,CAAC,eACPhB,KAAA,CAAAoB,aAAA,CAACd,OAAO;IAACyB,IAAI,EAAE;EAAE,CAAE,CAAC,eACpB/B,KAAA,CAAAoB,aAAA,CAACb,EAAE;IAACgB,KAAK,EAAE;MAAEK,UAAU,EAAE;IAAE,CAAE;IAACI,KAAK,EAAE;EAAQ,GAC1CpB,KACC,CACA,CACG,CAAC;AAEhB,CAAC"}
@@ -1,29 +1,33 @@
1
1
  import React from "react";
2
- import { View } from "react-native";
3
2
  import { Divider } from "../divider";
4
- import { ListItemRadio } from "../listitems/ListItemRadio";
3
+ import { ListItemRadio, ListItemRadioWithAmount } from "../listitems";
5
4
  /**
6
5
  * A list of radio buttons.
7
6
  * The management of the selection is demanded and derived by the `selectedItem` prop.
8
7
  * The item with the `id` equal to the `selectedItem` is the active one.
9
8
  */
10
- export const RadioGroup = _ref => {
11
- let {
12
- items,
13
- selectedItem,
14
- onPress
15
- } = _ref;
16
- return /*#__PURE__*/React.createElement(View, null, items.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, {
17
- key: `radio_item_${item.id}`
18
- }, /*#__PURE__*/React.createElement(ListItemRadio, {
19
- testID: `RadioItemTestID_${item.id}`,
20
- value: item.value,
21
- description: item.description,
22
- startImage: item.startImage,
23
- disabled: item.disabled,
24
- loadingProps: item.loadingProps,
25
- onValueChange: () => onPress(item.id),
26
- selected: selectedItem === item.id
27
- }), index < items.length - 1 && /*#__PURE__*/React.createElement(Divider, null))));
28
- };
9
+
10
+ const RadioListItem = props => /*#__PURE__*/React.createElement(React.Fragment, null, props.items.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, {
11
+ key: `radio_item_${item.id}`
12
+ }, /*#__PURE__*/React.createElement(ListItemRadio, {
13
+ testID: `RadioItemTestID_${item.id}`,
14
+ value: item.value,
15
+ description: item.description,
16
+ startImage: item.startImage,
17
+ disabled: item.disabled,
18
+ loadingProps: item.loadingProps,
19
+ onValueChange: () => props.onPress(item.id),
20
+ selected: props.selectedItem === item.id
21
+ }), index < props.items.length - 1 && /*#__PURE__*/React.createElement(Divider, null))));
22
+ const RadioListItemWithAmount = props => /*#__PURE__*/React.createElement(React.Fragment, null, props.items.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, {
23
+ key: `radio_item_${item.id}`
24
+ }, /*#__PURE__*/React.createElement(ListItemRadioWithAmount, {
25
+ label: item.label,
26
+ formattedAmountString: item.formattedAmountString,
27
+ suggestReason: item.isSuggested ? item.suggestReason : "",
28
+ isSuggested: item.isSuggested,
29
+ onValueChange: () => props.onPress(item.id),
30
+ selected: props.selectedItem === item.id
31
+ }), index < props.items.length - 1 && /*#__PURE__*/React.createElement(Divider, null))));
32
+ export const RadioGroup = props => /*#__PURE__*/React.createElement(React.Fragment, null, props.type === "radioListItem" && RadioListItem(props), props.type === "radioListItemWithAmount" && RadioListItemWithAmount(props));
29
33
  //# sourceMappingURL=RadioGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","Divider","ListItemRadio","RadioGroup","_ref","items","selectedItem","onPress","createElement","map","item","index","Fragment","key","id","testID","value","description","startImage","disabled","loadingProps","onValueChange","selected","length"],"sourceRoot":"../../../../src","sources":["components/radio/RadioGroup.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,aAAa,QAAQ,4BAA4B;AAiB1D;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAGC,IAAA;EAAA,IAAK;IAAEC,KAAK;IAAEC,YAAY;IAAEC;EAAkB,CAAC,GAAAH,IAAA;EAAA,oBACvEL,KAAA,CAAAS,aAAA,CAACR,IAAI,QACFK,KAAK,CAACI,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBACrBZ,KAAA,CAAAS,aAAA,CAACT,KAAK,CAACa,QAAQ;IAACC,GAAG,EAAG,cAAaH,IAAI,CAACI,EAAG;EAAE,gBAC3Cf,KAAA,CAAAS,aAAA,CAACN,aAAa;IACZa,MAAM,EAAG,mBAAkBL,IAAI,CAACI,EAAG,EAAE;IACrCE,KAAK,EAAEN,IAAI,CAACM,KAAM;IAClBC,WAAW,EAAEP,IAAI,CAACO,WAAY;IAC9BC,UAAU,EAAER,IAAI,CAACQ,UAAW;IAC5BC,QAAQ,EAAET,IAAI,CAACS,QAAS;IACxBC,YAAY,EAAEV,IAAI,CAACU,YAAa;IAChCC,aAAa,EAAEA,CAAA,KAAMd,OAAO,CAACG,IAAI,CAACI,EAAE,CAAE;IACtCQ,QAAQ,EAAEhB,YAAY,KAAKI,IAAI,CAACI;EAAG,CACpC,CAAC,EACDH,KAAK,GAAGN,KAAK,CAACkB,MAAM,GAAG,CAAC,iBAAIxB,KAAA,CAAAS,aAAA,CAACP,OAAO,MAAE,CACzB,CACjB,CACG,CAAC;AAAA,CACR"}
1
+ {"version":3,"names":["React","Divider","ListItemRadio","ListItemRadioWithAmount","RadioListItem","props","createElement","Fragment","items","map","item","index","key","id","testID","value","description","startImage","disabled","loadingProps","onValueChange","onPress","selected","selectedItem","length","RadioListItemWithAmount","label","formattedAmountString","suggestReason","isSuggested","RadioGroup","type"],"sourceRoot":"../../../../src","sources":["components/radio/RadioGroup.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,cAAc;AAyCrE;AACA;AACA;AACA;AACA;;AAEA,MAAMC,aAAa,GAAQC,KAA4B,iBACrDL,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACGF,KAAK,CAACG,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBAC3BX,KAAA,CAAAM,aAAA,CAACN,KAAK,CAACO,QAAQ;EAACK,GAAG,EAAG,cAAaF,IAAI,CAACG,EAAG;AAAE,gBAC3Cb,KAAA,CAAAM,aAAA,CAACJ,aAAa;EACZY,MAAM,EAAG,mBAAkBJ,IAAI,CAACG,EAAG,EAAE;EACrCE,KAAK,EAAEL,IAAI,CAACK,KAAM;EAClBC,WAAW,EAAEN,IAAI,CAACM,WAAY;EAC9BC,UAAU,EAAEP,IAAI,CAACO,UAAW;EAC5BC,QAAQ,EAAER,IAAI,CAACQ,QAAS;EACxBC,YAAY,EAAET,IAAI,CAACS,YAAa;EAChCC,aAAa,EAAEA,CAAA,KAAMf,KAAK,CAACgB,OAAO,CAACX,IAAI,CAACG,EAAE,CAAE;EAC5CS,QAAQ,EAAEjB,KAAK,CAACkB,YAAY,KAAKb,IAAI,CAACG;AAAG,CAC1C,CAAC,EACDF,KAAK,GAAGN,KAAK,CAACG,KAAK,CAACgB,MAAM,GAAG,CAAC,iBAAIxB,KAAA,CAAAM,aAAA,CAACL,OAAO,MAAE,CAC/B,CACjB,CACD,CACH;AAED,MAAMwB,uBAAuB,GAC3BpB,KAAsC,iBAEtCL,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACGF,KAAK,CAACG,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBAC3BX,KAAA,CAAAM,aAAA,CAACN,KAAK,CAACO,QAAQ;EAACK,GAAG,EAAG,cAAaF,IAAI,CAACG,EAAG;AAAE,gBAC3Cb,KAAA,CAAAM,aAAA,CAACH,uBAAuB;EACtBuB,KAAK,EAAEhB,IAAI,CAACgB,KAAM;EAClBC,qBAAqB,EAAEjB,IAAI,CAACiB,qBAAsB;EAClDC,aAAa,EAAElB,IAAI,CAACmB,WAAW,GAAGnB,IAAI,CAACkB,aAAa,GAAG,EAAG;EAC1DC,WAAW,EAAEnB,IAAI,CAACmB,WAAY;EAC9BT,aAAa,EAAEA,CAAA,KAAMf,KAAK,CAACgB,OAAO,CAACX,IAAI,CAACG,EAAE,CAAE;EAC5CS,QAAQ,EAAEjB,KAAK,CAACkB,YAAY,KAAKb,IAAI,CAACG;AAAG,CAC1C,CAAC,EACDF,KAAK,GAAGN,KAAK,CAACG,KAAK,CAACgB,MAAM,GAAG,CAAC,iBAAIxB,KAAA,CAAAM,aAAA,CAACL,OAAO,MAAE,CAC/B,CACjB,CACD,CACH;AACD,OAAO,MAAM6B,UAAU,GAAQzB,KAAe,iBAC5CL,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACGF,KAAK,CAAC0B,IAAI,KAAK,eAAe,IAAI3B,aAAa,CAACC,KAAK,CAAC,EACtDA,KAAK,CAAC0B,IAAI,KAAK,yBAAyB,IAAIN,uBAAuB,CAACpB,KAAK,CAC1E,CACH"}
@@ -1,3 +1,4 @@
1
1
  export * from "./AnimatedRadio";
2
+ export * from "./RadioButtonLabel";
2
3
  export * from "./RadioGroup";
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/radio/index.tsx"],"mappings":"AAAA,cAAc,iBAAiB;AAC/B,cAAc,cAAc"}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/radio/index.tsx"],"mappings":"AAAA,cAAc,iBAAiB;AAC/B,cAAc,oBAAoB;AAClC,cAAc,cAAc"}
@@ -14,8 +14,9 @@ const mapColorStates = {
14
14
  pressed: IOColors["grey-50"]
15
15
  },
16
16
  foreground: {
17
- default: "grey-650",
18
- selected: "black"
17
+ default: "black",
18
+ selected: "black",
19
+ disabled: "grey-700"
19
20
  }
20
21
  },
21
22
  dark: {
@@ -26,7 +27,8 @@ const mapColorStates = {
26
27
  },
27
28
  foreground: {
28
29
  default: "white",
29
- selected: "grey-850"
30
+ selected: "black",
31
+ disabled: "white"
30
32
  }
31
33
  }
32
34
  };
@@ -40,6 +42,7 @@ const TabItem = _ref => {
40
42
  accessibilityHint,
41
43
  testID,
42
44
  onPress,
45
+ disabled = false,
43
46
  icon,
44
47
  iconSelected
45
48
  } = _ref;
@@ -49,7 +52,7 @@ const TabItem = _ref => {
49
52
  onPressOut
50
53
  } = useSpringPressProgressValue(IOSpringValues.selection);
51
54
  const colors = mapColorStates[color];
52
- const foregroundColor = colors.foreground[selected ? "selected" : "default"];
55
+ const foregroundColor = colors.foreground[selected ? "selected" : disabled ? "disabled" : "default"];
53
56
  const opaquePressedBackgroundColor = hexToRgba(colors.background.pressed, 0.1);
54
57
  const isSelected = useSharedValue(0);
55
58
  const progressSelected = useDerivedValue(() => withSpring(isSelected.value, IOSpringValues.selection));
@@ -83,9 +86,10 @@ const TabItem = _ref => {
83
86
  onPress: onPress,
84
87
  onPressIn: onPressIn,
85
88
  onPressOut: onPressOut,
86
- accessible: true
89
+ accessible: true,
90
+ disabled: disabled
87
91
  }, /*#__PURE__*/React.createElement(Animated.View, {
88
- style: [styles.container, animatedStyle, fullWidth && styles.fullWidth]
92
+ style: [styles.container, animatedStyle, fullWidth && styles.fullWidth, disabled && styles.disabled]
89
93
  }, activeIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
90
94
  name: activeIcon,
91
95
  color: foregroundColor,
@@ -108,6 +112,9 @@ const styles = StyleSheet.create({
108
112
  },
109
113
  fullWidth: {
110
114
  alignSelf: "auto"
115
+ },
116
+ disabled: {
117
+ opacity: 0.5
111
118
  }
112
119
  });
113
120
  export { TabItem };