@quenty/basicpane 13.17.2 → 13.17.3-canary.550.afa1b3b.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,14 @@
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
+ ## [13.17.3-canary.550.afa1b3b.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/basicpane@13.17.2...@quenty/basicpane@13.17.3-canary.550.afa1b3b.0) (2025-04-10)
7
+
8
+ **Note:** Version bump only for package @quenty/basicpane
9
+
10
+
11
+
12
+
13
+
6
14
  ## [13.17.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/basicpane@13.17.0...@quenty/basicpane@13.17.2) (2025-04-07)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/basicpane",
3
- "version": "13.17.2",
3
+ "version": "13.17.3-canary.550.afa1b3b.0",
4
4
  "description": "Base UI object with visibility and a maid",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,16 +25,16 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^14.17.2",
29
- "@quenty/ducktype": "^5.8.3",
30
- "@quenty/loader": "^10.8.2",
31
- "@quenty/maid": "^3.4.2",
32
- "@quenty/rx": "^13.17.2",
33
- "@quenty/signal": "^7.10.2",
34
- "@quenty/valueobject": "^13.17.2"
28
+ "@quenty/brio": "14.17.3-canary.550.afa1b3b.0",
29
+ "@quenty/ducktype": "5.8.4-canary.550.afa1b3b.0",
30
+ "@quenty/loader": "10.8.3-canary.550.afa1b3b.0",
31
+ "@quenty/maid": "3.4.3-canary.550.afa1b3b.0",
32
+ "@quenty/rx": "13.17.3-canary.550.afa1b3b.0",
33
+ "@quenty/signal": "7.10.3-canary.550.afa1b3b.0",
34
+ "@quenty/valueobject": "13.17.3-canary.550.afa1b3b.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "64def70499ec067077ee39f279936b620b217847"
39
+ "gitHead": "afa1b3b99b862698c3ab46009497bd507150867c"
40
40
  }
@@ -38,20 +38,27 @@ export type BasicPane = typeof(setmetatable(
38
38
  {} :: {
39
39
  _maid: Maid.Maid,
40
40
  _visible: ValueObject.ValueObject<boolean>,
41
- Gui: GuiBase?,
41
+
42
+ --[=[
43
+ Gui object which can be reparented or whatever
44
+
45
+ @prop Gui Instance?
46
+ @within BasicPane
47
+ ]=]
48
+ Gui: GuiObject?,
42
49
  VisibleChanged: Signal.Signal<(boolean, boolean)>,
43
50
  },
44
- BasicPane
51
+ {} :: typeof({ __index = BasicPane })
45
52
  ))
46
53
 
47
54
  --[=[
48
55
  Constructs a new BasicPane with the .Gui property set.
49
56
 
50
- @param gui GuiBase? -- Optional Gui object
57
+ @param gui GuiObject? -- Optional Gui object
51
58
  @return BasicPane
52
59
  ]=]
53
- function BasicPane.new(gui: GuiBase?): BasicPane
54
- local self = setmetatable({}, BasicPane)
60
+ function BasicPane.new(gui: GuiObject?): BasicPane
61
+ local self: BasicPane = setmetatable({} :: any, BasicPane)
55
62
 
56
63
  self._maid = Maid.new()
57
64
  self._visible = self._maid:Add(ValueObject.new(false, "boolean"))
@@ -67,23 +74,17 @@ function BasicPane.new(gui: GuiBase?): BasicPane
67
74
  @prop VisibleChanged Signal<boolean, boolean>
68
75
  @within BasicPane
69
76
  ]=]
70
- self.VisibleChanged = self._maid:Add(Signal.new()) -- :Fire(isVisible, doNotAnimate)
77
+ self.VisibleChanged = self._maid:Add(Signal.new() :: any) -- :Fire(isVisible, doNotAnimate)
71
78
 
72
79
  self._maid:GiveTask(self._visible.Changed:Connect(function(isVisible, _, doNotAnimate)
73
80
  self.VisibleChanged:Fire(isVisible, doNotAnimate)
74
81
  end))
75
82
 
76
83
  if gui then
77
- --[=[
78
- Gui object which can be reparented or whatever
79
-
80
- @prop Gui Instance?
81
- @within BasicPane
82
- ]=]
83
84
  self.Gui = self._maid:Add(gui)
84
85
  end
85
86
 
86
- return self :: any
87
+ return self
87
88
  end
88
89
 
89
90
  --[=[
@@ -128,7 +129,7 @@ function BasicPane.ObserveVisibleBrio(
128
129
  ): _Observable.Observable<_Brio.Brio<boolean>?>
129
130
  return self._visible:ObserveBrio(predicate or function(isVisible)
130
131
  return isVisible
131
- end)
132
+ end) :: any
132
133
  end
133
134
 
134
135
  --[=[
@@ -168,9 +169,11 @@ end
168
169
  setting the metatable to nil.
169
170
  ]=]
170
171
  function BasicPane.Destroy(self: BasicPane)
171
- (self :: any)._maid:DoCleaning();
172
- (self :: any)._maid = nil
173
- setmetatable(self :: any, nil)
172
+ local private: any = self
173
+
174
+ private._maid:DoCleaning()
175
+ private._maid = nil
176
+ setmetatable(private, nil)
174
177
  end
175
178
 
176
179
  return BasicPane