@telus-uds/theme-allium 3.27.0 → 3.29.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 Tue, 09 May 2023 00:19:33 GMT
4
+ * Generated on Fri, 19 May 2023 04:51:50 GMT
5
5
  *
6
6
  */
7
7
 
@@ -634,16 +634,21 @@ module.exports = {
634
634
  tokens: {
635
635
  alignSelf: 'flex-start',
636
636
  backgroundColor: '#ffffff',
637
+ borderBottomWidth: 1,
637
638
  borderColor: '#2b8000',
639
+ borderLeftWidth: 1,
638
640
  borderRadius: 32,
641
+ borderRightWidth: 1,
642
+ borderTopWidth: 1,
639
643
  borderWidth: 1,
640
644
  color: '#2b8000',
641
645
  fontName: 'HelveticaNow',
642
646
  fontSize: 16,
643
647
  fontWeight: '700',
648
+ height: null,
644
649
  icon: null,
645
650
  iconSize: 24,
646
- iconSpace: 2,
651
+ iconSpace: 1,
647
652
  lineHeight: 1.5,
648
653
  minWidth: 144,
649
654
  opacity: 1,
@@ -1483,25 +1488,29 @@ module.exports = {
1483
1488
  appearances: {},
1484
1489
  rules: [],
1485
1490
  tokens: {
1491
+ calendarBackgroundColor: '#ffffff',
1486
1492
  calendarDayBlockedCalendarHoverBackground: '#fafafa',
1487
- calendarDayBlockedCalendarHoverColor: '#414547',
1488
- calendarDayDefaultBeforeHeight: 28,
1489
- calendarDayDefaultBeforeWidth: 28,
1493
+ calendarDayBlockedCalendarHoverColor: '#676e73',
1494
+ calendarDayDefaultBackgroundColor: '#ffffff',
1490
1495
  calendarDayDefaultBorder: 1,
1491
- calendarDayDefaultBorderColor: '#e3e6e8',
1492
- calendarDayDefaultCalendarDaySelectedHoverBackground: '#7c53a5',
1496
+ calendarDayDefaultBorderColor: '#b2b9bf',
1497
+ calendarDayDefaultCalendarDaySelectedHoverBackground: '#ffffff',
1498
+ calendarDayDefaultCalendarDaySelectedHoverBeforeBackground: '#7c53a5',
1493
1499
  calendarDayDefaultCalendarDaySelectedHoverColor: '#ffffff',
1494
1500
  calendarDayDefaultColor: '#414547',
1495
1501
  calendarDayDefaultFontName: 'HelveticaNow',
1496
1502
  calendarDayDefaultFontSize: 14,
1497
- calendarDayDefaultFontWeight: '300',
1498
- calendarDaySelectedHoverBeforeBackground: '#7c53a5',
1499
- calendarDaySelectedHoverBorderColor: '#e3e6e8',
1500
- calendarDaySelectedHoverColor: '#ffffff',
1503
+ calendarDayDefaultFontWeight: '400',
1504
+ calendarDaySelectedFocusBeforeBackground: '#ffffff',
1505
+ calendarDaySelectedHoverBackground: '#ffffff',
1506
+ calendarDaySelectedHoverBeforeBackground: '#ffffff',
1507
+ calendarDaySelectedHoverBeforeBorderColor: '#7c53a5',
1508
+ calendarDaySelectedHoverBorderColor: '#b2b9bf',
1509
+ calendarDaySelectedHoverColor: '#414547',
1501
1510
  calendarMonthCaptionColor: '#2c2e30',
1502
1511
  calendarMonthCaptionFontName: 'HelveticaNow',
1503
1512
  calendarMonthCaptionFontSize: 20,
1504
- calendarMonthCaptionFontWeight: '400',
1513
+ calendarMonthCaptionFontWeight: '700',
1505
1514
  calendarMonthCaptionLineHeight: 1.4,
1506
1515
  calendarMonthCaptionPaddingBottom: 48,
1507
1516
  dateInputBorderColor: 'rgba(0, 0, 0, 0)',
@@ -1511,19 +1520,10 @@ module.exports = {
1511
1520
  dateInputInsideBorderColor: '#676e73',
1512
1521
  dateInputInsideColor: '#676e73',
1513
1522
  dateInputStrokeColor: '#676e73',
1514
- dayPickerNavigationButtonBackgroundColor: '#ffffff',
1515
- dayPickerNavigationButtonBorderColor: '#b2b9bf',
1516
- dayPickerNavigationButtonChildLeft: 8,
1517
- dayPickerNavigationButtonChildRight: 8,
1518
- dayPickerNavigationButtonChildSvgFill: '#676e73',
1519
- dayPickerNavigationButtonDefaultHoverBorderColor: '#e3e6e8',
1520
- dayPickerNavigationButtonMaxHeight: 32,
1521
- dayPickerNavigationButtonMaxWidth: 32,
1522
1523
  dayPickerNavigationButtonPadding: 8,
1523
- dayPickerNavigationSVGHorizontalFill: '#2c2e30',
1524
1524
  dayPickerWeekHeaderColor: '#414547',
1525
1525
  dayPickerWeekHeaderFontName: 'HelveticaNow',
1526
- dayPickerWeekHeaderFontWeight: '500',
1526
+ dayPickerWeekHeaderFontWeight: '700',
1527
1527
  dayPickerWeekHeaderLineHeight: 1.42857142857,
1528
1528
  dayPickerWeekHeaderSmall: 14,
1529
1529
  hiddenInputFieldContainerHeight: 0,
@@ -1573,6 +1573,7 @@ module.exports = {
1573
1573
  },
1574
1574
  ExpandCollapseControl: {
1575
1575
  appearances: {
1576
+ compact: { type: 'variant', values: [ true ] },
1576
1577
  expanded: {
1577
1578
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1578
1579
  type: 'state',
@@ -1583,6 +1584,15 @@ module.exports = {
1583
1584
  {
1584
1585
  if: { expanded: true },
1585
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
+ }
1586
1596
  }
1587
1597
  ],
1588
1598
  tokens: {
@@ -1597,8 +1607,8 @@ module.exports = {
1597
1607
  iconSize: 16,
1598
1608
  justifyContent: 'flex-start',
1599
1609
  paddingBottom: 16,
1600
- paddingLeft: 8,
1601
- paddingRight: 16,
1610
+ paddingLeft: 0,
1611
+ paddingRight: 0,
1602
1612
  paddingTop: 16,
1603
1613
  verticalAlign: 'top'
1604
1614
  }
@@ -1621,15 +1631,31 @@ module.exports = {
1621
1631
  tokens: { icon: PaletteIconCaretDown, size: 4 }
1622
1632
  },
1623
1633
  ExpandCollapsePanel: {
1624
- appearances: {},
1625
- 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
+ ],
1626
1646
  tokens: {
1647
+ borderColor: 'rgba(0, 0, 0, 0)',
1648
+ borderRadius: 0,
1649
+ borderWidth: 0,
1627
1650
  collapseDuration: 250,
1628
1651
  contentPaddingBottom: 16,
1629
- contentPaddingLeft: 40,
1630
- contentPaddingRight: 16,
1652
+ contentPaddingLeft: 24,
1653
+ contentPaddingRight: 0,
1631
1654
  contentPaddingTop: 0,
1632
- expandDuration: 300
1655
+ expandDividerColor: 'rgba(0, 0, 0, 0)',
1656
+ expandDuration: 300,
1657
+ expanddDividerWidth: 0,
1658
+ marginBottom: 0
1633
1659
  }
1634
1660
  },
1635
1661
  Feedback: {
@@ -1694,7 +1720,7 @@ module.exports = {
1694
1720
  rules: [],
1695
1721
  tokens: {
1696
1722
  closeButtonBorderColor: '#676e73',
1697
- closeButtonBorderSize: 1,
1723
+ closeButtonBorderSize: 0,
1698
1724
  closeButtonHeight: 24,
1699
1725
  closeButtonIconSize: 16,
1700
1726
  closeButtonMarginBottom: 12,
@@ -1705,12 +1731,20 @@ module.exports = {
1705
1731
  closeIcon: PaletteIconClose,
1706
1732
  footnoteBackground: '#f4f4f7',
1707
1733
  footnoteBodyBackground: '#f4f4f7',
1708
- footnoteBodyPaddingBottom: 32,
1734
+ footnoteBodyPaddingBottom: 40,
1709
1735
  footnoteBodyPaddingLeft: 16,
1710
1736
  footnoteBodyPaddingRight: 16,
1711
1737
  footnoteBodyPaddingTop: 0,
1712
1738
  footnoteBorderColorMd: '#b2b9bf',
1713
1739
  footnoteBorderTopSizeMd: 1,
1740
+ footnoteHeaderPaddingBottom: 16,
1741
+ footnoteHeaderPaddingLeft: 16,
1742
+ footnoteHeaderPaddingRight: 16,
1743
+ footnoteHeaderPaddingTop: 16,
1744
+ headerFontName: 'HelveticaNow',
1745
+ headerFontSize: 16,
1746
+ headerFontWeight: '700',
1747
+ headerLineHeight: 20,
1714
1748
  headerMargin: 16,
1715
1749
  listItemColor: '#414547',
1716
1750
  listItemFontSize: 14,
@@ -2703,9 +2737,18 @@ module.exports = {
2703
2737
  Notification: {
2704
2738
  appearances: {
2705
2739
  style: { type: 'state', values: [ 'success', 'warning', 'error' ] },
2706
- system: { type: 'state', values: [ true ] }
2740
+ system: { type: 'state', values: [ true ] },
2741
+ viewport: {
2742
+ description: 'The size label for the current screen viewport based on the current screen width',
2743
+ type: 'state',
2744
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2745
+ }
2707
2746
  },
2708
2747
  rules: [
2748
+ {
2749
+ if: { viewport: [ 'xl' ] },
2750
+ tokens: { justifyContent: 'center' }
2751
+ },
2709
2752
  {
2710
2753
  if: { system: true },
2711
2754
  tokens: {
@@ -2761,8 +2804,7 @@ module.exports = {
2761
2804
  color: '#414547',
2762
2805
  dismissButtonGap: 16,
2763
2806
  dismissIcon: PaletteIconClose,
2764
- dismissIconColor: '#414547',
2765
- dismissIconSize: 24,
2807
+ dismissIconColor: '#676e73',
2766
2808
  fontName: 'HelveticaNow',
2767
2809
  fontSize: 16,
2768
2810
  fontWeight: '400',
@@ -2770,6 +2812,7 @@ module.exports = {
2770
2812
  iconColor: null,
2771
2813
  iconGap: 16,
2772
2814
  iconSize: 24,
2815
+ justifyContent: 'flex-start',
2773
2816
  lineHeight: 1.5,
2774
2817
  paddingBottom: 12,
2775
2818
  paddingLeft: 12,
@@ -2841,7 +2884,18 @@ module.exports = {
2841
2884
  }
2842
2885
  ],
2843
2886
  tokens: {
2887
+ borderBottomWidth: 0,
2888
+ borderColor: '#676e73',
2889
+ borderLeftWidth: 0,
2890
+ borderRightWidth: 0,
2891
+ borderTopWidth: 0,
2844
2892
  color: '#676e73',
2893
+ ellipsisBorderBottomWidth: 0,
2894
+ ellipsisBorderLeftWidth: 0,
2895
+ ellipsisBorderRightWidth: 0,
2896
+ ellipsisBorderTopWidth: 0,
2897
+ ellipsisHeight: null,
2898
+ ellipsisPadding: 0,
2845
2899
  fontName: 'HelveticaNow',
2846
2900
  fontSize: 16,
2847
2901
  fontWeight: '400',
@@ -2882,7 +2936,13 @@ module.exports = {
2882
2936
  },
2883
2937
  {
2884
2938
  if: { focus: true },
2885
- tokens: { borderColor: '#676e73', borderWidth: 3 }
2939
+ tokens: {
2940
+ borderBottomWidth: 3,
2941
+ borderColor: '#676e73',
2942
+ borderLeftWidth: 3,
2943
+ borderRightWidth: 3,
2944
+ borderTopWidth: 3
2945
+ }
2886
2946
  },
2887
2947
  {
2888
2948
  if: { selected: true },
@@ -2899,13 +2959,17 @@ module.exports = {
2899
2959
  ],
2900
2960
  tokens: {
2901
2961
  backgroundColor: 'rgba(0, 0, 0, 0)',
2962
+ borderBottomWidth: 1,
2902
2963
  borderColor: 'rgba(0, 0, 0, 0)',
2964
+ borderLeftWidth: 1,
2903
2965
  borderRadius: 32,
2904
- borderWidth: 1,
2966
+ borderRightWidth: 1,
2967
+ borderTopWidth: 1,
2905
2968
  color: '#676e73',
2906
2969
  fontName: 'HelveticaNow',
2907
2970
  fontSize: 16,
2908
2971
  fontWeight: '400',
2972
+ height: 32,
2909
2973
  lineHeight: 1.5,
2910
2974
  outerBorderColor: 'rgba(0, 0, 0, 0)',
2911
2975
  outerBorderGap: 4,
@@ -2973,11 +3037,16 @@ module.exports = {
2973
3037
  },
2974
3038
  {
2975
3039
  if: { hover: true },
2976
- tokens: { borderColor: '#676e73', iconDisplace: 4, textLine: 'none' }
3040
+ tokens: {
3041
+ iconDisplace: 4,
3042
+ outerBorderColor: '#676e73',
3043
+ outerBorderWidth: 1,
3044
+ textLine: 'none'
3045
+ }
2977
3046
  },
2978
3047
  {
2979
3048
  if: { focus: true },
2980
- tokens: { borderColor: '#676e73', borderWidth: 3 }
3049
+ tokens: { outerBorderColor: '#676e73', outerBorderWidth: 3 }
2981
3050
  },
2982
3051
  {
2983
3052
  if: { selected: true },
@@ -3002,25 +3071,30 @@ module.exports = {
3002
3071
  ],
3003
3072
  tokens: {
3004
3073
  backgroundColor: 'rgba(0, 0, 0, 0)',
3074
+ borderBottomWidth: 0,
3005
3075
  borderColor: 'rgba(0, 0, 0, 0)',
3076
+ borderLeftWidth: 0,
3006
3077
  borderRadius: 4,
3007
- borderWidth: 1,
3078
+ borderRightWidth: 0,
3079
+ borderTopWidth: 0,
3008
3080
  color: '#676e73',
3009
3081
  displayLabel: true,
3010
3082
  fontName: 'HelveticaNow',
3011
3083
  fontSize: 16,
3012
3084
  fontWeight: '400',
3085
+ height: null,
3013
3086
  icon: null,
3014
3087
  iconDisplace: 0,
3015
3088
  iconSize: 24,
3016
3089
  lineHeight: 1.5,
3017
3090
  outerBorderColor: 'rgba(0, 0, 0, 0)',
3018
- paddingBottom: 12,
3091
+ outerBorderWidth: 1,
3092
+ paddingBottom: 4,
3019
3093
  paddingLeft: 8,
3020
3094
  paddingRight: 8,
3021
- paddingTop: 12,
3095
+ paddingTop: 4,
3022
3096
  textAlign: 'center',
3023
- textLine: 'underline',
3097
+ textLine: 'none',
3024
3098
  width: null
3025
3099
  }
3026
3100
  },
@@ -3099,6 +3173,7 @@ module.exports = {
3099
3173
  currencySymbolLineHeight: 1.25,
3100
3174
  rateFontSize: 14,
3101
3175
  rateLineHeight: 1.14285714286,
3176
+ strikeThroughPosition: 15,
3102
3177
  topTextFontSize: 14,
3103
3178
  topTextLineHeight: 1.42857142857
3104
3179
  }
@@ -3115,6 +3190,8 @@ module.exports = {
3115
3190
  currencySymbolLineHeight: 1.125,
3116
3191
  rateFontSize: 20,
3117
3192
  rateLineHeight: 1.6,
3193
+ strikeThroughHeight: 3,
3194
+ strikeThroughPosition: 35,
3118
3195
  topTextFontSize: 20,
3119
3196
  topTextLineHeight: 1.6
3120
3197
  }
@@ -3159,6 +3236,7 @@ module.exports = {
3159
3236
  rateLineHeight: 1.25,
3160
3237
  strikeThroughColor: '#676e73',
3161
3238
  strikeThroughHeight: 2,
3239
+ strikeThroughPosition: 22,
3162
3240
  topTextFontName: 'HelveticaNow',
3163
3241
  topTextFontSize: 16,
3164
3242
  topTextFontWeight: '700',
@@ -3506,7 +3584,7 @@ module.exports = {
3506
3584
  { if: { error: true }, tokens: {} },
3507
3585
  {
3508
3586
  if: { hover: true },
3509
- tokens: { outerBorderColor: '#e3e6e8', outerBorderWidth: 2 }
3587
+ tokens: { outerBorderColor: '#e3e6e8' }
3510
3588
  },
3511
3589
  {
3512
3590
  if: { focus: true },
@@ -3537,11 +3615,13 @@ module.exports = {
3537
3615
  containerBorderRadius: 0,
3538
3616
  containerOpacity: 1,
3539
3617
  containerPaddingBottom: 0,
3540
- containerPaddingLeft: 0,
3618
+ containerPaddingLeft: 2,
3541
3619
  containerPaddingRight: 0,
3542
3620
  containerPaddingTop: 0,
3543
3621
  containerShadow: null,
3622
+ descriptionFontName: 'HelveticaNow',
3544
3623
  descriptionFontSize: 14,
3624
+ descriptionFontWeight: '400',
3545
3625
  descriptionLineHeight: 1.42857142857,
3546
3626
  descriptionMarginLeft: null,
3547
3627
  inputBackgroundColor: '#ffffff',
@@ -3558,7 +3638,7 @@ module.exports = {
3558
3638
  labelMarginLeft: 10,
3559
3639
  outerBorderColor: 'transparent',
3560
3640
  outerBorderGap: 0,
3561
- outerBorderWidth: 0
3641
+ outerBorderWidth: 2
3562
3642
  }
3563
3643
  },
3564
3644
  RadioCard: {
@@ -3987,6 +4067,7 @@ module.exports = {
3987
4067
  borderRadius: 4,
3988
4068
  borderWidth: 1,
3989
4069
  color: '#414547',
4070
+ feedbackBackgroundColor: '#bfe797',
3990
4071
  fontName: 'HelveticaNow',
3991
4072
  fontSize: 16,
3992
4073
  fontWeight: '400',
@@ -5647,5 +5728,5 @@ module.exports = {
5647
5728
  tokens: { size: 96 }
5648
5729
  }
5649
5730
  },
5650
- metadata: { name: 'theme-allium', themeTokensVersion: '2.25.0' }
5731
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.26.0' }
5651
5732
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.27.0",
3
+ "version": "3.29.0",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
@@ -8,12 +8,12 @@
8
8
  "main": "build/rn/theme.js",
9
9
  "dependencies": {},
10
10
  "devDependencies": {
11
- "@telus-uds/palette-allium": "^2.17.0",
12
- "@telus-uds/system-theme-tokens": "^2.25.0",
13
- "@telus-uds/system-tokens": "^0.7.4"
11
+ "@telus-uds/palette-allium": "^2.18.0",
12
+ "@telus-uds/system-theme-tokens": "^2.26.0",
13
+ "@telus-uds/system-tokens": "^0.7.5"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.17.0"
16
+ "@telus-uds/palette-allium": "^2.18.0"
17
17
  },
18
18
  "files": [
19
19
  "build",