Skip to content

Add a skill for v5 for v6 migration#42349

Merged
mdo merged 8 commits into
v6-devfrom
v6-skills
Jun 28, 2026
Merged

Add a skill for v5 for v6 migration#42349
mdo merged 8 commits into
v6-devfrom
v6-skills

Conversation

@mdo

@mdo mdo commented Apr 22, 2026

Copy link
Copy Markdown
Member

No description provided.

@mdo mdo added this to v6.0.0 Apr 22, 2026
@mdo mdo added the meta label Apr 22, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Apr 22, 2026
@ludofischer

Copy link
Copy Markdown

Since this process seems entirely deterministic, could this be an actual program instead of a skill? The LLM might even be able to get a head start on generating such a script, either with regexes or even an HTML parser.

mdo added 7 commits June 27, 2026 19:46
- Close button: keep the empty .btn-close (CSS-mask icon over currentcolor);
  drop the wrong 'add a child SVG' instruction that double-rendered the icon,
  and note .btn-close-white is gone (set text color instead)
- Border radius: remove the fabricated $border-radius-2xl rename; document the
  real $radius base + $radii map (0-9) + --radius-* tokens
- Font sizes: note lg+ are fluid clamp() values (not exact rems) and list the
  full xs-6xl scale
- Add a 'Rebuilt behavior & new components' section: carousel→scroll-snap with
  opt-in autoplay, scrollspy→IntersectionObserver, the new components
  (combobox, chips, datepicker, range, strength, otp-input, nav-overflow,
  toggler), util/backdrop.js removal, CSS @layer, and --bs-*-rgb removal
- Extend the Phase 6 grep checklist for all of the above
- Remove the 'ScrollSpy → IntersectionObserver' note: v5 (5.2+) already used
  IntersectionObserver, so it's not a v5→v6 change (the docs changelog omits it)
- Expand carousel coverage to match the changelog: ride→autoplay, wrap→ends,
  removed control/caption/dark/stacked classes, .carousel-overlay requirement,
  control-icon renames
- Add the remaining new components (submenu, stepper, avatar, form-adorn, prose)
- Note the .rounded-* remap + --radius-pill, and link-*→underline-* utilities
- Extend the Phase 6 grep list accordingly
The Sass deprecation list said to use `$border-radius-2xl`, but the
Utilities section (and the source) removed the whole `$border-radius-*`
family in favor of the `$radii` map / `--radius-*` tokens. Point the
note there instead.
#42595 removed util/focustrap.js and util/scrollbar.js (dead code after
the native <dialog> Dialog/Drawer rewrite). Record them alongside the
existing util/backdrop removal in both the migration skill and the
migration guide changelog.
- Split the v5/v6 namespace-vs-import example into two code fences so the
  duplicate `const tooltip` no longer trips eslint's no-redeclare, and add
  the blank line after the import
- Add currentcolor, Datepicker, focustrap, oklab, oklch to the cspell
  dictionary; reword 'inerting' and 'Unlayered' to avoid coined words
@mdo mdo merged commit b392688 into v6-dev Jun 28, 2026
12 checks passed
@mdo mdo deleted the v6-skills branch June 28, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants