@logora/debate 0.4.58 → 0.4.60
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.
|
@@ -17,9 +17,8 @@ const D = ({
|
|
|
17
17
|
b(() => {
|
|
18
18
|
const e = r.current;
|
|
19
19
|
if (!e) return;
|
|
20
|
-
e.open || e.showModal(), e.focus();
|
|
21
20
|
const p = document.documentElement.style.overflow, y = document.body.style.overflow;
|
|
22
|
-
return document.documentElement.style.overflow = "hidden", document.body.style.overflow = "hidden", () => {
|
|
21
|
+
return document.documentElement.style.overflow = "hidden", document.body.style.overflow = "hidden", e.open || e.showModal(), e.focus(), () => {
|
|
23
22
|
document.documentElement.style.overflow = p, document.body.style.overflow = y, e.open && e.close();
|
|
24
23
|
};
|
|
25
24
|
}, []);
|
package/package.json
CHANGED
|
@@ -16,7 +16,6 @@ $box-shadow-main-container : var(--box-shadow-main-container, $box-shadow);
|
|
|
16
16
|
$box-border: var(--box-border, 1px solid rgba(7,42,68, 0.1));
|
|
17
17
|
$box-border-main-container: var(--box-border-main-container, $box-border);
|
|
18
18
|
$box-border-radius: var(--box-border-radius, 6px);
|
|
19
|
-
$button-shadow: var(--button-shadow, $box-shadow);
|
|
20
19
|
$button-border: var(--button-border, $box-border);
|
|
21
20
|
$button-border-radius: var(--button-border-radius, $box-border-radius);
|
|
22
21
|
$text-primary: var(--text-primary, #222222);
|
|
@@ -68,7 +68,6 @@ This SASS file contains all the variables used for defining colors, fonts, borde
|
|
|
68
68
|
|
|
69
69
|
- **$box-shadow**: Box shadow for boxes (`0px 2px 5px rgba(7,42,68, 0.1)`).
|
|
70
70
|
- **$box-shadow-main-container**: Box shadow for main containers (defaults to `$box-shadow`).
|
|
71
|
-
- **$button-shadow**: Box shadow for buttons (`0px 2px 5px rgba(7,42,68, 0.1)`).
|
|
72
71
|
|
|
73
72
|
### Layout
|
|
74
73
|
|