@telus-uds/theme-koodo 3.5.0 → 3.6.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} +453 -128
- package/build/android/theme.json +4673 -0
- package/build/ios/schema.json +10619 -0
- package/build/ios/theme.json +4673 -0
- package/build/rn/schema.json +10619 -0
- package/build/{theme.js → rn/theme.js} +186 -11
- package/package.json +3 -3
- package/theme.json +155 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 08 Nov 2022 01:31:30 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
|
},
|
|
@@ -364,6 +497,7 @@ module.exports = {
|
|
|
364
497
|
}
|
|
365
498
|
],
|
|
366
499
|
tokens: {
|
|
500
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
367
501
|
nextIcon: PaletteIconChevronRight,
|
|
368
502
|
previousIcon: PaletteIconChevronLeft,
|
|
369
503
|
showPanelNavigation: true,
|
|
@@ -386,11 +520,13 @@ module.exports = {
|
|
|
386
520
|
appearances: {
|
|
387
521
|
focus: {
|
|
388
522
|
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.",
|
|
523
|
+
platforms: [ 'rn' ],
|
|
389
524
|
type: 'state',
|
|
390
525
|
values: [ true ]
|
|
391
526
|
},
|
|
392
527
|
hover: {
|
|
393
528
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
529
|
+
platforms: [ 'rn' ],
|
|
394
530
|
type: 'state',
|
|
395
531
|
values: [ true ]
|
|
396
532
|
},
|
|
@@ -488,11 +624,13 @@ module.exports = {
|
|
|
488
624
|
error: { type: 'state', values: [ true ] },
|
|
489
625
|
focus: {
|
|
490
626
|
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.",
|
|
627
|
+
platforms: [ 'rn' ],
|
|
491
628
|
type: 'state',
|
|
492
629
|
values: [ true ]
|
|
493
630
|
},
|
|
494
631
|
hover: {
|
|
495
632
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
633
|
+
platforms: [ 'rn' ],
|
|
496
634
|
type: 'state',
|
|
497
635
|
values: [ true ]
|
|
498
636
|
},
|
|
@@ -671,11 +809,13 @@ module.exports = {
|
|
|
671
809
|
appearances: {
|
|
672
810
|
focus: {
|
|
673
811
|
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.",
|
|
812
|
+
platforms: [ 'rn' ],
|
|
674
813
|
type: 'state',
|
|
675
814
|
values: [ true ]
|
|
676
815
|
},
|
|
677
816
|
hover: {
|
|
678
817
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
818
|
+
platforms: [ 'rn' ],
|
|
679
819
|
type: 'state',
|
|
680
820
|
values: [ true ]
|
|
681
821
|
},
|
|
@@ -752,13 +892,20 @@ module.exports = {
|
|
|
752
892
|
},
|
|
753
893
|
IconButton: {
|
|
754
894
|
appearances: {
|
|
895
|
+
compact: {
|
|
896
|
+
description: 'Without the outer border gap',
|
|
897
|
+
type: 'variant',
|
|
898
|
+
values: [ true ]
|
|
899
|
+
},
|
|
755
900
|
focus: {
|
|
756
901
|
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.",
|
|
902
|
+
platforms: [ 'rn' ],
|
|
757
903
|
type: 'state',
|
|
758
904
|
values: [ true ]
|
|
759
905
|
},
|
|
760
906
|
hover: {
|
|
761
907
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
908
|
+
platforms: [ 'rn' ],
|
|
762
909
|
type: 'state',
|
|
763
910
|
values: [ true ]
|
|
764
911
|
},
|
|
@@ -773,7 +920,7 @@ module.exports = {
|
|
|
773
920
|
values: [ true ]
|
|
774
921
|
}
|
|
775
922
|
},
|
|
776
|
-
rules: [],
|
|
923
|
+
rules: [ { if: { compact: true }, tokens: { outerBorderGap: 0 } } ],
|
|
777
924
|
tokens: {
|
|
778
925
|
backgroundColor: 'transparent',
|
|
779
926
|
borderColor: '#016b6a',
|
|
@@ -813,6 +960,7 @@ module.exports = {
|
|
|
813
960
|
appearances: {
|
|
814
961
|
hover: {
|
|
815
962
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
963
|
+
platforms: [ 'rn' ],
|
|
816
964
|
type: 'state',
|
|
817
965
|
values: [ true ]
|
|
818
966
|
},
|
|
@@ -1072,11 +1220,13 @@ module.exports = {
|
|
|
1072
1220
|
appearances: {
|
|
1073
1221
|
focus: {
|
|
1074
1222
|
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.",
|
|
1223
|
+
platforms: [ 'rn' ],
|
|
1075
1224
|
type: 'state',
|
|
1076
1225
|
values: [ true ]
|
|
1077
1226
|
},
|
|
1078
1227
|
hover: {
|
|
1079
1228
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1229
|
+
platforms: [ 'rn' ],
|
|
1080
1230
|
type: 'state',
|
|
1081
1231
|
values: [ true ]
|
|
1082
1232
|
},
|
|
@@ -1149,11 +1299,13 @@ module.exports = {
|
|
|
1149
1299
|
},
|
|
1150
1300
|
focus: {
|
|
1151
1301
|
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.",
|
|
1302
|
+
platforms: [ 'rn' ],
|
|
1152
1303
|
type: 'state',
|
|
1153
1304
|
values: [ true ]
|
|
1154
1305
|
},
|
|
1155
1306
|
hover: {
|
|
1156
1307
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1308
|
+
platforms: [ 'rn' ],
|
|
1157
1309
|
type: 'state',
|
|
1158
1310
|
values: [ true ]
|
|
1159
1311
|
},
|
|
@@ -1303,11 +1455,13 @@ module.exports = {
|
|
|
1303
1455
|
appearances: {
|
|
1304
1456
|
focus: {
|
|
1305
1457
|
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.",
|
|
1458
|
+
platforms: [ 'rn' ],
|
|
1306
1459
|
type: 'state',
|
|
1307
1460
|
values: [ true ]
|
|
1308
1461
|
},
|
|
1309
1462
|
hover: {
|
|
1310
1463
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1464
|
+
platforms: [ 'rn' ],
|
|
1311
1465
|
type: 'state',
|
|
1312
1466
|
values: [ true ]
|
|
1313
1467
|
},
|
|
@@ -1390,11 +1544,13 @@ module.exports = {
|
|
|
1390
1544
|
appearances: {
|
|
1391
1545
|
focus: {
|
|
1392
1546
|
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.",
|
|
1547
|
+
platforms: [ 'rn' ],
|
|
1393
1548
|
type: 'state',
|
|
1394
1549
|
values: [ true ]
|
|
1395
1550
|
},
|
|
1396
1551
|
hover: {
|
|
1397
1552
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1553
|
+
platforms: [ 'rn' ],
|
|
1398
1554
|
type: 'state',
|
|
1399
1555
|
values: [ true ]
|
|
1400
1556
|
},
|
|
@@ -1447,11 +1603,13 @@ module.exports = {
|
|
|
1447
1603
|
error: { type: 'state', values: [ true ] },
|
|
1448
1604
|
focus: {
|
|
1449
1605
|
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.",
|
|
1606
|
+
platforms: [ 'rn' ],
|
|
1450
1607
|
type: 'state',
|
|
1451
1608
|
values: [ true ]
|
|
1452
1609
|
},
|
|
1453
1610
|
hover: {
|
|
1454
1611
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1612
|
+
platforms: [ 'rn' ],
|
|
1455
1613
|
type: 'state',
|
|
1456
1614
|
values: [ true ]
|
|
1457
1615
|
},
|
|
@@ -1508,11 +1666,13 @@ module.exports = {
|
|
|
1508
1666
|
error: { type: 'state', values: [ true ] },
|
|
1509
1667
|
focus: {
|
|
1510
1668
|
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.",
|
|
1669
|
+
platforms: [ 'rn' ],
|
|
1511
1670
|
type: 'state',
|
|
1512
1671
|
values: [ true ]
|
|
1513
1672
|
},
|
|
1514
1673
|
hover: {
|
|
1515
1674
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1675
|
+
platforms: [ 'rn' ],
|
|
1516
1676
|
type: 'state',
|
|
1517
1677
|
values: [ true ]
|
|
1518
1678
|
},
|
|
@@ -1647,12 +1807,13 @@ module.exports = {
|
|
|
1647
1807
|
Search: {
|
|
1648
1808
|
appearances: {
|
|
1649
1809
|
focus: {
|
|
1650
|
-
description:
|
|
1810
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1651
1811
|
type: 'state',
|
|
1652
1812
|
values: [ true ]
|
|
1653
1813
|
},
|
|
1654
1814
|
hover: {
|
|
1655
1815
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1816
|
+
platforms: [ 'rn' ],
|
|
1656
1817
|
type: 'state',
|
|
1657
1818
|
values: [ true ]
|
|
1658
1819
|
},
|
|
@@ -1707,11 +1868,13 @@ module.exports = {
|
|
|
1707
1868
|
appearances: {
|
|
1708
1869
|
focus: {
|
|
1709
1870
|
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.",
|
|
1871
|
+
platforms: [ 'rn' ],
|
|
1710
1872
|
type: 'state',
|
|
1711
1873
|
values: [ true ]
|
|
1712
1874
|
},
|
|
1713
1875
|
hover: {
|
|
1714
1876
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1877
|
+
platforms: [ 'rn' ],
|
|
1715
1878
|
type: 'state',
|
|
1716
1879
|
values: [ true ]
|
|
1717
1880
|
},
|
|
@@ -1778,12 +1941,13 @@ module.exports = {
|
|
|
1778
1941
|
Select: {
|
|
1779
1942
|
appearances: {
|
|
1780
1943
|
focus: {
|
|
1781
|
-
description:
|
|
1944
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1782
1945
|
type: 'state',
|
|
1783
1946
|
values: [ true ]
|
|
1784
1947
|
},
|
|
1785
1948
|
hover: {
|
|
1786
1949
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1950
|
+
platforms: [ 'rn' ],
|
|
1787
1951
|
type: 'state',
|
|
1788
1952
|
values: [ true ]
|
|
1789
1953
|
},
|
|
@@ -1875,6 +2039,7 @@ module.exports = {
|
|
|
1875
2039
|
},
|
|
1876
2040
|
hover: {
|
|
1877
2041
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2042
|
+
platforms: [ 'rn' ],
|
|
1878
2043
|
type: 'state',
|
|
1879
2044
|
values: [ true ]
|
|
1880
2045
|
},
|
|
@@ -2094,11 +2259,13 @@ module.exports = {
|
|
|
2094
2259
|
appearances: {
|
|
2095
2260
|
focus: {
|
|
2096
2261
|
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.",
|
|
2262
|
+
platforms: [ 'rn' ],
|
|
2097
2263
|
type: 'state',
|
|
2098
2264
|
values: [ true ]
|
|
2099
2265
|
},
|
|
2100
2266
|
hover: {
|
|
2101
2267
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2268
|
+
platforms: [ 'rn' ],
|
|
2102
2269
|
type: 'state',
|
|
2103
2270
|
values: [ true ]
|
|
2104
2271
|
},
|
|
@@ -2163,11 +2330,13 @@ module.exports = {
|
|
|
2163
2330
|
appearances: {
|
|
2164
2331
|
focus: {
|
|
2165
2332
|
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.",
|
|
2333
|
+
platforms: [ 'rn' ],
|
|
2166
2334
|
type: 'state',
|
|
2167
2335
|
values: [ true ]
|
|
2168
2336
|
},
|
|
2169
2337
|
hover: {
|
|
2170
2338
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2339
|
+
platforms: [ 'rn' ],
|
|
2171
2340
|
type: 'state',
|
|
2172
2341
|
values: [ true ]
|
|
2173
2342
|
},
|
|
@@ -2286,12 +2455,13 @@ module.exports = {
|
|
|
2286
2455
|
TextInput: {
|
|
2287
2456
|
appearances: {
|
|
2288
2457
|
focus: {
|
|
2289
|
-
description:
|
|
2458
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
2290
2459
|
type: 'state',
|
|
2291
2460
|
values: [ true ]
|
|
2292
2461
|
},
|
|
2293
2462
|
hover: {
|
|
2294
2463
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2464
|
+
platforms: [ 'rn' ],
|
|
2295
2465
|
type: 'state',
|
|
2296
2466
|
values: [ true ]
|
|
2297
2467
|
},
|
|
@@ -2347,6 +2517,7 @@ module.exports = {
|
|
|
2347
2517
|
buttonSize: 32,
|
|
2348
2518
|
buttonsGap: 1,
|
|
2349
2519
|
buttonsPaddingRight: 8,
|
|
2520
|
+
clearButtonIcon: PaletteIconTimes,
|
|
2350
2521
|
color: '#666666',
|
|
2351
2522
|
fontName: 'StagSans',
|
|
2352
2523
|
fontSize: 16,
|
|
@@ -2416,11 +2587,13 @@ module.exports = {
|
|
|
2416
2587
|
appearances: {
|
|
2417
2588
|
focus: {
|
|
2418
2589
|
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.",
|
|
2590
|
+
platforms: [ 'rn' ],
|
|
2419
2591
|
type: 'state',
|
|
2420
2592
|
values: [ true ]
|
|
2421
2593
|
},
|
|
2422
2594
|
hover: {
|
|
2423
2595
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2596
|
+
platforms: [ 'rn' ],
|
|
2424
2597
|
type: 'state',
|
|
2425
2598
|
values: [ true ]
|
|
2426
2599
|
},
|
|
@@ -2490,8 +2663,8 @@ module.exports = {
|
|
|
2490
2663
|
opacity: 1,
|
|
2491
2664
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2492
2665
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2493
|
-
outerBorderGap:
|
|
2494
|
-
outerBorderWidth:
|
|
2666
|
+
outerBorderGap: 2,
|
|
2667
|
+
outerBorderWidth: 2,
|
|
2495
2668
|
paddingBottom: 4,
|
|
2496
2669
|
paddingLeft: 8,
|
|
2497
2670
|
paddingRight: 8,
|
|
@@ -2554,11 +2727,13 @@ module.exports = {
|
|
|
2554
2727
|
appearances: {
|
|
2555
2728
|
focus: {
|
|
2556
2729
|
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.",
|
|
2730
|
+
platforms: [ 'rn' ],
|
|
2557
2731
|
type: 'state',
|
|
2558
2732
|
values: [ true ]
|
|
2559
2733
|
},
|
|
2560
2734
|
hover: {
|
|
2561
2735
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2736
|
+
platforms: [ 'rn' ],
|
|
2562
2737
|
type: 'state',
|
|
2563
2738
|
values: [ true ]
|
|
2564
2739
|
},
|
|
@@ -2754,5 +2929,5 @@ module.exports = {
|
|
|
2754
2929
|
tokens: { size: 96 }
|
|
2755
2930
|
}
|
|
2756
2931
|
},
|
|
2757
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2932
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.8.0' }
|
|
2758
2933
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-koodo": "^0.1.2",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.8.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -17,7 +17,7 @@
|
|
|
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
23
|
"@telus-uds/palette-koodo": "^0.1.2"
|
|
@@ -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.6.0"
|
|
35
35
|
}
|