@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.
- package/README.md +13 -1
- package/data/cards/accordion.md +91 -0
- package/data/cards/animateonscroll.md +155 -0
- package/data/cards/autocomplete.md +109 -0
- package/data/cards/autofocus.md +36 -0
- package/data/cards/avatar.md +45 -0
- package/data/cards/badge.md +44 -0
- package/data/cards/blockui.md +51 -0
- package/data/cards/breadcrumb.md +56 -0
- package/data/cards/button.md +83 -0
- package/data/cards/card.md +49 -0
- package/data/cards/carousel.md +101 -0
- package/data/cards/cascadeselect.md +77 -0
- package/data/cards/chart.md +105 -0
- package/data/cards/checkbox.md +59 -0
- package/data/cards/chip.md +50 -0
- package/data/cards/classnames.md +91 -0
- package/data/cards/colorpicker.md +52 -0
- package/data/cards/confirmdialog.md +119 -0
- package/data/cards/confirmpopup.md +96 -0
- package/data/cards/contextmenu.md +60 -0
- package/data/cards/dataview.md +134 -0
- package/data/cards/datepicker.md +103 -0
- package/data/cards/dialog.md +89 -0
- package/data/cards/divider.md +55 -0
- package/data/cards/dock.md +106 -0
- package/data/cards/dragdrop.md +106 -0
- package/data/cards/drawer.md +62 -0
- package/data/cards/dynamicdialog.md +103 -0
- package/data/cards/editor.md +55 -0
- package/data/cards/fieldset.md +54 -0
- package/data/cards/fileinput.md +72 -0
- package/data/cards/fileupload.md +88 -0
- package/data/cards/floatlabel.md +41 -0
- package/data/cards/fluid.md +49 -0
- package/data/cards/focustrap.md +64 -0
- package/data/cards/galleria.md +94 -0
- package/data/cards/iconfield.md +45 -0
- package/data/cards/iftalabel.md +38 -0
- package/data/cards/image.md +58 -0
- package/data/cards/imagecompare.md +45 -0
- package/data/cards/inplace.md +56 -0
- package/data/cards/inputgroup.md +77 -0
- package/data/cards/inputmask.md +71 -0
- package/data/cards/inputnumber.md +78 -0
- package/data/cards/inputotp.md +60 -0
- package/data/cards/inputtext.md +41 -0
- package/data/cards/keyfilter.md +49 -0
- package/data/cards/knob.md +55 -0
- package/data/cards/listbox.md +105 -0
- package/data/cards/megamenu.md +96 -0
- package/data/cards/menu.md +64 -0
- package/data/cards/menubar.md +102 -0
- package/data/cards/message.md +51 -0
- package/data/cards/metergroup.md +53 -0
- package/data/cards/multiselect.md +115 -0
- package/data/cards/orderlist.md +96 -0
- package/data/cards/organizationchart.md +84 -0
- package/data/cards/overlay.md +63 -0
- package/data/cards/paginator.md +62 -0
- package/data/cards/panel.md +57 -0
- package/data/cards/panelmenu.md +94 -0
- package/data/cards/password.md +81 -0
- package/data/cards/picklist.md +106 -0
- package/data/cards/popover.md +53 -0
- package/data/cards/progressbar.md +42 -0
- package/data/cards/progressspinner.md +38 -0
- package/data/cards/radiobutton.md +52 -0
- package/data/cards/rating.md +56 -0
- package/data/cards/ripple.md +37 -0
- package/data/cards/scroller.md +32 -0
- package/data/cards/scrollpanel.md +50 -0
- package/data/cards/scrolltop.md +48 -0
- package/data/cards/select.md +108 -0
- package/data/cards/selectbutton.md +64 -0
- package/data/cards/skeleton.md +54 -0
- package/data/cards/slider.md +52 -0
- package/data/cards/speeddial.md +102 -0
- package/data/cards/splitbutton.md +96 -0
- package/data/cards/splitter.md +52 -0
- package/data/cards/stepper.md +125 -0
- package/data/cards/styleclass.md +46 -0
- package/data/cards/table.md +305 -0
- package/data/cards/tabs.md +97 -0
- package/data/cards/tag.md +41 -0
- package/data/cards/terminal.md +76 -0
- package/data/cards/textarea.md +45 -0
- package/data/cards/tieredmenu.md +121 -0
- package/data/cards/timeline.md +58 -0
- package/data/cards/toast.md +58 -0
- package/data/cards/togglebutton.md +59 -0
- package/data/cards/toggleswitch.md +52 -0
- package/data/cards/toolbar.md +74 -0
- package/data/cards/tooltip.md +43 -0
- package/data/cards/tree.md +93 -0
- package/data/cards/treeselect.md +98 -0
- package/data/cards/treetable.md +231 -0
- package/data/components/accordion.md +31 -23
- package/data/components/animateonscroll.md +18 -15
- package/data/components/autocomplete.md +162 -93
- package/data/components/autofocus.md +9 -7
- package/data/components/avatar.md +56 -43
- package/data/components/badge.md +27 -18
- package/data/components/blockui.md +15 -8
- package/data/components/breadcrumb.md +20 -14
- package/data/components/button.md +121 -94
- package/data/components/card.md +12 -10
- package/data/components/carousel.md +75 -53
- package/data/components/cascadeselect.md +271 -238
- package/data/components/chart.md +88 -74
- package/data/components/checkbox.md +107 -97
- package/data/components/chip.md +20 -16
- package/data/components/classnames.md +22 -4
- package/data/components/colorpicker.md +54 -36
- package/data/components/confirmdialog.md +146 -43
- package/data/components/confirmpopup.md +95 -22
- package/data/components/contextmenu.md +110 -39
- package/data/components/dataview.md +176 -83
- package/data/components/datepicker.md +171 -141
- package/data/components/dialog.md +80 -68
- package/data/components/divider.md +17 -12
- package/data/components/dock.md +65 -29
- package/data/components/dragdrop.md +26 -12
- package/data/components/drawer.md +67 -48
- package/data/components/dynamicdialog.md +22 -13
- package/data/components/editor.md +42 -33
- package/data/components/fieldset.md +20 -17
- package/data/components/fileinput.md +92 -35
- package/data/components/fileupload.md +101 -61
- package/data/components/floatlabel.md +20 -11
- package/data/components/fluid.md +11 -9
- package/data/components/focustrap.md +11 -7
- package/data/components/galleria.md +231 -90
- package/data/components/iconfield.md +23 -15
- package/data/components/iftalabel.md +15 -9
- package/data/components/image.md +31 -26
- package/data/components/imagecompare.md +8 -6
- package/data/components/inplace.md +27 -22
- package/data/components/inputgroup.md +53 -29
- package/data/components/inputmask.md +107 -85
- package/data/components/inputnumber.md +128 -90
- package/data/components/inputotp.md +55 -42
- package/data/components/inputtext.md +72 -50
- package/data/components/keyfilter.md +6 -3
- package/data/components/knob.md +70 -58
- package/data/components/listbox.md +171 -141
- package/data/components/llms.md +4 -0
- package/data/components/megamenu.md +24 -23
- package/data/components/menu.md +37 -34
- package/data/components/menubar.md +27 -22
- package/data/components/message.md +44 -32
- package/data/components/metergroup.md +48 -17
- package/data/components/multiselect.md +232 -168
- package/data/components/orderlist.md +55 -48
- package/data/components/organizationchart.md +182 -13
- package/data/components/overlay.md +31 -26
- package/data/components/paginator.md +49 -34
- package/data/components/panel.md +23 -19
- package/data/components/panelmenu.md +51 -25
- package/data/components/password.md +104 -91
- package/data/components/picklist.md +93 -71
- package/data/components/popover.md +68 -46
- package/data/components/progressbar.md +28 -22
- package/data/components/progressspinner.md +13 -11
- package/data/components/radiobutton.md +69 -35
- package/data/components/rating.md +48 -40
- package/data/components/ripple.md +8 -6
- package/data/components/scroller.md +29 -29
- package/data/components/scrollpanel.md +9 -7
- package/data/components/scrolltop.md +20 -18
- package/data/components/select.md +248 -169
- package/data/components/selectbutton.md +118 -56
- package/data/components/skeleton.md +22 -18
- package/data/components/slider.md +73 -49
- package/data/components/speeddial.md +77 -59
- package/data/components/splitbutton.md +354 -329
- package/data/components/splitter.md +22 -18
- package/data/components/stepper.md +38 -21
- package/data/components/styleclass.md +12 -6
- package/data/components/table.md +524 -315
- package/data/components/tabs.md +44 -26
- package/data/components/tag.md +18 -14
- package/data/components/terminal.md +38 -27
- package/data/components/textarea.md +82 -47
- package/data/components/tieredmenu.md +34 -29
- package/data/components/timeline.md +29 -28
- package/data/components/toast.md +115 -57
- package/data/components/togglebutton.md +53 -39
- package/data/components/toggleswitch.md +41 -28
- package/data/components/toolbar.md +19 -18
- package/data/components/tooltip.md +43 -32
- package/data/components/tree.md +114 -81
- package/data/components/treeselect.md +176 -174
- package/data/components/treetable.md +1250 -1045
- package/data/components.json +4134 -4088
- package/data/llms-full.txt +8979 -6437
- package/data/llms.txt +100 -96
- package/data/manifest.json +183 -15
- package/data/pages/llms.md +29 -0
- package/data/pages/tailwind.md +20 -10
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +37 -2
- package/dist/index.mjs +1395 -1079
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,9 +14,10 @@ A group is created by wrapping the input and add-ons with the p-input-group comp
|
|
|
14
14
|
import { Component } from '@angular/core';
|
|
15
15
|
import { FormsModule } from '@angular/forms';
|
|
16
16
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
17
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
18
|
+
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
17
19
|
import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
|
|
18
20
|
import { SelectModule } from '@exhaustive-ui/core/select';
|
|
19
|
-
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
20
21
|
|
|
21
22
|
interface City {
|
|
22
23
|
name: string;
|
|
@@ -50,14 +51,24 @@ interface City {
|
|
|
50
51
|
</div>
|
|
51
52
|
`,
|
|
52
53
|
standalone: true,
|
|
53
|
-
imports: [
|
|
54
|
+
imports: [FormsModule, InputGroupModule, InputGroupAddonModule, InputTextModule, InputNumberModule, SelectModule]
|
|
54
55
|
})
|
|
55
56
|
export class InputgroupBasicDemo {
|
|
56
57
|
text1: string | undefined;
|
|
58
|
+
|
|
57
59
|
text2: string | undefined;
|
|
60
|
+
|
|
58
61
|
number: string | undefined;
|
|
62
|
+
|
|
59
63
|
selectedCity: City | undefined;
|
|
60
|
-
|
|
64
|
+
|
|
65
|
+
cities: City[] = [
|
|
66
|
+
{ name: 'New York', code: 'NY' },
|
|
67
|
+
{ name: 'Rome', code: 'RM' },
|
|
68
|
+
{ name: 'London', code: 'LDN' },
|
|
69
|
+
{ name: 'Istanbul', code: 'IST' },
|
|
70
|
+
{ name: 'Paris', code: 'PRS' }
|
|
71
|
+
];
|
|
61
72
|
}
|
|
62
73
|
```
|
|
63
74
|
|
|
@@ -66,12 +77,13 @@ export class InputgroupBasicDemo {
|
|
|
66
77
|
Buttons can be placed at either side of an input element.
|
|
67
78
|
|
|
68
79
|
```typescript
|
|
69
|
-
import { Component
|
|
70
|
-
import {
|
|
80
|
+
import { Component } from '@angular/core';
|
|
81
|
+
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
71
82
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
72
|
-
import {
|
|
83
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
73
84
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
74
|
-
import {
|
|
85
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
86
|
+
import { MenuModule } from '@exhaustive-ui/core/menu';
|
|
75
87
|
|
|
76
88
|
@Component({
|
|
77
89
|
template: `
|
|
@@ -83,25 +95,25 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
83
95
|
<p-input-group>
|
|
84
96
|
<input pInputText placeholder="Keyword" />
|
|
85
97
|
<p-input-group-addon>
|
|
86
|
-
<p-button icon="pi pi-search" severity="secondary" variant="text" (click)="menu.toggle($event)" />
|
|
98
|
+
<p-button icon="pi pi-search" ariaLabel="Search options" severity="secondary" variant="text" (click)="menu.toggle($event)" />
|
|
87
99
|
</p-input-group-addon>
|
|
88
100
|
</p-input-group>
|
|
89
101
|
<p-menu #menu [model]="items" popup styleClass="min-w-fit!" />
|
|
90
102
|
<p-input-group>
|
|
91
103
|
<p-input-group-addon>
|
|
92
|
-
<p-button icon="pi pi-check" severity="secondary" />
|
|
104
|
+
<p-button icon="pi pi-check" ariaLabel="Vote yes" severity="secondary" />
|
|
93
105
|
</p-input-group-addon>
|
|
94
106
|
<input pInputText placeholder="Vote" />
|
|
95
107
|
<p-input-group-addon>
|
|
96
|
-
<p-button icon="pi pi-times" severity="secondary" />
|
|
108
|
+
<p-button icon="pi pi-times" ariaLabel="Vote no" severity="secondary" />
|
|
97
109
|
</p-input-group-addon>
|
|
98
110
|
</p-input-group>
|
|
99
111
|
</div>
|
|
100
112
|
`,
|
|
101
113
|
standalone: true,
|
|
102
|
-
imports: [
|
|
114
|
+
imports: [InputGroupModule, InputGroupAddonModule, InputTextModule, ButtonModule, MenuModule]
|
|
103
115
|
})
|
|
104
|
-
export class InputgroupButtonDemo
|
|
116
|
+
export class InputgroupButtonDemo {
|
|
105
117
|
items: MenuItem[] | undefined;
|
|
106
118
|
|
|
107
119
|
ngOnInit() {
|
|
@@ -117,36 +129,40 @@ Checkbox and RadioButton components can be combined with an input element under
|
|
|
117
129
|
```typescript
|
|
118
130
|
import { Component } from '@angular/core';
|
|
119
131
|
import { FormsModule } from '@angular/forms';
|
|
120
|
-
import { CheckboxModule } from '@exhaustive-ui/core/checkbox';
|
|
121
132
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
122
|
-
import {
|
|
133
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
123
134
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
135
|
+
import { CheckboxModule } from '@exhaustive-ui/core/checkbox';
|
|
136
|
+
import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
|
|
124
137
|
|
|
125
138
|
@Component({
|
|
126
139
|
template: `
|
|
127
140
|
<div class="card flex flex-col md:flex-row gap-4">
|
|
128
141
|
<p-input-group>
|
|
129
142
|
<input type="text" pInputText placeholder="Price" />
|
|
130
|
-
<p-input-group-addon><p-radio-button [(ngModel)]="radioValue1" name="rb1" value="rb1" /></p-input-group-addon>
|
|
143
|
+
<p-input-group-addon><p-radio-button [(ngModel)]="radioValue1" name="rb1" value="rb1" ariaLabel="Select price" /></p-input-group-addon>
|
|
131
144
|
</p-input-group>
|
|
132
145
|
<p-input-group>
|
|
133
|
-
<p-input-group-addon><p-checkbox [(ngModel)]="checked1" [binary]="true" /></p-input-group-addon>
|
|
146
|
+
<p-input-group-addon><p-checkbox [(ngModel)]="checked1" [binary]="true" ariaLabel="Enable username" /></p-input-group-addon>
|
|
134
147
|
<input type="text" pInputText placeholder="Username" />
|
|
135
148
|
</p-input-group>
|
|
136
149
|
<p-input-group>
|
|
137
|
-
<p-input-group-addon><p-checkbox [(ngModel)]="checked2" [binary]="true" /></p-input-group-addon>
|
|
150
|
+
<p-input-group-addon><p-checkbox [(ngModel)]="checked2" [binary]="true" ariaLabel="Enable website" /></p-input-group-addon>
|
|
138
151
|
<input type="text" pInputText placeholder="Website" />
|
|
139
|
-
<p-input-group-addon><p-radio-button name="rb2" value="rb2" [(ngModel)]="category" /></p-input-group-addon>
|
|
152
|
+
<p-input-group-addon><p-radio-button name="rb2" value="rb2" [(ngModel)]="category" ariaLabel="Select website" /></p-input-group-addon>
|
|
140
153
|
</p-input-group>
|
|
141
154
|
</div>
|
|
142
155
|
`,
|
|
143
156
|
standalone: true,
|
|
144
|
-
imports: [
|
|
157
|
+
imports: [FormsModule, InputGroupModule, InputGroupAddonModule, InputTextModule, CheckboxModule, RadioButtonModule]
|
|
145
158
|
})
|
|
146
159
|
export class InputgroupCheckboxDemo {
|
|
147
160
|
radioValue1: boolean = false;
|
|
161
|
+
|
|
148
162
|
checked1: boolean = false;
|
|
163
|
+
|
|
149
164
|
checked2: boolean = false;
|
|
165
|
+
|
|
150
166
|
category: string | undefined;
|
|
151
167
|
}
|
|
152
168
|
```
|
|
@@ -158,9 +174,11 @@ FloatLabel visually integrates a label with its form element. Visit FloatLabel d
|
|
|
158
174
|
```typescript
|
|
159
175
|
import { Component } from '@angular/core';
|
|
160
176
|
import { FormsModule } from '@angular/forms';
|
|
161
|
-
import {
|
|
177
|
+
import { RouterModule } from '@angular/router';
|
|
162
178
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
179
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
163
180
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
181
|
+
import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
|
|
164
182
|
|
|
165
183
|
@Component({
|
|
166
184
|
template: `
|
|
@@ -192,11 +210,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
192
210
|
</div>
|
|
193
211
|
`,
|
|
194
212
|
standalone: true,
|
|
195
|
-
imports: [
|
|
213
|
+
imports: [FormsModule, RouterModule, InputGroupModule, InputGroupAddonModule, InputTextModule, FloatLabelModule]
|
|
196
214
|
})
|
|
197
215
|
export class InputgroupFloatlabelDemo {
|
|
198
216
|
value1: string | undefined;
|
|
217
|
+
|
|
199
218
|
value2: string | undefined;
|
|
219
|
+
|
|
200
220
|
value3: string | undefined;
|
|
201
221
|
}
|
|
202
222
|
```
|
|
@@ -208,9 +228,11 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
|
|
|
208
228
|
```typescript
|
|
209
229
|
import { Component } from '@angular/core';
|
|
210
230
|
import { FormsModule } from '@angular/forms';
|
|
211
|
-
import {
|
|
231
|
+
import { RouterModule } from '@angular/router';
|
|
212
232
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
233
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
213
234
|
import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
|
|
235
|
+
import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
|
|
214
236
|
|
|
215
237
|
@Component({
|
|
216
238
|
template: `
|
|
@@ -227,7 +249,7 @@ import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
|
|
|
227
249
|
</div>
|
|
228
250
|
`,
|
|
229
251
|
standalone: true,
|
|
230
|
-
imports: [
|
|
252
|
+
imports: [FormsModule, RouterModule, InputGroupModule, InputGroupAddonModule, InputNumberModule, IftaLabelModule]
|
|
231
253
|
})
|
|
232
254
|
export class InputgroupIftalabelDemo {
|
|
233
255
|
value: number = 10;
|
|
@@ -241,6 +263,7 @@ Multiple add-ons can be placed inside the same group.
|
|
|
241
263
|
```typescript
|
|
242
264
|
import { Component } from '@angular/core';
|
|
243
265
|
import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
|
|
266
|
+
import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
|
|
244
267
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
245
268
|
|
|
246
269
|
@Component({
|
|
@@ -260,9 +283,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
260
283
|
</div>
|
|
261
284
|
`,
|
|
262
285
|
standalone: true,
|
|
263
|
-
imports: [InputGroupModule, InputTextModule]
|
|
286
|
+
imports: [InputGroupModule, InputGroupAddonModule, InputTextModule]
|
|
264
287
|
})
|
|
265
|
-
export class InputgroupMultipleDemo {
|
|
288
|
+
export class InputgroupMultipleDemo {
|
|
289
|
+
}
|
|
266
290
|
```
|
|
267
291
|
|
|
268
292
|
## Input Group
|
|
@@ -273,10 +297,10 @@ InputGroup displays text, icon, buttons and other content can be grouped next to
|
|
|
273
297
|
|
|
274
298
|
| Name | Type | Default | Description |
|
|
275
299
|
|------|------|---------|-------------|
|
|
276
|
-
| dt |
|
|
277
|
-
| unstyled |
|
|
278
|
-
| pt |
|
|
279
|
-
| ptOptions |
|
|
300
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
301
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
302
|
+
| pt | InputGroupPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
303
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
280
304
|
|
|
281
305
|
## Pass Through Options
|
|
282
306
|
|