uikit 3.10.1-dev.6b26facf9 → 3.10.2-dev.c8aa7eda2
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.
- package/.eslintrc.json +0 -1
- package/CHANGELOG.md +12 -4
- package/build/scss.js +4 -4
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +3 -3
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +4 -10
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +4 -10
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +3 -3
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +16 -17
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +19 -26
- package/dist/js/uikit.min.js +1 -1
- package/package.json +4 -4
- package/src/js/api/hooks.js +6 -10
- package/src/js/components/slider-parallax.js +1 -7
- package/src/js/core/navbar.js +1 -1
- package/src/js/core/scrollspy.js +1 -1
- package/src/js/mixin/parallax.js +2 -2
- package/src/js/mixin/position.js +3 -3
- package/src/js/util/lang.js +5 -1
- package/tests/js/index.js +3 -8
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
### Fixed
|
|
6
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
|
+
- Fix Scrollspy component no longer sets class `false`
|
|
10
|
+
|
|
11
|
+
## 3.10.1 (January 19, 2022)
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
7
15
|
- Fix vertical divider width in Divider component
|
|
8
16
|
- Fix usage of `data-` prefix for Cover and Responsive component
|
|
9
17
|
- Fix pointer events for iframes in Cover component
|
|
@@ -62,7 +70,7 @@
|
|
|
62
70
|
|
|
63
71
|
### Changed
|
|
64
72
|
|
|
65
|
-
- Upgrade
|
|
73
|
+
- Upgrade Less to version 4
|
|
66
74
|
|
|
67
75
|
## 3.8.1 (November 5, 2021)
|
|
68
76
|
|
|
@@ -1873,7 +1881,7 @@
|
|
|
1873
1881
|
|
|
1874
1882
|
### Changed
|
|
1875
1883
|
|
|
1876
|
-
- IMPORTANT: Move
|
|
1884
|
+
- IMPORTANT: Move Less/Sass imports into one file. Use `components/_import.less`
|
|
1877
1885
|
- IMPORTANT: Renamed `transition` option to `easing` in Scroll component
|
|
1878
1886
|
- Improve flip behaviour in Drop component
|
|
1879
1887
|
- Improve `class` handling
|
|
@@ -2047,7 +2055,7 @@
|
|
|
2047
2055
|
|
|
2048
2056
|
### Fixed
|
|
2049
2057
|
|
|
2050
|
-
- Fix npm not watching
|
|
2058
|
+
- Fix npm not watching Less files
|
|
2051
2059
|
- Modal no longer closes immediately when toggled from custom `click` handler
|
|
2052
2060
|
- Fix Accordion component
|
|
2053
2061
|
- Fix container for Tooltip component
|
|
@@ -2144,7 +2152,7 @@
|
|
|
2144
2152
|
|
|
2145
2153
|
### Changed
|
|
2146
2154
|
|
|
2147
|
-
-
|
|
2155
|
+
- Less no longer uses component attribute selectors
|
|
2148
2156
|
- Accordion close and open icons using variables
|
|
2149
2157
|
|
|
2150
2158
|
### 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
|
|
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
|
|
94
|
-
.replace(/fade\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `rgba(${p1}, ${p2 / 100})`;}) // replace
|
|
95
|
-
.replace(/fadeout\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `fade-out(${p1}, ${p2 / 100})`;}) // replace
|
|
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
|
+
/*! UIkit 3.10.2-dev.c8aa7eda2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|