@swisper.ai/web-chat-ui 0.3.3 → 0.4.0

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.
Files changed (85) hide show
  1. package/dist/components/chat-prompt-box/chat-prompt-box-context.d.ts +10 -1
  2. package/dist/components/chat-prompt-box/chat-prompt-box-context.d.ts.map +1 -1
  3. package/dist/components/chat-prompt-box/chat-prompt-box-voice-motion.d.ts +85 -0
  4. package/dist/components/chat-prompt-box/chat-prompt-box-voice-motion.d.ts.map +1 -0
  5. package/dist/components/chat-prompt-box/chat-prompt-box-voice.d.ts +20 -0
  6. package/dist/components/chat-prompt-box/chat-prompt-box-voice.d.ts.map +1 -0
  7. package/dist/components/chat-prompt-box/chat-prompt-box-voice.stories.d.ts +45 -0
  8. package/dist/components/chat-prompt-box/chat-prompt-box-voice.stories.d.ts.map +1 -0
  9. package/dist/components/chat-prompt-box/chat-prompt-box.d.ts +24 -1
  10. package/dist/components/chat-prompt-box/chat-prompt-box.d.ts.map +1 -1
  11. package/dist/components/chat-prompt-box/chat-prompt-box.stories.d.ts.map +1 -1
  12. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.d.ts +31 -0
  13. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.d.ts.map +1 -0
  14. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.stories.d.ts +17 -0
  15. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.stories.d.ts.map +1 -0
  16. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/index.d.ts +3 -0
  17. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/index.d.ts.map +1 -0
  18. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.d.ts +29 -0
  19. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.d.ts.map +1 -0
  20. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.stories.d.ts +12 -0
  21. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.stories.d.ts.map +1 -0
  22. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/index.d.ts +3 -0
  23. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-button/index.d.ts.map +1 -0
  24. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.d.ts +44 -0
  25. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.d.ts.map +1 -0
  26. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.stories.d.ts +17 -0
  27. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.stories.d.ts.map +1 -0
  28. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/index.d.ts +3 -0
  29. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-light/index.d.ts.map +1 -0
  30. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.d.ts +14 -0
  31. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.d.ts.map +1 -0
  32. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.stories.d.ts +11 -0
  33. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.stories.d.ts.map +1 -0
  34. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/index.d.ts +3 -0
  35. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/index.d.ts.map +1 -0
  36. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.d.ts +18 -0
  37. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.d.ts.map +1 -0
  38. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.stories.d.ts +18 -0
  39. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.stories.d.ts.map +1 -0
  40. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/index.d.ts +3 -0
  41. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-panel/index.d.ts.map +1 -0
  42. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.d.ts +14 -0
  43. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.d.ts.map +1 -0
  44. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.stories.d.ts +11 -0
  45. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.stories.d.ts.map +1 -0
  46. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/index.d.ts +3 -0
  47. package/dist/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/index.d.ts.map +1 -0
  48. package/dist/components/chat-prompt-box/components/index.d.ts +7 -0
  49. package/dist/components/chat-prompt-box/components/index.d.ts.map +1 -0
  50. package/dist/components/chat-prompt-box/index.d.ts +5 -1
  51. package/dist/components/chat-prompt-box/index.d.ts.map +1 -1
  52. package/dist/components/chat-prompt-box/use-voice-motion.d.ts +22 -0
  53. package/dist/components/chat-prompt-box/use-voice-motion.d.ts.map +1 -0
  54. package/dist/index.css +1 -1
  55. package/dist/index.es.js +2285 -1443
  56. package/dist/index.es.js.map +1 -1
  57. package/package.json +2 -2
  58. package/src/components/chat-prompt-box/chat-prompt-box-context.tsx +35 -1
  59. package/src/components/chat-prompt-box/chat-prompt-box-voice-motion.ts +436 -0
  60. package/src/components/chat-prompt-box/chat-prompt-box-voice.stories.tsx +243 -0
  61. package/src/components/chat-prompt-box/chat-prompt-box-voice.tsx +191 -0
  62. package/src/components/chat-prompt-box/chat-prompt-box.json +66 -7
  63. package/src/components/chat-prompt-box/chat-prompt-box.stories.tsx +16 -0
  64. package/src/components/chat-prompt-box/chat-prompt-box.tsx +131 -77
  65. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.stories.tsx +155 -0
  66. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/chat-prompt-box-voice-bar-icon.tsx +80 -0
  67. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-bar-icon/index.ts +5 -0
  68. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.stories.tsx +107 -0
  69. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-button/chat-prompt-box-voice-button.tsx +101 -0
  70. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-button/index.ts +5 -0
  71. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.stories.tsx +177 -0
  72. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-light/chat-prompt-box-voice-light.tsx +283 -0
  73. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-light/index.ts +5 -0
  74. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.stories.tsx +50 -0
  75. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/chat-prompt-box-voice-mic-button.tsx +46 -0
  76. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-mic-button/index.ts +2 -0
  77. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.stories.tsx +149 -0
  78. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-panel/chat-prompt-box-voice-panel.tsx +55 -0
  79. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-panel/index.ts +5 -0
  80. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.stories.tsx +50 -0
  81. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/chat-prompt-box-voice-sound-button.tsx +46 -0
  82. package/src/components/chat-prompt-box/components/chat-prompt-box-voice-sound-button/index.ts +2 -0
  83. package/src/components/chat-prompt-box/components/index.ts +6 -0
  84. package/src/components/chat-prompt-box/index.ts +23 -0
  85. package/src/components/chat-prompt-box/use-voice-motion.ts +184 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.