uikit 3.16.7-dev.fcb5a4616 → 3.16.8-dev.dc18e16fb
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 +22 -0
- package/dist/css/uikit-core-rtl.css +33 -19
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +33 -19
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +33 -19
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +33 -19
- 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 +16 -37
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +16 -37
- 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 +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +15 -36
- 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 +15 -36
- 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 +45 -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 +59 -57
- 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/observables.js +1 -1
- package/src/js/api/watch.js +1 -1
- package/src/js/core/accordion.js +4 -0
- 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-autoplay.js +13 -42
- package/src/js/mixin/slider-nav.js +6 -1
- package/src/js/util/fastdom.js +2 -2
- package/src/js/util/scroll.js +2 -1
- package/src/less/components/base.less +0 -1
- package/src/less/components/dropbar.less +6 -0
- package/src/less/components/dropdown.less +5 -0
- package/src/less/components/navbar.less +5 -0
- package/src/less/components/visibility.less +25 -5
- package/src/scss/components/dropbar.scss +6 -0
- package/src/scss/components/dropdown.scss +5 -0
- package/src/scss/components/navbar.scss +5 -0
- package/src/scss/components/visibility.scss +25 -5
- package/src/scss/mixins-theme.scss +0 -1
- package/src/scss/mixins.scss +0 -1
- package/src/scss/variables-theme.scss +3 -0
- package/src/scss/variables.scss +3 -0
- package/tests/js/index.js +4 -3
- package/tests/navbar.html +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
### Fixed
|
|
6
6
|
|
|
7
|
+
- Fix focus style for dropdowns when used with Inverse component
|
|
8
|
+
- Fix regression in Lightbox component
|
|
9
|
+
|
|
10
|
+
## 3.16.7 (March 16, 2023)
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add hidden visually class for assistive technologies to Visibility component
|
|
15
|
+
- Make toggle classes to display elements on hover or focus accessible to screen readers in Visibility component
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Change boot behavior: if script is loaded synchronous, UIkit boots as soon as body element is available
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
7
23
|
- Fix component distributions
|
|
24
|
+
- Fix Slider/Slideshow component autoplay in Firefox
|
|
25
|
+
- Fix using input of type range in Modal component on touch devices
|
|
26
|
+
- Fix accessibility in Slideshow/Slider and Nav component
|
|
27
|
+
- Fix prevent initial transition in Sticky component
|
|
28
|
+
- Fix keyboard navigation in Navbar component
|
|
29
|
+
- Fix importing UIkit in Next.js
|
|
8
30
|
|
|
9
31
|
## 3.16.6 (March 10, 2023)
|
|
10
32
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.
|
|
1
|
+
/*! UIkit 3.16.8-dev.dc18e16fb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3299,6 +3299,9 @@ select.uk-form-width-xsmall {
|
|
|
3299
3299
|
padding-left: 40px;
|
|
3300
3300
|
}
|
|
3301
3301
|
}
|
|
3302
|
+
.uk-dropbar :focus-visible {
|
|
3303
|
+
outline-color: #333 !important;
|
|
3304
|
+
}
|
|
3302
3305
|
/* Size modifier
|
|
3303
3306
|
========================================================================== */
|
|
3304
3307
|
.uk-dropbar-large {
|
|
@@ -5088,6 +5091,9 @@ ul.uk-nav-sub {
|
|
|
5088
5091
|
.uk-navbar-dropdown > :last-child {
|
|
5089
5092
|
margin-bottom: 0;
|
|
5090
5093
|
}
|
|
5094
|
+
.uk-navbar-dropdown :focus-visible {
|
|
5095
|
+
outline-color: #333 !important;
|
|
5096
|
+
}
|
|
5091
5097
|
/*
|
|
5092
5098
|
* Grid
|
|
5093
5099
|
* Adopts `uk-grid`
|
|
@@ -5797,6 +5803,9 @@ ul.uk-nav-sub {
|
|
|
5797
5803
|
.uk-dropdown > :last-child {
|
|
5798
5804
|
margin-bottom: 0;
|
|
5799
5805
|
}
|
|
5806
|
+
.uk-dropdown :focus-visible {
|
|
5807
|
+
outline-color: #333 !important;
|
|
5808
|
+
}
|
|
5800
5809
|
/* Size modifier
|
|
5801
5810
|
========================================================================== */
|
|
5802
5811
|
.uk-dropdown-large {
|
|
@@ -8978,25 +8987,43 @@ iframe[data-uk-cover] {
|
|
|
8978
8987
|
/* Based on the State of the Parent Element
|
|
8979
8988
|
========================================================================== */
|
|
8980
8989
|
/*
|
|
8981
|
-
*
|
|
8990
|
+
* Mind that `display: none`, `visibility: hidden` and `opacity: 0`
|
|
8991
|
+
* remove the element from the accessibility tree and that
|
|
8992
|
+
* `display: none` and `visibility: hidden` are not focusable.
|
|
8993
|
+
*
|
|
8982
8994
|
* The target stays visible if any element within receives focus through keyboard.
|
|
8983
8995
|
*/
|
|
8984
8996
|
/*
|
|
8985
|
-
*
|
|
8997
|
+
* Remove space when hidden.
|
|
8998
|
+
* 1. Remove from document flow.
|
|
8999
|
+
* 2. Hide element and shrink its dimension. Can't use zero dimensions together
|
|
9000
|
+
* with `overflow: hidden` it would remove it from the accessibility tree.
|
|
9001
|
+
* 3. Hide the single rendered pixel.
|
|
9002
|
+
* 4. Prevent text wrapping caused by `width: 1px` because it has side effects on vocalisation
|
|
9003
|
+
* by screen readers and the visual tracking indicator of other assistive technologies.
|
|
8986
9004
|
*/
|
|
9005
|
+
.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
|
|
8987
9006
|
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
|
|
9007
|
+
/* 1 */
|
|
8988
9008
|
position: absolute !important;
|
|
8989
|
-
|
|
8990
|
-
|
|
9009
|
+
/* 2 */
|
|
9010
|
+
width: 1px !important;
|
|
9011
|
+
height: 1px !important;
|
|
8991
9012
|
padding: 0 !important;
|
|
9013
|
+
border: 0 !important;
|
|
8992
9014
|
margin: 0 !important;
|
|
8993
9015
|
overflow: hidden !important;
|
|
9016
|
+
/* 3 */
|
|
9017
|
+
clip-path: inset(50%) !important;
|
|
9018
|
+
/* 4 */
|
|
9019
|
+
white-space: nowrap !important;
|
|
8994
9020
|
}
|
|
8995
9021
|
/*
|
|
8996
9022
|
* Keep space when hidden.
|
|
9023
|
+
* Hide element without shrinking its dimension.
|
|
8997
9024
|
*/
|
|
8998
9025
|
.uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
|
|
8999
|
-
|
|
9026
|
+
clip-path: inset(50%) !important;
|
|
9000
9027
|
}
|
|
9001
9028
|
/* Based on Hover Capability of the Pointing Device
|
|
9002
9029
|
========================================================================== */
|
|
@@ -9356,19 +9383,6 @@ iframe[data-uk-cover] {
|
|
|
9356
9383
|
.uk-offcanvas-bar .uk-hr {
|
|
9357
9384
|
border-top-color: rgba(255, 255, 255, 0.2);
|
|
9358
9385
|
}
|
|
9359
|
-
.uk-light :focus,
|
|
9360
|
-
.uk-section-primary:not(.uk-preserve-color) :focus,
|
|
9361
|
-
.uk-section-secondary:not(.uk-preserve-color) :focus,
|
|
9362
|
-
.uk-tile-primary:not(.uk-preserve-color) :focus,
|
|
9363
|
-
.uk-tile-secondary:not(.uk-preserve-color) :focus,
|
|
9364
|
-
.uk-card-primary.uk-card-body :focus,
|
|
9365
|
-
.uk-card-primary > :not([class*='uk-card-media']) :focus,
|
|
9366
|
-
.uk-card-secondary.uk-card-body :focus,
|
|
9367
|
-
.uk-card-secondary > :not([class*='uk-card-media']) :focus,
|
|
9368
|
-
.uk-overlay-primary :focus,
|
|
9369
|
-
.uk-offcanvas-bar :focus {
|
|
9370
|
-
outline-color: #fff;
|
|
9371
|
-
}
|
|
9372
9386
|
.uk-light :focus-visible,
|
|
9373
9387
|
.uk-section-primary:not(.uk-preserve-color) :focus-visible,
|
|
9374
9388
|
.uk-section-secondary:not(.uk-preserve-color) :focus-visible,
|