coer-elements 2.0.30 → 2.0.32

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/styles/index.scss CHANGED
@@ -11,6 +11,7 @@
11
11
  @use "./layout-flex.scss" as _layout-flex;
12
12
  @use "./layout-grid.scss" as _layout-grid;
13
13
  @use "./margins.scss" as _margins;
14
+ @use "./orders.scss" as _orders;
14
15
  @use "./overflow.scss" as _overflow;
15
16
  @use "./paddings.scss" as _padding;
16
17
  @use "./paragraphs" as _paragraphs;
@@ -45,6 +46,7 @@
45
46
  @include _layout-flex.mixin($breakpoint);
46
47
  @include _layout-grid.mixin($breakpoint);
47
48
  @include _margins.mixin($breakpoint);
49
+ @include _orders.mixin($breakpoint);
48
50
  @include _overflow.mixin($breakpoint);
49
51
  @include _padding.mixin($breakpoint);
50
52
  @include _paragraphs.mixin($breakpoint);
@@ -65,6 +67,7 @@
65
67
  @include _layout-flex.mixin($breakpoint);
66
68
  @include _layout-grid.mixin($breakpoint);
67
69
  @include _margins.mixin($breakpoint);
70
+ @include _orders.mixin($breakpoint);
68
71
  @include _overflow.mixin($breakpoint);
69
72
  @include _padding.mixin($breakpoint);
70
73
  @include _paragraphs.mixin($breakpoint);
@@ -2,6 +2,7 @@
2
2
  .#{$breakpoint}flex-wrap {
3
3
  display: flex !important;
4
4
  flex-wrap: wrap !important;
5
+ gap: 10px;
5
6
  }
6
7
 
7
8
  @each $key, $value in (
@@ -62,10 +63,12 @@
62
63
 
63
64
  @for $i from 1 through 100 {
64
65
  .#{$breakpoint}flex-item-#{$i}px {
66
+ flex-grow: 0 !important;
65
67
  flex-basis: $i * 1px !important;
66
68
  }
67
69
 
68
70
  .#{$breakpoint}flex-item-#{$i} {
71
+ flex-grow: 0 !important;
69
72
  flex-basis: $i * 1% !important;
70
73
  }
71
74
 
@@ -82,6 +85,7 @@
82
85
 
83
86
 
84
87
  .#{$breakpoint}flex-item-150px {
88
+ flex-grow: 0 !important;
85
89
  flex-basis: 150px !important;
86
90
  }
87
91
 
@@ -99,6 +103,7 @@
99
103
  ) {
100
104
 
101
105
  .#{$breakpoint}flex-item-#{$key} {
106
+ flex-grow: 0 !important;
102
107
  flex-basis: $value !important;
103
108
  }
104
109
 
@@ -111,6 +116,7 @@
111
116
 
112
117
  @for $i from 2 through 10 {
113
118
  .#{$breakpoint}flex-item-#{$i * 100}px {
119
+ flex-grow: 0 !important;
114
120
  flex-basis: $i * 100px !important;
115
121
  }
116
122
 
@@ -121,6 +127,7 @@
121
127
 
122
128
  @if($i * 100 + 50 < 1000) {
123
129
  .#{$breakpoint}flex-item-#{$i * 100 + 50}px {
130
+ flex-grow: 0 !important;
124
131
  flex-basis: $i * 100px + 50px;
125
132
  }
126
133
 
@@ -0,0 +1,7 @@
1
+ @mixin mixin($breakpoint) {
2
+ @for $i from 1 through 25 {
3
+ .#{$breakpoint}order-#{$i} {
4
+ order: $i !important;
5
+ }
6
+ }
7
+ }
@@ -8,10 +8,20 @@ h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
8
8
  }
9
9
 
10
10
  @mixin mixin($breakpoint) {
11
- .#{$breakpoint}white-space-nowrap {
12
- white-space: nowrap !important;
11
+
12
+ @each $key, $value in (
13
+ 'normal' : normal,
14
+ 'nowrap' : nowrap,
15
+ 'pre' : pre,
16
+ 'pre-line' : pre-line,
17
+ 'pre-wrap' : pre-wrap
18
+ ) {
19
+ .#{$breakpoint}white-space-#{$key} {
20
+ white-space: $value !important;
21
+ }
13
22
  }
14
23
 
24
+
15
25
  @each $key, $value in (
16
26
  'left' : left,
17
27
  'center' : center,