@telus-uds/theme-allium 4.3.0 → 4.5.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 +1315 -921
- package/build/android/theme.json +360 -148
- package/build/ios/schema.json +1315 -921
- package/build/ios/theme.json +360 -148
- package/build/rn/schema.json +1315 -921
- package/build/rn/theme.js +220 -93
- package/package.json +5 -5
- package/theme.json +226 -128
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 Tue, 20 Jun 2023 16:00:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -100,6 +100,14 @@ module.exports = {
|
|
|
100
100
|
color: '#ffffff'
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
if: { outline: true, purpose: 'editorial' },
|
|
105
|
+
tokens: {
|
|
106
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
107
|
+
borderColor: '#676e73',
|
|
108
|
+
color: '#676e73'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
103
111
|
{
|
|
104
112
|
if: { outline: true, purpose: 'offer' },
|
|
105
113
|
tokens: {
|
|
@@ -136,8 +144,24 @@ module.exports = {
|
|
|
136
144
|
}
|
|
137
145
|
},
|
|
138
146
|
BlockQuote: {
|
|
139
|
-
appearances: {
|
|
140
|
-
|
|
147
|
+
appearances: {
|
|
148
|
+
viewport: {
|
|
149
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
150
|
+
type: 'state',
|
|
151
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
rules: [
|
|
155
|
+
{
|
|
156
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
157
|
+
tokens: {
|
|
158
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
159
|
+
titleHeadingFontSize: 24,
|
|
160
|
+
titleHeadingFontWeight: '400',
|
|
161
|
+
titleHeadingLineHeight: 1.33333333333
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
141
165
|
tokens: {
|
|
142
166
|
backgroundGradient: {
|
|
143
167
|
angle: 135,
|
|
@@ -148,11 +172,23 @@ module.exports = {
|
|
|
148
172
|
type: 'linear'
|
|
149
173
|
},
|
|
150
174
|
color: '#414547',
|
|
175
|
+
linkFontName: 'HelveticaNow',
|
|
176
|
+
linkFontSize: 16,
|
|
177
|
+
linkFontWeight: '700',
|
|
178
|
+
linkLineHeight: 1.5,
|
|
151
179
|
marginBottom: 16,
|
|
152
180
|
paddingBottom: 16,
|
|
153
181
|
paddingLeft: 32,
|
|
154
182
|
paddingRight: 32,
|
|
155
183
|
paddingTop: 16,
|
|
184
|
+
titleFontName: 'HelveticaNow',
|
|
185
|
+
titleFontSize: 20,
|
|
186
|
+
titleFontWeight: '400',
|
|
187
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
188
|
+
titleHeadingFontSize: 28,
|
|
189
|
+
titleHeadingFontWeight: '400',
|
|
190
|
+
titleHeadingLineHeight: 1.28571428571,
|
|
191
|
+
titleLineHeight: 1.6,
|
|
156
192
|
width: 2
|
|
157
193
|
}
|
|
158
194
|
},
|
|
@@ -455,6 +491,7 @@ module.exports = {
|
|
|
455
491
|
if: { priority: 'high' },
|
|
456
492
|
tokens: {
|
|
457
493
|
backgroundColor: '#2b8000',
|
|
494
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
458
495
|
borderWidth: 0,
|
|
459
496
|
color: '#ffffff'
|
|
460
497
|
}
|
|
@@ -463,7 +500,7 @@ module.exports = {
|
|
|
463
500
|
if: { pressed: true },
|
|
464
501
|
tokens: {
|
|
465
502
|
backgroundColor: '#163e06',
|
|
466
|
-
|
|
503
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
467
504
|
color: '#ffffff'
|
|
468
505
|
}
|
|
469
506
|
},
|
|
@@ -499,6 +536,7 @@ module.exports = {
|
|
|
499
536
|
if: { inverse: true, pressed: true },
|
|
500
537
|
tokens: {
|
|
501
538
|
backgroundColor: 'rgba(255, 255, 255, 0.6)',
|
|
539
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
502
540
|
color: '#414547'
|
|
503
541
|
}
|
|
504
542
|
},
|
|
@@ -520,7 +558,11 @@ module.exports = {
|
|
|
520
558
|
},
|
|
521
559
|
{
|
|
522
560
|
if: { danger: true, pressed: true, priority: null },
|
|
523
|
-
tokens: {
|
|
561
|
+
tokens: {
|
|
562
|
+
backgroundColor: '#c12335',
|
|
563
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
564
|
+
color: '#ffffff'
|
|
565
|
+
}
|
|
524
566
|
},
|
|
525
567
|
{
|
|
526
568
|
if: { danger: true, focus: true, pressed: true, priority: null },
|
|
@@ -730,31 +772,11 @@ module.exports = {
|
|
|
730
772
|
},
|
|
731
773
|
rules: [
|
|
732
774
|
{ if: { open: true }, tokens: { icon: PaletteIconCaretUp } },
|
|
733
|
-
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
734
|
-
{
|
|
735
|
-
if: { selected: true },
|
|
736
|
-
tokens: { backgroundColor: '#4b286d', iconBackground: '#7c53a5' }
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
if: { hover: true, selected: true },
|
|
740
|
-
tokens: { backgroundColor: '#7c53a5', iconBackground: '#613889' }
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
if: { pressed: true, selected: true },
|
|
744
|
-
tokens: { backgroundColor: '#3f2a54', iconBackground: '#613889' }
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
if: { focus: true, selected: true },
|
|
748
|
-
tokens: {
|
|
749
|
-
backgroundColor: '#4b286d',
|
|
750
|
-
iconBackground: '#7c53a5',
|
|
751
|
-
outerBorderColor: '#4b286d'
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
775
|
{
|
|
755
776
|
if: { focus: true },
|
|
756
777
|
tokens: {
|
|
757
778
|
borderColor: '#676e73',
|
|
779
|
+
color: '#414547',
|
|
758
780
|
outerBorderColor: '#676e73',
|
|
759
781
|
outerBorderGap: 2,
|
|
760
782
|
outerBorderWidth: 2
|
|
@@ -764,13 +786,20 @@ module.exports = {
|
|
|
764
786
|
if: { pressed: true },
|
|
765
787
|
tokens: {
|
|
766
788
|
backgroundColor: '#676e73',
|
|
767
|
-
borderColor: 'rgba(0, 0, 0, 0)',
|
|
768
|
-
borderWidth: 0,
|
|
769
789
|
color: '#ffffff',
|
|
770
790
|
iconBackground: '#414547',
|
|
771
|
-
iconColor: '#ffffff'
|
|
772
|
-
|
|
773
|
-
|
|
791
|
+
iconColor: '#ffffff'
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
795
|
+
{
|
|
796
|
+
if: { inactive: true },
|
|
797
|
+
tokens: {
|
|
798
|
+
backgroundColor: '#ffffff',
|
|
799
|
+
borderWidth: 0,
|
|
800
|
+
color: '#b2b9bf',
|
|
801
|
+
iconBackground: '#f4f4f7',
|
|
802
|
+
iconColor: '#b2b9bf'
|
|
774
803
|
}
|
|
775
804
|
},
|
|
776
805
|
{
|
|
@@ -785,34 +814,19 @@ module.exports = {
|
|
|
785
814
|
},
|
|
786
815
|
{
|
|
787
816
|
if: { hover: true, selected: true },
|
|
788
|
-
tokens: { backgroundColor: '#7c53a5', iconBackground: '#
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
if: { pressed: true, selected: true },
|
|
792
|
-
tokens: { backgroundColor: '#3f2a54', iconBackground: '#7c53a5' }
|
|
817
|
+
tokens: { backgroundColor: '#7c53a5', iconBackground: '#613889' }
|
|
793
818
|
},
|
|
794
819
|
{
|
|
795
820
|
if: { focus: true, selected: true },
|
|
796
821
|
tokens: { outerBorderColor: '#4b286d' }
|
|
797
822
|
},
|
|
798
823
|
{
|
|
799
|
-
if: {
|
|
800
|
-
tokens: {
|
|
801
|
-
iconBackground: '#7c53a5',
|
|
802
|
-
outerBorderColor: '#3f2a54',
|
|
803
|
-
outerBorderGap: 2,
|
|
804
|
-
outerBorderWidth: 2
|
|
805
|
-
}
|
|
824
|
+
if: { pressed: true, selected: true },
|
|
825
|
+
tokens: { backgroundColor: '#3f2a54', iconBackground: '#613889' }
|
|
806
826
|
},
|
|
807
827
|
{
|
|
808
|
-
if: {
|
|
809
|
-
tokens: {
|
|
810
|
-
backgroundColor: '#ffffff',
|
|
811
|
-
borderWidth: 0,
|
|
812
|
-
color: '#b2b9bf',
|
|
813
|
-
iconBackground: '#f4f4f7',
|
|
814
|
-
iconColor: '#b2b9bf'
|
|
815
|
-
}
|
|
828
|
+
if: { focus: true, pressed: true, selected: true },
|
|
829
|
+
tokens: { outerBorderGap: 2, outerBorderWidth: 2 }
|
|
816
830
|
}
|
|
817
831
|
],
|
|
818
832
|
tokens: {
|
|
@@ -830,7 +844,7 @@ module.exports = {
|
|
|
830
844
|
iconAlignSelf: 'center',
|
|
831
845
|
iconBackground: '#f4f4f7',
|
|
832
846
|
iconBorderRadius: 32,
|
|
833
|
-
iconColor: '#
|
|
847
|
+
iconColor: '#414547',
|
|
834
848
|
iconPadding: 2,
|
|
835
849
|
iconPosition: 'right',
|
|
836
850
|
iconSize: 16,
|
|
@@ -1483,17 +1497,8 @@ module.exports = {
|
|
|
1483
1497
|
}
|
|
1484
1498
|
},
|
|
1485
1499
|
{
|
|
1486
|
-
if: { large: true
|
|
1487
|
-
tokens: { textFontSize: 28 }
|
|
1488
|
-
},
|
|
1489
|
-
{
|
|
1490
|
-
if: { feature: true, viewport: [ 'xs' ] },
|
|
1491
|
-
tokens: { textFontSize: 28 }
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
if: { feature: true },
|
|
1500
|
+
if: { large: true },
|
|
1495
1501
|
tokens: {
|
|
1496
|
-
labelBorderColor: '#4b286d',
|
|
1497
1502
|
textFontSize: 64,
|
|
1498
1503
|
textLineHeight: 1.125,
|
|
1499
1504
|
textTimerFontName: 'HelveticaNow',
|
|
@@ -1501,21 +1506,39 @@ module.exports = {
|
|
|
1501
1506
|
}
|
|
1502
1507
|
},
|
|
1503
1508
|
{
|
|
1504
|
-
if: {
|
|
1509
|
+
if: { feature: true },
|
|
1505
1510
|
tokens: {
|
|
1511
|
+
labelBorderColor: '#4b286d',
|
|
1506
1512
|
textFontSize: 64,
|
|
1507
1513
|
textLineHeight: 1.125,
|
|
1508
1514
|
textTimerFontName: 'HelveticaNow',
|
|
1509
1515
|
textTimerFontWeight: '300'
|
|
1510
1516
|
}
|
|
1511
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
if: { large: true, viewport: [ 'xs' ] },
|
|
1520
|
+
tokens: { textFontSize: 40 }
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
if: { feature: true, viewport: [ 'xs' ] },
|
|
1524
|
+
tokens: { textFontSize: 40 }
|
|
1525
|
+
},
|
|
1512
1526
|
{
|
|
1513
1527
|
if: { inverse: true },
|
|
1514
1528
|
tokens: { labelBorderColor: '#ffffff' }
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
if: { feature: true, inverse: true },
|
|
1532
|
+
tokens: {
|
|
1533
|
+
containerBorderColor: '#676e73',
|
|
1534
|
+
labelBorderColor: '#ffffff'
|
|
1535
|
+
}
|
|
1515
1536
|
}
|
|
1516
1537
|
],
|
|
1517
1538
|
tokens: {
|
|
1539
|
+
containerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1518
1540
|
containerBorderRadius: 6,
|
|
1541
|
+
containerBorderWidth: 2,
|
|
1519
1542
|
containerGradient: {
|
|
1520
1543
|
angle: 135,
|
|
1521
1544
|
stops: [
|
|
@@ -1530,7 +1553,9 @@ module.exports = {
|
|
|
1530
1553
|
containerPaddingLeftRight: 64,
|
|
1531
1554
|
inverseBorderColor: '#676e73',
|
|
1532
1555
|
labelBorderColor: '#414547',
|
|
1556
|
+
labelFontName: 'HelveticaNow',
|
|
1533
1557
|
labelFontSize: 16,
|
|
1558
|
+
labelFontWeight: '400',
|
|
1534
1559
|
labelLineHeight: 1.5,
|
|
1535
1560
|
textFontSize: 16,
|
|
1536
1561
|
textLineHeight: 1.5,
|
|
@@ -1555,6 +1580,9 @@ module.exports = {
|
|
|
1555
1580
|
calendarDayDefaultFontName: 'HelveticaNow',
|
|
1556
1581
|
calendarDayDefaultFontSize: 14,
|
|
1557
1582
|
calendarDayDefaultFontWeight: '400',
|
|
1583
|
+
calendarDaySelectedDisabledBackground: '#fafafa',
|
|
1584
|
+
calendarDaySelectedDisabledColor: '#ffffff',
|
|
1585
|
+
calendarDaySelectedDisabledContentBackgroundColor: '#b2b9bf',
|
|
1558
1586
|
calendarDaySelectedFocusBeforeBackground: '#ffffff',
|
|
1559
1587
|
calendarDaySelectedHoverBackground: '#ffffff',
|
|
1560
1588
|
calendarDaySelectedHoverBeforeBackground: '#ffffff',
|
|
@@ -1812,8 +1840,9 @@ module.exports = {
|
|
|
1812
1840
|
appearances: {},
|
|
1813
1841
|
rules: [],
|
|
1814
1842
|
tokens: {
|
|
1843
|
+
closeButtonBackgroundColor: '#f4f4f7',
|
|
1815
1844
|
closeButtonBorderColor: '#676e73',
|
|
1816
|
-
closeButtonBorderSize:
|
|
1845
|
+
closeButtonBorderSize: 1,
|
|
1817
1846
|
closeButtonHeight: 24,
|
|
1818
1847
|
closeButtonIconSize: 16,
|
|
1819
1848
|
closeButtonMarginBottom: 12,
|
|
@@ -1824,7 +1853,7 @@ module.exports = {
|
|
|
1824
1853
|
closeIcon: PaletteIconClose,
|
|
1825
1854
|
footnoteBackground: '#f4f4f7',
|
|
1826
1855
|
footnoteBodyBackground: '#f4f4f7',
|
|
1827
|
-
footnoteBodyPaddingBottom:
|
|
1856
|
+
footnoteBodyPaddingBottom: 32,
|
|
1828
1857
|
footnoteBodyPaddingLeft: 16,
|
|
1829
1858
|
footnoteBodyPaddingRight: 16,
|
|
1830
1859
|
footnoteBodyPaddingTop: 0,
|
|
@@ -1836,12 +1865,12 @@ module.exports = {
|
|
|
1836
1865
|
footnoteHeaderPaddingTop: 16,
|
|
1837
1866
|
headerFontName: 'HelveticaNow',
|
|
1838
1867
|
headerFontSize: 16,
|
|
1839
|
-
headerFontWeight: '
|
|
1840
|
-
headerLineHeight:
|
|
1868
|
+
headerFontWeight: '500',
|
|
1869
|
+
headerLineHeight: 1.5,
|
|
1841
1870
|
headerMargin: 16,
|
|
1842
1871
|
listItemColor: '#414547',
|
|
1843
|
-
listItemFontSize:
|
|
1844
|
-
listItemLineHeight: 1.
|
|
1872
|
+
listItemFontSize: 16,
|
|
1873
|
+
listItemLineHeight: 1.5,
|
|
1845
1874
|
listItemMarkerFontSize: 16,
|
|
1846
1875
|
listItemMarkerLineHeight: 1.5,
|
|
1847
1876
|
listItemPaddingLeft: 8,
|
|
@@ -2710,6 +2739,59 @@ module.exports = {
|
|
|
2710
2739
|
subHeadingMarginTop: 8
|
|
2711
2740
|
}
|
|
2712
2741
|
},
|
|
2742
|
+
MultiSelectFilter: {
|
|
2743
|
+
appearances: {
|
|
2744
|
+
maxHeight: {
|
|
2745
|
+
description: 'Whether MultiselectFilter modal should expand responsively to content or a set maximu height',
|
|
2746
|
+
type: 'state',
|
|
2747
|
+
values: [ true ]
|
|
2748
|
+
},
|
|
2749
|
+
maxWidth: {
|
|
2750
|
+
description: 'Whether MultiselectFilter modal should expand to content or a set maximuh width',
|
|
2751
|
+
type: 'state',
|
|
2752
|
+
values: [ true ]
|
|
2753
|
+
},
|
|
2754
|
+
viewport: {
|
|
2755
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2756
|
+
type: 'state',
|
|
2757
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
rules: [
|
|
2761
|
+
{
|
|
2762
|
+
if: { viewport: [ 'xs' ] },
|
|
2763
|
+
tokens: {
|
|
2764
|
+
buttonDirection: 'column',
|
|
2765
|
+
minHeight: '100%',
|
|
2766
|
+
minWidth: '100%'
|
|
2767
|
+
}
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
if: { maxHeight: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
2771
|
+
tokens: { maxHeightSize: 480 }
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
if: { maxWidth: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
2775
|
+
tokens: { maxWidthSize: 544 }
|
|
2776
|
+
}
|
|
2777
|
+
],
|
|
2778
|
+
tokens: {
|
|
2779
|
+
buttonDirection: 'row',
|
|
2780
|
+
headerFontColor: '#414547',
|
|
2781
|
+
headerFontName: 'HelveticaNow',
|
|
2782
|
+
headerFontSize: 16,
|
|
2783
|
+
headerFontWeight: '500',
|
|
2784
|
+
headerLineHeight: 1.5,
|
|
2785
|
+
maxHeightSize: 0,
|
|
2786
|
+
maxWidthSize: 0,
|
|
2787
|
+
minHeight: 412,
|
|
2788
|
+
minWidth: 320,
|
|
2789
|
+
subHeaderFontName: 'HelveticaNow',
|
|
2790
|
+
subHeaderFontSize: 14,
|
|
2791
|
+
subHeaderFontWeight: '400',
|
|
2792
|
+
subHeaderLineHeight: 1.4
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2713
2795
|
NavigationBar: {
|
|
2714
2796
|
appearances: {
|
|
2715
2797
|
expanded: {
|
|
@@ -3232,7 +3314,7 @@ module.exports = {
|
|
|
3232
3314
|
borderRadius: 6,
|
|
3233
3315
|
borderWidth: 1,
|
|
3234
3316
|
flex: 1,
|
|
3235
|
-
outerBorderColor: '
|
|
3317
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3236
3318
|
outerBorderGap: 0,
|
|
3237
3319
|
outerBorderWidth: 0,
|
|
3238
3320
|
paddingBottom: 0,
|
|
@@ -3557,6 +3639,11 @@ module.exports = {
|
|
|
3557
3639
|
type: 'state',
|
|
3558
3640
|
values: [ true ]
|
|
3559
3641
|
},
|
|
3642
|
+
pressed: {
|
|
3643
|
+
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.',
|
|
3644
|
+
type: 'state',
|
|
3645
|
+
values: [ true ]
|
|
3646
|
+
},
|
|
3560
3647
|
viewport: {
|
|
3561
3648
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3562
3649
|
type: 'state',
|
|
@@ -3564,28 +3651,45 @@ module.exports = {
|
|
|
3564
3651
|
}
|
|
3565
3652
|
},
|
|
3566
3653
|
rules: [
|
|
3567
|
-
{ if: { hover: true }, tokens: { color: '#1f5c09' } },
|
|
3568
|
-
{ if: { focus: true }, tokens: { color: '#1f5c09' } },
|
|
3569
3654
|
{
|
|
3570
3655
|
if: { viewport: 'xl' },
|
|
3571
3656
|
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
3572
3657
|
},
|
|
3573
|
-
{
|
|
3658
|
+
{
|
|
3659
|
+
if: { focus: true },
|
|
3660
|
+
tokens: { outerBorderColor: '#2b8000', textLine: 'none' }
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
if: { hover: true },
|
|
3664
|
+
tokens: {
|
|
3665
|
+
color: '#2b8000',
|
|
3666
|
+
imageDimension: 140,
|
|
3667
|
+
textLine: 'underline'
|
|
3668
|
+
}
|
|
3669
|
+
},
|
|
3574
3670
|
{
|
|
3575
3671
|
if: { hover: true, viewport: 'xl' },
|
|
3576
3672
|
tokens: { imageDimension: 184 }
|
|
3577
3673
|
},
|
|
3578
3674
|
{
|
|
3579
|
-
if: {
|
|
3580
|
-
tokens: {
|
|
3675
|
+
if: { pressed: true },
|
|
3676
|
+
tokens: { color: '#1f5c09', textLine: 'none' }
|
|
3677
|
+
},
|
|
3678
|
+
{
|
|
3679
|
+
if: { focus: true, pressed: true },
|
|
3680
|
+
tokens: { color: '#1f5c09', outerBorderColor: '#1f5c09' }
|
|
3581
3681
|
}
|
|
3582
3682
|
],
|
|
3583
3683
|
tokens: {
|
|
3584
3684
|
color: '#2c2e30',
|
|
3585
3685
|
contentAlignItems: 'center',
|
|
3586
3686
|
contentDirection: 'column',
|
|
3587
|
-
contentMaxDimension:
|
|
3687
|
+
contentMaxDimension: 168,
|
|
3588
3688
|
contentSpace: 3,
|
|
3689
|
+
fontName: 'HelveticaNow',
|
|
3690
|
+
fontSize: 16,
|
|
3691
|
+
fontWeight: '700',
|
|
3692
|
+
gap: 32,
|
|
3589
3693
|
imageDimension: 128,
|
|
3590
3694
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3591
3695
|
textAlign: 'center',
|
|
@@ -4498,9 +4602,9 @@ module.exports = {
|
|
|
4498
4602
|
connectorCompletedColor: '#ffffff',
|
|
4499
4603
|
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4500
4604
|
knobBorderColor: '#ffffff',
|
|
4501
|
-
knobCompletedBackgroundColor: '
|
|
4605
|
+
knobCompletedBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4502
4606
|
knobCompletedBorderColor: '#ffffff',
|
|
4503
|
-
knobCurrentBackgroundColor: '
|
|
4607
|
+
knobCurrentBackgroundColor: '#ffffff',
|
|
4504
4608
|
knobCurrentBorderColor: '#ffffff',
|
|
4505
4609
|
knobCurrentInnerColor: '#ffffff',
|
|
4506
4610
|
labelColor: '#ffffff',
|
|
@@ -4524,17 +4628,17 @@ module.exports = {
|
|
|
4524
4628
|
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4525
4629
|
knobBorderColor: '#676e73',
|
|
4526
4630
|
knobBorderWidth: 1,
|
|
4527
|
-
knobCompletedBackgroundColor: '
|
|
4631
|
+
knobCompletedBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4528
4632
|
knobCompletedBorderColor: '#7c53a5',
|
|
4529
|
-
knobCompletedPaddingLeft:
|
|
4530
|
-
knobCompletedPaddingTop:
|
|
4531
|
-
knobCurrentBackgroundColor: '
|
|
4633
|
+
knobCompletedPaddingLeft: 2,
|
|
4634
|
+
knobCompletedPaddingTop: 2,
|
|
4635
|
+
knobCurrentBackgroundColor: '#7c53a5',
|
|
4532
4636
|
knobCurrentBorderColor: '#7c53a5',
|
|
4533
4637
|
knobCurrentBorderWidth: 2,
|
|
4534
4638
|
knobCurrentInnerColor: '#7c53a5',
|
|
4535
4639
|
knobCurrentInnerSize: 8,
|
|
4536
|
-
knobCurrentPaddingLeft:
|
|
4537
|
-
knobCurrentPaddingTop:
|
|
4640
|
+
knobCurrentPaddingLeft: null,
|
|
4641
|
+
knobCurrentPaddingTop: null,
|
|
4538
4642
|
knobSize: 16,
|
|
4539
4643
|
labelColor: '#414547',
|
|
4540
4644
|
labelCurrentColor: '#7c53a5',
|
|
@@ -4542,7 +4646,7 @@ module.exports = {
|
|
|
4542
4646
|
labelCurrentFontWeight: '700',
|
|
4543
4647
|
labelDirection: 'column',
|
|
4544
4648
|
labelFontName: 'HelveticaNow',
|
|
4545
|
-
labelFontSize:
|
|
4649
|
+
labelFontSize: 14,
|
|
4546
4650
|
labelFontWeight: '400',
|
|
4547
4651
|
labelGap: 0,
|
|
4548
4652
|
labelLineHeight: 1.42857142857,
|
|
@@ -4551,7 +4655,13 @@ module.exports = {
|
|
|
4551
4655
|
labelPaddingRight: 16,
|
|
4552
4656
|
showStepLabel: false,
|
|
4553
4657
|
showStepName: true,
|
|
4554
|
-
showStepTrackerLabel: true
|
|
4658
|
+
showStepTrackerLabel: true,
|
|
4659
|
+
stepLabelColor: '#676e73',
|
|
4660
|
+
stepLabelFontName: 'HelveticaNow',
|
|
4661
|
+
stepLabelFontSize: 12,
|
|
4662
|
+
stepLabelFontWeight: '700',
|
|
4663
|
+
stepLabelLineHeight: 1.33333333333,
|
|
4664
|
+
textStepTrackerLabel: 1
|
|
4555
4665
|
}
|
|
4556
4666
|
},
|
|
4557
4667
|
StoryCard: {
|
|
@@ -4880,9 +4990,11 @@ module.exports = {
|
|
|
4880
4990
|
{
|
|
4881
4991
|
if: { inactive: true },
|
|
4882
4992
|
tokens: {
|
|
4883
|
-
backgroundColor: '#
|
|
4993
|
+
backgroundColor: '#ffffff',
|
|
4884
4994
|
borderWidth: 0,
|
|
4885
|
-
color: '#
|
|
4995
|
+
color: '#b2b9bf',
|
|
4996
|
+
iconBackground: '#f4f4f7',
|
|
4997
|
+
iconColor: '#b2b9bf'
|
|
4886
4998
|
}
|
|
4887
4999
|
}
|
|
4888
5000
|
],
|
|
@@ -4919,8 +5031,7 @@ module.exports = {
|
|
|
4919
5031
|
paddingRight: 8,
|
|
4920
5032
|
paddingTop: 8,
|
|
4921
5033
|
shadow: null,
|
|
4922
|
-
textAlign: 'center'
|
|
4923
|
-
width: null
|
|
5034
|
+
textAlign: 'center'
|
|
4924
5035
|
}
|
|
4925
5036
|
},
|
|
4926
5037
|
TermsAndConditions: {
|
|
@@ -5140,8 +5251,22 @@ module.exports = {
|
|
|
5140
5251
|
}
|
|
5141
5252
|
},
|
|
5142
5253
|
Toast: {
|
|
5143
|
-
appearances: {
|
|
5144
|
-
|
|
5254
|
+
appearances: {
|
|
5255
|
+
viewport: {
|
|
5256
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5257
|
+
type: 'state',
|
|
5258
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5259
|
+
}
|
|
5260
|
+
},
|
|
5261
|
+
rules: [
|
|
5262
|
+
{
|
|
5263
|
+
if: { viewport: [ 'xs' ] },
|
|
5264
|
+
tokens: {
|
|
5265
|
+
animationPaddingBottomAfter: 8,
|
|
5266
|
+
animationPaddingTopAfter: 8
|
|
5267
|
+
}
|
|
5268
|
+
}
|
|
5269
|
+
],
|
|
5145
5270
|
tokens: {
|
|
5146
5271
|
animationBackgroundColorAfter: '#f4f4f7',
|
|
5147
5272
|
animationBackgroundColorBefore: '#4b286d',
|
|
@@ -5155,6 +5280,8 @@ module.exports = {
|
|
|
5155
5280
|
animationPaddingBottomBefore: 0,
|
|
5156
5281
|
animationPaddingTopAfter: 16,
|
|
5157
5282
|
animationPaddingTopBefore: 0,
|
|
5283
|
+
chevronlinkFontName: 'HelveticaNow',
|
|
5284
|
+
chevronlinkFontWeight: '400',
|
|
5158
5285
|
containerBackgroundColor: '#4b286d',
|
|
5159
5286
|
containerGap: 10
|
|
5160
5287
|
}
|
|
@@ -5913,5 +6040,5 @@ module.exports = {
|
|
|
5913
6040
|
tokens: { size: 96 }
|
|
5914
6041
|
}
|
|
5915
6042
|
},
|
|
5916
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6043
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.34.0' }
|
|
5917
6044
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.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.21.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.34.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.14"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.21.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|