@sapphire-ion/framework 1.2.13 → 1.2.19

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.
@@ -29,7 +29,9 @@ export declare class Utils {
29
29
  * @param file: base64 | Blob
30
30
  */
31
31
  static DownloadFile(file: string | Blob, fileName: string): Promise<void>;
32
- static Base64ToBlob(base64: string): Promise<Blob>;
32
+ static BlobToBase64(blob: Blob): Promise<string>;
33
+ static Base64ToBlob(base64: string, mimeType: string): Promise<Blob>;
34
+ static FindMimeFromNameOrExtension(pathOrExtension: string): string;
33
35
  }
34
36
  export declare function Search<T = any>(items: T[], Search: string, bindLabel: ((obj: T) => string)): T[];
35
37
  export declare function Timeout(timeout: number): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire-ion/framework",
3
- "version": "1.2.13",
3
+ "version": "1.2.19",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.2.8",
@@ -21,6 +21,7 @@
21
21
  "@types/node": "^20.11.2",
22
22
  "ts-node": "^8.3.0",
23
23
  "moment": "^2.30.1",
24
+ "mime": "^4.0.7",
24
25
  "typescript": "~5.5.3"
25
26
  },
26
27
  "dependencies": {
@@ -469,3 +469,7 @@ text-tooltip{
469
469
  hsl(from var(--color-secondary, var(--ion-color-light)) h s l / var(--step-3-opacity, 0.2));
470
470
  }
471
471
 
472
+
473
+ ion-card::part(native){
474
+ height: 100%
475
+ }