@quenty/textserviceutils 13.18.3 → 13.18.4-canary.559.339cfa7.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 +11 -0
- package/package.json +6 -6
- package/src/Shared/TextServiceUtils.lua +3 -3
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
|
+
## [13.18.4-canary.559.339cfa7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/textserviceutils@13.18.3...@quenty/textserviceutils@13.18.4-canary.559.339cfa7.0) (2025-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [13.18.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/textserviceutils@13.18.2...@quenty/textserviceutils@13.18.3) (2025-04-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/textserviceutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/textserviceutils",
|
|
3
|
-
"version": "13.18.
|
|
3
|
+
"version": "13.18.4-canary.559.339cfa7.0",
|
|
4
4
|
"description": "Holds utilities involving the Roblox TextService and text fitting to size.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@quenty/blend": "
|
|
34
|
-
"@quenty/loader": "
|
|
35
|
-
"@quenty/promise": "
|
|
36
|
-
"@quenty/rx": "
|
|
33
|
+
"@quenty/blend": "12.18.4-canary.559.339cfa7.0",
|
|
34
|
+
"@quenty/loader": "10.8.4-canary.559.339cfa7.0",
|
|
35
|
+
"@quenty/promise": "10.10.5-canary.559.339cfa7.0",
|
|
36
|
+
"@quenty/rx": "13.17.4-canary.559.339cfa7.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "339cfa778736f08768ed7305041f6221faa35bfc"
|
|
39
39
|
}
|
|
@@ -8,9 +8,9 @@ local require = require(script.Parent.loader).load(script)
|
|
|
8
8
|
local TextService = game:GetService("TextService")
|
|
9
9
|
|
|
10
10
|
local Blend = require("Blend")
|
|
11
|
+
local Observable = require("Observable")
|
|
11
12
|
local Promise = require("Promise")
|
|
12
13
|
local Rx = require("Rx")
|
|
13
|
-
local _Observable = require("Observable")
|
|
14
14
|
|
|
15
15
|
local TextServiceUtils = {}
|
|
16
16
|
|
|
@@ -101,7 +101,7 @@ export type Props = {
|
|
|
101
101
|
@param props table
|
|
102
102
|
@return Observable<Vector2> -- The text bounds reported
|
|
103
103
|
]=]
|
|
104
|
-
function TextServiceUtils.observeSizeForLabelProps(props: Props):
|
|
104
|
+
function TextServiceUtils.observeSizeForLabelProps(props: Props): Observable.Observable<Vector2>
|
|
105
105
|
assert(props.Text, "Bad props.Text")
|
|
106
106
|
assert(props.TextSize, "Bad props.TextSize")
|
|
107
107
|
|
|
@@ -139,4 +139,4 @@ function TextServiceUtils.observeSizeForLabelProps(props: Props): _Observable.Ob
|
|
|
139
139
|
}) :: any
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
return TextServiceUtils
|
|
142
|
+
return TextServiceUtils
|