@sankhyalabs/ezui-docs 4.7.0 → 4.8.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.
@@ -9,6 +9,7 @@
9
9
 
10
10
  | Property | Attribute | Description | Type | Default |
11
11
  | ---------------------- | ------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ----------- |
12
+ | `beforeClose` | -- | Define função a ser executada antes de fechar o modal | `Function` | `undefined` |
12
13
  | `confirm` | `confirm` | Define se o ez-dialog será utilizado no modo de confirmação. | `boolean` | `false` |
13
14
  | `dialogType` | `dialog-type` | Define aparência do ez-dialog. | `DialogType.CRITICAL \| DialogType.DEFAULT \| DialogType.SUCCESS \| DialogType.WARN` | `undefined` |
14
15
  | `ezTitle` | `ez-title` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
@@ -27,7 +28,7 @@
27
28
 
28
29
  ## Methods
29
30
 
30
- ### `show(title: string, message: string, dialogType: DialogType, confirm: boolean, icon: string, labelCancel: string, labelConfirm: string, btnConfirmDanger: boolean) => Promise<boolean>`
31
+ ### `show(title: string, message: string, dialogType: DialogType, confirm: boolean, icon: string, labelCancel: string, labelConfirm: string, btnConfirmDanger: boolean, beforeClose: Function) => Promise<boolean>`
31
32
 
32
33
  Exibe o ez-dialog.
33
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui-docs",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [