@neowhale/storefront 0.2.12 → 0.2.13
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/{client-T1eA5Xs-.d.cts → client-Ca8Otk-R.d.cts} +2 -0
- package/dist/{client-T1eA5Xs-.d.ts → client-Ca8Otk-R.d.ts} +2 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/next/index.d.cts +1 -1
- package/dist/next/index.d.ts +1 -1
- package/dist/{pixel-manager-BHE1nZ90.d.cts → pixel-manager-CIR16DXY.d.cts} +1 -1
- package/dist/{pixel-manager-1C6-h9Rp.d.ts → pixel-manager-CIZKghfx.d.ts} +1 -1
- package/dist/react/index.cjs +20 -19
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +3 -2
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +20 -19
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -358,6 +358,7 @@ interface QRLandingData {
|
|
|
358
358
|
product: Record<string, unknown> | null;
|
|
359
359
|
coa: {
|
|
360
360
|
url: string;
|
|
361
|
+
viewer_url?: string | null;
|
|
361
362
|
document_name: string;
|
|
362
363
|
} | null;
|
|
363
364
|
landing_page: LandingPageConfig | null;
|
|
@@ -396,6 +397,7 @@ interface LandingPageRenderData {
|
|
|
396
397
|
product: Record<string, unknown> | null;
|
|
397
398
|
coa: {
|
|
398
399
|
url: string;
|
|
400
|
+
viewer_url?: string | null;
|
|
399
401
|
document_name: string;
|
|
400
402
|
} | null;
|
|
401
403
|
}
|
|
@@ -358,6 +358,7 @@ interface QRLandingData {
|
|
|
358
358
|
product: Record<string, unknown> | null;
|
|
359
359
|
coa: {
|
|
360
360
|
url: string;
|
|
361
|
+
viewer_url?: string | null;
|
|
361
362
|
document_name: string;
|
|
362
363
|
} | null;
|
|
363
364
|
landing_page: LandingPageConfig | null;
|
|
@@ -396,6 +397,7 @@ interface LandingPageRenderData {
|
|
|
396
397
|
product: Record<string, unknown> | null;
|
|
397
398
|
coa: {
|
|
398
399
|
url: string;
|
|
400
|
+
viewer_url?: string | null;
|
|
399
401
|
document_name: string;
|
|
400
402
|
} | null;
|
|
401
403
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as Address, C as Cart, a as CartItem, b as Category, c as CategoryTreeNode, d as CheckoutSession, e as CouponValidation, f as Customer, g as CustomerAnalytics, E as EventType, L as LandingPageConfig, h as LandingPageRenderData, i as LandingSection, j as ListResponse, k as Location, l as LoyaltyAccount, m as LoyaltyReward, n as LoyaltyTransaction, O as Order, o as OrderItem, P as PaymentData, p as PixelConfig, q as PricingTier, r as Product, s as ProductVariation, Q as QRLandingData, t as QRLandingPage, u as QRLandingStore, R as Recommendation, v as Review, w as ReviewSummary, S as SendCodeResponse, x as ShippingMethod, y as ShippingRate, z as StorefrontConfig, B as StorefrontSession, T as TaxBreakdown, V as VerifyCodeResponse, W as WhaleClient, D as WhaleStorefrontConfig, F as WishlistItem } from './client-
|
|
2
|
-
export { P as PixelManager } from './pixel-manager-
|
|
1
|
+
export { A as Address, C as Cart, a as CartItem, b as Category, c as CategoryTreeNode, d as CheckoutSession, e as CouponValidation, f as Customer, g as CustomerAnalytics, E as EventType, L as LandingPageConfig, h as LandingPageRenderData, i as LandingSection, j as ListResponse, k as Location, l as LoyaltyAccount, m as LoyaltyReward, n as LoyaltyTransaction, O as Order, o as OrderItem, P as PaymentData, p as PixelConfig, q as PricingTier, r as Product, s as ProductVariation, Q as QRLandingData, t as QRLandingPage, u as QRLandingStore, R as Recommendation, v as Review, w as ReviewSummary, S as SendCodeResponse, x as ShippingMethod, y as ShippingRate, z as StorefrontConfig, B as StorefrontSession, T as TaxBreakdown, V as VerifyCodeResponse, W as WhaleClient, D as WhaleStorefrontConfig, F as WishlistItem } from './client-Ca8Otk-R.cjs';
|
|
2
|
+
export { P as PixelManager } from './pixel-manager-CIR16DXY.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Resilient HTTP sender for analytics/event payloads.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as Address, C as Cart, a as CartItem, b as Category, c as CategoryTreeNode, d as CheckoutSession, e as CouponValidation, f as Customer, g as CustomerAnalytics, E as EventType, L as LandingPageConfig, h as LandingPageRenderData, i as LandingSection, j as ListResponse, k as Location, l as LoyaltyAccount, m as LoyaltyReward, n as LoyaltyTransaction, O as Order, o as OrderItem, P as PaymentData, p as PixelConfig, q as PricingTier, r as Product, s as ProductVariation, Q as QRLandingData, t as QRLandingPage, u as QRLandingStore, R as Recommendation, v as Review, w as ReviewSummary, S as SendCodeResponse, x as ShippingMethod, y as ShippingRate, z as StorefrontConfig, B as StorefrontSession, T as TaxBreakdown, V as VerifyCodeResponse, W as WhaleClient, D as WhaleStorefrontConfig, F as WishlistItem } from './client-
|
|
2
|
-
export { P as PixelManager } from './pixel-manager-
|
|
1
|
+
export { A as Address, C as Cart, a as CartItem, b as Category, c as CategoryTreeNode, d as CheckoutSession, e as CouponValidation, f as Customer, g as CustomerAnalytics, E as EventType, L as LandingPageConfig, h as LandingPageRenderData, i as LandingSection, j as ListResponse, k as Location, l as LoyaltyAccount, m as LoyaltyReward, n as LoyaltyTransaction, O as Order, o as OrderItem, P as PaymentData, p as PixelConfig, q as PricingTier, r as Product, s as ProductVariation, Q as QRLandingData, t as QRLandingPage, u as QRLandingStore, R as Recommendation, v as Review, w as ReviewSummary, S as SendCodeResponse, x as ShippingMethod, y as ShippingRate, z as StorefrontConfig, B as StorefrontSession, T as TaxBreakdown, V as VerifyCodeResponse, W as WhaleClient, D as WhaleStorefrontConfig, F as WishlistItem } from './client-Ca8Otk-R.js';
|
|
2
|
+
export { P as PixelManager } from './pixel-manager-CIZKghfx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Resilient HTTP sender for analytics/event payloads.
|
package/dist/next/index.d.cts
CHANGED
package/dist/next/index.d.ts
CHANGED
package/dist/react/index.cjs
CHANGED
|
@@ -1499,25 +1499,26 @@ function COAViewerSection({
|
|
|
1499
1499
|
const coa = data?.coa;
|
|
1500
1500
|
const c = section.content;
|
|
1501
1501
|
if (!coa) return null;
|
|
1502
|
-
|
|
1503
|
-
"
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1502
|
+
const buttonStyle = {
|
|
1503
|
+
width: "100%",
|
|
1504
|
+
padding: "0.875rem",
|
|
1505
|
+
background: theme.accent,
|
|
1506
|
+
color: theme.bg,
|
|
1507
|
+
border: "none",
|
|
1508
|
+
fontSize: "0.85rem",
|
|
1509
|
+
fontWeight: 500,
|
|
1510
|
+
cursor: "pointer",
|
|
1511
|
+
letterSpacing: "0.08em",
|
|
1512
|
+
textTransform: "uppercase",
|
|
1513
|
+
textAlign: "center",
|
|
1514
|
+
textDecoration: "none",
|
|
1515
|
+
display: "block",
|
|
1516
|
+
boxSizing: "border-box"
|
|
1517
|
+
};
|
|
1518
|
+
if (coa.viewer_url) {
|
|
1519
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "1.5rem", maxWidth: 480, margin: "0 auto" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: coa.viewer_url, target: "_blank", rel: "noopener noreferrer", style: buttonStyle, children: c.button_text || "View Lab Results" }) });
|
|
1520
|
+
}
|
|
1521
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "1.5rem", maxWidth: 480, margin: "0 auto" }, children: /* @__PURE__ */ jsxRuntime.jsx("button", { onClick: onShowCOA, style: buttonStyle, children: c.button_text || "View Lab Results" }) });
|
|
1521
1522
|
}
|
|
1522
1523
|
function SocialLinksSection({ section, theme }) {
|
|
1523
1524
|
const { links } = section.content;
|