@quenty/basicpane 13.17.3 → 13.17.4-canary.559.339cfa7.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 +9 -9
- package/src/Shared/BasicPane.lua +7 -7
- package/src/Shared/BasicPaneUtils.lua +5 -5
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
|
+
## [13.17.4-canary.559.339cfa7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/basicpane@13.17.3...@quenty/basicpane@13.17.4-canary.559.339cfa7.0) (2025-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [13.17.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/basicpane@13.17.2...@quenty/basicpane@13.17.3) (2025-04-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/basicpane
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/basicpane",
|
|
3
|
-
"version": "13.17.
|
|
3
|
+
"version": "13.17.4-canary.559.339cfa7.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": "
|
|
29
|
-
"@quenty/ducktype": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/rx": "
|
|
33
|
-
"@quenty/signal": "
|
|
34
|
-
"@quenty/valueobject": "
|
|
28
|
+
"@quenty/brio": "14.17.4-canary.559.339cfa7.0",
|
|
29
|
+
"@quenty/ducktype": "5.8.5-canary.559.339cfa7.0",
|
|
30
|
+
"@quenty/loader": "10.8.4-canary.559.339cfa7.0",
|
|
31
|
+
"@quenty/maid": "3.4.4-canary.559.339cfa7.0",
|
|
32
|
+
"@quenty/rx": "13.17.4-canary.559.339cfa7.0",
|
|
33
|
+
"@quenty/signal": "7.10.4-canary.559.339cfa7.0",
|
|
34
|
+
"@quenty/valueobject": "13.17.4-canary.559.339cfa7.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "339cfa778736f08768ed7305041f6221faa35bfc"
|
|
40
40
|
}
|
package/src/Shared/BasicPane.lua
CHANGED
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
|
|
23
23
|
local require = require(script.Parent.loader).load(script)
|
|
24
24
|
|
|
25
|
+
local Brio = require("Brio")
|
|
25
26
|
local DuckTypeUtils = require("DuckTypeUtils")
|
|
26
27
|
local Maid = require("Maid")
|
|
28
|
+
local Observable = require("Observable")
|
|
29
|
+
local Rx = require("Rx")
|
|
27
30
|
local Signal = require("Signal")
|
|
28
31
|
local ValueObject = require("ValueObject")
|
|
29
|
-
local _Brio = require("Brio")
|
|
30
|
-
local _Observable = require("Observable")
|
|
31
|
-
local _Rx = require("Rx")
|
|
32
32
|
|
|
33
33
|
local BasicPane = {}
|
|
34
34
|
BasicPane.ClassName = "BasicPane"
|
|
@@ -113,7 +113,7 @@ end
|
|
|
113
113
|
|
|
114
114
|
@return Observable<boolean, boolean?>
|
|
115
115
|
]=]
|
|
116
|
-
function BasicPane.ObserveVisible(self: BasicPane):
|
|
116
|
+
function BasicPane.ObserveVisible(self: BasicPane): Observable.Observable<boolean, boolean?>
|
|
117
117
|
return self._visible:Observe()
|
|
118
118
|
end
|
|
119
119
|
|
|
@@ -125,8 +125,8 @@ end
|
|
|
125
125
|
]=]
|
|
126
126
|
function BasicPane.ObserveVisibleBrio(
|
|
127
127
|
self: BasicPane,
|
|
128
|
-
predicate:
|
|
129
|
-
):
|
|
128
|
+
predicate: Rx.Predicate<boolean>?
|
|
129
|
+
): Observable.Observable<Brio.Brio<boolean>?>
|
|
130
130
|
return self._visible:ObserveBrio(predicate or function(isVisible)
|
|
131
131
|
return isVisible
|
|
132
132
|
end) :: any
|
|
@@ -176,4 +176,4 @@ function BasicPane.Destroy(self: BasicPane)
|
|
|
176
176
|
setmetatable(private, nil)
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
-
return BasicPane
|
|
179
|
+
return BasicPane
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
local require = require(script.Parent.loader).load(script)
|
|
7
7
|
|
|
8
|
-
local Observable = require("Observable")
|
|
9
|
-
local Maid = require("Maid")
|
|
10
|
-
local Rx = require("Rx")
|
|
11
8
|
local BasicPane = require("BasicPane")
|
|
12
9
|
local Brio = require("Brio")
|
|
13
|
-
local
|
|
10
|
+
local Maid = require("Maid")
|
|
11
|
+
local Observable = require("Observable")
|
|
12
|
+
local Rx = require("Rx")
|
|
13
|
+
local Subscription = require("Subscription")
|
|
14
14
|
|
|
15
15
|
local BasicPaneUtils = {}
|
|
16
16
|
|
|
@@ -61,7 +61,7 @@ export type CreateBasicPane = (maid: Maid.Maid) -> BasicPane.BasicPane
|
|
|
61
61
|
]=]
|
|
62
62
|
function BasicPaneUtils.whenVisibleBrio(createBasicPane: CreateBasicPane) --: Observable.Transformer<(boolean), (Brio.Brio<GuiBase>)>
|
|
63
63
|
return function(source: Observable.Observable<boolean>): Observable.Observable<Brio.Brio<GuiBase>>
|
|
64
|
-
return Observable.new(function(sub:
|
|
64
|
+
return Observable.new(function(sub: Subscription.Subscription<Brio.Brio<GuiBase>>)
|
|
65
65
|
local maid = Maid.new()
|
|
66
66
|
local currentPane: BasicPane.BasicPane? = nil
|
|
67
67
|
|