@telus-uds/theme-koodo 3.3.2 → 3.5.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/schema.json +1234 -344
- package/build/theme.js +232 -6
- package/package.json +2 -2
- package/theme.json +239 -3
package/build/theme.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 14 Oct 2022 19:26:12 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
|
|
9
9
|
const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
|
|
10
10
|
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
11
|
-
const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
12
11
|
const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
|
|
12
|
+
const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
13
13
|
const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
|
|
14
14
|
const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
|
|
15
15
|
const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
|
|
@@ -29,7 +29,7 @@ module.exports = {
|
|
|
29
29
|
appearances: {
|
|
30
30
|
background: {
|
|
31
31
|
description: 'Background colour of box. Transparent if not specified.',
|
|
32
|
-
values: [ 'light', 'lightest' ]
|
|
32
|
+
values: [ 'light', 'lightest', 'black' ]
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
rules: [
|
|
@@ -40,6 +40,10 @@ module.exports = {
|
|
|
40
40
|
{
|
|
41
41
|
if: { background: 'light' },
|
|
42
42
|
tokens: { backgroundColor: '#efefef' }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { background: 'black' },
|
|
46
|
+
tokens: { backgroundColor: '#000000' }
|
|
43
47
|
}
|
|
44
48
|
],
|
|
45
49
|
tokens: { backgroundColor: null }
|
|
@@ -203,6 +207,8 @@ module.exports = {
|
|
|
203
207
|
paddingTop: 8,
|
|
204
208
|
shadow: null,
|
|
205
209
|
textAlign: 'center',
|
|
210
|
+
textLine: 'none',
|
|
211
|
+
textLineStyle: 'solid',
|
|
206
212
|
width: null
|
|
207
213
|
}
|
|
208
214
|
},
|
|
@@ -566,14 +572,14 @@ module.exports = {
|
|
|
566
572
|
rules: [
|
|
567
573
|
{
|
|
568
574
|
if: { expanded: true },
|
|
569
|
-
tokens: { icon:
|
|
575
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
570
576
|
}
|
|
571
577
|
],
|
|
572
578
|
tokens: {
|
|
573
579
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
574
580
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
575
581
|
borderWidth: 0,
|
|
576
|
-
icon:
|
|
582
|
+
icon: PaletteIconChevronDown,
|
|
577
583
|
iconColor: '#016b6a',
|
|
578
584
|
iconGap: 16,
|
|
579
585
|
iconPosition: 'left',
|
|
@@ -1131,6 +1137,11 @@ module.exports = {
|
|
|
1131
1137
|
},
|
|
1132
1138
|
PaginationSideButton: {
|
|
1133
1139
|
appearances: {
|
|
1140
|
+
compact: {
|
|
1141
|
+
description: 'Determines if the "Next" and "Previous" labels should be omitted',
|
|
1142
|
+
type: 'state',
|
|
1143
|
+
values: [ true ]
|
|
1144
|
+
},
|
|
1134
1145
|
direction: {
|
|
1135
1146
|
description: "Determines which way does the button navigate in Pagination's context",
|
|
1136
1147
|
type: 'state',
|
|
@@ -1163,10 +1174,12 @@ module.exports = {
|
|
|
1163
1174
|
}
|
|
1164
1175
|
},
|
|
1165
1176
|
rules: [
|
|
1177
|
+
{ if: { compact: true }, tokens: { displayLabel: false } },
|
|
1166
1178
|
{
|
|
1167
1179
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1168
1180
|
tokens: {
|
|
1169
1181
|
borderRadius: 32,
|
|
1182
|
+
displayLabel: false,
|
|
1170
1183
|
paddingBottom: 4,
|
|
1171
1184
|
paddingTop: 4,
|
|
1172
1185
|
width: 32
|
|
@@ -1207,6 +1220,7 @@ module.exports = {
|
|
|
1207
1220
|
borderRadius: 4,
|
|
1208
1221
|
borderWidth: 1,
|
|
1209
1222
|
color: '#666666',
|
|
1223
|
+
displayLabel: true,
|
|
1210
1224
|
fontName: 'StagSans',
|
|
1211
1225
|
fontSize: 16,
|
|
1212
1226
|
fontWeight: '400',
|
|
@@ -1262,6 +1276,167 @@ module.exports = {
|
|
|
1262
1276
|
outlineWidth: 1
|
|
1263
1277
|
}
|
|
1264
1278
|
},
|
|
1279
|
+
QuickLinks: {
|
|
1280
|
+
appearances: {
|
|
1281
|
+
viewport: {
|
|
1282
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1283
|
+
type: 'state',
|
|
1284
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
rules: [
|
|
1288
|
+
{
|
|
1289
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1290
|
+
tokens: { card: false, dividers: true, list: false }
|
|
1291
|
+
}
|
|
1292
|
+
],
|
|
1293
|
+
tokens: {
|
|
1294
|
+
card: true,
|
|
1295
|
+
dividers: true,
|
|
1296
|
+
list: true,
|
|
1297
|
+
stackGap: 2,
|
|
1298
|
+
stackJustify: 'center',
|
|
1299
|
+
stackSpace: 4
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
QuickLinksButton: {
|
|
1303
|
+
appearances: {
|
|
1304
|
+
focus: {
|
|
1305
|
+
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.",
|
|
1306
|
+
type: 'state',
|
|
1307
|
+
values: [ true ]
|
|
1308
|
+
},
|
|
1309
|
+
hover: {
|
|
1310
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1311
|
+
type: 'state',
|
|
1312
|
+
values: [ true ]
|
|
1313
|
+
},
|
|
1314
|
+
pressed: {
|
|
1315
|
+
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.',
|
|
1316
|
+
type: 'state',
|
|
1317
|
+
values: [ true ]
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
rules: [
|
|
1321
|
+
{
|
|
1322
|
+
if: { hover: true },
|
|
1323
|
+
tokens: {
|
|
1324
|
+
backgroundColor: '#014847',
|
|
1325
|
+
borderColor: '#014847',
|
|
1326
|
+
color: '#ffffff'
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
if: { pressed: true },
|
|
1331
|
+
tokens: {
|
|
1332
|
+
backgroundColor: '#016b6a',
|
|
1333
|
+
borderColor: '#016b6a',
|
|
1334
|
+
color: '#ffffff'
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
if: { focus: true },
|
|
1339
|
+
tokens: { outerBorderColor: '#016b6a' }
|
|
1340
|
+
}
|
|
1341
|
+
],
|
|
1342
|
+
tokens: {
|
|
1343
|
+
alignSelf: 'flex-start',
|
|
1344
|
+
backgroundColor: '#016b6a',
|
|
1345
|
+
borderColor: '#ffffff',
|
|
1346
|
+
borderRadius: 4,
|
|
1347
|
+
borderWidth: 0,
|
|
1348
|
+
color: '#ffffff',
|
|
1349
|
+
fontName: 'StagSans',
|
|
1350
|
+
fontSize: 16,
|
|
1351
|
+
fontWeight: '600',
|
|
1352
|
+
icon: null,
|
|
1353
|
+
iconColor: '#ffffff',
|
|
1354
|
+
iconSize: 24,
|
|
1355
|
+
iconSpace: 2,
|
|
1356
|
+
lineHeight: 1.5,
|
|
1357
|
+
minWidth: 0,
|
|
1358
|
+
opacity: 1,
|
|
1359
|
+
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1360
|
+
outerBorderColor: '#ffffff',
|
|
1361
|
+
outerBorderGap: 2,
|
|
1362
|
+
outerBorderWidth: 2,
|
|
1363
|
+
paddingBottom: 8,
|
|
1364
|
+
paddingLeft: 24,
|
|
1365
|
+
paddingRight: 24,
|
|
1366
|
+
paddingTop: 8,
|
|
1367
|
+
shadow: null,
|
|
1368
|
+
textAlign: 'center',
|
|
1369
|
+
width: null
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
QuickLinksCard: {
|
|
1373
|
+
appearances: {},
|
|
1374
|
+
rules: [],
|
|
1375
|
+
tokens: {
|
|
1376
|
+
backgroundColor: '#f9f6a5',
|
|
1377
|
+
borderColor: null,
|
|
1378
|
+
borderRadius: 0,
|
|
1379
|
+
borderWidth: 0,
|
|
1380
|
+
flex: 1,
|
|
1381
|
+
minWidth: null,
|
|
1382
|
+
paddingBottom: 16,
|
|
1383
|
+
paddingLeft: 16,
|
|
1384
|
+
paddingRight: 16,
|
|
1385
|
+
paddingTop: 16,
|
|
1386
|
+
shadow: null
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
QuickLinksList: {
|
|
1390
|
+
appearances: {
|
|
1391
|
+
focus: {
|
|
1392
|
+
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.",
|
|
1393
|
+
type: 'state',
|
|
1394
|
+
values: [ true ]
|
|
1395
|
+
},
|
|
1396
|
+
hover: {
|
|
1397
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1398
|
+
type: 'state',
|
|
1399
|
+
values: [ true ]
|
|
1400
|
+
},
|
|
1401
|
+
pressed: {
|
|
1402
|
+
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.',
|
|
1403
|
+
type: 'state',
|
|
1404
|
+
values: [ true ]
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
rules: [
|
|
1408
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#c1f2e8' } },
|
|
1409
|
+
{ if: { focus: true }, tokens: { backgroundColor: '#f9f6a5' } },
|
|
1410
|
+
{
|
|
1411
|
+
if: { pressed: true },
|
|
1412
|
+
tokens: { backgroundColor: '#016b6a' }
|
|
1413
|
+
}
|
|
1414
|
+
],
|
|
1415
|
+
tokens: {
|
|
1416
|
+
backgroundColor: null,
|
|
1417
|
+
dividerColor: '#c9c8c8',
|
|
1418
|
+
dividerSize: 1,
|
|
1419
|
+
iconMarginTop: 4,
|
|
1420
|
+
interItemMargin: null,
|
|
1421
|
+
interItemMarginWithDivider: null,
|
|
1422
|
+
itemBulletColor: '#7c1366',
|
|
1423
|
+
itemBulletContainerAlign: 'center',
|
|
1424
|
+
itemBulletContainerWidth: 16,
|
|
1425
|
+
itemBulletHeight: 4,
|
|
1426
|
+
itemBulletWidth: 4,
|
|
1427
|
+
itemFontName: 'StagSans',
|
|
1428
|
+
itemFontSize: 16,
|
|
1429
|
+
itemFontWeight: '600',
|
|
1430
|
+
itemIconColor: '#7c1366',
|
|
1431
|
+
itemIconSize: 16,
|
|
1432
|
+
itemLineHeight: 1.3,
|
|
1433
|
+
listGutter: 10,
|
|
1434
|
+
paddingBottom: 8,
|
|
1435
|
+
paddingLeft: 12,
|
|
1436
|
+
paddingRight: 12,
|
|
1437
|
+
paddingTop: 8
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1265
1440
|
Radio: {
|
|
1266
1441
|
appearances: {
|
|
1267
1442
|
checked: {
|
|
@@ -2169,6 +2344,9 @@ module.exports = {
|
|
|
2169
2344
|
borderColor: '#000000',
|
|
2170
2345
|
borderRadius: 4,
|
|
2171
2346
|
borderWidth: 1,
|
|
2347
|
+
buttonSize: 32,
|
|
2348
|
+
buttonsGap: 1,
|
|
2349
|
+
buttonsPaddingRight: 8,
|
|
2172
2350
|
color: '#666666',
|
|
2173
2351
|
fontName: 'StagSans',
|
|
2174
2352
|
fontSize: 16,
|
|
@@ -2186,6 +2364,54 @@ module.exports = {
|
|
|
2186
2364
|
paddingTop: 10
|
|
2187
2365
|
}
|
|
2188
2366
|
},
|
|
2367
|
+
Timeline: {
|
|
2368
|
+
appearances: {
|
|
2369
|
+
horizontal: {
|
|
2370
|
+
description: 'Use horizontal to display timeline horizontally.',
|
|
2371
|
+
type: 'variant',
|
|
2372
|
+
values: [ true ]
|
|
2373
|
+
},
|
|
2374
|
+
viewport: {
|
|
2375
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2376
|
+
type: 'state',
|
|
2377
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
rules: [
|
|
2381
|
+
{
|
|
2382
|
+
if: { horizontal: true, viewport: [ 'lg', 'xl' ] },
|
|
2383
|
+
tokens: {
|
|
2384
|
+
connectorHeight: 2,
|
|
2385
|
+
connectorWidth: '100%',
|
|
2386
|
+
itemContentMarginBottom: 0,
|
|
2387
|
+
itemContentMarginRight: 32,
|
|
2388
|
+
lineItemContainerDirection: 'column',
|
|
2389
|
+
lineItemDirection: 'row',
|
|
2390
|
+
lineItemMarginBottom: 24,
|
|
2391
|
+
lineItemMarginRight: 0,
|
|
2392
|
+
timelineContainerDirection: 'row'
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
],
|
|
2396
|
+
tokens: {
|
|
2397
|
+
connectorHeight: '100%',
|
|
2398
|
+
connectorWidth: 2,
|
|
2399
|
+
dotBorderWidth: 3,
|
|
2400
|
+
dotColor: '#ffffff',
|
|
2401
|
+
dotWidth: 16,
|
|
2402
|
+
itemContentFlexSize: 1,
|
|
2403
|
+
itemContentMarginBottom: 32,
|
|
2404
|
+
itemContentMarginRight: 0,
|
|
2405
|
+
lineContainerFlexSize: 1,
|
|
2406
|
+
lineItemAlign: 'center',
|
|
2407
|
+
lineItemContainerDirection: 'row',
|
|
2408
|
+
lineItemDirection: 'column',
|
|
2409
|
+
lineItemMarginBottom: 0,
|
|
2410
|
+
lineItemMarginRight: 24,
|
|
2411
|
+
timelineColor: '#016b6a',
|
|
2412
|
+
timelineContainerDirection: 'column'
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2189
2415
|
ToggleSwitch: {
|
|
2190
2416
|
appearances: {
|
|
2191
2417
|
focus: {
|
|
@@ -2528,5 +2754,5 @@ module.exports = {
|
|
|
2528
2754
|
tokens: { size: 96 }
|
|
2529
2755
|
}
|
|
2530
2756
|
},
|
|
2531
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2757
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.7.0' }
|
|
2532
2758
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@telus-uds/palette-koodo": "^0.1.2",
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.7.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -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": "3.
|
|
34
|
+
"version": "3.5.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"appearances": {
|
|
14
14
|
"background": {
|
|
15
15
|
"description": "Background colour of box. Transparent if not specified.",
|
|
16
|
-
"values": ["light", "lightest"]
|
|
16
|
+
"values": ["light", "lightest", "black"]
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"rules": [
|
|
@@ -32,6 +32,14 @@
|
|
|
32
32
|
"tokens": {
|
|
33
33
|
"backgroundColor": "{palette.color.gallery}"
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"if": {
|
|
38
|
+
"background": "black"
|
|
39
|
+
},
|
|
40
|
+
"tokens": {
|
|
41
|
+
"backgroundColor": "{palette.color.black}"
|
|
42
|
+
}
|
|
35
43
|
}
|
|
36
44
|
],
|
|
37
45
|
"tokens": {
|
|
@@ -236,6 +244,8 @@
|
|
|
236
244
|
"paddingTop": "{palette.size.size8}",
|
|
237
245
|
"shadow": "{system.shadow.none}",
|
|
238
246
|
"textAlign": "{system.flexJustifyContent.center}",
|
|
247
|
+
"textLine": "{system.textLine.none}",
|
|
248
|
+
"textLineStyle": "{system.textLineStyle.solid}",
|
|
239
249
|
"width": "{system.size.none}"
|
|
240
250
|
}
|
|
241
251
|
},
|
|
@@ -599,7 +609,7 @@
|
|
|
599
609
|
"expanded": true
|
|
600
610
|
},
|
|
601
611
|
"tokens": {
|
|
602
|
-
"icon": "{palette.icon.
|
|
612
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
603
613
|
}
|
|
604
614
|
}
|
|
605
615
|
],
|
|
@@ -607,7 +617,7 @@
|
|
|
607
617
|
"backgroundColor": "{palette.color.transparent}",
|
|
608
618
|
"borderColor": "{palette.color.transparent}",
|
|
609
619
|
"borderWidth": "{system.border.zero}",
|
|
610
|
-
"icon": "{palette.icon.
|
|
620
|
+
"icon": "{palette.icon.ChevronDown}",
|
|
611
621
|
"iconColor": "{palette.color.mosque}",
|
|
612
622
|
"iconGap": "{palette.size.size16}",
|
|
613
623
|
"iconPosition": "{system.position.left}",
|
|
@@ -1255,6 +1265,7 @@
|
|
|
1255
1265
|
},
|
|
1256
1266
|
"PaginationSideButton": {
|
|
1257
1267
|
"appearances": {
|
|
1268
|
+
"compact": "{appearances.PaginationSideButton.compact}",
|
|
1258
1269
|
"direction": "{appearances.PaginationSideButton.direction}",
|
|
1259
1270
|
"focus": "{appearances.PaginationSideButton.focus}",
|
|
1260
1271
|
"hover": "{appearances.PaginationSideButton.hover}",
|
|
@@ -1263,12 +1274,21 @@
|
|
|
1263
1274
|
"viewport": "{appearances.system.viewport}"
|
|
1264
1275
|
},
|
|
1265
1276
|
"rules": [
|
|
1277
|
+
{
|
|
1278
|
+
"if": {
|
|
1279
|
+
"compact": true
|
|
1280
|
+
},
|
|
1281
|
+
"tokens": {
|
|
1282
|
+
"displayLabel": "{system.show.false}"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1266
1285
|
{
|
|
1267
1286
|
"if": {
|
|
1268
1287
|
"viewport": ["xs", "sm"]
|
|
1269
1288
|
},
|
|
1270
1289
|
"tokens": {
|
|
1271
1290
|
"borderRadius": "{palette.radius.pill32}",
|
|
1291
|
+
"displayLabel": "{system.show.false}",
|
|
1272
1292
|
"paddingBottom": "{palette.size.size4}",
|
|
1273
1293
|
"paddingTop": "{palette.size.size4}",
|
|
1274
1294
|
"width": "{palette.size.size32}"
|
|
@@ -1335,6 +1355,7 @@
|
|
|
1335
1355
|
"borderRadius": "{palette.radius.radius4}",
|
|
1336
1356
|
"borderWidth": "{palette.border.border1}",
|
|
1337
1357
|
"color": "{palette.color.dove}",
|
|
1358
|
+
"displayLabel": "{system.show.true}",
|
|
1338
1359
|
"fontName": "{palette.fontName.StagSans}",
|
|
1339
1360
|
"fontSize": "{palette.fontSize.size16}",
|
|
1340
1361
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
@@ -1413,6 +1434,171 @@
|
|
|
1413
1434
|
"outlineWidth": "{palette.border.border1}"
|
|
1414
1435
|
}
|
|
1415
1436
|
},
|
|
1437
|
+
"QuickLinks": {
|
|
1438
|
+
"appearances": {
|
|
1439
|
+
"viewport": "{appearances.system.viewport}"
|
|
1440
|
+
},
|
|
1441
|
+
"rules": [
|
|
1442
|
+
{
|
|
1443
|
+
"if": {
|
|
1444
|
+
"viewport": ["md", "lg", "xl"]
|
|
1445
|
+
},
|
|
1446
|
+
"tokens": {
|
|
1447
|
+
"card": "{system.show.false}",
|
|
1448
|
+
"dividers": "{system.show.true}",
|
|
1449
|
+
"list": "{system.show.false}"
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"tokens": {
|
|
1454
|
+
"card": "{system.show.true}",
|
|
1455
|
+
"dividers": "{system.show.true}",
|
|
1456
|
+
"list": "{system.show.true}",
|
|
1457
|
+
"stackGap": "{system.integer.2}",
|
|
1458
|
+
"stackJustify": "{system.flexJustifyContent.center}",
|
|
1459
|
+
"stackSpace": "{system.integer.4}"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"QuickLinksButton": {
|
|
1463
|
+
"appearances": {
|
|
1464
|
+
"focus": "{appearances.Button.focus}",
|
|
1465
|
+
"hover": "{appearances.Button.hover}",
|
|
1466
|
+
"pressed": "{appearances.Button.pressed}"
|
|
1467
|
+
},
|
|
1468
|
+
"rules": [
|
|
1469
|
+
{
|
|
1470
|
+
"if": {
|
|
1471
|
+
"hover": true
|
|
1472
|
+
},
|
|
1473
|
+
"tokens": {
|
|
1474
|
+
"backgroundColor": "{palette.color.darkMosque}",
|
|
1475
|
+
"borderColor": "{palette.color.darkMosque}",
|
|
1476
|
+
"color": "{palette.color.white}"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"if": {
|
|
1481
|
+
"pressed": true
|
|
1482
|
+
},
|
|
1483
|
+
"tokens": {
|
|
1484
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
1485
|
+
"borderColor": "{palette.color.mosque}",
|
|
1486
|
+
"color": "{palette.color.white}"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"if": {
|
|
1491
|
+
"focus": true
|
|
1492
|
+
},
|
|
1493
|
+
"tokens": {
|
|
1494
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
"tokens": {
|
|
1499
|
+
"alignSelf": "{system.flexAlign.flexStart}",
|
|
1500
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
1501
|
+
"borderColor": "{palette.color.white}",
|
|
1502
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
1503
|
+
"borderWidth": "{palette.border.none}",
|
|
1504
|
+
"color": "{palette.color.white}",
|
|
1505
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
1506
|
+
"fontSize": "{palette.fontSize.size16}",
|
|
1507
|
+
"fontWeight": "{palette.fontWeight.weight600}",
|
|
1508
|
+
"icon": "{system.icon.none}",
|
|
1509
|
+
"iconColor": "{palette.color.white}",
|
|
1510
|
+
"iconSize": "{palette.size.size24}",
|
|
1511
|
+
"iconSpace": "{system.integer.2}",
|
|
1512
|
+
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
1513
|
+
"minWidth": "{system.size.zero}",
|
|
1514
|
+
"opacity": "{system.opacity.opaque}",
|
|
1515
|
+
"outerBackgroundColor": "{palette.color.transparent}",
|
|
1516
|
+
"outerBorderColor": "{palette.color.white}",
|
|
1517
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
1518
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
1519
|
+
"paddingBottom": "{palette.size.size8}",
|
|
1520
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1521
|
+
"paddingRight": "{palette.size.size24}",
|
|
1522
|
+
"paddingTop": "{palette.size.size8}",
|
|
1523
|
+
"shadow": "{system.shadow.none}",
|
|
1524
|
+
"textAlign": "{system.flexJustifyContent.center}",
|
|
1525
|
+
"width": "{system.size.none}"
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"QuickLinksCard": {
|
|
1529
|
+
"appearances": {},
|
|
1530
|
+
"rules": [],
|
|
1531
|
+
"tokens": {
|
|
1532
|
+
"backgroundColor": "{palette.color.texas}",
|
|
1533
|
+
"borderColor": "{system.color.none}",
|
|
1534
|
+
"borderRadius": "{palette.radius.none}",
|
|
1535
|
+
"borderWidth": "{palette.border.none}",
|
|
1536
|
+
"flex": "{system.integer.1}",
|
|
1537
|
+
"minWidth": "{system.size.none}",
|
|
1538
|
+
"paddingBottom": "{palette.size.size16}",
|
|
1539
|
+
"paddingLeft": "{palette.size.size16}",
|
|
1540
|
+
"paddingRight": "{palette.size.size16}",
|
|
1541
|
+
"paddingTop": "{palette.size.size16}",
|
|
1542
|
+
"shadow": "{system.shadow.none}"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
"QuickLinksList": {
|
|
1546
|
+
"appearances": {
|
|
1547
|
+
"focus": "{appearances.QuickLinksList.focus}",
|
|
1548
|
+
"hover": "{appearances.QuickLinksList.hover}",
|
|
1549
|
+
"pressed": "{appearances.QuickLinksList.pressed}"
|
|
1550
|
+
},
|
|
1551
|
+
"rules": [
|
|
1552
|
+
{
|
|
1553
|
+
"if": {
|
|
1554
|
+
"hover": true
|
|
1555
|
+
},
|
|
1556
|
+
"tokens": {
|
|
1557
|
+
"backgroundColor": "{palette.color.mintTulip}"
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"if": {
|
|
1562
|
+
"focus": true
|
|
1563
|
+
},
|
|
1564
|
+
"tokens": {
|
|
1565
|
+
"backgroundColor": "{palette.color.texas}"
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"if": {
|
|
1570
|
+
"pressed": true
|
|
1571
|
+
},
|
|
1572
|
+
"tokens": {
|
|
1573
|
+
"backgroundColor": "{palette.color.mosque}"
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1577
|
+
"tokens": {
|
|
1578
|
+
"backgroundColor": "{system.color.none}",
|
|
1579
|
+
"dividerColor": "{palette.color.silver}",
|
|
1580
|
+
"dividerSize": "{palette.border.border1}",
|
|
1581
|
+
"iconMarginTop": "{palette.size.size4}",
|
|
1582
|
+
"interItemMargin": "{system.size.none}",
|
|
1583
|
+
"interItemMarginWithDivider": "{system.size.none}",
|
|
1584
|
+
"itemBulletColor": "{palette.color.flirt}",
|
|
1585
|
+
"itemBulletContainerAlign": "{system.textAlign.center}",
|
|
1586
|
+
"itemBulletContainerWidth": "{palette.size.size16}",
|
|
1587
|
+
"itemBulletHeight": "{palette.size.size4}",
|
|
1588
|
+
"itemBulletWidth": "{palette.size.size4}",
|
|
1589
|
+
"itemFontName": "{palette.fontName.StagSans}",
|
|
1590
|
+
"itemFontSize": "{palette.fontSize.size16}",
|
|
1591
|
+
"itemFontWeight": "{palette.fontWeight.weight600}",
|
|
1592
|
+
"itemIconColor": "{palette.color.flirt}",
|
|
1593
|
+
"itemIconSize": "{palette.size.size16}",
|
|
1594
|
+
"itemLineHeight": "{palette.lineHeight.multiply130}",
|
|
1595
|
+
"listGutter": "{palette.size.size10}",
|
|
1596
|
+
"paddingBottom": "{palette.size.size8}",
|
|
1597
|
+
"paddingLeft": "{palette.size.size12}",
|
|
1598
|
+
"paddingRight": "{palette.size.size12}",
|
|
1599
|
+
"paddingTop": "{palette.size.size8}"
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1416
1602
|
"Radio": {
|
|
1417
1603
|
"appearances": {
|
|
1418
1604
|
"checked": "{appearances.Radio.checked}",
|
|
@@ -2349,6 +2535,9 @@
|
|
|
2349
2535
|
"borderColor": "{palette.color.black}",
|
|
2350
2536
|
"borderRadius": "{palette.radius.radius4}",
|
|
2351
2537
|
"borderWidth": "{palette.border.border1}",
|
|
2538
|
+
"buttonSize": "{palette.size.size32}",
|
|
2539
|
+
"buttonsGap": "{palette.size.size1}",
|
|
2540
|
+
"buttonsPaddingRight": "{palette.size.size8}",
|
|
2352
2541
|
"color": "{palette.color.dove}",
|
|
2353
2542
|
"fontName": "{palette.fontName.StagSans}",
|
|
2354
2543
|
"fontSize": "{palette.fontSize.size16}",
|
|
@@ -2366,6 +2555,53 @@
|
|
|
2366
2555
|
"paddingTop": "{palette.size.size10}"
|
|
2367
2556
|
}
|
|
2368
2557
|
},
|
|
2558
|
+
"Timeline": {
|
|
2559
|
+
"appearances": {
|
|
2560
|
+
"horizontal": {
|
|
2561
|
+
"description": "Use horizontal to display timeline horizontally.",
|
|
2562
|
+
"type": "variant",
|
|
2563
|
+
"values": [true]
|
|
2564
|
+
},
|
|
2565
|
+
"viewport": "{appearances.system.viewport}"
|
|
2566
|
+
},
|
|
2567
|
+
"rules": [
|
|
2568
|
+
{
|
|
2569
|
+
"if": {
|
|
2570
|
+
"horizontal": true,
|
|
2571
|
+
"viewport": ["lg", "xl"]
|
|
2572
|
+
},
|
|
2573
|
+
"tokens": {
|
|
2574
|
+
"connectorHeight": "{palette.size.size2}",
|
|
2575
|
+
"connectorWidth": "{system.size.full}",
|
|
2576
|
+
"itemContentMarginBottom": "{palette.size.size0}",
|
|
2577
|
+
"itemContentMarginRight": "{palette.size.size32}",
|
|
2578
|
+
"lineItemContainerDirection": "{system.direction.column}",
|
|
2579
|
+
"lineItemDirection": "{system.direction.row}",
|
|
2580
|
+
"lineItemMarginBottom": "{palette.size.size24}",
|
|
2581
|
+
"lineItemMarginRight": "{palette.size.size0}",
|
|
2582
|
+
"timelineContainerDirection": "{system.direction.row}"
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
],
|
|
2586
|
+
"tokens": {
|
|
2587
|
+
"connectorHeight": "{system.size.full}",
|
|
2588
|
+
"connectorWidth": "{palette.size.size2}",
|
|
2589
|
+
"dotBorderWidth": "{palette.border.border3}",
|
|
2590
|
+
"dotColor": "{palette.color.white}",
|
|
2591
|
+
"dotWidth": "{palette.size.size16}",
|
|
2592
|
+
"itemContentFlexSize": "{system.integer.1}",
|
|
2593
|
+
"itemContentMarginBottom": "{palette.size.size32}",
|
|
2594
|
+
"itemContentMarginRight": "{palette.size.size0}",
|
|
2595
|
+
"lineContainerFlexSize": "{system.integer.1}",
|
|
2596
|
+
"lineItemAlign": "{system.flexAlign.center}",
|
|
2597
|
+
"lineItemContainerDirection": "{system.direction.row}",
|
|
2598
|
+
"lineItemDirection": "{system.direction.column}",
|
|
2599
|
+
"lineItemMarginBottom": "{palette.size.size0}",
|
|
2600
|
+
"lineItemMarginRight": "{palette.size.size24}",
|
|
2601
|
+
"timelineColor": "{palette.color.mosque}",
|
|
2602
|
+
"timelineContainerDirection": "{system.direction.column}"
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2369
2605
|
"ToggleSwitch": {
|
|
2370
2606
|
"appearances": {
|
|
2371
2607
|
"focus": "{appearances.ToggleSwitch.focus}",
|