react-dialogger 1.1.126 → 1.1.128
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.
|
@@ -173,7 +173,15 @@ var DialogContent = function (props) {
|
|
|
173
173
|
y: y / scale,
|
|
174
174
|
fullscreen: false
|
|
175
175
|
}, dialogRef);
|
|
176
|
-
}, children: (0, jsx_runtime_1.jsxs)("div", {
|
|
176
|
+
}, children: (0, jsx_runtime_1.jsxs)("div", { onBlur: function (event) {
|
|
177
|
+
if (dialog.dialogOptions.backdrop.dimOnInactive) {
|
|
178
|
+
dialogRef.current.classList.add('inactive');
|
|
179
|
+
}
|
|
180
|
+
}, onFocus: function (event) {
|
|
181
|
+
if (dialog.dialogOptions.backdrop.dimOnInactive) {
|
|
182
|
+
dialogRef.current.classList.remove('inactive');
|
|
183
|
+
}
|
|
184
|
+
}, id: "dialog-main", ref: dialogRef, onClick: function (e) {
|
|
177
185
|
e.stopPropagation();
|
|
178
186
|
if (dialog.dialogOptions.backdrop.throughable) {
|
|
179
187
|
var toppest = dialog.props.zFinder();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dialogger",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.128",
|
|
4
4
|
"description": "This package is a continuation of the react-araci package. Due to an error, react-araci was removed, and it has been decided to continue under the new package name react-dialogger",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Sueleyman Topaloglu",
|
package/styles/dialog.css
CHANGED
|
@@ -205,6 +205,10 @@
|
|
|
205
205
|
-ms-user-select: none; /* IE/Edge */
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
.dialog-main.inactive {
|
|
209
|
+
opacity: 0.6 !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
208
212
|
.dialog-main {
|
|
209
213
|
top: 100px;
|
|
210
214
|
box-shadow: 0 0 20px #252525;
|
|
@@ -214,6 +218,7 @@
|
|
|
214
218
|
flex-direction: column;
|
|
215
219
|
overflow: clip;
|
|
216
220
|
pointer-events: auto;
|
|
221
|
+
opacity: 1; /* Başlangıçta 1 */
|
|
217
222
|
}
|
|
218
223
|
.dialog-main .dialog-zoom-root {
|
|
219
224
|
display: flex;
|
package/types/DialogTypes.d.ts
CHANGED