@exhaustive-ui/mcp 22.5.0 → 22.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/cards/accordion.md +5 -2
- package/data/cards/animateonscroll.md +8 -5
- package/data/cards/autocomplete.md +8 -3
- package/data/cards/autofocus.md +4 -2
- package/data/cards/avatar.md +4 -2
- package/data/cards/badge.md +2 -1
- package/data/cards/breadcrumb.md +3 -1
- package/data/cards/button.md +8 -2
- package/data/cards/card.md +2 -1
- package/data/cards/carousel.md +7 -5
- package/data/cards/cascadeselect.md +2 -6
- package/data/cards/chart.md +9 -7
- package/data/cards/checkbox.md +4 -3
- package/data/cards/chip.md +2 -1
- package/data/cards/classnames.md +21 -3
- package/data/cards/colorpicker.md +2 -1
- package/data/cards/confirmdialog.md +35 -5
- package/data/cards/confirmpopup.md +25 -3
- package/data/cards/contextmenu.md +1 -7
- package/data/cards/dataview.md +28 -9
- package/data/cards/datepicker.md +4 -3
- package/data/cards/dialog.md +3 -3
- package/data/cards/divider.md +2 -1
- package/data/cards/dock.md +24 -3
- package/data/cards/dragdrop.md +5 -1
- package/data/cards/drawer.md +3 -3
- package/data/cards/dynamicdialog.md +41 -14
- package/data/cards/editor.md +1 -1
- package/data/cards/fieldset.md +2 -1
- package/data/cards/fileinput.md +1 -1
- package/data/cards/fileupload.md +7 -8
- package/data/cards/floatlabel.md +1 -1
- package/data/cards/fluid.md +7 -5
- package/data/cards/focustrap.md +6 -2
- package/data/cards/galleria.md +18 -25
- package/data/cards/iconfield.md +3 -2
- package/data/cards/iftalabel.md +1 -1
- package/data/cards/image.md +4 -2
- package/data/cards/imagecompare.md +4 -3
- package/data/cards/inplace.md +2 -1
- package/data/cards/inputgroup.md +14 -3
- package/data/cards/inputmask.md +2 -2
- package/data/cards/inputnumber.md +4 -3
- package/data/cards/inputotp.md +2 -2
- package/data/cards/inputtext.md +2 -2
- package/data/cards/keyfilter.md +2 -1
- package/data/cards/knob.md +3 -2
- package/data/cards/listbox.md +5 -3
- package/data/cards/megamenu.md +7 -8
- package/data/cards/menu.md +3 -7
- package/data/cards/menubar.md +3 -7
- package/data/cards/message.md +2 -1
- package/data/cards/metergroup.md +3 -7
- package/data/cards/multiselect.md +5 -9
- package/data/cards/orderlist.md +6 -4
- package/data/cards/organizationchart.md +33 -6
- package/data/cards/overlay.md +2 -1
- package/data/cards/paginator.md +2 -1
- package/data/cards/panel.md +2 -1
- package/data/cards/panelmenu.md +4 -13
- package/data/cards/password.md +6 -3
- package/data/cards/picklist.md +9 -5
- package/data/cards/popover.md +6 -5
- package/data/cards/progressbar.md +4 -3
- package/data/cards/progressspinner.md +2 -1
- package/data/cards/radiobutton.md +4 -3
- package/data/cards/rating.md +1 -1
- package/data/cards/ripple.md +2 -1
- package/data/cards/scrollpanel.md +2 -1
- package/data/cards/scrolltop.md +5 -3
- package/data/cards/select.md +2 -1
- package/data/cards/selectbutton.md +6 -2
- package/data/cards/skeleton.md +2 -1
- package/data/cards/slider.md +4 -3
- package/data/cards/speeddial.md +7 -4
- package/data/cards/splitbutton.md +21 -18
- package/data/cards/splitter.md +2 -1
- package/data/cards/stepper.md +8 -3
- package/data/cards/styleclass.md +4 -2
- package/data/cards/table.md +46 -11
- package/data/cards/tabs.md +2 -1
- package/data/cards/tag.md +2 -1
- package/data/cards/terminal.md +31 -22
- package/data/cards/textarea.md +3 -2
- package/data/cards/tieredmenu.md +1 -6
- package/data/cards/timeline.md +5 -5
- package/data/cards/toast.md +7 -8
- package/data/cards/togglebutton.md +1 -1
- package/data/cards/toggleswitch.md +4 -3
- package/data/cards/toolbar.md +8 -8
- package/data/cards/tooltip.md +2 -1
- package/data/cards/tree.md +3 -6
- package/data/cards/treeselect.md +6 -7
- package/data/cards/treetable.md +52 -31
- 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 -73
- 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 +63 -27
- 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 +224 -83
- 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 +127 -89
- 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/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 +92 -70
- 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 +523 -314
- 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 +4122 -4080
- package/data/llms-full.txt +8784 -6249
- package/data/manifest.json +154 -15
- package/data/pages/tailwind.md +20 -10
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ Button is an extension to standard button element with icons and theming.
|
|
|
4
4
|
|
|
5
5
|
## Accessibility
|
|
6
6
|
|
|
7
|
-
Screen Reader Button component renders a native button element that implicitly includes any passed prop. Text to describe the button is defined with the
|
|
7
|
+
Screen Reader Button component renders a native button element that implicitly includes any passed prop. Text to describe the button is defined with the ariaLabel input, if not present label prop is used as the value. If the button is icon only or custom templating is used, it is recommended to use ariaLabel so that screen readers would be able to read the element properly.
|
|
8
8
|
|
|
9
9
|
## Badge
|
|
10
10
|
|
|
@@ -24,7 +24,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
24
24
|
standalone: true,
|
|
25
25
|
imports: [ButtonModule]
|
|
26
26
|
})
|
|
27
|
-
export class ButtonBadgeDemo {
|
|
27
|
+
export class ButtonBadgeDemo {
|
|
28
|
+
}
|
|
28
29
|
```
|
|
29
30
|
|
|
30
31
|
## Basic
|
|
@@ -44,7 +45,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
44
45
|
standalone: true,
|
|
45
46
|
imports: [ButtonModule]
|
|
46
47
|
})
|
|
47
|
-
export class ButtonBasicDemo {
|
|
48
|
+
export class ButtonBasicDemo {
|
|
49
|
+
}
|
|
48
50
|
```
|
|
49
51
|
|
|
50
52
|
## Button Group
|
|
@@ -53,6 +55,7 @@ Multiple buttons are grouped when wrapped inside an element with ButtonGroup com
|
|
|
53
55
|
|
|
54
56
|
```typescript
|
|
55
57
|
import { Component } from '@angular/core';
|
|
58
|
+
import { ButtonGroupModule } from '@exhaustive-ui/core/buttongroup';
|
|
56
59
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
57
60
|
|
|
58
61
|
@Component({
|
|
@@ -66,9 +69,10 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
66
69
|
</div>
|
|
67
70
|
`,
|
|
68
71
|
standalone: true,
|
|
69
|
-
imports: [ButtonModule]
|
|
72
|
+
imports: [ButtonGroupModule, ButtonModule]
|
|
70
73
|
})
|
|
71
|
-
export class ButtonButtongroupDemo {
|
|
74
|
+
export class ButtonButtongroupDemo {
|
|
75
|
+
}
|
|
72
76
|
```
|
|
73
77
|
|
|
74
78
|
## buttonset-doc
|
|
@@ -78,22 +82,31 @@ Multiple buttons are grouped when wrapped inside an element with p-buttonset cla
|
|
|
78
82
|
```typescript
|
|
79
83
|
import { Component } from '@angular/core';
|
|
80
84
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
81
|
-
import { RippleModule } from '@exhaustive-ui/core/ripple';
|
|
82
85
|
|
|
83
86
|
@Component({
|
|
84
87
|
template: `
|
|
85
88
|
<div class="card flex justify-center">
|
|
86
89
|
<span class="p-buttonset">
|
|
87
|
-
<button pButton pRipple
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
<button pButton pRipple>
|
|
91
|
+
<i class="pi pi-check" pButtonIcon></i>
|
|
92
|
+
<span pButtonLabel>Save</span>
|
|
93
|
+
</button>
|
|
94
|
+
<button pButton pRipple>
|
|
95
|
+
<i class="pi pi-trash" pButtonIcon></i>
|
|
96
|
+
<span pButtonLabel>Delete</span>
|
|
97
|
+
</button>
|
|
98
|
+
<button pButton pRipple>
|
|
99
|
+
<i class="pi pi-times" pButtonIcon></i>
|
|
100
|
+
<span pButtonLabel>Cancel</span>
|
|
101
|
+
</button>
|
|
90
102
|
</span>
|
|
91
103
|
</div>
|
|
92
104
|
`,
|
|
93
105
|
standalone: true,
|
|
94
|
-
imports: [ButtonModule
|
|
106
|
+
imports: [ButtonModule]
|
|
95
107
|
})
|
|
96
|
-
export class ButtonButtonsetDemo {
|
|
108
|
+
export class ButtonButtonsetDemo {
|
|
109
|
+
}
|
|
97
110
|
```
|
|
98
111
|
|
|
99
112
|
## Directive
|
|
@@ -116,7 +129,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
116
129
|
standalone: true,
|
|
117
130
|
imports: [ButtonModule]
|
|
118
131
|
})
|
|
119
|
-
export class ButtonDirectiveDemo {
|
|
132
|
+
export class ButtonDirectiveDemo {
|
|
133
|
+
}
|
|
120
134
|
```
|
|
121
135
|
|
|
122
136
|
## Disabled
|
|
@@ -136,7 +150,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
136
150
|
standalone: true,
|
|
137
151
|
imports: [ButtonModule]
|
|
138
152
|
})
|
|
139
|
-
export class ButtonDisabledDemo {
|
|
153
|
+
export class ButtonDisabledDemo {
|
|
154
|
+
}
|
|
140
155
|
```
|
|
141
156
|
|
|
142
157
|
## Icons
|
|
@@ -151,7 +166,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
151
166
|
template: `
|
|
152
167
|
<div class="card flex flex-col items-center gap-4">
|
|
153
168
|
<div class="flex flex-wrap gap-4 justify-center">
|
|
154
|
-
<p-button icon="pi pi-home"
|
|
169
|
+
<p-button icon="pi pi-home" ariaLabel="Home" />
|
|
155
170
|
<p-button label="Profile" icon="pi pi-user" />
|
|
156
171
|
<p-button label="Save" icon="pi pi-check" iconPos="right" />
|
|
157
172
|
</div>
|
|
@@ -164,7 +179,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
164
179
|
standalone: true,
|
|
165
180
|
imports: [ButtonModule]
|
|
166
181
|
})
|
|
167
|
-
export class ButtonIconsDemo {
|
|
182
|
+
export class ButtonIconsDemo {
|
|
183
|
+
}
|
|
168
184
|
```
|
|
169
185
|
|
|
170
186
|
## iconsonly-doc
|
|
@@ -179,56 +195,57 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
179
195
|
template: `
|
|
180
196
|
<div class="card">
|
|
181
197
|
<div class="flex justify-center flex-wrap gap-4 mb-6">
|
|
182
|
-
<p-button icon="pi pi-check" />
|
|
183
|
-
<p-button icon="pi pi-bookmark" severity="secondary" />
|
|
184
|
-
<p-button icon="pi pi-search" severity="success" />
|
|
185
|
-
<p-button icon="pi pi-user" severity="info" />
|
|
186
|
-
<p-button icon="pi pi-bell" severity="warn" />
|
|
187
|
-
<p-button icon="pi pi-heart" severity="help" />
|
|
188
|
-
<p-button icon="pi pi-times" severity="danger" />
|
|
198
|
+
<p-button icon="pi pi-check" ariaLabel="Confirm" />
|
|
199
|
+
<p-button icon="pi pi-bookmark" ariaLabel="Bookmark" severity="secondary" />
|
|
200
|
+
<p-button icon="pi pi-search" ariaLabel="Search" severity="success" />
|
|
201
|
+
<p-button icon="pi pi-user" ariaLabel="Profile" severity="info" />
|
|
202
|
+
<p-button icon="pi pi-bell" ariaLabel="Notifications" severity="warn" />
|
|
203
|
+
<p-button icon="pi pi-heart" ariaLabel="Add to favorites" severity="help" />
|
|
204
|
+
<p-button icon="pi pi-times" ariaLabel="Cancel" severity="danger" />
|
|
189
205
|
</div>
|
|
190
206
|
<div class="flex justify-center flex-wrap gap-4 mb-6">
|
|
191
|
-
<p-button icon="pi pi-check" [rounded]="true" />
|
|
192
|
-
<p-button icon="pi pi-bookmark" [rounded]="true" severity="secondary" />
|
|
193
|
-
<p-button icon="pi pi-search" [rounded]="true" severity="success" />
|
|
194
|
-
<p-button icon="pi pi-user" [rounded]="true" severity="info" />
|
|
195
|
-
<p-button icon="pi pi-bell" [rounded]="true" severity="warn" />
|
|
196
|
-
<p-button icon="pi pi-heart" [rounded]="true" severity="help" />
|
|
197
|
-
<p-button icon="pi pi-times" [rounded]="true" severity="danger" />
|
|
207
|
+
<p-button icon="pi pi-check" ariaLabel="Confirm" [rounded]="true" />
|
|
208
|
+
<p-button icon="pi pi-bookmark" ariaLabel="Bookmark" [rounded]="true" severity="secondary" />
|
|
209
|
+
<p-button icon="pi pi-search" ariaLabel="Search" [rounded]="true" severity="success" />
|
|
210
|
+
<p-button icon="pi pi-user" ariaLabel="Profile" [rounded]="true" severity="info" />
|
|
211
|
+
<p-button icon="pi pi-bell" ariaLabel="Notifications" [rounded]="true" severity="warn" />
|
|
212
|
+
<p-button icon="pi pi-heart" ariaLabel="Add to favorites" [rounded]="true" severity="help" />
|
|
213
|
+
<p-button icon="pi pi-times" ariaLabel="Cancel" [rounded]="true" severity="danger" />
|
|
198
214
|
</div>
|
|
199
215
|
<div class="flex justify-center flex-wrap gap-4 mb-6">
|
|
200
|
-
<p-button icon="pi pi-check" [rounded]="true" [outlined]="true" />
|
|
201
|
-
<p-button icon="pi pi-bookmark" [rounded]="true" severity="secondary" [outlined]="true" />
|
|
202
|
-
<p-button icon="pi pi-search" [rounded]="true" severity="success" [outlined]="true" />
|
|
203
|
-
<p-button icon="pi pi-user" [rounded]="true" severity="info" [outlined]="true" />
|
|
204
|
-
<p-button icon="pi pi-bell" [rounded]="true" severity="warn" [outlined]="true" />
|
|
205
|
-
<p-button icon="pi pi-heart" [rounded]="true" severity="help" [outlined]="true" />
|
|
206
|
-
<p-button icon="pi pi-times" [rounded]="true" severity="danger" [outlined]="true" />
|
|
216
|
+
<p-button icon="pi pi-check" ariaLabel="Confirm" [rounded]="true" [outlined]="true" />
|
|
217
|
+
<p-button icon="pi pi-bookmark" ariaLabel="Bookmark" [rounded]="true" severity="secondary" [outlined]="true" />
|
|
218
|
+
<p-button icon="pi pi-search" ariaLabel="Search" [rounded]="true" severity="success" [outlined]="true" />
|
|
219
|
+
<p-button icon="pi pi-user" ariaLabel="Profile" [rounded]="true" severity="info" [outlined]="true" />
|
|
220
|
+
<p-button icon="pi pi-bell" ariaLabel="Notifications" [rounded]="true" severity="warn" [outlined]="true" />
|
|
221
|
+
<p-button icon="pi pi-heart" ariaLabel="Add to favorites" [rounded]="true" severity="help" [outlined]="true" />
|
|
222
|
+
<p-button icon="pi pi-times" ariaLabel="Cancel" [rounded]="true" severity="danger" [outlined]="true" />
|
|
207
223
|
</div>
|
|
208
224
|
<div class="flex justify-center flex-wrap gap-4 mb-6">
|
|
209
|
-
<p-button icon="pi pi-check" [rounded]="true" [text]="true" [raised]="true" />
|
|
210
|
-
<p-button icon="pi pi-bookmark" [rounded]="true" [text]="true" [raised]="true" severity="secondary" />
|
|
211
|
-
<p-button icon="pi pi-search" [rounded]="true" [text]="true" [raised]="true" severity="success" />
|
|
212
|
-
<p-button icon="pi pi-user" [rounded]="true" [text]="true" [raised]="true" severity="info" />
|
|
213
|
-
<p-button icon="pi pi-bell" [rounded]="true" [text]="true" [raised]="true" severity="warn" />
|
|
214
|
-
<p-button icon="pi pi-heart" [rounded]="true" [text]="true" [raised]="true" severity="help" />
|
|
215
|
-
<p-button icon="pi pi-times" [rounded]="true" [text]="true" [raised]="true" severity="danger" />
|
|
225
|
+
<p-button icon="pi pi-check" ariaLabel="Confirm" [rounded]="true" [text]="true" [raised]="true" />
|
|
226
|
+
<p-button icon="pi pi-bookmark" ariaLabel="Bookmark" [rounded]="true" [text]="true" [raised]="true" severity="secondary" />
|
|
227
|
+
<p-button icon="pi pi-search" ariaLabel="Search" [rounded]="true" [text]="true" [raised]="true" severity="success" />
|
|
228
|
+
<p-button icon="pi pi-user" ariaLabel="Profile" [rounded]="true" [text]="true" [raised]="true" severity="info" />
|
|
229
|
+
<p-button icon="pi pi-bell" ariaLabel="Notifications" [rounded]="true" [text]="true" [raised]="true" severity="warn" />
|
|
230
|
+
<p-button icon="pi pi-heart" ariaLabel="Add to favorites" [rounded]="true" [text]="true" [raised]="true" severity="help" />
|
|
231
|
+
<p-button icon="pi pi-times" ariaLabel="Cancel" [rounded]="true" [text]="true" [raised]="true" severity="danger" />
|
|
216
232
|
</div>
|
|
217
233
|
<div class="flex justify-center flex-wrap gap-4 mb-6">
|
|
218
|
-
<p-button icon="pi pi-check" [rounded]="true" [text]="true" />
|
|
219
|
-
<p-button icon="pi pi-bookmark" [rounded]="true" [text]="true" severity="secondary" />
|
|
220
|
-
<p-button icon="pi pi-search" [rounded]="true" [text]="true" severity="success" />
|
|
221
|
-
<p-button icon="pi pi-user" [rounded]="true" [text]="true" severity="info" />
|
|
222
|
-
<p-button icon="pi pi-bell" [rounded]="true" [text]="true" severity="warn" />
|
|
223
|
-
<p-button icon="pi pi-heart" [rounded]="true" [text]="true" severity="help" />
|
|
224
|
-
<p-button icon="pi pi-times" [rounded]="true" [text]="true" severity="danger" />
|
|
234
|
+
<p-button icon="pi pi-check" ariaLabel="Confirm" [rounded]="true" [text]="true" />
|
|
235
|
+
<p-button icon="pi pi-bookmark" ariaLabel="Bookmark" [rounded]="true" [text]="true" severity="secondary" />
|
|
236
|
+
<p-button icon="pi pi-search" ariaLabel="Search" [rounded]="true" [text]="true" severity="success" />
|
|
237
|
+
<p-button icon="pi pi-user" ariaLabel="Profile" [rounded]="true" [text]="true" severity="info" />
|
|
238
|
+
<p-button icon="pi pi-bell" ariaLabel="Notifications" [rounded]="true" [text]="true" severity="warn" />
|
|
239
|
+
<p-button icon="pi pi-heart" ariaLabel="Add to favorites" [rounded]="true" [text]="true" severity="help" />
|
|
240
|
+
<p-button icon="pi pi-times" ariaLabel="Cancel" [rounded]="true" [text]="true" severity="danger" />
|
|
225
241
|
</div>
|
|
226
242
|
</div>
|
|
227
243
|
`,
|
|
228
244
|
standalone: true,
|
|
229
245
|
imports: [ButtonModule]
|
|
230
246
|
})
|
|
231
|
-
export class ButtonIconsonlyDemo {
|
|
247
|
+
export class ButtonIconsonlyDemo {
|
|
248
|
+
}
|
|
232
249
|
```
|
|
233
250
|
|
|
234
251
|
## Link
|
|
@@ -237,6 +254,7 @@ A button can be rendered as a link when link property is present, while the pBut
|
|
|
237
254
|
|
|
238
255
|
```typescript
|
|
239
256
|
import { Component } from '@angular/core';
|
|
257
|
+
import { RouterModule } from '@angular/router';
|
|
240
258
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
241
259
|
|
|
242
260
|
@Component({
|
|
@@ -252,9 +270,10 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
252
270
|
</div>
|
|
253
271
|
`,
|
|
254
272
|
standalone: true,
|
|
255
|
-
imports: [ButtonModule]
|
|
273
|
+
imports: [ButtonModule, RouterModule]
|
|
256
274
|
})
|
|
257
|
-
export class ButtonLinkDemo {
|
|
275
|
+
export class ButtonLinkDemo {
|
|
276
|
+
}
|
|
258
277
|
```
|
|
259
278
|
|
|
260
279
|
## Loading
|
|
@@ -279,7 +298,7 @@ export class ButtonLoadingDemo {
|
|
|
279
298
|
|
|
280
299
|
load() {
|
|
281
300
|
this.loading.set(true);
|
|
282
|
-
|
|
301
|
+
|
|
283
302
|
setTimeout(() => {
|
|
284
303
|
this.loading.set(false);
|
|
285
304
|
}, 2000);
|
|
@@ -311,7 +330,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
311
330
|
standalone: true,
|
|
312
331
|
imports: [ButtonModule]
|
|
313
332
|
})
|
|
314
|
-
export class ButtonOutlinedDemo {
|
|
333
|
+
export class ButtonOutlinedDemo {
|
|
334
|
+
}
|
|
315
335
|
```
|
|
316
336
|
|
|
317
337
|
## Raised
|
|
@@ -338,7 +358,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
338
358
|
standalone: true,
|
|
339
359
|
imports: [ButtonModule]
|
|
340
360
|
})
|
|
341
|
-
export class ButtonRaisedDemo {
|
|
361
|
+
export class ButtonRaisedDemo {
|
|
362
|
+
}
|
|
342
363
|
```
|
|
343
364
|
|
|
344
365
|
## Raised Text
|
|
@@ -365,7 +386,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
365
386
|
standalone: true,
|
|
366
387
|
imports: [ButtonModule]
|
|
367
388
|
})
|
|
368
|
-
export class ButtonRaisedtextDemo {
|
|
389
|
+
export class ButtonRaisedtextDemo {
|
|
390
|
+
}
|
|
369
391
|
```
|
|
370
392
|
|
|
371
393
|
## Rounded
|
|
@@ -392,7 +414,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
392
414
|
standalone: true,
|
|
393
415
|
imports: [ButtonModule]
|
|
394
416
|
})
|
|
395
|
-
export class ButtonRoundedDemo {
|
|
417
|
+
export class ButtonRoundedDemo {
|
|
418
|
+
}
|
|
396
419
|
```
|
|
397
420
|
|
|
398
421
|
## Severity
|
|
@@ -419,7 +442,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
419
442
|
standalone: true,
|
|
420
443
|
imports: [ButtonModule]
|
|
421
444
|
})
|
|
422
|
-
export class ButtonSeverityDemo {
|
|
445
|
+
export class ButtonSeverityDemo {
|
|
446
|
+
}
|
|
423
447
|
```
|
|
424
448
|
|
|
425
449
|
## Sizes
|
|
@@ -441,7 +465,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
441
465
|
standalone: true,
|
|
442
466
|
imports: [ButtonModule]
|
|
443
467
|
})
|
|
444
|
-
export class ButtonSizesDemo {
|
|
468
|
+
export class ButtonSizesDemo {
|
|
469
|
+
}
|
|
445
470
|
```
|
|
446
471
|
|
|
447
472
|
## Template
|
|
@@ -455,7 +480,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
455
480
|
@Component({
|
|
456
481
|
template: `
|
|
457
482
|
<div class="card flex justify-center">
|
|
458
|
-
<p-button [outlined]="true">
|
|
483
|
+
<p-button [outlined]="true" ariaLabel="ExhaustiveUI">
|
|
459
484
|
<svg width="31" height="33" viewBox="0 0 31 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="block mx-auto">
|
|
460
485
|
<path d="M15.1934 0V0V0L0.0391235 5.38288L2.35052 25.3417L15.1934 32.427V32.427V32.427L28.0364 25.3417L30.3478 5.38288L15.1934 0Z" fill="var(--p-primary-color)" />
|
|
461
486
|
<mask id="mask0_1_52" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="33">
|
|
@@ -486,7 +511,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
486
511
|
standalone: true,
|
|
487
512
|
imports: [ButtonModule]
|
|
488
513
|
})
|
|
489
|
-
export class ButtonTemplateDemo {
|
|
514
|
+
export class ButtonTemplateDemo {
|
|
515
|
+
}
|
|
490
516
|
```
|
|
491
517
|
|
|
492
518
|
## Text
|
|
@@ -513,7 +539,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
513
539
|
standalone: true,
|
|
514
540
|
imports: [ButtonModule]
|
|
515
541
|
})
|
|
516
|
-
export class ButtonTextDemo {
|
|
542
|
+
export class ButtonTextDemo {
|
|
543
|
+
}
|
|
517
544
|
```
|
|
518
545
|
|
|
519
546
|
## Button
|
|
@@ -524,37 +551,37 @@ Button is an extension to standard button element with icons and theming.
|
|
|
524
551
|
|
|
525
552
|
| Name | Type | Default | Description |
|
|
526
553
|
|------|------|---------|-------------|
|
|
527
|
-
| dt |
|
|
528
|
-
| unstyled |
|
|
529
|
-
| pt |
|
|
530
|
-
| ptOptions |
|
|
531
|
-
| type |
|
|
532
|
-
| badge |
|
|
533
|
-
| disabled |
|
|
534
|
-
| raised |
|
|
535
|
-
| rounded |
|
|
536
|
-
| text |
|
|
537
|
-
| plain |
|
|
538
|
-
| outlined |
|
|
539
|
-
| link |
|
|
540
|
-
| tabindex |
|
|
541
|
-
| size |
|
|
542
|
-
| variant |
|
|
543
|
-
| style |
|
|
544
|
-
| styleClass |
|
|
545
|
-
| badgeSeverity |
|
|
546
|
-
| ariaLabel |
|
|
547
|
-
| ariaExpanded |
|
|
548
|
-
| ariaControls |
|
|
549
|
-
| autofocus |
|
|
550
|
-
| iconPos |
|
|
551
|
-
| icon |
|
|
552
|
-
| label |
|
|
553
|
-
| loading |
|
|
554
|
-
| loadingIcon |
|
|
555
|
-
| severity |
|
|
556
|
-
| buttonProps |
|
|
557
|
-
| fluid |
|
|
554
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
555
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
556
|
+
| pt | ButtonPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
557
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
558
|
+
| type | string | 'button' | Type of the button. |
|
|
559
|
+
| badge | string | - | Value of the badge. |
|
|
560
|
+
| disabled | boolean | - | When present, it specifies that the component should be disabled. |
|
|
561
|
+
| raised | boolean | false | Add a shadow to indicate elevation. |
|
|
562
|
+
| rounded | boolean | false | Add a circular border radius to the button. |
|
|
563
|
+
| text | boolean | false | Add a textual class to the button without a background initially. |
|
|
564
|
+
| plain | boolean | false | Add a plain textual class to the button without a background initially. |
|
|
565
|
+
| outlined | boolean | false | Add a border class without a background initially. |
|
|
566
|
+
| link | boolean | false | Add a link style to the button. |
|
|
567
|
+
| tabindex | number | - | Add a tabindex to the button. |
|
|
568
|
+
| size | "small" \| "large" | - | Defines the size of the button. |
|
|
569
|
+
| variant | "text" \| "outlined" | - | Specifies the variant of the component. |
|
|
570
|
+
| style | { [klass: string]: any } | - | Inline style of the element. |
|
|
571
|
+
| styleClass | string | - | Class of the element. |
|
|
572
|
+
| badgeSeverity | "primary" \| "success" \| "info" \| "warn" \| "danger" \| "secondary" \| "contrast" \| "help" | 'secondary' | Severity type of the badge. |
|
|
573
|
+
| ariaLabel | string | - | Used to define a string that autocomplete attribute the current element. |
|
|
574
|
+
| ariaExpanded | boolean | - | Value of the aria-expanded attribute of the button, for a button that shows or hides an element. |
|
|
575
|
+
| ariaControls | string | - | Id of the element the button controls, set as its aria-controls attribute. |
|
|
576
|
+
| autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
|
|
577
|
+
| iconPos | ButtonIconPosition | 'left' | Position of the icon. |
|
|
578
|
+
| icon | string | - | Name of the icon. |
|
|
579
|
+
| label | string | - | Text of the button. |
|
|
580
|
+
| loading | boolean | false | Whether the button is in loading state. |
|
|
581
|
+
| loadingIcon | string | - | Icon to display in loading state. |
|
|
582
|
+
| severity | ButtonSeverity | - | Defines the style of the button. |
|
|
583
|
+
| buttonProps | ButtonProps | - | Used to pass all properties of the ButtonProps to the Button component. |
|
|
584
|
+
| fluid | boolean | undefined | Spans 100% width of the container when enabled. |
|
|
558
585
|
|
|
559
586
|
### Emits
|
|
560
587
|
|
package/data/components/card.md
CHANGED
|
@@ -8,7 +8,7 @@ Screen Reader A card can be utilized in many use cases as a result no role is en
|
|
|
8
8
|
|
|
9
9
|
## Advanced
|
|
10
10
|
|
|
11
|
-
Card content can be customized further with
|
|
11
|
+
Card content can be customized further with the header , title , subtitle and footer templates.
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { Component } from '@angular/core';
|
|
@@ -40,7 +40,8 @@ import { CardModule } from '@exhaustive-ui/core/card';
|
|
|
40
40
|
standalone: true,
|
|
41
41
|
imports: [ButtonModule, CardModule]
|
|
42
42
|
})
|
|
43
|
-
export class CardAdvancedDemo {
|
|
43
|
+
export class CardAdvancedDemo {
|
|
44
|
+
}
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
## Basic
|
|
@@ -65,7 +66,8 @@ import { CardModule } from '@exhaustive-ui/core/card';
|
|
|
65
66
|
standalone: true,
|
|
66
67
|
imports: [CardModule]
|
|
67
68
|
})
|
|
68
|
-
export class CardBasicDemo {
|
|
69
|
+
export class CardBasicDemo {
|
|
70
|
+
}
|
|
69
71
|
```
|
|
70
72
|
|
|
71
73
|
## Card
|
|
@@ -76,13 +78,13 @@ Card is a flexible container component.
|
|
|
76
78
|
|
|
77
79
|
| Name | Type | Default | Description |
|
|
78
80
|
|------|------|---------|-------------|
|
|
79
|
-
| dt |
|
|
80
|
-
| unstyled |
|
|
81
|
-
| pt |
|
|
82
|
-
| ptOptions |
|
|
83
|
-
| header |
|
|
84
|
-
| subheader |
|
|
85
|
-
| style |
|
|
81
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
82
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
83
|
+
| pt | CardPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
84
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
85
|
+
| header | string | - | Header of the card. |
|
|
86
|
+
| subheader | string | - | Subheader of the card. |
|
|
87
|
+
| style | { [klass: string]: any } | - | Inline style of the element. |
|
|
86
88
|
|
|
87
89
|
### Templates
|
|
88
90
|
|