uikit 3.9.5-dev.68c425657 → 3.9.5-dev.9bd185c49
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 +5 -1
- package/README.md +4 -4
- package/build/less.js +30 -11
- package/build/util.js +1 -20
- package/dist/css/uikit-core-rtl.css +17 -12
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +14 -9
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +17 -12
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +14 -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 +52 -62
- 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 +53 -63
- 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/img.js +40 -57
- package/src/js/util/dom.js +2 -5
- 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 +1 -1
- 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 +1 -1
- 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,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
-
- Add support for <picture> element in Img component
|
|
8
7
|
- Add 'aria-haspopup' attribute to Drop component's toggle
|
|
8
|
+
- Add padding variable to search icon in Search component
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
### Fixed
|
|
15
15
|
|
|
16
16
|
- Fix initial iframe width for `uk-responsive` which caused an expanded viewport on iOS devices
|
|
17
|
+
- Fix link toggle style if not hovered
|
|
18
|
+
- Fix compiling Slideshow css in rtl mode
|
|
19
|
+
- Fix Sortable component no longer scrolls `overflow: hidden` containers
|
|
20
|
+
- Fix 'yarn watch' not watching changes in less files
|
|
17
21
|
|
|
18
22
|
## 3.9.4 (November 25, 2021)
|
|
19
23
|
|
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.9bd185c49 | https://www.getuikit.com | (c) 2014 - 2021 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
|
*/
|
|
@@ -7122,13 +7127,13 @@ td.uk-text-break {
|
|
|
7122
7127
|
========================================================================== */
|
|
7123
7128
|
/*
|
|
7124
7129
|
* Works with iframes and embedded content
|
|
7125
|
-
* 1.
|
|
7130
|
+
* 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
|
|
7126
7131
|
* 2. Reset responsiveness for embedded content
|
|
7127
7132
|
* 3. Center object
|
|
7128
7133
|
* Note: Percent values on the `top` property only works if this element
|
|
7129
7134
|
* is absolute positioned or if the container has a height
|
|
7130
7135
|
*/
|
|
7131
|
-
|
|
7136
|
+
/* 1 */
|
|
7132
7137
|
[uk-cover] {
|
|
7133
7138
|
/* 2 */
|
|
7134
7139
|
max-width: none;
|
|
@@ -7136,7 +7141,7 @@ td.uk-text-break {
|
|
|
7136
7141
|
position: absolute;
|
|
7137
7142
|
right: 50%;
|
|
7138
7143
|
top: 50%;
|
|
7139
|
-
--uk-position-translate-x:
|
|
7144
|
+
--uk-position-translate-x: 50%;
|
|
7140
7145
|
--uk-position-translate-y: -50%;
|
|
7141
7146
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
7142
7147
|
}
|
|
@@ -7671,7 +7676,7 @@ iframe.uk-cover {
|
|
|
7671
7676
|
vertical-align: middle;
|
|
7672
7677
|
}
|
|
7673
7678
|
.uk-box-shadow-bottom::after {
|
|
7674
|
-
content:
|
|
7679
|
+
content: "";
|
|
7675
7680
|
/* 1 */
|
|
7676
7681
|
position: absolute;
|
|
7677
7682
|
bottom: -30px;
|
|
@@ -8504,7 +8509,7 @@ iframe.uk-cover {
|
|
|
8504
8509
|
.uk-position-center {
|
|
8505
8510
|
top: calc(50% - var(--uk-position-margin-offset));
|
|
8506
8511
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8507
|
-
--uk-position-translate-x:
|
|
8512
|
+
--uk-position-translate-x: 50%;
|
|
8508
8513
|
--uk-position-translate-y: -50%;
|
|
8509
8514
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
8510
8515
|
/* 1 */
|
|
@@ -8535,7 +8540,7 @@ iframe.uk-cover {
|
|
|
8535
8540
|
.uk-position-top-center,
|
|
8536
8541
|
.uk-position-bottom-center {
|
|
8537
8542
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8538
|
-
--uk-position-translate-x:
|
|
8543
|
+
--uk-position-translate-x: 50%;
|
|
8539
8544
|
transform: translate(var(--uk-position-translate-x), 0);
|
|
8540
8545
|
/* 1 */
|
|
8541
8546
|
width: max-content;
|