@grayscale-dev/dragon 0.1.6 → 0.1.8
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/README.md +9 -6
- package/dist/components/dui-input.d.ts +3 -4
- package/dist/index.js +2460 -185
- package/dist/manifest.json +15 -15
- package/package.json +4 -1
package/dist/manifest.json
CHANGED
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "placeholder",
|
|
20
|
-
"description": "Placeholder text shown when value is empty. Hidden in floating label mode unless regex
|
|
20
|
+
"description": "Placeholder text shown when value is empty. Hidden in floating label mode unless regex-placeholder is provided while focused.",
|
|
21
21
|
"type": "string",
|
|
22
22
|
"default": "",
|
|
23
23
|
"control": "text"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "regex",
|
|
27
|
-
"description": "
|
|
27
|
+
"description": "JavaScript regular expression used by the IMask regex engine.",
|
|
28
28
|
"type": "string",
|
|
29
29
|
"default": "",
|
|
30
30
|
"control": "text"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"name": "
|
|
34
|
-
"description": "
|
|
35
|
-
"type": "
|
|
36
|
-
"default":
|
|
37
|
-
"control": "
|
|
33
|
+
"name": "regex-placeholder",
|
|
34
|
+
"description": "Explicit placeholder text for regex mode. If omitted, regex placeholder is not shown.",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"default": "",
|
|
37
|
+
"control": "text"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "name",
|
|
@@ -106,15 +106,15 @@
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"name": "regex",
|
|
109
|
-
"description": "
|
|
109
|
+
"description": "Regex source pattern used for masking.",
|
|
110
110
|
"type": "string",
|
|
111
111
|
"default": ""
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "
|
|
115
|
-
"description": "
|
|
116
|
-
"type": "
|
|
117
|
-
"default":
|
|
114
|
+
"name": "regexPlaceholder",
|
|
115
|
+
"description": "Explicit placeholder text used when regex-placeholder is provided.",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"default": ""
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"name": "labelPosition",
|
|
@@ -372,11 +372,11 @@
|
|
|
372
372
|
"order": 1
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
"id": "
|
|
375
|
+
"id": "regex-placeholder",
|
|
376
376
|
"kind": "attribute",
|
|
377
|
-
"ref": "
|
|
377
|
+
"ref": "regex-placeholder",
|
|
378
378
|
"group": "mask",
|
|
379
|
-
"label": "
|
|
379
|
+
"label": "Regex Placeholder",
|
|
380
380
|
"order": 2
|
|
381
381
|
},
|
|
382
382
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grayscale-dev/dragon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Framework-agnostic Web Components built with Lit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"preview": "vite preview",
|
|
27
27
|
"test": "npm run build:manifest && web-test-runner --config web-test-runner.config.mjs"
|
|
28
28
|
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"imask": "^7.6.1"
|
|
31
|
+
},
|
|
29
32
|
"devDependencies": {
|
|
30
33
|
"@open-wc/testing": "^4.0.0",
|
|
31
34
|
"@types/node": "^22.10.0",
|