@telus-uds/theme-allium 3.27.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/android/schema.json +1363 -1130
- package/build/android/theme.json +172 -69
- package/build/ios/schema.json +1363 -1130
- package/build/ios/theme.json +172 -69
- package/build/rn/schema.json +1363 -1130
- package/build/rn/theme.js +114 -41
- package/package.json +5 -5
- package/theme.json +118 -40
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 17 May 2023 00:12:48 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:
|
|
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: '#
|
|
1488
|
-
|
|
1489
|
-
calendarDayDefaultBeforeWidth: 28,
|
|
1493
|
+
calendarDayBlockedCalendarHoverColor: '#676e73',
|
|
1494
|
+
calendarDayDefaultBackgroundColor: '#ffffff',
|
|
1490
1495
|
calendarDayDefaultBorder: 1,
|
|
1491
|
-
calendarDayDefaultBorderColor: '#
|
|
1492
|
-
calendarDayDefaultCalendarDaySelectedHoverBackground: '#
|
|
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: '
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
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: '
|
|
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: '
|
|
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:
|
|
1601
|
-
paddingRight:
|
|
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:
|
|
1630
|
-
contentPaddingRight:
|
|
1652
|
+
contentPaddingLeft: 24,
|
|
1653
|
+
contentPaddingRight: 0,
|
|
1631
1654
|
contentPaddingTop: 0,
|
|
1632
|
-
|
|
1655
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1656
|
+
expandDuration: 300,
|
|
1657
|
+
expanddDividerWidth: 0,
|
|
1658
|
+
marginBottom: 0
|
|
1633
1659
|
}
|
|
1634
1660
|
},
|
|
1635
1661
|
Feedback: {
|
|
@@ -2703,9 +2729,18 @@ module.exports = {
|
|
|
2703
2729
|
Notification: {
|
|
2704
2730
|
appearances: {
|
|
2705
2731
|
style: { type: 'state', values: [ 'success', 'warning', 'error' ] },
|
|
2706
|
-
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
|
+
}
|
|
2707
2738
|
},
|
|
2708
2739
|
rules: [
|
|
2740
|
+
{
|
|
2741
|
+
if: { viewport: [ 'xl' ] },
|
|
2742
|
+
tokens: { justifyContent: 'center' }
|
|
2743
|
+
},
|
|
2709
2744
|
{
|
|
2710
2745
|
if: { system: true },
|
|
2711
2746
|
tokens: {
|
|
@@ -2761,8 +2796,7 @@ module.exports = {
|
|
|
2761
2796
|
color: '#414547',
|
|
2762
2797
|
dismissButtonGap: 16,
|
|
2763
2798
|
dismissIcon: PaletteIconClose,
|
|
2764
|
-
dismissIconColor: '#
|
|
2765
|
-
dismissIconSize: 24,
|
|
2799
|
+
dismissIconColor: '#676e73',
|
|
2766
2800
|
fontName: 'HelveticaNow',
|
|
2767
2801
|
fontSize: 16,
|
|
2768
2802
|
fontWeight: '400',
|
|
@@ -2770,6 +2804,7 @@ module.exports = {
|
|
|
2770
2804
|
iconColor: null,
|
|
2771
2805
|
iconGap: 16,
|
|
2772
2806
|
iconSize: 24,
|
|
2807
|
+
justifyContent: 'flex-start',
|
|
2773
2808
|
lineHeight: 1.5,
|
|
2774
2809
|
paddingBottom: 12,
|
|
2775
2810
|
paddingLeft: 12,
|
|
@@ -2841,7 +2876,18 @@ module.exports = {
|
|
|
2841
2876
|
}
|
|
2842
2877
|
],
|
|
2843
2878
|
tokens: {
|
|
2879
|
+
borderBottomWidth: 0,
|
|
2880
|
+
borderColor: '#676e73',
|
|
2881
|
+
borderLeftWidth: 0,
|
|
2882
|
+
borderRightWidth: 0,
|
|
2883
|
+
borderTopWidth: 0,
|
|
2844
2884
|
color: '#676e73',
|
|
2885
|
+
ellipsisBorderBottomWidth: 0,
|
|
2886
|
+
ellipsisBorderLeftWidth: 0,
|
|
2887
|
+
ellipsisBorderRightWidth: 0,
|
|
2888
|
+
ellipsisBorderTopWidth: 0,
|
|
2889
|
+
ellipsisHeight: null,
|
|
2890
|
+
ellipsisPadding: 0,
|
|
2845
2891
|
fontName: 'HelveticaNow',
|
|
2846
2892
|
fontSize: 16,
|
|
2847
2893
|
fontWeight: '400',
|
|
@@ -2882,7 +2928,13 @@ module.exports = {
|
|
|
2882
2928
|
},
|
|
2883
2929
|
{
|
|
2884
2930
|
if: { focus: true },
|
|
2885
|
-
tokens: {
|
|
2931
|
+
tokens: {
|
|
2932
|
+
borderBottomWidth: 3,
|
|
2933
|
+
borderColor: '#676e73',
|
|
2934
|
+
borderLeftWidth: 3,
|
|
2935
|
+
borderRightWidth: 3,
|
|
2936
|
+
borderTopWidth: 3
|
|
2937
|
+
}
|
|
2886
2938
|
},
|
|
2887
2939
|
{
|
|
2888
2940
|
if: { selected: true },
|
|
@@ -2899,13 +2951,17 @@ module.exports = {
|
|
|
2899
2951
|
],
|
|
2900
2952
|
tokens: {
|
|
2901
2953
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2954
|
+
borderBottomWidth: 1,
|
|
2902
2955
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2956
|
+
borderLeftWidth: 1,
|
|
2903
2957
|
borderRadius: 32,
|
|
2904
|
-
|
|
2958
|
+
borderRightWidth: 1,
|
|
2959
|
+
borderTopWidth: 1,
|
|
2905
2960
|
color: '#676e73',
|
|
2906
2961
|
fontName: 'HelveticaNow',
|
|
2907
2962
|
fontSize: 16,
|
|
2908
2963
|
fontWeight: '400',
|
|
2964
|
+
height: 32,
|
|
2909
2965
|
lineHeight: 1.5,
|
|
2910
2966
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2911
2967
|
outerBorderGap: 4,
|
|
@@ -2973,11 +3029,16 @@ module.exports = {
|
|
|
2973
3029
|
},
|
|
2974
3030
|
{
|
|
2975
3031
|
if: { hover: true },
|
|
2976
|
-
tokens: {
|
|
3032
|
+
tokens: {
|
|
3033
|
+
iconDisplace: 4,
|
|
3034
|
+
outerBorderColor: '#676e73',
|
|
3035
|
+
outerBorderWidth: 1,
|
|
3036
|
+
textLine: 'none'
|
|
3037
|
+
}
|
|
2977
3038
|
},
|
|
2978
3039
|
{
|
|
2979
3040
|
if: { focus: true },
|
|
2980
|
-
tokens: {
|
|
3041
|
+
tokens: { outerBorderColor: '#676e73', outerBorderWidth: 3 }
|
|
2981
3042
|
},
|
|
2982
3043
|
{
|
|
2983
3044
|
if: { selected: true },
|
|
@@ -3002,25 +3063,30 @@ module.exports = {
|
|
|
3002
3063
|
],
|
|
3003
3064
|
tokens: {
|
|
3004
3065
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3066
|
+
borderBottomWidth: 0,
|
|
3005
3067
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
3068
|
+
borderLeftWidth: 0,
|
|
3006
3069
|
borderRadius: 4,
|
|
3007
|
-
|
|
3070
|
+
borderRightWidth: 0,
|
|
3071
|
+
borderTopWidth: 0,
|
|
3008
3072
|
color: '#676e73',
|
|
3009
3073
|
displayLabel: true,
|
|
3010
3074
|
fontName: 'HelveticaNow',
|
|
3011
3075
|
fontSize: 16,
|
|
3012
3076
|
fontWeight: '400',
|
|
3077
|
+
height: null,
|
|
3013
3078
|
icon: null,
|
|
3014
3079
|
iconDisplace: 0,
|
|
3015
3080
|
iconSize: 24,
|
|
3016
3081
|
lineHeight: 1.5,
|
|
3017
3082
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3018
|
-
|
|
3083
|
+
outerBorderWidth: 1,
|
|
3084
|
+
paddingBottom: 4,
|
|
3019
3085
|
paddingLeft: 8,
|
|
3020
3086
|
paddingRight: 8,
|
|
3021
|
-
paddingTop:
|
|
3087
|
+
paddingTop: 4,
|
|
3022
3088
|
textAlign: 'center',
|
|
3023
|
-
textLine: '
|
|
3089
|
+
textLine: 'none',
|
|
3024
3090
|
width: null
|
|
3025
3091
|
}
|
|
3026
3092
|
},
|
|
@@ -3099,6 +3165,7 @@ module.exports = {
|
|
|
3099
3165
|
currencySymbolLineHeight: 1.25,
|
|
3100
3166
|
rateFontSize: 14,
|
|
3101
3167
|
rateLineHeight: 1.14285714286,
|
|
3168
|
+
strikeThroughPosition: 15,
|
|
3102
3169
|
topTextFontSize: 14,
|
|
3103
3170
|
topTextLineHeight: 1.42857142857
|
|
3104
3171
|
}
|
|
@@ -3115,6 +3182,8 @@ module.exports = {
|
|
|
3115
3182
|
currencySymbolLineHeight: 1.125,
|
|
3116
3183
|
rateFontSize: 20,
|
|
3117
3184
|
rateLineHeight: 1.6,
|
|
3185
|
+
strikeThroughHeight: 3,
|
|
3186
|
+
strikeThroughPosition: 35,
|
|
3118
3187
|
topTextFontSize: 20,
|
|
3119
3188
|
topTextLineHeight: 1.6
|
|
3120
3189
|
}
|
|
@@ -3159,6 +3228,7 @@ module.exports = {
|
|
|
3159
3228
|
rateLineHeight: 1.25,
|
|
3160
3229
|
strikeThroughColor: '#676e73',
|
|
3161
3230
|
strikeThroughHeight: 2,
|
|
3231
|
+
strikeThroughPosition: 22,
|
|
3162
3232
|
topTextFontName: 'HelveticaNow',
|
|
3163
3233
|
topTextFontSize: 16,
|
|
3164
3234
|
topTextFontWeight: '700',
|
|
@@ -3541,7 +3611,9 @@ module.exports = {
|
|
|
3541
3611
|
containerPaddingRight: 0,
|
|
3542
3612
|
containerPaddingTop: 0,
|
|
3543
3613
|
containerShadow: null,
|
|
3614
|
+
descriptionFontName: 'HelveticaNow',
|
|
3544
3615
|
descriptionFontSize: 14,
|
|
3616
|
+
descriptionFontWeight: '400',
|
|
3545
3617
|
descriptionLineHeight: 1.42857142857,
|
|
3546
3618
|
descriptionMarginLeft: null,
|
|
3547
3619
|
inputBackgroundColor: '#ffffff',
|
|
@@ -3987,6 +4059,7 @@ module.exports = {
|
|
|
3987
4059
|
borderRadius: 4,
|
|
3988
4060
|
borderWidth: 1,
|
|
3989
4061
|
color: '#414547',
|
|
4062
|
+
feedbackBackgroundColor: '#bfe797',
|
|
3990
4063
|
fontName: 'HelveticaNow',
|
|
3991
4064
|
fontSize: 16,
|
|
3992
4065
|
fontWeight: '400',
|
|
@@ -5647,5 +5720,5 @@ module.exports = {
|
|
|
5647
5720
|
tokens: { size: 96 }
|
|
5648
5721
|
}
|
|
5649
5722
|
},
|
|
5650
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
5723
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.26.0' }
|
|
5651
5724
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.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.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
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.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.18.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|