@baloise/ds-angular 0.0.6 → 0.0.7
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/esm2020/index.mjs +5 -2
- package/esm2020/providers/modal.service.mjs +32 -0
- package/esm2020/providers/snackbar.service.mjs +28 -0
- package/esm2020/providers/toast.service.mjs +28 -0
- package/fesm2015/baloise-ds-angular.mjs +287 -204
- package/fesm2015/baloise-ds-angular.mjs.map +1 -1
- package/fesm2020/baloise-ds-angular.mjs +280 -204
- package/fesm2020/baloise-ds-angular.mjs.map +1 -1
- package/index.d.ts +4 -1
- package/package.json +3 -3
- package/providers/modal.service.d.ts +13 -0
- package/providers/snackbar.service.d.ts +10 -0
- package/providers/toast.service.d.ts +10 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export type { ProxyComponent, BaloiseDesignSystemAngularConfig } from '@baloise/ds-angular-common';
|
|
2
|
-
export { AngularDelegate, BalBreakpointsService, BalConfigService,
|
|
2
|
+
export { AngularDelegate, BalBreakpointsService, BalConfigService, BalOrientationService, raf, parseCustomEvent, element, BalTokenUserConfig, BalTokenConfig, BalTokenModal, BalTokenBreakpoints, BalTokenBreakpointSubject, BalTokenDevice, BalTokenToast, BalTokenSnackbar, BalTokenOrientationSubject, } from '@baloise/ds-angular-common';
|
|
3
|
+
export { BalModalService } from './providers/modal.service';
|
|
4
|
+
export { BalToastService } from './providers/toast.service';
|
|
5
|
+
export { BalSnackbarService } from './providers/snackbar.service';
|
|
3
6
|
export * from './generated/proxies';
|
|
4
7
|
export * from './components';
|
|
5
8
|
export * from './bundles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baloise/ds-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"@angular/forms": ">=15.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@baloise/ds-core": "0.0.
|
|
21
|
-
"@baloise/ds-angular-common": "0.0.
|
|
20
|
+
"@baloise/ds-core": "0.0.7",
|
|
21
|
+
"@baloise/ds-angular-common": "0.0.7",
|
|
22
22
|
"tslib": "~2.3.0"
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, Injector } from '@angular/core';
|
|
2
|
+
import type { BalModalController, ModalOptions } from '@baloise/ds-core/components';
|
|
3
|
+
import { AngularDelegate, OverlayBaseController } from '@baloise/ds-angular-common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BalModalService extends OverlayBaseController<ModalOptions, HTMLBalModalElement> {
|
|
6
|
+
private angularDelegate;
|
|
7
|
+
private resolver;
|
|
8
|
+
private injector;
|
|
9
|
+
constructor(angularDelegate: AngularDelegate, resolver: ComponentFactoryResolver, injector: Injector, ctrl: BalModalController);
|
|
10
|
+
create(opts: ModalOptions): Promise<HTMLBalModalElement>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BalModalService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BalModalService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BalSnackbarController, BalSnackbarOptions, Components } from '@baloise/ds-core/components';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BalSnackbarService {
|
|
4
|
+
private ctrl;
|
|
5
|
+
constructor(ctrl: BalSnackbarController);
|
|
6
|
+
create(options: BalSnackbarOptions): Components.BalSnackbar;
|
|
7
|
+
dismissAll(): Promise<void>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BalSnackbarService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BalSnackbarService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BalToastController, BalToastOptions, Components } from '@baloise/ds-core/components';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BalToastService {
|
|
4
|
+
private ctrl;
|
|
5
|
+
constructor(ctrl: BalToastController);
|
|
6
|
+
create(options: BalToastOptions): Components.BalToast;
|
|
7
|
+
dismissAll(): Promise<void>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BalToastService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BalToastService>;
|
|
10
|
+
}
|