sunpeak 0.10.4 → 0.10.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.
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/mcp/entry.cjs +1 -1
- package/dist/mcp/entry.js +1 -1
- package/dist/mcp/index.cjs +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/{server-CSybLAYo.cjs → server-B-T6Y3-J.cjs} +35 -47
- package/dist/{server-CSybLAYo.cjs.map → server-B-T6Y3-J.cjs.map} +1 -1
- package/dist/{server-310A1k9o.js → server-CnRhUNGQ.js} +35 -47
- package/dist/{server-310A1k9o.js.map → server-CnRhUNGQ.js.map} +1 -1
- package/dist/{simulator-url-BZBcq5tc.js → simulator-url-BUKX-wRa.js} +344 -270
- package/dist/{simulator-url-BZBcq5tc.js.map → simulator-url-BUKX-wRa.js.map} +1 -1
- package/dist/{simulator-url-D4tFBjeu.cjs → simulator-url-pSDp_VWO.cjs} +345 -271
- package/dist/{simulator-url-D4tFBjeu.cjs.map → simulator-url-pSDp_VWO.cjs.map} +1 -1
- package/package.json +2 -2
- package/template/dist/albums/albums.js +7 -47
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.js +7 -47
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.js +140 -187
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.js +7 -47
- package/template/dist/review/review.json +1 -1
- package/template/node_modules/.vite/deps/_metadata.json +22 -22
- package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as clsx } from "./simulator-url-
|
|
2
|
-
import { C, I, S, T, c, v, s, q, i, r, w, t, e, f, g, h, j, u, k, l, m, n, d, b, o, p } from "./simulator-url-
|
|
1
|
+
import { a as clsx } from "./simulator-url-BUKX-wRa.js";
|
|
2
|
+
import { C, I, S, T, c, v, s, q, i, r, w, t, e, f, g, h, j, u, k, l, m, n, d, b, o, p } from "./simulator-url-BUKX-wRa.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
const MOBILE_BREAKPOINT = 768;
|
|
5
5
|
function useIsMobile() {
|
|
@@ -3039,11 +3039,11 @@ function toPascalCase(str) {
|
|
|
3039
3039
|
}
|
|
3040
3040
|
function extractResourceKey(path) {
|
|
3041
3041
|
const match = path.match(/([^/]+)-resource\.(tsx|json)$/);
|
|
3042
|
-
return match
|
|
3042
|
+
return match?.[1];
|
|
3043
3043
|
}
|
|
3044
3044
|
function extractSimulationKey(path) {
|
|
3045
3045
|
const match = path.match(/([^/]+)-simulation\.json$/);
|
|
3046
|
-
return match
|
|
3046
|
+
return match?.[1];
|
|
3047
3047
|
}
|
|
3048
3048
|
function findResourceKey(simulationKey, resourceKeys) {
|
|
3049
3049
|
const sorted = [...resourceKeys].sort((a, b2) => b2.length - a.length);
|