@osimart/create-storefront 1.0.23 → 1.0.25

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.
@@ -0,0 +1,20 @@
1
+ <script setup>
2
+ /**
3
+ * MAIN_CHECKOUT — the CHECKOUT template's only section (Shopify's checkout
4
+ * editor). Lives in the package, not the theme: the checkout's layout and
5
+ * fields are fixed; the section's settings colour it and rename its labels.
6
+ *
7
+ * pages/checkout.vue draws CheckoutView itself; this file is what the
8
+ * editor's preview (pages/__builder-preview) resolves MAIN_CHECKOUT to.
9
+ */
10
+ import CheckoutView from "~/components/checkout/CheckoutView.vue";
11
+
12
+ defineProps({
13
+ section: { type: Object, required: true },
14
+ index: { type: Number, default: 0 },
15
+ });
16
+ </script>
17
+
18
+ <template>
19
+ <CheckoutView :settings="section.settings ?? {}" />
20
+ </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimart/create-storefront",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Osimart storefront platform — logic, platform pages and CLI; extended by every theme repo",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",