@homebound/beam 2.209.1 → 2.209.2

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.
@@ -152,7 +152,6 @@ function SelectFieldBase(props) {
152
152
  isReadOnly,
153
153
  onInputChange,
154
154
  onOpenChange,
155
- menuTrigger: "focus",
156
155
  children: (item) => ((0, jsx_runtime_1.jsx)(react_stately_1.Item, Object.assign({ textValue: getOptionLabel(item) }, { children: getOptionMenuLabel(item) }), (0, Value_1.valueToKey)(getOptionValue(item)))),
157
156
  };
158
157
  const state = (0, react_stately_1.useComboBoxState)({
@@ -75,7 +75,12 @@ function SelectFieldInput(props) {
75
75
  return;
76
76
  setIsFocused(true);
77
77
  (0, utils_1.maybeCall)(onFocus);
78
- state.open();
78
+ },
79
+ onClick: () => {
80
+ var _a;
81
+ if (inputProps.readOnly)
82
+ return;
83
+ (_a = buttonRef.current) === null || _a === void 0 ? void 0 : _a.click();
79
84
  },
80
85
  size:
81
86
  // If sizeToContent, then, in order of precedence, base it of from:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.209.1",
3
+ "version": "2.209.2",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",