@telus-uds/theme-allium 3.26.0 → 3.28.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 Mon, 01 May 2023 22:01:35 GMT
4
+ * Generated on Wed, 17 May 2023 00:12:48 GMT
5
5
  *
6
6
  */
7
7
 
@@ -13,9 +13,9 @@ 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 PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
16
17
  const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
17
18
  const PaletteIconSubtract = require('@telus-uds/palette-allium/build/rn/icons/Subtract')
18
- const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
19
19
  const PaletteIconExpand = require('@telus-uds/palette-allium/build/rn/icons/Expand')
20
20
  const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
21
21
  const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
@@ -345,11 +345,26 @@ module.exports = {
345
345
  },
346
346
  Breadcrumbs: {
347
347
  appearances: { inverse: { type: 'variant', values: [ true ] } },
348
- rules: [ { if: { inverse: true }, tokens: { iconColor: '#b2b9bf' } } ],
348
+ rules: [
349
+ {
350
+ if: { inverse: true },
351
+ tokens: {
352
+ color: '#ffffff',
353
+ currentColor: '#ffffff',
354
+ iconColor: '#b2b9bf'
355
+ }
356
+ }
357
+ ],
349
358
  tokens: {
359
+ color: '#676e73',
360
+ currentColor: '#414547',
361
+ fontName: 'HelveticaNow',
362
+ fontSize: 12,
363
+ fontWeight: '500',
350
364
  icon: PaletteIconChevronRight,
351
- iconColor: '#676e73',
352
- iconPadding: 8,
365
+ iconColor: '#b2b9bf',
366
+ iconPadding: 4,
367
+ iconSize: 16,
353
368
  listItemPadding: 0
354
369
  }
355
370
  },
@@ -619,16 +634,21 @@ module.exports = {
619
634
  tokens: {
620
635
  alignSelf: 'flex-start',
621
636
  backgroundColor: '#ffffff',
637
+ borderBottomWidth: 1,
622
638
  borderColor: '#2b8000',
639
+ borderLeftWidth: 1,
623
640
  borderRadius: 32,
641
+ borderRightWidth: 1,
642
+ borderTopWidth: 1,
624
643
  borderWidth: 1,
625
644
  color: '#2b8000',
626
645
  fontName: 'HelveticaNow',
627
646
  fontSize: 16,
628
647
  fontWeight: '700',
648
+ height: null,
629
649
  icon: null,
630
650
  iconSize: 24,
631
- iconSpace: 2,
651
+ iconSpace: 1,
632
652
  lineHeight: 1.5,
633
653
  minWidth: 144,
634
654
  opacity: 1,
@@ -1468,25 +1488,29 @@ module.exports = {
1468
1488
  appearances: {},
1469
1489
  rules: [],
1470
1490
  tokens: {
1491
+ calendarBackgroundColor: '#ffffff',
1471
1492
  calendarDayBlockedCalendarHoverBackground: '#fafafa',
1472
- calendarDayBlockedCalendarHoverColor: '#414547',
1473
- calendarDayDefaultBeforeHeight: 28,
1474
- calendarDayDefaultBeforeWidth: 28,
1493
+ calendarDayBlockedCalendarHoverColor: '#676e73',
1494
+ calendarDayDefaultBackgroundColor: '#ffffff',
1475
1495
  calendarDayDefaultBorder: 1,
1476
- calendarDayDefaultBorderColor: '#e3e6e8',
1477
- calendarDayDefaultCalendarDaySelectedHoverBackground: '#7c53a5',
1496
+ calendarDayDefaultBorderColor: '#b2b9bf',
1497
+ calendarDayDefaultCalendarDaySelectedHoverBackground: '#ffffff',
1498
+ calendarDayDefaultCalendarDaySelectedHoverBeforeBackground: '#7c53a5',
1478
1499
  calendarDayDefaultCalendarDaySelectedHoverColor: '#ffffff',
1479
1500
  calendarDayDefaultColor: '#414547',
1480
1501
  calendarDayDefaultFontName: 'HelveticaNow',
1481
1502
  calendarDayDefaultFontSize: 14,
1482
- calendarDayDefaultFontWeight: '300',
1483
- calendarDaySelectedHoverBeforeBackground: '#7c53a5',
1484
- calendarDaySelectedHoverBorderColor: '#e3e6e8',
1485
- calendarDaySelectedHoverColor: '#ffffff',
1503
+ calendarDayDefaultFontWeight: '400',
1504
+ calendarDaySelectedFocusBeforeBackground: '#ffffff',
1505
+ calendarDaySelectedHoverBackground: '#ffffff',
1506
+ calendarDaySelectedHoverBeforeBackground: '#ffffff',
1507
+ calendarDaySelectedHoverBeforeBorderColor: '#7c53a5',
1508
+ calendarDaySelectedHoverBorderColor: '#b2b9bf',
1509
+ calendarDaySelectedHoverColor: '#414547',
1486
1510
  calendarMonthCaptionColor: '#2c2e30',
1487
1511
  calendarMonthCaptionFontName: 'HelveticaNow',
1488
1512
  calendarMonthCaptionFontSize: 20,
1489
- calendarMonthCaptionFontWeight: '400',
1513
+ calendarMonthCaptionFontWeight: '700',
1490
1514
  calendarMonthCaptionLineHeight: 1.4,
1491
1515
  calendarMonthCaptionPaddingBottom: 48,
1492
1516
  dateInputBorderColor: 'rgba(0, 0, 0, 0)',
@@ -1496,19 +1520,10 @@ module.exports = {
1496
1520
  dateInputInsideBorderColor: '#676e73',
1497
1521
  dateInputInsideColor: '#676e73',
1498
1522
  dateInputStrokeColor: '#676e73',
1499
- dayPickerNavigationButtonBackgroundColor: '#ffffff',
1500
- dayPickerNavigationButtonBorderColor: '#b2b9bf',
1501
- dayPickerNavigationButtonChildLeft: 8,
1502
- dayPickerNavigationButtonChildRight: 8,
1503
- dayPickerNavigationButtonChildSvgFill: '#676e73',
1504
- dayPickerNavigationButtonDefaultHoverBorderColor: '#e3e6e8',
1505
- dayPickerNavigationButtonMaxHeight: 32,
1506
- dayPickerNavigationButtonMaxWidth: 32,
1507
1523
  dayPickerNavigationButtonPadding: 8,
1508
- dayPickerNavigationSVGHorizontalFill: '#2c2e30',
1509
1524
  dayPickerWeekHeaderColor: '#414547',
1510
1525
  dayPickerWeekHeaderFontName: 'HelveticaNow',
1511
- dayPickerWeekHeaderFontWeight: '500',
1526
+ dayPickerWeekHeaderFontWeight: '700',
1512
1527
  dayPickerWeekHeaderLineHeight: 1.42857142857,
1513
1528
  dayPickerWeekHeaderSmall: 14,
1514
1529
  hiddenInputFieldContainerHeight: 0,
@@ -1523,6 +1538,17 @@ module.exports = {
1523
1538
  validInputMixin: '#2b8000'
1524
1539
  }
1525
1540
  },
1541
+ Disclaimer: {
1542
+ appearances: {},
1543
+ rules: [],
1544
+ tokens: {
1545
+ color: '#414547',
1546
+ fontName: 'HelveticaNow',
1547
+ fontSize: 14,
1548
+ fontWeight: '400',
1549
+ lineHeight: 1.42857142857
1550
+ }
1551
+ },
1526
1552
  Divider: {
1527
1553
  appearances: {
1528
1554
  decorative: {
@@ -1547,6 +1573,7 @@ module.exports = {
1547
1573
  },
1548
1574
  ExpandCollapseControl: {
1549
1575
  appearances: {
1576
+ compact: { type: 'variant', values: [ true ] },
1550
1577
  expanded: {
1551
1578
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1552
1579
  type: 'state',
@@ -1557,6 +1584,15 @@ module.exports = {
1557
1584
  {
1558
1585
  if: { expanded: true },
1559
1586
  tokens: { icon: PaletteIconCaretUp }
1587
+ },
1588
+ {
1589
+ if: { compact: true },
1590
+ tokens: {
1591
+ paddingBottom: 8,
1592
+ paddingLeft: 0,
1593
+ paddingRight: 0,
1594
+ paddingTop: 8
1595
+ }
1560
1596
  }
1561
1597
  ],
1562
1598
  tokens: {
@@ -1571,8 +1607,8 @@ module.exports = {
1571
1607
  iconSize: 16,
1572
1608
  justifyContent: 'flex-start',
1573
1609
  paddingBottom: 16,
1574
- paddingLeft: 8,
1575
- paddingRight: 16,
1610
+ paddingLeft: 0,
1611
+ paddingRight: 0,
1576
1612
  paddingTop: 16,
1577
1613
  verticalAlign: 'top'
1578
1614
  }
@@ -1595,15 +1631,31 @@ module.exports = {
1595
1631
  tokens: { icon: PaletteIconCaretDown, size: 4 }
1596
1632
  },
1597
1633
  ExpandCollapsePanel: {
1598
- appearances: {},
1599
- rules: [],
1634
+ appearances: { compact: { type: 'variant', values: [ true ] } },
1635
+ rules: [
1636
+ {
1637
+ if: { compact: true },
1638
+ tokens: {
1639
+ contentPaddingBottom: 16,
1640
+ contentPaddingLeft: 24,
1641
+ contentPaddingRight: 0,
1642
+ contentPaddingTop: 8
1643
+ }
1644
+ }
1645
+ ],
1600
1646
  tokens: {
1647
+ borderColor: 'rgba(0, 0, 0, 0)',
1648
+ borderRadius: 0,
1649
+ borderWidth: 0,
1601
1650
  collapseDuration: 250,
1602
1651
  contentPaddingBottom: 16,
1603
- contentPaddingLeft: 40,
1604
- contentPaddingRight: 16,
1652
+ contentPaddingLeft: 24,
1653
+ contentPaddingRight: 0,
1605
1654
  contentPaddingTop: 0,
1606
- expandDuration: 300
1655
+ expandDividerColor: 'rgba(0, 0, 0, 0)',
1656
+ expandDuration: 300,
1657
+ expanddDividerWidth: 0,
1658
+ marginBottom: 0
1607
1659
  }
1608
1660
  },
1609
1661
  Feedback: {
@@ -1676,6 +1728,7 @@ module.exports = {
1676
1728
  closeButtonMarginRight: 4,
1677
1729
  closeButtonMarginTop: 12,
1678
1730
  closeButtonWidth: 24,
1731
+ closeIcon: PaletteIconClose,
1679
1732
  footnoteBackground: '#f4f4f7',
1680
1733
  footnoteBodyBackground: '#f4f4f7',
1681
1734
  footnoteBodyPaddingBottom: 32,
@@ -1697,7 +1750,14 @@ module.exports = {
1697
1750
  FootnoteLink: {
1698
1751
  appearances: {},
1699
1752
  rules: [],
1700
- tokens: { lineHeight: 1, paddingLeft: 2, paddingRight: 2 }
1753
+ tokens: {
1754
+ color: '#000000',
1755
+ fontName: 'HelveticaNow',
1756
+ fontWeight: '400',
1757
+ lineHeight: 1,
1758
+ paddingLeft: 2,
1759
+ paddingRight: 2
1760
+ }
1701
1761
  },
1702
1762
  HorizontalScrollButton: {
1703
1763
  appearances: {
@@ -2550,12 +2610,137 @@ module.exports = {
2550
2610
  subHeadingMarginTop: 8
2551
2611
  }
2552
2612
  },
2613
+ NavigationBar: {
2614
+ appearances: {
2615
+ expanded: {
2616
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2617
+ type: 'state',
2618
+ values: [ true ]
2619
+ },
2620
+ focus: {
2621
+ 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.",
2622
+ platforms: [ 'rn' ],
2623
+ type: 'state',
2624
+ values: [ true ]
2625
+ },
2626
+ hover: {
2627
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2628
+ platforms: [ 'rn' ],
2629
+ type: 'state',
2630
+ values: [ true ]
2631
+ },
2632
+ pressed: {
2633
+ 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.',
2634
+ type: 'state',
2635
+ values: [ true ]
2636
+ },
2637
+ selected: {
2638
+ 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`.',
2639
+ type: 'state',
2640
+ values: [ true ]
2641
+ },
2642
+ viewport: {
2643
+ description: 'The size label for the current screen viewport based on the current screen width',
2644
+ type: 'state',
2645
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2646
+ }
2647
+ },
2648
+ rules: [
2649
+ {
2650
+ if: { selected: true },
2651
+ tokens: {
2652
+ backgroundColor: '#f4f4f7',
2653
+ borderColor: '#f4f4f7',
2654
+ color: '#4b286d',
2655
+ fontName: 'HelveticaNow',
2656
+ fontWeight: '700'
2657
+ }
2658
+ },
2659
+ {
2660
+ if: { focus: true },
2661
+ tokens: {
2662
+ backgroundColor: '#ffffff',
2663
+ borderColor: '#4b286d',
2664
+ borderWidth: 3,
2665
+ color: '#4b286d'
2666
+ }
2667
+ },
2668
+ {
2669
+ if: { focus: true, pressed: true },
2670
+ tokens: {
2671
+ backgroundColor: '#4b286d',
2672
+ borderColor: '#4b286d',
2673
+ color: '#ffffff'
2674
+ }
2675
+ },
2676
+ {
2677
+ if: { hover: true },
2678
+ tokens: {
2679
+ backgroundColor: '#f4f4f7',
2680
+ borderColor: '#7c53a5',
2681
+ color: '#4b286d'
2682
+ }
2683
+ },
2684
+ {
2685
+ if: { pressed: true },
2686
+ tokens: {
2687
+ backgroundColor: '#e3e6e8',
2688
+ borderColor: '#7c53a5',
2689
+ borderWidth: 1,
2690
+ color: '#4b286d'
2691
+ }
2692
+ },
2693
+ {
2694
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
2695
+ tokens: { textAlign: 'flex-start', width: 288 }
2696
+ },
2697
+ {
2698
+ if: { expanded: true },
2699
+ tokens: { icoMenu: PaletteIconCaretUp }
2700
+ }
2701
+ ],
2702
+ tokens: {
2703
+ alignSelf: 'flex-start',
2704
+ backgroundColor: '#ffffff',
2705
+ borderColor: '#ffffff',
2706
+ borderRadius: 32,
2707
+ borderWidth: 1,
2708
+ color: '#414547',
2709
+ fontName: 'HelveticaNow',
2710
+ fontSize: 14,
2711
+ fontWeight: '400',
2712
+ icoMenu: PaletteIconCaretDown,
2713
+ lineHeight: 1.14285714286,
2714
+ minWidth: 0,
2715
+ opacity: 1,
2716
+ outerBackgroundColor: 'rgba(0, 0, 0, 0)',
2717
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
2718
+ outerBorderGap: 0,
2719
+ outerBorderWidth: 1,
2720
+ paddingBottom: 8,
2721
+ paddingLeft: 16,
2722
+ paddingRight: 16,
2723
+ paddingTop: 8,
2724
+ shadow: null,
2725
+ textAlign: 'center',
2726
+ width: 0
2727
+ }
2728
+ },
2553
2729
  Notification: {
2554
2730
  appearances: {
2555
2731
  style: { type: 'state', values: [ 'success', 'warning', 'error' ] },
2556
- system: { type: 'state', values: [ true ] }
2732
+ system: { type: 'state', values: [ true ] },
2733
+ viewport: {
2734
+ description: 'The size label for the current screen viewport based on the current screen width',
2735
+ type: 'state',
2736
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2737
+ }
2557
2738
  },
2558
2739
  rules: [
2740
+ {
2741
+ if: { viewport: [ 'xl' ] },
2742
+ tokens: { justifyContent: 'center' }
2743
+ },
2559
2744
  {
2560
2745
  if: { system: true },
2561
2746
  tokens: {
@@ -2611,8 +2796,7 @@ module.exports = {
2611
2796
  color: '#414547',
2612
2797
  dismissButtonGap: 16,
2613
2798
  dismissIcon: PaletteIconClose,
2614
- dismissIconColor: '#414547',
2615
- dismissIconSize: 24,
2799
+ dismissIconColor: '#676e73',
2616
2800
  fontName: 'HelveticaNow',
2617
2801
  fontSize: 16,
2618
2802
  fontWeight: '400',
@@ -2620,6 +2804,7 @@ module.exports = {
2620
2804
  iconColor: null,
2621
2805
  iconGap: 16,
2622
2806
  iconSize: 24,
2807
+ justifyContent: 'flex-start',
2623
2808
  lineHeight: 1.5,
2624
2809
  paddingBottom: 12,
2625
2810
  paddingLeft: 12,
@@ -2691,7 +2876,18 @@ module.exports = {
2691
2876
  }
2692
2877
  ],
2693
2878
  tokens: {
2879
+ borderBottomWidth: 0,
2880
+ borderColor: '#676e73',
2881
+ borderLeftWidth: 0,
2882
+ borderRightWidth: 0,
2883
+ borderTopWidth: 0,
2694
2884
  color: '#676e73',
2885
+ ellipsisBorderBottomWidth: 0,
2886
+ ellipsisBorderLeftWidth: 0,
2887
+ ellipsisBorderRightWidth: 0,
2888
+ ellipsisBorderTopWidth: 0,
2889
+ ellipsisHeight: null,
2890
+ ellipsisPadding: 0,
2695
2891
  fontName: 'HelveticaNow',
2696
2892
  fontSize: 16,
2697
2893
  fontWeight: '400',
@@ -2732,7 +2928,13 @@ module.exports = {
2732
2928
  },
2733
2929
  {
2734
2930
  if: { focus: true },
2735
- tokens: { borderColor: '#676e73', borderWidth: 3 }
2931
+ tokens: {
2932
+ borderBottomWidth: 3,
2933
+ borderColor: '#676e73',
2934
+ borderLeftWidth: 3,
2935
+ borderRightWidth: 3,
2936
+ borderTopWidth: 3
2937
+ }
2736
2938
  },
2737
2939
  {
2738
2940
  if: { selected: true },
@@ -2749,13 +2951,17 @@ module.exports = {
2749
2951
  ],
2750
2952
  tokens: {
2751
2953
  backgroundColor: 'rgba(0, 0, 0, 0)',
2954
+ borderBottomWidth: 1,
2752
2955
  borderColor: 'rgba(0, 0, 0, 0)',
2956
+ borderLeftWidth: 1,
2753
2957
  borderRadius: 32,
2754
- borderWidth: 1,
2958
+ borderRightWidth: 1,
2959
+ borderTopWidth: 1,
2755
2960
  color: '#676e73',
2756
2961
  fontName: 'HelveticaNow',
2757
2962
  fontSize: 16,
2758
2963
  fontWeight: '400',
2964
+ height: 32,
2759
2965
  lineHeight: 1.5,
2760
2966
  outerBorderColor: 'rgba(0, 0, 0, 0)',
2761
2967
  outerBorderGap: 4,
@@ -2823,11 +3029,16 @@ module.exports = {
2823
3029
  },
2824
3030
  {
2825
3031
  if: { hover: true },
2826
- tokens: { borderColor: '#676e73', iconDisplace: 4, textLine: 'none' }
3032
+ tokens: {
3033
+ iconDisplace: 4,
3034
+ outerBorderColor: '#676e73',
3035
+ outerBorderWidth: 1,
3036
+ textLine: 'none'
3037
+ }
2827
3038
  },
2828
3039
  {
2829
3040
  if: { focus: true },
2830
- tokens: { borderColor: '#676e73', borderWidth: 3 }
3041
+ tokens: { outerBorderColor: '#676e73', outerBorderWidth: 3 }
2831
3042
  },
2832
3043
  {
2833
3044
  if: { selected: true },
@@ -2852,25 +3063,30 @@ module.exports = {
2852
3063
  ],
2853
3064
  tokens: {
2854
3065
  backgroundColor: 'rgba(0, 0, 0, 0)',
3066
+ borderBottomWidth: 0,
2855
3067
  borderColor: 'rgba(0, 0, 0, 0)',
3068
+ borderLeftWidth: 0,
2856
3069
  borderRadius: 4,
2857
- borderWidth: 1,
3070
+ borderRightWidth: 0,
3071
+ borderTopWidth: 0,
2858
3072
  color: '#676e73',
2859
3073
  displayLabel: true,
2860
3074
  fontName: 'HelveticaNow',
2861
3075
  fontSize: 16,
2862
3076
  fontWeight: '400',
3077
+ height: null,
2863
3078
  icon: null,
2864
3079
  iconDisplace: 0,
2865
3080
  iconSize: 24,
2866
3081
  lineHeight: 1.5,
2867
3082
  outerBorderColor: 'rgba(0, 0, 0, 0)',
2868
- paddingBottom: 12,
3083
+ outerBorderWidth: 1,
3084
+ paddingBottom: 4,
2869
3085
  paddingLeft: 8,
2870
3086
  paddingRight: 8,
2871
- paddingTop: 12,
3087
+ paddingTop: 4,
2872
3088
  textAlign: 'center',
2873
- textLine: 'underline',
3089
+ textLine: 'none',
2874
3090
  width: null
2875
3091
  }
2876
3092
  },
@@ -2927,18 +3143,96 @@ module.exports = {
2927
3143
  }
2928
3144
  },
2929
3145
  PriceLockup: {
2930
- appearances: {},
2931
- rules: [],
3146
+ appearances: {
3147
+ size: { type: 'variant', values: [ 'small', 'medium', 'large' ] },
3148
+ strikeThrough: { type: 'variant', values: [ true ] },
3149
+ viewport: {
3150
+ description: 'The size label for the current screen viewport based on the current screen width',
3151
+ type: 'state',
3152
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
3153
+ }
3154
+ },
3155
+ rules: [
3156
+ {
3157
+ if: { size: 'small' },
3158
+ tokens: {
3159
+ amountFontSize: 28,
3160
+ bottomTextFontSize: 14,
3161
+ bottomTextLineHeight: 1.42857142857,
3162
+ centsFontSize: 16,
3163
+ centsLineHeight: 1.33333333333,
3164
+ currencySymbolFontSize: 16,
3165
+ currencySymbolLineHeight: 1.25,
3166
+ rateFontSize: 14,
3167
+ rateLineHeight: 1.14285714286,
3168
+ strikeThroughPosition: 15,
3169
+ topTextFontSize: 14,
3170
+ topTextLineHeight: 1.42857142857
3171
+ }
3172
+ },
3173
+ {
3174
+ if: { size: 'large', viewport: [ 'lg', 'xl' ] },
3175
+ tokens: {
3176
+ amountFontSize: 64,
3177
+ bottomTextFontSize: 20,
3178
+ bottomTextLineHeight: 1.6,
3179
+ centsFontSize: 36,
3180
+ centsLineHeight: 1.125,
3181
+ currencySymbolFontSize: 36,
3182
+ currencySymbolLineHeight: 1.125,
3183
+ rateFontSize: 20,
3184
+ rateLineHeight: 1.6,
3185
+ strikeThroughHeight: 3,
3186
+ strikeThroughPosition: 35,
3187
+ topTextFontSize: 20,
3188
+ topTextLineHeight: 1.6
3189
+ }
3190
+ },
3191
+ {
3192
+ if: { strikeThrough: true },
3193
+ tokens: { fontColor: '#676e73', footnoteLinkColor: '#676e73' }
3194
+ }
3195
+ ],
2932
3196
  tokens: {
3197
+ amountFontName: 'HelveticaNow',
3198
+ amountFontSize: 40,
3199
+ amountFontWeight: '300',
3200
+ amountLetterSpacing: -0.039,
3201
+ amountLineHeight: 1,
2933
3202
  bottomLinksMarginLeft: 4,
3203
+ bottomTextFontSize: 16,
3204
+ bottomTextLineHeight: 1.6,
2934
3205
  bottomTextMarginTop: 4,
3206
+ centsFontName: 'HelveticaNow',
3207
+ centsFontSize: 20,
3208
+ centsFontWeight: '400',
3209
+ centsLineHeight: 1.2,
3210
+ currencySymbolFontName: 'HelveticaNow',
3211
+ currencySymbolFontSize: 20,
3212
+ currencySymbolFontWeight: '400',
3213
+ currencySymbolLineHeight: 1.2,
2935
3214
  dividerColor: '#b2b9bf',
2936
3215
  fontColor: '#414547',
3216
+ fontName: 'HelveticaNow',
3217
+ fontWeight: '700',
2937
3218
  footnoteGap: 4,
3219
+ footnoteLinkColor: '#414547',
3220
+ footnoteLinkFontName: 'HelveticaNow',
3221
+ footnoteLinkFontSize: 14,
3222
+ footnoteLinkFontWeight: '400',
2938
3223
  footnoteMarginTop: 4,
2939
3224
  priceMarginBottom: 8,
2940
- strikeThroughBackground: '#676e73',
3225
+ rateFontName: 'HelveticaNow',
3226
+ rateFontSize: 16,
3227
+ rateFontWeight: '400',
3228
+ rateLineHeight: 1.25,
3229
+ strikeThroughColor: '#676e73',
2941
3230
  strikeThroughHeight: 2,
3231
+ strikeThroughPosition: 22,
3232
+ topTextFontName: 'HelveticaNow',
3233
+ topTextFontSize: 16,
3234
+ topTextFontWeight: '700',
3235
+ topTextLineHeight: 1.5,
2942
3236
  topTextMarginBottom: 4
2943
3237
  }
2944
3238
  },
@@ -3317,7 +3611,9 @@ module.exports = {
3317
3611
  containerPaddingRight: 0,
3318
3612
  containerPaddingTop: 0,
3319
3613
  containerShadow: null,
3614
+ descriptionFontName: 'HelveticaNow',
3320
3615
  descriptionFontSize: 14,
3616
+ descriptionFontWeight: '400',
3321
3617
  descriptionLineHeight: 1.42857142857,
3322
3618
  descriptionMarginLeft: null,
3323
3619
  inputBackgroundColor: '#ffffff',
@@ -3508,7 +3804,8 @@ module.exports = {
3508
3804
  purpose: {
3509
3805
  type: 'variant',
3510
3806
  values: [ 'offer', 'default', 'editorial' ]
3511
- }
3807
+ },
3808
+ wrap: { type: 'variant', values: [ true ] }
3512
3809
  },
3513
3810
  rules: [
3514
3811
  {
@@ -3517,11 +3814,30 @@ module.exports = {
3517
3814
  backgroundColor: '#676e73',
3518
3815
  curveBackgroundColor: '#2c2e30'
3519
3816
  }
3817
+ },
3818
+ {
3819
+ if: { purpose: 'offer' },
3820
+ tokens: {
3821
+ gradient: {
3822
+ angle: 135,
3823
+ stops: [
3824
+ { color: '#4b286d', stop: 0 },
3825
+ { color: '#e53293', stop: 1 }
3826
+ ],
3827
+ type: 'linear'
3828
+ }
3829
+ }
3830
+ },
3831
+ {
3832
+ if: { wrap: true },
3833
+ tokens: { paddingLeft: 24, paddingRight: 24 }
3520
3834
  }
3521
3835
  ],
3522
3836
  tokens: {
3523
3837
  backgroundColor: '#613889',
3524
3838
  borderRadius: 4,
3839
+ borderRadiusBottomLeft: null,
3840
+ borderRadiusBottomRight: null,
3525
3841
  boxShadowColor: 'rgba(0, 0, 0, 0.1)',
3526
3842
  boxShadowPaddingBottom: 2,
3527
3843
  boxShadowPaddingLeft: 0,
@@ -3529,20 +3845,14 @@ module.exports = {
3529
3845
  boxShadowPaddingTop: 0,
3530
3846
  curveAfterBackgroundColor: '#613889',
3531
3847
  curveAfterHeight: 4,
3532
- curveAfterRadius: 8,
3848
+ curveAfterRadius: 0,
3533
3849
  curveAfterWidth: 8,
3534
3850
  curveBackgroundColor: '#3f2a54',
3535
3851
  curveHeight: 10,
3536
3852
  curveMarginTop: 4,
3537
3853
  curveWidth: 8,
3538
- gradient: {
3539
- angle: 135,
3540
- stops: [
3541
- { color: '#4b286d', stop: 0 },
3542
- { color: '#e53293', stop: 1 }
3543
- ],
3544
- type: 'linear'
3545
- },
3854
+ fontColor: '#ffffff',
3855
+ gradient: null,
3546
3856
  paddingBottom: 4,
3547
3857
  paddingLeft: 8,
3548
3858
  paddingRight: 8,
@@ -3749,6 +4059,7 @@ module.exports = {
3749
4059
  borderRadius: 4,
3750
4060
  borderWidth: 1,
3751
4061
  color: '#414547',
4062
+ feedbackBackgroundColor: '#bfe797',
3752
4063
  fontName: 'HelveticaNow',
3753
4064
  fontSize: 16,
3754
4065
  fontWeight: '400',
@@ -4172,6 +4483,9 @@ module.exports = {
4172
4483
  spread: 0
4173
4484
  },
4174
4485
  cellSubheadingBackground: '#fafafa',
4486
+ fontName: 'HelveticaNow',
4487
+ fontSize: 16,
4488
+ fontWeight: '400',
4175
4489
  tablePaddingBottom: 24
4176
4490
  }
4177
4491
  },
@@ -5269,6 +5583,44 @@ module.exports = {
5269
5583
  width: 64
5270
5584
  }
5271
5585
  },
5586
+ VideoPicker: {
5587
+ appearances: {},
5588
+ rules: [],
5589
+ tokens: {
5590
+ framedContainerBackgroundColor: '#fafafa',
5591
+ framedContainerBorderColor: '#e3e6e8',
5592
+ framedContainerBorderRadius: 4,
5593
+ framedContainerBorderWidth: 1,
5594
+ framedContainerPadding: 24,
5595
+ framedMaxHeight: 640,
5596
+ stackViewDividerColor: '#e3e6e8'
5597
+ }
5598
+ },
5599
+ VideoPickerSlider: {
5600
+ appearances: {},
5601
+ rules: [],
5602
+ tokens: {
5603
+ nextIcon: PaletteIconArrowRight,
5604
+ previousIcon: PaletteIconArrowLeft
5605
+ }
5606
+ },
5607
+ VideoPickerThumbnail: {
5608
+ appearances: {},
5609
+ rules: [],
5610
+ tokens: {
5611
+ borderColor: '#4b286d',
5612
+ borderRadius: 4,
5613
+ borderWidth: 2,
5614
+ pressableBorderTopColor: '#e3e6e8',
5615
+ pressableBorderTopWidth: 1,
5616
+ pressablePaddingBottom: 16,
5617
+ pressablePaddingHorizontal: 24,
5618
+ pressablePaddingVertical: 16,
5619
+ splashButtonRadius: 4,
5620
+ subTitleColor: '#676e73',
5621
+ titleColor: '#4b286d'
5622
+ }
5623
+ },
5272
5624
  VideoProgressBar: {
5273
5625
  appearances: {},
5274
5626
  rules: [],
@@ -5368,5 +5720,5 @@ module.exports = {
5368
5720
  tokens: { size: 96 }
5369
5721
  }
5370
5722
  },
5371
- metadata: { name: 'theme-allium', themeTokensVersion: '2.24.0' }
5723
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.26.0' }
5372
5724
  }