@jetbrains/kotlin-web-site-ui 4.8.0-dropms.1 → 4.8.0

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.
Files changed (37) hide show
  1. package/out/components/breakpoints/constants.js +1 -0
  2. package/out/components/breakpoints/hooks.js +5 -1
  3. package/out/components/breakpoints/index.js +1 -1
  4. package/out/components/breakpoints/media.pcss +2 -0
  5. package/out/components/cta-block-v2/index.css +1 -7
  6. package/out/components/footer/footer.js +2 -1
  7. package/out/components/footer/index.css +6 -1
  8. package/out/components/footer/logo/logo.js +3 -1
  9. package/out/components/footer-compact/footer.js +55 -0
  10. package/out/components/footer-compact/footer.module.pcss.js +13 -0
  11. package/out/components/footer-compact/index.css +286 -0
  12. package/out/components/footer-compact/index.js +3 -0
  13. package/out/components/footer-compact/logo/jetbrains-logo.svg.js +38 -0
  14. package/out/components/footer-compact/logo/logo.js +12 -0
  15. package/out/components/footer-compact/logo/logo.module.pcss.js +4 -0
  16. package/out/components/footer-compact/nav/nav-data.js +30 -0
  17. package/out/components/footer-compact/nav/nav-item.js +27 -0
  18. package/out/components/footer-compact/nav/nav-item.module.pcss.js +5 -0
  19. package/out/components/footer-compact/nav/nav-list.js +15 -0
  20. package/out/components/footer-compact/nav/nav-list.module.pcss.js +4 -0
  21. package/out/components/footer-compact/social-list/social-data.js +38 -0
  22. package/out/components/footer-compact/social-list/social-item/social-item.js +21 -0
  23. package/out/components/footer-compact/social-list/social-item/social-item.module.pcss.js +5 -0
  24. package/out/components/footer-compact/social-list/social-list.js +13 -0
  25. package/out/components/footer-compact/social-list/social-list.module.pcss.js +4 -0
  26. package/out/components/footer-compact/social-list/svg/github-logo.svg.js +35 -0
  27. package/out/components/footer-compact/social-list/svg/reddit-logo.svg.js +33 -0
  28. package/out/components/footer-compact/social-list/svg/slack-logo.svg.js +33 -0
  29. package/out/components/footer-compact/social-list/svg/stackoverflow-logo.svg.js +36 -0
  30. package/out/components/footer-compact/social-list/svg/twitter-logo.svg.js +33 -0
  31. package/out/components/footer-compact/social-list/svg/youtube-logo.svg.js +35 -0
  32. package/out/components/header/menu-popup/menu-popup.js +3 -1
  33. package/out/components/layout/index.css +6 -1
  34. package/out/components/youtube-player/index.css +8 -0
  35. package/out/components/youtube-player/youtube-player.js +4 -1
  36. package/out/components/youtube-player/youtube-player.module.pcss.js +1 -0
  37. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  const POINTS = {
2
+ MS: 374,
2
3
  MM: 472,
3
4
  TS: 616,
4
5
  TM: 808,
@@ -1,6 +1,10 @@
1
1
  import { useMedia } from 'the-platform/useMedia';
2
2
  import { BREAKPOINTS_MAX_MEDIA } from './constants.js';
3
3
 
4
+ function useMS() {
5
+ return useMedia(BREAKPOINTS_MAX_MEDIA.MS, false);
6
+ }
7
+
4
8
  function useMM() {
5
9
  return useMedia(BREAKPOINTS_MAX_MEDIA.MM, false);
6
10
  }
@@ -25,4 +29,4 @@ function useDS() {
25
29
  return useMedia(BREAKPOINTS_MAX_MEDIA.DS, false);
26
30
  }
27
31
 
28
- export { useDM, useDS, useMM, useTL, useTM, useTS };
32
+ export { useDM, useDS, useMM, useMS, useTL, useTM, useTS };
@@ -1,2 +1,2 @@
1
1
  export { BREAKPOINTS, BREAKPOINTS_KEYS, BREAKPOINTS_MAX_MEDIA, BREAKPOINTS_MIN_MEDIA } from './constants.js';
2
- export { useDM, useDS, useMM, useTL, useTM, useTS } from './hooks.js';
2
+ export { useDM, useDS, useMM, useMS, useTL, useTM, useTS } from './hooks.js';
@@ -1,9 +1,11 @@
1
+ @custom-media --ktl-ms-min (min-width: 375px);
1
2
  @custom-media --ktl-mm-min (min-width: 473px);
2
3
  @custom-media --ktl-ts-min (min-width: 617px);
3
4
  @custom-media --ktl-tm-min (min-width: 809px);
4
5
  @custom-media --ktl-tl-min (min-width: 1001px);
5
6
  @custom-media --ktl-ds-min (min-width: 1191px);
6
7
  @custom-media --ktl-dm-min (min-width: 1281px);
8
+ @custom-media --ktl-ms (max-width: 374px);
7
9
  @custom-media --ktl-mm (max-width: 472px);
8
10
  @custom-media --ktl-ts (max-width: 616px);
9
11
  @custom-media --ktl-tm (max-width: 808px);
@@ -1,11 +1,5 @@
1
1
  .ktl-cta-block-module_wrapper_U-RIE {
2
- background: radial-gradient(
3
- 89.53% 145.96% at 0.34% 100.79%,
4
- #EF4857 0%,
5
- #DE4970 17.58%,
6
- #B44DB0 50.31%,
7
- #7F52FF 97.03%
8
- );
2
+ background: linear-gradient(90deg, #E54857 0%, #C811E2 50%, #7F52FF 100%);
9
3
 
10
4
  padding: var(--ktl-box-page-m) 0;
11
5
  }
@@ -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
 
@@ -298,7 +298,12 @@
298
298
  }
299
299
 
300
300
  @media (max-width: 472px) {.ktl-layout {
301
- --ktl-layout-width: 316px;
301
+ --ktl-layout-width: 328px;
302
+ }
303
+ }
304
+
305
+ @media (max-width: 374px) {.ktl-layout {
306
+ --ktl-layout-width: 272px;
302
307
  }
303
308
  }
304
309
 
@@ -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 };
@@ -0,0 +1,55 @@
1
+ import React__default from 'react';
2
+ import { useTheme } from '@rescui/ui-contexts';
3
+ import { SocialList } from './social-list/social-list.js';
4
+ import { NavList } from './nav/nav-list.js';
5
+ import { Logo } from './logo/logo.js';
6
+ import classNames from 'classnames';
7
+ import styles from './footer.module.pcss.js';
8
+ import { useTextStyles } from '@rescui/typography';
9
+
10
+ const Footer = ({
11
+ forwardedRef,
12
+ className
13
+ }) => {
14
+ const textCn = useTextStyles();
15
+ const theme = useTheme();
16
+ const linkClass = textCn('rs-link', {
17
+ hardness: 'pale',
18
+ mode: 'clear'
19
+ });
20
+ return React__default.createElement("footer", {
21
+ className: classNames(styles.footer, className, {
22
+ [styles.footerDarkTheme]: theme === 'dark'
23
+ }),
24
+ ref: forwardedRef
25
+ }, React__default.createElement("div", {
26
+ className: styles.socialListArea
27
+ }, React__default.createElement("div", {
28
+ className: classNames(textCn('rs-h4'), styles.socialListTitle)
29
+ }, "Stay in touch:"), React__default.createElement(SocialList, null)), React__default.createElement(NavList, {
30
+ className: styles.navListArea
31
+ }), React__default.createElement("div", {
32
+ className: classNames(textCn('rs-text-3', {
33
+ hardness: 'pale'
34
+ }), styles.textArea)
35
+ }, React__default.createElement("div", {
36
+ className: styles.copyright
37
+ }, "Kotlin\u2122 is\u00A0protected under the", ' ', React__default.createElement("a", {
38
+ className: classNames(linkClass, styles.underlinedLink),
39
+ href: "https://kotlinlang.org/foundation/kotlin-foundation.html"
40
+ }, "Kotlin\u00A0Foundation"), ' ', "and licensed under the", ' ', React__default.createElement("a", {
41
+ className: classNames(linkClass, styles.underlinedLink),
42
+ target: "_blank",
43
+ href: "https://github.com/JetBrains/kotlin-web-site/blob/master/LICENSE"
44
+ }, "Apache 2\u00A0license"), "."), ' ', React__default.createElement("div", {
45
+ className: styles.motto
46
+ }, "Supported and developed by\u00A0", React__default.createElement("a", {
47
+ className: classNames(linkClass, styles.underlinedLink),
48
+ href: "https://www.jetbrains.com/",
49
+ target: "_blank"
50
+ }, "JetBrains"))), React__default.createElement(Logo, {
51
+ className: styles.logoArea
52
+ }));
53
+ };
54
+
55
+ export { Footer };
@@ -0,0 +1,13 @@
1
+ var styles = {
2
+ "footer": "ktl-footer-module_footer_GHyqk",
3
+ "footerDarkTheme": "ktl-footer-module_footer-dark-theme_tSipV",
4
+ "underlinedLink": "ktl-footer-module_underlined-link_qo8UM",
5
+ "socialListArea": "ktl-footer-module_social-list-area_2f-iy",
6
+ "socialListTitle": "ktl-footer-module_social-list-title_X7tJv",
7
+ "navListArea": "ktl-footer-module_nav-list-area_Oblb8",
8
+ "textArea": "ktl-footer-module_text-area_T8lpL",
9
+ "logoArea": "ktl-footer-module_logo-area_zYm8W",
10
+ "copyright": "ktl-footer-module_copyright_tho-X",
11
+ "motto": "ktl-footer-module_motto_6KpB8"
12
+ };
13
+ export { styles as default };
@@ -0,0 +1,286 @@
1
+ .ktl-social-list-module_social-list_in8ys {
2
+ display: grid;
3
+ -moz-column-gap: 18px;
4
+ column-gap: 18px;
5
+ grid-auto-flow: column;
6
+ justify-content: start;
7
+ margin: -6px 0;
8
+ }
9
+
10
+ @media (max-width: 480px) {
11
+ .ktl-social-list-module_social-list_in8ys {
12
+ -moz-column-gap: 8px;
13
+ column-gap: 8px;
14
+ }
15
+ }
16
+
17
+ :root {
18
+ --ktl-light-grey: #f4f4f4;
19
+ --ktl-dark-100: rgba(39, 40, 44, 1);
20
+ --ktl-dark-bg-hard: rgba(27, 27, 27, 1);
21
+ --ktl-icon-color-dark: rgba(39, 40, 44, 0.75);
22
+ --ktl-color-white-light: rgba(255, 255, 255, 0.75);
23
+ --ktl-transition-xfast: 100ms;
24
+ --ktl-transition-fast: 300ms;
25
+ --ktl-color-primary-light-theme: #7f52ff;
26
+ --ktl-color-dark-40: rgba(39, 40, 44, 0.4);
27
+ --ktl-light-text-hard: rgba(39, 40, 44, 1);
28
+ --ktl-light-dark-20: rgba(39, 40, 44, 0.2);
29
+ --ktl-divider-color: rgba(25, 25, 28, .2);
30
+ --ktl-overlay-z-index: 900;
31
+ --ktl-top-menu-z-index: 905;
32
+ --ktl-header-z-index: 906;
33
+ --ktl-mobile-dropdown-list-z-index: 907;
34
+ --ktl-header-height-mobile: 52px;
35
+ --ktl-font-family-inter: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
36
+ --ktl-focus-outline: rgba(107,87,255,.8) 0 0 0 4px;
37
+ }
38
+
39
+ :root {
40
+ --ktl-box-block-s: 4px;
41
+ --ktl-box-block-m: 8px;
42
+ --ktl-box-block-l: 16px;
43
+
44
+ --ktl-box-section-s: 24px;
45
+ --ktl-box-section-m: 32px;
46
+ --ktl-box-section-l: 48px;
47
+
48
+ --ktl-box-page-s: 64px;
49
+ --ktl-box-page-m: 72px;
50
+ --ktl-box-page-l: 96px;
51
+ }
52
+
53
+ .ktl-social-item-module_social-item_uHRCi {
54
+ width: 36px;
55
+ height: 36px;
56
+ padding: 6px;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ box-sizing: border-box;
61
+ border-radius: 50%;
62
+ transition: color var(--ktl-transition-xfast),
63
+ background-color var(--ktl-transition-xfast);
64
+ color: var(--ktl-icon-color-dark);
65
+ }
66
+
67
+ .ktl-social-item-module_social-item_uHRCi:hover,
68
+ .ktl-social-item-module_social-item_uHRCi :focus {
69
+ color: var(--ktl-icon-color-dark);
70
+ background: rgba(39, 40, 44, 0.05);
71
+ }
72
+
73
+ .ktl-social-item-module_social-item-dark-theme_2OCoQ {
74
+ color: var(--ktl-color-white-light);
75
+ }
76
+
77
+ .ktl-social-item-module_social-item-dark-theme_2OCoQ:hover, .ktl-social-item-module_social-item-dark-theme_2OCoQ:focus {
78
+ color: var(--ktl-color-white-light);
79
+ background: rgba(255, 255, 255, 0.1);
80
+ }
81
+ .ktl-nav-list-module_nav-list_6OvZp {
82
+ display: flex;
83
+ flex-wrap: wrap;
84
+ margin: 0;
85
+ padding: 0;
86
+ list-style: none;
87
+ }
88
+
89
+ :root {
90
+ --ktl-light-grey: #f4f4f4;
91
+ --ktl-dark-100: rgba(39, 40, 44, 1);
92
+ --ktl-dark-bg-hard: rgba(27, 27, 27, 1);
93
+ --ktl-icon-color-dark: rgba(39, 40, 44, 0.75);
94
+ --ktl-color-white-light: rgba(255, 255, 255, 0.75);
95
+ --ktl-transition-xfast: 100ms;
96
+ --ktl-transition-fast: 300ms;
97
+ --ktl-color-primary-light-theme: #7f52ff;
98
+ --ktl-color-dark-40: rgba(39, 40, 44, 0.4);
99
+ --ktl-light-text-hard: rgba(39, 40, 44, 1);
100
+ --ktl-light-dark-20: rgba(39, 40, 44, 0.2);
101
+ --ktl-divider-color: rgba(25, 25, 28, .2);
102
+ --ktl-overlay-z-index: 900;
103
+ --ktl-top-menu-z-index: 905;
104
+ --ktl-header-z-index: 906;
105
+ --ktl-mobile-dropdown-list-z-index: 907;
106
+ --ktl-header-height-mobile: 52px;
107
+ --ktl-font-family-inter: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
108
+ --ktl-focus-outline: rgba(107,87,255,.8) 0 0 0 4px;
109
+ }
110
+
111
+ :root {
112
+ --ktl-box-block-s: 4px;
113
+ --ktl-box-block-m: 8px;
114
+ --ktl-box-block-l: 16px;
115
+
116
+ --ktl-box-section-s: 24px;
117
+ --ktl-box-section-m: 32px;
118
+ --ktl-box-section-l: 48px;
119
+
120
+ --ktl-box-page-s: 64px;
121
+ --ktl-box-page-m: 72px;
122
+ --ktl-box-page-l: 96px;
123
+ }
124
+
125
+ .ktl-nav-item-module_nav-item_VvPZQ {
126
+ padding-right: 12px;
127
+ margin-right: 12px;
128
+ line-height: 32px;
129
+ position: relative;
130
+ }
131
+
132
+ .ktl-nav-item-module_nav-item_VvPZQ:not(:last-child)::after {
133
+ position: absolute;
134
+ content: '';
135
+ right: 0;
136
+ top: 50%;
137
+ width: 1px;
138
+ height: 12px;
139
+ transform: translateY(-50%);
140
+ background-color: rgba(39, 40, 44, 0.5);
141
+ }
142
+
143
+ .ktl-nav-item-module_nav-item_VvPZQ:last-child {
144
+ padding-right: 0;
145
+ margin-right: 0;
146
+ }
147
+
148
+ .ktl-nav-item-module_nav-item-dark-theme_cbYse:not(:last-child)::after {
149
+ background-color: rgba(255, 255, 255, 0.50)
150
+ }
151
+
152
+ @media (min-width: 640px) {
153
+ .ktl-nav-item-module_nav-item_VvPZQ {
154
+ line-height: 1.5;
155
+ }
156
+ }
157
+ .ktl-logo-module_link_jGqR8 {
158
+ text-decoration: none;
159
+ }
160
+
161
+ :root {
162
+ --ktl-light-grey: #f4f4f4;
163
+ --ktl-dark-100: rgba(39, 40, 44, 1);
164
+ --ktl-dark-bg-hard: rgba(27, 27, 27, 1);
165
+ --ktl-icon-color-dark: rgba(39, 40, 44, 0.75);
166
+ --ktl-color-white-light: rgba(255, 255, 255, 0.75);
167
+ --ktl-transition-xfast: 100ms;
168
+ --ktl-transition-fast: 300ms;
169
+ --ktl-color-primary-light-theme: #7f52ff;
170
+ --ktl-color-dark-40: rgba(39, 40, 44, 0.4);
171
+ --ktl-light-text-hard: rgba(39, 40, 44, 1);
172
+ --ktl-light-dark-20: rgba(39, 40, 44, 0.2);
173
+ --ktl-divider-color: rgba(25, 25, 28, .2);
174
+ --ktl-overlay-z-index: 900;
175
+ --ktl-top-menu-z-index: 905;
176
+ --ktl-header-z-index: 906;
177
+ --ktl-mobile-dropdown-list-z-index: 907;
178
+ --ktl-header-height-mobile: 52px;
179
+ --ktl-font-family-inter: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
180
+ --ktl-focus-outline: rgba(107,87,255,.8) 0 0 0 4px;
181
+ }
182
+
183
+ :root {
184
+ --ktl-box-block-s: 4px;
185
+ --ktl-box-block-m: 8px;
186
+ --ktl-box-block-l: 16px;
187
+
188
+ --ktl-box-section-s: 24px;
189
+ --ktl-box-section-m: 32px;
190
+ --ktl-box-section-l: 48px;
191
+
192
+ --ktl-box-page-s: 64px;
193
+ --ktl-box-page-m: 72px;
194
+ --ktl-box-page-l: 96px;
195
+ }
196
+
197
+ .ktl-footer-module_footer_GHyqk {
198
+ background: var(--ktl-light-grey);
199
+ padding: 32px 16px 16px;
200
+ min-width: 320px;
201
+ box-sizing: border-box;
202
+ display: grid;
203
+ grid-template-columns: auto 75px;
204
+ grid-template-rows: auto;
205
+ grid-template-areas:
206
+ 'social-list social-list'
207
+ 'nav-list nav-list'
208
+ 'text logo';
209
+ grid-column-gap: 16px;
210
+ }
211
+
212
+ .ktl-footer-module_footer-dark-theme_tSipV {
213
+ background: var(--ktl-dark-100);
214
+ }
215
+
216
+ .ktl-footer-module_footer-dark-theme_tSipV .ktl-footer-module_underlined-link_qo8UM {
217
+ border-color: inherit;
218
+ }
219
+
220
+ .ktl-footer-module_social-list-area_2f-iy {
221
+ grid-area: social-list;
222
+ }
223
+
224
+ .ktl-footer-module_social-list-title_X7tJv {
225
+ margin-bottom: 8px;
226
+ }
227
+
228
+ .ktl-footer-module_nav-list-area_Oblb8 {
229
+ grid-area: nav-list;
230
+ margin: 24px 0 32px;
231
+ }
232
+
233
+ .ktl-footer-module_text-area_T8lpL {
234
+ grid-area: text;
235
+ }
236
+
237
+ .ktl-footer-module_logo-area_zYm8W {
238
+ grid-area: logo;
239
+ }
240
+
241
+ .ktl-footer-module_copyright_tho-X {
242
+ display: inline;
243
+ }
244
+
245
+ .ktl-footer-module_motto_6KpB8 {
246
+ display: inline;
247
+ }
248
+
249
+ .ktl-footer-module_underlined-link_qo8UM {
250
+ border-color: var(--ktl-light-dark-20);
251
+ }
252
+
253
+ @media (min-width: 641px) {
254
+ .ktl-footer-module_footer_GHyqk {
255
+ padding: 32px;
256
+ grid-template-columns: auto 60px;
257
+ grid-template-areas:
258
+ 'social-list logo'
259
+ 'nav-list logo'
260
+ 'text text';
261
+ }
262
+
263
+ .ktl-footer-module_text-area_T8lpL {
264
+ display: flex;
265
+ justify-content: space-between;
266
+ }
267
+
268
+ .ktl-footer-module_motto_6KpB8 {
269
+ margin-left: 16px;
270
+ text-align: right;
271
+ }
272
+
273
+ .ktl-footer-module_social-list-area_2f-iy {
274
+ display: flex;
275
+ align-items: center;
276
+ }
277
+
278
+ .ktl-footer-module_social-list-title_X7tJv {
279
+ margin-bottom: 0;
280
+ margin-right: 24px;
281
+ }
282
+
283
+ .ktl-footer-module_nav-list-area_Oblb8 {
284
+ margin: 16px 0;
285
+ }
286
+ }
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ import { Footer } from './footer.js';
3
+ export { Footer as default } from './footer.js';
@@ -0,0 +1,38 @@
1
+ import * as React from 'react';
2
+
3
+ var _path, _path2, _path3;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgJetbrainsLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ viewBox: "0 0 60 60",
25
+ fill: "none",
26
+ xmlns: "http://www.w3.org/2000/svg"
27
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
28
+ d: "M60 0H0v60h60V0Z",
29
+ fill: "#000"
30
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
31
+ d: "M27.648 48.706H5.178v3.765h22.47v-3.765ZM4.941 15.765l1.765-1.647c.47.588.941.941 1.53.941.705 0 1.058-.47 1.058-1.412V7.412H12v6.235c0 1.177-.353 2.118-.94 2.706-.59.588-1.53.941-2.707.941-1.765.118-2.706-.588-3.412-1.529ZM12.586 7.53h7.883v2.235h-5.177v1.529h4.706v2.118h-4.706v1.53h5.294v2.352h-7.882l-.118-9.765ZM24 9.882h-2.941V7.53h8.588v2.353h-2.941v7.412H24V9.882ZM5.177 19.53h5.06c1.175 0 2.117.352 2.705.823.353.353.588.941.588 1.647 0 1.177-.588 1.765-1.53 2.235 1.177.353 1.883 1.06 1.883 2.353 0 1.647-1.412 2.706-3.647 2.706H5.177V19.53Zm5.647 3.058c0-.588-.47-.823-1.176-.823H7.883v1.764H9.53c.824-.117 1.294-.352 1.294-.94Zm-.94 2.824H7.764v1.765h2.118c.824 0 1.294-.353 1.294-.942 0-.588-.47-.823-1.294-.823ZM14.352 19.53h4.588c1.53 0 2.471.352 3.177 1.058.588.589.823 1.294.823 2.236 0 1.53-.823 2.47-2 3.058l2.353 3.412h-3.058l-2-2.94h-1.177v2.94h-2.706V19.53Zm4.47 4.705c.942 0 1.413-.47 1.413-1.176 0-.824-.589-1.177-1.412-1.177h-1.765v2.353h1.765Z",
32
+ fill: "#fff"
33
+ })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
34
+ d: "M26.119 19.53h2.588l4.117 9.882h-2.94l-.707-1.765h-3.764l-.706 1.765h-2.824l4.236-9.883Zm2.352 5.882-1.058-2.706-1.06 2.706h2.118ZM33.177 19.53h2.706v9.764h-2.706V19.53ZM36.588 19.53h2.471l4 5.176v-5.177h2.706v9.765h-2.353L39.294 24v5.412h-2.706v-9.883ZM46 27.883l1.529-1.765c.941.824 2 1.177 3.176 1.177.706 0 1.177-.236 1.177-.706s-.353-.588-1.647-.941c-2.118-.47-3.647-1.06-3.647-3.06 0-1.764 1.411-3.176 3.764-3.176 1.648 0 2.942.47 4 1.294l-1.411 1.883c-.942-.588-1.883-.941-2.706-.941-.706 0-.941.235-.941.588 0 .47.353.588 1.647.941 2.235.47 3.647 1.177 3.647 3.059 0 2-1.53 3.176-4 3.176-1.765.118-3.412-.47-4.589-1.53Z",
35
+ fill: "#fff"
36
+ })));
37
+
38
+ export { SvgJetbrainsLogo as default };
@@ -0,0 +1,12 @@
1
+ import React__default from 'react';
2
+ import classNames from 'classnames';
3
+ import SvgJetbrainsLogo from './jetbrains-logo.svg.js';
4
+ import styles from './logo.module.pcss.js';
5
+
6
+ const Logo = props => React__default.createElement("a", {
7
+ href: "https://jetbrains.com",
8
+ target: "_blank",
9
+ className: classNames(props.className, styles.link)
10
+ }, React__default.createElement(SvgJetbrainsLogo, null));
11
+
12
+ export { Logo };
@@ -0,0 +1,4 @@
1
+ var styles = {
2
+ "link": "ktl-logo-module_link_jGqR8"
3
+ };
4
+ export { styles as default };
@@ -0,0 +1,30 @@
1
+ const navList = [{
2
+ url: 'https://kotlinlang.org/docs/contribute.html',
3
+ title: 'Contributing to Kotlin'
4
+ }, {
5
+ url: 'https://kotlinlang.org/docs/releases.html',
6
+ title: 'Releases'
7
+ }, {
8
+ url: 'https://kotlinlang.org/assets/kotlin-media-kit.pdf',
9
+ title: 'Press Kit'
10
+ }, {
11
+ url: 'https://kotlinlang.org/docs/security.html',
12
+ title: 'Security'
13
+ }, {
14
+ url: 'https://blog.jetbrains.com/kotlin/',
15
+ title: 'Blog',
16
+ isTargetBlank: true
17
+ }, {
18
+ url: 'https://youtrack.jetbrains.com/issues/KT',
19
+ title: 'Issue Tracker',
20
+ isTargetBlank: true
21
+ }, {
22
+ url: 'https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip',
23
+ title: 'Brand assets',
24
+ isTargetBlank: true
25
+ }, {
26
+ url: 'https://www.jetbrains.com/careers/jobs/?team=Kotlin',
27
+ title: 'Careers',
28
+ isTargetBlank: true
29
+ }];
30
+ export { navList };
@@ -0,0 +1,27 @@
1
+ import React__default from 'react';
2
+ import { useTheme } from '@rescui/ui-contexts';
3
+ import classNames from 'classnames';
4
+ import styles from './nav-item.module.pcss.js';
5
+ import { useTextStyles } from '@rescui/typography';
6
+
7
+ const NavItem = ({
8
+ data
9
+ }) => {
10
+ const textCn = useTextStyles();
11
+ const theme = useTheme();
12
+ return React__default.createElement("li", {
13
+ className: classNames(styles.navItem, textCn('rs-text-2'), {
14
+ [styles.navItemDarkTheme]: theme == 'dark'
15
+ })
16
+ }, React__default.createElement("a", {
17
+ target: data.isTargetBlank ? '_blank' : undefined,
18
+ href: data.url,
19
+ title: data.title,
20
+ className: classNames(textCn('rs-link', {
21
+ hardness: 'average',
22
+ mode: 'clear'
23
+ }))
24
+ }, data.title));
25
+ };
26
+
27
+ export { NavItem };
@@ -0,0 +1,5 @@
1
+ var styles = {
2
+ "navItem": "ktl-nav-item-module_nav-item_VvPZQ",
3
+ "navItemDarkTheme": "ktl-nav-item-module_nav-item-dark-theme_cbYse"
4
+ };
5
+ export { styles as default };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import styles from './nav-list.module.pcss.js';
3
+ import { navList } from './nav-data.js';
4
+ import { NavItem } from './nav-item.js';
5
+
6
+ const NavList = props => React__default.createElement("nav", {
7
+ className: props.className
8
+ }, React__default.createElement("ul", {
9
+ className: styles.navList
10
+ }, navList.map(value => React__default.createElement(NavItem, {
11
+ key: value.url,
12
+ data: value
13
+ }))));
14
+
15
+ export { NavList };
@@ -0,0 +1,4 @@
1
+ var styles = {
2
+ "navList": "ktl-nav-list-module_nav-list_6OvZp"
3
+ };
4
+ export { styles as default };
@@ -0,0 +1,38 @@
1
+ import SvgGithubLogo from './svg/github-logo.svg.js';
2
+ import SvgRedditLogo from './svg/reddit-logo.svg.js';
3
+ import SvgSlackLogo from './svg/slack-logo.svg.js';
4
+ import SvgStackoverflowLogo from './svg/stackoverflow-logo.svg.js';
5
+ import SvgTwitterLogo from './svg/twitter-logo.svg.js';
6
+ import SvgYoutubeLogo from './svg/youtube-logo.svg.js';
7
+ const socialList = [{
8
+ url: 'https://github.com/JetBrains/kotlin',
9
+ title: 'Kotlin on GitHub',
10
+ logoAlt: 'GitHub logo',
11
+ icon: SvgGithubLogo
12
+ }, {
13
+ url: 'https://twitter.com/kotlin',
14
+ title: 'Kotlin on Twitter',
15
+ logoAlt: 'Twitter logo',
16
+ icon: SvgTwitterLogo
17
+ }, {
18
+ url: 'https://surveys.jetbrains.com/s3/kotlin-slack-sign-up',
19
+ title: 'Kotlin Slack',
20
+ logoAlt: 'Slack logo',
21
+ icon: SvgSlackLogo
22
+ }, {
23
+ url: 'https://www.reddit.com/r/Kotlin/',
24
+ title: 'Kotlin on Reddit',
25
+ logoAlt: 'Reddit logo',
26
+ icon: SvgRedditLogo
27
+ }, {
28
+ url: 'https://stackoverflow.com/questions/tagged/kotlin',
29
+ title: 'Kotlin on Stack Overflow',
30
+ logoAlt: 'Stack Overflow logo',
31
+ icon: SvgStackoverflowLogo
32
+ }, {
33
+ url: 'https://www.youtube.com/channel/UCP7uiEZIqci43m22KDl0sNw',
34
+ title: 'Kotlin on YouTube',
35
+ logoAlt: 'YouTube logo',
36
+ icon: SvgYoutubeLogo
37
+ }];
38
+ export { socialList };
@@ -0,0 +1,21 @@
1
+ import React__default from 'react';
2
+ import { useTheme } from '@rescui/ui-contexts';
3
+ import classNames from 'classnames';
4
+ import styles from './social-item.module.pcss.js';
5
+
6
+ const SocialItem = ({
7
+ socialNetwork
8
+ }) => {
9
+ const SocialIcon = socialNetwork.icon;
10
+ const theme = useTheme();
11
+ return React__default.createElement("a", {
12
+ target: "_blank",
13
+ className: classNames(styles.socialItem, {
14
+ [styles.socialItemDarkTheme]: theme === 'dark'
15
+ }),
16
+ href: socialNetwork.url,
17
+ title: socialNetwork.title
18
+ }, React__default.createElement(SocialIcon, null));
19
+ };
20
+
21
+ export { SocialItem };
@@ -0,0 +1,5 @@
1
+ var styles = {
2
+ "socialItem": "ktl-social-item-module_social-item_uHRCi",
3
+ "socialItemDarkTheme": "ktl-social-item-module_social-item-dark-theme_2OCoQ"
4
+ };
5
+ export { styles as default };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+ import styles from './social-list.module.pcss.js';
3
+ import { socialList } from './social-data.js';
4
+ import { SocialItem } from './social-item/social-item.js';
5
+
6
+ const SocialList = () => React__default.createElement("div", {
7
+ className: styles.socialList
8
+ }, socialList.map(socialNetwork => React__default.createElement(SocialItem, {
9
+ key: socialNetwork.url,
10
+ socialNetwork: socialNetwork
11
+ })));
12
+
13
+ export { SocialList };
@@ -0,0 +1,4 @@
1
+ var styles = {
2
+ "socialList": "ktl-social-list-module_social-list_in8ys"
3
+ };
4
+ export { styles as default };
@@ -0,0 +1,35 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgGithubLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 18,
25
+ height: 18,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ fillRule: "evenodd",
30
+ clipRule: "evenodd",
31
+ d: "M17.9 9.2a8.94 8.94 0 0 1-6.4 8.6.392.392 0 0 1-.4-.4v-3a1.58 1.58 0 0 0-.5-1.2 3.734 3.734 0 0 0 3.9-3.4 4.244 4.244 0 0 0-.9-3.5c.29-.79.217-1.669-.2-2.4a7.24 7.24 0 0 0-2.4.9c-1.44-.4-2.96-.4-4.4 0a4.62 4.62 0 0 0-2.3-.9h-.1A2.75 2.75 0 0 0 4 6.3a4.075 4.075 0 0 0-.9 3.5A3.81 3.81 0 0 0 7 13.2c-.198.148-.34.36-.4.6a2.638 2.638 0 0 0-.1.7 1.943 1.943 0 0 1-2.2-.5c-.5-.8-.9-1.2-1.4-1.3-.5-.1-.6.2-.6.2.079.26.26.476.5.6.387.216.674.575.8 1a1.827 1.827 0 0 0 1.2 1.2 3.915 3.915 0 0 0 1.9 0v1.7a.297.297 0 0 1-.4.3A8.82 8.82 0 0 1 0 9.2a8.95 8.95 0 0 1 17.9 0Z",
32
+ fill: "currentColor"
33
+ })));
34
+
35
+ export { SvgGithubLogo as default };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgRedditLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 20,
25
+ height: 18,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ d: "M20 9.068a2.183 2.183 0 0 0-2.186-2.186 2.2 2.2 0 0 0-1.524.61c-1.505-1.076-3.566-1.775-5.86-1.865L11.434.932l3.261.699a1.559 1.559 0 0 0 3.119-.072A1.56 1.56 0 0 0 16.254 0c-.609 0-1.147.358-1.397.878l-3.638-.77a.381.381 0 0 0-.287.053.347.347 0 0 0-.161.251L9.659 5.645c-2.33.072-4.426.77-5.95 1.864a2.2 2.2 0 0 0-1.523-.61 2.183 2.183 0 0 0-.896 4.176c-.036.22-.054.441-.053.664 0 3.368 3.924 6.11 8.763 6.11s8.764-2.723 8.764-6.11c0-.223-.018-.444-.054-.664A2.208 2.208 0 0 0 20 9.069Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.698 1.559-1.559 1.559-.86.017-1.559-.7-1.559-1.56Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.115.913 3.136.913 1.022 0 2.473-.232 3.136-.913a.401.401 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z",
30
+ fill: "currentColor"
31
+ })));
32
+
33
+ export { SvgRedditLogo as default };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgSlackLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 18,
25
+ height: 18,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ d: "M6.63 9.49a1.895 1.895 0 0 0-1.89 1.89v4.73a1.89 1.89 0 1 0 3.78 0v-4.73a1.895 1.895 0 0 0-1.89-1.89ZM.01 11.38a1.89 1.89 0 1 0 3.78 0V9.49H1.91a1.897 1.897 0 0 0-1.9 1.89ZM6.63 0a1.89 1.89 0 1 0 0 3.78h1.89v-1.9A1.886 1.886 0 0 0 6.63 0ZM1.89 8.53h4.74a1.89 1.89 0 1 0 0-3.78H1.89a1.89 1.89 0 0 0 0 3.78Zm14.2-3.79a1.895 1.895 0 0 0-1.89 1.89v1.89h1.89a1.89 1.89 0 1 0 0-3.78ZM9.48 1.89v4.74a1.89 1.89 0 1 0 3.78 0V1.89a1.89 1.89 0 1 0-3.78 0Zm3.78 14.22a1.895 1.895 0 0 0-1.89-1.89H9.48v1.89a1.89 1.89 0 1 0 3.78 0Zm2.85-6.62h-4.74a1.89 1.89 0 1 0 0 3.78h4.74a1.89 1.89 0 1 0 0-3.78Z",
30
+ fill: "currentColor"
31
+ })));
32
+
33
+ export { SvgSlackLogo as default };
@@ -0,0 +1,36 @@
1
+ import * as React from 'react';
2
+
3
+ var _path, _path2;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgStackoverflowLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 16,
25
+ height: 19,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ d: "M13.527 17.27V12.19h1.685v6.764H0v-6.763h1.685v5.078h11.842Z",
30
+ fill: "currentColor"
31
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
32
+ d: "m3.546 11.71 8.274 1.73.35-1.664-8.274-1.73-.35 1.664ZM4.64 7.77l7.661 3.568.7-1.532-7.66-3.59-.7 1.554Zm2.123-3.765 6.501 5.407 1.073-1.292-6.501-5.406-1.073 1.291ZM10.966 0 9.609 1.007l5.034 6.785L16 6.785 10.966 0ZM3.37 15.562h8.448v-1.685H3.371v1.685Z",
33
+ fill: "currentColor"
34
+ })));
35
+
36
+ export { SvgStackoverflowLogo as default };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgTwitterLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 24,
25
+ height: 24,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ d: "M13.317 10.775 19.146 4h-1.381l-5.061 5.883L8.662 4H4l6.112 8.896L4 20h1.381l5.344-6.212L14.994 20h4.662l-6.339-9.225zm-1.891 2.199-.62-.886L5.88 5.04H8l3.977 5.688.62.886 5.168 7.393h-2.121l-4.218-6.033z",
30
+ fill: "currentColor"
31
+ })));
32
+
33
+ export { SvgTwitterLogo as default };
@@ -0,0 +1,35 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+
5
+ function _extends() {
6
+ _extends = Object.assign || function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+
20
+ return _extends.apply(this, arguments);
21
+ }
22
+
23
+ const SvgYoutubeLogo = props => /*#__PURE__*/React.createElement("svg", _extends({
24
+ width: 24,
25
+ height: 24,
26
+ fill: "none",
27
+ xmlns: "http://www.w3.org/2000/svg"
28
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
29
+ fillRule: "evenodd",
30
+ clipRule: "evenodd",
31
+ d: "M21.005 5.617c.43.633.702 1.36.795 2.119.124 1.146.191 2.299.2 3.452v1.618a34.375 34.375 0 0 1-.2 3.454 4.808 4.808 0 0 1-.795 2.116 2.772 2.772 0 0 1-2.003.904c-2.8.215-7.002.222-7.002.222s-5.2-.05-6.8-.214a3.27 3.27 0 0 1-2.205-.912 4.8 4.8 0 0 1-.795-2.117 34.354 34.354 0 0 1-.2-3.453v-1.618c.009-1.154.075-2.306.2-3.452.093-.76.365-1.486.795-2.12a2.76 2.76 0 0 1 2.003-.901c2.799-.217 6.997-.217 6.997-.217h.01s4.198 0 6.997.217a2.76 2.76 0 0 1 2.003.902ZM15.755 12 9.501 8.249v7.502L15.754 12Z",
32
+ fill: "currentColor"
33
+ })));
34
+
35
+ export { SvgYoutubeLogo as default };
@@ -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);
@@ -25,7 +25,12 @@
25
25
  }
26
26
 
27
27
  @media (max-width: 472px) {.ktl-layout {
28
- --ktl-layout-width: 316px;
28
+ --ktl-layout-width: 328px;
29
+ }
30
+ }
31
+
32
+ @media (max-width: 374px) {.ktl-layout {
33
+ --ktl-layout-width: 272px;
29
34
  }
30
35
  }
31
36
 
@@ -99,6 +99,14 @@
99
99
  background: var(--ktl-color-primary-light-theme);
100
100
  }
101
101
 
102
+ .ktl-youtube-player-module_play-button_inversed_ENTdT {
103
+ background: #19191C;
104
+ }
105
+
106
+ .ktl-youtube-player-module_play-button_inversed_ENTdT svg {
107
+ fill: #ffffff;
108
+ }
109
+
102
110
  .ktl-youtube-player-module_hide_w9Dr2 {
103
111
  display: none;
104
112
  }
@@ -10,6 +10,7 @@ var YoutubePlayButtonMode;
10
10
  YoutubePlayButtonMode[YoutubePlayButtonMode["White"] = 0] = "White";
11
11
  YoutubePlayButtonMode[YoutubePlayButtonMode["Black"] = 1] = "Black";
12
12
  YoutubePlayButtonMode[YoutubePlayButtonMode["Primary"] = 2] = "Primary";
13
+ YoutubePlayButtonMode[YoutubePlayButtonMode["Inversed"] = 3] = "Inversed";
13
14
  })(YoutubePlayButtonMode || (YoutubePlayButtonMode = {}));
14
15
 
15
16
  var YoutubePlayerMode;
@@ -128,11 +129,13 @@ const YoutubePlayer = ({
128
129
  className: styles.imagePreview
129
130
  }), React__default.createElement("button", {
130
131
  type: "button",
132
+ "aria-label": "Play video",
131
133
  className: classNames(styles.playButton, {
132
134
  [styles.hide]: showVideo && !videoLoading,
133
135
  [styles.playButtonWhite]: playButtonMode === YoutubePlayButtonMode.White,
134
136
  [styles.playButtonBlack]: playButtonMode === YoutubePlayButtonMode.Black,
135
- [styles.playButtonPrimary]: playButtonMode === YoutubePlayButtonMode.Primary
137
+ [styles.playButtonPrimary]: playButtonMode === YoutubePlayButtonMode.Primary,
138
+ [styles.playButtonInversed]: playButtonMode === YoutubePlayButtonMode.Inversed
136
139
  })
137
140
  }, videoLoading ? React__default.createElement(SvgLoading24, {
138
141
  className: styles.iconLoading
@@ -7,6 +7,7 @@ var styles = {
7
7
  "playButtonWhite": "ktl-youtube-player-module_play-button_white_jsj-J",
8
8
  "playButtonBlack": "ktl-youtube-player-module_play-button_black_N4JvM",
9
9
  "playButtonPrimary": "ktl-youtube-player-module_play-button_primary_rk5oW",
10
+ "playButtonInversed": "ktl-youtube-player-module_play-button_inversed_ENTdT",
10
11
  "hide": "ktl-youtube-player-module_hide_w9Dr2",
11
12
  "imagePreview": "ktl-youtube-player-module_image-preview_qXCFf",
12
13
  "showVideo": "ktl-youtube-player-module_show-video_Y1Ri-",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jetbrains/kotlin-web-site-ui",
3
3
  "description": "UI components for Kotlin web sites development",
4
- "version": "4.8.0-dropms.1",
4
+ "version": "4.8.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "files": [