954 Commits

Author SHA1 Message Date
Ian Gordon
5c839e6172 Bumped version number to 21.3.0. 2017-02-21 21:59:38 -05:00
Adrian Secord
d1b2b7dd5c Bumped version number to 21.2.0. 2017-02-14 16:50:26 -05:00
randallli
890e170ebc Merge branch 'release-candidate' 2017-02-13 10:09:37 -05:00
Justin Shephard
c3d3bd34af [NavigationBar] - Added Accessibility Mutator (#1109)
* [NavigationBar] - Added Accessibility Enforcer to Navigation Bar. Updated Podspec to include MDFTextAccessibility to MDCNavigationBar

* [NavigationBar] - Added unit tests and updated examples

* [NavigationBar] - Updated doc comment

* [NavigationBar] - Updated naming convention of mutator

* [NavigationBar] - Updated examples

* Update and rename NavigationBarAccessibilityEnforcerTestColorTest.swift to NavigationBarAccessibilityMutatorTestColorTest.swift
2017-02-10 15:07:04 -05:00
randallli
41e908fb93 Bumped version number to 21.1.0. 2017-02-10 12:04:51 -05:00
randallli
421a7fba33 ran scripts/release/bump 21.0.1 2017-02-09 16:53:42 -05:00
randallli
c6fe734992 Looks like we need to make the super spec deployment target 8.0 as well. 2017-02-09 15:56:04 -05:00
randallli
25c6485e5a added dependency to Typography sub podspec since it uses Application. 2017-02-09 15:54:26 -05:00
Adrian Secord
61baaac7eb Bumped version number to 21.0.0. 2017-02-08 17:25:20 -05:00
Adrian Secord
ba5a2771bf Bumped version number to 20.2.0. 2017-02-08 17:07:22 -05:00
ianegordon
c377ea8b06 Update minimum deployment target to iOS 8.0 (#1172)
* Update minimum deployment target to iOS 8.0
* Rebased Podfiles.lock
2017-01-25 17:50:09 -05:00
randallli
ef9ed7f3d1 Merge branch 'release-candidate'
reran: scripts/release/manage_pods.py install

# Conflicts:
#	catalog/Podfile.lock
2017-01-25 13:56:49 -05:00
Brian Moore
fd074fca51 [New Component] Tab component with MDCTabBar (#1164)
* 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

* [Tabs] Initial README template and changes

* [Tabs] Updating intro content.

* [Tabs] Commenting out mention of bottom navigation bars in readme.

* 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

* [Tabs] Initial README template and changes

* [Tabs] Updating intro content.

* [Tabs] Commenting out mention of bottom navigation bars in readme.

* [Tabs] Correcting resources key in pod spec.

* [Tabs] Correcting implementation of resources key in pod spec.

* [Tabs] Removing duplicate entry in pod spec (cherry pick artifact.)

* [Tabs] Overview written

* [Tabs] Mentioning badges in overview.

* [Tabs] Removing TODO in ready.

* [Tabs] Duplicating tabs example in prep for splitting it into two.

* [Tabs] Examples crudely split apart.

* [Pods] Update of lock, catalog and tests for new version.

* [Tabs] Refactored examples to be in style of supplemented examples.

* [Tabs] Formatting.

* [Tabs] Formatting.

* [Tabs] Formatting.

* Add usage examples

* Add usage examples

* Fix bad merge

* Update import documentation

* Small edits

* Do not show badges for title-only tabs

Also updates the text-only example to toggle upcasing rather than increment non-existent badges.

* Update title-only documentation re: badges

* Update README.md

* Update Podfile.lock

* Manually fix Podfile.lock

* Feature tabs rebase from develop (#7)

* [Docs] Add hero image to top-level README.md (#1100)

* Added hero image.

* Added retina-sized hero image.

* Add `srcset` image tag.

* Flow image to the right.

* Update README.md

* Fixed srcset, duh.

* Update README.md

* Update README.md

* Gave up on srcset+markdown for now.

* Update README.md

* Update README.md

* Increased image size.

* Remove redundant RTL frame adjustment (#1103)

* Made build/test scripts exit with failure if anything failed. (#1088)

* [ReadMes] - First image of each component is too big (#1110)

* MDC_#917 - Activity Indicator Readme Update

* MDC_#917 - Updated remaining readme image links

* MDC_#917 - Fixed typo

* [Site] Removing unused files for and from generated doc site. (#1108)

* [ReadMes] - Updated asset name for collection_cells (#1111)

* Enable Travis CI integration (#1095)

* Add file to kick off Travis

* Checking Travis CI's installed Xcode and simulator devices.

* Adding Cocoapods init to Travis CI config.

* Enabling building in Travis CI config.

* Added temporary dumping of the log file on error.

* Switched Shrine to manual signing.

* Dump Travis code signing options.

* Adding CocoaPods version to debug output.

* Remove code signing reporting from Travis CI config.

* Forcing `build_all` to skip code signing.

* Switching Shrine back to automatic provisioning style.

* Re-enabling testing in Travis CI.

* Bump up verbosity of testing.

* Changing test device from 10.2 to 10.1 to work around Travis CI bug.

* Remove the printing of available devices, Xcode will print them out on error.

* Added more context on failure for Travis CI builds only.

* Re-enable CI for our normal branches.

* Remove "do not merge" file.

* Removing our development team and switching Catalog to automatic profiles.

* Removing our development team and switching Bare to automatic profiles.

* Removing our development team and switching Pesto to automatic profiles.

* Add Travis CI build badge to README.md (#1112)

* Add uploading of testing code coverage results to codecov.io (#1114)

This won't do anything yet, but once we start emitting code coverage files it will.

* Enable test code coverage reports in Xcode and in Travis CI. (#1115)

* Add codecov.io badge to README.md. (#1116)

* Add Codecov config to exclude uninteresting paths. (#1118)

* Extracts header code into method removing repetition (#1119)

* [AppBar] Header stack view in AppBarController (#1121)

Since the header stack view is going to be laid out with auto layout, it should be inited with a CGRectZero. Doing it with self.view.bounds creates a tiny loop since the view is not loaded yet.

* 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

* 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

* [Tabs] Initial README template and changes

* [Tabs] Updating intro content.

* [Tabs] Commenting out mention of bottom navigation bars in readme.

* [Tabs] Overview written

* [Tabs] Correcting resources key in pod spec.

* [Tabs] Correcting implementation of resources key in pod spec.

* [Tabs] Mentioning badges in overview.

* [Tabs] Removing TODO in ready.

* [Tabs] Removing duplicate entry in pod spec (cherry pick artifact.)

* [Tabs] Duplicating tabs example in prep for splitting it into two.

* [Tabs] Examples crudely split apart.

* [Pods] Update of lock, catalog and tests for new version.

* [Tabs] Refactored examples to be in style of supplemented examples.

* [Tabs] Formatting.

* [Tabs] Formatting.

* [Tabs] Formatting.

* Add usage examples

* Add usage examples

* Update import documentation

* Small edits

* Do not show badges for title-only tabs

Also updates the text-only example to toggle upcasing rather than increment non-existent badges.

* Update title-only documentation re: badges

* Update README.md

* Update Podfile.lock

* Manually fix Podfile.lock

* [Tabs] Making delegate methods all optional. (#8)

* [Tabs] Now that protocol has optional methods, putting in safety for the method calls. (#9)

* [Tabs] Small changes for UIAppearance support.

* [Tabs] Formatting examples.

* [Tabs] Changed icon example to be an appBar’s bottomBar.

* [Tabs] Styling of examples.

* [Tabs] Example layout correction.

* [Tabs] Example update.

* [Tabs] Example has more ‘content’.

* [Tabs] Removing unused delegate method in example.

* [Tabs] Formatting of code for style.

* [Tabs] Better unselected style choice in icon example.

* [Tabs] More content in example vies.

* [Tabs] iOS 8 support for icons example.

* [Tabs] Still image.

* [Tabs] Video added.

* [Tabs] Renaming for clarity.

* [Tabs] Correcting comment.

* [Tabs] Better organization of example view creation methods.

* [Tabs] Cleaning up imports in example.

* [Tabs] Better code for incrementing badge in example.

* [Tabs] Using local variable vs @property in example

* [Tabs] Example format correction.

* [Tabs] Alphabetizing lists in examples.

* [Tabs] Example code style improvement.

* [Tab] Example NSAssert. Safety.

* [Tabs] Comments and clarity in example.

* [Tabs] clang-format in examples.

* [Tabs] Text color correction in example.

* [Tabs] Catalog tile.

* [Tabs] clang-format in tile.

* [Tabs] Adding IBOutlet for delegate (optional.)

* [Tabs] Fix 32-bit build

* [Tabs] Interface Builder example.

* [Tabs] Beginning Swift example.

* [Tabs] More swift example content.

* [Tabs] Swift example complete

* [Tabs] Swift example PR note implementations.

* [Tabs] Swift formatting

* [Tabs] Formatting in example

* [Tabs] Formatting swift example.

* [Tabs] Swift example clarity.

* [Tabs] Example wrapping revert.

* [Tabs] Example wrapping revert.

* Fixes from review
2017-01-25 11:52:40 -05:00
randallli
36c9c46d8a Bumped version to 20.1.1. 2017-01-25 10:58:52 -05:00
randallli
3b9426b68b Bumped version number to 20.1.0. 2017-01-19 17:25:55 -05:00
Adrian Secord
2c57632473 Bumped version number to 20.0.0. 2017-01-10 07:13:53 -05:00
Adrian Secord
2f22892496 Removed the private/Color subspec. (#1128) 2017-01-05 10:21:12 -05:00
Adrian Secord
94f0e738b7 Bumped version number to 19.0.4. 2016-12-16 11:38:53 -05:00
Adrian Secord
f54d10d72d Bumped version number to 19.0.3. 2016-12-15 19:01:29 -05:00
Adrian Secord
6cebe70fb3 Bumped version number to 19.0.2. 2016-12-15 17:43:12 -05:00
Adrian Secord
737a56e5cb Fixed podspec author info and download tag. 2016-12-15 13:45:55 -05:00
Sam Morrison
837aa16953 RTL support for MDCThumbTrack (#1073)
* Temporarily rename the Slider card for easier dev

* Add RTL support for MDCThumbTrack

* Revert "Temporarily rename the Slider card for easier dev"

This reverts commit 3c87a42624169582448fa43f6f9ce35202326994.

* Add comments
2016-12-14 15:24:57 -05:00
Adrian Secord
1e8bc86213 Bumped version number to 19.0.1. 2016-12-14 14:23:16 -05:00
Adrian Secord
3405a9495b Remove all references to removed components (#1067)
* Removed dead components from podspec.

* Removed vestigial refs to removed components.

* Edited refs to MDCFontDiskLoader in Typography README.md.

* Updated Podfile.lock files.
2016-12-14 14:18:25 -05:00
Adrian Secord
121d044b0a Bumped version number to 19.0.0. 2016-12-14 13:50:30 -05:00
Adrian Secord
d24b6bc635 Bumped version number to 18.0.0. 2016-12-13 11:39:07 -05:00
Adrian Secord
ab151cdc65 Delete MDCSwitch. (#990)
* Removed MDCSwitch.

* Remove Switch from the podspec and update pods.
2016-12-09 11:27:01 -05:00
Adrian Secord
4a333373a9 Bumped version to 17.2.0. 2016-12-08 09:04:57 -05:00
ianegordon
b13df7f139 [Dialogs] Add RTL Support (#972) 2016-12-07 16:38:57 -05:00
Junius Gunaratne
060db3e596 Add jekyll file and update pod spec 2016-12-06 11:51:33 -05:00
Adrian Secord
4b222042bc Bumped version to 17.1.1. 2016-12-05 11:17:42 -05:00
Sam Morrison
6e6a3b6865 Add typography to the Snackbar podspec deps (#934) 2016-12-02 14:58:02 -05:00
Adrian Secord
fb8ed4ec4b Bumped version number to 17.1.0.
Note that the 17.0.0 release did not update the podspec file, so 17.0.0 was not properly exposed to CocoaPods.
2016-11-30 17:33:37 -05:00
Adrian Secord
8587f00316 Added even more missing private/Application dependencies to the podspec. 2016-11-30 16:58:41 -05:00
Adrian Secord
6ed27f3177 Added missing Application deps to podspec. 2016-11-30 16:40:40 -05:00
Sam Morrison
e69f038d88 Wrap sharedApplication calls so we can build for app extension targets (#897)
* Add UIApplication+AppExtensions

* Fix extension name

* Add comments

* s/safeApplication/safeSharedApplication/g

* Doc for class extension
2016-11-29 13:46:05 -05:00
Adrian Secord
171e5bfbc5 Remove MDCSwitch examples and catalog usage. (#892)
* Remove MDCSwitch examples and catalog usage.

* Restored deletion of Switch examples.

* Revert "Restored deletion of Switch examples."

This reverts commit efe9fc75ae3310b58fbb4b56c31caedb7a109bf9.

* No, really. Restore Switch examples.

* Removed all Podfile references.
2016-11-28 14:38:32 -05:00
Randall Li
d1d366843a Fix CocoaPods submodules for Swift (#886)
* removed header_mappings_dir because it was preventing the headers from getting publicized in the pod project when use_frameworks is used in a swift project.

* ran manage_pod update
2016-11-22 14:33:18 -05:00
Adrian Secord
2997e50c4c Updated refs to GitHub repo with new location. (#885)
* Updated refs to GitHub repo with new location.

* Reverted chagnes to JSON files.
2016-11-22 14:32:50 -05:00
Adrian Secord
be8b0f7a1a Bumped version number to 16.3.0. 2016-11-09 09:24:48 -05:00
Adrian Secord
a1c2633b76 Backporting changes found when integrating internally. 2016-11-02 13:45:38 -04:00
Adrian Secord
c9c0490b77 Bumped version number to 16.2.0. 2016-11-02 09:39:19 -04:00
Sam Morrison
d4806473e4 MDCFeatureHighlightViewController implementation (#765)
* API Review for Feature Highlight component

Summary:
This is the proposed API for the Feature Highlight component.

For more info see the following links:
Design spec: https://material.googleplex.com/growth-communications/feature-discovery.html#feature-discovery-design
Tracking bug: b/30695049

Example usage
```
MDCFeatureHighlightViewController *vc = [[MDCFeatureHighlightViewController alloc] init];
vc.delegate = self;
vc.hintTitleText = @"...";
vc.hintBodyText = @"...";
[vc highlightView:_button];
[self presentViewController:vc animated:animated completion:completion];
```
In the delegate:
```
- (void)featureHighlightWasAccepted:(MDCFeatureHighlightViewController *)highlight {
  // do accepted things here
  [self dismissViewControllerAnimated:YES completion:nil];
}
- (void)featureHighlightWasIgnored:(MDCFeatureHighlightViewController *)highlight {
  // do ignored things here
  [self dismissViewControllerAnimated:YES completion:nil];
}
```

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

Reviewed By: ajsecord, featherless, iangordon

Subscribers: randallli, iangordon, featherless, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1465

* Add MDCFeatureHighlightViewController

* Add Feature Highlight typical use

* Get Feature Highlight buildable

* Copy functionality over from prototype

* Accept/Reject highlight with animation

* Rotation

* Tap anywhere in the feature highlight typical use case demo to move the button

* Align highlight center and highlight point

* Layout text correctly

* Use sample text

* Use animated transitioning delegate for presentation and dismissal animations

* Clean up presentation + dismissal animation code

* Move intructional text behind button

* Limit width of text in feature highlight

* Layout text relative to center when noncentered

* Fix rotation

* First pass at feature highlight color example

* Properly map the inner and outer colors to the view

* Use correct license header

* Automatically choose text color based on outer highlight color

* Clean up color usage

* wrap long lines

* Clean up title positioning

* Clean up radius calculation

* Constize values

* Add feature highlight nav bar example

* Move examples up a directory

* Remove nav bar example

* Improve outer highlight color docs and implementation

* Add TODO: Mask the labels during the presentation and dismissal animations.

* Clean up feature highlight view

* Clean up feature highlight examples

* Layout feature highlight labels with support for RTL

* Code review improvements

* Clean up feature highlight samples

* Feature Highlight readme

* Update Podfile.lock for Feature Highlight

* Feature highlight readme improvements
2016-10-28 10:44:31 -04:00
Adrian Secord
d430d37627 Fix CocoaPods tag reference. (#800)
The old reference referred to tags with the form "16.0.0", but we use "v16.0.0".
2016-10-27 16:33:08 -04:00
Justin Shephard
7a1d479664 Merge branch 'develop' of https://github.com/google/material-components-ios into develop 2016-10-27 14:04:29 -04:00
Will Larche
159768daf6 [CocoaPods] Changing pod specs to use 'resources' key instead of 'resource_bundle' key which was being slightly misused and preventing builds in Xcode 8.1. (#807) 2016-10-27 13:30:25 -04:00
Justin Shephard
8ec86acf43 Bumped version number to 16.1.0. 2016-10-26 15:35:01 -04:00
Justin Shephard
e1efdeaaf1 Bumped version number to 16.0.0. 2016-10-21 11:48:28 -04:00
Adrian Secord
ece361d11e Bumped version number to 15.2.0. 2016-10-12 15:24:45 -04:00
Adrian Secord
c6c3d4414d Merge branch 'release-candidate' 2016-10-10 15:29:32 -04:00