Releases: wix/react-native-ui-lib
6.11.0
🎁 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
🎁 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
🎁 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
6.8.0
🎁 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
6.7.0
🎁 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
🎁 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
6.5.0
🎁 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)