@energysage/es-ds-components 3.2.1 → 3.2.2
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/components/es-modal.vue +8 -2
- package/package.json +1 -1
package/components/es-modal.vue
CHANGED
|
@@ -30,7 +30,14 @@ const modalPt = {
|
|
|
30
30
|
class: 'modal-title',
|
|
31
31
|
},
|
|
32
32
|
closeButton: {
|
|
33
|
-
class:
|
|
33
|
+
class: [
|
|
34
|
+
'close',
|
|
35
|
+
{
|
|
36
|
+
// if closable is true, keep the close button around (for accessibility, and to
|
|
37
|
+
// allow Escape to still close the modal), but hide it visually
|
|
38
|
+
'sr-only': !props.closable,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
34
41
|
},
|
|
35
42
|
content: {
|
|
36
43
|
class: `modal-body ${props.bodyClass}`,
|
|
@@ -72,7 +79,6 @@ const getSizeClass = computed(() => {
|
|
|
72
79
|
modal
|
|
73
80
|
:class="getSizeClass"
|
|
74
81
|
:pt="modalPt"
|
|
75
|
-
:closable="closable"
|
|
76
82
|
dismissable-mask
|
|
77
83
|
@update:visible="onChange">
|
|
78
84
|
<template
|