gclass-anims 1.0.0-beta.19 → 1.0.0-beta.20

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/AnimToggle.js CHANGED
@@ -1,4 +1,4 @@
1
- import initListeners from './Listeners'
1
+ import initListeners from './Listeners.js'
2
2
  import { defaults, animations } from './Config.js'
3
3
  import gsap from 'gsap'
4
4
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to `gclass-anims` will be documented in this file.
4
4
 
5
+ ## [1.0.0-beta.20] - 2026-9-2
6
+ - Fix ESM strict import: `AnimToggle.js` and `Listeners.js` now use `.js` extensions (`Remix`/`Qwik` Node ESM `Cannot find module` fix)
7
+ - Fix `Lit` shadow DOM `works.txt` `no` → light DOM default (`createRenderRoot(){return this}`) + `initListeners(shadowRoot)` docs
8
+ - Fix `SvelteKit` `ERESOLVE` (`@sveltejs/vite-plugin-svelte 4` → `5.1` for `vite@6`) + missing `src/app.html`
9
+ - Fix `Qwik` `entry.ssr not found` → add `src/root.tsx`+`entry.ssr.tsx`+`tsconfig.json`
10
+ - Fix `SolidStart` Vinxi `503` → simplified to `vite-plugin-solid` SPA (same fine-grained model)
11
+ - Reverted license `LGPL-3.0-only` → `MIT` (anywhere GSAP is usable)
12
+
5
13
  ## [1.0.0-beta.19] - 2026-9-1
6
14
  - Fixed the SplitText animations formatting and removed Boot.js
7
15
 
package/LICENSE CHANGED
@@ -1,197 +1,35 @@
1
- gclass-anims - A Tailwind-style utility layer on top of GSAP
2
- Copyright (c) 2026 Saturn-sepehr
3
- SPDX-License-Identifier: LGPL-3.0-only
4
-
5
- This program is free software: you can redistribute it and/or modify
6
- it under the terms of the GNU Lesser General Public License as published by
7
- the Free Software Foundation, version 3 of the License.
8
-
9
- This program is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU Lesser General Public License for more details.
13
-
14
- You should have received a copy of the GNU Lesser General Public License
15
- along with this program. If not, see <https://www.gnu.org/licenses/>.
16
-
17
- ---
18
-
19
- GNU LESSER GENERAL PUBLIC LICENSE
20
- Version 3, 29 June 2007
21
-
22
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
23
- Everyone is permitted to copy and distribute verbatim copies
24
- of this license document, but changing it is not allowed.
25
-
26
-
27
- This version of the GNU Lesser General Public License incorporates
28
- the terms and conditions of version 3 of the GNU General Public
29
- License, supplemented by the additional permissions listed below.
30
-
31
- 0. Additional Definitions.
32
-
33
- As used herein, "this License" refers to version 3 of the GNU Lesser
34
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
35
- General Public License.
36
-
37
- "The Library" refers to a covered work governed by this License,
38
- other than an Application or a Combined Work as defined below.
39
-
40
- An "Application" is any work that makes use of an interface provided
41
- by the Library, but which is not otherwise based on the Library.
42
- Defining a subclass of a class defined by the Library is deemed a mode
43
- of using an interface provided by the Library.
44
-
45
- A "Combined Work" is a work produced by combining or linking an
46
- Application with the Library. The particular version of the Library
47
- with which the Combined Work was made is also called the "Linked
48
- Version".
49
-
50
- The "Minimal Corresponding Source" for a Combined Work means the
51
- Corresponding Source for the Combined Work, excluding any source code
52
- for portions of the Combined Work that, considered in isolation, are
53
- based on the Application, and not on the Linked Version.
54
-
55
- The "Corresponding Application Code" for a Combined Work means the
56
- object code and/or source code for the Application, including any data
57
- and utility programs needed for reproducing the Combined Work from the
58
- Application, but excluding the System Libraries of the Combined Work.
59
-
60
- 1. Exception to Section 3 of the GNU GPL.
61
-
62
- You may convey a covered work under sections 3 and 4 of this License
63
- without being bound by section 3 of the GNU GPL.
64
-
65
- 2. Conveying Modified Versions.
66
-
67
- If you modify a copy of the Library, and, in your modifications, a
68
- facility refers to a function or data to be supplied by an Application
69
- that uses the facility (other than as an argument passed when the
70
- facility is invoked), then you may convey a copy of the modified
71
- version:
1
+ MIT License
72
2
 
73
- a) under this License, provided that you make a good faith effort to
74
- ensure that, in the event an Application does not supply the
75
- function or data, the facility still operates, and performs
76
- whatever part of its purpose remains meaningful, or
77
-
78
- b) under the GNU GPL, with none of the additional permissions of
79
- this License applicable to that copy.
80
-
81
- 3. Object Code Incorporating Material from Library Header Files.
82
-
83
- The object code form of an Application may incorporate material from
84
- a header file that is part of the Library. You may convey such object
85
- code under terms of your choice, provided that, if the incorporated
86
- material is not limited to numerical parameters, data structure
87
- layouts and accessors, or small macros, inline functions and templates
88
- (ten or fewer lines in length), you do both of the following:
89
-
90
- a) Give prominent notice with each copy of the object code that the
91
- Library is used in it and that the Library and its use are
92
- covered by this License.
93
-
94
- b) Accompany the object code with a copy of the GNU GPL and this license
95
- document.
96
-
97
- 4. Combined Works.
98
-
99
- You may convey a Combined Work under terms of your choice that,
100
- taken together, effectively do not restrict modification of the
101
- portions of the Library contained in the Combined Work and reverse
102
- engineering for debugging such modifications, if you also do each of
103
- the following:
104
-
105
- a) Give prominent notice with each copy of the Combined Work that
106
- the Library is used in it and that the Library and its use are
107
- covered by this License.
108
-
109
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
110
- document.
111
-
112
- c) For a Combined Work that displays copyright notices during
113
- execution, include the copyright notice for the Library among
114
- these notices, as well as a reference directing the user to the
115
- copies of the GNU GPL and this license document.
116
-
117
- d) Do one of the following:
118
-
119
- 0) Convey the Minimal Corresponding Source under the terms of this
120
- License, and the Corresponding Application Code in a form
121
- suitable for, and under terms that permit, the user to
122
- recombine or relink the Application with a modified version of
123
- the Linked Version to produce a modified Combined Work, in the
124
- manner specified by section 6 of the GNU GPL for conveying
125
- Corresponding Source.
126
-
127
- 1) Use a suitable shared library mechanism for linking with the
128
- Library. A suitable mechanism is one that (a) uses at run time
129
- a copy of the Library already present on the user's computer
130
- system, and (b) will operate properly with a modified version
131
- of the Library that is interface-compatible with the Linked
132
- Version.
133
-
134
- e) Provide Installation Information, but only if you would otherwise
135
- be required to provide such information under section 6 of the
136
- GNU GPL, and only to the extent that such information is
137
- necessary to install and execute a modified version of the
138
- Combined Work produced by recombining or relinking the
139
- Application with a modified version of the Linked Version. (If
140
- you use option 4d0, the Installation Information must accompany
141
- the Minimal Corresponding Source and Corresponding Application
142
- Code. If you use option 4d1, you must provide the Installation
143
- Information in the manner specified by section 6 of the GNU GPL
144
- for conveying Corresponding Source.)
145
-
146
- 5. Combined Libraries.
147
-
148
- You may place library facilities that are a work based on the
149
- Library side by side in a single library together with other library
150
- facilities that are not Applications and are not covered by this
151
- License, and convey such a combined library under terms of your
152
- choice, if you do both of the following:
153
-
154
- a) Accompany the combined library with a copy of the same work based
155
- on the Library, uncombined with any other library facilities,
156
- conveyed under the terms of this License.
157
-
158
- b) Give prominent notice with the combined library that part of it
159
- is a work based on the Library, and explaining where to find the
160
- accompanying uncombined form of the same work.
161
-
162
- 6. Revised Versions of the GNU Lesser General Public License.
3
+ Copyright (c) 2026 Saturn-sepehr
163
4
 
164
- The Free Software Foundation may publish revised and/or new versions
165
- of the GNU Lesser General Public License from time to time. Such new
166
- versions will be similar in spirit to the present version, but may
167
- differ in detail to address new problems or concerns.
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:
168
11
 
169
- Each version is given a distinguishing version number. If the
170
- Library as you received it specifies that a certain numbered version
171
- of the GNU Lesser General Public License "or any later version"
172
- applies to it, you have the option of following the terms and
173
- conditions either of that published version or of any later version
174
- published by the Free Software Foundation. If the Library as you
175
- received it does not specify a version number of the GNU Lesser
176
- General Public License, you may choose any version of the GNU Lesser
177
- General Public License ever published by the Free Software Foundation.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
178
14
 
179
- If the Library as you received it specifies that a proxy can decide
180
- whether future versions of the GNU Lesser General Public License shall
181
- apply, that proxy's public statement of acceptance of any version is
182
- permanent authorization for you to choose that version for the
183
- Library.
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.
184
22
 
185
23
  ---
186
24
 
187
25
  Third-party notice
188
26
 
189
27
  This project depends on GSAP (GreenSock Animation Platform), which is NOT
190
- covered by the LGPL-3.0 above and is distributed separately.
28
+ covered by the MIT above and is distributed separately.
191
29
 
192
30
  GSAP is used under the Webflow Standard No-Charge GSAP License and is installed
193
31
  as a dependency from npm. GSAP remains the property of Webflow, Inc. / GreenSock
194
- and is subject to its own license terms, which take precedence over this LGPL-3.0
32
+ and is subject to its own license terms, which take precedence over this MIT
195
33
  license with respect to GSAP itself.
196
34
 
197
35
  See https://gsap.com/standard-license/ for the applicable GSAP terms.
package/Listeners.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import gsap from 'gsap'
2
- import { SpawnV, verticalmove, expandmove, magnet, magnet3d, reset, typewriter, countTargetVars, stashText, scrambleVars } from './Animations'
3
- import { customAnims } from './CustomAnims'
4
- import { defaults, normalize } from './Config'
2
+ import { SpawnV, verticalmove, expandmove, magnet, magnet3d, reset, typewriter, countTargetVars, stashText, scrambleVars } from './Animations.js'
3
+ import { customAnims } from './CustomAnims.js'
4
+ import { defaults, normalize } from './Config.js'
5
5
  import { TextPlugin, ScrollTrigger, SplitText } from 'gsap/all'
6
6
 
7
7
  // Prefix for SplitText text-reveal classes. Distinct from the raw `text-*`
package/README.md CHANGED
@@ -98,5 +98,5 @@ customAnims.push({
98
98
 
99
99
  ## License
100
100
 
101
- LGPL-3.0-only - except GSAP, which is used under the Webflow Standard No-Charge GSAP
101
+ MIT - except GSAP, which is used under the Webflow Standard No-Charge GSAP
102
102
  License and is not bundled or redistributed. See `LICENSE`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gclass-anims",
3
- "version": "1.0.0-beta.19",
3
+ "version": "1.0.0-beta.20",
4
4
  "description": "A Tailwind-style utility layer on top of GSAP. Framework-agnostic - works in vanilla JS, React, Vue, Svelte, or any bundler.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -34,7 +34,7 @@
34
34
  "framework-agnostic",
35
35
  "css-classes"
36
36
  ],
37
- "license": "LGPL-3.0-only",
37
+ "license": "MIT",
38
38
  "repository": {
39
39
  "type": "git",
40
40
  "url": "git+https://github.com/Saturn-sepehr/GClass.git",