Skip to content

0.1.0 release#33

Open
karim-semmoud wants to merge 72 commits into
mainfrom
0.1.0-release
Open

0.1.0 release#33
karim-semmoud wants to merge 72 commits into
mainfrom
0.1.0-release

Conversation

@karim-semmoud
Copy link
Copy Markdown
Member

@karim-semmoud karim-semmoud commented May 13, 2026

Corex 0.1.0

First stable release of Corex: accessible Phoenix components powered by Zag.js, with an optional token-based design system, generators, and MCP tooling.

Highlights

  • 40+ components with LiveView and client APIs (create, set_value, on_* events, form-friendly inputs)
  • mix corex.new: scaffold a Phoenix app with Corex, design assets, theme/mode/locale options, and optional MCP
  • Corex Design: mix corex.design copies tokens, themes, and BEM modifier CSS (button--accent, etc.)
  • MCP: list components and read live docs from a running app (dev/test)
  • Docs & e2e: unified component docs, expanded demos, and broader test coverage

New components

  • Pagination: page navigation with translations and URL/LiveView patterns
  • Tags Input: multi-value tags with form support and gettext-backed labels
  • Toggle: single on/off control (distinct from Toggle Group); recommended for light/dark mode switchers

Notable improvements

  • Toast: aligned API (create / update / dismiss / remove), action triggers, flash via Corex.Flash, custom loading/close slots
  • Translations: shared translation attrs on more components (pagination, tags input, timer, etc.)
  • Animation: shared hook helpers across accordion, dialog, tree view, and others
  • Design: link underline for a11y; higher contrast for ink-muted; date-picker, pin-input, and password-input CSS updates
  • Installer & generators: refreshed design output; corex.gen.live / corex.gen.html
  • Color Picker: closes [Color Picker]: Unable to edit the channels with keyboard #30

Breaking changes (alpha → stable)

Area Change
Menu Connected LiveView now performs a hard redirect by default. Use per-item redirect: false, or :patch / :navigate for LV-aware navigation.
Corex.Content Accordion/Tabs items use :label instead of :trigger.
Toast API names and options normalized; prefer Corex.Toast.create/5–6 and <.toast_group>.
Mode switcher Use Toggle, not Toggle Group, for light/dark mode.
Design tokens ink-muted contrast updated: re-run mix corex.design if you vendor tokens.
Data List Corex.DataList.Item removed; use Corex.Content.new/1 for the items
attribute.

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.

[Color Picker]: Unable to edit the channels with keyboard

1 participant