@sonordev/site-kit 2.5.8 → 2.5.9
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/{chunk-YNZJGZ32.js → chunk-JPVTQNIS.js} +24 -12
- package/dist/chunk-JPVTQNIS.js.map +1 -0
- package/dist/{chunk-GGK5XOY5.mjs → chunk-MNAMBNKE.mjs} +24 -12
- package/dist/chunk-MNAMBNKE.mjs.map +1 -0
- package/dist/commerce/index.js +45 -45
- package/dist/commerce/index.mjs +1 -1
- package/dist/index.js +25 -25
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-GGK5XOY5.mjs.map +0 -1
- package/dist/chunk-YNZJGZ32.js.map +0 -1
|
@@ -6741,37 +6741,49 @@ function EventsWidget({
|
|
|
6741
6741
|
display: "inline-flex",
|
|
6742
6742
|
alignItems: "center",
|
|
6743
6743
|
gap: "0.375rem",
|
|
6744
|
-
padding: "0.
|
|
6744
|
+
padding: "0.5rem 0.875rem",
|
|
6745
6745
|
borderRadius: "9999px",
|
|
6746
|
-
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-
|
|
6748
|
+
color: soldOut ? "var(--sk-text-secondary)" : "var(--sk-primary)",
|
|
6749
6749
|
fontSize: "0.8125rem",
|
|
6750
|
-
fontWeight:
|
|
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.
|
|
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-
|
|
6767
|
-
e.currentTarget.style.
|
|
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: {
|
|
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-
|
|
7051
|
-
//# sourceMappingURL=chunk-
|
|
7062
|
+
//# sourceMappingURL=chunk-JPVTQNIS.js.map
|
|
7063
|
+
//# sourceMappingURL=chunk-JPVTQNIS.js.map
|