@sonordev/site-kit 2.7.0 → 2.7.1
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-KCA5OLS4.js → chunk-2OGUBINV.js} +9 -4
- package/dist/chunk-2OGUBINV.js.map +1 -0
- package/dist/{chunk-FN7ADGWH.mjs → chunk-MCIELZWP.mjs} +9 -4
- package/dist/chunk-MCIELZWP.mjs.map +1 -0
- package/dist/commerce/index.js +46 -46
- package/dist/commerce/index.mjs +1 -1
- package/dist/index.js +26 -26
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-FN7ADGWH.mjs.map +0 -1
- package/dist/chunk-KCA5OLS4.js.map +0 -1
|
@@ -5019,6 +5019,11 @@ function loadSquareSDK2(environment) {
|
|
|
5019
5019
|
document.head.appendChild(script);
|
|
5020
5020
|
});
|
|
5021
5021
|
}
|
|
5022
|
+
function resolveCssVar(name, fallback) {
|
|
5023
|
+
if (typeof window === "undefined") return fallback;
|
|
5024
|
+
const value = getComputedStyle(document.documentElement).getPropertyValue(name).trim();
|
|
5025
|
+
return value || fallback;
|
|
5026
|
+
}
|
|
5022
5027
|
var SINGLE_TICKET_KEY = "__single__";
|
|
5023
5028
|
function EventCheckout({
|
|
5024
5029
|
event,
|
|
@@ -5109,11 +5114,11 @@ function EventCheckout({
|
|
|
5109
5114
|
const card = await payments.card({
|
|
5110
5115
|
style: {
|
|
5111
5116
|
".input-container": {
|
|
5112
|
-
borderColor: "
|
|
5117
|
+
borderColor: resolveCssVar("--sk-border", "#d1d5db"),
|
|
5113
5118
|
borderRadius: "6px"
|
|
5114
5119
|
},
|
|
5115
5120
|
".input-container.is-focus": {
|
|
5116
|
-
borderColor: "
|
|
5121
|
+
borderColor: resolveCssVar("--sk-primary", "#2563eb")
|
|
5117
5122
|
},
|
|
5118
5123
|
".input-container.is-error": {
|
|
5119
5124
|
borderColor: "#dc2626"
|
|
@@ -7734,5 +7739,5 @@ function groupEventsByOffering(events) {
|
|
|
7734
7739
|
}
|
|
7735
7740
|
|
|
7736
7741
|
export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, 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 };
|
|
7737
|
-
//# sourceMappingURL=chunk-
|
|
7738
|
-
//# sourceMappingURL=chunk-
|
|
7742
|
+
//# sourceMappingURL=chunk-MCIELZWP.mjs.map
|
|
7743
|
+
//# sourceMappingURL=chunk-MCIELZWP.mjs.map
|