uikit 3.10.2-dev.c8aa7eda2 → 3.11.0
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 +28 -14
- package/build/icons.js +4 -4
- package/dist/css/uikit-core-rtl.css +10 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +10 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +10 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +10 -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 +257 -264
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +215 -257
- 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 +215 -257
- 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 +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 +28 -26
- 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 +284 -289
- package/dist/js/uikit.min.js +1 -1
- package/package.json +5 -5
- package/src/js/components/parallax.js +38 -8
- package/src/js/core/grid.js +2 -2
- package/src/js/core/svg.js +9 -7
- package/src/js/mixin/parallax.js +209 -242
- package/src/js/util/dimensions.js +4 -2
- package/src/js/util/viewport.js +9 -13
- package/src/less/components/position.less +2 -0
- package/src/less/components/sticky.less +6 -0
- package/src/scss/components/position.scss +2 -0
- package/src/scss/components/sticky.scss +6 -0
- package/tests/index.html +1 -1
- package/tests/js/index.js +1 -1
- package/tests/notification.html +5 -5
- package/tests/parallax.html +66 -50
- package/tests/sticky-parallax.html +274 -0
- package/tests/sticky.html +2 -2
- package/tests/tab.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 3.11.0 (February 7, 2022)
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add `start` and `end` options to Parallax component
|
|
8
|
+
- Add negative z-index utility class to Position component
|
|
9
|
+
- Add Sticky Parallax test
|
|
10
|
+
|
|
11
|
+
### Deprecated
|
|
12
|
+
|
|
13
|
+
- Deprecate `viewport` option in Parallax component: Use `end` option instead
|
|
4
14
|
|
|
5
15
|
### Fixed
|
|
6
16
|
|
|
17
|
+
- Use same position context when uk-sticky sticks or not
|
|
7
18
|
- Fix interdependent computed properties being evaluated too often
|
|
8
19
|
- Fix `getIndex()` returns `-1` instead of `NaN` if called with empty elements parameter
|
|
9
20
|
- Fix Scrollspy component no longer sets class `false`
|
|
21
|
+
- Fix Parallax component no longer rounds values to two digits after comma
|
|
22
|
+
- Fix Parallax component running backwards with 'viewport' option set to a value < 1
|
|
23
|
+
- Fix Parallax component easing option for values < -1 || > 1
|
|
10
24
|
|
|
11
25
|
## 3.10.1 (January 19, 2022)
|
|
12
26
|
|
|
@@ -16,7 +30,7 @@
|
|
|
16
30
|
- Fix usage of `data-` prefix for Cover and Responsive component
|
|
17
31
|
- Fix pointer events for iframes in Cover component
|
|
18
32
|
- Fix Slideshow component no longer throws if items list does not exist
|
|
19
|
-
- Fix space key no longer triggers Toggle on
|
|
33
|
+
- Fix space key no longer triggers Toggle on `input` elements
|
|
20
34
|
|
|
21
35
|
## 3.10.0 (January 12, 2022)
|
|
22
36
|
|
|
@@ -160,7 +174,7 @@
|
|
|
160
174
|
### Fixed
|
|
161
175
|
|
|
162
176
|
- Fix animation classes only partially being removed in Scrollspy component
|
|
163
|
-
- Fix scrollIntoView did not return Promise if element is hidden
|
|
177
|
+
- Fix scrollIntoView did not return Promise if element is hidden
|
|
164
178
|
|
|
165
179
|
## 3.7.0 (June 29, 2021)
|
|
166
180
|
|
|
@@ -260,7 +274,7 @@
|
|
|
260
274
|
|
|
261
275
|
### Added
|
|
262
276
|
|
|
263
|
-
- Add background-size modifier for width and height to Background component
|
|
277
|
+
- Add background-size modifier for width and height to Background component
|
|
264
278
|
|
|
265
279
|
### Fixed
|
|
266
280
|
|
|
@@ -307,7 +321,7 @@
|
|
|
307
321
|
|
|
308
322
|
- Fix IE11 compatibility
|
|
309
323
|
- Fix changing ratio does not correctly apply width and height in SVG component
|
|
310
|
-
- Fix issues from hiding an already hidden Modal
|
|
324
|
+
- Fix issues from hiding an already hidden Modal
|
|
311
325
|
|
|
312
326
|
## 3.6.11 (January 14, 2021)
|
|
313
327
|
|
|
@@ -541,7 +555,7 @@
|
|
|
541
555
|
### Added
|
|
542
556
|
|
|
543
557
|
- Add list marker utility support for WebKit
|
|
544
|
-
- Add `uk-text-default` to Text component
|
|
558
|
+
- Add `uk-text-default` to Text component
|
|
545
559
|
- Add multiple targets to Filter component
|
|
546
560
|
|
|
547
561
|
### Fixed
|
|
@@ -550,7 +564,7 @@
|
|
|
550
564
|
- Fix empty slider throws exception
|
|
551
565
|
- Fix pointer events ignored on SVGs in Sortable component
|
|
552
566
|
- Fix Grid component divider rendering
|
|
553
|
-
- Fix `<select>` closes Drop component in hover mode in Firefox
|
|
567
|
+
- Fix `<select>` closes Drop component in hover mode in Firefox
|
|
554
568
|
|
|
555
569
|
## 3.5.4 (June 12, 2020)
|
|
556
570
|
|
|
@@ -561,7 +575,7 @@
|
|
|
561
575
|
### Fixed
|
|
562
576
|
|
|
563
577
|
- Fix prop observer for dataSrc option in Image component
|
|
564
|
-
- Fix ajax function supports responseType 'json' in IE 11
|
|
578
|
+
- Fix ajax function supports responseType 'json' in IE 11
|
|
565
579
|
- Fix Accordion component with `multiple: true` and `collapsible: false`
|
|
566
580
|
|
|
567
581
|
## 3.5.3 (May 29, 2020)
|
|
@@ -614,7 +628,7 @@
|
|
|
614
628
|
|
|
615
629
|
### Added
|
|
616
630
|
|
|
617
|
-
- Add inBrowser check to enable server-side rendering
|
|
631
|
+
- Add inBrowser check to enable server-side rendering
|
|
618
632
|
|
|
619
633
|
### Fixed
|
|
620
634
|
|
|
@@ -674,7 +688,7 @@
|
|
|
674
688
|
|
|
675
689
|
### Changed
|
|
676
690
|
|
|
677
|
-
- Change default dimensions to 1920x1080 for YouTube in Lightbox component
|
|
691
|
+
- Change default dimensions to 1920x1080 for YouTube in Lightbox component
|
|
678
692
|
|
|
679
693
|
### Fixed
|
|
680
694
|
|
|
@@ -692,7 +706,7 @@
|
|
|
692
706
|
|
|
693
707
|
- Fix Height Match component not matching empty elements
|
|
694
708
|
- Fix Scrollspy Nav component activating wrong elements
|
|
695
|
-
- Fix Modal/Drop close on bgClick behaviour
|
|
709
|
+
- Fix Modal/Drop close on bgClick behaviour
|
|
696
710
|
- Fix `z-index` on Modal stacked dialogs
|
|
697
711
|
|
|
698
712
|
## 3.3.6 (March 12, 2020)
|
|
@@ -818,7 +832,7 @@
|
|
|
818
832
|
### Fixed
|
|
819
833
|
|
|
820
834
|
- Fix scrolling containers while dragging in Sortable component
|
|
821
|
-
- Fix show/hide behaviour in Drop component
|
|
835
|
+
- Fix show/hide behaviour in Drop component
|
|
822
836
|
- Fix Accordion component will scroll title into view if needed
|
|
823
837
|
- Fix component initialization without element
|
|
824
838
|
|
|
@@ -918,7 +932,7 @@
|
|
|
918
932
|
- Fix swipe gestures in Switcher component (Android)
|
|
919
933
|
- Ensure at most one Height Viewport component set to `expand` is active
|
|
920
934
|
- Height Viewport component no longer calculates its height if invisible
|
|
921
|
-
- Fix using Sortable in scrolling container
|
|
935
|
+
- Fix using Sortable in scrolling container
|
|
922
936
|
- Fix lazy loading images if parent element is fully clipped
|
|
923
937
|
- Fix clicking Slideshow with `draggable: false` no longer pauses autoplay
|
|
924
938
|
- Fix toggling modal while transition is in progress
|
|
@@ -962,7 +976,7 @@
|
|
|
962
976
|
- Fix selector engine
|
|
963
977
|
- Fix CSS selector in Lightbox component
|
|
964
978
|
- Fix Drop not closing when Toggle component is clicked
|
|
965
|
-
|
|
979
|
+
|
|
966
980
|
## 3.1.3 (April 23, 2019)
|
|
967
981
|
|
|
968
982
|
### Fixed
|
package/build/icons.js
CHANGED
|
@@ -2,16 +2,16 @@ import {args, compile, glob, icons} from './util.js';
|
|
|
2
2
|
|
|
3
3
|
if (args.h || args.help) {
|
|
4
4
|
console.log(`
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
Builds additional custom uikit icons found in './custom/*/icons'
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
usage:
|
|
9
9
|
|
|
10
10
|
icons.js [custom|name]
|
|
11
11
|
|
|
12
|
-
-c|--custom
|
|
12
|
+
-c|--custom
|
|
13
13
|
Specify custom folder to look for icons (default: './custom/*/icons')
|
|
14
|
-
-n|--name
|
|
14
|
+
-n|--name
|
|
15
15
|
Specify name regex to match against folder (default: '([a-z]+)/icons$')
|
|
16
16
|
|
|
17
17
|
`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.
|
|
1
|
+
/*! UIkit 3.11.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3777,6 +3777,12 @@ select.uk-form-width-xsmall {
|
|
|
3777
3777
|
/* ========================================================================
|
|
3778
3778
|
Component: Sticky
|
|
3779
3779
|
========================================================================== */
|
|
3780
|
+
/*
|
|
3781
|
+
* Create position context so it's t the same like when fixed.
|
|
3782
|
+
*/
|
|
3783
|
+
.uk-sticky {
|
|
3784
|
+
position: relative;
|
|
3785
|
+
}
|
|
3780
3786
|
/*
|
|
3781
3787
|
* 1. Force new layer to resolve frame rate issues on devices with lower frame rates
|
|
3782
3788
|
*/
|
|
@@ -8612,6 +8618,9 @@ iframe[data-uk-cover] {
|
|
|
8612
8618
|
.uk-position-z-index {
|
|
8613
8619
|
z-index: 1;
|
|
8614
8620
|
}
|
|
8621
|
+
.uk-position-z-index-negative {
|
|
8622
|
+
z-index: -1;
|
|
8623
|
+
}
|
|
8615
8624
|
/* ========================================================================
|
|
8616
8625
|
Component: Transition
|
|
8617
8626
|
========================================================================== */
|