@luna-park/plugin-motion 1.0.3 → 1.0.5
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/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.motion-buttons[data-v-af0f8a4b]{gap:var(--length-xxxxs);display:flex}.motion-buttons .button-wrapper.fill[data-v-af0f8a4b]{flex:1 1 0}.motion-buttons .button-wrapper.fill[data-v-af0f8a4b] .button{padding:0}.motion-buttons .button-wrapper:not(:first-child) .button[data-v-af0f8a4b]{border-top-left-radius:0;border-bottom-left-radius:0}.motion-buttons .button-wrapper:not(:last-child) .button[data-v-af0f8a4b]{border-top-right-radius:0;border-bottom-right-radius:0}.motion-card[data-v-0dfc3339]{gap:var(--length-xxs);background:var(--color-background-dark);padding:var(--length-xs);border-radius:var(--length-radius-s);flex-direction:column;display:flex}.motion-card .header[data-v-0dfc3339]{font-size:var(--font-size-xs);color:var(--color-content-lite);align-items:center;gap:var(--length-xxs);display:flex}.motion-card .header .title[data-v-0dfc3339]{align-items:center;gap:var(--length-xxs);flex:1;display:flex}.motion-card .header .title .icon[data-v-0dfc3339]{font-size:var(--font-icon-xxs);color:var(--color-content-liter)}.motion-card .header .title .hint[data-v-0dfc3339]{color:var(--color-content-litest)}.motion-panel[data-v-f1461af3]{flex-direction:column;display:flex}.motion-panel .cards[data-v-f1461af3]{margin:var(--length-xs);gap:var(--length-xs);flex-direction:column;display:flex}.motion-panel .curve[data-v-f1461af3]{width:16px;height:16px}.motion-panel .curve polyline[data-v-f1461af3]{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
2
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./runtime-
|
|
2
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./runtime-DqwIoCiw.js";
|
|
3
3
|
import { Fragment as ee, computed as te, createBlock as ne, createCommentVNode as re, createElementBlock as ie, createElementVNode as ae, createSlots as oe, createTextVNode as se, createVNode as ce, defineComponent as le, markRaw as ue, normalizeClass as de, openBlock as fe, ref as pe, renderList as me, renderSlot as he, toDisplayString as ge, unref as _e, watch as ve, withCtx as ye } from "vue";
|
|
4
4
|
import { LButton as be, LIcon as xe, LInspectorRow as Se, LTooltip as Ce } from "@luna-park/design";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
@@ -3779,7 +3779,7 @@ var Rd = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!-
|
|
|
3779
3779
|
}
|
|
3780
3780
|
}), [["__scopeId", "data-v-f1461af3"]]), jf = {
|
|
3781
3781
|
name: "@luna-park/plugin-motion",
|
|
3782
|
-
version: "1.0.
|
|
3782
|
+
version: "1.0.5",
|
|
3783
3783
|
private: !1,
|
|
3784
3784
|
description: "Motion plugin for Luna Park.",
|
|
3785
3785
|
keywords: [
|
|
@@ -3830,7 +3830,7 @@ var Rd = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!-
|
|
|
3830
3830
|
"vue-tsc": "^3.3.11"
|
|
3831
3831
|
},
|
|
3832
3832
|
peerDependencies: {
|
|
3833
|
-
"@luna-park/design": "^1.
|
|
3833
|
+
"@luna-park/design": "^1.4.0",
|
|
3834
3834
|
vue: "^3.5.24"
|
|
3835
3835
|
}
|
|
3836
3836
|
}, Mf = [
|
|
@@ -1810,6 +1810,8 @@ function Zn(e, t, n, r = e.options.delay ?? 0) {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
1812
|
function Qn(e) {
|
|
1813
|
+
let t = e.closest("[data-scroll-root]");
|
|
1814
|
+
if (t) return t;
|
|
1813
1815
|
for (let t = e.parentElement; t; t = t.parentElement) if (/auto|scroll|overlay/.test(getComputedStyle(t).overflowY) && t.scrollHeight > t.clientHeight) return t;
|
|
1814
1816
|
}
|
|
1815
1817
|
function $n({ controller: e, element: t, trigger: n }) {
|
package/dist/runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./runtime-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./runtime-DqwIoCiw.js";
|
|
2
2
|
export { a as configureMotion, n as easeNames, i as motionConfig, t as presets, e as replayMotion, r as vMotion };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luna-park/plugin-motion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Motion plugin for Luna Park.",
|
|
6
6
|
"keywords": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue-tsc": "^3.3.11"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@luna-park/design": "^1.
|
|
56
|
+
"@luna-park/design": "^1.4.0",
|
|
57
57
|
"vue": "^3.5.24"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|