@workday/canvas-kit-docs 9.0.20 → 9.0.21
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
|
@@ -994,6 +994,20 @@ module.exports = {specifications: [
|
|
|
994
994
|
"name": "should be disabled"
|
|
995
995
|
}
|
|
996
996
|
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"type": "describe",
|
|
1000
|
+
"name": "given the 'Indeterminate' story is rendered",
|
|
1001
|
+
"children": [
|
|
1002
|
+
{
|
|
1003
|
+
"type": "it",
|
|
1004
|
+
"name": "should not have any axe errors"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"type": "it",
|
|
1008
|
+
"name": "should have the correct attributes"
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
997
1011
|
}
|
|
998
1012
|
]
|
|
999
1013
|
}
|
|
@@ -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.0.
|
|
3
|
+
"version": "9.0.21",
|
|
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.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.0.
|
|
49
|
-
"@workday/canvas-kit-react": "^9.0.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.0.21",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.0.21",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.0.21",
|
|
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": "e6c02a9e7a7c4251bb5b61d70e8d1ee35fce5da1"
|
|
61
61
|
}
|