@telus-uds/theme-allium 3.9.0 → 3.10.1
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/{schema.json → android/schema.json} +1145 -820
- package/build/android/theme.json +6771 -0
- package/build/ios/schema.json +11779 -0
- package/build/ios/theme.json +6771 -0
- package/build/rn/schema.json +11779 -0
- package/build/{theme.js → rn/theme.js} +279 -14
- package/package.json +6 -6
- package/theme.json +290 -2
package/theme.json
CHANGED
|
@@ -39,7 +39,11 @@
|
|
|
39
39
|
"warning",
|
|
40
40
|
"positive",
|
|
41
41
|
"brand",
|
|
42
|
-
"black"
|
|
42
|
+
"black",
|
|
43
|
+
"brandGradient",
|
|
44
|
+
"greenGradient",
|
|
45
|
+
"neutralGradient",
|
|
46
|
+
"purpleGradient"
|
|
43
47
|
]
|
|
44
48
|
}
|
|
45
49
|
},
|
|
@@ -123,10 +127,47 @@
|
|
|
123
127
|
"tokens": {
|
|
124
128
|
"backgroundColor": "{palette.color.purpleTelus}"
|
|
125
129
|
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"if": {
|
|
133
|
+
"background": "brandGradient"
|
|
134
|
+
},
|
|
135
|
+
"tokens": {
|
|
136
|
+
"backgroundColor": "{system.color.none}",
|
|
137
|
+
"gradient": "{palette.gradient.brand}"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"if": {
|
|
142
|
+
"background": "greenGradient"
|
|
143
|
+
},
|
|
144
|
+
"tokens": {
|
|
145
|
+
"backgroundColor": "{system.color.none}",
|
|
146
|
+
"gradient": "{palette.gradient.green}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"if": {
|
|
151
|
+
"background": "neutralGradient"
|
|
152
|
+
},
|
|
153
|
+
"tokens": {
|
|
154
|
+
"backgroundColor": "{system.color.none}",
|
|
155
|
+
"gradient": "{palette.gradient.neutral}"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"if": {
|
|
160
|
+
"background": "purpleGradient"
|
|
161
|
+
},
|
|
162
|
+
"tokens": {
|
|
163
|
+
"backgroundColor": "{system.color.none}",
|
|
164
|
+
"gradient": "{palette.gradient.purple}"
|
|
165
|
+
}
|
|
126
166
|
}
|
|
127
167
|
],
|
|
128
168
|
"tokens": {
|
|
129
|
-
"backgroundColor": "{system.color.none}"
|
|
169
|
+
"backgroundColor": "{system.color.none}",
|
|
170
|
+
"gradient": "{system.gradient.none}"
|
|
130
171
|
}
|
|
131
172
|
},
|
|
132
173
|
"Button": {
|
|
@@ -579,6 +620,156 @@
|
|
|
579
620
|
"width": "{system.size.none}"
|
|
580
621
|
}
|
|
581
622
|
},
|
|
623
|
+
"ButtonDropdown": {
|
|
624
|
+
"appearances": {
|
|
625
|
+
"focus": "{appearances.ButtonDropdown.focus}",
|
|
626
|
+
"hover": "{appearances.ButtonDropdown.hover}",
|
|
627
|
+
"inactive": "{appearances.ButtonDropdown.inactive}",
|
|
628
|
+
"open": "{appearances.ButtonDropdown.open}",
|
|
629
|
+
"pressed": "{appearances.ButtonDropdown.pressed}",
|
|
630
|
+
"selected": "{appearances.ButtonDropdown.selected}"
|
|
631
|
+
},
|
|
632
|
+
"rules": [
|
|
633
|
+
{
|
|
634
|
+
"if": {
|
|
635
|
+
"open": true
|
|
636
|
+
},
|
|
637
|
+
"tokens": {
|
|
638
|
+
"icon": "{palette.icon.CaretUp}"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"if": {
|
|
643
|
+
"pressed": true
|
|
644
|
+
},
|
|
645
|
+
"tokens": {
|
|
646
|
+
"backgroundColor": "{palette.color.greyShuttle}",
|
|
647
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
648
|
+
"borderWidth": "{palette.border.none}",
|
|
649
|
+
"color": "{palette.color.white}",
|
|
650
|
+
"iconBackground": "{palette.color.greyCharcoal}",
|
|
651
|
+
"iconColor": "{palette.color.white}"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"if": {
|
|
656
|
+
"focus": true
|
|
657
|
+
},
|
|
658
|
+
"tokens": {
|
|
659
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
660
|
+
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
661
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
662
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"if": {
|
|
667
|
+
"hover": true
|
|
668
|
+
},
|
|
669
|
+
"tokens": {
|
|
670
|
+
"borderWidth": "{palette.border.border3}"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"if": {
|
|
675
|
+
"selected": true
|
|
676
|
+
},
|
|
677
|
+
"tokens": {
|
|
678
|
+
"backgroundColor": "{palette.color.purpleTelus}",
|
|
679
|
+
"borderWidth": "{palette.border.none}",
|
|
680
|
+
"color": "{palette.color.white}",
|
|
681
|
+
"iconBackground": "{palette.color.purpleDeluge}",
|
|
682
|
+
"iconColor": "{palette.color.white}"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"if": {
|
|
687
|
+
"hover": true,
|
|
688
|
+
"selected": true
|
|
689
|
+
},
|
|
690
|
+
"tokens": {
|
|
691
|
+
"backgroundColor": "{palette.color.purpleDeluge}",
|
|
692
|
+
"iconBackground": "{palette.color.purpleTelus}"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"if": {
|
|
697
|
+
"pressed": true,
|
|
698
|
+
"selected": true
|
|
699
|
+
},
|
|
700
|
+
"tokens": {
|
|
701
|
+
"backgroundColor": "{palette.color.purpleDark}",
|
|
702
|
+
"iconBackground": "{palette.color.purpleDeluge}"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"if": {
|
|
707
|
+
"focus": true,
|
|
708
|
+
"selected": true
|
|
709
|
+
},
|
|
710
|
+
"tokens": {
|
|
711
|
+
"outerBorderColor": "{palette.color.purpleTelus}"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"if": {
|
|
716
|
+
"focus": true,
|
|
717
|
+
"pressed": true,
|
|
718
|
+
"selected": true
|
|
719
|
+
},
|
|
720
|
+
"tokens": {
|
|
721
|
+
"iconBackground": "{palette.color.purpleDeluge}",
|
|
722
|
+
"outerBorderColor": "{palette.color.purpleDark}"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"if": {
|
|
727
|
+
"inactive": true
|
|
728
|
+
},
|
|
729
|
+
"tokens": {
|
|
730
|
+
"backgroundColor": "{palette.color.greyCloud}",
|
|
731
|
+
"borderWidth": "{system.border.zero}",
|
|
732
|
+
"color": "{palette.color.white}"
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"tokens": {
|
|
737
|
+
"alignSelf": "{system.flexAlign.flexStart}",
|
|
738
|
+
"backgroundColor": "{palette.color.white}",
|
|
739
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
740
|
+
"borderRadius": "{palette.radius.pill32}",
|
|
741
|
+
"borderWidth": "{palette.border.border1}",
|
|
742
|
+
"color": "{palette.color.greyShuttle}",
|
|
743
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
744
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
745
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
746
|
+
"icon": "{palette.icon.CaretDown}",
|
|
747
|
+
"iconAlignSelf": "{system.flexAlign.center}",
|
|
748
|
+
"iconBackground": "{palette.color.greyAthens}",
|
|
749
|
+
"iconBorderRadius": "{palette.radius.pill32}",
|
|
750
|
+
"iconColor": "{palette.color.greyThunder}",
|
|
751
|
+
"iconPadding": "{palette.size.size2}",
|
|
752
|
+
"iconPosition": "{system.position.right}",
|
|
753
|
+
"iconSize": "{palette.size.size16}",
|
|
754
|
+
"iconSpace": "{system.integer.2}",
|
|
755
|
+
"iconTranslateX": "{palette.size.size0}",
|
|
756
|
+
"iconTranslateY": "{palette.size.size0}",
|
|
757
|
+
"lineHeight": "{palette.lineHeight.ratio10to7}",
|
|
758
|
+
"minWidth": "{system.size.zero}",
|
|
759
|
+
"opacity": "{system.opacity.opaque}",
|
|
760
|
+
"outerBackgroundColor": "{palette.color.transparent}",
|
|
761
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
762
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
763
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
764
|
+
"paddingBottom": "{palette.size.size8}",
|
|
765
|
+
"paddingLeft": "{palette.size.size16}",
|
|
766
|
+
"paddingRight": "{palette.size.size8}",
|
|
767
|
+
"paddingTop": "{palette.size.size8}",
|
|
768
|
+
"shadow": "{system.shadow.none}",
|
|
769
|
+
"textAlign": "{system.flexJustifyContent.center}",
|
|
770
|
+
"width": "{system.size.none}"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
582
773
|
"ButtonGroup": {
|
|
583
774
|
"appearances": {
|
|
584
775
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -875,6 +1066,7 @@
|
|
|
875
1066
|
}
|
|
876
1067
|
],
|
|
877
1068
|
"tokens": {
|
|
1069
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
878
1070
|
"nextIcon": "{palette.icon.ArrowRight}",
|
|
879
1071
|
"previousIcon": "{palette.icon.ArrowLeft}",
|
|
880
1072
|
"showPanelNavigation": "{system.show.true}",
|
|
@@ -898,6 +1090,10 @@
|
|
|
898
1090
|
"focus": "{appearances.CarouselTabsPanelItem.focus}",
|
|
899
1091
|
"hover": "{appearances.CarouselTabsPanelItem.hover}",
|
|
900
1092
|
"inactive": "{appearances.CarouselTabsPanelItem.inactive}",
|
|
1093
|
+
"inverse": {
|
|
1094
|
+
"type": "variant",
|
|
1095
|
+
"values": [true]
|
|
1096
|
+
},
|
|
901
1097
|
"pressed": "{appearances.CarouselTabsPanelItem.pressed}",
|
|
902
1098
|
"selected": "{appearances.CarouselTabsPanelItem.selected}"
|
|
903
1099
|
},
|
|
@@ -962,6 +1158,65 @@
|
|
|
962
1158
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
963
1159
|
"fontWeight": "{palette.fontWeight.weight400}"
|
|
964
1160
|
}
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"if": {
|
|
1164
|
+
"inverse": true
|
|
1165
|
+
},
|
|
1166
|
+
"tokens": {
|
|
1167
|
+
"color": "{palette.color.white}"
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"if": {
|
|
1172
|
+
"hover": true,
|
|
1173
|
+
"inverse": true
|
|
1174
|
+
},
|
|
1175
|
+
"tokens": {
|
|
1176
|
+
"borderBottomColor": "{palette.color.greenTelus}",
|
|
1177
|
+
"color": "{palette.color.greenTelus}"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"if": {
|
|
1182
|
+
"inverse": true,
|
|
1183
|
+
"pressed": true
|
|
1184
|
+
},
|
|
1185
|
+
"tokens": {
|
|
1186
|
+
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
1187
|
+
"color": "{palette.color.greyShuttle}"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"if": {
|
|
1192
|
+
"focus": true,
|
|
1193
|
+
"inverse": true
|
|
1194
|
+
},
|
|
1195
|
+
"tokens": {
|
|
1196
|
+
"borderBottomColor": "{palette.color.greenTelus}",
|
|
1197
|
+
"color": "{palette.color.greenTelus}"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"if": {
|
|
1202
|
+
"focus": true,
|
|
1203
|
+
"inverse": true,
|
|
1204
|
+
"pressed": true
|
|
1205
|
+
},
|
|
1206
|
+
"tokens": {
|
|
1207
|
+
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
1208
|
+
"color": "{palette.color.greyShuttle}"
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"if": {
|
|
1213
|
+
"inverse": true,
|
|
1214
|
+
"selected": true
|
|
1215
|
+
},
|
|
1216
|
+
"tokens": {
|
|
1217
|
+
"borderBottomColor": "{palette.color.greenYellow}",
|
|
1218
|
+
"color": "{palette.color.greenTelus}"
|
|
1219
|
+
}
|
|
965
1220
|
}
|
|
966
1221
|
],
|
|
967
1222
|
"tokens": {
|
|
@@ -1021,6 +1276,15 @@
|
|
|
1021
1276
|
"inputBorderColor": "{palette.color.transparent}",
|
|
1022
1277
|
"labelColor": "{palette.color.greyShuttle}"
|
|
1023
1278
|
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"if": {
|
|
1282
|
+
"hover": true
|
|
1283
|
+
},
|
|
1284
|
+
"tokens": {
|
|
1285
|
+
"inputOutlineColor": "{palette.color.greyMystic}",
|
|
1286
|
+
"inputOutlineWidth": "{palette.border.border2}"
|
|
1287
|
+
}
|
|
1024
1288
|
}
|
|
1025
1289
|
],
|
|
1026
1290
|
"tokens": {
|
|
@@ -1430,6 +1694,11 @@
|
|
|
1430
1694
|
},
|
|
1431
1695
|
"IconButton": {
|
|
1432
1696
|
"appearances": {
|
|
1697
|
+
"compact": {
|
|
1698
|
+
"description": "Without the outer border gap",
|
|
1699
|
+
"type": "variant",
|
|
1700
|
+
"values": [true]
|
|
1701
|
+
},
|
|
1433
1702
|
"focus": "{appearances.IconButton.focus}",
|
|
1434
1703
|
"hover": "{appearances.IconButton.hover}",
|
|
1435
1704
|
"inverse": {
|
|
@@ -1613,6 +1882,14 @@
|
|
|
1613
1882
|
"borderColor": "{palette.color.purpleTelus}",
|
|
1614
1883
|
"borderWidth": "{palette.border.border3}"
|
|
1615
1884
|
}
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"if": {
|
|
1888
|
+
"compact": true
|
|
1889
|
+
},
|
|
1890
|
+
"tokens": {
|
|
1891
|
+
"outerBorderGap": "{system.size.zero}"
|
|
1892
|
+
}
|
|
1616
1893
|
}
|
|
1617
1894
|
],
|
|
1618
1895
|
"tokens": {
|
|
@@ -3757,6 +4034,7 @@
|
|
|
3757
4034
|
"buttonSize": "{palette.size.size32}",
|
|
3758
4035
|
"buttonsGap": "{palette.size.size1}",
|
|
3759
4036
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
4037
|
+
"clearButtonIcon": "{palette.icon.Times}",
|
|
3760
4038
|
"color": "{palette.color.greyCharcoal}",
|
|
3761
4039
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
3762
4040
|
"fontSize": "{palette.fontSize.size16}",
|
|
@@ -4425,6 +4703,16 @@
|
|
|
4425
4703
|
"fontWeight": "{palette.fontWeight.weight700}"
|
|
4426
4704
|
}
|
|
4427
4705
|
},
|
|
4706
|
+
{
|
|
4707
|
+
"if": {
|
|
4708
|
+
"bold": true,
|
|
4709
|
+
"size": "micro"
|
|
4710
|
+
},
|
|
4711
|
+
"tokens": {
|
|
4712
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4713
|
+
"fontWeight": "{palette.fontWeight.weight700}"
|
|
4714
|
+
}
|
|
4715
|
+
},
|
|
4428
4716
|
{
|
|
4429
4717
|
"if": {
|
|
4430
4718
|
"bold": true,
|