From 46f3fa2a4488add9d7f10907d3906426b5357d8f Mon Sep 17 00:00:00 2001 From: Kyle MacDonald Date: Wed, 27 May 2026 11:33:33 -0400 Subject: [PATCH 1/7] chore(js): add react-grab to clerk-js sandbox Loads react-grab from unpkg in the sandbox template so component locations can be inspected during local development. The sandbox has no production build, so the script is intrinsically dev-only. --- .changeset/old-months-grow.md | 2 + packages/clerk-js/package.json | 1 + packages/clerk-js/sandbox/template.html | 5 + pnpm-lock.yaml | 145 +++++++++++++++++++++++- 4 files changed, 152 insertions(+), 1 deletion(-) create mode 100644 .changeset/old-months-grow.md diff --git a/.changeset/old-months-grow.md b/.changeset/old-months-grow.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/old-months-grow.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index 6f068bc7173..67243688542 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -114,6 +114,7 @@ "bundlewatch": "^0.4.2", "jsdom": "26.1.0", "minimatch": "^10.2.5", + "react-grab": "^0.1.37", "webpack-merge": "^5.10.0" }, "engines": { diff --git a/packages/clerk-js/sandbox/template.html b/packages/clerk-js/sandbox/template.html index 7e4f449be2b..30867025578 100644 --- a/packages/clerk-js/sandbox/template.html +++ b/packages/clerk-js/sandbox/template.html @@ -36,6 +36,11 @@ } })(); + +
-
+
- Sandbox + UI Component Sandbox
+
-
+ + + +