@semcore/wizard 16.0.0-prerelease.2 → 16.0.0-prerelease.21
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/CHANGELOG.md +35 -1
- package/lib/cjs/Wizard.js +15 -13
- package/lib/cjs/Wizard.js.map +1 -1
- package/lib/cjs/style/wizard.shadow.css +5 -4
- package/lib/es6/Wizard.js +15 -13
- package/lib/es6/Wizard.js.map +1 -1
- package/lib/es6/style/wizard.shadow.css +5 -4
- package/lib/esm/Wizard.mjs +242 -181
- package/lib/esm/index.mjs +3 -3
- package/lib/esm/style/wizard.shadow.css +108 -0
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
- package/lib/esm/translations/de.json.mjs +11 -8
- package/lib/esm/translations/en.json.mjs +11 -8
- package/lib/esm/translations/es.json.mjs +11 -8
- package/lib/esm/translations/fr.json.mjs +11 -8
- package/lib/esm/translations/it.json.mjs +11 -8
- package/lib/esm/translations/ja.json.mjs +11 -8
- package/lib/esm/translations/ko.json.mjs +11 -8
- package/lib/esm/translations/nl.json.mjs +11 -8
- package/lib/esm/translations/pl.json.mjs +11 -8
- package/lib/esm/translations/pt.json.mjs +11 -8
- package/lib/esm/translations/sv.json.mjs +11 -8
- package/lib/esm/translations/tr.json.mjs +11 -8
- package/lib/esm/translations/vi.json.mjs +11 -8
- package/lib/esm/translations/zh.json.mjs +11 -8
- package/package.json +6 -6
- package/src/style/wizard.shadow.css +5 -4
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
var
|
|
16
|
-
de
|
|
17
|
-
en
|
|
18
|
-
es
|
|
19
|
-
fr
|
|
20
|
-
it
|
|
21
|
-
ja
|
|
22
|
-
ko
|
|
23
|
-
nl
|
|
24
|
-
pt
|
|
25
|
-
tr
|
|
26
|
-
vi
|
|
27
|
-
zh
|
|
28
|
-
pl
|
|
29
|
-
sv
|
|
1
|
+
import de from "./de.json.mjs";
|
|
2
|
+
import en from "./en.json.mjs";
|
|
3
|
+
import es from "./es.json.mjs";
|
|
4
|
+
import fr from "./fr.json.mjs";
|
|
5
|
+
import it from "./it.json.mjs";
|
|
6
|
+
import ja from "./ja.json.mjs";
|
|
7
|
+
import ko from "./ko.json.mjs";
|
|
8
|
+
import nl from "./nl.json.mjs";
|
|
9
|
+
import pt from "./pt.json.mjs";
|
|
10
|
+
import tr from "./tr.json.mjs";
|
|
11
|
+
import vi from "./vi.json.mjs";
|
|
12
|
+
import zh from "./zh.json.mjs";
|
|
13
|
+
import pl from "./pl.json.mjs";
|
|
14
|
+
import sv from "./sv.json.mjs";
|
|
15
|
+
var localizedMessages = {
|
|
16
|
+
de,
|
|
17
|
+
en,
|
|
18
|
+
es,
|
|
19
|
+
fr,
|
|
20
|
+
it,
|
|
21
|
+
ja,
|
|
22
|
+
ko,
|
|
23
|
+
nl,
|
|
24
|
+
pt,
|
|
25
|
+
tr,
|
|
26
|
+
vi,
|
|
27
|
+
zh,
|
|
28
|
+
pl,
|
|
29
|
+
sv
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
localizedMessages
|
|
33
33
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Abgeschlossener Schritt";
|
|
2
|
+
const backButton = "Zurück zu {buttonName}";
|
|
3
|
+
const nextButton = "Weiter zu {buttonName}";
|
|
4
|
+
const de = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
de as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Completed step";
|
|
2
|
+
const backButton = "Back to {buttonName}";
|
|
3
|
+
const nextButton = "Go to {buttonName}";
|
|
4
|
+
const en = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
en as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Paso completado";
|
|
2
|
+
const backButton = "Volver a {buttonName}";
|
|
3
|
+
const nextButton = "Continuar a {buttonName}";
|
|
4
|
+
const es = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
es as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Étape terminée";
|
|
2
|
+
const backButton = "Retour à {buttonName}";
|
|
3
|
+
const nextButton = "Continuer vers {buttonName}";
|
|
4
|
+
const fr = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
fr as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Fase completata";
|
|
2
|
+
const backButton = "Torna a {buttonName}";
|
|
3
|
+
const nextButton = "Continua a {buttonName}";
|
|
4
|
+
const it = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
it as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "完成したステップ";
|
|
2
|
+
const backButton = "{buttonName}に戻る";
|
|
3
|
+
const nextButton = "{buttonName} に移動";
|
|
4
|
+
const ja = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
ja as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "단계 완료됨";
|
|
2
|
+
const backButton = "{buttonName} 단계로 돌아가기";
|
|
3
|
+
const nextButton = "{buttonName}로 계속";
|
|
4
|
+
const ko = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
ko as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Voltooide stap";
|
|
2
|
+
const backButton = "Terug naar {buttonName}";
|
|
3
|
+
const nextButton = "Door naar {buttonName}";
|
|
4
|
+
const nl = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
nl as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Ukończony krok";
|
|
2
|
+
const backButton = "Wróć do: {buttonName}";
|
|
3
|
+
const nextButton = "Dalej do: {buttonName}";
|
|
4
|
+
const pl = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
pl as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Etapa concluída";
|
|
2
|
+
const backButton = "Voltar para {buttonName}";
|
|
3
|
+
const nextButton = "Continuar para {buttonName}";
|
|
4
|
+
const pt = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
pt as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Genomfört steg";
|
|
2
|
+
const backButton = "Tillbaka till {buttonName}";
|
|
3
|
+
const nextButton = "Fortsätt till {buttonName}";
|
|
4
|
+
const sv = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
sv as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Tamamlanan adım";
|
|
2
|
+
const backButton = "Geri dön{buttonName}";
|
|
3
|
+
const nextButton = "{buttonName} adresine devam edin";
|
|
4
|
+
const tr = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
tr as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "Bước đã hoàn thành";
|
|
2
|
+
const backButton = "Quay lại {buttonName}";
|
|
3
|
+
const nextButton = "Tiếp tục đến {buttonName}";
|
|
4
|
+
const vi = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
vi as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const completedStep = "已完成的步骤";
|
|
2
|
+
const backButton = "返回到{buttonName}";
|
|
3
|
+
const nextButton = "继续到 {buttonName}";
|
|
4
|
+
const zh = {
|
|
5
|
+
completedStep,
|
|
6
|
+
backButton,
|
|
7
|
+
nextButton
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
backButton,
|
|
11
|
+
completedStep,
|
|
12
|
+
zh as default,
|
|
13
|
+
nextButton
|
|
11
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/wizard",
|
|
3
3
|
"description": "Semrush Wizard Component",
|
|
4
|
-
"version": "16.0.0-prerelease.
|
|
4
|
+
"version": "16.0.0-prerelease.21",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "16.0.0-prerelease.
|
|
18
|
-
"@semcore/flex-box": "16.0.0-prerelease.
|
|
19
|
-
"@semcore/icon": "16.0.0-prerelease.
|
|
20
|
-
"@semcore/modal": "16.0.0-prerelease.
|
|
17
|
+
"@semcore/button": "16.0.0-prerelease.21",
|
|
18
|
+
"@semcore/flex-box": "16.0.0-prerelease.21",
|
|
19
|
+
"@semcore/icon": "16.0.0-prerelease.21",
|
|
20
|
+
"@semcore/modal": "16.0.0-prerelease.21"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@semcore/base-components": "^16.0.0-prerelease.
|
|
23
|
+
"@semcore/base-components": "^16.0.0-prerelease.21"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -12,15 +12,14 @@ SSidebar {
|
|
|
12
12
|
font-weight: var(--intergalactic-bold, 700);
|
|
13
13
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
14
14
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
15
|
-
padding: var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-2x, 8px)
|
|
16
|
-
calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px));
|
|
15
|
+
padding: var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-2x, 8px);
|
|
17
16
|
max-width: 220px;
|
|
18
17
|
flex-shrink: 0;
|
|
19
18
|
box-sizing: border-box;
|
|
20
19
|
border-radius: var(--intergalactic-modal-rounded, 12px) 0 0
|
|
21
20
|
var(--intergalactic-modal-rounded, 12px);
|
|
22
21
|
@media (max-width: 1060px) {
|
|
23
|
-
width:
|
|
22
|
+
width: 56px;
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
|
|
@@ -34,6 +33,7 @@ SSidebarHeader {
|
|
|
34
33
|
|
|
35
34
|
SStepper {
|
|
36
35
|
display: flex;
|
|
36
|
+
gap: var(--intergalactic-spacing-1x, 4px);
|
|
37
37
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
38
38
|
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
39
39
|
padding: var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-3x, 12px);
|
|
@@ -61,7 +61,7 @@ SStepper {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@media (max-width: 1060px) {
|
|
64
|
-
padding: var(--intergalactic-spacing-2x, 8px)
|
|
64
|
+
padding: var(--intergalactic-spacing-2x, 8px);
|
|
65
65
|
&:hover {
|
|
66
66
|
width: fit-content;
|
|
67
67
|
max-width: 220px;
|
|
@@ -81,6 +81,7 @@ SStepper {
|
|
|
81
81
|
SStepNumber {
|
|
82
82
|
display: inline-block;
|
|
83
83
|
min-width: 20px;
|
|
84
|
+
text-align: center;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
SCompleted {
|