@quenty/guivisiblemanager 12.9.0-canary.544.de8fcee.0 → 12.9.1-canary.545.2374fb2.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,26 @@
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.9.0-canary.544.de8fcee.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.8.1...@quenty/guivisiblemanager@12.9.0-canary.544.de8fcee.0) (2025-04-01)
6
+ ## [12.9.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.9.0...@quenty/guivisiblemanager@12.9.1-canary.545.2374fb2.0) (2025-04-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
12
+
13
+
14
+
15
+
16
+
17
+ # [12.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.8.2...@quenty/guivisiblemanager@12.9.0) (2025-04-02)
18
+
19
+ **Note:** Version bump only for package @quenty/guivisiblemanager
20
+
21
+
22
+
23
+
24
+
25
+ ## [12.8.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/guivisiblemanager@12.8.1...@quenty/guivisiblemanager@12.8.2) (2025-03-31)
7
26
 
8
27
  **Note:** Version bump only for package @quenty/guivisiblemanager
9
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/guivisiblemanager",
3
- "version": "12.9.0-canary.544.de8fcee.0",
3
+ "version": "12.9.1-canary.545.2374fb2.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.8.0",
29
- "@quenty/cancellabledelay": "3.5.0",
30
- "@quenty/loader": "10.8.0",
31
- "@quenty/maid": "3.4.0",
32
- "@quenty/valueobject": "13.17.0-canary.544.de8fcee.0"
28
+ "@quenty/baseobject": "10.8.1-canary.545.2374fb2.0",
29
+ "@quenty/cancellabledelay": "3.5.1-canary.545.2374fb2.0",
30
+ "@quenty/loader": "10.8.1-canary.545.2374fb2.0",
31
+ "@quenty/maid": "3.4.1-canary.545.2374fb2.0",
32
+ "@quenty/valueobject": "13.17.1-canary.545.2374fb2.0"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "de8fcee995fcdae464964357b4c770c03f4c7e03"
37
+ "gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
38
38
  }
@@ -27,7 +27,7 @@ GuiVisibleManager.__index = GuiVisibleManager
27
27
  @param maxHideTime number? -- Optional hide time
28
28
  @return GuiVisibleManager
29
29
  ]=]
30
- function GuiVisibleManager.new(promiseNewPane, maxHideTime)
30
+ function GuiVisibleManager.new(promiseNewPane, maxHideTime: number?)
31
31
  local self = setmetatable(BaseObject.new(), GuiVisibleManager)
32
32
 
33
33
  self._maxHideTime = maxHideTime or 1
@@ -53,7 +53,7 @@ end
53
53
 
54
54
  @return boolean
55
55
  ]=]
56
- function GuiVisibleManager:IsVisible()
56
+ function GuiVisibleManager:IsVisible(): boolean
57
57
  return self._paneVisible.Value
58
58
  end
59
59
 
@@ -63,7 +63,7 @@ end
63
63
 
64
64
  @param boolValue BoolValue
65
65
  ]=]
66
- function GuiVisibleManager:BindToBoolValue(boolValue)
66
+ function GuiVisibleManager:BindToBoolValue(boolValue: BoolValue)
67
67
  assert(boolValue, "Must have boolValue")
68
68
  assert(not self._boundBoolValue, "Already bound")
69
69
 
@@ -86,10 +86,10 @@ end
86
86
  Creates a handle that will force the gui to be rendered. Clean up the task
87
87
  to stop the showing.
88
88
 
89
- @param doNotAnimate boolean | nil
89
+ @param doNotAnimate boolean?
90
90
  @return MaidTask
91
91
  ]=]
92
- function GuiVisibleManager:CreateShowHandle(doNotAnimate)
92
+ function GuiVisibleManager:CreateShowHandle(doNotAnimate: boolean?)
93
93
  assert(self._showHandles, "Not initialized yet")
94
94
 
95
95
  local key = HttpService:GenerateGUID(false)
@@ -107,11 +107,11 @@ function GuiVisibleManager:CreateShowHandle(doNotAnimate)
107
107
  self._showHandles[key] = nil
108
108
  self:_updatePaneVisible()
109
109
  end
110
- end
111
- };
110
+ end,
111
+ }
112
112
  end
113
113
 
114
- function GuiVisibleManager:_updatePaneVisible(doNotAnimate)
114
+ function GuiVisibleManager:_updatePaneVisible(doNotAnimate: boolean?)
115
115
  local nextValue = next(self._showHandles) ~= nil
116
116
  if nextValue ~= self._paneVisible.Value then
117
117
  self._nextDoNotAnimate = doNotAnimate