@telus-uds/palette-koodo 3.2.0 → 3.3.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 (386) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +10 -2
  3. package/build/android/border.xml +1 -1
  4. package/build/android/color.xml +1 -1
  5. package/build/android/font_size.xml +1 -1
  6. package/build/android/radius.xml +1 -1
  7. package/build/android/size.xml +1 -1
  8. package/build/ios/Border.swift +1 -1
  9. package/build/ios/Color.swift +1 -1
  10. package/build/ios/FontSize.swift +1 -1
  11. package/build/ios/Radius.swift +1 -1
  12. package/build/ios/Size.swift +1 -1
  13. package/build/rn/icons/Add.js +33 -17
  14. package/build/rn/icons/Add.native.js +31 -15
  15. package/build/rn/icons/Amex.js +36 -20
  16. package/build/rn/icons/Amex.native.js +34 -18
  17. package/build/rn/icons/AndroidEN.js +61 -45
  18. package/build/rn/icons/AndroidEN.native.js +59 -43
  19. package/build/rn/icons/AndroidFR.js +58 -42
  20. package/build/rn/icons/AndroidFR.native.js +56 -40
  21. package/build/rn/icons/ArrowDownCircled.js +32 -16
  22. package/build/rn/icons/ArrowDownCircled.native.js +30 -14
  23. package/build/rn/icons/ArrowLeft.js +33 -17
  24. package/build/rn/icons/ArrowLeft.native.js +31 -15
  25. package/build/rn/icons/ArrowRight.js +33 -17
  26. package/build/rn/icons/ArrowRight.native.js +31 -15
  27. package/build/rn/icons/BoxOutline.js +32 -16
  28. package/build/rn/icons/BoxOutline.native.js +30 -14
  29. package/build/rn/icons/BoxOutlineChecked.js +32 -16
  30. package/build/rn/icons/BoxOutlineChecked.native.js +30 -14
  31. package/build/rn/icons/Bullet.js +33 -17
  32. package/build/rn/icons/Bullet.native.js +31 -15
  33. package/build/rn/icons/BulletCircle.js +35 -19
  34. package/build/rn/icons/BulletCircle.native.js +33 -17
  35. package/build/rn/icons/BulletFill.js +35 -19
  36. package/build/rn/icons/BulletFill.native.js +33 -17
  37. package/build/rn/icons/CanadaFilled.js +42 -0
  38. package/build/rn/icons/CanadaFilled.native.js +41 -0
  39. package/build/rn/icons/Cart.js +33 -17
  40. package/build/rn/icons/Cart.native.js +31 -15
  41. package/build/rn/icons/CartFilled.js +35 -19
  42. package/build/rn/icons/CartFilled.native.js +33 -17
  43. package/build/rn/icons/Caution.js +35 -19
  44. package/build/rn/icons/Caution.native.js +33 -17
  45. package/build/rn/icons/Check.js +33 -17
  46. package/build/rn/icons/Check.native.js +31 -15
  47. package/build/rn/icons/CheckCircle.js +35 -19
  48. package/build/rn/icons/CheckCircle.native.js +33 -17
  49. package/build/rn/icons/CheckCircleFilled.js +35 -19
  50. package/build/rn/icons/CheckCircleFilled.native.js +33 -17
  51. package/build/rn/icons/CheckCircledFilled.js +32 -16
  52. package/build/rn/icons/CheckCircledFilled.native.js +30 -14
  53. package/build/rn/icons/CheckCircledNotFilled.js +38 -22
  54. package/build/rn/icons/CheckCircledNotFilled.native.js +36 -20
  55. package/build/rn/icons/ChevronDown.js +33 -17
  56. package/build/rn/icons/ChevronDown.native.js +31 -15
  57. package/build/rn/icons/ChevronLeft.js +33 -17
  58. package/build/rn/icons/ChevronLeft.native.js +31 -15
  59. package/build/rn/icons/ChevronRight.js +33 -17
  60. package/build/rn/icons/ChevronRight.native.js +31 -15
  61. package/build/rn/icons/ChevronUp.js +33 -17
  62. package/build/rn/icons/ChevronUp.native.js +31 -15
  63. package/build/rn/icons/CircledLine.js +43 -27
  64. package/build/rn/icons/CircledLine.native.js +41 -25
  65. package/build/rn/icons/Clipboard.js +33 -17
  66. package/build/rn/icons/Clipboard.native.js +31 -15
  67. package/build/rn/icons/Close.js +33 -17
  68. package/build/rn/icons/Close.native.js +31 -15
  69. package/build/rn/icons/ClosedCaptions.js +33 -17
  70. package/build/rn/icons/ClosedCaptions.native.js +31 -15
  71. package/build/rn/icons/Coaxial.js +35 -19
  72. package/build/rn/icons/Coaxial.native.js +33 -17
  73. package/build/rn/icons/CreditCard.js +33 -17
  74. package/build/rn/icons/CreditCard.native.js +31 -15
  75. package/build/rn/icons/DSL.js +35 -19
  76. package/build/rn/icons/DSL.native.js +33 -17
  77. package/build/rn/icons/Devices.js +35 -19
  78. package/build/rn/icons/Devices.native.js +33 -17
  79. package/build/rn/icons/Download.js +35 -19
  80. package/build/rn/icons/Download.native.js +33 -17
  81. package/build/rn/icons/ExclamationOctagon.js +35 -19
  82. package/build/rn/icons/ExclamationOctagon.native.js +33 -17
  83. package/build/rn/icons/ExclamationTriangle.js +35 -19
  84. package/build/rn/icons/ExclamationTriangle.native.js +33 -17
  85. package/build/rn/icons/Expand.js +33 -17
  86. package/build/rn/icons/Expand.native.js +31 -15
  87. package/build/rn/icons/EyeClosed.js +33 -17
  88. package/build/rn/icons/EyeClosed.native.js +31 -15
  89. package/build/rn/icons/EyeMasked.js +34 -18
  90. package/build/rn/icons/EyeMasked.native.js +32 -16
  91. package/build/rn/icons/EyeOpened.js +35 -19
  92. package/build/rn/icons/EyeOpened.native.js +33 -17
  93. package/build/rn/icons/EyeUnmasked.js +38 -22
  94. package/build/rn/icons/EyeUnmasked.native.js +36 -20
  95. package/build/rn/icons/FullscreenExpand.js +33 -17
  96. package/build/rn/icons/FullscreenExpand.native.js +31 -15
  97. package/build/rn/icons/FullscreenMinimize.js +33 -17
  98. package/build/rn/icons/FullscreenMinimize.native.js +31 -15
  99. package/build/rn/icons/Gift.js +35 -19
  100. package/build/rn/icons/Gift.native.js +33 -17
  101. package/build/rn/icons/Hamburger.js +33 -17
  102. package/build/rn/icons/Hamburger.native.js +31 -15
  103. package/build/rn/icons/IOSEN.js +53 -37
  104. package/build/rn/icons/IOSEN.native.js +51 -35
  105. package/build/rn/icons/IOSFR.js +53 -37
  106. package/build/rn/icons/IOSFR.native.js +51 -35
  107. package/build/rn/icons/IdCard.js +45 -29
  108. package/build/rn/icons/IdCard.native.js +43 -27
  109. package/build/rn/icons/IdTag.js +45 -29
  110. package/build/rn/icons/IdTag.native.js +43 -27
  111. package/build/rn/icons/Info.js +40 -24
  112. package/build/rn/icons/Info.native.js +38 -22
  113. package/build/rn/icons/InfoSelected.js +41 -25
  114. package/build/rn/icons/InfoSelected.native.js +39 -23
  115. package/build/rn/icons/InformationCircled.js +32 -16
  116. package/build/rn/icons/InformationCircled.native.js +30 -14
  117. package/build/rn/icons/InternetSpeed.js +33 -17
  118. package/build/rn/icons/InternetSpeed.native.js +31 -15
  119. package/build/rn/icons/Kebab.js +44 -28
  120. package/build/rn/icons/Kebab.native.js +42 -26
  121. package/build/rn/icons/LeftCircle.js +35 -19
  122. package/build/rn/icons/LeftCircle.native.js +33 -17
  123. package/build/rn/icons/LinkExternal.js +35 -19
  124. package/build/rn/icons/LinkExternal.native.js +33 -17
  125. package/build/rn/icons/LocationMap.js +35 -19
  126. package/build/rn/icons/LocationMap.native.js +33 -17
  127. package/build/rn/icons/LockFilled.js +35 -19
  128. package/build/rn/icons/LockFilled.native.js +33 -17
  129. package/build/rn/icons/Maintenance.js +35 -19
  130. package/build/rn/icons/Maintenance.native.js +33 -17
  131. package/build/rn/icons/MaintenanceFilled.js +35 -19
  132. package/build/rn/icons/MaintenanceFilled.native.js +33 -17
  133. package/build/rn/icons/MasterCard.js +40 -24
  134. package/build/rn/icons/MasterCard.native.js +38 -22
  135. package/build/rn/icons/Muted.js +33 -17
  136. package/build/rn/icons/Muted.native.js +31 -15
  137. package/build/rn/icons/Number1FilledMono.js +35 -19
  138. package/build/rn/icons/Number1FilledMono.native.js +33 -17
  139. package/build/rn/icons/Number1FilledMulti.js +46 -30
  140. package/build/rn/icons/Number1FilledMulti.native.js +44 -28
  141. package/build/rn/icons/Number2FilledMono.js +35 -19
  142. package/build/rn/icons/Number2FilledMono.native.js +33 -17
  143. package/build/rn/icons/Number2FilledMulti.js +37 -21
  144. package/build/rn/icons/Number2FilledMulti.native.js +35 -19
  145. package/build/rn/icons/Number3FilledMono.js +35 -19
  146. package/build/rn/icons/Number3FilledMono.native.js +33 -17
  147. package/build/rn/icons/Number3FilledMulti.js +37 -21
  148. package/build/rn/icons/Number3FilledMulti.native.js +35 -19
  149. package/build/rn/icons/Number4FilledMono.js +37 -21
  150. package/build/rn/icons/Number4FilledMono.native.js +35 -19
  151. package/build/rn/icons/Number4FilledMulti.js +37 -21
  152. package/build/rn/icons/Number4FilledMulti.native.js +35 -19
  153. package/build/rn/icons/Number5FilledMono.js +35 -19
  154. package/build/rn/icons/Number5FilledMono.native.js +33 -17
  155. package/build/rn/icons/Number5FilledMulti.js +37 -21
  156. package/build/rn/icons/Number5FilledMulti.native.js +35 -19
  157. package/build/rn/icons/OfferStarFilled.js +35 -19
  158. package/build/rn/icons/OfferStarFilled.native.js +33 -17
  159. package/build/rn/icons/Pause.js +33 -17
  160. package/build/rn/icons/Pause.native.js +31 -15
  161. package/build/rn/icons/PaymentAdd.js +33 -17
  162. package/build/rn/icons/PaymentAdd.native.js +31 -15
  163. package/build/rn/icons/Perk.js +35 -19
  164. package/build/rn/icons/Perk.native.js +33 -17
  165. package/build/rn/icons/Phone.js +33 -17
  166. package/build/rn/icons/Phone.native.js +31 -15
  167. package/build/rn/icons/PhoneTroubleshoot.js +35 -19
  168. package/build/rn/icons/PhoneTroubleshoot.native.js +33 -17
  169. package/build/rn/icons/Play.js +33 -17
  170. package/build/rn/icons/Play.native.js +31 -15
  171. package/build/rn/icons/PlaySolid.js +35 -19
  172. package/build/rn/icons/PlaySolid.native.js +33 -17
  173. package/build/rn/icons/PlayVideo.js +35 -19
  174. package/build/rn/icons/PlayVideo.native.js +33 -17
  175. package/build/rn/icons/PlugPlay.js +35 -19
  176. package/build/rn/icons/PlugPlay.native.js +33 -17
  177. package/build/rn/icons/Preference.js +35 -19
  178. package/build/rn/icons/Preference.native.js +33 -17
  179. package/build/rn/icons/Price.js +35 -19
  180. package/build/rn/icons/Price.native.js +33 -17
  181. package/build/rn/icons/Profile.js +35 -19
  182. package/build/rn/icons/Profile.native.js +33 -17
  183. package/build/rn/icons/Question.js +35 -19
  184. package/build/rn/icons/Question.native.js +33 -17
  185. package/build/rn/icons/QuestionFilled.js +35 -19
  186. package/build/rn/icons/QuestionFilled.native.js +33 -17
  187. package/build/rn/icons/QuoteLeft.js +35 -19
  188. package/build/rn/icons/QuoteLeft.native.js +33 -17
  189. package/build/rn/icons/QuoteLeftArrow.js +39 -23
  190. package/build/rn/icons/QuoteLeftArrow.native.js +37 -21
  191. package/build/rn/icons/QuoteRightArrow.js +39 -23
  192. package/build/rn/icons/QuoteRightArrow.native.js +37 -21
  193. package/build/rn/icons/RadialOutline.js +32 -16
  194. package/build/rn/icons/RadialOutline.native.js +30 -14
  195. package/build/rn/icons/RadialOutlineChecked.js +32 -16
  196. package/build/rn/icons/RadialOutlineChecked.native.js +30 -14
  197. package/build/rn/icons/Receipt.js +35 -19
  198. package/build/rn/icons/Receipt.native.js +33 -17
  199. package/build/rn/icons/Refresh.js +35 -19
  200. package/build/rn/icons/Refresh.native.js +33 -17
  201. package/build/rn/icons/Replay.js +33 -17
  202. package/build/rn/icons/Replay.native.js +31 -15
  203. package/build/rn/icons/RightCircle.js +35 -19
  204. package/build/rn/icons/RightCircle.native.js +33 -17
  205. package/build/rn/icons/RightCirlce.js +35 -19
  206. package/build/rn/icons/RightCirlce.native.js +33 -17
  207. package/build/rn/icons/Settings.js +35 -19
  208. package/build/rn/icons/Settings.native.js +33 -17
  209. package/build/rn/icons/SettingsSolid.js +33 -17
  210. package/build/rn/icons/SettingsSolid.native.js +31 -15
  211. package/build/rn/icons/ShippingFilled.js +35 -19
  212. package/build/rn/icons/ShippingFilled.native.js +33 -17
  213. package/build/rn/icons/Shop.js +35 -19
  214. package/build/rn/icons/Shop.native.js +33 -17
  215. package/build/rn/icons/Sim.js +35 -19
  216. package/build/rn/icons/Sim.native.js +33 -17
  217. package/build/rn/icons/SimFilled.js +35 -19
  218. package/build/rn/icons/SimFilled.native.js +33 -17
  219. package/build/rn/icons/Spyglass.js +35 -19
  220. package/build/rn/icons/Spyglass.native.js +33 -17
  221. package/build/rn/icons/Streaming.js +33 -17
  222. package/build/rn/icons/Streaming.native.js +31 -15
  223. package/build/rn/icons/Subtract.js +33 -17
  224. package/build/rn/icons/Subtract.native.js +31 -15
  225. package/build/rn/icons/Tag.js +35 -19
  226. package/build/rn/icons/Tag.native.js +33 -17
  227. package/build/rn/icons/TagFilled.js +35 -19
  228. package/build/rn/icons/TagFilled.native.js +33 -17
  229. package/build/rn/icons/Times.js +32 -16
  230. package/build/rn/icons/Times.native.js +30 -14
  231. package/build/rn/icons/TimesCircled.js +52 -36
  232. package/build/rn/icons/TimesCircled.native.js +50 -34
  233. package/build/rn/icons/ToolTipFilled.js +35 -19
  234. package/build/rn/icons/ToolTipFilled.native.js +33 -17
  235. package/build/rn/icons/Tooltip.js +35 -19
  236. package/build/rn/icons/Tooltip.native.js +33 -17
  237. package/build/rn/icons/TooltipSymbol.js +33 -17
  238. package/build/rn/icons/TooltipSymbol.native.js +31 -15
  239. package/build/rn/icons/Unmuted.js +35 -19
  240. package/build/rn/icons/Unmuted.native.js +33 -17
  241. package/build/rn/icons/User.js +35 -19
  242. package/build/rn/icons/User.native.js +33 -17
  243. package/build/rn/icons/UserAdd.js +35 -19
  244. package/build/rn/icons/UserAdd.native.js +33 -17
  245. package/build/rn/icons/Visa.js +45 -29
  246. package/build/rn/icons/Visa.native.js +43 -27
  247. package/build/rn/icons/canada-filled.icon.svg +3 -0
  248. package/build/rn/icons/index.js +1 -0
  249. package/build/rn/icons/utils/icon-native-utils.js +63 -0
  250. package/build/rn/icons/utils/icon-shared-utils.js +34 -0
  251. package/build/rn/icons/utils/icon-web-utils.js +50 -0
  252. package/build/rn/palette.js +2 -1
  253. package/build/web/fonts/fonts-cdn-family.css +5 -5
  254. package/build/web/fonts/fonts-cdn.css +5 -5
  255. package/build/web/fonts/fonts-local-family.css +5 -5
  256. package/build/web/fonts/fonts-local.css +5 -5
  257. package/build/web/icons/Add.js +33 -17
  258. package/build/web/icons/Amex.js +36 -20
  259. package/build/web/icons/AndroidEN.js +61 -45
  260. package/build/web/icons/AndroidFR.js +58 -42
  261. package/build/web/icons/ArrowDownCircled.js +32 -16
  262. package/build/web/icons/ArrowLeft.js +33 -17
  263. package/build/web/icons/ArrowRight.js +33 -17
  264. package/build/web/icons/BoxOutline.js +32 -16
  265. package/build/web/icons/BoxOutlineChecked.js +32 -16
  266. package/build/web/icons/Bullet.js +33 -17
  267. package/build/web/icons/BulletCircle.js +35 -19
  268. package/build/web/icons/BulletFill.js +35 -19
  269. package/build/web/icons/CanadaFilled.js +42 -0
  270. package/build/web/icons/Cart.js +33 -17
  271. package/build/web/icons/CartFilled.js +35 -19
  272. package/build/web/icons/Caution.js +35 -19
  273. package/build/web/icons/Check.js +33 -17
  274. package/build/web/icons/CheckCircle.js +35 -19
  275. package/build/web/icons/CheckCircleFilled.js +35 -19
  276. package/build/web/icons/CheckCircledFilled.js +32 -16
  277. package/build/web/icons/CheckCircledNotFilled.js +38 -22
  278. package/build/web/icons/ChevronDown.js +33 -17
  279. package/build/web/icons/ChevronLeft.js +33 -17
  280. package/build/web/icons/ChevronRight.js +33 -17
  281. package/build/web/icons/ChevronUp.js +33 -17
  282. package/build/web/icons/CircledLine.js +43 -27
  283. package/build/web/icons/Clipboard.js +33 -17
  284. package/build/web/icons/Close.js +33 -17
  285. package/build/web/icons/ClosedCaptions.js +33 -17
  286. package/build/web/icons/Coaxial.js +35 -19
  287. package/build/web/icons/CreditCard.js +33 -17
  288. package/build/web/icons/DSL.js +35 -19
  289. package/build/web/icons/Devices.js +35 -19
  290. package/build/web/icons/Download.js +35 -19
  291. package/build/web/icons/ExclamationOctagon.js +35 -19
  292. package/build/web/icons/ExclamationTriangle.js +35 -19
  293. package/build/web/icons/Expand.js +33 -17
  294. package/build/web/icons/EyeClosed.js +33 -17
  295. package/build/web/icons/EyeMasked.js +34 -18
  296. package/build/web/icons/EyeOpened.js +35 -19
  297. package/build/web/icons/EyeUnmasked.js +38 -22
  298. package/build/web/icons/FullscreenExpand.js +33 -17
  299. package/build/web/icons/FullscreenMinimize.js +33 -17
  300. package/build/web/icons/Gift.js +35 -19
  301. package/build/web/icons/Hamburger.js +33 -17
  302. package/build/web/icons/IOSEN.js +53 -37
  303. package/build/web/icons/IOSFR.js +53 -37
  304. package/build/web/icons/IdCard.js +45 -29
  305. package/build/web/icons/IdTag.js +45 -29
  306. package/build/web/icons/Info.js +40 -24
  307. package/build/web/icons/InfoSelected.js +41 -25
  308. package/build/web/icons/InformationCircled.js +32 -16
  309. package/build/web/icons/InternetSpeed.js +33 -17
  310. package/build/web/icons/Kebab.js +44 -28
  311. package/build/web/icons/LeftCircle.js +35 -19
  312. package/build/web/icons/LinkExternal.js +35 -19
  313. package/build/web/icons/LocationMap.js +35 -19
  314. package/build/web/icons/LockFilled.js +35 -19
  315. package/build/web/icons/Maintenance.js +35 -19
  316. package/build/web/icons/MaintenanceFilled.js +35 -19
  317. package/build/web/icons/MasterCard.js +40 -24
  318. package/build/web/icons/Muted.js +33 -17
  319. package/build/web/icons/Number1FilledMono.js +35 -19
  320. package/build/web/icons/Number1FilledMulti.js +46 -30
  321. package/build/web/icons/Number2FilledMono.js +35 -19
  322. package/build/web/icons/Number2FilledMulti.js +37 -21
  323. package/build/web/icons/Number3FilledMono.js +35 -19
  324. package/build/web/icons/Number3FilledMulti.js +37 -21
  325. package/build/web/icons/Number4FilledMono.js +37 -21
  326. package/build/web/icons/Number4FilledMulti.js +37 -21
  327. package/build/web/icons/Number5FilledMono.js +35 -19
  328. package/build/web/icons/Number5FilledMulti.js +37 -21
  329. package/build/web/icons/OfferStarFilled.js +35 -19
  330. package/build/web/icons/Pause.js +33 -17
  331. package/build/web/icons/PaymentAdd.js +33 -17
  332. package/build/web/icons/Perk.js +35 -19
  333. package/build/web/icons/Phone.js +33 -17
  334. package/build/web/icons/PhoneTroubleshoot.js +35 -19
  335. package/build/web/icons/Play.js +33 -17
  336. package/build/web/icons/PlaySolid.js +35 -19
  337. package/build/web/icons/PlayVideo.js +35 -19
  338. package/build/web/icons/PlugPlay.js +35 -19
  339. package/build/web/icons/Preference.js +35 -19
  340. package/build/web/icons/Price.js +35 -19
  341. package/build/web/icons/Profile.js +35 -19
  342. package/build/web/icons/Question.js +35 -19
  343. package/build/web/icons/QuestionFilled.js +35 -19
  344. package/build/web/icons/QuoteLeft.js +35 -19
  345. package/build/web/icons/QuoteLeftArrow.js +39 -23
  346. package/build/web/icons/QuoteRightArrow.js +39 -23
  347. package/build/web/icons/RadialOutline.js +32 -16
  348. package/build/web/icons/RadialOutlineChecked.js +32 -16
  349. package/build/web/icons/Receipt.js +35 -19
  350. package/build/web/icons/Refresh.js +35 -19
  351. package/build/web/icons/Replay.js +33 -17
  352. package/build/web/icons/RightCircle.js +35 -19
  353. package/build/web/icons/RightCirlce.js +35 -19
  354. package/build/web/icons/Settings.js +35 -19
  355. package/build/web/icons/SettingsSolid.js +33 -17
  356. package/build/web/icons/ShippingFilled.js +35 -19
  357. package/build/web/icons/Shop.js +35 -19
  358. package/build/web/icons/Sim.js +35 -19
  359. package/build/web/icons/SimFilled.js +35 -19
  360. package/build/web/icons/Spyglass.js +35 -19
  361. package/build/web/icons/Streaming.js +33 -17
  362. package/build/web/icons/Subtract.js +33 -17
  363. package/build/web/icons/Tag.js +35 -19
  364. package/build/web/icons/TagFilled.js +35 -19
  365. package/build/web/icons/Times.js +32 -16
  366. package/build/web/icons/TimesCircled.js +52 -36
  367. package/build/web/icons/ToolTipFilled.js +35 -19
  368. package/build/web/icons/Tooltip.js +35 -19
  369. package/build/web/icons/TooltipSymbol.js +33 -17
  370. package/build/web/icons/Unmuted.js +35 -19
  371. package/build/web/icons/User.js +35 -19
  372. package/build/web/icons/UserAdd.js +35 -19
  373. package/build/web/icons/Visa.js +45 -29
  374. package/build/web/icons/canada-filled.icon.svg +3 -0
  375. package/build/web/icons/index.js +1 -0
  376. package/build/web/icons/utils/icon-shared-utils.js +34 -0
  377. package/build/web/icons/utils/icon-web-utils.js +50 -0
  378. package/build/web/palette.js +7 -6
  379. package/icon/canada-filled.svg +3 -0
  380. package/package.json +1 -1
  381. package/palette.json +4 -0
  382. /package/build/web/fonts/{StagSans-Bold-v3_2_0.otf → StagSans-Bold-v3_3_0.otf} +0 -0
  383. /package/build/web/fonts/{StagSans-Light-v3_2_0.otf → StagSans-Light-v3_3_0.otf} +0 -0
  384. /package/build/web/fonts/{StagSans-Medium-v3_2_0.otf → StagSans-Medium-v3_3_0.otf} +0 -0
  385. /package/build/web/fonts/{StagSans-Regular-v3_2_0.otf → StagSans-Regular-v3_3_0.otf} +0 -0
  386. /package/build/web/fonts/{StagSans-Semibold-v3_2_0.otf → StagSans-Semibold-v3_3_0.otf} +0 -0
@@ -7,19 +7,35 @@ module.exports = ({
7
7
  titleId,
8
8
  size,
9
9
  color,
10
+ gradient,
10
11
  ...props
11
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
12
- ...props,
13
- xmlns: "http://www.w3.org/2000/svg",
14
- viewBox: "0 0 32 32",
15
- height: size,
16
- width: size,
17
- fill: color,
18
- "aria-labelledby": titleId,
19
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- id: titleId,
21
- children: title
22
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
23
- d: "M31.63 15.81a2.79 2.79 0 0 0-2.793-2.79l-10.233.003-1.104-.004c2 .004-.139 0-1.68 0-1.541.001-3.32-.019-1.32 0l-1.477.006-10.233.003a2.79 2.79 0 1 0 .002 5.582l10.233-.003H16l2.606-.002L28.84 18.6a2.79 2.79 0 0 0 2.79-2.792Z"
24
- })]
25
- });
12
+ }) => {
13
+ const iconSharedUtils = require('./utils/icon-shared-utils');
14
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
15
+ let fillValue = color;
16
+ let gradientDefs;
17
+ let gradientUtils;
18
+ if (hasGradient) {
19
+ gradientUtils = iconSharedUtils.getGradientUtils();
20
+ const iconNativeUtils = require('./utils/icon-native-utils');
21
+ const gradientId = gradientUtils.generateGradientId(gradient);
22
+ fillValue = `url(#${gradientId})`;
23
+ gradientDefs = iconNativeUtils.renderNativeGradientDefs(gradient, gradientId);
24
+ }
25
+ const svgContent = (0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
26
+ ...props,
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ viewBox: "0 0 32 32",
29
+ height: size,
30
+ width: size,
31
+ fill: fillValue,
32
+ "aria-labelledby": titleId,
33
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
34
+ id: titleId,
35
+ children: title
36
+ }) : null, (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
37
+ d: "M31.63 15.81a2.79 2.79 0 0 0-2.793-2.79l-10.233.003-1.104-.004c2 .004-.139 0-1.68 0-1.541.001-3.32-.019-1.32 0l-1.477.006-10.233.003a2.79 2.79 0 1 0 .002 5.582l10.233-.003H16l2.606-.002L28.84 18.6a2.79 2.79 0 0 0 2.79-2.792Z"
38
+ })]
39
+ });
40
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
41
+ };
@@ -6,23 +6,39 @@ module.exports = ({
6
6
  titleId,
7
7
  size,
8
8
  color,
9
+ gradient,
9
10
  ...props
10
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
11
- ...props,
12
- xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 24 24",
14
- height: size,
15
- width: size,
16
- fill: color,
17
- role: title ? 'img' : undefined,
18
- "aria-hidden": !title,
19
- "aria-labelledby": titleId,
20
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
21
- id: titleId,
22
- children: title
23
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
- fillRule: "evenodd",
25
- d: "M24 10.208v.055a1 1 0 0 1-.293.683L11.048 23.605a1 1 0 0 1-1.414 0L.397 14.368a1 1 0 0 1 0-1.414L13.057.293A1 1 0 0 1 13.774 0l9.125.074a1 1 0 0 1 .992.988l.11 9.146ZM10.341 21.484 2.518 13.66 14.176 2.003l7.726.063.093 7.764-11.654 11.654Zm8.954-14.302a1.75 1.75 0 1 0-2.475-2.475 1.75 1.75 0 0 0 2.475 2.475Z",
26
- clipRule: "evenodd"
27
- })]
28
- });
11
+ }) => {
12
+ const iconSharedUtils = require('./utils/icon-shared-utils');
13
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
14
+ let fillValue = color;
15
+ let gradientDefs;
16
+ let gradientUtils;
17
+ if (hasGradient) {
18
+ gradientUtils = iconSharedUtils.getGradientUtils();
19
+ const iconWebUtils = require('./utils/icon-web-utils');
20
+ const gradientId = gradientUtils.generateGradientId(gradient);
21
+ fillValue = `url(#${gradientId})`;
22
+ gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
23
+ }
24
+ const svgContent = (0, _jsxRuntime.jsxs)("svg", {
25
+ ...props,
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ viewBox: "0 0 24 24",
28
+ height: size,
29
+ width: size,
30
+ fill: fillValue,
31
+ role: title ? 'img' : undefined,
32
+ "aria-hidden": !title,
33
+ "aria-labelledby": titleId,
34
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
35
+ id: titleId,
36
+ children: title
37
+ }) : null, (0, _jsxRuntime.jsx)("path", {
38
+ fillRule: "evenodd",
39
+ d: "M24 10.208v.055a1 1 0 0 1-.293.683L11.048 23.605a1 1 0 0 1-1.414 0L.397 14.368a1 1 0 0 1 0-1.414L13.057.293A1 1 0 0 1 13.774 0l9.125.074a1 1 0 0 1 .992.988l.11 9.146ZM10.341 21.484 2.518 13.66 14.176 2.003l7.726.063.093 7.764-11.654 11.654Zm8.954-14.302a1.75 1.75 0 1 0-2.475-2.475 1.75 1.75 0 0 0 2.475 2.475Z",
40
+ clipRule: "evenodd"
41
+ })]
42
+ });
43
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
44
+ };
@@ -7,21 +7,37 @@ module.exports = ({
7
7
  titleId,
8
8
  size,
9
9
  color,
10
+ gradient,
10
11
  ...props
11
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
12
- ...props,
13
- xmlns: "http://www.w3.org/2000/svg",
14
- viewBox: "0 0 24 24",
15
- height: size,
16
- width: size,
17
- fill: color,
18
- "aria-labelledby": titleId,
19
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- id: titleId,
21
- children: title
22
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
23
- fillRule: "evenodd",
24
- d: "M24 10.208v.055a1 1 0 0 1-.293.683L11.048 23.605a1 1 0 0 1-1.414 0L.397 14.368a1 1 0 0 1 0-1.414L13.057.293A1 1 0 0 1 13.774 0l9.125.074a1 1 0 0 1 .992.988l.11 9.146ZM10.341 21.484 2.518 13.66 14.176 2.003l7.726.063.093 7.764-11.654 11.654Zm8.954-14.302a1.75 1.75 0 1 0-2.475-2.475 1.75 1.75 0 0 0 2.475 2.475Z",
25
- clipRule: "evenodd"
26
- })]
27
- });
12
+ }) => {
13
+ const iconSharedUtils = require('./utils/icon-shared-utils');
14
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
15
+ let fillValue = color;
16
+ let gradientDefs;
17
+ let gradientUtils;
18
+ if (hasGradient) {
19
+ gradientUtils = iconSharedUtils.getGradientUtils();
20
+ const iconNativeUtils = require('./utils/icon-native-utils');
21
+ const gradientId = gradientUtils.generateGradientId(gradient);
22
+ fillValue = `url(#${gradientId})`;
23
+ gradientDefs = iconNativeUtils.renderNativeGradientDefs(gradient, gradientId);
24
+ }
25
+ const svgContent = (0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
26
+ ...props,
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ viewBox: "0 0 24 24",
29
+ height: size,
30
+ width: size,
31
+ fill: fillValue,
32
+ "aria-labelledby": titleId,
33
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
34
+ id: titleId,
35
+ children: title
36
+ }) : null, (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
37
+ fillRule: "evenodd",
38
+ d: "M24 10.208v.055a1 1 0 0 1-.293.683L11.048 23.605a1 1 0 0 1-1.414 0L.397 14.368a1 1 0 0 1 0-1.414L13.057.293A1 1 0 0 1 13.774 0l9.125.074a1 1 0 0 1 .992.988l.11 9.146ZM10.341 21.484 2.518 13.66 14.176 2.003l7.726.063.093 7.764-11.654 11.654Zm8.954-14.302a1.75 1.75 0 1 0-2.475-2.475 1.75 1.75 0 0 0 2.475 2.475Z",
39
+ clipRule: "evenodd"
40
+ })]
41
+ });
42
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
43
+ };
@@ -6,23 +6,39 @@ module.exports = ({
6
6
  titleId,
7
7
  size,
8
8
  color,
9
+ gradient,
9
10
  ...props
10
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
11
- ...props,
12
- xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 24 24",
14
- height: size,
15
- width: size,
16
- fill: color,
17
- role: title ? 'img' : undefined,
18
- "aria-hidden": !title,
19
- "aria-labelledby": titleId,
20
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
21
- id: titleId,
22
- children: title
23
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
- fillRule: "evenodd",
25
- d: "M13.714 0h9.429c.473 0 .857.384.857.857v9.428c0 .228-.09.446-.251.607L10.892 23.75a.857.857 0 0 1-1.212 0L.25 14.321a.857.857 0 0 1 0-1.213L13.108.25a.857.857 0 0 1 .606-.25Zm2.572 6a1.714 1.714 0 1 0 3.428 0 1.714 1.714 0 0 0-3.428 0Z",
26
- clipRule: "evenodd"
27
- })]
28
- });
11
+ }) => {
12
+ const iconSharedUtils = require('./utils/icon-shared-utils');
13
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
14
+ let fillValue = color;
15
+ let gradientDefs;
16
+ let gradientUtils;
17
+ if (hasGradient) {
18
+ gradientUtils = iconSharedUtils.getGradientUtils();
19
+ const iconWebUtils = require('./utils/icon-web-utils');
20
+ const gradientId = gradientUtils.generateGradientId(gradient);
21
+ fillValue = `url(#${gradientId})`;
22
+ gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
23
+ }
24
+ const svgContent = (0, _jsxRuntime.jsxs)("svg", {
25
+ ...props,
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ viewBox: "0 0 24 24",
28
+ height: size,
29
+ width: size,
30
+ fill: fillValue,
31
+ role: title ? 'img' : undefined,
32
+ "aria-hidden": !title,
33
+ "aria-labelledby": titleId,
34
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
35
+ id: titleId,
36
+ children: title
37
+ }) : null, (0, _jsxRuntime.jsx)("path", {
38
+ fillRule: "evenodd",
39
+ d: "M13.714 0h9.429c.473 0 .857.384.857.857v9.428c0 .228-.09.446-.251.607L10.892 23.75a.857.857 0 0 1-1.212 0L.25 14.321a.857.857 0 0 1 0-1.213L13.108.25a.857.857 0 0 1 .606-.25Zm2.572 6a1.714 1.714 0 1 0 3.428 0 1.714 1.714 0 0 0-3.428 0Z",
40
+ clipRule: "evenodd"
41
+ })]
42
+ });
43
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
44
+ };
@@ -7,21 +7,37 @@ module.exports = ({
7
7
  titleId,
8
8
  size,
9
9
  color,
10
+ gradient,
10
11
  ...props
11
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
12
- ...props,
13
- xmlns: "http://www.w3.org/2000/svg",
14
- viewBox: "0 0 24 24",
15
- height: size,
16
- width: size,
17
- fill: color,
18
- "aria-labelledby": titleId,
19
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- id: titleId,
21
- children: title
22
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
23
- fillRule: "evenodd",
24
- d: "M13.714 0h9.429c.473 0 .857.384.857.857v9.428c0 .228-.09.446-.251.607L10.892 23.75a.857.857 0 0 1-1.212 0L.25 14.321a.857.857 0 0 1 0-1.213L13.108.25a.857.857 0 0 1 .606-.25Zm2.572 6a1.714 1.714 0 1 0 3.428 0 1.714 1.714 0 0 0-3.428 0Z",
25
- clipRule: "evenodd"
26
- })]
27
- });
12
+ }) => {
13
+ const iconSharedUtils = require('./utils/icon-shared-utils');
14
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
15
+ let fillValue = color;
16
+ let gradientDefs;
17
+ let gradientUtils;
18
+ if (hasGradient) {
19
+ gradientUtils = iconSharedUtils.getGradientUtils();
20
+ const iconNativeUtils = require('./utils/icon-native-utils');
21
+ const gradientId = gradientUtils.generateGradientId(gradient);
22
+ fillValue = `url(#${gradientId})`;
23
+ gradientDefs = iconNativeUtils.renderNativeGradientDefs(gradient, gradientId);
24
+ }
25
+ const svgContent = (0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
26
+ ...props,
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ viewBox: "0 0 24 24",
29
+ height: size,
30
+ width: size,
31
+ fill: fillValue,
32
+ "aria-labelledby": titleId,
33
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
34
+ id: titleId,
35
+ children: title
36
+ }) : null, (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
37
+ fillRule: "evenodd",
38
+ d: "M13.714 0h9.429c.473 0 .857.384.857.857v9.428c0 .228-.09.446-.251.607L10.892 23.75a.857.857 0 0 1-1.212 0L.25 14.321a.857.857 0 0 1 0-1.213L13.108.25a.857.857 0 0 1 .606-.25Zm2.572 6a1.714 1.714 0 1 0 3.428 0 1.714 1.714 0 0 0-3.428 0Z",
39
+ clipRule: "evenodd"
40
+ })]
41
+ });
42
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
43
+ };
@@ -6,20 +6,36 @@ module.exports = ({
6
6
  titleId,
7
7
  size,
8
8
  color,
9
+ gradient,
9
10
  ...props
10
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
11
- ...props,
12
- viewBox: "0 0 24 24",
13
- height: size,
14
- width: size,
15
- fill: color,
16
- role: title ? 'img' : undefined,
17
- "aria-hidden": !title,
18
- "aria-labelledby": titleId,
19
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- id: titleId,
21
- children: title
22
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
23
- d: "m14.943 12 7.44-7.42a2.107 2.107 0 0 0 .023-2.956 2.05 2.05 0 0 0-2.92-.023L12 9.066 4.515 1.601a2.047 2.047 0 0 0-2.92.023 2.109 2.109 0 0 0 .021 2.957L9.057 12l-7.44 7.418a2.108 2.108 0 0 0-.023 2.957 2.046 2.046 0 0 0 2.92.022L12 14.935l7.485 7.463a2.045 2.045 0 0 0 2.92-.022 2.109 2.109 0 0 0-.021-2.957l-7.441-7.418z"
24
- })]
25
- });
11
+ }) => {
12
+ const iconSharedUtils = require('./utils/icon-shared-utils');
13
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
14
+ let fillValue = color;
15
+ let gradientDefs;
16
+ let gradientUtils;
17
+ if (hasGradient) {
18
+ gradientUtils = iconSharedUtils.getGradientUtils();
19
+ const iconWebUtils = require('./utils/icon-web-utils');
20
+ const gradientId = gradientUtils.generateGradientId(gradient);
21
+ fillValue = `url(#${gradientId})`;
22
+ gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
23
+ }
24
+ const svgContent = (0, _jsxRuntime.jsxs)("svg", {
25
+ ...props,
26
+ viewBox: "0 0 24 24",
27
+ height: size,
28
+ width: size,
29
+ fill: fillValue,
30
+ role: title ? 'img' : undefined,
31
+ "aria-hidden": !title,
32
+ "aria-labelledby": titleId,
33
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
34
+ id: titleId,
35
+ children: title
36
+ }) : null, (0, _jsxRuntime.jsx)("path", {
37
+ d: "m14.943 12 7.44-7.42a2.107 2.107 0 0 0 .023-2.956 2.05 2.05 0 0 0-2.92-.023L12 9.066 4.515 1.601a2.047 2.047 0 0 0-2.92.023 2.109 2.109 0 0 0 .021 2.957L9.057 12l-7.44 7.418a2.108 2.108 0 0 0-.023 2.957 2.046 2.046 0 0 0 2.92.022L12 14.935l7.485 7.463a2.045 2.045 0 0 0 2.92-.022 2.109 2.109 0 0 0-.021-2.957l-7.441-7.418z"
38
+ })]
39
+ });
40
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
41
+ };
@@ -7,18 +7,34 @@ module.exports = ({
7
7
  titleId,
8
8
  size,
9
9
  color,
10
+ gradient,
10
11
  ...props
11
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
12
- ...props,
13
- viewBox: "0 0 24 24",
14
- height: size,
15
- width: size,
16
- fill: color,
17
- "aria-labelledby": titleId,
18
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
19
- id: titleId,
20
- children: title
21
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
22
- d: "m14.943 12 7.44-7.42a2.107 2.107 0 0 0 .023-2.956 2.05 2.05 0 0 0-2.92-.023L12 9.066 4.515 1.601a2.047 2.047 0 0 0-2.92.023 2.109 2.109 0 0 0 .021 2.957L9.057 12l-7.44 7.418a2.108 2.108 0 0 0-.023 2.957 2.046 2.046 0 0 0 2.92.022L12 14.935l7.485 7.463a2.045 2.045 0 0 0 2.92-.022 2.109 2.109 0 0 0-.021-2.957l-7.441-7.418z"
23
- })]
24
- });
12
+ }) => {
13
+ const iconSharedUtils = require('./utils/icon-shared-utils');
14
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
15
+ let fillValue = color;
16
+ let gradientDefs;
17
+ let gradientUtils;
18
+ if (hasGradient) {
19
+ gradientUtils = iconSharedUtils.getGradientUtils();
20
+ const iconNativeUtils = require('./utils/icon-native-utils');
21
+ const gradientId = gradientUtils.generateGradientId(gradient);
22
+ fillValue = `url(#${gradientId})`;
23
+ gradientDefs = iconNativeUtils.renderNativeGradientDefs(gradient, gradientId);
24
+ }
25
+ const svgContent = (0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
26
+ ...props,
27
+ viewBox: "0 0 24 24",
28
+ height: size,
29
+ width: size,
30
+ fill: fillValue,
31
+ "aria-labelledby": titleId,
32
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
33
+ id: titleId,
34
+ children: title
35
+ }) : null, (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
36
+ d: "m14.943 12 7.44-7.42a2.107 2.107 0 0 0 .023-2.956 2.05 2.05 0 0 0-2.92-.023L12 9.066 4.515 1.601a2.047 2.047 0 0 0-2.92.023 2.109 2.109 0 0 0 .021 2.957L9.057 12l-7.44 7.418a2.108 2.108 0 0 0-.023 2.957 2.046 2.046 0 0 0 2.92.022L12 14.935l7.485 7.463a2.045 2.045 0 0 0 2.92-.022 2.109 2.109 0 0 0-.021-2.957l-7.441-7.418z"
37
+ })]
38
+ });
39
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
40
+ };
@@ -6,41 +6,57 @@ module.exports = ({
6
6
  titleId,
7
7
  size,
8
8
  color,
9
+ gradient,
9
10
  ...props
10
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
11
- ...props,
12
- viewBox: "0 0 14 14",
13
- height: size,
14
- width: size,
15
- fill: color,
16
- role: title ? 'img' : undefined,
17
- "aria-hidden": !title,
18
- "aria-labelledby": titleId,
19
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- id: titleId,
21
- children: title
22
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
23
- fill: "none",
24
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
25
- d: "M7 0a7 7 0 1 0 7 7 7 7 0 0 0-7-7",
26
- fill: "#df3d0c",
27
- mask: "url(#prefix__mask-2)"
28
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
29
- fill: "#fff",
30
- transform: "rotate(45 7 7)",
31
- x: 3,
32
- y: 6,
33
- width: 8,
34
- height: 2,
35
- rx: 1
36
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
37
- fill: "#fff",
38
- transform: "rotate(135 7 7)",
39
- x: 3,
40
- y: 6,
41
- width: 8,
42
- height: 2,
43
- rx: 1
11
+ }) => {
12
+ const iconSharedUtils = require('./utils/icon-shared-utils');
13
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
14
+ let fillValue = color;
15
+ let gradientDefs;
16
+ let gradientUtils;
17
+ if (hasGradient) {
18
+ gradientUtils = iconSharedUtils.getGradientUtils();
19
+ const iconWebUtils = require('./utils/icon-web-utils');
20
+ const gradientId = gradientUtils.generateGradientId(gradient);
21
+ fillValue = `url(#${gradientId})`;
22
+ gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
23
+ }
24
+ const svgContent = (0, _jsxRuntime.jsxs)("svg", {
25
+ ...props,
26
+ viewBox: "0 0 14 14",
27
+ height: size,
28
+ width: size,
29
+ fill: fillValue,
30
+ role: title ? 'img' : undefined,
31
+ "aria-hidden": !title,
32
+ "aria-labelledby": titleId,
33
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
34
+ id: titleId,
35
+ children: title
36
+ }) : null, (0, _jsxRuntime.jsxs)("g", {
37
+ fill: "none",
38
+ children: [(0, _jsxRuntime.jsx)("path", {
39
+ d: "M7 0a7 7 0 1 0 7 7 7 7 0 0 0-7-7",
40
+ fill: "#df3d0c",
41
+ mask: "url(#prefix__mask-2)"
42
+ }), (0, _jsxRuntime.jsx)("rect", {
43
+ fill: "#fff",
44
+ transform: "rotate(45 7 7)",
45
+ x: 3,
46
+ y: 6,
47
+ width: 8,
48
+ height: 2,
49
+ rx: 1
50
+ }), (0, _jsxRuntime.jsx)("rect", {
51
+ fill: "#fff",
52
+ transform: "rotate(135 7 7)",
53
+ x: 3,
54
+ y: 6,
55
+ width: 8,
56
+ height: 2,
57
+ rx: 1
58
+ })]
44
59
  })]
45
- })]
46
- });
60
+ });
61
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
62
+ };
@@ -7,39 +7,55 @@ module.exports = ({
7
7
  titleId,
8
8
  size,
9
9
  color,
10
+ gradient,
10
11
  ...props
11
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
12
- ...props,
13
- viewBox: "0 0 14 14",
14
- height: size,
15
- width: size,
16
- fill: color,
17
- "aria-labelledby": titleId,
18
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
19
- id: titleId,
20
- children: title
21
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
22
- fill: "none",
23
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
24
- d: "M7 0a7 7 0 1 0 7 7 7 7 0 0 0-7-7",
25
- fill: "#df3d0c",
26
- mask: "url(#prefix__mask-2)"
27
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Rect, {
28
- fill: "#fff",
29
- transform: "rotate(45 7 7)",
30
- x: 3,
31
- y: 6,
32
- width: 8,
33
- height: 2,
34
- rx: 1
35
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Rect, {
36
- fill: "#fff",
37
- transform: "rotate(135 7 7)",
38
- x: 3,
39
- y: 6,
40
- width: 8,
41
- height: 2,
42
- rx: 1
12
+ }) => {
13
+ const iconSharedUtils = require('./utils/icon-shared-utils');
14
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
15
+ let fillValue = color;
16
+ let gradientDefs;
17
+ let gradientUtils;
18
+ if (hasGradient) {
19
+ gradientUtils = iconSharedUtils.getGradientUtils();
20
+ const iconNativeUtils = require('./utils/icon-native-utils');
21
+ const gradientId = gradientUtils.generateGradientId(gradient);
22
+ fillValue = `url(#${gradientId})`;
23
+ gradientDefs = iconNativeUtils.renderNativeGradientDefs(gradient, gradientId);
24
+ }
25
+ const svgContent = (0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
26
+ ...props,
27
+ viewBox: "0 0 14 14",
28
+ height: size,
29
+ width: size,
30
+ fill: fillValue,
31
+ "aria-labelledby": titleId,
32
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
33
+ id: titleId,
34
+ children: title
35
+ }) : null, (0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
36
+ fill: "none",
37
+ children: [(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
38
+ d: "M7 0a7 7 0 1 0 7 7 7 7 0 0 0-7-7",
39
+ fill: "#df3d0c",
40
+ mask: "url(#prefix__mask-2)"
41
+ }), (0, _jsxRuntime.jsx)(_reactNativeSvg.Rect, {
42
+ fill: "#fff",
43
+ transform: "rotate(45 7 7)",
44
+ x: 3,
45
+ y: 6,
46
+ width: 8,
47
+ height: 2,
48
+ rx: 1
49
+ }), (0, _jsxRuntime.jsx)(_reactNativeSvg.Rect, {
50
+ fill: "#fff",
51
+ transform: "rotate(135 7 7)",
52
+ x: 3,
53
+ y: 6,
54
+ width: 8,
55
+ height: 2,
56
+ rx: 1
57
+ })]
43
58
  })]
44
- })]
45
- });
59
+ });
60
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
61
+ };
@@ -6,23 +6,39 @@ module.exports = ({
6
6
  titleId,
7
7
  size,
8
8
  color,
9
+ gradient,
9
10
  ...props
10
- }) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
11
- ...props,
12
- xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 24 24",
14
- height: size,
15
- width: size,
16
- fill: color,
17
- role: title ? 'img' : undefined,
18
- "aria-hidden": !title,
19
- "aria-labelledby": titleId,
20
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
21
- id: titleId,
22
- children: title
23
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
- fillRule: "evenodd",
25
- d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm.888-12.452v7.15h-2.774V9.725h1.729c.912 0 1.045.304 1.045 1.824Zm.133-5.066c0 .817-.665 1.463-1.501 1.463-.836 0-1.52-.646-1.52-1.463C10 5.665 10.684 5 11.52 5s1.5.665 1.5 1.482Z",
26
- clipRule: "evenodd"
27
- })]
28
- });
11
+ }) => {
12
+ const iconSharedUtils = require('./utils/icon-shared-utils');
13
+ const hasGradient = iconSharedUtils.hasValidGradient(gradient);
14
+ let fillValue = color;
15
+ let gradientDefs;
16
+ let gradientUtils;
17
+ if (hasGradient) {
18
+ gradientUtils = iconSharedUtils.getGradientUtils();
19
+ const iconWebUtils = require('./utils/icon-web-utils');
20
+ const gradientId = gradientUtils.generateGradientId(gradient);
21
+ fillValue = `url(#${gradientId})`;
22
+ gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
23
+ }
24
+ const svgContent = (0, _jsxRuntime.jsxs)("svg", {
25
+ ...props,
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ viewBox: "0 0 24 24",
28
+ height: size,
29
+ width: size,
30
+ fill: fillValue,
31
+ role: title ? 'img' : undefined,
32
+ "aria-hidden": !title,
33
+ "aria-labelledby": titleId,
34
+ children: [title ? (0, _jsxRuntime.jsx)("title", {
35
+ id: titleId,
36
+ children: title
37
+ }) : null, (0, _jsxRuntime.jsx)("path", {
38
+ fillRule: "evenodd",
39
+ d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm.888-12.452v7.15h-2.774V9.725h1.729c.912 0 1.045.304 1.045 1.824Zm.133-5.066c0 .817-.665 1.463-1.501 1.463-.836 0-1.52-.646-1.52-1.463C10 5.665 10.684 5 11.52 5s1.5.665 1.5 1.482Z",
40
+ clipRule: "evenodd"
41
+ })]
42
+ });
43
+ return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
44
+ };