Skip to content

Commit

Permalink
Release v2.4.4 (#979)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Sep 18, 2024
1 parent dea314e commit 580e8a3
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 29 deletions.
62 changes: 37 additions & 25 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47469,35 +47469,47 @@ const Bw = (t) =>
(o = n),
(a = r),
(e || []).map((e, n) => {
var r;
if ("view" === e.type) return null;
let r = !1;
return (
e.isDisabled &&
(r =
let l = !1;
if (
(e.isDisabled &&
(l =
"boolean" == typeof e.isDisabled
? e.isDisabled
: e.isDisabled(o)),
e.showLoader &&
(("boolean" == typeof e.showLoader &&
e.showLoader) ||
e.showLoader(o))
? t.createElement(
"div",
{ className: "progress-enabled" },
t.createElement(ro, {
style: { width: 18, height: 18 },
key: `actions-loader-${e.type}-${n.toString()}`,
}),
)
: t.createElement(qw, {
tooltip: e.tooltip,
type: e.type,
onClick: e.onClick,
valueToSend: o,
selected: a,
key: `actions-${e.type}-${n.toString()}`,
disabled: r,
})
(("boolean" == typeof e.showLoader &&
e.showLoader) ||
e.showLoader(o)))
)
return t.createElement(
"div",
{ className: "progress-enabled" },
t.createElement(ro, {
style: { width: 18, height: 18 },
key: `actions-loader-${e.type}-${n.toString()}`,
}),
);
let i = "";
return (
e.tooltip &&
(i =
"function" == typeof e.tooltip
? e.tooltip(o)
: null !== (r = e.tooltip) &&
void 0 !== r
? r
: ""),
t.createElement(qw, {
tooltip: i,
type: e.type,
onClick: e.onClick,
valueToSend: o,
selected: a,
key: `actions-${e.type}-${n.toString()}`,
disabled: l,
})
);
})
);
Expand Down Expand Up @@ -60051,7 +60063,7 @@ const lN = ({
override: n = {},
glContext: r,
failIfMajorPerformanceCaveat: o = !1,
benchmarksURL: a = "https://unpkg.com/[email protected].47/dist/benchmarks",
benchmarksURL: a = "https://unpkg.com/[email protected].48/dist/benchmarks",
} = {}) =>
KT(void 0, void 0, void 0, function* () {
const l = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export declare const actionsTypes: readonly [
];
export type PredefinedActionTypes = (typeof actionsTypes)[number];
export interface ItemActions<T> {
tooltip?: string;
tooltip?: string | ((itemValue: T) => string);
type: PredefinedActionTypes | React.ReactNode;
isDisabled?: boolean | ((itemValue: T) => boolean);
showLoader?: boolean | ((itemValue: T) => boolean);
Expand Down
2 changes: 1 addition & 1 deletion dist/mds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ declare const actionsTypes: readonly [
];
type PredefinedActionTypes = (typeof actionsTypes)[number];
interface ItemActions<T> {
tooltip?: string;
tooltip?: string | ((itemValue: T) => string);
type: PredefinedActionTypes | React__default.ReactNode;
isDisabled?: boolean | ((itemValue: T) => boolean);
showLoader?: boolean | ((itemValue: T) => boolean);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mds",
"version": "2.4.3",
"version": "2.4.4",
"description": "A MinIO Components Library",
"homepage": ".",
"license": "AGPL-3.0-or-later",
Expand Down

0 comments on commit 580e8a3

Please sign in to comment.