@gisce/react-ooui 2.13.0-alpha.2 → 2.13.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAmCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAmCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,2CA6WlC;AAMD,eAAe,aAAa,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -3183,7 +3183,6 @@ const Rt = ({
|
|
|
3183
3183
|
}), f = o.length === 1 ? yl(l, r) : wl(r, a);
|
|
3184
3184
|
return /* @__PURE__ */ i("div", { style: {
|
|
3185
3185
|
display: "grid",
|
|
3186
|
-
alignItems: "center",
|
|
3187
3186
|
gridTemplateColumns: n ? "auto" : f,
|
|
3188
3187
|
gap: "1rem",
|
|
3189
3188
|
minHeight: 0,
|
|
@@ -9454,7 +9453,7 @@ function Wd(e) {
|
|
|
9454
9453
|
/* @__PURE__ */ i(
|
|
9455
9454
|
Kd,
|
|
9456
9455
|
{
|
|
9457
|
-
disabled: l || a,
|
|
9456
|
+
disabled: l || a || C,
|
|
9458
9457
|
searchText: y,
|
|
9459
9458
|
onSearch: (H) => {
|
|
9460
9459
|
H && H.trim().length > 0 ? w == null || w(H) : w == null || w(void 0);
|
|
@@ -9475,12 +9474,12 @@ function Wd(e) {
|
|
|
9475
9474
|
onClick: () => {
|
|
9476
9475
|
g == null || g(!m);
|
|
9477
9476
|
},
|
|
9478
|
-
disabled: l || a,
|
|
9477
|
+
disabled: l || a || C,
|
|
9479
9478
|
badgeNumber: h == null ? void 0 : h.length
|
|
9480
9479
|
}
|
|
9481
9480
|
),
|
|
9482
9481
|
Ct(),
|
|
9483
|
-
/* @__PURE__ */ i(oi, {}),
|
|
9482
|
+
/* @__PURE__ */ i(oi, { disabled: C }),
|
|
9484
9483
|
/* @__PURE__ */ i(
|
|
9485
9484
|
Je,
|
|
9486
9485
|
{
|
|
@@ -9538,7 +9537,8 @@ function Wd(e) {
|
|
|
9538
9537
|
onChangeView: (H) => {
|
|
9539
9538
|
S == null || S(n), o == null || o(H);
|
|
9540
9539
|
},
|
|
9541
|
-
previousView: F
|
|
9540
|
+
previousView: F,
|
|
9541
|
+
disabled: C
|
|
9542
9542
|
}
|
|
9543
9543
|
)
|
|
9544
9544
|
] }),
|