@industry-theme/file-city-panel 0.5.66 → 0.5.67
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrailMarkdownOverlay.d.ts","sourceRoot":"","sources":["../../../../src/panels/FileCityTrailExplorerPanel/overlays/TrailMarkdownOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,cAAc;IAC7B,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qEAAqE;IACrE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,uEAAuE;IACvE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,aAAa,EAAE,MAAM,CAAC;IACtB,4FAA4F;IAC5F,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACzC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;OAGG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;CAC1B;AAQD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"TrailMarkdownOverlay.d.ts","sourceRoot":"","sources":["../../../../src/panels/FileCityTrailExplorerPanel/overlays/TrailMarkdownOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,cAAc;IAC7B,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qEAAqE;IACrE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,uEAAuE;IACvE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,aAAa,EAAE,MAAM,CAAC;IACtB,4FAA4F;IAC5F,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACzC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;OAGG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;CAC1B;AAQD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA+OpE,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -258107,27 +258107,19 @@ const TrailMarkdownOverlay = ({
|
|
|
258107
258107
|
flexDirection: "column"
|
|
258108
258108
|
},
|
|
258109
258109
|
children: [
|
|
258110
|
-
/* @__PURE__ */ jsx(
|
|
258111
|
-
|
|
258110
|
+
/* @__PURE__ */ jsx("div", { style: { flex: "0 0 auto" }, children: /* @__PURE__ */ jsx(
|
|
258111
|
+
IndustryMarkdownSlide,
|
|
258112
258112
|
{
|
|
258113
|
-
|
|
258114
|
-
|
|
258115
|
-
|
|
258116
|
-
|
|
258117
|
-
|
|
258118
|
-
|
|
258119
|
-
|
|
258120
|
-
|
|
258121
|
-
|
|
258122
|
-
|
|
258123
|
-
isVisible: true,
|
|
258124
|
-
theme: theme2,
|
|
258125
|
-
transparentBackground: true,
|
|
258126
|
-
enableKeyboardScrolling: false
|
|
258127
|
-
}
|
|
258128
|
-
) })
|
|
258129
|
-
}
|
|
258130
|
-
),
|
|
258113
|
+
content: body,
|
|
258114
|
+
slideIdPrefix,
|
|
258115
|
+
slideIndex: 0,
|
|
258116
|
+
isVisible: true,
|
|
258117
|
+
theme: theme2,
|
|
258118
|
+
transparentBackground: true,
|
|
258119
|
+
enableKeyboardScrolling: false,
|
|
258120
|
+
disableScroll: true
|
|
258121
|
+
}
|
|
258122
|
+
) }),
|
|
258131
258123
|
nav ? /* @__PURE__ */ jsx(TrailMarkdownOverlayFooter, { nav }) : null,
|
|
258132
258124
|
files && files.length > 0 ? /* @__PURE__ */ jsx(TrailFilesList, { files }) : null
|
|
258133
258125
|
]
|
|
@@ -258778,7 +258770,7 @@ const FileCityTrailSequenceLayout = ({
|
|
|
258778
258770
|
}, [hasLineCounts]);
|
|
258779
258771
|
const effectiveShow3D = false;
|
|
258780
258772
|
const [viewMode, setViewMode] = React.useState("city");
|
|
258781
|
-
const [showSequenceDrawer, setShowSequenceDrawer] = React.useState(
|
|
258773
|
+
const [showSequenceDrawer, setShowSequenceDrawer] = React.useState(true);
|
|
258782
258774
|
const [drawerHeightOverridePct, setDrawerHeightOverridePct] = React.useState(null);
|
|
258783
258775
|
const [isResizingDrawer, setIsResizingDrawer] = React.useState(false);
|
|
258784
258776
|
const drawerHeightPct = !showSequenceDrawer ? 0 : drawerHeightOverridePct ?? SEQUENCE_DRAWER_HEIGHT_PCT;
|
|
@@ -259098,10 +259090,14 @@ const FileCityTrailSequenceLayout = ({
|
|
|
259098
259090
|
setDrawerHeightOverridePct(null);
|
|
259099
259091
|
setShowSequenceDrawer((v) => !v);
|
|
259100
259092
|
},
|
|
259101
|
-
canExit:
|
|
259093
|
+
canExit: (
|
|
259094
|
+
// Drawer-open is the default start state, so it no longer
|
|
259095
|
+
// counts as "non-idle". Exit is offered only when the user
|
|
259096
|
+
// has drilled into something the start view doesn't show.
|
|
259097
|
+
selectedMarkerId != null || snippetExpanded || viewMode !== "city"
|
|
259098
|
+
),
|
|
259102
259099
|
onExitTrail: () => {
|
|
259103
259100
|
onSelectMarker(null);
|
|
259104
|
-
setShowSequenceDrawer(false);
|
|
259105
259101
|
setDrawerHeightOverridePct(null);
|
|
259106
259102
|
setSnippetExpanded(false);
|
|
259107
259103
|
setViewMode("city");
|
|
@@ -260014,40 +260010,38 @@ const TrailHeader = ({
|
|
|
260014
260010
|
}
|
|
260015
260011
|
),
|
|
260016
260012
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
|
|
260017
|
-
|
|
260018
|
-
"button",
|
|
260019
|
-
{
|
|
260020
|
-
type: "button",
|
|
260021
|
-
onClick: onToggleSequenceDrawer,
|
|
260022
|
-
"aria-pressed": showSequenceDrawer,
|
|
260023
|
-
title: showSequenceDrawer ? "Hide sequence diagram" : "Show sequence diagram",
|
|
260024
|
-
style: toggleButtonStyle(showSequenceDrawer),
|
|
260025
|
-
children: "Diagram"
|
|
260026
|
-
}
|
|
260027
|
-
),
|
|
260028
|
-
/* @__PURE__ */ jsx(
|
|
260013
|
+
canExit ? /* @__PURE__ */ jsx(
|
|
260029
260014
|
"button",
|
|
260030
260015
|
{
|
|
260031
260016
|
type: "button",
|
|
260032
260017
|
onClick: onExitTrail,
|
|
260033
|
-
|
|
260034
|
-
title: canExit ? "Return to the trail summary" : "Already at the trail summary",
|
|
260018
|
+
title: "Return to the trail summary",
|
|
260035
260019
|
style: {
|
|
260036
260020
|
flexShrink: 0,
|
|
260037
260021
|
fontFamily: theme2.fonts.body,
|
|
260038
260022
|
fontSize: theme2.fontSizes[0],
|
|
260039
260023
|
fontWeight: theme2.fontWeights.medium,
|
|
260040
|
-
color:
|
|
260024
|
+
color: theme2.colors.text,
|
|
260041
260025
|
background: "transparent",
|
|
260042
260026
|
border: `1px solid ${theme2.colors.muted}`,
|
|
260043
260027
|
borderRadius: theme2.radii[3],
|
|
260044
260028
|
padding: "4px 10px",
|
|
260045
|
-
cursor:
|
|
260046
|
-
opacity: canExit ? 1 : 0.5,
|
|
260029
|
+
cursor: "pointer",
|
|
260047
260030
|
lineHeight: 1.2
|
|
260048
260031
|
},
|
|
260049
260032
|
children: "Exit"
|
|
260050
260033
|
}
|
|
260034
|
+
) : null,
|
|
260035
|
+
isDoc ? null : /* @__PURE__ */ jsx(
|
|
260036
|
+
"button",
|
|
260037
|
+
{
|
|
260038
|
+
type: "button",
|
|
260039
|
+
onClick: onToggleSequenceDrawer,
|
|
260040
|
+
"aria-pressed": showSequenceDrawer,
|
|
260041
|
+
title: showSequenceDrawer ? "Hide sequence diagram" : "Show sequence diagram",
|
|
260042
|
+
style: toggleButtonStyle(showSequenceDrawer),
|
|
260043
|
+
children: "Diagram"
|
|
260044
|
+
}
|
|
260051
260045
|
),
|
|
260052
260046
|
hideToggle || isDoc ? null : /* @__PURE__ */ jsx(
|
|
260053
260047
|
"button",
|