@workday/canvas-kit-react 11.0.26 → 11.0.27
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.
|
@@ -223,8 +223,8 @@ const checkboxInputStencil = createStencil({
|
|
|
223
223
|
|
|
224
224
|
export const CheckboxInput = createComponent('input')({
|
|
225
225
|
displayName: 'CheckboxInput',
|
|
226
|
-
Component: ({variant, error, ...elemProps}: CheckboxProps, ref, Element) => {
|
|
227
|
-
const {checked, disabled
|
|
226
|
+
Component: ({variant, error, indeterminate, ...elemProps}: CheckboxProps, ref, Element) => {
|
|
227
|
+
const {checked, disabled} = elemProps;
|
|
228
228
|
|
|
229
229
|
return (
|
|
230
230
|
<Element
|
|
@@ -47,8 +47,8 @@ const checkboxInputStencil = canvas_kit_styling_1.createStencil({
|
|
|
47
47
|
}, "checkbox-input-d394e3");
|
|
48
48
|
exports.CheckboxInput = common_1.createComponent('input')({
|
|
49
49
|
displayName: 'CheckboxInput',
|
|
50
|
-
Component: ({ variant, error, ...elemProps }, ref, Element) => {
|
|
51
|
-
const { checked, disabled
|
|
50
|
+
Component: ({ variant, error, indeterminate, ...elemProps }, ref, Element) => {
|
|
51
|
+
const { checked, disabled } = elemProps;
|
|
52
52
|
return (React.createElement(Element, Object.assign({ type: "checkbox", ref: ref, "aria-checked": indeterminate ? 'mixed' : checked }, canvas_kit_styling_1.handleCsProp(elemProps, checkboxInputStencil({ variant, disabled, error: !!error })))));
|
|
53
53
|
},
|
|
54
54
|
});
|
|
@@ -25,8 +25,8 @@ const checkboxInputStencil = createStencil({
|
|
|
25
25
|
}, "checkbox-input-d394e3");
|
|
26
26
|
export const CheckboxInput = createComponent('input')({
|
|
27
27
|
displayName: 'CheckboxInput',
|
|
28
|
-
Component: ({ variant, error, ...elemProps }, ref, Element) => {
|
|
29
|
-
const { checked, disabled
|
|
28
|
+
Component: ({ variant, error, indeterminate, ...elemProps }, ref, Element) => {
|
|
29
|
+
const { checked, disabled } = elemProps;
|
|
30
30
|
return (React.createElement(Element, Object.assign({ type: "checkbox", ref: ref, "aria-checked": indeterminate ? 'mixed' : checked }, handleCsProp(elemProps, checkboxInputStencil({ variant, disabled, error: !!error })))));
|
|
31
31
|
},
|
|
32
32
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.27",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@emotion/styled": "^11.6.0",
|
|
50
50
|
"@popperjs/core": "^2.5.4",
|
|
51
51
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^11.0.
|
|
53
|
-
"@workday/canvas-kit-styling": "^11.0.
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^11.0.27",
|
|
53
|
+
"@workday/canvas-kit-styling": "^11.0.27",
|
|
54
54
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
55
55
|
"@workday/canvas-tokens-web": "^2.0.0",
|
|
56
56
|
"@workday/design-assets-types": "^0.2.8",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
68
68
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "5b915c6804168b8a875d07adf64cf61c719b0f10"
|
|
71
71
|
}
|