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
  ========================================================================== */
@@ -648,7 +648,7 @@ a.uk-link-reset,
648
648
  content: "";
649
649
  /* 1 */
650
650
  position: absolute;
651
- top: calc(50% - ((0.2px + 0.05em) / 2));
651
+ top: calc(50% - (calc(0.2px + 0.05em) / 2));
652
652
  /* 2 */
653
653
  width: 2000px;
654
654
  /* 3 */
@@ -726,7 +726,7 @@ a.uk-link-reset,
726
726
  /* Vertical
727
727
  ========================================================================== */
728
728
  .uk-divider-vertical {
729
- width: 1px;
729
+ width: max-content;
730
730
  height: 100px;
731
731
  margin-left: auto;
732
732
  margin-right: auto;
@@ -773,7 +773,7 @@ a.uk-link-reset,
773
773
  counter-increment: decimal;
774
774
  }
775
775
  [class*='uk-list'] > ::before {
776
- content: '';
776
+ content: "";
777
777
  position: relative;
778
778
  left: -30px;
779
779
  width: 30px;
@@ -6720,6 +6720,14 @@ ul.uk-nav-sub {
6720
6720
  min-width: 1px;
6721
6721
  }
6722
6722
  }
6723
+ /* Intrinsic Widths
6724
+ ========================================================================== */
6725
+ .uk-width-max-content {
6726
+ width: max-content;
6727
+ }
6728
+ .uk-width-min-content {
6729
+ width: min-content;
6730
+ }
6723
6731
  /* ========================================================================
6724
6732
  Component: Height
6725
6733
  ========================================================================== */
@@ -7127,14 +7135,15 @@ td.uk-text-break {
7127
7135
  ========================================================================== */
7128
7136
  /*
7129
7137
  * Works with iframes and embedded content
7130
- * 1. Apply transform instantly. Needed if transform is transitioned.
7138
+ * 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
7131
7139
  * 2. Reset responsiveness for embedded content
7132
7140
  * 3. Center object
7133
7141
  * Note: Percent values on the `top` property only works if this element
7134
7142
  * is absolute positioned or if the container has a height
7135
7143
  */
7136
- .uk-cover,
7137
- [uk-cover] {
7144
+ /* 1 */
7145
+ [uk-cover],
7146
+ [data-uk-cover] {
7138
7147
  /* 2 */
7139
7148
  max-width: none;
7140
7149
  /* 3 */
@@ -7145,7 +7154,8 @@ td.uk-text-break {
7145
7154
  --uk-position-translate-y: -50%;
7146
7155
  transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
7147
7156
  }
7148
- iframe.uk-cover {
7157
+ iframe[uk-cover],
7158
+ iframe[data-uk-cover] {
7149
7159
  pointer-events: none;
7150
7160
  }
7151
7161
  /* Container
@@ -7608,7 +7618,8 @@ iframe.uk-cover {
7608
7618
  /*
7609
7619
  * Fix initial iframe width. Without the viewport is expanded on iOS devices
7610
7620
  */
7611
- [uk-responsive] {
7621
+ [uk-responsive],
7622
+ [data-uk-responsive] {
7612
7623
  max-width: 100%;
7613
7624
  }
7614
7625
  /* Border
@@ -7676,7 +7687,7 @@ iframe.uk-cover {
7676
7687
  vertical-align: middle;
7677
7688
  }
7678
7689
  .uk-box-shadow-bottom::after {
7679
- content: '';
7690
+ content: "";
7680
7691
  /* 1 */
7681
7692
  position: absolute;
7682
7693
  bottom: -30px;