@quenty/depthoffield 11.20.0-canary.ae8d76d.0 → 11.20.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,7 @@
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
- # [11.20.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/depthoffield@11.19.3...@quenty/depthoffield@11.20.0-canary.ae8d76d.0) (2025-05-10)
6
+ # [11.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/depthoffield@11.19.3...@quenty/depthoffield@11.20.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/depthoffield",
3
- "version": "11.20.0-canary.ae8d76d.0",
3
+ "version": "11.20.0",
4
4
  "description": "Depth of field service to allow multiple systems to write depth of field",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,24 +25,24 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/acceltween": "2.5.3",
29
- "@quenty/attributeutils": "14.18.0-canary.ae8d76d.0",
30
- "@quenty/baseobject": "10.8.3",
31
- "@quenty/basicpane": "13.18.0-canary.ae8d76d.0",
32
- "@quenty/blend": "12.19.0-canary.ae8d76d.0",
33
- "@quenty/brio": "14.18.0-canary.ae8d76d.0",
34
- "@quenty/instanceutils": "13.18.0-canary.ae8d76d.0",
35
- "@quenty/loader": "10.8.3",
36
- "@quenty/maid": "3.4.3",
37
- "@quenty/math": "2.7.3",
38
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
39
- "@quenty/signal": "7.10.3",
40
- "@quenty/steputils": "3.5.5",
41
- "@quenty/transitionmodel": "7.20.0-canary.ae8d76d.0",
42
- "@quenty/valueobject": "13.18.0-canary.ae8d76d.0"
28
+ "@quenty/acceltween": "^2.5.3",
29
+ "@quenty/attributeutils": "^14.18.0",
30
+ "@quenty/baseobject": "^10.9.0",
31
+ "@quenty/basicpane": "^13.18.0",
32
+ "@quenty/blend": "^12.19.0",
33
+ "@quenty/brio": "^14.18.0",
34
+ "@quenty/instanceutils": "^13.18.0",
35
+ "@quenty/loader": "^10.9.0",
36
+ "@quenty/maid": "^3.5.0",
37
+ "@quenty/math": "^2.7.3",
38
+ "@quenty/rx": "^13.18.0",
39
+ "@quenty/signal": "^7.11.0",
40
+ "@quenty/steputils": "^3.6.0",
41
+ "@quenty/transitionmodel": "^7.20.0",
42
+ "@quenty/valueobject": "^13.18.0"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
47
+ "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
48
48
  }
@@ -383,17 +383,19 @@ function DepthOfFieldEffect._observeRenderedDepthOfFieldState(
383
383
  return self._observeOtherStates :: any
384
384
  end
385
385
 
386
- function DepthOfFieldEffect._observeAllDepthOfFieldBrio(_self: DepthOfFieldEffect): Observable.Observable<Brio.Brio<Instance>>
386
+ function DepthOfFieldEffect._observeAllDepthOfFieldBrio(
387
+ _self: DepthOfFieldEffect
388
+ ): Observable.Observable<Brio.Brio<Instance>>
387
389
  return Rx.merge({
388
390
  RxInstanceUtils.observeChildrenOfClassBrio(Lighting, "DepthOfFieldEffect") :: any,
389
391
  RxInstanceUtils.observePropertyBrio(Workspace, "CurrentCamera", function(camera)
390
- return camera ~= nil
392
+ return camera ~= nil
391
393
  end):Pipe({
392
394
  RxBrioUtils.flatMapBrio(function(currentCamera)
393
- return RxInstanceUtils.observeChildrenOfClassBrio(currentCamera, "DepthOfFieldEffect")
395
+ return RxInstanceUtils.observeChildrenOfClassBrio(currentCamera, "DepthOfFieldEffect")
394
396
  end) :: any,
395
397
  }) :: any,
396
398
  }) :: any
397
399
  end
398
400
 
399
- return DepthOfFieldEffect
401
+ return DepthOfFieldEffect
@@ -2,13 +2,14 @@
2
2
  @class DepthOfFieldEffect.story
3
3
  ]]
4
4
 
5
- local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
5
+ local require =
6
+ require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
6
7
 
7
8
  local Workspace = game:GetService("Workspace")
8
9
 
9
- local Maid = require("Maid")
10
- local DepthOfFieldEffect = require("DepthOfFieldEffect")
11
10
  local Blend = require("Blend")
11
+ local DepthOfFieldEffect = require("DepthOfFieldEffect")
12
+ local Maid = require("Maid")
12
13
 
13
14
  return function(target)
14
15
  local maid = Maid.new()
@@ -25,55 +26,54 @@ return function(target)
25
26
  depthOfFieldEffect2.Gui.Parent = Workspace.CurrentCamera
26
27
  -- depthOfFieldEffect2:Show()
27
28
 
28
-
29
29
  maid:Add(Blend.mount(target, {
30
30
  Blend.New "Frame" {
31
- Size = UDim2.new(1, 0, 1, 0);
32
- BackgroundTransparency = 1;
31
+ Size = UDim2.new(1, 0, 1, 0),
32
+ BackgroundTransparency = 1,
33
33
 
34
34
  Blend.New "UIListLayout" {
35
- Padding = UDim.new(0, 5);
36
- };
35
+ Padding = UDim.new(0, 5),
36
+ },
37
37
 
38
38
  Blend.New "TextButton" {
39
39
  Text = Blend.Computed(depthOfFieldEffect:ObserveVisible(), function(visible)
40
40
  return string.format("Toggle 1 (%s)", visible and "on" or "off")
41
- end);
41
+ end),
42
42
  BackgroundColor3 = Blend.Computed(depthOfFieldEffect:ObserveVisible(), function(visible)
43
43
  return visible and Color3.new(0.5, 1, 0.5) or Color3.new(1, 0.5, 0.5)
44
- end);
45
- AutoButtonColor = true;
46
- Size = UDim2.new(0, 100, 0, 30);
44
+ end),
45
+ AutoButtonColor = true,
46
+ Size = UDim2.new(0, 100, 0, 30),
47
47
  [Blend.OnEvent "Activated"] = function()
48
48
  depthOfFieldEffect:Toggle()
49
- end;
49
+ end,
50
50
 
51
51
  Blend.New "UICorner" {
52
- CornerRadius = UDim.new(0, 5);
53
- };
54
- };
52
+ CornerRadius = UDim.new(0, 5),
53
+ },
54
+ },
55
55
 
56
56
  Blend.New "TextButton" {
57
57
  Text = Blend.Computed(depthOfFieldEffect2:ObserveVisible(), function(visible)
58
58
  return string.format("Toggle 2 (%s)", visible and "on" or "off")
59
- end);
59
+ end),
60
60
  BackgroundColor3 = Blend.Computed(depthOfFieldEffect2:ObserveVisible(), function(visible)
61
61
  return visible and Color3.new(0.5, 1, 0.5) or Color3.new(1, 0.5, 0.5)
62
- end);
63
- AutoButtonColor = true;
64
- Size = UDim2.new(0, 100, 0, 30);
62
+ end),
63
+ AutoButtonColor = true,
64
+ Size = UDim2.new(0, 100, 0, 30),
65
65
  [Blend.OnEvent "Activated"] = function()
66
66
  depthOfFieldEffect2:Toggle()
67
- end;
67
+ end,
68
68
 
69
69
  Blend.New "UICorner" {
70
- CornerRadius = UDim.new(0, 5);
71
- };
72
- };
73
- };
70
+ CornerRadius = UDim.new(0, 5),
71
+ },
72
+ },
73
+ },
74
74
  }))
75
75
 
76
76
  return function()
77
77
  maid:DoCleaning()
78
78
  end
79
- end
79
+ end