@workday/canvas-kit-react 11.0.14 → 11.0.15

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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWrB,CAAC;AAMH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIf;;;;;;;;;;;;OAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;OAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASL,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.focus = (options) => {
37
- textInputProps.ref.current.focus(options);
38
- };
39
- localRef.current.blur = () => {
40
- textInputProps.ref.current.blur();
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: "2fefdf", styles: "max-height:18.75rem;" });
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,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,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;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.focus = (options) => {
31
- textInputProps.ref.current.focus(options);
32
- };
33
- localRef.current.blur = () => {
34
- textInputProps.ref.current.blur();
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: "2fefdf", styles: "max-height:18.75rem;" });
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.14",
3
+ "version": "11.0.15",
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.14",
53
- "@workday/canvas-kit-styling": "^11.0.14",
52
+ "@workday/canvas-kit-popup-stack": "^11.0.15",
53
+ "@workday/canvas-kit-styling": "^11.0.15",
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": "585a43cfc6a31ab41be8b7099ee5930533a86bb0"
70
+ "gitHead": "244b93bc2c72aca0aa162a5a31947a93a19b0392"
71
71
  }
@@ -86,12 +86,14 @@ export const SelectInput = createSubcomponent(TextInput)({
86
86
  React.useImperativeHandle(
87
87
  elementRef,
88
88
  () => {
89
- localRef.current!.focus = (options?: FocusOptions) => {
90
- textInputProps.ref.current!.focus(options);
91
- };
92
- localRef.current!.blur = () => {
93
- textInputProps.ref.current!.blur();
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
  },