uikit 3.13.8-dev.fd15ccb29 → 3.13.10-dev.4de12886e
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 +33 -3
- package/build/build.js +4 -1
- package/dist/css/uikit-core-rtl.css +11 -2
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +11 -2
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +11 -2
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +11 -2
- 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 +7 -3
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +7 -3
- 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 +6 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +6 -2
- 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 +6 -2
- 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 +2 -2
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +4 -2
- 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 +203 -134
- 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 +209 -136
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/sortable.js +2 -3
- package/src/js/core/drop.js +19 -12
- package/src/js/core/height-match.js +1 -2
- package/src/js/core/margin.js +1 -1
- package/src/js/core/navbar.js +17 -7
- package/src/js/core/scrollspy-nav.js +4 -9
- package/src/js/core/sticky.js +26 -13
- package/src/js/core/toggle.js +8 -8
- package/src/js/mixin/modal.js +6 -2
- package/src/js/mixin/parallax.js +5 -1
- package/src/js/mixin/position.js +2 -0
- package/src/js/uikit-core.js +0 -4
- package/src/js/util/lang.js +0 -4
- package/src/js/util/position.js +80 -24
- package/src/js/util/viewport.js +42 -22
- package/src/less/components/drop.less +0 -1
- package/src/less/components/navbar.less +11 -0
- package/src/less/components/search.less +2 -0
- package/src/less/theme/search.less +6 -0
- package/src/scss/components/drop.scss +0 -1
- package/src/scss/components/navbar.scss +11 -0
- package/src/scss/components/search.scss +2 -0
- package/src/scss/mixins-theme.scss +1 -0
- package/src/scss/mixins.scss +1 -0
- package/src/scss/theme/search.scss +6 -0
- package/tests/animation.html +216 -214
- package/tests/navbar.html +37 -0
- package/tests/sticky-parallax.html +16 -0
- package/tests/sticky.html +212 -36
- package/src/js/core/core.js +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -4,22 +4,52 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
-
- Add
|
|
8
|
-
-
|
|
7
|
+
- Add position shifting to Drop and Dropdown components
|
|
8
|
+
- Add axis flipping if overflowing on both sides to Drop and Dropdown components
|
|
9
|
+
- Add `max-width` to prevent overflowing the viewport to Drop and Dropdown components
|
|
10
|
+
- Add support for negative `start` value in Sticky component
|
|
11
|
+
- Add navbar justify to Navbar component
|
|
12
|
+
- Add subtitle classes to Nav, Dropdown and Navbar components
|
|
13
|
+
- Add support for `vw`,`vh`,`%` and `px` units to scale property in Parallax component
|
|
9
14
|
|
|
10
15
|
### Changed
|
|
11
16
|
|
|
17
|
+
- Rename `top` and `bottom` options to `start` and `end` in Sticky component
|
|
12
18
|
- Allow text to wrap into the next line for navs in Dropdown component
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
|
|
22
|
+
- Remove `overflow-x: hidden` on html element, while horizontal animation is active
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Fix dropbar dropdown alignment if boundary-align is true
|
|
27
|
+
- Fix viewport helper functions take border into account
|
|
28
|
+
- Revert: Fix reposition Drop on scroll
|
|
29
|
+
- Fix Toggle component does not `defaultPrevent()` click on anchor with touch gesture
|
|
30
|
+
- Fix Sticky component uses wrong offsetParent while it's positioned fixed
|
|
31
|
+
|
|
32
|
+
## 3.13.9 (April 20, 2022)
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- Fix release
|
|
37
|
+
|
|
38
|
+
## 3.13.8 (April 20, 2022)
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
13
42
|
- Scrollspy component uses IntersectionObserver instead of scroll/resize events
|
|
14
43
|
|
|
15
44
|
### Fixed
|
|
16
45
|
|
|
17
46
|
- Fix Drop/Dropdowns component does not close on clicked `.uk-(drop|dropdown)-close` selector
|
|
18
|
-
- Fix dropbar dropdown alignment if boundary-align is true
|
|
19
47
|
- Fix Accordion initially not closed
|
|
20
48
|
- Fix Height Match component not matching correctly
|
|
49
|
+
- Fix Margin component does not correctly listen for resize
|
|
21
50
|
- Fix regression in Sticky component affecting height of placeholder
|
|
22
51
|
- Fix Toggle not toggling after re-entering button with mouse before drop has closed itself
|
|
52
|
+
- Fix reposition Drop on scroll
|
|
23
53
|
|
|
24
54
|
## 3.13.7 (April 1, 2022)
|
|
25
55
|
|
package/build/build.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import camelize from 'camelcase';
|
|
2
2
|
import { basename, resolve } from 'path';
|
|
3
3
|
import { args, compile, glob, icons } from './util.js';
|
|
4
|
+
import pLimit from 'p-limit';
|
|
5
|
+
|
|
6
|
+
const limit = pLimit(Number(process.env.cpus || 2));
|
|
4
7
|
|
|
5
8
|
const bundles = getBundleTasks();
|
|
6
9
|
const components = await getComponentTasks();
|
|
@@ -42,7 +45,7 @@ if (buildAll) {
|
|
|
42
45
|
.filter((t) => t);
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
await Promise.all(Object.values(tasks).map((task) => task
|
|
48
|
+
await Promise.all(Object.values(tasks).map((task) => limit(task)));
|
|
46
49
|
|
|
47
50
|
function getBundleTasks() {
|
|
48
51
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.13.
|
|
1
|
+
/*! UIkit 3.13.10-dev.4de12886e | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3234,7 +3234,6 @@ select.uk-form-width-xsmall {
|
|
|
3234
3234
|
/* 3 */
|
|
3235
3235
|
box-sizing: border-box;
|
|
3236
3236
|
width: 300px;
|
|
3237
|
-
max-width: 100vw;
|
|
3238
3237
|
}
|
|
3239
3238
|
/* Show */
|
|
3240
3239
|
.uk-drop.uk-open {
|
|
@@ -4935,6 +4934,16 @@ ul.uk-nav-sub {
|
|
|
4935
4934
|
.uk-navbar-subtitle {
|
|
4936
4935
|
font-size: 0.875rem;
|
|
4937
4936
|
}
|
|
4937
|
+
/* Justify modifier
|
|
4938
|
+
========================================================================== */
|
|
4939
|
+
.uk-navbar-justify .uk-navbar-right,
|
|
4940
|
+
.uk-navbar-justify .uk-navbar-left,
|
|
4941
|
+
.uk-navbar-justify .uk-navbar-nav,
|
|
4942
|
+
.uk-navbar-justify .uk-navbar-nav > li,
|
|
4943
|
+
.uk-navbar-justify .uk-navbar-item,
|
|
4944
|
+
.uk-navbar-justify .uk-navbar-toggle {
|
|
4945
|
+
flex-grow: 1;
|
|
4946
|
+
}
|
|
4938
4947
|
/* Style modifiers
|
|
4939
4948
|
========================================================================== */
|
|
4940
4949
|
/* Dropdown
|