@grayscale-dev/dragon 0.1.7 → 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.
@@ -17,14 +17,14 @@
17
17
  },
18
18
  {
19
19
  "name": "placeholder",
20
- "description": "Placeholder text shown when value is empty. Hidden in floating label mode unless explicit regex placeholder mode is enabled while focused.",
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": "Regex-like mask definition. Supported patterns include escaped literals and quantified slots such as ^\\(\\d{3}\\)\\s\\d{3}-\\d{4}$.",
27
+ "description": "JavaScript regular expression used by the IMask regex engine.",
28
28
  "type": "string",
29
29
  "default": "",
30
30
  "control": "text"
@@ -106,7 +106,7 @@
106
106
  },
107
107
  {
108
108
  "name": "regex",
109
- "description": "Mask source pattern used to constrain input formatting.",
109
+ "description": "Regex source pattern used for masking.",
110
110
  "type": "string",
111
111
  "default": ""
112
112
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grayscale-dev/dragon",
3
- "version": "0.1.7",
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",