@1024pix/pix-ui 45.4.2 → 45.4.4
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.
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:meta";
|
|
3
|
+
|
|
1
4
|
$breakpoints: (
|
|
2
5
|
'mobile': (max-width: 768px),
|
|
3
6
|
'tablet': (min-width: 769px),
|
|
@@ -6,11 +9,11 @@ $breakpoints: (
|
|
|
6
9
|
) !default;
|
|
7
10
|
|
|
8
11
|
@mixin device-is($breakpoint) {
|
|
9
|
-
@if map
|
|
10
|
-
@media #{inspect(map
|
|
12
|
+
@if map.has-key($breakpoints, $breakpoint) {
|
|
13
|
+
@media #{meta.inspect(map.get($breakpoints, $breakpoint))} {
|
|
11
14
|
@content;
|
|
12
15
|
}
|
|
13
16
|
} @else {
|
|
14
|
-
@warn "Unfortunately, no value could be retrieved from `#{$breakpoint}`. Available breakpoints are: #{map
|
|
17
|
+
@warn "Unfortunately, no value could be retrieved from `#{$breakpoint}`. Available breakpoints are: #{map.keys($breakpoints)}.";
|
|
15
18
|
}
|
|
16
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1024pix/pix-ui",
|
|
3
|
-
"version": "45.4.
|
|
3
|
+
"version": "45.4.4",
|
|
4
4
|
"description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@1024pix/ember-testing-library": "^1.1.0",
|
|
62
62
|
"@1024pix/eslint-config": "^1.2.11",
|
|
63
|
-
"@1024pix/stylelint-config": "^5.1.
|
|
63
|
+
"@1024pix/stylelint-config": "^5.1.12",
|
|
64
64
|
"@babel/eslint-parser": "^7.19.1",
|
|
65
65
|
"@babel/plugin-proposal-decorators": "^7.20.5",
|
|
66
66
|
"@ember/optional-features": "^2.0.0",
|