uikit 3.15.10 → 3.15.11-dev.536b75ef2
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 +29 -12
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- 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 +1 -1
- 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 +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 +1 -1
- 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 +1 -1
- 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 +5 -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 +52 -53
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +2 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +57 -55
- package/dist/js/uikit.min.js +2 -2
- package/package.json +1 -1
- package/src/images/icons/crosshairs.svg +7 -0
- package/src/js/api/state.js +13 -6
- package/src/js/components/lightbox.js +1 -1
- package/src/js/components/tooltip.js +4 -1
- package/src/js/core/drop.js +5 -1
- package/src/js/core/icon.js +1 -3
- package/src/js/core/scrollspy.js +3 -2
- package/src/js/core/svg.js +2 -10
- package/src/js/core/switcher.js +16 -23
- package/src/js/core/toggle.js +1 -4
- package/src/js/util/position.js +11 -6
- package/tests/breadcrumb.html +25 -19
- package/tests/comment.html +9 -9
- package/tests/drop.html +2 -2
- package/tests/dropbar.html +1 -1
- package/tests/dropdown.html +1 -1
- package/tests/filter.html +1 -1
- package/tests/form.html +40 -40
- package/tests/icon.html +4 -0
- package/tests/index.html +22 -19
- package/tests/js/index.js +3 -3
- package/tests/lightbox.html +1 -1
- package/tests/list.html +1 -1
- package/tests/nav.html +1 -1
- package/tests/navbar.html +3 -3
- package/tests/search.html +21 -21
- package/tests/slider.html +3 -3
- package/tests/slideshow.html +2 -2
- package/tests/sticky.html +1 -1
- package/tests/table.html +9 -9
- package/tests/tooltip.html +2 -2
- package/tests/utility.html +4 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.15.
|
|
5
|
+
"version": "3.15.11-dev.536b75ef2",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle fill="none" stroke="#000" cx="10" cy="10" r="7.5" />
|
|
3
|
+
<line fill="none" stroke="#000" x1="10" x2="10" y2="8" />
|
|
4
|
+
<line fill="none" stroke="#000" x1="10" y1="12" x2="10" y2="20" />
|
|
5
|
+
<line fill="none" stroke="#000" y1="10" x2="8" y2="10" />
|
|
6
|
+
<line fill="none" stroke="#000" x1="12" y1="10" x2="20" y2="10" />
|
|
7
|
+
</svg>
|
package/src/js/api/state.js
CHANGED
|
@@ -108,11 +108,7 @@ export default function (UIkit) {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
UIkit.prototype._initObservers = function () {
|
|
111
|
-
this._observers = [initPropsObserver(this)];
|
|
112
|
-
|
|
113
|
-
if (this.$options.computed) {
|
|
114
|
-
this.registerObserver(initChildListObserver(this));
|
|
115
|
-
}
|
|
111
|
+
this._observers = [initPropsObserver(this), initChildListObserver(this)];
|
|
116
112
|
};
|
|
117
113
|
|
|
118
114
|
UIkit.prototype.registerObserver = function (...observer) {
|
|
@@ -265,7 +261,18 @@ function normalizeData({ data = {} }, { args = [], props = {} }) {
|
|
|
265
261
|
}
|
|
266
262
|
|
|
267
263
|
function initChildListObserver(component) {
|
|
268
|
-
|
|
264
|
+
let { el, computed } = component.$options;
|
|
265
|
+
|
|
266
|
+
if (!computed) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
for (const key in computed) {
|
|
271
|
+
if (computed[key].document) {
|
|
272
|
+
el = el.ownerDocument;
|
|
273
|
+
break;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
269
276
|
|
|
270
277
|
const observer = new MutationObserver(() => component._callWatches());
|
|
271
278
|
observer.observe(el, {
|
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
|
|
51
51
|
this.panel = this.panel || this.$create('lightboxPanel', { ...this.$props, items });
|
|
52
52
|
|
|
53
|
-
on(this.panel.$el, 'hidden', () => (this.panel =
|
|
53
|
+
on(this.panel.$el, 'hidden', () => (this.panel = null));
|
|
54
54
|
|
|
55
55
|
return this.panel.show(index);
|
|
56
56
|
},
|
package/src/js/core/drop.js
CHANGED
|
@@ -429,7 +429,7 @@ export default {
|
|
|
429
429
|
// Ensure none positioned element does not generate scrollbars
|
|
430
430
|
this.$el.hidden = true;
|
|
431
431
|
|
|
432
|
-
const viewports = this.target.map((target) =>
|
|
432
|
+
const viewports = this.target.map((target) => getViewport(this.$el, target));
|
|
433
433
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
434
434
|
|
|
435
435
|
const dirs = [
|
|
@@ -494,3 +494,7 @@ function getPositionedElements(el) {
|
|
|
494
494
|
apply(el, (el) => css(el, 'position') !== 'static' && result.push(el));
|
|
495
495
|
return result;
|
|
496
496
|
}
|
|
497
|
+
|
|
498
|
+
function getViewport(el, target) {
|
|
499
|
+
return offsetViewport(scrollParents(target).find((parent) => within(el, parent)));
|
|
500
|
+
}
|
package/src/js/core/icon.js
CHANGED
package/src/js/core/scrollspy.js
CHANGED
|
@@ -48,7 +48,8 @@ export default {
|
|
|
48
48
|
|
|
49
49
|
watch(elements, prev) {
|
|
50
50
|
if (this.hidden) {
|
|
51
|
-
|
|
51
|
+
// use `opacity:0` instead of `visibility:hidden` to make content focusable with keyboard
|
|
52
|
+
css(filter(elements, `:not(.${this.inViewClass})`), 'opacity', 0);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
if (!isEqual(elements, prev)) {
|
|
@@ -134,7 +135,7 @@ export default {
|
|
|
134
135
|
|
|
135
136
|
state.off?.();
|
|
136
137
|
|
|
137
|
-
css(el, '
|
|
138
|
+
css(el, 'opacity', !inview && this.hidden ? 0 : '');
|
|
138
139
|
|
|
139
140
|
toggleClass(el, this.inViewClass, inview);
|
|
140
141
|
toggleClass(el, state.cls);
|
package/src/js/core/svg.js
CHANGED
|
@@ -30,13 +30,12 @@ export default {
|
|
|
30
30
|
ratio: Number,
|
|
31
31
|
class: String,
|
|
32
32
|
strokeAnimation: Boolean,
|
|
33
|
-
focusable: Boolean, // IE 11
|
|
34
33
|
attributes: 'list',
|
|
35
34
|
},
|
|
36
35
|
|
|
37
36
|
data: {
|
|
38
37
|
ratio: 1,
|
|
39
|
-
include: ['style', 'class'
|
|
38
|
+
include: ['style', 'class'],
|
|
40
39
|
class: '',
|
|
41
40
|
strokeAnimation: false,
|
|
42
41
|
},
|
|
@@ -215,12 +214,5 @@ function insertSVG(el, root) {
|
|
|
215
214
|
}
|
|
216
215
|
|
|
217
216
|
function equals(el, other) {
|
|
218
|
-
return isTag(el, 'svg') && isTag(other, 'svg') && innerHTML
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
function innerHTML(el) {
|
|
222
|
-
return (
|
|
223
|
-
el.innerHTML ||
|
|
224
|
-
new XMLSerializer().serializeToString(el).replace(/<svg.*?>(.*?)<\/svg>/g, '$1')
|
|
225
|
-
).replace(/\s/g, '');
|
|
217
|
+
return isTag(el, 'svg') && isTag(other, 'svg') && el.innerHTML === other.innerHTML;
|
|
226
218
|
}
|
package/src/js/core/switcher.js
CHANGED
|
@@ -12,9 +12,7 @@ import {
|
|
|
12
12
|
getIndex,
|
|
13
13
|
hasClass,
|
|
14
14
|
matches,
|
|
15
|
-
observeMutation,
|
|
16
15
|
queryAll,
|
|
17
|
-
ready,
|
|
18
16
|
toggleClass,
|
|
19
17
|
toNodes,
|
|
20
18
|
within,
|
|
@@ -51,23 +49,23 @@ export default {
|
|
|
51
49
|
if (this.swiping) {
|
|
52
50
|
css(connects, 'touchAction', 'pan-y pinch-zoom');
|
|
53
51
|
}
|
|
52
|
+
},
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
);
|
|
54
|
+
document: true,
|
|
55
|
+
immediate: true,
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
connectChildren: {
|
|
59
|
+
get() {
|
|
60
|
+
return this.connects.map((el) => children(el)).flat();
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
watch() {
|
|
64
|
+
const index = this.index();
|
|
65
|
+
for (const el of this.connects) {
|
|
66
|
+
children(el).forEach((child, i) => toggleClass(child, this.cls, i === index));
|
|
67
|
+
this.lazyload(this.$el, children(el));
|
|
68
|
+
}
|
|
71
69
|
},
|
|
72
70
|
|
|
73
71
|
immediate: true,
|
|
@@ -99,11 +97,6 @@ export default {
|
|
|
99
97
|
},
|
|
100
98
|
},
|
|
101
99
|
|
|
102
|
-
connected() {
|
|
103
|
-
// check for connects
|
|
104
|
-
ready(() => this.$emit());
|
|
105
|
-
},
|
|
106
|
-
|
|
107
100
|
events: [
|
|
108
101
|
{
|
|
109
102
|
name: 'click',
|
package/src/js/core/toggle.js
CHANGED
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
pointerEnter,
|
|
17
17
|
pointerLeave,
|
|
18
18
|
queryAll,
|
|
19
|
-
ready,
|
|
20
19
|
trigger,
|
|
21
20
|
within,
|
|
22
21
|
} from 'uikit-util';
|
|
@@ -54,6 +53,7 @@ export default {
|
|
|
54
53
|
this.lazyload(this.$el, this.target);
|
|
55
54
|
},
|
|
56
55
|
|
|
56
|
+
document: true,
|
|
57
57
|
immediate: true,
|
|
58
58
|
},
|
|
59
59
|
},
|
|
@@ -62,9 +62,6 @@ export default {
|
|
|
62
62
|
if (!includes(this.mode, 'media') && !isFocusable(this.$el)) {
|
|
63
63
|
attr(this.$el, 'tabindex', '0');
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
// check for target
|
|
67
|
-
ready(() => this.$emit());
|
|
68
65
|
},
|
|
69
66
|
|
|
70
67
|
events: [
|
package/src/js/util/position.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { within } from './filter';
|
|
1
2
|
import { offset } from './dimensions';
|
|
2
3
|
import { clamp, isArray, ucfirst } from './lang';
|
|
3
4
|
import { offsetViewport, scrollParents } from './viewport';
|
|
@@ -32,7 +33,7 @@ function getPosition(element, target, options) {
|
|
|
32
33
|
|
|
33
34
|
let offsetPosition = position;
|
|
34
35
|
for (const [i, [prop, , start, end]] of Object.entries(dirs)) {
|
|
35
|
-
const viewport = getViewport(target[i], viewportOffset, boundary, i);
|
|
36
|
+
const viewport = getViewport(element, target[i], viewportOffset, boundary, i);
|
|
36
37
|
|
|
37
38
|
if (isWithin(position, viewport, i)) {
|
|
38
39
|
continue;
|
|
@@ -52,7 +53,7 @@ function getPosition(element, target, options) {
|
|
|
52
53
|
|
|
53
54
|
offsetBy = flip(element, target, options, i)[start] - position[start];
|
|
54
55
|
|
|
55
|
-
const scrollArea = getScrollArea(target[i], viewportOffset, i);
|
|
56
|
+
const scrollArea = getScrollArea(element, target[i], viewportOffset, i);
|
|
56
57
|
|
|
57
58
|
if (!isWithin(applyOffset(position, offsetBy, i), scrollArea, i)) {
|
|
58
59
|
if (isWithin(position, scrollArea, i)) {
|
|
@@ -132,8 +133,8 @@ function moveBy(attach, end, dim) {
|
|
|
132
133
|
return attach === 'center' ? dim / 2 : attach === end ? dim : 0;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
|
-
function getViewport(element, viewportOffset, boundary, i) {
|
|
136
|
-
let viewport = getIntersectionArea(...
|
|
136
|
+
function getViewport(element, target, viewportOffset, boundary, i) {
|
|
137
|
+
let viewport = getIntersectionArea(...commonScrollParents(element, target).map(offsetViewport));
|
|
137
138
|
|
|
138
139
|
if (viewportOffset) {
|
|
139
140
|
viewport[dirs[i][2]] += viewportOffset;
|
|
@@ -150,15 +151,19 @@ function getViewport(element, viewportOffset, boundary, i) {
|
|
|
150
151
|
return viewport;
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
function getScrollArea(element, viewportOffset, i) {
|
|
154
|
+
function getScrollArea(element, target, viewportOffset, i) {
|
|
154
155
|
const [prop, , start, end] = dirs[i];
|
|
155
|
-
const [scrollElement] =
|
|
156
|
+
const [scrollElement] = commonScrollParents(element, target);
|
|
156
157
|
const viewport = offsetViewport(scrollElement);
|
|
157
158
|
viewport[start] -= scrollElement[`scroll${ucfirst(start)}`] - viewportOffset;
|
|
158
159
|
viewport[end] = viewport[start] + scrollElement[`scroll${ucfirst(prop)}`] - viewportOffset;
|
|
159
160
|
return viewport;
|
|
160
161
|
}
|
|
161
162
|
|
|
163
|
+
function commonScrollParents(element, target) {
|
|
164
|
+
return scrollParents(target).filter((parent) => within(element, parent));
|
|
165
|
+
}
|
|
166
|
+
|
|
162
167
|
function getIntersectionArea(...rects) {
|
|
163
168
|
let area = {};
|
|
164
169
|
for (const rect of rects) {
|
package/tests/breadcrumb.html
CHANGED
|
@@ -14,25 +14,31 @@
|
|
|
14
14
|
|
|
15
15
|
<h1>Breadcrumb</h1>
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
17
|
+
<nav aria-label="Breadcrumb">
|
|
18
|
+
<ul class="uk-breadcrumb uk-width-xlarge">
|
|
19
|
+
<li><a href="#">Home</a></li>
|
|
20
|
+
<li><a href="#">Linked Category</a></li>
|
|
21
|
+
<li class="uk-disabled"><a>Disabled Category</a></li>
|
|
22
|
+
<li><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></li>
|
|
23
|
+
</ul>
|
|
24
|
+
</nav>
|
|
25
|
+
|
|
26
|
+
<nav aria-label="Breadcrumb">
|
|
27
|
+
<ul class="uk-breadcrumb uk-width-xlarge">
|
|
28
|
+
<li><a href="#">Home</a></li>
|
|
29
|
+
<li><a href="#">Linked Category</a></li>
|
|
30
|
+
<li class="uk-disabled"><a>Disabled Category</a></li>
|
|
31
|
+
<li class="uk-disabled"><a>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
|
|
32
|
+
</ul>
|
|
33
|
+
</nav>
|
|
34
|
+
|
|
35
|
+
<nav aria-label="Breadcrumb">
|
|
36
|
+
<ul class="uk-breadcrumb">
|
|
37
|
+
<li><a href="#">Home</a></li>
|
|
38
|
+
<li><a href="#">Linked Category</a></li>
|
|
39
|
+
<li><a href="#">Linked Category</a></li>
|
|
40
|
+
</ul>
|
|
41
|
+
</nav>
|
|
36
42
|
|
|
37
43
|
</div>
|
|
38
44
|
|
package/tests/comment.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<ul class="uk-comment-list">
|
|
20
20
|
<li>
|
|
21
|
-
<article class="uk-comment">
|
|
21
|
+
<article class="uk-comment" role="comment">
|
|
22
22
|
<header class="uk-comment-header">
|
|
23
23
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
24
24
|
<div class="uk-width-auto">
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
</article>
|
|
40
40
|
</li>
|
|
41
41
|
<li>
|
|
42
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
42
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
43
43
|
<header class="uk-comment-header uk-position-relative">
|
|
44
44
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
45
45
|
<div class="uk-width-auto">
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
</article>
|
|
59
59
|
<ul>
|
|
60
60
|
<li>
|
|
61
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
61
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
62
62
|
<header class="uk-comment-header uk-position-relative">
|
|
63
63
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
64
64
|
<div class="uk-width-auto">
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</article>
|
|
78
78
|
<ul>
|
|
79
79
|
<li>
|
|
80
|
-
<article class="uk-comment uk-comment-primary uk-visible-toggle" tabindex="-1">
|
|
80
|
+
<article class="uk-comment uk-comment-primary uk-visible-toggle" tabindex="-1" role="comment">
|
|
81
81
|
<header class="uk-comment-header uk-position-relative">
|
|
82
82
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
83
83
|
<div class="uk-width-auto">
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
</article>
|
|
97
97
|
<ul>
|
|
98
98
|
<li>
|
|
99
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
99
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
100
100
|
<header class="uk-comment-header uk-position-relative">
|
|
101
101
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
102
102
|
<div class="uk-width-auto">
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</ul>
|
|
120
120
|
</li>
|
|
121
121
|
<li>
|
|
122
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
122
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
123
123
|
<header class="uk-comment-header uk-position-relative">
|
|
124
124
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
125
125
|
<div class="uk-width-auto">
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
</ul>
|
|
142
142
|
</li>
|
|
143
143
|
<li>
|
|
144
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
144
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
145
145
|
<header class="uk-comment-header uk-position-relative">
|
|
146
146
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
147
147
|
<div class="uk-width-auto">
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
</article>
|
|
161
161
|
</li>
|
|
162
162
|
<li>
|
|
163
|
-
<article class="uk-comment uk-comment-primary uk-visible-toggle" tabindex="-1">
|
|
163
|
+
<article class="uk-comment uk-comment-primary uk-visible-toggle" tabindex="-1" role="comment">
|
|
164
164
|
<header class="uk-comment-header uk-position-relative">
|
|
165
165
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
166
166
|
<div class="uk-width-auto">
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
</article>
|
|
180
180
|
<ul>
|
|
181
181
|
<li>
|
|
182
|
-
<article class="uk-comment uk-visible-toggle" tabindex="-1">
|
|
182
|
+
<article class="uk-comment uk-visible-toggle" tabindex="-1" role="comment">
|
|
183
183
|
<header class="uk-comment-header uk-position-relative">
|
|
184
184
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
185
185
|
<div class="uk-width-auto">
|
package/tests/drop.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<h1>Drop</h1>
|
|
28
28
|
|
|
29
29
|
<div class="uk-margin uk-form-stacked">
|
|
30
|
-
<select id="js-style-switcher" class="uk-select uk-form-width-small">
|
|
30
|
+
<select id="js-style-switcher" class="uk-select uk-form-width-small" aria-label="Style switcher">
|
|
31
31
|
<option value="uk-dropdown">Dropdown</option>
|
|
32
32
|
<option value="uk-dropbar">Dropbar</option>
|
|
33
33
|
<option value="uk-card uk-card-body uk-card-default">Card Default</option>
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
<h2>Shift and Flip</h2>
|
|
558
558
|
|
|
559
559
|
<div class="uk-margin">
|
|
560
|
-
<select id="js-boundary-overflow-switcher" class="uk-select uk-form-width-small">
|
|
560
|
+
<select id="js-boundary-overflow-switcher" class="uk-select uk-form-width-small" aria-label="Boundary overflow switcher">
|
|
561
561
|
<option value="">Resize</option>
|
|
562
562
|
<option value="test-boundary-overflow">Scroll</option>
|
|
563
563
|
</select>
|
package/tests/dropbar.html
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<h1>Dropbar</h1>
|
|
31
31
|
|
|
32
32
|
<div class="uk-margin">
|
|
33
|
-
<select id="js-size-switcher" class="uk-select uk-form-width-small">
|
|
33
|
+
<select id="js-size-switcher" class="uk-select uk-form-width-small" aria-label="Size switcher">
|
|
34
34
|
<option value="">Default</option>
|
|
35
35
|
<option value="uk-dropbar-large">Large</option>
|
|
36
36
|
</select>
|
package/tests/dropdown.html
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<h1>Dropdown</h1>
|
|
32
32
|
|
|
33
33
|
<div class="uk-margin">
|
|
34
|
-
<select id="js-size-switcher" class="uk-select uk-form-width-small">
|
|
34
|
+
<select id="js-size-switcher" class="uk-select uk-form-width-small" aria-label="Size switcher">
|
|
35
35
|
<option value="">Default</option>
|
|
36
36
|
<option value="uk-dropdown-large">Large</option>
|
|
37
37
|
</select>
|
package/tests/filter.html
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<h1>Filter</h1>
|
|
43
43
|
|
|
44
44
|
<div class="uk-margin">
|
|
45
|
-
<select id="js-animation-switcher" class="uk-select uk-form-width-small">
|
|
45
|
+
<select id="js-animation-switcher" class="uk-select uk-form-width-small" aria-label="Animation switcher">
|
|
46
46
|
<option value="slide">Slide</option>
|
|
47
47
|
<option value="fade">Fade</option>
|
|
48
48
|
<option value="delayed-fade">Delayed Fade</option>
|