@industry-theme/file-city-panel 0.3.42 → 0.4.1
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/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/AgentMailFileCityPanel.d.ts.map +1 -1
- package/dist/panels/AgentMailPanel.d.ts.map +1 -1
- package/dist/panels/CodeCityPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +89 -64
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +12 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panelContext.d.ts","sourceRoot":"","sources":["../../src/mocks/panelContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EAIlB,MAAM,UAAU,CAAC;AA+BlB;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,OAAO,CAAC,iBAAiB,CAAC,KACrC,
|
|
1
|
+
{"version":3,"file":"panelContext.d.ts","sourceRoot":"","sources":["../../src/mocks/panelContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EAIlB,MAAM,UAAU,CAAC;AA+BlB;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,OAAO,CAAC,iBAAiB,CAAC,KACrC,iBA+GF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,OAAO,CAAC,YAAY,CAAC,KAChC,YA8BD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAO,iBAwCnC,CAAC;AAEF;;;GAGG;AACH,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,UAAU,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAClF,gBAAgB,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9C,gBAAgB,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IACzC,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA0E9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentMailFileCityPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailFileCityPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAajF,OAAO,KAAK,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"AgentMailFileCityPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailFileCityPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAajF,OAAO,KAAK,EAAE,mBAAmB,EAA6B,MAAM,UAAU,CAAC;AAonB/E;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMhE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentMailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"AgentMailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAa,MAAM,UAAU,CAAC;AAuf/D;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeCityPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CodeCityPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeCityPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CodeCityPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAmCjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAexD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE;YACX,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,cAAc,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;YACpG,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YACrC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YACxC,gBAAgB,EAAE,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E,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAGD,YAAY,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAmCpF;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAijE3D,CAAC;AAEF;;;GAGG;AACH,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAE3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EA8BxC,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -99836,6 +99836,70 @@ const CodeCityPanelContent = ({
|
|
|
99836
99836
|
title: isGitHubPublic === false ? "This repository is private on GitHub" : isGitHubPublic === true ? "This repository is public on GitHub" : void 0,
|
|
99837
99837
|
children: isGitHubPublic === false ? "Private Repo" : isGitHubPublic === true ? "Public Repo" : "File City"
|
|
99838
99838
|
}
|
|
99839
|
+
),
|
|
99840
|
+
!showTourPlayer && tourData && /* @__PURE__ */ jsxs(
|
|
99841
|
+
"button",
|
|
99842
|
+
{
|
|
99843
|
+
onClick: () => {
|
|
99844
|
+
setShowTourPlayer(true);
|
|
99845
|
+
},
|
|
99846
|
+
style: {
|
|
99847
|
+
display: "flex",
|
|
99848
|
+
alignItems: "center",
|
|
99849
|
+
gap: "4px",
|
|
99850
|
+
padding: "4px 8px",
|
|
99851
|
+
backgroundColor: "transparent",
|
|
99852
|
+
color: theme2.colors.textSecondary,
|
|
99853
|
+
border: "none",
|
|
99854
|
+
borderRadius: "4px",
|
|
99855
|
+
fontSize: theme2.fontSizes[0],
|
|
99856
|
+
fontFamily: theme2.fonts.body,
|
|
99857
|
+
cursor: "pointer",
|
|
99858
|
+
transition: "color 0.2s"
|
|
99859
|
+
},
|
|
99860
|
+
onMouseEnter: (e) => {
|
|
99861
|
+
e.currentTarget.style.color = theme2.colors.primary;
|
|
99862
|
+
},
|
|
99863
|
+
onMouseLeave: (e) => {
|
|
99864
|
+
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
99865
|
+
},
|
|
99866
|
+
title: "Take a guided tour",
|
|
99867
|
+
children: [
|
|
99868
|
+
/* @__PURE__ */ jsx(BookOpen, { size: 12 }),
|
|
99869
|
+
/* @__PURE__ */ jsx("span", { children: "Tour" })
|
|
99870
|
+
]
|
|
99871
|
+
}
|
|
99872
|
+
),
|
|
99873
|
+
actions.learnMore && /* @__PURE__ */ jsxs(
|
|
99874
|
+
"button",
|
|
99875
|
+
{
|
|
99876
|
+
onClick: actions.learnMore,
|
|
99877
|
+
style: {
|
|
99878
|
+
display: "flex",
|
|
99879
|
+
alignItems: "center",
|
|
99880
|
+
gap: "4px",
|
|
99881
|
+
padding: "4px 8px",
|
|
99882
|
+
backgroundColor: "transparent",
|
|
99883
|
+
color: theme2.colors.textSecondary,
|
|
99884
|
+
border: "none",
|
|
99885
|
+
borderRadius: "4px",
|
|
99886
|
+
fontSize: theme2.fontSizes[0],
|
|
99887
|
+
fontFamily: theme2.fonts.body,
|
|
99888
|
+
cursor: "pointer",
|
|
99889
|
+
transition: "color 0.2s"
|
|
99890
|
+
},
|
|
99891
|
+
onMouseEnter: (e) => {
|
|
99892
|
+
e.currentTarget.style.color = theme2.colors.primary;
|
|
99893
|
+
},
|
|
99894
|
+
onMouseLeave: (e) => {
|
|
99895
|
+
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
99896
|
+
},
|
|
99897
|
+
title: "Learn more",
|
|
99898
|
+
children: [
|
|
99899
|
+
/* @__PURE__ */ jsx("span", { children: "Learn More" }),
|
|
99900
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 12 })
|
|
99901
|
+
]
|
|
99902
|
+
}
|
|
99839
99903
|
)
|
|
99840
99904
|
]
|
|
99841
99905
|
}
|
|
@@ -100275,75 +100339,36 @@ const CodeCityPanelContent = ({
|
|
|
100275
100339
|
children: loading || !cityData ? /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
100276
100340
|
/* @__PURE__ */ jsx(Building2, { size: 14, style: { color: theme2.colors.textSecondary, flexShrink: 0 } }),
|
|
100277
100341
|
/* @__PURE__ */ jsx("span", { style: { fontSize: theme2.fontSizes[1], fontFamily: theme2.fonts.body, color: theme2.colors.textSecondary }, children: "Building File City..." })
|
|
100278
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
100279
|
-
/* @__PURE__ */
|
|
100280
|
-
|
|
100281
|
-
"div",
|
|
100282
|
-
{
|
|
100283
|
-
style: { display: "flex", alignItems: "center", gap: "4px", whiteSpace: "nowrap" },
|
|
100284
|
-
title: `${computedTreeStats.fileCount.toLocaleString()} files`,
|
|
100285
|
-
children: [
|
|
100286
|
-
/* @__PURE__ */ jsx(File, { size: 14, style: { color: theme2.colors.textSecondary, flexShrink: 0 } }),
|
|
100287
|
-
/* @__PURE__ */ jsxs("span", { style: { fontSize: theme2.fontSizes[1], fontFamily: theme2.fonts.body, color: theme2.colors.text }, children: [
|
|
100288
|
-
computedTreeStats.fileCount.toLocaleString(),
|
|
100289
|
-
!headerCompact && " files"
|
|
100290
|
-
] })
|
|
100291
|
-
]
|
|
100292
|
-
}
|
|
100293
|
-
),
|
|
100294
|
-
/* @__PURE__ */ jsxs(
|
|
100295
|
-
"div",
|
|
100296
|
-
{
|
|
100297
|
-
style: { display: "flex", alignItems: "center", gap: "4px", whiteSpace: "nowrap" },
|
|
100298
|
-
title: `${computedTreeStats.directoryCount.toLocaleString()} folders`,
|
|
100299
|
-
children: [
|
|
100300
|
-
/* @__PURE__ */ jsx(Folder, { size: 14, style: { color: theme2.colors.textSecondary, flexShrink: 0 } }),
|
|
100301
|
-
/* @__PURE__ */ jsxs("span", { style: { fontSize: theme2.fontSizes[1], fontFamily: theme2.fonts.body, color: theme2.colors.text }, children: [
|
|
100302
|
-
computedTreeStats.directoryCount.toLocaleString(),
|
|
100303
|
-
!headerCompact && " folders"
|
|
100304
|
-
] })
|
|
100305
|
-
]
|
|
100306
|
-
}
|
|
100307
|
-
)
|
|
100308
|
-
] }) }),
|
|
100309
|
-
!showTourPlayer && tourData && /* @__PURE__ */ jsxs(
|
|
100310
|
-
"button",
|
|
100342
|
+
] }) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { style: { display: "flex", alignItems: "center", gap: "12px", minWidth: 0, flexShrink: 1 }, children: computedTreeStats && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
100343
|
+
/* @__PURE__ */ jsxs(
|
|
100344
|
+
"div",
|
|
100311
100345
|
{
|
|
100312
|
-
|
|
100313
|
-
|
|
100314
|
-
},
|
|
100315
|
-
style: {
|
|
100316
|
-
display: "flex",
|
|
100317
|
-
alignItems: "center",
|
|
100318
|
-
gap: "4px",
|
|
100319
|
-
padding: "4px 8px",
|
|
100320
|
-
backgroundColor: "transparent",
|
|
100321
|
-
color: theme2.colors.primary,
|
|
100322
|
-
border: `1px solid ${theme2.colors.border}`,
|
|
100323
|
-
borderRadius: "4px",
|
|
100324
|
-
fontSize: theme2.fontSizes[0],
|
|
100325
|
-
fontFamily: theme2.fonts.body,
|
|
100326
|
-
fontWeight: 500,
|
|
100327
|
-
cursor: "pointer",
|
|
100328
|
-
transition: "all 0.2s",
|
|
100329
|
-
flexShrink: 0
|
|
100330
|
-
},
|
|
100331
|
-
onMouseEnter: (e) => {
|
|
100332
|
-
e.currentTarget.style.backgroundColor = theme2.colors.primary + "10";
|
|
100333
|
-
e.currentTarget.style.borderColor = theme2.colors.primary;
|
|
100334
|
-
},
|
|
100335
|
-
onMouseLeave: (e) => {
|
|
100336
|
-
e.currentTarget.style.backgroundColor = "transparent";
|
|
100337
|
-
e.currentTarget.style.borderColor = theme2.colors.border;
|
|
100338
|
-
},
|
|
100339
|
-
title: "Take a guided tour",
|
|
100346
|
+
style: { display: "flex", alignItems: "center", gap: "4px", whiteSpace: "nowrap" },
|
|
100347
|
+
title: `${computedTreeStats.fileCount.toLocaleString()} files`,
|
|
100340
100348
|
children: [
|
|
100341
|
-
/* @__PURE__ */ jsx(
|
|
100342
|
-
"
|
|
100349
|
+
/* @__PURE__ */ jsx(File, { size: 14, style: { color: theme2.colors.textSecondary, flexShrink: 0 } }),
|
|
100350
|
+
/* @__PURE__ */ jsxs("span", { style: { fontSize: theme2.fontSizes[1], fontFamily: theme2.fonts.body, color: theme2.colors.text }, children: [
|
|
100351
|
+
computedTreeStats.fileCount.toLocaleString(),
|
|
100352
|
+
!headerCompact && " files"
|
|
100353
|
+
] })
|
|
100354
|
+
]
|
|
100355
|
+
}
|
|
100356
|
+
),
|
|
100357
|
+
/* @__PURE__ */ jsxs(
|
|
100358
|
+
"div",
|
|
100359
|
+
{
|
|
100360
|
+
style: { display: "flex", alignItems: "center", gap: "4px", whiteSpace: "nowrap" },
|
|
100361
|
+
title: `${computedTreeStats.directoryCount.toLocaleString()} folders`,
|
|
100362
|
+
children: [
|
|
100363
|
+
/* @__PURE__ */ jsx(Folder, { size: 14, style: { color: theme2.colors.textSecondary, flexShrink: 0 } }),
|
|
100364
|
+
/* @__PURE__ */ jsxs("span", { style: { fontSize: theme2.fontSizes[1], fontFamily: theme2.fonts.body, color: theme2.colors.text }, children: [
|
|
100365
|
+
computedTreeStats.directoryCount.toLocaleString(),
|
|
100366
|
+
!headerCompact && " folders"
|
|
100367
|
+
] })
|
|
100343
100368
|
]
|
|
100344
100369
|
}
|
|
100345
100370
|
)
|
|
100346
|
-
] })
|
|
100371
|
+
] }) }) })
|
|
100347
100372
|
}
|
|
100348
100373
|
),
|
|
100349
100374
|
isEditingCover && selectedPackagePath && /* @__PURE__ */ jsx(
|