@wocart/theme 2.2.0 → 2.3.0

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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to `@wocart/theme` are recorded here. The package follows
5
5
  major version, and an export is marked `@deprecated` for at least one minor
6
6
  release before a major removes it.
7
7
 
8
+ ## 2.3.0 — 2026-10-24
9
+
10
+ ### Added
11
+
12
+ - `SurfacePageType` and the manifest's page types take `trackOrder`, the
13
+ storefront's new page type (`@wocart/storefront` 1.21.0, now the peer).
14
+
8
15
  ## 2.2.0 — 2026-10-24
9
16
 
10
17
  What every theme used to write itself is now the package's: binding browser
@@ -17,7 +17,7 @@ export declare const TYPE_KEY_PATTERN: RegExp;
17
17
  */
18
18
  export declare const SURFACE_KEY_PATTERN: RegExp;
19
19
  /** The platform page types a surface can render (`SurfacePageType`), mirrored from the storefront's page types. */
20
- export declare const PAGE_TYPES: readonly ["home", "catalog", "category", "collection", "product", "page", "landing", "checkout", "thankYou"];
20
+ export declare const PAGE_TYPES: readonly ["home", "catalog", "category", "collection", "product", "page", "landing", "checkout", "thankYou", "trackOrder"];
21
21
  /** A `color` field's value: a hex color, `#rgb` or `#rrggbb`. */
22
22
  export declare const COLOR_PATTERN: RegExp;
23
23
  /**
package/dist/patterns.js CHANGED
@@ -27,6 +27,7 @@ export const PAGE_TYPES = [
27
27
  "landing",
28
28
  "checkout",
29
29
  "thankYou",
30
+ "trackOrder",
30
31
  ];
31
32
  /** A `color` field's value: a hex color, `#rgb` or `#rrggbb`. */
32
33
  export const COLOR_PATTERN = /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
package/dist/types.d.ts CHANGED
@@ -749,7 +749,7 @@ export interface AreaSpec {
749
749
  * The storefront's page types — what a URL means, with the paths the platform
750
750
  * owns. The same names as `StorefrontPageType` in `@wocart/storefront`.
751
751
  */
752
- export type SurfacePageType = "home" | "catalog" | "category" | "collection" | "product" | "page" | "landing" | "checkout" | "thankYou";
752
+ export type SurfacePageType = "home" | "catalog" | "category" | "collection" | "product" | "page" | "landing" | "checkout" | "thankYou" | "trackOrder";
753
753
  /**
754
754
  * One component as data: a `ComponentDefinition` minus its runtime-only
755
755
  * implementation. `component` (the live component reference) and `load` (the
package/dist/version.d.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  * reads. Always equal to `package.json`'s version; the package check refuses
5
5
  * a release where they differ.
6
6
  */
7
- export declare const THEME_SDK_VERSION = "2.2.0";
7
+ export declare const THEME_SDK_VERSION = "2.3.0";
package/dist/version.js CHANGED
@@ -4,4 +4,4 @@
4
4
  * reads. Always equal to `package.json`'s version; the package check refuses
5
5
  * a release where they differ.
6
6
  */
7
- export const THEME_SDK_VERSION = "2.2.0";
7
+ export const THEME_SDK_VERSION = "2.3.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wocart/theme",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "The Wocart theme contract: code-owned component definitions, JSON page documents, validation and resolution, and a reference Astro renderer.",
5
5
  "keywords": [
6
6
  "wocart",
@@ -82,7 +82,7 @@
82
82
  "zod": "^4.4.3"
83
83
  },
84
84
  "peerDependencies": {
85
- "@wocart/storefront": "^1.20.0",
85
+ "@wocart/storefront": "^1.21.0",
86
86
  "astro": "^7.0.0"
87
87
  },
88
88
  "peerDependenciesMeta": {