@telus-uds/theme-allium 4.8.0 → 4.10.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
@@ -116,6 +116,7 @@
116
116
  "borderWidth": "{palette.border.border2}",
117
117
  "color": "{palette.color.white}",
118
118
  "fontName": "{palette.fontName.HelveticaNow}",
119
+ "fontSize": "{palette.fontSize.size12}",
119
120
  "fontWeight": "{palette.fontWeight.weight700}",
120
121
  "gradient": "{system.gradient.none}",
121
122
  "paddingBottom": "{palette.size.size2}",
@@ -168,6 +169,7 @@
168
169
  "appearances": {
169
170
  "background": {
170
171
  "description": "Background colour of box. Transparent if not specified.",
172
+ "type": "variant",
171
173
  "values": [
172
174
  "lightest",
173
175
  "lighter",
@@ -1408,8 +1410,7 @@
1408
1410
  },
1409
1411
  "tokens": {
1410
1412
  "showPanelTabs": "{system.show.false}",
1411
- "showPreviousNextNavigation": "{system.show.false}",
1412
- "thumbnailSize": "{palette.size.size48}"
1413
+ "showPreviousNextNavigation": "{system.show.false}"
1413
1414
  }
1414
1415
  }
1415
1416
  ],
@@ -1422,15 +1423,7 @@
1422
1423
  "showPreviousNextNavigation": "{system.show.true}",
1423
1424
  "spaceBetweenSlideAndPanelNavigation": "{palette.size.size32}",
1424
1425
  "spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}",
1425
- "thumbnailBorderColor": "{palette.color.greyMystic}",
1426
- "thumbnailBorderRadius": "{palette.radius.radius4}",
1427
- "thumbnailBorderWidth": "{palette.border.border1}",
1428
- "thumbnailContainerPaddingTop": "{palette.size.size24}",
1429
- "thumbnailMargin": "{palette.size.size4}",
1430
- "thumbnailPadding": "{palette.size.size8}",
1431
- "thumbnailSelectedBorderColor": "{palette.color.greyShuttle}",
1432
- "thumbnailSelectedBorderWidth": "{palette.border.border2}",
1433
- "thumbnailSize": "{palette.size.size56}"
1426
+ "stepTrackerCurrentBackgroundColor": "{system.color.none}"
1434
1427
  }
1435
1428
  },
1436
1429
  "CarouselTabsPanelItem": {
@@ -1568,7 +1561,9 @@
1568
1561
  "tokens": {
1569
1562
  "borderBottomColor": "{palette.color.white}",
1570
1563
  "borderBottomWidth": "{palette.border.border4}",
1571
- "color": "{palette.color.white}"
1564
+ "color": "{palette.color.white}",
1565
+ "fontName": "{palette.fontName.HelveticaNow}",
1566
+ "fontWeight": "{palette.fontWeight.weight700}"
1572
1567
  }
1573
1568
  }
1574
1569
  ],
@@ -1585,13 +1580,70 @@
1585
1580
  "fontWeight": "{palette.fontWeight.weight400}",
1586
1581
  "justifyContent": "{system.flexJustifyContent.flexStart}",
1587
1582
  "letterSpacing": "{system.letterSpacing.none}",
1588
- "lineHeight": "{palette.lineHeight.ratio9to8}",
1583
+ "lineHeight": "{palette.lineHeight.ratio14to1}",
1589
1584
  "paddingBottom": "{palette.size.size16}",
1590
1585
  "paddingLeft": "{system.size.zero}",
1591
1586
  "paddingRight": "{system.size.zero}",
1592
1587
  "paddingTop": "{system.size.zero}"
1593
1588
  }
1594
1589
  },
1590
+ "CarouselThumbnail": {
1591
+ "appearances": {
1592
+ "focus": "{appearances.CarouselThumbnail.focus}",
1593
+ "hover": "{appearances.CarouselThumbnail.hover}",
1594
+ "pressed": "{appearances.CarouselThumbnail.pressed}",
1595
+ "viewport": "{appearances.system.viewport}"
1596
+ },
1597
+ "rules": [
1598
+ {
1599
+ "if": {
1600
+ "viewport": ["xs", "sm"]
1601
+ },
1602
+ "tokens": {
1603
+ "alignItems": "{system.flexAlign.flexStart}",
1604
+ "size": "{palette.size.size48}"
1605
+ }
1606
+ },
1607
+ {
1608
+ "if": {
1609
+ "hover": true
1610
+ },
1611
+ "tokens": {
1612
+ "borderColor": "{palette.color.greenAccessible}"
1613
+ }
1614
+ },
1615
+ {
1616
+ "if": {
1617
+ "focus": true
1618
+ },
1619
+ "tokens": {
1620
+ "borderColor": "{palette.color.greenAccessible}",
1621
+ "borderWidth": "{palette.border.border2}"
1622
+ }
1623
+ },
1624
+ {
1625
+ "if": {
1626
+ "pressed": true
1627
+ },
1628
+ "tokens": {
1629
+ "borderColor": "{palette.color.greenSanFelix}",
1630
+ "borderWidth": "{palette.border.border2}"
1631
+ }
1632
+ }
1633
+ ],
1634
+ "tokens": {
1635
+ "alignItems": "{system.flexAlign.center}",
1636
+ "borderColor": "{palette.color.greyMystic}",
1637
+ "borderRadius": "{palette.radius.radius4}",
1638
+ "borderWidth": "{palette.border.border1}",
1639
+ "containerPaddingTop": "{palette.size.size24}",
1640
+ "margin": "{palette.size.size4}",
1641
+ "padding": "{palette.size.size8}",
1642
+ "selectedBorderColor": "{palette.color.greyShuttle}",
1643
+ "selectedBorderWidth": "{palette.border.border2}",
1644
+ "size": "{palette.size.size72}"
1645
+ }
1646
+ },
1595
1647
  "Checkbox": {
1596
1648
  "appearances": {
1597
1649
  "checked": "{appearances.Checkbox.checked}",
@@ -1809,6 +1861,34 @@
1809
1861
  "tokens": {
1810
1862
  "outerBorderColor": "{palette.color.greenAccessible}"
1811
1863
  }
1864
+ },
1865
+ {
1866
+ "if": {
1867
+ "focus": true,
1868
+ "pressed": true
1869
+ },
1870
+ "tokens": {
1871
+ "outerBorderColor": "{palette.color.greenDarkFern}"
1872
+ }
1873
+ },
1874
+ {
1875
+ "if": {
1876
+ "focus": true,
1877
+ "inverse": true
1878
+ },
1879
+ "tokens": {
1880
+ "outerBorderColor": "{palette.color.white}"
1881
+ }
1882
+ },
1883
+ {
1884
+ "if": {
1885
+ "alternative": true,
1886
+ "focus": true
1887
+ },
1888
+ "tokens": {
1889
+ "color": "{palette.color.greyCharcoal}",
1890
+ "outerBorderColor": "{palette.color.greyCharcoal}"
1891
+ }
1812
1892
  }
1813
1893
  ],
1814
1894
  "tokens": {
@@ -1942,8 +2022,8 @@
1942
2022
  "rules": [],
1943
2023
  "tokens": {
1944
2024
  "calendarBackgroundColor": "{palette.color.white}",
1945
- "calendarDayBlockedCalendarHoverBackground": "{palette.color.greyAlabaster}",
1946
- "calendarDayBlockedCalendarHoverColor": "{palette.color.greyShuttle}",
2025
+ "calendarDayBlockedCalendarHoverBackground": "{palette.color.greyAthens}",
2026
+ "calendarDayBlockedCalendarHoverColor": "{palette.color.greyCloud}",
1947
2027
  "calendarDayDefaultBackgroundColor": "{palette.color.white}",
1948
2028
  "calendarDayDefaultBorder": "{palette.border.border1}",
1949
2029
  "calendarDayDefaultBorderColor": "{palette.color.greyCloud}",
@@ -2337,7 +2417,7 @@
2337
2417
  "borderRadius": "{palette.radius.radius4}",
2338
2418
  "borderWidth": "{palette.border.border1}",
2339
2419
  "color": "{palette.color.greyThunder}",
2340
- "contentFontSize": "{palette.fontSize.size14}",
2420
+ "contentFontSize": "{palette.fontSize.size16}",
2341
2421
  "fontName": "{palette.fontName.HelveticaNow}",
2342
2422
  "fontWeight": "{palette.fontWeight.weight400}",
2343
2423
  "icon": "{system.icon.none}",
@@ -3037,10 +3117,18 @@
3037
3117
  ],
3038
3118
  "tokens": {
3039
3119
  "backgroundColor": "{system.color.transparent}",
3120
+ "borderBottomLeftRadius": "{system.radius.none}",
3121
+ "borderBottomRightRadius": "{system.radius.none}",
3122
+ "borderBottomWidth": "{system.border.none}",
3040
3123
  "borderColor": "{palette.color.greyShuttle}",
3124
+ "borderLeftWidth": "{system.border.none}",
3041
3125
  "borderRadius": "{system.radius.round}",
3126
+ "borderRightWidth": "{system.border.none}",
3127
+ "borderTopLeftRadius": "{system.radius.none}",
3128
+ "borderTopRightRadius": "{system.radius.none}",
3129
+ "borderTopWidth": "{system.border.none}",
3042
3130
  "borderWidth": "{palette.border.border1}",
3043
- "icon": "{system.icon.none}",
3131
+ "icon": "{palette.icon.Add}",
3044
3132
  "iconColor": "{palette.color.greyShuttle}",
3045
3133
  "iconScale": "{system.iconScale.scale1}",
3046
3134
  "iconSize": "{palette.size.size16}",
@@ -3048,7 +3136,7 @@
3048
3136
  "iconTranslateY": "{system.size.zero}",
3049
3137
  "outerBorderColor": "{system.color.transparent}",
3050
3138
  "outerBorderGap": "{system.size.zero}",
3051
- "outerBorderWidth": "{system.border.zero}",
3139
+ "outerBorderWidth": "{system.border.none}",
3052
3140
  "padding": "{palette.size.size4}",
3053
3141
  "shadow": "{system.shadow.none}"
3054
3142
  }
@@ -4551,7 +4639,8 @@
4551
4639
  "alternative": true
4552
4640
  },
4553
4641
  "tokens": {
4554
- "padding": "{palette.size.size0}"
4642
+ "paddingBottom": "{palette.size.size8}",
4643
+ "paddingTop": "{palette.size.size8}"
4555
4644
  }
4556
4645
  },
4557
4646
  {
@@ -4559,7 +4648,6 @@
4559
4648
  "hover": true
4560
4649
  },
4561
4650
  "tokens": {
4562
- "backgroundColor": "{palette.color.greyAthens}",
4563
4651
  "inputBackgroundColor": "{palette.color.greyAthens}"
4564
4652
  }
4565
4653
  },
@@ -4568,8 +4656,8 @@
4568
4656
  "disabled": true
4569
4657
  },
4570
4658
  "tokens": {
4571
- "backgroundColor": "{palette.color.greyAlabaster}",
4572
- "iconColor": "{palette.color.greyMystic}"
4659
+ "inputBackgroundColor": "{palette.color.greyAlabaster}",
4660
+ "textColor": "{palette.color.greyCloud}"
4573
4661
  }
4574
4662
  },
4575
4663
  {
@@ -4577,7 +4665,7 @@
4577
4665
  "pressed": true
4578
4666
  },
4579
4667
  "tokens": {
4580
- "backgroundColor": "{palette.color.greyCloud}"
4668
+ "inputBackgroundColor": "{palette.color.greyCloud}"
4581
4669
  }
4582
4670
  },
4583
4671
  {
@@ -4586,22 +4674,180 @@
4586
4674
  },
4587
4675
  "tokens": {
4588
4676
  "inputBorderColor": "{palette.color.greyShuttle}",
4589
- "inputBorderWidth": "{palette.size.size3}"
4677
+ "inputBorderWidth": "{palette.border.border3}"
4590
4678
  }
4591
4679
  }
4592
4680
  ],
4593
4681
  "tokens": {
4594
- "backgroundColor": "{system.color.none}",
4595
- "borderColor": "{palette.color.greyShuttle}",
4596
- "iconColor": "{palette.color.greyShuttle}",
4597
- "iconSize": "{palette.size.size16}",
4682
+ "fontSize": "{palette.fontSize.size16}",
4598
4683
  "inputBackgroundColor": "{palette.color.white}",
4599
4684
  "inputBorderColor": "{palette.color.greyShuttle}",
4600
- "inputBorderWidth": "{palette.size.size1}",
4601
- "leftIcon": "{palette.icon.Subtract}",
4685
+ "inputBorderWidth": "{palette.border.border1}",
4686
+ "inputWidth": "{palette.size.size64}",
4687
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
4688
+ "padding": "{palette.size.size12}",
4689
+ "paddingBottom": "{palette.size.size12}",
4690
+ "paddingLeft": "{palette.size.size12}",
4691
+ "paddingRight": "{palette.size.size12}",
4692
+ "paddingTop": "{palette.size.size12}",
4693
+ "textColor": "{palette.color.greyCharcoal}"
4694
+ }
4695
+ },
4696
+ "QuantitySelectorSideButton": {
4697
+ "appearances": {
4698
+ "alternative": {
4699
+ "type": "variant",
4700
+ "values": [true, false]
4701
+ },
4702
+ "decrease": {
4703
+ "type": "variant",
4704
+ "values": [true]
4705
+ },
4706
+ "disabled": {
4707
+ "type": "variant",
4708
+ "values": [true]
4709
+ },
4710
+ "focus": {
4711
+ "type": "variant",
4712
+ "values": [true]
4713
+ },
4714
+ "hover": {
4715
+ "type": "variant",
4716
+ "values": [true]
4717
+ },
4718
+ "increase": {
4719
+ "type": "variant",
4720
+ "values": [true]
4721
+ },
4722
+ "pressed": {
4723
+ "type": "variant",
4724
+ "values": [true]
4725
+ }
4726
+ },
4727
+ "rules": [
4728
+ {
4729
+ "if": {
4730
+ "hover": true
4731
+ },
4732
+ "tokens": {
4733
+ "backgroundColor": "{palette.color.greyAthens}"
4734
+ }
4735
+ },
4736
+ {
4737
+ "if": {
4738
+ "pressed": true
4739
+ },
4740
+ "tokens": {
4741
+ "backgroundColor": "{palette.color.greyCloud}",
4742
+ "iconColor": "{palette.color.greyShuttle}"
4743
+ }
4744
+ },
4745
+ {
4746
+ "if": {
4747
+ "decrease": true
4748
+ },
4749
+ "tokens": {
4750
+ "borderBottomLeftRadius": "{palette.radius.radius4}",
4751
+ "borderRightWidth": "{system.border.zero}",
4752
+ "borderTopLeftRadius": "{palette.radius.radius4}",
4753
+ "icon": "{palette.icon.Subtract}"
4754
+ }
4755
+ },
4756
+ {
4757
+ "if": {
4758
+ "increase": true
4759
+ },
4760
+ "tokens": {
4761
+ "borderBottomRightRadius": "{palette.radius.radius4}",
4762
+ "borderLeftWidth": "{system.border.zero}",
4763
+ "borderTopRightRadius": "{palette.radius.radius4}",
4764
+ "icon": "{palette.icon.Add}"
4765
+ }
4766
+ },
4767
+ {
4768
+ "if": {
4769
+ "focus": true,
4770
+ "increase": true
4771
+ },
4772
+ "tokens": {
4773
+ "borderBottomWidth": "{palette.border.border3}",
4774
+ "borderLeftWidth": "{palette.border.border2}",
4775
+ "borderRightWidth": "{palette.border.border3}",
4776
+ "borderTopWidth": "{palette.border.border3}"
4777
+ }
4778
+ },
4779
+ {
4780
+ "if": {
4781
+ "decrease": true,
4782
+ "focus": true
4783
+ },
4784
+ "tokens": {
4785
+ "borderBottomWidth": "{palette.border.border3}",
4786
+ "borderLeftWidth": "{palette.border.border3}",
4787
+ "borderRightWidth": "{palette.border.border2}",
4788
+ "borderTopWidth": "{palette.border.border3}"
4789
+ }
4790
+ },
4791
+ {
4792
+ "if": {
4793
+ "disabled": true
4794
+ },
4795
+ "tokens": {
4796
+ "backgroundColor": "{palette.color.greyAlabaster}",
4797
+ "iconColor": "{palette.color.greyMystic}"
4798
+ }
4799
+ },
4800
+ {
4801
+ "if": {
4802
+ "alternative": true
4803
+ },
4804
+ "tokens": {
4805
+ "paddingBottom": "{palette.size.size12}",
4806
+ "paddingTop": "{palette.size.size12}"
4807
+ }
4808
+ },
4809
+ {
4810
+ "if": {
4811
+ "alternative": true,
4812
+ "increase": true
4813
+ },
4814
+ "tokens": {
4815
+ "borderBottomRightRadius": "{palette.radius.radius24}",
4816
+ "borderTopRightRadius": "{palette.radius.radius24}"
4817
+ }
4818
+ },
4819
+ {
4820
+ "if": {
4821
+ "alternative": true,
4822
+ "decrease": true
4823
+ },
4824
+ "tokens": {
4825
+ "borderBottomLeftRadius": "{palette.radius.radius24}",
4826
+ "borderTopLeftRadius": "{palette.radius.radius24}"
4827
+ }
4828
+ }
4829
+ ],
4830
+ "tokens": {
4831
+ "backgroundColor": "{palette.color.white}",
4832
+ "borderBottomLeftRadius": "{system.radius.zero}",
4833
+ "borderBottomRightRadius": "{system.radius.zero}",
4834
+ "borderBottomWidth": "{palette.border.border1}",
4835
+ "borderColor": "{palette.color.greyShuttle}",
4836
+ "borderLeftWidth": "{palette.border.border1}",
4837
+ "borderRadius": "{system.radius.zero}",
4838
+ "borderRightWidth": "{palette.border.border1}",
4839
+ "borderTopLeftRadius": "{system.radius.zero}",
4840
+ "borderTopRightRadius": "{system.radius.zero}",
4841
+ "borderTopWidth": "{palette.border.border1}",
4842
+ "borderWidth": "{palette.border.border1}",
4843
+ "icon": "{system.icon.none}",
4844
+ "iconColor": "{palette.color.greyCharcoal}",
4845
+ "iconSize": "{palette.size.size16}",
4602
4846
  "padding": "{palette.size.size16}",
4603
- "rightIcon": "{palette.icon.Add}",
4604
- "textColor": "{palette.color.greyCloud}"
4847
+ "paddingBottom": "{palette.size.size16}",
4848
+ "paddingLeft": "{palette.size.size16}",
4849
+ "paddingRight": "{palette.size.size16}",
4850
+ "paddingTop": "{palette.size.size16}"
4605
4851
  }
4606
4852
  },
4607
4853
  "QuickLinks": {
@@ -6466,17 +6712,48 @@
6466
6712
  }
6467
6713
  },
6468
6714
  "Testimonial": {
6469
- "appearances": {},
6470
- "rules": [],
6715
+ "appearances": {
6716
+ "viewport": "{appearances.system.viewport}"
6717
+ },
6718
+ "rules": [
6719
+ {
6720
+ "if": {
6721
+ "viewport": ["md", "lg", "xl"]
6722
+ },
6723
+ "tokens": {
6724
+ "testimonialFontNameHeading": "{palette.fontName.HelveticaNow}",
6725
+ "testimonialFontSizeHeading": "{palette.fontSize.size28}",
6726
+ "testimonialFontWeightHeading": "{palette.fontWeight.weight400}",
6727
+ "testimonialLineHeightHeading": "{palette.lineHeight.ratio9to7}"
6728
+ }
6729
+ }
6730
+ ],
6471
6731
  "tokens": {
6732
+ "additionalFontName": "{palette.fontName.HelveticaNow}",
6733
+ "additionalFontSize": "{palette.fontSize.size14}",
6734
+ "additionalFontWeight": "{palette.fontWeight.weight400}",
6735
+ "additionalLineHeight": "{palette.lineHeight.ratio10to7}",
6736
+ "authorFontName": "{palette.fontName.HelveticaNow}",
6737
+ "authorFontSize": "{palette.fontSize.size16}",
6738
+ "authorFontWeight": "{palette.fontWeight.weight700}",
6739
+ "authorLineHeight": "{palette.lineHeight.ratio3to2}",
6472
6740
  "dividerBackgroundColor": "{palette.color.greyCloud}",
6473
6741
  "dividerBorder": "{palette.border.border1}",
6474
6742
  "figcaptionGap": "{palette.size.size12}",
6475
6743
  "icon": "{palette.icon.QuoteLeft}",
6476
6744
  "iconColor": "{palette.color.greyCloud}",
6745
+ "iconFr": "{palette.icon.QuoteLeftArrow}",
6477
6746
  "imageSize": "{palette.size.size48}",
6478
6747
  "quoteContainerGap": "{palette.size.size4}",
6479
6748
  "testimonialContainerGap": "{palette.size.size12}",
6749
+ "testimonialFontNameHeading": "{palette.fontName.HelveticaNow}",
6750
+ "testimonialFontNameLarge": "{palette.fontName.HelveticaNow}",
6751
+ "testimonialFontSizeHeading": "{palette.fontSize.size24}",
6752
+ "testimonialFontSizeLarge": "{palette.fontSize.size20}",
6753
+ "testimonialFontWeightHeading": "{palette.fontWeight.weight400}",
6754
+ "testimonialFontWeightLarge": "{palette.fontWeight.weight400}",
6755
+ "testimonialLineHeightHeading": "{palette.lineHeight.ratio4to3}",
6756
+ "testimonialLineHeightLarge": "{palette.lineHeight.ratio8to5}",
6480
6757
  "textColor": "{palette.color.greyCharcoal}"
6481
6758
  }
6482
6759
  },
@@ -6663,7 +6940,8 @@
6663
6940
  "chevronlinkFontName": "{palette.fontName.HelveticaNow}",
6664
6941
  "chevronlinkFontWeight": "{palette.fontWeight.weight400}",
6665
6942
  "containerBackgroundColor": "{palette.color.purpleTelus}",
6666
- "containerGap": "{palette.size.size10}"
6943
+ "containerGap": "{palette.size.size10}",
6944
+ "padding": "{palette.size.size16}"
6667
6945
  }
6668
6946
  },
6669
6947
  "ToggleSwitch": {
@@ -6938,6 +7216,7 @@
6938
7216
  }
6939
7217
  ],
6940
7218
  "tokens": {
7219
+ "backgroundColor": "{palette.color.transparent}",
6941
7220
  "borderRadius": "{palette.radius.pill32}",
6942
7221
  "icon": "{palette.icon.Question}",
6943
7222
  "iconColor": "{palette.color.greyThunder}",