Merged PR 18: Add support for custom SVG
Some checks failed
continuous-integration/drone/push Build is failing

Add support for custom SVG
Add userData back into IProperties
Added library interweave
Update example
This commit is contained in:
Eric Nguyen 2022-08-17 13:43:24 +00:00
parent 82eae4971e
commit e96e4f123b
8 changed files with 109 additions and 9 deletions

15
pnpm-lock.yaml generated
View file

@ -24,6 +24,7 @@ specifiers:
eslint-plugin-promise: ^6.0.0
eslint-plugin-react: ^7.30.1
eslint-plugin-react-hooks: ^4.6.0
interweave: ^13.0.0
jsdom: ^20.0.0
postcss: ^8.4.14
react: ^18.2.0
@ -38,6 +39,7 @@ specifiers:
dependencies:
'@heroicons/react': 1.0.6_react@18.2.0
interweave: 13.0.0_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
react-svg-pan-zoom: 3.11.0_react@18.2.0
@ -1522,6 +1524,10 @@ packages:
engines: {node: '>=6'}
dev: true
/escape-html/1.0.3:
resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
dev: false
/escape-string-regexp/1.0.5:
resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
engines: {node: '>=0.8.0'}
@ -2177,6 +2183,15 @@ packages:
side-channel: 1.0.4
dev: true
/interweave/13.0.0_react@18.2.0:
resolution: {integrity: sha512-Mckwj+ix/VtrZu1bRBIIohwrsXj12ZTvJCoYUMZlJmgtvIaQCj0i77eSZ63ckbA1TsPrz2VOvLW9/kTgm5d+mw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
escape-html: 1.0.3
react: 18.2.0
dev: false
/is-bigint/1.0.4:
resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}
dependencies: