@gisce/react-ooui 1.5.11 → 1.5.12

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.
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;CACpC,CAAC;AAEF,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,qBAmFnC;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;CACpC,CAAC;AAEF,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,qBAuFnC;AAED,eAAe,cAAc,CAAC"}
@@ -8189,16 +8189,24 @@ function At(e) {
8189
8189
  }, g.id)), h = l === !0 || l === "auto" && i.length > 3;
8190
8190
  return /* @__PURE__ */ P(je, {
8191
8191
  onClick: m,
8192
- children: [h && /* @__PURE__ */ n(Cd, {
8193
- onChange: (g) => d(g.target.value),
8194
- onSearch: d,
8195
- allowClear: !0,
8192
+ children: [/* @__PURE__ */ n("div", {
8193
+ children: h && /* @__PURE__ */ n(Cd, {
8194
+ onChange: (g) => d(g.target.value),
8195
+ onSearch: d,
8196
+ allowClear: !0,
8197
+ style: {
8198
+ padding: 5
8199
+ }
8200
+ })
8201
+ }), /* @__PURE__ */ n("div", {
8196
8202
  style: {
8197
- padding: 5
8198
- }
8199
- }), /* @__PURE__ */ n(je.ItemGroup, {
8200
- title: r,
8201
- children: p
8203
+ maxHeight: 300,
8204
+ overflowY: "auto"
8205
+ },
8206
+ children: /* @__PURE__ */ n(je.ItemGroup, {
8207
+ title: r,
8208
+ children: p
8209
+ })
8202
8210
  })]
8203
8211
  });
8204
8212
  }