@telus-uds/theme-allium 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:32:18 GMT
4
+ * Generated on Fri, 07 Jul 2023 19:16:17 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1032,7 +1032,7 @@ module.exports = {
1032
1032
  appearances: {
1033
1033
  background: {
1034
1034
  type: 'variant',
1035
- values: [ 'alternative', 'subtle', 'grid' ]
1035
+ values: [ 'alternative', 'subtle', 'grid', 'feature' ]
1036
1036
  },
1037
1037
  padding: {
1038
1038
  type: 'variant',
@@ -1053,6 +1053,21 @@ module.exports = {
1053
1053
  if: { background: 'subtle' },
1054
1054
  tokens: { backgroundColor: '#fafafa' }
1055
1055
  },
1056
+ {
1057
+ if: { background: 'feature' },
1058
+ tokens: {
1059
+ borderColor: '#4b286d',
1060
+ borderWidth: 2,
1061
+ gradient: {
1062
+ angle: 135,
1063
+ stops: [
1064
+ { color: '#4b286d', stop: 0 },
1065
+ { color: '#e53293', stop: 1 }
1066
+ ],
1067
+ type: 'linear'
1068
+ }
1069
+ }
1070
+ },
1056
1071
  {
1057
1072
  if: { background: 'grid' },
1058
1073
  tokens: { backgroundColor: '#fafafa', borderWidth: 0 }
@@ -1131,6 +1146,7 @@ module.exports = {
1131
1146
  contentFlexShrink: 1,
1132
1147
  contentJustifyContent: 'flex-start',
1133
1148
  flex: 1,
1149
+ gradient: null,
1134
1150
  minWidth: null,
1135
1151
  paddingBottom: 32,
1136
1152
  paddingLeft: 24,
@@ -1406,6 +1422,12 @@ module.exports = {
1406
1422
  ChevronLink: {
1407
1423
  appearances: {
1408
1424
  alternative: { type: 'variant', values: [ true ] },
1425
+ focus: {
1426
+ 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.",
1427
+ platforms: [ 'rn' ],
1428
+ type: 'state',
1429
+ values: [ true, false ]
1430
+ },
1409
1431
  hover: {
1410
1432
  description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1411
1433
  platforms: [ 'rn' ],
@@ -1459,6 +1481,10 @@ module.exports = {
1459
1481
  {
1460
1482
  if: { size: 'micro' },
1461
1483
  tokens: { fontSize: 12, iconSize: 12 }
1484
+ },
1485
+ {
1486
+ if: { focus: true },
1487
+ tokens: { outerBorderColor: '#2b8000' }
1462
1488
  }
1463
1489
  ],
1464
1490
  tokens: {
@@ -1699,34 +1725,65 @@ module.exports = {
1699
1725
  ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
1700
1726
  ExpandCollapseMiniControl: {
1701
1727
  appearances: {
1728
+ alternative: {
1729
+ description: 'Replaces the default green colour with a more subtle grey.',
1730
+ type: 'variant',
1731
+ values: [ true ]
1732
+ },
1702
1733
  expanded: {
1703
1734
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1704
1735
  type: 'state',
1705
1736
  values: [ true ]
1706
- }
1737
+ },
1738
+ inverse: {
1739
+ description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
1740
+ type: 'variant',
1741
+ values: [ true ]
1742
+ },
1743
+ size: { type: 'variant', values: [ 'micro', 'small', 'large' ] }
1707
1744
  },
1708
1745
  rules: [
1709
1746
  {
1710
1747
  if: { expanded: true },
1711
1748
  tokens: { icon: PaletteIconCaretUp }
1749
+ },
1750
+ { if: { alternative: true }, tokens: { color: '#414547' } },
1751
+ {
1752
+ if: { inverse: true },
1753
+ tokens: { color: '#ffffff', iconColor: '#ffffff' }
1754
+ },
1755
+ {
1756
+ if: { size: 'micro' },
1757
+ tokens: { fontSize: 12, iconSize: 16, lineHeight: 1.33333333333 }
1758
+ },
1759
+ {
1760
+ if: { size: 'small' },
1761
+ tokens: { fontSize: 14, iconSize: 20, lineHeight: 1.45 }
1762
+ },
1763
+ {
1764
+ if: { size: 'large' },
1765
+ tokens: { fontSize: 20, lineHeight: 1.28571428571 }
1712
1766
  }
1713
1767
  ],
1714
1768
  tokens: {
1715
- backgroundColor: 'rgba(0, 0, 0, 0)',
1716
1769
  borderColor: 'rgba(0, 0, 0, 0)',
1717
1770
  borderWidth: 0,
1771
+ color: '#2b8000',
1772
+ fontSize: 16,
1718
1773
  icon: PaletteIconCaretDown,
1719
1774
  iconColor: '#2b8000',
1720
1775
  iconGap: 8,
1721
1776
  iconPaddingTop: 4,
1722
1777
  iconPosition: 'left',
1723
- iconSize: 16,
1778
+ iconSize: 24,
1724
1779
  justifyContent: 'flex-start',
1780
+ lineHeight: 1.5,
1725
1781
  paddingBottom: 0,
1726
1782
  paddingLeft: 0,
1727
1783
  paddingRight: 0,
1728
1784
  paddingTop: 0,
1729
1785
  size: 4,
1786
+ textLine: 'underline',
1730
1787
  verticalAlign: 'top'
1731
1788
  }
1732
1789
  },
@@ -1756,6 +1813,18 @@ module.exports = {
1756
1813
  contentPaddingLeft: 24,
1757
1814
  contentPaddingRight: 0,
1758
1815
  contentPaddingTop: 0,
1816
+ contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)',
1817
+ contentPanelBorderColor: 'rgba(0, 0, 0, 0)',
1818
+ contentPanelBorderWidth: 0,
1819
+ contentPanelFontColor: '#2c2e30',
1820
+ contentPanelFontName: 'HelveticaNow',
1821
+ contentPanelFontSize: 16,
1822
+ contentPanelFontWeight: '700',
1823
+ contentPanelLineHeight: 1.5,
1824
+ contentPanelPaddingBottom: 16,
1825
+ contentPanelPaddingLeft: 24,
1826
+ contentPanelPaddingRight: 0,
1827
+ contentPanelPaddingTop: 16,
1759
1828
  expandDividerColor: 'rgba(0, 0, 0, 0)',
1760
1829
  expandDividerWidth: 0,
1761
1830
  expandDuration: 300,
@@ -2924,10 +2993,12 @@ module.exports = {
2924
2993
  {
2925
2994
  if: { focus: true },
2926
2995
  tokens: {
2927
- backgroundColor: '#ffffff',
2996
+ backgroundColor: '#f4f4f7',
2928
2997
  borderColor: '#4b286d',
2929
- borderWidth: 3,
2930
- color: '#4b286d'
2998
+ borderWidth: 2,
2999
+ color: '#4b286d',
3000
+ outerBorderColor: '#4b286d',
3001
+ outerBorderWidth: 2
2931
3002
  }
2932
3003
  },
2933
3004
  {
@@ -2957,7 +3028,7 @@ module.exports = {
2957
3028
  },
2958
3029
  {
2959
3030
  if: { viewport: [ 'xs', 'sm', 'md' ] },
2960
- tokens: { textAlign: 'flex-start', width: 288 }
3031
+ tokens: { textAlign: 'space-between', width: 288 }
2961
3032
  },
2962
3033
  {
2963
3034
  if: { expanded: true },
@@ -4571,18 +4642,40 @@ module.exports = {
4571
4642
  }
4572
4643
  },
4573
4644
  SkipLink: {
4574
- appearances: {},
4575
- rules: [],
4645
+ appearances: {
4646
+ focus: {
4647
+ 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.",
4648
+ platforms: [ 'rn' ],
4649
+ type: 'state',
4650
+ values: [ true, false ]
4651
+ },
4652
+ pressed: {
4653
+ 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.',
4654
+ type: 'state',
4655
+ values: [ true, false ]
4656
+ }
4657
+ },
4658
+ rules: [
4659
+ {
4660
+ if: { focus: true, pressed: true },
4661
+ tokens: { color: '#163e06', outlineColor: '#163e06' }
4662
+ }
4663
+ ],
4576
4664
  tokens: {
4577
- backgroundColor: '#7c53a5',
4578
- borderRadius: 32,
4579
- color: '#ffffff',
4580
- outlineColor: '#7c53a5',
4581
- outlineOffset: 2,
4665
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4666
+ borderRadius: 4,
4667
+ color: '#2b8000',
4668
+ fontName: 'HelveticaNow',
4669
+ fontSize: 16,
4670
+ fontWeight: '400',
4671
+ lineHeight: 1.5,
4672
+ outlineColor: '#2b8000',
4673
+ outlineOffset: 0,
4582
4674
  outlineStyle: 'solid',
4583
- outlineWidth: 1,
4584
- paddingHorizontal: 8,
4585
- paddingVertical: 8
4675
+ outlineWidth: 2,
4676
+ paddingHorizontal: 2,
4677
+ paddingVertical: 2,
4678
+ textLine: 'underline'
4586
4679
  }
4587
4680
  },
4588
4681
  Spinner: {
@@ -4806,24 +4899,121 @@ module.exports = {
4806
4899
  }
4807
4900
  },
4808
4901
  Table: {
4809
- appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
4902
+ appearances: {
4903
+ spacing: {
4904
+ description: 'Adjusts the height of the table cell',
4905
+ type: 'variant',
4906
+ values: [ 'compact', 'default' ]
4907
+ },
4908
+ text: { type: 'variant', values: [ 'small', 'medium' ] },
4909
+ type: {
4910
+ type: 'variant',
4911
+ values: [ 'subHeading', 'rowHeading', 'heading', 'default' ]
4912
+ }
4913
+ },
4810
4914
  rules: [
4811
4915
  {
4812
- if: { spacing: 'compact' },
4813
- tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
4916
+ if: { spacing: 'compact', type: 'default' },
4917
+ tokens: {
4918
+ cellPaddingBottom: 8,
4919
+ cellPaddingTop: 8,
4920
+ fontSize: 16,
4921
+ lineHeight: 1.25
4922
+ }
4923
+ },
4924
+ {
4925
+ if: { spacing: 'compact', type: 'rowHeading' },
4926
+ tokens: {
4927
+ cellPaddingBottom: 8,
4928
+ cellPaddingTop: 8,
4929
+ fontName: 'HelveticaNow',
4930
+ fontSize: 16,
4931
+ fontWeight: '700',
4932
+ lineHeight: 1.25
4933
+ }
4934
+ },
4935
+ {
4936
+ if: { spacing: 'compact', text: 'small', type: 'subHeading' },
4937
+ tokens: {
4938
+ cellBackground: '#fafafa',
4939
+ cellPaddingBottom: 8,
4940
+ cellPaddingTop: 8,
4941
+ fontName: 'HelveticaNow',
4942
+ fontSize: 14,
4943
+ fontWeight: '500',
4944
+ lineHeight: 1.14285714286
4945
+ }
4946
+ },
4947
+ {
4948
+ if: { type: 'heading' },
4949
+ tokens: {
4950
+ cellBackground: '#f4f4f7',
4951
+ cellBoxShadowColor: '#b2b9bf',
4952
+ fontName: 'HelveticaNow',
4953
+ fontSize: 16,
4954
+ fontWeight: '500'
4955
+ }
4956
+ },
4957
+ {
4958
+ if: { spacing: 'default', type: 'subHeading' },
4959
+ tokens: {
4960
+ cellBackground: '#fafafa',
4961
+ fontName: 'HelveticaNow',
4962
+ fontSize: 14,
4963
+ fontWeight: '500',
4964
+ lineHeight: 1.28571428571
4965
+ }
4966
+ },
4967
+ {
4968
+ if: { spacing: 'compact', text: 'medium', type: 'subHeading' },
4969
+ tokens: {
4970
+ cellBackground: '#fafafa',
4971
+ fontName: 'HelveticaNow',
4972
+ fontSize: 16,
4973
+ fontWeight: '500',
4974
+ lineHeight: 1.25
4975
+ }
4976
+ },
4977
+ {
4978
+ if: { spacing: 'default', type: 'rowHeading' },
4979
+ tokens: { fontName: 'HelveticaNow', fontSize: 16, fontWeight: '700' }
4980
+ },
4981
+ {
4982
+ if: { spacing: 'default', text: 'small', type: 'default' },
4983
+ tokens: {
4984
+ fontName: 'HelveticaNow',
4985
+ fontSize: 14,
4986
+ fontWeight: '400',
4987
+ lineHeight: 1.42857142857
4988
+ }
4989
+ },
4990
+ {
4991
+ if: { spacing: 'compact', text: 'small', type: 'default' },
4992
+ tokens: {
4993
+ fontName: 'HelveticaNow',
4994
+ fontSize: 14,
4995
+ fontWeight: '400',
4996
+ lineHeight: 1.14285714286
4997
+ }
4998
+ },
4999
+ {
5000
+ if: { text: 'small', type: 'rowHeading' },
5001
+ tokens: {
5002
+ fontName: 'HelveticaNow',
5003
+ fontSize: 14,
5004
+ fontWeight: '700',
5005
+ lineHeight: 1.14285714286
5006
+ }
4814
5007
  }
4815
5008
  ],
4816
5009
  tokens: {
4817
- cellBackground: '#ffffff',
5010
+ cellBackground: 'rgba(0, 0, 0, 0)',
4818
5011
  cellBoxShadowColor: '#e3e6e8',
4819
- cellHeadingBackground: '#f4f4f7',
4820
- cellHeadingBoxShadowColor: '#b2b9bf',
4821
5012
  cellMinWidth: 0,
4822
5013
  cellPaddingBottom: 16,
4823
5014
  cellPaddingLeft: 16,
4824
5015
  cellPaddingRight: 16,
4825
5016
  cellPaddingTop: 16,
4826
- cellRowHeadingBackground: '#ffffff',
4827
5017
  cellStickyShadow: {
4828
5018
  blur: 8,
4829
5019
  color: 'rgba(0, 0, 0, 0.1)',
@@ -4832,10 +5022,11 @@ module.exports = {
4832
5022
  offsetY: 4,
4833
5023
  spread: 0
4834
5024
  },
4835
- cellSubheadingBackground: '#fafafa',
4836
5025
  fontName: 'HelveticaNow',
4837
5026
  fontSize: 16,
4838
5027
  fontWeight: '400',
5028
+ lineHeight: 1.5,
5029
+ stickyBackgroundColor: '#ffffff',
4839
5030
  tablePaddingBottom: 24
4840
5031
  }
4841
5032
  },
@@ -5125,35 +5316,57 @@ module.exports = {
5125
5316
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
5126
5317
  type: 'state',
5127
5318
  values: [ true ]
5319
+ },
5320
+ viewport: {
5321
+ description: 'The size label for the current screen viewport based on the current screen width',
5322
+ type: 'state',
5323
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
5128
5324
  }
5129
5325
  },
5130
5326
  rules: [
5327
+ {
5328
+ if: { viewport: [ 'xs', 'sm' ] },
5329
+ tokens: {
5330
+ expandContentPaddingRight: 24,
5331
+ listMarginLeft: 6,
5332
+ titlePaddingLeft: 6
5333
+ }
5334
+ },
5131
5335
  {
5132
5336
  if: { expanded: true },
5133
5337
  tokens: { icon: PaletteIconCaretUp }
5134
5338
  }
5135
5339
  ],
5136
5340
  tokens: {
5341
+ contentBorderColor: 'transparent',
5342
+ contentMarginBottom: 0,
5137
5343
  contentPaddingBottom: 8,
5138
5344
  contentPaddingLeft: 16,
5345
+ dividerColor: '#b2b9bf',
5139
5346
  expandBaseBorderWidth: 0,
5140
5347
  expandContentPaddingBottom: 16,
5141
5348
  expandContentPaddingLeft: 16,
5142
5349
  expandContentPaddingRight: 16,
5143
5350
  expandContentPaddingTop: 16,
5144
5351
  expandIconContainerAlignItems: 'center',
5145
- expandIconContainerBorder: 1,
5146
- expandIconContainerBorderColor: '#676e73',
5352
+ expandIconContainerBorder: 0,
5353
+ expandIconContainerBorderColor: 'rgba(0, 0, 0, 0)',
5147
5354
  expandIconContainerHeight: 32,
5148
5355
  expandIconContainerJustifyContent: 'center',
5149
5356
  expandIconContainerMarginX: 0,
5150
5357
  expandIconContainerMarginY: 12,
5151
5358
  expandIconContainerWidth: 32,
5359
+ expandTitleBorder: 0,
5360
+ expandTitleBorderColor: 'rgba(0, 0, 0, 0)',
5152
5361
  expandTitleColor: '#2c2e30',
5362
+ expandTitleFontName: 'HelveticaNow',
5153
5363
  expandTitleFontSize: 16,
5364
+ expandTitleFontWeight: '500',
5154
5365
  expandTitleLineHeight: 1.5,
5155
5366
  expandTitleMarginX: 4,
5156
5367
  expandTitleMarginY: 0,
5368
+ expandTitlePaddingLeft: 0,
5369
+ expandTitleUnderline: 'none',
5157
5370
  icon: PaletteIconCaretDown,
5158
5371
  listColor: '#414547',
5159
5372
  listFontName: 'HelveticaNow',
@@ -5168,8 +5381,8 @@ module.exports = {
5168
5381
  titleColor: '#414547',
5169
5382
  titleFontSize: 14,
5170
5383
  titleLineHeight: 1.42857142857,
5171
- titlePaddingLeft: 8,
5172
- unorderedPadding: 0
5384
+ titlePaddingLeft: 32,
5385
+ unorderedPadding: 12
5173
5386
  }
5174
5387
  },
5175
5388
  Testimonial: {
@@ -5472,11 +5685,12 @@ module.exports = {
5472
5685
  labelFontSize: 16,
5473
5686
  labelFontWeight: '400',
5474
5687
  labelLineHeight: 1.5,
5475
- labelMarginLeft: 10,
5688
+ labelMarginLeft: 0,
5476
5689
  opacity: 1,
5477
5690
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
5478
5691
  outerBorderColor: 'rgba(0, 0, 0, 0)',
5479
5692
  outerBorderGap: 0,
5693
+ outerBorderGapButton: 3,
5480
5694
  outerBorderWidth: 0,
5481
5695
  paddingBottom: 0,
5482
5696
  paddingLeft: 0,
@@ -5490,6 +5704,7 @@ module.exports = {
5490
5704
  offsetY: 2,
5491
5705
  spread: 0
5492
5706
  },
5707
+ space: 2,
5493
5708
  switchBorderColor: 'rgba(0, 0, 0, 0)',
5494
5709
  switchBorderRadius: 32,
5495
5710
  switchBorderWidth: 0,
@@ -5506,6 +5721,7 @@ module.exports = {
5506
5721
  trackBorderColor: 'rgba(0, 0, 0, 0)',
5507
5722
  trackBorderRadius: 32,
5508
5723
  trackBorderWidth: 3,
5724
+ trackHeight: 24,
5509
5725
  width: 40
5510
5726
  }
5511
5727
  },
@@ -5695,12 +5911,13 @@ module.exports = {
5695
5911
  fontSize: 40,
5696
5912
  fontWeight: '300',
5697
5913
  letterSpacing: -0.035,
5698
- lineHeight: 1.2
5914
+ lineHeight: 1.2,
5915
+ superScriptFontSize: 24
5699
5916
  }
5700
5917
  },
5701
5918
  {
5702
5919
  if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
5703
- tokens: { fontSize: 64, lineHeight: 1.125 }
5920
+ tokens: { fontSize: 64, lineHeight: 1.125, superScriptFontSize: 32 }
5704
5921
  },
5705
5922
  {
5706
5923
  if: { size: 'display2' },
@@ -5709,7 +5926,8 @@ module.exports = {
5709
5926
  fontSize: 36,
5710
5927
  fontWeight: '400',
5711
5928
  letterSpacing: -0.035,
5712
- lineHeight: 1.22222222222
5929
+ lineHeight: 1.22222222222,
5930
+ superScriptFontSize: 24
5713
5931
  }
5714
5932
  },
5715
5933
  {
@@ -5719,7 +5937,8 @@ module.exports = {
5719
5937
  fontSize: 56,
5720
5938
  fontWeight: '300',
5721
5939
  letterSpacing: -0.039,
5722
- lineHeight: 1.14285714286
5940
+ lineHeight: 1.14285714286,
5941
+ superScriptFontSize: 32
5723
5942
  }
5724
5943
  },
5725
5944
  {
@@ -5727,7 +5946,8 @@ module.exports = {
5727
5946
  tokens: {
5728
5947
  fontSize: 28,
5729
5948
  letterSpacing: -0.017,
5730
- lineHeight: 1.28571428571
5949
+ lineHeight: 1.28571428571,
5950
+ superScriptFontSize: 20
5731
5951
  }
5732
5952
  },
5733
5953
  {
@@ -5737,7 +5957,8 @@ module.exports = {
5737
5957
  fontSize: 40,
5738
5958
  fontWeight: '300',
5739
5959
  letterSpacing: -0.035,
5740
- lineHeight: 1.2
5960
+ lineHeight: 1.2,
5961
+ superScriptFontSize: 24
5741
5962
  }
5742
5963
  },
5743
5964
  {
@@ -5746,7 +5967,8 @@ module.exports = {
5746
5967
  fontName: 'HelveticaNow',
5747
5968
  fontSize: 24,
5748
5969
  fontWeight: '400',
5749
- lineHeight: 1.33333333333
5970
+ lineHeight: 1.33333333333,
5971
+ superScriptFontSize: 16
5750
5972
  }
5751
5973
  },
5752
5974
  {
@@ -5754,7 +5976,8 @@ module.exports = {
5754
5976
  tokens: {
5755
5977
  fontSize: 28,
5756
5978
  letterSpacing: -0.017,
5757
- lineHeight: 1.28571428571
5979
+ lineHeight: 1.28571428571,
5980
+ superScriptFontSize: 20
5758
5981
  }
5759
5982
  },
5760
5983
  {
@@ -5763,7 +5986,8 @@ module.exports = {
5763
5986
  fontName: 'HelveticaNow',
5764
5987
  fontSize: 20,
5765
5988
  fontWeight: '500',
5766
- lineHeight: 1.4
5989
+ lineHeight: 1.4,
5990
+ superScriptFontSize: 16
5767
5991
  }
5768
5992
  },
5769
5993
  {
@@ -5776,7 +6000,8 @@ module.exports = {
5776
6000
  fontName: 'HelveticaNow',
5777
6001
  fontSize: 16,
5778
6002
  fontWeight: '500',
5779
- lineHeight: 1.5
6003
+ lineHeight: 1.5,
6004
+ superScriptFontSize: 16
5780
6005
  }
5781
6006
  },
5782
6007
  {
@@ -5788,6 +6013,10 @@ module.exports = {
5788
6013
  lineHeight: 1.28571428571
5789
6014
  }
5790
6015
  },
6016
+ {
6017
+ if: { size: [ 'h5', 'h6' ] },
6018
+ tokens: { superScriptFontSize: 12 }
6019
+ },
5791
6020
  {
5792
6021
  if: { size: 'h6' },
5793
6022
  tokens: {
@@ -5799,7 +6028,7 @@ module.exports = {
5799
6028
  },
5800
6029
  {
5801
6030
  if: { size: 'large' },
5802
- tokens: { fontSize: 20, lineHeight: 1.6 }
6031
+ tokens: { fontSize: 20, lineHeight: 1.6, superScriptFontSize: 16 }
5803
6032
  },
5804
6033
  {
5805
6034
  if: { compact: true, size: 'large' },
@@ -5812,7 +6041,11 @@ module.exports = {
5812
6041
  },
5813
6042
  {
5814
6043
  if: { size: 'small' },
5815
- tokens: { fontSize: 14, lineHeight: 1.42857142857 }
6044
+ tokens: {
6045
+ fontSize: 14,
6046
+ lineHeight: 1.42857142857,
6047
+ superScriptFontSize: 12
6048
+ }
5816
6049
  },
5817
6050
  {
5818
6051
  if: { compact: true, size: 'small' },
@@ -5824,7 +6057,8 @@ module.exports = {
5824
6057
  fontName: 'HelveticaNow',
5825
6058
  fontSize: 12,
5826
6059
  fontWeight: '500',
5827
- lineHeight: 1.33333333333
6060
+ lineHeight: 1.33333333333,
6061
+ superScriptFontSize: 12
5828
6062
  }
5829
6063
  },
5830
6064
  {
@@ -5931,6 +6165,7 @@ module.exports = {
5931
6165
  fontWeight: '400',
5932
6166
  letterSpacing: 0,
5933
6167
  lineHeight: 1.5,
6168
+ superScriptFontSize: 16,
5934
6169
  textTransform: 'none'
5935
6170
  }
5936
6171
  },
@@ -6027,12 +6262,60 @@ module.exports = {
6027
6262
  }
6028
6263
  },
6029
6264
  VideoPickerThumbnail: {
6030
- appearances: {},
6031
- rules: [],
6265
+ appearances: {
6266
+ focus: {
6267
+ 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.",
6268
+ platforms: [ 'rn' ],
6269
+ type: 'state',
6270
+ values: [ true, false ]
6271
+ },
6272
+ hover: {
6273
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
6274
+ platforms: [ 'rn' ],
6275
+ type: 'state',
6276
+ values: [ true, false ]
6277
+ },
6278
+ pressed: {
6279
+ 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.',
6280
+ type: 'state',
6281
+ values: [ true, false ]
6282
+ },
6283
+ selected: {
6284
+ 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`.',
6285
+ type: 'state',
6286
+ values: [ true ]
6287
+ }
6288
+ },
6289
+ rules: [
6290
+ {
6291
+ if: { focus: true },
6292
+ tokens: { borderColor: '#b2b9bf', outerBorderColor: '#b2b9bf' }
6293
+ },
6294
+ {
6295
+ if: { hover: true },
6296
+ tokens: { borderColor: '#e3e6e8', borderWidth: 3 }
6297
+ },
6298
+ {
6299
+ if: { pressed: true },
6300
+ tokens: { borderColor: '#676e73', borderWidth: 3 }
6301
+ },
6302
+ {
6303
+ if: { selected: true },
6304
+ tokens: {
6305
+ borderColor: '#4b286d',
6306
+ borderWidth: 2,
6307
+ titleColor: '#4b286d'
6308
+ }
6309
+ }
6310
+ ],
6032
6311
  tokens: {
6033
- borderColor: '#4b286d',
6312
+ borderColor: '#e3e6e8',
6034
6313
  borderRadius: 4,
6035
6314
  borderWidth: 2,
6315
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
6316
+ outerBorderGap: 2,
6317
+ outerBorderRadius: 8,
6318
+ outerBorderWidth: 2,
6036
6319
  pressableBorderTopColor: '#e3e6e8',
6037
6320
  pressableBorderTopWidth: 1,
6038
6321
  pressablePaddingBottom: 16,
@@ -6040,7 +6323,7 @@ module.exports = {
6040
6323
  pressablePaddingVertical: 16,
6041
6324
  splashButtonRadius: 4,
6042
6325
  subTitleColor: '#676e73',
6043
- titleColor: '#4b286d'
6326
+ titleColor: '#414547'
6044
6327
  }
6045
6328
  },
6046
6329
  VideoProgressBar: {
@@ -6142,5 +6425,5 @@ module.exports = {
6142
6425
  tokens: { size: 96 }
6143
6426
  }
6144
6427
  },
6145
- metadata: { name: 'theme-allium', themeTokensVersion: '2.35.0' }
6428
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.37.0' }
6146
6429
  }