@quenty/guivisiblemanager 12.13.2 → 12.13.3-canary.607f741.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,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
+ ## [12.13.3-canary.607f741.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.13.2...@quenty/guivisiblemanager@12.13.3-canary.607f741.0) (2025-12-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Typecheck some more things ([41eaaa6](https://github.com/Quenty/NevermoreEngine/commit/41eaaa6d053c469f7548810da72d05dfbf997b26))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [12.13.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.13.1...@quenty/guivisiblemanager@12.13.2) (2025-11-22)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/guivisiblemanager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/guivisiblemanager",
3
- "version": "12.13.2",
3
+ "version": "12.13.3-canary.607f741.0",
4
4
  "description": "Help manage the visibility of GUIs while only constructing the Gui while visible",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,14 +25,14 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^10.9.0",
29
- "@quenty/cancellabledelay": "^3.6.0",
30
- "@quenty/loader": "^10.9.0",
31
- "@quenty/maid": "^3.5.0",
32
- "@quenty/valueobject": "^13.21.2"
28
+ "@quenty/baseobject": "10.9.0",
29
+ "@quenty/cancellabledelay": "3.6.0",
30
+ "@quenty/loader": "10.9.0",
31
+ "@quenty/maid": "3.5.0",
32
+ "@quenty/valueobject": "13.21.3-canary.607f741.0"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "b3a8753cbae8b4312b1ed66fce1577a94015c156"
37
+ "gitHead": "607f7418f46b85cd5843f1c5665911eb2dd7e3fb"
38
38
  }
@@ -1,3 +1,4 @@
1
+ --!strict
1
2
  --[=[
2
3
  Help manage the visibility of Guis while only constructing the Gui while visible.
3
4
 
@@ -15,6 +16,7 @@ local BaseObject = require("BaseObject")
15
16
  local BasicPane = require("BasicPane")
16
17
  local Maid = require("Maid")
17
18
  local Promise = require("Promise")
19
+ local Signal = require("Signal")
18
20
  local ValueObject = require("ValueObject")
19
21
  local cancellableDelay = require("cancellableDelay")
20
22
 
@@ -24,15 +26,20 @@ GuiVisibleManager.__index = GuiVisibleManager
24
26
 
25
27
  export type ConstructPane = (maid: Maid.Maid) -> Promise.Promise<BasicPane.BasicPane>
26
28
 
27
- export type GuiVisibleManager = typeof(setmetatable(
28
- {} :: {
29
- _paneVisible: ValueObject.ValueObject<boolean>,
30
- _promiseNewPane: ConstructPane,
31
- _maxHideTime: number,
32
- _nextDoNotAnimate: boolean?,
33
- },
34
- {} :: typeof({ __index = GuiVisibleManager })
35
- )) & BaseObject.BaseObject
29
+ export type GuiVisibleManager =
30
+ typeof(setmetatable(
31
+ {} :: {
32
+ _paneVisible: ValueObject.ValueObject<boolean>,
33
+ _promiseNewPane: ConstructPane,
34
+ _maxHideTime: number,
35
+ _nextDoNotAnimate: boolean?,
36
+ _showHandles: { [string]: boolean },
37
+ PaneVisibleChanged: Signal.Signal<boolean>,
38
+ _boundBoolValue: BoolValue?,
39
+ },
40
+ {} :: typeof({ __index = GuiVisibleManager })
41
+ ))
42
+ & BaseObject.BaseObject
36
43
 
37
44
  --[=[
38
45
  Constructs a new GuiVisibleManager.
@@ -57,7 +64,7 @@ function GuiVisibleManager.new(promiseNewPane: ConstructPane, maxHideTime: numbe
57
64
  self:_onPaneVisibleChanged()
58
65
  end))
59
66
 
60
- self.PaneVisibleChanged = self._paneVisible.Changed
67
+ self.PaneVisibleChanged = self._paneVisible.Changed :: any
61
68
 
62
69
  return self
63
70
  end
@@ -83,6 +90,8 @@ function GuiVisibleManager.BindToBoolValue(self: GuiVisibleManager, boolValue: B
83
90
 
84
91
  self._boundBoolValue = boolValue
85
92
 
93
+ assert(self._boundBoolValue, "Typechecking fix")
94
+
86
95
  self._maid:GiveTask(self._boundBoolValue.Changed:Connect(function()
87
96
  if self._boundBoolValue.Value then
88
97
  self._maid._boundShowHandle = self:CreateShowHandle()