@telus-uds/theme-public-mobile 2.5.0 → 2.7.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.
@@ -1560,6 +1560,11 @@
1560
1560
  "description": "The size label for the current screen viewport based on the current screen width",
1561
1561
  "values": ["xs", "sm", "md", "lg", "xl"],
1562
1562
  "type": "state"
1563
+ },
1564
+ "width": {
1565
+ "description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
1566
+ "type": "variant",
1567
+ "values": ["responsive"]
1563
1568
  }
1564
1569
  },
1565
1570
  "rules": [
@@ -1570,6 +1575,16 @@
1570
1575
  "tokens": {
1571
1576
  "space": 3
1572
1577
  }
1578
+ },
1579
+ {
1580
+ "if": {
1581
+ "viewport": ["xs"],
1582
+ "width": "responsive"
1583
+ },
1584
+ "tokens": {
1585
+ "alignItems": "stretch",
1586
+ "direction": "column"
1587
+ }
1573
1588
  }
1574
1589
  ],
1575
1590
  "tokens": {
@@ -1603,6 +1618,11 @@
1603
1618
  "description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
1604
1619
  "values": [true],
1605
1620
  "type": "state"
1621
+ },
1622
+ "width": {
1623
+ "description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
1624
+ "type": "variant",
1625
+ "values": ["responsive"]
1606
1626
  }
1607
1627
  },
1608
1628
  "rules": [
@@ -1714,6 +1734,14 @@
1714
1734
  "tokens": {
1715
1735
  "iconSpace": 1
1716
1736
  }
1737
+ },
1738
+ {
1739
+ "if": {
1740
+ "width": "responsive"
1741
+ },
1742
+ "tokens": {
1743
+ "width": "100%"
1744
+ }
1717
1745
  }
1718
1746
  ],
1719
1747
  "tokens": {
@@ -2482,6 +2510,254 @@
2482
2510
  "labelMarginLeft": 10
2483
2511
  }
2484
2512
  },
2513
+ "CheckboxCard": {
2514
+ "appearances": {
2515
+ "checked": {
2516
+ "description": "Corresponds to a selected state for a checkbox or radio",
2517
+ "values": [true],
2518
+ "type": "state"
2519
+ },
2520
+ "error": {
2521
+ "values": [true],
2522
+ "type": "state"
2523
+ },
2524
+ "inactive": {
2525
+ "description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
2526
+ "values": [true],
2527
+ "type": "state"
2528
+ },
2529
+ "pressed": {
2530
+ "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.",
2531
+ "values": [true, false],
2532
+ "type": "state"
2533
+ },
2534
+ "viewport": {
2535
+ "description": "The size label for the current screen viewport based on the current screen width",
2536
+ "values": ["xs", "sm", "md", "lg", "xl"],
2537
+ "type": "state"
2538
+ }
2539
+ },
2540
+ "rules": [
2541
+ {
2542
+ "if": {
2543
+ "viewport": ["lg", "xl"]
2544
+ },
2545
+ "tokens": {
2546
+ "fontSize": 24,
2547
+ "paddingBottom": 24,
2548
+ "paddingLeft": 16,
2549
+ "paddingRight": 24,
2550
+ "paddingTop": 16
2551
+ }
2552
+ },
2553
+ {
2554
+ "if": {
2555
+ "checked": true
2556
+ },
2557
+ "tokens": {
2558
+ "checkboxInputBorderColor": {
2559
+ "red": 0.22353,
2560
+ "green": 0.25098,
2561
+ "blue": 0.33725,
2562
+ "alpha": 1
2563
+ },
2564
+ "checkboxInputBorderWidth": 2,
2565
+ "checkboxOuterBorderGap": 2
2566
+ }
2567
+ },
2568
+ {
2569
+ "if": {
2570
+ "pressed": true
2571
+ },
2572
+ "tokens": {
2573
+ "backgroundColor": {
2574
+ "red": 0.96078,
2575
+ "green": 0.96078,
2576
+ "blue": 0.96863,
2577
+ "alpha": 1
2578
+ },
2579
+ "borderColor": {
2580
+ "red": 0.80392,
2581
+ "green": 0.81176,
2582
+ "blue": 0.83529,
2583
+ "alpha": 1
2584
+ },
2585
+ "checkboxInputBackgroundColor": {
2586
+ "red": 0.98824,
2587
+ "green": 0.90196,
2588
+ "blue": 0.87451,
2589
+ "alpha": 1
2590
+ },
2591
+ "checkboxInputBorderColor": {
2592
+ "red": 0.22353,
2593
+ "green": 0.25098,
2594
+ "blue": 0.33725,
2595
+ "alpha": 1
2596
+ },
2597
+ "checkboxInputOutlineColor": {
2598
+ "red": 0,
2599
+ "green": 0,
2600
+ "blue": 0,
2601
+ "alpha": 0
2602
+ }
2603
+ }
2604
+ },
2605
+ {
2606
+ "if": {
2607
+ "inactive": true
2608
+ },
2609
+ "tokens": {
2610
+ "backgroundColor": {
2611
+ "red": 0.96078,
2612
+ "green": 0.96078,
2613
+ "blue": 0.96863,
2614
+ "alpha": 1
2615
+ },
2616
+ "borderColor": {
2617
+ "red": 0,
2618
+ "green": 0,
2619
+ "blue": 0,
2620
+ "alpha": 0
2621
+ },
2622
+ "checkboxInputBackgroundColor": {
2623
+ "red": 0.61176,
2624
+ "green": 0.62353,
2625
+ "blue": 0.66667,
2626
+ "alpha": 1
2627
+ },
2628
+ "checkboxInputBorderColor": {
2629
+ "red": 0.80392,
2630
+ "green": 0.81176,
2631
+ "blue": 0.83529,
2632
+ "alpha": 1
2633
+ },
2634
+ "checkboxInputOutlineColor": {
2635
+ "red": 0.80392,
2636
+ "green": 0.81176,
2637
+ "blue": 0.83529,
2638
+ "alpha": 1
2639
+ },
2640
+ "checkboxOuterBorderGap": 0,
2641
+ "color": {
2642
+ "red": 0.38824,
2643
+ "green": 0.42353,
2644
+ "blue": 0.54902,
2645
+ "alpha": 1
2646
+ }
2647
+ }
2648
+ },
2649
+ {
2650
+ "if": {
2651
+ "error": true
2652
+ },
2653
+ "tokens": {
2654
+ "borderColor": {
2655
+ "red": 0.74902,
2656
+ "green": 0.0902,
2657
+ "blue": 0.13333,
2658
+ "alpha": 1
2659
+ },
2660
+ "checkboxInputBorderColor": {
2661
+ "red": 0.74902,
2662
+ "green": 0.0902,
2663
+ "blue": 0.13333,
2664
+ "alpha": 1
2665
+ },
2666
+ "color": {
2667
+ "red": 0.74902,
2668
+ "green": 0.0902,
2669
+ "blue": 0.13333,
2670
+ "alpha": 1
2671
+ }
2672
+ }
2673
+ }
2674
+ ],
2675
+ "tokens": {
2676
+ "backgroundColor": {
2677
+ "red": 0,
2678
+ "green": 0,
2679
+ "blue": 0,
2680
+ "alpha": 0
2681
+ },
2682
+ "borderColor": {
2683
+ "red": 0.61176,
2684
+ "green": 0.62353,
2685
+ "blue": 0.66667,
2686
+ "alpha": 1
2687
+ },
2688
+ "borderRadius": 6,
2689
+ "borderWidth": 1,
2690
+ "checkboxCheckedBackgroundColor": {
2691
+ "red": 0.22353,
2692
+ "green": 0.25098,
2693
+ "blue": 0.33725,
2694
+ "alpha": 1
2695
+ },
2696
+ "checkboxCheckedSize": 12,
2697
+ "checkboxInputBackgroundColor": {
2698
+ "red": 0.99608,
2699
+ "green": 0.99608,
2700
+ "blue": 0.98824,
2701
+ "alpha": 1
2702
+ },
2703
+ "checkboxInputBorderColor": {
2704
+ "red": 0.41569,
2705
+ "green": 0.43922,
2706
+ "blue": 0.50196,
2707
+ "alpha": 1
2708
+ },
2709
+ "checkboxInputBorderWidth": 2,
2710
+ "checkboxInputOutlineColor": {
2711
+ "red": 0,
2712
+ "green": 0,
2713
+ "blue": 0,
2714
+ "alpha": 0
2715
+ },
2716
+ "checkboxInputOutlineWidth": 0,
2717
+ "checkboxInputSize": 20,
2718
+ "checkboxOuterBorderColor": {
2719
+ "red": 0,
2720
+ "green": 0,
2721
+ "blue": 0,
2722
+ "alpha": 0
2723
+ },
2724
+ "checkboxOuterBorderGap": 0,
2725
+ "checkboxOuterBorderWidth": 1,
2726
+ "checkboxSpace": 2,
2727
+ "color": {
2728
+ "red": 0.22353,
2729
+ "green": 0.25098,
2730
+ "blue": 0.33725,
2731
+ "alpha": 1
2732
+ },
2733
+ "contentAlignItems": "stretch",
2734
+ "contentFlexGrow": 0,
2735
+ "contentFlexShrink": 1,
2736
+ "contentJustifyContent": "flex-start",
2737
+ "contentSpace": 2,
2738
+ "flex": 1,
2739
+ "fontName": "SofiaPro",
2740
+ "fontSize": 24,
2741
+ "fontWeight": 400,
2742
+ "letterSpacing": 0,
2743
+ "lineHeight": 1,
2744
+ "minWidth": 112,
2745
+ "outerBorderColor": {
2746
+ "red": 0,
2747
+ "green": 0,
2748
+ "blue": 0,
2749
+ "alpha": 0
2750
+ },
2751
+ "outerBorderGap": 0,
2752
+ "outerBorderWidth": 2,
2753
+ "paddingBottom": 16,
2754
+ "paddingLeft": 8,
2755
+ "paddingRight": 16,
2756
+ "paddingTop": 16,
2757
+ "shadow": null,
2758
+ "textTransform": "none"
2759
+ }
2760
+ },
2485
2761
  "CheckboxGroup": {
2486
2762
  "appearances": {},
2487
2763
  "rules": [],
@@ -8186,7 +8462,8 @@
8186
8462
  "alignItems": "stretch",
8187
8463
  "flexGrow": 0,
8188
8464
  "flexShrink": 0,
8189
- "justifyContent": "flex-start"
8465
+ "justifyContent": "flex-start",
8466
+ "width": null
8190
8467
  }
8191
8468
  },
8192
8469
  "StepTracker": {
@@ -8638,6 +8915,11 @@
8638
8915
  },
8639
8916
  "Tabs": {
8640
8917
  "appearances": {
8918
+ "equalWidth": {
8919
+ "description": "Divide the available width equally among `TabsItem`",
8920
+ "type": "variant",
8921
+ "values": [true]
8922
+ },
8641
8923
  "inverse": {
8642
8924
  "description": "Styles the link white for use on dark backgrounds.",
8643
8925
  "type": "variant",
@@ -8676,6 +8958,11 @@
8676
8958
  },
8677
8959
  "TabsItem": {
8678
8960
  "appearances": {
8961
+ "equalWidth": {
8962
+ "description": "Divide the available width equally among `TabsItem`",
8963
+ "type": "variant",
8964
+ "values": [true]
8965
+ },
8679
8966
  "inverse": {
8680
8967
  "type": "variant",
8681
8968
  "values": [true]
@@ -8781,6 +9068,14 @@
8781
9068
  "alpha": 1
8782
9069
  }
8783
9070
  }
9071
+ },
9072
+ {
9073
+ "if": {
9074
+ "equalWidth": true
9075
+ },
9076
+ "tokens": {
9077
+ "maxWidth": null
9078
+ }
8784
9079
  }
8785
9080
  ],
8786
9081
  "tokens": {
@@ -9408,6 +9703,7 @@
9408
9703
  }
9409
9704
  ],
9410
9705
  "tokens": {
9706
+ "amexIcon": "PaletteIconAmex",
9411
9707
  "backgroundColor": {
9412
9708
  "red": 1,
9413
9709
  "green": 1,
@@ -9432,6 +9728,7 @@
9432
9728
  "blue": 0.33725,
9433
9729
  "alpha": 1
9434
9730
  },
9731
+ "defaultCreditIcon": "PaletteIconCreditCard",
9435
9732
  "fontName": "SofiaPro",
9436
9733
  "fontSize": 16,
9437
9734
  "fontWeight": 400,
@@ -9443,7 +9740,9 @@
9443
9740
  "alpha": 0
9444
9741
  },
9445
9742
  "iconSize": 24,
9743
+ "leftIconPaddingBottom": 5,
9446
9744
  "lineHeight": 1.5,
9745
+ "masterCardIcon": "PaletteIconMasterCard",
9447
9746
  "outerBackgroundColor": {
9448
9747
  "red": 0,
9449
9748
  "green": 0,
@@ -9462,7 +9761,8 @@
9462
9761
  "paddingRight": 16,
9463
9762
  "paddingTop": 10,
9464
9763
  "passwordHideButtonIcon": "PaletteIconEyeMasked",
9465
- "passwordShowButtonIcon": "PaletteIconEyeUnmasked"
9764
+ "passwordShowButtonIcon": "PaletteIconEyeUnmasked",
9765
+ "visaIcon": "PaletteIconVisa"
9466
9766
  }
9467
9767
  },
9468
9768
  "Timeline": {
@@ -11023,7 +11323,7 @@
11023
11323
  }
11024
11324
  },
11025
11325
  "metadata": {
11026
- "themeTokensVersion": "2.41.1",
11326
+ "themeTokensVersion": "2.43.0",
11027
11327
  "name": "theme-public-mobile"
11028
11328
  }
11029
11329
  }