@workday/canvas-kit-docs 11.2.7 → 11.2.9

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.
@@ -134631,6 +134631,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
134631
134631
  "value": "SystemIconCircleSize.l"
134632
134632
  }
134633
134633
  },
134634
+ {
134635
+ "kind": "property",
134636
+ "name": "cs",
134637
+ "required": false,
134638
+ "type": {
134639
+ "kind": "symbol",
134640
+ "name": "CSToPropsInput",
134641
+ "value": "CSToPropsInput"
134642
+ },
134643
+ "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```",
134644
+ "declarations": [
134645
+ {
134646
+ "name": "cs",
134647
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
134648
+ }
134649
+ ],
134650
+ "tags": {}
134651
+ },
134634
134652
  {
134635
134653
  "kind": "property",
134636
134654
  "name": "shouldMirror",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "11.2.7",
3
+ "version": "11.2.9",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -44,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^11.2.7",
48
- "@workday/canvas-kit-preview-react": "^11.2.7",
49
- "@workday/canvas-kit-react": "^11.2.7",
50
- "@workday/canvas-kit-styling": "^11.2.7",
47
+ "@workday/canvas-kit-labs-react": "^11.2.9",
48
+ "@workday/canvas-kit-preview-react": "^11.2.9",
49
+ "@workday/canvas-kit-react": "^11.2.9",
50
+ "@workday/canvas-kit-styling": "^11.2.9",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^2.0.0",
53
53
  "markdown-to-jsx": "^7.2.0",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "1fe7f1c6d942986cb0a604fb5b053ef29a14a40b"
62
+ "gitHead": "b3e0cac80fa936bfd3ff9b3f7d8c9d40fe708abf"
63
63
  }