Repository navigation
Ship preview to main (29 Nov, docs only) - #634
Merged
Merged
Conversation
Every onXChange on the shared value contract, and the controls that keep
their own state (Input, Textarea, NumberInput, OTPInput, ColorInput, Tabs,
DatePicker, RangeSlider), now pass ChangeDetails after the value: source
(pointer, keyboard, agent, programmatic), the DOM event when there is one,
and cancel(), which keeps an uncontrolled component as it was.
withChangeSource("agent", fn) marks an assistant's changes. SegmentedControl
keeps its event second and passes details third.
First step toward an agent bridge in core (snapshot, act, query).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
useControllableState now reads changeDetails, so it moves to core's internal/ and fx copies both, held to core's by the parity test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
createAgent() gives snapshot, act and query over every mounted control and
page section. Steps run through each control's own change path inside
withChangeSource("agent"), so onXChange callbacks hear the source and can
cancel; a canceled or ignored set is reported as declined. An allow callback
decides each step. agentTools describes the tools as JSON Schema and
registerTools() offers them over WebMCP with a required allow.
Input, Textarea, Select, Checkbox, Switch, RadioGroup, Slider,
SegmentedControl, Tabs, Button and ThemeProvider register themselves.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
hidden keeps a control or region out of the bridge; secret redacts its values, choices and changes while still letting an agent write it; confirm puts the mark's text on the entry and on the allow request, and refuses the step when the app gave no allow. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
…bundle once-ui-validate-ai-code reports controls with no accessible name, which a screen reader announces by role alone and an agent cannot find. The gold examples and blocks name every control; the settings bundle asks for agent-operable settings, and a test changes every setting of its example through @once-ui-system/core/agent. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Runs a model on the settings gold example through core's agent bridge or through Playwright-MCP-style browser tools, checks the page afterwards, and records pass, tool calls, turns, tokens, cost and seconds per run. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Slider and Textarea grow by their agent adapters; ./agent is new. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Bridge and browser both pass the settings task; the bridge uses a third fewer calls and a quarter of the tokens. On the danger task the data-agent-confirm mark stopped the delete 3 of 3 times, while the browser arm pressed Delete workspace 3 of 3 times without asking. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
A page for @once-ui-system/core/agent: createAgent, change details, the data-agent marks, connecting a model through agentTools or WebMCP, and the a11y.name validator rule, with a live settings demo that runs scripted steps through the bridge and shows each change's source. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
The sidebar showed each page's title, so SEO titles such as "Design system for AI coding agents" were cut off. It now shows navLabel, which every page already sets; component pages keep their code names. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
* Common inline styles as utility classes minWidth/minHeight 0 on Flex and Grid, align and wrap on Text, Heading, Flex and Grid, and the themed stroke caps on line icons were inline styles on nearly every page. They are foundations classes now (min-width-0, min-height-0, text-align-*, text-wrap-*, icon-stroke); values no class covers still go inline. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Foundations: record the new text-align, text-wrap and icon-stroke classes in the API surface snapshot Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk --------- Co-authored-by: Claude <[email protected]>
* feat(media): MediaLibrary and MediaPicker on a storage adapter A media library for any storage, ported from Aveiro's onto core's FileTree, Media and MediaUpload: folder tree, searchable tile grid with paging, drop to upload with progress, select, rename, move (menu or drag onto a folder) and delete. Every read and write goes through an adapter prop, and each control shows only when the adapter has the method behind it. MediaPicker wraps it in a Dialog for "choose an image". createMemoryMediaAdapter() backs prototypes and tests; apps/dev has a proof page at /media-library-proof. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJu1G51Lw3fmNHE7VvzH * chore(size): record ./media with MediaLibrary and MediaPicker The entry now carries Dialog, Dropdown, FileTree and InfiniteScroll for the library (48.8 KB -> 82.4 KB gzipped for the whole entry; bundlers still drop what an app does not import). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJu1G51Lw3fmNHE7VvzH * chore(size): record only ./media, keep every other baseline as on preview Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJu1G51Lw3fmNHE7VvzH --------- Co-authored-by: Claude <[email protected]>
* feat(mascot): Claude as a canonical mascot (seed "claude") Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtycqrTdJnwecpHudaN * chore: keep generated ai files out of the diff Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtycqrTdJnwecpHudaN --------- Co-authored-by: Claude <[email protected]>
* Give the icon set its own docs page /basics/icons: search the set, pick an icon to see it at every size, try it in each colour and with round or square caps (data-border), and copy its name or JSX. The Icon component page now points there instead of carrying the gallery. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: keep the Icons intro's inline code type-checkable Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: mark the Icons page New in the nav Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: keep the icon grid inside the content column Six columns of nowrap tiles were wider than the article (968 px in 704). Four columns, tiles that may shrink, and labels that wrap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk --------- Co-authored-by: Claude <[email protected]>
* Give the icon set its own docs page /basics/icons: search the set, pick an icon to see it at every size, try it in each colour and with round or square caps (data-border), and copy its name or JSX. The Icon component page now points there instead of carrying the gallery. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: keep the Icons intro's inline code type-checkable Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: mark the Icons page New in the nav Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: keep the icon grid inside the content column Six columns of nowrap tiles were wider than the article (968 px in 704). Four columns, tiles that may shrink, and labels that wrap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Solid icons: <Icon variant="solid"> from an opt-in entry Every built-in icon gets its filled version from the icons repo, generated into src/icons/solidData.ts and exported from @once-ui-system/core/icons/solid so only apps that import it ship it (Icon looks icons up by name at runtime, so nothing in the registry is tree-shaken). IconProvider takes it as solidIcons; Icon's variant="solid" draws it, falling back to the line icon. Cut-outs that the icons repo paints in a background colour become SVG masks (createIcon, ids from useId), so they show whatever sits behind the icon. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * Docs: Line/Solid switch on the Icons page Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk --------- Co-authored-by: Claude <[email protected]>
* ColorPicker: Once UI's own colour picker, opened by ColorInput A saturation/brightness area, hue and opacity tracks (keyboard sliders), a HEX / RGB / OKLCH switch with a field that takes any of them, an eyedropper where the browser has one, and theme and custom swatches. ColorInput opens it in a dropdown; picker="native" keeps the browser's. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * ColorPicker: room for its catalog line Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk --------- Co-authored-by: Claude <[email protected]>
Conflicts: CHANGELOG (both entries kept), docs mdx imports, ColorInput (the new picker paths report change details too), bundle sizes re-recorded. Formatted four files preview left unformatted. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Organizing its imports merged the Scrubber exports into one line, which package-exports.test.ts reads as text. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
* feat(Icon): animated icons, and the components that use them Icon takes animate and active: seventeen built-ins move with CSS alone, timed by the theme's border shape (foundations --icon-motion-* tokens), still under reduced motion. The icon data marks the moving parts (once-ui-system/icons feat/animated-icons). Accordion and Select flip their chevrons, Checkbox draws its tick in, NavIcon folds the menu icon, Button/IconButton/ToggleButton move hover icons, and Arrow (Button arrowIcon, Tag arrow) is the arrowRight icon with a CSS-only hover: no id or trigger needed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxHFrRqCQVTTQQoYjG * test(foundations): record the icon motion tokens in the token-name snapshot Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxHFrRqCQVTTQQoYjG * NavIcon: hide the inline menu svg from assistive tech (lint gate) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxHFrRqCQVTTQQoYjG --------- Co-authored-by: Claude <[email protected]>
Checkbox imports from both sides; bundle sizes re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
* ColorPicker: compact value field, RGB as one field per channel The value field drops its floating label (the format switch already names it). In RGB, R, G, B (and A with opacity) get their own compact fields, stepped by the arrow keys. The picker keeps one width in every format. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk * ColorPicker: record its size with the channel fields (Grid, Text) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk --------- Co-authored-by: Claude <[email protected]>
Bundle sizes re-recorded after the ColorPicker change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Agent-operable controls: change details, agent bridge, marks, validator, benchmark, docs
- New pages: effects/gradientFx, components/tabBar (live phone-frame demo) - WorkspaceSwitcher: live preview and API reference - Mascot: mediums section, shared-origin layer phase, 48 layers - StylePanel: hints and labelWidth - PieChart gap/cornerRadius, BarChart stack gaps - Border: radius values per style and the 3.1 rounded change - Color: pale seeds get dark on-solid text; Calendar event tones Claude-Session: https://claude.ai/code/session_016gNJtwEoEeDxiD7v4MLVyA Co-authored-by: Claude <[email protected]>
* feat(icons): venue and product feature icons Syncs the 20 icons approved in once-ui-system/icons#5 into core and native: candle, scent, leaf, hourglass, weight, door, stairs, elevator, sofa, washer, coffee, car, tree, hold, carabiner, shoe, mountains, dumbbell, lockers, thermometer. Line and solid. Only the new names are added; the motion attributes on existing icons wait for their own sync. Bundle sizes recorded (+1.5 KB gzip on entries carrying icon data) and the catalog cap moves from 32,500 to 32,700 for the 20 names. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtygVshfQdVrmv6dEPs * chore(native): regenerate the AI harness for the new icon names Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtygVshfQdVrmv6dEPs --------- Co-authored-by: Claude <[email protected]>
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.
Daily ship, approved by Lorant on the 29 Nov ship card ("Ship core docs today (no npm release)?"). This deploys docs.once-ui.com; no npm release, no tag.
Batch
Generated by Claude Code
Everything on
previewthatmaindoesn't have yet. Each PR ships once its demo is approved(label
approved), or it has nothing to demo (no-demo) or was reverted (dropped).When the Ship gate status is green, merge this PR with a merge commit (never squash).