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