@exhaustive-ui/mcp 0.0.0-stage → 3.0.0-alpha.1
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/LICENSE +23 -0
- package/README.md +167 -2
- package/data/components/accordion.md +421 -0
- package/data/components/animateonscroll.md +163 -0
- package/data/components/autocomplete.md +1077 -0
- package/data/components/autofocus.md +38 -0
- package/data/components/avatar.md +417 -0
- package/data/components/badge.md +234 -0
- package/data/components/blockui.md +108 -0
- package/data/components/breadcrumb.md +178 -0
- package/data/components/button.md +774 -0
- package/data/components/card.md +138 -0
- package/data/components/carousel.md +440 -0
- package/data/components/cascadeselect.md +1387 -0
- package/data/components/chart.md +1178 -0
- package/data/components/checkbox.md +529 -0
- package/data/components/chip.md +180 -0
- package/data/components/colorpicker.md +301 -0
- package/data/components/confirmdialog.md +287 -0
- package/data/components/confirmpopup.md +417 -0
- package/data/components/contextmenu.md +491 -0
- package/data/components/dataview.md +600 -0
- package/data/components/datepicker.md +1262 -0
- package/data/components/dialog.md +622 -0
- package/data/components/divider.md +250 -0
- package/data/components/dock.md +500 -0
- package/data/components/dragdrop.md +285 -0
- package/data/components/drawer.md +510 -0
- package/data/components/dynamicdialog.md +109 -0
- package/data/components/editor.md +291 -0
- package/data/components/fieldset.md +182 -0
- package/data/components/fileupload.md +430 -0
- package/data/components/floatlabel.md +155 -0
- package/data/components/fluid.md +72 -0
- package/data/components/focustrap.md +65 -0
- package/data/components/galleria.md +627 -0
- package/data/components/iconfield.md +246 -0
- package/data/components/iftalabel.md +105 -0
- package/data/components/imagecompare.md +97 -0
- package/data/components/inplace.md +233 -0
- package/data/components/inputgroup.md +306 -0
- package/data/components/inputmask.md +518 -0
- package/data/components/inputnumber.md +675 -0
- package/data/components/inputotp.md +336 -0
- package/data/components/inputtext.md +488 -0
- package/data/components/keyfilter.md +85 -0
- package/data/components/knob.md +462 -0
- package/data/components/listbox.md +798 -0
- package/data/components/llms.md +28 -0
- package/data/components/megamenu.md +587 -0
- package/data/components/menu.md +483 -0
- package/data/components/menubar.md +462 -0
- package/data/components/message.md +449 -0
- package/data/components/metergroup.md +241 -0
- package/data/components/multiselect.md +1047 -0
- package/data/components/orderlist.md +342 -0
- package/data/components/organizationchart.md +197 -0
- package/data/components/overlay.md +217 -0
- package/data/components/paginator.md +314 -0
- package/data/components/panel.md +214 -0
- package/data/components/panelmenu.md +699 -0
- package/data/components/password.md +570 -0
- package/data/components/picklist.md +420 -0
- package/data/components/popover.md +378 -0
- package/data/components/progressbar.md +181 -0
- package/data/components/progressspinner.md +91 -0
- package/data/components/radiobutton.md +377 -0
- package/data/components/rating.md +312 -0
- package/data/components/ripple.md +89 -0
- package/data/components/scroller.md +122 -0
- package/data/components/scrollpanel.md +149 -0
- package/data/components/scrolltop.md +105 -0
- package/data/components/select.md +1206 -0
- package/data/components/selectbutton.md +356 -0
- package/data/components/skeleton.md +242 -0
- package/data/components/slider.md +337 -0
- package/data/components/speeddial.md +589 -0
- package/data/components/splitbutton.md +945 -0
- package/data/components/splitter.md +196 -0
- package/data/components/stepper.md +411 -0
- package/data/components/styleclass.md +126 -0
- package/data/components/table.md +4557 -0
- package/data/components/tabs.md +467 -0
- package/data/components/tag.md +200 -0
- package/data/components/terminal.md +118 -0
- package/data/components/textarea.md +416 -0
- package/data/components/tieredmenu.md +578 -0
- package/data/components/timeline.md +310 -0
- package/data/components/toast.md +596 -0
- package/data/components/togglebutton.md +356 -0
- package/data/components/toggleswitch.md +285 -0
- package/data/components/toolbar.md +182 -0
- package/data/components/tooltip.md +211 -0
- package/data/components/tree.md +746 -0
- package/data/components/treeselect.md +912 -0
- package/data/components/treetable.md +2814 -0
- package/data/components.json +43751 -0
- package/data/llms-full.txt +47433 -0
- package/data/llms.txt +121 -0
- package/data/manifest.json +46513 -0
- package/data/pages/accessibility.md +28 -0
- package/data/pages/animations.md +28 -0
- package/data/pages/configuration.md +210 -0
- package/data/pages/contribution.md +20 -0
- package/data/pages/customicons.md +20 -0
- package/data/pages/faq.md +20 -0
- package/data/pages/icons.md +66 -0
- package/data/pages/installation.md +71 -0
- package/data/pages/llms.md +61 -0
- package/data/pages/passthrough.md +32 -0
- package/data/pages/philosophy.md +28 -0
- package/data/pages/primeflex.md +20 -0
- package/data/pages/rtl.md +12 -0
- package/data/pages/styled.md +132 -0
- package/data/pages/tailwind.md +40 -0
- package/data/pages/unstyled.md +39 -0
- package/data/snapshot.json +9 -0
- package/dist/index.d.mts +448 -0
- package/dist/index.mjs +2501 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +67 -3
|
@@ -0,0 +1,774 @@
|
|
|
1
|
+
# Angular Button Component
|
|
2
|
+
|
|
3
|
+
Button is an extension to standard button element with icons and theming.
|
|
4
|
+
|
|
5
|
+
## Accessibility
|
|
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 aria-label prop, 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 aria-label so that screen readers would be able to read the element properly.
|
|
8
|
+
|
|
9
|
+
## Badge
|
|
10
|
+
|
|
11
|
+
Buttons have built-in badge support with badge and badgeSeverity properties.
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Component } from '@angular/core';
|
|
15
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
16
|
+
|
|
17
|
+
@Component({
|
|
18
|
+
template: `
|
|
19
|
+
<div class="card flex justify-center flex-wrap gap-4">
|
|
20
|
+
<p-button label="Emails" badge="2" styleClass="m-0" />
|
|
21
|
+
<p-button label="Messages" icon="pi pi-users" badge="2" badgeSeverity="contrast" styleClass="m-0" [outlined]="true" />
|
|
22
|
+
</div>
|
|
23
|
+
`,
|
|
24
|
+
standalone: true,
|
|
25
|
+
imports: [ButtonModule]
|
|
26
|
+
})
|
|
27
|
+
export class ButtonBadgeDemo {}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Basic
|
|
31
|
+
|
|
32
|
+
Text to display on a button is defined with the label property.
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { Component } from '@angular/core';
|
|
36
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
37
|
+
|
|
38
|
+
@Component({
|
|
39
|
+
template: `
|
|
40
|
+
<div class="card flex justify-center">
|
|
41
|
+
<p-button label="Submit" />
|
|
42
|
+
</div>
|
|
43
|
+
`,
|
|
44
|
+
standalone: true,
|
|
45
|
+
imports: [ButtonModule]
|
|
46
|
+
})
|
|
47
|
+
export class ButtonBasicDemo {}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Button Group
|
|
51
|
+
|
|
52
|
+
Multiple buttons are grouped when wrapped inside an element with ButtonGroup component.
|
|
53
|
+
|
|
54
|
+
```typescript
|
|
55
|
+
import { Component } from '@angular/core';
|
|
56
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
57
|
+
|
|
58
|
+
@Component({
|
|
59
|
+
template: `
|
|
60
|
+
<div class="card flex justify-center">
|
|
61
|
+
<p-buttongroup>
|
|
62
|
+
<p-button label="Save" icon="pi pi-check" />
|
|
63
|
+
<p-button label="Delete" icon="pi pi-trash" />
|
|
64
|
+
<p-button label="Cancel" icon="pi pi-times" />
|
|
65
|
+
</p-buttongroup>
|
|
66
|
+
</div>
|
|
67
|
+
`,
|
|
68
|
+
standalone: true,
|
|
69
|
+
imports: [ButtonModule]
|
|
70
|
+
})
|
|
71
|
+
export class ButtonButtongroupDemo {}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## buttonset-doc
|
|
75
|
+
|
|
76
|
+
Multiple buttons are grouped when wrapped inside an element with p-buttonset class.
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import { Component } from '@angular/core';
|
|
80
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
81
|
+
import { RippleModule } from '@exhaustive-ui/core/ripple';
|
|
82
|
+
|
|
83
|
+
@Component({
|
|
84
|
+
template: `
|
|
85
|
+
<div class="card flex justify-center">
|
|
86
|
+
<span class="p-buttonset">
|
|
87
|
+
<button pButton pRipple label="Save" icon="pi pi-check"></button>
|
|
88
|
+
<button pButton pRipple label="Delete" icon="pi pi-trash"></button>
|
|
89
|
+
<button pButton pRipple label="Cancel" icon="pi pi-times"></button>
|
|
90
|
+
</span>
|
|
91
|
+
</div>
|
|
92
|
+
`,
|
|
93
|
+
standalone: true,
|
|
94
|
+
imports: [ButtonModule, RippleModule]
|
|
95
|
+
})
|
|
96
|
+
export class ButtonButtonsetDemo {}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Directive
|
|
100
|
+
|
|
101
|
+
Button can also be used as directive using pButton along with pButtonLabel and pButtonIcon helper directives.
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
import { Component } from '@angular/core';
|
|
105
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
106
|
+
|
|
107
|
+
@Component({
|
|
108
|
+
template: `
|
|
109
|
+
<div class="card flex justify-center">
|
|
110
|
+
<button pButton>
|
|
111
|
+
<i class="pi pi-check" pButtonIcon></i>
|
|
112
|
+
<span pButtonLabel>Save</span>
|
|
113
|
+
</button>
|
|
114
|
+
</div>
|
|
115
|
+
`,
|
|
116
|
+
standalone: true,
|
|
117
|
+
imports: [ButtonModule]
|
|
118
|
+
})
|
|
119
|
+
export class ButtonDirectiveDemo {}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Disabled
|
|
123
|
+
|
|
124
|
+
When disabled is present, the element cannot be edited and focused.
|
|
125
|
+
|
|
126
|
+
```typescript
|
|
127
|
+
import { Component } from '@angular/core';
|
|
128
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
129
|
+
|
|
130
|
+
@Component({
|
|
131
|
+
template: `
|
|
132
|
+
<div class="card flex justify-center">
|
|
133
|
+
<p-button label="Submit" [disabled]="true" />
|
|
134
|
+
</div>
|
|
135
|
+
`,
|
|
136
|
+
standalone: true,
|
|
137
|
+
imports: [ButtonModule]
|
|
138
|
+
})
|
|
139
|
+
export class ButtonDisabledDemo {}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Icons
|
|
143
|
+
|
|
144
|
+
Icon of a button is specified with icon property and position is configured using iconPos attribute.
|
|
145
|
+
|
|
146
|
+
```typescript
|
|
147
|
+
import { Component } from '@angular/core';
|
|
148
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
149
|
+
|
|
150
|
+
@Component({
|
|
151
|
+
template: `
|
|
152
|
+
<div class="card flex flex-col items-center gap-4">
|
|
153
|
+
<div class="flex flex-wrap gap-4 justify-center">
|
|
154
|
+
<p-button icon="pi pi-home" aria-label="Save" />
|
|
155
|
+
<p-button label="Profile" icon="pi pi-user" />
|
|
156
|
+
<p-button label="Save" icon="pi pi-check" iconPos="right" />
|
|
157
|
+
</div>
|
|
158
|
+
<div class="flex flex-wrap gap-4 justify-center">
|
|
159
|
+
<p-button label="Search" icon="pi pi-search" iconPos="top" />
|
|
160
|
+
<p-button label="Update" icon="pi pi-refresh" iconPos="bottom" />
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
`,
|
|
164
|
+
standalone: true,
|
|
165
|
+
imports: [ButtonModule]
|
|
166
|
+
})
|
|
167
|
+
export class ButtonIconsDemo {}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## iconsonly-doc
|
|
171
|
+
|
|
172
|
+
Buttons can have icons without labels.
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
import { Component } from '@angular/core';
|
|
176
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
177
|
+
|
|
178
|
+
@Component({
|
|
179
|
+
template: `
|
|
180
|
+
<div class="card">
|
|
181
|
+
<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" />
|
|
189
|
+
</div>
|
|
190
|
+
<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" />
|
|
198
|
+
</div>
|
|
199
|
+
<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" />
|
|
207
|
+
</div>
|
|
208
|
+
<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" />
|
|
216
|
+
</div>
|
|
217
|
+
<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" />
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
`,
|
|
228
|
+
standalone: true,
|
|
229
|
+
imports: [ButtonModule]
|
|
230
|
+
})
|
|
231
|
+
export class ButtonIconsonlyDemo {}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
## Link
|
|
235
|
+
|
|
236
|
+
A button can be rendered as a link when link property is present, while the pButton directive can be applied on an anchor element to style the link as a button.
|
|
237
|
+
|
|
238
|
+
```typescript
|
|
239
|
+
import { Component } from '@angular/core';
|
|
240
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
241
|
+
|
|
242
|
+
@Component({
|
|
243
|
+
template: `
|
|
244
|
+
<div class="card flex justify-center gap-4">
|
|
245
|
+
<p-button label="Link" link />
|
|
246
|
+
<a href="https://angular.dev/" pButton target="_blank" rel="noopener noreferrer">
|
|
247
|
+
<span pButtonLabel>Angular Website</span>
|
|
248
|
+
</a>
|
|
249
|
+
<a routerLink="/" pButton>
|
|
250
|
+
<span pButtonLabel>Router Link</span>
|
|
251
|
+
</a>
|
|
252
|
+
</div>
|
|
253
|
+
`,
|
|
254
|
+
standalone: true,
|
|
255
|
+
imports: [ButtonModule]
|
|
256
|
+
})
|
|
257
|
+
export class ButtonLinkDemo {}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Loading
|
|
261
|
+
|
|
262
|
+
Busy state is controlled with the loading property.
|
|
263
|
+
|
|
264
|
+
```typescript
|
|
265
|
+
import { Component, signal } from '@angular/core';
|
|
266
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
267
|
+
|
|
268
|
+
@Component({
|
|
269
|
+
template: `
|
|
270
|
+
<div class="card flex justify-center gap-4">
|
|
271
|
+
<p-button label="Search" icon="pi pi-check" [loading]="loading()" (onClick)="load()" />
|
|
272
|
+
</div>
|
|
273
|
+
`,
|
|
274
|
+
standalone: true,
|
|
275
|
+
imports: [ButtonModule]
|
|
276
|
+
})
|
|
277
|
+
export class ButtonLoadingDemo {
|
|
278
|
+
loading = signal(false);
|
|
279
|
+
|
|
280
|
+
load() {
|
|
281
|
+
this.loading.set(true);
|
|
282
|
+
|
|
283
|
+
setTimeout(() => {
|
|
284
|
+
this.loading.set(false);
|
|
285
|
+
}, 2000);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
## Outlined
|
|
291
|
+
|
|
292
|
+
Outlined buttons display a border without a background initially.
|
|
293
|
+
|
|
294
|
+
```typescript
|
|
295
|
+
import { Component } from '@angular/core';
|
|
296
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
297
|
+
|
|
298
|
+
@Component({
|
|
299
|
+
template: `
|
|
300
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
301
|
+
<p-button label="Primary" variant="outlined" />
|
|
302
|
+
<p-button label="Secondary" variant="outlined" severity="secondary" />
|
|
303
|
+
<p-button label="Success" variant="outlined" severity="success" />
|
|
304
|
+
<p-button label="Info" variant="outlined" severity="info" />
|
|
305
|
+
<p-button label="Warn" variant="outlined" severity="warn" />
|
|
306
|
+
<p-button label="Help" variant="outlined" severity="help" />
|
|
307
|
+
<p-button label="Danger" variant="outlined" severity="danger" />
|
|
308
|
+
<p-button label="Contrast" variant="outlined" severity="contrast" />
|
|
309
|
+
</div>
|
|
310
|
+
`,
|
|
311
|
+
standalone: true,
|
|
312
|
+
imports: [ButtonModule]
|
|
313
|
+
})
|
|
314
|
+
export class ButtonOutlinedDemo {}
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## Raised
|
|
318
|
+
|
|
319
|
+
Raised buttons display a shadow to indicate elevation.
|
|
320
|
+
|
|
321
|
+
```typescript
|
|
322
|
+
import { Component } from '@angular/core';
|
|
323
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
324
|
+
|
|
325
|
+
@Component({
|
|
326
|
+
template: `
|
|
327
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
328
|
+
<p-button label="Primary" [raised]="true" />
|
|
329
|
+
<p-button label="Secondary" [raised]="true" severity="secondary" />
|
|
330
|
+
<p-button label="Success" [raised]="true" severity="success" />
|
|
331
|
+
<p-button label="Info" [raised]="true" severity="info" />
|
|
332
|
+
<p-button label="Warn" [raised]="true" severity="warn" />
|
|
333
|
+
<p-button label="Help" [raised]="true" severity="help" />
|
|
334
|
+
<p-button label="Danger" [raised]="true" severity="danger" />
|
|
335
|
+
<p-button label="Contrast" [raised]="true" severity="contrast" />
|
|
336
|
+
</div>
|
|
337
|
+
`,
|
|
338
|
+
standalone: true,
|
|
339
|
+
imports: [ButtonModule]
|
|
340
|
+
})
|
|
341
|
+
export class ButtonRaisedDemo {}
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
## Raised Text
|
|
345
|
+
|
|
346
|
+
Text buttons can be displayed as raised for elevation.
|
|
347
|
+
|
|
348
|
+
```typescript
|
|
349
|
+
import { Component } from '@angular/core';
|
|
350
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
351
|
+
|
|
352
|
+
@Component({
|
|
353
|
+
template: `
|
|
354
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
355
|
+
<p-button label="Primary" variant="text" [raised]="true" />
|
|
356
|
+
<p-button label="Secondary" variant="text" [raised]="true" severity="secondary" />
|
|
357
|
+
<p-button label="Success" variant="text" [raised]="true" severity="success" />
|
|
358
|
+
<p-button label="Info" variant="text" [raised]="true" severity="info" />
|
|
359
|
+
<p-button label="Warn" variant="text" [raised]="true" severity="warn" />
|
|
360
|
+
<p-button label="Help" variant="text" [raised]="true" severity="help" />
|
|
361
|
+
<p-button label="Danger" variant="text" [raised]="true" severity="danger" />
|
|
362
|
+
<p-button label="Plain" variant="text" [raised]="true" />
|
|
363
|
+
</div>
|
|
364
|
+
`,
|
|
365
|
+
standalone: true,
|
|
366
|
+
imports: [ButtonModule]
|
|
367
|
+
})
|
|
368
|
+
export class ButtonRaisedtextDemo {}
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## Rounded
|
|
372
|
+
|
|
373
|
+
Rounded buttons have a circular border radius.
|
|
374
|
+
|
|
375
|
+
```typescript
|
|
376
|
+
import { Component } from '@angular/core';
|
|
377
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
378
|
+
|
|
379
|
+
@Component({
|
|
380
|
+
template: `
|
|
381
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
382
|
+
<p-button label="Primary" [rounded]="true" />
|
|
383
|
+
<p-button label="Secondary" [rounded]="true" severity="secondary" />
|
|
384
|
+
<p-button label="Success" [rounded]="true" severity="success" />
|
|
385
|
+
<p-button label="Info" [rounded]="true" severity="info" />
|
|
386
|
+
<p-button label="Warn" [rounded]="true" severity="warn" />
|
|
387
|
+
<p-button label="Help" [rounded]="true" severity="help" />
|
|
388
|
+
<p-button label="Danger" [rounded]="true" severity="danger" />
|
|
389
|
+
<p-button label="Contrast" [rounded]="true" severity="contrast" />
|
|
390
|
+
</div>
|
|
391
|
+
`,
|
|
392
|
+
standalone: true,
|
|
393
|
+
imports: [ButtonModule]
|
|
394
|
+
})
|
|
395
|
+
export class ButtonRoundedDemo {}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
## Severity
|
|
399
|
+
|
|
400
|
+
Severity defines the type of button.
|
|
401
|
+
|
|
402
|
+
```typescript
|
|
403
|
+
import { Component } from '@angular/core';
|
|
404
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
405
|
+
|
|
406
|
+
@Component({
|
|
407
|
+
template: `
|
|
408
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
409
|
+
<p-button label="Primary" />
|
|
410
|
+
<p-button label="Secondary" severity="secondary" />
|
|
411
|
+
<p-button label="Success" severity="success" />
|
|
412
|
+
<p-button label="Info" severity="info" />
|
|
413
|
+
<p-button label="Warn" severity="warn" />
|
|
414
|
+
<p-button label="Help" severity="help" />
|
|
415
|
+
<p-button label="Danger" severity="danger" />
|
|
416
|
+
<p-button label="Contrast" severity="contrast" />
|
|
417
|
+
</div>
|
|
418
|
+
`,
|
|
419
|
+
standalone: true,
|
|
420
|
+
imports: [ButtonModule]
|
|
421
|
+
})
|
|
422
|
+
export class ButtonSeverityDemo {}
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
## Sizes
|
|
426
|
+
|
|
427
|
+
Button provides small and large sizes as alternatives to the standard.
|
|
428
|
+
|
|
429
|
+
```typescript
|
|
430
|
+
import { Component } from '@angular/core';
|
|
431
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
432
|
+
|
|
433
|
+
@Component({
|
|
434
|
+
template: `
|
|
435
|
+
<div class="card flex justify-center flex-wrap gap-4 items-center">
|
|
436
|
+
<p-button label="Small" icon="pi pi-check" size="small" />
|
|
437
|
+
<p-button label="Normal" icon="pi pi-check" />
|
|
438
|
+
<p-button label="Large" icon="pi pi-check" size="large" />
|
|
439
|
+
</div>
|
|
440
|
+
`,
|
|
441
|
+
standalone: true,
|
|
442
|
+
imports: [ButtonModule]
|
|
443
|
+
})
|
|
444
|
+
export class ButtonSizesDemo {}
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
## Template
|
|
448
|
+
|
|
449
|
+
Custom content inside a button is defined as children.
|
|
450
|
+
|
|
451
|
+
```typescript
|
|
452
|
+
import { Component } from '@angular/core';
|
|
453
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
454
|
+
|
|
455
|
+
@Component({
|
|
456
|
+
template: `
|
|
457
|
+
<div class="card flex justify-center">
|
|
458
|
+
<p-button [outlined]="true">
|
|
459
|
+
<svg width="31" height="33" viewBox="0 0 31 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="block mx-auto">
|
|
460
|
+
<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
|
+
<mask id="mask0_1_52" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="33">
|
|
462
|
+
<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(--ground-background)" />
|
|
463
|
+
</mask>
|
|
464
|
+
<g mask="url(#mask0_1_52)">
|
|
465
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.1935 0V3.5994V3.58318V20.0075V20.0075V32.427V32.427L28.0364 25.3417L30.3478 5.38288L15.1935 0Z" fill="var(--p-primary-color)" />
|
|
466
|
+
</g>
|
|
467
|
+
<path d="M19.6399 15.3776L18.1861 15.0547L19.3169 16.6695V21.6755L23.1938 18.4458V12.9554L21.4169 13.6013L19.6399 15.3776Z" fill="var(--ground-background)" />
|
|
468
|
+
<path d="M10.5936 15.3776L12.0474 15.0547L10.9166 16.6695V21.6755L7.03966 18.4458V12.9554L8.81661 13.6013L10.5936 15.3776Z" fill="var(--ground-background)" />
|
|
469
|
+
<path
|
|
470
|
+
fill-rule="evenodd"
|
|
471
|
+
clip-rule="evenodd"
|
|
472
|
+
d="M11.3853 16.9726L12.6739 15.0309L13.4793 15.5163H16.7008L17.5061 15.0309L18.7947 16.9726V24.254L17.8283 25.7103L16.7008 26.843H13.4793L12.3518 25.7103L11.3853 24.254V16.9726Z"
|
|
473
|
+
fill="var(--ground-background)"
|
|
474
|
+
/>
|
|
475
|
+
<path d="M19.3168 24.7437L21.4168 22.6444V20.5451L19.3168 22.3214V24.7437Z" fill="var(--ground-background)" />
|
|
476
|
+
<path d="M10.9166 24.7437L8.81662 22.6444V20.5451L10.9166 22.3214V24.7437Z" fill="var(--ground-background)" />
|
|
477
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.0167 5.68861L11.7244 8.7568L13.8244 14.8932H14.7936V5.68861H13.0167ZM15.4397 5.68861V14.8932H16.5706L18.5091 8.7568L17.2167 5.68861H15.4397Z" fill="var(--ground-background)" />
|
|
478
|
+
<path d="M13.8244 14.8932L6.87813 12.3094L5.90888 8.27235L11.8859 8.7568L13.9859 14.8932H13.8244Z" fill="var(--ground-background)" />
|
|
479
|
+
<path d="M16.5706 14.8932L23.5169 12.3094L24.4861 8.27235L18.3476 8.7568L16.4091 14.8932H16.5706Z" fill="var(--ground-background)" />
|
|
480
|
+
<path d="M18.8321 8.27235L22.2245 7.94938L19.9629 5.68861H17.7013L18.8321 8.27235Z" fill="var(--ground-background)" />
|
|
481
|
+
<path d="M11.4013 8.27235L8.00893 7.94938L10.2705 5.68861H12.5321L11.4013 8.27235Z" fill="var(--ground-background)" />
|
|
482
|
+
</svg>
|
|
483
|
+
</p-button>
|
|
484
|
+
</div>
|
|
485
|
+
`,
|
|
486
|
+
standalone: true,
|
|
487
|
+
imports: [ButtonModule]
|
|
488
|
+
})
|
|
489
|
+
export class ButtonTemplateDemo {}
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
## Text
|
|
493
|
+
|
|
494
|
+
Text buttons are displayed as textual elements.
|
|
495
|
+
|
|
496
|
+
```typescript
|
|
497
|
+
import { Component } from '@angular/core';
|
|
498
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
499
|
+
|
|
500
|
+
@Component({
|
|
501
|
+
template: `
|
|
502
|
+
<div class="card flex flex-wrap gap-4 justify-center">
|
|
503
|
+
<p-button label="Primary" variant="text" />
|
|
504
|
+
<p-button label="Secondary" variant="text" severity="secondary" />
|
|
505
|
+
<p-button label="Success" variant="text" severity="success" />
|
|
506
|
+
<p-button label="Info" variant="text" severity="info" />
|
|
507
|
+
<p-button label="Warn" variant="text" severity="warn" />
|
|
508
|
+
<p-button label="Help" variant="text" severity="help" />
|
|
509
|
+
<p-button label="Danger" variant="text" severity="danger" />
|
|
510
|
+
<p-button label="Plain" variant="text" />
|
|
511
|
+
</div>
|
|
512
|
+
`,
|
|
513
|
+
standalone: true,
|
|
514
|
+
imports: [ButtonModule]
|
|
515
|
+
})
|
|
516
|
+
export class ButtonTextDemo {}
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
## Button
|
|
520
|
+
|
|
521
|
+
Button is an extension to standard button element with icons and theming.
|
|
522
|
+
|
|
523
|
+
### Props
|
|
524
|
+
|
|
525
|
+
| Name | Type | Default | Description |
|
|
526
|
+
|------|------|---------|-------------|
|
|
527
|
+
| dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
|
|
528
|
+
| unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
|
|
529
|
+
| pt | InputSignal<ButtonPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
530
|
+
| ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
|
|
531
|
+
| type | InputSignal<string> | ... | Type of the button. |
|
|
532
|
+
| badge | InputSignal<string> | ... | Value of the badge. |
|
|
533
|
+
| disabled | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should be disabled. |
|
|
534
|
+
| raised | InputSignalWithTransform<boolean, unknown> | ... | Add a shadow to indicate elevation. |
|
|
535
|
+
| rounded | InputSignalWithTransform<boolean, unknown> | ... | Add a circular border radius to the button. |
|
|
536
|
+
| text | InputSignalWithTransform<boolean, unknown> | ... | Add a textual class to the button without a background initially. |
|
|
537
|
+
| plain | InputSignalWithTransform<boolean, unknown> | ... | Add a plain textual class to the button without a background initially. |
|
|
538
|
+
| outlined | InputSignalWithTransform<boolean, unknown> | ... | Add a border class without a background initially. |
|
|
539
|
+
| link | InputSignalWithTransform<boolean, unknown> | ... | Add a link style to the button. |
|
|
540
|
+
| tabindex | InputSignalWithTransform<number, unknown> | ... | Add a tabindex to the button. |
|
|
541
|
+
| size | InputSignal<"small" \| "large"> | ... | Defines the size of the button. |
|
|
542
|
+
| variant | InputSignal<"text" \| "outlined"> | ... | Specifies the variant of the component. |
|
|
543
|
+
| style | InputSignal<{ [klass: string]: any }> | ... | Inline style of the element. |
|
|
544
|
+
| styleClass | InputSignal<string> | ... | Class of the element. |
|
|
545
|
+
| badgeSeverity | InputSignal<"success" \| "info" \| "warn" \| "danger" \| "secondary" \| "contrast" \| "help" \| "primary"> | secondary | Severity type of the badge. |
|
|
546
|
+
| ariaLabel | InputSignal<string> | ... | Used to define a string that autocomplete attribute the current element. |
|
|
547
|
+
| autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should automatically get focus on load. |
|
|
548
|
+
| iconPos | InputSignal<ButtonIconPosition> | ... | Position of the icon. |
|
|
549
|
+
| icon | InputSignal<string> | ... | Name of the icon. |
|
|
550
|
+
| label | InputSignal<string> | ... | Text of the button. |
|
|
551
|
+
| loading | InputSignalWithTransform<boolean, unknown> | ... | Whether the button is in loading state. |
|
|
552
|
+
| loadingIcon | InputSignal<string> | ... | Icon to display in loading state. |
|
|
553
|
+
| severity | InputSignal<ButtonSeverity> | ... | Defines the style of the button. |
|
|
554
|
+
| buttonProps | InputSignal<ButtonProps> | ... | Used to pass all properties of the ButtonProps to the Button component. |
|
|
555
|
+
| fluid | InputSignalWithTransform<boolean, unknown> | undefined | Spans 100% width of the container when enabled. |
|
|
556
|
+
|
|
557
|
+
### Emits
|
|
558
|
+
|
|
559
|
+
| Name | Parameters | Description |
|
|
560
|
+
|------|------------|-------------|
|
|
561
|
+
| onClick | event: MouseEvent | Callback to execute when button is clicked. This event is intended to be used with the <p-button> component. Using a regular <button> element, use (click). |
|
|
562
|
+
| onFocus | event: FocusEvent | Callback to execute when button is focused. This event is intended to be used with the <p-button> component. Using a regular <button> element, use (focus). |
|
|
563
|
+
| onBlur | event: FocusEvent | Callback to execute when button loses focus. This event is intended to be used with the <p-button> component. Using a regular <button> element, use (blur). |
|
|
564
|
+
|
|
565
|
+
### Templates
|
|
566
|
+
|
|
567
|
+
| Name | Type | Description |
|
|
568
|
+
|------|------|-------------|
|
|
569
|
+
| content | TemplateRef<void> | Custom content template. |
|
|
570
|
+
| loadingicon | TemplateRef<ButtonLoadingIconTemplateContext> | Custom loading icon template. |
|
|
571
|
+
| icon | TemplateRef<ButtonIconTemplateContext> | Custom icon template. |
|
|
572
|
+
|
|
573
|
+
## Pass Through Options
|
|
574
|
+
|
|
575
|
+
| Name | Type | Description |
|
|
576
|
+
|------|------|-------------|
|
|
577
|
+
| host | PassThroughOption<HTMLElement, I> | Used to pass attributes to the host DOM element. |
|
|
578
|
+
| root | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the root's DOM element. |
|
|
579
|
+
| loadingIcon | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the loading icon's DOM element. |
|
|
580
|
+
| icon | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the icon's DOM element. |
|
|
581
|
+
| label | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the label's DOM element. |
|
|
582
|
+
| pcBadge | BadgePassThrough | Used to pass attributes to the Badge component. |
|
|
583
|
+
|
|
584
|
+
## Theming
|
|
585
|
+
|
|
586
|
+
### CSS Classes
|
|
587
|
+
|
|
588
|
+
| Class | Description |
|
|
589
|
+
|-------|-------------|
|
|
590
|
+
| p-button | Class name of the root element |
|
|
591
|
+
| p-button-loading-icon | Class name of the loading icon element |
|
|
592
|
+
| p-button-icon | Class name of the icon element |
|
|
593
|
+
| p-button-label | Class name of the label element |
|
|
594
|
+
|
|
595
|
+
### Design Tokens
|
|
596
|
+
|
|
597
|
+
| Token | CSS Variable | Description |
|
|
598
|
+
|-------|--------------|-------------|
|
|
599
|
+
| button.border.radius | --p-button-border-radius | Border radius of root |
|
|
600
|
+
| button.rounded.border.radius | --p-button-rounded-border-radius | Rounded border radius of root |
|
|
601
|
+
| button.gap | --p-button-gap | Gap of root |
|
|
602
|
+
| button.padding.x | --p-button-padding-x | Padding x of root |
|
|
603
|
+
| button.padding.y | --p-button-padding-y | Padding y of root |
|
|
604
|
+
| button.icon.only.width | --p-button-icon-only-width | Icon only width of root |
|
|
605
|
+
| button.sm.font.size | --p-button-sm-font-size | Sm font size of root |
|
|
606
|
+
| button.sm.padding.x | --p-button-sm-padding-x | Sm padding x of root |
|
|
607
|
+
| button.sm.padding.y | --p-button-sm-padding-y | Sm padding y of root |
|
|
608
|
+
| button.sm.icon.only.width | --p-button-sm-icon-only-width | Sm icon only width of root |
|
|
609
|
+
| button.lg.font.size | --p-button-lg-font-size | Lg font size of root |
|
|
610
|
+
| button.lg.padding.x | --p-button-lg-padding-x | Lg padding x of root |
|
|
611
|
+
| button.lg.padding.y | --p-button-lg-padding-y | Lg padding y of root |
|
|
612
|
+
| button.lg.icon.only.width | --p-button-lg-icon-only-width | Lg icon only width of root |
|
|
613
|
+
| button.label.font.weight | --p-button-label-font-weight | Label font weight of root |
|
|
614
|
+
| button.raised.shadow | --p-button-raised-shadow | Raised shadow of root |
|
|
615
|
+
| button.focus.ring.width | --p-button-focus-ring-width | Focus ring width of root |
|
|
616
|
+
| button.focus.ring.style | --p-button-focus-ring-style | Focus ring style of root |
|
|
617
|
+
| button.focus.ring.offset | --p-button-focus-ring-offset | Focus ring offset of root |
|
|
618
|
+
| button.badge.size | --p-button-badge-size | Badge size of root |
|
|
619
|
+
| button.transition.duration | --p-button-transition-duration | Transition duration of root |
|
|
620
|
+
| button.primary.background | --p-button-primary-background | Primary background of root |
|
|
621
|
+
| button.primary.hover.background | --p-button-primary-hover-background | Primary hover background of root |
|
|
622
|
+
| button.primary.active.background | --p-button-primary-active-background | Primary active background of root |
|
|
623
|
+
| button.primary.border.color | --p-button-primary-border-color | Primary border color of root |
|
|
624
|
+
| button.primary.hover.border.color | --p-button-primary-hover-border-color | Primary hover border color of root |
|
|
625
|
+
| button.primary.active.border.color | --p-button-primary-active-border-color | Primary active border color of root |
|
|
626
|
+
| button.primary.color | --p-button-primary-color | Primary color of root |
|
|
627
|
+
| button.primary.hover.color | --p-button-primary-hover-color | Primary hover color of root |
|
|
628
|
+
| button.primary.active.color | --p-button-primary-active-color | Primary active color of root |
|
|
629
|
+
| button.primary.focus.ring.color | --p-button-primary-focus-ring-color | Primary focus ring color of root |
|
|
630
|
+
| button.primary.focus.ring.shadow | --p-button-primary-focus-ring-shadow | Primary focus ring shadow of root |
|
|
631
|
+
| button.secondary.background | --p-button-secondary-background | Secondary background of root |
|
|
632
|
+
| button.secondary.hover.background | --p-button-secondary-hover-background | Secondary hover background of root |
|
|
633
|
+
| button.secondary.active.background | --p-button-secondary-active-background | Secondary active background of root |
|
|
634
|
+
| button.secondary.border.color | --p-button-secondary-border-color | Secondary border color of root |
|
|
635
|
+
| button.secondary.hover.border.color | --p-button-secondary-hover-border-color | Secondary hover border color of root |
|
|
636
|
+
| button.secondary.active.border.color | --p-button-secondary-active-border-color | Secondary active border color of root |
|
|
637
|
+
| button.secondary.color | --p-button-secondary-color | Secondary color of root |
|
|
638
|
+
| button.secondary.hover.color | --p-button-secondary-hover-color | Secondary hover color of root |
|
|
639
|
+
| button.secondary.active.color | --p-button-secondary-active-color | Secondary active color of root |
|
|
640
|
+
| button.secondary.focus.ring.color | --p-button-secondary-focus-ring-color | Secondary focus ring color of root |
|
|
641
|
+
| button.secondary.focus.ring.shadow | --p-button-secondary-focus-ring-shadow | Secondary focus ring shadow of root |
|
|
642
|
+
| button.info.background | --p-button-info-background | Info background of root |
|
|
643
|
+
| button.info.hover.background | --p-button-info-hover-background | Info hover background of root |
|
|
644
|
+
| button.info.active.background | --p-button-info-active-background | Info active background of root |
|
|
645
|
+
| button.info.border.color | --p-button-info-border-color | Info border color of root |
|
|
646
|
+
| button.info.hover.border.color | --p-button-info-hover-border-color | Info hover border color of root |
|
|
647
|
+
| button.info.active.border.color | --p-button-info-active-border-color | Info active border color of root |
|
|
648
|
+
| button.info.color | --p-button-info-color | Info color of root |
|
|
649
|
+
| button.info.hover.color | --p-button-info-hover-color | Info hover color of root |
|
|
650
|
+
| button.info.active.color | --p-button-info-active-color | Info active color of root |
|
|
651
|
+
| button.info.focus.ring.color | --p-button-info-focus-ring-color | Info focus ring color of root |
|
|
652
|
+
| button.info.focus.ring.shadow | --p-button-info-focus-ring-shadow | Info focus ring shadow of root |
|
|
653
|
+
| button.success.background | --p-button-success-background | Success background of root |
|
|
654
|
+
| button.success.hover.background | --p-button-success-hover-background | Success hover background of root |
|
|
655
|
+
| button.success.active.background | --p-button-success-active-background | Success active background of root |
|
|
656
|
+
| button.success.border.color | --p-button-success-border-color | Success border color of root |
|
|
657
|
+
| button.success.hover.border.color | --p-button-success-hover-border-color | Success hover border color of root |
|
|
658
|
+
| button.success.active.border.color | --p-button-success-active-border-color | Success active border color of root |
|
|
659
|
+
| button.success.color | --p-button-success-color | Success color of root |
|
|
660
|
+
| button.success.hover.color | --p-button-success-hover-color | Success hover color of root |
|
|
661
|
+
| button.success.active.color | --p-button-success-active-color | Success active color of root |
|
|
662
|
+
| button.success.focus.ring.color | --p-button-success-focus-ring-color | Success focus ring color of root |
|
|
663
|
+
| button.success.focus.ring.shadow | --p-button-success-focus-ring-shadow | Success focus ring shadow of root |
|
|
664
|
+
| button.warn.background | --p-button-warn-background | Warn background of root |
|
|
665
|
+
| button.warn.hover.background | --p-button-warn-hover-background | Warn hover background of root |
|
|
666
|
+
| button.warn.active.background | --p-button-warn-active-background | Warn active background of root |
|
|
667
|
+
| button.warn.border.color | --p-button-warn-border-color | Warn border color of root |
|
|
668
|
+
| button.warn.hover.border.color | --p-button-warn-hover-border-color | Warn hover border color of root |
|
|
669
|
+
| button.warn.active.border.color | --p-button-warn-active-border-color | Warn active border color of root |
|
|
670
|
+
| button.warn.color | --p-button-warn-color | Warn color of root |
|
|
671
|
+
| button.warn.hover.color | --p-button-warn-hover-color | Warn hover color of root |
|
|
672
|
+
| button.warn.active.color | --p-button-warn-active-color | Warn active color of root |
|
|
673
|
+
| button.warn.focus.ring.color | --p-button-warn-focus-ring-color | Warn focus ring color of root |
|
|
674
|
+
| button.warn.focus.ring.shadow | --p-button-warn-focus-ring-shadow | Warn focus ring shadow of root |
|
|
675
|
+
| button.help.background | --p-button-help-background | Help background of root |
|
|
676
|
+
| button.help.hover.background | --p-button-help-hover-background | Help hover background of root |
|
|
677
|
+
| button.help.active.background | --p-button-help-active-background | Help active background of root |
|
|
678
|
+
| button.help.border.color | --p-button-help-border-color | Help border color of root |
|
|
679
|
+
| button.help.hover.border.color | --p-button-help-hover-border-color | Help hover border color of root |
|
|
680
|
+
| button.help.active.border.color | --p-button-help-active-border-color | Help active border color of root |
|
|
681
|
+
| button.help.color | --p-button-help-color | Help color of root |
|
|
682
|
+
| button.help.hover.color | --p-button-help-hover-color | Help hover color of root |
|
|
683
|
+
| button.help.active.color | --p-button-help-active-color | Help active color of root |
|
|
684
|
+
| button.help.focus.ring.color | --p-button-help-focus-ring-color | Help focus ring color of root |
|
|
685
|
+
| button.help.focus.ring.shadow | --p-button-help-focus-ring-shadow | Help focus ring shadow of root |
|
|
686
|
+
| button.danger.background | --p-button-danger-background | Danger background of root |
|
|
687
|
+
| button.danger.hover.background | --p-button-danger-hover-background | Danger hover background of root |
|
|
688
|
+
| button.danger.active.background | --p-button-danger-active-background | Danger active background of root |
|
|
689
|
+
| button.danger.border.color | --p-button-danger-border-color | Danger border color of root |
|
|
690
|
+
| button.danger.hover.border.color | --p-button-danger-hover-border-color | Danger hover border color of root |
|
|
691
|
+
| button.danger.active.border.color | --p-button-danger-active-border-color | Danger active border color of root |
|
|
692
|
+
| button.danger.color | --p-button-danger-color | Danger color of root |
|
|
693
|
+
| button.danger.hover.color | --p-button-danger-hover-color | Danger hover color of root |
|
|
694
|
+
| button.danger.active.color | --p-button-danger-active-color | Danger active color of root |
|
|
695
|
+
| button.danger.focus.ring.color | --p-button-danger-focus-ring-color | Danger focus ring color of root |
|
|
696
|
+
| button.danger.focus.ring.shadow | --p-button-danger-focus-ring-shadow | Danger focus ring shadow of root |
|
|
697
|
+
| button.contrast.background | --p-button-contrast-background | Contrast background of root |
|
|
698
|
+
| button.contrast.hover.background | --p-button-contrast-hover-background | Contrast hover background of root |
|
|
699
|
+
| button.contrast.active.background | --p-button-contrast-active-background | Contrast active background of root |
|
|
700
|
+
| button.contrast.border.color | --p-button-contrast-border-color | Contrast border color of root |
|
|
701
|
+
| button.contrast.hover.border.color | --p-button-contrast-hover-border-color | Contrast hover border color of root |
|
|
702
|
+
| button.contrast.active.border.color | --p-button-contrast-active-border-color | Contrast active border color of root |
|
|
703
|
+
| button.contrast.color | --p-button-contrast-color | Contrast color of root |
|
|
704
|
+
| button.contrast.hover.color | --p-button-contrast-hover-color | Contrast hover color of root |
|
|
705
|
+
| button.contrast.active.color | --p-button-contrast-active-color | Contrast active color of root |
|
|
706
|
+
| button.contrast.focus.ring.color | --p-button-contrast-focus-ring-color | Contrast focus ring color of root |
|
|
707
|
+
| button.contrast.focus.ring.shadow | --p-button-contrast-focus-ring-shadow | Contrast focus ring shadow of root |
|
|
708
|
+
| button.outlined.primary.hover.background | --p-button-outlined-primary-hover-background | Primary hover background of outlined |
|
|
709
|
+
| button.outlined.primary.active.background | --p-button-outlined-primary-active-background | Primary active background of outlined |
|
|
710
|
+
| button.outlined.primary.border.color | --p-button-outlined-primary-border-color | Primary border color of outlined |
|
|
711
|
+
| button.outlined.primary.color | --p-button-outlined-primary-color | Primary color of outlined |
|
|
712
|
+
| button.outlined.secondary.hover.background | --p-button-outlined-secondary-hover-background | Secondary hover background of outlined |
|
|
713
|
+
| button.outlined.secondary.active.background | --p-button-outlined-secondary-active-background | Secondary active background of outlined |
|
|
714
|
+
| button.outlined.secondary.border.color | --p-button-outlined-secondary-border-color | Secondary border color of outlined |
|
|
715
|
+
| button.outlined.secondary.color | --p-button-outlined-secondary-color | Secondary color of outlined |
|
|
716
|
+
| button.outlined.success.hover.background | --p-button-outlined-success-hover-background | Success hover background of outlined |
|
|
717
|
+
| button.outlined.success.active.background | --p-button-outlined-success-active-background | Success active background of outlined |
|
|
718
|
+
| button.outlined.success.border.color | --p-button-outlined-success-border-color | Success border color of outlined |
|
|
719
|
+
| button.outlined.success.color | --p-button-outlined-success-color | Success color of outlined |
|
|
720
|
+
| button.outlined.info.hover.background | --p-button-outlined-info-hover-background | Info hover background of outlined |
|
|
721
|
+
| button.outlined.info.active.background | --p-button-outlined-info-active-background | Info active background of outlined |
|
|
722
|
+
| button.outlined.info.border.color | --p-button-outlined-info-border-color | Info border color of outlined |
|
|
723
|
+
| button.outlined.info.color | --p-button-outlined-info-color | Info color of outlined |
|
|
724
|
+
| button.outlined.warn.hover.background | --p-button-outlined-warn-hover-background | Warn hover background of outlined |
|
|
725
|
+
| button.outlined.warn.active.background | --p-button-outlined-warn-active-background | Warn active background of outlined |
|
|
726
|
+
| button.outlined.warn.border.color | --p-button-outlined-warn-border-color | Warn border color of outlined |
|
|
727
|
+
| button.outlined.warn.color | --p-button-outlined-warn-color | Warn color of outlined |
|
|
728
|
+
| button.outlined.help.hover.background | --p-button-outlined-help-hover-background | Help hover background of outlined |
|
|
729
|
+
| button.outlined.help.active.background | --p-button-outlined-help-active-background | Help active background of outlined |
|
|
730
|
+
| button.outlined.help.border.color | --p-button-outlined-help-border-color | Help border color of outlined |
|
|
731
|
+
| button.outlined.help.color | --p-button-outlined-help-color | Help color of outlined |
|
|
732
|
+
| button.outlined.danger.hover.background | --p-button-outlined-danger-hover-background | Danger hover background of outlined |
|
|
733
|
+
| button.outlined.danger.active.background | --p-button-outlined-danger-active-background | Danger active background of outlined |
|
|
734
|
+
| button.outlined.danger.border.color | --p-button-outlined-danger-border-color | Danger border color of outlined |
|
|
735
|
+
| button.outlined.danger.color | --p-button-outlined-danger-color | Danger color of outlined |
|
|
736
|
+
| button.outlined.contrast.hover.background | --p-button-outlined-contrast-hover-background | Contrast hover background of outlined |
|
|
737
|
+
| button.outlined.contrast.active.background | --p-button-outlined-contrast-active-background | Contrast active background of outlined |
|
|
738
|
+
| button.outlined.contrast.border.color | --p-button-outlined-contrast-border-color | Contrast border color of outlined |
|
|
739
|
+
| button.outlined.contrast.color | --p-button-outlined-contrast-color | Contrast color of outlined |
|
|
740
|
+
| button.outlined.plain.hover.background | --p-button-outlined-plain-hover-background | Plain hover background of outlined |
|
|
741
|
+
| button.outlined.plain.active.background | --p-button-outlined-plain-active-background | Plain active background of outlined |
|
|
742
|
+
| button.outlined.plain.border.color | --p-button-outlined-plain-border-color | Plain border color of outlined |
|
|
743
|
+
| button.outlined.plain.color | --p-button-outlined-plain-color | Plain color of outlined |
|
|
744
|
+
| button.text.primary.hover.background | --p-button-text-primary-hover-background | Primary hover background of text |
|
|
745
|
+
| button.text.primary.active.background | --p-button-text-primary-active-background | Primary active background of text |
|
|
746
|
+
| button.text.primary.color | --p-button-text-primary-color | Primary color of text |
|
|
747
|
+
| button.text.secondary.hover.background | --p-button-text-secondary-hover-background | Secondary hover background of text |
|
|
748
|
+
| button.text.secondary.active.background | --p-button-text-secondary-active-background | Secondary active background of text |
|
|
749
|
+
| button.text.secondary.color | --p-button-text-secondary-color | Secondary color of text |
|
|
750
|
+
| button.text.success.hover.background | --p-button-text-success-hover-background | Success hover background of text |
|
|
751
|
+
| button.text.success.active.background | --p-button-text-success-active-background | Success active background of text |
|
|
752
|
+
| button.text.success.color | --p-button-text-success-color | Success color of text |
|
|
753
|
+
| button.text.info.hover.background | --p-button-text-info-hover-background | Info hover background of text |
|
|
754
|
+
| button.text.info.active.background | --p-button-text-info-active-background | Info active background of text |
|
|
755
|
+
| button.text.info.color | --p-button-text-info-color | Info color of text |
|
|
756
|
+
| button.text.warn.hover.background | --p-button-text-warn-hover-background | Warn hover background of text |
|
|
757
|
+
| button.text.warn.active.background | --p-button-text-warn-active-background | Warn active background of text |
|
|
758
|
+
| button.text.warn.color | --p-button-text-warn-color | Warn color of text |
|
|
759
|
+
| button.text.help.hover.background | --p-button-text-help-hover-background | Help hover background of text |
|
|
760
|
+
| button.text.help.active.background | --p-button-text-help-active-background | Help active background of text |
|
|
761
|
+
| button.text.help.color | --p-button-text-help-color | Help color of text |
|
|
762
|
+
| button.text.danger.hover.background | --p-button-text-danger-hover-background | Danger hover background of text |
|
|
763
|
+
| button.text.danger.active.background | --p-button-text-danger-active-background | Danger active background of text |
|
|
764
|
+
| button.text.danger.color | --p-button-text-danger-color | Danger color of text |
|
|
765
|
+
| button.text.contrast.hover.background | --p-button-text-contrast-hover-background | Contrast hover background of text |
|
|
766
|
+
| button.text.contrast.active.background | --p-button-text-contrast-active-background | Contrast active background of text |
|
|
767
|
+
| button.text.contrast.color | --p-button-text-contrast-color | Contrast color of text |
|
|
768
|
+
| button.text.plain.hover.background | --p-button-text-plain-hover-background | Plain hover background of text |
|
|
769
|
+
| button.text.plain.active.background | --p-button-text-plain-active-background | Plain active background of text |
|
|
770
|
+
| button.text.plain.color | --p-button-text-plain-color | Plain color of text |
|
|
771
|
+
| button.link.color | --p-button-link-color | Color of link |
|
|
772
|
+
| button.link.hover.color | --p-button-link-hover-color | Hover color of link |
|
|
773
|
+
| button.link.active.color | --p-button-link-active-color | Active color of link |
|
|
774
|
+
|