mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
* mobile: reduce app size * editor: substitute all @mdi/js icons at build time * mobile: add script to tree shake icon font file * mobile: fix icon loading * mobile: remove html-entities dep * mobile: add missing icon fonts * mobile: include plain editor * mobile: add missing fonts * mobile: use webpack-bundle * mobile: keep generated fonts in repo * mobile: update fonts * mobile: fix duplicate key warning * mobile: update fonts * mobile: disable gesure on reminder sheet * mobile: update fonts * mobile: reset session correctly on logout * mobile: update icon fonts * mobile: set button action on reminder sheet * mobile: add missing icons * mobile: fix crash * mobile: fix right menus * mobile: remove console.log * mobile: disable bounce effect * mobile: update deps --------- Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
71 lines
2.4 KiB
Diff
71 lines
2.4 KiB
Diff
diff --git a/node_modules/react-native-svg/__tests__/css.test.tsx b/node_modules/react-native-svg/__tests__/css.test.tsx
|
|
index 579c357..57acc09 100644
|
|
--- a/node_modules/react-native-svg/__tests__/css.test.tsx
|
|
+++ b/node_modules/react-native-svg/__tests__/css.test.tsx
|
|
@@ -1,6 +1,7 @@
|
|
import React from 'react';
|
|
import renderer from 'react-test-renderer';
|
|
-import { SvgCss, parse, inlineStyles } from '../src/ReactNativeSVG';
|
|
+import { parse } from '../src/ReactNativeSVG';
|
|
+import { SvgCss, inlineStyles } from '../css';
|
|
|
|
const xml = `<?xml version="1.0" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
diff --git a/node_modules/react-native-svg/css/index.ts b/node_modules/react-native-svg/css/index.ts
|
|
new file mode 100644
|
|
index 0000000..3b268af
|
|
--- /dev/null
|
|
+++ b/node_modules/react-native-svg/css/index.ts
|
|
@@ -0,0 +1,2 @@
|
|
+export * from '../src/css';
|
|
+export { LocalSvg, WithLocalSvg, loadLocalRawResource } from '../src/LocalSvg';
|
|
\ No newline at end of file
|
|
diff --git a/node_modules/react-native-svg/src/LocalSvg.tsx b/node_modules/react-native-svg/src/LocalSvg.tsx
|
|
index f13c46f..0457159 100644
|
|
--- a/node_modules/react-native-svg/src/LocalSvg.tsx
|
|
+++ b/node_modules/react-native-svg/src/LocalSvg.tsx
|
|
@@ -7,7 +7,7 @@ import {
|
|
} from 'react-native';
|
|
|
|
import { fetchText } from './xml';
|
|
-import { SvgCss, SvgWithCss } from './css';
|
|
+import { SvgCss, SvgWithCss } from '../css';
|
|
import { SvgProps } from './elements/Svg';
|
|
|
|
const { getRawResource } = NativeModules.RNSVGRenderableManager || {};
|
|
diff --git a/node_modules/react-native-svg/src/ReactNativeSVG.ts b/node_modules/react-native-svg/src/ReactNativeSVG.ts
|
|
index 6b72423..1daca6c 100644
|
|
--- a/node_modules/react-native-svg/src/ReactNativeSVG.ts
|
|
+++ b/node_modules/react-native-svg/src/ReactNativeSVG.ts
|
|
@@ -25,14 +25,7 @@ import Marker from './elements/Marker';
|
|
import ForeignObject from './elements/ForeignObject';
|
|
|
|
import { parse, SvgAst, SvgFromUri, SvgFromXml, SvgUri, SvgXml } from './xml';
|
|
-import {
|
|
- SvgCss,
|
|
- SvgCssUri,
|
|
- SvgWithCss,
|
|
- SvgWithCssUri,
|
|
- inlineStyles,
|
|
-} from './css';
|
|
-import { LocalSvg, WithLocalSvg, loadLocalRawResource } from './LocalSvg';
|
|
+
|
|
import {
|
|
RNSVGCircle,
|
|
RNSVGClipPath,
|
|
@@ -116,14 +109,6 @@ export {
|
|
SvgFromXml,
|
|
SvgUri,
|
|
SvgXml,
|
|
- SvgCss,
|
|
- SvgCssUri,
|
|
- SvgWithCss,
|
|
- SvgWithCssUri,
|
|
- inlineStyles,
|
|
- LocalSvg,
|
|
- WithLocalSvg,
|
|
- loadLocalRawResource,
|
|
Shape,
|
|
RNSVGMarker,
|
|
RNSVGMask,
|