@wf-financing/ui 1.3.0 → 1.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wf-financing/ui",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/index.es.js",
package/src/main.tsx CHANGED
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom/client';
4
4
  import { StyleSheetManager } from 'styled-components';
5
5
 
6
6
  import { App } from './App';
7
- import { createRoots, applyFont } from './utils';
7
+ import { createRoots } from './utils';
8
8
 
9
9
  let root: ReactDOM.Root | undefined = undefined;
10
10
 
@@ -20,7 +20,8 @@ export const mountToTarget = async (
20
20
 
21
21
  const shadow = hostEl.shadowRoot ?? hostEl.attachShadow({ mode: 'open' });
22
22
 
23
- await applyFont(shadow, partnerDesignId);
23
+ // TODO remove after resolving an issue with CORS
24
+ // await applyFont(shadow, partnerDesignId);
24
25
 
25
26
  const { styledComponentsStyleRoot, portalRoot, bannerRoot } = createRoots(shadow);
26
27