uikit 3.10.1 → 3.10.2-dev.3a696ee97

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 (46) hide show
  1. package/CHANGELOG.md +11 -4
  2. package/build/scss.js +4 -4
  3. package/dist/css/uikit-core-rtl.css +1 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +1 -1
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +1 -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 +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 +3 -3
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +3 -3
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +1 -1
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +3 -3
  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 +1 -1
  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 +11 -12
  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 +13 -14
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/js/api/hooks.js +6 -10
  45. package/src/js/mixin/parallax.js +2 -2
  46. package/src/js/util/lang.js +4 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## WIP
4
+
5
+ ### Fixed
6
+
7
+ - Fix interdependent computed properties being evaluated too often
8
+ - Fix `getIndex()` returns `-1` instead of `NaN` if called with empty elements parameter
9
+
3
10
  ## 3.10.1 (January 19, 2022)
4
11
 
5
12
  ### Fixed
@@ -62,7 +69,7 @@
62
69
 
63
70
  ### Changed
64
71
 
65
- - Upgrade LESS to version 4
72
+ - Upgrade Less to version 4
66
73
 
67
74
  ## 3.8.1 (November 5, 2021)
68
75
 
@@ -1873,7 +1880,7 @@
1873
1880
 
1874
1881
  ### Changed
1875
1882
 
1876
- - IMPORTANT: Move LESS/Sass imports into one file. Use `components/_import.less`
1883
+ - IMPORTANT: Move Less/Sass imports into one file. Use `components/_import.less`
1877
1884
  - IMPORTANT: Renamed `transition` option to `easing` in Scroll component
1878
1885
  - Improve flip behaviour in Drop component
1879
1886
  - Improve `class` handling
@@ -2047,7 +2054,7 @@
2047
2054
 
2048
2055
  ### Fixed
2049
2056
 
2050
- - Fix npm not watching LESS
2057
+ - Fix npm not watching Less files
2051
2058
  - Modal no longer closes immediately when toggled from custom `click` handler
2052
2059
  - Fix Accordion component
2053
2060
  - Fix container for Tooltip component
@@ -2144,7 +2151,7 @@
2144
2151
 
2145
2152
  ### Changed
2146
2153
 
2147
- - LESS no longer uses component attribute selectors
2154
+ - Less no longer uses component attribute selectors
2148
2155
  - Accordion close and open icons using variables
2149
2156
 
2150
2157
  ### Removed
package/build/scss.js CHANGED
@@ -77,7 +77,7 @@ for (const file of await glob('src/less/**/*.less')) {
77
77
 
78
78
  const data = await read(file);
79
79
 
80
- /* replace all LESS stuff with SCSS */
80
+ /* replace all Less stuff with SCSS */
81
81
  let scssData = data.replace(/\/less\//g, '/scss/') // change less/ dir to scss/ on imports
82
82
  .replace(/\.less/g, '.scss') // change .less extensions to .scss on imports
83
83
  .replace(/@/g, '$') // convert variables
@@ -90,9 +90,9 @@ for (const file of await glob('src/less/**/*.less')) {
90
90
  .replace(/@mixin ([\w-]*)\s*\((.*)\)\s*{\s*}/g, '// @mixin $1($2){}') // comment empty mixins
91
91
  .replace(/\.(hook[a-zA-Z\-\d]+)(\(\))?;/g, '@if(mixin-exists($1)) {@include $1();}') // hook calls surrounded by a mixin-exists
92
92
  .replace(/\$(import|supports|media|font-face|page|-ms-viewport|keyframes|-webkit-keyframes|-moz-document)/g, '@$1') // replace valid '@' statements
93
- .replace(/tint\((\$[\w-]+),\s([^)]*)\)/g, 'mix(white, $1, $2)') // replace LESS function tint with mix
94
- .replace(/fade\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `rgba(${p1}, ${p2 / 100})`;}) // replace LESS function fade with rgba
95
- .replace(/fadeout\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `fade-out(${p1}, ${p2 / 100})`;}) // replace LESS function fadeout with fade-out
93
+ .replace(/tint\((\$[\w-]+),\s([^)]*)\)/g, 'mix(white, $1, $2)') // replace Less function tint with mix
94
+ .replace(/fade\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `rgba(${p1}, ${p2 / 100})`;}) // replace Less function fade with rgba
95
+ .replace(/fadeout\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `fade-out(${p1}, ${p2 / 100})`;}) // replace Less function fadeout with fade-out
96
96
  .replace(/\.svg-fill/g, '@include svg-fill') // include svg-fill mixin
97
97
  .replace(/(.*):extend\((\.[\w-\\@]*) all\) when \((\$[\w-]*) = ([\w]+)\) {}/g, '@if ( $3 == $4 ) { $1 { @extend $2 !optional;} }') // update conditional extend and add !optional to ignore warnings
98
98
  .replace(/(\.[\w-\\@]+)\s*when\s*\((\$[\w-]*)\s*=\s*(\w+)\)\s*{\s*@if\(mixin-exists\(([\w-]*)\)\) {@include\s([\w-]*)\(\);\s*}\s*}/g, '@if ($2 == $3) { $1 { @if (mixin-exists($4)) {@include $4();}}}') // update conditional hook
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.10.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.10.2-dev.3a696ee97 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */