@telus-uds/theme-koodo 5.1.0 → 5.3.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 +864 -651
- package/build/android/theme.json +223 -5
- package/build/ios/schema.json +864 -651
- package/build/ios/theme.json +223 -5
- package/build/rn/schema.json +864 -651
- package/build/rn/theme.js +213 -8
- package/package.json +4 -4
- package/theme.json +238 -6
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 13 Dec 2023 21:12:17 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1043,10 +1043,28 @@ module.exports = {
|
|
|
1043
1043
|
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
1044
1044
|
},
|
|
1045
1045
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1046
|
+
focus: {
|
|
1047
|
+
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.",
|
|
1048
|
+
platforms: [ 'rn' ],
|
|
1049
|
+
type: 'state',
|
|
1050
|
+
values: [ true, false ]
|
|
1051
|
+
},
|
|
1052
|
+
hover: {
|
|
1053
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1054
|
+
platforms: [ 'rn' ],
|
|
1055
|
+
type: 'state',
|
|
1056
|
+
values: [ true, false ]
|
|
1057
|
+
},
|
|
1058
|
+
interactive: { type: 'variant', values: [ true ] },
|
|
1046
1059
|
padding: {
|
|
1047
1060
|
type: 'variant',
|
|
1048
1061
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
1049
1062
|
},
|
|
1063
|
+
pressed: {
|
|
1064
|
+
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.',
|
|
1065
|
+
type: 'state',
|
|
1066
|
+
values: [ true, false ]
|
|
1067
|
+
},
|
|
1050
1068
|
viewport: {
|
|
1051
1069
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1052
1070
|
type: 'state',
|
|
@@ -1143,6 +1161,29 @@ module.exports = {
|
|
|
1143
1161
|
paddingRight: 0,
|
|
1144
1162
|
paddingTop: 0
|
|
1145
1163
|
}
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
1167
|
+
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
if: { hover: true, interactive: true },
|
|
1171
|
+
tokens: {
|
|
1172
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
1173
|
+
borderColor: 'transparent'
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
if: { focus: true, interactive: true },
|
|
1178
|
+
tokens: { borderColor: '#000000', borderWidth: 2 }
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
if: { interactive: true, pressed: true },
|
|
1182
|
+
tokens: {
|
|
1183
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
1184
|
+
borderColor: '#c9c8c8',
|
|
1185
|
+
borderWidth: 2
|
|
1186
|
+
}
|
|
1146
1187
|
}
|
|
1147
1188
|
],
|
|
1148
1189
|
tokens: {
|
|
@@ -1747,22 +1788,31 @@ module.exports = {
|
|
|
1747
1788
|
},
|
|
1748
1789
|
{
|
|
1749
1790
|
if: { size: 'large' },
|
|
1750
|
-
tokens: { fontSize: 20, iconSize:
|
|
1791
|
+
tokens: { blockLineHeight: 1.4, fontSize: 20, iconSize: 20 }
|
|
1751
1792
|
},
|
|
1752
1793
|
{
|
|
1753
1794
|
if: { size: 'small' },
|
|
1754
|
-
tokens: {
|
|
1795
|
+
tokens: {
|
|
1796
|
+
blockLineHeight: 1.42857142857,
|
|
1797
|
+
fontSize: 14,
|
|
1798
|
+
iconSize: 16
|
|
1799
|
+
}
|
|
1755
1800
|
},
|
|
1756
1801
|
{
|
|
1757
1802
|
if: { size: 'micro' },
|
|
1758
|
-
tokens: {
|
|
1803
|
+
tokens: {
|
|
1804
|
+
blockLineHeight: 1.33333333333,
|
|
1805
|
+
fontSize: 12,
|
|
1806
|
+
iconSize: 16
|
|
1807
|
+
}
|
|
1759
1808
|
}
|
|
1760
1809
|
],
|
|
1761
1810
|
tokens: {
|
|
1811
|
+
blockLineHeight: 1.5,
|
|
1762
1812
|
color: '#000000',
|
|
1763
1813
|
fontSize: 16,
|
|
1764
1814
|
iconDisplace: 0,
|
|
1765
|
-
iconSize:
|
|
1815
|
+
iconSize: 16,
|
|
1766
1816
|
iconSpace: 1,
|
|
1767
1817
|
leftIcon: PaletteIconChevronLeft,
|
|
1768
1818
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -1770,6 +1820,90 @@ module.exports = {
|
|
|
1770
1820
|
textLine: 'none'
|
|
1771
1821
|
}
|
|
1772
1822
|
},
|
|
1823
|
+
ColourToggle: {
|
|
1824
|
+
appearances: {
|
|
1825
|
+
focus: {
|
|
1826
|
+
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.",
|
|
1827
|
+
platforms: [ 'rn' ],
|
|
1828
|
+
type: 'state',
|
|
1829
|
+
values: [ true, false ]
|
|
1830
|
+
},
|
|
1831
|
+
hover: {
|
|
1832
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1833
|
+
platforms: [ 'rn' ],
|
|
1834
|
+
type: 'state',
|
|
1835
|
+
values: [ true, false ]
|
|
1836
|
+
},
|
|
1837
|
+
pressed: {
|
|
1838
|
+
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.',
|
|
1839
|
+
type: 'state',
|
|
1840
|
+
values: [ true, false ]
|
|
1841
|
+
},
|
|
1842
|
+
selected: {
|
|
1843
|
+
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`.',
|
|
1844
|
+
type: 'state',
|
|
1845
|
+
values: [ true ]
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
rules: [
|
|
1849
|
+
{
|
|
1850
|
+
if: { hover: true },
|
|
1851
|
+
tokens: {
|
|
1852
|
+
bubbleBorderColor: '#c9c8c8',
|
|
1853
|
+
bubbleBorderRadius: 45,
|
|
1854
|
+
bubbleBorderWidth: 1
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
if: { focus: true },
|
|
1859
|
+
tokens: {
|
|
1860
|
+
bubbleBorderColor: '#7a3dfc',
|
|
1861
|
+
bubbleBorderRadius: 45,
|
|
1862
|
+
bubbleBorderWidth: 1
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
if: { pressed: true },
|
|
1867
|
+
tokens: {
|
|
1868
|
+
bubbleBorderColor: '#595959',
|
|
1869
|
+
bubbleBorderRadius: 45,
|
|
1870
|
+
bubbleBorderWidth: 1
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
if: { selected: true },
|
|
1875
|
+
tokens: {
|
|
1876
|
+
bubbleBorderColor: '#000000',
|
|
1877
|
+
bubbleBorderRadius: 45,
|
|
1878
|
+
bubbleBorderWidth: 1
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
],
|
|
1882
|
+
tokens: {
|
|
1883
|
+
borderColor: '#c9c8c8',
|
|
1884
|
+
borderRadius: 45,
|
|
1885
|
+
borderWidth: 1,
|
|
1886
|
+
bubbleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1887
|
+
bubbleBorderRadius: 0,
|
|
1888
|
+
bubbleBorderWidth: 0,
|
|
1889
|
+
innerBubbleBorderRadius: 45,
|
|
1890
|
+
innerBubbleHeight: 40,
|
|
1891
|
+
innerBubbleWidth: 40,
|
|
1892
|
+
outerBubbleContentAlignItems: 'center',
|
|
1893
|
+
outerBubbleHeight: 48,
|
|
1894
|
+
outerBubbleJustifyContent: 'center',
|
|
1895
|
+
outerBubbleWidth: 48,
|
|
1896
|
+
shadow: {
|
|
1897
|
+
blur: 2,
|
|
1898
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1899
|
+
inset: true,
|
|
1900
|
+
offsetX: 0,
|
|
1901
|
+
offsetY: 2,
|
|
1902
|
+
spread: 0
|
|
1903
|
+
},
|
|
1904
|
+
space: 2
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1773
1907
|
Countdown: {
|
|
1774
1908
|
appearances: {
|
|
1775
1909
|
feature: { type: 'variant', values: [ true ] },
|
|
@@ -2704,6 +2838,11 @@ module.exports = {
|
|
|
2704
2838
|
type: 'state',
|
|
2705
2839
|
values: [ true, false ]
|
|
2706
2840
|
},
|
|
2841
|
+
quiet: {
|
|
2842
|
+
description: 'When it is true, it does not show the decoration',
|
|
2843
|
+
type: 'state',
|
|
2844
|
+
values: [ true, false ]
|
|
2845
|
+
},
|
|
2707
2846
|
size: {
|
|
2708
2847
|
description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
|
|
2709
2848
|
type: 'variant',
|
|
@@ -2787,6 +2926,19 @@ module.exports = {
|
|
|
2787
2926
|
{
|
|
2788
2927
|
if: { size: 'large' },
|
|
2789
2928
|
tokens: { blockFontSize: 20, blockLineHeight: 1.4, iconSize: 24 }
|
|
2929
|
+
},
|
|
2930
|
+
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
2931
|
+
{
|
|
2932
|
+
if: { hover: true, quiet: true },
|
|
2933
|
+
tokens: { color: '#404040', textLine: 'underline' }
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
if: { alternative: true, hover: true, quiet: true },
|
|
2937
|
+
tokens: { color: '#5b2bc2', textLine: 'underline' }
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
if: { hover: true, inverse: true, quiet: true },
|
|
2941
|
+
tokens: { color: '#efefef', textLine: 'underline' }
|
|
2790
2942
|
}
|
|
2791
2943
|
],
|
|
2792
2944
|
tokens: {
|
|
@@ -3125,6 +3277,11 @@ module.exports = {
|
|
|
3125
3277
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3126
3278
|
type: 'state',
|
|
3127
3279
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
3280
|
+
},
|
|
3281
|
+
width: {
|
|
3282
|
+
description: 'The width of the modal',
|
|
3283
|
+
type: 'state',
|
|
3284
|
+
values: [ 's', 'm', 'l', 'xl' ]
|
|
3128
3285
|
}
|
|
3129
3286
|
},
|
|
3130
3287
|
rules: [
|
|
@@ -3153,11 +3310,59 @@ module.exports = {
|
|
|
3153
3310
|
}
|
|
3154
3311
|
},
|
|
3155
3312
|
{
|
|
3156
|
-
if: {
|
|
3313
|
+
if: { viewport: [ 'md', 'lg', 'xl' ], width: 's' },
|
|
3314
|
+
tokens: {
|
|
3315
|
+
containerPaddingBottom: 32,
|
|
3316
|
+
containerPaddingTop: 32,
|
|
3317
|
+
maxWidth: 320
|
|
3318
|
+
}
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
if: { viewport: [ 'md', 'lg', 'xl' ], width: 'm' },
|
|
3322
|
+
tokens: {
|
|
3323
|
+
containerPaddingBottom: 32,
|
|
3324
|
+
containerPaddingTop: 32,
|
|
3325
|
+
maxWidth: 480
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
if: { viewport: [ 'lg', 'xl' ], width: 'l' },
|
|
3330
|
+
tokens: {
|
|
3331
|
+
containerPaddingBottom: 32,
|
|
3332
|
+
containerPaddingTop: 32,
|
|
3333
|
+
maxWidth: 630
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
if: { viewport: 'xl', width: 'xl' },
|
|
3338
|
+
tokens: {
|
|
3339
|
+
containerPaddingBottom: 32,
|
|
3340
|
+
containerPaddingTop: 32,
|
|
3341
|
+
maxWidth: 768
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
if: { maxWidth: true, viewport: 'md' },
|
|
3346
|
+
tokens: {
|
|
3347
|
+
containerPaddingLeft: 16,
|
|
3348
|
+
containerPaddingRight: 16,
|
|
3349
|
+
maxWidth: 480
|
|
3350
|
+
}
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
if: { maxWidth: true, viewport: 'lg' },
|
|
3354
|
+
tokens: {
|
|
3355
|
+
containerPaddingLeft: 16,
|
|
3356
|
+
containerPaddingRight: 16,
|
|
3357
|
+
maxWidth: 630
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
if: { maxWidth: true, viewport: 'xl' },
|
|
3157
3362
|
tokens: {
|
|
3158
3363
|
containerPaddingLeft: 16,
|
|
3159
3364
|
containerPaddingRight: 16,
|
|
3160
|
-
maxWidth:
|
|
3365
|
+
maxWidth: 768
|
|
3161
3366
|
}
|
|
3162
3367
|
}
|
|
3163
3368
|
],
|
|
@@ -6928,5 +7133,5 @@ module.exports = {
|
|
|
6928
7133
|
tokens: { size: 96 }
|
|
6929
7134
|
}
|
|
6930
7135
|
},
|
|
6931
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
7136
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.48.0' }
|
|
6932
7137
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^1.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^1.1.1",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.48.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^1.
|
|
23
|
+
"@telus-uds/palette-koodo": "^1.1.1"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "5.
|
|
34
|
+
"version": "5.3.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1353,10 +1353,17 @@
|
|
|
1353
1353
|
"type": "variant",
|
|
1354
1354
|
"values": ["none", "small", "large"]
|
|
1355
1355
|
},
|
|
1356
|
+
"focus": "{appearances.Card.focus}",
|
|
1357
|
+
"hover": "{appearances.Card.hover}",
|
|
1358
|
+
"interactive": {
|
|
1359
|
+
"type": "variant",
|
|
1360
|
+
"values": [true]
|
|
1361
|
+
},
|
|
1356
1362
|
"padding": {
|
|
1357
1363
|
"type": "variant",
|
|
1358
1364
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
1359
1365
|
},
|
|
1366
|
+
"pressed": "{appearances.Card.pressed}",
|
|
1360
1367
|
"viewport": "{appearances.system.viewport}"
|
|
1361
1368
|
},
|
|
1362
1369
|
"rules": [
|
|
@@ -1500,6 +1507,48 @@
|
|
|
1500
1507
|
"paddingRight": "{palette.size.size0}",
|
|
1501
1508
|
"paddingTop": "{palette.size.size0}"
|
|
1502
1509
|
}
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"if": {
|
|
1513
|
+
"focus": false,
|
|
1514
|
+
"interactive": true,
|
|
1515
|
+
"pressed": false
|
|
1516
|
+
},
|
|
1517
|
+
"tokens": {
|
|
1518
|
+
"borderColor": "{palette.color.white}",
|
|
1519
|
+
"borderWidth": "{palette.border.border2}"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"if": {
|
|
1524
|
+
"hover": true,
|
|
1525
|
+
"interactive": true
|
|
1526
|
+
},
|
|
1527
|
+
"tokens": {
|
|
1528
|
+
"backgroundColor": "{palette.color.dark10}",
|
|
1529
|
+
"borderColor": "{system.color.transparent}"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"if": {
|
|
1534
|
+
"focus": true,
|
|
1535
|
+
"interactive": true
|
|
1536
|
+
},
|
|
1537
|
+
"tokens": {
|
|
1538
|
+
"borderColor": "{palette.color.black}",
|
|
1539
|
+
"borderWidth": "{palette.border.border2}"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"if": {
|
|
1544
|
+
"interactive": true,
|
|
1545
|
+
"pressed": true
|
|
1546
|
+
},
|
|
1547
|
+
"tokens": {
|
|
1548
|
+
"backgroundColor": "{palette.color.dark20}",
|
|
1549
|
+
"borderColor": "{palette.color.silver}",
|
|
1550
|
+
"borderWidth": "{palette.border.border2}"
|
|
1551
|
+
}
|
|
1503
1552
|
}
|
|
1504
1553
|
],
|
|
1505
1554
|
"tokens": {
|
|
@@ -2206,8 +2255,9 @@
|
|
|
2206
2255
|
"size": "large"
|
|
2207
2256
|
},
|
|
2208
2257
|
"tokens": {
|
|
2258
|
+
"blockLineHeight": "{palette.lineHeight.ratio7to5}",
|
|
2209
2259
|
"fontSize": "{palette.fontSize.size20}",
|
|
2210
|
-
"iconSize": "{palette.size.
|
|
2260
|
+
"iconSize": "{palette.size.size20}"
|
|
2211
2261
|
}
|
|
2212
2262
|
},
|
|
2213
2263
|
{
|
|
@@ -2215,6 +2265,7 @@
|
|
|
2215
2265
|
"size": "small"
|
|
2216
2266
|
},
|
|
2217
2267
|
"tokens": {
|
|
2268
|
+
"blockLineHeight": "{palette.lineHeight.ratio10to7}",
|
|
2218
2269
|
"fontSize": "{palette.fontSize.size14}",
|
|
2219
2270
|
"iconSize": "{palette.size.size16}"
|
|
2220
2271
|
}
|
|
@@ -2224,16 +2275,18 @@
|
|
|
2224
2275
|
"size": "micro"
|
|
2225
2276
|
},
|
|
2226
2277
|
"tokens": {
|
|
2278
|
+
"blockLineHeight": "{palette.lineHeight.ratio4to3}",
|
|
2227
2279
|
"fontSize": "{palette.fontSize.size12}",
|
|
2228
2280
|
"iconSize": "{palette.size.size16}"
|
|
2229
2281
|
}
|
|
2230
2282
|
}
|
|
2231
2283
|
],
|
|
2232
2284
|
"tokens": {
|
|
2285
|
+
"blockLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
2233
2286
|
"color": "{palette.color.black}",
|
|
2234
2287
|
"fontSize": "{palette.fontSize.size16}",
|
|
2235
2288
|
"iconDisplace": "{palette.size.size0}",
|
|
2236
|
-
"iconSize": "{palette.size.
|
|
2289
|
+
"iconSize": "{palette.size.size16}",
|
|
2237
2290
|
"iconSpace": "{system.integer.1}",
|
|
2238
2291
|
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
2239
2292
|
"outerBorderColor": "{palette.color.transparent}",
|
|
@@ -2241,6 +2294,73 @@
|
|
|
2241
2294
|
"textLine": "{system.textLine.none}"
|
|
2242
2295
|
}
|
|
2243
2296
|
},
|
|
2297
|
+
"ColourToggle": {
|
|
2298
|
+
"appearances": {
|
|
2299
|
+
"focus": "{appearances.ColourToggle.focus}",
|
|
2300
|
+
"hover": "{appearances.ColourToggle.hover}",
|
|
2301
|
+
"pressed": "{appearances.ColourToggle.pressed}",
|
|
2302
|
+
"selected": "{appearances.ColourToggle.selected}"
|
|
2303
|
+
},
|
|
2304
|
+
"rules": [
|
|
2305
|
+
{
|
|
2306
|
+
"if": {
|
|
2307
|
+
"hover": true
|
|
2308
|
+
},
|
|
2309
|
+
"tokens": {
|
|
2310
|
+
"bubbleBorderColor": "{palette.color.silver}",
|
|
2311
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2312
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"if": {
|
|
2317
|
+
"focus": true
|
|
2318
|
+
},
|
|
2319
|
+
"tokens": {
|
|
2320
|
+
"bubbleBorderColor": "{palette.color.purple}",
|
|
2321
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2322
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"if": {
|
|
2327
|
+
"pressed": true
|
|
2328
|
+
},
|
|
2329
|
+
"tokens": {
|
|
2330
|
+
"bubbleBorderColor": "{palette.color.mortar}",
|
|
2331
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2332
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2333
|
+
}
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"if": {
|
|
2337
|
+
"selected": true
|
|
2338
|
+
},
|
|
2339
|
+
"tokens": {
|
|
2340
|
+
"bubbleBorderColor": "{palette.color.black}",
|
|
2341
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2342
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
],
|
|
2346
|
+
"tokens": {
|
|
2347
|
+
"borderColor": "{palette.color.silver}",
|
|
2348
|
+
"borderRadius": "{palette.radius.radius45}",
|
|
2349
|
+
"borderWidth": "{palette.border.border1}",
|
|
2350
|
+
"bubbleBorderColor": "{palette.color.transparent}",
|
|
2351
|
+
"bubbleBorderRadius": "{palette.radius.none}",
|
|
2352
|
+
"bubbleBorderWidth": "{palette.border.none}",
|
|
2353
|
+
"innerBubbleBorderRadius": "{palette.radius.radius45}",
|
|
2354
|
+
"innerBubbleHeight": "{palette.size.size40}",
|
|
2355
|
+
"innerBubbleWidth": "{palette.size.size40}",
|
|
2356
|
+
"outerBubbleContentAlignItems": "{system.flexAlign.center}",
|
|
2357
|
+
"outerBubbleHeight": "{palette.size.size48}",
|
|
2358
|
+
"outerBubbleJustifyContent": "{system.flexJustifyContent.center}",
|
|
2359
|
+
"outerBubbleWidth": "{palette.size.size48}",
|
|
2360
|
+
"shadow": "{palette.shadow.surfaceInset}",
|
|
2361
|
+
"space": "{system.integer.2}"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2244
2364
|
"Countdown": {
|
|
2245
2365
|
"appearances": {
|
|
2246
2366
|
"feature": {
|
|
@@ -3561,6 +3681,11 @@
|
|
|
3561
3681
|
"values": [true]
|
|
3562
3682
|
},
|
|
3563
3683
|
"pressed": "{appearances.Link.pressed}",
|
|
3684
|
+
"quiet": {
|
|
3685
|
+
"description": "When it is true, it does not show the decoration",
|
|
3686
|
+
"type": "state",
|
|
3687
|
+
"values": [true, false]
|
|
3688
|
+
},
|
|
3564
3689
|
"size": {
|
|
3565
3690
|
"description": "Text sizes for block links; similar but not always identical to Typography sizes.",
|
|
3566
3691
|
"type": "variant",
|
|
@@ -3739,6 +3864,46 @@
|
|
|
3739
3864
|
"blockLineHeight": "{palette.lineHeight.ratio7to5}",
|
|
3740
3865
|
"iconSize": "{palette.size.size24}"
|
|
3741
3866
|
}
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"if": {
|
|
3870
|
+
"quiet": true
|
|
3871
|
+
},
|
|
3872
|
+
"tokens": {
|
|
3873
|
+
"textLine": "{system.textLine.none}"
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"if": {
|
|
3878
|
+
"hover": true,
|
|
3879
|
+
"quiet": true
|
|
3880
|
+
},
|
|
3881
|
+
"tokens": {
|
|
3882
|
+
"color": "{palette.color.blackLight}",
|
|
3883
|
+
"textLine": "{system.textLine.underline}"
|
|
3884
|
+
}
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"if": {
|
|
3888
|
+
"alternative": true,
|
|
3889
|
+
"hover": true,
|
|
3890
|
+
"quiet": true
|
|
3891
|
+
},
|
|
3892
|
+
"tokens": {
|
|
3893
|
+
"color": "{palette.color.purpleDark}",
|
|
3894
|
+
"textLine": "{system.textLine.underline}"
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"if": {
|
|
3899
|
+
"hover": true,
|
|
3900
|
+
"inverse": true,
|
|
3901
|
+
"quiet": true
|
|
3902
|
+
},
|
|
3903
|
+
"tokens": {
|
|
3904
|
+
"color": "{palette.color.gallery}",
|
|
3905
|
+
"textLine": "{system.textLine.underline}"
|
|
3906
|
+
}
|
|
3742
3907
|
}
|
|
3743
3908
|
],
|
|
3744
3909
|
"tokens": {
|
|
@@ -4106,7 +4271,8 @@
|
|
|
4106
4271
|
"Modal": {
|
|
4107
4272
|
"appearances": {
|
|
4108
4273
|
"maxWidth": "{appearances.Modal.maxWidth}",
|
|
4109
|
-
"viewport": "{appearances.system.viewport}"
|
|
4274
|
+
"viewport": "{appearances.system.viewport}",
|
|
4275
|
+
"width": "{appearances.Modal.width}"
|
|
4110
4276
|
},
|
|
4111
4277
|
"rules": [
|
|
4112
4278
|
{
|
|
@@ -4130,22 +4296,88 @@
|
|
|
4130
4296
|
"containerPaddingBottom": "{palette.size.size32}",
|
|
4131
4297
|
"containerPaddingTop": "{palette.size.size32}",
|
|
4132
4298
|
"direction": "{system.direction.row}",
|
|
4133
|
-
"maxWidth": "{
|
|
4299
|
+
"maxWidth": "{palette.size.size576}",
|
|
4134
4300
|
"paddingBottom": "{palette.size.size32}",
|
|
4135
4301
|
"paddingLeft": "{palette.size.size32}",
|
|
4136
4302
|
"paddingRight": "{palette.size.size32}",
|
|
4137
4303
|
"paddingTop": "{palette.size.size32}"
|
|
4138
4304
|
}
|
|
4139
4305
|
},
|
|
4306
|
+
{
|
|
4307
|
+
"if": {
|
|
4308
|
+
"viewport": ["md", "lg", "xl"],
|
|
4309
|
+
"width": "s"
|
|
4310
|
+
},
|
|
4311
|
+
"tokens": {
|
|
4312
|
+
"containerPaddingBottom": "{palette.size.size32}",
|
|
4313
|
+
"containerPaddingTop": "{palette.size.size32}",
|
|
4314
|
+
"maxWidth": "{palette.size.size320}"
|
|
4315
|
+
}
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"if": {
|
|
4319
|
+
"viewport": ["md", "lg", "xl"],
|
|
4320
|
+
"width": "m"
|
|
4321
|
+
},
|
|
4322
|
+
"tokens": {
|
|
4323
|
+
"containerPaddingBottom": "{palette.size.size32}",
|
|
4324
|
+
"containerPaddingTop": "{palette.size.size32}",
|
|
4325
|
+
"maxWidth": "{palette.size.size480}"
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
"if": {
|
|
4330
|
+
"viewport": ["lg", "xl"],
|
|
4331
|
+
"width": "l"
|
|
4332
|
+
},
|
|
4333
|
+
"tokens": {
|
|
4334
|
+
"containerPaddingBottom": "{palette.size.size32}",
|
|
4335
|
+
"containerPaddingTop": "{palette.size.size32}",
|
|
4336
|
+
"maxWidth": "{palette.size.size630}"
|
|
4337
|
+
}
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"if": {
|
|
4341
|
+
"viewport": "xl",
|
|
4342
|
+
"width": "xl"
|
|
4343
|
+
},
|
|
4344
|
+
"tokens": {
|
|
4345
|
+
"containerPaddingBottom": "{palette.size.size32}",
|
|
4346
|
+
"containerPaddingTop": "{palette.size.size32}",
|
|
4347
|
+
"maxWidth": "{palette.size.size768}"
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4140
4350
|
{
|
|
4141
4351
|
"if": {
|
|
4142
4352
|
"maxWidth": true,
|
|
4143
|
-
"viewport":
|
|
4353
|
+
"viewport": "md"
|
|
4354
|
+
},
|
|
4355
|
+
"tokens": {
|
|
4356
|
+
"containerPaddingLeft": "{palette.size.size16}",
|
|
4357
|
+
"containerPaddingRight": "{palette.size.size16}",
|
|
4358
|
+
"maxWidth": "{palette.size.size480}"
|
|
4359
|
+
}
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"if": {
|
|
4363
|
+
"maxWidth": true,
|
|
4364
|
+
"viewport": "lg"
|
|
4365
|
+
},
|
|
4366
|
+
"tokens": {
|
|
4367
|
+
"containerPaddingLeft": "{palette.size.size16}",
|
|
4368
|
+
"containerPaddingRight": "{palette.size.size16}",
|
|
4369
|
+
"maxWidth": "{palette.size.size630}"
|
|
4370
|
+
}
|
|
4371
|
+
},
|
|
4372
|
+
{
|
|
4373
|
+
"if": {
|
|
4374
|
+
"maxWidth": true,
|
|
4375
|
+
"viewport": "xl"
|
|
4144
4376
|
},
|
|
4145
4377
|
"tokens": {
|
|
4146
4378
|
"containerPaddingLeft": "{palette.size.size16}",
|
|
4147
4379
|
"containerPaddingRight": "{palette.size.size16}",
|
|
4148
|
-
"maxWidth": "{
|
|
4380
|
+
"maxWidth": "{palette.size.size768}"
|
|
4149
4381
|
}
|
|
4150
4382
|
}
|
|
4151
4383
|
],
|