uikit 3.16.7-dev.5c86c1ae7 → 3.16.7-dev.e91049985
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 +12 -1
- package/dist/css/uikit-core-rtl.css +24 -6
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +24 -6
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +24 -6
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +24 -6
- 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 +5 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +5 -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 +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 +5 -2
- 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 +5 -2
- 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 +40 -20
- 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 +44 -21
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/boot.js +10 -1
- package/src/js/api/watch.js +1 -1
- package/src/js/core/dropnav.js +5 -6
- package/src/js/core/navbar.js +14 -4
- package/src/js/core/sticky.js +7 -2
- package/src/js/mixin/slider-nav.js +4 -1
- package/src/js/util/fastdom.js +2 -2
- package/src/less/components/visibility.less +25 -5
- package/src/scss/components/visibility.scss +25 -5
- package/tests/navbar.html +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## WIP
|
|
4
4
|
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add hidden visually class for assistive technologies to Visibility component
|
|
8
|
+
- Make toggle classes to display elements on hover or focus accessible to screen readers in Visibility component
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Change boot behavior: if script is loaded synchronous, UIkit boots as soon as body element is available
|
|
13
|
+
|
|
5
14
|
### Fixed
|
|
6
15
|
|
|
7
16
|
- Fix component distributions
|
|
8
17
|
- Fix Slider/Slideshow component autoplay in Firefox
|
|
9
18
|
- Fix using input of type range in Modal component on touch devices
|
|
10
|
-
- Fix accessibility in Nav component
|
|
19
|
+
- Fix accessibility in Slideshow/Slider and Nav component
|
|
20
|
+
- Fix prevent initial transition in Sticky component
|
|
21
|
+
- Fix keyboard navigation in Navbar component
|
|
11
22
|
|
|
12
23
|
## 3.16.6 (March 10, 2023)
|
|
13
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.7-dev.
|
|
1
|
+
/*! UIkit 3.16.7-dev.e91049985 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -8978,25 +8978,43 @@ iframe[data-uk-cover] {
|
|
|
8978
8978
|
/* Based on the State of the Parent Element
|
|
8979
8979
|
========================================================================== */
|
|
8980
8980
|
/*
|
|
8981
|
-
*
|
|
8981
|
+
* Mind that `display: none`, `visibility: hidden` and `opacity: 0`
|
|
8982
|
+
* remove the element from the accessibility tree and that
|
|
8983
|
+
* `display: none` and `visibility: hidden` are not focusable.
|
|
8984
|
+
*
|
|
8982
8985
|
* The target stays visible if any element within receives focus through keyboard.
|
|
8983
8986
|
*/
|
|
8984
8987
|
/*
|
|
8985
|
-
*
|
|
8988
|
+
* Remove space when hidden.
|
|
8989
|
+
* 1. Remove from document flow.
|
|
8990
|
+
* 2. Hide element and shrink its dimension. Can't use zero dimensions together
|
|
8991
|
+
* with `overflow: hidden` it would remove it from the accessibility tree.
|
|
8992
|
+
* 3. Hide the single rendered pixel.
|
|
8993
|
+
* 4. Prevent text wrapping caused by `width: 1px` because it has side effects on vocalisation
|
|
8994
|
+
* by screen readers and the visual tracking indicator of other assistive technologies.
|
|
8986
8995
|
*/
|
|
8996
|
+
.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
|
|
8987
8997
|
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
|
|
8998
|
+
/* 1 */
|
|
8988
8999
|
position: absolute !important;
|
|
8989
|
-
|
|
8990
|
-
|
|
9000
|
+
/* 2 */
|
|
9001
|
+
width: 1px !important;
|
|
9002
|
+
height: 1px !important;
|
|
8991
9003
|
padding: 0 !important;
|
|
9004
|
+
border: 0 !important;
|
|
8992
9005
|
margin: 0 !important;
|
|
8993
9006
|
overflow: hidden !important;
|
|
9007
|
+
/* 3 */
|
|
9008
|
+
clip-path: inset(50%) !important;
|
|
9009
|
+
/* 4 */
|
|
9010
|
+
white-space: nowrap !important;
|
|
8994
9011
|
}
|
|
8995
9012
|
/*
|
|
8996
9013
|
* Keep space when hidden.
|
|
9014
|
+
* Hide element without shrinking its dimension.
|
|
8997
9015
|
*/
|
|
8998
9016
|
.uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
|
|
8999
|
-
|
|
9017
|
+
clip-path: inset(50%) !important;
|
|
9000
9018
|
}
|
|
9001
9019
|
/* Based on Hover Capability of the Pointing Device
|
|
9002
9020
|
========================================================================== */
|