@getflip/swirl-components-angular 0.80.4 → 0.82.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 +29 -0
- package/dist/component-library/esm2020/lib/stencil-generated/components.mjs +8 -8
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs +7 -7
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs +7 -7
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +6 -2
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +9 -5
|
@@ -1715,7 +1715,7 @@ export declare class SwirlLightbox {
|
|
|
1715
1715
|
protected el: HTMLElement;
|
|
1716
1716
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1717
1717
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlLightbox, never>;
|
|
1718
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlLightbox, "swirl-lightbox", never, { "closeButtonLabel": "closeButtonLabel"; "downloadButtonLabel": "downloadButtonLabel"; "label": "label"; "menuLabel": "menuLabel"; "menuTriggerLabel": "menuTriggerLabel"; "nextSlideButtonLabel": "nextSlideButtonLabel"; "previousSlideButtonLabel": "previousSlideButtonLabel"; }, {}, never, ["*"], false>;
|
|
1718
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlLightbox, "swirl-lightbox", never, { "closeButtonLabel": "closeButtonLabel"; "downloadButtonLabel": "downloadButtonLabel"; "hideMenu": "hideMenu"; "label": "label"; "menuLabel": "menuLabel"; "menuTriggerLabel": "menuTriggerLabel"; "nextSlideButtonLabel": "nextSlideButtonLabel"; "previousSlideButtonLabel": "previousSlideButtonLabel"; }, {}, never, ["*"], false>;
|
|
1719
1719
|
}
|
|
1720
1720
|
export declare interface SwirlLink extends Components.SwirlLink {
|
|
1721
1721
|
}
|
|
@@ -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.82.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.83.0",
|
|
18
18
|
"rxjs": "~7.5.0",
|
|
19
19
|
"tslib": "^2.3.0",
|
|
20
20
|
"zone.js": "~0.11.4"
|
|
@@ -3887,14 +3887,14 @@ export declare interface SwirlLightbox extends Components.SwirlLightbox {}
|
|
|
3887
3887
|
|
|
3888
3888
|
@ProxyCmp({
|
|
3889
3889
|
defineCustomElementFn: undefined,
|
|
3890
|
-
inputs: ['closeButtonLabel', 'downloadButtonLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'nextSlideButtonLabel', 'previousSlideButtonLabel'],
|
|
3890
|
+
inputs: ['closeButtonLabel', 'downloadButtonLabel', 'hideMenu', 'label', 'menuLabel', 'menuTriggerLabel', 'nextSlideButtonLabel', 'previousSlideButtonLabel'],
|
|
3891
3891
|
methods: ['open', 'close', 'activateSlide']
|
|
3892
3892
|
})
|
|
3893
3893
|
@Component({
|
|
3894
3894
|
selector: 'swirl-lightbox',
|
|
3895
3895
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3896
3896
|
template: '<ng-content></ng-content>',
|
|
3897
|
-
inputs: ['closeButtonLabel', 'downloadButtonLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'nextSlideButtonLabel', 'previousSlideButtonLabel']
|
|
3897
|
+
inputs: ['closeButtonLabel', 'downloadButtonLabel', 'hideMenu', 'label', 'menuLabel', 'menuTriggerLabel', 'nextSlideButtonLabel', 'previousSlideButtonLabel']
|
|
3898
3898
|
})
|
|
3899
3899
|
export class SwirlLightbox {
|
|
3900
3900
|
protected el: HTMLElement;
|
|
@@ -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
|
|