@telus-uds/theme-koodo 3.4.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} +498 -130
- 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} +206 -14
- package/package.json +3 -3
- package/theme.json +182 -7
|
@@ -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 PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
12
|
-
const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
|
|
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')
|
|
@@ -29,7 +29,7 @@ module.exports = {
|
|
|
29
29
|
appearances: {
|
|
30
30
|
background: {
|
|
31
31
|
description: 'Background colour of box. Transparent if not specified.',
|
|
32
|
-
values: [ 'light', 'lightest' ]
|
|
32
|
+
values: [ 'light', 'lightest', 'black' ]
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
rules: [
|
|
@@ -40,9 +40,13 @@ module.exports = {
|
|
|
40
40
|
{
|
|
41
41
|
if: { background: 'light' },
|
|
42
42
|
tokens: { backgroundColor: '#efefef' }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { background: 'black' },
|
|
46
|
+
tokens: { backgroundColor: '#000000' }
|
|
43
47
|
}
|
|
44
48
|
],
|
|
45
|
-
tokens: { backgroundColor: null }
|
|
49
|
+
tokens: { backgroundColor: null, gradient: null }
|
|
46
50
|
},
|
|
47
51
|
Button: {
|
|
48
52
|
appearances: {
|
|
@@ -53,11 +57,13 @@ module.exports = {
|
|
|
53
57
|
},
|
|
54
58
|
focus: {
|
|
55
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' ],
|
|
56
61
|
type: 'state',
|
|
57
62
|
values: [ true ]
|
|
58
63
|
},
|
|
59
64
|
hover: {
|
|
60
65
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
66
|
+
platforms: [ 'rn' ],
|
|
61
67
|
type: 'state',
|
|
62
68
|
values: [ true ]
|
|
63
69
|
},
|
|
@@ -203,6 +209,137 @@ module.exports = {
|
|
|
203
209
|
paddingTop: 8,
|
|
204
210
|
shadow: null,
|
|
205
211
|
textAlign: 'center',
|
|
212
|
+
textLine: 'none',
|
|
213
|
+
textLineStyle: 'solid',
|
|
214
|
+
width: null
|
|
215
|
+
}
|
|
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',
|
|
206
343
|
width: null
|
|
207
344
|
}
|
|
208
345
|
},
|
|
@@ -223,11 +360,13 @@ module.exports = {
|
|
|
223
360
|
appearances: {
|
|
224
361
|
focus: {
|
|
225
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' ],
|
|
226
364
|
type: 'state',
|
|
227
365
|
values: [ true ]
|
|
228
366
|
},
|
|
229
367
|
hover: {
|
|
230
368
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
369
|
+
platforms: [ 'rn' ],
|
|
231
370
|
type: 'state',
|
|
232
371
|
values: [ true ]
|
|
233
372
|
},
|
|
@@ -358,6 +497,7 @@ module.exports = {
|
|
|
358
497
|
}
|
|
359
498
|
],
|
|
360
499
|
tokens: {
|
|
500
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
361
501
|
nextIcon: PaletteIconChevronRight,
|
|
362
502
|
previousIcon: PaletteIconChevronLeft,
|
|
363
503
|
showPanelNavigation: true,
|
|
@@ -380,11 +520,13 @@ module.exports = {
|
|
|
380
520
|
appearances: {
|
|
381
521
|
focus: {
|
|
382
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' ],
|
|
383
524
|
type: 'state',
|
|
384
525
|
values: [ true ]
|
|
385
526
|
},
|
|
386
527
|
hover: {
|
|
387
528
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
529
|
+
platforms: [ 'rn' ],
|
|
388
530
|
type: 'state',
|
|
389
531
|
values: [ true ]
|
|
390
532
|
},
|
|
@@ -482,11 +624,13 @@ module.exports = {
|
|
|
482
624
|
error: { type: 'state', values: [ true ] },
|
|
483
625
|
focus: {
|
|
484
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' ],
|
|
485
628
|
type: 'state',
|
|
486
629
|
values: [ true ]
|
|
487
630
|
},
|
|
488
631
|
hover: {
|
|
489
632
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
633
|
+
platforms: [ 'rn' ],
|
|
490
634
|
type: 'state',
|
|
491
635
|
values: [ true ]
|
|
492
636
|
},
|
|
@@ -566,14 +710,14 @@ module.exports = {
|
|
|
566
710
|
rules: [
|
|
567
711
|
{
|
|
568
712
|
if: { expanded: true },
|
|
569
|
-
tokens: { icon:
|
|
713
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
570
714
|
}
|
|
571
715
|
],
|
|
572
716
|
tokens: {
|
|
573
717
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
574
718
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
575
719
|
borderWidth: 0,
|
|
576
|
-
icon:
|
|
720
|
+
icon: PaletteIconChevronDown,
|
|
577
721
|
iconColor: '#016b6a',
|
|
578
722
|
iconGap: 16,
|
|
579
723
|
iconPosition: 'left',
|
|
@@ -665,11 +809,13 @@ module.exports = {
|
|
|
665
809
|
appearances: {
|
|
666
810
|
focus: {
|
|
667
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' ],
|
|
668
813
|
type: 'state',
|
|
669
814
|
values: [ true ]
|
|
670
815
|
},
|
|
671
816
|
hover: {
|
|
672
817
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
818
|
+
platforms: [ 'rn' ],
|
|
673
819
|
type: 'state',
|
|
674
820
|
values: [ true ]
|
|
675
821
|
},
|
|
@@ -746,13 +892,20 @@ module.exports = {
|
|
|
746
892
|
},
|
|
747
893
|
IconButton: {
|
|
748
894
|
appearances: {
|
|
895
|
+
compact: {
|
|
896
|
+
description: 'Without the outer border gap',
|
|
897
|
+
type: 'variant',
|
|
898
|
+
values: [ true ]
|
|
899
|
+
},
|
|
749
900
|
focus: {
|
|
750
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' ],
|
|
751
903
|
type: 'state',
|
|
752
904
|
values: [ true ]
|
|
753
905
|
},
|
|
754
906
|
hover: {
|
|
755
907
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
908
|
+
platforms: [ 'rn' ],
|
|
756
909
|
type: 'state',
|
|
757
910
|
values: [ true ]
|
|
758
911
|
},
|
|
@@ -767,7 +920,7 @@ module.exports = {
|
|
|
767
920
|
values: [ true ]
|
|
768
921
|
}
|
|
769
922
|
},
|
|
770
|
-
rules: [],
|
|
923
|
+
rules: [ { if: { compact: true }, tokens: { outerBorderGap: 0 } } ],
|
|
771
924
|
tokens: {
|
|
772
925
|
backgroundColor: 'transparent',
|
|
773
926
|
borderColor: '#016b6a',
|
|
@@ -807,6 +960,7 @@ module.exports = {
|
|
|
807
960
|
appearances: {
|
|
808
961
|
hover: {
|
|
809
962
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
963
|
+
platforms: [ 'rn' ],
|
|
810
964
|
type: 'state',
|
|
811
965
|
values: [ true ]
|
|
812
966
|
},
|
|
@@ -1066,11 +1220,13 @@ module.exports = {
|
|
|
1066
1220
|
appearances: {
|
|
1067
1221
|
focus: {
|
|
1068
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' ],
|
|
1069
1224
|
type: 'state',
|
|
1070
1225
|
values: [ true ]
|
|
1071
1226
|
},
|
|
1072
1227
|
hover: {
|
|
1073
1228
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1229
|
+
platforms: [ 'rn' ],
|
|
1074
1230
|
type: 'state',
|
|
1075
1231
|
values: [ true ]
|
|
1076
1232
|
},
|
|
@@ -1131,6 +1287,11 @@ module.exports = {
|
|
|
1131
1287
|
},
|
|
1132
1288
|
PaginationSideButton: {
|
|
1133
1289
|
appearances: {
|
|
1290
|
+
compact: {
|
|
1291
|
+
description: 'Determines if the "Next" and "Previous" labels should be omitted',
|
|
1292
|
+
type: 'state',
|
|
1293
|
+
values: [ true ]
|
|
1294
|
+
},
|
|
1134
1295
|
direction: {
|
|
1135
1296
|
description: "Determines which way does the button navigate in Pagination's context",
|
|
1136
1297
|
type: 'state',
|
|
@@ -1138,11 +1299,13 @@ module.exports = {
|
|
|
1138
1299
|
},
|
|
1139
1300
|
focus: {
|
|
1140
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' ],
|
|
1141
1303
|
type: 'state',
|
|
1142
1304
|
values: [ true ]
|
|
1143
1305
|
},
|
|
1144
1306
|
hover: {
|
|
1145
1307
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1308
|
+
platforms: [ 'rn' ],
|
|
1146
1309
|
type: 'state',
|
|
1147
1310
|
values: [ true ]
|
|
1148
1311
|
},
|
|
@@ -1163,10 +1326,12 @@ module.exports = {
|
|
|
1163
1326
|
}
|
|
1164
1327
|
},
|
|
1165
1328
|
rules: [
|
|
1329
|
+
{ if: { compact: true }, tokens: { displayLabel: false } },
|
|
1166
1330
|
{
|
|
1167
1331
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1168
1332
|
tokens: {
|
|
1169
1333
|
borderRadius: 32,
|
|
1334
|
+
displayLabel: false,
|
|
1170
1335
|
paddingBottom: 4,
|
|
1171
1336
|
paddingTop: 4,
|
|
1172
1337
|
width: 32
|
|
@@ -1207,6 +1372,7 @@ module.exports = {
|
|
|
1207
1372
|
borderRadius: 4,
|
|
1208
1373
|
borderWidth: 1,
|
|
1209
1374
|
color: '#666666',
|
|
1375
|
+
displayLabel: true,
|
|
1210
1376
|
fontName: 'StagSans',
|
|
1211
1377
|
fontSize: 16,
|
|
1212
1378
|
fontWeight: '400',
|
|
@@ -1289,11 +1455,13 @@ module.exports = {
|
|
|
1289
1455
|
appearances: {
|
|
1290
1456
|
focus: {
|
|
1291
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' ],
|
|
1292
1459
|
type: 'state',
|
|
1293
1460
|
values: [ true ]
|
|
1294
1461
|
},
|
|
1295
1462
|
hover: {
|
|
1296
1463
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1464
|
+
platforms: [ 'rn' ],
|
|
1297
1465
|
type: 'state',
|
|
1298
1466
|
values: [ true ]
|
|
1299
1467
|
},
|
|
@@ -1376,11 +1544,13 @@ module.exports = {
|
|
|
1376
1544
|
appearances: {
|
|
1377
1545
|
focus: {
|
|
1378
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' ],
|
|
1379
1548
|
type: 'state',
|
|
1380
1549
|
values: [ true ]
|
|
1381
1550
|
},
|
|
1382
1551
|
hover: {
|
|
1383
1552
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1553
|
+
platforms: [ 'rn' ],
|
|
1384
1554
|
type: 'state',
|
|
1385
1555
|
values: [ true ]
|
|
1386
1556
|
},
|
|
@@ -1433,11 +1603,13 @@ module.exports = {
|
|
|
1433
1603
|
error: { type: 'state', values: [ true ] },
|
|
1434
1604
|
focus: {
|
|
1435
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' ],
|
|
1436
1607
|
type: 'state',
|
|
1437
1608
|
values: [ true ]
|
|
1438
1609
|
},
|
|
1439
1610
|
hover: {
|
|
1440
1611
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1612
|
+
platforms: [ 'rn' ],
|
|
1441
1613
|
type: 'state',
|
|
1442
1614
|
values: [ true ]
|
|
1443
1615
|
},
|
|
@@ -1494,11 +1666,13 @@ module.exports = {
|
|
|
1494
1666
|
error: { type: 'state', values: [ true ] },
|
|
1495
1667
|
focus: {
|
|
1496
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' ],
|
|
1497
1670
|
type: 'state',
|
|
1498
1671
|
values: [ true ]
|
|
1499
1672
|
},
|
|
1500
1673
|
hover: {
|
|
1501
1674
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1675
|
+
platforms: [ 'rn' ],
|
|
1502
1676
|
type: 'state',
|
|
1503
1677
|
values: [ true ]
|
|
1504
1678
|
},
|
|
@@ -1633,12 +1807,13 @@ module.exports = {
|
|
|
1633
1807
|
Search: {
|
|
1634
1808
|
appearances: {
|
|
1635
1809
|
focus: {
|
|
1636
|
-
description:
|
|
1810
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1637
1811
|
type: 'state',
|
|
1638
1812
|
values: [ true ]
|
|
1639
1813
|
},
|
|
1640
1814
|
hover: {
|
|
1641
1815
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1816
|
+
platforms: [ 'rn' ],
|
|
1642
1817
|
type: 'state',
|
|
1643
1818
|
values: [ true ]
|
|
1644
1819
|
},
|
|
@@ -1693,11 +1868,13 @@ module.exports = {
|
|
|
1693
1868
|
appearances: {
|
|
1694
1869
|
focus: {
|
|
1695
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' ],
|
|
1696
1872
|
type: 'state',
|
|
1697
1873
|
values: [ true ]
|
|
1698
1874
|
},
|
|
1699
1875
|
hover: {
|
|
1700
1876
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1877
|
+
platforms: [ 'rn' ],
|
|
1701
1878
|
type: 'state',
|
|
1702
1879
|
values: [ true ]
|
|
1703
1880
|
},
|
|
@@ -1764,12 +1941,13 @@ module.exports = {
|
|
|
1764
1941
|
Select: {
|
|
1765
1942
|
appearances: {
|
|
1766
1943
|
focus: {
|
|
1767
|
-
description:
|
|
1944
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
1768
1945
|
type: 'state',
|
|
1769
1946
|
values: [ true ]
|
|
1770
1947
|
},
|
|
1771
1948
|
hover: {
|
|
1772
1949
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1950
|
+
platforms: [ 'rn' ],
|
|
1773
1951
|
type: 'state',
|
|
1774
1952
|
values: [ true ]
|
|
1775
1953
|
},
|
|
@@ -1861,6 +2039,7 @@ module.exports = {
|
|
|
1861
2039
|
},
|
|
1862
2040
|
hover: {
|
|
1863
2041
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2042
|
+
platforms: [ 'rn' ],
|
|
1864
2043
|
type: 'state',
|
|
1865
2044
|
values: [ true ]
|
|
1866
2045
|
},
|
|
@@ -2080,11 +2259,13 @@ module.exports = {
|
|
|
2080
2259
|
appearances: {
|
|
2081
2260
|
focus: {
|
|
2082
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' ],
|
|
2083
2263
|
type: 'state',
|
|
2084
2264
|
values: [ true ]
|
|
2085
2265
|
},
|
|
2086
2266
|
hover: {
|
|
2087
2267
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2268
|
+
platforms: [ 'rn' ],
|
|
2088
2269
|
type: 'state',
|
|
2089
2270
|
values: [ true ]
|
|
2090
2271
|
},
|
|
@@ -2149,11 +2330,13 @@ module.exports = {
|
|
|
2149
2330
|
appearances: {
|
|
2150
2331
|
focus: {
|
|
2151
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' ],
|
|
2152
2334
|
type: 'state',
|
|
2153
2335
|
values: [ true ]
|
|
2154
2336
|
},
|
|
2155
2337
|
hover: {
|
|
2156
2338
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2339
|
+
platforms: [ 'rn' ],
|
|
2157
2340
|
type: 'state',
|
|
2158
2341
|
values: [ true ]
|
|
2159
2342
|
},
|
|
@@ -2272,12 +2455,13 @@ module.exports = {
|
|
|
2272
2455
|
TextInput: {
|
|
2273
2456
|
appearances: {
|
|
2274
2457
|
focus: {
|
|
2275
|
-
description:
|
|
2458
|
+
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
2276
2459
|
type: 'state',
|
|
2277
2460
|
values: [ true ]
|
|
2278
2461
|
},
|
|
2279
2462
|
hover: {
|
|
2280
2463
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2464
|
+
platforms: [ 'rn' ],
|
|
2281
2465
|
type: 'state',
|
|
2282
2466
|
values: [ true ]
|
|
2283
2467
|
},
|
|
@@ -2330,6 +2514,10 @@ module.exports = {
|
|
|
2330
2514
|
borderColor: '#000000',
|
|
2331
2515
|
borderRadius: 4,
|
|
2332
2516
|
borderWidth: 1,
|
|
2517
|
+
buttonSize: 32,
|
|
2518
|
+
buttonsGap: 1,
|
|
2519
|
+
buttonsPaddingRight: 8,
|
|
2520
|
+
clearButtonIcon: PaletteIconTimes,
|
|
2333
2521
|
color: '#666666',
|
|
2334
2522
|
fontName: 'StagSans',
|
|
2335
2523
|
fontSize: 16,
|
|
@@ -2399,11 +2587,13 @@ module.exports = {
|
|
|
2399
2587
|
appearances: {
|
|
2400
2588
|
focus: {
|
|
2401
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' ],
|
|
2402
2591
|
type: 'state',
|
|
2403
2592
|
values: [ true ]
|
|
2404
2593
|
},
|
|
2405
2594
|
hover: {
|
|
2406
2595
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2596
|
+
platforms: [ 'rn' ],
|
|
2407
2597
|
type: 'state',
|
|
2408
2598
|
values: [ true ]
|
|
2409
2599
|
},
|
|
@@ -2473,8 +2663,8 @@ module.exports = {
|
|
|
2473
2663
|
opacity: 1,
|
|
2474
2664
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2475
2665
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2476
|
-
outerBorderGap:
|
|
2477
|
-
outerBorderWidth:
|
|
2666
|
+
outerBorderGap: 2,
|
|
2667
|
+
outerBorderWidth: 2,
|
|
2478
2668
|
paddingBottom: 4,
|
|
2479
2669
|
paddingLeft: 8,
|
|
2480
2670
|
paddingRight: 8,
|
|
@@ -2537,11 +2727,13 @@ module.exports = {
|
|
|
2537
2727
|
appearances: {
|
|
2538
2728
|
focus: {
|
|
2539
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' ],
|
|
2540
2731
|
type: 'state',
|
|
2541
2732
|
values: [ true ]
|
|
2542
2733
|
},
|
|
2543
2734
|
hover: {
|
|
2544
2735
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2736
|
+
platforms: [ 'rn' ],
|
|
2545
2737
|
type: 'state',
|
|
2546
2738
|
values: [ true ]
|
|
2547
2739
|
},
|
|
@@ -2737,5 +2929,5 @@ module.exports = {
|
|
|
2737
2929
|
tokens: { size: 96 }
|
|
2738
2930
|
}
|
|
2739
2931
|
},
|
|
2740
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2932
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.8.0' }
|
|
2741
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
|
}
|