@akinon/akitable 1.4.0-beta.0 → 1.4.0
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.
|
@@ -22,8 +22,6 @@ const AkitableDataTable = (props) => {
|
|
|
22
22
|
const [editingKey, setEditingKey] = react_1.default.useState(null);
|
|
23
23
|
const [isLoadingSaveButton, setIsLoadingSaveButton] = react_1.default.useState(false);
|
|
24
24
|
const [hasFormErrors, setHasFormErrors] = react_1.default.useState(false);
|
|
25
|
-
const [isOverflowing, setIsOverflowing] = react_1.default.useState(false);
|
|
26
|
-
const wrapperRef = react_1.default.useRef(null);
|
|
27
25
|
react_1.default.useEffect(() => {
|
|
28
26
|
if (!editingKey)
|
|
29
27
|
setHasFormErrors(false);
|
|
@@ -34,6 +32,8 @@ const AkitableDataTable = (props) => {
|
|
|
34
32
|
'Please migrate to the actionColumn prop to customize the action column.');
|
|
35
33
|
}
|
|
36
34
|
}, []);
|
|
35
|
+
const [isOverflowing, setIsOverflowing] = react_1.default.useState(false);
|
|
36
|
+
const wrapperRef = react_1.default.useRef(null);
|
|
37
37
|
const hasActions = actions && actions.length > 0;
|
|
38
38
|
const getRowKeyData = (record) => record[rowKey];
|
|
39
39
|
const checkIsEditingRow = (recordId) => recordId === editingKey;
|
|
@@ -19,8 +19,6 @@ export const AkitableDataTable = (props) => {
|
|
|
19
19
|
const [editingKey, setEditingKey] = React.useState(null);
|
|
20
20
|
const [isLoadingSaveButton, setIsLoadingSaveButton] = React.useState(false);
|
|
21
21
|
const [hasFormErrors, setHasFormErrors] = React.useState(false);
|
|
22
|
-
const [isOverflowing, setIsOverflowing] = React.useState(false);
|
|
23
|
-
const wrapperRef = React.useRef(null);
|
|
24
22
|
React.useEffect(() => {
|
|
25
23
|
if (!editingKey)
|
|
26
24
|
setHasFormErrors(false);
|
|
@@ -31,6 +29,8 @@ export const AkitableDataTable = (props) => {
|
|
|
31
29
|
'Please migrate to the actionColumn prop to customize the action column.');
|
|
32
30
|
}
|
|
33
31
|
}, []);
|
|
32
|
+
const [isOverflowing, setIsOverflowing] = React.useState(false);
|
|
33
|
+
const wrapperRef = React.useRef(null);
|
|
34
34
|
const hasActions = actions && actions.length > 0;
|
|
35
35
|
const getRowKeyData = (record) => record[rowKey];
|
|
36
36
|
const checkIsEditingRow = (recordId) => recordId === editingKey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/akitable",
|
|
3
|
-
"version": "1.4.0
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
"react-error-boundary": "^6.0.0",
|
|
15
15
|
"@akinon/akiform": "1.1.9",
|
|
16
16
|
"@akinon/akilocale": "1.2.8",
|
|
17
|
-
"@akinon/icons": "1.3.2
|
|
18
|
-
"@akinon/ui-button": "1.5.3
|
|
19
|
-
"@akinon/ui-card": "1.2.10
|
|
20
|
-
"@akinon/ui-input": "1.2.10
|
|
21
|
-
"@akinon/ui-pagination": "1.4.13
|
|
22
|
-
"@akinon/ui-progress": "1.2.10
|
|
23
|
-
"@akinon/ui-result": "1.4.11
|
|
24
|
-
"@akinon/ui-select": "1.4.13
|
|
17
|
+
"@akinon/icons": "1.3.2",
|
|
18
|
+
"@akinon/ui-button": "1.5.3",
|
|
19
|
+
"@akinon/ui-card": "1.2.10",
|
|
20
|
+
"@akinon/ui-input": "1.2.10",
|
|
21
|
+
"@akinon/ui-pagination": "1.4.13",
|
|
22
|
+
"@akinon/ui-progress": "1.2.10",
|
|
23
|
+
"@akinon/ui-result": "1.4.11",
|
|
24
|
+
"@akinon/ui-select": "1.4.13",
|
|
25
25
|
"@akinon/ui-skeleton": "1.1.8",
|
|
26
|
-
"@akinon/ui-space": "1.4.10
|
|
27
|
-
"@akinon/ui-spin": "1.4.10
|
|
28
|
-
"@akinon/ui-steps": "1.3.3
|
|
26
|
+
"@akinon/ui-space": "1.4.10",
|
|
27
|
+
"@akinon/ui-spin": "1.4.10",
|
|
28
|
+
"@akinon/ui-steps": "1.3.3",
|
|
29
29
|
"@akinon/ui-table": "1.1.8",
|
|
30
|
-
"@akinon/ui-theme": "1.3.1
|
|
30
|
+
"@akinon/ui-theme": "1.3.1",
|
|
31
31
|
"@akinon/ui-typography": "1.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"rimraf": "^5.0.5",
|
|
37
37
|
"typescript": "*",
|
|
38
38
|
"@akinon/typescript-config": "1.1.8",
|
|
39
|
-
"@akinon/utils": "1.2.11
|
|
39
|
+
"@akinon/utils": "1.2.11",
|
|
40
40
|
"@akinon/vitest-config": "1.1.8"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|