github akveo/react-native-ui-kitten @ui-kitten/components@6.0.2

Patch Changes

  • #1882 f9d07a9 Thanks @bataevvlad! - Calendar, RangeCalendar, Datepicker and RangeDatepicker header arrows no longer page past an
    explicit min or max. Navigating in the month, year-picker and month-picker views clamps to the
    bounds, so a picker with min={2020} cannot be paged back to year -16 (#1759).

  • #1880 6038239 Thanks @bataevvlad! - Icon no longer forwards DOM-only handlers (onClick and the mouse events) to the icon element on
    iOS and Android. TouchableWithoutFeedback and the other touchables clone React Native's full
    Pressability handler set onto their child, so an Icon rendered as a touchable's child received
    onClick; on the legacy architecture react-native-svg crashed with
    -[RNSVGSvgView setOnClick]: unrecognized selector (#1801, #1733). Responder handlers still pass
    through, and on web every handler is kept because they are real DOM props there.

  • #1882 24d8793 Thanks @bataevvlad! - RangeCalendar and RangeDatepicker never produce a range that spans a filtered day. Picking an end
    date on the far side of a day that filter disables restarts the range from that end date instead of
    silently including the disabled day (#1654).

  • #1880 f4c271f Thanks @bataevvlad! - Render props given as elements keep their own style. accessoryLeft, accessoryRight, label,
    caption, title and every other RenderProp accepted a React element, but the style the parent
    component passed in (a Button's text style, an Input's icon size) replaced the element's own,
    so <Button accessoryLeft={<Icon style={{ width: 32 }} />} /> rendered at the default icon size.
    The element's style is now merged on top of the parent's defaults (#1497, #1792).

  • #1882 018d6b2 Thanks @bataevvlad! - Select's size now reaches its options. SelectOption gains a size variant group in the Eva
    and Material mappings (small, medium, large: text size, row padding and icon size), SelectItem
    accepts size, and Select forwards its own size to every item, so <Select size='large'> no longer
    renders 15px rows regardless of size (#1417, #1764).

Don't miss a new react-native-ui-kitten release

NewReleases is sending notifications on new releases.