Skip to content

Releases: wix/react-native-ui-lib

6.13.0

06 Apr 15:30
Compare
Choose a tag to compare

🎁 Features

• New GridList component based on old GridView features (#1914)
• New SortableGridList component! (#1918)

🔧 Fixes

• Fix issue with floating placeholder on Android with multiline TextField (#1924)
• Merge schemes in loadSchemes method (#1929)
• TabController - Fix how we handle dynamic tab bar items (#1932)
• Fix scrolling long lists in Picker (#1944)

⚙️ Maintenance & Infra

• Complete TS migration (#1927)
• Fix export of components that were already migrated to TS (#1926)
• Centralized all textfield types (#1933)
• DesignTokens - new keys. (#1936)
• Export DesignTokens and DesignTokensDM (#1931)
• Migrate Badge to design tokens (#1922)
• Migrate Checkbox to design tokens (#1920)
• Migrate RadioButton to design tokens (#1921)
• Migrate Card component to designTokens (#1919)
• Migrate Avatar to design tokens (#1917)
• Migrate FloatingButton and exampleScreenPresenter to designTokens (#1934)
• Migrate Chip to designTokens (#1937)
• Migrate Dialog to design tokens (#1938)
• Migrate Hint and Toast to design tokens (#1940)
• Migrate Incubator ChipsList screen to design tokens (#1941)
• Migrate Pickers to design tokens (#1942)
• Migrate Slider and Stepper to design tokens (#1943)

6.12.0

23 Mar 09:23
Compare
Choose a tag to compare

🎁 Features

• Picker (and ExpandableOverlay) - support onPress (#1876)
• TabController.TabPage - support lazyLoadTime (useful for loading heavy pages) (#1910)
• Assets - adding 'getAssetByPath' method (#1892)
• Picker - support adding safe area to Picker modal content by passing useSafeArea prop (useful for Expo users) (#1899)
• SkeletonView - support passing colors (#1905)
• WheelPicker - support separatorsStyle (#1906)

🔧 Fixes

• Icon- fix tintColor type (#1884)
• GridView - fix error thrown when passing passing lastItemLabel but not lastItemOverlayColor. Fix issue #1879. (#1900)
• SvgImage - add missing optional chaining. Fix issue #1809. (#1902)
• SvgImage - remove 'tintColor' to fix Android crash (#1903)
• Picker - forget search on cancel. Fix issue #1880. (#1908)
• Migrate callback refs to object, to resolve TS errors (#1912)
• Hint - fix container position for appium test (#1891)
• TabBar - fix the fader color in dark mode (#1867)

⚙️ Maintenance & Infra

• Picker - spread others props to TextField instead of extracting manually (#1895)
• Dark mode - restrict for dev only until releasing full support (#1887)
• Colors lint rule - handle undefined context.options[0] (#1915)
• Refactor Picker component and convert to TS (#1870)
• Migrate example PickerScreen to TS (#1888)
• Design Tokens - add backgroundInverted (#1909)
• Reverse color palettes in dark mode (#1893)
• Keyboard components - cleanup. (#1913)
• eslint-plugin-uilib - no-hard-coded-colors allow null (#1886)
• StandWithUkraine - add benner (#1904)

6.11.0

07 Mar 11:43
Compare
Choose a tag to compare

🎁 Features

• KeyboardAccessoryView - adding 'usesBottomTabs' prop to add bottom insets (#1871)
• Slider - adjust the thumb position more smoothly (#1873)
• Add DarkElevated and DarkActive (#1861)

🔧 Fixes

• Fix ref of FadedScrollView component (#1864)
• Fix issue with TabController items not calculating their layout after a change in items (#1869)

💡 Deprecations & Migrations

• Migrate Incubator.TextField to DesignTokens (#1834)
• Settings and playground screens migrations (#1857)

⚙️ Maintenance & Infra

• TabController - move to design tokens (#1850)
• Snippets extension - Edit README (#1883)
• Remove old docs files (#1851)
• Add lodash plugin to reduce bundle size (#1856)
• Move Switch component to design tokens (#1866)
• Move Incubator.Toast to design tokens (#1865)
• Fixed some example code snippets (#1882)
• Update palette generation for bright colors (#1863)

6.10.0

16 Feb 14:27
Compare
Choose a tag to compare

🎁 Features
• Support overriding Incubator.TextField preset's default fieldStyle (#1836)
• Support render Hint without modal (make sure to pass useModal with false) (#1818)
• Support margin modifiers in SkeletonView Component (#1807)
• Add Constants.isWideScreen (#1827)
• Add code snippets to our components' docs (#1823)
• Add missing isFocused method on Incubator.TextField ref (#1833)
• Support imageId in Image component, and fix props passing in Card.Image (#1852)

🔧 Fixes
• Reanimated 2.4 - Fix error in Incubator.TouchableOpacity (#1831)
• KeyboardTrackingView - iOS - fix View's translation when nested in a TabBarController. (#1849)
• Avatar - fix border radius (Android) (#1822)

⚙️ Maintenance & Infra
• Update internally versions of react-native-reanimated and react-native-gesture-handler (#1821)
• Add $ to designTokens (#1814)
• Incubator.Dialog - remove extra components + support configuration (#1843)
• Incubator.Dialog - header refactor (#1845)

6.9.0

02 Feb 09:24
Compare
Choose a tag to compare

🎁 Features

• WheelPicker - allow pass labels alignment. (#1813)

🔧 Fixes

• Return TextField's validation result when calling it imperatively (using ref) (#1801)
• ExpandableSection - fix layout animation for changing in the expanded prop (#1798)

💡 Deprecations & Migrations

BREAKING CHANGE - Deprecate Incubator.WheelPicker selectedValue prop in favor of initialValue, as part of it, SectionWheelPicker will not support selectedValue in its sections prop as well. (#1782)
• Initiate TextField migration in Picker component by passing migrateTextField prop (#1793)
• Direct to our new implementation for TextField and Toast in the docs (#1810)

⚙️ Maintenance & Infra

• Testkit preperations (#1792, #1794)
• Add imageUtils file and use it in Image and Icon components (#1803)

6.8.1

19 Jan 12:26
Compare
Choose a tag to compare
  • Fix forwardRef warnings
  • Fix issue with exported test kits requiring to install @testing-library/react-native as a dependency

6.8.0

19 Jan 10:36
Compare
Choose a tag to compare

🎁 Features
• Add designTokens to Colors type (#1758)
• Slider - Add RTL support (#1770)

🔧 Fixes
• GridView - Support renderCustomItem prop (#1775)
• TouchableOpacity - fix style's type (#1767)
• Picker.Item - Add proper labelStyle prop type (#1759)

💡 Deprecations & Migrations
• Migrate to Icon component (#1778)

⚙️ Maintenance & Infra
• Upgrade gesture-handler to v2 (#1771)
• Update design tokens after sync (#1773)
• TabController - Remove react-freeze optimization (#1784)

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)