@atlaskit/dynamic-table 14.8.1 → 14.8.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f9cd9e55e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd9e55e43) - Update to disabled tokens which slightly affects the opacity in disabled states
8
+
3
9
  ## 14.8.1
4
10
 
5
11
  ### Patch Changes
@@ -258,5 +258,5 @@ exports.default = LoadingContainerAdvanced;
258
258
  (0, _defineProperty2.default)(LoadingContainerAdvanced, "defaultProps", {
259
259
  isLoading: true,
260
260
  spinnerSize: _constants.LARGE,
261
- contentsOpacity: _constants.LOADING_CONTENTS_OPACITY
261
+ contentsOpacity: "var(--ds-opacity-loading, ".concat("".concat(_constants.LOADING_CONTENTS_OPACITY), ")")
262
262
  });
@@ -54,7 +54,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
54
54
  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; } }
55
55
 
56
56
  var packageName = "@atlaskit/dynamic-table";
57
- var packageVersion = "14.8.1";
57
+ var packageVersion = "14.8.2";
58
58
 
59
59
  function toggleSortOrder(currentSortOrder) {
60
60
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.1",
3
+ "version": "14.8.2",
4
4
  "sideEffects": false
5
5
  }
@@ -213,5 +213,5 @@ export default class LoadingContainerAdvanced extends React.Component {
213
213
  _defineProperty(LoadingContainerAdvanced, "defaultProps", {
214
214
  isLoading: true,
215
215
  spinnerSize: LARGE,
216
- contentsOpacity: LOADING_CONTENTS_OPACITY
216
+ contentsOpacity: `var(--ds-opacity-loading, ${`${LOADING_CONTENTS_OPACITY}`})`
217
217
  });
@@ -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.1";
17
+ const packageVersion = "14.8.2";
18
18
 
19
19
  function toggleSortOrder(currentSortOrder) {
20
20
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.1",
3
+ "version": "14.8.2",
4
4
  "sideEffects": false
5
5
  }
@@ -254,7 +254,7 @@ var LoadingContainerAdvanced = /*#__PURE__*/function (_React$Component) {
254
254
  _defineProperty(LoadingContainerAdvanced, "defaultProps", {
255
255
  isLoading: true,
256
256
  spinnerSize: LARGE,
257
- contentsOpacity: LOADING_CONTENTS_OPACITY
257
+ contentsOpacity: "var(--ds-opacity-loading, ".concat("".concat(LOADING_CONTENTS_OPACITY), ")")
258
258
  });
259
259
 
260
260
  export { LoadingContainerAdvanced as default };
@@ -25,7 +25,7 @@ import ManagedPagination from './managed-pagination';
25
25
  import RankableTableBody from './rankable/body';
26
26
  import TableHead from './table-head';
27
27
  var packageName = "@atlaskit/dynamic-table";
28
- var packageVersion = "14.8.1";
28
+ var packageVersion = "14.8.2";
29
29
 
30
30
  function toggleSortOrder(currentSortOrder) {
31
31
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.1",
3
+ "version": "14.8.2",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,7 @@ export interface LoadingContainerAdvancedProps {
4
4
  children: React.ReactElement<any>;
5
5
  isLoading?: boolean;
6
6
  spinnerSize?: SpinnerSizeType;
7
- contentsOpacity: number;
7
+ contentsOpacity: number | string;
8
8
  targetRef?: () => HTMLDivElement | undefined;
9
9
  testId?: string;
10
10
  }
@@ -14,7 +14,7 @@ export default class LoadingContainerAdvanced extends React.Component<LoadingCon
14
14
  static defaultProps: {
15
15
  isLoading: boolean;
16
16
  spinnerSize: string;
17
- contentsOpacity: number;
17
+ contentsOpacity: "var(--ds-opacity-loading)";
18
18
  };
19
19
  componentDidMount: () => void;
20
20
  UNSAFE_componentWillReceiveProps: (nextProps: LoadingContainerAdvancedProps) => void;
@@ -4,7 +4,7 @@ export interface LoadingContainerAdvancedProps {
4
4
  children: React.ReactElement<any>;
5
5
  isLoading?: boolean;
6
6
  spinnerSize?: SpinnerSizeType;
7
- contentsOpacity: number;
7
+ contentsOpacity: number | string;
8
8
  targetRef?: () => HTMLDivElement | undefined;
9
9
  testId?: string;
10
10
  }
@@ -14,7 +14,7 @@ export default class LoadingContainerAdvanced extends React.Component<LoadingCon
14
14
  static defaultProps: {
15
15
  isLoading: boolean;
16
16
  spinnerSize: string;
17
- contentsOpacity: number;
17
+ contentsOpacity: "var(--ds-opacity-loading)";
18
18
  };
19
19
  componentDidMount: () => void;
20
20
  UNSAFE_componentWillReceiveProps: (nextProps: LoadingContainerAdvancedProps) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.1",
3
+ "version": "14.8.2",
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/"