@workday/canvas-kit-docs 12.5.6 → 12.5.8

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.
@@ -163482,6 +163482,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
163482
163482
  "value": "SystemIconCircleSize.l"
163483
163483
  }
163484
163484
  },
163485
+ {
163486
+ "kind": "property",
163487
+ "name": "cs",
163488
+ "required": false,
163489
+ "type": {
163490
+ "kind": "symbol",
163491
+ "name": "CSToPropsInput",
163492
+ "value": "CSToPropsInput"
163493
+ },
163494
+ "description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles } instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
163495
+ "declarations": [
163496
+ {
163497
+ "name": "cs",
163498
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
163499
+ }
163500
+ ],
163501
+ "tags": {}
163502
+ },
163485
163503
  {
163486
163504
  "kind": "property",
163487
163505
  "name": "shouldMirror",
@@ -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": "12.5.6",
22
- "@workday/canvas-kit-preview-react": "12.5.6",
23
- "@workday/canvas-kit-react": "12.5.6",
24
- "@workday/canvas-kit-react-fonts": "^12.5.6",
25
- "@workday/canvas-kit-styling": "12.5.6",
21
+ "@workday/canvas-kit-labs-react": "12.5.8",
22
+ "@workday/canvas-kit-preview-react": "12.5.8",
23
+ "@workday/canvas-kit-react": "12.5.8",
24
+ "@workday/canvas-kit-react-fonts": "^12.5.8",
25
+ "@workday/canvas-kit-styling": "12.5.8",
26
26
  "@workday/canvas-system-icons-web": "3.0.22",
27
27
  "@workday/canvas-tokens-web": "2.0.0"
28
28
  },
@@ -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": "12.5.6",
22
- "@workday/canvas-kit-preview-react": "12.5.6",
23
- "@workday/canvas-kit-react": "12.5.6",
24
- "@workday/canvas-kit-react-fonts": "^12.5.6",
25
- "@workday/canvas-kit-styling": "12.5.6",
21
+ "@workday/canvas-kit-labs-react": "12.5.8",
22
+ "@workday/canvas-kit-preview-react": "12.5.8",
23
+ "@workday/canvas-kit-react": "12.5.8",
24
+ "@workday/canvas-kit-react-fonts": "^12.5.8",
25
+ "@workday/canvas-kit-styling": "12.5.8",
26
26
  "@workday/canvas-system-icons-web": "3.0.22",
27
27
  "@workday/canvas-tokens-web": "2.0.0"
28
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "12.5.6",
3
+ "version": "12.5.8",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -45,10 +45,10 @@
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@stackblitz/sdk": "^1.11.0",
47
47
  "@storybook/csf": "0.0.1",
48
- "@workday/canvas-kit-labs-react": "^12.5.6",
49
- "@workday/canvas-kit-preview-react": "^12.5.6",
50
- "@workday/canvas-kit-react": "^12.5.6",
51
- "@workday/canvas-kit-styling": "^12.5.6",
48
+ "@workday/canvas-kit-labs-react": "^12.5.8",
49
+ "@workday/canvas-kit-preview-react": "^12.5.8",
50
+ "@workday/canvas-kit-react": "^12.5.8",
51
+ "@workday/canvas-kit-styling": "^12.5.8",
52
52
  "@workday/canvas-system-icons-web": "^3.0.0",
53
53
  "@workday/canvas-tokens-web": "^2.1.1",
54
54
  "markdown-to-jsx": "^7.2.0",
@@ -61,5 +61,5 @@
61
61
  "mkdirp": "^1.0.3",
62
62
  "typescript": "5.0"
63
63
  },
64
- "gitHead": "353f9486d23c4d640d45f8dbfe81c6f9b39d2680"
64
+ "gitHead": "d95348a49ebf5a56eadcfc13cccca043bf52be53"
65
65
  }