@konstructio/ui 0.1.2-alpha.65 → 0.1.2-alpha.66

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.
Files changed (85) hide show
  1. package/dist/assets/icons/components/AlertOutline.d.ts +3 -0
  2. package/dist/assets/icons/components/AlertOutline.js +28 -0
  3. package/dist/assets/icons/components/index.d.ts +1 -0
  4. package/dist/assets/icons/components/index.js +126 -124
  5. package/dist/assets/icons/index.js +122 -120
  6. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  7. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  8. package/dist/components/AlertDialog/components/index.js +1 -1
  9. package/dist/components/Breadcrumb/components/Item/Item.js +1 -1
  10. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  11. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  12. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +1 -1
  13. package/dist/components/Checkbox/Checkbox.js +51 -51
  14. package/dist/components/Command/Command.js +1 -1
  15. package/dist/components/Command/components/Command.js +1 -1
  16. package/dist/components/Command/components/CommandEmpty.js +1 -1
  17. package/dist/components/Command/components/CommandGroup.js +1 -1
  18. package/dist/components/Command/components/CommandInput.js +1 -1
  19. package/dist/components/Command/components/CommandItem.js +1 -1
  20. package/dist/components/Command/components/CommandList.js +1 -1
  21. package/dist/components/Command/components/CommandSeparator.js +1 -1
  22. package/dist/components/Command/components/DialogContent.js +1 -1
  23. package/dist/components/Command/components/DialogOverlay.js +1 -1
  24. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +1 -1
  25. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +1 -1
  26. package/dist/components/Drawer/components/index.js +6 -6
  27. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -0
  28. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
  29. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  30. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  31. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -17
  32. package/dist/components/ProgressBar/ProgressBar.js +38 -59
  33. package/dist/components/ProgressBar/ProgressBar.types.d.ts +12 -28
  34. package/dist/components/ProgressBar/ProgressBar.variants.d.ts +3 -3
  35. package/dist/components/ProgressBar/ProgressBar.variants.js +23 -24
  36. package/dist/components/Range/Range.js +1 -1
  37. package/dist/components/Slider/Slider.js +1 -1
  38. package/dist/components/Spinner/Spinner.d.ts +4 -0
  39. package/dist/components/Spinner/Spinner.js +57 -0
  40. package/dist/components/Spinner/Spinner.types.d.ts +13 -0
  41. package/dist/components/Spinner/Spinner.variants.d.ts +6 -0
  42. package/dist/components/Spinner/Spinner.variants.js +54 -0
  43. package/dist/components/Switch/Switch.js +47 -47
  44. package/dist/components/Tabs/Tabs.js +1 -1
  45. package/dist/components/Tabs/components/Content.js +1 -1
  46. package/dist/components/Tabs/components/List.js +1 -1
  47. package/dist/components/Tabs/components/Trigger.js +1 -1
  48. package/dist/components/Toast/Toast.js +9 -9
  49. package/dist/components/VirtualizedTable/VirtualizedTable.js +71 -65
  50. package/dist/components/VirtualizedTable/VirtualizedTable.types.d.ts +5 -0
  51. package/dist/components/VirtualizedTable/components/Body/Body.js +42 -41
  52. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
  53. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +2 -2
  54. package/dist/components/VirtualizedTable/contexts/table.context.d.ts +2 -1
  55. package/dist/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
  56. package/dist/components/VirtualizedTable/contexts/table.provider.js +190 -108
  57. package/dist/components/VirtualizedTable/contexts/table.types.d.ts +4 -1
  58. package/dist/components/VirtualizedTable/events/index.d.ts +12 -0
  59. package/dist/components/VirtualizedTable/events/index.js +23 -0
  60. package/dist/components/index.d.ts +3 -0
  61. package/dist/components/index.js +98 -91
  62. package/dist/icons.d.ts +1 -1
  63. package/dist/icons.js +122 -120
  64. package/dist/{index-DKfEnhKr.js → index--l0zux8V.js} +2 -2
  65. package/dist/{index-AV6ZtGhy.js → index-3fEdeexs.js} +1 -1
  66. package/dist/{index-CeZcoQDw.js → index-9a-FL_6D.js} +6 -6
  67. package/dist/{index-Dy59FQl5.js → index-BKMaItIC.js} +1 -1
  68. package/dist/{index-DtEcCIrM.js → index-BRXMsxSL.js} +1 -1
  69. package/dist/{index-DMb4KD0b.js → index-CESXsoMn.js} +1 -1
  70. package/dist/{index-BG8O18ZY.js → index-CJnS4BVW.js} +1 -1
  71. package/dist/{index-vcSp8YRZ.js → index-Cmf-IG4l.js} +10 -10
  72. package/dist/{index-Byr10W8m.js → index-DPcwqB8q.js} +618 -613
  73. package/dist/{index-BqhYevy7.js → index-Dd_ZmIqU.js} +19 -19
  74. package/dist/{index-D9SSJ6om.js → index-Dfq4O3b4.js} +3 -3
  75. package/dist/{index-gSPwC-1I.js → index-Jr0cra7i.js} +9 -9
  76. package/dist/{index-BlSRBdPy.js → index-URQGEGX7.js} +1 -1
  77. package/dist/index.js +142 -135
  78. package/dist/{libphonenumber-C9G59k5J.js → libphonenumber-aZ-2KWIf.js} +3 -3
  79. package/dist/package.json +2 -2
  80. package/dist/{proxy-BhEKW5n7.js → proxy-BIRlSMN_.js} +856 -851
  81. package/dist/styles.css +1 -1
  82. package/dist/useBreadcrumb-C_Wb2cXs.js +1435 -0
  83. package/dist/utils/index.js +514 -355
  84. package/package.json +2 -2
  85. package/dist/useBreadcrumb-vSs0pRo3.js +0 -1412
@@ -1,15 +1,15 @@
1
1
  import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
- import { useMemo as Q } from "react";
2
+ import { useMemo as U } from "react";
3
3
  import { cn as c } from "../../utils/index.js";
4
- import { TableProvider as R } from "./contexts/table.provider.js";
5
- import { Filter as S } from "./components/Filter/Filter.js";
6
- import { WrapperBody as U } from "./components/WrapperBody/WrapperBody.js";
7
- import { Header as X } from "./components/Header/Header.js";
8
- import { Body as Y } from "./components/Body/Body.js";
9
- import { Pagination as Z } from "./components/Pagination/Pagination.js";
10
- import { TruncateText as _ } from "./components/TruncateText/TruncateText.js";
11
- import { Actions as $ } from "./components/Actions/Actions.js";
12
- const D = ({
4
+ import { TableProvider as X } from "./contexts/table.provider.js";
5
+ import { Filter as Y } from "./components/Filter/Filter.js";
6
+ import { WrapperBody as Z } from "./components/WrapperBody/WrapperBody.js";
7
+ import { Header as _ } from "./components/Header/Header.js";
8
+ import { Body as $ } from "./components/Body/Body.js";
9
+ import { Pagination as D } from "./components/Pagination/Pagination.js";
10
+ import { TruncateText as L } from "./components/TruncateText/TruncateText.js";
11
+ import { Actions as rr } from "./components/Actions/Actions.js";
12
+ const er = ({
13
13
  id: n,
14
14
  ariaLabel: p,
15
15
  columns: d,
@@ -22,39 +22,42 @@ const D = ({
22
22
  classNameTable: A,
23
23
  classNameWrapperTable: y,
24
24
  isLoading: a,
25
- fetchData: h,
26
- queryOptions: z,
25
+ getRowId: h,
26
+ fetchData: z,
27
+ queryOptions: B,
27
28
  // Pagination
28
- showPagination: B,
29
+ showPagination: V,
29
30
  showTotalItems: t,
30
31
  showDropdownPagination: i,
31
32
  showDotPagination: l,
32
33
  showFormPagination: m,
33
- pageSizes: V,
34
+ pageSizes: j,
34
35
  // Filter
35
- showFilter: j = !1,
36
- showFilterInput: k,
37
- filterSearchPlaceholder: v = "",
38
- multiSelectFilter: w,
39
- filterActions: P,
40
- showResetButton: E = !0,
41
- resetButtonClassName: H,
36
+ showFilter: k = !1,
37
+ showFilterInput: v,
38
+ filterSearchPlaceholder: w = "",
39
+ multiSelectFilter: P,
40
+ filterActions: E,
41
+ showResetButton: H = !0,
42
+ resetButtonClassName: I,
42
43
  // Hover row
43
- enableHoverRow: I,
44
- classNameHoverRow: K,
44
+ enableHoverRow: K,
45
+ classNameHoverRow: M,
45
46
  // Expandable rows
46
- enableExpandedRow: M,
47
- expandedState: W,
48
- defaultExpanded: g,
49
- classNameExpandedRow: q,
50
- classNameExpandedCell: C,
51
- classNameExpandedContent: F,
52
- classNameExpandedHeader: G,
53
- classNameActiveExpandedRow: J,
54
- onExpandedChange: O
47
+ enableExpandedRow: W,
48
+ expandedState: g,
49
+ defaultExpanded: q,
50
+ classNameExpandedRow: C,
51
+ classNameExpandedCell: F,
52
+ classNameExpandedContent: G,
53
+ classNameExpandedHeader: J,
54
+ classNameActiveExpandedRow: O,
55
+ onExpandedChange: Q,
56
+ renderExpandedRow: R,
57
+ keepExpandColumnVisible: S
55
58
  }) => {
56
- const e = Q(
57
- () => B || [
59
+ const e = U(
60
+ () => V || [
58
61
  t,
59
62
  i,
60
63
  l,
@@ -63,40 +66,43 @@ const D = ({
63
66
  []
64
67
  );
65
68
  return /* @__PURE__ */ r(
66
- R,
69
+ X,
67
70
  {
68
71
  id: n,
69
72
  columns: d,
70
73
  data: f,
71
- fetchData: h,
74
+ getRowId: h,
75
+ fetchData: z,
72
76
  totalItems: u,
73
- queryOptions: z,
77
+ queryOptions: B,
74
78
  isPaginationEnabled: e,
75
- enableExpandedRow: M,
76
- expandedState: W,
77
- onExpandedChange: O,
78
- defaultExpanded: g,
79
- classNameExpandedRow: q,
80
- classNameExpandedCell: C,
81
- classNameExpandedContent: F,
82
- classNameExpandedHeader: G,
83
- classNameActiveExpandedRow: J,
84
- enableHoverRow: I,
85
- classNameHoverRow: K,
79
+ enableExpandedRow: W,
80
+ expandedState: g,
81
+ onExpandedChange: Q,
82
+ defaultExpanded: q,
83
+ classNameExpandedRow: C,
84
+ classNameExpandedCell: F,
85
+ classNameExpandedContent: G,
86
+ classNameExpandedHeader: J,
87
+ classNameActiveExpandedRow: O,
88
+ enableHoverRow: K,
89
+ classNameHoverRow: M,
90
+ renderExpandedRow: R,
91
+ keepExpandColumnVisible: S,
86
92
  children: /* @__PURE__ */ s("section", { className: c("w-full min-w-fit", b), children: [
87
- j && /* @__PURE__ */ r(
88
- S,
93
+ k && /* @__PURE__ */ r(
94
+ Y,
89
95
  {
90
- actions: P,
91
- multiSelectFilter: w,
92
- placeholder: v,
93
- showFilterInput: k,
94
- showResetButton: E,
95
- resetButtonClassName: H
96
+ actions: E,
97
+ multiSelectFilter: P,
98
+ placeholder: w,
99
+ showFilterInput: v,
100
+ showResetButton: H,
101
+ resetButtonClassName: I
96
102
  }
97
103
  ),
98
104
  /* @__PURE__ */ r(
99
- U,
105
+ Z,
100
106
  {
101
107
  showPagination: e,
102
108
  classNameWrapperTable: y,
@@ -112,38 +118,38 @@ const D = ({
112
118
  "aria-label": p,
113
119
  children: [
114
120
  /* @__PURE__ */ r(
115
- X,
121
+ _,
116
122
  {
117
123
  className: x,
118
124
  classNameArrows: N,
119
125
  classNameActiveArrows: T
120
126
  }
121
127
  ),
122
- /* @__PURE__ */ r(Y, { isLoading: a, showPagination: e })
128
+ /* @__PURE__ */ r($, { isLoading: a, showPagination: e })
123
129
  ]
124
130
  }
125
131
  )
126
132
  }
127
133
  ),
128
134
  e && /* @__PURE__ */ r(
129
- Z,
135
+ D,
130
136
  {
131
137
  showTotalItems: t,
132
138
  showDropdownPagination: i,
133
139
  showDotPagination: l,
134
140
  showFormPagination: m,
135
- pageSizes: V,
141
+ pageSizes: j,
136
142
  isLoading: a
137
143
  }
138
144
  )
139
145
  ] })
140
146
  }
141
147
  );
142
- }, o = D;
148
+ }, o = er;
143
149
  o.displayName = "KonstructVirtualizedTable";
144
- o.TruncateText = _;
145
- o.Actions = $;
150
+ o.TruncateText = L;
151
+ o.Actions = rr;
146
152
  export {
147
- _ as TruncateText,
153
+ L as TruncateText,
148
154
  o as VirtualizedTable
149
155
  };
@@ -73,6 +73,7 @@ export type Props<TData extends RowDataPrimitive> = VariantProps<typeof virtuali
73
73
  classNameHoverRow?: string;
74
74
  queryOptions?: Omit<UseQueryOptions<any, any, any, any>, 'queryKey' | 'queryFn'>;
75
75
  isLoading?: boolean;
76
+ getRowId?: (originalRow: TData, index: number) => string;
76
77
  fetchData?: (params: Record<string, string | number | string[] | number[] | undefined>) => Promise<{
77
78
  data: TData[];
78
79
  totalItemsCount?: number;
@@ -119,6 +120,8 @@ export type Props<TData extends RowDataPrimitive> = VariantProps<typeof virtuali
119
120
  classNameExpandedHeader?: string;
120
121
  classNameActiveExpandedRow?: string;
121
122
  onExpandedChange?: OnChangeFn<ExpandedState>;
123
+ renderExpandedRow?: (data: TData) => ReactNode;
124
+ keepExpandColumnVisible?: boolean | Record<string, boolean>;
122
125
  } | {
123
126
  enableExpandedRow?: false | undefined;
124
127
  expandedState?: never;
@@ -129,4 +132,6 @@ export type Props<TData extends RowDataPrimitive> = VariantProps<typeof virtuali
129
132
  classNameExpandedHeader?: never;
130
133
  classNameActiveExpandedRow?: never;
131
134
  onExpandedChange?: never;
135
+ renderExpandedRow?: never;
136
+ keepExpandColumnVisible?: never;
132
137
  });
@@ -1,29 +1,30 @@
1
- import { jsx as a, jsxs as F } from "react/jsx-runtime";
2
- import { f as S } from "../../../../index-CSWGJT-v.js";
3
- import { Fragment as j } from "react";
4
- import { Skeleton as H } from "../Skeleton/Skeleton.js";
1
+ import { jsx as a, jsxs as S } from "react/jsx-runtime";
2
+ import { f as j } from "../../../../index-CSWGJT-v.js";
3
+ import { Fragment as H } from "react";
4
+ import { Skeleton as M } from "../Skeleton/Skeleton.js";
5
5
  import { cn as s } from "../../../../utils/index.js";
6
- import { ExpandableRow as M } from "../ExpandableRow/ExpandableRow.js";
7
- import { useTableContext as A } from "../../contexts/table.hook.js";
8
- const G = ({
6
+ import { ExpandableRow as A } from "../ExpandableRow/ExpandableRow.js";
7
+ import { useTableContext as B } from "../../contexts/table.hook.js";
8
+ const J = ({
9
9
  isLoading: f,
10
10
  showPagination: t
11
11
  }) => {
12
12
  const {
13
- table: c,
14
- pageSize: x,
15
- tableFetching: u,
16
- enableExpandedRow: h,
13
+ table: b,
14
+ pageSize: u,
15
+ tableFetching: h,
16
+ enableExpandedRow: w,
17
17
  classNameExpandedRow: N,
18
- classNameExpandedCell: k,
19
- classNameExpandedContent: w,
20
- enableHoverRow: b,
21
- classNameHoverRow: R,
22
- classNameActiveExpandedRow: E
23
- } = A();
24
- if (f || u)
25
- return /* @__PURE__ */ a(H, { numberOfRows: x, table: c });
26
- const o = c.getRowModel().rows ?? [];
18
+ classNameExpandedCell: R,
19
+ classNameExpandedContent: k,
20
+ enableHoverRow: p,
21
+ classNameHoverRow: E,
22
+ classNameActiveExpandedRow: v,
23
+ renderExpandedRow: i
24
+ } = B();
25
+ if (f || h)
26
+ return /* @__PURE__ */ a(M, { numberOfRows: u, table: b });
27
+ const o = b.getRowModel().rows ?? [];
27
28
  return /* @__PURE__ */ a(
28
29
  "tbody",
29
30
  {
@@ -34,14 +35,14 @@ const G = ({
34
35
  "relative",
35
36
  "dark:border-x"
36
37
  ),
37
- children: o.map((p, l) => {
38
- const { id: n, original: i, getVisibleCells: v } = p, { meta: d = {} } = i, m = v(), e = h && p.getIsExpanded(), y = !!d.expandedRow;
39
- return /* @__PURE__ */ F(j, { children: [
38
+ children: o.map((g, l) => {
39
+ const { id: n, original: m, getVisibleCells: y } = g, { meta: d = {} } = m, c = y(), e = w && g.getIsExpanded(), C = !!d.expandedRow || !!i;
40
+ return /* @__PURE__ */ S(H, { children: [
40
41
  /* @__PURE__ */ a(
41
42
  "tr",
42
43
  {
43
44
  className: s(
44
- { "group/row": b },
45
+ { "group/row": p },
45
46
  "border-b",
46
47
  "border-b-gray-200",
47
48
  "dark:text-metal-50",
@@ -51,8 +52,8 @@ const G = ({
51
52
  ),
52
53
  "data-row-id": n,
53
54
  ...d.attributes ?? {},
54
- children: m.map(({ id: C, column: r, getContext: D }, g) => {
55
- const z = typeof r.columnDef.meta?.className == "function" ? r.columnDef.meta?.className(i) : r.columnDef.meta?.className;
55
+ children: c.map(({ id: D, column: r, getContext: z }, x) => {
56
+ const F = typeof r.columnDef.meta?.className == "function" ? r.columnDef.meta?.className(m) : r.columnDef.meta?.className;
56
57
  return /* @__PURE__ */ a(
57
58
  "td",
58
59
  {
@@ -67,40 +68,40 @@ const G = ({
67
68
  "dark:first:border-l",
68
69
  "dark:last:border-r",
69
70
  {
70
- "group-hover/row:bg-zinc-100 dark:group-hover/row:bg-metal-800": b,
71
+ "group-hover/row:bg-zinc-100 dark:group-hover/row:bg-metal-800": p,
71
72
  [s(
72
73
  "bg-zinc-100 dark:bg-metal-800",
73
- E
74
+ v
74
75
  )]: !!e
75
76
  },
76
- R,
77
- z,
77
+ E,
78
+ F,
78
79
  {
79
- "first:rounded-bl-lg": l === o.length - 1 && g === 0 && !t && !e,
80
- "last:rounded-br-lg": l === o.length - 1 && g === m.length - 1 && !t && !e,
80
+ "first:rounded-bl-lg": l === o.length - 1 && x === 0 && !t && !e,
81
+ "last:rounded-br-lg": l === o.length - 1 && x === c.length - 1 && !t && !e,
81
82
  "dark:[tr:last-child_&]:border-b": !t
82
83
  }
83
84
  ),
84
85
  "data-expanded": e ? !0 : void 0,
85
86
  ...r.columnDef.meta?.attributes ?? {},
86
- children: S(r.columnDef.cell, D())
87
+ children: j(r.columnDef.cell, z())
87
88
  },
88
- C
89
+ D
89
90
  );
90
91
  })
91
92
  }
92
93
  ),
93
- y && /* @__PURE__ */ a(
94
- M,
94
+ C && /* @__PURE__ */ a(
95
+ A,
95
96
  {
96
- classNameExpandedCell: k,
97
- classNameExpandedContent: w,
97
+ classNameExpandedCell: R,
98
+ classNameExpandedContent: k,
98
99
  classNameExpandedRow: N,
99
- colSpan: m.length,
100
+ colSpan: c.length,
100
101
  id: n,
101
102
  isExpanded: !!e,
102
103
  isLastRow: l === o.length - 1 && !t,
103
- children: d.expandedRow
104
+ children: d.expandedRow ?? i?.(m)
104
105
  }
105
106
  )
106
107
  ] }, n);
@@ -109,5 +110,5 @@ const G = ({
109
110
  );
110
111
  };
111
112
  export {
112
- G as Body
113
+ J as Body
113
114
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
- import { P as u, R as b, T as m, C as p } from "../../../../index-Byr10W8m.js";
2
+ import { P as u, R as b, T as m, C as p } from "../../../../index-DPcwqB8q.js";
3
3
  import { d as h } from "../../../../debounce-DJveWHr_.js";
4
4
  import { useRef as x, useState as w, useCallback as g, useEffect as s } from "react";
5
5
  const v = ({ getValue: l, value: i }) => {
@@ -12,9 +12,9 @@ const p = ({
12
12
  "div",
13
13
  {
14
14
  className: m(
15
- "shadow rounded-t-lg",
15
+ "shadow rounded-t-lg overflow-hidden",
16
16
  {
17
- "overflow-hidden rounded-lg": !t || d || e
17
+ "rounded-lg": !t || d || e
18
18
  },
19
19
  r
20
20
  ),
@@ -1,5 +1,5 @@
1
1
  import { ColumnSort, SortingState, Table } from '@tanstack/react-table';
2
- import { Dispatch, SetStateAction } from 'react';
2
+ import { Dispatch, ReactNode, SetStateAction } from 'react';
3
3
  import { RowData } from '../VirtualizedTable.types';
4
4
  export type ContextType<TData extends RowData = RowData> = {
5
5
  sortedData: ColumnSort[];
@@ -20,6 +20,7 @@ export type ContextType<TData extends RowData = RowData> = {
20
20
  classNameActiveExpandedRow?: string;
21
21
  enableHoverRow?: boolean;
22
22
  classNameHoverRow?: string;
23
+ renderExpandedRow?: (data: RowData) => ReactNode;
23
24
  handlePage: (newPage: number) => void;
24
25
  onPageSize: (newPageSize: number) => void;
25
26
  onSorting: Dispatch<SetStateAction<SortingState>>;
@@ -1,3 +1,3 @@
1
1
  import { RowData } from '../VirtualizedTable.types';
2
2
  import { Props } from './table.types';
3
- export declare const TableProvider: <TData extends RowData = RowData>({ children, classNameExpandedCell, classNameExpandedContent, classNameExpandedRow, classNameExpandedHeader, classNameActiveExpandedRow, classNameHoverRow, columns, data: defaultData, defaultExpanded, enableExpandedRow, enableHoverRow, expandedState, id, isPaginationEnabled, queryOptions, totalItems, fetchData, onExpandedChange, }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const TableProvider: <TData extends RowData = RowData>({ children, classNameExpandedCell, classNameExpandedContent, classNameExpandedRow, classNameExpandedHeader, classNameActiveExpandedRow, classNameHoverRow, columns, data: defaultData, defaultExpanded, enableExpandedRow, enableHoverRow, expandedState, id, isPaginationEnabled, queryOptions, totalItems, getRowId, fetchData, onExpandedChange, renderExpandedRow, keepExpandColumnVisible, }: Props<TData>) => import("react/jsx-runtime").JSX.Element;