@telus-uds/theme-public-mobile 2.3.2 → 2.4.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 +562 -533
- package/build/android/theme.json +191 -57
- package/build/ios/schema.json +562 -533
- package/build/ios/theme.json +191 -57
- package/build/rn/schema.json +562 -533
- package/build/rn/theme.js +117 -68
- package/package.json +3 -3
- package/theme.json +158 -91
package/theme.json
CHANGED
|
@@ -1274,6 +1274,10 @@
|
|
|
1274
1274
|
"type": "variant",
|
|
1275
1275
|
"values": ["alternative", "subtle", "grid", "image", "feature"]
|
|
1276
1276
|
},
|
|
1277
|
+
"borderRadius": {
|
|
1278
|
+
"type": "variant",
|
|
1279
|
+
"values": ["none", "small", "large"]
|
|
1280
|
+
},
|
|
1277
1281
|
"padding": {
|
|
1278
1282
|
"type": "variant",
|
|
1279
1283
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -1281,6 +1285,30 @@
|
|
|
1281
1285
|
"viewport": "{appearances.system.viewport}"
|
|
1282
1286
|
},
|
|
1283
1287
|
"rules": [
|
|
1288
|
+
{
|
|
1289
|
+
"if": {
|
|
1290
|
+
"borderRadius": "none"
|
|
1291
|
+
},
|
|
1292
|
+
"tokens": {
|
|
1293
|
+
"borderRadius": "{palette.radius.none}"
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"if": {
|
|
1298
|
+
"borderRadius": "small"
|
|
1299
|
+
},
|
|
1300
|
+
"tokens": {
|
|
1301
|
+
"borderRadius": "{palette.radius.radius6}"
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"if": {
|
|
1306
|
+
"borderRadius": "large"
|
|
1307
|
+
},
|
|
1308
|
+
"tokens": {
|
|
1309
|
+
"borderRadius": "{palette.radius.radius6}"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1284
1312
|
{
|
|
1285
1313
|
"if": {
|
|
1286
1314
|
"background": "alternative"
|
|
@@ -2987,11 +3015,10 @@
|
|
|
2987
3015
|
{
|
|
2988
3016
|
"if": {
|
|
2989
3017
|
"hover": true,
|
|
2990
|
-
"
|
|
3018
|
+
"inactive": true
|
|
2991
3019
|
},
|
|
2992
3020
|
"tokens": {
|
|
2993
|
-
"
|
|
2994
|
-
"iconColor": "{palette.color.apricot50}"
|
|
3021
|
+
"iconScale": "{system.iconScale.scale1}"
|
|
2995
3022
|
}
|
|
2996
3023
|
},
|
|
2997
3024
|
{
|
|
@@ -3001,6 +3028,7 @@
|
|
|
3001
3028
|
},
|
|
3002
3029
|
"tokens": {
|
|
3003
3030
|
"backgroundColor": "{palette.color.slate100}",
|
|
3031
|
+
"borderColor": "{palette.color.slate100}",
|
|
3004
3032
|
"iconColor": "{palette.color.white}"
|
|
3005
3033
|
}
|
|
3006
3034
|
},
|
|
@@ -3014,24 +3042,22 @@
|
|
|
3014
3042
|
},
|
|
3015
3043
|
{
|
|
3016
3044
|
"if": {
|
|
3017
|
-
"
|
|
3045
|
+
"hover": true,
|
|
3046
|
+
"inverse": true
|
|
3018
3047
|
},
|
|
3019
3048
|
"tokens": {
|
|
3020
|
-
"borderColor": "{palette.color.
|
|
3021
|
-
"iconColor": "{palette.color.
|
|
3022
|
-
"outerBorderColor": "{palette.color.link100}",
|
|
3023
|
-
"outerBorderGap": "{palette.size.size2}",
|
|
3024
|
-
"outerBorderWidth": "{palette.border.border2}"
|
|
3049
|
+
"borderColor": "{palette.color.apricot50}",
|
|
3050
|
+
"iconColor": "{palette.color.apricot50}"
|
|
3025
3051
|
}
|
|
3026
3052
|
},
|
|
3027
3053
|
{
|
|
3028
3054
|
"if": {
|
|
3029
|
-
"focus": true
|
|
3030
|
-
"password": true
|
|
3055
|
+
"focus": true
|
|
3031
3056
|
},
|
|
3032
3057
|
"tokens": {
|
|
3033
|
-
"
|
|
3034
|
-
"
|
|
3058
|
+
"outerBorderColor": "{palette.color.link100}",
|
|
3059
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
3060
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
3035
3061
|
}
|
|
3036
3062
|
},
|
|
3037
3063
|
{
|
|
@@ -3058,6 +3084,46 @@
|
|
|
3058
3084
|
"outerBorderGap": "{palette.size.size4}"
|
|
3059
3085
|
}
|
|
3060
3086
|
},
|
|
3087
|
+
{
|
|
3088
|
+
"if": {
|
|
3089
|
+
"password": true,
|
|
3090
|
+
"pressed": true
|
|
3091
|
+
},
|
|
3092
|
+
"tokens": {
|
|
3093
|
+
"backgroundColor": "{palette.color.link100}",
|
|
3094
|
+
"borderColor": "{palette.color.link100}",
|
|
3095
|
+
"borderWidth": "{palette.border.border1}",
|
|
3096
|
+
"iconColor": "{palette.color.white}",
|
|
3097
|
+
"outerBorderGap": "{system.size.zero}",
|
|
3098
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
3099
|
+
}
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"if": {
|
|
3103
|
+
"inactive": true,
|
|
3104
|
+
"password": true,
|
|
3105
|
+
"pressed": true
|
|
3106
|
+
},
|
|
3107
|
+
"tokens": {
|
|
3108
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
3109
|
+
"borderColor": "{palette.color.transparent}",
|
|
3110
|
+
"borderWidth": "{palette.border.none}",
|
|
3111
|
+
"outerBorderGap": "{system.size.zero}",
|
|
3112
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
3113
|
+
}
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"if": {
|
|
3117
|
+
"focus": true,
|
|
3118
|
+
"password": true,
|
|
3119
|
+
"pressed": false
|
|
3120
|
+
},
|
|
3121
|
+
"tokens": {
|
|
3122
|
+
"outerBorderColor": "{palette.color.link100}",
|
|
3123
|
+
"outerBorderGap": "{system.size.zero}",
|
|
3124
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3061
3127
|
{
|
|
3062
3128
|
"if": {
|
|
3063
3129
|
"inverse": true,
|
|
@@ -3135,6 +3201,19 @@
|
|
|
3135
3201
|
"outerBorderColor": "{palette.color.link100}"
|
|
3136
3202
|
}
|
|
3137
3203
|
},
|
|
3204
|
+
{
|
|
3205
|
+
"if": {
|
|
3206
|
+
"inactive": true,
|
|
3207
|
+
"password": true
|
|
3208
|
+
},
|
|
3209
|
+
"tokens": {
|
|
3210
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
3211
|
+
"borderWidth": "{system.border.zero}",
|
|
3212
|
+
"iconColor": "{palette.color.slate50}",
|
|
3213
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
3214
|
+
"outerBorderWidth": "{system.border.zero}"
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3138
3217
|
{
|
|
3139
3218
|
"if": {
|
|
3140
3219
|
"focus": true,
|
|
@@ -3180,43 +3259,15 @@
|
|
|
3180
3259
|
"outerBorderGap": "{system.size.zero}"
|
|
3181
3260
|
}
|
|
3182
3261
|
},
|
|
3183
|
-
{
|
|
3184
|
-
"if": {
|
|
3185
|
-
"inactive": true,
|
|
3186
|
-
"password": true
|
|
3187
|
-
},
|
|
3188
|
-
"tokens": {
|
|
3189
|
-
"iconColor": "{palette.color.slate50}",
|
|
3190
|
-
"outerBorderWidth": "{system.border.zero}"
|
|
3191
|
-
}
|
|
3192
|
-
},
|
|
3193
3262
|
{
|
|
3194
3263
|
"if": {
|
|
3195
3264
|
"hover": true,
|
|
3196
|
-
"inactive": true,
|
|
3197
3265
|
"password": true
|
|
3198
3266
|
},
|
|
3199
3267
|
"tokens": {
|
|
3200
3268
|
"iconColor": "{palette.color.slate50}",
|
|
3201
3269
|
"outerBorderWidth": "{system.border.zero}"
|
|
3202
3270
|
}
|
|
3203
|
-
},
|
|
3204
|
-
{
|
|
3205
|
-
"if": {
|
|
3206
|
-
"password": true
|
|
3207
|
-
},
|
|
3208
|
-
"tokens": {
|
|
3209
|
-
"outerBorderWidth": "{system.border.zero}"
|
|
3210
|
-
}
|
|
3211
|
-
},
|
|
3212
|
-
{
|
|
3213
|
-
"if": {
|
|
3214
|
-
"focus": true,
|
|
3215
|
-
"pressed": true
|
|
3216
|
-
},
|
|
3217
|
-
"tokens": {
|
|
3218
|
-
"outerBorderGap": "{palette.size.size1}"
|
|
3219
|
-
}
|
|
3220
3271
|
}
|
|
3221
3272
|
],
|
|
3222
3273
|
"tokens": {
|
|
@@ -3232,6 +3283,7 @@
|
|
|
3232
3283
|
"borderTopRightRadius": "{system.radius.none}",
|
|
3233
3284
|
"borderTopWidth": "{palette.border.border1}",
|
|
3234
3285
|
"borderWidth": "{palette.border.border2}",
|
|
3286
|
+
"height": "{system.size.none}",
|
|
3235
3287
|
"icon": "{palette.icon.Add}",
|
|
3236
3288
|
"iconColor": "{palette.color.link100}",
|
|
3237
3289
|
"iconScale": "{system.iconScale.scale1}",
|
|
@@ -3242,7 +3294,8 @@
|
|
|
3242
3294
|
"outerBorderGap": "{system.size.zero}",
|
|
3243
3295
|
"outerBorderWidth": "{system.border.zero}",
|
|
3244
3296
|
"padding": "{palette.size.size4}",
|
|
3245
|
-
"shadow": "{system.shadow.none}"
|
|
3297
|
+
"shadow": "{system.shadow.none}",
|
|
3298
|
+
"width": "{system.size.none}"
|
|
3246
3299
|
}
|
|
3247
3300
|
},
|
|
3248
3301
|
"Image": {
|
|
@@ -6546,31 +6599,14 @@
|
|
|
6546
6599
|
"selected": "{appearances.TagsItem.selected}"
|
|
6547
6600
|
},
|
|
6548
6601
|
"rules": [
|
|
6549
|
-
{
|
|
6550
|
-
"if": {
|
|
6551
|
-
"pressed": true
|
|
6552
|
-
},
|
|
6553
|
-
"tokens": {
|
|
6554
|
-
"backgroundColor": "{palette.color.slate120}",
|
|
6555
|
-
"borderColor": "{palette.color.link100}",
|
|
6556
|
-
"borderWidth": "{palette.border.border1}",
|
|
6557
|
-
"color": "{palette.color.white}",
|
|
6558
|
-
"iconBackground": "{palette.color.transparent}",
|
|
6559
|
-
"iconColor": "{palette.color.white}",
|
|
6560
|
-
"outerBorderColor": "{palette.color.transparent}",
|
|
6561
|
-
"outerBorderWidth": "{palette.border.none}"
|
|
6562
|
-
}
|
|
6563
|
-
},
|
|
6564
6602
|
{
|
|
6565
6603
|
"if": {
|
|
6566
6604
|
"focus": true
|
|
6567
6605
|
},
|
|
6568
6606
|
"tokens": {
|
|
6569
|
-
"backgroundColor": "{palette.color.
|
|
6607
|
+
"backgroundColor": "{palette.color.sand50}",
|
|
6570
6608
|
"borderColor": "{palette.color.link100}",
|
|
6571
6609
|
"color": "{palette.color.slate100}",
|
|
6572
|
-
"iconBackground": "{palette.color.transparent}",
|
|
6573
|
-
"iconColor": "{palette.color.slate100}",
|
|
6574
6610
|
"outerBorderColor": "{palette.color.apricot50}",
|
|
6575
6611
|
"outerBorderGap": "{palette.size.size0}",
|
|
6576
6612
|
"outerBorderWidth": "{palette.border.border3}"
|
|
@@ -6581,12 +6617,12 @@
|
|
|
6581
6617
|
"hover": true
|
|
6582
6618
|
},
|
|
6583
6619
|
"tokens": {
|
|
6584
|
-
"backgroundColor": "{palette.color.
|
|
6585
|
-
"borderColor": "{palette.color.
|
|
6586
|
-
"borderWidth": "{palette.border.
|
|
6587
|
-
"color": "{palette.color.
|
|
6588
|
-
"iconBackground": "{palette.color.
|
|
6589
|
-
"iconColor": "{palette.color.
|
|
6620
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
6621
|
+
"borderColor": "{palette.color.link100}",
|
|
6622
|
+
"borderWidth": "{palette.border.border1}",
|
|
6623
|
+
"color": "{palette.color.slate100}",
|
|
6624
|
+
"iconBackground": "{palette.color.slate120}",
|
|
6625
|
+
"iconColor": "{palette.color.apricot100}"
|
|
6590
6626
|
}
|
|
6591
6627
|
},
|
|
6592
6628
|
{
|
|
@@ -6594,12 +6630,12 @@
|
|
|
6594
6630
|
"selected": true
|
|
6595
6631
|
},
|
|
6596
6632
|
"tokens": {
|
|
6597
|
-
"backgroundColor": "{palette.color.
|
|
6633
|
+
"backgroundColor": "{palette.color.sand100}",
|
|
6598
6634
|
"borderColor": "{palette.color.link100}",
|
|
6599
|
-
"color": "{palette.color.
|
|
6635
|
+
"color": "{palette.color.slate100}",
|
|
6600
6636
|
"icon": "{palette.icon.XMark}",
|
|
6601
|
-
"iconBackground": "{palette.color.
|
|
6602
|
-
"iconColor": "{palette.color.
|
|
6637
|
+
"iconBackground": "{palette.color.slate120}",
|
|
6638
|
+
"iconColor": "{palette.color.sand100}",
|
|
6603
6639
|
"outerBorderColor": "{palette.color.transparent}",
|
|
6604
6640
|
"outerBorderWidth": "{palette.border.none}"
|
|
6605
6641
|
}
|
|
@@ -6610,12 +6646,12 @@
|
|
|
6610
6646
|
"selected": true
|
|
6611
6647
|
},
|
|
6612
6648
|
"tokens": {
|
|
6613
|
-
"backgroundColor": "{palette.color.
|
|
6614
|
-
"borderColor": "{palette.color.
|
|
6615
|
-
"borderWidth": "{palette.border.
|
|
6616
|
-
"color": "{palette.color.
|
|
6617
|
-
"iconBackground": "{palette.color.
|
|
6618
|
-
"iconColor": "{palette.color.
|
|
6649
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
6650
|
+
"borderColor": "{palette.color.link100}",
|
|
6651
|
+
"borderWidth": "{palette.border.border1}",
|
|
6652
|
+
"color": "{palette.color.slate100}",
|
|
6653
|
+
"iconBackground": "{palette.color.slate120}",
|
|
6654
|
+
"iconColor": "{palette.color.apricot100}"
|
|
6619
6655
|
}
|
|
6620
6656
|
},
|
|
6621
6657
|
{
|
|
@@ -6624,16 +6660,47 @@
|
|
|
6624
6660
|
"selected": true
|
|
6625
6661
|
},
|
|
6626
6662
|
"tokens": {
|
|
6627
|
-
"backgroundColor": "{palette.color.
|
|
6663
|
+
"backgroundColor": "{palette.color.sand100}",
|
|
6628
6664
|
"borderColor": "{palette.color.link100}",
|
|
6629
|
-
"color": "{palette.color.
|
|
6630
|
-
"iconBackground": "{palette.color.
|
|
6631
|
-
"iconColor": "{palette.color.
|
|
6665
|
+
"color": "{palette.color.slate100}",
|
|
6666
|
+
"iconBackground": "{palette.color.slate120}",
|
|
6667
|
+
"iconColor": "{palette.color.sand100}",
|
|
6632
6668
|
"outerBorderColor": "{palette.color.apricot50}",
|
|
6633
6669
|
"outerBorderGap": "{palette.size.size0}",
|
|
6634
6670
|
"outerBorderWidth": "{palette.border.border3}"
|
|
6635
6671
|
}
|
|
6636
6672
|
},
|
|
6673
|
+
{
|
|
6674
|
+
"if": {
|
|
6675
|
+
"pressed": true,
|
|
6676
|
+
"selected": true
|
|
6677
|
+
},
|
|
6678
|
+
"tokens": {
|
|
6679
|
+
"backgroundColor": "{palette.color.slate120}",
|
|
6680
|
+
"borderColor": "{palette.color.link100}",
|
|
6681
|
+
"borderWidth": "{palette.border.border1}",
|
|
6682
|
+
"color": "{palette.color.sand100}",
|
|
6683
|
+
"iconBackground": "{palette.color.sand100}",
|
|
6684
|
+
"iconColor": "{palette.color.slate120}",
|
|
6685
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
6686
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
6687
|
+
}
|
|
6688
|
+
},
|
|
6689
|
+
{
|
|
6690
|
+
"if": {
|
|
6691
|
+
"pressed": true
|
|
6692
|
+
},
|
|
6693
|
+
"tokens": {
|
|
6694
|
+
"backgroundColor": "{palette.color.slate120}",
|
|
6695
|
+
"borderColor": "{palette.color.link100}",
|
|
6696
|
+
"borderWidth": "{palette.border.border1}",
|
|
6697
|
+
"color": "{palette.color.sand100}",
|
|
6698
|
+
"iconBackground": "{palette.color.sand100}",
|
|
6699
|
+
"iconColor": "{palette.color.slate120}",
|
|
6700
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
6701
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
6702
|
+
}
|
|
6703
|
+
},
|
|
6637
6704
|
{
|
|
6638
6705
|
"if": {
|
|
6639
6706
|
"inactive": true
|
|
@@ -6643,29 +6710,29 @@
|
|
|
6643
6710
|
"borderColor": "{palette.color.slate50}",
|
|
6644
6711
|
"borderWidth": "{palette.border.border1}",
|
|
6645
6712
|
"color": "{palette.color.slate25}",
|
|
6646
|
-
"iconBackground": "{palette.color.
|
|
6647
|
-
"iconColor": "{palette.color.
|
|
6713
|
+
"iconBackground": "{palette.color.slate25}",
|
|
6714
|
+
"iconColor": "{palette.color.white}"
|
|
6648
6715
|
}
|
|
6649
6716
|
}
|
|
6650
6717
|
],
|
|
6651
6718
|
"tokens": {
|
|
6652
6719
|
"alignSelf": "{system.flexAlign.center}",
|
|
6653
|
-
"backgroundColor": "{palette.color.
|
|
6720
|
+
"backgroundColor": "{palette.color.sand50}",
|
|
6654
6721
|
"borderColor": "{palette.color.link100}",
|
|
6655
|
-
"borderRadius": "{palette.radius.
|
|
6722
|
+
"borderRadius": "{palette.radius.radius32}",
|
|
6656
6723
|
"borderWidth": "{palette.border.border1}",
|
|
6657
6724
|
"color": "{palette.color.slate100}",
|
|
6658
6725
|
"fontName": "{palette.fontName.SofiaPro}",
|
|
6659
6726
|
"fontSize": "{palette.fontSize.size18}",
|
|
6660
|
-
"fontWeight": "{palette.fontWeight.
|
|
6727
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
6661
6728
|
"icon": "{palette.icon.Add}",
|
|
6662
6729
|
"iconAlignSelf": "{system.flexAlign.center}",
|
|
6663
|
-
"iconBackground": "{palette.color.
|
|
6664
|
-
"iconBorderRadius": "{palette.radius.
|
|
6665
|
-
"iconColor": "{palette.color.
|
|
6730
|
+
"iconBackground": "{palette.color.slate100}",
|
|
6731
|
+
"iconBorderRadius": "{palette.radius.radius48}",
|
|
6732
|
+
"iconColor": "{palette.color.sand100}",
|
|
6666
6733
|
"iconPadding": "{palette.size.size2}",
|
|
6667
6734
|
"iconPosition": "{system.position.right}",
|
|
6668
|
-
"iconSize": "{palette.size.
|
|
6735
|
+
"iconSize": "{palette.size.size16}",
|
|
6669
6736
|
"iconSpace": "{system.integer.1}",
|
|
6670
6737
|
"iconTranslateX": "{palette.size.size0}",
|
|
6671
6738
|
"iconTranslateY": "{palette.size.size0}",
|
|
@@ -6677,8 +6744,8 @@
|
|
|
6677
6744
|
"outerBorderGap": "{palette.size.size2}",
|
|
6678
6745
|
"outerBorderWidth": "{palette.border.none}",
|
|
6679
6746
|
"paddingBottom": "{palette.size.size10}",
|
|
6680
|
-
"paddingLeft": "{palette.size.
|
|
6681
|
-
"paddingRight": "{palette.size.
|
|
6747
|
+
"paddingLeft": "{palette.size.size11}",
|
|
6748
|
+
"paddingRight": "{palette.size.size11}",
|
|
6682
6749
|
"paddingTop": "{palette.size.size10}",
|
|
6683
6750
|
"shadow": "{system.shadow.none}",
|
|
6684
6751
|
"textAlign": "{system.flexJustifyContent.center}"
|