@cimplify/sdk 0.7.7 → 0.7.8

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/react.js CHANGED
@@ -672,16 +672,17 @@ function CimplifyCheckout({
672
672
  disabled: isSubmitting,
673
673
  "data-selected": orderType === type ? "true" : "false",
674
674
  style: {
675
- padding: "8px 14px",
675
+ padding: "10px 18px",
676
676
  borderRadius: "8px",
677
677
  border: orderType === type ? "1px solid transparent" : `1px solid ${isDark ? "#3f3f46" : "#d4d4d8"}`,
678
678
  background: orderType === type ? primaryColor : "transparent",
679
679
  color: orderType === type ? "#ffffff" : isDark ? "#e4e4e7" : "#3f3f46",
680
680
  cursor: isSubmitting ? "not-allowed" : "pointer",
681
681
  opacity: isSubmitting ? 0.6 : 1,
682
- fontSize: "14px",
682
+ fontSize: "15px",
683
683
  fontWeight: 500,
684
- transition: "all 150ms ease"
684
+ transition: "all 150ms ease",
685
+ WebkitTapHighlightColor: "transparent"
685
686
  },
686
687
  children: labelForOrderType(type)
687
688
  },
@@ -710,16 +711,17 @@ function CimplifyCheckout({
710
711
  disabled: isSubmitting,
711
712
  style: {
712
713
  width: "100%",
713
- padding: "12px 16px",
714
- borderRadius: "8px",
714
+ padding: "14px 16px",
715
+ borderRadius: "10px",
715
716
  border: "none",
716
717
  background: isSubmitting ? "#a1a1aa" : primaryColor,
717
718
  color: "#ffffff",
718
719
  cursor: isSubmitting ? "not-allowed" : "pointer",
719
720
  fontWeight: 600,
720
- fontSize: "15px",
721
+ fontSize: "16px",
721
722
  boxShadow: isSubmitting ? "none" : "0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",
722
- transition: "all 150ms ease"
723
+ transition: "all 150ms ease",
724
+ WebkitTapHighlightColor: "transparent"
723
725
  },
724
726
  children: isSubmitting ? "Processing..." : "Complete Order"
725
727
  }
package/dist/react.mjs CHANGED
@@ -670,16 +670,17 @@ function CimplifyCheckout({
670
670
  disabled: isSubmitting,
671
671
  "data-selected": orderType === type ? "true" : "false",
672
672
  style: {
673
- padding: "8px 14px",
673
+ padding: "10px 18px",
674
674
  borderRadius: "8px",
675
675
  border: orderType === type ? "1px solid transparent" : `1px solid ${isDark ? "#3f3f46" : "#d4d4d8"}`,
676
676
  background: orderType === type ? primaryColor : "transparent",
677
677
  color: orderType === type ? "#ffffff" : isDark ? "#e4e4e7" : "#3f3f46",
678
678
  cursor: isSubmitting ? "not-allowed" : "pointer",
679
679
  opacity: isSubmitting ? 0.6 : 1,
680
- fontSize: "14px",
680
+ fontSize: "15px",
681
681
  fontWeight: 500,
682
- transition: "all 150ms ease"
682
+ transition: "all 150ms ease",
683
+ WebkitTapHighlightColor: "transparent"
683
684
  },
684
685
  children: labelForOrderType(type)
685
686
  },
@@ -708,16 +709,17 @@ function CimplifyCheckout({
708
709
  disabled: isSubmitting,
709
710
  style: {
710
711
  width: "100%",
711
- padding: "12px 16px",
712
- borderRadius: "8px",
712
+ padding: "14px 16px",
713
+ borderRadius: "10px",
713
714
  border: "none",
714
715
  background: isSubmitting ? "#a1a1aa" : primaryColor,
715
716
  color: "#ffffff",
716
717
  cursor: isSubmitting ? "not-allowed" : "pointer",
717
718
  fontWeight: 600,
718
- fontSize: "15px",
719
+ fontSize: "16px",
719
720
  boxShadow: isSubmitting ? "none" : "0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",
720
- transition: "all 150ms ease"
721
+ transition: "all 150ms ease",
722
+ WebkitTapHighlightColor: "transparent"
721
723
  },
722
724
  children: isSubmitting ? "Processing..." : "Complete Order"
723
725
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimplify/sdk",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Cimplify Commerce SDK for storefronts",
5
5
  "keywords": [
6
6
  "cimplify",