@sikka/hawa 0.42.6-next → 0.42.8-next
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.
- package/dist/blocks/auth/index.d.mts +4 -2
- package/dist/blocks/auth/index.d.ts +4 -2
- package/dist/blocks/auth/index.js +25 -22
- package/dist/blocks/auth/index.mjs +25 -22
- package/dist/blocks/index.d.mts +4 -2
- package/dist/blocks/index.d.ts +4 -2
- package/dist/blocks/index.js +25 -22
- package/dist/blocks/index.mjs +13 -10
- package/dist/{chunk-EBVZY3RJ.mjs → chunk-RIZBMJNK.mjs} +13 -13
- package/dist/dataTable/index.d.mts +2 -1
- package/dist/dataTable/index.d.ts +2 -1
- package/dist/dataTable/index.js +4 -0
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +4 -0
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +2 -1
- package/dist/elements/index.d.ts +2 -1
- package/dist/elements/index.js +17 -13
- package/dist/elements/index.mjs +5 -1
- package/dist/index.css +3 -19
- package/dist/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +29 -22
- package/dist/index.mjs +29 -22
- package/dist/pinInput/index.js +13 -13
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +13 -13
- package/dist/pinInput/index.mjs.map +1 -1
- package/package.json +14 -14
package/dist/dataTable/index.mjs
CHANGED
@@ -1307,6 +1307,7 @@ var DataTable = ({
|
|
1307
1307
|
data,
|
1308
1308
|
paginationPosition = "bottom",
|
1309
1309
|
translateFn,
|
1310
|
+
resetSelection,
|
1310
1311
|
enableHideColumns,
|
1311
1312
|
enableSelection,
|
1312
1313
|
enableFiltering,
|
@@ -1393,6 +1394,9 @@ var DataTable = ({
|
|
1393
1394
|
React11.useEffect(() => {
|
1394
1395
|
localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(columnVisibility));
|
1395
1396
|
}, [columnVisibility]);
|
1397
|
+
React11.useEffect(() => {
|
1398
|
+
setRowSelection({});
|
1399
|
+
}, [resetSelection]);
|
1396
1400
|
React11.useEffect(() => {
|
1397
1401
|
setColumnVisibility((prev) => {
|
1398
1402
|
let newColumnVisibility = {};
|