uikit 3.18.3 → 3.18.4-dev.01a468d2e
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 +15 -0
- package/build/scss.js +3 -0
- package/dist/css/uikit-core-rtl.css +169 -23
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +169 -23
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +169 -23
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +169 -23
- 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 +15 -8
- 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 -12
- 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 +18 -20
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/internal/slider-transitioner.js +2 -2
- package/src/js/components/slider.js +15 -6
- package/src/js/components/tooltip.js +1 -1
- package/src/js/core/img.js +1 -16
- package/src/less/components/flex.less +110 -2
- package/src/less/components/utility.less +1 -2
- package/src/less/components/width.less +34 -8
- package/src/less/theme/text.less +1 -1
- package/src/scss/components/flex.scss +110 -2
- package/src/scss/components/width.scss +34 -8
- package/src/scss/mixins-theme.scss +1 -2
- package/src/scss/mixins.scss +1 -2
- package/src/scss/variables-theme.scss +1 -1
- package/tests/slider.html +12 -1
- package/tests/utility.html +36 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## WIP
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add breakpoint classes for flex direction, dimension and alignment
|
|
8
|
+
- Add `active` option to Slider component
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fix combination of width auto and expand breakpoint classes
|
|
13
|
+
- Fix logo inverse selector to work with different types of images
|
|
14
|
+
- Fix Tooltips not showing in iOS
|
|
15
|
+
- Fix parallax scrolling for Slideshow/Slider component with finite mode
|
|
16
|
+
- Fix Sass sources by renaming spin() (LESS) to adjust-hue() (Sass)
|
|
17
|
+
|
|
3
18
|
## 3.18.3 (February 13, 2024)
|
|
4
19
|
|
|
5
20
|
### Fixed
|
package/build/scss.js
CHANGED
|
@@ -38,6 +38,9 @@ for (const file of (await glob('src/less/**/*.less'))
|
|
|
38
38
|
.replace(/fade\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => {
|
|
39
39
|
return `rgba(${p1}, ${p2 / 100})`;
|
|
40
40
|
}) // replace Less function fade with rgba
|
|
41
|
+
.replace(/spin\((\$[\w-]*), ([0-9]+)\)/g, (match, p1, p2) => {
|
|
42
|
+
return `adjust-hue(${p1}, ${p2})`;
|
|
43
|
+
}) // replace Less function spin with adjust-hue
|
|
41
44
|
.replace(/fade(in|out)\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2, p3) => {
|
|
42
45
|
return `fade-${p1}(${p2}, ${p3 / 100})`;
|
|
43
46
|
}) // replace Less function fadeout with fade-out
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.18.
|
|
1
|
+
/*! UIkit 3.18.4-dev.01a468d2e | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -6437,6 +6437,7 @@ ul.uk-nav-sub {
|
|
|
6437
6437
|
* flex items won't shrink below their minimum intrinsic content size.
|
|
6438
6438
|
* Using `1px` instead of `0`, so items still wrap into the next line,
|
|
6439
6439
|
* if they have zero width and padding and the predecessor is 100% wide.
|
|
6440
|
+
* 2. Reset flex if auto classes are combined with expand classes
|
|
6440
6441
|
*/
|
|
6441
6442
|
.uk-child-width-expand > :not([class*="uk-width"]) {
|
|
6442
6443
|
flex: 1;
|
|
@@ -6465,6 +6466,8 @@ ul.uk-nav-sub {
|
|
|
6465
6466
|
}
|
|
6466
6467
|
.uk-child-width-auto\@s > * {
|
|
6467
6468
|
width: auto;
|
|
6469
|
+
/* 2 */
|
|
6470
|
+
flex: initial;
|
|
6468
6471
|
}
|
|
6469
6472
|
.uk-child-width-expand\@s > :not([class*="uk-width"]) {
|
|
6470
6473
|
flex: 1;
|
|
@@ -6493,6 +6496,7 @@ ul.uk-nav-sub {
|
|
|
6493
6496
|
}
|
|
6494
6497
|
.uk-child-width-auto\@m > * {
|
|
6495
6498
|
width: auto;
|
|
6499
|
+
flex: initial;
|
|
6496
6500
|
}
|
|
6497
6501
|
.uk-child-width-expand\@m > :not([class*="uk-width"]) {
|
|
6498
6502
|
flex: 1;
|
|
@@ -6521,6 +6525,7 @@ ul.uk-nav-sub {
|
|
|
6521
6525
|
}
|
|
6522
6526
|
.uk-child-width-auto\@l > * {
|
|
6523
6527
|
width: auto;
|
|
6528
|
+
flex: initial;
|
|
6524
6529
|
}
|
|
6525
6530
|
.uk-child-width-expand\@l > :not([class*="uk-width"]) {
|
|
6526
6531
|
flex: 1;
|
|
@@ -6549,6 +6554,7 @@ ul.uk-nav-sub {
|
|
|
6549
6554
|
}
|
|
6550
6555
|
.uk-child-width-auto\@xl > * {
|
|
6551
6556
|
width: auto;
|
|
6557
|
+
flex: initial;
|
|
6552
6558
|
}
|
|
6553
6559
|
.uk-child-width-expand\@xl > :not([class*="uk-width"]) {
|
|
6554
6560
|
flex: 1;
|
|
@@ -6692,6 +6698,7 @@ ul.uk-nav-sub {
|
|
|
6692
6698
|
/* Auto */
|
|
6693
6699
|
.uk-width-auto\@s {
|
|
6694
6700
|
width: auto;
|
|
6701
|
+
flex: initial;
|
|
6695
6702
|
}
|
|
6696
6703
|
/* Expand */
|
|
6697
6704
|
.uk-width-expand\@s {
|
|
@@ -6762,6 +6769,7 @@ ul.uk-nav-sub {
|
|
|
6762
6769
|
/* Auto */
|
|
6763
6770
|
.uk-width-auto\@m {
|
|
6764
6771
|
width: auto;
|
|
6772
|
+
flex: initial;
|
|
6765
6773
|
}
|
|
6766
6774
|
/* Expand */
|
|
6767
6775
|
.uk-width-expand\@m {
|
|
@@ -6832,6 +6840,7 @@ ul.uk-nav-sub {
|
|
|
6832
6840
|
/* Auto */
|
|
6833
6841
|
.uk-width-auto\@l {
|
|
6834
6842
|
width: auto;
|
|
6843
|
+
flex: initial;
|
|
6835
6844
|
}
|
|
6836
6845
|
/* Expand */
|
|
6837
6846
|
.uk-width-expand\@l {
|
|
@@ -6902,6 +6911,7 @@ ul.uk-nav-sub {
|
|
|
6902
6911
|
/* Auto */
|
|
6903
6912
|
.uk-width-auto\@xl {
|
|
6904
6913
|
width: auto;
|
|
6914
|
+
flex: initial;
|
|
6905
6915
|
}
|
|
6906
6916
|
/* Expand */
|
|
6907
6917
|
.uk-width-expand\@xl {
|
|
@@ -8237,6 +8247,66 @@ iframe[data-uk-cover] {
|
|
|
8237
8247
|
.uk-flex-bottom {
|
|
8238
8248
|
align-items: flex-end;
|
|
8239
8249
|
}
|
|
8250
|
+
/* Phone landscape and bigger */
|
|
8251
|
+
@media (min-width: 640px) {
|
|
8252
|
+
.uk-flex-stretch\@s {
|
|
8253
|
+
align-items: stretch;
|
|
8254
|
+
}
|
|
8255
|
+
.uk-flex-top\@s {
|
|
8256
|
+
align-items: flex-start;
|
|
8257
|
+
}
|
|
8258
|
+
.uk-flex-middle\@s {
|
|
8259
|
+
align-items: center;
|
|
8260
|
+
}
|
|
8261
|
+
.uk-flex-bottom\@s {
|
|
8262
|
+
align-items: flex-end;
|
|
8263
|
+
}
|
|
8264
|
+
}
|
|
8265
|
+
/* Tablet landscape and bigger */
|
|
8266
|
+
@media (min-width: 960px) {
|
|
8267
|
+
.uk-flex-stretch\@m {
|
|
8268
|
+
align-items: stretch;
|
|
8269
|
+
}
|
|
8270
|
+
.uk-flex-top\@m {
|
|
8271
|
+
align-items: flex-start;
|
|
8272
|
+
}
|
|
8273
|
+
.uk-flex-middle\@m {
|
|
8274
|
+
align-items: center;
|
|
8275
|
+
}
|
|
8276
|
+
.uk-flex-bottom\@m {
|
|
8277
|
+
align-items: flex-end;
|
|
8278
|
+
}
|
|
8279
|
+
}
|
|
8280
|
+
/* Desktop and bigger */
|
|
8281
|
+
@media (min-width: 1200px) {
|
|
8282
|
+
.uk-flex-stretch\@l {
|
|
8283
|
+
align-items: stretch;
|
|
8284
|
+
}
|
|
8285
|
+
.uk-flex-top\@l {
|
|
8286
|
+
align-items: flex-start;
|
|
8287
|
+
}
|
|
8288
|
+
.uk-flex-middle\@l {
|
|
8289
|
+
align-items: center;
|
|
8290
|
+
}
|
|
8291
|
+
.uk-flex-bottom\@l {
|
|
8292
|
+
align-items: flex-end;
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
/* Large screen and bigger */
|
|
8296
|
+
@media (min-width: 1600px) {
|
|
8297
|
+
.uk-flex-stretch\@xl {
|
|
8298
|
+
align-items: stretch;
|
|
8299
|
+
}
|
|
8300
|
+
.uk-flex-top\@xl {
|
|
8301
|
+
align-items: flex-start;
|
|
8302
|
+
}
|
|
8303
|
+
.uk-flex-middle\@xl {
|
|
8304
|
+
align-items: center;
|
|
8305
|
+
}
|
|
8306
|
+
.uk-flex-bottom\@xl {
|
|
8307
|
+
align-items: flex-end;
|
|
8308
|
+
}
|
|
8309
|
+
}
|
|
8240
8310
|
/* Direction
|
|
8241
8311
|
========================================================================== */
|
|
8242
8312
|
.uk-flex-row {
|
|
@@ -8251,6 +8321,42 @@ iframe[data-uk-cover] {
|
|
|
8251
8321
|
.uk-flex-column-reverse {
|
|
8252
8322
|
flex-direction: column-reverse;
|
|
8253
8323
|
}
|
|
8324
|
+
/* Phone landscape and bigger */
|
|
8325
|
+
@media (min-width: 640px) {
|
|
8326
|
+
.uk-flex-row\@s {
|
|
8327
|
+
flex-direction: row;
|
|
8328
|
+
}
|
|
8329
|
+
.uk-flex-column\@s {
|
|
8330
|
+
flex-direction: column;
|
|
8331
|
+
}
|
|
8332
|
+
}
|
|
8333
|
+
/* Tablet landscape and bigger */
|
|
8334
|
+
@media (min-width: 960px) {
|
|
8335
|
+
.uk-flex-row\@m {
|
|
8336
|
+
flex-direction: row;
|
|
8337
|
+
}
|
|
8338
|
+
.uk-flex-column\@m {
|
|
8339
|
+
flex-direction: column;
|
|
8340
|
+
}
|
|
8341
|
+
}
|
|
8342
|
+
/* Desktop and bigger */
|
|
8343
|
+
@media (min-width: 1200px) {
|
|
8344
|
+
.uk-flex-row\@l {
|
|
8345
|
+
flex-direction: row;
|
|
8346
|
+
}
|
|
8347
|
+
.uk-flex-column\@l {
|
|
8348
|
+
flex-direction: column;
|
|
8349
|
+
}
|
|
8350
|
+
}
|
|
8351
|
+
/* Large screen and bigger */
|
|
8352
|
+
@media (min-width: 1600px) {
|
|
8353
|
+
.uk-flex-row\@xl {
|
|
8354
|
+
flex-direction: row;
|
|
8355
|
+
}
|
|
8356
|
+
.uk-flex-column\@xl {
|
|
8357
|
+
flex-direction: column;
|
|
8358
|
+
}
|
|
8359
|
+
}
|
|
8254
8360
|
/* Wrap
|
|
8255
8361
|
========================================================================== */
|
|
8256
8362
|
.uk-flex-nowrap {
|
|
@@ -8337,6 +8443,9 @@ iframe[data-uk-cover] {
|
|
|
8337
8443
|
* Initial: 0 1 auto
|
|
8338
8444
|
* Content dimensions, but shrinks
|
|
8339
8445
|
*/
|
|
8446
|
+
.uk-flex-initial {
|
|
8447
|
+
flex: initial;
|
|
8448
|
+
}
|
|
8340
8449
|
/*
|
|
8341
8450
|
* No Flex: 0 0 auto
|
|
8342
8451
|
* Content dimensions
|
|
@@ -8358,6 +8467,54 @@ iframe[data-uk-cover] {
|
|
|
8358
8467
|
.uk-flex-1 {
|
|
8359
8468
|
flex: 1;
|
|
8360
8469
|
}
|
|
8470
|
+
/* Phone landscape and bigger */
|
|
8471
|
+
@media (min-width: 640px) {
|
|
8472
|
+
.uk-flex-initial\@s {
|
|
8473
|
+
flex: initial;
|
|
8474
|
+
}
|
|
8475
|
+
.uk-flex-none\@s {
|
|
8476
|
+
flex: none;
|
|
8477
|
+
}
|
|
8478
|
+
.uk-flex-1\@s {
|
|
8479
|
+
flex: 1;
|
|
8480
|
+
}
|
|
8481
|
+
}
|
|
8482
|
+
/* Tablet landscape and bigger */
|
|
8483
|
+
@media (min-width: 960px) {
|
|
8484
|
+
.uk-flex-initial\@m {
|
|
8485
|
+
flex: initial;
|
|
8486
|
+
}
|
|
8487
|
+
.uk-flex-none\@m {
|
|
8488
|
+
flex: none;
|
|
8489
|
+
}
|
|
8490
|
+
.uk-flex-1\@m {
|
|
8491
|
+
flex: 1;
|
|
8492
|
+
}
|
|
8493
|
+
}
|
|
8494
|
+
/* Desktop and bigger */
|
|
8495
|
+
@media (min-width: 1200px) {
|
|
8496
|
+
.uk-flex-initial\@l {
|
|
8497
|
+
flex: initial;
|
|
8498
|
+
}
|
|
8499
|
+
.uk-flex-none\@l {
|
|
8500
|
+
flex: none;
|
|
8501
|
+
}
|
|
8502
|
+
.uk-flex-1\@l {
|
|
8503
|
+
flex: 1;
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
/* Large screen and bigger */
|
|
8507
|
+
@media (min-width: 1600px) {
|
|
8508
|
+
.uk-flex-initial\@xl {
|
|
8509
|
+
flex: initial;
|
|
8510
|
+
}
|
|
8511
|
+
.uk-flex-none\@xl {
|
|
8512
|
+
flex: none;
|
|
8513
|
+
}
|
|
8514
|
+
.uk-flex-1\@xl {
|
|
8515
|
+
flex: 1;
|
|
8516
|
+
}
|
|
8517
|
+
}
|
|
8361
8518
|
/* ========================================================================
|
|
8362
8519
|
Component: Margin
|
|
8363
8520
|
========================================================================== */
|
|
@@ -11926,28 +12083,17 @@ iframe[data-uk-cover] {
|
|
|
11926
12083
|
.uk-offcanvas-bar .uk-logo:hover {
|
|
11927
12084
|
color: #fff;
|
|
11928
12085
|
}
|
|
11929
|
-
.uk-light .uk-logo >
|
|
11930
|
-
.uk-
|
|
11931
|
-
.uk-section-
|
|
11932
|
-
.uk-
|
|
11933
|
-
.uk-
|
|
11934
|
-
.uk-
|
|
11935
|
-
.uk-
|
|
11936
|
-
.uk-
|
|
11937
|
-
.uk-
|
|
11938
|
-
.uk-
|
|
11939
|
-
.uk-
|
|
11940
|
-
.uk-card-primary.uk-card-body .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
|
|
11941
|
-
.uk-card-primary > :not([class*="uk-card-media"]) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
11942
|
-
.uk-card-primary > :not([class*="uk-card-media"]) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
|
|
11943
|
-
.uk-card-secondary.uk-card-body .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
11944
|
-
.uk-card-secondary.uk-card-body .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
|
|
11945
|
-
.uk-card-secondary > :not([class*="uk-card-media"]) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
11946
|
-
.uk-card-secondary > :not([class*="uk-card-media"]) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
|
|
11947
|
-
.uk-overlay-primary .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
11948
|
-
.uk-overlay-primary .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
|
|
11949
|
-
.uk-offcanvas-bar .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
11950
|
-
.uk-offcanvas-bar .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type) {
|
|
12086
|
+
.uk-light .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12087
|
+
.uk-section-primary:not(.uk-preserve-color) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12088
|
+
.uk-section-secondary:not(.uk-preserve-color) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12089
|
+
.uk-tile-primary:not(.uk-preserve-color) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12090
|
+
.uk-tile-secondary:not(.uk-preserve-color) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12091
|
+
.uk-card-primary.uk-card-body .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12092
|
+
.uk-card-primary > :not([class*="uk-card-media"]) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12093
|
+
.uk-card-secondary.uk-card-body .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12094
|
+
.uk-card-secondary > :not([class*="uk-card-media"]) .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12095
|
+
.uk-overlay-primary .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse),
|
|
12096
|
+
.uk-offcanvas-bar .uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) {
|
|
11951
12097
|
display: none;
|
|
11952
12098
|
}
|
|
11953
12099
|
.uk-light .uk-logo-inverse,
|