@workday/canvas-kit-docs 15.0.14 → 15.0.16
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.
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "15.0.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "15.0.
|
|
23
|
-
"@workday/canvas-kit-react": "15.0.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^15.0.
|
|
25
|
-
"@workday/canvas-kit-styling": "15.0.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "15.0.16",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "15.0.16",
|
|
23
|
+
"@workday/canvas-kit-react": "15.0.16",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^15.0.16",
|
|
25
|
+
"@workday/canvas-kit-styling": "15.0.16",
|
|
26
26
|
"@workday/canvas-system-icons-web": "4.0.2",
|
|
27
27
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
28
28
|
"@workday/canvas-tokens-web": "4.2.0"
|
|
@@ -19,11 +19,11 @@ export const packageJSONFile = `{
|
|
|
19
19
|
"@emotion/react": "11.11.4",
|
|
20
20
|
"@types/react": "18.2.60",
|
|
21
21
|
"@types/react-dom": "18.2.19",
|
|
22
|
-
"@workday/canvas-kit-labs-react": "15.0.
|
|
23
|
-
"@workday/canvas-kit-preview-react": "15.0.
|
|
24
|
-
"@workday/canvas-kit-react": "15.0.
|
|
25
|
-
"@workday/canvas-kit-react-fonts": "^15.0.
|
|
26
|
-
"@workday/canvas-kit-styling": "15.0.
|
|
22
|
+
"@workday/canvas-kit-labs-react": "15.0.16",
|
|
23
|
+
"@workday/canvas-kit-preview-react": "15.0.16",
|
|
24
|
+
"@workday/canvas-kit-react": "15.0.16",
|
|
25
|
+
"@workday/canvas-kit-react-fonts": "^15.0.16",
|
|
26
|
+
"@workday/canvas-kit-styling": "15.0.16",
|
|
27
27
|
"@workday/canvas-system-icons-web": "4.0.2",
|
|
28
28
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
29
29
|
"@workday/canvas-tokens-web": "4.2.0"
|
|
@@ -222,17 +222,17 @@ const myStyles = createStyles({
|
|
|
222
222
|
|
|
223
223
|
### Webpack
|
|
224
224
|
|
|
225
|
-
The `@
|
|
226
|
-
development and/or production.
|
|
225
|
+
The `@workday/canvas-kit-styling-transform` package comes with a webpack loader that can be added to
|
|
226
|
+
development and/or production. Import the plugin from the `/webpack` subpath:
|
|
227
227
|
|
|
228
228
|
```js
|
|
229
229
|
// import the transform - CJS and ESM are supported
|
|
230
|
-
import {StylingWebpackPlugin} from '@workday/canvas-kit-styling-transform';
|
|
230
|
+
import {StylingWebpackPlugin} from '@workday/canvas-kit-styling-transform/webpack';
|
|
231
231
|
|
|
232
232
|
// somewhere only once. For static webpack config files, this can be near the top.
|
|
233
233
|
// If inside Storybook, Gatsby, Next.js, etc configs, put inside the function that is called that
|
|
234
234
|
// returns a webpack config
|
|
235
|
-
const tsPlugin =
|
|
235
|
+
const tsPlugin = new StylingWebpackPlugin({
|
|
236
236
|
tsconfigPath: path.resolve(__dirname, '../tsconfig.json'), // allows your TS config to be used
|
|
237
237
|
// A different tsconfig could be used if you want to use TS to transpile to something like ES2019 and
|
|
238
238
|
// also have Babel process the file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.16",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@stackblitz/sdk": "^1.11.0",
|
|
48
48
|
"@storybook/csf": "0.0.1",
|
|
49
49
|
"@workday/canvas-expressive-icons-web": "1.0.2",
|
|
50
|
-
"@workday/canvas-kit-labs-react": "^15.0.
|
|
51
|
-
"@workday/canvas-kit-preview-react": "^15.0.
|
|
52
|
-
"@workday/canvas-kit-react": "^15.0.
|
|
53
|
-
"@workday/canvas-kit-styling": "^15.0.
|
|
50
|
+
"@workday/canvas-kit-labs-react": "^15.0.16",
|
|
51
|
+
"@workday/canvas-kit-preview-react": "^15.0.16",
|
|
52
|
+
"@workday/canvas-kit-react": "^15.0.16",
|
|
53
|
+
"@workday/canvas-kit-styling": "^15.0.16",
|
|
54
54
|
"@workday/canvas-system-icons-web": "4.0.4",
|
|
55
55
|
"@workday/canvas-tokens-web": "4.3.0",
|
|
56
56
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"mkdirp": "^1.0.3",
|
|
64
64
|
"typescript": "5.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "616147d995d4671d7daf3233980d0034ae37c4f3"
|
|
67
67
|
}
|