@telus-uds/theme-koodo 3.30.0 → 4.0.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 +409 -138
- package/build/android/theme.json +589 -116
- package/build/ios/schema.json +409 -138
- package/build/ios/theme.json +589 -116
- package/build/rn/schema.json +409 -138
- package/build/rn/theme.js +260 -106
- package/package.json +2 -2
- package/theme.json +384 -109
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 Fri, 02 Jun 2023 00:26:16 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -145,74 +145,83 @@ module.exports = {
|
|
|
145
145
|
rules: [
|
|
146
146
|
{
|
|
147
147
|
if: { background: 'lightest' },
|
|
148
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
148
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
if: { background: 'lighter' },
|
|
152
|
-
tokens: { backgroundColor: '#fafafa' }
|
|
152
|
+
tokens: { backgroundColor: '#fafafa', borderColor: '#fafafa' }
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
if: { background: 'light' },
|
|
156
|
-
tokens: { backgroundColor: '#efefef' }
|
|
156
|
+
tokens: { backgroundColor: '#efefef', borderColor: '#efefef' }
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
if: { background: 'dark' },
|
|
160
|
-
tokens: { backgroundColor: '#666666' }
|
|
160
|
+
tokens: { backgroundColor: '#666666', borderColor: '#666666' }
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
if: { background: 'darker' },
|
|
164
|
-
tokens: { backgroundColor: '#595959' }
|
|
164
|
+
tokens: { backgroundColor: '#595959', borderColor: '#595959' }
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
if: { background: 'darkest' },
|
|
168
|
-
tokens: { backgroundColor: '#000000' }
|
|
168
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
if: { background: 'critical' },
|
|
172
|
-
tokens: { backgroundColor: '#b8373e' }
|
|
172
|
+
tokens: { backgroundColor: '#b8373e', borderColor: '#b8373e' }
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
if: { background: 'danger' },
|
|
176
|
-
tokens: { backgroundColor: '#f8dde3' }
|
|
176
|
+
tokens: { backgroundColor: '#f8dde3', borderColor: '#f8dde3' }
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
if: { background: 'warning' },
|
|
180
|
-
tokens: { backgroundColor: '#feeec7' }
|
|
180
|
+
tokens: { backgroundColor: '#feeec7', borderColor: '#feeec7' }
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
if: { background: 'positive' },
|
|
184
|
-
tokens: { backgroundColor: '#e5f7fb' }
|
|
184
|
+
tokens: { backgroundColor: '#e5f7fb', borderColor: '#e5f7fb' }
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
if: { background: 'brand' },
|
|
188
|
-
tokens: { backgroundColor: '#016b6a' }
|
|
188
|
+
tokens: { backgroundColor: '#016b6a', borderColor: '#016b6a' }
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
if: { background: 'white' },
|
|
192
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
192
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
if: { background: 'black' },
|
|
196
|
-
tokens: { backgroundColor: '#000000' }
|
|
196
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
if: { background: 'featurePrimary' },
|
|
200
|
-
tokens: { backgroundColor: '#7c1366' }
|
|
200
|
+
tokens: { backgroundColor: '#7c1366', borderColor: '#7c1366' }
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
if: { background: 'featureSecondary' },
|
|
204
|
-
tokens: { backgroundColor: '#17367d' }
|
|
204
|
+
tokens: { backgroundColor: '#17367d', borderColor: '#17367d' }
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
if: { background: 'featureNeutral' },
|
|
208
|
-
tokens: { backgroundColor: '#595959' }
|
|
208
|
+
tokens: { backgroundColor: '#595959', borderColor: '#595959' }
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
if: { background: 'featureBrand' },
|
|
212
|
-
tokens: { backgroundColor: '#016b6a' }
|
|
212
|
+
tokens: { backgroundColor: '#016b6a', borderColor: '#016b6a' }
|
|
213
213
|
}
|
|
214
214
|
],
|
|
215
|
-
tokens: {
|
|
215
|
+
tokens: {
|
|
216
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
217
|
+
borderBottomLeftRadius: 0,
|
|
218
|
+
borderBottomRightRadius: 0,
|
|
219
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
220
|
+
borderTopLeftRadius: 0,
|
|
221
|
+
borderTopRightRadius: 0,
|
|
222
|
+
borderWidth: 0,
|
|
223
|
+
gradient: null
|
|
224
|
+
}
|
|
216
225
|
},
|
|
217
226
|
Breadcrumbs: {
|
|
218
227
|
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
@@ -672,8 +681,8 @@ module.exports = {
|
|
|
672
681
|
{
|
|
673
682
|
if: { pressed: true },
|
|
674
683
|
tokens: {
|
|
675
|
-
backgroundColor: '#
|
|
676
|
-
borderColor: '#
|
|
684
|
+
backgroundColor: '#1b4746',
|
|
685
|
+
borderColor: '#1b4746',
|
|
677
686
|
color: '#ffffff'
|
|
678
687
|
}
|
|
679
688
|
},
|
|
@@ -683,21 +692,13 @@ module.exports = {
|
|
|
683
692
|
},
|
|
684
693
|
{
|
|
685
694
|
if: { hover: true },
|
|
686
|
-
tokens: { backgroundColor: '#1b4746', iconColor: '#1b4746' }
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
if: { selected: true },
|
|
690
695
|
tokens: {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
696
|
+
backgroundColor: '#1b4746',
|
|
697
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
698
|
+
color: '#ffffff',
|
|
699
|
+
iconColor: '#ffffff'
|
|
695
700
|
}
|
|
696
701
|
},
|
|
697
|
-
{
|
|
698
|
-
if: { focus: true, pressed: true },
|
|
699
|
-
tokens: { outerBorderColor: '#016b6a' }
|
|
700
|
-
},
|
|
701
702
|
{
|
|
702
703
|
if: { inactive: true },
|
|
703
704
|
tokens: {
|
|
@@ -710,37 +711,68 @@ module.exports = {
|
|
|
710
711
|
{
|
|
711
712
|
if: { selected: true },
|
|
712
713
|
tokens: {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
714
|
+
backgroundColor: '#016b6a',
|
|
715
|
+
color: '#ffffff',
|
|
716
|
+
iconColor: '#ffffff',
|
|
717
|
+
outerBorderColor: 'transparent'
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
if: { hover: true, selected: true },
|
|
722
|
+
tokens: {
|
|
723
|
+
backgroundColor: '#1b4746',
|
|
724
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
717
725
|
}
|
|
718
726
|
},
|
|
719
727
|
{
|
|
720
728
|
if: { focus: true, selected: true },
|
|
721
|
-
tokens: {
|
|
729
|
+
tokens: {
|
|
730
|
+
backgroundColor: '#016b6a',
|
|
731
|
+
outerBorderColor: '#016b6a',
|
|
732
|
+
outerBorderGap: 2,
|
|
733
|
+
outerBorderWidth: 1
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
if: { hover: true, pressed: true, selected: true },
|
|
738
|
+
tokens: {
|
|
739
|
+
backgroundColor: '#1b4746',
|
|
740
|
+
borderColor: 'rgba(0, 0, 0, 0)'
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
if: { focus: true, pressed: true, selected: true },
|
|
745
|
+
tokens: { backgroundColor: '#1b4746', outerBorderColor: '#1b4746' }
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
if: { inactive: true },
|
|
749
|
+
tokens: {
|
|
750
|
+
backgroundColor: '#efefef',
|
|
751
|
+
color: '#c9c8c8',
|
|
752
|
+
iconColor: '#c9c8c8'
|
|
753
|
+
}
|
|
722
754
|
}
|
|
723
755
|
],
|
|
724
756
|
tokens: {
|
|
725
757
|
alignSelf: 'flex-start',
|
|
726
|
-
backgroundColor: '#
|
|
727
|
-
borderColor: '#
|
|
758
|
+
backgroundColor: '#ffffff',
|
|
759
|
+
borderColor: '#016b6a',
|
|
728
760
|
borderRadius: 4,
|
|
729
|
-
borderWidth:
|
|
730
|
-
color: '#
|
|
761
|
+
borderWidth: 1,
|
|
762
|
+
color: '#016b6a',
|
|
731
763
|
dividerColor: '#016b6a',
|
|
732
764
|
fontName: 'StagSans',
|
|
733
765
|
fontSize: 14,
|
|
734
766
|
fontWeight: '600',
|
|
735
767
|
icon: PaletteIconChevronDown,
|
|
736
768
|
iconAlignSelf: 'center',
|
|
737
|
-
iconBackground: '
|
|
769
|
+
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
738
770
|
iconBorderRadius: 32,
|
|
739
771
|
iconColor: '#016b6a',
|
|
740
772
|
iconPadding: 4,
|
|
741
773
|
iconPosition: 'right',
|
|
742
774
|
iconSize: 20,
|
|
743
|
-
iconSpace:
|
|
775
|
+
iconSpace: 0,
|
|
744
776
|
iconTranslateX: 0,
|
|
745
777
|
iconTranslateY: 0,
|
|
746
778
|
lineHeight: 1.5,
|
|
@@ -749,7 +781,7 @@ module.exports = {
|
|
|
749
781
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
750
782
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
751
783
|
outerBorderGap: 2,
|
|
752
|
-
outerBorderWidth:
|
|
784
|
+
outerBorderWidth: 1,
|
|
753
785
|
paddingBottom: 8,
|
|
754
786
|
paddingLeft: 24,
|
|
755
787
|
paddingRight: 16,
|
|
@@ -935,9 +967,9 @@ module.exports = {
|
|
|
935
967
|
],
|
|
936
968
|
tokens: {
|
|
937
969
|
backgroundColor: '#ffffff',
|
|
938
|
-
borderColor:
|
|
939
|
-
borderRadius:
|
|
940
|
-
borderWidth:
|
|
970
|
+
borderColor: '#c9c8c8',
|
|
971
|
+
borderRadius: 8,
|
|
972
|
+
borderWidth: 1,
|
|
941
973
|
contentAlignItems: 'stretch',
|
|
942
974
|
contentFlexGrow: 0,
|
|
943
975
|
contentFlexShrink: 1,
|
|
@@ -1238,15 +1270,15 @@ module.exports = {
|
|
|
1238
1270
|
},
|
|
1239
1271
|
{
|
|
1240
1272
|
if: { size: 'large' },
|
|
1241
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1273
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1242
1274
|
},
|
|
1243
1275
|
{
|
|
1244
1276
|
if: { size: 'small' },
|
|
1245
|
-
tokens: { fontSize: 14, iconSize: 16
|
|
1277
|
+
tokens: { fontSize: 14, iconSize: 16 }
|
|
1246
1278
|
},
|
|
1247
1279
|
{
|
|
1248
1280
|
if: { size: 'micro' },
|
|
1249
|
-
tokens: { fontSize: 12, iconSize: 16
|
|
1281
|
+
tokens: { fontSize: 12, iconSize: 16 }
|
|
1250
1282
|
}
|
|
1251
1283
|
],
|
|
1252
1284
|
tokens: {
|
|
@@ -1258,8 +1290,7 @@ module.exports = {
|
|
|
1258
1290
|
leftIcon: PaletteIconChevronLeft,
|
|
1259
1291
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1260
1292
|
rightIcon: PaletteIconChevronRight,
|
|
1261
|
-
textLine: 'none'
|
|
1262
|
-
textLineHeight: 2.13
|
|
1293
|
+
textLine: 'none'
|
|
1263
1294
|
}
|
|
1264
1295
|
},
|
|
1265
1296
|
Countdown: {
|
|
@@ -1479,7 +1510,42 @@ module.exports = {
|
|
|
1479
1510
|
tokens: { icon: PaletteIconChevronUp }
|
|
1480
1511
|
}
|
|
1481
1512
|
],
|
|
1482
|
-
tokens: {
|
|
1513
|
+
tokens: {
|
|
1514
|
+
backgroundColor: null,
|
|
1515
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1516
|
+
borderWidth: 0,
|
|
1517
|
+
icon: PaletteIconChevronDown,
|
|
1518
|
+
iconColor: '#000000',
|
|
1519
|
+
iconGap: 8,
|
|
1520
|
+
iconPaddingTop: 4,
|
|
1521
|
+
iconPosition: 'left',
|
|
1522
|
+
iconSize: 16,
|
|
1523
|
+
justifyContent: 'flex-start',
|
|
1524
|
+
paddingBottom: 0,
|
|
1525
|
+
paddingLeft: 0,
|
|
1526
|
+
paddingRight: 0,
|
|
1527
|
+
paddingTop: 0,
|
|
1528
|
+
size: 4,
|
|
1529
|
+
verticalAlign: 'middle'
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
ExpandCollapseMiniPanel: {
|
|
1533
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1534
|
+
rules: [ { if: { compact: true }, tokens: {} } ],
|
|
1535
|
+
tokens: {
|
|
1536
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1537
|
+
borderRadius: 0,
|
|
1538
|
+
borderWidth: 0,
|
|
1539
|
+
collapseDuration: 250,
|
|
1540
|
+
contentPaddingBottom: 16,
|
|
1541
|
+
contentPaddingLeft: 0,
|
|
1542
|
+
contentPaddingRight: 0,
|
|
1543
|
+
contentPaddingTop: 0,
|
|
1544
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1545
|
+
expandDividerWidth: 0,
|
|
1546
|
+
expandDuration: 300,
|
|
1547
|
+
marginBottom: 0
|
|
1548
|
+
}
|
|
1483
1549
|
},
|
|
1484
1550
|
ExpandCollapsePanel: {
|
|
1485
1551
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1493,9 +1559,9 @@ module.exports = {
|
|
|
1493
1559
|
contentPaddingLeft: 16,
|
|
1494
1560
|
contentPaddingRight: 16,
|
|
1495
1561
|
contentPaddingTop: 16,
|
|
1496
|
-
expandDividerColor:
|
|
1562
|
+
expandDividerColor: null,
|
|
1563
|
+
expandDividerWidth: null,
|
|
1497
1564
|
expandDuration: 300,
|
|
1498
|
-
expanddDividerWidth: 0,
|
|
1499
1565
|
marginBottom: 8
|
|
1500
1566
|
}
|
|
1501
1567
|
},
|
|
@@ -2123,7 +2189,7 @@ module.exports = {
|
|
|
2123
2189
|
blockFontName: 'StagSans',
|
|
2124
2190
|
blockFontSize: 12,
|
|
2125
2191
|
blockFontWeight: '600',
|
|
2126
|
-
blockLineHeight: 1.
|
|
2192
|
+
blockLineHeight: 1.6,
|
|
2127
2193
|
iconSize: 16
|
|
2128
2194
|
}
|
|
2129
2195
|
},
|
|
@@ -2145,7 +2211,7 @@ module.exports = {
|
|
|
2145
2211
|
blockFontName: 'StagSans',
|
|
2146
2212
|
blockFontSize: 16,
|
|
2147
2213
|
blockFontWeight: '600',
|
|
2148
|
-
blockLineHeight: 1.
|
|
2214
|
+
blockLineHeight: 1.3,
|
|
2149
2215
|
borderRadius: 4,
|
|
2150
2216
|
color: '#016b6a',
|
|
2151
2217
|
icon: null,
|
|
@@ -3425,28 +3491,44 @@ module.exports = {
|
|
|
3425
3491
|
{
|
|
3426
3492
|
if: { hover: true },
|
|
3427
3493
|
tokens: {
|
|
3494
|
+
borderColor: '#666666',
|
|
3428
3495
|
outerBorderColor: '#efefef',
|
|
3429
3496
|
outerBorderWidth: 2,
|
|
3430
|
-
|
|
3497
|
+
radioOuterBorderColor: '#17367d',
|
|
3498
|
+
radioOuterBorderGap: 2,
|
|
3499
|
+
radioOuterBorderWidth: 1
|
|
3431
3500
|
}
|
|
3432
3501
|
},
|
|
3433
3502
|
{
|
|
3434
|
-
|
|
3435
|
-
if: { pressed: true },
|
|
3503
|
+
if: { focus: true },
|
|
3436
3504
|
tokens: {
|
|
3437
|
-
|
|
3438
|
-
|
|
3505
|
+
outerBorderColor: '#17367d',
|
|
3506
|
+
outerBorderGap: 2,
|
|
3439
3507
|
outerBorderWidth: 2,
|
|
3440
|
-
radioInputBorderColor: '#
|
|
3508
|
+
radioInputBorderColor: '#016b6a',
|
|
3509
|
+
radioOuterBorderColor: '#17367d',
|
|
3510
|
+
radioOuterBorderGap: 2,
|
|
3511
|
+
radioOuterBorderWidth: 1
|
|
3441
3512
|
}
|
|
3442
3513
|
},
|
|
3443
3514
|
{
|
|
3444
|
-
if: {
|
|
3515
|
+
if: { checked: true },
|
|
3445
3516
|
tokens: {
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3517
|
+
borderColor: '#c9c8c8',
|
|
3518
|
+
radioInputBorderColor: '#016b6a',
|
|
3519
|
+
radioInputBorderWidth: 2
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
{
|
|
3523
|
+
description: 'Pressed state matches hover state plus light grey background',
|
|
3524
|
+
if: { pressed: true },
|
|
3525
|
+
tokens: {
|
|
3526
|
+
backgroundColor: '#efefef',
|
|
3527
|
+
outerBorderColor: '#c9c8c8',
|
|
3528
|
+
outerBorderGap: 0,
|
|
3529
|
+
outerBorderWidth: 1,
|
|
3530
|
+
radioOuterBorderColor: '#17367d',
|
|
3531
|
+
radioOuterBorderGap: 2
|
|
3450
3532
|
}
|
|
3451
3533
|
},
|
|
3452
3534
|
{
|
|
@@ -3455,8 +3537,13 @@ module.exports = {
|
|
|
3455
3537
|
backgroundColor: '#efefef',
|
|
3456
3538
|
borderColor: 'transparent',
|
|
3457
3539
|
color: '#666666',
|
|
3458
|
-
|
|
3459
|
-
|
|
3540
|
+
radioCheckedBackgroundColor: '#c9c8c8',
|
|
3541
|
+
radioInputBackgroundColor: '#c9c8c8',
|
|
3542
|
+
radioInputBorderColor: '#c9c8c8',
|
|
3543
|
+
radioInputSize: 16,
|
|
3544
|
+
radioOuterBorderColor: '#c9c8c8',
|
|
3545
|
+
radioOuterBorderGap: 2,
|
|
3546
|
+
radioOuterBorderWidth: 1
|
|
3460
3547
|
}
|
|
3461
3548
|
},
|
|
3462
3549
|
{
|
|
@@ -3470,7 +3557,7 @@ module.exports = {
|
|
|
3470
3557
|
],
|
|
3471
3558
|
tokens: {
|
|
3472
3559
|
backgroundColor: '#ffffff',
|
|
3473
|
-
borderColor: '#
|
|
3560
|
+
borderColor: '#c9c8c8',
|
|
3474
3561
|
borderRadius: 4,
|
|
3475
3562
|
borderWidth: 1,
|
|
3476
3563
|
color: '#000000',
|
|
@@ -3485,22 +3572,22 @@ module.exports = {
|
|
|
3485
3572
|
fontWeight: '700',
|
|
3486
3573
|
letterSpacing: 0,
|
|
3487
3574
|
lineHeight: 1.4,
|
|
3488
|
-
minWidth:
|
|
3575
|
+
minWidth: 288,
|
|
3489
3576
|
outerBorderColor: 'transparent',
|
|
3490
3577
|
outerBorderGap: 0,
|
|
3491
3578
|
outerBorderWidth: 0,
|
|
3492
3579
|
paddingBottom: 16,
|
|
3493
|
-
paddingLeft:
|
|
3580
|
+
paddingLeft: 8,
|
|
3494
3581
|
paddingRight: 16,
|
|
3495
|
-
paddingTop:
|
|
3582
|
+
paddingTop: 12,
|
|
3496
3583
|
radioCheckedBackgroundColor: '#016b6a',
|
|
3497
|
-
radioCheckedSize:
|
|
3584
|
+
radioCheckedSize: 16,
|
|
3498
3585
|
radioInputBackgroundColor: '#ffffff',
|
|
3499
3586
|
radioInputBorderColor: '#016b6a',
|
|
3500
3587
|
radioInputBorderWidth: 2,
|
|
3501
3588
|
radioInputOutlineColor: 'rgba(0, 0, 0, 0)',
|
|
3502
3589
|
radioInputOutlineWidth: 0,
|
|
3503
|
-
radioInputSize:
|
|
3590
|
+
radioInputSize: 24,
|
|
3504
3591
|
radioOuterBorderColor: 'transparent',
|
|
3505
3592
|
radioOuterBorderGap: 0,
|
|
3506
3593
|
radioOuterBorderWidth: 0,
|
|
@@ -3511,6 +3598,11 @@ module.exports = {
|
|
|
3511
3598
|
},
|
|
3512
3599
|
RadioCardGroup: {
|
|
3513
3600
|
appearances: {
|
|
3601
|
+
fullWidth: {
|
|
3602
|
+
description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
|
|
3603
|
+
type: 'variant',
|
|
3604
|
+
values: [ true ]
|
|
3605
|
+
},
|
|
3514
3606
|
viewport: {
|
|
3515
3607
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3516
3608
|
type: 'state',
|
|
@@ -3519,11 +3611,11 @@ module.exports = {
|
|
|
3519
3611
|
},
|
|
3520
3612
|
rules: [
|
|
3521
3613
|
{
|
|
3522
|
-
if: { viewport: [ 'lg', 'xl' ] },
|
|
3523
|
-
tokens: { direction: '
|
|
3614
|
+
if: { fullWidth: null, viewport: [ 'md', 'lg', 'xl' ] },
|
|
3615
|
+
tokens: { direction: 'row', space: 5 }
|
|
3524
3616
|
}
|
|
3525
3617
|
],
|
|
3526
|
-
tokens: { direction: '
|
|
3618
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
3527
3619
|
},
|
|
3528
3620
|
RadioGroup: {
|
|
3529
3621
|
appearances: {},
|
|
@@ -3610,28 +3702,30 @@ module.exports = {
|
|
|
3610
3702
|
rules: [
|
|
3611
3703
|
{
|
|
3612
3704
|
if: { hover: true, inactive: null },
|
|
3613
|
-
tokens: {
|
|
3614
|
-
outerBackgroundColor: '#efefef',
|
|
3615
|
-
outerBorderColor: '#efefef'
|
|
3616
|
-
}
|
|
3705
|
+
tokens: { backgroundColor: '#e6e6e6' }
|
|
3617
3706
|
},
|
|
3618
3707
|
{
|
|
3619
|
-
if: { focus: true
|
|
3620
|
-
tokens: { borderColor: '#016b6a', borderWidth:
|
|
3708
|
+
if: { focus: true },
|
|
3709
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
3621
3710
|
},
|
|
3622
3711
|
{
|
|
3623
3712
|
if: { inactive: true },
|
|
3624
|
-
tokens: {
|
|
3713
|
+
tokens: {
|
|
3714
|
+
backgroundColor: '#efefef',
|
|
3715
|
+
borderColor: '#efefef',
|
|
3716
|
+
color: '#666666',
|
|
3717
|
+
placeholderColor: '#666666'
|
|
3718
|
+
}
|
|
3625
3719
|
}
|
|
3626
3720
|
],
|
|
3627
3721
|
tokens: {
|
|
3628
3722
|
backgroundColor: '#ffffff',
|
|
3629
|
-
borderColor: '#
|
|
3630
|
-
borderRadius:
|
|
3723
|
+
borderColor: '#000000',
|
|
3724
|
+
borderRadius: 4,
|
|
3631
3725
|
borderWidth: 1,
|
|
3632
|
-
buttonsGap:
|
|
3726
|
+
buttonsGap: 2,
|
|
3633
3727
|
clearButtonIcon: PaletteIconTimes,
|
|
3634
|
-
color: '#
|
|
3728
|
+
color: '#000000',
|
|
3635
3729
|
fontName: 'StagSans',
|
|
3636
3730
|
fontSize: 16,
|
|
3637
3731
|
fontWeight: '400',
|
|
@@ -3639,12 +3733,12 @@ module.exports = {
|
|
|
3639
3733
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3640
3734
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3641
3735
|
outerBorderRadius: 32,
|
|
3642
|
-
outerBorderWidth:
|
|
3643
|
-
paddingBottom:
|
|
3644
|
-
paddingLeft:
|
|
3645
|
-
paddingRight:
|
|
3646
|
-
paddingTop:
|
|
3647
|
-
placeholderColor: '#
|
|
3736
|
+
outerBorderWidth: 0,
|
|
3737
|
+
paddingBottom: 12,
|
|
3738
|
+
paddingLeft: 16,
|
|
3739
|
+
paddingRight: 6,
|
|
3740
|
+
paddingTop: 12,
|
|
3741
|
+
placeholderColor: '#000000',
|
|
3648
3742
|
submitButtonIcon: PaletteIconSpyglass
|
|
3649
3743
|
}
|
|
3650
3744
|
},
|
|
@@ -3680,7 +3774,15 @@ module.exports = {
|
|
|
3680
3774
|
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
3681
3775
|
},
|
|
3682
3776
|
{
|
|
3683
|
-
if: { hover: true },
|
|
3777
|
+
if: { hover: true, priority: null },
|
|
3778
|
+
tokens: {
|
|
3779
|
+
backgroundColor: '#016b6a',
|
|
3780
|
+
borderColor: '#016b6a',
|
|
3781
|
+
iconColor: '#ffffff'
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
if: { hover: true, priority: 'high' },
|
|
3684
3786
|
tokens: {
|
|
3685
3787
|
backgroundColor: '#1b4746',
|
|
3686
3788
|
borderColor: '#1b4746',
|
|
@@ -3690,29 +3792,48 @@ module.exports = {
|
|
|
3690
3792
|
{
|
|
3691
3793
|
if: { focus: true },
|
|
3692
3794
|
tokens: {
|
|
3693
|
-
backgroundColor: '
|
|
3795
|
+
backgroundColor: '#ffffff',
|
|
3694
3796
|
borderColor: '#016b6a',
|
|
3695
|
-
borderWidth:
|
|
3797
|
+
borderWidth: 3,
|
|
3696
3798
|
iconColor: '#016b6a'
|
|
3697
3799
|
}
|
|
3698
3800
|
},
|
|
3699
3801
|
{
|
|
3700
3802
|
if: { pressed: true },
|
|
3701
3803
|
tokens: {
|
|
3702
|
-
backgroundColor: '#
|
|
3804
|
+
backgroundColor: '#1b4746',
|
|
3703
3805
|
borderColor: null,
|
|
3704
3806
|
borderWidth: 0,
|
|
3705
3807
|
iconColor: '#ffffff'
|
|
3706
3808
|
}
|
|
3707
3809
|
},
|
|
3708
|
-
{
|
|
3810
|
+
{
|
|
3811
|
+
if: { focus: true, pressed: true },
|
|
3812
|
+
tokens: {
|
|
3813
|
+
backgroundColor: '#1b4746',
|
|
3814
|
+
borderColor: null,
|
|
3815
|
+
borderWidth: 0,
|
|
3816
|
+
iconColor: '#ffffff'
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
if: { inactive: true, priority: 'high' },
|
|
3821
|
+
tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
if: { inactive: true, priority: null },
|
|
3825
|
+
tokens: {
|
|
3826
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3827
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3709
3830
|
],
|
|
3710
3831
|
tokens: {
|
|
3711
3832
|
backgroundColor: null,
|
|
3712
3833
|
borderColor: null,
|
|
3713
3834
|
borderRadius: 32,
|
|
3714
3835
|
borderWidth: 0,
|
|
3715
|
-
iconColor: '#
|
|
3836
|
+
iconColor: '#016b6a',
|
|
3716
3837
|
iconSize: 20,
|
|
3717
3838
|
opacity: 1,
|
|
3718
3839
|
paddingBottom: 8,
|
|
@@ -4941,7 +5062,18 @@ module.exports = {
|
|
|
4941
5062
|
},
|
|
4942
5063
|
Typography: {
|
|
4943
5064
|
appearances: {
|
|
4944
|
-
colour: {
|
|
5065
|
+
colour: {
|
|
5066
|
+
type: 'variant',
|
|
5067
|
+
values: [
|
|
5068
|
+
'default', 'brand',
|
|
5069
|
+
'dark', 'light',
|
|
5070
|
+
'positive', 'warning',
|
|
5071
|
+
'danger', 'black',
|
|
5072
|
+
'white', 'brand2',
|
|
5073
|
+
'brand3', 'alternative1',
|
|
5074
|
+
'alternative2', 'alternative3'
|
|
5075
|
+
]
|
|
5076
|
+
},
|
|
4945
5077
|
compact: {
|
|
4946
5078
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
4947
5079
|
type: 'variant',
|
|
@@ -5101,7 +5233,29 @@ module.exports = {
|
|
|
5101
5233
|
}
|
|
5102
5234
|
},
|
|
5103
5235
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
5104
|
-
{ if: { colour: '
|
|
5236
|
+
{ if: { colour: 'default' }, tokens: { color: '#000000' } },
|
|
5237
|
+
{ if: { colour: 'brand' }, tokens: { color: '#016b6a' } },
|
|
5238
|
+
{ if: { colour: 'dark' }, tokens: { color: '#595959' } },
|
|
5239
|
+
{ if: { colour: 'light' }, tokens: { color: '#666666' } },
|
|
5240
|
+
{ if: { colour: 'positive' }, tokens: { color: '#016b6a' } },
|
|
5241
|
+
{ if: { colour: 'warning' }, tokens: { color: '#df3d0c' } },
|
|
5242
|
+
{ if: { colour: 'danger' }, tokens: { color: '#b8373e' } },
|
|
5243
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5244
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5245
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#17367d' } },
|
|
5246
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c1366' } },
|
|
5247
|
+
{
|
|
5248
|
+
if: { colour: 'alternative1' },
|
|
5249
|
+
tokens: { color: '#c53a70' }
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
if: { colour: 'alternative2' },
|
|
5253
|
+
tokens: { color: '#8c0448' }
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
if: { colour: 'alternative3' },
|
|
5257
|
+
tokens: { color: '#258b0b' }
|
|
5258
|
+
}
|
|
5105
5259
|
],
|
|
5106
5260
|
tokens: {
|
|
5107
5261
|
color: '#000000',
|
|
@@ -5306,5 +5460,5 @@ module.exports = {
|
|
|
5306
5460
|
tokens: { size: 96 }
|
|
5307
5461
|
}
|
|
5308
5462
|
},
|
|
5309
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5463
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.29.0' }
|
|
5310
5464
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-koodo": "^0.17.0",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.29.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "
|
|
34
|
+
"version": "4.0.0"
|
|
35
35
|
}
|