@wayward/types 2.13.5-beta.dev.20230801.1 → 2.13.5-beta.dev.20230801.2

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.
@@ -53,6 +53,7 @@ export default class Input extends Component implements IRefreshable {
53
53
  private shouldSelectOnFocus;
54
54
  private shouldSelectOnNextMouseUp;
55
55
  private debounce;
56
+ private isFocusing?;
56
57
  get changed(): boolean;
57
58
  protected readonly input: Component;
58
59
  private readonly wrapperButtons;
@@ -90,7 +91,11 @@ export default class Input extends Component implements IRefreshable {
90
91
  * @param clearType `ClearType.UseDefault` to force using default, `ClearType.NotDefault` to prevent using default, `ClearType.Auto` otherwise. Defaults to `ClearType.Auto`
91
92
  */
92
93
  clear(clearType?: ClearType): this;
93
- focus(): void;
94
+ focus(openSteamInputKeyboard?: boolean): void;
95
+ /**
96
+ * Open the steam input keyboard when clicking on an already focused input
97
+ */
98
+ private click;
94
99
  private emitEnterBindOn;
95
100
  setEmitEnterBindOn(on: "blur" | "keydown"): this;
96
101
  private shouldIgnoreShiftEnter;
@@ -25,7 +25,6 @@ export default class InputButton extends Button {
25
25
  constructor(inputInitializer?: (input: Input) => any);
26
26
  getInputText(): string;
27
27
  setInputText(text: string): void;
28
- focusInput(): void;
29
28
  configureInput(initializer: (input: Input) => any): this;
30
29
  protected onStopEditMode(): void;
31
30
  private onInputChange;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.13.5-beta.dev.20230801.1",
4
+ "version": "2.13.5-beta.dev.20230801.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",