@workday/canvas-kit-styling 10.3.15 → 10.3.17

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.
@@ -98,7 +98,7 @@ function createVars(...args) {
98
98
  args.forEach(key => {
99
99
  if (input[key]) {
100
100
  // @ts-ignore TS complains about `key` not in object `{}`
101
- vars[result[key]] = input[key];
101
+ vars[result[key]] = convertProperty(input[key]);
102
102
  }
103
103
  });
104
104
  return vars;
@@ -119,7 +119,7 @@ function createDefaultedVars(input, id) {
119
119
  if (typeof input[key] === 'string') {
120
120
  if (result[key]) {
121
121
  // Don't add an undefined key
122
- vars[result[key]] = input[key];
122
+ vars[result[key]] = convertProperty(input[key]);
123
123
  }
124
124
  }
125
125
  if (typeof input[key] === 'object') {
@@ -127,7 +127,7 @@ function createDefaultedVars(input, id) {
127
127
  if (typeof input[key][subKey] === 'string') {
128
128
  // Don't add an undefined key
129
129
  if (result[key][subKey]) {
130
- vars[result[key][subKey]] = input[key][subKey];
130
+ vars[result[key][subKey]] = convertProperty(input[key][subKey]);
131
131
  }
132
132
  }
133
133
  }
@@ -94,7 +94,7 @@ export function createVars(...args) {
94
94
  args.forEach(key => {
95
95
  if (input[key]) {
96
96
  // @ts-ignore TS complains about `key` not in object `{}`
97
- vars[result[key]] = input[key];
97
+ vars[result[key]] = convertProperty(input[key]);
98
98
  }
99
99
  });
100
100
  return vars;
@@ -114,7 +114,7 @@ export function createDefaultedVars(input, id) {
114
114
  if (typeof input[key] === 'string') {
115
115
  if (result[key]) {
116
116
  // Don't add an undefined key
117
- vars[result[key]] = input[key];
117
+ vars[result[key]] = convertProperty(input[key]);
118
118
  }
119
119
  }
120
120
  if (typeof input[key] === 'object') {
@@ -122,7 +122,7 @@ export function createDefaultedVars(input, id) {
122
122
  if (typeof input[key][subKey] === 'string') {
123
123
  // Don't add an undefined key
124
124
  if (result[key][subKey]) {
125
- vars[result[key][subKey]] = input[key][subKey];
125
+ vars[result[key][subKey]] = convertProperty(input[key][subKey]);
126
126
  }
127
127
  }
128
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-styling",
3
- "version": "10.3.15",
3
+ "version": "10.3.17",
4
4
  "description": "The custom CSS in JS solution that takes JS styles and turns them into static CSS",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -54,9 +54,9 @@
54
54
  "@emotion/serialize": "^1.0.2",
55
55
  "@emotion/styled": "^11.6.0",
56
56
  "@emotion/utils": "^1.0.0",
57
- "@workday/canvas-kit-react": "^10.3.15",
57
+ "@workday/canvas-kit-react": "^10.3.17",
58
58
  "@workday/canvas-tokens-web": "^1.0.0",
59
59
  "typescript": "4.2"
60
60
  },
61
- "gitHead": "ebb52077a576308d295eb83d4c1faefe3d9376fc"
61
+ "gitHead": "b1495b704bfb4e26862af159a4510e4c267d903e"
62
62
  }