ngx-mq 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -156,6 +156,8 @@ export const isLandscape = (): Signal<boolean> => matchMediaSignal('(orientation
156
156
 
157
157
  ## Providers
158
158
 
159
+ These functions return standard Angular `Provider` instances that can be injected at any level of the application hierarchy.
160
+
159
161
  | Provider | Parameters | Description |
160
162
  | ------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------- |
161
163
  | `provideBreakpoints()` | `bps: MqBreakpoints` | Registers a custom set of breakpoints. |
@@ -165,6 +167,9 @@ export const isLandscape = (): Signal<boolean> => matchMediaSignal('(orientation
165
167
  | `provideBreakpointEpsilon()` | `epsilon: number` | Sets the epsilon threshold used when comparing breakpoint values. |
166
168
  | `provideSsrValue()` | `value: boolean` | Defines the static signal value used during SSR, since media queries are not available on the server. Defaults to `false`. |
167
169
 
170
+ > 💡 To register these as environment providers, wrap them with [`makeEnvironmentProviders()`](https://v18.angular.dev/api/core/makeEnvironmentProviders).
171
+
172
+
168
173
  ## Types
169
174
 
170
175
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mq",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Signal-powered breakpoints and media queries for Angular.",
5
5
  "repository": {
6
6
  "type": "git",