Skip to content

Releases: wix/react-native-ui-lib

5.12.4

06 Aug 13:42
Compare
Choose a tag to compare

Fix for Drawer passing onToggleSwipeLeft to Swipeable only when the user passes it.

5.12.1

03 Aug 08:15
Compare
Choose a tag to compare

Fix Drawer left button toggle behavior. Change default bounciness and timing for triggering haptic event.

5.12.0

01 Aug 14:37
Compare
Choose a tag to compare

What's New?

We're happy to introduce RNUILib Packages.
With Packages you can import individual components instead of the whole library, Only components you find necessary for your app.

Why Packages are important?

  • Smaller bundle size - By importing only the components you need, your bundle size will be reduced to the files that were imported.
  • Quicker setup - Avoid installing a long list of peer dependencies and linking native dependencies that you don't need.

Important
In the version we started using react-native-community/picker instead of using React Native core Picker component.
This will require you to install this library as a dependency in your own project (and also pod install it).
This is according to React Native recommendations and plans to deprecate their internal Picker component.

Features

1189046 | Badge - Support passing borderRadius (#865)
c33e9f0 | Add onToggleExpandableModal callback to DateTimePicker (#872)
8d109ab | Switching to 'react-native-community/picker' for Picker native component. (#846)
7e35bcf, 4ce92eb | Drawer now support left toggle swipe (#844)
e35cf04 | Add margin modifiers support to Image component (#853)
69a7911 | Declare testID for Picker.Item
030ea61 | Migrate Drawer to TS (#861)
ab3c347 | Migrate FloatingButton to TS

Bug fixes

d9c0dc5 | Fix a crash (Android) - CustomKeyboardLayout -> clearKeyboardOverlayMode -> NullPointer (#869)
d3af6be | Fix #848 - Fix issue with Picker in mulitselect mode with custom value object structure (#863)
63e9377 | Add numeric size support to Avatar's badge + unit-tests (#850)
6355505 | TS/fix carousel-related typing errors (#856)

Maintenance & Infra

d524bfb | Update KeyboardRegistry example screen
31c34c4 | Update KeyboardInput example screen
d655e51,794d2a1f | Update KeyboardTrackView example screen
00b50ab | Update setup guidelines
997d2ea | Docs - set fixed version to gatsby (#867)
98a9a79 | Update Carousel example screen
0e539fc | Fix export of keyboard components
a2ccee0 | Fix docs broken example links
7989052 | Fix DateTimePicker docs
54c3238 | Fix ButtonScreen TS errors

5.11.0

19 Jul 06:28
Compare
Choose a tag to compare

Features

94a2bb8 | View component support renderDelay prop for delaying rendering content (helpful for improving performance when loading screens)
7e66254 | New HOC withScrollReached - notifies when start\end of scroll (ScrollView\FlatList) has been reached (#828)
db14657 | KeyboardAccessoryView now support safe area api (#827)
c6a7173 | Add backgroundColor prop to Card.Section
c762939 | Support merging multiple typography modifiers on a component (Fix #826) (#831)

Bug Fixes

2af957d | Minor fix in TextField leading icon vertical alignment
ce9c6d5 | Fixed issue with centered TabController's TabBar selected indicator not positioned correctly
873b6d5 | Fixed issue when TextField with validate as 'required' without placeholder renders placeholder as 'undefined *' (#830)
b272134 | Fix Typings for RadioGroup and RadioButton
35433cc | withScrollEnabler - fix hooks and typings (#832)
f6617be | Fix issue in TabController on Android+RTL with focusing selected item (#851)
6f15e45 | Don't treat TextField as multiline when passing expandable
728c223,fcd044453,2f378e7b6 | Migrate Avatar to TS
5d69a78 | Fix ThemeManager API typing
a131f8a | KeyboardInput - rename some more protocols \ interfaces to avoid duplication
4a1662e | export button enums

Maintenance & Infra

9676308 | Infra/tabbar typescript (#839)
3c166c0 | Add stale.yml configuration
819bdac | Migrate Assets to TS
dbe9e7a | Fix missed generic typing for UIComponent
f87c716 | Migrate our demo app to RN62 (#837)
6c4302c | Add prop types:backgroundColor to View and animate to Carousel (#836)
26e7c46 | Fix button static values and other small type fixes (#834)

5.10.2

19 Jul 06:13
Compare
Choose a tag to compare

Fixed issue with centered TabController's TabBar selected indicator not positioned correctly

5.10.1

19 Jul 06:12
Compare
Choose a tag to compare

Minor fix in TextField leading icon vertical alignment

5.10.0

28 Jun 06:06
Compare
Choose a tag to compare

Features

650bd9c, 730e12c, b060aa2 | New component Card.Section
95aa2c3, db0c67a | Drawer support full swipe right and imperative methods for opening drawer (#798)
d8ad586 | Support rendering a leading Icon to TextField (#815)
d83cc6c | new HOC withScrollEnabler (#807)
d5efd35 | Feat/ColorPicker - preview text style prop (#804)

Bug Fixes

d205eb0 | Fix TabController RTL support
16dc0cb, 6628685 | Remove TabController.TabBar optimize prop
2b9b512 | Use theme props for Modal.TopBar component
f3d2ecc | Slider - Fix track to properly use theme (minimum\maximum) color (#818)
1f76880 | Rename CustomKeyboardViewNative --> CustomKeyboardViewNativeTemp for hermes (#825)
9983f27 | Fix #817 - Remove redundant declaration of ref type
a8a1ea9 | feat: run demo app on expo (#812)
ed2812f | typography-deprecation lint rule - JSX should use short version (no Typography prefix) - fix (#810)

Maintenance

062be0e | Refactor typography presets code (#809)
d45e4a7 | Add search icon to our demo app
6598d2e | Support defining Static typings in asBaseComponent
0d660e2 | Migrate Card & Card.Image to typescript (#805)
575ecd7 | Update TextField docs description
2ff0412 | Set foundation presets for our demo app

5.9.0

04 Jun 06:56
Compare
Choose a tag to compare

Features

56a52e9, eslint-plugin-uilib - now supports function-deprecation rule (#780)
5fc09db,acd38bdbb,Infra/optimize tab controller (#803)
5a98b14,Support different fontFamily between selected and non-selected TabBarItem
92e321a,ColorSliderGroup - Allow sending translation to the labels (#782)
52f3b75,d76532eff,Set accessibilityValue to Switch component and update accessibilityStates (#791)
a711e19,Add fade gradient to TabController.TabBar edges when scroll overflows
2e4b00a,add paging for TabController.TabBar in centerSelected mode

Typescript

b25761a,0771f2c54,af4aea2e4,Typescript - RadioButton and RadioGroup (#766)
d5c1aa9,Infra/TS - Checkbox (#789)
5a8e90d,Typescript/image (#775)
8a8df22, Fix typings - change Incubator TouchableOpacity props to be optional
2ae2dc5, Fix typings - change Function type to a more elaborate function type
4ac54cf, Fix missing propTypes validation after migration to Typescript (#797)

Bug Fixes

TextField

72db398,Fix weird android issue with TextField line height
ccee583,TextField - Added handling of array of undefined validations (#802)
e9b5881,Fix/Picker + TextField Ui fixes (#785)
bf433d9,BaseInput Fixed wrong parentheses (#799)
3ec5ba0,Fix/TextField - Unneeded iOS multiline spacing (#781)
a5e11f0,Remove unneeded android input vertical align
792c643,Remove default rightIcon right padding

General

36297d3,KeyboardInput - Fix crash in ReactSoftKeyboardMonitor when window is null (#783)
2333af0,NativePicker - remove panning (it was enabled by mistake in the Dialog migration) (#787)
f1e0f8b,Fix Dialog exit animation on iPhoneX (with bottom safe area) and change the bezier easing values (#793)
8d0b1bf,d02a6817a,Clean injected modifiers object from empty values
0780c42,eslint-plugin-uilib - add missed cases for assets-deprecation (#776)

5.8.0

17 May 07:08
Compare
Choose a tag to compare

Features

526a233,Adding ProgressBar accessibility support (#771)
065a1ab,Support rendering prefix in TextField (#765)
84c11b0,Added validation error feature to TagsInput (#749)
1e9c919,Feat/lint (eslint-plugin-uilib) add typography deprecation (#762)
bffb221,Add our wiki md pages to our docs
68505f2,add link to our expo-snak

eslint-plugin-uilib

bb1660b,5b13328af,7e5369cda,70b100625, New typography-deprecation eslint rule and assets-deprecation fixes

Bug Fixes

72645a5,Move from UIWebView to WKWebView (#764)
fec444b,Fix Carousel jerks in some cases (Jira 372) (#729)
059cd45,Fix issue with TabPage transition delay
3125f0c,use theme props for Toast color
242968d,Fix accessibility props extractor regex test (#770)
6bc8e48,update TagsInput link to example screen
4ba7264,Fix/docs example links (#767)
d0e31ee,Rename LNAnimator to LNAnimatorTemp (#763)
bf4cb28,add missing position modifiers typings
71e8899,fix docs responsiveness

5.7.2

05 May 15:51
Compare
Choose a tag to compare

Replace deprecated UIWebView component
https://developer.apple.com/documentation/uikit/uiwebview