@quenty/blend 6.21.1 → 6.22.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
+ # [6.22.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@6.21.1...@quenty/blend@6.22.0) (2023-07-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add :Observe() API calls to a variety of systems and allow Blend to :Observe() stuff ([ca29c68](https://github.com/Quenty/NevermoreEngine/commit/ca29c68164dfdaf136e9168faf48f487bed26088))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.21.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@6.21.0...@quenty/blend@6.21.1) (2023-07-11)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/blend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/blend",
3
- "version": "6.21.1",
3
+ "version": "6.22.0",
4
4
  "description": "Declarative UI system.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,22 +28,22 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@quenty/acceltween": "^2.2.1",
31
- "@quenty/brio": "^8.14.0",
32
- "@quenty/instanceutils": "^7.16.0",
31
+ "@quenty/brio": "^8.15.0",
32
+ "@quenty/instanceutils": "^7.17.0",
33
33
  "@quenty/loader": "^6.2.1",
34
34
  "@quenty/maid": "^2.5.0",
35
35
  "@quenty/promise": "^6.6.0",
36
- "@quenty/rx": "^7.12.0",
36
+ "@quenty/rx": "^7.13.0",
37
37
  "@quenty/signal": "^2.4.0",
38
38
  "@quenty/spring": "^6.3.0",
39
39
  "@quenty/steputils": "^3.2.0",
40
40
  "@quenty/string": "^3.1.0",
41
- "@quenty/valuebaseutils": "^7.16.0",
42
- "@quenty/valueobject": "^7.17.0"
41
+ "@quenty/valuebaseutils": "^7.17.0",
42
+ "@quenty/valueobject": "^7.18.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@quenty/contentproviderutils": "^6.13.0",
45
+ "@quenty/contentproviderutils": "^6.14.0",
46
46
  "@quenty/playerthumbnailutils": "^6.6.0"
47
47
  },
48
- "gitHead": "153300b140825d56a2144be7fe050a8e1b9050b7"
48
+ "gitHead": "af7a623f58fe7ec96b47c80e385b71f820fd4cb8"
49
49
  }
@@ -480,6 +480,8 @@ function Blend.toPropertyObservable(value)
480
480
  return ValueObjectUtils.observeValue(value)
481
481
  elseif Promise.isPromise(value) then
482
482
  return Rx.fromPromise(value)
483
+ elseif value.Observe then
484
+ return value:Observe()
483
485
  end
484
486
  end
485
487
 
@@ -75,6 +75,15 @@ function SpringObject:ObserveRenderStepped()
75
75
  return self:ObserveOnSignal(RunService.RenderStepped)
76
76
  end
77
77
 
78
+ --[=[
79
+ Alias for [ObserveRenderStepped]
80
+
81
+ @return Observable<T>
82
+ ]=]
83
+ function SpringObject:Observe()
84
+ return self:ObserveRenderStepped()
85
+ end
86
+
78
87
  function SpringObject:ObserveVelocityOnRenderStepped()
79
88
  return self:ObserveVelocityOnSignal(RunService.RenderStepped)
80
89
  end