Releases: wix/react-native-ui-lib
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)
5.24.5
5.24.2
5.24.1
5.24.0
🎁 Features
• New component - The SectionsWheelPicker is useful for building multi section pickers (#1260)
🔧 Fixes
• Picker - Fix issue with filter children (for long lists with search) (#1254)
• Fix issue with Card's backgroundColor prop not working (#1279)
• Various fixes in Incubator.TextFied: Fix floatingPlaceholder issues, support passing a function to fieldStyle
((fieldContext) => ViewStyle
) (#1288)
• Fix Button iconSource type (#1291)
• Fix Card.Section ImageProps to not require source (#1291)
• Fix Text to support animated text style (#1291)
• Fix support for auto height layout for vertical carousel pages (#1294)
• Fix Incubator.WheelPicker bug when opening the list on a specific value (#1293)
• Incubator.WheelPicker fix alignments (#1296)
⚙️ Maintenance & Infra
• ColorPicker, ColorSwatch and ColorPalette migrated to typescript (instead of manual typings) (#1235)
• Hint component was migrated to typescript (instead of manual typings) (#1281)
• Export SegmentedControlItemProps (#1280)
• Export Incubator.TextField typings (#1287)
• Add clear button to main demo app screen search (#1286)
• use PropsWithChildren in Carousel (#1278)
5.23.3
5.23.0
🎁 Features
• New component - SegmentedControl (#1238)
• Support SVG in Image component (#1226)
• Avatar - add name with initials and backgroundColor specific to that name (i.e. hash) (#1239)
• Support showing label in Incubator.WheelPicker (#1259)
• Support passing labelProps prop to Checkbox component (#1252)
• Add IgnoreBackgroundPress prop to Dialog component (#1267)
• Add selectionLimit prop to the Picker component to support limiting the number of the selected items in multi mode. (#1270)
🔧 Fixes
• Fix support for clearing MaskedInput value programmatically using ref clear
method (#1240)
• Fix Text
prop - highlightString
issue with special characters leading to an infinite loop. (#1275)
• Fix default DateTimePicker display on iOS to spinner
to avoid UI issues on iOS14 (#1271)
• WheelPicker - fix typescript error in function sent to onLayout (#1256)
• Fix callback props typings in components like: TouchableOpacity, Card and Modal.TopBar (#1250)
⚙️ Maintenance & Infra
• ChipScreen - adding example for onPress to open Dialog and dynamic label. (#1253)
• Use internally babel-plugin-module-resolver
for resolving relative paths (#1246)
• Set haptic infrastructure as an optional dependency (#1245)