Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a3e345f
refactor(antares): field primitives + ListBox, rebuild Select, align …
egaitan-godaddy Jun 19, 2026
9fa71b3
chore: adding sizes
egaitan-godaddy Jun 19, 2026
92c6971
chore: addressing copilot/claude feedback
egaitan-godaddy Jun 19, 2026
697a820
Merge branch 'main' into refactor/field-frame
egaitan-godaddy Jun 19, 2026
ef9f71c
test: update visual regression screenshots
github-actions[bot] Jun 19, 2026
9cc5c08
chore: addressing copilot/claude feedback
egaitan-godaddy Jun 19, 2026
b0228e7
refactor(antares): tidy TextFieldProps, drop props already covered by…
egaitan-godaddy Jun 19, 2026
d174a8c
refactor(antares): move field primitives out of _internal to componen…
egaitan-godaddy Jun 19, 2026
94ebae5
refactor(antares): add typed edge prop as the FieldGroup positioning API
egaitan-godaddy Jun 19, 2026
ca04aaa
feat(antares): accept ReactNode for TextField leadingText/trailingText
egaitan-godaddy Jun 19, 2026
2b79637
feat(antares): add FieldSelect for composite fields, sharing a trigge…
egaitan-godaddy Jun 19, 2026
dcb4123
feat(antares): export field composition primitives and FieldSelect
egaitan-godaddy Jun 19, 2026
0fd9275
docs: document field edge prop and currency composite example
egaitan-godaddy Jun 19, 2026
86fdca3
fix(antares): coerce TextField adornments to boolean (ReactNode inclu…
egaitan-godaddy Jun 19, 2026
a6a06bd
docs: update field-frame changeset for public primitives, edge prop, …
egaitan-godaddy Jun 19, 2026
a781367
chore: addressing copilot/claude feedback
egaitan-godaddy Jun 19, 2026
7b9d094
refactor(antares): replace field edge prop with DOM-order corner roun…
egaitan-godaddy Jun 20, 2026
7fdb450
test: update visual regression screenshots
github-actions[bot] Jun 20, 2026
3267f92
refactor(antares): make FieldSelectFragment internal, drop from publi…
egaitan-godaddy Jun 20, 2026
12ea4bf
chore: addressing feedback
egaitan-godaddy Jun 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .changeset/field-frame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
'@godaddy/antares': minor
---

refactor(antares): field primitives + ListBox, rebuild Select, align Radio/Checkbox

Splits the internal field box into composable primitives — `Field`, `FieldLabel`,
`FieldGroup`, `FieldDescription`, `FieldError`, `Input`, `TextArea`, `FieldButton` —
and rebuilds `TextField`, `NumberField`, and `Select` on top. `FieldGroup` styles its
children through `data-field-group-{start,middle,end}` markers in CSS instead of
per-element RAC context injection.

Adds an optional `size?: 'sm' | 'md'` prop on `TextField`, `NumberField`, and
`Select`. In `sm`, the input/textarea/select font-size shrinks to `calc(1em / 1.125)`,
the input/textarea block-padding switches to `sm` (inline-padding stays at `md` so
the gutter against the border is unchanged), and `FieldButton` shrinks both axes —
keeping NumberField steppers naturally square.

Adds a standalone `ListBox` / `ListBoxItem` primitive. Migrates `Radio` and `Checkbox`
off the deprecated RAC `Radio` / `Checkbox` to `RadioField` + `RadioButton` /
`CheckboxField` + `CheckboxButton`. `RadioGroup` and `CheckboxGroup` now share the
field primitives for consistent label/description/error rendering.

Drops `Button`'s base `:not(.inline)` selector specificity by wrapping it in `:where()` to align with the rest of selectors.

Breaking:

- `Select`: drops `labelStyle`, `SelectSection`, `SelectHeader`, `items`, and
render-function children; controlled API is `value` / `onChange`. (`size` is
reintroduced under the new field-primitives cascade)
Comment thread
egaitan-godaddy marked this conversation as resolved.
Outdated
- `CheckboxGroup`: `direction` → `orientation: 'horizontal' | 'vertical'`.
- `TextField` / `NumberField` / `Select`: `description` and `errorMessage` are
`ReactNode`.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading