Skip to content

Releases: wix/react-native-ui-lib

6.7.1

16 Jan 06:26
Compare
Choose a tag to compare

HF for a rare issue with Carousel width on Android that throws an exception

6.7.0

05 Jan 15:10
Compare
Choose a tag to compare

🎁 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

15 Dec 08:55
Compare
Choose a tag to compare

🎁 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

02 Dec 09:46
Compare
Choose a tag to compare

Release HF for new (Incubator) ChipsInput broken layout

6.5.0

01 Dec 10:13
Compare
Choose a tag to compare

🎁 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

17 Nov 13:42
Compare
Choose a tag to compare

🎁 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

03 Nov 10:33
Compare
Choose a tag to compare

🎁 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

20 Oct 10:46
897689a
Compare
Choose a tag to compare

🎁 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

06 Oct 08:24
Compare
Choose a tag to compare

🎁 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

14 Sep 11:36
Compare
Choose a tag to compare

🚀 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)