@geotab/zenith 3.17.0-beta.0 → 3.17.0-beta.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.
@@ -21,7 +21,9 @@ const Waiting = ({ isLoading = false, delay = 400, hideOverlay = false, classNam
21
21
  // its coverage layer to the parent's scrollHeight would incorrectly block clicks below the spinner
22
22
  // and grow the parent's own scrollHeight on every re-measure (a feedback loop).
23
23
  const isInline = className.split(/\s+/).includes("zen-waiting--inline");
24
- const canMeasureCoverage = showWaiting && !isInline;
24
+ // Callers using hideOverlay intentionally keep the surrounding controls interactive (for
25
+ // example, the MiniMap address textarea while its preview is loading).
26
+ const canMeasureCoverage = showWaiting && !isInline && !hideOverlay;
25
27
  const measureCoverage = (0, react_1.useCallback)(() => {
26
28
  var _a;
27
29
  const parent = (_a = waitingRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
@@ -18,7 +18,9 @@ export const Waiting = ({ isLoading = false, delay = 400, hideOverlay = false, c
18
18
  // its coverage layer to the parent's scrollHeight would incorrectly block clicks below the spinner
19
19
  // and grow the parent's own scrollHeight on every re-measure (a feedback loop).
20
20
  const isInline = className.split(/\s+/).includes("zen-waiting--inline");
21
- const canMeasureCoverage = showWaiting && !isInline;
21
+ // Callers using hideOverlay intentionally keep the surrounding controls interactive (for
22
+ // example, the MiniMap address textarea while its preview is loading).
23
+ const canMeasureCoverage = showWaiting && !isInline && !hideOverlay;
22
24
  const measureCoverage = useCallback(() => {
23
25
  var _a;
24
26
  const parent = (_a = waitingRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
package/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "3.17.0-beta.0",
4
- "publishConfig": {
5
- "access": "public"
6
- },
3
+ "version": "3.17.0-beta.1",
7
4
  "description": "Zenith components library on React",
8
5
  "main": "dist/index.js",
9
6
  "types": "esm/index.d.ts",
@@ -159,5 +156,8 @@
159
156
  "minimatch@<9": {
160
157
  "brace-expansion": "^1.1.18"
161
158
  }
159
+ },
160
+ "publishConfig": {
161
+ "access": "public"
162
162
  }
163
163
  }