19 Commits

Author SHA1 Message Date
Andrew Overton
62ccb5c72f [Multiple components] Audit recent docs changes, part 2
Closes https://github.com/material-components/material-components-ios/pull/10135

PiperOrigin-RevId: 345473101
2020-12-03 09:54:14 -08:00
Andrew Overton
8759533368 [BottomNavigation] Replace bottom navigation README
This PR replaces the bottom navigation readme as part of b/151662303.

Closes https://github.com/material-components/material-components-ios/pull/10005

PiperOrigin-RevId: 314605625
2020-06-03 14:35:12 -07:00
Rob Moore
5b2b452bb5 [BottomNavigation] Correct accessibilityLabel docs
The documentation for `accessibilityLabel` did not reflect the latest support for receiving it from the UITabBarItem.

PiperOrigin-RevId: 309999763
2020-05-05 12:37:47 -07:00
Andrew Overton
3a92bc4acb
Deprecate MDCBottomNavigationTypography themer and update docs (#9156)
Related to #9158.
2019-12-06 14:02:06 -05:00
Robert Moore
d58c49c7ec
[BottomNavigation] sizeThatFits: ignores safe area (#6717)
The BottomNavigationBar's `sizeThatFits:` method should ignore its
current safe area. The superview or view controller should be
responsible for setting the bar's bounds and positioning it. The bar
itself should focus its sizing methods on its internal contents.

This change includes a migration flag that clients can use to enable the new behavior. This allows the change to be landed internally without making breaking changes to client code. Clients can then update their layout code to correctly account for the safe area.

Affects #6716
2019-02-27 22:15:59 -05:00
Robert Moore
372d6b24f9
No longer using -init for Color Scheme. (#5734)
{MDC iOS} No longer using `-init` for Color Scheme.

Based on the discussions in go/mdc-ios-theming, we should not use the `-init` default initializer. Instead, we should use an explicit set of defaults.

Search regex: '\[\[MDCSemanticColorScheme alloc\] init\]'
2018-11-12 12:54:47 -05:00
Randall Li
ad872244e1
Removed internal links from docs. (#4558) 2018-07-17 10:36:51 -04:00
Cody Weaver
e7b30aa449
[BottomNavigation] Add a11y to README (#4497)
* Add a11y to README

* Update other files needed

* Clear white space

* Fix issues

* Fix issues

* Remove headings

* Fix issues

* Add div

* Fix issues

* Fix issue
2018-07-13 10:10:12 -04:00
featherless
e1e6d249a4
[Docs] Add badges to all components. (#4278)
As part of our readme generator, components can now opt in to displaying badges in their readme.

The badges are generated from https://shields.io/ and are focused on an individual component. We're currently generating the following badges:

- Open bug count.
2018-05-25 11:12:48 -04:00
Jeff Verkoeyen
e7b2b2c8e8 [BottomNavigation] Shrink the gif. 2018-05-03 17:09:56 -04:00
Jeff Verkoeyen
c8b8acabf8 [BottomNavigation] Remove redundant link and update copy. 2018-05-03 17:08:01 -04:00
Jeff Verkoeyen
72ccfa7342 Add gif for bottom navigation and fix alt text in bottom app bar. 2018-05-03 17:05:28 -04:00
featherless
a078a9722d
Standardize the casing for all components to match spec. (#3693) 2018-05-03 15:02:36 -04:00
featherless
da21941afa
Regenerate component docs with automatic API links. (#3673)
Example output:

<img width="468" alt="screen shot 2018-05-02 at 10 33 23 pm" src="https://user-images.githubusercontent.com/45670/39557914-d9512f38-4e58-11e8-824d-60f03bcd1b76.png">
2018-05-02 22:33:55 -04:00
featherless
037bf7d0f0
Flatten all +Extensions CocoaPods targets into standalone targets. (#3572)
This discourages depending on all of a component's extensions and aligns our targets more closely with how we expect them to be imported and depended upon.

This is a breaking change.

Pivotal story: https://www.pivotaltracker.com/story/show/157118721
2018-05-02 10:20:01 -04:00
featherless
d2b8f7618e
[BottomNavigation] Split the documentation into separate articles and run the readme generator. (#3616) 2018-05-01 16:20:37 -04:00
Adrian Secord
7a7293883f
Remove space after triple-backtick Markdown syntax. (#3577) 2018-04-29 09:00:53 -04:00
featherless
d3c5316db0 Generate all themer documentation. (#3562)
* Generate all themer documentation.

* Fix Snackbar vars.

* Fix textfields vars.

* Fix link.

* Fix bottom app bar vars.

* Fix more vars.

* Add home page links.

* Fix typos.

* Fix more links.

* Add ink.

* Tabs.

* Cleanup.
2018-04-27 16:59:03 -04:00
Junius Gunaratne
b218a0a379
[BottomNavigation] Add bottom navigation documentation (#2313)
* Adding documentation

* Use md link style, add bottom nav image
2017-11-07 17:14:12 -05:00