Skip to content

reflex-components-radix@0.12.0a1

Pre-release
Pre-release

Choose a tag to compare

Features

  • rx.form.control now accepts rx.text_area, rx.el.input, rx.el.textarea and rx.el.select as its child, besides rx.input and rx.debounce_input, and renders a child as the control without as_child=True. (#7859)
  • Add an alt prop to rx.avatar for the image's alternative text. Previously alt= was turned into a CSS property and never reached the image. (#7931)

Bug Fixes

  • rx.input(type="hidden") and rx.input(hidden=...) no longer leave an empty bar on the page: the input's Radix wrapper is now hidden while the input is hidden, also when hidden or type comes from state or a script changes it. A display you set on the input still wins. (#6876)
  • Ship a py.typed marker so type checkers such as mypy read the package's bundled .pyi stubs instead of treating it as untyped. (#7710)
  • rx.form.field and rx.form.control tell form compilation that a form control takes the field's name, so a control named only by its field no longer triggers the id-based submission deprecation warning or a TypedDict form field mismatch. (#7724)
  • The primitive dialog (reflex_components_radix.primitives.dialog) no longer rejects other children of DialogRoot, a DialogTrigger or DialogPortal nested in other elements, or a DialogContent and DialogOverlay outside a DialogPortal: like Radix, it only needs them inside the root, and a content and overlay without a portal render in place. (#8047)

Documentation

  • Fix the side prop description of rx.tooltip, rx.dropdown_menu.content and rx.context_menu.content, which ran two sentences together and, on the menus, described the tooltip and gave the tooltip's default. The dropdown menu now states its "bottom" default. (#7930)