@popsure/dirty-swan 0.56.1 → 0.56.3
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/package.json
CHANGED
|
@@ -72,6 +72,7 @@ const InnerModal = ({
|
|
|
72
72
|
: classNames?.wrapper?.({ isClosing })
|
|
73
73
|
}
|
|
74
74
|
>
|
|
75
|
+
<FocusLock returnFocus className="m-auto">
|
|
75
76
|
<div
|
|
76
77
|
aria-modal="true"
|
|
77
78
|
role="dialog"
|
|
@@ -82,7 +83,6 @@ const InnerModal = ({
|
|
|
82
83
|
}
|
|
83
84
|
onClick={handleContainerClick}
|
|
84
85
|
>
|
|
85
|
-
<FocusLock returnFocus>
|
|
86
86
|
<div
|
|
87
87
|
className={classNamesUtil(
|
|
88
88
|
'bg-white d-flex ai-center w100 px24 pt24 pb16',
|
|
@@ -97,7 +97,8 @@ const InnerModal = ({
|
|
|
97
97
|
<div
|
|
98
98
|
className={classNamesUtil(
|
|
99
99
|
styles.title,
|
|
100
|
-
titleSize === 'small' ? 'p-h4' : 'p-h2'
|
|
100
|
+
titleSize === 'small' ? 'p-h4' : 'p-h2',
|
|
101
|
+
classNames?.title,
|
|
101
102
|
)}
|
|
102
103
|
>
|
|
103
104
|
{title}
|
|
@@ -145,8 +146,8 @@ const InnerModal = ({
|
|
|
145
146
|
<div className="p24 pt16">{footer}</div>
|
|
146
147
|
</div>
|
|
147
148
|
)}
|
|
148
|
-
</
|
|
149
|
-
</
|
|
149
|
+
</div>
|
|
150
|
+
</FocusLock>
|
|
150
151
|
</div>
|
|
151
152
|
</div>
|
|
152
153
|
);
|