@bizy/core 19.9.0 → 19.10.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.
@@ -0,0 +1,11 @@
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BizyFullScreenPopupWrapperComponent<T> {
4
+ #private;
5
+ dynamicComponentContainer: ViewContainerRef;
6
+ ngAfterViewInit(): void;
7
+ loadDynamicComponent(): void;
8
+ close(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizyFullScreenPopupWrapperComponent<any>, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyFullScreenPopupWrapperComponent<any>, "bizy-full-screen-popup-wrapper", never, {}, {}, never, never, true, never>;
11
+ }
@@ -1,3 +1,4 @@
1
+ export { BizyFullScreenPopupWrapperComponent } from './full-screen-popup-wrapper/full-screen-popup-wrapper.component';
1
2
  export { BizyPopupModule } from './popup.module';
2
3
  export { IBizyPopupResponse } from './popup.types';
3
4
  export { BizyPopupService } from './popup.service';
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./popup-wrapper/popup-wrapper.component";
3
+ import * as i2 from "./full-screen-popup-wrapper/full-screen-popup-wrapper.component";
3
4
  export declare class BizyPopupModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<BizyPopupModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<BizyPopupModule, never, [typeof i1.BizyPopupWrapperComponent], [typeof i1.BizyPopupWrapperComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BizyPopupModule, never, [typeof i1.BizyPopupWrapperComponent, typeof i2.BizyFullScreenPopupWrapperComponent], [typeof i1.BizyPopupWrapperComponent, typeof i2.BizyFullScreenPopupWrapperComponent]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<BizyPopupModule>;
7
8
  }
@@ -1,14 +1,14 @@
1
1
  import { ComponentType } from "@angular/cdk/portal";
2
- import { BizyPopupWrapperComponent } from "./popup-wrapper/popup-wrapper.component";
3
2
  import { DialogRef } from '@angular/cdk/dialog';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class BizyPopupService {
6
5
  #private;
7
- static dialogs: Set<DialogRef<unknown, BizyPopupWrapperComponent<unknown>>>;
6
+ static dialogs: Set<DialogRef<unknown, any>>;
8
7
  open<R>(data: {
9
8
  component: ComponentType<unknown>;
10
9
  data?: unknown;
11
10
  customClass?: string;
11
+ fullScreen?: boolean;
12
12
  disableClose?: boolean;
13
13
  id?: string;
14
14
  }, callback?: (res: R) => void): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "19.9.0",
3
+ "version": "19.10.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "19.2.7",
6
6
  "@angular/cdk": "19.2.10",
@@ -151,13 +151,22 @@
151
151
  --bizy-popup-min-width: 20rem;
152
152
  --bizy-popup-width: fit-content;
153
153
  --bizy-popup-max-width: 90vw;
154
- --bizy-popup-drag-button-color: #666;
155
- --bizy-popup-drag-button-border-color: #ccc;
154
+ --bizy-popup-padding: 0.5rem;
155
+ --bizy-popup-drag-button-color: var(--bizy-default-color);
156
+ --bizy-popup-drag-button-border: 0.1rem solid #ccc;
156
157
  --bizy-popup-drag-button-background-color: #fff;
157
- --bizy-popup-close-button-border-color: #ccc;
158
+ --bizy-popup-close-button-border: 0.1rem solid #ccc;
158
159
  --bizy-popup-close-button-background-color: #fff;
159
- --bizy-popup-close-button-color: #666;
160
- --bizy-popup-close-button-hover-color: #e76565;
160
+ --bizy-popup-close-button-color: var(--bizy-default-color);
161
+ --bizy-popup-close-button-hover-color: var(--bizy-danger-color);
162
+
163
+ --bizy-popup-full-screen-background-color: #fff;
164
+ --bizy-popup-full-screen-padding: 0.5rem;
165
+ --bizy-popup-full-screen-border-radius: 1rem;
166
+ --bizy-popup-full-screen-close-button-border: transparent;
167
+ --bizy-popup-full-screen-close-button-background-color: transparent;
168
+ --bizy-popup-full-screen-close-button-color: var(--bizy-default-color);
169
+ --bizy-popup-full-screen-close-button-hover-color: var(--bizy-danger-color);
161
170
 
162
171
  --bizy-radio-color: var(--bizy-accent-color);
163
172
 
@@ -307,17 +316,17 @@
307
316
 
308
317
  --bizy-toast-border-left: 0.4rem solid #fff;
309
318
  --bizy-toast-default-background-color: #fff;
310
- --bizy-toast-default-color: #666;
319
+ --bizy-toast-default-color: var(--bizy-default-color);
311
320
  --bizy-toast-info-background-color: #fff;
312
- --bizy-toast-info-color: #2484c6;
321
+ --bizy-toast-info-color: var(--bizy-info-color);
313
322
  --bizy-toast-success-background-color: #fff;
314
- --bizy-toast-success-color: #5fbc5a;
323
+ --bizy-toast-success-color: var(--bizy-success-color);
315
324
  --bizy-toast-warning-background-color: #fff;
316
- --bizy-toast-warning-color: #f7a64c;
325
+ --bizy-toast-warning-color: var(--bizy-warning-color);
317
326
  --bizy-toast-danger-background-color: #fff;
318
- --bizy-toast-danger-color: #e76565;
319
- --bizy-toast-close-button-color: #666;
320
- --bizy-toast-close-button-hover-color: #333;
327
+ --bizy-toast-danger-color: var(--bizy-danger-color);
328
+ --bizy-toast-close-button-color: var(--bizy-default-color);
329
+ --bizy-toast-close-button-hover-color: var(--bizy-dark-default-color);
321
330
 
322
331
  --bizy-toggle-color: var(--bizy-danger-color);
323
332
  --bizy-toggle-background-color: #f2d5d7;