Skip to content

Releases: wix/react-native-ui-lib

7.26.0

10 Jul 06:29
Compare
Choose a tag to compare

🚀 What’s New?

🎁 Features

• DateTimePicker - support confirm/cancel button props. (#3161)
• Picker - support renderHeader in wheel picker mode. (#3165)

🔧 Fixes

• Button - fix icon coloring issue on Web. (#3158)
• Picker - fix field type not showing the selected value. (#3168)
• Checkbox - fix crash when using hint on android. (#3170)

⚙️ Maintenance & Infra

• Picker - testing coverage. (#3107)
• Export assets emojis type. (#3163)
• Export emojis as const. (#3164)
• Picker - usePickerLabel - add tests. (#3162) revert fix for string value (#3169)
• Move mock to tests. (#3152)
• Rename sub components to match their file name. (#3152)
• New docs do not require fake components, all typing files should be types.ts. (#3151)
• Dialog.driver - improve API. (#3157)
• TextField - test new features (helperText, validationIcon, clearButton) and presets. (#3125)
• TextField - clearButton tests - fix snapshot and driver. (#3159)

💡 Deprecations & Migrations

• Picker types arrangement - new props, props deprecation. (#3149)

OTHERS

• Update README.md - add link to Figma library (#3167)

HotFix 7.26.1

  • Picker - fieldType - fix and align to UX guidelines (#3175)

HotFix 7.26.2

  • Picker - remove colon from label on filter fieldType (#3179)
  • Allow icon custom style override defaults (#3176)
  • Avoid memoizing render textfield in Picker (#3181)

7.25.0

26 Jun 08:41
Compare
Choose a tag to compare

🚀 What’s New?

• Modal support closing on Android back button press. (#3138)

🔧 Fixes

• Fix nesting image style props in Image component with children (overlay, content).. (#3131)
• TextField - clearButton - fix animation (#3136)
• TextField remove of centerV only in Android from the Label View wrapper. (#3140)
• Image passing borderRadius to style. (#3148)

⚙️ Maintenance & Infra

• TextField - screen for snapshot tests (#3143)
• TextField - fix screen cases for snapshot tests (#3145)
• getItemLabel type changed since it's not deprecated (#3137)
• TextField Screen snapshot test. (#3142)
• Hint message prop type fix. (#3146)
• Improved HintProps typing (#3133)
• Update example in TextField (#3139)

7.24.0

13 Jun 07:52
Compare
Choose a tag to compare

🚀 What’s New?

🎁 Features

• TextField - add 'clearButton', 'onClear' and 'topTrailingAccessory' props (#3113)

🔧 Fixes

• TextField - fix extra margin at the bottom - don't render Text component if no helperText (#3101)
• Fix issue in GridList when passing numColumns 1 (#3103)
• FloatingButton - fix gradient when fullWidth (#3112)
• TextField - fix validationIcon with no validationMassage and change type to IconProps (#3114)
• ChipsInput - fix validation (#3094)
• TextField - apply marginT only to the OUTLINE preset (#3123)
• Picker - PickerItem key prop extraction when passing items in custom modal mode (#3129)
• TextField - fix centered with new topTrailingAccessory (#3132)

⚙️ Maintenance & Infra

• outlineDisabled token colors change. (#3098)
• Remove NativePicker files and usages. (#3088)
• TextField - clean tests (#3118)
• New design tokens: outlinePrimaryMedium | black | white (#3127)
• Assets - Revert dynamic assets typings. (#3116)
• Picker - correct type for onChange in multi mode (#3091)

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)