tycho-components 0.29.11 → 0.29.12

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.
@@ -1,95 +1,95 @@
1
1
  export declare const CommentsTexts: {
2
2
  en: {
3
- 'label.title.comments': string;
4
- 'placeholder.comment.text': string;
5
- 'placeholder.comment.title': string;
6
- 'placeholder.comment.person': string;
7
- 'label.button.add': string;
8
- 'label.button.update': string;
9
- 'label.requested.to': string;
10
- 'label.posted.on': string;
11
- 'placeholder.comments.empty': string;
12
- 'tooltip.edit': string;
13
- 'tooltip.delete': string;
14
- 'tooltip.read': string;
15
- 'tooltip.reply': string;
16
- 'modal.title.footnote': string;
17
- 'placeholder.footnote.text': string;
18
- 'modal.title.footnote.remove': string;
19
- 'modal.text.footnote.remove': string;
20
- 'button.add': string;
21
- 'input.value': string;
22
- 'input.title': string;
23
- 'input.user': string;
24
- 'input.user.reply': string;
25
- 'button.discard': string;
26
- 'notification.title': string;
27
- 'notification.unread': string;
28
- 'notification.all': string;
29
- 'notification.empty': string;
30
- 'notification.text': string;
31
- 'label.edited': string;
3
+ "label.title.comments": string;
4
+ "placeholder.comment.text": string;
5
+ "placeholder.comment.title": string;
6
+ "placeholder.comment.person": string;
7
+ "label.button.add": string;
8
+ "label.button.update": string;
9
+ "label.requested.to": string;
10
+ "label.posted.on": string;
11
+ "placeholder.comments.empty": string;
12
+ "tooltip.edit": string;
13
+ "tooltip.delete": string;
14
+ "tooltip.read": string;
15
+ "tooltip.reply": string;
16
+ "modal.title.footnote": string;
17
+ "placeholder.footnote.text": string;
18
+ "modal.title.footnote.remove": string;
19
+ "modal.text.footnote.remove": string;
20
+ "button.add": string;
21
+ "input.value": string;
22
+ "input.title": string;
23
+ "input.user": string;
24
+ "input.user.reply": string;
25
+ "button.discard": string;
26
+ "notification.title": string;
27
+ "notification.unread": string;
28
+ "notification.all": string;
29
+ "notification.empty": string;
30
+ "notification.text": string;
31
+ "label.edited": string;
32
32
  };
33
- 'pt-BR': {
34
- 'label.title.comments': string;
35
- 'placeholder.comment.text': string;
36
- 'placeholder.comment.title': string;
37
- 'placeholder.comment.person': string;
38
- 'label.button.add': string;
39
- 'label.button.update': string;
40
- 'label.requested.to': string;
41
- 'label.posted.on': string;
42
- 'placeholder.comments.empty': string;
43
- 'tooltip.edit': string;
44
- 'tooltip.delete': string;
45
- 'tooltip.read': string;
46
- 'tooltip.reply': string;
47
- 'modal.title.footnote': string;
48
- 'placeholder.footnote.text': string;
49
- 'modal.title.footnote.remove': string;
50
- 'modal.text.footnote.remove': string;
51
- 'button.add': string;
52
- 'input.value': string;
53
- 'input.title': string;
54
- 'input.user': string;
55
- 'input.user.reply': string;
56
- 'button.discard': string;
57
- 'notification.title': string;
58
- 'notification.unread': string;
59
- 'notification.all': string;
60
- 'notification.empty': string;
61
- 'notification.text': string;
62
- 'label.edited': string;
33
+ "pt-BR": {
34
+ "label.title.comments": string;
35
+ "placeholder.comment.text": string;
36
+ "placeholder.comment.title": string;
37
+ "placeholder.comment.person": string;
38
+ "label.button.add": string;
39
+ "label.button.update": string;
40
+ "label.requested.to": string;
41
+ "label.posted.on": string;
42
+ "placeholder.comments.empty": string;
43
+ "tooltip.edit": string;
44
+ "tooltip.delete": string;
45
+ "tooltip.read": string;
46
+ "tooltip.reply": string;
47
+ "modal.title.footnote": string;
48
+ "placeholder.footnote.text": string;
49
+ "modal.title.footnote.remove": string;
50
+ "modal.text.footnote.remove": string;
51
+ "button.add": string;
52
+ "input.value": string;
53
+ "input.title": string;
54
+ "input.user": string;
55
+ "input.user.reply": string;
56
+ "button.discard": string;
57
+ "notification.title": string;
58
+ "notification.unread": string;
59
+ "notification.all": string;
60
+ "notification.empty": string;
61
+ "notification.text": string;
62
+ "label.edited": string;
63
63
  };
64
64
  it: {
65
- 'label.title.comments': string;
66
- 'placeholder.comment.text': string;
67
- 'placeholder.comment.title': string;
68
- 'placeholder.comment.person': string;
69
- 'label.button.add': string;
70
- 'label.button.update': string;
71
- 'label.requested.to': string;
72
- 'label.posted.on': string;
73
- 'placeholder.comments.empty': string;
74
- 'tooltip.edit': string;
75
- 'tooltip.delete': string;
76
- 'tooltip.read': string;
77
- 'tooltip.reply': string;
78
- 'modal.title.footnote': string;
79
- 'placeholder.footnote.text': string;
80
- 'modal.title.footnote.remove': string;
81
- 'modal.text.footnote.remove': string;
82
- 'button.add': string;
83
- 'input.value': string;
84
- 'input.title': string;
85
- 'input.user': string;
86
- 'input.user.reply': string;
87
- 'button.discard': string;
88
- 'notification.title': string;
89
- 'notification.unread': string;
90
- 'notification.all': string;
91
- 'notification.empty': string;
92
- 'notification.text': string;
93
- 'label.edited': string;
65
+ "label.title.comments": string;
66
+ "placeholder.comment.text": string;
67
+ "placeholder.comment.title": string;
68
+ "placeholder.comment.person": string;
69
+ "label.button.add": string;
70
+ "label.button.update": string;
71
+ "label.requested.to": string;
72
+ "label.posted.on": string;
73
+ "placeholder.comments.empty": string;
74
+ "tooltip.edit": string;
75
+ "tooltip.delete": string;
76
+ "tooltip.read": string;
77
+ "tooltip.reply": string;
78
+ "modal.title.footnote": string;
79
+ "placeholder.footnote.text": string;
80
+ "modal.title.footnote.remove": string;
81
+ "modal.text.footnote.remove": string;
82
+ "button.add": string;
83
+ "input.value": string;
84
+ "input.title": string;
85
+ "input.user": string;
86
+ "input.user.reply": string;
87
+ "button.discard": string;
88
+ "notification.title": string;
89
+ "notification.unread": string;
90
+ "notification.all": string;
91
+ "notification.empty": string;
92
+ "notification.text": string;
93
+ "label.edited": string;
94
94
  };
95
95
  };
@@ -1,95 +1,95 @@
1
1
  export const CommentsTexts = {
2
2
  en: {
3
- 'label.title.comments': 'Comments',
4
- 'placeholder.comment.text': 'Your comment',
5
- 'placeholder.comment.title': 'Title (optional)',
6
- 'placeholder.comment.person': 'Select person',
7
- 'label.button.add': 'Add comment',
8
- 'label.button.update': 'Update comment',
9
- 'label.requested.to': 'Sent to:',
10
- 'label.posted.on': 'Posted on:',
11
- 'placeholder.comments.empty': 'No comments available.',
12
- 'tooltip.edit': 'Edit comment',
13
- 'tooltip.delete': 'Remove comment',
14
- 'tooltip.read': 'Mark as read',
15
- 'tooltip.reply': 'Reply',
16
- 'modal.title.footnote': 'Edit footnote',
17
- 'placeholder.footnote.text': 'Enter footnote',
18
- 'modal.title.footnote.remove': 'Confirm footnote removal',
19
- 'modal.text.footnote.remove': 'Are you sure you want to remove this footnote? This action is irreversible.',
20
- 'button.add': 'Add comment',
21
- 'input.value': 'Comment',
22
- 'input.title': 'Title',
23
- 'input.user': 'Send to users',
24
- 'input.user.reply': 'Reply to users',
25
- 'button.discard': 'Discard',
26
- 'notification.title': 'Notifications',
27
- 'notification.unread': 'Unread',
28
- 'notification.all': 'Read',
29
- 'notification.empty': 'No more notifications',
30
- 'notification.text': '{{user}} added a new comment.',
31
- 'label.edited': 'edited',
3
+ "label.title.comments": "Comments",
4
+ "placeholder.comment.text": "Your comment",
5
+ "placeholder.comment.title": "Title (optional)",
6
+ "placeholder.comment.person": "Select person",
7
+ "label.button.add": "Add comment",
8
+ "label.button.update": "Update comment",
9
+ "label.requested.to": "Sent to:",
10
+ "label.posted.on": "Posted on:",
11
+ "placeholder.comments.empty": "No comments available.",
12
+ "tooltip.edit": "Edit comment",
13
+ "tooltip.delete": "Remove comment",
14
+ "tooltip.read": "Mark as read",
15
+ "tooltip.reply": "Reply",
16
+ "modal.title.footnote": "Edit footnote",
17
+ "placeholder.footnote.text": "Enter footnote",
18
+ "modal.title.footnote.remove": "Confirm footnote removal",
19
+ "modal.text.footnote.remove": "Are you sure you want to remove this footnote? This action is irreversible.",
20
+ "button.add": "Add comment",
21
+ "input.value": "Comment",
22
+ "input.title": "Title",
23
+ "input.user": "Send to users",
24
+ "input.user.reply": "Reply to users",
25
+ "button.discard": "Discard",
26
+ "notification.title": "Notifications",
27
+ "notification.unread": "Unread",
28
+ "notification.all": "Read",
29
+ "notification.empty": "No more notifications",
30
+ "notification.text": "{{user}} added a new comment.",
31
+ "label.edited": "edited",
32
32
  },
33
- 'pt-BR': {
34
- 'label.title.comments': 'Observações',
35
- 'placeholder.comment.text': 'Sua observação',
36
- 'placeholder.comment.title': 'Título (opcional)',
37
- 'placeholder.comment.person': 'Selecione a pessoa',
38
- 'label.button.add': 'Adicionar observação',
39
- 'label.button.update': 'Atualizar observação',
40
- 'label.requested.to': 'Enviado para:',
41
- 'label.posted.on': 'Postado em:',
42
- 'placeholder.comments.empty': 'Nenhuma observação disponível.',
43
- 'tooltip.edit': 'Editar observação',
44
- 'tooltip.delete': 'Remover observação',
45
- 'tooltip.read': 'Marcar como lido',
46
- 'tooltip.reply': 'Responder',
47
- 'modal.title.footnote': 'Editar nota de rodapé',
48
- 'placeholder.footnote.text': 'Entre o texto da nota de rodapé',
49
- 'modal.title.footnote.remove': 'Confirmação de exclusão de nota de rodapé',
50
- 'modal.text.footnote.remove': 'Tem certeza de que deseja remover esta nota de rodapé? Esta ação é irreversível.',
51
- 'button.add': 'Adicionar observação',
52
- 'input.value': 'Comentário',
53
- 'input.title': 'Título',
54
- 'input.user': 'Enviar para usuários',
55
- 'input.user.reply': 'Responder para usuários',
56
- 'button.discard': 'Descartar',
57
- 'notification.title': 'Notificações',
58
- 'notification.unread': 'Não lidas',
59
- 'notification.all': 'Lidas',
60
- 'notification.empty': 'Não há notificações',
61
- 'notification.text': '{{user}} adicionou uma nova observação.',
62
- 'label.edited': 'editado',
33
+ "pt-BR": {
34
+ "label.title.comments": "Comentários",
35
+ "placeholder.comment.text": "Sua comentário",
36
+ "placeholder.comment.title": "Título (opcional)",
37
+ "placeholder.comment.person": "Selecione a pessoa",
38
+ "label.button.add": "Adicionar comentário",
39
+ "label.button.update": "Atualizar comentário",
40
+ "label.requested.to": "Enviado para:",
41
+ "label.posted.on": "Postado em:",
42
+ "placeholder.comments.empty": "Nenhum comentário disponível.",
43
+ "tooltip.edit": "Editar comentário",
44
+ "tooltip.delete": "Remover comentário",
45
+ "tooltip.read": "Marcar como lido",
46
+ "tooltip.reply": "Responder",
47
+ "modal.title.footnote": "Editar nota de rodapé",
48
+ "placeholder.footnote.text": "Entre o texto da nota de rodapé",
49
+ "modal.title.footnote.remove": "Confirmação de exclusão de nota de rodapé",
50
+ "modal.text.footnote.remove": "Tem certeza de que deseja remover esta nota de rodapé? Esta ação é irreversível.",
51
+ "button.add": "Adicionar comentário",
52
+ "input.value": "Comentário",
53
+ "input.title": "Título",
54
+ "input.user": "Enviar para usuários",
55
+ "input.user.reply": "Responder para usuários",
56
+ "button.discard": "Descartar",
57
+ "notification.title": "Notificações",
58
+ "notification.unread": "Não lidas",
59
+ "notification.all": "Lidas",
60
+ "notification.empty": "Não há notificações",
61
+ "notification.text": "{{user}} adicionou um novo comentário.",
62
+ "label.edited": "editado",
63
63
  },
64
64
  it: {
65
- 'label.title.comments': 'Commenti',
66
- 'placeholder.comment.text': 'Il tuo commento',
67
- 'placeholder.comment.title': 'Titolo (facoltativo)',
68
- 'placeholder.comment.person': 'Seleziona persona',
69
- 'label.button.add': 'Aggiungi commento',
70
- 'label.button.update': 'Aggiorna commento',
71
- 'label.requested.to': 'Inviato a:',
72
- 'label.posted.on': 'Pubblicato il:',
73
- 'placeholder.comments.empty': 'Nessun commento disponibile.',
74
- 'tooltip.edit': 'Modifica commento',
75
- 'tooltip.delete': 'Rimuovi commento',
76
- 'tooltip.read': 'Segnala come letto',
77
- 'tooltip.reply': 'Rispondi',
78
- 'modal.title.footnote': 'Modifica nota a piè di pagina',
79
- 'placeholder.footnote.text': 'Inserisci nota a piè di pagina',
80
- 'modal.title.footnote.remove': 'Conferma rimozione nota a piè di pagina',
81
- 'modal.text.footnote.remove': 'Sei sicuro di voler rimuovere questa nota a piè di pagina? Questa azione è irreversibile.',
82
- 'button.add': 'Aggiungi commento',
83
- 'input.value': 'Commento',
84
- 'input.title': 'Titolo',
85
- 'input.user': 'Invia agli utenti',
86
- 'input.user.reply': 'Rispondi agli utenti',
87
- 'button.discard': 'Scarta',
88
- 'notification.title': 'Notifiche',
89
- 'notification.unread': 'Non letto',
90
- 'notification.all': 'Letti',
91
- 'notification.empty': "Nessun'altra notifica",
92
- 'notification.text': "{{user}} ha aggiunto un commento all'inserimento {{entry}}.",
93
- 'label.edited': 'modificato',
65
+ "label.title.comments": "Commenti",
66
+ "placeholder.comment.text": "Il tuo commento",
67
+ "placeholder.comment.title": "Titolo (facoltativo)",
68
+ "placeholder.comment.person": "Seleziona persona",
69
+ "label.button.add": "Aggiungi commento",
70
+ "label.button.update": "Aggiorna commento",
71
+ "label.requested.to": "Inviato a:",
72
+ "label.posted.on": "Pubblicato il:",
73
+ "placeholder.comments.empty": "Nessun commento disponibile.",
74
+ "tooltip.edit": "Modifica commento",
75
+ "tooltip.delete": "Rimuovi commento",
76
+ "tooltip.read": "Segnala come letto",
77
+ "tooltip.reply": "Rispondi",
78
+ "modal.title.footnote": "Modifica nota a piè di pagina",
79
+ "placeholder.footnote.text": "Inserisci nota a piè di pagina",
80
+ "modal.title.footnote.remove": "Conferma rimozione nota a piè di pagina",
81
+ "modal.text.footnote.remove": "Sei sicuro di voler rimuovere questa nota a piè di pagina? Questa azione è irreversibile.",
82
+ "button.add": "Aggiungi commento",
83
+ "input.value": "Commento",
84
+ "input.title": "Titolo",
85
+ "input.user": "Invia agli utenti",
86
+ "input.user.reply": "Rispondi agli utenti",
87
+ "button.discard": "Scarta",
88
+ "notification.title": "Notifiche",
89
+ "notification.unread": "Non letto",
90
+ "notification.all": "Letti",
91
+ "notification.empty": "Nessun'altra notifica",
92
+ "notification.text": "{{user}} ha aggiunto un commento all'inserimento {{entry}}.",
93
+ "label.edited": "modificato",
94
94
  },
95
95
  };
@@ -8,5 +8,5 @@ import './styles.scss';
8
8
  const HeaderNotifications = lazy(() => import('../../../features/Comments/HeaderNotifications'));
9
9
  export default function HeaderButtons({ hideKeyboard, notifications, keyboardLayout, helpActions, mobile, hideNotifications = false, hideLanguageSelector = false, hideHelpButton = false, }) {
10
10
  const { isLogged } = useLoggedUtils();
11
- return (_jsxs("div", { className: "header-buttons", children: [!hideKeyboard && (_jsx(AppKeyboard, { size: "large", keyboardLayout: keyboardLayout, mode: mobile ? 'outlined' : 'filled' })), !hideHelpButton && (_jsx(HelpButton, { helpActions: helpActions, mobile: mobile })), !hideNotifications && notifications && isLogged() && (_jsx(Suspense, { fallback: null, children: _jsx(HeaderNotifications, { uid: notifications.ref, mode: notifications.mode, mobile: mobile }) })), !hideLanguageSelector && (_jsx(LanguageSelector, { openToTop: mobile ? true : false, mobile: mobile }))] }));
11
+ return (_jsxs("div", { className: "header-buttons", children: [_jsx("div", { className: "header-button-keyboard", children: !hideKeyboard && (_jsx(AppKeyboard, { size: "large", keyboardLayout: keyboardLayout, mode: mobile ? 'outlined' : 'filled' })) }), !hideHelpButton && (_jsx(HelpButton, { helpActions: helpActions, mobile: mobile })), !hideNotifications && notifications && isLogged() && (_jsx("div", { className: "header-button-notifications", children: _jsx(Suspense, { fallback: null, children: _jsx(HeaderNotifications, { uid: notifications.ref, mode: notifications.mode, mobile: mobile }) }) })), !hideLanguageSelector && (_jsx(LanguageSelector, { openToTop: mobile ? true : false, mobile: mobile }))] }));
12
12
  }
@@ -5,7 +5,9 @@
5
5
  }
6
6
 
7
7
  @media (max-width: 768px) {
8
- .header-buttons {
8
+ .header-button-keyboard,
9
+ .header-button-notifications,
10
+ .language-container {
9
11
  display: none;
10
12
  }
11
13
  }
@@ -83,3 +83,59 @@
83
83
  }
84
84
  }
85
85
  }
86
+
87
+ @media (max-width: 1366px) {
88
+ .help-modal {
89
+ max-width: 80vw !important;
90
+ width: 80vw !important;
91
+ }
92
+ }
93
+
94
+ @media (max-width: 768px) {
95
+ .help-modal {
96
+ max-width: 90vw !important;
97
+ width: 90vw !important;
98
+ }
99
+ }
100
+
101
+ @media (max-width: 767px) {
102
+ .help-modal {
103
+ top: 50% !important;
104
+ max-width: 90vw !important;
105
+ width: 90vw !important;
106
+
107
+ .body {
108
+ .live-tour {
109
+ flex-direction: column;
110
+ gap: 8px;
111
+
112
+ .tour-content {
113
+ max-width: 100%;
114
+
115
+ > .title {
116
+ @include subtitle-small-2;
117
+ }
118
+
119
+ > .desc {
120
+ @include body-small-1;
121
+ }
122
+ }
123
+
124
+ .app-picture-container > img {
125
+ width: 120px;
126
+ height: 90px;
127
+ }
128
+ }
129
+
130
+ .other-actions {
131
+ display: flex;
132
+ flex-direction: column;
133
+ gap: var(--spacing-200);
134
+
135
+ .item {
136
+ padding: 8px 16px;
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
@@ -75,10 +75,6 @@
75
75
  @include label-medium-2;
76
76
  }
77
77
  }
78
-
79
- .header-right {
80
- display: none;
81
- }
82
78
  }
83
79
  }
84
80
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.29.11",
4
+ "version": "0.29.12",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {