maru_design2 2.12.4 → 2.12.5
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 +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.12.5](https://github.com/42maru-ai/maru-design2/compare/v2.12.4...v2.12.5) (2024-07-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bug: Table - UPDATE header scroll cond. to data fetching ([6f7061e](https://github.com/42maru-ai/maru-design2/commit/6f7061ec4a3a8fce8e06a5e84b7da70fe530a5e0))
|
|
9
|
+
|
|
3
10
|
## [2.12.4](https://github.com/42maru-ai/maru-design2/compare/v2.12.3...v2.12.4) (2024-07-18)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -24407,7 +24407,7 @@ function Table(_a) {
|
|
|
24407
24407
|
* setting table size
|
|
24408
24408
|
*/
|
|
24409
24409
|
useEffect(function () {
|
|
24410
|
-
if (tableBodyMaxHeight && tableWrapperRef.current && tableHeaderWrapperRef.current && tableBodyScrollWrapperRef.current && tableBodyWrapperRef.current) {
|
|
24410
|
+
if (data.length && tableBodyMaxHeight && tableWrapperRef.current && tableHeaderWrapperRef.current && tableBodyScrollWrapperRef.current && tableBodyWrapperRef.current) {
|
|
24411
24411
|
var tableHeaderWrapper = tableHeaderWrapperRef.current; // table
|
|
24412
24412
|
var tableBodyScrollWrapper = tableBodyScrollWrapperRef.current; // div
|
|
24413
24413
|
var tableBodyWrapper = tableBodyWrapperRef.current; // table
|
|
@@ -24419,7 +24419,7 @@ function Table(_a) {
|
|
|
24419
24419
|
tableHeaderWrapper.style.width = '100%';
|
|
24420
24420
|
}
|
|
24421
24421
|
}
|
|
24422
|
-
}, [tableBodyMaxHeight]);
|
|
24422
|
+
}, [data, tableBodyMaxHeight]);
|
|
24423
24423
|
/**
|
|
24424
24424
|
* setting all checkbox
|
|
24425
24425
|
*/
|