@telus-uds/theme-allium 1.0.0 → 2.1.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/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 03 Feb 2022 19:38:53 GMT
4
+ * Generated on Mon, 21 Mar 2022 20:11:20 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1102,6 +1102,7 @@ module.exports = {
1102
1102
  tokens: {
1103
1103
  dividerColor: '#b2b9bf',
1104
1104
  dividerSize: 1,
1105
+ iconMarginTop: 4,
1105
1106
  interItemMargin: 8,
1106
1107
  interItemMarginWithDivider: 16,
1107
1108
  itemBulletColor: '#4b286d',
@@ -1115,7 +1116,7 @@ module.exports = {
1115
1116
  itemIconColor: '#4b286d',
1116
1117
  itemIconSize: 16,
1117
1118
  itemLineHeight: 1.5,
1118
- listGutter: 12
1119
+ listGutter: 16
1119
1120
  }
1120
1121
  },
1121
1122
  Modal: {
@@ -2565,6 +2566,7 @@ module.exports = {
2565
2566
  tokens: {
2566
2567
  backgroundColor: '#b2b9bf',
2567
2568
  iconColor: '#676e73',
2569
+ labelColor: '#676e73',
2568
2570
  outerBorderColor: '#b2b9bf'
2569
2571
  }
2570
2572
  }
@@ -2578,6 +2580,12 @@ module.exports = {
2578
2580
  icon: null,
2579
2581
  iconColor: '#676e73',
2580
2582
  iconSize: 12,
2583
+ labelColor: '#414547',
2584
+ labelFontName: 'HelveticaNow',
2585
+ labelFontSize: 16,
2586
+ labelFontWeight: '400',
2587
+ labelLineHeight: 1.5,
2588
+ labelMarginLeft: 10,
2581
2589
  opacity: 1,
2582
2590
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
2583
2591
  outerBorderColor: 'rgba(0, 0, 0, 0)',
@@ -2614,6 +2622,24 @@ module.exports = {
2614
2622
  width: 40
2615
2623
  }
2616
2624
  },
2625
+ ToggleSwitchGroup: {
2626
+ appearances: {
2627
+ viewport: {
2628
+ description: 'The size label for the current screen viewport based on the current screen width',
2629
+ type: 'state',
2630
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2631
+ }
2632
+ },
2633
+ rules: [ { if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } } ],
2634
+ tokens: {
2635
+ alignItems: 'flex-start',
2636
+ direction: 'column',
2637
+ flexGrow: 0,
2638
+ flexShrink: 0,
2639
+ justifyContent: 'flex-start',
2640
+ space: 1
2641
+ }
2642
+ },
2617
2643
  Tooltip: {
2618
2644
  appearances: { inverse: { type: 'variant', values: [ true ] } },
2619
2645
  rules: [
@@ -2986,9 +3012,5 @@ module.exports = {
2986
3012
  tokens: { size: 96 }
2987
3013
  }
2988
3014
  },
2989
- metadata: {
2990
- name: 'allium',
2991
- package: '@telus-uds/theme-allium',
2992
- themeTokensVersion: '1.0.0'
2993
- }
3015
+ metadata: { name: 'theme-allium', themeTokensVersion: '1.2.1' }
2994
3016
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "1.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/universal-design-system#readme",
@@ -8,12 +8,12 @@
8
8
  "main": "build/theme.js",
9
9
  "dependencies": {},
10
10
  "devDependencies": {
11
- "@telus-uds/palette-allium": "^1.0.0",
12
- "@telus-uds/system-theme-tokens": "^1.0.0",
11
+ "@telus-uds/palette-allium": "^1.1.0",
12
+ "@telus-uds/system-theme-tokens": "^1.2.1",
13
13
  "@telus-uds/system-themes": "^0.0.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^1.0.0"
16
+ "@telus-uds/palette-allium": "^1.1.0"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -1516,6 +1516,7 @@
1516
1516
  "tokens": {
1517
1517
  "dividerColor": "{palette.color.greyCloud}",
1518
1518
  "dividerSize": "{palette.border.border1}",
1519
+ "iconMarginTop": "{palette.size.size4}",
1519
1520
  "interItemMargin": "{palette.size.size8}",
1520
1521
  "interItemMarginWithDivider": "{palette.size.size16}",
1521
1522
  "itemBulletColor": "{palette.color.purpleTelus}",
@@ -1529,7 +1530,7 @@
1529
1530
  "itemIconColor": "{palette.color.purpleTelus}",
1530
1531
  "itemIconSize": "{palette.size.size16}",
1531
1532
  "itemLineHeight": "{palette.lineHeight.ratio3to2}",
1532
- "listGutter": "{palette.size.size12}"
1533
+ "listGutter": "{palette.size.size16}"
1533
1534
  }
1534
1535
  },
1535
1536
  "Modal": {
@@ -3069,6 +3070,7 @@
3069
3070
  "tokens": {
3070
3071
  "backgroundColor": "{palette.color.greyCloud}",
3071
3072
  "iconColor": "{palette.color.greyShuttle}",
3073
+ "labelColor": "{palette.color.greyShuttle}",
3072
3074
  "outerBorderColor": "{palette.color.greyCloud}"
3073
3075
  }
3074
3076
  }
@@ -3082,6 +3084,12 @@
3082
3084
  "icon": "{system.icon.none}",
3083
3085
  "iconColor": "{palette.color.greyShuttle}",
3084
3086
  "iconSize": "{palette.size.size12}",
3087
+ "labelColor": "{palette.color.greyCharcoal}",
3088
+ "labelFontName": "{palette.fontName.HelveticaNow}",
3089
+ "labelFontSize": "{palette.fontSize.size16}",
3090
+ "labelFontWeight": "{palette.fontWeight.weight400}",
3091
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
3092
+ "labelMarginLeft": "{palette.size.size10}",
3085
3093
  "opacity": "{system.opacity.opaque}",
3086
3094
  "outerBackgroundColor": "{palette.color.transparent}",
3087
3095
  "outerBorderColor": "{palette.color.transparent}",
@@ -3104,6 +3112,29 @@
3104
3112
  "width": "{palette.size.size40}"
3105
3113
  }
3106
3114
  },
3115
+ "ToggleSwitchGroup": {
3116
+ "appearances": {
3117
+ "viewport": "{appearances.system.viewport}"
3118
+ },
3119
+ "rules": [
3120
+ {
3121
+ "if": {
3122
+ "viewport": ["lg", "xl"]
3123
+ },
3124
+ "tokens": {
3125
+ "space": "{system.integer.3}"
3126
+ }
3127
+ }
3128
+ ],
3129
+ "tokens": {
3130
+ "alignItems": "{system.flexAlign.flexStart}",
3131
+ "direction": "{system.direction.column}",
3132
+ "flexGrow": "{system.integer.0}",
3133
+ "flexShrink": "{system.integer.0}",
3134
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
3135
+ "space": "{system.integer.1}"
3136
+ }
3137
+ },
3107
3138
  "Tooltip": {
3108
3139
  "appearances": {
3109
3140
  "inverse": {
@@ -3723,9 +3754,5 @@
3723
3754
  "size": "{palette.size.size96}"
3724
3755
  }
3725
3756
  }
3726
- },
3727
- "metadata": {
3728
- "name": "allium",
3729
- "package": "@telus-uds/theme-allium"
3730
3757
  }
3731
3758
  }