Skip to content

Releases: wix/react-native-ui-lib

7.23.0

28 May 10:37
Compare
Choose a tag to compare

🎁 Features

β€’ KeyboardAwareInsetsView - add 'offset' prop to control the offset of the pushed content (#3022)
β€’ TextField - new outline preset (#3066)
β€’ SegmentedControl - New form preset added. (#3061)
β€’ TextField - new features: helperText and validationIcon (#3097)

πŸ•ΈοΈ Web support

β€’ SegmentedControl icon support in web. (#3084)

πŸ”§ Fixes

β€’ Add examples to api files (#3073)
β€’ SegmentedControl - Fixed outline doesn't wrap the entire segment. (#3086)
β€’ SegmentedControl - Segments prop is now mandatory. (#3093)
β€’ SegmentedControl - Added S1 spacings between icon and label. (#3096)
β€’ SegmentedControl - Fix outline sometimes renders as a straight line. (#3099)
β€’ Picker support passing items when passing renderCustomModal. (#3081)

πŸ’‘ Deprecations & Migrations

β€’ Picker prop deprecation - children, migrate (#3078)

βš™οΈ Maintenance & Infra

β€’ Picker screens refactor according to the Picker refactor. (#3080)

7.22.0

16 May 08:22
Compare
Choose a tag to compare

🎁 Features

β€’ ExpandableSection - add minHeight (#3040)
β€’ DesignTokens - add $outlineNeutral token (#3062)

πŸ”§ Fixes

β€’ GridListItem - Fix unnecessary defaults to allow theme override (#3059)
β€’ Assets - Fix loading assets typings to preloaded path. (#3060)
β€’ Overlay covering fix when passing borderRadius. (#3058)
β€’ Fix GridList and SortableGridList item spacing issue (using gap feature) (#3064)

βš™οΈ Maintenance & Infra

β€’ TextField - move 'default' preset to 'underline' (#3065)
β€’ FloatingButton using Shadows Preset (#3071)
β€’ Assets - Typing is added to the assets instance after assets are loaded with loadAssetsGroup. Asset instance no longer returned from loadAssetsGroup. (#3051)
β€’ ComponentDriver - Added extra type to testID. (#3057)
β€’ Updated node version to 20. (#3068)
β€’ Export TextField validators for external use (#3056)

πŸ’‘ Deprecations & Migrations

β€’ Start a migration to add flex to SortableList and SortableGridList (#3067)

7.21.0

01 May 11:08
Compare
Choose a tag to compare

🎁 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

10 Apr 11:39
Compare
Choose a tag to compare

🎁 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

27 Mar 14:38
Compare
Choose a tag to compare

🎁 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

13 Mar 09:56
Compare
Choose a tag to compare

πŸš€ 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

28 Feb 07:32
Compare
Choose a tag to compare

πŸš€ 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

30 Jan 11:16
Compare
Choose a tag to compare

βš™οΈ Maintenance & Infra

β€’ TouchableOpacity - adding nativeID prop (#2915)
β€’ Export TabControllerBarProps, fix type for Card.containerStyle, add 'nativeID' to TouchableOpacity (#2921)
β€’ Hint - fix test failure issue with measureInWindow (#2913)

7.15.0

17 Jan 09:47
Compare
Choose a tag to compare

🎁 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

04 Jan 13:44
Compare
Choose a tag to compare

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