@gallop.software/studio 0.1.102 → 0.1.103

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.
@@ -4480,7 +4480,7 @@ function StudioDetailView() {
4480
4480
  ] }),
4481
4481
  /* @__PURE__ */ jsxs8("div", { css: styles8.infoRow, children: [
4482
4482
  /* @__PURE__ */ jsx8("span", { css: styles8.infoLabel, children: "CDN Status" }),
4483
- /* @__PURE__ */ jsx8("span", { css: styles8.infoValue, children: focusedItem.cdnPushed ? "Pushed" : "Not pushed" })
4483
+ /* @__PURE__ */ jsx8("span", { css: styles8.infoValue, children: focusedItem.cdnPushed ? focusedItem.isRemote ? "Remote" : "Pushed" : "Local" })
4484
4484
  ] }),
4485
4485
  /* @__PURE__ */ jsxs8("div", { css: styles8.infoRow, children: [
4486
4486
  /* @__PURE__ */ jsx8("span", { css: styles8.infoLabel, children: "URL" }),
@@ -4502,14 +4502,32 @@ function StudioDetailView() {
4502
4502
  /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" }) }),
4503
4503
  "Rename"
4504
4504
  ] }),
4505
- /* @__PURE__ */ jsxs8("button", { css: styles8.actionBtn, onClick: handleSync, disabled: pushing, children: [
4506
- /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" }) }),
4507
- pushing ? "Pushing..." : "Push to CDN"
4508
- ] }),
4509
- /* @__PURE__ */ jsxs8("button", { css: styles8.actionBtn, onClick: () => setShowProcessConfirm(true), children: [
4510
- /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" }) }),
4511
- "Process Image"
4512
- ] }),
4505
+ /* @__PURE__ */ jsxs8(
4506
+ "button",
4507
+ {
4508
+ css: styles8.actionBtn,
4509
+ onClick: handleSync,
4510
+ disabled: pushing || focusedItem.cdnPushed,
4511
+ title: focusedItem.cdnPushed ? "Already in cloud" : void 0,
4512
+ children: [
4513
+ /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" }) }),
4514
+ pushing ? "Pushing..." : "Push to CDN"
4515
+ ]
4516
+ }
4517
+ ),
4518
+ /* @__PURE__ */ jsxs8(
4519
+ "button",
4520
+ {
4521
+ css: styles8.actionBtn,
4522
+ onClick: () => setShowProcessConfirm(true),
4523
+ disabled: focusedItem.isRemote,
4524
+ title: focusedItem.isRemote ? "Cannot process remote images" : void 0,
4525
+ children: [
4526
+ /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" }) }),
4527
+ "Process Image"
4528
+ ]
4529
+ }
4530
+ ),
4513
4531
  /* @__PURE__ */ jsxs8("button", { css: [styles8.actionBtn, styles8.actionBtnDanger], onClick: () => setShowDeleteConfirm(true), children: [
4514
4532
  /* @__PURE__ */ jsx8("svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx8("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" }) }),
4515
4533
  "Delete"
@@ -5483,4 +5501,4 @@ export {
5483
5501
  StudioUI,
5484
5502
  StudioUI_default as default
5485
5503
  };
5486
- //# sourceMappingURL=StudioUI-Q6GGHBEH.mjs.map
5504
+ //# sourceMappingURL=StudioUI-24OSFA4A.mjs.map