@northlight/ui 2.36.2 → 2.36.4

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.
@@ -14701,7 +14701,7 @@
14701
14701
  }
14702
14702
  }, [inputValue, defaultToZeroIfEmpty]);
14703
14703
  const buttonWidth = (_b2 = (_a2 = buttonRef.current) == null ? void 0 : _a2.offsetWidth) != null ? _b2 : 0;
14704
- return /* @__PURE__ */ React.createElement(react.InputGroup, null, /* @__PURE__ */ React.createElement(
14704
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
14705
14705
  FormattedNumberInput,
14706
14706
  __spreadProps(__spreadValues$1({
14707
14707
  width: "100%",
@@ -14716,29 +14716,31 @@
14716
14716
  min,
14717
14717
  max
14718
14718
  }, rest), {
14719
- pr: `${buttonWidth >= 0 ? buttonWidth + 10 : 0}px`
14719
+ pr: `${buttonWidth >= 0 ? buttonWidth + 10 : 0}px`,
14720
+ inputRightElement: /* @__PURE__ */ React.createElement(
14721
+ react.InputRightElement,
14722
+ {
14723
+ width: "auto",
14724
+ display: "flex",
14725
+ justifyContent: "flex-end",
14726
+ py: 2,
14727
+ mr: 2
14728
+ },
14729
+ /* @__PURE__ */ React.createElement(
14730
+ react.Button,
14731
+ {
14732
+ ref: buttonRef,
14733
+ isDisabled,
14734
+ onClick: handleSelectToggle,
14735
+ flexShrink: "0",
14736
+ height: "100%",
14737
+ "data-testid": "combo-picker-button"
14738
+ },
14739
+ (_c = selectOption == null ? void 0 : selectOption.label) != null ? _c : ""
14740
+ )
14741
+ )
14720
14742
  })
14721
- ), /* @__PURE__ */ React.createElement(
14722
- react.InputRightElement,
14723
- {
14724
- width: "auto",
14725
- display: "flex",
14726
- justifyContent: "flex-end",
14727
- padding: 2
14728
- },
14729
- /* @__PURE__ */ React.createElement(
14730
- react.Button,
14731
- {
14732
- ref: buttonRef,
14733
- isDisabled,
14734
- onClick: handleSelectToggle,
14735
- flexShrink: "0",
14736
- height: "100%",
14737
- "data-testid": "combo-picker-button"
14738
- },
14739
- (_c = selectOption == null ? void 0 : selectOption.label) != null ? _c : ""
14740
- )
14741
- ), /* @__PURE__ */ React.createElement(react.Box, { position: "absolute", width: "100%" }, /* @__PURE__ */ React.createElement(
14743
+ ), isOpen && /* @__PURE__ */ React.createElement(react.Box, { position: "absolute", width: "100%" }, /* @__PURE__ */ React.createElement(
14742
14744
  Select,
14743
14745
  {
14744
14746
  ref: selectRef,