@pingux/astro 2.166.1-alpha.5 → 2.167.0
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/lib/cjs/components/ComboBoxField/ComboBoxField.js +6 -5
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +434 -332
- package/lib/cjs/components/Modal/Modal.stories.d.ts +1 -0
- package/lib/cjs/components/Modal/Modal.stories.js +32 -11
- package/lib/components/ComboBoxField/ComboBoxField.js +6 -5
- package/lib/components/ComboBoxField/ComboBoxField.test.js +434 -332
- package/lib/components/Modal/Modal.stories.js +32 -11
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ var _ariaAttributes = require("../../utils/docUtils/ariaAttributes");
|
|
|
36
36
|
var _statusProp = require("../../utils/docUtils/statusProp");
|
|
37
37
|
var _ComboBox = _interopRequireDefault(require("../ComboBox"));
|
|
38
38
|
var _ListBox = _interopRequireDefault(require("../ListBox"));
|
|
39
|
-
var
|
|
39
|
+
var _Popover = _interopRequireDefault(require("../Popover"));
|
|
40
40
|
var _ScrollBox = _interopRequireDefault(require("../ScrollBox"));
|
|
41
41
|
var _react2 = require("@emotion/react");
|
|
42
42
|
var _excluded = ["hasAutoFocus", "hasAddOption", "hasCustomValue", "hasNoEmptySelection", "selectedKey", "onSelectionChange", "defaultItems", "items", "loadingState", "onLoadMore", "inputValue", "isReadOnly", "menuTrigger", "isNotFlippable", "direction", "scrollBoxProps", "controlProps", "defaultFilter", "status", "helperText", "renderEmptyState", "allowsEmptyCollection"],
|
|
@@ -192,13 +192,14 @@ var ComboBoxField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
192
192
|
width: menuWidth,
|
|
193
193
|
minWidth: menuWidth
|
|
194
194
|
});
|
|
195
|
-
var listBox = !isReadOnly && (0, _react2.jsx)(
|
|
195
|
+
var listBox = !isReadOnly && (0, _react2.jsx)(_Popover["default"], {
|
|
196
196
|
hasNoArrow: true,
|
|
197
197
|
isNonModal: true,
|
|
198
198
|
isOpen: state.isOpen,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
style: style,
|
|
200
|
+
state: state,
|
|
201
|
+
triggerRef: inputRef,
|
|
202
|
+
popoverRef: popoverRef
|
|
202
203
|
}, (0, _react2.jsx)(_reactAria.FocusScope, null, (0, _react2.jsx)(_reactAria.DismissButton, {
|
|
203
204
|
onDismiss: state.close
|
|
204
205
|
}), (0, _react2.jsx)(_ScrollBox["default"], scrollBoxProps, (0, _react2.jsx)(_ListBox["default"], (0, _extends2["default"])({
|