@exhaustive-ui/mcp 22.5.0 → 22.6.0

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.
Files changed (199) hide show
  1. package/data/cards/accordion.md +5 -2
  2. package/data/cards/animateonscroll.md +8 -5
  3. package/data/cards/autocomplete.md +8 -3
  4. package/data/cards/autofocus.md +4 -2
  5. package/data/cards/avatar.md +4 -2
  6. package/data/cards/badge.md +2 -1
  7. package/data/cards/breadcrumb.md +3 -1
  8. package/data/cards/button.md +8 -2
  9. package/data/cards/card.md +2 -1
  10. package/data/cards/carousel.md +7 -5
  11. package/data/cards/cascadeselect.md +2 -6
  12. package/data/cards/chart.md +9 -7
  13. package/data/cards/checkbox.md +4 -3
  14. package/data/cards/chip.md +2 -1
  15. package/data/cards/classnames.md +21 -3
  16. package/data/cards/colorpicker.md +2 -1
  17. package/data/cards/confirmdialog.md +35 -5
  18. package/data/cards/confirmpopup.md +25 -3
  19. package/data/cards/contextmenu.md +1 -7
  20. package/data/cards/dataview.md +28 -9
  21. package/data/cards/datepicker.md +4 -3
  22. package/data/cards/dialog.md +3 -3
  23. package/data/cards/divider.md +2 -1
  24. package/data/cards/dock.md +24 -3
  25. package/data/cards/dragdrop.md +5 -1
  26. package/data/cards/drawer.md +3 -3
  27. package/data/cards/dynamicdialog.md +41 -14
  28. package/data/cards/editor.md +1 -1
  29. package/data/cards/fieldset.md +2 -1
  30. package/data/cards/fileinput.md +1 -1
  31. package/data/cards/fileupload.md +7 -8
  32. package/data/cards/floatlabel.md +1 -1
  33. package/data/cards/fluid.md +7 -5
  34. package/data/cards/focustrap.md +6 -2
  35. package/data/cards/galleria.md +18 -25
  36. package/data/cards/iconfield.md +3 -2
  37. package/data/cards/iftalabel.md +1 -1
  38. package/data/cards/image.md +4 -2
  39. package/data/cards/imagecompare.md +4 -3
  40. package/data/cards/inplace.md +2 -1
  41. package/data/cards/inputgroup.md +14 -3
  42. package/data/cards/inputmask.md +2 -2
  43. package/data/cards/inputnumber.md +4 -3
  44. package/data/cards/inputotp.md +2 -2
  45. package/data/cards/inputtext.md +2 -2
  46. package/data/cards/keyfilter.md +2 -1
  47. package/data/cards/knob.md +3 -2
  48. package/data/cards/listbox.md +5 -3
  49. package/data/cards/megamenu.md +7 -8
  50. package/data/cards/menu.md +3 -7
  51. package/data/cards/menubar.md +3 -7
  52. package/data/cards/message.md +2 -1
  53. package/data/cards/metergroup.md +3 -7
  54. package/data/cards/multiselect.md +5 -9
  55. package/data/cards/orderlist.md +6 -4
  56. package/data/cards/organizationchart.md +33 -6
  57. package/data/cards/overlay.md +2 -1
  58. package/data/cards/paginator.md +2 -1
  59. package/data/cards/panel.md +2 -1
  60. package/data/cards/panelmenu.md +4 -13
  61. package/data/cards/password.md +6 -3
  62. package/data/cards/picklist.md +9 -5
  63. package/data/cards/popover.md +6 -5
  64. package/data/cards/progressbar.md +4 -3
  65. package/data/cards/progressspinner.md +2 -1
  66. package/data/cards/radiobutton.md +4 -3
  67. package/data/cards/rating.md +1 -1
  68. package/data/cards/ripple.md +2 -1
  69. package/data/cards/scrollpanel.md +2 -1
  70. package/data/cards/scrolltop.md +5 -3
  71. package/data/cards/select.md +2 -1
  72. package/data/cards/selectbutton.md +6 -2
  73. package/data/cards/skeleton.md +2 -1
  74. package/data/cards/slider.md +4 -3
  75. package/data/cards/speeddial.md +7 -4
  76. package/data/cards/splitbutton.md +21 -18
  77. package/data/cards/splitter.md +2 -1
  78. package/data/cards/stepper.md +8 -3
  79. package/data/cards/styleclass.md +4 -2
  80. package/data/cards/table.md +46 -11
  81. package/data/cards/tabs.md +2 -1
  82. package/data/cards/tag.md +2 -1
  83. package/data/cards/terminal.md +31 -22
  84. package/data/cards/textarea.md +3 -2
  85. package/data/cards/tieredmenu.md +1 -6
  86. package/data/cards/timeline.md +5 -5
  87. package/data/cards/toast.md +7 -8
  88. package/data/cards/togglebutton.md +1 -1
  89. package/data/cards/toggleswitch.md +4 -3
  90. package/data/cards/toolbar.md +8 -8
  91. package/data/cards/tooltip.md +2 -1
  92. package/data/cards/tree.md +3 -6
  93. package/data/cards/treeselect.md +6 -7
  94. package/data/cards/treetable.md +52 -31
  95. package/data/components/accordion.md +31 -23
  96. package/data/components/animateonscroll.md +18 -15
  97. package/data/components/autocomplete.md +162 -93
  98. package/data/components/autofocus.md +9 -7
  99. package/data/components/avatar.md +56 -43
  100. package/data/components/badge.md +27 -18
  101. package/data/components/blockui.md +15 -8
  102. package/data/components/breadcrumb.md +20 -14
  103. package/data/components/button.md +121 -94
  104. package/data/components/card.md +12 -10
  105. package/data/components/carousel.md +75 -53
  106. package/data/components/cascadeselect.md +271 -238
  107. package/data/components/chart.md +88 -74
  108. package/data/components/checkbox.md +107 -73
  109. package/data/components/chip.md +20 -16
  110. package/data/components/classnames.md +22 -4
  111. package/data/components/colorpicker.md +54 -36
  112. package/data/components/confirmdialog.md +146 -43
  113. package/data/components/confirmpopup.md +95 -22
  114. package/data/components/contextmenu.md +110 -39
  115. package/data/components/dataview.md +176 -83
  116. package/data/components/datepicker.md +171 -141
  117. package/data/components/dialog.md +80 -68
  118. package/data/components/divider.md +17 -12
  119. package/data/components/dock.md +63 -27
  120. package/data/components/dragdrop.md +26 -12
  121. package/data/components/drawer.md +67 -48
  122. package/data/components/dynamicdialog.md +22 -13
  123. package/data/components/editor.md +42 -33
  124. package/data/components/fieldset.md +20 -17
  125. package/data/components/fileinput.md +92 -35
  126. package/data/components/fileupload.md +101 -61
  127. package/data/components/floatlabel.md +20 -11
  128. package/data/components/fluid.md +11 -9
  129. package/data/components/focustrap.md +11 -7
  130. package/data/components/galleria.md +224 -83
  131. package/data/components/iconfield.md +23 -15
  132. package/data/components/iftalabel.md +15 -9
  133. package/data/components/image.md +31 -26
  134. package/data/components/imagecompare.md +8 -6
  135. package/data/components/inplace.md +27 -22
  136. package/data/components/inputgroup.md +53 -29
  137. package/data/components/inputmask.md +107 -85
  138. package/data/components/inputnumber.md +127 -89
  139. package/data/components/inputotp.md +55 -42
  140. package/data/components/inputtext.md +72 -50
  141. package/data/components/keyfilter.md +6 -3
  142. package/data/components/knob.md +70 -58
  143. package/data/components/listbox.md +171 -141
  144. package/data/components/megamenu.md +24 -23
  145. package/data/components/menu.md +37 -34
  146. package/data/components/menubar.md +27 -22
  147. package/data/components/message.md +44 -32
  148. package/data/components/metergroup.md +48 -17
  149. package/data/components/multiselect.md +232 -168
  150. package/data/components/orderlist.md +55 -48
  151. package/data/components/organizationchart.md +182 -13
  152. package/data/components/overlay.md +31 -26
  153. package/data/components/paginator.md +49 -34
  154. package/data/components/panel.md +23 -19
  155. package/data/components/panelmenu.md +51 -25
  156. package/data/components/password.md +104 -91
  157. package/data/components/picklist.md +92 -70
  158. package/data/components/popover.md +68 -46
  159. package/data/components/progressbar.md +28 -22
  160. package/data/components/progressspinner.md +13 -11
  161. package/data/components/radiobutton.md +69 -35
  162. package/data/components/rating.md +48 -40
  163. package/data/components/ripple.md +8 -6
  164. package/data/components/scroller.md +29 -29
  165. package/data/components/scrollpanel.md +9 -7
  166. package/data/components/scrolltop.md +20 -18
  167. package/data/components/select.md +248 -169
  168. package/data/components/selectbutton.md +118 -56
  169. package/data/components/skeleton.md +22 -18
  170. package/data/components/slider.md +73 -49
  171. package/data/components/speeddial.md +77 -59
  172. package/data/components/splitbutton.md +354 -329
  173. package/data/components/splitter.md +22 -18
  174. package/data/components/stepper.md +38 -21
  175. package/data/components/styleclass.md +12 -6
  176. package/data/components/table.md +523 -314
  177. package/data/components/tabs.md +44 -26
  178. package/data/components/tag.md +18 -14
  179. package/data/components/terminal.md +38 -27
  180. package/data/components/textarea.md +82 -47
  181. package/data/components/tieredmenu.md +34 -29
  182. package/data/components/timeline.md +29 -28
  183. package/data/components/toast.md +115 -57
  184. package/data/components/togglebutton.md +53 -39
  185. package/data/components/toggleswitch.md +41 -28
  186. package/data/components/toolbar.md +19 -18
  187. package/data/components/tooltip.md +43 -32
  188. package/data/components/tree.md +114 -81
  189. package/data/components/treeselect.md +176 -174
  190. package/data/components/treetable.md +1250 -1045
  191. package/data/components.json +4122 -4080
  192. package/data/llms-full.txt +8784 -6249
  193. package/data/manifest.json +154 -15
  194. package/data/pages/tailwind.md +20 -10
  195. package/data/snapshot.json +2 -2
  196. package/dist/index.d.mts +2 -0
  197. package/dist/index.mjs +3 -3
  198. package/dist/index.mjs.map +1 -1
  199. package/package.json +1 -1
@@ -18,11 +18,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
18
18
  @Component({
19
19
  template: `
20
20
  <div class="card flex justify-center">
21
- <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" />
21
+ <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" ariaLabel="Password" />
22
22
  </div>
23
23
  `,
24
24
  standalone: true,
25
- imports: [PasswordModule, FormsModule]
25
+ imports: [FormsModule, PasswordModule]
26
26
  })
27
27
  export class PasswordBasicDemo {
28
28
  value!: string;
@@ -41,11 +41,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
41
41
  @Component({
42
42
  template: `
43
43
  <div class="card flex justify-center">
44
- <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" [showClear]="true" inputStyleClass="w-56" />
44
+ <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" [showClear]="true" inputStyleClass="w-56" ariaLabel="Password" />
45
45
  </div>
46
46
  `,
47
47
  standalone: true,
48
- imports: [PasswordModule, FormsModule]
48
+ imports: [FormsModule, PasswordModule]
49
49
  })
50
50
  export class PasswordCleariconDemo {
51
51
  value!: string;
@@ -64,11 +64,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
64
64
  @Component({
65
65
  template: `
66
66
  <div class="card flex justify-center">
67
- <p-password [(ngModel)]="value" [disabled]="true" placeholder="Disabled" autocomplete="off" />
67
+ <p-password [(ngModel)]="value" [disabled]="true" placeholder="Disabled" autocomplete="off" ariaLabel="Password" />
68
68
  </div>
69
69
  `,
70
70
  standalone: true,
71
- imports: [PasswordModule, FormsModule]
71
+ imports: [FormsModule, PasswordModule]
72
72
  })
73
73
  export class PasswordDisabledDemo {
74
74
  value!: string;
@@ -87,11 +87,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
87
87
  @Component({
88
88
  template: `
89
89
  <div class="card flex justify-center">
90
- <p-password [(ngModel)]="value" [feedback]="false" variant="filled" autocomplete="off" />
90
+ <p-password [(ngModel)]="value" [feedback]="false" variant="filled" autocomplete="off" ariaLabel="Password" />
91
91
  </div>
92
92
  `,
93
93
  standalone: true,
94
- imports: [PasswordModule, FormsModule]
94
+ imports: [FormsModule, PasswordModule]
95
95
  })
96
96
  export class PasswordFilledDemo {
97
97
  value!: string;
@@ -105,8 +105,9 @@ A floating label appears on top of the input field when focused. Visit FloatLabe
105
105
  ```typescript
106
106
  import { Component } from '@angular/core';
107
107
  import { FormsModule } from '@angular/forms';
108
- import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
108
+ import { RouterModule } from '@angular/router';
109
109
  import { PasswordModule } from '@exhaustive-ui/core/password';
110
+ import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
110
111
 
111
112
  @Component({
112
113
  template: `
@@ -126,11 +127,13 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
126
127
  </div>
127
128
  `,
128
129
  standalone: true,
129
- imports: [FloatLabelModule, PasswordModule, FormsModule]
130
+ imports: [FormsModule, RouterModule, PasswordModule, FloatLabelModule]
130
131
  })
131
132
  export class PasswordFloatlabelDemo {
132
133
  value1!: string;
134
+
133
135
  value2!: string;
136
+
134
137
  value3!: string;
135
138
  }
136
139
  ```
@@ -147,11 +150,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
147
150
  @Component({
148
151
  template: `
149
152
  <div class="card">
150
- <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" fluid />
153
+ <p-password [(ngModel)]="value" [feedback]="false" autocomplete="off" fluid ariaLabel="Password" />
151
154
  </div>
152
155
  `,
153
156
  standalone: true,
154
- imports: [PasswordModule, FormsModule]
157
+ imports: [FormsModule, PasswordModule]
155
158
  })
156
159
  export class PasswordFluidDemo {
157
160
  value!: string;
@@ -165,8 +168,9 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
165
168
  ```typescript
166
169
  import { Component } from '@angular/core';
167
170
  import { FormsModule } from '@angular/forms';
168
- import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
171
+ import { RouterModule } from '@angular/router';
169
172
  import { PasswordModule } from '@exhaustive-ui/core/password';
173
+ import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
170
174
 
171
175
  @Component({
172
176
  template: `
@@ -178,7 +182,7 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
178
182
  </div>
179
183
  `,
180
184
  standalone: true,
181
- imports: [IftaLabelModule, PasswordModule, FormsModule]
185
+ imports: [FormsModule, RouterModule, PasswordModule, IftaLabelModule]
182
186
  })
183
187
  export class PasswordIftalabelDemo {
184
188
  value!: string;
@@ -197,15 +201,16 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
197
201
  @Component({
198
202
  template: `
199
203
  <div class="card flex flex-wrap justify-center gap-4">
200
- <p-password [(ngModel)]="value1" [invalid]="!value1" placeholder="Password" />
201
- <p-password [(ngModel)]="value2" [invalid]="!value2" variant="filled" placeholder="Password" />
204
+ <p-password [(ngModel)]="value1" [invalid]="!value1" placeholder="Password" ariaLabel="Password" />
205
+ <p-password [(ngModel)]="value2" [invalid]="!value2" variant="filled" placeholder="Password" ariaLabel="Password" />
202
206
  </div>
203
207
  `,
204
208
  standalone: true,
205
- imports: [PasswordModule, FormsModule]
209
+ imports: [FormsModule, PasswordModule]
206
210
  })
207
211
  export class PasswordInvalidDemo {
208
212
  value1!: string;
213
+
209
214
  value2!: string;
210
215
  }
211
216
  ```
@@ -222,11 +227,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
222
227
  @Component({
223
228
  template: `
224
229
  <div class="card flex justify-center">
225
- <p-password [(ngModel)]="value" promptLabel="Choose a password" weakLabel="Too simple" mediumLabel="Average complexity" strongLabel="Complex password" autocomplete="off" />
230
+ <p-password [(ngModel)]="value" promptLabel="Choose a password" weakLabel="Too simple" mediumLabel="Average complexity" strongLabel="Complex password" autocomplete="off" ariaLabel="Password" />
226
231
  </div>
227
232
  `,
228
233
  standalone: true,
229
- imports: [PasswordModule, FormsModule]
234
+ imports: [FormsModule, PasswordModule]
230
235
  })
231
236
  export class PasswordLocaleDemo {
232
237
  value!: string;
@@ -245,11 +250,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
245
250
  @Component({
246
251
  template: `
247
252
  <div class="card flex justify-center">
248
- <p-password [(ngModel)]="value" autocomplete="off" />
253
+ <p-password [(ngModel)]="value" autocomplete="off" ariaLabel="Password" />
249
254
  </div>
250
255
  `,
251
256
  standalone: true,
252
- imports: [PasswordModule, FormsModule]
257
+ imports: [FormsModule, PasswordModule]
253
258
  })
254
259
  export class PasswordMeterDemo {
255
260
  value!: string;
@@ -262,12 +267,12 @@ Password can also be used with reactive forms. In this case, the formControlName
262
267
 
263
268
  ```typescript
264
269
  import { Component, inject } from '@angular/core';
265
- import { ReactiveFormsModule } from '@angular/forms';
266
- import { MessageModule } from '@exhaustive-ui/core/message';
270
+ import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
271
+ import { MessageService } from '@exhaustive-ui/core/api';
267
272
  import { PasswordModule } from '@exhaustive-ui/core/password';
268
- import { ToastModule } from '@exhaustive-ui/core/toast';
269
273
  import { ButtonModule } from '@exhaustive-ui/core/button';
270
- import { MessageService } from '@exhaustive-ui/core/api';
274
+ import { ToastModule } from '@exhaustive-ui/core/toast';
275
+ import { MessageModule } from '@exhaustive-ui/core/message';
271
276
 
272
277
  @Component({
273
278
  template: `
@@ -275,7 +280,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
275
280
  <div class="card flex justify-center">
276
281
  <form [formGroup]="exampleForm" (ngSubmit)="onSubmit()" class="flex flex-col gap-4 sm:w-56">
277
282
  <div class="flex flex-col gap-1">
278
- <p-password formControlName="value" [invalid]="isInvalid('value')" [feedback]="false" autocomplete="off" fluid />
283
+ <p-password formControlName="value" [invalid]="isInvalid('value')" [feedback]="false" autocomplete="off" fluid ariaLabel="Password" />
279
284
  @if (isInvalid('value')) {
280
285
  <p-message severity="error" size="small" variant="simple">Password is required.</p-message>
281
286
  }
@@ -285,19 +290,22 @@ import { MessageService } from '@exhaustive-ui/core/api';
285
290
  </div>
286
291
  `,
287
292
  standalone: true,
288
- imports: [MessageModule, PasswordModule, ToastModule, ButtonModule, ReactiveFormsModule],
293
+ imports: [ReactiveFormsModule, PasswordModule, ButtonModule, ToastModule, MessageModule],
289
294
  providers: [MessageService]
290
295
  })
291
296
  export class PasswordReactiveformsDemo {
292
- private messageService = inject(MessageService);
297
+ private fb = inject(FormBuilder);
298
+
293
299
  messageService = inject(MessageService);
300
+
294
301
  exampleForm: FormGroup | undefined;
302
+
295
303
  formSubmitted: boolean = false;
296
304
 
297
305
  constructor() {
298
306
  this.exampleForm = this.fb.group({
299
- value: ['', Validators.required]
300
- });
307
+ value: ['', Validators.required]
308
+ });
301
309
  }
302
310
 
303
311
  onSubmit() {
@@ -323,11 +331,11 @@ Password can also be used with Angular Signal Forms , the @angular/forms/signals
323
331
  ```typescript
324
332
  import { Component, inject, signal } from '@angular/core';
325
333
  import { form, FormField, required, submit } from '@angular/forms/signals';
326
- import { MessageModule } from '@exhaustive-ui/core/message';
334
+ import { MessageService } from '@exhaustive-ui/core/api';
327
335
  import { PasswordModule } from '@exhaustive-ui/core/password';
328
- import { ToastModule } from '@exhaustive-ui/core/toast';
329
336
  import { ButtonModule } from '@exhaustive-ui/core/button';
330
- import { MessageService } from '@exhaustive-ui/core/api';
337
+ import { ToastModule } from '@exhaustive-ui/core/toast';
338
+ import { MessageModule } from '@exhaustive-ui/core/message';
331
339
 
332
340
  @Component({
333
341
  template: `
@@ -335,7 +343,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
335
343
  <div class="card flex justify-center">
336
344
  <form novalidate (submit)="onSubmit($event)" class="flex flex-col gap-4 sm:w-56">
337
345
  <div class="flex flex-col gap-1">
338
- <p-password [formField]="exampleForm.value" [feedback]="false" autocomplete="off" fluid />
346
+ <p-password [formField]="exampleForm.value" [feedback]="false" autocomplete="off" fluid ariaLabel="Password" />
339
347
  @let value = exampleForm.value();
340
348
  @if (value.invalid() && value.touched()) {
341
349
  <p-message severity="error" size="small" variant="simple">Password is required.</p-message>
@@ -346,11 +354,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
346
354
  </div>
347
355
  `,
348
356
  standalone: true,
349
- imports: [MessageModule, PasswordModule, ToastModule, ButtonModule, FormField]
357
+ imports: [FormField, PasswordModule, ButtonModule, ToastModule, MessageModule],
358
+ providers: [MessageService]
350
359
  })
351
360
  export class PasswordSignalformsDemo {
352
361
  messageService = inject(MessageService);
362
+
353
363
  model = signal({ value: '' });
364
+
354
365
  exampleForm = form(this.model, (f) => {
355
366
  required(f.value);
356
367
  });
@@ -377,17 +388,19 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
377
388
  @Component({
378
389
  template: `
379
390
  <div class="card flex flex-col items-center gap-4">
380
- <p-password [(ngModel)]="value1" size="small" placeholder="Small" />
381
- <p-password [(ngModel)]="value2" placeholder="Normal" />
382
- <p-password [(ngModel)]="value3" size="large" placeholder="Large" />
391
+ <p-password [(ngModel)]="value1" size="small" placeholder="Small" ariaLabel="Small" />
392
+ <p-password [(ngModel)]="value2" placeholder="Normal" ariaLabel="Normal" />
393
+ <p-password [(ngModel)]="value3" size="large" placeholder="Large" ariaLabel="Large" />
383
394
  </div>
384
395
  `,
385
396
  standalone: true,
386
- imports: [PasswordModule, FormsModule]
397
+ imports: [FormsModule, PasswordModule]
387
398
  })
388
399
  export class PasswordSizesDemo {
389
400
  value1: string;
401
+
390
402
  value2: string;
403
+
391
404
  value3: string;
392
405
  }
393
406
  ```
@@ -399,13 +412,13 @@ export class PasswordSizesDemo {
399
412
  ```typescript
400
413
  import { Component } from '@angular/core';
401
414
  import { FormsModule } from '@angular/forms';
402
- import { DividerModule } from '@exhaustive-ui/core/divider';
403
415
  import { PasswordModule } from '@exhaustive-ui/core/password';
416
+ import { DividerModule } from '@exhaustive-ui/core/divider';
404
417
 
405
418
  @Component({
406
419
  template: `
407
420
  <div class="card flex justify-center">
408
- <p-password [(ngModel)]="value" autocomplete="off">
421
+ <p-password [(ngModel)]="value" autocomplete="off" ariaLabel="Password">
409
422
  <ng-template #header>
410
423
  <div class="font-semibold text-xm mb-4">Reset Password</div>
411
424
  </ng-template>
@@ -422,7 +435,7 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
422
435
  </div>
423
436
  `,
424
437
  standalone: true,
425
- imports: [DividerModule, PasswordModule, FormsModule]
438
+ imports: [FormsModule, PasswordModule, DividerModule]
426
439
  })
427
440
  export class PasswordTemplateDemo {
428
441
  value!: string;
@@ -434,11 +447,11 @@ export class PasswordTemplateDemo {
434
447
  ```typescript
435
448
  import { Component, inject } from '@angular/core';
436
449
  import { FormsModule } from '@angular/forms';
437
- import { MessageModule } from '@exhaustive-ui/core/message';
450
+ import { MessageService } from '@exhaustive-ui/core/api';
438
451
  import { PasswordModule } from '@exhaustive-ui/core/password';
439
- import { ToastModule } from '@exhaustive-ui/core/toast';
440
452
  import { ButtonModule } from '@exhaustive-ui/core/button';
441
- import { MessageService } from '@exhaustive-ui/core/api';
453
+ import { ToastModule } from '@exhaustive-ui/core/toast';
454
+ import { MessageModule } from '@exhaustive-ui/core/message';
442
455
 
443
456
  @Component({
444
457
  template: `
@@ -446,7 +459,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
446
459
  <div class="card flex justify-center">
447
460
  <form #exampleForm="ngForm" (ngSubmit)="onSubmit(exampleForm)" class="flex justify-center flex-col gap-4 md:w-56">
448
461
  <div class="flex flex-col gap-1">
449
- <p-password #model="ngModel" [(ngModel)]="value" [invalid]="model.invalid && (model.touched || exampleForm.submitted)" name="password" [feedback]="false" autocomplete="off" required fluid />
462
+ <p-password #model="ngModel" [(ngModel)]="value" [invalid]="model.invalid && (model.touched || exampleForm.submitted)" name="password" [feedback]="false" autocomplete="off" required fluid ariaLabel="Password" />
450
463
  @if (model.invalid && (model.touched || exampleForm.submitted)) {
451
464
  <p-message severity="error" size="small" variant="simple">Password is required.</p-message>
452
465
  }
@@ -456,12 +469,12 @@ import { MessageService } from '@exhaustive-ui/core/api';
456
469
  </div>
457
470
  `,
458
471
  standalone: true,
459
- imports: [MessageModule, PasswordModule, ToastModule, ButtonModule, FormsModule],
472
+ imports: [FormsModule, PasswordModule, ButtonModule, ToastModule, MessageModule],
460
473
  providers: [MessageService]
461
474
  })
462
475
  export class PasswordTemplatedrivenformsDemo {
463
- private messageService = inject(MessageService);
464
476
  messageService = inject(MessageService);
477
+
465
478
  value: any;
466
479
 
467
480
  onSubmit(form: any) {
@@ -485,11 +498,11 @@ import { PasswordModule } from '@exhaustive-ui/core/password';
485
498
  @Component({
486
499
  template: `
487
500
  <div class="card flex justify-center">
488
- <p-password [(ngModel)]="value" [toggleMask]="true" autocomplete="off" />
501
+ <p-password [(ngModel)]="value" [toggleMask]="true" autocomplete="off" ariaLabel="Password" />
489
502
  </div>
490
503
  `,
491
504
  standalone: true,
492
- imports: [PasswordModule, FormsModule]
505
+ imports: [FormsModule, PasswordModule]
493
506
  })
494
507
  export class PasswordTogglemaskDemo {
495
508
  value!: string;
@@ -504,47 +517,47 @@ Password displays strength indicator for password fields.
504
517
 
505
518
  | Name | Type | Default | Description |
506
519
  |------|------|---------|-------------|
507
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
508
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
509
- | pt | InputSignal<PasswordPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
510
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
511
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
512
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
513
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
514
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
515
- | fluid | InputSignalWithTransform<boolean, unknown> | false | Spans 100% width of the container when enabled. |
516
- | variant | InputSignal<"outlined" \| "filled"> | 'outlined' | Specifies the input variant of the component. |
517
- | size | InputSignal<"small" \| "large"> | undefined | Specifies the size of the component. |
518
- | inputSize | InputSignal<number> | undefined | Specifies the visible width of the input element in characters. |
519
- | pattern | InputSignalWithTransform<string, string \| readonly RegExp[]> | undefined | Specifies the value must match the pattern. |
520
- | min | InputSignalWithTransform<number, unknown> | undefined | The value must be greater than or equal to the value. |
521
- | max | InputSignalWithTransform<number, unknown> | undefined | The value must be less than or equal to the value. |
522
- | step | InputSignal<number> | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
523
- | minlength | InputSignal<number> | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
524
- | maxlength | InputSignal<number> | undefined | The number of characters (code points) must not exceed the value of the attribute. |
525
- | ariaLabel | InputSignal<string> | ... | Defines a string that labels the input for accessibility. |
526
- | ariaLabelledBy | InputSignal<string> | ... | Specifies one or more IDs in the DOM that labels the input field. |
527
- | label | InputSignal<string> | ... | Label of the input for accessibility. |
528
- | promptLabel | InputSignal<string> | ... | Text to prompt password entry. Defaults to Exhaustive I18N API configuration. |
529
- | mediumRegex | InputSignal<string> | ... | Regex value for medium regex. |
530
- | strongRegex | InputSignal<string> | ... | Regex value for strong regex. |
531
- | weakLabel | InputSignal<string> | ... | Text for a weak password. Defaults to Exhaustive I18N API configuration. |
532
- | mediumLabel | InputSignal<string> | ... | Text for a medium password. Defaults to Exhaustive I18N API configuration. |
533
- | strongLabel | InputSignal<string> | ... | Text for a strong password. Defaults to Exhaustive I18N API configuration. |
534
- | inputId | InputSignal<string> | ... | Identifier of the accessible input element. |
535
- | feedback | InputSignalWithTransform<boolean, unknown> | ... | Whether to show the strength indicator or not. |
536
- | readonly | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that an input field is read-only. |
537
- | toggleMask | InputSignalWithTransform<boolean, unknown> | ... | Whether to show an icon to display the password as plain text. |
538
- | inputStyleClass | InputSignal<string> | ... | Style class of the input field. |
539
- | inputStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the input field. |
540
- | autocomplete | InputSignal<string> | ... | Specify automated assistance in filling out password by browser. |
541
- | placeholder | InputSignal<string> | ... | Advisory information to display on input. |
542
- | showClear | InputSignalWithTransform<boolean, unknown> | ... | When enabled, a clear icon is displayed to clear the value. |
543
- | autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should automatically get focus on load. |
544
- | tabindex | InputSignalWithTransform<number, unknown> | ... | Index of the element in tabbing order. |
545
- | appendTo | InputSignal<any> | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
546
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
547
- | overlayOptions | InputSignal<OverlayOptions> | ... | Whether to use overlay API feature. The properties of overlay API can be used like an object in it. |
520
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
521
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
522
+ | pt | PasswordPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
523
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
524
+ | required | boolean | false | There must be a value (if set). |
525
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
526
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
527
+ | name | string | undefined | When present, it specifies that the name of the input. |
528
+ | fluid | boolean | false | Spans 100% width of the container when enabled. |
529
+ | variant | "outlined" \| "filled" | 'outlined' | Specifies the input variant of the component. |
530
+ | size | "small" \| "large" | undefined | Specifies the size of the component. |
531
+ | inputSize | number | undefined | Specifies the visible width of the input element in characters. |
532
+ | pattern | string | undefined | Specifies the value must match the pattern. |
533
+ | min | number | undefined | The value must be greater than or equal to the value. |
534
+ | max | number | undefined | The value must be less than or equal to the value. |
535
+ | step | number | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
536
+ | minlength | number | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
537
+ | maxlength | number | undefined | The number of characters (code points) must not exceed the value of the attribute. |
538
+ | ariaLabel | string | - | Defines a string that labels the input for accessibility. |
539
+ | ariaLabelledBy | string | - | Specifies one or more IDs in the DOM that labels the input field. |
540
+ | label | string | - | Label of the input for accessibility. |
541
+ | promptLabel | string | - | Text to prompt password entry. Defaults to Exhaustive I18N API configuration. |
542
+ | mediumRegex | string | DEFAULT_MEDIUM_REGEX | Regex value for medium regex. |
543
+ | strongRegex | string | DEFAULT_STRONG_REGEX | Regex value for strong regex. |
544
+ | weakLabel | string | - | Text for a weak password. Defaults to Exhaustive I18N API configuration. |
545
+ | mediumLabel | string | - | Text for a medium password. Defaults to Exhaustive I18N API configuration. |
546
+ | strongLabel | string | - | Text for a strong password. Defaults to Exhaustive I18N API configuration. |
547
+ | inputId | string | - | Identifier of the accessible input element. |
548
+ | feedback | boolean | true | Whether to show the strength indicator or not. |
549
+ | readonly | boolean | - | When present, it specifies that an input field is read-only. |
550
+ | toggleMask | boolean | - | Whether to show an icon to display the password as plain text. |
551
+ | inputStyleClass | string | - | Style class of the input field. |
552
+ | inputStyle | { [klass: string]: any } | - | Inline style of the input field. |
553
+ | autocomplete | string | - | Specify automated assistance in filling out password by browser. |
554
+ | placeholder | string | - | Advisory information to display on input. |
555
+ | showClear | boolean | false | When enabled, a clear icon is displayed to clear the value. |
556
+ | autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
557
+ | tabindex | number | - | Index of the element in tabbing order. |
558
+ | appendTo | any | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
559
+ | motionOptions | MotionOptions | - | The motion options. |
560
+ | overlayOptions | OverlayOptions | - | Whether to use overlay API feature. The properties of overlay API can be used like an object in it. |
548
561
 
549
562
  ### Emits
550
563