Releases: wix/react-native-ui-lib
6.7.0
π Features
β’ New Toast component (under Incubator) with better UI and lots of new features (#1696)
β’ Slider - add thumbHitSlop
prop (#1729)
β’ Incubator.Dialog - add support for header (and its parts) and a default style (#1727)
β’ Incubator.TextField - support rendering a bottomAccessory
(custom element) (#1737)
π§ Fixes
β’ ProgressBar - fix RTL (#1724)
β’ TextField - fix press area by keeping the input width flexed (#1734)
β’ Hint - fix max width (#1747)
β’ GridView - applied ceiling op to rowCount
calculation (#1748)
β’ Avatar - add container testID
(#1733)
β’ TextField - Add testID
to label (#1736)
π‘ Deprecations & Migrations
β’ Start a deprecation for moving from ChipsInput
to new Incubator.ChipsInput
(#1722)
β’ Start deprecation of old WheelPicker
in favor of Incubator.WheelPicker
(#1723)
β’ Start TextField
migration into new implementation in Incubator.TextField
(#1730)
β’ ScrollBarGradient - component removed. (#1732)
βοΈ Maintenance & Infra
β’ Add links to various RNUILib starter kits in our docs (#1721)
β’ Add missing docs of Incubator.WheelPicker component and expose missing WheelPicker typings (WheelPickerItemProps, WheelPickerAlign) (#1726)
β’ Rearrange our issues template (#1742)
β’ Add designTokens infrastructure (#1752)
β’ Fix broken links in main readme file (#1739, #1740)
6.6.0
π Features
β’ Image - support SVG from uri (#1712)
β’ Convert DateTimePicker component to TS and provide typings (#1694)
π§ Fixes
β’ Fix new ChipsInput broken layout (#1705)
β’ Fix chips input flicker issue after adding new chip (#1706)
β’ Fix issue with TextField's trailingAccessory being pushed when typing a long text (#1699)
β’ KeyboardInput - fix NPE in CustomKeyboardLayout (#1709)
β’ Fix issue with RN TextInput's clear method doesn't trigger onChangeText (#1711)
β’ Fix missing pickerModalProps
props spread passed to Picker
(#1715)
β’ Incubator.Dialog - fix closing imperatively (button click), add alignment support (bottom, center etc.), support useSafeArea
(#1704)
β’ Fix ConnectionStatusBar - Fix error by calling generateStyles method on component's constructor. (#1716)
βοΈ Maintenance & Infra
β’ Move Constants file to commons folder (#1718)
β’ Add basic render tests to Incubator.TextField component (#1684)
β’ Carousel - render tests - first tests. (#1689)
β’ WheelPicker - initialValue prop updates - adding render test (#1701)
β’ RadioGroup - add render tests (#1687)
β’ Checkbox - render tests (#1685)
β’ Update demo app kotlin version to 1.6.0 (#1708)
β’ Add timeout to the build (#1719)
6.5.1
6.5.0
π Features
β’ WheelPicker (incubator) - allow 'items' change; block 'onChange' call when 'initialValue' change. (#1693)
β’ Support dynamicFieldStyle
prop for Incubator.TextField (pass callback to dynamicFieldStyle
instead of fieldStyle
that now supports only static styles) (#1682)
β’ Use react-freeze to optimize functionality of TabController.TabPage so pages that are not focused will not trigger renders (#1639)
β’ GridView now supports maxItemWidth
prop for a responsive item size (this is instead of passing numColumns
prop) (#1640)
β’ New ChipsInput (Incubator) component based on our new TextField implementation (#1681)
π§ Fixes
β’ Limit number of lines for WheelPicker items labels (#1678)
β’ Drawer - fix leftToggle for RTL (#1673)
β’ Fixed issue with editable
prop not working on Picker component (#1697)
β’ Fix issue with TextField floating placeholder offset when it also has a leading accessory (#1700)
β’ Fix exports of ColorPalette and ColorSwatch components (#1695)
β’ ColorPicker - Moving sub-component (ColorPalette and ColorSwatch) to 'components' directory to be used as dedicated packages. (#1692)
βοΈ Maintenance & Infra
β’ Add useCombineRefs - new hook for combining refs (#1683)
β’ Fix issue with displaying docs types special chars (#1690)
β’ WheelPicker (incubator) - add render tests (#1688)
6.4.0
π Features
β’ SkeletonView - support content visible on start (#1664)
β’ Modal.TopBar - allow sending useSafeArea (for expo or possibly react-navigation) (#1653)
β’ Replace error image to new transparent assets. (#1641)
β’ Text - add underline prop (#1670)
β’ Button - add hyperlink prop (#1671)
β’ Incubator.Dialog - New Dialog implemented with Reanimated (#1576)
π§ Fixes
β’ Fix Picker's multi mode value (#1649)
β’ Fix rotation bug in fullWidth's segmentedControl (#1637)
β’ Fix Image from being stretched (#1623)
β’ Fix event emitter warning coming from useOrientation hook (#1661)
β’ Fix issue with TextField hint is missing when using floatingPlaceholder (still requires to pass floatOnFocus
) (#1659)
β’ TextField - fix placeholder memoization (#1674)
π‘ Deprecations & Migrations
β’ Deprecate string badge size (#1638)
β’ Incubator.WheelPicker - omitting 'color' from labelStyle prop (#1668)
βοΈ Maintenance & Infra
β’ Add api files for our new docs (#1642, #1643, #1644, #1645, #1646, #1647, #1648, #1650, #1651, #1652)
β’ Text - highlight - refactor and handle some edge cases (#1669)
β’ Refactor Picker component internally using Incubator.ExpandableOverlay for handling the Picker modal (#1632)
6.3.0
π Features
β’ useOrientation hook - handles orientation change event and retrieve components the current orientation (#1625)
β’ TextField - Support custom preset and pass it on to fieldStyle
callback for custom preset styles (#1633)
β’ Skeleton - add new features + refactor (#1622)
π§ Fixes
β’ Picker - fix migrated picker with renderPicker
prop (#1628)
β’ TabController.PageCarousel - fix RTL issue on Android (#1612)
β’ ProgressBar - fix customElement
style (#1626)
β’ Drawer - block frame update for missing items (#1619)
β’ Hint - fix issue with target not pressable while Hint is visible + added backdropColor
prop to color overlay background (#1630)
β’ Dialog and Panning - allow union type for direction (typescript) (#1635)
β’ DateTimePicker - fix Android double press bug after dismissing dialog (#1636)
π‘ Deprecations & Migrations
β’ ChipsInput - tags
prop will be deprecated, please use chipsProps
instead (#1490)
βοΈ Maintenance & Infra
β’ Use useOrientation hook in TabController (#1627)
β’ Incubator.TouchableOpacity - update implementation to use Reanimated v2 (#1616)
β’ Add Scheme
to be accessible from the style package (#1624)
β’ Added relative link to style.md and modifier.md according to docusaurus in usage.md (#1597)
β’ WIP - new docs site (#1595)
6.2.0
π Features
β’ New Icon Component - a dedicate component for icons (#1599)
β’ Migrate SegmentedControl to use Reanimated v2 and add a throttleTime
prop to control delay of onChangeIndex callback (#1567)
π§ Fixes
β’ Fix usage warnings of Dimensions.removeEventListener for RN65 (#1605)
β’ ColorPicker - fix issue with slider incorrect thumb position (#1608)
β’ Carousel - fix counter flickering between numbers. (#1591)
β’ Fix validation bug in Incubator.TextField when passing validationMessage without validate method (#1590) (#1613)
β’ Fix issue with Expo-Snack doesn't recognize uilib native modules (keyboard) (#1587)
β’ Fix our Expo demo app (#1594)
β’ TextField - fix unnecessary placeholder change (#1589)
β’ Remove the orientation key from Dialog that caused it to be dismissed on orientation change (#1607)
β’ Keyboard - Do not force SOFT_INPUT_ADJUST_RESIZE on Android apps. Fixes #1360 (#1462)
β’ Fix issue with updating manually Stepper value to 0 (#1609)
βοΈ Maintenance & Infra
β’ Upgrade demo app to react-native 0.65 (#1604)
β’ Update demo app to use reanimated to 2.2.2 (#1593)
β’ Fix typo react-native-gesutre-handler -> react-native-gesture-handler in our docs (#1601)
6.1.0
π Features
β’ Fix support for setting color scheme manually (and not depend only on device settings) (#1561)
β’ Add support to configure theme to Incubator.WheelPicker using ThemeManager (#1559)
β’ Added pickerModalProps
to Picker for controlling the Picker modal #1371 (#1570)
β’ Added the option to pass a custom icon
in searchStyle
in the Picker component #1371 (#1570)
β’ Support passing a custom value formatter
to Incubator.TextField
(#1528)
β’ Image - added OverlayIntensity
to control overlay gradient intensity level (#1584)
β’ Add TransitionView
(experimental under Incubator) - A view that adds enter\exit animation. (#1479)
π§ Fixes
β’ Fix WheelPicker issue with RTL on iOS (#1581)
β’ Fix uncontrolled mode of Incubator.WheelPicker (#1583)
β’ Fix SafeAreaSpacerView error on Android (this native component is relevant only to iOS) (#1563)
β’ Fix exception when passing a single item to TabController (#1578)
β’ Fix broken links in docs modifiers page (#1572)
β’ Use remove
instead of removeListener
API to fix error messages for RN65 users (#1585)
βοΈ Maintenance & Infra
β’ Export our demo configurations as a function - in order to fix Expo demo issues (#1575)
β’ Infra, added first component-tests to Hint
component. (#1470)
β’ Improve docs site content copy (#1571)
β’ WIP - Migrate our docs site from Gatsby to Docusaurus (#1525)
6.0.0
π What's New
We release a new major version - please follow migration guide to v6
π Features
β’ Support passing multiple abs
modifiers (e.g absR and absB together) (#1509)
β’ TabController - add support for orientation change. (#1515)
β’ Incubator.TextField - Support passing children prop as a custom input (instead of RN TextInput) (#1518)
β’ Update Text highlight method and support highlightString array (#1514)
β’ Pass on Slider props in GradientSlider (#1520)
β’ Carousel - Added info param to onChangePage
callback with isAutoScrolled
info that classify if the page was auto or manually scrolled (#1474)
β’ Use subscription objects to remove various RN subscriptions in order to support RN65 (#1527)
π§ Fixes
β’ Avoid rendering SkeletonView component when its dependencies are missing and add proper warnings to the user (#1495)
β’ Incubator.TextField - Revalidate field when value programmatically changed (and validateOnChange is true) (#1503)
β’ Incubator.TextField - set initial width to be as the placeholder width (#1523)
β’ Fix issue with KeyboardTrackingView not passing forward ref (#1552)
β’ Fix Expo issues with files with platform suffixes (#1521)
β’ Remove peer deps that belong to optional dependecies (#1502)
β’ WizardStep - hide private props by using defaultProps Fixes #1496 (#1507)
β’ Fixed issue that caused ListItem.Part to be missing when using Typescript (#1529)
βοΈ Maintenance & Infra
β’ Fix useDidUpdate dependencies type (#1506)
β’ Add statics to forwardRef HOC (#1475)
β’ The regex used in Validators.js is vulnerable to ReDoS attacks (#1517)