Releases: wix/react-native-ui-lib
7.21.0
🎁 Features
• ExpandableSection - add minHeight (#3040)
🔧 Fixes
• WheelPicker - Fix onChange not called when initial value is changed. (#3029)
• WheelPicker - Fix onChange not called when selecting an item. (#3037)
• TextField - Reverted validation message block not rendered by default. (#3041)
• Incubator.Dialog - change overlayBackgroundColor to grey10 with 65% opacity (#3042)
🕸️ Web support
• TabBarController
fix item size on web. (#3019)
⚙️ Maintenance & Infra
• ComponentDriver - Changed props typings. (#3030)
• Remove babel-preset-react-native (#3034)
• Remove mocha (#3035)
• Update babel-plugin-module-resolver (#3036)
• Update react-native-svg-transformer (#3038)
• Update react-native-mmkv (#3039)
• Remove gh-pages (#3043)
💡 Deprecations & Migrations
7.20.0
🎁 Features
• Grid List Item support in horizontal alignment (#3001)
• Add throttleTime prop in Slider component (#3020)
🔧 Fixes
• Fix registry used when running yarn and fix yarn.lock (#3003)
• Incubator.Slider - fix 'value' updates (#2994)
• [Android] ExpandableSection - fix inner component's animation not working (#2990)
• Incubator.Slider - value updates fix flag (#3008)
• TextField
bottom view should render the validationMessage
only if the user passed validationMessage
. (#3012)
• WheelPickerAlign - fix export (#3016)
• Fixing TS error - passing default type to SectionWheelPicker
generic type (#3017)
• Slider - fix call onSeekStart only on start (#3018)
• Hint passing TestID to the Text component. (#2987)
• fix: filter and settings picker placeholder on web (#3014)
• Toast - fix PanView not rendered with children. (#3023)
⚙️ Maintenance & Infra
• Docs - Added Testing guidelines. (#2996)
• SvgImage - Fix svgs with display="block"
causes crashes. (#3004)
• WheelPicker - generic value (#2959)
• ColorSliderGroup - refactor (#3009)
7.19.0
🎁 Features
• NumberInput - support maxLength (#2998)
• Image\Overlay - support borderRadius (only via the prop, not via style) (#2995)
🕸️ Web support
• fix: clearing picker value on web (#2986)
🔧 Fixes
• GridList fixes - fix GridListItem type and issue with GridList rended inside a FlatList (#2982)
• Avatar and Icon source prop type update to ImageSourceType
(#2985)
• WheelPicker - fix item snap to vertical center (#2989)
• Incubator Slider - fix step interpolation (#2988)
• WheelPicker - memoize offsets (#2991)
⚙️ Maintenance & Infra
• Colors - generatePalette with addDarkestTints change to 9 step lightness increments (#2975)
• Image support strings as type for source
. (#2983)
7.18.0
🚀 What’s New?
🎁 Features
• FloatingButton - add 'fullWidth' prop (#2974)
• Avatar - support in Image source as a string (#2985)
• Image - support in string as source, for svg strings (#2983)
🔧 Fixes
• Incubator.Slider - fix track layout when values change (#2968)
• Icon - fix wrapper breaks alignment (center modifier) (#2970)
• GradientSlider - fix thumbTintColor override (#2971)
• Picker - 'fieldType: settings' fixed flex issues according to the parent. (#2977)
• Picker - clear picker value using empty string instead of undefined. (#2986)
• KeyboardAwareInsetsView
- fix application halting when TextInput
with keyboardType=“number-pad”
with external keyboard(#2978)
⚙️ Maintenance & Infra
• uilib-test-renderer - findStyle - fix TS error (#2973)
• FloatingButton - add style tests (#2976)
7.17.0
🚀 What’s New?
🎁 Features
• TimeLine - new removeIconBackground
prop - Icon can be displayed without point background (#2923)
• Button - link - adjust spacing (#2930)
• Slider - add enableShadow
prop (#2934)
• GradientSlider - display color only when changes on hue change (#2934)
• ColorPicker - minor UI changes (#2934)
• Incubator.Slider - add disabledThumbTineColor
(#2943)
• SortableList - Added ref
prop for the inner FlatList (#2948)
• Badge - Icon
support (#2941)
• SegmentControl - support custom typography (#2929)
🕸️ Web support
• Web SvgImage
style fixes (#2953)
🔧 Fixes
• Slider - bug fix - invoke onChange
only when user moves slider (#2934)
• Slider - bug fix (#2937)
• RadioButton - fix label margins (#2922)
• bg-? modifier - fix typings (#2928)
• Colors.isDark - fix typings to accept undefined argument (#2925)
• SegmentedControl - active index style fix (#2927)
• ColorPicker - fix - hue changes to red after moving lightness to white (#2942)
• SectionWheelPicker - api fix (#2950)
• Incubator.Slider - add displayName
(#2954)
• Incubator.Slider - fix onSeek
functions (#2955)
• TextField - fix api file (#2956)
• Gradient - fix Android line spaces (#2957)
• Incubator.Slider - fix api category (#2960)
• SegmentedControl - fix initialIndex
update to reset selected segment (#2963)
• Colors.getColorTint - Fix typing of api (#2924)
• Slider - wrap in asBaseComponent
and fix typings (#2940)
• GardientSlider - fixed getHSL
call (#2944)
• Button - fix typings (#2931)
⚙️ Maintenance & Infra
• DateTimePicker - allow migration to new the Dialog via migrateDialog
(#2945)
• Fix prettier fomratter not working (#2947)
• Picker - export RenderCustomModalProps
and PickerItemsListProps
(#2961)
💡 Deprecations & Migrations
• ExpandableOverlayScreen - migrate to the new Dialog (#2946)
7.16.0
7.15.0
🎁 Features
Improve the ref infra and fix it for a couple of components: TextField Incubator.Slider (#2885)
🔧 Fixes
• ReactScreenMonitor (Android) - add null check for getWindow() (#2878)
⚙️ Maintenance & Infra
• Added ComponentStatics - a way to extract statics from component. (#2888)
• Add template literals to many enums. (#2892)
7.14.0
🎁 Features
• FormField - Allow passing ref to field. (#2852)
🕸️ Web support
• useHiddenLocation - support web (#2872)
• Fix TextField multiline auto-expanding on web (#2874)
• Fix isSVG
logic on web to ignore base64 assets (#2856)
🔧 Fixes
• WheelPicker - fixed value labels showing near every label. (#2839)
• TextField - fix TS error: Types of property 'ref' are incompatible (#2868)
• NumberInput - fix floating point error (#2877)
⚙️ Maintenance & Infra
• ColorPicker - Changed to FC. (#2822)
• GradientSlider - Moved to FC. (#2834)
7.13.0
🚀 What’s New?
🎁 Features
• Timeline - Adding width prop to Line component & iconProps to Point component (#2851)
• DateTimePicker - Add display property (#2733)
🔧 Fixes
• Dash - passing default color as a modifier (#2841)
• RadioButton - Fix typings to extend our ViewProps (#2846)
• Carousel - Fixed inversion on Android RTL (#2858)
⚙️ Maintenance & Infra
• Scheme - add isDarkMode function (#2847)
• TabBar - Remove default static backgroundColor prop value to avoid race condition when loading design tokens (#2849)
• Colors - adjust palette to 9 increments when 'addDarkestTint' is true (#2855)
• Colors - generatePalette - remove 9 increments (#2861)
OTHERS
• Reverts #2830 (#2850)
• (#2833)
• Report error when failing parsing PRs (#2842)
7.12.0
🎁 Features
• SortableList - support horizontal (#2800)
• Picker - Now accepts accessibility props for the title. (#2805)
🕸️ Web support
• TextField - fix inner container flex issue on Web (#2840)
• Fix TextField defaultValue on web when value=undefined
(#2830)
🔧 Fixes
• Carousel - Fixed Android RTL jumps on random items. (#2831)
• ColorPicker - (reverted)Removed migrate from ColorPickerDialog (#2826)
• Incubator.Toast - fix error on Android with no image (#2821)
• Fix Colors.generateColorPalette
memoized result (handle cache properly) (#2836)
• Fix TabController.TabBar not responding to change in labelColor/selectedLabelColor (#2836)
• Avoid failing Colors.rgba API on invalid input to avoid app crashes (#2838)
⚙️ Maintenance & Infra
• Export missing TextField
types (#2824)
• Return old textfield for masked input until we migrate to the new MaskedInput completely (#2828)
• Upgrade react-native to 0.71.12 (#2816)
• Upgrade reanimated to version 3.4.0 (#2816)
• ColorPickerDialog - Changed to FC (#2823)
• SliderGroup - Moved to a FC. (#2832)