231 Commits

Author SHA1 Message Date
featherless
35cd84b15c Add new UIMetrics component. (#2185)
* Add new UIMetrics component.

* Fix the subspec references.
2017-10-13 17:40:50 -04:00
Adrian Secord
16a572b3ff Merge branch 'release-candidate' 2017-10-12 14:30:33 -04:00
Adrian Secord
4facd16c1e Bumped version number to 36.0.0. 2017-10-10 12:24:50 -04:00
Adrian Secord
a07ee107fd Updated missing deps in the podspec. 2017-10-10 10:55:08 -04:00
ianegordon
c3379250de [Dialogs] Migrate to MDFInternationalization (#2124)
* [Dialogs] Migrate to  MDFInternationalization

* Remove double quotes
2017-10-10 09:49:25 -04:00
Adrian Secord
467bc964ef Bumped version number to 35.3.1. 2017-10-10 09:45:13 -04:00
Cody Weaver
a462a2ac4f [Mutliple components] Update components that use colors to use MDCPalette. (#2129)
* Update components that use colors to use MDCPalette.

* Update podspec to make palettes available to Collection Cell
2017-10-09 12:53:50 -04:00
Adrian Secord
5f8d94f1bb Merge branch 'release-candidate' 2017-10-05 15:59:09 -04:00
Sam Morrison
663120a830 Shapes (#2086) 2017-10-04 15:29:06 -04:00
Adrian Secord
edee504e0c Added missing Math dep to Tabs. 2017-10-04 15:17:27 -04:00
Adrian Secord
1133fa1e72 Bumped version number to 35.3.0. 2017-10-03 15:28:11 -04:00
featherless
b238e8bbf3 [MaskedTransition] Upgrade to MotionTransitioning v3.3.0. (#2077)
* Upgrade MaskedTransition to MotionTransitioning v3.3.0.

* Update demos/Bare/Podfile.lock.
2017-10-03 14:35:40 -04:00
Andrés
80d054e3a5 [FlexibleHeader] Fixes to support scroll views with Safe Area insets. (#2063)
* [FlexibleHeader] Fixes to support scroll views with Safe Area insets.

* Fix typo

* [FlexibleHeader] Update header height when safe area changes.

* [FlexibleHeader] Only adjust sizes and margins on iOS11+.

* [FlexibleHeader] Bring back hardocded status bar const.

* [Catalog] Fix unintended hidden status bar when in landscape.

* Code reviews

* [Podspec] Add MaterialApplication as a dependency on MDCAppBar

* [FlexibleHeader] Make Xcode 8 stop complaining about unused parameter.

* [FlexibleHeader] Fix typo.

* [UnitTest] Remove hardcoded status bar height.
2017-09-29 10:49:57 -04:00
Adrian Secord
3de069fe16 Added missing dep for BottomAppBar. 2017-09-26 11:20:27 -04:00
Adrian Secord
ff81ff729a Bumped version number to 35.2.0. 2017-09-26 10:58:36 -04:00
Junius Gunaratne
3f5b770f2c [BottomAppBar] Add bottom app bar component to MDC (#2016)
* Adds MDCBottomAppBar component and related examples.
2017-09-22 22:03:07 -04:00
Adrian Secord
6a4dfc406d Bumped version number to 35.1.0. 2017-09-20 11:18:57 -04:00
Adrian Secord
8c3879c7c5 Bumped version number to 35.0.0. 2017-09-13 07:55:08 -04:00
Adrian Secord
7499cb2311 Bumped version number to 34.0.2. 2017-09-06 08:09:10 -04:00
Robert Moore
58f3ce9aa9 [Podspec] Fix comment about bundles (#1935)
The subspec bundle instructions were out of date and didn't match the
template. Bringing them up to date.
2017-09-01 22:30:59 -04:00
Sam Morrison
449a8ed9b5 Bumped version number to 34.0.1. 2017-09-01 14:22:55 -04:00
Adrian Secord
7434de9371 Bumped version number to 34.0.0. 2017-08-30 09:32:37 -04:00
Adrian Secord
ed9198358f Bumped version number to 33.0.0. 2017-08-22 17:11:09 -04:00
Adrian Secord
26062b8ae3 Merge branch 'release-candidate' 2017-08-21 09:19:24 -04:00
Justin Shephard
be23697c81 [ActivityIndicator] - Added voice accessibility support for MDCActivityIndicator (#1765)
* [ActivityIndicator] - Added voice aver accessibility support

* [AccessibilityIndicator] - Added determinate option which tells percentage complete

* [ActivityIndicator] - Lint

* [ActivityIndicator] - Added localized number string
2017-08-18 15:31:40 -04:00
Adrian Secord
f15400a3d9 Bumped version number to 32.0.0. 2017-08-18 15:25:43 -04:00
Adrian Secord
0462ca4c85 Bumped version number to 31.0.2. 2017-08-18 12:51:34 -04:00
Adrian Secord
94b684951b Bumped version to 31.0.1. 2017-08-11 12:13:05 -04:00
Adrian Secord
62aaea575e Bumped version number to 31.0.0. 2017-08-09 13:17:24 -04:00
Sam Morrison
ef2cc03581 Bumped version number to 30.0.0. 2017-08-02 14:52:58 -07:00
Adrian Secord
1451327bfb Merge branch 'release-candidate' 2017-07-24 17:11:48 -04:00
Adrian Secord
0414a69270 Bumped version number to 29.0.0. 2017-07-24 17:05:49 -04:00
featherless
61acb1cbb0 Add Masked Transition component. (#1513)
* Add Masked Transition component.

This component makes it possible to present a view controller from a source view, such as a floating action button, using a masked reveal transition.

This component depends on Material Motion's Transitioning, MotionInterchange, and MotionAnimator libraries.

The component itself is a Transition instance and can be used like this:

    vc.transitionController.transition = MDCMaskedTransition(sourceView: fab)
    present(vc, animated: true)

The component's motion is defined in its motion spec and was extracted directly from the Material motion spec.

The transition supports the following contexts:

- Fullscreen
- Bottom sheet
- Floating card
- Bottom toolbar

* Code review feedback.

* Add README.md.

* Copy the frame calculation block.

* Reword the overview to reduce implementation details.

* Remove scrim sharing and document full screen behavior.

* Audit rect math and remove example debug logs.

* Update to use hypot.

* Remove presentation controller storage.

* Update podspec with new MotionTransitioning dependency.

* Fix autoresizing bugs and update header import names.

* Fix floating point conversion warning.

* Use bottomCard spec for all positions.
2017-07-20 16:38:17 -04:00
Junius Gunaratne
c3d24b7184 [TextField] Add color themer for text fields (#1666)
* Add color themer for text fields

* Add text field to color themer demo
2017-07-20 15:41:36 -04:00
Sam Morrison
11108492a9 Bumped version number to 28.0.0. 2017-07-19 17:50:02 -04:00
Sam Morrison
f466588e4f [Feature Highlight] Swipe to dismiss (#1636)
* Add new Dismiss gesture recognizer to allow swiping away feature highlights

* Tap outside the feature highlight to dismiss

* Formatting and cleanup

* Fix unused var warnings

* Correctly cancel animation when gesture recognizer gets cancelled

* Fade out text when starting dismiss gesture

* Formatting

* Ignore multiple touches

* Remove debug state logging

* Fade text in/out during dismissal gesture

* Address comments

* Prevent floating point conversion warnings

* MDCPow / MDCSqrt

* Add accessibilityPerformEscape to feature highlight
2017-07-17 17:59:03 -04:00
Sam Morrison
434c44fef0 Merge branch 'release-candidate' 2017-07-14 12:04:46 -04:00
Sarah Read
1644939299 [Dialogs] MDCAlertController should announce 'alert' in VO (#1639)
* MDCAlertController should announce 'alert' in VO

* Fix typos
2017-07-13 12:00:02 -04:00
Sam Morrison
a88b98e3c6 Bumped version number to 27.0.0. 2017-07-12 16:53:06 -04:00
Sam Morrison
6fc60100db Fix pod dependencies 2017-06-29 15:50:57 -04:00
Sam Morrison
aa5e0fd601 Bumped version number to 26.0.0. 2017-06-29 15:05:08 -04:00
Randall Li
70cfb2bc6e [Buttons] Button title color accessibility mutator (#1567)
* Fixed tests to exclude disabled highlighted state.

* delete podfile

* covert to static method instead of instance method.

* class and method comments

* corrected bit mask checks in creating human readable control state

* removed spurious .
2017-06-27 16:29:40 -04:00
Randall Li
6a52d8c021 Merge branch 'release-candidate'
# Conflicts:
#	catalog/MDCCatalog.xcodeproj/project.pbxproj
#	demos/Bare/Podfile.lock
#	demos/Pesto/Podfile.lock
#	demos/Shrine/Podfile.lock
#	demos/ZShadow/Podfile.lock
2017-06-27 09:34:02 -04:00
randallli
21a9fbad83 Bumped version number to 25.1.1. 2017-06-26 12:26:56 -04:00
Justin Shephard
f0bc06ef56 Merge branch 'release-candidate' 2017-06-22 13:52:16 -04:00
Sam Morrison
681b2de2fd [Bottom sheet] component (#1297)
* First bottom sheet commit

* Add empty files of needed classes

* Do animation using presentation controller and transitioning delegate

* Implement bottom sheet transition using just a UIPresentationController

* Tap background to dismiss

* Clean up and document bottom sheet interface

* Minor cleanup

* Fix usePreferredHeight

* Toggle usePreferredHeight

* Let UIPresentationController layout sheet view

* Expand bottom sheet delegate api

* Remove automaticallyDismissBottomSheet and usePreferredHeight

* Remove shouldDismiss

* Delegate method docs

* Allow custom bottom sheet widths

* Animate sheet view to new frame when rotating bottom sheet

* Fix sheet view starting in bad location

* Specify float for background color

* Clean up bottom sheet presentation controller

* Minor cleanup

* Copy cl/148818444

* GOO -> MDC

* s/draging/dragging/

* Use init instead of initWithCoder

* Bottom sheet example description

* Big improvements to bottom sheet examples

* MDCBottomSheetTransitionController

* Wrap up everything in MDCBottomSheetViewController

* Move all examples to MDCBottomSheetViewController

* Move supplemental code to BottomSheetSupplemental

* bottomSheetPresentationControllerDidDismissBottomSheet

* Check delegate implements methods before calling

* MDCBottomSheetViewController -> MDCBottomSheetController

* Add comments for MDCBottomSheetController

* Use MDCMath

* Change style of preferredContentSize setter

* Support preferredContentSize.height

* Add an example layed out using Autolayout

* More correctly set frame for non scrolling content

* Minor improvements to examples

* Small fixes for examples

* Use umbrella import headers

* Show custom preferredContentSize width in example

* MDCBottomSheetTransitionController now vends a presentation controller

* Expose bottom sheet presentation controller on UIViewController

* Final review comments
2017-06-21 15:51:35 -04:00
Justin Shephard
502cdb84b1 Bumped version number to 25.1.0. 2017-06-21 15:04:56 -04:00
Junius Gunaratne
cda52f4e6b [Themers] Add app bar color themer (#1503)
* Add app bar color themer.

* Add dependency for the component it is theming

* Color flexible header instead of nav bar.
2017-06-21 13:19:22 -04:00
Justin Shephard
bff82748d3 Bumped version number to 25.0.1. 2017-06-20 14:53:47 -04:00
Justin Shephard
b48eb871b8 Bumped version number to 25.0.0. 2017-06-15 15:27:18 -04:00