@firestitch/style 18.0.19 → 18.0.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles/_layout.scss +24 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestitch/style",
3
- "version": "18.0.19",
3
+ "version": "18.0.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-style"
@@ -15,7 +15,7 @@
15
15
  flex-direction: column;
16
16
  align-items: flex-start;
17
17
 
18
- @include attributeMixin('class');
18
+ @include attributeMixin('class', false);
19
19
  }
20
20
 
21
21
  .fs-flex {
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  [fs\.gt-xs*='fs-column'] {
34
- @include attributeMixin('fs\\.gt-xs');
34
+ @include attributeMixin('fs\\.gt-xs', false);
35
35
  }
36
36
  }
37
37
 
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  [fs\.gt-sm*='fs-column'] {
44
- @include attributeMixin('fs\\.gt-sm');
44
+ @include attributeMixin('fs\\.gt-sm', false);
45
45
  }
46
46
  }
47
47
 
@@ -51,17 +51,21 @@
51
51
  }
52
52
 
53
53
  [fs\.gt-md*='fs-column'] {
54
- @include attributeMixin('fs\\.gt-md');
54
+ @include attributeMixin('fs\\.gt-md', false);
55
55
  }
56
56
  }
57
57
 
58
58
  @media (min-width: #{variables.$break-large + 1px}) {
59
59
  [fs\.gt-lg*='fs-row'] {
60
+ & {
61
+ flex-direction: row;
62
+ }
63
+
60
64
  @include attributeMixin('fs\\.gt-lg');
61
65
  }
62
66
 
63
67
  [fs\.gt-lg*='fs-column'] {
64
- @include attributeMixin('fs\\.gt-lg');
68
+ @include attributeMixin('fs\\.gt-lg', false);
65
69
  }
66
70
  }
67
71
 
@@ -74,7 +78,7 @@
74
78
  }
75
79
 
76
80
  [fs\.lt-xs*='fs-column'] {
77
- @include attributeMixin('fs\\.lt-xs');
81
+ @include attributeMixin('fs\\.lt-xs', false);
78
82
  }
79
83
  }
80
84
 
@@ -84,7 +88,7 @@
84
88
  }
85
89
 
86
90
  [fs\.lt-sm*='fs-column'] {
87
- @include attributeMixin('fs\\.lt-sm');
91
+ @include attributeMixin('fs\\.lt-sm', false);
88
92
  }
89
93
  }
90
94
 
@@ -94,7 +98,7 @@
94
98
  }
95
99
 
96
100
  [fs\.lt-md*='fs-column'] {
97
- @include attributeMixin('fs\\.lt-md');
101
+ @include attributeMixin('fs\\.lt-md', false);
98
102
  }
99
103
  }
100
104
 
@@ -104,13 +108,19 @@
104
108
  }
105
109
 
106
110
  [fs\.lt-lg*='fs-column'] {
107
- @include attributeMixin('fs\\.lt-lg');
111
+ @include attributeMixin('fs\\.lt-lg', false);
108
112
  }
109
113
  }
110
114
  }
111
115
 
112
- @mixin attributeMixin($attributeName) {
116
+ @mixin attributeMixin($attributeName, $row: true) {
113
117
  & {
118
+ @if($row) {
119
+ flex-direction: row;
120
+ } else {
121
+ flex-direction: column;
122
+ }
123
+
114
124
  &[#{$attributeName}*='.gap-lg'],
115
125
  &[#{$attributeName}*='.gap-large'] {
116
126
  row-gap: 40px;
@@ -155,6 +165,10 @@
155
165
  align-items: center;
156
166
  }
157
167
 
168
+ &[#{$attributeName}*='.align-normal'] {
169
+ align-items: normal;
170
+ }
171
+
158
172
  &[#{$attributeName}*='.justify-start'] {
159
173
  justify-content: flex-start;
160
174
  }