Skip to content

fix(plugin): fix the playground build, changesets and stale docs claims - #385

Merged
alexgrozav merged 6 commits into
align-component-styles-uxf-487from
fix-integration-blockers-uxf-519
Oct 30, 2026
Merged

alexgrozav merged 6 commits into
align-component-styles-uxf-487from
fix-integration-blockers-uxf-519

Conversation

@alexgrozav

Copy link
Copy Markdown
Contributor

Description

Fixes what the integration branch got wrong across its layers: the plugin playground build, three changesets, five docs lines and an empty Storybook swatch. No recipe changes.

  • Playground build. The Button component now imports spinner and spinnerCircle from virtual:styleframe, and the plugin playground renders it, so @styleframe/plugin-playground failed to build with MISSING_EXPORT. tooling/plugin/playground/recipes/spinner.styleframe.ts registers the same four spinner recipes as the Storybook shim. playground-recipe-drift.test.ts also gains a check that starts from the components App.vue renders, follows their relative .vue imports, and fails when one imports a name from virtual:styleframe that no playground *.styleframe.ts file exports.
  • Changesets. The input changeset no longer says the textarea misses the touch-screen text size and hit area, and keeps that exception for the date input only. The textarea changeset says its prefix and suffix get the Input changes. The popover changeset says @popover.arrow.size moved from 6px to 0.375rem: the same size at a 16px root, but it now scales with the root font size.
  • Docs. Input Date and OTP: invalid switches the border to @color.error. The focus ring stays @color.focus on Input Date, and the OTP cell keeps its own ring. Modal: its soft panels draw a border in dark mode where the Card's don't. Textarea: the ghost section gains the Input page's paragraph on the light and dark fills, and the prefix and suffix paragraph matches the Input page.
  • Storybook. ColorSwatch.styleframe.ts gets a focus variant, so the focus swatch in the color story shows its color.

Related issue

Part of the integration stack that aligns component styles with Open Components.

Type of change

  • 🐞 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that changes existing behavior)
  • 📖 Documentation
  • ♻️ Refactor / internal (no functional change)
  • 🔧 Build / tooling / CI

Checklist

  • My commits follow Conventional Commits with a package scope (e.g. feat(theme): …)
  • I ran pnpm build:nodocs && pnpm lint && pnpm typecheck && pnpm test and everything passes
  • I added a changeset (pnpm changeset) for changes to publishable packages, or this change only touches docs/storybook/app/playground/tests
  • I added or updated tests where relevant
  • I updated documentation where relevant
  • I did not edit generated files (dist/, .styleframe/)
  • My PR targets main and stays focused in scope

Notes / screenshots

  • pnpm --filter @styleframe/plugin-playground build now exits 0. Without the new spinner file, the new drift check fails on Button.vue, naming spinner and spinnerCircle.
  • Build, lint, format check, typecheck, the docs build with its CSS guard and the Storybook build pass. pnpm test passes except 8 @styleframe/playground tests in test/theme.test.ts (localStorage is unavailable under Node 26), which fail the same way on the base branch.
  • No changeset: the playground, docs, Storybook and tests are on the ignore list, and the three edited changesets already exist.
  • This PR targets the integration branch, not main, so it gets no CI of its own.

The Button component the playground renders now imports spinner and spinnerCircle, so the playground build failed with MISSING_EXPORT. The playground registers the same spinner recipes as the Storybook shim, and the drift test now also checks that every recipe a rendered component imports is registered.
The textarea gets the touch-screen text size and hit area, its prefix and suffix change through the shared input addons, and the popover arrow size moves from 6px to 0.375rem.
…t changeset

The date input has no touch-screen text size or hit area, so only the textarea drops the exception.
@vercel

vercel Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
styleframe-dev Ready Ready Preview Oct 30, 2026 8:54am UTC
styleframe-dev-storybook Ready Ready Preview Oct 30, 2026 8:54am UTC

Request Review

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: In progress 🔵

View logs ↗
ea80cfe 2026-10-30T09:00:35.237Z View logs ↗

@alexgrozav
alexgrozav merged commit 183538f into align-component-styles-uxf-487 Oct 30, 2026
3 of 4 checks passed
@alexgrozav
alexgrozav deleted the fix-integration-blockers-uxf-519 branch October 30, 2026 09:01

This branch was successfully deployed

2 active deployments
Preview – styleframe-dev — ea80cfe8 Deployed Oct 30, 2026 by vercel[bot]
Preview – styleframe-dev-storybook — ea80cfe8 Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant