@northlight/ui 2.36.3 → 2.36.5

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.
@@ -14723,7 +14723,7 @@ const ComboPicker = (_a) => {
14723
14723
  }
14724
14724
  }, [inputValue, defaultToZeroIfEmpty]);
14725
14725
  const buttonWidth = (_b2 = (_a2 = buttonRef.current) == null ? void 0 : _a2.offsetWidth) != null ? _b2 : 0;
14726
- return /* @__PURE__ */ React.createElement(InputGroup, null, /* @__PURE__ */ React.createElement(
14726
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
14727
14727
  FormattedNumberInput,
14728
14728
  __spreadProps(__spreadValues$1({
14729
14729
  width: "100%",
@@ -14738,29 +14738,31 @@ const ComboPicker = (_a) => {
14738
14738
  min,
14739
14739
  max
14740
14740
  }, rest), {
14741
- pr: `${buttonWidth >= 0 ? buttonWidth + 10 : 0}px`
14741
+ pr: `${buttonWidth >= 0 ? buttonWidth + 10 : 0}px`,
14742
+ inputRightElement: /* @__PURE__ */ React.createElement(
14743
+ InputRightElement,
14744
+ {
14745
+ width: "auto",
14746
+ display: "flex",
14747
+ justifyContent: "flex-end",
14748
+ py: 2,
14749
+ mr: 2
14750
+ },
14751
+ /* @__PURE__ */ React.createElement(
14752
+ Button$2,
14753
+ {
14754
+ ref: buttonRef,
14755
+ isDisabled,
14756
+ onClick: handleSelectToggle,
14757
+ flexShrink: "0",
14758
+ height: "100%",
14759
+ "data-testid": "combo-picker-button"
14760
+ },
14761
+ (_c = selectOption == null ? void 0 : selectOption.label) != null ? _c : ""
14762
+ )
14763
+ )
14742
14764
  })
14743
- ), /* @__PURE__ */ React.createElement(
14744
- InputRightElement,
14745
- {
14746
- width: "auto",
14747
- display: "flex",
14748
- justifyContent: "flex-end",
14749
- padding: 2
14750
- },
14751
- /* @__PURE__ */ React.createElement(
14752
- Button$2,
14753
- {
14754
- ref: buttonRef,
14755
- isDisabled,
14756
- onClick: handleSelectToggle,
14757
- flexShrink: "0",
14758
- height: "100%",
14759
- "data-testid": "combo-picker-button"
14760
- },
14761
- (_c = selectOption == null ? void 0 : selectOption.label) != null ? _c : ""
14762
- )
14763
- ), /* @__PURE__ */ React.createElement(Box, { position: "absolute", width: "100%" }, /* @__PURE__ */ React.createElement(
14765
+ ), isOpen && /* @__PURE__ */ React.createElement(Box, { position: "absolute", width: "100%", top: 0 }, /* @__PURE__ */ React.createElement(
14764
14766
  Select,
14765
14767
  {
14766
14768
  ref: selectRef,