@gallop.software/studio 1.5.4 → 1.5.5

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.
@@ -3163,11 +3163,18 @@ var styles6 = {
3163
3163
  storedLabel: css6`
3164
3164
  display: flex;
3165
3165
  align-items: center;
3166
- gap: 4px;
3167
- font-size: ${fontSize.xs};
3168
- color: #f59e0b;
3169
3166
  margin: 2px 0 0 0;
3170
3167
  `,
3168
+ storedIconCloud: css6`
3169
+ width: 16px;
3170
+ height: 16px;
3171
+ color: #f59e0b;
3172
+ `,
3173
+ storedIconRemote: css6`
3174
+ width: 16px;
3175
+ height: 16px;
3176
+ color: #ef4444;
3177
+ `,
3171
3178
  globeIcon: css6`
3172
3179
  width: 18px;
3173
3180
  height: 18px;
@@ -3454,10 +3461,7 @@ function GridItem({ item, isSelected, onClick, onOpen, onGenerateThumbnail }) {
3454
3461
  item.fileCount,
3455
3462
  " files"
3456
3463
  ] })
3457
- ] }) : item.cdnPushed ? /* @__PURE__ */ jsxs6("p", { css: styles6.storedLabel, children: [
3458
- /* @__PURE__ */ jsx6("svg", { css: item.isRemote ? styles6.folderStatIconRemote : styles6.folderStatIconCloud, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: item.isRemote ? /* @__PURE__ */ jsx6("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" }) : /* @__PURE__ */ jsx6("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z" }) }),
3459
- "stored"
3460
- ] }) : item.size !== void 0 && /* @__PURE__ */ jsx6("p", { css: styles6.size, children: formatFileSize(item.size) })
3464
+ ] }) : item.cdnPushed ? /* @__PURE__ */ jsx6("p", { css: styles6.storedLabel, children: /* @__PURE__ */ jsx6("svg", { css: item.isRemote ? styles6.storedIconRemote : styles6.storedIconCloud, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: item.isRemote ? /* @__PURE__ */ jsx6("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" }) : /* @__PURE__ */ jsx6("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z" }) }) }) : item.size !== void 0 && /* @__PURE__ */ jsx6("p", { css: styles6.size, children: formatFileSize(item.size) })
3461
3465
  ] }) }) })
3462
3466
  ]
3463
3467
  }
@@ -3697,10 +3701,17 @@ var styles7 = {
3697
3701
  storedLabel: css7`
3698
3702
  display: flex;
3699
3703
  align-items: center;
3700
- gap: 4px;
3701
- font-size: ${fontSize.xs};
3704
+ `,
3705
+ storedIconCloud: css7`
3706
+ width: 16px;
3707
+ height: 16px;
3702
3708
  color: #f59e0b;
3703
3709
  `,
3710
+ storedIconRemote: css7`
3711
+ width: 16px;
3712
+ height: 16px;
3713
+ color: #ef4444;
3714
+ `,
3704
3715
  globeIcon: css7`
3705
3716
  width: 16px;
3706
3717
  height: 16px;
@@ -4057,10 +4068,7 @@ function ListRow({ item, isSelected, onClick, onOpen, onGenerateThumbnail }) {
4057
4068
  " files"
4058
4069
  ] }),
4059
4070
  !item.localCount && !item.cloudCount && !item.remoteCount && item.fileCount === void 0 && "--"
4060
- ] }) : item.cdnPushed ? /* @__PURE__ */ jsxs7("span", { css: styles7.storedLabel, children: [
4061
- /* @__PURE__ */ jsx7("svg", { css: item.isRemote ? styles7.folderStatIconRemote : styles7.folderStatIconCloud, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: item.isRemote ? /* @__PURE__ */ jsx7("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" }) : /* @__PURE__ */ jsx7("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z" }) }),
4062
- "stored"
4063
- ] }) : item.size !== void 0 ? formatFileSize2(item.size) : "--" }),
4071
+ ] }) : item.cdnPushed ? /* @__PURE__ */ jsx7("span", { css: styles7.storedLabel, children: /* @__PURE__ */ jsx7("svg", { css: item.isRemote ? styles7.storedIconRemote : styles7.storedIconCloud, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: item.isRemote ? /* @__PURE__ */ jsx7("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" }) : /* @__PURE__ */ jsx7("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z" }) }) }) : item.size !== void 0 ? formatFileSize2(item.size) : "--" }),
4064
4072
  /* @__PURE__ */ jsx7("td", { css: [styles7.td, styles7.meta], children: isFolder ? item.totalSize !== void 0 ? formatFileSize2(item.totalSize) : "--" : item.dimensions ? `${item.dimensions.width}x${item.dimensions.height}` : "--" }),
4065
4073
  /* @__PURE__ */ jsx7("td", { css: styles7.td, children: item.cdnPushed ? item.isRemote ? /* @__PURE__ */ jsx7("span", { css: styles7.cdnBadgeRemote, children: "Remote" }) : /* @__PURE__ */ jsxs7("span", { css: styles7.cdnBadge, children: [
4066
4074
  /* @__PURE__ */ jsx7("svg", { css: styles7.cdnIcon, fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx7("path", { fillRule: "evenodd", d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", clipRule: "evenodd" }) }),
@@ -6344,4 +6352,4 @@ export {
6344
6352
  StudioUI,
6345
6353
  StudioUI_default as default
6346
6354
  };
6347
- //# sourceMappingURL=StudioUI-NLB3VZAZ.mjs.map
6355
+ //# sourceMappingURL=StudioUI-VIYONKHA.mjs.map