@noction/vue-bezier 2.0.0-beta.1 → 2.0.1
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/LICENSE +21 -0
- package/README.md +137 -60
- package/dist/types/components/Blur/BlurTransition.vue.d.ts +23 -0
- package/dist/types/components/ClipPath/ClipPathTransition.vue.d.ts +17 -0
- package/dist/types/components/Dissolve/DissolveListTransition.vue.d.ts +14 -0
- package/dist/types/components/Dissolve/DissolveTransition.vue.d.ts +14 -0
- package/dist/types/components/FadeSlide/FadeSlideTransition.vue.d.ts +14 -0
- package/dist/types/components/Push/PushTransition.vue.d.ts +17 -0
- package/dist/types/components/Rotate/RotateTransition.vue.d.ts +14 -0
- package/dist/types/components/Scale/ScaleListTransition.vue.d.ts +14 -0
- package/dist/types/components/Scale/ScaleTransition.vue.d.ts +8 -30
- package/dist/types/components/Wipe/WipeTransition.vue.d.ts +14 -0
- package/dist/types/components/Zoom/ZoomTransition.vue.d.ts +14 -0
- package/dist/types/components/index.d.ts +10 -20
- package/dist/vue-bezier.css +2 -0
- package/dist/vue-bezier.js +529 -919
- package/dist/web-types.json +210 -442
- package/package.json +21 -23
- package/dist/style.css +0 -1
- package/dist/types/components/Collapse/CollapseTransition.vue.d.ts +0 -36
- package/dist/types/components/Fade/FadeTransition.vue.d.ts +0 -36
- package/dist/types/components/Slide/SlideXLeftTransition.vue.d.ts +0 -36
- package/dist/types/components/Slide/SlideXRightTransition.vue.d.ts +0 -36
- package/dist/types/components/Slide/SlideYDownTransition.vue.d.ts +0 -36
- package/dist/types/components/Slide/SlideYUpTransition.vue.d.ts +0 -36
- package/dist/types/components/Zoom/ZoomCenterTransition.vue.d.ts +0 -36
- package/dist/types/components/Zoom/ZoomUpTransition.vue.d.ts +0 -36
- package/dist/types/components/Zoom/ZoomXTransition.vue.d.ts +0 -36
- package/dist/types/components/Zoom/ZoomYTransition.vue.d.ts +0 -36
- package/dist/types/components/v2/Blur/BlurTransition.vue.d.ts +0 -34
- package/dist/types/components/v2/ClipPath/ClipPathTransition.vue.d.ts +0 -21
- package/dist/types/components/v2/Dissolve/DissolveListTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/Dissolve/DissolveTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/FadeSlide/FadeSlideTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/Push/PushTransition.vue.d.ts +0 -21
- package/dist/types/components/v2/Rotate/RotateTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/Scale/ScaleListTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/Wipe/WipeTransition.vue.d.ts +0 -17
- package/dist/types/components/v2/Zoom/ZoomTransition.vue.d.ts +0 -17
- package/dist/types/composables/buildComponentType.d.ts +0 -4
- package/dist/types/composables/index.d.ts +0 -3
- package/dist/types/composables/useHooks.d.ts +0 -15
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019-PRESENT Noction<sales@noction.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -9,33 +9,31 @@
|
|
|
9
9
|
## Install :coffee:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
12
|
+
pnpm add @noction/vue-bezier
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Local usage :rocket:
|
|
16
16
|
|
|
17
17
|
```vue
|
|
18
|
-
<script>
|
|
19
|
-
import {
|
|
18
|
+
<script setup>
|
|
19
|
+
import { DissolveTransition } from '@noction/vue-bezier'
|
|
20
|
+
import { ref } from 'vue'
|
|
20
21
|
import '@noction/vue-bezier/styles'
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
components: {
|
|
24
|
-
FadeTransition
|
|
25
|
-
}
|
|
26
|
-
}
|
|
23
|
+
const show = ref(true)
|
|
27
24
|
</script>
|
|
28
25
|
|
|
29
26
|
<template>
|
|
30
|
-
<
|
|
31
|
-
<div v-
|
|
32
|
-
<p>
|
|
27
|
+
<DissolveTransition :duration="400">
|
|
28
|
+
<div v-if="show" class="box">
|
|
29
|
+
<p>Dissolve transition</p>
|
|
33
30
|
</div>
|
|
34
|
-
</
|
|
31
|
+
</DissolveTransition>
|
|
35
32
|
</template>
|
|
36
33
|
```
|
|
37
34
|
|
|
38
35
|
## Global usage
|
|
36
|
+
|
|
39
37
|
```js
|
|
40
38
|
import Transitions from '@noction/vue-bezier'
|
|
41
39
|
import { createApp } from 'vue'
|
|
@@ -46,58 +44,137 @@ app.use(Transitions)
|
|
|
46
44
|
```
|
|
47
45
|
|
|
48
46
|
## List of available transitions
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
47
|
+
|
|
48
|
+
### Single Element Transitions
|
|
49
|
+
|
|
50
|
+
- `BlurTransition` - Blur effect with opacity
|
|
51
|
+
- `ClipPathTransition` - Clip path reveal animation
|
|
52
|
+
- `DissolveTransition` - Fade in/out effect
|
|
53
|
+
- `FadeSlideTransition` - Combined fade and slide animation
|
|
54
|
+
- `PushTransition` - Push content in a direction
|
|
55
|
+
- `RotateTransition` - 3D rotation effect
|
|
56
|
+
- `ScaleTransition` - Scale up/down animation
|
|
57
|
+
- `WipeTransition` - Wipe reveal effect
|
|
58
|
+
- `ZoomTransition` - Zoom in/out animation
|
|
59
|
+
|
|
60
|
+
### List Transitions (TransitionGroup)
|
|
61
|
+
|
|
62
|
+
- `DissolveListTransition` - Fade effect for lists
|
|
63
|
+
- `ScaleListTransition` - Scale effect for lists
|
|
59
64
|
|
|
60
65
|
## Props
|
|
61
66
|
|
|
62
|
-
| Prop | Type |
|
|
63
|
-
|
|
64
|
-
| **duration** | _Number_, _Object_ |
|
|
65
|
-
| **
|
|
66
|
-
| **tag** | _String_ |
|
|
67
|
-
| **origin** | _String_ |
|
|
68
|
-
| **styles** | _Object_ |
|
|
69
|
-
|
|
70
|
-
##
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
| Prop | Type | Default | Description |
|
|
68
|
+
| :----------: | ------------------ | :------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
69
|
+
| **duration** | _Number_, _Object_ | `300` | Transition duration in milliseconds. Number for specifying the same duration for enter/leave transitions. <br> Object style `{enter: 300, leave: 300}` for specifying explicit durations for enter/leave. |
|
|
70
|
+
| **delay** | _Number_, _Object_ | `0` | Transition delay in milliseconds. Number for specifying the same delay for enter/leave transitions. <br> Object style `{enter: 0, leave: 100}` for specifying explicit delays for enter/leave. |
|
|
71
|
+
| **tag** | _String_ | `'span'` | Transition tag for List transitions (TransitionGroup components). |
|
|
72
|
+
| **origin** | _String_ | `''` | [Transform origin property](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin), can be specified with styles as well but it's shorter with this prop. |
|
|
73
|
+
| **styles** | _Object_ | `{}` | Custom CSS styles that are applied during transition. These styles are applied via CSS variables. |
|
|
74
|
+
|
|
75
|
+
## Component-Specific Props
|
|
76
|
+
|
|
77
|
+
Some transitions have additional props for customization:
|
|
78
|
+
|
|
79
|
+
### ClipPathTransition
|
|
80
|
+
|
|
81
|
+
| Prop | Type | Default | Description |
|
|
82
|
+
| :----------: | :----------------------: | :--------: | --------------------------- |
|
|
83
|
+
| **clipType** | `'circle'` \| `'square'` | `'circle'` | Type of clip path animation |
|
|
84
|
+
|
|
85
|
+
```vue
|
|
86
|
+
<ClipPathTransition clip-type="square" :duration="1000">
|
|
87
|
+
<div v-if="show">Content</div>
|
|
88
|
+
</ClipPathTransition>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### PushTransition
|
|
92
|
+
|
|
93
|
+
| Prop | Type | Default | Description |
|
|
94
|
+
| :-----------: | :-----------------------------------------: | :-------: | ---------------------------- |
|
|
95
|
+
| **direction** | `'left'` \| `'right'` \| `'up'` \| `'down'` | `'right'` | Direction of the push effect |
|
|
96
|
+
|
|
97
|
+
```vue
|
|
98
|
+
<PushTransition direction="down" :duration="400">
|
|
99
|
+
<div v-if="show">Content</div>
|
|
100
|
+
</PushTransition>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### ScaleTransition
|
|
104
|
+
|
|
105
|
+
| Prop | Type | Default | Description |
|
|
106
|
+
| :--------: | :------: | :----------: | ---------------------------------------- |
|
|
107
|
+
| **origin** | _String_ | `'top left'` | Transform origin for the scale animation |
|
|
108
|
+
|
|
109
|
+
```vue
|
|
110
|
+
<ScaleTransition origin="center" :duration="300">
|
|
111
|
+
<div v-if="show">Content</div>
|
|
112
|
+
</ScaleTransition>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## List Transitions
|
|
116
|
+
|
|
117
|
+
For animating lists of elements, use the dedicated List transition components:
|
|
118
|
+
|
|
119
|
+
```vue
|
|
120
|
+
<script setup>
|
|
121
|
+
import { DissolveListTransition } from '@noction/vue-bezier'
|
|
122
|
+
import { ref } from 'vue'
|
|
123
|
+
import '@noction/vue-bezier/styles'
|
|
124
|
+
|
|
125
|
+
const items = ref([1, 2, 3, 4, 5])
|
|
126
|
+
</script>
|
|
127
|
+
|
|
128
|
+
<template>
|
|
129
|
+
<DissolveListTransition :duration="400" tag="div">
|
|
130
|
+
<div v-for="item in items" :key="item" class="item">
|
|
131
|
+
{{ item }}
|
|
132
|
+
</div>
|
|
133
|
+
</DissolveListTransition>
|
|
134
|
+
</template>
|
|
76
135
|
```
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
136
|
+
|
|
137
|
+
**Important notes:**
|
|
138
|
+
|
|
139
|
+
1. Elements inside list transitions should have `display: inline-block` or must be placed in a flex context: [Vue.js docs reference](https://vuejs.org/guide/built-ins/transition-group.html#move-transitions)
|
|
140
|
+
2. Each list transition has a `move` class for animating position changes. The move duration defaults to `.3s` or `.35s` and cannot be configured via props. To customize, override the CSS class:
|
|
141
|
+
|
|
142
|
+
```css
|
|
143
|
+
/* Example: Custom move duration for DissolveListTransition */
|
|
144
|
+
.noc-dissolve-move {
|
|
145
|
+
transition: transform 0.5s ease-out;
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Customizing Transitions
|
|
150
|
+
|
|
151
|
+
All CSS classes and custom properties are prefixed with `noc-` to prevent naming conflicts with other libraries. You can override any transition styles by targeting the specific classes:
|
|
152
|
+
|
|
153
|
+
```css
|
|
154
|
+
/* Override dissolve transition timing */
|
|
155
|
+
.noc-dissolve-enter-active {
|
|
156
|
+
transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Override blur transition effect */
|
|
160
|
+
.noc-blur-enter-from {
|
|
161
|
+
opacity: 0;
|
|
162
|
+
filter: blur(20px); /* Increase blur intensity */
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Override scale list move animation */
|
|
166
|
+
.noc-scale-list-move {
|
|
167
|
+
transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Available CSS custom properties:
|
|
172
|
+
|
|
173
|
+
- `--noc-transition-enter-duration`
|
|
174
|
+
- `--noc-transition-leave-duration`
|
|
175
|
+
- `--noc-transition-enter-delay`
|
|
176
|
+
- `--noc-transition-leave-delay`
|
|
177
|
+
- `--noc-transform-origin` (ScaleTransition)
|
|
101
178
|
|
|
102
179
|
## License
|
|
103
180
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
duration?: number | {
|
|
3
|
+
enter: number;
|
|
4
|
+
leave: number;
|
|
5
|
+
};
|
|
6
|
+
delay?: number | {
|
|
7
|
+
enter: number;
|
|
8
|
+
leave: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_7: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_7) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
type __VLS_Props = ComponentProps & {
|
|
3
|
+
clipType?: 'circle' | 'square';
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_12: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_12) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
type __VLS_Props = ComponentProps & {
|
|
3
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_12: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_12) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
import type { ComponentProps } from '
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
attrs: Partial<{}>;
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
5
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
|
|
12
|
-
afterEnter: (el: import("vue").RendererElement) => any;
|
|
13
|
-
afterLeave: (el: import("vue").RendererElement) => any;
|
|
14
|
-
beforeEnter: (el: import("vue").RendererElement) => any;
|
|
15
|
-
beforeLeave: (el: import("vue").RendererElement) => any;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{
|
|
17
|
-
onLeave?: ((el: import("vue").RendererElement, done: () => void) => any) | undefined;
|
|
18
|
-
onAfterEnter?: ((el: import("vue").RendererElement) => any) | undefined;
|
|
19
|
-
onAfterLeave?: ((el: import("vue").RendererElement) => any) | undefined;
|
|
20
|
-
onBeforeEnter?: ((el: import("vue").RendererElement) => any) | undefined;
|
|
21
|
-
onBeforeLeave?: ((el: import("vue").RendererElement) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
delay: import("@/types").NumberOrTimings;
|
|
24
|
-
duration: import("@/types").NumberOrTimings;
|
|
25
|
-
group: boolean;
|
|
26
|
-
origin: string;
|
|
27
|
-
styles: Partial<CSSStyleDeclaration>;
|
|
28
|
-
tag: string;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
31
9
|
export default _default;
|
|
32
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
11
|
new (): {
|
|
34
12
|
$slots: S;
|
|
35
13
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from '../../types';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
1
|
+
export { default as BlurTransition } from './Blur/BlurTransition.vue';
|
|
2
|
+
export { default as ClipPathTransition } from './ClipPath/ClipPathTransition.vue';
|
|
3
|
+
export { default as DissolveListTransition } from './Dissolve/DissolveListTransition.vue';
|
|
4
|
+
export { default as DissolveTransition } from './Dissolve/DissolveTransition.vue';
|
|
5
|
+
export { default as FadeSlideTransition } from './FadeSlide/FadeSlideTransition.vue';
|
|
6
|
+
export { default as PushTransition } from './Push/PushTransition.vue';
|
|
7
|
+
export { default as RotateTransition } from './Rotate/RotateTransition.vue';
|
|
8
|
+
export { default as ScaleListTransition } from './Scale/ScaleListTransition.vue';
|
|
3
9
|
export { default as ScaleTransition } from './Scale/ScaleTransition.vue';
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as SlideYDownTransition } from './Slide/SlideYDownTransition.vue';
|
|
7
|
-
export { default as SlideYUpTransition } from './Slide/SlideYUpTransition.vue';
|
|
8
|
-
export { default as BlurTransition } from './v2/Blur/BlurTransition.vue';
|
|
9
|
-
export { default as ClipPathTransition } from './v2/ClipPath/ClipPathTransition.vue';
|
|
10
|
-
export { default as DissolveListTransition } from './v2/Dissolve/DissolveListTransition.vue';
|
|
11
|
-
export { default as DissolveTransition } from './v2/Dissolve/DissolveTransition.vue';
|
|
12
|
-
export { default as FadeSlideTransition } from './v2/FadeSlide/FadeSlideTransition.vue';
|
|
13
|
-
export { default as PushTransition } from './v2/Push/PushTransition.vue';
|
|
14
|
-
export { default as RotateTransition } from './v2/Rotate/RotateTransition.vue';
|
|
15
|
-
export { default as ScaleListTransition } from './v2/Scale/ScaleListTransition.vue';
|
|
16
|
-
export { default as WipeTransition } from './v2/Wipe/WipeTransition.vue';
|
|
17
|
-
export { default as ZoomTransition } from './v2/Zoom/ZoomTransition.vue';
|
|
18
|
-
export { default as ZoomCenterTransition } from './Zoom/ZoomCenterTransition.vue';
|
|
19
|
-
export { default as ZoomUpTransition } from './Zoom/ZoomUpTransition.vue';
|
|
20
|
-
export { default as ZoomXTransition } from './Zoom/ZoomXTransition.vue';
|
|
21
|
-
export { default as ZoomYTransition } from './Zoom/ZoomYTransition.vue';
|
|
10
|
+
export { default as WipeTransition } from './Wipe/WipeTransition.vue';
|
|
11
|
+
export { default as ZoomTransition } from './Zoom/ZoomTransition.vue';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
@property --noc-transition-enter-duration{syntax:"<time>";inherits:false;initial-value:.5s}@property --noc-transition-leave-duration{syntax:"<time>";inherits:false;initial-value:.5s}@property --noc-transition-enter-delay{syntax:"<time>";inherits:false;initial-value:0s}@property --noc-transition-leave-delay{syntax:"<time>";inherits:false;initial-value:0s}.noc-blur-enter-active[data-v-fec99d84],.noc-blur-leave-active[data-v-fec99d84]{transition:all var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:opacity,filter;position:absolute;inset-block-start:0;inset-inline-start:0}.noc-blur-leave-active[data-v-fec99d84]{transition:all var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay)}.noc-blur-enter-from[data-v-fec99d84]{opacity:0;filter:blur(8px)}.noc-blur-enter-to[data-v-fec99d84],.noc-blur-leave-from[data-v-fec99d84]{opacity:1;filter:blur()}.noc-blur-leave-to[data-v-fec99d84]{opacity:0;filter:blur(8px)}.noc-clip-enter-active[data-v-65f5f5ac]{transition:all var(--noc-transition-enter-duration)ease-in var(--noc-transition-enter-delay);position:relative}.noc-clip-leave-active[data-v-65f5f5ac]{transition:all calc(var(--noc-transition-leave-duration) - 10ms)linear calc(var(--noc-transition-leave-delay));position:absolute}.noc-clip-circle.noc-clip-enter-from[data-v-65f5f5ac]{clip-path:circle(0%)}.noc-clip-circle.noc-clip-enter-to[data-v-65f5f5ac]{clip-path:circle(100%)}.noc-clip-square.noc-clip-enter-from[data-v-65f5f5ac]{clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%)}.noc-clip-square.noc-clip-enter-to[data-v-65f5f5ac]{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.noc-dissolve-list>*{--noc-transition-enter-duration:inherit;--noc-transition-leave-duration:inherit;--noc-transition-enter-delay:inherit;--noc-transition-leave-delay:inherit}.noc-dissolve-enter-active{transition:opacity var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:opacity}.noc-dissolve-leave-active{backface-visibility:hidden;transition:opacity var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay);will-change:opacity;position:absolute}.noc-dissolve-enter-from,.noc-dissolve-leave-to{opacity:0}.noc-dissolve-enter-to,.noc-dissolve-leave-from{opacity:1}.noc-dissolve-move{transition:transform var(--noc-transition-enter-duration)ease-out var(--noc-transition-enter-delay)}.noc-dissolve-enter-active[data-v-a98e0a99]{backface-visibility:hidden;transition:opacity var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:opacity;position:absolute;inset-block-start:0;inset-inline-start:0}.noc-dissolve-leave-active[data-v-a98e0a99]{backface-visibility:hidden;transition:opacity var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay);will-change:opacity;position:absolute;inset-block-start:0;inset-inline-start:0}.noc-dissolve-enter-from[data-v-a98e0a99],.noc-dissolve-leave-to[data-v-a98e0a99]{opacity:0}.noc-dissolve-enter-to[data-v-a98e0a99],.noc-dissolve-leave-from[data-v-a98e0a99]{opacity:1}.noc-fade-slide-enter-active[data-v-475efc48],.noc-fade-slide-leave-active[data-v-475efc48]{backface-visibility:hidden;transition:all var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);position:absolute;inset-block-start:0;inset-inline-start:0}.noc-fade-slide-leave-active[data-v-475efc48]{backface-visibility:hidden;transition:all var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay)}.noc-fade-slide-enter-from[data-v-475efc48]{opacity:0;transform:translateY(.5rem)}.noc-fade-slide-enter-to[data-v-475efc48],.noc-fade-slide-leave-from[data-v-475efc48]{opacity:1;transform:translateY(0)}.noc-fade-slide-leave-to[data-v-475efc48]{opacity:0;transform:translateY(.5rem)}.noc-push-enter-active[data-v-2822b81a],.noc-push-leave-active[data-v-2822b81a]{backface-visibility:hidden;transition:opacity var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay),transform var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:opacity,transform;position:absolute;inset-block-start:0;inset-inline-start:0}.noc-push-leave-active[data-v-2822b81a]{backface-visibility:hidden;transition:opacity var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay),transform var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay)}.noc-push-enter-to[data-v-2822b81a],.noc-push-leave-from[data-v-2822b81a]{opacity:1;transform:translate(0)}.noc-push-left.noc-push-enter-from[data-v-2822b81a]{opacity:0;transform:translate(100%)}.noc-push-left.noc-push-leave-to[data-v-2822b81a],.noc-push-right.noc-push-enter-from[data-v-2822b81a]{opacity:0;transform:translate(-100%)}.noc-push-right.noc-push-leave-to[data-v-2822b81a]{opacity:0;transform:translate(100%)}.noc-push-up.noc-push-enter-from[data-v-2822b81a]{opacity:0;transform:translateY(100%)}.noc-push-up.noc-push-leave-to[data-v-2822b81a],.noc-push-down.noc-push-enter-from[data-v-2822b81a]{opacity:0;transform:translateY(-100%)}.noc-push-down.noc-push-leave-to[data-v-2822b81a]{opacity:0;transform:translateY(100%)}.noc-rotate-enter-active[data-v-c4785237],.noc-rotate-leave-active[data-v-c4785237]{transition:all var(--noc-transition-enter-duration)linear var(--noc-transition-enter-delay)}.noc-rotate-leave-active[data-v-c4785237]{transition:all var(--noc-transition-leave-duration)linear var(--noc-transition-leave-delay)}.noc-rotate-enter-from[data-v-c4785237]{opacity:1;filter:blur(4px);transform:rotate(12deg)}.noc-rotate-enter-to[data-v-c4785237],.noc-rotate-leave-from[data-v-c4785237]{opacity:1;filter:blur();transform:rotate(0)}.noc-rotate-leave-to[data-v-c4785237]{opacity:1;filter:blur(4px);transform:rotate(12deg)}.noc-scale-list>*{--noc-transition-enter-duration:inherit;--noc-transition-leave-duration:inherit;--noc-transition-enter-delay:inherit;--noc-transition-leave-delay:inherit}.noc-scale-list-enter-active{transition:opacity var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay),transform var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:opacity,transform}.noc-scale-list-leave-active{backface-visibility:hidden;transition:opacity var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay),transform var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay);will-change:opacity,transform;position:absolute}.noc-scale-list-enter-from,.noc-scale-list-leave-to{opacity:0;transform:scale(0)}.noc-scale-list-enter-to,.noc-scale-list-leave-from{opacity:1;transform:scale(1)}.noc-scale-list-move{transition:transform var(--noc-transition-enter-duration)ease-out var(--noc-transition-enter-delay)}.noc-scale-enter-active[data-v-f5da5408],.noc-scale-leave-active[data-v-f5da5408]{transform-origin:var(--noc-transform-origin,top left);transition:all var(--noc-transition-enter-duration)ease-out var(--noc-transition-enter-delay);will-change:opacity,transform}.noc-scale-leave-active[data-v-f5da5408]{transition:all var(--noc-transition-leave-duration)ease-out var(--noc-transition-leave-delay)}.noc-scale-enter-from[data-v-f5da5408]{opacity:0;transform:scale(0)}.noc-scale-enter-to[data-v-f5da5408],.noc-scale-leave-from[data-v-f5da5408]{opacity:1;transform:scale(1)}.noc-scale-leave-to[data-v-f5da5408]{opacity:0;transform:scale(0)}.noc-scale-move[data-v-f5da5408]{transition:transform .3s cubic-bezier(.25,.8,.5,1)}.noc-wipe-enter-active[data-v-41990a90]{z-index:10;transition:transform var(--noc-transition-enter-duration)ease-out var(--noc-transition-enter-delay)}.noc-wipe-leave-active[data-v-41990a90]{transition:transform calc(var(--noc-transition-leave-duration) - 10ms)ease var(--noc-transition-leave-delay);position:absolute}.noc-wipe-enter-from[data-v-41990a90]{transform:translate(-100%)}.noc-wipe-enter-to[data-v-41990a90]{transform:translate(0)}.noc-zoom-enter-active[data-v-6112c8a6],.noc-zoom-leave-active[data-v-6112c8a6]{transition:transform var(--noc-transition-enter-duration)ease var(--noc-transition-enter-delay);will-change:transform;position:absolute;inset-block-start:0;inset-inline-start:0}.noc-zoom-leave-active[data-v-6112c8a6]{transition:transform var(--noc-transition-leave-duration)ease var(--noc-transition-leave-delay)}.noc-zoom-enter-from[data-v-6112c8a6],.noc-zoom-leave-to[data-v-6112c8a6]{transform:scale(1.05)}.noc-zoom-enter-to[data-v-6112c8a6],.noc-zoom-leave-from[data-v-6112c8a6]{transform:scale(1)}
|
|
2
|
+
/*$vite$:1*/
|