@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
@@ -0,0 +1,93 @@
1
+ # Tree
2
+
3
+ Tree is used to display hierarchical data.
4
+
5
+ ```typescript
6
+ import { Tree } from '@exhaustive-ui/core/tree'; // standalone; or TreeModule for all its parts
7
+ ```
8
+
9
+ ## `p-tree`: Tree
10
+
11
+ Inputs:
12
+ - `contextMenu`: `any`: Context menu instance.
13
+ - `contextMenuSelection`: `TreeNode<any> | null` (two-way: `[(${input.name})]`): Selected node with a context menu.
14
+ - `contextMenuSelectionMode`: `"separate" | "joint"` = `'joint'`: Defines the behavior of context menu selection, in "separate" mode context menu updates contextMenuSelection property whereas in joint mode selection property is used instead so that when row selection is enabled, both row selection and context menu selection use the same property.
15
+ - `filter`: `boolean | undefined`: When specified, displays an input field to filter the items.
16
+ - `filterMode`: `string` = `'lenient'`: Mode for filtering valid values are "lenient" and "strict".
17
+ - `filterPlaceholder`: `string | undefined`: Placeholder text to show when filter input is empty.
18
+ - `lazy`: `boolean` = `false`: Defines if data is loaded and interacted with in lazy manner.
19
+ - `loading`: `boolean | undefined`: Displays a loader to indicate data load is in progress.
20
+ - `loadingMode`: `"icon" | "mask"` = `'mask'`: Loading mode display.
21
+ - `metaKeySelection`: `boolean` = `false`: Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.
22
+ - `scrollHeight`: `string | undefined`: Height of the scrollable viewport.
23
+ - `selection`: `TreeNode<any> | TreeNode<any>[] | null | undefined` (two-way: `[(${input.name})]`): A single treenode instance or an array to refer to the selections.
24
+ - `selectionMode`: `"single" | "multiple" | "checkbox" | null | undefined`: Defines the selection mode.
25
+ - `value`: `any` (two-way: `[(${input.name})]`): An array of treenodes.
26
+ - `virtualScroll`: `boolean | undefined`: Whether the data should be loaded on demand during scroll.
27
+ - `virtualScrollItemSize`: `number | undefined`: Height of an item in the list for VirtualScrolling.
28
+ - Other inputs: `_templateMap`, `ariaLabel`, `ariaLabelledBy`, `draggableNodes`, `draggableScope`, `droppableNodes`, `droppableScope`, `emptyMessage`, `filterBy`, `filteredNodes`, `filterInputAutoFocus`, `filterLocale`, `filterOptions`, `highlightOnSelect`, `indentation`, `loadingIcon`, `propagateSelectionDown`, `propagateSelectionUp`, `togglerAriaLabel`, `trackBy`, `validateDrop`, `virtualScrollOptions`.
29
+
30
+ Outputs:
31
+ - `(contextMenuSelectionChange)`: `TreeNode<any> | null`
32
+ - `(filteredNodesChange)`: `TreeNode<any>[] | null | undefined`
33
+ - `(onFilter)`: `TreeFilterEvent`
34
+ - `(onLazyLoad)`: `TreeLazyLoadEvent`
35
+ - `(onNodeCollapse)`: `TreeNodeCollapseEvent`
36
+ - `(onNodeContextMenuSelect)`: `TreeNodeContextMenuSelectEvent`
37
+ - `(onNodeDoubleClick)`: `TreeNodeDoubleClickEvent`
38
+ - `(onNodeDrop)`: `TreeNodeDropEvent`
39
+ - `(onNodeExpand)`: `TreeNodeExpandEvent`
40
+ - `(onNodeSelect)`: `TreeNodeSelectEvent`
41
+ - `(onNodeUnselect)`: `TreeNodeUnSelectEvent`
42
+ - `(onScroll)`: `TreeScrollEvent`
43
+ - `(onScrollIndexChange)`: `TreeScrollIndexChangeEvent`
44
+ - `(selectionChange)`: `TreeNode<any> | TreeNode<any>[] | null | undefined`
45
+ - `(valueChange)`: `any`
46
+
47
+ Templates (`<ng-template #name let-…>` inside the element):
48
+ - `#filter`: context { $implicit: { filter: (value: string) => void; reset: () => void; } }. Custom filter template.
49
+ - `#header`: no context. Custom header template.
50
+ - `#footer`: no context. Custom footer template.
51
+ - `#loader`: context { options: ScrollerOptions }. Custom loader template.
52
+ - `#empty`: no context. Custom empty message template.
53
+ - `#togglericon`: context { $implicit: boolean, loading: boolean }. Custom toggler icon template.
54
+ - `#checkboxicon`: context { $implicit: boolean, partialSelected: boolean, class: string }. Custom checkbox icon template.
55
+ - `#loadingicon`: no context. Custom loading icon template.
56
+ - `#filtericon`: no context. Custom filter icon template.
57
+
58
+ Read a context with `let-`: `<ng-template #filter let-item>` (`$implicit` is the bare `let-x`).
59
+
60
+ ## Example: Basic
61
+
62
+ ```typescript
63
+ import { Component, OnInit, signal, inject } from '@angular/core';
64
+ import { TreeNode } from '@exhaustive-ui/core/api';
65
+ import { TreeModule } from '@exhaustive-ui/core/tree';
66
+ import { NodeService } from '@/service/nodeservice';
67
+
68
+ @Component({
69
+ template: `
70
+ <div class="card">
71
+ <p-tree [value]="files()" class="w-full md:w-120" />
72
+ </div>
73
+ `,
74
+ standalone: true,
75
+ imports: [TreeModule],
76
+ providers: [NodeService]
77
+ })
78
+ export class TreeBasicDemo implements OnInit {
79
+ private nodeService = inject(NodeService);
80
+
81
+ files = signal<TreeNode[]>(undefined);
82
+
83
+ ngOnInit() {
84
+ this.nodeService.getFiles().then((data) => {
85
+ this.files.set(data);
86
+ });
87
+ }
88
+ }
89
+ ```
90
+
91
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
92
+
93
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/tree.md
@@ -0,0 +1,98 @@
1
+ # TreeSelect
2
+
3
+ TreeSelect is a form component to choose from hierarchical data.
4
+
5
+ ```typescript
6
+ import { TreeSelect } from '@exhaustive-ui/core/treeselect'; // standalone; or TreeSelectModule for all its parts
7
+ ```
8
+
9
+ ## `p-tree-select` (also `p-treeSelect`, `p-treeselect`, legacy): TreeSelect
10
+
11
+ Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
+
13
+ Inputs:
14
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
15
+ - `display`: `"chip" | "comma"` = `'comma'`: Defines how the selected items are displayed.
16
+ - `filter`: `boolean` = `false`: When specified, displays an input field to filter the items.
17
+ - `filterInputAutoFocus`: `boolean` = `true`: Determines whether the filter input should be automatically focused when the component is rendered.
18
+ - `fluid`: `boolean | undefined`: Spans 100% width of the container when enabled.
19
+ - `inputId`: `string | undefined`: Identifier of the underlying input element.
20
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
21
+ - `loading`: `boolean | undefined`: Displays a loader to indicate data load is in progress.
22
+ - `loadingMode`: `"icon" | "mask"` = `'mask'`: Loading mode display.
23
+ - `metaKeySelection`: `boolean` = `false`: Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.
24
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
25
+ - `options`: `TreeNode<any>[] | undefined`: An array of treenodes.
26
+ - `placeholder`: `string | undefined`: Label to display when there are no selections.
27
+ - `required`: `boolean | undefined`: There must be a value (if set).
28
+ - `selectionMode`: `"single" | "multiple" | "checkbox"` = `'single'`: Defines the selection mode.
29
+ - `showClear`: `boolean` = `false`: When enabled, a clear icon is displayed to clear the value.
30
+ - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
31
+ - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
32
+ - `virtualScroll`: `boolean | undefined`: Whether the data should be loaded on demand during scroll.
33
+ - `virtualScrollItemSize`: `number | undefined`: Height of an item in the list for VirtualScrolling.
34
+ - `virtualScrollOptions`: `ScrollerOptions | undefined`: Whether to use the scroller feature.
35
+ - Other inputs: `appendTo`, `ariaLabel`, `ariaLabelledBy`, `autofocus`, `emptyMessage`, `filterBy`, `filterLocale`, `filterMode`, `filterPlaceholder`, `labelStyle`, `labelStyleClass`, `motionOptions`, `overlayOptions`, `panelClass`, `panelStyle`, `panelStyleClass`, `propagateSelectionDown`, `propagateSelectionUp`, `resetFilterOnHide`, `scrollHeight`, `tabindex`, `togglerAriaLabel`.
36
+
37
+ Outputs:
38
+ - `(onBlur)`: `Event`
39
+ - `(onClear)`: `any`
40
+ - `(onFilter)`: `TreeFilterEvent`
41
+ - `(onFocus)`: `Event`
42
+ - `(onHide)`: `Event`
43
+ - `(onNodeCollapse)`: `TreeSelectNodeCollapseEvent`
44
+ - `(onNodeExpand)`: `TreeSelectNodeExpandEvent`
45
+ - `(onNodeSelect)`: `TreeNodeSelectEvent`
46
+ - `(onNodeUnselect)`: `TreeNodeUnSelectEvent`
47
+ - `(onShow)`: `any`
48
+
49
+ Templates (`<ng-template #name let-…>` inside the element):
50
+ - `#value`: context { $implicit: any, placeholder: string | undefined }. Custom value template.
51
+ - `#header`: context { $implicit: any, options: TreeNode<any>[] | undefined }. Custom header template.
52
+ - `#empty`: no context. Custom empty message template.
53
+ - `#footer`: context { $implicit: any, options: TreeNode<any>[] | undefined }. Custom footer template.
54
+ - `#clearicon`: no context. Custom clear icon template.
55
+ - `#triggericon`: no context. Custom trigger icon template.
56
+ - `#dropdownicon`: no context. Custom dropdown icon template.
57
+ - `#filtericon`: no context. Custom filter icon template.
58
+ - `#itemtogglericon`: context { $implicit: boolean }. Custom item toggler icon template.
59
+ - `#itemcheckboxicon`: context { $implicit: boolean, partialSelected: boolean }. Custom item checkbox icon template.
60
+ - `#itemloadingicon`: no context. Custom item loading icon template.
61
+
62
+ Read a context with `let-`: `<ng-template #value let-item let-placeholder="placeholder">` (`$implicit` is the bare `let-x`).
63
+
64
+ ## Example: Basic
65
+
66
+ ```typescript
67
+ import { Component, inject } from '@angular/core';
68
+ import { FormsModule } from '@angular/forms';
69
+ import { RouterModule } from '@angular/router';
70
+ import { TreeSelectModule } from '@exhaustive-ui/core/treeselect';
71
+ import { NodeService } from '@/service/nodeservice';
72
+
73
+ @Component({
74
+ template: `
75
+ <div class="card flex justify-center">
76
+ <p-tree-select class="md:w-80 w-full" [(ngModel)]="selectedNodes" [options]="nodes" placeholder="Select Item" />
77
+ </div>
78
+ `,
79
+ standalone: true,
80
+ imports: [TreeSelectModule, FormsModule, RouterModule],
81
+ providers: [NodeService]
82
+ })
83
+ export class TreeselectBasicDemo {
84
+ private nodeService = inject(NodeService);
85
+
86
+ nodes!: any[];
87
+
88
+ selectedNodes: any;
89
+
90
+ constructor() {
91
+ this.nodeService.getFiles().then((files) => (this.nodes = files));
92
+ }
93
+ }
94
+ ```
95
+
96
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
97
+
98
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/treeselect.md
@@ -0,0 +1,231 @@
1
+ # TreeTable
2
+
3
+ TreeTable is used to display hierarchical data in tabular format.
4
+
5
+ ```typescript
6
+ import { TreeTable } from '@exhaustive-ui/core/treetable'; // standalone; or TreeTableModule for all its parts
7
+ ```
8
+
9
+ ## `p-tree-table` (also `p-treeTable`, `p-treetable`, legacy): TreeTable
10
+
11
+ Inputs:
12
+ - `columnResizeMode`: `string` = `'fit'`: Defines whether the overall table width should change on column resize, valid values are "fit" and "expand".
13
+ - `columns`: `any[] | undefined`: An array of objects to represent dynamic columns.
14
+ - `contextMenu`: `any`: Local ng-template varilable of a ContextMenu.
15
+ - `contextMenuSelection`: `any` (two-way: `[(${input.name})]`): Selected row with a context menu, supports one or two-way binding.
16
+ - `customSort`: `boolean | undefined`: Whether to use the default sorting or a custom one using sortFunction.
17
+ - `dataKey`: `string | undefined`: A property to uniquely identify a record in data.
18
+ - `filterMode`: `string` = `'lenient'`: Mode for filtering valid values are "lenient" and "strict".
19
+ - `frozenColumns`: `{ [klass: string]: any; } | null | undefined`: An array of objects to represent dynamic columns that are frozen.
20
+ - `frozenWidth`: `string | undefined`: Width of the frozen columns container.
21
+ - `lazy`: `boolean` = `false`: Defines if data is loaded and interacted with in lazy manner.
22
+ - `loading`: `boolean | undefined`: Displays a loader to indicate data load is in progress.
23
+ - `metaKeySelection`: `boolean | undefined` = `false`: Defines whether metaKey is should be considered for the selection.
24
+ - `paginator`: `boolean | undefined`: When specified as true, enables the pagination.
25
+ - `reorderableColumns`: `boolean | undefined`: When enabled, columns can be reordered using drag and drop.
26
+ - `resizableColumns`: `boolean | undefined`: When enabled, columns can be resized using drag and drop.
27
+ - `rows`: `number | undefined` (two-way: `[(${input.name})]`): Number of rows to display per page, supports one or two-way binding.
28
+ - `rowsPerPageOptions`: `any[] | undefined`: Array of integer/object values to display inside rows per page dropdown of…
29
+ - `scrollable`: `boolean | undefined`: When specified, enables horizontal and/or vertical scrolling.
30
+ - `scrollHeight`: `string | undefined`: Height of the scroll viewport in fixed pixels or the "flex" keyword for a dynamic size.
31
+ - `selection`: `any` (two-way: `[(${input.name})]`): Selected row in single mode or an array of values in multiple mode, supports one or two-way binding.
32
+ - `selectionKeys`: `any` (two-way: `[(${input.name})]`): A map of keys to control the selection state.
33
+ - `selectionMode`: `string | undefined`: Specifies the selection mode, valid values are "single" and "multiple".
34
+ - `showGridlines`: `boolean` = `false`: Whether to show grid lines between cells.
35
+ - `sortMode`: `"single" | "multiple"` = `'single'`: Defines whether sorting works on single column or on multiple columns.
36
+ - `tableStyle`: `{ [klass: string]: any; } | null | undefined`: Inline style of the table.
37
+ - `totalRecords`: `number` = `0`: Number of total records, defaults to length of value when not defined.
38
+ - `value`: `TreeNode<any>[] | undefined` = `[]`: An array of objects to display.
39
+ - Other inputs: `alwaysShowPaginator`, `autoLayout`, `compareSelectionBy`, `contextMenuSelectionMode`, `currentPageReportTemplate`, `defaultSortOrder`, `filterDelay`, `filterLocale`, `filters`, `first`, `globalFilterFields`, `lazyLoadOnInit`, `loadingIcon`, `multiSortMeta`, `pageLinks`, `paginatorDropdownAppendTo`, `paginatorLocale`, `paginatorPosition`, `paginatorStyleClass`, `resetPageOnSort`, `rowHover`, `rowTrackBy`, `showCurrentPageReport`, `showFirstLastIcon`, `showJumpToPageDropdown`, `showLoader`, `showPageLinks`, `sortField`, `sortOrder`, `tableStyleClass`, `virtualScroll`, `virtualScrollDelay`, `virtualScrollItemSize`, `virtualScrollOptions`.
40
+
41
+ Outputs:
42
+ - `(contextMenuSelectionChange)`: `any`
43
+ - `(firstChange)`: `number`
44
+ - `(onColReorder)`: `TreeTableColumnReorderEvent`
45
+ - `(onColResize)`: `TreeTableColResizeEvent`
46
+ - `(onContextMenuSelect)`: `TreeTableContextMenuSelectEvent`
47
+ - `(onEditCancel)`: `TreeTableEditEvent`
48
+ - `(onEditComplete)`: `TreeTableEditEvent`
49
+ - `(onEditInit)`: `TreeTableEditEvent`
50
+ - `(onFilter)`: `TreeTableFilterEvent`
51
+ - `(onHeaderCheckboxToggle)`: `TreeTableHeaderCheckboxToggleEvent`
52
+ - `(onLazyLoad)`: `TreeTableLazyLoadEvent`
53
+ - `(onNodeCollapse)`: `TreeTableNodeCollapseEvent<any>`
54
+ - `(onNodeExpand)`: `TreeTableNodeExpandEvent<any>`
55
+ - `(onNodeSelect)`: `TreeTableNode<any>`
56
+ - `(onNodeUnselect)`: `TreeTableNodeUnSelectEvent`
57
+ - `(onPage)`: `TreeTablePaginatorState`
58
+ - `(onSort)`: `any`
59
+ - `(rowsChange)`: `number | undefined`
60
+ - `(selectionChange)`: `any`
61
+ - `(selectionKeysChange)`: `any`
62
+ - `(sortFunction)`: `TreeTableSortEvent`
63
+
64
+ Templates (`<ng-template #name let-…>` inside the element):
65
+ - `#colgroup`: context { $implicit: any[] }. Custom colgroup element.
66
+ - `#caption`: no context. Custom caption, rendered above the table.
67
+ - `#header`: context { $implicit: any[] }. Custom header rows, rendered in the thead.
68
+ - `#body`: context { $implicit: TreeTableRowNode<any>, node: TreeNode<any>, rowData: any, columns: any[] }. Custom row, rendered for each visible node.
69
+ - `#footer`: context { $implicit: any[] }. Custom footer rows, rendered in the tfoot.
70
+ - `#summary`: no context. Custom summary, rendered below the table.
71
+ - `#emptymessage`: context { $implicit: any[], frozen: boolean }. Custom content when there is no data.
72
+ - `#paginatorleft`: context { $implicit: PaginatorState }. Custom content on the left of the paginator.
73
+ - `#paginatorright`: context { $implicit: PaginatorState }. Custom content on the right of the paginator.
74
+ - `#paginatordropdownitem`: context { $implicit: SelectItem<any> }. Custom item of the rows per page dropdown of the paginator.
75
+ - `#frozenheader`: context { $implicit: any[] }. Custom header rows of the frozen columns.
76
+ - `#frozenbody`: context { $implicit: TreeTableRowNode<any>, node: TreeNode<any>, rowData: any, columns: any[] }. Custom row of the frozen columns.
77
+ - `#frozenfooter`: context { $implicit: any[] }. Custom footer rows of the frozen columns.
78
+ - `#frozencolgroup`: context { $implicit: any[] }. Custom colgroup element of the frozen columns.
79
+ - `#loadingicon`: no context. Custom loading icon.
80
+ - `#reorderindicatorupicon`: no context. Custom icon of the upper column reorder indicator.
81
+ - `#reorderindicatordownicon`: no context. Custom icon of the lower column reorder indicator.
82
+ - `#sorticon`: context { $implicit: number }. Custom sort icon of a sortable column.
83
+ - `#checkboxicon`: context { $implicit: boolean, partialSelected: boolean }. Custom icon of the node checkboxes.
84
+ - `#headercheckboxicon`: context { $implicit: boolean }. Custom icon of the header checkbox.
85
+ - `#togglericon`: context { $implicit: boolean }. Custom icon of the node toggler.
86
+ - `#paginatorfirstpagelinkicon`: no context. Custom icon of the first page button of the paginator.
87
+ - `#paginatorlastpagelinkicon`: no context. Custom icon of the last page button of the paginator.
88
+ - `#paginatorpreviouspagelinkicon`: no context. Custom icon of the previous page button of the paginator.
89
+ - `#paginatornextpagelinkicon`: no context. Custom icon of the next page button of the paginator.
90
+ - `#loader`: context { options: ScrollerLoaderOptions }. Custom row of a node being loaded with lazy virtual scrolling.
91
+
92
+ Read a context with `let-`: `<ng-template #colgroup let-item>` (`$implicit` is the bare `let-x`).
93
+
94
+ ### `p-tree-table-checkbox` (also `p-treeTableCheckbox`, `p-treetable-checkbox`, legacy): TTCheckbox
95
+
96
+ Checkbox that selects its node, with selectionMode set to checkbox.
97
+
98
+ - Inputs: `ariaLabel`, `ariaLabelledBy`, `disabled`, `value`.
99
+
100
+ ### `[ttContextMenuRow]`: TTContextMenuRow
101
+
102
+ Opens the context menu of the tree table when the row is right clicked.
103
+
104
+ - Inputs: `ttContextMenuRow`, `ttContextMenuRowDisabled`.
105
+
106
+ ### `[ttEditableColumn]`: TTEditableColumn
107
+
108
+ Makes a cell editable: clicking it shows the `#input` template of its p-tree-table-cell-editor.
109
+
110
+ - Inputs: `ttEditableColumn`, `ttEditableColumnDisabled`, `ttEditableColumnField`.
111
+
112
+ ### `p-tree-table-header-checkbox` (also `p-treeTableHeaderCheckbox`, legacy): TTHeaderCheckbox
113
+
114
+ Checkbox in the header that selects or unselects all the nodes, with selectionMode set to checkbox.
115
+
116
+ - Inputs: `ariaLabel`, `ariaLabelledBy`.
117
+
118
+ ### `[ttReorderableColumn]`: TTReorderableColumn
119
+
120
+ Lets a header cell be dragged to reorder the columns, with reorderableColumns enabled on the tree table.
121
+
122
+ - Inputs: `ttReorderableColumnDisabled`.
123
+
124
+ ### `[ttResizableColumn]`: TTResizableColumn
125
+
126
+ Adds a resizer to a header cell, with resizableColumns enabled on the tree table.
127
+
128
+ - Inputs: `ttResizableColumnDisabled`.
129
+
130
+ ### `[ttRow]`: TTRow
131
+
132
+ Gives a row its keyboard navigation and its ARIA attributes (role, level, expanded state).
133
+
134
+ - Inputs: `ttRow`.
135
+
136
+ ### `[ttSelectableRow]`: TTSelectableRow
137
+
138
+ Selects its row when clicked or activated with the keyboard, according to the selectionMode of the tree table.
139
+
140
+ - Inputs: `ttSelectableRow`, `ttSelectableRowDisabled`.
141
+
142
+ ### `[ttSelectableRowDblClick]`: TTSelectableRowDblClick
143
+
144
+ Selects its row when double clicked.
145
+
146
+ - Inputs: `ttSelectableRowDblClick`, `ttSelectableRowDisabled`.
147
+
148
+ ### `p-tree-table-sort-icon` (also `p-treeTableSortIcon`, `p-treetable-sort-icon`, legacy): TTSortIcon
149
+
150
+ Shows the sort state of a column.
151
+
152
+ - Inputs: `field`.
153
+
154
+ ### `[ttSortableColumn]`: TTSortableColumn
155
+
156
+ Sorts the tree table by a field when the header cell is clicked or activated with the keyboard: `[ttSortableColumn]="'name'"`.
157
+
158
+ - Inputs: `ttSortableColumn`, `ttSortableColumnDisabled`.
159
+
160
+ ### `p-tree-table-cell-editor` (also `p-treeTableCellEditor`, `p-treetablecelleditor`, `p-treetable-cell-editor`, legacy): TreeTableCellEditor
161
+
162
+ Content of an editable cell: the `#input` template shows while the cell is edited, the `#output` template otherwise.
163
+
164
+ Templates (`<ng-template #name let-…>` inside the element):
165
+ - `#input`: no context.
166
+ - `#output`: no context.
167
+
168
+ ### `p-tree-table-toggler` (also `p-treeTableToggler`, `p-treetabletoggler`, `p-treetable-toggler`, legacy): TreeTableToggler
169
+
170
+ Button that expands or collapses a node: `<p-tree-table-toggler [rowNode]="rowNode" />`.
171
+
172
+ - Inputs: `rowNode`.
173
+
174
+ Types used in the contexts:
175
+ - `TreeTableRowNode`: { node: TreeNode<T>, parent: TreeNode<T> | null | undefined, level: number, visible: boolean }
176
+ - `PaginatorState`: { page?: number | undefined, first?: number | undefined, rows?: number | undefined, pageCount?: number | undefined, totalRecords?: number | undefined }
177
+ - `SelectItem`: { label?: string | undefined, value: T, styleClass?: string | undefined, icon?: string | undefined, title?: string | undefined, disabled?: boolean | undefined }
178
+ - `ScrollerLoaderOptions`: { index?: number | undefined, count?: number | undefined, first?: boolean | undefined, last?: boolean | undefined, even?: boolean | undefined, odd?: boolean | undefined }
179
+
180
+ ## Example: Basic
181
+
182
+ ```typescript
183
+ import { Component, inject, OnInit } from '@angular/core';
184
+ import { TreeNode } from '@exhaustive-ui/core/api';
185
+ import { TreeTableModule } from '@exhaustive-ui/core/treetable';
186
+ import { NodeService } from '@/service/nodeservice';
187
+
188
+ @Component({
189
+ template: `
190
+ <div class="card">
191
+ <p-tree-table [value]="files" [scrollable]="true" [tableStyle]="{ 'min-width': '50rem' }">
192
+ <ng-template #header>
193
+ <tr>
194
+ <th>Name</th>
195
+ <th>Size</th>
196
+ <th>Type</th>
197
+ </tr>
198
+ </ng-template>
199
+ <ng-template #body let-rowNode let-rowData="rowData">
200
+ <tr [ttRow]="rowNode">
201
+ <td>
202
+ <div class="flex items-center gap-2">
203
+ <p-tree-table-toggler [rowNode]="rowNode" />
204
+ <span>{{ rowData.name }}</span>
205
+ </div>
206
+ </td>
207
+ <td>{{ rowData.size }}</td>
208
+ <td>{{ rowData.type }}</td>
209
+ </tr>
210
+ </ng-template>
211
+ </p-tree-table>
212
+ </div>
213
+ `,
214
+ standalone: true,
215
+ imports: [TreeTableModule],
216
+ providers: [NodeService]
217
+ })
218
+ export class TreetableBasicDemo implements OnInit {
219
+ private nodeService = inject(NodeService);
220
+
221
+ files!: TreeNode[];
222
+
223
+ ngOnInit() {
224
+ this.nodeService.getFilesystem().then((files) => (this.files = files));
225
+ }
226
+ }
227
+ ```
228
+
229
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
230
+
231
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/treetable.md
@@ -4,7 +4,7 @@ Accordion groups a collection of contents in tabs.
4
4
 
5
5
  ## Accessibility
6
6
 
7
- Screen Reader Accordion header elements have a button role and use aria-controls to define the id of the content section along with aria-expanded for the visibility state. The value to read a header element defaults to the value of the header property and can be customized by defining an aria-label or aria-labelledby property. Each header has a heading role, for which the level is customized by headerAriaLevel and has a default level of 2 as per W3C specifications. Disabled accordions headers use aria-disabled and are excluded from the keybord navigation. The content uses region role, defines an id that matches the aria-controls of the header and aria-labelledby referring to the id of the header. Header Keyboard Support
7
+ Screen Reader Accordion header elements have a button role and use aria-controls to define the id of the content section along with aria-expanded for the visibility state. The value to read a header element defaults to its content and can be customized by defining an aria-label or aria-labelledby attribute. Disabled accordions headers use aria-disabled and are excluded from the keybord navigation. The content uses region role, defines an id that matches the aria-controls of the header and aria-labelledby referring to the id of the header. Header Keyboard Support
8
8
 
9
9
  ## Basic
10
10
 
@@ -52,7 +52,8 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
52
52
  standalone: true,
53
53
  imports: [AccordionModule]
54
54
  })
55
- export class AccordionBasicDemo {}
55
+ export class AccordionBasicDemo {
56
+ }
56
57
  ```
57
58
 
58
59
  ## Controlled
@@ -108,7 +109,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
108
109
  imports: [AccordionModule, ButtonModule]
109
110
  })
110
111
  export class AccordionControlledDemo {
111
- active: string = '0';
112
+ active = '0';
112
113
  }
113
114
  ```
114
115
 
@@ -122,7 +123,7 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
122
123
 
123
124
  @Component({
124
125
  template: `
125
- <div class="card flex justify-content-center">
126
+ <div class="card flex justify-center">
126
127
  <p-accordion [value]="['0']" [multiple]="true">
127
128
  <p-accordion-panel value="0">
128
129
  <p-accordion-header>Header I</p-accordion-header>
@@ -161,7 +162,8 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
161
162
  standalone: true,
162
163
  imports: [AccordionModule]
163
164
  })
164
- export class AccordionDisabledDemo {}
165
+ export class AccordionDisabledDemo {
166
+ }
165
167
  ```
166
168
 
167
169
  ## Dynamic
@@ -191,7 +193,11 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
191
193
  imports: [AccordionModule]
192
194
  })
193
195
  export class AccordionDynamicDemo {
194
- tabs: any[];
196
+ tabs = [
197
+ { title: 'Title 1', content: 'Content 1', value: '0' },
198
+ { title: 'Title 2', content: 'Content 2', value: '1' },
199
+ { title: 'Title 3', content: 'Content 3', value: '2' }
200
+ ];
195
201
  }
196
202
  ```
197
203
 
@@ -205,7 +211,7 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
205
211
 
206
212
  @Component({
207
213
  template: `
208
- <div class="card flex justify-content-center">
214
+ <div class="card flex justify-center">
209
215
  <p-accordion [value]="['0']" [multiple]="true">
210
216
  <p-accordion-panel value="0">
211
217
  <p-accordion-header>Header I</p-accordion-header>
@@ -241,7 +247,8 @@ import { AccordionModule } from '@exhaustive-ui/core/accordion';
241
247
  standalone: true,
242
248
  imports: [AccordionModule]
243
249
  })
244
- export class AccordionMultipleDemo {}
250
+ export class AccordionMultipleDemo {
251
+ }
245
252
  ```
246
253
 
247
254
  ## Template
@@ -256,7 +263,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
256
263
 
257
264
  @Component({
258
265
  template: `
259
- <div class="card flex justify-content-center">
266
+ <div class="card flex justify-center">
260
267
  <p-accordion value="0">
261
268
  <p-accordion-panel value="0">
262
269
  <p-accordion-header>
@@ -268,7 +275,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
268
275
  }
269
276
  </ng-template>
270
277
  <span class="flex items-center gap-2 w-full">
271
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" />
278
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" ariaLabel="Amy Elsner" shape="circle" />
272
279
  <span class="font-bold whitespace-nowrap">Amy Elsner</span>
273
280
  <p-badge value="3" class="ml-auto mr-2" />
274
281
  </span>
@@ -291,7 +298,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
291
298
  }
292
299
  </ng-template>
293
300
  <span class="flex items-center gap-2 w-full">
294
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" />
301
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" ariaLabel="Onyama Limba" shape="circle" />
295
302
  <span class="font-bold whitespace-nowrap">Onyama Limba</span>
296
303
  <p-badge value="4" class="ml-auto mr-2" />
297
304
  </span>
@@ -313,7 +320,7 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
313
320
  }
314
321
  </ng-template>
315
322
  <span class="flex items-center gap-2 w-full">
316
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" shape="circle" />
323
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" ariaLabel="Ioni Bowcher" shape="circle" />
317
324
  <span class="font-bold whitespace-nowrap">Ioni Bowcher</span>
318
325
  <p-badge value="2" class="ml-auto mr-2" />
319
326
  </span>
@@ -331,7 +338,8 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
331
338
  standalone: true,
332
339
  imports: [AccordionModule, AvatarModule, BadgeModule]
333
340
  })
334
- export class AccordionTemplateDemo {}
341
+ export class AccordionTemplateDemo {
342
+ }
335
343
  ```
336
344
 
337
345
  ## Accordion
@@ -342,16 +350,16 @@ Accordion groups a collection of contents in tabs.
342
350
 
343
351
  | Name | Type | Default | Description |
344
352
  |------|------|---------|-------------|
345
- | value | ModelSignal<string \| number \| string[] \| number[]> | undefined | Value of the active tab. |
346
- | multiple | InputSignalWithTransform<boolean, any> | false | When enabled, multiple tabs can be activated at the same time. |
347
- | expandIcon | InputSignal<string> | ... | Icon of a collapsed tab. |
348
- | collapseIcon | InputSignal<string> | ... | Icon of an expanded tab. |
349
- | selectOnFocus | InputSignalWithTransform<boolean, any> | false | When enabled, the focused tab is activated. |
350
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
351
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
352
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
353
- | pt | InputSignal<AccordionPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
354
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
353
+ | value | string \| number \| string[] \| number[] | undefined | Value of the active tab. |
354
+ | multiple | boolean | false | When enabled, multiple tabs can be activated at the same time. |
355
+ | expandIcon | string | - | Icon of a collapsed tab. |
356
+ | collapseIcon | string | - | Icon of an expanded tab. |
357
+ | selectOnFocus | boolean | false | When enabled, the focused tab is activated. |
358
+ | motionOptions | MotionOptions | - | The motion options. |
359
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
360
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
361
+ | pt | AccordionPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
362
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
355
363
 
356
364
  ### Emits
357
365
 
@@ -12,6 +12,8 @@ Animation classes are defined with the enterClass and leaveClass properties. Thi
12
12
 
13
13
  ```typescript
14
14
  import { Component } from '@angular/core';
15
+ import { CommonModule } from '@angular/common';
16
+ import { AnimateOnScrollModule } from '@exhaustive-ui/core/animateonscroll';
15
17
  import { AvatarModule } from '@exhaustive-ui/core/avatar';
16
18
 
17
19
  @Component({
@@ -65,17 +67,17 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
65
67
  leaveClass="animate-leave fade-out-0"
66
68
  class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
67
69
  >
68
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" size="xlarge" />
70
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" ariaLabel="Amy Elsner" shape="circle" size="xlarge" />
69
71
  <span class="text-2xl font-medium">Jenna Thompson</span>
70
72
  <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
71
73
  </div>
72
74
  <div pAnimateOnScroll enterClass="animate-enter fade-in-10 slide-in-from-b-20 animate-duration-1000" class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
73
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" shape="circle" size="xlarge" />
75
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" ariaLabel="Asiya Javayant" shape="circle" size="xlarge" />
74
76
  <span class="text-2xl font-medium">Isabel Garcia</span>
75
77
  <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
76
78
  </div>
77
79
  <div pAnimateOnScroll enterClass="animate-enter fade-in-10 slide-in-from-t-20 animate-duration-1000" class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
78
- <p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" size="xlarge" />
80
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" ariaLabel="Onyama Limba" shape="circle" size="xlarge" />
79
81
  <span class="text-2xl font-medium">Xavier Mason</span>
80
82
  <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
81
83
  </div>
@@ -137,9 +139,10 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
137
139
  </div>
138
140
  `,
139
141
  standalone: true,
140
- imports: [AvatarModule]
142
+ imports: [CommonModule, AnimateOnScrollModule, AvatarModule]
141
143
  })
142
- export class AnimateonscrollBasicDemo {}
144
+ export class AnimateonscrollBasicDemo {
145
+ }
143
146
  ```
144
147
 
145
148
  ## Animate On Scroll
@@ -150,14 +153,14 @@ AnimateOnScroll is used to apply animations to elements when entering or leaving
150
153
 
151
154
  | Name | Type | Default | Description |
152
155
  |------|------|---------|-------------|
153
- | enterClass | InputSignal<string> | ... | Selector to define the CSS class for enter animation. |
154
- | leaveClass | InputSignal<string> | ... | Selector to define the CSS class for leave animation. |
155
- | root | InputSignal<HTMLElement> | ... | Specifies the root option of the IntersectionObserver API. |
156
- | rootMargin | InputSignal<string> | ... | Specifies the rootMargin option of the IntersectionObserver API. |
157
- | threshold | InputSignalWithTransform<number, unknown> | ... | Specifies the threshold option of the IntersectionObserver API |
158
- | once | InputSignalWithTransform<boolean, unknown> | ... | Whether the scroll event listener should be removed after initial run. |
159
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
160
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
161
- | pt | InputSignal<any> | undefined | Used to pass attributes to DOM elements inside the component. |
162
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
156
+ | enterClass | string | - | Selector to define the CSS class for enter animation. |
157
+ | leaveClass | string | - | Selector to define the CSS class for leave animation. |
158
+ | root | HTMLElement | - | Specifies the root option of the IntersectionObserver API. |
159
+ | rootMargin | string | - | Specifies the rootMargin option of the IntersectionObserver API. |
160
+ | threshold | number | 0.5 | Specifies the threshold option of the IntersectionObserver API |
161
+ | once | boolean | false | Whether the scroll event listener should be removed after initial run. |
162
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
163
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
164
+ | pt | any | undefined | Used to pass attributes to DOM elements inside the component. |
165
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
163
166