uikit 3.16.25-dev.12f581d90 → 3.16.25-dev.eeed10ecc
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/build/scss.js +17 -7
- package/dist/css/uikit-core-rtl.css +6 -2
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +6 -2
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +6 -2
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +6 -2
- 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 +3 -7
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +3 -7
- 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 +3 -7
- 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 +3 -7
- 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 +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 +4 -8
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/mixin/slider-nav.js +3 -8
- package/src/less/components/slider.less +8 -2
- package/src/scss/components/inverse.scss +0 -1
- package/src/scss/components/slider.scss +8 -2
- package/src/scss/mixins-theme.scss +560 -552
- package/src/scss/mixins.scss +456 -448
- package/src/scss/variables-theme.scss +2 -2
- package/src/scss/variables.scss +2 -2
- package/build/scss/inverse.scss +0 -30
package/build/scss.js
CHANGED
|
@@ -9,9 +9,12 @@ const coreMixins = {};
|
|
|
9
9
|
const themeMixins = {};
|
|
10
10
|
const coreVariables = {};
|
|
11
11
|
const themeVariables = {};
|
|
12
|
+
const inverseComponentMixins = [];
|
|
12
13
|
|
|
13
14
|
/* First Step: Go through all files */
|
|
14
|
-
for (const file of (await glob('src/less/**/*.less'))
|
|
15
|
+
for (const file of (await glob('src/less/**/*.less'))
|
|
16
|
+
.sort()
|
|
17
|
+
.sort((a, b) => a.endsWith('/inverse.less') - b.endsWith('/inverse.less'))) {
|
|
15
18
|
let source = await read(file);
|
|
16
19
|
|
|
17
20
|
/* replace all Less stuff with SCSS */
|
|
@@ -23,7 +26,7 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
|
|
|
23
26
|
/(:[^'"]*?\([^'"]+?)\s*\/\s*([0-9.-]+)\)/g,
|
|
24
27
|
(exp, m1, m2) => `${m1} * ${NP.round(1 / parseFloat(m2), 5)})`,
|
|
25
28
|
)
|
|
26
|
-
.replace(/--uk
|
|
29
|
+
.replace(/--uk-\S+: (\$\S+);/g, (exp, name) => exp.replace(name, `#{${name}}`))
|
|
27
30
|
.replace(/\\\$/g, '\\@') // revert classes using the @ symbol
|
|
28
31
|
.replace(/ e\(/g, ' unquote(') // convert escape function
|
|
29
32
|
.replace(/\.([\w-]*)\s*\((.*)\)\s*{/g, '@mixin $1($2){') // hook -> mixins
|
|
@@ -40,7 +43,7 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
|
|
|
40
43
|
}) // replace Less function fadeout with fade-out
|
|
41
44
|
.replace(/\.svg-fill/g, '@include svg-fill') // include svg-fill mixin
|
|
42
45
|
.replace(
|
|
43
|
-
/(.*):extend\((\.[\w\\@-]*) all\) when \((\$[\w-]*) = (
|
|
46
|
+
/(.*):extend\((\.[\w\\@-]*) all\) when \((\$[\w-]*) = (\w+)\) {}/g,
|
|
44
47
|
'@if ( $3 == $4 ) { $1 { @extend $2 !optional;} }',
|
|
45
48
|
) // update conditional extend and add !optional to ignore warnings
|
|
46
49
|
.replace(
|
|
@@ -63,10 +66,17 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
|
|
|
63
66
|
/* File name of the current file */
|
|
64
67
|
const filename = path.basename(file, '.less');
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
if (filename === 'inverse') {
|
|
70
|
+
source = source.replace(
|
|
71
|
+
/\*\//,
|
|
72
|
+
`*/\n@mixin hook-inverse() {\n${inverseComponentMixins
|
|
73
|
+
.map((mixin) => ` @include ${mixin}();\n`)
|
|
74
|
+
.join('')}}`,
|
|
75
|
+
);
|
|
76
|
+
} else if (source.match(/hook-inverse(?!-)/)) {
|
|
77
|
+
source = source.replace(/hook-inverse(?!-)/, `hook-inverse-component-${filename}`);
|
|
78
|
+
inverseComponentMixins.push(`hook-inverse-component-${filename}`);
|
|
79
|
+
}
|
|
70
80
|
|
|
71
81
|
/* get all the mixins and remove them from the file */
|
|
72
82
|
source = getMixinsFromFile(file, source);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.25-dev.
|
|
1
|
+
/*! UIkit 3.16.25-dev.eeed10ecc | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3608,10 +3608,14 @@ select.uk-form-width-xsmall {
|
|
|
3608
3608
|
/* Container
|
|
3609
3609
|
========================================================================== */
|
|
3610
3610
|
/*
|
|
3611
|
-
* Clip child elements
|
|
3611
|
+
* 1. Clip child elements
|
|
3612
|
+
* 2. Prevent accidental scrolling through elements in slide getting focused
|
|
3612
3613
|
*/
|
|
3613
3614
|
.uk-slider-container {
|
|
3615
|
+
/* 1 */
|
|
3614
3616
|
overflow: hidden;
|
|
3617
|
+
/* 2 */
|
|
3618
|
+
overflow: clip;
|
|
3615
3619
|
}
|
|
3616
3620
|
/*
|
|
3617
3621
|
* Widen container to prevent box-shadows from clipping, `large-box-shadow`
|