@reearth/core 0.0.7-alpha.20 → 0.0.7-alpha.21
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/core.js +3 -3
- package/dist/core.umd.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/engines/Cesium/common.ts +2 -2
- package/src/mantle/types/appearance.ts +1 -1
package/dist/core.js
CHANGED
|
@@ -23854,11 +23854,11 @@ const rangeTypes = {
|
|
|
23854
23854
|
highlight: ColorBlendMode.HIGHLIGHT,
|
|
23855
23855
|
replace: ColorBlendMode.REPLACE,
|
|
23856
23856
|
mix: ColorBlendMode.MIX
|
|
23857
|
-
})[t || ""], colorBlendModeFor3DTile = (t) => ({
|
|
23857
|
+
})[t || ""], colorBlendModeFor3DTile = (t = "highlight") => ({
|
|
23858
23858
|
highlight: Cesium3DTileColorBlendMode.HIGHLIGHT,
|
|
23859
23859
|
replace: Cesium3DTileColorBlendMode.REPLACE,
|
|
23860
23860
|
mix: Cesium3DTileColorBlendMode.MIX
|
|
23861
|
-
})[t
|
|
23861
|
+
})[t], heightReference = (t) => ({
|
|
23862
23862
|
clamp: HeightReference$2.CLAMP_TO_GROUND,
|
|
23863
23863
|
relative: HeightReference$2.RELATIVE_TO_GROUND,
|
|
23864
23864
|
none: HeightReference$2.NONE
|
|
@@ -87404,7 +87404,7 @@ function Error$1({ error: t, resetErrorBoundary: n }) {
|
|
|
87404
87404
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { style: { color: "#fff" }, onClick: n, children: "Retry" }) })
|
|
87405
87405
|
] });
|
|
87406
87406
|
}
|
|
87407
|
-
const version = "0.0.7-alpha.
|
|
87407
|
+
const version = "0.0.7-alpha.21", useCoreAPI = ({ viewerProperty: t }) => {
|
|
87408
87408
|
const n = useRef(t);
|
|
87409
87409
|
n.current = t;
|
|
87410
87410
|
const o = useMemo(
|