Skip to content

refactor: remove lit dependency - #6

Draft
katorly wants to merge 6 commits into
mainfrom
dev
Draft

refactor: remove lit dependency#6
katorly wants to merge 6 commits into
mainfrom
dev

Conversation

@katorly

@katorly katorly commented Aug 24, 2026

Copy link
Copy Markdown
Member

📝 Description

The goal is to remove the lit dependency, by utilizing native HTML elements. Components that don't have native HTML elements will use class, option, role.

Before:

<ore-button type="button" variant="hero" color="secondary" loading>Create new world</ore-button>

After:

<button type="button" data-variant="hero" data-color="secondary" data-loading aria-busy="true" disabled>Create new world</button>

For frameworks other than vanilla, there's nothing needs to change.

On the surface, it makes the vanilla code longer, but under the hood, we no longer have to maintain a separate codebase that duplicates vanilla's, which makes the library lighter and easier to maintain.

🔄 Change type

  • fix
  • feat
  • perf
  • refactor
  • style
  • docs
  • build
  • ci
  • test
  • chore

🔗 Related issues

🧪 Testing

📸 Screenshots / recordings

💬 Additional information

The version number must be 0.1.0 to merge this Pull Request.

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
oreui Ready Ready Preview Aug 29, 2026 11:29am

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

- refactor button, checkbox, radio, radiogroup, switch, slider, textfield, textarea components
- update wrappers & docs

🤖Some parts of this change were assisted by AI.
Co-authored-by: Codex <codex@openai.com>
- refactor divider, tag, card, container, navbar, spinner, progress, progress ring, scrollbar, icon button components
- update wrappers & docs

🤖Some parts of this change were assisted by AI.
Co-authored-by: Codex <codex@openai.com>
katorly and others added 2 commits August 27, 2026 13:36
- refactor accordion, modal, table components
- update wrappers & docs

🤖Some parts of this change were assisted by AI.
Co-authored-by: Codex <codex@openai.com>
- add native select component
- refactor dropdown, tooltip, tab button, toggles, toast components
- update wrappers & docs

🤖Some parts of this change were assisted by AI.
Co-authored-by: Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant