@burdenoff/website-sdk 2026.829.7 → 2026.829.8

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
@@ -62,7 +62,7 @@ declare function CareersSubmissionForm({ productName, recaptchaSiteKey, postings
62
62
 
63
63
  declare const buttonVariants: (props?: ({
64
64
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
65
- size?: "icon" | "default" | "sm" | "lg" | null | undefined;
65
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
66
66
  } & class_variance_authority_types.ClassProp) | undefined) => string;
67
67
  interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
68
68
  asChild?: boolean;
package/dist/index.d.ts CHANGED
@@ -62,7 +62,7 @@ declare function CareersSubmissionForm({ productName, recaptchaSiteKey, postings
62
62
 
63
63
  declare const buttonVariants: (props?: ({
64
64
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
65
- size?: "icon" | "default" | "sm" | "lg" | null | undefined;
65
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
66
66
  } & class_variance_authority_types.ClassProp) | undefined) => string;
67
67
  interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
68
68
  asChild?: boolean;
package/dist/index.js CHANGED
@@ -7802,14 +7802,17 @@ function ExplorePage({
7802
7802
  setTimeout(() => setShareLabel("Share"), 2500);
7803
7803
  return;
7804
7804
  }
7805
- const base = (pageUrl ?? window.location.href).split("?")[0];
7806
- const url = `${base}?c=${encodeURIComponent(token)}`;
7805
+ const url = new URL(pageUrl ?? window.location.href);
7806
+ url.search = "";
7807
+ url.hash = "";
7808
+ url.searchParams.set("c", token);
7809
+ const shareable = url.toString();
7807
7810
  try {
7808
- await navigator.clipboard.writeText(url);
7811
+ await navigator.clipboard.writeText(shareable);
7809
7812
  setShareLabel("Copied");
7810
7813
  setTimeout(() => setShareLabel("Share"), 2500);
7811
7814
  } catch {
7812
- setShareUrl(url);
7815
+ setShareUrl(shareable);
7813
7816
  setShareLabel("Share");
7814
7817
  }
7815
7818
  }, [createShareLink, pageUrl]);