@telus-uds/theme-allium 3.3.0 → 3.4.2
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/CHANGELOG.json +52 -1
- package/CHANGELOG.md +27 -2
- package/build/schema.json +771 -670
- package/build/theme.js +29 -6
- package/package.json +4 -4
- package/theme.json +25 -3
package/build/theme.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Thu, 28 Jul 2022 23:41:32 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
9
|
-
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
10
8
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
9
|
+
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
10
|
+
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
11
11
|
const PaletteIconCaretDown = require('@telus-uds/palette-allium/build/rn/icons/CaretDown')
|
|
12
12
|
const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/CaretUp')
|
|
13
13
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
@@ -476,6 +476,29 @@ module.exports = {
|
|
|
476
476
|
shadow: null
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
|
+
Carousel: {
|
|
480
|
+
appearances: {
|
|
481
|
+
viewport: {
|
|
482
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
483
|
+
type: 'state',
|
|
484
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
rules: [
|
|
488
|
+
{
|
|
489
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
490
|
+
tokens: { showPreviousNextNavigation: false }
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
tokens: {
|
|
494
|
+
nextIcon: PaletteIconArrowRight,
|
|
495
|
+
previousIcon: PaletteIconArrowLeft,
|
|
496
|
+
showPanelNavigation: true,
|
|
497
|
+
showPreviousNextNavigation: true,
|
|
498
|
+
spaceBetweenSlideAndPanelNavigation: 32,
|
|
499
|
+
spaceBetweenSlideAndPreviousNextNavigation: 24
|
|
500
|
+
}
|
|
501
|
+
},
|
|
479
502
|
Checkbox: {
|
|
480
503
|
appearances: {
|
|
481
504
|
checked: {
|
|
@@ -3008,8 +3031,8 @@ module.exports = {
|
|
|
3008
3031
|
}
|
|
3009
3032
|
},
|
|
3010
3033
|
{
|
|
3011
|
-
description: '
|
|
3012
|
-
if: { bold: true
|
|
3034
|
+
description: 'Please only bold single words while using with headings',
|
|
3035
|
+
if: { bold: true },
|
|
3013
3036
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
3014
3037
|
}
|
|
3015
3038
|
],
|
|
@@ -3083,5 +3106,5 @@ module.exports = {
|
|
|
3083
3106
|
tokens: { size: 96 }
|
|
3084
3107
|
}
|
|
3085
3108
|
},
|
|
3086
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.0
|
|
3109
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.1.0' }
|
|
3087
3110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.2",
|
|
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/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.0
|
|
11
|
+
"@telus-uds/palette-allium": "^2.3.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.1.0",
|
|
13
13
|
"@telus-uds/system-tokens": "^0.1.5"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -635,6 +635,29 @@
|
|
|
635
635
|
"shadow": "{system.shadow.none}"
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
|
+
"Carousel": {
|
|
639
|
+
"appearances": {
|
|
640
|
+
"viewport": "{appearances.system.viewport}"
|
|
641
|
+
},
|
|
642
|
+
"rules": [
|
|
643
|
+
{
|
|
644
|
+
"if": {
|
|
645
|
+
"viewport": ["xs", "sm"]
|
|
646
|
+
},
|
|
647
|
+
"tokens": {
|
|
648
|
+
"showPreviousNextNavigation": "{system.show.false}"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"tokens": {
|
|
653
|
+
"nextIcon": "{palette.icon.ArrowRight}",
|
|
654
|
+
"previousIcon": "{palette.icon.ArrowLeft}",
|
|
655
|
+
"showPanelNavigation": "{system.show.true}",
|
|
656
|
+
"showPreviousNextNavigation": "{system.show.true}",
|
|
657
|
+
"spaceBetweenSlideAndPanelNavigation": "{palette.size.size32}",
|
|
658
|
+
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
638
661
|
"Checkbox": {
|
|
639
662
|
"appearances": {
|
|
640
663
|
"checked": "{appearances.Checkbox.checked}",
|
|
@@ -3695,10 +3718,9 @@
|
|
|
3695
3718
|
}
|
|
3696
3719
|
},
|
|
3697
3720
|
{
|
|
3698
|
-
"description": "
|
|
3721
|
+
"description": "Please only bold single words while using with headings",
|
|
3699
3722
|
"if": {
|
|
3700
|
-
"bold": true
|
|
3701
|
-
"size": ["large", null, "small", "micro"]
|
|
3723
|
+
"bold": true
|
|
3702
3724
|
},
|
|
3703
3725
|
"tokens": {
|
|
3704
3726
|
"fontName": "{palette.fontName.HelveticaNow}",
|