@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
|
@@ -8,6 +8,7 @@ AutoFocus is applied to any focusable input element with the pAutoFocus directiv
|
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
10
|
import { Component } from '@angular/core';
|
|
11
|
+
import { AutoFocusModule } from '@exhaustive-ui/core/autofocus';
|
|
11
12
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
12
13
|
|
|
13
14
|
@Component({
|
|
@@ -17,9 +18,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
17
18
|
</div>
|
|
18
19
|
`,
|
|
19
20
|
standalone: true,
|
|
20
|
-
imports: [InputTextModule]
|
|
21
|
+
imports: [AutoFocusModule, InputTextModule]
|
|
21
22
|
})
|
|
22
|
-
export class AutofocusBasicDemo {
|
|
23
|
+
export class AutofocusBasicDemo {
|
|
24
|
+
}
|
|
23
25
|
```
|
|
24
26
|
|
|
25
27
|
## Auto Focus
|
|
@@ -30,9 +32,9 @@ AutoFocus manages focus on focusable element on load.
|
|
|
30
32
|
|
|
31
33
|
| Name | Type | Default | Description |
|
|
32
34
|
|------|------|---------|-------------|
|
|
33
|
-
| autofocus |
|
|
34
|
-
| dt |
|
|
35
|
-
| unstyled |
|
|
36
|
-
| pt |
|
|
37
|
-
| ptOptions |
|
|
35
|
+
| autofocus | boolean | false | When present, it specifies that the component should automatically get focus on load. |
|
|
36
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
37
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
38
|
+
| pt | any | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
39
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
38
40
|
|
|
@@ -19,11 +19,11 @@ import { AvatarGroupModule } from '@exhaustive-ui/core/avatargroup';
|
|
|
19
19
|
template: `
|
|
20
20
|
<div class="card flex justify-center">
|
|
21
21
|
<p-avatar-group>
|
|
22
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" size="large" shape="circle" />
|
|
23
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" size="large" shape="circle" />
|
|
24
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" size="large" shape="circle" />
|
|
25
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" size="large" shape="circle" />
|
|
26
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/xuxuefeng.png" size="large" shape="circle" />
|
|
22
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" ariaLabel="Amy Elsner" size="large" shape="circle" />
|
|
23
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" ariaLabel="Asiya Javayant" size="large" shape="circle" />
|
|
24
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" ariaLabel="Onyama Limba" size="large" shape="circle" />
|
|
25
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/ionibowcher.png" ariaLabel="Ioni Bowcher" size="large" shape="circle" />
|
|
26
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/xuxuefeng.png" ariaLabel="Xuxue Feng" size="large" shape="circle" />
|
|
27
27
|
<p-avatar label="+2" shape="circle" size="large" />
|
|
28
28
|
</p-avatar-group>
|
|
29
29
|
</div>
|
|
@@ -31,7 +31,8 @@ import { AvatarGroupModule } from '@exhaustive-ui/core/avatargroup';
|
|
|
31
31
|
standalone: true,
|
|
32
32
|
imports: [AvatarModule, AvatarGroupModule]
|
|
33
33
|
})
|
|
34
|
-
export class AvatarAvatargroupDemo {
|
|
34
|
+
export class AvatarAvatargroupDemo {
|
|
35
|
+
}
|
|
35
36
|
```
|
|
36
37
|
|
|
37
38
|
## avatargroupstyle-doc
|
|
@@ -61,7 +62,8 @@ import { Component } from '@angular/core';
|
|
|
61
62
|
standalone: true,
|
|
62
63
|
imports: []
|
|
63
64
|
})
|
|
64
|
-
export class AvatarAvatargroupstyleDemo {
|
|
65
|
+
export class AvatarAvatargroupstyleDemo {
|
|
66
|
+
}
|
|
65
67
|
```
|
|
66
68
|
|
|
67
69
|
## avatarstyle-doc
|
|
@@ -70,6 +72,7 @@ Following is the list of structural style classes, for theming classes visit the
|
|
|
70
72
|
|
|
71
73
|
```typescript
|
|
72
74
|
import { Component } from '@angular/core';
|
|
75
|
+
import { RouterModule } from '@angular/router';
|
|
73
76
|
|
|
74
77
|
@Component({
|
|
75
78
|
template: `
|
|
@@ -115,9 +118,10 @@ import { Component } from '@angular/core';
|
|
|
115
118
|
</div>
|
|
116
119
|
`,
|
|
117
120
|
standalone: true,
|
|
118
|
-
imports: []
|
|
121
|
+
imports: [RouterModule]
|
|
119
122
|
})
|
|
120
|
-
export class AvatarAvatarstyleDemo {
|
|
123
|
+
export class AvatarAvatarstyleDemo {
|
|
124
|
+
}
|
|
121
125
|
```
|
|
122
126
|
|
|
123
127
|
## Badge
|
|
@@ -126,18 +130,21 @@ A badge can be added to an Avatar with the Badge directive.
|
|
|
126
130
|
|
|
127
131
|
```typescript
|
|
128
132
|
import { Component } from '@angular/core';
|
|
133
|
+
import { RouterModule } from '@angular/router';
|
|
129
134
|
import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
135
|
+
import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
130
136
|
|
|
131
137
|
@Component({
|
|
132
138
|
template: `
|
|
133
139
|
<div class="card flex justify-center">
|
|
134
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" pBadge value="4" severity="danger" />
|
|
140
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" ariaLabel="Amy Elsner" pBadge value="4" severity="danger" />
|
|
135
141
|
</div>
|
|
136
142
|
`,
|
|
137
143
|
standalone: true,
|
|
138
|
-
imports: [AvatarModule]
|
|
144
|
+
imports: [AvatarModule, BadgeModule, RouterModule]
|
|
139
145
|
})
|
|
140
|
-
export class AvatarBadgeDemo {
|
|
146
|
+
export class AvatarBadgeDemo {
|
|
147
|
+
}
|
|
141
148
|
```
|
|
142
149
|
|
|
143
150
|
## Icon
|
|
@@ -154,19 +161,19 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
154
161
|
<div class="card">
|
|
155
162
|
<div class="flex flex-wrap gap-8">
|
|
156
163
|
<div class="flex-auto">
|
|
157
|
-
<
|
|
164
|
+
<div class="font-semibold mb-4">Icon</div>
|
|
158
165
|
<p-avatar icon="pi pi-user" class="mr-2" size="xlarge" />
|
|
159
166
|
<p-avatar icon="pi pi-user" class="mr-2" size="large" style="background-color: #ece9fc; color: #2a1261" />
|
|
160
167
|
<p-avatar icon="pi pi-user" style="background-color: #dee9fc; color: #1a2551" />
|
|
161
168
|
</div>
|
|
162
169
|
<div class="flex-auto">
|
|
163
|
-
<
|
|
170
|
+
<div class="font-semibold mb-4">Circle</div>
|
|
164
171
|
<p-avatar icon="pi pi-user" class="mr-2" size="xlarge" shape="circle" />
|
|
165
172
|
<p-avatar icon="pi pi-user" class="mr-2" size="large" style="background-color: #ece9fc; color: #2a1261" shape="circle" />
|
|
166
173
|
<p-avatar icon="pi pi-user" style="background-color: #dee9fc; color: #1a2551" shape="circle" />
|
|
167
174
|
</div>
|
|
168
175
|
<div class="flex-auto">
|
|
169
|
-
<
|
|
176
|
+
<div class="font-semibold mb-4">Badge</div>
|
|
170
177
|
<p-overlay-badge value="4" severity="danger" class="inline-flex">
|
|
171
178
|
<p-avatar icon="pi pi-user" size="xlarge" />
|
|
172
179
|
</p-overlay-badge>
|
|
@@ -177,7 +184,8 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
177
184
|
standalone: true,
|
|
178
185
|
imports: [AvatarModule, OverlayBadgeModule]
|
|
179
186
|
})
|
|
180
|
-
export class AvatarIconDemo {
|
|
187
|
+
export class AvatarIconDemo {
|
|
188
|
+
}
|
|
181
189
|
```
|
|
182
190
|
|
|
183
191
|
## Image
|
|
@@ -194,20 +202,20 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
194
202
|
<div class="card">
|
|
195
203
|
<div class="flex flex-wrap gap-8">
|
|
196
204
|
<div class="flex-auto">
|
|
197
|
-
<
|
|
198
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" class="mr-2" size="xlarge" shape="circle" />
|
|
199
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" class="mr-2" size="large" shape="circle" />
|
|
200
|
-
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" shape="circle" />
|
|
205
|
+
<div class="font-semibold mb-4">Image</div>
|
|
206
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/amyelsner.png" ariaLabel="Amy Elsner" class="mr-2" size="xlarge" shape="circle" />
|
|
207
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/asiyajavayant.png" ariaLabel="Asiya Javayant" class="mr-2" size="large" shape="circle" />
|
|
208
|
+
<p-avatar image="https://exhaustive-ui.com/demo/avatar/onyamalimba.png" ariaLabel="Onyama Limba" shape="circle" />
|
|
201
209
|
</div>
|
|
202
210
|
<div class="flex-auto">
|
|
203
|
-
<
|
|
211
|
+
<div class="font-semibold mb-4">Badge</div>
|
|
204
212
|
<p-overlay-badge value="4" severity="danger" class="inline-flex">
|
|
205
|
-
<p-avatar class="p-overlay-badge" image="https://exhaustive-ui.com/demo/avatar/walter.jpg" size="xlarge" />
|
|
213
|
+
<p-avatar class="p-overlay-badge" image="https://exhaustive-ui.com/demo/avatar/walter.jpg" ariaLabel="Walter" size="xlarge" />
|
|
206
214
|
</p-overlay-badge>
|
|
207
215
|
</div>
|
|
208
216
|
<div class="flex-auto">
|
|
209
|
-
<
|
|
210
|
-
<p-avatar image="https://www.gravatar.com/avatar/05dfd4b41340d09cae045235eb0893c3?d=mp" class="flex items-center justify-center mr-2" size="xlarge" />
|
|
217
|
+
<div class="font-semibold mb-4">Gravatar</div>
|
|
218
|
+
<p-avatar image="https://www.gravatar.com/avatar/05dfd4b41340d09cae045235eb0893c3?d=mp" ariaLabel="User avatar" class="flex items-center justify-center mr-2" size="xlarge" />
|
|
211
219
|
</div>
|
|
212
220
|
</div>
|
|
213
221
|
</div>
|
|
@@ -215,7 +223,8 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
215
223
|
standalone: true,
|
|
216
224
|
imports: [AvatarModule, OverlayBadgeModule]
|
|
217
225
|
})
|
|
218
|
-
export class AvatarImageDemo {
|
|
226
|
+
export class AvatarImageDemo {
|
|
227
|
+
}
|
|
219
228
|
```
|
|
220
229
|
|
|
221
230
|
## Label
|
|
@@ -232,19 +241,19 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
232
241
|
<div class="card">
|
|
233
242
|
<div class="flex flex-wrap gap-8">
|
|
234
243
|
<div class="flex-auto">
|
|
235
|
-
<
|
|
244
|
+
<div class="font-semibold mb-4">Label</div>
|
|
236
245
|
<p-avatar label="P" class="mr-2" size="xlarge" />
|
|
237
246
|
<p-avatar label="V" class="mr-2" size="large" [style]="{ 'background-color': '#ece9fc', color: '#2a1261' }" />
|
|
238
247
|
<p-avatar label="U" class="mr-2" [style]="{ 'background-color': '#dee9fc', color: '#1a2551' }" />
|
|
239
248
|
</div>
|
|
240
249
|
<div class="flex-auto">
|
|
241
|
-
<
|
|
250
|
+
<div class="font-semibold mb-4">Circle</div>
|
|
242
251
|
<p-avatar label="P" class="mr-2" size="xlarge" shape="circle" />
|
|
243
252
|
<p-avatar label="V" class="mr-2" size="large" [style]="{ 'background-color': '#ece9fc', color: '#2a1261' }" shape="circle" />
|
|
244
253
|
<p-avatar label="U" class="mr-2" [style]="{ 'background-color': '#dee9fc', color: '#1a2551' }" shape="circle" />
|
|
245
254
|
</div>
|
|
246
255
|
<div class="flex-auto">
|
|
247
|
-
<
|
|
256
|
+
<div class="font-semibold mb-4">Badge</div>
|
|
248
257
|
<p-overlay-badge value="4" severity="danger" class="inline-flex">
|
|
249
258
|
<p-avatar label="U" size="xlarge" />
|
|
250
259
|
</p-overlay-badge>
|
|
@@ -255,7 +264,8 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
255
264
|
standalone: true,
|
|
256
265
|
imports: [AvatarModule, OverlayBadgeModule]
|
|
257
266
|
})
|
|
258
|
-
export class AvatarLabelDemo {
|
|
267
|
+
export class AvatarLabelDemo {
|
|
268
|
+
}
|
|
259
269
|
```
|
|
260
270
|
|
|
261
271
|
## Shape
|
|
@@ -276,7 +286,8 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
276
286
|
standalone: true,
|
|
277
287
|
imports: [AvatarModule]
|
|
278
288
|
})
|
|
279
|
-
export class AvatarShapeDemo {
|
|
289
|
+
export class AvatarShapeDemo {
|
|
290
|
+
}
|
|
280
291
|
```
|
|
281
292
|
|
|
282
293
|
## Size
|
|
@@ -297,7 +308,8 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
297
308
|
standalone: true,
|
|
298
309
|
imports: [AvatarModule]
|
|
299
310
|
})
|
|
300
|
-
export class AvatarSizeDemo {
|
|
311
|
+
export class AvatarSizeDemo {
|
|
312
|
+
}
|
|
301
313
|
```
|
|
302
314
|
|
|
303
315
|
## Template
|
|
@@ -342,7 +354,8 @@ import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
|
342
354
|
standalone: true,
|
|
343
355
|
imports: [AvatarModule]
|
|
344
356
|
})
|
|
345
|
-
export class AvatarTemplateDemo {
|
|
357
|
+
export class AvatarTemplateDemo {
|
|
358
|
+
}
|
|
346
359
|
```
|
|
347
360
|
|
|
348
361
|
## Avatar
|
|
@@ -353,17 +366,17 @@ Avatar represents people using icons, labels and images.
|
|
|
353
366
|
|
|
354
367
|
| Name | Type | Default | Description |
|
|
355
368
|
|------|------|---------|-------------|
|
|
356
|
-
| label |
|
|
357
|
-
| icon |
|
|
358
|
-
| image |
|
|
359
|
-
| size |
|
|
360
|
-
| shape |
|
|
361
|
-
| ariaLabel |
|
|
362
|
-
| ariaLabelledBy |
|
|
363
|
-
| dt |
|
|
364
|
-
| unstyled |
|
|
365
|
-
| pt |
|
|
366
|
-
| ptOptions |
|
|
369
|
+
| label | string | - | Defines the text to display. |
|
|
370
|
+
| icon | string | - | Defines the icon to display. |
|
|
371
|
+
| image | string | - | Defines the image to display. |
|
|
372
|
+
| size | "large" \| "xlarge" \| "normal" | 'normal' | Size of the element. |
|
|
373
|
+
| shape | "circle" \| "square" | 'square' | Shape of the element. |
|
|
374
|
+
| ariaLabel | string | - | Establishes a string value that labels the component. |
|
|
375
|
+
| ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
|
|
376
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
377
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
378
|
+
| pt | AvatarPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
379
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
367
380
|
|
|
368
381
|
### Emits
|
|
369
382
|
|
package/data/components/badge.md
CHANGED
|
@@ -23,7 +23,8 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
23
23
|
standalone: true,
|
|
24
24
|
imports: [BadgeModule]
|
|
25
25
|
})
|
|
26
|
-
export class BadgeBasicDemo {
|
|
26
|
+
export class BadgeBasicDemo {
|
|
27
|
+
}
|
|
27
28
|
```
|
|
28
29
|
|
|
29
30
|
## Button
|
|
@@ -44,7 +45,8 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
44
45
|
standalone: true,
|
|
45
46
|
imports: [ButtonModule]
|
|
46
47
|
})
|
|
47
|
-
export class BadgeButtonDemo {
|
|
48
|
+
export class BadgeButtonDemo {
|
|
49
|
+
}
|
|
48
50
|
```
|
|
49
51
|
|
|
50
52
|
## directive-doc
|
|
@@ -53,6 +55,7 @@ Content of the badge is specified using the value property.
|
|
|
53
55
|
|
|
54
56
|
```typescript
|
|
55
57
|
import { Component } from '@angular/core';
|
|
58
|
+
import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
56
59
|
|
|
57
60
|
@Component({
|
|
58
61
|
template: `
|
|
@@ -61,9 +64,10 @@ import { Component } from '@angular/core';
|
|
|
61
64
|
</div>
|
|
62
65
|
`,
|
|
63
66
|
standalone: true,
|
|
64
|
-
imports: []
|
|
67
|
+
imports: [BadgeModule]
|
|
65
68
|
})
|
|
66
|
-
export class BadgeDirectiveDemo {
|
|
69
|
+
export class BadgeDirectiveDemo {
|
|
70
|
+
}
|
|
67
71
|
```
|
|
68
72
|
|
|
69
73
|
## Overlay
|
|
@@ -91,7 +95,8 @@ import { OverlayBadgeModule } from '@exhaustive-ui/core/overlaybadge';
|
|
|
91
95
|
standalone: true,
|
|
92
96
|
imports: [OverlayBadgeModule]
|
|
93
97
|
})
|
|
94
|
-
export class BadgeOverlayDemo {
|
|
98
|
+
export class BadgeOverlayDemo {
|
|
99
|
+
}
|
|
95
100
|
```
|
|
96
101
|
|
|
97
102
|
## position-doc
|
|
@@ -100,6 +105,7 @@ A Badge can be positioned at the top right corner of an element by adding p-over
|
|
|
100
105
|
|
|
101
106
|
```typescript
|
|
102
107
|
import { Component } from '@angular/core';
|
|
108
|
+
import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
103
109
|
|
|
104
110
|
@Component({
|
|
105
111
|
template: `
|
|
@@ -110,9 +116,10 @@ import { Component } from '@angular/core';
|
|
|
110
116
|
</div>
|
|
111
117
|
`,
|
|
112
118
|
standalone: true,
|
|
113
|
-
imports: []
|
|
119
|
+
imports: [BadgeModule]
|
|
114
120
|
})
|
|
115
|
-
export class BadgePositionDemo {
|
|
121
|
+
export class BadgePositionDemo {
|
|
122
|
+
}
|
|
116
123
|
```
|
|
117
124
|
|
|
118
125
|
## Severity
|
|
@@ -138,7 +145,8 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
138
145
|
standalone: true,
|
|
139
146
|
imports: [BadgeModule]
|
|
140
147
|
})
|
|
141
|
-
export class BadgeSeverityDemo {
|
|
148
|
+
export class BadgeSeverityDemo {
|
|
149
|
+
}
|
|
142
150
|
```
|
|
143
151
|
|
|
144
152
|
## Size
|
|
@@ -161,7 +169,8 @@ import { BadgeModule } from '@exhaustive-ui/core/badge';
|
|
|
161
169
|
standalone: true,
|
|
162
170
|
imports: [BadgeModule]
|
|
163
171
|
})
|
|
164
|
-
export class BadgeSizeDemo {
|
|
172
|
+
export class BadgeSizeDemo {
|
|
173
|
+
}
|
|
165
174
|
```
|
|
166
175
|
|
|
167
176
|
## Badge
|
|
@@ -172,15 +181,15 @@ Badge is a small status indicator for another element.
|
|
|
172
181
|
|
|
173
182
|
| Name | Type | Default | Description |
|
|
174
183
|
|------|------|---------|-------------|
|
|
175
|
-
| badgeSize |
|
|
176
|
-
| size |
|
|
177
|
-
| severity |
|
|
178
|
-
| value |
|
|
179
|
-
| badgeDisabled |
|
|
180
|
-
| dt |
|
|
181
|
-
| unstyled |
|
|
182
|
-
| pt |
|
|
183
|
-
| ptOptions |
|
|
184
|
+
| badgeSize | "small" \| "large" \| "xlarge" | - | Size of the badge, valid options are "large" and "xlarge". |
|
|
185
|
+
| size | "small" \| "large" \| "xlarge" | - | Size of the badge, valid options are "large" and "xlarge". |
|
|
186
|
+
| severity | BadgeSeverity | - | Severity type of the badge. |
|
|
187
|
+
| value | string \| number | - | Value to display inside the badge. |
|
|
188
|
+
| badgeDisabled | boolean | false | When specified, disables the component. |
|
|
189
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
190
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
191
|
+
| pt | BadgePassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
192
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
184
193
|
|
|
185
194
|
## Pass Through Options
|
|
186
195
|
|
|
@@ -59,6 +59,13 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
59
59
|
})
|
|
60
60
|
export class BlockuiDocumentDemo {
|
|
61
61
|
blockedDocument: boolean = false;
|
|
62
|
+
|
|
63
|
+
blockDocument() {
|
|
64
|
+
this.blockedDocument = true;
|
|
65
|
+
setTimeout(() => {
|
|
66
|
+
this.blockedDocument = false;
|
|
67
|
+
}, 3000);
|
|
68
|
+
}
|
|
62
69
|
}
|
|
63
70
|
```
|
|
64
71
|
|
|
@@ -70,14 +77,14 @@ BlockUI can either block other components or the whole page.
|
|
|
70
77
|
|
|
71
78
|
| Name | Type | Default | Description |
|
|
72
79
|
|------|------|---------|-------------|
|
|
73
|
-
| dt |
|
|
74
|
-
| unstyled |
|
|
75
|
-
| pt |
|
|
76
|
-
| ptOptions |
|
|
77
|
-
| target |
|
|
78
|
-
| autoZIndex |
|
|
79
|
-
| baseZIndex |
|
|
80
|
-
| blocked |
|
|
80
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
81
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
82
|
+
| pt | BlockUIPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
83
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
84
|
+
| target | any | - | Name of the local ng-template variable referring to another component. |
|
|
85
|
+
| autoZIndex | boolean | true | Whether to automatically manage layering. |
|
|
86
|
+
| baseZIndex | number | 0 | Base zIndex value to use in layering. |
|
|
87
|
+
| blocked | boolean | false | Current blocked state as a boolean. |
|
|
81
88
|
|
|
82
89
|
### Templates
|
|
83
90
|
|
|
@@ -12,8 +12,8 @@ Breadcrumb provides contextual information about page hierarchy.
|
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { Component, OnInit } from '@angular/core';
|
|
15
|
-
import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
|
|
16
15
|
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
16
|
+
import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
|
|
17
17
|
|
|
18
18
|
@Component({
|
|
19
19
|
template: `
|
|
@@ -26,10 +26,12 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
26
26
|
})
|
|
27
27
|
export class BreadcrumbBasicDemo implements OnInit {
|
|
28
28
|
items: MenuItem[] | undefined;
|
|
29
|
+
|
|
29
30
|
home: MenuItem | undefined;
|
|
30
31
|
|
|
31
32
|
ngOnInit() {
|
|
32
33
|
this.items = [{ label: 'Electronics' }, { label: 'Computer' }, { label: 'Accessories' }, { label: 'Keyboard' }, { label: 'Wireless' }];
|
|
34
|
+
|
|
33
35
|
this.home = { icon: 'pi pi-home' };
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -41,8 +43,8 @@ Menu items support navigation via routerLink, programmatic routing using command
|
|
|
41
43
|
|
|
42
44
|
```typescript
|
|
43
45
|
import { Component } from '@angular/core';
|
|
44
|
-
import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
|
|
45
46
|
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
47
|
+
import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
|
|
46
48
|
|
|
47
49
|
@Component({
|
|
48
50
|
template: `
|
|
@@ -55,6 +57,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
55
57
|
})
|
|
56
58
|
export class BreadcrumbRouterDemo {
|
|
57
59
|
items: MenuItem[] = [{ label: 'Components' }, { label: 'Form' }, { label: 'InputText', routerLink: '/inputtext' }];
|
|
60
|
+
|
|
58
61
|
home: MenuItem = { icon: 'pi pi-home', routerLink: '/' };
|
|
59
62
|
}
|
|
60
63
|
```
|
|
@@ -65,8 +68,9 @@ Custom content can be placed inside the items using the item template. The divid
|
|
|
65
68
|
|
|
66
69
|
```typescript
|
|
67
70
|
import { Component, OnInit } from '@angular/core';
|
|
68
|
-
import {
|
|
71
|
+
import { RouterModule } from '@angular/router';
|
|
69
72
|
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
73
|
+
import { BreadcrumbModule } from '@exhaustive-ui/core/breadcrumb';
|
|
70
74
|
|
|
71
75
|
@Component({
|
|
72
76
|
template: `
|
|
@@ -82,14 +86,16 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
82
86
|
</div>
|
|
83
87
|
`,
|
|
84
88
|
standalone: true,
|
|
85
|
-
imports: [BreadcrumbModule]
|
|
89
|
+
imports: [BreadcrumbModule, RouterModule]
|
|
86
90
|
})
|
|
87
91
|
export class BreadcrumbTemplateDemo implements OnInit {
|
|
88
92
|
items: MenuItem[] | undefined;
|
|
93
|
+
|
|
89
94
|
home: MenuItem | undefined;
|
|
90
95
|
|
|
91
96
|
ngOnInit() {
|
|
92
97
|
this.items = [{ icon: 'pi pi-sitemap' }, { icon: 'pi pi-book' }, { icon: 'pi pi-wallet' }, { icon: 'pi pi-shopping-bag' }, { icon: 'pi pi-calculator' }];
|
|
98
|
+
|
|
93
99
|
this.home = { icon: 'pi pi-home' };
|
|
94
100
|
}
|
|
95
101
|
}
|
|
@@ -103,16 +109,16 @@ Breadcrumb provides contextual information about page hierarchy.
|
|
|
103
109
|
|
|
104
110
|
| Name | Type | Default | Description |
|
|
105
111
|
|------|------|---------|-------------|
|
|
106
|
-
| dt |
|
|
107
|
-
| unstyled |
|
|
108
|
-
| pt |
|
|
109
|
-
| ptOptions |
|
|
110
|
-
| model |
|
|
111
|
-
| style |
|
|
112
|
-
| styleClass |
|
|
113
|
-
| home |
|
|
114
|
-
| homeAriaLabel |
|
|
115
|
-
| ariaLabel |
|
|
112
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
113
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
114
|
+
| pt | BreadcrumbPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
115
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
116
|
+
| model | MenuItem[] | - | An array of menuitems. |
|
|
117
|
+
| style | { [klass: string]: any } | - | Inline style of the component. |
|
|
118
|
+
| styleClass | string | - | Style class of the component. |
|
|
119
|
+
| home | MenuItem | - | MenuItem configuration for the home icon. |
|
|
120
|
+
| homeAriaLabel | string | - | Defines a string that labels the home icon for accessibility. Defaults to the `aria.home` translation when the home item has no visible label. |
|
|
121
|
+
| ariaLabel | string | 'Breadcrumb' | Defines a string that labels the nav landmark for accessibility. Give each breadcrumb on a page a distinct label. |
|
|
116
122
|
|
|
117
123
|
### Emits
|
|
118
124
|
|