Skip to content

Releases: wix/react-native-ui-lib

6.31.0

15 Feb 09:32

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

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

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

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

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)

6.26.0

14 Dec 12:07

Choose a tag to compare

πŸš€ What’s New?

β€’ NumberInput - new component (#2333)

🎁 Features

β€’ getSystemColorByHex now has options object with validColors instead of passing validColors array. (#2363)
β€’ Add RTL support (and disableRTL support) to WheelPicker and SectionsWheelPicker. (#2354)

πŸ”§ Fixes

β€’ Fix TextFiled Incubator issues while using trailingAccessory. (#2345)
β€’ Removed the flex prop from button style, rn-web compatibility. (#2364)
β€’ Fix Picker's filter fieldType layout by fixing how we render children prop in TextField (#2369)
β€’ Incubator.TextField - FloatingPlaceholder should float with defaultValue (#2344)

βš™οΈ Maintenance & Infra

β€’ Upgrade reanimated from 2.8 to 2.13 in our demo app (#2353)
β€’ DialogHeader - add code snippet (#2368)
β€’ SortableList and SortableGridList - improve data docs (#2357)
β€’ ⚠️ Removed tests from the npm package (#2333)

6.25.0

01 Dec 07:27

Choose a tag to compare

🎁 Features

β€’ ColorPicker - supports backgroundColor prop. (#2328)

πŸ”§ Fixes

β€’ getTintColor - support options object - fix should reverse on dark prop. (#2321)
β€’ Toast - update background color (#2334)
β€’ FloatingButton - fix outline mode background color on Android. (#2343)
β€’ Incubator.Dialog - fix not opening correctly (#2335)

πŸ’‘ Deprecations & Migrations

β€’ Remove Colors.primary usage (#2338)

βš™οΈ Maintenance & Infra

β€’ Marquee screen now has a scroll view. (#2340)
β€’ react-native-blur - upgrade to 4.3.0 (#2349)

6.24.0

16 Nov 15:43

Choose a tag to compare

🎁 Features

β€’ Incubator.Dialog - allow changing pointerEvents in children (#2318)
β€’ Incubator.Dialog - add imperative handle with dismiss (#2325)

πŸ”§ Fixes

β€’ Incubator.Dialog - hoist static methods (fix statics not working) (#2331)
β€’ ExpandableSection revert, removed useSeparator prop. (#2315)
β€’ Incubator.TextField - fix short text when wrapped with a centered container (#2320)

πŸ’‘ Deprecations & Migrations

β€’ Start deprecation of useNativePicker in favor of useWheelPicker (#2330)

βš™οΈ Maintenance & Infra

β€’ Added display name to Toast component to use config file in private. (#2317)
β€’ ThemeManager - add Theme type (#2327)
β€’ Updated setup link in the docs(#2272)
β€’ Updates Expo Demo SDK to 46.0 and React 18 (#2306)
β€’ Bump react-native-navigation to 7.30.0 (#2319)
β€’ Fix Android build - add exclusiveContent (#2324)

6.23.0

02 Nov 13:02

Choose a tag to compare

🎁 Features

β€’ New Marquee component for sliding text, sliding text bottom up, left right and etc. (#2311)
β€’ Dash - new component for drawing dashed line (#2305, #2308)
β€’ Support for a non-moving row in SortableList component (locked) (#2296)
β€’ Gradient - new component (inc. removing react-native-color dep). (#2309)

πŸ”§ Fixes

β€’ ExpandableSection require cycle fix (#2291)
β€’ TextField Presenter getColorByState fix, new util function isDesignToken. (#2290)
β€’ Incubator.Dialog - fix hiding when layout changes (#2299, #2300)
β€’ Incubator.Dialog - remove header's renderContent (#2293)
β€’ Incubator.Dialog - do not show empty header (with only knob and divider) (#2310)
β€’ Fix Colors.loadDesignTokens API (#2302)
β€’ ScrollBar - fix default gradientColor (#2304)

βš™οΈ Maintenance & Infra

β€’ Lock RNN to 7.29.0 to fix Android build (#2297)
β€’ Fixing some new random TS errors. (#2314)
β€’ Add $backgroundElevatedLight token (#2301)
β€’ Update tokens colors (#2303)
β€’ Fix Gemfile syntax error (#2298)

6.22.0

19 Oct 09:06

Choose a tag to compare

🎁 Features
β€’ New behavior for the FloatingButton (#2255)
β€’ Slider - Adding 'reset' function with callback 'onReset', initial values to range slider and 'useGap' prop. (#2248)
β€’ Added generateTokens method for generating design tokens based on chosen color. (#2265)
β€’ Handle Shadows in dark mode (#2242)
β€’ Drawer - Increase swipe threshold (#2249)
β€’ Checkbox - Add FlexModifiers to labelProps (#2243)
β€’ TextArea - use Design Tokens to support dark mode (#2261)
β€’ DateTimePicker - add default themeVariant for dark mode support (#2259)
β€’ Modal - set default backgroundColor (#2267)
β€’ TextField presenter now supports design tokens. (#2275)
β€’ ExpandableSection support using a separator when expanded, feature for List.CollapsableItem (#2279)

πŸ”§ Fixes
β€’ Fix selected card iconColor (#2236)
β€’ Fix modal bg color (#2278)
β€’ IncubatorDialog - Fix no measure occurring and enter animation (#2282)
β€’ Incubator.Dialog - new features and fixes, start a migration in ActionSheet. (#2251)
β€’ View - prioritize backgroundColor prop over bg modifiers (#2286)

βš™οΈ Maintenance & Infra
β€’ Docs - Support components docs notes (#2244)
β€’ Update @types/react-native to 0.68.5 in demo environment (#2260)
β€’ Fix dark mode screen (#2268)
β€’ Fix Typo in docs (#2239)
β€’ Add web playground