@swisper.ai/web-chat-ui 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisper.ai/web-chat-ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "React components for the Swisper chat: messages, composer and cards",
5
5
  "keywords": [
6
6
  "react",
@@ -67,7 +67,7 @@
67
67
  "@swisper.ai/design-system": "0.0.3",
68
68
  "@swisper.ai/icons": "0.0.3",
69
69
  "@swisper.ai/tailwind-config": "0.0.3",
70
- "@swisper.ai/ui": "0.1.2",
70
+ "@swisper.ai/ui": "0.2.0",
71
71
  "@swisper.ai/web-core": "0.0.3",
72
72
  "@tanstack/react-virtual": "^3.14.5",
73
73
  "chroma-js": "^3.2.0",
@@ -628,7 +628,7 @@ export const SubmitOnEnterSuccess: ScribeAssistStory = {
628
628
 
629
629
  await step('Success clears the field for the next instruction', async () => {
630
630
  await waitFor(() => expect(editor).toHaveTextContent(''));
631
- await expect(editor).toHaveAttribute('contenteditable', 'true');
631
+ await waitFor(() => expect(editor).toHaveAttribute('contenteditable', 'true'));
632
632
  await expect(
633
633
  await canvas.findByText('Tell the writing assistant what to write'),
634
634
  ).toBeVisible();