Skip to content

Commit

Permalink
Merge pull request #56 from Markus-GS/master
Browse files Browse the repository at this point in the history
Vendor 3.10.0
  • Loading branch information
Markus-GS committed Jan 17, 2022
2 parents a56a2da + 45c4603 commit 6df1f15
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 44 deletions.
43 changes: 31 additions & 12 deletions assets/uikit/css/uikit-rtl.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.9.4 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
/*! UIkit 3.10.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/* ========================================================================
Component: Base
========================================================================== */
Expand Down Expand Up @@ -489,7 +489,8 @@ template {
/* Muted
========================================================================== */
a.uk-link-muted,
.uk-link-muted a {
.uk-link-muted a,
.uk-link-toggle .uk-link-muted {
color: #999;
}
a.uk-link-muted:hover,
Expand All @@ -500,7 +501,8 @@ a.uk-link-muted:hover,
/* Text
========================================================================== */
a.uk-link-text,
.uk-link-text a {
.uk-link-text a,
.uk-link-toggle .uk-link-text {
color: inherit;
}
a.uk-link-text:hover,
Expand All @@ -511,7 +513,8 @@ a.uk-link-text:hover,
/* Heading
========================================================================== */
a.uk-link-heading,
.uk-link-heading a {
.uk-link-heading a,
.uk-link-toggle .uk-link-heading {
color: inherit;
}
a.uk-link-heading:hover,
Expand Down Expand Up @@ -656,7 +659,7 @@ a.uk-link-reset,
content: "";
/* 1 */
position: absolute;
top: calc(50% - ((0.2px + 0.05em) / 2));
top: calc(50% - (calc(0.2px + 0.05em) / 2));
/* 2 */
width: 2000px;
/* 3 */
Expand Down Expand Up @@ -781,7 +784,7 @@ a.uk-link-reset,
counter-increment: decimal;
}
[class*='uk-list'] > ::before {
content: '';
content: "";
position: relative;
right: -30px;
width: 30px;
Expand Down Expand Up @@ -3482,6 +3485,7 @@ select.uk-form-width-xsmall {
background: transparent;
font-size: 1.5rem;
}
/* Focus */
/*
* Icon
*/
Expand All @@ -3507,6 +3511,7 @@ select.uk-form-width-xsmall {
background: transparent;
font-size: 2.625rem;
}
/* Focus */
/*
* Icon
*/
Expand Down Expand Up @@ -7112,6 +7117,14 @@ ul.uk-nav-sub {
min-width: 1px;
}
}
/* Intrinsic Widths
========================================================================== */
.uk-width-max-content {
width: max-content;
}
.uk-width-min-content {
width: min-content;
}
/* ========================================================================
Component: Height
========================================================================== */
Expand Down Expand Up @@ -7526,21 +7539,21 @@ td.uk-text-break {
========================================================================== */
/*
* Works with iframes and embedded content
* 1. Apply transform instantly. Needed if transform is transitioned.
* 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
* 2. Reset responsiveness for embedded content
* 3. Center object
* Note: Percent values on the `top` property only works if this element
* is absolute positioned or if the container has a height
*/
.uk-cover,
/* 1 */
[uk-cover] {
/* 2 */
max-width: none;
/* 3 */
position: absolute;
right: 50%;
top: 50%;
--uk-position-translate-x: -50%;
--uk-position-translate-x: 50%;
--uk-position-translate-y: -50%;
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
}
Expand Down Expand Up @@ -8004,6 +8017,12 @@ iframe.uk-cover {
/* 3 */
max-width: none;
}
/*
* Fix initial iframe width. Without the viewport is expanded on iOS devices
*/
[uk-responsive] {
max-width: 100%;
}
/* Border
========================================================================== */
.uk-border-circle {
Expand Down Expand Up @@ -8069,7 +8088,7 @@ iframe.uk-cover {
vertical-align: middle;
}
.uk-box-shadow-bottom::after {
content: '';
content: "";
/* 1 */
position: absolute;
bottom: -30px;
Expand Down Expand Up @@ -8903,7 +8922,7 @@ iframe.uk-cover {
.uk-position-center {
top: calc(50% - var(--uk-position-margin-offset));
right: calc(50% - var(--uk-position-margin-offset));
--uk-position-translate-x: -50%;
--uk-position-translate-x: 50%;
--uk-position-translate-y: -50%;
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
/* 1 */
Expand Down Expand Up @@ -8934,7 +8953,7 @@ iframe.uk-cover {
.uk-position-top-center,
.uk-position-bottom-center {
right: calc(50% - var(--uk-position-margin-offset));
--uk-position-translate-x: -50%;
--uk-position-translate-x: 50%;
transform: translate(var(--uk-position-translate-x), 0);
/* 1 */
width: max-content;
Expand Down
2 changes: 1 addition & 1 deletion assets/uikit/css/uikit-rtl.min.css

Large diffs are not rendered by default.

37 changes: 28 additions & 9 deletions assets/uikit/css/uikit.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.9.4 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
/*! UIkit 3.10.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
/* ========================================================================
Component: Base
========================================================================== */
Expand Down Expand Up @@ -489,7 +489,8 @@ template {
/* Muted
========================================================================== */
a.uk-link-muted,
.uk-link-muted a {
.uk-link-muted a,
.uk-link-toggle .uk-link-muted {
color: #999;
}
a.uk-link-muted:hover,
Expand All @@ -500,7 +501,8 @@ a.uk-link-muted:hover,
/* Text
========================================================================== */
a.uk-link-text,
.uk-link-text a {
.uk-link-text a,
.uk-link-toggle .uk-link-text {
color: inherit;
}
a.uk-link-text:hover,
Expand All @@ -511,7 +513,8 @@ a.uk-link-text:hover,
/* Heading
========================================================================== */
a.uk-link-heading,
.uk-link-heading a {
.uk-link-heading a,
.uk-link-toggle .uk-link-heading {
color: inherit;
}
a.uk-link-heading:hover,
Expand Down Expand Up @@ -656,7 +659,7 @@ a.uk-link-reset,
content: "";
/* 1 */
position: absolute;
top: calc(50% - ((0.2px + 0.05em) / 2));
top: calc(50% - (calc(0.2px + 0.05em) / 2));
/* 2 */
width: 2000px;
/* 3 */
Expand Down Expand Up @@ -781,7 +784,7 @@ a.uk-link-reset,
counter-increment: decimal;
}
[class*='uk-list'] > ::before {
content: '';
content: "";
position: relative;
left: -30px;
width: 30px;
Expand Down Expand Up @@ -3482,6 +3485,7 @@ select.uk-form-width-xsmall {
background: transparent;
font-size: 1.5rem;
}
/* Focus */
/*
* Icon
*/
Expand All @@ -3507,6 +3511,7 @@ select.uk-form-width-xsmall {
background: transparent;
font-size: 2.625rem;
}
/* Focus */
/*
* Icon
*/
Expand Down Expand Up @@ -7112,6 +7117,14 @@ ul.uk-nav-sub {
min-width: 1px;
}
}
/* Intrinsic Widths
========================================================================== */
.uk-width-max-content {
width: max-content;
}
.uk-width-min-content {
width: min-content;
}
/* ========================================================================
Component: Height
========================================================================== */
Expand Down Expand Up @@ -7526,13 +7539,13 @@ td.uk-text-break {
========================================================================== */
/*
* Works with iframes and embedded content
* 1. Apply transform instantly. Needed if transform is transitioned.
* 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
* 2. Reset responsiveness for embedded content
* 3. Center object
* Note: Percent values on the `top` property only works if this element
* is absolute positioned or if the container has a height
*/
.uk-cover,
/* 1 */
[uk-cover] {
/* 2 */
max-width: none;
Expand Down Expand Up @@ -8004,6 +8017,12 @@ iframe.uk-cover {
/* 3 */
max-width: none;
}
/*
* Fix initial iframe width. Without the viewport is expanded on iOS devices
*/
[uk-responsive] {
max-width: 100%;
}
/* Border
========================================================================== */
.uk-border-circle {
Expand Down Expand Up @@ -8069,7 +8088,7 @@ iframe.uk-cover {
vertical-align: middle;
}
.uk-box-shadow-bottom::after {
content: '';
content: "";
/* 1 */
position: absolute;
bottom: -30px;
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.

36 changes: 20 additions & 16 deletions assets/uikit/js/uikit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! UIkit 3.9.4 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
/*! UIkit 3.10.0 | 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 @@ -634,8 +634,9 @@
function domPath(element) {
var names = [];
while (element.parentNode) {
if (element.id) {
names.unshift(("#" + (escape(element.id))));
var id = attr(element, 'id');
if (id) {
names.unshift(("#" + (escape(id))));
break;
} else {
var tagName = element.tagName;
Expand Down Expand Up @@ -1104,10 +1105,7 @@
return;
}

var unbind = on(document, 'DOMContentLoaded', function () {
unbind();
fn();
});
once(document, 'DOMContentLoaded', fn);
}

function empty(element) {
Expand Down Expand Up @@ -3465,7 +3463,7 @@
UIkit.data = '__uikit__';
UIkit.prefix = 'uk-';
UIkit.options = {};
UIkit.version = '3.9.4';
UIkit.version = '3.10.0';

globalAPI(UIkit);
hooksAPI(UIkit);
Expand Down Expand Up @@ -4105,7 +4103,7 @@

var cover = {

mixins: [Class, Video],
mixins: [Video],

props: {
width: Number,
Expand Down Expand Up @@ -4327,7 +4325,8 @@
this.target = this.$create('toggle', query(this.toggle, this.$el), {
target: this.$el,
mode: this.mode
});
}).$el;
attr(this.target, 'aria-haspopup', true);
}

},
Expand Down Expand Up @@ -7820,7 +7819,7 @@
{

read: function(ref, types) {
var height = ref.height;
var height$1 = ref.height;


this.inactive = !this.matchMedia || !isVisible(this.$el);
Expand All @@ -7831,15 +7830,20 @@

if (this.isActive && types.has('resize')) {
this.hide();
height = this.$el.offsetHeight;
height$1 = this.$el.offsetHeight;
this.show();
}

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

if (height$1 + this.offset > height(window)) {
this.inactive = true;
return false;
}

var referenceElement = this.isFixed ? this.placeholder : this.$el;
this.topOffset = offset(referenceElement).top;
this.bottomOffset = this.topOffset + height;
this.bottomOffset = this.topOffset + height$1;
this.offsetParentTop = offset(referenceElement.offsetParent).top;

var bottom = parseProp('bottom', this);
Expand All @@ -7849,7 +7853,7 @@
this.width = dimensions(isVisible(this.widthElement) ? this.widthElement : this.$el).width;

return {
height: height,
height: height$1,
top: offsetPosition(this.placeholder)[0],
margins: css(this.$el, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'])
};
Expand Down Expand Up @@ -12181,7 +12185,7 @@
var dist = (Date.now() - last) * .3;
last = Date.now();

scrollParents(document.elementFromPoint(x, pos.y)).reverse().some(function (scrollEl) {
scrollParents(document.elementFromPoint(x, pos.y), /auto|scroll/).reverse().some(function (scrollEl) {

var scroll = scrollEl.scrollTop;
var scrollHeight = scrollEl.scrollHeight;
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.2'
vendor: '3.9.4'
version: '2.6.3'
vendor: '3.10.0'
author: 'Friends Of REDAXO'
supportpage: https://github.com/FriendsOfREDAXO/uikit_collection
info: 'FOR UIKIT Collection'
Expand Down

0 comments on commit 6df1f15

Please sign in to comment.