-
Notifications
You must be signed in to change notification settings - Fork 947
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
1,979 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
load 'scripts/generated/icons.rb' | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "MaterialComponents" | ||
s.version = "2.1.1" | ||
s.version = "2.2.0" | ||
s.authors = { 'Apple platform engineering at Google' => '[email protected]' } | ||
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details." | ||
s.homepage = "https://github.com/google/material-components-ios" | ||
|
@@ -41,20 +43,18 @@ Pod::Spec.new do |s| | |
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}" | ||
ss.header_mappings_dir = "components/#{ss.base_name}/src/*" | ||
|
||
ss.resource_bundles = { | ||
"Material#{ss.base_name}" => ["components/#{ss.base_name}/src/Material#{ss.base_name}.bundle/Images.xcassets/*/*.png"] | ||
} | ||
|
||
# Navigation bar contents | ||
ss.dependency "MaterialComponents/Buttons" | ||
ss.dependency "MaterialComponents/HeaderStackView" | ||
ss.dependency "MaterialComponents/NavigationBar" | ||
ss.dependency "MaterialComponents/Typography" | ||
|
||
# Flexible header + shadow | ||
ss.dependency "MaterialComponents/FlexibleHeader" | ||
ss.dependency "MaterialComponents/ShadowElevations" | ||
ss.dependency "MaterialComponents/ShadowLayer" | ||
|
||
ss.dependency "MaterialComponents/private/Icons/ic_arrow_back" | ||
end | ||
|
||
s.subspec "Buttons" do |ss| | ||
|
@@ -80,6 +80,14 @@ Pod::Spec.new do |s| | |
ss.header_mappings_dir = "components/#{ss.base_name}/src/*" | ||
end | ||
|
||
s.subspec "FontDiskLoader" do |ss| | ||
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.header_mappings_dir = "components/#{ss.base_name}/src/*" | ||
|
||
ss.framework = "CoreText" | ||
end | ||
|
||
s.subspec "HeaderStackView" do |ss| | ||
ss.public_header_files = "components/#{ss.base_name}/src/*.h" | ||
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}" | ||
|
@@ -110,6 +118,22 @@ Pod::Spec.new do |s| | |
} | ||
end | ||
|
||
s.subspec "RobotoFontLoader" do |ss| | ||
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.header_mappings_dir = "components/#{ss.base_name}/src/*" | ||
|
||
# Only if you have a resource bundle | ||
ss.resource_bundles = { | ||
"Material#{ss.base_name}" => ["components/#{ss.base_name}/src/Material#{ss.base_name}.bundle/*"] | ||
} | ||
|
||
ss.dependency "MaterialComponents/FontDiskLoader" | ||
# TODO: Make MDCRobotoFontLoader conform to the <MDCTypographyFontLoading>. This was intended to be a | ||
# strong dependancy but is weak during the deprecation period. | ||
# ss.dependency "MaterialComponents/Typography" | ||
end | ||
|
||
s.subspec "ScrollViewDelegateMultiplexer" do |ss| | ||
ss.public_header_files = "components/#{ss.base_name}/src/*.h" | ||
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}" | ||
|
@@ -157,15 +181,14 @@ Pod::Spec.new do |s| | |
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.header_mappings_dir = "components/#{ss.base_name}/src/*" | ||
ss.framework = "CoreText" | ||
|
||
ss.resource_bundles = { | ||
"Material#{ss.base_name}" => ["components/#{ss.base_name}/src/Material#{ss.base_name}.bundle/*"] | ||
} | ||
ss.framework = "CoreText" | ||
ss.dependency "MaterialComponents/RobotoFontLoader" # This dependancy is part of a deprecation. | ||
end | ||
|
||
s.subspec "private" do |pss| | ||
|
||
# The implementation of this method is generated by running scripts/sync_icons.sh | ||
registerIcons(pss) | ||
|
||
pss.subspec "Color" do |ss| | ||
ss.public_header_files = "components/private/#{ss.base_name}/src/*.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "MaterialComponentsCatalog" | ||
s.version = "2.1.1" | ||
s.version = "2.2.0" | ||
s.authors = { 'Apple platform engineering at Google' => '[email protected]' } | ||
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details." | ||
s.homepage = "https://github.com/google/material-components-ios" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "MaterialComponentsUnitTests" | ||
s.version = "2.1.1" | ||
s.version = "2.2.0" | ||
s.authors = { 'Apple platform engineering at Google' => '[email protected]' } | ||
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details." | ||
s.homepage = "https://github.com/google/material-components-ios" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
catalog/MDCCatalog/Assets.xcassets/App Bar.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "AppBar.pdf" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file modified
BIN
-27.9 KB
(34%)
catalog/MDCCatalog/Assets.xcassets/Flexible Header.imageset/FlexibleHeader.pdf
Binary file not shown.
Binary file modified
BIN
+31.4 KB
(360%)
catalog/MDCCatalog/Assets.xcassets/Header Stack View.imageset/HeaderStackView.pdf
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
catalog/MDCCatalog/Assets.xcassets/Misc.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "Misc.pdf" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file not shown.
Binary file modified
BIN
-28.5 KB
(29%)
catalog/MDCCatalog/Assets.xcassets/Page Control.imageset/PageControl.pdf
Binary file not shown.
Binary file modified
BIN
-14.4 KB
(66%)
catalog/MDCCatalog/Assets.xcassets/Shadows.imageset/Shadows.pdf
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
catalog/MDCCatalog/Assets.xcassets/Sprited Animation View.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "SpritedAnimationView.pdf" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+19.6 KB
catalog/MDCCatalog/Assets.xcassets/Sprited Animation View.imageset/SpritedAnimationView.pdf
Binary file not shown.
Binary file modified
BIN
-14.9 KB
(64%)
catalog/MDCCatalog/Assets.xcassets/Switch.imageset/Switch.pdf
Binary file not shown.
Binary file modified
BIN
-28.6 KB
(32%)
catalog/MDCCatalog/Assets.xcassets/Typography.imageset/Typography.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.