@telus-uds/theme-allium 3.23.0 → 3.25.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 Thu, 20 Apr 2023 19:05:19 GMT
4
+ * Generated on Thu, 27 Apr 2023 14:31:20 GMT
5
5
  *
6
6
  */
7
7
 
@@ -13,14 +13,28 @@ const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/A
13
13
  const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
14
14
  const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
15
15
  const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
16
+ const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
17
+ const PaletteIconSubtract = require('@telus-uds/palette-allium/build/rn/icons/Subtract')
16
18
  const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
19
+ const PaletteIconExpand = require('@telus-uds/palette-allium/build/rn/icons/Expand')
20
+ const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
21
+ const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
17
22
  const PaletteIconStatusWarning = require('@telus-uds/palette-allium/build/rn/icons/StatusWarning')
18
23
  const PaletteIconTimes = require('@telus-uds/palette-allium/build/rn/icons/Times')
19
24
  const PaletteIconSearchBold = require('@telus-uds/palette-allium/build/rn/icons/SearchBold')
20
- const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
25
+ const PaletteIconPlaySolid = require('@telus-uds/palette-allium/build/rn/icons/PlaySolid')
26
+ const PaletteIconQuoteLeft = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeft')
21
27
  const PaletteIconInvisible = require('@telus-uds/palette-allium/build/rn/icons/Invisible')
22
28
  const PaletteIconVisible = require('@telus-uds/palette-allium/build/rn/icons/Visible')
23
29
  const PaletteIconQuestion = require('@telus-uds/palette-allium/build/rn/icons/Question')
30
+ const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
31
+ const PaletteIconReplay = require('@telus-uds/palette-allium/build/rn/icons/Replay')
32
+ const PaletteIconClosedCaptions = require('@telus-uds/palette-allium/build/rn/icons/ClosedCaptions')
33
+ const PaletteIconFullscreenExpand = require('@telus-uds/palette-allium/build/rn/icons/FullscreenExpand')
34
+ const PaletteIconFullscreenMinimize = require('@telus-uds/palette-allium/build/rn/icons/FullscreenMinimize')
35
+ const PaletteIconSettingsSolid = require('@telus-uds/palette-allium/build/rn/icons/SettingsSolid')
36
+ const PaletteIconMuted = require('@telus-uds/palette-allium/build/rn/icons/Muted')
37
+ const PaletteIconUnmuted = require('@telus-uds/palette-allium/build/rn/icons/Unmuted')
24
38
 
25
39
  module.exports = {
26
40
  components: {
@@ -121,6 +135,27 @@ module.exports = {
121
135
  paddingTop: 2
122
136
  }
123
137
  },
138
+ BlockQuote: {
139
+ appearances: {},
140
+ rules: [],
141
+ tokens: {
142
+ backgroundGradient: {
143
+ angle: 135,
144
+ stops: [
145
+ { color: '#4b286d', stop: 0 },
146
+ { color: '#e53293', stop: 1 }
147
+ ],
148
+ type: 'linear'
149
+ },
150
+ color: '#414547',
151
+ marginBottom: 16,
152
+ paddingBottom: 16,
153
+ paddingLeft: 32,
154
+ paddingRight: 32,
155
+ paddingTop: 16,
156
+ width: 2
157
+ }
158
+ },
124
159
  Box: {
125
160
  appearances: {
126
161
  background: {
@@ -363,10 +398,15 @@ module.exports = {
363
398
  type: 'variant',
364
399
  values: [ true ]
365
400
  },
401
+ viewport: {
402
+ description: 'The size label for the current screen viewport based on the current screen width',
403
+ type: 'state',
404
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
405
+ },
366
406
  width: {
367
- description: 'Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.',
407
+ description: 'Available in default, full-width or responsive. Default-width expands based on content. Full-width expands to width of the container. Responsive automatically applies full-width when is displayed on the XS viewport.',
368
408
  type: 'variant',
369
- values: [ 'full' ]
409
+ values: [ 'full', 'responsive' ]
370
410
  }
371
411
  },
372
412
  rules: [
@@ -447,6 +487,10 @@ module.exports = {
447
487
  tokens: { outerBorderColor: '#c12335' }
448
488
  },
449
489
  { if: { width: 'full' }, tokens: { width: '100%' } },
490
+ {
491
+ if: { viewport: [ 'xs' ], width: 'responsive' },
492
+ tokens: { width: '100%' }
493
+ },
450
494
  {
451
495
  if: { size: 'small' },
452
496
  tokens: { minWidth: 0, paddingBottom: 4, paddingTop: 4 }
@@ -995,7 +1039,7 @@ module.exports = {
995
1039
  borderWidth: 1,
996
1040
  contentAlignItems: 'stretch',
997
1041
  contentFlexGrow: 0,
998
- contentFlexShrink: 0,
1042
+ contentFlexShrink: 1,
999
1043
  contentJustifyContent: 'flex-start',
1000
1044
  flex: 1,
1001
1045
  minWidth: null,
@@ -1341,6 +1385,85 @@ module.exports = {
1341
1385
  textLineHeight: 2.25
1342
1386
  }
1343
1387
  },
1388
+ Countdown: {
1389
+ appearances: {
1390
+ feature: { type: 'variant', values: [ true ] },
1391
+ inverse: { type: 'variant', values: [ true ] },
1392
+ label: { type: 'variant', values: [ true ] },
1393
+ large: { type: 'variant', values: [ true ] },
1394
+ viewport: {
1395
+ description: 'The size label for the current screen viewport based on the current screen width',
1396
+ type: 'state',
1397
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1398
+ }
1399
+ },
1400
+ rules: [
1401
+ {
1402
+ if: { viewport: [ 'xs' ] },
1403
+ tokens: {
1404
+ containerPaddingBottomTop: 16,
1405
+ containerPaddingLeftRight: 24,
1406
+ labelFontSize: 14,
1407
+ labelLineHeight: 1.42857142857,
1408
+ textLineHeight: 1.42857142857
1409
+ }
1410
+ },
1411
+ {
1412
+ if: { large: true, viewport: [ 'xs' ] },
1413
+ tokens: { textFontSize: 28 }
1414
+ },
1415
+ {
1416
+ if: { feature: true, viewport: [ 'xs' ] },
1417
+ tokens: { textFontSize: 28 }
1418
+ },
1419
+ {
1420
+ if: { feature: true },
1421
+ tokens: {
1422
+ labelBorderColor: '#4b286d',
1423
+ textFontSize: 64,
1424
+ textLineHeight: 1.125,
1425
+ textTimerFontName: 'HelveticaNow',
1426
+ textTimerFontWeight: '300'
1427
+ }
1428
+ },
1429
+ {
1430
+ if: { large: true },
1431
+ tokens: {
1432
+ textFontSize: 64,
1433
+ textLineHeight: 1.125,
1434
+ textTimerFontName: 'HelveticaNow',
1435
+ textTimerFontWeight: '300'
1436
+ }
1437
+ },
1438
+ {
1439
+ if: { inverse: true },
1440
+ tokens: { labelBorderColor: '#ffffff' }
1441
+ }
1442
+ ],
1443
+ tokens: {
1444
+ containerBorderRadius: 6,
1445
+ containerGradient: {
1446
+ angle: 135,
1447
+ stops: [
1448
+ { color: '#4b286d', stop: 0 },
1449
+ { color: '#e53293', stop: 1 }
1450
+ ],
1451
+ type: 'linear'
1452
+ },
1453
+ containerInverseBorder: 2,
1454
+ containerInverseBorderColor: '#ffffff',
1455
+ containerPaddingBottomTop: 48,
1456
+ containerPaddingLeftRight: 64,
1457
+ inverseBorderColor: '#676e73',
1458
+ labelBorderColor: '#414547',
1459
+ labelFontSize: 16,
1460
+ labelLineHeight: 1.5,
1461
+ textFontSize: 16,
1462
+ textLineHeight: 1.5,
1463
+ textTimerFontName: 'HelveticaNow',
1464
+ textTimerFontWeight: '400'
1465
+ }
1466
+ },
1344
1467
  DatePicker: {
1345
1468
  appearances: {},
1346
1469
  rules: [],
@@ -1622,7 +1745,7 @@ module.exports = {
1622
1745
  padding: 8,
1623
1746
  shadow: {
1624
1747
  blur: 2,
1625
- color: 'rgba(0, 0, 0, 0.1)',
1748
+ color: 'rgba(0, 0, 0, 0.2)',
1626
1749
  inset: false,
1627
1750
  offsetX: 0,
1628
1751
  offsetY: 2,
@@ -1671,6 +1794,16 @@ module.exports = {
1671
1794
  },
1672
1795
  IconButton: {
1673
1796
  appearances: {
1797
+ action: {
1798
+ type: 'variant',
1799
+ values: [
1800
+ 'add', 'close',
1801
+ 'expand', 'moveDown',
1802
+ 'moveLeft', 'moveRight',
1803
+ 'moveUp', 'play',
1804
+ 'subtract'
1805
+ ]
1806
+ },
1674
1807
  compact: {
1675
1808
  description: 'Without the outer border gap',
1676
1809
  type: 'variant',
@@ -1716,6 +1849,72 @@ module.exports = {
1716
1849
  size: { type: 'variant', values: [ 'small', 'large' ] }
1717
1850
  },
1718
1851
  rules: [
1852
+ { if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
1853
+ {
1854
+ if: { action: 'subtract' },
1855
+ tokens: { icon: PaletteIconSubtract }
1856
+ },
1857
+ {
1858
+ if: { action: 'close' },
1859
+ tokens: { icon: PaletteIconClose }
1860
+ },
1861
+ {
1862
+ if: { action: 'expand' },
1863
+ tokens: { icon: PaletteIconExpand }
1864
+ },
1865
+ {
1866
+ if: { action: 'moveDown' },
1867
+ tokens: { icon: PaletteIconCaretDown }
1868
+ },
1869
+ {
1870
+ if: { action: 'moveUp' },
1871
+ tokens: { icon: PaletteIconCaretUp }
1872
+ },
1873
+ {
1874
+ if: { action: 'moveLeft' },
1875
+ tokens: { icon: PaletteIconChevronLeft }
1876
+ },
1877
+ {
1878
+ if: { action: 'moveRight' },
1879
+ tokens: { icon: PaletteIconChevronRight }
1880
+ },
1881
+ {
1882
+ if: { action: 'play' },
1883
+ tokens: { icon: PaletteIconPlayVideo }
1884
+ },
1885
+ { if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
1886
+ {
1887
+ if: { action: 'subtract' },
1888
+ tokens: { icon: PaletteIconSubtract }
1889
+ },
1890
+ {
1891
+ if: { action: 'close' },
1892
+ tokens: { icon: PaletteIconClose }
1893
+ },
1894
+ {
1895
+ if: { action: 'expand' },
1896
+ tokens: { icon: PaletteIconExpand }
1897
+ },
1898
+ {
1899
+ if: { action: 'moveDown' },
1900
+ tokens: { icon: PaletteIconCaretDown }
1901
+ },
1902
+ {
1903
+ if: { action: 'moveUp' },
1904
+ tokens: { icon: PaletteIconCaretUp }
1905
+ },
1906
+ {
1907
+ if: { action: 'moveLeft' },
1908
+ tokens: { icon: PaletteIconChevronLeft }
1909
+ },
1910
+ {
1911
+ if: { action: 'moveRight' },
1912
+ tokens: { icon: PaletteIconChevronRight }
1913
+ },
1914
+ {
1915
+ if: { action: 'play' },
1916
+ tokens: { icon: PaletteIconPlayVideo }
1917
+ },
1719
1918
  {
1720
1919
  if: { inverse: true },
1721
1920
  tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
@@ -1820,7 +2019,7 @@ module.exports = {
1820
2019
  padding: 8,
1821
2020
  shadow: {
1822
2021
  blur: 2,
1823
- color: 'rgba(0, 0, 0, 0.1)',
2022
+ color: 'rgba(0, 0, 0, 0.2)',
1824
2023
  inset: false,
1825
2024
  offsetX: 0,
1826
2025
  offsetY: 2,
@@ -1873,6 +2072,7 @@ module.exports = {
1873
2072
  borderColor: '#676e73',
1874
2073
  borderRadius: 99999999999999,
1875
2074
  borderWidth: 1,
2075
+ icon: null,
1876
2076
  iconColor: '#676e73',
1877
2077
  iconScale: 1,
1878
2078
  iconSize: 16,
@@ -2114,6 +2314,111 @@ module.exports = {
2114
2314
  listGutter: 16
2115
2315
  }
2116
2316
  },
2317
+ ListBox: {
2318
+ appearances: {
2319
+ current: {
2320
+ description: 'When the current item is selected',
2321
+ type: 'state',
2322
+ values: [ true ]
2323
+ },
2324
+ expanded: {
2325
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2326
+ type: 'state',
2327
+ values: [ true ]
2328
+ },
2329
+ focus: {
2330
+ 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.",
2331
+ platforms: [ 'rn' ],
2332
+ type: 'state',
2333
+ values: [ true ]
2334
+ },
2335
+ hover: {
2336
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2337
+ platforms: [ 'rn' ],
2338
+ type: 'state',
2339
+ values: [ true ]
2340
+ },
2341
+ isChild: {
2342
+ description: 'when the item is child of another child',
2343
+ type: 'state',
2344
+ values: [ true ]
2345
+ },
2346
+ pressed: {
2347
+ 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.',
2348
+ type: 'state',
2349
+ values: [ true ]
2350
+ }
2351
+ },
2352
+ rules: [
2353
+ {
2354
+ if: { pressed: true },
2355
+ tokens: { groupBackgroundColor: '#e3e6e8', groupColor: '#4b286d' }
2356
+ },
2357
+ {
2358
+ if: { hover: true },
2359
+ tokens: { groupBackgroundColor: '#f4f4f7', groupColor: '#4b286d' }
2360
+ },
2361
+ {
2362
+ if: { focus: true },
2363
+ tokens: { groupBackgroundColor: '#f4f4f7', groupColor: '#4b286d' }
2364
+ },
2365
+ {
2366
+ if: { expanded: true },
2367
+ tokens: { groupIcon: PaletteIconCaretUp }
2368
+ },
2369
+ {
2370
+ if: { current: true },
2371
+ tokens: {
2372
+ groupColor: '#4b286d',
2373
+ groupFontName: 'HelveticaNow',
2374
+ groupFontWeight: '700'
2375
+ }
2376
+ },
2377
+ {
2378
+ if: { isChild: true },
2379
+ tokens: { itemBorderWidth: 4, itemPaddingLeft: 12 }
2380
+ }
2381
+ ],
2382
+ tokens: {
2383
+ groupBackgroundColor: 'rgba(0, 0, 0, 0)',
2384
+ groupBorderColor: '#4b286d',
2385
+ groupBorderRadius: 6,
2386
+ groupBorderWidth: 1,
2387
+ groupColor: '#414547',
2388
+ groupFontName: 'HelveticaNow',
2389
+ groupFontSize: 14,
2390
+ groupFontWeight: '400',
2391
+ groupIcon: PaletteIconCaretDown,
2392
+ groupPaddingBottom: 12,
2393
+ groupPaddingLeft: 16,
2394
+ groupPaddingRight: 16,
2395
+ groupPaddingTop: 12,
2396
+ itemBackgroundColor: 'rgba(0, 0, 0, 0)',
2397
+ itemBorderBackgroundColor: '#e3e6e8',
2398
+ itemBorderLeftColor: '#4b286d',
2399
+ itemBorderLeftWidth: 4,
2400
+ itemBorderWidth: 0,
2401
+ itemColor: '#4b286d',
2402
+ itemDisplay: false,
2403
+ itemFontName: 'HelveticaNow',
2404
+ itemFontSize: 14,
2405
+ itemFontWeight: '700',
2406
+ itemOutline: 0,
2407
+ itemPaddingBottom: 12,
2408
+ itemPaddingLeft: 16,
2409
+ itemPaddingRight: 16,
2410
+ itemPaddingTop: 12,
2411
+ itemTextDecoration: 'none',
2412
+ shadow: {
2413
+ blur: 8,
2414
+ color: 'rgba(0, 0, 0, 0.1)',
2415
+ inset: false,
2416
+ offsetX: 0,
2417
+ offsetY: 4,
2418
+ spread: 0
2419
+ }
2420
+ }
2421
+ },
2117
2422
  Modal: {
2118
2423
  appearances: {
2119
2424
  maxWidth: {
@@ -2691,6 +2996,50 @@ module.exports = {
2691
2996
  outlineWidth: 1
2692
2997
  }
2693
2998
  },
2999
+ QuantitySelector: {
3000
+ appearances: {
3001
+ alternative: { type: 'variant', values: [ true ] },
3002
+ disabled: { type: 'variant', values: [ true ] },
3003
+ focus: { type: 'variant', values: [ true ] },
3004
+ hover: { type: 'variant', values: [ true ] },
3005
+ pressed: { type: 'variant', values: [ true ] }
3006
+ },
3007
+ rules: [
3008
+ { if: { alternative: true }, tokens: { padding: 0 } },
3009
+ {
3010
+ if: { hover: true },
3011
+ tokens: {
3012
+ backgroundColor: '#f4f4f7',
3013
+ inputBackgroundColor: '#f4f4f7'
3014
+ }
3015
+ },
3016
+ {
3017
+ if: { disabled: true },
3018
+ tokens: { backgroundColor: '#fafafa', iconColor: '#e3e6e8' }
3019
+ },
3020
+ {
3021
+ if: { pressed: true },
3022
+ tokens: { backgroundColor: '#b2b9bf' }
3023
+ },
3024
+ {
3025
+ if: { focus: true },
3026
+ tokens: { inputBorderColor: '#676e73', inputBorderWidth: 3 }
3027
+ }
3028
+ ],
3029
+ tokens: {
3030
+ backgroundColor: null,
3031
+ borderColor: '#676e73',
3032
+ iconColor: '#676e73',
3033
+ iconSize: 16,
3034
+ inputBackgroundColor: '#ffffff',
3035
+ inputBorderColor: '#676e73',
3036
+ inputBorderWidth: 1,
3037
+ leftIcon: PaletteIconSubtract,
3038
+ padding: 16,
3039
+ rightIcon: PaletteIconAdd,
3040
+ textColor: '#b2b9bf'
3041
+ }
3042
+ },
2694
3043
  QuickLinks: {
2695
3044
  appearances: {
2696
3045
  viewport: {
@@ -3100,7 +3449,7 @@ module.exports = {
3100
3449
  color: '#2c2e30',
3101
3450
  contentAlignItems: 'stretch',
3102
3451
  contentFlexGrow: 0,
3103
- contentFlexShrink: 0,
3452
+ contentFlexShrink: 1,
3104
3453
  contentJustifyContent: 'flex-start',
3105
3454
  contentSpace: 2,
3106
3455
  flex: 1,
@@ -3594,6 +3943,62 @@ module.exports = {
3594
3943
  thickness: 4
3595
3944
  }
3596
3945
  },
3946
+ SplashButton: {
3947
+ appearances: {
3948
+ hover: {
3949
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
3950
+ platforms: [ 'rn' ],
3951
+ type: 'state',
3952
+ values: [ true ]
3953
+ }
3954
+ },
3955
+ rules: [
3956
+ {
3957
+ if: { hover: true },
3958
+ tokens: { buttonContentChildrenBackground: 'rgba(0, 0, 0, 0.8)' }
3959
+ }
3960
+ ],
3961
+ tokens: {
3962
+ buttonContentBackground: 'rgba(0, 0, 0, 0.6)',
3963
+ buttonContentChildrenBackground: null,
3964
+ playIcon: PaletteIconPlaySolid,
3965
+ playIconColor: '#ffffff'
3966
+ }
3967
+ },
3968
+ SplashButtonWithDetails: {
3969
+ appearances: {
3970
+ hover: {
3971
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
3972
+ platforms: [ 'rn' ],
3973
+ type: 'state',
3974
+ values: [ true ]
3975
+ }
3976
+ },
3977
+ rules: [
3978
+ {
3979
+ if: { hover: true },
3980
+ tokens: {
3981
+ buttonContentChildrenBackground: 'rgba(255, 255, 255, 0.8)'
3982
+ }
3983
+ }
3984
+ ],
3985
+ tokens: {
3986
+ buttonBackground: '#ffffff',
3987
+ buttonBorderColor: '#e3e6e8',
3988
+ buttonBottomPosition: 24,
3989
+ buttonContentBackground: 'rgba(0, 0, 0, 0.6)',
3990
+ buttonContentChildrenBackground: null,
3991
+ buttonLeftPosition: 24,
3992
+ buttonMinHeight: 64,
3993
+ buttonPaddingLeft: 16,
3994
+ buttonPaddingRight: 16,
3995
+ buttonRadius: 32,
3996
+ detailsContainerPadding: 8,
3997
+ playIcon: PaletteIconPlaySolid,
3998
+ playIconColor: '#ffffff',
3999
+ playIconContainerBackground: '#2b8000'
4000
+ }
4001
+ },
3597
4002
  StackView: {
3598
4003
  appearances: {},
3599
4004
  rules: [],
@@ -3685,6 +4090,62 @@ module.exports = {
3685
4090
  showStepTrackerLabel: true
3686
4091
  }
3687
4092
  },
4093
+ StoryCard: {
4094
+ appearances: {
4095
+ focus: {
4096
+ 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.",
4097
+ platforms: [ 'rn' ],
4098
+ type: 'state',
4099
+ values: [ true ]
4100
+ },
4101
+ hover: {
4102
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
4103
+ platforms: [ 'rn' ],
4104
+ type: 'state',
4105
+ values: [ true ]
4106
+ },
4107
+ pressed: {
4108
+ 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.',
4109
+ type: 'state',
4110
+ values: [ true ]
4111
+ }
4112
+ },
4113
+ rules: [
4114
+ { if: { hover: true }, tokens: { borderWidth: 2 } },
4115
+ {
4116
+ if: { pressed: true },
4117
+ tokens: { backgroundColor: '#f4f4f7' }
4118
+ },
4119
+ {
4120
+ if: { focus: true },
4121
+ tokens: {
4122
+ outerBorderColor: '#676e73',
4123
+ outerBorderGap: 2,
4124
+ outerBorderWidth: 2
4125
+ }
4126
+ }
4127
+ ],
4128
+ tokens: {
4129
+ backgroundColor: '#ffffff',
4130
+ borderColor: '#e3e6e8',
4131
+ borderRadius: 6,
4132
+ borderWidth: 1,
4133
+ contentAlignItems: 'stretch',
4134
+ contentFlexGrow: 0,
4135
+ contentFlexShrink: 0,
4136
+ contentJustifyContent: 'flex-start',
4137
+ flex: 1,
4138
+ minWidth: 0,
4139
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
4140
+ outerBorderGap: 0,
4141
+ outerBorderWidth: 0,
4142
+ paddingBottom: 0,
4143
+ paddingLeft: 0,
4144
+ paddingRight: 0,
4145
+ paddingTop: 0,
4146
+ shadow: null
4147
+ }
4148
+ },
3688
4149
  Table: {
3689
4150
  appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
3690
4151
  rules: [
@@ -3994,6 +4455,74 @@ module.exports = {
3994
4455
  width: null
3995
4456
  }
3996
4457
  },
4458
+ TermsAndConditions: {
4459
+ appearances: {
4460
+ expanded: {
4461
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4462
+ type: 'state',
4463
+ values: [ true ]
4464
+ }
4465
+ },
4466
+ rules: [
4467
+ {
4468
+ if: { expanded: true },
4469
+ tokens: { icon: PaletteIconCaretUp }
4470
+ }
4471
+ ],
4472
+ tokens: {
4473
+ contentPaddingBottom: 8,
4474
+ contentPaddingLeft: 16,
4475
+ expandBaseBorderWidth: 0,
4476
+ expandContentPaddingBottom: 16,
4477
+ expandContentPaddingLeft: 16,
4478
+ expandContentPaddingRight: 16,
4479
+ expandContentPaddingTop: 16,
4480
+ expandIconContainerAlignItems: 'center',
4481
+ expandIconContainerBorder: 1,
4482
+ expandIconContainerBorderColor: '#676e73',
4483
+ expandIconContainerHeight: 32,
4484
+ expandIconContainerJustifyContent: 'center',
4485
+ expandIconContainerMarginX: 0,
4486
+ expandIconContainerMarginY: 12,
4487
+ expandIconContainerWidth: 32,
4488
+ expandTitleColor: '#2c2e30',
4489
+ expandTitleFontSize: 16,
4490
+ expandTitleLineHeight: 1.5,
4491
+ expandTitleMarginX: 4,
4492
+ expandTitleMarginY: 0,
4493
+ icon: PaletteIconCaretDown,
4494
+ listColor: '#414547',
4495
+ listFontName: 'HelveticaNow',
4496
+ listFontSize: 14,
4497
+ listFontWeight: '400',
4498
+ listLineHeight: 1.42857142857,
4499
+ listMarginBottom: 16,
4500
+ listMarginLeft: 32,
4501
+ mdContentPaddingBottom: 16,
4502
+ mdContentPaddingLeft: 48,
4503
+ orderedPadding: 0,
4504
+ titleColor: '#414547',
4505
+ titleFontSize: 14,
4506
+ titleLineHeight: 1.42857142857,
4507
+ titlePaddingLeft: 8,
4508
+ unorderedPadding: 0
4509
+ }
4510
+ },
4511
+ Testimonial: {
4512
+ appearances: {},
4513
+ rules: [],
4514
+ tokens: {
4515
+ dividerBackgroundColor: '#b2b9bf',
4516
+ dividerBorder: 1,
4517
+ figcaptionGap: 12,
4518
+ icon: PaletteIconQuoteLeft,
4519
+ iconColor: '#b2b9bf',
4520
+ imageSize: 48,
4521
+ quoteContainerGap: 4,
4522
+ testimonialContainerGap: 12,
4523
+ textColor: '#414547'
4524
+ }
4525
+ },
3997
4526
  TextArea: {
3998
4527
  appearances: {},
3999
4528
  rules: [],
@@ -4280,7 +4809,7 @@ module.exports = {
4280
4809
  switchColor: '#ffffff',
4281
4810
  switchShadow: {
4282
4811
  blur: 2,
4283
- color: 'rgba(0, 0, 0, 0.1)',
4812
+ color: 'rgba(0, 0, 0, 0.2)',
4284
4813
  inset: false,
4285
4814
  offsetX: 0,
4286
4815
  offsetY: 2,
@@ -4688,6 +5217,91 @@ module.exports = {
4688
5217
  textTransform: 'none'
4689
5218
  }
4690
5219
  },
5220
+ Video: {
5221
+ appearances: {},
5222
+ rules: [],
5223
+ tokens: {
5224
+ borderColor: '#b2b9bf',
5225
+ pauseIcon: PaletteIconPause,
5226
+ playIcon: PaletteIconPlaySolid,
5227
+ replayIcon: PaletteIconReplay
5228
+ }
5229
+ },
5230
+ VideoButton: { appearances: {}, rules: [], tokens: { color: '#ffffff' } },
5231
+ VideoControlBar: {
5232
+ appearances: {},
5233
+ rules: [],
5234
+ tokens: {
5235
+ captionsIcon: PaletteIconClosedCaptions,
5236
+ maximizeIcon: PaletteIconFullscreenExpand,
5237
+ menuBottom: 64,
5238
+ menuMarginLeft: 16,
5239
+ menuRight: 32,
5240
+ minimizeIcon: PaletteIconFullscreenMinimize,
5241
+ paddingBottom: 16,
5242
+ paddingLeft: 48,
5243
+ paddingLeftCompactMode: 16,
5244
+ paddingRight: 48,
5245
+ paddingRightCompactMode: 16,
5246
+ paddingTop: 16,
5247
+ settingsIcon: PaletteIconSettingsSolid
5248
+ }
5249
+ },
5250
+ VideoMenu: {
5251
+ appearances: {},
5252
+ rules: [],
5253
+ tokens: {
5254
+ background: '#2c2e30',
5255
+ checkMarkFocusColor: '#676e73',
5256
+ checkMarkHeight: 24,
5257
+ checkMarkHoverColor: '#676e73',
5258
+ checkMarkIcon: PaletteIconCheckmark,
5259
+ checkMarkSelectedColor: '#ffffff',
5260
+ checkMarkUnselectedColor: 'rgba(0, 0, 0, 0)',
5261
+ checkMarkWidth: 24,
5262
+ padding: 16
5263
+ }
5264
+ },
5265
+ VideoMiddleControlButton: {
5266
+ appearances: {},
5267
+ rules: [],
5268
+ tokens: {
5269
+ background: '#2c2e30',
5270
+ height: 64,
5271
+ iconColor: '#ffffff',
5272
+ width: 64
5273
+ }
5274
+ },
5275
+ VideoProgressBar: {
5276
+ appearances: {},
5277
+ rules: [],
5278
+ tokens: {
5279
+ rangeBackground: 'rgba(0, 0, 0, 0)',
5280
+ thumbBackground: '#ffffff',
5281
+ thumbHeight: 8,
5282
+ thumbWidth: 8,
5283
+ timestampMarginLeft: 8,
5284
+ timestampMarginRight: 8,
5285
+ trackGradientEnd: '#66cc00',
5286
+ trackGradientStart: '#66cc00'
5287
+ }
5288
+ },
5289
+ VideoVolumeSlider: {
5290
+ appearances: {},
5291
+ rules: [],
5292
+ tokens: {
5293
+ marginLeft: 16,
5294
+ marginRight: 16,
5295
+ mutedIcon: PaletteIconMuted,
5296
+ rangeBackground: 'rgba(0, 0, 0, 0)',
5297
+ thumbBackground: '#ffffff',
5298
+ thumbHeight: 8,
5299
+ thumbWidth: 8,
5300
+ trackGradientEnd: '#ffffff',
5301
+ trackGradientStart: '#ffffff',
5302
+ unmutedIcon: PaletteIconUnmuted
5303
+ }
5304
+ },
4691
5305
  WaffleGrid: {
4692
5306
  appearances: {},
4693
5307
  rules: [],
@@ -4757,5 +5371,5 @@ module.exports = {
4757
5371
  tokens: { size: 96 }
4758
5372
  }
4759
5373
  },
4760
- metadata: { name: 'theme-allium', themeTokensVersion: '2.21.0' }
5374
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.23.0' }
4761
5375
  }