@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.
- package/CHANGELOG.json +16 -1
- package/CHANGELOG.md +10 -2
- package/build/android/border.xml +1 -1
- package/build/android/color.xml +1 -1
- package/build/android/font_size.xml +1 -1
- package/build/android/radius.xml +1 -1
- package/build/android/size.xml +1 -1
- package/build/ios/Border.swift +1 -1
- package/build/ios/Color.swift +1 -1
- package/build/ios/FontSize.swift +1 -1
- package/build/ios/Radius.swift +1 -1
- package/build/ios/Size.swift +1 -1
- package/build/rn/icons/Add.js +33 -17
- package/build/rn/icons/Add.native.js +31 -15
- package/build/rn/icons/Amex.js +36 -20
- package/build/rn/icons/Amex.native.js +34 -18
- package/build/rn/icons/AndroidEN.js +61 -45
- package/build/rn/icons/AndroidEN.native.js +59 -43
- package/build/rn/icons/AndroidFR.js +58 -42
- package/build/rn/icons/AndroidFR.native.js +56 -40
- package/build/rn/icons/ArrowDownCircled.js +32 -16
- package/build/rn/icons/ArrowDownCircled.native.js +30 -14
- package/build/rn/icons/ArrowLeft.js +33 -17
- package/build/rn/icons/ArrowLeft.native.js +31 -15
- package/build/rn/icons/ArrowRight.js +33 -17
- package/build/rn/icons/ArrowRight.native.js +31 -15
- package/build/rn/icons/BoxOutline.js +32 -16
- package/build/rn/icons/BoxOutline.native.js +30 -14
- package/build/rn/icons/BoxOutlineChecked.js +32 -16
- package/build/rn/icons/BoxOutlineChecked.native.js +30 -14
- package/build/rn/icons/Bullet.js +33 -17
- package/build/rn/icons/Bullet.native.js +31 -15
- package/build/rn/icons/BulletCircle.js +35 -19
- package/build/rn/icons/BulletCircle.native.js +33 -17
- package/build/rn/icons/BulletFill.js +35 -19
- package/build/rn/icons/BulletFill.native.js +33 -17
- package/build/rn/icons/CanadaFilled.js +42 -0
- package/build/rn/icons/CanadaFilled.native.js +41 -0
- package/build/rn/icons/Cart.js +33 -17
- package/build/rn/icons/Cart.native.js +31 -15
- package/build/rn/icons/CartFilled.js +35 -19
- package/build/rn/icons/CartFilled.native.js +33 -17
- package/build/rn/icons/Caution.js +35 -19
- package/build/rn/icons/Caution.native.js +33 -17
- package/build/rn/icons/Check.js +33 -17
- package/build/rn/icons/Check.native.js +31 -15
- package/build/rn/icons/CheckCircle.js +35 -19
- package/build/rn/icons/CheckCircle.native.js +33 -17
- package/build/rn/icons/CheckCircleFilled.js +35 -19
- package/build/rn/icons/CheckCircleFilled.native.js +33 -17
- package/build/rn/icons/CheckCircledFilled.js +32 -16
- package/build/rn/icons/CheckCircledFilled.native.js +30 -14
- package/build/rn/icons/CheckCircledNotFilled.js +38 -22
- package/build/rn/icons/CheckCircledNotFilled.native.js +36 -20
- package/build/rn/icons/ChevronDown.js +33 -17
- package/build/rn/icons/ChevronDown.native.js +31 -15
- package/build/rn/icons/ChevronLeft.js +33 -17
- package/build/rn/icons/ChevronLeft.native.js +31 -15
- package/build/rn/icons/ChevronRight.js +33 -17
- package/build/rn/icons/ChevronRight.native.js +31 -15
- package/build/rn/icons/ChevronUp.js +33 -17
- package/build/rn/icons/ChevronUp.native.js +31 -15
- package/build/rn/icons/CircledLine.js +43 -27
- package/build/rn/icons/CircledLine.native.js +41 -25
- package/build/rn/icons/Clipboard.js +33 -17
- package/build/rn/icons/Clipboard.native.js +31 -15
- package/build/rn/icons/Close.js +33 -17
- package/build/rn/icons/Close.native.js +31 -15
- package/build/rn/icons/ClosedCaptions.js +33 -17
- package/build/rn/icons/ClosedCaptions.native.js +31 -15
- package/build/rn/icons/Coaxial.js +35 -19
- package/build/rn/icons/Coaxial.native.js +33 -17
- package/build/rn/icons/CreditCard.js +33 -17
- package/build/rn/icons/CreditCard.native.js +31 -15
- package/build/rn/icons/DSL.js +35 -19
- package/build/rn/icons/DSL.native.js +33 -17
- package/build/rn/icons/Devices.js +35 -19
- package/build/rn/icons/Devices.native.js +33 -17
- package/build/rn/icons/Download.js +35 -19
- package/build/rn/icons/Download.native.js +33 -17
- package/build/rn/icons/ExclamationOctagon.js +35 -19
- package/build/rn/icons/ExclamationOctagon.native.js +33 -17
- package/build/rn/icons/ExclamationTriangle.js +35 -19
- package/build/rn/icons/ExclamationTriangle.native.js +33 -17
- package/build/rn/icons/Expand.js +33 -17
- package/build/rn/icons/Expand.native.js +31 -15
- package/build/rn/icons/EyeClosed.js +33 -17
- package/build/rn/icons/EyeClosed.native.js +31 -15
- package/build/rn/icons/EyeMasked.js +34 -18
- package/build/rn/icons/EyeMasked.native.js +32 -16
- package/build/rn/icons/EyeOpened.js +35 -19
- package/build/rn/icons/EyeOpened.native.js +33 -17
- package/build/rn/icons/EyeUnmasked.js +38 -22
- package/build/rn/icons/EyeUnmasked.native.js +36 -20
- package/build/rn/icons/FullscreenExpand.js +33 -17
- package/build/rn/icons/FullscreenExpand.native.js +31 -15
- package/build/rn/icons/FullscreenMinimize.js +33 -17
- package/build/rn/icons/FullscreenMinimize.native.js +31 -15
- package/build/rn/icons/Gift.js +35 -19
- package/build/rn/icons/Gift.native.js +33 -17
- package/build/rn/icons/Hamburger.js +33 -17
- package/build/rn/icons/Hamburger.native.js +31 -15
- package/build/rn/icons/IOSEN.js +53 -37
- package/build/rn/icons/IOSEN.native.js +51 -35
- package/build/rn/icons/IOSFR.js +53 -37
- package/build/rn/icons/IOSFR.native.js +51 -35
- package/build/rn/icons/IdCard.js +45 -29
- package/build/rn/icons/IdCard.native.js +43 -27
- package/build/rn/icons/IdTag.js +45 -29
- package/build/rn/icons/IdTag.native.js +43 -27
- package/build/rn/icons/Info.js +40 -24
- package/build/rn/icons/Info.native.js +38 -22
- package/build/rn/icons/InfoSelected.js +41 -25
- package/build/rn/icons/InfoSelected.native.js +39 -23
- package/build/rn/icons/InformationCircled.js +32 -16
- package/build/rn/icons/InformationCircled.native.js +30 -14
- package/build/rn/icons/InternetSpeed.js +33 -17
- package/build/rn/icons/InternetSpeed.native.js +31 -15
- package/build/rn/icons/Kebab.js +44 -28
- package/build/rn/icons/Kebab.native.js +42 -26
- package/build/rn/icons/LeftCircle.js +35 -19
- package/build/rn/icons/LeftCircle.native.js +33 -17
- package/build/rn/icons/LinkExternal.js +35 -19
- package/build/rn/icons/LinkExternal.native.js +33 -17
- package/build/rn/icons/LocationMap.js +35 -19
- package/build/rn/icons/LocationMap.native.js +33 -17
- package/build/rn/icons/LockFilled.js +35 -19
- package/build/rn/icons/LockFilled.native.js +33 -17
- package/build/rn/icons/Maintenance.js +35 -19
- package/build/rn/icons/Maintenance.native.js +33 -17
- package/build/rn/icons/MaintenanceFilled.js +35 -19
- package/build/rn/icons/MaintenanceFilled.native.js +33 -17
- package/build/rn/icons/MasterCard.js +40 -24
- package/build/rn/icons/MasterCard.native.js +38 -22
- package/build/rn/icons/Muted.js +33 -17
- package/build/rn/icons/Muted.native.js +31 -15
- package/build/rn/icons/Number1FilledMono.js +35 -19
- package/build/rn/icons/Number1FilledMono.native.js +33 -17
- package/build/rn/icons/Number1FilledMulti.js +46 -30
- package/build/rn/icons/Number1FilledMulti.native.js +44 -28
- package/build/rn/icons/Number2FilledMono.js +35 -19
- package/build/rn/icons/Number2FilledMono.native.js +33 -17
- package/build/rn/icons/Number2FilledMulti.js +37 -21
- package/build/rn/icons/Number2FilledMulti.native.js +35 -19
- package/build/rn/icons/Number3FilledMono.js +35 -19
- package/build/rn/icons/Number3FilledMono.native.js +33 -17
- package/build/rn/icons/Number3FilledMulti.js +37 -21
- package/build/rn/icons/Number3FilledMulti.native.js +35 -19
- package/build/rn/icons/Number4FilledMono.js +37 -21
- package/build/rn/icons/Number4FilledMono.native.js +35 -19
- package/build/rn/icons/Number4FilledMulti.js +37 -21
- package/build/rn/icons/Number4FilledMulti.native.js +35 -19
- package/build/rn/icons/Number5FilledMono.js +35 -19
- package/build/rn/icons/Number5FilledMono.native.js +33 -17
- package/build/rn/icons/Number5FilledMulti.js +37 -21
- package/build/rn/icons/Number5FilledMulti.native.js +35 -19
- package/build/rn/icons/OfferStarFilled.js +35 -19
- package/build/rn/icons/OfferStarFilled.native.js +33 -17
- package/build/rn/icons/Pause.js +33 -17
- package/build/rn/icons/Pause.native.js +31 -15
- package/build/rn/icons/PaymentAdd.js +33 -17
- package/build/rn/icons/PaymentAdd.native.js +31 -15
- package/build/rn/icons/Perk.js +35 -19
- package/build/rn/icons/Perk.native.js +33 -17
- package/build/rn/icons/Phone.js +33 -17
- package/build/rn/icons/Phone.native.js +31 -15
- package/build/rn/icons/PhoneTroubleshoot.js +35 -19
- package/build/rn/icons/PhoneTroubleshoot.native.js +33 -17
- package/build/rn/icons/Play.js +33 -17
- package/build/rn/icons/Play.native.js +31 -15
- package/build/rn/icons/PlaySolid.js +35 -19
- package/build/rn/icons/PlaySolid.native.js +33 -17
- package/build/rn/icons/PlayVideo.js +35 -19
- package/build/rn/icons/PlayVideo.native.js +33 -17
- package/build/rn/icons/PlugPlay.js +35 -19
- package/build/rn/icons/PlugPlay.native.js +33 -17
- package/build/rn/icons/Preference.js +35 -19
- package/build/rn/icons/Preference.native.js +33 -17
- package/build/rn/icons/Price.js +35 -19
- package/build/rn/icons/Price.native.js +33 -17
- package/build/rn/icons/Profile.js +35 -19
- package/build/rn/icons/Profile.native.js +33 -17
- package/build/rn/icons/Question.js +35 -19
- package/build/rn/icons/Question.native.js +33 -17
- package/build/rn/icons/QuestionFilled.js +35 -19
- package/build/rn/icons/QuestionFilled.native.js +33 -17
- package/build/rn/icons/QuoteLeft.js +35 -19
- package/build/rn/icons/QuoteLeft.native.js +33 -17
- package/build/rn/icons/QuoteLeftArrow.js +39 -23
- package/build/rn/icons/QuoteLeftArrow.native.js +37 -21
- package/build/rn/icons/QuoteRightArrow.js +39 -23
- package/build/rn/icons/QuoteRightArrow.native.js +37 -21
- package/build/rn/icons/RadialOutline.js +32 -16
- package/build/rn/icons/RadialOutline.native.js +30 -14
- package/build/rn/icons/RadialOutlineChecked.js +32 -16
- package/build/rn/icons/RadialOutlineChecked.native.js +30 -14
- package/build/rn/icons/Receipt.js +35 -19
- package/build/rn/icons/Receipt.native.js +33 -17
- package/build/rn/icons/Refresh.js +35 -19
- package/build/rn/icons/Refresh.native.js +33 -17
- package/build/rn/icons/Replay.js +33 -17
- package/build/rn/icons/Replay.native.js +31 -15
- package/build/rn/icons/RightCircle.js +35 -19
- package/build/rn/icons/RightCircle.native.js +33 -17
- package/build/rn/icons/RightCirlce.js +35 -19
- package/build/rn/icons/RightCirlce.native.js +33 -17
- package/build/rn/icons/Settings.js +35 -19
- package/build/rn/icons/Settings.native.js +33 -17
- package/build/rn/icons/SettingsSolid.js +33 -17
- package/build/rn/icons/SettingsSolid.native.js +31 -15
- package/build/rn/icons/ShippingFilled.js +35 -19
- package/build/rn/icons/ShippingFilled.native.js +33 -17
- package/build/rn/icons/Shop.js +35 -19
- package/build/rn/icons/Shop.native.js +33 -17
- package/build/rn/icons/Sim.js +35 -19
- package/build/rn/icons/Sim.native.js +33 -17
- package/build/rn/icons/SimFilled.js +35 -19
- package/build/rn/icons/SimFilled.native.js +33 -17
- package/build/rn/icons/Spyglass.js +35 -19
- package/build/rn/icons/Spyglass.native.js +33 -17
- package/build/rn/icons/Streaming.js +33 -17
- package/build/rn/icons/Streaming.native.js +31 -15
- package/build/rn/icons/Subtract.js +33 -17
- package/build/rn/icons/Subtract.native.js +31 -15
- package/build/rn/icons/Tag.js +35 -19
- package/build/rn/icons/Tag.native.js +33 -17
- package/build/rn/icons/TagFilled.js +35 -19
- package/build/rn/icons/TagFilled.native.js +33 -17
- package/build/rn/icons/Times.js +32 -16
- package/build/rn/icons/Times.native.js +30 -14
- package/build/rn/icons/TimesCircled.js +52 -36
- package/build/rn/icons/TimesCircled.native.js +50 -34
- package/build/rn/icons/ToolTipFilled.js +35 -19
- package/build/rn/icons/ToolTipFilled.native.js +33 -17
- package/build/rn/icons/Tooltip.js +35 -19
- package/build/rn/icons/Tooltip.native.js +33 -17
- package/build/rn/icons/TooltipSymbol.js +33 -17
- package/build/rn/icons/TooltipSymbol.native.js +31 -15
- package/build/rn/icons/Unmuted.js +35 -19
- package/build/rn/icons/Unmuted.native.js +33 -17
- package/build/rn/icons/User.js +35 -19
- package/build/rn/icons/User.native.js +33 -17
- package/build/rn/icons/UserAdd.js +35 -19
- package/build/rn/icons/UserAdd.native.js +33 -17
- package/build/rn/icons/Visa.js +45 -29
- package/build/rn/icons/Visa.native.js +43 -27
- package/build/rn/icons/canada-filled.icon.svg +3 -0
- package/build/rn/icons/index.js +1 -0
- package/build/rn/icons/utils/icon-native-utils.js +63 -0
- package/build/rn/icons/utils/icon-shared-utils.js +34 -0
- package/build/rn/icons/utils/icon-web-utils.js +50 -0
- package/build/rn/palette.js +2 -1
- package/build/web/fonts/fonts-cdn-family.css +5 -5
- package/build/web/fonts/fonts-cdn.css +5 -5
- package/build/web/fonts/fonts-local-family.css +5 -5
- package/build/web/fonts/fonts-local.css +5 -5
- package/build/web/icons/Add.js +33 -17
- package/build/web/icons/Amex.js +36 -20
- package/build/web/icons/AndroidEN.js +61 -45
- package/build/web/icons/AndroidFR.js +58 -42
- package/build/web/icons/ArrowDownCircled.js +32 -16
- package/build/web/icons/ArrowLeft.js +33 -17
- package/build/web/icons/ArrowRight.js +33 -17
- package/build/web/icons/BoxOutline.js +32 -16
- package/build/web/icons/BoxOutlineChecked.js +32 -16
- package/build/web/icons/Bullet.js +33 -17
- package/build/web/icons/BulletCircle.js +35 -19
- package/build/web/icons/BulletFill.js +35 -19
- package/build/web/icons/CanadaFilled.js +42 -0
- package/build/web/icons/Cart.js +33 -17
- package/build/web/icons/CartFilled.js +35 -19
- package/build/web/icons/Caution.js +35 -19
- package/build/web/icons/Check.js +33 -17
- package/build/web/icons/CheckCircle.js +35 -19
- package/build/web/icons/CheckCircleFilled.js +35 -19
- package/build/web/icons/CheckCircledFilled.js +32 -16
- package/build/web/icons/CheckCircledNotFilled.js +38 -22
- package/build/web/icons/ChevronDown.js +33 -17
- package/build/web/icons/ChevronLeft.js +33 -17
- package/build/web/icons/ChevronRight.js +33 -17
- package/build/web/icons/ChevronUp.js +33 -17
- package/build/web/icons/CircledLine.js +43 -27
- package/build/web/icons/Clipboard.js +33 -17
- package/build/web/icons/Close.js +33 -17
- package/build/web/icons/ClosedCaptions.js +33 -17
- package/build/web/icons/Coaxial.js +35 -19
- package/build/web/icons/CreditCard.js +33 -17
- package/build/web/icons/DSL.js +35 -19
- package/build/web/icons/Devices.js +35 -19
- package/build/web/icons/Download.js +35 -19
- package/build/web/icons/ExclamationOctagon.js +35 -19
- package/build/web/icons/ExclamationTriangle.js +35 -19
- package/build/web/icons/Expand.js +33 -17
- package/build/web/icons/EyeClosed.js +33 -17
- package/build/web/icons/EyeMasked.js +34 -18
- package/build/web/icons/EyeOpened.js +35 -19
- package/build/web/icons/EyeUnmasked.js +38 -22
- package/build/web/icons/FullscreenExpand.js +33 -17
- package/build/web/icons/FullscreenMinimize.js +33 -17
- package/build/web/icons/Gift.js +35 -19
- package/build/web/icons/Hamburger.js +33 -17
- package/build/web/icons/IOSEN.js +53 -37
- package/build/web/icons/IOSFR.js +53 -37
- package/build/web/icons/IdCard.js +45 -29
- package/build/web/icons/IdTag.js +45 -29
- package/build/web/icons/Info.js +40 -24
- package/build/web/icons/InfoSelected.js +41 -25
- package/build/web/icons/InformationCircled.js +32 -16
- package/build/web/icons/InternetSpeed.js +33 -17
- package/build/web/icons/Kebab.js +44 -28
- package/build/web/icons/LeftCircle.js +35 -19
- package/build/web/icons/LinkExternal.js +35 -19
- package/build/web/icons/LocationMap.js +35 -19
- package/build/web/icons/LockFilled.js +35 -19
- package/build/web/icons/Maintenance.js +35 -19
- package/build/web/icons/MaintenanceFilled.js +35 -19
- package/build/web/icons/MasterCard.js +40 -24
- package/build/web/icons/Muted.js +33 -17
- package/build/web/icons/Number1FilledMono.js +35 -19
- package/build/web/icons/Number1FilledMulti.js +46 -30
- package/build/web/icons/Number2FilledMono.js +35 -19
- package/build/web/icons/Number2FilledMulti.js +37 -21
- package/build/web/icons/Number3FilledMono.js +35 -19
- package/build/web/icons/Number3FilledMulti.js +37 -21
- package/build/web/icons/Number4FilledMono.js +37 -21
- package/build/web/icons/Number4FilledMulti.js +37 -21
- package/build/web/icons/Number5FilledMono.js +35 -19
- package/build/web/icons/Number5FilledMulti.js +37 -21
- package/build/web/icons/OfferStarFilled.js +35 -19
- package/build/web/icons/Pause.js +33 -17
- package/build/web/icons/PaymentAdd.js +33 -17
- package/build/web/icons/Perk.js +35 -19
- package/build/web/icons/Phone.js +33 -17
- package/build/web/icons/PhoneTroubleshoot.js +35 -19
- package/build/web/icons/Play.js +33 -17
- package/build/web/icons/PlaySolid.js +35 -19
- package/build/web/icons/PlayVideo.js +35 -19
- package/build/web/icons/PlugPlay.js +35 -19
- package/build/web/icons/Preference.js +35 -19
- package/build/web/icons/Price.js +35 -19
- package/build/web/icons/Profile.js +35 -19
- package/build/web/icons/Question.js +35 -19
- package/build/web/icons/QuestionFilled.js +35 -19
- package/build/web/icons/QuoteLeft.js +35 -19
- package/build/web/icons/QuoteLeftArrow.js +39 -23
- package/build/web/icons/QuoteRightArrow.js +39 -23
- package/build/web/icons/RadialOutline.js +32 -16
- package/build/web/icons/RadialOutlineChecked.js +32 -16
- package/build/web/icons/Receipt.js +35 -19
- package/build/web/icons/Refresh.js +35 -19
- package/build/web/icons/Replay.js +33 -17
- package/build/web/icons/RightCircle.js +35 -19
- package/build/web/icons/RightCirlce.js +35 -19
- package/build/web/icons/Settings.js +35 -19
- package/build/web/icons/SettingsSolid.js +33 -17
- package/build/web/icons/ShippingFilled.js +35 -19
- package/build/web/icons/Shop.js +35 -19
- package/build/web/icons/Sim.js +35 -19
- package/build/web/icons/SimFilled.js +35 -19
- package/build/web/icons/Spyglass.js +35 -19
- package/build/web/icons/Streaming.js +33 -17
- package/build/web/icons/Subtract.js +33 -17
- package/build/web/icons/Tag.js +35 -19
- package/build/web/icons/TagFilled.js +35 -19
- package/build/web/icons/Times.js +32 -16
- package/build/web/icons/TimesCircled.js +52 -36
- package/build/web/icons/ToolTipFilled.js +35 -19
- package/build/web/icons/Tooltip.js +35 -19
- package/build/web/icons/TooltipSymbol.js +33 -17
- package/build/web/icons/Unmuted.js +35 -19
- package/build/web/icons/User.js +35 -19
- package/build/web/icons/UserAdd.js +35 -19
- package/build/web/icons/Visa.js +45 -29
- package/build/web/icons/canada-filled.icon.svg +3 -0
- package/build/web/icons/index.js +1 -0
- package/build/web/icons/utils/icon-shared-utils.js +34 -0
- package/build/web/icons/utils/icon-web-utils.js +50 -0
- package/build/web/palette.js +7 -6
- package/icon/canada-filled.svg +3 -0
- package/package.json +1 -1
- package/palette.json +4 -0
- /package/build/web/fonts/{StagSans-Bold-v3_2_0.otf → StagSans-Bold-v3_3_0.otf} +0 -0
- /package/build/web/fonts/{StagSans-Light-v3_2_0.otf → StagSans-Light-v3_3_0.otf} +0 -0
- /package/build/web/fonts/{StagSans-Medium-v3_2_0.otf → StagSans-Medium-v3_3_0.otf} +0 -0
- /package/build/web/fonts/{StagSans-Regular-v3_2_0.otf → StagSans-Regular-v3_3_0.otf} +0 -0
- /package/build/web/fonts/{StagSans-Semibold-v3_2_0.otf → StagSans-Semibold-v3_3_0.otf} +0 -0
package/build/rn/icons/Visa.js
CHANGED
|
@@ -6,33 +6,49 @@ module.exports = ({
|
|
|
6
6
|
titleId,
|
|
7
7
|
size,
|
|
8
8
|
color,
|
|
9
|
+
gradient,
|
|
9
10
|
...props
|
|
10
|
-
}) =>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
+
fill: "#00579F",
|
|
39
|
+
d: "M15.704 8c.752 0 1.36.151 1.744.288l-.265 1.464-.175-.072a3.615 3.615 0 0 0-1.449-.26c-.767 0-1.111.296-1.12.584 0 .317.417.526 1.097.836 1.12.483 1.64 1.075 1.632 1.846C17.152 14.092 15.824 15 13.784 15c-.872-.007-1.712-.173-2.168-.36l.272-1.522.256.108c.632.253 1.048.361 1.824.361.56 0 1.16-.21 1.168-.663 0-.296-.256-.512-1.008-.844-.736-.324-1.72-.865-1.704-1.838.008-1.32 1.36-2.242 3.28-2.242Zm-7.248 6.899H10.4l1.216-6.776H9.672l-1.216 6.776Z"
|
|
40
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
|
41
|
+
fill: "#00579F",
|
|
42
|
+
fillRule: "evenodd",
|
|
43
|
+
d: "M22.432 8.123h-1.504c-.464 0-.816.122-1.016.562L17.024 14.9h2.04l.408-1.016h2.496c.056.237.232 1.016.232 1.016H24l-1.568-6.776Zm-2.4 4.376a2035.23 2035.23 0 0 0 .836-2.049c.056-.14.139-.346.196-.496l.136.584s.368 1.622.448 1.96h-1.616Z",
|
|
44
|
+
clipRule: "evenodd"
|
|
45
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
|
46
|
+
fill: "#00579F",
|
|
47
|
+
d: "m4.928 12.743 1.904-4.62h2.056l-3.056 6.769H3.776L2.032 8.966c1.232.584 2.336 1.76 2.688 2.84l.208.938Z"
|
|
48
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
|
49
|
+
fill: "#FAA61A",
|
|
50
|
+
d: "M3.16 8.123H.032L0 8.26c2.44.562 4.056 1.918 4.72 3.547l-.68-3.115c-.112-.432-.456-.555-.88-.57Z"
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
54
|
+
};
|
|
@@ -7,31 +7,47 @@ module.exports = ({
|
|
|
7
7
|
titleId,
|
|
8
8
|
size,
|
|
9
9
|
color,
|
|
10
|
+
gradient,
|
|
10
11
|
...props
|
|
11
|
-
}) =>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
+
fill: "#00579F",
|
|
38
|
+
d: "M15.704 8c.752 0 1.36.151 1.744.288l-.265 1.464-.175-.072a3.615 3.615 0 0 0-1.449-.26c-.767 0-1.111.296-1.12.584 0 .317.417.526 1.097.836 1.12.483 1.64 1.075 1.632 1.846C17.152 14.092 15.824 15 13.784 15c-.872-.007-1.712-.173-2.168-.36l.272-1.522.256.108c.632.253 1.048.361 1.824.361.56 0 1.16-.21 1.168-.663 0-.296-.256-.512-1.008-.844-.736-.324-1.72-.865-1.704-1.838.008-1.32 1.36-2.242 3.28-2.242Zm-7.248 6.899H10.4l1.216-6.776H9.672l-1.216 6.776Z"
|
|
39
|
+
}), (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
40
|
+
fill: "#00579F",
|
|
41
|
+
fillRule: "evenodd",
|
|
42
|
+
d: "M22.432 8.123h-1.504c-.464 0-.816.122-1.016.562L17.024 14.9h2.04l.408-1.016h2.496c.056.237.232 1.016.232 1.016H24l-1.568-6.776Zm-2.4 4.376a2035.23 2035.23 0 0 0 .836-2.049c.056-.14.139-.346.196-.496l.136.584s.368 1.622.448 1.96h-1.616Z",
|
|
43
|
+
clipRule: "evenodd"
|
|
44
|
+
}), (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
45
|
+
fill: "#00579F",
|
|
46
|
+
d: "m4.928 12.743 1.904-4.62h2.056l-3.056 6.769H3.776L2.032 8.966c1.232.584 2.336 1.76 2.688 2.84l.208.938Z"
|
|
47
|
+
}), (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
48
|
+
fill: "#FAA61A",
|
|
49
|
+
d: "M3.16 8.123H.032L0 8.26c2.44.562 4.056 1.918 4.72 3.547l-.68-3.115c-.112-.432-.456-.555-.88-.57Z"
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
52
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
53
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M11.763 1.124c.1-.165.34-.165.44 0l1.907 3.183a.256.256 0 0 0 .3.11l1.507-.5a.256.256 0 0 1 .331.299L15.03 9.67c-.111.5.5.836.862.474l2.803-2.806a.257.257 0 0 1 .425.101l.515 1.573c.042.127.175.2.305.168l2.054-.512a.256.256 0 0 1 .291.362l-.997 2a.255.255 0 0 0 .128.349l1.429.61c.18.078.21.322.053.44l-5.493 4.12a.257.257 0 0 0-.088.287l.537 1.604a.26.26 0 0 1-.294.336c-.862-.164-2.7-.515-4.403-.628V22a.998.998 0 0 1-.96.998c-.007 0-.014.003-.022.003L12.168 23h-.01a1 1 0 0 1-1-1v-3.862c-1.737.094-3.766.467-4.664.64a.259.259 0 0 1-.294-.337l.52-1.554a.256.256 0 0 0-.09-.285L1.103 12.46a.256.256 0 0 1 .072-.448l1.44-.477a.256.256 0 0 0 .149-.357L1.692 9.025a.256.256 0 0 1 .29-.362l2.047.51a.256.256 0 0 0 .305-.168l.517-1.563a.256.256 0 0 1 .424-.1l2.808 2.817c.362.363.973.027.86-.474l-1.23-5.461a.256.256 0 0 1 .332-.3l1.491.506a.256.256 0 0 0 .302-.11l1.925-3.196Z"/>
|
|
3
|
+
</svg>
|
package/build/rn/icons/index.js
CHANGED
|
@@ -11,6 +11,7 @@ module.exports = {
|
|
|
11
11
|
Bullet: require('./Bullet'),
|
|
12
12
|
BulletCircle: require('./BulletCircle'),
|
|
13
13
|
BulletFill: require('./BulletFill'),
|
|
14
|
+
CanadaFilled: require('./CanadaFilled'),
|
|
14
15
|
Cart: require('./Cart'),
|
|
15
16
|
CartFilled: require('./CartFilled'),
|
|
16
17
|
Caution: require('./Caution'),
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const iconNativeUtils = {
|
|
4
|
+
renderNativeGradientDefs: (gradient, gradientId) => {
|
|
5
|
+
if (!gradient || !gradientId) return null;
|
|
6
|
+
const React = require('react');
|
|
7
|
+
const {
|
|
8
|
+
Defs,
|
|
9
|
+
LinearGradient,
|
|
10
|
+
RadialGradient,
|
|
11
|
+
Stop
|
|
12
|
+
} = require('react-native-svg');
|
|
13
|
+
if (gradient.type === 'linear') {
|
|
14
|
+
const angle = gradient.angle || 0;
|
|
15
|
+
const angleInRadians = (angle - 90) * Math.PI / 180;
|
|
16
|
+
const x1 = 0.5 - 0.5 * Math.cos(angleInRadians);
|
|
17
|
+
const y1 = 0.5 - 0.5 * Math.sin(angleInRadians);
|
|
18
|
+
const x2 = 0.5 + 0.5 * Math.cos(angleInRadians);
|
|
19
|
+
const y2 = 0.5 + 0.5 * Math.sin(angleInRadians);
|
|
20
|
+
return React.createElement(Defs, null, React.createElement(LinearGradient, {
|
|
21
|
+
id: gradientId,
|
|
22
|
+
x1: x1,
|
|
23
|
+
y1: y1,
|
|
24
|
+
x2: x2,
|
|
25
|
+
y2: y2
|
|
26
|
+
}, gradient.stops.map((stopItem, index) => {
|
|
27
|
+
const offset = stopItem.hint !== undefined ? stopItem.hint : stopItem.stop !== undefined ? stopItem.stop : index / (gradient.stops.length - 1);
|
|
28
|
+
return React.createElement(Stop, {
|
|
29
|
+
key: index,
|
|
30
|
+
offset: offset,
|
|
31
|
+
stopColor: stopItem.color
|
|
32
|
+
});
|
|
33
|
+
})));
|
|
34
|
+
} else if (gradient.type === 'radial') {
|
|
35
|
+
let cx = 0.5,
|
|
36
|
+
cy = 0.5,
|
|
37
|
+
r = 0.5;
|
|
38
|
+
if (gradient.specification) {
|
|
39
|
+
const match = gradient.specification.match(/([0-9.]+)%\s+([0-9.]+)%\s+at\s+([0-9.]+)%\s+([0-9.]+)%/);
|
|
40
|
+
if (match) {
|
|
41
|
+
r = parseFloat(match[1]) / 100;
|
|
42
|
+
cx = parseFloat(match[3]) / 100;
|
|
43
|
+
cy = parseFloat(match[4]) / 100;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return React.createElement(Defs, null, React.createElement(RadialGradient, {
|
|
47
|
+
id: gradientId,
|
|
48
|
+
cx: cx,
|
|
49
|
+
cy: cy,
|
|
50
|
+
r: r
|
|
51
|
+
}, gradient.stops.map((stopItem, index) => {
|
|
52
|
+
const offset = stopItem.hint !== undefined ? stopItem.hint : stopItem.stop !== undefined ? stopItem.stop : index / (gradient.stops.length - 1);
|
|
53
|
+
return React.createElement(Stop, {
|
|
54
|
+
key: index,
|
|
55
|
+
offset: offset,
|
|
56
|
+
stopColor: stopItem.color
|
|
57
|
+
});
|
|
58
|
+
})));
|
|
59
|
+
}
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
module.exports = iconNativeUtils;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const iconSharedUtils = {
|
|
4
|
+
hasValidGradient: gradient => {
|
|
5
|
+
return gradient && gradient.type && gradient.stops && gradient.stops.length > 0;
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
const gradientUtils = {
|
|
9
|
+
generateGradientId: gradient => {
|
|
10
|
+
if (!gradient) return '';
|
|
11
|
+
const type = gradient.type || '';
|
|
12
|
+
const angle = gradient.angle || 0;
|
|
13
|
+
const spec = gradient.specification || '';
|
|
14
|
+
const stopsStr = gradient.stops ? gradient.stops.map(s => `${s.color}-${s.stop || s.hint || 0}`).join('_') : '';
|
|
15
|
+
const gradientStr = `${type}-${angle}-${spec}-${stopsStr}`;
|
|
16
|
+
let hash = 0;
|
|
17
|
+
for (let i = 0; i < gradientStr.length; i++) {
|
|
18
|
+
const char = gradientStr.charCodeAt(i);
|
|
19
|
+
hash = (hash << 5) - hash + char;
|
|
20
|
+
hash = hash & hash;
|
|
21
|
+
}
|
|
22
|
+
const random = Math.floor(Math.random() * 10000);
|
|
23
|
+
return `gradient-${type}-${Math.abs(hash).toString(16)}-${random}`;
|
|
24
|
+
},
|
|
25
|
+
addGradientToSvg: (svgContent, gradientDefs) => {
|
|
26
|
+
if (!gradientDefs) return svgContent;
|
|
27
|
+
const React = require('react');
|
|
28
|
+
return React.cloneElement(svgContent, svgContent.props, gradientDefs, ...React.Children.toArray(svgContent.props.children));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
iconSharedUtils.getGradientUtils = () => {
|
|
32
|
+
return gradientUtils;
|
|
33
|
+
};
|
|
34
|
+
module.exports = iconSharedUtils;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const iconWebUtils = {
|
|
4
|
+
renderWebGradientDefs: (gradient, gradientId) => {
|
|
5
|
+
if (!gradient || !gradientId) return null;
|
|
6
|
+
const React = require('react');
|
|
7
|
+
if (gradient.type === 'linear') {
|
|
8
|
+
const angle = 180 - (gradient.angle || 0);
|
|
9
|
+
return React.createElement('defs', null, React.createElement('linearGradient', {
|
|
10
|
+
id: gradientId,
|
|
11
|
+
gradientTransform: `rotate(${angle})`
|
|
12
|
+
}, gradient.stops.map((stop, index) => {
|
|
13
|
+
const offset = stop.hint !== undefined ? stop.hint * 100 : stop.stop !== undefined ? stop.stop * 100 : '';
|
|
14
|
+
return React.createElement('stop', {
|
|
15
|
+
key: index,
|
|
16
|
+
offset: `${offset}%`,
|
|
17
|
+
stopColor: stop.color
|
|
18
|
+
});
|
|
19
|
+
})));
|
|
20
|
+
} else if (gradient.type === 'radial') {
|
|
21
|
+
let cx = '50%',
|
|
22
|
+
cy = '50%',
|
|
23
|
+
r = '50%';
|
|
24
|
+
if (typeof gradient.specification === 'string' && gradient.specification.length < 1000) {
|
|
25
|
+
const match = gradient.specification.match(/^(\d+(?:\.\d+)?)%\s+(\d+(?:\.\d+)?)%\s+at\s+(\d+(?:\.\d+)?)%\s+(\d+(?:\.\d+)?)%$/);
|
|
26
|
+
if (match) {
|
|
27
|
+
r = match[1] + '%';
|
|
28
|
+
cx = match[3] + '%';
|
|
29
|
+
cy = match[4] + '%';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return React.createElement('defs', null, React.createElement('radialGradient', {
|
|
33
|
+
id: gradientId,
|
|
34
|
+
cx: cx,
|
|
35
|
+
cy: cy,
|
|
36
|
+
r: r,
|
|
37
|
+
gradientUnits: "userSpaceOnUse"
|
|
38
|
+
}, gradient.stops.map((stop, index) => {
|
|
39
|
+
const offset = stop.hint !== undefined ? stop.hint * 100 : stop.stop !== undefined ? stop.stop * 100 : '';
|
|
40
|
+
return React.createElement('stop', {
|
|
41
|
+
key: index,
|
|
42
|
+
offset: `${offset}%`,
|
|
43
|
+
stopColor: stop.color
|
|
44
|
+
});
|
|
45
|
+
})));
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
module.exports = iconWebUtils;
|
package/build/rn/palette.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 23 May 2025 15:14:19 GMT
|
|
4
4
|
*/
|
|
5
5
|
module.exports = {
|
|
6
6
|
border: {
|
|
@@ -128,6 +128,7 @@ module.exports = {
|
|
|
128
128
|
Bullet: '@telus-uds/palette-koodo/build/rn/icons/bullet.icon.svg',
|
|
129
129
|
BulletCircle: '@telus-uds/palette-koodo/build/rn/icons/bullet-circle.icon.svg',
|
|
130
130
|
BulletFill: '@telus-uds/palette-koodo/build/rn/icons/bullet-fill.icon.svg',
|
|
131
|
+
CanadaFilled: '@telus-uds/palette-koodo/build/rn/icons/canada-filled.icon.svg',
|
|
131
132
|
Cart: '@telus-uds/palette-koodo/build/rn/icons/cart.icon.svg',
|
|
132
133
|
CartFilled: '@telus-uds/palette-koodo/build/rn/icons/cart-filled.icon.svg',
|
|
133
134
|
Caution: '@telus-uds/palette-koodo/build/rn/icons/caution.icon.svg',
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'StagSans';
|
|
3
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Light-
|
|
3
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Light-v3_3_0.otf');
|
|
4
4
|
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-display: block;
|
|
7
7
|
}
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: 'StagSans';
|
|
10
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Regular-
|
|
10
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Regular-v3_3_0.otf');
|
|
11
11
|
font-weight: 400;
|
|
12
12
|
font-style: normal;
|
|
13
13
|
font-display: block;
|
|
14
14
|
}
|
|
15
15
|
@font-face {
|
|
16
16
|
font-family: 'StagSans';
|
|
17
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Medium-
|
|
17
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Medium-v3_3_0.otf');
|
|
18
18
|
font-weight: 500;
|
|
19
19
|
font-style: normal;
|
|
20
20
|
font-display: block;
|
|
21
21
|
}
|
|
22
22
|
@font-face {
|
|
23
23
|
font-family: 'StagSans';
|
|
24
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Semibold-
|
|
24
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Semibold-v3_3_0.otf');
|
|
25
25
|
font-weight: 600;
|
|
26
26
|
font-style: normal;
|
|
27
27
|
font-display: block;
|
|
28
28
|
}
|
|
29
29
|
@font-face {
|
|
30
30
|
font-family: 'StagSans';
|
|
31
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Bold-
|
|
31
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Bold-v3_3_0.otf');
|
|
32
32
|
font-weight: 700;
|
|
33
33
|
font-style: normal;
|
|
34
34
|
font-display: block;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'StagSans300normal';
|
|
3
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Light-
|
|
3
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Light-v3_3_0.otf');
|
|
4
4
|
font-display: block;
|
|
5
5
|
}
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: 'StagSans400normal';
|
|
8
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Regular-
|
|
8
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Regular-v3_3_0.otf');
|
|
9
9
|
font-display: block;
|
|
10
10
|
}
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: 'StagSans500normal';
|
|
13
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Medium-
|
|
13
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Medium-v3_3_0.otf');
|
|
14
14
|
font-display: block;
|
|
15
15
|
}
|
|
16
16
|
@font-face {
|
|
17
17
|
font-family: 'StagSans600normal';
|
|
18
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Semibold-
|
|
18
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Semibold-v3_3_0.otf');
|
|
19
19
|
font-display: block;
|
|
20
20
|
}
|
|
21
21
|
@font-face {
|
|
22
22
|
font-family: 'StagSans700normal';
|
|
23
|
-
src: url('https://cdn.telus.digital/uds/StagSans-Bold-
|
|
23
|
+
src: url('https://cdn.telus.digital/uds/StagSans-Bold-v3_3_0.otf');
|
|
24
24
|
font-display: block;
|
|
25
25
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'StagSans';
|
|
3
|
-
src: url('./StagSans-Light-
|
|
3
|
+
src: url('./StagSans-Light-v3_3_0.otf');
|
|
4
4
|
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-display: block;
|
|
7
7
|
}
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: 'StagSans';
|
|
10
|
-
src: url('./StagSans-Regular-
|
|
10
|
+
src: url('./StagSans-Regular-v3_3_0.otf');
|
|
11
11
|
font-weight: 400;
|
|
12
12
|
font-style: normal;
|
|
13
13
|
font-display: block;
|
|
14
14
|
}
|
|
15
15
|
@font-face {
|
|
16
16
|
font-family: 'StagSans';
|
|
17
|
-
src: url('./StagSans-Medium-
|
|
17
|
+
src: url('./StagSans-Medium-v3_3_0.otf');
|
|
18
18
|
font-weight: 500;
|
|
19
19
|
font-style: normal;
|
|
20
20
|
font-display: block;
|
|
21
21
|
}
|
|
22
22
|
@font-face {
|
|
23
23
|
font-family: 'StagSans';
|
|
24
|
-
src: url('./StagSans-Semibold-
|
|
24
|
+
src: url('./StagSans-Semibold-v3_3_0.otf');
|
|
25
25
|
font-weight: 600;
|
|
26
26
|
font-style: normal;
|
|
27
27
|
font-display: block;
|
|
28
28
|
}
|
|
29
29
|
@font-face {
|
|
30
30
|
font-family: 'StagSans';
|
|
31
|
-
src: url('./StagSans-Bold-
|
|
31
|
+
src: url('./StagSans-Bold-v3_3_0.otf');
|
|
32
32
|
font-weight: 700;
|
|
33
33
|
font-style: normal;
|
|
34
34
|
font-display: block;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'StagSans300normal';
|
|
3
|
-
src: url('./StagSans-Light-
|
|
3
|
+
src: url('./StagSans-Light-v3_3_0.otf');
|
|
4
4
|
font-display: block;
|
|
5
5
|
}
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: 'StagSans400normal';
|
|
8
|
-
src: url('./StagSans-Regular-
|
|
8
|
+
src: url('./StagSans-Regular-v3_3_0.otf');
|
|
9
9
|
font-display: block;
|
|
10
10
|
}
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: 'StagSans500normal';
|
|
13
|
-
src: url('./StagSans-Medium-
|
|
13
|
+
src: url('./StagSans-Medium-v3_3_0.otf');
|
|
14
14
|
font-display: block;
|
|
15
15
|
}
|
|
16
16
|
@font-face {
|
|
17
17
|
font-family: 'StagSans600normal';
|
|
18
|
-
src: url('./StagSans-Semibold-
|
|
18
|
+
src: url('./StagSans-Semibold-v3_3_0.otf');
|
|
19
19
|
font-display: block;
|
|
20
20
|
}
|
|
21
21
|
@font-face {
|
|
22
22
|
font-family: 'StagSans700normal';
|
|
23
|
-
src: url('./StagSans-Bold-
|
|
23
|
+
src: url('./StagSans-Bold-v3_3_0.otf');
|
|
24
24
|
font-display: block;
|
|
25
25
|
}
|
package/build/web/icons/Add.js
CHANGED
|
@@ -6,21 +6,37 @@ module.exports = ({
|
|
|
6
6
|
titleId,
|
|
7
7
|
size,
|
|
8
8
|
color,
|
|
9
|
+
gradient,
|
|
9
10
|
...props
|
|
10
|
-
}) =>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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 32 32",
|
|
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
|
+
d: "M31.63 15.81a2.79 2.79 0 0 0-2.793-2.79l-10.233.003-.003-10.233a2.79 2.79 0 0 0-5.582.002l.004 10.233-10.233.003a2.79 2.79 0 1 0 .002 5.582l10.233-.004.003 10.233a2.79 2.79 0 1 0 5.582-.002l-.004-10.233 10.233-.003a2.79 2.79 0 0 0 2.79-2.792Z"
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
42
|
+
};
|
package/build/web/icons/Amex.js
CHANGED
|
@@ -6,24 +6,40 @@ module.exports = ({
|
|
|
6
6
|
titleId,
|
|
7
7
|
size,
|
|
8
8
|
color,
|
|
9
|
+
gradient,
|
|
9
10
|
...props
|
|
10
|
-
}) =>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
+
fill: "#016FD0",
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
d: "M2.709 8 0 14.991h3.243l.402-1.115h.918l.402 1.115h3.57v-.85l.318.85h1.846l.318-.869v.869h7.423l.902-1.086.846 1.086L24 15l-2.717-3.485L24 8h-3.753l-.879 1.066L18.549 8h-8.075l-.693 1.804L9.07 8H5.835v.822L5.475 8H2.71Zm.627.993h1.58l1.797 4.74v-4.74h1.732l1.387 3.399 1.28-3.4h1.722v5.017h-1.048l-.009-3.93-1.528 3.93h-.938l-1.537-3.93v3.93H5.618l-.41-1.124H3l-.408 1.123H1.437l1.9-5.015Zm14.72 0h-4.263v5.013h4.197l1.352-1.661 1.304 1.661h1.363l-1.98-2.492 1.98-2.521h-1.304l-1.345 1.642-1.304-1.642ZM4.105 9.84l-.728 2.004h1.455L4.105 9.84Zm10.74 1.106v-.916h2.66l1.161 1.464-1.212 1.473h-2.608v-1h2.325v-1.02h-2.325Z",
|
|
41
|
+
clipRule: "evenodd"
|
|
42
|
+
})]
|
|
43
|
+
});
|
|
44
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
45
|
+
};
|