@telus-uds/theme-allium 3.25.0 → 3.27.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/theme.json CHANGED
@@ -352,14 +352,22 @@
352
352
  "inverse": true
353
353
  },
354
354
  "tokens": {
355
+ "color": "{palette.color.white}",
356
+ "currentColor": "{palette.color.white}",
355
357
  "iconColor": "{palette.color.greyCloud}"
356
358
  }
357
359
  }
358
360
  ],
359
361
  "tokens": {
362
+ "color": "{palette.color.greyShuttle}",
363
+ "currentColor": "{palette.color.greyCharcoal}",
364
+ "fontName": "{palette.fontName.HelveticaNow}",
365
+ "fontSize": "{palette.fontSize.size12}",
366
+ "fontWeight": "{palette.fontWeight.weight500}",
360
367
  "icon": "{palette.icon.ChevronRight}",
361
- "iconColor": "{palette.color.greyShuttle}",
362
- "iconPadding": "{palette.size.size8}",
368
+ "iconColor": "{palette.color.greyCloud}",
369
+ "iconPadding": "{palette.size.size4}",
370
+ "iconSize": "{palette.size.size16}",
363
371
  "listItemPadding": "{palette.size.size0}"
364
372
  }
365
373
  },
@@ -1683,7 +1691,7 @@
1683
1691
  "size": "large"
1684
1692
  },
1685
1693
  "tokens": {
1686
- "height": "{palette.size.size48}",
1694
+ "fontSize": "{palette.fontSize.size20}",
1687
1695
  "iconSize": "{palette.size.size24}",
1688
1696
  "textLineHeight": "{palette.lineHeight.ratio10to5}"
1689
1697
  }
@@ -1693,7 +1701,7 @@
1693
1701
  "size": "small"
1694
1702
  },
1695
1703
  "tokens": {
1696
- "height": "{palette.size.size36}",
1704
+ "fontSize": "{palette.fontSize.size14}",
1697
1705
  "iconSize": "{palette.size.size14}",
1698
1706
  "textLineHeight": "{palette.lineHeight.ratio15to7}"
1699
1707
  }
@@ -1703,7 +1711,7 @@
1703
1711
  "size": "micro"
1704
1712
  },
1705
1713
  "tokens": {
1706
- "height": "{palette.size.size32}",
1714
+ "fontSize": "{palette.fontSize.size12}",
1707
1715
  "iconSize": "{palette.size.size12}",
1708
1716
  "textLineHeight": "{palette.lineHeight.ratio2to1}"
1709
1717
  }
@@ -1711,7 +1719,7 @@
1711
1719
  ],
1712
1720
  "tokens": {
1713
1721
  "color": "{palette.color.greenAccessible}",
1714
- "height": "{palette.size.size40}",
1722
+ "fontSize": "{palette.fontSize.size16}",
1715
1723
  "iconDisplace": "{palette.size.size0}",
1716
1724
  "iconSize": "{palette.size.size24}",
1717
1725
  "iconSpace": "{system.integer.1}",
@@ -1881,6 +1889,17 @@
1881
1889
  "validInputMixin": "{palette.color.greenAccessible}"
1882
1890
  }
1883
1891
  },
1892
+ "Disclaimer": {
1893
+ "appearances": {},
1894
+ "rules": [],
1895
+ "tokens": {
1896
+ "color": "{palette.color.greyCharcoal}",
1897
+ "fontName": "{palette.fontName.HelveticaNow}",
1898
+ "fontSize": "{palette.fontSize.size14}",
1899
+ "fontWeight": "{palette.fontWeight.weight400}",
1900
+ "lineHeight": "{palette.lineHeight.ratio10to7}"
1901
+ }
1902
+ },
1884
1903
  "Divider": {
1885
1904
  "appearances": {
1886
1905
  "decorative": {
@@ -2092,6 +2111,7 @@
2092
2111
  "closeButtonMarginRight": "{palette.size.size4}",
2093
2112
  "closeButtonMarginTop": "{palette.size.size12}",
2094
2113
  "closeButtonWidth": "{palette.size.size24}",
2114
+ "closeIcon": "{palette.icon.Close}",
2095
2115
  "footnoteBackground": "{palette.color.greyAthens}",
2096
2116
  "footnoteBodyBackground": "{palette.color.greyAthens}",
2097
2117
  "footnoteBodyPaddingBottom": "{palette.size.size32}",
@@ -2114,6 +2134,9 @@
2114
2134
  "appearances": {},
2115
2135
  "rules": [],
2116
2136
  "tokens": {
2137
+ "color": "{palette.color.black}",
2138
+ "fontName": "{palette.fontName.HelveticaNow}",
2139
+ "fontWeight": "{palette.fontWeight.weight400}",
2117
2140
  "lineHeight": "{palette.lineHeight.ratio1to1}",
2118
2141
  "paddingLeft": "{palette.size.size2}",
2119
2142
  "paddingRight": "{palette.size.size2}"
@@ -3022,7 +3045,7 @@
3022
3045
  "size": "large"
3023
3046
  },
3024
3047
  "tokens": {
3025
- "iconMarginTop": "{palette.size.size8}",
3048
+ "iconMarginTop": "{palette.size.size4}",
3026
3049
  "itemFontSize": "{palette.fontSize.size20}",
3027
3050
  "itemIconSize": "{palette.size.size20}",
3028
3051
  "itemLineHeight": "{palette.lineHeight.ratio8to5}",
@@ -3071,7 +3094,7 @@
3071
3094
  "tokens": {
3072
3095
  "dividerColor": "{palette.color.greyCloud}",
3073
3096
  "dividerSize": "{palette.border.border1}",
3074
- "iconMarginTop": "{palette.size.size4}",
3097
+ "iconMarginTop": "{palette.size.size3}",
3075
3098
  "interItemMargin": "{palette.size.size8}",
3076
3099
  "interItemMarginWithDivider": "{palette.size.size16}",
3077
3100
  "itemBulletColor": "{palette.color.purpleTelus}",
@@ -3323,6 +3346,116 @@
3323
3346
  "subHeadingMarginTop": "{palette.size.size8}"
3324
3347
  }
3325
3348
  },
3349
+ "NavigationBar": {
3350
+ "appearances": {
3351
+ "expanded": "{appearances.NavigationBar.expanded}",
3352
+ "focus": "{appearances.NavigationBar.focus}",
3353
+ "hover": "{appearances.NavigationBar.hover}",
3354
+ "pressed": "{appearances.NavigationBar.pressed}",
3355
+ "selected": "{appearances.NavigationBar.selected}",
3356
+ "viewport": "{appearances.NavigationBar.viewport}"
3357
+ },
3358
+ "rules": [
3359
+ {
3360
+ "if": {
3361
+ "selected": true
3362
+ },
3363
+ "tokens": {
3364
+ "backgroundColor": "{palette.color.greyAthens}",
3365
+ "borderColor": "{palette.color.greyAthens}",
3366
+ "color": "{palette.color.purpleTelus}",
3367
+ "fontName": "{palette.fontName.HelveticaNow}",
3368
+ "fontWeight": "{palette.fontWeight.weight700}"
3369
+ }
3370
+ },
3371
+ {
3372
+ "if": {
3373
+ "focus": true
3374
+ },
3375
+ "tokens": {
3376
+ "backgroundColor": "{palette.color.white}",
3377
+ "borderColor": "{palette.color.purpleTelus}",
3378
+ "borderWidth": "{palette.border.border3}",
3379
+ "color": "{palette.color.purpleTelus}"
3380
+ }
3381
+ },
3382
+ {
3383
+ "if": {
3384
+ "focus": true,
3385
+ "pressed": true
3386
+ },
3387
+ "tokens": {
3388
+ "backgroundColor": "{palette.color.purpleTelus}",
3389
+ "borderColor": "{palette.color.purpleTelus}",
3390
+ "color": "{palette.color.white}"
3391
+ }
3392
+ },
3393
+ {
3394
+ "if": {
3395
+ "hover": true
3396
+ },
3397
+ "tokens": {
3398
+ "backgroundColor": "{palette.color.greyAthens}",
3399
+ "borderColor": "{palette.color.purpleDeluge}",
3400
+ "color": "{palette.color.purpleTelus}"
3401
+ }
3402
+ },
3403
+ {
3404
+ "if": {
3405
+ "pressed": true
3406
+ },
3407
+ "tokens": {
3408
+ "backgroundColor": "{palette.color.greyMystic}",
3409
+ "borderColor": "{palette.color.purpleDeluge}",
3410
+ "borderWidth": "{palette.border.border1}",
3411
+ "color": "{palette.color.purpleTelus}"
3412
+ }
3413
+ },
3414
+ {
3415
+ "if": {
3416
+ "viewport": ["xs", "sm", "md"]
3417
+ },
3418
+ "tokens": {
3419
+ "textAlign": "{system.flexJustifyContent.flexStart}",
3420
+ "width": "{palette.size.size288}"
3421
+ }
3422
+ },
3423
+ {
3424
+ "if": {
3425
+ "expanded": true
3426
+ },
3427
+ "tokens": {
3428
+ "icoMenu": "{palette.icon.CaretUp}"
3429
+ }
3430
+ }
3431
+ ],
3432
+ "tokens": {
3433
+ "alignSelf": "{system.flexAlign.flexStart}",
3434
+ "backgroundColor": "{palette.color.white}",
3435
+ "borderColor": "{palette.color.white}",
3436
+ "borderRadius": "{palette.radius.pill32}",
3437
+ "borderWidth": "{palette.border.border1}",
3438
+ "color": "{palette.color.greyCharcoal}",
3439
+ "fontName": "{palette.fontName.HelveticaNow}",
3440
+ "fontSize": "{palette.fontSize.size14}",
3441
+ "fontWeight": "{palette.fontWeight.weight400}",
3442
+ "icoMenu": "{palette.icon.CaretDown}",
3443
+ "lineHeight": "{palette.lineHeight.ratio8to7}",
3444
+ "minWidth": "{palette.size.size0}",
3445
+ "opacity": "{palette.opacity.opacity10}",
3446
+ "outerBackgroundColor": "{palette.color.transparent}",
3447
+ "outerBorderColor": "{palette.color.transparent}",
3448
+ "outerBorderGap": "{palette.size.size0}",
3449
+ "outerBorderWidth": "{palette.border.border1}",
3450
+ "paddingBottom": "{palette.size.size8}",
3451
+ "paddingLeft": "{palette.size.size16}",
3452
+ "paddingRight": "{palette.size.size16}",
3453
+ "paddingTop": "{palette.size.size8}",
3454
+ "shadow": "{system.shadow.none}",
3455
+ "textAlign": "{system.flexJustifyContent.center}",
3456
+ "width": "{palette.size.size0}"
3457
+ }
3458
+ },
3326
3459
  "Notification": {
3327
3460
  "appearances": {
3328
3461
  "style": "{appearances.Notification.style}",
@@ -3431,12 +3564,6 @@
3431
3564
  "itemLineHeight": "{palette.lineHeight.ratio8to5}"
3432
3565
  }
3433
3566
  },
3434
- {
3435
- "if": {
3436
- "size": "medium"
3437
- },
3438
- "tokens": {}
3439
- },
3440
3567
  {
3441
3568
  "if": {
3442
3569
  "size": "small"
@@ -3743,18 +3870,104 @@
3743
3870
  }
3744
3871
  },
3745
3872
  "PriceLockup": {
3746
- "appearances": {},
3747
- "rules": [],
3873
+ "appearances": {
3874
+ "size": {
3875
+ "type": "variant",
3876
+ "values": ["small", "medium", "large"]
3877
+ },
3878
+ "strikeThrough": {
3879
+ "type": "variant",
3880
+ "values": [true]
3881
+ },
3882
+ "viewport": "{appearances.system.viewport}"
3883
+ },
3884
+ "rules": [
3885
+ {
3886
+ "if": {
3887
+ "size": "small"
3888
+ },
3889
+ "tokens": {
3890
+ "amountFontSize": "{palette.fontSize.size28}",
3891
+ "bottomTextFontSize": "{palette.fontSize.size14}",
3892
+ "bottomTextLineHeight": "{palette.lineHeight.ratio10to7}",
3893
+ "centsFontSize": "{palette.fontSize.size16}",
3894
+ "centsLineHeight": "{palette.lineHeight.ratio4to3}",
3895
+ "currencySymbolFontSize": "{palette.fontSize.size16}",
3896
+ "currencySymbolLineHeight": "{palette.lineHeight.ratio5to4}",
3897
+ "rateFontSize": "{palette.fontSize.size14}",
3898
+ "rateLineHeight": "{palette.lineHeight.ratio8to7}",
3899
+ "topTextFontSize": "{palette.fontSize.size14}",
3900
+ "topTextLineHeight": "{palette.lineHeight.ratio10to7}"
3901
+ }
3902
+ },
3903
+ {
3904
+ "if": {
3905
+ "size": "large",
3906
+ "viewport": ["lg", "xl"]
3907
+ },
3908
+ "tokens": {
3909
+ "amountFontSize": "{palette.fontSize.size64}",
3910
+ "bottomTextFontSize": "{palette.fontSize.size20}",
3911
+ "bottomTextLineHeight": "{palette.lineHeight.ratio8to5}",
3912
+ "centsFontSize": "{palette.fontSize.size36}",
3913
+ "centsLineHeight": "{palette.lineHeight.ratio9to8}",
3914
+ "currencySymbolFontSize": "{palette.fontSize.size36}",
3915
+ "currencySymbolLineHeight": "{palette.lineHeight.ratio9to8}",
3916
+ "rateFontSize": "{palette.fontSize.size20}",
3917
+ "rateLineHeight": "{palette.lineHeight.ratio8to5}",
3918
+ "topTextFontSize": "{palette.fontSize.size20}",
3919
+ "topTextLineHeight": "{palette.lineHeight.ratio8to5}"
3920
+ }
3921
+ },
3922
+ {
3923
+ "if": {
3924
+ "strikeThrough": true
3925
+ },
3926
+ "tokens": {
3927
+ "fontColor": "{palette.color.greyShuttle}",
3928
+ "footnoteLinkColor": "{palette.color.greyShuttle}"
3929
+ }
3930
+ }
3931
+ ],
3748
3932
  "tokens": {
3933
+ "amountFontName": "{palette.fontName.HelveticaNow}",
3934
+ "amountFontSize": "{palette.fontSize.size40}",
3935
+ "amountFontWeight": "{palette.fontWeight.weight300}",
3936
+ "amountLetterSpacing": "{palette.letterSpacing.condensed}",
3937
+ "amountLineHeight": "{palette.lineHeight.ratio1to1}",
3749
3938
  "bottomLinksMarginLeft": "{palette.size.size4}",
3939
+ "bottomTextFontSize": "{palette.fontSize.size16}",
3940
+ "bottomTextLineHeight": "{palette.lineHeight.ratio8to5}",
3750
3941
  "bottomTextMarginTop": "{palette.size.size4}",
3942
+ "centsFontName": "{palette.fontName.HelveticaNow}",
3943
+ "centsFontSize": "{palette.fontSize.size20}",
3944
+ "centsFontWeight": "{palette.fontWeight.weight400}",
3945
+ "centsLineHeight": "{palette.lineHeight.ratio6to5}",
3946
+ "currencySymbolFontName": "{palette.fontName.HelveticaNow}",
3947
+ "currencySymbolFontSize": "{palette.fontSize.size20}",
3948
+ "currencySymbolFontWeight": "{palette.fontWeight.weight400}",
3949
+ "currencySymbolLineHeight": "{palette.lineHeight.ratio6to5}",
3751
3950
  "dividerColor": "{palette.color.greyCloud}",
3752
3951
  "fontColor": "{palette.color.greyCharcoal}",
3952
+ "fontName": "{palette.fontName.HelveticaNow}",
3953
+ "fontWeight": "{palette.fontWeight.weight700}",
3753
3954
  "footnoteGap": "{palette.size.size4}",
3955
+ "footnoteLinkColor": "{palette.color.greyCharcoal}",
3956
+ "footnoteLinkFontName": "{palette.fontName.HelveticaNow}",
3957
+ "footnoteLinkFontSize": "{palette.fontSize.size14}",
3958
+ "footnoteLinkFontWeight": "{palette.fontWeight.weight400}",
3754
3959
  "footnoteMarginTop": "{palette.size.size4}",
3755
3960
  "priceMarginBottom": "{palette.size.size8}",
3756
- "strikeThroughBackground": "{palette.color.greyShuttle}",
3961
+ "rateFontName": "{palette.fontName.HelveticaNow}",
3962
+ "rateFontSize": "{palette.fontSize.size16}",
3963
+ "rateFontWeight": "{palette.fontWeight.weight400}",
3964
+ "rateLineHeight": "{palette.lineHeight.ratio5to4}",
3965
+ "strikeThroughColor": "{palette.color.greyShuttle}",
3757
3966
  "strikeThroughHeight": "{palette.size.size2}",
3967
+ "topTextFontName": "{palette.fontName.HelveticaNow}",
3968
+ "topTextFontSize": "{palette.fontSize.size16}",
3969
+ "topTextFontWeight": "{palette.fontWeight.weight700}",
3970
+ "topTextLineHeight": "{palette.lineHeight.ratio3to2}",
3758
3971
  "topTextMarginBottom": "{palette.size.size4}"
3759
3972
  }
3760
3973
  },
@@ -4429,6 +4642,10 @@
4429
4642
  "purpose": {
4430
4643
  "type": "variant",
4431
4644
  "values": ["offer", "default", "editorial"]
4645
+ },
4646
+ "wrap": {
4647
+ "type": "variant",
4648
+ "values": [true]
4432
4649
  }
4433
4650
  },
4434
4651
  "rules": [
@@ -4440,11 +4657,30 @@
4440
4657
  "backgroundColor": "{palette.color.greyShuttle}",
4441
4658
  "curveBackgroundColor": "{palette.color.greyThunder}"
4442
4659
  }
4660
+ },
4661
+ {
4662
+ "if": {
4663
+ "purpose": "offer"
4664
+ },
4665
+ "tokens": {
4666
+ "gradient": "{palette.gradient.purple}"
4667
+ }
4668
+ },
4669
+ {
4670
+ "if": {
4671
+ "wrap": true
4672
+ },
4673
+ "tokens": {
4674
+ "paddingLeft": "{palette.size.size24}",
4675
+ "paddingRight": "{palette.size.size24}"
4676
+ }
4443
4677
  }
4444
4678
  ],
4445
4679
  "tokens": {
4446
4680
  "backgroundColor": "{palette.color.purpleEminence}",
4447
4681
  "borderRadius": "{palette.size.size4}",
4682
+ "borderRadiusBottomLeft": "{system.size.none}",
4683
+ "borderRadiusBottomRight": "{system.size.none}",
4448
4684
  "boxShadowColor": "{palette.color.dark10}",
4449
4685
  "boxShadowPaddingBottom": "{palette.size.size2}",
4450
4686
  "boxShadowPaddingLeft": "{palette.size.size0}",
@@ -4452,13 +4688,14 @@
4452
4688
  "boxShadowPaddingTop": "{palette.size.size0}",
4453
4689
  "curveAfterBackgroundColor": "{palette.color.purpleEminence}",
4454
4690
  "curveAfterHeight": "{palette.size.size4}",
4455
- "curveAfterRadius": "{palette.size.size8}",
4691
+ "curveAfterRadius": "{palette.size.size0}",
4456
4692
  "curveAfterWidth": "{palette.size.size8}",
4457
4693
  "curveBackgroundColor": "{palette.color.purpleDark}",
4458
4694
  "curveHeight": "{palette.size.size10}",
4459
4695
  "curveMarginTop": "{palette.size.size4}",
4460
4696
  "curveWidth": "{palette.size.size8}",
4461
- "gradient": "{palette.gradient.purple}",
4697
+ "fontColor": "{palette.color.white}",
4698
+ "gradient": "{system.gradient.none}",
4462
4699
  "paddingBottom": "{palette.size.size4}",
4463
4700
  "paddingLeft": "{palette.size.size8}",
4464
4701
  "paddingRight": "{palette.size.size8}",
@@ -5116,6 +5353,9 @@
5116
5353
  "cellRowHeadingBackground": "{palette.color.white}",
5117
5354
  "cellStickyShadow": "{palette.shadow.elevation1}",
5118
5355
  "cellSubheadingBackground": "{palette.color.greyAlabaster}",
5356
+ "fontName": "{palette.fontName.HelveticaNow}",
5357
+ "fontSize": "{palette.fontSize.size16}",
5358
+ "fontWeight": "{palette.fontWeight.weight400}",
5119
5359
  "tablePaddingBottom": "{palette.size.size24}"
5120
5360
  }
5121
5361
  },
@@ -5678,8 +5918,6 @@
5678
5918
  "animationColorBefore": "{palette.color.white}",
5679
5919
  "animationDivColorAfter": "{palette.color.greenAccessible}",
5680
5920
  "animationDivColorBefore": "{palette.color.white}",
5681
- "animationFillColorAfter": "{palette.color.greenAccessible}",
5682
- "animationFillColorBefore": "{palette.color.white}",
5683
5921
  "animationHeightAfter": "{palette.size.size24}",
5684
5922
  "animationHeightBefore": "{palette.size.size0}",
5685
5923
  "animationPaddingBottomAfter": "{palette.size.size16}",
@@ -6485,6 +6723,44 @@
6485
6723
  "width": "{palette.size.size64}"
6486
6724
  }
6487
6725
  },
6726
+ "VideoPicker": {
6727
+ "appearances": {},
6728
+ "rules": [],
6729
+ "tokens": {
6730
+ "framedContainerBackgroundColor": "{palette.color.greyAlabaster}",
6731
+ "framedContainerBorderColor": "{palette.color.greyMystic}",
6732
+ "framedContainerBorderRadius": "{palette.radius.radius4}",
6733
+ "framedContainerBorderWidth": "{palette.border.border1}",
6734
+ "framedContainerPadding": "{palette.size.size24}",
6735
+ "framedMaxHeight": "{palette.size.size640}",
6736
+ "stackViewDividerColor": "{palette.color.greyMystic}"
6737
+ }
6738
+ },
6739
+ "VideoPickerSlider": {
6740
+ "appearances": {},
6741
+ "rules": [],
6742
+ "tokens": {
6743
+ "nextIcon": "{palette.icon.ArrowRight}",
6744
+ "previousIcon": "{palette.icon.ArrowLeft}"
6745
+ }
6746
+ },
6747
+ "VideoPickerThumbnail": {
6748
+ "appearances": {},
6749
+ "rules": [],
6750
+ "tokens": {
6751
+ "borderColor": "{palette.color.purpleTelus}",
6752
+ "borderRadius": "{palette.radius.radius4}",
6753
+ "borderWidth": "{palette.border.border2}",
6754
+ "pressableBorderTopColor": "{palette.color.greyMystic}",
6755
+ "pressableBorderTopWidth": "{palette.border.border1}",
6756
+ "pressablePaddingBottom": "{palette.size.size16}",
6757
+ "pressablePaddingHorizontal": "{palette.size.size24}",
6758
+ "pressablePaddingVertical": "{palette.size.size16}",
6759
+ "splashButtonRadius": "{palette.radius.radius4}",
6760
+ "subTitleColor": "{palette.color.greyShuttle}",
6761
+ "titleColor": "{palette.color.purpleTelus}"
6762
+ }
6763
+ },
6488
6764
  "VideoProgressBar": {
6489
6765
  "appearances": {},
6490
6766
  "rules": [],