@telus-uds/theme-allium 3.3.0 → 3.4.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/CHANGELOG.json CHANGED
@@ -2,7 +2,28 @@
2
2
  "name": "@telus-uds/theme-allium",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 24 Jun 2022 16:43:27 GMT",
5
+ "date": "Thu, 21 Jul 2022 18:03:59 GMT",
6
+ "tag": "@telus-uds/theme-allium_v3.4.0",
7
+ "version": "3.4.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "shahzaibkhalidmalik@outlook.com",
12
+ "package": "@telus-uds/theme-allium",
13
+ "commit": "cd6f5d967d3ad4f98f62258b043031e7c9d664d7",
14
+ "comment": "Add Allium theme for `Carousel`"
15
+ },
16
+ {
17
+ "author": "bill.somen@telus.com",
18
+ "package": "@telus-uds/theme-allium",
19
+ "commit": "cd6f5d967d3ad4f98f62258b043031e7c9d664d7",
20
+ "comment": "Auto-generated change summary (does not include documentation changes) **added:** `components.Typography.rules.27.if.size.4`, `components.Typography.rules.27.if.size.5`, `components.Typography.rules.27.if.size.6`, `components.Typography.rules.27.if.size.7`, `components.Typography.rules.27.if.size.8`, **deleted:** _none_, **updated:** _none_"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Fri, 24 Jun 2022 16:43:34 GMT",
6
27
  "tag": "@telus-uds/theme-allium_v3.3.0",
7
28
  "version": "3.3.0",
8
29
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @telus-uds/theme-allium
2
2
 
3
- This log was last generated on Fri, 24 Jun 2022 16:43:27 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 21 Jul 2022 18:03:59 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 3.4.0
8
+
9
+ Thu, 21 Jul 2022 18:03:59 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Add Allium theme for `Carousel` (shahzaibkhalidmalik@outlook.com)
14
+ - Auto-generated change summary (does not include documentation changes) **added:** `components.Typography.rules.27.if.size.4`, `components.Typography.rules.27.if.size.5`, `components.Typography.rules.27.if.size.6`, `components.Typography.rules.27.if.size.7`, `components.Typography.rules.27.if.size.8`, **deleted:** _none_, **updated:** _none_ (bill.somen@telus.com)
15
+
7
16
  ## 3.3.0
8
17
 
9
- Fri, 24 Jun 2022 16:43:27 GMT
18
+ Fri, 24 Jun 2022 16:43:34 GMT
10
19
 
11
20
  ### Minor changes
12
21
 
package/build/schema.json CHANGED
@@ -3057,6 +3057,101 @@
3057
3057
  "rules"
3058
3058
  ]
3059
3059
  },
3060
+ "Carousel": {
3061
+ "type": "object",
3062
+ "additionalProperties": false,
3063
+ "properties": {
3064
+ "appearances": {
3065
+ "type": "object",
3066
+ "additionalProperties": false,
3067
+ "patternProperties": {
3068
+ "^[a-z]+([A-Z0-9][a-z0-9]*)*$": {
3069
+ "$ref": "#appearance"
3070
+ }
3071
+ }
3072
+ },
3073
+ "tokens": {
3074
+ "type": "object",
3075
+ "additionalProperties": false,
3076
+ "properties": {
3077
+ "nextIcon": {
3078
+ "$ref": "#icon"
3079
+ },
3080
+ "previousIcon": {
3081
+ "$ref": "#icon"
3082
+ },
3083
+ "showPreviousNextNavigation": {
3084
+ "$ref": "#show"
3085
+ },
3086
+ "showPanelNavigation": {
3087
+ "$ref": "#show"
3088
+ },
3089
+ "spaceBetweenSlideAndPreviousNextNavigation": {
3090
+ "$ref": "#size"
3091
+ },
3092
+ "spaceBetweenSlideAndPanelNavigation": {
3093
+ "$ref": "#size"
3094
+ }
3095
+ },
3096
+ "required": [
3097
+ "nextIcon",
3098
+ "previousIcon",
3099
+ "showPreviousNextNavigation",
3100
+ "showPanelNavigation",
3101
+ "spaceBetweenSlideAndPreviousNextNavigation",
3102
+ "spaceBetweenSlideAndPanelNavigation"
3103
+ ]
3104
+ },
3105
+ "rules": {
3106
+ "type": "array",
3107
+ "items": {
3108
+ "type": "object",
3109
+ "additionalProperties": false,
3110
+ "properties": {
3111
+ "if": {
3112
+ "type": "object",
3113
+ "minProperties": 1
3114
+ },
3115
+ "tokens": {
3116
+ "type": "object",
3117
+ "additionalProperties": false,
3118
+ "properties": {
3119
+ "nextIcon": {
3120
+ "$ref": "#icon"
3121
+ },
3122
+ "previousIcon": {
3123
+ "$ref": "#icon"
3124
+ },
3125
+ "showPreviousNextNavigation": {
3126
+ "$ref": "#show"
3127
+ },
3128
+ "showPanelNavigation": {
3129
+ "$ref": "#show"
3130
+ },
3131
+ "spaceBetweenSlideAndPreviousNextNavigation": {
3132
+ "$ref": "#size"
3133
+ },
3134
+ "spaceBetweenSlideAndPanelNavigation": {
3135
+ "$ref": "#size"
3136
+ }
3137
+ }
3138
+ },
3139
+ "description": {
3140
+ "type": "string"
3141
+ }
3142
+ },
3143
+ "required": [
3144
+ "if",
3145
+ "tokens"
3146
+ ]
3147
+ }
3148
+ }
3149
+ },
3150
+ "required": [
3151
+ "tokens",
3152
+ "rules"
3153
+ ]
3154
+ },
3060
3155
  "Checkbox": {
3061
3156
  "type": "object",
3062
3157
  "additionalProperties": false,
@@ -9952,6 +10047,7 @@
9952
10047
  "ButtonGroup",
9953
10048
  "ButtonGroupItem",
9954
10049
  "Card",
10050
+ "Carousel",
9955
10051
  "Checkbox",
9956
10052
  "ChevronLink",
9957
10053
  "CheckboxGroup",
package/build/theme.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 24 Jun 2022 16:42:21 GMT
4
+ * Generated on Thu, 21 Jul 2022 18:02:13 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: 'Bold is only available on body text styles, not headings',
3012
- if: { bold: true, size: [ 'large', null, 'small', 'micro' ] },
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.2' }
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.0",
3
+ "version": "3.4.0",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
@@ -9,7 +9,7 @@
9
9
  "dependencies": {},
10
10
  "devDependencies": {
11
11
  "@telus-uds/palette-allium": "^2.1.0",
12
- "@telus-uds/system-theme-tokens": "^2.0.2",
12
+ "@telus-uds/system-theme-tokens": "^2.1.0",
13
13
  "@telus-uds/system-tokens": "^0.1.5"
14
14
  },
15
15
  "peerDependencies": {
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": "Bold is only available on body text styles, not headings",
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}",