uikit 3.16.6 → 3.16.7-dev.fcb5a4616
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 +6 -0
- package/README.md +2 -0
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +2 -2
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +2 -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 +5 -414
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +194 -1996
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +205 -1993
- 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 +3 -248
- 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 +143 -2429
- 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 +97 -2383
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +3 -408
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +81 -2367
- 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 +85 -78
- 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 +85 -78
- package/dist/js/uikit.min.js +1 -1
- package/package.json +9 -8
- package/src/js/api/app.js +1 -1
- package/src/js/api/boot.js +1 -1
- package/src/js/api/component.js +1 -1
- package/src/js/api/computed.js +1 -1
- package/src/js/api/events.js +1 -1
- package/src/js/api/global.js +43 -43
- package/src/js/api/index.js +5 -5
- package/src/js/api/instance.js +42 -41
- package/src/js/api/observables.js +1 -1
- package/src/js/api/observer.js +9 -1
- package/src/js/api/options.js +1 -1
- package/src/js/api/props.js +1 -1
- package/src/js/api/state.js +1 -1
- package/src/js/api/update.js +1 -1
- package/src/js/api/watch.js +1 -1
- package/src/less/components/dropdown.less +1 -1
- package/src/less/theme/dropdown.less +2 -0
- package/src/scss/components/dropdown.scss +1 -1
- package/src/scss/theme/dropdown.scss +2 -0
- package/src/scss/variables-theme.scss +2 -2
- package/src/scss/variables.scss +1 -1
package/dist/js/uikit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.
|
|
1
|
+
/*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -2140,7 +2140,7 @@
|
|
|
2140
2140
|
};
|
|
2141
2141
|
App.util = util;
|
|
2142
2142
|
App.options = {};
|
|
2143
|
-
App.version = "3.16.
|
|
2143
|
+
App.version = "3.16.7-dev.fcb5a4616";
|
|
2144
2144
|
|
|
2145
2145
|
const PREFIX = "uk-";
|
|
2146
2146
|
const DATA = "__uikit__";
|
|
@@ -2200,34 +2200,46 @@
|
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
2202
|
|
|
2203
|
-
App
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
component2 = (isString(component2) ? this.component(component2) : component2) || this;
|
|
2216
|
-
component2.options = mergeOptions(component2.options, mixin);
|
|
2217
|
-
};
|
|
2218
|
-
App.extend = function(options) {
|
|
2219
|
-
options = options || {};
|
|
2220
|
-
const Super = this;
|
|
2221
|
-
const Sub = function UIkitComponent(options2) {
|
|
2222
|
-
init$1(this, options2);
|
|
2203
|
+
function globalApi(App) {
|
|
2204
|
+
App.component = component;
|
|
2205
|
+
App.getComponents = getComponents;
|
|
2206
|
+
App.getComponent = getComponent;
|
|
2207
|
+
App.update = update;
|
|
2208
|
+
App.use = function(plugin) {
|
|
2209
|
+
if (plugin.installed) {
|
|
2210
|
+
return;
|
|
2211
|
+
}
|
|
2212
|
+
plugin.call(null, this);
|
|
2213
|
+
plugin.installed = true;
|
|
2214
|
+
return this;
|
|
2223
2215
|
};
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2216
|
+
App.mixin = function(mixin, component2) {
|
|
2217
|
+
component2 = (isString(component2) ? this.component(component2) : component2) || this;
|
|
2218
|
+
component2.options = mergeOptions(component2.options, mixin);
|
|
2219
|
+
};
|
|
2220
|
+
App.extend = function(options) {
|
|
2221
|
+
options = options || {};
|
|
2222
|
+
const Super = this;
|
|
2223
|
+
const Sub = function UIkitComponent(options2) {
|
|
2224
|
+
init$1(this, options2);
|
|
2225
|
+
};
|
|
2226
|
+
Sub.prototype = Object.create(Super.prototype);
|
|
2227
|
+
Sub.prototype.constructor = Sub;
|
|
2228
|
+
Sub.options = mergeOptions(Super.options, options);
|
|
2229
|
+
Sub.super = Super;
|
|
2230
|
+
Sub.extend = Super.extend;
|
|
2231
|
+
return Sub;
|
|
2232
|
+
};
|
|
2233
|
+
let container;
|
|
2234
|
+
Object.defineProperty(App, "container", {
|
|
2235
|
+
get() {
|
|
2236
|
+
return container || document.body;
|
|
2237
|
+
},
|
|
2238
|
+
set(element) {
|
|
2239
|
+
container = $(element);
|
|
2240
|
+
}
|
|
2241
|
+
});
|
|
2242
|
+
}
|
|
2231
2243
|
function update(element, e) {
|
|
2232
2244
|
element = element ? toNode(element) : document.body;
|
|
2233
2245
|
for (const parentEl of parents(element).reverse()) {
|
|
@@ -2235,63 +2247,55 @@
|
|
|
2235
2247
|
}
|
|
2236
2248
|
apply(element, (element2) => updateElement(element2, e));
|
|
2237
2249
|
}
|
|
2238
|
-
App.update = update;
|
|
2239
2250
|
function updateElement(element, e) {
|
|
2240
2251
|
const components = getComponents(element);
|
|
2241
2252
|
for (const name in components) {
|
|
2242
2253
|
callUpdate(components[name], e);
|
|
2243
2254
|
}
|
|
2244
2255
|
}
|
|
2245
|
-
let container;
|
|
2246
|
-
Object.defineProperty(App, "container", {
|
|
2247
|
-
get() {
|
|
2248
|
-
return container || document.body;
|
|
2249
|
-
},
|
|
2250
|
-
set(element) {
|
|
2251
|
-
container = $(element);
|
|
2252
|
-
}
|
|
2253
|
-
});
|
|
2254
2256
|
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
};
|
|
2263
|
-
App.prototype.$destroy = function(removeEl = false) {
|
|
2264
|
-
const instance = this;
|
|
2265
|
-
const { el } = instance.$options;
|
|
2266
|
-
if (el) {
|
|
2267
|
-
callDisconnected(instance);
|
|
2268
|
-
}
|
|
2269
|
-
callHook(instance, "destroy");
|
|
2270
|
-
detachFromElement(el, instance);
|
|
2271
|
-
if (removeEl) {
|
|
2272
|
-
remove$1(instance.$el);
|
|
2273
|
-
}
|
|
2274
|
-
};
|
|
2275
|
-
App.prototype.$create = createComponent;
|
|
2276
|
-
App.prototype.$emit = function(e) {
|
|
2277
|
-
callUpdate(this, e);
|
|
2278
|
-
};
|
|
2279
|
-
App.prototype.$update = function(element = this.$el, e) {
|
|
2280
|
-
update(element, e);
|
|
2281
|
-
};
|
|
2282
|
-
App.prototype.$reset = function() {
|
|
2283
|
-
callDisconnected(this);
|
|
2284
|
-
callConnected(this);
|
|
2285
|
-
};
|
|
2286
|
-
App.prototype.$getComponent = getComponent;
|
|
2287
|
-
Object.defineProperties(App.prototype, {
|
|
2288
|
-
$el: {
|
|
2289
|
-
get() {
|
|
2290
|
-
return this.$options.el;
|
|
2257
|
+
function instanceApi(App) {
|
|
2258
|
+
App.prototype.$mount = function(el) {
|
|
2259
|
+
const instance = this;
|
|
2260
|
+
attachToElement(el, instance);
|
|
2261
|
+
instance.$options.el = el;
|
|
2262
|
+
if (within(el, document)) {
|
|
2263
|
+
callConnected(instance);
|
|
2291
2264
|
}
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
|
|
2265
|
+
};
|
|
2266
|
+
App.prototype.$destroy = function(removeEl = false) {
|
|
2267
|
+
const instance = this;
|
|
2268
|
+
const { el } = instance.$options;
|
|
2269
|
+
if (el) {
|
|
2270
|
+
callDisconnected(instance);
|
|
2271
|
+
}
|
|
2272
|
+
callHook(instance, "destroy");
|
|
2273
|
+
detachFromElement(el, instance);
|
|
2274
|
+
if (removeEl) {
|
|
2275
|
+
remove$1(instance.$el);
|
|
2276
|
+
}
|
|
2277
|
+
};
|
|
2278
|
+
App.prototype.$create = createComponent;
|
|
2279
|
+
App.prototype.$emit = function(e) {
|
|
2280
|
+
callUpdate(this, e);
|
|
2281
|
+
};
|
|
2282
|
+
App.prototype.$update = function(element = this.$el, e) {
|
|
2283
|
+
update(element, e);
|
|
2284
|
+
};
|
|
2285
|
+
App.prototype.$reset = function() {
|
|
2286
|
+
callDisconnected(this);
|
|
2287
|
+
callConnected(this);
|
|
2288
|
+
};
|
|
2289
|
+
App.prototype.$getComponent = getComponent;
|
|
2290
|
+
Object.defineProperties(App.prototype, {
|
|
2291
|
+
$el: {
|
|
2292
|
+
get() {
|
|
2293
|
+
return this.$options.el;
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
$container: Object.getOwnPropertyDescriptor(App, "container")
|
|
2297
|
+
});
|
|
2298
|
+
}
|
|
2295
2299
|
function generateId(instance, el = instance.$el, postfix = "") {
|
|
2296
2300
|
if (el.id) {
|
|
2297
2301
|
return el.id;
|
|
@@ -2303,6 +2307,9 @@
|
|
|
2303
2307
|
return id;
|
|
2304
2308
|
}
|
|
2305
2309
|
|
|
2310
|
+
globalApi(App);
|
|
2311
|
+
instanceApi(App);
|
|
2312
|
+
|
|
2306
2313
|
function boot(App) {
|
|
2307
2314
|
if (inBrowser && window.MutationObserver) {
|
|
2308
2315
|
requestAnimationFrame(() => init(App));
|