@popcorn245/cornfield-components 0.49.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-CoghUocx.js → _corn-default-tokens-DfrjTpZt.js} +725 -654
- package/dist/chunks/{corn-map-C9msiSKP.js → corn-map-Bd7PO6yD.js} +451 -412
- package/dist/chunks/{scope-vxRGj-2V.js → scope-HD2C0JDl.js} +89 -89
- package/dist/corn-map.js +1 -1
- package/dist/corn-scope.js +3 -3
- package/dist/index.js +2 -2
- package/dist/manifest.json +13 -13
- package/dist/version.json +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { at as t, dt as n, ft as r, i,
|
|
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",
|
|
6
6
|
runs: "#5eead4"
|
|
7
7
|
}, _ = (e) => {
|
|
8
8
|
let t = h(e)[0];
|
|
9
|
-
return t &&
|
|
9
|
+
return t && f[t] ? f[t].color : g[e.key];
|
|
10
10
|
}, v = /* @__PURE__ */ new Set([
|
|
11
11
|
"stack",
|
|
12
12
|
"machine",
|
|
@@ -209,10 +209,10 @@ async function P(e, t = O, { signal: n } = {}) {
|
|
|
209
209
|
return i;
|
|
210
210
|
}
|
|
211
211
|
function F(e, t) {
|
|
212
|
-
t && typeof t == "object" && (
|
|
212
|
+
t && typeof t == "object" && (n(e, t.strings), m(e).applyTheme(t.theme), te(e, t.layers));
|
|
213
213
|
}
|
|
214
|
-
function I(e, { version: t = "", pageUrl:
|
|
215
|
-
let
|
|
214
|
+
function I(e, { version: t = "", pageUrl: r = () => "", onConfig: i = () => {} } = {}) {
|
|
215
|
+
let a = !1, o = null, s = null, c = 0, l = {
|
|
216
216
|
topology: null,
|
|
217
217
|
config: null,
|
|
218
218
|
strings: null
|
|
@@ -222,21 +222,21 @@ function I(e, { version: t = "", pageUrl: n = () => "", onConfig: r = () => {} }
|
|
|
222
222
|
state: () => o,
|
|
223
223
|
notice: null,
|
|
224
224
|
say(t) {
|
|
225
|
-
|
|
225
|
+
a || (t.state === "version" ? u.notice = t : o = t, e.emit("source", t));
|
|
226
226
|
},
|
|
227
227
|
provide({ topology: e, config: t, strings: n } = {}) {
|
|
228
|
-
|
|
228
|
+
a || (n !== void 0 && (l.strings = n, d(u.config)), t !== void 0 && (l.config = t, t ? f(t) : u.fetchedConfig && f(u.fetchedConfig)), e !== void 0 && (l.topology = e, u.topology = e || u.fetchedTopology || null, u.topology && u.say({ state: "ready" })));
|
|
229
229
|
},
|
|
230
230
|
fetchedConfig: null,
|
|
231
231
|
fetchedTopology: null,
|
|
232
232
|
async load() {
|
|
233
|
-
if (
|
|
233
|
+
if (a || !e.base) return;
|
|
234
234
|
if (l.config && l.topology) {
|
|
235
235
|
u.topology = l.topology, u.say({ state: "ready" });
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
238
|
s && s.abort(), s = new AbortController();
|
|
239
|
-
let { signal: t } = s, n = ++c, r = () => !
|
|
239
|
+
let { signal: t } = s, n = ++c, r = () => !a && n === c && !t.aborted;
|
|
240
240
|
u.say({ state: "loading" });
|
|
241
241
|
try {
|
|
242
242
|
if (!l.config) {
|
|
@@ -259,19 +259,19 @@ function I(e, { version: t = "", pageUrl: n = () => "", onConfig: r = () => {} }
|
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
function d(t) {
|
|
262
|
-
|
|
262
|
+
n(e, l.strings || t && t.strings);
|
|
263
263
|
}
|
|
264
264
|
function f(n) {
|
|
265
265
|
u.config = n, F(e, n), l.strings && d(n);
|
|
266
|
-
let
|
|
267
|
-
t && (
|
|
266
|
+
let r = le(t, n.version);
|
|
267
|
+
t && (r === "minor" || r === "major") && u.say({
|
|
268
268
|
state: "version",
|
|
269
269
|
server: String(n.version).trim(),
|
|
270
270
|
package: t,
|
|
271
|
-
drift:
|
|
272
|
-
}),
|
|
271
|
+
drift: r
|
|
272
|
+
}), i(n);
|
|
273
273
|
}
|
|
274
|
-
async function p(t,
|
|
274
|
+
async function p(t, n) {
|
|
275
275
|
if (!(t instanceof A)) return {
|
|
276
276
|
state: "server",
|
|
277
277
|
status: 0,
|
|
@@ -280,7 +280,7 @@ function I(e, { version: t = "", pageUrl: n = () => "", onConfig: r = () => {} }
|
|
|
280
280
|
if (t.kind === "auth") return {
|
|
281
281
|
state: "sign-in",
|
|
282
282
|
status: t.status,
|
|
283
|
-
signIn: ue(e.base,
|
|
283
|
+
signIn: ue(e.base, r())
|
|
284
284
|
};
|
|
285
285
|
if (t.kind === "server") return {
|
|
286
286
|
state: "server",
|
|
@@ -293,18 +293,18 @@ function I(e, { version: t = "", pageUrl: n = () => "", onConfig: r = () => {} }
|
|
|
293
293
|
method: "HEAD",
|
|
294
294
|
mode: "no-cors",
|
|
295
295
|
credentials: "omit",
|
|
296
|
-
signal:
|
|
296
|
+
signal: n
|
|
297
297
|
});
|
|
298
298
|
} catch {
|
|
299
299
|
return { state: "offline" };
|
|
300
300
|
}
|
|
301
301
|
return {
|
|
302
302
|
state: "not-allowed",
|
|
303
|
-
origin: L(
|
|
303
|
+
origin: L(r())
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
return R(e).source = u, e.own(() => {
|
|
307
|
-
|
|
307
|
+
a = !0, s && s.abort(), R(e).source = null;
|
|
308
308
|
}), u;
|
|
309
309
|
}
|
|
310
310
|
function L(e) {
|
|
@@ -569,40 +569,40 @@ var we = Object.freeze({
|
|
|
569
569
|
function Z(e, t) {
|
|
570
570
|
switch (t.state) {
|
|
571
571
|
case "loading": return {
|
|
572
|
-
title:
|
|
572
|
+
title: r(e, "sourceLoading"),
|
|
573
573
|
text: ""
|
|
574
574
|
};
|
|
575
575
|
case "sign-in": return t.status === 403 ? {
|
|
576
|
-
title:
|
|
577
|
-
text:
|
|
576
|
+
title: r(e, "sourceNotMaintainer"),
|
|
577
|
+
text: r(e, "sourceNotMaintainerText"),
|
|
578
578
|
link: t.signIn
|
|
579
579
|
} : {
|
|
580
|
-
title:
|
|
581
|
-
text:
|
|
580
|
+
title: r(e, "sourceSignedOut"),
|
|
581
|
+
text: r(e, "sourceSignInText"),
|
|
582
582
|
link: t.signIn
|
|
583
583
|
};
|
|
584
584
|
case "not-allowed": return {
|
|
585
|
-
title:
|
|
586
|
-
text:
|
|
585
|
+
title: r(e, "sourceNotListed"),
|
|
586
|
+
text: r(e, "sourceNotListedHint"),
|
|
587
587
|
origin: t.origin,
|
|
588
588
|
retry: !0
|
|
589
589
|
};
|
|
590
590
|
case "offline": return {
|
|
591
|
-
title:
|
|
592
|
-
text:
|
|
591
|
+
title: r(e, "sourceOffline"),
|
|
592
|
+
text: r(e, "sourceOfflineText"),
|
|
593
593
|
retry: !0
|
|
594
594
|
};
|
|
595
595
|
case "server": return {
|
|
596
|
-
title:
|
|
596
|
+
title: r(e, "errorTitle"),
|
|
597
597
|
text: t.message || "",
|
|
598
598
|
retry: !0
|
|
599
599
|
};
|
|
600
600
|
case "address": return {
|
|
601
|
-
title:
|
|
601
|
+
title: r(e, "sourceBadAddress"),
|
|
602
602
|
text: t.problem || ""
|
|
603
603
|
};
|
|
604
604
|
case "second-map": return {
|
|
605
|
-
title:
|
|
605
|
+
title: r(e, "sourceSecondMap"),
|
|
606
606
|
text: ""
|
|
607
607
|
};
|
|
608
608
|
default: return null;
|
|
@@ -610,10 +610,10 @@ function Z(e, t) {
|
|
|
610
610
|
}
|
|
611
611
|
var Te = (e) => typeof e == "string" && /^https?:\/\/[^\s\\]+$/i.test(e) ? e : "";
|
|
612
612
|
function Ee(e, t) {
|
|
613
|
-
let
|
|
614
|
-
if (!
|
|
615
|
-
let i =
|
|
616
|
-
return
|
|
613
|
+
let n = Z(e, t);
|
|
614
|
+
if (!n) return "";
|
|
615
|
+
let i = n.link ? Te(n.link) : "", a = [`<p data-corn="source-title">${c(n.title)}</p>`];
|
|
616
|
+
return n.text && a.push(`<p data-corn="source-text">${c(n.text)}</p>`), n.origin && a.push(`<p data-corn="source-text"><code data-corn="source-origin">${c(n.origin)}</code></p>`), i && a.push(`<a data-corn="source-sign-in" data-corn-kind="primary" href="${c(i)}" target="_top" rel="noopener">${c(r(e, "sourceSignIn"))}</a>`), n.retry && a.push(`<button type="button" data-corn="source-retry" data-corn-kind="secondary">${c(r(e, "retry"))}</button>`), a.join("");
|
|
617
617
|
}
|
|
618
618
|
function De(e, t) {
|
|
619
619
|
let n = Z(e, t);
|
|
@@ -623,33 +623,33 @@ function De(e, t) {
|
|
|
623
623
|
n.origin
|
|
624
624
|
].filter(Boolean).join(". ") : "";
|
|
625
625
|
}
|
|
626
|
-
function Oe(e, t, { onRetry: n = () => {}, focusMap:
|
|
627
|
-
let
|
|
626
|
+
function Oe(e, t, { onRetry: n = () => {}, focusMap: i = () => {}, follow: a = !0 } = {}) {
|
|
627
|
+
let o = t.doc, s = () => {
|
|
628
628
|
let t = e.getRootNode();
|
|
629
629
|
return t && t.activeElement || null;
|
|
630
|
-
},
|
|
631
|
-
let t =
|
|
632
|
-
return t.innerHTML =
|
|
633
|
-
},
|
|
634
|
-
e.append(
|
|
635
|
-
let
|
|
630
|
+
}, c = (e) => {
|
|
631
|
+
let t = o.createElement("template");
|
|
632
|
+
return t.innerHTML = p(e), t.content.firstElementChild;
|
|
633
|
+
}, l = c("<div data-corn=\"source-status\" hidden></div>"), u = c("<p data-corn=\"source-notice\" hidden></p>"), d = c("<p data-corn=\"source-announcer\" class=\"hx-sr-only\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"></p>");
|
|
634
|
+
e.append(l, u, d);
|
|
635
|
+
let f = null, m = !1, h = (e) => {
|
|
636
636
|
if (m || !e) return;
|
|
637
|
-
let n = Z(t, e),
|
|
637
|
+
let n = Z(t, e), r = l.contains(s());
|
|
638
638
|
if (!n) {
|
|
639
|
-
|
|
639
|
+
l.hidden = !0, l.textContent = "", f = e.state, r && i();
|
|
640
640
|
return;
|
|
641
641
|
}
|
|
642
|
-
|
|
643
|
-
let a =
|
|
644
|
-
|
|
642
|
+
l.innerHTML = p(Ee(t, e)), l.setAttribute("data-corn-state", we[e.state]), l.hidden = !1;
|
|
643
|
+
let a = f !== e.state || e.state === "server";
|
|
644
|
+
f = e.state, a && (d.textContent = De(t, e)), r && (l.setAttribute("tabindex", "-1"), l.focus());
|
|
645
645
|
}, g = (e) => {
|
|
646
|
-
m || (e ? (
|
|
647
|
-
}, _ = t.listen(
|
|
646
|
+
m || (e ? (u.textContent = `${r(t, "sourceVersion")} (${e.package} / ${e.server})`, u.hidden = !1, d.textContent = `${d.textContent ? `${d.textContent}. ` : ""}${u.textContent}`) : (u.hidden = !0, u.textContent = ""));
|
|
647
|
+
}, _ = t.listen(l, "click", (e) => {
|
|
648
648
|
let t = e.target && e.target.closest ? e.target.closest("[data-corn=\"source-retry\"]") : null;
|
|
649
|
-
t &&
|
|
650
|
-
}), v =
|
|
649
|
+
t && l.contains(t) && (e.preventDefault(), n());
|
|
650
|
+
}), v = a ? t.on("source", (e) => {
|
|
651
651
|
e.state === "version" ? g(e) : h(e);
|
|
652
|
-
}) : () => {}, y =
|
|
652
|
+
}) : () => {}, y = a ? z(t) : null;
|
|
653
653
|
if (y) {
|
|
654
654
|
let e = y.state();
|
|
655
655
|
e && e.state !== "ready" && h(e), y.notice && g(y.notice);
|
|
@@ -659,7 +659,7 @@ function Oe(e, t, { onRetry: n = () => {}, focusMap: r = () => {}, follow: i = !
|
|
|
659
659
|
h({ state: e });
|
|
660
660
|
},
|
|
661
661
|
destroy() {
|
|
662
|
-
m || (m = !0, v(), _(),
|
|
662
|
+
m || (m = !0, v(), _(), l.remove(), u.remove(), d.remove());
|
|
663
663
|
}
|
|
664
664
|
};
|
|
665
665
|
}
|
|
@@ -677,18 +677,18 @@ function $(e, t = {}) {
|
|
|
677
677
|
topology: t.topology,
|
|
678
678
|
config: t.config,
|
|
679
679
|
strings: t.strings
|
|
680
|
-
},
|
|
681
|
-
if (h || !
|
|
680
|
+
}, r = t.pageUrl || (() => ""), s = /* @__PURE__ */ new Set(), c = null, f = null, p = null, m = !1, h = !1, g = (e) => {
|
|
681
|
+
if (h || !c || !e.detail || typeof e.detail.claim != "function") return;
|
|
682
682
|
e.stopPropagation();
|
|
683
683
|
let t = {
|
|
684
684
|
el: e.detail.el,
|
|
685
|
-
inst:
|
|
685
|
+
inst: c,
|
|
686
686
|
scope: w,
|
|
687
687
|
release: () => s.delete(t)
|
|
688
688
|
};
|
|
689
689
|
s.add(t), e.detail.claim(t);
|
|
690
690
|
};
|
|
691
|
-
e.addEventListener(
|
|
691
|
+
e.addEventListener(l, g);
|
|
692
692
|
function _() {
|
|
693
693
|
let t = new Set(Ae(e));
|
|
694
694
|
for (let e of [...s]) s.delete(e), e.el && t.add(e.el);
|
|
@@ -697,42 +697,42 @@ function $(e, t = {}) {
|
|
|
697
697
|
function v() {
|
|
698
698
|
let e = Q.includes(n.theme) ? n.theme : "auto";
|
|
699
699
|
if (e === "light" || e === "dark") return e;
|
|
700
|
-
let t =
|
|
700
|
+
let t = c.doc && c.doc.documentElement, r = t ? t.getAttribute("data-theme") : null;
|
|
701
701
|
if (r === "light" || r === "dark") return r;
|
|
702
|
-
let i =
|
|
703
|
-
return
|
|
702
|
+
let i = c.win && c.win.matchMedia ? c.win.matchMedia("(prefers-color-scheme: light)") : null;
|
|
703
|
+
return u("system", !!(i && i.matches));
|
|
704
704
|
}
|
|
705
705
|
function y() {
|
|
706
|
-
p && p.setMode(v()),
|
|
706
|
+
p && p.setMode(v()), c && c.emit("scope:theme");
|
|
707
707
|
}
|
|
708
708
|
function b() {
|
|
709
709
|
let s = n.src === void 0 || n.src === null || n.src === "" ? null : ce(n.src);
|
|
710
|
-
|
|
710
|
+
c = a({
|
|
711
711
|
root: e,
|
|
712
712
|
base: s && s.ok ? s.base : ""
|
|
713
|
-
}), ee(
|
|
714
|
-
let
|
|
715
|
-
|
|
716
|
-
let
|
|
717
|
-
p =
|
|
713
|
+
}), ee(c, null);
|
|
714
|
+
let l = i(c);
|
|
715
|
+
l.host = e, l.theme = Q.includes(n.theme) ? n.theme : "auto";
|
|
716
|
+
let u = Ce(c, { defaults: t.tokens || "" });
|
|
717
|
+
p = u, l.serverTheme = u, u.tokensOn(e), c.own(() => u.destroy()), f = I(c, {
|
|
718
718
|
version: t.version || "",
|
|
719
|
-
pageUrl:
|
|
719
|
+
pageUrl: r,
|
|
720
720
|
onConfig: (e) => {
|
|
721
|
-
n.useTheme &&
|
|
721
|
+
n.useTheme && u.load(e);
|
|
722
722
|
}
|
|
723
|
-
}),
|
|
724
|
-
let
|
|
725
|
-
|
|
726
|
-
e.host && !
|
|
723
|
+
}), l.source = f, l.mountStatus = Oe, m = !1, c.on("source", x), c.on("theme", S);
|
|
724
|
+
let d = [];
|
|
725
|
+
c.on("piece:refused", (e) => {
|
|
726
|
+
e.host && !d.includes(e.host) && d.push(e.host), t.onError && t.onError({
|
|
727
727
|
kind: e.reason,
|
|
728
728
|
message: e.message
|
|
729
729
|
});
|
|
730
730
|
});
|
|
731
|
-
let g =
|
|
732
|
-
|
|
731
|
+
let g = c;
|
|
732
|
+
c.on("attach:released", () => {
|
|
733
733
|
Promise.resolve().then(() => {
|
|
734
|
-
if (!(h ||
|
|
735
|
-
let e =
|
|
734
|
+
if (!(h || c !== g)) for (; d.length;) {
|
|
735
|
+
let e = d.shift();
|
|
736
736
|
if (e.isConnected) {
|
|
737
737
|
e.dispatchEvent(new Event(o));
|
|
738
738
|
return;
|
|
@@ -740,13 +740,13 @@ function $(e, t = {}) {
|
|
|
740
740
|
}
|
|
741
741
|
});
|
|
742
742
|
});
|
|
743
|
-
let _ =
|
|
744
|
-
_ && (_.observe(
|
|
743
|
+
let _ = c.win && c.win.MutationObserver && c.doc && c.doc.documentElement ? new c.win.MutationObserver(y) : null;
|
|
744
|
+
_ && (_.observe(c.doc.documentElement, {
|
|
745
745
|
attributes: !0,
|
|
746
746
|
attributeFilter: ["data-theme"]
|
|
747
|
-
}),
|
|
748
|
-
let b =
|
|
749
|
-
b && b.addEventListener && (b.addEventListener("change", y),
|
|
747
|
+
}), c.own(() => _.disconnect()));
|
|
748
|
+
let b = c.win && c.win.matchMedia ? c.win.matchMedia("(prefers-color-scheme: light)") : null;
|
|
749
|
+
b && b.addEventListener && (b.addEventListener("change", y), c.own(() => b.removeEventListener("change", y))), p.setMode(v()), s && !s.ok && f.say({
|
|
750
750
|
state: "address",
|
|
751
751
|
problem: s.problem
|
|
752
752
|
}), f.provide({
|
|
@@ -800,14 +800,14 @@ function $(e, t = {}) {
|
|
|
800
800
|
});
|
|
801
801
|
}
|
|
802
802
|
function C() {
|
|
803
|
-
_(),
|
|
803
|
+
_(), c && c.destroy(), c = null, f = null, p = null;
|
|
804
804
|
}
|
|
805
805
|
let w = {
|
|
806
806
|
update(e = {}) {
|
|
807
807
|
if (h) return;
|
|
808
808
|
let t = !1;
|
|
809
|
-
if ("src" in e && e.src !== n.src && (n.src = e.src, t = !0), "theme" in e && e.theme !== n.theme && (n.theme = e.theme, i(
|
|
810
|
-
let e =
|
|
809
|
+
if ("src" in e && e.src !== n.src && (n.src = e.src, t = !0), "theme" in e && e.theme !== n.theme && (n.theme = e.theme, i(c).theme = Q.includes(n.theme) ? n.theme : "auto", y()), "useTheme" in e && !!e.useTheme !== n.useTheme && (n.useTheme = !!e.useTheme, n.useTheme ? f.config && p.load(f.config) : p.unload()), t) {
|
|
810
|
+
let e = c;
|
|
811
811
|
p.destroy(), b(), _(), e.destroy();
|
|
812
812
|
return;
|
|
813
813
|
}
|
|
@@ -820,16 +820,16 @@ function $(e, t = {}) {
|
|
|
820
820
|
Object.keys(r).length && f.provide(r);
|
|
821
821
|
},
|
|
822
822
|
destroy() {
|
|
823
|
-
h || (e.removeEventListener(
|
|
823
|
+
h || (e.removeEventListener(l, g), C(), h = !0, s.clear());
|
|
824
824
|
},
|
|
825
825
|
get instance() {
|
|
826
|
-
return
|
|
826
|
+
return c;
|
|
827
827
|
},
|
|
828
828
|
get source() {
|
|
829
829
|
return f;
|
|
830
830
|
}
|
|
831
831
|
};
|
|
832
|
-
return t.tokens &&
|
|
832
|
+
return t.tokens && d(e.getRootNode(), t.tokens), b(), _(), w;
|
|
833
833
|
}
|
|
834
834
|
function Ae(e) {
|
|
835
835
|
let t = [], n = (e) => {
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
12
|
-
"bytes":
|
|
13
|
-
"sha256": "
|
|
11
|
+
"path": "chunks/corn-map-Bd7PO6yD.js",
|
|
12
|
+
"bytes": 94825,
|
|
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.
|
|
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.
|
|
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)",
|