@workday/canvas-kit-docs 9.0.19 → 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/docs.js
CHANGED
|
@@ -113575,7 +113575,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
113575
113575
|
{
|
|
113576
113576
|
"name": "getLastFocusableElement",
|
|
113577
113577
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/elements.ts",
|
|
113578
|
-
"description": "Get the last focusable element in a container
|
|
113578
|
+
"description": "Get the last focusable element in a container.\n\nReturns an array of elements if the last focusable element is a radio group",
|
|
113579
113579
|
"declarations": [
|
|
113580
113580
|
{
|
|
113581
113581
|
"name": "getLastFocusableElement",
|
|
@@ -113611,9 +113611,17 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
113611
113611
|
"kind": "union",
|
|
113612
113612
|
"value": [
|
|
113613
113613
|
{
|
|
113614
|
-
"kind": "
|
|
113615
|
-
"
|
|
113616
|
-
|
|
113614
|
+
"kind": "array",
|
|
113615
|
+
"value": {
|
|
113616
|
+
"kind": "external",
|
|
113617
|
+
"name": "Element",
|
|
113618
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
113619
|
+
}
|
|
113620
|
+
},
|
|
113621
|
+
{
|
|
113622
|
+
"kind": "external",
|
|
113623
|
+
"name": "Element",
|
|
113624
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
113617
113625
|
},
|
|
113618
113626
|
{
|
|
113619
113627
|
"kind": "primitive",
|
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
|
}
|