@raketa-builder/builder 0.11.1 → 0.12.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.
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +12 -12
- package/dist/index.js +11 -11
- package/package.json +1 -1
- package/src/EmbeddedVideo.js +11 -4
- package/src/lib/AdminWidgetLabel.js +1 -1
- package/src/lib/AdminWidgetToolbar.js +1 -1
- package/src/lib/LanguageSwitcher.js +3 -3
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
$ TIMING=1 eslint "**/*.js"
|
|
2
|
-
Rule
|
|
3
|
-
|
|
4
|
-
react/display-name
|
|
5
|
-
react/no-direct-mutation-state
|
|
6
|
-
react/require-render-return
|
|
7
|
-
|
|
8
|
-
react/no-
|
|
9
|
-
react-hooks/rules-of-hooks
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
react/jsx-no-comment-textnodes
|
|
13
|
-
|
|
2
|
+
Rule | Time (ms) | Relative
|
|
3
|
+
:---------------------------------|----------:|--------:
|
|
4
|
+
react/display-name | 86.473 | 28.1%
|
|
5
|
+
react/no-direct-mutation-state | 79.777 | 25.9%
|
|
6
|
+
react/require-render-return | 61.222 | 19.9%
|
|
7
|
+
react/no-deprecated | 15.966 | 5.2%
|
|
8
|
+
react/no-string-refs | 9.252 | 3.0%
|
|
9
|
+
react-hooks/rules-of-hooks | 8.985 | 2.9%
|
|
10
|
+
jsx-a11y/role-supports-aria-props | 4.664 | 1.5%
|
|
11
|
+
react/no-unescaped-entities | 4.425 | 1.4%
|
|
12
|
+
react/jsx-no-comment-textnodes | 4.237 | 1.4%
|
|
13
|
+
react-hooks/exhaustive-deps | 4.217 | 1.4%
|
package/dist/index.js
CHANGED
|
@@ -572,7 +572,7 @@ var require_dist = __commonJS({
|
|
|
572
572
|
right: 0;
|
|
573
573
|
bottom: 0;
|
|
574
574
|
left: 0;
|
|
575
|
-
z-index:
|
|
575
|
+
z-index: 11;
|
|
576
576
|
background-color: rgba(0, 0, 0, 0.6);
|
|
577
577
|
cursor: pointer;
|
|
578
578
|
`;
|
|
@@ -583,7 +583,7 @@ var require_dist = __commonJS({
|
|
|
583
583
|
right: 0;
|
|
584
584
|
bottom: 0;
|
|
585
585
|
left: 0;
|
|
586
|
-
z-index:
|
|
586
|
+
z-index: 12;
|
|
587
587
|
display: flex;
|
|
588
588
|
justify-content: center;
|
|
589
589
|
align-items: center;
|
|
@@ -614,7 +614,7 @@ var require_dist = __commonJS({
|
|
|
614
614
|
${buttonReset_default};
|
|
615
615
|
position: relative;
|
|
616
616
|
right: -4px;
|
|
617
|
-
z-index:
|
|
617
|
+
z-index: 13;
|
|
618
618
|
width: 2em;
|
|
619
619
|
height: 2em;
|
|
620
620
|
margin: 0;
|
|
@@ -930,7 +930,7 @@ var require_dist = __commonJS({
|
|
|
930
930
|
var LanguageSwitcherMenu2 = import_styled_components24.default.div`
|
|
931
931
|
${reset_default};
|
|
932
932
|
position: absolute;
|
|
933
|
-
z-index:
|
|
933
|
+
z-index: 9;
|
|
934
934
|
left: -1000px;
|
|
935
935
|
display: flex;
|
|
936
936
|
flex-wrap: nowrap;
|
|
@@ -986,7 +986,7 @@ var require_dist = __commonJS({
|
|
|
986
986
|
bottom: 0;
|
|
987
987
|
left: 0;
|
|
988
988
|
right: 0;
|
|
989
|
-
z-index:
|
|
989
|
+
z-index: 3;
|
|
990
990
|
|
|
991
991
|
color: ${(props) => props.theme.colors.trueWhite};
|
|
992
992
|
font-weight: 700;
|
|
@@ -1000,7 +1000,7 @@ var require_dist = __commonJS({
|
|
|
1000
1000
|
var LanguageSwitcherCurrent2 = import_styled_components24.default.div`
|
|
1001
1001
|
${reset_default};
|
|
1002
1002
|
position: relative;
|
|
1003
|
-
z-index:
|
|
1003
|
+
z-index: 10;
|
|
1004
1004
|
display: flex;
|
|
1005
1005
|
justify-content: center;
|
|
1006
1006
|
align-items: center;
|
|
@@ -1199,7 +1199,7 @@ var AdminWidgetToolbar = import_styled_components2.default.div`
|
|
|
1199
1199
|
position: absolute;
|
|
1200
1200
|
top: ${(props) => props.theme.font.base};
|
|
1201
1201
|
left: ${(props) => props.theme.font.base};
|
|
1202
|
-
z-index:
|
|
1202
|
+
z-index: 9;
|
|
1203
1203
|
`;
|
|
1204
1204
|
var AdminWidgetToolbar_default = AdminWidgetToolbar;
|
|
1205
1205
|
|
|
@@ -1211,7 +1211,7 @@ var AdminWidgetLabel = import_styled_components3.default.div`
|
|
|
1211
1211
|
position: absolute;
|
|
1212
1212
|
top: ${(props) => props.theme.font.base};
|
|
1213
1213
|
right: ${(props) => props.theme.font.base};
|
|
1214
|
-
z-index:
|
|
1214
|
+
z-index: 9;
|
|
1215
1215
|
display: none;
|
|
1216
1216
|
padding: 4px 12px;
|
|
1217
1217
|
border-radius: 16px;
|
|
@@ -1616,7 +1616,7 @@ var LanguageSwitcherWrapper = import_styled_components6.default.div`
|
|
|
1616
1616
|
var LanguageSwitcherMenu = import_styled_components6.default.div`
|
|
1617
1617
|
${import_ui4.reset};
|
|
1618
1618
|
position: absolute;
|
|
1619
|
-
z-index:
|
|
1619
|
+
z-index: 9;
|
|
1620
1620
|
left: -1000px;
|
|
1621
1621
|
display: flex;
|
|
1622
1622
|
flex-wrap: nowrap;
|
|
@@ -1679,7 +1679,7 @@ var LanguageSwitcherNewItem = import_styled_components6.default.div`
|
|
|
1679
1679
|
bottom: 0;
|
|
1680
1680
|
left: 0;
|
|
1681
1681
|
right: 0;
|
|
1682
|
-
z-index:
|
|
1682
|
+
z-index: 3;
|
|
1683
1683
|
display: flex;
|
|
1684
1684
|
justify-content: center;
|
|
1685
1685
|
align-items: center;
|
|
@@ -1697,7 +1697,7 @@ var LanguageSwitcherNewItem = import_styled_components6.default.div`
|
|
|
1697
1697
|
var LanguageSwitcherCurrent = import_styled_components6.default.div`
|
|
1698
1698
|
${import_ui4.reset};
|
|
1699
1699
|
position: relative;
|
|
1700
|
-
z-index:
|
|
1700
|
+
z-index: 10;
|
|
1701
1701
|
display: flex;
|
|
1702
1702
|
justify-content: center;
|
|
1703
1703
|
align-items: center;
|
package/package.json
CHANGED
package/src/EmbeddedVideo.js
CHANGED
|
@@ -70,11 +70,18 @@ const videoType = (url) => {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
const youtubeId = (url) => {
|
|
73
|
-
|
|
73
|
+
let matches = url.match(
|
|
74
74
|
/(youtu\.be\/|youtube\.com\/(watch\?(.*&)?v=|(embed|v)\/))([^\?&"'>]+)/
|
|
75
|
-
)
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
if (matches && matches[5]) {
|
|
78
|
+
return matches[5]
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
matches = url.match(/youtu\.be\/|youtube\.com\/shorts\/(?<id>.*)(\?.*)?/)
|
|
82
|
+
|
|
83
|
+
return matches?.groups?.id || ''
|
|
84
|
+
}
|
|
78
85
|
|
|
79
86
|
const vimeoId = (url) => {
|
|
80
87
|
const matches = url.match(/http(s?):\/\/(www\.)?vimeo\.com\/(\d+)($|\/)/);
|
|
@@ -25,7 +25,7 @@ const LanguageSwitcherWrapper = styled.div`
|
|
|
25
25
|
const LanguageSwitcherMenu = styled.div`
|
|
26
26
|
${reset};
|
|
27
27
|
position: absolute;
|
|
28
|
-
z-index:
|
|
28
|
+
z-index: 9;
|
|
29
29
|
left: -1000px;
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-wrap: nowrap;
|
|
@@ -90,7 +90,7 @@ const LanguageSwitcherNewItem = styled.div`
|
|
|
90
90
|
bottom: 0;
|
|
91
91
|
left: 0;
|
|
92
92
|
right: 0;
|
|
93
|
-
z-index:
|
|
93
|
+
z-index: 3;
|
|
94
94
|
display: flex;
|
|
95
95
|
justify-content: center;
|
|
96
96
|
align-items: center;
|
|
@@ -109,7 +109,7 @@ const LanguageSwitcherNewItem = styled.div`
|
|
|
109
109
|
const LanguageSwitcherCurrent = styled.div`
|
|
110
110
|
${reset};
|
|
111
111
|
position: relative;
|
|
112
|
-
z-index:
|
|
112
|
+
z-index: 10;
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: center;
|
|
115
115
|
align-items: center;
|