@wf-financing/ui 1.1.2 → 1.3.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.
- package/CHANGELOG.md +19 -0
- package/dist/index.es.js +56394 -56035
- package/global.d.ts +2 -2
- package/package.json +6 -4
- package/src/App.tsx +10 -2
- package/src/api/continueHostedApplication.ts +12 -0
- package/src/api/getHeadlessSdkInstance.ts +3 -3
- package/src/components/banner/BulletList.tsx +13 -15
- package/src/components/banner/CtaBanner.snapshot.stories.tsx +4 -0
- package/src/components/banner/CtaBanner.tsx +5 -5
- package/src/components/banner/CtaBannerContent.tsx +2 -2
- package/src/components/banner/ProceedFundingButton.tsx +14 -4
- package/src/components/modal/ConsentModal.snapshot.stories.tsx +31 -9
- package/src/components/modal/ConsentModal.tsx +11 -3
- package/src/components/modal/FundingSteps.tsx +1 -1
- package/src/components/modal/Modal.tsx +7 -2
- package/src/components/modal/ModalFooter.tsx +3 -2
- package/src/config/fontParameters.ts +18 -0
- package/src/config/index.ts +2 -0
- package/src/config/rootsParameters.ts +19 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useContinueHostedApplication.ts +12 -0
- package/src/hooks/useRemoveInerted.ts +24 -0
- package/src/main.tsx +25 -14
- package/src/utils/applyFont.ts +26 -0
- package/src/utils/createRoots.ts +27 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/initializeHeadlessSdk.ts +2 -2
- package/src/utils/loadFont.ts +28 -0
- package/src/utils/loadScriptAndInitializeSdk.ts +3 -3
- package/src/utils/partnerContext.ts +1 -0
- package/src/components/banner/BannerContent.snapshot.stories.tsx +0 -31
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @wf-financing/ui
|
|
2
|
+
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Introduce shadow DOM wrapper and dynamic fonts loading
|
|
8
|
+
|
|
9
|
+
## 1.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- update styles for image in modal
|
|
14
|
+
|
|
15
|
+
## 1.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- Update mocked response from headless SDK, use new method for continue application
|