uikit 3.9.5-dev.1c5ab040d → 3.9.5-dev.24d436fbb
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 +17 -2
- package/README.md +4 -4
- package/build/less.js +30 -11
- package/build/util.js +1 -20
- package/dist/css/uikit-core-rtl.css +31 -12
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +28 -9
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +31 -12
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +28 -9
- 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 +1 -1
- 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 +2 -2
- 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 +61 -66
- 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 +62 -67
- package/dist/js/uikit.min.js +1 -1
- package/package.json +6 -8
- package/src/js/components/sortable.js +1 -1
- package/src/js/core/cover.js +1 -2
- package/src/js/core/drop.js +3 -2
- package/src/js/core/img.js +38 -53
- package/src/js/core/sticky.js +6 -1
- package/src/js/util/dom.js +2 -5
- package/src/js/util/selector.js +4 -2
- package/src/less/components/cover.less +1 -2
- package/src/less/components/link.less +6 -3
- package/src/less/components/list.less +1 -1
- package/src/less/components/search.less +31 -6
- package/src/less/components/utility.less +7 -1
- package/src/less/components/width.less +7 -0
- package/src/less/theme/search.less +6 -0
- package/src/scss/components/cover.scss +1 -2
- package/src/scss/components/link.scss +6 -3
- package/src/scss/components/list.scss +1 -1
- package/src/scss/components/search.scss +23 -6
- package/src/scss/components/utility.scss +7 -1
- package/src/scss/components/width.scss +7 -0
- package/src/scss/mixins-theme.scss +12 -0
- package/src/scss/mixins.scss +12 -0
- package/src/scss/theme/search.scss +6 -0
- package/src/scss/variables-theme.scss +3 -0
- package/src/scss/variables.scss +3 -0
- package/tests/search.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
-
- Add
|
|
7
|
+
- Add intrinsic widths to Width component
|
|
8
|
+
- Add 'aria-haspopup' attribute to Drop component's toggle
|
|
9
|
+
- Add padding variable to search icon in Search component
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Disable Sticky component if it's element is higher than viewport
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Fix initial iframe width for `uk-responsive` which caused an expanded viewport on iOS devices
|
|
18
|
+
- Fix link toggle style if not hovered
|
|
19
|
+
- Fix compiling Slideshow css in rtl mode
|
|
20
|
+
- Fix Sortable component no longer scrolls `overflow: hidden` containers
|
|
21
|
+
- Fix 'yarn watch' not watching changes in less files
|
|
22
|
+
- Fix `domPath()` for elements within forms that include inputs with name 'id'
|
|
8
23
|
|
|
9
24
|
## 3.9.4 (November 25, 2021)
|
|
10
25
|
|
|
@@ -205,7 +220,7 @@
|
|
|
205
220
|
### Fixed
|
|
206
221
|
|
|
207
222
|
- Fix animation set to `false` in Sortable component
|
|
208
|
-
- Fix Tooltip on elements with class
|
|
223
|
+
- Fix Tooltip on elements with class `uk-active` applied
|
|
209
224
|
- Fix Slider parallax states
|
|
210
225
|
|
|
211
226
|
## 3.6.18 (March 12, 2021)
|
package/README.md
CHANGED
|
@@ -46,13 +46,13 @@ Finding bugs, sending pull requests or improving our docs - any contribution is
|
|
|
46
46
|
|
|
47
47
|
## Versioning
|
|
48
48
|
|
|
49
|
-
UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](
|
|
49
|
+
UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](https://semver.org).
|
|
50
50
|
|
|
51
51
|
## Browser Support
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
|  |  |  |  |  |
|
|
54
|
+
| -------- | -------- | -------- | -------- | -------- |
|
|
55
|
+
| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
56
56
|
|
|
57
57
|
Tested With<br>[](https://www.browserstack.com)
|
|
58
58
|
|
package/build/less.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import rtlcss from 'rtlcss';
|
|
2
|
-
import postcss from 'postcss';
|
|
3
2
|
import {basename} from 'path';
|
|
4
3
|
import {args, banner, glob, minify, pathExists, read, readJson, renderLess, write} from './util.js';
|
|
5
4
|
|
|
@@ -42,12 +41,9 @@ async function compile(file, dist, develop, rtl) {
|
|
|
42
41
|
})).replace(/\.\.\/dist\//g, '');
|
|
43
42
|
|
|
44
43
|
if (rtl) {
|
|
45
|
-
output =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
css.insertAfter(css.nodes[css.nodes.length - 1], postcss.comment({text: 'rtl:end:rename'}));
|
|
49
|
-
},
|
|
50
|
-
rtlcss({
|
|
44
|
+
output = rtlcss.process(
|
|
45
|
+
output,
|
|
46
|
+
{
|
|
51
47
|
stringMap: [{
|
|
52
48
|
name: 'previous-next',
|
|
53
49
|
priority: 100,
|
|
@@ -58,10 +54,33 @@ async function compile(file, dist, develop, rtl) {
|
|
|
58
54
|
ignoreCase: false
|
|
59
55
|
}
|
|
60
56
|
}]
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
},
|
|
58
|
+
[
|
|
59
|
+
{
|
|
60
|
+
name: 'customNegate',
|
|
61
|
+
priority: 50,
|
|
62
|
+
directives: {
|
|
63
|
+
control: {},
|
|
64
|
+
value: []
|
|
65
|
+
},
|
|
66
|
+
processors: [
|
|
67
|
+
{
|
|
68
|
+
expr: ['--uk-position-translate-x', 'stroke-dashoffset'].join('|'),
|
|
69
|
+
action(prop, value, context) {
|
|
70
|
+
return {prop, value: context.util.negate(value)};
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
{
|
|
78
|
+
pre(root, postcss) {
|
|
79
|
+
root.prepend(postcss.comment({text: 'rtl:begin:rename'}));
|
|
80
|
+
root.append(postcss.comment({text: 'rtl:end:rename'}));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
);
|
|
65
84
|
}
|
|
66
85
|
|
|
67
86
|
await write(dist, banner + output);
|
package/build/util.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import less from 'less';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
3
|
import pLimit from 'p-limit';
|
|
4
|
-
import postcss from 'postcss';
|
|
5
4
|
import globImport from 'glob';
|
|
6
5
|
import {optimize} from 'svgo';
|
|
7
6
|
import {promisify} from 'util';
|
|
@@ -75,25 +74,7 @@ export async function minify(file) {
|
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
export function renderLess(data, options) {
|
|
78
|
-
return limit(async () =>
|
|
79
|
-
.use({
|
|
80
|
-
postcssPlugin: 'calc',
|
|
81
|
-
Once(root) {
|
|
82
|
-
root.walk(node => {
|
|
83
|
-
const {type} = node;
|
|
84
|
-
if (type === 'decl') {
|
|
85
|
-
node.value = postcss.list.space(node.value).map(value =>
|
|
86
|
-
value.startsWith('calc(')
|
|
87
|
-
? value.replace(/(.)calc/g, '$1')
|
|
88
|
-
: value
|
|
89
|
-
).join(' ');
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
})
|
|
94
|
-
.process((await less.render(data, options)).css)
|
|
95
|
-
.css
|
|
96
|
-
);
|
|
77
|
+
return limit(async () => (await less.render(data, options)).css);
|
|
97
78
|
}
|
|
98
79
|
|
|
99
80
|
export async function compile(file, dest, {external, globals, name, aliases, replaces} = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.9.5-dev.
|
|
1
|
+
/*! UIkit 3.9.5-dev.24d436fbb | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -478,7 +478,8 @@ template {
|
|
|
478
478
|
/* Muted
|
|
479
479
|
========================================================================== */
|
|
480
480
|
a.uk-link-muted,
|
|
481
|
-
.uk-link-muted a
|
|
481
|
+
.uk-link-muted a,
|
|
482
|
+
.uk-link-toggle .uk-link-muted {
|
|
482
483
|
color: #999;
|
|
483
484
|
}
|
|
484
485
|
a.uk-link-muted:hover,
|
|
@@ -489,7 +490,8 @@ a.uk-link-muted:hover,
|
|
|
489
490
|
/* Text
|
|
490
491
|
========================================================================== */
|
|
491
492
|
a.uk-link-text,
|
|
492
|
-
.uk-link-text a
|
|
493
|
+
.uk-link-text a,
|
|
494
|
+
.uk-link-toggle .uk-link-text {
|
|
493
495
|
color: inherit;
|
|
494
496
|
}
|
|
495
497
|
a.uk-link-text:hover,
|
|
@@ -500,7 +502,8 @@ a.uk-link-text:hover,
|
|
|
500
502
|
/* Heading
|
|
501
503
|
========================================================================== */
|
|
502
504
|
a.uk-link-heading,
|
|
503
|
-
.uk-link-heading a
|
|
505
|
+
.uk-link-heading a,
|
|
506
|
+
.uk-link-toggle .uk-link-heading {
|
|
504
507
|
color: inherit;
|
|
505
508
|
}
|
|
506
509
|
a.uk-link-heading:hover,
|
|
@@ -645,7 +648,7 @@ a.uk-link-reset,
|
|
|
645
648
|
content: "";
|
|
646
649
|
/* 1 */
|
|
647
650
|
position: absolute;
|
|
648
|
-
top: calc(50% - ((0.2px + 0.05em) / 2));
|
|
651
|
+
top: calc(50% - (calc(0.2px + 0.05em) / 2));
|
|
649
652
|
/* 2 */
|
|
650
653
|
width: 2000px;
|
|
651
654
|
/* 3 */
|
|
@@ -770,7 +773,7 @@ a.uk-link-reset,
|
|
|
770
773
|
counter-increment: decimal;
|
|
771
774
|
}
|
|
772
775
|
[class*='uk-list'] > ::before {
|
|
773
|
-
content:
|
|
776
|
+
content: "";
|
|
774
777
|
position: relative;
|
|
775
778
|
right: -30px;
|
|
776
779
|
width: 30px;
|
|
@@ -3231,6 +3234,7 @@ select.uk-form-width-xsmall {
|
|
|
3231
3234
|
background: transparent;
|
|
3232
3235
|
font-size: 1.5rem;
|
|
3233
3236
|
}
|
|
3237
|
+
/* Focus */
|
|
3234
3238
|
/*
|
|
3235
3239
|
* Icon
|
|
3236
3240
|
*/
|
|
@@ -3256,6 +3260,7 @@ select.uk-form-width-xsmall {
|
|
|
3256
3260
|
background: transparent;
|
|
3257
3261
|
font-size: 2.625rem;
|
|
3258
3262
|
}
|
|
3263
|
+
/* Focus */
|
|
3259
3264
|
/*
|
|
3260
3265
|
* Icon
|
|
3261
3266
|
*/
|
|
@@ -6715,6 +6720,14 @@ ul.uk-nav-sub {
|
|
|
6715
6720
|
min-width: 1px;
|
|
6716
6721
|
}
|
|
6717
6722
|
}
|
|
6723
|
+
/* Intrinsic Widths
|
|
6724
|
+
========================================================================== */
|
|
6725
|
+
.uk-width-max-content {
|
|
6726
|
+
width: max-content;
|
|
6727
|
+
}
|
|
6728
|
+
.uk-width-min-content {
|
|
6729
|
+
width: min-content;
|
|
6730
|
+
}
|
|
6718
6731
|
/* ========================================================================
|
|
6719
6732
|
Component: Height
|
|
6720
6733
|
========================================================================== */
|
|
@@ -7122,13 +7135,13 @@ td.uk-text-break {
|
|
|
7122
7135
|
========================================================================== */
|
|
7123
7136
|
/*
|
|
7124
7137
|
* Works with iframes and embedded content
|
|
7125
|
-
* 1.
|
|
7138
|
+
* 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
|
|
7126
7139
|
* 2. Reset responsiveness for embedded content
|
|
7127
7140
|
* 3. Center object
|
|
7128
7141
|
* Note: Percent values on the `top` property only works if this element
|
|
7129
7142
|
* is absolute positioned or if the container has a height
|
|
7130
7143
|
*/
|
|
7131
|
-
|
|
7144
|
+
/* 1 */
|
|
7132
7145
|
[uk-cover] {
|
|
7133
7146
|
/* 2 */
|
|
7134
7147
|
max-width: none;
|
|
@@ -7136,7 +7149,7 @@ td.uk-text-break {
|
|
|
7136
7149
|
position: absolute;
|
|
7137
7150
|
right: 50%;
|
|
7138
7151
|
top: 50%;
|
|
7139
|
-
--uk-position-translate-x:
|
|
7152
|
+
--uk-position-translate-x: 50%;
|
|
7140
7153
|
--uk-position-translate-y: -50%;
|
|
7141
7154
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
7142
7155
|
}
|
|
@@ -7600,6 +7613,12 @@ iframe.uk-cover {
|
|
|
7600
7613
|
/* 3 */
|
|
7601
7614
|
max-width: none;
|
|
7602
7615
|
}
|
|
7616
|
+
/*
|
|
7617
|
+
* Fix initial iframe width. Without the viewport is expanded on iOS devices
|
|
7618
|
+
*/
|
|
7619
|
+
[uk-responsive] {
|
|
7620
|
+
max-width: 100%;
|
|
7621
|
+
}
|
|
7603
7622
|
/* Border
|
|
7604
7623
|
========================================================================== */
|
|
7605
7624
|
.uk-border-circle {
|
|
@@ -7665,7 +7684,7 @@ iframe.uk-cover {
|
|
|
7665
7684
|
vertical-align: middle;
|
|
7666
7685
|
}
|
|
7667
7686
|
.uk-box-shadow-bottom::after {
|
|
7668
|
-
content:
|
|
7687
|
+
content: "";
|
|
7669
7688
|
/* 1 */
|
|
7670
7689
|
position: absolute;
|
|
7671
7690
|
bottom: -30px;
|
|
@@ -8498,7 +8517,7 @@ iframe.uk-cover {
|
|
|
8498
8517
|
.uk-position-center {
|
|
8499
8518
|
top: calc(50% - var(--uk-position-margin-offset));
|
|
8500
8519
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8501
|
-
--uk-position-translate-x:
|
|
8520
|
+
--uk-position-translate-x: 50%;
|
|
8502
8521
|
--uk-position-translate-y: -50%;
|
|
8503
8522
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
8504
8523
|
/* 1 */
|
|
@@ -8529,7 +8548,7 @@ iframe.uk-cover {
|
|
|
8529
8548
|
.uk-position-top-center,
|
|
8530
8549
|
.uk-position-bottom-center {
|
|
8531
8550
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8532
|
-
--uk-position-translate-x:
|
|
8551
|
+
--uk-position-translate-x: 50%;
|
|
8533
8552
|
transform: translate(var(--uk-position-translate-x), 0);
|
|
8534
8553
|
/* 1 */
|
|
8535
8554
|
width: max-content;
|