@pnkx-lib/ui 1.0.5 → 1.0.6

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.
@@ -43,7 +43,7 @@ const C = (e) => /* @__PURE__ */ a.jsx(F, { ...e }), ne = (e) => {
43
43
  selectedRowKeys: m,
44
44
  onChange: o
45
45
  }, B = (i) => {
46
- i && i.field && c && c({}, i.field);
46
+ i && i.field && c && c(i.field);
47
47
  };
48
48
  function E(i, h) {
49
49
  return (P) => {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e, B as o, C as r, d as t, M as p, P as l, c as T, S as n, T as d, b as i, a as C, t as M } from "./chunks/Badge-BNUFNpvB.js";
1
+ import { e, B as o, C as r, d as t, M as p, P as l, c as T, S as n, T as d, b as i, a as C, t as M } from "./chunks/Badge-CGBb9ohQ.js";
2
2
  import { E as m, L as x, T as y } from "./chunks/AntdIcon-DV7aA2xc.js";
3
3
  import { I as P, P as c, T as f } from "./chunks/Switch-B0z-9IsF.js";
4
4
  export {
@@ -264,7 +264,7 @@ export declare interface TableCommonProps<T> extends TableProps<T> {
264
264
  filters: any;
265
265
  onChangePage: (page: number) => void;
266
266
  onChangePageSize: (size: number) => void;
267
- onSort?: (event: default_2.MouseEvent<unknown>, sortField: string) => void;
267
+ onSort?: (sortField: string | number | symbol) => void;
268
268
  rowsSelected: default_2.Key[];
269
269
  onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
270
270
  onRowClick?: (record: T) => void;
@@ -136,7 +136,7 @@ export declare interface TableCommonProps<T> extends TableProps<T> {
136
136
  filters: any;
137
137
  onChangePage: (page: number) => void;
138
138
  onChangePageSize: (size: number) => void;
139
- onSort?: (event: default_2.MouseEvent<unknown>, sortField: string) => void;
139
+ onSort?: (sortField: string | number | symbol) => void;
140
140
  rowsSelected: default_2.Key[];
141
141
  onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
142
142
  onRowClick?: (record: T) => void;
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e, B as o, C as r, d as t, M as l, P as p, c as T, S as d, T as b, b as i, a as n, t as C } from "../chunks/Badge-BNUFNpvB.js";
1
+ import { e, B as o, C as r, d as t, M as l, P as p, c as T, S as d, T as b, b as i, a as n, t as C } from "../chunks/Badge-CGBb9ohQ.js";
2
2
  import { E as c, L as g, T as m } from "../chunks/AntdIcon-DV7aA2xc.js";
3
3
  export {
4
4
  e as Badge,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "exports": {