@atlaskit/dynamic-table 14.8.15 → 14.8.16

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/dynamic-table
2
2
 
3
+ ## 14.8.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
8
+
3
9
  ## 14.8.15
4
10
 
5
11
  ### Patch Changes
@@ -29,7 +29,7 @@ var _tableHead = _interopRequireDefault(require("./table-head"));
29
29
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
30
30
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
31
31
  var packageName = "@atlaskit/dynamic-table";
32
- var packageVersion = "14.8.15";
32
+ var packageVersion = "14.8.16";
33
33
  function toggleSortOrder(currentSortOrder) {
34
34
  switch (currentSortOrder) {
35
35
  case _constants.DESC:
@@ -33,10 +33,7 @@ exports.Container = Container;
33
33
  var spinnerBackdropStyles = (0, _react2.css)({
34
34
  display: 'flex',
35
35
  position: 'absolute',
36
- top: 0,
37
- right: 0,
38
- bottom: 0,
39
- left: 0,
36
+ inset: 0,
40
37
  alignItems: 'center',
41
38
  justifyContent: 'center',
42
39
  pointerEvents: 'none'
@@ -52,6 +49,7 @@ var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
52
49
  exports.SpinnerBackdrop = SpinnerBackdrop;
53
50
  var spinnerContainerStyles = (0, _react2.css)({
54
51
  position: 'relative',
52
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
55
53
  top: 0
56
54
  });
57
55
  var SpinnerContainer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
@@ -42,10 +42,7 @@ exports.ContentsContainer = ContentsContainer;
42
42
  var spinnerContainerStyles = (0, _react.css)({
43
43
  display: 'flex',
44
44
  position: 'absolute',
45
- top: 0,
46
- right: 0,
47
- bottom: 0,
48
- left: 0,
45
+ inset: 0,
49
46
  alignItems: 'center',
50
47
  justifyContent: 'center'
51
48
  });
@@ -69,15 +69,18 @@ var baseStyles = (0, _react2.css)({
69
69
  width: 0,
70
70
  height: 0,
71
71
  position: 'absolute',
72
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
72
73
  right: "-".concat(gridSize, "px"),
73
74
  border: '3px solid transparent',
74
75
  content: '""'
75
76
  },
76
77
  '&::before': {
78
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
77
79
  bottom: '8px',
78
80
  borderBottom: "3px solid ".concat(_theme.arrow.defaultColor)
79
81
  },
80
82
  '&::after': {
83
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
81
84
  bottom: 0,
82
85
  borderTop: "3px solid ".concat(_theme.arrow.defaultColor)
83
86
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.15",
3
+ "version": "14.8.16",
4
4
  "sideEffects": false
5
5
  }
@@ -14,7 +14,7 @@ import ManagedPagination from './managed-pagination';
14
14
  import RankableTableBody from './rankable/body';
15
15
  import TableHead from './table-head';
16
16
  const packageName = "@atlaskit/dynamic-table";
17
- const packageVersion = "14.8.15";
17
+ const packageVersion = "14.8.16";
18
18
  function toggleSortOrder(currentSortOrder) {
19
19
  switch (currentSortOrder) {
20
20
  case DESC:
@@ -25,10 +25,7 @@ export const Container = props => {
25
25
  const spinnerBackdropStyles = css({
26
26
  display: 'flex',
27
27
  position: 'absolute',
28
- top: 0,
29
- right: 0,
30
- bottom: 0,
31
- left: 0,
28
+ inset: 0,
32
29
  alignItems: 'center',
33
30
  justifyContent: 'center',
34
31
  pointerEvents: 'none'
@@ -42,6 +39,7 @@ export const SpinnerBackdrop = ({
42
39
  }, children);
43
40
  const spinnerContainerStyles = css({
44
41
  position: 'relative',
42
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
45
43
  top: 0
46
44
  });
47
45
  export const SpinnerContainer = /*#__PURE__*/forwardRef(({
@@ -31,10 +31,7 @@ export const ContentsContainer = ({
31
31
  const spinnerContainerStyles = css({
32
32
  display: 'flex',
33
33
  position: 'absolute',
34
- top: 0,
35
- right: 0,
36
- bottom: 0,
37
- left: 0,
34
+ inset: 0,
38
35
  alignItems: 'center',
39
36
  justifyContent: 'center'
40
37
  });
@@ -56,15 +56,18 @@ const baseStyles = css({
56
56
  width: 0,
57
57
  height: 0,
58
58
  position: 'absolute',
59
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
59
60
  right: `-${gridSize}px`,
60
61
  border: '3px solid transparent',
61
62
  content: '""'
62
63
  },
63
64
  '&::before': {
65
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
64
66
  bottom: '8px',
65
67
  borderBottom: `3px solid ${arrow.defaultColor}`
66
68
  },
67
69
  '&::after': {
70
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
68
71
  bottom: 0,
69
72
  borderTop: `3px solid ${arrow.defaultColor}`
70
73
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.15",
3
+ "version": "14.8.16",
4
4
  "sideEffects": false
5
5
  }
@@ -22,7 +22,7 @@ import ManagedPagination from './managed-pagination';
22
22
  import RankableTableBody from './rankable/body';
23
23
  import TableHead from './table-head';
24
24
  var packageName = "@atlaskit/dynamic-table";
25
- var packageVersion = "14.8.15";
25
+ var packageVersion = "14.8.16";
26
26
  function toggleSortOrder(currentSortOrder) {
27
27
  switch (currentSortOrder) {
28
28
  case DESC:
@@ -25,10 +25,7 @@ export var Container = function Container(props) {
25
25
  var spinnerBackdropStyles = css({
26
26
  display: 'flex',
27
27
  position: 'absolute',
28
- top: 0,
29
- right: 0,
30
- bottom: 0,
31
- left: 0,
28
+ inset: 0,
32
29
  alignItems: 'center',
33
30
  justifyContent: 'center',
34
31
  pointerEvents: 'none'
@@ -43,6 +40,7 @@ export var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
43
40
  };
44
41
  var spinnerContainerStyles = css({
45
42
  position: 'relative',
43
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
46
44
  top: 0
47
45
  });
48
46
  export var SpinnerContainer = /*#__PURE__*/forwardRef(function (_ref2, ref) {
@@ -32,10 +32,7 @@ export var ContentsContainer = function ContentsContainer(_ref2) {
32
32
  var spinnerContainerStyles = css({
33
33
  display: 'flex',
34
34
  position: 'absolute',
35
- top: 0,
36
- right: 0,
37
- bottom: 0,
38
- left: 0,
35
+ inset: 0,
39
36
  alignItems: 'center',
40
37
  justifyContent: 'center'
41
38
  });
@@ -61,15 +61,18 @@ var baseStyles = css({
61
61
  width: 0,
62
62
  height: 0,
63
63
  position: 'absolute',
64
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
64
65
  right: "-".concat(gridSize, "px"),
65
66
  border: '3px solid transparent',
66
67
  content: '""'
67
68
  },
68
69
  '&::before': {
70
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
69
71
  bottom: '8px',
70
72
  borderBottom: "3px solid ".concat(arrow.defaultColor)
71
73
  },
72
74
  '&::after': {
75
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
73
76
  bottom: 0,
74
77
  borderTop: "3px solid ".concat(arrow.defaultColor)
75
78
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.15",
3
+ "version": "14.8.16",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.15",
3
+ "version": "14.8.16",
4
4
  "description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"