38 Commits

Author SHA1 Message Date
Jeff Verkoeyen
34b6d20dca [TextFields] Delete all examples, tests, and documentation.
The component is deprecated. As per our deprecation policy, this means we no longer provide any examples, tests, documentation, or guarantee of runtime stability.

PiperOrigin-RevId: 454725687
2022-06-13 16:36:17 -07:00
Andrew Overton
07c46757cc Replace material.io API doc links with links to the relevant header f…
This PR replaces API links containing "/api-docs/" with links to suitable header files in GitHub because the site previously linked to is being taken down and replaced with something that won't handle API docs.

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

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10045 from andrewoverton:replace-mio-api-docs-with-github-links 0d6e56cc11d0c147366a4f6cde829d8b51567ecc
PiperOrigin-RevId: 323424362
2020-07-27 13:09:23 -07:00
Andrew Overton
512d6a0049 Replace TextControls documentation
This PR primarily replaces the TextControls README with a different README. It also makes the TextControls README the source of the default TextField docs on material.io.

Preview the changes at: https://github.com/andrewoverton/material-components-ios/tree/material-io-text-field/components/TextControls

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

PiperOrigin-RevId: 306473798
2020-04-14 11:05:09 -07:00
Andrew Overton
d26c963b75 [TextFields] Update TextFields docs
This PR removes docs for MDCTypographyThemer. I noticed this stuff was still here when I got automatically unassigned from [b/145205327](http://b/145205327).

Planning to copybara this in.

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

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/9948 from andrewoverton:delete-typography-theming-docs 0c68b8db5ee7aff45792544e3adbce1c60b3c1bf
PiperOrigin-RevId: 302511391
2020-03-23 14:05:17 -07:00
Bryan Oltman
85f6dd9c09
[TextFields] Remove references to MDCTextFieldColorThemer from README (#9151)
`MDCTextFieldColorThemer` has been deleted, and should no longer be referenced in the README.

Addresses #9083
Addresses #9084
Addresses #9085
Addresses #9112
2019-12-06 12:58:27 -05:00
Randall Li
1eaff651f9 Reran ./scripts/generate_all_readmes (#8557)
Moved changes from https://github.com/material-components/material-components-ios/pull/7360 to the source Readme file

Also some readme files got a minor addition to add `./` in their generation comment
2019-10-11 10:44:43 -04:00
Andrew Overton
eaf2489303
[Dialogs, TextFields] Update docs (#7209)
#7187 and #7184 graduated Buttons and TextFields theming extensions to ready, but didn't update the docs. Similarly, #7190, which has not yet been merged in, is not updating the docs to reflect the graduation of the Dialogs theming extension to ready.

This PR updates docs for Dialogs and TextFields theming extensions to reflect them being marked ready. Once #7190 is merged in the Dialogs changes here will be accurate.

I will address the out-of-date Buttons docs once #7206 is merged in.
2019-04-22 14:12:04 -04:00
featherless
c8f3973d4a
[scripts] Fix relative link rewriting. (#7205)
Context is in the associated issue.

This affects the perl expression that prepends `docs/` to local urls. Specifically, it makes the perl expression only modify urls that link to a sibling markdown file composed of `\w` characters (e.g. `theming.md`). This is not perfect, but it addresses our needs for now. If/when we encounter other types of local urls that we can address them separately.

For now, this change fixes the incorrect behavior described in the associated bug.

Closes https://github.com/material-components/material-components-ios/issues/7203
2019-04-22 15:45:10 +03:00
Andrew Overton
ecbad697e8
[TextFields] Outlined Textfield Theming Extension (#7082)
* Add MDCTextInputControllerOutlined theming extension

* Add theming docs

* Ran clang format

* Fix outlined text field color theming tests
2019-04-09 11:40:40 -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
Andrew Overton
4745d80b40
[TextFields] Add accessibility docs for MDCTextField (#4498)
* Add accessibility docs for MDCTextField

* Try to fix readme situation
2018-07-12 15:53:36 -04:00
ianegordon
fec408500a
[Documentation] Update TextField README.md (#4352)
Closes #3334
2018-06-04 22:25:04 -04:00
Will Larche
520ac156a3
[TextFields] Documentation update (#4295)
* [TextFields] Documentation update.

* [TextFields] Punctuation.
2018-05-29 10:29:56 -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
dd122f98a8 [TextFields] Regenerate the readme. 2018-05-04 12:54:30 -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
91eca05769
[scripts] Ensure that asset urls are remapped when generating readmes. (#3640) 2018-05-01 23:39:10 -04:00
Mohammad Cazi
c18026c59e
[Textfields] readme auto generated update. (#3628)
* textfield readme autogenerated.

* usage positioning was wrong.

https://github.com/material-components/material-components-ios/pull/3628
2018-05-01 17:16:35 -04:00
Adrian Secord
7a7293883f
Remove space after triple-backtick Markdown syntax. (#3577) 2018-04-29 09:00:53 -04:00
Adrian Secord
72045ffd6d
[Docs] Updated known short link destination URLs to use short links. (#3575)
* Updated known shortlink destination URLs to use short links.

* Updated stray links in the CHANGELOG.md.

* Fixed FAB shortlink.

* Applied replacements to everything outside of components/.
2018-04-28 11:27:59 -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
Mohammad Cazi
0974e71428
Textfield Readme.md mistake.
applySemanticColorScheme
2018-04-26 16:03:08 -04:00
Mohammad Cazi
8f3cf237be
Update TextField Themer Section README.md (#3523)
* Update TextField Themer Section README.md

* Update README.md

minor fixes

* Update README.md

minor fixes

https://github.com/material-components/material-components-ios/pull/3523
2018-04-26 15:55:59 -04:00
yokoe
37e7217910 [TextField] Fix MDCTextInputControllerUnderline usage description in README.md (#2950)
Use MDCTextInputControllerUnderline instead of MDCTextInputControllerDefault
https://github.com/material-components/material-components-ios/releases/tag/v43.0.0
2018-02-16 11:04:08 -05:00
Will Larche
b7ec2004ab
[TextFields] Correcting documentation (#2844)
Overriding cancelled travis since this is for a .md file only.
2018-01-16 17:27:58 -05:00
Yarden Eitan
6df22d2cd6
Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748)
* [Catalog] Update catalog readme to reflect podspec filename change

* upate podspec

* update spec to extension

* more specific dependency

* added documentation
2018-01-02 16:51:58 -05:00
Scott Hyndman
51da715c26 [TextFields] Fixes a broken link. (#2114) 2017-10-06 12:16:57 -04:00
Will Larche
3fc78fd868 [TextFields] Adding a doc: menu for styles (#2064)
* [TextFields] Beginning to update the docs to show the new controller styles.

* [TextFields] Correcting the name of a file.

* [TextFields] Adding content to controller styles doc.

* [TextFields] Images for the text field styles doc.

* [TextFields] Renaming styling doc.

* [TextFields] Moving doc images.

* [TextFields] Updating image ref paths.

* [TextFields] Text clarity in doc.

* [TextFields] Updated photo.

* [TextFields] Nits of grammar.

* [TextFields] Spelling correction.
2017-09-28 11:25:41 -04:00
Will Larche
e5235ee603 [TextFields] Updating markdown syntax. (#2052) 2017-09-26 13:59:23 -07:00
Scott Hyndman
f465c02cec [TextField] Documentation clean up. (#1868) 2017-08-21 17:05:52 -04:00
Will Larche
e30c9a9f96 [TextFields] Readme update. (#1824) 2017-08-16 19:34:46 -04:00
Scott Hyndman
ffdd9b4c48 Adds api_components_root to TextFields/README.md. (#1788)
This indicates to the site generator that Jazzy should be invoked on this directory.
2017-08-14 14:03:58 -04:00
Will Larche
988dcc9a6a [TextFields] Adding readme metadata. (#1777) 2017-08-10 17:44:34 -04:00
Will Larche
484a82cd8d [TextFields] Corrections to height and frame and better manual layout support (#1525)
* [TextFields] Attempting to correct height problems.

* [TextFields] Rebase.

* [TextFields] Removing testing code.

* [TextFields] Exposing error text for reading.

* [TextFields] Simplifying implementation of underline's centerY.

* [TextFields] Improving constants in manual layout example.

* [TextFields] Expanding a manual layout example to include validation.

* [TextFields] Removing unused method.

* [TextFields] Corrections to intrinsic content size.

* [TextFields] A little more testing.

* [TextFields] Testing another case of height.

* [TextFields] ErrorText tests.

* [EarlGrey] Reverting accidental update.

* [TextFields] Readme update.

* [EarlGrey] Reverting changes.

* [TextFields] Example clarification.
2017-06-19 18:37:44 -07:00
Will Larche
8c5f0a8846 [TextFields] Correcting broken image in readme. (#1489) 2017-06-07 11:58:52 -04:00
Will Larche
acf47c10d1 [TextFields] Single line text fields (#1318)
* [TextFiels] Left View.

* [TextFields] Tile art.

* [TextFields] Left view works with floating.

* [Catalog] Correcting extension identifier.

* [TextFields] Formatting and corrections because of static analyzer.

* [TextFields] Fixes unit tests for change in property name.

* [TextFields] Precision warning correction.

* [TextFields] Examples for .rightView

* [TextFields] Left / right existence tests.

* [TextFields] Truncation for rightView and leftView.

* [TextFields] Placeholder positioning clean up.

* [TextFields] Full width padding.

* [TextFields] Initializer clean up.

* [TextFields] Bounds layout correction.

* [TextFields] Cleanup.

* [TextFields] Organizing constraints.

* [TextFields] Conforming better to auto layout lifecycle.

* [TextFields] Cleaning up colors.

* [TextFields] Correction to auto layout problems with textViews.

* [TextFields] NSCoder and NSCopying support begun.

* [TextFields] NSCoding and NSCopying support. API documentation and cleanup. Internal alphabetizing.

* [TextFields] Spacing correction.

* [TextFields] TextView test correction.

* [TextFields] Dynamic Type support.

* [TextFields] Dynamic Type in example.

* [TextFields] Correction for broken left view.

* [TextFields] Beginning readme.

* [TextFields] Readme work.

* [TextFields] Markdown correction.

* [TextFields] Markdown correction.

* [TextFields] Objective C example and renaming to plural.

* [TextFields] First snippet.

* [TextFields] Updated readme with snippets.

* [TextFields] Objc example.

* [TextFields] Swift example cleanup.

* [TextFields] Added text view snippet.

* [TextFields] Readme clarification.

* [TextFields] Expanding positioning delegate scope.

* [TextFields] Making text container inset the default API for controlling positioning.

* [TextFields] Formatting.

* [TextField] Moving underline to auto layout.

* [TextFields] Underline content hugging.

* [TextFields] Added unstyled text view to the examples.

* [TextField] Added notification observation for text views.

* [TextFields] Vastly improved spacing.

* [TextFields] Improving layout.

* [TextFields] Height correction.

* [TextFields] Improvements to height calculations.

* [TextFields] Preparations for .leftView and .rightView calculations.

* [TextFields] Moving line height calculations to rounded instead of veiled.

* [TextFields] Unstyled textfield done.

* [TextFields] Full width char count layout correction.

* [TextFields] Example correction.

* [TextFields] Removing TODOs.

* [TextFields] Getting rid of todos (colors.)

* [TextFields] Left and right view position correction.

* [TextFields] Editing rect corrections.

* [TextFields] Associate view alignment

* [TextFields] Removing duplicated work.

* [TextFields] Cleaning up positioning delegate.

* [TextFields] Improving layout.

* [TextFields] Editing for clarity.

* [TextField] Precision correction.

* [TextFields] Height corrections for .floatingPlaceholder

* [TextFields] Improved .floatingPlaceholder height math

* [TextFields] Removing Debugging consoles.

* [TextFields] Custom font improved support and “remembering” in controller.

* [TextFields] Cleaning up KVO and adjusting for bigger fonts.

* [TextFields] TextView NSCoding correction.

* [TextFields] Format all.

* [TextFields] Added comments.

* [TextFields] Moved code to match pattern of organization.

* [TextFields] Properties organization.

* [TextFields] Organization.

* [TextFields] Dealing with notifications and setting textInput.

* [TextFields] Reduced duplicated math. Moved to text insets as source of truth.

* [TextFields] Comments.

* [TextFields] Formatting.

* [TextFields] Comments correction.

* [TextFields] Full width spacing for textRect.

* [TextFields] Full width spacing for editingRect.

* [TextFields] Necessary for KVO.

* [TextFields] Clear button Y correction.

* [TextFields] Dealing with keyboard in example.

* [TextFields] whitespace correction.

* [TextField] Text views examples simple.

* [TextFields] TextView hugging increase.

* [TextFields] Improved examples.

* [TextFields] Improving examples for text views.

* [TextFieds] text views example improvement

* [TextFields] Temporarily removed text views and expanded example for text fields.

* [TextFields] Objc example work.

* [TextFields] Comment improvement.

* [TextFields] Expanding Objc Example.

* [TextFields] Shaving tests for single line only.

* [TextFields] Corrected character count not coloring underline.

* [TextFields] Character count examples and a fix.

* [TextFields] Text field underline space correction.

* [TextFields] Removing debug code.

* [TextFields] Character count logic correction.

* [TextFields] Beginning RTL calculations for textRects

* [TextFields] More RTL spacing work.

* [TextFields] Example improvement.

* [TextFields] Correction for clear button.

* [TextFields] Improved RTL.

* [TextFields] Storyboards example and fix for preset placeholder.

* [TextFields] IB example cleanup.

* [TextFields] IB example improvement.

* [TextField] Swift example has controls at the bottom

* [TextField] Improved voiceover support.

* [TextFields] Improved voice over support.

* [TextFields] Formatting.

* [TextFields] Improving voice over support.

* [TextFields] VoiceOver support for errors.

* [TextFields] VoiceOver detail.

* [TextFields] Formatting and details.

* [TextFields] Better storyboard support.

* Design

* [TextFields] Podfile.lock

* [Typography] Undoing formatting.

* [FeatureHighlight] Undoing formatting.

* [TextFields] Undoing file change.

* [TextFields] Adding missing EOL whitespace.

* [FeatureHightlight] Formatting.

* [Typography] Formatting correction.

* [TextFields] Feedback from PR.

* [TextFields] Removing code because PR.

* [TextFields] Renaming because PR.

* [TextFields] Replaced theme with compliant.

* [TextFields] Changes per PR.

* [TextFields] Renaming things for clarity.

* [TextFields] Removing unused protocols.

* [TextFields] Clear button size logic.

* [TextFields] Some corrections dealing with serialization.

* [TextFields] Example correction and testing code.

* [TextFields] Support for iOS 10’s adjustsFontForContentSizeCategory

* [TextFields] Removing debug comments.

* [TextFields] Better handling of custom fonts and dynamic type.

* [TextFields] Better organization of new methods.

* [TextFields] Removing unneeded code.

* [TextFields] Improved floating placeholder calculations.

* [TextFields] New clear button implementation.

* [TextFields] Clear button details.

* [TextFields] Formatting.

* [TextFields] A little safety.

* [TextFields] Clear Button target action.

* [TextFields] Cleanup.

* [TextFields] CGFloat conversion.

* [TextFields] Removing unused method.

* [TextFields] Minor corrections to clear button.

* [TextFields] Added MDCMath.

* [TextFields] NSNotificationCenter cleanup.

* [TextFields] Cleaning up logic.

* [TextFields] Clear button bug fix.

* [TextFields] Formatting.

* [TextFields] Dynamic type correction.

* [TextFields] Improvement to example.

* [TextFields] Placeholder truncation bug fix.

* [TextFields] RTL improvements.

* [TextFields] Examples reorganized.

* [TextFields] Better typical use example (form).

* [TextFields] Better support for changing presentation styles while editing.

* [Catalog] Reverting changes to project and info.plist.

* [TextFields] Style correction.

* [TextFields] New example has validation.

* [TextFields] Correcting property declaration.

* [TextFields] Simplifying iOS version check.

* [TextField] Adding faux-value semantics to controller properties.

* [TextFields] Added MDCMath.

* [TextFields] Removing development team.

* [TextFields] Removing debug identifier.

* [TextFields] Reverting debug change.

* [TextFields] Kitchen sink automatically scrolls with keyboard now.

* [TextFields] Main example doesn’t try to show full width.

* [Pods] Podfile.lock.

* [TextFields] Example improvements.

* [TextFields] Organization in example.

* [TextField] Catalog tile to BnW.

* [TextFields] Cleanup.

* [TextFields] Screenshot

* [Tabs] README correction.

* [TextFields] Example correction.

* [TextFields] - Removed video link in readme

* [TextFields] - Updated image width

* [TextFields] Example cleanup.

* [TextFields] Manual layout example.

* [TextFields] Finishing the renaming of the fundament.

* [TextField] Correcting typo.

* [TextFields] Adding underline as a UIView in API.

* [TextFields] Correcting constraints for floating / default.

* [TextFields] Manual example support for changing presentation improvement.

* [TextFields] Manual layout support.

* [TextFields] Correcting copied properties.

* [TextFields] Comments improvement.

* [TextFields] More validation examples.

* [TextFields] Naming update.

* [TextFields] More tests and corrections of problems discovered during testing.

* [TextFields] Clear button mode in copy.

* [TextField] Attributed setters tests.

* [TextFields] Color test correction.

* [TextField] ErrorColor test.

* [TextFields] Formatting.

* [TextFields] Error color fixes.

* [TextFields] More tests.

* [TextFields] Testing correction.

* [TextFields] Organizing test files.

* [TextField] Test organization.

* [TextField] Additional test.

* [FeatureHighlight] Reverting change.

* [TextFields] Bare pod file update.

* [TextField] Test corrections.

* [TextField] Color has value semantic.

* [TextField] Documentation updates.

* [TextFields] Documentation improvement.

* [TextField] RTL corrections.

* [TextField] RTL and layout corrections.

* [TextFields] Better AutoLayout use.

* [TextFields] Removing debugging logging.

* [TextFields] Exposing underline fully.

* [TextFields] KVO for new underline API.

* [TextFields] Formatting

* [TextFields] Documentation update.

* [TextFields] Comments correction.

* [TextFields] Updating README.

* [TextFields] Standardizing primitive property annotations.

* [TextFields] PR notes.

* [TextFields] Localization todos.

* [TextFields] Const definition corrections.

* [TextFields] Correcting const definitions.

* [TextFields] Using MDCMath.

* [TextFields] Correcting const definition.

* [TextFields] Color value semantics correction.

* [TextFields] Copy update.

* [TextFields] Removing unnecessary code.

* [TextFields] Copy update.

* [TextFields] Underline inherited code correction.

* [TextFields] Switch fix.

* [TextFields] Simplifying some math.

* [TextFields] Simplyfing some logic.

* [TextFields] Improving underline init order.

* [TextField] Undoing formatting changes.

* [TextFields] Adjusting to new Swift color API.

* [TextFields] Re-adding textFields catalog tile.

* [TextField] Refining Swift support choices.

* [TextField] Simplifying swift support.

* [TextFields] Improving Swift support.

* [TextFields] Helper text implementation improvement.

* [TextField] A little CAAnimation safety.

* [TextFields] Removing extra line.

* [TextFields] CATransaction a little better.
2017-06-02 11:56:35 -04:00