tsv2-library 0.3.52 → 0.3.54
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/dist/src/components/v2/DialogConfirm/DialogConfirm.vue.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +5692 -5665
- package/dist/tsv2-library.umd.js +97 -97
- package/package.json +1 -1
- package/src/components/v2/DialogConfirm/DialogConfirm.vue.d.ts +5 -0
- package/src/presets/button/index.js +12 -8
- package/src/presets/datatable/index.js +1 -1
|
@@ -2,6 +2,7 @@ import { DefineComponent, Slot } from 'vue';
|
|
|
2
2
|
import { TSVueIcons } from '../Icon/Icon.vue.d';
|
|
3
3
|
|
|
4
4
|
type ConfirmDialogSeverity = 'success' | 'danger';
|
|
5
|
+
type ButtonSeverity = 'success' | 'danger' | 'primary' | 'dark';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Props for DialogConfirm component
|
|
@@ -20,6 +21,10 @@ export interface DialogConfirmProps {
|
|
|
20
21
|
* The severity will determine the dialog icons and color scheme.
|
|
21
22
|
*/
|
|
22
23
|
severity: ConfirmDialogSeverity;
|
|
24
|
+
/**
|
|
25
|
+
* The severity of the dialog confirm button.
|
|
26
|
+
*/
|
|
27
|
+
confirmBtnSeverity?: ButtonSeverity;
|
|
23
28
|
/**
|
|
24
29
|
* The label of the confirm button.
|
|
25
30
|
* @default 'Yes, Continue'
|