@workday/canvas-kit-react 11.0.14 → 11.0.16
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../select/lib/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAA8B,OAAO,EAAS,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAa,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAM3E,OAAO,EAEL,YAAY,EAEZ,SAAS,EAEV,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,SAAS,CAAC,EAAE,OAAO;IAC/E;;;;OAIG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAgCD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../select/lib/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAA8B,OAAO,EAAS,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAa,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAM3E,OAAO,EAEL,YAAY,EAEZ,SAAS,EAEV,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO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,CAAC"}
|
|
@@ -33,12 +33,14 @@ exports.SelectInput = common_1.createSubcomponent(text_input_1.TextInput)({
|
|
|
33
33
|
// We need to create a proxy between the multiple inputs. We need to redirect a few methods to
|
|
34
34
|
// the visible input
|
|
35
35
|
react_1.default.useImperativeHandle(elementRef, () => {
|
|
36
|
-
localRef.current
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
if (localRef.current) {
|
|
37
|
+
localRef.current.focus = (options) => {
|
|
38
|
+
textInputProps.ref.current.focus(options);
|
|
39
|
+
};
|
|
40
|
+
localRef.current.blur = () => {
|
|
41
|
+
textInputProps.ref.current.blur();
|
|
42
|
+
};
|
|
43
|
+
}
|
|
42
44
|
return localRef.current;
|
|
43
45
|
}, [textInputProps.ref, localRef]);
|
|
44
46
|
return (react_1.default.createElement(text_input_1.InputGroup, { "data-width": "ck-formfield-width" },
|
|
@@ -57,7 +59,7 @@ exports.SelectItem = common_1.createSubcomponent('li')({
|
|
|
57
59
|
})(({ children, ...elemProps }, Element, _model) => {
|
|
58
60
|
return (react_1.default.createElement(combobox_1.Combobox.Menu.Item, Object.assign({ role: "option", as: Element }, elemProps), children));
|
|
59
61
|
});
|
|
60
|
-
const selectCardStyles = canvas_kit_styling_1.createStyles({ name: "
|
|
62
|
+
const selectCardStyles = canvas_kit_styling_1.createStyles({ name: "555ee5", styles: "max-height:18.75rem;" });
|
|
61
63
|
exports.SelectCard = common_1.createSubcomponent('div')({
|
|
62
64
|
modelHook: useSelectModel_1.useSelectModel,
|
|
63
65
|
elemPropsHook: useSelectCard_1.useSelectCard,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../select/lib/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAC,QAAQ,EAA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;;;;IAIf;;;;;;;;;;;;OAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;OAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASL,CAAC"}
|
|
@@ -27,12 +27,14 @@ export const SelectInput = createSubcomponent(TextInput)({
|
|
|
27
27
|
// We need to create a proxy between the multiple inputs. We need to redirect a few methods to
|
|
28
28
|
// the visible input
|
|
29
29
|
React.useImperativeHandle(elementRef, () => {
|
|
30
|
-
localRef.current
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
if (localRef.current) {
|
|
31
|
+
localRef.current.focus = (options) => {
|
|
32
|
+
textInputProps.ref.current.focus(options);
|
|
33
|
+
};
|
|
34
|
+
localRef.current.blur = () => {
|
|
35
|
+
textInputProps.ref.current.blur();
|
|
36
|
+
};
|
|
37
|
+
}
|
|
36
38
|
return localRef.current;
|
|
37
39
|
}, [textInputProps.ref, localRef]);
|
|
38
40
|
return (React.createElement(InputGroup, { "data-width": "ck-formfield-width" },
|
|
@@ -51,7 +53,7 @@ export const SelectItem = createSubcomponent('li')({
|
|
|
51
53
|
})(({ children, ...elemProps }, Element, _model) => {
|
|
52
54
|
return (React.createElement(Combobox.Menu.Item, Object.assign({ role: "option", as: Element }, elemProps), children));
|
|
53
55
|
});
|
|
54
|
-
const selectCardStyles = createStyles({ name: "
|
|
56
|
+
const selectCardStyles = createStyles({ name: "555ee5", styles: "max-height:18.75rem;" });
|
|
55
57
|
export const SelectCard = createSubcomponent('div')({
|
|
56
58
|
modelHook: useSelectModel,
|
|
57
59
|
elemPropsHook: useSelectCard,
|
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.16",
|
|
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.16",
|
|
53
|
+
"@workday/canvas-kit-styling": "^11.0.16",
|
|
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": "cd483dc8550dde1cf57d6fe73d0f464004588a8e"
|
|
71
71
|
}
|
package/select/lib/Select.tsx
CHANGED
|
@@ -86,12 +86,14 @@ export const SelectInput = createSubcomponent(TextInput)({
|
|
|
86
86
|
React.useImperativeHandle(
|
|
87
87
|
elementRef,
|
|
88
88
|
() => {
|
|
89
|
-
localRef.current
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
if (localRef.current) {
|
|
90
|
+
localRef.current.focus = (options?: FocusOptions) => {
|
|
91
|
+
textInputProps.ref.current!.focus(options);
|
|
92
|
+
};
|
|
93
|
+
localRef.current.blur = () => {
|
|
94
|
+
textInputProps.ref.current!.blur();
|
|
95
|
+
};
|
|
96
|
+
}
|
|
95
97
|
|
|
96
98
|
return localRef.current!;
|
|
97
99
|
},
|