@telus-uds/theme-public-mobile 2.4.0 → 2.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/android/schema.json +1029 -671
- package/build/android/theme.json +353 -5
- package/build/ios/schema.json +1029 -671
- package/build/ios/theme.json +353 -5
- package/build/rn/schema.json +1029 -671
- package/build/rn/theme.js +222 -7
- package/package.json +4 -4
- package/theme.json +221 -4
package/build/android/theme.json
CHANGED
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
"type": "variant",
|
|
37
37
|
"values": [true]
|
|
38
38
|
},
|
|
39
|
+
"inverse": {
|
|
40
|
+
"type": "variant",
|
|
41
|
+
"values": [true]
|
|
42
|
+
},
|
|
39
43
|
"outline": {
|
|
40
44
|
"type": "variant",
|
|
41
45
|
"values": [true]
|
|
@@ -46,6 +50,31 @@
|
|
|
46
50
|
}
|
|
47
51
|
},
|
|
48
52
|
"rules": [
|
|
53
|
+
{
|
|
54
|
+
"if": {
|
|
55
|
+
"inverse": true
|
|
56
|
+
},
|
|
57
|
+
"tokens": {
|
|
58
|
+
"backgroundColor": {
|
|
59
|
+
"red": 0,
|
|
60
|
+
"green": 0,
|
|
61
|
+
"blue": 0,
|
|
62
|
+
"alpha": 0
|
|
63
|
+
},
|
|
64
|
+
"borderColor": {
|
|
65
|
+
"red": 1,
|
|
66
|
+
"green": 1,
|
|
67
|
+
"blue": 1,
|
|
68
|
+
"alpha": 1
|
|
69
|
+
},
|
|
70
|
+
"color": {
|
|
71
|
+
"red": 1,
|
|
72
|
+
"green": 1,
|
|
73
|
+
"blue": 1,
|
|
74
|
+
"alpha": 1
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
49
78
|
{
|
|
50
79
|
"if": {
|
|
51
80
|
"alternative": true
|
|
@@ -2453,6 +2482,254 @@
|
|
|
2453
2482
|
"labelMarginLeft": 10
|
|
2454
2483
|
}
|
|
2455
2484
|
},
|
|
2485
|
+
"CheckboxCard": {
|
|
2486
|
+
"appearances": {
|
|
2487
|
+
"checked": {
|
|
2488
|
+
"description": "Corresponds to a selected state for a checkbox or radio",
|
|
2489
|
+
"values": [true],
|
|
2490
|
+
"type": "state"
|
|
2491
|
+
},
|
|
2492
|
+
"error": {
|
|
2493
|
+
"values": [true],
|
|
2494
|
+
"type": "state"
|
|
2495
|
+
},
|
|
2496
|
+
"inactive": {
|
|
2497
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
2498
|
+
"values": [true],
|
|
2499
|
+
"type": "state"
|
|
2500
|
+
},
|
|
2501
|
+
"pressed": {
|
|
2502
|
+
"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.",
|
|
2503
|
+
"values": [true, false],
|
|
2504
|
+
"type": "state"
|
|
2505
|
+
},
|
|
2506
|
+
"viewport": {
|
|
2507
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2508
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2509
|
+
"type": "state"
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
"rules": [
|
|
2513
|
+
{
|
|
2514
|
+
"if": {
|
|
2515
|
+
"viewport": ["lg", "xl"]
|
|
2516
|
+
},
|
|
2517
|
+
"tokens": {
|
|
2518
|
+
"fontSize": 24,
|
|
2519
|
+
"paddingBottom": 24,
|
|
2520
|
+
"paddingLeft": 16,
|
|
2521
|
+
"paddingRight": 24,
|
|
2522
|
+
"paddingTop": 16
|
|
2523
|
+
}
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"if": {
|
|
2527
|
+
"checked": true
|
|
2528
|
+
},
|
|
2529
|
+
"tokens": {
|
|
2530
|
+
"checkboxInputBorderColor": {
|
|
2531
|
+
"red": 0.22353,
|
|
2532
|
+
"green": 0.25098,
|
|
2533
|
+
"blue": 0.33725,
|
|
2534
|
+
"alpha": 1
|
|
2535
|
+
},
|
|
2536
|
+
"checkboxInputBorderWidth": 2,
|
|
2537
|
+
"checkboxOuterBorderGap": 2
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"if": {
|
|
2542
|
+
"pressed": true
|
|
2543
|
+
},
|
|
2544
|
+
"tokens": {
|
|
2545
|
+
"backgroundColor": {
|
|
2546
|
+
"red": 0.96078,
|
|
2547
|
+
"green": 0.96078,
|
|
2548
|
+
"blue": 0.96863,
|
|
2549
|
+
"alpha": 1
|
|
2550
|
+
},
|
|
2551
|
+
"borderColor": {
|
|
2552
|
+
"red": 0.80392,
|
|
2553
|
+
"green": 0.81176,
|
|
2554
|
+
"blue": 0.83529,
|
|
2555
|
+
"alpha": 1
|
|
2556
|
+
},
|
|
2557
|
+
"checkboxInputBackgroundColor": {
|
|
2558
|
+
"red": 0.98824,
|
|
2559
|
+
"green": 0.90196,
|
|
2560
|
+
"blue": 0.87451,
|
|
2561
|
+
"alpha": 1
|
|
2562
|
+
},
|
|
2563
|
+
"checkboxInputBorderColor": {
|
|
2564
|
+
"red": 0.22353,
|
|
2565
|
+
"green": 0.25098,
|
|
2566
|
+
"blue": 0.33725,
|
|
2567
|
+
"alpha": 1
|
|
2568
|
+
},
|
|
2569
|
+
"checkboxInputOutlineColor": {
|
|
2570
|
+
"red": 0,
|
|
2571
|
+
"green": 0,
|
|
2572
|
+
"blue": 0,
|
|
2573
|
+
"alpha": 0
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
"if": {
|
|
2579
|
+
"inactive": true
|
|
2580
|
+
},
|
|
2581
|
+
"tokens": {
|
|
2582
|
+
"backgroundColor": {
|
|
2583
|
+
"red": 0.96078,
|
|
2584
|
+
"green": 0.96078,
|
|
2585
|
+
"blue": 0.96863,
|
|
2586
|
+
"alpha": 1
|
|
2587
|
+
},
|
|
2588
|
+
"borderColor": {
|
|
2589
|
+
"red": 0,
|
|
2590
|
+
"green": 0,
|
|
2591
|
+
"blue": 0,
|
|
2592
|
+
"alpha": 0
|
|
2593
|
+
},
|
|
2594
|
+
"checkboxInputBackgroundColor": {
|
|
2595
|
+
"red": 0.61176,
|
|
2596
|
+
"green": 0.62353,
|
|
2597
|
+
"blue": 0.66667,
|
|
2598
|
+
"alpha": 1
|
|
2599
|
+
},
|
|
2600
|
+
"checkboxInputBorderColor": {
|
|
2601
|
+
"red": 0.80392,
|
|
2602
|
+
"green": 0.81176,
|
|
2603
|
+
"blue": 0.83529,
|
|
2604
|
+
"alpha": 1
|
|
2605
|
+
},
|
|
2606
|
+
"checkboxInputOutlineColor": {
|
|
2607
|
+
"red": 0.80392,
|
|
2608
|
+
"green": 0.81176,
|
|
2609
|
+
"blue": 0.83529,
|
|
2610
|
+
"alpha": 1
|
|
2611
|
+
},
|
|
2612
|
+
"checkboxOuterBorderGap": 0,
|
|
2613
|
+
"color": {
|
|
2614
|
+
"red": 0.38824,
|
|
2615
|
+
"green": 0.42353,
|
|
2616
|
+
"blue": 0.54902,
|
|
2617
|
+
"alpha": 1
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"if": {
|
|
2623
|
+
"error": true
|
|
2624
|
+
},
|
|
2625
|
+
"tokens": {
|
|
2626
|
+
"borderColor": {
|
|
2627
|
+
"red": 0.74902,
|
|
2628
|
+
"green": 0.0902,
|
|
2629
|
+
"blue": 0.13333,
|
|
2630
|
+
"alpha": 1
|
|
2631
|
+
},
|
|
2632
|
+
"checkboxInputBorderColor": {
|
|
2633
|
+
"red": 0.74902,
|
|
2634
|
+
"green": 0.0902,
|
|
2635
|
+
"blue": 0.13333,
|
|
2636
|
+
"alpha": 1
|
|
2637
|
+
},
|
|
2638
|
+
"color": {
|
|
2639
|
+
"red": 0.74902,
|
|
2640
|
+
"green": 0.0902,
|
|
2641
|
+
"blue": 0.13333,
|
|
2642
|
+
"alpha": 1
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
],
|
|
2647
|
+
"tokens": {
|
|
2648
|
+
"backgroundColor": {
|
|
2649
|
+
"red": 0,
|
|
2650
|
+
"green": 0,
|
|
2651
|
+
"blue": 0,
|
|
2652
|
+
"alpha": 0
|
|
2653
|
+
},
|
|
2654
|
+
"borderColor": {
|
|
2655
|
+
"red": 0.61176,
|
|
2656
|
+
"green": 0.62353,
|
|
2657
|
+
"blue": 0.66667,
|
|
2658
|
+
"alpha": 1
|
|
2659
|
+
},
|
|
2660
|
+
"borderRadius": 6,
|
|
2661
|
+
"borderWidth": 1,
|
|
2662
|
+
"checkboxCheckedBackgroundColor": {
|
|
2663
|
+
"red": 0.22353,
|
|
2664
|
+
"green": 0.25098,
|
|
2665
|
+
"blue": 0.33725,
|
|
2666
|
+
"alpha": 1
|
|
2667
|
+
},
|
|
2668
|
+
"checkboxCheckedSize": 12,
|
|
2669
|
+
"checkboxInputBackgroundColor": {
|
|
2670
|
+
"red": 0.99608,
|
|
2671
|
+
"green": 0.99608,
|
|
2672
|
+
"blue": 0.98824,
|
|
2673
|
+
"alpha": 1
|
|
2674
|
+
},
|
|
2675
|
+
"checkboxInputBorderColor": {
|
|
2676
|
+
"red": 0.41569,
|
|
2677
|
+
"green": 0.43922,
|
|
2678
|
+
"blue": 0.50196,
|
|
2679
|
+
"alpha": 1
|
|
2680
|
+
},
|
|
2681
|
+
"checkboxInputBorderWidth": 2,
|
|
2682
|
+
"checkboxInputOutlineColor": {
|
|
2683
|
+
"red": 0,
|
|
2684
|
+
"green": 0,
|
|
2685
|
+
"blue": 0,
|
|
2686
|
+
"alpha": 0
|
|
2687
|
+
},
|
|
2688
|
+
"checkboxInputOutlineWidth": 0,
|
|
2689
|
+
"checkboxInputSize": 20,
|
|
2690
|
+
"checkboxOuterBorderColor": {
|
|
2691
|
+
"red": 0,
|
|
2692
|
+
"green": 0,
|
|
2693
|
+
"blue": 0,
|
|
2694
|
+
"alpha": 0
|
|
2695
|
+
},
|
|
2696
|
+
"checkboxOuterBorderGap": 0,
|
|
2697
|
+
"checkboxOuterBorderWidth": 1,
|
|
2698
|
+
"checkboxSpace": 2,
|
|
2699
|
+
"color": {
|
|
2700
|
+
"red": 0.22353,
|
|
2701
|
+
"green": 0.25098,
|
|
2702
|
+
"blue": 0.33725,
|
|
2703
|
+
"alpha": 1
|
|
2704
|
+
},
|
|
2705
|
+
"contentAlignItems": "stretch",
|
|
2706
|
+
"contentFlexGrow": 0,
|
|
2707
|
+
"contentFlexShrink": 1,
|
|
2708
|
+
"contentJustifyContent": "flex-start",
|
|
2709
|
+
"contentSpace": 2,
|
|
2710
|
+
"flex": 1,
|
|
2711
|
+
"fontName": "SofiaPro",
|
|
2712
|
+
"fontSize": 24,
|
|
2713
|
+
"fontWeight": 400,
|
|
2714
|
+
"letterSpacing": 0,
|
|
2715
|
+
"lineHeight": 1,
|
|
2716
|
+
"minWidth": 112,
|
|
2717
|
+
"outerBorderColor": {
|
|
2718
|
+
"red": 0,
|
|
2719
|
+
"green": 0,
|
|
2720
|
+
"blue": 0,
|
|
2721
|
+
"alpha": 0
|
|
2722
|
+
},
|
|
2723
|
+
"outerBorderGap": 0,
|
|
2724
|
+
"outerBorderWidth": 2,
|
|
2725
|
+
"paddingBottom": 16,
|
|
2726
|
+
"paddingLeft": 8,
|
|
2727
|
+
"paddingRight": 16,
|
|
2728
|
+
"paddingTop": 16,
|
|
2729
|
+
"shadow": null,
|
|
2730
|
+
"textTransform": "none"
|
|
2731
|
+
}
|
|
2732
|
+
},
|
|
2456
2733
|
"CheckboxGroup": {
|
|
2457
2734
|
"appearances": {},
|
|
2458
2735
|
"rules": [],
|
|
@@ -3524,8 +3801,60 @@
|
|
|
3524
3801
|
}
|
|
3525
3802
|
},
|
|
3526
3803
|
"Footnote": {
|
|
3527
|
-
"appearances": {
|
|
3528
|
-
|
|
3804
|
+
"appearances": {
|
|
3805
|
+
"viewport": {
|
|
3806
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
3807
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
3808
|
+
"type": "state"
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
"rules": [
|
|
3812
|
+
{
|
|
3813
|
+
"if": {
|
|
3814
|
+
"viewport": ["xs"]
|
|
3815
|
+
},
|
|
3816
|
+
"tokens": {
|
|
3817
|
+
"footnoteBodyPaddingBottom": 32,
|
|
3818
|
+
"footnoteBodyPaddingLeft": 16,
|
|
3819
|
+
"footnoteBodyPaddingRight": 16,
|
|
3820
|
+
"footnoteBodyPaddingTop": 0,
|
|
3821
|
+
"footnoteHeaderPaddingBottom": 16,
|
|
3822
|
+
"footnoteHeaderPaddingLeft": 16,
|
|
3823
|
+
"footnoteHeaderPaddingRight": 4,
|
|
3824
|
+
"footnoteHeaderPaddingTop": 16
|
|
3825
|
+
}
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"if": {
|
|
3829
|
+
"viewport": ["md", "lg"]
|
|
3830
|
+
},
|
|
3831
|
+
"tokens": {
|
|
3832
|
+
"footnoteBodyPaddingBottom": 40,
|
|
3833
|
+
"footnoteBodyPaddingLeft": 16,
|
|
3834
|
+
"footnoteBodyPaddingRight": 16,
|
|
3835
|
+
"footnoteBodyPaddingTop": 0,
|
|
3836
|
+
"footnoteHeaderPaddingBottom": 24,
|
|
3837
|
+
"footnoteHeaderPaddingLeft": 16,
|
|
3838
|
+
"footnoteHeaderPaddingRight": 4,
|
|
3839
|
+
"footnoteHeaderPaddingTop": 24
|
|
3840
|
+
}
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"if": {
|
|
3844
|
+
"viewport": ["xl"]
|
|
3845
|
+
},
|
|
3846
|
+
"tokens": {
|
|
3847
|
+
"footnoteBodyPaddingBottom": 40,
|
|
3848
|
+
"footnoteBodyPaddingLeft": 16,
|
|
3849
|
+
"footnoteBodyPaddingRight": 16,
|
|
3850
|
+
"footnoteBodyPaddingTop": 0,
|
|
3851
|
+
"footnoteHeaderPaddingBottom": 24,
|
|
3852
|
+
"footnoteHeaderPaddingLeft": 16,
|
|
3853
|
+
"footnoteHeaderPaddingRight": 16,
|
|
3854
|
+
"footnoteHeaderPaddingTop": 24
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3857
|
+
],
|
|
3529
3858
|
"tokens": {
|
|
3530
3859
|
"closeButtonBackgroundColor": {
|
|
3531
3860
|
"red": 1,
|
|
@@ -3573,7 +3902,7 @@
|
|
|
3573
3902
|
"footnoteBorderTopSizeMd": 1,
|
|
3574
3903
|
"footnoteHeaderPaddingBottom": 24,
|
|
3575
3904
|
"footnoteHeaderPaddingLeft": 16,
|
|
3576
|
-
"footnoteHeaderPaddingRight":
|
|
3905
|
+
"footnoteHeaderPaddingRight": 4,
|
|
3577
3906
|
"footnoteHeaderPaddingTop": 24,
|
|
3578
3907
|
"headerFontName": "SofiaPro",
|
|
3579
3908
|
"headerFontSize": 16,
|
|
@@ -8105,7 +8434,8 @@
|
|
|
8105
8434
|
"alignItems": "stretch",
|
|
8106
8435
|
"flexGrow": 0,
|
|
8107
8436
|
"flexShrink": 0,
|
|
8108
|
-
"justifyContent": "flex-start"
|
|
8437
|
+
"justifyContent": "flex-start",
|
|
8438
|
+
"width": null
|
|
8109
8439
|
}
|
|
8110
8440
|
},
|
|
8111
8441
|
"StepTracker": {
|
|
@@ -8557,6 +8887,11 @@
|
|
|
8557
8887
|
},
|
|
8558
8888
|
"Tabs": {
|
|
8559
8889
|
"appearances": {
|
|
8890
|
+
"equalWidth": {
|
|
8891
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
8892
|
+
"type": "variant",
|
|
8893
|
+
"values": [true]
|
|
8894
|
+
},
|
|
8560
8895
|
"inverse": {
|
|
8561
8896
|
"description": "Styles the link white for use on dark backgrounds.",
|
|
8562
8897
|
"type": "variant",
|
|
@@ -8595,6 +8930,11 @@
|
|
|
8595
8930
|
},
|
|
8596
8931
|
"TabsItem": {
|
|
8597
8932
|
"appearances": {
|
|
8933
|
+
"equalWidth": {
|
|
8934
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
8935
|
+
"type": "variant",
|
|
8936
|
+
"values": [true]
|
|
8937
|
+
},
|
|
8598
8938
|
"inverse": {
|
|
8599
8939
|
"type": "variant",
|
|
8600
8940
|
"values": [true]
|
|
@@ -8700,6 +9040,14 @@
|
|
|
8700
9040
|
"alpha": 1
|
|
8701
9041
|
}
|
|
8702
9042
|
}
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
"if": {
|
|
9046
|
+
"equalWidth": true
|
|
9047
|
+
},
|
|
9048
|
+
"tokens": {
|
|
9049
|
+
"maxWidth": null
|
|
9050
|
+
}
|
|
8703
9051
|
}
|
|
8704
9052
|
],
|
|
8705
9053
|
"tokens": {
|
|
@@ -10942,7 +11290,7 @@
|
|
|
10942
11290
|
}
|
|
10943
11291
|
},
|
|
10944
11292
|
"metadata": {
|
|
10945
|
-
"themeTokensVersion": "2.
|
|
11293
|
+
"themeTokensVersion": "2.42.0",
|
|
10946
11294
|
"name": "theme-public-mobile"
|
|
10947
11295
|
}
|
|
10948
11296
|
}
|