@unsass/breakpoint 2.0.0 → 2.1.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
4
 
5
+ ## [2.1.0](https://github.com/unsass/breakpoint/compare/v2.0.0...v2.1.0) (2022-06-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **functions:** add `get-screens` ([2ee5651](https://github.com/unsass/breakpoint/commit/2ee565137a31c5c25df2bf342434b498156df712))
11
+
5
12
  ## [2.0.0](https://github.com/unsass/breakpoint/compare/v1.0.0...v2.0.0) (2022-06-10)
6
13
 
7
14
 
package/README.md CHANGED
@@ -209,9 +209,10 @@ The following Sass...
209
209
 
210
210
  ### Sass functions
211
211
 
212
- | Function | Description |
213
- |---------------------|---------------------------------------------|
214
- | `get-value($token)` | Get value from the configured tokens list. |
212
+ | Function | Description |
213
+ |---------------------|--------------------------------------------|
214
+ | `get-value($token)` | Get value from the configured tokens list. |
215
+ | `get-screens()` | Get list of screens tokens. |
215
216
 
216
217
  #### Get token value with `breakpoint.get-value()`
217
218
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@unsass/breakpoint",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Easily manage your CSS breakpoint rules.",
5
5
  "scripts": {
6
6
  "lint:css": "stylelint --fix \"**/*.scss\"",
7
7
  "lint": "npm-run-all --parallel lint:*",
8
8
  "test": "jest",
9
9
  "prepare": "husky install",
10
- "release": "semantic-release --branches main"
10
+ "release": "semantic-release"
11
11
  },
12
12
  "engines": {
13
13
  "node": ">=14.0.0",
@@ -24,6 +24,13 @@
24
24
  @return if($n < length($keys), list.nth($keys, $n + 1), null);
25
25
  }
26
26
 
27
+ ///
28
+ /// Get screens list.
29
+ ///
30
+ @function get-screens() {
31
+ @return variables.$extend;
32
+ }
33
+
27
34
  ///
28
35
  /// Set min.
29
36
  ///