@imj_media/ui 1.6.15 → 1.6.16
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/CHANGELOG.md +8 -2
- package/README.md +1 -1
- package/dist/index.esm.js +412 -408
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.d.ts +4 -0
- package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.test.d.ts +2 -0
- package/dist/modules/Table/hooks/useTableColumns.test.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -8,6 +8,10 @@ import { ColumnConfig } from '../../../shared/types/table';
|
|
|
8
8
|
* y el resto de celdas reciban las opciones correctas. Se preservan width, visible,
|
|
9
9
|
* locked y el orden actual si el conjunto de columnas no cambia (solo el contenido).
|
|
10
10
|
*
|
|
11
|
+
* Si el padre pasa una **nueva referencia** de `render` o `accessor` (función) en una
|
|
12
|
+
* columna, el estado interno se sincroniza para que las celdas (p. ej. acciones) no
|
|
13
|
+
* queden con closures obsoletos.
|
|
14
|
+
*
|
|
11
15
|
* Recomendación: el padre debe memoizar las columnas (useMemo con deps como
|
|
12
16
|
* columnOptions) para que initialColumns solo cambie cuando cambien realmente
|
|
13
17
|
* las definiciones.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableColumns.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableColumns.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"useTableColumns.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableColumns.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AA0BpD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,gBAAgB,YAAY,CAAC,CAAC,CAAC,EAAE;;uCAsEZ,MAAM;oCAIT,MAAM,WAAW,OAAO;iCAI3B,MAAM;6BAIV,MAAM,SAAS,MAAM;+BAInB,MAAM,WAAW,MAAM;wCAId,MAAM,EAAE;;CAgChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableColumns.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableColumns.test.ts"],"names":[],"mappings":""}
|