@telus-uds/theme-koodo 4.13.0 → 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 +1033 -660
- package/build/android/theme.json +311 -4
- package/build/ios/schema.json +1033 -660
- package/build/ios/theme.json +311 -4
- package/build/rn/schema.json +1033 -660
- package/build/rn/theme.js +200 -7
- package/package.json +4 -4
- package/theme.json +202 -5
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, 01 Nov 2023 00:52:42 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -24,8 +24,12 @@ const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn
|
|
|
24
24
|
const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
|
|
25
25
|
const PaletteIconQuoteLeft = require('@telus-uds/palette-koodo/build/rn/icons/QuoteLeft')
|
|
26
26
|
const PaletteIconQuoteRightArrow = require('@telus-uds/palette-koodo/build/rn/icons/QuoteRightArrow')
|
|
27
|
+
const PaletteIconAmex = require('@telus-uds/palette-koodo/build/rn/icons/Amex')
|
|
28
|
+
const PaletteIconCreditCard = require('@telus-uds/palette-koodo/build/rn/icons/CreditCard')
|
|
29
|
+
const PaletteIconMasterCard = require('@telus-uds/palette-koodo/build/rn/icons/MasterCard')
|
|
27
30
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
28
31
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
32
|
+
const PaletteIconVisa = require('@telus-uds/palette-koodo/build/rn/icons/Visa')
|
|
29
33
|
const PaletteIconTooltip = require('@telus-uds/palette-koodo/build/rn/icons/Tooltip')
|
|
30
34
|
const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
|
|
31
35
|
const PaletteIconReplay = require('@telus-uds/palette-koodo/build/rn/icons/Replay')
|
|
@@ -857,6 +861,11 @@ module.exports = {
|
|
|
857
861
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
858
862
|
type: 'state',
|
|
859
863
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
864
|
+
},
|
|
865
|
+
width: {
|
|
866
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
867
|
+
type: 'variant',
|
|
868
|
+
values: [ 'responsive' ]
|
|
860
869
|
}
|
|
861
870
|
},
|
|
862
871
|
rules: [
|
|
@@ -864,6 +873,10 @@ module.exports = {
|
|
|
864
873
|
{
|
|
865
874
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
866
875
|
tokens: { space: 3 }
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
879
|
+
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
867
880
|
}
|
|
868
881
|
],
|
|
869
882
|
tokens: {
|
|
@@ -909,6 +922,11 @@ module.exports = {
|
|
|
909
922
|
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`.',
|
|
910
923
|
type: 'state',
|
|
911
924
|
values: [ true ]
|
|
925
|
+
},
|
|
926
|
+
width: {
|
|
927
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
928
|
+
type: 'variant',
|
|
929
|
+
values: [ 'responsive' ]
|
|
912
930
|
}
|
|
913
931
|
},
|
|
914
932
|
rules: [
|
|
@@ -944,7 +962,8 @@ module.exports = {
|
|
|
944
962
|
color: '#ffffff'
|
|
945
963
|
}
|
|
946
964
|
},
|
|
947
|
-
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
965
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
966
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
948
967
|
],
|
|
949
968
|
tokens: {
|
|
950
969
|
alignSelf: 'flex-start',
|
|
@@ -1422,6 +1441,162 @@ module.exports = {
|
|
|
1422
1441
|
labelMarginLeft: 8
|
|
1423
1442
|
}
|
|
1424
1443
|
},
|
|
1444
|
+
CheckboxCard: {
|
|
1445
|
+
appearances: {
|
|
1446
|
+
checked: {
|
|
1447
|
+
description: 'Corresponds to a selected state for a checkbox or radio',
|
|
1448
|
+
type: 'state',
|
|
1449
|
+
values: [ true ]
|
|
1450
|
+
},
|
|
1451
|
+
error: { type: 'state', values: [ true ] },
|
|
1452
|
+
focus: {
|
|
1453
|
+
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.",
|
|
1454
|
+
platforms: [ 'rn' ],
|
|
1455
|
+
type: 'state',
|
|
1456
|
+
values: [ true, false ]
|
|
1457
|
+
},
|
|
1458
|
+
hover: {
|
|
1459
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1460
|
+
platforms: [ 'rn' ],
|
|
1461
|
+
type: 'state',
|
|
1462
|
+
values: [ true, false ]
|
|
1463
|
+
},
|
|
1464
|
+
inactive: {
|
|
1465
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
1466
|
+
type: 'state',
|
|
1467
|
+
values: [ true ]
|
|
1468
|
+
},
|
|
1469
|
+
pressed: {
|
|
1470
|
+
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.',
|
|
1471
|
+
type: 'state',
|
|
1472
|
+
values: [ true, false ]
|
|
1473
|
+
},
|
|
1474
|
+
viewport: {
|
|
1475
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1476
|
+
type: 'state',
|
|
1477
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
rules: [
|
|
1481
|
+
{
|
|
1482
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1483
|
+
tokens: {
|
|
1484
|
+
fontSize: 24,
|
|
1485
|
+
lineHeight: 1.3,
|
|
1486
|
+
paddingBottom: 24,
|
|
1487
|
+
paddingLeft: 16,
|
|
1488
|
+
paddingRight: 24,
|
|
1489
|
+
paddingTop: 16
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
if: { hover: true },
|
|
1494
|
+
tokens: {
|
|
1495
|
+
borderColor: '#666666',
|
|
1496
|
+
checkboxOuterBorderColor: '#17367d',
|
|
1497
|
+
checkboxOuterBorderGap: 2,
|
|
1498
|
+
checkboxOuterBorderWidth: 1,
|
|
1499
|
+
outerBorderColor: '#efefef',
|
|
1500
|
+
outerBorderWidth: 2
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
if: { focus: true },
|
|
1505
|
+
tokens: {
|
|
1506
|
+
checkboxInputBorderColor: '#016b6a',
|
|
1507
|
+
checkboxOuterBorderColor: '#17367d',
|
|
1508
|
+
checkboxOuterBorderGap: 2,
|
|
1509
|
+
checkboxOuterBorderWidth: 1,
|
|
1510
|
+
outerBorderColor: '#17367d',
|
|
1511
|
+
outerBorderGap: 2,
|
|
1512
|
+
outerBorderWidth: 2
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
if: { checked: true },
|
|
1517
|
+
tokens: {
|
|
1518
|
+
borderColor: '#c9c8c8',
|
|
1519
|
+
checkboxInputBorderColor: '#016b6a',
|
|
1520
|
+
checkboxInputBorderWidth: 2
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
description: 'Pressed state matches hover state plus light grey background',
|
|
1525
|
+
if: { pressed: true },
|
|
1526
|
+
tokens: {
|
|
1527
|
+
backgroundColor: '#efefef',
|
|
1528
|
+
checkboxOuterBorderColor: '#17367d',
|
|
1529
|
+
checkboxOuterBorderGap: 2,
|
|
1530
|
+
outerBorderColor: '#c9c8c8',
|
|
1531
|
+
outerBorderGap: 0,
|
|
1532
|
+
outerBorderWidth: 1
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
if: { inactive: true },
|
|
1537
|
+
tokens: {
|
|
1538
|
+
backgroundColor: '#efefef',
|
|
1539
|
+
borderColor: 'transparent',
|
|
1540
|
+
checkboxCheckedBackgroundColor: '#c9c8c8',
|
|
1541
|
+
checkboxInputBackgroundColor: '#c9c8c8',
|
|
1542
|
+
checkboxInputBorderColor: '#c9c8c8',
|
|
1543
|
+
checkboxInputSize: 16,
|
|
1544
|
+
checkboxOuterBorderColor: '#c9c8c8',
|
|
1545
|
+
checkboxOuterBorderGap: 2,
|
|
1546
|
+
checkboxOuterBorderWidth: 1,
|
|
1547
|
+
color: '#666666'
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
if: { error: true },
|
|
1552
|
+
tokens: {
|
|
1553
|
+
borderColor: '#df3d0c',
|
|
1554
|
+
checkboxInputBorderColor: '#df3d0c',
|
|
1555
|
+
color: '#df3d0c'
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
],
|
|
1559
|
+
tokens: {
|
|
1560
|
+
backgroundColor: '#ffffff',
|
|
1561
|
+
borderColor: '#c9c8c8',
|
|
1562
|
+
borderRadius: 4,
|
|
1563
|
+
borderWidth: 1,
|
|
1564
|
+
checkboxCheckedBackgroundColor: '#016b6a',
|
|
1565
|
+
checkboxCheckedSize: 16,
|
|
1566
|
+
checkboxInputBackgroundColor: '#ffffff',
|
|
1567
|
+
checkboxInputBorderColor: '#016b6a',
|
|
1568
|
+
checkboxInputBorderWidth: 2,
|
|
1569
|
+
checkboxInputOutlineColor: 'rgba(0, 0, 0, 0)',
|
|
1570
|
+
checkboxInputOutlineWidth: 0,
|
|
1571
|
+
checkboxInputSize: 24,
|
|
1572
|
+
checkboxOuterBorderColor: 'transparent',
|
|
1573
|
+
checkboxOuterBorderGap: 0,
|
|
1574
|
+
checkboxOuterBorderWidth: 0,
|
|
1575
|
+
checkboxSpace: 2,
|
|
1576
|
+
color: '#000000',
|
|
1577
|
+
contentAlignItems: 'stretch',
|
|
1578
|
+
contentFlexGrow: 0,
|
|
1579
|
+
contentFlexShrink: 1,
|
|
1580
|
+
contentJustifyContent: 'flex-start',
|
|
1581
|
+
contentSpace: 2,
|
|
1582
|
+
flex: 1,
|
|
1583
|
+
fontName: 'StagSans',
|
|
1584
|
+
fontSize: 20,
|
|
1585
|
+
fontWeight: '700',
|
|
1586
|
+
letterSpacing: 0,
|
|
1587
|
+
lineHeight: 1.4,
|
|
1588
|
+
minWidth: 288,
|
|
1589
|
+
outerBorderColor: 'transparent',
|
|
1590
|
+
outerBorderGap: 0,
|
|
1591
|
+
outerBorderWidth: 0,
|
|
1592
|
+
paddingBottom: 16,
|
|
1593
|
+
paddingLeft: 8,
|
|
1594
|
+
paddingRight: 16,
|
|
1595
|
+
paddingTop: 12,
|
|
1596
|
+
shadow: null,
|
|
1597
|
+
textTransform: 'none'
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1425
1600
|
CheckboxGroup: {
|
|
1426
1601
|
appearances: {},
|
|
1427
1602
|
rules: [],
|
|
@@ -4935,7 +5110,8 @@ module.exports = {
|
|
|
4935
5110
|
alignItems: 'stretch',
|
|
4936
5111
|
flexGrow: 0,
|
|
4937
5112
|
flexShrink: 0,
|
|
4938
|
-
justifyContent: 'flex-start'
|
|
5113
|
+
justifyContent: 'flex-start',
|
|
5114
|
+
width: null
|
|
4939
5115
|
}
|
|
4940
5116
|
},
|
|
4941
5117
|
StepTracker: {
|
|
@@ -5232,7 +5408,13 @@ module.exports = {
|
|
|
5232
5408
|
}
|
|
5233
5409
|
},
|
|
5234
5410
|
Tabs: {
|
|
5235
|
-
appearances: {
|
|
5411
|
+
appearances: {
|
|
5412
|
+
equalWidth: {
|
|
5413
|
+
description: 'Divide the available width equally among `TabsItem`',
|
|
5414
|
+
type: 'variant',
|
|
5415
|
+
values: [ true ]
|
|
5416
|
+
}
|
|
5417
|
+
},
|
|
5236
5418
|
rules: [],
|
|
5237
5419
|
tokens: {
|
|
5238
5420
|
borderBottomColor: 'transparent',
|
|
@@ -5246,6 +5428,11 @@ module.exports = {
|
|
|
5246
5428
|
},
|
|
5247
5429
|
TabsItem: {
|
|
5248
5430
|
appearances: {
|
|
5431
|
+
equalWidth: {
|
|
5432
|
+
description: 'Divide the available width equally among `TabsItem`',
|
|
5433
|
+
type: 'variant',
|
|
5434
|
+
values: [ true ]
|
|
5435
|
+
},
|
|
5249
5436
|
focus: {
|
|
5250
5437
|
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.",
|
|
5251
5438
|
platforms: [ 'rn' ],
|
|
@@ -5337,7 +5524,8 @@ module.exports = {
|
|
|
5337
5524
|
highlightBarHeight: 1,
|
|
5338
5525
|
highlightColor: '#c9c8c8'
|
|
5339
5526
|
}
|
|
5340
|
-
}
|
|
5527
|
+
},
|
|
5528
|
+
{ if: { equalWidth: true }, tokens: { maxWidth: null } }
|
|
5341
5529
|
],
|
|
5342
5530
|
tokens: {
|
|
5343
5531
|
backgroundColor: '#ffffff',
|
|
@@ -5727,6 +5915,7 @@ module.exports = {
|
|
|
5727
5915
|
}
|
|
5728
5916
|
],
|
|
5729
5917
|
tokens: {
|
|
5918
|
+
amexIcon: PaletteIconAmex,
|
|
5730
5919
|
backgroundColor: '#ffffff',
|
|
5731
5920
|
borderColor: '#000000',
|
|
5732
5921
|
borderRadius: 4,
|
|
@@ -5736,13 +5925,16 @@ module.exports = {
|
|
|
5736
5925
|
buttonsPaddingRight: 8,
|
|
5737
5926
|
clearButtonIcon: PaletteIconTimes,
|
|
5738
5927
|
color: '#666666',
|
|
5928
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5739
5929
|
fontName: 'StagSans',
|
|
5740
5930
|
fontSize: 16,
|
|
5741
5931
|
fontWeight: '400',
|
|
5742
5932
|
icon: null,
|
|
5743
5933
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5744
5934
|
iconSize: 24,
|
|
5935
|
+
leftIconPaddingBottom: 5,
|
|
5745
5936
|
lineHeight: 1.5,
|
|
5937
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5746
5938
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5747
5939
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5748
5940
|
outerBorderWidth: 2,
|
|
@@ -5751,7 +5943,8 @@ module.exports = {
|
|
|
5751
5943
|
paddingRight: 16,
|
|
5752
5944
|
paddingTop: 10,
|
|
5753
5945
|
passwordHideButtonIcon: PaletteIconEyeMasked,
|
|
5754
|
-
passwordShowButtonIcon: PaletteIconEyeUnmasked
|
|
5946
|
+
passwordShowButtonIcon: PaletteIconEyeUnmasked,
|
|
5947
|
+
visaIcon: PaletteIconVisa
|
|
5755
5948
|
}
|
|
5756
5949
|
},
|
|
5757
5950
|
Timeline: {
|
|
@@ -6595,5 +6788,5 @@ module.exports = {
|
|
|
6595
6788
|
tokens: { size: 96 }
|
|
6596
6789
|
}
|
|
6597
6790
|
},
|
|
6598
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
6791
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.43.0' }
|
|
6599
6792
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.27.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.43.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": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.27.0"
|
|
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": "4.
|
|
34
|
+
"version": "4.15.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1143,7 +1143,12 @@
|
|
|
1143
1143
|
},
|
|
1144
1144
|
"ButtonGroup": {
|
|
1145
1145
|
"appearances": {
|
|
1146
|
-
"viewport": "{appearances.system.viewport}"
|
|
1146
|
+
"viewport": "{appearances.system.viewport}",
|
|
1147
|
+
"width": {
|
|
1148
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1149
|
+
"type": "variant",
|
|
1150
|
+
"values": ["responsive"]
|
|
1151
|
+
}
|
|
1147
1152
|
},
|
|
1148
1153
|
"rules": [
|
|
1149
1154
|
{
|
|
@@ -1161,6 +1166,16 @@
|
|
|
1161
1166
|
"tokens": {
|
|
1162
1167
|
"space": "{system.integer.3}"
|
|
1163
1168
|
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"if": {
|
|
1172
|
+
"viewport": ["xs"],
|
|
1173
|
+
"width": "responsive"
|
|
1174
|
+
},
|
|
1175
|
+
"tokens": {
|
|
1176
|
+
"alignItems": "{system.flexAlign.stretch}",
|
|
1177
|
+
"direction": "{system.direction.column}"
|
|
1178
|
+
}
|
|
1164
1179
|
}
|
|
1165
1180
|
],
|
|
1166
1181
|
"tokens": {
|
|
@@ -1180,7 +1195,12 @@
|
|
|
1180
1195
|
"iconPosition": "{appearances.Link.iconPosition}",
|
|
1181
1196
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1182
1197
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1183
|
-
"selected": "{appearances.ButtonGroupItem.selected}"
|
|
1198
|
+
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1199
|
+
"width": {
|
|
1200
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1201
|
+
"type": "variant",
|
|
1202
|
+
"values": ["responsive"]
|
|
1203
|
+
}
|
|
1184
1204
|
},
|
|
1185
1205
|
"rules": [
|
|
1186
1206
|
{
|
|
@@ -1255,6 +1275,14 @@
|
|
|
1255
1275
|
"tokens": {
|
|
1256
1276
|
"iconSpace": "{system.integer.1}"
|
|
1257
1277
|
}
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"if": {
|
|
1281
|
+
"width": "responsive"
|
|
1282
|
+
},
|
|
1283
|
+
"tokens": {
|
|
1284
|
+
"width": "{system.size.full}"
|
|
1285
|
+
}
|
|
1258
1286
|
}
|
|
1259
1287
|
],
|
|
1260
1288
|
"tokens": {
|
|
@@ -1830,6 +1858,150 @@
|
|
|
1830
1858
|
"labelMarginLeft": "{palette.size.size8}"
|
|
1831
1859
|
}
|
|
1832
1860
|
},
|
|
1861
|
+
"CheckboxCard": {
|
|
1862
|
+
"appearances": {
|
|
1863
|
+
"checked": "{appearances.CheckboxCard.checked}",
|
|
1864
|
+
"error": "{appearances.CheckboxCard.error}",
|
|
1865
|
+
"focus": "{appearances.CheckboxCard.focus}",
|
|
1866
|
+
"hover": "{appearances.CheckboxCard.hover}",
|
|
1867
|
+
"inactive": "{appearances.CheckboxCard.inactive}",
|
|
1868
|
+
"pressed": "{appearances.CheckboxCard.pressed}",
|
|
1869
|
+
"viewport": "{appearances.system.viewport}"
|
|
1870
|
+
},
|
|
1871
|
+
"rules": [
|
|
1872
|
+
{
|
|
1873
|
+
"if": {
|
|
1874
|
+
"viewport": ["lg", "xl"]
|
|
1875
|
+
},
|
|
1876
|
+
"tokens": {
|
|
1877
|
+
"fontSize": "{palette.fontSize.size24}",
|
|
1878
|
+
"lineHeight": "{palette.lineHeight.multiply130}",
|
|
1879
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1880
|
+
"paddingLeft": "{palette.size.size16}",
|
|
1881
|
+
"paddingRight": "{palette.size.size24}",
|
|
1882
|
+
"paddingTop": "{palette.size.size16}"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"if": {
|
|
1887
|
+
"hover": true
|
|
1888
|
+
},
|
|
1889
|
+
"tokens": {
|
|
1890
|
+
"borderColor": "{palette.color.dove}",
|
|
1891
|
+
"checkboxOuterBorderColor": "{palette.color.chathamsBlue}",
|
|
1892
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1893
|
+
"checkboxOuterBorderWidth": "{palette.border.border1}",
|
|
1894
|
+
"outerBorderColor": "{palette.color.gallery}",
|
|
1895
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"if": {
|
|
1900
|
+
"focus": true
|
|
1901
|
+
},
|
|
1902
|
+
"tokens": {
|
|
1903
|
+
"checkboxInputBorderColor": "{palette.color.mosque}",
|
|
1904
|
+
"checkboxOuterBorderColor": "{palette.color.chathamsBlue}",
|
|
1905
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1906
|
+
"checkboxOuterBorderWidth": "{palette.border.border1}",
|
|
1907
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
1908
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
1909
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"if": {
|
|
1914
|
+
"checked": true
|
|
1915
|
+
},
|
|
1916
|
+
"tokens": {
|
|
1917
|
+
"borderColor": "{palette.color.silver}",
|
|
1918
|
+
"checkboxInputBorderColor": "{palette.color.mosque}",
|
|
1919
|
+
"checkboxInputBorderWidth": "{palette.border.border2}"
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"description": "Pressed state matches hover state plus light grey background",
|
|
1924
|
+
"if": {
|
|
1925
|
+
"pressed": true
|
|
1926
|
+
},
|
|
1927
|
+
"tokens": {
|
|
1928
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
1929
|
+
"checkboxOuterBorderColor": "{palette.color.chathamsBlue}",
|
|
1930
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1931
|
+
"outerBorderColor": "{palette.color.silver}",
|
|
1932
|
+
"outerBorderGap": "{palette.size.size0}",
|
|
1933
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"if": {
|
|
1938
|
+
"inactive": true
|
|
1939
|
+
},
|
|
1940
|
+
"tokens": {
|
|
1941
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
1942
|
+
"borderColor": "{system.color.transparent}",
|
|
1943
|
+
"checkboxCheckedBackgroundColor": "{palette.color.silver}",
|
|
1944
|
+
"checkboxInputBackgroundColor": "{palette.color.silver}",
|
|
1945
|
+
"checkboxInputBorderColor": "{palette.color.silver}",
|
|
1946
|
+
"checkboxInputSize": "{palette.size.size16}",
|
|
1947
|
+
"checkboxOuterBorderColor": "{palette.color.silver}",
|
|
1948
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1949
|
+
"checkboxOuterBorderWidth": "{palette.border.border1}",
|
|
1950
|
+
"color": "{palette.color.dove}"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"if": {
|
|
1955
|
+
"error": true
|
|
1956
|
+
},
|
|
1957
|
+
"tokens": {
|
|
1958
|
+
"borderColor": "{palette.color.trinidad}",
|
|
1959
|
+
"checkboxInputBorderColor": "{palette.color.trinidad}",
|
|
1960
|
+
"color": "{palette.color.trinidad}"
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
],
|
|
1964
|
+
"tokens": {
|
|
1965
|
+
"backgroundColor": "{palette.color.white}",
|
|
1966
|
+
"borderColor": "{palette.color.silver}",
|
|
1967
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
1968
|
+
"borderWidth": "{palette.border.border1}",
|
|
1969
|
+
"checkboxCheckedBackgroundColor": "{palette.color.mosque}",
|
|
1970
|
+
"checkboxCheckedSize": "{palette.size.size16}",
|
|
1971
|
+
"checkboxInputBackgroundColor": "{palette.color.white}",
|
|
1972
|
+
"checkboxInputBorderColor": "{palette.color.mosque}",
|
|
1973
|
+
"checkboxInputBorderWidth": "{palette.border.border2}",
|
|
1974
|
+
"checkboxInputOutlineColor": "{palette.color.transparent}",
|
|
1975
|
+
"checkboxInputOutlineWidth": "{palette.border.none}",
|
|
1976
|
+
"checkboxInputSize": "{palette.size.size24}",
|
|
1977
|
+
"checkboxOuterBorderColor": "{system.color.transparent}",
|
|
1978
|
+
"checkboxOuterBorderGap": "{system.size.zero}",
|
|
1979
|
+
"checkboxOuterBorderWidth": "{system.border.zero}",
|
|
1980
|
+
"checkboxSpace": "{system.integer.2}",
|
|
1981
|
+
"color": "{palette.color.black}",
|
|
1982
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1983
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
1984
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
1985
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1986
|
+
"contentSpace": "{system.integer.2}",
|
|
1987
|
+
"flex": "{system.integer.1}",
|
|
1988
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
1989
|
+
"fontSize": "{palette.fontSize.size20}",
|
|
1990
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
1991
|
+
"letterSpacing": "{system.letterSpacing.none}",
|
|
1992
|
+
"lineHeight": "{palette.lineHeight.multiply140}",
|
|
1993
|
+
"minWidth": "{palette.size.size288}",
|
|
1994
|
+
"outerBorderColor": "{system.color.transparent}",
|
|
1995
|
+
"outerBorderGap": "{system.size.zero}",
|
|
1996
|
+
"outerBorderWidth": "{system.border.zero}",
|
|
1997
|
+
"paddingBottom": "{palette.size.size16}",
|
|
1998
|
+
"paddingLeft": "{palette.size.size8}",
|
|
1999
|
+
"paddingRight": "{palette.size.size16}",
|
|
2000
|
+
"paddingTop": "{palette.size.size12}",
|
|
2001
|
+
"shadow": "{system.shadow.none}",
|
|
2002
|
+
"textTransform": "{system.textTransform.none}"
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
1833
2005
|
"CheckboxGroup": {
|
|
1834
2006
|
"appearances": {},
|
|
1835
2007
|
"rules": [],
|
|
@@ -6172,7 +6344,8 @@
|
|
|
6172
6344
|
"alignItems": "{system.flexAlign.stretch}",
|
|
6173
6345
|
"flexGrow": "{system.integer.0}",
|
|
6174
6346
|
"flexShrink": "{system.integer.0}",
|
|
6175
|
-
"justifyContent": "{system.flexJustifyContent.flexStart}"
|
|
6347
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
6348
|
+
"width": "{system.size.none}"
|
|
6176
6349
|
}
|
|
6177
6350
|
},
|
|
6178
6351
|
"StepTracker": {
|
|
@@ -6492,7 +6665,13 @@
|
|
|
6492
6665
|
}
|
|
6493
6666
|
},
|
|
6494
6667
|
"Tabs": {
|
|
6495
|
-
"appearances": {
|
|
6668
|
+
"appearances": {
|
|
6669
|
+
"equalWidth": {
|
|
6670
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6671
|
+
"type": "variant",
|
|
6672
|
+
"values": [true]
|
|
6673
|
+
}
|
|
6674
|
+
},
|
|
6496
6675
|
"rules": [],
|
|
6497
6676
|
"tokens": {
|
|
6498
6677
|
"borderBottomColor": "{system.color.transparent}",
|
|
@@ -6506,6 +6685,11 @@
|
|
|
6506
6685
|
},
|
|
6507
6686
|
"TabsItem": {
|
|
6508
6687
|
"appearances": {
|
|
6688
|
+
"equalWidth": {
|
|
6689
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6690
|
+
"type": "variant",
|
|
6691
|
+
"values": [true]
|
|
6692
|
+
},
|
|
6509
6693
|
"focus": "{appearances.TabsItem.focus}",
|
|
6510
6694
|
"hover": "{appearances.TabsItem.hover}",
|
|
6511
6695
|
"inverse": {
|
|
@@ -6630,6 +6814,14 @@
|
|
|
6630
6814
|
"highlightBarHeight": "{palette.border.border1}",
|
|
6631
6815
|
"highlightColor": "{palette.color.silver}"
|
|
6632
6816
|
}
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
"if": {
|
|
6820
|
+
"equalWidth": true
|
|
6821
|
+
},
|
|
6822
|
+
"tokens": {
|
|
6823
|
+
"maxWidth": "{system.size.none}"
|
|
6824
|
+
}
|
|
6633
6825
|
}
|
|
6634
6826
|
],
|
|
6635
6827
|
"tokens": {
|
|
@@ -7036,6 +7228,7 @@
|
|
|
7036
7228
|
}
|
|
7037
7229
|
],
|
|
7038
7230
|
"tokens": {
|
|
7231
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
7039
7232
|
"backgroundColor": "{palette.color.white}",
|
|
7040
7233
|
"borderColor": "{palette.color.black}",
|
|
7041
7234
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -7045,13 +7238,16 @@
|
|
|
7045
7238
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
7046
7239
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
7047
7240
|
"color": "{palette.color.dove}",
|
|
7241
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
7048
7242
|
"fontName": "{palette.fontName.StagSans}",
|
|
7049
7243
|
"fontSize": "{palette.fontSize.size16}",
|
|
7050
7244
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
7051
7245
|
"icon": "{system.icon.none}",
|
|
7052
7246
|
"iconColor": "{palette.color.transparent}",
|
|
7053
7247
|
"iconSize": "{palette.size.size24}",
|
|
7248
|
+
"leftIconPaddingBottom": "{palette.size.size5}",
|
|
7054
7249
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
7250
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
7055
7251
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
7056
7252
|
"outerBorderColor": "{palette.color.transparent}",
|
|
7057
7253
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -7060,7 +7256,8 @@
|
|
|
7060
7256
|
"paddingRight": "{palette.size.size16}",
|
|
7061
7257
|
"paddingTop": "{palette.size.size10}",
|
|
7062
7258
|
"passwordHideButtonIcon": "{palette.icon.EyeMasked}",
|
|
7063
|
-
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}"
|
|
7259
|
+
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}",
|
|
7260
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
7064
7261
|
}
|
|
7065
7262
|
},
|
|
7066
7263
|
"Timeline": {
|