@workday/canvas-kit-docs 7.2.3 → 7.2.6

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.
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
+ import styled from '@emotion/styled';
2
3
  import {FormField} from '@workday/canvas-kit-react/form-field';
3
4
  import {Radio, RadioGroup} from '@workday/canvas-kit-react/radio';
4
- import styled from '@emotion/styled';
5
+ import {space} from '@workday/canvas-kit-react/tokens';
5
6
 
6
7
  export default () => {
7
8
  const [value, setValue] = React.useState<string | number>('deep-dish');
@@ -11,7 +12,7 @@ export default () => {
11
12
  };
12
13
 
13
14
  const StyledFormField = styled(FormField)({
14
- width: '161px',
15
+ width: space.xl,
15
16
  });
16
17
 
17
18
  return (
@@ -21,10 +22,7 @@ export default () => {
21
22
  <Radio label="Thin" value="thin" />
22
23
  <Radio label="Gluten free" value="gluten-free" />
23
24
  <Radio label="Cauliflower" value="cauliflower" />
24
- <Radio
25
- label="My favorite pizza crust flavor is butter because it's the best thing to put on bread"
26
- value="cauliflower"
27
- />
25
+ <Radio label="Butter - the best thing to put on bread" value="butter" />
28
26
  </RadioGroup>
29
27
  </StyledFormField>
30
28
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "7.2.3",
3
+ "version": "7.2.6",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@storybook/csf": "0.0.1",
45
- "@workday/canvas-kit-react": "^7.2.3"
45
+ "@workday/canvas-kit-react": "^7.2.6"
46
46
  },
47
47
  "devDependencies": {
48
48
  "fs-extra": "^10.0.0",
@@ -50,5 +50,5 @@
50
50
  "mkdirp": "^1.0.3",
51
51
  "typescript": "4.1"
52
52
  },
53
- "gitHead": "14795cbfd84afb7b3001a77d3d371cb485c8748b"
53
+ "gitHead": "524b7aed79f37cb7ac4d96216af647d5d8808234"
54
54
  }