@telus-uds/theme-public-mobile 2.3.1 → 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.
@@ -1798,6 +1798,10 @@
1798
1798
  "type": "variant",
1799
1799
  "values": ["alternative", "subtle", "grid", "image", "feature"]
1800
1800
  },
1801
+ "borderRadius": {
1802
+ "type": "variant",
1803
+ "values": ["none", "small", "large"]
1804
+ },
1801
1805
  "padding": {
1802
1806
  "type": "variant",
1803
1807
  "values": ["narrow", "intermediate", "compact", "custom"]
@@ -1809,6 +1813,30 @@
1809
1813
  }
1810
1814
  },
1811
1815
  "rules": [
1816
+ {
1817
+ "if": {
1818
+ "borderRadius": "none"
1819
+ },
1820
+ "tokens": {
1821
+ "borderRadius": 0
1822
+ }
1823
+ },
1824
+ {
1825
+ "if": {
1826
+ "borderRadius": "small"
1827
+ },
1828
+ "tokens": {
1829
+ "borderRadius": 6
1830
+ }
1831
+ },
1832
+ {
1833
+ "if": {
1834
+ "borderRadius": "large"
1835
+ },
1836
+ "tokens": {
1837
+ "borderRadius": 6
1838
+ }
1839
+ },
1812
1840
  {
1813
1841
  "if": {
1814
1842
  "background": "alternative"
@@ -4048,6 +4076,59 @@
4048
4076
  "outerBorderGap": 4
4049
4077
  }
4050
4078
  },
4079
+ {
4080
+ "if": {
4081
+ "password": true,
4082
+ "pressed": true
4083
+ },
4084
+ "tokens": {
4085
+ "backgroundColor": {
4086
+ "red": 0.38824,
4087
+ "green": 0.42353,
4088
+ "blue": 0.54902,
4089
+ "alpha": 1
4090
+ },
4091
+ "borderColor": {
4092
+ "red": 0.38824,
4093
+ "green": 0.42353,
4094
+ "blue": 0.54902,
4095
+ "alpha": 1
4096
+ },
4097
+ "borderWidth": 1,
4098
+ "iconColor": {
4099
+ "red": 1,
4100
+ "green": 1,
4101
+ "blue": 1,
4102
+ "alpha": 1
4103
+ },
4104
+ "outerBorderGap": 0,
4105
+ "outerBorderWidth": 0
4106
+ }
4107
+ },
4108
+ {
4109
+ "if": {
4110
+ "inactive": true,
4111
+ "password": true,
4112
+ "pressed": true
4113
+ },
4114
+ "tokens": {
4115
+ "backgroundColor": {
4116
+ "red": 0,
4117
+ "green": 0,
4118
+ "blue": 0,
4119
+ "alpha": 0
4120
+ },
4121
+ "borderColor": {
4122
+ "red": 0,
4123
+ "green": 0,
4124
+ "blue": 0,
4125
+ "alpha": 0
4126
+ },
4127
+ "borderWidth": 0,
4128
+ "outerBorderGap": 0,
4129
+ "outerBorderWidth": 0
4130
+ }
4131
+ },
4051
4132
  {
4052
4133
  "if": {
4053
4134
  "inverse": true,
@@ -4192,35 +4273,40 @@
4192
4273
  }
4193
4274
  }
4194
4275
  },
4195
- {
4196
- "if": {
4197
- "compact": true
4198
- },
4199
- "tokens": {
4200
- "outerBorderGap": 0
4201
- }
4202
- },
4203
4276
  {
4204
4277
  "if": {
4205
4278
  "inactive": true,
4206
4279
  "password": true
4207
4280
  },
4208
4281
  "tokens": {
4282
+ "backgroundColor": {
4283
+ "red": 0,
4284
+ "green": 0,
4285
+ "blue": 0,
4286
+ "alpha": 0
4287
+ },
4288
+ "borderWidth": 0,
4209
4289
  "iconColor": {
4210
4290
  "red": 0.61176,
4211
4291
  "green": 0.62353,
4212
4292
  "blue": 0.66667,
4213
4293
  "alpha": 1
4214
4294
  },
4295
+ "outerBorderColor": {
4296
+ "red": 0,
4297
+ "green": 0,
4298
+ "blue": 0,
4299
+ "alpha": 0
4300
+ },
4215
4301
  "outerBorderWidth": 0
4216
4302
  }
4217
4303
  },
4218
4304
  {
4219
4305
  "if": {
4220
- "password": true
4306
+ "compact": true
4221
4307
  },
4222
4308
  "tokens": {
4223
- "outerBorderWidth": 0
4309
+ "outerBorderGap": 0
4224
4310
  }
4225
4311
  }
4226
4312
  ],
@@ -4247,6 +4333,7 @@
4247
4333
  "borderTopRightRadius": null,
4248
4334
  "borderTopWidth": 1,
4249
4335
  "borderWidth": 2,
4336
+ "height": null,
4250
4337
  "icon": "PaletteIconAdd",
4251
4338
  "iconColor": {
4252
4339
  "red": 0.38824,
@@ -4267,7 +4354,8 @@
4267
4354
  "outerBorderGap": 0,
4268
4355
  "outerBorderWidth": 0,
4269
4356
  "padding": 4,
4270
- "shadow": null
4357
+ "shadow": null,
4358
+ "width": null
4271
4359
  }
4272
4360
  },
4273
4361
  "Image": {
@@ -8707,13 +8795,13 @@
8707
8795
  "rules": [
8708
8796
  {
8709
8797
  "if": {
8710
- "pressed": true
8798
+ "selected": true
8711
8799
  },
8712
8800
  "tokens": {
8713
8801
  "backgroundColor": {
8714
- "red": 0.16863,
8715
- "green": 0.19216,
8716
- "blue": 0.27059,
8802
+ "red": 0.97647,
8803
+ "green": 0.94902,
8804
+ "blue": 0.86667,
8717
8805
  "alpha": 1
8718
8806
  },
8719
8807
  "borderColor": {
@@ -8722,23 +8810,23 @@
8722
8810
  "blue": 0.54902,
8723
8811
  "alpha": 1
8724
8812
  },
8725
- "borderWidth": 1,
8726
8813
  "color": {
8727
- "red": 1,
8728
- "green": 1,
8729
- "blue": 1,
8814
+ "red": 0.22353,
8815
+ "green": 0.25098,
8816
+ "blue": 0.33725,
8730
8817
  "alpha": 1
8731
8818
  },
8819
+ "icon": "PaletteIconXMark",
8732
8820
  "iconBackground": {
8733
- "red": 0,
8734
- "green": 0,
8735
- "blue": 0,
8736
- "alpha": 0
8821
+ "red": 0.16863,
8822
+ "green": 0.19216,
8823
+ "blue": 0.27059,
8824
+ "alpha": 1
8737
8825
  },
8738
8826
  "iconColor": {
8739
- "red": 1,
8740
- "green": 1,
8741
- "blue": 1,
8827
+ "red": 0.97647,
8828
+ "green": 0.94902,
8829
+ "blue": 0.86667,
8742
8830
  "alpha": 1
8743
8831
  },
8744
8832
  "outerBorderColor": {
@@ -8752,13 +8840,14 @@
8752
8840
  },
8753
8841
  {
8754
8842
  "if": {
8843
+ "pressed": true,
8755
8844
  "selected": true
8756
8845
  },
8757
8846
  "tokens": {
8758
8847
  "backgroundColor": {
8759
- "red": 0.22353,
8760
- "green": 0.25098,
8761
- "blue": 0.33725,
8848
+ "red": 0.16863,
8849
+ "green": 0.19216,
8850
+ "blue": 0.27059,
8762
8851
  "alpha": 1
8763
8852
  },
8764
8853
  "borderColor": {
@@ -8767,23 +8856,68 @@
8767
8856
  "blue": 0.54902,
8768
8857
  "alpha": 1
8769
8858
  },
8859
+ "borderWidth": 1,
8770
8860
  "color": {
8771
- "red": 1,
8772
- "green": 1,
8773
- "blue": 1,
8861
+ "red": 0.97647,
8862
+ "green": 0.94902,
8863
+ "blue": 0.86667,
8774
8864
  "alpha": 1
8775
8865
  },
8776
- "icon": "PaletteIconXMark",
8777
8866
  "iconBackground": {
8867
+ "red": 0.97647,
8868
+ "green": 0.94902,
8869
+ "blue": 0.86667,
8870
+ "alpha": 1
8871
+ },
8872
+ "iconColor": {
8873
+ "red": 0.16863,
8874
+ "green": 0.19216,
8875
+ "blue": 0.27059,
8876
+ "alpha": 1
8877
+ },
8878
+ "outerBorderColor": {
8778
8879
  "red": 0,
8779
8880
  "green": 0,
8780
8881
  "blue": 0,
8781
8882
  "alpha": 0
8782
8883
  },
8884
+ "outerBorderWidth": 0
8885
+ }
8886
+ },
8887
+ {
8888
+ "if": {
8889
+ "pressed": true
8890
+ },
8891
+ "tokens": {
8892
+ "backgroundColor": {
8893
+ "red": 0.16863,
8894
+ "green": 0.19216,
8895
+ "blue": 0.27059,
8896
+ "alpha": 1
8897
+ },
8898
+ "borderColor": {
8899
+ "red": 0.38824,
8900
+ "green": 0.42353,
8901
+ "blue": 0.54902,
8902
+ "alpha": 1
8903
+ },
8904
+ "borderWidth": 1,
8905
+ "color": {
8906
+ "red": 0.97647,
8907
+ "green": 0.94902,
8908
+ "blue": 0.86667,
8909
+ "alpha": 1
8910
+ },
8911
+ "iconBackground": {
8912
+ "red": 0.97647,
8913
+ "green": 0.94902,
8914
+ "blue": 0.86667,
8915
+ "alpha": 1
8916
+ },
8783
8917
  "iconColor": {
8784
- "red": 1,
8785
- "green": 1,
8786
- "blue": 1,
8918
+ "red": 0.16863,
8919
+ "green": 0.19216,
8920
+ "blue": 0.27059,
8787
8921
  "alpha": 1
8788
8922
  },
8789
8923
  "outerBorderColor": {
@@ -8820,16 +8954,16 @@
8820
8954
  "alpha": 1
8821
8955
  },
8822
8956
  "iconBackground": {
8823
- "red": 0,
8824
- "green": 0,
8825
- "blue": 0,
8826
- "alpha": 0
8827
- },
8828
- "iconColor": {
8829
8957
  "red": 0.80392,
8830
8958
  "green": 0.81176,
8831
8959
  "blue": 0.83529,
8832
8960
  "alpha": 1
8961
+ },
8962
+ "iconColor": {
8963
+ "red": 1,
8964
+ "green": 1,
8965
+ "blue": 1,
8966
+ "alpha": 1
8833
8967
  }
8834
8968
  }
8835
8969
  }
@@ -8837,9 +8971,9 @@
8837
8971
  "tokens": {
8838
8972
  "alignSelf": "center",
8839
8973
  "backgroundColor": {
8840
- "red": 0.84706,
8841
- "green": 0.8549,
8842
- "blue": 0.88627,
8974
+ "red": 0.98824,
8975
+ "green": 0.97255,
8976
+ "blue": 0.93333,
8843
8977
  "alpha": 1
8844
8978
  },
8845
8979
  "borderColor": {
@@ -8848,7 +8982,7 @@
8848
8982
  "blue": 0.54902,
8849
8983
  "alpha": 1
8850
8984
  },
8851
- "borderRadius": 8,
8985
+ "borderRadius": 32,
8852
8986
  "borderWidth": 1,
8853
8987
  "color": {
8854
8988
  "red": 0.22353,
@@ -8858,25 +8992,25 @@
8858
8992
  },
8859
8993
  "fontName": "SofiaPro",
8860
8994
  "fontSize": 18,
8861
- "fontWeight": 400,
8995
+ "fontWeight": 700,
8862
8996
  "icon": "PaletteIconAdd",
8863
8997
  "iconAlignSelf": "center",
8864
8998
  "iconBackground": {
8865
- "red": 0,
8866
- "green": 0,
8867
- "blue": 0,
8868
- "alpha": 0
8869
- },
8870
- "iconBorderRadius": 32,
8871
- "iconColor": {
8872
8999
  "red": 0.22353,
8873
9000
  "green": 0.25098,
8874
9001
  "blue": 0.33725,
8875
9002
  "alpha": 1
8876
9003
  },
9004
+ "iconBorderRadius": 48,
9005
+ "iconColor": {
9006
+ "red": 0.97647,
9007
+ "green": 0.94902,
9008
+ "blue": 0.86667,
9009
+ "alpha": 1
9010
+ },
8877
9011
  "iconPadding": 2,
8878
9012
  "iconPosition": "right",
8879
- "iconSize": 20,
9013
+ "iconSize": 16,
8880
9014
  "iconSpace": 1,
8881
9015
  "iconTranslateX": 0,
8882
9016
  "iconTranslateY": 0,
@@ -8898,8 +9032,8 @@
8898
9032
  "outerBorderGap": 2,
8899
9033
  "outerBorderWidth": 0,
8900
9034
  "paddingBottom": 10,
8901
- "paddingLeft": 16,
8902
- "paddingRight": 16,
9035
+ "paddingLeft": 11,
9036
+ "paddingRight": 11,
8903
9037
  "paddingTop": 10,
8904
9038
  "shadow": null,
8905
9039
  "textAlign": "center"
@@ -10630,8 +10764,39 @@
10630
10764
  }
10631
10765
  },
10632
10766
  "WaffleGrid": {
10633
- "appearances": {},
10634
- "rules": [],
10767
+ "appearances": {
10768
+ "viewport": {
10769
+ "description": "The size label for the current screen viewport based on the current screen width",
10770
+ "values": ["xs", "sm", "md", "lg", "xl"],
10771
+ "type": "state"
10772
+ }
10773
+ },
10774
+ "rules": [
10775
+ {
10776
+ "if": {
10777
+ "viewport": ["xs"]
10778
+ },
10779
+ "tokens": {
10780
+ "rowSize": 2
10781
+ }
10782
+ },
10783
+ {
10784
+ "if": {
10785
+ "viewport": ["sm", "md"]
10786
+ },
10787
+ "tokens": {
10788
+ "rowSize": 3
10789
+ }
10790
+ },
10791
+ {
10792
+ "if": {
10793
+ "viewport": ["lg", "xl"]
10794
+ },
10795
+ "tokens": {
10796
+ "rowSize": 6
10797
+ }
10798
+ }
10799
+ ],
10635
10800
  "tokens": {
10636
10801
  "itemBorderColor": {
10637
10802
  "red": 0,
@@ -10640,7 +10805,8 @@
10640
10805
  "alpha": 0
10641
10806
  },
10642
10807
  "itemPadding": 16,
10643
- "rowBorderWidth": 1
10808
+ "rowBorderWidth": 1,
10809
+ "rowSize": 6
10644
10810
  }
10645
10811
  },
10646
10812
  "spacingScale": {
@@ -10776,7 +10942,7 @@
10776
10942
  }
10777
10943
  },
10778
10944
  "metadata": {
10779
- "themeTokensVersion": "2.41.0",
10945
+ "themeTokensVersion": "2.41.1",
10780
10946
  "name": "theme-public-mobile"
10781
10947
  }
10782
10948
  }