@workday/canvas-kit-docs 7.2.5 → 7.2.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.
|
@@ -6364,7 +6364,7 @@ module.exports = {specifications: [
|
|
|
6364
6364
|
},
|
|
6365
6365
|
{
|
|
6366
6366
|
"type": "describe",
|
|
6367
|
-
"name": "given the [Testing/React/Popups/Tooltip,
|
|
6367
|
+
"name": "given the [Testing/React/Popups/Tooltip, Non Interactive] example is rendered",
|
|
6368
6368
|
"children": [
|
|
6369
6369
|
{
|
|
6370
6370
|
"type": "describe",
|
package/dist/es6/lib/specs.js
CHANGED
|
@@ -6364,7 +6364,7 @@ module.exports = {specifications: [
|
|
|
6364
6364
|
},
|
|
6365
6365
|
{
|
|
6366
6366
|
"type": "describe",
|
|
6367
|
-
"name": "given the [Testing/React/Popups/Tooltip,
|
|
6367
|
+
"name": "given the [Testing/React/Popups/Tooltip, Non Interactive] example is rendered",
|
|
6368
6368
|
"children": [
|
|
6369
6369
|
{
|
|
6370
6370
|
"type": "describe",
|
|
@@ -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
|
|
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:
|
|
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
|
+
"version": "7.2.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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@storybook/csf": "0.0.1",
|
|
45
|
-
"@workday/canvas-kit-react": "^7.2.
|
|
45
|
+
"@workday/canvas-kit-react": "^7.2.8"
|
|
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": "
|
|
53
|
+
"gitHead": "5aafc0a017ff3e42a7e40dc9233941f3ebb35a75"
|
|
54
54
|
}
|