@telus-uds/theme-allium 3.31.0 → 4.0.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 +1187 -916
- package/build/android/theme.json +597 -99
- package/build/ios/schema.json +1187 -916
- package/build/ios/theme.json +597 -99
- package/build/rn/schema.json +1187 -916
- package/build/rn/theme.js +213 -79
- package/package.json +5 -5
- package/theme.json +337 -87
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 Fri, 02 Jun 2023 00:26:54 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -178,60 +178,61 @@ module.exports = {
|
|
|
178
178
|
rules: [
|
|
179
179
|
{
|
|
180
180
|
if: { background: 'lightest' },
|
|
181
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
181
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
if: { background: 'lighter' },
|
|
185
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
185
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
if: { background: 'light' },
|
|
189
|
-
tokens: { backgroundColor: '#f4f4f7' }
|
|
189
|
+
tokens: { backgroundColor: '#f4f4f7', borderColor: '#f4f4f7' }
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
if: { background: 'dark' },
|
|
193
|
-
tokens: { backgroundColor: '#414547' }
|
|
193
|
+
tokens: { backgroundColor: '#414547', borderColor: '#414547' }
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
if: { background: 'darker' },
|
|
197
|
-
tokens: { backgroundColor: '#2c2e30' }
|
|
197
|
+
tokens: { backgroundColor: '#2c2e30', borderColor: '#2c2e30' }
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
if: { background: 'darkest' },
|
|
201
|
-
tokens: { backgroundColor: '#000000' }
|
|
201
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
if: { background: 'critical' },
|
|
205
|
-
tokens: { backgroundColor: '#c12335' }
|
|
205
|
+
tokens: { backgroundColor: '#c12335', borderColor: '#c12335' }
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
if: { background: 'danger' },
|
|
209
|
-
tokens: { backgroundColor: '#fff6f8' }
|
|
209
|
+
tokens: { backgroundColor: '#fff6f8', borderColor: '#fff6f8' }
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
if: { background: 'warning' },
|
|
213
|
-
tokens: { backgroundColor: '#fff9ee' }
|
|
213
|
+
tokens: { backgroundColor: '#fff9ee', borderColor: '#fff9ee' }
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
if: { background: 'positive' },
|
|
217
|
-
tokens: { backgroundColor: '#f4f9f2' }
|
|
217
|
+
tokens: { backgroundColor: '#f4f9f2', borderColor: '#f4f9f2' }
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
if: { background: 'brand' },
|
|
221
|
-
tokens: { backgroundColor: '#4b286d' }
|
|
221
|
+
tokens: { backgroundColor: '#4b286d', borderColor: '#4b286d' }
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
if: { background: 'white' },
|
|
225
|
-
tokens: { backgroundColor: '#ffffff' }
|
|
225
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
if: { background: 'black' },
|
|
229
|
-
tokens: { backgroundColor: '#000000' }
|
|
229
|
+
tokens: { backgroundColor: '#000000', borderColor: '#000000' }
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
if: { background: 'brandGradient' },
|
|
233
233
|
tokens: {
|
|
234
234
|
backgroundColor: null,
|
|
235
|
+
borderColor: null,
|
|
235
236
|
gradient: {
|
|
236
237
|
angle: 135,
|
|
237
238
|
stops: [
|
|
@@ -246,6 +247,7 @@ module.exports = {
|
|
|
246
247
|
if: { background: 'greenGradient' },
|
|
247
248
|
tokens: {
|
|
248
249
|
backgroundColor: null,
|
|
250
|
+
borderColor: null,
|
|
249
251
|
gradient: {
|
|
250
252
|
angle: 135,
|
|
251
253
|
stops: [
|
|
@@ -260,6 +262,7 @@ module.exports = {
|
|
|
260
262
|
if: { background: 'neutralGradient' },
|
|
261
263
|
tokens: {
|
|
262
264
|
backgroundColor: null,
|
|
265
|
+
borderColor: null,
|
|
263
266
|
gradient: {
|
|
264
267
|
angle: 180,
|
|
265
268
|
stops: [
|
|
@@ -274,6 +277,7 @@ module.exports = {
|
|
|
274
277
|
if: { background: 'purpleGradient' },
|
|
275
278
|
tokens: {
|
|
276
279
|
backgroundColor: null,
|
|
280
|
+
borderColor: null,
|
|
277
281
|
gradient: {
|
|
278
282
|
angle: 135,
|
|
279
283
|
stops: [
|
|
@@ -288,6 +292,7 @@ module.exports = {
|
|
|
288
292
|
if: { background: 'featurePrimary' },
|
|
289
293
|
tokens: {
|
|
290
294
|
backgroundColor: null,
|
|
295
|
+
borderColor: null,
|
|
291
296
|
gradient: {
|
|
292
297
|
angle: 135,
|
|
293
298
|
stops: [
|
|
@@ -302,6 +307,7 @@ module.exports = {
|
|
|
302
307
|
if: { background: 'featureSecondary' },
|
|
303
308
|
tokens: {
|
|
304
309
|
backgroundColor: null,
|
|
310
|
+
borderColor: null,
|
|
305
311
|
gradient: {
|
|
306
312
|
angle: 135,
|
|
307
313
|
stops: [
|
|
@@ -316,6 +322,7 @@ module.exports = {
|
|
|
316
322
|
if: { background: 'featureNeutral' },
|
|
317
323
|
tokens: {
|
|
318
324
|
backgroundColor: null,
|
|
325
|
+
borderColor: null,
|
|
319
326
|
gradient: {
|
|
320
327
|
angle: 180,
|
|
321
328
|
stops: [
|
|
@@ -330,6 +337,7 @@ module.exports = {
|
|
|
330
337
|
if: { background: 'featureBrand' },
|
|
331
338
|
tokens: {
|
|
332
339
|
backgroundColor: null,
|
|
340
|
+
borderColor: null,
|
|
333
341
|
gradient: {
|
|
334
342
|
angle: 135,
|
|
335
343
|
stops: [
|
|
@@ -341,7 +349,16 @@ module.exports = {
|
|
|
341
349
|
}
|
|
342
350
|
}
|
|
343
351
|
],
|
|
344
|
-
tokens: {
|
|
352
|
+
tokens: {
|
|
353
|
+
backgroundColor: null,
|
|
354
|
+
borderBottomLeftRadius: 0,
|
|
355
|
+
borderBottomRightRadius: 0,
|
|
356
|
+
borderColor: null,
|
|
357
|
+
borderTopLeftRadius: 0,
|
|
358
|
+
borderTopRightRadius: 0,
|
|
359
|
+
borderWidth: 0,
|
|
360
|
+
gradient: null
|
|
361
|
+
}
|
|
345
362
|
},
|
|
346
363
|
Breadcrumbs: {
|
|
347
364
|
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
@@ -714,15 +731,25 @@ module.exports = {
|
|
|
714
731
|
},
|
|
715
732
|
rules: [
|
|
716
733
|
{ if: { open: true }, tokens: { icon: PaletteIconCaretUp } },
|
|
734
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
717
735
|
{
|
|
718
|
-
if: {
|
|
736
|
+
if: { selected: true },
|
|
737
|
+
tokens: { backgroundColor: '#4b286d', iconBackground: '#7c53a5' }
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
if: { hover: true, selected: true },
|
|
741
|
+
tokens: { backgroundColor: '#7c53a5', iconBackground: '#613889' }
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
if: { pressed: true, selected: true },
|
|
745
|
+
tokens: { backgroundColor: '#3f2a54', iconBackground: '#613889' }
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
if: { focus: true, selected: true },
|
|
719
749
|
tokens: {
|
|
720
|
-
backgroundColor: '#
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
color: '#ffffff',
|
|
724
|
-
iconBackground: '#414547',
|
|
725
|
-
iconColor: '#ffffff'
|
|
750
|
+
backgroundColor: '#4b286d',
|
|
751
|
+
iconBackground: '#7c53a5',
|
|
752
|
+
outerBorderColor: '#4b286d'
|
|
726
753
|
}
|
|
727
754
|
},
|
|
728
755
|
{
|
|
@@ -734,7 +761,19 @@ module.exports = {
|
|
|
734
761
|
outerBorderWidth: 2
|
|
735
762
|
}
|
|
736
763
|
},
|
|
737
|
-
{
|
|
764
|
+
{
|
|
765
|
+
if: { pressed: true },
|
|
766
|
+
tokens: {
|
|
767
|
+
backgroundColor: '#676e73',
|
|
768
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
769
|
+
borderWidth: 0,
|
|
770
|
+
color: '#ffffff',
|
|
771
|
+
iconBackground: '#414547',
|
|
772
|
+
iconColor: '#ffffff',
|
|
773
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
774
|
+
outerBorderWidth: 0
|
|
775
|
+
}
|
|
776
|
+
},
|
|
738
777
|
{
|
|
739
778
|
if: { selected: true },
|
|
740
779
|
tokens: {
|
|
@@ -759,14 +798,21 @@ module.exports = {
|
|
|
759
798
|
},
|
|
760
799
|
{
|
|
761
800
|
if: { focus: true, pressed: true, selected: true },
|
|
762
|
-
tokens: {
|
|
801
|
+
tokens: {
|
|
802
|
+
iconBackground: '#7c53a5',
|
|
803
|
+
outerBorderColor: '#3f2a54',
|
|
804
|
+
outerBorderGap: 2,
|
|
805
|
+
outerBorderWidth: 2
|
|
806
|
+
}
|
|
763
807
|
},
|
|
764
808
|
{
|
|
765
809
|
if: { inactive: true },
|
|
766
810
|
tokens: {
|
|
767
|
-
backgroundColor: '#
|
|
811
|
+
backgroundColor: '#ffffff',
|
|
768
812
|
borderWidth: 0,
|
|
769
|
-
color: '#
|
|
813
|
+
color: '#b2b9bf',
|
|
814
|
+
iconBackground: '#f4f4f7',
|
|
815
|
+
iconColor: '#b2b9bf'
|
|
770
816
|
}
|
|
771
817
|
}
|
|
772
818
|
],
|
|
@@ -789,7 +835,7 @@ module.exports = {
|
|
|
789
835
|
iconPadding: 2,
|
|
790
836
|
iconPosition: 'right',
|
|
791
837
|
iconSize: 16,
|
|
792
|
-
iconSpace:
|
|
838
|
+
iconSpace: 1,
|
|
793
839
|
iconTranslateX: 0,
|
|
794
840
|
iconTranslateY: 0,
|
|
795
841
|
lineHeight: 1.42857142857,
|
|
@@ -1391,15 +1437,15 @@ module.exports = {
|
|
|
1391
1437
|
},
|
|
1392
1438
|
{
|
|
1393
1439
|
if: { size: 'large' },
|
|
1394
|
-
tokens: { fontSize: 20, iconSize: 24
|
|
1440
|
+
tokens: { fontSize: 20, iconSize: 24 }
|
|
1395
1441
|
},
|
|
1396
1442
|
{
|
|
1397
1443
|
if: { size: 'small' },
|
|
1398
|
-
tokens: { fontSize: 14, iconSize: 14
|
|
1444
|
+
tokens: { fontSize: 14, iconSize: 14 }
|
|
1399
1445
|
},
|
|
1400
1446
|
{
|
|
1401
1447
|
if: { size: 'micro' },
|
|
1402
|
-
tokens: { fontSize: 12, iconSize: 12
|
|
1448
|
+
tokens: { fontSize: 12, iconSize: 12 }
|
|
1403
1449
|
}
|
|
1404
1450
|
],
|
|
1405
1451
|
tokens: {
|
|
@@ -1411,8 +1457,7 @@ module.exports = {
|
|
|
1411
1457
|
leftIcon: PaletteIconArrowLeft,
|
|
1412
1458
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1413
1459
|
rightIcon: PaletteIconArrowRight,
|
|
1414
|
-
textLine: 'none'
|
|
1415
|
-
textLineHeight: 2.25
|
|
1460
|
+
textLine: 'none'
|
|
1416
1461
|
}
|
|
1417
1462
|
},
|
|
1418
1463
|
Countdown: {
|
|
@@ -1638,7 +1683,51 @@ module.exports = {
|
|
|
1638
1683
|
tokens: { icon: PaletteIconCaretUp }
|
|
1639
1684
|
}
|
|
1640
1685
|
],
|
|
1641
|
-
tokens: {
|
|
1686
|
+
tokens: {
|
|
1687
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1688
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1689
|
+
borderWidth: 0,
|
|
1690
|
+
icon: PaletteIconCaretDown,
|
|
1691
|
+
iconColor: '#2b8000',
|
|
1692
|
+
iconGap: 8,
|
|
1693
|
+
iconPaddingTop: 4,
|
|
1694
|
+
iconPosition: 'left',
|
|
1695
|
+
iconSize: 16,
|
|
1696
|
+
justifyContent: 'flex-start',
|
|
1697
|
+
paddingBottom: 0,
|
|
1698
|
+
paddingLeft: 0,
|
|
1699
|
+
paddingRight: 0,
|
|
1700
|
+
paddingTop: 0,
|
|
1701
|
+
size: 4,
|
|
1702
|
+
verticalAlign: 'top'
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
ExpandCollapseMiniPanel: {
|
|
1706
|
+
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
1707
|
+
rules: [
|
|
1708
|
+
{
|
|
1709
|
+
if: { compact: true },
|
|
1710
|
+
tokens: {
|
|
1711
|
+
contentPaddingBottom: 16,
|
|
1712
|
+
contentPaddingRight: 0,
|
|
1713
|
+
contentPaddingTop: 8
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
tokens: {
|
|
1718
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1719
|
+
borderRadius: 0,
|
|
1720
|
+
borderWidth: 0,
|
|
1721
|
+
collapseDuration: 250,
|
|
1722
|
+
contentPaddingBottom: 16,
|
|
1723
|
+
contentPaddingLeft: 0,
|
|
1724
|
+
contentPaddingRight: 0,
|
|
1725
|
+
contentPaddingTop: 0,
|
|
1726
|
+
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1727
|
+
expandDividerWidth: 0,
|
|
1728
|
+
expandDuration: 300,
|
|
1729
|
+
marginBottom: 0
|
|
1730
|
+
}
|
|
1642
1731
|
},
|
|
1643
1732
|
ExpandCollapsePanel: {
|
|
1644
1733
|
appearances: { compact: { type: 'variant', values: [ true ] } },
|
|
@@ -1663,8 +1752,8 @@ module.exports = {
|
|
|
1663
1752
|
contentPaddingRight: 0,
|
|
1664
1753
|
contentPaddingTop: 0,
|
|
1665
1754
|
expandDividerColor: 'rgba(0, 0, 0, 0)',
|
|
1755
|
+
expandDividerWidth: 0,
|
|
1666
1756
|
expandDuration: 300,
|
|
1667
|
-
expanddDividerWidth: 0,
|
|
1668
1757
|
marginBottom: 0
|
|
1669
1758
|
}
|
|
1670
1759
|
},
|
|
@@ -2264,15 +2353,11 @@ module.exports = {
|
|
|
2264
2353
|
},
|
|
2265
2354
|
{
|
|
2266
2355
|
if: { size: 'large' },
|
|
2267
|
-
tokens: { blockFontSize: 20, blockLineHeight: 1.
|
|
2356
|
+
tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
|
|
2268
2357
|
},
|
|
2269
2358
|
{
|
|
2270
2359
|
if: { size: 'small' },
|
|
2271
|
-
tokens: {
|
|
2272
|
-
blockFontSize: 14,
|
|
2273
|
-
blockLineHeight: 1.42857142857,
|
|
2274
|
-
iconSize: 20
|
|
2275
|
-
}
|
|
2360
|
+
tokens: { blockFontSize: 14, blockLineHeight: 1, iconSize: 20 }
|
|
2276
2361
|
},
|
|
2277
2362
|
{
|
|
2278
2363
|
if: { size: 'micro' },
|
|
@@ -2280,7 +2365,7 @@ module.exports = {
|
|
|
2280
2365
|
blockFontName: 'HelveticaNow',
|
|
2281
2366
|
blockFontSize: 12,
|
|
2282
2367
|
blockFontWeight: '500',
|
|
2283
|
-
blockLineHeight: 1.
|
|
2368
|
+
blockLineHeight: 1.125,
|
|
2284
2369
|
iconSize: 16
|
|
2285
2370
|
}
|
|
2286
2371
|
},
|
|
@@ -3725,15 +3810,6 @@ module.exports = {
|
|
|
3725
3810
|
radioOuterBorderWidth: 2
|
|
3726
3811
|
}
|
|
3727
3812
|
},
|
|
3728
|
-
{
|
|
3729
|
-
description: 'Pressed state matches hover state plus light grey background',
|
|
3730
|
-
if: { pressed: true },
|
|
3731
|
-
tokens: {
|
|
3732
|
-
backgroundColor: '#f4f4f7',
|
|
3733
|
-
borderColor: '#676e73',
|
|
3734
|
-
outerBorderColor: '#e3e6e8'
|
|
3735
|
-
}
|
|
3736
|
-
},
|
|
3737
3813
|
{
|
|
3738
3814
|
if: { focus: true },
|
|
3739
3815
|
tokens: {
|
|
@@ -3744,20 +3820,20 @@ module.exports = {
|
|
|
3744
3820
|
}
|
|
3745
3821
|
},
|
|
3746
3822
|
{
|
|
3747
|
-
|
|
3823
|
+
description: 'Pressed state matches hover state plus light grey background',
|
|
3824
|
+
if: { pressed: true },
|
|
3748
3825
|
tokens: {
|
|
3749
3826
|
backgroundColor: '#f4f4f7',
|
|
3750
|
-
borderColor: '
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
radioInputBorderColor: '
|
|
3827
|
+
borderColor: '#676e73',
|
|
3828
|
+
outerBorderColor: '#e3e6e8',
|
|
3829
|
+
outerBorderGap: 0,
|
|
3830
|
+
radioInputBorderColor: '#676e73',
|
|
3831
|
+
radioInputBorderWidth: 1,
|
|
3832
|
+
radioOuterBorderColor: '#e3e6e8',
|
|
3833
|
+
radioOuterBorderWidth: 3
|
|
3754
3834
|
}
|
|
3755
3835
|
},
|
|
3756
3836
|
{ if: { checked: true }, tokens: { borderColor: '#7c53a5' } },
|
|
3757
|
-
{
|
|
3758
|
-
if: { checked: true, pressed: true },
|
|
3759
|
-
tokens: { borderColor: '#4b286d' }
|
|
3760
|
-
},
|
|
3761
3837
|
{
|
|
3762
3838
|
if: { checked: true, hover: true },
|
|
3763
3839
|
tokens: { borderColor: '#4b286d' }
|
|
@@ -3769,6 +3845,21 @@ module.exports = {
|
|
|
3769
3845
|
color: '#e12339',
|
|
3770
3846
|
radioInputBorderColor: '#e12339'
|
|
3771
3847
|
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
if: { inactive: true },
|
|
3851
|
+
tokens: {
|
|
3852
|
+
backgroundColor: '#f4f4f7',
|
|
3853
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
3854
|
+
color: '#676e73',
|
|
3855
|
+
radioCheckedBackgroundColor: '#676e73',
|
|
3856
|
+
radioInputBackgroundColor: '#b2b9bf',
|
|
3857
|
+
radioInputBorderColor: 'transparent',
|
|
3858
|
+
radioInputSize: 12,
|
|
3859
|
+
radioOuterBorderColor: '#b2b9bf',
|
|
3860
|
+
radioOuterBorderGap: 2,
|
|
3861
|
+
radioOuterBorderWidth: 1
|
|
3862
|
+
}
|
|
3772
3863
|
}
|
|
3773
3864
|
],
|
|
3774
3865
|
tokens: {
|
|
@@ -3827,8 +3918,8 @@ module.exports = {
|
|
|
3827
3918
|
},
|
|
3828
3919
|
rules: [
|
|
3829
3920
|
{
|
|
3830
|
-
if: { fullWidth: null, viewport: [ 'lg', 'xl' ] },
|
|
3831
|
-
tokens: { direction: 'row', space:
|
|
3921
|
+
if: { fullWidth: null, viewport: [ 'md', 'lg', 'xl' ] },
|
|
3922
|
+
tokens: { direction: 'row', space: 5 }
|
|
3832
3923
|
}
|
|
3833
3924
|
],
|
|
3834
3925
|
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
@@ -3930,18 +4021,24 @@ module.exports = {
|
|
|
3930
4021
|
rules: [
|
|
3931
4022
|
{
|
|
3932
4023
|
if: { hover: true, inactive: null },
|
|
3933
|
-
tokens: {
|
|
3934
|
-
outerBackgroundColor: '#e3e6e8',
|
|
3935
|
-
outerBorderColor: '#e3e6e8'
|
|
3936
|
-
}
|
|
4024
|
+
tokens: { outerBorderWidth: 2 }
|
|
3937
4025
|
},
|
|
3938
4026
|
{
|
|
3939
4027
|
if: { focus: true },
|
|
3940
|
-
tokens: {
|
|
4028
|
+
tokens: {
|
|
4029
|
+
borderColor: '#7c53a5',
|
|
4030
|
+
borderWidth: 3,
|
|
4031
|
+
outerBorderWidth: 0
|
|
4032
|
+
}
|
|
3941
4033
|
},
|
|
3942
4034
|
{
|
|
3943
4035
|
if: { inactive: true },
|
|
3944
|
-
tokens: {
|
|
4036
|
+
tokens: {
|
|
4037
|
+
backgroundColor: '#f4f4f7',
|
|
4038
|
+
borderColor: '#f4f4f7',
|
|
4039
|
+
color: '#676e73',
|
|
4040
|
+
placeholderColor: '#676e73'
|
|
4041
|
+
}
|
|
3945
4042
|
}
|
|
3946
4043
|
],
|
|
3947
4044
|
tokens: {
|
|
@@ -3949,19 +4046,19 @@ module.exports = {
|
|
|
3949
4046
|
borderColor: '#676e73',
|
|
3950
4047
|
borderRadius: 32,
|
|
3951
4048
|
borderWidth: 1,
|
|
3952
|
-
buttonsGap:
|
|
4049
|
+
buttonsGap: 2,
|
|
3953
4050
|
clearButtonIcon: PaletteIconTimes,
|
|
3954
4051
|
color: '#414547',
|
|
3955
4052
|
fontName: 'HelveticaNow',
|
|
3956
4053
|
fontSize: 16,
|
|
3957
4054
|
fontWeight: '400',
|
|
3958
4055
|
lineHeight: 1.5,
|
|
3959
|
-
outerBackgroundColor: '
|
|
3960
|
-
outerBorderColor: '
|
|
4056
|
+
outerBackgroundColor: '#e3e6e8',
|
|
4057
|
+
outerBorderColor: '#e3e6e8',
|
|
3961
4058
|
outerBorderRadius: 32,
|
|
3962
|
-
outerBorderWidth:
|
|
4059
|
+
outerBorderWidth: 0,
|
|
3963
4060
|
paddingBottom: 12,
|
|
3964
|
-
paddingLeft:
|
|
4061
|
+
paddingLeft: 16,
|
|
3965
4062
|
paddingRight: 8,
|
|
3966
4063
|
paddingTop: 12,
|
|
3967
4064
|
placeholderColor: '#414547',
|
|
@@ -4025,12 +4122,19 @@ module.exports = {
|
|
|
4025
4122
|
}
|
|
4026
4123
|
},
|
|
4027
4124
|
{
|
|
4028
|
-
if: { inactive: true },
|
|
4125
|
+
if: { inactive: true, priority: 'high' },
|
|
4029
4126
|
tokens: {
|
|
4030
4127
|
backgroundColor: '#e3e6e8',
|
|
4031
4128
|
borderWidth: 0,
|
|
4032
4129
|
iconColor: '#676e73'
|
|
4033
4130
|
}
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
if: { inactive: true, priority: null },
|
|
4134
|
+
tokens: {
|
|
4135
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4136
|
+
iconColor: 'rgba(0, 0, 0, 0)'
|
|
4137
|
+
}
|
|
4034
4138
|
}
|
|
4035
4139
|
],
|
|
4036
4140
|
tokens: {
|
|
@@ -5311,7 +5415,15 @@ module.exports = {
|
|
|
5311
5415
|
description: 'Each typography variant has a default color, and at least a secondary color variant. In exceptional cases where a different colour is needed,\n' +
|
|
5312
5416
|
' use the tokens prop.',
|
|
5313
5417
|
type: 'variant',
|
|
5314
|
-
values: [
|
|
5418
|
+
values: [
|
|
5419
|
+
'default', 'brand',
|
|
5420
|
+
'dark', 'light',
|
|
5421
|
+
'positive', 'warning',
|
|
5422
|
+
'danger', 'black',
|
|
5423
|
+
'white', 'brand2',
|
|
5424
|
+
'brand3', 'alternative1',
|
|
5425
|
+
'alternative2', 'alternative3'
|
|
5426
|
+
]
|
|
5315
5427
|
},
|
|
5316
5428
|
compact: {
|
|
5317
5429
|
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
@@ -5349,25 +5461,24 @@ module.exports = {
|
|
|
5349
5461
|
}
|
|
5350
5462
|
},
|
|
5351
5463
|
rules: [
|
|
5352
|
-
{ if: { colour: 'secondary' }, tokens: { color: '#414547' } },
|
|
5353
5464
|
{
|
|
5354
5465
|
if: { size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ] },
|
|
5355
5466
|
tokens: { color: '#4b286d' }
|
|
5356
5467
|
},
|
|
5357
5468
|
{
|
|
5358
5469
|
if: {
|
|
5359
|
-
colour: '
|
|
5470
|
+
colour: 'dark',
|
|
5360
5471
|
size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ]
|
|
5361
5472
|
},
|
|
5362
5473
|
tokens: { color: '#2c2e30' }
|
|
5363
5474
|
},
|
|
5364
5475
|
{
|
|
5365
|
-
if: { colour: '
|
|
5476
|
+
if: { colour: 'light', size: 'h6' },
|
|
5366
5477
|
tokens: { color: '#676e73' }
|
|
5367
5478
|
},
|
|
5368
5479
|
{ if: { size: 'eyebrow' }, tokens: { color: '#414547' } },
|
|
5369
5480
|
{
|
|
5370
|
-
if: { colour: '
|
|
5481
|
+
if: { colour: 'dark', size: 'eyebrow' },
|
|
5371
5482
|
tokens: { color: '#7c53a5' }
|
|
5372
5483
|
},
|
|
5373
5484
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
@@ -5580,6 +5691,29 @@ module.exports = {
|
|
|
5580
5691
|
{
|
|
5581
5692
|
if: { weight: 'bold' },
|
|
5582
5693
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
5694
|
+
},
|
|
5695
|
+
{ if: { colour: 'default' }, tokens: { color: '#414547' } },
|
|
5696
|
+
{ if: { colour: 'brand' }, tokens: { color: '#4b286d' } },
|
|
5697
|
+
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
5698
|
+
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
5699
|
+
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
5700
|
+
{ if: { colour: 'warning' }, tokens: { color: '#b4872c' } },
|
|
5701
|
+
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
5702
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
5703
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
5704
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#2b8000' } },
|
|
5705
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c53a5' } },
|
|
5706
|
+
{
|
|
5707
|
+
if: { colour: 'alternative1' },
|
|
5708
|
+
tokens: { color: '#4b286d' }
|
|
5709
|
+
},
|
|
5710
|
+
{
|
|
5711
|
+
if: { colour: 'alternative2' },
|
|
5712
|
+
tokens: { color: '#4b286d' }
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
if: { colour: 'alternative3' },
|
|
5716
|
+
tokens: { color: '#4b286d' }
|
|
5583
5717
|
}
|
|
5584
5718
|
],
|
|
5585
5719
|
tokens: {
|
|
@@ -5785,5 +5919,5 @@ module.exports = {
|
|
|
5785
5919
|
tokens: { size: 96 }
|
|
5786
5920
|
}
|
|
5787
5921
|
},
|
|
5788
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
5922
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.29.0' }
|
|
5789
5923
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.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.19.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.19.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.29.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.9"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.19.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.19.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|