@telus-uds/theme-allium 4.7.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/build/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 28 Jun 2023 23:16:06 GMT
4
+ * Generated on Fri, 14 Jul 2023 19:37:28 GMT
5
5
  *
6
6
  */
7
7
 
@@ -24,6 +24,7 @@ const PaletteIconTimes = require('@telus-uds/palette-allium/build/rn/icons/Times
24
24
  const PaletteIconSearchBold = require('@telus-uds/palette-allium/build/rn/icons/SearchBold')
25
25
  const PaletteIconPlaySolid = require('@telus-uds/palette-allium/build/rn/icons/PlaySolid')
26
26
  const PaletteIconQuoteLeft = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeft')
27
+ const PaletteIconQuoteLeftArrow = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeftArrow')
27
28
  const PaletteIconInvisible = require('@telus-uds/palette-allium/build/rn/icons/Invisible')
28
29
  const PaletteIconVisible = require('@telus-uds/palette-allium/build/rn/icons/Visible')
29
30
  const PaletteIconQuestion = require('@telus-uds/palette-allium/build/rn/icons/Question')
@@ -135,6 +136,7 @@ module.exports = {
135
136
  borderWidth: 2,
136
137
  color: '#ffffff',
137
138
  fontName: 'HelveticaNow',
139
+ fontSize: 12,
138
140
  fontWeight: '700',
139
141
  gradient: null,
140
142
  paddingBottom: 2,
@@ -1166,11 +1168,7 @@ module.exports = {
1166
1168
  rules: [
1167
1169
  {
1168
1170
  if: { viewport: [ 'xs', 'sm' ] },
1169
- tokens: {
1170
- showPanelTabs: false,
1171
- showPreviousNextNavigation: false,
1172
- thumbnailSize: 48
1173
- }
1171
+ tokens: { showPanelTabs: false, showPreviousNextNavigation: false }
1174
1172
  }
1175
1173
  ],
1176
1174
  tokens: {
@@ -1182,15 +1180,7 @@ module.exports = {
1182
1180
  showPreviousNextNavigation: true,
1183
1181
  spaceBetweenSlideAndPanelNavigation: 32,
1184
1182
  spaceBetweenSlideAndPreviousNextNavigation: 24,
1185
- thumbnailBorderColor: '#e3e6e8',
1186
- thumbnailBorderRadius: 4,
1187
- thumbnailBorderWidth: 1,
1188
- thumbnailContainerPaddingTop: 24,
1189
- thumbnailMargin: 4,
1190
- thumbnailPadding: 8,
1191
- thumbnailSelectedBorderColor: '#676e73',
1192
- thumbnailSelectedBorderWidth: 2,
1193
- thumbnailSize: 56
1183
+ stepTrackerCurrentBackgroundColor: null
1194
1184
  }
1195
1185
  },
1196
1186
  CarouselTabsPanelItem: {
@@ -1309,7 +1299,9 @@ module.exports = {
1309
1299
  tokens: {
1310
1300
  borderBottomColor: '#ffffff',
1311
1301
  borderBottomWidth: 4,
1312
- color: '#ffffff'
1302
+ color: '#ffffff',
1303
+ fontName: 'HelveticaNow',
1304
+ fontWeight: '700'
1313
1305
  }
1314
1306
  }
1315
1307
  ],
@@ -1326,13 +1318,66 @@ module.exports = {
1326
1318
  fontWeight: '400',
1327
1319
  justifyContent: 'flex-start',
1328
1320
  letterSpacing: 0,
1329
- lineHeight: 1.125,
1321
+ lineHeight: 1.45,
1330
1322
  paddingBottom: 16,
1331
1323
  paddingLeft: 0,
1332
1324
  paddingRight: 0,
1333
1325
  paddingTop: 0
1334
1326
  }
1335
1327
  },
1328
+ CarouselThumbnail: {
1329
+ appearances: {
1330
+ focus: {
1331
+ 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.",
1332
+ platforms: [ 'rn' ],
1333
+ type: 'state',
1334
+ values: [ true, false ]
1335
+ },
1336
+ hover: {
1337
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1338
+ platforms: [ 'rn' ],
1339
+ type: 'state',
1340
+ values: [ true, false ]
1341
+ },
1342
+ pressed: {
1343
+ 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.',
1344
+ type: 'state',
1345
+ values: [ true, false ]
1346
+ },
1347
+ viewport: {
1348
+ description: 'The size label for the current screen viewport based on the current screen width',
1349
+ type: 'state',
1350
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1351
+ }
1352
+ },
1353
+ rules: [
1354
+ {
1355
+ if: { viewport: [ 'xs', 'sm' ] },
1356
+ tokens: { alignItems: 'flex-start', size: 48 }
1357
+ },
1358
+ { if: { hover: true }, tokens: { borderColor: '#2b8000' } },
1359
+ {
1360
+ if: { focus: true },
1361
+ tokens: { borderColor: '#2b8000', borderWidth: 2 }
1362
+ },
1363
+ {
1364
+ if: { pressed: true },
1365
+ tokens: { borderColor: '#1f5c09', borderWidth: 2 }
1366
+ }
1367
+ ],
1368
+ tokens: {
1369
+ alignItems: 'center',
1370
+ borderColor: '#e3e6e8',
1371
+ borderRadius: 4,
1372
+ borderWidth: 1,
1373
+ containerPaddingTop: 24,
1374
+ margin: 4,
1375
+ padding: 8,
1376
+ selectedBorderColor: '#676e73',
1377
+ selectedBorderWidth: 2,
1378
+ size: 72
1379
+ }
1380
+ },
1336
1381
  Checkbox: {
1337
1382
  appearances: {
1338
1383
  checked: {
@@ -1485,6 +1530,18 @@ module.exports = {
1485
1530
  {
1486
1531
  if: { focus: true },
1487
1532
  tokens: { outerBorderColor: '#2b8000' }
1533
+ },
1534
+ {
1535
+ if: { focus: true, pressed: true },
1536
+ tokens: { outerBorderColor: '#163e06' }
1537
+ },
1538
+ {
1539
+ if: { focus: true, inverse: true },
1540
+ tokens: { outerBorderColor: '#ffffff' }
1541
+ },
1542
+ {
1543
+ if: { alternative: true, focus: true },
1544
+ tokens: { color: '#414547', outerBorderColor: '#414547' }
1488
1545
  }
1489
1546
  ],
1490
1547
  tokens: {
@@ -1594,8 +1651,8 @@ module.exports = {
1594
1651
  rules: [],
1595
1652
  tokens: {
1596
1653
  calendarBackgroundColor: '#ffffff',
1597
- calendarDayBlockedCalendarHoverBackground: '#fafafa',
1598
- calendarDayBlockedCalendarHoverColor: '#676e73',
1654
+ calendarDayBlockedCalendarHoverBackground: '#f4f4f7',
1655
+ calendarDayBlockedCalendarHoverColor: '#b2b9bf',
1599
1656
  calendarDayDefaultBackgroundColor: '#ffffff',
1600
1657
  calendarDayDefaultBorder: 1,
1601
1658
  calendarDayDefaultBorderColor: '#b2b9bf',
@@ -1679,7 +1736,7 @@ module.exports = {
1679
1736
  expanded: {
1680
1737
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1681
1738
  type: 'state',
1682
- values: [ true ]
1739
+ values: [ true, false ]
1683
1740
  },
1684
1741
  mini: { type: 'variant', values: [ true ] }
1685
1742
  },
@@ -1733,7 +1790,7 @@ module.exports = {
1733
1790
  expanded: {
1734
1791
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1735
1792
  type: 'state',
1736
- values: [ true ]
1793
+ values: [ true, false ]
1737
1794
  },
1738
1795
  inverse: {
1739
1796
  description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
@@ -1813,6 +1870,18 @@ module.exports = {
1813
1870
  contentPaddingLeft: 24,
1814
1871
  contentPaddingRight: 0,
1815
1872
  contentPaddingTop: 0,
1873
+ contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)',
1874
+ contentPanelBorderColor: 'rgba(0, 0, 0, 0)',
1875
+ contentPanelBorderWidth: 0,
1876
+ contentPanelFontColor: '#2c2e30',
1877
+ contentPanelFontName: 'HelveticaNow',
1878
+ contentPanelFontSize: 16,
1879
+ contentPanelFontWeight: '700',
1880
+ contentPanelLineHeight: 1.5,
1881
+ contentPanelPaddingBottom: 16,
1882
+ contentPanelPaddingLeft: 24,
1883
+ contentPanelPaddingRight: 0,
1884
+ contentPanelPaddingTop: 16,
1816
1885
  expandDividerColor: 'rgba(0, 0, 0, 0)',
1817
1886
  expandDividerWidth: 0,
1818
1887
  expandDuration: 300,
@@ -2316,8 +2385,16 @@ module.exports = {
2316
2385
  ],
2317
2386
  tokens: {
2318
2387
  backgroundColor: 'transparent',
2388
+ borderBottomLeftRadius: null,
2389
+ borderBottomRightRadius: null,
2390
+ borderBottomWidth: null,
2319
2391
  borderColor: '#676e73',
2392
+ borderLeftWidth: null,
2320
2393
  borderRadius: 99999999999999,
2394
+ borderRightWidth: null,
2395
+ borderTopLeftRadius: null,
2396
+ borderTopRightRadius: null,
2397
+ borderTopWidth: null,
2321
2398
  borderWidth: 1,
2322
2399
  icon: null,
2323
2400
  iconColor: '#676e73',
@@ -2327,7 +2404,7 @@ module.exports = {
2327
2404
  iconTranslateY: 0,
2328
2405
  outerBorderColor: 'transparent',
2329
2406
  outerBorderGap: 0,
2330
- outerBorderWidth: 0,
2407
+ outerBorderWidth: null,
2331
2408
  padding: 4,
2332
2409
  shadow: null
2333
2410
  }
@@ -2570,7 +2647,7 @@ module.exports = {
2570
2647
  expanded: {
2571
2648
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2572
2649
  type: 'state',
2573
- values: [ true ]
2650
+ values: [ true, false ]
2574
2651
  },
2575
2652
  focus: {
2576
2653
  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.",
@@ -2937,7 +3014,7 @@ module.exports = {
2937
3014
  expanded: {
2938
3015
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2939
3016
  type: 'state',
2940
- values: [ true ]
3017
+ values: [ true, false ]
2941
3018
  },
2942
3019
  focus: {
2943
3020
  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.",
@@ -2981,10 +3058,12 @@ module.exports = {
2981
3058
  {
2982
3059
  if: { focus: true },
2983
3060
  tokens: {
2984
- backgroundColor: '#ffffff',
3061
+ backgroundColor: '#f4f4f7',
2985
3062
  borderColor: '#4b286d',
2986
- borderWidth: 3,
2987
- color: '#4b286d'
3063
+ borderWidth: 2,
3064
+ color: '#4b286d',
3065
+ outerBorderColor: '#4b286d',
3066
+ outerBorderWidth: 2
2988
3067
  }
2989
3068
  },
2990
3069
  {
@@ -3014,7 +3093,7 @@ module.exports = {
3014
3093
  },
3015
3094
  {
3016
3095
  if: { viewport: [ 'xs', 'sm', 'md' ] },
3017
- tokens: { textAlign: 'flex-start', width: 288 }
3096
+ tokens: { textAlign: 'space-between', width: 288 }
3018
3097
  },
3019
3098
  {
3020
3099
  if: { expanded: true },
@@ -3620,21 +3699,21 @@ module.exports = {
3620
3699
  pressed: { type: 'variant', values: [ true ] }
3621
3700
  },
3622
3701
  rules: [
3623
- { if: { alternative: true }, tokens: { padding: 0 } },
3702
+ {
3703
+ if: { alternative: true },
3704
+ tokens: { paddingBottom: 8, paddingTop: 8 }
3705
+ },
3624
3706
  {
3625
3707
  if: { hover: true },
3626
- tokens: {
3627
- backgroundColor: '#f4f4f7',
3628
- inputBackgroundColor: '#f4f4f7'
3629
- }
3708
+ tokens: { inputBackgroundColor: '#f4f4f7' }
3630
3709
  },
3631
3710
  {
3632
3711
  if: { disabled: true },
3633
- tokens: { backgroundColor: '#fafafa', iconColor: '#e3e6e8' }
3712
+ tokens: { inputBackgroundColor: '#fafafa', textColor: '#b2b9bf' }
3634
3713
  },
3635
3714
  {
3636
3715
  if: { pressed: true },
3637
- tokens: { backgroundColor: '#b2b9bf' }
3716
+ tokens: { inputBackgroundColor: '#b2b9bf' }
3638
3717
  },
3639
3718
  {
3640
3719
  if: { focus: true },
@@ -3642,17 +3721,110 @@ module.exports = {
3642
3721
  }
3643
3722
  ],
3644
3723
  tokens: {
3645
- backgroundColor: null,
3646
- borderColor: '#676e73',
3647
- iconColor: '#676e73',
3648
- iconSize: 16,
3724
+ fontSize: 16,
3649
3725
  inputBackgroundColor: '#ffffff',
3650
3726
  inputBorderColor: '#676e73',
3651
3727
  inputBorderWidth: 1,
3652
- leftIcon: PaletteIconSubtract,
3728
+ inputWidth: 64,
3729
+ lineHeight: 1.5,
3730
+ padding: 12,
3731
+ paddingBottom: 12,
3732
+ paddingLeft: 12,
3733
+ paddingRight: 12,
3734
+ paddingTop: 12,
3735
+ textColor: '#414547'
3736
+ }
3737
+ },
3738
+ QuantitySelectorSideButton: {
3739
+ appearances: {
3740
+ alternative: { type: 'variant', values: [ true, false ] },
3741
+ decrease: { type: 'variant', values: [ true ] },
3742
+ disabled: { type: 'variant', values: [ true ] },
3743
+ focus: { type: 'variant', values: [ true ] },
3744
+ hover: { type: 'variant', values: [ true ] },
3745
+ increase: { type: 'variant', values: [ true ] },
3746
+ pressed: { type: 'variant', values: [ true ] }
3747
+ },
3748
+ rules: [
3749
+ { if: { hover: true }, tokens: { backgroundColor: '#f4f4f7' } },
3750
+ {
3751
+ if: { pressed: true },
3752
+ tokens: { backgroundColor: '#b2b9bf', iconColor: '#676e73' }
3753
+ },
3754
+ {
3755
+ if: { decrease: true },
3756
+ tokens: {
3757
+ borderBottomLeftRadius: 4,
3758
+ borderRightWidth: 0,
3759
+ borderTopLeftRadius: 4,
3760
+ icon: PaletteIconSubtract
3761
+ }
3762
+ },
3763
+ {
3764
+ if: { increase: true },
3765
+ tokens: {
3766
+ borderBottomRightRadius: 4,
3767
+ borderLeftWidth: 0,
3768
+ borderTopRightRadius: 4,
3769
+ icon: PaletteIconAdd
3770
+ }
3771
+ },
3772
+ {
3773
+ if: { focus: true, increase: true },
3774
+ tokens: {
3775
+ borderBottomWidth: 3,
3776
+ borderLeftWidth: 2,
3777
+ borderRightWidth: 3,
3778
+ borderTopWidth: 3
3779
+ }
3780
+ },
3781
+ {
3782
+ if: { decrease: true, focus: true },
3783
+ tokens: {
3784
+ borderBottomWidth: 3,
3785
+ borderLeftWidth: 3,
3786
+ borderRightWidth: 2,
3787
+ borderTopWidth: 3
3788
+ }
3789
+ },
3790
+ {
3791
+ if: { disabled: true },
3792
+ tokens: { backgroundColor: '#fafafa', iconColor: '#e3e6e8' }
3793
+ },
3794
+ {
3795
+ if: { alternative: true },
3796
+ tokens: { paddingBottom: 12, paddingTop: 12 }
3797
+ },
3798
+ {
3799
+ if: { alternative: true, increase: true },
3800
+ tokens: { borderBottomRightRadius: 24, borderTopRightRadius: 24 }
3801
+ },
3802
+ {
3803
+ if: { alternative: true, decrease: true },
3804
+ tokens: { borderBottomLeftRadius: 24, borderTopLeftRadius: 24 }
3805
+ }
3806
+ ],
3807
+ tokens: {
3808
+ backgroundColor: '#ffffff',
3809
+ borderBottomLeftRadius: 0,
3810
+ borderBottomRightRadius: 0,
3811
+ borderBottomWidth: 1,
3812
+ borderColor: '#676e73',
3813
+ borderLeftWidth: 1,
3814
+ borderRadius: 0,
3815
+ borderRightWidth: 1,
3816
+ borderTopLeftRadius: 0,
3817
+ borderTopRightRadius: 0,
3818
+ borderTopWidth: 1,
3819
+ borderWidth: 1,
3820
+ icon: null,
3821
+ iconColor: '#414547',
3822
+ iconSize: 16,
3653
3823
  padding: 16,
3654
- rightIcon: PaletteIconAdd,
3655
- textColor: '#b2b9bf'
3824
+ paddingBottom: 16,
3825
+ paddingLeft: 16,
3826
+ paddingRight: 16,
3827
+ paddingTop: 16
3656
3828
  }
3657
3829
  },
3658
3830
  QuickLinks: {
@@ -4478,7 +4650,7 @@ module.exports = {
4478
4650
  expanded: {
4479
4651
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4480
4652
  type: 'state',
4481
- values: [ true ]
4653
+ values: [ true, false ]
4482
4654
  },
4483
4655
  focus: {
4484
4656
  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.",
@@ -4587,7 +4759,7 @@ module.exports = {
4587
4759
  expanded: {
4588
4760
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4589
4761
  type: 'state',
4590
- values: [ true ]
4762
+ values: [ true, false ]
4591
4763
  }
4592
4764
  },
4593
4765
  rules: [
@@ -4628,18 +4800,40 @@ module.exports = {
4628
4800
  }
4629
4801
  },
4630
4802
  SkipLink: {
4631
- appearances: {},
4632
- rules: [],
4803
+ appearances: {
4804
+ focus: {
4805
+ 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.",
4806
+ platforms: [ 'rn' ],
4807
+ type: 'state',
4808
+ values: [ true, false ]
4809
+ },
4810
+ pressed: {
4811
+ 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.',
4812
+ type: 'state',
4813
+ values: [ true, false ]
4814
+ }
4815
+ },
4816
+ rules: [
4817
+ {
4818
+ if: { focus: true, pressed: true },
4819
+ tokens: { color: '#163e06', outlineColor: '#163e06' }
4820
+ }
4821
+ ],
4633
4822
  tokens: {
4634
- backgroundColor: '#7c53a5',
4635
- borderRadius: 32,
4636
- color: '#ffffff',
4637
- outlineColor: '#7c53a5',
4638
- outlineOffset: 2,
4823
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4824
+ borderRadius: 4,
4825
+ color: '#2b8000',
4826
+ fontName: 'HelveticaNow',
4827
+ fontSize: 16,
4828
+ fontWeight: '400',
4829
+ lineHeight: 1.5,
4830
+ outlineColor: '#2b8000',
4831
+ outlineOffset: 0,
4639
4832
  outlineStyle: 'solid',
4640
- outlineWidth: 1,
4641
- paddingHorizontal: 8,
4642
- paddingVertical: 8
4833
+ outlineWidth: 2,
4834
+ paddingHorizontal: 2,
4835
+ paddingVertical: 2,
4836
+ textLine: 'underline'
4643
4837
  }
4644
4838
  },
4645
4839
  Spinner: {
@@ -4863,24 +5057,121 @@ module.exports = {
4863
5057
  }
4864
5058
  },
4865
5059
  Table: {
4866
- appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
5060
+ appearances: {
5061
+ spacing: {
5062
+ description: 'Adjusts the height of the table cell',
5063
+ type: 'variant',
5064
+ values: [ 'compact', 'default' ]
5065
+ },
5066
+ text: { type: 'variant', values: [ 'small', 'medium' ] },
5067
+ type: {
5068
+ type: 'variant',
5069
+ values: [ 'subHeading', 'rowHeading', 'heading', 'default' ]
5070
+ }
5071
+ },
4867
5072
  rules: [
4868
5073
  {
4869
- if: { spacing: 'compact' },
4870
- tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
5074
+ if: { spacing: 'compact', type: 'default' },
5075
+ tokens: {
5076
+ cellPaddingBottom: 8,
5077
+ cellPaddingTop: 8,
5078
+ fontSize: 16,
5079
+ lineHeight: 1.25
5080
+ }
5081
+ },
5082
+ {
5083
+ if: { spacing: 'compact', type: 'rowHeading' },
5084
+ tokens: {
5085
+ cellPaddingBottom: 8,
5086
+ cellPaddingTop: 8,
5087
+ fontName: 'HelveticaNow',
5088
+ fontSize: 16,
5089
+ fontWeight: '700',
5090
+ lineHeight: 1.25
5091
+ }
5092
+ },
5093
+ {
5094
+ if: { spacing: 'compact', text: 'small', type: 'subHeading' },
5095
+ tokens: {
5096
+ cellBackground: '#fafafa',
5097
+ cellPaddingBottom: 8,
5098
+ cellPaddingTop: 8,
5099
+ fontName: 'HelveticaNow',
5100
+ fontSize: 14,
5101
+ fontWeight: '500',
5102
+ lineHeight: 1.14285714286
5103
+ }
5104
+ },
5105
+ {
5106
+ if: { type: 'heading' },
5107
+ tokens: {
5108
+ cellBackground: '#f4f4f7',
5109
+ cellBoxShadowColor: '#b2b9bf',
5110
+ fontName: 'HelveticaNow',
5111
+ fontSize: 16,
5112
+ fontWeight: '500'
5113
+ }
5114
+ },
5115
+ {
5116
+ if: { spacing: 'default', type: 'subHeading' },
5117
+ tokens: {
5118
+ cellBackground: '#fafafa',
5119
+ fontName: 'HelveticaNow',
5120
+ fontSize: 14,
5121
+ fontWeight: '500',
5122
+ lineHeight: 1.28571428571
5123
+ }
5124
+ },
5125
+ {
5126
+ if: { spacing: 'compact', text: 'medium', type: 'subHeading' },
5127
+ tokens: {
5128
+ cellBackground: '#fafafa',
5129
+ fontName: 'HelveticaNow',
5130
+ fontSize: 16,
5131
+ fontWeight: '500',
5132
+ lineHeight: 1.25
5133
+ }
5134
+ },
5135
+ {
5136
+ if: { spacing: 'default', type: 'rowHeading' },
5137
+ tokens: { fontName: 'HelveticaNow', fontSize: 16, fontWeight: '700' }
5138
+ },
5139
+ {
5140
+ if: { spacing: 'default', text: 'small', type: 'default' },
5141
+ tokens: {
5142
+ fontName: 'HelveticaNow',
5143
+ fontSize: 14,
5144
+ fontWeight: '400',
5145
+ lineHeight: 1.42857142857
5146
+ }
5147
+ },
5148
+ {
5149
+ if: { spacing: 'compact', text: 'small', type: 'default' },
5150
+ tokens: {
5151
+ fontName: 'HelveticaNow',
5152
+ fontSize: 14,
5153
+ fontWeight: '400',
5154
+ lineHeight: 1.14285714286
5155
+ }
5156
+ },
5157
+ {
5158
+ if: { text: 'small', type: 'rowHeading' },
5159
+ tokens: {
5160
+ fontName: 'HelveticaNow',
5161
+ fontSize: 14,
5162
+ fontWeight: '700',
5163
+ lineHeight: 1.14285714286
5164
+ }
4871
5165
  }
4872
5166
  ],
4873
5167
  tokens: {
4874
- cellBackground: '#ffffff',
5168
+ cellBackground: 'rgba(0, 0, 0, 0)',
4875
5169
  cellBoxShadowColor: '#e3e6e8',
4876
- cellHeadingBackground: '#f4f4f7',
4877
- cellHeadingBoxShadowColor: '#b2b9bf',
4878
5170
  cellMinWidth: 0,
4879
5171
  cellPaddingBottom: 16,
4880
5172
  cellPaddingLeft: 16,
4881
5173
  cellPaddingRight: 16,
4882
5174
  cellPaddingTop: 16,
4883
- cellRowHeadingBackground: '#ffffff',
4884
5175
  cellStickyShadow: {
4885
5176
  blur: 8,
4886
5177
  color: 'rgba(0, 0, 0, 0.1)',
@@ -4889,10 +5180,11 @@ module.exports = {
4889
5180
  offsetY: 4,
4890
5181
  spread: 0
4891
5182
  },
4892
- cellSubheadingBackground: '#fafafa',
4893
5183
  fontName: 'HelveticaNow',
4894
5184
  fontSize: 16,
4895
5185
  fontWeight: '400',
5186
+ lineHeight: 1.5,
5187
+ stickyBackgroundColor: '#ffffff',
4896
5188
  tablePaddingBottom: 24
4897
5189
  }
4898
5190
  },
@@ -5181,36 +5473,58 @@ module.exports = {
5181
5473
  expanded: {
5182
5474
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
5183
5475
  type: 'state',
5184
- values: [ true ]
5476
+ values: [ true, false ]
5477
+ },
5478
+ viewport: {
5479
+ description: 'The size label for the current screen viewport based on the current screen width',
5480
+ type: 'state',
5481
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
5185
5482
  }
5186
5483
  },
5187
5484
  rules: [
5485
+ {
5486
+ if: { viewport: [ 'xs', 'sm' ] },
5487
+ tokens: {
5488
+ expandContentPaddingRight: 24,
5489
+ listMarginLeft: 6,
5490
+ titlePaddingLeft: 6
5491
+ }
5492
+ },
5188
5493
  {
5189
5494
  if: { expanded: true },
5190
5495
  tokens: { icon: PaletteIconCaretUp }
5191
5496
  }
5192
5497
  ],
5193
5498
  tokens: {
5499
+ contentBorderColor: 'transparent',
5500
+ contentMarginBottom: 0,
5194
5501
  contentPaddingBottom: 8,
5195
5502
  contentPaddingLeft: 16,
5503
+ dividerColor: '#b2b9bf',
5196
5504
  expandBaseBorderWidth: 0,
5197
5505
  expandContentPaddingBottom: 16,
5198
5506
  expandContentPaddingLeft: 16,
5199
5507
  expandContentPaddingRight: 16,
5200
5508
  expandContentPaddingTop: 16,
5201
5509
  expandIconContainerAlignItems: 'center',
5202
- expandIconContainerBorder: 1,
5203
- expandIconContainerBorderColor: '#676e73',
5510
+ expandIconContainerBorder: 0,
5511
+ expandIconContainerBorderColor: 'rgba(0, 0, 0, 0)',
5204
5512
  expandIconContainerHeight: 32,
5205
5513
  expandIconContainerJustifyContent: 'center',
5206
5514
  expandIconContainerMarginX: 0,
5207
5515
  expandIconContainerMarginY: 12,
5208
5516
  expandIconContainerWidth: 32,
5517
+ expandTitleBorder: 0,
5518
+ expandTitleBorderColor: 'rgba(0, 0, 0, 0)',
5209
5519
  expandTitleColor: '#2c2e30',
5520
+ expandTitleFontName: 'HelveticaNow',
5210
5521
  expandTitleFontSize: 16,
5522
+ expandTitleFontWeight: '500',
5211
5523
  expandTitleLineHeight: 1.5,
5212
5524
  expandTitleMarginX: 4,
5213
5525
  expandTitleMarginY: 0,
5526
+ expandTitlePaddingLeft: 0,
5527
+ expandTitleUnderline: 'none',
5214
5528
  icon: PaletteIconCaretDown,
5215
5529
  listColor: '#414547',
5216
5530
  listFontName: 'HelveticaNow',
@@ -5225,22 +5539,55 @@ module.exports = {
5225
5539
  titleColor: '#414547',
5226
5540
  titleFontSize: 14,
5227
5541
  titleLineHeight: 1.42857142857,
5228
- titlePaddingLeft: 8,
5229
- unorderedPadding: 0
5542
+ titlePaddingLeft: 32,
5543
+ unorderedPadding: 12
5230
5544
  }
5231
5545
  },
5232
5546
  Testimonial: {
5233
- appearances: {},
5234
- rules: [],
5547
+ appearances: {
5548
+ viewport: {
5549
+ description: 'The size label for the current screen viewport based on the current screen width',
5550
+ type: 'state',
5551
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
5552
+ }
5553
+ },
5554
+ rules: [
5555
+ {
5556
+ if: { viewport: [ 'md', 'lg', 'xl' ] },
5557
+ tokens: {
5558
+ testimonialFontNameHeading: 'HelveticaNow',
5559
+ testimonialFontSizeHeading: 28,
5560
+ testimonialFontWeightHeading: '400',
5561
+ testimonialLineHeightHeading: 1.28571428571
5562
+ }
5563
+ }
5564
+ ],
5235
5565
  tokens: {
5566
+ additionalFontName: 'HelveticaNow',
5567
+ additionalFontSize: 14,
5568
+ additionalFontWeight: '400',
5569
+ additionalLineHeight: 1.42857142857,
5570
+ authorFontName: 'HelveticaNow',
5571
+ authorFontSize: 16,
5572
+ authorFontWeight: '700',
5573
+ authorLineHeight: 1.5,
5236
5574
  dividerBackgroundColor: '#b2b9bf',
5237
5575
  dividerBorder: 1,
5238
5576
  figcaptionGap: 12,
5239
5577
  icon: PaletteIconQuoteLeft,
5240
5578
  iconColor: '#b2b9bf',
5579
+ iconFr: PaletteIconQuoteLeftArrow,
5241
5580
  imageSize: 48,
5242
5581
  quoteContainerGap: 4,
5243
5582
  testimonialContainerGap: 12,
5583
+ testimonialFontNameHeading: 'HelveticaNow',
5584
+ testimonialFontNameLarge: 'HelveticaNow',
5585
+ testimonialFontSizeHeading: 24,
5586
+ testimonialFontSizeLarge: 20,
5587
+ testimonialFontWeightHeading: '400',
5588
+ testimonialFontWeightLarge: '400',
5589
+ testimonialLineHeightHeading: 1.33333333333,
5590
+ testimonialLineHeightLarge: 1.6,
5244
5591
  textColor: '#414547'
5245
5592
  }
5246
5593
  },
@@ -5660,6 +6007,7 @@ module.exports = {
5660
6007
  }
5661
6008
  ],
5662
6009
  tokens: {
6010
+ backgroundColor: 'rgba(0, 0, 0, 0)',
5663
6011
  borderRadius: 32,
5664
6012
  icon: PaletteIconQuestion,
5665
6013
  iconColor: '#2c2e30',
@@ -5755,12 +6103,13 @@ module.exports = {
5755
6103
  fontSize: 40,
5756
6104
  fontWeight: '300',
5757
6105
  letterSpacing: -0.035,
5758
- lineHeight: 1.2
6106
+ lineHeight: 1.2,
6107
+ superScriptFontSize: 24
5759
6108
  }
5760
6109
  },
5761
6110
  {
5762
6111
  if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
5763
- tokens: { fontSize: 64, lineHeight: 1.125 }
6112
+ tokens: { fontSize: 64, lineHeight: 1.125, superScriptFontSize: 32 }
5764
6113
  },
5765
6114
  {
5766
6115
  if: { size: 'display2' },
@@ -5769,7 +6118,8 @@ module.exports = {
5769
6118
  fontSize: 36,
5770
6119
  fontWeight: '400',
5771
6120
  letterSpacing: -0.035,
5772
- lineHeight: 1.22222222222
6121
+ lineHeight: 1.22222222222,
6122
+ superScriptFontSize: 24
5773
6123
  }
5774
6124
  },
5775
6125
  {
@@ -5779,7 +6129,8 @@ module.exports = {
5779
6129
  fontSize: 56,
5780
6130
  fontWeight: '300',
5781
6131
  letterSpacing: -0.039,
5782
- lineHeight: 1.14285714286
6132
+ lineHeight: 1.14285714286,
6133
+ superScriptFontSize: 32
5783
6134
  }
5784
6135
  },
5785
6136
  {
@@ -5787,7 +6138,8 @@ module.exports = {
5787
6138
  tokens: {
5788
6139
  fontSize: 28,
5789
6140
  letterSpacing: -0.017,
5790
- lineHeight: 1.28571428571
6141
+ lineHeight: 1.28571428571,
6142
+ superScriptFontSize: 20
5791
6143
  }
5792
6144
  },
5793
6145
  {
@@ -5797,7 +6149,8 @@ module.exports = {
5797
6149
  fontSize: 40,
5798
6150
  fontWeight: '300',
5799
6151
  letterSpacing: -0.035,
5800
- lineHeight: 1.2
6152
+ lineHeight: 1.2,
6153
+ superScriptFontSize: 24
5801
6154
  }
5802
6155
  },
5803
6156
  {
@@ -5806,7 +6159,8 @@ module.exports = {
5806
6159
  fontName: 'HelveticaNow',
5807
6160
  fontSize: 24,
5808
6161
  fontWeight: '400',
5809
- lineHeight: 1.33333333333
6162
+ lineHeight: 1.33333333333,
6163
+ superScriptFontSize: 16
5810
6164
  }
5811
6165
  },
5812
6166
  {
@@ -5814,7 +6168,8 @@ module.exports = {
5814
6168
  tokens: {
5815
6169
  fontSize: 28,
5816
6170
  letterSpacing: -0.017,
5817
- lineHeight: 1.28571428571
6171
+ lineHeight: 1.28571428571,
6172
+ superScriptFontSize: 20
5818
6173
  }
5819
6174
  },
5820
6175
  {
@@ -5823,7 +6178,8 @@ module.exports = {
5823
6178
  fontName: 'HelveticaNow',
5824
6179
  fontSize: 20,
5825
6180
  fontWeight: '500',
5826
- lineHeight: 1.4
6181
+ lineHeight: 1.4,
6182
+ superScriptFontSize: 16
5827
6183
  }
5828
6184
  },
5829
6185
  {
@@ -5836,7 +6192,8 @@ module.exports = {
5836
6192
  fontName: 'HelveticaNow',
5837
6193
  fontSize: 16,
5838
6194
  fontWeight: '500',
5839
- lineHeight: 1.5
6195
+ lineHeight: 1.5,
6196
+ superScriptFontSize: 16
5840
6197
  }
5841
6198
  },
5842
6199
  {
@@ -5848,6 +6205,10 @@ module.exports = {
5848
6205
  lineHeight: 1.28571428571
5849
6206
  }
5850
6207
  },
6208
+ {
6209
+ if: { size: [ 'h5', 'h6' ] },
6210
+ tokens: { superScriptFontSize: 12 }
6211
+ },
5851
6212
  {
5852
6213
  if: { size: 'h6' },
5853
6214
  tokens: {
@@ -5859,7 +6220,7 @@ module.exports = {
5859
6220
  },
5860
6221
  {
5861
6222
  if: { size: 'large' },
5862
- tokens: { fontSize: 20, lineHeight: 1.6 }
6223
+ tokens: { fontSize: 20, lineHeight: 1.6, superScriptFontSize: 16 }
5863
6224
  },
5864
6225
  {
5865
6226
  if: { compact: true, size: 'large' },
@@ -5872,7 +6233,11 @@ module.exports = {
5872
6233
  },
5873
6234
  {
5874
6235
  if: { size: 'small' },
5875
- tokens: { fontSize: 14, lineHeight: 1.42857142857 }
6236
+ tokens: {
6237
+ fontSize: 14,
6238
+ lineHeight: 1.42857142857,
6239
+ superScriptFontSize: 12
6240
+ }
5876
6241
  },
5877
6242
  {
5878
6243
  if: { compact: true, size: 'small' },
@@ -5884,7 +6249,8 @@ module.exports = {
5884
6249
  fontName: 'HelveticaNow',
5885
6250
  fontSize: 12,
5886
6251
  fontWeight: '500',
5887
- lineHeight: 1.33333333333
6252
+ lineHeight: 1.33333333333,
6253
+ superScriptFontSize: 12
5888
6254
  }
5889
6255
  },
5890
6256
  {
@@ -5991,6 +6357,7 @@ module.exports = {
5991
6357
  fontWeight: '400',
5992
6358
  letterSpacing: 0,
5993
6359
  lineHeight: 1.5,
6360
+ superScriptFontSize: 16,
5994
6361
  textTransform: 'none'
5995
6362
  }
5996
6363
  },
@@ -6087,12 +6454,60 @@ module.exports = {
6087
6454
  }
6088
6455
  },
6089
6456
  VideoPickerThumbnail: {
6090
- appearances: {},
6091
- rules: [],
6457
+ appearances: {
6458
+ focus: {
6459
+ 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.",
6460
+ platforms: [ 'rn' ],
6461
+ type: 'state',
6462
+ values: [ true, false ]
6463
+ },
6464
+ hover: {
6465
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
6466
+ platforms: [ 'rn' ],
6467
+ type: 'state',
6468
+ values: [ true, false ]
6469
+ },
6470
+ pressed: {
6471
+ 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.',
6472
+ type: 'state',
6473
+ values: [ true, false ]
6474
+ },
6475
+ selected: {
6476
+ 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`.',
6477
+ type: 'state',
6478
+ values: [ true ]
6479
+ }
6480
+ },
6481
+ rules: [
6482
+ {
6483
+ if: { focus: true },
6484
+ tokens: { borderColor: '#b2b9bf', outerBorderColor: '#b2b9bf' }
6485
+ },
6486
+ {
6487
+ if: { hover: true },
6488
+ tokens: { borderColor: '#e3e6e8', borderWidth: 3 }
6489
+ },
6490
+ {
6491
+ if: { pressed: true },
6492
+ tokens: { borderColor: '#676e73', borderWidth: 3 }
6493
+ },
6494
+ {
6495
+ if: { selected: true },
6496
+ tokens: {
6497
+ borderColor: '#4b286d',
6498
+ borderWidth: 2,
6499
+ titleColor: '#4b286d'
6500
+ }
6501
+ }
6502
+ ],
6092
6503
  tokens: {
6093
- borderColor: '#4b286d',
6504
+ borderColor: '#e3e6e8',
6094
6505
  borderRadius: 4,
6095
6506
  borderWidth: 2,
6507
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
6508
+ outerBorderGap: 2,
6509
+ outerBorderRadius: 8,
6510
+ outerBorderWidth: 2,
6096
6511
  pressableBorderTopColor: '#e3e6e8',
6097
6512
  pressableBorderTopWidth: 1,
6098
6513
  pressablePaddingBottom: 16,
@@ -6100,7 +6515,7 @@ module.exports = {
6100
6515
  pressablePaddingVertical: 16,
6101
6516
  splashButtonRadius: 4,
6102
6517
  subTitleColor: '#676e73',
6103
- titleColor: '#4b286d'
6518
+ titleColor: '#414547'
6104
6519
  }
6105
6520
  },
6106
6521
  VideoProgressBar: {
@@ -6202,5 +6617,5 @@ module.exports = {
6202
6617
  tokens: { size: 96 }
6203
6618
  }
6204
6619
  },
6205
- metadata: { name: 'theme-allium', themeTokensVersion: '2.36.0' }
6620
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.38.0' }
6206
6621
  }