@telus-uds/theme-koodo 4.6.0 → 4.8.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/build/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 21 Jun 2023 20:31:39 GMT
4
+ * Generated on Fri, 07 Jul 2023 19:15:37 GMT
5
5
  *
6
6
  */
7
7
 
@@ -374,7 +374,15 @@ module.exports = {
374
374
  },
375
375
  {
376
376
  if: { focus: true },
377
- tokens: { outerBorderColor: '#016b6a', outerBorderGap: 2 }
377
+ tokens: {
378
+ borderBottomWidth: 4,
379
+ borderLeftWidth: 4,
380
+ borderRightWidth: 4,
381
+ borderTopWidth: 4,
382
+ color: '#000000',
383
+ outerBorderColor: '#016b6a',
384
+ outerBorderGap: 2
385
+ }
378
386
  },
379
387
  {
380
388
  if: { inverse: true, priority: 'high' },
@@ -979,7 +987,10 @@ module.exports = {
979
987
  type: 'variant',
980
988
  values: [ 'alternative', 'subtle', 'grid', 'feature' ]
981
989
  },
982
- padding: { type: 'variant', values: [ 'custom' ] },
990
+ padding: {
991
+ type: 'variant',
992
+ values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
993
+ },
983
994
  viewport: {
984
995
  description: 'The size label for the current screen viewport based on the current screen width',
985
996
  type: 'state',
@@ -989,19 +1000,27 @@ module.exports = {
989
1000
  rules: [
990
1001
  {
991
1002
  if: { background: 'alternative' },
992
- tokens: { backgroundColor: '#e5f7fb' }
1003
+ tokens: {
1004
+ backgroundColor: '#e5f7fb',
1005
+ borderRadius: 0,
1006
+ borderWidth: 0
1007
+ }
993
1008
  },
994
1009
  {
995
1010
  if: { background: 'subtle' },
996
- tokens: { backgroundColor: '#fae6f4', borderRadius: 8 }
1011
+ tokens: { backgroundColor: '#fae6f4', borderWidth: 0 }
997
1012
  },
998
1013
  {
999
1014
  if: { background: 'grid' },
1000
- tokens: { borderColor: '#016b6a', borderRadius: 8, borderWidth: 1 }
1015
+ tokens: { borderColor: '#016b6a', borderWidth: 1 }
1001
1016
  },
1002
1017
  {
1003
1018
  if: { background: 'feature' },
1004
- tokens: { backgroundColor: '#f9f6a5' }
1019
+ tokens: {
1020
+ backgroundColor: '#f9f6a5',
1021
+ borderRadius: 0,
1022
+ borderWidth: 0
1023
+ }
1005
1024
  },
1006
1025
  {
1007
1026
  if: { viewport: [ 'md', 'lg', 'xl' ] },
@@ -1012,6 +1031,51 @@ module.exports = {
1012
1031
  paddingTop: 48
1013
1032
  }
1014
1033
  },
1034
+ {
1035
+ if: { padding: 'narrow' },
1036
+ tokens: {
1037
+ paddingBottom: 24,
1038
+ paddingLeft: 16,
1039
+ paddingRight: 16,
1040
+ paddingTop: 24
1041
+ }
1042
+ },
1043
+ {
1044
+ if: { padding: 'narrow', viewport: [ 'md', 'lg', 'xl' ] },
1045
+ tokens: {
1046
+ paddingBottom: 32,
1047
+ paddingLeft: 16,
1048
+ paddingRight: 16,
1049
+ paddingTop: 32
1050
+ }
1051
+ },
1052
+ {
1053
+ if: { padding: 'intermediate' },
1054
+ tokens: {
1055
+ paddingBottom: 24,
1056
+ paddingLeft: 24,
1057
+ paddingRight: 24,
1058
+ paddingTop: 24
1059
+ }
1060
+ },
1061
+ {
1062
+ if: { padding: 'intermediate', viewport: [ 'md', 'lg', 'xl' ] },
1063
+ tokens: {
1064
+ paddingBottom: 32,
1065
+ paddingLeft: 32,
1066
+ paddingRight: 32,
1067
+ paddingTop: 32
1068
+ }
1069
+ },
1070
+ {
1071
+ if: { padding: 'compact' },
1072
+ tokens: {
1073
+ paddingBottom: 16,
1074
+ paddingLeft: 16,
1075
+ paddingRight: 16,
1076
+ paddingTop: 16
1077
+ }
1078
+ },
1015
1079
  {
1016
1080
  if: { padding: 'custom' },
1017
1081
  tokens: {
@@ -1032,6 +1096,7 @@ module.exports = {
1032
1096
  contentFlexShrink: 1,
1033
1097
  contentJustifyContent: 'flex-start',
1034
1098
  flex: 1,
1099
+ gradient: null,
1035
1100
  minWidth: null,
1036
1101
  paddingBottom: 32,
1037
1102
  paddingLeft: 24,
@@ -1544,7 +1609,6 @@ module.exports = {
1544
1609
  {
1545
1610
  if: { mini: true },
1546
1611
  tokens: {
1547
- backgroundColor: 'rgba(0, 0, 0, 0)',
1548
1612
  borderColor: 'rgba(0, 0, 0, 0)',
1549
1613
  borderWidth: 0,
1550
1614
  icon: PaletteIconChevronDown,
@@ -1592,34 +1656,65 @@ module.exports = {
1592
1656
  ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
1593
1657
  ExpandCollapseMiniControl: {
1594
1658
  appearances: {
1659
+ alternative: {
1660
+ description: 'Replaces the default green colour with black',
1661
+ type: 'variant',
1662
+ values: [ true ]
1663
+ },
1595
1664
  expanded: {
1596
1665
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1597
1666
  type: 'state',
1598
1667
  values: [ true ]
1599
- }
1668
+ },
1669
+ inverse: {
1670
+ description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
1671
+ type: 'variant',
1672
+ values: [ true ]
1673
+ },
1674
+ size: { type: 'variant', values: [ 'micro', 'small', 'large' ] }
1600
1675
  },
1601
1676
  rules: [
1602
1677
  {
1603
1678
  if: { expanded: true },
1604
1679
  tokens: { icon: PaletteIconChevronUp }
1680
+ },
1681
+ { if: { alternative: true }, tokens: { color: '#000000' } },
1682
+ {
1683
+ if: { inverse: true },
1684
+ tokens: { color: '#ffffff', iconColor: '#ffffff' }
1685
+ },
1686
+ {
1687
+ if: { size: 'micro' },
1688
+ tokens: { fontSize: 12, iconSize: 16, lineHeight: 1.33333333333 }
1689
+ },
1690
+ {
1691
+ if: { size: 'small' },
1692
+ tokens: { fontSize: 14, iconSize: 20, lineHeight: 1.45 }
1693
+ },
1694
+ {
1695
+ if: { size: 'large' },
1696
+ tokens: { fontSize: 20, lineHeight: 1.45 }
1605
1697
  }
1606
1698
  ],
1607
1699
  tokens: {
1608
- backgroundColor: null,
1609
1700
  borderColor: 'rgba(0, 0, 0, 0)',
1610
1701
  borderWidth: 0,
1702
+ color: '#016b6a',
1703
+ fontSize: 16,
1611
1704
  icon: PaletteIconChevronDown,
1612
1705
  iconColor: '#000000',
1613
1706
  iconGap: 8,
1614
1707
  iconPaddingTop: 4,
1615
1708
  iconPosition: 'left',
1616
- iconSize: 16,
1709
+ iconSize: 24,
1617
1710
  justifyContent: 'flex-start',
1711
+ lineHeight: 1.45,
1618
1712
  paddingBottom: 0,
1619
1713
  paddingLeft: 0,
1620
1714
  paddingRight: 0,
1621
1715
  paddingTop: 0,
1622
1716
  size: 4,
1717
+ textLine: 'none',
1623
1718
  verticalAlign: 'middle'
1624
1719
  }
1625
1720
  },
@@ -1650,6 +1745,18 @@ module.exports = {
1650
1745
  contentPaddingLeft: 16,
1651
1746
  contentPaddingRight: 16,
1652
1747
  contentPaddingTop: 16,
1748
+ contentPanelBackgroundColor: '#efefef',
1749
+ contentPanelBorderColor: 'rgba(0, 0, 0, 0)',
1750
+ contentPanelBorderWidth: 0,
1751
+ contentPanelFontColor: '#000000',
1752
+ contentPanelFontName: 'StagSans',
1753
+ contentPanelFontSize: 16,
1754
+ contentPanelFontWeight: '700',
1755
+ contentPanelLineHeight: 1.5,
1756
+ contentPanelPaddingBottom: 16,
1757
+ contentPanelPaddingLeft: 24,
1758
+ contentPanelPaddingRight: 24,
1759
+ contentPanelPaddingTop: 16,
1653
1760
  expandDividerColor: null,
1654
1761
  expandDividerWidth: null,
1655
1762
  expandDuration: 300,
@@ -2759,21 +2866,17 @@ module.exports = {
2759
2866
  {
2760
2867
  if: { selected: true },
2761
2868
  tokens: {
2762
- backgroundColor: '#efefef',
2763
- borderColor: '#efefef',
2764
- color: '#016b6a',
2869
+ backgroundColor: '#016b6a',
2870
+ borderColor: '#016b6a',
2871
+ color: '#ffffff',
2765
2872
  fontName: 'StagSans',
2766
- fontWeight: '700'
2873
+ fontWeight: '600',
2874
+ outerBorderColor: '#016b6a'
2767
2875
  }
2768
2876
  },
2769
2877
  {
2770
2878
  if: { focus: true },
2771
- tokens: {
2772
- backgroundColor: '#ffffff',
2773
- borderColor: '#016b6a',
2774
- borderWidth: 3,
2775
- color: '#016b6a'
2776
- }
2879
+ tokens: { borderColor: '#016b6a', borderWidth: 4 }
2777
2880
  },
2778
2881
  {
2779
2882
  if: { focus: true, pressed: true },
@@ -2786,23 +2889,44 @@ module.exports = {
2786
2889
  {
2787
2890
  if: { hover: true },
2788
2891
  tokens: {
2789
- backgroundColor: '#1b4746',
2790
- borderColor: '#016b6a',
2791
- color: '#016b6a'
2892
+ backgroundColor: '#014847',
2893
+ borderColor: '#014847',
2894
+ color: '#ffffff'
2792
2895
  }
2793
2896
  },
2794
2897
  {
2795
2898
  if: { pressed: true },
2796
2899
  tokens: {
2797
- backgroundColor: '#efefef',
2798
- borderColor: '#016b6a',
2900
+ backgroundColor: '#595959',
2901
+ borderColor: '#595959',
2799
2902
  borderWidth: 1,
2800
- color: '#016b6a'
2903
+ color: '#c9c8c8'
2801
2904
  }
2802
2905
  },
2803
2906
  {
2804
2907
  if: { viewport: [ 'xs', 'sm', 'md' ] },
2805
- tokens: { textAlign: 'flex-start', width: 288 }
2908
+ tokens: { textAlign: 'space-between', width: 288 }
2909
+ },
2910
+ {
2911
+ if: { hover: true, selected: true },
2912
+ tokens: {
2913
+ backgroundColor: '#014847',
2914
+ borderColor: '#014847',
2915
+ color: '#ffffff',
2916
+ fontName: 'StagSans',
2917
+ fontWeight: '600'
2918
+ }
2919
+ },
2920
+ {
2921
+ if: { pressed: true, selected: true },
2922
+ tokens: {
2923
+ backgroundColor: '#595959',
2924
+ borderColor: '#595959',
2925
+ color: '#c9c8c8',
2926
+ fontName: 'StagSans',
2927
+ fontWeight: '600',
2928
+ outerBorderColor: '#595959'
2929
+ }
2806
2930
  },
2807
2931
  {
2808
2932
  if: { expanded: true },
@@ -2813,24 +2937,24 @@ module.exports = {
2813
2937
  alignSelf: 'flex-start',
2814
2938
  backgroundColor: '#ffffff',
2815
2939
  borderColor: '#ffffff',
2816
- borderRadius: 32,
2817
- borderWidth: 1,
2818
- color: '#efefef',
2940
+ borderRadius: 4,
2941
+ borderWidth: 4,
2942
+ color: '#000000',
2819
2943
  fontName: 'StagSans',
2820
2944
  fontSize: 14,
2821
- fontWeight: '400',
2945
+ fontWeight: '600',
2822
2946
  icoMenu: PaletteIconChevronDown,
2823
- lineHeight: 1.14285714286,
2947
+ lineHeight: 1.45,
2824
2948
  minWidth: 0,
2825
2949
  opacity: 1,
2826
2950
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
2827
2951
  outerBorderColor: 'rgba(0, 0, 0, 0)',
2828
2952
  outerBorderGap: 0,
2829
- outerBorderWidth: 1,
2830
- paddingBottom: 8,
2953
+ outerBorderWidth: 0,
2954
+ paddingBottom: 6,
2831
2955
  paddingLeft: 16,
2832
2956
  paddingRight: 16,
2833
- paddingTop: 8,
2957
+ paddingTop: 6,
2834
2958
  shadow: null,
2835
2959
  textAlign: 'center',
2836
2960
  width: 0
@@ -4381,18 +4505,40 @@ module.exports = {
4381
4505
  }
4382
4506
  },
4383
4507
  SkipLink: {
4384
- appearances: {},
4385
- rules: [],
4508
+ appearances: {
4509
+ focus: {
4510
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
4511
+ platforms: [ 'rn' ],
4512
+ type: 'state',
4513
+ values: [ true, false ]
4514
+ },
4515
+ pressed: {
4516
+ description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
4517
+ type: 'state',
4518
+ values: [ true, false ]
4519
+ }
4520
+ },
4521
+ rules: [
4522
+ {
4523
+ if: { focus: true, pressed: true },
4524
+ tokens: { color: '#595959', outlineColor: '#595959' }
4525
+ }
4526
+ ],
4386
4527
  tokens: {
4387
- backgroundColor: '#1b4746',
4388
- borderRadius: 12,
4389
- color: '#ffffff',
4528
+ backgroundColor: '#ffffff',
4529
+ borderRadius: 4,
4530
+ color: '#016b6a',
4531
+ fontName: 'StagSans',
4532
+ fontSize: 16,
4533
+ fontWeight: '600',
4534
+ lineHeight: 1.5,
4390
4535
  outlineColor: '#016b6a',
4391
4536
  outlineOffset: 0,
4392
4537
  outlineStyle: 'solid',
4393
4538
  outlineWidth: 2,
4394
- paddingHorizontal: 8,
4395
- paddingVertical: 8
4539
+ paddingHorizontal: 2,
4540
+ paddingVertical: 2,
4541
+ textLine: 'underline'
4396
4542
  }
4397
4543
  },
4398
4544
  Spinner: {
@@ -4617,36 +4763,141 @@ module.exports = {
4617
4763
  }
4618
4764
  },
4619
4765
  Table: {
4620
- appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
4766
+ appearances: {
4767
+ spacing: {
4768
+ description: 'Adjusts the height of the table cell',
4769
+ type: 'variant',
4770
+ values: [ 'compact', 'default' ]
4771
+ },
4772
+ text: { type: 'variant', values: [ 'small' ] },
4773
+ type: {
4774
+ type: 'variant',
4775
+ values: [ 'subHeading', 'rowHeading', 'heading', 'default' ]
4776
+ }
4777
+ },
4621
4778
  rules: [
4622
4779
  {
4623
- if: { spacing: 'compact' },
4624
- tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
4780
+ if: { spacing: 'compact', type: 'default' },
4781
+ tokens: {
4782
+ cellPaddingBottom: 8,
4783
+ cellPaddingTop: 8,
4784
+ fontSize: 16,
4785
+ lineHeight: 1.25
4786
+ }
4787
+ },
4788
+ {
4789
+ if: { spacing: 'compact', type: 'rowHeading' },
4790
+ tokens: {
4791
+ cellPaddingBottom: 8,
4792
+ cellPaddingTop: 8,
4793
+ fontName: 'StagSans',
4794
+ fontSize: 16,
4795
+ fontWeight: '600',
4796
+ lineHeight: 1.25
4797
+ }
4798
+ },
4799
+ {
4800
+ if: { spacing: 'compact', type: 'subHeading' },
4801
+ tokens: {
4802
+ cellBackground: '#fafafa',
4803
+ cellPaddingBottom: 8,
4804
+ cellPaddingTop: 8,
4805
+ fontName: 'StagSans',
4806
+ fontSize: 16,
4807
+ fontWeight: '600',
4808
+ lineHeight: 1.25
4809
+ }
4810
+ },
4811
+ {
4812
+ if: { spacing: 'default', type: 'heading' },
4813
+ tokens: {
4814
+ cellBackground: '#c1f2e8',
4815
+ cellBoxShadowColor: 'rgba(0, 0, 0, 0)',
4816
+ fontName: 'StagSans',
4817
+ fontSize: 16,
4818
+ fontWeight: '600',
4819
+ lineHeight: 1.5
4820
+ }
4821
+ },
4822
+ {
4823
+ if: { spacing: 'compact', type: 'heading' },
4824
+ tokens: {
4825
+ cellBackground: '#c1f2e8',
4826
+ cellBoxShadowColor: 'rgba(0, 0, 0, 0)',
4827
+ fontName: 'StagSans',
4828
+ fontSize: 16,
4829
+ fontWeight: '600',
4830
+ lineHeight: 1.25
4831
+ }
4832
+ },
4833
+ {
4834
+ if: { spacing: 'default', type: 'subHeading' },
4835
+ tokens: {
4836
+ cellBackground: '#fafafa',
4837
+ fontName: 'StagSans',
4838
+ fontSize: 16,
4839
+ fontWeight: '600',
4840
+ lineHeight: 1.5
4841
+ }
4842
+ },
4843
+ {
4844
+ if: { spacing: 'default', type: 'rowHeading' },
4845
+ tokens: {
4846
+ fontName: 'StagSans',
4847
+ fontSize: 16,
4848
+ fontWeight: '600',
4849
+ lineHeight: 1.5
4850
+ }
4851
+ },
4852
+ {
4853
+ if: { text: 'small', type: 'default' },
4854
+ tokens: {
4855
+ fontName: 'StagSans',
4856
+ fontSize: 14,
4857
+ fontWeight: '400',
4858
+ lineHeight: 1.42857142857
4859
+ }
4860
+ },
4861
+ {
4862
+ if: { spacing: 'default', text: 'small', type: 'rowHeading' },
4863
+ tokens: {
4864
+ fontName: 'StagSans',
4865
+ fontSize: 14,
4866
+ fontWeight: '600',
4867
+ lineHeight: 1.42857142857
4868
+ }
4869
+ },
4870
+ {
4871
+ if: { spacing: 'compact', text: 'small', type: 'rowHeading' },
4872
+ tokens: {
4873
+ fontName: 'StagSans',
4874
+ fontSize: 14,
4875
+ fontWeight: '600',
4876
+ lineHeight: 1.14285714286
4877
+ }
4625
4878
  }
4626
4879
  ],
4627
4880
  tokens: {
4628
4881
  cellBackground: '#ffffff',
4629
4882
  cellBoxShadowColor: '#efefef',
4630
- cellHeadingBackground: '#c1f2e8',
4631
- cellHeadingBoxShadowColor: '#efefef',
4632
4883
  cellMinWidth: 0,
4633
4884
  cellPaddingBottom: 16,
4634
4885
  cellPaddingLeft: 16,
4635
4886
  cellPaddingRight: 16,
4636
4887
  cellPaddingTop: 16,
4637
- cellRowHeadingBackground: '#ffffff',
4638
4888
  cellStickyShadow: {
4639
- blur: 1,
4640
- color: 'rgba(255, 255, 255, 0.8)',
4641
- inset: true,
4889
+ blur: 8,
4890
+ color: 'rgba(0, 0, 0, 0.1)',
4891
+ inset: false,
4642
4892
  offsetX: 0,
4643
- offsetY: 1,
4893
+ offsetY: 4,
4644
4894
  spread: 0
4645
4895
  },
4646
- cellSubheadingBackground: '#fafafa',
4647
4896
  fontName: 'StagSans',
4648
4897
  fontSize: 16,
4649
- fontWeight: '600',
4898
+ fontWeight: '400',
4899
+ lineHeight: 1.5,
4900
+ stickyBackgroundColor: '#ffffff',
4650
4901
  tablePaddingBottom: 24
4651
4902
  }
4652
4903
  },
@@ -4878,6 +5129,7 @@ module.exports = {
4878
5129
  icon: PaletteIconClose,
4879
5130
  iconBackground: '#016b6a',
4880
5131
  iconColor: '#ffffff',
5132
+ iconPadding: 4,
4881
5133
  outerBorderColor: 'rgba(0, 0, 0, 0)',
4882
5134
  outerBorderWidth: 0
4883
5135
  }
@@ -4943,7 +5195,7 @@ module.exports = {
4943
5195
  outerBorderWidth: 0,
4944
5196
  paddingBottom: 8,
4945
5197
  paddingLeft: 16,
4946
- paddingRight: 8,
5198
+ paddingRight: 16,
4947
5199
  paddingTop: 8,
4948
5200
  shadow: null,
4949
5201
  textAlign: 'center'
@@ -4955,37 +5207,59 @@ module.exports = {
4955
5207
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4956
5208
  type: 'state',
4957
5209
  values: [ true ]
5210
+ },
5211
+ viewport: {
5212
+ description: 'The size label for the current screen viewport based on the current screen width',
5213
+ type: 'state',
5214
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4958
5215
  }
4959
5216
  },
4960
5217
  rules: [
5218
+ {
5219
+ if: { viewport: [ 'xs', 'sm' ] },
5220
+ tokens: {
5221
+ expandContentPaddingRight: 24,
5222
+ listMarginLeft: 2,
5223
+ titlePaddingLeft: 2
5224
+ }
5225
+ },
4961
5226
  {
4962
5227
  if: { expanded: true },
4963
5228
  tokens: { icon: PaletteIconChevronUp }
4964
5229
  }
4965
5230
  ],
4966
5231
  tokens: {
5232
+ contentBorderColor: 'transparent',
5233
+ contentMarginBottom: 0,
4967
5234
  contentPaddingBottom: 8,
4968
5235
  contentPaddingLeft: 16,
5236
+ dividerColor: '#c9c8c8',
4969
5237
  expandBaseBorderWidth: 0,
4970
5238
  expandContentPaddingBottom: 16,
4971
5239
  expandContentPaddingLeft: 16,
4972
5240
  expandContentPaddingRight: 16,
4973
5241
  expandContentPaddingTop: 16,
4974
5242
  expandIconContainerAlignItems: 'center',
4975
- expandIconContainerBorder: 1,
4976
- expandIconContainerBorderColor: '#efefef',
5243
+ expandIconContainerBorder: 0,
5244
+ expandIconContainerBorderColor: 'rgba(0, 0, 0, 0)',
4977
5245
  expandIconContainerHeight: 32,
4978
5246
  expandIconContainerJustifyContent: 'center',
4979
5247
  expandIconContainerMarginX: 0,
4980
5248
  expandIconContainerMarginY: 12,
4981
5249
  expandIconContainerWidth: 32,
4982
- expandTitleColor: '#efefef',
5250
+ expandTitleBorder: 0,
5251
+ expandTitleBorderColor: 'rgba(0, 0, 0, 0)',
5252
+ expandTitleColor: '#000000',
5253
+ expandTitleFontName: 'StagSans',
4983
5254
  expandTitleFontSize: 16,
5255
+ expandTitleFontWeight: '600',
4984
5256
  expandTitleLineHeight: 1.5,
4985
5257
  expandTitleMarginX: 4,
4986
5258
  expandTitleMarginY: 0,
5259
+ expandTitlePaddingLeft: 0,
5260
+ expandTitleUnderline: 'none',
4987
5261
  icon: PaletteIconChevronDown,
4988
- listColor: '#016b6a',
5262
+ listColor: '#000000',
4989
5263
  listFontName: 'StagSans',
4990
5264
  listFontSize: 14,
4991
5265
  listFontWeight: '400',
@@ -4998,8 +5272,8 @@ module.exports = {
4998
5272
  titleColor: '#016b6a',
4999
5273
  titleFontSize: 14,
5000
5274
  titleLineHeight: 1.42857142857,
5001
- titlePaddingLeft: 8,
5002
- unorderedPadding: 0
5275
+ titlePaddingLeft: 32,
5276
+ unorderedPadding: 12
5003
5277
  }
5004
5278
  },
5005
5279
  Testimonial: {
@@ -5263,11 +5537,11 @@ module.exports = {
5263
5537
  },
5264
5538
  {
5265
5539
  if: { hover: true, selected: true },
5266
- tokens: { backgroundColor: '#bbeaf5' }
5540
+ tokens: { backgroundColor: '#bbeaf5', switchColor: '#1b4746' }
5267
5541
  },
5268
5542
  {
5269
5543
  if: { pressed: true, selected: true },
5270
- tokens: { backgroundColor: '#c3efff' }
5544
+ tokens: { backgroundColor: '#b5b4b4', switchColor: '#505050' }
5271
5545
  },
5272
5546
  {
5273
5547
  if: { focus: true, selected: true },
@@ -5310,17 +5584,19 @@ module.exports = {
5310
5584
  labelFontSize: 16,
5311
5585
  labelFontWeight: '600',
5312
5586
  labelLineHeight: 1.5,
5313
- labelMarginLeft: 8,
5587
+ labelMarginLeft: 0,
5314
5588
  opacity: 1,
5315
5589
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
5316
5590
  outerBorderColor: 'rgba(0, 0, 0, 0)',
5317
5591
  outerBorderGap: 0,
5592
+ outerBorderGapButton: 4,
5318
5593
  outerBorderWidth: 0,
5319
5594
  paddingBottom: 0,
5320
5595
  paddingLeft: 0,
5321
5596
  paddingRight: 0,
5322
5597
  paddingTop: 0,
5323
5598
  shadow: null,
5599
+ space: 2,
5324
5600
  switchBorderColor: 'rgba(0, 0, 0, 0)',
5325
5601
  switchBorderRadius: 32,
5326
5602
  switchBorderWidth: 0,
@@ -5333,10 +5609,11 @@ module.exports = {
5333
5609
  offsetY: 2,
5334
5610
  spread: 0
5335
5611
  },
5336
- switchSize: 18,
5612
+ switchSize: 24,
5337
5613
  trackBorderColor: 'rgba(0, 0, 0, 0)',
5338
5614
  trackBorderRadius: 12,
5339
5615
  trackBorderWidth: 3,
5616
+ trackHeight: 20,
5340
5617
  width: 40
5341
5618
  }
5342
5619
  },
@@ -5659,6 +5936,7 @@ module.exports = {
5659
5936
  fontWeight: '400',
5660
5937
  letterSpacing: 0,
5661
5938
  lineHeight: 1.5,
5939
+ superScriptFontSize: null,
5662
5940
  textTransform: 'none'
5663
5941
  }
5664
5942
  },
@@ -5737,13 +6015,13 @@ module.exports = {
5737
6015
  appearances: {},
5738
6016
  rules: [],
5739
6017
  tokens: {
5740
- framedContainerBackgroundColor: 'rgba(0, 0, 0, 0)',
5741
- framedContainerBorderColor: 'rgba(0, 0, 0, 0)',
6018
+ framedContainerBackgroundColor: '#fafafa',
6019
+ framedContainerBorderColor: '#c9c8c8',
5742
6020
  framedContainerBorderRadius: 4,
5743
6021
  framedContainerBorderWidth: 1,
5744
6022
  framedContainerPadding: 24,
5745
6023
  framedMaxHeight: 640,
5746
- stackViewDividerColor: 'rgba(0, 0, 0, 0)'
6024
+ stackViewDividerColor: '#c9c8c8'
5747
6025
  }
5748
6026
  },
5749
6027
  VideoPickerSlider: {
@@ -5755,20 +6033,68 @@ module.exports = {
5755
6033
  }
5756
6034
  },
5757
6035
  VideoPickerThumbnail: {
5758
- appearances: {},
5759
- rules: [],
6036
+ appearances: {
6037
+ focus: {
6038
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
6039
+ platforms: [ 'rn' ],
6040
+ type: 'state',
6041
+ values: [ true, false ]
6042
+ },
6043
+ hover: {
6044
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
6045
+ platforms: [ 'rn' ],
6046
+ type: 'state',
6047
+ values: [ true, false ]
6048
+ },
6049
+ pressed: {
6050
+ description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
6051
+ type: 'state',
6052
+ values: [ true, false ]
6053
+ },
6054
+ selected: {
6055
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
6056
+ type: 'state',
6057
+ values: [ true ]
6058
+ }
6059
+ },
6060
+ rules: [
6061
+ {
6062
+ if: { focus: true },
6063
+ tokens: {
6064
+ borderColor: '#595959',
6065
+ borderWidth: 1,
6066
+ outerBorderColor: '#17367d'
6067
+ }
6068
+ },
6069
+ {
6070
+ if: { hover: true },
6071
+ tokens: { borderColor: '#c9c8c8', borderWidth: 3 }
6072
+ },
6073
+ {
6074
+ if: { pressed: true },
6075
+ tokens: { borderColor: '#595959', borderWidth: 3 }
6076
+ },
6077
+ {
6078
+ if: { selected: true },
6079
+ tokens: { borderColor: '#016b6a', titleColor: '#016b6a' }
6080
+ }
6081
+ ],
5760
6082
  tokens: {
5761
- borderColor: 'rgba(0, 0, 0, 0)',
6083
+ borderColor: '#c9c8c8',
5762
6084
  borderRadius: 4,
5763
6085
  borderWidth: 2,
5764
- pressableBorderTopColor: 'rgba(0, 0, 0, 0)',
6086
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
6087
+ outerBorderGap: 2,
6088
+ outerBorderRadius: 8,
6089
+ outerBorderWidth: 2,
6090
+ pressableBorderTopColor: '#c9c8c8',
5765
6091
  pressableBorderTopWidth: 1,
5766
6092
  pressablePaddingBottom: 16,
5767
6093
  pressablePaddingHorizontal: 24,
5768
6094
  pressablePaddingVertical: 16,
5769
6095
  splashButtonRadius: 4,
5770
- subTitleColor: 'rgba(0, 0, 0, 0)',
5771
- titleColor: 'rgba(0, 0, 0, 0)'
6096
+ subTitleColor: '#595959',
6097
+ titleColor: '#000000'
5772
6098
  }
5773
6099
  },
5774
6100
  VideoProgressBar: {
@@ -5870,5 +6196,5 @@ module.exports = {
5870
6196
  tokens: { size: 96 }
5871
6197
  }
5872
6198
  },
5873
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.35.0' }
6199
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.37.0' }
5874
6200
  }