@epam/ai-dial-ui-kit 0.16.0-dev.35 → 0.16.0-dev.37

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.
@@ -5,6 +5,8 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
5
5
  showPasswordLabel?: string;
6
6
  /** Accessible name of the reveal toggle while the value is visible. */
7
7
  hidePasswordLabel?: string;
8
+ /** Hides the reveal toggle while the field stays editable, and keeps the value masked. */
9
+ isToggleHidden?: boolean;
8
10
  }
9
11
  /**
10
12
  * A password field with a reveal toggle, built on {@link Input}.
@@ -18,6 +20,9 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
18
20
  * A disabled field is masked with no toggle at all, and comes back masked if it
19
21
  * is enabled again.
20
22
  *
23
+ * `isToggleHidden` does the same without disabling the field: use it when there
24
+ * is nothing to reveal, such as a stored secret the server never returns.
25
+ *
21
26
  * @example
22
27
  * ```tsx
23
28
  * <PasswordInput
@@ -32,5 +37,6 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
32
37
  * @param [hidePasswordLabel="Hide password"] - Accessible name of the toggle while the value is visible
33
38
  * @param [size=ElementSize.Standard] - Field height: standard is 40px, small is 24px
34
39
  * @param [disabled=false] - Disables the field, masks it, and hides the reveal toggle
40
+ * @param [isToggleHidden=false] - Hides the reveal toggle and keeps the value masked, leaving the field editable
35
41
  */
36
42
  export declare const PasswordInput: FC<PasswordInputProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.16.0-dev.35",
3
+ "version": "0.16.0-dev.37",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -75,7 +75,7 @@
75
75
  ]
76
76
  },
77
77
  "overrides": {
78
- "dompurify": "3.4.16",
78
+ "dompurify": "3.4.17",
79
79
  "esbuild": "0.28.1",
80
80
  "shell-quote": "1.11.0",
81
81
  "postcss-selector-parser": "^7.1.6",
@@ -137,8 +137,8 @@
137
137
  "@uiw/react-markdown-preview": "^5.2.0",
138
138
  "@uiw/react-md-editor": "^4.1.0",
139
139
  "@vitejs/plugin-react": "^4.6.0",
140
- "@vitest/browser": "^4.1.10",
141
- "@vitest/coverage-v8": "^4.1.10",
140
+ "@vitest/browser": "^4.1.12",
141
+ "@vitest/coverage-v8": "^4.1.12",
142
142
  "concurrently": "^10.0.3",
143
143
  "esbuild": "0.28.1",
144
144
  "eslint": "^9.39.2",
@@ -167,6 +167,6 @@
167
167
  "vite": "^7.1.5",
168
168
  "vite-plugin-dts": "^5.1.2",
169
169
  "vite-plugin-svgr": "^4.5.0",
170
- "vitest": "^4.1.8"
170
+ "vitest": "^4.1.12"
171
171
  }
172
172
  }