uikit 3.18.4-dev.379fa2bf1 → 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.
- package/CHANGELOG.md +13 -0
- package/build/scss.js +3 -0
- package/dist/css/uikit-core-rtl.css +188 -31
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +188 -31
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +188 -31
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +188 -31
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +12 -9
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +2 -2
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +3 -3
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +15 -12
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/images/components/navbar-toggle-icon.svg +2 -2
- package/src/js/components/internal/slider-transitioner.js +2 -2
- package/src/js/components/slider.js +12 -11
- package/src/js/components/tooltip.js +1 -1
- package/src/less/components/flex.less +110 -2
- package/src/less/components/heading.less +2 -2
- package/src/less/components/width.less +64 -38
- package/src/less/theme/text.less +1 -1
- package/src/scss/components/flex.scss +110 -2
- package/src/scss/components/heading.scss +2 -2
- package/src/scss/components/width.scss +64 -38
- package/src/scss/variables-theme.scss +1 -1
- package/tests/slider.html +12 -1
- package/tests/slideshow.html +2 -2
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
// Variables
|
|
14
14
|
// ========================================================================
|
|
15
15
|
|
|
16
|
-
$heading-small-font-size: $heading-small-font-size-m * 0.8 !default;
|
|
17
|
-
$heading-medium-font-size: $heading-medium-font-size-m * 0.825 !default;
|
|
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%
|
|
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%
|
|
32
|
+
.uk-child-width-1-6 > * { width: unquote('calc(100% / 6)'); }
|
|
33
33
|
|
|
34
34
|
.uk-child-width-auto > * { width: auto; }
|
|
35
35
|
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
* flex items won't shrink below their minimum intrinsic content size.
|
|
39
39
|
* Using `1px` instead of `0`, so items still wrap into the next line,
|
|
40
40
|
* if they have zero width and padding and the predecessor is 100% wide.
|
|
41
|
+
* 2. Reset flex if auto classes are combined with expand classes
|
|
41
42
|
*/
|
|
42
43
|
|
|
43
44
|
.uk-child-width-expand > :not([class*="uk-width"]) {
|
|
@@ -51,12 +52,16 @@
|
|
|
51
52
|
|
|
52
53
|
.uk-child-width-1-1\@s > * { width: 100%; }
|
|
53
54
|
.uk-child-width-1-2\@s > * { width: 50%; }
|
|
54
|
-
.uk-child-width-1-3\@s > * { width: unquote('calc(100%
|
|
55
|
+
.uk-child-width-1-3\@s > * { width: unquote('calc(100% / 3)'); }
|
|
55
56
|
.uk-child-width-1-4\@s > * { width: 25%; }
|
|
56
57
|
.uk-child-width-1-5\@s > * { width: 20%; }
|
|
57
|
-
.uk-child-width-1-6\@s > * { width: unquote('calc(100%
|
|
58
|
+
.uk-child-width-1-6\@s > * { width: unquote('calc(100% / 6)'); }
|
|
58
59
|
|
|
59
|
-
.uk-child-width-auto\@s > * {
|
|
60
|
+
.uk-child-width-auto\@s > * {
|
|
61
|
+
width: auto;
|
|
62
|
+
/* 2 */
|
|
63
|
+
flex: initial;
|
|
64
|
+
}
|
|
60
65
|
.uk-child-width-expand\@s > :not([class*="uk-width"]) {
|
|
61
66
|
flex: 1;
|
|
62
67
|
min-width: 1px;
|
|
@@ -69,12 +74,15 @@
|
|
|
69
74
|
|
|
70
75
|
.uk-child-width-1-1\@m > * { width: 100%; }
|
|
71
76
|
.uk-child-width-1-2\@m > * { width: 50%; }
|
|
72
|
-
.uk-child-width-1-3\@m > * { width: unquote('calc(100%
|
|
77
|
+
.uk-child-width-1-3\@m > * { width: unquote('calc(100% / 3)'); }
|
|
73
78
|
.uk-child-width-1-4\@m > * { width: 25%; }
|
|
74
79
|
.uk-child-width-1-5\@m > * { width: 20%; }
|
|
75
|
-
.uk-child-width-1-6\@m > * { width: unquote('calc(100%
|
|
80
|
+
.uk-child-width-1-6\@m > * { width: unquote('calc(100% / 6)'); }
|
|
76
81
|
|
|
77
|
-
.uk-child-width-auto\@m > * {
|
|
82
|
+
.uk-child-width-auto\@m > * {
|
|
83
|
+
width: auto;
|
|
84
|
+
flex: initial;
|
|
85
|
+
}
|
|
78
86
|
.uk-child-width-expand\@m > :not([class*="uk-width"]) {
|
|
79
87
|
flex: 1;
|
|
80
88
|
min-width: 1px;
|
|
@@ -87,12 +95,15 @@
|
|
|
87
95
|
|
|
88
96
|
.uk-child-width-1-1\@l > * { width: 100%; }
|
|
89
97
|
.uk-child-width-1-2\@l > * { width: 50%; }
|
|
90
|
-
.uk-child-width-1-3\@l > * { width: unquote('calc(100%
|
|
98
|
+
.uk-child-width-1-3\@l > * { width: unquote('calc(100% / 3)'); }
|
|
91
99
|
.uk-child-width-1-4\@l > * { width: 25%; }
|
|
92
100
|
.uk-child-width-1-5\@l > * { width: 20%; }
|
|
93
|
-
.uk-child-width-1-6\@l > * { width: unquote('calc(100%
|
|
101
|
+
.uk-child-width-1-6\@l > * { width: unquote('calc(100% / 6)'); }
|
|
94
102
|
|
|
95
|
-
.uk-child-width-auto\@l > * {
|
|
103
|
+
.uk-child-width-auto\@l > * {
|
|
104
|
+
width: auto;
|
|
105
|
+
flex: initial;
|
|
106
|
+
}
|
|
96
107
|
.uk-child-width-expand\@l > :not([class*="uk-width"]) {
|
|
97
108
|
flex: 1;
|
|
98
109
|
min-width: 1px;
|
|
@@ -105,12 +116,15 @@
|
|
|
105
116
|
|
|
106
117
|
.uk-child-width-1-1\@xl > * { width: 100%; }
|
|
107
118
|
.uk-child-width-1-2\@xl > * { width: 50%; }
|
|
108
|
-
.uk-child-width-1-3\@xl > * { width: unquote('calc(100%
|
|
119
|
+
.uk-child-width-1-3\@xl > * { width: unquote('calc(100% / 3)'); }
|
|
109
120
|
.uk-child-width-1-4\@xl > * { width: 25%; }
|
|
110
121
|
.uk-child-width-1-5\@xl > * { width: 20%; }
|
|
111
|
-
.uk-child-width-1-6\@xl > * { width: unquote('calc(100%
|
|
122
|
+
.uk-child-width-1-6\@xl > * { width: unquote('calc(100% / 6)'); }
|
|
112
123
|
|
|
113
|
-
.uk-child-width-auto\@xl > * {
|
|
124
|
+
.uk-child-width-auto\@xl > * {
|
|
125
|
+
width: auto;
|
|
126
|
+
flex: initial;
|
|
127
|
+
}
|
|
114
128
|
.uk-child-width-expand\@xl > :not([class*="uk-width"]) {
|
|
115
129
|
flex: 1;
|
|
116
130
|
min-width: 1px;
|
|
@@ -137,8 +151,8 @@
|
|
|
137
151
|
.uk-width-1-2 { width: 50%; }
|
|
138
152
|
|
|
139
153
|
/* Thirds */
|
|
140
|
-
.uk-width-1-3 { width: unquote('calc(100%
|
|
141
|
-
.uk-width-2-3 { width: unquote('calc(
|
|
154
|
+
.uk-width-1-3 { width: unquote('calc(100% / 3)'); }
|
|
155
|
+
.uk-width-2-3 { width: unquote('calc(200% / 3)'); }
|
|
142
156
|
|
|
143
157
|
/* Quarters */
|
|
144
158
|
.uk-width-1-4 { width: 25%; }
|
|
@@ -151,8 +165,8 @@
|
|
|
151
165
|
.uk-width-4-5 { width: 80%; }
|
|
152
166
|
|
|
153
167
|
/* Sixths */
|
|
154
|
-
.uk-width-1-6 { width: unquote('calc(100%
|
|
155
|
-
.uk-width-5-6 { width: unquote('calc(
|
|
168
|
+
.uk-width-1-6 { width: unquote('calc(100% / 6)'); }
|
|
169
|
+
.uk-width-5-6 { width: unquote('calc(500% / 6)'); }
|
|
156
170
|
|
|
157
171
|
/* Pixel */
|
|
158
172
|
.uk-width-small { width: $width-small-width; }
|
|
@@ -183,8 +197,8 @@
|
|
|
183
197
|
.uk-width-1-2\@s { width: 50%; }
|
|
184
198
|
|
|
185
199
|
/* Thirds */
|
|
186
|
-
.uk-width-1-3\@s { width: unquote('calc(100%
|
|
187
|
-
.uk-width-2-3\@s { width: unquote('calc(
|
|
200
|
+
.uk-width-1-3\@s { width: unquote('calc(100% / 3)'); }
|
|
201
|
+
.uk-width-2-3\@s { width: unquote('calc(200% / 3)'); }
|
|
188
202
|
|
|
189
203
|
/* Quarters */
|
|
190
204
|
.uk-width-1-4\@s { width: 25%; }
|
|
@@ -197,8 +211,8 @@
|
|
|
197
211
|
.uk-width-4-5\@s { width: 80%; }
|
|
198
212
|
|
|
199
213
|
/* Sixths */
|
|
200
|
-
.uk-width-1-6\@s { width: unquote('calc(100%
|
|
201
|
-
.uk-width-5-6\@s { width: unquote('calc(
|
|
214
|
+
.uk-width-1-6\@s { width: unquote('calc(100% / 6)'); }
|
|
215
|
+
.uk-width-5-6\@s { width: unquote('calc(500% / 6)'); }
|
|
202
216
|
|
|
203
217
|
/* Pixel */
|
|
204
218
|
.uk-width-small\@s { width: $width-small-width; }
|
|
@@ -211,7 +225,10 @@
|
|
|
211
225
|
}
|
|
212
226
|
|
|
213
227
|
/* Auto */
|
|
214
|
-
.uk-width-auto\@s {
|
|
228
|
+
.uk-width-auto\@s {
|
|
229
|
+
width: auto;
|
|
230
|
+
flex: initial;
|
|
231
|
+
}
|
|
215
232
|
|
|
216
233
|
/* Expand */
|
|
217
234
|
.uk-width-expand\@s {
|
|
@@ -231,8 +248,8 @@
|
|
|
231
248
|
.uk-width-1-2\@m { width: 50%; }
|
|
232
249
|
|
|
233
250
|
/* Thirds */
|
|
234
|
-
.uk-width-1-3\@m { width: unquote('calc(100%
|
|
235
|
-
.uk-width-2-3\@m { width: unquote('calc(
|
|
251
|
+
.uk-width-1-3\@m { width: unquote('calc(100% / 3)'); }
|
|
252
|
+
.uk-width-2-3\@m { width: unquote('calc(200% / 3)'); }
|
|
236
253
|
|
|
237
254
|
/* Quarters */
|
|
238
255
|
.uk-width-1-4\@m { width: 25%; }
|
|
@@ -245,8 +262,8 @@
|
|
|
245
262
|
.uk-width-4-5\@m { width: 80%; }
|
|
246
263
|
|
|
247
264
|
/* Sixths */
|
|
248
|
-
.uk-width-1-6\@m { width: unquote('calc(100%
|
|
249
|
-
.uk-width-5-6\@m { width: unquote('calc(
|
|
265
|
+
.uk-width-1-6\@m { width: unquote('calc(100% / 6)'); }
|
|
266
|
+
.uk-width-5-6\@m { width: unquote('calc(500% / 6)'); }
|
|
250
267
|
|
|
251
268
|
/* Pixel */
|
|
252
269
|
.uk-width-small\@m { width: $width-small-width; }
|
|
@@ -259,7 +276,10 @@
|
|
|
259
276
|
}
|
|
260
277
|
|
|
261
278
|
/* Auto */
|
|
262
|
-
.uk-width-auto\@m {
|
|
279
|
+
.uk-width-auto\@m {
|
|
280
|
+
width: auto;
|
|
281
|
+
flex: initial;
|
|
282
|
+
}
|
|
263
283
|
|
|
264
284
|
/* Expand */
|
|
265
285
|
.uk-width-expand\@m {
|
|
@@ -279,8 +299,8 @@
|
|
|
279
299
|
.uk-width-1-2\@l { width: 50%; }
|
|
280
300
|
|
|
281
301
|
/* Thirds */
|
|
282
|
-
.uk-width-1-3\@l { width: unquote('calc(100%
|
|
283
|
-
.uk-width-2-3\@l { width: unquote('calc(
|
|
302
|
+
.uk-width-1-3\@l { width: unquote('calc(100% / 3)'); }
|
|
303
|
+
.uk-width-2-3\@l { width: unquote('calc(200% / 3)'); }
|
|
284
304
|
|
|
285
305
|
/* Quarters */
|
|
286
306
|
.uk-width-1-4\@l { width: 25%; }
|
|
@@ -293,8 +313,8 @@
|
|
|
293
313
|
.uk-width-4-5\@l { width: 80%; }
|
|
294
314
|
|
|
295
315
|
/* Sixths */
|
|
296
|
-
.uk-width-1-6\@l { width: unquote('calc(100%
|
|
297
|
-
.uk-width-5-6\@l { width: unquote('calc(
|
|
316
|
+
.uk-width-1-6\@l { width: unquote('calc(100% / 6)'); }
|
|
317
|
+
.uk-width-5-6\@l { width: unquote('calc(500% / 6)'); }
|
|
298
318
|
|
|
299
319
|
/* Pixel */
|
|
300
320
|
.uk-width-small\@l { width: $width-small-width; }
|
|
@@ -307,7 +327,10 @@
|
|
|
307
327
|
}
|
|
308
328
|
|
|
309
329
|
/* Auto */
|
|
310
|
-
.uk-width-auto\@l {
|
|
330
|
+
.uk-width-auto\@l {
|
|
331
|
+
width: auto;
|
|
332
|
+
flex: initial;
|
|
333
|
+
}
|
|
311
334
|
|
|
312
335
|
/* Expand */
|
|
313
336
|
.uk-width-expand\@l {
|
|
@@ -327,8 +350,8 @@
|
|
|
327
350
|
.uk-width-1-2\@xl { width: 50%; }
|
|
328
351
|
|
|
329
352
|
/* Thirds */
|
|
330
|
-
.uk-width-1-3\@xl { width: unquote('calc(100%
|
|
331
|
-
.uk-width-2-3\@xl { width: unquote('calc(
|
|
353
|
+
.uk-width-1-3\@xl { width: unquote('calc(100% / 3)'); }
|
|
354
|
+
.uk-width-2-3\@xl { width: unquote('calc(200% / 3)'); }
|
|
332
355
|
|
|
333
356
|
/* Quarters */
|
|
334
357
|
.uk-width-1-4\@xl { width: 25%; }
|
|
@@ -341,8 +364,8 @@
|
|
|
341
364
|
.uk-width-4-5\@xl { width: 80%; }
|
|
342
365
|
|
|
343
366
|
/* Sixths */
|
|
344
|
-
.uk-width-1-6\@xl { width: unquote('calc(100%
|
|
345
|
-
.uk-width-5-6\@xl { width: unquote('calc(
|
|
367
|
+
.uk-width-1-6\@xl { width: unquote('calc(100% / 6)'); }
|
|
368
|
+
.uk-width-5-6\@xl { width: unquote('calc(500% / 6)'); }
|
|
346
369
|
|
|
347
370
|
/* Pixel */
|
|
348
371
|
.uk-width-small\@xl { width: $width-small-width; }
|
|
@@ -355,7 +378,10 @@
|
|
|
355
378
|
}
|
|
356
379
|
|
|
357
380
|
/* Auto */
|
|
358
|
-
.uk-width-auto\@xl {
|
|
381
|
+
.uk-width-auto\@xl {
|
|
382
|
+
width: auto;
|
|
383
|
+
flex: initial;
|
|
384
|
+
}
|
|
359
385
|
|
|
360
386
|
/* Expand */
|
|
361
387
|
.uk-width-expand\@xl {
|
|
@@ -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%,
|
|
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
|
);
|
package/tests/slideshow.html
CHANGED
|
@@ -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&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
108
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&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&background=1&keyboard=0" width="500" height="281" allowfullscreen uk-cover></iframe>
|
|
115
|
+
<iframe src="https://player.vimeo.com/video/1084537?title=0&background=1&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>
|