@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
@@ -4,7 +4,7 @@ SelectButton is used to choose single or multiple items from a list using button
4
4
 
5
5
  ## Accessibility
6
6
 
7
- Screen Reader The container element that wraps the buttons has a group role whereas each button element uses button role and aria-pressed is updated depending on selection state. Value to describe an option is automatically set using the ariaLabel property that refers to the label of an option so it is still suggested to define a label even the option display consists of presentational content like icons only.
7
+ Screen Reader The container element that wraps the buttons has a group role whereas each button element uses button role and aria-pressed is updated depending on selection state. Value to describe an option is automatically set as its aria-label from the label of the option resolved with optionLabel so it is still suggested to define a label even the option display consists of presentational content like icons only.
8
8
 
9
9
  ## Basic
10
10
 
@@ -22,10 +22,14 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
22
22
  </div>
23
23
  `,
24
24
  standalone: true,
25
- imports: [SelectButtonModule, FormsModule]
25
+ imports: [FormsModule, SelectButtonModule]
26
26
  })
27
27
  export class SelectbuttonBasicDemo {
28
- stateOptions: any[];
28
+ stateOptions: any[] = [
29
+ { label: 'One-Way', value: 'one-way' },
30
+ { label: 'Return', value: 'return' }
31
+ ];
32
+
29
33
  value: string = 'one-way';
30
34
  }
31
35
  ```
@@ -47,12 +51,21 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
47
51
  </div>
48
52
  `,
49
53
  standalone: true,
50
- imports: [SelectButtonModule, FormsModule]
54
+ imports: [FormsModule, SelectButtonModule]
51
55
  })
52
56
  export class SelectbuttonDisabledDemo {
53
- stateOptions: any[];
54
- stateOptions2: any[];
57
+ stateOptions: any[] = [
58
+ { label: 'Off', value: 'off' },
59
+ { label: 'On', value: 'on' }
60
+ ];
61
+
62
+ stateOptions2: any[] = [
63
+ { label: 'Option 1', value: 'Option 1' },
64
+ { label: 'Option 2', value: 'Option 2', constant: true }
65
+ ];
66
+
55
67
  value1: string = 'off';
68
+
56
69
  value2: string = 'Option 1';
57
70
  }
58
71
  ```
@@ -73,10 +86,14 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
73
86
  </div>
74
87
  `,
75
88
  standalone: true,
76
- imports: [SelectButtonModule, FormsModule]
89
+ imports: [FormsModule, SelectButtonModule]
77
90
  })
78
91
  export class SelectbuttonFluidDemo {
79
- stateOptions: any[];
92
+ stateOptions: any[] = [
93
+ { label: 'One-Way', value: 'one-way' },
94
+ { label: 'Return', value: 'return' }
95
+ ];
96
+
80
97
  value: string = 'one-way';
81
98
  }
82
99
  ```
@@ -97,10 +114,14 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
97
114
  </div>
98
115
  `,
99
116
  standalone: true,
100
- imports: [SelectButtonModule, FormsModule]
117
+ imports: [FormsModule, SelectButtonModule]
101
118
  })
102
119
  export class SelectbuttonInvalidDemo {
103
- stateOptions: any[];
120
+ stateOptions: any[] = [
121
+ { label: 'One-Way', value: 'one-way' },
122
+ { label: 'Return', value: 'return' }
123
+ ];
124
+
104
125
  value: string | undefined;
105
126
  }
106
127
  ```
@@ -121,10 +142,15 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
121
142
  </div>
122
143
  `,
123
144
  standalone: true,
124
- imports: [SelectButtonModule, FormsModule]
145
+ imports: [FormsModule, SelectButtonModule]
125
146
  })
126
147
  export class SelectbuttonMultipleDemo {
127
- paymentOptions: any[];
148
+ paymentOptions: any[] = [
149
+ { name: 'Option 1', value: 1 },
150
+ { name: 'Option 2', value: 2 },
151
+ { name: 'Option 3', value: 3 }
152
+ ];
153
+
128
154
  value!: number;
129
155
  }
130
156
  ```
@@ -135,12 +161,13 @@ SelectButton can also be used with reactive forms. In this case, the formControl
135
161
 
136
162
  ```typescript
137
163
  import { Component, inject } from '@angular/core';
138
- import { ReactiveFormsModule } from '@angular/forms';
139
- import { MessageModule } from '@exhaustive-ui/core/message';
164
+ import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
165
+ import { CommonModule } from '@angular/common';
166
+ import { MessageService } from '@exhaustive-ui/core/api';
140
167
  import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
141
168
  import { ToastModule } from '@exhaustive-ui/core/toast';
142
169
  import { ButtonModule } from '@exhaustive-ui/core/button';
143
- import { MessageService } from '@exhaustive-ui/core/api';
170
+ import { MessageModule } from '@exhaustive-ui/core/message';
144
171
 
145
172
  @Component({
146
173
  template: `
@@ -158,18 +185,27 @@ import { MessageService } from '@exhaustive-ui/core/api';
158
185
  </div>
159
186
  `,
160
187
  standalone: true,
161
- imports: [MessageModule, SelectButtonModule, ToastModule, ButtonModule, ReactiveFormsModule]
188
+ imports: [ReactiveFormsModule, SelectButtonModule, ToastModule, ButtonModule, MessageModule, CommonModule],
189
+ providers: [MessageService]
162
190
  })
163
191
  export class SelectbuttonReactiveformsDemo {
192
+ private fb = inject(FormBuilder);
193
+
164
194
  messageService = inject(MessageService);
195
+
165
196
  exampleForm: FormGroup | undefined;
197
+
166
198
  formSubmitted: boolean = false;
167
- stateOptions: any[];
199
+
200
+ stateOptions: any[] = [
201
+ { label: 'One-Way', value: 'one-way' },
202
+ { label: 'Return', value: 'return' }
203
+ ];
168
204
 
169
205
  constructor() {
170
206
  this.exampleForm = this.fb.group({
171
- value: ['', Validators.required]
172
- });
207
+ value: ['', Validators.required]
208
+ });
173
209
  }
174
210
 
175
211
  onSubmit() {
@@ -195,11 +231,11 @@ SelectButton can also be used with Angular Signal Forms , the @angular/forms/sig
195
231
  ```typescript
196
232
  import { Component, inject, signal } from '@angular/core';
197
233
  import { form, FormField, required, submit } from '@angular/forms/signals';
198
- import { MessageModule } from '@exhaustive-ui/core/message';
234
+ import { MessageService } from '@exhaustive-ui/core/api';
199
235
  import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
200
- import { ToastModule } from '@exhaustive-ui/core/toast';
201
236
  import { ButtonModule } from '@exhaustive-ui/core/button';
202
- import { MessageService } from '@exhaustive-ui/core/api';
237
+ import { ToastModule } from '@exhaustive-ui/core/toast';
238
+ import { MessageModule } from '@exhaustive-ui/core/message';
203
239
 
204
240
  @Component({
205
241
  template: `
@@ -218,12 +254,19 @@ import { MessageService } from '@exhaustive-ui/core/api';
218
254
  </div>
219
255
  `,
220
256
  standalone: true,
221
- imports: [MessageModule, SelectButtonModule, ToastModule, ButtonModule, FormField]
257
+ imports: [FormField, SelectButtonModule, ButtonModule, ToastModule, MessageModule],
258
+ providers: [MessageService]
222
259
  })
223
260
  export class SelectbuttonSignalformsDemo {
224
261
  messageService = inject(MessageService);
225
- stateOptions: any[];
262
+
263
+ stateOptions: any[] = [
264
+ { label: 'One-Way', value: 'one-way' },
265
+ { label: 'Return', value: 'return' }
266
+ ];
267
+
226
268
  model = signal({ value: '' });
269
+
227
270
  exampleForm = form(this.model, (f) => {
228
271
  required(f.value);
229
272
  });
@@ -245,7 +288,7 @@ SelectButton provides small and large sizes as alternatives to the base.
245
288
  ```typescript
246
289
  import { Component } from '@angular/core';
247
290
  import { FormsModule } from '@angular/forms';
248
- import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
291
+ import { SelectButton } from '@exhaustive-ui/core/selectbutton';
249
292
 
250
293
  @Component({
251
294
  template: `
@@ -256,13 +299,19 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
256
299
  </div>
257
300
  `,
258
301
  standalone: true,
259
- imports: [SelectButtonModule, FormsModule]
302
+ imports: [FormsModule, SelectButton]
260
303
  })
261
304
  export class SelectbuttonSizesDemo {
262
305
  value1!: string;
306
+
263
307
  value2: string = 'Beginner';
308
+
264
309
  value3: string = 'Expert';
265
- options: any[];
310
+
311
+ options: any[] = [
312
+ { label: 'Beginner', value: 'Beginner' },
313
+ { label: 'Expert', value: 'Expert' }
314
+ ];
266
315
  }
267
316
  ```
268
317
 
@@ -273,7 +322,7 @@ For custom content support define a template named item where the default local
273
322
  ```typescript
274
323
  import { Component } from '@angular/core';
275
324
  import { FormsModule } from '@angular/forms';
276
- import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
325
+ import { SelectButton } from '@exhaustive-ui/core/selectbutton';
277
326
 
278
327
  @Component({
279
328
  template: `
@@ -286,11 +335,17 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
286
335
  </div>
287
336
  `,
288
337
  standalone: true,
289
- imports: [SelectButtonModule, FormsModule]
338
+ imports: [FormsModule, SelectButton]
290
339
  })
291
340
  export class SelectbuttonTemplateDemo {
292
341
  value: any;
293
- justifyOptions: any[];
342
+
343
+ justifyOptions: any[] = [
344
+ { icon: 'pi pi-align-left', justify: 'Left' },
345
+ { icon: 'pi pi-align-right', justify: 'Right' },
346
+ { icon: 'pi pi-align-center', justify: 'Center' },
347
+ { icon: 'pi pi-align-justify', justify: 'Justify' }
348
+ ];
294
349
  }
295
350
  ```
296
351
 
@@ -299,11 +354,12 @@ export class SelectbuttonTemplateDemo {
299
354
  ```typescript
300
355
  import { Component, inject } from '@angular/core';
301
356
  import { FormsModule } from '@angular/forms';
302
- import { MessageModule } from '@exhaustive-ui/core/message';
303
- import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
357
+ import { CommonModule } from '@angular/common';
358
+ import { MessageService } from '@exhaustive-ui/core/api';
359
+ import { SelectButton } from '@exhaustive-ui/core/selectbutton';
304
360
  import { ToastModule } from '@exhaustive-ui/core/toast';
305
361
  import { ButtonModule } from '@exhaustive-ui/core/button';
306
- import { MessageService } from '@exhaustive-ui/core/api';
362
+ import { MessageModule } from '@exhaustive-ui/core/message';
307
363
 
308
364
  @Component({
309
365
  template: `
@@ -321,12 +377,18 @@ import { MessageService } from '@exhaustive-ui/core/api';
321
377
  </div>
322
378
  `,
323
379
  standalone: true,
324
- imports: [MessageModule, SelectButtonModule, ToastModule, ButtonModule, FormsModule]
380
+ imports: [FormsModule, SelectButton, ToastModule, ButtonModule, MessageModule, CommonModule],
381
+ providers: [MessageService]
325
382
  })
326
383
  export class SelectbuttonTemplatedrivenformsDemo {
327
384
  messageService = inject(MessageService);
385
+
328
386
  value: any;
329
- stateOptions: any[];
387
+
388
+ stateOptions: any[] = [
389
+ { label: 'One-Way', value: 'one-way' },
390
+ { label: 'Return', value: 'return' }
391
+ ];
330
392
 
331
393
  onSubmit(form: any) {
332
394
  if (form.valid) {
@@ -345,27 +407,27 @@ SelectButton is used to choose single or multiple items from a list using button
345
407
 
346
408
  | Name | Type | Default | Description |
347
409
  |------|------|---------|-------------|
348
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
349
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
350
- | pt | InputSignal<SelectButtonPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
351
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
352
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
353
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
354
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
355
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
356
- | options | InputSignal<any[]> | ... | An array of selectitems to display as the available options. |
357
- | optionLabel | InputSignal<string> | ... | Name of the label field of an option. |
358
- | optionValue | InputSignal<string> | ... | Name of the value field of an option. |
359
- | optionDisabled | InputSignal<string> | ... | Name of the disabled field of an option. |
360
- | unselectable | InputSignalWithTransform<boolean, unknown> | ... | Whether selection can be cleared. |
361
- | multiple | InputSignalWithTransform<boolean, unknown> | ... | When specified, allows selecting multiple values. |
362
- | allowEmpty | InputSignalWithTransform<boolean, unknown> | ... | Whether selection can not be cleared. |
363
- | styleClass | InputSignal<string> | ... | Style class of the component. |
364
- | ariaLabelledBy | InputSignal<string> | ... | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
365
- | dataKey | InputSignal<string> | ... | A property to uniquely identify a value in options. |
366
- | autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should automatically get focus on load. |
367
- | size | InputSignal<"small" \| "large"> | undefined | Specifies the size of the component. |
368
- | fluid | InputSignalWithTransform<boolean, unknown> | undefined | Spans 100% width of the container when enabled. |
410
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
411
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
412
+ | pt | SelectButtonPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
413
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
414
+ | required | boolean | false | There must be a value (if set). |
415
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
416
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
417
+ | name | string | undefined | When present, it specifies that the name of the input. |
418
+ | options | any[] | - | An array of selectitems to display as the available options. |
419
+ | optionLabel | string | - | Name of the label field of an option. |
420
+ | optionValue | string | - | Name of the value field of an option. |
421
+ | optionDisabled | string | - | Name of the disabled field of an option. |
422
+ | unselectable | boolean | false | Whether selection can be cleared. |
423
+ | multiple | boolean | - | When specified, allows selecting multiple values. |
424
+ | allowEmpty | boolean | true | Whether selection can not be cleared. |
425
+ | styleClass | string | - | Style class of the component. |
426
+ | ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
427
+ | dataKey | string | - | A property to uniquely identify a value in options. |
428
+ | autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
429
+ | size | "small" \| "large" | undefined | Specifies the size of the component. |
430
+ | fluid | boolean | undefined | Spans 100% width of the container when enabled. |
369
431
 
370
432
  ### Emits
371
433
 
@@ -37,7 +37,8 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
37
37
  standalone: true,
38
38
  imports: [SkeletonModule]
39
39
  })
40
- export class SkeletonCardDemo {}
40
+ export class SkeletonCardDemo {
41
+ }
41
42
  ```
42
43
 
43
44
  ## DataTable
@@ -46,6 +47,7 @@ Sample DataTable implementation using different Skeleton components and Tailwind
46
47
 
47
48
  ```typescript
48
49
  import { Component, OnInit } from '@angular/core';
50
+ import { CommonModule } from '@angular/common';
49
51
  import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
50
52
  import { TableModule } from '@exhaustive-ui/core/table';
51
53
 
@@ -73,7 +75,7 @@ import { TableModule } from '@exhaustive-ui/core/table';
73
75
  </div>
74
76
  `,
75
77
  standalone: true,
76
- imports: [SkeletonModule, TableModule]
78
+ imports: [SkeletonModule, TableModule, CommonModule]
77
79
  })
78
80
  export class SkeletonDatatableDemo implements OnInit {
79
81
  products: any[] | undefined;
@@ -140,7 +142,8 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
140
142
  standalone: true,
141
143
  imports: [SkeletonModule]
142
144
  })
143
- export class SkeletonListDemo {}
145
+ export class SkeletonListDemo {
146
+ }
144
147
  ```
145
148
 
146
149
  ## Shapes
@@ -156,7 +159,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
156
159
  <div class="card">
157
160
  <div class="flex flex-wrap">
158
161
  <div class="w-full xl:w-6/12 p-4">
159
- <h5>Rectangle</h5>
162
+ <div class="font-semibold mb-4">Rectangle</div>
160
163
  <p-skeleton class="mb-2" />
161
164
  <p-skeleton width="10rem" class="mb-2" />
162
165
  <p-skeleton width="5rem" class="mb-2" />
@@ -164,7 +167,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
164
167
  <p-skeleton width="10rem" height="4rem" />
165
168
  </div>
166
169
  <div class="w-full xl:w-6/12 p-4">
167
- <h5>Rounded</h5>
170
+ <div class="font-semibold mb-4">Rounded</div>
168
171
  <p-skeleton class="mb-2" borderRadius="16px" />
169
172
  <p-skeleton width="10rem" class="mb-2" borderRadius="16px" />
170
173
  <p-skeleton width="5rem" class="mb-2" borderRadius="16px" />
@@ -172,7 +175,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
172
175
  <p-skeleton width="10rem" height="4rem" borderRadius="16px" />
173
176
  </div>
174
177
  <div class="w-full xl:w-6/12 p-4">
175
- <h5 class="mt-4">Square</h5>
178
+ <div class="font-semibold mt-4 mb-4">Square</div>
176
179
  <div class="flex items-end">
177
180
  <p-skeleton size="2rem" class="mr-2" />
178
181
  <p-skeleton size="3rem" class="mr-2" />
@@ -181,7 +184,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
181
184
  </div>
182
185
  </div>
183
186
  <div class="field w-full xl:w-6/12 p-4">
184
- <h5 class="mt-4">Circle</h5>
187
+ <div class="font-semibold mt-4 mb-4">Circle</div>
185
188
  <div class="flex items-end">
186
189
  <p-skeleton shape="circle" size="2rem" class="mr-2" />
187
190
  <p-skeleton shape="circle" size="3rem" class="mr-2" />
@@ -195,7 +198,8 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
195
198
  standalone: true,
196
199
  imports: [SkeletonModule]
197
200
  })
198
- export class SkeletonShapesDemo {}
201
+ export class SkeletonShapesDemo {
202
+ }
199
203
  ```
200
204
 
201
205
  ## Skeleton
@@ -206,16 +210,16 @@ Skeleton is a placeholder to display instead of the actual content.
206
210
 
207
211
  | Name | Type | Default | Description |
208
212
  |------|------|---------|-------------|
209
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
210
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
211
- | pt | InputSignal<SkeletonPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
212
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
213
- | shape | InputSignal<string> | ... | Shape of the element. |
214
- | animation | InputSignal<string> | ... | Type of the animation. |
215
- | borderRadius | InputSignal<string> | ... | Border radius of the element, defaults to value from theme. |
216
- | size | InputSignal<string> | ... | Size of the skeleton. |
217
- | width | InputSignal<string> | ... | Width of the element. |
218
- | height | InputSignal<string> | ... | Height of the element. |
213
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
214
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
215
+ | pt | SkeletonPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
216
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
217
+ | shape | string | 'rectangle' | Shape of the element. |
218
+ | animation | string | 'wave' | Type of the animation. |
219
+ | borderRadius | string | - | Border radius of the element, defaults to value from theme. |
220
+ | size | string | - | Size of the skeleton. |
221
+ | width | string | '100%' | Width of the element. |
222
+ | height | string | '1rem' | Height of the element. |
219
223
 
220
224
  ## Pass Through Options
221
225