feat: add hyperframes components#1
Open
Aniket-508 wants to merge 27 commits into
Open
Conversation
Restructure docs/components to nest all existing component categories (primitives, compositions, transitions, typography, ui-blocks, environment) under a new editframe/ subdirectory to prepare for hyperframes docs.
Duplicate component category structure under hyperframes/ subdirectory with matching index pages for primitives, compositions, transitions, typography, ui-blocks, and environment categories.
Add DOCS_COMPONENTS_EDITFRAME and DOCS_COMPONENTS_HYPERFRAMES routes. Replace isComponentsFolder with isEditframeFolder and isHyperframesFolder helpers. Update LLM processing to handle both engine folders.
…es split Update site header, sidebar, command menu, mobile nav, component list, home CTAs, and base switcher to route to editframe and hyperframes docs sections instead of a single components page.
Update components index page to link to editframe and hyperframes subsections. Update meta.json to reference both engines. Adjust docs page and LLM route to use new component paths.
Add hyperframes-index.ts for component registry lookup. Add bases.ts replacing the old bases/bases.ts structure. Include hyperframes base HTML files under registry/bases/hyperframes/.
Add /hyperframes page listing all hyperframes compositions by category. Add /preview/hyperframes/[name] dynamic route for individual composition previews.
Add HyperframesPlayer component for rendering HTML compositions. Add HyperframesPreview for doc page previews. Add UnifiedPreview component supporting both editframe and hyperframes engines.
Add public/hyperframes/ with composition HTML files. Update package.json dependencies and next.config.mjs for hyperframes support.
Replaced by new registry/bases.ts structure.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Remove shared playback controls from per-component editframe configs and wire them through __index__ with aliased imports so hyperframes and editframe configs can coexist.
Update registry.json source paths from registry/framecn to registry/bases/editframe, declare @editframe/react as the dependency, and rebuild public/r artifacts. Exclude generated public/r files from pre-commit formatting since oxfmt already ignores them.
…te and event handlers
Remove duplicate public/hyperframes/ HTML files and serve them via a Next.js route handler at /hyperframes/[...path] that reads from registry/bases/hyperframes/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.