@quenty/transitionmodel 1.13.0 → 1.14.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 +11 -0
- package/package.json +4 -4
- package/src/Shared/SpringTransitionModel.lua +13 -0
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
|
+
# [1.14.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@1.13.0...@quenty/transitionmodel@1.14.0) (2023-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add :Observe() to SpringTransitionModel so it can be passed directly into Blend ([2d9fb45](https://github.com/Quenty/NevermoreEngine/commit/2d9fb45af5f9dfdfeb2b4a2933e553d9efb63a8a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@1.12.1...@quenty/transitionmodel@1.13.0) (2023-07-15)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/transitionmodel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/transitionmodel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Helps with Gui visiblity showing and hiding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@quenty/baseobject": "^6.2.1",
|
|
29
29
|
"@quenty/basicpane": "^7.16.0",
|
|
30
|
-
"@quenty/blend": "^6.
|
|
30
|
+
"@quenty/blend": "^6.23.0",
|
|
31
31
|
"@quenty/instanceutils": "^7.17.0",
|
|
32
32
|
"@quenty/loader": "^6.2.1",
|
|
33
33
|
"@quenty/maid": "^2.5.0",
|
|
34
34
|
"@quenty/promise": "^6.6.0",
|
|
35
35
|
"@quenty/rx": "^7.13.0",
|
|
36
36
|
"@quenty/signal": "^2.4.0",
|
|
37
|
-
"@quenty/valueobject": "^7.
|
|
37
|
+
"@quenty/valueobject": "^7.19.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c1fbe93a0a20b5c0c4b9ffbbac771926b07ac251"
|
|
43
43
|
}
|
|
@@ -103,6 +103,10 @@ function SpringTransitionModel:BindToPaneVisbility(pane)
|
|
|
103
103
|
self._maid._visibleBinding = maid
|
|
104
104
|
|
|
105
105
|
return function()
|
|
106
|
+
if not self.Destroy then
|
|
107
|
+
return
|
|
108
|
+
end
|
|
109
|
+
|
|
106
110
|
if self._maid._visibleBinding == maid then
|
|
107
111
|
self._maid._visibleBinding = nil
|
|
108
112
|
end
|
|
@@ -160,6 +164,15 @@ function SpringTransitionModel:ObserveRenderStepped()
|
|
|
160
164
|
return self._springObject:ObserveRenderStepped()
|
|
161
165
|
end
|
|
162
166
|
|
|
167
|
+
--[=[
|
|
168
|
+
Alias to spring transition model observation!
|
|
169
|
+
|
|
170
|
+
@return Observable<T>
|
|
171
|
+
]=]
|
|
172
|
+
function SpringTransitionModel:Observe()
|
|
173
|
+
return self._springObject:Observe()
|
|
174
|
+
end
|
|
175
|
+
|
|
163
176
|
--[=[
|
|
164
177
|
Shows the model and promises when the showing is complete.
|
|
165
178
|
|