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)