coer-elements 2.0.71 → 2.0.74
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/components/lib/coer-datebox/coer-datebox.component.d.ts +1 -1
- package/components/lib/coer-modal/coer-modal.component.d.ts +2 -2
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-secretbox/coer-secretbox.component.d.ts +1 -1
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/extensions/lib/array.extension.d.ts +9 -0
- package/extensions/public-api.d.ts +1 -0
- package/fesm2022/coer-elements-components.mjs +19 -27
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-extensions.mjs +8 -1
- package/fesm2022/coer-elements-extensions.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +13 -17
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/coer-elements.css +1 -1
- package/styles/font-size.scss +22 -0
- package/styles/fonts.scss +1 -8
- package/styles/index.scss +8 -4
- package/tools/lib/collections.tools.d.ts +2 -2
- /package/styles/{borders.scss → border.scss} +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
@mixin mixin($breakpoint) {
|
2
|
+
|
3
|
+
@for $i from 0 through 100 {
|
4
|
+
.#{$breakpoint}font-size-#{$i}px {
|
5
|
+
font-size: $i * 1px !important;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
@each $key, $value in (
|
10
|
+
'xx-small': xx-small,
|
11
|
+
'x-small' : x-small,
|
12
|
+
'small' : small,
|
13
|
+
'medium' : medium,
|
14
|
+
'large' : large,
|
15
|
+
'x-large' : x-large,
|
16
|
+
'xx-large': xx-large
|
17
|
+
) {
|
18
|
+
.#{$breakpoint}font-size-#{$key} {
|
19
|
+
font-size: $value;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
package/styles/fonts.scss
CHANGED
package/styles/index.scss
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
@use "./animations.scss" as _animations;
|
2
|
-
@use "./
|
2
|
+
@use "./border.scss" as _border;
|
3
3
|
@use "./colors.scss" as _colors;
|
4
4
|
@use "./components.scss";
|
5
5
|
@use "./containers.scss";
|
6
6
|
@use "./cursors.scss" as _cursors;
|
7
7
|
@use "./displays.scss" as _displays;
|
8
|
+
@use "./font-size.scss" as _font-size;
|
8
9
|
@use "./fonts.scss" as _fonts;
|
9
10
|
@use "./icons/icons.scss";
|
10
11
|
@use "./layout-flex-wrap.scss" as _layout-flex-wrap;
|
@@ -32,10 +33,11 @@
|
|
32
33
|
) {
|
33
34
|
@if ($breakpoint == '') {
|
34
35
|
@include _animations.mixin($breakpoint);
|
35
|
-
@include
|
36
|
+
@include _border.mixin($breakpoint);
|
36
37
|
@include _colors.mixin($breakpoint);
|
37
38
|
@include _cursors.mixin($breakpoint);
|
38
39
|
@include _displays.mixin($breakpoint);
|
40
|
+
@include _font-size.mixin($breakpoint);
|
39
41
|
@include _fonts.mixin($breakpoint);
|
40
42
|
@include _layout-flex-wrap.mixin($breakpoint);
|
41
43
|
@include _layout-flex.mixin($breakpoint);
|
@@ -52,10 +54,11 @@
|
|
52
54
|
@else if ($breakpoint == 'mv-') {
|
53
55
|
@media (min-width: $min-width) and (max-width: 499px) {
|
54
56
|
@include _animations.mixin($breakpoint);
|
55
|
-
@include
|
57
|
+
@include _border.mixin($breakpoint);
|
56
58
|
@include _colors.mixin($breakpoint);
|
57
59
|
@include _cursors.mixin($breakpoint);
|
58
60
|
@include _displays.mixin($breakpoint);
|
61
|
+
@include _font-size.mixin($breakpoint);
|
59
62
|
@include _fonts.mixin($breakpoint);
|
60
63
|
@include _layout-flex-wrap.mixin($breakpoint);
|
61
64
|
@include _layout-flex.mixin($breakpoint);
|
@@ -73,10 +76,11 @@
|
|
73
76
|
@else {
|
74
77
|
@media (min-width: $min-width) {
|
75
78
|
@include _animations.mixin($breakpoint);
|
76
|
-
@include
|
79
|
+
@include _border.mixin($breakpoint);
|
77
80
|
@include _colors.mixin($breakpoint);
|
78
81
|
@include _cursors.mixin($breakpoint);
|
79
82
|
@include _displays.mixin($breakpoint);
|
83
|
+
@include _font-size.mixin($breakpoint);
|
80
84
|
@include _fonts.mixin($breakpoint);
|
81
85
|
@include _layout-flex-wrap.mixin($breakpoint);
|
82
86
|
@include _layout-flex.mixin($breakpoint);
|
@@ -7,7 +7,7 @@ export declare class Collections {
|
|
7
7
|
/** Sort an array in descending order by property */
|
8
8
|
static SortByDesc<T>(array: T[], property: string, propertyType?: 'string' | 'number'): T[];
|
9
9
|
/** */
|
10
|
-
static Distinct<T>(array: T[]
|
10
|
+
static Distinct<T>(array: T[]): T[];
|
11
11
|
/** */
|
12
|
-
static Except<T>(array: T[],
|
12
|
+
static Except<T>(array: T[], exceptions: T[]): T[];
|
13
13
|
}
|
File without changes
|