Skip to content

Releases: wix/react-native-ui-lib

7.4.0

24 May 04:37
Compare
Choose a tag to compare

Support for React Native 0.71

β€’ Incubator.Dialog - fix RN Modal native calls on RN71 (#2573)
β€’ Incubator.Dialog - fix test after RN71 bug fix (#2575)

🎁 Features

β€’ Incubator.Slider - fix onValueChange throttle (#2598)
β€’ ColorPicker - add 'migrate' prop to use new Slider Implementation (#2598)
β€’ ActionSheet - support labelStyle in options (#2564)
β€’ SegmentedControl - add segmentStyle prop (#2563)
β€’ Add setBreakpoints and getPageMargins (#2576)
β€’ Slider, GradientSlider, ColorSliderGroup - adding 'migrate' prop to allow using Incubator Silder instead of the old implementation. NO breaking changes. (#2592)
β€’ Modal.TopBar - Support subtitle and subtitleStyle (#2594)
β€’ SortableList - add itemProps prop (#2561)

πŸ•ΈοΈ Web support

β€’ Export FlashList dependency for the web. (#2559)
β€’ Changed the FlashList require syntax. (#2569)

πŸ”§ Fixes

β€’ Hint - fix anchor position for x = 0 (#2556)
β€’ CharCounter fix to count emojis, counting 16-bit code symbols. (#2570)
β€’ WheelPicker missing data in Android bug fix, passing maxToRenderPerBatch to the FlatList when using Android. Solve RN FlatList issue. (#2558)
β€’ TextField, FloatingPlaceHolder animation fixed, no overlapping on the initial text. (#2591)
β€’ Picker - fix listProps type to be Partial (#2596)

βš™οΈ Maintenance & Infra

β€’ SortableList - add driver and test (#2568)
β€’ SortableList - newHeight in tests (#2571)
β€’ Fix TS issues (#2585)
β€’ HintsScreen - allow configuration (#2590)
β€’ DateTimePicker - add validate (#2601)
β€’ Calendar - adding functionality to phase 0 (#2503)
β€’ Align LogService with console (#2577)
β€’ ⚠️ Replacing 'react-native-text-size' with wix fork (#2542)
β€’ SortableGridList - add basic presenter tests (#2586)
β€’ Upgrade reanimated to 2.17 (#2587)
β€’ Move to reanimated 3 (#2593)
β€’ iOS - set demo's min deployment to iOS 13.0 and change bundle id to allow running on iOS device (#2597)

7.3.0

13 Apr 09:02
Compare
Choose a tag to compare

🎁 Features

β€’ Adjust default overlayBackgroundColor to Colors.rgba(Colors.backgroundInverted, 0.3) (#2554)
β€’ Expose a TextFieldRef type that users can use for a ref they pass to TextField (#2528)
β€’ export TextFieldValidator type (#2532)
β€’ PickerItem in multi mode - send selected to onPress (#2537)
β€’ Omit alignment props (top, left, right, bottom) from being passed on to Text and TextInput components to avoid a crash on Android (RN71) (#2540)
β€’ Added testID to DateTimePicker components. (#2545)

πŸ”§ Fixes

β€’ TextField - Do not ignore defaultValue when validating onBlur (#2520)
β€’ Fix Picker component to support web - fixed issues: useDialog mode, Multi-select mode, and TopBar icons fixed. (#2450)
β€’ Fixed Paths on migrating guide: TextField and WheelPicker (#2524)
β€’ Fixed Hint position on RTL. (#2541)
β€’ Use unpack style util for SortableListItem component shadows issue. (#2546)
β€’ Fix Avatar label sizes (#2548)
β€’ Remove Card.Section extra (visible) border (#2549)
β€’ ⚠️ Fix crash on Android following RN71 (flex shadow node) (#2536)
β€’ Fixed margin for Chip component when both leftElement and rightElement are provided. (#2534)

πŸ’‘ Deprecations & Migrations

β€’ ⚠️ Move to react-native-mmkv (BREAKING CHANGE - remove some functionality from Config). (#2533)

βš™οΈ Maintenance & Infra
β€’ New colors screen. (#2510)
β€’ Bump activesupport from 6.1.7 to 6.1.7.3 (#2539)
β€’ RN71 upgrade (#2504)

7.2.0

08 Mar 09:41
Compare
Choose a tag to compare

🎁 Features
β€’ Support passing dark threshold to Colors.isDark util (#2505)

πŸ”§ Fixes
β€’ Fix new DialogHeader empty string title/subtitle (#2508)
β€’ Incubator.Slider - Fix active track when thumb overlapping. (#2502)
β€’ Fix SkeletonView duplicate testID's. (#2513)

βš™οΈ Maintenance & Infra
β€’ Update dependencies for expoExample demo for compatible with the latest expo (v48)
β€’ docs: update typo in Colors page (#2512)
β€’ RN71 Upgrade (#2504)

7.1.0

22 Feb 12:26
Compare
Choose a tag to compare

πŸš€ What’s New?

β€’ New Incubator.Slider with Reanimated (#2448)

🎁 Features

β€’ Picker.Item - add onPress support (#2500)

πŸ’‘ Deprecations & Migrations

β€’ Add migration to TextField errorMessage and fix validationMessagePosition type (#2498)

7.0.0

16 Feb 13:37
Compare
Choose a tag to compare

New Major Version! πŸŽ‰

For a full list of (breaking) changes and new features please follow our migration guide

https://wix.github.io/react-native-ui-lib/docs/getting-started/v7

6.31.0

15 Feb 09:32
Compare
Choose a tag to compare

🎁 Features

β€’ Pass Picker's listProp to wheelPicker (#2461)
β€’ Incubator.TextField - add readonly state (#2455)

πŸ”§ Fixes

β€’ Colors - fix getTintColor - get key from a single digit (ex. green1, green5) (#2452)
β€’ Incubator.TextField - handle long validationMessage with char count (#2460)
β€’ refactor TouchableOpacity forwarding event on onPress and onLongPress (#2462)

πŸ’‘ Deprecations & Migrations

β€’ ColorPicker style prop deprecation. (#2444)

βš™οΈ Maintenance & Infra

β€’ Add FlashList to optional dependencies (#2454)
β€’ TextField package exports TextFieldMigrator instead of index (#2453)

6.30.0

08 Feb 09:03
Compare
Choose a tag to compare

🎁 Features

β€’ Add a package for our Constants (#2442)
β€’ ColorSwatch new unavailable mode. (#2425)

πŸ”§ Fixes

β€’ Checkbox + RadioButton - fix long labels are stretching outside their container (#2446)
β€’ Fix TouchableOpacity press handlers typing (#2447)

βš™οΈ Maintenance & Infra

β€’ Support injecting a BI logger in our LogService (#2434)
β€’ react-native-linear-gradient version upgrade to 2.6.2. (#2445)
β€’ Incubator.Dialog - support headless tests (#2443)

6.29.0

26 Jan 07:40
Compare
Choose a tag to compare

🎁 Features

  • Incubator.WheelPicker - allow sending FlatListProps (#2417)
  • Toast - update action design (#2426)

πŸ”§ Fixes

  • TextField - useFieldState - revert the condition adding (#2415)
  • TextField - fix onChange when providing default value (#2422)
  • TextField - fix value override (#2427)
  • TextField - fix defaultValue condition (#2432)
  • Picker - do not ignore accessibility props (#2416)
  • TouchableOpacity - fix ignored 'event' param in onPress (#2423)
  • Web - fix load svg tag data (#2410)

βš™οΈ Maintenance & Infra

  • Bump SVG package (#2418)
  • Incubator.Dialog - add note to API about lists (#2431)
  • SortableList - add note to docs about missing items (#2433)
  • podspec should point to lib (#2438)

6.28.0

11 Jan 09:23
Compare
Choose a tag to compare

πŸ”§ Fixes

β€’ Switch - change thumb color (#2393)
β€’ webDemo app react-native-colors error fix by adding the repo path to the webpack config file. (#2395)
β€’ TextField - fix defaultValue not changing (#2388)
β€’ TextField - fix web style (#2387)
β€’ Fix flex issue in TextField validation message when passing centered (#2402)
β€’ Avatar - don't render ribbon when there's a custom ribbon (#2396)
β€’ Avatar - fix Badge color (#2408)
β€’ TextField - fix dummyPlaceholder style (#2390)
β€’ ⚠️ Image - pass 'width' and 'height' to image style to fix layout props not applied to Image without 'style'. (#2384)
β€’ Image - fix width and height support bug (#2414)
β€’ TextField - fix validatingOnChange executed on start when providing defaultValue (#2411)

βš™οΈ Maintenance & Infra

β€’ Incubator.Dialog - use new Gesture API + refactor (#2409)

6.27.0

27 Dec 13:50
Compare
Choose a tag to compare

🎁 Features
β€’ ⚠️ NumberInput - support theme and generify useThemeProps (#2370)
β€’ Dash: adding testID prop (#2382)

πŸ”§ Fixes
β€’ Fix Incubator.TextField for react-native-web (#2374)
β€’ Fix Incubator.Dialog's fader view not being shown sometimes (#2379)
β€’ Incubator.TextField - fix centered prop not centering the text in some scenarios. (#2375)
β€’ Fixes Invariant Violation KeyboardTrackingissue #2204 ViewTemp (#2264)
β€’ Fix ios Podspec issues (#2383)
β€’ Fix flex issues with TextField when rendered in a row container (#2391)
β€’ Fix badge colors and example screen (#2392)

βš™οΈ Maintenance & Infra
β€’ api - fix code snippets (#2376)
β€’ rnuilib-snippets extension - updating snippets (#2377)