nuance-ui 0.3.0 → 0.3.2
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/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/accordion/accordion-header.d.vue.ts +28 -0
- package/dist/runtime/components/accordion/accordion-header.vue +79 -0
- package/dist/runtime/components/accordion/accordion-header.vue.d.ts +28 -0
- package/dist/runtime/components/accordion/accordion-item.d.vue.ts +18 -0
- package/dist/runtime/components/accordion/accordion-item.vue +44 -0
- package/dist/runtime/components/accordion/accordion-item.vue.d.ts +18 -0
- package/dist/runtime/components/accordion/accordion-panel.d.vue.ts +18 -0
- package/dist/runtime/components/accordion/accordion-panel.vue +40 -0
- package/dist/runtime/components/accordion/accordion-panel.vue.d.ts +18 -0
- package/dist/runtime/components/accordion/accordion.d.vue.ts +61 -0
- package/dist/runtime/components/accordion/accordion.module.css +1 -0
- package/dist/runtime/components/accordion/accordion.vue +91 -0
- package/dist/runtime/components/accordion/accordion.vue.d.ts +61 -0
- package/dist/runtime/components/accordion/index.d.ts +6 -0
- package/dist/runtime/components/accordion/index.js +4 -0
- package/dist/runtime/components/accordion/lib/context.d.ts +34 -0
- package/dist/runtime/components/accordion/lib/context.js +9 -0
- package/dist/runtime/components/collapse.d.vue.ts +65 -0
- package/dist/runtime/components/collapse.vue +144 -0
- package/dist/runtime/components/collapse.vue.d.ts +65 -0
- package/dist/runtime/components/date-time-picker.d.vue.ts +2 -2
- package/dist/runtime/components/date-time-picker.vue.d.ts +2 -2
- package/dist/runtime/components/dialog/ui/dialog-root.d.vue.ts +1 -1
- package/dist/runtime/components/dialog/ui/dialog-root.vue +1 -1
- package/dist/runtime/components/dialog/ui/dialog-root.vue.d.ts +1 -1
- package/dist/runtime/components/index.d.ts +5 -3
- package/dist/runtime/components/index.js +2 -1
- package/dist/runtime/components/input/date-picker.d.vue.ts +2 -2
- package/dist/runtime/components/input/date-picker.vue.d.ts +2 -2
- package/dist/runtime/components/kbd.d.vue.ts +25 -0
- package/dist/runtime/components/kbd.vue +28 -0
- package/dist/runtime/components/kbd.vue.d.ts +25 -0
- package/dist/runtime/components/link/lib.d.ts +2 -2
- package/dist/runtime/components/notification.d.vue.ts +82 -0
- package/dist/runtime/components/notification.vue +144 -0
- package/dist/runtime/components/notification.vue.d.ts +82 -0
- package/dist/runtime/components/tabs/tabs-root.d.vue.ts +1 -1
- package/dist/runtime/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/runtime/components/text.vue +1 -1
- package/dist/runtime/components/transition/index.d.ts +2 -0
- package/dist/runtime/components/transition/index.js +0 -0
- package/dist/runtime/components/transition/transition-group.d.vue.ts +35 -0
- package/dist/runtime/components/transition/transition-group.vue +32 -0
- package/dist/runtime/components/transition/transition-group.vue.d.ts +35 -0
- package/dist/runtime/components/transition/transition.vue +33 -0
- package/dist/runtime/components/tree/_ui/tree-item.vue +3 -3
- package/dist/runtime/composables/index.d.ts +1 -0
- package/dist/runtime/composables/index.js +1 -0
- package/dist/runtime/composables/use-countdown.d.ts +19 -0
- package/dist/runtime/composables/use-countdown.js +30 -0
- package/dist/runtime/notifications/index.d.ts +4 -0
- package/dist/runtime/notifications/index.js +3 -0
- package/dist/runtime/notifications/lib.d.ts +4 -0
- package/dist/runtime/notifications/lib.js +14 -0
- package/dist/runtime/notifications/notification-container.d.vue.ts +20 -0
- package/dist/runtime/notifications/notification-container.vue +35 -0
- package/dist/runtime/notifications/notification-container.vue.d.ts +20 -0
- package/dist/runtime/notifications/notifications-provider.d.vue.ts +22 -0
- package/dist/runtime/notifications/notifications-provider.vue +117 -0
- package/dist/runtime/notifications/notifications-provider.vue.d.ts +22 -0
- package/dist/runtime/notifications/notifications-store.d.ts +25 -0
- package/dist/runtime/notifications/notifications-store.js +80 -0
- package/dist/runtime/notifications/types.d.ts +50 -0
- package/dist/runtime/notifications/types.js +0 -0
- package/dist/runtime/notifications/use-notifications.d.ts +7 -0
- package/dist/runtime/notifications/use-notifications.js +10 -0
- package/dist/runtime/styles/global.css +1 -1
- package/dist/runtime/styles/transitions.css +1 -0
- package/dist/runtime/types/index.d.ts +2 -0
- package/package.json +10 -6
- package/dist/runtime/components/accordion.d.vue.ts +0 -79
- package/dist/runtime/components/accordion.vue +0 -44
- package/dist/runtime/components/accordion.vue.d.ts +0 -79
- package/dist/runtime/components/collapsible/collapsible-content.d.vue.ts +0 -18
- package/dist/runtime/components/collapsible/collapsible-content.vue +0 -76
- package/dist/runtime/components/collapsible/collapsible-content.vue.d.ts +0 -18
- package/dist/runtime/components/collapsible/collapsible-root.d.vue.ts +0 -42
- package/dist/runtime/components/collapsible/collapsible-root.vue +0 -41
- package/dist/runtime/components/collapsible/collapsible-root.vue.d.ts +0 -42
- package/dist/runtime/components/collapsible/collapsible-trigger.d.vue.ts +0 -13
- package/dist/runtime/components/collapsible/collapsible-trigger.vue +0 -20
- package/dist/runtime/components/collapsible/collapsible-trigger.vue.d.ts +0 -13
- package/dist/runtime/components/collapsible/index.d.ts +0 -3
- package/dist/runtime/components/collapsible/index.js +0 -1
- package/dist/runtime/components/transition.vue +0 -42
- /package/dist/runtime/components/{transition.d.vue.ts → transition/transition.d.vue.ts} +0 -0
- /package/dist/runtime/components/{transition.vue.d.ts → transition/transition.vue.d.ts} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<script setup>
|
|
6
|
-
import { unrefElement, useEventListener } from "@vueuse/core";
|
|
7
|
-
import { computed, onMounted, ref, shallowRef, useTemplateRef, watch } from "vue";
|
|
8
|
-
import Box from "../box.vue";
|
|
9
|
-
import { useCollapsibleState } from "./collapsible-root.vue";
|
|
10
|
-
const props = defineProps({
|
|
11
|
-
forceMount: { type: Boolean, required: false },
|
|
12
|
-
is: { type: null, required: false },
|
|
13
|
-
mod: { type: [Object, Array, null], required: false }
|
|
14
|
-
});
|
|
15
|
-
const ctx = useCollapsibleState();
|
|
16
|
-
const el = useTemplateRef("el");
|
|
17
|
-
const width = ref(0);
|
|
18
|
-
const height = ref(0);
|
|
19
|
-
const isMountAnimationPrevented = ref(ctx.open.value);
|
|
20
|
-
const savedStyle = shallowRef();
|
|
21
|
-
watch(() => ctx.open.value, () => {
|
|
22
|
-
const node = unrefElement(el);
|
|
23
|
-
if (!node)
|
|
24
|
-
return;
|
|
25
|
-
if (!savedStyle.value) {
|
|
26
|
-
savedStyle.value = {
|
|
27
|
-
transitionDuration: node.style.transitionDuration,
|
|
28
|
-
animationName: node.style.animationName
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
node.style.transitionDuration = "0s";
|
|
32
|
-
node.style.animationName = "none";
|
|
33
|
-
height.value = node.scrollHeight;
|
|
34
|
-
width.value = node.scrollWidth;
|
|
35
|
-
if (!isMountAnimationPrevented.value) {
|
|
36
|
-
requestAnimationFrame(() => {
|
|
37
|
-
node.style.transitionDuration = savedStyle.value.transitionDuration;
|
|
38
|
-
node.style.animationName = savedStyle.value.animationName;
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}, { immediate: true, flush: "post" });
|
|
42
|
-
onMounted(() => {
|
|
43
|
-
requestAnimationFrame(() => {
|
|
44
|
-
isMountAnimationPrevented.value = false;
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
const isPresent = computed(() => props.forceMount || ctx.open.value);
|
|
48
|
-
const dataState = computed(() => {
|
|
49
|
-
if (isMountAnimationPrevented.value)
|
|
50
|
-
return void 0;
|
|
51
|
-
return ctx.open.value ? "open" : "closed";
|
|
52
|
-
});
|
|
53
|
-
useEventListener(el, "beforematch", () => {
|
|
54
|
-
requestAnimationFrame(() => ctx.onOpenToggle());
|
|
55
|
-
});
|
|
56
|
-
</script>
|
|
57
|
-
|
|
58
|
-
<template>
|
|
59
|
-
<Box
|
|
60
|
-
v-if='ctx.unmountOnHide.value ? isPresent : true'
|
|
61
|
-
v-bind='$attrs'
|
|
62
|
-
:id='ctx.contentId'
|
|
63
|
-
ref='el'
|
|
64
|
-
:hidden='isPresent ? void 0 : ctx.unmountOnHide.value ? void 0 : "until-found"'
|
|
65
|
-
:mod='[{
|
|
66
|
-
disabled: ctx.disabled,
|
|
67
|
-
state: dataState
|
|
68
|
-
}, mod]'
|
|
69
|
-
:style='{
|
|
70
|
-
"--collapsible-content-height": `${height}px`,
|
|
71
|
-
"--collapsible-content-width": `${width}px`
|
|
72
|
-
}'
|
|
73
|
-
>
|
|
74
|
-
<slot />
|
|
75
|
-
</Box>
|
|
76
|
-
</template>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { BoxProps } from '../box.vue.js';
|
|
2
|
-
export interface CollapsibleContentProps extends BoxProps {
|
|
3
|
-
/**
|
|
4
|
-
* Used to force mounting when more control is needed. Useful when
|
|
5
|
-
* controlling animation with Vue animation libraries.
|
|
6
|
-
*/
|
|
7
|
-
forceMount?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?: (props: {}) => any;
|
|
13
|
-
}>;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
import type { BoxProps } from '../box.vue.js';
|
|
3
|
-
export interface CollapsibleRootProps extends BoxProps {
|
|
4
|
-
/**
|
|
5
|
-
* The open state of the collapsible when it is initially rendered.
|
|
6
|
-
* Use when you do not need to control its open state.
|
|
7
|
-
*/
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
/** When `true`, prevents the user from interacting with the collapsible. */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** When `true`, the element will be unmounted on closed state. */
|
|
12
|
-
unmountOnHide?: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface CollapsibleRootContext {
|
|
15
|
-
contentId: string;
|
|
16
|
-
disabled?: Ref<boolean>;
|
|
17
|
-
open: Ref<boolean>;
|
|
18
|
-
unmountOnHide: Ref<boolean>;
|
|
19
|
-
onOpenToggle: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const useCollapsibleState: () => CollapsibleRootContext;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
|
-
export default _default;
|
|
24
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleRootProps & {
|
|
25
|
-
open?: boolean;
|
|
26
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:open": (value: boolean) => any;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<CollapsibleRootProps & {
|
|
29
|
-
open?: boolean;
|
|
30
|
-
}> & Readonly<{
|
|
31
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
|
-
default?: (props: {
|
|
34
|
-
/** Current open state */
|
|
35
|
-
open: boolean;
|
|
36
|
-
}) => any;
|
|
37
|
-
}>;
|
|
38
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { toRefs } from "vue";
|
|
3
|
-
import { createStrictInjection } from "#imports";
|
|
4
|
-
import Box from "../box.vue";
|
|
5
|
-
const injectionKey = /* @__PURE__ */ Symbol("collapsible-ctx");
|
|
6
|
-
const [useProvide, useInject] = createStrictInjection((state) => state, {
|
|
7
|
-
name: "CollapsibleRoot",
|
|
8
|
-
injectionKey
|
|
9
|
-
});
|
|
10
|
-
export const useCollapsibleState = useInject;
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<script setup>
|
|
14
|
-
const props = defineProps({
|
|
15
|
-
defaultOpen: { type: Boolean, required: false },
|
|
16
|
-
disabled: { type: Boolean, required: false },
|
|
17
|
-
unmountOnHide: { type: Boolean, required: false },
|
|
18
|
-
is: { type: null, required: false },
|
|
19
|
-
mod: { type: [Object, Array, null], required: false }
|
|
20
|
-
});
|
|
21
|
-
defineSlots();
|
|
22
|
-
const open = defineModel("open", { type: Boolean, ...{ default: false } });
|
|
23
|
-
const { disabled, unmountOnHide } = toRefs(props);
|
|
24
|
-
useProvide({
|
|
25
|
-
contentId: "",
|
|
26
|
-
disabled,
|
|
27
|
-
open,
|
|
28
|
-
unmountOnHide,
|
|
29
|
-
onOpenToggle: () => {
|
|
30
|
-
if (disabled.value)
|
|
31
|
-
return;
|
|
32
|
-
open.value = !open.value;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<template>
|
|
38
|
-
<Box :mod='[{ disabled, open: open ? "open" : "closed" }, mod]'>
|
|
39
|
-
<slot :open='open' />
|
|
40
|
-
</Box>
|
|
41
|
-
</template>
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
import type { BoxProps } from '../box.vue.js';
|
|
3
|
-
export interface CollapsibleRootProps extends BoxProps {
|
|
4
|
-
/**
|
|
5
|
-
* The open state of the collapsible when it is initially rendered.
|
|
6
|
-
* Use when you do not need to control its open state.
|
|
7
|
-
*/
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
/** When `true`, prevents the user from interacting with the collapsible. */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** When `true`, the element will be unmounted on closed state. */
|
|
12
|
-
unmountOnHide?: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface CollapsibleRootContext {
|
|
15
|
-
contentId: string;
|
|
16
|
-
disabled?: Ref<boolean>;
|
|
17
|
-
open: Ref<boolean>;
|
|
18
|
-
unmountOnHide: Ref<boolean>;
|
|
19
|
-
onOpenToggle: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const useCollapsibleState: () => CollapsibleRootContext;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
|
-
export default _default;
|
|
24
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleRootProps & {
|
|
25
|
-
open?: boolean;
|
|
26
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:open": (value: boolean) => any;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<CollapsibleRootProps & {
|
|
29
|
-
open?: boolean;
|
|
30
|
-
}> & Readonly<{
|
|
31
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
|
-
default?: (props: {
|
|
34
|
-
/** Current open state */
|
|
35
|
-
open: boolean;
|
|
36
|
-
}) => any;
|
|
37
|
-
}>;
|
|
38
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_10: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_10) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import Renderless from "../renderless/renderless.vue";
|
|
3
|
-
import { useCollapsibleState } from "./collapsible-root.vue";
|
|
4
|
-
const ctx = useCollapsibleState();
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<template>
|
|
8
|
-
<Renderless
|
|
9
|
-
:mod='{
|
|
10
|
-
disabled: ctx.disabled?.value,
|
|
11
|
-
state: ctx.open.value ? "open" : "closed"
|
|
12
|
-
}'
|
|
13
|
-
:aria-controls='ctx.contentId'
|
|
14
|
-
:aria-expanded='ctx.open.value'
|
|
15
|
-
:disabled='ctx.disabled?.value'
|
|
16
|
-
@click='ctx.onOpenToggle()'
|
|
17
|
-
>
|
|
18
|
-
<slot />
|
|
19
|
-
</Renderless>
|
|
20
|
-
</template>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_10: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_10) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useCollapsibleState } from "./collapsible-root.vue";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed } from "vue";
|
|
3
|
-
const {
|
|
4
|
-
name = "pop-bottom-left",
|
|
5
|
-
duration = 250,
|
|
6
|
-
delay,
|
|
7
|
-
appear,
|
|
8
|
-
mode
|
|
9
|
-
} = defineProps({
|
|
10
|
-
name: { type: String, required: false },
|
|
11
|
-
duration: { type: Number, required: false },
|
|
12
|
-
delay: { type: Number, required: false },
|
|
13
|
-
mode: { type: String, required: false },
|
|
14
|
-
appear: { type: Boolean, required: false }
|
|
15
|
-
});
|
|
16
|
-
const emit = defineEmits(["afterLeave"]);
|
|
17
|
-
const style = computed(() => ({
|
|
18
|
-
"--transition-duration": `${duration}ms`,
|
|
19
|
-
"--transition-delay": delay ? `${delay}ms` : void 0
|
|
20
|
-
}));
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
<template>
|
|
24
|
-
<Transition
|
|
25
|
-
:class='$style.root'
|
|
26
|
-
:style
|
|
27
|
-
:name
|
|
28
|
-
:mode
|
|
29
|
-
:appear
|
|
30
|
-
@after-leave='() => emit("afterLeave")'
|
|
31
|
-
>
|
|
32
|
-
<slot />
|
|
33
|
-
</Transition>
|
|
34
|
-
</template>
|
|
35
|
-
|
|
36
|
-
<style module>
|
|
37
|
-
.root{--transition-delay:0ms;--transition-duration:250ms}
|
|
38
|
-
</style>
|
|
39
|
-
|
|
40
|
-
<style>
|
|
41
|
-
.fade-enter-active,.fade-leave-active{transition:opacity var(--transition-duration) var(--transition-delay) ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-up-enter-active,.fade-up-leave-active{transform:translateY(0);transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.fade-up-enter-from,.fade-up-leave-to{opacity:0;transform:translateY(30px)}.fade-down-enter-active,.fade-down-leave-active{transform:translateY(0);transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.fade-down-enter-from,.fade-down-leave-to{opacity:0;transform:translateY(-30px)}.fade-left-enter-active,.fade-left-leave-active{transform:translateX(0);transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.fade-left-enter-from,.fade-left-leave-to{opacity:0;transform:translateX(30px)}.fade-right-enter-active,.fade-right-leave-active{transform:translateX(0);transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.fade-right-enter-from,.fade-right-leave-to{opacity:0;transform:translateX(-30px)}.scale-enter-active,.scale-leave-active{transform:scale(1);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.scale-enter-from,.scale-leave-to{opacity:0;transform:scale(0)}.scale-y-enter-active,.scale-y-leave-active{transform:scaleY(1);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.scale-y-enter-from,.scale-y-leave-to{opacity:0;transform:scaleY(0)}.scale-x-enter-active,.scale-x-leave-active{transform:scaleX(1);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.scale-x-enter-from,.scale-x-leave-to{opacity:0;transform:scaleX(0)}.skew-up-enter-active,.skew-up-leave-active{transform:translateY(0) skew(0deg,0deg);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.skew-up-enter-from,.skew-up-leave-to{opacity:0;transform:translateY(-20px) skew(-10deg,-5deg)}.skew-down-enter-active,.skew-down-leave-active{transform:translateY(0) skew(0deg,0deg);transform-origin:bottom;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.skew-down-enter-from,.skew-down-leave-to{opacity:0;transform:translateY(20px) skew(-10deg,-5deg)}.rotate-left-enter-active,.rotate-left-leave-active{transform:translateY(0) rotate(0deg);transform-origin:bottom;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.rotate-left-enter-from,.rotate-left-leave-to{opacity:0;transform:translateY(20px) rotate(-5deg)}.rotate-right-enter-active,.rotate-right-leave-active{transform:translateY(0) rotate(0deg);transform-origin:bottom;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.rotate-right-enter-from,.rotate-right-leave-to{opacity:0;transform:translateY(20px) rotate(5deg)}.slide-down-enter-active,.slide-down-leave-active{transform:translateY(0);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.slide-down-enter-from,.slide-down-leave-to{opacity:0;transform:translateY(-100%)}.slide-up-enter-active,.slide-up-leave-active{transform:translateY(0);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.slide-up-enter-from,.slide-up-leave-to{opacity:0;transform:translateY(100%)}.slide-left-enter-active,.slide-left-leave-active{transform:translateX(0);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.slide-left-enter-from,.slide-left-leave-to{opacity:0;transform:translateX(100%)}.slide-right-enter-active,.slide-right-leave-active{transform:translateX(0);transform-origin:top;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.slide-right-enter-from,.slide-right-leave-to{opacity:0;transform:translateX(-100%)}.pop-enter-active,.pop-leave-active{transform:scale(1);transform-origin:center center;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.pop-enter-from,.pop-leave-to{opacity:0;transform:scale(.9) translateY(10px);transform-origin:center center}.pop-bottom-left-enter-active,.pop-bottom-left-leave-active{transform:scale(1);transform-origin:bottom left;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.pop-bottom-left-enter-from,.pop-bottom-left-leave-to{opacity:0;transform:scale(.9) translateY(10px);transform-origin:bottom left}.pop-bottom-right-enter-active,.pop-bottom-right-leave-active{transform:scale(1);transform-origin:bottom right;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.pop-bottom-right-enter-from,.pop-bottom-right-leave-to{opacity:0;transform:scale(.9) translateY(10px);transform-origin:bottom right}.pop-top-left-enter-active,.pop-top-left-leave-active{transform:scale(1);transform-origin:top left;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.pop-top-left-enter-from,.pop-top-left-leave-to{opacity:0;transform:scale(.9) translateY(-10px);transform-origin:top left}.pop-top-right-enter-active,.pop-top-right-leave-active{transform:scale(1);transform-origin:top right;transition:opacity var(--transition-duration) var(--transition-delay) ease,transform var(--transition-duration) ease}.pop-top-right-enter-from,.pop-top-right-leave-to{opacity:0;transform:scale(.9) translateY(-10px);transform-origin:top right}
|
|
42
|
-
</style>
|
|
File without changes
|
|
File without changes
|