igniteui-angular 16.1.2 → 16.1.3
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 +6 -5
- package/esm2022/lib/action-strip/action-strip.component.mjs +3 -3
- package/esm2022/lib/action-strip/grid-actions/grid-action-button.component.mjs +3 -3
- package/esm2022/lib/banner/banner.component.mjs +8 -8
- package/esm2022/lib/card/card.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel.component.mjs +7 -7
- package/esm2022/lib/combo/combo-dropdown.component.mjs +3 -3
- package/esm2022/lib/combo/combo.common.mjs +5 -5
- package/esm2022/lib/combo/combo.component.mjs +3 -3
- package/esm2022/lib/combo/combo.directives.mjs +2 -2
- package/esm2022/lib/core/navigation/directives.mjs +3 -3
- package/esm2022/lib/date-common/calendar-container/calendar-container.component.mjs +3 -3
- package/esm2022/lib/date-picker/date-picker.component.mjs +7 -7
- package/esm2022/lib/date-range-picker/date-range-picker.component.mjs +6 -6
- package/esm2022/lib/dialog/dialog.component.mjs +5 -5
- package/esm2022/lib/directives/button/button.directive.mjs +8 -8
- package/esm2022/lib/directives/ripple/ripple.directive.mjs +6 -6
- package/esm2022/lib/directives/tooltip/tooltip-target.directive.mjs +7 -9
- package/esm2022/lib/directives/tooltip/tooltip.directive.mjs +2 -2
- package/esm2022/lib/drop-down/drop-down.component.mjs +3 -3
- package/esm2022/lib/expansion-panel/expansion-panel.component.mjs +4 -4
- package/esm2022/lib/grids/column-actions/column-actions.component.mjs +3 -3
- package/esm2022/lib/grids/common/crud.service.mjs +2 -2
- package/esm2022/lib/grids/filtering/base/grid-filtering-row.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-custom-dialog.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-date-expression.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-default-expression.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-header.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-moving.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-search.component.mjs +3 -3
- package/esm2022/lib/grids/filtering/excel-style/excel-style-sorting.component.mjs +3 -3
- package/esm2022/lib/grids/grid/grid.component.mjs +3 -3
- package/esm2022/lib/grids/grid-base.directive.mjs +4 -4
- package/esm2022/lib/grids/hierarchical-grid/hierarchical-grid.component.mjs +3 -3
- package/esm2022/lib/grids/tree-grid/tree-grid.component.mjs +3 -3
- package/esm2022/lib/query-builder/query-builder.component.mjs +3 -3
- package/esm2022/lib/simple-combo/simple-combo.component.mjs +3 -3
- package/esm2022/lib/snackbar/snackbar.component.mjs +4 -4
- package/esm2022/lib/tabs/tabs/tabs.component.mjs +3 -3
- package/esm2022/lib/time-picker/time-picker.component.mjs +6 -5
- package/esm2022/lib/toast/toast.component.mjs +2 -2
- package/esm2022/lib/tree/tree-node/tree-node.component.mjs +4 -4
- package/fesm2022/igniteui-angular.mjs +117 -118
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/banner/banner.component.d.ts +5 -5
- package/lib/card/card.component.d.ts +2 -2
- package/lib/carousel/carousel.component.d.ts +6 -6
- package/lib/combo/combo.common.d.ts +4 -4
- package/lib/combo/combo.directives.d.ts +1 -1
- package/lib/core/navigation/directives.d.ts +2 -2
- package/lib/date-picker/date-picker.component.d.ts +4 -4
- package/lib/date-range-picker/date-range-picker.component.d.ts +3 -3
- package/lib/dialog/dialog.component.d.ts +4 -4
- package/lib/directives/button/button.directive.d.ts +7 -7
- package/lib/directives/ripple/ripple.directive.d.ts +6 -6
- package/lib/directives/tooltip/tooltip-target.directive.d.ts +6 -8
- package/lib/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/expansion-panel/expansion-panel.component.d.ts +3 -3
- package/lib/grids/common/crud.service.d.ts +1 -1
- package/lib/grids/grid-base.directive.d.ts +3 -3
- package/lib/snackbar/snackbar.component.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/toast/toast.component.d.ts +1 -1
- package/lib/tree/tree-node/tree-node.component.d.ts +3 -3
- package/migrations/common/UpdateChanges.js +1 -1
- package/package.json +1 -1
|
@@ -26,8 +26,8 @@ export interface BannerCancelEventArgs extends BannerEventArgs, CancelableEventA
|
|
|
26
26
|
* <igx-banner #banner>
|
|
27
27
|
* Our privacy settings have changed.
|
|
28
28
|
* <igx-banner-actions>
|
|
29
|
-
* <button igxButton="raised">Read More</button>
|
|
30
|
-
* <button igxButton="raised">Accept and Continue</button>
|
|
29
|
+
* <button type="button" igxButton="raised">Read More</button>
|
|
30
|
+
* <button type="button" igxButton="raised">Accept and Continue</button>
|
|
31
31
|
* </igx-banner-actions>
|
|
32
32
|
* </igx-banner>
|
|
33
33
|
* ```
|
|
@@ -149,7 +149,7 @@ export declare class IgxBannerComponent implements IToggleView {
|
|
|
149
149
|
* <igx-banner #banner>
|
|
150
150
|
* ...
|
|
151
151
|
* </igx-banner>
|
|
152
|
-
* <button (click)="banner.open()">Open Banner</button>
|
|
152
|
+
* <button type="button" (click)="banner.open()">Open Banner</button>
|
|
153
153
|
* ```
|
|
154
154
|
*/
|
|
155
155
|
open(event?: Event): void;
|
|
@@ -164,7 +164,7 @@ export declare class IgxBannerComponent implements IToggleView {
|
|
|
164
164
|
* <igx-banner #banner>
|
|
165
165
|
* ...
|
|
166
166
|
* </igx-banner>
|
|
167
|
-
* <button (click)="banner.close()">Close Banner</button>
|
|
167
|
+
* <button type="button" (click)="banner.close()">Close Banner</button>
|
|
168
168
|
* ```
|
|
169
169
|
*/
|
|
170
170
|
close(event?: Event): void;
|
|
@@ -179,7 +179,7 @@ export declare class IgxBannerComponent implements IToggleView {
|
|
|
179
179
|
* <igx-banner #banner>
|
|
180
180
|
* ...
|
|
181
181
|
* </igx-banner>
|
|
182
|
-
* <button (click)="banner.toggle()">Toggle Banner</button>
|
|
182
|
+
* <button type="button" (click)="banner.toggle()">Toggle Banner</button>
|
|
183
183
|
* ```
|
|
184
184
|
*/
|
|
185
185
|
toggle(event?: Event): void;
|
|
@@ -130,8 +130,8 @@ export declare class IgxCardFooterDirective {
|
|
|
130
130
|
* <h5 igxCardHeaderSubtitle>{{subtitle}}</h5>
|
|
131
131
|
* </igx-card-header>
|
|
132
132
|
* <igx-card-actions>
|
|
133
|
-
* <button igxButton igxRipple>Share</button>
|
|
134
|
-
* <button igxButton igxRipple>Play Album</button>
|
|
133
|
+
* <button type="button" igxButton igxRipple>Share</button>
|
|
134
|
+
* <button type="button" igxButton igxRipple>Play Album</button>
|
|
135
135
|
* </igx-card-actions>
|
|
136
136
|
* </igx-card>
|
|
137
137
|
* ```
|
|
@@ -199,9 +199,9 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
199
199
|
* <igx-carousel #carousel>
|
|
200
200
|
* ...
|
|
201
201
|
* <ng-template igxCarouselNextButton let-disabled>
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
202
|
+
* <button type="button" igxButton="fab" igxRipple="white" [disabled]="disabled">
|
|
203
|
+
* <igx-icon>add</igx-icon>
|
|
204
|
+
* </button>
|
|
205
205
|
* </ng-template>
|
|
206
206
|
* </igx-carousel>
|
|
207
207
|
* ```
|
|
@@ -220,9 +220,9 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
220
220
|
* <igx-carousel #carousel>
|
|
221
221
|
* ...
|
|
222
222
|
* <ng-template igxCarouselPrevButton let-disabled>
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
223
|
+
* <button type="button" igxButton="fab" igxRipple="white" [disabled]="disabled">
|
|
224
|
+
* <igx-icon>remove</igx-icon>
|
|
225
|
+
* </button>
|
|
226
226
|
* </ng-template>
|
|
227
227
|
* </igx-carousel>
|
|
228
228
|
* ```
|
|
@@ -485,7 +485,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
|
|
|
485
485
|
* <igx-combo #combo>
|
|
486
486
|
* ...
|
|
487
487
|
* <ng-template igxComboAddItem>
|
|
488
|
-
* <button class="combo__add-button">
|
|
488
|
+
* <button type="button" igxButton="raised" class="combo__add-button">
|
|
489
489
|
* Click to add item
|
|
490
490
|
* </button>
|
|
491
491
|
* </ng-template>
|
|
@@ -718,7 +718,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
|
|
|
718
718
|
* A method that opens/closes the combo.
|
|
719
719
|
*
|
|
720
720
|
* ```html
|
|
721
|
-
* <button (click)="combo.toggle()">Toggle Combo</button>
|
|
721
|
+
* <button type="button" (click)="combo.toggle()">Toggle Combo</button>
|
|
722
722
|
* <igx-combo #combo></igx-combo>
|
|
723
723
|
* ```
|
|
724
724
|
*/
|
|
@@ -727,7 +727,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
|
|
|
727
727
|
* A method that opens the combo.
|
|
728
728
|
*
|
|
729
729
|
* ```html
|
|
730
|
-
* <button (click)="combo.open()">Open Combo</button>
|
|
730
|
+
* <button type="button" (click)="combo.open()">Open Combo</button>
|
|
731
731
|
* <igx-combo #combo></igx-combo>
|
|
732
732
|
* ```
|
|
733
733
|
*/
|
|
@@ -736,7 +736,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
|
|
|
736
736
|
* A method that closes the combo.
|
|
737
737
|
*
|
|
738
738
|
* ```html
|
|
739
|
-
* <button (click)="combo.close()">Close Combo</button>
|
|
739
|
+
* <button type="button" (click)="combo.close()">Close Combo</button>
|
|
740
740
|
* <igx-combo #combo></igx-combo>
|
|
741
741
|
* ```
|
|
742
742
|
*/
|
|
@@ -114,7 +114,7 @@ export declare class IgxComboHeaderItemDirective {
|
|
|
114
114
|
* @example
|
|
115
115
|
* <igx-combo #combo>
|
|
116
116
|
* <ng-template igxComboAddItem>
|
|
117
|
-
* <button class="combo__add-button">
|
|
117
|
+
* <button type="button" class="combo__add-button">
|
|
118
118
|
* Click to add item
|
|
119
119
|
* </button>
|
|
120
120
|
* </ng-template>
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
7
|
* ```
|
|
8
|
-
* <button igxNavToggle="ID">
|
|
8
|
+
* <button type="button" igxNavToggle="ID">Toggle</button>
|
|
9
9
|
* ```
|
|
10
10
|
* Where the `ID` matches the ID of compatible `IToggleView` component.
|
|
11
11
|
*/
|
|
@@ -22,7 +22,7 @@ export declare class IgxNavigationToggleDirective {
|
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
* ```
|
|
25
|
-
* <button igxNavClose="ID">
|
|
25
|
+
* <button type="button" igxNavClose="ID">Close</button>
|
|
26
26
|
* ```
|
|
27
27
|
* Where the `ID` matches the ID of compatible `IToggleView` component.
|
|
28
28
|
*/
|
|
@@ -298,7 +298,7 @@ export declare class IgxDatePickerComponent extends PickerBaseDirective implemen
|
|
|
298
298
|
* ```html
|
|
299
299
|
* <igx-date-picker #picker></igx-date-picker>
|
|
300
300
|
*
|
|
301
|
-
* <button (click)="picker.open()">Open Dialog</button>
|
|
301
|
+
* <button type="button" igxButton (click)="picker.open()">Open Dialog</button>
|
|
302
302
|
* ```
|
|
303
303
|
*/
|
|
304
304
|
open(settings?: OverlaySettings): void;
|
|
@@ -309,7 +309,7 @@ export declare class IgxDatePickerComponent extends PickerBaseDirective implemen
|
|
|
309
309
|
* ```html
|
|
310
310
|
* <igx-date-picker #picker></igx-date-picker>
|
|
311
311
|
*
|
|
312
|
-
* <button (click)="picker.toggle()">Toggle Dialog</button>
|
|
312
|
+
* <button type="button" igxButton (click)="picker.toggle()">Toggle Dialog</button>
|
|
313
313
|
* ```
|
|
314
314
|
*/
|
|
315
315
|
toggle(settings?: OverlaySettings): void;
|
|
@@ -320,7 +320,7 @@ export declare class IgxDatePickerComponent extends PickerBaseDirective implemen
|
|
|
320
320
|
* ```html
|
|
321
321
|
* <igx-date-picker #picker></igx-date-picker>
|
|
322
322
|
*
|
|
323
|
-
* <button (click)="picker.close()">Close Dialog</button>
|
|
323
|
+
* <button type="button" igxButton (click)="picker.close()">Close Dialog</button>
|
|
324
324
|
* ```
|
|
325
325
|
*/
|
|
326
326
|
close(): void;
|
|
@@ -343,7 +343,7 @@ export declare class IgxDatePickerComponent extends PickerBaseDirective implemen
|
|
|
343
343
|
* ```html
|
|
344
344
|
* <igx-date-picker #picker></igx-date-picker>
|
|
345
345
|
*
|
|
346
|
-
* <button (click)="picker.selectToday()">Select Today</button>
|
|
346
|
+
* <button type="button" igxButton (click)="picker.selectToday()">Select Today</button>
|
|
347
347
|
* ```
|
|
348
348
|
* */
|
|
349
349
|
selectToday(): void;
|
|
@@ -269,7 +269,7 @@ export declare class IgxDateRangePickerComponent extends PickerBaseDirective imp
|
|
|
269
269
|
* ```html
|
|
270
270
|
* <igx-date-range-picker #dateRange></igx-date-range-picker>
|
|
271
271
|
*
|
|
272
|
-
* <button (click)="dateRange.open()">Open Dialog</button
|
|
272
|
+
* <button type="button" igxButton (click)="dateRange.open()">Open Dialog</button
|
|
273
273
|
* ```
|
|
274
274
|
*/
|
|
275
275
|
open(overlaySettings?: OverlaySettings): void;
|
|
@@ -280,7 +280,7 @@ export declare class IgxDateRangePickerComponent extends PickerBaseDirective imp
|
|
|
280
280
|
* ```html
|
|
281
281
|
* <igx-date-range-picker #dateRange></igx-date-range-picker>
|
|
282
282
|
*
|
|
283
|
-
* <button (click)="dateRange.close()">Close Dialog</button>
|
|
283
|
+
* <button type="button" igxButton (click)="dateRange.close()">Close Dialog</button>
|
|
284
284
|
* ```
|
|
285
285
|
*/
|
|
286
286
|
close(): void;
|
|
@@ -291,7 +291,7 @@ export declare class IgxDateRangePickerComponent extends PickerBaseDirective imp
|
|
|
291
291
|
* ```html
|
|
292
292
|
* <igx-date-range-picker #dateRange></igx-date-range-picker>
|
|
293
293
|
*
|
|
294
|
-
* <button (click)="dateRange.toggle()">Toggle Dialog</button>
|
|
294
|
+
* <button type="button" igxButton (click)="dateRange.toggle()">Toggle Dialog</button>
|
|
295
295
|
* ```
|
|
296
296
|
*/
|
|
297
297
|
toggle(overlaySettings?: OverlaySettings): void;
|
|
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
*
|
|
17
17
|
* Example:
|
|
18
18
|
* ```html
|
|
19
|
-
* <button (click)="form.open()">Show Dialog</button>
|
|
19
|
+
* <button type="button" igxButton (click)="form.open()">Show Dialog</button>
|
|
20
20
|
* <igx-dialog #form title="Sign In" rightButtonLabel="OK">
|
|
21
21
|
* <div>
|
|
22
22
|
* <igx-input-group>
|
|
@@ -335,7 +335,7 @@ export declare class IgxDialogComponent implements IToggleView, OnInit, OnDestro
|
|
|
335
335
|
*
|
|
336
336
|
* @memberOf {@link IgxDialogComponent}
|
|
337
337
|
* ```html
|
|
338
|
-
* <button (click)="dialog.open() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
338
|
+
* <button type="button" (click)="dialog.open() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
339
339
|
* <igx-dialog #dialog></igx-dialog>
|
|
340
340
|
* ```
|
|
341
341
|
*/
|
|
@@ -345,7 +345,7 @@ export declare class IgxDialogComponent implements IToggleView, OnInit, OnDestro
|
|
|
345
345
|
*
|
|
346
346
|
* @memberOf {@link IgxDialogComponent}
|
|
347
347
|
* ```html
|
|
348
|
-
* <button (click)="dialog.close() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
348
|
+
* <button type="button" (click)="dialog.close() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
349
349
|
* <igx-dialog #dialog></igx-dialog>
|
|
350
350
|
* ```
|
|
351
351
|
*/
|
|
@@ -355,7 +355,7 @@ export declare class IgxDialogComponent implements IToggleView, OnInit, OnDestro
|
|
|
355
355
|
*
|
|
356
356
|
* @memberOf {@link IgxDialogComponent}
|
|
357
357
|
* ```html
|
|
358
|
-
* <button (click)="dialog.toggle() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
358
|
+
* <button type="button" (click)="dialog.toggle() igxButton="raised" igxButtonColor="white" igxRipple="white">Trigger Dialog</button>
|
|
359
359
|
* <igx-dialog #dialog></igx-dialog>
|
|
360
360
|
* ```
|
|
361
361
|
*/
|
|
@@ -29,7 +29,7 @@ export type IgxButtonType = typeof IgxButtonType[keyof typeof IgxButtonType];
|
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* ```html
|
|
32
|
-
* <button igxButton="outlined">A Button</button>
|
|
32
|
+
* <button type="button" igxButton="outlined">A Button</button>
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
@@ -97,7 +97,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ```html
|
|
100
|
-
* <button igxButton="flat" [selected]="button.selected"></button>
|
|
100
|
+
* <button type="button" igxButton="flat" [selected]="button.selected"></button>
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
103
|
set selected(value: boolean);
|
|
@@ -117,7 +117,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
117
117
|
*
|
|
118
118
|
* @example
|
|
119
119
|
* ```html
|
|
120
|
-
* <button igxButton="icon"></button>
|
|
120
|
+
* <button type="button" igxButton="icon"></button>
|
|
121
121
|
* ```
|
|
122
122
|
*/
|
|
123
123
|
set type(type: IgxButtonType);
|
|
@@ -126,7 +126,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* ```html
|
|
129
|
-
* <button igxButton igxButtonColor="orange"></button>
|
|
129
|
+
* <button type="button" igxButton igxButtonColor="orange"></button>
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
132
|
set color(value: string);
|
|
@@ -135,7 +135,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* ```html
|
|
138
|
-
* <button igxButton igxButtonBackground="red"></button>
|
|
138
|
+
* <button type="button" igxButton igxButtonBackground="red"></button>
|
|
139
139
|
* ```
|
|
140
140
|
*/
|
|
141
141
|
set background(value: string);
|
|
@@ -144,7 +144,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* ```html
|
|
147
|
-
* <button igxButton="flat" igxLabel="Label"></button>
|
|
147
|
+
* <button type="button" igxButton="flat" igxLabel="Label"></button>
|
|
148
148
|
* ```
|
|
149
149
|
*/
|
|
150
150
|
set label(value: string);
|
|
@@ -162,7 +162,7 @@ export declare class IgxButtonDirective extends DisplayDensityBase {
|
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* ```html
|
|
165
|
-
* <button igxButton=
|
|
165
|
+
* <button type="button" igxButton="fab" [disabled]="true"></button>
|
|
166
166
|
* ```
|
|
167
167
|
*/
|
|
168
168
|
set disabled(val: boolean);
|
|
@@ -18,8 +18,8 @@ export declare class IgxRippleDirective {
|
|
|
18
18
|
* ```
|
|
19
19
|
* Can set the ripple to activate on a child element inside the parent where igxRipple is defined.
|
|
20
20
|
* ```html
|
|
21
|
-
* <div #rippleContainer [igxRippleTarget]
|
|
22
|
-
*
|
|
21
|
+
* <div #rippleContainer [igxRippleTarget]="'#child"'>
|
|
22
|
+
* <button type="button" igxButton id="child">Click</button>
|
|
23
23
|
* </div>
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
@@ -29,7 +29,7 @@ export declare class IgxRippleDirective {
|
|
|
29
29
|
/**
|
|
30
30
|
* Sets/gets the ripple color.
|
|
31
31
|
* ```html
|
|
32
|
-
* <button #rippleContainer [igxRipple]
|
|
32
|
+
* <button type="button" #rippleContainer igxButton [igxRipple]="'red'"></button>
|
|
33
33
|
* ```
|
|
34
34
|
* ```typescript
|
|
35
35
|
* @ViewChild('rippleContainer', {read: IgxRippleDirective})
|
|
@@ -44,7 +44,7 @@ export declare class IgxRippleDirective {
|
|
|
44
44
|
* Sets/gets the ripple duration(in milliseconds).
|
|
45
45
|
* Default value is `600`.
|
|
46
46
|
* ```html
|
|
47
|
-
* <button #rippleContainer igxRipple [igxRippleDuration]
|
|
47
|
+
* <button type="button" #rippleContainer igxButton igxRipple [igxRippleDuration]="800"></button>
|
|
48
48
|
* ```
|
|
49
49
|
* ```typescript
|
|
50
50
|
* @ViewChild('rippleContainer', {read: IgxRippleDirective})
|
|
@@ -58,7 +58,7 @@ export declare class IgxRippleDirective {
|
|
|
58
58
|
/**
|
|
59
59
|
* Enables/disables the ripple to be centered.
|
|
60
60
|
* ```html
|
|
61
|
-
* <button #rippleContainer igxRipple [igxRippleCentered]
|
|
61
|
+
* <button type="button" #rippleContainer igxButton igxRipple [igxRippleCentered]="true"></button>
|
|
62
62
|
* ```
|
|
63
63
|
*
|
|
64
64
|
* @memberof IgxRippleDirective
|
|
@@ -68,7 +68,7 @@ export declare class IgxRippleDirective {
|
|
|
68
68
|
* Sets/gets whether the ripple is disabled.
|
|
69
69
|
* Default value is `false`.
|
|
70
70
|
* ```html
|
|
71
|
-
* <button #rippleContainer igxRipple [igxRippleDisabled]
|
|
71
|
+
* <button type="button" #rippleContainer igxRipple [igxRippleDisabled]="true"></button>
|
|
72
72
|
* ```
|
|
73
73
|
* ```typescript
|
|
74
74
|
* @ViewChild('rippleContainer', {read: IgxRippleDirective})
|
|
@@ -24,7 +24,7 @@ export interface ITooltipHideEventArgs extends IBaseEventArgs {
|
|
|
24
24
|
*
|
|
25
25
|
* Example:
|
|
26
26
|
* ```html
|
|
27
|
-
* <button [igxTooltipTarget]="tooltipRef">Hover me</button>
|
|
27
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef">Hover me</button>
|
|
28
28
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
@@ -42,7 +42,7 @@ export declare class IgxTooltipTargetDirective extends IgxToggleActionDirective
|
|
|
42
42
|
*
|
|
43
43
|
* ```html
|
|
44
44
|
* <!--set-->
|
|
45
|
-
* <button [igxTooltipTarget]="tooltipRef" showDelay="1500">Hover me</button>
|
|
45
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef" [showDelay]="1500">Hover me</button>
|
|
46
46
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
@@ -57,7 +57,7 @@ export declare class IgxTooltipTargetDirective extends IgxToggleActionDirective
|
|
|
57
57
|
*
|
|
58
58
|
* ```html
|
|
59
59
|
* <!--set-->
|
|
60
|
-
* <button [igxTooltipTarget]="tooltipRef" hideDelay="1500">Hover me</button>
|
|
60
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef" [hideDelay]="1500">Hover me</button>
|
|
61
61
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
@@ -74,7 +74,7 @@ export declare class IgxTooltipTargetDirective extends IgxToggleActionDirective
|
|
|
74
74
|
*
|
|
75
75
|
* ```html
|
|
76
76
|
* <!--set-->
|
|
77
|
-
* <button [igxTooltipTarget]="tooltipRef" [tooltipDisabled]="true">Hover me</button>
|
|
77
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef" [tooltipDisabled]="true">Hover me</button>
|
|
78
78
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
79
79
|
* ```
|
|
80
80
|
*/
|
|
@@ -118,8 +118,7 @@ export declare class IgxTooltipTargetDirective extends IgxToggleActionDirective
|
|
|
118
118
|
* ```
|
|
119
119
|
*
|
|
120
120
|
* ```html
|
|
121
|
-
* <button [igxTooltipTarget]="tooltipRef"
|
|
122
|
-
* (tooltipShow)='tooltipShowing($event)'>Hover me</button>
|
|
121
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef" (tooltipShow)='tooltipShowing($event)'>Hover me</button>
|
|
123
122
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
124
123
|
* ```
|
|
125
124
|
*/
|
|
@@ -135,8 +134,7 @@ export declare class IgxTooltipTargetDirective extends IgxToggleActionDirective
|
|
|
135
134
|
* ```
|
|
136
135
|
*
|
|
137
136
|
* ```html
|
|
138
|
-
* <button [igxTooltipTarget]="tooltipRef"
|
|
139
|
-
* (tooltipHide)='tooltipHiding($event)'>Hover me</button>
|
|
137
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef" (tooltipHide)='tooltipHiding($event)'>Hover me</button>
|
|
140
138
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
141
139
|
* ```
|
|
142
140
|
*/
|
|
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
*
|
|
15
15
|
* Example:
|
|
16
16
|
* ```html
|
|
17
|
-
* <button [igxTooltipTarget]="tooltipRef">Hover me</button>
|
|
17
|
+
* <button type="button" igxButton [igxTooltipTarget]="tooltipRef">Hover me</button>
|
|
18
18
|
* <span #tooltipRef="tooltip" igxTooltip>Hello there, I am a tooltip!</span>
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
@@ -161,7 +161,7 @@ export declare class IgxExpansionPanelComponent extends ToggleAnimationPlayer im
|
|
|
161
161
|
* <igx-expansion-panel #myPanel>
|
|
162
162
|
* ...
|
|
163
163
|
* </igx-expansion-panel>
|
|
164
|
-
* <button (click)="myPanel.collapse($event)">Collpase Panel</button>
|
|
164
|
+
* <button type="button" igxButton (click)="myPanel.collapse($event)">Collpase Panel</button>
|
|
165
165
|
* ```
|
|
166
166
|
*/
|
|
167
167
|
collapse(evt?: Event): void;
|
|
@@ -172,7 +172,7 @@ export declare class IgxExpansionPanelComponent extends ToggleAnimationPlayer im
|
|
|
172
172
|
* <igx-expansion-panel #myPanel>
|
|
173
173
|
* ...
|
|
174
174
|
* </igx-expansion-panel>
|
|
175
|
-
* <button (click)="myPanel.expand($event)">Expand Panel</button>
|
|
175
|
+
* <button type="button" igxButton (click)="myPanel.expand($event)">Expand Panel</button>
|
|
176
176
|
* ```
|
|
177
177
|
*/
|
|
178
178
|
expand(evt?: Event): void;
|
|
@@ -183,7 +183,7 @@ export declare class IgxExpansionPanelComponent extends ToggleAnimationPlayer im
|
|
|
183
183
|
* <igx-expansion-panel #myPanel>
|
|
184
184
|
* ...
|
|
185
185
|
* </igx-expansion-panel>
|
|
186
|
-
* <button (click)="myPanel.toggle($event)">Expand Panel</button>
|
|
186
|
+
* <button type="button" igxButton (click)="myPanel.toggle($event)">Expand Panel</button>
|
|
187
187
|
* ```
|
|
188
188
|
*/
|
|
189
189
|
toggle(evt?: Event): void;
|
|
@@ -141,7 +141,7 @@ export declare class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
|
141
141
|
* If `commit === true`, passes them from the pending state to the data (or transaction service)
|
|
142
142
|
* @example
|
|
143
143
|
* ```html
|
|
144
|
-
* <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
144
|
+
* <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
145
145
|
* ```
|
|
146
146
|
* @param commit
|
|
147
147
|
*/
|
|
@@ -967,8 +967,8 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
967
967
|
* Sets the row edit actions template.
|
|
968
968
|
*```html
|
|
969
969
|
* <ng-template #template igxRowEditActions let-endRowEdit>
|
|
970
|
-
*
|
|
971
|
-
*
|
|
970
|
+
* <button type="button" igxButton igxRowEditTabStop (click)="endRowEdit(false)">Cancel</button>
|
|
971
|
+
* <button type="button" igxButton igxRowEditTabStop (click)="endRowEdit(true)">Apply</button>
|
|
972
972
|
* </ng-template>
|
|
973
973
|
* ```
|
|
974
974
|
*```typescript
|
|
@@ -3230,7 +3230,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
3230
3230
|
* If `commit === true`, passes them from the pending state to the data (or transaction service)
|
|
3231
3231
|
* @example
|
|
3232
3232
|
* ```html
|
|
3233
|
-
* <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
3233
|
+
* <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
3234
3234
|
* ```
|
|
3235
3235
|
* @param commit
|
|
3236
3236
|
*/
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*
|
|
13
13
|
* Example:
|
|
14
14
|
* ```html
|
|
15
|
-
* <button (click)="snackbar.show()">Send message</button>
|
|
15
|
+
* <button type="button" igxButton (click)="snackbar.show()">Send message</button>
|
|
16
16
|
* <div>
|
|
17
17
|
* <igx-snackbar #snackbar>
|
|
18
18
|
* Message sent
|
|
@@ -332,7 +332,7 @@ export declare class IgxTimePickerComponent extends PickerBaseDirective implemen
|
|
|
332
332
|
* @param settings OverlaySettings - the overlay settings to use for positioning the drop down or dialog container according to
|
|
333
333
|
* ```html
|
|
334
334
|
* <igx-time-picker #picker [value]="date"></igx-time-picker>
|
|
335
|
-
* <button (click)="picker.open()">Open Dialog</button>
|
|
335
|
+
* <button type="button" igxButton (click)="picker.open()">Open Dialog</button>
|
|
336
336
|
* ```
|
|
337
337
|
*/
|
|
338
338
|
open(settings?: OverlaySettings): void;
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
*
|
|
14
14
|
* Example:
|
|
15
15
|
* ```html
|
|
16
|
-
* <button (click)="toast.open()">Show notification</button>
|
|
16
|
+
* <button type="button" igxButton (click)="toast.open()">Show notification</button>
|
|
17
17
|
* <igx-toast #toast displayTime="1000">
|
|
18
18
|
* Notification displayed
|
|
19
19
|
* </igx-toast>
|
|
@@ -321,7 +321,7 @@ export declare class IgxTreeNodeComponent<T> extends ToggleAnimationPlayer imple
|
|
|
321
321
|
* <igx-tree>
|
|
322
322
|
* <igx-tree-node #node>My Node</igx-tree-node>
|
|
323
323
|
* </igx-tree>
|
|
324
|
-
* <button igxButton (click)="node.toggle()">Toggle Node</button>
|
|
324
|
+
* <button type="button" igxButton (click)="node.toggle()">Toggle Node</button>
|
|
325
325
|
* ```
|
|
326
326
|
*
|
|
327
327
|
* ```typescript
|
|
@@ -344,7 +344,7 @@ export declare class IgxTreeNodeComponent<T> extends ToggleAnimationPlayer imple
|
|
|
344
344
|
* <igx-tree>
|
|
345
345
|
* <igx-tree-node #node>My Node</igx-tree-node>
|
|
346
346
|
* </igx-tree>
|
|
347
|
-
* <button igxButton (click)="node.expand()">Expand Node</button>
|
|
347
|
+
* <button type="button" igxButton (click)="node.expand()">Expand Node</button>
|
|
348
348
|
* ```
|
|
349
349
|
*
|
|
350
350
|
* ```typescript
|
|
@@ -360,7 +360,7 @@ export declare class IgxTreeNodeComponent<T> extends ToggleAnimationPlayer imple
|
|
|
360
360
|
* <igx-tree>
|
|
361
361
|
* <igx-tree-node #node>My Node</igx-tree-node>
|
|
362
362
|
* </igx-tree>
|
|
363
|
-
* <button igxButton (click)="node.collapse()">Collapse Node</button>
|
|
363
|
+
* <button type="button" igxButton (click)="node.collapse()">Collapse Node</button>
|
|
364
364
|
* ```
|
|
365
365
|
*
|
|
366
366
|
* ```typescript
|
|
@@ -400,7 +400,7 @@ class UpdateChanges {
|
|
|
400
400
|
updateSassVariables(entryPath) {
|
|
401
401
|
let fileContent = this.host.read(entryPath).toString();
|
|
402
402
|
let overwrite = false;
|
|
403
|
-
const allowedStartCharacters = new RegExp(
|
|
403
|
+
const allowedStartCharacters = new RegExp(/(:|,)\s?/, 'g');
|
|
404
404
|
// eslint-disable-next-line no-control-regex
|
|
405
405
|
const allowedEndCharacters = new RegExp('[;),: \r\n]', 'g');
|
|
406
406
|
for (const change of this.themeChanges.changes) {
|
package/package.json
CHANGED