954 Commits

Author SHA1 Message Date
Adrian Secord
717d3a4bf8 Bumped version number to 15.1.0. 2016-10-07 11:16:18 -04:00
Adrian Secord
fad8519b6a [Palettes] Generate palettes to match a target color (#729) 2016-10-06 18:24:49 -04:00
Adrian Secord
e7b88d30c2 Revert "Initial implementation of MDCTabBar and private MDCItemBar (#711)" (#718)
This reverts commit d23eb1b7a10c14304f0e38b1066b585d807c68c3.
2016-10-04 14:18:49 -04:00
Brian Moore
d23eb1b7a1 Initial implementation of MDCTabBar and private MDCItemBar (#711)
* Add initial headers for MDC*Bar

* Initial chunk of work

* It works…ish

* Update demo images and update style with appearance

* Update Podfile.lock

* Merge

* Merge

* Revert bottom bar for now

* Update description

* Formatting and cleanup

* Manual revert of mistaken changes

* Manual revert of mistaken changes

* Manual revert of mistaken changes

* Update with consistent terminology

* Update constant names

* Update localizable strings

* More naming updates

* Rename TabBar to Tabs, move ItemBar into Tabs/private

* Rename string keys

* Rename string files from ItemBar to Tabs

* Rename string keys header

* Update podspec and move bundle

* Reset Podfile.lock in preparation for re-updating

* Clean update to Podfile.lock, adding MaterialTabs

* Update import paths

* Move CatalogByConvention method to end of file

* Add copyright notice on all h/m files

* Add safe fallbacks for switches

* Use conventional common init method name

* Podfile.lock checksum update
2016-10-04 12:29:16 -04:00
Adrian Secord
3118c3740d Bumped version number to 15.0.0. 2016-09-28 13:38:42 -04:00
Adrian Secord
926f7b4be0 Bumped version number to 14.0.0. 2016-09-22 12:02:50 -04:00
Justin Shephard
eb40e5e56f MDC_#67 - Updated accessibility for titleColor on MDCButton.m
Summary: Updated implementation of titleColor change on MDCButton.m to include MDC accessibility classes and method calls.

Reviewers: randallli, O1 Material components iOS

Reviewed By: randallli, O1 Material components iOS

Subscribers: ajsecord, randallli

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1634
2016-09-19 13:44:30 -04:00
randallli
08c09131ea Bumped version number to 13.4.0. 2016-09-13 16:58:52 -04:00
randallli
6f9e16e285 Bumped version number to 13.3.0. 2016-09-07 18:15:27 -04:00
Adrian Secord
5e249b7b67 Bumped version number to 13.2.1. 2016-09-02 13:25:53 -04:00
Ian Gordon
c9b8065f5b Bumped version number to 13.2.0. 2016-08-25 13:46:00 -04:00
Ian Gordon
110e48a300 Bumped version number to 13.1.1. 2016-08-22 14:38:51 -04:00
Ian Gordon
e3a0d41a4b Fixes from internal client testing.
Test Plan:
Local client builds as expected.
Internal text clients build as expected.

Reviewers: O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1487
2016-08-18 10:59:17 -04:00
Ian Gordon
40e0e1126a Bumped version number to 13.1.0. 2016-08-17 16:26:35 -04:00
Adrian Secord
882e9d5603 Merge branch 'release-candidate' 2016-08-12 17:42:37 -04:00
Ian Gordon
8ab45d01b3 Add RTL support to Switch
Summary: If we are in RTL mode, set the Switch's transform to flip.

Test Plan:
Verified Catalog-Switch-MDCSwitchandUISwitch
iPhone 6 Sim - iOS 8
iPhone 6 Sim - iOS 9
iPhone 5 - iOS 8
iPhone 6 - iOS 9

Reviewers: ajsecord, O1 Material components iOS

Reviewed By: ajsecord, O1 Material components iOS

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1462
2016-08-12 15:24:21 -04:00
Ian Gordon
457ea7c3cb Add RTL to activity indicator.
Summary:
Include MaterialRTL as a dependency.
Explicitly note that the view is spatial and shouldn't be mirrored.

Test Plan:
Ran catalog in LTR mode, noted correct orientation.
Ran catalog in RTL mode, noted correct orientation.

Reviewers: junius, O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1461
2016-08-12 11:57:13 -04:00
Junius Gunaratne
22cfb756fa [AnimationTiming] Add animation timing curves and examples, update use of animation timing in snackbar
Reviewers: O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1455
2016-08-11 15:59:49 -04:00
Adrian Secord
420f67d04f Bumped version number to 13.0.2. 2016-08-10 16:54:26 -04:00
Adrian Secord
f1b4a2a48e [FlexibleHeader] Use MDFTextAccessibility for determining whether or not to use the light status bar.
Summary:
Fixes incorrect luminance calculation used to determine when to use the light vs dark status bar text. This seems to be the only occurrence.

Introduces dependency on [MDFTextAccessibility](https://github.com/material-foundation/material-text-accessibility-ios).

Fixes https://github.com/google/material-components-ios/issues/659.

Reviewers: O1 Material components iOS, randallli

Reviewed By: O1 Material components iOS, randallli

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1393
2016-08-03 10:19:29 -07:00
Adrian Secord
64009d0642 Bumped version number to 13.0.1. 2016-07-28 17:37:58 -04:00
Sam Morrison
3f1ebfc632 Bumped version number to 13.0.0. 2016-07-27 12:08:35 -04:00
Ian Gordon
b2454bec5d At iOS version to each component.
Test Plan:
./scripts/release/manage_pods.py update
Worked as expected.

Reviewers: randallli, O1 Material components iOS

Reviewed By: randallli, O1 Material components iOS

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1285
2016-07-20 17:46:53 -04:00
Ian Gordon
af511545f8 Add missing dependency 2016-07-20 11:29:19 -04:00
Ian Gordon
5f4a31dcbb Bumped version number to 12.2.0. 2016-07-20 11:04:20 -04:00
Ian Gordon
c6a651fc88 Landed initial import 2016-07-14 14:33:43 -04:00
Ian Gordon
3742dd4849 [Dialogs] Initial Import
Summary:
Initial import of our modal presentation controller and transition controller.

The interfaces have been previously reviewed in our API Review process.

This will land on the branch feature-dialog.

Test Plan: Example added to catalog.

Reviewers: randallli, cjcox, ajsecord, O1 Material components iOS

Reviewed By: ajsecord, O1 Material components iOS

Subscribers: samnm, randallli

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1066
2016-07-14 13:57:15 -04:00
Justin Shephard
5efebd3703 Bumped version number to 12.1.0. 2016-07-13 14:54:19 -04:00
Louis Romero
a806413bd6 [ProgressView] Add the ProgressView component.
Summary:
Adds a ProgressView component. It displays determinate progress linearly.

Note: the README.md and API has previously been reviewed. Feel free to leave comments, but you can also skip for this review and focus on the implementation.

Test Plan: - Open Catalog > Progress View and verify looks.

Reviewers: randallli, junius, iangordon, O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1103
2016-07-09 00:28:19 +02:00
Ian Gordon
3f6d576089 Bumped version number to 12.0.1. 2016-07-06 11:33:15 -04:00
Adrian Secord
a045b07bcc Fix internal builds.
Summary:
- Adds missing dependencies to the podspec.
- Fixes private import paths.
- Adds dummy variable to "empty" static library targets to suppress build warnings.
- Suppresses string concatenation warnings in valid contexts.
- Lint changes.

Reviewers: iangordon, O1 Material components iOS

Reviewed By: iangordon, O1 Material components iOS

Subscribers: junius

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1074
2016-06-30 13:19:16 -04:00
Adrian Secord
d4e0868c93 [Podspec] Added missing Snackbar dependency on private/KeyboardWatcher.
Reviewers: O1 Material components iOS, junius

Reviewed By: O1 Material components iOS, junius

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1072
2016-06-30 11:13:58 -04:00
Adrian Secord
4421270e12 Updated Podfile.locks with OverlayWindow component and corrected CBC version.
Reviewers: randallli, O1 Material components iOS

Reviewed By: randallli, O1 Material components iOS

Subscribers: featherless, randallli

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1069
2016-06-29 17:20:32 -04:00
Adrian Secord
f97a9288a9 Bumped version number to 12.0.0. 2016-06-29 16:05:01 -04:00
Junius Gunaratne
e8afa47fa6 [Snackbar] Adding Snackbar component and related Overlay Window
Summary:
Adds Snackbar and related Overlay Window component as well as demos for MDCCatalog. The Overlay component, of which Snackbar depends, is private for the time being.

  - Removed dependencies on internal core.
  - Removed i18n string translation, TODO added to replace.
  - Removed RTL, waiting on https://github.com/google/material-components-ios/issues/579
  - Animation curve constants moved inline.
  - Fixed styling to be the material standard instead of configurable.

Reviewers: ajsecord, O1 Material components iOS

Reviewed By: ajsecord, O1 Material components iOS

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1036
2016-06-29 10:44:06 -04:00
Louis Romero
361699fb6c [CollectionCells] Support RTL
Summary:
Cells are now laid out accordingly to their layoutDirection property.
The default value matches the common support across SDKs and OS at runtime.

Closes https://github.com/google/material-components-ios/issues/567

Test Plan:
Set the device or simulator to use an RTL language.
On iOS 9, the UI must be flipped.
On prior OS, the UI is not flipped.

Reviewers: cjcox, iangordon, O1 Material components iOS

Reviewed By: cjcox, iangordon, O1 Material components iOS

Subscribers: brianjmoore

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D962
2016-06-28 17:56:38 +02:00
Louis Romero
7550398b6c Port the rendering mode when flipping on iOS 8 and below.
Summary:
The rendering mode is lost when an image is flipped with
-[UIImage imageWithCGImage:scale:orientation:].
When that would happen, actually render the image with it's orientation and
scale, port the template mode, and return that copy.

Closes https://github.com/google/material-components-ios/issues/592.

Test Plan:
Check that back arrow in Catalog is correctly flipped relative to the layout
direction.

Reviewers: randallli, O1 Material components iOS, iangordon

Reviewed By: randallli, O1 Material components iOS, iangordon

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1034
2016-06-28 17:09:25 +02:00
Louis Romero
f728015066 [RTL] Add MaterialRTL private component
Summary:
This commit adds a private component that contains helpers to perform layouts
that flip in RTL Layout configurations.

Reviewers: iangordon, brianjmoore, randallli, O1 Material components iOS, ajsecord

Reviewed By: iangordon, brianjmoore, randallli, O1 Material components iOS, ajsecord

Subscribers: brianjmoore, randallli, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D980
2016-06-23 22:25:02 +02:00
Ian Gordon
7aa0a46faa Bumped version number to 11.0.1. 2016-06-23 14:27:58 -04:00
Adrian Secord
fe39e7e530 Bumped version number to 11.0.0. 2016-06-15 15:29:13 -04:00
randallli
73cea102fd Bumped version number to 10.1.2. 2016-06-09 11:10:49 -04:00
randallli
32934941b4 Bumped version number to 10.1.0. 2016-06-08 11:57:34 -04:00
Junius Gunaratne
d589b27330 [ActivityIndicator] Adding activity indicator component and demo
Reviewers: O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D936
2016-06-06 14:01:13 -04:00
randallli
1c0bfe8cea [Collections] Fixed podspec to include more frameworks needed by the component
Reviewers: O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D929
2016-06-02 14:10:20 -04:00
Adrian Secord
4afea7db13 Release candidate.
Summary:
Checklist:

- [ ] Ran `arc unit --everything`.
- [ ] Ran `scripts/build_all_pod_projects`.
- [ ] Ran `scripts/release/api_diff` and pasted the results into CHANGELOG.md.
- [ ] Ran `scripts/release/changes` and pasted the results into CHANGELOG.md.
- [ ] Visually inspected the API diff to ensure it accurately reflects the release's changes.
- [ ] Ran `scripts/release/diff components/*/src/` and visually inspected the changes.
- [ ] Ran `scripts/release/bump` with the new version number.
- [ ] Updated CHANGELOG.md's latest section header to match the release's version number.
- [ ] I did not `arc land` this change because I followed the [releasing guide](https://github.com/google/material-components-ios/blob/develop/contributing/contributor_guides/releasing.md) and did the following:
- [ ] Ran `scripts/release/merge`
- [ ] Push to master
- [ ] Push to develop
- [ ] Manually marked this diff closed in the web ui

Reviewers: O1 Material components iOS!

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D925
2016-06-01 14:55:25 -04:00
Ian Gordon
13c8cf72b8 Add support for Cocoapods 1.0.0.
Summary:
DO NOT LAND until after we have finalized our May 25 2016 release.

Cocoapods 1.0.0 was used to generate Pod* and xcode* files.

These changes are NOT compatible with 0.39.0.
These changes may NOT be compatible with version of Xcode 7.2 and earlier.

pod lib lint generates a list of issues that should be addressed.

--OLD INFO--

Cocoapods 0.39 was used to generate the Podfile.locks.

MaterialComponents - Build properly
MaterialUnitTests - Test properly
MaterialCatalog - Fails to Build

The errors (cut after the first 20) are similar to:
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/MaterialComponentsCatalog-umbrella.h"
        ^
/Users/iangordon/projects/material-components-ios/catalog/Pods/Target Support Files/MaterialComponentsCatalog/MaterialComponentsCatalog-umbrella.h:10:9: note: in file included from /Users/iangordon/projects/material-components-ios/catalog/Pods/Target Support Files/MaterialComponentsCatalog/MaterialComponentsCatalog-umbrella.h:10:
#import "CollectionCellsLayoutExample.h"
....

Reviewers: featherless, randallli, ajsecord, #material_components_ios

Reviewed By: featherless, randallli, ajsecord, #material_components_ios

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D873
2016-05-31 11:17:53 -04:00
Ian Gordon
9828352d90 Bumped version number to 9.0.0. 2016-05-25 14:08:19 -04:00
randallli
b2d61461b3 Bumped version number to 8.0.0. 2016-05-18 16:45:45 -04:00
Ian Gordon
65f43009e0 Release candidate.
Summary:
Checklist:

- [ ] Ran `arc unit --everything`.
- [ ] Ran `scripts/build_all_pod_projects`.
- [ ] Ran `scripts/release/api_diff` and pasted the results into CHANGELOG.md.
- [ ] Ran `scripts/release/changes` and pasted the results into CHANGELOG.md.
- [ ] Visually inspected the API diff to ensure it accurately reflects the release's changes.
- [ ] Ran `scripts/release/diff components/*/src/` and visually inspected the changes.
- [ ] Ran `scripts/release/bump` with the new version number.
- [ ] Updated CHANGELOG.md's latest section header to match the release's version number.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D860
2016-05-11 15:57:52 -04:00
Adrian Secord
10cfe433b0 [Palettes] Final review to land in develop.
Summary:
Merging feature-palettes into develop. This is the combination of the following reviews with no further changes:

http://codereview.cc/D818
http://codereview.cc/D827
http://codereview.cc/D842

Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Subscribers: larche, lpromero, cjcox, featherless, mrefaat, jsachse

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D852
2016-05-10 17:27:19 -04:00