Changelog

The six published packages share one version (ADR 0009). Before 1.0, a minor version may break things and a patch doesn't. Each release has a registry snapshot at https://uiuxengine.com/r/v/<version>/ that never changes (ADR 0020).

0.4.0

Menu, decided in ADR 0032, Input and Field, decided in ADR 0033, and Dialog, decided in ADR 0034, native Figma slots (ADR 0037), and the fixes from the audit before 0.4.0.

Accessibility: Menu, Input, Field and Dialog pass the automated accessibility checks in Chromium, Firefox and WebKit, but haven't been tested with a screen reader. Select has passed with VoiceOver and Safari, not with NVDA. No component has been tested with a mobile screen reader. Test these components with the screen readers your users rely on before you depend on them.

Breaking changes:

  • An agent's spec binds only actions agents may call (ADR 0031). SpecRenderer treats a spec as written by an agent unless it gets author="host", and an agent's spec that binds an action without allowAgent: true is rejected, with the same unknown_action issue as a missing action. A host whose own code writes specs passes author="host"; a host that lets agents bind an action marks it allowAgent: true. Dispatch refuses author: "agent" for other actions too, and handlers receive author. describeRuntime lists only the actions its author may bind, "agent" by default.
  • Spec version 3. An event field that may be left out no longer fits an action field that is required (ADR 0030), and an agent's spec can be rejected for the actions it binds, so SPEC_VERSION is 3 and the spec schema's id is urn:uiuxengine:spec@3. The schema lists a component's alias as well as its id.
  • SpecRegistry is built with specRegistry. hasAction and actionPayload are replaced by action(name), which returns { allowAgent, payload }, and author. specRegistry({ components, icons, actions, author }) builds one from lists or lookups and rejects a component registered twice.
  • ActionRegistry.get replaces has and payload, and returns the action's allowAgent and payload.
  • Core's entry point is smaller. Collections, selection, navigation, typeahead and the keyboard contracts move to @uiuxengine/core/behavior. firstEnabled and lastEnabled are gone: moveActive's first and last moves follow the navigation policy. Helpers nothing outside core used are no longer exported: ARIA_STATES, ariaStateProblem, effectiveStates, emptyStateValue, findNode, forcedStateAttributes, iconRefSchema, identityIssues, isIconRef, NAMESPACE_PATTERN, orderByDependency, payloadFitProblem, presenceProps, propSchema, resolveRename, restValue, ruleMatches, stateAttributes, stateLabel, stateValueSchema and suppressorsOf.
  • validateDesign needs the component lookup. Without it, owned instances and slot items went unchecked.
  • Button's onPress takes no arguments, as its contract's press event has no payload. onClick still receives the browser's event.
  • CLI paths stay in the project. blocks and output in engine.config.ts, and engine figma --icon-keys, are rejected when they point outside the project. engine upgrade checks an item's requires, as engine add does.
  • The MCP server's validate_spec takes actions as objects, { name, allowAgent, payload }, and an author. Without actions, it rejects every binding, where it used to accept any name. list_definitions leaves out components that specs can't use.
  • Content slots are native Figma slots (ADR 0037). Every content slot is a SLOT property that allows only the components it accepts, so a designer can add, remove and reorder items on a placed instance. On the next sync, Select's options frame and other multiple slots are replaced by slots holding the same items, and placed instances stay linked. The Empty State's action was an instance swap, and Figma can't change a property's type: the sync stops on that set and says to delete it in Figma and sync again, and its placed instances lose their link.
  • The Figma plugin no longer migrates a 0.2.0 Button set (ADR 0029). Sync a file still at 0.2.0 once with a 0.3.0 plugin first. The sync report lists limitations, what Figma can't express, apart from warnings, what a definition could change.

New:

  • @uiuxengine/components and @uiuxengine/react: Menu and MenuItem. A Menu is a Button that opens a list of commands in the top layer. Focus moves into the list, disabled items stay focusable, and arrow keys wrap. Pressing an item focuses the trigger, fires onItemPress with the item's value and then asks to close, so a dialog opened from it returns focus to the trigger. A menu holds no value. Its open state is controllable with open, defaultOpen and onOpenChange, and its trigger takes Button's variant, size, label, accessibleLabel, disabled and an icon. Menu hasn't been tested with NVDA yet.
  • Specs, describeRuntime, the agent index, llms.txt and the site include Menu and MenuItem. An agent's spec can bind itemPress to an action marked allowAgent.
  • @uiuxengine/core: a navigation policy for moveActive, repairActive and typeahead, with LISTBOX_NAVIGATION as the default and MENU_NAVIGATION; the keyboard contracts menuTriggerKeyAction and menuKeyAction; semantics on an owned instance part, such as a trigger that is a Button; aria-haspopup on a button that controls a menu, listbox, tree, grid or dialog; and an instance's icon slot bound to its parent's icon slot.
  • @uiuxengine/react: a part binding on an owned instance merges its props, handlers and ref into the instance. An overlay that closes with focus inside it returns focus to its trigger.
  • Figma: a sync adds a Menu set, with its Button trigger as a nested instance and its list as an overlay layer, and a MenuItem set with four variants. MANIFEST_VERSION stays 2, so a 0.3 plugin syncs them too.
  • @uiuxengine/components and @uiuxengine/react: Input, a single line of text in a native <input> of type text, email, url or tel. Its value is controllable with value, defaultValue and onValueChange, and onValueCommit reports when a person leaves the field after an edit or presses Enter. Text composed with an input method is reported once, when the composition ends. It takes name, autocomplete, required, minLength, maxLength, readOnly, disabled, invalid, a placeholder and a leadingIcon, submits with its form and returns to its first value on a reset. Native constraints block a submission, but only the host marks it invalid.
  • @uiuxengine/components and @uiuxengine/react: Field, a visible label, a description and an error message around one Input or Select. The label names the control and focuses it, the description and the shown error describe it, and invalid marks it invalid. A spec can use Field with an Input or a Select, which then needs no accessibleLabel. Input is in specs, and valueCommit is the event to bind. Field labels any control its slot accepts whose contract declares semantics.labelable.
  • @uiuxengine/core: semantics.labelable, the element a component is labelled by, and semantics.slots, the label, descriptions and states an owner gives its slot's item, with slotAriaAttributes. A spec item that its owner labels needs no label prop of its own.
  • @uiuxengine/tokens: color.invalid.fg, for error text, at 4.5:1 on the canvas and on surfaces in both themes.
  • @uiuxengine/cli: an agent index example puts a component specs can use where a design's placeholder has one they can't.
  • Figma: a sync adds an Input set with eight variants and a Field set with two, whose control is a slot that accepts Input and Select.
  • Select's guideline and its development warning say to name it with a Field.
  • @uiuxengine/components and @uiuxengine/react: Dialog, a modal native <dialog> with a title, an optional description, content, actions and a close button, in three sizes. The browser makes the page inert and focuses the first focusable element, the close button by default, or the one initialFocus gives. Escape and the close button ask to close with onOpenChange, which a host can refuse; when the browser closes it anyway, it stays closed until the host changes open. Focus returns to the element that opened it, or to the one returnFocus gives when that element is gone, with a development warning when there is neither. dismissible={false} hides the close button and ignores Escape. A backdrop click doesn't close it, and the page doesn't scroll while it's open. Dialog isn't in specs: its contract sets specs: false. Dialog hasn't been tested with a screen reader yet.
  • @uiuxengine/core: labelledBy and describedBy on a component's root semantics, with rootRelationAttributes, which leaves out a part that isn't shown. An owned instance's literal props can be icon references, as Dialog's close button's x. A design's previewState names the state its previews hold, { open: true } for Dialog, so previewCases shows it open, in place.
  • @uiuxengine/tokens: color.backdrop, translucent black in both themes.
  • Figma: a sync adds a Dialog set with three variants, one per size, with the close button as a nested Button instance and dismissible as a BOOLEAN property. It has no backdrop.

Fixes from the review of 0.3.0, decided in ADR 0030. They were prepared as 0.3.1, which was never released:

  • Runtime. A spec that fails validation no longer discards the state the runtime holds. When the spec is valid again, each Select still shows what the person chose.
  • Runtime. A spec's state: { value: null } starts empty instead of at the contract's initial.
  • Runtime. An action bound in a spec receives only the fields its event declares. A Button's press used to forward fields of the browser's click event, such as type and detail, to an action that declared them.
  • React. defaultValue={null} starts empty. A form reset returns a Select that was first rendered with value={null} to null.
  • Select. A value that no option has is still kept, but it no longer submits and it fails required, as its placeholder suggests. Once an option with that value returns, it submits again.
  • Select. In a disabled fieldset, a Select now looks disabled, can't open, even with defaultOpen, and can't be changed.
  • Select. When a host refuses a request and a person repeats it, for example a second Escape on a list the host keeps open, the request is reported again.
  • Select. When the platform closes one Select's list because another opened, that Select reports openChange once and stays closed until the host changes open or a person opens it. Its trigger no longer says that a hidden list is expanded.

From the audit before 0.4.0:

  • @uiuxengine/core: specs: false on a contract keeps a component out of specs, and inSpecs(contract) is the check every spec consumer uses (ADR 0036). validateSpec rejects such a component whatever registry it's given, so a host can't make Dialog spec-renderable by registering it.
  • @uiuxengine/react: onActionOutcome on SpecRenderer hears how each dispatch settles, numbered in dispatch order and with the node that caused it. Without it, a failed dispatch is logged in development (ADR 0030).
  • Button and Menu. In a disabled fieldset, a Button looks disabled, and a Menu looks disabled and doesn't open, even with defaultOpen, as Select and Input already did.
  • Menu. Its focus effect runs only when the menu opens or the active item changes, not after every render.
  • @uiuxengine/cli: a block's dependencies include packages imported with single quotes, side-effect imports and import().
  • Figma: a component set that fails to apply no longer stops the sync. Each failure is reported with its set. The plugin checks a manifest's contracts and designs with core before planning, and reports that overlays don't flip in Figma.

Also fixed:

  • Previews of open overlays. A forced open Select or Menu, as in the site's preview matrix and the playground, shows its list 4px below the trigger, as the live popover does, instead of touching it, and a Select's list is at least as wide as its trigger.

0.3.0

The interaction foundation: component state, typed events, keyed collections, part semantics, overlays and runtime state, with Select and Option as the components that prove it (ADR 0023 to ADR 0029).

Breaking changes:

  • Manifest version 2. Manifests describe component state, overlays and scrolling, which a 0.2.0 Figma plugin would misread, so it refuses them and says so. Update the plugin before syncing a 0.3.0 manifest.
  • Spec version 2. A spec node may have a key and initial state, such as { "component": "select", "key": "period", "state": { "value": "month" } }. A 0.2.0 validator rejects both. Every version 1 spec is still valid. The spec schema's id is urn:uiuxengine:spec@2.
  • Actions without a payload refuse one. An action used to receive whatever was dispatched to it. Now it declares a payload schema, every dispatch is validated against it whatever its source, and an action without a schema returns invalid_payload for any payload. A host that dispatches payloads adds a schema, for example payload: { value: prop.text({ nullable: true }) }.
  • RuntimeDescription lists events as objects. A component's events were names. They are now { name, description, payload }, so events.map((event) => event.name) gives the old list.
  • Button's Figma set has 72 variants instead of 120. focus is a BOOLEAN property that shows the ring, no longer a VARIANT. The next sync migrates a set made by 0.2.0 in place and lists the migration in the preview: unfocused variants keep their layers, instances of focused variants in the same file move to the unfocused variant with focus on, and the 48 focused variants are removed. Instances in other files that use a published library keep their last appearance until they are swapped, so publish the library again after syncing.

New:

  • @uiuxengine/components and @uiuxengine/react: Select and Option. A Select is a combobox button with a listbox in the top layer, controlled or uncontrolled (value, defaultValue, onValueChange, and open, defaultOpen, onOpenChange). It follows the select-only combobox keyboard pattern, where Tab closes the list without choosing, and has typeahead. It's named by accessibleLabel, a <label for> or aria-labelledby, and takes part in forms with name, required and reset. Focus stays on the trigger. A submission blocked by an empty required Select focuses its trigger, and the browser's own message doesn't show, so the host shows one with invalid and aria-describedby. Select hasn't been tested with NVDA yet.
  • @uiuxengine/core: contract state, event payloads, item descriptors, keyOf constraints and part semantics, and in designs, state dimensions, overlays, scrolling and text that shows the selected item. Collections, selection, navigation, typeahead and the keyboard contracts are pure functions, createCollection, selectItem, moveActive, typeahead, selectKeyAction and the rest, which run without a DOM.
  • @uiuxengine/react: renderParts takes part bindings for elements, attributes, handlers and refs, and keys slot items by their item key. An Empty State installed from 0.1.0 or 0.2.0 renders as before.
  • Runtime: the spec renderer holds each node's state by its identity, keeps it across spec replacement and disposes it when the node goes. validateSpec checks that an event's payload fits the action it's bound to. maxNodes defaults to 500, up from 100, and counts options.
  • Agents: describeRuntime, the agent index, llms.txt and the MCP server list each component's events with their payloads and the state a spec may set.
  • @uiuxengine/tokens: color.item.bg-active, color.item.indicator, color.invalid.border and shadow.overlay. color.border.strong is darker, palette.neutral.500 in both themes, so a control's boundary has 3:1 contrast.
  • The Figma plugin draws overlays as absolute layers against their anchors, and scrolling frames with a maximum height.
  • Browser support: the current Chrome, Edge, Firefox and Safari. The Engine uses a feature once it's Baseline newly available and ships no polyfills. The newest it relies on are CSS anchor positioning, Baseline since January 2026, and the source option of showPopover(). Without anchor positioning a Select's list opens centred.

0.2.0

The registry has its own format, item format 2, with JSON Schemas at https://uiuxengine.com/schema/v2/.

  • Breaking: the CLI and the MCP server read item format 2 only, so they no longer read the 0.1.0 registry. In format 2 every field is at the top level, file paths are relative to the block's folder, and the content hash covers only what a project installs. The registry format guide at https://uiuxengine.com/docs/registry/ specifies the fields, the hash and the validation.
  • @uiuxengine/cli exports the schemas as registryItemSchema and registryIndexSchema, and the checks it runs on every item as checkItem and checkIndex.
  • The Empty State is unchanged and stays 0.1.0. After updating the packages, npx @uiuxengine/cli upgrade empty-state records its new hash and leaves its files alone.

0.1.0

The first public preview. The architecture is proven with one component and one block. APIs may change in any minor version before 1.0.

  • @uiuxengine/tokens: design tokens with light and dark themes and compact, standard and comfortable density, as CSS variables and DTCG files.
  • @uiuxengine/core: serializable component contracts and design definitions, the manifest, spec validation, and CSS generated from designs.
  • @uiuxengine/components: the Button, its generated CSS and the Engine's engine.manifest.json.
  • @uiuxengine/react: the React Button with UI/UX Icons, and SpecRenderer for validated declarative specs.
  • @uiuxengine/cli: add and upgrade blocks from a registry with a lockfile that keeps your edits, generate a project's CSS and manifest, and figma to sync a project into Figma.
  • @uiuxengine/mcp: a read-only MCP server that shows coding agents a project's definitions and the registry's blocks, and validates specs.
  • The registry at https://uiuxengine.com/r/ with one block, the Empty State.