@hybr1d-tech/charizard 0.6.98 → 0.6.100
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.
|
@@ -67,5 +67,5 @@ export interface ActionsDropdownProps {
|
|
|
67
67
|
isTable?: boolean;
|
|
68
68
|
children?: React.ReactNode;
|
|
69
69
|
}
|
|
70
|
-
export declare function ActionsDropdown({ variant, disabled, menuItems, customData, size, positionerProps, isTable, }: ActionsDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
export declare function ActionsDropdown({ variant, disabled, menuItems, customData, size, positionerProps, isTable, children, }: ActionsDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
71
71
|
export {};
|
package/dist/hybr1d-ui.js
CHANGED
|
@@ -2149,9 +2149,10 @@ function Wi({
|
|
|
2149
2149
|
customData: o,
|
|
2150
2150
|
size: s,
|
|
2151
2151
|
positionerProps: r,
|
|
2152
|
-
isTable: i
|
|
2152
|
+
isTable: i,
|
|
2153
|
+
children: c
|
|
2153
2154
|
}) {
|
|
2154
|
-
const [
|
|
2155
|
+
const [l, u] = v.useState(!1);
|
|
2155
2156
|
return /* @__PURE__ */ n.jsx(
|
|
2156
2157
|
hs,
|
|
2157
2158
|
{
|
|
@@ -2160,11 +2161,11 @@ function Wi({
|
|
|
2160
2161
|
menuItems: a,
|
|
2161
2162
|
customData: o,
|
|
2162
2163
|
size: s,
|
|
2163
|
-
actionsDropdownOptions: { setIsActive:
|
|
2164
|
+
actionsDropdownOptions: { setIsActive: u },
|
|
2164
2165
|
positionerProps: r,
|
|
2165
2166
|
isTable: i,
|
|
2166
2167
|
isCustomTrigger: !0,
|
|
2167
|
-
children: /* @__PURE__ */ n.jsx(
|
|
2168
|
+
children: c || /* @__PURE__ */ n.jsx(
|
|
2168
2169
|
F,
|
|
2169
2170
|
{
|
|
2170
2171
|
path: di,
|
|
@@ -9242,7 +9243,7 @@ function B9({
|
|
|
9242
9243
|
menuItems: r = [[]],
|
|
9243
9244
|
paginationConfig: i
|
|
9244
9245
|
}) {
|
|
9245
|
-
const c = !!i, l = !a && !o && t.length === 0;
|
|
9246
|
+
const c = !!i, l = !a && !o && (!t || (t == null ? void 0 : t.length) === 0);
|
|
9246
9247
|
return /* @__PURE__ */ n.jsx("div", { className: fe.taskCardContainer, children: l ? /* @__PURE__ */ n.jsx(xh, { emptyText: s }) : /* @__PURE__ */ n.jsxs("div", { className: I(fe.taskCard, c && fe.taskCardPaginated), children: [
|
|
9247
9248
|
/* @__PURE__ */ n.jsx(B4, { headers: e }),
|
|
9248
9249
|
a ? /* @__PURE__ */ n.jsx(la, { containerStyle: { height: "164px" } }) : o ? /* @__PURE__ */ n.jsx(bh, {}) : t.map((u, m) => /* @__PURE__ */ n.jsx(w4, { data: u, menuItems: r[m] }, m)),
|