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