@dropins/storefront-cart 0.4.0-alpha169 → 0.4.0-alpha170
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.
|
@@ -2,7 +2,7 @@ import { HTMLAttributes } from 'preact/compat';
|
|
|
2
2
|
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export interface EmptyCartProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
|
|
5
|
+
routeCTA?: () => string;
|
|
6
6
|
}
|
|
7
7
|
export declare const EmptyCart: Container<EmptyCartProps>;
|
|
8
8
|
//# sourceMappingURL=EmptyCart.d.ts.map
|
package/containers/EmptyCart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as m}from"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/lib.js";/* empty css */import{E as p}from"../chunks/EmptyCart.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";const E=({routeCTA:t})=>m(p,{ctaLinkURL:t==null?void 0:t()});export{E as EmptyCart,E as default};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-cart", "version": "0.4.0-
|
|
1
|
+
{"name": "@dropins/storefront-cart", "version": "0.4.0-alpha170", "@dropins/tools": "~0.27.0"}
|