Releases: wix/react-native-ui-lib
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)
7.11.0
🎁 Features
• View - Added new gap modifier. (#2802)
• TextField - added mandatory indication to the TextField (#2791)
• Support rendering Picker as dialog and also render custom dialog header (#2804)
🔧 Fixes
• Dialog - BG and overlay should not be static (#2808)
• TabBarItem - support array styles (#2812)
• Picker - fix item with value 0 is not shown as selected (#2815)
• TextField - fix color default value (#2818)
• Dialog - Header - fix knob's color (#2819)
⚙️ Maintenance & Infra
• Complete TextField migration (move out of Incubator) (#2806)
• Colors - expose shouldSupportDarkMode (#2809)
• Dividers - turn to getters. (#2814)
• TextFieldScreen - fix titles' color (#2814)
7.10.0
🎁 Features
• TextField - Supports a mandatory asterisk indication when TextField is required and showMandatoryIndication props is passed. (#2775)
• PickerItem - support asynchronous item's onPress handler and allow ignore selection (#2787)
• Checkbox - add validation state invoked by validate method (#2672)
🕸️ Web support
• DynamicFonts - fix error in web (#2789)
🔧 Fixes
• Fix react-native.config has wrong file for DynamicFont (#2771)
• Chip - Fix default horizontal margins to the right icon. (#2772)
• TextField - Fixed keyboard opening when focusing on disabled input (iOS). (#2782)
• Tablet (iOS) sub windows (split view / slide over) - Fix layout responsiveness (#2785)
• Colors - generatePalette - fix for white color (#2790)
⚙️ Maintenance & Infra
• Add testIDs to color picker dialog (#2797)
• ColorPickerDialog now uses a new slider for better performance. (#2777)
• ColorPickerDialog - migrate to new Dialog implementation (#2741)
• Fixed chips scroll to section on demo app. (#2766)
• Fix expo demo app (#2769)
• useScrollable
- a new driver to the testKit to support testing lists and lists-based components. (#2713)
• View - Added a testkit driver. (#2783)
• ExpandableSection - Added testing identifier prop, testID. (#2784)
7.9.0
🎁 Features
• DynamicFonts - download and load to memory fonts - this is experimental for now! (also requires using react-native-fs
) (#2736)
• Picker onSearchChange
callback now supports and passes on filteredChildren
prop. (#2725)
• Expose ColorPickerDialog as a new component (#2737)
• Checkbox - indeterminate state (#2703)
• Colors - generateColorPalette - pass options object for palette adjustments (#2734)
• Colors - generateColorPalette API - add the option to avoid reversing on dark mode (#2757)
• Picker in WheelPicker mode supports topBarProps
. (#2681)
• Button
- support passing iconProps
(#2742)
🕸️ Web support
• Allow passing id
to SvgImage on web (#2740)
🔧 Fixes
• SvgImage now respects width
& height
props on web (#2749)
⚙️ Maintenance & Infra
• Add information on the steps required to run the application on windows machine (#2744)
• docs: fixed dead link of react-native-reanimated setup guide (#2746)
7.8.0
🎁 Features
• Bind Picker options list a testID - ${testID}.list
(#2723)
🕸️ Web support
• Fix: [WEB] Svg image unique style tag and update styles (#2728)
🔧 Fixes
• TabController - fix RTL on Android (#2717)
⚙️ Maintenance & Infra
• Make picked reanimated type partial so they won't be mandatory (#2726)
• ThemeComponent - clean leftovers (#2719)
7.7.0
🎁 Features
• Picker migrates Dialog to use the new dialog (Incubator.Dialog). (#2657)
🔧 Fixes
• Fix components typings (#2678) • ColorPicker - allow theme (#2704)
• Picker ts error fix. (#2677)
• Fix Picker label not updating when items prop changes (#2682)
• Fix cut chips (#2683)
• ScrollBar - fix scrolling inside Dialog on Android (#2695)
• Text - revert Android alignment (#2701)
• Slider - fix value out of range warning in range slider (#2709)
• Badge - add key to BadgeProps type (#2689)
• WheelPicker with a long list of data jumps back to initalValue
fix. (#2705)
• Picker - fix ellipsis on long text in filterType set to filter. (#2712)
⚙️ Maintenance & Infra
• Calendar - Refactor Day component to not use animated styles (#2698)
• View - add reanimated props for layout animation (#2694)
• Demo - adding RTL screen - Hebrew language (#2668)
7.6.0
🚀 What’s New?
🎁 Features
• Incubator.TextField - expose retainValidationSpace (#2631)
• ExpandableOverlay - add migrateDialog prop (#2635)
• ColorSwatch - Add hexString to onPress result (#2651)
• ColorPalette - Add hexString to onPress result (#2651)
• ColorPicker - Add hexString to onValueChange result (#2651)
• Picker example for the web demo. (#2622)
• Text
component highlightString
prop now enables to handle a highlighted string onPress
event, provide a specific style
to each highlighted string and give it a testID
for better testing (#2663)
🕸️ Web support
• SVG - add support for tintColor
on svg tag data (#2667)
🔧 Fixes
• TabBar stays on the selected index when items change. (#2630)
• Incubator.Slider - fix gap not equal on both max and min ends (#2634)
• SegmentedControl - onChangeIndex should react to changes (#2637)
• NumberInput - fix design (MaskedInput look) - BREAKING CHANGE: some props moved to textFieldProps
; empty
type has been removed (#2645)
• NumberInput - fix editable (#2664)
• Scheme - fix color changing (#2607)
• Text - remove default textAlign style to fix iOS child Text not inheriting from its parent. (#2670)
• ExpandableOverlay - fix dialog props (#2675)
⚙️ Maintenance & Infra
• react-native-gesture-handler
version upgrade in the webDemo. (#2647)
• ColorPicker - small fixes (#2650)
• webDemo project, react-native-reanimated
version upgrade. (#2649)
💡 Deprecations & Migrations
• useCustomTheme - remove leftovers (#2666)
7.5.0
🎁 Features
• TabController - Support passing labelProps to TabController TabBarItem (#2615)
• IncubatorDialog - add topAccessory (#2621)
• Picker supports updating the items list. (#2599)
• Add prop onValidateFailed to TextField (#2626)
🕸️ Web support
• Fix setNativeProps not supported on web (#2620)
🔧 Fixes
• DateTimePicker - fix TextField migration related TS errors (#2604)
• Wizard.Step
style fix. (#2609)
• SvgImage (web) - fix issue with style being passed as object (#2612)
• GridView and SortableGridView - support tablet and other fixes (#2611)
• Switch - fix props types to include TouchableOpacity props (#2613)
• Calendar - improve date utils (#2610)
• Incubator.Slider - fix types (#2616)
• WheelPicker - Android - fix missing values when initialValue is sent (#2618)
• Icon, new width, and height props will be used only if the Icon is an SVG image. (#2583)
• Incubator.TextField - fix iOS - the context menu not showing in a centered and empty input (#2617)
• Fix Recorder typings (#2624)
• TextField - add containerProps
prop (#2608)
• Switch - add id
prop (#2608)
⚙️ Maintenance & Infra
• Infra/test kit add props (#2619)
• Infra/set infra for users recordings (#2437)
💡 Deprecations & Migrations
• DateTimePicker - start deprecation of moment props (generifying with dateTimeFormatter
) (#2625)