onejs-core 2.0.10 → 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.
@@ -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,13 +342,21 @@ declare global {
340
342
 
341
343
  interface TextInputBaseField<T> extends BaseField<T> {
342
344
  text?: string
343
- "max-length"?: number
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
344
351
  "is-delayed"?: boolean
345
352
  "is-password-field"?: boolean
346
- "mask-char"?: string
347
353
  "is-read-only"?: boolean
354
+ "keyboard-type"?: TouchScreenKeyboardType
355
+ "mask-char"?: string
356
+ "max-length"?: number
348
357
  "select-all-on-focus"?: boolean
349
358
  "select-all-on-mouse-up"?: boolean
359
+ "select-index"?: number
350
360
  "vertical-scroller-visibility"?: ScrollerVisibility
351
361
  }
352
362
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onejs-core",
3
3
  "description": "The JS part of OneJS, a UI framework and Scripting Engine for Unity.",
4
- "version": "2.0.10",
4
+ "version": "2.0.11",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./typings.d.ts",
7
7
  "bin": {