@gallop.software/studio 1.2.6 → 1.2.8
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/dist/{StudioUI-2JFHZMRY.mjs → StudioUI-2JOOX5WQ.mjs} +35 -13
- package/dist/{StudioUI-2JFHZMRY.mjs.map → StudioUI-2JOOX5WQ.mjs.map} +1 -1
- package/dist/{StudioUI-56DSKEMQ.js → StudioUI-2MWJ4M3B.js} +35 -13
- package/dist/StudioUI-2MWJ4M3B.js.map +1 -0
- package/dist/handlers/index.js +20 -16
- package/dist/handlers/index.js.map +1 -1
- package/dist/handlers/index.mjs +6 -2
- package/dist/handlers/index.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/StudioUI-56DSKEMQ.js.map +0 -1
|
@@ -4367,15 +4367,20 @@ var styles8 = {
|
|
|
4367
4367
|
color: ${colors.text};
|
|
4368
4368
|
text-align: left;
|
|
4369
4369
|
|
|
4370
|
-
&:hover {
|
|
4370
|
+
&:hover:not(:disabled) {
|
|
4371
4371
|
background-color: ${colors.surfaceHover};
|
|
4372
4372
|
border-color: ${colors.borderHover};
|
|
4373
4373
|
}
|
|
4374
|
+
|
|
4375
|
+
&:disabled {
|
|
4376
|
+
opacity: 0.5;
|
|
4377
|
+
cursor: not-allowed;
|
|
4378
|
+
}
|
|
4374
4379
|
`,
|
|
4375
4380
|
actionBtnDanger: css8`
|
|
4376
4381
|
color: ${colors.danger};
|
|
4377
4382
|
|
|
4378
|
-
&:hover {
|
|
4383
|
+
&:hover:not(:disabled) {
|
|
4379
4384
|
background-color: ${colors.dangerLight};
|
|
4380
4385
|
border-color: ${colors.danger};
|
|
4381
4386
|
}
|
|
@@ -4750,16 +4755,24 @@ function StudioDetailView() {
|
|
|
4750
4755
|
] })
|
|
4751
4756
|
] }),
|
|
4752
4757
|
/* @__PURE__ */ jsxs8("div", { css: styles8.actions, children: [
|
|
4753
|
-
/* @__PURE__ */ jsxs8(
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4758
|
+
/* @__PURE__ */ jsxs8(
|
|
4759
|
+
"button",
|
|
4760
|
+
{
|
|
4761
|
+
css: styles8.actionBtn,
|
|
4762
|
+
onClick: () => setShowRenameModal(true),
|
|
4763
|
+
disabled: focusedItem.isProtected,
|
|
4764
|
+
children: [
|
|
4765
|
+
/* @__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" }) }),
|
|
4766
|
+
"Rename"
|
|
4767
|
+
]
|
|
4768
|
+
}
|
|
4769
|
+
),
|
|
4757
4770
|
/* @__PURE__ */ jsxs8(
|
|
4758
4771
|
"button",
|
|
4759
4772
|
{
|
|
4760
4773
|
css: styles8.actionBtn,
|
|
4761
4774
|
onClick: () => setShowMoveModal(true),
|
|
4762
|
-
disabled: moving,
|
|
4775
|
+
disabled: moving || focusedItem.isProtected,
|
|
4763
4776
|
children: [
|
|
4764
4777
|
/* @__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: "M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4" }) }),
|
|
4765
4778
|
moving ? "Moving..." : "Move"
|
|
@@ -4771,7 +4784,7 @@ function StudioDetailView() {
|
|
|
4771
4784
|
{
|
|
4772
4785
|
css: styles8.actionBtn,
|
|
4773
4786
|
onClick: handleSync,
|
|
4774
|
-
disabled: pushing || focusedItem.cdnPushed && !focusedItem.isRemote,
|
|
4787
|
+
disabled: pushing || focusedItem.isProtected || focusedItem.cdnPushed && !focusedItem.isRemote,
|
|
4775
4788
|
title: focusedItem.cdnPushed && !focusedItem.isRemote ? "Already in R2" : void 0,
|
|
4776
4789
|
children: [
|
|
4777
4790
|
/* @__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" }) }),
|
|
@@ -4784,16 +4797,25 @@ function StudioDetailView() {
|
|
|
4784
4797
|
{
|
|
4785
4798
|
css: styles8.actionBtn,
|
|
4786
4799
|
onClick: () => setShowProcessConfirm(true),
|
|
4800
|
+
disabled: focusedItem.isProtected,
|
|
4787
4801
|
children: [
|
|
4788
4802
|
/* @__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" }) }),
|
|
4789
4803
|
"Process Image"
|
|
4790
4804
|
]
|
|
4791
4805
|
}
|
|
4792
4806
|
),
|
|
4793
|
-
/* @__PURE__ */ jsxs8(
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4807
|
+
/* @__PURE__ */ jsxs8(
|
|
4808
|
+
"button",
|
|
4809
|
+
{
|
|
4810
|
+
css: [styles8.actionBtn, styles8.actionBtnDanger],
|
|
4811
|
+
onClick: () => setShowDeleteConfirm(true),
|
|
4812
|
+
disabled: focusedItem.isProtected,
|
|
4813
|
+
children: [
|
|
4814
|
+
/* @__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" }) }),
|
|
4815
|
+
"Delete"
|
|
4816
|
+
]
|
|
4817
|
+
}
|
|
4818
|
+
)
|
|
4797
4819
|
] })
|
|
4798
4820
|
] })
|
|
4799
4821
|
] })
|
|
@@ -5763,4 +5785,4 @@ export {
|
|
|
5763
5785
|
StudioUI,
|
|
5764
5786
|
StudioUI_default as default
|
|
5765
5787
|
};
|
|
5766
|
-
//# sourceMappingURL=StudioUI-
|
|
5788
|
+
//# sourceMappingURL=StudioUI-2JOOX5WQ.mjs.map
|