@umbraco-ui/uui-input-password 0.1.1 → 0.2.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.
@@ -50,6 +50,12 @@
50
50
  "type": "string",
51
51
  "default": "\"''\""
52
52
  },
53
+ {
54
+ "name": "autocomplete",
55
+ "description": "Defines the input autocomplete.",
56
+ "type": "string",
57
+ "default": "\"undefined\""
58
+ },
53
59
  {
54
60
  "name": "type",
55
61
  "description": "This property specifies the type of input that will be rendered.",
@@ -158,6 +164,13 @@
158
164
  "type": "string",
159
165
  "default": "\"''\""
160
166
  },
167
+ {
168
+ "name": "autocomplete",
169
+ "attribute": "autocomplete",
170
+ "description": "Defines the input autocomplete.",
171
+ "type": "string",
172
+ "default": "\"undefined\""
173
+ },
161
174
  {
162
175
  "name": "type",
163
176
  "attribute": "type",
@@ -220,6 +233,10 @@
220
233
  "type": "string",
221
234
  "default": "\"This field is invalid\""
222
235
  },
236
+ {
237
+ "name": "validity",
238
+ "type": "ValidityState"
239
+ },
223
240
  {
224
241
  "name": "validationMessage"
225
242
  }
package/lib/index.js CHANGED
@@ -49,6 +49,7 @@ let UUIInputPasswordElement = class extends UUIInputElement {
49
49
  @click=${this._onPasswordToggle}
50
50
  style="--uui-button-padding-top-factor: 0; --uui-button-padding-bottom-factor: 0"
51
51
  compact
52
+ label="${this.passwordType === "password" ? "Show password" : "Hide password"}"
52
53
  id="eye">
53
54
  ${this.renderIcon()}
54
55
  </uui-button>`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-input-password",
3
- "version": "0.1.1",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,9 +30,9 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "0.1.1",
34
- "@umbraco-ui/uui-icon-registry-essential": "0.1.1",
35
- "@umbraco-ui/uui-input": "0.1.1"
33
+ "@umbraco-ui/uui-base": "0.2.1",
34
+ "@umbraco-ui/uui-icon-registry-essential": "0.2.1",
35
+ "@umbraco-ui/uui-input": "0.3.1"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
@@ -43,5 +43,5 @@
43
43
  "access": "public"
44
44
  },
45
45
  "homepage": "https://uui.umbraco.com/?path=/story/uui-input-password",
46
- "gitHead": "d91d346a0659f52de2a3c4746065c554f95e6328"
46
+ "gitHead": "cb61546f85d6c2f122fa8c130409507e8def4bd5"
47
47
  }