@telus-uds/theme-koodo 3.6.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/schema.json +669 -416
- package/build/android/theme.json +132 -1
- package/build/ios/schema.json +669 -416
- package/build/ios/theme.json +132 -1
- package/build/rn/schema.json +673 -420
- package/build/rn/theme.js +68 -2
- package/package.json +4 -4
- package/theme.json +80 -0
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, 28 Dec 2022 20:53:49 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -445,6 +445,8 @@ module.exports = {
|
|
|
445
445
|
fontName: 'StagSans',
|
|
446
446
|
fontSize: 14,
|
|
447
447
|
fontWeight: '600',
|
|
448
|
+
iconSize: 20,
|
|
449
|
+
iconSpace: 3,
|
|
448
450
|
lineHeight: 1.5,
|
|
449
451
|
minWidth: 0,
|
|
450
452
|
opacity: 1,
|
|
@@ -720,6 +722,7 @@ module.exports = {
|
|
|
720
722
|
icon: PaletteIconChevronDown,
|
|
721
723
|
iconColor: '#016b6a',
|
|
722
724
|
iconGap: 16,
|
|
725
|
+
iconPaddingTop: 4,
|
|
723
726
|
iconPosition: 'left',
|
|
724
727
|
iconSize: 16,
|
|
725
728
|
justifyContent: 'flex-start',
|
|
@@ -1540,6 +1543,48 @@ module.exports = {
|
|
|
1540
1543
|
shadow: null
|
|
1541
1544
|
}
|
|
1542
1545
|
},
|
|
1546
|
+
QuickLinksFeature: {
|
|
1547
|
+
appearances: {},
|
|
1548
|
+
rules: [],
|
|
1549
|
+
tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
|
|
1550
|
+
},
|
|
1551
|
+
QuickLinksFeatureItem: {
|
|
1552
|
+
appearances: {
|
|
1553
|
+
hover: {
|
|
1554
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1555
|
+
platforms: [ 'rn' ],
|
|
1556
|
+
type: 'state',
|
|
1557
|
+
values: [ true ]
|
|
1558
|
+
},
|
|
1559
|
+
viewport: {
|
|
1560
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1561
|
+
type: 'state',
|
|
1562
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
rules: [
|
|
1566
|
+
{
|
|
1567
|
+
if: { viewport: 'xl' },
|
|
1568
|
+
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
1569
|
+
},
|
|
1570
|
+
{ if: { hover: true }, tokens: { imageDimension: 140 } },
|
|
1571
|
+
{
|
|
1572
|
+
if: { hover: true, viewport: 'xl' },
|
|
1573
|
+
tokens: { imageDimension: 184 }
|
|
1574
|
+
}
|
|
1575
|
+
],
|
|
1576
|
+
tokens: {
|
|
1577
|
+
color: '#016b6a',
|
|
1578
|
+
contentAlignItems: 'center',
|
|
1579
|
+
contentDirection: 'column',
|
|
1580
|
+
contentMaxDimension: 140,
|
|
1581
|
+
contentSpace: 3,
|
|
1582
|
+
imageDimension: 128,
|
|
1583
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1584
|
+
textAlign: 'center',
|
|
1585
|
+
textLine: 'underline'
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1543
1588
|
QuickLinksList: {
|
|
1544
1589
|
appearances: {
|
|
1545
1590
|
focus: {
|
|
@@ -2184,6 +2229,11 @@ module.exports = {
|
|
|
2184
2229
|
},
|
|
2185
2230
|
StepTracker: {
|
|
2186
2231
|
appearances: {
|
|
2232
|
+
inverse: {
|
|
2233
|
+
description: 'Styles the step tracker for using on dark backgrounds.',
|
|
2234
|
+
type: 'variant',
|
|
2235
|
+
values: [ true ]
|
|
2236
|
+
},
|
|
2187
2237
|
viewport: {
|
|
2188
2238
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2189
2239
|
type: 'state',
|
|
@@ -2194,6 +2244,22 @@ module.exports = {
|
|
|
2194
2244
|
{
|
|
2195
2245
|
if: { viewport: [ 'lg', 'xl' ] },
|
|
2196
2246
|
tokens: { showStepLabel: true, showStepTrackerLabel: false }
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
if: { inverse: true },
|
|
2250
|
+
tokens: {
|
|
2251
|
+
connectorColor: '#ffffff',
|
|
2252
|
+
connectorCompletedColor: '#ffffff',
|
|
2253
|
+
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2254
|
+
knobBorderColor: '#ffffff',
|
|
2255
|
+
knobCompletedBackgroundColor: '#ffffff',
|
|
2256
|
+
knobCompletedBorderColor: '#ffffff',
|
|
2257
|
+
knobCurrentBackgroundColor: '#ffffff',
|
|
2258
|
+
knobCurrentBorderColor: '#ffffff',
|
|
2259
|
+
knobCurrentInnerColor: '#ffffff',
|
|
2260
|
+
labelColor: '#ffffff',
|
|
2261
|
+
labelCurrentColor: '#ffffff'
|
|
2262
|
+
}
|
|
2197
2263
|
}
|
|
2198
2264
|
],
|
|
2199
2265
|
tokens: {
|
|
@@ -2929,5 +2995,5 @@ module.exports = {
|
|
|
2929
2995
|
tokens: { size: 96 }
|
|
2930
2996
|
}
|
|
2931
2997
|
},
|
|
2932
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2998
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.9.0' }
|
|
2933
2999
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.1
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.2.1",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.9.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.1
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.2.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": "3.
|
|
34
|
+
"version": "3.7.1"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -493,6 +493,8 @@
|
|
|
493
493
|
"fontName": "{palette.fontName.StagSans}",
|
|
494
494
|
"fontSize": "{palette.fontSize.size14}",
|
|
495
495
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
496
|
+
"iconSize": "{palette.size.size20}",
|
|
497
|
+
"iconSpace": "{system.integer.3}",
|
|
496
498
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
497
499
|
"minWidth": "{system.size.zero}",
|
|
498
500
|
"opacity": "{system.opacity.opaque}",
|
|
@@ -756,6 +758,7 @@
|
|
|
756
758
|
"icon": "{palette.icon.ChevronDown}",
|
|
757
759
|
"iconColor": "{palette.color.mosque}",
|
|
758
760
|
"iconGap": "{palette.size.size16}",
|
|
761
|
+
"iconPaddingTop": "{palette.size.size4}",
|
|
759
762
|
"iconPosition": "{system.position.left}",
|
|
760
763
|
"iconSize": "{palette.size.size16}",
|
|
761
764
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
@@ -1692,6 +1695,60 @@
|
|
|
1692
1695
|
"shadow": "{system.shadow.none}"
|
|
1693
1696
|
}
|
|
1694
1697
|
},
|
|
1698
|
+
"QuickLinksFeature": {
|
|
1699
|
+
"appearances": {},
|
|
1700
|
+
"rules": [],
|
|
1701
|
+
"tokens": {
|
|
1702
|
+
"stackGap": "{system.integer.5}",
|
|
1703
|
+
"stackJustify": "{system.flexJustifyContent.center}",
|
|
1704
|
+
"stackSpace": "{system.integer.5}"
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
"QuickLinksFeatureItem": {
|
|
1708
|
+
"appearances": {
|
|
1709
|
+
"hover": "{appearances.Link.hover}",
|
|
1710
|
+
"viewport": "{appearances.system.viewport}"
|
|
1711
|
+
},
|
|
1712
|
+
"rules": [
|
|
1713
|
+
{
|
|
1714
|
+
"if": {
|
|
1715
|
+
"viewport": "xl"
|
|
1716
|
+
},
|
|
1717
|
+
"tokens": {
|
|
1718
|
+
"contentMaxDimension": "{palette.size.size184}",
|
|
1719
|
+
"imageDimension": "{palette.size.size168}"
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"if": {
|
|
1724
|
+
"hover": true
|
|
1725
|
+
},
|
|
1726
|
+
"tokens": {
|
|
1727
|
+
"imageDimension": "{palette.size.size140}"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"if": {
|
|
1732
|
+
"hover": true,
|
|
1733
|
+
"viewport": "xl"
|
|
1734
|
+
},
|
|
1735
|
+
"tokens": {
|
|
1736
|
+
"imageDimension": "{palette.size.size184}"
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
],
|
|
1740
|
+
"tokens": {
|
|
1741
|
+
"color": "{palette.color.mosque}",
|
|
1742
|
+
"contentAlignItems": "{system.flexAlign.center}",
|
|
1743
|
+
"contentDirection": "{system.direction.column}",
|
|
1744
|
+
"contentMaxDimension": "{palette.size.size140}",
|
|
1745
|
+
"contentSpace": "{system.integer.3}",
|
|
1746
|
+
"imageDimension": "{palette.size.size128}",
|
|
1747
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
1748
|
+
"textAlign": "{system.textAlign.center}",
|
|
1749
|
+
"textLine": "{system.textLine.underline}"
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1695
1752
|
"QuickLinksList": {
|
|
1696
1753
|
"appearances": {
|
|
1697
1754
|
"focus": "{appearances.QuickLinksList.focus}",
|
|
@@ -2342,6 +2399,11 @@
|
|
|
2342
2399
|
},
|
|
2343
2400
|
"StepTracker": {
|
|
2344
2401
|
"appearances": {
|
|
2402
|
+
"inverse": {
|
|
2403
|
+
"description": "Styles the step tracker for using on dark backgrounds.",
|
|
2404
|
+
"type": "variant",
|
|
2405
|
+
"values": [true]
|
|
2406
|
+
},
|
|
2345
2407
|
"viewport": "{appearances.system.viewport}"
|
|
2346
2408
|
},
|
|
2347
2409
|
"rules": [
|
|
@@ -2353,6 +2415,24 @@
|
|
|
2353
2415
|
"showStepLabel": "{system.show.true}",
|
|
2354
2416
|
"showStepTrackerLabel": "{system.show.false}"
|
|
2355
2417
|
}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"if": {
|
|
2421
|
+
"inverse": true
|
|
2422
|
+
},
|
|
2423
|
+
"tokens": {
|
|
2424
|
+
"connectorColor": "{palette.color.white}",
|
|
2425
|
+
"connectorCompletedColor": "{palette.color.white}",
|
|
2426
|
+
"knobBackgroundColor": "{palette.color.transparent}",
|
|
2427
|
+
"knobBorderColor": "{palette.color.white}",
|
|
2428
|
+
"knobCompletedBackgroundColor": "{palette.color.white}",
|
|
2429
|
+
"knobCompletedBorderColor": "{palette.color.white}",
|
|
2430
|
+
"knobCurrentBackgroundColor": "{palette.color.white}",
|
|
2431
|
+
"knobCurrentBorderColor": "{palette.color.white}",
|
|
2432
|
+
"knobCurrentInnerColor": "{palette.color.white}",
|
|
2433
|
+
"labelColor": "{palette.color.white}",
|
|
2434
|
+
"labelCurrentColor": "{palette.color.white}"
|
|
2435
|
+
}
|
|
2356
2436
|
}
|
|
2357
2437
|
],
|
|
2358
2438
|
"tokens": {
|