igniteui-angular 21.1.3 → 21.1.4
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/package.json
CHANGED
|
@@ -23,7 +23,7 @@ import { IgxIconComponent } from 'igniteui-angular/icon';
|
|
|
23
23
|
```html
|
|
24
24
|
<!-- Text buttons -->
|
|
25
25
|
<button igxButton="flat">Flat</button>
|
|
26
|
-
<button igxButton="
|
|
26
|
+
<button igxButton="contained">Contained</button>
|
|
27
27
|
<button igxButton="outlined">Outlined</button>
|
|
28
28
|
<button igxButton="fab">
|
|
29
29
|
<igx-icon>add</igx-icon>
|
|
@@ -35,10 +35,10 @@ import { IgxIconComponent } from 'igniteui-angular/icon';
|
|
|
35
35
|
<button igxIconButton="contained"><igx-icon>save</igx-icon></button>
|
|
36
36
|
|
|
37
37
|
<!-- Disabled state -->
|
|
38
|
-
<button igxButton="
|
|
38
|
+
<button igxButton="contained" [disabled]="isLoading()">Submit</button>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Button variants for `igxButton`: `'flat'`, `'
|
|
41
|
+
Button variants for `igxButton`: `'flat'`, `'contained'`, `'outlined'`, `'fab'`.
|
|
42
42
|
Button variants for `igxIconButton`: `'flat'`, `'outlined'`, `'contained'`.
|
|
43
43
|
|
|
44
44
|
## Button Group
|
|
@@ -166,14 +166,14 @@ import { IgxRippleDirective } from 'igniteui-angular/directives';
|
|
|
166
166
|
|
|
167
167
|
```html
|
|
168
168
|
<!-- Add to any clickable element for Material-style ink ripple -->
|
|
169
|
-
<button igxButton="
|
|
169
|
+
<button igxButton="contained" igxRipple>Click me</button>
|
|
170
170
|
<div igxRipple igxRippleTarget=".my-class" class="custom-surface">Interactive div</div>
|
|
171
171
|
```
|
|
172
172
|
|
|
173
173
|
Inputs: `[igxRipple]` (ripple color), `[igxRippleCentered]` (always start from center), `[igxRippleDisabled]`.
|
|
174
174
|
|
|
175
175
|
```html
|
|
176
|
-
<button igxButton="
|
|
176
|
+
<button igxButton="contained" igxRipple="#ff4081" [igxRippleCentered]="true">Pink ripple</button>
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
## Tooltip
|
|
@@ -34,11 +34,11 @@ import { IgxButtonDirective } from 'igniteui-angular/directives';
|
|
|
34
34
|
<p>Are you sure you want to delete this item? This action cannot be undone.</p>
|
|
35
35
|
<div igxDialogActions>
|
|
36
36
|
<button igxButton="flat" (click)="confirmDialog.close()">Cancel</button>
|
|
37
|
-
<button igxButton="
|
|
37
|
+
<button igxButton="contained" (click)="deleteItem(); confirmDialog.close()">Delete</button>
|
|
38
38
|
</div>
|
|
39
39
|
</igx-dialog>
|
|
40
40
|
|
|
41
|
-
<button igxButton="
|
|
41
|
+
<button igxButton="contained" (click)="confirmDialog.open()">Delete Item</button>
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Programmatic control:
|