@syntrologie/adapt-product 2.8.0-canary.245
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/dist/bind/controller.d.ts +12 -0
- package/dist/bind/controller.d.ts.map +1 -0
- package/dist/bind/dom-selector.d.ts +11 -0
- package/dist/bind/dom-selector.d.ts.map +1 -0
- package/dist/bind/index.d.ts +6 -0
- package/dist/bind/index.d.ts.map +1 -0
- package/dist/bind/jsonld.d.ts +11 -0
- package/dist/bind/jsonld.d.ts.map +1 -0
- package/dist/bind/opengraph.d.ts +7 -0
- package/dist/bind/opengraph.d.ts.map +1 -0
- package/dist/bind/shopify-ajax.d.ts +11 -0
- package/dist/bind/shopify-ajax.d.ts.map +1 -0
- package/dist/bind/types.d.ts +7 -0
- package/dist/bind/types.d.ts.map +1 -0
- package/dist/bind/woocommerce-store-api.d.ts +7 -0
- package/dist/bind/woocommerce-store-api.d.ts.map +1 -0
- package/dist/cdn.d.ts +30 -0
- package/dist/cdn.d.ts.map +1 -0
- package/dist/cdn.js +34 -0
- package/dist/cdn.js.map +7 -0
- package/dist/chunk-E2IVTQMX.js +1100 -0
- package/dist/chunk-E2IVTQMX.js.map +7 -0
- package/dist/chunk-SM35E4R3.js +126 -0
- package/dist/chunk-SM35E4R3.js.map +7 -0
- package/dist/runtime.d.ts +567 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +18 -0
- package/dist/runtime.js.map +7 -0
- package/dist/sanitizer.d.ts +8 -0
- package/dist/sanitizer.d.ts.map +1 -0
- package/dist/schema-primitives.d.ts +414 -0
- package/dist/schema-primitives.d.ts.map +1 -0
- package/dist/schema.d.ts +3645 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +17 -0
- package/dist/schema.js.map +7 -0
- package/dist/theme.d.ts +9 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/widgets/ProductCardLit.d.ts +32 -0
- package/dist/widgets/ProductCardLit.d.ts.map +1 -0
- package/dist/widgets/ProductComparisonLit.d.ts +33 -0
- package/dist/widgets/ProductComparisonLit.d.ts.map +1 -0
- package/dist/widgets/ProductGridLit.d.ts +27 -0
- package/dist/widgets/ProductGridLit.d.ts.map +1 -0
- package/dist/widgets/ProductHeroLit.d.ts +27 -0
- package/dist/widgets/ProductHeroLit.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKZ,CAAC;AAEZ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASd,CAAC;AAEX,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/schema.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cardSchema,
|
|
3
|
+
comparisonSchema,
|
|
4
|
+
gridSchema,
|
|
5
|
+
heroSchema,
|
|
6
|
+
productSchema,
|
|
7
|
+
tileWidgets
|
|
8
|
+
} from "./chunk-SM35E4R3.js";
|
|
9
|
+
export {
|
|
10
|
+
cardSchema,
|
|
11
|
+
comparisonSchema,
|
|
12
|
+
gridSchema,
|
|
13
|
+
heroSchema,
|
|
14
|
+
productSchema,
|
|
15
|
+
tileWidgets
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=schema.js.map
|
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme tokens used by adaptive-product components.
|
|
3
|
+
*
|
|
4
|
+
* The widgets read these CSS custom properties from the canvas. The theme editor
|
|
5
|
+
* is expected to populate them; this list is the contract.
|
|
6
|
+
*/
|
|
7
|
+
export declare const THEME_TOKENS: readonly ["--sc-color-primary", "--sc-color-primary-hover", "--sc-color-text", "--sc-color-text-muted", "--sc-color-border", "--sc-color-surface", "--sc-radius-md", "--sc-radius-lg", "--sc-font-family", "--sc-tile-background", "--sc-shadow-sm", "--sc-shadow-md"];
|
|
8
|
+
export type ThemeToken = (typeof THEME_TOKENS)[number];
|
|
9
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,wQAaf,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
2
|
+
import { type CardProps } from '../schema';
|
|
3
|
+
import type { Product } from '../schema-primitives';
|
|
4
|
+
export declare class ProductCardLit extends LitElement {
|
|
5
|
+
#private;
|
|
6
|
+
static properties: {
|
|
7
|
+
props: {
|
|
8
|
+
attribute: boolean;
|
|
9
|
+
};
|
|
10
|
+
resolved: {
|
|
11
|
+
state: boolean;
|
|
12
|
+
};
|
|
13
|
+
validationError: {
|
|
14
|
+
state: boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
props: CardProps | undefined;
|
|
18
|
+
resolved: Record<string, {
|
|
19
|
+
image?: string;
|
|
20
|
+
price?: string;
|
|
21
|
+
}>;
|
|
22
|
+
validationError: boolean;
|
|
23
|
+
createRenderRoot(): this;
|
|
24
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
25
|
+
disconnectedCallback(): void;
|
|
26
|
+
render(): TemplateResult | typeof nothing;
|
|
27
|
+
}
|
|
28
|
+
export declare function renderProductCard(product: Product, density: 'compact' | 'standard', resolved: {
|
|
29
|
+
image?: string;
|
|
30
|
+
price?: string;
|
|
31
|
+
} | undefined): TemplateResult;
|
|
32
|
+
//# sourceMappingURL=ProductCardLit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductCardLit.d.ts","sourceRoot":"","sources":["../../src/widgets/ProductCardLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrE,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,WAAW,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,qBAAa,cAAe,SAAQ,UAAU;;IAC5C,OAAgB,UAAU;;;;;;;;;;MAIxB;IAEF,KAAK,EAAE,SAAS,GAAG,SAAS,CAAa;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAClE,eAAe,UAAS;IAIf,gBAAgB;IAIhB,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAM/C,oBAAoB,IAAI,IAAI;IA8B5B,MAAM,IAAI,cAAc,GAAG,OAAO,OAAO;CAUnD;AAED,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,SAAS,GAAG,UAAU,EAC/B,QAAQ,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,GACvD,cAAc,CAgFhB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
2
|
+
import { type ComparisonProps } from '../schema';
|
|
3
|
+
type ResolvedMap = Record<string, {
|
|
4
|
+
image?: string;
|
|
5
|
+
price?: string;
|
|
6
|
+
}>;
|
|
7
|
+
export declare class ProductComparisonLit extends LitElement {
|
|
8
|
+
#private;
|
|
9
|
+
static properties: {
|
|
10
|
+
props: {
|
|
11
|
+
attribute: boolean;
|
|
12
|
+
};
|
|
13
|
+
open: {
|
|
14
|
+
state: boolean;
|
|
15
|
+
};
|
|
16
|
+
resolved: {
|
|
17
|
+
state: boolean;
|
|
18
|
+
};
|
|
19
|
+
validationError: {
|
|
20
|
+
state: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
props: ComparisonProps | undefined;
|
|
24
|
+
open: Set<string>;
|
|
25
|
+
resolved: ResolvedMap;
|
|
26
|
+
validationError: boolean;
|
|
27
|
+
createRenderRoot(): this;
|
|
28
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
render(): TemplateResult | typeof nothing;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=ProductComparisonLit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductComparisonLit.d.ts","sourceRoot":"","sources":["../../src/widgets/ProductComparisonLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrE,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,WAAW,CAAC;AAInE,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEtE,qBAAa,oBAAqB,SAAQ,UAAU;;IAClD,OAAgB,UAAU;;;;;;;;;;;;;MAKxB;IAEF,KAAK,EAAE,eAAe,GAAG,SAAS,CAAa;IAC/C,IAAI,cAAoB;IACxB,QAAQ,EAAE,WAAW,CAAM;IAC3B,eAAe,UAAS;IAKf,gBAAgB;IAIhB,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAM/C,oBAAoB,IAAI,IAAI;IA0D5B,MAAM,IAAI,cAAc,GAAG,OAAO,OAAO;CAkHnD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
2
|
+
import { type GridProps } from '../schema';
|
|
3
|
+
export declare class ProductGridLit extends LitElement {
|
|
4
|
+
#private;
|
|
5
|
+
static properties: {
|
|
6
|
+
props: {
|
|
7
|
+
attribute: boolean;
|
|
8
|
+
};
|
|
9
|
+
resolved: {
|
|
10
|
+
state: boolean;
|
|
11
|
+
};
|
|
12
|
+
validationError: {
|
|
13
|
+
state: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
props: GridProps | undefined;
|
|
17
|
+
resolved: Record<string, {
|
|
18
|
+
image?: string;
|
|
19
|
+
price?: string;
|
|
20
|
+
}>;
|
|
21
|
+
validationError: boolean;
|
|
22
|
+
createRenderRoot(): this;
|
|
23
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
render(): TemplateResult | typeof nothing;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=ProductGridLit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductGridLit.d.ts","sourceRoot":"","sources":["../../src/widgets/ProductGridLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAErE,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,WAAW,CAAC;AAGvD,qBAAa,cAAe,SAAQ,UAAU;;IAC5C,OAAgB,UAAU;;;;;;;;;;MAIxB;IAEF,KAAK,EAAE,SAAS,GAAG,SAAS,CAAa;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAClE,eAAe,UAAS;IAIf,gBAAgB;IAIhB,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAM/C,oBAAoB,IAAI,IAAI;IA6B5B,MAAM,IAAI,cAAc,GAAG,OAAO,OAAO;CA0BnD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
2
|
+
import { type HeroProps } from '../schema';
|
|
3
|
+
export declare class ProductHeroLit extends LitElement {
|
|
4
|
+
#private;
|
|
5
|
+
static properties: {
|
|
6
|
+
props: {
|
|
7
|
+
attribute: boolean;
|
|
8
|
+
};
|
|
9
|
+
resolved: {
|
|
10
|
+
state: boolean;
|
|
11
|
+
};
|
|
12
|
+
validationError: {
|
|
13
|
+
state: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
props: HeroProps | undefined;
|
|
17
|
+
resolved: Record<string, {
|
|
18
|
+
image?: string;
|
|
19
|
+
price?: string;
|
|
20
|
+
}>;
|
|
21
|
+
validationError: boolean;
|
|
22
|
+
createRenderRoot(): this;
|
|
23
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
render(): TemplateResult | typeof nothing;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=ProductHeroLit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductHeroLit.d.ts","sourceRoot":"","sources":["../../src/widgets/ProductHeroLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrE,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,WAAW,CAAC;AAEvD,qBAAa,cAAe,SAAQ,UAAU;;IAC5C,OAAgB,UAAU;;;;;;;;;;MAIxB;IAEF,KAAK,EAAE,SAAS,GAAG,SAAS,CAAa;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAClE,eAAe,UAAS;IAIf,gBAAgB;IAIhB,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAM/C,oBAAoB,IAAI,IAAI;IA6B5B,MAAM,IAAI,cAAc,GAAG,OAAO,OAAO;CA0DnD"}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@syntrologie/adapt-product",
|
|
3
|
+
"version": "2.8.0-canary.245",
|
|
4
|
+
"description": "Adaptive Product — product cards, comparison, hero, and grid tile widgets with optional price/image binding to host-page sources.",
|
|
5
|
+
"license": "Proprietary",
|
|
6
|
+
"private": false,
|
|
7
|
+
"author": "Syntrologie <eng@syntrologie.com>",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/SyntropyForge/amazing-demos.git",
|
|
11
|
+
"directory": "packages/adaptives/adaptive-product"
|
|
12
|
+
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"syntrologie": {
|
|
17
|
+
"bundlingMode": "cdn-only"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./runtime": {
|
|
22
|
+
"types": "./dist/runtime.d.ts",
|
|
23
|
+
"import": "./dist/runtime.js"
|
|
24
|
+
},
|
|
25
|
+
"./schema": {
|
|
26
|
+
"types": "./dist/schema.d.ts",
|
|
27
|
+
"import": "./dist/schema.js"
|
|
28
|
+
},
|
|
29
|
+
"./cdn": {
|
|
30
|
+
"types": "./dist/cdn.d.ts",
|
|
31
|
+
"import": "./dist/cdn.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc --emitDeclarationOnly && node ../scripts/build-lib.mjs",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"clean": "rm -rf dist",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"test:watch": "vitest",
|
|
43
|
+
"lint": "biome check ."
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"lit": "^3.0.0",
|
|
47
|
+
"zod": "^3.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@open-wc/testing-helpers": "3.0.1",
|
|
51
|
+
"@syntrologie/sdk-contracts": "*",
|
|
52
|
+
"jsdom": "26.1.0",
|
|
53
|
+
"lit": "3.3.2",
|
|
54
|
+
"typescript": "5.9.3",
|
|
55
|
+
"vitest": "4.0.18",
|
|
56
|
+
"zod": "3.25.76"
|
|
57
|
+
}
|
|
58
|
+
}
|