@quenty/selectionutils 3.0.0-canary.367.e9fdcbc.0 → 3.0.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,98 @@
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
- # [3.0.0-canary.367.e9fdcbc.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.14.0...@quenty/selectionutils@3.0.0-canary.367.e9fdcbc.0) (2023-06-05)
6
+ # [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.25.0...@quenty/selectionutils@3.0.0) (2023-10-11)
7
+
8
+ **Note:** Version bump only for package @quenty/selectionutils
9
+
10
+
11
+
12
+
13
+
14
+ # [2.25.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.24.0...@quenty/selectionutils@2.25.0) (2023-09-21)
15
+
16
+ **Note:** Version bump only for package @quenty/selectionutils
17
+
18
+
19
+
20
+
21
+
22
+ # [2.24.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.23.0...@quenty/selectionutils@2.24.0) (2023-09-04)
23
+
24
+ **Note:** Version bump only for package @quenty/selectionutils
25
+
26
+
27
+
28
+
29
+
30
+ # [2.23.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.22.0...@quenty/selectionutils@2.23.0) (2023-08-23)
31
+
32
+ **Note:** Version bump only for package @quenty/selectionutils
33
+
34
+
35
+
36
+
37
+
38
+ # [2.22.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.21.0...@quenty/selectionutils@2.22.0) (2023-08-01)
39
+
40
+ **Note:** Version bump only for package @quenty/selectionutils
41
+
42
+
43
+
44
+
45
+
46
+ # [2.21.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.20.0...@quenty/selectionutils@2.21.0) (2023-07-28)
47
+
48
+ **Note:** Version bump only for package @quenty/selectionutils
49
+
50
+
51
+
52
+
53
+
54
+ # [2.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.19.0...@quenty/selectionutils@2.20.0) (2023-07-23)
55
+
56
+ **Note:** Version bump only for package @quenty/selectionutils
57
+
58
+
59
+
60
+
61
+
62
+ # [2.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.18.0...@quenty/selectionutils@2.19.0) (2023-07-15)
63
+
64
+ **Note:** Version bump only for package @quenty/selectionutils
65
+
66
+
67
+
68
+
69
+
70
+ # [2.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.17.0...@quenty/selectionutils@2.18.0) (2023-07-10)
71
+
72
+ **Note:** Version bump only for package @quenty/selectionutils
73
+
74
+
75
+
76
+
77
+
78
+ # [2.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.16.0...@quenty/selectionutils@2.17.0) (2023-06-24)
79
+
80
+
81
+ ### Features
82
+
83
+ * Add RxSelectionUtils.observeFirstSelectionWhichIsABrio(className) ([2771f2c](https://github.com/Quenty/NevermoreEngine/commit/2771f2ce012a55c78c75779800dba1e20c7725a5))
84
+
85
+
86
+
87
+
88
+
89
+ # [2.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.15.0...@quenty/selectionutils@2.16.0) (2023-06-17)
90
+
91
+ **Note:** Version bump only for package @quenty/selectionutils
92
+
93
+
94
+
95
+
96
+
97
+ # [2.15.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@2.14.0...@quenty/selectionutils@2.15.0) (2023-06-05)
7
98
 
8
99
  **Note:** Version bump only for package @quenty/selectionutils
9
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/selectionutils",
3
- "version": "3.0.0-canary.367.e9fdcbc.0",
3
+ "version": "3.0.0",
4
4
  "description": "Utility methods around Selection service. Useful for plugins and stories.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,17 +25,17 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "6.2.1",
29
- "@quenty/brio": "8.13.0",
30
- "@quenty/loader": "6.2.1",
31
- "@quenty/maid": "2.5.0",
32
- "@quenty/rx": "7.11.0",
33
- "@quenty/signal": "2.4.0",
34
- "@quenty/table": "3.2.0",
35
- "@quenty/valueobject": "8.0.0-canary.367.e9fdcbc.0"
28
+ "@quenty/baseobject": "^7.0.0",
29
+ "@quenty/brio": "^9.0.0",
30
+ "@quenty/loader": "^7.0.0",
31
+ "@quenty/maid": "^2.6.0",
32
+ "@quenty/rx": "^8.0.0",
33
+ "@quenty/signal": "^3.0.0",
34
+ "@quenty/table": "^3.3.0",
35
+ "@quenty/valueobject": "^8.0.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "e9fdcbc6ea1d46e068bf42a08b833099e9005259"
40
+ "gitHead": "fdeae46099587019ec5fc15317dc673aed379400"
41
41
  }
@@ -35,6 +35,30 @@ function RxSelectionUtils.observeFirstSelectionWhichIsA(className)
35
35
  end)
36
36
  end
37
37
 
38
+ --[=[
39
+ Observes first selection in the selection list which is of a class wrapped in a brio
40
+
41
+ ```lua
42
+ RxSelectionUtils.observeFirstSelectionWhichIsA("BasePart"):Subscribe(function(brio)
43
+ if brio:IsDead() then
44
+ return
45
+ end
46
+
47
+ print("part", brio:GetValue())
48
+ end)
49
+ ```
50
+
51
+ @param className string
52
+ @return Observable<Brio<Instance>>
53
+ ]=]
54
+ function RxSelectionUtils.observeFirstSelectionWhichIsABrio(className)
55
+ assert(type(className) == "string", "Bad className")
56
+
57
+ return RxSelectionUtils.observeFirstSelectionBrio(function(inst)
58
+ return inst:IsA(className)
59
+ end)
60
+ end
61
+
38
62
  --[=[
39
63
  Observes first selection in the selection list which is an "Adornee"
40
64