10 Commits

Author SHA1 Message Date
Robert Moore
e03186525d
[Examples/Tests] Convert @imports to imports (#2761)
In order to make the internal build systems happier, @import statements should not be used.
2017-12-22 12:30:25 -05:00
Yarden Eitan
29d760c7d6
Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) 2017-12-15 12:20:35 -05:00
Randall Li
b1ec22207f
Fixed float conversion build errors (#2602)
* Fixed float conversion build errors
Implicit conversion loses floating-point precision: 'double' to 'CGFloat' (aka 'float')

Found by turning on warnings via: https://github.com/material-components/material-components-ios/pull/2480

* More Fixed float conversion build errors
Implicit conversion loses floating-point precision: 'double' to 'CGFloat' (aka 'float')

Found by turning on warnings via: https://github.com/material-components/material-components-ios/pull/2480
2017-12-06 15:57:04 -05:00
Andrés
2d8a51e5d5
[Tabs] Internal fixes to account for the Safe Area insets. (#2261)
* [TabBar] Fixes for Safe Area insets.

* [TabBar] Check bar position.

* [TabBar] Add back intrinsicContentSize for consistency with sizeThatFits.

* [TabBar] RTL fixes

* [TabBar] Call setNeedsUpdateConstraints to match UIKit.

* [TabBar] Remove need for maintaining a height constraint for auto layout.

* [TabBar] Undo sizeThatFits/intrinsicContentSize changes.

* [TabBar] Revert more things.

* [TabBar] Undo more stuff.

* [TabBar] Review
2017-10-31 14:14:21 -04:00
Adrian Secord
479f7b1141 Remove trailing whitespace everywhere. (#2168) 2017-10-13 11:33:35 -04:00
Will Larche
96fb533554 [Catalog] Fixes improper use of Bundle and assets (#2118)
* [Catalog] Fixing bundle usage in some examples.

* [Examples] Correcting use of assets and bundles.

* [Examples] Formatting.
2017-10-08 15:04:48 -04:00
Robert Moore
601789c8c9 [Catalog] Bottom Navigation example should use safeAreaInsets (#1976)
The Bottom Navigation example for Tabs was overlapping with the Home Screen
indicator on the iPhone X. The example will now use safeAreaInsets if available
to calculate the position of the tab bar.

Closes #1975
2017-09-14 09:45:15 -04:00
Robert Moore
8940d77d6d [Catalog] Verify all examples provide CatalogByConvention methods (#1911)
All examples now have at least the required `+catalogBreadcrumbs` and `+catalogIsPrimaryDemo`.  All examples in the same breadcrumbs path have only one primary demo.  There should be only one `-catalogDescription` attached to the primary demo.

Closes #1897
2017-08-31 08:46:10 -04:00
Adrian Secord
206b0bf39b Added missing license stanzas. (#1768) 2017-08-10 17:16:33 -04:00
Brian Moore
a680e30a56 [Tabs] Bottom navigation support (#1411)
* [Tabs] Bottom navigation support

* [Tabs] Formatting pass and slight edits

* [Tabs] Small updates based on code review
2017-05-31 11:19:03 -04:00