uikit 3.18.4-dev.01a468d2e → 3.18.4-dev.3b6dec3a6

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 (50) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/css/uikit-core-rtl.css +31 -31
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +31 -31
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +31 -31
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +31 -31
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +3 -7
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +1 -1
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +3 -3
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +5 -9
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/images/components/navbar-toggle-icon.svg +2 -2
  44. package/src/js/components/slider.js +2 -6
  45. package/src/less/components/heading.less +2 -2
  46. package/src/less/components/width.less +30 -30
  47. package/src/scss/components/heading.scss +2 -2
  48. package/src/scss/components/width.scss +30 -30
  49. package/tests/slider.html +1 -1
  50. package/tests/slideshow.html +2 -2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uikit",
3
3
  "title": "UIkit",
4
4
  "description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
5
- "version": "3.18.4-dev.01a468d2e",
5
+ "version": "3.18.4-dev.3b6dec3a6",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -1,14 +1,14 @@
1
1
  <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
2
  <style>
3
3
 
4
- .uk-navbar-toggle-animate svg > [class*='line-'] {
4
+ .uk-navbar-toggle-icon svg > [class*='line-'] {
5
5
  transition: 0.2s ease-in-out;
6
6
  transition-property: transform, opacity;
7
7
  transform-origin: center;
8
8
  opacity: 1;
9
9
  }
10
10
 
11
- .uk-navbar-toggle-animate svg > .line-3 { opacity: 0; }
11
+ .uk-navbar-toggle-icon svg > .line-3 { opacity: 0; }
12
12
  .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { opacity: 1; }
13
13
 
14
14
  .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-2 { transform: rotate(45deg); }
@@ -240,11 +240,7 @@ export default {
240
240
  let actives = this._getTransitioner(currentIndex).getActives();
241
241
 
242
242
  if (this.active !== 'all') {
243
- let index = currentIndex;
244
- if (this.active === 'center') {
245
- index += Math.ceil(actives.length / 2) - 1;
246
- }
247
- actives = [this.slides[this.getValidIndex(index)]];
243
+ actives = [this.slides[this.getValidIndex(currentIndex)]];
248
244
  }
249
245
 
250
246
  const activeClasses = [
@@ -370,7 +366,7 @@ function isFinite(list, center) {
370
366
  }
371
367
 
372
368
  if (
373
- diff >
369
+ Math.trunc(diff) >
374
370
  sumBy(
375
371
  slides.filter((slide) => !slidesInView.has(slide)),
376
372
  (slide) => dimensions(slide).width,
@@ -13,8 +13,8 @@
13
13
  // Variables
14
14
  // ========================================================================
15
15
 
16
- @heading-small-font-size: @heading-small-font-size-m * 0.8; // 38px 0.73
17
- @heading-medium-font-size: @heading-medium-font-size-m * 0.825; // 40px 0.714
16
+ @heading-small-font-size: @heading-small-font-size-m * 0.8; // 38px 0.73
17
+ @heading-medium-font-size: @heading-medium-font-size-m * 0.825; // 40px 0.714
18
18
  @heading-large-font-size: @heading-large-font-size-m * 0.85; // 50px 0.78
19
19
  @heading-xlarge-font-size: @heading-large-font-size-m; // 4rem / 64px
20
20
  @heading-2xlarge-font-size: @heading-xlarge-font-size-m; // 6rem / 96px
@@ -31,10 +31,10 @@
31
31
  }
32
32
 
33
33
  .uk-child-width-1-2 > * { width: 50%; }
34
- .uk-child-width-1-3 > * { width: ~'calc(100% * 1 / 3.001)'; }
34
+ .uk-child-width-1-3 > * { width: ~'calc(100% / 3)'; }
35
35
  .uk-child-width-1-4 > * { width: 25%; }
36
36
  .uk-child-width-1-5 > * { width: 20%; }
37
- .uk-child-width-1-6 > * { width: ~'calc(100% * 1 / 6.001)'; }
37
+ .uk-child-width-1-6 > * { width: ~'calc(100% / 6)'; }
38
38
 
39
39
  .uk-child-width-auto > * { width: auto; }
40
40
 
@@ -57,10 +57,10 @@
57
57
 
58
58
  .uk-child-width-1-1\@s > * { width: 100%; }
59
59
  .uk-child-width-1-2\@s > * { width: 50%; }
60
- .uk-child-width-1-3\@s > * { width: ~'calc(100% * 1 / 3.001)'; }
60
+ .uk-child-width-1-3\@s > * { width: ~'calc(100% / 3)'; }
61
61
  .uk-child-width-1-4\@s > * { width: 25%; }
62
62
  .uk-child-width-1-5\@s > * { width: 20%; }
63
- .uk-child-width-1-6\@s > * { width: ~'calc(100% * 1 / 6.001)'; }
63
+ .uk-child-width-1-6\@s > * { width: ~'calc(100% / 6)'; }
64
64
 
65
65
  .uk-child-width-auto\@s > * {
66
66
  width: auto;
@@ -79,10 +79,10 @@
79
79
 
80
80
  .uk-child-width-1-1\@m > * { width: 100%; }
81
81
  .uk-child-width-1-2\@m > * { width: 50%; }
82
- .uk-child-width-1-3\@m > * { width: ~'calc(100% * 1 / 3.001)'; }
82
+ .uk-child-width-1-3\@m > * { width: ~'calc(100% / 3)'; }
83
83
  .uk-child-width-1-4\@m > * { width: 25%; }
84
84
  .uk-child-width-1-5\@m > * { width: 20%; }
85
- .uk-child-width-1-6\@m > * { width: ~'calc(100% * 1 / 6.001)'; }
85
+ .uk-child-width-1-6\@m > * { width: ~'calc(100% / 6)'; }
86
86
 
87
87
  .uk-child-width-auto\@m > * {
88
88
  width: auto;
@@ -100,10 +100,10 @@
100
100
 
101
101
  .uk-child-width-1-1\@l > * { width: 100%; }
102
102
  .uk-child-width-1-2\@l > * { width: 50%; }
103
- .uk-child-width-1-3\@l > * { width: ~'calc(100% * 1 / 3.001)'; }
103
+ .uk-child-width-1-3\@l > * { width: ~'calc(100% / 3)'; }
104
104
  .uk-child-width-1-4\@l > * { width: 25%; }
105
105
  .uk-child-width-1-5\@l > * { width: 20%; }
106
- .uk-child-width-1-6\@l > * { width: ~'calc(100% * 1 / 6.001)'; }
106
+ .uk-child-width-1-6\@l > * { width: ~'calc(100% / 6)'; }
107
107
 
108
108
  .uk-child-width-auto\@l > * {
109
109
  width: auto;
@@ -121,10 +121,10 @@
121
121
 
122
122
  .uk-child-width-1-1\@xl > * { width: 100%; }
123
123
  .uk-child-width-1-2\@xl > * { width: 50%; }
124
- .uk-child-width-1-3\@xl > * { width: ~'calc(100% * 1 / 3.001)'; }
124
+ .uk-child-width-1-3\@xl > * { width: ~'calc(100% / 3)'; }
125
125
  .uk-child-width-1-4\@xl > * { width: 25%; }
126
126
  .uk-child-width-1-5\@xl > * { width: 20%; }
127
- .uk-child-width-1-6\@xl > * { width: ~'calc(100% * 1 / 6.001)'; }
127
+ .uk-child-width-1-6\@xl > * { width: ~'calc(100% / 6)'; }
128
128
 
129
129
  .uk-child-width-auto\@xl > * {
130
130
  width: auto;
@@ -156,8 +156,8 @@
156
156
  .uk-width-1-2 { width: 50%; }
157
157
 
158
158
  /* Thirds */
159
- .uk-width-1-3 { width: ~'calc(100% * 1 / 3.001)'; }
160
- .uk-width-2-3 { width: ~'calc(100% * 2 / 3.001)'; }
159
+ .uk-width-1-3 { width: ~'calc(100% / 3)'; }
160
+ .uk-width-2-3 { width: ~'calc(200% / 3)'; }
161
161
 
162
162
  /* Quarters */
163
163
  .uk-width-1-4 { width: 25%; }
@@ -170,8 +170,8 @@
170
170
  .uk-width-4-5 { width: 80%; }
171
171
 
172
172
  /* Sixths */
173
- .uk-width-1-6 { width: ~'calc(100% * 1 / 6.001)'; }
174
- .uk-width-5-6 { width: ~'calc(100% * 5 / 6.001)'; }
173
+ .uk-width-1-6 { width: ~'calc(100% / 6)'; }
174
+ .uk-width-5-6 { width: ~'calc(500% / 6)'; }
175
175
 
176
176
  /* Pixel */
177
177
  .uk-width-small { width: @width-small-width; }
@@ -200,8 +200,8 @@
200
200
  .uk-width-1-2\@s { width: 50%; }
201
201
 
202
202
  /* Thirds */
203
- .uk-width-1-3\@s { width: ~'calc(100% * 1 / 3.001)'; }
204
- .uk-width-2-3\@s { width: ~'calc(100% * 2 / 3.001)'; }
203
+ .uk-width-1-3\@s { width: ~'calc(100% / 3)'; }
204
+ .uk-width-2-3\@s { width: ~'calc(200% / 3)'; }
205
205
 
206
206
  /* Quarters */
207
207
  .uk-width-1-4\@s { width: 25%; }
@@ -214,8 +214,8 @@
214
214
  .uk-width-4-5\@s { width: 80%; }
215
215
 
216
216
  /* Sixths */
217
- .uk-width-1-6\@s { width: ~'calc(100% * 1 / 6.001)'; }
218
- .uk-width-5-6\@s { width: ~'calc(100% * 5 / 6.001)'; }
217
+ .uk-width-1-6\@s { width: ~'calc(100% / 6)'; }
218
+ .uk-width-5-6\@s { width: ~'calc(500% / 6)'; }
219
219
 
220
220
  /* Pixel */
221
221
  .uk-width-small\@s { width: @width-small-width; }
@@ -249,8 +249,8 @@
249
249
  .uk-width-1-2\@m { width: 50%; }
250
250
 
251
251
  /* Thirds */
252
- .uk-width-1-3\@m { width: ~'calc(100% * 1 / 3.001)'; }
253
- .uk-width-2-3\@m { width: ~'calc(100% * 2 / 3.001)'; }
252
+ .uk-width-1-3\@m { width: ~'calc(100% / 3)'; }
253
+ .uk-width-2-3\@m { width: ~'calc(200% / 3)'; }
254
254
 
255
255
  /* Quarters */
256
256
  .uk-width-1-4\@m { width: 25%; }
@@ -263,8 +263,8 @@
263
263
  .uk-width-4-5\@m { width: 80%; }
264
264
 
265
265
  /* Sixths */
266
- .uk-width-1-6\@m { width: ~'calc(100% * 1 / 6.001)'; }
267
- .uk-width-5-6\@m { width: ~'calc(100% * 5 / 6.001)'; }
266
+ .uk-width-1-6\@m { width: ~'calc(100% / 6)'; }
267
+ .uk-width-5-6\@m { width: ~'calc(500% / 6)'; }
268
268
 
269
269
  /* Pixel */
270
270
  .uk-width-small\@m { width: @width-small-width; }
@@ -298,8 +298,8 @@
298
298
  .uk-width-1-2\@l { width: 50%; }
299
299
 
300
300
  /* Thirds */
301
- .uk-width-1-3\@l { width: ~'calc(100% * 1 / 3.001)'; }
302
- .uk-width-2-3\@l { width: ~'calc(100% * 2 / 3.001)'; }
301
+ .uk-width-1-3\@l { width: ~'calc(100% / 3)'; }
302
+ .uk-width-2-3\@l { width: ~'calc(200% / 3)'; }
303
303
 
304
304
  /* Quarters */
305
305
  .uk-width-1-4\@l { width: 25%; }
@@ -312,8 +312,8 @@
312
312
  .uk-width-4-5\@l { width: 80%; }
313
313
 
314
314
  /* Sixths */
315
- .uk-width-1-6\@l { width: ~'calc(100% * 1 / 6.001)'; }
316
- .uk-width-5-6\@l { width: ~'calc(100% * 5 / 6.001)'; }
315
+ .uk-width-1-6\@l { width: ~'calc(100% / 6)'; }
316
+ .uk-width-5-6\@l { width: ~'calc(500% / 6)'; }
317
317
 
318
318
  /* Pixel */
319
319
  .uk-width-small\@l { width: @width-small-width; }
@@ -347,8 +347,8 @@
347
347
  .uk-width-1-2\@xl { width: 50%; }
348
348
 
349
349
  /* Thirds */
350
- .uk-width-1-3\@xl { width: ~'calc(100% * 1 / 3.001)'; }
351
- .uk-width-2-3\@xl { width: ~'calc(100% * 2 / 3.001)'; }
350
+ .uk-width-1-3\@xl { width: ~'calc(100% / 3)'; }
351
+ .uk-width-2-3\@xl { width: ~'calc(200% / 3)'; }
352
352
 
353
353
  /* Quarters */
354
354
  .uk-width-1-4\@xl { width: 25%; }
@@ -361,8 +361,8 @@
361
361
  .uk-width-4-5\@xl { width: 80%; }
362
362
 
363
363
  /* Sixths */
364
- .uk-width-1-6\@xl { width: ~'calc(100% * 1 / 6.001)'; }
365
- .uk-width-5-6\@xl { width: ~'calc(100% * 5 / 6.001)'; }
364
+ .uk-width-1-6\@xl { width: ~'calc(100% / 6)'; }
365
+ .uk-width-5-6\@xl { width: ~'calc(500% / 6)'; }
366
366
 
367
367
  /* Pixel */
368
368
  .uk-width-small\@xl { width: @width-small-width; }
@@ -13,8 +13,8 @@
13
13
  // Variables
14
14
  // ========================================================================
15
15
 
16
- $heading-small-font-size: $heading-small-font-size-m * 0.8 !default; // 38px 0.73
17
- $heading-medium-font-size: $heading-medium-font-size-m * 0.825 !default; // 40px 0.714
16
+ $heading-small-font-size: $heading-small-font-size-m * 0.8 !default; // 38px 0.73
17
+ $heading-medium-font-size: $heading-medium-font-size-m * 0.825 !default; // 40px 0.714
18
18
  $heading-large-font-size: $heading-large-font-size-m * 0.85 !default; // 50px 0.78
19
19
  $heading-xlarge-font-size: $heading-large-font-size-m !default; // 4rem / 64px
20
20
  $heading-2xlarge-font-size: $heading-xlarge-font-size-m !default; // 6rem / 96px
@@ -26,10 +26,10 @@
26
26
  }
27
27
 
28
28
  .uk-child-width-1-2 > * { width: 50%; }
29
- .uk-child-width-1-3 > * { width: unquote('calc(100% * 1 / 3.001)'); }
29
+ .uk-child-width-1-3 > * { width: unquote('calc(100% / 3)'); }
30
30
  .uk-child-width-1-4 > * { width: 25%; }
31
31
  .uk-child-width-1-5 > * { width: 20%; }
32
- .uk-child-width-1-6 > * { width: unquote('calc(100% * 1 / 6.001)'); }
32
+ .uk-child-width-1-6 > * { width: unquote('calc(100% / 6)'); }
33
33
 
34
34
  .uk-child-width-auto > * { width: auto; }
35
35
 
@@ -52,10 +52,10 @@
52
52
 
53
53
  .uk-child-width-1-1\@s > * { width: 100%; }
54
54
  .uk-child-width-1-2\@s > * { width: 50%; }
55
- .uk-child-width-1-3\@s > * { width: unquote('calc(100% * 1 / 3.001)'); }
55
+ .uk-child-width-1-3\@s > * { width: unquote('calc(100% / 3)'); }
56
56
  .uk-child-width-1-4\@s > * { width: 25%; }
57
57
  .uk-child-width-1-5\@s > * { width: 20%; }
58
- .uk-child-width-1-6\@s > * { width: unquote('calc(100% * 1 / 6.001)'); }
58
+ .uk-child-width-1-6\@s > * { width: unquote('calc(100% / 6)'); }
59
59
 
60
60
  .uk-child-width-auto\@s > * {
61
61
  width: auto;
@@ -74,10 +74,10 @@
74
74
 
75
75
  .uk-child-width-1-1\@m > * { width: 100%; }
76
76
  .uk-child-width-1-2\@m > * { width: 50%; }
77
- .uk-child-width-1-3\@m > * { width: unquote('calc(100% * 1 / 3.001)'); }
77
+ .uk-child-width-1-3\@m > * { width: unquote('calc(100% / 3)'); }
78
78
  .uk-child-width-1-4\@m > * { width: 25%; }
79
79
  .uk-child-width-1-5\@m > * { width: 20%; }
80
- .uk-child-width-1-6\@m > * { width: unquote('calc(100% * 1 / 6.001)'); }
80
+ .uk-child-width-1-6\@m > * { width: unquote('calc(100% / 6)'); }
81
81
 
82
82
  .uk-child-width-auto\@m > * {
83
83
  width: auto;
@@ -95,10 +95,10 @@
95
95
 
96
96
  .uk-child-width-1-1\@l > * { width: 100%; }
97
97
  .uk-child-width-1-2\@l > * { width: 50%; }
98
- .uk-child-width-1-3\@l > * { width: unquote('calc(100% * 1 / 3.001)'); }
98
+ .uk-child-width-1-3\@l > * { width: unquote('calc(100% / 3)'); }
99
99
  .uk-child-width-1-4\@l > * { width: 25%; }
100
100
  .uk-child-width-1-5\@l > * { width: 20%; }
101
- .uk-child-width-1-6\@l > * { width: unquote('calc(100% * 1 / 6.001)'); }
101
+ .uk-child-width-1-6\@l > * { width: unquote('calc(100% / 6)'); }
102
102
 
103
103
  .uk-child-width-auto\@l > * {
104
104
  width: auto;
@@ -116,10 +116,10 @@
116
116
 
117
117
  .uk-child-width-1-1\@xl > * { width: 100%; }
118
118
  .uk-child-width-1-2\@xl > * { width: 50%; }
119
- .uk-child-width-1-3\@xl > * { width: unquote('calc(100% * 1 / 3.001)'); }
119
+ .uk-child-width-1-3\@xl > * { width: unquote('calc(100% / 3)'); }
120
120
  .uk-child-width-1-4\@xl > * { width: 25%; }
121
121
  .uk-child-width-1-5\@xl > * { width: 20%; }
122
- .uk-child-width-1-6\@xl > * { width: unquote('calc(100% * 1 / 6.001)'); }
122
+ .uk-child-width-1-6\@xl > * { width: unquote('calc(100% / 6)'); }
123
123
 
124
124
  .uk-child-width-auto\@xl > * {
125
125
  width: auto;
@@ -151,8 +151,8 @@
151
151
  .uk-width-1-2 { width: 50%; }
152
152
 
153
153
  /* Thirds */
154
- .uk-width-1-3 { width: unquote('calc(100% * 1 / 3.001)'); }
155
- .uk-width-2-3 { width: unquote('calc(100% * 2 / 3.001)'); }
154
+ .uk-width-1-3 { width: unquote('calc(100% / 3)'); }
155
+ .uk-width-2-3 { width: unquote('calc(200% / 3)'); }
156
156
 
157
157
  /* Quarters */
158
158
  .uk-width-1-4 { width: 25%; }
@@ -165,8 +165,8 @@
165
165
  .uk-width-4-5 { width: 80%; }
166
166
 
167
167
  /* Sixths */
168
- .uk-width-1-6 { width: unquote('calc(100% * 1 / 6.001)'); }
169
- .uk-width-5-6 { width: unquote('calc(100% * 5 / 6.001)'); }
168
+ .uk-width-1-6 { width: unquote('calc(100% / 6)'); }
169
+ .uk-width-5-6 { width: unquote('calc(500% / 6)'); }
170
170
 
171
171
  /* Pixel */
172
172
  .uk-width-small { width: $width-small-width; }
@@ -197,8 +197,8 @@
197
197
  .uk-width-1-2\@s { width: 50%; }
198
198
 
199
199
  /* Thirds */
200
- .uk-width-1-3\@s { width: unquote('calc(100% * 1 / 3.001)'); }
201
- .uk-width-2-3\@s { width: unquote('calc(100% * 2 / 3.001)'); }
200
+ .uk-width-1-3\@s { width: unquote('calc(100% / 3)'); }
201
+ .uk-width-2-3\@s { width: unquote('calc(200% / 3)'); }
202
202
 
203
203
  /* Quarters */
204
204
  .uk-width-1-4\@s { width: 25%; }
@@ -211,8 +211,8 @@
211
211
  .uk-width-4-5\@s { width: 80%; }
212
212
 
213
213
  /* Sixths */
214
- .uk-width-1-6\@s { width: unquote('calc(100% * 1 / 6.001)'); }
215
- .uk-width-5-6\@s { width: unquote('calc(100% * 5 / 6.001)'); }
214
+ .uk-width-1-6\@s { width: unquote('calc(100% / 6)'); }
215
+ .uk-width-5-6\@s { width: unquote('calc(500% / 6)'); }
216
216
 
217
217
  /* Pixel */
218
218
  .uk-width-small\@s { width: $width-small-width; }
@@ -248,8 +248,8 @@
248
248
  .uk-width-1-2\@m { width: 50%; }
249
249
 
250
250
  /* Thirds */
251
- .uk-width-1-3\@m { width: unquote('calc(100% * 1 / 3.001)'); }
252
- .uk-width-2-3\@m { width: unquote('calc(100% * 2 / 3.001)'); }
251
+ .uk-width-1-3\@m { width: unquote('calc(100% / 3)'); }
252
+ .uk-width-2-3\@m { width: unquote('calc(200% / 3)'); }
253
253
 
254
254
  /* Quarters */
255
255
  .uk-width-1-4\@m { width: 25%; }
@@ -262,8 +262,8 @@
262
262
  .uk-width-4-5\@m { width: 80%; }
263
263
 
264
264
  /* Sixths */
265
- .uk-width-1-6\@m { width: unquote('calc(100% * 1 / 6.001)'); }
266
- .uk-width-5-6\@m { width: unquote('calc(100% * 5 / 6.001)'); }
265
+ .uk-width-1-6\@m { width: unquote('calc(100% / 6)'); }
266
+ .uk-width-5-6\@m { width: unquote('calc(500% / 6)'); }
267
267
 
268
268
  /* Pixel */
269
269
  .uk-width-small\@m { width: $width-small-width; }
@@ -299,8 +299,8 @@
299
299
  .uk-width-1-2\@l { width: 50%; }
300
300
 
301
301
  /* Thirds */
302
- .uk-width-1-3\@l { width: unquote('calc(100% * 1 / 3.001)'); }
303
- .uk-width-2-3\@l { width: unquote('calc(100% * 2 / 3.001)'); }
302
+ .uk-width-1-3\@l { width: unquote('calc(100% / 3)'); }
303
+ .uk-width-2-3\@l { width: unquote('calc(200% / 3)'); }
304
304
 
305
305
  /* Quarters */
306
306
  .uk-width-1-4\@l { width: 25%; }
@@ -313,8 +313,8 @@
313
313
  .uk-width-4-5\@l { width: 80%; }
314
314
 
315
315
  /* Sixths */
316
- .uk-width-1-6\@l { width: unquote('calc(100% * 1 / 6.001)'); }
317
- .uk-width-5-6\@l { width: unquote('calc(100% * 5 / 6.001)'); }
316
+ .uk-width-1-6\@l { width: unquote('calc(100% / 6)'); }
317
+ .uk-width-5-6\@l { width: unquote('calc(500% / 6)'); }
318
318
 
319
319
  /* Pixel */
320
320
  .uk-width-small\@l { width: $width-small-width; }
@@ -350,8 +350,8 @@
350
350
  .uk-width-1-2\@xl { width: 50%; }
351
351
 
352
352
  /* Thirds */
353
- .uk-width-1-3\@xl { width: unquote('calc(100% * 1 / 3.001)'); }
354
- .uk-width-2-3\@xl { width: unquote('calc(100% * 2 / 3.001)'); }
353
+ .uk-width-1-3\@xl { width: unquote('calc(100% / 3)'); }
354
+ .uk-width-2-3\@xl { width: unquote('calc(200% / 3)'); }
355
355
 
356
356
  /* Quarters */
357
357
  .uk-width-1-4\@xl { width: 25%; }
@@ -364,8 +364,8 @@
364
364
  .uk-width-4-5\@xl { width: 80%; }
365
365
 
366
366
  /* Sixths */
367
- .uk-width-1-6\@xl { width: unquote('calc(100% * 1 / 6.001)'); }
368
- .uk-width-5-6\@xl { width: unquote('calc(100% * 5 / 6.001)'); }
367
+ .uk-width-1-6\@xl { width: unquote('calc(100% / 6)'); }
368
+ .uk-width-5-6\@xl { width: unquote('calc(500% / 6)'); }
369
369
 
370
370
  /* Pixel */
371
371
  .uk-width-small\@xl { width: $width-small-width; }
package/tests/slider.html CHANGED
@@ -586,7 +586,7 @@
586
586
  <td><code>active</code></td>
587
587
  <td>String</td>
588
588
  <td>all</td>
589
- <td>Slider item/items to apply the transition active class to. (all|first|center)</td>
589
+ <td>Slider item/items to apply the transition active class to (all|first).</td>
590
590
  </tr>
591
591
  <tr>
592
592
  <td><code>pause-on-hover</code></td>
@@ -105,14 +105,14 @@
105
105
  </div>
106
106
  </li>
107
107
  <li>
108
- <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
108
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" allowfullscreen loading="lazy" uk-cover></iframe>
109
109
  <div class="uk-position-center uk-position-small uk-text-center">
110
110
  <h2 uk-slideshow-parallax="x: 100,-100">YouTube</h2>
111
111
  <p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
112
112
  </div>
113
113
  </li>
114
114
  <li>
115
- <iframe src="https://player.vimeo.com/video/1084537?title=0&amp;background=1&amp;keyboard=0" width="500" height="281" allowfullscreen uk-cover></iframe>
115
+ <iframe src="https://player.vimeo.com/video/1084537?title=0&amp;background=1&amp;keyboard=0" width="500" height="281" allowfullscreen loading="lazy" uk-cover></iframe>
116
116
  <div class="uk-position-center uk-position-small uk-text-center">
117
117
  <h2 uk-slideshow-parallax="x: 100,-100">Vimeo</h2>
118
118
  <p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>