pangea-lib 4.0.419 → 4.0.421

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.
@@ -1,5 +1,8 @@
1
1
  import { StrOrFn } from '../types';
2
2
 
3
3
  export declare abstract class AlertInfo {
4
- static Show(_title: StrOrFn, _message: StrOrFn, _onAccept?: () => void): void;
4
+ static Show(_title: StrOrFn, _message: StrOrFn, options?: {
5
+ onClose?: () => void;
6
+ onAccept?: () => void;
7
+ }): void;
5
8
  }
@@ -3,4 +3,7 @@ import { StrOrFn } from '../types';
3
3
  export declare const visible: import('vue').Ref<boolean>;
4
4
  export declare const title: import('vue').Ref<StrOrFn>;
5
5
  export declare const message: import('vue').Ref<StrOrFn>;
6
- export declare const onAccept: import('vue').Ref<() => void>;
6
+ export declare const callbacks: {
7
+ onClose: () => void;
8
+ onAccept: () => void;
9
+ };
@@ -1,5 +1,5 @@
1
1
  type UnitAbsolute = 'px' | 'cm' | 'mm';
2
- type UnitRelative = 'em' | 'rem' | 'vw' | 'vh' | '%';
2
+ type UnitRelative = 'em' | 'rem' | 'vh' | 'vw' | 'dvh' | 'dvw' | '%';
3
3
  type SizeAbsolute = `${number}${UnitAbsolute}`;
4
4
  type SizeRelative = `${number}${UnitRelative}`;
5
5
  type SizeKeyword = 'initial' | 'inherit' | 'unset' | 'revert' | 'auto' | 'none' | 'normal';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.419",
4
+ "version": "4.0.421",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",