@telus-uds/theme-koodo 3.23.0 → 3.24.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
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "tokens": {
23
23
  "color": "{palette.color.mosque}",
24
- "size": "{palette.size.size40}",
25
- "thickness": "{palette.border.border4}"
24
+ "size": "{palette.size.size24}",
25
+ "thickness": "{palette.border.border2}"
26
26
  }
27
27
  },
28
28
  "Badge": {
@@ -356,10 +356,11 @@
356
356
  "type": "variant",
357
357
  "values": [true]
358
358
  },
359
+ "viewport": "{appearances.system.viewport}",
359
360
  "width": {
360
- "description": "Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.",
361
+ "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.",
361
362
  "type": "variant",
362
- "values": ["full"]
363
+ "values": ["full", "responsive"]
363
364
  }
364
365
  },
365
366
  "rules": [
@@ -597,6 +598,15 @@
597
598
  "width": "{system.size.full}"
598
599
  }
599
600
  },
601
+ {
602
+ "if": {
603
+ "viewport": ["xs"],
604
+ "width": "responsive"
605
+ },
606
+ "tokens": {
607
+ "width": "{system.size.full}"
608
+ }
609
+ },
600
610
  {
601
611
  "if": {
602
612
  "size": "small"
@@ -1169,6 +1179,10 @@
1169
1179
  },
1170
1180
  "Callout": {
1171
1181
  "appearances": {
1182
+ "rounded": {
1183
+ "type": "variant",
1184
+ "values": [true]
1185
+ },
1172
1186
  "size": {
1173
1187
  "type": "variant",
1174
1188
  "values": ["small"]
@@ -1183,12 +1197,20 @@
1183
1197
  "paddingBottom": "{palette.size.size4}",
1184
1198
  "paddingTop": "{palette.size.size4}"
1185
1199
  }
1200
+ },
1201
+ {
1202
+ "if": {
1203
+ "rounded": true
1204
+ },
1205
+ "tokens": {
1206
+ "borderRadius": "{palette.size.size4}"
1207
+ }
1186
1208
  }
1187
1209
  ],
1188
1210
  "tokens": {
1189
- "background": "{palette.color.gallery}",
1190
- "borderRadius": "{palette.size.size4}",
1191
- "color": "{palette.color.black}",
1211
+ "background": "{palette.color.carouselPink}",
1212
+ "borderRadius": "{palette.size.size0}",
1213
+ "color": "{palette.color.flirt}",
1192
1214
  "gap": "{palette.size.size16}",
1193
1215
  "paddingBottom": "{palette.size.size8}",
1194
1216
  "paddingLeft": "{palette.size.size16}",
@@ -1661,6 +1683,106 @@
1661
1683
  "textLineHeight": "{palette.lineHeight.ratio17to8}"
1662
1684
  }
1663
1685
  },
1686
+ "Countdown": {
1687
+ "appearances": {
1688
+ "feature": {
1689
+ "type": "variant",
1690
+ "values": [true]
1691
+ },
1692
+ "inverse": {
1693
+ "type": "variant",
1694
+ "values": [true]
1695
+ },
1696
+ "label": {
1697
+ "type": "variant",
1698
+ "values": [true]
1699
+ },
1700
+ "large": {
1701
+ "type": "variant",
1702
+ "values": [true]
1703
+ },
1704
+ "viewport": "{appearances.system.viewport}"
1705
+ },
1706
+ "rules": [
1707
+ {
1708
+ "if": {
1709
+ "viewport": ["xs"]
1710
+ },
1711
+ "tokens": {
1712
+ "containerPaddingBottomTop": "{palette.size.size16}",
1713
+ "containerPaddingLeftRight": "{palette.size.size24}",
1714
+ "labelFontSize": "{palette.fontSize.size14}",
1715
+ "labelLineHeight": "{palette.lineHeight.ratio10to7}",
1716
+ "textLineHeight": "{palette.lineHeight.ratio8to7}"
1717
+ }
1718
+ },
1719
+ {
1720
+ "if": {
1721
+ "large": true,
1722
+ "viewport": ["xs"]
1723
+ },
1724
+ "tokens": {
1725
+ "textFontSize": "{palette.fontSize.size28}"
1726
+ }
1727
+ },
1728
+ {
1729
+ "if": {
1730
+ "feature": true,
1731
+ "viewport": ["xs"]
1732
+ },
1733
+ "tokens": {
1734
+ "textFontSize": "{palette.fontSize.size28}"
1735
+ }
1736
+ },
1737
+ {
1738
+ "if": {
1739
+ "feature": true
1740
+ },
1741
+ "tokens": {
1742
+ "labelBorderColor": "{system.color.none}",
1743
+ "textFontSize": "{palette.fontSize.size64}",
1744
+ "textLineHeight": "{palette.lineHeight.ratio8to7}",
1745
+ "textTimerFontName": "{palette.fontName.StagSans}",
1746
+ "textTimerFontWeight": "{palette.fontWeight.weight300}"
1747
+ }
1748
+ },
1749
+ {
1750
+ "if": {
1751
+ "large": true
1752
+ },
1753
+ "tokens": {
1754
+ "textFontSize": "{palette.fontSize.size64}",
1755
+ "textLineHeight": "{palette.lineHeight.ratio8to7}",
1756
+ "textTimerFontName": "{palette.fontName.StagSans}",
1757
+ "textTimerFontWeight": "{palette.fontWeight.weight300}"
1758
+ }
1759
+ },
1760
+ {
1761
+ "if": {
1762
+ "inverse": true
1763
+ },
1764
+ "tokens": {
1765
+ "labelBorderColor": "{system.color.none}"
1766
+ }
1767
+ }
1768
+ ],
1769
+ "tokens": {
1770
+ "containerBorderRadius": "{palette.radius.radius6}",
1771
+ "containerGradient": "{system.gradient.none}",
1772
+ "containerInverseBorder": "{palette.border.border2}",
1773
+ "containerInverseBorderColor": "{palette.color.white}",
1774
+ "containerPaddingBottomTop": "{palette.size.size48}",
1775
+ "containerPaddingLeftRight": "{palette.size.size64}",
1776
+ "inverseBorderColor": "{system.color.none}",
1777
+ "labelBorderColor": "{system.color.none}",
1778
+ "labelFontSize": "{palette.fontSize.size16}",
1779
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
1780
+ "textFontSize": "{palette.fontSize.size16}",
1781
+ "textLineHeight": "{palette.lineHeight.ratio8to7}",
1782
+ "textTimerFontName": "{palette.fontName.StagSans}",
1783
+ "textTimerFontWeight": "{palette.fontWeight.weight400}"
1784
+ }
1785
+ },
1664
1786
  "DatePicker": {
1665
1787
  "appearances": {},
1666
1788
  "rules": [],
@@ -2259,6 +2381,78 @@
2259
2381
  "icon": "{palette.icon.PlayVideo}"
2260
2382
  }
2261
2383
  },
2384
+ {
2385
+ "if": {
2386
+ "action": "add"
2387
+ },
2388
+ "tokens": {
2389
+ "icon": "{palette.icon.Add}"
2390
+ }
2391
+ },
2392
+ {
2393
+ "if": {
2394
+ "action": "subtract"
2395
+ },
2396
+ "tokens": {
2397
+ "icon": "{palette.icon.Subtract}"
2398
+ }
2399
+ },
2400
+ {
2401
+ "if": {
2402
+ "action": "close"
2403
+ },
2404
+ "tokens": {
2405
+ "icon": "{palette.icon.Close}"
2406
+ }
2407
+ },
2408
+ {
2409
+ "if": {
2410
+ "action": "expand"
2411
+ },
2412
+ "tokens": {
2413
+ "icon": "{palette.icon.Expand}"
2414
+ }
2415
+ },
2416
+ {
2417
+ "if": {
2418
+ "action": "moveDown"
2419
+ },
2420
+ "tokens": {
2421
+ "icon": "{palette.icon.ChevronDown}"
2422
+ }
2423
+ },
2424
+ {
2425
+ "if": {
2426
+ "action": "moveLeft"
2427
+ },
2428
+ "tokens": {
2429
+ "icon": "{palette.icon.ChevronLeft}"
2430
+ }
2431
+ },
2432
+ {
2433
+ "if": {
2434
+ "action": "moveRight"
2435
+ },
2436
+ "tokens": {
2437
+ "icon": "{palette.icon.ChevronRight}"
2438
+ }
2439
+ },
2440
+ {
2441
+ "if": {
2442
+ "action": "moveUp"
2443
+ },
2444
+ "tokens": {
2445
+ "icon": "{palette.icon.ChevronUp}"
2446
+ }
2447
+ },
2448
+ {
2449
+ "if": {
2450
+ "action": "play"
2451
+ },
2452
+ "tokens": {
2453
+ "icon": "{palette.icon.PlayVideo}"
2454
+ }
2455
+ },
2262
2456
  {
2263
2457
  "if": {
2264
2458
  "inverse": true
@@ -3481,6 +3675,37 @@
3481
3675
  "outlineWidth": "{palette.border.border1}"
3482
3676
  }
3483
3677
  },
3678
+ "QuantitySelector": {
3679
+ "appearances": {
3680
+ "alternative": {
3681
+ "type": "variant",
3682
+ "values": [true]
3683
+ }
3684
+ },
3685
+ "rules": [
3686
+ {
3687
+ "if": {
3688
+ "alternative": true
3689
+ },
3690
+ "tokens": {
3691
+ "padding": "{palette.size.size0}"
3692
+ }
3693
+ }
3694
+ ],
3695
+ "tokens": {
3696
+ "backgroundColor": "{system.color.none}",
3697
+ "borderColor": "{system.color.none}",
3698
+ "iconColor": "{system.color.none}",
3699
+ "iconSize": "{palette.size.size16}",
3700
+ "inputBackgroundColor": "{system.color.none}",
3701
+ "inputBorderColor": "{system.color.none}",
3702
+ "inputBorderWidth": "{palette.size.size1}",
3703
+ "leftIcon": "{palette.icon.Subtract}",
3704
+ "padding": "{palette.size.size16}",
3705
+ "rightIcon": "{palette.icon.Add}",
3706
+ "textColor": "{system.color.none}"
3707
+ }
3708
+ },
3484
3709
  "QuickLinks": {
3485
3710
  "appearances": {
3486
3711
  "viewport": "{appearances.system.viewport}"
@@ -4402,6 +4627,49 @@
4402
4627
  "thickness": "{palette.border.border4}"
4403
4628
  }
4404
4629
  },
4630
+ "SplashButton": {
4631
+ "appearances": {
4632
+ "hover": "{appearances.SplashButton.hover}"
4633
+ },
4634
+ "rules": [],
4635
+ "tokens": {
4636
+ "buttonContentBackground": "{system.color.none}",
4637
+ "buttonContentChildrenBackground": "{system.color.none}",
4638
+ "playIcon": "{palette.icon.PlayVideo}",
4639
+ "playIconColor": "{palette.color.white}"
4640
+ }
4641
+ },
4642
+ "SplashButtonWithDetails": {
4643
+ "appearances": {
4644
+ "hover": "{appearances.SplashButton.hover}"
4645
+ },
4646
+ "rules": [
4647
+ {
4648
+ "if": {
4649
+ "hover": true
4650
+ },
4651
+ "tokens": {
4652
+ "buttonContentChildrenBackground": "{system.color.none}"
4653
+ }
4654
+ }
4655
+ ],
4656
+ "tokens": {
4657
+ "buttonBackground": "{palette.color.white}",
4658
+ "buttonBorderColor": "{system.color.none}",
4659
+ "buttonBottomPosition": "{palette.size.size24}",
4660
+ "buttonContentBackground": "{system.color.none}",
4661
+ "buttonContentChildrenBackground": "{system.color.none}",
4662
+ "buttonLeftPosition": "{palette.size.size24}",
4663
+ "buttonMinHeight": "{palette.size.size64}",
4664
+ "buttonPaddingLeft": "{palette.size.size16}",
4665
+ "buttonPaddingRight": "{palette.size.size16}",
4666
+ "buttonRadius": "{palette.radius.pill32}",
4667
+ "detailsContainerPadding": "{palette.size.size8}",
4668
+ "playIcon": "{palette.icon.PlayVideo}",
4669
+ "playIconColor": "{palette.color.white}",
4670
+ "playIconContainerBackground": "{system.color.none}"
4671
+ }
4672
+ },
4405
4673
  "StackView": {
4406
4674
  "appearances": {},
4407
4675
  "rules": [],
@@ -4496,6 +4764,61 @@
4496
4764
  "showStepTrackerLabel": "{system.show.true}"
4497
4765
  }
4498
4766
  },
4767
+ "StoryCard": {
4768
+ "appearances": {
4769
+ "focus": "{appearances.StoryCard.focus}",
4770
+ "hover": "{appearances.StoryCard.hover}",
4771
+ "pressed": "{appearances.StoryCard.pressed}"
4772
+ },
4773
+ "rules": [
4774
+ {
4775
+ "if": {
4776
+ "hover": true
4777
+ },
4778
+ "tokens": {
4779
+ "borderWidth": "{palette.border.border2}"
4780
+ }
4781
+ },
4782
+ {
4783
+ "if": {
4784
+ "pressed": true
4785
+ },
4786
+ "tokens": {
4787
+ "backgroundColor": "{palette.color.whiteDark}"
4788
+ }
4789
+ },
4790
+ {
4791
+ "if": {
4792
+ "focus": true
4793
+ },
4794
+ "tokens": {
4795
+ "outerBorderColor": "{palette.color.mosque}",
4796
+ "outerBorderGap": "{palette.size.size2}",
4797
+ "outerBorderWidth": "{palette.border.border2}"
4798
+ }
4799
+ }
4800
+ ],
4801
+ "tokens": {
4802
+ "backgroundColor": "{palette.color.white}",
4803
+ "borderColor": "{palette.color.gallery}",
4804
+ "borderRadius": "{palette.radius.radius6}",
4805
+ "borderWidth": "{palette.border.border1}",
4806
+ "contentAlignItems": "{system.flexAlign.stretch}",
4807
+ "contentFlexGrow": "{system.integer.0}",
4808
+ "contentFlexShrink": "{system.integer.0}",
4809
+ "contentJustifyContent": "{system.flexJustifyContent.flexStart}",
4810
+ "flex": "{system.integer.1}",
4811
+ "minWidth": "{palette.size.size0}",
4812
+ "outerBorderColor": "{palette.color.transparent}",
4813
+ "outerBorderGap": "{palette.size.size0}",
4814
+ "outerBorderWidth": "{palette.border.none}",
4815
+ "paddingBottom": "{palette.size.size0}",
4816
+ "paddingLeft": "{palette.size.size0}",
4817
+ "paddingRight": "{palette.size.size0}",
4818
+ "paddingTop": "{palette.size.size0}",
4819
+ "shadow": "{palette.shadow.none}"
4820
+ }
4821
+ },
4499
4822
  "Table": {
4500
4823
  "appearances": {
4501
4824
  "spacing": {
@@ -4833,6 +5156,74 @@
4833
5156
  "width": "{system.size.none}"
4834
5157
  }
4835
5158
  },
5159
+ "TermsAndConditions": {
5160
+ "appearances": {
5161
+ "expanded": "{appearances.TermsAndConditions.expanded}"
5162
+ },
5163
+ "rules": [
5164
+ {
5165
+ "if": {
5166
+ "expanded": true
5167
+ },
5168
+ "tokens": {
5169
+ "icon": "{palette.icon.ChevronUp}"
5170
+ }
5171
+ }
5172
+ ],
5173
+ "tokens": {
5174
+ "contentPaddingBottom": "{palette.size.size8}",
5175
+ "contentPaddingLeft": "{palette.size.size16}",
5176
+ "expandBaseBorderWidth": "{palette.border.none}",
5177
+ "expandContentPaddingBottom": "{palette.size.size16}",
5178
+ "expandContentPaddingLeft": "{palette.size.size16}",
5179
+ "expandContentPaddingRight": "{palette.size.size16}",
5180
+ "expandContentPaddingTop": "{palette.size.size16}",
5181
+ "expandIconContainerAlignItems": "{system.flexAlign.center}",
5182
+ "expandIconContainerBorder": "{palette.border.border1}",
5183
+ "expandIconContainerBorderColor": "{palette.color.gallery}",
5184
+ "expandIconContainerHeight": "{palette.size.size32}",
5185
+ "expandIconContainerJustifyContent": "{system.flexJustifyContent.center}",
5186
+ "expandIconContainerMarginX": "{palette.size.size0}",
5187
+ "expandIconContainerMarginY": "{palette.size.size12}",
5188
+ "expandIconContainerWidth": "{palette.size.size32}",
5189
+ "expandTitleColor": "{palette.color.gallery}",
5190
+ "expandTitleFontSize": "{palette.size.size16}",
5191
+ "expandTitleLineHeight": "{palette.lineHeight.multiply150}",
5192
+ "expandTitleMarginX": "{palette.size.size4}",
5193
+ "expandTitleMarginY": "{palette.size.size0}",
5194
+ "icon": "{palette.icon.ChevronDown}",
5195
+ "listColor": "{palette.color.mosque}",
5196
+ "listFontName": "{palette.fontName.StagSans}",
5197
+ "listFontSize": "{palette.fontSize.size14}",
5198
+ "listFontWeight": "{palette.fontWeight.weight400}",
5199
+ "listLineHeight": "{palette.lineHeight.ratio10to7}",
5200
+ "listMarginBottom": "{palette.size.size16}",
5201
+ "listMarginLeft": "{palette.size.size32}",
5202
+ "mdContentPaddingBottom": "{palette.size.size16}",
5203
+ "mdContentPaddingLeft": "{palette.size.size48}",
5204
+ "orderedPadding": "{palette.size.size0}",
5205
+ "titleColor": "{palette.color.mosque}",
5206
+ "titleFontSize": "{palette.fontSize.size14}",
5207
+ "titleLineHeight": "{palette.lineHeight.ratio10to7}",
5208
+ "titlePaddingLeft": "{palette.size.size8}",
5209
+ "unorderedPadding": "{palette.size.size0}"
5210
+ }
5211
+ },
5212
+ "Testimonial": {
5213
+ "appearances": {},
5214
+ "rules": [],
5215
+ "tokens": {
5216
+ "dividerBackgroundColor": "{palette.color.white}",
5217
+ "dividerBorder": "{palette.border.border1}",
5218
+ "figcaptionGap": "{palette.size.size12}",
5219
+ "icon": "{palette.icon.ArrowLeft}",
5220
+ "iconColor": "{palette.color.white}",
5221
+ "imageSize": "{palette.size.size48}",
5222
+ "quoteContainerGap": "{palette.size.size4}",
5223
+ "testimonialContainerGap": "{palette.size.size12}",
5224
+ "textColor": "{palette.color.white}"
5225
+ }
5226
+ },
4836
5227
  "TextArea": {
4837
5228
  "appearances": {},
4838
5229
  "rules": [],
@@ -5497,6 +5888,97 @@
5497
5888
  "textTransform": "{system.textTransform.none}"
5498
5889
  }
5499
5890
  },
5891
+ "Video": {
5892
+ "appearances": {},
5893
+ "rules": [],
5894
+ "tokens": {
5895
+ "borderColor": "{palette.color.black}",
5896
+ "pauseIcon": "{palette.icon.Add}",
5897
+ "playIcon": "{palette.icon.Add}",
5898
+ "replayIcon": "{palette.icon.Add}"
5899
+ }
5900
+ },
5901
+ "VideoButton": {
5902
+ "appearances": {},
5903
+ "rules": [],
5904
+ "tokens": {
5905
+ "color": "{palette.color.white}"
5906
+ }
5907
+ },
5908
+ "VideoControlBar": {
5909
+ "appearances": {},
5910
+ "rules": [],
5911
+ "tokens": {
5912
+ "captionsIcon": "{palette.icon.Add}",
5913
+ "maximizeIcon": "{palette.icon.Add}",
5914
+ "menuBottom": "{palette.size.size64}",
5915
+ "menuMarginLeft": "{palette.size.size16}",
5916
+ "menuRight": "{palette.size.size32}",
5917
+ "minimizeIcon": "{palette.icon.Add}",
5918
+ "paddingBottom": "{palette.size.size16}",
5919
+ "paddingLeft": "{palette.size.size48}",
5920
+ "paddingLeftCompactMode": "{palette.size.size16}",
5921
+ "paddingRight": "{palette.size.size48}",
5922
+ "paddingRightCompactMode": "{palette.size.size16}",
5923
+ "paddingTop": "{palette.size.size16}",
5924
+ "settingsIcon": "{palette.icon.Settings}"
5925
+ }
5926
+ },
5927
+ "VideoMenu": {
5928
+ "appearances": {},
5929
+ "rules": [],
5930
+ "tokens": {
5931
+ "background": "{palette.color.black}",
5932
+ "checkMarkFocusColor": "{palette.color.mosque}",
5933
+ "checkMarkHeight": "{palette.size.size24}",
5934
+ "checkMarkHoverColor": "{palette.color.mosque}",
5935
+ "checkMarkIcon": "{palette.icon.Check}",
5936
+ "checkMarkSelectedColor": "{palette.color.black}",
5937
+ "checkMarkUnselectedColor": "{palette.color.transparent}",
5938
+ "checkMarkWidth": "{palette.size.size24}",
5939
+ "padding": "{palette.size.size16}"
5940
+ }
5941
+ },
5942
+ "VideoMiddleControlButton": {
5943
+ "appearances": {},
5944
+ "rules": [],
5945
+ "tokens": {
5946
+ "background": "{palette.color.black}",
5947
+ "height": "{palette.size.size64}",
5948
+ "iconColor": "{palette.color.white}",
5949
+ "width": "{palette.size.size64}"
5950
+ }
5951
+ },
5952
+ "VideoProgressBar": {
5953
+ "appearances": {},
5954
+ "rules": [],
5955
+ "tokens": {
5956
+ "rangeBackground": "{palette.color.transparent}",
5957
+ "thumbBackground": "{palette.color.white}",
5958
+ "thumbHeight": "{palette.size.size8}",
5959
+ "thumbWidth": "{palette.size.size8}",
5960
+ "timestampMarginLeft": "{palette.size.size8}",
5961
+ "timestampMarginRight": "{palette.size.size8}",
5962
+ "trackGradientEnd": "{palette.color.mosque}",
5963
+ "trackGradientStart": "{palette.color.mosque}"
5964
+ }
5965
+ },
5966
+ "VideoVolumeSlider": {
5967
+ "appearances": {},
5968
+ "rules": [],
5969
+ "tokens": {
5970
+ "marginLeft": "{palette.size.size16}",
5971
+ "marginRight": "{palette.size.size16}",
5972
+ "mutedIcon": "{palette.icon.Add}",
5973
+ "rangeBackground": "{palette.color.transparent}",
5974
+ "thumbBackground": "{palette.color.white}",
5975
+ "thumbHeight": "{palette.size.size8}",
5976
+ "thumbWidth": "{palette.size.size8}",
5977
+ "trackGradientEnd": "{palette.color.white}",
5978
+ "trackGradientStart": "{palette.color.white}",
5979
+ "unmutedIcon": "{palette.icon.Add}"
5980
+ }
5981
+ },
5500
5982
  "WaffleGrid": {
5501
5983
  "appearances": {},
5502
5984
  "rules": [],