@exhaustive-ui/mcp 22.4.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 (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -24,7 +24,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
24
24
  <input type="text" pInputText placeholder="Search" />
25
25
  </p-icon-field>
26
26
  <p-icon-field>
27
- <input type="text" pInputText />
27
+ <input type="text" pInputText aria-label="Username" />
28
28
  <p-input-icon class="pi pi-spinner pi-spin" />
29
29
  </p-icon-field>
30
30
  </div>
@@ -32,7 +32,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
32
32
  standalone: true,
33
33
  imports: [IconFieldModule, InputIconModule, InputTextModule]
34
34
  })
35
- export class IconfieldBasicDemo {}
35
+ export class IconfieldBasicDemo {
36
+ }
36
37
  ```
37
38
 
38
39
  ## Float Label
@@ -42,6 +43,7 @@ FloatLabel visually integrates a label with its form element. Visit FloatLabel d
42
43
  ```typescript
43
44
  import { Component } from '@angular/core';
44
45
  import { FormsModule } from '@angular/forms';
46
+ import { RouterModule } from '@angular/router';
45
47
  import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
46
48
  import { IconFieldModule } from '@exhaustive-ui/core/iconfield';
47
49
  import { InputIconModule } from '@exhaustive-ui/core/inputicon';
@@ -74,11 +76,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
74
76
  </div>
75
77
  `,
76
78
  standalone: true,
77
- imports: [FloatLabelModule, IconFieldModule, InputIconModule, InputTextModule, FormsModule]
79
+ imports: [RouterModule, FormsModule, FloatLabelModule, IconFieldModule, InputIconModule, InputTextModule]
78
80
  })
79
81
  export class IconfieldFloatlabelDemo {
80
82
  value1: string | undefined;
83
+
81
84
  value2: string | undefined;
85
+
82
86
  value3: string | undefined;
83
87
  }
84
88
  ```
@@ -90,8 +94,9 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
90
94
  ```typescript
91
95
  import { Component } from '@angular/core';
92
96
  import { FormsModule } from '@angular/forms';
93
- import { IconFieldModule } from '@exhaustive-ui/core/iconfield';
97
+ import { RouterModule } from '@angular/router';
94
98
  import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
99
+ import { IconFieldModule } from '@exhaustive-ui/core/iconfield';
95
100
  import { InputIconModule } from '@exhaustive-ui/core/inputicon';
96
101
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
97
102
 
@@ -108,7 +113,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
108
113
  </div>
109
114
  `,
110
115
  standalone: true,
111
- imports: [IconFieldModule, IftaLabelModule, InputIconModule, InputTextModule, FormsModule]
116
+ imports: [RouterModule, FormsModule, IftaLabelModule, IconFieldModule, InputIconModule, InputTextModule]
112
117
  })
113
118
  export class IconfieldIftalabelDemo {
114
119
  value: string | undefined;
@@ -145,12 +150,14 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
145
150
  </div>
146
151
  `,
147
152
  standalone: true,
148
- imports: [IconFieldModule, InputIconModule, InputTextModule, FormsModule]
153
+ imports: [FormsModule, IconFieldModule, InputIconModule, InputTextModule]
149
154
  })
150
155
  export class IconfieldSizesDemo {
151
- value1: any = null;
152
- value2: any = null;
153
- value3: any = null;
156
+ value1 = null;
157
+
158
+ value2 = null;
159
+
160
+ value3 = null;
154
161
  }
155
162
  ```
156
163
 
@@ -206,7 +213,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
206
213
  standalone: true,
207
214
  imports: [IconFieldModule, InputIconModule, InputTextModule]
208
215
  })
209
- export class IconfieldTemplateDemo {}
216
+ export class IconfieldTemplateDemo {
217
+ }
210
218
  ```
211
219
 
212
220
  ## Icon Field
@@ -217,11 +225,11 @@ IconField wraps an input and an icon.
217
225
 
218
226
  | Name | Type | Default | Description |
219
227
  |------|------|---------|-------------|
220
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
221
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
222
- | pt | InputSignal<IconFieldPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
223
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
224
- | iconPosition | InputSignal<"left" \| "right"> | ... | Position of the icon. |
228
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
229
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
230
+ | pt | IconFieldPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
231
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
232
+ | iconPosition | "left" \| "right" | 'left' | Position of the icon. |
225
233
 
226
234
  ## Pass Through Options
227
235
 
@@ -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