@numueg/theme-sdk 0.12.0 → 0.13.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.
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ReactElement } from 'react';
3
- import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-1XRRUTlO.mjs';
3
+ import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-DRKn04q0.mjs';
4
4
  import { T as ThemeSettingsV3, M as MountResult } from './theme-CNTB4KnU.mjs';
5
5
 
6
6
  interface LocalizationState {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ReactElement } from 'react';
3
- import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-1XRRUTlO.js';
3
+ import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-DRKn04q0.js';
4
4
  import { T as ThemeSettingsV3, M as MountResult } from './theme-CNTB4KnU.js';
5
5
 
6
6
  interface LocalizationState {
package/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export { A as Address, C as Cart, a as CartItem, b as Collection, c as Customer, O as Order, d as OrderItem, P as Page, e as Product, f as ProductImage, g as ProductVariant, S as SizeChart, h as SizeChartMode, i as Store } from './entities-1XRRUTlO.mjs';
1
+ export { A as Address, C as Cart, a as CartItem, b as Collection, c as Customer, O as Order, d as OrderItem, P as Page, e as Product, f as ProductImage, g as ProductVariant, S as SizeChart, h as SizeChartMode, i as Store } from './entities-DRKn04q0.mjs';
2
2
  export { B as BlockInstance, a as BlockProps, b as BlockSchema, E as ExternalThemeMetadata, P as PageTemplate, S as SectionGroup, c as SectionInstance, d as SectionPreset, e as SectionProps, f as SectionSchema, g as SettingDefinition, T as ThemeSettingsV3 } from './theme-CNTB4KnU.mjs';
package/dist/types.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { A as Address, C as Cart, a as CartItem, b as Collection, c as Customer, O as Order, d as OrderItem, P as Page, e as Product, f as ProductImage, g as ProductVariant, S as SizeChart, h as SizeChartMode, i as Store } from './entities-1XRRUTlO.js';
1
+ export { A as Address, C as Cart, a as CartItem, b as Collection, c as Customer, O as Order, d as OrderItem, P as Page, e as Product, f as ProductImage, g as ProductVariant, S as SizeChart, h as SizeChartMode, i as Store } from './entities-DRKn04q0.js';
2
2
  export { B as BlockInstance, a as BlockProps, b as BlockSchema, E as ExternalThemeMetadata, P as PageTemplate, S as SectionGroup, c as SectionInstance, d as SectionPreset, e as SectionProps, f as SectionSchema, g as SettingDefinition, T as ThemeSettingsV3 } from './theme-CNTB4KnU.js';
@@ -1,4 +1,4 @@
1
- import { c as Customer, e as Product } from './entities-1XRRUTlO.mjs';
1
+ import { c as Customer, e as Product } from './entities-DRKn04q0.mjs';
2
2
 
3
3
  /**
4
4
  * V2 → V3 compatibility shim.
@@ -1,4 +1,4 @@
1
- import { c as Customer, e as Product } from './entities-1XRRUTlO.js';
1
+ import { c as Customer, e as Product } from './entities-DRKn04q0.js';
2
2
 
3
3
  /**
4
4
  * V2 → V3 compatibility shim.
@@ -1,48 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var chunk7RZISLP2_cjs = require('./chunk-7RZISLP2.cjs');
3
+ var chunkH7RGDWSU_cjs = require('./chunk-H7RGDWSU.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "KNOWN_SETTING_TYPES", {
8
8
  enumerable: true,
9
- get: function () { return chunk7RZISLP2_cjs.KNOWN_SETTING_TYPES; }
9
+ get: function () { return chunkH7RGDWSU_cjs.KNOWN_SETTING_TYPES; }
10
10
  });
11
11
  Object.defineProperty(exports, "KNOWN_TEMPLATES", {
12
12
  enumerable: true,
13
- get: function () { return chunk7RZISLP2_cjs.KNOWN_TEMPLATES; }
13
+ get: function () { return chunkH7RGDWSU_cjs.KNOWN_TEMPLATES; }
14
14
  });
15
15
  Object.defineProperty(exports, "REQUIRED_TEMPLATES", {
16
16
  enumerable: true,
17
- get: function () { return chunk7RZISLP2_cjs.REQUIRED_TEMPLATES; }
17
+ get: function () { return chunkH7RGDWSU_cjs.REQUIRED_TEMPLATES; }
18
18
  });
19
19
  Object.defineProperty(exports, "SDK_VERSION", {
20
20
  enumerable: true,
21
- get: function () { return chunk7RZISLP2_cjs.SDK_VERSION; }
21
+ get: function () { return chunkH7RGDWSU_cjs.SDK_VERSION; }
22
22
  });
23
23
  Object.defineProperty(exports, "THEME_CONTRACT_VERSION", {
24
24
  enumerable: true,
25
- get: function () { return chunk7RZISLP2_cjs.THEME_CONTRACT_VERSION; }
25
+ get: function () { return chunkH7RGDWSU_cjs.THEME_CONTRACT_VERSION; }
26
26
  });
27
27
  Object.defineProperty(exports, "mergeResults", {
28
28
  enumerable: true,
29
- get: function () { return chunk7RZISLP2_cjs.mergeResults; }
29
+ get: function () { return chunkH7RGDWSU_cjs.mergeResults; }
30
30
  });
31
31
  Object.defineProperty(exports, "validateBuiltManifest", {
32
32
  enumerable: true,
33
- get: function () { return chunk7RZISLP2_cjs.validateBuiltManifest; }
33
+ get: function () { return chunkH7RGDWSU_cjs.validateBuiltManifest; }
34
34
  });
35
35
  Object.defineProperty(exports, "validateManifest", {
36
36
  enumerable: true,
37
- get: function () { return chunk7RZISLP2_cjs.validateManifest; }
37
+ get: function () { return chunkH7RGDWSU_cjs.validateManifest; }
38
38
  });
39
39
  Object.defineProperty(exports, "validateSectionSchema", {
40
40
  enumerable: true,
41
- get: function () { return chunk7RZISLP2_cjs.validateSectionSchema; }
41
+ get: function () { return chunkH7RGDWSU_cjs.validateSectionSchema; }
42
42
  });
43
43
  Object.defineProperty(exports, "validateSettingsAgainstSchema", {
44
44
  enumerable: true,
45
- get: function () { return chunk7RZISLP2_cjs.validateSettingsAgainstSchema; }
45
+ get: function () { return chunkH7RGDWSU_cjs.validateSettingsAgainstSchema; }
46
46
  });
47
47
  //# sourceMappingURL=validation.cjs.map
48
48
  //# sourceMappingURL=validation.cjs.map
@@ -1,3 +1,3 @@
1
- export { KNOWN_SETTING_TYPES, KNOWN_TEMPLATES, REQUIRED_TEMPLATES, SDK_VERSION, THEME_CONTRACT_VERSION, mergeResults, validateBuiltManifest, validateManifest, validateSectionSchema, validateSettingsAgainstSchema } from './chunk-ZECKSIDL.mjs';
1
+ export { KNOWN_SETTING_TYPES, KNOWN_TEMPLATES, REQUIRED_TEMPLATES, SDK_VERSION, THEME_CONTRACT_VERSION, mergeResults, validateBuiltManifest, validateManifest, validateSectionSchema, validateSettingsAgainstSchema } from './chunk-QPXMBK5U.mjs';
2
2
  //# sourceMappingURL=validation.mjs.map
3
3
  //# sourceMappingURL=validation.mjs.map
package/dist/verify.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk7RZISLP2_cjs = require('./chunk-7RZISLP2.cjs');
3
+ var chunkH7RGDWSU_cjs = require('./chunk-H7RGDWSU.cjs');
4
4
 
5
5
  // src/verify/index.ts
6
6
  function makeFixtureStore(overrides = {}) {
@@ -127,7 +127,7 @@ function makeFixtureContext(template, overrides = {}) {
127
127
  };
128
128
  }
129
129
  async function verifyThemeRender(serverModule, options = {}) {
130
- const templates = options.templates ?? chunk7RZISLP2_cjs.REQUIRED_TEMPLATES;
130
+ const templates = options.templates ?? chunkH7RGDWSU_cjs.REQUIRED_TEMPLATES;
131
131
  if (!serverModule || typeof serverModule.createApp !== "function") {
132
132
  return {
133
133
  ok: false,
@@ -172,7 +172,7 @@ async function verifyThemeRender(serverModule, options = {}) {
172
172
 
173
173
  Object.defineProperty(exports, "REQUIRED_TEMPLATES", {
174
174
  enumerable: true,
175
- get: function () { return chunk7RZISLP2_cjs.REQUIRED_TEMPLATES; }
175
+ get: function () { return chunkH7RGDWSU_cjs.REQUIRED_TEMPLATES; }
176
176
  });
177
177
  exports.makeFixtureCart = makeFixtureCart;
178
178
  exports.makeFixtureCollection = makeFixtureCollection;
package/dist/verify.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-1XRRUTlO.mjs';
3
- import { T as ThemeMountContext } from './mount-DDFMacmj.mjs';
2
+ import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-DRKn04q0.mjs';
3
+ import { T as ThemeMountContext } from './mount-BTaDtz8k.mjs';
4
4
  export { REQUIRED_TEMPLATES } from './validation.mjs';
5
5
  import './theme-CNTB4KnU.mjs';
6
6
 
package/dist/verify.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-1XRRUTlO.js';
3
- import { T as ThemeMountContext } from './mount-qofjiBxw.js';
2
+ import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-DRKn04q0.js';
3
+ import { T as ThemeMountContext } from './mount-CLQniVfc.js';
4
4
  export { REQUIRED_TEMPLATES } from './validation.js';
5
5
  import './theme-CNTB4KnU.js';
6
6
 
package/dist/verify.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { REQUIRED_TEMPLATES } from './chunk-ZECKSIDL.mjs';
2
- export { REQUIRED_TEMPLATES } from './chunk-ZECKSIDL.mjs';
1
+ import { REQUIRED_TEMPLATES } from './chunk-QPXMBK5U.mjs';
2
+ export { REQUIRED_TEMPLATES } from './chunk-QPXMBK5U.mjs';
3
3
 
4
4
  // src/verify/index.ts
5
5
  function makeFixtureStore(overrides = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@numueg/theme-sdk",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "NUMU Theme SDK — typed hooks, components, and utilities for building NUMU storefront themes",
5
5
  "keywords": [
6
6
  "numu",