@telus-uds/theme-allium 3.11.2 → 3.12.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 +860 -834
- package/build/android/theme.json +41 -11
- package/build/ios/schema.json +860 -834
- package/build/ios/theme.json +41 -11
- package/build/rn/schema.json +860 -834
- package/build/rn/theme.js +52 -12
- package/package.json +5 -5
- package/theme.json +41 -10
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 Thu, 09 Feb 2023 23:33:39 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -29,8 +29,8 @@ module.exports = {
|
|
|
29
29
|
values: [ 'large' ]
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
rules: [ { if: { size: 'large' }, tokens: { size:
|
|
33
|
-
tokens: { color: '#2b8000', size:
|
|
32
|
+
rules: [ { if: { size: 'large' }, tokens: { size: 48, thickness: 4 } } ],
|
|
33
|
+
tokens: { color: '#2b8000', size: 24, thickness: 2 }
|
|
34
34
|
},
|
|
35
35
|
Box: {
|
|
36
36
|
appearances: {
|
|
@@ -539,6 +539,7 @@ module.exports = {
|
|
|
539
539
|
borderRadius: 32,
|
|
540
540
|
borderWidth: 1,
|
|
541
541
|
color: '#676e73',
|
|
542
|
+
dividerColor: '#e3e6e8',
|
|
542
543
|
fontName: 'HelveticaNow',
|
|
543
544
|
fontSize: 14,
|
|
544
545
|
fontWeight: '700',
|
|
@@ -565,6 +566,7 @@ module.exports = {
|
|
|
565
566
|
paddingRight: 8,
|
|
566
567
|
paddingTop: 8,
|
|
567
568
|
shadow: null,
|
|
569
|
+
subtitleColor: '#676e73',
|
|
568
570
|
textAlign: 'center',
|
|
569
571
|
width: null
|
|
570
572
|
}
|
|
@@ -602,6 +604,11 @@ module.exports = {
|
|
|
602
604
|
type: 'state',
|
|
603
605
|
values: [ true ]
|
|
604
606
|
},
|
|
607
|
+
iconPosition: {
|
|
608
|
+
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
609
|
+
type: 'state',
|
|
610
|
+
values: [ 'left', 'right' ]
|
|
611
|
+
},
|
|
605
612
|
inactive: {
|
|
606
613
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
607
614
|
type: 'state',
|
|
@@ -669,7 +676,8 @@ module.exports = {
|
|
|
669
676
|
borderWidth: 0,
|
|
670
677
|
color: '#ffffff'
|
|
671
678
|
}
|
|
672
|
-
}
|
|
679
|
+
},
|
|
680
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
673
681
|
],
|
|
674
682
|
tokens: {
|
|
675
683
|
alignSelf: 'flex-start',
|
|
@@ -681,9 +689,10 @@ module.exports = {
|
|
|
681
689
|
fontName: 'HelveticaNow',
|
|
682
690
|
fontSize: 14,
|
|
683
691
|
fontWeight: '700',
|
|
692
|
+
height: 36,
|
|
684
693
|
iconSize: 20,
|
|
685
694
|
iconSpace: 2,
|
|
686
|
-
lineHeight: 1.
|
|
695
|
+
lineHeight: 1.42857142857,
|
|
687
696
|
minWidth: 0,
|
|
688
697
|
opacity: 1,
|
|
689
698
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -916,7 +925,7 @@ module.exports = {
|
|
|
916
925
|
if: { selected: true },
|
|
917
926
|
tokens: {
|
|
918
927
|
borderBottomColor: '#676e73',
|
|
919
|
-
borderBottomWidth:
|
|
928
|
+
borderBottomWidth: 4,
|
|
920
929
|
color: '#676e73',
|
|
921
930
|
fontName: 'HelveticaNow',
|
|
922
931
|
fontWeight: '400'
|
|
@@ -925,23 +934,43 @@ module.exports = {
|
|
|
925
934
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
926
935
|
{
|
|
927
936
|
if: { hover: true, inverse: true },
|
|
928
|
-
tokens: {
|
|
937
|
+
tokens: {
|
|
938
|
+
borderBottomColor: '#ffffff',
|
|
939
|
+
borderBottomWidth: 2,
|
|
940
|
+
color: '#ffffff'
|
|
941
|
+
}
|
|
929
942
|
},
|
|
930
943
|
{
|
|
931
944
|
if: { inverse: true, pressed: true },
|
|
932
|
-
tokens: {
|
|
945
|
+
tokens: {
|
|
946
|
+
borderBottomColor: '#676e73',
|
|
947
|
+
borderBottomWidth: 2,
|
|
948
|
+
color: '#676e73'
|
|
949
|
+
}
|
|
933
950
|
},
|
|
934
951
|
{
|
|
935
952
|
if: { focus: true, inverse: true },
|
|
936
|
-
tokens: {
|
|
953
|
+
tokens: {
|
|
954
|
+
borderBottomColor: '#ffffff',
|
|
955
|
+
borderBottomWidth: 4,
|
|
956
|
+
color: '#ffffff'
|
|
957
|
+
}
|
|
937
958
|
},
|
|
938
959
|
{
|
|
939
960
|
if: { focus: true, inverse: true, pressed: true },
|
|
940
|
-
tokens: {
|
|
961
|
+
tokens: {
|
|
962
|
+
borderBottomColor: '#676e73',
|
|
963
|
+
borderBottomWidth: 4,
|
|
964
|
+
color: '#676e73'
|
|
965
|
+
}
|
|
941
966
|
},
|
|
942
967
|
{
|
|
943
968
|
if: { inverse: true, selected: true },
|
|
944
|
-
tokens: {
|
|
969
|
+
tokens: {
|
|
970
|
+
borderBottomColor: '#ffffff',
|
|
971
|
+
borderBottomWidth: 4,
|
|
972
|
+
color: '#ffffff'
|
|
973
|
+
}
|
|
945
974
|
}
|
|
946
975
|
],
|
|
947
976
|
tokens: {
|
|
@@ -1012,6 +1041,15 @@ module.exports = {
|
|
|
1012
1041
|
{
|
|
1013
1042
|
if: { hover: true },
|
|
1014
1043
|
tokens: { inputOutlineColor: '#e3e6e8', inputOutlineWidth: 2 }
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
if: { checked: true, focus: true },
|
|
1047
|
+
tokens: {
|
|
1048
|
+
inputBorderColor: '#ffffff',
|
|
1049
|
+
inputBorderWidth: 2,
|
|
1050
|
+
inputOutlineColor: '#7c53a5',
|
|
1051
|
+
inputOutlineWidth: 3
|
|
1052
|
+
}
|
|
1015
1053
|
}
|
|
1016
1054
|
],
|
|
1017
1055
|
tokens: {
|
|
@@ -1620,6 +1658,7 @@ module.exports = {
|
|
|
1620
1658
|
tokens: {
|
|
1621
1659
|
iconMarginTop: 8,
|
|
1622
1660
|
itemFontSize: 20,
|
|
1661
|
+
itemIconSize: 20,
|
|
1623
1662
|
itemLineHeight: 1.6,
|
|
1624
1663
|
listGutter: 12
|
|
1625
1664
|
}
|
|
@@ -1629,6 +1668,7 @@ module.exports = {
|
|
|
1629
1668
|
tokens: {
|
|
1630
1669
|
iconMarginTop: 2,
|
|
1631
1670
|
itemFontSize: 14,
|
|
1671
|
+
itemIconSize: 14,
|
|
1632
1672
|
itemLineHeight: 1.42857142857,
|
|
1633
1673
|
listGutter: 12
|
|
1634
1674
|
}
|
|
@@ -4033,5 +4073,5 @@ module.exports = {
|
|
|
4033
4073
|
tokens: { size: 96 }
|
|
4034
4074
|
}
|
|
4035
4075
|
},
|
|
4036
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4076
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.10.0' }
|
|
4037
4077
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.10.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.10.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.2"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.10.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"size": "large"
|
|
15
15
|
},
|
|
16
16
|
"tokens": {
|
|
17
|
-
"size": "{palette.size.
|
|
17
|
+
"size": "{palette.size.size48}",
|
|
18
18
|
"thickness": "{palette.border.border4}"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"tokens": {
|
|
23
23
|
"color": "{palette.color.greenAccessible}",
|
|
24
|
-
"size": "{palette.size.
|
|
24
|
+
"size": "{palette.size.size24}",
|
|
25
25
|
"thickness": "{palette.border.border2}"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -740,6 +740,7 @@
|
|
|
740
740
|
"borderRadius": "{palette.radius.pill32}",
|
|
741
741
|
"borderWidth": "{palette.border.border1}",
|
|
742
742
|
"color": "{palette.color.greyShuttle}",
|
|
743
|
+
"dividerColor": "{palette.color.greyMystic}",
|
|
743
744
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
744
745
|
"fontSize": "{palette.fontSize.size14}",
|
|
745
746
|
"fontWeight": "{palette.fontWeight.weight700}",
|
|
@@ -766,6 +767,7 @@
|
|
|
766
767
|
"paddingRight": "{palette.size.size8}",
|
|
767
768
|
"paddingTop": "{palette.size.size8}",
|
|
768
769
|
"shadow": "{system.shadow.none}",
|
|
770
|
+
"subtitleColor": "{palette.color.greyShuttle}",
|
|
769
771
|
"textAlign": "{system.flexJustifyContent.center}",
|
|
770
772
|
"width": "{system.size.none}"
|
|
771
773
|
}
|
|
@@ -798,6 +800,7 @@
|
|
|
798
800
|
"appearances": {
|
|
799
801
|
"focus": "{appearances.ButtonGroupItem.focus}",
|
|
800
802
|
"hover": "{appearances.ButtonGroupItem.hover}",
|
|
803
|
+
"iconPosition": "{appearances.Link.iconPosition}",
|
|
801
804
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
802
805
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
803
806
|
"selected": "{appearances.ButtonGroupItem.selected}"
|
|
@@ -889,6 +892,14 @@
|
|
|
889
892
|
"borderWidth": "{system.border.zero}",
|
|
890
893
|
"color": "{palette.color.white}"
|
|
891
894
|
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"if": {
|
|
898
|
+
"iconPosition": "right"
|
|
899
|
+
},
|
|
900
|
+
"tokens": {
|
|
901
|
+
"iconSpace": "{system.integer.1}"
|
|
902
|
+
}
|
|
892
903
|
}
|
|
893
904
|
],
|
|
894
905
|
"tokens": {
|
|
@@ -901,9 +912,10 @@
|
|
|
901
912
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
902
913
|
"fontSize": "{palette.fontSize.size14}",
|
|
903
914
|
"fontWeight": "{palette.fontWeight.weight700}",
|
|
915
|
+
"height": "{palette.size.size36}",
|
|
904
916
|
"iconSize": "{palette.size.size20}",
|
|
905
917
|
"iconSpace": "{system.integer.2}",
|
|
906
|
-
"lineHeight": "{palette.lineHeight.
|
|
918
|
+
"lineHeight": "{palette.lineHeight.ratio10to7}",
|
|
907
919
|
"minWidth": "{system.size.zero}",
|
|
908
920
|
"opacity": "{system.opacity.opaque}",
|
|
909
921
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
@@ -1155,7 +1167,7 @@
|
|
|
1155
1167
|
},
|
|
1156
1168
|
"tokens": {
|
|
1157
1169
|
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
1158
|
-
"borderBottomWidth": "{palette.border.
|
|
1170
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
1159
1171
|
"color": "{palette.color.greyShuttle}",
|
|
1160
1172
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
1161
1173
|
"fontWeight": "{palette.fontWeight.weight400}"
|
|
@@ -1175,8 +1187,9 @@
|
|
|
1175
1187
|
"inverse": true
|
|
1176
1188
|
},
|
|
1177
1189
|
"tokens": {
|
|
1178
|
-
"borderBottomColor": "{palette.color.
|
|
1179
|
-
"
|
|
1190
|
+
"borderBottomColor": "{palette.color.white}",
|
|
1191
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
1192
|
+
"color": "{palette.color.white}"
|
|
1180
1193
|
}
|
|
1181
1194
|
},
|
|
1182
1195
|
{
|
|
@@ -1186,6 +1199,7 @@
|
|
|
1186
1199
|
},
|
|
1187
1200
|
"tokens": {
|
|
1188
1201
|
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
1202
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
1189
1203
|
"color": "{palette.color.greyShuttle}"
|
|
1190
1204
|
}
|
|
1191
1205
|
},
|
|
@@ -1195,8 +1209,9 @@
|
|
|
1195
1209
|
"inverse": true
|
|
1196
1210
|
},
|
|
1197
1211
|
"tokens": {
|
|
1198
|
-
"borderBottomColor": "{palette.color.
|
|
1199
|
-
"
|
|
1212
|
+
"borderBottomColor": "{palette.color.white}",
|
|
1213
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
1214
|
+
"color": "{palette.color.white}"
|
|
1200
1215
|
}
|
|
1201
1216
|
},
|
|
1202
1217
|
{
|
|
@@ -1207,6 +1222,7 @@
|
|
|
1207
1222
|
},
|
|
1208
1223
|
"tokens": {
|
|
1209
1224
|
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
1225
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
1210
1226
|
"color": "{palette.color.greyShuttle}"
|
|
1211
1227
|
}
|
|
1212
1228
|
},
|
|
@@ -1216,8 +1232,9 @@
|
|
|
1216
1232
|
"selected": true
|
|
1217
1233
|
},
|
|
1218
1234
|
"tokens": {
|
|
1219
|
-
"borderBottomColor": "{palette.color.
|
|
1220
|
-
"
|
|
1235
|
+
"borderBottomColor": "{palette.color.white}",
|
|
1236
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
1237
|
+
"color": "{palette.color.white}"
|
|
1221
1238
|
}
|
|
1222
1239
|
}
|
|
1223
1240
|
],
|
|
@@ -1287,6 +1304,18 @@
|
|
|
1287
1304
|
"inputOutlineColor": "{palette.color.greyMystic}",
|
|
1288
1305
|
"inputOutlineWidth": "{palette.border.border2}"
|
|
1289
1306
|
}
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"if": {
|
|
1310
|
+
"checked": true,
|
|
1311
|
+
"focus": true
|
|
1312
|
+
},
|
|
1313
|
+
"tokens": {
|
|
1314
|
+
"inputBorderColor": "{palette.color.white}",
|
|
1315
|
+
"inputBorderWidth": "{palette.border.border2}",
|
|
1316
|
+
"inputOutlineColor": "{palette.color.purpleDeluge}",
|
|
1317
|
+
"inputOutlineWidth": "{palette.border.border3}"
|
|
1318
|
+
}
|
|
1290
1319
|
}
|
|
1291
1320
|
],
|
|
1292
1321
|
"tokens": {
|
|
@@ -2194,6 +2223,7 @@
|
|
|
2194
2223
|
"tokens": {
|
|
2195
2224
|
"iconMarginTop": "{palette.size.size8}",
|
|
2196
2225
|
"itemFontSize": "{palette.fontSize.size20}",
|
|
2226
|
+
"itemIconSize": "{palette.size.size20}",
|
|
2197
2227
|
"itemLineHeight": "{palette.lineHeight.ratio8to5}",
|
|
2198
2228
|
"listGutter": "{palette.size.size12}"
|
|
2199
2229
|
}
|
|
@@ -2205,6 +2235,7 @@
|
|
|
2205
2235
|
"tokens": {
|
|
2206
2236
|
"iconMarginTop": "{palette.size.size2}",
|
|
2207
2237
|
"itemFontSize": "{palette.fontSize.size14}",
|
|
2238
|
+
"itemIconSize": "{palette.size.size14}",
|
|
2208
2239
|
"itemLineHeight": "{palette.lineHeight.ratio10to7}",
|
|
2209
2240
|
"listGutter": "{palette.size.size12}"
|
|
2210
2241
|
}
|