@quenty/inputmode 8.5.0 → 8.5.1-canary.439.4c654fa.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 +8 -0
- package/package.json +10 -9
- package/src/Client/InputMode.lua +2 -1
- package/src/Shared/InputModeType.lua +5 -1
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
|
+
## [8.5.1-canary.439.4c654fa.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@8.5.0...@quenty/inputmode@8.5.1-canary.439.4c654fa.0) (2024-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/inputmode
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [8.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@8.4.0...@quenty/inputmode@8.5.0) (2024-01-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/inputmode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/inputmode",
|
|
3
|
-
"version": "8.5.0",
|
|
3
|
+
"version": "8.5.1-canary.439.4c654fa.0",
|
|
4
4
|
"description": "Trace input mode state and trigger changes correctly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,16 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/
|
|
29
|
-
"@quenty/
|
|
30
|
-
"@quenty/
|
|
31
|
-
"@quenty/
|
|
32
|
-
"@quenty/
|
|
33
|
-
"@quenty/
|
|
34
|
-
"@quenty/
|
|
28
|
+
"@quenty/ducktype": "2.2.1-canary.439.4c654fa.0",
|
|
29
|
+
"@quenty/loader": "7.3.1-canary.439.4c654fa.0",
|
|
30
|
+
"@quenty/maid": "2.6.1-canary.439.4c654fa.0",
|
|
31
|
+
"@quenty/rx": "8.4.1-canary.439.4c654fa.0",
|
|
32
|
+
"@quenty/servicebag": "7.2.1-canary.439.4c654fa.0",
|
|
33
|
+
"@quenty/signal": "3.2.1-canary.439.4c654fa.0",
|
|
34
|
+
"@quenty/table": "3.4.0",
|
|
35
|
+
"@quenty/valueobject": "8.4.1-canary.439.4c654fa.0"
|
|
35
36
|
},
|
|
36
37
|
"publishConfig": {
|
|
37
38
|
"access": "public"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "4c654faf9c66c5c9bcb277a24bf13c70719d3531"
|
|
40
41
|
}
|
package/src/Client/InputMode.lua
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
local require = require(script.Parent.loader).load(script)
|
|
9
9
|
|
|
10
10
|
local Signal = require("Signal")
|
|
11
|
+
local DuckTypeUtils = require("DuckTypeUtils")
|
|
11
12
|
|
|
12
13
|
--[=[
|
|
13
14
|
Fires off when the mode is enabled
|
|
@@ -50,7 +51,7 @@ end
|
|
|
50
51
|
@return boolean
|
|
51
52
|
]=]
|
|
52
53
|
function InputMode.isInputMode(value)
|
|
53
|
-
return
|
|
54
|
+
return DuckTypeUtils.isImplementation(InputMode, value)
|
|
54
55
|
end
|
|
55
56
|
|
|
56
57
|
--[=[
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
@class InputModeType
|
|
5
5
|
]=]
|
|
6
6
|
|
|
7
|
+
local require = require(script.Parent.loader).load(script)
|
|
8
|
+
|
|
9
|
+
local DuckTypeUtils = require("DuckTypeUtils")
|
|
10
|
+
|
|
7
11
|
local InputModeType = {}
|
|
8
12
|
InputModeType.ClassName = "InputModeType"
|
|
9
13
|
InputModeType.__index = InputModeType
|
|
@@ -33,7 +37,7 @@ end
|
|
|
33
37
|
@return boolean
|
|
34
38
|
]=]
|
|
35
39
|
function InputModeType.isInputModeType(value)
|
|
36
|
-
return
|
|
40
|
+
return DuckTypeUtils.isImplementation(InputModeType, value)
|
|
37
41
|
end
|
|
38
42
|
|
|
39
43
|
--[=[
|