@telus-uds/theme-koodo 4.13.0 → 4.15.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 +1033 -660
- package/build/android/theme.json +311 -4
- package/build/ios/schema.json +1033 -660
- package/build/ios/theme.json +311 -4
- package/build/rn/schema.json +1033 -660
- package/build/rn/theme.js +200 -7
- package/package.json +4 -4
- package/theme.json +202 -5
package/build/android/theme.json
CHANGED
|
@@ -1440,6 +1440,11 @@
|
|
|
1440
1440
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1441
1441
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
1442
1442
|
"type": "state"
|
|
1443
|
+
},
|
|
1444
|
+
"width": {
|
|
1445
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1446
|
+
"type": "variant",
|
|
1447
|
+
"values": ["responsive"]
|
|
1443
1448
|
}
|
|
1444
1449
|
},
|
|
1445
1450
|
"rules": [
|
|
@@ -1458,6 +1463,16 @@
|
|
|
1458
1463
|
"tokens": {
|
|
1459
1464
|
"space": 3
|
|
1460
1465
|
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"if": {
|
|
1469
|
+
"viewport": ["xs"],
|
|
1470
|
+
"width": "responsive"
|
|
1471
|
+
},
|
|
1472
|
+
"tokens": {
|
|
1473
|
+
"alignItems": "stretch",
|
|
1474
|
+
"direction": "column"
|
|
1475
|
+
}
|
|
1461
1476
|
}
|
|
1462
1477
|
],
|
|
1463
1478
|
"tokens": {
|
|
@@ -1491,6 +1506,11 @@
|
|
|
1491
1506
|
"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`.",
|
|
1492
1507
|
"values": [true],
|
|
1493
1508
|
"type": "state"
|
|
1509
|
+
},
|
|
1510
|
+
"width": {
|
|
1511
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1512
|
+
"type": "variant",
|
|
1513
|
+
"values": ["responsive"]
|
|
1494
1514
|
}
|
|
1495
1515
|
},
|
|
1496
1516
|
"rules": [
|
|
@@ -1579,6 +1599,14 @@
|
|
|
1579
1599
|
"tokens": {
|
|
1580
1600
|
"iconSpace": 1
|
|
1581
1601
|
}
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"if": {
|
|
1605
|
+
"width": "responsive"
|
|
1606
|
+
},
|
|
1607
|
+
"tokens": {
|
|
1608
|
+
"width": "100%"
|
|
1609
|
+
}
|
|
1582
1610
|
}
|
|
1583
1611
|
],
|
|
1584
1612
|
"tokens": {
|
|
@@ -2311,6 +2339,260 @@
|
|
|
2311
2339
|
"labelMarginLeft": 8
|
|
2312
2340
|
}
|
|
2313
2341
|
},
|
|
2342
|
+
"CheckboxCard": {
|
|
2343
|
+
"appearances": {
|
|
2344
|
+
"checked": {
|
|
2345
|
+
"description": "Corresponds to a selected state for a checkbox or radio",
|
|
2346
|
+
"values": [true],
|
|
2347
|
+
"type": "state"
|
|
2348
|
+
},
|
|
2349
|
+
"error": {
|
|
2350
|
+
"values": [true],
|
|
2351
|
+
"type": "state"
|
|
2352
|
+
},
|
|
2353
|
+
"inactive": {
|
|
2354
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
2355
|
+
"values": [true],
|
|
2356
|
+
"type": "state"
|
|
2357
|
+
},
|
|
2358
|
+
"pressed": {
|
|
2359
|
+
"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.",
|
|
2360
|
+
"values": [true, false],
|
|
2361
|
+
"type": "state"
|
|
2362
|
+
},
|
|
2363
|
+
"viewport": {
|
|
2364
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2365
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2366
|
+
"type": "state"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"rules": [
|
|
2370
|
+
{
|
|
2371
|
+
"if": {
|
|
2372
|
+
"viewport": ["lg", "xl"]
|
|
2373
|
+
},
|
|
2374
|
+
"tokens": {
|
|
2375
|
+
"fontSize": 24,
|
|
2376
|
+
"lineHeight": 1.3,
|
|
2377
|
+
"paddingBottom": 24,
|
|
2378
|
+
"paddingLeft": 16,
|
|
2379
|
+
"paddingRight": 24,
|
|
2380
|
+
"paddingTop": 16
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"if": {
|
|
2385
|
+
"checked": true
|
|
2386
|
+
},
|
|
2387
|
+
"tokens": {
|
|
2388
|
+
"borderColor": {
|
|
2389
|
+
"red": 0.78824,
|
|
2390
|
+
"green": 0.78431,
|
|
2391
|
+
"blue": 0.78431,
|
|
2392
|
+
"alpha": 1
|
|
2393
|
+
},
|
|
2394
|
+
"checkboxInputBorderColor": {
|
|
2395
|
+
"red": 0.00392,
|
|
2396
|
+
"green": 0.41961,
|
|
2397
|
+
"blue": 0.41569,
|
|
2398
|
+
"alpha": 1
|
|
2399
|
+
},
|
|
2400
|
+
"checkboxInputBorderWidth": 2
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"description": "Pressed state matches hover state plus light grey background",
|
|
2405
|
+
"if": {
|
|
2406
|
+
"pressed": true
|
|
2407
|
+
},
|
|
2408
|
+
"tokens": {
|
|
2409
|
+
"backgroundColor": {
|
|
2410
|
+
"red": 0.93725,
|
|
2411
|
+
"green": 0.93725,
|
|
2412
|
+
"blue": 0.93725,
|
|
2413
|
+
"alpha": 1
|
|
2414
|
+
},
|
|
2415
|
+
"checkboxOuterBorderColor": {
|
|
2416
|
+
"red": 0.0902,
|
|
2417
|
+
"green": 0.21176,
|
|
2418
|
+
"blue": 0.4902,
|
|
2419
|
+
"alpha": 1
|
|
2420
|
+
},
|
|
2421
|
+
"checkboxOuterBorderGap": 2,
|
|
2422
|
+
"outerBorderColor": {
|
|
2423
|
+
"red": 0.78824,
|
|
2424
|
+
"green": 0.78431,
|
|
2425
|
+
"blue": 0.78431,
|
|
2426
|
+
"alpha": 1
|
|
2427
|
+
},
|
|
2428
|
+
"outerBorderGap": 0,
|
|
2429
|
+
"outerBorderWidth": 1
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"if": {
|
|
2434
|
+
"inactive": true
|
|
2435
|
+
},
|
|
2436
|
+
"tokens": {
|
|
2437
|
+
"backgroundColor": {
|
|
2438
|
+
"red": 0.93725,
|
|
2439
|
+
"green": 0.93725,
|
|
2440
|
+
"blue": 0.93725,
|
|
2441
|
+
"alpha": 1
|
|
2442
|
+
},
|
|
2443
|
+
"borderColor": {
|
|
2444
|
+
"red": 0,
|
|
2445
|
+
"green": 0,
|
|
2446
|
+
"blue": 0,
|
|
2447
|
+
"alpha": 0
|
|
2448
|
+
},
|
|
2449
|
+
"checkboxCheckedBackgroundColor": {
|
|
2450
|
+
"red": 0.78824,
|
|
2451
|
+
"green": 0.78431,
|
|
2452
|
+
"blue": 0.78431,
|
|
2453
|
+
"alpha": 1
|
|
2454
|
+
},
|
|
2455
|
+
"checkboxInputBackgroundColor": {
|
|
2456
|
+
"red": 0.78824,
|
|
2457
|
+
"green": 0.78431,
|
|
2458
|
+
"blue": 0.78431,
|
|
2459
|
+
"alpha": 1
|
|
2460
|
+
},
|
|
2461
|
+
"checkboxInputBorderColor": {
|
|
2462
|
+
"red": 0.78824,
|
|
2463
|
+
"green": 0.78431,
|
|
2464
|
+
"blue": 0.78431,
|
|
2465
|
+
"alpha": 1
|
|
2466
|
+
},
|
|
2467
|
+
"checkboxInputSize": 16,
|
|
2468
|
+
"checkboxOuterBorderColor": {
|
|
2469
|
+
"red": 0.78824,
|
|
2470
|
+
"green": 0.78431,
|
|
2471
|
+
"blue": 0.78431,
|
|
2472
|
+
"alpha": 1
|
|
2473
|
+
},
|
|
2474
|
+
"checkboxOuterBorderGap": 2,
|
|
2475
|
+
"checkboxOuterBorderWidth": 1,
|
|
2476
|
+
"color": {
|
|
2477
|
+
"red": 0.4,
|
|
2478
|
+
"green": 0.4,
|
|
2479
|
+
"blue": 0.4,
|
|
2480
|
+
"alpha": 1
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"if": {
|
|
2486
|
+
"error": true
|
|
2487
|
+
},
|
|
2488
|
+
"tokens": {
|
|
2489
|
+
"borderColor": {
|
|
2490
|
+
"red": 0.87451,
|
|
2491
|
+
"green": 0.23922,
|
|
2492
|
+
"blue": 0.04706,
|
|
2493
|
+
"alpha": 1
|
|
2494
|
+
},
|
|
2495
|
+
"checkboxInputBorderColor": {
|
|
2496
|
+
"red": 0.87451,
|
|
2497
|
+
"green": 0.23922,
|
|
2498
|
+
"blue": 0.04706,
|
|
2499
|
+
"alpha": 1
|
|
2500
|
+
},
|
|
2501
|
+
"color": {
|
|
2502
|
+
"red": 0.87451,
|
|
2503
|
+
"green": 0.23922,
|
|
2504
|
+
"blue": 0.04706,
|
|
2505
|
+
"alpha": 1
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
],
|
|
2510
|
+
"tokens": {
|
|
2511
|
+
"backgroundColor": {
|
|
2512
|
+
"red": 1,
|
|
2513
|
+
"green": 1,
|
|
2514
|
+
"blue": 1,
|
|
2515
|
+
"alpha": 1
|
|
2516
|
+
},
|
|
2517
|
+
"borderColor": {
|
|
2518
|
+
"red": 0.78824,
|
|
2519
|
+
"green": 0.78431,
|
|
2520
|
+
"blue": 0.78431,
|
|
2521
|
+
"alpha": 1
|
|
2522
|
+
},
|
|
2523
|
+
"borderRadius": 4,
|
|
2524
|
+
"borderWidth": 1,
|
|
2525
|
+
"checkboxCheckedBackgroundColor": {
|
|
2526
|
+
"red": 0.00392,
|
|
2527
|
+
"green": 0.41961,
|
|
2528
|
+
"blue": 0.41569,
|
|
2529
|
+
"alpha": 1
|
|
2530
|
+
},
|
|
2531
|
+
"checkboxCheckedSize": 16,
|
|
2532
|
+
"checkboxInputBackgroundColor": {
|
|
2533
|
+
"red": 1,
|
|
2534
|
+
"green": 1,
|
|
2535
|
+
"blue": 1,
|
|
2536
|
+
"alpha": 1
|
|
2537
|
+
},
|
|
2538
|
+
"checkboxInputBorderColor": {
|
|
2539
|
+
"red": 0.00392,
|
|
2540
|
+
"green": 0.41961,
|
|
2541
|
+
"blue": 0.41569,
|
|
2542
|
+
"alpha": 1
|
|
2543
|
+
},
|
|
2544
|
+
"checkboxInputBorderWidth": 2,
|
|
2545
|
+
"checkboxInputOutlineColor": {
|
|
2546
|
+
"red": 0,
|
|
2547
|
+
"green": 0,
|
|
2548
|
+
"blue": 0,
|
|
2549
|
+
"alpha": 0
|
|
2550
|
+
},
|
|
2551
|
+
"checkboxInputOutlineWidth": 0,
|
|
2552
|
+
"checkboxInputSize": 24,
|
|
2553
|
+
"checkboxOuterBorderColor": {
|
|
2554
|
+
"red": 0,
|
|
2555
|
+
"green": 0,
|
|
2556
|
+
"blue": 0,
|
|
2557
|
+
"alpha": 0
|
|
2558
|
+
},
|
|
2559
|
+
"checkboxOuterBorderGap": 0,
|
|
2560
|
+
"checkboxOuterBorderWidth": 0,
|
|
2561
|
+
"checkboxSpace": 2,
|
|
2562
|
+
"color": {
|
|
2563
|
+
"red": 0,
|
|
2564
|
+
"green": 0,
|
|
2565
|
+
"blue": 0,
|
|
2566
|
+
"alpha": 1
|
|
2567
|
+
},
|
|
2568
|
+
"contentAlignItems": "stretch",
|
|
2569
|
+
"contentFlexGrow": 0,
|
|
2570
|
+
"contentFlexShrink": 1,
|
|
2571
|
+
"contentJustifyContent": "flex-start",
|
|
2572
|
+
"contentSpace": 2,
|
|
2573
|
+
"flex": 1,
|
|
2574
|
+
"fontName": "StagSans",
|
|
2575
|
+
"fontSize": 20,
|
|
2576
|
+
"fontWeight": 700,
|
|
2577
|
+
"letterSpacing": 0,
|
|
2578
|
+
"lineHeight": 1.4,
|
|
2579
|
+
"minWidth": 288,
|
|
2580
|
+
"outerBorderColor": {
|
|
2581
|
+
"red": 0,
|
|
2582
|
+
"green": 0,
|
|
2583
|
+
"blue": 0,
|
|
2584
|
+
"alpha": 0
|
|
2585
|
+
},
|
|
2586
|
+
"outerBorderGap": 0,
|
|
2587
|
+
"outerBorderWidth": 0,
|
|
2588
|
+
"paddingBottom": 16,
|
|
2589
|
+
"paddingLeft": 8,
|
|
2590
|
+
"paddingRight": 16,
|
|
2591
|
+
"paddingTop": 12,
|
|
2592
|
+
"shadow": null,
|
|
2593
|
+
"textTransform": "none"
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2314
2596
|
"CheckboxGroup": {
|
|
2315
2597
|
"appearances": {},
|
|
2316
2598
|
"rules": [],
|
|
@@ -8080,7 +8362,8 @@
|
|
|
8080
8362
|
"alignItems": "stretch",
|
|
8081
8363
|
"flexGrow": 0,
|
|
8082
8364
|
"flexShrink": 0,
|
|
8083
|
-
"justifyContent": "flex-start"
|
|
8365
|
+
"justifyContent": "flex-start",
|
|
8366
|
+
"width": null
|
|
8084
8367
|
}
|
|
8085
8368
|
},
|
|
8086
8369
|
"StepTracker": {
|
|
@@ -8612,7 +8895,13 @@
|
|
|
8612
8895
|
}
|
|
8613
8896
|
},
|
|
8614
8897
|
"Tabs": {
|
|
8615
|
-
"appearances": {
|
|
8898
|
+
"appearances": {
|
|
8899
|
+
"equalWidth": {
|
|
8900
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
8901
|
+
"type": "variant",
|
|
8902
|
+
"values": [true]
|
|
8903
|
+
}
|
|
8904
|
+
},
|
|
8616
8905
|
"rules": [],
|
|
8617
8906
|
"tokens": {
|
|
8618
8907
|
"borderBottomColor": {
|
|
@@ -8631,6 +8920,11 @@
|
|
|
8631
8920
|
},
|
|
8632
8921
|
"TabsItem": {
|
|
8633
8922
|
"appearances": {
|
|
8923
|
+
"equalWidth": {
|
|
8924
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
8925
|
+
"type": "variant",
|
|
8926
|
+
"values": [true]
|
|
8927
|
+
},
|
|
8634
8928
|
"inverse": {
|
|
8635
8929
|
"type": "variant",
|
|
8636
8930
|
"values": [true]
|
|
@@ -8743,6 +9037,14 @@
|
|
|
8743
9037
|
},
|
|
8744
9038
|
"highlightBarBorderWidth": 0
|
|
8745
9039
|
}
|
|
9040
|
+
},
|
|
9041
|
+
{
|
|
9042
|
+
"if": {
|
|
9043
|
+
"equalWidth": true
|
|
9044
|
+
},
|
|
9045
|
+
"tokens": {
|
|
9046
|
+
"maxWidth": null
|
|
9047
|
+
}
|
|
8746
9048
|
}
|
|
8747
9049
|
],
|
|
8748
9050
|
"tokens": {
|
|
@@ -9326,6 +9628,7 @@
|
|
|
9326
9628
|
}
|
|
9327
9629
|
],
|
|
9328
9630
|
"tokens": {
|
|
9631
|
+
"amexIcon": "PaletteIconAmex",
|
|
9329
9632
|
"backgroundColor": {
|
|
9330
9633
|
"red": 1,
|
|
9331
9634
|
"green": 1,
|
|
@@ -9350,6 +9653,7 @@
|
|
|
9350
9653
|
"blue": 0.4,
|
|
9351
9654
|
"alpha": 1
|
|
9352
9655
|
},
|
|
9656
|
+
"defaultCreditIcon": "PaletteIconCreditCard",
|
|
9353
9657
|
"fontName": "StagSans",
|
|
9354
9658
|
"fontSize": 16,
|
|
9355
9659
|
"fontWeight": 400,
|
|
@@ -9361,7 +9665,9 @@
|
|
|
9361
9665
|
"alpha": 0
|
|
9362
9666
|
},
|
|
9363
9667
|
"iconSize": 24,
|
|
9668
|
+
"leftIconPaddingBottom": 5,
|
|
9364
9669
|
"lineHeight": 1.5,
|
|
9670
|
+
"masterCardIcon": "PaletteIconMasterCard",
|
|
9365
9671
|
"outerBackgroundColor": {
|
|
9366
9672
|
"red": 0,
|
|
9367
9673
|
"green": 0,
|
|
@@ -9380,7 +9686,8 @@
|
|
|
9380
9686
|
"paddingRight": 16,
|
|
9381
9687
|
"paddingTop": 10,
|
|
9382
9688
|
"passwordHideButtonIcon": "PaletteIconEyeMasked",
|
|
9383
|
-
"passwordShowButtonIcon": "PaletteIconEyeUnmasked"
|
|
9689
|
+
"passwordShowButtonIcon": "PaletteIconEyeUnmasked",
|
|
9690
|
+
"visaIcon": "PaletteIconVisa"
|
|
9384
9691
|
}
|
|
9385
9692
|
},
|
|
9386
9693
|
"Timeline": {
|
|
@@ -11016,7 +11323,7 @@
|
|
|
11016
11323
|
}
|
|
11017
11324
|
},
|
|
11018
11325
|
"metadata": {
|
|
11019
|
-
"themeTokensVersion": "2.
|
|
11326
|
+
"themeTokensVersion": "2.43.0",
|
|
11020
11327
|
"name": "theme-koodo"
|
|
11021
11328
|
}
|
|
11022
11329
|
}
|