@wf-financing/ui 3.11.0 → 3.12.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 (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/index.es.js +21827 -12280
  3. package/package.json +5 -3
  4. package/src/CtaWidget.tsx +31 -9
  5. package/src/api/ctaBanner.ts +1 -2
  6. package/src/components/banner/BannerActions.tsx +26 -0
  7. package/src/components/banner/BulletList.tsx +34 -21
  8. package/src/components/banner/CloseButton.tsx +20 -1
  9. package/src/components/banner/CtaBanner.snapshot.stories.tsx +10 -1
  10. package/src/components/banner/CtaBanner.tsx +22 -14
  11. package/src/components/banner/CtaMainText.tsx +23 -0
  12. package/src/components/modal/ConsentModal.snapshot.stories.tsx +28 -25
  13. package/src/components/modal/ConsentModal.tsx +18 -30
  14. package/src/components/modal/ConsentModalContent.tsx +63 -0
  15. package/src/components/modal/FundingSteps.tsx +16 -8
  16. package/src/components/modal/ModalFooter.tsx +13 -18
  17. package/src/components/modal/TemplateWithUrl.tsx +30 -0
  18. package/src/config/applicationVersion.ts +1 -0
  19. package/src/config/index.ts +1 -0
  20. package/src/hooks/index.ts +1 -0
  21. package/src/hooks/useCopy.ts +30 -0
  22. package/src/main.tsx +0 -1
  23. package/src/utils/buildBannerConfig.ts +26 -0
  24. package/src/utils/getBannerConfig.ts +44 -0
  25. package/src/utils/getModalItems.ts +19 -0
  26. package/src/utils/index.ts +5 -0
  27. package/src/utils/injectUrlInTemplate.ts +6 -0
  28. package/src/utils/replacePlaceholdersForMainText.ts +29 -0
  29. package/tsconfig.json +2 -1
  30. package/vite-env.d.ts +1 -0
  31. package/vite.config.mts +3 -0
  32. package/src/components/banner/BannerActionsDesktop.tsx +0 -13
  33. package/src/components/banner/CtaBannerContent.tsx +0 -37
  34. package/src/components/banner/FooterActions.tsx +0 -8
  35. package/src/components/banner/HeaderActions.tsx +0 -21
  36. package/src/components/banner/ProceedFundingButton.tsx +0 -63
  37. package/src/constants/index.ts +0 -1
  38. package/src/constants/modalItems.ts +0 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @wf-financing/ui
2
2
 
3
+ ## 3.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove the call to the error endpoint when the target ID for the UI SDK is invalid
8
+
9
+ ## 3.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Migrate the UI SDK to use S3 resources
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies []:
18
+ - @wf-financing/embedded-types@0.7.0
19
+ - @wf-financing/ui-assets@0.2.0
20
+ - @wf-financing/logger@1.1.1
21
+
3
22
  ## 3.11.0
4
23
 
5
24
  ### Minor Changes