@telus-uds/theme-allium 3.24.0 → 3.25.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
@@ -393,10 +393,11 @@
393
393
  "type": "variant",
394
394
  "values": [true]
395
395
  },
396
+ "viewport": "{appearances.system.viewport}",
396
397
  "width": {
397
- "description": "Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.",
398
+ "description": "Available in default, full-width or responsive. Default-width expands based on content. Full-width expands to width of the container. Responsive automatically applies full-width when is displayed on the XS viewport.",
398
399
  "type": "variant",
399
- "values": ["full"]
400
+ "values": ["full", "responsive"]
400
401
  }
401
402
  },
402
403
  "rules": [
@@ -563,6 +564,15 @@
563
564
  "width": "{system.size.full}"
564
565
  }
565
566
  },
567
+ {
568
+ "if": {
569
+ "viewport": ["xs"],
570
+ "width": "responsive"
571
+ },
572
+ "tokens": {
573
+ "width": "{system.size.full}"
574
+ }
575
+ },
566
576
  {
567
577
  "if": {
568
578
  "size": "small"
@@ -1712,6 +1722,106 @@
1712
1722
  "textLineHeight": "{palette.lineHeight.ratio9to4}"
1713
1723
  }
1714
1724
  },
1725
+ "Countdown": {
1726
+ "appearances": {
1727
+ "feature": {
1728
+ "type": "variant",
1729
+ "values": [true]
1730
+ },
1731
+ "inverse": {
1732
+ "type": "variant",
1733
+ "values": [true]
1734
+ },
1735
+ "label": {
1736
+ "type": "variant",
1737
+ "values": [true]
1738
+ },
1739
+ "large": {
1740
+ "type": "variant",
1741
+ "values": [true]
1742
+ },
1743
+ "viewport": "{appearances.system.viewport}"
1744
+ },
1745
+ "rules": [
1746
+ {
1747
+ "if": {
1748
+ "viewport": ["xs"]
1749
+ },
1750
+ "tokens": {
1751
+ "containerPaddingBottomTop": "{palette.size.size16}",
1752
+ "containerPaddingLeftRight": "{palette.size.size24}",
1753
+ "labelFontSize": "{palette.fontSize.size14}",
1754
+ "labelLineHeight": "{palette.lineHeight.ratio10to7}",
1755
+ "textLineHeight": "{palette.lineHeight.ratio10to7}"
1756
+ }
1757
+ },
1758
+ {
1759
+ "if": {
1760
+ "large": true,
1761
+ "viewport": ["xs"]
1762
+ },
1763
+ "tokens": {
1764
+ "textFontSize": "{palette.fontSize.size28}"
1765
+ }
1766
+ },
1767
+ {
1768
+ "if": {
1769
+ "feature": true,
1770
+ "viewport": ["xs"]
1771
+ },
1772
+ "tokens": {
1773
+ "textFontSize": "{palette.fontSize.size28}"
1774
+ }
1775
+ },
1776
+ {
1777
+ "if": {
1778
+ "feature": true
1779
+ },
1780
+ "tokens": {
1781
+ "labelBorderColor": "{palette.color.purpleTelus}",
1782
+ "textFontSize": "{palette.fontSize.size64}",
1783
+ "textLineHeight": "{palette.lineHeight.ratio9to8}",
1784
+ "textTimerFontName": "{palette.fontName.HelveticaNow}",
1785
+ "textTimerFontWeight": "{palette.fontWeight.weight300}"
1786
+ }
1787
+ },
1788
+ {
1789
+ "if": {
1790
+ "large": true
1791
+ },
1792
+ "tokens": {
1793
+ "textFontSize": "{palette.fontSize.size64}",
1794
+ "textLineHeight": "{palette.lineHeight.ratio9to8}",
1795
+ "textTimerFontName": "{palette.fontName.HelveticaNow}",
1796
+ "textTimerFontWeight": "{palette.fontWeight.weight300}"
1797
+ }
1798
+ },
1799
+ {
1800
+ "if": {
1801
+ "inverse": true
1802
+ },
1803
+ "tokens": {
1804
+ "labelBorderColor": "{palette.color.white}"
1805
+ }
1806
+ }
1807
+ ],
1808
+ "tokens": {
1809
+ "containerBorderRadius": "{palette.radius.radius6}",
1810
+ "containerGradient": "{palette.gradient.purple}",
1811
+ "containerInverseBorder": "{palette.border.border2}",
1812
+ "containerInverseBorderColor": "{palette.color.white}",
1813
+ "containerPaddingBottomTop": "{palette.size.size48}",
1814
+ "containerPaddingLeftRight": "{palette.size.size64}",
1815
+ "inverseBorderColor": "{palette.color.greyShuttle}",
1816
+ "labelBorderColor": "{palette.color.greyCharcoal}",
1817
+ "labelFontSize": "{palette.fontSize.size16}",
1818
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
1819
+ "textFontSize": "{palette.fontSize.size16}",
1820
+ "textLineHeight": "{palette.lineHeight.ratio3to2}",
1821
+ "textTimerFontName": "{palette.fontName.HelveticaNow}",
1822
+ "textTimerFontWeight": "{palette.fontWeight.weight400}"
1823
+ }
1824
+ },
1715
1825
  "DatePicker": {
1716
1826
  "appearances": {},
1717
1827
  "rules": [],
@@ -2291,6 +2401,78 @@
2291
2401
  "icon": "{palette.icon.PlayVideo}"
2292
2402
  }
2293
2403
  },
2404
+ {
2405
+ "if": {
2406
+ "action": "add"
2407
+ },
2408
+ "tokens": {
2409
+ "icon": "{palette.icon.Add}"
2410
+ }
2411
+ },
2412
+ {
2413
+ "if": {
2414
+ "action": "subtract"
2415
+ },
2416
+ "tokens": {
2417
+ "icon": "{palette.icon.Subtract}"
2418
+ }
2419
+ },
2420
+ {
2421
+ "if": {
2422
+ "action": "close"
2423
+ },
2424
+ "tokens": {
2425
+ "icon": "{palette.icon.Close}"
2426
+ }
2427
+ },
2428
+ {
2429
+ "if": {
2430
+ "action": "expand"
2431
+ },
2432
+ "tokens": {
2433
+ "icon": "{palette.icon.Expand}"
2434
+ }
2435
+ },
2436
+ {
2437
+ "if": {
2438
+ "action": "moveDown"
2439
+ },
2440
+ "tokens": {
2441
+ "icon": "{palette.icon.CaretDown}"
2442
+ }
2443
+ },
2444
+ {
2445
+ "if": {
2446
+ "action": "moveUp"
2447
+ },
2448
+ "tokens": {
2449
+ "icon": "{palette.icon.CaretUp}"
2450
+ }
2451
+ },
2452
+ {
2453
+ "if": {
2454
+ "action": "moveLeft"
2455
+ },
2456
+ "tokens": {
2457
+ "icon": "{palette.icon.ChevronLeft}"
2458
+ }
2459
+ },
2460
+ {
2461
+ "if": {
2462
+ "action": "moveRight"
2463
+ },
2464
+ "tokens": {
2465
+ "icon": "{palette.icon.ChevronRight}"
2466
+ }
2467
+ },
2468
+ {
2469
+ "if": {
2470
+ "action": "play"
2471
+ },
2472
+ "tokens": {
2473
+ "icon": "{palette.icon.PlayVideo}"
2474
+ }
2475
+ },
2294
2476
  {
2295
2477
  "if": {
2296
2478
  "inverse": true
@@ -3639,6 +3821,88 @@
3639
3821
  "outlineWidth": "{palette.border.border1}"
3640
3822
  }
3641
3823
  },
3824
+ "QuantitySelector": {
3825
+ "appearances": {
3826
+ "alternative": {
3827
+ "type": "variant",
3828
+ "values": [true]
3829
+ },
3830
+ "disabled": {
3831
+ "type": "variant",
3832
+ "values": [true]
3833
+ },
3834
+ "focus": {
3835
+ "type": "variant",
3836
+ "values": [true]
3837
+ },
3838
+ "hover": {
3839
+ "type": "variant",
3840
+ "values": [true]
3841
+ },
3842
+ "pressed": {
3843
+ "type": "variant",
3844
+ "values": [true]
3845
+ }
3846
+ },
3847
+ "rules": [
3848
+ {
3849
+ "if": {
3850
+ "alternative": true
3851
+ },
3852
+ "tokens": {
3853
+ "padding": "{palette.size.size0}"
3854
+ }
3855
+ },
3856
+ {
3857
+ "if": {
3858
+ "hover": true
3859
+ },
3860
+ "tokens": {
3861
+ "backgroundColor": "{palette.color.greyAthens}",
3862
+ "inputBackgroundColor": "{palette.color.greyAthens}"
3863
+ }
3864
+ },
3865
+ {
3866
+ "if": {
3867
+ "disabled": true
3868
+ },
3869
+ "tokens": {
3870
+ "backgroundColor": "{palette.color.greyAlabaster}",
3871
+ "iconColor": "{palette.color.greyMystic}"
3872
+ }
3873
+ },
3874
+ {
3875
+ "if": {
3876
+ "pressed": true
3877
+ },
3878
+ "tokens": {
3879
+ "backgroundColor": "{palette.color.greyCloud}"
3880
+ }
3881
+ },
3882
+ {
3883
+ "if": {
3884
+ "focus": true
3885
+ },
3886
+ "tokens": {
3887
+ "inputBorderColor": "{palette.color.greyShuttle}",
3888
+ "inputBorderWidth": "{palette.size.size3}"
3889
+ }
3890
+ }
3891
+ ],
3892
+ "tokens": {
3893
+ "backgroundColor": "{system.color.none}",
3894
+ "borderColor": "{palette.color.greyShuttle}",
3895
+ "iconColor": "{palette.color.greyShuttle}",
3896
+ "iconSize": "{palette.size.size16}",
3897
+ "inputBackgroundColor": "{palette.color.white}",
3898
+ "inputBorderColor": "{palette.color.greyShuttle}",
3899
+ "inputBorderWidth": "{palette.size.size1}",
3900
+ "leftIcon": "{palette.icon.Subtract}",
3901
+ "padding": "{palette.size.size16}",
3902
+ "rightIcon": "{palette.icon.Add}",
3903
+ "textColor": "{palette.color.greyCloud}"
3904
+ }
3905
+ },
3642
3906
  "QuickLinks": {
3643
3907
  "appearances": {
3644
3908
  "viewport": "{appearances.system.viewport}"
@@ -4621,6 +4885,58 @@
4621
4885
  "thickness": "{palette.border.border4}"
4622
4886
  }
4623
4887
  },
4888
+ "SplashButton": {
4889
+ "appearances": {
4890
+ "hover": "{appearances.SplashButton.hover}"
4891
+ },
4892
+ "rules": [
4893
+ {
4894
+ "if": {
4895
+ "hover": true
4896
+ },
4897
+ "tokens": {
4898
+ "buttonContentChildrenBackground": "{palette.color.dark80}"
4899
+ }
4900
+ }
4901
+ ],
4902
+ "tokens": {
4903
+ "buttonContentBackground": "{palette.color.dark60}",
4904
+ "buttonContentChildrenBackground": "{system.color.none}",
4905
+ "playIcon": "{palette.icon.PlaySolid}",
4906
+ "playIconColor": "{palette.color.white}"
4907
+ }
4908
+ },
4909
+ "SplashButtonWithDetails": {
4910
+ "appearances": {
4911
+ "hover": "{appearances.SplashButton.hover}"
4912
+ },
4913
+ "rules": [
4914
+ {
4915
+ "if": {
4916
+ "hover": true
4917
+ },
4918
+ "tokens": {
4919
+ "buttonContentChildrenBackground": "{palette.color.light80}"
4920
+ }
4921
+ }
4922
+ ],
4923
+ "tokens": {
4924
+ "buttonBackground": "{palette.color.white}",
4925
+ "buttonBorderColor": "{palette.color.greyMystic}",
4926
+ "buttonBottomPosition": "{palette.size.size24}",
4927
+ "buttonContentBackground": "{palette.color.dark60}",
4928
+ "buttonContentChildrenBackground": "{system.color.none}",
4929
+ "buttonLeftPosition": "{palette.size.size24}",
4930
+ "buttonMinHeight": "{palette.size.size64}",
4931
+ "buttonPaddingLeft": "{palette.size.size16}",
4932
+ "buttonPaddingRight": "{palette.size.size16}",
4933
+ "buttonRadius": "{palette.radius.pill32}",
4934
+ "detailsContainerPadding": "{palette.size.size8}",
4935
+ "playIcon": "{palette.icon.PlaySolid}",
4936
+ "playIconColor": "{palette.color.white}",
4937
+ "playIconContainerBackground": "{palette.color.greenAccessible}"
4938
+ }
4939
+ },
4624
4940
  "StackView": {
4625
4941
  "appearances": {},
4626
4942
  "rules": [],
@@ -4715,6 +5031,61 @@
4715
5031
  "showStepTrackerLabel": "{system.show.true}"
4716
5032
  }
4717
5033
  },
5034
+ "StoryCard": {
5035
+ "appearances": {
5036
+ "focus": "{appearances.StoryCard.focus}",
5037
+ "hover": "{appearances.StoryCard.hover}",
5038
+ "pressed": "{appearances.StoryCard.pressed}"
5039
+ },
5040
+ "rules": [
5041
+ {
5042
+ "if": {
5043
+ "hover": true
5044
+ },
5045
+ "tokens": {
5046
+ "borderWidth": "{palette.border.border2}"
5047
+ }
5048
+ },
5049
+ {
5050
+ "if": {
5051
+ "pressed": true
5052
+ },
5053
+ "tokens": {
5054
+ "backgroundColor": "{palette.color.greyAthens}"
5055
+ }
5056
+ },
5057
+ {
5058
+ "if": {
5059
+ "focus": true
5060
+ },
5061
+ "tokens": {
5062
+ "outerBorderColor": "{palette.color.greyShuttle}",
5063
+ "outerBorderGap": "{palette.size.size2}",
5064
+ "outerBorderWidth": "{palette.border.border2}"
5065
+ }
5066
+ }
5067
+ ],
5068
+ "tokens": {
5069
+ "backgroundColor": "{palette.color.white}",
5070
+ "borderColor": "{palette.color.greyMystic}",
5071
+ "borderRadius": "{palette.radius.radius6}",
5072
+ "borderWidth": "{palette.border.border1}",
5073
+ "contentAlignItems": "{system.flexAlign.stretch}",
5074
+ "contentFlexGrow": "{system.integer.0}",
5075
+ "contentFlexShrink": "{system.integer.0}",
5076
+ "contentJustifyContent": "{system.flexJustifyContent.flexStart}",
5077
+ "flex": "{system.integer.1}",
5078
+ "minWidth": "{palette.size.size0}",
5079
+ "outerBorderColor": "{palette.color.transparent}",
5080
+ "outerBorderGap": "{palette.size.size0}",
5081
+ "outerBorderWidth": "{palette.border.none}",
5082
+ "paddingBottom": "{palette.size.size0}",
5083
+ "paddingLeft": "{palette.size.size0}",
5084
+ "paddingRight": "{palette.size.size0}",
5085
+ "paddingTop": "{palette.size.size0}",
5086
+ "shadow": "{system.shadow.none}"
5087
+ }
5088
+ },
4718
5089
  "Table": {
4719
5090
  "appearances": {
4720
5091
  "spacing": {
@@ -5083,6 +5454,74 @@
5083
5454
  "width": "{system.size.none}"
5084
5455
  }
5085
5456
  },
5457
+ "TermsAndConditions": {
5458
+ "appearances": {
5459
+ "expanded": "{appearances.TermsAndConditions.expanded}"
5460
+ },
5461
+ "rules": [
5462
+ {
5463
+ "if": {
5464
+ "expanded": true
5465
+ },
5466
+ "tokens": {
5467
+ "icon": "{palette.icon.CaretUp}"
5468
+ }
5469
+ }
5470
+ ],
5471
+ "tokens": {
5472
+ "contentPaddingBottom": "{palette.size.size8}",
5473
+ "contentPaddingLeft": "{palette.size.size16}",
5474
+ "expandBaseBorderWidth": "{palette.border.none}",
5475
+ "expandContentPaddingBottom": "{palette.size.size16}",
5476
+ "expandContentPaddingLeft": "{palette.size.size16}",
5477
+ "expandContentPaddingRight": "{palette.size.size16}",
5478
+ "expandContentPaddingTop": "{palette.size.size16}",
5479
+ "expandIconContainerAlignItems": "{system.flexAlign.center}",
5480
+ "expandIconContainerBorder": "{palette.border.border1}",
5481
+ "expandIconContainerBorderColor": "{palette.color.greyShuttle}",
5482
+ "expandIconContainerHeight": "{palette.size.size32}",
5483
+ "expandIconContainerJustifyContent": "{system.flexJustifyContent.center}",
5484
+ "expandIconContainerMarginX": "{palette.size.size0}",
5485
+ "expandIconContainerMarginY": "{palette.size.size12}",
5486
+ "expandIconContainerWidth": "{palette.size.size32}",
5487
+ "expandTitleColor": "{palette.color.greyThunder}",
5488
+ "expandTitleFontSize": "{palette.size.size16}",
5489
+ "expandTitleLineHeight": "{palette.lineHeight.ratio3to2}",
5490
+ "expandTitleMarginX": "{palette.size.size4}",
5491
+ "expandTitleMarginY": "{palette.size.size0}",
5492
+ "icon": "{palette.icon.CaretDown}",
5493
+ "listColor": "{palette.color.greyCharcoal}",
5494
+ "listFontName": "{palette.fontName.HelveticaNow}",
5495
+ "listFontSize": "{palette.fontSize.size14}",
5496
+ "listFontWeight": "{palette.fontWeight.weight400}",
5497
+ "listLineHeight": "{palette.lineHeight.ratio10to7}",
5498
+ "listMarginBottom": "{palette.size.size16}",
5499
+ "listMarginLeft": "{palette.size.size32}",
5500
+ "mdContentPaddingBottom": "{palette.size.size16}",
5501
+ "mdContentPaddingLeft": "{palette.size.size48}",
5502
+ "orderedPadding": "{palette.size.size0}",
5503
+ "titleColor": "{palette.color.greyCharcoal}",
5504
+ "titleFontSize": "{palette.fontSize.size14}",
5505
+ "titleLineHeight": "{palette.lineHeight.ratio10to7}",
5506
+ "titlePaddingLeft": "{palette.size.size8}",
5507
+ "unorderedPadding": "{palette.size.size0}"
5508
+ }
5509
+ },
5510
+ "Testimonial": {
5511
+ "appearances": {},
5512
+ "rules": [],
5513
+ "tokens": {
5514
+ "dividerBackgroundColor": "{palette.color.greyCloud}",
5515
+ "dividerBorder": "{palette.border.border1}",
5516
+ "figcaptionGap": "{palette.size.size12}",
5517
+ "icon": "{palette.icon.QuoteLeft}",
5518
+ "iconColor": "{palette.color.greyCloud}",
5519
+ "imageSize": "{palette.size.size48}",
5520
+ "quoteContainerGap": "{palette.size.size4}",
5521
+ "testimonialContainerGap": "{palette.size.size12}",
5522
+ "textColor": "{palette.color.greyCharcoal}"
5523
+ }
5524
+ },
5086
5525
  "TextArea": {
5087
5526
  "appearances": {},
5088
5527
  "rules": [],
@@ -5985,6 +6424,97 @@
5985
6424
  "textTransform": "{system.textTransform.none}"
5986
6425
  }
5987
6426
  },
6427
+ "Video": {
6428
+ "appearances": {},
6429
+ "rules": [],
6430
+ "tokens": {
6431
+ "borderColor": "{palette.color.greyCloud}",
6432
+ "pauseIcon": "{palette.icon.Pause}",
6433
+ "playIcon": "{palette.icon.PlaySolid}",
6434
+ "replayIcon": "{palette.icon.Replay}"
6435
+ }
6436
+ },
6437
+ "VideoButton": {
6438
+ "appearances": {},
6439
+ "rules": [],
6440
+ "tokens": {
6441
+ "color": "{palette.color.white}"
6442
+ }
6443
+ },
6444
+ "VideoControlBar": {
6445
+ "appearances": {},
6446
+ "rules": [],
6447
+ "tokens": {
6448
+ "captionsIcon": "{palette.icon.ClosedCaptions}",
6449
+ "maximizeIcon": "{palette.icon.FullscreenExpand}",
6450
+ "menuBottom": "{palette.size.size64}",
6451
+ "menuMarginLeft": "{palette.size.size16}",
6452
+ "menuRight": "{palette.size.size32}",
6453
+ "minimizeIcon": "{palette.icon.FullscreenMinimize}",
6454
+ "paddingBottom": "{palette.size.size16}",
6455
+ "paddingLeft": "{palette.size.size48}",
6456
+ "paddingLeftCompactMode": "{palette.size.size16}",
6457
+ "paddingRight": "{palette.size.size48}",
6458
+ "paddingRightCompactMode": "{palette.size.size16}",
6459
+ "paddingTop": "{palette.size.size16}",
6460
+ "settingsIcon": "{palette.icon.SettingsSolid}"
6461
+ }
6462
+ },
6463
+ "VideoMenu": {
6464
+ "appearances": {},
6465
+ "rules": [],
6466
+ "tokens": {
6467
+ "background": "{palette.color.greyThunder}",
6468
+ "checkMarkFocusColor": "{palette.color.greyShuttle}",
6469
+ "checkMarkHeight": "{palette.size.size24}",
6470
+ "checkMarkHoverColor": "{palette.color.greyShuttle}",
6471
+ "checkMarkIcon": "{palette.icon.Checkmark}",
6472
+ "checkMarkSelectedColor": "{palette.color.white}",
6473
+ "checkMarkUnselectedColor": "{palette.color.transparent}",
6474
+ "checkMarkWidth": "{palette.size.size24}",
6475
+ "padding": "{palette.size.size16}"
6476
+ }
6477
+ },
6478
+ "VideoMiddleControlButton": {
6479
+ "appearances": {},
6480
+ "rules": [],
6481
+ "tokens": {
6482
+ "background": "{palette.color.greyThunder}",
6483
+ "height": "{palette.size.size64}",
6484
+ "iconColor": "{palette.color.white}",
6485
+ "width": "{palette.size.size64}"
6486
+ }
6487
+ },
6488
+ "VideoProgressBar": {
6489
+ "appearances": {},
6490
+ "rules": [],
6491
+ "tokens": {
6492
+ "rangeBackground": "{palette.color.transparent}",
6493
+ "thumbBackground": "{palette.color.white}",
6494
+ "thumbHeight": "{palette.size.size8}",
6495
+ "thumbWidth": "{palette.size.size8}",
6496
+ "timestampMarginLeft": "{palette.size.size8}",
6497
+ "timestampMarginRight": "{palette.size.size8}",
6498
+ "trackGradientEnd": "{palette.color.greenTelus}",
6499
+ "trackGradientStart": "{palette.color.greenTelus}"
6500
+ }
6501
+ },
6502
+ "VideoVolumeSlider": {
6503
+ "appearances": {},
6504
+ "rules": [],
6505
+ "tokens": {
6506
+ "marginLeft": "{palette.size.size16}",
6507
+ "marginRight": "{palette.size.size16}",
6508
+ "mutedIcon": "{palette.icon.Muted}",
6509
+ "rangeBackground": "{palette.color.transparent}",
6510
+ "thumbBackground": "{palette.color.white}",
6511
+ "thumbHeight": "{palette.size.size8}",
6512
+ "thumbWidth": "{palette.size.size8}",
6513
+ "trackGradientEnd": "{palette.color.white}",
6514
+ "trackGradientStart": "{palette.color.white}",
6515
+ "unmutedIcon": "{palette.icon.Unmuted}"
6516
+ }
6517
+ },
5988
6518
  "WaffleGrid": {
5989
6519
  "appearances": {},
5990
6520
  "rules": [],