Releases: wix/react-native-ui-lib
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)