@getflip/swirl-components-angular 0.236.0 → 0.237.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 +27 -0
- package/dist/component-library/esm2022/lib/stencil-generated/components.mjs +6 -6
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs +5 -5
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +3 -1
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +7 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { Components } from '@getflip/swirl-components';
|
|
3
3
|
import type { SwirlAppLayoutMobileView as ISwirlAppLayoutSwirlAppLayoutMobileView } from '@getflip/swirl-components';
|
|
4
|
+
import type { SwirlAppLayoutNavigationExpansionState as ISwirlAppLayoutSwirlAppLayoutNavigationExpansionState } from '@getflip/swirl-components';
|
|
4
5
|
import type { SwirlAutocompleteValue as ISwirlAutocompleteSwirlAutocompleteValue } from '@getflip/swirl-components';
|
|
5
6
|
import type { ComputePositionReturn as ISwirlPopoverComputePositionReturn } from '@getflip/swirl-components';
|
|
6
7
|
import type { SwirlOSThemeChangeEventData as ISwirlThemeProviderSwirlOSThemeChangeEventData } from '@getflip/swirl-components';
|
|
@@ -88,12 +89,13 @@ export declare class SwirlAppLayout {
|
|
|
88
89
|
protected el: HTMLElement;
|
|
89
90
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
90
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlAppLayout, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAppLayout, "swirl-app-layout", never, { "appName": { "alias": "appName"; "required": false; }; "backToNavigationViewButtonLabel": { "alias": "backToNavigationViewButtonLabel"; "required": false; }; "ctaIcon": { "alias": "ctaIcon"; "required": false; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; }; "hasNavigation": { "alias": "hasNavigation"; "required": false; }; "hideAppBar": { "alias": "hideAppBar"; "required": false; }; "navigationBackButtonLabel": { "alias": "navigationBackButtonLabel"; "required": false; }; "navigationLabel": { "alias": "navigationLabel"; "required": false; }; "showNavigationBackButton": { "alias": "showNavigationBackButton"; "required": false; }; "sidebarCloseButtonLabel": { "alias": "sidebarCloseButtonLabel"; "required": false; }; "sidebarHeading": { "alias": "sidebarHeading"; "required": false; }; "transitionStyle": { "alias": "transitionStyle"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAppLayout, "swirl-app-layout", never, { "appName": { "alias": "appName"; "required": false; }; "backToNavigationViewButtonLabel": { "alias": "backToNavigationViewButtonLabel"; "required": false; }; "collapsibleNavigation": { "alias": "collapsibleNavigation"; "required": false; }; "ctaIcon": { "alias": "ctaIcon"; "required": false; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; }; "hasNavigation": { "alias": "hasNavigation"; "required": false; }; "hideAppBar": { "alias": "hideAppBar"; "required": false; }; "navigationBackButtonLabel": { "alias": "navigationBackButtonLabel"; "required": false; }; "navigationExpansionStateStorageKey": { "alias": "navigationExpansionStateStorageKey"; "required": false; }; "navigationLabel": { "alias": "navigationLabel"; "required": false; }; "navigationOverlayLabel": { "alias": "navigationOverlayLabel"; "required": false; }; "navigationToggleLabel": { "alias": "navigationToggleLabel"; "required": false; }; "showNavigationBackButton": { "alias": "showNavigationBackButton"; "required": false; }; "sidebarCloseButtonLabel": { "alias": "sidebarCloseButtonLabel"; "required": false; }; "sidebarHeading": { "alias": "sidebarHeading"; "required": false; }; "transitionStyle": { "alias": "transitionStyle"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
92
93
|
}
|
|
93
94
|
export declare interface SwirlAppLayout extends Components.SwirlAppLayout {
|
|
94
95
|
ctaClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
95
96
|
mobileViewChange: EventEmitter<CustomEvent<ISwirlAppLayoutSwirlAppLayoutMobileView>>;
|
|
96
97
|
navigationBackButtonClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
98
|
+
navigationExpansionStateChange: EventEmitter<CustomEvent<ISwirlAppLayoutSwirlAppLayoutNavigationExpansionState>>;
|
|
97
99
|
sidebarToggle: EventEmitter<CustomEvent<boolean>>;
|
|
98
100
|
}
|
|
99
101
|
export declare class SwirlAutocomplete {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.237.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"build": "ng build"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@angular/platform-browser": "^16.2.12",
|
|
15
15
|
"@angular/platform-browser-dynamic": "^16.2.12",
|
|
16
16
|
"@angular/router": "^16.2.12",
|
|
17
|
-
"@getflip/swirl-components": "^0.
|
|
17
|
+
"@getflip/swirl-components": "^0.237.0",
|
|
18
18
|
"rxjs": "~7.5.0",
|
|
19
19
|
"tslib": "^2.3.0",
|
|
20
20
|
"zone.js": "~0.13.3"
|
|
@@ -201,27 +201,28 @@ export declare interface SwirlAppIcon extends Components.SwirlAppIcon {}
|
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
@ProxyCmp({
|
|
204
|
-
inputs: ['appName', 'backToNavigationViewButtonLabel', 'ctaIcon', 'ctaLabel', 'hasNavigation', 'hideAppBar', 'navigationBackButtonLabel', 'navigationLabel', 'showNavigationBackButton', 'sidebarCloseButtonLabel', 'sidebarHeading', 'transitionStyle'],
|
|
205
|
-
methods: ['showSidebar', 'hideSidebar', 'toggleSidebar', 'changeMobileView']
|
|
204
|
+
inputs: ['appName', 'backToNavigationViewButtonLabel', 'collapsibleNavigation', 'ctaIcon', 'ctaLabel', 'hasNavigation', 'hideAppBar', 'navigationBackButtonLabel', 'navigationExpansionStateStorageKey', 'navigationLabel', 'navigationOverlayLabel', 'navigationToggleLabel', 'showNavigationBackButton', 'sidebarCloseButtonLabel', 'sidebarHeading', 'transitionStyle'],
|
|
205
|
+
methods: ['showSidebar', 'hideSidebar', 'toggleSidebar', 'getCollapsibleNavigationState', 'setCollapsibleNavigationState', 'changeMobileView']
|
|
206
206
|
})
|
|
207
207
|
@Component({
|
|
208
208
|
selector: 'swirl-app-layout',
|
|
209
209
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
210
210
|
template: '<ng-content></ng-content>',
|
|
211
211
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
212
|
-
inputs: ['appName', 'backToNavigationViewButtonLabel', 'ctaIcon', 'ctaLabel', 'hasNavigation', 'hideAppBar', 'navigationBackButtonLabel', 'navigationLabel', 'showNavigationBackButton', 'sidebarCloseButtonLabel', 'sidebarHeading', 'transitionStyle'],
|
|
212
|
+
inputs: ['appName', 'backToNavigationViewButtonLabel', 'collapsibleNavigation', 'ctaIcon', 'ctaLabel', 'hasNavigation', 'hideAppBar', 'navigationBackButtonLabel', 'navigationExpansionStateStorageKey', 'navigationLabel', 'navigationOverlayLabel', 'navigationToggleLabel', 'showNavigationBackButton', 'sidebarCloseButtonLabel', 'sidebarHeading', 'transitionStyle'],
|
|
213
213
|
})
|
|
214
214
|
export class SwirlAppLayout {
|
|
215
215
|
protected el: HTMLElement;
|
|
216
216
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
217
217
|
c.detach();
|
|
218
218
|
this.el = r.nativeElement;
|
|
219
|
-
proxyOutputs(this, this.el, ['ctaClick', 'mobileViewChange', 'navigationBackButtonClick', 'sidebarToggle']);
|
|
219
|
+
proxyOutputs(this, this.el, ['ctaClick', 'mobileViewChange', 'navigationBackButtonClick', 'navigationExpansionStateChange', 'sidebarToggle']);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
import type { SwirlAppLayoutMobileView as ISwirlAppLayoutSwirlAppLayoutMobileView } from '@getflip/swirl-components';
|
|
225
|
+
import type { SwirlAppLayoutNavigationExpansionState as ISwirlAppLayoutSwirlAppLayoutNavigationExpansionState } from '@getflip/swirl-components';
|
|
225
226
|
|
|
226
227
|
export declare interface SwirlAppLayout extends Components.SwirlAppLayout {
|
|
227
228
|
|
|
@@ -231,6 +232,8 @@ export declare interface SwirlAppLayout extends Components.SwirlAppLayout {
|
|
|
231
232
|
|
|
232
233
|
navigationBackButtonClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
233
234
|
|
|
235
|
+
navigationExpansionStateChange: EventEmitter<CustomEvent<ISwirlAppLayoutSwirlAppLayoutNavigationExpansionState>>;
|
|
236
|
+
|
|
234
237
|
sidebarToggle: EventEmitter<CustomEvent<boolean>>;
|
|
235
238
|
}
|
|
236
239
|
|