Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(breakpoints): support custom breakpoints and enhanced selectors #204

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

ThomasBurleson
Copy link
Contributor

@ThomasBurleson ThomasBurleson commented Mar 4, 2017

  • Modify providers to support global services for MediaMonitor and ObservableMonitor
    • uses PROVIDER_FACTORY solutions to check for parent/global instance
  • Add FlexLayoutModule.provideBreakPoints() to easily
    • add custom breakpoints to defaults
    • add orientation breakpoints to defaults
    • replace defaults with custom breakpoints
  • Add extended breakpoints from Material 2:
    • implementat breakpoints for handset, tablet, web
    • implementation breakpoints with orientations for Portrait and Landscape
  • Deprecated responsive uses of class.<xx> and style.<xx> selectors
    • Developers should use ngClass.<xx> and ngStyle.<xxx> selectors
  • Add selectors for lt-sm, lt-md, lt-lg, lt-xl
    • update mock-match-media fallback rules
  • Update ObservableMedia and MediaMonitor to use orientation breakpoints
    • also support custom breakpoints (if registered)

* Modify providers to support global services for MediaMonitor and ObservableMonitor
  * uses PROVIDER_FACTORY solutions to check for parent/global instance
* Add **FlexLayoutModule.provideBreakPoints()** to easily
  * add custom breakpoints to defaults
  * add orientation breakpoints to defaults
  * replace defaults with custom breakpoints
* Add extended breakpoints from Material 2:
  * implementat breakpoints for **handset**, **tablet**, **web**
  * implementation breakpoints with orientations for *Portrait* and *Landscape*
* Deprecated responsive uses of `class.<xx>` and `style.<xx>` selectors
  * Developers should use **`ngClass.<xx>`** and **`ngStyle.<xxx>`** selectors
* Add selectors for **`lt-sm`**, **`lt-md`**, **`lt-lg`**, **`lt-xl`**
  * update mock-match-media fallback rules
* Update **ObservableMedia** and **MediaMonitor** to use orientation breakpoints
  * also support custom breakpoints (if registered)
@mmalerba mmalerba merged commit ecc6e51 into master Mar 14, 2017
@ThomasBurleson ThomasBurleson deleted the thomas/custom_breakpoints branch March 30, 2017 23:28
karlhaas pushed a commit to karlhaas/flex-layout that referenced this pull request May 3, 2017
…ngular#204)

* Modify providers to support global services for MediaMonitor and ObservableMonitor
  * uses PROVIDER_FACTORY solutions to check for parent/global instance
* Add **FlexLayoutModule.provideBreakPoints()** to easily
  * add custom breakpoints to defaults
  * add orientation breakpoints to defaults
  * replace defaults with custom breakpoints
* Add extended breakpoints from Material 2:
  * implementat breakpoints for **handset**, **tablet**, **web**
  * implementation breakpoints with orientations for *Portrait* and *Landscape*
* Deprecated responsive uses of `class.<xx>` and `style.<xx>` selectors
  * Developers should use **`ngClass.<xx>`** and **`ngStyle.<xxx>`** selectors
* Add selectors for **`lt-sm`**, **`lt-md`**, **`lt-lg`**, **`lt-xl`**
  * update mock-match-media fallback rules
* Update **ObservableMedia** and **MediaMonitor** to use orientation breakpoints
  * also support custom breakpoints (if registered)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants