@eclass/ui-kit 1.54.0 → 1.54.1

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,11 @@
1
1
  export interface IModal {
2
- buttons?: Array<{ type?: 'primary' | 'secondary'; action: () => void; text: string }>
2
+ buttons?: Array<{
3
+ type?: 'primary' | 'secondary'
4
+ action: () => void
5
+ text: string
6
+ isLoading?: boolean
7
+ isDisabled?: boolean
8
+ }>
3
9
  /** Si es un solo botón tiene la opción de centrar este */
4
10
  buttonsCenter?: boolean
5
11
  /** muestran en columna en mobile, por defecto es true */
@@ -16,6 +22,8 @@ export interface IModal {
16
22
  title?: string
17
23
  /** Si esta activo se quita el margin del contenido */
18
24
  withoutMargin?: boolean
25
+ /** Como quiero el scroll, dentro del modal o el modal incluido (por defecto es el último) */
26
+ scrollBehavior?: 'inside' | 'outside'
19
27
  }
20
28
 
21
29
  export interface IModalButtons {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eclass/ui-kit",
3
3
  "description": "Elementos UI transversales eClass",
4
- "version": "1.54.0",
4
+ "version": "1.54.1",
5
5
  "files": [
6
6
  "dist"
7
7
  ],