Skip to content

feat(blocks): add login, signup, and sidebars - #233

Open
karyanayandi wants to merge 132 commits into
mainfrom
feat/blocks
Open

karyanayandi wants to merge 132 commits into
mainfrom
feat/blocks

Conversation

@karyanayandi

@karyanayandi karyanayandi commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Blocks

  • Add 26 block variants: login-01–05, signup-01–05, and sidebar-01–16.
  • Install source in components/blocks with Yopem primitives and StyleX. Keep the existing public CLI registry format. Base UI and Ark UI share the same block names and destinations.
  • Add provider-specific previews, copyable usage, sidebar navigation, a dedicated /blocks gallery with inline previews and category tabs, API docs, sitemap entries, and machine-readable docs. Authentication templates accept submit and provider callbacks; they do not provide an auth service.

Try the PR registry

From an initialized Yopem UI project:

bunx --bun @yopem-ui/cli add sidebar-16 --registry https://feat-blocks.ui-588.pages.dev/r

For a fresh Ark UI project, select the provider during init:

bunx --bun @yopem-ui/cli init --provider ark-ui --registry https://feat-blocks.ui-588.pages.dev/r

Validation

  • Installed all 26 blocks from the hosted Pages registry in two fresh Vite projects with the published CLI: 52 successful installs, both consumer builds passed.
  • Packed CLI and registry checks: 68 passed, including TypeScript checks of the installed source for both providers.
  • All 52 public block resources contain the expected install targets. The sitemap and llms.txt include all provider preview URLs.
  • Production browser checks: 169 passed; one desktop-only check skipped on mobile. The separate expanded-preview accessibility matrix passed all 104 provider and theme combinations.
  • Production build, lint, formatting, and TypeScript checks passed.

Gallery: Browse blocks. All 26 focused homepage and gallery browser tests passed on desktop and mobile.

Sidebar gallery verification

All 16 sidebar variants have live desktop compositions in the gallery, including on narrow screens. Choose Mobile to use the responsive drawer. Inactive previews do not take focus from the gallery.

Compared the 16 embedded frames with the reference layouts in a browser. The production sidebar/gallery matrix passed 112 tests. After the final focus fix, all 16 focused overlay and gallery cases passed on desktop and mobile. Both packed CLI consumer builds passed.

Check the source targets for all 26 blocks in both registries.
Keep installed blocks separate from UI primitives.
Install ten authentication layouts in components/blocks.
Use the blocks directory for copyable examples in both catalogs.
Add searchable sections and a collapsible navigation variant.
Port sidebar variants 03 04 05 and expose both provider previews.
Port sidebar variants 06 07 08 and expose both provider previews.
Port sidebar variants 09 10 and expose both provider previews.
Port sidebar variants 11 12 and expose both provider previews.
Port sidebar variants 13 14 and expose both provider previews.
Port sidebar variants 15 16 and expose both provider previews.
Register all sixteen layouts and their component dependencies.
Check consumer paths and compile installed TypeScript source.
Describe block installation and distinguish forms from auth services.
Check form fields, sidebar controls, focus, and accessibility.
Resolve Buffer in the upstream menu declarations without skipping checks.
Keep full file paths and expose changed files in the sidebar.
Give submenu links a destination and label collapsed icon buttons.
Keep the sidebar toggle and search available above the content.
Accept form and provider callbacks. Let apps supply their own URLs.
@pkg-pr-new

pkg-pr-new Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/@yopem-ui/cli@233
bun add https://pkg.pr.new/@yopem-ui/oxlint-plugin@233

commit: a06621e

Nest mail panels and add collapsible calendar choices.
Keep settings inline and reserve the second sidebar for wide screens.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: a06621e
Status: ✅  Deploy successful!
Preview URL: https://ef053d05.ui-588.pages.dev
Branch Preview URL: https://feat-blocks.ui-588.pages.dev

View logs

Load block previews through the existing showcase.
Follow the first block from Hooks and stop after the final signup.
Keep upstream navigation choices in sidebar variants 01 02 03 04.
Keep upstream navigation choices in sidebar variants 05 06 14.
Keep upstream navigation choices in sidebar variants 07 08 16.
Keep upstream navigation choices in sidebar variants 10 15.
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.

2 participants