Skip to content

5.16.0

Compare
Choose a tag to compare
@ethanshar ethanshar released this 08 Nov 10:23
· 2152 commits to master since this release

🎁 Features

  • Slider enhancements (#958)
    • Added scale animation to Slider's thumb.
    • Support Slider-track tap to change value
  • Support passing Slider a testID (#999)
  • Checkbox - Add label support (#959)
  • Support rendering top section at ExpandableSection (#983)
  • Incubator.TextField - Add Modifiers support (margins, padding, typography and color)
  • Incubator.TextField - Replace leading/trailingButton prop with a more general API -> leading/trailingAccessory that can accept any element (#980)
  • Add progress type for ProgressBar component (#996)
  • AnimatedScanner - adding 'containerStyle' prop. (#981)
  • Add typings to packaged components (resolves #910) (#979)
  • Create a style package (add a new package to our already provided packages). (#978)

πŸ”§ Fixes

  • Fix bug in Colors.rgba not supporting 3 characters hex (#976)
  • Support custom text in Avatar's badge (#1008)
  • TextField - Fix right icon alignment when 'useTopErrors' and 'floatingPlaceholder are both true. (#997)
  • TextField - Characters counter UX change: text color will change to error color when the user exceeds, not reaches, maxLength. (#982)
  • Carousel - Fix auto scroll on Android notifies (onPageChange) on a page that does not exist (#994)
  • Fix statusBarHeight constant value and how it affect Modal.TopBar layout. (#985)
  • Incubator.TextField - Fix issue with floatingPlaceholder doesn't retain space for the floating state
  • KeyboardTrackingView now allow users to disable the default safe-area space by using useSafeArea={false} (#1017)
  • Fix Constants typings (#975)
  • Fixes TS errors in TouchableOpacity (#1006)
  • Fix FloatingButton visibility bug when visible is initialized to false (#1021)

πŸ’‘ Deprecations & Migrations

  • Migrate from KeyboardAwareListView to KeyboardAwareFlatList (#960)
  • ThemeManager - Starting deprecation process for 'setTheme()' method. (#961)
  • Migrate Picker component's API. Should pass only string|number for value prop
  • Migrate Picker.Item component's API. Should pass value and label props separately. (#986)

βš™οΈ Maintenance & Infra

  • Change generated JS files from TS to have ES6 syntax. (#988)
  • Fix generated JS files to include propTypes (#995)
  • Move PageControl to typescript (#993)
  • Export all common infra typings (#1004)
  • Carousel - migrate to typescript (#1005)
  • Refactor PicketItem component (#1000)
  • Migration of ActionBar and ActionBarScreen to typescript. (#987)
  • Migration of Switch and SwitchScreen to typescript. (#991)
  • Update ExpandableSection's docs (#1020)