@dolanske/vui 1.2.1 → 1.3.0

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,6 +1,6 @@
1
1
  .fade-enter-active,
2
2
  .fade-leave-active {
3
- transition: var(--transition);
3
+ transition: opacity 0.15s cubic-bezier(0.65, 0, 0.35, 1);
4
4
  will-change: opacity;
5
5
  }
6
6
 
@@ -9,14 +9,42 @@
9
9
  opacity: 0;
10
10
  }
11
11
 
12
- .fade-up-enter-active,
13
- .fade-up-leave-active {
12
+ // Positioned fade-ins
13
+
14
+ // Defaults
15
+ .fade-top-enter-active,
16
+ .fade-top-leave-active,
17
+ .fade-bottom-enter-active,
18
+ .fade-bottom-leave-active,
19
+ .fade-right-enter-active,
20
+ .fade-right-leave-active,
21
+ .fade-left-enter-active,
22
+ .fade-left-leave-active {
14
23
  transition: var(--transition);
15
24
  transition-property: transform, opacity;
16
25
  }
17
26
 
18
- .fade-up-enter-from,
19
- .fade-up-leave-to {
27
+ // Specifics
28
+ .fade-top-enter-from,
29
+ .fade-top-leave-to {
30
+ opacity: 0;
31
+ transform: translateY(8px);
32
+ }
33
+
34
+ .fade-bottom-enter-from,
35
+ .fade-bottom-leave-to {
20
36
  opacity: 0;
21
37
  transform: translateY(8px);
22
38
  }
39
+
40
+ .fade-right-enter-from,
41
+ .fade-right-leave-to {
42
+ opacity: 0;
43
+ transform: translateX(8px);
44
+ }
45
+
46
+ .fade-left-enter-from,
47
+ .fade-left-leave-to {
48
+ opacity: 0;
49
+ transform: translateX(-8px);
50
+ }
@@ -163,19 +163,6 @@ $sizes: 0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl';
163
163
  .p-#{$size} {
164
164
  padding: var(--space-#{$size});
165
165
  }
166
-
167
- // Gap
168
- // .g-#{$size} {
169
- // gap: var(--space-#{$size});
170
- // }
171
-
172
- // .g-y-#{$size} {
173
- // row-gap: var(--space-#{$size});
174
- // }
175
-
176
- // .g-x-#{$size} {
177
- // column-gap: var(--space-#{$size});
178
- // }
179
166
  }
180
167
 
181
168
  // Z-index
@@ -186,25 +173,3 @@ $zindexes: 0, 10, 20, 30, 40, 50, auto;
186
173
  z-index: $zindex;
187
174
  }
188
175
  }
189
-
190
- // Grid
191
-
192
- // .grid {
193
- // display: grid;
194
- // }
195
-
196
- // .inline-grid {
197
- // display: inline-table;
198
- // }
199
-
200
- // $cols: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
201
-
202
- // @each $col in $cols {
203
- // .col-#{$col} {
204
- // grid-template-columns: repeat($col, 1fr);
205
- // }
206
-
207
- // .row {
208
- // grid-template-rows: repeat($col, 1fr);
209
- // }
210
- // }
@@ -297,10 +297,12 @@ dl {
297
297
  }
298
298
  }
299
299
 
300
- article,
301
- .typeset {
300
+ article {
302
301
  width: 100%;
302
+ }
303
303
 
304
+ article,
305
+ .typeset {
304
306
  ol,
305
307
  ul {
306
308
  ol,