@gisce/react-ooui 2.0.0-alpha.50 → 2.0.0-alpha.51
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":["../../src/actionbar/DropdownButton.tsx"],"names":[],"mappings":"AAMA,KAAK,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,
|
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../src/actionbar/DropdownButton.tsx"],"names":[],"mappings":"AAMA,KAAK,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,2CAuFnC;AAED,eAAe,cAAc,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -6625,7 +6625,7 @@ function Vt(e) {
|
|
|
6625
6625
|
d ? p = i.filter((y) => y.name.toLowerCase().includes(d.toLowerCase())) : p = i;
|
|
6626
6626
|
const h = p.map((y, v) => y.name === "divider" ? /* @__PURE__ */ n(He.Divider, {}, "divider" + v) : /* @__PURE__ */ n(He.Item, { children: y.name }, y.id)), g = l === !0 || l === "auto" && i.length > 3;
|
|
6627
6627
|
return /* @__PURE__ */ A(He, { onClick: m, children: [
|
|
6628
|
-
g && /* @__PURE__ */ n(
|
|
6628
|
+
/* @__PURE__ */ n("div", { children: g && /* @__PURE__ */ n(
|
|
6629
6629
|
wc,
|
|
6630
6630
|
{
|
|
6631
6631
|
onChange: (y) => c(y.target.value),
|
|
@@ -6633,8 +6633,8 @@ function Vt(e) {
|
|
|
6633
6633
|
allowClear: !0,
|
|
6634
6634
|
style: { padding: 5 }
|
|
6635
6635
|
}
|
|
6636
|
-
),
|
|
6637
|
-
/* @__PURE__ */ n(He.ItemGroup, { title: r, children: h })
|
|
6636
|
+
) }),
|
|
6637
|
+
/* @__PURE__ */ n("div", { style: { maxHeight: 300, overflowY: "auto" }, children: /* @__PURE__ */ n(He.ItemGroup, { title: r, children: h }) })
|
|
6638
6638
|
] });
|
|
6639
6639
|
}
|
|
6640
6640
|
function m(p) {
|