loon-bulma-react 2026.0.45 → 2026.0.47
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.
|
@@ -87,10 +87,13 @@ export declare namespace DragDropList {
|
|
|
87
87
|
var Handle: ({ children }: {
|
|
88
88
|
children?: React.ReactNode | ((isDisabled: boolean) => React.ReactNode);
|
|
89
89
|
className?: string | ((isDisabled: boolean) => string);
|
|
90
|
+
title?: string;
|
|
90
91
|
}) => React.JSX.Element;
|
|
91
92
|
var Buttons: ({ children }: {
|
|
92
93
|
children?: React.ReactNode;
|
|
93
94
|
className?: string | ((isDisabled: boolean) => string);
|
|
95
|
+
titleUp?: string;
|
|
96
|
+
titleDown?: string;
|
|
94
97
|
}) => React.JSX.Element;
|
|
95
98
|
var Item: (_props: {
|
|
96
99
|
className?: string | ((info: RenderItemInfo) => string);
|
|
@@ -26,13 +26,13 @@ declare const Dropdown: {
|
|
|
26
26
|
children: React.ReactNode;
|
|
27
27
|
}): React.JSX.Element;
|
|
28
28
|
Divider(): React.JSX.Element;
|
|
29
|
-
Item({ children, onClick, onItemClick, disabled, ...props }: {
|
|
29
|
+
Item({ children, onClick, onItemClick, disabled, className, ...props }: {
|
|
30
30
|
children: React.ReactNode;
|
|
31
31
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
32
32
|
onItemClick?: (isClickable: boolean) => void;
|
|
33
33
|
disabled?: boolean;
|
|
34
34
|
} & React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
35
|
-
Link({ children, onItemClick, disabled, ...props }: {
|
|
35
|
+
Link({ children, onItemClick, disabled, className, ...props }: {
|
|
36
36
|
children: React.ReactNode;
|
|
37
37
|
onItemClick?: (isClickable: boolean) => void;
|
|
38
38
|
disabled?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -13752,6 +13752,7 @@ function S_({ item: e, index: n, isDragging: r, isDragOver: i, isDisabled: a, is
|
|
|
13752
13752
|
draggable: !a,
|
|
13753
13753
|
onDragStart: (e) => !a && u(e, n, m.current),
|
|
13754
13754
|
onDragEnd: d,
|
|
13755
|
+
title: a ? "" : t?.props?.title ?? "Versleep item",
|
|
13755
13756
|
children: i || /* @__PURE__ */ b(t_, { icon: gs })
|
|
13756
13757
|
}, "handle"));
|
|
13757
13758
|
} else if (i === b_) {
|
|
@@ -13761,7 +13762,7 @@ function S_({ item: e, index: n, isDragging: r, isDragOver: i, isDisabled: a, is
|
|
|
13761
13762
|
children: [/* @__PURE__ */ b("span", {
|
|
13762
13763
|
onClick: () => !a && !g && f(n, "up"),
|
|
13763
13764
|
className: g || a ? "has-text-grey-light" : "has-text-info",
|
|
13764
|
-
title: g || a ? "" : "Verschuif naar boven",
|
|
13765
|
+
title: g || a ? "" : t?.props?.titleUp ?? "Verschuif naar boven",
|
|
13765
13766
|
style: {
|
|
13766
13767
|
cursor: g || a ? "not-allowed" : "pointer",
|
|
13767
13768
|
opacity: g || a ? .5 : 1
|
|
@@ -13770,7 +13771,7 @@ function S_({ item: e, index: n, isDragging: r, isDragOver: i, isDisabled: a, is
|
|
|
13770
13771
|
}), /* @__PURE__ */ b("span", {
|
|
13771
13772
|
onClick: () => !a && !_ && f(n, "down"),
|
|
13772
13773
|
className: _ || a ? "has-text-grey-light" : "has-text-info",
|
|
13773
|
-
title: _ || a ? "" : "Verschuif naar beneden",
|
|
13774
|
+
title: _ || a ? "" : t?.props?.titleDown ?? "Verschuif naar beneden",
|
|
13774
13775
|
style: {
|
|
13775
13776
|
cursor: _ || a ? "not-allowed" : "pointer",
|
|
13776
13777
|
opacity: _ || a ? .5 : 1
|
|
@@ -14032,21 +14033,21 @@ var T_ = ({ onHover: e = !1, id: n, children: r, trigger: i, disabled: a = !1, a
|
|
|
14032
14033
|
}), d && f ? C(D, document.body) : D]
|
|
14033
14034
|
});
|
|
14034
14035
|
};
|
|
14035
|
-
T_.Trigger = ({ children: e }) => /* @__PURE__ */ b(y, { children: e }), T_.Divider = () => /* @__PURE__ */ b("hr", { className: "dropdown-divider" }), T_.Item = ({ children: e, onClick: t, onItemClick: n, disabled: r = !1,
|
|
14036
|
-
className: `dropdown-item ${t ? "is-clickable" : ""} ${r ? "is-disabled" : ""}`,
|
|
14036
|
+
T_.Trigger = ({ children: e }) => /* @__PURE__ */ b(y, { children: e }), T_.Divider = () => /* @__PURE__ */ b("hr", { className: "dropdown-divider" }), T_.Item = ({ children: e, onClick: t, onItemClick: n, disabled: r = !1, className: i = "", ...a }) => /* @__PURE__ */ b("div", {
|
|
14037
|
+
className: `dropdown-item ${t ? "is-clickable" : ""} ${r ? "is-disabled" : ""} ${i}`,
|
|
14037
14038
|
onClick: (e) => {
|
|
14038
14039
|
e.stopPropagation(), t?.(e), n?.(!!t);
|
|
14039
14040
|
},
|
|
14040
|
-
...
|
|
14041
|
+
...a,
|
|
14041
14042
|
children: e
|
|
14042
|
-
}), T_.Link = ({ children: e, onItemClick: t, disabled: n = !1,
|
|
14043
|
-
let
|
|
14044
|
-
e.stopPropagation(),
|
|
14043
|
+
}), T_.Link = ({ children: e, onItemClick: t, disabled: n = !1, className: r = "", ...i }) => {
|
|
14044
|
+
let a = (e) => {
|
|
14045
|
+
e.stopPropagation(), i.onClick?.(e), t?.(!0);
|
|
14045
14046
|
};
|
|
14046
14047
|
return /* @__PURE__ */ b("a", {
|
|
14047
|
-
className: `dropdown-item ${n ? "is-disabled" : ""}`,
|
|
14048
|
-
...
|
|
14049
|
-
onClick:
|
|
14048
|
+
className: `dropdown-item ${n ? "is-disabled" : ""} ${r}`,
|
|
14049
|
+
...i,
|
|
14050
|
+
onClick: a,
|
|
14050
14051
|
children: e
|
|
14051
14052
|
});
|
|
14052
14053
|
};
|