uikit 3.9.5-dev.e48c5e252 → 3.10.1-dev.6b26facf9

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 (103) hide show
  1. package/CHANGELOG.md +24 -8
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +4 -2
  4. package/build/.eslintrc.json +10 -1
  5. package/build/build.js +5 -5
  6. package/build/less.js +29 -11
  7. package/build/publishDev.js +2 -1
  8. package/build/scss.js +1 -1
  9. package/build/util.js +1 -20
  10. package/dist/css/uikit-core-rtl.css +24 -13
  11. package/dist/css/uikit-core-rtl.min.css +1 -1
  12. package/dist/css/uikit-core.css +21 -10
  13. package/dist/css/uikit-core.min.css +1 -1
  14. package/dist/css/uikit-rtl.css +24 -13
  15. package/dist/css/uikit-rtl.min.css +1 -1
  16. package/dist/css/uikit.css +21 -10
  17. package/dist/css/uikit.min.css +1 -1
  18. package/dist/js/components/countdown.js +1 -1
  19. package/dist/js/components/countdown.min.js +1 -1
  20. package/dist/js/components/filter.js +5 -5
  21. package/dist/js/components/filter.min.js +1 -1
  22. package/dist/js/components/lightbox-panel.js +2 -2
  23. package/dist/js/components/lightbox-panel.min.js +1 -1
  24. package/dist/js/components/lightbox.js +2 -2
  25. package/dist/js/components/lightbox.min.js +1 -1
  26. package/dist/js/components/notification.js +1 -1
  27. package/dist/js/components/notification.min.js +1 -1
  28. package/dist/js/components/parallax.js +2 -2
  29. package/dist/js/components/parallax.min.js +1 -1
  30. package/dist/js/components/slider-parallax.js +2 -2
  31. package/dist/js/components/slider-parallax.min.js +1 -1
  32. package/dist/js/components/slider.js +2 -2
  33. package/dist/js/components/slider.min.js +1 -1
  34. package/dist/js/components/slideshow-parallax.js +2 -2
  35. package/dist/js/components/slideshow-parallax.min.js +1 -1
  36. package/dist/js/components/slideshow.js +6 -2
  37. package/dist/js/components/slideshow.min.js +1 -1
  38. package/dist/js/components/sortable.js +6 -6
  39. package/dist/js/components/sortable.min.js +1 -1
  40. package/dist/js/components/tooltip.js +3 -2
  41. package/dist/js/components/tooltip.min.js +1 -1
  42. package/dist/js/components/upload.js +1 -1
  43. package/dist/js/components/upload.min.js +1 -1
  44. package/dist/js/uikit-core.js +72 -80
  45. package/dist/js/uikit-core.min.js +1 -1
  46. package/dist/js/uikit-icons.js +1 -1
  47. package/dist/js/uikit-icons.min.js +1 -1
  48. package/dist/js/uikit.js +85 -88
  49. package/dist/js/uikit.min.js +1 -1
  50. package/package.json +9 -11
  51. package/src/js/api/component.js +3 -3
  52. package/src/js/api/state.js +3 -3
  53. package/src/js/components/slideshow.js +4 -0
  54. package/src/js/components/sortable.js +1 -1
  55. package/src/js/components/tooltip.js +2 -1
  56. package/src/js/core/cover.js +1 -2
  57. package/src/js/core/img.js +40 -57
  58. package/src/js/core/sticky.js +1 -1
  59. package/src/js/core/toggle.js +4 -3
  60. package/src/js/mixin/animate.js +4 -4
  61. package/src/js/mixin/internal/slideshow-animations.js +1 -1
  62. package/src/js/mixin/parallax.js +1 -1
  63. package/src/js/util/dom.js +5 -8
  64. package/src/js/util/selector.js +4 -2
  65. package/src/js/util/viewport.js +3 -3
  66. package/src/less/components/cover.less +5 -4
  67. package/src/less/components/divider.less +1 -1
  68. package/src/less/components/list.less +1 -1
  69. package/src/less/components/search.less +9 -6
  70. package/src/less/components/utility.less +5 -3
  71. package/src/less/components/width.less +7 -0
  72. package/src/scss/components/cover.scss +5 -4
  73. package/src/scss/components/divider.scss +1 -1
  74. package/src/scss/components/list.scss +1 -1
  75. package/src/scss/components/search.scss +9 -6
  76. package/src/scss/components/utility.scss +5 -3
  77. package/src/scss/components/width.scss +7 -0
  78. package/src/scss/variables-theme.scss +4 -0
  79. package/src/scss/variables.scss +4 -0
  80. package/tests/base.html +12 -12
  81. package/tests/button.html +1 -1
  82. package/tests/cover.html +5 -5
  83. package/tests/drop.html +2 -2
  84. package/tests/dropdown.html +1 -1
  85. package/tests/flex.html +1 -1
  86. package/tests/grid-masonry.html +1 -1
  87. package/tests/grid-parallax.html +1 -1
  88. package/tests/grid.html +1 -1
  89. package/tests/height.html +2 -2
  90. package/tests/margin.html +1 -1
  91. package/tests/modal.html +2 -2
  92. package/tests/navbar.html +2 -2
  93. package/tests/padding.html +1 -1
  94. package/tests/parallax.html +1 -1
  95. package/tests/search.html +1 -1
  96. package/tests/slider.html +1 -1
  97. package/tests/slideshow.html +2 -2
  98. package/tests/sticky.html +2 -2
  99. package/tests/switcher.html +1 -1
  100. package/tests/tab.html +1 -1
  101. package/tests/utility.html +1 -1
  102. package/tests/video.html +3 -3
  103. package/tests/width.html +1 -1
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.9.5-dev.e48c5e252 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
1
+ /*! UIkit 3.10.1-dev.6b26facf9 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -659,7 +659,7 @@ a.uk-link-reset,
659
659
  content: "";
660
660
  /* 1 */
661
661
  position: absolute;
662
- top: calc(50% - ((0.2px + 0.05em) / 2));
662
+ top: calc(50% - (calc(0.2px + 0.05em) / 2));
663
663
  /* 2 */
664
664
  width: 2000px;
665
665
  /* 3 */
@@ -737,7 +737,7 @@ a.uk-link-reset,
737
737
  /* Vertical
738
738
  ========================================================================== */
739
739
  .uk-divider-vertical {
740
- width: 1px;
740
+ width: max-content;
741
741
  height: 100px;
742
742
  margin-right: auto;
743
743
  margin-left: auto;
@@ -784,7 +784,7 @@ a.uk-link-reset,
784
784
  counter-increment: decimal;
785
785
  }
786
786
  [class*='uk-list'] > ::before {
787
- content: '';
787
+ content: "";
788
788
  position: relative;
789
789
  right: -30px;
790
790
  width: 30px;
@@ -7117,6 +7117,14 @@ ul.uk-nav-sub {
7117
7117
  min-width: 1px;
7118
7118
  }
7119
7119
  }
7120
+ /* Intrinsic Widths
7121
+ ========================================================================== */
7122
+ .uk-width-max-content {
7123
+ width: max-content;
7124
+ }
7125
+ .uk-width-min-content {
7126
+ width: min-content;
7127
+ }
7120
7128
  /* ========================================================================
7121
7129
  Component: Height
7122
7130
  ========================================================================== */
@@ -7531,25 +7539,27 @@ td.uk-text-break {
7531
7539
  ========================================================================== */
7532
7540
  /*
7533
7541
  * Works with iframes and embedded content
7534
- * 1. Apply transform instantly. Needed if transform is transitioned.
7542
+ * 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
7535
7543
  * 2. Reset responsiveness for embedded content
7536
7544
  * 3. Center object
7537
7545
  * Note: Percent values on the `top` property only works if this element
7538
7546
  * is absolute positioned or if the container has a height
7539
7547
  */
7540
- .uk-cover,
7541
- [uk-cover] {
7548
+ /* 1 */
7549
+ [uk-cover],
7550
+ [data-uk-cover] {
7542
7551
  /* 2 */
7543
7552
  max-width: none;
7544
7553
  /* 3 */
7545
7554
  position: absolute;
7546
7555
  right: 50%;
7547
7556
  top: 50%;
7548
- --uk-position-translate-x: -50%;
7557
+ --uk-position-translate-x: 50%;
7549
7558
  --uk-position-translate-y: -50%;
7550
7559
  transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
7551
7560
  }
7552
- iframe.uk-cover {
7561
+ iframe[uk-cover],
7562
+ iframe[data-uk-cover] {
7553
7563
  pointer-events: none;
7554
7564
  }
7555
7565
  /* Container
@@ -8012,7 +8022,8 @@ iframe.uk-cover {
8012
8022
  /*
8013
8023
  * Fix initial iframe width. Without the viewport is expanded on iOS devices
8014
8024
  */
8015
- [uk-responsive] {
8025
+ [uk-responsive],
8026
+ [data-uk-responsive] {
8016
8027
  max-width: 100%;
8017
8028
  }
8018
8029
  /* Border
@@ -8080,7 +8091,7 @@ iframe.uk-cover {
8080
8091
  vertical-align: middle;
8081
8092
  }
8082
8093
  .uk-box-shadow-bottom::after {
8083
- content: '';
8094
+ content: "";
8084
8095
  /* 1 */
8085
8096
  position: absolute;
8086
8097
  bottom: -30px;
@@ -8914,7 +8925,7 @@ iframe.uk-cover {
8914
8925
  .uk-position-center {
8915
8926
  top: calc(50% - var(--uk-position-margin-offset));
8916
8927
  right: calc(50% - var(--uk-position-margin-offset));
8917
- --uk-position-translate-x: -50%;
8928
+ --uk-position-translate-x: 50%;
8918
8929
  --uk-position-translate-y: -50%;
8919
8930
  transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
8920
8931
  /* 1 */
@@ -8945,7 +8956,7 @@ iframe.uk-cover {
8945
8956
  .uk-position-top-center,
8946
8957
  .uk-position-bottom-center {
8947
8958
  right: calc(50% - var(--uk-position-margin-offset));
8948
- --uk-position-translate-x: -50%;
8959
+ --uk-position-translate-x: 50%;
8949
8960
  transform: translate(var(--uk-position-translate-x), 0);
8950
8961
  /* 1 */
8951
8962
  width: max-content;