@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
@@ -26,7 +26,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
26
26
  </div>
27
27
  `,
28
28
  standalone: true,
29
- imports: [IftaLabelModule, InputTextModule, FormsModule]
29
+ imports: [FormsModule, IftaLabelModule, InputTextModule]
30
30
  })
31
31
  export class IftalabelBasicDemo {
32
32
  value: string | undefined;
@@ -53,7 +53,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
53
53
  </div>
54
54
  `,
55
55
  standalone: true,
56
- imports: [IftaLabelModule, InputTextModule, FormsModule]
56
+ imports: [FormsModule, IftaLabelModule, InputTextModule]
57
57
  })
58
58
  export class IftalabelInvalidDemo {
59
59
  value: string | undefined;
@@ -68,8 +68,8 @@ The label follows the small and large sizes of the field it wraps: its inset, it
68
68
  import { Component } from '@angular/core';
69
69
  import { FormsModule } from '@angular/forms';
70
70
  import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
71
- import { SelectModule } from '@exhaustive-ui/core/select';
72
71
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
72
+ import { SelectModule } from '@exhaustive-ui/core/select';
73
73
 
74
74
  @Component({
75
75
  template: `
@@ -105,16 +105,22 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
105
105
  </div>
106
106
  `,
107
107
  standalone: true,
108
- imports: [IftaLabelModule, SelectModule, InputTextModule, FormsModule]
108
+ imports: [FormsModule, IftaLabelModule, InputTextModule, SelectModule]
109
109
  })
110
110
  export class IftalabelSizesDemo {
111
111
  value1: string | undefined;
112
+
112
113
  value2: string | undefined;
114
+
113
115
  value3: string | undefined;
116
+
114
117
  city1: string | undefined;
118
+
115
119
  city2: string | undefined;
120
+
116
121
  city3: string | undefined;
117
- cities: any[] = ['New York', 'Rome', 'London', 'Istanbul', 'Paris'];
122
+
123
+ cities = ['New York', 'Rome', 'London', 'Istanbul', 'Paris'];
118
124
  }
119
125
  ```
120
126
 
@@ -126,10 +132,10 @@ IftaLabel is used to create infield top aligned labels.
126
132
 
127
133
  | Name | Type | Default | Description |
128
134
  |------|------|---------|-------------|
129
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
130
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
131
- | pt | InputSignal<IftaLabelPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
132
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
135
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
136
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
137
+ | pt | IftaLabelPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
138
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
133
139
 
134
140
  ## Pass Through Options
135
141
 
@@ -12,6 +12,7 @@ Image is used as the native img element and supports all properties that the nat
12
12
 
13
13
  ```typescript
14
14
  import { Component } from '@angular/core';
15
+ import { RouterModule } from '@angular/router';
15
16
  import { ImageModule } from '@exhaustive-ui/core/image';
16
17
 
17
18
  @Component({
@@ -21,9 +22,10 @@ import { ImageModule } from '@exhaustive-ui/core/image';
21
22
  </div>
22
23
  `,
23
24
  standalone: true,
24
- imports: [ImageModule]
25
+ imports: [ImageModule, RouterModule]
25
26
  })
26
- export class ImageBasicDemo {}
27
+ export class ImageBasicDemo {
28
+ }
27
29
  ```
28
30
 
29
31
  ## Preview
@@ -43,7 +45,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
43
45
  standalone: true,
44
46
  imports: [ImageModule]
45
47
  })
46
- export class ImagePreviewDemo {}
48
+ export class ImagePreviewDemo {
49
+ }
47
50
  ```
48
51
 
49
52
  ## previewimagesource-doc
@@ -63,7 +66,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
63
66
  standalone: true,
64
67
  imports: [ImageModule]
65
68
  })
66
- export class ImagePreviewimagesourceDemo {}
69
+ export class ImagePreviewimagesourceDemo {
70
+ }
67
71
  ```
68
72
 
69
73
  ## Template
@@ -93,7 +97,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
93
97
  standalone: true,
94
98
  imports: [ImageModule]
95
99
  })
96
- export class ImageTemplateDemo {}
100
+ export class ImageTemplateDemo {
101
+ }
97
102
  ```
98
103
 
99
104
  ## Image
@@ -104,27 +109,27 @@ Displays an image with preview and tranformation options. For multiple image, se
104
109
 
105
110
  | Name | Type | Default | Description |
106
111
  |------|------|---------|-------------|
107
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
108
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
109
- | pt | InputSignal<ImagePassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
110
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
111
- | imageClass | InputSignal<string> | ... | Style class of the image element. |
112
- | imageStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the image element. |
113
- | src | InputSignal<string \| SafeUrl> | ... | The source path for the main image. |
114
- | srcSet | InputSignal<string \| SafeUrl> | ... | The srcset definition for the main image. |
115
- | sizes | InputSignal<string> | ... | The sizes definition for the main image. |
116
- | previewImageSrc | InputSignal<string \| SafeUrl> | ... | The source path for the preview image. |
117
- | previewImageSrcSet | InputSignal<string \| SafeUrl> | ... | The srcset definition for the preview image. |
118
- | previewImageSizes | InputSignal<string> | ... | The sizes definition for the preview image. |
119
- | alt | InputSignal<string> | ... | Attribute of the preview image element. |
120
- | previewAriaLabel | InputSignal<string> | ... | Accessible name of the preview dialog. Defaults to the alt text, then to the zoomImage ARIA translation. |
121
- | width | InputSignal<string> | ... | Attribute of the image element. |
122
- | height | InputSignal<string> | ... | Attribute of the image element. |
123
- | loading | InputSignal<"eager" \| "lazy"> | ... | Attribute of the image element. |
124
- | preview | InputSignalWithTransform<boolean, unknown> | ... | Controls the preview functionality. |
125
- | 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). |
126
- | maskMotionOptions | InputSignal<MotionOptions> | ... | The motion options for the mask. |
127
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
112
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
113
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
114
+ | pt | ImagePassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
115
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
116
+ | imageClass | string | - | Style class of the image element. |
117
+ | imageStyle | { [klass: string]: any } | - | Inline style of the image element. |
118
+ | src | string \| SafeUrl | - | The source path for the main image. |
119
+ | srcSet | string \| SafeUrl | - | The srcset definition for the main image. |
120
+ | sizes | string | - | The sizes definition for the main image. |
121
+ | previewImageSrc | string \| SafeUrl | - | The source path for the preview image. |
122
+ | previewImageSrcSet | string \| SafeUrl | - | The srcset definition for the preview image. |
123
+ | previewImageSizes | string | - | The sizes definition for the preview image. |
124
+ | alt | string | - | Attribute of the preview image element. |
125
+ | previewAriaLabel | string | - | Accessible name of the preview dialog. Defaults to the alt text, then to the zoomImage ARIA translation. |
126
+ | width | string | - | Attribute of the image element. |
127
+ | height | string | - | Attribute of the image element. |
128
+ | loading | "eager" \| "lazy" | - | Attribute of the image element. |
129
+ | preview | boolean | false | Controls the preview functionality. |
130
+ | 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). |
131
+ | maskMotionOptions | MotionOptions | - | The motion options for the mask. |
132
+ | motionOptions | MotionOptions | - | The motion options. |
128
133
 
129
134
  ### Emits
130
135
 
@@ -19,10 +19,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
19
19
  <div class="card flex justify-center">
20
20
  <p-image-compare class="shadow-lg rounded-2xl">
21
21
  <ng-template #left>
22
- <img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
22
+ <img src="https://exhaustive-ui.com/demo/compare/island1.jpg" alt="Island, before" />
23
23
  </ng-template>
24
24
  <ng-template #right>
25
- <img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
25
+ <img src="https://exhaustive-ui.com/demo/compare/island2.jpg" alt="Island, after" />
26
26
  </ng-template>
27
27
  </p-image-compare>
28
28
  </div>
@@ -30,7 +30,8 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
30
30
  standalone: true,
31
31
  imports: [ImageCompareModule]
32
32
  })
33
- export class ImagecompareBasicDemo {}
33
+ export class ImagecompareBasicDemo {
34
+ }
34
35
  ```
35
36
 
36
37
  ## Responsive
@@ -46,10 +47,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
46
47
  <div class="card flex justify-center">
47
48
  <p-image-compare class="sm:w-96! shadow-lg rounded-2xl">
48
49
  <ng-template #left>
49
- <img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
50
+ <img src="https://exhaustive-ui.com/demo/compare/island1.jpg" alt="Island, before" />
50
51
  </ng-template>
51
52
  <ng-template #right>
52
- <img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
53
+ <img src="https://exhaustive-ui.com/demo/compare/island2.jpg" alt="Island, after" />
53
54
  </ng-template>
54
55
  </p-image-compare>
55
56
  </div>
@@ -57,7 +58,8 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
57
58
  standalone: true,
58
59
  imports: [ImageCompareModule]
59
60
  })
60
- export class ImagecompareResponsiveDemo {}
61
+ export class ImagecompareResponsiveDemo {
62
+ }
61
63
  ```
62
64
 
63
65
  ## Pass Through Options
@@ -4,7 +4,7 @@ Inplace provides an easy to do editing and display at the same time where clicki
4
4
 
5
5
  ## Accessibility
6
6
 
7
- Screen Reader Inplace component defines aria-live as "polite" by default, since any valid attribute is passed to the main container aria roles and attributes of the root element can be customized easily. Display element uses button role in view mode by default, displayProps can be used for customizations like adding aria-label or aria-labelledby attributes to describe the content of the view mode or even overriding the default role. Closable inplace components displays a button with an aria-label that refers to the aria.close property of the locale API by default, you may use closeButtonProps to customize the element and override the default aria-label . View Mode Keyboard Support Key Function enter Switches to content. Close Button Keyboard Support Key Function enter Switches to display. space Switches to display.
7
+ Screen Reader Inplace component defines aria-live as "polite" by default, since any valid attribute is passed to the main container aria roles and attributes of the root element can be customized easily. Display element uses button role in view mode. Closable inplace components display a close button whose aria-label is defined with the closeAriaLabel property. View Mode Keyboard Support Key Function enter Switches to content. Close Button Keyboard Support Key Function enter Switches to display. space Switches to display.
8
8
 
9
9
  ## Basic
10
10
 
@@ -33,7 +33,8 @@ import { InplaceModule } from '@exhaustive-ui/core/inplace';
33
33
  standalone: true,
34
34
  imports: [InplaceModule]
35
35
  })
36
- export class InplaceBasicDemo {}
36
+ export class InplaceBasicDemo {
37
+ }
37
38
  ```
38
39
 
39
40
  ## Image
@@ -43,7 +44,6 @@ Any content such as an image can be placed inside an Inplace.
43
44
  ```typescript
44
45
  import { Component } from '@angular/core';
45
46
  import { InplaceModule } from '@exhaustive-ui/core/inplace';
46
- import { Photo } from '@/domain/photo';
47
47
 
48
48
  @Component({
49
49
  template: `
@@ -64,7 +64,8 @@ import { Photo } from '@/domain/photo';
64
64
  standalone: true,
65
65
  imports: [InplaceModule]
66
66
  })
67
- export class InplaceImageDemo {}
67
+ export class InplaceImageDemo {
68
+ }
68
69
  ```
69
70
 
70
71
  ## Input
@@ -74,8 +75,9 @@ The closeCallback switches the state back to display mode when called from an ev
74
75
  ```typescript
75
76
  import { Component } from '@angular/core';
76
77
  import { InplaceModule } from '@exhaustive-ui/core/inplace';
77
- import { ButtonModule } from '@exhaustive-ui/core/button';
78
78
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
79
+ import { AutoFocusModule } from '@exhaustive-ui/core/autofocus';
80
+ import { ButtonModule } from '@exhaustive-ui/core/button';
79
81
 
80
82
  @Component({
81
83
  template: `
@@ -96,9 +98,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
96
98
  </div>
97
99
  `,
98
100
  standalone: true,
99
- imports: [InplaceModule, ButtonModule, InputTextModule]
101
+ imports: [InplaceModule, InputTextModule, AutoFocusModule, ButtonModule]
100
102
  })
101
- export class InplaceInputDemo {}
103
+ export class InplaceInputDemo {
104
+ }
102
105
  ```
103
106
 
104
107
  ## Lazy
@@ -106,11 +109,11 @@ export class InplaceInputDemo {}
106
109
  Using the onActivate event, data can be loaded in a lazy manner before displaying it in a table.
107
110
 
108
111
  ```typescript
109
- import { Component, OnInit, inject } from '@angular/core';
112
+ import { Component, inject } from '@angular/core';
110
113
  import { InplaceModule } from '@exhaustive-ui/core/inplace';
111
114
  import { TableModule } from '@exhaustive-ui/core/table';
112
- import { ProductService } from '@/service/productservice';
113
115
  import { Product } from '@/domain/product';
116
+ import { ProductService } from '@/service/productservice';
114
117
 
115
118
  @Component({
116
119
  template: `
@@ -120,7 +123,7 @@ import { Product } from '@/domain/product';
120
123
  <span>View Data</span>
121
124
  </ng-template>
122
125
  <ng-template #content>
123
- <p-table [value]="products" responsiveLayout="scroll">
126
+ <p-table [value]="products">
124
127
  <ng-template #header>
125
128
  <tr>
126
129
  <th>Code</th>
@@ -146,11 +149,13 @@ import { Product } from '@/domain/product';
146
149
  imports: [InplaceModule, TableModule],
147
150
  providers: [ProductService]
148
151
  })
149
- export class InplaceLazyDemo implements OnInit {
152
+ export class InplaceLazyDemo {
150
153
  private productService = inject(ProductService);
154
+
151
155
  products: Product[] | undefined;
152
156
 
153
- ngOnInit() {
157
+ loadData() {
158
+ this.productService.getProductsMini().then((products) => (this.products = products));
154
159
  }
155
160
  }
156
161
  ```
@@ -163,16 +168,16 @@ Inplace provides an easy to do editing and display at the same time where clicki
163
168
 
164
169
  | Name | Type | Default | Description |
165
170
  |------|------|---------|-------------|
166
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
167
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
168
- | pt | InputSignal<InplacePassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
169
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
170
- | active | ModelSignal<boolean> | ... | Whether the content is displayed or not, supports one or two-way binding as well. Emits `activeChange` with the new value when the content is activated or deactivated. |
171
- | closable | InputSignalWithTransform<boolean, unknown> | ... | Displays a button to switch back to display mode. **(Deprecated)** |
172
- | disabled | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the element should be disabled. |
173
- | preventClick | InputSignalWithTransform<boolean, unknown> | ... | Allows to prevent clicking. |
174
- | closeIcon | InputSignal<string> | ... | Icon to display in the close button. **(Deprecated)** |
175
- | closeAriaLabel | InputSignal<string> | ... | Establishes a string value that labels the close button. |
171
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
172
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
173
+ | pt | InplacePassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
174
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
175
+ | active | boolean | false | Whether the content is displayed or not, supports one or two-way binding as well. Emits `activeChange` with the new value when the content is activated or deactivated. |
176
+ | closable | boolean | false | Displays a button to switch back to display mode. **(Deprecated)** |
177
+ | disabled | boolean | false | When present, it specifies that the element should be disabled. |
178
+ | preventClick | boolean | - | Allows to prevent clicking. |
179
+ | closeIcon | string | - | Icon to display in the close button. **(Deprecated)** |
180
+ | closeAriaLabel | string | - | Establishes a string value that labels the close button. |
176
181
 
177
182
  ### Emits
178
183
 
@@ -14,9 +14,10 @@ A group is created by wrapping the input and add-ons with the p-input-group comp
14
14
  import { Component } from '@angular/core';
15
15
  import { FormsModule } from '@angular/forms';
16
16
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
17
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
18
+ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
17
19
  import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
18
20
  import { SelectModule } from '@exhaustive-ui/core/select';
19
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
20
21
 
21
22
  interface City {
22
23
  name: string;
@@ -50,14 +51,24 @@ interface City {
50
51
  </div>
51
52
  `,
52
53
  standalone: true,
53
- imports: [InputGroupModule, InputNumberModule, SelectModule, InputTextModule, FormsModule]
54
+ imports: [FormsModule, InputGroupModule, InputGroupAddonModule, InputTextModule, InputNumberModule, SelectModule]
54
55
  })
55
56
  export class InputgroupBasicDemo {
56
57
  text1: string | undefined;
58
+
57
59
  text2: string | undefined;
60
+
58
61
  number: string | undefined;
62
+
59
63
  selectedCity: City | undefined;
60
- cities: City[];
64
+
65
+ cities: City[] = [
66
+ { name: 'New York', code: 'NY' },
67
+ { name: 'Rome', code: 'RM' },
68
+ { name: 'London', code: 'LDN' },
69
+ { name: 'Istanbul', code: 'IST' },
70
+ { name: 'Paris', code: 'PRS' }
71
+ ];
61
72
  }
62
73
  ```
63
74
 
@@ -66,12 +77,13 @@ export class InputgroupBasicDemo {
66
77
  Buttons can be placed at either side of an input element.
67
78
 
68
79
  ```typescript
69
- import { Component, OnInit } from '@angular/core';
70
- import { ButtonModule } from '@exhaustive-ui/core/button';
80
+ import { Component } from '@angular/core';
81
+ import { MenuItem } from '@exhaustive-ui/core/api';
71
82
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
72
- import { MenuModule } from '@exhaustive-ui/core/menu';
83
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
73
84
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
74
- import { MenuItem } from '@exhaustive-ui/core/api';
85
+ import { ButtonModule } from '@exhaustive-ui/core/button';
86
+ import { MenuModule } from '@exhaustive-ui/core/menu';
75
87
 
76
88
  @Component({
77
89
  template: `
@@ -83,25 +95,25 @@ import { MenuItem } from '@exhaustive-ui/core/api';
83
95
  <p-input-group>
84
96
  <input pInputText placeholder="Keyword" />
85
97
  <p-input-group-addon>
86
- <p-button icon="pi pi-search" severity="secondary" variant="text" (click)="menu.toggle($event)" />
98
+ <p-button icon="pi pi-search" ariaLabel="Search options" severity="secondary" variant="text" (click)="menu.toggle($event)" />
87
99
  </p-input-group-addon>
88
100
  </p-input-group>
89
101
  <p-menu #menu [model]="items" popup styleClass="min-w-fit!" />
90
102
  <p-input-group>
91
103
  <p-input-group-addon>
92
- <p-button icon="pi pi-check" severity="secondary" />
104
+ <p-button icon="pi pi-check" ariaLabel="Vote yes" severity="secondary" />
93
105
  </p-input-group-addon>
94
106
  <input pInputText placeholder="Vote" />
95
107
  <p-input-group-addon>
96
- <p-button icon="pi pi-times" severity="secondary" />
108
+ <p-button icon="pi pi-times" ariaLabel="Vote no" severity="secondary" />
97
109
  </p-input-group-addon>
98
110
  </p-input-group>
99
111
  </div>
100
112
  `,
101
113
  standalone: true,
102
- imports: [ButtonModule, InputGroupModule, MenuModule, InputTextModule]
114
+ imports: [InputGroupModule, InputGroupAddonModule, InputTextModule, ButtonModule, MenuModule]
103
115
  })
104
- export class InputgroupButtonDemo implements OnInit {
116
+ export class InputgroupButtonDemo {
105
117
  items: MenuItem[] | undefined;
106
118
 
107
119
  ngOnInit() {
@@ -117,36 +129,40 @@ Checkbox and RadioButton components can be combined with an input element under
117
129
  ```typescript
118
130
  import { Component } from '@angular/core';
119
131
  import { FormsModule } from '@angular/forms';
120
- import { CheckboxModule } from '@exhaustive-ui/core/checkbox';
121
132
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
122
- import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
133
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
123
134
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
135
+ import { CheckboxModule } from '@exhaustive-ui/core/checkbox';
136
+ import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
124
137
 
125
138
  @Component({
126
139
  template: `
127
140
  <div class="card flex flex-col md:flex-row gap-4">
128
141
  <p-input-group>
129
142
  <input type="text" pInputText placeholder="Price" />
130
- <p-input-group-addon><p-radio-button [(ngModel)]="radioValue1" name="rb1" value="rb1" /></p-input-group-addon>
143
+ <p-input-group-addon><p-radio-button [(ngModel)]="radioValue1" name="rb1" value="rb1" ariaLabel="Select price" /></p-input-group-addon>
131
144
  </p-input-group>
132
145
  <p-input-group>
133
- <p-input-group-addon><p-checkbox [(ngModel)]="checked1" [binary]="true" /></p-input-group-addon>
146
+ <p-input-group-addon><p-checkbox [(ngModel)]="checked1" [binary]="true" ariaLabel="Enable username" /></p-input-group-addon>
134
147
  <input type="text" pInputText placeholder="Username" />
135
148
  </p-input-group>
136
149
  <p-input-group>
137
- <p-input-group-addon><p-checkbox [(ngModel)]="checked2" [binary]="true" /></p-input-group-addon>
150
+ <p-input-group-addon><p-checkbox [(ngModel)]="checked2" [binary]="true" ariaLabel="Enable website" /></p-input-group-addon>
138
151
  <input type="text" pInputText placeholder="Website" />
139
- <p-input-group-addon><p-radio-button name="rb2" value="rb2" [(ngModel)]="category" /></p-input-group-addon>
152
+ <p-input-group-addon><p-radio-button name="rb2" value="rb2" [(ngModel)]="category" ariaLabel="Select website" /></p-input-group-addon>
140
153
  </p-input-group>
141
154
  </div>
142
155
  `,
143
156
  standalone: true,
144
- imports: [CheckboxModule, InputGroupModule, RadioButtonModule, InputTextModule, FormsModule]
157
+ imports: [FormsModule, InputGroupModule, InputGroupAddonModule, InputTextModule, CheckboxModule, RadioButtonModule]
145
158
  })
146
159
  export class InputgroupCheckboxDemo {
147
160
  radioValue1: boolean = false;
161
+
148
162
  checked1: boolean = false;
163
+
149
164
  checked2: boolean = false;
165
+
150
166
  category: string | undefined;
151
167
  }
152
168
  ```
@@ -158,9 +174,11 @@ FloatLabel visually integrates a label with its form element. Visit FloatLabel d
158
174
  ```typescript
159
175
  import { Component } from '@angular/core';
160
176
  import { FormsModule } from '@angular/forms';
161
- import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
177
+ import { RouterModule } from '@angular/router';
162
178
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
179
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
163
180
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
181
+ import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
164
182
 
165
183
  @Component({
166
184
  template: `
@@ -192,11 +210,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
192
210
  </div>
193
211
  `,
194
212
  standalone: true,
195
- imports: [FloatLabelModule, InputGroupModule, InputTextModule, FormsModule]
213
+ imports: [FormsModule, RouterModule, InputGroupModule, InputGroupAddonModule, InputTextModule, FloatLabelModule]
196
214
  })
197
215
  export class InputgroupFloatlabelDemo {
198
216
  value1: string | undefined;
217
+
199
218
  value2: string | undefined;
219
+
200
220
  value3: string | undefined;
201
221
  }
202
222
  ```
@@ -208,9 +228,11 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
208
228
  ```typescript
209
229
  import { Component } from '@angular/core';
210
230
  import { FormsModule } from '@angular/forms';
211
- import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
231
+ import { RouterModule } from '@angular/router';
212
232
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
233
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
213
234
  import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
235
+ import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
214
236
 
215
237
  @Component({
216
238
  template: `
@@ -227,7 +249,7 @@ import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
227
249
  </div>
228
250
  `,
229
251
  standalone: true,
230
- imports: [IftaLabelModule, InputGroupModule, InputNumberModule, FormsModule]
252
+ imports: [FormsModule, RouterModule, InputGroupModule, InputGroupAddonModule, InputNumberModule, IftaLabelModule]
231
253
  })
232
254
  export class InputgroupIftalabelDemo {
233
255
  value: number = 10;
@@ -241,6 +263,7 @@ Multiple add-ons can be placed inside the same group.
241
263
  ```typescript
242
264
  import { Component } from '@angular/core';
243
265
  import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
266
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
244
267
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
245
268
 
246
269
  @Component({
@@ -260,9 +283,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
260
283
  </div>
261
284
  `,
262
285
  standalone: true,
263
- imports: [InputGroupModule, InputTextModule]
286
+ imports: [InputGroupModule, InputGroupAddonModule, InputTextModule]
264
287
  })
265
- export class InputgroupMultipleDemo {}
288
+ export class InputgroupMultipleDemo {
289
+ }
266
290
  ```
267
291
 
268
292
  ## Input Group
@@ -273,10 +297,10 @@ InputGroup displays text, icon, buttons and other content can be grouped next to
273
297
 
274
298
  | Name | Type | Default | Description |
275
299
  |------|------|---------|-------------|
276
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
277
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
278
- | pt | InputSignal<InputGroupPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
279
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
300
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
301
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
302
+ | pt | InputGroupPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
303
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
280
304
 
281
305
  ## Pass Through Options
282
306