@workday/canvas-kit-docs 9.0.6 → 9.0.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.
@@ -38,7 +38,7 @@ Radio Group should be used in tandem with [Form Field](/components/inputs/form-f
38
38
 
39
39
  ### Disabled
40
40
 
41
- Set the `disabled` prop of the Radio Button to prevent users from interacting with it.
41
+ Set the `disabled` prop of the Radio Button to prevent users from interacting with it. Be careful not to disable a pre-selected Radio Button, this will block keyboard access from the entire Radio Group.
42
42
 
43
43
  <ExampleCodeBlock code={Disabled} />
44
44
 
@@ -14,12 +14,12 @@ export default () => {
14
14
  <FormField
15
15
  error={FormField.ErrorType.Alert}
16
16
  hintId="hint-alert"
17
- hintText="Deep Dish is no longer available. Please select a different crust."
17
+ hintText="Deep dish is an extra $2.99"
18
18
  label="Choose Your Pizza Crust"
19
19
  useFieldset={true}
20
20
  >
21
21
  <RadioGroup name={useUniqueId()} onChange={handleChange} value={value}>
22
- <Radio disabled={true} label="Deep dish (sold out)" value="deep-dish" />
22
+ <Radio label="Deep dish" value="deep-dish" />
23
23
  <Radio label="Thin" value="thin" />
24
24
  <Radio label="Gluten free" value="gluten-free" />
25
25
  <Radio label="Cauliflower" value="cauliflower" />
@@ -14,12 +14,12 @@ export default () => {
14
14
  <FormField
15
15
  error={FormField.ErrorType.Error}
16
16
  hintId="hint-error"
17
- hintText="Deep Dish is no longer available. Please select a different crust."
17
+ hintText="Deep Dish is currently sold out."
18
18
  label="Choose Your Pizza Crust"
19
19
  useFieldset={true}
20
20
  >
21
21
  <RadioGroup name={useUniqueId()} onChange={handleChange} value={value}>
22
- <Radio disabled={true} label="Deep dish (sold out)" value="deep-dish" />
22
+ <Radio label="Deep dish" value="deep-dish" />
23
23
  <Radio label="Thin" value="thin" />
24
24
  <Radio label="Gluten free" value="gluten-free" />
25
25
  <Radio label="Cauliflower" value="cauliflower" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "9.0.6",
3
+ "version": "9.0.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",
@@ -44,9 +44,9 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^9.0.6",
48
- "@workday/canvas-kit-preview-react": "^9.0.6",
49
- "@workday/canvas-kit-react": "^9.0.6",
47
+ "@workday/canvas-kit-labs-react": "^9.0.8",
48
+ "@workday/canvas-kit-preview-react": "^9.0.8",
49
+ "@workday/canvas-kit-react": "^9.0.8",
50
50
  "@workday/canvas-system-icons-web": "^3.0.0",
51
51
  "markdown-to-jsx": "^6.10.3",
52
52
  "ts-node": "^10.9.1"
@@ -57,5 +57,5 @@
57
57
  "mkdirp": "^1.0.3",
58
58
  "typescript": "4.2"
59
59
  },
60
- "gitHead": "203dc9c110505a5fd1e1766bec8a231112cd0604"
60
+ "gitHead": "e0f80f6255d61eceeb79932d6a1bae3d9adeffdc"
61
61
  }