uikit 3.9.5-dev.3bc3deb62 → 3.9.5-dev.59737a9b5
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 +2 -0
- package/build/less.js +30 -11
- package/build/util.js +1 -20
- package/dist/css/uikit-core-rtl.css +7 -7
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +4 -4
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +7 -7
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/js/uikit.min.js +1 -1
- package/package.json +5 -7
- package/src/js/components/sortable.js +1 -1
- package/src/less/components/list.less +1 -1
- package/src/less/components/utility.less +1 -1
- package/src/scss/components/list.scss +1 -1
- package/src/scss/components/utility.scss +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
- Fix initial iframe width for `uk-responsive` which caused an expanded viewport on iOS devices
|
|
17
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
|
|
18
20
|
|
|
19
21
|
## 3.9.4 (November 25, 2021)
|
|
20
22
|
|
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.59737a9b5 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -648,7 +648,7 @@ a.uk-link-reset,
|
|
|
648
648
|
content: "";
|
|
649
649
|
/* 1 */
|
|
650
650
|
position: absolute;
|
|
651
|
-
top: calc(50% - ((0.2px + 0.05em) / 2));
|
|
651
|
+
top: calc(50% - (calc(0.2px + 0.05em) / 2));
|
|
652
652
|
/* 2 */
|
|
653
653
|
width: 2000px;
|
|
654
654
|
/* 3 */
|
|
@@ -773,7 +773,7 @@ a.uk-link-reset,
|
|
|
773
773
|
counter-increment: decimal;
|
|
774
774
|
}
|
|
775
775
|
[class*='uk-list'] > ::before {
|
|
776
|
-
content:
|
|
776
|
+
content: "";
|
|
777
777
|
position: relative;
|
|
778
778
|
right: -30px;
|
|
779
779
|
width: 30px;
|
|
@@ -7141,7 +7141,7 @@ td.uk-text-break {
|
|
|
7141
7141
|
position: absolute;
|
|
7142
7142
|
right: 50%;
|
|
7143
7143
|
top: 50%;
|
|
7144
|
-
--uk-position-translate-x:
|
|
7144
|
+
--uk-position-translate-x: 50%;
|
|
7145
7145
|
--uk-position-translate-y: -50%;
|
|
7146
7146
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
7147
7147
|
}
|
|
@@ -7676,7 +7676,7 @@ iframe.uk-cover {
|
|
|
7676
7676
|
vertical-align: middle;
|
|
7677
7677
|
}
|
|
7678
7678
|
.uk-box-shadow-bottom::after {
|
|
7679
|
-
content:
|
|
7679
|
+
content: "";
|
|
7680
7680
|
/* 1 */
|
|
7681
7681
|
position: absolute;
|
|
7682
7682
|
bottom: -30px;
|
|
@@ -8509,7 +8509,7 @@ iframe.uk-cover {
|
|
|
8509
8509
|
.uk-position-center {
|
|
8510
8510
|
top: calc(50% - var(--uk-position-margin-offset));
|
|
8511
8511
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8512
|
-
--uk-position-translate-x:
|
|
8512
|
+
--uk-position-translate-x: 50%;
|
|
8513
8513
|
--uk-position-translate-y: -50%;
|
|
8514
8514
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
8515
8515
|
/* 1 */
|
|
@@ -8540,7 +8540,7 @@ iframe.uk-cover {
|
|
|
8540
8540
|
.uk-position-top-center,
|
|
8541
8541
|
.uk-position-bottom-center {
|
|
8542
8542
|
right: calc(50% - var(--uk-position-margin-offset));
|
|
8543
|
-
--uk-position-translate-x:
|
|
8543
|
+
--uk-position-translate-x: 50%;
|
|
8544
8544
|
transform: translate(var(--uk-position-translate-x), 0);
|
|
8545
8545
|
/* 1 */
|
|
8546
8546
|
width: max-content;
|