Repository navigation
v0.5.83
Upgrading
- Run
kit:update plan|applyforcore(re-pinnedsha256:230cf6d7…4141→sha256:446ce6c9…da56):Kit/Form/InputCheckbox.vue,Kit/Form/Select.vue,Kit/Form/FileInput.vue,Kit/Form/RadioCardGroup.vue,Kit/Form/InputRichText.vue,Kit/Form/InputSelect.vue,Kit/Form/InputNumber.vueandKit/contract.tstake the attribute fix below. InputCheckbox's row is now wrapped in a grid (for itsdescription), so a host that styled its row by structure should check it.
Fixed
- Kit form controls put your attributes on the control itself, not a wrapper.
aria-describedby,aria-invalid,required,aria-labelanddata-*passed to InputCheckbox landed on its wrapper<div>; on Select they went nowhere (Reka's SelectRoot renders no element); FileInput dropped them; RadioCardGroup and InputNumber replaced or ignored youraria-describedby; InputRichText put them on its frame; and InputSelect dropped a passedrequired. Each now forwards them to its focusable control (the checkbox button, the select trigger, the file input, the radiogroup, the editable textbox, the combobox input), joins youraria-describedbywith its own ids, de-duplicated, and setsaria-requiredwhere a nativerequireddoesn't apply.classand a style's custom properties stay on the wrapper. InputCheckbox, FileInput, RadioCardGroup and InputRichText takeinvalid(aria-invalid), and InputCheckbox takesdescription, shown under the label as<id>-descriptionand joined to itsaria-describedby.
What's Changed
- Forward caller attributes to the focusable control in kit form controls (0.5.x) by @jaspertey in #414
Full Changelog: v0.5.82...v0.5.83