@telus-uds/theme-allium 4.8.0 → 4.10.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.
@@ -255,6 +255,7 @@
255
255
  "alpha": 1
256
256
  },
257
257
  "fontName": "HelveticaNow",
258
+ "fontSize": 12,
258
259
  "fontWeight": 700,
259
260
  "gradient": null,
260
261
  "paddingBottom": 2,
@@ -339,6 +340,7 @@
339
340
  "appearances": {
340
341
  "background": {
341
342
  "description": "Background colour of box. Transparent if not specified.",
343
+ "type": "variant",
342
344
  "values": [
343
345
  "lightest",
344
346
  "lighter",
@@ -2264,8 +2266,7 @@
2264
2266
  },
2265
2267
  "tokens": {
2266
2268
  "showPanelTabs": false,
2267
- "showPreviousNextNavigation": false,
2268
- "thumbnailSize": 48
2269
+ "showPreviousNextNavigation": false
2269
2270
  }
2270
2271
  }
2271
2272
  ],
@@ -2283,25 +2284,12 @@
2283
2284
  "showPreviousNextNavigation": true,
2284
2285
  "spaceBetweenSlideAndPanelNavigation": 32,
2285
2286
  "spaceBetweenSlideAndPreviousNextNavigation": 24,
2286
- "thumbnailBorderColor": {
2287
- "red": 0.8902,
2288
- "green": 0.90196,
2289
- "blue": 0.9098,
2290
- "alpha": 1
2291
- },
2292
- "thumbnailBorderRadius": 4,
2293
- "thumbnailBorderWidth": 1,
2294
- "thumbnailContainerPaddingTop": 24,
2295
- "thumbnailMargin": 4,
2296
- "thumbnailPadding": 8,
2297
- "thumbnailSelectedBorderColor": {
2298
- "red": 0.40392,
2299
- "green": 0.43137,
2300
- "blue": 0.45098,
2301
- "alpha": 1
2302
- },
2303
- "thumbnailSelectedBorderWidth": 2,
2304
- "thumbnailSize": 56
2287
+ "stepTrackerCurrentBackgroundColor": {
2288
+ "red": 0,
2289
+ "green": 0,
2290
+ "blue": 0,
2291
+ "alpha": 0
2292
+ }
2305
2293
  }
2306
2294
  },
2307
2295
  "CarouselTabsPanelItem": {
@@ -2441,7 +2429,9 @@
2441
2429
  "green": 1,
2442
2430
  "blue": 1,
2443
2431
  "alpha": 1
2444
- }
2432
+ },
2433
+ "fontName": "HelveticaNow",
2434
+ "fontWeight": 700
2445
2435
  }
2446
2436
  }
2447
2437
  ],
@@ -2468,13 +2458,74 @@
2468
2458
  "fontWeight": 400,
2469
2459
  "justifyContent": "flex-start",
2470
2460
  "letterSpacing": 0,
2471
- "lineHeight": 1.125,
2461
+ "lineHeight": 1.45,
2472
2462
  "paddingBottom": 16,
2473
2463
  "paddingLeft": 0,
2474
2464
  "paddingRight": 0,
2475
2465
  "paddingTop": 0
2476
2466
  }
2477
2467
  },
2468
+ "CarouselThumbnail": {
2469
+ "appearances": {
2470
+ "pressed": {
2471
+ "description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
2472
+ "values": [true, false],
2473
+ "type": "state"
2474
+ },
2475
+ "viewport": {
2476
+ "description": "The size label for the current screen viewport based on the current screen width",
2477
+ "values": ["xs", "sm", "md", "lg", "xl"],
2478
+ "type": "state"
2479
+ }
2480
+ },
2481
+ "rules": [
2482
+ {
2483
+ "if": {
2484
+ "viewport": ["xs", "sm"]
2485
+ },
2486
+ "tokens": {
2487
+ "alignItems": "flex-start",
2488
+ "size": 48
2489
+ }
2490
+ },
2491
+ {
2492
+ "if": {
2493
+ "pressed": true
2494
+ },
2495
+ "tokens": {
2496
+ "borderColor": {
2497
+ "red": 0.12157,
2498
+ "green": 0.36078,
2499
+ "blue": 0.03529,
2500
+ "alpha": 1
2501
+ },
2502
+ "borderWidth": 2
2503
+ }
2504
+ }
2505
+ ],
2506
+ "tokens": {
2507
+ "alignItems": "center",
2508
+ "borderColor": {
2509
+ "red": 0.8902,
2510
+ "green": 0.90196,
2511
+ "blue": 0.9098,
2512
+ "alpha": 1
2513
+ },
2514
+ "borderRadius": 4,
2515
+ "borderWidth": 1,
2516
+ "containerPaddingTop": 24,
2517
+ "margin": 4,
2518
+ "padding": 8,
2519
+ "selectedBorderColor": {
2520
+ "red": 0.40392,
2521
+ "green": 0.43137,
2522
+ "blue": 0.45098,
2523
+ "alpha": 1
2524
+ },
2525
+ "selectedBorderWidth": 2,
2526
+ "size": 72
2527
+ }
2528
+ },
2478
2529
  "Checkbox": {
2479
2530
  "appearances": {
2480
2531
  "checked": {
@@ -2944,15 +2995,15 @@
2944
2995
  "alpha": 1
2945
2996
  },
2946
2997
  "calendarDayBlockedCalendarHoverBackground": {
2947
- "red": 0.98039,
2948
- "green": 0.98039,
2949
- "blue": 0.98039,
2998
+ "red": 0.95686,
2999
+ "green": 0.95686,
3000
+ "blue": 0.96863,
2950
3001
  "alpha": 1
2951
3002
  },
2952
3003
  "calendarDayBlockedCalendarHoverColor": {
2953
- "red": 0.40392,
2954
- "green": 0.43137,
2955
- "blue": 0.45098,
3004
+ "red": 0.69804,
3005
+ "green": 0.72549,
3006
+ "blue": 0.74902,
2956
3007
  "alpha": 1
2957
3008
  },
2958
3009
  "calendarDayDefaultBackgroundColor": {
@@ -3204,7 +3255,7 @@
3204
3255
  },
3205
3256
  "expanded": {
3206
3257
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
3207
- "values": [true],
3258
+ "values": [true, false],
3208
3259
  "type": "state"
3209
3260
  },
3210
3261
  "mini": {
@@ -3295,7 +3346,7 @@
3295
3346
  },
3296
3347
  "expanded": {
3297
3348
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
3298
- "values": [true],
3349
+ "values": [true, false],
3299
3350
  "type": "state"
3300
3351
  },
3301
3352
  "inverse": {
@@ -3615,7 +3666,7 @@
3615
3666
  "blue": 0.18824,
3616
3667
  "alpha": 1
3617
3668
  },
3618
- "contentFontSize": 14,
3669
+ "contentFontSize": 16,
3619
3670
  "fontName": "HelveticaNow",
3620
3671
  "fontWeight": 400,
3621
3672
  "icon": null,
@@ -4464,15 +4515,23 @@
4464
4515
  "blue": 0,
4465
4516
  "alpha": 0
4466
4517
  },
4518
+ "borderBottomLeftRadius": null,
4519
+ "borderBottomRightRadius": null,
4520
+ "borderBottomWidth": null,
4467
4521
  "borderColor": {
4468
4522
  "red": 0.40392,
4469
4523
  "green": 0.43137,
4470
4524
  "blue": 0.45098,
4471
4525
  "alpha": 1
4472
4526
  },
4527
+ "borderLeftWidth": null,
4473
4528
  "borderRadius": 99999999999999,
4529
+ "borderRightWidth": null,
4530
+ "borderTopLeftRadius": null,
4531
+ "borderTopRightRadius": null,
4532
+ "borderTopWidth": null,
4474
4533
  "borderWidth": 1,
4475
- "icon": null,
4534
+ "icon": "PaletteIconAdd",
4476
4535
  "iconColor": {
4477
4536
  "red": 0.40392,
4478
4537
  "green": 0.43137,
@@ -4490,7 +4549,7 @@
4490
4549
  "alpha": 0
4491
4550
  },
4492
4551
  "outerBorderGap": 0,
4493
- "outerBorderWidth": 0,
4552
+ "outerBorderWidth": null,
4494
4553
  "padding": 4,
4495
4554
  "shadow": null
4496
4555
  }
@@ -4833,7 +4892,7 @@
4833
4892
  },
4834
4893
  "expanded": {
4835
4894
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
4836
- "values": [true],
4895
+ "values": [true, false],
4837
4896
  "type": "state"
4838
4897
  },
4839
4898
  "isChild": {
@@ -5331,7 +5390,7 @@
5331
5390
  "appearances": {
5332
5391
  "expanded": {
5333
5392
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
5334
- "values": [true],
5393
+ "values": [true, false],
5335
5394
  "type": "state"
5336
5395
  },
5337
5396
  "pressed": {
@@ -6370,7 +6429,8 @@
6370
6429
  "alternative": true
6371
6430
  },
6372
6431
  "tokens": {
6373
- "padding": 0
6432
+ "paddingBottom": 8,
6433
+ "paddingTop": 8
6374
6434
  }
6375
6435
  },
6376
6436
  {
@@ -6378,12 +6438,6 @@
6378
6438
  "hover": true
6379
6439
  },
6380
6440
  "tokens": {
6381
- "backgroundColor": {
6382
- "red": 0.95686,
6383
- "green": 0.95686,
6384
- "blue": 0.96863,
6385
- "alpha": 1
6386
- },
6387
6441
  "inputBackgroundColor": {
6388
6442
  "red": 0.95686,
6389
6443
  "green": 0.95686,
@@ -6397,16 +6451,16 @@
6397
6451
  "disabled": true
6398
6452
  },
6399
6453
  "tokens": {
6400
- "backgroundColor": {
6454
+ "inputBackgroundColor": {
6401
6455
  "red": 0.98039,
6402
6456
  "green": 0.98039,
6403
6457
  "blue": 0.98039,
6404
6458
  "alpha": 1
6405
6459
  },
6406
- "iconColor": {
6407
- "red": 0.8902,
6408
- "green": 0.90196,
6409
- "blue": 0.9098,
6460
+ "textColor": {
6461
+ "red": 0.69804,
6462
+ "green": 0.72549,
6463
+ "blue": 0.74902,
6410
6464
  "alpha": 1
6411
6465
  }
6412
6466
  }
@@ -6416,7 +6470,7 @@
6416
6470
  "pressed": true
6417
6471
  },
6418
6472
  "tokens": {
6419
- "backgroundColor": {
6473
+ "inputBackgroundColor": {
6420
6474
  "red": 0.69804,
6421
6475
  "green": 0.72549,
6422
6476
  "blue": 0.74902,
@@ -6440,47 +6494,230 @@
6440
6494
  }
6441
6495
  ],
6442
6496
  "tokens": {
6443
- "backgroundColor": {
6444
- "red": 0,
6445
- "green": 0,
6446
- "blue": 0,
6447
- "alpha": 0
6497
+ "fontSize": 16,
6498
+ "inputBackgroundColor": {
6499
+ "red": 1,
6500
+ "green": 1,
6501
+ "blue": 1,
6502
+ "alpha": 1
6448
6503
  },
6449
- "borderColor": {
6504
+ "inputBorderColor": {
6450
6505
  "red": 0.40392,
6451
6506
  "green": 0.43137,
6452
6507
  "blue": 0.45098,
6453
6508
  "alpha": 1
6454
6509
  },
6455
- "iconColor": {
6456
- "red": 0.40392,
6457
- "green": 0.43137,
6458
- "blue": 0.45098,
6510
+ "inputBorderWidth": 1,
6511
+ "inputWidth": 64,
6512
+ "lineHeight": 1.5,
6513
+ "padding": 12,
6514
+ "paddingBottom": 12,
6515
+ "paddingLeft": 12,
6516
+ "paddingRight": 12,
6517
+ "paddingTop": 12,
6518
+ "textColor": {
6519
+ "red": 0.2549,
6520
+ "green": 0.27059,
6521
+ "blue": 0.27843,
6459
6522
  "alpha": 1
6523
+ }
6524
+ }
6525
+ },
6526
+ "QuantitySelectorSideButton": {
6527
+ "appearances": {
6528
+ "alternative": {
6529
+ "type": "variant",
6530
+ "values": [true, false]
6460
6531
  },
6461
- "iconSize": 16,
6462
- "inputBackgroundColor": {
6532
+ "decrease": {
6533
+ "type": "variant",
6534
+ "values": [true]
6535
+ },
6536
+ "disabled": {
6537
+ "type": "variant",
6538
+ "values": [true]
6539
+ },
6540
+ "focus": {
6541
+ "type": "variant",
6542
+ "values": [true]
6543
+ },
6544
+ "hover": {
6545
+ "type": "variant",
6546
+ "values": [true]
6547
+ },
6548
+ "increase": {
6549
+ "type": "variant",
6550
+ "values": [true]
6551
+ },
6552
+ "pressed": {
6553
+ "type": "variant",
6554
+ "values": [true]
6555
+ }
6556
+ },
6557
+ "rules": [
6558
+ {
6559
+ "if": {
6560
+ "hover": true
6561
+ },
6562
+ "tokens": {
6563
+ "backgroundColor": {
6564
+ "red": 0.95686,
6565
+ "green": 0.95686,
6566
+ "blue": 0.96863,
6567
+ "alpha": 1
6568
+ }
6569
+ }
6570
+ },
6571
+ {
6572
+ "if": {
6573
+ "pressed": true
6574
+ },
6575
+ "tokens": {
6576
+ "backgroundColor": {
6577
+ "red": 0.69804,
6578
+ "green": 0.72549,
6579
+ "blue": 0.74902,
6580
+ "alpha": 1
6581
+ },
6582
+ "iconColor": {
6583
+ "red": 0.40392,
6584
+ "green": 0.43137,
6585
+ "blue": 0.45098,
6586
+ "alpha": 1
6587
+ }
6588
+ }
6589
+ },
6590
+ {
6591
+ "if": {
6592
+ "decrease": true
6593
+ },
6594
+ "tokens": {
6595
+ "borderBottomLeftRadius": 4,
6596
+ "borderRightWidth": 0,
6597
+ "borderTopLeftRadius": 4,
6598
+ "icon": "PaletteIconSubtract"
6599
+ }
6600
+ },
6601
+ {
6602
+ "if": {
6603
+ "increase": true
6604
+ },
6605
+ "tokens": {
6606
+ "borderBottomRightRadius": 4,
6607
+ "borderLeftWidth": 0,
6608
+ "borderTopRightRadius": 4,
6609
+ "icon": "PaletteIconAdd"
6610
+ }
6611
+ },
6612
+ {
6613
+ "if": {
6614
+ "focus": true,
6615
+ "increase": true
6616
+ },
6617
+ "tokens": {
6618
+ "borderBottomWidth": 3,
6619
+ "borderLeftWidth": 2,
6620
+ "borderRightWidth": 3,
6621
+ "borderTopWidth": 3
6622
+ }
6623
+ },
6624
+ {
6625
+ "if": {
6626
+ "decrease": true,
6627
+ "focus": true
6628
+ },
6629
+ "tokens": {
6630
+ "borderBottomWidth": 3,
6631
+ "borderLeftWidth": 3,
6632
+ "borderRightWidth": 2,
6633
+ "borderTopWidth": 3
6634
+ }
6635
+ },
6636
+ {
6637
+ "if": {
6638
+ "disabled": true
6639
+ },
6640
+ "tokens": {
6641
+ "backgroundColor": {
6642
+ "red": 0.98039,
6643
+ "green": 0.98039,
6644
+ "blue": 0.98039,
6645
+ "alpha": 1
6646
+ },
6647
+ "iconColor": {
6648
+ "red": 0.8902,
6649
+ "green": 0.90196,
6650
+ "blue": 0.9098,
6651
+ "alpha": 1
6652
+ }
6653
+ }
6654
+ },
6655
+ {
6656
+ "if": {
6657
+ "alternative": true
6658
+ },
6659
+ "tokens": {
6660
+ "paddingBottom": 12,
6661
+ "paddingTop": 12
6662
+ }
6663
+ },
6664
+ {
6665
+ "if": {
6666
+ "alternative": true,
6667
+ "increase": true
6668
+ },
6669
+ "tokens": {
6670
+ "borderBottomRightRadius": 24,
6671
+ "borderTopRightRadius": 24
6672
+ }
6673
+ },
6674
+ {
6675
+ "if": {
6676
+ "alternative": true,
6677
+ "decrease": true
6678
+ },
6679
+ "tokens": {
6680
+ "borderBottomLeftRadius": 24,
6681
+ "borderTopLeftRadius": 24
6682
+ }
6683
+ }
6684
+ ],
6685
+ "tokens": {
6686
+ "backgroundColor": {
6463
6687
  "red": 1,
6464
6688
  "green": 1,
6465
6689
  "blue": 1,
6466
6690
  "alpha": 1
6467
6691
  },
6468
- "inputBorderColor": {
6692
+ "borderBottomLeftRadius": 0,
6693
+ "borderBottomRightRadius": 0,
6694
+ "borderBottomWidth": 1,
6695
+ "borderColor": {
6469
6696
  "red": 0.40392,
6470
6697
  "green": 0.43137,
6471
6698
  "blue": 0.45098,
6472
6699
  "alpha": 1
6473
6700
  },
6474
- "inputBorderWidth": 1,
6475
- "leftIcon": "PaletteIconSubtract",
6476
- "padding": 16,
6477
- "rightIcon": "PaletteIconAdd",
6478
- "textColor": {
6479
- "red": 0.69804,
6480
- "green": 0.72549,
6481
- "blue": 0.74902,
6701
+ "borderLeftWidth": 1,
6702
+ "borderRadius": 0,
6703
+ "borderRightWidth": 1,
6704
+ "borderTopLeftRadius": 0,
6705
+ "borderTopRightRadius": 0,
6706
+ "borderTopWidth": 1,
6707
+ "borderWidth": 1,
6708
+ "icon": null,
6709
+ "iconColor": {
6710
+ "red": 0.2549,
6711
+ "green": 0.27059,
6712
+ "blue": 0.27843,
6482
6713
  "alpha": 1
6483
- }
6714
+ },
6715
+ "iconSize": 16,
6716
+ "padding": 16,
6717
+ "paddingBottom": 16,
6718
+ "paddingLeft": 16,
6719
+ "paddingRight": 16,
6720
+ "paddingTop": 16
6484
6721
  }
6485
6722
  },
6486
6723
  "QuickLinks": {
@@ -7800,7 +8037,7 @@
7800
8037
  },
7801
8038
  "expanded": {
7802
8039
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
7803
- "values": [true],
8040
+ "values": [true, false],
7804
8041
  "type": "state"
7805
8042
  },
7806
8043
  "type": {
@@ -7962,7 +8199,7 @@
7962
8199
  "appearances": {
7963
8200
  "expanded": {
7964
8201
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
7965
- "values": [true],
8202
+ "values": [true, false],
7966
8203
  "type": "state"
7967
8204
  }
7968
8205
  },
@@ -9240,7 +9477,7 @@
9240
9477
  "appearances": {
9241
9478
  "expanded": {
9242
9479
  "description": "Applies when an ExpandCollapse panel is open and the content inside is visible",
9243
- "values": [true],
9480
+ "values": [true, false],
9244
9481
  "type": "state"
9245
9482
  },
9246
9483
  "viewport": {
@@ -9353,9 +9590,35 @@
9353
9590
  }
9354
9591
  },
9355
9592
  "Testimonial": {
9356
- "appearances": {},
9357
- "rules": [],
9593
+ "appearances": {
9594
+ "viewport": {
9595
+ "description": "The size label for the current screen viewport based on the current screen width",
9596
+ "values": ["xs", "sm", "md", "lg", "xl"],
9597
+ "type": "state"
9598
+ }
9599
+ },
9600
+ "rules": [
9601
+ {
9602
+ "if": {
9603
+ "viewport": ["md", "lg", "xl"]
9604
+ },
9605
+ "tokens": {
9606
+ "testimonialFontNameHeading": "HelveticaNow",
9607
+ "testimonialFontSizeHeading": 28,
9608
+ "testimonialFontWeightHeading": 400,
9609
+ "testimonialLineHeightHeading": 1.28571428571
9610
+ }
9611
+ }
9612
+ ],
9358
9613
  "tokens": {
9614
+ "additionalFontName": "HelveticaNow",
9615
+ "additionalFontSize": 14,
9616
+ "additionalFontWeight": 400,
9617
+ "additionalLineHeight": 1.42857142857,
9618
+ "authorFontName": "HelveticaNow",
9619
+ "authorFontSize": 16,
9620
+ "authorFontWeight": 700,
9621
+ "authorLineHeight": 1.5,
9359
9622
  "dividerBackgroundColor": {
9360
9623
  "red": 0.69804,
9361
9624
  "green": 0.72549,
@@ -9371,9 +9634,18 @@
9371
9634
  "blue": 0.74902,
9372
9635
  "alpha": 1
9373
9636
  },
9637
+ "iconFr": "PaletteIconQuoteLeftArrow",
9374
9638
  "imageSize": 48,
9375
9639
  "quoteContainerGap": 4,
9376
9640
  "testimonialContainerGap": 12,
9641
+ "testimonialFontNameHeading": "HelveticaNow",
9642
+ "testimonialFontNameLarge": "HelveticaNow",
9643
+ "testimonialFontSizeHeading": 24,
9644
+ "testimonialFontSizeLarge": 20,
9645
+ "testimonialFontWeightHeading": 400,
9646
+ "testimonialFontWeightLarge": 400,
9647
+ "testimonialLineHeightHeading": 1.33333333333,
9648
+ "testimonialLineHeightLarge": 1.6,
9377
9649
  "textColor": {
9378
9650
  "red": 0.2549,
9379
9651
  "green": 0.27059,
@@ -9689,7 +9961,8 @@
9689
9961
  "blue": 0.42745,
9690
9962
  "alpha": 1
9691
9963
  },
9692
- "containerGap": 10
9964
+ "containerGap": 10,
9965
+ "padding": 16
9693
9966
  }
9694
9967
  },
9695
9968
  "ToggleSwitch": {
@@ -10056,6 +10329,12 @@
10056
10329
  }
10057
10330
  ],
10058
10331
  "tokens": {
10332
+ "backgroundColor": {
10333
+ "red": 0,
10334
+ "green": 0,
10335
+ "blue": 0,
10336
+ "alpha": 0
10337
+ },
10059
10338
  "borderRadius": 32,
10060
10339
  "icon": "PaletteIconQuestion",
10061
10340
  "iconColor": {
@@ -11300,7 +11579,7 @@
11300
11579
  }
11301
11580
  },
11302
11581
  "metadata": {
11303
- "themeTokensVersion": "2.37.0",
11582
+ "themeTokensVersion": "2.39.0",
11304
11583
  "name": "theme-allium"
11305
11584
  }
11306
11585
  }