@workday/canvas-kit-react 15.0.12 → 15.1.0-0395-next.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.
|
@@ -37,7 +37,7 @@ exports.accentIconStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
37
37
|
}, "accent-icon-1046a0");
|
|
38
38
|
/** @deprecated Deprecated in v11 */
|
|
39
39
|
const transformColorNameToToken = (color) => {
|
|
40
|
-
const { legacy, ...baseTokens } = canvas_tokens_web_1.base;
|
|
40
|
+
const { legacy, sana, ...baseTokens } = canvas_tokens_web_1.base;
|
|
41
41
|
if (color && color in baseTokens) {
|
|
42
42
|
return (0, canvas_kit_styling_1.cssVar)(baseTokens[color]);
|
|
43
43
|
}
|
|
@@ -33,7 +33,7 @@ export const accentIconStencil = createStencil({
|
|
|
33
33
|
}, "accent-icon-1046a0");
|
|
34
34
|
/** @deprecated Deprecated in v11 */
|
|
35
35
|
const transformColorNameToToken = (color) => {
|
|
36
|
-
const { legacy, ...baseTokens } = base;
|
|
36
|
+
const { legacy, sana, ...baseTokens } = base;
|
|
37
37
|
if (color && color in baseTokens) {
|
|
38
38
|
return cssVar(baseTokens[color]);
|
|
39
39
|
}
|
package/icon/lib/AccentIcon.tsx
CHANGED
|
@@ -97,7 +97,7 @@ export const accentIconStencil = createStencil({
|
|
|
97
97
|
|
|
98
98
|
/** @deprecated Deprecated in v11 */
|
|
99
99
|
const transformColorNameToToken = (color?: string) => {
|
|
100
|
-
const {legacy, ...baseTokens} = base;
|
|
100
|
+
const {legacy, sana, ...baseTokens} = base;
|
|
101
101
|
if (color && color in baseTokens) {
|
|
102
102
|
return cssVar(baseTokens[color as keyof typeof baseTokens]);
|
|
103
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.1.0-0395-next.0",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@tanstack/react-virtual": "^3.13.9",
|
|
54
54
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
55
55
|
"@workday/canvas-expressive-icons-web": "1.0.2",
|
|
56
|
-
"@workday/canvas-kit-popup-stack": "^15.0.
|
|
57
|
-
"@workday/canvas-kit-preview-react": "^15.0.
|
|
58
|
-
"@workday/canvas-kit-styling": "^15.0.
|
|
56
|
+
"@workday/canvas-kit-popup-stack": "^15.1.0-0395-next.0",
|
|
57
|
+
"@workday/canvas-kit-preview-react": "^15.1.0-0395-next.0",
|
|
58
|
+
"@workday/canvas-kit-styling": "^15.1.0-0395-next.0",
|
|
59
59
|
"@workday/canvas-system-icons-web": "4.0.4",
|
|
60
|
-
"@workday/canvas-tokens-web": "4.
|
|
60
|
+
"@workday/canvas-tokens-web": "4.4.0-beta.0",
|
|
61
61
|
"@workday/design-assets-types": "^0.3.0",
|
|
62
62
|
"chroma-js": "^2.2.0",
|
|
63
63
|
"csstype": "^3.0.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
71
71
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "70f2ee99c66df706e5101477f62799d1967358ad"
|
|
74
74
|
}
|