@sonordev/site-kit 2.5.8 → 2.6.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.
@@ -6741,37 +6741,49 @@ function EventsWidget({
6741
6741
  display: "inline-flex",
6742
6742
  alignItems: "center",
6743
6743
  gap: "0.375rem",
6744
- padding: "0.375rem 0.75rem",
6744
+ padding: "0.5rem 0.875rem",
6745
6745
  borderRadius: "9999px",
6746
- border: "1px solid var(--sk-border)",
6746
+ border: "1.5px solid var(--sk-primary)",
6747
6747
  background: soldOut ? "var(--sk-surface)" : "var(--sk-bg)",
6748
- color: soldOut ? "var(--sk-text-secondary)" : "var(--sk-text-primary)",
6748
+ color: soldOut ? "var(--sk-text-secondary)" : "var(--sk-primary)",
6749
6749
  fontSize: "0.8125rem",
6750
- fontWeight: 500,
6750
+ fontWeight: 600,
6751
+ letterSpacing: "0.01em",
6751
6752
  cursor: soldOut ? "not-allowed" : "pointer",
6752
6753
  textDecoration: soldOut ? "line-through" : "none",
6753
- transition: "all 150ms",
6754
- whiteSpace: "nowrap"
6754
+ transition: "all 150ms ease",
6755
+ whiteSpace: "nowrap",
6756
+ boxShadow: soldOut ? "none" : "0 1px 2px rgba(0,0,0,0.04)"
6755
6757
  },
6756
6758
  onMouseEnter: (e) => {
6757
6759
  if (!soldOut) {
6758
6760
  e.currentTarget.style.background = "var(--sk-primary)";
6759
6761
  e.currentTarget.style.color = "var(--sk-bg)";
6760
- e.currentTarget.style.borderColor = "var(--sk-primary)";
6762
+ e.currentTarget.style.transform = "translateY(-1px)";
6763
+ e.currentTarget.style.boxShadow = "0 4px 10px -2px rgba(0,0,0,0.15)";
6761
6764
  }
6762
6765
  },
6763
6766
  onMouseLeave: (e) => {
6764
6767
  if (!soldOut) {
6765
6768
  e.currentTarget.style.background = "var(--sk-bg)";
6766
- e.currentTarget.style.color = "var(--sk-text-primary)";
6767
- e.currentTarget.style.borderColor = "var(--sk-border)";
6769
+ e.currentTarget.style.color = "var(--sk-primary)";
6770
+ e.currentTarget.style.transform = "none";
6771
+ e.currentTarget.style.boxShadow = "0 1px 2px rgba(0,0,0,0.04)";
6768
6772
  }
6769
6773
  },
6770
6774
  children: [
6771
6775
  formatDate(s.starts_at),
6772
6776
  " \xB7 ",
6773
6777
  formatTime(s.starts_at),
6774
- low && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { color: "var(--sk-error)", fontWeight: 600, fontSize: "0.75rem" }, children: [
6778
+ low && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: {
6779
+ marginLeft: "0.125rem",
6780
+ padding: "0.0625rem 0.375rem",
6781
+ borderRadius: "9999px",
6782
+ background: "var(--sk-error)",
6783
+ color: "var(--sk-bg)",
6784
+ fontWeight: 700,
6785
+ fontSize: "0.6875rem"
6786
+ }, children: [
6775
6787
  s.spots_remaining,
6776
6788
  " left"
6777
6789
  ] })
@@ -7047,5 +7059,5 @@ exports.registerForEvent = registerForEvent;
7047
7059
  exports.useEventModal = useEventModal;
7048
7060
  exports.validateAddress = validateAddress;
7049
7061
  exports.validateDiscountCode = validateDiscountCode;
7050
- //# sourceMappingURL=chunk-YNZJGZ32.js.map
7051
- //# sourceMappingURL=chunk-YNZJGZ32.js.map
7062
+ //# sourceMappingURL=chunk-JPVTQNIS.js.map
7063
+ //# sourceMappingURL=chunk-JPVTQNIS.js.map