uikit 3.11.2-dev.9433cd5fd → 3.11.2-dev.ae39176f2
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/CHANGELOG.md +3 -11
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +42 -17
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +42 -17
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +42 -17
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +42 -17
- 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 +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- 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 +1 -1
- 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 +5 -4
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- 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 +147 -124
- 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 +151 -127
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +1 -1
- package/src/js/api/state.js +16 -20
- package/src/js/components/sortable.js +4 -3
- package/src/js/core/img.js +99 -96
- package/src/js/core/sticky.js +6 -4
- package/src/js/util/options.js +4 -4
- package/src/less/components/flex.less +0 -9
- package/src/less/components/navbar.less +0 -7
- package/src/less/components/utility.less +22 -0
- package/src/scss/components/flex.scss +0 -9
- package/src/scss/components/form.scss +3 -3
- package/src/scss/components/icon.scss +2 -2
- package/src/scss/components/navbar.scss +0 -7
- package/src/scss/components/search.scss +1 -1
- package/src/scss/components/utility.scss +22 -0
- package/src/scss/variables-theme.scss +6 -6
- package/src/scss/variables.scss +6 -6
- package/tests/image.html +38 -22
- package/tests/images/test.avif +0 -0
- package/tests/images/test.webp +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## WIP Picture element
|
|
4
|
-
|
|
5
|
-
### Added
|
|
6
|
-
|
|
7
|
-
- Add support for <picture> element in Img component
|
|
8
|
-
- Add `sources` option to Img component
|
|
9
|
-
|
|
10
|
-
### Changed
|
|
11
|
-
|
|
12
|
-
- Img component no longer sets a placeholder (use height/width instead)
|
|
13
|
-
|
|
14
3
|
## WIP
|
|
15
4
|
|
|
16
5
|
### Added
|
|
17
6
|
|
|
18
7
|
- Add `position` option with `top`, `bottom` and `auto` values to Sticky component
|
|
19
8
|
- Add support for basic math operands in `offset` option of Sticky component
|
|
9
|
+
- Add object fit and position classes to Utility component
|
|
20
10
|
|
|
21
11
|
### Changed
|
|
22
12
|
|
|
23
13
|
- Improve sticky behavior if sticky content is larger than the viewport
|
|
14
|
+
- Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
|
|
24
15
|
|
|
25
16
|
### Fixed
|
|
26
17
|
|
|
@@ -28,6 +19,7 @@
|
|
|
28
19
|
- Fix Sticky component setting wrong margin for placeholder
|
|
29
20
|
- Fix dropdowns not closing in Navbar component when hovering dropbar and navigation with keyboard
|
|
30
21
|
- Fix dropdown no longer closes if pointer is still moving towards it
|
|
22
|
+
- Fix `fadein` not transformed correctly to `fade-in` in scss build
|
|
31
23
|
|
|
32
24
|
## 3.11.1 (February 7, 2022)
|
|
33
25
|
|
package/build/scss.js
CHANGED
|
@@ -92,7 +92,7 @@ for (const file of await glob('src/less/**/*.less')) {
|
|
|
92
92
|
.replace(/\$(import|supports|media|font-face|page|-ms-viewport|keyframes|-webkit-keyframes|-moz-document)/g, '@$1') // replace valid '@' statements
|
|
93
93
|
.replace(/tint\((\$[\w-]+),\s([^)]*)\)/g, 'mix(white, $1, $2)') // replace Less function tint with mix
|
|
94
94
|
.replace(/fade\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2) => { return `rgba(${p1}, ${p2 / 100})`;}) // replace Less function fade with rgba
|
|
95
|
-
.replace(/
|
|
95
|
+
.replace(/fade(in|out)\((\$[\w-]*), ([0-9]+)%\)/g, (match, p1, p2, p3) => { return `fade-${p1}(${p2}, ${p3 / 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.11.2-dev.
|
|
1
|
+
/*! UIkit 3.11.2-dev.ae39176f2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -4899,13 +4899,6 @@ ul.uk-nav-sub {
|
|
|
4899
4899
|
.uk-navbar-container:not(.uk-navbar-transparent) {
|
|
4900
4900
|
background: #f8f8f8;
|
|
4901
4901
|
}
|
|
4902
|
-
/*
|
|
4903
|
-
* Remove pseudo elements created by micro clearfix as precaution (if Container component is used)
|
|
4904
|
-
*/
|
|
4905
|
-
.uk-navbar-container > ::before,
|
|
4906
|
-
.uk-navbar-container > ::after {
|
|
4907
|
-
display: none !important;
|
|
4908
|
-
}
|
|
4909
4902
|
/* Groups
|
|
4910
4903
|
========================================================================== */
|
|
4911
4904
|
/*
|
|
@@ -7628,6 +7621,47 @@ iframe[data-uk-cover] {
|
|
|
7628
7621
|
[data-uk-responsive] {
|
|
7629
7622
|
max-width: 100%;
|
|
7630
7623
|
}
|
|
7624
|
+
/* Object
|
|
7625
|
+
========================================================================== */
|
|
7626
|
+
.uk-object-fit-none {
|
|
7627
|
+
object-fit: none;
|
|
7628
|
+
}
|
|
7629
|
+
.uk-object-fit-cover {
|
|
7630
|
+
object-fit: cover;
|
|
7631
|
+
}
|
|
7632
|
+
.uk-object-fit-contain {
|
|
7633
|
+
object-fit: contain;
|
|
7634
|
+
}
|
|
7635
|
+
/*
|
|
7636
|
+
* Position
|
|
7637
|
+
*/
|
|
7638
|
+
.uk-object-top-right {
|
|
7639
|
+
object-position: 100% 0;
|
|
7640
|
+
}
|
|
7641
|
+
.uk-object-top-center {
|
|
7642
|
+
object-position: 50% 0;
|
|
7643
|
+
}
|
|
7644
|
+
.uk-object-top-left {
|
|
7645
|
+
object-position: 0% 0;
|
|
7646
|
+
}
|
|
7647
|
+
.uk-object-center-right {
|
|
7648
|
+
object-position: 100% 50%;
|
|
7649
|
+
}
|
|
7650
|
+
.uk-object-center-center {
|
|
7651
|
+
object-position: 50% 50%;
|
|
7652
|
+
}
|
|
7653
|
+
.uk-object-center-left {
|
|
7654
|
+
object-position: 0% 50%;
|
|
7655
|
+
}
|
|
7656
|
+
.uk-object-bottom-right {
|
|
7657
|
+
object-position: 100% 100%;
|
|
7658
|
+
}
|
|
7659
|
+
.uk-object-bottom-center {
|
|
7660
|
+
object-position: 50% 100%;
|
|
7661
|
+
}
|
|
7662
|
+
.uk-object-bottom-left {
|
|
7663
|
+
object-position: 0% 100%;
|
|
7664
|
+
}
|
|
7631
7665
|
/* Border
|
|
7632
7666
|
========================================================================== */
|
|
7633
7667
|
.uk-border-circle {
|
|
@@ -7878,15 +7912,6 @@ iframe[data-uk-cover] {
|
|
|
7878
7912
|
.uk-flex-inline {
|
|
7879
7913
|
display: inline-flex;
|
|
7880
7914
|
}
|
|
7881
|
-
/*
|
|
7882
|
-
* Remove pseudo elements created by micro clearfix as precaution
|
|
7883
|
-
*/
|
|
7884
|
-
.uk-flex::before,
|
|
7885
|
-
.uk-flex::after,
|
|
7886
|
-
.uk-flex-inline::before,
|
|
7887
|
-
.uk-flex-inline::after {
|
|
7888
|
-
display: none;
|
|
7889
|
-
}
|
|
7890
7915
|
/* Alignment
|
|
7891
7916
|
========================================================================== */
|
|
7892
7917
|
/*
|