@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 +7 -0
- package/dist/patterns.d.ts +1 -1
- package/dist/patterns.js +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
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
|
package/dist/patterns.d.ts
CHANGED
|
@@ -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
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
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wocart/theme",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
85
|
+
"@wocart/storefront": "^1.21.0",
|
|
86
86
|
"astro": "^7.0.0"
|
|
87
87
|
},
|
|
88
88
|
"peerDependenciesMeta": {
|