Skip to content

Explore native Svelte delivery without changing the React registry - #68

Draft
maxffarrell wants to merge 3 commits into
deeplethe:devfrom
maxffarrell:feat/svelte-registry
Draft

maxffarrell wants to merge 3 commits into
deeplethe:devfrom
maxffarrell:feat/svelte-registry

Conversation

@maxffarrell

Copy link
Copy Markdown

Summary

Draft proof of concept for native Svelte 5 delivery through shadcn-svelte, without moving the React site into a workspace or changing its existing registry names and URLs.

  • Add a separate Svelte source registry and generated /r/svelte/ items.
  • Reuse src/solid-glass.css verbatim as the single material source.
  • Port AskCard and DotLoader to native Svelte, with a small interactive example.
  • Add registry-generation checks and include the Svelte registry in CI's committed-output check.

Scope and discussion

This is not a complete Svelte port. It is an additive proposal for discussing the architecture and delivery format. The contribution guide asks for an issue/discussion before new components and registry addresses; that issue-first step has not been completed, so this draft is not presented as an agreed expansion of the project's scope.

No new runtime dependency or npm package is introduced. Existing React source, registry addresses and material source remain intact. The proposed install URLs will not exist on the published site until a maintainer releases this change.

Validation

Implementation checks completed:

  • npm ci, documentation/registry generation, TypeScript checks and production build.
  • Svelte registry generation tests.
  • Installation into a fresh shadcn-svelte consumer, followed by Svelte checking (zero errors; a temporary consumer tsconfig warning) and a Vite production build.

Remaining work / limitations

  • No stock shadcn-svelte component parity is claimed. The stylesheet also depends on Base UI state attributes, structure and classes that need separate Bits UI audits.
  • Browser visual and interaction QA was blocked by a socket permission error. Light/dark appearance, keyboard behavior, accessibility and runtime parity are not fully verified.
  • The repository CI checks registry generation, not a continuously maintained Svelte consumer.
  • This draft covers AskCard and DotLoader only, not all components or blocks.

The commit includes a DCO Signed-off-by trailer.

Signed-off-by: Max Farrell <72176209+maxffarrell@users.noreply.github.com>
…e registry.

Signed-off-by: Max Farrell <72176209+maxffarrell@users.noreply.github.com>
…ass unstyled.

Signed-off-by: Max Farrell <72176209+maxffarrell@users.noreply.github.com>

This branch has not been deployed

No deployments
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