@umbraco-ui/uui-input-password 1.13.0 → 1.14.0-rc.1
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/custom-elements.json +28 -15
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/custom-elements.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "minlength-message",
|
|
22
22
|
"description": "Minlength validation message.",
|
|
23
|
-
"type": "string",
|
|
23
|
+
"type": "string | ((charsLeft: number) => string)",
|
|
24
24
|
"default": "\"\""
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
{
|
|
39
39
|
"name": "maxlength-message",
|
|
40
40
|
"description": "Maxlength validation message.",
|
|
41
|
-
"type": "string",
|
|
41
|
+
"type": "string | ((max: number, current: number) => string)",
|
|
42
42
|
"default": "\"\""
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -80,7 +80,13 @@
|
|
|
80
80
|
{
|
|
81
81
|
"name": "type",
|
|
82
82
|
"description": "This property specifies the type of input that will be rendered.",
|
|
83
|
-
"type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
|
|
83
|
+
"type": "'text' | 'tel' | 'url' | 'email' | 'password' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'color'",
|
|
84
|
+
"default": "\"text\""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "inputmode",
|
|
88
|
+
"description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
|
|
89
|
+
"type": "'text' | 'none' | 'decimal' | 'number' | 'tel' | 'search' | 'email' | 'url'",
|
|
84
90
|
"default": "\"text\""
|
|
85
91
|
},
|
|
86
92
|
{
|
|
@@ -89,10 +95,10 @@
|
|
|
89
95
|
"type": "string"
|
|
90
96
|
},
|
|
91
97
|
{
|
|
92
|
-
"name": "
|
|
93
|
-
"description": "
|
|
94
|
-
"type": "
|
|
95
|
-
"default": "
|
|
98
|
+
"name": "tabindex",
|
|
99
|
+
"description": "Set the input tabindex, set this to `-1` to avoid tabbing into the input.",
|
|
100
|
+
"type": "number",
|
|
101
|
+
"default": "0"
|
|
96
102
|
},
|
|
97
103
|
{
|
|
98
104
|
"name": "spellcheck",
|
|
@@ -166,7 +172,7 @@
|
|
|
166
172
|
"name": "minlengthMessage",
|
|
167
173
|
"attribute": "minlength-message",
|
|
168
174
|
"description": "Minlength validation message.",
|
|
169
|
-
"type": "string",
|
|
175
|
+
"type": "string | ((charsLeft: number) => string)",
|
|
170
176
|
"default": "\"\""
|
|
171
177
|
},
|
|
172
178
|
{
|
|
@@ -187,7 +193,7 @@
|
|
|
187
193
|
"name": "maxlengthMessage",
|
|
188
194
|
"attribute": "maxlength-message",
|
|
189
195
|
"description": "Maxlength validation message.",
|
|
190
|
-
"type": "string",
|
|
196
|
+
"type": "string | ((max: number, current: number) => string)",
|
|
191
197
|
"default": "\"\""
|
|
192
198
|
},
|
|
193
199
|
{
|
|
@@ -236,7 +242,14 @@
|
|
|
236
242
|
"name": "type",
|
|
237
243
|
"attribute": "type",
|
|
238
244
|
"description": "This property specifies the type of input that will be rendered.",
|
|
239
|
-
"type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
|
|
245
|
+
"type": "'text' | 'tel' | 'url' | 'email' | 'password' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'color'",
|
|
246
|
+
"default": "\"text\""
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "inputMode",
|
|
250
|
+
"attribute": "inputmode",
|
|
251
|
+
"description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
|
|
252
|
+
"type": "'text' | 'none' | 'decimal' | 'number' | 'tel' | 'search' | 'email' | 'url'",
|
|
240
253
|
"default": "\"text\""
|
|
241
254
|
},
|
|
242
255
|
{
|
|
@@ -246,11 +259,11 @@
|
|
|
246
259
|
"type": "string"
|
|
247
260
|
},
|
|
248
261
|
{
|
|
249
|
-
"name": "
|
|
250
|
-
"attribute": "
|
|
251
|
-
"description": "
|
|
252
|
-
"type": "
|
|
253
|
-
"default": "
|
|
262
|
+
"name": "tabIndex",
|
|
263
|
+
"attribute": "tabindex",
|
|
264
|
+
"description": "Set the input tabindex, set this to `-1` to avoid tabbing into the input.",
|
|
265
|
+
"type": "number",
|
|
266
|
+
"default": "0"
|
|
254
267
|
},
|
|
255
268
|
{
|
|
256
269
|
"name": "styles",
|
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
|
|
|
2
2
|
import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';
|
|
3
3
|
import { iconSee, iconUnsee } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';
|
|
4
4
|
import { UUIInputElement } from '@umbraco-ui/uui-input/lib';
|
|
5
|
-
import {
|
|
5
|
+
import { css, html } from 'lit';
|
|
6
6
|
import { state, property } from 'lit/decorators.js';
|
|
7
7
|
|
|
8
8
|
var __defProp = Object.defineProperty;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-input-password",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-rc.1",
|
|
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": "1.
|
|
34
|
-
"@umbraco-ui/uui-icon-registry-essential": "1.
|
|
35
|
-
"@umbraco-ui/uui-input": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.14.0-rc.1",
|
|
34
|
+
"@umbraco-ui/uui-icon-registry-essential": "1.14.0-rc.1",
|
|
35
|
+
"@umbraco-ui/uui-input": "1.14.0-rc.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "npm run analyze && tsc --build && 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": "
|
|
46
|
+
"gitHead": "c3c2fc0f8a68b897b5c88e0c3e09f549150f1034"
|
|
47
47
|
}
|