onejs-core 2.0.9 → 2.0.11
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/definitions/jsx.d.ts +13 -2
- package/package.json +1 -1
package/definitions/jsx.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ type Bounds = CS.UnityEngine.Bounds;
|
|
|
11
11
|
type BoundsInt = CS.UnityEngine.BoundsInt;
|
|
12
12
|
type Texture2D = CS.UnityEngine.Texture2D;
|
|
13
13
|
|
|
14
|
+
type TouchScreenKeyboardType = CS.UnityEngine.TouchScreenKeyboardType;
|
|
15
|
+
|
|
14
16
|
type AttachToPanelEvent = CS.UnityEngine.UIElements.AttachToPanelEvent;
|
|
15
17
|
type BlurEvent = CS.UnityEngine.UIElements.BlurEvent;
|
|
16
18
|
type ChangeEvent<T> = CS.UnityEngine.UIElements.ChangeEvent<T>;
|
|
@@ -340,12 +342,21 @@ declare global {
|
|
|
340
342
|
|
|
341
343
|
interface TextInputBaseField<T> extends BaseField<T> {
|
|
342
344
|
text?: string
|
|
343
|
-
"
|
|
345
|
+
"auto-correction"?: boolean
|
|
346
|
+
"cursor-index"?: number
|
|
347
|
+
"double-click-selects-word"?: boolean
|
|
348
|
+
"triple-click-selects-line"?: boolean
|
|
349
|
+
"emoji-fallback-support"?: boolean
|
|
350
|
+
"hide-mobile-input"?: boolean
|
|
351
|
+
"is-delayed"?: boolean
|
|
344
352
|
"is-password-field"?: boolean
|
|
345
|
-
"mask-char"?: string
|
|
346
353
|
"is-read-only"?: boolean
|
|
354
|
+
"keyboard-type"?: TouchScreenKeyboardType
|
|
355
|
+
"mask-char"?: string
|
|
356
|
+
"max-length"?: number
|
|
347
357
|
"select-all-on-focus"?: boolean
|
|
348
358
|
"select-all-on-mouse-up"?: boolean
|
|
359
|
+
"select-index"?: number
|
|
349
360
|
"vertical-scroller-visibility"?: ScrollerVisibility
|
|
350
361
|
}
|
|
351
362
|
|