@anubis609/astroanimate-core 0.1.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/LICENSE +21 -0
- package/README.md +212 -0
- package/dist/components/AnimatedBorderButton/AnimatedBorderButton.astro +129 -0
- package/dist/components/AnimatedBorderButton/index.js +3 -0
- package/dist/components/AnimatedBorderButton/index.js.map +1 -0
- package/dist/components/AnimatedButton/AnimatedButton.astro +299 -0
- package/dist/components/AnimatedButton/index.js +3 -0
- package/dist/components/AnimatedButton/index.js.map +1 -0
- package/dist/components/AnimatedCard/AnimatedCard.astro +832 -0
- package/dist/components/AnimatedCard/index.js +3 -0
- package/dist/components/AnimatedCard/index.js.map +1 -0
- package/dist/components/AnimatedTabs/AnimatedTabs.astro +348 -0
- package/dist/components/AnimatedTabs/index.js +3 -0
- package/dist/components/AnimatedTabs/index.js.map +1 -0
- package/dist/components/ArrowCTAButton/ArrowCTAButton.astro +159 -0
- package/dist/components/ArticleCard/ArticleCard.astro +208 -0
- package/dist/components/CardStack/CardStack.astro +444 -0
- package/dist/components/CardStack/index.js +3 -0
- package/dist/components/CardStack/index.js.map +1 -0
- package/dist/components/CountUp/CountUp.astro +89 -0
- package/dist/components/CountUp/index.js +3 -0
- package/dist/components/CountUp/index.js.map +1 -0
- package/dist/components/Dock/Dock.astro +567 -0
- package/dist/components/Dock/DockItem.astro +135 -0
- package/dist/components/Dropdown/Dropdown.astro +264 -0
- package/dist/components/ExpandableCard/ExpandableCard.astro +402 -0
- package/dist/components/ExpandableCard/index.js +3 -0
- package/dist/components/ExpandableCard/index.js.map +1 -0
- package/dist/components/FadeInText/FadeInText.astro +314 -0
- package/dist/components/FadeInText/index.js +3 -0
- package/dist/components/FadeInText/index.js.map +1 -0
- package/dist/components/FillHoverButton/FillHoverButton.astro +125 -0
- package/dist/components/GitHubShineButton/GitHubShineButton.astro +208 -0
- package/dist/components/GlassCard/GlassCard.astro +245 -0
- package/dist/components/GlassCard/index.js +3 -0
- package/dist/components/GlassCard/index.js.map +1 -0
- package/dist/components/GridDotsBackground/GridDotsBackground.astro +144 -0
- package/dist/components/HighlightText/HighlightText.astro +106 -0
- package/dist/components/InfiniteMarquee/InfiniteMarquee.astro +339 -0
- package/dist/components/JobCard/JobCard.astro +230 -0
- package/dist/components/LiquidGlassCard/LiquidGlassCard.astro +569 -0
- package/dist/components/Loader/Loader.astro +156 -0
- package/dist/components/Loader/index.js +3 -0
- package/dist/components/Loader/index.js.map +1 -0
- package/dist/components/NewsletterPopupCard/NewsletterPopupCard.astro +331 -0
- package/dist/components/ProductReviewCard/ProductReviewCard.astro +188 -0
- package/dist/components/ProgressBar/ProgressBar.astro +137 -0
- package/dist/components/ProgressBar/index.js +3 -0
- package/dist/components/ProgressBar/index.js.map +1 -0
- package/dist/components/RevealImage/RevealImage.astro +160 -0
- package/dist/components/RevealImage/index.js +3 -0
- package/dist/components/RevealImage/index.js.map +1 -0
- package/dist/components/ScaleIn/ScaleIn.astro +231 -0
- package/dist/components/ScaleIn/index.js +3 -0
- package/dist/components/ScaleIn/index.js.map +1 -0
- package/dist/components/SlidingOverlayButton/SlidingOverlayButton.astro +126 -0
- package/dist/components/StaggerTextButton/StaggerTextButton.astro +132 -0
- package/dist/components/Tooltip/Tooltip.astro +255 -0
- package/dist/components/Tooltip/index.js +3 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/TypewriterText/TypewriterText.astro +380 -0
- package/dist/components/TypewriterText/index.js +3 -0
- package/dist/components/TypewriterText/index.js.map +1 -0
- package/dist/components/index.js +33 -0
- package/dist/components/index.js.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/countup.js +90 -0
- package/dist/internal/countup.js.map +1 -0
- package/dist/internal/dropdown.js +166 -0
- package/dist/internal/dropdown.js.map +1 -0
- package/dist/internal/fadein.js +116 -0
- package/dist/internal/fadein.js.map +1 -0
- package/dist/internal/guards.js +12 -0
- package/dist/internal/guards.js.map +1 -0
- package/dist/internal/tabs.js +140 -0
- package/dist/internal/tabs.js.map +1 -0
- package/package.json +229 -0
package/package.json
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anubis609/astroanimate-core",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Astro-native animation component library",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./AnimatedTabs": {
|
|
17
|
+
"types": "./dist/components/AnimatedTabs/AnimatedTabs.astro",
|
|
18
|
+
"import": "./dist/components/AnimatedTabs/AnimatedTabs.astro",
|
|
19
|
+
"default": "./dist/components/AnimatedTabs/AnimatedTabs.astro"
|
|
20
|
+
},
|
|
21
|
+
"./AnimatedButton": {
|
|
22
|
+
"types": "./dist/components/AnimatedButton/AnimatedButton.astro",
|
|
23
|
+
"import": "./dist/components/AnimatedButton/AnimatedButton.astro",
|
|
24
|
+
"default": "./dist/components/AnimatedButton/AnimatedButton.astro"
|
|
25
|
+
},
|
|
26
|
+
"./AnimatedCard": {
|
|
27
|
+
"types": "./dist/components/AnimatedCard/AnimatedCard.astro",
|
|
28
|
+
"import": "./dist/components/AnimatedCard/AnimatedCard.astro",
|
|
29
|
+
"default": "./dist/components/AnimatedCard/AnimatedCard.astro"
|
|
30
|
+
},
|
|
31
|
+
"./FadeInText": {
|
|
32
|
+
"types": "./dist/components/FadeInText/FadeInText.astro",
|
|
33
|
+
"import": "./dist/components/FadeInText/FadeInText.astro",
|
|
34
|
+
"default": "./dist/components/FadeInText/FadeInText.astro"
|
|
35
|
+
},
|
|
36
|
+
"./Loader": {
|
|
37
|
+
"types": "./dist/components/Loader/Loader.astro",
|
|
38
|
+
"import": "./dist/components/Loader/Loader.astro",
|
|
39
|
+
"default": "./dist/components/Loader/Loader.astro"
|
|
40
|
+
},
|
|
41
|
+
"./ProgressBar": {
|
|
42
|
+
"types": "./dist/components/ProgressBar/ProgressBar.astro",
|
|
43
|
+
"import": "./dist/components/ProgressBar/ProgressBar.astro",
|
|
44
|
+
"default": "./dist/components/ProgressBar/ProgressBar.astro"
|
|
45
|
+
},
|
|
46
|
+
"./ScaleIn": {
|
|
47
|
+
"types": "./dist/components/ScaleIn/ScaleIn.astro",
|
|
48
|
+
"import": "./dist/components/ScaleIn/ScaleIn.astro",
|
|
49
|
+
"default": "./dist/components/ScaleIn/ScaleIn.astro"
|
|
50
|
+
},
|
|
51
|
+
"./Tooltip": {
|
|
52
|
+
"types": "./dist/components/Tooltip/Tooltip.astro",
|
|
53
|
+
"import": "./dist/components/Tooltip/Tooltip.astro",
|
|
54
|
+
"default": "./dist/components/Tooltip/Tooltip.astro"
|
|
55
|
+
},
|
|
56
|
+
"./TypewriterText": {
|
|
57
|
+
"types": "./dist/components/TypewriterText/TypewriterText.astro",
|
|
58
|
+
"import": "./dist/components/TypewriterText/TypewriterText.astro",
|
|
59
|
+
"default": "./dist/components/TypewriterText/TypewriterText.astro"
|
|
60
|
+
},
|
|
61
|
+
"./GlassCard": {
|
|
62
|
+
"types": "./dist/components/GlassCard/GlassCard.astro",
|
|
63
|
+
"import": "./dist/components/GlassCard/GlassCard.astro",
|
|
64
|
+
"default": "./dist/components/GlassCard/GlassCard.astro"
|
|
65
|
+
},
|
|
66
|
+
"./ExpandableCard": {
|
|
67
|
+
"types": "./dist/components/ExpandableCard/ExpandableCard.astro",
|
|
68
|
+
"import": "./dist/components/ExpandableCard/ExpandableCard.astro",
|
|
69
|
+
"default": "./dist/components/ExpandableCard/ExpandableCard.astro"
|
|
70
|
+
},
|
|
71
|
+
"./RevealImage": {
|
|
72
|
+
"types": "./dist/components/RevealImage/RevealImage.astro",
|
|
73
|
+
"import": "./dist/components/RevealImage/RevealImage.astro",
|
|
74
|
+
"default": "./dist/components/RevealImage/RevealImage.astro"
|
|
75
|
+
},
|
|
76
|
+
"./CardStack": {
|
|
77
|
+
"types": "./dist/components/CardStack/CardStack.astro",
|
|
78
|
+
"import": "./dist/components/CardStack/CardStack.astro",
|
|
79
|
+
"default": "./dist/components/CardStack/CardStack.astro"
|
|
80
|
+
},
|
|
81
|
+
"./CountUp": {
|
|
82
|
+
"types": "./dist/components/CountUp/CountUp.astro",
|
|
83
|
+
"import": "./dist/components/CountUp/CountUp.astro",
|
|
84
|
+
"default": "./dist/components/CountUp/CountUp.astro"
|
|
85
|
+
},
|
|
86
|
+
"./Dock": {
|
|
87
|
+
"types": "./dist/components/Dock/Dock.astro",
|
|
88
|
+
"import": "./dist/components/Dock/Dock.astro",
|
|
89
|
+
"default": "./dist/components/Dock/Dock.astro"
|
|
90
|
+
},
|
|
91
|
+
"./DockItem": {
|
|
92
|
+
"types": "./dist/components/Dock/DockItem.astro",
|
|
93
|
+
"import": "./dist/components/Dock/DockItem.astro",
|
|
94
|
+
"default": "./dist/components/Dock/DockItem.astro"
|
|
95
|
+
},
|
|
96
|
+
"./Dropdown": {
|
|
97
|
+
"types": "./dist/components/Dropdown/Dropdown.astro",
|
|
98
|
+
"import": "./dist/components/Dropdown/Dropdown.astro",
|
|
99
|
+
"default": "./dist/components/Dropdown/Dropdown.astro"
|
|
100
|
+
},
|
|
101
|
+
"./GridDotsBackground": {
|
|
102
|
+
"types": "./dist/components/GridDotsBackground/GridDotsBackground.astro",
|
|
103
|
+
"import": "./dist/components/GridDotsBackground/GridDotsBackground.astro",
|
|
104
|
+
"default": "./dist/components/GridDotsBackground/GridDotsBackground.astro"
|
|
105
|
+
},
|
|
106
|
+
"./HighlightText": {
|
|
107
|
+
"types": "./dist/components/HighlightText/HighlightText.astro",
|
|
108
|
+
"import": "./dist/components/HighlightText/HighlightText.astro",
|
|
109
|
+
"default": "./dist/components/HighlightText/HighlightText.astro"
|
|
110
|
+
},
|
|
111
|
+
"./InfiniteMarquee": {
|
|
112
|
+
"types": "./dist/components/InfiniteMarquee/InfiniteMarquee.astro",
|
|
113
|
+
"import": "./dist/components/InfiniteMarquee/InfiniteMarquee.astro",
|
|
114
|
+
"default": "./dist/components/InfiniteMarquee/InfiniteMarquee.astro"
|
|
115
|
+
},
|
|
116
|
+
"./LiquidGlassCard": {
|
|
117
|
+
"types": "./dist/components/LiquidGlassCard/LiquidGlassCard.astro",
|
|
118
|
+
"import": "./dist/components/LiquidGlassCard/LiquidGlassCard.astro",
|
|
119
|
+
"default": "./dist/components/LiquidGlassCard/LiquidGlassCard.astro"
|
|
120
|
+
},
|
|
121
|
+
"./AnimatedBorderButton": {
|
|
122
|
+
"types": "./dist/components/AnimatedBorderButton/AnimatedBorderButton.astro",
|
|
123
|
+
"import": "./dist/components/AnimatedBorderButton/AnimatedBorderButton.astro",
|
|
124
|
+
"default": "./dist/components/AnimatedBorderButton/AnimatedBorderButton.astro"
|
|
125
|
+
},
|
|
126
|
+
"./ArrowCTAButton": {
|
|
127
|
+
"types": "./dist/components/ArrowCTAButton/ArrowCTAButton.astro",
|
|
128
|
+
"import": "./dist/components/ArrowCTAButton/ArrowCTAButton.astro",
|
|
129
|
+
"default": "./dist/components/ArrowCTAButton/ArrowCTAButton.astro"
|
|
130
|
+
},
|
|
131
|
+
"./SlidingOverlayButton": {
|
|
132
|
+
"types": "./dist/components/SlidingOverlayButton/SlidingOverlayButton.astro",
|
|
133
|
+
"import": "./dist/components/SlidingOverlayButton/SlidingOverlayButton.astro",
|
|
134
|
+
"default": "./dist/components/SlidingOverlayButton/SlidingOverlayButton.astro"
|
|
135
|
+
},
|
|
136
|
+
"./FillHoverButton": {
|
|
137
|
+
"types": "./dist/components/FillHoverButton/FillHoverButton.astro",
|
|
138
|
+
"import": "./dist/components/FillHoverButton/FillHoverButton.astro",
|
|
139
|
+
"default": "./dist/components/FillHoverButton/FillHoverButton.astro"
|
|
140
|
+
},
|
|
141
|
+
"./GitHubShineButton": {
|
|
142
|
+
"types": "./dist/components/GitHubShineButton/GitHubShineButton.astro",
|
|
143
|
+
"import": "./dist/components/GitHubShineButton/GitHubShineButton.astro",
|
|
144
|
+
"default": "./dist/components/GitHubShineButton/GitHubShineButton.astro"
|
|
145
|
+
},
|
|
146
|
+
"./StaggerTextButton": {
|
|
147
|
+
"types": "./dist/components/StaggerTextButton/StaggerTextButton.astro",
|
|
148
|
+
"import": "./dist/components/StaggerTextButton/StaggerTextButton.astro",
|
|
149
|
+
"default": "./dist/components/StaggerTextButton/StaggerTextButton.astro"
|
|
150
|
+
},
|
|
151
|
+
"./JobCard": {
|
|
152
|
+
"types": "./dist/components/JobCard/JobCard.astro",
|
|
153
|
+
"import": "./dist/components/JobCard/JobCard.astro",
|
|
154
|
+
"default": "./dist/components/JobCard/JobCard.astro"
|
|
155
|
+
},
|
|
156
|
+
"./ProductReviewCard": {
|
|
157
|
+
"types": "./dist/components/ProductReviewCard/ProductReviewCard.astro",
|
|
158
|
+
"import": "./dist/components/ProductReviewCard/ProductReviewCard.astro",
|
|
159
|
+
"default": "./dist/components/ProductReviewCard/ProductReviewCard.astro"
|
|
160
|
+
},
|
|
161
|
+
"./ArticleCard": {
|
|
162
|
+
"types": "./dist/components/ArticleCard/ArticleCard.astro",
|
|
163
|
+
"import": "./dist/components/ArticleCard/ArticleCard.astro",
|
|
164
|
+
"default": "./dist/components/ArticleCard/ArticleCard.astro"
|
|
165
|
+
},
|
|
166
|
+
"./NewsletterPopupCard": {
|
|
167
|
+
"types": "./dist/components/NewsletterPopupCard/NewsletterPopupCard.astro",
|
|
168
|
+
"import": "./dist/components/NewsletterPopupCard/NewsletterPopupCard.astro",
|
|
169
|
+
"default": "./dist/components/NewsletterPopupCard/NewsletterPopupCard.astro"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"files": [
|
|
173
|
+
"dist",
|
|
174
|
+
"README.md",
|
|
175
|
+
"LICENSE"
|
|
176
|
+
],
|
|
177
|
+
"scripts": {
|
|
178
|
+
"build": "tsup",
|
|
179
|
+
"typecheck": "astro check && tsc --noEmit",
|
|
180
|
+
"test": "vitest run",
|
|
181
|
+
"test:e2e": "playwright test",
|
|
182
|
+
"lint": "eslint .",
|
|
183
|
+
"size": "node ./scripts/size-check.mjs",
|
|
184
|
+
"prepublishOnly": "npm run build && npm run typecheck && npm run test"
|
|
185
|
+
},
|
|
186
|
+
"size-limit": [
|
|
187
|
+
{
|
|
188
|
+
"path": "dist/index.js",
|
|
189
|
+
"limit": "5 kB"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"keywords": [
|
|
193
|
+
"astro",
|
|
194
|
+
"animation",
|
|
195
|
+
"components",
|
|
196
|
+
"astro-component"
|
|
197
|
+
],
|
|
198
|
+
"author": "Vipin",
|
|
199
|
+
"license": "MIT",
|
|
200
|
+
"repository": {
|
|
201
|
+
"type": "git",
|
|
202
|
+
"url": "https://github.com/astroanimate/astroanimate"
|
|
203
|
+
},
|
|
204
|
+
"bugs": {
|
|
205
|
+
"url": "https://github.com/astroanimate/astroanimate/issues"
|
|
206
|
+
},
|
|
207
|
+
"homepage": "https://github.com/astroanimate/astroanimate#readme",
|
|
208
|
+
"peerDependencies": {
|
|
209
|
+
"astro": "^4.0.0 || ^5.0.0 || ^6.0.0"
|
|
210
|
+
},
|
|
211
|
+
"devDependencies": {
|
|
212
|
+
"@types/node": "^22.17.0",
|
|
213
|
+
"@astrojs/check": "^0.9.4",
|
|
214
|
+
"@eslint/js": "^9.35.0",
|
|
215
|
+
"@changesets/cli": "^2.29.7",
|
|
216
|
+
"@playwright/test": "^1.55.0",
|
|
217
|
+
"@size-limit/file": "^11.2.0",
|
|
218
|
+
"@size-limit/preset-small-lib": "^11.2.0",
|
|
219
|
+
"astro": "^5.0.0",
|
|
220
|
+
"eslint": "^9.35.0",
|
|
221
|
+
"jsdom": "^26.1.0",
|
|
222
|
+
"prettier": "^3.6.2",
|
|
223
|
+
"size-limit": "^11.2.0",
|
|
224
|
+
"tsup": "^8.5.0",
|
|
225
|
+
"typescript-eslint": "^8.43.0",
|
|
226
|
+
"typescript": "^5.9.2",
|
|
227
|
+
"vitest": "^3.2.4"
|
|
228
|
+
}
|
|
229
|
+
}
|