@jetbrains/kotlin-web-site-ui 4.8.0-alpha.13 → 4.8.0-alpha.15
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.
|
@@ -45,7 +45,8 @@ const Footer = ({
|
|
|
45
45
|
}), "and\u00A0licensed under the", ' ', React__default.createElement("a", {
|
|
46
46
|
className: classNames(linkClass),
|
|
47
47
|
target: "_blank",
|
|
48
|
-
href: "https://github.com/JetBrains/kotlin-web-site/blob/master/LICENSE"
|
|
48
|
+
href: "https://github.com/JetBrains/kotlin-web-site/blob/master/LICENSE",
|
|
49
|
+
rel: "noreferrer"
|
|
49
50
|
}, "Apache 2\u00A0license"), "."))));
|
|
50
51
|
};
|
|
51
52
|
|
|
@@ -6,7 +6,9 @@ import styles from './logo.module.pcss.js';
|
|
|
6
6
|
const Logo = props => React__default.createElement("a", {
|
|
7
7
|
href: "https://jetbrains.com",
|
|
8
8
|
target: "_blank",
|
|
9
|
-
className: classNames(props.className, styles.link)
|
|
9
|
+
className: classNames(props.className, styles.link),
|
|
10
|
+
"aria-label": "jetbrains.com link",
|
|
11
|
+
rel: "noreferrer"
|
|
10
12
|
}, React__default.createElement(SvgJetbrainsLogo, null));
|
|
11
13
|
|
|
12
14
|
export { Logo };
|
|
@@ -31,7 +31,9 @@ const MenuPopup = ({
|
|
|
31
31
|
}, [isExpanded, headerRef]);
|
|
32
32
|
const handleClick = useCallback(() => {
|
|
33
33
|
if (navRef.current) {
|
|
34
|
-
isExpanded ? enableBodyScroll(navRef.current) : disableBodyScroll(navRef.current
|
|
34
|
+
isExpanded ? enableBodyScroll(navRef.current) : disableBodyScroll(navRef.current, {
|
|
35
|
+
reserveScrollBarGap: true
|
|
36
|
+
});
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
setExpand(!isExpanded);
|
|
@@ -129,6 +129,7 @@ const YoutubePlayer = ({
|
|
|
129
129
|
className: styles.imagePreview
|
|
130
130
|
}), React__default.createElement("button", {
|
|
131
131
|
type: "button",
|
|
132
|
+
"aria-label": "Play video",
|
|
132
133
|
className: classNames(styles.playButton, {
|
|
133
134
|
[styles.hide]: showVideo && !videoLoading,
|
|
134
135
|
[styles.playButtonWhite]: playButtonMode === YoutubePlayButtonMode.White,
|
package/package.json
CHANGED