@quenty/inputmode 13.23.4-canary.607f741.0 → 13.23.4-canary.7b02662.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
- ## [13.23.4-canary.607f741.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@13.23.3...@quenty/inputmode@13.23.4-canary.607f741.0) (2025-12-28)
6
+ ## [13.23.4-canary.7b02662.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@13.23.3...@quenty/inputmode@13.23.4-canary.7b02662.0) (2025-12-13)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/inputmode
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/inputmode",
3
- "version": "13.23.4-canary.607f741.0",
3
+ "version": "13.23.4-canary.7b02662.0",
4
4
  "description": "Trace input mode state and trigger changes correctly",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -30,13 +30,13 @@
30
30
  "@quenty/loader": "10.9.0",
31
31
  "@quenty/maid": "3.5.0",
32
32
  "@quenty/rx": "13.20.0",
33
- "@quenty/servicebag": "11.13.2-canary.607f741.0",
33
+ "@quenty/servicebag": "11.13.1",
34
34
  "@quenty/signal": "7.11.1",
35
35
  "@quenty/table": "3.8.0",
36
- "@quenty/valueobject": "13.21.3-canary.607f741.0"
36
+ "@quenty/valueobject": "13.21.2"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "607f7418f46b85cd5843f1c5665911eb2dd7e3fb"
41
+ "gitHead": "7b02662beb4f525456f6e2ee3d13e0b8613939b1"
42
42
  }
@@ -63,7 +63,7 @@ function InputModeTypeSelector.new(
63
63
  -- keep this ordered so we are always stable in selection.
64
64
  self._inputModeTypeList = {}
65
65
 
66
- self._activeModeType = self._maid:Add(ValueObject.new(nil))
66
+ self._activeModeType = self._maid:Add(ValueObject.new())
67
67
 
68
68
  --[=[
69
69
  Event that fires whenever the active mode changes.
@@ -115,18 +115,16 @@ end
115
115
  Returns the current active mode
116
116
  @return InputModeType
117
117
  ]=]
118
- function InputModeTypeSelector.GetActiveInputType(self: InputModeTypeSelector): InputModeType.InputModeType?
119
- return (rawget(self :: any, "_activeModeType") :: ValueObject.ValueObject<InputModeType.InputModeType?>).Value
118
+ function InputModeTypeSelector.GetActiveInputType(self: InputModeTypeSelector)
119
+ return rawget(self :: any, "_activeModeType").Value
120
120
  end
121
121
 
122
122
  --[=[
123
123
  Observes the current active mode
124
- @return Observable<InputModeType?>
124
+ @return Observable<InputModeType>
125
125
  ]=]
126
- function InputModeTypeSelector.ObserveActiveInputType(
127
- self: InputModeTypeSelector
128
- ): Observable.Observable<InputModeType.InputModeType?>
129
- return (rawget(self :: any, "_activeModeType") :: ValueObject.ValueObject<InputModeType.InputModeType?>):Observe()
126
+ function InputModeTypeSelector.ObserveActiveInputType(self: InputModeTypeSelector)
127
+ return rawget(self :: any, "_activeModeType"):Observe()
130
128
  end
131
129
 
132
130
  --[=[
@@ -138,8 +136,7 @@ end
138
136
  function InputModeTypeSelector.IsActive(self: InputModeTypeSelector, inputModeType: InputModeType.InputModeType)
139
137
  assert(InputModeType.isInputModeType(inputModeType), "Bad inputModeType")
140
138
 
141
- return (rawget(self :: any, "_activeModeType") :: ValueObject.ValueObject<InputModeType.InputModeType?>).Value
142
- == inputModeType
139
+ return rawget(self :: any, "_activeModeType").Value == inputModeType
143
140
  end
144
141
 
145
142
  --[=[
@@ -158,8 +155,8 @@ function InputModeTypeSelector.ObserveIsActive(
158
155
  Rx.map(function(inputType: InputModeType.InputModeType)
159
156
  return inputType == inputModeType
160
157
  end) :: any,
161
- Rx.distinct() :: any,
162
- }) :: any
158
+ Rx.distinct(),
159
+ })
163
160
  end
164
161
 
165
162
  --[=[
@@ -169,7 +166,7 @@ end
169
166
  ]=]
170
167
  function InputModeTypeSelector.__index(self: InputModeTypeSelector, index)
171
168
  if index == "Value" then
172
- return (rawget(self :: any, "_activeModeType") :: ValueObject.ValueObject<InputModeType.InputModeType?>).Value
169
+ return rawget(self :: any, "_activeModeType").Value
173
170
  elseif InputModeTypeSelector[index] then
174
171
  return InputModeTypeSelector[index]
175
172
  else