wargerm 0.3.3 → 0.3.4
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/index.css +2 -0
- package/dist/index.esm.css +2 -0
- package/dist/index.esm.js +10 -6
- package/dist/index.js +10 -6
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -208,6 +208,7 @@
|
|
208
208
|
display: flex;
|
209
209
|
align-items: center;
|
210
210
|
justify-content: center;
|
211
|
+
text-align: center;
|
211
212
|
position: relative;
|
212
213
|
z-index: 2;
|
213
214
|
min-height: 32px;
|
@@ -259,6 +260,7 @@
|
|
259
260
|
display: flex;
|
260
261
|
align-items: center;
|
261
262
|
justify-content: center;
|
263
|
+
text-align: center;
|
262
264
|
position: relative;
|
263
265
|
z-index: 2;
|
264
266
|
}
|
package/dist/index.esm.css
CHANGED
@@ -208,6 +208,7 @@
|
|
208
208
|
display: flex;
|
209
209
|
align-items: center;
|
210
210
|
justify-content: center;
|
211
|
+
text-align: center;
|
211
212
|
position: relative;
|
212
213
|
z-index: 2;
|
213
214
|
min-height: 32px;
|
@@ -259,6 +260,7 @@
|
|
259
260
|
display: flex;
|
260
261
|
align-items: center;
|
261
262
|
justify-content: center;
|
263
|
+
text-align: center;
|
262
264
|
position: relative;
|
263
265
|
z-index: 2;
|
264
266
|
}
|
package/dist/index.esm.js
CHANGED
@@ -7992,12 +7992,16 @@ function Table(_ref) {
|
|
7992
7992
|
return arr;
|
7993
7993
|
};
|
7994
7994
|
|
7995
|
-
var filterFormColumns =
|
7996
|
-
return
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
7995
|
+
var filterFormColumns = useMemo(function () {
|
7996
|
+
return flattenColumns(columns).filter(function (c) {
|
7997
|
+
return !c.hideInSearch;
|
7998
|
+
});
|
7999
|
+
}, [columns]);
|
8000
|
+
var filterColumns = useMemo(function () {
|
8001
|
+
return flattenColumns(columns).filter(function (c) {
|
8002
|
+
return !c.hideInTable;
|
8003
|
+
});
|
8004
|
+
}, [columns]);
|
8001
8005
|
var renderTh = useMemo(function () {
|
8002
8006
|
var renderThFc = function renderThFc(columns, parentHeight, isChild) {
|
8003
8007
|
var showColumns = columns.filter(function (c) {
|
package/dist/index.js
CHANGED
@@ -8026,12 +8026,16 @@ function Table(_ref) {
|
|
8026
8026
|
return arr;
|
8027
8027
|
};
|
8028
8028
|
|
8029
|
-
var filterFormColumns =
|
8030
|
-
return
|
8031
|
-
|
8032
|
-
|
8033
|
-
|
8034
|
-
|
8029
|
+
var filterFormColumns = React.useMemo(function () {
|
8030
|
+
return flattenColumns(columns).filter(function (c) {
|
8031
|
+
return !c.hideInSearch;
|
8032
|
+
});
|
8033
|
+
}, [columns]);
|
8034
|
+
var filterColumns = React.useMemo(function () {
|
8035
|
+
return flattenColumns(columns).filter(function (c) {
|
8036
|
+
return !c.hideInTable;
|
8037
|
+
});
|
8038
|
+
}, [columns]);
|
8035
8039
|
var renderTh = React.useMemo(function () {
|
8036
8040
|
var renderThFc = function renderThFc(columns, parentHeight, isChild) {
|
8037
8041
|
var showColumns = columns.filter(function (c) {
|