@longline/aqua-ui 1.0.209 → 1.0.210

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.
@@ -94,6 +94,9 @@ var TableBase = function (_a) {
94
94
  }
95
95
  }
96
96
  }, [activeRef]);
97
+ // Show no-data element only after an additional render tick. Race conditions
98
+ // in evaluating multiple states in ListView's user can result in a situation
99
+ // where data is present, and yet "no data" appears.
97
100
  React.useEffect(function () {
98
101
  var _a;
99
102
  if ((!Array.isArray(props.data) || ((_a = props.data) === null || _a === void 0 ? void 0 : _a.length) === 0) && !props.ghost) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longline/aqua-ui",
3
- "version": "1.0.209",
3
+ "version": "1.0.210",
4
4
  "description": "AquaUI",
5
5
  "author": "Alexander van Oostenrijk / Longline Environment",
6
6
  "license": "Commercial",
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { createGlobalStyle } from 'styled-components';
6
- var StyleBase = createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\n body {\n font-family: Roboto;\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n color: ", ";\n }\n\n b, strong {\n font-weight: 700;\n }\n\n i, em {\n font-style: italic;\n }\n\n small, sub, sup { font-size: .83em; }\n sub { vertical-align: sub; }\n sup { vertical-align: super; }\n"], ["\n\n body {\n font-family: Roboto;\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n color: ", ";\n }\n\n b, strong {\n font-weight: 700;\n }\n\n i, em {\n font-style: italic;\n }\n\n small, sub, sup { font-size: .83em; }\n sub { vertical-align: sub; }\n sup { vertical-align: super; }\n"])), function (p) { return p.theme.colors.font; });
6
+ var StyleBase = createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\n body {\n font-family: Roboto;\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n color: ", ";\n }\n\n b, strong {\n font-weight: 700;\n }\n\n i, em {\n font-style: italic;\n }\n\n a, a:visited, a:active, a:link {\n color: ", ";\n }\n\n small, sub, sup { font-size: .83em; }\n sub { vertical-align: sub; }\n sup { vertical-align: super; }\n"], ["\n\n body {\n font-family: Roboto;\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n color: ", ";\n }\n\n b, strong {\n font-weight: 700;\n }\n\n i, em {\n font-style: italic;\n }\n\n a, a:visited, a:active, a:link {\n color: ", ";\n }\n\n small, sub, sup { font-size: .83em; }\n sub { vertical-align: sub; }\n sup { vertical-align: super; }\n"])), function (p) { return p.theme.colors.font; }, function (p) { return p.theme.colors.primary[1]; });
7
7
  export { StyleBase };
8
8
  var templateObject_1;