@riboseinc/anafero-cli 0.0.36 → 0.0.38

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/build-site.mjs CHANGED
@@ -316084,6 +316084,9 @@ var BrowserBar = function({
316084
316084
  setInitialRender(false);
316085
316085
  }, []);
316086
316086
  const showToolbar = onActivateBrowsingMode || activeBrowsingMode;
316087
+ (0, import_react124.useEffect)(() => {
316088
+ console.debug("Load progress", loadProgress);
316089
+ }, [loadProgress]);
316087
316090
  return /* @__PURE__ */ import_react124.default.createElement($7167f8da3cce35e4$export$2881499e37b75b9a, { theme: $bf24a13e98395dd3$export$bca14c5b3b88a9c9, ...providerProps }, /* @__PURE__ */ import_react124.default.createElement("div", { className: style_default.browserBar }, /* @__PURE__ */ import_react124.default.createElement("header", { className: style_default.browserBarTitle }, /* @__PURE__ */ import_react124.default.createElement("h1", null, title)), showToolbar ? /* @__PURE__ */ import_react124.default.createElement(
316088
316091
  $13c3c67164f4d5be$export$4c260019440d418f,
316089
316092
  {
@@ -316121,7 +316124,13 @@ var BrowserBar = function({
316121
316124
  {
316122
316125
  "aria-label": "Loading\u2026",
316123
316126
  minValue: 0,
316124
- isIndeterminate: loadProgress.total - 0.1 < loadProgress.total - loadProgress.done || loadProgress.total - loadProgress.done < 0.1,
316127
+ isIndeterminate: (
316128
+ // Set to indeterminate if:
316129
+ // No total:
316130
+ !loadProgress.total || // Stuck in almost ending:
316131
+ loadProgress.total - 0.1 < loadProgress.done || // Stuck in just beginning:
316132
+ loadProgress.total - loadProgress.done < 0.1
316133
+ ),
316125
316134
  maxValue: loadProgress.total,
316126
316135
  value: loadProgress.done
316127
316136
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riboseinc/anafero-cli",
3
3
  "type": "module",
4
- "version": "0.0.36",
4
+ "version": "0.0.38",
5
5
  "packageManager": "yarn@4.5.0",
6
6
  "bin": {
7
7
  "build-site": "build-site.mjs"
Binary file
Binary file