uikit 3.16.12-dev.eee62e629 → 3.16.13-dev.4d9a01881

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 (56) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/scss.js +7 -3
  3. package/dist/css/uikit-core-rtl.css +10 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +10 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +10 -1
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +10 -1
  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 +2 -2
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +3 -3
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +3 -3
  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 +3 -2
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +3 -2
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +2 -2
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +3 -2
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +2 -2
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +2 -2
  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 +8 -8
  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 +9 -9
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +7 -7
  44. package/src/js/core/margin.js +2 -2
  45. package/src/js/core/scrollspy-nav.js +2 -2
  46. package/src/js/core/switcher.js +2 -2
  47. package/src/js/mixin/slider-drag.js +2 -2
  48. package/src/js/mixin/togglable.js +2 -1
  49. package/src/js/util/dom.js +2 -2
  50. package/src/js/util/filter.js +2 -2
  51. package/src/less/components/dropbar.less +1 -1
  52. package/src/less/components/dropdown.less +1 -1
  53. package/src/less/components/navbar.less +1 -1
  54. package/src/scss/components/dropbar.scss +3 -1
  55. package/src/scss/components/dropdown.scss +3 -1
  56. package/src/scss/components/navbar.scss +3 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  ### Fixed
6
6
 
7
+ - Fix Sass sources
8
+ - Fix Scrollspy Nav component updates state once shown
9
+
10
+ ## 3.16.12 (March 27, 2023)
11
+
12
+ ### Fixed
13
+
7
14
  - Fix push history state in Scroll component if href differs from current url only
8
15
 
9
16
  ## 3.16.11 (March 24, 2023)
package/build/scss.js CHANGED
@@ -103,16 +103,20 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
103
103
  }) // replace Less function fadeout with fade-out
104
104
  .replace(/\.svg-fill/g, '@include svg-fill') // include svg-fill mixin
105
105
  .replace(
106
- /(.*):extend\((\.[\w-\\@]*) all\) when \((\$[\w-]*) = ([\w]+)\) {}/g,
106
+ /(.*):extend\((\.[\w\\@-]*) all\) when \((\$[\w-]*) = ([\w]+)\) {}/g,
107
107
  '@if ( $3 == $4 ) { $1 { @extend $2 !optional;} }'
108
108
  ) // update conditional extend and add !optional to ignore warnings
109
109
  .replace(
110
- /(\.[\w-\\@]+)\s*when\s*\((\$[\w-]*)\s*=\s*(\w+)\)\s*{\s*@if\(mixin-exists\(([\w-]*)\)\) {@include\s([\w-]*)\(\);\s*}\s*}/g,
110
+ /(\.[\w\\@-]+)\s*when\s*\((\$[\w-]*)\s*=\s*(\w+)\)\s*{\s*@if\(mixin-exists\(([\w-]*)\)\) {@include\s([\w-]*)\(\);\s*}\s*}/g,
111
111
  '@if ($2 == $3) { $1 { @if (mixin-exists($4)) {@include $4();}}}'
112
112
  ) // update conditional hook
113
113
  .replace(
114
- /(\.[\w-\\@]+)\s*when\s*\((\$[\w-]*)\s*=\s*(\w+)\)\s*({\s*.*?\s*})/gs,
114
+ /([.:][\w\\@-]+(?: ?[.:][\w\\@-]+)*)\s*when\s*\(([$@][\w-]*)\s*=\s*([$@]?[\w-]+)\)\s*({\s*.*?\s*})/gms,
115
115
  '@if ($2 == $3) {\n$1 $4\n}'
116
+ )
117
+ .replace(
118
+ /([.:][\w\\@-]+(?: ?[.:][\w\\@-]+)*)\s*when\s+not\s*\(([$@][\w-]*)\s*=\s*([$@]?[\w-]+)\)\s*({\s*.*?\s*})/gs,
119
+ '@if ($2 != $3) {\n$1 $4\n}'
116
120
  ) // replace conditionals
117
121
  .replace(/\${/g, '#{$') // string literals: from: /~"(.*)"/g, to: '#{"$1"}'
118
122
  .replace(/[^(](-\$[\w-]*)/g, ' ($1)') // surround negative variables with brackets
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.12-dev.eee62e629 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.13-dev.4d9a01881 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3299,6 +3299,9 @@ select.uk-form-width-xsmall {
3299
3299
  padding-left: 40px;
3300
3300
  }
3301
3301
  }
3302
+ .uk-dropbar :focus-visible {
3303
+ outline-color: #333 !important;
3304
+ }
3302
3305
  /* Size modifier
3303
3306
  ========================================================================== */
3304
3307
  .uk-dropbar-large {
@@ -5088,6 +5091,9 @@ ul.uk-nav-sub {
5088
5091
  .uk-navbar-dropdown > :last-child {
5089
5092
  margin-bottom: 0;
5090
5093
  }
5094
+ .uk-navbar-dropdown :focus-visible {
5095
+ outline-color: #333 !important;
5096
+ }
5091
5097
  /*
5092
5098
  * Grid
5093
5099
  * Adopts `uk-grid`
@@ -5797,6 +5803,9 @@ ul.uk-nav-sub {
5797
5803
  .uk-dropdown > :last-child {
5798
5804
  margin-bottom: 0;
5799
5805
  }
5806
+ .uk-dropdown :focus-visible {
5807
+ outline-color: #333 !important;
5808
+ }
5800
5809
  /* Size modifier
5801
5810
  ========================================================================== */
5802
5811
  .uk-dropdown-large {