@telus-uds/theme-koodo 3.5.0 → 3.7.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/{schema.json → android/schema.json} +1019 -441
- package/build/android/theme.json +4804 -0
- package/build/ios/schema.json +10872 -0
- package/build/ios/theme.json +4804 -0
- package/build/rn/schema.json +10872 -0
- package/build/{theme.js → rn/theme.js} +252 -11
- package/package.json +5 -5
- package/theme.json +235 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Dec 2022 15:08:56 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
|
|
9
|
+
const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
8
10
|
const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
|
|
9
11
|
const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
|
|
10
12
|
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
11
|
-
const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
|
|
12
|
-
const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
13
13
|
const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
|
|
14
14
|
const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
|
|
15
15
|
const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
|
|
@@ -46,7 +46,7 @@ module.exports = {
|
|
|
46
46
|
tokens: { backgroundColor: '#000000' }
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
tokens: { backgroundColor: null }
|
|
49
|
+
tokens: { backgroundColor: null, gradient: null }
|
|
50
50
|
},
|
|
51
51
|
Button: {
|
|
52
52
|
appearances: {
|
|
@@ -57,11 +57,13 @@ module.exports = {
|
|
|
57
57
|
},
|
|
58
58
|
focus: {
|
|
59
59
|
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.",
|
|
60
|
+
platforms: [ 'rn' ],
|
|
60
61
|
type: 'state',
|
|
61
62
|
values: [ true ]
|
|
62
63
|
},
|
|
63
64
|
hover: {
|
|
64
65
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
66
|
+
platforms: [ 'rn' ],
|
|
65
67
|
type: 'state',
|
|
66
68
|
values: [ true ]
|
|
67
69
|
},
|
|
@@ -212,6 +214,135 @@ module.exports = {
|
|
|
212
214
|
width: null
|
|
213
215
|
}
|
|
214
216
|
},
|
|
217
|
+
ButtonDropdown: {
|
|
218
|
+
appearances: {
|
|
219
|
+
focus: {
|
|
220
|
+
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.",
|
|
221
|
+
platforms: [ 'rn' ],
|
|
222
|
+
type: 'state',
|
|
223
|
+
values: [ true ]
|
|
224
|
+
},
|
|
225
|
+
hover: {
|
|
226
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
227
|
+
platforms: [ 'rn' ],
|
|
228
|
+
type: 'state',
|
|
229
|
+
values: [ true ]
|
|
230
|
+
},
|
|
231
|
+
inactive: {
|
|
232
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
233
|
+
type: 'state',
|
|
234
|
+
values: [ true ]
|
|
235
|
+
},
|
|
236
|
+
open: {
|
|
237
|
+
description: 'Applies when a ButtonDropdown is open.',
|
|
238
|
+
type: 'state',
|
|
239
|
+
values: [ true ]
|
|
240
|
+
},
|
|
241
|
+
pressed: {
|
|
242
|
+
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.',
|
|
243
|
+
type: 'state',
|
|
244
|
+
values: [ true ]
|
|
245
|
+
},
|
|
246
|
+
selected: {
|
|
247
|
+
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`.',
|
|
248
|
+
type: 'state',
|
|
249
|
+
values: [ true ]
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
rules: [
|
|
253
|
+
{
|
|
254
|
+
if: { open: true },
|
|
255
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
if: { pressed: true },
|
|
259
|
+
tokens: {
|
|
260
|
+
backgroundColor: '#016b6a',
|
|
261
|
+
borderColor: '#016b6a',
|
|
262
|
+
color: '#ffffff'
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
if: { focus: true },
|
|
267
|
+
tokens: { outerBorderColor: '#016b6a' }
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
if: { hover: true },
|
|
271
|
+
tokens: { backgroundColor: '#014847', iconColor: '#014847' }
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
if: { selected: true },
|
|
275
|
+
tokens: {
|
|
276
|
+
opacity: 0.8,
|
|
277
|
+
outerBorderColor: '#016b6a',
|
|
278
|
+
outerBorderGap: 1,
|
|
279
|
+
outerBorderWidth: 4
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
if: { focus: true, pressed: true },
|
|
284
|
+
tokens: { outerBorderColor: '#016b6a' }
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
if: { inactive: true },
|
|
288
|
+
tokens: {
|
|
289
|
+
backgroundColor: '#666666',
|
|
290
|
+
borderWidth: 0,
|
|
291
|
+
color: '#ffffff',
|
|
292
|
+
iconColor: '#666666'
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
if: { selected: true },
|
|
297
|
+
tokens: {
|
|
298
|
+
opacity: 0.8,
|
|
299
|
+
outerBorderColor: '#016b6a',
|
|
300
|
+
outerBorderGap: 1,
|
|
301
|
+
outerBorderWidth: 4
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
if: { focus: true, selected: true },
|
|
306
|
+
tokens: { outerBorderColor: '#014847' }
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
tokens: {
|
|
310
|
+
alignSelf: 'flex-start',
|
|
311
|
+
backgroundColor: '#016b6a',
|
|
312
|
+
borderColor: '#014847',
|
|
313
|
+
borderRadius: 4,
|
|
314
|
+
borderWidth: 0,
|
|
315
|
+
color: '#ffffff',
|
|
316
|
+
fontName: 'StagSans',
|
|
317
|
+
fontSize: 14,
|
|
318
|
+
fontWeight: '600',
|
|
319
|
+
icon: PaletteIconChevronDown,
|
|
320
|
+
iconAlignSelf: 'center',
|
|
321
|
+
iconBackground: '#ffffff',
|
|
322
|
+
iconBorderRadius: 32,
|
|
323
|
+
iconColor: '#016b6a',
|
|
324
|
+
iconPadding: 4,
|
|
325
|
+
iconPosition: 'right',
|
|
326
|
+
iconSize: 20,
|
|
327
|
+
iconSpace: 3,
|
|
328
|
+
iconTranslateX: 0,
|
|
329
|
+
iconTranslateY: 0,
|
|
330
|
+
lineHeight: 1.5,
|
|
331
|
+
minWidth: 0,
|
|
332
|
+
opacity: 1,
|
|
333
|
+
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
334
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
335
|
+
outerBorderGap: 2,
|
|
336
|
+
outerBorderWidth: 2,
|
|
337
|
+
paddingBottom: 8,
|
|
338
|
+
paddingLeft: 24,
|
|
339
|
+
paddingRight: 16,
|
|
340
|
+
paddingTop: 8,
|
|
341
|
+
shadow: null,
|
|
342
|
+
textAlign: 'center',
|
|
343
|
+
width: null
|
|
344
|
+
}
|
|
345
|
+
},
|
|
215
346
|
ButtonGroup: {
|
|
216
347
|
appearances: {},
|
|
217
348
|
rules: [],
|
|
@@ -229,11 +360,13 @@ module.exports = {
|
|
|
229
360
|
appearances: {
|
|
230
361
|
focus: {
|
|
231
362
|
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.",
|
|
363
|
+
platforms: [ 'rn' ],
|
|
232
364
|
type: 'state',
|
|
233
365
|
values: [ true ]
|
|
234
366
|
},
|
|
235
367
|
hover: {
|
|
236
368
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
369
|
+
platforms: [ 'rn' ],
|
|
237
370
|
type: 'state',
|
|
238
371
|
values: [ true ]
|
|
239
372
|
},
|
|
@@ -312,6 +445,8 @@ module.exports = {
|
|
|
312
445
|
fontName: 'StagSans',
|
|
313
446
|
fontSize: 14,
|
|
314
447
|
fontWeight: '600',
|
|
448
|
+
iconSize: 20,
|
|
449
|
+
iconSpace: 3,
|
|
315
450
|
lineHeight: 1.5,
|
|
316
451
|
minWidth: 0,
|
|
317
452
|
opacity: 1,
|
|
@@ -364,6 +499,7 @@ module.exports = {
|
|
|
364
499
|
}
|
|
365
500
|
],
|
|
366
501
|
tokens: {
|
|
502
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
367
503
|
nextIcon: PaletteIconChevronRight,
|
|
368
504
|
previousIcon: PaletteIconChevronLeft,
|
|
369
505
|
showPanelNavigation: true,
|
|
@@ -386,11 +522,13 @@ module.exports = {
|
|
|
386
522
|
appearances: {
|
|
387
523
|
focus: {
|
|
388
524
|
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.",
|
|
525
|
+
platforms: [ 'rn' ],
|
|
389
526
|
type: 'state',
|
|
390
527
|
values: [ true ]
|
|
391
528
|
},
|
|
392
529
|
hover: {
|
|
393
530
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
531
|
+
platforms: [ 'rn' ],
|
|
394
532
|
type: 'state',
|
|
395
533
|
values: [ true ]
|
|
396
534
|
},
|
|
@@ -488,11 +626,13 @@ module.exports = {
|
|
|
488
626
|
error: { type: 'state', values: [ true ] },
|
|
489
627
|
focus: {
|
|
490
628
|
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.",
|
|
629
|
+
platforms: [ 'rn' ],
|
|
491
630
|
type: 'state',
|
|
492
631
|
values: [ true ]
|
|
493
632
|
},
|
|
494
633
|
hover: {
|
|
495
634
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
635
|
+
platforms: [ 'rn' ],
|
|
496
636
|
type: 'state',
|
|
497
637
|
values: [ true ]
|
|
498
638
|
},
|
|
@@ -582,6 +722,7 @@ module.exports = {
|
|
|
582
722
|
icon: PaletteIconChevronDown,
|
|
583
723
|
iconColor: '#016b6a',
|
|
584
724
|
iconGap: 16,
|
|
725
|
+
iconPaddingTop: 4,
|
|
585
726
|
iconPosition: 'left',
|
|
586
727
|
iconSize: 16,
|
|
587
728
|
justifyContent: 'flex-start',
|
|
@@ -671,11 +812,13 @@ module.exports = {
|
|
|
671
812
|
appearances: {
|
|
672
813
|
focus: {
|
|
673
814
|
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.",
|
|
815
|
+
platforms: [ 'rn' ],
|
|
674
816
|
type: 'state',
|
|
675
817
|
values: [ true ]
|
|
676
818
|
},
|
|
677
819
|
hover: {
|
|
678
820
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
821
|
+
platforms: [ 'rn' ],
|
|
679
822
|
type: 'state',
|
|
680
823
|
values: [ true ]
|
|
681
824
|
},
|
|
@@ -752,13 +895,20 @@ module.exports = {
|
|
|
752
895
|
},
|
|
753
896
|
IconButton: {
|
|
754
897
|
appearances: {
|
|
898
|
+
compact: {
|
|
899
|
+
description: 'Without the outer border gap',
|
|
900
|
+
type: 'variant',
|
|
901
|
+
values: [ true ]
|
|
902
|
+
},
|
|
755
903
|
focus: {
|
|
756
904
|
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.",
|
|
905
|
+
platforms: [ 'rn' ],
|
|
757
906
|
type: 'state',
|
|
758
907
|
values: [ true ]
|
|
759
908
|
},
|
|
760
909
|
hover: {
|
|
761
910
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
911
|
+
platforms: [ 'rn' ],
|
|
762
912
|
type: 'state',
|
|
763
913
|
values: [ true ]
|
|
764
914
|
},
|
|
@@ -773,7 +923,7 @@ module.exports = {
|
|
|
773
923
|
values: [ true ]
|
|
774
924
|
}
|
|
775
925
|
},
|
|
776
|
-
rules: [],
|
|
926
|
+
rules: [ { if: { compact: true }, tokens: { outerBorderGap: 0 } } ],
|
|
777
927
|
tokens: {
|
|
778
928
|
backgroundColor: 'transparent',
|
|
779
929
|
borderColor: '#016b6a',
|
|
@@ -813,6 +963,7 @@ module.exports = {
|
|
|
813
963
|
appearances: {
|
|
814
964
|
hover: {
|
|
815
965
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
966
|
+
platforms: [ 'rn' ],
|
|
816
967
|
type: 'state',
|
|
817
968
|
values: [ true ]
|
|
818
969
|
},
|
|
@@ -1072,11 +1223,13 @@ module.exports = {
|
|
|
1072
1223
|
appearances: {
|
|
1073
1224
|
focus: {
|
|
1074
1225
|
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.",
|
|
1226
|
+
platforms: [ 'rn' ],
|
|
1075
1227
|
type: 'state',
|
|
1076
1228
|
values: [ true ]
|
|
1077
1229
|
},
|
|
1078
1230
|
hover: {
|
|
1079
1231
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1232
|
+
platforms: [ 'rn' ],
|
|
1080
1233
|
type: 'state',
|
|
1081
1234
|
values: [ true ]
|
|
1082
1235
|
},
|
|
@@ -1149,11 +1302,13 @@ module.exports = {
|
|
|
1149
1302
|
},
|
|
1150
1303
|
focus: {
|
|
1151
1304
|
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.",
|
|
1305
|
+
platforms: [ 'rn' ],
|
|
1152
1306
|
type: 'state',
|
|
1153
1307
|
values: [ true ]
|
|
1154
1308
|
},
|
|
1155
1309
|
hover: {
|
|
1156
1310
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1311
|
+
platforms: [ 'rn' ],
|
|
1157
1312
|
type: 'state',
|
|
1158
1313
|
values: [ true ]
|
|
1159
1314
|
},
|
|
@@ -1303,11 +1458,13 @@ module.exports = {
|
|
|
1303
1458
|
appearances: {
|
|
1304
1459
|
focus: {
|
|
1305
1460
|
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.",
|
|
1461
|
+
platforms: [ 'rn' ],
|
|
1306
1462
|
type: 'state',
|
|
1307
1463
|
values: [ true ]
|
|
1308
1464
|
},
|
|
1309
1465
|
hover: {
|
|
1310
1466
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1467
|
+
platforms: [ 'rn' ],
|
|
1311
1468
|
type: 'state',
|
|
1312
1469
|
values: [ true ]
|
|
1313
1470
|
},
|
|
@@ -1386,15 +1543,59 @@ module.exports = {
|
|
|
1386
1543
|
shadow: null
|
|
1387
1544
|
}
|
|
1388
1545
|
},
|
|
1546
|
+
QuickLinksFeature: {
|
|
1547
|
+
appearances: {},
|
|
1548
|
+
rules: [],
|
|
1549
|
+
tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
|
|
1550
|
+
},
|
|
1551
|
+
QuickLinksFeatureItem: {
|
|
1552
|
+
appearances: {
|
|
1553
|
+
hover: {
|
|
1554
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1555
|
+
platforms: [ 'rn' ],
|
|
1556
|
+
type: 'state',
|
|
1557
|
+
values: [ true ]
|
|
1558
|
+
},
|
|
1559
|
+
viewport: {
|
|
1560
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1561
|
+
type: 'state',
|
|
1562
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
rules: [
|
|
1566
|
+
{
|
|
1567
|
+
if: { viewport: 'xl' },
|
|
1568
|
+
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
1569
|
+
},
|
|
1570
|
+
{ if: { hover: true }, tokens: { imageDimension: 140 } },
|
|
1571
|
+
{
|
|
1572
|
+
if: { hover: true, viewport: 'xl' },
|
|
1573
|
+
tokens: { imageDimension: 184 }
|
|
1574
|
+
}
|
|
1575
|
+
],
|
|
1576
|
+
tokens: {
|
|
1577
|
+
color: '#016b6a',
|
|
1578
|
+
contentAlignItems: 'center',
|
|
1579
|
+
contentDirection: 'column',
|
|
1580
|
+
contentMaxDimension: 140,
|
|
1581
|
+
contentSpace: 3,
|
|
1582
|
+
imageDimension: 128,
|
|
1583
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1584
|
+
textAlign: 'center',
|
|
1585
|
+
textLine: 'underline'
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1389
1588
|
QuickLinksList: {
|
|
1390
1589
|
appearances: {
|
|
1391
1590
|
focus: {
|
|
1392
1591
|
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.",
|
|
1592
|
+
platforms: [ 'rn' ],
|
|
1393
1593
|
type: 'state',
|
|
1394
1594
|
values: [ true ]
|
|
1395
1595
|
},
|
|
1396
1596
|
hover: {
|
|
1397
1597
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1598
|
+
platforms: [ 'rn' ],
|
|
1398
1599
|
type: 'state',
|
|
1399
1600
|
values: [ true ]
|
|
1400
1601
|
},
|
|
@@ -1447,11 +1648,13 @@ module.exports = {
|
|
|
1447
1648
|
error: { type: 'state', values: [ true ] },
|
|
1448
1649
|
focus: {
|
|
1449
1650
|
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.",
|
|
1651
|
+
platforms: [ 'rn' ],
|
|
1450
1652
|
type: 'state',
|
|
1451
1653
|
values: [ true ]
|
|
1452
1654
|
},
|
|
1453
1655
|
hover: {
|
|
1454
1656
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1657
|
+
platforms: [ 'rn' ],
|
|
1455
1658
|
type: 'state',
|
|
1456
1659
|
values: [ true ]
|
|
1457
1660
|
},
|
|
@@ -1508,11 +1711,13 @@ module.exports = {
|
|
|
1508
1711
|
error: { type: 'state', values: [ true ] },
|
|
1509
1712
|
focus: {
|
|
1510
1713
|
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.",
|
|
1714
|
+
platforms: [ 'rn' ],
|
|
1511
1715
|
type: 'state',
|
|
1512
1716
|
values: [ true ]
|
|
1513
1717
|
},
|
|
1514
1718
|
hover: {
|
|
1515
1719
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1720
|
+
platforms: [ 'rn' ],
|
|
1516
1721
|
type: 'state',
|
|
1517
1722
|
values: [ true ]
|
|
1518
1723
|
},
|
|
@@ -1647,12 +1852,13 @@ module.exports = {
|
|
|
1647
1852
|
Search: {
|
|
1648
1853
|
appearances: {
|
|
1649
1854
|
focus: {
|
|
1650
|
-
description:
|
|
1855
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1651
1856
|
type: 'state',
|
|
1652
1857
|
values: [ true ]
|
|
1653
1858
|
},
|
|
1654
1859
|
hover: {
|
|
1655
1860
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1861
|
+
platforms: [ 'rn' ],
|
|
1656
1862
|
type: 'state',
|
|
1657
1863
|
values: [ true ]
|
|
1658
1864
|
},
|
|
@@ -1707,11 +1913,13 @@ module.exports = {
|
|
|
1707
1913
|
appearances: {
|
|
1708
1914
|
focus: {
|
|
1709
1915
|
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.",
|
|
1916
|
+
platforms: [ 'rn' ],
|
|
1710
1917
|
type: 'state',
|
|
1711
1918
|
values: [ true ]
|
|
1712
1919
|
},
|
|
1713
1920
|
hover: {
|
|
1714
1921
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1922
|
+
platforms: [ 'rn' ],
|
|
1715
1923
|
type: 'state',
|
|
1716
1924
|
values: [ true ]
|
|
1717
1925
|
},
|
|
@@ -1778,12 +1986,13 @@ module.exports = {
|
|
|
1778
1986
|
Select: {
|
|
1779
1987
|
appearances: {
|
|
1780
1988
|
focus: {
|
|
1781
|
-
description:
|
|
1989
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1782
1990
|
type: 'state',
|
|
1783
1991
|
values: [ true ]
|
|
1784
1992
|
},
|
|
1785
1993
|
hover: {
|
|
1786
1994
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1995
|
+
platforms: [ 'rn' ],
|
|
1787
1996
|
type: 'state',
|
|
1788
1997
|
values: [ true ]
|
|
1789
1998
|
},
|
|
@@ -1875,6 +2084,7 @@ module.exports = {
|
|
|
1875
2084
|
},
|
|
1876
2085
|
hover: {
|
|
1877
2086
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2087
|
+
platforms: [ 'rn' ],
|
|
1878
2088
|
type: 'state',
|
|
1879
2089
|
values: [ true ]
|
|
1880
2090
|
},
|
|
@@ -2019,6 +2229,11 @@ module.exports = {
|
|
|
2019
2229
|
},
|
|
2020
2230
|
StepTracker: {
|
|
2021
2231
|
appearances: {
|
|
2232
|
+
inverse: {
|
|
2233
|
+
description: 'Styles the step tracker for using on dark backgrounds.',
|
|
2234
|
+
type: 'variant',
|
|
2235
|
+
values: [ true ]
|
|
2236
|
+
},
|
|
2022
2237
|
viewport: {
|
|
2023
2238
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2024
2239
|
type: 'state',
|
|
@@ -2029,6 +2244,22 @@ module.exports = {
|
|
|
2029
2244
|
{
|
|
2030
2245
|
if: { viewport: [ 'lg', 'xl' ] },
|
|
2031
2246
|
tokens: { showStepLabel: true, showStepTrackerLabel: false }
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
if: { inverse: true },
|
|
2250
|
+
tokens: {
|
|
2251
|
+
connectorColor: '#ffffff',
|
|
2252
|
+
connectorCompletedColor: '#ffffff',
|
|
2253
|
+
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2254
|
+
knobBorderColor: '#ffffff',
|
|
2255
|
+
knobCompletedBackgroundColor: '#ffffff',
|
|
2256
|
+
knobCompletedBorderColor: '#ffffff',
|
|
2257
|
+
knobCurrentBackgroundColor: '#ffffff',
|
|
2258
|
+
knobCurrentBorderColor: '#ffffff',
|
|
2259
|
+
knobCurrentInnerColor: '#ffffff',
|
|
2260
|
+
labelColor: '#ffffff',
|
|
2261
|
+
labelCurrentColor: '#ffffff'
|
|
2262
|
+
}
|
|
2032
2263
|
}
|
|
2033
2264
|
],
|
|
2034
2265
|
tokens: {
|
|
@@ -2094,11 +2325,13 @@ module.exports = {
|
|
|
2094
2325
|
appearances: {
|
|
2095
2326
|
focus: {
|
|
2096
2327
|
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.",
|
|
2328
|
+
platforms: [ 'rn' ],
|
|
2097
2329
|
type: 'state',
|
|
2098
2330
|
values: [ true ]
|
|
2099
2331
|
},
|
|
2100
2332
|
hover: {
|
|
2101
2333
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2334
|
+
platforms: [ 'rn' ],
|
|
2102
2335
|
type: 'state',
|
|
2103
2336
|
values: [ true ]
|
|
2104
2337
|
},
|
|
@@ -2163,11 +2396,13 @@ module.exports = {
|
|
|
2163
2396
|
appearances: {
|
|
2164
2397
|
focus: {
|
|
2165
2398
|
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.",
|
|
2399
|
+
platforms: [ 'rn' ],
|
|
2166
2400
|
type: 'state',
|
|
2167
2401
|
values: [ true ]
|
|
2168
2402
|
},
|
|
2169
2403
|
hover: {
|
|
2170
2404
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2405
|
+
platforms: [ 'rn' ],
|
|
2171
2406
|
type: 'state',
|
|
2172
2407
|
values: [ true ]
|
|
2173
2408
|
},
|
|
@@ -2286,12 +2521,13 @@ module.exports = {
|
|
|
2286
2521
|
TextInput: {
|
|
2287
2522
|
appearances: {
|
|
2288
2523
|
focus: {
|
|
2289
|
-
description:
|
|
2524
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
2290
2525
|
type: 'state',
|
|
2291
2526
|
values: [ true ]
|
|
2292
2527
|
},
|
|
2293
2528
|
hover: {
|
|
2294
2529
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2530
|
+
platforms: [ 'rn' ],
|
|
2295
2531
|
type: 'state',
|
|
2296
2532
|
values: [ true ]
|
|
2297
2533
|
},
|
|
@@ -2347,6 +2583,7 @@ module.exports = {
|
|
|
2347
2583
|
buttonSize: 32,
|
|
2348
2584
|
buttonsGap: 1,
|
|
2349
2585
|
buttonsPaddingRight: 8,
|
|
2586
|
+
clearButtonIcon: PaletteIconTimes,
|
|
2350
2587
|
color: '#666666',
|
|
2351
2588
|
fontName: 'StagSans',
|
|
2352
2589
|
fontSize: 16,
|
|
@@ -2416,11 +2653,13 @@ module.exports = {
|
|
|
2416
2653
|
appearances: {
|
|
2417
2654
|
focus: {
|
|
2418
2655
|
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.",
|
|
2656
|
+
platforms: [ 'rn' ],
|
|
2419
2657
|
type: 'state',
|
|
2420
2658
|
values: [ true ]
|
|
2421
2659
|
},
|
|
2422
2660
|
hover: {
|
|
2423
2661
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2662
|
+
platforms: [ 'rn' ],
|
|
2424
2663
|
type: 'state',
|
|
2425
2664
|
values: [ true ]
|
|
2426
2665
|
},
|
|
@@ -2490,8 +2729,8 @@ module.exports = {
|
|
|
2490
2729
|
opacity: 1,
|
|
2491
2730
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2492
2731
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2493
|
-
outerBorderGap:
|
|
2494
|
-
outerBorderWidth:
|
|
2732
|
+
outerBorderGap: 2,
|
|
2733
|
+
outerBorderWidth: 2,
|
|
2495
2734
|
paddingBottom: 4,
|
|
2496
2735
|
paddingLeft: 8,
|
|
2497
2736
|
paddingRight: 8,
|
|
@@ -2554,11 +2793,13 @@ module.exports = {
|
|
|
2554
2793
|
appearances: {
|
|
2555
2794
|
focus: {
|
|
2556
2795
|
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.",
|
|
2796
|
+
platforms: [ 'rn' ],
|
|
2557
2797
|
type: 'state',
|
|
2558
2798
|
values: [ true ]
|
|
2559
2799
|
},
|
|
2560
2800
|
hover: {
|
|
2561
2801
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2802
|
+
platforms: [ 'rn' ],
|
|
2562
2803
|
type: 'state',
|
|
2563
2804
|
values: [ true ]
|
|
2564
2805
|
},
|
|
@@ -2754,5 +2995,5 @@ module.exports = {
|
|
|
2754
2995
|
tokens: { size: 96 }
|
|
2755
2996
|
}
|
|
2756
2997
|
},
|
|
2757
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2998
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.9.0' }
|
|
2758
2999
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.2.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.9.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"koodo"
|
|
18
18
|
],
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
|
-
"main": "build/theme.js",
|
|
20
|
+
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.2.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -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": "3.
|
|
34
|
+
"version": "3.7.0"
|
|
35
35
|
}
|