@telus-uds/theme-allium 4.14.0 → 4.16.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 +1313 -940
- package/build/android/theme.json +318 -7
- package/build/ios/schema.json +1313 -940
- package/build/ios/theme.json +318 -7
- package/build/rn/schema.json +1313 -940
- package/build/rn/theme.js +196 -8
- package/package.json +5 -5
- package/theme.json +205 -5
package/build/android/theme.json
CHANGED
|
@@ -1836,6 +1836,11 @@
|
|
|
1836
1836
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1837
1837
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
1838
1838
|
"type": "state"
|
|
1839
|
+
},
|
|
1840
|
+
"width": {
|
|
1841
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1842
|
+
"type": "variant",
|
|
1843
|
+
"values": ["responsive"]
|
|
1839
1844
|
}
|
|
1840
1845
|
},
|
|
1841
1846
|
"rules": [
|
|
@@ -1846,6 +1851,16 @@
|
|
|
1846
1851
|
"tokens": {
|
|
1847
1852
|
"space": 3
|
|
1848
1853
|
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"if": {
|
|
1857
|
+
"viewport": ["xs"],
|
|
1858
|
+
"width": "responsive"
|
|
1859
|
+
},
|
|
1860
|
+
"tokens": {
|
|
1861
|
+
"alignItems": "stretch",
|
|
1862
|
+
"direction": "column"
|
|
1863
|
+
}
|
|
1849
1864
|
}
|
|
1850
1865
|
],
|
|
1851
1866
|
"tokens": {
|
|
@@ -1879,6 +1894,11 @@
|
|
|
1879
1894
|
"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`.",
|
|
1880
1895
|
"values": [true],
|
|
1881
1896
|
"type": "state"
|
|
1897
|
+
},
|
|
1898
|
+
"width": {
|
|
1899
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1900
|
+
"type": "variant",
|
|
1901
|
+
"values": ["responsive"]
|
|
1882
1902
|
}
|
|
1883
1903
|
},
|
|
1884
1904
|
"rules": [
|
|
@@ -1969,6 +1989,14 @@
|
|
|
1969
1989
|
"tokens": {
|
|
1970
1990
|
"iconSpace": 1
|
|
1971
1991
|
}
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"if": {
|
|
1995
|
+
"width": "responsive"
|
|
1996
|
+
},
|
|
1997
|
+
"tokens": {
|
|
1998
|
+
"width": "100%"
|
|
1999
|
+
}
|
|
1972
2000
|
}
|
|
1973
2001
|
],
|
|
1974
2002
|
"tokens": {
|
|
@@ -2714,6 +2742,265 @@
|
|
|
2714
2742
|
"labelMarginLeft": 10
|
|
2715
2743
|
}
|
|
2716
2744
|
},
|
|
2745
|
+
"CheckboxCard": {
|
|
2746
|
+
"appearances": {
|
|
2747
|
+
"checked": {
|
|
2748
|
+
"description": "Corresponds to a selected state for a checkbox or radio",
|
|
2749
|
+
"values": [true],
|
|
2750
|
+
"type": "state"
|
|
2751
|
+
},
|
|
2752
|
+
"error": {
|
|
2753
|
+
"values": [true],
|
|
2754
|
+
"type": "state"
|
|
2755
|
+
},
|
|
2756
|
+
"inactive": {
|
|
2757
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
2758
|
+
"values": [true],
|
|
2759
|
+
"type": "state"
|
|
2760
|
+
},
|
|
2761
|
+
"pressed": {
|
|
2762
|
+
"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.",
|
|
2763
|
+
"values": [true, false],
|
|
2764
|
+
"type": "state"
|
|
2765
|
+
},
|
|
2766
|
+
"viewport": {
|
|
2767
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2768
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2769
|
+
"type": "state"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
"rules": [
|
|
2773
|
+
{
|
|
2774
|
+
"if": {
|
|
2775
|
+
"viewport": ["lg", "xl"]
|
|
2776
|
+
},
|
|
2777
|
+
"tokens": {
|
|
2778
|
+
"fontSize": 24,
|
|
2779
|
+
"lineHeight": 1.33333333333,
|
|
2780
|
+
"paddingBottom": 24,
|
|
2781
|
+
"paddingLeft": 16,
|
|
2782
|
+
"paddingRight": 24,
|
|
2783
|
+
"paddingTop": 16
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"description": "Pressed state matches hover state plus light grey background",
|
|
2788
|
+
"if": {
|
|
2789
|
+
"pressed": true
|
|
2790
|
+
},
|
|
2791
|
+
"tokens": {
|
|
2792
|
+
"backgroundColor": {
|
|
2793
|
+
"red": 0.95686,
|
|
2794
|
+
"green": 0.95686,
|
|
2795
|
+
"blue": 0.96863,
|
|
2796
|
+
"alpha": 1
|
|
2797
|
+
},
|
|
2798
|
+
"borderColor": {
|
|
2799
|
+
"red": 0.40392,
|
|
2800
|
+
"green": 0.43137,
|
|
2801
|
+
"blue": 0.45098,
|
|
2802
|
+
"alpha": 1
|
|
2803
|
+
},
|
|
2804
|
+
"checkboxInputBorderColor": {
|
|
2805
|
+
"red": 0.40392,
|
|
2806
|
+
"green": 0.43137,
|
|
2807
|
+
"blue": 0.45098,
|
|
2808
|
+
"alpha": 1
|
|
2809
|
+
},
|
|
2810
|
+
"checkboxInputBorderWidth": 1,
|
|
2811
|
+
"checkboxOuterBorderColor": {
|
|
2812
|
+
"red": 0.8902,
|
|
2813
|
+
"green": 0.90196,
|
|
2814
|
+
"blue": 0.9098,
|
|
2815
|
+
"alpha": 1
|
|
2816
|
+
},
|
|
2817
|
+
"checkboxOuterBorderWidth": 3,
|
|
2818
|
+
"outerBorderColor": {
|
|
2819
|
+
"red": 0.8902,
|
|
2820
|
+
"green": 0.90196,
|
|
2821
|
+
"blue": 0.9098,
|
|
2822
|
+
"alpha": 1
|
|
2823
|
+
},
|
|
2824
|
+
"outerBorderGap": 0
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"if": {
|
|
2829
|
+
"checked": true
|
|
2830
|
+
},
|
|
2831
|
+
"tokens": {
|
|
2832
|
+
"borderColor": {
|
|
2833
|
+
"red": 0.48627,
|
|
2834
|
+
"green": 0.32549,
|
|
2835
|
+
"blue": 0.64706,
|
|
2836
|
+
"alpha": 1
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"if": {
|
|
2842
|
+
"error": true
|
|
2843
|
+
},
|
|
2844
|
+
"tokens": {
|
|
2845
|
+
"borderColor": {
|
|
2846
|
+
"red": 0.88235,
|
|
2847
|
+
"green": 0.13725,
|
|
2848
|
+
"blue": 0.22353,
|
|
2849
|
+
"alpha": 1
|
|
2850
|
+
},
|
|
2851
|
+
"checkboxInputBorderColor": {
|
|
2852
|
+
"red": 0.88235,
|
|
2853
|
+
"green": 0.13725,
|
|
2854
|
+
"blue": 0.22353,
|
|
2855
|
+
"alpha": 1
|
|
2856
|
+
},
|
|
2857
|
+
"color": {
|
|
2858
|
+
"red": 0.88235,
|
|
2859
|
+
"green": 0.13725,
|
|
2860
|
+
"blue": 0.22353,
|
|
2861
|
+
"alpha": 1
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"if": {
|
|
2867
|
+
"inactive": true
|
|
2868
|
+
},
|
|
2869
|
+
"tokens": {
|
|
2870
|
+
"backgroundColor": {
|
|
2871
|
+
"red": 0.95686,
|
|
2872
|
+
"green": 0.95686,
|
|
2873
|
+
"blue": 0.96863,
|
|
2874
|
+
"alpha": 1
|
|
2875
|
+
},
|
|
2876
|
+
"borderColor": {
|
|
2877
|
+
"red": 0,
|
|
2878
|
+
"green": 0,
|
|
2879
|
+
"blue": 0,
|
|
2880
|
+
"alpha": 0
|
|
2881
|
+
},
|
|
2882
|
+
"checkboxCheckedBackgroundColor": {
|
|
2883
|
+
"red": 0.40392,
|
|
2884
|
+
"green": 0.43137,
|
|
2885
|
+
"blue": 0.45098,
|
|
2886
|
+
"alpha": 1
|
|
2887
|
+
},
|
|
2888
|
+
"checkboxInputBackgroundColor": {
|
|
2889
|
+
"red": 0.69804,
|
|
2890
|
+
"green": 0.72549,
|
|
2891
|
+
"blue": 0.74902,
|
|
2892
|
+
"alpha": 1
|
|
2893
|
+
},
|
|
2894
|
+
"checkboxInputBorderColor": {
|
|
2895
|
+
"red": 0,
|
|
2896
|
+
"green": 0,
|
|
2897
|
+
"blue": 0,
|
|
2898
|
+
"alpha": 0
|
|
2899
|
+
},
|
|
2900
|
+
"checkboxInputSize": 12,
|
|
2901
|
+
"checkboxOuterBorderColor": {
|
|
2902
|
+
"red": 0.69804,
|
|
2903
|
+
"green": 0.72549,
|
|
2904
|
+
"blue": 0.74902,
|
|
2905
|
+
"alpha": 1
|
|
2906
|
+
},
|
|
2907
|
+
"checkboxOuterBorderGap": 2,
|
|
2908
|
+
"checkboxOuterBorderWidth": 1,
|
|
2909
|
+
"color": {
|
|
2910
|
+
"red": 0.40392,
|
|
2911
|
+
"green": 0.43137,
|
|
2912
|
+
"blue": 0.45098,
|
|
2913
|
+
"alpha": 1
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
],
|
|
2918
|
+
"tokens": {
|
|
2919
|
+
"backgroundColor": {
|
|
2920
|
+
"red": 1,
|
|
2921
|
+
"green": 1,
|
|
2922
|
+
"blue": 1,
|
|
2923
|
+
"alpha": 1
|
|
2924
|
+
},
|
|
2925
|
+
"borderColor": {
|
|
2926
|
+
"red": 0.69804,
|
|
2927
|
+
"green": 0.72549,
|
|
2928
|
+
"blue": 0.74902,
|
|
2929
|
+
"alpha": 1
|
|
2930
|
+
},
|
|
2931
|
+
"borderRadius": 6,
|
|
2932
|
+
"borderWidth": 1,
|
|
2933
|
+
"checkboxCheckedBackgroundColor": {
|
|
2934
|
+
"red": 0.48627,
|
|
2935
|
+
"green": 0.32549,
|
|
2936
|
+
"blue": 0.64706,
|
|
2937
|
+
"alpha": 1
|
|
2938
|
+
},
|
|
2939
|
+
"checkboxCheckedSize": 12,
|
|
2940
|
+
"checkboxInputBackgroundColor": {
|
|
2941
|
+
"red": 1,
|
|
2942
|
+
"green": 1,
|
|
2943
|
+
"blue": 1,
|
|
2944
|
+
"alpha": 1
|
|
2945
|
+
},
|
|
2946
|
+
"checkboxInputBorderColor": {
|
|
2947
|
+
"red": 0.40392,
|
|
2948
|
+
"green": 0.43137,
|
|
2949
|
+
"blue": 0.45098,
|
|
2950
|
+
"alpha": 1
|
|
2951
|
+
},
|
|
2952
|
+
"checkboxInputBorderWidth": 1,
|
|
2953
|
+
"checkboxInputOutlineColor": {
|
|
2954
|
+
"red": 0,
|
|
2955
|
+
"green": 0,
|
|
2956
|
+
"blue": 0,
|
|
2957
|
+
"alpha": 0
|
|
2958
|
+
},
|
|
2959
|
+
"checkboxInputOutlineWidth": 0,
|
|
2960
|
+
"checkboxInputSize": 20,
|
|
2961
|
+
"checkboxOuterBorderColor": {
|
|
2962
|
+
"red": 0,
|
|
2963
|
+
"green": 0,
|
|
2964
|
+
"blue": 0,
|
|
2965
|
+
"alpha": 0
|
|
2966
|
+
},
|
|
2967
|
+
"checkboxOuterBorderGap": 0,
|
|
2968
|
+
"checkboxOuterBorderWidth": 0,
|
|
2969
|
+
"checkboxSpace": 2,
|
|
2970
|
+
"color": {
|
|
2971
|
+
"red": 0.17255,
|
|
2972
|
+
"green": 0.18039,
|
|
2973
|
+
"blue": 0.18824,
|
|
2974
|
+
"alpha": 1
|
|
2975
|
+
},
|
|
2976
|
+
"contentAlignItems": "stretch",
|
|
2977
|
+
"contentFlexGrow": 0,
|
|
2978
|
+
"contentFlexShrink": 1,
|
|
2979
|
+
"contentJustifyContent": "flex-start",
|
|
2980
|
+
"contentSpace": 2,
|
|
2981
|
+
"flex": 1,
|
|
2982
|
+
"fontName": "HelveticaNow",
|
|
2983
|
+
"fontSize": 20,
|
|
2984
|
+
"fontWeight": 500,
|
|
2985
|
+
"letterSpacing": 0,
|
|
2986
|
+
"lineHeight": 1.4,
|
|
2987
|
+
"minWidth": 264,
|
|
2988
|
+
"outerBorderColor": {
|
|
2989
|
+
"red": 0,
|
|
2990
|
+
"green": 0,
|
|
2991
|
+
"blue": 0,
|
|
2992
|
+
"alpha": 0
|
|
2993
|
+
},
|
|
2994
|
+
"outerBorderGap": 0,
|
|
2995
|
+
"outerBorderWidth": 2,
|
|
2996
|
+
"paddingBottom": 16,
|
|
2997
|
+
"paddingLeft": 10,
|
|
2998
|
+
"paddingRight": 16,
|
|
2999
|
+
"paddingTop": 16,
|
|
3000
|
+
"shadow": null,
|
|
3001
|
+
"textTransform": "none"
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
2717
3004
|
"CheckboxGroup": {
|
|
2718
3005
|
"appearances": {},
|
|
2719
3006
|
"rules": [],
|
|
@@ -8551,7 +8838,8 @@
|
|
|
8551
8838
|
"alignItems": "stretch",
|
|
8552
8839
|
"flexGrow": 0,
|
|
8553
8840
|
"flexShrink": 0,
|
|
8554
|
-
"justifyContent": "flex-start"
|
|
8841
|
+
"justifyContent": "flex-start",
|
|
8842
|
+
"width": null
|
|
8555
8843
|
}
|
|
8556
8844
|
},
|
|
8557
8845
|
"StepTracker": {
|
|
@@ -9059,6 +9347,11 @@
|
|
|
9059
9347
|
},
|
|
9060
9348
|
"Tabs": {
|
|
9061
9349
|
"appearances": {
|
|
9350
|
+
"equalWidth": {
|
|
9351
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
9352
|
+
"type": "variant",
|
|
9353
|
+
"values": [true]
|
|
9354
|
+
},
|
|
9062
9355
|
"inverse": {
|
|
9063
9356
|
"description": "Styles the link white for use on dark backgrounds.",
|
|
9064
9357
|
"type": "variant",
|
|
@@ -9097,6 +9390,11 @@
|
|
|
9097
9390
|
},
|
|
9098
9391
|
"TabsItem": {
|
|
9099
9392
|
"appearances": {
|
|
9393
|
+
"equalWidth": {
|
|
9394
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
9395
|
+
"type": "variant",
|
|
9396
|
+
"values": [true]
|
|
9397
|
+
},
|
|
9100
9398
|
"focus": {
|
|
9101
9399
|
"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.",
|
|
9102
9400
|
"values": [true, false],
|
|
@@ -9130,10 +9428,10 @@
|
|
|
9130
9428
|
},
|
|
9131
9429
|
"tokens": {
|
|
9132
9430
|
"backgroundColor": {
|
|
9133
|
-
"red": 0
|
|
9134
|
-
"green": 0
|
|
9135
|
-
"blue": 0
|
|
9136
|
-
"alpha":
|
|
9431
|
+
"red": 0,
|
|
9432
|
+
"green": 0,
|
|
9433
|
+
"blue": 0,
|
|
9434
|
+
"alpha": 0.05
|
|
9137
9435
|
},
|
|
9138
9436
|
"color": {
|
|
9139
9437
|
"red": 0.29412,
|
|
@@ -9336,6 +9634,14 @@
|
|
|
9336
9634
|
"alpha": 1
|
|
9337
9635
|
}
|
|
9338
9636
|
}
|
|
9637
|
+
},
|
|
9638
|
+
{
|
|
9639
|
+
"if": {
|
|
9640
|
+
"equalWidth": true
|
|
9641
|
+
},
|
|
9642
|
+
"tokens": {
|
|
9643
|
+
"maxWidth": null
|
|
9644
|
+
}
|
|
9339
9645
|
}
|
|
9340
9646
|
],
|
|
9341
9647
|
"tokens": {
|
|
@@ -9918,6 +10224,7 @@
|
|
|
9918
10224
|
}
|
|
9919
10225
|
],
|
|
9920
10226
|
"tokens": {
|
|
10227
|
+
"amexIcon": "PaletteIconAmex",
|
|
9921
10228
|
"backgroundColor": {
|
|
9922
10229
|
"red": 1,
|
|
9923
10230
|
"green": 1,
|
|
@@ -9942,6 +10249,7 @@
|
|
|
9942
10249
|
"blue": 0.27843,
|
|
9943
10250
|
"alpha": 1
|
|
9944
10251
|
},
|
|
10252
|
+
"defaultCreditIcon": "PaletteIconCreditCard",
|
|
9945
10253
|
"fontName": "HelveticaNow",
|
|
9946
10254
|
"fontSize": 16,
|
|
9947
10255
|
"fontWeight": 400,
|
|
@@ -9953,7 +10261,9 @@
|
|
|
9953
10261
|
"alpha": 0
|
|
9954
10262
|
},
|
|
9955
10263
|
"iconSize": 24,
|
|
10264
|
+
"leftIconPaddingBottom": 8,
|
|
9956
10265
|
"lineHeight": 1.5,
|
|
10266
|
+
"masterCardIcon": "PaletteIconMasterCard",
|
|
9957
10267
|
"outerBackgroundColor": {
|
|
9958
10268
|
"red": 0,
|
|
9959
10269
|
"green": 0,
|
|
@@ -9972,7 +10282,8 @@
|
|
|
9972
10282
|
"paddingRight": 16,
|
|
9973
10283
|
"paddingTop": 12,
|
|
9974
10284
|
"passwordHideButtonIcon": "PaletteIconInvisible",
|
|
9975
|
-
"passwordShowButtonIcon": "PaletteIconVisible"
|
|
10285
|
+
"passwordShowButtonIcon": "PaletteIconVisible",
|
|
10286
|
+
"visaIcon": "PaletteIconVisa"
|
|
9976
10287
|
}
|
|
9977
10288
|
},
|
|
9978
10289
|
"Timeline": {
|
|
@@ -11762,7 +12073,7 @@
|
|
|
11762
12073
|
}
|
|
11763
12074
|
},
|
|
11764
12075
|
"metadata": {
|
|
11765
|
-
"themeTokensVersion": "2.
|
|
12076
|
+
"themeTokensVersion": "2.43.0",
|
|
11766
12077
|
"name": "theme-allium"
|
|
11767
12078
|
}
|
|
11768
12079
|
}
|