componenteshospitais 3.9.8 → 3.9.9

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/cjs/index.js CHANGED
@@ -16768,7 +16768,7 @@ var TableStandardButtons = function (_a) {
16768
16768
  var newState = __assign(__assign({}, prevState), (_a = {}, _a[newId] = !prevState[newId], _a));
16769
16769
  // Chama a função passada por parâmetro (se existir)
16770
16770
  if (onCheckboxChange) {
16771
- onCheckboxChange(rowId, newState[newId]);
16771
+ onCheckboxChange(index, newState[newId]);
16772
16772
  }
16773
16773
  return newState; // Retorna o novo estado
16774
16774
  });
package/dist/esm/index.js CHANGED
@@ -16766,7 +16766,7 @@ var TableStandardButtons = function (_a) {
16766
16766
  var newState = __assign(__assign({}, prevState), (_a = {}, _a[newId] = !prevState[newId], _a));
16767
16767
  // Chama a função passada por parâmetro (se existir)
16768
16768
  if (onCheckboxChange) {
16769
- onCheckboxChange(rowId, newState[newId]);
16769
+ onCheckboxChange(index, newState[newId]);
16770
16770
  }
16771
16771
  return newState; // Retorna o novo estado
16772
16772
  });
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from '@storybook/react';
2
3
  declare const meta: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from '@storybook/react';
2
3
  declare const meta: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from '@storybook/react';
2
3
  declare const meta: {
3
4
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteshospitais",
3
- "version": "3.9.8",
3
+ "version": "3.9.9",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -176,7 +176,7 @@ const TableStandardButtons: React.FC<TableStandardButtonsProps> = ({
176
176
 
177
177
  // Chama a função passada por parâmetro (se existir)
178
178
  if (onCheckboxChange) {
179
- onCheckboxChange(rowId, newState[newId]);
179
+ onCheckboxChange(index, newState[newId]);
180
180
  }
181
181
 
182
182
  return newState; // Retorna o novo estado