ywana-core8 0.0.481 → 0.0.484
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.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.test.js +9 -6
- package/src/domain/ContentType.js +1 -0
- package/src/domain/TabbedTablePage.js +4 -3
- package/src/html/table.css +1 -1
- package/src/html/textfield.js +23 -0
- package/src/html/textfield.test.js +2 -0
- package/src/html/tokenfield.js +1 -1
- package/src/site/site.test.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -1204,6 +1204,7 @@
|
|
1204
1204
|
var FORMATS = {
|
1205
1205
|
NONE: '',
|
1206
1206
|
DATE: 'date',
|
1207
|
+
DATERANGE: 'DATARANGE',
|
1207
1208
|
TIME: 'time',
|
1208
1209
|
EMAIL: 'email',
|
1209
1210
|
HTML: 'HTML',
|
@@ -1960,7 +1961,7 @@
|
|
1960
1961
|
event.preventDefault();
|
1961
1962
|
event.stopPropagation();
|
1962
1963
|
var token = event.target.value;
|
1963
|
-
var next = tokens.concat(token
|
1964
|
+
var next = Array.isArray(tokens) ? tokens.concat(token) : [token];
|
1964
1965
|
if (onChange) onChange(id, next);
|
1965
1966
|
setValue('');
|
1966
1967
|
}
|
@@ -6534,6 +6535,7 @@
|
|
6534
6535
|
tableFilter = props.tableFilter,
|
6535
6536
|
_props$editorFilter = props.editorFilter,
|
6536
6537
|
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
|
6538
|
+
tableClassName = props.tableClassName,
|
6537
6539
|
children = props.children;
|
6538
6540
|
|
6539
6541
|
var _useContext = React.useContext(PageContext),
|
@@ -6756,7 +6758,8 @@
|
|
6756
6758
|
groupBy: groupBy,
|
6757
6759
|
filter: tableFilter,
|
6758
6760
|
actions: tableActions,
|
6759
|
-
canDelete: canDelete
|
6761
|
+
canDelete: canDelete,
|
6762
|
+
className: tableClassName
|
6760
6763
|
}), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null), renderAside());
|
6761
6764
|
};
|
6762
6765
|
|
@@ -7078,7 +7081,8 @@
|
|
7078
7081
|
canDelete = props.canDelete,
|
7079
7082
|
filter = props.filter,
|
7080
7083
|
actions = props.actions,
|
7081
|
-
tabs = props.tabs
|
7084
|
+
tabs = props.tabs,
|
7085
|
+
className = props.className;
|
7082
7086
|
|
7083
7087
|
var _useState5 = React.useState(props.groupBy),
|
7084
7088
|
groupBy = _useState5[0],
|
@@ -7210,7 +7214,8 @@
|
|
7210
7214
|
}, groupSize)), /*#__PURE__*/React__default["default"].createElement(DataTable, _extends({}, table, {
|
7211
7215
|
onRowSelection: select,
|
7212
7216
|
editable: editable,
|
7213
|
-
onCheckAll: check
|
7217
|
+
onCheckAll: check,
|
7218
|
+
className: className
|
7214
7219
|
})));
|
7215
7220
|
});
|
7216
7221
|
}
|