0.1.0-rc.0 release#33
Open
karim-semmoud wants to merge 141 commits into
Open
Conversation
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.
Corex 0.1.0-rc.0
First stable release candidate of Corex: accessible Phoenix components powered by Zag.js, with an optional token-based design system, generators, and MCP tooling.
Requirements: Elixir ~> 1.17, Phoenix ~> 1.8, LiveView ~> 1.1.
With
~> 0.1.0-rc.0, Hex resolves 0.1.0-rc.x and later 0.1.x on this line. Patch and minor 0.1 releases are additive; breaking changes ship in 0.2.0. See Updating Corex.Highlights
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 MCPmix corex.designcopies tokens, themes, and BEM modifier CSS (button--accent, etc.)GameBoardclient hookmix usage_rules.search_docs -p corex)New components
page)Tetrex (e2e showcase)
checkbox--*themes), scoring, levels, and line clearsGameBoardhook and stored board stateGenerators & installer
mix corex.gen.live/mix corex.gen.html: refreshed templates using Corex Design patternslayout_heading,data_table,navigate, and Corex form inputs throughoutMix.Corex.Gen.Inputspicks the right Corex input per schema type (number_input,checkbox,date_picker,select,password_input,native_input, etc.)<.dialog role="alertdialog">andCorex.Dialog.set_open/2instead of nativedata-confirm--langmix corex.new: hardened installer patches and expanded test coverage (including edge-case patch tests)Testing & CI
pnpm testin CI)corex.gen.live/corex.gen.html/corex.design/ installer integration test coverageNotable improvements
API, events, and controlled mode
create/update/dismiss/remove), action triggers, flash viaCorex.Flash, custom loading/close slotscontrolledremoved from carousel, combobox, editable, number input, tree view, and dialog. Use default-value assigns andon_*_changeevents; controlled mode remains on accordion, angle slider, checkbox, collapsible, date picker, listbox, pagination, radio group, select, switch, tabs, tags input, toggle, and toggle groupset_value,clear_value,focus,value); form docs with:errorslotTranslations & docs
Corex.Translationmacro andtranslation={%…Translation{}}on more components (pagination, tags input, timer, dialog, pin input, etc.)button/linkmappings)_posts/Markdown with Makeup, callouts,mix e2e.gen.post, Arabic mirror under_posts/ar/, andproselayout stylingComponents & design
title_tag/subtitle_tagfor correct heading hierarchypage(aligned with pagination); hook maps to Zag's 0-based snap indexfit_viewportdefault adjusted; closes [Color Picker]: Unable to edit the channels with keyboard #30Corex.Content.new/1ink-muted; updates for date-picker, pin-input, password-input, angle-slider, toast, dialog modifiers (dialog--text-*,dialog--rounded-*,dialog--side), and carousel CSSConsistency
Breaking changes (alpha → stable)
redirect: false, or:patch/:navigatefor LV-aware navigation.:labelinstead of:trigger.Corex.Toast.create/5–6and<.toast_group>.pageis 1-based (page={1}is the first slide). Update any 0-based usage.invalidfield={}no longer auto-setsinvalidfrom changeset errors on radio group, pin input, color picker, or editable. Passinvalidexplicitly when you want error styling.controlledink-mutedcontrast updated: re-runmix corex.designif you vendor tokens.Corex.DataList.Itemremoved; useCorex.Content.new/1for theitemsattribute.Migrating form
invalidstylingIf you relied on changeset errors to style inputs automatically:
Migrating Corex.Content items