Releases: wix/react-native-ui-lib
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)
7.24.0
π Whatβs New?
π Features
β’ TextField - add 'clearButton', 'onClear' and 'topTrailingAccessory' props (#3113)
π§ Fixes
β’ TextField - fix extra margin at the bottom - don't render Text component if no helperText (#3101)
β’ Fix issue in GridList when passing numColumns 1 (#3103)
β’ FloatingButton - fix gradient when fullWidth (#3112)
β’ TextField - fix validationIcon with no validationMassage and change type to IconProps (#3114)
β’ ChipsInput - fix validation (#3094)
β’ TextField - apply marginT only to the OUTLINE preset (#3123)
β’ Picker - PickerItem key prop extraction when passing items in custom modal mode (#3129)
β’ TextField - fix centered with new topTrailingAccessory (#3132)
βοΈ Maintenance & Infra
β’ outlineDisabled token colors change. (#3098)
β’ Remove NativePicker files and usages. (#3088)
β’ TextField - clean tests (#3118)
β’ New design tokens: outlinePrimaryMedium | black | white (#3127)
β’ Assets - Revert dynamic assets typings. (#3116)
β’ Picker - correct type for onChange
in multi mode (#3091)
7.23.0
π Features
β’ KeyboardAwareInsetsView - add 'offset' prop to control the offset of the pushed content (#3022)
β’ TextField - new outline preset (#3066)
β’ SegmentedControl - New form
preset added. (#3061)
β’ TextField - new features: helperText and validationIcon (#3097)
πΈοΈ Web support
β’ SegmentedControl icon support in web. (#3084)
π§ Fixes
β’ Add examples to api files (#3073)
β’ SegmentedControl - Fixed outline doesn't wrap the entire segment. (#3086)
β’ SegmentedControl - Segments prop is now mandatory. (#3093)
β’ SegmentedControl - Added S1 spacings between icon and label. (#3096)
β’ SegmentedControl - Fix outline sometimes renders as a straight line. (#3099)
β’ Picker support passing items when passing renderCustomModal. (#3081)
π‘ Deprecations & Migrations
β’ Picker prop deprecation - children, migrate (#3078)
βοΈ Maintenance & Infra
β’ Picker screens refactor according to the Picker refactor. (#3080)
7.22.0
π Features
β’ ExpandableSection - add minHeight (#3040)
β’ DesignTokens - add $outlineNeutral token (#3062)
π§ Fixes
β’ GridListItem - Fix unnecessary defaults to allow theme override (#3059)
β’ Assets - Fix loading assets typings to preloaded path. (#3060)
β’ Overlay covering fix when passing borderRadius. (#3058)
β’ Fix GridList and SortableGridList item spacing issue (using gap feature) (#3064)
βοΈ Maintenance & Infra
β’ TextField - move 'default' preset to 'underline' (#3065)
β’ FloatingButton using Shadows Preset (#3071)
β’ Assets - Typing is added to the assets instance after assets are loaded with loadAssetsGroup
. Asset instance no longer returned from loadAssetsGroup
. (#3051)
β’ ComponentDriver - Added extra type to testID. (#3057)
β’ Updated node version to 20. (#3068)
β’ Export TextField validators for external use (#3056)
π‘ Deprecations & Migrations
β’ Start a migration to add flex to SortableList and SortableGridList (#3067)
7.21.0
π Features
β’ ExpandableSection - add minHeight (#3040)
π§ Fixes
β’ WheelPicker - Fix onChange not called when initial value is changed. (#3029)
β’ WheelPicker - Fix onChange not called when selecting an item. (#3037)
β’ TextField - Reverted validation message block not rendered by default. (#3041)
β’ Incubator.Dialog - change overlayBackgroundColor to grey10 with 65% opacity (#3042)
πΈοΈ Web support
β’ TabBarController
fix item size on web. (#3019)
βοΈ Maintenance & Infra
β’ ComponentDriver - Changed props typings. (#3030)
β’ Remove babel-preset-react-native (#3034)
β’ Remove mocha (#3035)
β’ Update babel-plugin-module-resolver (#3036)
β’ Update react-native-svg-transformer (#3038)
β’ Update react-native-mmkv (#3039)
β’ Remove gh-pages (#3043)
π‘ Deprecations & Migrations
7.20.0
π Features
β’ Grid List Item support in horizontal alignment (#3001)
β’ Add throttleTime prop in Slider component (#3020)
π§ Fixes
β’ Fix registry used when running yarn and fix yarn.lock (#3003)
β’ Incubator.Slider - fix 'value' updates (#2994)
β’ [Android] ExpandableSection - fix inner component's animation not working (#2990)
β’ Incubator.Slider - value updates fix flag (#3008)
β’ TextField
bottom view should render the validationMessage
only if the user passed validationMessage
. (#3012)
β’ WheelPickerAlign - fix export (#3016)
β’ Fixing TS error - passing default type to SectionWheelPicker
generic type (#3017)
β’ Slider - fix call onSeekStart only on start (#3018)
β’ Hint passing TestID to the Text component. (#2987)
β’ fix: filter and settings picker placeholder on web (#3014)
β’ Toast - fix PanView not rendered with children. (#3023)
βοΈ Maintenance & Infra
β’ Docs - Added Testing guidelines. (#2996)
β’ SvgImage - Fix svgs with display="block"
causes crashes. (#3004)
β’ WheelPicker - generic value (#2959)
β’ ColorSliderGroup - refactor (#3009)