@clayui/table 3.106.0 → 3.108.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/CHANGELOG.md ADDED
@@ -0,0 +1,128 @@
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.108.0](https://github.com/liferay/clay/compare/v3.107.1...v3.108.0) (2023-12-12)
7
+
8
+ ### Features
9
+
10
+ - **@clayui/table:** adds the border to the head by default ([fb2cbdb](https://github.com/liferay/clay/commit/fb2cbdb7ac749756ff4c1749056af54bed9441fe))
11
+ - **@clayui/table:** sets striped by default ([2ee5787](https://github.com/liferay/clay/commit/2ee5787ef5c2bd83aa66632014577a797645081c))
12
+
13
+ ## [3.106.1](https://github.com/liferay/clay/compare/v3.106.0...v3.106.1) (2023-10-26)
14
+
15
+ **Note:** Version bump only for package @clayui/table
16
+
17
+ # [3.106.0](https://github.com/liferay/clay/compare/v3.105.0...v3.106.0) (2023-10-25)
18
+
19
+ ### Bug Fixes
20
+
21
+ - remove 'src' dir from being packaged with npm ([9383e8d](https://github.com/liferay/clay/commit/9383e8d8abb25ca3396e7c6e4dfa53bbc72691c5))
22
+ - use package's directory for baseDir when generating type ([0a5c710](https://github.com/liferay/clay/commit/0a5c710092f36243bc8d5487f70e831295715072))
23
+
24
+ ### Features
25
+
26
+ - **@clayui/core:** adds controlled and uncontrolled expandable state ([56f3d8f](https://github.com/liferay/clay/commit/56f3d8f8c1afa43d8ca66973890948f9a78ab413))
27
+
28
+ # [3.56.0](https://github.com/liferay/clay/compare/v3.55.0...v3.56.0) (2022-05-09)
29
+
30
+ **Note:** Version bump only for package @clayui/table
31
+
32
+ # [3.40.0](https://github.com/liferay/clay/compare/v3.39.0...v3.40.0) (2021-11-17)
33
+
34
+ **Note:** Version bump only for package @clayui/table
35
+
36
+ # [3.39.0](https://github.com/liferay/clay/compare/v3.38.0...v3.39.0) (2021-10-29)
37
+
38
+ **Note:** Version bump only for package @clayui/table
39
+
40
+ # [3.38.0](https://github.com/liferay/clay/compare/v3.37.0...v3.38.0) (2021-10-22)
41
+
42
+ **Note:** Version bump only for package @clayui/table
43
+
44
+ # [3.37.0](https://github.com/liferay/clay/compare/v3.36.0...v3.37.0) (2021-10-06)
45
+
46
+ **Note:** Version bump only for package @clayui/table
47
+
48
+ # [3.32.0](https://github.com/liferay/clay/compare/v3.31.0...v3.32.0) (2021-07-28)
49
+
50
+ **Note:** Version bump only for package @clayui/table
51
+
52
+ # [3.29.0](https://github.com/liferay/clay/compare/v3.28.0...v3.29.0) (2021-05-28)
53
+
54
+ ### Bug Fixes
55
+
56
+ - **@clayui/table:** Fixes lint error ([9dec4a4](https://github.com/liferay/clay/commit/9dec4a4))
57
+
58
+ ### Features
59
+
60
+ - **@clayui/table:** Adds the `noWrap` prop to ClayTable.Cell ([da88293](https://github.com/liferay/clay/commit/da88293))
61
+
62
+ # [3.1.0](https://github.com/liferay/clay/compare/@clayui/table@3.0.7...@clayui/table@3.1.0) (2020-10-01)
63
+
64
+ ### Features
65
+
66
+ - **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))
67
+ - **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))
68
+ - **clayui.com:** Update content structure: Checkbox, Management Toolbar, Select Box, Sticker, Table & Tabs ([0fcd54a](https://github.com/liferay/clay/commit/0fcd54a))
69
+ - add displayName for all components ([cc3211d](https://github.com/liferay/clay/commit/cc3211d))
70
+
71
+ ## [3.0.7](https://github.com/liferay/clay/compare/@clayui/table@4.0.0...@clayui/table@3.0.7) (2020-04-24)
72
+
73
+ ### Bug Fixes
74
+
75
+ - Fix accessibility issues ([5e09db0](https://github.com/liferay/clay/commit/5e09db0))
76
+
77
+ # 4.0.0 (2020-02-28)
78
+
79
+ ### Bug Fixes
80
+
81
+ - **@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))
82
+ - **@clayui/table:** Set `false` as default on cell truncating behavior ([c34c410](https://github.com/liferay/clay/commit/c34c410))
83
+ - ignore case when sorting props ([7c9ae28](https://github.com/liferay/clay/commit/7c9ae28))
84
+ - normalize names of components ([3a0abea](https://github.com/liferay/clay/commit/3a0abea))
85
+ - update components to include 'types' and 'ts:main' package keys ([9e24b59](https://github.com/liferay/clay/commit/9e24b59))
86
+ - **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
87
+ - **table:** Positioning `table-responsive` classes on a parent `div` wrapping `table` ([57465dd](https://github.com/liferay/clay/commit/57465dd))
88
+
89
+ ### Features
90
+
91
+ - update react-testing-library to be @testing-library/react ([bd78145](https://github.com/liferay/clay/commit/bd78145))
92
+ - **@clayui/table:** `bordered` property was renamed to `borderedColumns` due consistency and `borderless` property was added ([#2387](https://github.com/liferay/clay/commit/023ef53))
93
+ - **@clayui/table:** Adds `truncate` property to Table Cell ([441dd6a](https://github.com/liferay/clay/commit/441dd6a))
94
+ - **form:** add helper components for markup ([3ce63d4](https://github.com/liferay/clay/commit/3ce63d4))
95
+
96
+ ### BREAKING CHANGES
97
+
98
+ - **@clayui/table:** A property was renamed.
99
+
100
+ ## [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)
101
+
102
+ ### Bug Fixes
103
+
104
+ - **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
105
+
106
+ ## [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)
107
+
108
+ ### Bug Fixes
109
+
110
+ - **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
111
+
112
+ ## [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)
113
+
114
+ ### Bug Fixes
115
+
116
+ - **table:** add forwardRef to table components ([189a3dc](https://github.com/liferay/clay/commit/189a3dc))
117
+
118
+ ## [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)
119
+
120
+ **Note:** Version bump only for package @clayui/table
121
+
122
+ ## [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)
123
+
124
+ **Note:** Version bump only for package @clayui/table
125
+
126
+ ## [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)
127
+
128
+ **Note:** Version bump only for package @clayui/table
package/lib/index.js CHANGED
@@ -45,7 +45,8 @@ var ClayTable = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
45
45
  _ref$responsive = _ref.responsive,
46
46
  responsive = _ref$responsive === void 0 ? true : _ref$responsive,
47
47
  responsiveSize = _ref.responsiveSize,
48
- striped = _ref.striped,
48
+ _ref$striped = _ref.striped,
49
+ striped = _ref$striped === void 0 ? true : _ref$striped,
49
50
  tableVerticalAlignment = _ref.tableVerticalAlignment,
50
51
  otherProps = _objectWithoutProperties(_ref, _excluded);
51
52
 
@@ -60,7 +61,7 @@ var ClayTable = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
60
61
  'table-bordered': borderedColumns,
61
62
  'table-heading-nowrap': headingNoWrap,
62
63
  'table-hover': hover,
63
- 'table-list': !borderless,
64
+ 'table-list table-head-bordered': !borderless,
64
65
  'table-nowrap': noWrap,
65
66
  'table-striped': striped
66
67
  }, _defineProperty(_classNames2, "tbody-valign-".concat(bodyVerticalAlignment), bodyVerticalAlignment), _defineProperty(_classNames2, "thead-valign-".concat(headVerticalAlignment), headVerticalAlignment), _defineProperty(_classNames2, "table-valign-".concat(tableVerticalAlignment), tableVerticalAlignment), _classNames2), className)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clayui/table",
3
- "version": "3.106.0",
3
+ "version": "3.108.0",
4
4
  "description": "ClayTable component",
5
5
  "license": "BSD-3-Clause",
6
6
  "repository": "https://github.com/liferay/clay",
@@ -35,5 +35,5 @@
35
35
  "browserslist": [
36
36
  "extends browserslist-config-clay"
37
37
  ],
38
- "gitHead": "ccc1b9d19b37651bd12724f2d40da41de0c9cb36"
38
+ "gitHead": "411bce66d4ea2f3cb1c62428d5347cb18219a051"
39
39
  }