@telus-uds/theme-allium 3.7.4 → 3.8.1
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/schema.json +1903 -1046
- package/build/theme.js +248 -2
- package/package.json +5 -5
- package/theme.json +304 -0
package/build/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 27 Sep 2022 19:31:22 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1735,6 +1735,160 @@ module.exports = {
|
|
|
1735
1735
|
outlineWidth: 1
|
|
1736
1736
|
}
|
|
1737
1737
|
},
|
|
1738
|
+
QuickLinks: {
|
|
1739
|
+
appearances: {
|
|
1740
|
+
viewport: {
|
|
1741
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1742
|
+
type: 'state',
|
|
1743
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
rules: [
|
|
1747
|
+
{
|
|
1748
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1749
|
+
tokens: { card: false, dividers: true, list: false }
|
|
1750
|
+
}
|
|
1751
|
+
],
|
|
1752
|
+
tokens: {
|
|
1753
|
+
card: true,
|
|
1754
|
+
dividers: true,
|
|
1755
|
+
list: true,
|
|
1756
|
+
stackGap: 2,
|
|
1757
|
+
stackJustify: 'center',
|
|
1758
|
+
stackSpace: 4
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
QuickLinksButton: {
|
|
1762
|
+
appearances: {
|
|
1763
|
+
focus: {
|
|
1764
|
+
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1765
|
+
type: 'state',
|
|
1766
|
+
values: [ true ]
|
|
1767
|
+
},
|
|
1768
|
+
hover: {
|
|
1769
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1770
|
+
type: 'state',
|
|
1771
|
+
values: [ true ]
|
|
1772
|
+
},
|
|
1773
|
+
pressed: {
|
|
1774
|
+
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.',
|
|
1775
|
+
type: 'state',
|
|
1776
|
+
values: [ true ]
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
rules: [
|
|
1780
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
1781
|
+
{
|
|
1782
|
+
if: { pressed: true },
|
|
1783
|
+
tokens: { backgroundColor: '#b2b9bf', borderWidth: 3 }
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
if: { focus: true },
|
|
1787
|
+
tokens: { outerBorderColor: '#676e73' }
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
if: { focus: true, pressed: true },
|
|
1791
|
+
tokens: { borderWidth: 1 }
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
tokens: {
|
|
1795
|
+
alignSelf: 'flex-start',
|
|
1796
|
+
backgroundColor: '#ffffff',
|
|
1797
|
+
borderColor: '#676e73',
|
|
1798
|
+
borderRadius: 32,
|
|
1799
|
+
borderWidth: 1,
|
|
1800
|
+
color: '#676e73',
|
|
1801
|
+
fontName: 'HelveticaNow',
|
|
1802
|
+
fontSize: 16,
|
|
1803
|
+
fontWeight: '700',
|
|
1804
|
+
icon: null,
|
|
1805
|
+
iconColor: '#4b286d',
|
|
1806
|
+
iconSize: 24,
|
|
1807
|
+
iconSpace: 2,
|
|
1808
|
+
lineHeight: 1.5,
|
|
1809
|
+
minWidth: 144,
|
|
1810
|
+
opacity: 1,
|
|
1811
|
+
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1812
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1813
|
+
outerBorderGap: 2,
|
|
1814
|
+
outerBorderWidth: 2,
|
|
1815
|
+
paddingBottom: 12,
|
|
1816
|
+
paddingLeft: 28,
|
|
1817
|
+
paddingRight: 28,
|
|
1818
|
+
paddingTop: 12,
|
|
1819
|
+
shadow: null,
|
|
1820
|
+
textAlign: 'center',
|
|
1821
|
+
width: null
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
QuickLinksCard: {
|
|
1825
|
+
appearances: {},
|
|
1826
|
+
rules: [],
|
|
1827
|
+
tokens: {
|
|
1828
|
+
backgroundColor: '#ffffff',
|
|
1829
|
+
borderColor: '#e3e6e8',
|
|
1830
|
+
borderRadius: 6,
|
|
1831
|
+
borderWidth: 1,
|
|
1832
|
+
flex: 1,
|
|
1833
|
+
minWidth: null,
|
|
1834
|
+
paddingBottom: 8,
|
|
1835
|
+
paddingLeft: 12,
|
|
1836
|
+
paddingRight: 12,
|
|
1837
|
+
paddingTop: 8,
|
|
1838
|
+
shadow: null
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
QuickLinksList: {
|
|
1842
|
+
appearances: {
|
|
1843
|
+
focus: {
|
|
1844
|
+
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1845
|
+
type: 'state',
|
|
1846
|
+
values: [ true ]
|
|
1847
|
+
},
|
|
1848
|
+
hover: {
|
|
1849
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1850
|
+
type: 'state',
|
|
1851
|
+
values: [ true ]
|
|
1852
|
+
},
|
|
1853
|
+
pressed: {
|
|
1854
|
+
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.',
|
|
1855
|
+
type: 'state',
|
|
1856
|
+
values: [ true ]
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
rules: [
|
|
1860
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#f4f4f7' } },
|
|
1861
|
+
{ if: { focus: true }, tokens: { backgroundColor: '#e3e6e8' } },
|
|
1862
|
+
{
|
|
1863
|
+
if: { pressed: true },
|
|
1864
|
+
tokens: { backgroundColor: '#b2b9bf', dividerColor: '#b2b9bf' }
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
tokens: {
|
|
1868
|
+
backgroundColor: null,
|
|
1869
|
+
dividerColor: '#e3e6e8',
|
|
1870
|
+
dividerSize: 1,
|
|
1871
|
+
iconMarginTop: 4,
|
|
1872
|
+
interItemMargin: 0,
|
|
1873
|
+
interItemMarginWithDivider: 0,
|
|
1874
|
+
itemBulletColor: '#4b286d',
|
|
1875
|
+
itemBulletContainerAlign: 'center',
|
|
1876
|
+
itemBulletContainerWidth: 16,
|
|
1877
|
+
itemBulletHeight: 4,
|
|
1878
|
+
itemBulletWidth: 4,
|
|
1879
|
+
itemFontName: 'HelveticaNow',
|
|
1880
|
+
itemFontSize: 16,
|
|
1881
|
+
itemFontWeight: '400',
|
|
1882
|
+
itemIconColor: '#4b286d',
|
|
1883
|
+
itemIconSize: 16,
|
|
1884
|
+
itemLineHeight: 1.5,
|
|
1885
|
+
listGutter: 16,
|
|
1886
|
+
paddingBottom: 12,
|
|
1887
|
+
paddingLeft: null,
|
|
1888
|
+
paddingRight: null,
|
|
1889
|
+
paddingTop: 12
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1738
1892
|
Radio: {
|
|
1739
1893
|
appearances: {
|
|
1740
1894
|
checked: {
|
|
@@ -2788,6 +2942,54 @@ module.exports = {
|
|
|
2788
2942
|
paddingTop: 12
|
|
2789
2943
|
}
|
|
2790
2944
|
},
|
|
2945
|
+
Timeline: {
|
|
2946
|
+
appearances: {
|
|
2947
|
+
horizontal: {
|
|
2948
|
+
description: 'Use horizontal to display timeline horizontally.',
|
|
2949
|
+
type: 'variant',
|
|
2950
|
+
values: [ true ]
|
|
2951
|
+
},
|
|
2952
|
+
viewport: {
|
|
2953
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2954
|
+
type: 'state',
|
|
2955
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
rules: [
|
|
2959
|
+
{
|
|
2960
|
+
if: { horizontal: true, viewport: [ 'lg', 'xl' ] },
|
|
2961
|
+
tokens: {
|
|
2962
|
+
connectorHeight: 1,
|
|
2963
|
+
connectorWidth: '100%',
|
|
2964
|
+
itemContentMarginBottom: 0,
|
|
2965
|
+
itemContentMarginRight: 32,
|
|
2966
|
+
lineItemContainerDirection: 'column',
|
|
2967
|
+
lineItemDirection: 'row',
|
|
2968
|
+
lineItemMarginBottom: 24,
|
|
2969
|
+
lineItemMarginRight: 0,
|
|
2970
|
+
timelineContainerDirection: 'row'
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
],
|
|
2974
|
+
tokens: {
|
|
2975
|
+
connectorHeight: '100%',
|
|
2976
|
+
connectorWidth: 1,
|
|
2977
|
+
dotBorderWidth: 1,
|
|
2978
|
+
dotColor: '#ffffff',
|
|
2979
|
+
dotWidth: 16,
|
|
2980
|
+
itemContentFlexSize: 1,
|
|
2981
|
+
itemContentMarginBottom: 32,
|
|
2982
|
+
itemContentMarginRight: 0,
|
|
2983
|
+
lineContainerFlexSize: 1,
|
|
2984
|
+
lineItemAlign: 'center',
|
|
2985
|
+
lineItemContainerDirection: 'row',
|
|
2986
|
+
lineItemDirection: 'column',
|
|
2987
|
+
lineItemMarginBottom: 0,
|
|
2988
|
+
lineItemMarginRight: 24,
|
|
2989
|
+
timelineColor: '#676e73',
|
|
2990
|
+
timelineContainerDirection: 'column'
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2791
2993
|
ToggleSwitch: {
|
|
2792
2994
|
appearances: {
|
|
2793
2995
|
focus: {
|
|
@@ -3239,6 +3441,50 @@ module.exports = {
|
|
|
3239
3441
|
description: 'Please only bold single words while using with headings',
|
|
3240
3442
|
if: { bold: true },
|
|
3241
3443
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
if: { bold: true, size: 'display1' },
|
|
3447
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
if: {
|
|
3451
|
+
bold: true,
|
|
3452
|
+
size: [ 'display2' ],
|
|
3453
|
+
viewport: [ 'xs', 'sm', 'md' ]
|
|
3454
|
+
},
|
|
3455
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
if: {
|
|
3459
|
+
bold: true,
|
|
3460
|
+
size: [ 'display2' ],
|
|
3461
|
+
viewport: [ 'lg', 'xl' ]
|
|
3462
|
+
},
|
|
3463
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
if: { bold: true, size: 'h1', viewport: [ 'xs', 'sm', 'md' ] },
|
|
3467
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
if: { bold: true, size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
3471
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
if: { bold: true, size: 'h2' },
|
|
3475
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
if: { bold: true, size: 'h3' },
|
|
3479
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
if: {
|
|
3483
|
+
bold: true,
|
|
3484
|
+
size: [ 'h4', 'h5', 'h6' ],
|
|
3485
|
+
viewport: [ 'xs', 'sm', 'md' ]
|
|
3486
|
+
},
|
|
3487
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
3242
3488
|
}
|
|
3243
3489
|
],
|
|
3244
3490
|
tokens: {
|
|
@@ -3311,5 +3557,5 @@ module.exports = {
|
|
|
3311
3557
|
tokens: { size: 96 }
|
|
3312
3558
|
}
|
|
3313
3559
|
},
|
|
3314
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
3560
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.6.0' }
|
|
3315
3561
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.7.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.6.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.4.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.7.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -2237,6 +2237,178 @@
|
|
|
2237
2237
|
"outlineWidth": "{palette.border.border1}"
|
|
2238
2238
|
}
|
|
2239
2239
|
},
|
|
2240
|
+
"QuickLinks": {
|
|
2241
|
+
"appearances": {
|
|
2242
|
+
"viewport": "{appearances.system.viewport}"
|
|
2243
|
+
},
|
|
2244
|
+
"rules": [
|
|
2245
|
+
{
|
|
2246
|
+
"if": {
|
|
2247
|
+
"viewport": ["md", "lg", "xl"]
|
|
2248
|
+
},
|
|
2249
|
+
"tokens": {
|
|
2250
|
+
"card": "{system.show.false}",
|
|
2251
|
+
"dividers": "{system.show.true}",
|
|
2252
|
+
"list": "{system.show.false}"
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
],
|
|
2256
|
+
"tokens": {
|
|
2257
|
+
"card": "{system.show.true}",
|
|
2258
|
+
"dividers": "{system.show.true}",
|
|
2259
|
+
"list": "{system.show.true}",
|
|
2260
|
+
"stackGap": "{system.integer.2}",
|
|
2261
|
+
"stackJustify": "{system.flexJustifyContent.center}",
|
|
2262
|
+
"stackSpace": "{system.integer.4}"
|
|
2263
|
+
}
|
|
2264
|
+
},
|
|
2265
|
+
"QuickLinksButton": {
|
|
2266
|
+
"appearances": {
|
|
2267
|
+
"focus": "{appearances.Button.focus}",
|
|
2268
|
+
"hover": "{appearances.Button.hover}",
|
|
2269
|
+
"pressed": "{appearances.Button.pressed}"
|
|
2270
|
+
},
|
|
2271
|
+
"rules": [
|
|
2272
|
+
{
|
|
2273
|
+
"if": {
|
|
2274
|
+
"hover": true
|
|
2275
|
+
},
|
|
2276
|
+
"tokens": {
|
|
2277
|
+
"borderWidth": "{palette.border.border3}"
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
"if": {
|
|
2282
|
+
"pressed": true
|
|
2283
|
+
},
|
|
2284
|
+
"tokens": {
|
|
2285
|
+
"backgroundColor": "{palette.color.greyCloud}",
|
|
2286
|
+
"borderWidth": "{palette.border.border3}"
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"if": {
|
|
2291
|
+
"focus": true
|
|
2292
|
+
},
|
|
2293
|
+
"tokens": {
|
|
2294
|
+
"outerBorderColor": "{palette.color.greyShuttle}"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"if": {
|
|
2299
|
+
"focus": true,
|
|
2300
|
+
"pressed": true
|
|
2301
|
+
},
|
|
2302
|
+
"tokens": {
|
|
2303
|
+
"borderWidth": "{palette.border.border1}"
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
],
|
|
2307
|
+
"tokens": {
|
|
2308
|
+
"alignSelf": "{system.flexAlign.flexStart}",
|
|
2309
|
+
"backgroundColor": "{palette.color.white}",
|
|
2310
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
2311
|
+
"borderRadius": "{palette.radius.pill32}",
|
|
2312
|
+
"borderWidth": "{palette.border.border1}",
|
|
2313
|
+
"color": "{palette.color.greyShuttle}",
|
|
2314
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
2315
|
+
"fontSize": "{palette.fontSize.size16}",
|
|
2316
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
2317
|
+
"icon": "{system.icon.none}",
|
|
2318
|
+
"iconColor": "{palette.color.purpleTelus}",
|
|
2319
|
+
"iconSize": "{palette.size.size24}",
|
|
2320
|
+
"iconSpace": "{system.integer.2}",
|
|
2321
|
+
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
2322
|
+
"minWidth": "{palette.size.size144}",
|
|
2323
|
+
"opacity": "{system.opacity.opaque}",
|
|
2324
|
+
"outerBackgroundColor": "{palette.color.transparent}",
|
|
2325
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
2326
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
2327
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
2328
|
+
"paddingBottom": "{palette.size.size12}",
|
|
2329
|
+
"paddingLeft": "{palette.size.size28}",
|
|
2330
|
+
"paddingRight": "{palette.size.size28}",
|
|
2331
|
+
"paddingTop": "{palette.size.size12}",
|
|
2332
|
+
"shadow": "{system.shadow.none}",
|
|
2333
|
+
"textAlign": "{system.flexJustifyContent.center}",
|
|
2334
|
+
"width": "{system.size.none}"
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"QuickLinksCard": {
|
|
2338
|
+
"appearances": {},
|
|
2339
|
+
"rules": [],
|
|
2340
|
+
"tokens": {
|
|
2341
|
+
"backgroundColor": "{palette.color.white}",
|
|
2342
|
+
"borderColor": "{palette.color.greyMystic}",
|
|
2343
|
+
"borderRadius": "{palette.radius.radius6}",
|
|
2344
|
+
"borderWidth": "{palette.border.border1}",
|
|
2345
|
+
"flex": "{system.integer.1}",
|
|
2346
|
+
"minWidth": "{system.size.none}",
|
|
2347
|
+
"paddingBottom": "{palette.size.size8}",
|
|
2348
|
+
"paddingLeft": "{palette.size.size12}",
|
|
2349
|
+
"paddingRight": "{palette.size.size12}",
|
|
2350
|
+
"paddingTop": "{palette.size.size8}",
|
|
2351
|
+
"shadow": "{system.shadow.none}"
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
"QuickLinksList": {
|
|
2355
|
+
"appearances": {
|
|
2356
|
+
"focus": "{appearances.QuickLinksList.focus}",
|
|
2357
|
+
"hover": "{appearances.QuickLinksList.hover}",
|
|
2358
|
+
"pressed": "{appearances.QuickLinksList.pressed}"
|
|
2359
|
+
},
|
|
2360
|
+
"rules": [
|
|
2361
|
+
{
|
|
2362
|
+
"if": {
|
|
2363
|
+
"hover": true
|
|
2364
|
+
},
|
|
2365
|
+
"tokens": {
|
|
2366
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"if": {
|
|
2371
|
+
"focus": true
|
|
2372
|
+
},
|
|
2373
|
+
"tokens": {
|
|
2374
|
+
"backgroundColor": "{palette.color.greyMystic}"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"if": {
|
|
2379
|
+
"pressed": true
|
|
2380
|
+
},
|
|
2381
|
+
"tokens": {
|
|
2382
|
+
"backgroundColor": "{palette.color.greyCloud}",
|
|
2383
|
+
"dividerColor": "{palette.color.greyCloud}"
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
],
|
|
2387
|
+
"tokens": {
|
|
2388
|
+
"backgroundColor": "{system.color.none}",
|
|
2389
|
+
"dividerColor": "{palette.color.greyMystic}",
|
|
2390
|
+
"dividerSize": "{palette.border.border1}",
|
|
2391
|
+
"iconMarginTop": "{palette.size.size4}",
|
|
2392
|
+
"interItemMargin": "{system.size.zero}",
|
|
2393
|
+
"interItemMarginWithDivider": "{system.size.zero}",
|
|
2394
|
+
"itemBulletColor": "{palette.color.purpleTelus}",
|
|
2395
|
+
"itemBulletContainerAlign": "{system.textAlign.center}",
|
|
2396
|
+
"itemBulletContainerWidth": "{palette.size.size16}",
|
|
2397
|
+
"itemBulletHeight": "{palette.size.size4}",
|
|
2398
|
+
"itemBulletWidth": "{palette.size.size4}",
|
|
2399
|
+
"itemFontName": "{palette.fontName.HelveticaNow}",
|
|
2400
|
+
"itemFontSize": "{palette.fontSize.size16}",
|
|
2401
|
+
"itemFontWeight": "{palette.fontWeight.weight400}",
|
|
2402
|
+
"itemIconColor": "{palette.color.purpleTelus}",
|
|
2403
|
+
"itemIconSize": "{palette.size.size16}",
|
|
2404
|
+
"itemLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
2405
|
+
"listGutter": "{palette.size.size16}",
|
|
2406
|
+
"paddingBottom": "{palette.size.size12}",
|
|
2407
|
+
"paddingLeft": "{system.size.none}",
|
|
2408
|
+
"paddingRight": "{system.size.none}",
|
|
2409
|
+
"paddingTop": "{palette.size.size12}"
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2240
2412
|
"Radio": {
|
|
2241
2413
|
"appearances": {
|
|
2242
2414
|
"checked": "{appearances.Radio.checked}",
|
|
@@ -3385,6 +3557,53 @@
|
|
|
3385
3557
|
"paddingTop": "{palette.size.size12}"
|
|
3386
3558
|
}
|
|
3387
3559
|
},
|
|
3560
|
+
"Timeline": {
|
|
3561
|
+
"appearances": {
|
|
3562
|
+
"horizontal": {
|
|
3563
|
+
"description": "Use horizontal to display timeline horizontally.",
|
|
3564
|
+
"type": "variant",
|
|
3565
|
+
"values": [true]
|
|
3566
|
+
},
|
|
3567
|
+
"viewport": "{appearances.system.viewport}"
|
|
3568
|
+
},
|
|
3569
|
+
"rules": [
|
|
3570
|
+
{
|
|
3571
|
+
"if": {
|
|
3572
|
+
"horizontal": true,
|
|
3573
|
+
"viewport": ["lg", "xl"]
|
|
3574
|
+
},
|
|
3575
|
+
"tokens": {
|
|
3576
|
+
"connectorHeight": "{palette.size.size1}",
|
|
3577
|
+
"connectorWidth": "{system.size.full}",
|
|
3578
|
+
"itemContentMarginBottom": "{palette.size.size0}",
|
|
3579
|
+
"itemContentMarginRight": "{palette.size.size32}",
|
|
3580
|
+
"lineItemContainerDirection": "{system.direction.column}",
|
|
3581
|
+
"lineItemDirection": "{system.direction.row}",
|
|
3582
|
+
"lineItemMarginBottom": "{palette.size.size24}",
|
|
3583
|
+
"lineItemMarginRight": "{palette.size.size0}",
|
|
3584
|
+
"timelineContainerDirection": "{system.direction.row}"
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
],
|
|
3588
|
+
"tokens": {
|
|
3589
|
+
"connectorHeight": "{system.size.full}",
|
|
3590
|
+
"connectorWidth": "{palette.size.size1}",
|
|
3591
|
+
"dotBorderWidth": "{palette.border.border1}",
|
|
3592
|
+
"dotColor": "{palette.color.white}",
|
|
3593
|
+
"dotWidth": "{palette.size.size16}",
|
|
3594
|
+
"itemContentFlexSize": "{system.integer.1}",
|
|
3595
|
+
"itemContentMarginBottom": "{palette.size.size32}",
|
|
3596
|
+
"itemContentMarginRight": "{palette.size.size0}",
|
|
3597
|
+
"lineContainerFlexSize": "{system.integer.1}",
|
|
3598
|
+
"lineItemAlign": "{system.flexAlign.center}",
|
|
3599
|
+
"lineItemContainerDirection": "{system.direction.row}",
|
|
3600
|
+
"lineItemDirection": "{system.direction.column}",
|
|
3601
|
+
"lineItemMarginBottom": "{palette.size.size0}",
|
|
3602
|
+
"lineItemMarginRight": "{palette.size.size24}",
|
|
3603
|
+
"timelineColor": "{palette.color.greyShuttle}",
|
|
3604
|
+
"timelineContainerDirection": "{system.direction.column}"
|
|
3605
|
+
}
|
|
3606
|
+
},
|
|
3388
3607
|
"ToggleSwitch": {
|
|
3389
3608
|
"appearances": {
|
|
3390
3609
|
"focus": "{appearances.ToggleSwitch.focus}",
|
|
@@ -3988,6 +4207,91 @@
|
|
|
3988
4207
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
3989
4208
|
"fontWeight": "{palette.fontWeight.weight700}"
|
|
3990
4209
|
}
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"if": {
|
|
4213
|
+
"bold": true,
|
|
4214
|
+
"size": "display1"
|
|
4215
|
+
},
|
|
4216
|
+
"tokens": {
|
|
4217
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4218
|
+
"fontWeight": "{palette.fontWeight.weight400}"
|
|
4219
|
+
}
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"if": {
|
|
4223
|
+
"bold": true,
|
|
4224
|
+
"size": ["display2"],
|
|
4225
|
+
"viewport": ["xs", "sm", "md"]
|
|
4226
|
+
},
|
|
4227
|
+
"tokens": {
|
|
4228
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4229
|
+
"fontWeight": "{palette.fontWeight.weight500}"
|
|
4230
|
+
}
|
|
4231
|
+
},
|
|
4232
|
+
{
|
|
4233
|
+
"if": {
|
|
4234
|
+
"bold": true,
|
|
4235
|
+
"size": ["display2"],
|
|
4236
|
+
"viewport": ["lg", "xl"]
|
|
4237
|
+
},
|
|
4238
|
+
"tokens": {
|
|
4239
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4240
|
+
"fontWeight": "{palette.fontWeight.weight400}"
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"if": {
|
|
4245
|
+
"bold": true,
|
|
4246
|
+
"size": "h1",
|
|
4247
|
+
"viewport": ["xs", "sm", "md"]
|
|
4248
|
+
},
|
|
4249
|
+
"tokens": {
|
|
4250
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4251
|
+
"fontWeight": "{palette.fontWeight.weight500}"
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
{
|
|
4255
|
+
"if": {
|
|
4256
|
+
"bold": true,
|
|
4257
|
+
"size": "h1",
|
|
4258
|
+
"viewport": ["lg", "xl"]
|
|
4259
|
+
},
|
|
4260
|
+
"tokens": {
|
|
4261
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4262
|
+
"fontWeight": "{palette.fontWeight.weight400}"
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4265
|
+
{
|
|
4266
|
+
"if": {
|
|
4267
|
+
"bold": true,
|
|
4268
|
+
"size": "h2"
|
|
4269
|
+
},
|
|
4270
|
+
"tokens": {
|
|
4271
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4272
|
+
"fontWeight": "{palette.fontWeight.weight500}"
|
|
4273
|
+
}
|
|
4274
|
+
},
|
|
4275
|
+
{
|
|
4276
|
+
"if": {
|
|
4277
|
+
"bold": true,
|
|
4278
|
+
"size": "h3"
|
|
4279
|
+
},
|
|
4280
|
+
"tokens": {
|
|
4281
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4282
|
+
"fontWeight": "{palette.fontWeight.weight700}"
|
|
4283
|
+
}
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
"if": {
|
|
4287
|
+
"bold": true,
|
|
4288
|
+
"size": ["h4", "h5", "h6"],
|
|
4289
|
+
"viewport": ["xs", "sm", "md"]
|
|
4290
|
+
},
|
|
4291
|
+
"tokens": {
|
|
4292
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4293
|
+
"fontWeight": "{palette.fontWeight.weight700}"
|
|
4294
|
+
}
|
|
3991
4295
|
}
|
|
3992
4296
|
],
|
|
3993
4297
|
"tokens": {
|