@fluid-topics/ft-text-input 1.3.20 → 1.3.22

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.
@@ -17,6 +17,7 @@ export declare class FtdsTextInput extends FtdsTextInput_base implements FtdsTex
17
17
  get inputType(): FtdsTextInputType;
18
18
  onInput(): void;
19
19
  connectedCallback(): void;
20
+ focus(): void;
20
21
  protected willUpdate(props: PropertyValues): void;
21
22
  get appendIcon(): FtIcons.EYE_SLASH | FtIcons.X_MARK | FtIcons.EYE | undefined;
22
23
  get appendIconLabel(): string;
@@ -47,6 +47,10 @@ class FtdsTextInput extends withI18n(toFtInput(FtdsBase)) {
47
47
  this.updateTypeBasedAdditionalRules(this.type);
48
48
  super.connectedCallback();
49
49
  }
50
+ focus() {
51
+ var _a;
52
+ (_a = this.input) === null || _a === void 0 ? void 0 : _a.focus();
53
+ }
50
54
  willUpdate(props) {
51
55
  super.willUpdate(props);
52
56
  if (props.has("type")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-input",
3
- "version": "1.3.20",
3
+ "version": "1.3.22",
4
4
  "description": "Text Input",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,17 +19,17 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-base-input": "1.3.20",
23
- "@fluid-topics/ft-i18n": "1.3.20",
24
- "@fluid-topics/ft-icon": "1.3.20",
25
- "@fluid-topics/ft-input-helper-text": "1.3.20",
26
- "@fluid-topics/ft-input-label": "1.3.20",
27
- "@fluid-topics/ft-tooltip": "1.3.20",
28
- "@fluid-topics/ft-wc-utils": "1.3.20",
22
+ "@fluid-topics/ft-base-input": "1.3.22",
23
+ "@fluid-topics/ft-i18n": "1.3.22",
24
+ "@fluid-topics/ft-icon": "1.3.22",
25
+ "@fluid-topics/ft-input-helper-text": "1.3.22",
26
+ "@fluid-topics/ft-input-label": "1.3.22",
27
+ "@fluid-topics/ft-tooltip": "1.3.22",
28
+ "@fluid-topics/ft-wc-utils": "1.3.22",
29
29
  "lit": "3.1.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@fluid-topics/ft-wc-test-utils": "1.3.20"
32
+ "@fluid-topics/ft-wc-test-utils": "1.3.22"
33
33
  },
34
- "gitHead": "1bb0c50fc5a4fdb4f14d22b728ab719faddfc15e"
34
+ "gitHead": "f8ee485234740327c93ce01f6149dc1605d080b9"
35
35
  }