Releases: wix/react-native-ui-lib
7.34.0
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
7.25.0
🚀 What’s New?
• Modal support closing on Android back button press. (#3138)
🔧 Fixes
• Fix nesting image style props in Image component with children (overlay, content).. (#3131)
• TextField - clearButton - fix animation (#3136)
• TextField remove of centerV
only in Android from the Label
View wrapper. (#3140)
• Image passing borderRadius
to style. (#3148)
⚙️ Maintenance & Infra
• TextField - screen for snapshot tests (#3143)
• TextField - fix screen cases for snapshot tests (#3145)
• getItemLabel type changed since it's not deprecated (#3137)
• TextField Screen snapshot test. (#3142)
• Hint message prop type fix. (#3146)
• Improved HintProps typing (#3133)
• Update example in TextField (#3139)