Releases: wix/react-native-ui-lib
6.31.0
π 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
π 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
π Features
π§ Fixes
- TextField - useFieldState - revert the condition adding (#2415)
- TextField - fix
onChangewhen providing default value (#2422) - TextField - fix value override (#2427)
- TextField - fix
defaultValuecondition (#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
6.28.0
π§ 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 - 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
π Features
β’
β’ 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
π 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)
β’
6.25.0
π 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
π 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
π 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
π 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