@getflip/swirl-components-angular 0.80.4 → 0.81.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/component-library/esm2020/lib/stencil-generated/components.mjs +5 -5
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs +4 -4
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs +4 -4
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +5 -1
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +7 -3
|
@@ -1774,6 +1774,10 @@ export declare interface SwirlModal extends Components.SwirlModal {
|
|
|
1774
1774
|
*
|
|
1775
1775
|
*/
|
|
1776
1776
|
primaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
1777
|
+
/**
|
|
1778
|
+
*
|
|
1779
|
+
*/
|
|
1780
|
+
requestModalClose: EventEmitter<CustomEvent<void>>;
|
|
1777
1781
|
/**
|
|
1778
1782
|
*
|
|
1779
1783
|
*/
|
|
@@ -1784,7 +1788,7 @@ export declare class SwirlModal {
|
|
|
1784
1788
|
protected el: HTMLElement;
|
|
1785
1789
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1786
1790
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlModal, never>;
|
|
1787
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlModal, "swirl-modal", never, { "closeButtonLabel": "closeButtonLabel"; "hideCloseButton": "hideCloseButton"; "hideLabel": "hideLabel"; "label": "label"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "padded": "padded"; "primaryActionLabel": "primaryActionLabel"; "secondaryActionLabel": "secondaryActionLabel"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
1791
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlModal, "swirl-modal", never, { "closable": "closable"; "closeButtonLabel": "closeButtonLabel"; "hideCloseButton": "hideCloseButton"; "hideLabel": "hideLabel"; "label": "label"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "padded": "padded"; "primaryActionLabel": "primaryActionLabel"; "secondaryActionLabel": "secondaryActionLabel"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
1788
1792
|
}
|
|
1789
1793
|
export declare interface SwirlOptionList extends Components.SwirlOptionList {
|
|
1790
1794
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"build": "ng build"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@angular/platform-browser": "^14.1.0",
|
|
15
15
|
"@angular/platform-browser-dynamic": "^14.1.0",
|
|
16
16
|
"@angular/router": "^14.1.0",
|
|
17
|
-
"@getflip/swirl-components": "^0.
|
|
17
|
+
"@getflip/swirl-components": "^0.82.0",
|
|
18
18
|
"rxjs": "~7.5.0",
|
|
19
19
|
"tslib": "^2.3.0",
|
|
20
20
|
"zone.js": "~0.11.4"
|
|
@@ -4013,6 +4013,10 @@ export declare interface SwirlModal extends Components.SwirlModal {
|
|
|
4013
4013
|
*
|
|
4014
4014
|
*/
|
|
4015
4015
|
primaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
*/
|
|
4019
|
+
requestModalClose: EventEmitter<CustomEvent<void>>;
|
|
4016
4020
|
/**
|
|
4017
4021
|
*
|
|
4018
4022
|
*/
|
|
@@ -4022,21 +4026,21 @@ export declare interface SwirlModal extends Components.SwirlModal {
|
|
|
4022
4026
|
|
|
4023
4027
|
@ProxyCmp({
|
|
4024
4028
|
defineCustomElementFn: undefined,
|
|
4025
|
-
inputs: ['closeButtonLabel', 'hideCloseButton', 'hideLabel', 'label', 'maxHeight', 'maxWidth', 'padded', 'primaryActionLabel', 'secondaryActionLabel', 'variant'],
|
|
4029
|
+
inputs: ['closable', 'closeButtonLabel', 'hideCloseButton', 'hideLabel', 'label', 'maxHeight', 'maxWidth', 'padded', 'primaryActionLabel', 'secondaryActionLabel', 'variant'],
|
|
4026
4030
|
methods: ['open', 'close']
|
|
4027
4031
|
})
|
|
4028
4032
|
@Component({
|
|
4029
4033
|
selector: 'swirl-modal',
|
|
4030
4034
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4031
4035
|
template: '<ng-content></ng-content>',
|
|
4032
|
-
inputs: ['closeButtonLabel', 'hideCloseButton', 'hideLabel', 'label', 'maxHeight', 'maxWidth', 'padded', 'primaryActionLabel', 'secondaryActionLabel', 'variant']
|
|
4036
|
+
inputs: ['closable', 'closeButtonLabel', 'hideCloseButton', 'hideLabel', 'label', 'maxHeight', 'maxWidth', 'padded', 'primaryActionLabel', 'secondaryActionLabel', 'variant']
|
|
4033
4037
|
})
|
|
4034
4038
|
export class SwirlModal {
|
|
4035
4039
|
protected el: HTMLElement;
|
|
4036
4040
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
4037
4041
|
c.detach();
|
|
4038
4042
|
this.el = r.nativeElement;
|
|
4039
|
-
proxyOutputs(this, this.el, ['modalClose', 'modalOpen', 'primaryAction', 'secondaryAction']);
|
|
4043
|
+
proxyOutputs(this, this.el, ['modalClose', 'modalOpen', 'primaryAction', 'requestModalClose', 'secondaryAction']);
|
|
4040
4044
|
}
|
|
4041
4045
|
}
|
|
4042
4046
|
|