@industry-theme/file-city-panel 0.3.5 → 0.3.7
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":"TourPlayer.d.ts","sourceRoot":"","sources":["../../src/components/TourPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAiBxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGnF,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,IAAI,EAAE,gBAAgB,CAAC;IAEvB,2CAA2C;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iCAAiC;IACjC,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAEvE,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB,uDAAuD;IACvD,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAE1E,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,qIAAqI;IACrI,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IAE3D,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IAGtB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAEjC,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IAEx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C,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,iEAAiE;IACjE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkgChD,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -51759,7 +51759,7 @@ const TourPlayer = ({
|
|
|
51759
51759
|
display: "flex",
|
|
51760
51760
|
alignItems: "center",
|
|
51761
51761
|
gap: "6px",
|
|
51762
|
-
padding: "10px 20px",
|
|
51762
|
+
padding: position === "top" ? "10px" : "10px 20px",
|
|
51763
51763
|
backgroundColor: "transparent",
|
|
51764
51764
|
color: isFirstStep ? theme2.colors.textSecondary : theme2.colors.text,
|
|
51765
51765
|
border: `1px solid ${theme2.colors.border}`,
|
|
@@ -51779,9 +51779,10 @@ const TourPlayer = ({
|
|
|
51779
51779
|
onMouseLeave: (e) => {
|
|
51780
51780
|
e.currentTarget.style.backgroundColor = "transparent";
|
|
51781
51781
|
},
|
|
51782
|
+
title: "Previous step",
|
|
51782
51783
|
children: [
|
|
51783
51784
|
/* @__PURE__ */ jsx(ChevronLeft, { size: 16 }),
|
|
51784
|
-
"Previous"
|
|
51785
|
+
position !== "top" && "Previous"
|
|
51785
51786
|
]
|
|
51786
51787
|
}
|
|
51787
51788
|
),
|
|
@@ -51819,7 +51820,7 @@ const TourPlayer = ({
|
|
|
51819
51820
|
)) })
|
|
51820
51821
|
}
|
|
51821
51822
|
),
|
|
51822
|
-
/* @__PURE__ */
|
|
51823
|
+
/* @__PURE__ */ jsx(
|
|
51823
51824
|
"button",
|
|
51824
51825
|
{
|
|
51825
51826
|
onClick: nextStep,
|
|
@@ -51828,7 +51829,7 @@ const TourPlayer = ({
|
|
|
51828
51829
|
display: "flex",
|
|
51829
51830
|
alignItems: "center",
|
|
51830
51831
|
gap: "6px",
|
|
51831
|
-
padding: "10px 20px",
|
|
51832
|
+
padding: position === "top" ? "10px" : "10px 20px",
|
|
51832
51833
|
backgroundColor: isLastStep ? "transparent" : theme2.colors.primary,
|
|
51833
51834
|
color: isLastStep ? theme2.colors.textSecondary : "#ffffff",
|
|
51834
51835
|
border: `1px solid ${isLastStep ? theme2.colors.border : theme2.colors.primary}`,
|
|
@@ -51851,10 +51852,11 @@ const TourPlayer = ({
|
|
|
51851
51852
|
e.currentTarget.style.backgroundColor = theme2.colors.primary;
|
|
51852
51853
|
}
|
|
51853
51854
|
},
|
|
51854
|
-
|
|
51855
|
+
title: isLastStep ? "Finished" : "Next step",
|
|
51856
|
+
children: position === "top" ? isLastStep ? /* @__PURE__ */ jsx(CircleCheck, { size: 16 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 16 }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
51855
51857
|
isLastStep ? "Finished" : "Next",
|
|
51856
51858
|
!isLastStep && /* @__PURE__ */ jsx(ChevronRight, { size: 16 })
|
|
51857
|
-
]
|
|
51859
|
+
] })
|
|
51858
51860
|
}
|
|
51859
51861
|
)
|
|
51860
51862
|
]
|
|
@@ -54752,9 +54754,9 @@ const CodeCityPanelContent = ({
|
|
|
54752
54754
|
{
|
|
54753
54755
|
style: {
|
|
54754
54756
|
// In landscape: fixed width for square map, flex height
|
|
54755
|
-
// In portrait: limit to
|
|
54757
|
+
// In portrait: limit to 60% height when tour player is on top
|
|
54756
54758
|
width: layout.legendPosition === "right" ? layout.mapSize : "100%",
|
|
54757
|
-
height: layout.legendPosition === "top" ? "
|
|
54759
|
+
height: layout.legendPosition === "top" ? "60%" : layout.legendPosition === "bottom" ? layout.mapSize : "100%",
|
|
54758
54760
|
flexShrink: 0,
|
|
54759
54761
|
position: "relative",
|
|
54760
54762
|
display: "flex",
|