@yuno-payments/dashboard-design-system 0.0.165 → 0.0.167

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.
@@ -1,6 +1,6 @@
1
1
  import { Alert as ShadcnAlert } from '../../../vendor/shadcn/alert';
2
2
  import { ComponentProps } from 'react';
3
- import { IconName } from '../icon';
3
+ import { Icon, IconName } from '../icon';
4
4
  /**
5
5
  * Props for the Alert component
6
6
  */
@@ -17,6 +17,10 @@ interface AlertProps extends Omit<ComponentProps<typeof ShadcnAlert>, "children"
17
17
  * Alert description/body text
18
18
  */
19
19
  description?: string;
20
+ /**
21
+ * Props for the icon component
22
+ */
23
+ iconProps?: ComponentProps<typeof Icon>;
20
24
  }
21
25
  /**
22
26
  * Alert component for displaying informational, success, warning, or error messages.
@@ -1,15 +1,16 @@
1
1
  import { j as r } from "../../../_virtual/jsx-runtime.js";
2
- import { Alert as l, AlertTitle as i, AlertDescription as a } from "../../../vendor/shadcn/alert.js";
2
+ import { Alert as a, AlertTitle as i, AlertDescription as f } from "../../../vendor/shadcn/alert.js";
3
3
  import { forwardRef as n } from "react";
4
4
  import { Icon as p } from "../icon/icon.js";
5
- const x = n(
6
- ({ icon: e, title: s, description: t, ...m }, o) => /* @__PURE__ */ r.jsxs(l, { ref: o, ...m, children: [
7
- e && /* @__PURE__ */ r.jsx(p, { name: e, className: "size-4" }),
8
- s && /* @__PURE__ */ r.jsx(i, { children: s }),
9
- t && /* @__PURE__ */ r.jsx(a, { children: t })
5
+ import { cn as x } from "../../../lib/utils.js";
6
+ const c = n(
7
+ ({ icon: e, title: m, description: s, iconProps: t, ...l }, o) => /* @__PURE__ */ r.jsxs(a, { ref: o, ...l, children: [
8
+ e && /* @__PURE__ */ r.jsx(p, { name: e, className: x("size-4", t?.className), ...t }),
9
+ m && /* @__PURE__ */ r.jsx(i, { children: m }),
10
+ s && /* @__PURE__ */ r.jsx(f, { children: s })
10
11
  ] })
11
12
  );
12
- x.displayName = "Alert";
13
+ c.displayName = "Alert";
13
14
  export {
14
- x as Alert
15
+ c as Alert
15
16
  };
@@ -28,14 +28,15 @@ export interface DataTableProps<TData, TValue> {
28
28
  */
29
29
  checkboxSelection?: boolean;
30
30
  /**
31
- * Key to force reset of row selection. Change this value to clear all selections.
32
- * Useful when parent needs to programmatically clear selections.
31
+ * Controlled row selection state (optional)
32
+ * If provided, component operates in controlled mode
33
33
  */
34
- selectionResetKey?: string | number;
34
+ rowSelection?: import('@tanstack/react-table').RowSelectionState;
35
35
  /**
36
36
  * Callback fired when row selection changes
37
+ * In controlled mode, you must update the rowSelection prop
37
38
  */
38
- onRowSelectionChange?: (selectedRows: TData[]) => void;
39
+ onRowSelectionChange?: (rowSelectionState: import('@tanstack/react-table').RowSelectionState, selectedRows: TData[]) => void;
39
40
  /**
40
41
  * Whether to enable column sorting
41
42
  * @default true
@@ -117,6 +118,7 @@ export interface DataTableProps<TData, TValue> {
117
118
  *
118
119
  * @example
119
120
  * ```tsx
121
+ * // Uncontrolled selection
120
122
  * <DataTable
121
123
  * columns={[
122
124
  * { accessorKey: 'name', header: 'Name' },
@@ -124,11 +126,26 @@ export interface DataTableProps<TData, TValue> {
124
126
  * ]}
125
127
  * data={users}
126
128
  * checkboxSelection
127
- * onRowSelectionChange={(rows) => console.log('Selected:', rows)}
129
+ * onRowSelectionChange={(rowSelectionState, selectedRows) => {
130
+ * console.log('Selected rows:', selectedRows);
131
+ * }}
128
132
  * actions={{
129
133
  * items: [{ label: 'Edit', onClick: (row) => editUser(row) }]
130
134
  * }}
131
135
  * />
136
+ *
137
+ * // Controlled selection
138
+ * const [rowSelection, setRowSelection] = useState({});
139
+ * <DataTable
140
+ * columns={columns}
141
+ * data={users}
142
+ * checkboxSelection
143
+ * rowSelection={rowSelection}
144
+ * onRowSelectionChange={(newRowSelection, selectedRows) => {
145
+ * setRowSelection(newRowSelection);
146
+ * console.log('Selected rows:', selectedRows);
147
+ * }}
148
+ * />
132
149
  * ```
133
150
  */
134
- export declare function DataTable<TData, TValue>({ columns, data, isLoading, empty, checkboxSelection, selectionResetKey, onRowSelectionChange, enableSorting, manualSorting, sorting: externalSorting, onSortingChange: externalOnSortingChange, enableColumnFilters, enableColumnResizing, columnResizeMode, enableColumnPinning, onRowClick, actions, height, rowHeight, className, persistKey, initialSettings, onUpdate, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
151
+ export declare function DataTable<TData, TValue>({ columns, data, isLoading, empty, checkboxSelection, rowSelection: externalRowSelection, onRowSelectionChange, enableSorting, manualSorting, sorting: externalSorting, onSortingChange: externalOnSortingChange, enableColumnFilters, enableColumnResizing, columnResizeMode, enableColumnPinning, onRowClick, actions, height, rowHeight, className, persistKey, initialSettings, onUpdate, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
@@ -1,149 +1,154 @@
1
1
  import { j as e } from "../../../_virtual/jsx-runtime.js";
2
- import * as b from "react";
3
- import { useReactTable as U } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
4
- import { Table as V } from "../../../vendor/shadcn/table.js";
5
- import { cn as h } from "../../../lib/utils.js";
2
+ import * as L from "react";
3
+ import { useReactTable as k } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
4
+ import { Table as U } from "../../../vendor/shadcn/table.js";
5
+ import { cn as x } from "../../../lib/utils.js";
6
6
  import { DataTableLoading as q } from "./components/states/data-table-loading.js";
7
7
  import { DataTableHeader as J } from "./components/data-table-header.js";
8
- import { DataTableBody as Q } from "./components/data-table-body.js";
9
- import { useDataTableColumns as X } from "./hooks/use-data-table-columns.js";
10
- import { useDataTableState as Y } from "./hooks/use-data-table-state.js";
11
- import { ROW_HEIGHT_DEFAULT as Z } from "./utils/data-table-constants.js";
12
- import { getFilteredRowModel as k, getSortedRowModel as K, getCoreRowModel as O } from "../../../node_modules/@tanstack/table-core/build/lib/index.js";
8
+ import { DataTableBody as K } from "./components/data-table-body.js";
9
+ import { useDataTableColumns as Q } from "./hooks/use-data-table-columns.js";
10
+ import { useDataTableState as X } from "./hooks/use-data-table-state.js";
11
+ import { ROW_HEIGHT_DEFAULT as Y } from "./utils/data-table-constants.js";
12
+ import { getFilteredRowModel as Z, getSortedRowModel as O, getCoreRowModel as V } from "../../../node_modules/@tanstack/table-core/build/lib/index.js";
13
13
  import { Empty as oo } from "../../molecules/empty/empty.js";
14
- function go({
15
- columns: m,
16
- data: d,
17
- isLoading: S = !1,
18
- empty: j,
19
- checkboxSelection: u = !1,
20
- selectionResetKey: c,
14
+ function po({
15
+ columns: u,
16
+ data: s,
17
+ isLoading: C = !1,
18
+ empty: y,
19
+ checkboxSelection: d = !1,
20
+ rowSelection: m,
21
21
  onRowSelectionChange: l,
22
- enableSorting: w = !0,
23
- manualSorting: y = !1,
24
- sorting: T,
25
- onSortingChange: R,
26
- enableColumnFilters: D = !1,
27
- enableColumnResizing: r = !0,
28
- columnResizeMode: F = "onChange",
29
- enableColumnPinning: v = !0,
30
- onRowClick: E,
31
- actions: s,
32
- height: M,
33
- rowHeight: f = Z,
34
- className: N,
35
- persistKey: H,
36
- initialSettings: P,
37
- onUpdate: W
22
+ enableSorting: j = !0,
23
+ manualSorting: h = !1,
24
+ sorting: S,
25
+ onSortingChange: T,
26
+ enableColumnFilters: w = !1,
27
+ enableColumnResizing: a = !0,
28
+ columnResizeMode: v = "onChange",
29
+ enableColumnPinning: D = !0,
30
+ onRowClick: F,
31
+ actions: c,
32
+ height: E,
33
+ rowHeight: p = Y,
34
+ className: M,
35
+ persistKey: R,
36
+ initialSettings: N,
37
+ onUpdate: B
38
38
  }) {
39
- const _ = X({
40
- columns: m,
41
- checkboxSelection: u,
42
- actions: s
39
+ const H = Q({
40
+ columns: u,
41
+ checkboxSelection: d,
42
+ actions: c
43
43
  }), {
44
44
  sorting: g,
45
- setSorting: p,
46
- columnFilters: $,
47
- setColumnFilters: z,
48
- columnVisibility: A,
49
- setColumnVisibility: G,
50
- rowSelection: x,
51
- setRowSelection: C,
52
- columnPinning: L,
53
- handleColumnPinningChange: B
54
- } = Y({
55
- persistKey: H,
56
- hasActions: !!s,
57
- externalSorting: T,
58
- onExternalSortingChange: R,
59
- initialSettings: P,
60
- onUpdate: W
61
- }), i = U({
62
- data: d,
63
- columns: _,
64
- getCoreRowModel: O(),
65
- enableColumnResizing: r,
66
- columnResizeMode: F,
67
- enableColumnPinning: v,
45
+ setSorting: b,
46
+ columnFilters: I,
47
+ setColumnFilters: P,
48
+ columnVisibility: W,
49
+ setColumnVisibility: _,
50
+ rowSelection: n,
51
+ setRowSelection: $,
52
+ columnPinning: z,
53
+ handleColumnPinningChange: A
54
+ } = X({
55
+ persistKey: R,
56
+ hasActions: !!c,
57
+ externalSorting: S,
58
+ onExternalSortingChange: T,
59
+ externalRowSelection: m,
60
+ initialSettings: N,
61
+ onUpdate: B
62
+ }), f = k({
63
+ data: s,
64
+ columns: H,
65
+ getCoreRowModel: V(),
66
+ enableColumnResizing: a,
67
+ columnResizeMode: v,
68
+ enableColumnPinning: D,
68
69
  defaultColumn: {
69
70
  enableSorting: !1,
70
71
  minSize: 50
71
72
  },
72
- ...w && {
73
+ ...j && {
73
74
  onSortingChange: (o) => {
74
- p(typeof o == "function" ? o(g) : o);
75
+ b(typeof o == "function" ? o(g) : o);
75
76
  },
76
- getSortedRowModel: K(),
77
- manualSorting: y
77
+ getSortedRowModel: O(),
78
+ manualSorting: h
79
+ },
80
+ ...w && {
81
+ onColumnFiltersChange: P,
82
+ getFilteredRowModel: Z()
78
83
  },
79
- ...D && {
80
- onColumnFiltersChange: z,
81
- getFilteredRowModel: k()
84
+ onColumnVisibilityChange: _,
85
+ onRowSelectionChange: (o) => {
86
+ const t = typeof o == "function" ? o(n) : o;
87
+ if ($(t), l && m !== void 0) {
88
+ const r = Object.keys(t).filter((i) => t[i]).map((i) => s[parseInt(i)]).filter(Boolean);
89
+ l(t, r);
90
+ }
82
91
  },
83
- onColumnVisibilityChange: G,
84
- onRowSelectionChange: C,
85
- onColumnPinningChange: B,
92
+ onColumnPinningChange: A,
86
93
  state: {
87
94
  sorting: g,
88
- columnFilters: $,
89
- columnVisibility: A,
90
- rowSelection: x,
91
- columnPinning: L
95
+ columnFilters: I,
96
+ columnVisibility: W,
97
+ rowSelection: n,
98
+ columnPinning: z
92
99
  }
93
100
  });
94
- if (b.useEffect(() => {
95
- c !== void 0 && C({});
96
- }, [c]), b.useEffect(() => {
97
- if (l) {
98
- const o = i.getFilteredSelectedRowModel().rows.map((t) => t.original);
99
- l(o);
101
+ if (L.useEffect(() => {
102
+ if (l && m === void 0) {
103
+ const o = Object.keys(n).filter((t) => n[t]).map((t) => s[parseInt(t)]).filter(Boolean);
104
+ l(n, o);
100
105
  }
101
- }, [x, l, i]), S)
106
+ }, [n, l, s, m]), C)
102
107
  return /* @__PURE__ */ e.jsx(
103
108
  q,
104
109
  {
105
- columns: m,
106
- checkboxSelection: u,
107
- actions: s,
108
- rowHeight: f
110
+ columns: u,
111
+ checkboxSelection: d,
112
+ actions: c,
113
+ rowHeight: p
109
114
  }
110
115
  );
111
- if (d.length === 0) {
112
- const o = j || {}, {
116
+ if (s.length === 0) {
117
+ const o = y || {}, {
113
118
  title: t = "No results",
114
- description: a = "No data available",
115
- media: n,
116
- actions: I
119
+ description: r = "No data available",
120
+ media: i,
121
+ actions: G
117
122
  } = o;
118
123
  return /* @__PURE__ */ e.jsx(
119
124
  oo,
120
125
  {
121
- media: n,
126
+ media: i,
122
127
  title: t,
123
- description: a,
124
- actions: I
128
+ description: r,
129
+ actions: G
125
130
  }
126
131
  );
127
132
  }
128
- return /* @__PURE__ */ e.jsx("div", { className: h("yuno-data-table space-y-4", N), children: /* @__PURE__ */ e.jsx(
133
+ return /* @__PURE__ */ e.jsx("div", { className: x("yuno-data-table space-y-4", M), children: /* @__PURE__ */ e.jsx(
129
134
  "div",
130
135
  {
131
136
  className: "rounded-md border overflow-x-auto",
132
- style: { height: M || "auto" },
137
+ style: { height: E || "auto" },
133
138
  children: /* @__PURE__ */ e.jsxs(
134
- V,
139
+ U,
135
140
  {
136
- className: h("table-fixed"),
141
+ className: x("table-fixed"),
137
142
  children: [
138
- /* @__PURE__ */ e.jsx("colgroup", { children: i.getHeaderGroups()[0]?.headers.map((o) => {
139
- const t = o.column.columnDef.enableResizing === !1, a = o.column.id === "_spacer", n = o.column.getSize();
140
- return a ? /* @__PURE__ */ e.jsx("col", { style: { width: "auto" } }, o.id) : /* @__PURE__ */ e.jsx(
143
+ /* @__PURE__ */ e.jsx("colgroup", { children: f.getHeaderGroups()[0]?.headers.map((o) => {
144
+ const t = o.column.columnDef.enableResizing === !1, r = o.column.id === "_spacer", i = o.column.getSize();
145
+ return r ? /* @__PURE__ */ e.jsx("col", { style: { width: "auto" } }, o.id) : /* @__PURE__ */ e.jsx(
141
146
  "col",
142
147
  {
143
148
  style: {
144
- width: t ? `${n}px` : "auto",
145
- minWidth: t ? `${n}px` : void 0,
146
- maxWidth: t ? `${n}px` : void 0
149
+ width: t ? `${i}px` : "auto",
150
+ minWidth: t ? `${i}px` : void 0,
151
+ maxWidth: t ? `${i}px` : void 0
147
152
  }
148
153
  },
149
154
  o.id
@@ -152,17 +157,17 @@ function go({
152
157
  /* @__PURE__ */ e.jsx(
153
158
  J,
154
159
  {
155
- table: i,
156
- enableColumnResizing: r
160
+ table: f,
161
+ enableColumnResizing: a
157
162
  }
158
163
  ),
159
164
  /* @__PURE__ */ e.jsx(
160
- Q,
165
+ K,
161
166
  {
162
- table: i,
163
- enableColumnResizing: r,
164
- onRowClick: E,
165
- rowHeight: f
167
+ table: f,
168
+ enableColumnResizing: a,
169
+ onRowClick: F,
170
+ rowHeight: p
166
171
  }
167
172
  )
168
173
  ]
@@ -172,5 +177,5 @@ function go({
172
177
  ) });
173
178
  }
174
179
  export {
175
- go as DataTable
180
+ po as DataTable
176
181
  };
@@ -1,4 +1,4 @@
1
- import { ColumnDef, RowData, SortingState, VisibilityState, ColumnFiltersState, PaginationState, Table, Column, CellContext, HeaderContext } from '@tanstack/react-table';
1
+ import { ColumnDef, RowData, SortingState, VisibilityState, ColumnFiltersState, PaginationState, RowSelectionState, Table, Column, CellContext, HeaderContext } from '@tanstack/react-table';
2
2
  import { IconName } from '../../atoms/icon';
3
3
  import { EmptyProps } from '../../molecules';
4
4
  declare module "@tanstack/react-table" {
@@ -100,8 +100,18 @@ export interface DataTableProps<TData> {
100
100
  isLoading?: boolean;
101
101
  empty?: EmptyProps;
102
102
  checkboxSelection?: boolean;
103
- selectionResetKey?: string | number;
104
- onRowSelectionChange?: (selectedRows: TData[]) => void;
103
+ /**
104
+ * Controlled row selection state (optional)
105
+ * If provided, component operates in controlled mode
106
+ */
107
+ rowSelection?: RowSelectionState;
108
+ /**
109
+ * Callback fired when row selection changes
110
+ * In controlled mode, you must update the rowSelection prop
111
+ * @param rowSelectionState - Object with row indices as keys (e.g., { "0": true, "2": true })
112
+ * @param selectedRows - Array of actual row data objects
113
+ */
114
+ onRowSelectionChange?: (rowSelectionState: RowSelectionState, selectedRows: TData[]) => void;
105
115
  enablePagination?: boolean;
106
116
  pageSize?: number;
107
117
  pageIndex?: number;
@@ -6,10 +6,11 @@ interface UseDataTableStateProps {
6
6
  hasActions?: boolean;
7
7
  externalSorting?: SortingState;
8
8
  onExternalSortingChange?: (sorting: SortingState) => void;
9
+ externalRowSelection?: RowSelectionState;
9
10
  initialSettings?: DataTableSettings;
10
11
  onUpdate?: (settings: DataTableSettings) => void;
11
12
  }
12
- export declare function useDataTableState({ persistKey, hasActions, externalSorting, onExternalSortingChange, initialSettings, onUpdate, }: UseDataTableStateProps): {
13
+ export declare function useDataTableState({ persistKey, hasActions, externalSorting, onExternalSortingChange, externalRowSelection, initialSettings, onUpdate, }: UseDataTableStateProps): {
13
14
  sorting: SortingState;
14
15
  setSorting: (sorting: SortingState) => void;
15
16
  columnFilters: ColumnFiltersState;
@@ -1,39 +1,40 @@
1
1
  import * as i from "react";
2
- function N({
3
- persistKey: l,
2
+ function $({
3
+ persistKey: r,
4
4
  hasActions: s = !1,
5
5
  externalSorting: P,
6
- onExternalSortingChange: r,
7
- initialSettings: n,
6
+ onExternalSortingChange: l,
7
+ externalRowSelection: y,
8
+ initialSettings: o,
8
9
  onUpdate: m
9
10
  }) {
10
- const [c, a] = i.useState([]), [y, w] = i.useState(
11
+ const [c, a] = i.useState([]), [w, I] = i.useState(
11
12
  []
12
13
  ), [u, d] = i.useState({}), [V, C] = i.useState({}), [f, g] = i.useState({
13
14
  left: [],
14
15
  right: s ? ["actions"] : []
15
- }), F = P ?? c, I = r ?? a;
16
+ }), F = P ?? c, O = l ?? a, R = y ?? V, v = C;
16
17
  i.useEffect(() => {
17
- if (n) {
18
- if (n.hide || n.show) {
18
+ if (o) {
19
+ if (o.hide || o.show) {
19
20
  const e = {};
20
- n.hide?.forEach((t) => {
21
+ o.hide?.forEach((t) => {
21
22
  e[t] = !1;
22
23
  }), d(e);
23
24
  }
24
- n.pinnedColumns && g({
25
- left: n.pinnedColumns.left || [],
25
+ o.pinnedColumns && g({
26
+ left: o.pinnedColumns.left || [],
26
27
  right: [
27
- ...(n.pinnedColumns.right || []).filter(
28
+ ...(o.pinnedColumns.right || []).filter(
28
29
  (e) => e !== "actions"
29
30
  ),
30
31
  ...s ? ["actions"] : []
31
32
  ]
32
- }), !r && n.sorting && a(n.sorting);
33
+ }), !l && o.sorting && a(o.sorting);
33
34
  }
34
- }, [n, s, r]), i.useEffect(() => {
35
- if (!l) return;
36
- const e = localStorage.getItem(`datatable-${l}`);
35
+ }, [o, s, l]), i.useEffect(() => {
36
+ if (!r) return;
37
+ const e = localStorage.getItem(`datatable-${r}`);
37
38
  if (e)
38
39
  try {
39
40
  const t = JSON.parse(e);
@@ -41,45 +42,45 @@ function N({
41
42
  left: t.columnPinning.left || [],
42
43
  right: [
43
44
  ...(t.columnPinning.right || []).filter(
44
- (o) => o !== "actions"
45
+ (n) => n !== "actions"
45
46
  ),
46
47
  ...s ? ["actions"] : []
47
48
  ]
48
- }), !r && t.sorting && a(t.sorting);
49
+ }), !l && t.sorting && a(t.sorting);
49
50
  } catch (t) {
50
51
  console.error("Failed to load table state", t);
51
52
  }
52
- }, [l, s, r]), i.useEffect(() => {
53
- const e = Object.entries(u).filter(([, o]) => !o).map(([o]) => o), t = {
53
+ }, [r, s, l]), i.useEffect(() => {
54
+ const e = Object.entries(u).filter(([, n]) => !n).map(([n]) => n), t = {
54
55
  hide: e.length > 0 ? e : void 0,
55
56
  pinnedColumns: {
56
57
  left: f.left || [],
57
58
  right: f.right || []
58
59
  },
59
60
  // Only include sorting if not controlled externally
60
- ...!r && c.length > 0 && { sorting: c }
61
+ ...!l && c.length > 0 && { sorting: c }
61
62
  };
62
- if (l) {
63
- const o = {
63
+ if (r) {
64
+ const n = {
64
65
  columnVisibility: u,
65
66
  columnPinning: f,
66
- ...!r && { sorting: c }
67
+ ...!l && { sorting: c }
67
68
  };
68
- localStorage.setItem(`datatable-${l}`, JSON.stringify(o));
69
+ localStorage.setItem(`datatable-${r}`, JSON.stringify(n));
69
70
  }
70
71
  m && m(t);
71
- }, [u, f, c, l, r, m]);
72
- const O = i.useCallback(
72
+ }, [u, f, c, r, l, m]);
73
+ const J = i.useCallback(
73
74
  (e) => {
74
75
  g((t) => {
75
- const o = typeof e == "function" ? e(t) : e, h = Array.isArray(o.left) ? o.left : [], b = Array.isArray(o.right) ? o.right : [];
76
+ const n = typeof e == "function" ? e(t) : e, h = Array.isArray(n.left) ? n.left : [], b = Array.isArray(n.right) ? n.right : [];
76
77
  if (s) {
77
- const v = b.filter(
78
- (J) => J !== "actions"
78
+ const N = b.filter(
79
+ (S) => S !== "actions"
79
80
  );
80
81
  return {
81
82
  left: h,
82
- right: [...v, "actions"]
83
+ right: [...N, "actions"]
83
84
  };
84
85
  }
85
86
  return {
@@ -92,17 +93,17 @@ function N({
92
93
  );
93
94
  return {
94
95
  sorting: F,
95
- setSorting: I,
96
- columnFilters: y,
97
- setColumnFilters: w,
96
+ setSorting: O,
97
+ columnFilters: w,
98
+ setColumnFilters: I,
98
99
  columnVisibility: u,
99
100
  setColumnVisibility: d,
100
- rowSelection: V,
101
- setRowSelection: C,
101
+ rowSelection: R,
102
+ setRowSelection: v,
102
103
  columnPinning: f,
103
- handleColumnPinningChange: O
104
+ handleColumnPinningChange: J
104
105
  };
105
106
  }
106
107
  export {
107
- N as useDataTableState
108
+ $ as useDataTableState
108
109
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-design-system",
3
- "version": "0.0.165",
3
+ "version": "0.0.167",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",