15 Commits

Author SHA1 Message Date
Andrew Overton
9cc66610ec [Chips] Replace Chips docs
Closes https://github.com/material-components/material-components-ios/pull/10088

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10088 from andrewoverton:material-io-chips-docs b7710bfeee624db847b3c8fdb4075e208c9d9f00
PiperOrigin-RevId: 335025863
2020-10-02 07:57:33 -07:00
featherless
738e82aede
[Chips] Add tips about "Adjusting chip sizes after changing the label". (#9852)
Closes https://github.com/material-components/material-components-ios/issues/9790
2020-03-06 10:31:57 -05:00
Bryan Oltman
7491ff4071
[Chips] Remove Themer references from README (#9149)
* [Chips] Remove Themer references from README

* More doc cleanup

* Remove unsupported section from README ToC
2019-12-06 12:49:28 -05:00
Robert Moore
c5188966f6
[Cards, Chips, Tabs] Fix theming docs. (#8431)
Formatting errors in the Theming Extension sections resulted in Markdown
rendering errors.

Part of #7162
Follow-up to #7193
Follow-up to #7194
2019-09-10 10:09:37 -04:00
Wenyu Zhang
47cef3068a
[Chips] add missing theming extension documentation. (#7194) 2019-04-22 15:11:14 -04: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
Yarden Eitan
d7f566994a
[Docs] Adds the shape themer API to the supporting components using the doc generation (#5464)
This PR adds the shape theming API documentation using the doc generation script improvements that were added in PR #5463 .

To achieve this, I added into the .vars files of the supported components the missing variables, and ran the script `scripts/apply_all_templates`. Then I ran `scripts/generate_readme component` for the components that have been added the `shape-theming.md` file, so it is seen in the actual README.md of the component.

Specifically, Bottom Sheet was using the old method of documentation, and wasn't using the right generation method, so it's doc content was just copied to the right location to allow its generation to work well as well.

Closes #5319
2018-10-19 17:05:50 -04:00
Cody Weaver
f233981e2f
[Chips] Add client the ability to delete chips in a chip field (#5135)
This adds the ability for clients to delete chips within a chip field. 

Within the unit test I couldn't simulate touchUpInside so I felt this was the best option. A client cannot get this behavior unless if they set the flag `showChipsDeleteButton`.

Closes #4787
2018-09-15 23:04:34 -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
fc6f997f6c [Chips] Update the intro copy. 2018-05-04 09:29:56 -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
Mohammad Cazi
2835de1ac5
[Chips] Auto Generated README update. (#3621)
* chips readme components added and autogenerated a new chip readme.

* readme updates.

* change component name to chips.

* short description was missing.

https://github.com/material-components/material-components-ios/pull/3621
2018-05-01 17:08:40 -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