carbon-react 114.10.0 → 114.10.1

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.
@@ -65,9 +65,9 @@ const FlatTable = ({
65
65
  colorTheme,
66
66
  size
67
67
  }
68
- }, children))), footer && /*#__PURE__*/React.createElement(StyledFlatTableFooter, {
68
+ }, children)), footer && /*#__PURE__*/React.createElement(StyledFlatTableFooter, {
69
69
  hasStickyFooter: hasStickyFooter
70
- }, footer)));
70
+ }, footer))));
71
71
  };
72
72
 
73
73
  FlatTable.propTypes = { ...marginPropTypes,
@@ -12,6 +12,9 @@ const HEADER_OVERLAY_INCREMENT = 3;
12
12
  const STICKY_FOOTER_OVERLAY_INCREMENT = 1;
13
13
  const ROW_HEADER_OVERLAY_INCREMENT = 5;
14
14
  const StyledTableContainer = styled.div`
15
+ display: grid;
16
+ grid-auto-rows: min-content;
17
+
15
18
  ${({
16
19
  width,
17
20
  overflowX
@@ -25,7 +28,6 @@ const StyledFlatTable = styled.table`
25
28
  border-collapse: separate;
26
29
  border-radius: 0px;
27
30
  border-spacing: 0;
28
- min-width: 100%;
29
31
  width: 100%;
30
32
 
31
33
  ${({
@@ -82,9 +82,9 @@ const FlatTable = ({
82
82
  colorTheme,
83
83
  size
84
84
  }
85
- }, children))), footer && /*#__PURE__*/_react.default.createElement(_flatTable.StyledFlatTableFooter, {
85
+ }, children)), footer && /*#__PURE__*/_react.default.createElement(_flatTable.StyledFlatTableFooter, {
86
86
  hasStickyFooter: hasStickyFooter
87
- }, footer)));
87
+ }, footer))));
88
88
  };
89
89
 
90
90
  FlatTable.propTypes = { ...marginPropTypes,
@@ -35,6 +35,9 @@ const HEADER_OVERLAY_INCREMENT = 3;
35
35
  const STICKY_FOOTER_OVERLAY_INCREMENT = 1;
36
36
  const ROW_HEADER_OVERLAY_INCREMENT = 5;
37
37
  const StyledTableContainer = _styledComponents.default.div`
38
+ display: grid;
39
+ grid-auto-rows: min-content;
40
+
38
41
  ${({
39
42
  width,
40
43
  overflowX
@@ -49,7 +52,6 @@ const StyledFlatTable = _styledComponents.default.table`
49
52
  border-collapse: separate;
50
53
  border-radius: 0px;
51
54
  border-spacing: 0;
52
- min-width: 100%;
53
55
  width: 100%;
54
56
 
55
57
  ${({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "114.10.0",
3
+ "version": "114.10.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",