@getflip/swirl-components-angular 0.430.0 → 0.432.0-beta-20260202154637
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 +89 -0
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs +10 -10
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +7 -2
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +18 -8
|
@@ -3,6 +3,8 @@ import { Components } from '@getflip/swirl-components';
|
|
|
3
3
|
import type { SwirlAppLayoutMobileView as ISwirlAppLayoutSwirlAppLayoutMobileView } from '@getflip/swirl-components';
|
|
4
4
|
import type { SwirlAppLayoutNavigationExpansionState as ISwirlAppLayoutSwirlAppLayoutNavigationExpansionState } from '@getflip/swirl-components';
|
|
5
5
|
import type { SwirlAutocompleteValue as ISwirlAutocompleteSwirlAutocompleteValue } from '@getflip/swirl-components';
|
|
6
|
+
import type { SwirlDialogToggleEvent as ISwirlDialogSwirlDialogToggleEvent } from '@getflip/swirl-components';
|
|
7
|
+
import type { SwirlDialogToggleEvent as ISwirlModalSwirlDialogToggleEvent } from '@getflip/swirl-components';
|
|
6
8
|
import type { ComputePositionReturn as ISwirlPopoverComputePositionReturn } from '@getflip/swirl-components';
|
|
7
9
|
import type { SwirlTableDropRowEvent as ISwirlTableSwirlTableDropRowEvent } from '@getflip/swirl-components';
|
|
8
10
|
import type { SwirlOSThemeChangeEventData as ISwirlThemeProviderSwirlOSThemeChangeEventData } from '@getflip/swirl-components';
|
|
@@ -332,6 +334,7 @@ export declare interface SwirlDialog extends Components.SwirlDialog {
|
|
|
332
334
|
dialogOpen: EventEmitter<CustomEvent<void>>;
|
|
333
335
|
primaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
334
336
|
secondaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
337
|
+
toggleDialog: EventEmitter<CustomEvent<ISwirlDialogSwirlDialogToggleEvent>>;
|
|
335
338
|
}
|
|
336
339
|
export declare class SwirlEmoji {
|
|
337
340
|
protected z: NgZone;
|
|
@@ -542,7 +545,7 @@ export declare class SwirlIcon {
|
|
|
542
545
|
protected el: HTMLSwirlIconElement;
|
|
543
546
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
544
547
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlIcon, never>;
|
|
545
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlIcon, "swirl-icon", never, { "color": { "alias": "color"; "required": false; }; "glyph": { "alias": "glyph"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
548
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlIcon, "swirl-icon", never, { "color": { "alias": "color"; "required": false; }; "glyph": { "alias": "glyph"; "required": true; }; "size": { "alias": "size"; "required": false; }; "wrapperColor": { "alias": "wrapperColor"; "required": false; }; "wrapperSize": { "alias": "wrapperSize"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
546
549
|
}
|
|
547
550
|
export declare interface SwirlIcon extends Components.SwirlIcon {
|
|
548
551
|
}
|
|
@@ -2792,6 +2795,7 @@ export declare interface SwirlModal extends Components.SwirlModal {
|
|
|
2792
2795
|
requestModalClose: EventEmitter<CustomEvent<void>>;
|
|
2793
2796
|
secondaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
2794
2797
|
sidebarClose: EventEmitter<CustomEvent<void>>;
|
|
2798
|
+
toggleDialog: EventEmitter<CustomEvent<ISwirlModalSwirlDialogToggleEvent>>;
|
|
2795
2799
|
}
|
|
2796
2800
|
export declare class SwirlModalShell {
|
|
2797
2801
|
protected z: NgZone;
|
|
@@ -4284,9 +4288,10 @@ export declare class SwirlToast {
|
|
|
4284
4288
|
protected el: HTMLSwirlToastElement;
|
|
4285
4289
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
4286
4290
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlToast, never>;
|
|
4287
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlToast, "swirl-toast", never, { "accessibleDismissLabel": { "alias": "accessibleDismissLabel"; "required": false; }; "content": { "alias": "content"; "required": false; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "toastId": { "alias": "toastId"; "required": true; }; }, {}, never, ["*"], false, never>;
|
|
4291
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlToast, "swirl-toast", never, { "accessibleDismissLabel": { "alias": "accessibleDismissLabel"; "required": false; }; "actionLabel": { "alias": "actionLabel"; "required": false; }; "content": { "alias": "content"; "required": false; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "toastId": { "alias": "toastId"; "required": true; }; }, {}, never, ["*"], false, never>;
|
|
4288
4292
|
}
|
|
4289
4293
|
export declare interface SwirlToast extends Components.SwirlToast {
|
|
4294
|
+
action: EventEmitter<CustomEvent<string>>;
|
|
4290
4295
|
dismiss: EventEmitter<CustomEvent<string>>;
|
|
4291
4296
|
}
|
|
4292
4297
|
export declare class SwirlToastProvider {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.432.0-beta-20260202154637",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"build": "ng build"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/platform-browser": "19.2.18",
|
|
23
23
|
"@angular/platform-browser-dynamic": "19.2.18",
|
|
24
24
|
"@angular/router": "19.2.18",
|
|
25
|
-
"@getflip/swirl-components": "0.
|
|
25
|
+
"@getflip/swirl-components": "0.432.0-beta-20260202154637",
|
|
26
26
|
"rxjs": "7.8.2",
|
|
27
27
|
"tslib": "2.4.0",
|
|
28
28
|
"zone.js": "0.15.0"
|
|
@@ -842,11 +842,13 @@ export class SwirlDialog {
|
|
|
842
842
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
843
843
|
c.detach();
|
|
844
844
|
this.el = r.nativeElement;
|
|
845
|
-
proxyOutputs(this, this.el, ['dialogClose', 'dialogOpen', 'primaryAction', 'secondaryAction']);
|
|
845
|
+
proxyOutputs(this, this.el, ['dialogClose', 'dialogOpen', 'primaryAction', 'secondaryAction', 'toggleDialog']);
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
|
|
850
|
+
import type { SwirlDialogToggleEvent as ISwirlDialogSwirlDialogToggleEvent } from '@getflip/swirl-components';
|
|
851
|
+
|
|
850
852
|
export declare interface SwirlDialog extends Components.SwirlDialog {
|
|
851
853
|
|
|
852
854
|
dialogClose: EventEmitter<CustomEvent<void>>;
|
|
@@ -856,6 +858,8 @@ export declare interface SwirlDialog extends Components.SwirlDialog {
|
|
|
856
858
|
primaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
857
859
|
|
|
858
860
|
secondaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
861
|
+
|
|
862
|
+
toggleDialog: EventEmitter<CustomEvent<ISwirlDialogSwirlDialogToggleEvent>>;
|
|
859
863
|
}
|
|
860
864
|
|
|
861
865
|
|
|
@@ -1397,14 +1401,14 @@ export declare interface SwirlHeading extends Components.SwirlHeading {}
|
|
|
1397
1401
|
|
|
1398
1402
|
|
|
1399
1403
|
@ProxyCmp({
|
|
1400
|
-
inputs: ['color', 'glyph', 'size']
|
|
1404
|
+
inputs: ['color', 'glyph', 'size', 'wrapperColor', 'wrapperSize']
|
|
1401
1405
|
})
|
|
1402
1406
|
@Component({
|
|
1403
1407
|
selector: 'swirl-icon',
|
|
1404
1408
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1405
1409
|
template: '<ng-content></ng-content>',
|
|
1406
1410
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1407
|
-
inputs: ['color', { name: 'glyph', required: true }, 'size'],
|
|
1411
|
+
inputs: ['color', { name: 'glyph', required: true }, 'size', 'wrapperColor', 'wrapperSize'],
|
|
1408
1412
|
standalone: false
|
|
1409
1413
|
})
|
|
1410
1414
|
export class SwirlIcon {
|
|
@@ -7127,7 +7131,7 @@ export declare interface SwirlMenuItem extends Components.SwirlMenuItem {}
|
|
|
7127
7131
|
|
|
7128
7132
|
@ProxyCmp({
|
|
7129
7133
|
inputs: ['closable', 'closeButtonLabel', 'contentGap', 'fullscreenDisableButtonLabel', 'fullscreenEnableButtonLabel', 'hasSidebarCloseButton', 'height', 'hideCloseButton', 'hideLabel', 'hideScrolledHeaderBorder', 'hideSecondaryContent', 'hideSecondaryContentBorders', 'hideSidebarContent', 'label', 'maxHeight', 'maxWidth', 'minHeight', 'padded', 'primaryActionLabel', 'primaryContentFlex', 'primaryContentMaxWidth', 'secondaryActionLabel', 'secondaryContentFlex', 'secondaryContentMaxWidth', 'secondaryContentPadding', 'secondaryContentPaddingBlockEnd', 'secondaryContentPaddingBlockStart', 'secondaryContentPaddingInlineEnd', 'secondaryContentPaddingInlineStart', 'showFullscreenButton', 'sidebarCloseButtonLabel', 'sidebarFooterPadded', 'sidebarLabel', 'sidebarPadded', 'variant'],
|
|
7130
|
-
methods: ['open', 'close', 'setFullscreen']
|
|
7134
|
+
methods: ['open', 'close', 'setFullscreen', 'getScrollContainer']
|
|
7131
7135
|
})
|
|
7132
7136
|
@Component({
|
|
7133
7137
|
selector: 'swirl-modal',
|
|
@@ -7142,11 +7146,13 @@ export class SwirlModal {
|
|
|
7142
7146
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
7143
7147
|
c.detach();
|
|
7144
7148
|
this.el = r.nativeElement;
|
|
7145
|
-
proxyOutputs(this, this.el, ['toggleFullscreen', 'modalClose', 'modalOpen', 'primaryAction', 'requestModalClose', 'secondaryAction', 'sidebarClose']);
|
|
7149
|
+
proxyOutputs(this, this.el, ['toggleFullscreen', 'modalClose', 'modalOpen', 'primaryAction', 'requestModalClose', 'secondaryAction', 'sidebarClose', 'toggleDialog']);
|
|
7146
7150
|
}
|
|
7147
7151
|
}
|
|
7148
7152
|
|
|
7149
7153
|
|
|
7154
|
+
import type { SwirlDialogToggleEvent as ISwirlModalSwirlDialogToggleEvent } from '@getflip/swirl-components';
|
|
7155
|
+
|
|
7150
7156
|
export declare interface SwirlModal extends Components.SwirlModal {
|
|
7151
7157
|
|
|
7152
7158
|
toggleFullscreen: EventEmitter<CustomEvent<boolean>>;
|
|
@@ -7162,6 +7168,8 @@ export declare interface SwirlModal extends Components.SwirlModal {
|
|
|
7162
7168
|
secondaryAction: EventEmitter<CustomEvent<MouseEvent>>;
|
|
7163
7169
|
|
|
7164
7170
|
sidebarClose: EventEmitter<CustomEvent<void>>;
|
|
7171
|
+
|
|
7172
|
+
toggleDialog: EventEmitter<CustomEvent<ISwirlModalSwirlDialogToggleEvent>>;
|
|
7165
7173
|
}
|
|
7166
7174
|
|
|
7167
7175
|
|
|
@@ -10974,14 +10982,14 @@ export declare interface SwirlTimeInput extends Components.SwirlTimeInput {
|
|
|
10974
10982
|
|
|
10975
10983
|
|
|
10976
10984
|
@ProxyCmp({
|
|
10977
|
-
inputs: ['accessibleDismissLabel', 'content', 'dismissLabel', 'duration', 'icon', 'intent', 'toastId']
|
|
10985
|
+
inputs: ['accessibleDismissLabel', 'actionLabel', 'content', 'dismissLabel', 'duration', 'icon', 'intent', 'toastId']
|
|
10978
10986
|
})
|
|
10979
10987
|
@Component({
|
|
10980
10988
|
selector: 'swirl-toast',
|
|
10981
10989
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10982
10990
|
template: '<ng-content></ng-content>',
|
|
10983
10991
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
10984
|
-
inputs: ['accessibleDismissLabel', 'content', 'dismissLabel', 'duration', 'icon', 'intent', { name: 'toastId', required: true }],
|
|
10992
|
+
inputs: ['accessibleDismissLabel', 'actionLabel', 'content', 'dismissLabel', 'duration', 'icon', 'intent', { name: 'toastId', required: true }],
|
|
10985
10993
|
standalone: false
|
|
10986
10994
|
})
|
|
10987
10995
|
export class SwirlToast {
|
|
@@ -10989,13 +10997,15 @@ export class SwirlToast {
|
|
|
10989
10997
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
10990
10998
|
c.detach();
|
|
10991
10999
|
this.el = r.nativeElement;
|
|
10992
|
-
proxyOutputs(this, this.el, ['dismiss']);
|
|
11000
|
+
proxyOutputs(this, this.el, ['action', 'dismiss']);
|
|
10993
11001
|
}
|
|
10994
11002
|
}
|
|
10995
11003
|
|
|
10996
11004
|
|
|
10997
11005
|
export declare interface SwirlToast extends Components.SwirlToast {
|
|
10998
11006
|
|
|
11007
|
+
action: EventEmitter<CustomEvent<string>>;
|
|
11008
|
+
|
|
10999
11009
|
dismiss: EventEmitter<CustomEvent<string>>;
|
|
11000
11010
|
}
|
|
11001
11011
|
|