@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
@@ -15,10 +15,12 @@ Inputs:
15
15
  - `responsive`: `boolean | undefined`: When enabled orderlist adjusts its controls based on screen size.
16
16
  - `scrollHeight`: `string` = `'14rem'`: Height of the viewport, a scrollbar is defined if height of list exceeds this value.
17
17
  - `source`: `any[]` = `[]` (two-way: `[(${input.name})]`): An array of objects for the source list.
18
+ - `sourceAriaLabel`: `string | undefined`: Defines a string that labels the source list.
18
19
  - `sourceFilterPlaceholder`: `string | undefined`: Placeholder text on source filter input.
19
20
  - `target`: `any[]` = `[]` (two-way: `[(${input.name})]`): An array of objects for the target list.
21
+ - `targetAriaLabel`: `string | undefined`: Defines a string that labels the target list.
20
22
  - `targetFilterPlaceholder`: `string | undefined`: Placeholder text on target filter input.
21
- - Other inputs: `allLeftButtonAriaLabel`, `allRightButtonAriaLabel`, `ariaSourceFilterLabel`, `ariaTargetFilterLabel`, `autoOptionFocus`, `bottomButtonAriaLabel`, `buttonProps`, `dataKey`, `disabled`, `downButtonAriaLabel`, `filterLocale`, `filterMatchMode`, `hostName`, `keepSelection`, `leftButtonAriaLabel`, `metaKeySelection`, `moveAllToSourceProps`, `moveAllToTargetProps`, `moveBottomButtonProps`, `moveDownButtonProps`, `moveTopButtonProps`, `moveToSourceProps`, `moveToTargetProps`, `moveUpButtonProps`, `rightButtonAriaLabel`, `showSourceControls`, `showSourceFilter`, `showTargetControls`, `showTargetFilter`, `sourceAriaLabel`, `sourceHeader`, `sourceOptionDisabled`, `sourceStyle`, `stripedRows`, `style`, `styleClass`, `tabindex`, `targetAriaLabel`, `targetHeader`, `targetOptionDisabled`, `targetStyle`, `topButtonAriaLabel`, `upButtonAriaLabel`.
23
+ - Other inputs: `allLeftButtonAriaLabel`, `allRightButtonAriaLabel`, `ariaSourceFilterLabel`, `ariaTargetFilterLabel`, `autoOptionFocus`, `bottomButtonAriaLabel`, `buttonProps`, `dataKey`, `disabled`, `downButtonAriaLabel`, `filterLocale`, `filterMatchMode`, `hostName`, `keepSelection`, `leftButtonAriaLabel`, `metaKeySelection`, `moveAllToSourceProps`, `moveAllToTargetProps`, `moveBottomButtonProps`, `moveDownButtonProps`, `moveTopButtonProps`, `moveToSourceProps`, `moveToTargetProps`, `moveUpButtonProps`, `rightButtonAriaLabel`, `showSourceControls`, `showSourceFilter`, `showTargetControls`, `showTargetFilter`, `sourceHeader`, `sourceOptionDisabled`, `sourceStyle`, `stripedRows`, `style`, `styleClass`, `tabindex`, `targetHeader`, `targetOptionDisabled`, `targetStyle`, `topButtonAriaLabel`, `upButtonAriaLabel`.
22
24
 
23
25
  Outputs:
24
26
  - `(onBlur)`: `Event`
@@ -65,15 +67,15 @@ Types used in the contexts:
65
67
  ## Example: Basic
66
68
 
67
69
  ```typescript
68
- import { Component, OnInit, inject, signal } from '@angular/core';
70
+ import { Component, inject, OnInit, signal } from '@angular/core';
69
71
  import { PickListModule } from '@exhaustive-ui/core/picklist';
70
- import { ProductService } from '@/service/productservice';
71
72
  import { Product } from '@/domain/product';
73
+ import { ProductService } from '@/service/productservice';
72
74
 
73
75
  @Component({
74
76
  template: `
75
77
  <div class="card">
76
- <p-pick-list [source]="sourceProducts()" [target]="targetProducts()" [dragdrop]="true" [responsive]="true" breakpoint="1400px">
78
+ <p-pick-list [source]="sourceProducts()" [target]="targetProducts()" [dragdrop]="true" [responsive]="true" breakpoint="1400px" sourceAriaLabel="Available products" targetAriaLabel="Selected products">
77
79
  <ng-template let-item #item>
78
80
  {{ item.name }}
79
81
  </ng-template>
@@ -85,8 +87,10 @@ import { Product } from '@/domain/product';
85
87
  providers: [ProductService]
86
88
  })
87
89
  export class PicklistBasicDemo implements OnInit {
88
- private productService = inject(ProductService);
90
+ private carService = inject(ProductService);
91
+
89
92
  sourceProducts = signal<Product[]>([]);
93
+
90
94
  targetProducts = signal<Product[]>([]);
91
95
 
92
96
  ngOnInit() {
@@ -9,9 +9,10 @@ import { Popover } from '@exhaustive-ui/core/popover'; // standalone; or Popover
9
9
  ## `p-popover`: Popover
10
10
 
11
11
  Inputs:
12
+ - `ariaLabel`: `string | undefined`: Defines a string that labels the input for accessibility.
12
13
  - `style`: `{ [klass: string]: any; } | null | undefined`: Inline style of the component.
13
14
  - `styleClass`: `string | undefined`: Style class of the component.
14
- - Other inputs: `appendTo`, `ariaLabel`, `ariaLabelledBy`, `autoZIndex`, `baseZIndex`, `dismissable`, `focusOnShow`, `motionOptions`.
15
+ - Other inputs: `appendTo`, `ariaLabelledBy`, `autoZIndex`, `baseZIndex`, `dismissable`, `focusOnShow`, `motionOptions`.
15
16
 
16
17
  Outputs:
17
18
  - `(onHide)`: `any`
@@ -26,9 +27,8 @@ Read a context with `let-`: `<ng-template #content let-closeCallback="closeCallb
26
27
 
27
28
  ```typescript
28
29
  import { Component } from '@angular/core';
29
- import { ButtonModule } from '@exhaustive-ui/core/button';
30
30
  import { PopoverModule } from '@exhaustive-ui/core/popover';
31
- import { OverlayPanel } from '@exhaustive-ui/core/overlaypanel';
31
+ import { ButtonModule } from '@exhaustive-ui/core/button';
32
32
 
33
33
  @Component({
34
34
  template: `
@@ -42,9 +42,10 @@ import { OverlayPanel } from '@exhaustive-ui/core/overlaypanel';
42
42
  </div>
43
43
  `,
44
44
  standalone: true,
45
- imports: [ButtonModule, PopoverModule]
45
+ imports: [PopoverModule, ButtonModule]
46
46
  })
47
- export class PopoverTemplateDemo {}
47
+ export class PopoverTemplateDemo {
48
+ }
48
49
  ```
49
50
 
50
51
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -11,7 +11,7 @@ import { ProgressBar } from '@exhaustive-ui/core/progressbar'; // standalone; or
11
11
  Inputs:
12
12
  - `mode`: `"determinate" | "indeterminate"` = `'determinate'`: Defines the mode of the…
13
13
  - `value`: `number | undefined`: Current value of the progress.
14
- - Other inputs: `color`, `showValue`, `unit`, `valueStyleClass`.
14
+ - Other inputs: `ariaLabel`, `ariaLabelledBy`, `color`, `showValue`, `unit`, `valueStyleClass`.
15
15
 
16
16
  Templates (`<ng-template #name let-…>` inside the element):
17
17
  - `#content`: context { $implicit: number | undefined }. Template of the content.
@@ -27,13 +27,14 @@ import { ProgressBarModule } from '@exhaustive-ui/core/progressbar';
27
27
  @Component({
28
28
  template: `
29
29
  <div class="card">
30
- <p-progress-bar [value]="50" />
30
+ <p-progress-bar aria-label="Task progress" [value]="50" />
31
31
  </div>
32
32
  `,
33
33
  standalone: true,
34
34
  imports: [ProgressBarModule]
35
35
  })
36
- export class ProgressbarBasicDemo {}
36
+ export class ProgressbarBasicDemo {
37
+ }
37
38
  ```
38
39
 
39
40
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -29,7 +29,8 @@ import { ProgressSpinnerModule } from '@exhaustive-ui/core/progressspinner';
29
29
  standalone: true,
30
30
  imports: [ProgressSpinnerModule]
31
31
  })
32
- export class ProgressspinnerBasicDemo {}
32
+ export class ProgressspinnerBasicDemo {
33
+ }
33
34
  ```
34
35
 
35
36
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -11,6 +11,7 @@ import { RadioButton } from '@exhaustive-ui/core/radiobutton'; // standalone; or
11
11
  Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
12
 
13
13
  Inputs:
14
+ - `ariaLabel`: `string | undefined`: Used to define a string that labels the input element.
14
15
  - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
15
16
  - `inputId`: `string | undefined`: Identifier of the focus input to match a label defined for the component.
16
17
  - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
@@ -18,7 +19,7 @@ Inputs:
18
19
  - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
19
20
  - `value`: `any`: Value of the radiobutton.
20
21
  - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
21
- - Other inputs: `ariaLabel`, `ariaLabelledBy`, `autofocus`, `binary`, `required`, `tabindex`.
22
+ - Other inputs: `ariaLabelledBy`, `autofocus`, `binary`, `required`, `tabindex`.
22
23
 
23
24
  Outputs:
24
25
  - `(onBlur)`: `Event`
@@ -35,11 +36,11 @@ import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
35
36
  @Component({
36
37
  template: `
37
38
  <div class="card flex justify-center">
38
- <p-radio-button [(ngModel)]="value" [invalid]="!value" />
39
+ <p-radio-button [(ngModel)]="value" [invalid]="!value" ariaLabel="Option" />
39
40
  </div>
40
41
  `,
41
42
  standalone: true,
42
- imports: [RadioButtonModule, FormsModule]
43
+ imports: [FormsModule, RadioButtonModule]
43
44
  })
44
45
  export class RadiobuttonInvalidDemo {
45
46
  value: boolean = false;
@@ -44,7 +44,7 @@ import { RatingModule } from '@exhaustive-ui/core/rating';
44
44
  </div>
45
45
  `,
46
46
  standalone: true,
47
- imports: [RatingModule, FormsModule]
47
+ imports: [FormsModule, RatingModule]
48
48
  })
49
49
  export class RatingBasicDemo {
50
50
  value!: number;
@@ -28,7 +28,8 @@ import { RippleModule } from '@exhaustive-ui/core/ripple';
28
28
  standalone: true,
29
29
  imports: [RippleModule]
30
30
  })
31
- export class RippleDefaultDemo {}
31
+ export class RippleDefaultDemo {
32
+ }
32
33
  ```
33
34
 
34
35
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -41,7 +41,8 @@ import { ScrollPanelModule } from '@exhaustive-ui/core/scrollpanel';
41
41
  standalone: true,
42
42
  imports: [ScrollPanelModule]
43
43
  })
44
- export class ScrollpanelBasicDemo {}
44
+ export class ScrollpanelBasicDemo {
45
+ }
45
46
  ```
46
47
 
47
48
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -9,12 +9,13 @@ import { ScrollTop } from '@exhaustive-ui/core/scrolltop'; // standalone; or Scr
9
9
  ## `p-scroll-top` (also `p-scrollTop`, `p-scrolltop`, legacy): ScrollTop
10
10
 
11
11
  Inputs:
12
+ - `buttonAriaLabel`: `string | undefined`: Establishes a string value that labels the scroll-top button.
12
13
  - `buttonProps`: `ButtonProps` = `{ rounded: true }`: Used to pass all properties of the ButtonProps to the Button component.
13
14
  - `icon`: `string | undefined`: Name of the icon or JSX.Element for icon.
14
15
  - `style`: `{ [klass: string]: any; } | null | undefined`: Inline style of the element.
15
16
  - `target`: `"window" | "parent" | undefined` = `'window'`: Target of the ScrollTop.
16
17
  - `threshold`: `number` = `400`: Defines the threshold value of the vertical scroll position of the target to toggle the visibility.
17
- - Other inputs: `behavior`, `buttonAriaLabel`, `motionOptions`, `styleClass`.
18
+ - Other inputs: `behavior`, `motionOptions`, `styleClass`.
18
19
 
19
20
  Templates (`<ng-template #name let-…>` inside the element):
20
21
  - `#icon`: context { styleClass: string }. Custom icon template.
@@ -32,13 +33,14 @@ import { ScrollTopModule } from '@exhaustive-ui/core/scrolltop';
32
33
  <div class="card flex flex-col items-center">
33
34
  <p>Scroll down the page to display the ScrollTo component.</p>
34
35
  <i class="pi pi-angle-down animate-fadeout animate-duration-1000 animate-infinite" style="fontsize: 2rem; margin-bottom: 30rem"></i>
35
- <p-scroll-top />
36
+ <p-scroll-top buttonAriaLabel="Scroll to top" />
36
37
  </div>
37
38
  `,
38
39
  standalone: true,
39
40
  imports: [ScrollTopModule]
40
41
  })
41
- export class ScrolltopBasicDemo {}
42
+ export class ScrolltopBasicDemo {
43
+ }
42
44
  ```
43
45
 
44
46
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -84,10 +84,11 @@ interface City {
84
84
  </div>
85
85
  `,
86
86
  standalone: true,
87
- imports: [SelectModule, FormsModule]
87
+ imports: [FormsModule, SelectModule]
88
88
  })
89
89
  export class SelectBasicDemo implements OnInit {
90
90
  cities: City[];
91
+
91
92
  selectedCity: City | undefined;
92
93
 
93
94
  ngOnInit() {
@@ -47,10 +47,14 @@ import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
47
47
  </div>
48
48
  `,
49
49
  standalone: true,
50
- imports: [SelectButtonModule, FormsModule]
50
+ imports: [FormsModule, SelectButtonModule]
51
51
  })
52
52
  export class SelectbuttonBasicDemo {
53
- stateOptions: any[];
53
+ stateOptions: any[] = [
54
+ { label: 'One-Way', value: 'one-way' },
55
+ { label: 'Return', value: 'return' }
56
+ ];
57
+
54
58
  value: string = 'one-way';
55
59
  }
56
60
  ```
@@ -45,7 +45,8 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
45
45
  standalone: true,
46
46
  imports: [SkeletonModule]
47
47
  })
48
- export class SkeletonCardDemo {}
48
+ export class SkeletonCardDemo {
49
+ }
49
50
  ```
50
51
 
51
52
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -11,6 +11,7 @@ import { Slider } from '@exhaustive-ui/core/slider'; // standalone; or SliderMod
11
11
  Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
12
 
13
13
  Inputs:
14
+ - `ariaLabel`: `string | undefined`: Defines a string that labels the input for accessibility.
14
15
  - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
15
16
  - `max`: `number` = `100`: Maximum boundary value.
16
17
  - `min`: `number` = `0`: Mininum boundary value.
@@ -19,7 +20,7 @@ Inputs:
19
20
  - `range`: `boolean | undefined`: When specified, allows two boundary values to be picked.
20
21
  - `required`: `boolean | undefined`: There must be a value (if set).
21
22
  - `step`: `number | undefined`: Step factor to increment/decrement the value.
22
- - Other inputs: `animate`, `ariaLabel`, `ariaLabelledBy`, `autofocus`, `disabled`, `tabindex`.
23
+ - Other inputs: `animate`, `ariaLabelledBy`, `autofocus`, `disabled`, `tabindex`.
23
24
 
24
25
  Outputs:
25
26
  - `(onChange)`: `SliderChangeEvent`
@@ -35,11 +36,11 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
35
36
  @Component({
36
37
  template: `
37
38
  <div class="card flex justify-center">
38
- <p-slider [(ngModel)]="value" class="w-56" />
39
+ <p-slider [(ngModel)]="value" class="w-56" ariaLabel="Volume" />
39
40
  </div>
40
41
  `,
41
42
  standalone: true,
42
- imports: [SliderModule, FormsModule]
43
+ imports: [FormsModule, SliderModule]
43
44
  })
44
45
  export class SliderBasicDemo {
45
46
  value!: number;
@@ -9,6 +9,7 @@ import { SpeedDial } from '@exhaustive-ui/core/speeddial'; // standalone; or Spe
9
9
  ## `p-speed-dial` (also `p-speeddial`, `p-speedDial`, legacy): SpeedDial
10
10
 
11
11
  Inputs:
12
+ - `ariaLabel`: `string | undefined`: Defines a string value that labels an interactive element.
12
13
  - `buttonProps`: `ButtonProps | undefined`: Used to pass all properties of the ButtonProps to the Button component.
13
14
  - `direction`: `"left" | "right" | "up" | "down" | "up-left" | "up-right" | "down-left" | "down-right" | undefined` = `'up'`: Specifies the opening direction of actions.
14
15
  - `id`: `string | undefined`: List of items id.
@@ -19,7 +20,7 @@ Inputs:
19
20
  - `tooltipOptions`: `TooltipOptions | undefined`: Whether to display the tooltip on items.
20
21
  - `transitionDelay`: `number` = `30`: Transition delay step for each action item.
21
22
  - `type`: `"circle" | "linear" | "semi-circle" | "quarter-circle" | undefined` = `'linear'`: Specifies the opening type of actions.
22
- - Other inputs: `ariaLabel`, `ariaLabelledBy`, `buttonClassName`, `buttonStyle`, `className`, `disabled`, `hideIcon`, `hideOnClickOutside`, `maskClassName`, `maskStyle`, `rotateAnimation`, `showIcon`, `visible`.
23
+ - Other inputs: `ariaLabelledBy`, `buttonClassName`, `buttonStyle`, `className`, `disabled`, `hideIcon`, `hideOnClickOutside`, `maskClassName`, `maskStyle`, `rotateAnimation`, `showIcon`, `visible`.
23
24
 
24
25
  Outputs:
25
26
  - `(onClick)`: `MouseEvent`
@@ -39,25 +40,27 @@ Read a context with `let-`: `<ng-template #button let-toggleCallback="toggleCall
39
40
 
40
41
  ```typescript
41
42
  import { Component, OnInit, inject } from '@angular/core';
43
+ import { RouterModule } from '@angular/router';
44
+ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
42
45
  import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
43
46
  import { ToastModule } from '@exhaustive-ui/core/toast';
44
- import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
45
47
 
46
48
  @Component({
47
49
  template: `
48
50
  <div class="card p-4">
49
51
  <div [style]="{ position: 'relative', height: '350px' }">
50
52
  <p-toast />
51
- <p-speed-dial [model]="items" direction="up" mask [style]="{ position: 'absolute', right: '1rem', bottom: '1rem' }" />
53
+ <p-speed-dial [model]="items" ariaLabel="Actions" direction="up" mask [style]="{ position: 'absolute', right: '1rem', bottom: '1rem' }" />
52
54
  </div>
53
55
  </div>
54
56
  `,
55
57
  standalone: true,
56
- imports: [SpeedDialModule, ToastModule],
58
+ imports: [SpeedDialModule, ToastModule, RouterModule],
57
59
  providers: [MessageService]
58
60
  })
59
61
  export class SpeeddialMaskDemo implements OnInit {
60
62
  private messageService = inject(MessageService);
63
+
61
64
  items: MenuItem[] | undefined;
62
65
 
63
66
  ngOnInit() {
@@ -36,9 +36,10 @@ Templates (`<ng-template #name let-…>` inside the element):
36
36
 
37
37
  ```typescript
38
38
  import { Component, inject } from '@angular/core';
39
+ import { RouterModule } from '@angular/router';
40
+ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
39
41
  import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
40
42
  import { ToastModule } from '@exhaustive-ui/core/toast';
41
- import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
42
43
 
43
44
  @Component({
44
45
  template: `
@@ -48,30 +49,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
48
49
  </div>
49
50
  `,
50
51
  standalone: true,
51
- imports: [SplitButtonModule, ToastModule],
52
+ imports: [SplitButtonModule, ToastModule, RouterModule],
52
53
  providers: [MessageService]
53
54
  })
54
55
  export class SplitbuttonBasicDemo {
55
56
  private messageService = inject(MessageService);
56
57
 
58
+ items: MenuItem[];
59
+
57
60
  constructor() {
58
61
  this.items = [
59
- {
60
- label: 'Update',
61
- command: () => {
62
- this.update();
63
- }
64
- },
65
- {
66
- label: 'Delete',
67
- command: () => {
68
- this.delete();
69
- }
70
- },
71
- { label: 'Angular.dev', url: 'https://angular.dev' },
72
- { separator: true },
73
- { label: 'Upload', routerLink: ['/fileupload'] }
74
- ];
62
+ {
63
+ label: 'Update',
64
+ command: () => {
65
+ this.update();
66
+ }
67
+ },
68
+ {
69
+ label: 'Delete',
70
+ command: () => {
71
+ this.delete();
72
+ }
73
+ },
74
+ { label: 'Angular.dev', url: 'https://angular.dev' },
75
+ { separator: true },
76
+ { label: 'Upload', routerLink: ['/fileupload'] }
77
+ ];
75
78
  }
76
79
 
77
80
  save() {
@@ -43,7 +43,8 @@ import { SplitterModule } from '@exhaustive-ui/core/splitter';
43
43
  standalone: true,
44
44
  imports: [SplitterModule]
45
45
  })
46
- export class SplitterHorizontalDemo {}
46
+ export class SplitterHorizontalDemo {
47
+ }
47
48
  ```
48
49
 
49
50
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -37,6 +37,8 @@ StepItem is a helper component for Stepper component used in vertical orientatio
37
37
 
38
38
  ### `p-step-list`: StepList
39
39
 
40
+ Container of the p-step headers of a stepper.
41
+
40
42
  ### `p-step-panel`: StepPanel
41
43
 
42
44
  StepPanel is a helper component for Stepper component.
@@ -51,6 +53,8 @@ Read a context with `let-`: `<ng-template #content let-activateCallback="activat
51
53
 
52
54
  ### `p-step-panels`: StepPanels
53
55
 
56
+ Container of the p-step-panel elements of a stepper.
57
+
54
58
  ### `p-stepper-separator`: StepperSeparator
55
59
 
56
60
  StepperSeparator is a helper component for Stepper component used in vertical orientation.
@@ -59,8 +63,8 @@ StepperSeparator is a helper component for Stepper component used in vertical or
59
63
 
60
64
  ```typescript
61
65
  import { Component } from '@angular/core';
62
- import { ButtonModule } from '@exhaustive-ui/core/button';
63
66
  import { StepperModule } from '@exhaustive-ui/core/stepper';
67
+ import { ButtonModule } from '@exhaustive-ui/core/button';
64
68
 
65
69
  @Component({
66
70
  template: `
@@ -110,9 +114,10 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
110
114
  </div>
111
115
  `,
112
116
  standalone: true,
113
- imports: [ButtonModule, StepperModule]
117
+ imports: [StepperModule, ButtonModule]
114
118
  })
115
- export class StepperVerticalDemo {}
119
+ export class StepperVerticalDemo {
120
+ }
116
121
  ```
117
122
 
118
123
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -25,6 +25,7 @@ Inputs:
25
25
  import { Component } from '@angular/core';
26
26
  import { ButtonModule } from '@exhaustive-ui/core/button';
27
27
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
28
+ import { StyleClassModule } from '@exhaustive-ui/core/styleclass';
28
29
 
29
30
  @Component({
30
31
  template: `
@@ -34,9 +35,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
34
35
  </div>
35
36
  `,
36
37
  standalone: true,
37
- imports: [ButtonModule, InputTextModule]
38
+ imports: [StyleClassModule, ButtonModule, InputTextModule]
38
39
  })
39
- export class StyleclassToggleclassDemo {}
40
+ export class StyleclassToggleclassDemo {
41
+ }
40
42
  ```
41
43
 
42
44
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
@@ -114,8 +114,12 @@ Read a context with `let-`: `<ng-template #header let-item>` (`$implicit` is the
114
114
 
115
115
  ### `[pCancelEditableRow]`: CancelEditableRow
116
116
 
117
+ Cancels the edit of its row when clicked, with editMode set to row.
118
+
117
119
  ### `p-cell-editor` (also `p-cellEditor`, legacy): CellEditor
118
120
 
121
+ Content of an editable cell: the `#input` template shows while the cell or the row is edited, the `#output` template otherwise.
122
+
119
123
  Templates (`<ng-template #name let-…>` inside the element):
120
124
  - `#input`: no context.
121
125
  - `#output`: no context.
@@ -137,80 +141,110 @@ Templates (`<ng-template #name let-…>` inside the element):
137
141
 
138
142
  Read a context with `let-`: `<ng-template #header let-item>` (`$implicit` is the bare `let-x`).
139
143
 
140
- ### `p-column-filter-form-element` (also `p-columnFilterFormElement`, legacy): ColumnFilterFormElement
141
-
142
- - Inputs: `ariaLabel`, `currency`, `currencyDisplay`, `field`, `filterConstraint`, `filterOn`, `filterTemplate`, `locale`, `localeMatcher`, `maxFractionDigits`, `minFractionDigits`, `placeholder`, `prefix`, `suffix`, `type`, `useGrouping`.
143
-
144
144
  ### `[pContextMenuRow]`: ContextMenuRow
145
145
 
146
+ Opens the context menu of the table when the row is right clicked, and sets the row as contextMenuSelection.
147
+
146
148
  - Inputs: `pContextMenuRow`, `pContextMenuRowDisabled`, `pContextMenuRowIndex`.
147
149
 
148
150
  ### `[pEditableColumn]`: EditableColumn
149
151
 
152
+ Makes a cell editable with editMode set to cell: clicking it shows the `#input` template of its p-cell-editor.
153
+
150
154
  - Inputs: `pEditableColumn`, `pEditableColumnDisabled`, `pEditableColumnField`, `pEditableColumnRowIndex`, `pFocusCellSelector`.
151
155
 
152
156
  ### `[pEditableRow]`: EditableRow
153
157
 
158
+ Marks a row as editable, with editMode set to row.
159
+
154
160
  - Inputs: `pEditableRow`, `pEditableRowDisabled`.
155
161
 
156
162
  ### `[pFrozenColumn]`: FrozenColumn
157
163
 
164
+ Keeps a column in place while the table scrolls horizontally.
165
+
158
166
  - Inputs: `alignFrozen`, `frozen`.
159
167
 
160
168
  ### `[pInitEditableRow]`: InitEditableRow
161
169
 
170
+ Starts the edit of its row when clicked, with editMode set to row.
171
+
162
172
  ### `[pReorderableColumn]`: ReorderableColumn
163
173
 
174
+ Lets a header cell be dragged to reorder the columns, with reorderableColumns enabled on the table.
175
+
164
176
  - Inputs: `pReorderableColumnDisabled`.
165
177
 
166
178
  ### `[pReorderableRow]`: ReorderableRow
167
179
 
180
+ Makes a row a drop target when reordering rows.
181
+
168
182
  - Inputs: `pReorderableRow`, `pReorderableRowDisabled`.
169
183
 
170
184
  ### `[pReorderableRowHandle]`: ReorderableRowHandle
171
185
 
186
+ Handle that starts dragging its row, inside a row with pReorderableRow.
187
+
172
188
  ### `[pResizableColumn]`: ResizableColumn
173
189
 
190
+ Adds a resizer to a header cell, with resizableColumns enabled on the table.
191
+
174
192
  - Inputs: `pResizableColumnDisabled`.
175
193
 
176
194
  ### `[pRowGroupHeader]`: RowGroupHeader
177
195
 
196
+ Styles a row as a row group header, with rowGroupMode set to subheader, and keeps it in place while scrolling.
197
+
178
198
  ### `[pRowToggler]`: RowToggler
179
199
 
200
+ Expands or collapses its row when clicked.
201
+
180
202
  - Inputs: `pRowToggler`, `pRowTogglerDisabled`.
181
203
 
182
204
  ### `[pSaveEditableRow]`: SaveEditableRow
183
205
 
206
+ Saves the edit of its row when clicked, with editMode set to row.
207
+
184
208
  ### `[pSelectableRow]`: SelectableRow
185
209
 
210
+ Selects its row when clicked or activated with the keyboard, according to the selectionMode of the table.
211
+
186
212
  - Inputs: `pSelectableRow`, `pSelectableRowDisabled`, `pSelectableRowIndex`.
187
213
 
188
214
  ### `[pSelectableRowDblClick]`: SelectableRowDblClick
189
215
 
216
+ Selects its row when double clicked.
217
+
190
218
  - Inputs: `pSelectableRowDblClick`, `pSelectableRowDisabled`, `pSelectableRowIndex`.
191
219
 
192
220
  ### `p-sort-icon` (also `p-sortIcon`, legacy): SortIcon
193
221
 
222
+ Shows the sort state of a column.
223
+
194
224
  - Inputs: `field`.
195
225
 
196
226
  ### `[pSortableColumn]`: SortableColumn
197
227
 
198
- - Inputs: `pSortableColumn`, `pSortableColumnDisabled`.
199
-
200
- ### `[pTableBody]`: TableBody
228
+ Sorts the table by a field when the header cell is clicked or activated with the keyboard: `[pSortableColumn]="'name'"`.
201
229
 
202
- - Inputs: `frozen`, `frozenRows`, `pTableBody`, `pTableBodyTemplate`, `scrollerOptions`, `value`.
230
+ - Inputs: `pSortableColumn`, `pSortableColumnDisabled`.
203
231
 
204
232
  ### `p-table-checkbox` (also `p-tableCheckbox`, legacy): TableCheckbox
205
233
 
234
+ Checkbox that selects its row, for multiple selection.
235
+
206
236
  - Inputs: `ariaLabel`, `disabled`, `index`, `inputId`, `name`, `required`, `value`.
207
237
 
208
238
  ### `p-table-header-checkbox` (also `p-tableHeaderCheckbox`, legacy): TableHeaderCheckbox
209
239
 
240
+ Checkbox in the header that selects or unselects all the rows.
241
+
210
242
  - Inputs: `ariaLabel`, `disabled`, `inputId`, `name`.
211
243
 
212
244
  ### `p-table-radio-button` (also `p-tableRadioButton`, legacy): TableRadioButton
213
245
 
246
+ Radio button that selects its row, for single selection.
247
+
214
248
  - Inputs: `ariaLabel`, `disabled`, `index`, `inputId`, `name`, `value`.
215
249
 
216
250
  Types used in the contexts:
@@ -221,10 +255,10 @@ Types used in the contexts:
221
255
  ## Example: Basic
222
256
 
223
257
  ```typescript
224
- import { Component, OnInit, inject } from '@angular/core';
225
- import { Table, TableModule } from '@exhaustive-ui/core/table';
226
- import { ProductService } from '@/service/productservice';
258
+ import { Component, inject, OnInit } from '@angular/core';
259
+ import { TableModule } from '@exhaustive-ui/core/table';
227
260
  import { Product } from '@/domain/product';
261
+ import { ProductService } from '@/service/productservice';
228
262
 
229
263
  @Component({
230
264
  template: `
@@ -255,6 +289,7 @@ import { Product } from '@/domain/product';
255
289
  })
256
290
  export class TableBasicDemo implements OnInit {
257
291
  private productService = inject(ProductService);
292
+
258
293
  products!: Product[];
259
294
 
260
295
  ngOnInit() {
@@ -88,7 +88,8 @@ import { TabsModule } from '@exhaustive-ui/core/tabs';
88
88
  standalone: true,
89
89
  imports: [TabsModule]
90
90
  })
91
- export class TabsBasicDemo {}
91
+ export class TabsBasicDemo {
92
+ }
92
93
  ```
93
94
 
94
95
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
package/data/cards/tag.md CHANGED
@@ -32,7 +32,8 @@ import { TagModule } from '@exhaustive-ui/core/tag';
32
32
  standalone: true,
33
33
  imports: [TagModule]
34
34
  })
35
- export class TagBasicDemo {}
35
+ export class TagBasicDemo {
36
+ }
36
37
  ```
37
38
 
38
39
  Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.