@exhaustive-ui/mcp 22.4.0 → 22.5.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 (115) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +88 -0
  3. package/data/cards/animateonscroll.md +152 -0
  4. package/data/cards/autocomplete.md +104 -0
  5. package/data/cards/autofocus.md +34 -0
  6. package/data/cards/avatar.md +43 -0
  7. package/data/cards/badge.md +43 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +54 -0
  10. package/data/cards/button.md +77 -0
  11. package/data/cards/card.md +48 -0
  12. package/data/cards/carousel.md +99 -0
  13. package/data/cards/cascadeselect.md +81 -0
  14. package/data/cards/chart.md +103 -0
  15. package/data/cards/checkbox.md +58 -0
  16. package/data/cards/chip.md +49 -0
  17. package/data/cards/classnames.md +73 -0
  18. package/data/cards/colorpicker.md +51 -0
  19. package/data/cards/confirmdialog.md +89 -0
  20. package/data/cards/confirmpopup.md +74 -0
  21. package/data/cards/contextmenu.md +66 -0
  22. package/data/cards/dataview.md +115 -0
  23. package/data/cards/datepicker.md +102 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +54 -0
  26. package/data/cards/dock.md +85 -0
  27. package/data/cards/dragdrop.md +102 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +76 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +53 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +89 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +47 -0
  36. package/data/cards/focustrap.md +60 -0
  37. package/data/cards/galleria.md +101 -0
  38. package/data/cards/iconfield.md +44 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +56 -0
  41. package/data/cards/imagecompare.md +44 -0
  42. package/data/cards/inplace.md +55 -0
  43. package/data/cards/inputgroup.md +66 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +77 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +48 -0
  49. package/data/cards/knob.md +54 -0
  50. package/data/cards/listbox.md +103 -0
  51. package/data/cards/megamenu.md +97 -0
  52. package/data/cards/menu.md +68 -0
  53. package/data/cards/menubar.md +106 -0
  54. package/data/cards/message.md +50 -0
  55. package/data/cards/metergroup.md +57 -0
  56. package/data/cards/multiselect.md +119 -0
  57. package/data/cards/orderlist.md +94 -0
  58. package/data/cards/organizationchart.md +57 -0
  59. package/data/cards/overlay.md +62 -0
  60. package/data/cards/paginator.md +61 -0
  61. package/data/cards/panel.md +56 -0
  62. package/data/cards/panelmenu.md +103 -0
  63. package/data/cards/password.md +78 -0
  64. package/data/cards/picklist.md +102 -0
  65. package/data/cards/popover.md +52 -0
  66. package/data/cards/progressbar.md +41 -0
  67. package/data/cards/progressspinner.md +37 -0
  68. package/data/cards/radiobutton.md +51 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +36 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +49 -0
  73. package/data/cards/scrolltop.md +46 -0
  74. package/data/cards/select.md +107 -0
  75. package/data/cards/selectbutton.md +60 -0
  76. package/data/cards/skeleton.md +53 -0
  77. package/data/cards/slider.md +51 -0
  78. package/data/cards/speeddial.md +99 -0
  79. package/data/cards/splitbutton.md +93 -0
  80. package/data/cards/splitter.md +51 -0
  81. package/data/cards/stepper.md +120 -0
  82. package/data/cards/styleclass.md +44 -0
  83. package/data/cards/table.md +270 -0
  84. package/data/cards/tabs.md +96 -0
  85. package/data/cards/tag.md +40 -0
  86. package/data/cards/terminal.md +67 -0
  87. package/data/cards/textarea.md +44 -0
  88. package/data/cards/tieredmenu.md +126 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +59 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +51 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +42 -0
  95. package/data/cards/tree.md +96 -0
  96. package/data/cards/treeselect.md +99 -0
  97. package/data/cards/treetable.md +210 -0
  98. package/data/components/checkbox.md +0 -24
  99. package/data/components/dock.md +2 -2
  100. package/data/components/galleria.md +7 -7
  101. package/data/components/inputnumber.md +2 -2
  102. package/data/components/llms.md +4 -0
  103. package/data/components/password.md +3 -3
  104. package/data/components/picklist.md +1 -1
  105. package/data/components/table.md +1 -1
  106. package/data/components.json +26 -22
  107. package/data/llms-full.txt +49 -42
  108. package/data/llms.txt +100 -96
  109. package/data/manifest.json +30 -1
  110. package/data/pages/llms.md +29 -0
  111. package/data/snapshot.json +2 -2
  112. package/dist/index.d.mts +35 -2
  113. package/dist/index.mjs +1393 -1077
  114. package/dist/index.mjs.map +1 -1
  115. package/package.json +1 -1
package/README.md CHANGED
@@ -89,7 +89,7 @@ args = ["-y", "@exhaustive-ui/mcp"]
89
89
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
90
90
  | `list` | List components, directives, guides, code examples or MCP resources (`kind`, `limit`, `offset`). |
91
91
  | `search` | Search component docs, guides, API members (inputs, outputs, templates, PT keys, CSS classes, tokens) and code examples (`query`, `scope`). |
92
- | `get_component` | Read a component: selectors, import path, sections, available examples; optionally its API and compiled declarations (`includeApi`), example code (`includeExamples`) and the full Markdown document (`detail: "full"`). Accepts a batch of up to 10 `components`. |
92
+ | `get_component` | Read a component: its card (import, tag, key inputs, outputs, every template with its context, one example), selectors, import path, sections, available examples; optionally its API and compiled declarations (`includeApi`), example code (`includeExamples`) and the full Markdown document (`detail: "full"`). Accepts a batch of up to 10 `components`. |
93
93
  | `get_guide` | Read a guide by name or route (`installation`, `configuration`, `theming/styled`, `tailwind`, `guides/accessibility`...), optionally one `section` or the full document. |
94
94
  | `get_example` | Return one complete, source-backed code example of a component (a standalone Angular component with template and imports), by `section` or feature `variant`. |
95
95
  | `get_setup` | Return the setup guidance for an `environment`: `angular-cli` (default), `configuration`, `styled`, `unstyled`, `tailwind`, `icons`, `custom-icons`, `passthrough`. |
@@ -100,6 +100,18 @@ Component names are resolved loosely: `button`, `p-button`, `Button`, `[pTooltip
100
100
 
101
101
  Every tool answers with `structuredContent` and the same JSON serialized in its text content, so clients that only forward text see the whole answer.
102
102
 
103
+ ## Checking a project
104
+
105
+ The package also has a `check` command, for agents and CI: it validates every Angular template of a project (the `.html` files and the inline `template` of `.ts` files) against the ExhaustiveUI API, like `validate_usage` but for all the components of all the files, with file and line.
106
+
107
+ ```bash
108
+ npx -y @exhaustive-ui/mcp check # the templates under src/
109
+ npx -y @exhaustive-ui/mcp check apps libs # other folders or files
110
+ npx -y @exhaustive-ui/mcp check --json # the issues as JSON
111
+ ```
112
+
113
+ It reports PrimeNG imports and tags with their replacement (`primeng/dropdown`, `<p-calendar>`...), unknown, miscased or deprecated inputs, invalid literal values, inputs removed in v22, `<ng-template #name>` names the component does not have, and the legacy `pTemplate`. It reads the API of the offline snapshot bundled with the package, without network, and exits with 1 when it finds an error.
114
+
103
115
  ## Resources and prompts
104
116
 
105
117
  Static resources:
@@ -0,0 +1,88 @@
1
+ # Accordion
2
+
3
+ AccordionPanel is a helper component for Accordion component.
4
+
5
+ ```typescript
6
+ import { Accordion } from '@exhaustive-ui/core/accordion'; // standalone; or AccordionModule for all its parts
7
+ ```
8
+
9
+ ## `p-accordion`: Accordion
10
+
11
+ Inputs:
12
+ - `multiple`: `any` = `false`: When enabled, multiple tabs can be activated at the same time.
13
+ - `value`: `string | number | string[] | number[] | null | undefined` (two-way: `[(${input.name})]`): Value of the active tab.
14
+ - Other inputs: `collapseIcon`, `expandIcon`, `motionOptions`, `selectOnFocus`.
15
+
16
+ Outputs:
17
+ - `(onClose)`: `AccordionTabCloseEvent`
18
+ - `(onOpen)`: `AccordionTabOpenEvent`
19
+ - `(valueChange)`: `string | number | string[] | number[] | null | undefined`
20
+
21
+ ### `p-accordion-content` (also `p-accordioncontent`, legacy): AccordionContent
22
+
23
+ ### `p-accordion-header` (also `p-accordionheader`, legacy): AccordionHeader
24
+
25
+ AccordionHeader is a helper component for Accordion component.
26
+
27
+ Templates (`<ng-template #name let-…>` inside the element):
28
+ - `#toggleicon`: context { active: boolean }. Toggle icon template.
29
+
30
+ Read a context with `let-`: `<ng-template #toggleicon let-active="active">` (`$implicit` is the bare `let-x`).
31
+
32
+ ### `p-accordion-panel` (also `p-accordionpanel`, legacy): AccordionPanel
33
+
34
+ AccordionPanel is a helper component for Accordion component.
35
+
36
+ - Inputs: `disabled`, `value`.
37
+ - Outputs: `(valueChange)`.
38
+
39
+ ## Example: Basic
40
+
41
+ ```typescript
42
+ import { Component } from '@angular/core';
43
+ import { AccordionModule } from '@exhaustive-ui/core/accordion';
44
+
45
+ @Component({
46
+ template: `
47
+ <div class="card flex justify-center">
48
+ <p-accordion value="0">
49
+ <p-accordion-panel value="0">
50
+ <p-accordion-header>Header I</p-accordion-header>
51
+ <p-accordion-content>
52
+ <p class="m-0">
53
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
54
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
55
+ laborum.
56
+ </p>
57
+ </p-accordion-content>
58
+ </p-accordion-panel>
59
+ <p-accordion-panel value="1">
60
+ <p-accordion-header>Header II</p-accordion-header>
61
+ <p-accordion-content>
62
+ <p class="m-0">
63
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
64
+ enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
65
+ </p>
66
+ </p-accordion-content>
67
+ </p-accordion-panel>
68
+ <p-accordion-panel value="2">
69
+ <p-accordion-header>Header III</p-accordion-header>
70
+ <p-accordion-content>
71
+ <p class="m-0">
72
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
73
+ enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
74
+ </p>
75
+ </p-accordion-content>
76
+ </p-accordion-panel>
77
+ </p-accordion>
78
+ </div>
79
+ `,
80
+ standalone: true,
81
+ imports: [AccordionModule]
82
+ })
83
+ export class AccordionBasicDemo {}
84
+ ```
85
+
86
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
87
+
88
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/accordion.md
@@ -0,0 +1,152 @@
1
+ # Animate On Scroll
2
+
3
+ AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling.
4
+
5
+ ```typescript
6
+ import { AnimateOnScroll } from '@exhaustive-ui/core/animateonscroll'; // standalone; or AnimateOnScrollModule for all its parts
7
+ ```
8
+
9
+ ## `[pAnimateOnScroll]`: AnimateOnScroll
10
+
11
+ Inputs:
12
+ - `enterClass`: `string | undefined`: Selector to define the CSS class for enter animation.
13
+ - `leaveClass`: `string | undefined`: Selector to define the CSS class for leave animation.
14
+ - Other inputs: `once`, `root`, `rootMargin`, `threshold`.
15
+
16
+ ## Example: Basic
17
+
18
+ ```typescript
19
+ import { Component } from '@angular/core';
20
+ import { AvatarModule } from '@exhaustive-ui/core/avatar';
21
+
22
+ @Component({
23
+ template: `
24
+ <div class="card flex flex-col items-center overflow-hidden">
25
+ <div class="flex flex-col items-center gap-2">
26
+ <span class="text-xl font-medium">Scroll Down</span>
27
+ <span class="animate-bounce h-8 w-8 bg-primary text-primary-contrast rounded-full inline-flex items-center justify-center">
28
+ <i class="pi pi-arrow-down"></i>
29
+ </span>
30
+ </div>
31
+ <div class="h-160"></div>
32
+ <div class="flex flex-wrap justify-center gap-8">
33
+ <div
34
+ pAnimateOnScroll
35
+ enterClass="animate-enter fade-in-10 slide-in-from-l-8 animate-duration-1000"
36
+ leaveClass="animate-leave fade-out-0"
37
+ class="flex flex-col border border-surface shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
38
+ >
39
+ <div class="rounded-full bg-primary text-primary-contrast w-12 h-12 flex items-center justify-center">
40
+ <i class="pi pi-user text-2xl!"></i>
41
+ </div>
42
+ <span class="text-2xl font-bold">Individual</span>
43
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
44
+ </div>
45
+ <div pAnimateOnScroll enterClass="animate-enter fade-in-10 animate-duration-1000" leaveClass="animate-leave fade-out-0" class="flex flex-col border border-surface shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
46
+ <div class="rounded-full bg-primary text-primary-contrast w-12 h-12 flex items-center justify-center">
47
+ <i class="pi pi-users text-2xl!"></i>
48
+ </div>
49
+ <span class="text-2xl font-bold">Team</span>
50
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
51
+ </div>
52
+ <div
53
+ pAnimateOnScroll
54
+ enterClass="animate-enter fade-in-10 slide-in-from-r-8 animate-duration-1000"
55
+ leaveClass="animate-leave fade-out-0"
56
+ class="flex flex-col border border-surface shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
57
+ >
58
+ <div class="rounded-full bg-primary text-primary-contrast w-12 h-12 flex items-center justify-center">
59
+ <i class="pi pi-building text-2xl!"></i>
60
+ </div>
61
+ <span class="text-2xl font-bold">Enterprise</span>
62
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
63
+ </div>
64
+ </div>
65
+ <div class="h-120"></div>
66
+ <div class="flex flex-wrap justify-center gap-8">
67
+ <div
68
+ pAnimateOnScroll
69
+ enterClass="animate-enter fade-in-10 slide-in-from-t-20 animate-duration-1000"
70
+ leaveClass="animate-leave fade-out-0"
71
+ class="flex flex-col border border-primary-200 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
72
+ >
73
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" shape="circle" size="xlarge" />
74
+ <span class="text-2xl font-medium">Jenna Thompson</span>
75
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
76
+ </div>
77
+ <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">
78
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" shape="circle" size="xlarge" />
79
+ <span class="text-2xl font-medium">Isabel Garcia</span>
80
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
81
+ </div>
82
+ <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">
83
+ <p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" size="xlarge" />
84
+ <span class="text-2xl font-medium">Xavier Mason</span>
85
+ <span class="text-muted-color text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
86
+ </div>
87
+ </div>
88
+ <div class="h-120"></div>
89
+ <div class="flex flex-wrap justify-center gap-8">
90
+ <div
91
+ pAnimateOnScroll
92
+ enterClass="animate-enter fade-in-10 spin-in-45 slide-in-from-t-12 animate-duration-1000"
93
+ class="flex flex-col bg-primary text-primary-contrast border-primary shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
94
+ >
95
+ <span class="bg-white/20 text-xl font-medium rounded-xl px-4 py-2">850K</span>
96
+ <span class="text-2xl font-bold">Customers</span>
97
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
98
+ </div>
99
+ <div
100
+ pAnimateOnScroll
101
+ enterClass="animate-enter fade-in-10 zoom-in-50 slide-in-from-t-20 animate-duration-1000"
102
+ class="flex flex-col bg-primary text-primary-contrast border-primary shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
103
+ >
104
+ <span class="bg-white/20 text-xl font-medium rounded-xl px-4 py-2">$1.5M</span>
105
+ <span class="text-2xl font-bold">Revenue</span>
106
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
107
+ </div>
108
+ <div
109
+ pAnimateOnScroll
110
+ enterClass="animate-enter fade-in-10 spin-in-[-45deg] slide-in-from-t-16 animate-duration-1000"
111
+ class="flex flex-col bg-primary text-primary-contrast border-primary shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4"
112
+ >
113
+ <span class="bg-white/20 text-xl font-medium rounded-xl px-4 py-2">140K</span>
114
+ <span class="text-2xl font-bold">Sales</span>
115
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
116
+ </div>
117
+ </div>
118
+ <div class="h-120"></div>
119
+ <div class="flex flex-wrap justify-center gap-8">
120
+ <div pAnimateOnScroll enterClass="animate-enter fade-in-10 zoom-in-50 animate-duration-1000" class="flex flex-col bg-purple-500 text-white border-purple-500 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
121
+ <div class="rounded-full border-2 border-white w-12 h-12 flex items-center justify-center">
122
+ <i class="pi pi-wifi text-2xl!"></i>
123
+ </div>
124
+ <span class="text-2xl font-bold">Bandwidth</span>
125
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
126
+ </div>
127
+ <div pAnimateOnScroll enterClass="animate-enter fade-in-10 zoom-in-75 animate-duration-1000" class="flex flex-col bg-teal-500 text-white border-teal-500 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
128
+ <div class="rounded-full border-2 border-white w-12 h-12 flex items-center justify-center">
129
+ <i class="pi pi-database text-2xl!"></i>
130
+ </div>
131
+ <span class="text-2xl font-bold">Storage</span>
132
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
133
+ </div>
134
+ <div pAnimateOnScroll enterClass="animate-enter fade-in-10 zoom-in-50 animate-duration-1000" class="flex flex-col bg-indigo-500 text-white border-indigo-500 shadow-lg justify-center items-center max-w-80 rounded-2xl p-8 gap-4">
135
+ <div class="rounded-full border-2 border-white w-12 h-12 flex items-center justify-center">
136
+ <i class="pi pi-arrows-v text-2xl!"></i>
137
+ </div>
138
+ <span class="text-2xl font-bold">Requests</span>
139
+ <span class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit.</span>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ `,
144
+ standalone: true,
145
+ imports: [AvatarModule]
146
+ })
147
+ export class AnimateonscrollBasicDemo {}
148
+ ```
149
+
150
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
151
+
152
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/animateonscroll.md
@@ -0,0 +1,104 @@
1
+ # AutoComplete
2
+
3
+ AutoComplete is an input component that provides real-time suggestions when being typed.
4
+
5
+ ```typescript
6
+ import { AutoComplete } from '@exhaustive-ui/core/autocomplete'; // standalone; or AutoCompleteModule for all its parts
7
+ ```
8
+
9
+ ## `p-auto-complete` (also `p-autoComplete`, `p-autocomplete`, legacy): AutoComplete
10
+
11
+ Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
+
13
+ Inputs:
14
+ - `addOnBlur`: `boolean` = `false`: Whether to add an item on blur event if the input has value and typeahead is false with multiple mode.
15
+ - `addOnTab`: `boolean` = `false`: When enabled, the input value is added to the selected items on tab key press when multiple is true and typeahead is false.
16
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
17
+ - `dropdown`: `boolean | undefined`: Displays a button next to the input field when enabled.
18
+ - `fluid`: `boolean | undefined`: Spans 100% width of the container when enabled.
19
+ - `forceSelection`: `boolean | undefined`: When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions.
20
+ - `group`: `boolean | undefined`: Whether to display options as grouped when nested options are provided.
21
+ - `inputId`: `string | undefined`: Identifier of the focus input to match a label defined for the component.
22
+ - `inputStyleClass`: `string | undefined`: Inline style of the input field.
23
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
24
+ - `multiple`: `boolean | undefined`: Specifies if multiple values can be selected.
25
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
26
+ - `optionLabel`: `string | ((item: T) => string) | undefined`: Property name or getter function to use as the label of an option.
27
+ - `optionValue`: `string | ((item: T) => string) | undefined`: Property name or getter function to use as the value of an option.
28
+ - `placeholder`: `string | undefined`: Hint text for the input field.
29
+ - `required`: `boolean | undefined`: There must be a value (if set).
30
+ - `separator`: `string | RegExp | undefined`: Separator char to add item when typeahead is false and multiple mode is enabled.
31
+ - `showClear`: `boolean` = `false`: When enabled, a clear icon is displayed to clear the value.
32
+ - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
33
+ - `suggestions`: `T[] | null`: An array of suggestions to display.
34
+ - `type`: `string` = `'text'`: Type of the input, defaults to "text".
35
+ - `typeahead`: `boolean` = `true`: Whether typeahead is active or not.
36
+ - `variant`: `"filled" | "outlined" | undefined` = `'outlined'`: Specifies the input variant of the component.
37
+ - `virtualScroll`: `boolean | undefined`: Whether the data should be loaded on demand during scroll.
38
+ - `virtualScrollItemSize`: `number | undefined`: Height of an item in the list for VirtualScrolling.
39
+ - Other inputs: `appendTo`, `ariaLabel`, `ariaLabelledBy`, `autocomplete`, `autofocus`, `autoOptionFocus`, `completeOnFocus`, `dataKey`, `delay`, `dropdownAriaLabel`, `dropdownIcon`, `dropdownMode`, `emptyMessage`, `emptySelectionMessage`, `focusOnHover`, `id`, `inputSize`, `inputStyle`, `lazy`, `max`, `maxlength`, `min`, `minlength`, `minQueryLength`, `motionOptions`, `optionDisabled`, `optionGroupChildren`, `optionGroupLabel`, `overlayOptions`, `panelStyle`, `panelStyleClass`, `pattern`, `readonly`, `scrollHeight`, `searchLocale`, `searchMessage`, `selectionMessage`, `selectOnFocus`, `showEmptyMessage`, `step`, `tabindex`, `unique`, `virtualScrollOptions`.
40
+
41
+ Outputs:
42
+ - `(completeMethod)`: `AutoCompleteCompleteEvent`
43
+ - `(onAdd)`: `AutoCompleteAddEvent<string>`
44
+ - `(onBlur)`: `Event`
45
+ - `(onClear)`: `Event | undefined`
46
+ - `(onDropdownClick)`: `AutoCompleteDropdownClickEvent`
47
+ - `(onFocus)`: `Event`
48
+ - `(onHide)`: `Event | undefined`
49
+ - `(onInputKeydown)`: `KeyboardEvent`
50
+ - `(onKeyUp)`: `KeyboardEvent`
51
+ - `(onLazyLoad)`: `AutoCompleteLazyLoadEvent`
52
+ - `(onSelect)`: `AutoCompleteSelectEvent<T>`
53
+ - `(onShow)`: `Event | undefined`
54
+ - `(onUnselect)`: `AutoCompleteUnselectEvent<T>`
55
+
56
+ Templates (`<ng-template #name let-…>` inside the element):
57
+ - `#item`: context { $implicit: T, index: number }. Custom item template.
58
+ - `#empty`: no context. Custom empty message template.
59
+ - `#header`: no context. Custom header template.
60
+ - `#footer`: no context. Custom footer template.
61
+ - `#selecteditem`: context { $implicit: T }. Custom selected item template.
62
+ - `#group`: context { $implicit: T }. Custom group template.
63
+ - `#loader`: context { options: ScrollerOptions }. Custom loader template.
64
+ - `#removeicon`: context { class: string, removeCallback: (event: Event, index: number) => void, index: number }. Custom remove icon template.
65
+ - `#loadingicon`: no context. Custom loading icon template.
66
+ - `#clearicon`: no context. Custom clear icon template.
67
+ - `#dropdownicon`: no context. Custom dropdown icon template.
68
+
69
+ Read a context with `let-`: `<ng-template #item let-item let-index="index">` (`$implicit` is the bare `let-x`).
70
+
71
+ ## Example: Basic
72
+
73
+ ```typescript
74
+ import { Component } from '@angular/core';
75
+ import { FormsModule } from '@angular/forms';
76
+ import { AutoCompleteModule } from '@exhaustive-ui/core/autocomplete';
77
+
78
+ interface AutoCompleteCompleteEvent {
79
+ originalEvent: Event;
80
+ query: string;
81
+ }
82
+
83
+ @Component({
84
+ template: `
85
+ <div class="card flex justify-center">
86
+ <p-auto-complete [(ngModel)]="value" [suggestions]="items" (completeMethod)="search($event)" />
87
+ </div>
88
+ `,
89
+ standalone: true,
90
+ imports: [AutoCompleteModule, FormsModule]
91
+ })
92
+ export class AutocompleteBasicDemo {
93
+ items: any[] = [];
94
+ value: any;
95
+
96
+ search(event: AutoCompleteCompleteEvent) {
97
+ this.items = [...Array(10).keys()].map((item) => event.query + '-' + item);
98
+ }
99
+ }
100
+ ```
101
+
102
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
103
+
104
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/autocomplete.md
@@ -0,0 +1,34 @@
1
+ # AutoFocus
2
+
3
+ AutoFocus manages focus on focusable element on load.
4
+
5
+ ```typescript
6
+ import { AutoFocus } from '@exhaustive-ui/core/autofocus'; // standalone; or AutoFocusModule for all its parts
7
+ ```
8
+
9
+ ## `[pAutoFocus]`: AutoFocus
10
+
11
+ Inputs:
12
+ - `pAutoFocus`: `boolean` = `false`: When present, it specifies that the component should automatically get focus on load.
13
+
14
+ ## Example: Basic
15
+
16
+ ```typescript
17
+ import { Component } from '@angular/core';
18
+ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
19
+
20
+ @Component({
21
+ template: `
22
+ <div class="card flex justify-center">
23
+ <input type="text" pInputText [pAutoFocus]="true" placeholder="Automatically focused" />
24
+ </div>
25
+ `,
26
+ standalone: true,
27
+ imports: [InputTextModule]
28
+ })
29
+ export class AutofocusBasicDemo {}
30
+ ```
31
+
32
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
33
+
34
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/autofocus.md
@@ -0,0 +1,43 @@
1
+ # Avatar
2
+
3
+ Avatar represents people using icons, labels and images.
4
+
5
+ ```typescript
6
+ import { Avatar } from '@exhaustive-ui/core/avatar'; // standalone; or AvatarModule for all its parts
7
+ ```
8
+
9
+ ## `p-avatar`: Avatar
10
+
11
+ Inputs:
12
+ - `icon`: `string | undefined`: Defines the icon to display.
13
+ - `image`: `string | undefined`: Defines the image to display.
14
+ - `label`: `string | undefined`: Defines the text to display.
15
+ - `shape`: `"circle" | "square" | undefined` = `'square'`: Shape of the element.
16
+ - `size`: `"large" | "xlarge" | "normal" | undefined` = `'normal'`: Size of the element.
17
+ - Other inputs: `ariaLabel`, `ariaLabelledBy`.
18
+
19
+ Outputs:
20
+ - `(onImageError)`: `Event`
21
+
22
+ ## Example: Shape
23
+
24
+ ```typescript
25
+ import { Component } from '@angular/core';
26
+ import { AvatarModule } from '@exhaustive-ui/core/avatar';
27
+
28
+ @Component({
29
+ template: `
30
+ <div class="card flex justify-center gap-2">
31
+ <p-avatar label="P" shape="circle" />
32
+ <p-avatar label="T" />
33
+ </div>
34
+ `,
35
+ standalone: true,
36
+ imports: [AvatarModule]
37
+ })
38
+ export class AvatarShapeDemo {}
39
+ ```
40
+
41
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
42
+
43
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/avatar.md
@@ -0,0 +1,43 @@
1
+ # Badge
2
+
3
+ Badge Directive is directive usage of badge component.
4
+
5
+ ```typescript
6
+ import { Badge } from '@exhaustive-ui/core/badge'; // standalone; or BadgeModule for all its parts
7
+ ```
8
+
9
+ ## `p-badge`: Badge
10
+
11
+ Inputs:
12
+ - `badgeSize`: `"large" | "small" | "xlarge" | null | undefined`: Size of the badge, valid options are "large" and "xlarge".
13
+ - `severity`: `BadgeSeverity | null | undefined`: Severity type of the badge.
14
+ - `value`: `string | number | null | undefined`: Value to display inside the badge.
15
+ - Other inputs: `badgeDisabled`, `size`.
16
+
17
+ ### `[pBadge]`: BadgeDirective
18
+
19
+ Badge Directive is directive usage of badge component.
20
+
21
+ - Inputs: `badgeDisabled`, `badgeSize`, `badgeStyle`, `badgeStyleClass`, `pBadgePT`, `pBadgeUnstyled`, `severity`, `value`.
22
+
23
+ ## Example: Basic
24
+
25
+ ```typescript
26
+ import { Component } from '@angular/core';
27
+ import { BadgeModule } from '@exhaustive-ui/core/badge';
28
+
29
+ @Component({
30
+ template: `
31
+ <div class="card flex justify-center">
32
+ <p-badge value="2" />
33
+ </div>
34
+ `,
35
+ standalone: true,
36
+ imports: [BadgeModule]
37
+ })
38
+ export class BadgeBasicDemo {}
39
+ ```
40
+
41
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
42
+
43
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/badge.md
@@ -0,0 +1,51 @@
1
+ # BlockUI
2
+
3
+ BlockUI can either block other components or the whole page.
4
+
5
+ ```typescript
6
+ import { BlockUI } from '@exhaustive-ui/core/blockui'; // standalone; or BlockUIModule for all its parts
7
+ ```
8
+
9
+ ## `p-block-ui` (also `p-blockUI`, `p-blockui`, legacy): BlockUI
10
+
11
+ Inputs:
12
+ - `blocked`: `boolean` = `false`: Current blocked state as a boolean.
13
+ - `target`: `any`: Name of the local ng-template variable referring to another component.
14
+ - Other inputs: `autoZIndex`, `baseZIndex`.
15
+
16
+ Templates (`<ng-template #name let-…>` inside the element):
17
+ - `#content`: no context. template of the…
18
+
19
+ ## Example: Basic
20
+
21
+ ```typescript
22
+ import { Component } from '@angular/core';
23
+ import { BlockUIModule } from '@exhaustive-ui/core/blockui';
24
+ import { ButtonModule } from '@exhaustive-ui/core/button';
25
+ import { PanelModule } from '@exhaustive-ui/core/panel';
26
+
27
+ @Component({
28
+ template: `
29
+ <div class="card">
30
+ <p-button label="Block" (click)="blockedPanel = true" class="me-2" severity="secondary" />
31
+ <p-button label="Unblock" (click)="blockedPanel = false" severity="secondary" />
32
+ <p-block-ui [target]="pnl" [blocked]="blockedPanel" />
33
+ <p-panel #pnl header="Header" class="mt-6">
34
+ <p class="m-0">
35
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
36
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
37
+ </p>
38
+ </p-panel>
39
+ </div>
40
+ `,
41
+ standalone: true,
42
+ imports: [BlockUIModule, ButtonModule, PanelModule]
43
+ })
44
+ export class BlockuiBasicDemo {
45
+ blockedPanel: boolean = false;
46
+ }
47
+ ```
48
+
49
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
50
+
51
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/blockui.md
@@ -0,0 +1,54 @@
1
+ # Breadcrumb
2
+
3
+ Breadcrumb provides contextual information about page hierarchy.
4
+
5
+ ```typescript
6
+ import { Breadcrumb } from '@exhaustive-ui/core/breadcrumb'; // standalone; or BreadcrumbModule for all its parts
7
+ ```
8
+
9
+ ## `p-breadcrumb`: Breadcrumb
10
+
11
+ Inputs:
12
+ - `home`: `MenuItem | undefined`: MenuItem configuration for the home icon.
13
+ - `model`: `MenuItem[] | undefined`: An array of menuitems.
14
+ - Other inputs: `ariaLabel`, `homeAriaLabel`, `style`, `styleClass`.
15
+
16
+ Outputs:
17
+ - `(onItemClick)`: `BreadcrumbItemClickEvent`
18
+
19
+ Templates (`<ng-template #name let-…>` inside the element):
20
+ - `#item`: context { $implicit: MenuItem }. Custom item template.
21
+ - `#separator`: no context. Custom separator template.
22
+
23
+ Read a context with `let-`: `<ng-template #item let-item>` (`$implicit` is the bare `let-x`).
24
+
25
+ ## Example: Basic
26
+
27
+ ```typescript
28
+ import { Component, OnInit } from '@angular/core';
29
+ import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
30
+ import { MenuItem } from '@exhaustive-ui/core/api';
31
+
32
+ @Component({
33
+ template: `
34
+ <div class="card flex justify-center">
35
+ <p-breadcrumb [model]="items" [home]="home" />
36
+ </div>
37
+ `,
38
+ standalone: true,
39
+ imports: [BreadcrumbModule]
40
+ })
41
+ export class BreadcrumbBasicDemo implements OnInit {
42
+ items: MenuItem[] | undefined;
43
+ home: MenuItem | undefined;
44
+
45
+ ngOnInit() {
46
+ this.items = [{ label: 'Electronics' }, { label: 'Computer' }, { label: 'Accessories' }, { label: 'Keyboard' }, { label: 'Wireless' }];
47
+ this.home = { icon: 'pi pi-home' };
48
+ }
49
+ }
50
+ ```
51
+
52
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
53
+
54
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/breadcrumb.md