Releases: wix/react-native-ui-lib
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)
5.30.1
5.30.0
π Features
β’ New component GridView! (#1451)
β’ Support passing a static validation message to Incubator.TextField component regardless to validate prop (#1486)
β’ Add useGestureHandler
to Modal to wrap its content with GestureHandlerRootView
component (#1483)
β’ Add typings to Keyboard components (#1488)
β’ Add new inspiration screens: Product Page & Twitter Feed (#1466)
π§ Fixes
β’ Hint - fix target frame update when toggling visibility in case of target frame change (due to scroll, for example). (#1478)
β’ ListItem
and ListItemPart
migrated to typescript. (#1460)
βοΈ Maintenance & Infra
β’ Enable flipper on iOS demo app (#1468)
5.29.0
π Features
β’ Add RTL support to segmentedControl (#1439)
β’ Add initialValue
prop to Incubator.WheelPicker (#1436)
β’ Added an initialIndex
prop to TabController
(#1438)
β’ Expose an imperative validate
method on Incubator.TextField (#1459)
β’ (Experimental) New component PanView (under Incubator) (#1404)
β’ Add Colors.setScheme
to change the color scheme manually (#1430)
β’ Migrated Slider components to typescript (#1408)
β’ Migrate LoaderScreen
to typescript. (#1458)
β’ Migrate StateScreen
component to typescript. (#1455)
π§ Fixes
β’ Fix issue with GradientSlider thumb moving incorrectly (#1456)
β’ Fix RTL bug in drawer (#1446)
β’ Fix TextField text alignment in RTL (#1445)
β’ Fix critical issue with Hint blocking touch events (#1443)
β’ Fix Hint exception when using targetFrame prop (#1457)
β’ Fix WheelPicker alignment and touch area (#1464)
β’ Fix manual typings of ListItem component to extend TouchableOpacityProps (#1448)
β’ Export missing components' typings (#1452)
β’ Update Button disabled color to grey50 (#1465)
β’ Safe invoke scroll methods in TabController (#1467)
β’ Fix interpolate warning - Use interpolateColors instead of interpolateColor (#1437)
βοΈ Maintenance & Infra
β’ Support having multiple eslint rules passed as array in no-direct-import
rule. (#1419)
β’ Update @types/react-native
from 0.63.4 to 0.64.1 (#1440)
β’ Adding a guide for contributors (#1433)
5.28.3
5.28.0
π€© What's New?
A new component - the SkeletonView
(#1378)
π Features
β’ Hint - adding 'enableShadow' (for white hints only) and 'removePaddings' props. (#1399)
β’ Added missing hide animation for Hint
bubble (#1363)
β’ TabBarItem now supports passing leadingAccessory and trailingAccessory Props (#1383)
β’ TabController's TabBarItem now supports passing leadingAccessory and trailingAccessory Props (#1385)
β’ Support passing customElement to Drawer items. (#1402)
β’ Add testID to floatingButton component (#1395)
β’ Support passing custom accessibilityLabel to Badge (#1434)
β’ Improve SegmentedControl performance (#1375)
β’ Add themeVariant
prop to DateTimePicker
. (#1357)
π§ Fixes
β’ Fix issue with Picker with custom renderPicker in multi-select mode not reacting to value change (#1425)
β’ Fix issue with Picker component ref not being forwarded (#1407)
β’ Show the beginning of a long text in Picker on Android (#1405)
β’ Fix issue with Incubator.TextField floating placeholder not reacting when value changed programmatically (#1426)
β’ Fix Hint
tip pointing issue when passing custom targetFrame
where the width
and hight
is 0. (#1396)
β’ DateTimePicker to use renderInput
instead of renderExpandableInput
to pass a custom input component. (#1386)
β’ Fix export AvatarHelper (which fix its typings) (#1376)
β’ Fix issue in Incubator.WheelPicker not responding to onChange prop change (#1391)
β’ Fix segmentedControl vertical paddings to increase segments touch area (#1401)
β’ Incubator.WheelPicker - fix warning about getNode (#1403)
β’ Fixed RadioGroup and RadioButton individual packages (#1388)
β’ Fixed ColorPicker components typings (#1389)
βοΈ Maintenance & Infra
β’ Use optional chaining instead of lodash _.invoke (#1411)
β’ Reimplement Incubator.TouchableOpacity with Reanimated v2 as Incubator.TouchableOpacity2 (#1380)
β’ Migrate Incubator.WheelPicker to reanimated 2 (#1379)
β’ Migrate ConnectionStatusBar
component to typescript. (#1384)
β’ Migrate Wizard
to typescript (#1390)
β’ Fix broken link in our docs (#1372) (#1427)
5.27.0
π Features
β’ TabController.TabBar now supports indicatorInsets
prop. (#1356)
β’ Slider - Added missing onSeekStart
event call, when tapping on track to seek. (#1365)
β’ SegmentedControl - Add testID and fix animation (#1369)
β’ Update SegmentedControl style and make it full width by default (#1327)
β’ Stepper - Adding 'step' prop to control the increase and decrease level (default = 1). (#1330)
β’ Hint component now support onPress
callback. (#1312)
β’ Add testID
support to Hint
component container. (#1364)
π§ Fixes
β’ Export PageControlPosition typing (#1367)
βοΈ Maintenance & Infra
β’ Unify internal code of native picker (wheel picker) (#1368)
β’ Reimplement TabController
component with reanimated v2 API (currently exported as TabController2) (#1325)
β’ react-native: 0.64.1
migration (#1359)
β’ Updated nvmrc node version from 8.1.3 to 14.16.0. (#1354)
β’ Readme.md code example syntax highlight. (#1366)
5.26.0
π Features
β’ Add spreadItems
prop to TabController.TabBar to control how the items spread (default is true) (#1331)
β’ TabController.TabBar - add scrollViewStyle prop (#1351)
β’ Added disableIconTintColor
prop to TabController items (#1314)
β’ Hint component now supports passing customContent prop. (#1302)
β’ Add labelStyle
prop to Picker.Item (#1332)
β’ Picker - support onShow
prop for when the modal opens (#1340)
β’ Update Overlay component's gradient for TOP and BOTTOM Image overlays (#1311)
β’ Migrate StackAggregator
component into typescript. (#1339)
β’ Migrating ActionSheet
and ActionSheet's demo screen to typescript. (#1336)
β’ Migrate FeatureHighlight
component into typescript. (#1338)
π§ Fixes
β’ RadioGroup - fix initialValue prop (#1335)
β’ Picker - Fix issue with undefined item label (#1328)
β’ Slider - Fix thumb position (#1334)
β’ StateScreen - Fix source deprecation (#1329)
β’ Toast - fix typings
βοΈ Maintenance & Infra
β’ Infra: FeatureHighlight migrated to newer React api, replaced UNSAFE
method with getDerivedStateFromProps
(#1290)
β’ Fix missing docs components showcase on mobile and use carousel to present the showcase (#1316)
β’ Fix undefined length error in prop-value-shape rule (#1348)
β’ Add support to our component-prop-deprecation
rule to verify required props (#1320)
β’ Upgrade to typescript v4, eslint v7 (#1324)
5.25.0
π Features
β’ Chip component now supports passing leftElement and rightElement (#1298)
β’ Add testID to wheel picker list (${testID}.list
) (#1315)
β’ Add support to Slider component to react to orientation changes (#1273)
β’ Add haptic feedback to the Drawer component (#1266)
π§ Fixes
β’ Update color presets according to scheme when scheme changes - Fixes #1282 (#1309)
β’ Incubator.WheelPicker - Fix inconsistent between iOS and Android by calling the onChange()
function manually (#1301)
β’ Hint - allow user to send zero to containerWidth prop (#1289)
β’ Fix - testID now passed to native PickerDialog (#1304)
β’ Fix Text component typings issues (#1308)
β’ Fix error when rendering icons in TabController items (#1321)
β’ Use getNode()
in WheelPicker's FlatList to support reanimated v1 (#1313)