@quenty/transitionmodel 7.24.0 → 7.24.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/CHANGELOG.md +11 -0
- package/LICENSE.md +1 -1
- package/package.json +6 -6
- package/src/Shared/Timed/TimedTransitionModel.lua +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## [7.24.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.24.0...@quenty/transitionmodel@7.24.1) (2026-01-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Transition times take a mountable value instead of just a number ([d63f252](https://github.com/Quenty/NevermoreEngine/commit/d63f2525ec29db3aaabab70fee0956806b4718a1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.24.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.23.7...@quenty/transitionmodel@7.24.0) (2026-01-04)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/transitionmodel
|
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2026 James Onnen (Quenty)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/transitionmodel",
|
|
3
|
-
"version": "7.24.
|
|
3
|
+
"version": "7.24.1",
|
|
4
4
|
"description": "Helps with Gui visiblity showing and hiding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@quenty/baseobject": "^10.9.1",
|
|
29
|
-
"@quenty/basicpane": "^13.22.
|
|
30
|
-
"@quenty/blend": "^12.23.
|
|
29
|
+
"@quenty/basicpane": "^13.22.1",
|
|
30
|
+
"@quenty/blend": "^12.23.1",
|
|
31
31
|
"@quenty/ducktype": "^5.9.1",
|
|
32
32
|
"@quenty/instanceutils": "^13.21.0",
|
|
33
33
|
"@quenty/loader": "^10.9.1",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"@quenty/rx": "^13.21.0",
|
|
37
37
|
"@quenty/signal": "^7.11.3",
|
|
38
38
|
"@quenty/spring": "^10.9.2",
|
|
39
|
-
"@quenty/timedtween": "^7.23.
|
|
40
|
-
"@quenty/valueobject": "^13.22.
|
|
39
|
+
"@quenty/timedtween": "^7.23.1",
|
|
40
|
+
"@quenty/valueobject": "^13.22.1"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5232cd2c58ca0dcdf591dd8ae78995211da2f3e2"
|
|
46
46
|
}
|
|
@@ -11,6 +11,7 @@ local Observable = require("Observable")
|
|
|
11
11
|
local Promise = require("Promise")
|
|
12
12
|
local TimedTween = require("TimedTween")
|
|
13
13
|
local TransitionModel = require("TransitionModel")
|
|
14
|
+
local ValueObject = require("ValueObject")
|
|
14
15
|
|
|
15
16
|
local TimedTransitionModel = setmetatable({}, BasicPane)
|
|
16
17
|
TimedTransitionModel.ClassName = "TimedTransitionModel"
|
|
@@ -30,10 +31,10 @@ export type TimedTransitionModel =
|
|
|
30
31
|
A transition model that has a spring underlying it. Very useful
|
|
31
32
|
for animations on tracks that need to be on a spring.
|
|
32
33
|
|
|
33
|
-
@param transitionTime number
|
|
34
|
+
@param transitionTime ValueObject.Mountable<number>? -- Optional
|
|
34
35
|
@return TimedTransitionModel
|
|
35
36
|
]=]
|
|
36
|
-
function TimedTransitionModel.new(transitionTime: number
|
|
37
|
+
function TimedTransitionModel.new(transitionTime: ValueObject.Mountable<number>?): TimedTransitionModel
|
|
37
38
|
local self: TimedTransitionModel = setmetatable(BasicPane.new() :: any, TimedTransitionModel)
|
|
38
39
|
|
|
39
40
|
self._transitionModel = self._maid:Add(TransitionModel.new())
|
|
@@ -57,8 +58,11 @@ end
|
|
|
57
58
|
|
|
58
59
|
@param transitionTime number
|
|
59
60
|
]=]
|
|
60
|
-
function TimedTransitionModel.SetTransitionTime(
|
|
61
|
-
self
|
|
61
|
+
function TimedTransitionModel.SetTransitionTime(
|
|
62
|
+
self: TimedTransitionModel,
|
|
63
|
+
transitionTime: ValueObject.Mountable<number>
|
|
64
|
+
): () -> ()
|
|
65
|
+
return self._timedTween:SetTransitionTime(transitionTime)
|
|
62
66
|
end
|
|
63
67
|
|
|
64
68
|
--[=[
|