@telus-uds/theme-allium 3.2.2 → 3.4.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/CHANGELOG.json CHANGED
@@ -2,7 +2,58 @@
2
2
  "name": "@telus-uds/theme-allium",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 22 Jun 2022 16:28:29 GMT",
5
+ "date": "Mon, 25 Jul 2022 22:34:31 GMT",
6
+ "tag": "@telus-uds/theme-allium_v3.4.1",
7
+ "version": "3.4.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@telus-uds/theme-allium",
13
+ "comment": "Bump @telus-uds/palette-allium to v2.2.0",
14
+ "commit": "88c003c8b0e7ee7fdf42001fb47b669f3a616df9"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 21 Jul 2022 18:04:09 GMT",
21
+ "tag": "@telus-uds/theme-allium_v3.4.0",
22
+ "version": "3.4.0",
23
+ "comments": {
24
+ "minor": [
25
+ {
26
+ "author": "shahzaibkhalidmalik@outlook.com",
27
+ "package": "@telus-uds/theme-allium",
28
+ "commit": "cd6f5d967d3ad4f98f62258b043031e7c9d664d7",
29
+ "comment": "Add Allium theme for `Carousel`"
30
+ },
31
+ {
32
+ "author": "bill.somen@telus.com",
33
+ "package": "@telus-uds/theme-allium",
34
+ "commit": "cd6f5d967d3ad4f98f62258b043031e7c9d664d7",
35
+ "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_"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Fri, 24 Jun 2022 16:43:34 GMT",
42
+ "tag": "@telus-uds/theme-allium_v3.3.0",
43
+ "version": "3.3.0",
44
+ "comments": {
45
+ "minor": [
46
+ {
47
+ "author": "natasha.colusso@telus.com",
48
+ "package": "@telus-uds/theme-allium",
49
+ "commit": "cc2dce109b3b25240ddfc8c50a5db5a446447fcc",
50
+ "comment": "Auto-generated change summary (does not include documentation changes) **added:** `components.Tabs.appearances.inverse.type`, `components.Tabs.appearances.inverse.values.0`, `components.Tabs.rules.0.if.inverse`, `components.Tabs.rules.0.tokens.borderBottomColor`, `components.TabsItem.appearances.inverse.type`, `components.TabsItem.appearances.inverse.values.0`, `components.TabsItem.rules.5.if.inverse`, `components.TabsItem.rules.5.tokens.backgroundColor`, `components.TabsItem.rules.5.tokens.color`, `components.TabsItem.rules.6.if.hover`, `components.TabsItem.rules.6.if.inverse`, `components.TabsItem.rules.6.tokens.borderColor`, `components.TabsItem.rules.6.tokens.highlightColor`, `components.TabsItem.rules.7.if.inverse`, `components.TabsItem.rules.7.if.selected`, `components.TabsItem.rules.7.tokens.backgroundColor`, `components.TabsItem.rules.7.tokens.color`, `components.TabsItem.rules.7.tokens.highlightColor`, `components.TabsItem.rules.8.if.inverse`, `components.TabsItem.rules.8.if.pressed`, `components.TabsItem.rules.8.tokens.backgroundColor`, `components.TabsItem.rules.8.tokens.color`, `components.TabsItem.rules.8.tokens.highlightColor`, `components.TabsItem.rules.9.if.focus`, `components.TabsItem.rules.9.if.inverse`, `components.TabsItem.rules.9.tokens.borderColor`, `components.TabsItem.rules.9.tokens.highlightColor`, **deleted:** _none_, **updated:** `components.Select.tokens.iconColor`"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Wed, 22 Jun 2022 16:28:40 GMT",
6
57
  "tag": "@telus-uds/theme-allium_v3.2.2",
7
58
  "version": "3.2.2",
8
59
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,37 @@
1
1
  # Change Log - @telus-uds/theme-allium
2
2
 
3
- This log was last generated on Wed, 22 Jun 2022 16:28:29 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 25 Jul 2022 22:34:31 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 3.4.1
8
+
9
+ Mon, 25 Jul 2022 22:34:31 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @telus-uds/palette-allium to v2.2.0
14
+
15
+ ## 3.4.0
16
+
17
+ Thu, 21 Jul 2022 18:04:09 GMT
18
+
19
+ ### Minor changes
20
+
21
+ - Add Allium theme for `Carousel` (shahzaibkhalidmalik@outlook.com)
22
+ - 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)
23
+
24
+ ## 3.3.0
25
+
26
+ Fri, 24 Jun 2022 16:43:34 GMT
27
+
28
+ ### Minor changes
29
+
30
+ - Auto-generated change summary (does not include documentation changes) **added:** `components.Tabs.appearances.inverse.type`, `components.Tabs.appearances.inverse.values.0`, `components.Tabs.rules.0.if.inverse`, `components.Tabs.rules.0.tokens.borderBottomColor`, `components.TabsItem.appearances.inverse.type`, `components.TabsItem.appearances.inverse.values.0`, `components.TabsItem.rules.5.if.inverse`, `components.TabsItem.rules.5.tokens.backgroundColor`, `components.TabsItem.rules.5.tokens.color`, `components.TabsItem.rules.6.if.hover`, `components.TabsItem.rules.6.if.inverse`, `components.TabsItem.rules.6.tokens.borderColor`, `components.TabsItem.rules.6.tokens.highlightColor`, `components.TabsItem.rules.7.if.inverse`, `components.TabsItem.rules.7.if.selected`, `components.TabsItem.rules.7.tokens.backgroundColor`, `components.TabsItem.rules.7.tokens.color`, `components.TabsItem.rules.7.tokens.highlightColor`, `components.TabsItem.rules.8.if.inverse`, `components.TabsItem.rules.8.if.pressed`, `components.TabsItem.rules.8.tokens.backgroundColor`, `components.TabsItem.rules.8.tokens.color`, `components.TabsItem.rules.8.tokens.highlightColor`, `components.TabsItem.rules.9.if.focus`, `components.TabsItem.rules.9.if.inverse`, `components.TabsItem.rules.9.tokens.borderColor`, `components.TabsItem.rules.9.tokens.highlightColor`, **deleted:** _none_, **updated:** `components.Select.tokens.iconColor` (natasha.colusso@telus.com)
31
+
7
32
  ## 3.2.2
8
33
 
9
- Wed, 22 Jun 2022 16:28:29 GMT
34
+ Wed, 22 Jun 2022 16:28:40 GMT
10
35
 
11
36
  ### Patches
12
37
 
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 Wed, 22 Jun 2022 16:26:52 GMT
4
+ * Generated on Mon, 25 Jul 2022 22:32:41 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: {
@@ -2201,8 +2224,19 @@ module.exports = {
2201
2224
  }
2202
2225
  },
2203
2226
  Tabs: {
2204
- appearances: {},
2205
- rules: [],
2227
+ appearances: {
2228
+ inverse: {
2229
+ description: 'Styles the link white for use on dark backgrounds.',
2230
+ type: 'variant',
2231
+ values: [ true ]
2232
+ }
2233
+ },
2234
+ rules: [
2235
+ {
2236
+ if: { inverse: true },
2237
+ tokens: { borderBottomColor: '#ffffff' }
2238
+ }
2239
+ ],
2206
2240
  tokens: {
2207
2241
  borderBottomColor: '#676e73',
2208
2242
  borderBottomWidth: 1,
@@ -2225,6 +2259,7 @@ module.exports = {
2225
2259
  type: 'state',
2226
2260
  values: [ true ]
2227
2261
  },
2262
+ inverse: { type: 'variant', values: [ true ] },
2228
2263
  pressed: {
2229
2264
  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.',
2230
2265
  type: 'state',
@@ -2269,6 +2304,34 @@ module.exports = {
2269
2304
  {
2270
2305
  if: { focus: true, pressed: true },
2271
2306
  tokens: { backgroundColor: '#4b286d' }
2307
+ },
2308
+ {
2309
+ if: { inverse: true },
2310
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', color: '#ffffff' }
2311
+ },
2312
+ {
2313
+ if: { hover: true, inverse: true },
2314
+ tokens: { borderColor: '#ffffff', highlightColor: '#ffffff' }
2315
+ },
2316
+ {
2317
+ if: { inverse: true, selected: true },
2318
+ tokens: {
2319
+ backgroundColor: '#ffffff',
2320
+ color: '#414547',
2321
+ highlightColor: '#ffffff'
2322
+ }
2323
+ },
2324
+ {
2325
+ if: { inverse: true, pressed: true },
2326
+ tokens: {
2327
+ backgroundColor: '#ffffff',
2328
+ color: '#414547',
2329
+ highlightColor: '#ffffff'
2330
+ }
2331
+ },
2332
+ {
2333
+ if: { focus: true, inverse: true },
2334
+ tokens: { borderColor: '#ffffff', highlightColor: '#ffffff' }
2272
2335
  }
2273
2336
  ],
2274
2337
  tokens: {
@@ -2968,8 +3031,8 @@ module.exports = {
2968
3031
  }
2969
3032
  },
2970
3033
  {
2971
- description: 'Bold is only available on body text styles, not headings',
2972
- if: { bold: true, size: [ 'large', null, 'small', 'micro' ] },
3034
+ description: 'Please only bold single words while using with headings',
3035
+ if: { bold: true },
2973
3036
  tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
2974
3037
  }
2975
3038
  ],
@@ -3043,5 +3106,5 @@ module.exports = {
3043
3106
  tokens: { size: 96 }
3044
3107
  }
3045
3108
  },
3046
- metadata: { name: 'theme-allium', themeTokensVersion: '2.0.2' }
3109
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.1.0' }
3047
3110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.2.2",
3
+ "version": "3.4.1",
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.1.0",
12
- "@telus-uds/system-theme-tokens": "^2.0.2",
11
+ "@telus-uds/palette-allium": "^2.2.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.1.0"
16
+ "@telus-uds/palette-allium": "^2.2.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}",
@@ -2678,8 +2701,23 @@
2678
2701
  }
2679
2702
  },
2680
2703
  "Tabs": {
2681
- "appearances": {},
2682
- "rules": [],
2704
+ "appearances": {
2705
+ "inverse": {
2706
+ "description": "Styles the link white for use on dark backgrounds.",
2707
+ "type": "variant",
2708
+ "values": [true]
2709
+ }
2710
+ },
2711
+ "rules": [
2712
+ {
2713
+ "if": {
2714
+ "inverse": true
2715
+ },
2716
+ "tokens": {
2717
+ "borderBottomColor": "{palette.color.white}"
2718
+ }
2719
+ }
2720
+ ],
2683
2721
  "tokens": {
2684
2722
  "borderBottomColor": "{palette.color.greyShuttle}",
2685
2723
  "borderBottomWidth": "{palette.border.border1}",
@@ -2694,6 +2732,10 @@
2694
2732
  "appearances": {
2695
2733
  "focus": "{appearances.TabsItem.pressed}",
2696
2734
  "hover": "{appearances.TabsItem.pressed}",
2735
+ "inverse": {
2736
+ "type": "variant",
2737
+ "values": [true]
2738
+ },
2697
2739
  "pressed": "{appearances.TabsItem.pressed}",
2698
2740
  "selected": "{appearances.TabsItem.pressed}"
2699
2741
  },
@@ -2750,6 +2792,57 @@
2750
2792
  "tokens": {
2751
2793
  "backgroundColor": "{palette.color.purpleTelus}"
2752
2794
  }
2795
+ },
2796
+ {
2797
+ "if": {
2798
+ "inverse": true
2799
+ },
2800
+ "tokens": {
2801
+ "backgroundColor": "{palette.color.transparent}",
2802
+ "color": "{palette.color.white}"
2803
+ }
2804
+ },
2805
+ {
2806
+ "if": {
2807
+ "hover": true,
2808
+ "inverse": true
2809
+ },
2810
+ "tokens": {
2811
+ "borderColor": "{palette.color.white}",
2812
+ "highlightColor": "{palette.color.white}"
2813
+ }
2814
+ },
2815
+ {
2816
+ "if": {
2817
+ "inverse": true,
2818
+ "selected": true
2819
+ },
2820
+ "tokens": {
2821
+ "backgroundColor": "{palette.color.white}",
2822
+ "color": "{palette.color.greyCharcoal}",
2823
+ "highlightColor": "{palette.color.white}"
2824
+ }
2825
+ },
2826
+ {
2827
+ "if": {
2828
+ "inverse": true,
2829
+ "pressed": true
2830
+ },
2831
+ "tokens": {
2832
+ "backgroundColor": "{palette.color.white}",
2833
+ "color": "{palette.color.greyCharcoal}",
2834
+ "highlightColor": "{palette.color.white}"
2835
+ }
2836
+ },
2837
+ {
2838
+ "if": {
2839
+ "focus": true,
2840
+ "inverse": true
2841
+ },
2842
+ "tokens": {
2843
+ "borderColor": "{palette.color.white}",
2844
+ "highlightColor": "{palette.color.white}"
2845
+ }
2753
2846
  }
2754
2847
  ],
2755
2848
  "tokens": {
@@ -3625,10 +3718,9 @@
3625
3718
  }
3626
3719
  },
3627
3720
  {
3628
- "description": "Bold is only available on body text styles, not headings",
3721
+ "description": "Please only bold single words while using with headings",
3629
3722
  "if": {
3630
- "bold": true,
3631
- "size": ["large", null, "small", "micro"]
3723
+ "bold": true
3632
3724
  },
3633
3725
  "tokens": {
3634
3726
  "fontName": "{palette.fontName.HelveticaNow}",