@burdenoff/website-sdk 2026.923.1 → 2026.923.2

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/index.d.mts CHANGED
@@ -30,7 +30,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
30
30
  import { VariantProps } from 'class-variance-authority';
31
31
  import * as LabelPrimitive from '@radix-ui/react-label';
32
32
  export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-CGxETsFa.mjs';
33
- export { EXPLORE_RECAPTCHA_ACTION, RecaptchaV3, cn, getRecaptchaV3Token, loadRecaptchaV3 } from './utils/index.mjs';
33
+ export { EXPLORE_RECAPTCHA_ACTION, FOOTERLESS_ROUTES, RecaptchaV3, cn, getRecaptchaV3Token, isFooterlessPath, loadRecaptchaV3, normalizeRoutePath, shouldRenderSiteFooter } from './utils/index.mjs';
34
34
  import 'clsx';
35
35
 
36
36
  interface CareersSubmissionFormProps {
@@ -735,7 +735,7 @@ declare function formatAnswerDate(value: string, locale: ExploreLocale): string;
735
735
 
736
736
  declare const buttonVariants: (props?: ({
737
737
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
738
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
738
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
739
739
  } & class_variance_authority_types.ClassProp) | undefined) => string;
740
740
  interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
741
741
  asChild?: boolean;
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
30
30
  import { VariantProps } from 'class-variance-authority';
31
31
  import * as LabelPrimitive from '@radix-ui/react-label';
32
32
  export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-CGxETsFa.js';
33
- export { EXPLORE_RECAPTCHA_ACTION, RecaptchaV3, cn, getRecaptchaV3Token, loadRecaptchaV3 } from './utils/index.js';
33
+ export { EXPLORE_RECAPTCHA_ACTION, FOOTERLESS_ROUTES, RecaptchaV3, cn, getRecaptchaV3Token, isFooterlessPath, loadRecaptchaV3, normalizeRoutePath, shouldRenderSiteFooter } from './utils/index.js';
34
34
  import 'clsx';
35
35
 
36
36
  interface CareersSubmissionFormProps {
@@ -735,7 +735,7 @@ declare function formatAnswerDate(value: string, locale: ExploreLocale): string;
735
735
 
736
736
  declare const buttonVariants: (props?: ({
737
737
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
738
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
738
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
739
739
  } & class_variance_authority_types.ClassProp) | undefined) => string;
740
740
  interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
741
741
  asChild?: boolean;
package/dist/index.js CHANGED
@@ -17963,6 +17963,19 @@ function StoreProductDetailPage({
17963
17963
  ] });
17964
17964
  }
17965
17965
 
17966
+ // src/utils/site-chrome.ts
17967
+ var FOOTERLESS_ROUTES = ["/explore"];
17968
+ function normalizeRoutePath(pathname) {
17969
+ const trimmed = pathname.toLowerCase().replace(/\/+$/, "");
17970
+ return trimmed === "" ? "/" : trimmed;
17971
+ }
17972
+ function isFooterlessPath(pathname) {
17973
+ return FOOTERLESS_ROUTES.includes(normalizeRoutePath(pathname));
17974
+ }
17975
+ function shouldRenderSiteFooter(pathname) {
17976
+ return !isFooterlessPath(pathname);
17977
+ }
17978
+
17966
17979
  exports.ANSWERS_PATH = ANSWERS_PATH;
17967
17980
  exports.ANSWER_HEADING_SHIFT = ANSWER_HEADING_SHIFT;
17968
17981
  exports.ANSWER_PATH_PREFIX = ANSWER_PATH_PREFIX;
@@ -18000,6 +18013,7 @@ exports.ExploreAnswerStyles = ExploreAnswerStyles;
18000
18013
  exports.ExploreCta = ExploreCta;
18001
18014
  exports.ExplorePage = ExplorePage;
18002
18015
  exports.FALLBACK_EXPLORE_LIMITS = FALLBACK_EXPLORE_LIMITS;
18016
+ exports.FOOTERLESS_ROUTES = FOOTERLESS_ROUTES;
18003
18017
  exports.Input = Input;
18004
18018
  exports.Label = Label;
18005
18019
  exports.LaunchCountdown = LaunchCountdown;
@@ -18052,11 +18066,14 @@ exports.getAnswerBySlug = getAnswerBySlug;
18052
18066
  exports.getConceptBySlug = getConceptBySlug;
18053
18067
  exports.getRecaptchaV3Token = getRecaptchaV3Token;
18054
18068
  exports.inlineImageOrigins = inlineImageOrigins;
18069
+ exports.isFooterlessPath = isFooterlessPath;
18055
18070
  exports.isInlineImageAllowed = isInlineImageAllowed;
18056
18071
  exports.isPublishedSourceUrl = isPublishedSourceUrl;
18057
18072
  exports.isValidUrl = isValidUrl;
18058
18073
  exports.loadRecaptchaV3 = loadRecaptchaV3;
18059
18074
  exports.looksLikeDeliverableEmail = looksLikeDeliverableEmail;
18075
+ exports.normalizeRoutePath = normalizeRoutePath;
18076
+ exports.shouldRenderSiteFooter = shouldRenderSiteFooter;
18060
18077
  exports.speechLocaleOf = speechLocaleOf;
18061
18078
  exports.stopSpeaking = stopSpeaking;
18062
18079
  exports.useContentPage = useContentPage;