Component changelog
Slot changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention Slot.
Release
v1.2.0
Minor Changes
-
befc825: OTPField takes
mask,normalizeValue,onValueInvalid,inputMode,autoCompleteandform, and gainsOTPField.Separator. ArequiredOTPField now blocks form submission until every slot is filled. -
07e6783: Add OTPField for one-time codes: a group of single-character inputs that fill left to right. Typing moves forward, Backspace moves back, arrows, Home and End move between slots, and pasting or SMS autofill (
autocomplete="one-time-code") spreads a full code across them.validationTypelimits characters (numeric by default),type="password"masks them,onValueCompletefires once every slot is filled,autoSubmitsubmits the form, andnamesubmits the code through a hidden input. -
07e6783: Add
@radui/ui/Slotfor building your own components on Rad UI:Slotmerges its props and ref onto its child (the same behavior asasChild),mergePropsmerges props objects (classes joined, styles merged, handlers chained) andcomposeRefscombines refs.
Release
v1.0.0
Patch Changes
-
5ff13c7: Expose stable
data-slotanatomy markers on CheckboxGroup parts. -
4095f30: Expose stable
data-slotanatomy markers on HoverCard root, trigger, content, and arrow parts. -
903a35d: Expose stable RadioGroup anatomy markers through
data-slotattributes on root, label, item, and indicator parts. -
ffab89f: Expose stable Select anatomy markers through
data-slotattributes on root, trigger, content, group, item, item text, and item indicator parts. -
5f1af85: Expose stable Tabs anatomy markers through
data-slotattributes on root, list, trigger, and content parts. -
8ca42a5: Expose TextField anatomy through stable
data-slotattributes.
Release
v0.5.0
Patch Changes
- a25ee5aAdd a work-in-progress
TextFieldcompound API with slot and reset fragments, updated styling, Storybook stories, and behavioral test coverage.