@jetbrains/kotlin-web-site-ui 4.7.2 → 4.8.0-alpha.1
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/out/components/footer/footer.js +17 -15
- package/out/components/footer/footer.module.pcss.js +1 -2
- package/out/components/footer/index.css +123 -79
- package/out/components/footer/nav/nav-item.js +1 -1
- package/out/components/footer/social-list/social-data.js +7 -12
- package/out/components/footer/social-list/social-item/social-item.js +8 -4
- package/out/components/footer/social-list/social-item/social-item.module.pcss.js +1 -2
- package/package.json +3 -3
- package/out/components/footer/social-list/svg/github-logo.svg.js +0 -35
- package/out/components/footer/social-list/svg/reddit-logo.svg.js +0 -33
- package/out/components/footer/social-list/svg/slack-logo.svg.js +0 -33
- package/out/components/footer/social-list/svg/stackoverflow-logo.svg.js +0 -36
- package/out/components/footer/social-list/svg/twitter-logo.svg.js +0 -33
- package/out/components/footer/social-list/svg/youtube-logo.svg.js +0 -35
|
@@ -14,7 +14,7 @@ const Footer = ({
|
|
|
14
14
|
const textCn = useTextStyles();
|
|
15
15
|
const theme = useTheme();
|
|
16
16
|
const linkClass = textCn('rs-link', {
|
|
17
|
-
hardness: '
|
|
17
|
+
hardness: 'hard',
|
|
18
18
|
mode: 'clear'
|
|
19
19
|
});
|
|
20
20
|
return React__default.createElement("footer", {
|
|
@@ -22,34 +22,36 @@ const Footer = ({
|
|
|
22
22
|
[styles.footerDarkTheme]: theme === 'dark'
|
|
23
23
|
}),
|
|
24
24
|
ref: forwardedRef
|
|
25
|
+
}, React__default.createElement("div", {
|
|
26
|
+
className: 'ktl-layout ktl-layout--center'
|
|
25
27
|
}, React__default.createElement("div", {
|
|
26
28
|
className: styles.socialListArea
|
|
27
29
|
}, React__default.createElement("div", {
|
|
28
|
-
className: classNames(textCn('rs-
|
|
29
|
-
}, "Stay in touch:"), React__default.createElement(SocialList, null)), React__default.createElement(NavList, {
|
|
30
|
-
className: styles.
|
|
30
|
+
className: classNames(textCn('rs-text-2'), styles.socialListTitle)
|
|
31
|
+
}, "Stay in touch:"), React__default.createElement(SocialList, null)), React__default.createElement(NavList, null), React__default.createElement(Logo, {
|
|
32
|
+
className: styles.logoArea
|
|
31
33
|
}), React__default.createElement("div", {
|
|
32
34
|
className: classNames(textCn('rs-text-3', {
|
|
33
|
-
hardness: '
|
|
35
|
+
hardness: 'hard'
|
|
34
36
|
}), styles.textArea)
|
|
35
37
|
}, React__default.createElement("div", {
|
|
38
|
+
className: styles.motto
|
|
39
|
+
}, "Supported and developed by\u00A0", React__default.createElement("a", {
|
|
40
|
+
className: classNames(linkClass, styles.underlinedLink),
|
|
41
|
+
href: "https://www.jetbrains.com/",
|
|
42
|
+
target: "_blank"
|
|
43
|
+
}, "JetBrains"), "."), React__default.createElement("div", {
|
|
36
44
|
className: styles.copyright
|
|
37
45
|
}, "Kotlin\u2122 is\u00A0protected under the", ' ', React__default.createElement("a", {
|
|
38
46
|
className: classNames(linkClass, styles.underlinedLink),
|
|
39
47
|
href: "https://kotlinlang.org/foundation/kotlin-foundation.html"
|
|
40
|
-
}, "Kotlin\u00A0Foundation"), ' ',
|
|
48
|
+
}, "Kotlin\u00A0Foundation"), ' ', React__default.createElement("br", {
|
|
49
|
+
className: styles.copyrightBreakLine
|
|
50
|
+
}), "and licensed under the", ' ', React__default.createElement("a", {
|
|
41
51
|
className: classNames(linkClass, styles.underlinedLink),
|
|
42
52
|
target: "_blank",
|
|
43
53
|
href: "https://github.com/JetBrains/kotlin-web-site/blob/master/LICENSE"
|
|
44
|
-
}, "Apache 2\u00A0license"), ".")
|
|
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
|
-
}));
|
|
54
|
+
}, "Apache 2\u00A0license"), "."))));
|
|
53
55
|
};
|
|
54
56
|
|
|
55
57
|
export { Footer };
|
|
@@ -4,10 +4,9 @@ var styles = {
|
|
|
4
4
|
"underlinedLink": "ktl-footer-module_underlined-link_G0wkq",
|
|
5
5
|
"socialListArea": "ktl-footer-module_social-list-area_bS3eE",
|
|
6
6
|
"socialListTitle": "ktl-footer-module_social-list-title_HPzIP",
|
|
7
|
-
"navListArea": "ktl-footer-module_nav-list-area_7JJh0",
|
|
8
7
|
"textArea": "ktl-footer-module_text-area_flccc",
|
|
9
8
|
"logoArea": "ktl-footer-module_logo-area_SsNTa",
|
|
10
9
|
"copyright": "ktl-footer-module_copyright_XjtgY",
|
|
11
|
-
"
|
|
10
|
+
"copyrightBreakLine": "ktl-footer-module_copyrightBreakLine_0hI7E"
|
|
12
11
|
};
|
|
13
12
|
export { styles as default };
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
.ktl-social-list-module_social-list_K2Nqu {
|
|
2
2
|
display: grid;
|
|
3
|
-
-moz-column-gap: 18px;
|
|
4
|
-
column-gap: 18px;
|
|
5
3
|
grid-auto-flow: column;
|
|
6
4
|
justify-content: start;
|
|
7
|
-
margin: -6px 0;
|
|
8
5
|
}
|
|
9
6
|
|
|
10
|
-
@media (max-width:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
7
|
+
@media (max-width: 616px) {.ktl-social-list-module_social-list_K2Nqu {
|
|
8
|
+
-moz-column-gap: 16px;
|
|
9
|
+
column-gap: 16px
|
|
10
|
+
}
|
|
15
11
|
}
|
|
16
12
|
|
|
13
|
+
@media (max-width: 472px) {.ktl-social-list-module_social-list_K2Nqu {
|
|
14
|
+
-moz-column-gap: 16px;
|
|
15
|
+
column-gap: 16px;
|
|
16
|
+
grid-template-columns: repeat(3, -webkit-min-content);
|
|
17
|
+
grid-template-columns: repeat(3, min-content);
|
|
18
|
+
grid-auto-flow: row
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
17
24
|
:root {
|
|
18
25
|
--ktl-light-grey: #f4f4f4;
|
|
19
26
|
--ktl-dark-100: rgba(39, 40, 44, 1);
|
|
@@ -51,33 +58,10 @@
|
|
|
51
58
|
}
|
|
52
59
|
|
|
53
60
|
.ktl-social-item-module_social-item_GpKEF {
|
|
54
|
-
width: 36px;
|
|
55
|
-
height: 36px;
|
|
56
|
-
padding: 6px;
|
|
57
61
|
display: flex;
|
|
58
62
|
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
63
|
}
|
|
66
64
|
|
|
67
|
-
.ktl-social-item-module_social-item_GpKEF:hover,
|
|
68
|
-
.ktl-social-item-module_social-item_GpKEF :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_rOJWT {
|
|
74
|
-
color: var(--ktl-color-white-light);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ktl-social-item-module_social-item-dark-theme_rOJWT:hover, .ktl-social-item-module_social-item-dark-theme_rOJWT:focus {
|
|
78
|
-
color: var(--ktl-color-white-light);
|
|
79
|
-
background: rgba(255, 255, 255, 0.1);
|
|
80
|
-
}
|
|
81
65
|
.ktl-nav-list-module_nav-list_-k4np {
|
|
82
66
|
display: flex;
|
|
83
67
|
flex-wrap: wrap;
|
|
@@ -86,6 +70,22 @@
|
|
|
86
70
|
list-style: none;
|
|
87
71
|
}
|
|
88
72
|
|
|
73
|
+
@media (max-width: 616px) {.ktl-nav-list-module_nav-list_-k4np {
|
|
74
|
+
padding: 24px 0;
|
|
75
|
+
margin: 24px 0 0;
|
|
76
|
+
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
|
77
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
78
|
+
display: grid;
|
|
79
|
+
grid-template-columns: 1fr 1fr;
|
|
80
|
+
gap: 24px
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (max-width: 472px) {.ktl-nav-list-module_nav-list_-k4np {
|
|
85
|
+
grid-template-columns: 1fr
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
89
|
:root {
|
|
90
90
|
--ktl-light-grey: #f4f4f4;
|
|
91
91
|
--ktl-dark-100: rgba(39, 40, 44, 1);
|
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
.ktl-nav-item-module_nav-item_isoyN {
|
|
126
126
|
padding-right: 12px;
|
|
127
127
|
margin-right: 12px;
|
|
128
|
+
margin-top: 12px;
|
|
128
129
|
line-height: 32px;
|
|
129
130
|
position: relative;
|
|
130
131
|
}
|
|
@@ -137,7 +138,7 @@
|
|
|
137
138
|
width: 1px;
|
|
138
139
|
height: 12px;
|
|
139
140
|
transform: translateY(-50%);
|
|
140
|
-
background-color: rgba(39, 40, 44, 0.
|
|
141
|
+
background-color: rgba(39, 40, 44, 0.2);
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
.ktl-nav-item-module_nav-item_isoyN:last-child {
|
|
@@ -146,18 +147,30 @@
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
.ktl-nav-item-module_nav-item-dark-theme_FijdH:not(:last-child)::after {
|
|
149
|
-
background-color: rgba(255, 255, 255, 0.
|
|
150
|
+
background-color: rgba(255, 255, 255, 0.2)
|
|
150
151
|
}
|
|
151
152
|
|
|
152
|
-
@media (
|
|
153
|
+
@media (max-width: 616px) {
|
|
153
154
|
.ktl-nav-item-module_nav-item_isoyN {
|
|
154
|
-
|
|
155
|
+
margin: 0;
|
|
156
|
+
padding: 0;
|
|
155
157
|
}
|
|
158
|
+
|
|
159
|
+
.ktl-nav-item-module_nav-item_isoyN:not(:last-child)::after {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
156
162
|
}
|
|
157
163
|
.ktl-logo-module_link_bNecp {
|
|
158
164
|
text-decoration: none;
|
|
165
|
+
height: 60px;
|
|
166
|
+
width: 60px;
|
|
167
|
+
display: block;
|
|
159
168
|
}
|
|
160
169
|
|
|
170
|
+
.ktl-logo-module_link_bNecp:hover {
|
|
171
|
+
text-decoration: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
161
174
|
:root {
|
|
162
175
|
--ktl-light-grey: #f4f4f4;
|
|
163
176
|
--ktl-dark-100: rgba(39, 40, 44, 1);
|
|
@@ -196,17 +209,9 @@
|
|
|
196
209
|
|
|
197
210
|
.ktl-footer-module_footer_m67Up {
|
|
198
211
|
background: var(--ktl-light-grey);
|
|
199
|
-
padding:
|
|
212
|
+
padding: 72px 0;
|
|
200
213
|
min-width: 320px;
|
|
201
214
|
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
215
|
font-family: var(--ktl-font-family-inter);
|
|
211
216
|
text-rendering:optimizeLegibility;
|
|
212
217
|
-webkit-font-smoothing:antialiased;
|
|
@@ -222,69 +227,108 @@
|
|
|
222
227
|
}
|
|
223
228
|
|
|
224
229
|
.ktl-footer-module_social-list-area_bS3eE {
|
|
225
|
-
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
226
232
|
}
|
|
227
233
|
|
|
228
234
|
.ktl-footer-module_social-list-title_HPzIP {
|
|
229
|
-
margin-
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.ktl-footer-module_nav-list-area_7JJh0 {
|
|
233
|
-
grid-area: nav-list;
|
|
234
|
-
margin: 24px 0 32px;
|
|
235
|
+
margin-right: 8px;
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
.ktl-footer-module_text-area_flccc {
|
|
238
|
-
|
|
239
|
+
margin-top: 8px;
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
.ktl-footer-module_logo-area_SsNTa {
|
|
242
|
-
|
|
243
|
+
margin-top: 72px;
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
.ktl-footer-module_copyright_XjtgY {
|
|
246
247
|
display: inline;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
|
-
.ktl-footer-module_motto_SiU1V {
|
|
250
|
-
display: inline;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
250
|
.ktl-footer-module_underlined-link_G0wkq {
|
|
254
251
|
border-color: var(--ktl-light-dark-20);
|
|
255
252
|
}
|
|
256
253
|
|
|
257
|
-
|
|
254
|
+
.ktl-footer-module_copyrightBreakLine_0hI7E {
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media (max-width: 808px) {
|
|
258
259
|
.ktl-footer-module_footer_m67Up {
|
|
259
|
-
padding:
|
|
260
|
-
grid-template-columns: auto 60px;
|
|
261
|
-
grid-template-areas:
|
|
262
|
-
'social-list logo'
|
|
263
|
-
'nav-list logo'
|
|
264
|
-
'text text';
|
|
260
|
+
padding: 48px 0;
|
|
265
261
|
}
|
|
262
|
+
}
|
|
266
263
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
264
|
+
@media (max-width: 616px) {
|
|
265
|
+
.ktl-footer-module_social-list-area_bS3eE {
|
|
266
|
+
display: block;
|
|
270
267
|
}
|
|
271
268
|
|
|
272
|
-
.ktl-footer-
|
|
273
|
-
margin-
|
|
274
|
-
text-align: right;
|
|
269
|
+
.ktl-footer-module_logo-area_SsNTa {
|
|
270
|
+
margin-top: 24px;
|
|
275
271
|
}
|
|
276
272
|
|
|
277
|
-
.ktl-footer-
|
|
278
|
-
display:
|
|
279
|
-
align-items: center;
|
|
273
|
+
.ktl-footer-module_copyrightBreakLine_0hI7E {
|
|
274
|
+
display: inline;
|
|
280
275
|
}
|
|
276
|
+
}
|
|
281
277
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
278
|
+
@media (max-width: 472px) {
|
|
279
|
+
.ktl-footer-module_footer_m67Up {
|
|
280
|
+
padding: 24px 0;
|
|
285
281
|
}
|
|
282
|
+
}
|
|
283
|
+
.ktl-layout {
|
|
284
|
+
--ktl-layout-spacing: 72px;
|
|
285
|
+
--ktl-layout-width: 1144px;
|
|
286
|
+
}
|
|
286
287
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
@media (max-width: 1190px) {.ktl-layout {
|
|
289
|
+
--ktl-layout-width: 952px;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@media (max-width: 1000px) {.ktl-layout {
|
|
294
|
+
--ktl-layout-spacing: 48px;
|
|
295
|
+
--ktl-layout-width: 760px;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@media (max-width: 808px) {.ktl-layout {
|
|
300
|
+
--ktl-layout-width: 568px;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@media (max-width: 616px) {.ktl-layout {
|
|
305
|
+
--ktl-layout-width: 424px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@media (max-width: 472px) {.ktl-layout {
|
|
310
|
+
--ktl-layout-width: 328px;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
@media (max-width: 374px) {.ktl-layout {
|
|
315
|
+
--ktl-layout-width: 272px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.ktl-layout {
|
|
320
|
+
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
width: var(--ktl-layout-width);
|
|
323
|
+
|
|
324
|
+
transition: width 200ms;
|
|
325
|
+
will-change: width;
|
|
290
326
|
}
|
|
327
|
+
.ktl-layout--center {
|
|
328
|
+
margin-left: auto;
|
|
329
|
+
margin-right: auto;
|
|
330
|
+
}
|
|
331
|
+
.ktl-layout--spacing {
|
|
332
|
+
margin-top: var(--ktl-layout-spacing);
|
|
333
|
+
margin-bottom: var(--ktl-layout-spacing);
|
|
334
|
+
}
|
|
@@ -1,38 +1,33 @@
|
|
|
1
|
-
import
|
|
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';
|
|
1
|
+
import { GitHubIcon, TwitterIcon, SlackIcon, RedditIcon, StackOverflowIcon, YoutubeIcon } from '@rescui/icons';
|
|
7
2
|
const socialList = [{
|
|
8
3
|
url: 'https://github.com/JetBrains/kotlin',
|
|
9
4
|
title: 'Kotlin on GitHub',
|
|
10
5
|
logoAlt: 'GitHub logo',
|
|
11
|
-
icon:
|
|
6
|
+
icon: GitHubIcon
|
|
12
7
|
}, {
|
|
13
8
|
url: 'https://twitter.com/kotlin',
|
|
14
9
|
title: 'Kotlin on Twitter',
|
|
15
10
|
logoAlt: 'Twitter logo',
|
|
16
|
-
icon:
|
|
11
|
+
icon: TwitterIcon
|
|
17
12
|
}, {
|
|
18
13
|
url: 'https://surveys.jetbrains.com/s3/kotlin-slack-sign-up',
|
|
19
14
|
title: 'Kotlin Slack',
|
|
20
15
|
logoAlt: 'Slack logo',
|
|
21
|
-
icon:
|
|
16
|
+
icon: SlackIcon
|
|
22
17
|
}, {
|
|
23
18
|
url: 'https://www.reddit.com/r/Kotlin/',
|
|
24
19
|
title: 'Kotlin on Reddit',
|
|
25
20
|
logoAlt: 'Reddit logo',
|
|
26
|
-
icon:
|
|
21
|
+
icon: RedditIcon
|
|
27
22
|
}, {
|
|
28
23
|
url: 'https://stackoverflow.com/questions/tagged/kotlin',
|
|
29
24
|
title: 'Kotlin on Stack Overflow',
|
|
30
25
|
logoAlt: 'Stack Overflow logo',
|
|
31
|
-
icon:
|
|
26
|
+
icon: StackOverflowIcon
|
|
32
27
|
}, {
|
|
33
28
|
url: 'https://www.youtube.com/channel/UCP7uiEZIqci43m22KDl0sNw',
|
|
34
29
|
title: 'Kotlin on YouTube',
|
|
35
30
|
logoAlt: 'YouTube logo',
|
|
36
|
-
icon:
|
|
31
|
+
icon: YoutubeIcon
|
|
37
32
|
}];
|
|
38
33
|
export { socialList };
|
|
@@ -2,20 +2,24 @@ import React__default from 'react';
|
|
|
2
2
|
import { useTheme } from '@rescui/ui-contexts';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './social-item.module.pcss.js';
|
|
5
|
+
import { Button } from '@rescui/button';
|
|
5
6
|
|
|
6
7
|
const SocialItem = ({
|
|
7
8
|
socialNetwork
|
|
8
9
|
}) => {
|
|
9
10
|
const SocialIcon = socialNetwork.icon;
|
|
10
11
|
const theme = useTheme();
|
|
11
|
-
return React__default.createElement(
|
|
12
|
+
return React__default.createElement(Button, {
|
|
13
|
+
mode: 'clear',
|
|
14
|
+
size: 'l',
|
|
12
15
|
target: "_blank",
|
|
16
|
+
href: socialNetwork.url,
|
|
17
|
+
title: socialNetwork.title,
|
|
13
18
|
className: classNames(styles.socialItem, {
|
|
14
19
|
[styles.socialItemDarkTheme]: theme === 'dark'
|
|
15
20
|
}),
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, React__default.createElement(SocialIcon, null));
|
|
21
|
+
icon: React__default.createElement(SocialIcon, null)
|
|
22
|
+
});
|
|
19
23
|
};
|
|
20
24
|
|
|
21
25
|
export { SocialItem };
|
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.
|
|
4
|
+
"version": "4.8.0-alpha.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
7
7
|
"files": [
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@babel/preset-typescript": "^7.13.0",
|
|
49
49
|
"@babel/register": "^7.11.5",
|
|
50
50
|
"@react-hook/resize-observer": "^1.2.5",
|
|
51
|
-
"@rescui/button": "^0.
|
|
51
|
+
"@rescui/button": "^0.9.4",
|
|
52
52
|
"@rescui/checkbox": "^0.1.0",
|
|
53
53
|
"@rescui/focus-manager": "^0.1.1",
|
|
54
|
-
"@rescui/icons": "^0.
|
|
54
|
+
"@rescui/icons": "^0.12.0",
|
|
55
55
|
"@rescui/input": "^0.4.6",
|
|
56
56
|
"@rescui/switcher": "^0.2.2",
|
|
57
57
|
"@rescui/tooltip": "^0.1.2",
|
|
@@ -1,35 +0,0 @@
|
|
|
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 };
|
|
@@ -1,33 +0,0 @@
|
|
|
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 };
|
|
@@ -1,33 +0,0 @@
|
|
|
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 };
|
|
@@ -1,36 +0,0 @@
|
|
|
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 };
|
|
@@ -1,33 +0,0 @@
|
|
|
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: 20,
|
|
25
|
-
height: 17,
|
|
26
|
-
fill: "none",
|
|
27
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28
|
-
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M6.29 16.25A11.59 11.59 0 0 0 18 4.58v-.53a8.3 8.3 0 0 0 2-2.13 8.36 8.36 0 0 1-2.36.65A4.16 4.16 0 0 0 19.45.3a8.19 8.19 0 0 1-2.61 1 4.11 4.11 0 0 0-7 3.75A11.7 11.7 0 0 1 1.39.75a4.11 4.11 0 0 0 1.27 5.48A4.06 4.06 0 0 1 .8 5.71a4.11 4.11 0 0 0 3.29 4 4.13 4.13 0 0 1-1.85.07 4.12 4.12 0 0 0 3.83 2.85A8.25 8.25 0 0 1 1 14.47a7.94 7.94 0 0 1-1-.06 11.69 11.69 0 0 0 6.29 1.84Z",
|
|
30
|
-
fill: "currentColor"
|
|
31
|
-
})));
|
|
32
|
-
|
|
33
|
-
export { SvgTwitterLogo as default };
|
|
@@ -1,35 +0,0 @@
|
|
|
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 };
|