@telus-uds/theme-allium 4.13.1 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/schema.json +1280 -937
- package/build/android/theme.json +384 -25
- package/build/ios/schema.json +1280 -937
- package/build/ios/theme.json +384 -25
- package/build/rn/schema.json +1280 -937
- package/build/rn/theme.js +232 -15
- package/package.json +5 -5
- package/theme.json +241 -12
package/theme.json
CHANGED
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
"type": "variant",
|
|
32
32
|
"values": [true]
|
|
33
33
|
},
|
|
34
|
+
"inverse": {
|
|
35
|
+
"type": "variant",
|
|
36
|
+
"values": [true]
|
|
37
|
+
},
|
|
34
38
|
"outline": {
|
|
35
39
|
"type": "variant",
|
|
36
40
|
"values": [true]
|
|
@@ -41,6 +45,16 @@
|
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"rules": [
|
|
48
|
+
{
|
|
49
|
+
"if": {
|
|
50
|
+
"inverse": true
|
|
51
|
+
},
|
|
52
|
+
"tokens": {
|
|
53
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
54
|
+
"borderColor": "{palette.color.white}",
|
|
55
|
+
"color": "{palette.color.white}"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
44
58
|
{
|
|
45
59
|
"if": {
|
|
46
60
|
"outline": true
|
|
@@ -1759,6 +1773,154 @@
|
|
|
1759
1773
|
"labelMarginLeft": "{palette.size.size10}"
|
|
1760
1774
|
}
|
|
1761
1775
|
},
|
|
1776
|
+
"CheckboxCard": {
|
|
1777
|
+
"appearances": {
|
|
1778
|
+
"checked": "{appearances.CheckboxCard.checked}",
|
|
1779
|
+
"error": "{appearances.CheckboxCard.error}",
|
|
1780
|
+
"focus": "{appearances.CheckboxCard.focus}",
|
|
1781
|
+
"hover": "{appearances.CheckboxCard.hover}",
|
|
1782
|
+
"inactive": "{appearances.CheckboxCard.inactive}",
|
|
1783
|
+
"pressed": "{appearances.CheckboxCard.pressed}",
|
|
1784
|
+
"viewport": "{appearances.system.viewport}"
|
|
1785
|
+
},
|
|
1786
|
+
"rules": [
|
|
1787
|
+
{
|
|
1788
|
+
"if": {
|
|
1789
|
+
"viewport": ["lg", "xl"]
|
|
1790
|
+
},
|
|
1791
|
+
"tokens": {
|
|
1792
|
+
"fontSize": "{palette.fontSize.size24}",
|
|
1793
|
+
"lineHeight": "{palette.lineHeight.ratio4to3}",
|
|
1794
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1795
|
+
"paddingLeft": "{palette.size.size16}",
|
|
1796
|
+
"paddingRight": "{palette.size.size24}",
|
|
1797
|
+
"paddingTop": "{palette.size.size16}"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"if": {
|
|
1802
|
+
"hover": true
|
|
1803
|
+
},
|
|
1804
|
+
"tokens": {
|
|
1805
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1806
|
+
"checkboxOuterBorderColor": "{palette.color.greyMystic}",
|
|
1807
|
+
"checkboxOuterBorderWidth": "{palette.border.border2}",
|
|
1808
|
+
"outerBorderColor": "{palette.color.greyMystic}"
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"if": {
|
|
1813
|
+
"focus": true
|
|
1814
|
+
},
|
|
1815
|
+
"tokens": {
|
|
1816
|
+
"checkboxInputBorderColor": "{palette.color.purpleDeluge}",
|
|
1817
|
+
"checkboxInputBorderWidth": "{palette.border.border3}",
|
|
1818
|
+
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
1819
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
1820
|
+
}
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"description": "Pressed state matches hover state plus light grey background",
|
|
1824
|
+
"if": {
|
|
1825
|
+
"pressed": true
|
|
1826
|
+
},
|
|
1827
|
+
"tokens": {
|
|
1828
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1829
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1830
|
+
"checkboxInputBorderColor": "{palette.color.greyShuttle}",
|
|
1831
|
+
"checkboxInputBorderWidth": "{palette.border.border1}",
|
|
1832
|
+
"checkboxOuterBorderColor": "{palette.color.greyMystic}",
|
|
1833
|
+
"checkboxOuterBorderWidth": "{palette.border.border3}",
|
|
1834
|
+
"outerBorderColor": "{palette.color.greyMystic}",
|
|
1835
|
+
"outerBorderGap": "{palette.size.size0}"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"if": {
|
|
1840
|
+
"checked": true
|
|
1841
|
+
},
|
|
1842
|
+
"tokens": {
|
|
1843
|
+
"borderColor": "{palette.color.purpleDeluge}"
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"if": {
|
|
1848
|
+
"checked": true,
|
|
1849
|
+
"hover": true
|
|
1850
|
+
},
|
|
1851
|
+
"tokens": {
|
|
1852
|
+
"borderColor": "{palette.color.purpleTelus}"
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"if": {
|
|
1857
|
+
"error": true
|
|
1858
|
+
},
|
|
1859
|
+
"tokens": {
|
|
1860
|
+
"borderColor": "{palette.color.red}",
|
|
1861
|
+
"checkboxInputBorderColor": "{palette.color.red}",
|
|
1862
|
+
"color": "{palette.color.red}"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"if": {
|
|
1867
|
+
"inactive": true
|
|
1868
|
+
},
|
|
1869
|
+
"tokens": {
|
|
1870
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1871
|
+
"borderColor": "{palette.color.transparent}",
|
|
1872
|
+
"checkboxCheckedBackgroundColor": "{palette.color.greyShuttle}",
|
|
1873
|
+
"checkboxInputBackgroundColor": "{palette.color.greyCloud}",
|
|
1874
|
+
"checkboxInputBorderColor": "{system.color.transparent}",
|
|
1875
|
+
"checkboxInputSize": "{palette.size.size12}",
|
|
1876
|
+
"checkboxOuterBorderColor": "{palette.color.greyCloud}",
|
|
1877
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1878
|
+
"checkboxOuterBorderWidth": "{palette.border.border1}",
|
|
1879
|
+
"color": "{palette.color.greyShuttle}"
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"tokens": {
|
|
1884
|
+
"backgroundColor": "{palette.color.white}",
|
|
1885
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
1886
|
+
"borderRadius": "{palette.radius.radius6}",
|
|
1887
|
+
"borderWidth": "{palette.border.border1}",
|
|
1888
|
+
"checkboxCheckedBackgroundColor": "{palette.color.purpleDeluge}",
|
|
1889
|
+
"checkboxCheckedSize": "{palette.size.size12}",
|
|
1890
|
+
"checkboxInputBackgroundColor": "{palette.color.white}",
|
|
1891
|
+
"checkboxInputBorderColor": "{palette.color.greyShuttle}",
|
|
1892
|
+
"checkboxInputBorderWidth": "{palette.border.border1}",
|
|
1893
|
+
"checkboxInputOutlineColor": "{palette.color.transparent}",
|
|
1894
|
+
"checkboxInputOutlineWidth": "{palette.border.none}",
|
|
1895
|
+
"checkboxInputSize": "{palette.size.size20}",
|
|
1896
|
+
"checkboxOuterBorderColor": "{system.color.transparent}",
|
|
1897
|
+
"checkboxOuterBorderGap": "{system.size.zero}",
|
|
1898
|
+
"checkboxOuterBorderWidth": "{system.border.zero}",
|
|
1899
|
+
"checkboxSpace": "{system.integer.2}",
|
|
1900
|
+
"color": "{palette.color.greyThunder}",
|
|
1901
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1902
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
1903
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
1904
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1905
|
+
"contentSpace": "{system.integer.2}",
|
|
1906
|
+
"flex": "{system.integer.1}",
|
|
1907
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
1908
|
+
"fontSize": "{palette.fontSize.size20}",
|
|
1909
|
+
"fontWeight": "{palette.fontWeight.weight500}",
|
|
1910
|
+
"letterSpacing": "{system.letterSpacing.none}",
|
|
1911
|
+
"lineHeight": "{palette.lineHeight.ratio7to5}",
|
|
1912
|
+
"minWidth": "{palette.size.size264}",
|
|
1913
|
+
"outerBorderColor": "{system.color.transparent}",
|
|
1914
|
+
"outerBorderGap": "{system.size.zero}",
|
|
1915
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
1916
|
+
"paddingBottom": "{palette.size.size16}",
|
|
1917
|
+
"paddingLeft": "{palette.size.size10}",
|
|
1918
|
+
"paddingRight": "{palette.size.size16}",
|
|
1919
|
+
"paddingTop": "{palette.size.size16}",
|
|
1920
|
+
"shadow": "{system.shadow.none}",
|
|
1921
|
+
"textTransform": "{system.textTransform.none}"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1762
1924
|
"CheckboxGroup": {
|
|
1763
1925
|
"appearances": {},
|
|
1764
1926
|
"rules": [],
|
|
@@ -2448,8 +2610,8 @@
|
|
|
2448
2610
|
}
|
|
2449
2611
|
],
|
|
2450
2612
|
"tokens": {
|
|
2451
|
-
"backgroundColor": "{palette.color.
|
|
2452
|
-
"borderColor": "{palette.color.
|
|
2613
|
+
"backgroundColor": "{palette.color.brandLight}",
|
|
2614
|
+
"borderColor": "{palette.color.transparent}",
|
|
2453
2615
|
"borderRadius": "{palette.radius.radius4}",
|
|
2454
2616
|
"borderWidth": "{palette.border.border1}",
|
|
2455
2617
|
"color": "{palette.color.greyThunder}",
|
|
@@ -2501,8 +2663,56 @@
|
|
|
2501
2663
|
}
|
|
2502
2664
|
},
|
|
2503
2665
|
"Footnote": {
|
|
2504
|
-
"appearances": {
|
|
2505
|
-
|
|
2666
|
+
"appearances": {
|
|
2667
|
+
"viewport": "{appearances.system.viewport}"
|
|
2668
|
+
},
|
|
2669
|
+
"rules": [
|
|
2670
|
+
{
|
|
2671
|
+
"if": {
|
|
2672
|
+
"viewport": ["xs"]
|
|
2673
|
+
},
|
|
2674
|
+
"tokens": {
|
|
2675
|
+
"footnoteBodyPaddingBottom": "{palette.size.size32}",
|
|
2676
|
+
"footnoteBodyPaddingLeft": "{palette.size.size16}",
|
|
2677
|
+
"footnoteBodyPaddingRight": "{palette.size.size16}",
|
|
2678
|
+
"footnoteBodyPaddingTop": "{palette.size.size0}",
|
|
2679
|
+
"footnoteHeaderPaddingBottom": "{palette.size.size16}",
|
|
2680
|
+
"footnoteHeaderPaddingLeft": "{palette.size.size16}",
|
|
2681
|
+
"footnoteHeaderPaddingRight": "{palette.size.size4}",
|
|
2682
|
+
"footnoteHeaderPaddingTop": "{palette.size.size16}"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"if": {
|
|
2687
|
+
"viewport": ["md", "lg"]
|
|
2688
|
+
},
|
|
2689
|
+
"tokens": {
|
|
2690
|
+
"footnoteBodyPaddingBottom": "{palette.size.size40}",
|
|
2691
|
+
"footnoteBodyPaddingLeft": "{palette.size.size16}",
|
|
2692
|
+
"footnoteBodyPaddingRight": "{palette.size.size16}",
|
|
2693
|
+
"footnoteBodyPaddingTop": "{palette.size.size0}",
|
|
2694
|
+
"footnoteHeaderPaddingBottom": "{palette.size.size24}",
|
|
2695
|
+
"footnoteHeaderPaddingLeft": "{palette.size.size16}",
|
|
2696
|
+
"footnoteHeaderPaddingRight": "{palette.size.size4}",
|
|
2697
|
+
"footnoteHeaderPaddingTop": "{palette.size.size24}"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"if": {
|
|
2702
|
+
"viewport": ["xl"]
|
|
2703
|
+
},
|
|
2704
|
+
"tokens": {
|
|
2705
|
+
"footnoteBodyPaddingBottom": "{palette.size.size40}",
|
|
2706
|
+
"footnoteBodyPaddingLeft": "{palette.size.size16}",
|
|
2707
|
+
"footnoteBodyPaddingRight": "{palette.size.size16}",
|
|
2708
|
+
"footnoteBodyPaddingTop": "{palette.size.size0}",
|
|
2709
|
+
"footnoteHeaderPaddingBottom": "{palette.size.size24}",
|
|
2710
|
+
"footnoteHeaderPaddingLeft": "{palette.size.size16}",
|
|
2711
|
+
"footnoteHeaderPaddingRight": "{palette.size.size16}",
|
|
2712
|
+
"footnoteHeaderPaddingTop": "{palette.size.size24}"
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
],
|
|
2506
2716
|
"tokens": {
|
|
2507
2717
|
"closeButtonBackgroundColor": "{palette.color.greyAthens}",
|
|
2508
2718
|
"closeButtonBorderColor": "{palette.color.greyShuttle}",
|
|
@@ -2517,16 +2727,16 @@
|
|
|
2517
2727
|
"closeIcon": "{palette.icon.Close}",
|
|
2518
2728
|
"footnoteBackground": "{palette.color.greyAthens}",
|
|
2519
2729
|
"footnoteBodyBackground": "{palette.color.greyAthens}",
|
|
2520
|
-
"footnoteBodyPaddingBottom": "{palette.size.
|
|
2730
|
+
"footnoteBodyPaddingBottom": "{palette.size.size40}",
|
|
2521
2731
|
"footnoteBodyPaddingLeft": "{palette.size.size16}",
|
|
2522
2732
|
"footnoteBodyPaddingRight": "{palette.size.size16}",
|
|
2523
2733
|
"footnoteBodyPaddingTop": "{palette.size.size0}",
|
|
2524
2734
|
"footnoteBorderColorMd": "{palette.color.greyCloud}",
|
|
2525
2735
|
"footnoteBorderTopSizeMd": "{palette.border.border1}",
|
|
2526
|
-
"footnoteHeaderPaddingBottom": "{palette.size.
|
|
2736
|
+
"footnoteHeaderPaddingBottom": "{palette.size.size24}",
|
|
2527
2737
|
"footnoteHeaderPaddingLeft": "{palette.size.size16}",
|
|
2528
|
-
"footnoteHeaderPaddingRight": "{palette.size.
|
|
2529
|
-
"footnoteHeaderPaddingTop": "{palette.size.
|
|
2738
|
+
"footnoteHeaderPaddingRight": "{palette.size.size4}",
|
|
2739
|
+
"footnoteHeaderPaddingTop": "{palette.size.size24}",
|
|
2530
2740
|
"headerFontName": "{palette.fontName.HelveticaNow}",
|
|
2531
2741
|
"headerFontSize": "{palette.size.size16}",
|
|
2532
2742
|
"headerFontWeight": "{palette.fontWeight.weight500}",
|
|
@@ -4109,9 +4319,9 @@
|
|
|
4109
4319
|
}
|
|
4110
4320
|
],
|
|
4111
4321
|
"tokens": {
|
|
4112
|
-
"backgroundColor": "{palette.color.
|
|
4322
|
+
"backgroundColor": "{palette.color.brandLight}",
|
|
4113
4323
|
"borderBottomWidth": "{palette.border.border1}",
|
|
4114
|
-
"borderColor": "{palette.color.
|
|
4324
|
+
"borderColor": "{palette.color.purpleDeluge}",
|
|
4115
4325
|
"borderLeftWidth": "{palette.border.border1}",
|
|
4116
4326
|
"borderRadius": "{palette.radius.radius6}",
|
|
4117
4327
|
"borderRightWidth": "{palette.border.border1}",
|
|
@@ -6048,7 +6258,8 @@
|
|
|
6048
6258
|
"alignItems": "{system.flexAlign.stretch}",
|
|
6049
6259
|
"flexGrow": "{system.integer.0}",
|
|
6050
6260
|
"flexShrink": "{system.integer.0}",
|
|
6051
|
-
"justifyContent": "{system.flexJustifyContent.flexStart}"
|
|
6261
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
6262
|
+
"width": "{system.size.none}"
|
|
6052
6263
|
}
|
|
6053
6264
|
},
|
|
6054
6265
|
"StepTracker": {
|
|
@@ -6366,6 +6577,11 @@
|
|
|
6366
6577
|
},
|
|
6367
6578
|
"Tabs": {
|
|
6368
6579
|
"appearances": {
|
|
6580
|
+
"equalWidth": {
|
|
6581
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6582
|
+
"type": "variant",
|
|
6583
|
+
"values": [true]
|
|
6584
|
+
},
|
|
6369
6585
|
"inverse": {
|
|
6370
6586
|
"description": "Styles the link white for use on dark backgrounds.",
|
|
6371
6587
|
"type": "variant",
|
|
@@ -6394,6 +6610,11 @@
|
|
|
6394
6610
|
},
|
|
6395
6611
|
"TabsItem": {
|
|
6396
6612
|
"appearances": {
|
|
6613
|
+
"equalWidth": {
|
|
6614
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6615
|
+
"type": "variant",
|
|
6616
|
+
"values": [true]
|
|
6617
|
+
},
|
|
6397
6618
|
"focus": "{appearances.TabsItem.pressed}",
|
|
6398
6619
|
"hover": "{appearances.TabsItem.pressed}",
|
|
6399
6620
|
"inverse": {
|
|
@@ -6410,7 +6631,7 @@
|
|
|
6410
6631
|
"selected": true
|
|
6411
6632
|
},
|
|
6412
6633
|
"tokens": {
|
|
6413
|
-
"backgroundColor": "{palette.color.
|
|
6634
|
+
"backgroundColor": "{palette.color.dark5}",
|
|
6414
6635
|
"color": "{palette.color.purpleTelus}",
|
|
6415
6636
|
"highlightBarBorderRadius": "{palette.radius.pill32}",
|
|
6416
6637
|
"highlightBarBorderWidth": "{palette.border.border1}",
|
|
@@ -6507,6 +6728,14 @@
|
|
|
6507
6728
|
"borderColor": "{palette.color.white}",
|
|
6508
6729
|
"highlightColor": "{palette.color.white}"
|
|
6509
6730
|
}
|
|
6731
|
+
},
|
|
6732
|
+
{
|
|
6733
|
+
"if": {
|
|
6734
|
+
"equalWidth": true
|
|
6735
|
+
},
|
|
6736
|
+
"tokens": {
|
|
6737
|
+
"maxWidth": "{system.size.none}"
|
|
6738
|
+
}
|
|
6510
6739
|
}
|
|
6511
6740
|
],
|
|
6512
6741
|
"tokens": {
|