uikit 3.10.0 → 3.10.1
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 +17 -7
- package/CONTRIBUTING.md +1 -1
- package/README.md +4 -2
- package/build/.eslintrc.json +10 -1
- package/build/build.js +5 -5
- package/build/less.js +1 -2
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +8 -5
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +8 -5
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +8 -5
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +8 -5
- 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 +5 -5
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +2 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +2 -2
- 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 +2 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +3 -9
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +2 -2
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +3 -9
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +6 -2
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +5 -5
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +5 -4
- 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 +23 -22
- 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 +36 -36
- package/dist/js/uikit.min.js +1 -1
- package/package.json +3 -3
- package/src/js/api/component.js +3 -3
- package/src/js/api/state.js +3 -3
- package/src/js/components/slider-parallax.js +1 -7
- package/src/js/components/slideshow.js +4 -0
- package/src/js/components/tooltip.js +2 -1
- package/src/js/core/navbar.js +1 -1
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/toggle.js +4 -3
- package/src/js/mixin/animate.js +4 -4
- package/src/js/mixin/internal/slideshow-animations.js +1 -1
- package/src/js/mixin/parallax.js +1 -1
- package/src/js/mixin/position.js +3 -3
- package/src/js/util/dom.js +3 -3
- package/src/js/util/lang.js +1 -1
- package/src/js/util/viewport.js +3 -3
- package/src/less/components/cover.less +4 -2
- package/src/less/components/divider.less +1 -1
- package/src/less/components/utility.less +2 -1
- package/src/scss/components/cover.scss +4 -2
- package/src/scss/components/divider.scss +1 -1
- package/src/scss/components/utility.scss +2 -1
- package/tests/base.html +12 -12
- package/tests/button.html +1 -1
- package/tests/cover.html +5 -5
- package/tests/drop.html +2 -2
- package/tests/dropdown.html +1 -1
- package/tests/flex.html +1 -1
- package/tests/grid-masonry.html +1 -1
- package/tests/grid-parallax.html +1 -1
- package/tests/grid.html +1 -1
- package/tests/height.html +2 -2
- package/tests/js/index.js +3 -8
- package/tests/margin.html +1 -1
- package/tests/modal.html +2 -2
- package/tests/navbar.html +2 -2
- package/tests/padding.html +1 -1
- package/tests/parallax.html +1 -1
- package/tests/slider.html +1 -1
- package/tests/slideshow.html +2 -2
- package/tests/sticky.html +2 -2
- package/tests/switcher.html +1 -1
- package/tests/tab.html +1 -1
- package/tests/utility.html +1 -1
- package/tests/video.html +3 -3
- package/tests/width.html +1 -1
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.10.1 (January 19, 2022)
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Fix vertical divider width in Divider component
|
|
8
|
+
- Fix usage of `data-` prefix for Cover and Responsive component
|
|
9
|
+
- Fix pointer events for iframes in Cover component
|
|
10
|
+
- Fix Slideshow component no longer throws if items list does not exist
|
|
11
|
+
- Fix space key no longer triggers Toggle on <input> elements
|
|
12
|
+
|
|
3
13
|
## 3.10.0 (January 12, 2022)
|
|
4
14
|
|
|
5
15
|
### Added
|
|
@@ -38,7 +48,7 @@
|
|
|
38
48
|
|
|
39
49
|
### Fixed
|
|
40
50
|
|
|
41
|
-
- Fix build scripts for
|
|
51
|
+
- Fix build scripts for Windows users
|
|
42
52
|
- Fix css in Leader component
|
|
43
53
|
- Fix division deprecation warnings in Sass source
|
|
44
54
|
|
|
@@ -63,7 +73,7 @@
|
|
|
63
73
|
### Changed
|
|
64
74
|
|
|
65
75
|
- Make padding large a little bigger on small devices
|
|
66
|
-
- Change logo color to emphasis
|
|
76
|
+
- Change logo color to 'emphasis'
|
|
67
77
|
|
|
68
78
|
### Fixed
|
|
69
79
|
|
|
@@ -438,7 +448,7 @@
|
|
|
438
448
|
|
|
439
449
|
### Changed
|
|
440
450
|
|
|
441
|
-
- Sorting starts after traversing half the
|
|
451
|
+
- Sorting starts after traversing half the item's height/width in Sortable component
|
|
442
452
|
|
|
443
453
|
## 3.5.12 (December 7, 2020)
|
|
444
454
|
|
|
@@ -507,7 +517,7 @@
|
|
|
507
517
|
|
|
508
518
|
### Changed
|
|
509
519
|
|
|
510
|
-
- Sticky component uses window.Date instead of window.performance
|
|
520
|
+
- Sticky component uses 'window.Date' instead of 'window.performance'
|
|
511
521
|
- Sticky component with sticky-on-up no longer hides when Dropdown shows
|
|
512
522
|
|
|
513
523
|
### Fixed
|
|
@@ -794,7 +804,7 @@
|
|
|
794
804
|
|
|
795
805
|
### Added
|
|
796
806
|
|
|
797
|
-
- Parallax, Scroll, Scrollspy Nav components work inside
|
|
807
|
+
- Parallax, Scroll, Scrollspy Nav components work inside scrollable container
|
|
798
808
|
- Expose `scrollIntoView` utility function
|
|
799
809
|
|
|
800
810
|
### Fixed
|
|
@@ -1542,7 +1552,7 @@
|
|
|
1542
1552
|
|
|
1543
1553
|
### Added
|
|
1544
1554
|
|
|
1545
|
-
- Add support to center elements outside
|
|
1555
|
+
- Add support to center elements outside a container to Position component
|
|
1546
1556
|
|
|
1547
1557
|
### Changed
|
|
1548
1558
|
|
|
@@ -1949,7 +1959,7 @@
|
|
|
1949
1959
|
|
|
1950
1960
|
### Changed
|
|
1951
1961
|
|
|
1952
|
-
- IMPORTANT: Offcanvas requires
|
|
1962
|
+
- IMPORTANT: Offcanvas requires wrapping page in extra div
|
|
1953
1963
|
- Refactored Offcanvas component
|
|
1954
1964
|
- Update Instagram, Tumblr and Vimeo icons
|
|
1955
1965
|
- Component Constructor initializes multiple components at once
|
package/CONTRIBUTING.md
CHANGED
|
@@ -83,7 +83,7 @@ UIkit adapts the [Vue's commit convention](https://github.com/vuejs/vue/blob/dev
|
|
|
83
83
|
- `fix:` A bug fix
|
|
84
84
|
- `perf:` A code change that improves performance
|
|
85
85
|
- `refactor:` A code change that neither fixes a bug nor adds a feature
|
|
86
|
-
- `style:` Changes that do not affect the meaning of the code (white-space, formatting, etc)
|
|
86
|
+
- `style:` Changes that do not affect the meaning of the code (white-space, formatting, etc.)
|
|
87
87
|
- `test:` Adding missing tests or correcting existing tests
|
|
88
88
|
|
|
89
89
|
## Versioning
|
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
# UIkit
|
|
4
4
|
|
|
5
5
|
[](https://discord.gg/NEt4Pv7)
|
|
6
|
+
[](https://circleci.com/gh/uikit/uikit)
|
|
7
|
+
[](https://www.jsdelivr.com/package/npm/uikit)
|
|
6
8
|
|
|
7
9
|
UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.
|
|
8
10
|
|
|
@@ -51,8 +53,8 @@ UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](ht
|
|
|
51
53
|
## Browser Support
|
|
52
54
|
|
|
53
55
|
|  |  |  |  |  |
|
|
54
|
-
|
|
55
|
-
| Latest ✔
|
|
56
|
+
|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
|
|
57
|
+
| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
56
58
|
|
|
57
59
|
Tested With<br>[](https://www.browserstack.com)
|
|
58
60
|
|
package/build/.eslintrc.json
CHANGED
package/build/build.js
CHANGED
|
@@ -4,9 +4,9 @@ import {args, compile, glob, icons} from './util.js';
|
|
|
4
4
|
|
|
5
5
|
const bundles = getBundleTasks();
|
|
6
6
|
const components = await getComponentTasks();
|
|
7
|
-
const buildAll = args.all || Object.keys(args).filter(name =>
|
|
8
|
-
['d', 'debug', 'nominify', 'watch'].includes(name)
|
|
9
|
-
).length
|
|
7
|
+
const buildAll = args.all || !Object.keys(args).filter(name =>
|
|
8
|
+
!['d', 'debug', 'nominify', 'watch', '_'].includes(name)
|
|
9
|
+
).length;
|
|
10
10
|
|
|
11
11
|
if (args.h || args.help) {
|
|
12
12
|
console.log(`
|
|
@@ -16,8 +16,8 @@ if (args.h || args.help) {
|
|
|
16
16
|
|
|
17
17
|
examples:
|
|
18
18
|
|
|
19
|
-
build.js // builds all of uikit, including icons and does minification (implies 'all')
|
|
20
|
-
build.js uikit icons -d // builds
|
|
19
|
+
build.js // builds all of uikit, including icons, components and does minification (implies 'all')
|
|
20
|
+
build.js uikit icons -d // builds uikit and the icons, skipping the minification and components
|
|
21
21
|
build.js core lightbox -d // builds uikit-core and the lightbox, skipping the minification
|
|
22
22
|
|
|
23
23
|
available components:
|
package/build/less.js
CHANGED
package/build/scss.js
CHANGED
|
@@ -236,7 +236,7 @@ async function getVariablesFromFile(file, data) {
|
|
|
236
236
|
|
|
237
237
|
while (match) {
|
|
238
238
|
|
|
239
|
-
/* check if variable is
|
|
239
|
+
/* check if variable is a background icon, if so replace it directly by the SVG */
|
|
240
240
|
if (match[0].indexOf('../../images/backgrounds') >= 0) {
|
|
241
241
|
|
|
242
242
|
const iconregex = /(\$[\w-]+)\s*:\s*"\.\.\/\.\.\/images\/backgrounds\/([\w./-]+)" !default;/g;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.10.
|
|
1
|
+
/*! UIkit 3.10.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -726,7 +726,7 @@ a.uk-link-reset,
|
|
|
726
726
|
/* Vertical
|
|
727
727
|
========================================================================== */
|
|
728
728
|
.uk-divider-vertical {
|
|
729
|
-
width:
|
|
729
|
+
width: max-content;
|
|
730
730
|
height: 100px;
|
|
731
731
|
margin-right: auto;
|
|
732
732
|
margin-left: auto;
|
|
@@ -7142,7 +7142,8 @@ td.uk-text-break {
|
|
|
7142
7142
|
* is absolute positioned or if the container has a height
|
|
7143
7143
|
*/
|
|
7144
7144
|
/* 1 */
|
|
7145
|
-
[uk-cover]
|
|
7145
|
+
[uk-cover],
|
|
7146
|
+
[data-uk-cover] {
|
|
7146
7147
|
/* 2 */
|
|
7147
7148
|
max-width: none;
|
|
7148
7149
|
/* 3 */
|
|
@@ -7153,7 +7154,8 @@ td.uk-text-break {
|
|
|
7153
7154
|
--uk-position-translate-y: -50%;
|
|
7154
7155
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
7155
7156
|
}
|
|
7156
|
-
iframe
|
|
7157
|
+
iframe[uk-cover],
|
|
7158
|
+
iframe[data-uk-cover] {
|
|
7157
7159
|
pointer-events: none;
|
|
7158
7160
|
}
|
|
7159
7161
|
/* Container
|
|
@@ -7616,7 +7618,8 @@ iframe.uk-cover {
|
|
|
7616
7618
|
/*
|
|
7617
7619
|
* Fix initial iframe width. Without the viewport is expanded on iOS devices
|
|
7618
7620
|
*/
|
|
7619
|
-
[uk-responsive]
|
|
7621
|
+
[uk-responsive],
|
|
7622
|
+
[data-uk-responsive] {
|
|
7620
7623
|
max-width: 100%;
|
|
7621
7624
|
}
|
|
7622
7625
|
/* Border
|