@marktiderman/genesis-sites 0.7.3 → 0.7.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/assets/form-island.defb8daccc.js +51 -0
- package/dist/assets/{islands.a010145ef0.js → islands.33a445f34e.js} +1 -1
- package/dist/assets/{sites-forms.611926fc1c.css → sites-forms.aff23b5617.css} +1 -1
- package/dist/assets/sites-forms.css +1 -1
- package/dist/assets/{sites.f2e59e1302.css → sites.5b3f64c627.css} +1 -1
- package/dist/assets/sites.css +1 -1
- package/dist/assets.generated-LLUGUUWZ.js +3 -0
- package/dist/{assets.generated-4U6VIMKD.js.map → assets.generated-LLUGUUWZ.js.map} +1 -1
- package/dist/blocks.d.ts +2 -2
- package/dist/blocks.js +1 -1
- package/dist/blocks.js.map +1 -1
- package/dist/{chunk-KRXZIH4V.js → chunk-7E3YGYVH.js} +3 -3
- package/dist/{chunk-KRXZIH4V.js.map → chunk-7E3YGYVH.js.map} +1 -1
- package/dist/chunk-RLYO6VVP.js +19 -0
- package/dist/chunk-RLYO6VVP.js.map +1 -0
- package/dist/editor.js +5 -5
- package/dist/editor.js.map +1 -1
- package/dist/{handler-VDDZVNKF.js → handler-UMGSZY33.js} +4 -4
- package/dist/{handler-VDDZVNKF.js.map → handler-UMGSZY33.js.map} +1 -1
- package/dist/web.d.ts +3 -3
- package/dist/web.js +2 -2
- package/package.json +3 -3
- package/dist/assets/form-island.d7b7923a8c.js +0 -51
- package/dist/assets.generated-4U6VIMKD.js +0 -3
- package/dist/chunk-N6R7S5WK.js +0 -19
- package/dist/chunk-N6R7S5WK.js.map +0 -1
package/dist/editor.js
CHANGED
|
@@ -1878,12 +1878,12 @@ function PagesPanel(props) {
|
|
|
1878
1878
|
|
|
1879
1879
|
// src/editor/preview.ts
|
|
1880
1880
|
async function loadSiteCss() {
|
|
1881
|
-
const { ASSETS } = await import('./assets.generated-
|
|
1881
|
+
const { ASSETS } = await import('./assets.generated-LLUGUUWZ.js');
|
|
1882
1882
|
return ASSETS.css.body;
|
|
1883
1883
|
}
|
|
1884
1884
|
var styleText = (css) => css.replace(/<\/style/gi, "<\\/style");
|
|
1885
1885
|
async function renderPreview(input) {
|
|
1886
|
-
const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-
|
|
1886
|
+
const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-UMGSZY33.js'), import('./assets.generated-LLUGUUWZ.js')]);
|
|
1887
1887
|
const result = await renderSitePageToString(new Request(`https://preview.invalid${input.path}`), {
|
|
1888
1888
|
store: input.store,
|
|
1889
1889
|
brand: { getBrand: () => input.brand },
|
|
@@ -2787,8 +2787,8 @@ function SiteEditor({ siteId, store, brand, forms, assets, onPublish, reserved,
|
|
|
2787
2787
|
/* @__PURE__ */ jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: () => setNotice(null), "aria-label": "Dismiss", children: "Dismiss" })
|
|
2788
2788
|
] }) : null
|
|
2789
2789
|
] }) : null,
|
|
2790
|
-
/* @__PURE__ */ jsxs("div", { className: "grid min-h-0 flex-1 grid-cols-1 lg:grid-cols-[17rem_minmax(0,1fr)_20rem]", inert: busy || void 0, "aria-busy": busy || void 0, children: [
|
|
2791
|
-
/* @__PURE__ */ jsx("aside", { className: "flex
|
|
2790
|
+
/* @__PURE__ */ jsxs("div", { className: "grid min-h-0 flex-1 grid-cols-1 overflow-y-auto lg:grid-cols-[17rem_minmax(0,1fr)_20rem] lg:overflow-visible", inert: busy || void 0, "aria-busy": busy || void 0, children: [
|
|
2791
|
+
/* @__PURE__ */ jsx("aside", { className: "flex flex-col border-b border-border lg:min-h-0 lg:border-b-0 lg:border-r", "aria-label": "Sections and pages", onKeyDown: keepDeleteInPanel, children: /* @__PURE__ */ jsxs(Tabs, { defaultValue: "add", value: leftTab, onValueChange: setLeftTab, className: "flex min-h-0 flex-1 flex-col", children: [
|
|
2792
2792
|
/* @__PURE__ */ jsxs(TabsList, { className: cn("m-2 grid", readOnly ? "grid-cols-2" : "grid-cols-3"), children: [
|
|
2793
2793
|
readOnly ? null : /* @__PURE__ */ jsx(TabsTrigger, { value: "add", children: "Add" }),
|
|
2794
2794
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "outline", children: "Outline" }),
|
|
@@ -2837,7 +2837,7 @@ function SiteEditor({ siteId, store, brand, forms, assets, onPublish, reserved,
|
|
|
2837
2837
|
) })
|
|
2838
2838
|
] }) }),
|
|
2839
2839
|
/* @__PURE__ */ jsx("section", { className: "relative min-h-[28rem] min-w-0 bg-muted", "aria-label": "Page canvas", "data-gs-canvas": "", children: /* @__PURE__ */ jsx(Puck.Preview, {}) }),
|
|
2840
|
-
/* @__PURE__ */ jsx("aside", { className: "flex
|
|
2840
|
+
/* @__PURE__ */ jsx("aside", { className: "flex flex-col border-t border-border lg:min-h-0 lg:border-l lg:border-t-0", "aria-label": "Section settings and publishing", onKeyDown: keepDeleteInPanel, children: /* @__PURE__ */ jsxs(Tabs, { defaultValue: "edit", value: rightTab, onValueChange: setRightTab, className: "flex min-h-0 flex-1 flex-col", children: [
|
|
2841
2841
|
/* @__PURE__ */ jsxs(TabsList, { className: "m-2 grid grid-cols-2", children: [
|
|
2842
2842
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "edit", children: "Edit" }),
|
|
2843
2843
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "publish", children: readOnly ? "Releases" : "Publish" })
|