BottomNavigation previously had a nil default font, so a default
`button` style font was set. This is too large (and is Medium weight),
so the font should be changed to something smaller. 'Caption' style
looks better.
The `itemTitleFont` property was not defaulted to a non-nil value, breaking
the API header contract. It was also not being applied when the set of items
in the bar were changed.
Closes#2734Closes#2735
* Use framework-style imports.
MDFInternationalization is built as a framework, so use the style
recommended to import from the framework (#import <...>).
MotionAnimator and MotionInterchange mixed the normal style import
and the framework style import; settle them on the framework style.
* Update MDCActivityIndicator.m
Re-order to match our style guide.
* Update MDCBottomNavigationBar.m
Re-order to match our style guide.
* Update MDCBottomNavigationItemView.m
Re-order to match style guide.
* Update MDCBottomAppBarView.m
* Update MDCButtonBar.m
* Update MDCAppBarButtonBarBuilder.m
* Update MDCAppBarButtonBarBuilder.m
* Update MDCCollectionViewCell.m
* Update MDCAlertController.m
* Update NavigationBarIconsExample.m
* Update MDCNavigationBar.m
* Update MDCItemBarCell.m
* Update MDCTextField.m
* Update MDCThumbTrack.m
* Adding bottom nav component
* Add bottom navigation item
* Add nav item and cell badge classes
* Add badge color
* Update Bottom Nav Item
* Use KVO
* Update centering for orientation change
* Update badgeValue property
* Add nav bar container view for items
* Check text height when setting frame
* Update badge height calculation
* Add select and unselected color, add icons for demo, RTL support
* Add MDCMath as dependency
* Add demo description to example
* Add selection states for hiding item titles on select
* Change hide state name to default
* Rename view to bar
* Update nullability
* Rename properties for consistency with UITabBar
* Rename container view
* Update selected item property name
* Rename properties for consistency with UITabBar
* Rename classes, formatting
* Replace custom badge layer path with corner radius
* Remove MDCMath as dependency, update formatting
* Update layout to accommodate iPhone X
* Remove unused constant
* Move autoresizing to init
* Update landscape mode layout, add interim selection state
* Remove safeAreaInsetsDidChange
* Separate layout from setSelected
* Update landscape item layout
* Add landscape layout states, update sizeThatFits
* Update some setters, properties and formatting
* Update to dot setter syntax
* Change how image tintColor is modified
* Add i18n and a11y support for VoiceOver
* Update s/copy/strong
* Add a11y selected indicator
* Minor formatting updates
* Minor formatting
* Fix order of operations for remove item views
* Only permit badge color change if iOS 10 or higher.
* Add support for RTL for item adjacent titles
* Spelling correction in comments.
* Update title visibility enum names
* Update title visibility enum names
* Update title visibility names
* Remove 3-5 item requirement and change to recommendation
* nullability updates, distribution mode updates
* Add UIAppearance
* Lower bottom nav height when using adjacent titles
* Changing color/font properties to nonnull.
* Add bottom navigation color themer
* Update bottom nav bar main view so it's not an a11y element
* Add shadow to bottom nav
* Make imageview non a11y element.
* Adding tab a11y string
* Remove comment
* Rename distribution enum to alignment, stylistic updates
* Move badgeValue out of setters section
* Add check for iOS 10 when using badge color
* Remove newer availability checks
* Remove unncessary call to viewSafeAreaInsetsDidChange
* Add @available(iOS 11.0, *) check
* Fix badge color iOS version check
* Fix minor typo
* Add shadow layer and elevation dependency to podspec
* Remove (@available(iOS 10.0, *))
* Remove code diff
* Update podspec
* Code style updates, improve comments
* Add theming to swift example
* Adding bottom nav component
* Add bottom navigation item
* Add nav item and cell badge classes
* Add badge color
* Update Bottom Nav Item
* Use KVO
* Update centering for orientation change
* Update badgeValue property
* Add nav bar container view for items
* Check text height when setting frame
* Update badge height calculation
* Add select and unselected color, add icons for demo, RTL support
* Add MDCMath as dependency
* Add demo description to example
* Add selection states for hiding item titles on select
* Change hide state name to default
* Rename view to bar
* Update nullability
* Rename properties for consistency with UITabBar
* Rename container view
* Update selected item property name
* Rename properties for consistency with UITabBar
* Rename classes, formatting
* Replace custom badge layer path with corner radius
* Remove MDCMath as dependency, update formatting
* Update layout to accommodate iPhone X
* Remove unused constant
* Move autoresizing to init
* Update landscape mode layout, add interim selection state
* Remove safeAreaInsetsDidChange
* Separate layout from setSelected
* Update landscape item layout
* Add landscape layout states, update sizeThatFits
* Update some setters, properties and formatting
* Update to dot setter syntax
* Change how image tintColor is modified
* Add i18n and a11y support for VoiceOver
* Update s/copy/strong
* Add a11y selected indicator
* Minor formatting updates
* Minor formatting
* Fix order of operations for remove item views
* Only permit badge color change if iOS 10 or higher.
* Add support for RTL for item adjacent titles
* Spelling correction in comments.
* Update title visibility enum names
* Update title visibility enum names
* Update title visibility names
* Remove 3-5 item requirement and change to recommendation
* nullability updates, distribution mode updates
* Add UIAppearance
* Lower bottom nav height when using adjacent titles
* Changing color/font properties to nonnull.
* Update bottom nav bar main view so it's not an a11y element
* Add shadow to bottom nav
* Make imageview non a11y element.
* Adding tab a11y string
* Remove comment
* Rename distribution enum to alignment, stylistic updates
* Move badgeValue out of setters section
* Add check for iOS 10 when using badge color
* Remove newer availability checks
* Remove unncessary call to viewSafeAreaInsetsDidChange
* Add @available(iOS 11.0, *) check
* Add bottom navigation Swift example
* Fix badge color iOS version check
* Fix minor typo
* Add shadow layer and elevation dependency to podspec
* Remove (@available(iOS 10.0, *))
* Stylistic updates
* Adding bottom nav component
* Add bottom navigation item
* Add nav item and cell badge classes
* Add badge color
* Update Bottom Nav Item
* Use KVO
* Update centering for orientation change
* Update badgeValue property
* Add nav bar container view for items
* Check text height when setting frame
* Update badge height calculation
* Add select and unselected color, add icons for demo, RTL support
* Add MDCMath as dependency
* Add demo description to example
* Add selection states for hiding item titles on select
* Change hide state name to default
* Rename view to bar
* Update nullability
* Rename properties for consistency with UITabBar
* Rename container view
* Update selected item property name
* Rename properties for consistency with UITabBar
* Rename classes, formatting
* Replace custom badge layer path with corner radius
* Remove MDCMath as dependency, update formatting
* Update layout to accommodate iPhone X
* Remove unused constant
* Move autoresizing to init
* Update landscape mode layout, add interim selection state
* Remove safeAreaInsetsDidChange
* Separate layout from setSelected
* Update landscape item layout
* Add landscape layout states, update sizeThatFits
* Update some setters, properties and formatting
* Update to dot setter syntax
* Change how image tintColor is modified
* Add i18n and a11y support for VoiceOver
* Update s/copy/strong
* Add a11y selected indicator
* Minor formatting updates
* Minor formatting
* Fix order of operations for remove item views
* Only permit badge color change if iOS 10 or higher.
* Add support for RTL for item adjacent titles
* Spelling correction in comments.
* Update title visibility enum names
* Update title visibility enum names
* Update title visibility names
* Remove 3-5 item requirement and change to recommendation
* nullability updates, distribution mode updates
* Add UIAppearance
* Lower bottom nav height when using adjacent titles
* Changing color/font properties to nonnull.
* Update bottom nav bar main view so it's not an a11y element
* Add shadow to bottom nav
* Make imageview non a11y element.
* Adding tab a11y string
* Remove comment
* Rename distribution enum to alignment, stylistic updates
* Move badgeValue out of setters section
* Add check for iOS 10 when using badge color
* Remove newer availability checks
* Remove unncessary call to viewSafeAreaInsetsDidChange
* Add @available(iOS 11.0, *) check
* Fix badge color iOS version check
* Fix minor typo
* Add shadow layer and elevation dependency to podspec
* Remove (@available(iOS 10.0, *))