Skip to content

3.0 (breaking, do not merge before the 3.0 beta): long-lived 3.0 branch - #193

Merged
lorant-one merged 348 commits into
mainfrom
feat/3-0-breaking-cleanup
Nov 19, 2026
Merged

lorant-one merged 348 commits into
mainfrom
feat/3-0-breaking-cleanup

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

Do not merge. This is the long-lived 3.0 branch. It stays off main and off 2.2/2.3 until the 3.0 beta goes to next (end of November). main is merged into it regularly.

Before: 2.x carries deprecated names (Particle, Dialog hideClose, CodeBlock's root highlight, ariaLabel, BaseBreakpointProps), leaks test-only helpers from the root barrel, and allows React 18.

After: those names are gone, the root barrel exports only public API, React 19 is the floor, and scripts/codemod-3.0.mjs migrates apps for every removal. The docs and dev apps were migrated by running it.

How: the 3.0 codemod imports the 2.0 codemod's scanner (its helpers are now exported, behaviour unchanged, 2.0 tests still pass) and adds component-scoped renames, rewrites for hideClose and inline codes arrays, and an export rename/report pass. MIGRATING.md gets a 2.x → 3.0 section and CHANGELOG.md a [3.0.0] - Unreleased block. Further breaks (one value contract for inputs, numbers meaning px, tone vs variant, fewer components, ESM packaging) land here as separate commits.

Checks: core typecheck 0 errors, 145 files / 1857 tests pass, codemod tests 77 pass, lint at baseline (152), docs typecheck clean.


Generated by Claude Code

@lorant-one lorant-one self-assigned this Oct 17, 2026
@vercel

vercel Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
core-docs Ready Ready Preview Nov 2, 2026 4:20pm UTC

Copy link
Copy Markdown
Member Author

The visual Compare check fails because this PR compares the 3.0 branch with 2.3 on main. 3.0's breaks are meant to change how the demos look (numbers on the token scale, density, tone vs variant, merged components). Every other check on d2f94fa is green: build, typecheck and test, docs build, lint, and native. I've labelled the PR visual-change, so the next run accepts those diffs.


Generated by Claude Code

lorant-one and others added 7 commits November 17, 2026 18:40
#545)

Radius l is 28px in the rounded border style, but a one-line option can
round to only 17px, so the highlighted first option left a gap towards
the panel's curve. A panel with radius l now rounds to at most 22px and
options follow it. DropdownPanel also passes the caller's className on.


Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

Co-authored-by: Claude <[email protected]>
The marketing-hero bundle opens with a "find the world first" step
(recipes.md #9): a direction card, three worlds without the name pun or
the house default, a first screen that shows the product's work, and
the swap test. The template hero is one option, not the default.

Rules allow hex in seeds and in a hero scene's artwork (named classes in
one scoped sheet), and put that scene outside the ambient-layer budget.
Gotchas for a display face that never reaches Heading and a StyleScope
that paints no background. The validator's style match no longer runs
past a cast style value into a StyleScope config, and accepts a Mascot's
color.


Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

Co-authored-by: Claude <[email protected]>
* feat(icons): Once UI's own icon set replaces the Heroicons-based built-ins

178 icons from once-ui-system/icons (rounded line set, shared 24 grid root),
up from 107. Conservative borders square caps and joins through the new
--icon-linecap / --icon-linejoin tokens. check/checkbox changed meaning:
Toast and Feedback success use checkCircle, Checkbox draws check, and the
3.0 codemod reports both names. Native data re-synced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* fix(icons): data.ts in Biome's format, token surface snapshot, lint baseline

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* chore(native): regenerate ai/ for the 178 icon names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

---------

Co-authored-by: Claude <[email protected]>
…ar size) (#547)

* fix: rc.0 migration findings (nearest-theme rules, codemod, ProgressBar size)

- Tag, Timeline, Input and RichTextEditor's light-only rules matched any
  light ancestor, so a dark StyleScope on a light page drew white
  unselected Tag toggles with near-white text. A foundations mixin,
  in-theme(), matches the element's nearest theme instead.
- Codemod: a shorthand key before whitespace lost its first letter
  (`{ message, variant }` became `vtone`); arithmetic on the config's
  dataStyle.height, now a rem string, reads it with parseFloat; a
  Select's inert 1.x height is dropped like an Input's.
- ProgressBar size: "s" draws a 4px track.
- MIGRATING: app CSS now beats core's type and spacing classes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

* fix(codemod): skip nested packages not on the app's core

Run on a repository root, the 3.0 codemod rewrote sub-packages that do
not use Once UI core or pin another major of it. A nested package.json
without @once-ui-system/core, or with a different major than the package
the codemod runs in, is now skipped and listed; --all-packages walks it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

---------

Co-authored-by: Claude <[email protected]>
…d drawers) (#540)

* feat(icons): Once UI's own icon set replaces the Heroicons-based built-ins

178 icons from once-ui-system/icons (rounded line set, shared 24 grid root),
up from 107. Conservative borders square caps and joins through the new
--icon-linecap / --icon-linejoin tokens. check/checkbox changed meaning:
Toast and Feedback success use checkCircle, Checkbox draws check, and the
3.0 codemod reports both names. Native data re-synced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* feat(nav): HeaderMenu, NavIcon from the menu icon, drawers keep their StyleScope

- HeaderMenu: a landing header's phone menu. The hamburger turns into the
  cross in place, the menu opens as a panel under the header (page scroll
  locked), footer pins the main call to action. open/defaultOpen/
  onOpenChange; closes on a link, Escape, or above `below`.
- NavIcon draws the built-in menu icon and folds it into close, centred.
- Drawer copies the nearest StyleScope's data attributes onto its portal,
  so Sidebar's phone drawer keeps a branded app's look.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* fix(icons): data.ts in Biome's format, token surface snapshot, lint baseline

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* chore(native): regenerate ai/ for the 178 icon names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* HeaderMenu: grow down out of the header, fold back on close

Lorant's call (17 Nov): keep the panel under the header, the button usually at
the right end of the bar, and give the motion care. The panel now opens with a
clip from the header's edge, rows arrive one after another and the call to
action lands last; closing folds it back up before it unmounts (at once with
reduced motion). Docs and changelog follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

* apps/dev: nav kit proof page

/nav-kit-proof shows HeaderMenu (at the right end of a landing header) and
Sidebar with its phone drawer; the nav-kit screenshots come from it. Also
commits the AGENTS.md that next dev writes, so the tree stays clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

---------

Co-authored-by: Claude <[email protected]>
Sets the app's languages, default first, and passes them to the scaffold
API. Two or more add language URLs and a switcher. Matches the composer
on once-ui.com, whose copied command now carries --locales.


Claude-Session: https://claude.ai/code/session_016gNJtyVBjnSeoHVBBf8op6

Co-authored-by: Claude <[email protected]>
lorant-one and others added 4 commits November 19, 2026 10:30
…i.com (#550)

* fix(docs): Feedback opens Chirio's pin mode for people signed in on once-ui.com

The docs widget had no token URL, so nobody was vouched for: pin mode stayed
off and the drawer showed the board form with its email sign-in. It now asks
once-ui.com/api/feedback-token, and Feedback tries pin mode first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtybUWM9Z2AgZdqsQPo

* Docs: ask for the feedback token only on the production deployment

once-ui.com answers docs.once-ui.com alone, so on localhost, CI and preview
URLs the widget's token fetch was refused with a CORS error on every page,
which the docs smoke test counts as a problem.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtybUWM9Z2AgZdqsQPo

---------

Co-authored-by: Claude <[email protected]>
Pulse's reduced-motion fix (#509) moves to PulseRing, which StatusIndicator
pulse draws in 3.0; CodeBlock's file tabs (#508) use SegmentedControl's
onValueChange; rimraf ^6.1.4 (#529); lockfile regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
Stable: publishConfig.tag next is removed (RELEASING.md), so the release
workflow publishes to latest after the npm-latest approval. The notes held
as 3.1.0 fold into 3.0.0, since they are on the branch that ships.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
lorant-one and others added 3 commits November 19, 2026 13:26
Collapsed, the groups are one list; a group opens as its own level under a
back row instead of nested accordions. Thumb-sized link rows, focus to the
back row and back to the group, slide in from the side it came from.


Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R

Co-authored-by: Claude <[email protected]>
…feat/3-0-breaking-cleanup-giduz4

# Conflicts:
#	packages/core/ai/catalog.json
#	packages/core/ai/manifest.json
#	packages/core/ai/spec.json
… blocks 3.0.0 (#554)

3.0.0: merge main's 2.x fixes, then version core, foundations, fx and blocks 3.0.0
…sections

The Icon page said 76 built-in names; there are 178. It now lists them all
in a searchable gallery (click copies the name), shows iconLibrary and
BuiltInIconName, and explains the check/checkbox swap.

New pages: Combobox, StatTile, RichTextEditor (the /richtext module) and
the blocks page sections (HeroSection through TeamSection, and Sections).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
claude and others added 2 commits November 19, 2026 15:11
…ate --locales (#544)

Both reached preview after #554 merged main into 3.0, so main's switch to 3.0
would otherwise leave them behind on preview.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
…sections; merge preview into 3.0 (#557)

docs: cover 3.0's icons, Combobox, StatTile, RichTextEditor and page sections; merge preview into 3.0
@lorant-one
lorant-one merged commit e42709c into main Nov 19, 2026
9 checks passed
@lorant-one
lorant-one deleted the feat/3-0-breaking-cleanup branch November 29, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants