Skip to content

Commit

Permalink
Merge pull request #57 from Markus-GS/master
Browse files Browse the repository at this point in the history
2.6.4 / Vendor 3.10.1
  • Loading branch information
Markus-GS authored Jan 20, 2022
2 parents 6df1f15 + ef4a88d commit 9fbd8e4
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 53 deletions.
13 changes: 8 additions & 5 deletions assets/uikit/css/uikit-rtl.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.10.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/*! UIkit 3.10.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/* ========================================================================
Component: Base
========================================================================== */
Expand Down Expand Up @@ -737,7 +737,7 @@ a.uk-link-reset,
/* Vertical
========================================================================== */
.uk-divider-vertical {
width: 1px;
width: max-content;
height: 100px;
margin-right: auto;
margin-left: auto;
Expand Down Expand Up @@ -7546,7 +7546,8 @@ td.uk-text-break {
* is absolute positioned or if the container has a height
*/
/* 1 */
[uk-cover] {
[uk-cover],
[data-uk-cover] {
/* 2 */
max-width: none;
/* 3 */
Expand All @@ -7557,7 +7558,8 @@ td.uk-text-break {
--uk-position-translate-y: -50%;
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
}
iframe.uk-cover {
iframe[uk-cover],
iframe[data-uk-cover] {
pointer-events: none;
}
/* Container
Expand Down Expand Up @@ -8020,7 +8022,8 @@ iframe.uk-cover {
/*
* Fix initial iframe width. Without the viewport is expanded on iOS devices
*/
[uk-responsive] {
[uk-responsive],
[data-uk-responsive] {
max-width: 100%;
}
/* Border
Expand Down
2 changes: 1 addition & 1 deletion assets/uikit/css/uikit-rtl.min.css

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions assets/uikit/css/uikit.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.10.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/*! UIkit 3.10.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/* ========================================================================
Component: Base
========================================================================== */
Expand Down Expand Up @@ -737,7 +737,7 @@ a.uk-link-reset,
/* Vertical
========================================================================== */
.uk-divider-vertical {
width: 1px;
width: max-content;
height: 100px;
margin-left: auto;
margin-right: auto;
Expand Down Expand Up @@ -7546,7 +7546,8 @@ td.uk-text-break {
* is absolute positioned or if the container has a height
*/
/* 1 */
[uk-cover] {
[uk-cover],
[data-uk-cover] {
/* 2 */
max-width: none;
/* 3 */
Expand All @@ -7557,7 +7558,8 @@ td.uk-text-break {
--uk-position-translate-y: -50%;
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
}
iframe.uk-cover {
iframe[uk-cover],
iframe[data-uk-cover] {
pointer-events: none;
}
/* Container
Expand Down Expand Up @@ -8020,7 +8022,8 @@ iframe.uk-cover {
/*
* Fix initial iframe width. Without the viewport is expanded on iOS devices
*/
[uk-responsive] {
[uk-responsive],
[data-uk-responsive] {
max-width: 100%;
}
/* Border
Expand Down
2 changes: 1 addition & 1 deletion assets/uikit/css/uikit.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/uikit/js/uikit-icons.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/uikit/js/uikit-icons.min.js

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions assets/uikit/js/uikit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.10.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/*! UIkit 3.10.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -146,7 +146,7 @@

function toNumber(value) {
var number = Number(value);
return !isNaN(number) ? number : false;
return isNaN(number) ? false : number;
}

function toFloat(value) {
Expand Down Expand Up @@ -1125,10 +1125,10 @@

parent = $(parent);

if (!parent.hasChildNodes()) {
return append(parent, element);
} else {
if (parent.hasChildNodes()) {
return insertNodes(element, function (element) { return parent.insertBefore(element, parent.firstChild); });
} else {
return append(parent, element);
}
}

Expand Down Expand Up @@ -2292,10 +2292,10 @@
scrollTop(element, scroll + top * percent);

// scroll more if we have not reached our destination
if (percent !== 1) {
requestAnimationFrame(step);
} else {
if (percent === 1) {
resolve();
} else {
requestAnimationFrame(step);
}

})();
Expand Down Expand Up @@ -3004,12 +3004,12 @@

events.forEach(function (event) {

if (!hasOwn(event, 'handler')) {
if (hasOwn(event, 'handler')) {
registerEvent(this$1$1, event);
} else {
for (var key in event) {
registerEvent(this$1$1, event[key], key);
}
} else {
registerEvent(this$1$1, event);
}

});
Expand Down Expand Up @@ -3390,10 +3390,10 @@
var instance = UIkit.getComponent(element, name);

if (instance) {
if (!data) {
return instance;
} else {
if (data) {
instance.$destroy();
} else {
return instance;
}
}

Expand Down Expand Up @@ -3463,7 +3463,7 @@
UIkit.data = '__uikit__';
UIkit.prefix = 'uk-';
UIkit.options = {};
UIkit.version = '3.10.0';
UIkit.version = '3.10.1';

globalAPI(UIkit);
hooksAPI(UIkit);
Expand Down Expand Up @@ -4193,7 +4193,7 @@
},

data: {
pos: ("bottom-" + (!isRtl ? 'left' : 'right')),
pos: ("bottom-" + (isRtl ? 'right' : 'left')),
flip: true,
offset: false,
clsPos: ''
Expand All @@ -4204,7 +4204,7 @@
pos: function(ref) {
var pos = ref.pos;

return (pos + (!includes(pos, '-') ? '-center' : '')).split('-');
return pos.split('-').concat('center').slice(0, 2);
},

dir: function() {
Expand Down Expand Up @@ -6592,7 +6592,7 @@

data: {
dropdown: navItem,
align: !isRtl ? 'left' : 'right',
align: isRtl ? 'right' : 'left',
clsDrop: 'uk-navbar-dropdown',
mode: undefined,
offset: undefined,
Expand Down Expand Up @@ -7834,7 +7834,7 @@
this.show();
}

height$1 = !this.isActive ? this.$el.offsetHeight : height$1;
height$1 = this.isActive ? height$1 : this.$el.offsetHeight;

if (height$1 + this.offset > height(window)) {
this.inactive = true;
Expand Down Expand Up @@ -8244,6 +8244,8 @@

};

var KEY_SPACE = 32;

var toggle = {

mixins: [Media, Togglable],
Expand Down Expand Up @@ -8366,12 +8368,11 @@
name: 'keydown',

filter: function() {
return includes(this.mode, 'click');
return includes(this.mode, 'click') && this.$el.tagName !== 'INPUT';
},

handler: function(e) {
// Space
if (e.keyCode === 32) {
if (e.keyCode === KEY_SPACE) {
e.preventDefault();
this.$el.click();
}
Expand Down Expand Up @@ -8970,12 +8971,12 @@

return fade.apply(void 0, args.concat( [40] ));
}
: !name
? function () {
: name
? slide
: function () {
action();
return Promise$1.resolve();
}
: slide;
};

return animationFn(action, target, this.duration)
.then(function () { return this$1$1.$update(target, 'resize'); }, noop);
Expand Down Expand Up @@ -9254,7 +9255,7 @@
if ( unit === void 0 ) unit = '%';

value += value ? unit : '';
return isIE ? ("translateX(" + value + ")") : ("translate3d(" + value + ", 0, 0)"); // currently not translate3d in IE, translate3d within translate3d does not work while transitioning
return isIE ? ("translateX(" + value + ")") : ("translate3d(" + value + ", 0, 0)"); // currently, not translate3d in IE, translate3d within translate3d does not work while transitioning
}

function scale3d(value) {
Expand Down Expand Up @@ -10968,7 +10969,7 @@
var p = ref$1[2];

css[prop] = "rgba(" + (start.map(function (value, i) {
value = value + p * (end[i] - value);
value += p * (end[i] - value);
return i === 3 ? toFloat(value) : parseInt(value, 10);
}).join(',')) + ")";
break;
Expand Down Expand Up @@ -11685,13 +11686,7 @@

percent /= 2;

return !isIn(type)
? dir < 0
? percent
: 1 - percent
: dir < 0
? 1 - percent
: percent;
return isIn(type) ^ dir < 0 ? percent : 1 - percent;
}

var Animations = assign({}, Animations$2, {
Expand Down Expand Up @@ -11834,6 +11829,10 @@

read: function() {

if (!this.list) {
return false;
}

var ref = this.ratio.split(':').map(Number);
var width = ref[0];
var height = ref[1];
Expand Down Expand Up @@ -12381,7 +12380,8 @@
}

this.toggleElement(this.tooltip, false, false).then(function () {
this$1$1.tooltip = remove$1(this$1$1.tooltip);
remove$1(this$1$1.tooltip);
this$1$1.tooltip = null;
this$1$1._unbind();
});
},
Expand Down
2 changes: 1 addition & 1 deletion assets/uikit/js/uikit.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: uikit_collection
version: '2.6.3'
vendor: '3.10.0'
version: '2.6.4'
vendor: '3.10.1'
author: 'Friends Of REDAXO'
supportpage: https://github.com/FriendsOfREDAXO/uikit_collection
info: 'FOR UIKIT Collection'
Expand Down

0 comments on commit 9fbd8e4

Please sign in to comment.