chore: update remix to ^1.0.0-beta.1#18
Merged
Merged
Conversation
Bump the `remix` dependency in mix_docs_preview from ^0.2.0 to ^1.0.0-beta.1 and migrate to the new API. Breaking changes handled: - Fluent stylers renamed `RemixXStyle` -> `RemixXStyler` - Fortal helpers moved from class-based `FortalXStyle[s].variant()` to functions `fortalXStyler(variant: .variant)` - Constructor/property doc updates from the beta changelog: onPressed no longer required (button/icon_button), enableFeedback removed from radio, enableHapticFeedback -> enableFeedback on slider, nullable onChanged on slider/switch/radio-group, select overlay placement via `positioning: OverlayPositionConfig`, tooltip positioning/dismissDuration, avatar textColor -> labelColor Updated the 20 Flutter preview sources (flutter analyze clean) and the 21 Remix MDX docs to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Bumps the
remixdependency inmix_docs_previewfrom^0.2.0to^1.0.0-beta.1and migrates the previews and docs to the new API.The beta is a breaking major bump with two renames that ripple through the codebase:
RemixXStyle→RemixXStylerFortalXStyle[s].variant()→ functionsfortalXStyler(variant: .variant)What changed
packages/mix_docs_preview/lib/**) migrated —flutter analyzereports no issues.index.mdx+fortal.mdx) updated to match the new API.Beyond the mechanical renames, the docs also picked up real behavioral changes from the beta changelog:
onPressedno longerrequiredon button / icon_buttonenableFeedbackremoved from radioenableHapticFeedback→enableFeedbackon slider;onChangednow nullable on slider/switch/radio-grouppositioning: OverlayPositionConfig(removedtargetAnchor/followerAnchor)positioning/dismissDuration; avatartextColor→labelColor.info(), card.elevated(), progress.solid()) remapped to real enum values.Verification
flutter analyzeon the preview package: clean.RemixXStyle/FortalXStyle(s)→ none.fortalXStylername used in docs exists in the installed package.Not run: full Flutter web preview build and
next build(MDX edits are all inside fenced code blocks / prose, so they don't affect the site build).🤖 Generated with Claude Code