@telus-uds/theme-koodo 2.1.0 → 3.1.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 +464 -354
- package/build/theme.js +31 -6
- package/package.json +4 -5
- package/theme.json +27 -2
package/build/theme.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Fri,
|
|
4
|
+
* Generated on Fri, 22 Jul 2022 20:29:03 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
9
|
-
const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
|
|
10
8
|
const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
|
|
9
|
+
const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
|
|
10
|
+
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
11
11
|
const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
|
|
12
12
|
const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
|
|
13
13
|
const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
|
|
@@ -209,6 +209,7 @@ module.exports = {
|
|
|
209
209
|
tokens: {
|
|
210
210
|
alignItems: 'center',
|
|
211
211
|
direction: 'row',
|
|
212
|
+
fieldSpace: 2,
|
|
212
213
|
flexGrow: 0,
|
|
213
214
|
flexShrink: 0,
|
|
214
215
|
justifyContent: 'flex-start',
|
|
@@ -335,6 +336,29 @@ module.exports = {
|
|
|
335
336
|
shadow: null
|
|
336
337
|
}
|
|
337
338
|
},
|
|
339
|
+
Carousel: {
|
|
340
|
+
appearances: {
|
|
341
|
+
viewport: {
|
|
342
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
343
|
+
type: 'state',
|
|
344
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
rules: [
|
|
348
|
+
{
|
|
349
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
350
|
+
tokens: { showPreviousNextNavigation: false }
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
tokens: {
|
|
354
|
+
nextIcon: PaletteIconChevronRight,
|
|
355
|
+
previousIcon: PaletteIconChevronLeft,
|
|
356
|
+
showPanelNavigation: true,
|
|
357
|
+
showPreviousNextNavigation: true,
|
|
358
|
+
spaceBetweenSlideAndPanelNavigation: 32,
|
|
359
|
+
spaceBetweenSlideAndPreviousNextNavigation: 24
|
|
360
|
+
}
|
|
361
|
+
},
|
|
338
362
|
Checkbox: {
|
|
339
363
|
appearances: {
|
|
340
364
|
checked: {
|
|
@@ -1521,7 +1545,7 @@ module.exports = {
|
|
|
1521
1545
|
],
|
|
1522
1546
|
tokens: {
|
|
1523
1547
|
backgroundColor: '#ffffff',
|
|
1524
|
-
borderColor: '#
|
|
1548
|
+
borderColor: '#000000',
|
|
1525
1549
|
borderRadius: 4,
|
|
1526
1550
|
borderWidth: 1,
|
|
1527
1551
|
color: '#000000',
|
|
@@ -1530,7 +1554,7 @@ module.exports = {
|
|
|
1530
1554
|
fontWeight: '400',
|
|
1531
1555
|
height: 48,
|
|
1532
1556
|
icon: PaletteIconChevronDown,
|
|
1533
|
-
iconColor: '#
|
|
1557
|
+
iconColor: '#000000',
|
|
1534
1558
|
iconSize: 24,
|
|
1535
1559
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1536
1560
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -2137,6 +2161,7 @@ module.exports = {
|
|
|
2137
2161
|
tokens: {
|
|
2138
2162
|
alignItems: 'flex-start',
|
|
2139
2163
|
direction: 'column',
|
|
2164
|
+
fieldSpace: 2,
|
|
2140
2165
|
flexGrow: 0,
|
|
2141
2166
|
flexShrink: 0,
|
|
2142
2167
|
justifyContent: 'flex-start',
|
|
@@ -2375,5 +2400,5 @@ module.exports = {
|
|
|
2375
2400
|
tokens: { size: 96 }
|
|
2376
2401
|
}
|
|
2377
2402
|
},
|
|
2378
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '1.
|
|
2403
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.1.0' }
|
|
2379
2404
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-koodo",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Koodo theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"koodo"
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
"build",
|
|
14
14
|
"theme.json"
|
|
15
15
|
],
|
|
16
|
-
"dependencies": {},
|
|
17
16
|
"peerDependencies": {
|
|
18
|
-
"@telus-uds/palette-koodo": "^0.1.
|
|
17
|
+
"@telus-uds/palette-koodo": "^0.1.2"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@telus-uds/palette-koodo": "^0.1.
|
|
22
|
-
"@telus-uds/system-theme-tokens": "^1.
|
|
20
|
+
"@telus-uds/palette-koodo": "^0.1.2",
|
|
21
|
+
"@telus-uds/system-theme-tokens": "^2.1.0"
|
|
23
22
|
},
|
|
24
23
|
"repository": {
|
|
25
24
|
"type": "git",
|
package/theme.json
CHANGED
|
@@ -242,6 +242,7 @@
|
|
|
242
242
|
"tokens": {
|
|
243
243
|
"alignItems": "{system.flexAlign.center}",
|
|
244
244
|
"direction": "{system.direction.row}",
|
|
245
|
+
"fieldSpace": "{system.integer.2}",
|
|
245
246
|
"flexGrow": "{system.integer.0}",
|
|
246
247
|
"flexShrink": "{system.integer.0}",
|
|
247
248
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
@@ -377,6 +378,29 @@
|
|
|
377
378
|
"shadow": "{system.shadow.none}"
|
|
378
379
|
}
|
|
379
380
|
},
|
|
381
|
+
"Carousel": {
|
|
382
|
+
"appearances": {
|
|
383
|
+
"viewport": "{appearances.system.viewport}"
|
|
384
|
+
},
|
|
385
|
+
"rules": [
|
|
386
|
+
{
|
|
387
|
+
"if": {
|
|
388
|
+
"viewport": ["xs", "sm"]
|
|
389
|
+
},
|
|
390
|
+
"tokens": {
|
|
391
|
+
"showPreviousNextNavigation": "{system.show.false}"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"tokens": {
|
|
396
|
+
"nextIcon": "{palette.icon.ChevronRight}",
|
|
397
|
+
"previousIcon": "{palette.icon.ChevronLeft}",
|
|
398
|
+
"showPanelNavigation": "{system.show.true}",
|
|
399
|
+
"showPreviousNextNavigation": "{system.show.true}",
|
|
400
|
+
"spaceBetweenSlideAndPanelNavigation": "{palette.size.size32}",
|
|
401
|
+
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
380
404
|
"Checkbox": {
|
|
381
405
|
"appearances": {
|
|
382
406
|
"checked": "{appearances.Checkbox.checked}",
|
|
@@ -1677,7 +1701,7 @@
|
|
|
1677
1701
|
],
|
|
1678
1702
|
"tokens": {
|
|
1679
1703
|
"backgroundColor": "{palette.color.white}",
|
|
1680
|
-
"borderColor": "{palette.color.
|
|
1704
|
+
"borderColor": "{palette.color.black}",
|
|
1681
1705
|
"borderRadius": "{palette.radius.radius4}",
|
|
1682
1706
|
"borderWidth": "{palette.border.border1}",
|
|
1683
1707
|
"color": "{palette.color.black}",
|
|
@@ -1686,7 +1710,7 @@
|
|
|
1686
1710
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
1687
1711
|
"height": "{palette.size.size48}",
|
|
1688
1712
|
"icon": "{palette.icon.ChevronDown}",
|
|
1689
|
-
"iconColor": "{palette.color.
|
|
1713
|
+
"iconColor": "{palette.color.black}",
|
|
1690
1714
|
"iconSize": "{palette.size.size24}",
|
|
1691
1715
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
1692
1716
|
"outerBorderColor": "{palette.color.transparent}",
|
|
@@ -2351,6 +2375,7 @@
|
|
|
2351
2375
|
"tokens": {
|
|
2352
2376
|
"alignItems": "{system.flexAlign.flexStart}",
|
|
2353
2377
|
"direction": "{system.direction.column}",
|
|
2378
|
+
"fieldSpace": "{system.integer.2}",
|
|
2354
2379
|
"flexGrow": "{system.integer.0}",
|
|
2355
2380
|
"flexShrink": "{system.integer.0}",
|
|
2356
2381
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|