@opencx/widget 3.0.0 → 3.0.2

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 (107) hide show
  1. package/dist/basic.cjs +3 -3
  2. package/dist/basic.cjs.map +1 -1
  3. package/dist/basic.js +432 -429
  4. package/dist/basic.js.map +1 -1
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/react.cjs +1 -1
  8. package/dist/react.js +2 -2
  9. package/dist/{src → types/src}/designs/react/basic/index.d.ts +1 -1
  10. package/dist/{src → types/src}/designs/react/basic/utils/group-messages-by-type.d.ts +1 -1
  11. package/dist/{src → types/src}/designs/react/components/BotOrAgentMessage.d.ts +1 -1
  12. package/dist/{src → types/src}/designs/react/components/BotOrAgentMessageGroup.d.ts +1 -1
  13. package/dist/{src → types/src}/designs/react/components/Fallback.component.d.ts +1 -1
  14. package/dist/{src → types/src}/designs/react/components/RenderFile.d.ts +1 -1
  15. package/dist/{src/designs/react/components/keyboard.d.ts → types/src/designs/react/components/SuggestedReplies.d.ts} +2 -2
  16. package/dist/{src → types/src}/designs/react/components/Text.component.d.ts +1 -1
  17. package/dist/{src → types/src}/designs/react/components/UserMessageGroup.d.ts +1 -1
  18. package/dist/{src → types/src}/designs/react/components/lib/button.d.ts +1 -1
  19. package/dist/{src → types/src}/designs/react/components/lib/dialog.d.ts +7 -7
  20. package/dist/{src → types/src}/designs/react/components/lib/dropdown-menu.d.ts +2 -2
  21. package/dist/types/src/designs/react/hooks/useLocale.d.ts +6 -0
  22. package/dist/{src → types/src}/designs/react/index.d.ts +1 -1
  23. package/dist/{src → types/src}/headless/core/context/contact.d.ts +6 -7
  24. package/dist/{src → types/src}/headless/core/context/message.d.ts +5 -3
  25. package/dist/{src → types/src}/headless/core/context/session.d.ts +3 -3
  26. package/dist/{src → types/src}/headless/core/context/widget.d.ts +1 -1
  27. package/dist/types/src/headless/core/index.d.ts +10 -0
  28. package/dist/{src → types/src}/headless/core/types/messages.d.ts +1 -1
  29. package/dist/{src → types/src}/headless/core/types/schemas.d.ts +1 -1
  30. package/dist/{src → types/src}/headless/core/utils/Poller.d.ts +1 -1
  31. package/dist/{src → types/src}/headless/react/WidgetProvider.d.ts +1 -1
  32. package/dist/types/src/headless/react/hooks/useConfig.d.ts +1 -0
  33. package/dist/{src → types/src}/headless/react/hooks/useContact.d.ts +1 -1
  34. package/dist/{src → types/src}/headless/react/hooks/useMessages.d.ts +1 -1
  35. package/dist/{src → types/src}/headless/react/hooks/usePubsub.d.ts +1 -1
  36. package/dist/{src → types/src}/headless/react/index.d.ts +0 -1
  37. package/dist/{src → types/src}/headless/react/types/components.d.ts +1 -2
  38. package/dist/{useUploadFiles-BaCcqTwX.js → useUploadFiles-DJElNIQi.js} +87 -87
  39. package/dist/useUploadFiles-DJElNIQi.js.map +1 -0
  40. package/dist/{useUploadFiles-BZa0DENN.cjs → useUploadFiles-DMskqhR-.cjs} +4 -4
  41. package/dist/useUploadFiles-DMskqhR-.cjs.map +1 -0
  42. package/dist/{widget-DbgWez1r.js → widget-BeNOCqB5.js} +46 -43
  43. package/dist/widget-BeNOCqB5.js.map +1 -0
  44. package/dist/{widget-BlvH6dre.cjs → widget-DlAUwHzU.cjs} +2 -2
  45. package/dist/widget-DlAUwHzU.cjs.map +1 -0
  46. package/dist-embed/script.js +100 -100
  47. package/dist-embed/script.js.map +1 -1
  48. package/package.json +8 -13
  49. package/dist/basic.d.ts +0 -2
  50. package/dist/index.d.ts +0 -2
  51. package/dist/react.d.ts +0 -2
  52. package/dist/src/designs/react/hooks/useLocale.d.ts +0 -6
  53. package/dist/src/headless/core/index.d.ts +0 -7
  54. package/dist/src/headless/react/hooks/useConfig.d.ts +0 -1
  55. package/dist/useUploadFiles-BZa0DENN.cjs.map +0 -1
  56. package/dist/useUploadFiles-BaCcqTwX.js.map +0 -1
  57. package/dist/vitest/setup.d.ts +0 -1
  58. package/dist/widget-BlvH6dre.cjs.map +0 -1
  59. package/dist/widget-DbgWez1r.js.map +0 -1
  60. /package/dist/{src → types/src}/designs/react/basic/WidgetPopoverTrigger.d.ts +0 -0
  61. /package/dist/{src → types/src}/designs/react/basic/screens/chat-screen/ChatFooter.d.ts +0 -0
  62. /package/dist/{src → types/src}/designs/react/basic/screens/chat-screen/ChatHeader.d.ts +0 -0
  63. /package/dist/{src → types/src}/designs/react/basic/screens/chat-screen/ChatMain.d.ts +0 -0
  64. /package/dist/{src → types/src}/designs/react/basic/screens/chat-screen/ChatScreen.d.ts +0 -0
  65. /package/dist/{src → types/src}/designs/react/basic/screens/root-screen.d.ts +0 -0
  66. /package/dist/{src → types/src}/designs/react/basic/screens/welcome-screen/WelcomeScreen.d.ts +0 -0
  67. /package/dist/{src → types/src}/designs/react/basic/widget-interaction-tests/widget.test.d.ts +0 -0
  68. /package/dist/{src → types/src}/designs/react/components/BotOrAgentMessageWrapper.d.ts +0 -0
  69. /package/dist/{src → types/src}/designs/react/components/Loading.component.d.ts +0 -0
  70. /package/dist/{src → types/src}/designs/react/components/OpenLogoSvg.d.ts +0 -0
  71. /package/dist/{src → types/src}/designs/react/components/VoteButtons.d.ts +0 -0
  72. /package/dist/{src → types/src}/designs/react/components/lib/MotionDiv.d.ts +0 -0
  73. /package/dist/{src → types/src}/designs/react/components/lib/avatar.d.ts +0 -0
  74. /package/dist/{src → types/src}/designs/react/components/lib/input.d.ts +0 -0
  75. /package/dist/{src → types/src}/designs/react/components/lib/popover.d.ts +0 -0
  76. /package/dist/{src → types/src}/designs/react/components/lib/skeleton.d.ts +0 -0
  77. /package/dist/{src → types/src}/designs/react/components/lib/switch.d.ts +0 -0
  78. /package/dist/{src → types/src}/designs/react/components/lib/tooltip.d.ts +0 -0
  79. /package/dist/{src → types/src}/designs/react/components/lib/utils/cn.d.ts +0 -0
  80. /package/dist/{src → types/src}/designs/react/components/lib/wobble.d.ts +0 -0
  81. /package/dist/{src → types/src}/designs/react/components/markdown.d.ts +0 -0
  82. /package/dist/{src → types/src}/designs/react/constants.d.ts +0 -0
  83. /package/dist/{src → types/src}/designs/react/hooks/useWidgetContentHeight.d.ts +0 -0
  84. /package/dist/{src → types/src}/designs/react/render.d.ts +0 -0
  85. /package/dist/{src → types/src}/designs/translation/ar.locale.d.ts +0 -0
  86. /package/dist/{src → types/src}/designs/translation/de.locale.d.ts +0 -0
  87. /package/dist/{src → types/src}/designs/translation/en.locale.d.ts +0 -0
  88. /package/dist/{src → types/src}/designs/translation/fr.locale.d.ts +0 -0
  89. /package/dist/{src → types/src}/designs/translation/index.d.ts +0 -0
  90. /package/dist/{src → types/src}/designs/translation/nl.locale.d.ts +0 -0
  91. /package/dist/{src → types/src}/designs/translation/pt.locale.d.ts +0 -0
  92. /package/dist/{src → types/src}/designs/translation/translation.types.d.ts +0 -0
  93. /package/dist/{src → types/src}/headless/core/api.d.ts +0 -0
  94. /package/dist/{src → types/src}/headless/core/sdk/index.d.ts +0 -0
  95. /package/dist/{src → types/src}/headless/core/types/WidgetConfig.d.ts +0 -0
  96. /package/dist/{src → types/src}/headless/core/types/agent-or-bot.d.ts +0 -0
  97. /package/dist/{src → types/src}/headless/core/types/helpers.d.ts +0 -0
  98. /package/dist/{src → types/src}/headless/core/utils/PubSub.d.ts +0 -0
  99. /package/dist/{src → types/src}/headless/core/utils/PubSub.test.d.ts +0 -0
  100. /package/dist/{src → types/src}/headless/core/utils/uuid.d.ts +0 -0
  101. /package/dist/{src → types/src}/headless/react/ComponentRegistry.d.ts +0 -0
  102. /package/dist/{src → types/src}/headless/react/hooks/useIsAwaitingBotReply.d.ts +0 -0
  103. /package/dist/{src → types/src}/headless/react/hooks/usePreludeData.d.ts +0 -0
  104. /package/dist/{src → types/src}/headless/react/hooks/useSession.d.ts +0 -0
  105. /package/dist/{src → types/src}/headless/react/hooks/useUploadFiles.d.ts +0 -0
  106. /package/dist/{src → types/src}/headless/react/hooks/useVote.d.ts +0 -0
  107. /package/dist/{src → types/src}/headless/react/utils/create-safe-context.d.ts +0 -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.