tycho-components 0.14.15 → 0.14.17
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.
|
@@ -5,8 +5,8 @@ import { IconButton } from "tycho-storybook";
|
|
|
5
5
|
import VirtualKeyboard from "../VirtualKeyboard";
|
|
6
6
|
import { useCorpusUtils } from "../configs/useCorpusUtils";
|
|
7
7
|
export default function AppKeyboard({ buttonMode = "filled", keyboardLayout, }) {
|
|
8
|
-
const { t } = useTranslation(
|
|
8
|
+
const { t } = useTranslation("header");
|
|
9
9
|
const { getCorpus } = useCorpusUtils();
|
|
10
10
|
const [openKeyboard, setOpenKeyboard] = useState(false);
|
|
11
|
-
return (_jsxs(_Fragment, { children: [_jsx(IconButton, { onClick: () => setOpenKeyboard(!openKeyboard), name: "keyboard", size: "medium", title: t("tooltip.keyboard"), mode: buttonMode }), openKeyboard && (_jsx(VirtualKeyboard, { onClose: () => setOpenKeyboard(false), closeLabel: t("
|
|
11
|
+
return (_jsxs(_Fragment, { children: [_jsx(IconButton, { onClick: () => setOpenKeyboard(!openKeyboard), name: "keyboard", size: "medium", title: t("tooltip.keyboard"), mode: buttonMode }), openKeyboard && (_jsx(VirtualKeyboard, { onClose: () => setOpenKeyboard(false), closeLabel: t("button.close"), defaultLayout: keyboardLayout || getCorpus().keyboardLayout || "english" }))] }));
|
|
12
12
|
}
|
|
@@ -121,6 +121,7 @@ export declare const commonResources: {
|
|
|
121
121
|
"profile.label.logout": string;
|
|
122
122
|
"profile.label.home": string;
|
|
123
123
|
"button.sign.in": string;
|
|
124
|
+
"button.close": string;
|
|
124
125
|
};
|
|
125
126
|
'header-app': {
|
|
126
127
|
"label.tools": string;
|
|
@@ -389,6 +390,7 @@ export declare const commonResources: {
|
|
|
389
390
|
"profile.label.logout": string;
|
|
390
391
|
"profile.label.home": string;
|
|
391
392
|
"button.sign.in": string;
|
|
393
|
+
"button.close": string;
|
|
392
394
|
};
|
|
393
395
|
'header-app': {
|
|
394
396
|
"label.tools": string;
|
|
@@ -654,6 +656,7 @@ export declare const commonResources: {
|
|
|
654
656
|
"profile.label.logout": string;
|
|
655
657
|
"profile.label.home": string;
|
|
656
658
|
"button.sign.in": string;
|
|
659
|
+
"button.close": string;
|
|
657
660
|
};
|
|
658
661
|
'header-app': {
|
|
659
662
|
"label.tools": string;
|
|
@@ -17,6 +17,7 @@ export declare const HeaderTexts: {
|
|
|
17
17
|
"profile.label.logout": string;
|
|
18
18
|
"profile.label.home": string;
|
|
19
19
|
"button.sign.in": string;
|
|
20
|
+
"button.close": string;
|
|
20
21
|
};
|
|
21
22
|
"pt-BR": {
|
|
22
23
|
"label.platform": string;
|
|
@@ -36,6 +37,7 @@ export declare const HeaderTexts: {
|
|
|
36
37
|
"profile.label.logout": string;
|
|
37
38
|
"profile.label.home": string;
|
|
38
39
|
"button.sign.in": string;
|
|
40
|
+
"button.close": string;
|
|
39
41
|
};
|
|
40
42
|
it: {
|
|
41
43
|
"label.platform": string;
|
|
@@ -55,5 +57,6 @@ export declare const HeaderTexts: {
|
|
|
55
57
|
"profile.label.logout": string;
|
|
56
58
|
"profile.label.home": string;
|
|
57
59
|
"button.sign.in": string;
|
|
60
|
+
"button.close": string;
|
|
58
61
|
};
|
|
59
62
|
};
|
|
@@ -17,6 +17,7 @@ export const HeaderTexts = {
|
|
|
17
17
|
"profile.label.logout": "Logout",
|
|
18
18
|
"profile.label.home": "My profile",
|
|
19
19
|
"button.sign.in": "Sign In",
|
|
20
|
+
"button.close": "Close",
|
|
20
21
|
},
|
|
21
22
|
"pt-BR": {
|
|
22
23
|
"label.platform": "Plataforma Tycho Brahe",
|
|
@@ -36,6 +37,7 @@ export const HeaderTexts = {
|
|
|
36
37
|
"profile.label.logout": "Sair da conta",
|
|
37
38
|
"profile.label.home": "Meu perfil",
|
|
38
39
|
"button.sign.in": "Entrar",
|
|
40
|
+
"button.close": "Fechar",
|
|
39
41
|
},
|
|
40
42
|
it: {
|
|
41
43
|
"label.platform": "Piattaforma Tycho Brahe",
|
|
@@ -55,5 +57,6 @@ export const HeaderTexts = {
|
|
|
55
57
|
"profile.label.logout": "Disconnetti",
|
|
56
58
|
"profile.label.home": "Il mio profilo",
|
|
57
59
|
"button.sign.in": "Accedi",
|
|
60
|
+
"button.close": "Chiudi",
|
|
58
61
|
},
|
|
59
62
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,8 @@ export { default as LanguageSelector } from './LanguageSelector';
|
|
|
76
76
|
export { AvailableLanguages } from './LanguageSelector';
|
|
77
77
|
export type { AvailableLanguage } from './LanguageSelector';
|
|
78
78
|
export { default as Participants } from './Participants';
|
|
79
|
+
export type { default as Participant, ParticipantCreateRequest } from './Participants/types/Participant';
|
|
80
|
+
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
79
81
|
export { default as SentenceView } from './SentenceView';
|
|
80
82
|
export { default as TreeView } from './TreeView';
|
|
81
83
|
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|
package/dist/index.js
CHANGED
|
@@ -57,6 +57,7 @@ export { default as HelpButton } from './Header/HelpButton';
|
|
|
57
57
|
export { default as LanguageSelector } from './LanguageSelector';
|
|
58
58
|
export { AvailableLanguages } from './LanguageSelector';
|
|
59
59
|
export { default as Participants } from './Participants';
|
|
60
|
+
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
60
61
|
export { default as SentenceView } from './SentenceView';
|
|
61
62
|
export { default as TreeView } from './TreeView';
|
|
62
63
|
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|