Skip to content

chore(deps): bump @livepeer/design-system to 1.1.2#622

Open
rickstaa wants to merge 2 commits intomainfrom
chore/bump-design-system-1.1.2
Open

chore(deps): bump @livepeer/design-system to 1.1.2#622
rickstaa wants to merge 2 commits intomainfrom
chore/bump-design-system-1.1.2

Conversation

@rickstaa
Copy link
Copy Markdown
Member

Summary

Bumps @livepeer/design-system from 1.1.0 to 1.1.2. Zero code changes — v1.1.2 is byte-identical to the v1.1.0 tarball for the Button block, so no call sites need updating.

Background

The @livepeer/design-system@1.1.0 tarball (2023-07-21) was published from a working tree with uncommitted modifications to components/Button.tsx. Its styling — subdued $<c>4 + $<c>11 variants across primary / neutral / color-loop, transparentWhite / transparentBlack variants, fontWeight: 600, cursor: "pointer", specific size radii — has never existed in any commit in livepeer/design-system. main has used the saturated $<c>9 + white form since v1.0.17 (April 2023).

Explorer pinned ^1.1.0 and has rendered that tarball form ever since. v1.1.1 (2024-04-26) shipped with an empty dist/ and was unusable, so no consumer could upgrade. For ~3 years the divergence was invisible — until someone tried to build Explorer against design-system main and discovered Buttons rendering in a completely different (saturated green) form.

livepeer/design-system#158 codifies the v1.1.0 tarball state as committed source so the repository and the shipped artifact finally agree. v1.1.2 is the patch release of that alignment.

Byte-parity guarantee

The Button block in dist/index.js was verified identical (via awk block extraction → diff → empty) between the published v1.1.0 tarball and v1.1.2 before publishing. Explorer will see zero visual difference on any Button call site.

Explorer call-site inventory that was checked (no changes needed to any of these):

  • 67× variant="primary" — subdued green (fixed CTA look Explorer expects)
  • variant="neutral" — subdued grey (D/W toggle, navigation, etc.)
  • variant="red" on components/account.tsx Undelegate — subdued red
  • variant="transparentWhite" in components/Claim — hsla white overlay
  • variant="transparentBlack" in components/RegisterToVote, components/InactiveWarning — hsla black overlay
  • Size variants 1 through 4 — pre-divergence radii preserved

Test plan

  • pnpm install completes cleanly
  • pnpm dev — homepage D/W toggle renders (W button subdued green, D button subdued grey)
  • Undelegate button on an orchestrator account page renders subdued red
  • /voting and /treasury CTA buttons render subdued green
  • Claim / RegisterToVote dialogs render their transparent* buttons without errors
  • No console errors about missing variants

Refs

🤖 Generated with Claude Code

Restores the subdued Button styling (subdued `primary` / `neutral` /
color-loop variants, `transparentWhite` / `transparentBlack` variants,
base styles) that Explorer has been rendering from the v1.1.0 tarball
for ~3 years. v1.1.2 is byte-identical to v1.1.0 for the Button block,
so this bump requires zero call-site code changes.

Background: the published v1.1.0 tarball contained Button styling that
had never existed in any commit of livepeer/design-system — it was
built from an uncommitted working tree in 2023 and diverged silently
from git main, which used a saturated variant form. Explorer could
never upgrade (v1.1.1 shipped with an empty `dist/` folder and is
unusable), so the divergence was invisible until someone tried to
build Explorer against design-system `main`.

v1.1.2 (livepeer/design-system#158) codifies the tarball state as the
committed source of truth so the repository and the shipped artifact
finally agree. This PR brings Explorer along for the ride.

Refs livepeer/design-system#156
Refs livepeer/design-system#158

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 11, 2026 20:39
@rickstaa rickstaa requested a review from ECWireless as a code owner April 11, 2026 20:39
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Apr 11, 2026 9:16pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Explorer app’s dependency on @livepeer/design-system to the patched 1.1.2 release, aligning with the intended published artifact without requiring any application code changes.

Changes:

  • Bump @livepeer/design-system from 1.1.0 to 1.1.2 in package.json.
  • Update pnpm-lock.yaml to reflect the new @livepeer/design-system version and refreshed lock metadata.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Pins @livepeer/design-system to 1.1.2.
pnpm-lock.yaml Updates the resolved @livepeer/design-system entry to 1.1.2 (and lock metadata updates consistent with a re-resolve).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Strips 60 instances of `onPointerEnterCapture={undefined}`,
`onPointerLeaveCapture={undefined}`, and `placeholder={undefined}`
across 14 files. These were band-aids for a `@types/react@18.x` bug
(DefinitelyTyped#64914) that was fixed upstream 2+ years ago — the
props are now optional everywhere, so passing `undefined` is both
unnecessary and, as of @livepeer/design-system@1.1.2, a type error.

Context: `@livepeer/design-system@1.1.0`'s `Sheet.d.ts` happened to
emit a verbose `Pick<SheetContentProps, "color" | "translate" | ... |
"onPointerEnterCapture" | "onPointerLeaveCapture" | "placeholder" |
...>` form (an artifact of the TypeScript/@types/react combo at its
July 2023 build time). That explicit prop list masked the dead code.
v1.1.2 was rebuilt today with a newer toolchain that emits the cleaner
`Omit<SheetContentProps, "ref">` form, which defers to the current
`@types/react` shape — and the current shape no longer includes those
three props. The latent dead code therefore became a compile error.

Verified clean via `pnpm exec tsc --noEmit` (exit 0, zero errors).

Refs livepeer/design-system#158

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants