@memori.ai/memori-react 6.5.2 → 6.5.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [6.5.3](https://github.com/memori-ai/memori-react/compare/v6.5.2...v6.5.3) (2024-06-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * show consecutive br in msg ([38ac194](https://github.com/memori-ai/memori-react/commit/38ac194fd4da7af005be8d4913f67785a746c9b5))
9
+
3
10
  ## [6.5.2](https://github.com/memori-ai/memori-react/compare/v6.5.1...v6.5.2) (2024-05-17)
4
11
 
5
12
 
@@ -76,8 +76,7 @@
76
76
  margin: 1em 0;
77
77
  }
78
78
 
79
- .memori-chat--bubble ul br,
80
- .memori-chat--bubble br+br {
79
+ .memori-chat--bubble ul br {
81
80
  display: none;
82
81
  }
83
82
 
@@ -270,4 +269,4 @@
270
269
  30% {
271
270
  transform: translateY(-10px);
272
271
  }
273
- }
272
+ }
@@ -76,8 +76,7 @@
76
76
  margin: 1em 0;
77
77
  }
78
78
 
79
- .memori-chat--bubble ul br,
80
- .memori-chat--bubble br+br {
79
+ .memori-chat--bubble ul br {
81
80
  display: none;
82
81
  }
83
82
 
@@ -270,4 +269,4 @@
270
269
  30% {
271
270
  transform: translateY(-10px);
272
271
  }
273
- }
272
+ }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.5.2",
2
+ "version": "6.5.3",
3
3
  "name": "@memori.ai/memori-react",
4
4
  "author": "Memori Srl",
5
5
  "main": "dist/index.js",
@@ -76,8 +76,7 @@
76
76
  margin: 1em 0;
77
77
  }
78
78
 
79
- .memori-chat--bubble ul br,
80
- .memori-chat--bubble br+br {
79
+ .memori-chat--bubble ul br {
81
80
  display: none;
82
81
  }
83
82
 
@@ -270,4 +269,4 @@
270
269
  30% {
271
270
  transform: translateY(-10px);
272
271
  }
273
- }
272
+ }
@@ -224,3 +224,18 @@ WithMarkdown.args = {
224
224
  '## Test\n\nEcco tutte le possibili personalizzazioni che puoi applicare:\n\n- **Colletto**:\n - Girocollo\n - Scollo a V\n\n- **Manica**:\n - Manica Lunga\n - Manica Corta\n\n- **Taglia**:\n - XS\n - S\n - M\n - L\n - XL\n - XXL\n - 3XL\n\n- **Posizione Stampa**:\n - Fronte Petto\n - Retro Schiena\n - Fronte DX\n - Fronte SX\n\n- **Generazione Immagine**:\n - Prompt generazione immagine\n\nSeleziona le personalizzazioni che desideri applicare.\n\n[Vedi altro](https://memori.ai)',
225
225
  },
226
226
  };
227
+
228
+ export const WithMarkdownAndBreakLine = Template.bind({});
229
+ WithMarkdownAndBreakLine.args = {
230
+ memori,
231
+ apiUrl: 'https://backend.memori.ai',
232
+ tenant,
233
+ message: {
234
+ fromUser: false,
235
+ text: "Per l'avvio di una progettualità è necessario fornire le seguenti informazioni:\n- Natura dell'esigenza progettuale e obiettivi\n- Descrizione del progetto\n- Prima identificazione delle risorse necessarie\n- Costi stimati\n- Benefici attesi\n- Rischi identificati.",
236
+ initial: false,
237
+ generatedByAI: true,
238
+ translatedText:
239
+ "Per l'avvio di una progettualità è necessario fornire le seguenti informazioni:\n- Natura dell'esigenza progettuale e obiettivi\n- Descrizione del progetto\n- Prima identificazione delle risorse necessarie\n- Costi stimati\n- Benefici attesi\n- Rischi identificati.",
240
+ },
241
+ };