@quenty/highlight 2.20.0 → 2.21.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
+ # [2.21.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/highlight@2.20.0...@quenty/highlight@2.21.0) (2023-05-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * Initial refactor of guis to use ValueObject instead of ValueObject ([723aba0](https://github.com/Quenty/NevermoreEngine/commit/723aba0208cae7e06c9d8bf2d8f0092d042d70ea))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/highlight@2.19.0...@quenty/highlight@2.20.0) (2023-05-08)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/highlight
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/highlight",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "description": "Animated highlight system for the Roblox highlight object",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,20 +27,20 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@quenty/baseobject": "^6.2.1",
30
- "@quenty/basicpane": "^7.13.0",
31
- "@quenty/blend": "^6.17.0",
30
+ "@quenty/basicpane": "^7.14.0",
31
+ "@quenty/blend": "^6.18.0",
32
32
  "@quenty/enumutils": "^3.1.0",
33
- "@quenty/instanceutils": "^7.13.0",
33
+ "@quenty/instanceutils": "^7.14.0",
34
34
  "@quenty/loader": "^6.2.1",
35
35
  "@quenty/maid": "^2.5.0",
36
36
  "@quenty/math": "^2.3.0",
37
- "@quenty/selectionutils": "^2.13.0",
38
- "@quenty/signal": "^2.3.0",
37
+ "@quenty/selectionutils": "^2.14.0",
38
+ "@quenty/signal": "^2.4.0",
39
39
  "@quenty/table": "^3.2.0",
40
- "@quenty/valueobject": "^7.13.0"
40
+ "@quenty/valueobject": "^7.14.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "2ad8cea7dd3ad79a39afd7d7b785b489b90553fd"
45
+ "gitHead": "11058e90e51ea83d3dad6ae9abe59cc19c36b94b"
46
46
  }
@@ -20,19 +20,16 @@ AnimatedHighlight.__index = AnimatedHighlight
20
20
  function AnimatedHighlight.new()
21
21
  local self = setmetatable(BasicPane.new(), AnimatedHighlight)
22
22
 
23
- self._adornee = Instance.new("ObjectValue")
24
- self._adornee.Value = nil
23
+ self._adornee = ValueObject.new(nil)
25
24
  self._maid:GiveTask(self._adornee)
26
25
 
27
26
  self._highlightDepthMode = ValueObject.new(Enum.HighlightDepthMode.AlwaysOnTop)
28
27
  self._maid:GiveTask(self._highlightDepthMode)
29
28
 
30
- self._fillColor = Instance.new("Color3Value")
31
- self._fillColor.Value = Color3.new(1, 1, 1)
29
+ self._fillColor = ValueObject.new(Color3.new(1, 1, 1), "Color3")
32
30
  self._maid:GiveTask(self._fillColor)
33
31
 
34
- self._outlineColor = Instance.new("Color3Value")
35
- self._outlineColor.Value = Color3.new(1, 1, 1)
32
+ self._outlineColor = ValueObject.new(Color3.new(1, 1, 1), "Color3")
36
33
  self._maid:GiveTask(self._outlineColor)
37
34
 
38
35
  self._fillTransparencySpring = SpringObject.new(0.5, 40)
@@ -21,28 +21,22 @@ function AnimatedHighlightGroup.new()
21
21
  self._highlightDepthMode = ValueObject.new(Enum.HighlightDepthMode.AlwaysOnTop)
22
22
  self._maid:GiveTask(self._highlightDepthMode)
23
23
 
24
- self._defaultFillColor = Instance.new("Color3Value")
25
- self._defaultFillColor.Value = Color3.new(1, 1, 1)
24
+ self._defaultFillColor = ValueObject.new(Color3.new(1, 1, 1), "Color3")
26
25
  self._maid:GiveTask(self._defaultFillColor)
27
26
 
28
- self._defaultTransparencySpeed = Instance.new("NumberValue")
29
- self._defaultTransparencySpeed.Value = 40
27
+ self._defaultTransparencySpeed = ValueObject.new(40, "number")
30
28
  self._maid:GiveTask(self._defaultTransparencySpeed)
31
29
 
32
- self._defaultFillTransparency = Instance.new("NumberValue")
33
- self._defaultFillTransparency.Value = 0.5
30
+ self._defaultFillTransparency = ValueObject.new(0.5, "number")
34
31
  self._maid:GiveTask(self._defaultFillTransparency)
35
32
 
36
- self._defaultOutlineTransparency = Instance.new("NumberValue")
37
- self._defaultOutlineTransparency.Value = 0
33
+ self._defaultOutlineTransparency = ValueObject.new(0, "number")
38
34
  self._maid:GiveTask(self._defaultOutlineTransparency)
39
35
 
40
- self._defaultSpeed = Instance.new("NumberValue")
41
- self._defaultSpeed.Value = 20
36
+ self._defaultSpeed = ValueObject.new(20, "number")
42
37
  self._maid:GiveTask(self._defaultSpeed)
43
38
 
44
- self._defaultOutlineColor = Instance.new("Color3Value")
45
- self._defaultOutlineColor.Value = Color3.new(1, 1, 1)
39
+ self._defaultOutlineColor = ValueObject.new(Color3.new(1, 1, 1), "Color3")
46
40
  self._maid:GiveTask(self._defaultOutlineColor)
47
41
 
48
42
  self._highlights = {}