@workday/canvas-kit-docs 11.1.15 → 11.1.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.
@@ -34,8 +34,8 @@ const myButtonStencil = createStencil({
34
34
  });
35
35
 
36
36
  const MyCustomButton = createComponent('button')({
37
- Component: ({children, ...elemProps}: PrimaryButtonProps, ref, Element) => (
38
- <PrimaryButton as={Element} ref={ref} {...handleCsProp(elemProps, myButtonStencil())}>
37
+ Component: ({children, cs, ...elemProps}: PrimaryButtonProps, ref, Element) => (
38
+ <PrimaryButton as={Element} ref={ref} cs={[myButtonStencil(), cs]} {...elemProps}>
39
39
  {children}
40
40
  </PrimaryButton>
41
41
  ),
@@ -24,6 +24,6 @@ export default () => (
24
24
  <PrimaryButton icon={caretDownIcon} iconPosition="end">
25
25
  Primary
26
26
  </PrimaryButton>
27
- <PrimaryButton icon={relatedActionsVerticalIcon} />
27
+ <PrimaryButton size="small" icon={relatedActionsVerticalIcon} />
28
28
  </Flex>
29
29
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "11.1.15",
3
+ "version": "11.1.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",
@@ -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.1.15",
48
- "@workday/canvas-kit-preview-react": "^11.1.15",
49
- "@workday/canvas-kit-react": "^11.1.15",
50
- "@workday/canvas-kit-styling": "^11.1.15",
47
+ "@workday/canvas-kit-labs-react": "^11.1.16",
48
+ "@workday/canvas-kit-preview-react": "^11.1.16",
49
+ "@workday/canvas-kit-react": "^11.1.16",
50
+ "@workday/canvas-kit-styling": "^11.1.16",
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": "d2664604d1b51e598f758ad72745db62d20b302c"
62
+ "gitHead": "471bb231c188ab23de9c11f5950b0d1e893d426d"
63
63
  }