@workday/canvas-kit-docs 11.1.14 → 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.
@@ -263460,6 +263460,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
263460
263460
  {
263461
263461
  "kind": "typeParameter",
263462
263462
  "name": "M",
263463
+ "defaultValue": {
263464
+ "kind": "object",
263465
+ "properties": []
263466
+ },
263463
263467
  "constraint": {
263464
263468
  "kind": "symbol",
263465
263469
  "name": "StencilModifierConfig",
@@ -263471,17 +263475,21 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
263471
263475
  ],
263472
263476
  "value": "StencilModifierConfig<V, E>"
263473
263477
  },
263474
- "required": true
263478
+ "required": false
263475
263479
  },
263476
263480
  {
263477
263481
  "kind": "typeParameter",
263478
263482
  "name": "V",
263483
+ "defaultValue": {
263484
+ "kind": "object",
263485
+ "properties": []
263486
+ },
263479
263487
  "constraint": {
263480
263488
  "kind": "symbol",
263481
263489
  "name": "DefaultedVarsShape",
263482
263490
  "value": "DefaultedVarsShape"
263483
263491
  },
263484
- "required": true
263492
+ "required": false
263485
263493
  },
263486
263494
  {
263487
263495
  "kind": "typeParameter",
@@ -263806,6 +263814,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
263806
263814
  {
263807
263815
  "kind": "typeParameter",
263808
263816
  "name": "M",
263817
+ "defaultValue": {
263818
+ "kind": "object",
263819
+ "properties": []
263820
+ },
263809
263821
  "constraint": {
263810
263822
  "kind": "symbol",
263811
263823
  "name": "StencilModifierConfig",
@@ -263821,17 +263833,21 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
263821
263833
  ],
263822
263834
  "value": "StencilModifierConfig<V, E>"
263823
263835
  },
263824
- "required": true
263836
+ "required": false
263825
263837
  },
263826
263838
  {
263827
263839
  "kind": "typeParameter",
263828
263840
  "name": "V",
263841
+ "defaultValue": {
263842
+ "kind": "object",
263843
+ "properties": []
263844
+ },
263829
263845
  "constraint": {
263830
263846
  "kind": "symbol",
263831
263847
  "name": "DefaultedVarsShape",
263832
263848
  "value": "DefaultedVarsShape"
263833
263849
  },
263834
- "required": true
263850
+ "required": false
263835
263851
  },
263836
263852
  {
263837
263853
  "kind": "typeParameter",
@@ -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.14",
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.14",
48
- "@workday/canvas-kit-preview-react": "^11.1.14",
49
- "@workday/canvas-kit-react": "^11.1.14",
50
- "@workday/canvas-kit-styling": "^11.1.14",
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": "e03fcc1935f517a5417adb66c66c4d424db03b50"
62
+ "gitHead": "471bb231c188ab23de9c11f5950b0d1e893d426d"
63
63
  }