@popcorn245/cornfield-components 0.50.0 → 0.50.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/chunks/{_corn-default-tokens-BpIL6q5N.js → _corn-default-tokens-DfrjTpZt.js} +3 -1
- package/dist/chunks/{corn-map-CMNEW1lH.js → corn-map-Bd7PO6yD.js} +3 -3
- package/dist/chunks/{scope-CmIkJ1qf.js → scope-HD2C0JDl.js} +1 -1
- package/dist/corn-map.js +1 -1
- package/dist/corn-scope.js +3 -3
- package/dist/index.js +2 -2
- package/dist/manifest.json +12 -12
- package/dist/version.json +1 -1
- package/package.json +1 -1
|
@@ -78,7 +78,6 @@ function e() {
|
|
|
78
78
|
scenario: null,
|
|
79
79
|
forgeLit: null,
|
|
80
80
|
runsMap: null,
|
|
81
|
-
threadIndex: null,
|
|
82
81
|
sceneVersion: 0
|
|
83
82
|
};
|
|
84
83
|
}
|
|
@@ -218,6 +217,9 @@ function n({ root: n = null, base: r = "", fetch: i, strings: a = {}, state: o }
|
|
|
218
217
|
},
|
|
219
218
|
onWindowFocus: (e) => l ? O.listen(l, "focus", () => e()) : () => {},
|
|
220
219
|
onPageHide: (e) => l ? O.listen(l, "pagehide", () => e()) : () => {},
|
|
220
|
+
onResize: (e) => l ? O.listen(l, "resize", () => e()) : () => {},
|
|
221
|
+
onPageShow: (e) => l ? O.listen(l, "pageshow", () => e()) : () => {},
|
|
222
|
+
onPageFocus: (e) => c ? O.listen(c, "focusin", (t) => e(t)) : () => {},
|
|
221
223
|
onHide(e) {
|
|
222
224
|
return c ? O.listen(c, "visibilitychange", () => {
|
|
223
225
|
O.hidden() && e();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./runtime-DFu6W5g-.js";
|
|
2
|
-
import { $ as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Z as D, _ as O, a as k, b as A, c as j, ct as M, d as N, et as P, f as F, g as I, h as ee, it as te, j as L, k as R, l as ne, lt as z, m as B, mt as V, nt as H, o as U, p as re, pt as W, q as G, rt as ie, s as ae, t as oe, tt as se, ut as ce, v as le, w as ue, x as de, y as fe, z as pe } from "./_corn-default-tokens-
|
|
2
|
+
import { $ as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Z as D, _ as O, a as k, b as A, c as j, ct as M, d as N, et as P, f as F, g as I, h as ee, it as te, j as L, k as R, l as ne, lt as z, m as B, mt as V, nt as H, o as U, p as re, pt as W, q as G, rt as ie, s as ae, t as oe, tt as se, ut as ce, v as le, w as ue, x as de, y as fe, z as pe } from "./_corn-default-tokens-DfrjTpZt.js";
|
|
3
3
|
var K = 96, me = "letters:", he = (e) => `${me}${e}`, ge = (e) => typeof e == "string" && e.startsWith(me), _e = (e) => e.slice(8), ve = (e, t) => !!e.letters && !e.icon && e.r * 2 * t >= 14, ye = /* @__PURE__ */ new Map();
|
|
4
4
|
function be(e, t = null) {
|
|
5
5
|
if (typeof e != "string" || !e) return null;
|
|
@@ -2360,7 +2360,7 @@ function yn(e, t, n = {}) {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
function bn(e, t) {
|
|
2362
2362
|
let n = e.nodeType === 11 ? e.host : e, r = {}, i = null, a = !1;
|
|
2363
|
-
return import("./scope-
|
|
2363
|
+
return import("./scope-HD2C0JDl.js").then((e) => e.n).then(({ mountScope: o }) => {
|
|
2364
2364
|
if (a) return;
|
|
2365
2365
|
let s = o(n, {
|
|
2366
2366
|
src: t.src,
|
|
@@ -2630,7 +2630,7 @@ var Sn = () => "[data-corn=map-stage]{background:var(--corn-ground-image), var(-
|
|
|
2630
2630
|
tokens: oe,
|
|
2631
2631
|
src: this.src,
|
|
2632
2632
|
useTheme: this.useTheme,
|
|
2633
|
-
version: "0.50.
|
|
2633
|
+
version: "0.50.1",
|
|
2634
2634
|
pageUrl: () => typeof location > "u" ? "" : location.href,
|
|
2635
2635
|
onAuth: (e) => this.cornAuth.emit(e),
|
|
2636
2636
|
onError: (e) => this.cornError.emit(e),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { at as t, dt as n, ft as r, i, mt as a, n as o, ot as s, pt as c, r as l, rt as u, s as d, st as f, u as p, w as m } from "./_corn-default-tokens-
|
|
2
|
+
import { at as t, dt as n, ft as r, i, mt as a, n as o, ot as s, pt as c, r as l, rt as u, s as d, st as f, u as p, w as m } from "./_corn-default-tokens-DfrjTpZt.js";
|
|
3
3
|
// ../explorer/engine/layers.js
|
|
4
4
|
var h = (e) => e.match && e.match.type ? [].concat(e.match.type) : [], g = {
|
|
5
5
|
flow: "#fb923c",
|
package/dist/corn-map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CornMap } from "./chunks/corn-map-
|
|
1
|
+
export { t as CornMap } from "./chunks/corn-map-Bd7PO6yD.js";
|
package/dist/corn-scope.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./chunks/runtime-DFu6W5g-.js";
|
|
2
|
-
import { t as r } from "./chunks/scope-
|
|
3
|
-
import { t as i } from "./chunks/_corn-default-tokens-
|
|
2
|
+
import { t as r } from "./chunks/scope-HD2C0JDl.js";
|
|
3
|
+
import { t as i } from "./chunks/_corn-default-tokens-DfrjTpZt.js";
|
|
4
4
|
// src/components/corn-scope/corn-scope.tsx
|
|
5
5
|
var a = class extends n {
|
|
6
6
|
constructor(t) {
|
|
@@ -38,7 +38,7 @@ var a = class extends n {
|
|
|
38
38
|
config: this.config,
|
|
39
39
|
strings: this.strings,
|
|
40
40
|
tokens: i,
|
|
41
|
-
version: "0.50.
|
|
41
|
+
version: "0.50.1",
|
|
42
42
|
pageUrl: () => typeof location > "u" ? "" : location.href,
|
|
43
43
|
onReady: () => this.cornReady.emit(),
|
|
44
44
|
onAuth: (e) => this.cornAuth.emit(e),
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./chunks/corn-map-
|
|
1
|
+
import { t as e } from "./chunks/corn-map-Bd7PO6yD.js";
|
|
2
2
|
import { CornScope as t } from "./corn-scope.js";
|
|
3
3
|
// src/index.ts
|
|
4
|
-
var n = "0.50.
|
|
4
|
+
var n = "0.50.1";
|
|
5
5
|
export { e as CornMap, t as CornScope, n as version };
|
package/dist/manifest.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcorn245/cornfield-components",
|
|
3
|
-
"cornfield": "0.50.
|
|
3
|
+
"cornfield": "0.50.1",
|
|
4
4
|
"files": [
|
|
5
5
|
{
|
|
6
|
-
"path": "chunks/_corn-default-tokens-
|
|
7
|
-
"bytes":
|
|
8
|
-
"sha256": "
|
|
6
|
+
"path": "chunks/_corn-default-tokens-DfrjTpZt.js",
|
|
7
|
+
"bytes": 142014,
|
|
8
|
+
"sha256": "1d8cd96b3fc891679898e0c5062e978ff590c33345666ac6253590919f949657"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"path": "chunks/corn-map-
|
|
11
|
+
"path": "chunks/corn-map-Bd7PO6yD.js",
|
|
12
12
|
"bytes": 94825,
|
|
13
|
-
"sha256": "
|
|
13
|
+
"sha256": "4ae154ba31412f99da0cfeeaf83cea781dae8dbfc76efcc68acffedd4407e2f2"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"path": "chunks/rolldown-runtime-CGnMp29N.js",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
"sha256": "47327281b56616b00075dd5e4b52c0142fc3414509eb8258d9b98c8b56fc372d"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"path": "chunks/scope-
|
|
26
|
+
"path": "chunks/scope-HD2C0JDl.js",
|
|
27
27
|
"bytes": 26321,
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "7113aad6c230c9c7273cbbf30918b993f6141fbcf6487ee2c3b6e53dbcb3d864"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"path": "corn-map.js",
|
|
32
32
|
"bytes": 62,
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "6a8ad8370d2718f03d2b2829429a485f04a19cb5bc3b80a45a3e33beab13eed7"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"path": "corn-scope.js",
|
|
37
37
|
"bytes": 1891,
|
|
38
|
-
"sha256": "
|
|
38
|
+
"sha256": "ee292dcbcffe996991e7acf3ab06a195c3ccfe20235858cb3d08b47143b07b41"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"path": "index.js",
|
|
42
42
|
"bytes": 195,
|
|
43
|
-
"sha256": "
|
|
43
|
+
"sha256": "914e13d675aaebf5c4e767c0f1ea0f58433f5cf8634b00f6750e6c4a9d15e0f5"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"path": "tokens.css",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
{
|
|
71
71
|
"path": "version.json",
|
|
72
72
|
"bytes": 65,
|
|
73
|
-
"sha256": "
|
|
73
|
+
"sha256": "faf1c1a4214c40217b5f38c3c610c2e8c45cdd77bb145442f33afc126ffa1b98"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
76
|
}
|
package/dist/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@popcorn245/cornfield-components","cornfield":"0.50.
|
|
1
|
+
{"name":"@popcorn245/cornfield-components","cornfield":"0.50.1"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcorn245/cornfield-components",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.1",
|
|
4
4
|
"description": "cornfield's interface as web components (spec 0011): <corn-map> and what follows, thin StencilRS shells over the engine in cornfield. The same files are served by every cornfield server at /cornfield/components/.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "popcorn245 (https://github.com/popcorn245)",
|