@gem-sdk/plugin-cart-drawer 1.5.43 → 1.11.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.
@@ -68,7 +68,7 @@ const CartDiscountCode = ()=>{
68
68
  },
69
69
  children: [
70
70
  /*#__PURE__*/ jsxRuntime.jsx("div", {
71
- className: core.cls('absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2', {
71
+ className: core.cls('absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2', {
72
72
  hidden: !isMutating
73
73
  }),
74
74
  children: /*#__PURE__*/ jsxRuntime.jsx(LoadingIcon.default, {})
@@ -26,7 +26,7 @@ const CartFooter = ({ checkoutUrl , price , openMode })=>{
26
26
  }
27
27
  };
28
28
  return /*#__PURE__*/ jsxRuntime.jsxs("div", {
29
- className: "flex flex-col gap-4 border-t border-t-g-line-3 bg-g-bg-2 px-6 pt-4 pb-8",
29
+ className: "flex flex-col gap-4 border-t border-t-g-line-3 bg-g-bg-2 px-6 pb-8 pt-4",
30
30
  children: [
31
31
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
32
32
  className: "g-paragraph-1 flex justify-between font-semibold",
@@ -44,7 +44,7 @@ const CartFooter = ({ checkoutUrl , price , openMode })=>{
44
44
  "aria-label": "Checkout",
45
45
  role: "button",
46
46
  "aria-hidden": "true",
47
- className: "g-paragraph-1 flex justify-between bg-g-brand py-3 px-4 font-semibold text-g-text-3",
47
+ className: "g-paragraph-1 flex justify-between bg-g-brand px-4 py-3 font-semibold text-g-text-3",
48
48
  onClick: ()=>openCheckout(600, 600),
49
49
  style: {
50
50
  ...core.composeRadius({
@@ -64,7 +64,7 @@ const CartDiscountCode = ()=>{
64
64
  },
65
65
  children: [
66
66
  /*#__PURE__*/ jsx("div", {
67
- className: cls('absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2', {
67
+ className: cls('absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2', {
68
68
  hidden: !isMutating
69
69
  }),
70
70
  children: /*#__PURE__*/ jsx(LoadingIcon, {})
@@ -22,7 +22,7 @@ const CartFooter = ({ checkoutUrl , price , openMode })=>{
22
22
  }
23
23
  };
24
24
  return /*#__PURE__*/ jsxs("div", {
25
- className: "flex flex-col gap-4 border-t border-t-g-line-3 bg-g-bg-2 px-6 pt-4 pb-8",
25
+ className: "flex flex-col gap-4 border-t border-t-g-line-3 bg-g-bg-2 px-6 pb-8 pt-4",
26
26
  children: [
27
27
  /*#__PURE__*/ jsxs("div", {
28
28
  className: "g-paragraph-1 flex justify-between font-semibold",
@@ -40,7 +40,7 @@ const CartFooter = ({ checkoutUrl , price , openMode })=>{
40
40
  "aria-label": "Checkout",
41
41
  role: "button",
42
42
  "aria-hidden": "true",
43
- className: "g-paragraph-1 flex justify-between bg-g-brand py-3 px-4 font-semibold text-g-text-3",
43
+ className: "g-paragraph-1 flex justify-between bg-g-brand px-4 py-3 font-semibold text-g-text-3",
44
44
  onClick: ()=>openCheckout(600, 600),
45
45
  style: {
46
46
  ...composeRadius({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/plugin-cart-drawer",
3
- "version": "1.5.43",
3
+ "version": "1.11.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",