@sprig-technologies/sprig-browser 2.20.1 → 2.21.1

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 (67) hide show
  1. package/README.md +0 -5
  2. package/dist/index.cjs +686 -0
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.js +6415 -0
  5. package/dist/sprig-browser/index.d.ts +168 -0
  6. package/dist/src/constants/css.d.ts +43 -0
  7. package/dist/src/constants/sprigEvents.d.ts +62 -0
  8. package/dist/src/constants/sprigRecordingEvents.d.ts +40 -0
  9. package/dist/src/controller/OptimizelyIntegration.d.ts +40 -0
  10. package/dist/src/controller/Queue.d.ts +18 -0
  11. package/dist/src/controller/controller.d.ts +9 -0
  12. package/dist/src/controller/iframe.d.ts +17 -0
  13. package/dist/src/helpers/Deferred.d.ts +9 -0
  14. package/dist/src/helpers/conflicting_widgets/index.d.ts +4 -0
  15. package/dist/src/helpers/conflicting_widgets/intercom.d.ts +2 -0
  16. package/dist/src/helpers/document.d.ts +6 -0
  17. package/dist/src/helpers/eventEmitter.d.ts +85 -0
  18. package/dist/src/helpers/general.d.ts +9 -0
  19. package/dist/src/helpers/network.d.ts +15 -0
  20. package/dist/src/types/card.d.ts +297 -0
  21. package/dist/src/types/config.d.ts +233 -0
  22. package/dist/src/types/event.d.ts +18 -0
  23. package/dist/src/types/global.d.ts +253 -0
  24. package/dist/src/view/app.d.ts +3 -0
  25. package/dist/src/view/cards/consentLegalCard.d.ts +6 -0
  26. package/dist/src/view/cards/index.d.ts +10 -0
  27. package/dist/src/view/cards/likertCard/index.d.ts +1 -0
  28. package/dist/src/view/cards/likertCard/likertCard.d.ts +6 -0
  29. package/dist/src/view/cards/likertCard/likertOption.d.ts +16 -0
  30. package/dist/src/view/cards/multipleChoice/baseMultiChoiceCard.d.ts +15 -0
  31. package/dist/src/view/cards/multipleChoice/index.d.ts +2 -0
  32. package/dist/src/view/cards/multipleChoice/multiSelectCard.d.ts +5 -0
  33. package/dist/src/view/cards/multipleChoice/singleSelectCard.d.ts +5 -0
  34. package/dist/src/view/cards/npsCard.d.ts +8 -0
  35. package/dist/src/view/cards/openTextCard.d.ts +6 -0
  36. package/dist/src/view/cards/recordedTask/actions.d.ts +21 -0
  37. package/dist/src/view/cards/recordedTask/card.d.ts +5 -0
  38. package/dist/src/view/cards/recordedTask/components.d.ts +30 -0
  39. package/dist/src/view/cards/recordedTask/constants.d.ts +5 -0
  40. package/dist/src/view/cards/recordedTask/helpers.d.ts +6 -0
  41. package/dist/src/view/cards/recordedTask/index.d.ts +1 -0
  42. package/dist/src/view/cards/recordedTask/store.d.ts +24 -0
  43. package/dist/src/view/cards/textUrlPromptCard.d.ts +6 -0
  44. package/dist/src/view/cards/thanksCard.d.ts +5 -0
  45. package/dist/src/view/cards/types.d.ts +34 -0
  46. package/dist/src/view/cards/uploadingCard.d.ts +5 -0
  47. package/dist/src/view/cards/videoVoiceCard.d.ts +6 -0
  48. package/dist/src/view/components/button.d.ts +3 -0
  49. package/dist/src/view/components/header.d.ts +8 -0
  50. package/dist/src/view/components/index.d.ts +4 -0
  51. package/dist/src/view/components/mobileEmbedView.d.ts +16 -0
  52. package/dist/src/view/components/option.d.ts +22 -0
  53. package/dist/src/view/footer.d.ts +2 -0
  54. package/dist/src/view/helpers/card.d.ts +6 -0
  55. package/dist/src/view/helpers/getAttributedUrl.d.ts +6 -0
  56. package/dist/src/view/helpers/skipLogicHelpers.d.ts +34 -0
  57. package/dist/src/view/hooks/index.d.ts +1 -0
  58. package/dist/src/view/hooks/useAutoSize.d.ts +2 -0
  59. package/dist/src/view/logo.d.ts +5 -0
  60. package/dist/src/view/recorder/recorder.d.ts +2 -0
  61. package/dist/src/view/store.d.ts +2 -0
  62. package/dist/src/view/view.d.ts +6 -0
  63. package/dist/style.css +1 -0
  64. package/package.json +12 -10
  65. package/LICENSE.md +0 -176
  66. package/index.d.ts +0 -160
  67. package/index.js +0 -680
package/README.md CHANGED
@@ -1,8 +1,3 @@
1
- # Sprig Web SDK (Beta)
2
-
3
- The current Sprig Web SDK npm package is in beta. Please inform our customer success team of any issues and improvements you may need us to support.
4
- For full information about the Sprig Web SDK, please see [our documentation](https://docs.sprig.com/docs/web-javascript).
5
-
6
1
  # Install with NPM/Yarn
7
2
 
8
3
  Use the following shell command to install the Sprig SDK. We recommend you update the package regularly for improved functionality and bug fixes. With this installation method, Sprig will be bundled with the rest of your frontend application and be immediately accessible upon page load.