@quenty/blend 12.5.2-canary.497.496fc5b.0 → 12.5.2

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,9 +3,12 @@
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.5.2-canary.497.496fc5b.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@12.5.1...@quenty/blend@12.5.2-canary.497.496fc5b.0) (2024-09-20)
6
+ ## [12.5.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@12.5.1...@quenty/blend@12.5.2) (2024-09-22)
7
7
 
8
- **Note:** Version bump only for package @quenty/blend
8
+
9
+ ### Bug Fixes
10
+
11
+ * SpringObject wouldn't emit a value initially when observing the default spring ([d37c6ab](https://github.com/Quenty/NevermoreEngine/commit/d37c6abe0218d8a74ec3a6855b54f0fc39836286))
9
12
 
10
13
 
11
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/blend",
3
- "version": "12.5.2-canary.497.496fc5b.0",
3
+ "version": "12.5.2",
4
4
  "description": "Declarative UI system.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,24 +27,24 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@quenty/acceltween": "2.5.0",
31
- "@quenty/brio": "14.5.1-canary.497.496fc5b.0",
32
- "@quenty/ducktype": "5.4.1-canary.497.496fc5b.0",
33
- "@quenty/instanceutils": "13.5.1-canary.497.496fc5b.0",
34
- "@quenty/loader": "10.4.1-canary.497.496fc5b.0",
35
- "@quenty/maid": "3.3.0",
36
- "@quenty/promise": "10.4.1-canary.497.496fc5b.0",
37
- "@quenty/rx": "13.5.1-canary.497.496fc5b.0",
38
- "@quenty/signal": "7.4.1-canary.497.496fc5b.0",
39
- "@quenty/spring": "10.4.1-canary.497.496fc5b.0",
40
- "@quenty/steputils": "3.4.1-canary.497.496fc5b.0",
41
- "@quenty/string": "3.2.0",
42
- "@quenty/valuebaseutils": "13.5.1-canary.497.496fc5b.0",
43
- "@quenty/valueobject": "13.5.1-canary.497.496fc5b.0"
30
+ "@quenty/acceltween": "^2.5.0",
31
+ "@quenty/brio": "^14.5.0",
32
+ "@quenty/ducktype": "^5.4.0",
33
+ "@quenty/instanceutils": "^13.5.0",
34
+ "@quenty/loader": "^10.4.0",
35
+ "@quenty/maid": "^3.3.0",
36
+ "@quenty/promise": "^10.4.0",
37
+ "@quenty/rx": "^13.5.0",
38
+ "@quenty/signal": "^7.4.0",
39
+ "@quenty/spring": "^10.4.1",
40
+ "@quenty/steputils": "^3.4.0",
41
+ "@quenty/string": "^3.2.0",
42
+ "@quenty/valuebaseutils": "^13.5.0",
43
+ "@quenty/valueobject": "^13.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@quenty/contentproviderutils": "12.5.1-canary.497.496fc5b.0",
47
- "@quenty/playerthumbnailutils": "10.4.1-canary.497.496fc5b.0"
46
+ "@quenty/contentproviderutils": "^12.5.0",
47
+ "@quenty/playerthumbnailutils": "^10.4.0"
48
48
  },
49
- "gitHead": "496fc5bb230a226ec6c86a8dfd025b8e326d92d8"
49
+ "gitHead": "1cd1ee70499c9c4a52465d2e5125732b8a10cb27"
50
50
  }
@@ -968,7 +968,7 @@ function Blend._observeChildren(value, parent)
968
968
  return maid
969
969
  end
970
970
 
971
- warn(string.format("Unknown type in brio %q", typeof(result)))
971
+ warn(("Unknown type in brio %q"):format(typeof(result)))
972
972
  return nil
973
973
  end)
974
974
  end
@@ -1015,7 +1015,7 @@ function Blend._observeChildren(value, parent)
1015
1015
  end)
1016
1016
  maid[innerMaid] = innerMaid
1017
1017
  else
1018
- warn(string.format("Failed to convert %q into children", tostring(result)))
1018
+ warn(("Failed to convert %q into children"):format(tostring(result)))
1019
1019
  end
1020
1020
  end, function(...)
1021
1021
  sub:Fire(...)
@@ -1034,7 +1034,7 @@ function Blend._observeChildren(value, parent)
1034
1034
  if observe then
1035
1035
  table.insert(observables, observe)
1036
1036
  else
1037
- warn(string.format("Failed to convert [%s] %q into children", tostring(key), tostring(item)))
1037
+ warn(("Failed to convert [%s] %q into children"):format(tostring(key), tostring(item)))
1038
1038
  end
1039
1039
  end
1040
1040
 
@@ -1114,14 +1114,14 @@ function Blend.mount(instance, props)
1114
1114
  if Observable.isObservable(observable) then
1115
1115
  table.insert(dependentObservables, {observable, value})
1116
1116
  else
1117
- warn(string.format("Unable to apply event listener %q", tostring(key)))
1117
+ warn(("Unable to apply event listener %q"):format(tostring(key)))
1118
1118
  end
1119
1119
  elseif type(key) == "number" then
1120
1120
  -- Treat this as an implicit children contract
1121
1121
  -- Thus, we don't need an explicit [Blend.Children] call.
1122
1122
  table.insert(dependentObservables, { Blend.Children(instance, value), value })
1123
1123
  else
1124
- warn(string.format("Unable to apply property %q", tostring(key)))
1124
+ warn(("Unable to apply property %q"):format(tostring(key)))
1125
1125
  end
1126
1126
  end
1127
1127
 
@@ -53,6 +53,9 @@ function SpringObject.new(target, speed, damper)
53
53
 
54
54
  if target then
55
55
  self:SetTarget(target)
56
+ else
57
+ -- Ensure we initialize at 0 so we can emit a value immediately
58
+ self:SetTarget(0)
56
59
  end
57
60
 
58
61
  if speed then