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.
Files changed (57) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/build/scss.js +3 -0
  3. package/dist/css/uikit-core-rtl.css +188 -31
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +188 -31
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +188 -31
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +188 -31
  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 +3 -3
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +15 -12
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/images/components/navbar-toggle-icon.svg +2 -2
  45. package/src/js/components/internal/slider-transitioner.js +2 -2
  46. package/src/js/components/slider.js +12 -11
  47. package/src/js/components/tooltip.js +1 -1
  48. package/src/less/components/flex.less +110 -2
  49. package/src/less/components/heading.less +2 -2
  50. package/src/less/components/width.less +64 -38
  51. package/src/less/theme/text.less +1 -1
  52. package/src/scss/components/flex.scss +110 -2
  53. package/src/scss/components/heading.scss +2 -2
  54. package/src/scss/components/width.scss +64 -38
  55. package/src/scss/variables-theme.scss +1 -1
  56. package/tests/slider.html +12 -1
  57. package/tests/slideshow.html +2 -2
package/CHANGELOG.md CHANGED
@@ -2,10 +2,23 @@
2
2
 
3
3
  ## WIP
4
4
 
5
+ ### Added
6
+
7
+ - Add breakpoint classes for flex direction, dimension and alignment
8
+ - Add `active` option to Slider component
9
+
10
+ ### Changed
11
+
12
+ - Remove obsolete fix for rounding issues in Width component in IE11/Edge
13
+
5
14
  ### Fixed
6
15
 
16
+ - Fix combination of width auto and expand breakpoint classes
7
17
  - Fix logo inverse selector to work with different types of images
18
+ - Fix Tooltips not showing in iOS
8
19
  - Fix parallax scrolling for Slideshow/Slider component with finite mode
20
+ - Fix Slider component disables infinite scrolling prematurely
21
+ - Fix Sass sources by renaming spin() (LESS) to adjust-hue() (Sass)
9
22
 
10
23
  ## 3.18.3 (February 13, 2024)
11
24
 
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.4-dev.379fa2bf1 | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
1
+ /*! UIkit 3.18.4-dev.3b6dec3a6 | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -6418,7 +6418,7 @@ ul.uk-nav-sub {
6418
6418
  width: 50%;
6419
6419
  }
6420
6420
  .uk-child-width-1-3 > * {
6421
- width: calc(100% * 1 / 3.001);
6421
+ width: calc(100% / 3);
6422
6422
  }
6423
6423
  .uk-child-width-1-4 > * {
6424
6424
  width: 25%;
@@ -6427,7 +6427,7 @@ ul.uk-nav-sub {
6427
6427
  width: 20%;
6428
6428
  }
6429
6429
  .uk-child-width-1-6 > * {
6430
- width: calc(100% * 1 / 6.001);
6430
+ width: calc(100% / 6);
6431
6431
  }
6432
6432
  .uk-child-width-auto > * {
6433
6433
  width: auto;
@@ -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;
@@ -6452,7 +6453,7 @@ ul.uk-nav-sub {
6452
6453
  width: 50%;
6453
6454
  }
6454
6455
  .uk-child-width-1-3\@s > * {
6455
- width: calc(100% * 1 / 3.001);
6456
+ width: calc(100% / 3);
6456
6457
  }
6457
6458
  .uk-child-width-1-4\@s > * {
6458
6459
  width: 25%;
@@ -6461,10 +6462,12 @@ ul.uk-nav-sub {
6461
6462
  width: 20%;
6462
6463
  }
6463
6464
  .uk-child-width-1-6\@s > * {
6464
- width: calc(100% * 1 / 6.001);
6465
+ width: calc(100% / 6);
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;
@@ -6480,7 +6483,7 @@ ul.uk-nav-sub {
6480
6483
  width: 50%;
6481
6484
  }
6482
6485
  .uk-child-width-1-3\@m > * {
6483
- width: calc(100% * 1 / 3.001);
6486
+ width: calc(100% / 3);
6484
6487
  }
6485
6488
  .uk-child-width-1-4\@m > * {
6486
6489
  width: 25%;
@@ -6489,10 +6492,11 @@ ul.uk-nav-sub {
6489
6492
  width: 20%;
6490
6493
  }
6491
6494
  .uk-child-width-1-6\@m > * {
6492
- width: calc(100% * 1 / 6.001);
6495
+ width: calc(100% / 6);
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;
@@ -6508,7 +6512,7 @@ ul.uk-nav-sub {
6508
6512
  width: 50%;
6509
6513
  }
6510
6514
  .uk-child-width-1-3\@l > * {
6511
- width: calc(100% * 1 / 3.001);
6515
+ width: calc(100% / 3);
6512
6516
  }
6513
6517
  .uk-child-width-1-4\@l > * {
6514
6518
  width: 25%;
@@ -6517,10 +6521,11 @@ ul.uk-nav-sub {
6517
6521
  width: 20%;
6518
6522
  }
6519
6523
  .uk-child-width-1-6\@l > * {
6520
- width: calc(100% * 1 / 6.001);
6524
+ width: calc(100% / 6);
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;
@@ -6536,7 +6541,7 @@ ul.uk-nav-sub {
6536
6541
  width: 50%;
6537
6542
  }
6538
6543
  .uk-child-width-1-3\@xl > * {
6539
- width: calc(100% * 1 / 3.001);
6544
+ width: calc(100% / 3);
6540
6545
  }
6541
6546
  .uk-child-width-1-4\@xl > * {
6542
6547
  width: 25%;
@@ -6545,10 +6550,11 @@ ul.uk-nav-sub {
6545
6550
  width: 20%;
6546
6551
  }
6547
6552
  .uk-child-width-1-6\@xl > * {
6548
- width: calc(100% * 1 / 6.001);
6553
+ width: calc(100% / 6);
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;
@@ -6572,10 +6578,10 @@ ul.uk-nav-sub {
6572
6578
  }
6573
6579
  /* Thirds */
6574
6580
  .uk-width-1-3 {
6575
- width: calc(100% * 1 / 3.001);
6581
+ width: calc(100% / 3);
6576
6582
  }
6577
6583
  .uk-width-2-3 {
6578
- width: calc(100% * 2 / 3.001);
6584
+ width: calc(200% / 3);
6579
6585
  }
6580
6586
  /* Quarters */
6581
6587
  .uk-width-1-4 {
@@ -6599,10 +6605,10 @@ ul.uk-nav-sub {
6599
6605
  }
6600
6606
  /* Sixths */
6601
6607
  .uk-width-1-6 {
6602
- width: calc(100% * 1 / 6.001);
6608
+ width: calc(100% / 6);
6603
6609
  }
6604
6610
  .uk-width-5-6 {
6605
- width: calc(100% * 5 / 6.001);
6611
+ width: calc(500% / 6);
6606
6612
  }
6607
6613
  /* Pixel */
6608
6614
  .uk-width-small {
@@ -6641,10 +6647,10 @@ ul.uk-nav-sub {
6641
6647
  }
6642
6648
  /* Thirds */
6643
6649
  .uk-width-1-3\@s {
6644
- width: calc(100% * 1 / 3.001);
6650
+ width: calc(100% / 3);
6645
6651
  }
6646
6652
  .uk-width-2-3\@s {
6647
- width: calc(100% * 2 / 3.001);
6653
+ width: calc(200% / 3);
6648
6654
  }
6649
6655
  /* Quarters */
6650
6656
  .uk-width-1-4\@s {
@@ -6668,10 +6674,10 @@ ul.uk-nav-sub {
6668
6674
  }
6669
6675
  /* Sixths */
6670
6676
  .uk-width-1-6\@s {
6671
- width: calc(100% * 1 / 6.001);
6677
+ width: calc(100% / 6);
6672
6678
  }
6673
6679
  .uk-width-5-6\@s {
6674
- width: calc(100% * 5 / 6.001);
6680
+ width: calc(500% / 6);
6675
6681
  }
6676
6682
  /* Pixel */
6677
6683
  .uk-width-small\@s {
@@ -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 {
@@ -6711,10 +6718,10 @@ ul.uk-nav-sub {
6711
6718
  }
6712
6719
  /* Thirds */
6713
6720
  .uk-width-1-3\@m {
6714
- width: calc(100% * 1 / 3.001);
6721
+ width: calc(100% / 3);
6715
6722
  }
6716
6723
  .uk-width-2-3\@m {
6717
- width: calc(100% * 2 / 3.001);
6724
+ width: calc(200% / 3);
6718
6725
  }
6719
6726
  /* Quarters */
6720
6727
  .uk-width-1-4\@m {
@@ -6738,10 +6745,10 @@ ul.uk-nav-sub {
6738
6745
  }
6739
6746
  /* Sixths */
6740
6747
  .uk-width-1-6\@m {
6741
- width: calc(100% * 1 / 6.001);
6748
+ width: calc(100% / 6);
6742
6749
  }
6743
6750
  .uk-width-5-6\@m {
6744
- width: calc(100% * 5 / 6.001);
6751
+ width: calc(500% / 6);
6745
6752
  }
6746
6753
  /* Pixel */
6747
6754
  .uk-width-small\@m {
@@ -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 {
@@ -6781,10 +6789,10 @@ ul.uk-nav-sub {
6781
6789
  }
6782
6790
  /* Thirds */
6783
6791
  .uk-width-1-3\@l {
6784
- width: calc(100% * 1 / 3.001);
6792
+ width: calc(100% / 3);
6785
6793
  }
6786
6794
  .uk-width-2-3\@l {
6787
- width: calc(100% * 2 / 3.001);
6795
+ width: calc(200% / 3);
6788
6796
  }
6789
6797
  /* Quarters */
6790
6798
  .uk-width-1-4\@l {
@@ -6808,10 +6816,10 @@ ul.uk-nav-sub {
6808
6816
  }
6809
6817
  /* Sixths */
6810
6818
  .uk-width-1-6\@l {
6811
- width: calc(100% * 1 / 6.001);
6819
+ width: calc(100% / 6);
6812
6820
  }
6813
6821
  .uk-width-5-6\@l {
6814
- width: calc(100% * 5 / 6.001);
6822
+ width: calc(500% / 6);
6815
6823
  }
6816
6824
  /* Pixel */
6817
6825
  .uk-width-small\@l {
@@ -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 {
@@ -6851,10 +6860,10 @@ ul.uk-nav-sub {
6851
6860
  }
6852
6861
  /* Thirds */
6853
6862
  .uk-width-1-3\@xl {
6854
- width: calc(100% * 1 / 3.001);
6863
+ width: calc(100% / 3);
6855
6864
  }
6856
6865
  .uk-width-2-3\@xl {
6857
- width: calc(100% * 2 / 3.001);
6866
+ width: calc(200% / 3);
6858
6867
  }
6859
6868
  /* Quarters */
6860
6869
  .uk-width-1-4\@xl {
@@ -6878,10 +6887,10 @@ ul.uk-nav-sub {
6878
6887
  }
6879
6888
  /* Sixths */
6880
6889
  .uk-width-1-6\@xl {
6881
- width: calc(100% * 1 / 6.001);
6890
+ width: calc(100% / 6);
6882
6891
  }
6883
6892
  .uk-width-5-6\@xl {
6884
- width: calc(100% * 5 / 6.001);
6893
+ width: calc(500% / 6);
6885
6894
  }
6886
6895
  /* Pixel */
6887
6896
  .uk-width-small\@xl {
@@ -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
  ========================================================================== */