@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
@@ -38,7 +38,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
38
38
  </div>
39
39
  `,
40
40
  standalone: true,
41
- imports: [ButtonModule, DialogModule, InputTextModule]
41
+ imports: [DialogModule, ButtonModule, InputTextModule]
42
42
  })
43
43
  export class DialogBasicDemo {
44
44
  visible: boolean = false;
@@ -55,8 +55,8 @@ Headless mode allows you to customize the entire user interface instead of the d
55
55
 
56
56
  ```typescript
57
57
  import { Component } from '@angular/core';
58
- import { ButtonModule } from '@exhaustive-ui/core/button';
59
58
  import { DialogModule } from '@exhaustive-ui/core/dialog';
59
+ import { ButtonModule } from '@exhaustive-ui/core/button';
60
60
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
61
61
 
62
62
  @Component({
@@ -113,7 +113,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
113
113
  </div>
114
114
  `,
115
115
  standalone: true,
116
- imports: [ButtonModule, DialogModule, InputTextModule]
116
+ imports: [DialogModule, ButtonModule, InputTextModule]
117
117
  })
118
118
  export class DialogHeadlessDemo {
119
119
  visible: boolean = false;
@@ -134,8 +134,8 @@ Dialog automatically displays a scroller when content exceeds viewport.
134
134
 
135
135
  ```typescript
136
136
  import { Component } from '@angular/core';
137
- import { ButtonModule } from '@exhaustive-ui/core/button';
138
137
  import { DialogModule } from '@exhaustive-ui/core/dialog';
138
+ import { ButtonModule } from '@exhaustive-ui/core/button';
139
139
 
140
140
  @Component({
141
141
  template: `
@@ -178,7 +178,7 @@ import { DialogModule } from '@exhaustive-ui/core/dialog';
178
178
  </div>
179
179
  `,
180
180
  standalone: true,
181
- imports: [ButtonModule, DialogModule]
181
+ imports: [DialogModule, ButtonModule]
182
182
  })
183
183
  export class DialogLongcontentDemo {
184
184
  visible: boolean = false;
@@ -195,8 +195,8 @@ Setting maximizable property to true enables the full screen mode.
195
195
 
196
196
  ```typescript
197
197
  import { Component } from '@angular/core';
198
- import { ButtonModule } from '@exhaustive-ui/core/button';
199
198
  import { DialogModule } from '@exhaustive-ui/core/dialog';
199
+ import { ButtonModule } from '@exhaustive-ui/core/button';
200
200
 
201
201
  @Component({
202
202
  template: `
@@ -211,7 +211,7 @@ import { DialogModule } from '@exhaustive-ui/core/dialog';
211
211
  </div>
212
212
  `,
213
213
  standalone: true,
214
- imports: [ButtonModule, DialogModule]
214
+ imports: [DialogModule, ButtonModule]
215
215
  })
216
216
  export class DialogMaximizableDemo {
217
217
  visible: boolean = false;
@@ -228,8 +228,8 @@ Mask layer behind the Dialog can be turned on by setting the modal property to t
228
228
 
229
229
  ```typescript
230
230
  import { Component } from '@angular/core';
231
+ import { DialogModule } from '@exhaustive-ui/core/dialog';
231
232
  import { ButtonModule } from '@exhaustive-ui/core/button';
232
- import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
233
233
 
234
234
  @Component({
235
235
  template: `
@@ -244,7 +244,7 @@ import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
244
244
  </div>
245
245
  `,
246
246
  standalone: true,
247
- imports: [ButtonModule, DialogModule]
247
+ imports: [DialogModule, ButtonModule]
248
248
  })
249
249
  export class DialogModalDemo {
250
250
  visible: boolean = false;
@@ -262,8 +262,8 @@ When dialog includes other components with overlays such as dropdown, the overla
262
262
  ```typescript
263
263
  import { Component, OnInit } from '@angular/core';
264
264
  import { FormsModule } from '@angular/forms';
265
- import { ButtonModule } from '@exhaustive-ui/core/button';
266
265
  import { DialogModule } from '@exhaustive-ui/core/dialog';
266
+ import { ButtonModule } from '@exhaustive-ui/core/button';
267
267
  import { SelectModule } from '@exhaustive-ui/core/select';
268
268
 
269
269
  interface City {
@@ -283,11 +283,13 @@ interface City {
283
283
  </div>
284
284
  `,
285
285
  standalone: true,
286
- imports: [ButtonModule, DialogModule, SelectModule, FormsModule]
286
+ imports: [FormsModule, DialogModule, ButtonModule, SelectModule]
287
287
  })
288
288
  export class DialogOverlaysinsideDemo implements OnInit {
289
289
  cities: City[] | undefined;
290
+
290
291
  selectedCity: City | undefined;
292
+
291
293
  visible: boolean = false;
292
294
 
293
295
  ngOnInit() {
@@ -312,8 +314,8 @@ The position property is used to display a Dialog at all edges and corners of th
312
314
 
313
315
  ```typescript
314
316
  import { Component } from '@angular/core';
317
+ import { DialogModule } from '@exhaustive-ui/core/dialog';
315
318
  import { ButtonModule } from '@exhaustive-ui/core/button';
316
- import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
317
319
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
318
320
 
319
321
  @Component({
@@ -351,11 +353,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
351
353
  </div>
352
354
  `,
353
355
  standalone: true,
354
- imports: [ButtonModule, DialogModule, InputTextModule]
356
+ imports: [DialogModule, ButtonModule, InputTextModule]
355
357
  })
356
358
  export class DialogPositionDemo {
357
359
  visible: boolean = false;
358
360
 
361
+ position: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright' = 'center';
362
+
359
363
  showDialog(position: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright') {
360
364
  this.position = position;
361
365
  this.visible = true;
@@ -369,8 +373,8 @@ Dialog width can be adjusted per screen size with the breakpoints option where a
369
373
 
370
374
  ```typescript
371
375
  import { Component } from '@angular/core';
376
+ import { DialogModule } from '@exhaustive-ui/core/dialog';
372
377
  import { ButtonModule } from '@exhaustive-ui/core/button';
373
- import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
374
378
 
375
379
  @Component({
376
380
  template: `
@@ -385,7 +389,7 @@ import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
385
389
  </div>
386
390
  `,
387
391
  standalone: true,
388
- imports: [ButtonModule, DialogModule]
392
+ imports: [DialogModule, ButtonModule]
389
393
  })
390
394
  export class DialogResponsiveDemo {
391
395
  visible: boolean = false;
@@ -402,10 +406,10 @@ Dialog can be customized using header and footer templates.
402
406
 
403
407
  ```typescript
404
408
  import { Component } from '@angular/core';
405
- import { AvatarModule } from '@exhaustive-ui/core/avatar';
406
- import { ButtonModule } from '@exhaustive-ui/core/button';
407
409
  import { DialogModule } from '@exhaustive-ui/core/dialog';
410
+ import { ButtonModule } from '@exhaustive-ui/core/button';
408
411
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
412
+ import { AvatarModule } from '@exhaustive-ui/core/avatar';
409
413
 
410
414
  @Component({
411
415
  template: `
@@ -435,7 +439,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
435
439
  </div>
436
440
  `,
437
441
  standalone: true,
438
- imports: [AvatarModule, ButtonModule, DialogModule, InputTextModule]
442
+ imports: [DialogModule, ButtonModule, InputTextModule, AvatarModule]
439
443
  })
440
444
  export class DialogTemplateDemo {
441
445
  visible: boolean = false;
@@ -452,8 +456,8 @@ Mask layer behind the Dialog is configured with the modal property. By default,
452
456
 
453
457
  ```typescript
454
458
  import { Component } from '@angular/core';
459
+ import { DialogModule } from '@exhaustive-ui/core/dialog';
455
460
  import { ButtonModule } from '@exhaustive-ui/core/button';
456
- import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
457
461
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
458
462
 
459
463
  @Component({
@@ -478,7 +482,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
478
482
  </div>
479
483
  `,
480
484
  standalone: true,
481
- imports: [ButtonModule, DialogModule, InputTextModule]
485
+ imports: [DialogModule, ButtonModule, InputTextModule]
482
486
  })
483
487
  export class DialogWithoutmodalDemo {
484
488
  visible: boolean = false;
@@ -497,54 +501,62 @@ Dialog is a container to display content in an overlay window.
497
501
 
498
502
  | Name | Type | Default | Description |
499
503
  |------|------|---------|-------------|
500
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
501
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
502
- | pt | InputSignal<DialogPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
503
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
504
- | header | InputSignal<string> | ... | Title text of the dialog. |
505
- | draggable | InputSignalWithTransform<boolean, unknown> | ... | Enables dragging to change the position using header. |
506
- | resizable | InputSignalWithTransform<boolean, unknown> | ... | Enables resizing of the content. |
507
- | contentStyle | InputSignal<any> | ... | Style of the content section. |
508
- | contentStyleClass | InputSignal<string> | ... | Style class of the content. |
509
- | modal | InputSignalWithTransform<boolean, unknown> | ... | Defines if background should be blocked when dialog is displayed. |
510
- | closeOnEscape | InputSignalWithTransform<boolean, unknown> | ... | Specifies if pressing escape key should hide the dialog. |
511
- | dismissableMask | InputSignalWithTransform<boolean, unknown> | ... | Specifies if clicking the modal background should hide the dialog. |
512
- | closable | InputSignalWithTransform<boolean, unknown> | ... | Adds a close icon to the header to hide the dialog. |
513
- | breakpoints | InputSignal<any> | ... | Object literal to define widths per screen size. |
514
- | styleClass | InputSignal<string> | ... | Style class of the component. |
515
- | maskStyleClass | InputSignal<string> | ... | Style class of the mask. |
516
- | maskStyle | InputSignal<{ [klass: string]: any }> | ... | Style of the mask. |
517
- | showHeader | InputSignalWithTransform<boolean, unknown> | ... | Whether to show the header or not. |
518
- | blockScroll | InputSignalWithTransform<boolean, unknown> | ... | Whether background scroll should be blocked when dialog is visible. |
519
- | autoZIndex | InputSignalWithTransform<boolean, unknown> | ... | Whether to automatically manage layering. |
520
- | baseZIndex | InputSignalWithTransform<number, unknown> | ... | Base zIndex value to use in layering. |
521
- | minX | InputSignalWithTransform<number, unknown> | ... | Minimum value for the left coordinate of dialog in dragging. |
522
- | minY | InputSignalWithTransform<number, unknown> | ... | Minimum value for the top coordinate of dialog in dragging. |
523
- | focusOnShow | InputSignalWithTransform<boolean, unknown> | ... | When enabled, first focusable element receives focus on show. |
524
- | maximizable | InputSignalWithTransform<boolean, unknown> | ... | Whether the dialog can be displayed full screen. |
525
- | keepInViewport | InputSignalWithTransform<boolean, unknown> | ... | Keeps dialog in the viewport. |
526
- | focusTrap | InputSignalWithTransform<boolean, unknown> | ... | When enabled, can only focus on elements inside the dialog. |
527
- | maskMotionOptions | InputSignal<MotionOptions> | ... | The motion options for the mask. |
528
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
529
- | closeIcon | InputSignal<string> | ... | Name of the close icon. |
530
- | closeAriaLabel | InputSignal<string> | ... | Defines a string that labels the close button for accessibility. |
531
- | closeTabindex | InputSignal<string> | ... | Index of the close button in tabbing order. |
532
- | minimizeIcon | InputSignal<string> | ... | Name of the minimize icon. |
533
- | maximizeIcon | InputSignal<string> | ... | Name of the maximize icon. |
534
- | closeButtonProps | InputSignal<ButtonProps> | ... | Used to pass all properties of the ButtonProps to the Button component. |
535
- | maximizeButtonProps | InputSignal<ButtonProps> | ... | Used to pass all properties of the ButtonProps to the Button component. |
536
- | visible | ModelSignal<boolean> | false | Specifies the visibility of the dialog. Emits `visibleChange` with the new value to notify changes in the visibility state of the component. |
537
- | style | InputSignal<any> | ... | Inline style of the component. |
538
- | position | InputSignal<"top" \| "bottom" \| "center" \| "left" \| "right" \| "topleft" \| "bottomleft" \| "topright" \| "bottomright"> | ... | Position of the dialog. |
539
- | ariaLabelledBy | InputSignal<string> | ... | Identifier of the element that labels the dialog. Defaults to the id of the generated header title. |
540
- | 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). |
541
- | headerTemplate | InputSignal<TemplateRef<DialogHeaderTemplateContext>> | ... | Header template passed as an input, for a template defined outside the dialog. A <ng-template #header> inside the dialog takes precedence. |
542
- | contentTemplate | InputSignal<TemplateRef<void>> | ... | Content template passed as an input, for a template defined outside the dialog. A <ng-template #content> inside the dialog takes precedence. |
543
- | footerTemplate | InputSignal<TemplateRef<void>> | ... | Footer template passed as an input, for a template defined outside the dialog. A <ng-template #footer> inside the dialog takes precedence. |
544
- | closeIconTemplate | InputSignal<TemplateRef<void>> | ... | Close icon template passed as an input, for a template defined outside the dialog. A <ng-template #closeicon> inside the dialog takes precedence. |
545
- | maximizeIconTemplate | InputSignal<TemplateRef<void>> | ... | Maximize icon template passed as an input, for a template defined outside the dialog. A <ng-template #maximizeicon> inside the dialog takes precedence. |
546
- | minimizeIconTemplate | InputSignal<TemplateRef<void>> | ... | Minimize icon template passed as an input, for a template defined outside the dialog. A <ng-template #minimizeicon> inside the dialog takes precedence. |
547
- | headlessTemplate | InputSignal<TemplateRef<void>> | ... | Headless template passed as an input, for a template defined outside the dialog. A <ng-template #headless> inside the dialog takes precedence. |
504
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
505
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
506
+ | pt | DialogPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
507
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
508
+ | header | string | - | Title text of the dialog. |
509
+ | draggable | boolean | true | Enables dragging to change the position using header. |
510
+ | resizable | boolean | true | Enables resizing of the content. |
511
+ | contentStyle | { [key: string]: any } | - | Style of the content section. |
512
+ | contentStyleClass | string | - | Style class of the content. |
513
+ | modal | boolean | false | Defines if background should be blocked when dialog is displayed. |
514
+ | closeOnEscape | boolean | true | Specifies if pressing escape key should hide the dialog. |
515
+ | dismissableMask | boolean | false | Specifies if clicking the modal background should hide the dialog. |
516
+ | closable | boolean | true | Adds a close icon to the header to hide the dialog. |
517
+ | breakpoints | { [maxWidth: string]: string } | - | Object literal to define widths per screen size. |
518
+ | styleClass | string | - | Style class of the component. |
519
+ | maskStyleClass | string | - | Style class of the mask. |
520
+ | maskStyle | { [klass: string]: any } | - | Style of the mask. |
521
+ | showHeader | boolean | true | Whether to show the header or not. |
522
+ | blockScroll | boolean | false | Whether background scroll should be blocked when dialog is visible. |
523
+ | autoZIndex | boolean | true | Whether to automatically manage layering. |
524
+ | baseZIndex | number | 0 | Base zIndex value to use in layering. |
525
+ | minX | number | 0 | Minimum value for the left coordinate of dialog in dragging. |
526
+ | minY | number | 0 | Minimum value for the top coordinate of dialog in dragging. |
527
+ | focusOnShow | boolean | true | When enabled, first focusable element receives focus on show. |
528
+ | maximizable | boolean | false | Whether the dialog can be displayed full screen. |
529
+ | keepInViewport | boolean | true | Keeps dialog in the viewport. |
530
+ | focusTrap | boolean | true | When enabled, can only focus on elements inside the dialog. |
531
+ | maskMotionOptions | MotionOptions | - | The motion options for the mask. |
532
+ | motionOptions | MotionOptions | - | The motion options. |
533
+ | closeIcon | string | - | Name of the close icon. |
534
+ | closeAriaLabel | string | - | Defines a string that labels the close button for accessibility. |
535
+ | closeTabindex | string | '0' | Index of the close button in tabbing order. |
536
+ | minimizeIcon | string | - | Name of the minimize icon. |
537
+ | maximizeIcon | string | - | Name of the maximize icon. |
538
+ | closeButtonProps | ButtonProps | {
539
+ severity: 'secondary',
540
+ variant: 'text',
541
+ rounded: true
542
+ } | Used to pass all properties of the ButtonProps to the Button component. |
543
+ | maximizeButtonProps | ButtonProps | {
544
+ severity: 'secondary',
545
+ variant: 'text',
546
+ rounded: true
547
+ } | Used to pass all properties of the ButtonProps to the Button component. |
548
+ | visible | boolean | false | Specifies the visibility of the dialog. Emits `visibleChange` with the new value to notify changes in the visibility state of the component. |
549
+ | style | { [key: string]: any } | - | Inline style of the component. |
550
+ | position | "top" \| "bottom" \| "center" \| "left" \| "right" \| "topleft" \| "bottomleft" \| "topright" \| "bottomright" | - | Position of the dialog. |
551
+ | ariaLabelledBy | string | - | Identifier of the element that labels the dialog. Defaults to the id of the generated header title. |
552
+ | 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). |
553
+ | headerTemplate | TemplateRef<DialogHeaderTemplateContext> | - | Header template passed as an input, for a template defined outside the dialog. A <ng-template #header> inside the dialog takes precedence. |
554
+ | contentTemplate | TemplateRef<void> | - | Content template passed as an input, for a template defined outside the dialog. A <ng-template #content> inside the dialog takes precedence. |
555
+ | footerTemplate | TemplateRef<void> | - | Footer template passed as an input, for a template defined outside the dialog. A <ng-template #footer> inside the dialog takes precedence. |
556
+ | closeIconTemplate | TemplateRef<void> | - | Close icon template passed as an input, for a template defined outside the dialog. A <ng-template #closeicon> inside the dialog takes precedence. |
557
+ | maximizeIconTemplate | TemplateRef<void> | - | Maximize icon template passed as an input, for a template defined outside the dialog. A <ng-template #maximizeicon> inside the dialog takes precedence. |
558
+ | minimizeIconTemplate | TemplateRef<void> | - | Minimize icon template passed as an input, for a template defined outside the dialog. A <ng-template #minimizeicon> inside the dialog takes precedence. |
559
+ | headlessTemplate | TemplateRef<void> | - | Headless template passed as an input, for a template defined outside the dialog. A <ng-template #headless> inside the dialog takes precedence. |
548
560
 
549
561
  ### Emits
550
562
 
@@ -41,7 +41,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
41
41
  standalone: true,
42
42
  imports: [DividerModule]
43
43
  })
44
- export class DividerBasicDemo {}
44
+ export class DividerBasicDemo {
45
+ }
45
46
  ```
46
47
 
47
48
  ## Content
@@ -85,7 +86,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
85
86
  standalone: true,
86
87
  imports: [DividerModule]
87
88
  })
88
- export class DividerContentDemo {}
89
+ export class DividerContentDemo {
90
+ }
89
91
  ```
90
92
 
91
93
  ## Login
@@ -128,7 +130,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
128
130
  standalone: true,
129
131
  imports: [ButtonModule, DividerModule, InputTextModule]
130
132
  })
131
- export class DividerLoginDemo {}
133
+ export class DividerLoginDemo {
134
+ }
132
135
  ```
133
136
 
134
137
  ## Type
@@ -166,7 +169,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
166
169
  standalone: true,
167
170
  imports: [DividerModule]
168
171
  })
169
- export class DividerTypeDemo {}
172
+ export class DividerTypeDemo {
173
+ }
170
174
  ```
171
175
 
172
176
  ## Vertical
@@ -199,7 +203,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
199
203
  standalone: true,
200
204
  imports: [DividerModule]
201
205
  })
202
- export class DividerVerticalDemo {}
206
+ export class DividerVerticalDemo {
207
+ }
203
208
  ```
204
209
 
205
210
  ## Divider
@@ -210,13 +215,13 @@ Divider is used to separate contents.
210
215
 
211
216
  | Name | Type | Default | Description |
212
217
  |------|------|---------|-------------|
213
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
214
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
215
- | pt | InputSignal<DividerPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
216
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
217
- | layout | InputSignal<"vertical" \| "horizontal"> | ... | Specifies the orientation. |
218
- | type | InputSignal<"solid" \| "dashed" \| "dotted"> | ... | Border style type. |
219
- | align | InputSignal<"top" \| "bottom" \| "center" \| "left" \| "right"> | ... | Alignment of the content. |
218
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
219
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
220
+ | pt | DividerPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
221
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
222
+ | layout | "vertical" \| "horizontal" | 'horizontal' | Specifies the orientation. |
223
+ | type | "solid" \| "dashed" \| "dotted" | 'solid' | Border style type. |
224
+ | align | "top" \| "bottom" \| "center" \| "left" \| "right" | - | Alignment of the content. |
220
225
 
221
226
  ## Pass Through Options
222
227
 
@@ -11,18 +11,19 @@ Screen Reader Dock component uses the menu role with the aria-orientation and th
11
11
  A mock desktop UI implemented with various components in addition to Dock.
12
12
 
13
13
  ```typescript
14
- import { Component, OnInit, inject } from '@angular/core';
14
+ import { Component, OnDestroy, OnInit, inject } from '@angular/core';
15
+ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
15
16
  import { DialogModule } from '@exhaustive-ui/core/dialog';
16
- import { DockModule } from '@exhaustive-ui/core/dock';
17
+ import { Dock } from '@exhaustive-ui/core/dock';
17
18
  import { GalleriaModule } from '@exhaustive-ui/core/galleria';
18
19
  import { MenubarModule } from '@exhaustive-ui/core/menubar';
19
- import { TerminalModule } from '@exhaustive-ui/core/terminal';
20
+ import { TerminalModule, TerminalService } from '@exhaustive-ui/core/terminal';
20
21
  import { ToastModule } from '@exhaustive-ui/core/toast';
21
- import { TreeModule } from '@exhaustive-ui/core/tree';
22
22
  import { TooltipModule } from '@exhaustive-ui/core/tooltip';
23
+ import { TreeModule } from '@exhaustive-ui/core/tree';
24
+ import { Subscription } from 'rxjs';
23
25
  import { NodeService } from '@/service/nodeservice';
24
26
  import { PhotoService } from '@/service/photoservice';
25
- import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
26
27
 
27
28
  @Component({
28
29
  template: `
@@ -75,21 +76,31 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
75
76
  </div>
76
77
  `,
77
78
  standalone: true,
78
- imports: [DialogModule, DockModule, GalleriaModule, MenubarModule, TerminalModule, ToastModule, TreeModule, TooltipModule],
79
- providers: [NodeService, PhotoService, MessageService]
79
+ imports: [Dock, DialogModule, GalleriaModule, MenubarModule, TerminalModule, ToastModule, TooltipModule, TreeModule],
80
+ providers: [MessageService, TerminalService, PhotoService, NodeService]
80
81
  })
81
- export class DockAdvancedDemo implements OnInit {
82
+ export class DockAdvancedDemo implements OnInit, OnDestroy {
83
+ private galleriaService = inject(PhotoService);
82
84
  private nodeService = inject(NodeService);
83
- private photoService = inject(PhotoService);
84
85
  private messageService = inject(MessageService);
86
+ private terminalService = inject(TerminalService);
87
+
85
88
  displayTerminal: boolean | undefined;
89
+
86
90
  displayFinder: boolean | undefined;
91
+
87
92
  displayGalleria: boolean | undefined;
93
+
88
94
  dockItems: MenuItem[] | undefined;
95
+
89
96
  menubarItems: any[] | undefined;
97
+
90
98
  responsiveOptions: any[] | undefined;
99
+
91
100
  images: any[] | undefined;
101
+
92
102
  nodes: any[] | undefined;
103
+
93
104
  subscription: Subscription | undefined;
94
105
 
95
106
  ngOnInit() {
@@ -186,6 +197,7 @@ export class DockAdvancedDemo implements OnInit {
186
197
  }
187
198
  }
188
199
  ];
200
+
189
201
  this.menubarItems = [
190
202
  {
191
203
  label: 'Finder',
@@ -308,6 +320,7 @@ export class DockAdvancedDemo implements OnInit {
308
320
  label: 'Quit'
309
321
  }
310
322
  ];
323
+
311
324
  this.responsiveOptions = [
312
325
  {
313
326
  breakpoint: '1024px',
@@ -322,7 +335,9 @@ export class DockAdvancedDemo implements OnInit {
322
335
  numVisible: 1
323
336
  }
324
337
  ];
338
+
325
339
  this.subscription = this.terminalService.commandHandler.subscribe((command) => this.commandHandler(command));
340
+
326
341
  this.galleriaService.getImages().then((data) => (this.images = data));
327
342
  this.nodeService.getFiles().then((data) => (this.nodes = data));
328
343
  }
@@ -331,25 +346,25 @@ export class DockAdvancedDemo implements OnInit {
331
346
  let response;
332
347
  let argsIndex = text.indexOf(' ');
333
348
  let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
334
-
349
+
335
350
  switch (command) {
336
351
  case 'date':
337
352
  response = 'Today is ' + new Date().toDateString();
338
353
  break;
339
-
354
+
340
355
  case 'greet':
341
356
  response = 'Hola ' + text.substring(argsIndex + 1) + '!';
342
357
  break;
343
-
358
+
344
359
  case 'random':
345
360
  response = Math.floor(Math.random() * 100);
346
361
  break;
347
-
362
+
348
363
  default:
349
364
  response = 'Unknown command: ' + command;
350
365
  break;
351
366
  }
352
-
367
+
353
368
  if (response) {
354
369
  this.terminalService.sendResponse(response as string);
355
370
  }
@@ -369,11 +384,12 @@ Dock requires a collection of menuitems as its model . Default location is botto
369
384
 
370
385
  ```typescript
371
386
  import { Component, OnInit } from '@angular/core';
387
+ import { CommonModule } from '@angular/common';
372
388
  import { FormsModule } from '@angular/forms';
389
+ import { MenuItem } from '@exhaustive-ui/core/api';
373
390
  import { DockModule } from '@exhaustive-ui/core/dock';
374
391
  import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
375
392
  import { TooltipModule } from '@exhaustive-ui/core/tooltip';
376
- import { MenuItem } from '@exhaustive-ui/core/api';
377
393
 
378
394
  @Component({
379
395
  template: `
@@ -394,11 +410,31 @@ import { MenuItem } from '@exhaustive-ui/core/api';
394
410
  </div>
395
411
  `,
396
412
  standalone: true,
397
- imports: [DockModule, RadioButtonModule, TooltipModule, FormsModule]
413
+ imports: [CommonModule, FormsModule, DockModule, RadioButtonModule, TooltipModule]
398
414
  })
399
415
  export class DockBasicDemo implements OnInit {
400
416
  items: MenuItem[] | undefined;
401
- positionOptions: any[];
417
+
418
+ position: 'left' | 'right' | 'top' | 'bottom' = 'bottom';
419
+
420
+ positionOptions = [
421
+ {
422
+ label: 'Bottom',
423
+ value: 'bottom'
424
+ },
425
+ {
426
+ label: 'Top',
427
+ value: 'top'
428
+ },
429
+ {
430
+ label: 'Left',
431
+ value: 'left'
432
+ },
433
+ {
434
+ label: 'Right',
435
+ value: 'right'
436
+ }
437
+ ];
402
438
 
403
439
  ngOnInit() {
404
440
  this.items = [
@@ -431,16 +467,16 @@ Dock is a navigation component consisting of menuitems.
431
467
 
432
468
  | Name | Type | Default | Description |
433
469
  |------|------|---------|-------------|
434
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
435
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
436
- | pt | InputSignal<DockPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
437
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
438
- | id | InputSignal<string> | ... | Current id state as a string. |
439
- | model | InputSignal<MenuItem[]> | ... | MenuModel instance to define the action items. |
440
- | position | InputSignal<"top" \| "bottom" \| "left" \| "right"> | ... | Position of element. |
441
- | ariaLabel | InputSignal<string> | ... | Defines a string that labels the input for accessibility. |
442
- | breakpoint | InputSignal<string> | 960px | The breakpoint to define the maximum width boundary. |
443
- | ariaLabelledBy | InputSignal<string> | ... | Defines a string that labels the dropdown button for accessibility. |
470
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
471
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
472
+ | pt | DockPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
473
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
474
+ | id | string | - | Current id state as a string. |
475
+ | model | MenuItem[] | - | MenuModel instance to define the action items. |
476
+ | position | "top" \| "bottom" \| "left" \| "right" | 'bottom' | Position of element. |
477
+ | ariaLabel | string | - | Defines a string that labels the input for accessibility. |
478
+ | breakpoint | string | '960px' | The breakpoint to define the maximum width boundary. |
479
+ | ariaLabelledBy | string | - | Defines a string that labels the dropdown button for accessibility. |
444
480
 
445
481
  ### Emits
446
482