@sprig-technologies/sprig-browser 2.21.2 → 2.21.4

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 (63) hide show
  1. package/LICENSE.md +176 -0
  2. package/dist/index.cjs +10 -10
  3. package/dist/index.d.ts +1049 -3
  4. package/dist/index.js +1145 -1098
  5. package/package.json +11 -7
  6. package/dist/sprig-browser/index.d.ts +0 -168
  7. package/dist/src/constants/css.d.ts +0 -43
  8. package/dist/src/constants/sprigEvents.d.ts +0 -62
  9. package/dist/src/constants/sprigRecordingEvents.d.ts +0 -40
  10. package/dist/src/controller/OptimizelyIntegration.d.ts +0 -40
  11. package/dist/src/controller/Queue.d.ts +0 -18
  12. package/dist/src/controller/controller.d.ts +0 -9
  13. package/dist/src/controller/iframe.d.ts +0 -17
  14. package/dist/src/helpers/Deferred.d.ts +0 -9
  15. package/dist/src/helpers/conflicting_widgets/index.d.ts +0 -4
  16. package/dist/src/helpers/conflicting_widgets/intercom.d.ts +0 -2
  17. package/dist/src/helpers/document.d.ts +0 -6
  18. package/dist/src/helpers/eventEmitter.d.ts +0 -85
  19. package/dist/src/helpers/general.d.ts +0 -9
  20. package/dist/src/helpers/network.d.ts +0 -15
  21. package/dist/src/types/card.d.ts +0 -297
  22. package/dist/src/types/config.d.ts +0 -233
  23. package/dist/src/types/event.d.ts +0 -18
  24. package/dist/src/types/global.d.ts +0 -260
  25. package/dist/src/view/app.d.ts +0 -3
  26. package/dist/src/view/cards/consentLegalCard.d.ts +0 -6
  27. package/dist/src/view/cards/index.d.ts +0 -10
  28. package/dist/src/view/cards/likertCard/index.d.ts +0 -1
  29. package/dist/src/view/cards/likertCard/likertCard.d.ts +0 -6
  30. package/dist/src/view/cards/likertCard/likertOption.d.ts +0 -16
  31. package/dist/src/view/cards/multipleChoice/baseMultiChoiceCard.d.ts +0 -15
  32. package/dist/src/view/cards/multipleChoice/index.d.ts +0 -2
  33. package/dist/src/view/cards/multipleChoice/multiSelectCard.d.ts +0 -5
  34. package/dist/src/view/cards/multipleChoice/singleSelectCard.d.ts +0 -5
  35. package/dist/src/view/cards/npsCard.d.ts +0 -8
  36. package/dist/src/view/cards/openTextCard.d.ts +0 -6
  37. package/dist/src/view/cards/recordedTask/actions.d.ts +0 -21
  38. package/dist/src/view/cards/recordedTask/card.d.ts +0 -5
  39. package/dist/src/view/cards/recordedTask/components.d.ts +0 -30
  40. package/dist/src/view/cards/recordedTask/constants.d.ts +0 -5
  41. package/dist/src/view/cards/recordedTask/helpers.d.ts +0 -6
  42. package/dist/src/view/cards/recordedTask/index.d.ts +0 -1
  43. package/dist/src/view/cards/recordedTask/store.d.ts +0 -24
  44. package/dist/src/view/cards/textUrlPromptCard.d.ts +0 -6
  45. package/dist/src/view/cards/thanksCard.d.ts +0 -5
  46. package/dist/src/view/cards/types.d.ts +0 -34
  47. package/dist/src/view/cards/uploadingCard.d.ts +0 -5
  48. package/dist/src/view/cards/videoVoiceCard.d.ts +0 -6
  49. package/dist/src/view/components/button.d.ts +0 -3
  50. package/dist/src/view/components/header.d.ts +0 -8
  51. package/dist/src/view/components/index.d.ts +0 -4
  52. package/dist/src/view/components/mobileEmbedView.d.ts +0 -16
  53. package/dist/src/view/components/option.d.ts +0 -22
  54. package/dist/src/view/footer.d.ts +0 -2
  55. package/dist/src/view/helpers/card.d.ts +0 -6
  56. package/dist/src/view/helpers/getAttributedUrl.d.ts +0 -6
  57. package/dist/src/view/helpers/skipLogicHelpers.d.ts +0 -34
  58. package/dist/src/view/hooks/index.d.ts +0 -1
  59. package/dist/src/view/hooks/useAutoSize.d.ts +0 -2
  60. package/dist/src/view/logo.d.ts +0 -5
  61. package/dist/src/view/recorder/recorder.d.ts +0 -2
  62. package/dist/src/view/store.d.ts +0 -2
  63. package/dist/src/view/view.d.ts +0 -6
@@ -1,2 +0,0 @@
1
- import { Ref } from "react";
2
- export declare const useAutoSize: (textAreaRef: Ref<HTMLTextAreaElement>, sizeUpdate: () => void) => () => void;
@@ -1,5 +0,0 @@
1
- /**
2
- * UserLeap logo component
3
- */
4
- declare const Logo: () => import("preact").JSX.Element;
5
- export default Logo;
@@ -1,2 +0,0 @@
1
- declare const instance: any;
2
- export default instance;
@@ -1,2 +0,0 @@
1
- import { AppConfig } from "../types/config";
2
- export declare const useConfig: import("zustand").UseBoundStore<import("zustand").StoreApi<AppConfig>>;
@@ -1,6 +0,0 @@
1
- import { Config } from "../types/config";
2
- declare function configure(config: Config, shouldRender?: boolean): void;
3
- declare const _default: {
4
- configure: typeof configure;
5
- };
6
- export default _default;