@gem-sdk/plugin-sticky-add-to-cart 2.0.0-staging.711 → 2.0.0-staging.860
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/cjs/components/StickyAddToCart.js +1 -39
- package/dist/cjs/index.js +1 -13
- package/dist/cjs/setting/StickyAddToCart.js +1 -10
- package/dist/esm/components/StickyAddToCart.js +1 -35
- package/dist/esm/index.js +1 -8
- package/dist/esm/setting/StickyAddToCart.js +1 -6
- package/package.json +6 -6
|
@@ -1,39 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var components = require('@gem-sdk/components');
|
|
7
|
-
|
|
8
|
-
const StickyAddToCart = ()=>{
|
|
9
|
-
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
10
|
-
className: "gp-fixed gp-inset-x-0 gp-bottom-0 gp-z-90 gp-flex gp-items-center gp-gap-4 gp-bg-white gp-p-4",
|
|
11
|
-
children: [
|
|
12
|
-
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
13
|
-
className: "gp-w-20",
|
|
14
|
-
children: /*#__PURE__*/ jsxRuntime.jsx(components.ProductImages, {})
|
|
15
|
-
}),
|
|
16
|
-
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
17
|
-
className: "gp-flex gp-flex-col gp-gap-2",
|
|
18
|
-
children: [
|
|
19
|
-
/*#__PURE__*/ jsxRuntime.jsx(components.ProductTitle, {}),
|
|
20
|
-
/*#__PURE__*/ jsxRuntime.jsx(components.ProductPrice, {})
|
|
21
|
-
]
|
|
22
|
-
}),
|
|
23
|
-
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
24
|
-
className: "gp-ml-auto gp-flex gp-gap-4",
|
|
25
|
-
children: [
|
|
26
|
-
/*#__PURE__*/ jsxRuntime.jsx(components.ProductQuantity, {}),
|
|
27
|
-
/*#__PURE__*/ jsxRuntime.jsx(components.ProductButton, {
|
|
28
|
-
setting: {
|
|
29
|
-
actionEffect: 'open-cart-drawer'
|
|
30
|
-
}
|
|
31
|
-
})
|
|
32
|
-
]
|
|
33
|
-
})
|
|
34
|
-
]
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
StickyAddToCart.defaultProps = {};
|
|
38
|
-
|
|
39
|
-
exports.default = StickyAddToCart;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),components=require("@gem-sdk/components");const StickyAddToCart=()=>jsxRuntime.jsxs("div",{className:"gp-fixed gp-inset-x-0 gp-bottom-0 gp-z-90 gp-flex gp-items-center gp-gap-4 gp-bg-white gp-p-4",children:[jsxRuntime.jsx("div",{className:"gp-w-20",children:jsxRuntime.jsx(components.ProductImages,{})}),jsxRuntime.jsxs("div",{className:"gp-flex gp-flex-col gp-gap-2",children:[jsxRuntime.jsx(components.ProductTitle,{}),jsxRuntime.jsx(components.ProductPrice,{})]}),jsxRuntime.jsxs("div",{className:"gp-ml-auto gp-flex gp-gap-4",children:[jsxRuntime.jsx(components.ProductQuantity,{}),jsxRuntime.jsx(components.ProductButton,{setting:{actionEffect:"open-cart-drawer"}})]})]});StickyAddToCart.defaultProps={},exports.default=StickyAddToCart;
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var StickyAddToCart = require('./components/StickyAddToCart.js');
|
|
6
|
-
var StickyAddToCart$1 = require('./setting/StickyAddToCart.js');
|
|
7
|
-
|
|
8
|
-
const builderSetting = {
|
|
9
|
-
StickyAddToCart: StickyAddToCart$1.default
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
exports.default = StickyAddToCart.default;
|
|
13
|
-
exports.builderSetting = builderSetting;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var StickyAddToCart=require("./components/StickyAddToCart.js"),StickyAddToCart$1=require("./setting/StickyAddToCart.js");const builderSetting={StickyAddToCart:StickyAddToCart$1.default};exports.default=StickyAddToCart.default,exports.builderSetting=builderSetting;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const config = {
|
|
6
|
-
tag: 'StickyAddToCart',
|
|
7
|
-
label: 'Sticky Add To Cart'
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
exports.default = config;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const config={tag:"StickyAddToCart",label:"Sticky Add To Cart"};exports.default=config;
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ProductImages, ProductTitle, ProductPrice, ProductQuantity, ProductButton } from '@gem-sdk/components';
|
|
3
|
-
|
|
4
|
-
const StickyAddToCart = ()=>{
|
|
5
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
6
|
-
className: "gp-fixed gp-inset-x-0 gp-bottom-0 gp-z-90 gp-flex gp-items-center gp-gap-4 gp-bg-white gp-p-4",
|
|
7
|
-
children: [
|
|
8
|
-
/*#__PURE__*/ jsx("div", {
|
|
9
|
-
className: "gp-w-20",
|
|
10
|
-
children: /*#__PURE__*/ jsx(ProductImages, {})
|
|
11
|
-
}),
|
|
12
|
-
/*#__PURE__*/ jsxs("div", {
|
|
13
|
-
className: "gp-flex gp-flex-col gp-gap-2",
|
|
14
|
-
children: [
|
|
15
|
-
/*#__PURE__*/ jsx(ProductTitle, {}),
|
|
16
|
-
/*#__PURE__*/ jsx(ProductPrice, {})
|
|
17
|
-
]
|
|
18
|
-
}),
|
|
19
|
-
/*#__PURE__*/ jsxs("div", {
|
|
20
|
-
className: "gp-ml-auto gp-flex gp-gap-4",
|
|
21
|
-
children: [
|
|
22
|
-
/*#__PURE__*/ jsx(ProductQuantity, {}),
|
|
23
|
-
/*#__PURE__*/ jsx(ProductButton, {
|
|
24
|
-
setting: {
|
|
25
|
-
actionEffect: 'open-cart-drawer'
|
|
26
|
-
}
|
|
27
|
-
})
|
|
28
|
-
]
|
|
29
|
-
})
|
|
30
|
-
]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
StickyAddToCart.defaultProps = {};
|
|
34
|
-
|
|
35
|
-
export { StickyAddToCart as default };
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{ProductImages as p,ProductTitle as a,ProductPrice as g,ProductQuantity as i,ProductButton as d}from"@gem-sdk/components";let StickyAddToCart=()=>e("div",{className:"gp-fixed gp-inset-x-0 gp-bottom-0 gp-z-90 gp-flex gp-items-center gp-gap-4 gp-bg-white gp-p-4",children:[t("div",{className:"gp-w-20",children:t(p,{})}),e("div",{className:"gp-flex gp-flex-col gp-gap-2",children:[t(a,{}),t(g,{})]}),e("div",{className:"gp-ml-auto gp-flex gp-gap-4",children:[t(i,{}),t(d,{setting:{actionEffect:"open-cart-drawer"}})]})]});StickyAddToCart.defaultProps={};export{StickyAddToCart as default};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import config from './setting/StickyAddToCart.js';
|
|
3
|
-
|
|
4
|
-
const builderSetting = {
|
|
5
|
-
StickyAddToCart: config
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export { builderSetting, StickyAddToCart as default };
|
|
1
|
+
import t from"./components/StickyAddToCart.js";import d from"./setting/StickyAddToCart.js";let builderSetting={StickyAddToCart:d};export{builderSetting,t as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/plugin-sticky-add-to-cart",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.860",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"test": "jest -c ./../../helpers/jest.config.ts"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@gem-sdk/components": "2.0.0-staging.
|
|
23
|
-
"@gem-sdk/core": "2.0.0-staging.
|
|
24
|
-
"@gem-sdk/styles": "2.0.0-staging.
|
|
22
|
+
"@gem-sdk/components": "2.0.0-staging.860",
|
|
23
|
+
"@gem-sdk/core": "2.0.0-staging.860",
|
|
24
|
+
"@gem-sdk/styles": "2.0.0-staging.784"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"react": "^
|
|
28
|
-
"react-dom": "^
|
|
27
|
+
"react": "^18",
|
|
28
|
+
"react-dom": "^18"
|
|
29
29
|
},
|
|
30
30
|
"module": "dist/esm/index.js",
|
|
31
31
|
"types": "dist/types/index.d.ts",
|