Skip to content

v0.103.2

Latest

Choose a tag to compare

@Khalidabdi1 Khalidabdi1 released this 29 Sep 18:48
· 6 commits to main since this release

A patch release: RadioGroup and Checkbox labels can now be styled.

Fixed

  • RadioGroup — an item's label could not be recoloured. className on RadioGroup.Item styles the pressable row, and React Native does not pass a text colour down from a view, so text-black there never reached the label: it kept text-foreground, which is white on a dark theme. Items now take labelClassName and descriptionClassName, merged over the defaults. (#227, reported by @yashDahiwale)

    <RadioGroup.Item
      value="card"
      label="Card"
      className="bg-white"
      labelClassName="text-black"
    />
  • Checkbox — the same gap, closed the same way: labelClassName and descriptionClassName.

Docs

  • RadioGroup, Checkbox — a "Styling the label" example, and the props table now says what className reaches.

Upgrading

npm install panelui-native@0.103.2

Nothing changes for existing code. The new props are optional.

This version was published by hand while CI is unavailable, so it carries no npm provenance attestation.

Full changelog: v0.103.1...v0.103.2