Skip to content

chore: update remix to ^1.0.0-beta.1#18

Merged
tilucasoli merged 1 commit into
mainfrom
chore/update-remix-1.0.0-beta.1
Jul 14, 2026
Merged

chore: update remix to ^1.0.0-beta.1#18
tilucasoli merged 1 commit into
mainfrom
chore/update-remix-1.0.0-beta.1

Conversation

@tilucasoli

Copy link
Copy Markdown
Collaborator

Summary

Bumps the remix dependency in mix_docs_preview from ^0.2.0 to ^1.0.0-beta.1 and migrates the previews and docs to the new API.

The beta is a breaking major bump with two renames that ripple through the codebase:

  • Fluent stylers: RemixXStyleRemixXStyler
  • Fortal helpers: class-based FortalXStyle[s].variant() → functions fortalXStyler(variant: .variant)

What changed

  • 20 Flutter preview sources (packages/mix_docs_preview/lib/**) migrated — flutter analyze reports no issues.
  • 21 Remix MDX docs (19 component pages + 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:

  • onPressed no longer required on button / icon_button
  • enableFeedback removed from radio
  • enableHapticFeedbackenableFeedback on slider; onChanged now nullable on slider/switch/radio-group
  • select overlay placement via positioning: OverlayPositionConfig (removed targetAnchor/followerAnchor)
  • tooltip gained positioning / dismissDuration; avatar textColorlabelColor
  • Some pre-existing invalid variant examples (callout .info(), card .elevated(), progress .solid()) remapped to real enum values.

Verification

  • flutter analyze on the preview package: clean.
  • Swept all docs for leftover RemixXStyle / FortalXStyle(s) → none.
  • Confirmed every fortalXStyler name 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

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>
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
mix-docs Ready Ready Preview, Comment Jul 14, 2026 8:22pm

@tilucasoli tilucasoli merged commit 61bd81a into main Jul 14, 2026
4 checks passed
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.

1 participant