@workday/canvas-kit-docs 9.1.0-475-next.0 → 9.1.0
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.
package/dist/es6/lib/specs.js
CHANGED
|
@@ -1016,6 +1016,20 @@ module.exports = {specifications: [
|
|
|
1016
1016
|
"name": "should be disabled"
|
|
1017
1017
|
}
|
|
1018
1018
|
]
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"type": "describe",
|
|
1022
|
+
"name": "given the 'Indeterminate' story is rendered",
|
|
1023
|
+
"children": [
|
|
1024
|
+
{
|
|
1025
|
+
"type": "it",
|
|
1026
|
+
"name": "should not have any axe errors"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"type": "it",
|
|
1030
|
+
"name": "should have the correct attributes"
|
|
1031
|
+
}
|
|
1032
|
+
]
|
|
1019
1033
|
}
|
|
1020
1034
|
]
|
|
1021
1035
|
}
|
|
@@ -45,8 +45,9 @@ export default () => {
|
|
|
45
45
|
|
|
46
46
|
const anyToppingChecked = newToppings.filter(topping => topping.checked).length > 0;
|
|
47
47
|
const anyToppingUnchecked = newToppings.filter(topping => !topping.checked).length > 0;
|
|
48
|
-
|
|
48
|
+
const allToppingChecked = !anyToppingUnchecked;
|
|
49
49
|
setPizzaIndeterminate(anyToppingChecked && anyToppingUnchecked);
|
|
50
|
+
setPizzaChecked(allToppingChecked);
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "9.1.0
|
|
3
|
+
"version": "9.1.0",
|
|
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.1.0
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.1.0
|
|
49
|
-
"@workday/canvas-kit-react": "^9.1.0
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.1.0",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.1.0",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.1.0",
|
|
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": "
|
|
60
|
+
"gitHead": "f3f6aa1f967eaf6ae2d93cf7aa15e47c344fb456"
|
|
61
61
|
}
|