@telus-uds/theme-allium 4.14.0 → 4.16.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 +1313 -940
- package/build/android/theme.json +318 -7
- package/build/ios/schema.json +1313 -940
- package/build/ios/theme.json +318 -7
- package/build/rn/schema.json +1313 -940
- package/build/rn/theme.js +196 -8
- package/package.json +5 -5
- package/theme.json +205 -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:53:28 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -25,8 +25,12 @@ const PaletteIconSearchBold = require('@telus-uds/palette-allium/build/rn/icons/
|
|
|
25
25
|
const PaletteIconPlaySolid = require('@telus-uds/palette-allium/build/rn/icons/PlaySolid')
|
|
26
26
|
const PaletteIconQuoteLeft = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeft')
|
|
27
27
|
const PaletteIconQuoteLeftArrow = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeftArrow')
|
|
28
|
+
const PaletteIconAmex = require('@telus-uds/palette-allium/build/rn/icons/Amex')
|
|
29
|
+
const PaletteIconCreditCard = require('@telus-uds/palette-allium/build/rn/icons/CreditCard')
|
|
30
|
+
const PaletteIconMasterCard = require('@telus-uds/palette-allium/build/rn/icons/MasterCard')
|
|
28
31
|
const PaletteIconInvisible = require('@telus-uds/palette-allium/build/rn/icons/Invisible')
|
|
29
32
|
const PaletteIconVisible = require('@telus-uds/palette-allium/build/rn/icons/Visible')
|
|
33
|
+
const PaletteIconVisa = require('@telus-uds/palette-allium/build/rn/icons/Visa')
|
|
30
34
|
const PaletteIconQuestion = require('@telus-uds/palette-allium/build/rn/icons/Question')
|
|
31
35
|
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
32
36
|
const PaletteIconReplay = require('@telus-uds/palette-allium/build/rn/icons/Replay')
|
|
@@ -886,9 +890,20 @@ module.exports = {
|
|
|
886
890
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
887
891
|
type: 'state',
|
|
888
892
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
893
|
+
},
|
|
894
|
+
width: {
|
|
895
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
896
|
+
type: 'variant',
|
|
897
|
+
values: [ 'responsive' ]
|
|
889
898
|
}
|
|
890
899
|
},
|
|
891
|
-
rules: [
|
|
900
|
+
rules: [
|
|
901
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } },
|
|
902
|
+
{
|
|
903
|
+
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
904
|
+
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
905
|
+
}
|
|
906
|
+
],
|
|
892
907
|
tokens: {
|
|
893
908
|
alignItems: 'center',
|
|
894
909
|
direction: 'row',
|
|
@@ -932,6 +947,11 @@ module.exports = {
|
|
|
932
947
|
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`.',
|
|
933
948
|
type: 'state',
|
|
934
949
|
values: [ true ]
|
|
950
|
+
},
|
|
951
|
+
width: {
|
|
952
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
953
|
+
type: 'variant',
|
|
954
|
+
values: [ 'responsive' ]
|
|
935
955
|
}
|
|
936
956
|
},
|
|
937
957
|
rules: [
|
|
@@ -986,7 +1006,8 @@ module.exports = {
|
|
|
986
1006
|
color: '#ffffff'
|
|
987
1007
|
}
|
|
988
1008
|
},
|
|
989
|
-
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
1009
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1010
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
990
1011
|
],
|
|
991
1012
|
tokens: {
|
|
992
1013
|
alignSelf: 'flex-start',
|
|
@@ -1478,6 +1499,156 @@ module.exports = {
|
|
|
1478
1499
|
labelMarginLeft: 10
|
|
1479
1500
|
}
|
|
1480
1501
|
},
|
|
1502
|
+
CheckboxCard: {
|
|
1503
|
+
appearances: {
|
|
1504
|
+
checked: {
|
|
1505
|
+
description: 'Corresponds to a selected state for a checkbox or radio',
|
|
1506
|
+
type: 'state',
|
|
1507
|
+
values: [ true ]
|
|
1508
|
+
},
|
|
1509
|
+
error: { type: 'state', values: [ true ] },
|
|
1510
|
+
focus: {
|
|
1511
|
+
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.",
|
|
1512
|
+
platforms: [ 'rn' ],
|
|
1513
|
+
type: 'state',
|
|
1514
|
+
values: [ true, false ]
|
|
1515
|
+
},
|
|
1516
|
+
hover: {
|
|
1517
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1518
|
+
platforms: [ 'rn' ],
|
|
1519
|
+
type: 'state',
|
|
1520
|
+
values: [ true, false ]
|
|
1521
|
+
},
|
|
1522
|
+
inactive: {
|
|
1523
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
1524
|
+
type: 'state',
|
|
1525
|
+
values: [ true ]
|
|
1526
|
+
},
|
|
1527
|
+
pressed: {
|
|
1528
|
+
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.',
|
|
1529
|
+
type: 'state',
|
|
1530
|
+
values: [ true, false ]
|
|
1531
|
+
},
|
|
1532
|
+
viewport: {
|
|
1533
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1534
|
+
type: 'state',
|
|
1535
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
rules: [
|
|
1539
|
+
{
|
|
1540
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1541
|
+
tokens: {
|
|
1542
|
+
fontSize: 24,
|
|
1543
|
+
lineHeight: 1.33333333333,
|
|
1544
|
+
paddingBottom: 24,
|
|
1545
|
+
paddingLeft: 16,
|
|
1546
|
+
paddingRight: 24,
|
|
1547
|
+
paddingTop: 16
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
if: { hover: true },
|
|
1552
|
+
tokens: {
|
|
1553
|
+
borderColor: '#676e73',
|
|
1554
|
+
checkboxOuterBorderColor: '#e3e6e8',
|
|
1555
|
+
checkboxOuterBorderWidth: 2,
|
|
1556
|
+
outerBorderColor: '#e3e6e8'
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
if: { focus: true },
|
|
1561
|
+
tokens: {
|
|
1562
|
+
checkboxInputBorderColor: '#7c53a5',
|
|
1563
|
+
checkboxInputBorderWidth: 3,
|
|
1564
|
+
outerBorderColor: '#676e73',
|
|
1565
|
+
outerBorderGap: 2
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
description: 'Pressed state matches hover state plus light grey background',
|
|
1570
|
+
if: { pressed: true },
|
|
1571
|
+
tokens: {
|
|
1572
|
+
backgroundColor: '#f4f4f7',
|
|
1573
|
+
borderColor: '#676e73',
|
|
1574
|
+
checkboxInputBorderColor: '#676e73',
|
|
1575
|
+
checkboxInputBorderWidth: 1,
|
|
1576
|
+
checkboxOuterBorderColor: '#e3e6e8',
|
|
1577
|
+
checkboxOuterBorderWidth: 3,
|
|
1578
|
+
outerBorderColor: '#e3e6e8',
|
|
1579
|
+
outerBorderGap: 0
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
{ if: { checked: true }, tokens: { borderColor: '#7c53a5' } },
|
|
1583
|
+
{
|
|
1584
|
+
if: { checked: true, hover: true },
|
|
1585
|
+
tokens: { borderColor: '#4b286d' }
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
if: { error: true },
|
|
1589
|
+
tokens: {
|
|
1590
|
+
borderColor: '#e12339',
|
|
1591
|
+
checkboxInputBorderColor: '#e12339',
|
|
1592
|
+
color: '#e12339'
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
if: { inactive: true },
|
|
1597
|
+
tokens: {
|
|
1598
|
+
backgroundColor: '#f4f4f7',
|
|
1599
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1600
|
+
checkboxCheckedBackgroundColor: '#676e73',
|
|
1601
|
+
checkboxInputBackgroundColor: '#b2b9bf',
|
|
1602
|
+
checkboxInputBorderColor: 'transparent',
|
|
1603
|
+
checkboxInputSize: 12,
|
|
1604
|
+
checkboxOuterBorderColor: '#b2b9bf',
|
|
1605
|
+
checkboxOuterBorderGap: 2,
|
|
1606
|
+
checkboxOuterBorderWidth: 1,
|
|
1607
|
+
color: '#676e73'
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
],
|
|
1611
|
+
tokens: {
|
|
1612
|
+
backgroundColor: '#ffffff',
|
|
1613
|
+
borderColor: '#b2b9bf',
|
|
1614
|
+
borderRadius: 6,
|
|
1615
|
+
borderWidth: 1,
|
|
1616
|
+
checkboxCheckedBackgroundColor: '#7c53a5',
|
|
1617
|
+
checkboxCheckedSize: 12,
|
|
1618
|
+
checkboxInputBackgroundColor: '#ffffff',
|
|
1619
|
+
checkboxInputBorderColor: '#676e73',
|
|
1620
|
+
checkboxInputBorderWidth: 1,
|
|
1621
|
+
checkboxInputOutlineColor: 'rgba(0, 0, 0, 0)',
|
|
1622
|
+
checkboxInputOutlineWidth: 0,
|
|
1623
|
+
checkboxInputSize: 20,
|
|
1624
|
+
checkboxOuterBorderColor: 'transparent',
|
|
1625
|
+
checkboxOuterBorderGap: 0,
|
|
1626
|
+
checkboxOuterBorderWidth: 0,
|
|
1627
|
+
checkboxSpace: 2,
|
|
1628
|
+
color: '#2c2e30',
|
|
1629
|
+
contentAlignItems: 'stretch',
|
|
1630
|
+
contentFlexGrow: 0,
|
|
1631
|
+
contentFlexShrink: 1,
|
|
1632
|
+
contentJustifyContent: 'flex-start',
|
|
1633
|
+
contentSpace: 2,
|
|
1634
|
+
flex: 1,
|
|
1635
|
+
fontName: 'HelveticaNow',
|
|
1636
|
+
fontSize: 20,
|
|
1637
|
+
fontWeight: '500',
|
|
1638
|
+
letterSpacing: 0,
|
|
1639
|
+
lineHeight: 1.4,
|
|
1640
|
+
minWidth: 264,
|
|
1641
|
+
outerBorderColor: 'transparent',
|
|
1642
|
+
outerBorderGap: 0,
|
|
1643
|
+
outerBorderWidth: 2,
|
|
1644
|
+
paddingBottom: 16,
|
|
1645
|
+
paddingLeft: 10,
|
|
1646
|
+
paddingRight: 16,
|
|
1647
|
+
paddingTop: 16,
|
|
1648
|
+
shadow: null,
|
|
1649
|
+
textTransform: 'none'
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1481
1652
|
CheckboxGroup: {
|
|
1482
1653
|
appearances: {},
|
|
1483
1654
|
rules: [],
|
|
@@ -5014,7 +5185,8 @@ module.exports = {
|
|
|
5014
5185
|
alignItems: 'stretch',
|
|
5015
5186
|
flexGrow: 0,
|
|
5016
5187
|
flexShrink: 0,
|
|
5017
|
-
justifyContent: 'flex-start'
|
|
5188
|
+
justifyContent: 'flex-start',
|
|
5189
|
+
width: null
|
|
5018
5190
|
}
|
|
5019
5191
|
},
|
|
5020
5192
|
StepTracker: {
|
|
@@ -5297,6 +5469,11 @@ module.exports = {
|
|
|
5297
5469
|
},
|
|
5298
5470
|
Tabs: {
|
|
5299
5471
|
appearances: {
|
|
5472
|
+
equalWidth: {
|
|
5473
|
+
description: 'Divide the available width equally among `TabsItem`',
|
|
5474
|
+
type: 'variant',
|
|
5475
|
+
values: [ true ]
|
|
5476
|
+
},
|
|
5300
5477
|
inverse: {
|
|
5301
5478
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
5302
5479
|
type: 'variant',
|
|
@@ -5321,6 +5498,11 @@ module.exports = {
|
|
|
5321
5498
|
},
|
|
5322
5499
|
TabsItem: {
|
|
5323
5500
|
appearances: {
|
|
5501
|
+
equalWidth: {
|
|
5502
|
+
description: 'Divide the available width equally among `TabsItem`',
|
|
5503
|
+
type: 'variant',
|
|
5504
|
+
values: [ true ]
|
|
5505
|
+
},
|
|
5324
5506
|
focus: {
|
|
5325
5507
|
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.',
|
|
5326
5508
|
type: 'state',
|
|
@@ -5348,7 +5530,7 @@ module.exports = {
|
|
|
5348
5530
|
description: "The design uses height of 3: there's (rightly) no '3' in the Allium palette but the effect is 1px above and below a 1px line",
|
|
5349
5531
|
if: { selected: true },
|
|
5350
5532
|
tokens: {
|
|
5351
|
-
backgroundColor: '
|
|
5533
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
5352
5534
|
color: '#4b286d',
|
|
5353
5535
|
highlightBarBorderRadius: 32,
|
|
5354
5536
|
highlightBarBorderWidth: 1,
|
|
@@ -5404,7 +5586,8 @@ module.exports = {
|
|
|
5404
5586
|
{
|
|
5405
5587
|
if: { focus: true, inverse: true },
|
|
5406
5588
|
tokens: { borderColor: '#ffffff', highlightColor: '#ffffff' }
|
|
5407
|
-
}
|
|
5589
|
+
},
|
|
5590
|
+
{ if: { equalWidth: true }, tokens: { maxWidth: null } }
|
|
5408
5591
|
],
|
|
5409
5592
|
tokens: {
|
|
5410
5593
|
backgroundColor: 'transparent',
|
|
@@ -5771,6 +5954,7 @@ module.exports = {
|
|
|
5771
5954
|
}
|
|
5772
5955
|
],
|
|
5773
5956
|
tokens: {
|
|
5957
|
+
amexIcon: PaletteIconAmex,
|
|
5774
5958
|
backgroundColor: '#ffffff',
|
|
5775
5959
|
borderColor: '#676e73',
|
|
5776
5960
|
borderRadius: 4,
|
|
@@ -5780,13 +5964,16 @@ module.exports = {
|
|
|
5780
5964
|
buttonsPaddingRight: 8,
|
|
5781
5965
|
clearButtonIcon: PaletteIconTimes,
|
|
5782
5966
|
color: '#414547',
|
|
5967
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5783
5968
|
fontName: 'HelveticaNow',
|
|
5784
5969
|
fontSize: 16,
|
|
5785
5970
|
fontWeight: '400',
|
|
5786
5971
|
icon: null,
|
|
5787
5972
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5788
5973
|
iconSize: 24,
|
|
5974
|
+
leftIconPaddingBottom: 8,
|
|
5789
5975
|
lineHeight: 1.5,
|
|
5976
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5790
5977
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5791
5978
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5792
5979
|
outerBorderWidth: 2,
|
|
@@ -5795,7 +5982,8 @@ module.exports = {
|
|
|
5795
5982
|
paddingRight: 16,
|
|
5796
5983
|
paddingTop: 12,
|
|
5797
5984
|
passwordHideButtonIcon: PaletteIconInvisible,
|
|
5798
|
-
passwordShowButtonIcon: PaletteIconVisible
|
|
5985
|
+
passwordShowButtonIcon: PaletteIconVisible,
|
|
5986
|
+
visaIcon: PaletteIconVisa
|
|
5799
5987
|
}
|
|
5800
5988
|
},
|
|
5801
5989
|
Timeline: {
|
|
@@ -6736,5 +6924,5 @@ module.exports = {
|
|
|
6736
6924
|
tokens: { size: 96 }
|
|
6737
6925
|
}
|
|
6738
6926
|
},
|
|
6739
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6927
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.43.0' }
|
|
6740
6928
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
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/rn/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.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.27.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.43.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.24"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.27.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -1068,7 +1068,12 @@
|
|
|
1068
1068
|
},
|
|
1069
1069
|
"ButtonGroup": {
|
|
1070
1070
|
"appearances": {
|
|
1071
|
-
"viewport": "{appearances.system.viewport}"
|
|
1071
|
+
"viewport": "{appearances.system.viewport}",
|
|
1072
|
+
"width": {
|
|
1073
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1074
|
+
"type": "variant",
|
|
1075
|
+
"values": ["responsive"]
|
|
1076
|
+
}
|
|
1072
1077
|
},
|
|
1073
1078
|
"rules": [
|
|
1074
1079
|
{
|
|
@@ -1078,6 +1083,16 @@
|
|
|
1078
1083
|
"tokens": {
|
|
1079
1084
|
"space": "{system.integer.3}"
|
|
1080
1085
|
}
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"if": {
|
|
1089
|
+
"viewport": ["xs"],
|
|
1090
|
+
"width": "responsive"
|
|
1091
|
+
},
|
|
1092
|
+
"tokens": {
|
|
1093
|
+
"alignItems": "{system.flexAlign.stretch}",
|
|
1094
|
+
"direction": "{system.direction.column}"
|
|
1095
|
+
}
|
|
1081
1096
|
}
|
|
1082
1097
|
],
|
|
1083
1098
|
"tokens": {
|
|
@@ -1097,7 +1112,12 @@
|
|
|
1097
1112
|
"iconPosition": "{appearances.Link.iconPosition}",
|
|
1098
1113
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1099
1114
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1100
|
-
"selected": "{appearances.ButtonGroupItem.selected}"
|
|
1115
|
+
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1116
|
+
"width": {
|
|
1117
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1118
|
+
"type": "variant",
|
|
1119
|
+
"values": ["responsive"]
|
|
1120
|
+
}
|
|
1101
1121
|
},
|
|
1102
1122
|
"rules": [
|
|
1103
1123
|
{
|
|
@@ -1194,6 +1214,14 @@
|
|
|
1194
1214
|
"tokens": {
|
|
1195
1215
|
"iconSpace": "{system.integer.1}"
|
|
1196
1216
|
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"if": {
|
|
1220
|
+
"width": "responsive"
|
|
1221
|
+
},
|
|
1222
|
+
"tokens": {
|
|
1223
|
+
"width": "{system.size.full}"
|
|
1224
|
+
}
|
|
1197
1225
|
}
|
|
1198
1226
|
],
|
|
1199
1227
|
"tokens": {
|
|
@@ -1773,6 +1801,154 @@
|
|
|
1773
1801
|
"labelMarginLeft": "{palette.size.size10}"
|
|
1774
1802
|
}
|
|
1775
1803
|
},
|
|
1804
|
+
"CheckboxCard": {
|
|
1805
|
+
"appearances": {
|
|
1806
|
+
"checked": "{appearances.CheckboxCard.checked}",
|
|
1807
|
+
"error": "{appearances.CheckboxCard.error}",
|
|
1808
|
+
"focus": "{appearances.CheckboxCard.focus}",
|
|
1809
|
+
"hover": "{appearances.CheckboxCard.hover}",
|
|
1810
|
+
"inactive": "{appearances.CheckboxCard.inactive}",
|
|
1811
|
+
"pressed": "{appearances.CheckboxCard.pressed}",
|
|
1812
|
+
"viewport": "{appearances.system.viewport}"
|
|
1813
|
+
},
|
|
1814
|
+
"rules": [
|
|
1815
|
+
{
|
|
1816
|
+
"if": {
|
|
1817
|
+
"viewport": ["lg", "xl"]
|
|
1818
|
+
},
|
|
1819
|
+
"tokens": {
|
|
1820
|
+
"fontSize": "{palette.fontSize.size24}",
|
|
1821
|
+
"lineHeight": "{palette.lineHeight.ratio4to3}",
|
|
1822
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1823
|
+
"paddingLeft": "{palette.size.size16}",
|
|
1824
|
+
"paddingRight": "{palette.size.size24}",
|
|
1825
|
+
"paddingTop": "{palette.size.size16}"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"if": {
|
|
1830
|
+
"hover": true
|
|
1831
|
+
},
|
|
1832
|
+
"tokens": {
|
|
1833
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1834
|
+
"checkboxOuterBorderColor": "{palette.color.greyMystic}",
|
|
1835
|
+
"checkboxOuterBorderWidth": "{palette.border.border2}",
|
|
1836
|
+
"outerBorderColor": "{palette.color.greyMystic}"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"if": {
|
|
1841
|
+
"focus": true
|
|
1842
|
+
},
|
|
1843
|
+
"tokens": {
|
|
1844
|
+
"checkboxInputBorderColor": "{palette.color.purpleDeluge}",
|
|
1845
|
+
"checkboxInputBorderWidth": "{palette.border.border3}",
|
|
1846
|
+
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
1847
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"description": "Pressed state matches hover state plus light grey background",
|
|
1852
|
+
"if": {
|
|
1853
|
+
"pressed": true
|
|
1854
|
+
},
|
|
1855
|
+
"tokens": {
|
|
1856
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1857
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1858
|
+
"checkboxInputBorderColor": "{palette.color.greyShuttle}",
|
|
1859
|
+
"checkboxInputBorderWidth": "{palette.border.border1}",
|
|
1860
|
+
"checkboxOuterBorderColor": "{palette.color.greyMystic}",
|
|
1861
|
+
"checkboxOuterBorderWidth": "{palette.border.border3}",
|
|
1862
|
+
"outerBorderColor": "{palette.color.greyMystic}",
|
|
1863
|
+
"outerBorderGap": "{palette.size.size0}"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"if": {
|
|
1868
|
+
"checked": true
|
|
1869
|
+
},
|
|
1870
|
+
"tokens": {
|
|
1871
|
+
"borderColor": "{palette.color.purpleDeluge}"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"if": {
|
|
1876
|
+
"checked": true,
|
|
1877
|
+
"hover": true
|
|
1878
|
+
},
|
|
1879
|
+
"tokens": {
|
|
1880
|
+
"borderColor": "{palette.color.purpleTelus}"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"if": {
|
|
1885
|
+
"error": true
|
|
1886
|
+
},
|
|
1887
|
+
"tokens": {
|
|
1888
|
+
"borderColor": "{palette.color.red}",
|
|
1889
|
+
"checkboxInputBorderColor": "{palette.color.red}",
|
|
1890
|
+
"color": "{palette.color.red}"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"if": {
|
|
1895
|
+
"inactive": true
|
|
1896
|
+
},
|
|
1897
|
+
"tokens": {
|
|
1898
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1899
|
+
"borderColor": "{palette.color.transparent}",
|
|
1900
|
+
"checkboxCheckedBackgroundColor": "{palette.color.greyShuttle}",
|
|
1901
|
+
"checkboxInputBackgroundColor": "{palette.color.greyCloud}",
|
|
1902
|
+
"checkboxInputBorderColor": "{system.color.transparent}",
|
|
1903
|
+
"checkboxInputSize": "{palette.size.size12}",
|
|
1904
|
+
"checkboxOuterBorderColor": "{palette.color.greyCloud}",
|
|
1905
|
+
"checkboxOuterBorderGap": "{palette.size.size2}",
|
|
1906
|
+
"checkboxOuterBorderWidth": "{palette.border.border1}",
|
|
1907
|
+
"color": "{palette.color.greyShuttle}"
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
],
|
|
1911
|
+
"tokens": {
|
|
1912
|
+
"backgroundColor": "{palette.color.white}",
|
|
1913
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
1914
|
+
"borderRadius": "{palette.radius.radius6}",
|
|
1915
|
+
"borderWidth": "{palette.border.border1}",
|
|
1916
|
+
"checkboxCheckedBackgroundColor": "{palette.color.purpleDeluge}",
|
|
1917
|
+
"checkboxCheckedSize": "{palette.size.size12}",
|
|
1918
|
+
"checkboxInputBackgroundColor": "{palette.color.white}",
|
|
1919
|
+
"checkboxInputBorderColor": "{palette.color.greyShuttle}",
|
|
1920
|
+
"checkboxInputBorderWidth": "{palette.border.border1}",
|
|
1921
|
+
"checkboxInputOutlineColor": "{palette.color.transparent}",
|
|
1922
|
+
"checkboxInputOutlineWidth": "{palette.border.none}",
|
|
1923
|
+
"checkboxInputSize": "{palette.size.size20}",
|
|
1924
|
+
"checkboxOuterBorderColor": "{system.color.transparent}",
|
|
1925
|
+
"checkboxOuterBorderGap": "{system.size.zero}",
|
|
1926
|
+
"checkboxOuterBorderWidth": "{system.border.zero}",
|
|
1927
|
+
"checkboxSpace": "{system.integer.2}",
|
|
1928
|
+
"color": "{palette.color.greyThunder}",
|
|
1929
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1930
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
1931
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
1932
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1933
|
+
"contentSpace": "{system.integer.2}",
|
|
1934
|
+
"flex": "{system.integer.1}",
|
|
1935
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
1936
|
+
"fontSize": "{palette.fontSize.size20}",
|
|
1937
|
+
"fontWeight": "{palette.fontWeight.weight500}",
|
|
1938
|
+
"letterSpacing": "{system.letterSpacing.none}",
|
|
1939
|
+
"lineHeight": "{palette.lineHeight.ratio7to5}",
|
|
1940
|
+
"minWidth": "{palette.size.size264}",
|
|
1941
|
+
"outerBorderColor": "{system.color.transparent}",
|
|
1942
|
+
"outerBorderGap": "{system.size.zero}",
|
|
1943
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
1944
|
+
"paddingBottom": "{palette.size.size16}",
|
|
1945
|
+
"paddingLeft": "{palette.size.size10}",
|
|
1946
|
+
"paddingRight": "{palette.size.size16}",
|
|
1947
|
+
"paddingTop": "{palette.size.size16}",
|
|
1948
|
+
"shadow": "{system.shadow.none}",
|
|
1949
|
+
"textTransform": "{system.textTransform.none}"
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1776
1952
|
"CheckboxGroup": {
|
|
1777
1953
|
"appearances": {},
|
|
1778
1954
|
"rules": [],
|
|
@@ -6110,7 +6286,8 @@
|
|
|
6110
6286
|
"alignItems": "{system.flexAlign.stretch}",
|
|
6111
6287
|
"flexGrow": "{system.integer.0}",
|
|
6112
6288
|
"flexShrink": "{system.integer.0}",
|
|
6113
|
-
"justifyContent": "{system.flexJustifyContent.flexStart}"
|
|
6289
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
6290
|
+
"width": "{system.size.none}"
|
|
6114
6291
|
}
|
|
6115
6292
|
},
|
|
6116
6293
|
"StepTracker": {
|
|
@@ -6428,6 +6605,11 @@
|
|
|
6428
6605
|
},
|
|
6429
6606
|
"Tabs": {
|
|
6430
6607
|
"appearances": {
|
|
6608
|
+
"equalWidth": {
|
|
6609
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6610
|
+
"type": "variant",
|
|
6611
|
+
"values": [true]
|
|
6612
|
+
},
|
|
6431
6613
|
"inverse": {
|
|
6432
6614
|
"description": "Styles the link white for use on dark backgrounds.",
|
|
6433
6615
|
"type": "variant",
|
|
@@ -6456,6 +6638,11 @@
|
|
|
6456
6638
|
},
|
|
6457
6639
|
"TabsItem": {
|
|
6458
6640
|
"appearances": {
|
|
6641
|
+
"equalWidth": {
|
|
6642
|
+
"description": "Divide the available width equally among `TabsItem`",
|
|
6643
|
+
"type": "variant",
|
|
6644
|
+
"values": [true]
|
|
6645
|
+
},
|
|
6459
6646
|
"focus": "{appearances.TabsItem.pressed}",
|
|
6460
6647
|
"hover": "{appearances.TabsItem.pressed}",
|
|
6461
6648
|
"inverse": {
|
|
@@ -6472,7 +6659,7 @@
|
|
|
6472
6659
|
"selected": true
|
|
6473
6660
|
},
|
|
6474
6661
|
"tokens": {
|
|
6475
|
-
"backgroundColor": "{palette.color.
|
|
6662
|
+
"backgroundColor": "{palette.color.dark5}",
|
|
6476
6663
|
"color": "{palette.color.purpleTelus}",
|
|
6477
6664
|
"highlightBarBorderRadius": "{palette.radius.pill32}",
|
|
6478
6665
|
"highlightBarBorderWidth": "{palette.border.border1}",
|
|
@@ -6569,6 +6756,14 @@
|
|
|
6569
6756
|
"borderColor": "{palette.color.white}",
|
|
6570
6757
|
"highlightColor": "{palette.color.white}"
|
|
6571
6758
|
}
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"if": {
|
|
6762
|
+
"equalWidth": true
|
|
6763
|
+
},
|
|
6764
|
+
"tokens": {
|
|
6765
|
+
"maxWidth": "{system.size.none}"
|
|
6766
|
+
}
|
|
6572
6767
|
}
|
|
6573
6768
|
],
|
|
6574
6769
|
"tokens": {
|
|
@@ -6958,6 +7153,7 @@
|
|
|
6958
7153
|
}
|
|
6959
7154
|
],
|
|
6960
7155
|
"tokens": {
|
|
7156
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
6961
7157
|
"backgroundColor": "{palette.color.white}",
|
|
6962
7158
|
"borderColor": "{palette.color.greyShuttle}",
|
|
6963
7159
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -6967,13 +7163,16 @@
|
|
|
6967
7163
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
6968
7164
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
6969
7165
|
"color": "{palette.color.greyCharcoal}",
|
|
7166
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
6970
7167
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
6971
7168
|
"fontSize": "{palette.fontSize.size16}",
|
|
6972
7169
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
6973
7170
|
"icon": "{system.icon.none}",
|
|
6974
7171
|
"iconColor": "{palette.color.transparent}",
|
|
6975
7172
|
"iconSize": "{palette.size.size24}",
|
|
7173
|
+
"leftIconPaddingBottom": "{palette.size.size8}",
|
|
6976
7174
|
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
7175
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
6977
7176
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
6978
7177
|
"outerBorderColor": "{palette.color.transparent}",
|
|
6979
7178
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -6982,7 +7181,8 @@
|
|
|
6982
7181
|
"paddingRight": "{palette.size.size16}",
|
|
6983
7182
|
"paddingTop": "{palette.size.size12}",
|
|
6984
7183
|
"passwordHideButtonIcon": "{palette.icon.Invisible}",
|
|
6985
|
-
"passwordShowButtonIcon": "{palette.icon.Visible}"
|
|
7184
|
+
"passwordShowButtonIcon": "{palette.icon.Visible}",
|
|
7185
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
6986
7186
|
}
|
|
6987
7187
|
},
|
|
6988
7188
|
"Timeline": {
|