@brytdesigns/shopify-product-info-components 1.1.1 → 1.1.2
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/main/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/main/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare const getProductContext: (element: Element) => readonly [
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
];
|
|
34
|
-
export declare const withProductElementContext: <D extends unknown>(
|
|
34
|
+
export declare const withProductElementContext: <D extends unknown>(target: string | import("solid-js").Accessor<string> | import("solid-js").Accessor<() => Element>, dependencies: import("solid-js").Accessor<D> | undefined, cb: (context: readonly [
|
|
35
35
|
{
|
|
36
36
|
product: Product;
|
|
37
37
|
},
|
|
@@ -63,7 +63,7 @@ export declare const getProductOptionsContext: (element: Element) => readonly [
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
];
|
|
66
|
-
export declare const withProductOptionsElementContext: <D extends unknown>(
|
|
66
|
+
export declare const withProductOptionsElementContext: <D extends unknown>(target: string | import("solid-js").Accessor<string> | import("solid-js").Accessor<() => Element>, dependencies: import("solid-js").Accessor<D> | undefined, cb: (context: readonly [
|
|
67
67
|
{
|
|
68
68
|
selectedOptions: string[];
|
|
69
69
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brytdesigns/shopify-product-info-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Headless web components used to render product information based on active product variants",
|
|
5
5
|
"main": "./dist/main/index.js",
|
|
6
6
|
"module": "./dist/main/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"component-register": "^0.8.7",
|
|
23
23
|
"solid-element": "^1.9.1",
|
|
24
24
|
"solid-js": "^1.9.7",
|
|
25
|
-
"@brytdesigns/web-component-core": "1.1.
|
|
25
|
+
"@brytdesigns/web-component-core": "1.1.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"dts-bundle-generator": "^9.5.1",
|