@numueg/theme-sdk 0.5.2 → 0.6.1

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,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ReactElement } from 'react';
3
3
  import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-6MGANln7.mjs';
4
- import { T as ThemeSettingsV3, M as MountResult } from './theme-D0QybTQS.mjs';
4
+ import { T as ThemeSettingsV3, M as MountResult } from './theme-D8MOopvi.mjs';
5
5
 
6
6
  interface LocalizationState {
7
7
  locale: string;
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ReactElement } from 'react';
3
3
  import { C as Cart, b as Collection, c as Customer, P as Page, e as Product, i as Store } from './entities-6MGANln7.js';
4
- import { T as ThemeSettingsV3, M as MountResult } from './theme-D0QybTQS.js';
4
+ import { T as ThemeSettingsV3, M as MountResult } from './theme-D8MOopvi.js';
5
5
 
6
6
  interface LocalizationState {
7
7
  locale: string;
@@ -1,4 +1,4 @@
1
- import { T as ThemeSettingsV3 } from './theme-D0QybTQS.mjs';
1
+ import { T as ThemeSettingsV3 } from './theme-D8MOopvi.mjs';
2
2
 
3
3
  /**
4
4
  * Dual-Read normalization: converts V1/V2 legacy payloads to V3 in memory.
@@ -1,4 +1,4 @@
1
- import { T as ThemeSettingsV3 } from './theme-D0QybTQS.js';
1
+ import { T as ThemeSettingsV3 } from './theme-D8MOopvi.js';
2
2
 
3
3
  /**
4
4
  * Dual-Read normalization: converts V1/V2 legacy payloads to V3 in memory.
@@ -153,6 +153,8 @@ interface SettingDefinition {
153
153
  unit?: string;
154
154
  /** Hide this setting unless the expression evaluates truthy. */
155
155
  visible_if?: VisibleIf;
156
+ /** Aspect hint for image_picker previews + server crops, e.g. "16/9". */
157
+ aspect_ratio?: string;
156
158
  }
157
159
  interface PresetBlock {
158
160
  type: string;
@@ -153,6 +153,8 @@ interface SettingDefinition {
153
153
  unit?: string;
154
154
  /** Hide this setting unless the expression evaluates truthy. */
155
155
  visible_if?: VisibleIf;
156
+ /** Aspect hint for image_picker previews + server crops, e.g. "16/9". */
157
+ aspect_ratio?: string;
156
158
  }
157
159
  interface PresetBlock {
158
160
  type: string;
package/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
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-6MGANln7.mjs';
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-D0QybTQS.mjs';
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-D8MOopvi.mjs';
package/dist/types.d.ts CHANGED
@@ -1,2 +1,2 @@
1
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-6MGANln7.js';
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-D0QybTQS.js';
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-D8MOopvi.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  // src/validation/index.ts
4
4
  var THEME_CONTRACT_VERSION = 1;
5
- var SDK_VERSION = "0.5.2" ;
5
+ var SDK_VERSION = "0.6.1" ;
6
6
  var REQUIRED_TEMPLATES = [
7
7
  "home",
8
8
  "product",
@@ -1,4 +1,4 @@
1
- import { f as SectionSchema } from './theme-D0QybTQS.mjs';
1
+ import { f as SectionSchema } from './theme-D8MOopvi.mjs';
2
2
 
3
3
  /**
4
4
  * Shared theme-contract validators — the single source of truth.
@@ -1,4 +1,4 @@
1
- import { f as SectionSchema } from './theme-D0QybTQS.js';
1
+ import { f as SectionSchema } from './theme-D8MOopvi.js';
2
2
 
3
3
  /**
4
4
  * Shared theme-contract validators — the single source of truth.
@@ -1,6 +1,6 @@
1
1
  // src/validation/index.ts
2
2
  var THEME_CONTRACT_VERSION = 1;
3
- var SDK_VERSION = "0.5.2" ;
3
+ var SDK_VERSION = "0.6.1" ;
4
4
  var REQUIRED_TEMPLATES = [
5
5
  "home",
6
6
  "product",
package/dist/verify.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-6MGANln7.mjs';
3
- import { T as ThemeMountContext } from './mount-DH9dz3dq.mjs';
3
+ import { T as ThemeMountContext } from './mount-BGumg1JM.mjs';
4
4
  export { REQUIRED_TEMPLATES } from './validation.mjs';
5
- import './theme-D0QybTQS.mjs';
5
+ import './theme-D8MOopvi.mjs';
6
6
 
7
7
  /**
8
8
  * Behavioral render-verification harness — theme-enforcement Phase 2.
package/dist/verify.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { C as Cart, b as Collection, c as Customer, e as Product, i as Store } from './entities-6MGANln7.js';
3
- import { T as ThemeMountContext } from './mount-BN2mz_wx.js';
3
+ import { T as ThemeMountContext } from './mount-Bt-4ken5.js';
4
4
  export { REQUIRED_TEMPLATES } from './validation.js';
5
- import './theme-D0QybTQS.js';
5
+ import './theme-D8MOopvi.js';
6
6
 
7
7
  /**
8
8
  * Behavioral render-verification harness — theme-enforcement Phase 2.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@numueg/theme-sdk",
3
- "version": "0.5.2",
3
+ "version": "0.6.1",
4
4
  "description": "NUMU Theme SDK — typed hooks, components, and utilities for building NUMU storefront themes",
5
5
  "keywords": [
6
6
  "numu",