mithril-materialized 3.5.8 → 3.5.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.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/modal.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5018,7 +5018,7 @@ const ModalPanel = () => {
|
|
|
5018
5018
|
closeModal(attrs);
|
|
5019
5019
|
}
|
|
5020
5020
|
}
|
|
5021
|
-
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick =
|
|
5021
|
+
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick = false, } = attrs;
|
|
5022
5022
|
const modalClasses = [
|
|
5023
5023
|
'modal',
|
|
5024
5024
|
className || '',
|
package/dist/index.js
CHANGED
|
@@ -5020,7 +5020,7 @@ const ModalPanel = () => {
|
|
|
5020
5020
|
closeModal(attrs);
|
|
5021
5021
|
}
|
|
5022
5022
|
}
|
|
5023
|
-
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick =
|
|
5023
|
+
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick = false, } = attrs;
|
|
5024
5024
|
const modalClasses = [
|
|
5025
5025
|
'modal',
|
|
5026
5026
|
className || '',
|
package/dist/index.umd.js
CHANGED
|
@@ -5022,7 +5022,7 @@
|
|
|
5022
5022
|
closeModal(attrs);
|
|
5023
5023
|
}
|
|
5024
5024
|
}
|
|
5025
|
-
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick =
|
|
5025
|
+
const { id, title, description, fixedFooter, bottomSheet, buttons, richContent, className, showCloseButton = true, closeOnBackdropClick = true, closeOnButtonClick = false, } = attrs;
|
|
5026
5026
|
const modalClasses = [
|
|
5027
5027
|
'modal',
|
|
5028
5028
|
className || '',
|
package/dist/modal.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface ModalAttrs extends Attributes {
|
|
|
31
31
|
showCloseButton?: boolean;
|
|
32
32
|
/** Close modal when clicking backdrop (default true) */
|
|
33
33
|
closeOnBackdropClick?: boolean;
|
|
34
|
-
/** Close modal when clicking a button (default
|
|
34
|
+
/** Close modal when clicking a button (default false) */
|
|
35
35
|
closeOnButtonClick?: boolean;
|
|
36
36
|
/** Close modal when pressing escape key */
|
|
37
37
|
closeOnEsc?: boolean;
|