@atomsolution/sdk-merchant 1.5.9 → 1.6.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.
@@ -26316,19 +26316,25 @@ function SheetDropdown({
26316
26316
  ]
26317
26317
  }
26318
26318
  ),
26319
- open && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "absolute z-10 mt-2 w-fit border border-[#E4E7EC] rounded-lg bg-white shadow", children: sheetNames.map((name) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26320
- "button",
26319
+ open && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26320
+ "div",
26321
26321
  {
26322
- type: "button",
26323
- className: "flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",
26324
- onClick: () => {
26325
- onSelect(name);
26326
- setOpen(false);
26327
- },
26328
- children: name
26329
- },
26330
- name
26331
- )) })
26322
+ className: "\n absolute z-10 mt-2\n min-w-full\n w-max\n border border-[#E4E7EC]\n rounded-lg bg-white shadow\n max-h-60\n overflow-y-auto\n ",
26323
+ children: sheetNames.map((name) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26324
+ "button",
26325
+ {
26326
+ type: "button",
26327
+ className: "\n flex w-full\n px-4 py-2\n text-sm text-gray-700\n hover:bg-gray-100\n whitespace-nowrap\n ",
26328
+ onClick: () => {
26329
+ onSelect(name);
26330
+ setOpen(false);
26331
+ },
26332
+ children: name
26333
+ },
26334
+ name
26335
+ ))
26336
+ }
26337
+ )
26332
26338
  ] });
26333
26339
  }
26334
26340
  const useMappingStore = create((set) => ({