monkey-style-guide 21.2.21 → 21.2.22
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/README.md +11 -7
- package/assets/scss/partials/_breakpoints.scss +9 -9
- package/assets/scss/partials/_helper-classes.scss +1 -0
- package/fesm2022/monkey-style-guide.mjs +1779 -887
- package/fesm2022/monkey-style-guide.mjs.map +1 -1
- package/monkey-style-guide-21.2.22.tgz +0 -0
- package/package.json +3 -2
- package/types/monkey-style-guide.d.ts +556 -381
- package/monkey-style-guide-21.2.21.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Monkey Style Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Monkey Exchange design system — Angular 21.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[]()
|
|
6
|
+
[]()
|
|
7
|
+
[]()
|
|
8
|
+
[](https://app.codacy.com?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
>
|
|
10
|
+
> **Development:** scaffolding, build,
|
|
11
|
+
> publish and tests are done in the **workspace root** —
|
|
12
|
+
> see [`README.md`](../../README.md) at the root.
|
|
9
13
|
|
|
10
|
-
##
|
|
14
|
+
## Installation
|
|
11
15
|
|
|
12
16
|
Run `ng build monkey-style-guide-v2` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
17
|
|
|
@@ -64,4 +68,4 @@ Run `ng test monkey-style-guide-v2` to execute the unit tests via [Karma](https:
|
|
|
64
68
|
|
|
65
69
|
## Further help
|
|
66
70
|
|
|
67
|
-
|
|
71
|
+
Angular CLI: `ng help` or [Angular CLI Overview](https://angular.io/cli).
|
|
@@ -38,9 +38,9 @@ $breakpoints: (
|
|
|
38
38
|
|
|
39
39
|
@if $n < list.length($breakpoint-names) {
|
|
40
40
|
@return list.nth($breakpoint-names, $n + 1);
|
|
41
|
+
} @else {
|
|
42
|
+
@return null;
|
|
41
43
|
}
|
|
42
|
-
|
|
43
|
-
@return null;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|
|
@@ -51,9 +51,9 @@ $breakpoints: (
|
|
|
51
51
|
|
|
52
52
|
@if $min != 0 {
|
|
53
53
|
@return $min;
|
|
54
|
+
} @else {
|
|
55
|
+
@return null;
|
|
54
56
|
}
|
|
55
|
-
|
|
56
|
-
@return null;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// Maximum breakpoint width.
|
|
@@ -69,9 +69,9 @@ $breakpoints: (
|
|
|
69
69
|
|
|
70
70
|
@if $max and $max > 0 {
|
|
71
71
|
@return $max - 0.02;
|
|
72
|
+
} @else {
|
|
73
|
+
@return null;
|
|
72
74
|
}
|
|
73
|
-
|
|
74
|
-
@return null;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.
|
|
@@ -81,11 +81,11 @@ $breakpoints: (
|
|
|
81
81
|
// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
|
82
82
|
// "-sm"
|
|
83
83
|
@function breakpoint-infix($name) {
|
|
84
|
-
@if
|
|
84
|
+
@if breakpoint-min($name) == null {
|
|
85
85
|
@return '';
|
|
86
|
+
} @else {
|
|
87
|
+
@return '-#{$name}';
|
|
86
88
|
}
|
|
87
|
-
|
|
88
|
-
@return '-#{$name}';
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|