Joinery: shadcn/ui for Ember, as a Formwright sibling
Joinery follows the Formwright methodology: v2 addons in a pnpm monorepo, strict TypeScript and Glint, .gts everywhere, a harness class for every component, a Kolay guide whose examples are all tested, a hand-written marketing site with a live demo, Changesets, and tag-triggered OIDC releases.
Summary
Status: built (2026-11-11). The plan was agreed through a 40-question intake and built unattended
by subagents onto one stacked PR, a draft until its last unit (z-finish) integrates and it is
marked ready for review; see "Autonomous execution".
Every component page's example and every chart is mapped and compared (CI's parity runs with
--require-complete), and nothing Joinery tracks has changed upstream since the pins (shadcn-ui's
one later commit, dd41d19, only lists community registries in registry/directory.json, so
the pins stay). One gap stays open at 1.0: the forms pages' examples are rebuilt on Formwright
but not compared (see the forms deviation below). Nothing is published; what stays with Joe is
listed under "Autonomous execution".
Deviations from the intake, and why:
- Application shells, materials and the parts they need (extends decisions 2 and 27; agreed
with Joe on 2026-12-02 through a 30-question intake, and built unattended at his request).
shadcn/ui has no application shells, so nothing here is ported and nothing has a parity
mapping. Tests and the axe audit are the gate for it, as for the Formwright add-ons.
- Materials (
packages/ember/src/css/materials.css, injoinery.css): a thickness scale and surface aliases for translucent bars and panes, opaque until the app setsdata-jn-material="glass". They are frost and cross-browser highlights only. Refraction needs an SVG filter inbackdrop-filter, which only Chromium supports. Each material keeps the theme's text at WCAG AA, and is opaque again for a user who asks for less transparency. The same file has the safe-area and title bar tokens for PWAs and for Electron and Tauri. - New core components in
@ember-joinery/ember, each shipped whole but for the parity mapping: App Shell, Page, Toolbar, Split View, Inspector, Title Bar, Status Bar, Window Frame, Navigation Stack, Navigation Bar, Tab Bar and Pull To Refresh. - Shells are a guide section of their own, after Blocks: whole application layouts for web SaaS apps and in the structure of macOS, iPadOS and iOS apps, in Joinery's theme (no Apple fonts, icons or colours). They are copied from the guide's Template tab, as blocks are; the copy CLI does not carry them yet. Each shell's test also runs right to left, and its strings are English, as a block's are.
- 1.0 was on npm before this work started, so it ships in 1.1.
- Materials (
- Stateful primitives run on Switchyard statecharts (extends decisions 3 and 5; agreed with
Joe on 2026-11-22, who asked for it as one PR).
@ember-joinery/primitives, and the add-ons whose components keep state of their own (file upload, power calendar, code block), depend on@switchyard-ts/core,@switchyard-ts/emberand@real-enums/core. Machines stay in each package's private code, so no public entry point exports one and copied components don't import Switchyard themselves. A machine owns modes and timers only; an open or a value stays inControllableState, and side effects follow the value a controlled parent committed, not the one requested. - Built-in strings go through the app's translator (changes decision 20; agreed with Joe on
2026-11-11, who authorized the change in that session). Every built-in string is still an
argument with an English default, and the argument still wins, but the default now comes
from the app's translator when it registers one,
translator:main, as the msgid contract (joegaudet/msgid) has it. Each package defines its strings once, asMessagedata insrc/messages.ts, exported at<package>/messagesfor a translation catalog, and shows them throughtranslate()from@ember-joinery/primitives/i18n(or itsthelper in a template), which formats English itself when there is no translator. A concatenation (Value 2 of 3, a selected day's name) is one message with placeholders, so a translation can order the words. A@localethat isn't given is the translator's. No package depends onmsgid, which isn't published:@ember-joinery/test-supporthassetupTranslator()and a pseudo-locale of its own, and every component passes the pseudo-locale test (item 8 of the definition of done). - Accessibility and Internationalization are guide sections (2026-11-19, Joe's ask). They move out of Getting started, after it in the sidebar: Accessibility's overview and a Testing page, and Internationalization's overview and RTL. Primitives → I18n stays the API reference. The old addresses go to the new pages.
- The site leads with accessibility (2026-11-11, Joe's ask).
docs/site/gains an accessibility section after "why", its "Accessible" card moves first, and the guide gains Getting started → Accessibility. The siblings section adds harnessed, and every sibling site links back to Joinery. - One stacked PR, built unattended (replaces decisions 8 and 38). Joe asked for subagents to
work through everything without feedback, as one big stacked PR. Each unit lands as its own
commits on
build/joinery-1.0. Nothing merges tomainand nothing publishes until Joe has reviewed the whole PR. - Copy-in CLI (replaces decision 2, at Joe's request, 2026-11-19). Besides the npm
add-ons,
ember-joinery(packages/cli/) copies a core component's source into an app, as shadcn'sadddoes, with its options; updating isaddagain (--dry-run,--diff,--overwrite). It carries the source of its own version, built bypackages/cli/lib/build-registry.mjs. Copies keep Joinery's CSS and harnesses and depend on the primitives. Add-ons, primitives and blocks aren't copyable yet. SeeCOPY_PLAN.md. - The upstream source, corrected. ui.shadcn.com no longer renders the
new-york-v4registry. Its component pages renderapps/v4/registry/bases/radix/ui, styled by one of eight style sheets (apps/v4/registry/styles/style-*.css, Nova by default), with examples fromapps/v4/examples/radix/. Joinery ports that, so the scope is the 497 examples the docs pages reference (501 previews:button-group-demo,card-rtlandfield-demoeach show on two pages, and the Hover Card page showshover-card-demotwice), not new-york-v4's 244. Charts still come fromregistry/new-york-v4/charts(the charts gallery), and blocks fromregistry/bases/radix/blocks. - All eight shadcn styles. Upstream's components now carry semantic classes (
cn-button,cn-button-variant-outline) that each style sheet defines with@apply. Joinery ports the sheets mechanically (cn-becomesjn-), so it ships Nova as the default and the other seven (Luma, Lyra, Maia, Mira, Rhea, Sera, Vega) as alternatives, and the guide's theme switcher offers all of them. - The base colours, corrected. At the pinned commit, upstream's base colours
(
registry/base-colors.ts) are Neutral, Stone, Zinc, Mauve, Olive, Mist and Taupe; Gray and Slate are gone. Joinery ships those seven, ported fromregistry/themes.ts. - Opt-in add-ons on Formwright's libraries (added at Joe's request; extends decisions 3 and
23). Formwright's add-on packages wrap libraries that Joinery should also offer on their own:
shadcn-styled, as standalone Joinery components rather than Formwright controls. Each is an
add-on package of its own on the original library, built as Carousel and Code Block are (the
library as a dependency, styled with Joinery's tokens and style sheets in the look of the
nearest shadcn components, its harness at
<package>/test-support, a guide page marked as an opt-in add-on with its install step, and Formwright's guide examples for it ported as standalone examples). Nothing in@ember-joinery/ember,@ember-joinery/primitivesor@ember-joinery/test-supportimports one or lists its library, and the core packages build, test and work without them. shadcn/ui has no counterparts, so they have no parity mappings. Each lands as its own unit and adds its package to the layout and the inventory below; the first are@ember-joinery/file-upload, on ember-file-upload,@ember-joinery/tiptap, on Tiptap,@ember-joinery/power-calendar, on ember-power-calendar, and@ember-joinery/maskito, on Maskito. - Clarified while building (no decision changed). The generated
meta.jsoncovers every A–Z section of the guide (Components, Primitives, Charts, Blocks, Formwright and Reference), not only Components. The Guide section now says what "Autonomous execution" already did: the acceptance test buildsPAGESfrom the templates directory. And setting the repository's Pages source to GitHub Actions, whichpages.ymlneeds, is listed among what stays with Joe. The naming proposal under "Risks and open items" is settled as the inventory already had it: ember-primitives' FormDataFormisNativeForm(@ember-joinery/primitives/native-form), and Formwright suppliesForm. Of the 27 blocks, the four ported arelogin-01,signup-01,dashboard-01and, for settings,sidebar-13(a sidebar in a settings dialog), the one settings screen among them; the demo opens it over the dashboard, at/settings. - The forms, built once each, and not compared at 1.0 (changes Phase 12, and item 6 of the
definition of done for its examples; Phase 14's parity audit leaves them out, where it first
said it would compare them before 1.0. That narrowing was made during the unattended build,
without Joe's agreement, so it is his to confirm or overturn in review). Upstream's
registry/new-york-v4/examples/form-*are 34 files: 30 examples, and the schema and action files of its two Next.js forms. Most are one form written three times, for React Hook Form, TanStack Form and Formisch; Formwright is the one form library here, so each form is one guide example, which names the upstream ones it rebuilds: 12 in all, the nine forms every library has, React Hook Form's password form, and the two Next.js forms (form-next-demo,form-next-complex), which are forms of their own. They aren't in the parity comparison, and 1.0 ships without it: they are thedocs/formspages' examples, in new-york-v4, which neitherupstream/inventory.jsonnor the reference app covers (it renders new-york-v4 only for the charts), so--require-completedoesn't count them either. Comparing them needs the inventory to list those pages' examples and the reference app to render them with their libraries (React Hook Form, TanStack Form, Formisch, and Next.js's<Form>), then a map from each upstream example to the Formwright example that rebuilds it. That is work for after 1.0; until then the gap is listed in the PR's Known gaps and on the guide's Forms page, and the upstream watch reports changes to thedocs/formspages and theform-*examples, so none goes unseen. Of Joinery's inputs, FileDrop isn't a Formwright control: it keeps no value, and File Upload is what keeps files.
What we're copying: ui.shadcn.com: every component, every example
on its component pages, a subset of its blocks, and its theming. The source of truth is the code
that builds that site, shadcn-ui/ui apps/v4/ (components in registry/bases/radix, styles in
registry/styles, examples in examples/radix), pinned at
8ab2771 (2026-11-08). Joinery also covers every feature of
ember-primitives 0.64.2 (9584c78).
Both are MIT.
Joinery follows the Formwright methodology: v2 addons in a pnpm monorepo, strict TypeScript and
Glint, .gts everywhere, a harness class for every component, a Kolay guide whose examples
are all tested, a hand-written marketing site with a live demo, Changesets, and tag-triggered
OIDC releases.
Glossary
Not recorded in the original plan.
Problem and context
Not recorded in the original plan.
Goals and non-goals
Not recorded in the original plan.
Customers
Not recorded in the original plan.
Internal stakeholders
Not recorded in the original plan.
Users and scenarios
Not recorded in the original plan.
Landscape and constraints
Not recorded in the original plan.
Proposed design
Target layout
ember-joinery/
packages/
primitives/ @ember-joinery/primitives headless behaviour and utilities (ember-primitives parity, Radix parts)
ember/ @ember-joinery/ember styled components, joinery.css, tokens.css, themes/, tailwind.css, <Icon>
test-support/ @ember-joinery/test-support a harness for every primitives and core component, and the selector reference
chart/ @ember-joinery/chart Glimmer SVG charts on d3-scale and d3-shape (+ /test-support)
carousel/ @ember-joinery/carousel embla-carousel (+ /test-support)
data-table/ @ember-joinery/data-table @tanstack/table-core (+ /test-support)
code-block/ @ember-joinery/code-block shiki highlighting, line numbers, diff, copy (+ /test-support)
file-upload/ @ember-joinery/file-upload ember-file-upload: drop zone, list, queue (+ /test-support)
tiptap/ @ember-joinery/tiptap Tiptap: a rich-text editor and its toolbar (+ /test-support)
power-calendar/ @ember-joinery/power-calendar ember-power-calendar: calendars, date pickers (+ /test-support)
maskito/ @ember-joinery/maskito Maskito: masked input, presets, phone input (+ /test-support)
formwright/ @ember-joinery/formwright Formwright controls, Field layout, harnesses (+ /test-support)
cli/ ember-joinery the copy-in CLI: `npx ember-joinery add`, and its registry
test-app/ Vite Ember app: integration tests for every package; built into docs/site/demo/
docs-app/ the Kolay guide → docs/site/guide/
parity/ private: React 19 + Tailwind 4 reference app that renders shadcn's own examples
examples/ ember-vite-basic, ember-classic, ember-tailwind, ember-formwright (each runs in CI)
docs/site/ hand-written marketing page (index.html, site.css, site.js, logo.svg, favicon.svg,
img/, social-card.png; joinery/, Joinery's built CSS, copied in by site-css.mjs)
docs/social-card.html
scripts/ publish.mjs, publish-plan.mjs (from Formwright), upstream.mjs, parity.mjs,
port-styles.mjs, extract-classes.mjs, site-css.mjs, site-screenshots.mjs,
gen-barrels.mjs, entrypoints.mjs, *.test.mjs
upstream.json the shadcn-ui/ui and ember-primitives commits last synced
upstream/ inventory.json: every docs page's examples and their styles, the ui, charts, blocks
CLAUDE.md CONTRIBUTING.md README.md LICENSE.md NOTICE JOINERY_PLAN.md
.changeset/ .github/workflows/{ci,parity,upstream,pages,release,bootstrap-publish}.yml
Architecture
Layers
primitives (behaviour, no styles) → ember (styled; mostly thin layers over the primitives) →
add-ons. test-support mirrors them: a harness for each primitive, and the styled components
reuse those harnesses because the parts and selectors are the same. You can use a primitive on
its own, unstyled, the way you'd use ember-primitives or Radix.
Modern Ember rules (enforced by lint and review)
.gtstemplate-tag components in strict mode. Glimmer components, orTOCfor template-only ones. Named args only, and...attributeson the main element.- Glint signatures for every component:
Args,Blocks,Element. Every yielded part is typed. @trackedstate, native getters and@cached. Function-based modifiers viaember-modifier. Built-ins (on,fn,hash,array,element) instead of helper addons.- No
@ember/component, mixins, observers,{{action}}, positional params, or an app-wide service a component can't work without. Owner-scoped state (Toaster, color scheme) goes through the primitives'servicehelper, so tests stay isolated.
Component anatomy (Dialog as the worked example)
import { Dialog, Button, Input } from '@ember-joinery/ember'
<template>
{{! uncontrolled; pass @open and @onOpenChange to control it }}
<Dialog @name="edit-profile" as |d|>
<d.Trigger @as="span">Edit profile</d.Trigger> {{! or <LinkTo {{d.trigger}}> on your own element }}
<d.Content @closeLabel="Close">
<d.Header>
<d.Title>Edit profile</d.Title>
<d.Description>Make changes to your profile here.</d.Description>
</d.Header>
<Input @value={{this.name}} @onValueChange={{this.setName}} />
<d.Footer>
<d.Close>Cancel</d.Close>
<Button @variant="default" {{on "click" this.save}}>Save changes</Button>
</d.Footer>
</d.Content>
</Dialog>
</template>
Attributes on every part:
| Attribute | Purpose |
|---|---|
class="jn-<slot>" |
The styling hook; selectors sit inside :where() in @layer joinery, so app CSS always wins |
data-slot="<slot>" |
Same as shadcn v4 (dialog-content, button…), for parity and for app CSS |
data-state |
Same as Radix: open/closed, checked/unchecked, active/inactive, on/off |
data-variant, data-size, data-side, data-align, data-orientation, data-disabled, data-highlighted |
Variants and state for CSS |
data-test-jn="<component>", data-test-jn-name="<@name>" |
Root of a component instance (the harness's scope) |
data-test-jn-part="<part>" |
A part (trigger, content, item, option…) |
data-test-jn-owner="<id>" |
On portalled or top-layer parts: the root they belong to |
data-test-jn-value="<key>" |
Options, items, tabs, toggles |
The data-test-jn-* attributes are public API. They're documented in the Testing guide and
render in production, as Formwright's data-test-fw-* do.
Styling pipeline
packages/ember/src/styles/<style>.cssholds shadcn's eight style sheets, ported byscripts/port-styles.mjs. The script renamescn-tojn-and makes physical sides logical (pl-2tops-2, as upstream's right-to-left build does, so one sheet serves both directions), and otherwise keeps upstream's@applyrules verbatim, so upstream changes diff cleanly. Components render the same semantic classes upstream's do (jn-button jn-button-variant-outline jn-button-size-sm), plus the data attributes.- Upstream also puts some utility classes inline in each component (
inline-flex,shrink-0…).scripts/extract-classes.mjspulls them out of the upstreamcn(...)andcva(...)calls into rules that follow the style sheet's. Where a later class in upstream's class list (a variant, a size) overrides an inline one, the rule skips that class, so the cascade matches upstream's merge order. - The build compiles all of that with Tailwind v4 into
dist/joinery.css(the Nova style, in@layer joinery),dist/styles/<style>.css(the other seven),dist/tokens.css(the default neutral theme, light and.dark),dist/themes/*.css(shadcn's base colours: neutral, stone, zinc, mauve, olive, mist, taupe) anddist/tailwind.css(@theme inlinemapping the tokens to utilities, for Tailwind apps). - Apps without Tailwind import
tokens.cssandjoinery.css. Tailwind apps also importtailwind.cssand can override any part withclass.
Floating parts and layering
primitives/layer: the Popover API (popover="auto" or "manual") for the top layer, with
no portals needed. primitives/anchor: CSS anchor positioning (anchor-name,
position-try-fallbacks) where CSS.supports says so; otherwise @floating-ui/dom with
offset, flip, shift, size and arrow. The same module provides ember-primitives' floating-ui
component, modifier and middleware. primitives/dismiss: the dismiss stack (Escape, pointers
and focus outside, nested layers), and primitives/portal for the cases that need a portal. CI
runs the suite a second time with the fallback forced on.
Harnesses
Formwright's model, generalized: a base Harness class with a live DOM lookup, @child and
find(). Child harnesses are created once, on first use, and cached.
import { DialogHarness, ButtonHarness, child } from '@ember-joinery/test-support'
import { form } from '@ember-joinery/formwright/test-support'
class EditProfile extends DialogHarness {
static named = 'edit-profile'
@child(ButtonHarness, 'save') declare save: ButtonHarness
@form(ProfileForm) declare profile: ProfileForm // a Formwright FormHarness
}
const dialog = new EditProfile()
await dialog.open()
await dialog.profile.name.fillIn('Ada')
await dialog.save.click()
assert.false(dialog.isOpen) // read from aria-expanded and <dialog open>
assert.dom(dialog.trigger).isFocused() // focus returned
await dialog.find(ButtonHarness, 'cancel') // a one-off lookup
Each harness checks it is pointed at the right component, reads state through ARIA (so every
test also checks the ARIA contract), and drives the component the way a user does: clicks,
keys and typing. Overlays follow data-test-jn-owner into the top layer. The library's own test
suite is written on the harnesses, which is how the harnesses get tested.
User interface and prior art
Guide (docs-app/, Kolay)
- Sections: Getting started (Introduction, Installation for Vite, classic and Tailwind apps;
Theming; Styles; the theme builder; Dark mode; Testing) · Accessibility (Overview; Testing) ·
Internationalization (Overview; RTL) · Components (A–Z, like
ui.shadcn.com) · Primitives (headless use and the utilities) · Charts · Blocks · Formwright ·
Reference (
<APIDocs>, a page per package, generated from its types). - A component page: a preview, installation and import, usage, Examples (each upstream
example in Formwright's
<Example>frame with Preview, Template and Test tabs), API (args, yields and data attributes for each part), keyboard interactions, accessibility, Testing (the component's harness members), and Upstream (a link to the shadcn page and the pinned commit). - The example frame, as in Formwright, plus a theme switcher (base colour, radius,
light/dark), an RTL toggle, and width presets (375, 768, 1440).
@dir="rtl"shows one of upstream's right-to-left (*-rtl) examples, as the parity route's?dir=rtldoes. - Theme builder page: edit the tokens, watch every component update live (each component page's first example), and copy the CSS.
- The acceptance test renders every page (its
PAGEScome from the templates directory), and every example hasdocs-app/tests/examples/<name>-test.gts, written with harnesses and ending in an axe audit.
Marketing site and demo
docs/site/index.html is hand-written and styled with Joinery's own tokens.css and
joinery.css (copied from the build by site-css.mjs), its components written out as
Joinery's markup. Sections: a hero (with the dovetail logo), why Joinery, accessibility, install,
usage, theming
(a picker that restyles the whole page in any of the eight styles and seven base colours),
a component grid (screenshots made by site-screenshots.mjs, which also renders the social
card), testing with harnesses, Formwright, the live demo (test-app built into
docs/site/demo/: the dashboard and settings blocks), the guide, and siblings (Formwright,
real-enums, harnessed). The footer credits shadcn/ui and ember-primitives. scripts/site.test.mjs holds
the page to the repository. pages.yml copies the CSS in, builds the demo and guide, then
deploys docs/site.
Requirements
Inventory
shadcn/ui components (67 on ui.shadcn.com/docs/components)
| Phase | Components | Package |
|---|---|---|
| 3 Display | Button, Badge, Alert, Card, Separator, Skeleton, Spinner, Kbd, Label, Aspect Ratio, Avatar, Typography, Empty, Item, Button Group, Table, Breadcrumb, Pagination, Progress | ember |
| 4 Inputs | Input, Textarea, Native Select, Checkbox, Radio Group, Switch, Slider, Toggle, Toggle Group, Input OTP, Input Group, Field | ember |
| 5 Overlays | Dialog, Alert Dialog, Sheet, Drawer, Popover, Tooltip, Hover Card, Toast and Sonner (one Toast with sonner's toast() / <Toaster> API; both guide pages), Collapsible, Accordion |
ember |
| 6 Menus | Dropdown Menu, Context Menu, Menubar, Navigation Menu, Select, Combobox, Command, Tabs | ember |
| 7 Dates | Calendar, Date Picker (single, range, presets) | ember |
| 8 App shell | Sidebar, Resizable, Scroll Area, Direction | ember |
| 9 Add-ons | Carousel · Data Table · Code Block | carousel · data-table · code-block |
| 10 Charts | Chart (area, bar, line, pie, radar, radial, with tooltip, legend and config) | chart |
| 11 Chat | Message, Bubble, Attachment, Marker, Message Scroller, Questionnaire, Trace | ember |
| 12 Forms | Form (shadcn's react-hook-form Form becomes Formwright) |
formwright |
That is 67 docs pages: Toast and Sonner are two pages for one component.
ember-primitives parity (each item goes in @ember-joinery/primitives unless noted)
| ember-primitives | Joinery | Phase |
|---|---|---|
| Accordion, Avatar, Breadcrumb, Dialog/Modal, Drawer, Menu, Popover, Progress, Separator, Slider (range, multiple thumbs), Switch, Tabs, Toggle, ToggleGroup, OTP, Resizable/panel-group | The headless part under the matching shadcn component | with that component |
| CommandPalette | Command plus CommandDialog |
6 |
| Rating (half ratings) | Rating, plus a styled Rating in ember |
4 |
| FileDrop, DocumentFileDrop | FileDrop, plus a styled drop zone in ember | 4 |
Form (dataFrom FormData) |
NativeForm (renamed so it can't clash with Formwright's <Form>; see the open items) |
4 |
| floating-ui component, modifier and middleware | primitives/anchor |
2 |
| Portal, PortalTargets | primitives/portal (top layer first; portals for the cases that need them) |
2 |
| VisuallyHidden, Key/KeyCombo, color-scheme, tabster (focus) | primitives/visually-hidden, /keys, /color-scheme, /focus |
2 |
| Scroller, Zoetrope, Hero, StickyFooter, Link (active-aware), ExternalLink, Heading (heading level), IncrementalEach, Shadowed | Components, with styled versions where shadcn has a counterpart | 8 |
| head, qp, service, store, body-class, link helper, proper-links, iframe, load, InViewport/viewport, on-resize/resize-observer, dom-context, narrowing/type utils | One subpath export each (primitives/head, /qp, …) |
8 |
| test-support (a11y, dom, otp, rating, routing, zoetrope) | Folded into @ember-joinery/test-support |
with each feature |
Opt-in add-ons on Formwright's libraries (Joe's request; see the deviations above)
| Component | What it is | Package (library) |
|---|---|---|
| File Upload | A drop zone, a file list (Items with previews and remove) and an upload queue with Progress, for one file or many | file-upload (ember-file-upload) |
| Rich Text Editor | A document in an Input Group, under a toolbar: a text style Dropdown Menu, Toggle Groups for marks and blocks, undo and redo, Tooltips, Separators | tiptap (Tiptap) |
| Power Calendar (a day, a range, several days) | shadcn's Calendar drawn over ember-power-calendar's PowerCalendar, PowerCalendarRange, PowerCalendarMultiple | power-calendar (ember-power-calendar) |
| Power Date Picker, Power Date Range Picker | A Power Calendar in a Popover, opened from an outlined Button or an Input Group's input | power-calendar (ember-power-calendar) |
| Masked Input | Input with a Maskito mask (component and {{maskito}} modifier), with number, date and time presets from @maskito/kit |
maskito (@maskito/core, @maskito/kit) |
| Phone Input | Input Group with a Select of countries in its addon, masked by @maskito/phone per country; stores E.164 |
maskito (@maskito/phone, libphonenumber-js) |
React-only dependencies replaced
| Upstream dependency | Joinery |
|---|---|
| radix-ui | @ember-joinery/primitives |
class-variance-authority, cn |
Typed @variant/@size args and data attributes; classes compiled at build time |
| lucide-react | lucide (framework-agnostic), imported per icon, plus <Icon> |
| cmdk, vaul, sonner, input-otp, react-resizable-panels, react-day-picker | Written in primitives and ember |
| embla-carousel-react | embla-carousel in @ember-joinery/carousel |
| @tanstack/react-table | @tanstack/table-core in @ember-joinery/data-table |
| recharts | @ember-joinery/chart (Glimmer SVG on d3) |
| react-hook-form (Form) | Formwright, via @ember-joinery/formwright |
| next-themes | primitives/color-scheme |
Size
12 packages; ~67 shadcn components, ~15 components only ember-primitives has, ~20 utilities;
~95 harness classes. The docs pages reference 497 examples, the charts gallery has 70, and we
port 4 of the 27 blocks. Every ported example becomes a guide example with its own harness test
and axe audit, so about 570 example tests, plus the integration suite. --require-complete
expects all 567 docs examples and charts in the parity map (upstream/inventory.json has the
current counts).
Definition of done for every component
- If it has behaviour, the primitive exists in
primitives, with integration tests. - The styled component is in
.gtswith a Glint signature, the attributes listed above, its CSS ported from upstream, and RTL handled. - Its harness is in
test-support(or the add-on's/test-support), and the component's own tests are written with it. - Tests cover rendering, controlled and uncontrolled state, the APG keyboard pattern, focus management, RTL and an axe audit, on Ember 7.3 and 6.12.
- Its guide page has every upstream example for the component, each tested with the harness.
- Each upstream example is mapped in
parity/map/<component>.json, and the screenshot comparison passes in light and dark. - A changeset, and
docs/site/updated wherever the site shows the component. - It passes the pseudo-locale test: rendered with
pseudoTranslator, every built-in string it shows (text,aria-label,title,placeholder) is wrapped, and an argument still beats it.
The gate (CONTRIBUTING.md)
pnpm format:check
pnpm build
pnpm lint
pnpm typecheck
node --test scripts/*.test.mjs
pnpm test # test-app, Ember 7.3
pnpm --filter docs-app test # every guide example and page
pnpm test:examples # vite-basic, classic, tailwind, formwright
pnpm parity # screenshot comparison (CI: parity.yml)
As in Formwright, CI also runs the suite on 6.12 by overriding ember-source for the whole
workspace.
Data model and API changes
Not recorded in the original plan.
Security and permissions
Not recorded in the original plan.
Observability and success metrics
Parity and upstream watch
- Reference app (
parity/, private, its own pnpm workspace): a React 19 + Tailwind 4 Vite app that renders shadcn'sregistry/bases/radix/uiandexamples/radix/, each example in the style its docs page uses (charts fromregistry/new-york-v4/charts), from the commit pinned inupstream.json.upstream.mjs fetchdownloads them into a gitignored.upstream/, and the app generates upstream'sstyles/<style>/uifrom them with the publishedshadcnpackage's transforms, as upstream's registry build does. - Joinery side: docs-app has a
/parity/<id>route that renders one example with no frame. - Comparison (
scripts/parity.mjs, theparity.ymlworkflow): pinned Playwright Chromium, fixed viewport, fonts loaded, animations off. Both sides are screenshotted in light and dark and diffed with pixelmatch, over the content's bounding box rather than the whole page. The check fails over a threshold (1% of the box's pixels by default; an override for an example needs a written reason inparity/map/<component>.json), and a side-by-side report is uploaded. With--require-complete, an upstream example missing from the map also fails, which keeps coverage complete. CI runs with that flag: every component page's example and every chart is mapped (the forms pages' examples are not; see the forms deviation). - Upstream watch (
scripts/upstream.mjs changes, a weeklyupstream.yml): lists upstream changes since the pinned shas in shadcn'sregistry/bases/radix/{ui,blocks},registry/styles(down to the rules that changed),examples/radix,registry/new-york-v4/charts, its docs pages, thedocs/formspages and theirregistry/new-york-v4/examples/form-*,packages/react(the chat set's headless parts), andember-primitives/src, mapped to Joinery components, plus new upstream components, and updates one tracking issue. A sync PR ports the changes and bumpsupstream.json.
Rollout and migration
Not recorded in the original plan.
Work items
Phases (the order of the work; each phase is a group of units in the stacked PR)
Phase 0: Bootstrap
- Create the public repo
joegaudet/ember-joinerywithgh, and Joe claims the npm org@ember-joinery(the npm website is the only way to create one). Publishing waits on the org. - First PR: this plan, README stub,
LICENSE.md(MIT),NOTICE(crediting shadcn/ui and ember-primitives),CONTRIBUTING.md, andCLAUDE.md. CLAUDE.md carries Formwright's rules (keep the site in sync, keep the guide in sync) plus two of Joinery's own: every component ships with its harness and parity mapping, andupstream.jsonmoves only in sync PRs.
Phase 1: Monorepo, tooling, CI
- Formwright's setup, copied and renamed: pnpm workspace,
useNodeVersion24, flat ESLint, Prettier with the template-tag plugin, TypeScript 6, Glint,@embroider/addon-dev+ rollup, and Formwright's Kolay workarounds (ember-repl patch,@glint/templateoverride,keepNames). - Package skeletons for
primitives,emberandtest-support. The CSS build pipeline (Tailwind v4 todist/*.css).test-app, adocs-appshell with the<Example>frame, the site shell, and the four example apps. - The harness base (
Harness,@child,find, owner-following, the selector reference), with tests.extract-classes.mjs,upstream.mjs, the parity reference app andparity.mjs, withnode --testcoverage. - Workflows:
ci(static; tests on 7.3 and 6.12; a second run with the anchor fallback forced; guide; examples),parity,upstream,pages,release,bootstrap-publish.
Phase 2: Primitives foundation
The controllable-state helper; ids; Direction; Portal and PortalTargets; layering (the Popover
API); anchor (CSS anchor positioning plus floating-ui); a dismiss stack (Escape, outside
click, nested layers); focus scope and trap; roving focus; typeahead; presence (exit
animations driven by data-state); the @as + yielded-modifier pattern; VisuallyHidden;
Key/KeyCombo; color-scheme. Each one gets integration tests, and a harness where it is visible.
Phase 3: Theme and display components
tokens.css, the base-colour themes, tailwind.css, and <Icon>. The 19 display components
listed above. The guide's theme switcher, RTL toggle and width presets go in here, because
every later page uses them. Nothing publishes during the build (see "Autonomous execution").
Phase 4: Inputs
The 12 input components, plus Rating, FileDrop and NativeForm. Each standalone control takes
@value and @onValueChange (Formwright comes in Phase 12).
Phase 5: Overlays
Dialog, Alert Dialog, Sheet, Drawer (drag to dismiss, snap points, scaled background, as in vaul), Popover, Tooltip, Hover Card, Toast (stacking, swipe, promise toasts, as in sonner), Collapsible and Accordion.
Phase 6: Menus, selection, navigation
Dropdown Menu, Context Menu, Menubar and Navigation Menu (submenus, checkbox and radio items,
typeahead, pointer grace areas). Select, Combobox, Command plus CommandDialog, and Tabs.
This is the heaviest phase and may split into 6a (menus) and 6b (selection and Tabs).
Phase 7: Dates
Calendar (single, multiple and range; month and year dropdowns; locale-aware week start; RTL)
and Date Picker (popover, range, presets). Built so: Calendar's headless layer,
@ember-joinery/primitives/calendar, replaces React DayPicker with its markup and options, and
reads every name, number and week start from Intl in @locale; @calendar takes any calendar
Intl knows (the Persian example's), worked out from Intl's own reading of each day. The Date
Picker is upstream's composition of Popover and Calendar, with no component of its own;
DatePickerHarness (a PopoverHarness that picks a day) drives it, and its page ports the
eight examples upstream's references (the presets now show on the Calendar page only).
Phase 8: App shell and utilities
Sidebar (collapsible: offcanvas, icon and none; mobile sheet; a keyboard shortcut; persisted state), Resizable, Scroll Area and Direction. ember-primitives' Scroller, Zoetrope, Hero, StickyFooter, Link, ExternalLink, Heading, IncrementalEach and Shadowed. All the app utilities (head, qp, service/store, body-class, proper-links, iframe, load, InViewport, resize).
Phase 9: Carousel, Data Table, Code Block
Each in its own package, with its example app in CI. Carousel's headless part, the {{embla}}
modifier, ships in @ember-joinery/carousel rather than as a primitive, so primitives takes no
Embla dependency. Upstream's Data Table is a guide, not a component, so @ember-joinery/data-table
is what that guide builds with in Ember: createTable() (TanStack Table v9's table-core on
reactivity bindings over autotracking, upstream's useTable), FlexRender, and DataTable, the
element around a table whose yielded modifiers mark its parts for DataTableHarness.
Phase 10: Charts
@ember-joinery/chart: a container with config and --chart-N colours, tooltip and legend,
and area, bar, line, pie, radar and radial charts. All 70 upstream chart examples.
Phase 11: Chat components
Message, Bubble, Attachment, Marker, Message Scroller (anchoring to turns, following a stream, loading history without jumping, jumping to a message), Questionnaire and Trace. These use Code Block from Phase 9.
Phase 12: Formwright bridge
@ember-joinery/formwright: every Joinery input that keeps a value registered as a Formwright
control, a Field layout using shadcn's Field anatomy, and harnesses built on Formwright's
FieldHarness. The 34 upstream form-* files are rebuilt on Formwright, one guide example for
each form (see the deviations above). There is an ember-formwright example app.
Phase 13: Blocks, demo, site, theme builder, reference
Login, signup, dashboard with sidebar, and settings as guide examples and in the demo. The
finished marketing site, the social card, the theme builder page, and <APIDocs> reference
pages.
Phase 14: 1.0
A parity audit: every upstream example is mapped and passing with --require-complete (but
for the forms pages', which stay uncompared at 1.0; see the forms deviation). A last
upstream sync. The full gate, including the 6.12 run. PRs to ember-formwright and real-enums for
the cross-links (opened, not merged). Then the stacked PR is marked ready for review. Joe merges
it and releases 1.0.0.
Autonomous execution
Joe asked for the whole plan to be built by subagents without feedback, as one big stacked PR.
One branch, one PR.
build/joinery-1.0starts from Phase 0 and backs a single draft PR intomain. Each unit lands on it as its own commits, in dependency order, so the PR reads as a stack: review it commit by commit or unit by unit. Nothing merges tomain, nothing publishes, and no tag is pushed until Joe has reviewed it.Units. The phases are split into about 48 units: one or a few related components, or one piece of tooling. The orchestrating workflow's unit list is the authoritative split, and each unit names its dependencies.
Per unit:
- An implement agent works in its own worktree (
/home/user/jn-wt/<unit>, branchunit/<unit>, cut from the integration branch). - An independent review agent checks the result against the definition of done and the upstream examples. Up to two rounds of fixes follow.
- An integrate agent rebases the unit onto the integration branch, runs the gate, fast-forwards and pushes.
Units integrate one at a time; implementation runs in parallel wherever the dependencies allow.
- An implement agent works in its own worktree (
CI stays green. Before integrating, the integrate agent checks GitHub CI on the branch tip and fixes any failure first. CI covers the 6.12 run, the anchor-fallback run and parity, which the local gate skips to save time.
Shared files don't collide. Registries that every component touches are either one file per component or generated:
- the package barrels (
src/index.ts) and the test-support index are generated from the files present, byscripts/gen-barrels.mjson every build (they are gitignored); - the
meta.jsonof the guide's A–Z sections (Components, and likewise Primitives, Charts, Blocks, Formwright and Reference) is generated, in alphabetical order; - each component has its own
parity/map/<component>.json; - the acceptance test's
PAGESis built from the templates directory.
Phase 1 sets all of these up.
- the package barrels (
No silent gaps. A unit that can't meet an item of the definition of done lists it, with the reason, under "Known gaps" in the PR body. A unit that can't be built at all is reported as blocked, and the units that depend on it are skipped and reported. Everything else carries on.
Progress is a checklist in the PR body, ticked as each unit integrates.
What stays with Joe:
- reviewing and merging the PR;
- publishing: the npm-bootstrap environment's
NPM_TOKEN, approving the bootstrap run, setting up trusted publishers, and pushing the tag; - required status checks on
main; - setting the repository's Pages source to "GitHub Actions", so
pages.ymlcan deploy; - merging the sibling PRs on ember-formwright and real-enums.
Next steps
- Every unit is on
build/joinery-1.0oncez-finishintegrates. The step after that marks the PR ready for review; if it is still a draft, that step is left to do. - Joe reviews it, merges it, and releases 1.0.0 (see "What stays with Joe" and "Releasing" in CONTRIBUTING.md), then merges the sibling PRs, joegaudet/ember-formwright#32 and joegaudet/real-enums#17.
- After 1.0: compare the forms pages' examples (see the forms deviation).
Future work and research
Not recorded in the original plan.
Alternatives considered
Decisions (from intake)
| # | Area | Decision |
|---|---|---|
| 1 | Name | Joinery. Repo joegaudet/ember-joinery, npm @ember-joinery/* |
| 2 | Distribution | npm v2 addons, plus npx ember-joinery add to copy a core component's source in (see the deviations) |
| 3 | Packages | Core plus opt-in add-ons, one add-on per heavy dependency |
| 4 | Positioning | Its own brand. "Design and API ported from shadcn/ui (MIT)" in the README, the site footer and NOTICE |
| 5 | Primitives | Our own headless @ember-joinery/primitives, covering all of ember-primitives plus the Radix parts shadcn needs. No ember-primitives dependency |
| 6 | Repo | joegaudet/ember-joinery, public, created with gh from Joe's machine |
| 7 | Plan | This file, committed as JOINERY_PLAN.md in the repo's first PR |
| 8 | Process | One stacked PR on build/joinery-1.0, built unattended by subagents (see the deviations above); Joe reviews and merges it at the end |
| 9 | Ember | 7.3 (latest) and 6.12 (previous LTS), both in CI |
| 10 | Consumers | Vite/Embroider and classic ember-cli apps, each with an example app in CI |
| 11 | Composition | Yielded parts: <Dialog as |d|><d.Trigger>…</d.Trigger><d.Content>… |
| 12 | State | Controlled or uncontrolled, as in Radix: @open/@defaultOpen/@onOpenChange, @value/@defaultValue/@onValueChange |
| 13 | Styling | shadcn's style sheets ported with cn-* renamed jn-*, compiled with Tailwind v4, and shipped as plain CSS on those semantic classes in @layer joinery. Tailwind is optional for apps |
| 14 | Tokens | shadcn's names in OKLCH (--background, --primary, --ring, --radius, --chart-1..5, --sidebar-*…), so any shadcn theme pastes in unchanged |
| 15 | Variants | Typed @variant and @size args, rendered as data-variant and data-size |
| 16 | Dark mode | A .dark class, plus a color-scheme utility (follows the OS, saves the choice, syncs tabs) |
| 17 | Floating parts | The Popover API for layering. CSS anchor positioning where the browser has it, @floating-ui/dom otherwise. Supported: the last 2 versions of evergreen browsers |
| 18 | asChild |
An @as tag, plus a yielded modifier for each part that needs one, e.g. <LinkTo {{d.trigger}}> |
| 19 | Accessibility | WCAG 2.2 AA: an axe audit in every test, plus APG keyboard and focus tests for each component |
| 20 | i18n | RTL: logical properties, a Direction provider, arrow keys flip. Every built-in string is an arg whose default is the app's translator's (translator:main), or English without one |
| 21 | Scope | All ~67 shadcn components, the chat set included, plus every ember-primitives component |
| 22 | Utilities | ember-primitives' non-visual utilities go in @ember-joinery/primitives, one subpath export per feature |
| 23 | Heavy deps | We write Command, Drawer, Toast, Resizable, OTP and Calendar ourselves. Add-ons wrap embla-carousel, @tanstack/table-core, shiki and d3 |
| 24 | Charts | Declarative Glimmer SVG on d3-scale and d3-shape, with an API shaped like recharts |
| 25 | Formwright | @ember-joinery/formwright: Joinery controls as Formwright controls, a Field-anatomy layout, and harnesses |
| 26 | Icons | Lucide (the framework-agnostic lucide package), imported per icon. Apps get <Icon>, and every icon slot can be replaced |
| 27 | Blocks | Login, signup, dashboard with sidebar, and settings, as tested guide examples and in the demo (not exported) |
| 28 | Dates | Date in and out ({ from, to } for ranges), formatted with Intl; no date library |
| 29 | Harness pkg | @ember-joinery/test-support; each add-on exports its own harnesses from a /test-support subpath |
| 30 | Harness lookup | data-test-jn-* attributes find and scope; state is read through ARIA |
| 31 | Harness compose | Formwright-style decorators (@child, @form) plus find() for one-off lookups. Portalled content is followed through its owner id |
| 32 | Runners | @ember/test-helpers (QUnit or Vitest) |
| 33 | Site CSS | Hand-written HTML styled with Joinery's own compiled CSS (no Pico) |
| 34 | Guide | One page per component, laid out like ui.shadcn.com's |
| 35 | Guide extras | Theme switcher, RTL and width toggles, a theme builder page, generated API reference |
| 36 | Brand | The sibling layout and type of Formwright and real-enums, with its own accent and logo (a dovetail mark) |
| 37 | Release | Formwright's machinery: Changesets with all packages versioned together, a version PR from the GitHub App, a release on a pushed tag (OIDC), and bootstrap-publish.yml |
| 38 | Versions | Nothing publishes during the build. After Joe merges, the changesets that have built up become 1.0.0, released through the bootstrap workflow for each new package |
| 39 | Siblings | PRs to ember-formwright and real-enums adding Joinery to their sibling lists, and a pointer in Formwright's guide |
| 40 | Fidelity | CI compares screenshots with shadcn's own examples, in light and dark. An upstream watch lists what changed upstream since the last sync |
Defaults I chose without asking; please check them: the MIT licence plus a NOTICE file; the core
package is named @ember-joinery/ember (like @ember-formwright/ember); the test prefix is jn; Node
≥ 22.12, pnpm 10, TypeScript 6; QUnit with ember-a11y-testing; GitHub Pages at
joegaudet.com/ember-joinery/, with /guide/ and /demo/ under it; the default font is the
system stack, with Geist in the guide and the parity runs (as on ui.shadcn.com).
Risks
Risks and open items
- Upstream's colours and WCAG AA. In shadcn's light themes, two of upstream's parts fall
short of the 4.5:1 AA asks of small text: Kbd's keys (
--muted-foregroundon--muted, 3.9:1 to 4.5:1 across the base colours) and the destructive Badge (--destructiveon its own 10% tint, about 4:1). Joinery keeps upstream's colours, documents the CSS that meets AA on each page, and audits everything around those elements (see "Upstream's colours and AA" in CONTRIBUTING.md). Whether Joinery should darken them instead, at a cost in fidelity, is Joe's call. - Where Table and Progress part from upstream, for WCAG. Upstream's Progress
leaves its value off the Radix root, so it always reads as indeterminate; Joinery's announces
it. Upstream's Table container scrolls a wide table with no way in from the keyboard; Joinery's
joins the tab order while it scrolls and has nothing focusable. The pixels are upstream's.
Like upstream's right-to-left copy, Progress fills from the left in both directions (its
example adds
rtl:rotate-180); filling from the inline start instead is Joe's call. - Where the menus part from Radix, for WCAG. Radix's modal Dropdown Menu and Context Menu
hide the rest of the page with
aria-hidden, which leaves its buttons focusable but hidden (axe'saria-hidden-focus); Joinery's make it inert instead, as a modal dialog does. The pixels are upstream's. Radix's Navigation Menu marks the focus proxy that sends Tab into an open contentaria-hiddenthough it is focusable, the same rule; Joinery's leaves that off (it is empty, and passes focus on at once). - An unattended build at this scale. About 150–200 agent runs over several days. On a 4-CPU machine, two agents run at a time. The workflow journal lets a restarted session resume where it stopped.
- ui.shadcn.com does not resolve from Claude's cloud sessions. Everything here comes from
its GitHub source, and parity runs in GitHub Actions, which needs no access to the site. If you
want sessions to read the live site, add
ui.shadcn.comto the environment's allowed hosts. - Size. About 570 example tests and ~95 harnesses. Upstream's examples serve as the spec, and big components split into several units.
- Pixel noise. Fonts, anti-aliasing, animations, and whitespace differences between React and Glimmer DOM can trip the comparison. One pinned browser and font set, a threshold, and written reasons for each override.
- Upstream moves fast. The chat set arrived in 2026, and shadcn now also ships Base UI and React Aria variants. Joinery tracks the Radix base and its eight styles only.
- Hardest behaviours. Each gets a spike at the start of its phase: Drawer gestures, Navigation Menu motion, the menus' pointer grace areas, Message Scroller anchoring, chart tooltips and animation.
- Naming. shadcn's
Form(react-hook-form), ember-primitives' FormDataFormand Formwright's<Form>collide. Formwright suppliesForm, and the FormData helper isNativeForm(@ember-joinery/primitives/native-form), whosedataFromEventis ported from form-data-utils so Joinery's button controls take part through their hidden inputs. - Toasts outside components. sonner's module-level
toast()needs owner-scoped state for test isolation:toastresolves the app's Toaster through the owner, and test-support provides asetupToaster(hooks)helper. Built so: the toasts are a per-owner service,toast()uses the owner of the newest rendered<Toaster>, andsetupToaster(hooks)points it at each test's owner throughglobalThis.JOINERY_TOAST_OWNER, asJOINERY_ANCHOR_FALLBACKdoes for anchoring. - Classic apps need ember-auto-import ≥ 2 to consume
.gtsv2 addons; the classic example proves it. - Where the data table parts from upstream, for WCAG. Upstream's sortable header says
nothing of its sort but for its button's name; Joinery's
dt.headputs it inaria-sorton the header cell, as the APG's sortable table does. Upstream's actions column has an empty header cell (axe'sempty-table-header), which the guide's examples name with visually hidden text. The pixels are upstream's. - Where Calendar parts from upstream. Its selection is
@value,@defaultValueand@onValueChange(react-day-picker'sselectedandonSelect), controlled while@valueis set or@onValueChangecomes without@defaultValue, asonSelectcontrolsselected. There is notimeZone: each day is aDateat local midnight. Weekday headings are Intl's (two letters in English, as date-fns' short names; the narrow ones where the short ones are whole words), so the Arabic and Persian headings differ from date-fns'. For WCAG, its week numbers leave off thescopeupstream'stds carry, and the custom-days example names each day's price in its button. The pixels are upstream's. - Where the Date Picker's examples part from upstream. Upstream writes dates with date-fns'
format; with no date library, the examples writePPPfrom Intl, its ordinal suffix included (November 10th, 2026), and the Arabic one in date-fns'arSAorder from Intl's parts (نوفمبر 10, 2026). The natural-language example keeps upstream'schrono-node, a dependency of the guide only. Radix's Popover renders no element, so upstream's trigger sits directly in its parent; Joinery's root is an element (display: contents) between them, so the time example's button saysw-full, which its Field's*:w-fullgives upstream's. In the input examples, input-group.css restates each sheet'shas-[>button]addon margin one overlay root down (under thestyle-<name>variants build-css.mjs declares), so the calendar button, and any overlay's button in an addon, sits where upstream's does. - Where Select and Combobox part from upstream, for WCAG. Radix's open Select hides the rest
of the page with
aria-hidden, leaving the trigger focusable but hidden; Joinery's makes it inert, as a modal dialog does. Base UI's Combobox leaves its chevron, clear and chip remove buttons unnamed and gives its separatorrole="separator", which a listbox may not hold; Joinery's name the buttons (an argument with an English default each) and hide the separator from assistive technology. Upstream's examples leave their comboboxes unlabelled. The guide's Select examples name the trigger, witharia-label, or in a Field with its label'sforand the trigger'sid. Most of its Combobox examples keep upstream's markup, whose input its placeholder names; onlycombobox-multiple's chips input (which has no placeholder) andcombobox-popup's trigger (a combobox its text doesn't name) add one. The pixels are upstream's. - A Tooltip on a Toggle. Radix's Tooltip trigger, put on a Toggle with
asChild, passes its owndata-state(closed,delayed-open) down over the toggle'son/off, so while the tooltip is open the toggle loses the pressed look its style rules key on (data-[state=on]:bg-muted). Joinery's parts do the same, the last to set an attribute winning. The Rich Text Editor's toolbar keeps each toggle's owndata-stateon top; a plain<Toggle {{t.trigger}}>in core doesn't, and whether it should is Joe's call. - Where Sidebar parts from upstream, for WCAG. Upstream's trigger toggles the sidebar without
saying whether it is open; Joinery's has
aria-expanded, and its class keeps a ghost trigger from taking the ghost Button'saria-expandedfill, so it looks as upstream's does. Upstream's offcanvas sidebar, slid off the screen, leaves its menu buttons, links and actions in the tab order (WCAG 2.2's Focus Visible and Focus Not Obscured); Joinery's hides them once the slide ends (visibility: hidden, but for the rail), and moves focus that was inside to the trigger as it closes. Upstream's menu button tooltips open while the sidebar is expanded too, hidden, which repeats each label to a screen reader and takes the Escape that should close the mobile sheet; Joinery's stay closed then. The guide'ssidebar-menu-collapsiblemakes each Collapsible the menu's<li>(assidebar-demodoes), where upstream's puts a<div>straight inside the<ul>. The pixels are upstream's. - Where Questionnaire parts from upstream. Its arrows that go back and forward between items
swap right to left (decision 20); upstream's are left and right in both directions. In the
guide's Dialog example, only the active item's question is the dialog's title and description:
upstream renders a dialog title in every item, so two elements share the dialog's title id and
the dialog is always named by the first question. An item's
@nameis both its answers' form name and its harness value, since the item is a part of its questionnaire, not a component.
Open questions
The original plan lists its open items under Risks.
Interview record
Each question of the interview with its answer and its source. A fact from the code or a document, a question that the author did not ask, and an assumption are rows too.
| Question | Answer | Source |
|---|---|---|
| Where does the text of this page come from? | From the Markdown file JOINERY_PLAN.md at commit a289065. The text of each section is the text of the Markdown file. A section that the Markdown file does not have says so. | Document: JOINERY_PLAN.md |
Changelog
| Date | Author | Change |
|---|---|---|
| 2026-11-11 | Joe Gaudet | Commit a73065d: Joinery 1.0: every shadcn/ui component for Ember (stacked) (#2) |
| 2026-11-12 | Joe Gaudet | Commit 17c5b5c: feat: translate every built-in string through translator:main (#5, #6, #7, #8) |
| 2026-11-12 | Joe Gaudet | Commit 4dc5858: docs(site): lead with accessibility, and link harnessed as a sibling (#9) |
| 2026-11-19 | Joe Gaudet | Commit f264775: docs: make accessibility and internationalization top-level guide sections (#12) |
| 2026-11-20 | Joe Gaudet | Commit ca6e3e3: feat(cli): copy components into your app with `npx ember-joinery add` (#13) |
| 2026-11-23 | Joe Gaudet | Commit 2b887bf: refactor: run the stateful primitives on Switchyard statecharts (#19) |
| 2026-12-02 | Joe Gaudet | Commit 9728270: feat: application shells, materials and 12 shell components (#28) |
| 2026-12-04 | Joe Gaudet (agent) | Converted from JOINERY_PLAN.md to this page. The text is the text of the Markdown file. |
| 2026-12-04 | Joe Gaudet (agent) | Status Shipped: @ember-joinery/ember 1.1.0 is on npm. The Markdown file says "Status: built (2026-11-11)". |
The prd skill of skillsaw wrote this page. The HTML in this file is the source of truth. The diagrams are the Mermaid sources in it.