uikit 3.25.17-dev.6dd3b35 → 3.25.17-dev.8c70e44
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 +34 -1
- package/build/prefix.js +1 -1
- package/build/publishDev.js +1 -1
- package/build/release.js +2 -2
- package/build/scope.js +1 -1
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +892 -802
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +892 -802
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +893 -803
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +893 -803
- 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 +133 -132
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +134 -133
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/marquee.js +179 -0
- package/dist/js/components/marquee.min.js +1 -0
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +8 -12
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +8 -12
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +41 -25
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +8 -12
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +71 -102
- 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 +19 -19
- 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 +754 -262
- 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 +629 -374
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/api/component.js +2 -3
- package/src/js/api/observables.js +2 -4
- package/src/js/api/options.js +6 -3
- package/src/js/api/props.js +1 -4
- package/src/js/api/state.js +7 -8
- package/src/js/components/index.js +1 -0
- package/src/js/components/internal/lightbox-animations.js +7 -26
- package/src/js/components/internal/slideshow-animations.js +15 -62
- package/src/js/components/lightbox-panel.js +121 -96
- package/src/js/components/lightbox.js +5 -8
- package/src/js/components/marquee.js +123 -0
- package/src/js/components/tooltip.js +4 -2
- package/src/js/core/accordion.js +78 -29
- package/src/js/core/drop.js +5 -4
- package/src/js/core/dropnav.js +3 -3
- package/src/js/core/grid.js +5 -19
- package/src/js/core/height-match.js +1 -2
- package/src/js/core/margin.js +3 -0
- package/src/js/core/overflow-fade.js +5 -5
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/switcher.js +24 -44
- package/src/js/core/video.js +172 -15
- package/src/js/mixin/connect.js +57 -0
- package/src/js/mixin/internal/slideshow-animations.js +5 -13
- package/src/js/mixin/internal/slideshow-transitioner.js +2 -2
- package/src/js/mixin/modal.js +4 -3
- package/src/js/mixin/parallax.js +1 -4
- package/src/js/mixin/position.js +1 -1
- package/src/js/mixin/scroll-driven.js +57 -0
- package/src/js/mixin/slider-nav.js +1 -1
- package/src/js/mixin/slider-parallax.js +9 -38
- package/src/js/mixin/togglable.js +13 -14
- package/src/js/util/attr.js +7 -7
- package/src/js/util/class.js +1 -1
- package/src/js/util/dom.js +3 -4
- package/src/js/util/lang.js +1 -1
- package/src/js/util/player.js +4 -4
- package/src/js/util/style.js +10 -15
- package/src/js/util/viewport.js +22 -25
- package/src/less/components/_import.less +6 -1
- package/src/less/components/base.less +1 -1
- package/src/less/components/button.less +1 -1
- package/src/less/components/dropcap.less +71 -0
- package/src/less/components/floating-shadow.less +65 -0
- package/src/less/components/form.less +5 -5
- package/src/less/components/grid.less +57 -64
- package/src/less/components/logo.less +94 -0
- package/src/less/components/margin.less +81 -81
- package/src/less/components/marquee.less +133 -0
- package/src/less/components/nav.less +1 -1
- package/src/less/components/padding.less +9 -9
- package/src/less/components/utility.less +0 -157
- package/src/less/theme/_import.less +5 -1
- package/src/less/theme/dropcap.less +29 -0
- package/src/less/theme/floating-shadow.less +20 -0
- package/src/less/theme/logo.less +29 -0
- package/src/less/theme/marquee.less +14 -0
- package/src/less/theme/utility.less +0 -32
- package/src/scss/components/_import.scss +6 -1
- package/src/scss/components/base.scss +1 -1
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/dropcap.scss +63 -0
- package/src/scss/components/floating-shadow.scss +62 -0
- package/src/scss/components/form.scss +5 -5
- package/src/scss/components/grid.scss +57 -64
- package/src/scss/components/logo.scss +75 -0
- package/src/scss/components/margin.scss +81 -81
- package/src/scss/components/marquee.scss +136 -0
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/padding.scss +9 -9
- package/src/scss/components/utility.scss +0 -128
- package/src/scss/mixins-theme.scss +41 -32
- package/src/scss/mixins.scss +38 -29
- package/src/scss/variables-theme.scss +14 -9
- package/src/scss/variables.scss +14 -9
- package/tests/accordion.html +77 -10
- package/tests/alert.html +1 -1
- package/tests/align.html +5 -5
- package/tests/animation.html +4 -4
- package/tests/article.html +7 -7
- package/tests/background.html +2 -2
- package/tests/badge.html +1 -1
- package/tests/base.html +2 -2
- package/tests/button.html +1 -1
- package/tests/card.html +15 -15
- package/tests/close.html +2 -2
- package/tests/comment.html +9 -9
- package/tests/container.html +2 -2
- package/tests/countdown.html +21 -21
- package/tests/cover.html +3 -3
- package/tests/description-list.html +1 -1
- package/tests/divider.html +3 -3
- package/tests/dotnav.html +1 -1
- package/tests/drop.html +7 -7
- package/tests/dropbar.html +5 -5
- package/tests/dropcap.html +26 -0
- package/tests/dropdown.html +1 -1
- package/tests/dropnav.html +18 -18
- package/tests/filter.html +3 -3
- package/tests/floating-shadow.html +44 -0
- package/tests/form.html +14 -14
- package/tests/grid.html +41 -47
- package/tests/heading.html +2 -2
- package/tests/height-viewport.html +4 -4
- package/tests/height.html +5 -5
- package/tests/icon.html +8 -8
- package/tests/image.html +6 -6
- package/tests/index.html +13 -13
- package/tests/js/index.js +1 -1
- package/tests/leader.html +5 -5
- package/tests/lightbox.html +6 -6
- package/tests/link.html +1 -1
- package/tests/list.html +4 -4
- package/tests/logo.html +84 -0
- package/tests/margin.html +7 -7
- package/tests/marker.html +3 -3
- package/tests/marquee.html +617 -0
- package/tests/modal.html +3 -3
- package/tests/nav.html +5 -5
- package/tests/navbar.html +27 -27
- package/tests/notification.html +2 -2
- package/tests/offcanvas.html +12 -12
- package/tests/overlay.html +3 -3
- package/tests/padding.html +1 -1
- package/tests/pagination.html +3 -3
- package/tests/parallax.html +1 -1
- package/tests/position.html +6 -6
- package/tests/scrollspy.html +12 -12
- package/tests/search.html +5 -5
- package/tests/section.html +17 -17
- package/tests/slidenav.html +3 -3
- package/tests/slider.html +5 -5
- package/tests/slideshow.html +3 -3
- package/tests/sortable.html +15 -15
- package/tests/sticky-navbar.html +4 -4
- package/tests/sticky-parallax.html +3 -3
- package/tests/sticky.html +3 -3
- package/tests/svg.html +3 -2
- package/tests/switcher.html +6 -6
- package/tests/tab.html +4 -4
- package/tests/text.html +3 -3
- package/tests/tile.html +4 -4
- package/tests/toggle.html +1 -1
- package/tests/tooltip.html +3 -3
- package/tests/totop.html +2 -2
- package/tests/transition.html +1 -1
- package/tests/upload.html +5 -5
- package/tests/utility.html +16 -116
- package/tests/video.html +224 -24
- package/tests/visibility.html +4 -4
- package/tests/width.html +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.26.0 WIP
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add Marquee component
|
|
8
|
+
- Add options to control an additional switcher container to Accordion component
|
|
9
|
+
- Add parallax options to Video component
|
|
10
|
+
- Add `inview-margin` option to change the autoplay inview area in Video component
|
|
11
|
+
- Add `inview-queued` option to limit the number of simultaneously playing videos in Video component
|
|
12
|
+
- Add `hover-rewind` option to fast rewind videos after hovering in Video component
|
|
13
|
+
- Add `reduced-motion-time` option to control which frame is shown when autoplay is prevented due to `prefers-reduced-motion` in Video component
|
|
14
|
+
- Add `inview-margin` option to control the viewport margin in Video component
|
|
15
|
+
- Add `inview-queued` option to limit the number of simultaneously playing videos in Video component
|
|
16
|
+
- Add `hover-rewind` option to rewind videos after hovering in Video component
|
|
17
|
+
- Add `parallax` autoplay mode and `parallax-start`, `parallax-end`, `parallax-target`, `parallax-easing` options to Video component
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Fix `hover-target` not being focusable in Video component
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- IMPORTANT: Rename `uk-box-shadow-bottom` class to `uk-floating-shadow`
|
|
26
|
+
- Refactor selector specificity in Grid, Base and Form components to remove important keywords in Margin component
|
|
27
|
+
- Respect `prefers-reduced-motion` preference for all autoplay modes except hover in Video component
|
|
28
|
+
- Move logo, dropcap and floating shadow from utility to their own components
|
|
29
|
+
- Moved Search component LESS import to load after the Form component
|
|
30
|
+
- Use `row-gap` for stacked grid columns instead of relying on the `uk-grid` attribute
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Fix `hover-target` not being focusable in Video component
|
|
35
|
+
|
|
3
36
|
## WIP
|
|
4
37
|
|
|
5
38
|
### Fixed
|
|
6
39
|
|
|
7
40
|
- Fix active state for Filter controls that combine filtering and sorting
|
|
41
|
+
- Fix Ken Burns effect not restarting in Safari in Slideshow component
|
|
8
42
|
|
|
9
43
|
## 3.25.16 (April 21, 2026)
|
|
10
44
|
|
|
@@ -13,7 +47,6 @@
|
|
|
13
47
|
- Fix negative numbers sorted incorrectly in Filter component
|
|
14
48
|
- Fix Modal component stealing focus from overlays rendered outside the modal
|
|
15
49
|
- Fix component root class not removed after disconnect
|
|
16
|
-
- Fix Ken Burns effect not restarting in Safari in Slideshow component
|
|
17
50
|
|
|
18
51
|
## 3.25.15 (April 9, 2026)
|
|
19
52
|
|
package/build/prefix.js
CHANGED
|
@@ -56,7 +56,7 @@ async function getPrefix() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
function isValidPrefix(prefix) {
|
|
59
|
-
return
|
|
59
|
+
return /^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/.test(prefix);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
async function replacePrefix(from, to) {
|
package/build/publishDev.js
CHANGED
|
@@ -28,5 +28,5 @@ async function isDevCommit() {
|
|
|
28
28
|
const message = (await $`git log -1 --pretty=%B`).stdout.trim();
|
|
29
29
|
|
|
30
30
|
// https://www.conventionalcommits.org/en/v1.0.0/
|
|
31
|
-
return
|
|
31
|
+
return /^(revert: )?(feat|fix|refactor|perf)(\(.+\))?: .{1,50}/.test(message);
|
|
32
32
|
}
|
package/build/release.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ZipArchive } from 'archiver';
|
|
2
2
|
import { $ } from 'execa';
|
|
3
3
|
import inquirer from 'inquirer';
|
|
4
4
|
import fs from 'node:fs';
|
|
@@ -62,7 +62,7 @@ function raiseVersion(version) {
|
|
|
62
62
|
|
|
63
63
|
async function createPackage(version) {
|
|
64
64
|
const dest = `dist/uikit-${version}.zip`;
|
|
65
|
-
const archive =
|
|
65
|
+
const archive = new ZipArchive({ zlib: { level: 9 } });
|
|
66
66
|
|
|
67
67
|
const output = fs.createWriteStream(dest);
|
|
68
68
|
const closed = new Promise((resolve, reject) => {
|
package/build/scope.js
CHANGED
|
@@ -53,7 +53,7 @@ async function getScope(files) {
|
|
|
53
53
|
function getNewScope() {
|
|
54
54
|
const scopeFromInput = args.scope || args.s || 'uk-scope';
|
|
55
55
|
|
|
56
|
-
if (
|
|
56
|
+
if (/^[a-z_\x7f-\xff][-\w\x7f-\xff]*$/i.test(scopeFromInput)) {
|
|
57
57
|
return scopeFromInput;
|
|
58
58
|
} else {
|
|
59
59
|
throw `Illegal scope-name: ${scopeFromInput}`;
|
package/build/scss.js
CHANGED
|
@@ -74,7 +74,7 @@ for (const file of (await glob('src/less/**/*.less'))
|
|
|
74
74
|
.map((mixin) => ` @include ${mixin}();\n`)
|
|
75
75
|
.join('')}}`,
|
|
76
76
|
);
|
|
77
|
-
} else if (
|
|
77
|
+
} else if (/hook-inverse(?!-)/.test(source)) {
|
|
78
78
|
source = source.replace(/hook-inverse(?!-)/, `hook-inverse-component-${filename}`);
|
|
79
79
|
if (!inverseComponentMixins.includes(`hook-inverse-component-${filename}`)) {
|
|
80
80
|
inverseComponentMixins.push(`hook-inverse-component-${filename}`);
|