Mixins / foldkit-mixins-ui

Supported components

This is reference material; you do not need to memorize it to understand the adapter.

ComponentSlots
Buttonbutton
Inputinput, label, description
Textareatextarea, label, description
Selectselect, label, description
Checkboxcheckbox, label, description, hiddenInput
Switchbutton, label, description, hiddenInput
Fieldsetfieldset, legend, description
Disclosurebutton, panel
Dialogdialog, backdrop, panel, title, description, initialFocus, closeButton. An alert dialog is this one: draw it with role="alertdialog" and no close button, and drop the Messages Dialog.isDismissal names (Escape, the backdrop) in update, so only its own buttons, closing with @foldkit/ui's close, answer it
Popoverbutton, panel, backdrop, arrow
Tooltiptrigger, panel
HoverIntenttrigger, panel (open and close delays with intent, for a hover card or a menu)
Sliderroot, track, filledTrack, thumb, label, hiddenInput
Tabstablist, tab, panel, and this package's indicator and highlight (drawn first in the tablist, for Tabs.fluid)
RadioGroupgroup, option, label, description, hiddenInput
Anchora Mount and a Behavior over @foldkit/ui/anchor: Anchor.behavior(Slots)({ floating, config }) positions a floating slot against a button by id
Calendarroot, header (the heading's row, this package's own), grid, headerRow, previousMonthButton, nextMonthButton, headingButton, previousPageButton, nextPageButton, columnHeader, weekRow, dayCell, dayButton, monthCell, monthButton, yearCell, yearButton
Menuwrapper, button, backdrop, items, scroll, item, group, heading, separator, and this package's rows, highlight (over the MenuView fork; see below)
FileDroproot, input
Toastcontainer, entry (over the ToastView fork; the dismiss control stays inside the consumer's entryToView)
Listboxwrapper, button, backdrop, items, scroll, item, group, heading, separator, and this package's rows, highlight, indicator (over the ListboxView fork; single and multi share one transcription)
Comboboxwrapper, inputWrapper, input, toggleButton, backdrop, items, scroll, item, group, heading, separator, and this package's rows, highlight, indicator (over the ComboboxView fork; single and multi share one transcription)
DatePickertrigger, panel, backdrop (over the DatePickerView fork, which keeps upstream's Popover+Calendar composition and seams only the popover assembly)