Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6170898
[Docs] Add hero image to top-level README.md (#1100)
ajsecord Dec 21, 2016
ac88e9b
Remove redundant RTL frame adjustment (#1103)
jgunaratne Dec 21, 2016
a11d01a
Made build/test scripts exit with failure if anything failed. (#1088)
ajsecord Dec 21, 2016
7a19483
[ReadMes] - First image of each component is too big (#1110)
ShepJGoogle Dec 27, 2016
67b2235
[Site] Removing unused files for and from generated doc site. (#1108)
willlarche Dec 27, 2016
c0103fc
[ReadMes] - Updated asset name for collection_cells (#1111)
ShepJGoogle Dec 27, 2016
82dc874
Enable Travis CI integration (#1095)
ianegordon Dec 27, 2016
1d60eff
Add Travis CI build badge to README.md (#1112)
ajsecord Dec 27, 2016
b17ec99
Add uploading of testing code coverage results to codecov.io (#1114)
ajsecord Dec 27, 2016
5220eb3
Enable test code coverage reports in Xcode and in Travis CI. (#1115)
ajsecord Dec 27, 2016
3bf8d54
Add codecov.io badge to README.md. (#1116)
ajsecord Dec 28, 2016
e34ef53
Add Codecov config to exclude uninteresting paths. (#1118)
ajsecord Dec 28, 2016
578764a
Extracts header code into method removing repetition (#1119)
kul3r4 Dec 29, 2016
f2f00b3
[AppBar] Header stack view in AppBarController (#1121)
willlarche Jan 3, 2017
4d777c4
Initial implementation of MDCTabBar and private MDCItemBar (#711)
brianjmoore Oct 4, 2016
80794be
[Tabs] Initial README template and changes
brianjmoore Oct 18, 2016
5d52029
[Tabs] Updating intro content.
willlarche Nov 1, 2016
3352319
[Tabs] Commenting out mention of bottom navigation bars in readme.
willlarche Nov 1, 2016
4cefae4
Initial implementation of MDCTabBar and private MDCItemBar (#711)
brianjmoore Oct 4, 2016
02826d8
[Tabs] Correcting resources key in pod spec.
willlarche Nov 7, 2016
aa32e76
[Tabs] Correcting implementation of resources key in pod spec.
willlarche Nov 7, 2016
8af4ee2
[Tabs] Removing duplicate entry in pod spec (cherry pick artifact.)
willlarche Nov 7, 2016
c0e8dd4
[Tabs] Overview written
willlarche Nov 7, 2016
e8326fd
[Tabs] Mentioning badges in overview.
willlarche Nov 7, 2016
8cc1592
[Tabs] Removing TODO in ready.
willlarche Nov 7, 2016
a242e7b
[Tabs] Duplicating tabs example in prep for splitting it into two.
willlarche Nov 7, 2016
ca7f0c4
[Tabs] Examples crudely split apart.
willlarche Nov 8, 2016
d014f01
[Pods] Update of lock, catalog and tests for new version.
willlarche Nov 8, 2016
06a2a52
[Tabs] Refactored examples to be in style of supplemented examples.
willlarche Nov 10, 2016
a15f6f7
[Tabs] Formatting.
willlarche Nov 11, 2016
efaa989
[Tabs] Formatting.
willlarche Nov 11, 2016
e28881d
[Tabs] Formatting.
willlarche Nov 11, 2016
c5e362f
Add usage examples
brianjmoore Nov 16, 2016
717062b
Add usage examples
brianjmoore Nov 16, 2016
8d41603
Update import documentation
brianjmoore Nov 16, 2016
e27475a
Small edits
brianjmoore Nov 16, 2016
cf5d5f1
Do not show badges for title-only tabs
brianjmoore Nov 29, 2016
d282b23
Update title-only documentation re: badges
brianjmoore Nov 29, 2016
d0e9e2b
Update README.md
brianjmoore Dec 20, 2016
bc41b17
Update Podfile.lock
brianjmoore Dec 20, 2016
d7faecf
Manually fix Podfile.lock
brianjmoore Dec 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ignore:
- "catalog"
- "components/*/examples"
- "components/*/tests/*"
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,24 @@ sudo: false
# Only fire off builds for specific branches.
branches:
only:
- testtravis
- develop
- stable
- /^feature-.*$/
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- DESTINATION="OS=9.3,name=iPhone 6s" SDK=iphonesimulator9.3
- DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.2" SDK="iphonesimulator10.2"
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- pod --version
- scripts/release/manage_pods.py install
- scripts/build_all
- scripts/test_all
after_success:
- bash <(curl -s https://codecov.io/bash)
12 changes: 12 additions & 0 deletions MaterialComponents.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,18 @@ Pod::Spec.new do |s|
ss.dependency "MaterialComponents/private/Overlay"
end

s.subspec "Tabs" do |ss|
ss.ios.deployment_target = '7.0'
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}"
ss.resources = ["components/#{ss.base_name}/src/Material#{ss.base_name}.bundle"]

ss.dependency "MaterialComponents/AnimationTiming"
ss.dependency "MaterialComponents/Ink"
ss.dependency "MaterialComponents/Typography"
ss.dependency "MaterialComponents/private/RTL"
end

s.subspec "Typography" do |ss|
ss.ios.deployment_target = '7.0'
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Material Components for iOS

<img align="right" src="mdc_hero.png" width="300px">

[![Build Status](https://travis-ci.org/material-components/material-components-ios.svg?branch=develop)](https://travis-ci.org/material-components/material-components-ios)
[![Code coverage](https://img.shields.io/codecov/c/github/material-components/material-components-ios/develop.svg)](https://codecov.io/gh/material-components/material-components-ios/branch/develop)

Material Components for iOS (MDC-iOS) helps developers execute [Material Design](https://www.material.io). Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional iOS apps. Learn more about how Material Design supports design and usability best practices across platforms in the [Material Design Platform Adaptation guidelines](https://material.io/guidelines/platforms/platform-adaptation.html).

Material Components for iOS are written in Objective-C and support Swift and Interface Builder.
Expand Down
20 changes: 14 additions & 6 deletions catalog/MDCCatalog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -379,18 +379,18 @@
TargetAttributes = {
0B50E1981D91B0BD00DED250 = {
CreatedOnToolsVersion = 7.3.1;
ProvisioningStyle = Automatic;
TestTargetID = 664524B21C6BA62A001ADBF8;
};
64307B371DF74FEF004AE4AC = {
CreatedOnToolsVersion = 8.2;
DevelopmentTeam = EQHXZ8M8AV;
LastSwiftMigration = 0810;
ProvisioningStyle = Automatic;
};
664524B21C6BA62A001ADBF8 = {
CreatedOnToolsVersion = 7.3;
DevelopmentTeam = EQHXZ8M8AV;
LastSwiftMigration = 0810;
ProvisioningStyle = Automatic;
};
};
};
Expand Down Expand Up @@ -715,6 +715,8 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCInteractionTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand All @@ -730,6 +732,8 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCInteractionTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand All @@ -748,7 +752,8 @@
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
DEVELOPMENT_TEAM = EQHXZ8M8AV;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCActionExtension/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.mdc-catalog.MDCActionExtension";
Expand All @@ -767,7 +772,8 @@
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
DEVELOPMENT_TEAM = EQHXZ8M8AV;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCActionExtension/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.mdc-catalog.MDCActionExtension";
Expand Down Expand Up @@ -867,7 +873,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = EQHXZ8M8AV;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCCatalog/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.MDCCatalog;
Expand All @@ -885,7 +892,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = EQHXZ8M8AV;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = MDCCatalog/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.MDCCatalog;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down
6 changes: 6 additions & 0 deletions catalog/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ PODS:
- MaterialComponents/ShadowLayer (= 19.0.4)
- MaterialComponents/Slider (= 19.0.4)
- MaterialComponents/Snackbar (= 19.0.4)
- MaterialComponents/Tabs (= 19.0.4)
- MaterialComponents/Typography (= 19.0.4)
- MaterialComponents/ActivityIndicator (19.0.4):
- MaterialComponents/private/Application
Expand Down Expand Up @@ -148,6 +149,11 @@ PODS:
- MaterialComponents/private/KeyboardWatcher
- MaterialComponents/private/Overlay
- MaterialComponents/Typography
- MaterialComponents/Tabs (19.0.4):
- MaterialComponents/AnimationTiming
- MaterialComponents/Ink
- MaterialComponents/private/RTL
- MaterialComponents/Typography
- MaterialComponents/Typography (19.0.4)
- MaterialComponentsCatalog (19.0.4):
- MaterialComponents
Expand Down
2 changes: 1 addition & 1 deletion components/ActivityIndicator/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Activity Indicator

<!--{% if site.link_to_site == "true" %}-->
[![Activity Indicator](docs/assets/activity_indicator.png)](docs/assets/activity_indicator.mp4)
<a alt="Activity Indicator"><img src="docs/assets/activity_indicator.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/activity_indicator.mp4" autoplay loop></video></div>{% endif %}-->

Activity indicators are visual indications of an app loading content. The Activity Indicator is a circular indicator that either rotates clockwise or fills to completion clockwise when displaying progress.
Expand Down
2 changes: 1 addition & 1 deletion components/AppBar/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# App Bar

<!--{% if site.link_to_site == "true" %}-->
[![App Bar](docs/assets/app_bar.png)](docs/assets/app_bar.mp4)
<a alt="App Bar"><img src="docs/assets/app_bar.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/app_bar.mp4" autoplay loop></video></div>{% endif %}-->

The App Bar is a flexible navigation bar designed to provide a typical Material Design
Expand Down
2 changes: 1 addition & 1 deletion components/AppBar/src/MDCAppBar.m
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ - (MDCHeaderStackView *)headerStackView {
// Underlying issue is you need view loaded before accessing. Below change will accomplish that
// by calling for view.bounds initializing the stack view
if (!_headerStackView) {
_headerStackView = [[MDCHeaderStackView alloc] initWithFrame:self.view.bounds];
_headerStackView = [[MDCHeaderStackView alloc] initWithFrame:CGRectZero];
}
return _headerStackView;
}
Expand Down
2 changes: 1 addition & 1 deletion components/ButtonBar/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Button Bar

<!--{% if site.link_to_site == "true" %}-->
[![Button Bar](docs/assets/button_bar.png)](docs/assets/button_bar.mp4)
<a alt="Button Bar"><img src="docs/assets/button_bar.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/button_bar.mp4" autoplay loop></video></div>{% endif %}-->

The Button Bar is a view that represents a list of UIBarButtonItems as horizontally aligned buttons.
Expand Down
2 changes: 1 addition & 1 deletion components/Buttons/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Buttons

<!--{% if site.link_to_site == "true" %}-->
[![Buttons](docs/assets/buttons.png)](docs/assets/buttons.mp4)
<a alt="Buttons"><img src="docs/assets/buttons.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/buttons.mp4" autoplay loop></video></div>{% endif %}-->

Buttons is a collection of Material Design buttons, including a flat button, a raised button and a
Expand Down
2 changes: 1 addition & 1 deletion components/CollectionCells/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Collection Cells

![Collections](docs/assets/collections_screenshot.png)
<a alt="Collection Cells"><img src="docs/assets/collection_cells.png" width="320px"></a>
<!--{: .ios-screenshot .right }-->

Collection view cell classes that adhere to Material Design layout and styling.
Expand Down
2 changes: 1 addition & 1 deletion components/Collections/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Collections

<!--{% if site.link_to_site == "true" %}-->
[![Collections](docs/assets/collections.png)](docs/assets/collections.mp4)
<a alt="Collections"><img src="docs/assets/collections.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/collections.mp4" autoplay loop></video></div>{% endif %}-->

Collection view classes that adhere to Material Design layout and styling.
Expand Down
2 changes: 1 addition & 1 deletion components/FeatureHighlight/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Feature Highlight

<!--{% if site.link_to_site == "true" %}-->
[![Feature Highlight](docs/assets/feature_highlight.png)](docs/assets/feature_highlight.mp4)
<a alt="Feature Highlight"><img src="docs/assets/feature_highlight.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/feature_highlight.mp4" autoplay loop></video></div>{% endif %}-->

The Feature Highlight component is a way to visually highlight a part of the screen in order to introduce users to new features and functionality.
Expand Down
2 changes: 1 addition & 1 deletion components/FlexibleHeader/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Flexible Header

<!--{% if site.link_to_site == "true" %}-->
[![Flexible Header](docs/assets/flexible_header.png)](docs/assets/flexible_header.mp4)
<a alt="Flexible Header"><img src="docs/assets/flexible_header.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/flexible_header.mp4" autoplay loop></video></div>{% endif %}-->

The Flexible Header is a container view whose height and vertical offset react to
Expand Down
2 changes: 1 addition & 1 deletion components/HeaderStackView/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Header Stack View

<!--{% if site.link_to_site == "true" %}-->
[![Header Stack View](docs/assets/header_stack_view.png)](docs/assets/header_stack_view.mp4)
<a alt="Header Stack View"><img src="docs/assets/header_stack_view.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/header_stack_view.mp4" autoplay loop></video></div>{% endif %}-->

The Header Stack View component is a view that coordinates the layout of two vertically stacked
Expand Down
2 changes: 1 addition & 1 deletion components/Ink/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ink

<!--{% if site.link_to_site == "true" %}-->
[![Ink](docs/assets/ink.png)](docs/assets/ink.mp4)
<a alt="Ink"><img src="docs/assets/ink.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/ink.mp4" autoplay loop></video></div>{% endif %}-->

The Ink component provides a radial action in the form of a visual ripple of ink expanding
Expand Down
2 changes: 1 addition & 1 deletion components/NavigationBar/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Navigation Bar

<!--{% if site.link_to_site == "true" %}-->
[![Navigation Bar](docs/assets/navigation_bar.png)](docs/assets/navigation_bar.mp4)
<a alt="Navigation Bar"><img src="docs/assets/navigation_bar.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/navigation_bar.mp4" autoplay loop></video></div>{% endif %}-->

The Navigation Bar component is a view composed of a left and right Button Bar and either a title
Expand Down
4 changes: 1 addition & 3 deletions components/NavigationBar/src/MDCNavigationBar.m
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,7 @@ - (void)layoutSubviews {
CGRect alignedFrame = [self mdc_frameAlignedVertically:titleFrame
withinBounds:textFrame
alignment:titleVerticalAlignment];
alignedFrame = [self mdc_frameAlignedHorizontally:alignedFrame alignment:self.titleAlignment];
_titleLabel.frame = MDCRectFlippedForRTL(alignedFrame, self.bounds.size.width,
self.mdc_effectiveUserInterfaceLayoutDirection);
_titleLabel.frame = [self mdc_frameAlignedHorizontally:alignedFrame alignment:self.titleAlignment];
self.titleView.frame = textFrame;

// Button and title label alignment
Expand Down
2 changes: 1 addition & 1 deletion components/PageControl/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Page Control

<!--{% if site.link_to_site == "true" %}-->
[![Page Control](docs/assets/page_control.png)](docs/assets/page_control.mp4)
<a alt="Page Control"><img src="docs/assets/page_control.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/page_control.mp4" autoplay loop></video></div>{% endif %}-->

This control is designed to be a drop-in replacement for `UIPageControl`, with a user experience
Expand Down
2 changes: 1 addition & 1 deletion components/ProgressView/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Progress View

<!--{% if site.link_to_site == "true" %}-->
[![Progress View](docs/assets/progress_view.png)](docs/assets/progress_view.mp4)
<a alt="Progress View"><img src="docs/assets/progress_view.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/progress_view.mp4" autoplay loop></video></div>{% endif %}-->

This control is designed to be a drop-in replacement for `UIProgressView`, with a user experience
Expand Down
5 changes: 5 additions & 0 deletions components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ Material Components for iOS are written in Objective-C and support Swift and Int
](Switch/)
<!--{: .icon-switch }-->

- [**Tabs**
A material tab bar for switching between grouped content.
](Tabs/)
<!--{: .icon-tabs }-->

- [**Typography**
Text styles for Material fonts and opacities.
](Typography/)
Expand Down
2 changes: 1 addition & 1 deletion components/ShadowLayer/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Shadow Layer

<!--{% if site.link_to_site == "true" %}-->
[![Shadow Layer](docs/assets/shadow_layer.png)](docs/assets/shadow_layer.mp4)
<a alt="Shadow Layer"><img src="docs/assets/shadow_layer.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/shadow_layer.mp4" autoplay loop></video></div>{% endif %}-->

Shadow Layer implements the Material Design specifications for elevation and shadows.
Expand Down
2 changes: 1 addition & 1 deletion components/Slider/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Slider

<!--{% if site.link_to_site == "true" %}-->
[![Slider](docs/assets/slider.png)](docs/assets/slider.mp4)
<a alt="Slider"><img src="docs/assets/slider.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/slider.mp4" autoplay loop></video></div>{% endif %}-->

The `MDCSlider` object is a Material Design control used to select a value from a continuous range
Expand Down
2 changes: 1 addition & 1 deletion components/Snackbar/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Snackbar

<!--{% if site.link_to_site == "true" %}-->
[![Snackbar](docs/assets/snackbar.png)](docs/assets/snackbar.mp4)
<a alt="Snackbar"><img src="docs/assets/snackbar.png" width="320px"></a>
<!--{% else %}<div class="ios-animation right" markdown="1"><video src="docs/assets/snackbar.mp4" autoplay loop></video></div>{% endif %}-->

Snackbars provide brief feedback about an operation through a message at the bottom of the screen.
Expand Down
Loading