@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.
@@ -6735,37 +6735,49 @@ function EventsWidget({
6735
6735
  display: "inline-flex",
6736
6736
  alignItems: "center",
6737
6737
  gap: "0.375rem",
6738
- padding: "0.375rem 0.75rem",
6738
+ padding: "0.5rem 0.875rem",
6739
6739
  borderRadius: "9999px",
6740
- border: "1px solid var(--sk-border)",
6740
+ border: "1.5px solid var(--sk-primary)",
6741
6741
  background: soldOut ? "var(--sk-surface)" : "var(--sk-bg)",
6742
- color: soldOut ? "var(--sk-text-secondary)" : "var(--sk-text-primary)",
6742
+ color: soldOut ? "var(--sk-text-secondary)" : "var(--sk-primary)",
6743
6743
  fontSize: "0.8125rem",
6744
- fontWeight: 500,
6744
+ fontWeight: 600,
6745
+ letterSpacing: "0.01em",
6745
6746
  cursor: soldOut ? "not-allowed" : "pointer",
6746
6747
  textDecoration: soldOut ? "line-through" : "none",
6747
- transition: "all 150ms",
6748
- whiteSpace: "nowrap"
6748
+ transition: "all 150ms ease",
6749
+ whiteSpace: "nowrap",
6750
+ boxShadow: soldOut ? "none" : "0 1px 2px rgba(0,0,0,0.04)"
6749
6751
  },
6750
6752
  onMouseEnter: (e) => {
6751
6753
  if (!soldOut) {
6752
6754
  e.currentTarget.style.background = "var(--sk-primary)";
6753
6755
  e.currentTarget.style.color = "var(--sk-bg)";
6754
- e.currentTarget.style.borderColor = "var(--sk-primary)";
6756
+ e.currentTarget.style.transform = "translateY(-1px)";
6757
+ e.currentTarget.style.boxShadow = "0 4px 10px -2px rgba(0,0,0,0.15)";
6755
6758
  }
6756
6759
  },
6757
6760
  onMouseLeave: (e) => {
6758
6761
  if (!soldOut) {
6759
6762
  e.currentTarget.style.background = "var(--sk-bg)";
6760
- e.currentTarget.style.color = "var(--sk-text-primary)";
6761
- e.currentTarget.style.borderColor = "var(--sk-border)";
6763
+ e.currentTarget.style.color = "var(--sk-primary)";
6764
+ e.currentTarget.style.transform = "none";
6765
+ e.currentTarget.style.boxShadow = "0 1px 2px rgba(0,0,0,0.04)";
6762
6766
  }
6763
6767
  },
6764
6768
  children: [
6765
6769
  formatDate(s.starts_at),
6766
6770
  " \xB7 ",
6767
6771
  formatTime(s.starts_at),
6768
- low && /* @__PURE__ */ jsxs("span", { style: { color: "var(--sk-error)", fontWeight: 600, fontSize: "0.75rem" }, children: [
6772
+ low && /* @__PURE__ */ jsxs("span", { style: {
6773
+ marginLeft: "0.125rem",
6774
+ padding: "0.0625rem 0.375rem",
6775
+ borderRadius: "9999px",
6776
+ background: "var(--sk-error)",
6777
+ color: "var(--sk-bg)",
6778
+ fontWeight: 700,
6779
+ fontSize: "0.6875rem"
6780
+ }, children: [
6769
6781
  s.spots_remaining,
6770
6782
  " left"
6771
6783
  ] })
@@ -6998,5 +7010,5 @@ function groupEventsByOffering(events) {
6998
7010
  }
6999
7011
 
7000
7012
  export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, isEventSoldOut, registerForEvent, useEventModal, validateAddress, validateDiscountCode };
7001
- //# sourceMappingURL=chunk-GGK5XOY5.mjs.map
7002
- //# sourceMappingURL=chunk-GGK5XOY5.mjs.map
7013
+ //# sourceMappingURL=chunk-MNAMBNKE.mjs.map
7014
+ //# sourceMappingURL=chunk-MNAMBNKE.mjs.map