@gem-sdk/plugin-sticky-add-to-cart 1.25.0 → 1.40.0-staging.0

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.
@@ -7,21 +7,21 @@ var components = require('@gem-sdk/components');
7
7
 
8
8
  const StickyAddToCart = ()=>{
9
9
  return /*#__PURE__*/ jsxRuntime.jsxs("div", {
10
- className: "fixed inset-x-0 bottom-0 z-90 flex items-center gap-4 bg-white p-4",
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
11
  children: [
12
12
  /*#__PURE__*/ jsxRuntime.jsx("div", {
13
- className: "w-20",
13
+ className: "gp-w-20",
14
14
  children: /*#__PURE__*/ jsxRuntime.jsx(components.ProductImages, {})
15
15
  }),
16
16
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
17
- className: "flex flex-col gap-2",
17
+ className: "gp-flex gp-flex-col gp-gap-2",
18
18
  children: [
19
19
  /*#__PURE__*/ jsxRuntime.jsx(components.ProductTitle, {}),
20
20
  /*#__PURE__*/ jsxRuntime.jsx(components.ProductPrice, {})
21
21
  ]
22
22
  }),
23
23
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
24
- className: "ml-auto flex gap-4",
24
+ className: "gp-ml-auto gp-flex gp-gap-4",
25
25
  children: [
26
26
  /*#__PURE__*/ jsxRuntime.jsx(components.ProductQuantity, {}),
27
27
  /*#__PURE__*/ jsxRuntime.jsx(components.ProductButton, {
@@ -3,21 +3,21 @@ import { ProductImages, ProductTitle, ProductPrice, ProductQuantity, ProductButt
3
3
 
4
4
  const StickyAddToCart = ()=>{
5
5
  return /*#__PURE__*/ jsxs("div", {
6
- className: "fixed inset-x-0 bottom-0 z-90 flex items-center gap-4 bg-white p-4",
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
7
  children: [
8
8
  /*#__PURE__*/ jsx("div", {
9
- className: "w-20",
9
+ className: "gp-w-20",
10
10
  children: /*#__PURE__*/ jsx(ProductImages, {})
11
11
  }),
12
12
  /*#__PURE__*/ jsxs("div", {
13
- className: "flex flex-col gap-2",
13
+ className: "gp-flex gp-flex-col gp-gap-2",
14
14
  children: [
15
15
  /*#__PURE__*/ jsx(ProductTitle, {}),
16
16
  /*#__PURE__*/ jsx(ProductPrice, {})
17
17
  ]
18
18
  }),
19
19
  /*#__PURE__*/ jsxs("div", {
20
- className: "ml-auto flex gap-4",
20
+ className: "gp-ml-auto gp-flex gp-gap-4",
21
21
  children: [
22
22
  /*#__PURE__*/ jsx(ProductQuantity, {}),
23
23
  /*#__PURE__*/ jsx(ProductButton, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/plugin-sticky-add-to-cart",
3
- "version": "1.25.0",
3
+ "version": "1.40.0-staging.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -19,9 +19,9 @@
19
19
  "test": "jest -c ./../../helpers/jest.config.ts"
20
20
  },
21
21
  "devDependencies": {
22
- "@gem-sdk/components": "1.25.0",
23
- "@gem-sdk/core": "1.25.0",
24
- "@gem-sdk/styles": "1.25.0"
22
+ "@gem-sdk/components": "1.40.0-staging.0",
23
+ "@gem-sdk/core": "1.40.0-staging.0",
24
+ "@gem-sdk/styles": "1.40.0-staging.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^17 || ^18",