Releases: wix/react-native-ui-lib
7.35.0
π Features
β’ Add useDebounce hook (#3365)
β’ TextField - add timeoutOnChange to allow debouncing of error handling (#3365)
β’ Add textColor and backgroundColor props to DateTimePicker component (#3481)
π§ Fixes
β’ TabBarItem - onPress taken from props at the beginning. (#3389)
β’ Added support for react-native-svg
14 and higher. (#3394)
β’ SegmentedControl - Added export of presets enum. (#3415)
β’ TabController
support RTL on IOS and Android. (#3456)
β’ ColorPicker - reduce lag with Incubator.Slider (#3468)
βοΈ Maintenance & Infra
β’ Infra/update docusaurus 3.6.1 (#3377)
β’ Constants.ts - Fixed StatusBarManager being undefined with new RN architecture. (#3425)
β’
β’ Update uilib-native version (#3480)
β’ Bump rexml from 3.3.6 to 3.3.9 (#3325)
β’ Bump cross-spawn from 6.0.5 to 6.0.6 (#3432)
7.34.0
π Whatβs New?
β’ Upgrade support to React Native 0.73 (#3264)
βοΈ Maintenance & Infra
β’ Docs playground (live-code
) device wrapper to simulate Mobile
device. (#3351)
β’ Adjust ratio in docs section between header and content (#3353)
β’ TabController support RTL on IOS and Android (#3456)
7.33.0
π Features
β’ Add Colors.getColor
API for getting a color in a specific schemeType regardless to current scheme. usage: Colors.getColor('$backgroundPrimaryHeavy', 'light')
(#3294)
π§ Fixes
β’ Fix sortable list components flexMigration (#3308)
β’ Move from npmignore to files in order to fix the native components packaging (#3319)
β’ Incubator package - fix typings (#3318)
β’ Picker - Fix dialog UI when passing useDialog (#3331)
β’ Avatar - Fix infinite animation caused by AnimatedImage (#3332)
β’ SortableGridList - single source of truth for itemWidth and itemSpacing (#3275)
βοΈ Maintenance & Infra
β’ Button driver - add getStyle (#3296)
β’ Functional component defaultProps
migrate to parameter props
. (#3311)
β’ Docs - Colors page reformat. (#3307)
β’ ColorPicker.Dialog
exporting ColorPickerDialog
. (#3324)
β’ Docs infra improvements (#3330)
β’ Fix TextField usage in Usage.md page (#3328)
7.32.0
π Features
β’ Support special innerFlexBehavior prop to resolve flex issues with leading/trailing accessory (#3271)
π§ Fixes
β’ SortableGridList - fix number of columns in some iPads (#3274)
βοΈ Maintenance & Infra
β’ Docusaurus - upgrade to version 3.x (#3251)
β’ MaskedInput - add migration message (#3267)
β’ Demo app - add recent screens chips for easy access (#3261)
7.31.0
π Whatβs New?
π Features
β’ Picker driver - add exists (#3243)
β’ Picker - new showLoader
prop while loading/fetching data (#3234)
β’ Stepper - Add new floating
type (#3247)
β’ SortableListItem - allow overriding backgroundColor
(#3255)
π§ Fixes
β’ DateTimePicker - onChange
fixes - only calls onChange when value really changes (#3227)
β’ ColorSwatch - fix borderRadius
when rendering transparent (#3260)
β’ Fix statusBarHeight value to by dynamic when changing orientation (#3257)
βοΈ Maintenance & Infra
β’ ESLint - Added require capture to the no-direct-import rule and custom message functionality (#3220)
β’ uilib-native - add .npmignore (#3245)
β’ Fix text field standalone package that leads to old TextFieldMigrator (#3250)
β’ GestureHandlerRoot - wrap components instead of screens (#3244)
β’ Add SEO tags and upgrade to Docusaurus 2.3 (#3249)
β’ Add a quick message for our users about this change (include Component name, relevant props and general purpose of the PR) (#3254)
β’ Slider - add extra incubator slider props (enabled with migrate only) (#3246)
β’ Bump rexml from 3.2.5 to 3.3.6 (#3225)
7.30.0
π Features
β’ Support rendering TabController inside a ScrollView (with a header) by passing nestedInScrollView
(#3235)
β’ TabController.TabPage - added style prop to TabPage component (#3224)
π§ Fixes
β’ GridView - fix after gridListIItem change (#3001) (#3222)
β’ Button borderWidth
grow outside the container fix for outline button. (#3221)
β’ Chip - changed size typings. (#3230)
β’ Incubator.Dialog - Fixed content renders. (#3231)
β’ Update style when user pass custom style. (#3211)
β’ WheelPicker separators render below the list items. (#3232)
β’ Picker support for Modal overlayBackgroundColor
, removed default color from PickerItemList. (#3233)
β’ TabController - fix indicator when using old reanimated (ignore TS) (#3241)
β’ TextField - update type for validate
prop (#3160)
βοΈ Maintenance & Infra
β’ Upgrading Reanimated (3.8.1) and GestureHandler (2.14.1) + upgrade fixes (#3203)
β’ Button driver - getIconStyle, getLabelStyle functionality. (#3217)
β’ Bump micromatch from 4.0.5 to 4.0.8 (#3237)
7.29.0
π Whatβs New?
π Features
β’ ColorSwatch - support theme and color modifiers (#3209)
β’
β’ SegmentedControl - added label. (#3212)
π§ Fixes
β’ TextField - only require leadingAccessory
to have a ref when needed (i.e. floatingPlaceholder={true}) (#3197)
β’ Hint - Mocked children are hidden when not backdropColor is passed. (#3194)
β’ ProgressiveImage component export (#3213)
β’ Button outlineWidth support zero value. (#3218)
β’ Badge - fix labelStyle's type (#3207)
βοΈ Maintenance & Infra
β’ When passing items as empty array to the Picker, it will report an error. (#3204)
7.28.0
π Whatβs New?
π Features
β’ SortableGridList - New prop orderByIndex. adds support for reordering by index. (#3171)
π§ Fixes
β’ TextField - add margin between bottom elements and char counter, adding tests to validationMessage change (#3185)
β’ TextField - show validation icon only with validation massage (#3189)
β’ SectionsWheelPicker - Fixed driver custom testID capture. (#3193)
β’ TextField screen - fix and improve and fix tests (#3199)
βοΈ Maintenance & Infra
β’ Remove some old unused drivers (#3190)
β’ Remove TabController.TabBar defaultProps (react migration) (#3155)
β’ Gradle 8 update. (#3200)
7.27.0
π Features
β’ SortableList - onOrderChange now sends the old and new index of the changed item. (#3153)
π§ Fixes
β’ Picker - fieldType - fix and align to UX guidelines (#3175)
β’ Allow icon custom style override defaults (#3176)
β’ TextField - fix bottom part: validationMassage, bottomAccessory, helperText and charCounter (#3178)
β’ Picker - remove colon from label on filter fieldType (#3179)
β’ Fix issue with Button's icon color not being overridden when passing iconProps
/iconStyle
(#3180)
β’ Fix Picker not responding to changes (#3181)
β’ DateTimePicker - isValid function added to ref interface. (#3183)
β’ Switch - change off color to $backgroundNeutralHeavy (#3177)
β’ TextField - fix for centered input (#3182)
β’ TextField - show validation icon only with validation massage (#3189)
7.26.0
π Whatβs New?
π Features
β’ DateTimePicker - support confirm/cancel button props. (#3161)
β’ Picker - support renderHeader
in wheel picker mode. (#3165)
π§ Fixes
β’ Button - fix icon coloring issue on Web. (#3158)
β’ Picker - fix field type not showing the selected value. (#3168)
β’ Checkbox - fix crash when using hint on android. (#3170)
βοΈ Maintenance & Infra
β’ Picker - testing coverage. (#3107)
β’ Export assets emojis type. (#3163)
β’ Export emojis as const. (#3164)
β’ Picker - usePickerLabel - add tests. (#3162) revert fix for string value (#3169)
β’ Move mock to tests. (#3152)
β’ Rename sub components to match their file name. (#3152)
β’ New docs do not require fake components, all typing files should be types.ts
. (#3151)
β’ Dialog.driver - improve API. (#3157)
β’ TextField - test new features (helperText, validationIcon, clearButton) and presets. (#3125)
β’ TextField - clearButton tests - fix snapshot and driver. (#3159)
π‘ Deprecations & Migrations
β’ Picker types arrangement - new props, props deprecation. (#3149)
OTHERS
β’ Update README.md - add link to Figma library (#3167)
HotFix 7.26.1
- Picker - fieldType - fix and align to UX guidelines (#3175)
HotFix 7.26.2