@realiizlabs/admin 0.15.3 → 0.15.4

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.
@@ -1116,7 +1116,7 @@ function makeHandlers(ctx) {
1116
1116
  }
1117
1117
 
1118
1118
  // src/version.ts
1119
- var ADMIN_VERSION = "0.15.3" ;
1119
+ var ADMIN_VERSION = "0.15.4" ;
1120
1120
 
1121
1121
  // src/studio/update.ts
1122
1122
  var PACKAGE_NAME = "@realiizlabs/admin";
@@ -1104,7 +1104,7 @@ function makeHandlers(ctx) {
1104
1104
  }
1105
1105
 
1106
1106
  // src/version.ts
1107
- var ADMIN_VERSION = "0.15.3" ;
1107
+ var ADMIN_VERSION = "0.15.4" ;
1108
1108
 
1109
1109
  // src/studio/update.ts
1110
1110
  var PACKAGE_NAME = "@realiizlabs/admin";
@@ -716,7 +716,7 @@ function Tabs({ options, value, onChange, label = "Sections" }) {
716
716
  }
717
717
 
718
718
  // src/version.ts
719
- var ADMIN_VERSION = "0.15.3" ;
719
+ var ADMIN_VERSION = "0.15.4" ;
720
720
 
721
721
  // src/studio-ui/css.ts
722
722
  var STUDIO_CSS = `
@@ -1010,7 +1010,13 @@ function UpdateBody({ update, onLater, compact = false }) {
1010
1010
  ];
1011
1011
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `rz-update${compact ? " rz-update--strip" : ""}`, role: "status", children: [
1012
1012
  /* @__PURE__ */ jsxRuntime.jsx(Steps, { steps }),
1013
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rz-update__done", children: live ? `Studio ${update.version} is live. Reload and the version at the foot of the sidebar will change.` : "The version shown in Studio changes once the site has rebuilt." })
1013
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rz-update__done", children: live ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1014
+ "Studio ",
1015
+ update.version,
1016
+ " is live. ",
1017
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "rz-update__link", onClick: () => window.location.reload(), children: "Reload Studio" }),
1018
+ " to start using it \u2014 the version at the foot of the sidebar will change."
1019
+ ] }) : "Nothing to do meanwhile \u2014 keep working. The website is rebuilding with the new Studio; the version at the foot of the sidebar changes when it's done, in about two minutes." })
1014
1020
  ] });
1015
1021
  }
1016
1022
  const problem = outcome && outcome.state !== "pending" ? outcome.state === "stale" ? "The site changed since the checks ran. Try again in a minute." : outcome.state === "red" ? `The checks failed${outcome.failingCheck ? ` (${outcome.failingCheck})` : ""}. Your web team has been able to see this.` : outcome.state === "error" ? outcome.message : null : null;