@clayui/table 3.111.0 → 3.112.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.
- package/lib/Body.js +10 -16
- package/lib/Cell.js +27 -33
- package/lib/Head.js +10 -16
- package/lib/Row.js +20 -25
- package/lib/index.js +30 -42
- package/package.json +4 -4
- package/CHANGELOG.md +0 -132
package/lib/Body.js
CHANGED
|
@@ -4,28 +4,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _excluded = ["children"];
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
function _objectWithoutPropertiesLoose(
|
|
19
|
-
|
|
9
|
+
/**
|
|
10
|
+
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
|
|
11
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
+
*/
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
15
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
20
17
|
var ClayTableBody = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
21
18
|
var children = _ref.children,
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
24
20
|
return /*#__PURE__*/_react.default.createElement("tbody", _extends({}, otherProps, {
|
|
25
21
|
ref: ref
|
|
26
22
|
}), children);
|
|
27
23
|
});
|
|
28
|
-
|
|
29
24
|
ClayTableBody.displayName = 'ClayTableBody';
|
|
30
|
-
var _default = ClayTableBody;
|
|
31
|
-
exports.default = _default;
|
|
25
|
+
var _default = exports.default = ClayTableBody;
|
package/lib/Cell.js
CHANGED
|
@@ -1,45 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
7
|
-
|
|
8
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
-
|
|
10
9
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
10
|
var _excluded = ["align", "cellDelimiter", "children", "className", "columnTextAlignment", "expanded", "headingCell", "headingTitle", "noWrap", "truncate"];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
11
|
+
/**
|
|
12
|
+
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
|
|
13
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14
|
+
*/
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
21
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
24
22
|
var ClayTableCell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
25
23
|
var _classNames;
|
|
26
|
-
|
|
27
24
|
var align = _ref.align,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
25
|
+
cellDelimiter = _ref.cellDelimiter,
|
|
26
|
+
children = _ref.children,
|
|
27
|
+
className = _ref.className,
|
|
28
|
+
columnTextAlignment = _ref.columnTextAlignment,
|
|
29
|
+
expanded = _ref.expanded,
|
|
30
|
+
_ref$headingCell = _ref.headingCell,
|
|
31
|
+
headingCell = _ref$headingCell === void 0 ? false : _ref$headingCell,
|
|
32
|
+
_ref$headingTitle = _ref.headingTitle,
|
|
33
|
+
headingTitle = _ref$headingTitle === void 0 ? false : _ref$headingTitle,
|
|
34
|
+
_ref$noWrap = _ref.noWrap,
|
|
35
|
+
noWrap = _ref$noWrap === void 0 ? false : _ref$noWrap,
|
|
36
|
+
_ref$truncate = _ref.truncate,
|
|
37
|
+
truncate = _ref$truncate === void 0 ? false : _ref$truncate,
|
|
38
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
43
39
|
var TagName = headingCell ? 'th' : 'td';
|
|
44
40
|
return /*#__PURE__*/_react.default.createElement(TagName, _extends({}, otherProps, {
|
|
45
41
|
className: (0, _classnames.default)(className, (_classNames = {
|
|
@@ -57,7 +53,5 @@ var ClayTableCell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
|
57
53
|
className: "text-truncate"
|
|
58
54
|
}, children)) : children);
|
|
59
55
|
});
|
|
60
|
-
|
|
61
56
|
ClayTableCell.displayName = 'ClayTableCell';
|
|
62
|
-
var _default = ClayTableCell;
|
|
63
|
-
exports.default = _default;
|
|
57
|
+
var _default = exports.default = ClayTableCell;
|
package/lib/Head.js
CHANGED
|
@@ -4,28 +4,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _excluded = ["children"];
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
function _objectWithoutPropertiesLoose(
|
|
19
|
-
|
|
9
|
+
/**
|
|
10
|
+
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
|
|
11
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
+
*/
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
15
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
20
17
|
var ClayTableHead = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
21
18
|
var children = _ref.children,
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
24
20
|
return /*#__PURE__*/_react.default.createElement("thead", _extends({}, otherProps, {
|
|
25
21
|
ref: ref
|
|
26
22
|
}), children);
|
|
27
23
|
});
|
|
28
|
-
|
|
29
24
|
ClayTableHead.displayName = 'ClayTableHead';
|
|
30
|
-
var _default = ClayTableHead;
|
|
31
|
-
exports.default = _default;
|
|
25
|
+
var _default = exports.default = ClayTableHead;
|
package/lib/Row.js
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
7
|
-
|
|
8
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
-
|
|
10
9
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
10
|
var _excluded = ["active", "children", "className", "divider", "rowDelimiter"];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
11
|
+
/**
|
|
12
|
+
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
|
|
13
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14
|
+
*/
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
21
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
24
22
|
var ClayTableRow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
25
23
|
var _ref$active = _ref.active,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
active = _ref$active === void 0 ? false : _ref$active,
|
|
25
|
+
children = _ref.children,
|
|
26
|
+
className = _ref.className,
|
|
27
|
+
_ref$divider = _ref.divider,
|
|
28
|
+
divider = _ref$divider === void 0 ? false : _ref$divider,
|
|
29
|
+
rowDelimiter = _ref.rowDelimiter,
|
|
30
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
34
31
|
return /*#__PURE__*/_react.default.createElement("tr", _extends({}, otherProps, {
|
|
35
32
|
className: (0, _classnames.default)(className, _defineProperty({
|
|
36
33
|
'table-active': active,
|
|
@@ -39,7 +36,5 @@ var ClayTableRow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
39
36
|
ref: ref
|
|
40
37
|
}), children);
|
|
41
38
|
});
|
|
42
|
-
|
|
43
39
|
ClayTableRow.displayName = 'ClayTableRow';
|
|
44
|
-
var _default = ClayTableRow;
|
|
45
|
-
exports.default = _default;
|
|
40
|
+
var _default = exports.default = ClayTableRow;
|
package/lib/index.js
CHANGED
|
@@ -1,55 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
7
|
-
|
|
8
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
-
|
|
10
9
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
10
|
var _Body = _interopRequireDefault(require("./Body"));
|
|
13
|
-
|
|
14
11
|
var _Cell = _interopRequireDefault(require("./Cell"));
|
|
15
|
-
|
|
16
12
|
var _Head = _interopRequireDefault(require("./Head"));
|
|
17
|
-
|
|
18
13
|
var _Row = _interopRequireDefault(require("./Row"));
|
|
19
|
-
|
|
20
14
|
var _excluded = ["bodyVerticalAlignment", "borderedColumns", "borderless", "children", "className", "headVerticalAlignment", "headingNoWrap", "hover", "noWrap", "responsive", "responsiveSize", "striped", "tableVerticalAlignment"];
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
15
|
+
/**
|
|
16
|
+
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
|
|
17
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
|
+
*/
|
|
19
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
21
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
22
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
23
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
24
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
25
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
32
26
|
var ClayTable = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
33
27
|
var _classNames2;
|
|
34
|
-
|
|
35
28
|
var bodyVerticalAlignment = _ref.bodyVerticalAlignment,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
29
|
+
borderedColumns = _ref.borderedColumns,
|
|
30
|
+
borderless = _ref.borderless,
|
|
31
|
+
children = _ref.children,
|
|
32
|
+
className = _ref.className,
|
|
33
|
+
headVerticalAlignment = _ref.headVerticalAlignment,
|
|
34
|
+
headingNoWrap = _ref.headingNoWrap,
|
|
35
|
+
_ref$hover = _ref.hover,
|
|
36
|
+
hover = _ref$hover === void 0 ? true : _ref$hover,
|
|
37
|
+
noWrap = _ref.noWrap,
|
|
38
|
+
_ref$responsive = _ref.responsive,
|
|
39
|
+
responsive = _ref$responsive === void 0 ? true : _ref$responsive,
|
|
40
|
+
responsiveSize = _ref.responsiveSize,
|
|
41
|
+
_ref$striped = _ref.striped,
|
|
42
|
+
striped = _ref$striped === void 0 ? true : _ref$striped,
|
|
43
|
+
tableVerticalAlignment = _ref.tableVerticalAlignment,
|
|
44
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
53
45
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
54
46
|
className: (0, _classnames.default)(_defineProperty({
|
|
55
47
|
'table-responsive': responsive
|
|
@@ -67,14 +59,10 @@ var ClayTable = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
67
59
|
}, _defineProperty(_classNames2, "tbody-valign-".concat(bodyVerticalAlignment), bodyVerticalAlignment), _defineProperty(_classNames2, "thead-valign-".concat(headVerticalAlignment), headVerticalAlignment), _defineProperty(_classNames2, "table-valign-".concat(tableVerticalAlignment), tableVerticalAlignment), _classNames2), className)
|
|
68
60
|
}, otherProps), children));
|
|
69
61
|
});
|
|
70
|
-
|
|
71
62
|
ClayTable.displayName = 'ClayTable';
|
|
72
|
-
|
|
73
|
-
var _default = Object.assign(ClayTable, {
|
|
63
|
+
var _default = exports.default = Object.assign(ClayTable, {
|
|
74
64
|
Body: _Body.default,
|
|
75
65
|
Cell: _Cell.default,
|
|
76
66
|
Head: _Head.default,
|
|
77
67
|
Row: _Row.default
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
exports.default = _default;
|
|
68
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clayui/table",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.112.0",
|
|
4
4
|
"description": "ClayTable component",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"repository": "https://github.com/liferay/clay",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@clayui/css": "3.x",
|
|
31
|
-
"react": "^
|
|
32
|
-
"react-dom": "^
|
|
31
|
+
"react": "^18.2.0",
|
|
32
|
+
"react-dom": "^18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"browserslist": [
|
|
35
35
|
"extends browserslist-config-clay"
|
|
36
36
|
],
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f563be12a87d6fcf03706d235618e5512de63463"
|
|
38
38
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [3.111.0](https://github.com/liferay/clay/compare/v3.110.0...v3.111.0) (2024-02-15)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @clayui/table
|
|
9
|
-
|
|
10
|
-
# [3.108.0](https://github.com/liferay/clay/compare/v3.107.1...v3.108.0) (2023-12-12)
|
|
11
|
-
|
|
12
|
-
### Features
|
|
13
|
-
|
|
14
|
-
- **@clayui/table:** adds the border to the head by default ([fb2cbdb](https://github.com/liferay/clay/commit/fb2cbdb7ac749756ff4c1749056af54bed9441fe))
|
|
15
|
-
- **@clayui/table:** sets striped by default ([2ee5787](https://github.com/liferay/clay/commit/2ee5787ef5c2bd83aa66632014577a797645081c))
|
|
16
|
-
|
|
17
|
-
## [3.106.1](https://github.com/liferay/clay/compare/v3.106.0...v3.106.1) (2023-10-26)
|
|
18
|
-
|
|
19
|
-
**Note:** Version bump only for package @clayui/table
|
|
20
|
-
|
|
21
|
-
# [3.106.0](https://github.com/liferay/clay/compare/v3.105.0...v3.106.0) (2023-10-25)
|
|
22
|
-
|
|
23
|
-
### Bug Fixes
|
|
24
|
-
|
|
25
|
-
- remove 'src' dir from being packaged with npm ([9383e8d](https://github.com/liferay/clay/commit/9383e8d8abb25ca3396e7c6e4dfa53bbc72691c5))
|
|
26
|
-
- use package's directory for baseDir when generating type ([0a5c710](https://github.com/liferay/clay/commit/0a5c710092f36243bc8d5487f70e831295715072))
|
|
27
|
-
|
|
28
|
-
### Features
|
|
29
|
-
|
|
30
|
-
- **@clayui/core:** adds controlled and uncontrolled expandable state ([56f3d8f](https://github.com/liferay/clay/commit/56f3d8f8c1afa43d8ca66973890948f9a78ab413))
|
|
31
|
-
|
|
32
|
-
# [3.56.0](https://github.com/liferay/clay/compare/v3.55.0...v3.56.0) (2022-05-09)
|
|
33
|
-
|
|
34
|
-
**Note:** Version bump only for package @clayui/table
|
|
35
|
-
|
|
36
|
-
# [3.40.0](https://github.com/liferay/clay/compare/v3.39.0...v3.40.0) (2021-11-17)
|
|
37
|
-
|
|
38
|
-
**Note:** Version bump only for package @clayui/table
|
|
39
|
-
|
|
40
|
-
# [3.39.0](https://github.com/liferay/clay/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
41
|
-
|
|
42
|
-
**Note:** Version bump only for package @clayui/table
|
|
43
|
-
|
|
44
|
-
# [3.38.0](https://github.com/liferay/clay/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
45
|
-
|
|
46
|
-
**Note:** Version bump only for package @clayui/table
|
|
47
|
-
|
|
48
|
-
# [3.37.0](https://github.com/liferay/clay/compare/v3.36.0...v3.37.0) (2021-10-06)
|
|
49
|
-
|
|
50
|
-
**Note:** Version bump only for package @clayui/table
|
|
51
|
-
|
|
52
|
-
# [3.32.0](https://github.com/liferay/clay/compare/v3.31.0...v3.32.0) (2021-07-28)
|
|
53
|
-
|
|
54
|
-
**Note:** Version bump only for package @clayui/table
|
|
55
|
-
|
|
56
|
-
# [3.29.0](https://github.com/liferay/clay/compare/v3.28.0...v3.29.0) (2021-05-28)
|
|
57
|
-
|
|
58
|
-
### Bug Fixes
|
|
59
|
-
|
|
60
|
-
- **@clayui/table:** Fixes lint error ([9dec4a4](https://github.com/liferay/clay/commit/9dec4a4))
|
|
61
|
-
|
|
62
|
-
### Features
|
|
63
|
-
|
|
64
|
-
- **@clayui/table:** Adds the `noWrap` prop to ClayTable.Cell ([da88293](https://github.com/liferay/clay/commit/da88293))
|
|
65
|
-
|
|
66
|
-
# [3.1.0](https://github.com/liferay/clay/compare/@clayui/table@3.0.7...@clayui/table@3.1.0) (2020-10-01)
|
|
67
|
-
|
|
68
|
-
### Features
|
|
69
|
-
|
|
70
|
-
- **clayui.com:** Move API tables to new files and update document tabs, rename files to use singular naming instead of plural, change mainTabURL of pagination-bar to a proper one ([d812ee9](https://github.com/liferay/clay/commit/d812ee9))
|
|
71
|
-
- **clayui.com:** Revert the change made to headings used, rename stickers and tables to sticker and table respectively, also change some wording ([791dabe](https://github.com/liferay/clay/commit/791dabe))
|
|
72
|
-
- **clayui.com:** Update content structure: Checkbox, Management Toolbar, Select Box, Sticker, Table & Tabs ([0fcd54a](https://github.com/liferay/clay/commit/0fcd54a))
|
|
73
|
-
- add displayName for all components ([cc3211d](https://github.com/liferay/clay/commit/cc3211d))
|
|
74
|
-
|
|
75
|
-
## [3.0.7](https://github.com/liferay/clay/compare/@clayui/table@4.0.0...@clayui/table@3.0.7) (2020-04-24)
|
|
76
|
-
|
|
77
|
-
### Bug Fixes
|
|
78
|
-
|
|
79
|
-
- Fix accessibility issues ([5e09db0](https://github.com/liferay/clay/commit/5e09db0))
|
|
80
|
-
|
|
81
|
-
# 4.0.0 (2020-02-28)
|
|
82
|
-
|
|
83
|
-
### Bug Fixes
|
|
84
|
-
|
|
85
|
-
- **@clayui/table:** Force `expanded` property for truncating texts because is only possible truncate our texts when the cell is expanded. ([e493a85](https://github.com/liferay/clay/commit/e493a85))
|
|
86
|
-
- **@clayui/table:** Set `false` as default on cell truncating behavior ([c34c410](https://github.com/liferay/clay/commit/c34c410))
|
|
87
|
-
- ignore case when sorting props ([7c9ae28](https://github.com/liferay/clay/commit/7c9ae28))
|
|
88
|
-
- normalize names of components ([3a0abea](https://github.com/liferay/clay/commit/3a0abea))
|
|
89
|
-
- update components to include 'types' and 'ts:main' package keys ([9e24b59](https://github.com/liferay/clay/commit/9e24b59))
|
|
90
|
-
- **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
|
|
91
|
-
- **table:** Positioning `table-responsive` classes on a parent `div` wrapping `table` ([57465dd](https://github.com/liferay/clay/commit/57465dd))
|
|
92
|
-
|
|
93
|
-
### Features
|
|
94
|
-
|
|
95
|
-
- update react-testing-library to be @testing-library/react ([bd78145](https://github.com/liferay/clay/commit/bd78145))
|
|
96
|
-
- **@clayui/table:** `bordered` property was renamed to `borderedColumns` due consistency and `borderless` property was added ([#2387](https://github.com/liferay/clay/commit/023ef53))
|
|
97
|
-
- **@clayui/table:** Adds `truncate` property to Table Cell ([441dd6a](https://github.com/liferay/clay/commit/441dd6a))
|
|
98
|
-
- **form:** add helper components for markup ([3ce63d4](https://github.com/liferay/clay/commit/3ce63d4))
|
|
99
|
-
|
|
100
|
-
### BREAKING CHANGES
|
|
101
|
-
|
|
102
|
-
- **@clayui/table:** A property was renamed.
|
|
103
|
-
|
|
104
|
-
## [3.0.6](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.3...@clayui/table@3.0.6) (2020-01-31)
|
|
105
|
-
|
|
106
|
-
### Bug Fixes
|
|
107
|
-
|
|
108
|
-
- **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
|
|
109
|
-
|
|
110
|
-
## [3.0.5](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.3...@clayui/table@3.0.5) (2020-01-20)
|
|
111
|
-
|
|
112
|
-
### Bug Fixes
|
|
113
|
-
|
|
114
|
-
- **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
|
|
115
|
-
|
|
116
|
-
## [3.0.4](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.3...@clayui/table@3.0.4) (2019-12-05)
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
- **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
|
|
121
|
-
|
|
122
|
-
## [3.0.3](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.2...@clayui/table@3.0.3) (2019-11-07)
|
|
123
|
-
|
|
124
|
-
**Note:** Version bump only for package @clayui/table
|
|
125
|
-
|
|
126
|
-
## [3.0.2](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.1...@clayui/table@3.0.2) (2019-11-01)
|
|
127
|
-
|
|
128
|
-
**Note:** Version bump only for package @clayui/table
|
|
129
|
-
|
|
130
|
-
## [3.0.1](https://github.com/liferay/clay/tree/master/packages/clay-table/compare/@clayui/table@3.0.0...@clayui/table@3.0.1) (2019-10-28)
|
|
131
|
-
|
|
132
|
-
**Note:** Version bump only for package @clayui/table
|