@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,83 @@
1
+ # Button
2
+
3
+ Button directive is an extension to button component.
4
+
5
+ ```typescript
6
+ import { Button } from '@exhaustive-ui/core/button'; // standalone; or ButtonModule for all its parts
7
+ ```
8
+
9
+ ## `p-button`: Button
10
+
11
+ Inputs:
12
+ - `ariaLabel`: `string | undefined`: Used to define a string that autocomplete attribute the current element.
13
+ - `badge`: `string | undefined`: Value of the badge.
14
+ - `badgeSeverity`: `"success" | "info" | "warn" | "danger" | "secondary" | "contrast" | "help" | "primary" | null | undefined` = `'secondary'`: Severity type of the badge.
15
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should be disabled.
16
+ - `icon`: `string | undefined`: Name of the icon.
17
+ - `iconPos`: `ButtonIconPosition` = `'left'`: Position of the icon.
18
+ - `label`: `string | undefined`: Text of the button.
19
+ - `link`: `boolean` = `false`: Add a link style to the button.
20
+ - `loading`: `boolean` = `false`: Whether the button is in loading state.
21
+ - `outlined`: `boolean` = `false`: Add a border class without a background initially.
22
+ - `raised`: `boolean` = `false`: Add a shadow to indicate elevation.
23
+ - `rounded`: `boolean` = `false`: Add a circular border radius to the button.
24
+ - `severity`: `ButtonSeverity`: Defines the style of the button.
25
+ - `size`: `"large" | "small" | undefined`: Defines the size of the button.
26
+ - `style`: `{ [klass: string]: any; } | null | undefined`: Inline style of the element.
27
+ - `styleClass`: `string | undefined`: Class of the element.
28
+ - `text`: `boolean` = `false`: Add a textual class to the button without a background initially.
29
+ - `variant`: `"outlined" | "text" | undefined`: Specifies the variant of the component.
30
+ - Other inputs: `ariaControls`, `ariaExpanded`, `autofocus`, `buttonProps`, `fluid`, `hostName`, `loadingIcon`, `plain`, `tabindex`, `type`.
31
+
32
+ Outputs:
33
+ - `(onBlur)`: `FocusEvent`
34
+ - `(onClick)`: `MouseEvent`
35
+ - `(onFocus)`: `FocusEvent`
36
+
37
+ Templates (`<ng-template #name let-…>` inside the element):
38
+ - `#content`: no context. Custom content template.
39
+ - `#loadingicon`: context { class: string, pt: any }. Custom loading icon template.
40
+ - `#icon`: context { class: string, pt: any }. Custom icon template.
41
+
42
+ Read a context with `let-`: `<ng-template #loadingicon let-class="class" let-pt="pt">` (`$implicit` is the bare `let-x`).
43
+
44
+ ### `[pButton]`: ButtonDirective
45
+
46
+ Button directive is an extension to button component.
47
+
48
+ - Inputs: `fluid`, `hostName`, `iconPos`, `loading`, `loadingIcon`, `outlined`, `pButtonPT`, `pButtonUnstyled`, `plain`, `raised`, `rounded`, `severity`, `size`, `text`.
49
+
50
+ ### `[pButtonIcon]`: ButtonIcon
51
+
52
+ Icon of a pButton: `<i class="pi pi-check" pButtonIcon></i>` inside the button.
53
+
54
+ - Inputs: `pButtonIconPT`, `pButtonUnstyled`.
55
+
56
+ ### `[pButtonLabel]`: ButtonLabel
57
+
58
+ Label of a pButton: `<span pButtonLabel>Save</span>` inside the button.
59
+
60
+ - Inputs: `pButtonLabelPT`, `pButtonLabelUnstyled`.
61
+
62
+ ## Example: Basic
63
+
64
+ ```typescript
65
+ import { Component } from '@angular/core';
66
+ import { ButtonModule } from '@exhaustive-ui/core/button';
67
+
68
+ @Component({
69
+ template: `
70
+ <div class="card flex justify-center">
71
+ <p-button label="Submit" />
72
+ </div>
73
+ `,
74
+ standalone: true,
75
+ imports: [ButtonModule]
76
+ })
77
+ export class ButtonBasicDemo {
78
+ }
79
+ ```
80
+
81
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
82
+
83
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/button.md
@@ -0,0 +1,49 @@
1
+ # Card
2
+
3
+ Card is a flexible container component.
4
+
5
+ ```typescript
6
+ import { Card } from '@exhaustive-ui/core/card'; // standalone; or CardModule for all its parts
7
+ ```
8
+
9
+ ## `p-card`: Card
10
+
11
+ Inputs:
12
+ - `header`: `string | undefined`: Header of the card.
13
+ - `style`: `{ [klass: string]: any; } | null | undefined`: Inline style of the element.
14
+ - Other inputs: `subheader`.
15
+
16
+ Templates (`<ng-template #name let-…>` inside the element):
17
+ - `#header`: no context. Custom header template.
18
+ - `#title`: no context. Custom title template.
19
+ - `#subtitle`: no context. Custom subtitle template.
20
+ - `#content`: no context. Custom content template.
21
+ - `#footer`: no context. Custom footer template.
22
+
23
+ ## Example: Basic
24
+
25
+ ```typescript
26
+ import { Component } from '@angular/core';
27
+ import { CardModule } from '@exhaustive-ui/core/card';
28
+
29
+ @Component({
30
+ template: `
31
+ <div class="mb-4 p-8">
32
+ <p-card header="Simple Card">
33
+ <p class="m-0">
34
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
35
+ quas!
36
+ </p>
37
+ </p-card>
38
+ </div>
39
+ `,
40
+ standalone: true,
41
+ imports: [CardModule]
42
+ })
43
+ export class CardBasicDemo {
44
+ }
45
+ ```
46
+
47
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
48
+
49
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/card.md
@@ -0,0 +1,101 @@
1
+ # Carousel
2
+
3
+ Carousel is a content slider featuring various customization options.
4
+
5
+ ```typescript
6
+ import { Carousel } from '@exhaustive-ui/core/carousel'; // standalone; or CarouselModule for all its parts
7
+ ```
8
+
9
+ ## `p-carousel`: Carousel
10
+
11
+ Inputs:
12
+ - `autoplayInterval`: `number` = `0`: Time in milliseconds to scroll items automatically.
13
+ - `circular`: `boolean` = `false`: Defines if scrolling would be infinite.
14
+ - `contentClass`: `string` = `''`: Style class of main content.
15
+ - `numScroll`: `number` = `1`: Number of items to scroll.
16
+ - `numVisible`: `number` = `1`: Number of items per page.
17
+ - `orientation`: `"vertical" | "horizontal"` = `'horizontal'`: Specifies the layout of the component.
18
+ - `responsiveOptions`: `CarouselResponsiveOptions[] | undefined`: An array of options for responsive design.
19
+ - `value`: `any[] | null | undefined`: An array of objects to display.
20
+ - `verticalViewPortHeight`: `string` = `'300px'`: Height of the viewport in vertical layout.
21
+ - Other inputs: `indicatorsContentClass`, `indicatorsContentStyle`, `indicatorStyle`, `indicatorStyleClass`, `nextButtonProps`, `page`, `prevButtonProps`, `showIndicators`, `showNavigators`.
22
+
23
+ Outputs:
24
+ - `(onPage)`: `CarouselPageEvent`
25
+
26
+ Templates (`<ng-template #name let-…>` inside the element):
27
+ - `#item`: context { $implicit: T }. Custom item template.
28
+ - `#header`: no context. Custom header template.
29
+ - `#footer`: no context. Custom footer template.
30
+ - `#previousicon`: no context. Custom previous icon template.
31
+ - `#nexticon`: no context. Custom next icon template.
32
+
33
+ Read a context with `let-`: `<ng-template #item let-item>` (`$implicit` is the bare `let-x`).
34
+
35
+ ## Example: Vertical
36
+
37
+ ```typescript
38
+ import { CommonModule } from '@angular/common';
39
+ import { Component, inject, OnInit, signal } from '@angular/core';
40
+ import { ButtonModule } from '@exhaustive-ui/core/button';
41
+ import { CarouselModule } from '@exhaustive-ui/core/carousel';
42
+ import { TagModule } from '@exhaustive-ui/core/tag';
43
+ import { Product } from '@/domain/product';
44
+ import { ProductService } from '@/service/productservice';
45
+
46
+ @Component({
47
+ template: `
48
+ <div class="card">
49
+ <p-carousel [value]="products()" [numVisible]="1" [numScroll]="1" orientation="vertical" verticalViewPortHeight="330px" contentClass="flex items-center">
50
+ <ng-template let-product #item>
51
+ <div class="border border-surface-200 dark:border-surface-700 rounded-sm m-2 p-4">
52
+ <div class="mb-4">
53
+ <div class="relative mx-auto">
54
+ <img src="https://exhaustive-ui.com/demo/product/{{ product.image }}" [alt]="product.name" class="w-full rounded-sm" />
55
+ <p-tag [value]="product.inventoryStatus" [severity]="getSeverity(product.inventoryStatus)" class="absolute dark:bg-surface-900!" [ngStyle]="{ 'left.px': 5, 'top.px': 5 }" />
56
+ </div>
57
+ </div>
58
+ <div class="mb-4 font-medium">{{ product.name }}</div>
59
+ <div class="flex justify-between items-center">
60
+ <div class="mt-0 font-semibold text-xl">{{ '$' + product.price }}</div>
61
+ <span>
62
+ <p-button icon="pi pi-heart" ariaLabel="Add to favorites" severity="secondary" [outlined]="true" />
63
+ <p-button icon="pi pi-shopping-cart" ariaLabel="Add to cart" styleClass="ml-2" />
64
+ </span>
65
+ </div>
66
+ </div>
67
+ </ng-template>
68
+ </p-carousel>
69
+ </div>
70
+ `,
71
+ standalone: true,
72
+ imports: [CommonModule, CarouselModule, ButtonModule, TagModule],
73
+ providers: [ProductService]
74
+ })
75
+ export class CarouselVerticalDemo implements OnInit {
76
+ private productService = inject(ProductService);
77
+
78
+ products = signal<Product[]>([]);
79
+
80
+ ngOnInit() {
81
+ this.productService.getProductsSmall().then((products) => {
82
+ this.products.set(products);
83
+ });
84
+ }
85
+
86
+ getSeverity(status: string) {
87
+ switch (status) {
88
+ case 'INSTOCK':
89
+ return 'success';
90
+ case 'LOWSTOCK':
91
+ return 'warn';
92
+ case 'OUTOFSTOCK':
93
+ return 'danger';
94
+ }
95
+ }
96
+ }
97
+ ```
98
+
99
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
100
+
101
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/carousel.md
@@ -0,0 +1,77 @@
1
+ # CascadeSelect
2
+
3
+ CascadeSelect is a form component to select a value from a nested structure of options.
4
+
5
+ ```typescript
6
+ import { CascadeSelect } from '@exhaustive-ui/core/cascadeselect'; // standalone; or CascadeSelectModule for all its parts
7
+ ```
8
+
9
+ ## `p-cascade-select` (also `p-cascadeSelect`, `p-cascadeselect`, legacy): CascadeSelect
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
+ - `fluid`: `boolean | undefined`: Spans 100% width of the container when enabled.
16
+ - `inputId`: `string | undefined`: Identifier of the underlying input element.
17
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
18
+ - `loading`: `boolean | undefined` = `false`: Whether the dropdown is in loading state.
19
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
20
+ - `optionGroupChildren`: `string | string[] | null | undefined`: Property name or getter function to retrieve the items of a group.
21
+ - `optionGroupLabel`: `string | undefined`: Property name or getter function to use as the label of an option group.
22
+ - `optionLabel`: `string | undefined`: Property name or getter function to use as the label of an option.
23
+ - `options`: `any[] | null | undefined`: An array of selectitems to display as the available options.
24
+ - `optionValue`: `string | undefined`: Property name or getter function to use as the value of an option, defaults to the option itself when not defined.
25
+ - `placeholder`: `string | undefined`: Default text to display when no option is selected.
26
+ - `required`: `boolean | undefined`: There must be a value (if set).
27
+ - `showClear`: `boolean` = `false`: When enabled, a clear icon is displayed to clear the value.
28
+ - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
29
+ - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
30
+ - Other inputs: `appendTo`, `ariaLabel`, `ariaLabelledBy`, `autofocus`, `autoOptionFocus`, `breakpoint`, `dataKey`, `emptySearchMessage`, `emptySelectionMessage`, `focusOnHover`, `id`, `loadingIcon`, `motionOptions`, `optionDisabled`, `overlayOptions`, `panelStyle`, `panelStyleClass`, `searchLocale`, `searchMessage`, `selectionMessage`, `selectOnFocus`, `tabindex`, `value`.
31
+
32
+ Outputs:
33
+ - `(onBeforeHide)`: `CascadeSelectBeforeHideEvent`
34
+ - `(onBeforeShow)`: `CascadeSelectBeforeShowEvent`
35
+ - `(onBlur)`: `FocusEvent`
36
+ - `(onChange)`: `CascadeSelectChangeEvent`
37
+ - `(onClear)`: `any`
38
+ - `(onFocus)`: `FocusEvent`
39
+ - `(onGroupChange)`: `Event`
40
+ - `(onHide)`: `CascadeSelectHideEvent`
41
+ - `(onShow)`: `CascadeSelectShowEvent`
42
+ - `(valueChange)`: `any`
43
+
44
+ Templates (`<ng-template #name let-…>` inside the element):
45
+ - `#value`: context { $implicit: T, placeholder: string }. Custom value template.
46
+ - `#option`: context { $implicit: T, level: number }. Custom option template.
47
+ - `#header`: no context. Custom header template.
48
+ - `#footer`: no context. Custom footer template.
49
+ - `#triggericon`: no context. Custom trigger icon template.
50
+ - `#loadingicon`: no context. Custom loading icon template.
51
+ - `#optiongroupicon`: no context. Custom option group icon template.
52
+ - `#clearicon`: no context. Custom clear icon template.
53
+
54
+ Read a context with `let-`: `<ng-template #value let-item let-placeholder="placeholder">` (`$implicit` is the bare `let-x`).
55
+
56
+ ## Example: Disabled
57
+
58
+ ```typescript
59
+ import { Component } from '@angular/core';
60
+ import { CascadeSelectModule } from '@exhaustive-ui/core/cascadeselect';
61
+
62
+ @Component({
63
+ template: `
64
+ <div class="card flex justify-center">
65
+ <p-cascade-select [disabled]="true" placeholder="Disabled" [style]="{ minWidth: '14rem' }" />
66
+ </div>
67
+ `,
68
+ standalone: true,
69
+ imports: [CascadeSelectModule]
70
+ })
71
+ export class CascadeselectDisabledDemo {
72
+ }
73
+ ```
74
+
75
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
76
+
77
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/cascadeselect.md
@@ -0,0 +1,105 @@
1
+ # Chart
2
+
3
+ Chart groups a collection of contents in tabs.
4
+
5
+ ```typescript
6
+ import { UIChart } from '@exhaustive-ui/core/chart'; // standalone; or ChartModule for all its parts
7
+ ```
8
+
9
+ ## `p-chart`: UIChart
10
+
11
+ Inputs:
12
+ - `ariaLabel`: `string | undefined`: Used to define a string that autocomplete attribute the current element.
13
+ - `data`: `any`: Data to display.
14
+ - `options`: `any` = `{}`: Options to customize the chart.
15
+ - `type`: `"bar" | "line" | "scatter" | "bubble" | "pie" | "doughnut" | "polarArea" | "radar" | undefined`: Type of the chart.
16
+ - Other inputs: `ariaLabelledBy`, `height`, `plugins`, `responsive`, `width`.
17
+
18
+ Outputs:
19
+ - `(onDataSelect)`: `ChartDataSelectEvent`
20
+
21
+ ## Example: Basic
22
+
23
+ ```typescript
24
+ import { isPlatformBrowser } from '@angular/common';
25
+ import { Component, inject, OnInit, PLATFORM_ID } from '@angular/core';
26
+ import { ChartModule } from '@exhaustive-ui/core/chart';
27
+
28
+ @Component({
29
+ template: `
30
+ <div class="card">
31
+ <p-chart type="bar" ariaLabel="Bar chart of sales by quarter" [data]="basicData" [options]="basicOptions" />
32
+ </div>
33
+ `,
34
+ standalone: true,
35
+ imports: [ChartModule]
36
+ })
37
+ export class ChartBasicDemo implements OnInit {
38
+ basicData: any;
39
+
40
+ basicOptions: any;
41
+
42
+ platformId = inject(PLATFORM_ID);
43
+
44
+ ngOnInit() {
45
+ this.initChart();
46
+ }
47
+
48
+ initChart() {
49
+ if (isPlatformBrowser(this.platformId)) {
50
+ const documentStyle = getComputedStyle(document.documentElement);
51
+ const textColor = documentStyle.getPropertyValue('--p-text-color');
52
+ const textColorSecondary = documentStyle.getPropertyValue('--p-text-muted-color');
53
+ const surfaceBorder = documentStyle.getPropertyValue('--p-content-border-color');
54
+
55
+ this.basicData = {
56
+ labels: ['Q1', 'Q2', 'Q3', 'Q4'],
57
+ datasets: [
58
+ {
59
+ label: 'Sales',
60
+ data: [540, 325, 702, 620],
61
+ backgroundColor: ['rgba(249, 115, 22, 0.2)', 'rgba(6, 182, 212, 0.2)', 'rgb(107, 114, 128, 0.2)', 'rgba(139, 92, 246, 0.2)'],
62
+ borderColor: ['rgb(249, 115, 22)', 'rgb(6, 182, 212)', 'rgb(107, 114, 128)', 'rgb(139, 92, 246)'],
63
+ borderWidth: 1
64
+ }
65
+ ]
66
+ };
67
+
68
+ this.basicOptions = {
69
+ maintainAspectRatio: false,
70
+ aspectRatio: 0.8,
71
+ plugins: {
72
+ legend: {
73
+ labels: {
74
+ color: textColor
75
+ }
76
+ }
77
+ },
78
+ scales: {
79
+ x: {
80
+ ticks: {
81
+ color: textColorSecondary
82
+ },
83
+ grid: {
84
+ color: surfaceBorder
85
+ }
86
+ },
87
+ y: {
88
+ beginAtZero: true,
89
+ ticks: {
90
+ color: textColorSecondary
91
+ },
92
+ grid: {
93
+ color: surfaceBorder
94
+ }
95
+ }
96
+ }
97
+ };
98
+ }
99
+ }
100
+ }
101
+ ```
102
+
103
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
104
+
105
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/chart.md
@@ -0,0 +1,59 @@
1
+ # Checkbox
2
+
3
+ Checkbox is an extension to standard checkbox element with theming.
4
+
5
+ ```typescript
6
+ import { Checkbox } from '@exhaustive-ui/core/checkbox'; // standalone; or CheckboxModule for all its parts
7
+ ```
8
+
9
+ ## `p-checkbox` (also `p-checkBox`, `p-check-box`, legacy): Checkbox
10
+
11
+ Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
+
13
+ Inputs:
14
+ - `ariaLabel`: `string | undefined`: Used to define a string that labels the input element.
15
+ - `binary`: `boolean | undefined`: Allows to select a boolean value instead of multiple values.
16
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
17
+ - `indeterminate`: `boolean` = `false`: When present, it specifies input state as indeterminate.
18
+ - `inputId`: `string | undefined`: Identifier of the focus input to match a label defined for the component.
19
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
20
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
21
+ - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
22
+ - `value`: `any`: Value of the checkbox.
23
+ - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
24
+ - Other inputs: `ariaLabelledBy`, `autofocus`, `checkboxIcon`, `falseValue`, `formControl`, `hostName`, `inputClass`, `inputStyle`, `readonly`, `required`, `tabindex`, `trueValue`.
25
+
26
+ Outputs:
27
+ - `(onBlur)`: `Event`
28
+ - `(onChange)`: `CheckboxChangeEvent`
29
+ - `(onFocus)`: `Event`
30
+
31
+ Templates (`<ng-template #name let-…>` inside the element):
32
+ - `#icon`: context { checked: boolean, class: string, dataP: string }. Custom checkbox icon template.
33
+
34
+ Read a context with `let-`: `<ng-template #icon let-checked="checked" let-class="class" let-dataP="dataP">` (`$implicit` is the bare `let-x`).
35
+
36
+ ## Example: Basic
37
+
38
+ ```typescript
39
+ import { Component } from '@angular/core';
40
+ import { FormsModule } from '@angular/forms';
41
+ import { CheckboxModule } from '@exhaustive-ui/core/checkbox';
42
+
43
+ @Component({
44
+ template: `
45
+ <div class="card flex justify-center gap-4">
46
+ <p-checkbox [(ngModel)]="checked" [binary]="true" ariaLabel="Accept" />
47
+ </div>
48
+ `,
49
+ standalone: true,
50
+ imports: [FormsModule, CheckboxModule]
51
+ })
52
+ export class CheckboxBasicDemo {
53
+ checked: any = null;
54
+ }
55
+ ```
56
+
57
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
58
+
59
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/checkbox.md
@@ -0,0 +1,50 @@
1
+ # Chip
2
+
3
+ Chip represents people using icons, labels and images.
4
+
5
+ ```typescript
6
+ import { Chip } from '@exhaustive-ui/core/chip'; // standalone; or ChipModule for all its parts
7
+ ```
8
+
9
+ ## `p-chip`: Chip
10
+
11
+ Inputs:
12
+ - `alt`: `string | undefined`: Alt attribute of the image.
13
+ - `icon`: `string | undefined`: Defines the icon to display.
14
+ - `image`: `string | undefined`: Defines the image to display.
15
+ - `label`: `string | undefined`: Defines the text to display.
16
+ - `removable`: `boolean | undefined` = `false`: Whether to display a remove icon.
17
+ - Other inputs: `chipProps`, `disabled`, `removeIcon`.
18
+
19
+ Outputs:
20
+ - `(onImageError)`: `Event`
21
+ - `(onRemove)`: `MouseEvent`
22
+
23
+ Templates (`<ng-template #name let-…>` inside the element):
24
+ - `#removeicon`: no context. Custom remove icon template.
25
+
26
+ ## Example: Basic
27
+
28
+ ```typescript
29
+ import { Component } from '@angular/core';
30
+ import { ChipModule } from '@exhaustive-ui/core/chip';
31
+
32
+ @Component({
33
+ template: `
34
+ <div class="card flex items-center gap-2 flex-wrap">
35
+ <p-chip label="Action" />
36
+ <p-chip label="Comedy" />
37
+ <p-chip label="Mystery" />
38
+ <p-chip label="Thriller" [removable]="true" />
39
+ </div>
40
+ `,
41
+ standalone: true,
42
+ imports: [ChipModule]
43
+ })
44
+ export class ChipBasicDemo {
45
+ }
46
+ ```
47
+
48
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
49
+
50
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/chip.md
@@ -0,0 +1,91 @@
1
+ # ClassNames
2
+
3
+ PClass directive provides extends class binding functionality.
4
+
5
+ ```typescript
6
+ import { ClassNames } from '@exhaustive-ui/core/classnames'; // standalone; or ClassNamesModule for all its parts
7
+ ```
8
+
9
+ ## `[pClass]`: ClassNames
10
+
11
+ Inputs:
12
+ - `pClass`: `any`: Class value(s) to be applied.
13
+
14
+ ## Example: Examples
15
+
16
+ ```typescript
17
+ import { CommonModule } from '@angular/common';
18
+ import { Component, computed, signal } from '@angular/core';
19
+ import { ClassNamesModule } from '@exhaustive-ui/core/classnames';
20
+
21
+ @Component({
22
+ template: `
23
+ <div class="card">
24
+ <div class="flex justify-between gap-4">
25
+ <div class="flex flex-col gap-4">
26
+ <div class="font-semibold">pClass Directive</div>
27
+ <div class="flex flex-wrap items-center gap-4">
28
+ <div pClass="py-4 px-8 border border-surface rounded-lg">String</div>
29
+ <div [pClass]="['py-4', 'px-8', 'bg-primary text-primary-contrast', 'font-semibold', 'rounded-lg']">Array</div>
30
+ <div [pClass]="['p-4 rounded-lg', ['cursor-pointer', 'select-none', 'border'], { 'bg-primary text-primary-contrast border-primary': active1() }]" (click)="toggle1()">Combined</div>
31
+ <div [pClass]="nestedClasses()" (click)="toggle2()">Nested</div>
32
+ </div>
33
+ </div>
34
+ <div class="flex flex-col gap-4">
35
+ <div class="font-semibold">Native Class Directive</div>
36
+ <div class="flex flex-wrap items-center gap-4">
37
+ <div class="py-4 px-8 border border-surface rounded-lg">String</div>
38
+ <div [class]="['py-4', 'px-8', 'bg-primary', 'text-primary-contrast', 'font-semibold', 'rounded-lg']">Array</div>
39
+ <div
40
+ class="p-4 rounded-lg"
41
+ [class]="['cursor-pointer', 'select-none', 'border']"
42
+ [class.bg-primary]="active1()"
43
+ [class.text-primary-contrast]="active1()"
44
+ [class.border-surface]="active1()"
45
+ [class.border-primary]="active1()"
46
+ (click)="toggle1()"
47
+ >
48
+ Combined
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ `,
55
+ standalone: true,
56
+ imports: [ClassNamesModule, CommonModule]
57
+ })
58
+ export class ClassnamesExamplesDemo {
59
+ active1 = signal<boolean>(false);
60
+
61
+ active2 = signal<boolean>(false);
62
+
63
+ nestedClasses = computed(() => [
64
+ 'p-4',
65
+ 'rounded-lg',
66
+ {
67
+ 'bg-primary text-primary-contrast': this.active2()
68
+ },
69
+ [
70
+ 'cursor-pointer select-none',
71
+ 'border',
72
+ {
73
+ 'bg-primary-100 text-primary-800': !this.active2()
74
+ },
75
+ ['shadow-xs hover:shadow-lg', 'transition-all']
76
+ ]
77
+ ]);
78
+
79
+ toggle1() {
80
+ this.active1.set(!this.active1());
81
+ }
82
+
83
+ toggle2() {
84
+ this.active2.set(!this.active2());
85
+ }
86
+ }
87
+ ```
88
+
89
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
90
+
91
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/classnames.md
@@ -0,0 +1,52 @@
1
+ # ColorPicker
2
+
3
+ ColorPicker groups a collection of contents in tabs.
4
+
5
+ ```typescript
6
+ import { ColorPicker } from '@exhaustive-ui/core/colorpicker'; // standalone; or ColorPickerModule for all its parts
7
+ ```
8
+
9
+ ## `p-color-picker` (also `p-colorPicker`, `p-colorpicker`, legacy): ColorPicker
10
+
11
+ Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
+
13
+ Inputs:
14
+ - `defaultColor`: `string | undefined` = `'ff0000'`: Default color to display initially when model value is not present.
15
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
16
+ - `format`: `"hex" | "rgb" | "hsb"` = `'hex'`: Format to use in value binding.
17
+ - `inline`: `boolean | undefined`: Whether to display as an overlay or not.
18
+ - `inputId`: `string | undefined`: Identifier of the focus input to match a label defined for the dropdown.
19
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
20
+ - `required`: `boolean | undefined`: There must be a value (if set).
21
+ - Other inputs: `appendTo`, `autofocus`, `autoZIndex`, `invalid`, `motionOptions`, `overlayOptions`, `tabindex`.
22
+
23
+ Outputs:
24
+ - `(onChange)`: `ColorPickerChangeEvent`
25
+ - `(onHide)`: `any`
26
+ - `(onShow)`: `any`
27
+
28
+ ## Example: Basic
29
+
30
+ ```typescript
31
+ import { Component } from '@angular/core';
32
+ import { CommonModule } from '@angular/common';
33
+ import { FormsModule } from '@angular/forms';
34
+ import { ColorPickerModule } from '@exhaustive-ui/core/colorpicker';
35
+
36
+ @Component({
37
+ template: `
38
+ <div class="card flex justify-center">
39
+ <p-color-picker [(ngModel)]="color" />
40
+ </div>
41
+ `,
42
+ standalone: true,
43
+ imports: [CommonModule, FormsModule, ColorPickerModule]
44
+ })
45
+ export class ColorpickerBasicDemo {
46
+ color: string | undefined;
47
+ }
48
+ ```
49
+
50
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
51
+
52
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/colorpicker.md