@quenty/transitionmodel 7.20.0-canary.ae8d76d.0 → 7.20.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 CHANGED
@@ -3,7 +3,7 @@
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.20.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.19.3...@quenty/transitionmodel@7.20.0-canary.ae8d76d.0) (2025-05-10)
6
+ # [7.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/transitionmodel@7.19.3...@quenty/transitionmodel@7.20.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/transitionmodel",
3
- "version": "7.20.0-canary.ae8d76d.0",
3
+ "version": "7.20.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.8.3",
29
- "@quenty/basicpane": "13.18.0-canary.ae8d76d.0",
30
- "@quenty/blend": "12.19.0-canary.ae8d76d.0",
31
- "@quenty/ducktype": "5.8.4",
32
- "@quenty/instanceutils": "13.18.0-canary.ae8d76d.0",
33
- "@quenty/loader": "10.8.3",
34
- "@quenty/maid": "3.4.3",
35
- "@quenty/promise": "10.11.0-canary.ae8d76d.0",
36
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
37
- "@quenty/signal": "7.10.3",
38
- "@quenty/spring": "10.9.0-canary.ae8d76d.0",
39
- "@quenty/timedtween": "7.19.0-canary.ae8d76d.0",
40
- "@quenty/valueobject": "13.18.0-canary.ae8d76d.0"
28
+ "@quenty/baseobject": "^10.9.0",
29
+ "@quenty/basicpane": "^13.18.0",
30
+ "@quenty/blend": "^12.19.0",
31
+ "@quenty/ducktype": "^5.9.0",
32
+ "@quenty/instanceutils": "^13.18.0",
33
+ "@quenty/loader": "^10.9.0",
34
+ "@quenty/maid": "^3.5.0",
35
+ "@quenty/promise": "^10.11.0",
36
+ "@quenty/rx": "^13.18.0",
37
+ "@quenty/signal": "^7.11.0",
38
+ "@quenty/spring": "^10.9.0",
39
+ "@quenty/timedtween": "^7.19.0",
40
+ "@quenty/valueobject": "^13.18.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
45
+ "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
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 TransitionModel = require("TransitionModel")
10
- local SpringObject = require("SpringObject")
11
- local Promise = require("Promise")
12
9
  local Maid = require("Maid")
13
- local SpringUtils = require("SpringUtils")
14
10
  local Observable = require("Observable")
11
+ local Promise = require("Promise")
12
+ local SpringObject = require("SpringObject")
13
+ local SpringUtils = require("SpringUtils")
14
+ local TransitionModel = require("TransitionModel")
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,7 +140,12 @@ function SustainModel._executeSustain(self: SustainModel, doNotAnimate: boolean?
140
140
  promise:Resolve(result)
141
141
  else
142
142
  promise:Reject()
143
- error(string.format("[SustainModel] - Expected promise to be returned from sustainCallback, got %q", tostring(result)))
143
+ error(
144
+ string.format(
145
+ "[SustainModel] - Expected promise to be returned from sustainCallback, got %q",
146
+ tostring(result)
147
+ )
148
+ )
144
149
  end
145
150
  end
146
151
 
@@ -151,5 +156,4 @@ function SustainModel._executeSustain(self: SustainModel, doNotAnimate: boolean?
151
156
  self._maid._sustaining = maid
152
157
  end
153
158
 
154
-
155
- return SustainModel
159
+ 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")
12
9
  local Maid = require("Maid")
13
10
  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,7 +183,11 @@ function TimedTransitionModel._promiseShow(
183
183
  end
184
184
  end
185
185
 
186
- function TimedTransitionModel._promiseHide(self: TimedTransitionModel, maid: Maid.Maid, doNotAnimate: boolean?): Promise.Promise<()>
186
+ function TimedTransitionModel._promiseHide(
187
+ self: TimedTransitionModel,
188
+ maid: Maid.Maid,
189
+ doNotAnimate: boolean?
190
+ ): Promise.Promise<()>
187
191
  self._timedTween:Hide(doNotAnimate)
188
192
 
189
193
  if doNotAnimate then
@@ -193,5 +197,4 @@ function TimedTransitionModel._promiseHide(self: TimedTransitionModel, maid: Mai
193
197
  end
194
198
  end
195
199
 
196
-
197
- return TimedTransitionModel
200
+ 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 Promise = require("Promise")
13
- local Maid = require("Maid")
14
- local ValueObject = require("ValueObject")
15
12
  local DuckTypeUtils = require("DuckTypeUtils")
13
+ local Maid = require("Maid")
16
14
  local Observable = require("Observable")
15
+ local Promise = require("Promise")
16
+ local ValueObject = require("ValueObject")
17
17
 
18
18
  local TransitionModel = setmetatable({}, BasicPane)
19
19
  TransitionModel.ClassName = "TransitionModel"
@@ -303,7 +303,12 @@ function TransitionModel._executeHide(self: TransitionModel, doNotAnimate: boole
303
303
  promise:Resolve(result)
304
304
  else
305
305
  promise:Reject()
306
- error(string.format("[TransitionModel] - Expected promise to be returned from hideCallback, got %q", tostring(result)))
306
+ error(
307
+ string.format(
308
+ "[TransitionModel] - Expected promise to be returned from hideCallback, got %q",
309
+ tostring(result)
310
+ )
311
+ )
307
312
  end
308
313
  else
309
314
  -- Immediately resolve
@@ -321,4 +326,4 @@ function TransitionModel._executeHide(self: TransitionModel, doNotAnimate: boole
321
326
  end
322
327
  end
323
328
 
324
- return TransitionModel
329
+ return TransitionModel
@@ -27,4 +27,4 @@ function TransitionUtils.isTransition(value: any): boolean
27
27
  and type(value.PromiseToggle) == "function"
28
28
  end
29
29
 
30
- return TransitionUtils
30
+ return TransitionUtils