@quenty/transitionmodel 7.19.4-canary.559.9f38947.0 → 7.20.0-canary.0a5db80.0
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/CHANGELOG.md +2 -10
- package/package.json +15 -15
- package/src/Shared/SpringTransitionModel.lua +5 -5
- package/src/Shared/Sustain/SustainModel.lua +3 -7
- package/src/Shared/Timed/TimedTransitionModel.lua +6 -9
- package/src/Shared/TransitionModel.lua +5 -10
- package/src/Shared/TransitionUtils.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,20 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [7.20.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.19.2...@quenty/transitionmodel@7.20.0-canary.0a5db80.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
* Additional type checking updates ([
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [7.19.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.19.2...@quenty/transitionmodel@7.19.3) (2025-04-10)
|
|
18
|
-
|
|
19
|
-
**Note:** Version bump only for package @quenty/transitionmodel
|
|
11
|
+
* Additional type checking updates ([7e008c5](https://github.com/Quenty/NevermoreEngine/commit/7e008c58547bd00b5904e56541454a38c8d72ccc))
|
|
20
12
|
|
|
21
13
|
|
|
22
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/transitionmodel",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.20.0-canary.0a5db80.0",
|
|
4
4
|
"description": "Helps with Gui visiblity showing and hiding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "10.
|
|
29
|
-
"@quenty/basicpane": "13.
|
|
30
|
-
"@quenty/blend": "12.
|
|
31
|
-
"@quenty/ducktype": "5.
|
|
32
|
-
"@quenty/instanceutils": "13.
|
|
33
|
-
"@quenty/loader": "10.
|
|
34
|
-
"@quenty/maid": "3.
|
|
35
|
-
"@quenty/promise": "10.
|
|
36
|
-
"@quenty/rx": "13.
|
|
37
|
-
"@quenty/signal": "7.
|
|
38
|
-
"@quenty/spring": "10.
|
|
39
|
-
"@quenty/timedtween": "7.
|
|
40
|
-
"@quenty/valueobject": "13.
|
|
28
|
+
"@quenty/baseobject": "10.9.0-canary.0a5db80.0",
|
|
29
|
+
"@quenty/basicpane": "13.18.0-canary.0a5db80.0",
|
|
30
|
+
"@quenty/blend": "12.19.0-canary.0a5db80.0",
|
|
31
|
+
"@quenty/ducktype": "5.9.0-canary.0a5db80.0",
|
|
32
|
+
"@quenty/instanceutils": "13.18.0-canary.0a5db80.0",
|
|
33
|
+
"@quenty/loader": "10.9.0-canary.0a5db80.0",
|
|
34
|
+
"@quenty/maid": "3.5.0-canary.0a5db80.0",
|
|
35
|
+
"@quenty/promise": "10.11.0-canary.0a5db80.0",
|
|
36
|
+
"@quenty/rx": "13.18.0-canary.0a5db80.0",
|
|
37
|
+
"@quenty/signal": "7.11.0-canary.0a5db80.0",
|
|
38
|
+
"@quenty/spring": "10.9.0-canary.0a5db80.0",
|
|
39
|
+
"@quenty/timedtween": "7.19.0-canary.0a5db80.0",
|
|
40
|
+
"@quenty/valueobject": "13.18.0-canary.0a5db80.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
|
|
46
46
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
local require = require(script.Parent.loader).load(script)
|
|
7
7
|
|
|
8
8
|
local BasicPane = require("BasicPane")
|
|
9
|
-
local
|
|
10
|
-
local Observable = require("Observable")
|
|
11
|
-
local Promise = require("Promise")
|
|
9
|
+
local TransitionModel = require("TransitionModel")
|
|
12
10
|
local SpringObject = require("SpringObject")
|
|
11
|
+
local Promise = require("Promise")
|
|
12
|
+
local Maid = require("Maid")
|
|
13
13
|
local SpringUtils = require("SpringUtils")
|
|
14
|
-
local
|
|
14
|
+
local Observable = require("Observable")
|
|
15
15
|
|
|
16
16
|
local SpringTransitionModel = setmetatable({}, BasicPane)
|
|
17
17
|
SpringTransitionModel.ClassName = "SpringTransitionModel"
|
|
@@ -281,4 +281,4 @@ function SpringTransitionModel._computeHideTarget<T>(self: SpringTransitionModel
|
|
|
281
281
|
end
|
|
282
282
|
end
|
|
283
283
|
|
|
284
|
-
return SpringTransitionModel
|
|
284
|
+
return SpringTransitionModel
|
|
@@ -140,12 +140,7 @@ function SustainModel._executeSustain(self: SustainModel, doNotAnimate: boolean?
|
|
|
140
140
|
promise:Resolve(result)
|
|
141
141
|
else
|
|
142
142
|
promise:Reject()
|
|
143
|
-
error(
|
|
144
|
-
string.format(
|
|
145
|
-
"[SustainModel] - Expected promise to be returned from sustainCallback, got %q",
|
|
146
|
-
tostring(result)
|
|
147
|
-
)
|
|
148
|
-
)
|
|
143
|
+
error(string.format("[SustainModel] - Expected promise to be returned from sustainCallback, got %q", tostring(result)))
|
|
149
144
|
end
|
|
150
145
|
end
|
|
151
146
|
|
|
@@ -156,4 +151,5 @@ function SustainModel._executeSustain(self: SustainModel, doNotAnimate: boolean?
|
|
|
156
151
|
self._maid._sustaining = maid
|
|
157
152
|
end
|
|
158
153
|
|
|
159
|
-
|
|
154
|
+
|
|
155
|
+
return SustainModel
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
local require = require(script.Parent.loader).load(script)
|
|
7
7
|
|
|
8
8
|
local BasicPane = require("BasicPane")
|
|
9
|
+
local TransitionModel = require("TransitionModel")
|
|
10
|
+
local TimedTween = require("TimedTween")
|
|
11
|
+
local Promise = require("Promise")
|
|
9
12
|
local Maid = require("Maid")
|
|
10
13
|
local Observable = require("Observable")
|
|
11
|
-
local Promise = require("Promise")
|
|
12
|
-
local TimedTween = require("TimedTween")
|
|
13
|
-
local TransitionModel = require("TransitionModel")
|
|
14
14
|
|
|
15
15
|
local TimedTransitionModel = setmetatable({}, BasicPane)
|
|
16
16
|
TimedTransitionModel.ClassName = "TimedTransitionModel"
|
|
@@ -183,11 +183,7 @@ function TimedTransitionModel._promiseShow(
|
|
|
183
183
|
end
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
function TimedTransitionModel._promiseHide(
|
|
187
|
-
self: TimedTransitionModel,
|
|
188
|
-
maid: Maid.Maid,
|
|
189
|
-
doNotAnimate: boolean?
|
|
190
|
-
): Promise.Promise<()>
|
|
186
|
+
function TimedTransitionModel._promiseHide(self: TimedTransitionModel, maid: Maid.Maid, doNotAnimate: boolean?): Promise.Promise<()>
|
|
191
187
|
self._timedTween:Hide(doNotAnimate)
|
|
192
188
|
|
|
193
189
|
if doNotAnimate then
|
|
@@ -197,4 +193,5 @@ function TimedTransitionModel._promiseHide(
|
|
|
197
193
|
end
|
|
198
194
|
end
|
|
199
195
|
|
|
200
|
-
|
|
196
|
+
|
|
197
|
+
return TimedTransitionModel
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
local require = require(script.Parent.loader).load(script)
|
|
10
10
|
|
|
11
11
|
local BasicPane = require("BasicPane")
|
|
12
|
-
local DuckTypeUtils = require("DuckTypeUtils")
|
|
13
|
-
local Maid = require("Maid")
|
|
14
|
-
local Observable = require("Observable")
|
|
15
12
|
local Promise = require("Promise")
|
|
13
|
+
local Maid = require("Maid")
|
|
16
14
|
local ValueObject = require("ValueObject")
|
|
15
|
+
local DuckTypeUtils = require("DuckTypeUtils")
|
|
16
|
+
local Observable = require("Observable")
|
|
17
17
|
|
|
18
18
|
local TransitionModel = setmetatable({}, BasicPane)
|
|
19
19
|
TransitionModel.ClassName = "TransitionModel"
|
|
@@ -303,12 +303,7 @@ function TransitionModel._executeHide(self: TransitionModel, doNotAnimate: boole
|
|
|
303
303
|
promise:Resolve(result)
|
|
304
304
|
else
|
|
305
305
|
promise:Reject()
|
|
306
|
-
error(
|
|
307
|
-
string.format(
|
|
308
|
-
"[TransitionModel] - Expected promise to be returned from hideCallback, got %q",
|
|
309
|
-
tostring(result)
|
|
310
|
-
)
|
|
311
|
-
)
|
|
306
|
+
error(string.format("[TransitionModel] - Expected promise to be returned from hideCallback, got %q", tostring(result)))
|
|
312
307
|
end
|
|
313
308
|
else
|
|
314
309
|
-- Immediately resolve
|
|
@@ -326,4 +321,4 @@ function TransitionModel._executeHide(self: TransitionModel, doNotAnimate: boole
|
|
|
326
321
|
end
|
|
327
322
|
end
|
|
328
323
|
|
|
329
|
-
return TransitionModel
|
|
324
|
+
return TransitionModel
|