Material Components v55.3.0 Release Notes
-
๐ This minor release includes added customization to
MDCDialogPresentationController
, better topLayoutGuide support forMDCFlexibleHeader
, doc improvements and other small bug fixes.๐ New features
๐ Flexible header has a new behavioral flag for opting in to better topLayoutGuide support. This is primarily useful when using the flexible header container view controller. To opt in to this new behavior, do the following:
let container = MDCFlexibleHeaderContainerViewController() container.isTopLayoutGuideAdjustmentEnabled = true
๐ Dialogs now offer customizable cornerRadius support to enable proper shadowing. You can set the dialog corner radius like so:
// We set the corner radius to adjust the shadow that is implemented via the trackingView in the // presentation controller. if let presentationController = presentedController.mdc_dialogPresentationController { presentationController.dialogCornerRadius = presentedController.view.layer.cornerRadius }
API changes
๐ Dialogs
MDCDialogPresentationController
๐ new property:
dialogCornerRadius
inMDCDialogPresentationController
FlexibleHeader
MDCFlexibleHeaderContainerViewController
๐ new property:
topLayoutGuideAdjustmentEnabled
inMDCFlexibleHeaderContainerViewController
๐ MDCFlexibleHeaderViewController(ToBeDeprecated)
๐ new category:
MDCFlexibleHeaderViewController(ToBeDeprecated)
๐ moved method:
-updateTopLayoutGuide
from classMDCFlexibleHeaderViewController
to categoryMDCFlexibleHeaderViewController(ToBeDeprecated)
MDCFlexibleHeaderViewController
๐ new property:
topLayoutGuideAdjustmentEnabled
inMDCFlexibleHeaderViewController
๐ new property:
topLayoutGuideViewController
inMDCFlexibleHeaderViewController
Component changes
Tabs
๐ Changes
- We should not force viewDidLoad when ViewControllers are set. (#4230) (Mohammad Cazi)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
๐ FeatureHighlight
๐ Changes
- View should not be loaded unless it's explicitly called or presented. (#4234) (Mohammad Cazi)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
- we dismiss and present feature highlight from the new spot. (#4300) (Mohammad Cazi)
AppBar
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
Buttons
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
ButtonBar
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
TextFields
๐ Changes
- Correcting copy mistake. (#4281) (Will Larche)
- Corrects obscure bug of height. (#4297) (Will Larche)
- ๐ Documentation update (#4295) (Will Larche)
- Fix notification parameter type (#4249) (Robert Moore)
- Fix text area placeholder (#4274) (Will Larche)
- Post SetText notifications for attributed text (#4282) (Robert Moore)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
Chips
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
Snackbar
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
Cards
๐ Changes
- ๐ Fix the cards docs image asset. (Jeff Verkoeyen)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
BottomAppBar
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
Slider
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
NavigationBar
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
ActivityIndicator
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
BottomSheet
๐ Changes
- Add an app bar to the typical use example. (#4268) (featherless)
- Fix layout issues caused by invoking self.dismissOnBackgroundTap in -init (#4241) (featherless)
๐ Dialogs
๐ Changes
- Add customizable cornerRadius to enable proper shadowing (#4233) (ianegordon)
- AlertController button layout issue (#4291) (ianegordon)
- Setting Properties on Alert controller will not force the view to load. (#4238) (Mohammad Cazi)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
BottomNavigation
๐ Changes
- Correct long title layout (#4303) (Robert Moore)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
PageControl
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
FlexibleHeader
๐ Changes
- ๐ Fixed behavior for top layout guide and safe area insets. (#4214) (featherless)
- ๐ [Docs] Add badges to all components. (#4278) (featherless)
ProgressView
๐ Changes
- ๐ [Docs] Add badges to all components. (#4278) (featherless)