@semcore/wizard 2.53.0 → 16.0.0-prerelease.10
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 +3 -3
- package/lib/cjs/Wizard.js +18 -20
- package/lib/cjs/Wizard.js.map +1 -1
- package/lib/cjs/style/wizard.shadow.css +5 -1
- package/lib/es6/Wizard.js +18 -18
- package/lib/es6/Wizard.js.map +1 -1
- package/lib/es6/style/wizard.shadow.css +5 -1
- package/lib/esm/Wizard.mjs +238 -181
- package/lib/esm/index.mjs +3 -3
- 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 -9
- package/src/Wizard.jsx +5 -5
- package/src/style/wizard.shadow.css +5 -1
|
@@ -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": "
|
|
4
|
+
"version": "16.0.0-prerelease.10",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,16 +14,13 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "
|
|
18
|
-
"@semcore/
|
|
19
|
-
"@semcore/
|
|
20
|
-
"@semcore/
|
|
21
|
-
"@semcore/modal": "4.55.0"
|
|
17
|
+
"@semcore/button": "16.0.0-prerelease.10",
|
|
18
|
+
"@semcore/flex-box": "16.0.0-prerelease.10",
|
|
19
|
+
"@semcore/icon": "16.0.0-prerelease.10",
|
|
20
|
+
"@semcore/modal": "16.0.0-prerelease.10"
|
|
22
21
|
},
|
|
23
22
|
"peerDependencies": {
|
|
24
|
-
"@semcore/
|
|
25
|
-
"react": "16.8 - 18",
|
|
26
|
-
"react-dom": "16.8 - 18"
|
|
23
|
+
"@semcore/base-components": "^16.0.0-prerelease.10"
|
|
27
24
|
},
|
|
28
25
|
"repository": {
|
|
29
26
|
"type": "git",
|
package/src/Wizard.jsx
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import createComponent,
|
|
2
|
+
import { createComponent, Component, Root, sstyled } from '@semcore/core';
|
|
3
3
|
import { Box } from '@semcore/flex-box';
|
|
4
4
|
import Modal from '@semcore/modal';
|
|
5
5
|
import CheckM from '@semcore/icon/Check/m';
|
|
6
|
-
import keyboardFocusEnhance from '@semcore/
|
|
7
|
-
import i18nEnhance from '@semcore/
|
|
6
|
+
import keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';
|
|
7
|
+
import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
8
8
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
9
9
|
import { ScreenReaderOnly } from '@semcore/flex-box';
|
|
10
|
-
import { setFocus } from '@semcore/
|
|
11
|
-
import uniqueIDEnhancement from '@semcore/
|
|
10
|
+
import { setFocus } from '@semcore/core/lib/utils/use/useFocusLock';
|
|
11
|
+
import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
12
12
|
import Button from '@semcore/button';
|
|
13
13
|
import ArrowRight from '@semcore/icon/ArrowRight/m';
|
|
14
14
|
import ArrowLeft from '@semcore/icon/ArrowLeft/m';
|
|
@@ -42,6 +42,10 @@ SStepper {
|
|
|
42
42
|
overflow: auto;
|
|
43
43
|
line-height: var(--intergalactic-lh-200, 142%);
|
|
44
44
|
|
|
45
|
+
&:focus-visible {
|
|
46
|
+
outline-color: var(--intergalactic-keyboard-focus-outline-invert, rgba(255, 255, 255, 0.7));
|
|
47
|
+
}
|
|
48
|
+
|
|
45
49
|
&:hover {
|
|
46
50
|
background: var(--intergalactic-control-primary-advertising-hover, #421983);
|
|
47
51
|
z-index: 1;
|
|
@@ -100,4 +104,4 @@ SContent {
|
|
|
100
104
|
|
|
101
105
|
SSidebarMenu {
|
|
102
106
|
display: contents;
|
|
103
|
-
}
|
|
107
|
+
}
|