@telus-uds/theme-allium 3.13.0 → 3.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 +915 -860
- package/build/android/theme.json +200 -8
- package/build/ios/schema.json +915 -860
- package/build/ios/theme.json +200 -8
- package/build/rn/schema.json +915 -860
- package/build/rn/theme.js +103 -10
- package/package.json +5 -5
- package/theme.json +171 -8
package/build/ios/theme.json
CHANGED
|
@@ -1959,28 +1959,136 @@
|
|
|
1959
1959
|
},
|
|
1960
1960
|
"ChevronLink": {
|
|
1961
1961
|
"appearances": {
|
|
1962
|
+
"alternative": {
|
|
1963
|
+
"type": "variant",
|
|
1964
|
+
"values": [true]
|
|
1965
|
+
},
|
|
1966
|
+
"inverse": {
|
|
1967
|
+
"type": "variant",
|
|
1968
|
+
"values": [true]
|
|
1969
|
+
},
|
|
1970
|
+
"pressed": {
|
|
1971
|
+
"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.",
|
|
1972
|
+
"values": [true],
|
|
1973
|
+
"type": "state"
|
|
1974
|
+
},
|
|
1962
1975
|
"size": {
|
|
1963
|
-
"description": "Sets the size of the text and icon; these variants are shared with
|
|
1976
|
+
"description": "Sets the size of the text and icon; these variants are shared with ChevronLink",
|
|
1964
1977
|
"type": "variant",
|
|
1965
1978
|
"values": ["large", "small", "micro"]
|
|
1966
1979
|
}
|
|
1967
1980
|
},
|
|
1968
1981
|
"rules": [
|
|
1982
|
+
{
|
|
1983
|
+
"if": {
|
|
1984
|
+
"pressed": true
|
|
1985
|
+
},
|
|
1986
|
+
"tokens": {
|
|
1987
|
+
"color": {
|
|
1988
|
+
"red": 0.08627,
|
|
1989
|
+
"green": 0.24314,
|
|
1990
|
+
"blue": 0.02353,
|
|
1991
|
+
"alpha": 1
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"if": {
|
|
1997
|
+
"alternative": true
|
|
1998
|
+
},
|
|
1999
|
+
"tokens": {
|
|
2000
|
+
"color": {
|
|
2001
|
+
"red": 0.2549,
|
|
2002
|
+
"green": 0.27059,
|
|
2003
|
+
"blue": 0.27843,
|
|
2004
|
+
"alpha": 1
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"if": {
|
|
2010
|
+
"alternative": true,
|
|
2011
|
+
"pressed": true
|
|
2012
|
+
},
|
|
2013
|
+
"tokens": {
|
|
2014
|
+
"color": {
|
|
2015
|
+
"red": 0.17255,
|
|
2016
|
+
"green": 0.18039,
|
|
2017
|
+
"blue": 0.18824,
|
|
2018
|
+
"alpha": 1
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"if": {
|
|
2024
|
+
"inverse": true
|
|
2025
|
+
},
|
|
2026
|
+
"tokens": {
|
|
2027
|
+
"color": {
|
|
2028
|
+
"red": 1,
|
|
2029
|
+
"green": 1,
|
|
2030
|
+
"blue": 1,
|
|
2031
|
+
"alpha": 1
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"if": {
|
|
2037
|
+
"inverse": true,
|
|
2038
|
+
"pressed": true
|
|
2039
|
+
},
|
|
2040
|
+
"tokens": {
|
|
2041
|
+
"color": {
|
|
2042
|
+
"red": 0.8902,
|
|
2043
|
+
"green": 0.90196,
|
|
2044
|
+
"blue": 0.9098,
|
|
2045
|
+
"alpha": 1
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
},
|
|
1969
2049
|
{
|
|
1970
2050
|
"if": {
|
|
1971
2051
|
"size": "large"
|
|
1972
2052
|
},
|
|
1973
2053
|
"tokens": {
|
|
1974
|
-
"iconSize":
|
|
2054
|
+
"iconSize": 20
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"if": {
|
|
2059
|
+
"size": "small"
|
|
2060
|
+
},
|
|
2061
|
+
"tokens": {
|
|
2062
|
+
"iconSize": 14
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"if": {
|
|
2067
|
+
"size": "micro"
|
|
2068
|
+
},
|
|
2069
|
+
"tokens": {
|
|
2070
|
+
"iconSize": 12
|
|
1975
2071
|
}
|
|
1976
2072
|
}
|
|
1977
2073
|
],
|
|
1978
2074
|
"tokens": {
|
|
2075
|
+
"color": {
|
|
2076
|
+
"red": 0.16863,
|
|
2077
|
+
"green": 0.50196,
|
|
2078
|
+
"blue": 0,
|
|
2079
|
+
"alpha": 1
|
|
2080
|
+
},
|
|
1979
2081
|
"iconDisplace": 0,
|
|
1980
|
-
"iconSize":
|
|
2082
|
+
"iconSize": 24,
|
|
1981
2083
|
"iconSpace": 1,
|
|
1982
|
-
"leftIcon": "
|
|
1983
|
-
"
|
|
2084
|
+
"leftIcon": "PaletteIconChevronLeft",
|
|
2085
|
+
"outerBorderColor": {
|
|
2086
|
+
"red": 0,
|
|
2087
|
+
"green": 0,
|
|
2088
|
+
"blue": 0,
|
|
2089
|
+
"alpha": 0
|
|
2090
|
+
},
|
|
2091
|
+
"rightIcon": "PaletteIconChevronRight",
|
|
1984
2092
|
"textLine": "none"
|
|
1985
2093
|
}
|
|
1986
2094
|
},
|
|
@@ -2518,11 +2626,21 @@
|
|
|
2518
2626
|
"type": "variant",
|
|
2519
2627
|
"values": [true]
|
|
2520
2628
|
},
|
|
2629
|
+
"inactive": {
|
|
2630
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
2631
|
+
"values": [true],
|
|
2632
|
+
"type": "state"
|
|
2633
|
+
},
|
|
2521
2634
|
"inverse": {
|
|
2522
2635
|
"description": "For use on dark backgrounds",
|
|
2523
2636
|
"type": "variant",
|
|
2524
2637
|
"values": [true]
|
|
2525
2638
|
},
|
|
2639
|
+
"password": {
|
|
2640
|
+
"description": "Password masked or not",
|
|
2641
|
+
"type": "variant",
|
|
2642
|
+
"values": [true]
|
|
2643
|
+
},
|
|
2526
2644
|
"pressed": {
|
|
2527
2645
|
"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.",
|
|
2528
2646
|
"values": [true],
|
|
@@ -2558,6 +2676,19 @@
|
|
|
2558
2676
|
}
|
|
2559
2677
|
}
|
|
2560
2678
|
},
|
|
2679
|
+
{
|
|
2680
|
+
"if": {
|
|
2681
|
+
"password": true
|
|
2682
|
+
},
|
|
2683
|
+
"tokens": {
|
|
2684
|
+
"borderColor": {
|
|
2685
|
+
"red": 0,
|
|
2686
|
+
"green": 0,
|
|
2687
|
+
"blue": 0,
|
|
2688
|
+
"alpha": 0
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
},
|
|
2561
2692
|
{
|
|
2562
2693
|
"if": {
|
|
2563
2694
|
"pressed": true
|
|
@@ -2584,6 +2715,33 @@
|
|
|
2584
2715
|
"outerBorderGap": 4
|
|
2585
2716
|
}
|
|
2586
2717
|
},
|
|
2718
|
+
{
|
|
2719
|
+
"if": {
|
|
2720
|
+
"password": true,
|
|
2721
|
+
"pressed": true
|
|
2722
|
+
},
|
|
2723
|
+
"tokens": {
|
|
2724
|
+
"backgroundColor": {
|
|
2725
|
+
"red": 0.24706,
|
|
2726
|
+
"green": 0.16471,
|
|
2727
|
+
"blue": 0.32941,
|
|
2728
|
+
"alpha": 1
|
|
2729
|
+
},
|
|
2730
|
+
"borderColor": {
|
|
2731
|
+
"red": 0.24706,
|
|
2732
|
+
"green": 0.16471,
|
|
2733
|
+
"blue": 0.32941,
|
|
2734
|
+
"alpha": 1
|
|
2735
|
+
},
|
|
2736
|
+
"iconColor": {
|
|
2737
|
+
"red": 1,
|
|
2738
|
+
"green": 1,
|
|
2739
|
+
"blue": 1,
|
|
2740
|
+
"alpha": 1
|
|
2741
|
+
},
|
|
2742
|
+
"outerBorderGap": 4
|
|
2743
|
+
}
|
|
2744
|
+
},
|
|
2587
2745
|
{
|
|
2588
2746
|
"if": {
|
|
2589
2747
|
"inverse": true,
|
|
@@ -2703,6 +2861,33 @@
|
|
|
2703
2861
|
"borderWidth": 0
|
|
2704
2862
|
}
|
|
2705
2863
|
},
|
|
2864
|
+
{
|
|
2865
|
+
"if": {
|
|
2866
|
+
"inactive": true,
|
|
2867
|
+
"password": true
|
|
2868
|
+
},
|
|
2869
|
+
"tokens": {
|
|
2870
|
+
"backgroundColor": {
|
|
2871
|
+
"red": 0,
|
|
2872
|
+
"green": 0,
|
|
2873
|
+
"blue": 0,
|
|
2874
|
+
"alpha": 0
|
|
2875
|
+
},
|
|
2876
|
+
"borderWidth": 0,
|
|
2877
|
+
"iconColor": {
|
|
2878
|
+
"red": 0.8902,
|
|
2879
|
+
"green": 0.90196,
|
|
2880
|
+
"blue": 0.9098,
|
|
2881
|
+
"alpha": 1
|
|
2882
|
+
},
|
|
2883
|
+
"outerBorderColor": {
|
|
2884
|
+
"red": 0,
|
|
2885
|
+
"green": 0,
|
|
2886
|
+
"blue": 0,
|
|
2887
|
+
"alpha": 0
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2706
2891
|
{
|
|
2707
2892
|
"if": {
|
|
2708
2893
|
"compact": true
|
|
@@ -2734,7 +2919,7 @@
|
|
|
2734
2919
|
"alpha": 1
|
|
2735
2920
|
},
|
|
2736
2921
|
"iconScale": 1,
|
|
2737
|
-
"iconSize":
|
|
2922
|
+
"iconSize": 24,
|
|
2738
2923
|
"iconTranslateX": 0,
|
|
2739
2924
|
"iconTranslateY": 0,
|
|
2740
2925
|
"outerBorderColor": {
|
|
@@ -5882,6 +6067,11 @@
|
|
|
5882
6067
|
"values": [true],
|
|
5883
6068
|
"type": "state"
|
|
5884
6069
|
},
|
|
6070
|
+
"password": {
|
|
6071
|
+
"description": "capability that helps masking and unmasking text",
|
|
6072
|
+
"type": "variant",
|
|
6073
|
+
"values": [true]
|
|
6074
|
+
},
|
|
5885
6075
|
"validation": {
|
|
5886
6076
|
"description": "Validation states for form inputs",
|
|
5887
6077
|
"values": ["error", "success"],
|
|
@@ -6017,7 +6207,9 @@
|
|
|
6017
6207
|
"paddingBottom": 12,
|
|
6018
6208
|
"paddingLeft": 16,
|
|
6019
6209
|
"paddingRight": 16,
|
|
6020
|
-
"paddingTop": 12
|
|
6210
|
+
"paddingTop": 12,
|
|
6211
|
+
"passwordHideButtonIcon": "PaletteIconInvisible",
|
|
6212
|
+
"passwordShowButtonIcon": "PaletteIconVisible"
|
|
6021
6213
|
}
|
|
6022
6214
|
},
|
|
6023
6215
|
"Timeline": {
|
|
@@ -7128,7 +7320,7 @@
|
|
|
7128
7320
|
}
|
|
7129
7321
|
},
|
|
7130
7322
|
"metadata": {
|
|
7131
|
-
"themeTokensVersion": "2.
|
|
7323
|
+
"themeTokensVersion": "2.13.0",
|
|
7132
7324
|
"name": "theme-allium"
|
|
7133
7325
|
}
|
|
7134
7326
|
}
|