Skip to content

Releases: wix/react-native-ui-lib

6.25.0

01 Dec 07:27
Compare
Choose a tag to compare

🎁 Features

• ColorPicker - supports backgroundColor prop. (#2328)

🔧 Fixes

getTintColor - support options object - fix should reverse on dark prop. (#2321)
• Toast - update background color (#2334)
• FloatingButton - fix outline mode background color on Android. (#2343)
• Incubator.Dialog - fix not opening correctly (#2335)

💡 Deprecations & Migrations

• Remove Colors.primary usage (#2338)

⚙️ Maintenance & Infra

• Marquee screen now has a scroll view. (#2340)
• react-native-blur - upgrade to 4.3.0 (#2349)

6.24.0

16 Nov 15:43
Compare
Choose a tag to compare

🎁 Features

• Incubator.Dialog - allow changing pointerEvents in children (#2318)
• Incubator.Dialog - add imperative handle with dismiss (#2325)

🔧 Fixes

• Incubator.Dialog - hoist static methods (fix statics not working) (#2331)
• ExpandableSection revert, removed useSeparator prop. (#2315)
• Incubator.TextField - fix short text when wrapped with a centered container (#2320)

💡 Deprecations & Migrations

• Start deprecation of useNativePicker in favor of useWheelPicker (#2330)

⚙️ Maintenance & Infra

• Added display name to Toast component to use config file in private. (#2317)
• ThemeManager - add Theme type (#2327)
• Updated setup link in the docs(#2272)
• Updates Expo Demo SDK to 46.0 and React 18 (#2306)
• Bump react-native-navigation to 7.30.0 (#2319)
• Fix Android build - add exclusiveContent (#2324)

6.23.0

02 Nov 13:02
Compare
Choose a tag to compare

🎁 Features

• New Marquee component for sliding text, sliding text bottom up, left right and etc. (#2311)
• Dash - new component for drawing dashed line (#2305, #2308)
• Support for a non-moving row in SortableList component (locked) (#2296)
• Gradient - new component (inc. removing react-native-color dep). (#2309)

🔧 Fixes

• ExpandableSection require cycle fix (#2291)
• TextField Presenter getColorByState fix, new util function isDesignToken. (#2290)
• Incubator.Dialog - fix hiding when layout changes (#2299, #2300)
• Incubator.Dialog - remove header's renderContent (#2293)
• Incubator.Dialog - do not show empty header (with only knob and divider) (#2310)
• Fix Colors.loadDesignTokens API (#2302)
• ScrollBar - fix default gradientColor (#2304)

⚙️ Maintenance & Infra

• Lock RNN to 7.29.0 to fix Android build (#2297)
• Fixing some new random TS errors. (#2314)
• Add $backgroundElevatedLight token (#2301)
• Update tokens colors (#2303)
• Fix Gemfile syntax error (#2298)

6.22.0

19 Oct 09:06
Compare
Choose a tag to compare

🎁 Features
• New behavior for the FloatingButton (#2255)
• Slider - Adding 'reset' function with callback 'onReset', initial values to range slider and 'useGap' prop. (#2248)
• Added generateTokens method for generating design tokens based on chosen color. (#2265)
• Handle Shadows in dark mode (#2242)
• Drawer - Increase swipe threshold (#2249)
• Checkbox - Add FlexModifiers to labelProps (#2243)
• TextArea - use Design Tokens to support dark mode (#2261)
• DateTimePicker - add default themeVariant for dark mode support (#2259)
• Modal - set default backgroundColor (#2267)
• TextField presenter now supports design tokens. (#2275)
• ExpandableSection support using a separator when expanded, feature for List.CollapsableItem (#2279)

🔧 Fixes
• Fix selected card iconColor (#2236)
• Fix modal bg color (#2278)
• IncubatorDialog - Fix no measure occurring and enter animation (#2282)
• Incubator.Dialog - new features and fixes, start a migration in ActionSheet. (#2251)
• View - prioritize backgroundColor prop over bg modifiers (#2286)

⚙️ Maintenance & Infra
• Docs - Support components docs notes (#2244)
• Update @types/react-native to 0.68.5 in demo environment (#2260)
• Fix dark mode screen (#2268)
• Fix Typo in docs (#2239)
• Add web playground

6.21.0

07 Sep 15:18
Compare
Choose a tag to compare

🎁 Features

• Create an imperative API for TabController for setting tab imperatively (#2197)
• ActionSheet - allow overriding Dialog's props (#2211)

🔧 Fixes

• Picker - fix setComponentTheme support (#2212)
• Fixed search functionality, search logo appearance (#2208)
• ChipsInput - handle backspace with no chips (#2222)
• AnimatedImage - move from LayoutAnimation to AnimationStyle (#2223)
• Avatar - handle SVG image (fix Android crash and red screen) (#2224)
• SortableList - fix issue with flaky sorting when dragging fast + add scale to props + support a gesture-handler version in Incubator.TextField (#2217)
• Fixed demo app dark mode (#2209)
• Fix demo app colors for dark mode (#2229)
• Modal.TopBar - add key to buttons (#2237)
• Badge - update default background color (#2241)
• StackAggregator - fix children update. (#2103)
• Fix typing issue for standalone components (#2210)
• added useColorScheme() hook to trigger a change when toggling appearance. (#2234)

⚙️ Maintenance & Infra
• Changed the demo screen app according to the new design. (#2174)
• Update blue50 color (#2213)
• Change the Incubator.Dialog to use hooks, fixes issues with size given in percentage and not numbers (#2116)
• Incubator.TransitionView - remove (move hook to Incubator.Dialog) (#2228)
• Drawer - delay actions render to reduce component loading time (#2201)
• Added listKey prop to FlatList of WheelPicker component (#2215)
• Optimize use of asBaseComponent in Picker and TextField (#2200)

6.20.0

17 Aug 09:27
Compare
Choose a tag to compare

🎁 Features

• SortableGridList - added RTL support (#2198)
• View - make component slightly faster when not using reanimated prop (#2184)
• TouchableOpacity - support passing customValue to onPressIn and onPressOut functions. (#2164)

🔧 Fixes

• Image - fix resize mode bug on android (#2150)
• WheelPicker - optionalDependencies error should only show on usage (#2132)
• TouchableOpacity - add missing bg modifiers (#2160)
• Image - fix potential Android crash related to changing views while animating (send useBackgroundContainer) (#2171)
• Avatar - fix customRibbon prop (#2173)
• ChipsInput - field get trimmed when inserting more than 1 line of chips. (#2183)
• TextField - fix initial animation state of floating placeholder (#2196)
• TextField - memoize inner components' style to avoid redundant renders (#2170)
• Timeline - fix example url (#2172) (#2162)
• TouchableOpacity - Avoid redundant setState (#2177)
• ColorPalette - fix scrolling and extra renders (#2179)

💡 Deprecations & Migrations

• Migrate PropTypes imports to deprecated-react-native-prop-types package - This allow using RN0.69 (#2156)

⚙️ Maintenance & Infra

• Update dark mode colors and tokens (#2193)
• Avatar - change to function component (performance) (#2191)
• SkeletonView - small changes that should improve performance (#2153)
• AnimatedImage - fix functionality and improve performance (#2157)
• Remove asBaseComponent from ColorSwatch, ColorPalette and ColorPicker (#2155)
• Button perf improvements (#2169)
• Setup Intl Polyfills to support Intl with hermes engine in our demo app (#2185)
• npmignore - add docs eslint and tests (#2192)
• Improve Icon perf - Ignore modifiers that not relevant to icon (#2180)

6.19.0

31 Jul 12:45
Compare
Choose a tag to compare

🎁 Features

• Upgrade to RN68 (#2041)

🔧 Fixes
• Use the new react-native-gesture-handler activateAfterLongPress to fix drag not always working on Android - REQUIRES VERSION 2.5.0 of react-native-gesture-handler (#2110)
• SortableGridList - fix issue with flaky sorting when dragging an item too fast (#2118)
• Picker - fix minor issues with fieldType - support changing label style for "filter" type and override trailingAccessory (#2124)
• Hint - fix tokens (#2122)
• Picker - handle internal undefined ref when user passes custom renderPicker (#2137)
• Picker - support useWheelPicker prop in order to render a wheel picker component (#2100)
• ColorSwatch - Improve performance by adding accessibilityInfo only if the accessibility mode is on (#2154)
• Drawer - remove duplicate testID used on the second element (#2130)
• Fix crash AssertNotNull (#2148)

💡 Deprecations & Migrations

• Keyboard.KeyboardAccessoryView - start prop deprecation for 'iOSScrollBehavior' (#2102)

⚙️ Maintenance & Infra
• Improve modifiers' performance (#2136)
• asBaseComponent - add support for passing options for optimizations (#2141)
• Pass modifiersOptions to atom components (Text, Image, TouchableOpacity) to optimize performance (#2142)
• Optimize modifiers (#2143)
• Create infra for useModifiers and useThemeProps hooks (#2145)
• View - convert to a function component to reduce render hierarchy (#2146)
• Set perf tests infrastructure with reassure (#2151)
• asBaseComponent - apply ThemeManager ThemeContext (#2152)
• Move GridList listPadding logic to useGridLayout hook to share it with SortableGridList (#2117)
• Design Tokens renaming (#2123)
• PanView refactor (infra) (#2088)
• TransitionView refactor (infra) (#2089)
• Add native design tokens to iOS (#2131)
• Add Profiler (#2144)
• Fix Profiler's export (#2149)
• Implement the new demo app structure (#2133)

6.18.0

06 Jul 13:35
Compare
Choose a tag to compare

📢 The new version will require react-native-gesture-handler@2.5.0 for our SortableList and SortableGridList components

🎁 Features
• Slider - adding range slider functionality (#2084)
• Support Picker fieldType for different picker layouts. form (default), filter and settings (#2054)
• ExpandableSection - add expanded to the accessibilityState (#2073)
• Colors.colorStringValue - support null (#2078)

🔧 Fixes
• Incubator.TextField - fix initial validity (#2096)
• Fix Incubator.WheelPicker alignments (#2082)
• Fixed Stepper documentation. (#2104)

⚙️ Maintenance & Infra
• Update demo app to use react-native-gesture-handler to 2.5.0 (#2108)
• Set default color for Text component to be $textDefault (#2080)
• Design Tokens - update colors (#2085)

6.17.0

08 Jun 08:57
Compare
Choose a tag to compare

🎁 Features

• New SortableList component! (#1958 & #2057)
• Picker.Item - expose isItemDisabled info in renderItem callback (#2070)

🔧 Fixes

• KeyboardAwareScrollView - fix exports (#2064)

⚙️ Maintenance & Infra

• Migrate DateTimePicker to a function component (#2050)
• Refector component drivers and add a new component drivers (#2066)
• Native lib - bumping version to 3.0.8 (#2065)

6.16.0

25 May 08:12
Compare
Choose a tag to compare

🚀 What’s New?

• Timeline - new component. (#2027)

🎁 Features

• Allow to call isValid on TextField ref to check if it's valid without triggering field validation (#2049)
• Small performance improvement in TabController transitions (#2039)
• Dialog (old) - expose static directions (#2060)

🔧 Fixes

• KeyboardAccessoryView - fix addBottomView not working (#2045)
• Fix onChange type of DateTimePicker (#2056)
• Fix Modal backgroundColor (#2058)
• Carousel - fix initial page (#2059)

⚙️ Maintenance & Infra

• Docs - fix broken links, 10x to @ibrahim-mousa ! (#2052)
• Fix design tokens in Picker components (#2036)