asma-ui-core 3.97.0 → 3.98.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.
@@ -92,6 +92,13 @@ export type StyledTableProps<TData, TCustomData> = {
92
92
  focusable?: boolean;
93
93
  stickyHeader?: boolean;
94
94
  getRowClassName?: (row: Row<TData>) => string;
95
+ /**
96
+ * The row the user is working with — e.g. the one whose preview is open beside the table — matched
97
+ * against `row.id`. Drawn in the Figma table-row **Focused** state (the 3px focus frame keyboard
98
+ * focus draws; with a ticked row, "Selected + focused"), and it stays drawn after focus moves on,
99
+ * which `:focus-visible` alone cannot do. Opt-in: tables that do not pass it are unchanged.
100
+ */
101
+ activeRowId?: string | null;
95
102
  onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent> | React.KeyboardEvent<HTMLTableRowElement>, row: Row<TData>) => void;
96
103
  renderSubRows?: (props: {
97
104
  rows: TCustomData[];
@@ -1,57 +1,57 @@
1
- var t = "_tbody_yxsst_124", e = "_expanded_row_yxsst_174", _ = "_selected_yxsst_192", s = "_shadowed_yxsst_217", l = "_resizer_yxsst_274", a = "_isResizing_yxsst_286", o = {
2
- "asma-ui-table-styled-table": "_asma-ui-table-styled-table_yxsst_1",
3
- "table-wrapper": "_table-wrapper_yxsst_26",
4
- "table-shell": "_table-shell_yxsst_33",
5
- "table-wrapper--no-rows": "_table-wrapper--no-rows_yxsst_39",
6
- "table-wrapper--proxy": "_table-wrapper--proxy_yxsst_42",
7
- "table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_yxsst_43",
8
- "table-wrapper-fetching": "_table-wrapper-fetching_yxsst_53",
9
- "table-scroll": "_table-scroll_yxsst_56",
10
- "table-x--fill-height": "_table-x--fill-height_yxsst_65",
11
- "table-x": "_table-x_yxsst_65",
12
- "table-content": "_table-content_yxsst_80",
13
- "table-header--sticky": "_table-header--sticky_yxsst_85",
14
- "table-hscroll": "_table-hscroll_yxsst_90",
15
- "table-hscroll__content": "_table-hscroll__content_yxsst_100",
16
- "no-rows-overlay-container": "_no-rows-overlay-container_yxsst_103",
17
- "no-rows-overlay-content": "_no-rows-overlay-content_yxsst_111",
18
- "styled-table": "_styled-table_yxsst_115",
19
- tbody: t,
20
- "loading-icon": "_loading-icon_yxsst_129",
21
- "t-row": "_t-row_yxsst_136",
22
- "t-cell": "_t-cell_yxsst_136",
23
- "action-cell": "_action-cell_yxsst_146",
24
- "fixed-cell": "_fixed-cell_yxsst_150",
25
- "fixed-right-cell": "_fixed-right-cell_yxsst_153",
26
- expanded_row: e,
1
+ var e = "_tbody_ewknl_124", l = "_expanded_row_ewknl_174", _ = "_selected_ewknl_192", t = "_shadowed_ewknl_217", a = "_resizer_ewknl_274", n = "_isResizing_ewknl_286", o = {
2
+ "asma-ui-table-styled-table": "_asma-ui-table-styled-table_ewknl_1",
3
+ "table-wrapper": "_table-wrapper_ewknl_26",
4
+ "table-shell": "_table-shell_ewknl_33",
5
+ "table-wrapper--no-rows": "_table-wrapper--no-rows_ewknl_39",
6
+ "table-wrapper--proxy": "_table-wrapper--proxy_ewknl_42",
7
+ "table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_ewknl_43",
8
+ "table-wrapper-fetching": "_table-wrapper-fetching_ewknl_53",
9
+ "table-scroll": "_table-scroll_ewknl_56",
10
+ "table-x--fill-height": "_table-x--fill-height_ewknl_65",
11
+ "table-x": "_table-x_ewknl_65",
12
+ "table-content": "_table-content_ewknl_80",
13
+ "table-header--sticky": "_table-header--sticky_ewknl_85",
14
+ "table-hscroll": "_table-hscroll_ewknl_90",
15
+ "table-hscroll__content": "_table-hscroll__content_ewknl_100",
16
+ "no-rows-overlay-container": "_no-rows-overlay-container_ewknl_103",
17
+ "no-rows-overlay-content": "_no-rows-overlay-content_ewknl_111",
18
+ "styled-table": "_styled-table_ewknl_115",
19
+ tbody: e,
20
+ "loading-icon": "_loading-icon_ewknl_129",
21
+ "t-row": "_t-row_ewknl_136",
22
+ "t-cell": "_t-cell_ewknl_136",
23
+ "action-cell": "_action-cell_ewknl_146",
24
+ "fixed-cell": "_fixed-cell_ewknl_150",
25
+ "fixed-right-cell": "_fixed-right-cell_ewknl_153",
26
+ expanded_row: l,
27
27
  selected: _,
28
- "single-selection": "_single-selection_yxsst_195",
29
- "action-cell--no-shadow": "_action-cell--no-shadow_yxsst_213",
30
- shadowed: s,
31
- "shadowed-right": "_shadowed-right_yxsst_253",
32
- "is-loading": "_is-loading_yxsst_258",
33
- "action-cell-default-background": "_action-cell-default-background_yxsst_261",
34
- "fixed-cell-default-background": "_fixed-cell-default-background_yxsst_264",
35
- "fixed-right-cell-default-background": "_fixed-right-cell-default-background_yxsst_267",
36
- "sortable-column": "_sortable-column_yxsst_270",
37
- resizer: l,
38
- isResizing: a,
39
- "hide-table-header": "_hide-table-header_yxsst_298",
40
- "show-table-header": "_show-table-header_yxsst_302",
41
- "table-header": "_table-header_yxsst_85",
42
- "hide-header": "_hide-header_yxsst_338",
43
- "t-cell__actions": "_t-cell__actions_yxsst_341",
44
- "t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_yxsst_350",
45
- "t-cell__fixed": "_t-cell__fixed_yxsst_355",
46
- "t-cell__fixed-right": "_t-cell__fixed-right_yxsst_363",
47
- "sort-icon": "_sort-icon_yxsst_371",
48
- "header-content": "_header-content_yxsst_375",
49
- "table-footer--sticky": "_table-footer--sticky_yxsst_406",
50
- "table-footer--inline": "_table-footer--inline_yxsst_417",
51
- "table-bottom": "_table-bottom_yxsst_428",
52
- "table-bottom--sticky": "_table-bottom--sticky_yxsst_442",
53
- "cursor-not-allowed": "_cursor-not-allowed_yxsst_446",
54
- "select-control": "_select-control_yxsst_450"
28
+ "single-selection": "_single-selection_ewknl_195",
29
+ "action-cell--no-shadow": "_action-cell--no-shadow_ewknl_213",
30
+ shadowed: t,
31
+ "shadowed-right": "_shadowed-right_ewknl_253",
32
+ "is-loading": "_is-loading_ewknl_258",
33
+ "action-cell-default-background": "_action-cell-default-background_ewknl_261",
34
+ "fixed-cell-default-background": "_fixed-cell-default-background_ewknl_264",
35
+ "fixed-right-cell-default-background": "_fixed-right-cell-default-background_ewknl_267",
36
+ "sortable-column": "_sortable-column_ewknl_270",
37
+ resizer: a,
38
+ isResizing: n,
39
+ "hide-table-header": "_hide-table-header_ewknl_298",
40
+ "show-table-header": "_show-table-header_ewknl_302",
41
+ "table-header": "_table-header_ewknl_85",
42
+ "hide-header": "_hide-header_ewknl_338",
43
+ "t-cell__actions": "_t-cell__actions_ewknl_341",
44
+ "t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_ewknl_350",
45
+ "t-cell__fixed": "_t-cell__fixed_ewknl_355",
46
+ "t-cell__fixed-right": "_t-cell__fixed-right_ewknl_363",
47
+ "sort-icon": "_sort-icon_ewknl_371",
48
+ "header-content": "_header-content_ewknl_375",
49
+ "table-footer--sticky": "_table-footer--sticky_ewknl_409",
50
+ "table-footer--inline": "_table-footer--inline_ewknl_420",
51
+ "table-bottom": "_table-bottom_ewknl_431",
52
+ "table-bottom--sticky": "_table-bottom--sticky_ewknl_445",
53
+ "cursor-not-allowed": "_cursor-not-allowed_ewknl_449",
54
+ "select-control": "_select-control_ewknl_453"
55
55
  };
56
56
  export {
57
57
  o as default
@@ -1,46 +1,46 @@
1
- import { ACTIONS_COLUMN_ID as j } from "../types.js";
2
- import { useRootContext as he } from "../context/RootContext.js";
1
+ import { ACTIONS_COLUMN_ID as q } from "../types.js";
2
+ import { useRootContext as pe } from "../context/RootContext.js";
3
3
  import n from "./StyledTable.module.js";
4
- import { compact as pe } from "../../helpers/arrays.js";
5
- import q from "clsx";
6
- import { Fragment as xe, useCallback as K, useEffect as be, useLayoutEffect as Ce, useMemo as m, useRef as Re, useState as Se } from "react";
7
- import { Fragment as De, jsx as s, jsxs as C } from "react/jsx-runtime";
8
- import { useSortable as ve } from "@dnd-kit/sortable";
9
- import { flexRender as ye } from "@tanstack/react-table";
10
- import { CSS as Ne } from "@dnd-kit/utilities";
11
- var Fe = (R) => {
4
+ import { compact as xe } from "../../helpers/arrays.js";
5
+ import K from "clsx";
6
+ import { Fragment as be, useCallback as G, useEffect as Ce, useLayoutEffect as Re, useMemo as m, useRef as Se, useState as De } from "react";
7
+ import { Fragment as ve, jsx as s, jsxs as C } from "react/jsx-runtime";
8
+ import { useSortable as ye } from "@dnd-kit/sortable";
9
+ import { flexRender as Ne } from "@tanstack/react-table";
10
+ import { CSS as Fe } from "@dnd-kit/utilities";
11
+ var ke = (R) => {
12
12
  const t = R.closest("table");
13
13
  if (!t) return !1;
14
14
  const r = Array.from(document.querySelectorAll('a[href], button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).find((g) => !t.contains(g) && !!(t.compareDocumentPosition(g) & Node.DOCUMENT_POSITION_FOLLOWING));
15
15
  return r ? (r.focus(), document.activeElement === r) : !1;
16
16
  };
17
- function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWindow: { paddingLeft: h, paddingRight: p, indexes: T } }) {
18
- const { loading: G, getRowClassName: l, rowHeight: x, onRowClick: S, expandArrow: V, enableDnd: w, disableDndForRow: Y, tdClassName: A, customSubRowData: B, renderSubRows: J, defaultExpanded: Q, actions: D, customActionsNode: X, textExpandArrow: L, enableMultiRowSelection: Z, enableRowSelection: ee, singleSelectionRow: te } = R, v = Y?.(t), { transform: ne, transition: oe, setNodeRef: M, isDragging: H } = ve({
17
+ function We({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWindow: { paddingLeft: h, paddingRight: p, indexes: T } }) {
18
+ const { loading: V, getRowClassName: l, activeRowId: w, rowHeight: x, onRowClick: S, expandArrow: Y, enableDnd: A, disableDndForRow: J, tdClassName: B, customSubRowData: L, renderSubRows: Q, defaultExpanded: X, actions: D, customActionsNode: Z, textExpandArrow: M, enableMultiRowSelection: ee, enableRowSelection: te, singleSelectionRow: ne } = R, v = J?.(t), { transform: ie, transition: oe, setNodeRef: H, isDragging: O } = ye({
19
19
  id: t.original.id,
20
- disabled: !w || v
21
- }), ie = {
22
- transform: Ne.Transform.toString(ne),
20
+ disabled: !A || v
21
+ }), se = {
22
+ transform: Fe.Transform.toString(ie),
23
23
  transition: oe,
24
- opacity: H ? 0.8 : 1,
25
- zIndex: H ? 1 : 0,
24
+ opacity: O ? 0.8 : 1,
25
+ zIndex: O ? 1 : 0,
26
26
  position: "relative"
27
- }, { isResizing: se, disableResizingFlag: le } = he(), y = t.isExpanded(), b = Re(null), [ae, ce] = Se(void 0);
28
- Ce(() => {
29
- !y && b.current && ce(b.current.cells[0]?.clientHeight ?? b.current.offsetHeight);
27
+ }, { isResizing: le, disableResizingFlag: ae } = pe(), y = t.isExpanded(), b = Se(null), [ce, de] = De(void 0);
28
+ Re(() => {
29
+ !y && b.current && de(b.current.cells[0]?.clientHeight ?? b.current.offsetHeight);
30
30
  }, [y]);
31
- const de = K((e) => {
32
- b.current = e, v || M(e);
33
- }, [v, M]), O = y ? ae ?? x : x;
34
- be(() => {
35
- Q && t.getCanExpand() && !t.getIsExpanded() && t.toggleExpand();
31
+ const re = G((e) => {
32
+ b.current = e, v || H(e);
33
+ }, [v, H]), U = y ? ce ?? x : x;
34
+ Ce(() => {
35
+ X && t.getCanExpand() && !t.getIsExpanded() && t.toggleExpand();
36
36
  }, []);
37
- const U = (e) => {
38
- t.getCanExpand() && !V && t.getToggleExpandedHandler()(), document.getElementById(t.id)?.focus();
39
- const o = window.getSelection()?.type !== "Range" && !se, i = S instanceof Function;
40
- !i && L && o ? t.toggleExpand() : i && o && S(e, t), le();
41
- }, re = (e) => {
42
- e.target.classList.contains("MuiModal-backdrop") || e.target.nodeName === "INPUT" || e.target.nodeName === "BUTTON" || e.target.nodeName === "LI" || e.target.closest("li") || U(e);
37
+ const W = (e) => {
38
+ t.getCanExpand() && !Y && t.getToggleExpandedHandler()(), document.getElementById(t.id)?.focus();
39
+ const i = window.getSelection()?.type !== "Range" && !le, o = S instanceof Function;
40
+ !o && M && i ? t.toggleExpand() : o && i && S(e, t), ae();
43
41
  }, ue = (e) => {
42
+ e.target.classList.contains("MuiModal-backdrop") || e.target.nodeName === "INPUT" || e.target.nodeName === "BUTTON" || e.target.nodeName === "LI" || e.target.closest("li") || W(e);
43
+ }, fe = (e) => {
44
44
  if (e.target === e.currentTarget)
45
45
  switch (e.key) {
46
46
  case "Tab":
@@ -49,9 +49,9 @@ function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWin
49
49
  e.preventDefault();
50
50
  break;
51
51
  }
52
- const o = e.currentTarget.closest("table")?.querySelector('thead tr[tabindex="0"]');
53
- o && (e.preventDefault(), o.focus());
54
- } else (t.focusNextRow() || Fe(e.currentTarget)) && e.preventDefault();
52
+ const i = e.currentTarget.closest("table")?.querySelector('thead tr[tabindex="0"]');
53
+ i && (e.preventDefault(), i.focus());
54
+ } else (t.focusNextRow() || ke(e.currentTarget)) && e.preventDefault();
55
55
  break;
56
56
  case "ArrowDown":
57
57
  t.focusNextRow() && e.preventDefault();
@@ -60,29 +60,29 @@ function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWin
60
60
  t.focusPrevRow() && e.preventDefault();
61
61
  break;
62
62
  case "Enter":
63
- e.preventDefault(), U(e);
63
+ e.preventDefault(), W(e);
64
64
  break;
65
65
  }
66
- }, u = t.getVisibleCells().map((e, o, i) => ({
66
+ }, u = t.getVisibleCells().map((e, i, o) => ({
67
67
  ...e,
68
- left: i.slice(0, o).reduce((c, d) => c + (d.column.getSize() ?? 0), 0)
69
- })), W = m(() => u.filter((e) => !e.column.columnDef.fixedLeft && !e.column.columnDef.fixedRight && e.column.id !== "actions"), [u]), a = m(() => u.filter((e) => !!e.column.columnDef.fixedRight || e.column.id === "actions").map((e, o, i) => ({
68
+ left: o.slice(0, i).reduce((c, d) => c + (d.column.getSize() ?? 0), 0)
69
+ })), _ = m(() => u.filter((e) => !e.column.columnDef.fixedLeft && !e.column.columnDef.fixedRight && e.column.id !== "actions"), [u]), a = m(() => u.filter((e) => !!e.column.columnDef.fixedRight || e.column.id === "actions").map((e, i, o) => ({
70
70
  ...e,
71
- right: i.slice(o + 1).reduce((c, d) => c + (d.column.getSize() ?? 0), 0)
72
- })), [u]), _ = m(() => a.some((e) => e.column.id === j), [a]), z = !!D || !!X, P = m(() => a.some((e) => !!e.column.columnDef.fixedRight), [a]), f = m(() => u.filter((e) => e.column.columnDef.fixedLeft), [u]), N = !Z && !ee && te, F = t.getIsSelected() && N, k = S instanceof Function, $ = T.length > 0 ? pe(T.map((e) => W[e])) : W, E = K((e, o) => {
73
- const i = e.column.id === j, c = e.column.columnDef.fixedLeft, d = !!e.column.columnDef.fixedRight, fe = e.id === f.at(-1)?.id, me = e.id === a.at(0)?.id && !i, ge = t.isExpanded(), I = o === 0;
71
+ right: o.slice(i + 1).reduce((c, d) => c + (d.column.getSize() ?? 0), 0)
72
+ })), [u]), z = m(() => a.some((e) => e.column.id === q), [a]), P = !!D || !!Z, $ = m(() => a.some((e) => !!e.column.columnDef.fixedRight), [a]), f = m(() => u.filter((e) => e.column.columnDef.fixedLeft), [u]), N = !ee && !te && ne, F = t.getIsSelected() && N, k = S instanceof Function, j = T.length > 0 ? xe(T.map((e) => _[e])) : _, E = G((e, i) => {
73
+ const o = e.column.id === q, c = e.column.columnDef.fixedLeft, d = !!e.column.columnDef.fixedRight, me = e.id === f.at(-1)?.id, ge = e.id === a.at(0)?.id && !o, he = t.isExpanded(), I = i === 0;
74
74
  return /* @__PURE__ */ s("td", {
75
- className: q(n["t-cell"], k && "cursor-pointer", A, i && n["action-cell"], i && (!z || P) && n["action-cell--no-shadow"], i && !!D && f.length && n.shadowed, i && (l?.(t) ? l?.(t) : n["action-cell-default-background"]), c && n["fixed-cell"], d && n["fixed-right-cell"], fe && n.shadowed, me && n["shadowed-right"], t.getIsSelected() && n.selected, c && (l?.(t) ? l?.(t) : n["fixed-cell-default-background"]), d && (l?.(t) ? l?.(t) : n["fixed-right-cell-default-background"]), ge && n.expanded_row, !!F && n["single-selection"]),
75
+ className: K(n["t-cell"], k && "cursor-pointer", B, o && n["action-cell"], o && (!P || $) && n["action-cell--no-shadow"], o && !!D && f.length && n.shadowed, o && (l?.(t) ? l?.(t) : n["action-cell-default-background"]), c && n["fixed-cell"], d && n["fixed-right-cell"], me && n.shadowed, ge && n["shadowed-right"], t.getIsSelected() && n.selected, c && (l?.(t) ? l?.(t) : n["fixed-cell-default-background"]), d && (l?.(t) ? l?.(t) : n["fixed-right-cell-default-background"]), he && n.expanded_row, !!F && n["single-selection"]),
76
76
  style: {
77
77
  left: c ? e.left : void 0,
78
- right: d ? e.right + (_ ? -1 : 0) : void 0
78
+ right: d ? e.right + (z ? -1 : 0) : void 0
79
79
  },
80
80
  children: /* @__PURE__ */ C("div", {
81
81
  style: {
82
82
  display: "flex",
83
83
  alignItems: "center",
84
84
  minWidth: I ? 32 : void 0,
85
- minHeight: O,
85
+ minHeight: U,
86
86
  position: "relative"
87
87
  },
88
88
  children: [I && F && /* @__PURE__ */ s("span", {
@@ -94,53 +94,54 @@ function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWin
94
94
  top: "50%",
95
95
  transform: "translateY(-50%)"
96
96
  },
97
- children: /* @__PURE__ */ s(ke, {})
97
+ children: /* @__PURE__ */ s(Ee, {})
98
98
  }), /* @__PURE__ */ s("span", {
99
99
  style: {
100
100
  marginLeft: I && N ? 30 : 0,
101
101
  width: "100%"
102
102
  },
103
- children: ye(e.column.columnDef.cell, e.getContext())
103
+ children: Ne(e.column.columnDef.cell, e.getContext())
104
104
  })]
105
105
  })
106
106
  }, e.id);
107
107
  }, [
108
108
  F,
109
109
  D,
110
- O,
110
+ U,
111
111
  l,
112
112
  k,
113
- _,
114
- P,
113
+ z,
114
+ $,
115
115
  f,
116
116
  a,
117
117
  t,
118
- z,
118
+ P,
119
119
  N,
120
- A
120
+ B
121
121
  ]);
122
- return /* @__PURE__ */ C(xe, { children: [/* @__PURE__ */ C("tr", {
122
+ return /* @__PURE__ */ C(be, { children: [/* @__PURE__ */ C("tr", {
123
123
  "aria-selected": t.getIsSelected() || t.isFocused() ? "true" : "false",
124
124
  tabIndex: t.isFocused() || r === 0 && !g ? 0 : -1,
125
125
  "data-index": r,
126
126
  "data-test": t.id,
127
+ "data-active": w != null && t.id === w ? "true" : void 0,
127
128
  id: t.id,
128
- className: q(n["t-row"], G && n["is-loading"], l?.(t)),
129
+ className: K(n["t-row"], V && n["is-loading"], l?.(t)),
129
130
  style: {
130
131
  height: x ? `${x}px` : "inherit",
131
- ...w && ie
132
+ ...A && se
132
133
  },
133
- ref: de,
134
+ ref: re,
134
135
  onFocus: (e) => {
135
136
  e.target === e.currentTarget && !t.isFocused() && t.onChangeFocused(!0);
136
137
  },
137
- onMouseUp: re,
138
+ onMouseUp: ue,
138
139
  onMouseDown: (e) => {
139
- e.detail > 1 && !k && L && e.preventDefault();
140
+ e.detail > 1 && !k && M && e.preventDefault();
140
141
  },
141
- onKeyDownCapture: ue,
142
+ onKeyDownCapture: fe,
142
143
  children: [
143
- f.map((e, o) => E(e, o)),
144
+ f.map((e, i) => E(e, i)),
144
145
  h > 0 && /* @__PURE__ */ s("td", {
145
146
  "aria-hidden": !0,
146
147
  className: n["t-cell"],
@@ -152,7 +153,7 @@ function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWin
152
153
  border: "none"
153
154
  }
154
155
  }),
155
- $.map((e, o) => E(e, f.length + o)),
156
+ j.map((e, i) => E(e, f.length + i)),
156
157
  p > 0 && /* @__PURE__ */ s("td", {
157
158
  "aria-hidden": !0,
158
159
  className: n["t-cell"],
@@ -164,14 +165,14 @@ function Ue({ styledTableProps: R, row: t, index: r, hasFocusedRow: g, columnWin
164
165
  border: "none"
165
166
  }
166
167
  }),
167
- a.map((e, o) => E(e, f.length + $.length + o))
168
+ a.map((e, i) => E(e, f.length + j.length + i))
168
169
  ]
169
- }), t.getIsExpanded() && /* @__PURE__ */ s(De, { children: B && J?.({
170
- rows: B.get(t.original.id.toString()) ?? [],
170
+ }), t.getIsExpanded() && /* @__PURE__ */ s(ve, { children: L && Q?.({
171
+ rows: L.get(t.original.id.toString()) ?? [],
171
172
  row: t.original
172
173
  }) })] }, t.id);
173
174
  }
174
- var ke = () => /* @__PURE__ */ C("svg", {
175
+ var Ee = () => /* @__PURE__ */ C("svg", {
175
176
  xmlns: "http://www.w3.org/2000/svg",
176
177
  width: "20",
177
178
  height: "20",
@@ -183,5 +184,5 @@ var ke = () => /* @__PURE__ */ C("svg", {
183
184
  })]
184
185
  });
185
186
  export {
186
- Ue as TableRow
187
+ We as TableRow
187
188
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.97.0",
6
+ "version": "3.98.0",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",