uikit 3.10.1-dev.2a182d8f9 → 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 (86) hide show
  1. package/CHANGELOG.md +11 -7
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +4 -2
  4. package/build/.eslintrc.json +10 -1
  5. package/build/less.js +1 -2
  6. package/build/scss.js +1 -1
  7. package/dist/css/uikit-core-rtl.css +8 -5
  8. package/dist/css/uikit-core-rtl.min.css +1 -1
  9. package/dist/css/uikit-core.css +8 -5
  10. package/dist/css/uikit-core.min.css +1 -1
  11. package/dist/css/uikit-rtl.css +8 -5
  12. package/dist/css/uikit-rtl.min.css +1 -1
  13. package/dist/css/uikit.css +8 -5
  14. package/dist/css/uikit.min.css +1 -1
  15. package/dist/js/components/countdown.js +1 -1
  16. package/dist/js/components/countdown.min.js +1 -1
  17. package/dist/js/components/filter.js +5 -5
  18. package/dist/js/components/filter.min.js +1 -1
  19. package/dist/js/components/lightbox-panel.js +2 -2
  20. package/dist/js/components/lightbox-panel.min.js +1 -1
  21. package/dist/js/components/lightbox.js +2 -2
  22. package/dist/js/components/lightbox.min.js +1 -1
  23. package/dist/js/components/notification.js +1 -1
  24. package/dist/js/components/notification.min.js +1 -1
  25. package/dist/js/components/parallax.js +2 -2
  26. package/dist/js/components/parallax.min.js +1 -1
  27. package/dist/js/components/slider-parallax.js +2 -2
  28. package/dist/js/components/slider-parallax.min.js +1 -1
  29. package/dist/js/components/slider.js +2 -2
  30. package/dist/js/components/slider.min.js +1 -1
  31. package/dist/js/components/slideshow-parallax.js +2 -2
  32. package/dist/js/components/slideshow-parallax.min.js +1 -1
  33. package/dist/js/components/slideshow.js +2 -2
  34. package/dist/js/components/slideshow.min.js +1 -1
  35. package/dist/js/components/sortable.js +5 -5
  36. package/dist/js/components/sortable.min.js +1 -1
  37. package/dist/js/components/tooltip.js +3 -2
  38. package/dist/js/components/tooltip.min.js +1 -1
  39. package/dist/js/components/upload.js +1 -1
  40. package/dist/js/components/upload.min.js +1 -1
  41. package/dist/js/uikit-core.js +19 -18
  42. package/dist/js/uikit-core.min.js +1 -1
  43. package/dist/js/uikit-icons.js +1 -1
  44. package/dist/js/uikit-icons.min.js +1 -1
  45. package/dist/js/uikit.js +27 -25
  46. package/dist/js/uikit.min.js +1 -1
  47. package/package.json +1 -1
  48. package/src/js/api/component.js +3 -3
  49. package/src/js/api/state.js +3 -3
  50. package/src/js/components/tooltip.js +2 -1
  51. package/src/js/core/sticky.js +1 -1
  52. package/src/js/core/toggle.js +4 -3
  53. package/src/js/mixin/animate.js +4 -4
  54. package/src/js/mixin/internal/slideshow-animations.js +1 -1
  55. package/src/js/mixin/parallax.js +1 -1
  56. package/src/js/util/dom.js +3 -3
  57. package/src/js/util/viewport.js +3 -3
  58. package/src/less/components/cover.less +4 -2
  59. package/src/less/components/divider.less +1 -1
  60. package/src/less/components/utility.less +2 -1
  61. package/src/scss/components/cover.scss +4 -2
  62. package/src/scss/components/divider.scss +1 -1
  63. package/src/scss/components/utility.scss +2 -1
  64. package/tests/base.html +12 -12
  65. package/tests/button.html +1 -1
  66. package/tests/cover.html +5 -5
  67. package/tests/drop.html +2 -2
  68. package/tests/dropdown.html +1 -1
  69. package/tests/flex.html +1 -1
  70. package/tests/grid-masonry.html +1 -1
  71. package/tests/grid-parallax.html +1 -1
  72. package/tests/grid.html +1 -1
  73. package/tests/height.html +2 -2
  74. package/tests/margin.html +1 -1
  75. package/tests/modal.html +2 -2
  76. package/tests/navbar.html +2 -2
  77. package/tests/padding.html +1 -1
  78. package/tests/parallax.html +1 -1
  79. package/tests/slider.html +1 -1
  80. package/tests/slideshow.html +2 -2
  81. package/tests/sticky.html +2 -2
  82. package/tests/switcher.html +1 -1
  83. package/tests/tab.html +1 -1
  84. package/tests/utility.html +1 -1
  85. package/tests/video.html +3 -3
  86. package/tests/width.html +1 -1
package/CHANGELOG.md CHANGED
@@ -4,7 +4,11 @@
4
4
 
5
5
  ### Fixed
6
6
 
7
+ - Fix vertical divider width in Divider component
8
+ - Fix usage of `data-` prefix for Cover and Responsive component
9
+ - Fix pointer events for iframes in Cover component
7
10
  - Fix Slideshow component no longer throws if items list does not exist
11
+ - Fix space key no longer triggers Toggle on <input> elements
8
12
 
9
13
  ## 3.10.0 (January 12, 2022)
10
14
 
@@ -44,7 +48,7 @@
44
48
 
45
49
  ### Fixed
46
50
 
47
- - Fix build scripts for windows users
51
+ - Fix build scripts for Windows users
48
52
  - Fix css in Leader component
49
53
  - Fix division deprecation warnings in Sass source
50
54
 
@@ -69,7 +73,7 @@
69
73
  ### Changed
70
74
 
71
75
  - Make padding large a little bigger on small devices
72
- - Change logo color to emphasis
76
+ - Change logo color to 'emphasis'
73
77
 
74
78
  ### Fixed
75
79
 
@@ -444,7 +448,7 @@
444
448
 
445
449
  ### Changed
446
450
 
447
- - Sorting starts after traversing half the items height/width in Sortable component
451
+ - Sorting starts after traversing half the item's height/width in Sortable component
448
452
 
449
453
  ## 3.5.12 (December 7, 2020)
450
454
 
@@ -513,7 +517,7 @@
513
517
 
514
518
  ### Changed
515
519
 
516
- - Sticky component uses window.Date instead of window.performance
520
+ - Sticky component uses 'window.Date' instead of 'window.performance'
517
521
  - Sticky component with sticky-on-up no longer hides when Dropdown shows
518
522
 
519
523
  ### Fixed
@@ -800,7 +804,7 @@
800
804
 
801
805
  ### Added
802
806
 
803
- - Parallax, Scroll, Scrollspy Nav components work inside of scrollable container
807
+ - Parallax, Scroll, Scrollspy Nav components work inside scrollable container
804
808
  - Expose `scrollIntoView` utility function
805
809
 
806
810
  ### Fixed
@@ -1548,7 +1552,7 @@
1548
1552
 
1549
1553
  ### Added
1550
1554
 
1551
- - Add support to center elements outside of a container to Position component
1555
+ - Add support to center elements outside a container to Position component
1552
1556
 
1553
1557
  ### Changed
1554
1558
 
@@ -1955,7 +1959,7 @@
1955
1959
 
1956
1960
  ### Changed
1957
1961
 
1958
- - IMPORTANT: Offcanvas requires to wrap page in extra div
1962
+ - IMPORTANT: Offcanvas requires wrapping page in extra div
1959
1963
  - Refactored Offcanvas component
1960
1964
  - Update Instagram, Tumblr and Vimeo icons
1961
1965
  - Component Constructor initializes multiple components at once
package/CONTRIBUTING.md CHANGED
@@ -83,7 +83,7 @@ UIkit adapts the [Vue's commit convention](https://github.com/vuejs/vue/blob/dev
83
83
  - `fix:` A bug fix
84
84
  - `perf:` A code change that improves performance
85
85
  - `refactor:` A code change that neither fixes a bug nor adds a feature
86
- - `style:` Changes that do not affect the meaning of the code (white-space, formatting, etc)
86
+ - `style:` Changes that do not affect the meaning of the code (white-space, formatting, etc.)
87
87
  - `test:` Adding missing tests or correcting existing tests
88
88
 
89
89
  ## Versioning
package/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  # UIkit
4
4
 
5
5
  [![Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/NEt4Pv7)
6
+ [![Build](https://circleci.com/gh/uikit/uikit.svg?style=shield)](https://circleci.com/gh/uikit/uikit)
7
+ [![jsdelivr](https://data.jsdelivr.com/v1/package/npm/uikit/badge?style=rounded)](https://www.jsdelivr.com/package/npm/uikit)
6
8
 
7
9
  UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.
8
10
 
@@ -51,8 +53,8 @@ UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](ht
51
53
  ## Browser Support
52
54
 
53
55
  | ![Firefox](https://raw.github.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Chrome](https://raw.github.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/main/src/edge/edge_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/main/src/opera/opera_48x48.png) |
54
- | -------- | -------- | -------- | -------- | -------- |
55
- | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
56
+ |-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
57
+ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
56
58
 
57
59
  Tested With<br>[![BrowserStack](https://user-images.githubusercontent.com/355427/27389060-9f716c82-569d-11e7-923c-bd5fe7f1c55a.png)](https://www.browserstack.com)
58
60
 
@@ -11,5 +11,14 @@
11
11
  ],
12
12
  "parserOptions": {
13
13
  "ecmaVersion": 2022
14
- }
14
+ },
15
+ "overrides": [
16
+ {
17
+ "files": ["wrapper/*.js"],
18
+ "env": {
19
+ "browser": true,
20
+ "node": false
21
+ }
22
+ }
23
+ ]
15
24
  }
package/build/less.js CHANGED
@@ -69,8 +69,7 @@ async function compile(file, dist, develop, rtl) {
69
69
  action(prop, value, context) {
70
70
  return {prop, value: context.util.negate(value)};
71
71
  }
72
- },
73
-
72
+ }
74
73
  ]
75
74
  }
76
75
  ],
package/build/scss.js CHANGED
@@ -236,7 +236,7 @@ async function getVariablesFromFile(file, data) {
236
236
 
237
237
  while (match) {
238
238
 
239
- /* check if variable is an background icon, if so replace it directly by the SVG */
239
+ /* check if variable is a background icon, if so replace it directly by the SVG */
240
240
  if (match[0].indexOf('../../images/backgrounds') >= 0) {
241
241
 
242
242
  const iconregex = /(\$[\w-]+)\s*:\s*"\.\.\/\.\.\/images\/backgrounds\/([\w./-]+)" !default;/g;
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.10.1-dev.2a182d8f9 | https://www.getuikit.com | (c) 2014 - 2022 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
  ========================================================================== */
@@ -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-right: auto;
732
732
  margin-left: auto;
@@ -7142,7 +7142,8 @@ td.uk-text-break {
7142
7142
  * is absolute positioned or if the container has a height
7143
7143
  */
7144
7144
  /* 1 */
7145
- [uk-cover] {
7145
+ [uk-cover],
7146
+ [data-uk-cover] {
7146
7147
  /* 2 */
7147
7148
  max-width: none;
7148
7149
  /* 3 */
@@ -7153,7 +7154,8 @@ td.uk-text-break {
7153
7154
  --uk-position-translate-y: -50%;
7154
7155
  transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
7155
7156
  }
7156
- iframe.uk-cover {
7157
+ iframe[uk-cover],
7158
+ iframe[data-uk-cover] {
7157
7159
  pointer-events: none;
7158
7160
  }
7159
7161
  /* Container
@@ -7616,7 +7618,8 @@ iframe.uk-cover {
7616
7618
  /*
7617
7619
  * Fix initial iframe width. Without the viewport is expanded on iOS devices
7618
7620
  */
7619
- [uk-responsive] {
7621
+ [uk-responsive],
7622
+ [data-uk-responsive] {
7620
7623
  max-width: 100%;
7621
7624
  }
7622
7625
  /* Border