@quenty/buttonhighlightmodel 14.16.0 → 14.16.1-canary.531.760eab8.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,14 @@
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
+ ## [14.16.1-canary.531.760eab8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/buttonhighlightmodel@14.16.0...@quenty/buttonhighlightmodel@14.16.1-canary.531.760eab8.0) (2025-01-22)
7
+
8
+ **Note:** Version bump only for package @quenty/buttonhighlightmodel
9
+
10
+
11
+
12
+
13
+
6
14
  # [14.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/buttonhighlightmodel@14.15.0...@quenty/buttonhighlightmodel@14.16.0) (2025-01-19)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/buttonhighlightmodel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/buttonhighlightmodel",
3
- "version": "14.16.0",
3
+ "version": "14.16.1-canary.531.760eab8.0",
4
4
  "description": "Contains model information for the current button",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,19 +26,19 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/acceltween": "^2.5.0",
30
- "@quenty/baseobject": "^10.7.1",
31
- "@quenty/blend": "^12.16.0",
32
- "@quenty/instanceutils": "^13.15.0",
33
- "@quenty/loader": "^10.7.1",
34
- "@quenty/maid": "^3.4.0",
35
- "@quenty/rectutils": "^1.1.0",
36
- "@quenty/rx": "^13.15.0",
37
- "@quenty/steputils": "^3.5.2",
38
- "@quenty/valueobject": "^13.15.0"
29
+ "@quenty/acceltween": "2.5.0",
30
+ "@quenty/baseobject": "10.7.1",
31
+ "@quenty/blend": "12.16.0",
32
+ "@quenty/instanceutils": "13.15.0",
33
+ "@quenty/loader": "10.7.1",
34
+ "@quenty/maid": "3.4.0",
35
+ "@quenty/rectutils": "1.1.0",
36
+ "@quenty/rx": "13.15.0",
37
+ "@quenty/steputils": "3.5.2",
38
+ "@quenty/valueobject": "13.15.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "a55ec046e30ddacc356f3d93fcbc6058888a88f6"
43
+ "gitHead": "760eab89580cb2ebf422457778c424fd3ab28f00"
44
44
  }
@@ -10,6 +10,7 @@ local BaseObject = require("BaseObject")
10
10
  local Maid = require("Maid")
11
11
  local Blend = require("Blend")
12
12
  local Rx = require("Rx")
13
+ local ValueObject = require("ValueObject")
13
14
 
14
15
  local HandleHighlightModel = setmetatable({}, BaseObject)
15
16
  HandleHighlightModel.ClassName = "HandleHighlightModel"
@@ -18,17 +19,11 @@ HandleHighlightModel.__index = HandleHighlightModel
18
19
  function HandleHighlightModel.new()
19
20
  local self = setmetatable(BaseObject.new(), HandleHighlightModel)
20
21
 
21
- self.IsMouseOver = Instance.new("BoolValue")
22
- self.IsMouseOver.Value = false
23
- self._maid:GiveTask(self.IsMouseOver)
22
+ self.IsMouseOver = self._maid:Add(ValueObject.new(false, "boolean"))
24
23
 
25
- self.IsMouseDown = Instance.new("BoolValue")
26
- self.IsMouseDown.Value = false
27
- self._maid:GiveTask(self.IsMouseDown)
24
+ self.IsMouseDown = self._maid:Add(ValueObject.new(false, "boolean"))
28
25
 
29
- self.IsHighlighted = Instance.new("BoolValue")
30
- self.IsHighlighted.Value = false
31
- self._maid:GiveTask(self.IsHighlighted)
26
+ self.IsHighlighted = self._maid:Add(ValueObject.new(false, "boolean"))
32
27
 
33
28
  self._maid:GiveTask(self.IsMouseDown.Changed:Connect(function()
34
29
  self:_updateHighlighted()