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
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
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