@odx/foundation 1.0.0-beta.260 → 1.0.0-beta.261
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/CHANGELOG.md +6 -0
- package/dist/components.js +5 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/components.js
CHANGED
|
@@ -3025,7 +3025,11 @@ const _OdxInput = class _OdxInput extends InputControlElement {
|
|
|
3025
3025
|
setAttribute(this.focusTarget, "minLength", this.minLength);
|
|
3026
3026
|
setAttribute(this.focusTarget, "maxLength", this.maxLength);
|
|
3027
3027
|
setAttribute(this.focusTarget, "pattern", this.pattern);
|
|
3028
|
-
|
|
3028
|
+
if (this.type === InputType.PASSWORD) {
|
|
3029
|
+
setAttribute(this.focusTarget, "type", this.passwordRevealed ? InputType.TEXT : InputType.PASSWORD);
|
|
3030
|
+
} else {
|
|
3031
|
+
setAttribute(this.focusTarget, "type", this.type);
|
|
3032
|
+
}
|
|
3029
3033
|
super.updated(props);
|
|
3030
3034
|
}
|
|
3031
3035
|
renderInput() {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@odx/foundation",
|
|
3
3
|
"displayName": "ODX Design System Foundation",
|
|
4
4
|
"description": "A library of Web Component building blocks for ODX",
|
|
5
|
-
"version": "1.0.0-beta.
|
|
5
|
+
"version": "1.0.0-beta.261",
|
|
6
6
|
"author": "Drägerwerk AG & Co.KGaA",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
|
8
8
|
"homepage": "https://odx.draeger.com",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"es-toolkit": "1.43.0",
|
|
31
31
|
"stylelint": "16.26.1",
|
|
32
32
|
"@odx-internal/config-stylelint": "0.0.0",
|
|
33
|
-
"@odx-internal/config-vite": "0.0.0",
|
|
34
33
|
"@odx-internal/config-typescript": "0.0.0",
|
|
35
|
-
"@odx/
|
|
36
|
-
"@odx-internal/utils-storybook": "0.0.0"
|
|
34
|
+
"@odx-internal/config-vite": "0.0.0",
|
|
35
|
+
"@odx-internal/utils-storybook": "0.0.0",
|
|
36
|
+
"@odx/design-tokens": "3.1.1"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": [
|
|
39
39
|
"dist/components-loader.js",
|