uikit 3.18.4-dev.cee46c589 → 3.19.1-dev.a49c72e42

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 (67) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/build/scss.js +3 -0
  3. package/dist/css/uikit-core-rtl.css +314 -43
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +314 -43
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +314 -43
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +314 -43
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +1 -1
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +1 -1
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +1 -1
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +1 -1
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +12 -9
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +1 -1
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +1 -1
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +2 -2
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +19 -17
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +2 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +31 -26
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +2 -2
  44. package/src/images/components/navbar-toggle-icon.svg +2 -2
  45. package/src/images/icons/bluesky.svg +3 -0
  46. package/src/js/components/internal/slider-transitioner.js +2 -2
  47. package/src/js/components/slider.js +12 -7
  48. package/src/js/components/tooltip.js +1 -1
  49. package/src/js/core/height-match.js +12 -0
  50. package/src/js/core/img.js +1 -16
  51. package/src/js/core/video.js +6 -8
  52. package/src/less/components/flex.less +110 -2
  53. package/src/less/components/heading.less +2 -2
  54. package/src/less/components/slider.less +1 -1
  55. package/src/less/components/utility.less +1 -1
  56. package/src/less/components/width.less +146 -30
  57. package/src/less/theme/text.less +1 -1
  58. package/src/scss/components/flex.scss +110 -2
  59. package/src/scss/components/heading.scss +2 -2
  60. package/src/scss/components/slider.scss +1 -1
  61. package/src/scss/components/width.scss +146 -30
  62. package/src/scss/mixins-theme.scss +1 -1
  63. package/src/scss/mixins.scss +1 -1
  64. package/src/scss/variables-theme.scss +1 -1
  65. package/tests/slider.html +12 -1
  66. package/tests/slideshow.html +2 -2
  67. package/tests/utility.html +36 -11
@@ -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
 
@@ -51,10 +51,10 @@
51
51
 
52
52
  .uk-child-width-1-1\@s > * { width: 100%; }
53
53
  .uk-child-width-1-2\@s > * { width: 50%; }
54
- .uk-child-width-1-3\@s > * { width: unquote('calc(100% * 1 / 3.001)'); }
54
+ .uk-child-width-1-3\@s > * { width: unquote('calc(100% / 3)'); }
55
55
  .uk-child-width-1-4\@s > * { width: 25%; }
56
56
  .uk-child-width-1-5\@s > * { width: 20%; }
57
- .uk-child-width-1-6\@s > * { width: unquote('calc(100% * 1 / 6.001)'); }
57
+ .uk-child-width-1-6\@s > * { width: unquote('calc(100% / 6)'); }
58
58
 
59
59
  .uk-child-width-auto\@s > * { width: auto; }
60
60
  .uk-child-width-expand\@s > :not([class*="uk-width"]) {
@@ -62,6 +62,15 @@
62
62
  min-width: 1px;
63
63
  }
64
64
 
65
+ /* Reset expand */
66
+ .uk-child-width-1-1\@s > :not([class*="uk-width"]),
67
+ .uk-child-width-1-2\@s > :not([class*="uk-width"]),
68
+ .uk-child-width-1-3\@s > :not([class*="uk-width"]),
69
+ .uk-child-width-1-4\@s > :not([class*="uk-width"]),
70
+ .uk-child-width-1-5\@s > :not([class*="uk-width"]),
71
+ .uk-child-width-1-6\@s > :not([class*="uk-width"]),
72
+ .uk-child-width-auto\@s > :not([class*="uk-width"]) { flex: initial; }
73
+
65
74
  }
66
75
 
67
76
  /* Tablet landscape and bigger */
@@ -69,10 +78,10 @@
69
78
 
70
79
  .uk-child-width-1-1\@m > * { width: 100%; }
71
80
  .uk-child-width-1-2\@m > * { width: 50%; }
72
- .uk-child-width-1-3\@m > * { width: unquote('calc(100% * 1 / 3.001)'); }
81
+ .uk-child-width-1-3\@m > * { width: unquote('calc(100% / 3)'); }
73
82
  .uk-child-width-1-4\@m > * { width: 25%; }
74
83
  .uk-child-width-1-5\@m > * { width: 20%; }
75
- .uk-child-width-1-6\@m > * { width: unquote('calc(100% * 1 / 6.001)'); }
84
+ .uk-child-width-1-6\@m > * { width: unquote('calc(100% / 6)'); }
76
85
 
77
86
  .uk-child-width-auto\@m > * { width: auto; }
78
87
  .uk-child-width-expand\@m > :not([class*="uk-width"]) {
@@ -80,6 +89,15 @@
80
89
  min-width: 1px;
81
90
  }
82
91
 
92
+ /* Reset expand */
93
+ .uk-child-width-1-1\@m > :not([class*="uk-width"]),
94
+ .uk-child-width-1-2\@m > :not([class*="uk-width"]),
95
+ .uk-child-width-1-3\@m > :not([class*="uk-width"]),
96
+ .uk-child-width-1-4\@m > :not([class*="uk-width"]),
97
+ .uk-child-width-1-5\@m > :not([class*="uk-width"]),
98
+ .uk-child-width-1-6\@m > :not([class*="uk-width"]),
99
+ .uk-child-width-auto\@m > :not([class*="uk-width"]) { flex: initial; }
100
+
83
101
  }
84
102
 
85
103
  /* Desktop and bigger */
@@ -87,10 +105,10 @@
87
105
 
88
106
  .uk-child-width-1-1\@l > * { width: 100%; }
89
107
  .uk-child-width-1-2\@l > * { width: 50%; }
90
- .uk-child-width-1-3\@l > * { width: unquote('calc(100% * 1 / 3.001)'); }
108
+ .uk-child-width-1-3\@l > * { width: unquote('calc(100% / 3)'); }
91
109
  .uk-child-width-1-4\@l > * { width: 25%; }
92
110
  .uk-child-width-1-5\@l > * { width: 20%; }
93
- .uk-child-width-1-6\@l > * { width: unquote('calc(100% * 1 / 6.001)'); }
111
+ .uk-child-width-1-6\@l > * { width: unquote('calc(100% / 6)'); }
94
112
 
95
113
  .uk-child-width-auto\@l > * { width: auto; }
96
114
  .uk-child-width-expand\@l > :not([class*="uk-width"]) {
@@ -98,6 +116,15 @@
98
116
  min-width: 1px;
99
117
  }
100
118
 
119
+ /* Reset expand */
120
+ .uk-child-width-1-1\@l > :not([class*="uk-width"]),
121
+ .uk-child-width-1-2\@l > :not([class*="uk-width"]),
122
+ .uk-child-width-1-3\@l > :not([class*="uk-width"]),
123
+ .uk-child-width-1-4\@l > :not([class*="uk-width"]),
124
+ .uk-child-width-1-5\@l > :not([class*="uk-width"]),
125
+ .uk-child-width-1-6\@l > :not([class*="uk-width"]),
126
+ .uk-child-width-auto\@l > :not([class*="uk-width"]) { flex: initial; }
127
+
101
128
  }
102
129
 
103
130
  /* Large screen and bigger */
@@ -105,10 +132,10 @@
105
132
 
106
133
  .uk-child-width-1-1\@xl > * { width: 100%; }
107
134
  .uk-child-width-1-2\@xl > * { width: 50%; }
108
- .uk-child-width-1-3\@xl > * { width: unquote('calc(100% * 1 / 3.001)'); }
135
+ .uk-child-width-1-3\@xl > * { width: unquote('calc(100% / 3)'); }
109
136
  .uk-child-width-1-4\@xl > * { width: 25%; }
110
137
  .uk-child-width-1-5\@xl > * { width: 20%; }
111
- .uk-child-width-1-6\@xl > * { width: unquote('calc(100% * 1 / 6.001)'); }
138
+ .uk-child-width-1-6\@xl > * { width: unquote('calc(100% / 6)'); }
112
139
 
113
140
  .uk-child-width-auto\@xl > * { width: auto; }
114
141
  .uk-child-width-expand\@xl > :not([class*="uk-width"]) {
@@ -116,6 +143,15 @@
116
143
  min-width: 1px;
117
144
  }
118
145
 
146
+ /* Reset expand */
147
+ .uk-child-width-1-1\@xl > :not([class*="uk-width"]),
148
+ .uk-child-width-1-2\@xl > :not([class*="uk-width"]),
149
+ .uk-child-width-1-3\@xl > :not([class*="uk-width"]),
150
+ .uk-child-width-1-4\@xl > :not([class*="uk-width"]),
151
+ .uk-child-width-1-5\@xl > :not([class*="uk-width"]),
152
+ .uk-child-width-1-6\@xl > :not([class*="uk-width"]),
153
+ .uk-child-width-auto\@xl > :not([class*="uk-width"]) { flex: initial; }
154
+
119
155
  }
120
156
 
121
157
 
@@ -137,8 +173,8 @@
137
173
  .uk-width-1-2 { width: 50%; }
138
174
 
139
175
  /* Thirds */
140
- .uk-width-1-3 { width: unquote('calc(100% * 1 / 3.001)'); }
141
- .uk-width-2-3 { width: unquote('calc(100% * 2 / 3.001)'); }
176
+ .uk-width-1-3 { width: unquote('calc(100% / 3)'); }
177
+ .uk-width-2-3 { width: unquote('calc(200% / 3)'); }
142
178
 
143
179
  /* Quarters */
144
180
  .uk-width-1-4 { width: 25%; }
@@ -151,8 +187,8 @@
151
187
  .uk-width-4-5 { width: 80%; }
152
188
 
153
189
  /* Sixths */
154
- .uk-width-1-6 { width: unquote('calc(100% * 1 / 6.001)'); }
155
- .uk-width-5-6 { width: unquote('calc(100% * 5 / 6.001)'); }
190
+ .uk-width-1-6 { width: unquote('calc(100% / 6)'); }
191
+ .uk-width-5-6 { width: unquote('calc(500% / 6)'); }
156
192
 
157
193
  /* Pixel */
158
194
  .uk-width-small { width: $width-small-width; }
@@ -183,8 +219,8 @@
183
219
  .uk-width-1-2\@s { width: 50%; }
184
220
 
185
221
  /* Thirds */
186
- .uk-width-1-3\@s { width: unquote('calc(100% * 1 / 3.001)'); }
187
- .uk-width-2-3\@s { width: unquote('calc(100% * 2 / 3.001)'); }
222
+ .uk-width-1-3\@s { width: unquote('calc(100% / 3)'); }
223
+ .uk-width-2-3\@s { width: unquote('calc(200% / 3)'); }
188
224
 
189
225
  /* Quarters */
190
226
  .uk-width-1-4\@s { width: 25%; }
@@ -197,8 +233,8 @@
197
233
  .uk-width-4-5\@s { width: 80%; }
198
234
 
199
235
  /* Sixths */
200
- .uk-width-1-6\@s { width: unquote('calc(100% * 1 / 6.001)'); }
201
- .uk-width-5-6\@s { width: unquote('calc(100% * 5 / 6.001)'); }
236
+ .uk-width-1-6\@s { width: unquote('calc(100% / 6)'); }
237
+ .uk-width-5-6\@s { width: unquote('calc(500% / 6)'); }
202
238
 
203
239
  /* Pixel */
204
240
  .uk-width-small\@s { width: $width-small-width; }
@@ -219,6 +255,26 @@
219
255
  min-width: 1px;
220
256
  }
221
257
 
258
+ /* Reset expand */
259
+ .uk-width-1-1\@s,
260
+ .uk-width-1-2\@s,
261
+ .uk-width-1-3\@s,
262
+ .uk-width-2-3\@s,
263
+ .uk-width-1-4\@s,
264
+ .uk-width-3-4\@s,
265
+ .uk-width-1-5\@s,
266
+ .uk-width-2-5\@s,
267
+ .uk-width-3-5\@s,
268
+ .uk-width-4-5\@s,
269
+ .uk-width-1-6\@s,
270
+ .uk-width-5-6\@s,
271
+ .uk-width-small\@s,
272
+ .uk-width-medium\@s,
273
+ .uk-width-large\@s,
274
+ .uk-width-xlarge\@s,
275
+ .uk-width-2xlarge\@s,
276
+ .uk-width-auto\@s { flex: initial; }
277
+
222
278
  }
223
279
 
224
280
  /* Tablet landscape and bigger */
@@ -231,8 +287,8 @@
231
287
  .uk-width-1-2\@m { width: 50%; }
232
288
 
233
289
  /* Thirds */
234
- .uk-width-1-3\@m { width: unquote('calc(100% * 1 / 3.001)'); }
235
- .uk-width-2-3\@m { width: unquote('calc(100% * 2 / 3.001)'); }
290
+ .uk-width-1-3\@m { width: unquote('calc(100% / 3)'); }
291
+ .uk-width-2-3\@m { width: unquote('calc(200% / 3)'); }
236
292
 
237
293
  /* Quarters */
238
294
  .uk-width-1-4\@m { width: 25%; }
@@ -245,8 +301,8 @@
245
301
  .uk-width-4-5\@m { width: 80%; }
246
302
 
247
303
  /* Sixths */
248
- .uk-width-1-6\@m { width: unquote('calc(100% * 1 / 6.001)'); }
249
- .uk-width-5-6\@m { width: unquote('calc(100% * 5 / 6.001)'); }
304
+ .uk-width-1-6\@m { width: unquote('calc(100% / 6)'); }
305
+ .uk-width-5-6\@m { width: unquote('calc(500% / 6)'); }
250
306
 
251
307
  /* Pixel */
252
308
  .uk-width-small\@m { width: $width-small-width; }
@@ -267,6 +323,26 @@
267
323
  min-width: 1px;
268
324
  }
269
325
 
326
+ /* Reset expand */
327
+ .uk-width-1-1\@m,
328
+ .uk-width-1-2\@m,
329
+ .uk-width-1-3\@m,
330
+ .uk-width-2-3\@m,
331
+ .uk-width-1-4\@m,
332
+ .uk-width-3-4\@m,
333
+ .uk-width-1-5\@m,
334
+ .uk-width-2-5\@m,
335
+ .uk-width-3-5\@m,
336
+ .uk-width-4-5\@m,
337
+ .uk-width-1-6\@m,
338
+ .uk-width-5-6\@m,
339
+ .uk-width-small\@m,
340
+ .uk-width-medium\@m,
341
+ .uk-width-large\@m,
342
+ .uk-width-xlarge\@m,
343
+ .uk-width-2xlarge\@m,
344
+ .uk-width-auto\@m { flex: initial; }
345
+
270
346
  }
271
347
 
272
348
  /* Desktop and bigger */
@@ -279,8 +355,8 @@
279
355
  .uk-width-1-2\@l { width: 50%; }
280
356
 
281
357
  /* Thirds */
282
- .uk-width-1-3\@l { width: unquote('calc(100% * 1 / 3.001)'); }
283
- .uk-width-2-3\@l { width: unquote('calc(100% * 2 / 3.001)'); }
358
+ .uk-width-1-3\@l { width: unquote('calc(100% / 3)'); }
359
+ .uk-width-2-3\@l { width: unquote('calc(200% / 3)'); }
284
360
 
285
361
  /* Quarters */
286
362
  .uk-width-1-4\@l { width: 25%; }
@@ -293,8 +369,8 @@
293
369
  .uk-width-4-5\@l { width: 80%; }
294
370
 
295
371
  /* Sixths */
296
- .uk-width-1-6\@l { width: unquote('calc(100% * 1 / 6.001)'); }
297
- .uk-width-5-6\@l { width: unquote('calc(100% * 5 / 6.001)'); }
372
+ .uk-width-1-6\@l { width: unquote('calc(100% / 6)'); }
373
+ .uk-width-5-6\@l { width: unquote('calc(500% / 6)'); }
298
374
 
299
375
  /* Pixel */
300
376
  .uk-width-small\@l { width: $width-small-width; }
@@ -315,6 +391,26 @@
315
391
  min-width: 1px;
316
392
  }
317
393
 
394
+ /* Reset expand */
395
+ .uk-width-1-1\@l,
396
+ .uk-width-1-2\@l,
397
+ .uk-width-1-3\@l,
398
+ .uk-width-2-3\@l,
399
+ .uk-width-1-4\@l,
400
+ .uk-width-3-4\@l,
401
+ .uk-width-1-5\@l,
402
+ .uk-width-2-5\@l,
403
+ .uk-width-3-5\@l,
404
+ .uk-width-4-5\@l,
405
+ .uk-width-1-6\@l,
406
+ .uk-width-5-6\@l,
407
+ .uk-width-small\@l,
408
+ .uk-width-medium\@l,
409
+ .uk-width-large\@l,
410
+ .uk-width-xlarge\@l,
411
+ .uk-width-2xlarge\@l,
412
+ .uk-width-auto\@l { flex: initial; }
413
+
318
414
  }
319
415
 
320
416
  /* Large screen and bigger */
@@ -327,8 +423,8 @@
327
423
  .uk-width-1-2\@xl { width: 50%; }
328
424
 
329
425
  /* Thirds */
330
- .uk-width-1-3\@xl { width: unquote('calc(100% * 1 / 3.001)'); }
331
- .uk-width-2-3\@xl { width: unquote('calc(100% * 2 / 3.001)'); }
426
+ .uk-width-1-3\@xl { width: unquote('calc(100% / 3)'); }
427
+ .uk-width-2-3\@xl { width: unquote('calc(200% / 3)'); }
332
428
 
333
429
  /* Quarters */
334
430
  .uk-width-1-4\@xl { width: 25%; }
@@ -341,8 +437,8 @@
341
437
  .uk-width-4-5\@xl { width: 80%; }
342
438
 
343
439
  /* Sixths */
344
- .uk-width-1-6\@xl { width: unquote('calc(100% * 1 / 6.001)'); }
345
- .uk-width-5-6\@xl { width: unquote('calc(100% * 5 / 6.001)'); }
440
+ .uk-width-1-6\@xl { width: unquote('calc(100% / 6)'); }
441
+ .uk-width-5-6\@xl { width: unquote('calc(500% / 6)'); }
346
442
 
347
443
  /* Pixel */
348
444
  .uk-width-small\@xl { width: $width-small-width; }
@@ -363,6 +459,26 @@
363
459
  min-width: 1px;
364
460
  }
365
461
 
462
+ /* Reset expand */
463
+ .uk-width-1-1\@xl,
464
+ .uk-width-1-2\@xl,
465
+ .uk-width-1-3\@xl,
466
+ .uk-width-2-3\@xl,
467
+ .uk-width-1-4\@xl,
468
+ .uk-width-3-4\@xl,
469
+ .uk-width-1-5\@xl,
470
+ .uk-width-2-5\@xl,
471
+ .uk-width-3-5\@xl,
472
+ .uk-width-4-5\@xl,
473
+ .uk-width-1-6\@xl,
474
+ .uk-width-5-6\@xl,
475
+ .uk-width-small\@xl,
476
+ .uk-width-medium\@xl,
477
+ .uk-width-large\@xl,
478
+ .uk-width-xlarge\@xl,
479
+ .uk-width-2xlarge\@xl,
480
+ .uk-width-auto\@xl { flex: initial; }
481
+
366
482
  }
367
483
 
368
484
  /* Intrinsic Widths
@@ -2178,7 +2178,7 @@
2178
2178
  @if(mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
2179
2179
  }
2180
2180
 
2181
- .uk-logo:has(.uk-logo-inverse) > :not(picture:has(img.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
2181
+ .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
2182
2182
  .uk-logo-inverse { display: block; }
2183
2183
 
2184
2184
  }
@@ -1780,7 +1780,7 @@
1780
1780
  @if(mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
1781
1781
  }
1782
1782
 
1783
- .uk-logo:has(.uk-logo-inverse) > :not(picture:has(img.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
1783
+ .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
1784
1784
  .uk-logo-inverse { display: block; }
1785
1785
 
1786
1786
  }
@@ -1288,7 +1288,7 @@ $table-striped-border-width: $global-border-width !default;
1288
1288
  $table-striped-border: $global-border !default;
1289
1289
  $text-meta-link-color: $text-meta-color !default;
1290
1290
  $text-meta-link-hover-color: $global-color !default;
1291
- $internal-text-background-color-gradient: linear-gradient(90deg, $text-background-color 0%, spin($text-background-color, 40%) 100%) !default;
1291
+ $internal-text-background-color-gradient: linear-gradient(90deg, $text-background-color 0%, adjust-hue($text-background-color, 40) 100%) !default;
1292
1292
  $thumbnav-item-gradient: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.4)) !default;
1293
1293
  $thumbnav-item-hover-opacity: 0 !default;
1294
1294
  $thumbnav-item-active-opacity: 0 !default;
package/tests/slider.html CHANGED
@@ -41,6 +41,11 @@
41
41
  <option value="0">Single</option>
42
42
  <option value="1">Sets</option>
43
43
  </select>
44
+ <select id="js-active-switcher" class="uk-select uk-form-width-small" aria-label="Active switcher">
45
+ <option value="">All</option>
46
+ <option value="first">First</option>
47
+ <option value="center">Center</option>
48
+ </select>
44
49
  </div>
45
50
 
46
51
  <h2>Content Widths</h2>
@@ -577,6 +582,12 @@
577
582
  <td>0</td>
578
583
  <td>Slider item to show. 0 based index.</td>
579
584
  </tr>
585
+ <tr>
586
+ <td><code>active</code></td>
587
+ <td>String</td>
588
+ <td>all</td>
589
+ <td>Slider item/items to apply the transition active class to (all|first).</td>
590
+ </tr>
580
591
  <tr>
581
592
  <td><code>pause-on-hover</code></td>
582
593
  <td>Boolean</td>
@@ -646,7 +657,7 @@
646
657
  <script>
647
658
 
648
659
  const {attr, $$, on} = UIkit.util;
649
- for (const attribute of ['finite', 'center', 'sets']) {
660
+ for (const attribute of ['finite', 'center', 'sets', 'active']) {
650
661
  on(`#js-${attribute}-switcher`, 'change', e =>
651
662
  attr($$('[uk-slider]'), attribute, e.target.value)
652
663
  );
@@ -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>
@@ -420,39 +420,64 @@
420
420
  <a class="uk-logo" href="#">Text Logo</a>
421
421
  </p>
422
422
 
423
- <div class="uk-flex-inline uk-margin uk-grid-small" uk-grid>
423
+ <div class="uk-child-width-auto uk-grid-small" uk-grid>
424
424
  <div>
425
- <p>Image</p>
425
+ <p>Image<br>-</p>
426
426
  <a class="uk-logo" href="#" aria-label="Back to Home">
427
- <img src="images/photo.jpg" width="200" height="133" alt="">
427
+ <img src="images/photo.jpg" width="150" height="100" alt="">
428
428
  </a>
429
429
  </div>
430
430
  <div>
431
- <p>+ Inverse Image</p>
431
+ <p>Picture<br>-</p>
432
432
  <a class="uk-logo" href="#" aria-label="Back to Home">
433
- <img src="images/photo.jpg" width="200" height="133" alt="">
434
- <img class="uk-logo-inverse" src="images/dark.jpg" width="200" height="133" alt="">
433
+ <picture>
434
+ <img src="images/photo.jpg" width="150" height="100" alt="">
435
+ </picture>
436
+ </a>
437
+ </div>
438
+ <div>
439
+ <p>Image<br>Inverse Image</p>
440
+ <a class="uk-logo" href="#" aria-label="Back to Home">
441
+ <img src="images/photo.jpg" width="150" height="100" alt="">
442
+ <img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
435
443
  </a>
436
444
  </div>
437
445
  <div>
438
- <p>Picture</p>
446
+ <p>Picture<br>Inverse Picture</p>
439
447
  <a class="uk-logo" href="#" aria-label="Back to Home">
440
448
  <picture>
441
- <img src="images/photo.jpg" width="200" height="133" alt="">
449
+ <img src="images/photo.jpg" width="150" height="100" alt="">
450
+ </picture>
451
+ <picture>
452
+ <img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
442
453
  </picture>
443
454
  </a>
444
455
  </div>
445
456
  <div>
446
- <p>+ Inverse Picture</p>
457
+ <p>Picture<br>Inverse SVG</p>
447
458
  <a class="uk-logo" href="#" aria-label="Back to Home">
448
459
  <picture>
449
- <img src="images/photo.jpg" width="200" height="133" alt="">
460
+ <img src="images/photo.jpg" width="150" height="100" alt="">
450
461
  </picture>
462
+ <img class="uk-logo-inverse" src="images/icons.svg#trash" alt="" uk-svg>
463
+ </a>
464
+ </div>
465
+ <div>
466
+ <p>SVG<br>Inverse Picture</p>
467
+ <a class="uk-logo" href="#" aria-label="Back to Home">
468
+ <img src="images/icons.svg#table" alt="" uk-svg>
451
469
  <picture>
452
- <img class="uk-logo-inverse" src="images/dark.jpg" width="200" height="133" alt="">
470
+ <img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
453
471
  </picture>
454
472
  </a>
455
473
  </div>
474
+ <div>
475
+ <p>SVG<br>Inverse SVG</p>
476
+ <a class="uk-logo" href="#" aria-label="Back to Home">
477
+ <img src="images/icons.svg#table" alt="" uk-svg>
478
+ <img class="uk-logo-inverse" src="images/icons.svg#trash" alt="" uk-svg>
479
+ </a>
480
+ </div>
456
481
  </div>
457
482
 
458
483
  </div>