@telus-uds/theme-public-mobile 2.3.2 → 2.4.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 +562 -533
- package/build/android/theme.json +191 -57
- package/build/ios/schema.json +562 -533
- package/build/ios/theme.json +191 -57
- package/build/rn/schema.json +562 -533
- package/build/rn/theme.js +117 -68
- package/package.json +3 -3
- package/theme.json +158 -91
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 Mon, 16 Oct 2023 22:46:53 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -989,6 +989,7 @@ module.exports = {
|
|
|
989
989
|
type: 'variant',
|
|
990
990
|
values: [ 'alternative', 'subtle', 'grid', 'image', 'feature' ]
|
|
991
991
|
},
|
|
992
|
+
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
992
993
|
padding: {
|
|
993
994
|
type: 'variant',
|
|
994
995
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1000,6 +1001,9 @@ module.exports = {
|
|
|
1000
1001
|
}
|
|
1001
1002
|
},
|
|
1002
1003
|
rules: [
|
|
1004
|
+
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1005
|
+
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
1006
|
+
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 6 } },
|
|
1003
1007
|
{
|
|
1004
1008
|
if: { background: 'alternative' },
|
|
1005
1009
|
tokens: { backgroundColor: '#fcf8ee', borderColor: '#cdcfd5' }
|
|
@@ -2270,31 +2274,33 @@ module.exports = {
|
|
|
2270
2274
|
}
|
|
2271
2275
|
},
|
|
2272
2276
|
{
|
|
2273
|
-
if: { hover: true,
|
|
2274
|
-
tokens: {
|
|
2277
|
+
if: { hover: true, inactive: true },
|
|
2278
|
+
tokens: { iconScale: 1 }
|
|
2275
2279
|
},
|
|
2276
2280
|
{
|
|
2277
2281
|
if: { hover: true, password: true },
|
|
2278
|
-
tokens: {
|
|
2282
|
+
tokens: {
|
|
2283
|
+
backgroundColor: '#394056',
|
|
2284
|
+
borderColor: '#394056',
|
|
2285
|
+
iconColor: '#ffffff'
|
|
2286
|
+
}
|
|
2279
2287
|
},
|
|
2280
2288
|
{
|
|
2281
2289
|
if: { password: true },
|
|
2282
2290
|
tokens: { borderColor: 'rgba(0, 0, 0, 0)' }
|
|
2283
2291
|
},
|
|
2292
|
+
{
|
|
2293
|
+
if: { hover: true, inverse: true },
|
|
2294
|
+
tokens: { borderColor: '#f9cebf', iconColor: '#f9cebf' }
|
|
2295
|
+
},
|
|
2284
2296
|
{
|
|
2285
2297
|
if: { focus: true },
|
|
2286
2298
|
tokens: {
|
|
2287
|
-
borderColor: '#636c8c',
|
|
2288
|
-
iconColor: '#636c8c',
|
|
2289
2299
|
outerBorderColor: '#636c8c',
|
|
2290
2300
|
outerBorderGap: 2,
|
|
2291
2301
|
outerBorderWidth: 2
|
|
2292
2302
|
}
|
|
2293
2303
|
},
|
|
2294
|
-
{
|
|
2295
|
-
if: { focus: true, password: true },
|
|
2296
|
-
tokens: { borderColor: '#636c8c', borderWidth: 2 }
|
|
2297
|
-
},
|
|
2298
2304
|
{
|
|
2299
2305
|
if: { focus: true, inverse: true },
|
|
2300
2306
|
tokens: {
|
|
@@ -2314,6 +2320,35 @@ module.exports = {
|
|
|
2314
2320
|
outerBorderGap: 4
|
|
2315
2321
|
}
|
|
2316
2322
|
},
|
|
2323
|
+
{
|
|
2324
|
+
if: { password: true, pressed: true },
|
|
2325
|
+
tokens: {
|
|
2326
|
+
backgroundColor: '#636c8c',
|
|
2327
|
+
borderColor: '#636c8c',
|
|
2328
|
+
borderWidth: 1,
|
|
2329
|
+
iconColor: '#ffffff',
|
|
2330
|
+
outerBorderGap: 0,
|
|
2331
|
+
outerBorderWidth: 0
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
if: { inactive: true, password: true, pressed: true },
|
|
2336
|
+
tokens: {
|
|
2337
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2338
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2339
|
+
borderWidth: 0,
|
|
2340
|
+
outerBorderGap: 0,
|
|
2341
|
+
outerBorderWidth: 0
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
if: { focus: true, password: true, pressed: false },
|
|
2346
|
+
tokens: {
|
|
2347
|
+
outerBorderColor: '#636c8c',
|
|
2348
|
+
outerBorderGap: 0,
|
|
2349
|
+
outerBorderWidth: 1
|
|
2350
|
+
}
|
|
2351
|
+
},
|
|
2317
2352
|
{
|
|
2318
2353
|
if: { inverse: true, pressed: true },
|
|
2319
2354
|
tokens: {
|
|
@@ -2365,6 +2400,16 @@ module.exports = {
|
|
|
2365
2400
|
outerBorderColor: '#636c8c'
|
|
2366
2401
|
}
|
|
2367
2402
|
},
|
|
2403
|
+
{
|
|
2404
|
+
if: { inactive: true, password: true },
|
|
2405
|
+
tokens: {
|
|
2406
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2407
|
+
borderWidth: 0,
|
|
2408
|
+
iconColor: '#9c9faa',
|
|
2409
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2410
|
+
outerBorderWidth: 0
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2368
2413
|
{
|
|
2369
2414
|
if: { focus: true, pressed: true, raised: true },
|
|
2370
2415
|
tokens: {
|
|
@@ -2389,17 +2434,8 @@ module.exports = {
|
|
|
2389
2434
|
},
|
|
2390
2435
|
{ if: { compact: true }, tokens: { outerBorderGap: 0 } },
|
|
2391
2436
|
{
|
|
2392
|
-
if: {
|
|
2393
|
-
tokens: { iconColor: '#9c9faa', outerBorderWidth: 0 }
|
|
2394
|
-
},
|
|
2395
|
-
{
|
|
2396
|
-
if: { hover: true, inactive: true, password: true },
|
|
2437
|
+
if: { hover: true, password: true },
|
|
2397
2438
|
tokens: { iconColor: '#9c9faa', outerBorderWidth: 0 }
|
|
2398
|
-
},
|
|
2399
|
-
{ if: { password: true }, tokens: { outerBorderWidth: 0 } },
|
|
2400
|
-
{
|
|
2401
|
-
if: { focus: true, pressed: true },
|
|
2402
|
-
tokens: { outerBorderGap: 1 }
|
|
2403
2439
|
}
|
|
2404
2440
|
],
|
|
2405
2441
|
tokens: {
|
|
@@ -2415,6 +2451,7 @@ module.exports = {
|
|
|
2415
2451
|
borderTopRightRadius: null,
|
|
2416
2452
|
borderTopWidth: 1,
|
|
2417
2453
|
borderWidth: 2,
|
|
2454
|
+
height: null,
|
|
2418
2455
|
icon: PaletteIconAdd,
|
|
2419
2456
|
iconColor: '#636c8c',
|
|
2420
2457
|
iconScale: 1,
|
|
@@ -2425,7 +2462,8 @@ module.exports = {
|
|
|
2425
2462
|
outerBorderGap: 0,
|
|
2426
2463
|
outerBorderWidth: 0,
|
|
2427
2464
|
padding: 4,
|
|
2428
|
-
shadow: null
|
|
2465
|
+
shadow: null,
|
|
2466
|
+
width: null
|
|
2429
2467
|
}
|
|
2430
2468
|
},
|
|
2431
2469
|
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
@@ -5345,27 +5383,12 @@ module.exports = {
|
|
|
5345
5383
|
}
|
|
5346
5384
|
},
|
|
5347
5385
|
rules: [
|
|
5348
|
-
{
|
|
5349
|
-
if: { pressed: true },
|
|
5350
|
-
tokens: {
|
|
5351
|
-
backgroundColor: '#2b3145',
|
|
5352
|
-
borderColor: '#636c8c',
|
|
5353
|
-
borderWidth: 1,
|
|
5354
|
-
color: '#ffffff',
|
|
5355
|
-
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
5356
|
-
iconColor: '#ffffff',
|
|
5357
|
-
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5358
|
-
outerBorderWidth: 0
|
|
5359
|
-
}
|
|
5360
|
-
},
|
|
5361
5386
|
{
|
|
5362
5387
|
if: { focus: true },
|
|
5363
5388
|
tokens: {
|
|
5364
|
-
backgroundColor: '#
|
|
5389
|
+
backgroundColor: '#fcf8ee',
|
|
5365
5390
|
borderColor: '#636c8c',
|
|
5366
5391
|
color: '#394056',
|
|
5367
|
-
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
5368
|
-
iconColor: '#394056',
|
|
5369
5392
|
outerBorderColor: '#f9cebf',
|
|
5370
5393
|
outerBorderGap: 0,
|
|
5371
5394
|
outerBorderWidth: 3
|
|
@@ -5374,23 +5397,23 @@ module.exports = {
|
|
|
5374
5397
|
{
|
|
5375
5398
|
if: { hover: true },
|
|
5376
5399
|
tokens: {
|
|
5377
|
-
backgroundColor: '
|
|
5378
|
-
borderColor: '
|
|
5379
|
-
borderWidth:
|
|
5380
|
-
color: '#
|
|
5381
|
-
iconBackground: '
|
|
5382
|
-
iconColor: '#
|
|
5400
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5401
|
+
borderColor: '#636c8c',
|
|
5402
|
+
borderWidth: 1,
|
|
5403
|
+
color: '#394056',
|
|
5404
|
+
iconBackground: '#2b3145',
|
|
5405
|
+
iconColor: '#f39d80'
|
|
5383
5406
|
}
|
|
5384
5407
|
},
|
|
5385
5408
|
{
|
|
5386
5409
|
if: { selected: true },
|
|
5387
5410
|
tokens: {
|
|
5388
|
-
backgroundColor: '#
|
|
5411
|
+
backgroundColor: '#f9f2dd',
|
|
5389
5412
|
borderColor: '#636c8c',
|
|
5390
|
-
color: '#
|
|
5413
|
+
color: '#394056',
|
|
5391
5414
|
icon: PaletteIconXMark,
|
|
5392
|
-
iconBackground: '
|
|
5393
|
-
iconColor: '#
|
|
5415
|
+
iconBackground: '#2b3145',
|
|
5416
|
+
iconColor: '#f9f2dd',
|
|
5394
5417
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5395
5418
|
outerBorderWidth: 0
|
|
5396
5419
|
}
|
|
@@ -5398,27 +5421,53 @@ module.exports = {
|
|
|
5398
5421
|
{
|
|
5399
5422
|
if: { hover: true, selected: true },
|
|
5400
5423
|
tokens: {
|
|
5401
|
-
backgroundColor: '
|
|
5402
|
-
borderColor: '
|
|
5403
|
-
borderWidth:
|
|
5404
|
-
color: '#
|
|
5405
|
-
iconBackground: '
|
|
5406
|
-
iconColor: '#
|
|
5424
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5425
|
+
borderColor: '#636c8c',
|
|
5426
|
+
borderWidth: 1,
|
|
5427
|
+
color: '#394056',
|
|
5428
|
+
iconBackground: '#2b3145',
|
|
5429
|
+
iconColor: '#f39d80'
|
|
5407
5430
|
}
|
|
5408
5431
|
},
|
|
5409
5432
|
{
|
|
5410
5433
|
if: { focus: true, selected: true },
|
|
5411
5434
|
tokens: {
|
|
5412
|
-
backgroundColor: '#
|
|
5435
|
+
backgroundColor: '#f9f2dd',
|
|
5413
5436
|
borderColor: '#636c8c',
|
|
5414
|
-
color: '#
|
|
5415
|
-
iconBackground: '
|
|
5416
|
-
iconColor: '#
|
|
5437
|
+
color: '#394056',
|
|
5438
|
+
iconBackground: '#2b3145',
|
|
5439
|
+
iconColor: '#f9f2dd',
|
|
5417
5440
|
outerBorderColor: '#f9cebf',
|
|
5418
5441
|
outerBorderGap: 0,
|
|
5419
5442
|
outerBorderWidth: 3
|
|
5420
5443
|
}
|
|
5421
5444
|
},
|
|
5445
|
+
{
|
|
5446
|
+
if: { pressed: true, selected: true },
|
|
5447
|
+
tokens: {
|
|
5448
|
+
backgroundColor: '#2b3145',
|
|
5449
|
+
borderColor: '#636c8c',
|
|
5450
|
+
borderWidth: 1,
|
|
5451
|
+
color: '#f9f2dd',
|
|
5452
|
+
iconBackground: '#f9f2dd',
|
|
5453
|
+
iconColor: '#2b3145',
|
|
5454
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5455
|
+
outerBorderWidth: 0
|
|
5456
|
+
}
|
|
5457
|
+
},
|
|
5458
|
+
{
|
|
5459
|
+
if: { pressed: true },
|
|
5460
|
+
tokens: {
|
|
5461
|
+
backgroundColor: '#2b3145',
|
|
5462
|
+
borderColor: '#636c8c',
|
|
5463
|
+
borderWidth: 1,
|
|
5464
|
+
color: '#f9f2dd',
|
|
5465
|
+
iconBackground: '#f9f2dd',
|
|
5466
|
+
iconColor: '#2b3145',
|
|
5467
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5468
|
+
outerBorderWidth: 0
|
|
5469
|
+
}
|
|
5470
|
+
},
|
|
5422
5471
|
{
|
|
5423
5472
|
if: { inactive: true },
|
|
5424
5473
|
tokens: {
|
|
@@ -5426,29 +5475,29 @@ module.exports = {
|
|
|
5426
5475
|
borderColor: '#9c9faa',
|
|
5427
5476
|
borderWidth: 1,
|
|
5428
5477
|
color: '#cdcfd5',
|
|
5429
|
-
iconBackground: '
|
|
5430
|
-
iconColor: '#
|
|
5478
|
+
iconBackground: '#cdcfd5',
|
|
5479
|
+
iconColor: '#ffffff'
|
|
5431
5480
|
}
|
|
5432
5481
|
}
|
|
5433
5482
|
],
|
|
5434
5483
|
tokens: {
|
|
5435
5484
|
alignSelf: 'center',
|
|
5436
|
-
backgroundColor: '#
|
|
5485
|
+
backgroundColor: '#fcf8ee',
|
|
5437
5486
|
borderColor: '#636c8c',
|
|
5438
|
-
borderRadius:
|
|
5487
|
+
borderRadius: 32,
|
|
5439
5488
|
borderWidth: 1,
|
|
5440
5489
|
color: '#394056',
|
|
5441
5490
|
fontName: 'SofiaPro',
|
|
5442
5491
|
fontSize: 18,
|
|
5443
|
-
fontWeight: '
|
|
5492
|
+
fontWeight: '700',
|
|
5444
5493
|
icon: PaletteIconAdd,
|
|
5445
5494
|
iconAlignSelf: 'center',
|
|
5446
|
-
iconBackground: '
|
|
5447
|
-
iconBorderRadius:
|
|
5448
|
-
iconColor: '#
|
|
5495
|
+
iconBackground: '#394056',
|
|
5496
|
+
iconBorderRadius: 48,
|
|
5497
|
+
iconColor: '#f9f2dd',
|
|
5449
5498
|
iconPadding: 2,
|
|
5450
5499
|
iconPosition: 'right',
|
|
5451
|
-
iconSize:
|
|
5500
|
+
iconSize: 16,
|
|
5452
5501
|
iconSpace: 1,
|
|
5453
5502
|
iconTranslateX: 0,
|
|
5454
5503
|
iconTranslateY: 0,
|
|
@@ -5460,8 +5509,8 @@ module.exports = {
|
|
|
5460
5509
|
outerBorderGap: 2,
|
|
5461
5510
|
outerBorderWidth: 0,
|
|
5462
5511
|
paddingBottom: 10,
|
|
5463
|
-
paddingLeft:
|
|
5464
|
-
paddingRight:
|
|
5512
|
+
paddingLeft: 11,
|
|
5513
|
+
paddingRight: 11,
|
|
5465
5514
|
paddingTop: 10,
|
|
5466
5515
|
shadow: null,
|
|
5467
5516
|
textAlign: 'center'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-public-mobile",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Public Mobile theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"public mobile"
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"theme.json"
|
|
15
15
|
],
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
17
|
+
"@telus-uds/palette-public-mobile": "^1.1.0",
|
|
18
18
|
"@telus-uds/system-theme-tokens": "^2.41.1"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
21
|
+
"@telus-uds/palette-public-mobile": "^1.1.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|