@telus-uds/theme-allium 0.1.0-prerelease.0 → 2.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/theme.json CHANGED
@@ -1,33 +1,29 @@
1
1
  {
2
- "metadata": {
3
- "name": "allium",
4
- "package": "@telus-uds/theme-allium"
5
- },
6
2
  "components": {
7
3
  "ActivityIndicator": {
8
4
  "appearances": {
9
5
  "size": {
10
- "values": ["large"],
11
6
  "description": "used for full-screen spinners",
12
- "type": "variant"
7
+ "type": "variant",
8
+ "values": ["large"]
13
9
  }
14
10
  },
15
- "tokens": {
16
- "size": "{palette.size.size20}",
17
- "thickness": "{palette.border.border2}",
18
- "color": "{palette.color.greenAccessible}"
19
- },
20
11
  "rules": [
21
12
  {
22
13
  "if": {
23
14
  "size": "large"
24
15
  },
25
16
  "tokens": {
26
- "thickness": "{palette.border.border4}",
27
- "size": "{palette.size.size40}"
17
+ "size": "{palette.size.size40}",
18
+ "thickness": "{palette.border.border4}"
28
19
  }
29
20
  }
30
- ]
21
+ ],
22
+ "tokens": {
23
+ "color": "{palette.color.greenAccessible}",
24
+ "size": "{palette.size.size20}",
25
+ "thickness": "{palette.border.border2}"
26
+ }
31
27
  },
32
28
  "Box": {
33
29
  "appearances": {
@@ -46,9 +42,6 @@
46
42
  ]
47
43
  }
48
44
  },
49
- "tokens": {
50
- "backgroundColor": "{system.color.none}"
51
- },
52
45
  "rules": [
53
46
  {
54
47
  "if": {
@@ -122,63 +115,41 @@
122
115
  "backgroundColor": "{palette.color.purpleTelus}"
123
116
  }
124
117
  }
125
- ]
118
+ ],
119
+ "tokens": {
120
+ "backgroundColor": "{system.color.none}"
121
+ }
126
122
  },
127
123
  "Button": {
128
124
  "appearances": {
129
- "priority": {
130
- "description": "Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.",
131
- "values": ["high"],
132
- "type": "variant"
133
- },
134
125
  "danger": {
135
126
  "description": "Indicates a user action that is destructive and will result in loss of information or cause significant monetary charges. Limit the use of the danger button whenever possible.",
136
- "values": [true],
137
- "type": "variant"
127
+ "type": "variant",
128
+ "values": [true]
138
129
  },
130
+ "focus": "{appearances.Button.focus}",
131
+ "hover": "{appearances.Button.hover}",
132
+ "inactive": "{appearances.Button.inactive}",
139
133
  "inverse": {
140
134
  "description": "Use inverse buttons on darker backgrounds. High and low priority buttons, and danger buttons, are available in inverse.",
141
- "values": [true],
142
- "type": "variant"
135
+ "type": "variant",
136
+ "values": [true]
137
+ },
138
+ "pressed": "{appearances.Button.pressed}",
139
+ "priority": {
140
+ "description": "Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.",
141
+ "type": "variant",
142
+ "values": ["high"]
143
143
  },
144
144
  "size": {
145
- "values": ["small"],
146
- "type": "variant"
145
+ "type": "variant",
146
+ "values": ["small"]
147
147
  },
148
148
  "width": {
149
149
  "description": "Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.",
150
- "values": ["full"],
151
- "type": "variant"
152
- },
153
- "hover": "{appearances.Button.hover}",
154
- "focus": "{appearances.Button.focus}",
155
- "pressed": "{appearances.Button.pressed}",
156
- "inactive": "{appearances.Button.inactive}"
157
- },
158
- "tokens": {
159
- "borderColor": "{palette.color.greenAccessible}",
160
- "borderWidth": "{palette.border.border1}",
161
- "borderRadius": "{palette.radius.pill32}",
162
- "shadow": "{system.shadow.none}",
163
- "fontSize": "{palette.fontSize.size16}",
164
- "color": "{palette.color.greenAccessible}",
165
- "lineHeight": "{palette.lineHeight.ratio3to2}",
166
- "textAlign": "{system.flexJustifyContent.center}",
167
- "alignSelf": "{system.flexAlign.flexStart}",
168
- "fontName": "{palette.fontName.HelveticaNow}",
169
- "fontWeight": "{palette.fontWeight.weight700}",
170
- "backgroundColor": "{palette.color.white}",
171
- "opacity": "{system.opacity.opaque}",
172
- "paddingLeft": "{palette.size.size32}",
173
- "paddingRight": "{palette.size.size32}",
174
- "paddingTop": "{palette.size.size12}",
175
- "paddingBottom": "{palette.size.size12}",
176
- "width": "{system.size.none}",
177
- "minWidth": "{palette.size.size144}",
178
- "outerBorderColor": "{palette.color.transparent}",
179
- "outerBorderWidth": "{palette.border.border2}",
180
- "outerBorderGap": "{palette.border.border2}",
181
- "outerBackgroundColor": "{palette.color.transparent}"
150
+ "type": "variant",
151
+ "values": ["full"]
152
+ }
182
153
  },
183
154
  "rules": [
184
155
  {
@@ -195,14 +166,14 @@
195
166
  },
196
167
  "tokens": {
197
168
  "backgroundColor": "{palette.color.greenAccessible}",
198
- "color": "{palette.color.white}",
199
- "borderWidth": "{palette.border.none}"
169
+ "borderWidth": "{palette.border.none}",
170
+ "color": "{palette.color.white}"
200
171
  }
201
172
  },
202
173
  {
203
174
  "if": {
204
- "priority": "high",
205
- "hover": true
175
+ "hover": true,
176
+ "priority": "high"
206
177
  },
207
178
  "tokens": {
208
179
  "backgroundColor": "{palette.color.greenSanFelix}"
@@ -213,8 +184,8 @@
213
184
  "pressed": true
214
185
  },
215
186
  "tokens": {
216
- "borderWidth": "{system.size.zero}",
217
187
  "backgroundColor": "{palette.color.greenDarkFern}",
188
+ "borderWidth": "{system.border.zero}",
218
189
  "color": "{palette.color.white}"
219
190
  }
220
191
  },
@@ -257,9 +228,9 @@
257
228
  },
258
229
  {
259
230
  "if": {
231
+ "hover": true,
260
232
  "inverse": true,
261
- "priority": "high",
262
- "hover": true
233
+ "priority": "high"
263
234
  },
264
235
  "tokens": {
265
236
  "backgroundColor": "{palette.color.light80}"
@@ -271,14 +242,14 @@
271
242
  "pressed": true
272
243
  },
273
244
  "tokens": {
274
- "color": "{palette.color.greyCharcoal}",
275
- "backgroundColor": "{palette.color.light60}"
245
+ "backgroundColor": "{palette.color.light60}",
246
+ "color": "{palette.color.greyCharcoal}"
276
247
  }
277
248
  },
278
249
  {
279
250
  "if": {
280
- "inverse": true,
281
- "focus": true
251
+ "focus": true,
252
+ "inverse": true
282
253
  },
283
254
  "tokens": {
284
255
  "outerBorderColor": "{palette.color.white}"
@@ -290,15 +261,15 @@
290
261
  "priority": null
291
262
  },
292
263
  "tokens": {
293
- "color": "{palette.color.red}",
294
- "borderColor": "{palette.color.red}"
264
+ "borderColor": "{palette.color.red}",
265
+ "color": "{palette.color.red}"
295
266
  }
296
267
  },
297
268
  {
298
269
  "if": {
299
270
  "danger": true,
300
- "priority": null,
301
- "inverse": true
271
+ "inverse": true,
272
+ "priority": null
302
273
  },
303
274
  "tokens": {
304
275
  "backgroundColor": "{palette.color.white}"
@@ -307,8 +278,8 @@
307
278
  {
308
279
  "if": {
309
280
  "danger": true,
310
- "priority": null,
311
- "focus": true
281
+ "focus": true,
282
+ "priority": null
312
283
  },
313
284
  "tokens": {
314
285
  "outerBorderColor": "{palette.color.red}"
@@ -317,8 +288,8 @@
317
288
  {
318
289
  "if": {
319
290
  "danger": true,
320
- "priority": null,
321
- "pressed": true
291
+ "pressed": true,
292
+ "priority": null
322
293
  },
323
294
  "tokens": {
324
295
  "backgroundColor": "{palette.color.redDark}",
@@ -328,9 +299,9 @@
328
299
  {
329
300
  "if": {
330
301
  "danger": true,
331
- "priority": null,
302
+ "focus": true,
332
303
  "pressed": true,
333
- "focus": true
304
+ "priority": null
334
305
  },
335
306
  "tokens": {
336
307
  "outerBorderColor": "{palette.color.redDark}"
@@ -349,9 +320,9 @@
349
320
  "size": "small"
350
321
  },
351
322
  "tokens": {
352
- "paddingTop": "{palette.size.size4}",
323
+ "minWidth": "{system.size.zero}",
353
324
  "paddingBottom": "{palette.size.size4}",
354
- "minWidth": "{system.size.zero}"
325
+ "paddingTop": "{palette.size.size4}"
355
326
  }
356
327
  },
357
328
  {
@@ -361,8 +332,8 @@
361
332
  },
362
333
  "tokens": {
363
334
  "backgroundColor": "{palette.color.greyCloud}",
364
- "color": "{palette.color.white}",
365
- "borderWidth": "{system.size.zero}"
335
+ "borderWidth": "{palette.border.none}",
336
+ "color": "{palette.color.white}"
366
337
  }
367
338
  },
368
339
  {
@@ -375,19 +346,37 @@
375
346
  "color": "{palette.color.greyCharcoal}"
376
347
  }
377
348
  }
378
- ]
349
+ ],
350
+ "tokens": {
351
+ "alignSelf": "{system.flexAlign.flexStart}",
352
+ "backgroundColor": "{palette.color.white}",
353
+ "borderColor": "{palette.color.greenAccessible}",
354
+ "borderRadius": "{palette.radius.pill32}",
355
+ "borderWidth": "{palette.border.border1}",
356
+ "color": "{palette.color.greenAccessible}",
357
+ "fontName": "{palette.fontName.HelveticaNow}",
358
+ "fontSize": "{palette.fontSize.size16}",
359
+ "fontWeight": "{palette.fontWeight.weight700}",
360
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
361
+ "minWidth": "{palette.size.size144}",
362
+ "opacity": "{system.opacity.opaque}",
363
+ "outerBackgroundColor": "{palette.color.transparent}",
364
+ "outerBorderColor": "{palette.color.transparent}",
365
+ "outerBorderGap": "{palette.size.size2}",
366
+ "outerBorderWidth": "{palette.border.border2}",
367
+ "paddingBottom": "{palette.size.size12}",
368
+ "paddingLeft": "{palette.size.size32}",
369
+ "paddingRight": "{palette.size.size32}",
370
+ "paddingTop": "{palette.size.size12}",
371
+ "shadow": "{system.shadow.none}",
372
+ "textAlign": "{system.flexJustifyContent.center}",
373
+ "width": "{system.size.none}"
374
+ }
379
375
  },
380
376
  "ButtonGroup": {
381
377
  "appearances": {
382
378
  "viewport": "{appearances.system.viewport}"
383
379
  },
384
- "tokens": {
385
- "space": "{system.integer.1}",
386
- "direction": "{system.direction.row}",
387
- "alignItems": "{system.flexAlign.center}",
388
- "justifyContent": "{system.flexJustifyContent.flexStart}",
389
- "flexGrow": "{system.integer.0}"
390
- },
391
380
  "rules": [
392
381
  {
393
382
  "if": {
@@ -397,40 +386,23 @@
397
386
  "space": "{system.integer.3}"
398
387
  }
399
388
  }
400
- ]
389
+ ],
390
+ "tokens": {
391
+ "alignItems": "{system.flexAlign.center}",
392
+ "direction": "{system.direction.row}",
393
+ "flexGrow": "{system.integer.0}",
394
+ "flexShrink": "{system.integer.0}",
395
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
396
+ "space": "{system.integer.1}"
397
+ }
401
398
  },
402
399
  "ButtonGroupItem": {
403
400
  "appearances": {
404
- "hover": "{appearances.ButtonGroupItem.hover}",
405
401
  "focus": "{appearances.ButtonGroupItem.focus}",
402
+ "hover": "{appearances.ButtonGroupItem.hover}",
403
+ "inactive": "{appearances.ButtonGroupItem.inactive}",
406
404
  "pressed": "{appearances.ButtonGroupItem.pressed}",
407
- "selected": "{appearances.ButtonGroupItem.selected}",
408
- "inactive": "{appearances.ButtonGroupItem.inactive}"
409
- },
410
- "tokens": {
411
- "borderColor": "{palette.color.greyCloud}",
412
- "borderWidth": "{palette.border.border1}",
413
- "borderRadius": "{palette.radius.pill32}",
414
- "shadow": "{system.shadow.none}",
415
- "fontSize": "{palette.fontSize.size14}",
416
- "color": "{palette.color.greyShuttle}",
417
- "lineHeight": "{palette.lineHeight.ratio3to2}",
418
- "textAlign": "{system.flexJustifyContent.center}",
419
- "alignSelf": "{system.flexAlign.flexStart}",
420
- "fontName": "{palette.fontName.HelveticaNow}",
421
- "fontWeight": "{palette.fontWeight.weight700}",
422
- "backgroundColor": "{palette.color.white}",
423
- "opacity": "{system.opacity.opaque}",
424
- "paddingLeft": "{palette.size.size16}",
425
- "paddingRight": "{palette.size.size16}",
426
- "paddingTop": "{palette.size.size8}",
427
- "paddingBottom": "{palette.size.size8}",
428
- "width": "{system.size.none}",
429
- "minWidth": "{system.size.zero}",
430
- "outerBorderColor": "{palette.color.transparent}",
431
- "outerBorderWidth": "{palette.border.border2}",
432
- "outerBorderGap": "{palette.border.border2}",
433
- "outerBackgroundColor": "{palette.color.transparent}"
405
+ "selected": "{appearances.ButtonGroupItem.selected}"
434
406
  },
435
407
  "rules": [
436
408
  {
@@ -438,9 +410,9 @@
438
410
  "pressed": true
439
411
  },
440
412
  "tokens": {
441
- "borderWidth": "{palette.border.none}",
442
413
  "backgroundColor": "{palette.color.greyShuttle}",
443
414
  "borderColor": "{palette.color.greyShuttle}",
415
+ "borderWidth": "{palette.border.none}",
444
416
  "color": "{palette.color.white}"
445
417
  }
446
418
  },
@@ -452,7 +424,7 @@
452
424
  "borderColor": "{palette.color.greyShuttle}",
453
425
  "outerBorderColor": "{palette.color.greyShuttle}",
454
426
  "outerBorderGap": "{palette.size.size2}",
455
- "outerBorderWidth": "{palette.size.size2}"
427
+ "outerBorderWidth": "{palette.border.border2}"
456
428
  }
457
429
  },
458
430
  {
@@ -468,15 +440,15 @@
468
440
  "selected": true
469
441
  },
470
442
  "tokens": {
471
- "borderWidth": "{palette.border.none}",
472
443
  "backgroundColor": "{palette.color.purpleTelus}",
444
+ "borderWidth": "{palette.border.none}",
473
445
  "color": "{palette.color.white}"
474
446
  }
475
447
  },
476
448
  {
477
449
  "if": {
478
- "selected": true,
479
- "hover": true
450
+ "hover": true,
451
+ "selected": true
480
452
  },
481
453
  "tokens": {
482
454
  "backgroundColor": "{palette.color.purpleDeluge}"
@@ -484,8 +456,8 @@
484
456
  },
485
457
  {
486
458
  "if": {
487
- "selected": true,
488
- "pressed": true
459
+ "pressed": true,
460
+ "selected": true
489
461
  },
490
462
  "tokens": {
491
463
  "backgroundColor": "{palette.color.purpleDark}"
@@ -493,8 +465,8 @@
493
465
  },
494
466
  {
495
467
  "if": {
496
- "selected": true,
497
- "focus": true
468
+ "focus": true,
469
+ "selected": true
498
470
  },
499
471
  "tokens": {
500
472
  "outerBorderColor": "{palette.color.purpleTelus}"
@@ -502,9 +474,9 @@
502
474
  },
503
475
  {
504
476
  "if": {
505
- "selected": true,
506
477
  "focus": true,
507
- "pressed": true
478
+ "pressed": true,
479
+ "selected": true
508
480
  },
509
481
  "tokens": {
510
482
  "outerBorderColor": "{palette.color.purpleDark}"
@@ -516,37 +488,49 @@
516
488
  },
517
489
  "tokens": {
518
490
  "backgroundColor": "{palette.color.greyCloud}",
519
- "color": "{palette.color.white}",
520
- "borderWidth": "{system.border.zero}"
491
+ "borderWidth": "{system.border.zero}",
492
+ "color": "{palette.color.white}"
521
493
  }
522
494
  }
523
- ]
495
+ ],
496
+ "tokens": {
497
+ "alignSelf": "{system.flexAlign.flexStart}",
498
+ "backgroundColor": "{palette.color.white}",
499
+ "borderColor": "{palette.color.greyCloud}",
500
+ "borderRadius": "{palette.radius.pill32}",
501
+ "borderWidth": "{palette.border.border1}",
502
+ "color": "{palette.color.greyShuttle}",
503
+ "fontName": "{palette.fontName.HelveticaNow}",
504
+ "fontSize": "{palette.fontSize.size14}",
505
+ "fontWeight": "{palette.fontWeight.weight700}",
506
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
507
+ "minWidth": "{system.size.zero}",
508
+ "opacity": "{system.opacity.opaque}",
509
+ "outerBackgroundColor": "{palette.color.transparent}",
510
+ "outerBorderColor": "{palette.color.transparent}",
511
+ "outerBorderGap": "{palette.size.size2}",
512
+ "outerBorderWidth": "{palette.border.border2}",
513
+ "paddingBottom": "{palette.size.size8}",
514
+ "paddingLeft": "{palette.size.size16}",
515
+ "paddingRight": "{palette.size.size16}",
516
+ "paddingTop": "{palette.size.size8}",
517
+ "shadow": "{system.shadow.none}",
518
+ "textAlign": "{system.flexJustifyContent.center}",
519
+ "width": "{system.size.none}"
520
+ }
524
521
  },
525
522
  "Card": {
526
523
  "appearances": {
527
524
  "background": {
528
- "values": ["alternative"],
529
- "type": "variant"
525
+ "type": "variant",
526
+ "values": ["alternative"]
530
527
  },
531
528
  "padding": {
532
- "values": ["narrow", "intermediate", "compact", "custom"],
533
- "type": "variant"
529
+ "type": "variant",
530
+ "values": ["narrow", "intermediate", "compact", "custom"]
534
531
  },
535
532
  "viewport": "{appearances.system.viewport}"
536
533
  },
537
- "tokens": {
538
- "flex": "{system.integer.1}",
539
- "backgroundColor": "{palette.color.white}",
540
- "borderColor": "{palette.color.greyMystic}",
541
- "borderRadius": "{palette.radius.radius6}",
542
- "borderWidth": "{palette.border.border1}",
543
- "paddingBottom": "{palette.size.size32}",
544
- "paddingLeft": "{palette.size.size24}",
545
- "paddingRight": "{palette.size.size24}",
546
- "paddingTop": "{palette.size.size32}",
547
- "minWidth": "{system.size.none}",
548
- "shadow": "{system.shadow.none}"
549
- },
550
534
  "rules": [
551
535
  {
552
536
  "if": {
@@ -635,7 +619,20 @@
635
619
  "paddingTop": "{palette.size.size0}"
636
620
  }
637
621
  }
638
- ]
622
+ ],
623
+ "tokens": {
624
+ "backgroundColor": "{palette.color.white}",
625
+ "borderColor": "{palette.color.greyMystic}",
626
+ "borderRadius": "{palette.radius.radius6}",
627
+ "borderWidth": "{palette.border.border1}",
628
+ "flex": "{system.integer.1}",
629
+ "minWidth": "{system.size.none}",
630
+ "paddingBottom": "{palette.size.size32}",
631
+ "paddingLeft": "{palette.size.size24}",
632
+ "paddingRight": "{palette.size.size24}",
633
+ "paddingTop": "{palette.size.size32}",
634
+ "shadow": "{system.shadow.none}"
635
+ }
639
636
  },
640
637
  "Checkbox": {
641
638
  "appearances": {
@@ -645,31 +642,6 @@
645
642
  "hover": "{appearances.Checkbox.hover}",
646
643
  "inactive": "{appearances.Checkbox.inactive}"
647
644
  },
648
- "tokens": {
649
- "containerBackgroundColor": "{palette.color.transparent}",
650
- "feedbackMarginBottom": "{system.size.zero}",
651
- "feedbackMarginTop": "{palette.size.size2}",
652
- "feedbackPosition": "{system.position.bottom}",
653
- "icon": "{palette.icon.Checkmark}",
654
- "iconBackgroundColor": "{palette.color.purpleDeluge}",
655
- "iconColor": "{palette.color.white}",
656
- "iconSize": "{palette.size.size16}",
657
- "inputBackgroundColor": "{palette.color.white}",
658
- "inputBorderColor": "{palette.color.greyShuttle}",
659
- "inputBorderRadius": "{palette.radius.radius4}",
660
- "inputBorderWidth": "{palette.border.border1}",
661
- "inputHeight": "{palette.size.size20}",
662
- "inputOutlineColor": "{system.color.none}",
663
- "inputOutlineWidth": "{palette.border.none}",
664
- "inputShadow": "{system.shadow.none}",
665
- "inputWidth": "{palette.size.size20}",
666
- "labelColor": "{palette.color.greyCharcoal}",
667
- "labelFontName": "{palette.fontName.HelveticaNow}",
668
- "labelFontSize": "{palette.fontSize.size16}",
669
- "labelFontWeight": "{palette.fontWeight.weight400}",
670
- "labelLineHeight": "{palette.lineHeight.ratio3to2}",
671
- "labelMarginLeft": "{palette.size.size10}"
672
- },
673
645
  "rules": [
674
646
  {
675
647
  "if": {
@@ -693,32 +665,56 @@
693
665
  "inactive": true
694
666
  },
695
667
  "tokens": {
696
- "inputBorderColor": "{palette.color.transparent}",
697
- "inputBackgroundColor": "{palette.color.greyMystic}",
698
668
  "iconBackgroundColor": "{palette.color.greyMystic}",
699
669
  "iconColor": "{palette.color.greyShuttle}",
670
+ "inputBackgroundColor": "{palette.color.greyMystic}",
671
+ "inputBorderColor": "{palette.color.transparent}",
700
672
  "labelColor": "{palette.color.greyShuttle}"
701
673
  }
702
674
  }
703
- ]
704
- },
705
- "CheckboxGroup": {
706
- "appearances": {},
675
+ ],
707
676
  "tokens": {
708
- "space": "{system.integer.2}",
709
- "fieldSpace": "{system.integer.2}"
710
- },
711
- "rules": []
712
- },
713
- "ChevronLink": {
714
- "appearances": {
715
- "hover": "{appearances.ChevronLink.hover}"
716
- },
677
+ "containerBackgroundColor": "{palette.color.transparent}",
678
+ "feedbackMarginBottom": "{system.size.zero}",
679
+ "feedbackMarginTop": "{palette.size.size2}",
680
+ "feedbackPosition": "{system.position.bottom}",
681
+ "icon": "{palette.icon.Checkmark}",
682
+ "iconBackgroundColor": "{palette.color.purpleDeluge}",
683
+ "iconColor": "{palette.color.white}",
684
+ "iconSize": "{palette.size.size16}",
685
+ "inputBackgroundColor": "{palette.color.white}",
686
+ "inputBorderColor": "{palette.color.greyShuttle}",
687
+ "inputBorderRadius": "{palette.radius.radius4}",
688
+ "inputBorderWidth": "{palette.border.border1}",
689
+ "inputHeight": "{palette.size.size20}",
690
+ "inputOutlineColor": "{system.color.none}",
691
+ "inputOutlineWidth": "{palette.border.none}",
692
+ "inputShadow": "{system.shadow.none}",
693
+ "inputWidth": "{palette.size.size20}",
694
+ "labelColor": "{palette.color.greyCharcoal}",
695
+ "labelFontName": "{palette.fontName.HelveticaNow}",
696
+ "labelFontSize": "{palette.fontSize.size16}",
697
+ "labelFontWeight": "{palette.fontWeight.weight400}",
698
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
699
+ "labelMarginLeft": "{palette.size.size10}"
700
+ }
701
+ },
702
+ "CheckboxGroup": {
703
+ "appearances": {},
704
+ "rules": [],
717
705
  "tokens": {
718
- "leftIcon": "{palette.icon.ArrowLeft}",
719
- "rightIcon": "{palette.icon.ArrowRight}",
720
- "iconDisplace": "{palette.size.size0}",
721
- "iconSpace": "{system.integer.0}"
706
+ "fieldSpace": "{system.integer.2}",
707
+ "space": "{system.integer.2}"
708
+ }
709
+ },
710
+ "ChevronLink": {
711
+ "appearances": {
712
+ "hover": "{appearances.ChevronLink.hover}",
713
+ "size": {
714
+ "description": "Sets the size of the text and icon; these variants are shared with Link",
715
+ "type": "variant",
716
+ "values": ["large", "small", "micro"]
717
+ }
722
718
  },
723
719
  "rules": [
724
720
  {
@@ -728,36 +724,47 @@
728
724
  "tokens": {
729
725
  "iconDisplace": "{palette.size.size4}"
730
726
  }
727
+ },
728
+ {
729
+ "if": {
730
+ "size": "large"
731
+ },
732
+ "tokens": {
733
+ "iconSize": "{palette.size.size24}"
734
+ }
731
735
  }
732
- ]
736
+ ],
737
+ "tokens": {
738
+ "iconDisplace": "{palette.size.size0}",
739
+ "iconSize": "{palette.size.size20}",
740
+ "iconSpace": "{system.integer.1}",
741
+ "leftIcon": "{palette.icon.ArrowLeft}",
742
+ "rightIcon": "{palette.icon.ArrowRight}"
743
+ }
733
744
  },
734
745
  "Divider": {
735
746
  "appearances": {
736
- "weight": {
737
- "values": ["thick"],
738
- "type": "variant"
739
- },
740
747
  "decorative": {
741
748
  "description": "Use a decorative divider to highlight an element. Non-decorative dividers are for clearly identifying separation of content.",
742
- "values": [true],
743
- "type": "variant"
749
+ "type": "variant",
750
+ "values": [true]
744
751
  },
745
752
  "inverse": {
746
- "values": [true],
747
- "type": "variant"
753
+ "type": "variant",
754
+ "values": [true]
755
+ },
756
+ "weight": {
757
+ "type": "variant",
758
+ "values": ["thick"]
748
759
  }
749
760
  },
750
- "tokens": {
751
- "width": "{palette.border.border1}",
752
- "color": "{palette.color.greyShuttle}"
753
- },
754
761
  "rules": [
755
762
  {
756
763
  "if": {
757
764
  "weight": "thick"
758
765
  },
759
766
  "tokens": {
760
- "width": "{palette.border.border2}"
767
+ "width": "{palette.size.size2}"
761
768
  }
762
769
  },
763
770
  {
@@ -776,37 +783,25 @@
776
783
  "color": "{palette.color.white}"
777
784
  }
778
785
  }
779
- ]
786
+ ],
787
+ "tokens": {
788
+ "color": "{palette.color.greyShuttle}",
789
+ "width": "{palette.size.size1}"
790
+ }
780
791
  },
781
792
  "ExpandCollapse": {
782
793
  "appearances": {},
794
+ "rules": [],
783
795
  "tokens": {
784
796
  "borderColor": "{palette.color.greyCloud}",
785
- "borderWidth": "{palette.border.border1}",
786
- "borderStyle": "{system.borderStyle.solid}"
787
- },
788
- "rules": []
797
+ "borderStyle": "{system.borderStyle.solid}",
798
+ "borderWidth": "{system.border.zero}"
799
+ }
789
800
  },
790
801
  "ExpandCollapseControl": {
791
802
  "appearances": {
792
803
  "expanded": "{appearances.ExpandCollapseControl.expanded}"
793
804
  },
794
- "tokens": {
795
- "icon": "{palette.icon.CaretDown}",
796
- "iconColor": "{palette.color.greenAccessible}",
797
- "iconSize": "{palette.size.size24}",
798
- "iconGap": "{palette.size.size8}",
799
- "iconPosition": "{system.position.left}",
800
- "verticalAlign": "{system.verticalAlign.top}",
801
- "justifyContent": "{system.flexJustifyContent.flexStart}",
802
- "paddingLeft": "{palette.size.size8}",
803
- "paddingRight": "{palette.size.size16}",
804
- "paddingTop": "{palette.size.size16}",
805
- "paddingBottom": "{palette.size.size16}",
806
- "borderWidth": "{system.border.zero}",
807
- "borderColor": "{palette.color.transparent}",
808
- "backgroundColor": "{palette.color.transparent}"
809
- },
810
805
  "rules": [
811
806
  {
812
807
  "if": {
@@ -816,48 +811,43 @@
816
811
  "icon": "{palette.icon.CaretUp}"
817
812
  }
818
813
  }
819
- ]
814
+ ],
815
+ "tokens": {
816
+ "backgroundColor": "{palette.color.transparent}",
817
+ "borderColor": "{palette.color.transparent}",
818
+ "borderWidth": "{system.border.zero}",
819
+ "icon": "{palette.icon.CaretDown}",
820
+ "iconColor": "{palette.color.greenAccessible}",
821
+ "iconGap": "{palette.size.size8}",
822
+ "iconPosition": "{system.position.left}",
823
+ "iconSize": "{palette.size.size24}",
824
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
825
+ "paddingBottom": "{palette.size.size16}",
826
+ "paddingLeft": "{palette.size.size8}",
827
+ "paddingRight": "{palette.size.size16}",
828
+ "paddingTop": "{palette.size.size16}",
829
+ "verticalAlign": "{system.verticalAlign.top}"
830
+ }
820
831
  },
821
832
  "ExpandCollapsePanel": {
822
833
  "appearances": {},
834
+ "rules": [],
823
835
  "tokens": {
824
- "expandDuration": "{palette.duration.duration300}",
825
836
  "collapseDuration": "{palette.duration.duration250}",
837
+ "contentPaddingBottom": "{palette.size.size16}",
826
838
  "contentPaddingLeft": "{palette.size.size40}",
827
839
  "contentPaddingRight": "{palette.size.size16}",
828
840
  "contentPaddingTop": "{palette.size.size0}",
829
- "contentPaddingBottom": "{palette.size.size16}"
830
- },
831
- "rules": []
841
+ "expandDuration": "{palette.duration.duration300}"
842
+ }
832
843
  },
833
844
  "Feedback": {
834
845
  "appearances": {
835
- "validation": "{appearances.Feedback.validation}",
836
846
  "icon": {
837
- "values": [true],
838
- "type": "variant"
839
- }
840
- },
841
- "tokens": {
842
- "backgroundColor": "{palette.color.greyAthens}",
843
- "borderColor": "{palette.color.greyMystic}",
844
- "borderWidth": "{palette.border.border1}",
845
- "borderRadius": "{palette.radius.radius4}",
846
- "paddingTop": "{palette.size.size12}",
847
- "paddingBottom": "{palette.size.size12}",
848
- "paddingLeft": "{palette.size.size16}",
849
- "paddingRight": "{palette.size.size16}",
850
- "space": "{system.integer.2}",
851
- "color": "{palette.color.greyThunder}",
852
- "fontName": "{palette.fontName.HelveticaNow}",
853
- "fontWeight": "{palette.fontWeight.weight400}",
854
- "lineHeight": "{palette.lineHeight.ratio3to2}",
855
- "titleFontSize": "{palette.fontSize.size16}",
856
- "contentFontSize": "{palette.fontSize.size14}",
857
- "icon": "{system.icon.none}",
858
- "iconSize": "{palette.fontSize.size24}",
859
- "iconColor": "{palette.color.transparent}",
860
- "iconGap": "{palette.size.size8}"
847
+ "type": "variant",
848
+ "values": [true]
849
+ },
850
+ "validation": "{appearances.Feedback.validation}"
861
851
  },
862
852
  "rules": [
863
853
  {
@@ -882,8 +872,8 @@
882
872
  },
883
873
  {
884
874
  "if": {
885
- "validation": "success",
886
- "icon": true
875
+ "icon": true,
876
+ "validation": "success"
887
877
  },
888
878
  "tokens": {
889
879
  "icon": "{palette.icon.StatusSuccess}",
@@ -892,34 +882,85 @@
892
882
  },
893
883
  {
894
884
  "if": {
895
- "validation": "error",
896
- "icon": true
885
+ "icon": true,
886
+ "validation": "error"
897
887
  },
898
888
  "tokens": {
899
889
  "icon": "{palette.icon.StatusError}",
900
890
  "iconColor": "{palette.color.red}"
901
891
  }
902
892
  }
903
- ]
893
+ ],
894
+ "tokens": {
895
+ "backgroundColor": "{palette.color.greyAthens}",
896
+ "borderColor": "{palette.color.greyMystic}",
897
+ "borderRadius": "{palette.radius.radius4}",
898
+ "borderWidth": "{palette.border.border1}",
899
+ "color": "{palette.color.greyThunder}",
900
+ "contentFontSize": "{palette.fontSize.size14}",
901
+ "fontName": "{palette.fontName.HelveticaNow}",
902
+ "fontWeight": "{palette.fontWeight.weight400}",
903
+ "icon": "{system.icon.none}",
904
+ "iconColor": "{palette.color.transparent}",
905
+ "iconGap": "{palette.size.size8}",
906
+ "iconSize": "{palette.size.size24}",
907
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
908
+ "paddingBottom": "{palette.size.size12}",
909
+ "paddingLeft": "{palette.size.size16}",
910
+ "paddingRight": "{palette.size.size16}",
911
+ "paddingTop": "{palette.size.size12}",
912
+ "space": "{system.integer.2}",
913
+ "titleFontSize": "{palette.fontSize.size16}"
914
+ }
915
+ },
916
+ "HorizontalScrollButton": {
917
+ "appearances": {
918
+ "focus": "{appearances.HorizontalScrollButton.focus}",
919
+ "hover": "{appearances.HorizontalScrollButton.hover}",
920
+ "pressed": "{appearances.HorizontalScrollButton.pressed}"
921
+ },
922
+ "rules": [
923
+ {
924
+ "if": {
925
+ "hover": true
926
+ },
927
+ "tokens": {
928
+ "borderColor": "{palette.color.greyCharcoal}",
929
+ "iconColor": "{palette.color.greyCharcoal}"
930
+ }
931
+ },
932
+ {
933
+ "if": {
934
+ "pressed": true
935
+ },
936
+ "tokens": {
937
+ "backgroundColor": "{palette.color.greyShuttle}",
938
+ "iconColor": "{palette.color.white}"
939
+ }
940
+ }
941
+ ],
942
+ "tokens": {
943
+ "backgroundColor": "{palette.color.white}",
944
+ "borderColor": "{palette.color.greyCloud}",
945
+ "borderRadius": "{palette.radius.pill32}",
946
+ "borderWidth": "{palette.border.border1}",
947
+ "iconColor": "{palette.color.greyShuttle}",
948
+ "iconSize": "{palette.size.size32}",
949
+ "padding": "{system.size.zero}",
950
+ "shadow": "{palette.shadow.surfaceRaised}"
951
+ }
904
952
  },
905
953
  "Icon": {
906
954
  "appearances": {
907
- "size": {
908
- "values": ["small"],
909
- "type": "variant"
910
- },
911
955
  "rank": {
912
- "values": ["primary"],
913
- "type": "variant"
956
+ "type": "variant",
957
+ "values": ["primary"]
958
+ },
959
+ "size": {
960
+ "type": "variant",
961
+ "values": ["small"]
914
962
  }
915
963
  },
916
- "tokens": {
917
- "size": "{palette.size.size24}",
918
- "color": "{palette.color.greyCharcoal}",
919
- "translateX": "{system.size.zero}",
920
- "translateY": "{system.size.zero}",
921
- "scale": "{system.integer.1}"
922
- },
923
964
  "rules": [
924
965
  {
925
966
  "if": {
@@ -937,18 +978,25 @@
937
978
  "color": "{palette.color.purpleTelus}"
938
979
  }
939
980
  }
940
- ]
981
+ ],
982
+ "tokens": {
983
+ "color": "{palette.color.greyCharcoal}",
984
+ "scale": "{system.integer.1}",
985
+ "size": "{palette.size.size24}",
986
+ "translateX": "{system.size.zero}",
987
+ "translateY": "{system.size.zero}"
988
+ }
941
989
  },
942
990
  "IconButton": {
943
991
  "appearances": {
944
- "hover": "{appearances.IconButton.hover}",
945
992
  "focus": "{appearances.IconButton.focus}",
946
- "pressed": "{appearances.IconButton.pressed}",
993
+ "hover": "{appearances.IconButton.hover}",
947
994
  "inverse": {
948
995
  "description": "For use on dark backgrounds",
949
996
  "type": "variant",
950
997
  "values": [true]
951
998
  },
999
+ "pressed": "{appearances.IconButton.pressed}",
952
1000
  "raised": {
953
1001
  "description": "Uses shadow and background colour to appear raised above the page",
954
1002
  "type": "variant",
@@ -959,30 +1007,14 @@
959
1007
  "values": ["small", "large"]
960
1008
  }
961
1009
  },
962
- "tokens": {
963
- "outerBorderWidth": "{system.border.zero}",
964
- "outerBorderColor": "{system.color.transparent}",
965
- "outerBorderGap": "{system.size.zero}",
966
- "backgroundColor": "{system.color.transparent}",
967
- "shadow": "{system.shadow.none}",
968
- "padding": "{palette.size.size8}",
969
- "borderRadius": "{system.radius.round}",
970
- "borderWidth": "{palette.border.border1}",
971
- "borderColor": "{palette.color.greyShuttle}",
972
- "iconColor": "{palette.color.greyShuttle}",
973
- "iconSize": "{palette.size.size16}",
974
- "iconScale": "{system.iconScale.scale1}",
975
- "iconTranslateX": "{system.size.zero}",
976
- "iconTranslateY": "{system.size.zero}"
977
- },
978
1010
  "rules": [
979
1011
  {
980
1012
  "if": {
981
1013
  "inverse": true
982
1014
  },
983
1015
  "tokens": {
984
- "iconColor": "{palette.color.white}",
985
- "borderColor": "{palette.color.white}"
1016
+ "borderColor": "{palette.color.white}",
1017
+ "iconColor": "{palette.color.white}"
986
1018
  }
987
1019
  },
988
1020
  {
@@ -1010,9 +1042,9 @@
1010
1042
  "focus": true
1011
1043
  },
1012
1044
  "tokens": {
1013
- "outerBorderWidth": "{palette.border.border1}",
1014
1045
  "outerBorderColor": "{palette.color.greyShuttle}",
1015
- "outerBorderGap": "{palette.size.size4}"
1046
+ "outerBorderGap": "{palette.size.size4}",
1047
+ "outerBorderWidth": "{palette.border.border1}"
1016
1048
  }
1017
1049
  },
1018
1050
  {
@@ -1021,10 +1053,10 @@
1021
1053
  "inverse": true
1022
1054
  },
1023
1055
  "tokens": {
1024
- "outerBorderWidth": "{system.border.zero}",
1056
+ "backgroundColor": "{palette.color.light60}",
1025
1057
  "borderColor": "{palette.color.greyCharcoal}",
1026
1058
  "iconColor": "{palette.color.greyCharcoal}",
1027
- "backgroundColor": "{palette.color.light60}"
1059
+ "outerBorderWidth": "{system.border.zero}"
1028
1060
  }
1029
1061
  },
1030
1062
  {
@@ -1032,21 +1064,21 @@
1032
1064
  "pressed": true
1033
1065
  },
1034
1066
  "tokens": {
1067
+ "backgroundColor": "{palette.color.greyShuttle}",
1035
1068
  "borderColor": "{palette.color.white}",
1036
1069
  "iconColor": "{palette.color.white}",
1037
- "backgroundColor": "{palette.color.greyShuttle}",
1038
1070
  "outerBorderGap": "{palette.size.size4}"
1039
1071
  }
1040
1072
  },
1041
1073
  {
1042
1074
  "if": {
1043
- "pressed": true,
1044
- "inverse": true
1075
+ "inverse": true,
1076
+ "pressed": true
1045
1077
  },
1046
1078
  "tokens": {
1079
+ "backgroundColor": "{palette.color.light40}",
1047
1080
  "borderColor": "{palette.color.greyShuttle}",
1048
- "iconColor": "{palette.color.greyShuttle}",
1049
- "backgroundColor": "{palette.color.light40}"
1081
+ "iconColor": "{palette.color.greyShuttle}"
1050
1082
  }
1051
1083
  },
1052
1084
  {
@@ -1067,19 +1099,19 @@
1067
1099
  }
1068
1100
  },
1069
1101
  {
1102
+ "description": "Raised IconButtons follow different design patterns to other variants",
1070
1103
  "if": {
1071
1104
  "raised": true
1072
1105
  },
1073
- "description": "Raised IconButtons follow different design patterns to other variants",
1074
1106
  "tokens": {
1075
1107
  "backgroundColor": "{palette.color.white}",
1076
- "borderWidth": "{palette.border.border1}",
1077
1108
  "borderColor": "{palette.color.greyCloud}",
1078
- "shadow": "{palette.shadow.surfaceRaised}",
1079
- "padding": "{palette.size.size12}",
1080
- "outerBorderWidth": "{system.border.zero}",
1109
+ "borderWidth": "{palette.border.border1}",
1081
1110
  "outerBorderColor": "{system.color.transparent}",
1082
- "outerBorderGap": "{system.size.zero}"
1111
+ "outerBorderGap": "{system.size.zero}",
1112
+ "outerBorderWidth": "{system.border.zero}",
1113
+ "padding": "{palette.size.size12}",
1114
+ "shadow": "{palette.shadow.surfaceRaised}"
1083
1115
  }
1084
1116
  },
1085
1117
  {
@@ -1102,8 +1134,8 @@
1102
1134
  },
1103
1135
  {
1104
1136
  "if": {
1105
- "raised": true,
1106
- "pressed": true
1137
+ "pressed": true,
1138
+ "raised": true
1107
1139
  },
1108
1140
  "tokens": {
1109
1141
  "backgroundColor": "{palette.color.greyShuttle}",
@@ -1112,9 +1144,9 @@
1112
1144
  },
1113
1145
  {
1114
1146
  "if": {
1115
- "raised": true,
1147
+ "focus": true,
1116
1148
  "pressed": true,
1117
- "focus": true
1149
+ "raised": true
1118
1150
  },
1119
1151
  "tokens": {
1120
1152
  "backgroundColor": "{palette.color.purpleTelus}",
@@ -1141,78 +1173,74 @@
1141
1173
  "borderWidth": "{palette.border.border3}"
1142
1174
  }
1143
1175
  }
1144
- ]
1176
+ ],
1177
+ "tokens": {
1178
+ "backgroundColor": "{system.color.transparent}",
1179
+ "borderColor": "{palette.color.greyShuttle}",
1180
+ "borderRadius": "{system.radius.round}",
1181
+ "borderWidth": "{palette.border.border1}",
1182
+ "iconColor": "{palette.color.greyShuttle}",
1183
+ "iconScale": "{system.iconScale.scale1}",
1184
+ "iconSize": "{palette.size.size16}",
1185
+ "iconTranslateX": "{system.size.zero}",
1186
+ "iconTranslateY": "{system.size.zero}",
1187
+ "outerBorderColor": "{system.color.transparent}",
1188
+ "outerBorderGap": "{system.size.zero}",
1189
+ "outerBorderWidth": "{system.border.zero}",
1190
+ "padding": "{palette.size.size8}",
1191
+ "shadow": "{system.shadow.none}"
1192
+ }
1145
1193
  },
1146
1194
  "InputLabel": {
1147
1195
  "appearances": {},
1196
+ "rules": [],
1148
1197
  "tokens": {
1149
- "gap": "{palette.size.size8}",
1150
1198
  "color": "{palette.color.greyCharcoal}",
1151
1199
  "fontName": "{palette.fontName.HelveticaNow}",
1152
- "fontWeight": "{palette.fontWeight.weight700}",
1153
1200
  "fontSize": "{palette.fontSize.size16}",
1154
- "lineHeight": "{palette.lineHeight.ratio3to2}",
1201
+ "fontWeight": "{palette.fontWeight.weight700}",
1202
+ "gap": "{palette.size.size8}",
1155
1203
  "hintColor": "{palette.color.greyCharcoal}",
1156
1204
  "hintFontName": "{palette.fontName.HelveticaNow}",
1157
- "hintFontWeight": "{palette.fontWeight.weight400}",
1158
1205
  "hintFontSize": "{palette.fontSize.size14}",
1159
- "hintLineHeight": "{palette.lineHeight.ratio7to5}"
1160
- },
1161
- "rules": []
1206
+ "hintFontWeight": "{palette.fontWeight.weight400}",
1207
+ "hintLineHeight": "{palette.lineHeight.ratio7to5}",
1208
+ "lineHeight": "{palette.lineHeight.ratio3to2}"
1209
+ }
1162
1210
  },
1163
1211
  "InputSupports": {
1164
1212
  "appearances": {},
1213
+ "rules": [],
1165
1214
  "tokens": {
1166
1215
  "space": "{system.integer.1}"
1167
- },
1168
- "rules": []
1216
+ }
1169
1217
  },
1170
1218
  "Link": {
1171
1219
  "appearances": {
1172
- "size": {
1173
- "description": "Text sizes for block links; similar but not always identical to Typography sizes.",
1174
- "values": ["large", "small", "micro"],
1175
- "type": "variant"
1176
- },
1177
1220
  "alternative": {
1178
1221
  "description": "Replaces the default green colour with a more subtle grey.",
1179
- "values": [true],
1180
- "type": "variant"
1222
+ "type": "variant",
1223
+ "values": [true]
1181
1224
  },
1225
+ "focus": "{appearances.Link.focus}",
1226
+ "hover": "{appearances.Link.hover}",
1227
+ "iconPosition": "{appearances.Link.iconPosition}",
1182
1228
  "inverse": {
1183
1229
  "description": "Styles the link white for use on dark backgrounds.",
1184
- "values": [true],
1185
- "type": "variant"
1230
+ "type": "variant",
1231
+ "values": [true]
1186
1232
  },
1187
1233
  "light": {
1188
1234
  "description": "A lighter grey variant, used to lower the emphasis on a given Link (e.g. in Breadcrumbs)",
1189
- "values": [true],
1190
- "type": "variant"
1235
+ "type": "variant",
1236
+ "values": [true]
1191
1237
  },
1192
- "iconPosition": "{appearances.Link.iconPosition}",
1193
- "focus": "{appearances.Link.focus}",
1194
- "hover": "{appearances.Link.hover}",
1195
- "pressed": "{appearances.Link.pressed}"
1196
- },
1197
- "tokens": {
1198
- "color": "{palette.color.greenAccessible}",
1199
- "textLine": "{system.textLine.underline}",
1200
- "textLineStyle": "{system.textLineStyle.solid}",
1201
- "outerBorderColor": "{palette.color.transparent}",
1202
- "outerBorderWidth": "{palette.border.border2}",
1203
- "outerBorderGap": "{palette.border.border2}",
1204
- "borderRadius": "{palette.radius.radius4}",
1205
- "outerBorderOutline": "{system.borderStyle.none}",
1206
- "blockFontWeight": "{palette.fontWeight.weight400}",
1207
- "blockFontName": "{palette.fontName.HelveticaNow}",
1208
- "blockFontSize": "{palette.fontSize.size16}",
1209
- "blockLineHeight": "{palette.lineHeight.ratio3to2}",
1210
- "alignSelf": "{system.flexAlign.flexStart}",
1211
- "icon": "{system.icon.none}",
1212
- "iconSize": "{palette.fontSize.size24}",
1213
- "iconSpace": "{system.integer.1}",
1214
- "iconTranslateX": "{system.size.zero}",
1215
- "iconTranslateY": "{system.size.zero}"
1238
+ "pressed": "{appearances.Link.pressed}",
1239
+ "size": {
1240
+ "description": "Text sizes for block links; similar but not always identical to Typography sizes.",
1241
+ "type": "variant",
1242
+ "values": ["large", "small", "micro"]
1243
+ }
1216
1244
  },
1217
1245
  "rules": [
1218
1246
  {
@@ -1237,8 +1265,8 @@
1237
1265
  "hover": true
1238
1266
  },
1239
1267
  "tokens": {
1240
- "textLine": "{system.textLine.none}",
1241
- "color": "{palette.color.greenSanFelix}"
1268
+ "color": "{palette.color.greenSanFelix}",
1269
+ "textLine": "{system.textLine.none}"
1242
1270
  }
1243
1271
  },
1244
1272
  {
@@ -1246,14 +1274,14 @@
1246
1274
  "pressed": true
1247
1275
  },
1248
1276
  "tokens": {
1249
- "textLine": "{system.textLine.none}",
1250
- "color": "{palette.color.greenDarkFern}"
1277
+ "color": "{palette.color.greenDarkFern}",
1278
+ "textLine": "{system.textLine.none}"
1251
1279
  }
1252
1280
  },
1253
1281
  {
1254
1282
  "if": {
1255
- "pressed": true,
1256
- "focus": true
1283
+ "focus": true,
1284
+ "pressed": true
1257
1285
  },
1258
1286
  "tokens": {
1259
1287
  "outerBorderColor": "{palette.color.greenDarkFern}"
@@ -1265,8 +1293,8 @@
1265
1293
  },
1266
1294
  "tokens": {
1267
1295
  "blockFontSize": "{palette.fontSize.size20}",
1268
- "iconSize": "{palette.fontSize.size24}",
1269
- "blockLineHeight": "{palette.lineHeight.ratio8to5}"
1296
+ "blockLineHeight": "{palette.lineHeight.ratio8to5}",
1297
+ "iconSize": "{palette.size.size24}"
1270
1298
  }
1271
1299
  },
1272
1300
  {
@@ -1275,8 +1303,8 @@
1275
1303
  },
1276
1304
  "tokens": {
1277
1305
  "blockFontSize": "{palette.fontSize.size14}",
1278
- "iconSize": "{palette.fontSize.size20}",
1279
- "blockLineHeight": "{palette.lineHeight.ratio10to7}"
1306
+ "blockLineHeight": "{palette.lineHeight.ratio10to7}",
1307
+ "iconSize": "{palette.size.size20}"
1280
1308
  }
1281
1309
  },
1282
1310
  {
@@ -1284,11 +1312,11 @@
1284
1312
  "size": "micro"
1285
1313
  },
1286
1314
  "tokens": {
1315
+ "blockFontName": "{palette.fontName.HelveticaNow}",
1287
1316
  "blockFontSize": "{palette.fontSize.size12}",
1288
1317
  "blockFontWeight": "{palette.fontWeight.weight500}",
1289
- "blockFontName": "{palette.fontName.HelveticaNow}",
1290
- "iconSize": "{palette.fontSize.size16}",
1291
- "blockLineHeight": "{palette.lineHeight.ratio4to3}"
1318
+ "blockLineHeight": "{palette.lineHeight.ratio4to3}",
1319
+ "iconSize": "{palette.size.size16}"
1292
1320
  }
1293
1321
  },
1294
1322
  {
@@ -1337,8 +1365,8 @@
1337
1365
  },
1338
1366
  {
1339
1367
  "if": {
1340
- "inverse": true,
1341
- "hover": true
1368
+ "hover": true,
1369
+ "inverse": true
1342
1370
  },
1343
1371
  "tokens": {
1344
1372
  "color": "{palette.color.greyAthens}"
@@ -1346,8 +1374,8 @@
1346
1374
  },
1347
1375
  {
1348
1376
  "if": {
1349
- "inverse": true,
1350
- "focus": true
1377
+ "focus": true,
1378
+ "inverse": true
1351
1379
  },
1352
1380
  "tokens": {
1353
1381
  "outerBorderColor": "{palette.color.white}",
@@ -1365,9 +1393,9 @@
1365
1393
  },
1366
1394
  {
1367
1395
  "if": {
1396
+ "focus": true,
1368
1397
  "inverse": true,
1369
- "pressed": true,
1370
- "focus": true
1398
+ "pressed": true
1371
1399
  },
1372
1400
  "tokens": {
1373
1401
  "color": "{palette.color.greyMystic}",
@@ -1384,8 +1412,8 @@
1384
1412
  },
1385
1413
  {
1386
1414
  "if": {
1387
- "light": true,
1388
- "focus": true
1415
+ "focus": true,
1416
+ "light": true
1389
1417
  },
1390
1418
  "tokens": {
1391
1419
  "color": "{palette.color.greyShuttle}",
@@ -1394,47 +1422,49 @@
1394
1422
  },
1395
1423
  {
1396
1424
  "if": {
1397
- "light": true,
1398
- "hover": true
1425
+ "hover": true,
1426
+ "light": true
1399
1427
  },
1400
1428
  "tokens": {
1401
1429
  "color": "{palette.color.greyCharcoal}",
1402
1430
  "textLine": "{system.textLine.none}"
1403
1431
  }
1404
1432
  }
1405
- ]
1433
+ ],
1434
+ "tokens": {
1435
+ "alignSelf": "{system.flexAlign.flexStart}",
1436
+ "blockFontName": "{palette.fontName.HelveticaNow}",
1437
+ "blockFontSize": "{palette.fontSize.size16}",
1438
+ "blockFontWeight": "{palette.fontWeight.weight400}",
1439
+ "blockLineHeight": "{palette.lineHeight.ratio3to2}",
1440
+ "borderRadius": "{palette.radius.radius4}",
1441
+ "color": "{palette.color.greenAccessible}",
1442
+ "icon": "{system.icon.none}",
1443
+ "iconSize": "{palette.size.size24}",
1444
+ "iconSpace": "{system.integer.1}",
1445
+ "iconTranslateX": "{system.size.zero}",
1446
+ "iconTranslateY": "{system.size.zero}",
1447
+ "outerBorderColor": "{palette.color.transparent}",
1448
+ "outerBorderGap": "{palette.size.size2}",
1449
+ "outerBorderOutline": "{system.borderStyle.none}",
1450
+ "outerBorderWidth": "{palette.border.border2}",
1451
+ "textLine": "{system.textLine.underline}",
1452
+ "textLineStyle": "{system.textLineStyle.solid}"
1453
+ }
1406
1454
  },
1407
1455
  "List": {
1408
1456
  "appearances": {
1409
- "size": {
1410
- "description": "Indicates list item text size.",
1411
- "values": ["large", "small"],
1412
- "type": "variant"
1413
- },
1414
1457
  "compact": {
1415
1458
  "description": "When true it will reduce the line height of the list item.",
1416
- "values": [true],
1417
- "type": "variant"
1459
+ "type": "variant",
1460
+ "values": [true]
1461
+ },
1462
+ "size": {
1463
+ "description": "Indicates list item text size.",
1464
+ "type": "variant",
1465
+ "values": ["large", "small"]
1418
1466
  }
1419
1467
  },
1420
- "tokens": {
1421
- "itemFontWeight": "{palette.fontWeight.weight400}",
1422
- "itemFontSize": "{palette.fontSize.size16}",
1423
- "itemLineHeight": "{palette.lineHeight.ratio3to2}",
1424
- "itemFontName": "{palette.fontName.HelveticaNow}",
1425
- "interItemMargin": "{palette.size.size8}",
1426
- "interItemMarginWithDivider": "{palette.size.size16}",
1427
- "dividerColor": "{palette.color.greyCloud}",
1428
- "dividerSize": "{palette.border.border1}",
1429
- "itemBulletContainerWidth": "{palette.size.size16}",
1430
- "itemBulletContainerAlign": "{system.textAlign.center}",
1431
- "itemBulletWidth": "{palette.size.size4}",
1432
- "itemBulletHeight": "{palette.size.size4}",
1433
- "itemBulletColor": "{palette.color.purpleTelus}",
1434
- "itemIconSize": "{palette.size.size16}",
1435
- "itemIconColor": "{palette.color.purpleTelus}",
1436
- "listGutter": "{palette.size.size12}"
1437
- },
1438
1468
  "rules": [
1439
1469
  {
1440
1470
  "if": {
@@ -1482,33 +1512,32 @@
1482
1512
  "itemLineHeight": "{palette.lineHeight.ratio6to5}"
1483
1513
  }
1484
1514
  }
1485
- ]
1515
+ ],
1516
+ "tokens": {
1517
+ "dividerColor": "{palette.color.greyCloud}",
1518
+ "dividerSize": "{palette.border.border1}",
1519
+ "iconMarginTop": "{palette.size.size4}",
1520
+ "interItemMargin": "{palette.size.size8}",
1521
+ "interItemMarginWithDivider": "{palette.size.size16}",
1522
+ "itemBulletColor": "{palette.color.purpleTelus}",
1523
+ "itemBulletContainerAlign": "{system.textAlign.center}",
1524
+ "itemBulletContainerWidth": "{palette.size.size16}",
1525
+ "itemBulletHeight": "{palette.size.size4}",
1526
+ "itemBulletWidth": "{palette.size.size4}",
1527
+ "itemFontName": "{palette.fontName.HelveticaNow}",
1528
+ "itemFontSize": "{palette.fontSize.size16}",
1529
+ "itemFontWeight": "{palette.fontWeight.weight400}",
1530
+ "itemIconColor": "{palette.color.purpleTelus}",
1531
+ "itemIconSize": "{palette.size.size16}",
1532
+ "itemLineHeight": "{palette.lineHeight.ratio3to2}",
1533
+ "listGutter": "{palette.size.size16}"
1534
+ }
1486
1535
  },
1487
1536
  "Modal": {
1488
1537
  "appearances": {
1489
1538
  "maxWidth": "{appearances.Modal.maxWidth}",
1490
1539
  "viewport": "{appearances.system.viewport}"
1491
1540
  },
1492
- "tokens": {
1493
- "backdropColor": "{palette.color.bgModal}",
1494
- "backdropOpacity": "{system.opacity.opaque}",
1495
- "height": "{system.size.none}",
1496
- "maxWidth": "{system.size.full}",
1497
- "containerPaddingLeft": "{system.size.zero}",
1498
- "containerPaddingRight": "{system.size.zero}",
1499
- "containerPaddingTop": "{system.size.zero}",
1500
- "containerPaddingBottom": "{system.size.zero}",
1501
- "backgroundColor": "{palette.color.white}",
1502
- "borderRadius": "{palette.radius.radius4}",
1503
- "shadow": "{palette.shadow.elevation1}",
1504
- "paddingLeft": "{palette.size.size24}",
1505
- "paddingRight": "{palette.size.size24}",
1506
- "paddingTop": "{palette.size.size24}",
1507
- "paddingBottom": "{palette.size.size24}",
1508
- "closeIcon": "{palette.icon.Close}",
1509
- "closeIconSize": "{palette.size.size24}",
1510
- "closeIconColor": "{palette.color.greyCharcoal}"
1511
- },
1512
1541
  "rules": [
1513
1542
  {
1514
1543
  "if": {
@@ -1523,54 +1552,48 @@
1523
1552
  "viewport": ["md", "lg", "xl"]
1524
1553
  },
1525
1554
  "tokens": {
1526
- "maxWidth": "{system.integer.576}",
1555
+ "containerPaddingBottom": "{palette.size.size32}",
1527
1556
  "containerPaddingTop": "{palette.size.size32}",
1528
- "containerPaddingBottom": "{palette.size.size32}"
1557
+ "maxWidth": "{system.size.viewportSm}"
1529
1558
  }
1530
1559
  },
1531
1560
  {
1532
1561
  "if": {
1533
- "viewport": ["md", "lg", "xl"],
1534
- "maxWidth": true
1562
+ "maxWidth": true,
1563
+ "viewport": ["md", "lg", "xl"]
1535
1564
  },
1536
1565
  "tokens": {
1537
- "maxWidth": "{system.size.twoThirds}",
1538
1566
  "containerPaddingLeft": "{palette.size.size16}",
1539
- "containerPaddingRight": "{palette.size.size16}"
1567
+ "containerPaddingRight": "{palette.size.size16}",
1568
+ "maxWidth": "{system.size.twoThirds}"
1540
1569
  }
1541
1570
  }
1542
- ]
1571
+ ],
1572
+ "tokens": {
1573
+ "backdropColor": "{palette.color.bgModal}",
1574
+ "backdropOpacity": "{system.opacity.opaque}",
1575
+ "backgroundColor": "{palette.color.white}",
1576
+ "borderRadius": "{palette.radius.radius4}",
1577
+ "closeIcon": "{palette.icon.Close}",
1578
+ "closeIconColor": "{palette.color.greyCharcoal}",
1579
+ "closeIconSize": "{palette.size.size24}",
1580
+ "containerPaddingBottom": "{system.size.zero}",
1581
+ "containerPaddingLeft": "{system.size.zero}",
1582
+ "containerPaddingRight": "{system.size.zero}",
1583
+ "containerPaddingTop": "{system.size.zero}",
1584
+ "height": "{system.size.none}",
1585
+ "maxWidth": "{system.size.full}",
1586
+ "paddingBottom": "{palette.size.size24}",
1587
+ "paddingLeft": "{palette.size.size24}",
1588
+ "paddingRight": "{palette.size.size24}",
1589
+ "paddingTop": "{palette.size.size24}",
1590
+ "shadow": "{palette.shadow.elevation1}"
1591
+ }
1543
1592
  },
1544
1593
  "Notification": {
1545
1594
  "appearances": {
1546
- "system": "{appearances.Notification.system}",
1547
- "style": "{appearances.Notification.style}"
1548
- },
1549
- "tokens": {
1550
- "backgroundColor": "{palette.color.greyAthens}",
1551
- "borderBottomWidth": "{palette.border.border1}",
1552
- "borderTopWidth": "{palette.border.border1}",
1553
- "borderLeftWidth": "{palette.border.border1}",
1554
- "borderRightWidth": "{palette.border.border1}",
1555
- "borderColor": "{palette.color.greyShuttle}",
1556
- "borderRadius": "{palette.radius.radius6}",
1557
- "paddingTop": "{palette.size.size12}",
1558
- "paddingBottom": "{palette.size.size12}",
1559
- "paddingLeft": "{palette.size.size12}",
1560
- "paddingRight": "{palette.size.size12}",
1561
- "color": "{palette.color.greyCharcoal}",
1562
- "fontSize": "{palette.fontSize.size16}",
1563
- "lineHeight": "{palette.lineHeight.ratio3to2}",
1564
- "fontName": "{palette.fontName.HelveticaNow}",
1565
- "fontWeight": "{palette.fontWeight.weight400}",
1566
- "icon": "{system.icon.none}",
1567
- "iconColor": "{system.color.none}",
1568
- "iconSize": "{palette.size.size24}",
1569
- "iconGap": "{palette.size.size16}",
1570
- "dismissIcon": "{palette.icon.Close}",
1571
- "dismissIconColor": "{palette.color.greyCharcoal}",
1572
- "dismissIconSize": "{palette.size.size24}",
1573
- "dismissButtonGap": "{palette.size.size16}"
1595
+ "style": "{appearances.Notification.style}",
1596
+ "system": "{appearances.Notification.system}"
1574
1597
  },
1575
1598
  "rules": [
1576
1599
  {
@@ -1578,15 +1601,15 @@
1578
1601
  "system": true
1579
1602
  },
1580
1603
  "tokens": {
1581
- "borderTopWidth": "{system.border.zero}",
1582
1604
  "borderLeftWidth": "{system.border.zero}",
1583
- "borderRightWidth": "{system.border.zero}",
1584
1605
  "borderRadius": "{system.radius.zero}",
1585
- "paddingTop": "{palette.size.size16}",
1606
+ "borderRightWidth": "{system.border.zero}",
1607
+ "borderTopWidth": "{system.border.zero}",
1608
+ "iconGap": "{palette.size.size12}",
1586
1609
  "paddingBottom": "{palette.size.size16}",
1587
1610
  "paddingLeft": "{palette.size.size16}",
1588
1611
  "paddingRight": "{palette.size.size16}",
1589
- "iconGap": "{palette.size.size12}"
1612
+ "paddingTop": "{palette.size.size16}"
1590
1613
  }
1591
1614
  },
1592
1615
  {
@@ -1607,9 +1630,9 @@
1607
1630
  "tokens": {
1608
1631
  "backgroundColor": "{palette.color.amberLight}",
1609
1632
  "borderColor": "{palette.color.amberDark}",
1633
+ "dismissIcon": "{system.icon.none}",
1610
1634
  "icon": "{palette.icon.StatusWarning}",
1611
- "iconColor": "{palette.color.amberDark}",
1612
- "dismissIcon": "{system.icon.none}"
1635
+ "iconColor": "{palette.color.amberDark}"
1613
1636
  }
1614
1637
  },
1615
1638
  {
@@ -1619,26 +1642,43 @@
1619
1642
  "tokens": {
1620
1643
  "backgroundColor": "{palette.color.redLight}",
1621
1644
  "borderColor": "{palette.color.red}",
1645
+ "dismissIcon": "{system.icon.none}",
1622
1646
  "icon": "{palette.icon.StatusError}",
1623
- "iconColor": "{palette.color.red}",
1624
- "dismissIcon": "{system.icon.none}"
1647
+ "iconColor": "{palette.color.red}"
1625
1648
  }
1626
1649
  }
1627
- ]
1650
+ ],
1651
+ "tokens": {
1652
+ "backgroundColor": "{palette.color.greyAthens}",
1653
+ "borderBottomWidth": "{palette.border.border1}",
1654
+ "borderColor": "{palette.color.greyShuttle}",
1655
+ "borderLeftWidth": "{palette.border.border1}",
1656
+ "borderRadius": "{palette.radius.radius6}",
1657
+ "borderRightWidth": "{palette.border.border1}",
1658
+ "borderTopWidth": "{palette.border.border1}",
1659
+ "color": "{palette.color.greyCharcoal}",
1660
+ "dismissButtonGap": "{palette.size.size16}",
1661
+ "dismissIcon": "{palette.icon.Close}",
1662
+ "dismissIconColor": "{palette.color.greyCharcoal}",
1663
+ "dismissIconSize": "{palette.size.size24}",
1664
+ "fontName": "{palette.fontName.HelveticaNow}",
1665
+ "fontSize": "{palette.fontSize.size16}",
1666
+ "fontWeight": "{palette.fontWeight.weight400}",
1667
+ "icon": "{system.icon.none}",
1668
+ "iconColor": "{system.color.none}",
1669
+ "iconGap": "{palette.size.size16}",
1670
+ "iconSize": "{palette.size.size24}",
1671
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1672
+ "paddingBottom": "{palette.size.size12}",
1673
+ "paddingLeft": "{palette.size.size12}",
1674
+ "paddingRight": "{palette.size.size12}",
1675
+ "paddingTop": "{palette.size.size12}"
1676
+ }
1628
1677
  },
1629
1678
  "Pagination": {
1630
1679
  "appearances": {
1631
1680
  "viewport": "{appearances.system.viewport}"
1632
1681
  },
1633
- "tokens": {
1634
- "gap": "{system.integer.2}",
1635
- "truncateAbove": "{system.integer.4}",
1636
- "color": "{palette.color.greyShuttle}",
1637
- "fontName": "{palette.fontName.HelveticaNow}",
1638
- "fontWeight": "{palette.fontWeight.weight400}",
1639
- "fontSize": "{palette.fontSize.size16}",
1640
- "lineHeight": "{palette.lineHeight.ratio3to2}"
1641
- },
1642
1682
  "rules": [
1643
1683
  {
1644
1684
  "if": {
@@ -1648,7 +1688,16 @@
1648
1688
  "truncateAbove": "{system.integer.6}"
1649
1689
  }
1650
1690
  }
1651
- ]
1691
+ ],
1692
+ "tokens": {
1693
+ "color": "{palette.color.greyShuttle}",
1694
+ "fontName": "{palette.fontName.HelveticaNow}",
1695
+ "fontSize": "{palette.fontSize.size16}",
1696
+ "fontWeight": "{palette.fontWeight.weight400}",
1697
+ "gap": "{palette.size.size2}",
1698
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1699
+ "truncateAbove": "{system.integer.4}"
1700
+ }
1652
1701
  },
1653
1702
  "PaginationPageButton": {
1654
1703
  "appearances": {
@@ -1657,27 +1706,6 @@
1657
1706
  "pressed": "{appearances.PaginationPageButton.pressed}",
1658
1707
  "selected": "{appearances.PaginationPageButton.selected}"
1659
1708
  },
1660
- "tokens": {
1661
- "borderColor": "{palette.color.transparent}",
1662
- "borderWidth": "{palette.border.border1}",
1663
- "borderRadius": "{palette.radius.pill32}",
1664
- "backgroundColor": "{palette.color.transparent}",
1665
- "paddingLeft": "{palette.size.size8}",
1666
- "paddingRight": "{palette.size.size8}",
1667
- "paddingTop": "{palette.size.size4}",
1668
- "paddingBottom": "{palette.size.size4}",
1669
- "width": "{palette.size.size32}",
1670
- "outerBorderColor": "{palette.color.transparent}",
1671
- "outerBorderWidth": "{palette.border.border4}",
1672
- "outerBorderGap": "{palette.border.border4}",
1673
- "color": "{palette.color.greyShuttle}",
1674
- "fontName": "{palette.fontName.HelveticaNow}",
1675
- "fontWeight": "{palette.fontWeight.weight400}",
1676
- "fontSize": "{palette.fontSize.size16}",
1677
- "lineHeight": "{palette.lineHeight.ratio3to2}",
1678
- "textLine": "{system.textLine.underline}",
1679
- "textAlign": "{system.flexJustifyContent.center}"
1680
- },
1681
1709
  "rules": [
1682
1710
  {
1683
1711
  "if": {
@@ -1716,38 +1744,37 @@
1716
1744
  "color": "{palette.color.white}"
1717
1745
  }
1718
1746
  }
1719
- ]
1720
- },
1721
- "PaginationSideButton": {
1722
- "appearances": {
1723
- "viewport": "{appearances.system.viewport}",
1724
- "focus": "{appearances.PaginationSideButton.focus}",
1725
- "hover": "{appearances.PaginationSideButton.hover}",
1726
- "pressed": "{appearances.PaginationSideButton.pressed}",
1727
- "selected": "{appearances.PaginationSideButton.selected}",
1728
- "direction": "{appearances.PaginationSideButton.direction}"
1729
- },
1747
+ ],
1730
1748
  "tokens": {
1749
+ "backgroundColor": "{palette.color.transparent}",
1731
1750
  "borderColor": "{palette.color.transparent}",
1751
+ "borderRadius": "{palette.radius.pill32}",
1732
1752
  "borderWidth": "{palette.border.border1}",
1733
- "borderRadius": "{palette.radius.radius4}",
1734
- "backgroundColor": "{palette.color.transparent}",
1735
- "paddingLeft": "{palette.size.size8}",
1736
- "paddingRight": "{palette.size.size8}",
1737
- "paddingTop": "{palette.size.size12}",
1738
- "paddingBottom": "{palette.size.size12}",
1739
- "outerBorderColor": "{palette.color.transparent}",
1740
1753
  "color": "{palette.color.greyShuttle}",
1741
1754
  "fontName": "{palette.fontName.HelveticaNow}",
1742
- "fontWeight": "{palette.fontWeight.weight400}",
1743
1755
  "fontSize": "{palette.fontSize.size16}",
1756
+ "fontWeight": "{palette.fontWeight.weight400}",
1744
1757
  "lineHeight": "{palette.lineHeight.ratio3to2}",
1758
+ "outerBorderColor": "{palette.color.transparent}",
1759
+ "outerBorderGap": "{palette.size.size4}",
1760
+ "outerBorderWidth": "{palette.border.border4}",
1761
+ "paddingBottom": "{palette.size.size4}",
1762
+ "paddingLeft": "{palette.size.size8}",
1763
+ "paddingRight": "{palette.size.size8}",
1764
+ "paddingTop": "{palette.size.size4}",
1765
+ "textAlign": "{system.flexJustifyContent.center}",
1745
1766
  "textLine": "{system.textLine.underline}",
1746
- "icon": "{system.icon.none}",
1747
- "iconSize": "{palette.fontSize.size24}",
1748
- "iconDisplace": "{palette.size.size0}",
1749
- "width": "{system.size.none}",
1750
- "textAlign": "{system.flexJustifyContent.center}"
1767
+ "width": "{palette.size.size32}"
1768
+ }
1769
+ },
1770
+ "PaginationSideButton": {
1771
+ "appearances": {
1772
+ "direction": "{appearances.PaginationSideButton.direction}",
1773
+ "focus": "{appearances.PaginationSideButton.focus}",
1774
+ "hover": "{appearances.PaginationSideButton.hover}",
1775
+ "pressed": "{appearances.PaginationSideButton.pressed}",
1776
+ "selected": "{appearances.PaginationSideButton.selected}",
1777
+ "viewport": "{appearances.system.viewport}"
1751
1778
  },
1752
1779
  "rules": [
1753
1780
  {
@@ -1756,8 +1783,8 @@
1756
1783
  },
1757
1784
  "tokens": {
1758
1785
  "borderRadius": "{palette.radius.pill32}",
1759
- "paddingTop": "{palette.size.size4}",
1760
1786
  "paddingBottom": "{palette.size.size4}",
1787
+ "paddingTop": "{palette.size.size4}",
1761
1788
  "width": "{palette.size.size32}"
1762
1789
  }
1763
1790
  },
@@ -1767,8 +1794,8 @@
1767
1794
  },
1768
1795
  "tokens": {
1769
1796
  "borderColor": "{palette.color.greyShuttle}",
1770
- "textLine": "{system.textLine.none}",
1771
- "iconDisplace": "{palette.size.size4}"
1797
+ "iconDisplace": "{palette.size.size4}",
1798
+ "textLine": "{system.textLine.none}"
1772
1799
  }
1773
1800
  },
1774
1801
  {
@@ -1815,22 +1842,37 @@
1815
1842
  "icon": "{palette.icon.ArrowRight}"
1816
1843
  }
1817
1844
  }
1818
- ]
1845
+ ],
1846
+ "tokens": {
1847
+ "backgroundColor": "{palette.color.transparent}",
1848
+ "borderColor": "{palette.color.transparent}",
1849
+ "borderRadius": "{palette.radius.radius4}",
1850
+ "borderWidth": "{palette.border.border1}",
1851
+ "color": "{palette.color.greyShuttle}",
1852
+ "fontName": "{palette.fontName.HelveticaNow}",
1853
+ "fontSize": "{palette.fontSize.size16}",
1854
+ "fontWeight": "{palette.fontWeight.weight400}",
1855
+ "icon": "{system.icon.none}",
1856
+ "iconDisplace": "{palette.size.size0}",
1857
+ "iconSize": "{palette.size.size24}",
1858
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1859
+ "outerBorderColor": "{palette.color.transparent}",
1860
+ "paddingBottom": "{palette.size.size12}",
1861
+ "paddingLeft": "{palette.size.size8}",
1862
+ "paddingRight": "{palette.size.size8}",
1863
+ "paddingTop": "{palette.size.size12}",
1864
+ "textAlign": "{system.flexJustifyContent.center}",
1865
+ "textLine": "{system.textLine.underline}",
1866
+ "width": "{system.size.none}"
1867
+ }
1819
1868
  },
1820
1869
  "Progress": {
1821
1870
  "appearances": {
1822
1871
  "size": {
1823
- "values": ["mini"],
1824
- "type": "variant"
1872
+ "type": "variant",
1873
+ "values": ["mini"]
1825
1874
  }
1826
1875
  },
1827
- "tokens": {
1828
- "backgroundColor": "{palette.color.greyAthens}",
1829
- "borderWidth": "{palette.border.border1}",
1830
- "borderColor": "{palette.color.greyCloud}",
1831
- "borderRadius": "{palette.radius.radius12}",
1832
- "height": "{palette.size.size16}"
1833
- },
1834
1876
  "rules": [
1835
1877
  {
1836
1878
  "if": {
@@ -1840,23 +1882,23 @@
1840
1882
  "height": "{palette.size.size8}"
1841
1883
  }
1842
1884
  }
1843
- ]
1885
+ ],
1886
+ "tokens": {
1887
+ "backgroundColor": "{palette.color.greyAthens}",
1888
+ "borderColor": "{palette.color.greyCloud}",
1889
+ "borderRadius": "{palette.radius.radius12}",
1890
+ "borderWidth": "{palette.border.border1}",
1891
+ "height": "{palette.size.size16}"
1892
+ }
1844
1893
  },
1845
1894
  "ProgressBar": {
1846
1895
  "appearances": {
1847
1896
  "inactive": "{appearances.ProgressBar.inactive}",
1848
1897
  "negative": {
1849
- "values": [true],
1850
- "type": "variant"
1898
+ "type": "variant",
1899
+ "values": [true]
1851
1900
  }
1852
1901
  },
1853
- "tokens": {
1854
- "backgroundColor": "{palette.color.greenAccessible}",
1855
- "borderRadius": "{palette.radius.radius12}",
1856
- "gradient": "{palette.gradient.green}",
1857
- "outlineWidth": "{palette.border.border1}",
1858
- "outlineColor": "{palette.color.greenAccessible}"
1859
- },
1860
1902
  "rules": [
1861
1903
  {
1862
1904
  "if": {
@@ -1878,7 +1920,14 @@
1878
1920
  "outlineColor": "{palette.color.redDark}"
1879
1921
  }
1880
1922
  }
1881
- ]
1923
+ ],
1924
+ "tokens": {
1925
+ "backgroundColor": "{palette.color.greenAccessible}",
1926
+ "borderRadius": "{palette.radius.radius12}",
1927
+ "gradient": "{palette.gradient.green}",
1928
+ "outlineColor": "{palette.color.greenAccessible}",
1929
+ "outlineWidth": "{palette.border.border1}"
1930
+ }
1882
1931
  },
1883
1932
  "Radio": {
1884
1933
  "appearances": {
@@ -1888,36 +1937,6 @@
1888
1937
  "hover": "{appearances.Radio.hover}",
1889
1938
  "inactive": "{appearances.Radio.inactive}"
1890
1939
  },
1891
- "tokens": {
1892
- "checkedBackgroundColor": "{palette.color.purpleDeluge}",
1893
- "checkedSize": "{palette.size.size12}",
1894
- "containerBackgroundColor": "{palette.color.transparent}",
1895
- "containerBorderRadius": "{palette.radius.none}",
1896
- "containerOpacity": "{system.opacity.opaque}",
1897
- "containerPaddingBottom": "{palette.size.size0}",
1898
- "containerPaddingLeft": "{palette.size.size0}",
1899
- "containerPaddingRight": "{palette.size.size0}",
1900
- "containerPaddingTop": "{palette.size.size0}",
1901
- "containerShadow": "{system.shadow.none}",
1902
- "descriptionFontSize": "{palette.fontSize.size14}",
1903
- "descriptionLineHeight": "{palette.lineHeight.ratio10to7}",
1904
- "descriptionMarginLeft": "{system.size.none}",
1905
- "inputBackgroundColor": "{palette.color.white}",
1906
- "inputBorderColor": "{palette.color.greyShuttle}",
1907
- "inputBorderWidth": "{palette.border.border1}",
1908
- "inputOutlineColor": "{palette.color.transparent}",
1909
- "inputOutlineWidth": "{palette.border.none}",
1910
- "inputSize": "{palette.size.size20}",
1911
- "outerBorderWidth": "{system.border.zero}",
1912
- "outerBorderColor": "{system.color.transparent}",
1913
- "outerBorderGap": "{system.size.zero}",
1914
- "labelColor": "{palette.color.greyCharcoal}",
1915
- "labelFontName": "{palette.fontName.HelveticaNow}",
1916
- "labelFontSize": "{palette.fontSize.size16}",
1917
- "labelFontWeight": "{palette.fontWeight.weight400}",
1918
- "labelLineHeight": "{palette.lineHeight.ratio3to2}",
1919
- "labelMarginLeft": "{palette.size.size10}"
1920
- },
1921
1940
  "rules": [
1922
1941
  {
1923
1942
  "if": {
@@ -1932,8 +1951,8 @@
1932
1951
  "hover": true
1933
1952
  },
1934
1953
  "tokens": {
1935
- "outerBorderWidth": "{palette.border.border2}",
1936
- "outerBorderColor": "{palette.color.greyMystic}"
1954
+ "outerBorderColor": "{palette.color.greyMystic}",
1955
+ "outerBorderWidth": "{palette.border.border2}"
1937
1956
  }
1938
1957
  },
1939
1958
  {
@@ -1950,71 +1969,65 @@
1950
1969
  "inactive": true
1951
1970
  },
1952
1971
  "tokens": {
1953
- "inputBorderColor": "{palette.color.transparent}",
1954
1972
  "inputBackgroundColor": "{palette.color.greyMystic}",
1973
+ "inputBorderColor": "{palette.color.transparent}",
1955
1974
  "labelColor": "{palette.color.greyShuttle}"
1956
1975
  }
1957
1976
  }
1958
- ]
1977
+ ],
1978
+ "tokens": {
1979
+ "checkedBackgroundColor": "{palette.color.purpleDeluge}",
1980
+ "checkedSize": "{palette.size.size12}",
1981
+ "containerBackgroundColor": "{palette.color.transparent}",
1982
+ "containerBorderRadius": "{palette.radius.none}",
1983
+ "containerOpacity": "{system.opacity.opaque}",
1984
+ "containerPaddingBottom": "{palette.size.size0}",
1985
+ "containerPaddingLeft": "{palette.size.size0}",
1986
+ "containerPaddingRight": "{palette.size.size0}",
1987
+ "containerPaddingTop": "{palette.size.size0}",
1988
+ "containerShadow": "{system.shadow.none}",
1989
+ "descriptionFontSize": "{palette.fontSize.size14}",
1990
+ "descriptionLineHeight": "{palette.lineHeight.ratio10to7}",
1991
+ "descriptionMarginLeft": "{system.size.none}",
1992
+ "inputBackgroundColor": "{palette.color.white}",
1993
+ "inputBorderColor": "{palette.color.greyShuttle}",
1994
+ "inputBorderWidth": "{palette.border.border1}",
1995
+ "inputOutlineColor": "{palette.color.transparent}",
1996
+ "inputOutlineWidth": "{palette.border.none}",
1997
+ "inputSize": "{palette.size.size20}",
1998
+ "labelColor": "{palette.color.greyCharcoal}",
1999
+ "labelFontName": "{palette.fontName.HelveticaNow}",
2000
+ "labelFontSize": "{palette.fontSize.size16}",
2001
+ "labelFontWeight": "{palette.fontWeight.weight400}",
2002
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
2003
+ "labelMarginLeft": "{palette.size.size10}",
2004
+ "outerBorderColor": "{system.color.transparent}",
2005
+ "outerBorderGap": "{system.size.zero}",
2006
+ "outerBorderWidth": "{system.border.zero}"
2007
+ }
1959
2008
  },
1960
2009
  "RadioCard": {
1961
2010
  "appearances": {
1962
- "pressed": "{appearances.RadioCard.pressed}",
1963
- "hover": "{appearances.RadioCard.hover}",
1964
- "focus": "{appearances.RadioCard.focus}",
1965
2011
  "checked": "{appearances.RadioCard.checked}",
1966
- "inactive": "{appearances.RadioCard.inactive}",
1967
2012
  "error": "{appearances.RadioCard.error}",
2013
+ "focus": "{appearances.RadioCard.focus}",
2014
+ "hover": "{appearances.RadioCard.hover}",
2015
+ "inactive": "{appearances.RadioCard.inactive}",
2016
+ "pressed": "{appearances.RadioCard.pressed}",
1968
2017
  "viewport": "{appearances.system.viewport}"
1969
2018
  },
1970
- "tokens": {
1971
- "outerBorderColor": "{system.color.transparent}",
1972
- "outerBorderWidth": "{system.border.zero}",
1973
- "outerBorderGap": "{system.size.zero}",
1974
- "flex": "{system.integer.1}",
1975
- "backgroundColor": "{palette.color.white}",
1976
- "borderColor": "{palette.color.greyCloud}",
1977
- "borderRadius": "{palette.radius.radius6}",
1978
- "borderWidth": "{palette.border.border1}",
1979
- "paddingBottom": "{palette.size.size16}",
1980
- "paddingLeft": "{palette.size.size10}",
1981
- "paddingRight": "{palette.size.size16}",
1982
- "paddingTop": "{palette.size.size16}",
1983
- "minWidth": "{palette.size.size288}",
1984
- "shadow": "{system.shadow.none}",
1985
- "radioCheckedBackgroundColor": "{palette.color.purpleDeluge}",
1986
- "radioCheckedSize": "{palette.size.size12}",
1987
- "radioInputBackgroundColor": "{palette.color.white}",
1988
- "radioInputBorderColor": "{palette.color.greyShuttle}",
1989
- "radioInputBorderWidth": "{palette.border.border1}",
1990
- "radioInputOutlineColor": "{palette.color.transparent}",
1991
- "radioInputOutlineWidth": "{palette.border.none}",
1992
- "radioInputSize": "{palette.size.size20}",
1993
- "radioOuterBorderColor": "{system.color.transparent}",
1994
- "radioOuterBorderWidth": "{system.border.zero}",
1995
- "radioOuterBorderGap": "{system.size.zero}",
1996
- "fontSize": "{palette.fontSize.size20}",
1997
- "lineHeight": "{palette.lineHeight.ratio7to5}",
1998
- "color": "{palette.color.greyThunder}",
1999
- "letterSpacing": "{system.letterSpacing.none}",
2000
- "textTransform": "{system.textTransform.none}",
2001
- "fontWeight": "{palette.fontWeight.weight500}",
2002
- "fontName": "{palette.fontName.HelveticaNow}",
2003
- "radioSpace": "{system.integer.2}",
2004
- "contentSpace": "{system.integer.2}"
2005
- },
2006
2019
  "rules": [
2007
2020
  {
2008
2021
  "if": {
2009
2022
  "viewport": ["lg", "xl"]
2010
2023
  },
2011
2024
  "tokens": {
2025
+ "fontSize": "{palette.fontSize.size24}",
2026
+ "lineHeight": "{palette.lineHeight.ratio4to3}",
2012
2027
  "paddingBottom": "{palette.size.size24}",
2013
2028
  "paddingLeft": "{palette.size.size16}",
2014
2029
  "paddingRight": "{palette.size.size24}",
2015
- "paddingTop": "{palette.size.size16}",
2016
- "fontSize": "{palette.fontSize.size24}",
2017
- "lineHeight": "{palette.lineHeight.ratio4to3}"
2030
+ "paddingTop": "{palette.size.size16}"
2018
2031
  }
2019
2032
  },
2020
2033
  {
@@ -2025,15 +2038,15 @@
2025
2038
  "borderColor": "{palette.color.greyShuttle}",
2026
2039
  "outerBorderColor": "{palette.color.greyMystic}",
2027
2040
  "outerBorderWidth": "{palette.border.border2}",
2028
- "radioOuterBorderWidth": "{palette.border.border2}",
2029
- "radioOuterBorderColor": "{palette.color.greyMystic}"
2041
+ "radioOuterBorderColor": "{palette.color.greyMystic}",
2042
+ "radioOuterBorderWidth": "{palette.border.border2}"
2030
2043
  }
2031
2044
  },
2032
2045
  {
2046
+ "description": "Pressed state matches hover state plus light grey background",
2033
2047
  "if": {
2034
2048
  "pressed": true
2035
2049
  },
2036
- "description": "Pressed state matches hover state plus light grey background",
2037
2050
  "tokens": {
2038
2051
  "backgroundColor": "{palette.color.greyAthens}",
2039
2052
  "borderColor": "{palette.color.greyShuttle}",
@@ -2047,8 +2060,8 @@
2047
2060
  },
2048
2061
  "tokens": {
2049
2062
  "outerBorderColor": "{palette.color.greyShuttle}",
2050
- "outerBorderWidth": "{palette.border.border2}",
2051
2063
  "outerBorderGap": "{palette.size.size2}",
2064
+ "outerBorderWidth": "{palette.border.border2}",
2052
2065
  "radioInputBorderColor": "{palette.color.purpleDeluge}",
2053
2066
  "radioInputBorderWidth": "{palette.border.border3}"
2054
2067
  }
@@ -2060,9 +2073,9 @@
2060
2073
  "tokens": {
2061
2074
  "backgroundColor": "{palette.color.greyAthens}",
2062
2075
  "borderColor": "{system.color.transparent}",
2063
- "radioInputBorderColor": "{palette.color.transparent}",
2076
+ "color": "{palette.color.greyShuttle}",
2064
2077
  "radioInputBackgroundColor": "{palette.color.greyMystic}",
2065
- "color": "{palette.color.greyShuttle}"
2078
+ "radioInputBorderColor": "{palette.color.transparent}"
2066
2079
  }
2067
2080
  },
2068
2081
  {
@@ -2071,76 +2084,89 @@
2071
2084
  },
2072
2085
  "tokens": {
2073
2086
  "borderColor": "{palette.color.red}",
2074
- "radioInputBorderColor": "{palette.color.red}",
2075
- "color": "{palette.color.red}"
2087
+ "color": "{palette.color.red}",
2088
+ "radioInputBorderColor": "{palette.color.red}"
2076
2089
  }
2077
2090
  }
2078
- ]
2091
+ ],
2092
+ "tokens": {
2093
+ "backgroundColor": "{palette.color.white}",
2094
+ "borderColor": "{palette.color.greyCloud}",
2095
+ "borderRadius": "{palette.radius.radius6}",
2096
+ "borderWidth": "{palette.border.border1}",
2097
+ "color": "{palette.color.greyThunder}",
2098
+ "contentSpace": "{system.integer.2}",
2099
+ "flex": "{system.integer.1}",
2100
+ "fontName": "{palette.fontName.HelveticaNow}",
2101
+ "fontSize": "{palette.fontSize.size20}",
2102
+ "fontWeight": "{palette.fontWeight.weight500}",
2103
+ "letterSpacing": "{system.letterSpacing.none}",
2104
+ "lineHeight": "{palette.lineHeight.ratio7to5}",
2105
+ "minWidth": "{palette.size.size264}",
2106
+ "outerBorderColor": "{system.color.transparent}",
2107
+ "outerBorderGap": "{system.size.zero}",
2108
+ "outerBorderWidth": "{system.border.zero}",
2109
+ "paddingBottom": "{palette.size.size16}",
2110
+ "paddingLeft": "{palette.size.size10}",
2111
+ "paddingRight": "{palette.size.size16}",
2112
+ "paddingTop": "{palette.size.size16}",
2113
+ "radioCheckedBackgroundColor": "{palette.color.purpleDeluge}",
2114
+ "radioCheckedSize": "{palette.size.size12}",
2115
+ "radioInputBackgroundColor": "{palette.color.white}",
2116
+ "radioInputBorderColor": "{palette.color.greyShuttle}",
2117
+ "radioInputBorderWidth": "{palette.border.border1}",
2118
+ "radioInputOutlineColor": "{palette.color.transparent}",
2119
+ "radioInputOutlineWidth": "{palette.border.none}",
2120
+ "radioInputSize": "{palette.size.size20}",
2121
+ "radioOuterBorderColor": "{system.color.transparent}",
2122
+ "radioOuterBorderGap": "{system.size.zero}",
2123
+ "radioOuterBorderWidth": "{system.border.zero}",
2124
+ "radioSpace": "{system.integer.2}",
2125
+ "shadow": "{system.shadow.none}",
2126
+ "textTransform": "{system.textTransform.none}"
2127
+ }
2079
2128
  },
2080
2129
  "RadioCardGroup": {
2081
2130
  "appearances": {
2082
- "viewport": "{appearances.system.viewport}",
2083
2131
  "fullWidth": {
2084
2132
  "description": "Makes cards always occupy the full width of the parent, regardless of viewport",
2085
- "values": [true],
2086
- "type": "variant"
2087
- }
2088
- },
2089
- "tokens": {
2090
- "direction": "{system.direction.column}",
2091
- "space": "{system.integer.3}",
2092
- "fieldSpace": "{system.integer.3}"
2133
+ "type": "variant",
2134
+ "values": [true]
2135
+ },
2136
+ "viewport": "{appearances.system.viewport}"
2093
2137
  },
2094
2138
  "rules": [
2095
2139
  {
2096
2140
  "if": {
2097
- "viewport": ["lg", "xl"],
2098
- "fullWidth": null
2141
+ "fullWidth": null,
2142
+ "viewport": ["lg", "xl"]
2099
2143
  },
2100
2144
  "tokens": {
2101
2145
  "direction": "{system.direction.row}",
2102
2146
  "space": "{system.integer.4}"
2103
2147
  }
2104
2148
  }
2105
- ]
2149
+ ],
2150
+ "tokens": {
2151
+ "direction": "{system.direction.column}",
2152
+ "fieldSpace": "{system.integer.3}",
2153
+ "space": "{system.integer.3}"
2154
+ }
2106
2155
  },
2107
2156
  "RadioGroup": {
2108
2157
  "appearances": {},
2158
+ "rules": [],
2109
2159
  "tokens": {
2110
- "space": "{system.integer.2}",
2111
- "fieldSpace": "{system.integer.2}"
2112
- },
2113
- "rules": []
2160
+ "fieldSpace": "{system.integer.2}",
2161
+ "space": "{system.integer.2}"
2162
+ }
2114
2163
  },
2115
2164
  "Search": {
2116
2165
  "appearances": {
2117
- "hover": "{appearances.Search.hover}",
2118
2166
  "focus": "{appearances.Search.focus}",
2167
+ "hover": "{appearances.Search.hover}",
2119
2168
  "inactive": "{appearances.Search.inactive}"
2120
2169
  },
2121
- "tokens": {
2122
- "backgroundColor": "{palette.color.white}",
2123
- "color": "{palette.color.greyCharcoal}",
2124
- "borderWidth": "{palette.border.border1}",
2125
- "borderColor": "{palette.color.greyShuttle}",
2126
- "borderRadius": "{palette.radius.pill32}",
2127
- "paddingTop": "{palette.size.size12}",
2128
- "paddingBottom": "{palette.size.size12}",
2129
- "paddingLeft": "{palette.size.size24}",
2130
- "paddingRight": "{palette.size.size8}",
2131
- "outerBackgroundColor": "{palette.color.transparent}",
2132
- "outerBorderWidth": "{palette.border.border2}",
2133
- "outerBorderColor": "{palette.color.transparent}",
2134
- "outerBorderRadius": "{palette.radius.pill32}",
2135
- "fontName": "{palette.fontName.HelveticaNow}",
2136
- "fontWeight": "{palette.fontWeight.weight400}",
2137
- "fontSize": "{palette.fontSize.size16}",
2138
- "lineHeight": "{palette.lineHeight.ratio3to2}",
2139
- "placeholderColor": "{palette.color.greyCharcoal}",
2140
- "buttonsGap": "{system.integer.1}",
2141
- "clearButtonIcon": "{palette.icon.Times}",
2142
- "submitButtonIcon": "{palette.icon.SearchBold}"
2143
- },
2144
2170
  "rules": [
2145
2171
  {
2146
2172
  "if": {
@@ -2148,8 +2174,8 @@
2148
2174
  "inactive": null
2149
2175
  },
2150
2176
  "tokens": {
2151
- "outerBorderColor": "{palette.color.greyMystic}",
2152
- "outerBackgroundColor": "{palette.color.greyMystic}"
2177
+ "outerBackgroundColor": "{palette.color.greyMystic}",
2178
+ "outerBorderColor": "{palette.color.greyMystic}"
2153
2179
  }
2154
2180
  },
2155
2181
  {
@@ -2170,34 +2196,43 @@
2170
2196
  "borderColor": "{palette.color.greyAthens}"
2171
2197
  }
2172
2198
  }
2173
- ]
2199
+ ],
2200
+ "tokens": {
2201
+ "backgroundColor": "{palette.color.white}",
2202
+ "borderColor": "{palette.color.greyShuttle}",
2203
+ "borderRadius": "{palette.radius.pill32}",
2204
+ "borderWidth": "{palette.border.border1}",
2205
+ "buttonsGap": "{palette.size.size1}",
2206
+ "clearButtonIcon": "{palette.icon.Times}",
2207
+ "color": "{palette.color.greyCharcoal}",
2208
+ "fontName": "{palette.fontName.HelveticaNow}",
2209
+ "fontSize": "{palette.fontSize.size16}",
2210
+ "fontWeight": "{palette.fontWeight.weight400}",
2211
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2212
+ "outerBackgroundColor": "{palette.color.transparent}",
2213
+ "outerBorderColor": "{palette.color.transparent}",
2214
+ "outerBorderRadius": "{palette.radius.pill32}",
2215
+ "outerBorderWidth": "{palette.border.border2}",
2216
+ "paddingBottom": "{palette.size.size12}",
2217
+ "paddingLeft": "{palette.size.size24}",
2218
+ "paddingRight": "{palette.size.size8}",
2219
+ "paddingTop": "{palette.size.size12}",
2220
+ "placeholderColor": "{palette.color.greyCharcoal}",
2221
+ "submitButtonIcon": "{palette.icon.SearchBold}"
2222
+ }
2174
2223
  },
2175
2224
  "SearchButton": {
2176
2225
  "appearances": {
2177
- "hover": "{appearances.SearchButton.hover}",
2178
2226
  "focus": "{appearances.SearchButton.focus}",
2227
+ "hover": "{appearances.SearchButton.hover}",
2179
2228
  "inactive": "{appearances.SearchButton.inactive}",
2180
2229
  "pressed": "{appearances.SearchButton.pressed}",
2181
2230
  "priority": {
2182
2231
  "description": "",
2183
- "values": ["high"],
2184
- "type": "variant"
2232
+ "type": "variant",
2233
+ "values": ["high"]
2185
2234
  }
2186
2235
  },
2187
- "tokens": {
2188
- "borderColor": "{palette.color.transparent}",
2189
- "borderWidth": "{system.border.zero}",
2190
- "borderRadius": "{palette.radius.pill32}",
2191
- "backgroundColor": "{system.color.none}",
2192
- "opacity": "{system.opacity.opaque}",
2193
- "paddingLeft": "{palette.size.size8}",
2194
- "paddingRight": "{palette.size.size8}",
2195
- "paddingBottom": "{palette.size.size8}",
2196
- "paddingTop": "{palette.size.size8}",
2197
- "shadow": "{system.shadow.none}",
2198
- "iconSize": "{palette.size.size20}",
2199
- "iconColor": "{palette.color.greyShuttle}"
2200
- },
2201
2236
  "rules": [
2202
2237
  {
2203
2238
  "if": {
@@ -2223,10 +2258,10 @@
2223
2258
  "focus": true
2224
2259
  },
2225
2260
  "tokens": {
2261
+ "backgroundColor": "{system.color.transparent}",
2226
2262
  "borderColor": "{palette.color.purpleTelus}",
2227
2263
  "borderWidth": "{palette.border.border3}",
2228
- "iconColor": "{palette.color.purpleTelus}",
2229
- "backgroundColor": "{system.color.transparent}"
2264
+ "iconColor": "{palette.color.purpleTelus}"
2230
2265
  }
2231
2266
  },
2232
2267
  {
@@ -2234,8 +2269,8 @@
2234
2269
  "pressed": true
2235
2270
  },
2236
2271
  "tokens": {
2237
- "borderWidth": "{system.size.zero}",
2238
2272
  "backgroundColor": "{palette.color.purpleDark}",
2273
+ "borderWidth": "{palette.border.none}",
2239
2274
  "iconColor": "{palette.color.white}"
2240
2275
  }
2241
2276
  },
@@ -2245,857 +2280,1016 @@
2245
2280
  },
2246
2281
  "tokens": {
2247
2282
  "backgroundColor": "{palette.color.greyMystic}",
2248
- "iconColor": "{palette.color.greyShuttle}",
2249
- "borderWidth": "{system.size.zero}"
2250
- }
2251
- }
2252
- ]
2253
- },
2254
- "StepTracker": {
2255
- "appearances": {
2256
- "viewport": "{appearances.system.viewport}"
2257
- },
2258
- "tokens": {
2259
- "completedIcon": "{system.icon.none}",
2260
- "completedIconColor": "{system.color.none}",
2261
- "completedIconSize": "{system.size.none}",
2262
- "connectorColor": "{palette.color.greyShuttle}",
2263
- "connectorHeight": "{palette.border.border1}",
2264
- "connectorMinWidth": "{palette.size.size16}",
2265
- "connectorCompletedHeight": "{palette.border.border3}",
2266
- "connectorCompletedColor": "{palette.color.purpleDeluge}",
2267
- "containerPaddingBottom": "{system.size.none}",
2268
- "containerPaddingLeft": "{system.size.none}",
2269
- "containerPaddingRight": "{system.size.none}",
2270
- "containerPaddingTop": "{system.size.none}",
2271
- "knobBackgroundColor": "{palette.color.transparent}",
2272
- "knobBorderWidth": "{palette.border.border1}",
2273
- "knobBorderColor": "{palette.color.greyShuttle}",
2274
- "knobCompletedBackgroundColor": "{palette.color.purpleDeluge}",
2275
- "knobCompletedBorderColor": "{palette.color.purpleDeluge}",
2276
- "knobCompletedPaddingLeft": "{system.size.none}",
2277
- "knobCompletedPaddingTop": "{system.size.none}",
2278
- "knobCurrentBackgroundColor": "{palette.color.transparent}",
2279
- "knobCurrentBorderColor": "{palette.color.purpleDeluge}",
2280
- "knobCurrentBorderWidth": "{palette.border.border2}",
2281
- "knobCurrentInnerColor": "{palette.color.purpleDeluge}",
2282
- "knobCurrentInnerSize": "{palette.size.size8}",
2283
- "knobCurrentPaddingLeft": "{palette.size.size2}",
2284
- "knobCurrentPaddingTop": "{palette.size.size2}",
2285
- "knobSize": "{palette.size.size16}",
2286
- "labelColor": "{palette.color.greyCharcoal}",
2287
- "labelCurrentColor": "{palette.color.purpleDeluge}",
2288
- "labelCurrentFontWeight": "{palette.fontWeight.weight700}",
2289
- "labelCurrentFontName": "{palette.fontName.HelveticaNow}",
2290
- "labelDirection": "{system.direction.column}",
2291
- "labelFontSize": "{palette.fontSize.size16}",
2292
- "labelFontWeight": "{palette.fontWeight.weight400}",
2293
- "labelFontName": "{palette.fontName.HelveticaNow}",
2294
- "labelGap": "{palette.size.size0}",
2295
- "labelLineHeight": "{palette.lineHeight.ratio10to7}",
2296
- "labelMarginTop": "{palette.size.size8}",
2297
- "labelPaddingLeft": "{palette.size.size16}",
2298
- "labelPaddingRight": "{palette.size.size16}",
2299
- "showStepLabel": "{system.show.false}",
2300
- "showStepName": "{system.show.true}",
2301
- "showStepTrackerLabel": "{system.show.true}"
2302
- },
2303
- "rules": [
2304
- {
2305
- "if": {
2306
- "viewport": ["lg", "xl"]
2307
- },
2308
- "tokens": {
2309
- "showStepLabel": "{system.show.true}",
2310
- "showStepTrackerLabel": "{system.show.false}"
2283
+ "borderWidth": "{palette.border.none}",
2284
+ "iconColor": "{palette.color.greyShuttle}"
2311
2285
  }
2312
2286
  }
2313
- ]
2314
- },
2315
- "Tabs": {
2316
- "appearances": {},
2287
+ ],
2317
2288
  "tokens": {
2318
- "nextIcon": "{palette.icon.ArrowRight}",
2319
- "previousIcon": "{palette.icon.ArrowLeft}",
2320
- "space": "{system.integer.0}",
2321
- "gutter": "{palette.size.size2}",
2322
- "borderBottomWidth": "{palette.border.border1}",
2323
- "borderBottomColor": "{palette.color.greyShuttle}",
2324
- "buttonClearance": "{palette.size.size16}"
2325
- },
2326
- "rules": []
2289
+ "backgroundColor": "{system.color.none}",
2290
+ "borderColor": "{palette.color.transparent}",
2291
+ "borderRadius": "{palette.radius.pill32}",
2292
+ "borderWidth": "{system.border.zero}",
2293
+ "iconColor": "{palette.color.greyShuttle}",
2294
+ "iconSize": "{palette.size.size20}",
2295
+ "opacity": "{system.opacity.opaque}",
2296
+ "paddingBottom": "{palette.size.size8}",
2297
+ "paddingLeft": "{palette.size.size8}",
2298
+ "paddingRight": "{palette.size.size8}",
2299
+ "paddingTop": "{palette.size.size8}",
2300
+ "shadow": "{system.shadow.none}"
2301
+ }
2327
2302
  },
2328
- "TabsItem": {
2303
+ "Select": {
2329
2304
  "appearances": {
2330
- "pressed": "{appearances.TabsItem.pressed}",
2331
- "hover": "{appearances.TabsItem.pressed}",
2332
- "focus": "{appearances.TabsItem.pressed}",
2333
- "selected": "{appearances.TabsItem.pressed}"
2334
- },
2335
- "tokens": {
2336
- "highlightColor": "{system.color.transparent}",
2337
- "highlightBarHeight": "{system.border.zero}",
2338
- "highlightBarBorderRadius": "{system.radius.zero}",
2339
- "highlightBarBorderWidth": "{system.border.zero}",
2340
- "highlightTriangleSize": "{system.size.zero}",
2341
- "backgroundColor": "{system.color.transparent}",
2342
- "borderColor": "{system.color.transparent}",
2343
- "borderWidth": "{system.border.zero}",
2344
- "borderRadius": "{palette.radius.pill32}",
2345
- "maxWidth": "{palette.size.size192}",
2346
- "space": "{system.integer.1}",
2347
- "paddingHorizontal": "{palette.size.size24}",
2348
- "paddingVertical": "{palette.size.size8}",
2349
- "textAlign": "{system.textAlign.center}",
2350
- "lineHeight": "{palette.lineHeight.ratio8to7}",
2351
- "color": "{palette.color.greyShuttle}",
2352
- "fontSize": "{palette.fontSize.size14}",
2353
- "letterSpacing": "{system.letterSpacing.none}",
2354
- "textTransform": "{system.textTransform.none}",
2355
- "fontScaleCap": "{palette.fontSize.size64}",
2356
- "fontWeight": "{palette.fontWeight.weight700}",
2357
- "fontName": "{palette.fontName.HelveticaNow}"
2305
+ "focus": "{appearances.Select.focus}",
2306
+ "hover": "{appearances.Select.hover}",
2307
+ "inactive": "{appearances.Select.inactive}",
2308
+ "validation": "{appearances.Select.validation}"
2358
2309
  },
2359
2310
  "rules": [
2360
2311
  {
2361
2312
  "if": {
2362
- "selected": true
2313
+ "hover": true,
2314
+ "inactive": null
2363
2315
  },
2364
- "description": "The design uses height of 3: there's (rightly) no '3' in the Allium palette but the effect is 1px above and below a 1px line",
2365
2316
  "tokens": {
2366
- "highlightBarBorderWidth": "{palette.border.border1}",
2367
- "highlightBarHeight": "{palette.border.border1}",
2368
- "highlightColor": "{palette.color.purpleTelus}",
2369
- "highlightBarBorderRadius": "{palette.radius.pill32}",
2370
- "color": "{palette.color.purpleTelus}",
2371
- "backgroundColor": "{palette.color.greyAthens}"
2317
+ "outerBackgroundColor": "{palette.color.greyMystic}",
2318
+ "outerBorderColor": "{palette.color.greyMystic}"
2372
2319
  }
2373
2320
  },
2374
2321
  {
2375
2322
  "if": {
2376
- "hover": true
2323
+ "validation": "success"
2377
2324
  },
2378
2325
  "tokens": {
2379
- "borderColor": "{palette.color.greyCloud}",
2380
- "borderWidth": "{palette.border.border2}"
2326
+ "borderColor": "{palette.color.greenAccessible}",
2327
+ "validationIcon": "{palette.icon.StatusSuccess}",
2328
+ "validationIconColor": "{palette.color.greenAccessible}"
2381
2329
  }
2382
2330
  },
2383
2331
  {
2384
2332
  "if": {
2385
- "focus": true
2333
+ "validation": "error"
2386
2334
  },
2387
2335
  "tokens": {
2388
- "color": "{palette.color.purpleTelus}",
2389
- "borderColor": "{palette.color.purpleTelus}",
2390
- "borderWidth": "{palette.border.border2}"
2336
+ "borderColor": "{palette.color.red}",
2337
+ "validationIcon": "{palette.icon.StatusError}",
2338
+ "validationIconColor": "{palette.color.red}"
2391
2339
  }
2392
2340
  },
2393
2341
  {
2394
2342
  "if": {
2395
- "pressed": true
2343
+ "focus": true
2396
2344
  },
2397
2345
  "tokens": {
2398
- "color": "{palette.color.white}",
2399
- "backgroundColor": "{palette.color.greyShuttle}",
2400
- "borderColor": "{system.color.transparent}",
2401
- "borderWidth": "{system.border.zero}"
2346
+ "borderColor": "{palette.color.purpleDeluge}",
2347
+ "borderWidth": "{palette.border.border3}",
2348
+ "validationIcon": "{system.icon.none}"
2402
2349
  }
2403
2350
  },
2404
2351
  {
2405
2352
  "if": {
2406
- "focus": true,
2407
- "pressed": true
2353
+ "inactive": true
2408
2354
  },
2409
2355
  "tokens": {
2410
- "backgroundColor": "{palette.color.purpleTelus}"
2356
+ "backgroundColor": "{palette.color.greyAthens}",
2357
+ "borderColor": "{palette.color.greyAthens}"
2411
2358
  }
2412
2359
  }
2413
- ]
2414
- },
2415
- "TabsScrollButton": {
2416
- "appearances": {
2417
- "hover": "{appearances.TabsScrollButton.hover}",
2418
- "focus": "{appearances.TabsScrollButton.focus}",
2419
- "pressed": "{appearances.TabsScrollButton.pressed}"
2420
- },
2360
+ ],
2421
2361
  "tokens": {
2422
- "borderRadius": "{palette.radius.pill32}",
2423
2362
  "backgroundColor": "{palette.color.white}",
2424
- "borderColor": "{palette.color.greyCloud}",
2363
+ "borderColor": "{palette.color.greyShuttle}",
2364
+ "borderRadius": "{palette.radius.radius4}",
2425
2365
  "borderWidth": "{palette.border.border1}",
2426
- "padding": "{system.size.zero}",
2427
- "shadow": "{palette.shadow.surfaceRaised}",
2428
- "iconSize": "{palette.size.size32}",
2429
- "iconColor": "{palette.color.greyShuttle}"
2366
+ "color": "{palette.color.greyCharcoal}",
2367
+ "fontName": "{palette.fontName.HelveticaNow}",
2368
+ "fontSize": "{palette.fontSize.size16}",
2369
+ "fontWeight": "{palette.fontWeight.weight400}",
2370
+ "height": "{palette.size.size48}",
2371
+ "icon": "{palette.icon.CaretDown}",
2372
+ "iconColor": "{palette.color.greenAccessible}",
2373
+ "iconSize": "{palette.size.size24}",
2374
+ "outerBackgroundColor": "{palette.color.transparent}",
2375
+ "outerBorderColor": "{palette.color.transparent}",
2376
+ "outerBorderWidth": "{palette.border.border2}",
2377
+ "paddingBottom": "{palette.size.size12}",
2378
+ "paddingLeft": "{palette.size.size16}",
2379
+ "paddingRight": "{palette.size.size16}",
2380
+ "paddingTop": "{palette.size.size12}",
2381
+ "validationIcon": "{system.icon.none}",
2382
+ "validationIconColor": "{palette.color.transparent}",
2383
+ "validationIconSize": "{palette.size.size24}"
2384
+ }
2385
+ },
2386
+ "SideNav": {
2387
+ "appearances": {},
2388
+ "rules": [],
2389
+ "tokens": {
2390
+ "borderColor": "{palette.color.greyCloud}",
2391
+ "borderStyle": "{system.borderStyle.solid}",
2392
+ "borderWidth": "{palette.border.border1}"
2393
+ }
2394
+ },
2395
+ "SideNavItem": {
2396
+ "appearances": {
2397
+ "active": "{appearances.SideNavItem.active}",
2398
+ "expanded": "{appearances.SideNavItem.expanded}",
2399
+ "hover": "{appearances.SideNavItem.hover}",
2400
+ "type": "{appearances.SideNavItem.type}"
2430
2401
  },
2431
2402
  "rules": [
2432
2403
  {
2433
2404
  "if": {
2434
- "hover": true
2405
+ "active": true
2435
2406
  },
2436
2407
  "tokens": {
2437
- "borderColor": "{palette.color.greyCharcoal}",
2438
- "iconColor": "{palette.color.greyCharcoal}"
2408
+ "accentBackgroundColor": "{palette.color.purpleTelus}",
2409
+ "color": "{palette.color.purpleTelus}",
2410
+ "fontName": "{palette.fontName.HelveticaNow}",
2411
+ "fontWeight": "{palette.fontWeight.weight700}",
2412
+ "paddingLeft": "{palette.size.size12}"
2439
2413
  }
2440
2414
  },
2441
2415
  {
2442
2416
  "if": {
2443
- "pressed": true
2417
+ "type": "child"
2444
2418
  },
2445
2419
  "tokens": {
2446
- "backgroundColor": "{palette.color.greyShuttle}",
2447
- "iconColor": "{palette.color.white}"
2420
+ "accentBackgroundColor": "{palette.color.greyAthens}",
2421
+ "accentOffset": "{palette.size.size16}",
2422
+ "borderWidth": "{palette.border.none}",
2423
+ "fontSize": "{palette.fontSize.size14}",
2424
+ "lineHeight": "{palette.lineHeight.ratio7to5}",
2425
+ "paddingLeft": "{palette.size.size36}"
2448
2426
  }
2449
- }
2450
- ]
2451
- },
2452
- "TextArea": {
2453
- "appearances": {},
2454
- "tokens": {
2455
- "minLines": "{system.integer.5}",
2456
- "maxLines": "{system.integer.8}"
2457
- },
2458
- "rules": []
2459
- },
2460
- "TextInput": {
2461
- "appearances": {
2462
- "validation": "{appearances.TextInput.validation}",
2463
- "hover": "{appearances.TextInput.hover}",
2464
- "focus": "{appearances.TextInput.focus}",
2465
- "inactive": "{appearances.TextInput.inactive}"
2466
- },
2467
- "tokens": {
2468
- "backgroundColor": "{palette.color.white}",
2469
- "color": "{palette.color.greyCharcoal}",
2470
- "borderWidth": "{palette.border.border1}",
2471
- "borderColor": "{palette.color.greyShuttle}",
2472
- "borderRadius": "{palette.radius.radius4}",
2473
- "paddingTop": "{palette.size.size12}",
2474
- "paddingBottom": "{palette.size.size12}",
2475
- "paddingLeft": "{palette.size.size16}",
2476
- "paddingRight": "{palette.size.size16}",
2477
- "outerBackgroundColor": "{palette.color.transparent}",
2478
- "outerBorderWidth": "{palette.border.border2}",
2479
- "outerBorderColor": "{palette.color.transparent}",
2480
- "fontName": "{palette.fontName.HelveticaNow}",
2481
- "fontWeight": "{palette.fontWeight.weight400}",
2482
- "fontSize": "{palette.fontSize.size16}",
2483
- "lineHeight": "{palette.lineHeight.ratio3to2}",
2484
- "icon": "{system.icon.none}",
2485
- "iconSize": "{palette.fontSize.size24}",
2486
- "iconColor": "{palette.color.transparent}"
2487
- },
2488
- "rules": [
2427
+ },
2489
2428
  {
2490
2429
  "if": {
2491
- "hover": true,
2492
- "inactive": null
2430
+ "active": true,
2431
+ "type": "parent"
2493
2432
  },
2494
2433
  "tokens": {
2495
- "outerBorderColor": "{palette.color.greyMystic}",
2496
- "outerBackgroundColor": "{palette.color.greyMystic}"
2434
+ "paddingLeft": "{palette.size.size12}"
2497
2435
  }
2498
2436
  },
2499
2437
  {
2500
2438
  "if": {
2501
- "validation": "success"
2439
+ "active": true,
2440
+ "expanded": true,
2441
+ "type": "parent"
2502
2442
  },
2503
2443
  "tokens": {
2504
- "borderColor": "{palette.color.greenAccessible}",
2505
- "icon": "{palette.icon.StatusSuccess}",
2506
- "iconColor": "{palette.color.greenAccessible}"
2444
+ "accentBackgroundColor": "{palette.color.transparent}",
2445
+ "color": "{palette.color.greyCharcoal}",
2446
+ "paddingLeft": "{palette.size.size16}"
2507
2447
  }
2508
2448
  },
2509
2449
  {
2510
2450
  "if": {
2511
- "validation": "error"
2451
+ "hover": true
2512
2452
  },
2513
2453
  "tokens": {
2514
- "borderColor": "{palette.color.red}",
2515
- "icon": "{palette.icon.StatusError}",
2516
- "iconColor": "{palette.color.red}"
2454
+ "backgroundColor": "{palette.color.greyAthens}",
2455
+ "color": "{palette.color.purpleTelus}"
2517
2456
  }
2518
2457
  },
2519
2458
  {
2520
2459
  "if": {
2521
- "focus": true
2460
+ "active": true,
2461
+ "type": "child"
2522
2462
  },
2523
2463
  "tokens": {
2524
- "borderColor": "{palette.color.purpleDeluge}",
2525
- "borderWidth": "{palette.border.border3}",
2526
- "icon": "{system.icon.none}"
2464
+ "accentBackgroundColor": "{palette.color.purpleTelus}",
2465
+ "accentPadding": "{palette.size.size16}",
2466
+ "backgroundColor": "{palette.color.greyAthens}",
2467
+ "color": "{palette.color.purpleTelus}"
2527
2468
  }
2528
2469
  },
2529
2470
  {
2530
2471
  "if": {
2531
- "inactive": true
2472
+ "active": false,
2473
+ "hover": true,
2474
+ "type": "child"
2532
2475
  },
2533
2476
  "tokens": {
2534
- "backgroundColor": "{palette.color.greyAthens}",
2535
- "borderColor": "{palette.color.greyAthens}"
2477
+ "accentBackgroundColor": "{palette.color.white}",
2478
+ "accentOffset": "{system.size.zero}",
2479
+ "accentWidth": "{palette.size.size16}",
2480
+ "color": "{palette.color.greyCharcoal}"
2536
2481
  }
2537
2482
  }
2538
- ]
2483
+ ],
2484
+ "tokens": {
2485
+ "accentBackgroundColor": "{palette.color.transparent}",
2486
+ "accentOffset": "{system.size.zero}",
2487
+ "accentPadding": "{system.size.zero}",
2488
+ "accentWidth": "{palette.size.size4}",
2489
+ "backgroundColor": "{palette.color.transparent}",
2490
+ "borderColor": "{palette.color.greyCloud}",
2491
+ "borderStyle": "{system.borderStyle.solid}",
2492
+ "borderWidth": "{palette.border.border1}",
2493
+ "color": "{palette.color.greyCharcoal}",
2494
+ "fontName": "{palette.fontName.HelveticaNow}",
2495
+ "fontSize": "{palette.fontSize.size16}",
2496
+ "fontWeight": "{palette.fontWeight.weight400}",
2497
+ "justifyContent": "{system.flexJustifyContent.spaceBetween}",
2498
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2499
+ "paddingBottom": "{palette.size.size16}",
2500
+ "paddingLeft": "{palette.size.size16}",
2501
+ "paddingRight": "{palette.size.size16}",
2502
+ "paddingTop": "{palette.size.size16}"
2503
+ }
2539
2504
  },
2540
- "ToggleSwitch": {
2505
+ "SideNavItemsGroup": {
2541
2506
  "appearances": {
2542
- "focus": "{appearances.ToggleSwitch.focus}",
2543
- "hover": "{appearances.ToggleSwitch.hover}",
2544
- "pressed": "{appearances.ToggleSwitch.pressed}",
2545
- "inactive": "{appearances.ToggleSwitch.inactive}",
2546
- "selected": "{appearances.ToggleSwitch.selected}"
2547
- },
2548
- "tokens": {
2549
- "borderColor": "{palette.color.transparent}",
2550
- "borderWidth": "{palette.border.none}",
2551
- "borderRadius": "{palette.radius.pill32}",
2552
- "outerBorderColor": "{palette.color.transparent}",
2553
- "outerBorderWidth": "{palette.border.none}",
2554
- "outerBorderGap": "{palette.size.size0}",
2555
- "outerBackgroundColor": "{palette.color.transparent}",
2556
- "backgroundColor": "{palette.color.greyShuttle}",
2557
- "opacity": "{system.opacity.opaque}",
2558
- "paddingLeft": "{system.size.zero}",
2559
- "paddingRight": "{system.size.zero}",
2560
- "paddingTop": "{system.size.zero}",
2561
- "paddingBottom": "{system.size.zero}",
2562
- "shadow": "{palette.shadow.surfaceInset}",
2563
- "alignSelf": "{system.flexAlign.flexStart}",
2564
- "icon": "{system.icon.none}",
2565
- "width": "{palette.size.size40}",
2566
- "trackBorderWidth": "{palette.border.border3}",
2567
- "trackBorderColor": "{palette.color.transparent}",
2568
- "trackBorderRadius": "{palette.radius.pill32}",
2569
- "iconSize": "{palette.size.size12}",
2570
- "iconColor": "{palette.color.greyShuttle}",
2571
- "switchSize": "{palette.size.size16}",
2572
- "switchColor": "{palette.color.white}",
2573
- "switchBorderColor": "{palette.color.transparent}",
2574
- "switchBorderWidth": "{palette.border.none}",
2575
- "switchBorderRadius": "{palette.radius.pill32}",
2576
- "switchShadow": "{palette.shadow.surfaceRaised}"
2507
+ "expanded": "{appearances.SideNavItemGroup.expanded}"
2577
2508
  },
2578
2509
  "rules": [
2579
2510
  {
2580
2511
  "if": {
2581
- "hover": true
2512
+ "expanded": true
2582
2513
  },
2583
2514
  "tokens": {
2584
- "backgroundColor": "{palette.color.greyCharcoal}"
2515
+ "icon": "{palette.icon.CaretUp}"
2585
2516
  }
2586
- },
2517
+ }
2518
+ ],
2519
+ "tokens": {
2520
+ "collapseDuration": "{palette.duration.duration250}",
2521
+ "contentPaddingBottom": "{palette.size.size0}",
2522
+ "contentPaddingLeft": "{palette.size.size0}",
2523
+ "contentPaddingRight": "{palette.size.size0}",
2524
+ "contentPaddingTop": "{palette.size.size0}",
2525
+ "expandDuration": "{palette.duration.duration300}",
2526
+ "icon": "{palette.icon.CaretDown}",
2527
+ "iconColor": "{palette.color.purpleTelus}",
2528
+ "iconGap": "{palette.size.size8}",
2529
+ "iconPosition": "{system.position.right}",
2530
+ "iconSize": "{palette.size.size24}",
2531
+ "justifyContent": "{system.flexJustifyContent.spaceBetween}",
2532
+ "verticalAlign": "{system.verticalAlign.middle}"
2533
+ }
2534
+ },
2535
+ "Skeleton": {
2536
+ "appearances": {},
2537
+ "rules": [],
2538
+ "tokens": {
2539
+ "baseWidth": "{palette.size.size40}",
2540
+ "characters": "{palette.size.size10}",
2541
+ "color": "{palette.color.greyCloud}",
2542
+ "radius": "{system.radius.round}",
2543
+ "size": "{palette.size.size3}",
2544
+ "spaceBetweenLines": "{palette.size.size2}",
2545
+ "squareRadius": "{palette.radius.radius4}"
2546
+ }
2547
+ },
2548
+ "StackView": {
2549
+ "appearances": {},
2550
+ "rules": [],
2551
+ "tokens": {
2552
+ "alignItems": "{system.flexAlign.stretch}",
2553
+ "flexGrow": "{system.integer.0}",
2554
+ "flexShrink": "{system.integer.0}",
2555
+ "justifyContent": "{system.flexJustifyContent.flexStart}"
2556
+ }
2557
+ },
2558
+ "StepTracker": {
2559
+ "appearances": {
2560
+ "viewport": "{appearances.system.viewport}"
2561
+ },
2562
+ "rules": [
2587
2563
  {
2588
2564
  "if": {
2589
- "pressed": true
2565
+ "viewport": ["lg", "xl"]
2590
2566
  },
2591
2567
  "tokens": {
2592
- "backgroundColor": "{palette.color.greyThunder}"
2568
+ "showStepLabel": "{system.show.true}",
2569
+ "showStepTrackerLabel": "{system.show.false}"
2593
2570
  }
2594
- },
2571
+ }
2572
+ ],
2573
+ "tokens": {
2574
+ "completedIcon": "{system.icon.none}",
2575
+ "completedIconColor": "{system.color.none}",
2576
+ "completedIconSize": "{system.size.none}",
2577
+ "connectorColor": "{palette.color.greyShuttle}",
2578
+ "connectorCompletedColor": "{palette.color.purpleDeluge}",
2579
+ "connectorCompletedHeight": "{palette.border.border3}",
2580
+ "connectorHeight": "{palette.border.border1}",
2581
+ "connectorMinWidth": "{palette.size.size16}",
2582
+ "containerPaddingBottom": "{system.size.none}",
2583
+ "containerPaddingLeft": "{system.size.none}",
2584
+ "containerPaddingRight": "{system.size.none}",
2585
+ "containerPaddingTop": "{system.size.none}",
2586
+ "knobBackgroundColor": "{palette.color.transparent}",
2587
+ "knobBorderColor": "{palette.color.greyShuttle}",
2588
+ "knobBorderWidth": "{palette.border.border1}",
2589
+ "knobCompletedBackgroundColor": "{palette.color.purpleDeluge}",
2590
+ "knobCompletedBorderColor": "{palette.color.purpleDeluge}",
2591
+ "knobCompletedPaddingLeft": "{system.size.none}",
2592
+ "knobCompletedPaddingTop": "{system.size.none}",
2593
+ "knobCurrentBackgroundColor": "{palette.color.transparent}",
2594
+ "knobCurrentBorderColor": "{palette.color.purpleDeluge}",
2595
+ "knobCurrentBorderWidth": "{palette.border.border2}",
2596
+ "knobCurrentInnerColor": "{palette.color.purpleDeluge}",
2597
+ "knobCurrentInnerSize": "{palette.size.size8}",
2598
+ "knobCurrentPaddingLeft": "{palette.size.size2}",
2599
+ "knobCurrentPaddingTop": "{palette.size.size2}",
2600
+ "knobSize": "{palette.size.size16}",
2601
+ "labelColor": "{palette.color.greyCharcoal}",
2602
+ "labelCurrentColor": "{palette.color.purpleDeluge}",
2603
+ "labelCurrentFontName": "{palette.fontName.HelveticaNow}",
2604
+ "labelCurrentFontWeight": "{palette.fontWeight.weight700}",
2605
+ "labelDirection": "{system.direction.column}",
2606
+ "labelFontName": "{palette.fontName.HelveticaNow}",
2607
+ "labelFontSize": "{palette.fontSize.size16}",
2608
+ "labelFontWeight": "{palette.fontWeight.weight400}",
2609
+ "labelGap": "{palette.size.size0}",
2610
+ "labelLineHeight": "{palette.lineHeight.ratio10to7}",
2611
+ "labelMarginTop": "{palette.size.size8}",
2612
+ "labelPaddingLeft": "{palette.size.size16}",
2613
+ "labelPaddingRight": "{palette.size.size16}",
2614
+ "showStepLabel": "{system.show.false}",
2615
+ "showStepName": "{system.show.true}",
2616
+ "showStepTrackerLabel": "{system.show.true}"
2617
+ }
2618
+ },
2619
+ "Tabs": {
2620
+ "appearances": {},
2621
+ "rules": [],
2622
+ "tokens": {
2623
+ "borderBottomColor": "{palette.color.greyShuttle}",
2624
+ "borderBottomWidth": "{palette.border.border1}",
2625
+ "buttonClearance": "{palette.size.size16}",
2626
+ "gutter": "{palette.size.size2}",
2627
+ "nextIcon": "{palette.icon.ArrowRight}",
2628
+ "previousIcon": "{palette.icon.ArrowLeft}",
2629
+ "space": "{system.integer.0}"
2630
+ }
2631
+ },
2632
+ "TabsItem": {
2633
+ "appearances": {
2634
+ "focus": "{appearances.TabsItem.pressed}",
2635
+ "hover": "{appearances.TabsItem.pressed}",
2636
+ "pressed": "{appearances.TabsItem.pressed}",
2637
+ "selected": "{appearances.TabsItem.pressed}"
2638
+ },
2639
+ "rules": [
2595
2640
  {
2641
+ "description": "The design uses height of 3: there's (rightly) no '3' in the Allium palette but the effect is 1px above and below a 1px line",
2596
2642
  "if": {
2597
- "focus": true
2643
+ "selected": true
2598
2644
  },
2599
2645
  "tokens": {
2600
- "outerBackgroundColor": "{palette.color.white}",
2601
- "outerBorderGap": "{palette.border.border3}",
2602
- "outerBorderWidth": "{palette.border.border2}",
2603
- "outerBorderColor": "{palette.color.greyShuttle}"
2646
+ "backgroundColor": "{palette.color.greyAthens}",
2647
+ "color": "{palette.color.purpleTelus}",
2648
+ "highlightBarBorderRadius": "{palette.radius.pill32}",
2649
+ "highlightBarBorderWidth": "{palette.border.border1}",
2650
+ "highlightBarHeight": "{palette.border.border1}",
2651
+ "highlightColor": "{palette.color.purpleTelus}"
2604
2652
  }
2605
2653
  },
2606
2654
  {
2607
2655
  "if": {
2608
- "focus": true,
2609
- "pressed": true
2656
+ "hover": true
2610
2657
  },
2611
2658
  "tokens": {
2612
- "outerBorderColor": "{palette.color.greyThunder}"
2659
+ "borderColor": "{palette.color.greyCloud}",
2660
+ "borderWidth": "{palette.border.border2}"
2613
2661
  }
2614
2662
  },
2615
2663
  {
2616
2664
  "if": {
2617
- "selected": true
2665
+ "focus": true
2618
2666
  },
2619
2667
  "tokens": {
2620
- "icon": "{palette.icon.Checkmark}",
2621
- "backgroundColor": "{palette.color.greenAccessible}",
2622
- "iconColor": "{palette.color.greenAccessible}"
2668
+ "borderColor": "{palette.color.purpleTelus}",
2669
+ "borderWidth": "{palette.border.border2}",
2670
+ "color": "{palette.color.purpleTelus}"
2623
2671
  }
2624
2672
  },
2625
2673
  {
2626
2674
  "if": {
2627
- "selected": true,
2628
- "hover": true
2675
+ "pressed": true
2629
2676
  },
2630
2677
  "tokens": {
2631
- "backgroundColor": "{palette.color.greenSanFelix}",
2632
- "iconColor": "{palette.color.greenSanFelix}"
2678
+ "backgroundColor": "{palette.color.greyShuttle}",
2679
+ "borderColor": "{system.color.transparent}",
2680
+ "borderWidth": "{system.border.zero}",
2681
+ "color": "{palette.color.white}"
2633
2682
  }
2634
2683
  },
2635
2684
  {
2636
2685
  "if": {
2637
- "selected": true,
2686
+ "focus": true,
2638
2687
  "pressed": true
2639
2688
  },
2640
2689
  "tokens": {
2641
- "backgroundColor": "{palette.color.greenDarkFern}",
2642
- "iconColor": "{palette.color.greenDarkFern}"
2690
+ "backgroundColor": "{palette.color.purpleTelus}"
2643
2691
  }
2644
- },
2692
+ }
2693
+ ],
2694
+ "tokens": {
2695
+ "backgroundColor": "{system.color.transparent}",
2696
+ "borderColor": "{system.color.transparent}",
2697
+ "borderRadius": "{palette.radius.pill32}",
2698
+ "borderWidth": "{system.border.zero}",
2699
+ "color": "{palette.color.greyShuttle}",
2700
+ "fontName": "{palette.fontName.HelveticaNow}",
2701
+ "fontScaleCap": "{palette.fontSize.size64}",
2702
+ "fontSize": "{palette.fontSize.size14}",
2703
+ "fontWeight": "{palette.fontWeight.weight700}",
2704
+ "highlightBarBorderRadius": "{system.radius.zero}",
2705
+ "highlightBarBorderWidth": "{system.border.zero}",
2706
+ "highlightBarHeight": "{system.border.zero}",
2707
+ "highlightColor": "{system.color.transparent}",
2708
+ "highlightTriangleSize": "{system.size.zero}",
2709
+ "letterSpacing": "{system.letterSpacing.none}",
2710
+ "lineHeight": "{palette.lineHeight.ratio8to7}",
2711
+ "maxWidth": "{palette.size.size192}",
2712
+ "paddingHorizontal": "{palette.size.size24}",
2713
+ "paddingVertical": "{palette.size.size8}",
2714
+ "space": "{system.integer.1}",
2715
+ "textAlign": "{system.textAlign.center}",
2716
+ "textTransform": "{system.textTransform.none}"
2717
+ }
2718
+ },
2719
+ "Tags": {
2720
+ "appearances": {
2721
+ "viewport": "{appearances.system.viewport}"
2722
+ },
2723
+ "rules": [
2645
2724
  {
2646
2725
  "if": {
2647
- "selected": true,
2648
- "focus": true
2726
+ "viewport": ["lg", "xl"]
2649
2727
  },
2650
2728
  "tokens": {
2651
- "outerBorderColor": "{palette.color.greenAccessible}"
2729
+ "space": "{system.integer.3}"
2652
2730
  }
2653
- },
2731
+ }
2732
+ ],
2733
+ "tokens": {
2734
+ "alignItems": "{system.flexAlign.center}",
2735
+ "direction": "{system.direction.row}",
2736
+ "flexGrow": "{system.integer.0}",
2737
+ "flexShrink": "{system.integer.0}",
2738
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
2739
+ "space": "{system.integer.1}"
2740
+ }
2741
+ },
2742
+ "TagsItem": {
2743
+ "appearances": {
2744
+ "focus": "{appearances.TagsItem.focus}",
2745
+ "hover": "{appearances.TagsItem.hover}",
2746
+ "inactive": "{appearances.TagsItem.inactive}",
2747
+ "pressed": "{appearances.TagsItem.pressed}",
2748
+ "selected": "{appearances.TagsItem.selected}"
2749
+ },
2750
+ "rules": [
2654
2751
  {
2655
2752
  "if": {
2656
- "selected": true,
2657
- "focus": true,
2658
2753
  "pressed": true
2659
2754
  },
2660
2755
  "tokens": {
2661
- "outerBorderColor": "{palette.color.greenDarkFern}"
2756
+ "backgroundColor": "{palette.color.greyShuttle}",
2757
+ "borderColor": "{palette.color.greyShuttle}",
2758
+ "borderWidth": "{palette.border.none}",
2759
+ "color": "{palette.color.white}",
2760
+ "iconBackground": "{palette.color.greyCharcoal}",
2761
+ "iconColor": "{palette.color.white}"
2662
2762
  }
2663
2763
  },
2664
2764
  {
2665
2765
  "if": {
2666
- "inactive": true
2766
+ "focus": true
2667
2767
  },
2668
2768
  "tokens": {
2669
- "backgroundColor": "{palette.color.greyCloud}",
2670
- "outerBorderColor": "{palette.color.greyCloud}",
2671
- "iconColor": "{palette.color.greyShuttle}"
2769
+ "borderColor": "{palette.color.greyShuttle}",
2770
+ "outerBorderColor": "{palette.color.greyShuttle}",
2771
+ "outerBorderGap": "{palette.size.size2}",
2772
+ "outerBorderWidth": "{palette.border.border2}"
2672
2773
  }
2673
- }
2674
- ]
2675
- },
2676
- "Tooltip": {
2677
- "appearances": {
2678
- "inverse": {
2679
- "values": [true],
2680
- "type": "variant"
2681
- }
2682
- },
2683
- "tokens": {
2684
- "backgroundColor": "{palette.color.greyThunder}",
2685
- "paddingTop": "{palette.size.size8}",
2686
- "paddingBottom": "{palette.size.size8}",
2687
- "paddingLeft": "{palette.size.size16}",
2688
- "paddingRight": "{palette.size.size16}",
2689
- "borderRadius": "{palette.radius.radius8}",
2690
- "shadow": "{palette.shadow.elevation1}",
2691
- "color": "{palette.color.white}",
2692
- "fontSize": "{palette.fontSize.size14}",
2693
- "lineHeight": "{palette.lineHeight.ratio3to2}",
2694
- "fontName": "{palette.fontName.HelveticaNow}",
2695
- "fontWeight": "{palette.fontWeight.weight400}",
2696
- "arrowWidth": "{palette.size.size16}",
2697
- "arrowBorderRadius": "{palette.radius.radius1}",
2698
- "arrowOffset": "{palette.size.size4}"
2699
- },
2700
- "rules": [
2774
+ },
2701
2775
  {
2702
2776
  "if": {
2703
- "inverse": true
2777
+ "hover": true
2704
2778
  },
2705
2779
  "tokens": {
2706
- "backgroundColor": "{palette.color.white}",
2707
- "color": "{palette.color.greyCharcoal}"
2780
+ "borderWidth": "{palette.border.border3}"
2708
2781
  }
2709
- }
2710
- ]
2711
- },
2712
- "TooltipButton": {
2713
- "appearances": {
2714
- "focus": "{appearances.TooltipButton.focus}",
2715
- "hover": "{appearances.TooltipButton.hover}",
2716
- "pressed": "{appearances.TooltipButton.pressed}",
2717
- "inverse": {
2718
- "values": [true],
2719
- "type": "variant"
2720
- }
2721
- },
2722
- "tokens": {
2723
- "outerBorderColor": "{palette.color.transparent}",
2724
- "outerBorderWidth": "{palette.border.border1}",
2725
- "outerBorderGap": "{palette.size.size4}",
2726
- "borderRadius": "{palette.radius.pill32}",
2727
- "width": "{palette.size.size16}",
2728
- "icon": "{palette.icon.Question}",
2729
- "iconScale": "{system.iconScale.scale1}",
2730
- "iconSize": "{palette.size.size16}",
2731
- "iconColor": "{palette.color.greyThunder}"
2732
- },
2733
- "rules": [
2782
+ },
2734
2783
  {
2735
2784
  "if": {
2736
- "inverse": true
2785
+ "selected": true
2737
2786
  },
2738
2787
  "tokens": {
2788
+ "backgroundColor": "{palette.color.purpleTelus}",
2789
+ "borderWidth": "{palette.border.none}",
2790
+ "color": "{palette.color.white}",
2791
+ "icon": "{palette.icon.Close}",
2792
+ "iconBackground": "{palette.color.purpleDeluge}",
2739
2793
  "iconColor": "{palette.color.white}"
2740
2794
  }
2741
2795
  },
2742
2796
  {
2743
2797
  "if": {
2744
- "hover": true
2798
+ "hover": true,
2799
+ "selected": true
2745
2800
  },
2746
2801
  "tokens": {
2747
- "iconScale": "{system.iconScale.scale1_25}"
2802
+ "backgroundColor": "{palette.color.purpleDeluge}",
2803
+ "iconBackground": "{palette.color.purpleTelus}"
2748
2804
  }
2749
2805
  },
2750
2806
  {
2751
2807
  "if": {
2752
- "pressed": true
2808
+ "pressed": true,
2809
+ "selected": true
2753
2810
  },
2754
2811
  "tokens": {
2755
- "iconColor": "{palette.color.greyShuttle}"
2812
+ "backgroundColor": "{palette.color.purpleDark}",
2813
+ "iconBackground": "{palette.color.purpleDeluge}"
2756
2814
  }
2757
2815
  },
2758
2816
  {
2759
2817
  "if": {
2760
- "inverse": true,
2761
- "pressed": true
2818
+ "focus": true,
2819
+ "selected": true
2762
2820
  },
2763
2821
  "tokens": {
2764
- "iconColor": "{palette.color.greyCloud}"
2822
+ "outerBorderColor": "{palette.color.purpleTelus}"
2765
2823
  }
2766
2824
  },
2767
2825
  {
2768
2826
  "if": {
2769
- "focus": true
2827
+ "focus": true,
2828
+ "pressed": true,
2829
+ "selected": true
2770
2830
  },
2771
2831
  "tokens": {
2772
- "outerBorderColor": "{palette.color.greyShuttle}"
2832
+ "iconBackground": "{palette.color.purpleDeluge}",
2833
+ "outerBorderColor": "{palette.color.purpleDark}"
2773
2834
  }
2774
2835
  },
2775
2836
  {
2776
2837
  "if": {
2777
- "inverse": true,
2778
- "focus": true
2838
+ "inactive": true
2779
2839
  },
2780
2840
  "tokens": {
2781
- "outerBorderColor": "{palette.color.greyCloud}"
2841
+ "backgroundColor": "{palette.color.greyCloud}",
2842
+ "borderWidth": "{system.border.zero}",
2843
+ "color": "{palette.color.white}"
2782
2844
  }
2783
2845
  }
2784
- ]
2785
- },
2786
- "Typography": {
2787
- "appearances": {
2788
- "size": {
2789
- "description": "Styles text as body or heading text with a given size. Smaller numbers indicate larger sizes,\n\"display\" headings are larger than \"h\" headings. Default is medium size body text. Does not change\naccessibility or SEO-related properties; use the heading prop if text should be treated semantically as a heading.",
2790
- "values": [
2791
- "micro",
2792
- "small",
2793
- "large",
2794
- "eyebrow",
2795
- "h1",
2796
- "h2",
2797
- "h3",
2798
- "h4",
2799
- "h5",
2800
- "h6",
2801
- "display1",
2802
- "display2"
2803
- ],
2804
- "type": "variant"
2805
- },
2806
- "colour": {
2807
- "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 use the tokens prop.",
2808
- "values": ["secondary", "tertiary"],
2809
- "type": "variant"
2810
- },
2811
- "bold": {
2812
- "description": "Sets the font weight, to bold on some body text styles. Does not change accessibility properties.",
2813
- "values": [true],
2814
- "type": "variant"
2815
- },
2816
- "inverse": {
2817
- "description": "Styles the link white for use on dark backgrounds.",
2818
- "values": [true],
2819
- "type": "variant"
2820
- },
2821
- "compact": {
2822
- "description": "Reduces line height on some body text styles. For data-rich content, not for flow content",
2823
- "values": [true],
2824
- "type": "variant"
2825
- },
2826
- "viewport": "{appearances.system.viewport}"
2827
- },
2846
+ ],
2828
2847
  "tokens": {
2848
+ "alignSelf": "{system.flexAlign.center}",
2849
+ "backgroundColor": "{palette.color.white}",
2850
+ "borderColor": "{palette.color.greyCloud}",
2851
+ "borderRadius": "{palette.radius.pill32}",
2852
+ "borderWidth": "{palette.border.border1}",
2853
+ "color": "{palette.color.greyShuttle}",
2829
2854
  "fontName": "{palette.fontName.HelveticaNow}",
2830
- "fontWeight": "{palette.fontWeight.weight400}",
2831
- "fontSize": "{palette.fontSize.size16}",
2832
- "color": "{palette.color.greyThunder}",
2833
- "lineHeight": "{palette.lineHeight.ratio3to2}",
2834
- "letterSpacing": "{system.letterSpacing.none}",
2835
- "textTransform": "{system.textTransform.none}",
2836
- "fontScaleCap": "{palette.fontSize.size64}"
2855
+ "fontSize": "{palette.fontSize.size14}",
2856
+ "fontWeight": "{palette.fontWeight.weight700}",
2857
+ "icon": "{palette.icon.Add}",
2858
+ "iconAlignSelf": "{system.flexAlign.center}",
2859
+ "iconBackground": "{palette.color.greyAthens}",
2860
+ "iconBorderRadius": "{palette.radius.pill32}",
2861
+ "iconColor": "{palette.color.greyThunder}",
2862
+ "iconPadding": "{palette.size.size2}",
2863
+ "iconPosition": "{system.position.right}",
2864
+ "iconSize": "{palette.size.size16}",
2865
+ "iconSpace": "{system.integer.2}",
2866
+ "iconTranslateX": "{palette.size.size0}",
2867
+ "iconTranslateY": "{palette.size.size0}",
2868
+ "lineHeight": "{palette.lineHeight.ratio10to7}",
2869
+ "minWidth": "{system.size.zero}",
2870
+ "opacity": "{system.opacity.opaque}",
2871
+ "outerBackgroundColor": "{palette.color.transparent}",
2872
+ "outerBorderColor": "{palette.color.transparent}",
2873
+ "outerBorderGap": "{palette.size.size2}",
2874
+ "outerBorderWidth": "{palette.border.border2}",
2875
+ "paddingBottom": "{palette.size.size8}",
2876
+ "paddingLeft": "{palette.size.size16}",
2877
+ "paddingRight": "{palette.size.size8}",
2878
+ "paddingTop": "{palette.size.size8}",
2879
+ "shadow": "{system.shadow.none}",
2880
+ "textAlign": "{system.flexJustifyContent.center}",
2881
+ "width": "{system.size.none}"
2882
+ }
2883
+ },
2884
+ "TextArea": {
2885
+ "appearances": {},
2886
+ "rules": [],
2887
+ "tokens": {
2888
+ "maxLines": "{system.integer.8}",
2889
+ "minLines": "{system.integer.5}"
2890
+ }
2891
+ },
2892
+ "TextInput": {
2893
+ "appearances": {
2894
+ "focus": "{appearances.TextInput.focus}",
2895
+ "hover": "{appearances.TextInput.hover}",
2896
+ "inactive": "{appearances.TextInput.inactive}",
2897
+ "validation": "{appearances.TextInput.validation}"
2837
2898
  },
2838
2899
  "rules": [
2839
2900
  {
2840
2901
  "if": {
2841
- "colour": "secondary"
2902
+ "hover": true,
2903
+ "inactive": null
2842
2904
  },
2843
2905
  "tokens": {
2844
- "color": "{palette.color.greyCharcoal}"
2906
+ "outerBackgroundColor": "{palette.color.greyMystic}",
2907
+ "outerBorderColor": "{palette.color.greyMystic}"
2845
2908
  }
2846
2909
  },
2847
2910
  {
2848
2911
  "if": {
2849
- "size": ["display1", "display2", "h1", "h2", "h3"]
2912
+ "validation": "success"
2850
2913
  },
2851
2914
  "tokens": {
2852
- "color": "{palette.color.purpleTelus}"
2915
+ "borderColor": "{palette.color.greenAccessible}",
2916
+ "icon": "{palette.icon.StatusSuccess}",
2917
+ "iconColor": "{palette.color.greenAccessible}"
2853
2918
  }
2854
2919
  },
2855
2920
  {
2856
2921
  "if": {
2857
- "size": ["display1", "display2", "h1", "h2", "h3"],
2858
- "colour": "secondary"
2922
+ "validation": "error"
2859
2923
  },
2860
2924
  "tokens": {
2861
- "color": "{palette.color.greyThunder}"
2925
+ "borderColor": "{palette.color.red}",
2926
+ "icon": "{palette.icon.StatusError}",
2927
+ "iconColor": "{palette.color.red}"
2862
2928
  }
2863
2929
  },
2864
2930
  {
2865
2931
  "if": {
2866
- "size": "h6",
2867
- "colour": "tertiary"
2932
+ "focus": true
2868
2933
  },
2869
2934
  "tokens": {
2870
- "color": "{palette.color.greyShuttle}"
2935
+ "borderColor": "{palette.color.purpleDeluge}",
2936
+ "borderWidth": "{palette.border.border3}",
2937
+ "icon": "{system.icon.none}"
2871
2938
  }
2872
2939
  },
2873
2940
  {
2874
2941
  "if": {
2875
- "size": "eyebrow"
2942
+ "inactive": true
2876
2943
  },
2877
2944
  "tokens": {
2878
- "color": "{palette.color.greyCharcoal}"
2945
+ "backgroundColor": "{palette.color.greyAthens}",
2946
+ "borderColor": "{palette.color.greyAthens}"
2879
2947
  }
2880
- },
2948
+ }
2949
+ ],
2950
+ "tokens": {
2951
+ "backgroundColor": "{palette.color.white}",
2952
+ "borderColor": "{palette.color.greyShuttle}",
2953
+ "borderRadius": "{palette.radius.radius4}",
2954
+ "borderWidth": "{palette.border.border1}",
2955
+ "color": "{palette.color.greyCharcoal}",
2956
+ "fontName": "{palette.fontName.HelveticaNow}",
2957
+ "fontSize": "{palette.fontSize.size16}",
2958
+ "fontWeight": "{palette.fontWeight.weight400}",
2959
+ "icon": "{system.icon.none}",
2960
+ "iconColor": "{palette.color.transparent}",
2961
+ "iconSize": "{palette.size.size24}",
2962
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2963
+ "outerBackgroundColor": "{palette.color.transparent}",
2964
+ "outerBorderColor": "{palette.color.transparent}",
2965
+ "outerBorderWidth": "{palette.border.border2}",
2966
+ "paddingBottom": "{palette.size.size12}",
2967
+ "paddingLeft": "{palette.size.size16}",
2968
+ "paddingRight": "{palette.size.size16}",
2969
+ "paddingTop": "{palette.size.size12}"
2970
+ }
2971
+ },
2972
+ "ToggleSwitch": {
2973
+ "appearances": {
2974
+ "focus": "{appearances.ToggleSwitch.focus}",
2975
+ "hover": "{appearances.ToggleSwitch.hover}",
2976
+ "inactive": "{appearances.ToggleSwitch.inactive}",
2977
+ "pressed": "{appearances.ToggleSwitch.pressed}",
2978
+ "selected": "{appearances.ToggleSwitch.selected}"
2979
+ },
2980
+ "rules": [
2881
2981
  {
2882
2982
  "if": {
2883
- "size": "eyebrow",
2884
- "colour": "secondary"
2983
+ "hover": true
2885
2984
  },
2886
2985
  "tokens": {
2887
- "color": "{palette.color.purpleTelus}"
2986
+ "backgroundColor": "{palette.color.greyCharcoal}"
2888
2987
  }
2889
2988
  },
2890
2989
  {
2891
2990
  "if": {
2892
- "inverse": true
2991
+ "pressed": true
2893
2992
  },
2894
2993
  "tokens": {
2895
- "color": "{palette.color.white}"
2994
+ "backgroundColor": "{palette.color.greyThunder}"
2896
2995
  }
2897
2996
  },
2898
2997
  {
2899
2998
  "if": {
2900
- "size": "display1"
2999
+ "focus": true
2901
3000
  },
2902
3001
  "tokens": {
2903
- "fontSize": "{palette.fontSize.size40}",
2904
- "fontWeight": "{palette.fontWeight.weight300}",
2905
- "fontName": "{palette.fontName.HelveticaNow}",
2906
- "lineHeight": "{palette.lineHeight.ratio6to5}",
2907
- "letterSpacing": "{palette.letterSpacing.medium}"
3002
+ "outerBackgroundColor": "{palette.color.white}",
3003
+ "outerBorderColor": "{palette.color.greyShuttle}",
3004
+ "outerBorderGap": "{palette.size.size3}",
3005
+ "outerBorderWidth": "{palette.border.border2}"
2908
3006
  }
2909
3007
  },
2910
3008
  {
2911
3009
  "if": {
2912
- "size": "display1",
2913
- "viewport": ["lg", "xl"]
3010
+ "focus": true,
3011
+ "pressed": true
2914
3012
  },
2915
3013
  "tokens": {
2916
- "fontSize": "{palette.fontSize.size64}",
2917
- "lineHeight": "{palette.lineHeight.ratio9to8}"
3014
+ "outerBorderColor": "{palette.color.greyThunder}"
2918
3015
  }
2919
3016
  },
2920
3017
  {
2921
3018
  "if": {
2922
- "size": "display2"
3019
+ "selected": true
2923
3020
  },
2924
3021
  "tokens": {
2925
- "fontSize": "{palette.fontSize.size36}",
2926
- "fontWeight": "{palette.fontWeight.weight400}",
2927
- "fontName": "{palette.fontName.HelveticaNow}",
2928
- "letterSpacing": "{palette.letterSpacing.medium}",
2929
- "lineHeight": "{palette.lineHeight.ratio11to9}"
3022
+ "backgroundColor": "{palette.color.greenAccessible}",
3023
+ "icon": "{palette.icon.Checkmark}",
3024
+ "iconColor": "{palette.color.greenAccessible}"
2930
3025
  }
2931
3026
  },
2932
3027
  {
2933
3028
  "if": {
2934
- "size": "display2",
2935
- "viewport": ["lg", "xl"]
3029
+ "hover": true,
3030
+ "selected": true
2936
3031
  },
2937
3032
  "tokens": {
2938
- "fontSize": "{palette.fontSize.size56}",
2939
- "fontWeight": "{palette.fontWeight.weight300}",
2940
- "fontName": "{palette.fontName.HelveticaNow}",
2941
- "lineHeight": "{palette.lineHeight.ratio8to7}",
2942
- "letterSpacing": "{palette.letterSpacing.condensed}"
3033
+ "backgroundColor": "{palette.color.greenSanFelix}",
3034
+ "iconColor": "{palette.color.greenSanFelix}"
2943
3035
  }
2944
3036
  },
2945
3037
  {
2946
3038
  "if": {
2947
- "size": "h1"
3039
+ "pressed": true,
3040
+ "selected": true
2948
3041
  },
2949
3042
  "tokens": {
2950
- "fontSize": "{palette.fontSize.size28}",
2951
- "lineHeight": "{palette.lineHeight.ratio9to7}",
2952
- "letterSpacing": "{palette.letterSpacing.loose}"
3043
+ "backgroundColor": "{palette.color.greenDarkFern}",
3044
+ "iconColor": "{palette.color.greenDarkFern}"
2953
3045
  }
2954
3046
  },
2955
3047
  {
2956
3048
  "if": {
2957
- "size": "h1",
2958
- "viewport": ["lg", "xl"]
3049
+ "focus": true,
3050
+ "selected": true
2959
3051
  },
2960
3052
  "tokens": {
2961
- "fontSize": "{palette.fontSize.size40}",
2962
- "fontWeight": "{palette.fontWeight.weight300}",
2963
- "fontName": "{palette.fontName.HelveticaNow}",
2964
- "lineHeight": "{palette.lineHeight.ratio6to5}",
2965
- "letterSpacing": "{palette.letterSpacing.medium}"
3053
+ "outerBorderColor": "{palette.color.greenAccessible}"
2966
3054
  }
2967
3055
  },
2968
3056
  {
2969
3057
  "if": {
2970
- "size": "h2"
3058
+ "focus": true,
3059
+ "pressed": true,
3060
+ "selected": true
2971
3061
  },
2972
3062
  "tokens": {
2973
- "fontSize": "{palette.fontSize.size24}",
2974
- "fontWeight": "{palette.fontWeight.weight500}",
2975
- "fontName": "{palette.fontName.HelveticaNow}",
2976
- "lineHeight": "{palette.lineHeight.ratio4to3}"
3063
+ "outerBorderColor": "{palette.color.greenDarkFern}"
2977
3064
  }
2978
3065
  },
2979
3066
  {
2980
3067
  "if": {
2981
- "size": "h2",
2982
- "viewport": ["lg", "xl"]
3068
+ "inactive": true
2983
3069
  },
2984
3070
  "tokens": {
2985
- "fontSize": "{palette.fontSize.size28}",
2986
- "lineHeight": "{palette.lineHeight.ratio9to7}",
2987
- "letterSpacing": "{palette.letterSpacing.loose}"
3071
+ "backgroundColor": "{palette.color.greyCloud}",
3072
+ "iconColor": "{palette.color.greyShuttle}",
3073
+ "outerBorderColor": "{palette.color.greyCloud}"
2988
3074
  }
2989
- },
3075
+ }
3076
+ ],
3077
+ "tokens": {
3078
+ "alignSelf": "{system.flexAlign.flexStart}",
3079
+ "backgroundColor": "{palette.color.greyShuttle}",
3080
+ "borderColor": "{palette.color.transparent}",
3081
+ "borderRadius": "{palette.radius.pill32}",
3082
+ "borderWidth": "{palette.border.none}",
3083
+ "icon": "{system.icon.none}",
3084
+ "iconColor": "{palette.color.greyShuttle}",
3085
+ "iconSize": "{palette.size.size12}",
3086
+ "opacity": "{system.opacity.opaque}",
3087
+ "outerBackgroundColor": "{palette.color.transparent}",
3088
+ "outerBorderColor": "{palette.color.transparent}",
3089
+ "outerBorderGap": "{palette.size.size0}",
3090
+ "outerBorderWidth": "{palette.border.none}",
3091
+ "paddingBottom": "{system.size.zero}",
3092
+ "paddingLeft": "{system.size.zero}",
3093
+ "paddingRight": "{system.size.zero}",
3094
+ "paddingTop": "{system.size.zero}",
3095
+ "shadow": "{palette.shadow.surfaceInset}",
3096
+ "switchBorderColor": "{palette.color.transparent}",
3097
+ "switchBorderRadius": "{palette.radius.pill32}",
3098
+ "switchBorderWidth": "{palette.border.none}",
3099
+ "switchColor": "{palette.color.white}",
3100
+ "switchShadow": "{palette.shadow.surfaceRaised}",
3101
+ "switchSize": "{palette.size.size16}",
3102
+ "trackBorderColor": "{palette.color.transparent}",
3103
+ "trackBorderRadius": "{palette.radius.pill32}",
3104
+ "trackBorderWidth": "{palette.border.border3}",
3105
+ "width": "{palette.size.size40}"
3106
+ }
3107
+ },
3108
+ "Tooltip": {
3109
+ "appearances": {
3110
+ "inverse": {
3111
+ "type": "variant",
3112
+ "values": [true]
3113
+ }
3114
+ },
3115
+ "rules": [
2990
3116
  {
2991
3117
  "if": {
2992
- "size": "h3"
3118
+ "inverse": true
2993
3119
  },
2994
3120
  "tokens": {
2995
- "fontSize": "{palette.fontSize.size20}",
2996
- "fontWeight": "{palette.fontWeight.weight500}",
2997
- "fontName": "{palette.fontName.HelveticaNow}",
2998
- "lineHeight": "{palette.lineHeight.ratio7to5}"
3121
+ "backgroundColor": "{palette.color.white}",
3122
+ "color": "{palette.color.greyCharcoal}"
2999
3123
  }
3124
+ }
3125
+ ],
3126
+ "tokens": {
3127
+ "arrowBorderRadius": "{palette.radius.radius1}",
3128
+ "arrowOffset": "{palette.size.size4}",
3129
+ "arrowWidth": "{palette.size.size16}",
3130
+ "backgroundColor": "{palette.color.greyThunder}",
3131
+ "borderRadius": "{palette.radius.radius8}",
3132
+ "color": "{palette.color.white}",
3133
+ "fontName": "{palette.fontName.HelveticaNow}",
3134
+ "fontSize": "{palette.fontSize.size14}",
3135
+ "fontWeight": "{palette.fontWeight.weight400}",
3136
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
3137
+ "paddingBottom": "{palette.size.size8}",
3138
+ "paddingLeft": "{palette.size.size16}",
3139
+ "paddingRight": "{palette.size.size16}",
3140
+ "paddingTop": "{palette.size.size8}",
3141
+ "shadow": "{palette.shadow.elevation1}"
3142
+ }
3143
+ },
3144
+ "TooltipButton": {
3145
+ "appearances": {
3146
+ "focus": "{appearances.TooltipButton.focus}",
3147
+ "hover": "{appearances.TooltipButton.hover}",
3148
+ "inverse": {
3149
+ "type": "variant",
3150
+ "values": [true]
3000
3151
  },
3152
+ "pressed": "{appearances.TooltipButton.pressed}"
3153
+ },
3154
+ "rules": [
3001
3155
  {
3002
3156
  "if": {
3003
- "size": "h3",
3004
- "viewport": ["lg", "xl"]
3157
+ "inverse": true
3005
3158
  },
3006
3159
  "tokens": {
3007
- "fontSize": "{palette.fontSize.size24}",
3008
- "lineHeight": "{palette.lineHeight.ratio4to3}"
3160
+ "iconColor": "{palette.color.white}"
3009
3161
  }
3010
3162
  },
3011
3163
  {
3012
3164
  "if": {
3013
- "size": "h4"
3165
+ "hover": true
3014
3166
  },
3015
3167
  "tokens": {
3016
- "fontSize": "{palette.fontSize.size16}",
3017
- "fontWeight": "{palette.fontWeight.weight500}",
3018
- "fontName": "{palette.fontName.HelveticaNow}",
3019
- "lineHeight": "{palette.lineHeight.ratio3to2}"
3168
+ "iconScale": "{system.iconScale.scale1_25}"
3020
3169
  }
3021
3170
  },
3022
3171
  {
3023
3172
  "if": {
3024
- "size": "h5"
3173
+ "pressed": true
3025
3174
  },
3026
3175
  "tokens": {
3027
- "fontSize": "{palette.fontSize.size14}",
3028
- "fontWeight": "{palette.fontWeight.weight500}",
3029
- "fontName": "{palette.fontName.HelveticaNow}",
3030
- "lineHeight": "{palette.lineHeight.ratio9to7}"
3176
+ "iconColor": "{palette.color.greyShuttle}"
3031
3177
  }
3032
3178
  },
3033
3179
  {
3034
3180
  "if": {
3035
- "size": "h6"
3181
+ "inverse": true,
3182
+ "pressed": true
3036
3183
  },
3037
3184
  "tokens": {
3038
- "fontSize": "{palette.fontSize.size12}",
3039
- "fontWeight": "{palette.fontWeight.weight700}",
3040
- "fontName": "{palette.fontName.HelveticaNow}",
3041
- "lineHeight": "{palette.lineHeight.ratio4to3}"
3185
+ "iconColor": "{palette.color.greyCloud}"
3042
3186
  }
3043
3187
  },
3044
3188
  {
3045
3189
  "if": {
3046
- "size": "large"
3190
+ "focus": true
3047
3191
  },
3048
3192
  "tokens": {
3049
- "fontSize": "{palette.fontSize.size20}",
3050
- "lineHeight": "{palette.lineHeight.ratio8to5}"
3193
+ "outerBorderColor": "{palette.color.greyShuttle}"
3051
3194
  }
3052
3195
  },
3053
3196
  {
3054
3197
  "if": {
3055
- "size": "large",
3056
- "compact": true
3198
+ "focus": true,
3199
+ "inverse": true
3057
3200
  },
3058
3201
  "tokens": {
3059
- "lineHeight": "{palette.lineHeight.ratio6to5}"
3202
+ "outerBorderColor": "{palette.color.greyCloud}"
3060
3203
  }
3204
+ }
3205
+ ],
3206
+ "tokens": {
3207
+ "borderRadius": "{palette.radius.pill32}",
3208
+ "icon": "{palette.icon.Question}",
3209
+ "iconColor": "{palette.color.greyThunder}",
3210
+ "iconScale": "{system.iconScale.scale1}",
3211
+ "iconSize": "{palette.size.size16}",
3212
+ "outerBorderColor": "{palette.color.transparent}",
3213
+ "outerBorderGap": "{palette.size.size4}",
3214
+ "outerBorderWidth": "{palette.border.border1}",
3215
+ "width": "{palette.size.size16}"
3216
+ }
3217
+ },
3218
+ "Typography": {
3219
+ "appearances": {
3220
+ "bold": {
3221
+ "description": "Sets the font weight, to bold on some body text styles. Does not change accessibility properties.",
3222
+ "type": "variant",
3223
+ "values": [true]
3224
+ },
3225
+ "colour": {
3226
+ "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 use the tokens prop.",
3227
+ "type": "variant",
3228
+ "values": ["secondary", "tertiary"]
3229
+ },
3230
+ "compact": {
3231
+ "description": "Reduces line height on some body text styles. For data-rich content, not for flow content",
3232
+ "type": "variant",
3233
+ "values": [true]
3234
+ },
3235
+ "inverse": {
3236
+ "description": "Styles the link white for use on dark backgrounds.",
3237
+ "type": "variant",
3238
+ "values": [true]
3239
+ },
3240
+ "size": {
3241
+ "description": "Styles text as body or heading text with a given size. Smaller numbers indicate larger sizes,\n\"display\" headings are larger than \"h\" headings. Default is medium size body text. Does not change\naccessibility or SEO-related properties; use the heading prop if text should be treated semantically as a heading.",
3242
+ "type": "variant",
3243
+ "values": [
3244
+ "micro",
3245
+ "small",
3246
+ "large",
3247
+ "eyebrow",
3248
+ "h1",
3249
+ "h2",
3250
+ "h3",
3251
+ "h4",
3252
+ "h5",
3253
+ "h6",
3254
+ "display1",
3255
+ "display2"
3256
+ ]
3061
3257
  },
3258
+ "viewport": "{appearances.system.viewport}"
3259
+ },
3260
+ "rules": [
3062
3261
  {
3063
3262
  "if": {
3064
- "size": null,
3065
- "compact": true
3263
+ "colour": "secondary"
3066
3264
  },
3067
- "description": "The compact line height for the 'default' font size, but doesn't apply for any other styles",
3068
3265
  "tokens": {
3069
- "lineHeight": "{palette.lineHeight.ratio5to4}"
3266
+ "color": "{palette.color.greyCharcoal}"
3070
3267
  }
3071
3268
  },
3072
3269
  {
3073
3270
  "if": {
3074
- "size": "small"
3271
+ "size": ["display1", "display2", "h1", "h2", "h3"]
3075
3272
  },
3076
3273
  "tokens": {
3077
- "fontSize": "{palette.fontSize.size14}",
3078
- "lineHeight": "{palette.lineHeight.ratio10to7}"
3274
+ "color": "{palette.color.purpleTelus}"
3079
3275
  }
3080
3276
  },
3081
3277
  {
3082
3278
  "if": {
3083
- "size": "small",
3084
- "compact": true
3279
+ "colour": "secondary",
3280
+ "size": ["display1", "display2", "h1", "h2", "h3"]
3085
3281
  },
3086
3282
  "tokens": {
3087
- "lineHeight": "{palette.lineHeight.ratio8to7}"
3283
+ "color": "{palette.color.greyThunder}"
3088
3284
  }
3089
3285
  },
3090
3286
  {
3091
3287
  "if": {
3092
- "size": "micro"
3288
+ "colour": "tertiary",
3289
+ "size": "h6"
3093
3290
  },
3094
3291
  "tokens": {
3095
- "fontSize": "{palette.fontSize.size12}",
3096
- "fontWeight": "{palette.fontWeight.weight500}",
3097
- "fontName": "{palette.fontName.HelveticaNow}",
3098
- "lineHeight": "{palette.lineHeight.ratio4to3}"
3292
+ "color": "{palette.color.greyShuttle}"
3099
3293
  }
3100
3294
  },
3101
3295
  {
@@ -3103,452 +3297,269 @@
3103
3297
  "size": "eyebrow"
3104
3298
  },
3105
3299
  "tokens": {
3106
- "fontSize": "{palette.fontSize.size14}",
3107
- "fontWeight": "{palette.fontWeight.weight700}",
3108
- "fontName": "{palette.fontName.HelveticaNow}",
3109
- "textTransform": "{system.textTransform.uppercase}",
3110
- "lineHeight": "{palette.lineHeight.ratio9to7}"
3300
+ "color": "{palette.color.greyCharcoal}"
3111
3301
  }
3112
3302
  },
3113
3303
  {
3114
3304
  "if": {
3115
- "size": ["large", null, "small", "micro"],
3116
- "bold": true
3117
- },
3118
- "description": "Bold is only available on body text styles, not headings",
3119
- "tokens": {
3120
- "fontWeight": "{palette.fontWeight.weight700}",
3121
- "fontName": "{palette.fontName.HelveticaNow}"
3122
- }
3123
- }
3124
- ]
3125
- },
3126
- "Select": {
3127
- "appearances": {
3128
- "validation": "{appearances.Select.validation}",
3129
- "hover": "{appearances.Select.hover}",
3130
- "focus": "{appearances.Select.focus}",
3131
- "inactive": "{appearances.Select.inactive}"
3132
- },
3133
- "tokens": {
3134
- "backgroundColor": "{palette.color.white}",
3135
- "color": "{palette.color.greyCharcoal}",
3136
- "borderWidth": "{palette.border.border1}",
3137
- "borderColor": "{palette.color.greyShuttle}",
3138
- "borderRadius": "{palette.radius.radius4}",
3139
- "paddingTop": "{palette.size.size12}",
3140
- "paddingBottom": "{palette.size.size12}",
3141
- "paddingLeft": "{palette.size.size16}",
3142
- "paddingRight": "{palette.size.size16}",
3143
- "height": "{palette.size.size48}",
3144
- "outerBackgroundColor": "{palette.color.transparent}",
3145
- "outerBorderWidth": "{palette.border.border2}",
3146
- "outerBorderColor": "{palette.color.transparent}",
3147
- "fontSize": "{palette.fontSize.size16}",
3148
- "fontName": "{palette.fontName.HelveticaNow}",
3149
- "fontWeight": "{palette.fontWeight.weight400}",
3150
- "icon": "{palette.icon.CaretDown}",
3151
- "iconSize": "{palette.fontSize.size24}",
3152
- "iconColor": "{palette.color.greenAccessible}",
3153
- "validationIcon": "{system.icon.none}",
3154
- "validationIconSize": "{palette.fontSize.size24}",
3155
- "validationIconColor": "{palette.color.transparent}"
3156
- },
3157
- "rules": [
3158
- {
3159
- "if": {
3160
- "hover": true,
3161
- "inactive": null
3305
+ "colour": "secondary",
3306
+ "size": "eyebrow"
3162
3307
  },
3163
3308
  "tokens": {
3164
- "outerBorderColor": "{palette.color.greyMystic}",
3165
- "outerBackgroundColor": "{palette.color.greyMystic}"
3309
+ "color": "{palette.color.purpleTelus}"
3166
3310
  }
3167
3311
  },
3168
3312
  {
3169
3313
  "if": {
3170
- "validation": "success"
3314
+ "inverse": true
3171
3315
  },
3172
3316
  "tokens": {
3173
- "borderColor": "{palette.color.greenAccessible}",
3174
- "validationIcon": "{palette.icon.StatusSuccess}",
3175
- "validationIconColor": "{palette.color.greenAccessible}"
3317
+ "color": "{palette.color.white}"
3176
3318
  }
3177
3319
  },
3178
3320
  {
3179
3321
  "if": {
3180
- "validation": "error"
3322
+ "size": "display1"
3181
3323
  },
3182
3324
  "tokens": {
3183
- "borderColor": "{palette.color.red}",
3184
- "validationIcon": "{palette.icon.StatusError}",
3185
- "validationIconColor": "{palette.color.red}"
3325
+ "fontName": "{palette.fontName.HelveticaNow}",
3326
+ "fontSize": "{palette.fontSize.size40}",
3327
+ "fontWeight": "{palette.fontWeight.weight300}",
3328
+ "letterSpacing": "{palette.letterSpacing.medium}",
3329
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3186
3330
  }
3187
3331
  },
3188
3332
  {
3189
3333
  "if": {
3190
- "focus": true
3334
+ "size": "display1",
3335
+ "viewport": ["lg", "xl"]
3191
3336
  },
3192
3337
  "tokens": {
3193
- "borderColor": "{palette.color.purpleDeluge}",
3194
- "borderWidth": "{palette.border.border3}",
3195
- "validationIcon": "{system.icon.none}"
3338
+ "fontSize": "{palette.fontSize.size64}",
3339
+ "lineHeight": "{palette.lineHeight.ratio9to8}"
3196
3340
  }
3197
3341
  },
3198
3342
  {
3199
3343
  "if": {
3200
- "inactive": true
3344
+ "size": "display2"
3201
3345
  },
3202
- "tokens": {
3203
- "backgroundColor": "{palette.color.greyAthens}",
3204
- "borderColor": "{palette.color.greyAthens}"
3205
- }
3206
- }
3207
- ]
3208
- },
3209
- "SideNav": {
3210
- "appearances": {},
3211
- "tokens": {
3212
- "borderColor": "{palette.color.greyCloud}",
3213
- "borderWidth": "{palette.border.border1}",
3214
- "borderStyle": "{system.borderStyle.solid}"
3215
- },
3216
- "rules": []
3217
- },
3218
- "SideNavItem": {
3219
- "appearances": {
3220
- "active": "{appearances.SideNavItem.active}",
3221
- "type": "{appearances.SideNavItem.type}",
3222
- "expanded": "{appearances.SideNavItem.expanded}",
3223
- "hover": "{appearances.SideNavItem.hover}"
3224
- },
3225
- "tokens": {
3226
- "borderColor": "{palette.color.greyCloud}",
3227
- "borderWidth": "{palette.border.border1}",
3228
- "borderStyle": "{system.borderStyle.solid}",
3229
- "paddingLeft": "{palette.size.size16}",
3230
- "paddingRight": "{palette.size.size16}",
3231
- "paddingTop": "{palette.size.size16}",
3232
- "paddingBottom": "{palette.size.size16}",
3233
- "justifyContent": "{system.flexJustifyContent.spaceBetween}",
3234
- "color": "{palette.color.greyCharcoal}",
3235
- "accentOffset": "{system.size.zero}",
3236
- "accentPadding": "{system.size.zero}",
3237
- "accentWidth": "{palette.size.size4}",
3238
- "accentBackgroundColor": "{palette.color.transparent}",
3239
- "fontSize": "{palette.fontSize.size16}",
3240
- "fontWeight": "{palette.fontWeight.weight400}",
3241
- "fontName": "{palette.fontName.HelveticaNow}",
3242
- "lineHeight": "{palette.lineHeight.ratio3to2}",
3243
- "backgroundColor": "{palette.color.transparent}"
3244
- },
3245
- "rules": [
3346
+ "tokens": {
3347
+ "fontName": "{palette.fontName.HelveticaNow}",
3348
+ "fontSize": "{palette.fontSize.size36}",
3349
+ "fontWeight": "{palette.fontWeight.weight400}",
3350
+ "letterSpacing": "{palette.letterSpacing.medium}",
3351
+ "lineHeight": "{palette.lineHeight.ratio11to9}"
3352
+ }
3353
+ },
3246
3354
  {
3247
3355
  "if": {
3248
- "active": true
3356
+ "size": "display2",
3357
+ "viewport": ["lg", "xl"]
3249
3358
  },
3250
3359
  "tokens": {
3251
- "paddingLeft": "{palette.size.size12}",
3252
- "accentBackgroundColor": "{palette.color.purpleTelus}",
3253
- "color": "{palette.color.purpleTelus}",
3254
- "fontWeight": "{palette.fontWeight.weight700}",
3255
- "fontName": "{palette.fontName.HelveticaNow}"
3360
+ "fontName": "{palette.fontName.HelveticaNow}",
3361
+ "fontSize": "{palette.fontSize.size56}",
3362
+ "fontWeight": "{palette.fontWeight.weight300}",
3363
+ "letterSpacing": "{palette.letterSpacing.condensed}",
3364
+ "lineHeight": "{palette.lineHeight.ratio8to7}"
3256
3365
  }
3257
3366
  },
3258
3367
  {
3259
3368
  "if": {
3260
- "type": "child"
3369
+ "size": "h1"
3261
3370
  },
3262
3371
  "tokens": {
3263
- "paddingLeft": "{palette.size.size36}",
3264
- "borderWidth": "{palette.border.none}",
3265
- "accentBackgroundColor": "{palette.color.greyAthens}",
3266
- "accentOffset": "{palette.size.size16}",
3267
- "fontSize": "{palette.fontSize.size14}",
3268
- "lineHeight": "{palette.lineHeight.ratio7to5}"
3372
+ "fontSize": "{palette.fontSize.size28}",
3373
+ "letterSpacing": "{palette.letterSpacing.loose}",
3374
+ "lineHeight": "{palette.lineHeight.ratio9to7}"
3269
3375
  }
3270
3376
  },
3271
3377
  {
3272
3378
  "if": {
3273
- "type": "parent",
3274
- "active": true
3379
+ "size": "h1",
3380
+ "viewport": ["lg", "xl"]
3275
3381
  },
3276
3382
  "tokens": {
3277
- "paddingLeft": "{palette.size.size12}"
3383
+ "fontName": "{palette.fontName.HelveticaNow}",
3384
+ "fontSize": "{palette.fontSize.size40}",
3385
+ "fontWeight": "{palette.fontWeight.weight300}",
3386
+ "letterSpacing": "{palette.letterSpacing.medium}",
3387
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3278
3388
  }
3279
3389
  },
3280
3390
  {
3281
3391
  "if": {
3282
- "type": "parent",
3283
- "active": true,
3284
- "expanded": true
3392
+ "size": "h2"
3285
3393
  },
3286
3394
  "tokens": {
3287
- "paddingLeft": "{palette.size.size16}",
3288
- "accentBackgroundColor": "{palette.color.transparent}",
3289
- "color": "{palette.color.greyCharcoal}"
3395
+ "fontName": "{palette.fontName.HelveticaNow}",
3396
+ "fontSize": "{palette.fontSize.size24}",
3397
+ "fontWeight": "{palette.fontWeight.weight500}",
3398
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3290
3399
  }
3291
3400
  },
3292
3401
  {
3293
3402
  "if": {
3294
- "hover": true
3403
+ "size": "h2",
3404
+ "viewport": ["lg", "xl"]
3295
3405
  },
3296
3406
  "tokens": {
3297
- "backgroundColor": "{palette.color.greyAthens}",
3298
- "color": "{palette.color.purpleTelus}"
3407
+ "fontSize": "{palette.fontSize.size28}",
3408
+ "letterSpacing": "{palette.letterSpacing.loose}",
3409
+ "lineHeight": "{palette.lineHeight.ratio9to7}"
3299
3410
  }
3300
3411
  },
3301
3412
  {
3302
3413
  "if": {
3303
- "type": "child",
3304
- "active": true
3414
+ "size": "h3"
3305
3415
  },
3306
3416
  "tokens": {
3307
- "backgroundColor": "{palette.color.greyAthens}",
3308
- "color": "{palette.color.purpleTelus}",
3309
- "accentPadding": "{palette.size.size16}",
3310
- "accentBackgroundColor": "{palette.color.purpleTelus}"
3417
+ "fontName": "{palette.fontName.HelveticaNow}",
3418
+ "fontSize": "{palette.fontSize.size20}",
3419
+ "fontWeight": "{palette.fontWeight.weight500}",
3420
+ "lineHeight": "{palette.lineHeight.ratio7to5}"
3311
3421
  }
3312
3422
  },
3313
3423
  {
3314
3424
  "if": {
3315
- "type": "child",
3316
- "active": false,
3317
- "hover": true
3425
+ "size": "h3",
3426
+ "viewport": ["lg", "xl"]
3318
3427
  },
3319
3428
  "tokens": {
3320
- "accentBackgroundColor": "{palette.color.white}",
3321
- "color": "{palette.color.greyCharcoal}",
3322
- "accentOffset": "{system.size.zero}",
3323
- "accentWidth": "{palette.size.size16}"
3429
+ "fontSize": "{palette.fontSize.size24}",
3430
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3324
3431
  }
3325
- }
3326
- ]
3327
- },
3328
- "SideNavItemsGroup": {
3329
- "appearances": {
3330
- "expanded": "{appearances.SideNavItemGroup.expanded}"
3331
- },
3332
- "tokens": {
3333
- "expandDuration": "{palette.duration.duration300}",
3334
- "collapseDuration": "{palette.duration.duration250}",
3335
- "contentPaddingLeft": "{palette.size.size0}",
3336
- "contentPaddingRight": "{palette.size.size0}",
3337
- "contentPaddingTop": "{palette.size.size0}",
3338
- "contentPaddingBottom": "{palette.size.size0}",
3339
- "icon": "{palette.icon.CaretDown}",
3340
- "iconColor": "{palette.color.purpleTelus}",
3341
- "iconGap": "{palette.size.size8}",
3342
- "iconSize": "{palette.size.size24}",
3343
- "iconPosition": "{system.position.right}",
3344
- "verticalAlign": "{system.verticalAlign.middle}",
3345
- "justifyContent": "{system.flexJustifyContent.spaceBetween}"
3346
- },
3347
- "rules": [
3432
+ },
3348
3433
  {
3349
3434
  "if": {
3350
- "expanded": true
3435
+ "size": "h4"
3351
3436
  },
3352
3437
  "tokens": {
3353
- "icon": "{palette.icon.CaretUp}"
3438
+ "fontName": "{palette.fontName.HelveticaNow}",
3439
+ "fontSize": "{palette.fontSize.size16}",
3440
+ "fontWeight": "{palette.fontWeight.weight500}",
3441
+ "lineHeight": "{palette.lineHeight.ratio3to2}"
3354
3442
  }
3355
- }
3356
- ]
3357
- },
3358
- "Skeleton": {
3359
- "appearances": {},
3360
- "tokens": {
3361
- "color": "{palette.color.greyCloud}",
3362
- "size": "{palette.border.border3}",
3363
- "radius": "{palette.size.size120}",
3364
- "baseWidth": "{palette.size.size40}",
3365
- "characters": "{palette.size.size10}",
3366
- "spaceBetweenLines": "{palette.size.size2}",
3367
- "squareRadius": "{palette.size.size4}"
3368
- },
3369
- "rules": []
3370
- },
3371
- "StackView": {
3372
- "appearances": {},
3373
- "tokens": {
3374
- "alignItems": "{system.flexAlign.stretch}",
3375
- "justifyContent": "{system.flexJustifyContent.flexStart}",
3376
- "flexGrow": "{system.integer.0}"
3377
- },
3378
- "rules": []
3379
- },
3380
- "Tags": {
3381
- "appearances": {
3382
- "viewport": "{appearances.system.viewport}"
3383
- },
3384
- "tokens": {
3385
- "space": "{system.integer.1}",
3386
- "direction": "{system.direction.row}",
3387
- "alignItems": "{system.flexAlign.center}",
3388
- "justifyContent": "{system.flexJustifyContent.flexStart}",
3389
- "flexGrow": "{system.integer.0}"
3390
- },
3391
- "rules": [
3443
+ },
3392
3444
  {
3393
3445
  "if": {
3394
- "viewport": ["lg", "xl"]
3446
+ "size": "h5"
3395
3447
  },
3396
3448
  "tokens": {
3397
- "space": "{system.integer.3}"
3449
+ "fontName": "{palette.fontName.HelveticaNow}",
3450
+ "fontSize": "{palette.fontSize.size14}",
3451
+ "fontWeight": "{palette.fontWeight.weight500}",
3452
+ "lineHeight": "{palette.lineHeight.ratio9to7}"
3398
3453
  }
3399
- }
3400
- ]
3401
- },
3402
- "TagsItem": {
3403
- "appearances": {
3404
- "hover": "{appearances.TagsItem.hover}",
3405
- "focus": "{appearances.TagsItem.focus}",
3406
- "pressed": "{appearances.TagsItem.pressed}",
3407
- "selected": "{appearances.TagsItem.selected}",
3408
- "inactive": "{appearances.TagsItem.inactive}"
3409
- },
3410
- "tokens": {
3411
- "iconSize": "{palette.size.size16}",
3412
- "iconColor": "{palette.color.greyThunder}",
3413
- "iconTranslateX": "{system.integer.0}",
3414
- "iconTranslateY": "{system.integer.0}",
3415
- "icon": "{palette.icon.Add}",
3416
- "iconPosition": "{system.position.right}",
3417
- "iconSpace": "{system.integer.2}",
3418
- "iconBackground": "{palette.color.greyAthens}",
3419
- "iconBorderRadius": "{palette.radius.pill32}",
3420
- "iconAlignSelf": "{system.flexAlign.center}",
3421
- "iconPadding": "{palette.size.size2}",
3422
- "borderColor": "{palette.color.greyCloud}",
3423
- "borderWidth": "{palette.border.border1}",
3424
- "borderRadius": "{palette.radius.pill32}",
3425
- "shadow": "{system.shadow.none}",
3426
- "fontSize": "{palette.fontSize.size14}",
3427
- "color": "{palette.color.greyShuttle}",
3428
- "lineHeight": "{palette.lineHeight.ratio10to7}",
3429
- "textAlign": "{system.flexJustifyContent.center}",
3430
- "alignSelf": "{system.flexAlign.center}",
3431
- "fontName": "{palette.fontName.HelveticaNow}",
3432
- "fontWeight": "{palette.fontWeight.weight700}",
3433
- "backgroundColor": "{palette.color.white}",
3434
- "opacity": "{system.opacity.opaque}",
3435
- "paddingLeft": "{palette.size.size16}",
3436
- "paddingRight": "{palette.size.size8}",
3437
- "paddingTop": "{palette.size.size8}",
3438
- "paddingBottom": "{palette.size.size8}",
3439
- "width": "{system.size.none}",
3440
- "minWidth": "{system.size.zero}",
3441
- "outerBorderColor": "{palette.color.transparent}",
3442
- "outerBorderWidth": "{palette.border.border2}",
3443
- "outerBorderGap": "{palette.border.border2}",
3444
- "outerBackgroundColor": "{palette.color.transparent}"
3445
- },
3446
- "rules": [
3454
+ },
3447
3455
  {
3448
3456
  "if": {
3449
- "pressed": true
3457
+ "size": "h6"
3450
3458
  },
3451
3459
  "tokens": {
3452
- "borderWidth": "{palette.border.none}",
3453
- "backgroundColor": "{palette.color.greyShuttle}",
3454
- "borderColor": "{palette.color.greyShuttle}",
3455
- "color": "{palette.color.white}",
3456
- "iconColor": "{palette.color.white}",
3457
- "iconBackground": "{palette.color.greyCharcoal}"
3460
+ "fontName": "{palette.fontName.HelveticaNow}",
3461
+ "fontSize": "{palette.fontSize.size12}",
3462
+ "fontWeight": "{palette.fontWeight.weight700}",
3463
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3458
3464
  }
3459
3465
  },
3460
3466
  {
3461
3467
  "if": {
3462
- "focus": true
3468
+ "size": "large"
3463
3469
  },
3464
3470
  "tokens": {
3465
- "borderColor": "{palette.color.greyShuttle}",
3466
- "outerBorderColor": "{palette.color.greyShuttle}",
3467
- "outerBorderGap": "{palette.size.size2}",
3468
- "outerBorderWidth": "{palette.size.size2}"
3471
+ "fontSize": "{palette.fontSize.size20}",
3472
+ "lineHeight": "{palette.lineHeight.ratio8to5}"
3469
3473
  }
3470
3474
  },
3471
3475
  {
3472
3476
  "if": {
3473
- "hover": true
3477
+ "compact": true,
3478
+ "size": "large"
3474
3479
  },
3475
3480
  "tokens": {
3476
- "borderWidth": "{palette.border.border3}"
3481
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3477
3482
  }
3478
3483
  },
3479
3484
  {
3485
+ "description": "The compact line height for the 'default' font size, but doesn't apply for any other styles",
3480
3486
  "if": {
3481
- "selected": true
3487
+ "compact": true,
3488
+ "size": null
3482
3489
  },
3483
3490
  "tokens": {
3484
- "borderWidth": "{palette.border.none}",
3485
- "backgroundColor": "{palette.color.purpleTelus}",
3486
- "color": "{palette.color.white}",
3487
- "icon": "{palette.icon.Close}",
3488
- "iconColor": "{palette.color.white}",
3489
- "iconBackground": "{palette.color.purpleDeluge}"
3491
+ "lineHeight": "{palette.lineHeight.ratio5to4}"
3490
3492
  }
3491
3493
  },
3492
3494
  {
3493
3495
  "if": {
3494
- "selected": true,
3495
- "hover": true
3496
+ "size": "small"
3496
3497
  },
3497
3498
  "tokens": {
3498
- "backgroundColor": "{palette.color.purpleDeluge}",
3499
- "iconBackground": "{palette.color.purpleTelus}"
3499
+ "fontSize": "{palette.fontSize.size14}",
3500
+ "lineHeight": "{palette.lineHeight.ratio10to7}"
3500
3501
  }
3501
3502
  },
3502
3503
  {
3503
3504
  "if": {
3504
- "selected": true,
3505
- "pressed": true
3505
+ "compact": true,
3506
+ "size": "small"
3506
3507
  },
3507
3508
  "tokens": {
3508
- "backgroundColor": "{palette.color.purpleDark}",
3509
- "iconBackground": "{palette.color.purpleDeluge}"
3509
+ "lineHeight": "{palette.lineHeight.ratio8to7}"
3510
3510
  }
3511
3511
  },
3512
3512
  {
3513
3513
  "if": {
3514
- "selected": true,
3515
- "focus": true
3514
+ "size": "micro"
3516
3515
  },
3517
3516
  "tokens": {
3518
- "outerBorderColor": "{palette.color.purpleTelus}"
3517
+ "fontName": "{palette.fontName.HelveticaNow}",
3518
+ "fontSize": "{palette.fontSize.size12}",
3519
+ "fontWeight": "{palette.fontWeight.weight500}",
3520
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3519
3521
  }
3520
3522
  },
3521
3523
  {
3522
3524
  "if": {
3523
- "selected": true,
3524
- "focus": true,
3525
- "pressed": true
3525
+ "size": "eyebrow"
3526
3526
  },
3527
3527
  "tokens": {
3528
- "outerBorderColor": "{palette.color.purpleDark}",
3529
- "iconBackground": "{palette.color.purpleDeluge}"
3528
+ "fontName": "{palette.fontName.HelveticaNow}",
3529
+ "fontSize": "{palette.fontSize.size14}",
3530
+ "fontWeight": "{palette.fontWeight.weight700}",
3531
+ "lineHeight": "{palette.lineHeight.ratio9to7}",
3532
+ "textTransform": "{system.textTransform.uppercase}"
3530
3533
  }
3531
3534
  },
3532
3535
  {
3536
+ "description": "Bold is only available on body text styles, not headings",
3533
3537
  "if": {
3534
- "inactive": true
3538
+ "bold": true,
3539
+ "size": ["large", null, "small", "micro"]
3535
3540
  },
3536
3541
  "tokens": {
3537
- "backgroundColor": "{palette.color.greyCloud}",
3538
- "color": "{palette.color.white}",
3539
- "borderWidth": "{system.border.zero}"
3542
+ "fontName": "{palette.fontName.HelveticaNow}",
3543
+ "fontWeight": "{palette.fontWeight.weight700}"
3540
3544
  }
3541
3545
  }
3542
- ]
3546
+ ],
3547
+ "tokens": {
3548
+ "color": "{palette.color.greyThunder}",
3549
+ "fontName": "{palette.fontName.HelveticaNow}",
3550
+ "fontScaleCap": "{palette.fontSize.size64}",
3551
+ "fontSize": "{palette.fontSize.size16}",
3552
+ "fontWeight": "{palette.fontWeight.weight400}",
3553
+ "letterSpacing": "{system.letterSpacing.none}",
3554
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
3555
+ "textTransform": "{system.textTransform.none}"
3556
+ }
3543
3557
  },
3544
3558
  "spacingScale": {
3545
3559
  "appearances": {
3546
3560
  "space": "{appearances.spacingScale.space}",
3547
3561
  "viewport": "{appearances.system.viewport}"
3548
3562
  },
3549
- "tokens": {
3550
- "size": "{palette.size.size96}"
3551
- },
3552
3563
  "rules": [
3553
3564
  {
3554
3565
  "if": {
@@ -3708,7 +3719,10 @@
3708
3719
  "size": "{palette.size.size0}"
3709
3720
  }
3710
3721
  }
3711
- ]
3722
+ ],
3723
+ "tokens": {
3724
+ "size": "{palette.size.size96}"
3725
+ }
3712
3726
  }
3713
3727
  }
3714
3728
  }