@noction/vue-bezier 1.12.0 → 2.0.0-beta.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.
Files changed (32) hide show
  1. package/README.md +13 -13
  2. package/dist/style.css +1 -1
  3. package/dist/types/components/Collapse/CollapseTransition.vue.d.ts +20 -53
  4. package/dist/types/components/Fade/FadeTransition.vue.d.ts +20 -52
  5. package/dist/types/components/Scale/ScaleTransition.vue.d.ts +20 -52
  6. package/dist/types/components/Slide/SlideXLeftTransition.vue.d.ts +20 -52
  7. package/dist/types/components/Slide/SlideXRightTransition.vue.d.ts +20 -52
  8. package/dist/types/components/Slide/SlideYDownTransition.vue.d.ts +20 -52
  9. package/dist/types/components/Slide/SlideYUpTransition.vue.d.ts +20 -52
  10. package/dist/types/components/Zoom/ZoomCenterTransition.vue.d.ts +20 -52
  11. package/dist/types/components/Zoom/ZoomUpTransition.vue.d.ts +20 -52
  12. package/dist/types/components/Zoom/ZoomXTransition.vue.d.ts +20 -52
  13. package/dist/types/components/Zoom/ZoomYTransition.vue.d.ts +20 -52
  14. package/dist/types/components/index.d.ts +10 -0
  15. package/dist/types/components/v2/Blur/BlurTransition.vue.d.ts +34 -0
  16. package/dist/types/components/v2/ClipPath/ClipPathTransition.vue.d.ts +21 -0
  17. package/dist/types/components/v2/Dissolve/DissolveListTransition.vue.d.ts +17 -0
  18. package/dist/types/components/v2/Dissolve/DissolveTransition.vue.d.ts +17 -0
  19. package/dist/types/components/v2/FadeSlide/FadeSlideTransition.vue.d.ts +17 -0
  20. package/dist/types/components/v2/Push/PushTransition.vue.d.ts +21 -0
  21. package/dist/types/components/v2/Rotate/RotateTransition.vue.d.ts +17 -0
  22. package/dist/types/components/v2/Scale/ScaleListTransition.vue.d.ts +17 -0
  23. package/dist/types/components/v2/Wipe/WipeTransition.vue.d.ts +17 -0
  24. package/dist/types/components/v2/Zoom/ZoomTransition.vue.d.ts +17 -0
  25. package/dist/types/composables/buildComponentType.d.ts +2 -2
  26. package/dist/types/composables/useHooks.d.ts +2 -2
  27. package/dist/types/main.d.ts +1 -1
  28. package/dist/types/types/index.d.ts +6 -6
  29. package/dist/vue-bezier.js +691 -190
  30. package/dist/web-types.json +160 -12
  31. package/package.json +35 -34
  32. package/LICENSE +0 -21
@@ -1,12 +1,56 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@noction/vue-bezier",
4
- "version": "1.12.0",
4
+ "version": "2.0.0-beta.1",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
8
8
  "types-syntax": "typescript",
9
9
  "tags": [
10
+ {
11
+ "name": "BlurTransition",
12
+ "description": "",
13
+ "attributes": [
14
+ {
15
+ "name": "duration",
16
+ "required": false,
17
+ "value": {
18
+ "kind": "expression",
19
+ "type": "union"
20
+ }
21
+ },
22
+ {
23
+ "name": "delay",
24
+ "required": false,
25
+ "value": {
26
+ "kind": "expression",
27
+ "type": "union"
28
+ }
29
+ }
30
+ ],
31
+ "slots": [
32
+ {
33
+ "name": "default"
34
+ }
35
+ ],
36
+ "source": {
37
+ "module": "./src/components/v2/Blur/BlurTransition.vue",
38
+ "symbol": "default"
39
+ }
40
+ },
41
+ {
42
+ "name": "ClipPathTransition",
43
+ "description": "",
44
+ "slots": [
45
+ {
46
+ "name": "default"
47
+ }
48
+ ],
49
+ "source": {
50
+ "module": "./src/components/v2/ClipPath/ClipPathTransition.vue",
51
+ "symbol": "default"
52
+ }
53
+ },
10
54
  {
11
55
  "name": "CollapseTransition",
12
56
  "description": "",
@@ -49,7 +93,7 @@
49
93
  "kind": "expression",
50
94
  "type": "any"
51
95
  },
52
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
96
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
53
97
  },
54
98
  {
55
99
  "name": "tag",
@@ -70,6 +114,45 @@
70
114
  "symbol": "default"
71
115
  }
72
116
  },
117
+ {
118
+ "name": "DissolveListTransition",
119
+ "description": "",
120
+ "slots": [
121
+ {
122
+ "name": "default"
123
+ }
124
+ ],
125
+ "source": {
126
+ "module": "./src/components/v2/Dissolve/DissolveListTransition.vue",
127
+ "symbol": "default"
128
+ }
129
+ },
130
+ {
131
+ "name": "DissolveTransition",
132
+ "description": "",
133
+ "slots": [
134
+ {
135
+ "name": "default"
136
+ }
137
+ ],
138
+ "source": {
139
+ "module": "./src/components/v2/Dissolve/DissolveTransition.vue",
140
+ "symbol": "default"
141
+ }
142
+ },
143
+ {
144
+ "name": "FadeSlideTransition",
145
+ "description": "",
146
+ "slots": [
147
+ {
148
+ "name": "default"
149
+ }
150
+ ],
151
+ "source": {
152
+ "module": "./src/components/v2/FadeSlide/FadeSlideTransition.vue",
153
+ "symbol": "default"
154
+ }
155
+ },
73
156
  {
74
157
  "name": "FadeTransition",
75
158
  "description": "",
@@ -112,7 +195,7 @@
112
195
  "kind": "expression",
113
196
  "type": "any"
114
197
  },
115
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
198
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
116
199
  },
117
200
  {
118
201
  "name": "tag",
@@ -133,6 +216,45 @@
133
216
  "symbol": "default"
134
217
  }
135
218
  },
219
+ {
220
+ "name": "PushTransition",
221
+ "description": "",
222
+ "slots": [
223
+ {
224
+ "name": "default"
225
+ }
226
+ ],
227
+ "source": {
228
+ "module": "./src/components/v2/Push/PushTransition.vue",
229
+ "symbol": "default"
230
+ }
231
+ },
232
+ {
233
+ "name": "RotateTransition",
234
+ "description": "",
235
+ "slots": [
236
+ {
237
+ "name": "default"
238
+ }
239
+ ],
240
+ "source": {
241
+ "module": "./src/components/v2/Rotate/RotateTransition.vue",
242
+ "symbol": "default"
243
+ }
244
+ },
245
+ {
246
+ "name": "ScaleListTransition",
247
+ "description": "",
248
+ "slots": [
249
+ {
250
+ "name": "default"
251
+ }
252
+ ],
253
+ "source": {
254
+ "module": "./src/components/v2/Scale/ScaleListTransition.vue",
255
+ "symbol": "default"
256
+ }
257
+ },
136
258
  {
137
259
  "name": "ScaleTransition",
138
260
  "description": "",
@@ -175,7 +297,7 @@
175
297
  "kind": "expression",
176
298
  "type": "any"
177
299
  },
178
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
300
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
179
301
  },
180
302
  {
181
303
  "name": "tag",
@@ -238,7 +360,7 @@
238
360
  "kind": "expression",
239
361
  "type": "any"
240
362
  },
241
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
363
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
242
364
  },
243
365
  {
244
366
  "name": "tag",
@@ -301,7 +423,7 @@
301
423
  "kind": "expression",
302
424
  "type": "any"
303
425
  },
304
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
426
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
305
427
  },
306
428
  {
307
429
  "name": "tag",
@@ -364,7 +486,7 @@
364
486
  "kind": "expression",
365
487
  "type": "any"
366
488
  },
367
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
489
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
368
490
  },
369
491
  {
370
492
  "name": "tag",
@@ -427,7 +549,7 @@
427
549
  "kind": "expression",
428
550
  "type": "any"
429
551
  },
430
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
552
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
431
553
  },
432
554
  {
433
555
  "name": "tag",
@@ -448,6 +570,19 @@
448
570
  "symbol": "default"
449
571
  }
450
572
  },
573
+ {
574
+ "name": "WipeTransition",
575
+ "description": "",
576
+ "slots": [
577
+ {
578
+ "name": "default"
579
+ }
580
+ ],
581
+ "source": {
582
+ "module": "./src/components/v2/Wipe/WipeTransition.vue",
583
+ "symbol": "default"
584
+ }
585
+ },
451
586
  {
452
587
  "name": "ZoomCenterTransition",
453
588
  "description": "",
@@ -490,7 +625,7 @@
490
625
  "kind": "expression",
491
626
  "type": "any"
492
627
  },
493
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
628
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
494
629
  },
495
630
  {
496
631
  "name": "tag",
@@ -511,6 +646,19 @@
511
646
  "symbol": "default"
512
647
  }
513
648
  },
649
+ {
650
+ "name": "ZoomTransition",
651
+ "description": "",
652
+ "slots": [
653
+ {
654
+ "name": "default"
655
+ }
656
+ ],
657
+ "source": {
658
+ "module": "./src/components/v2/Zoom/ZoomTransition.vue",
659
+ "symbol": "default"
660
+ }
661
+ },
514
662
  {
515
663
  "name": "ZoomUpTransition",
516
664
  "description": "",
@@ -553,7 +701,7 @@
553
701
  "kind": "expression",
554
702
  "type": "any"
555
703
  },
556
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
704
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
557
705
  },
558
706
  {
559
707
  "name": "tag",
@@ -616,7 +764,7 @@
616
764
  "kind": "expression",
617
765
  "type": "any"
618
766
  },
619
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
767
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
620
768
  },
621
769
  {
622
770
  "name": "tag",
@@ -679,7 +827,7 @@
679
827
  "kind": "expression",
680
828
  "type": "any"
681
829
  },
682
- "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
830
+ "default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out',\n})"
683
831
  },
684
832
  {
685
833
  "name": "tag",
package/package.json CHANGED
@@ -1,31 +1,30 @@
1
1
  {
2
2
  "name": "@noction/vue-bezier",
3
- "version": "1.12.0",
3
+ "type": "module",
4
+ "version": "2.0.0-beta.1",
4
5
  "description": "Vue3 reusable transition components",
5
- "keywords": [
6
- "transitions",
7
- "animations",
8
- "fade",
9
- "sfc",
10
- "composition-api",
11
- "vue",
12
- "vue3"
13
- ],
14
6
  "author": {
15
7
  "name": "50rayn",
16
8
  "email": "soryngitlan@gmail.com"
17
9
  },
10
+ "license": "MIT",
11
+ "homepage": "https://noction.github.io/vue-bezier/",
18
12
  "repository": {
19
13
  "type": "git",
20
14
  "url": "git+https://github.com/Noction/vue-bezier.git"
21
15
  },
22
- "homepage": "https://noction.github.io/vue-bezier/",
23
16
  "bugs": {
24
17
  "url": "https://github.com/Noction/vue-bezier/issues",
25
18
  "email": "soryngitlan@gmail.com"
26
19
  },
27
- "files": [
28
- "dist"
20
+ "keywords": [
21
+ "transitions",
22
+ "animations",
23
+ "fade",
24
+ "sfc",
25
+ "composition-api",
26
+ "vue",
27
+ "vue3"
29
28
  ],
30
29
  "exports": {
31
30
  ".": {
@@ -36,38 +35,40 @@
36
35
  "./types": "./dist/types/main.d.ts",
37
36
  "./styles": "./dist/style.css"
38
37
  },
39
- "license": "MIT",
40
38
  "main": "dist/vue-bezier.js",
41
39
  "module": "dist/vue-bezier.js",
42
40
  "types": "dist/types/main.d.ts",
43
- "type": "module",
44
- "devDependencies": {
45
- "@faker-js/faker": "^8.4.1",
46
- "@types/node": "^22.1.0",
47
- "@vitejs/plugin-vue": "^5.1.2",
48
- "@vitest/coverage-v8": "^2.0.5",
49
- "@vue/test-utils": "^2.4.6",
50
- "cross-env": "^7.0.3",
51
- "jsdom": "^24.1.1",
52
- "minimist": "^1.2.8",
53
- "sass": "^1.77.8",
54
- "vite": "^5.3.5",
55
- "vitest": "^2.0.5",
56
- "vue": "^3.4.35",
57
- "vue-docgen-web-types": "^0.1.8",
58
- "vue-tsc": "^2.0.29"
59
- },
60
- "web-types": "./dist/web-types.json",
41
+ "files": [
42
+ "dist"
43
+ ],
61
44
  "scripts": {
62
45
  "dev": "cross-env NODE_ENV=development vite build --watch",
63
46
  "build:light": "cross-env NODE_ENV=development vite build",
64
47
  "prebuild": "vue-tsc -p tsconfig.build.json",
65
48
  "build": "vite build",
66
49
  "postbuild": "vue-docgen-web-types",
50
+ "prepublishOnly": "npm run build",
67
51
  "lint:es": "eslint \"src/**/*.{js,ts,vue}\" --fix --color",
68
52
  "lint:style": "stylelint src/**/*.{css,scss,vue} --color --fix",
69
53
  "test": "vitest",
70
54
  "test:coverage": "vitest run --coverage",
71
55
  "type:check": "vue-tsc --noEmit"
72
- }
73
- }
56
+ },
57
+ "devDependencies": {
58
+ "@faker-js/faker": "^9.0.3",
59
+ "@types/node": "^22.7.6",
60
+ "@vitejs/plugin-vue": "^5.1.4",
61
+ "@vitest/coverage-v8": "^2.1.3",
62
+ "@vue/test-utils": "^2.4.6",
63
+ "cross-env": "^7.0.3",
64
+ "jsdom": "^25.0.1",
65
+ "minimist": "^1.2.8",
66
+ "sass": "^1.80.1",
67
+ "vite": "^5.4.9",
68
+ "vitest": "^2.1.3",
69
+ "vue": "^3.5.12",
70
+ "vue-docgen-web-types": "^0.1.8",
71
+ "vue-tsc": "^2.1.6"
72
+ },
73
+ "web-types": "./dist/web-types.json"
74
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
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.