@fewangsit/wangsvue-gsts 1.0.0-alpha.7 → 1.0.0-alpha.9

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.
@@ -31,6 +31,13 @@ export interface DialogConfirmProps {
31
31
  * The severity will determine the dialog icons and color scheme.
32
32
  */
33
33
  severity: ConfirmDialogSeverity;
34
+ /**
35
+ * The severity of the confirm button.
36
+ * The severity will determine the confirm button color scheme in case button severity is different from header/dialog severity.
37
+ *
38
+ * @default undefined - to fallback to props.severity
39
+ */
40
+ confirmButtonSeverity?: ConfirmDialogSeverity;
34
41
  /**
35
42
  * The boolean modelValue to show dialog.
36
43
  */
@@ -14,7 +14,7 @@ export type ImageCompressorPayload = {
14
14
  fileName: string;
15
15
  file: File;
16
16
  size: string;
17
- type: 'image/webp';
17
+ type: 'image/webp' | 'image/jpeg' | 'image/jpg';
18
18
  };
19
19
  message?: string;
20
20
  };
@@ -130,6 +130,12 @@ export interface ImageCompressorProps {
130
130
  * @default true
131
131
  */
132
132
  showValidatorMessage?: boolean;
133
+ /**
134
+ * Specify the file type for the uploaded image result.
135
+ *
136
+ * @default 'webp'
137
+ */
138
+ fileType?: 'webp' | 'jpeg' | 'jpg';
133
139
  }
134
140
 
135
141
  export interface ImageCompressorSlots {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-gsts",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Global Settings Tagsamurai VueJS Component Library",
6
6
  "type": "module",