@excalidraw/excalidraw 0.18.0-rc.2 → 0.18.0-rc.3
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/README.md +1 -3
- package/dist/dev/index.js +2 -2
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/index.js +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -21,9 +21,7 @@ By default, excalidraw will try to load fonts used by Excalidraw from the [CDN](
|
|
|
21
21
|
For self-hosting purposes, you'll have to copy the content of the folder `node_modules/@excalidraw/excalidraw/dist/prod/fonts` to the path where your assets should be served from (i.e. `public/` directory in your project). In that case, you should also set `window.EXCALIDRAW_ASSET_PATH` to the very same path, i.e. `/` in case it's in the root:
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
|
-
<script>
|
|
25
|
-
window.EXCALIDRAW_ASSET_PATH = "/";
|
|
26
|
-
</script>
|
|
24
|
+
<script>window.EXCALIDRAW_ASSET_PATH = "/";</script>
|
|
27
25
|
```
|
|
28
26
|
|
|
29
27
|
#### Dimensions of Excalidraw
|
package/dist/dev/index.js
CHANGED
|
@@ -17730,7 +17730,7 @@ import clsx48 from "clsx";
|
|
|
17730
17730
|
|
|
17731
17731
|
// components/SearchMenu.tsx
|
|
17732
17732
|
import { Fragment as Fragment18, memo as memo4, useEffect as useEffect33, useRef as useRef29, useState as useState31 } from "react";
|
|
17733
|
-
import
|
|
17733
|
+
import debounce2 from "lodash.debounce";
|
|
17734
17734
|
import clsx47 from "clsx";
|
|
17735
17735
|
import { Fragment as Fragment19, jsx as jsx111, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17736
17736
|
var searchQueryAtom = atom("");
|
|
@@ -19042,7 +19042,7 @@ TTD mermaid definition render errror: ${error3.message}`,
|
|
|
19042
19042
|
|
|
19043
19043
|
// components/Stats/index.tsx
|
|
19044
19044
|
import { useEffect as useEffect38, useMemo as useMemo9, useState as useState35, memo as memo5 } from "react";
|
|
19045
|
-
import
|
|
19045
|
+
import throttle2 from "lodash.throttle";
|
|
19046
19046
|
|
|
19047
19047
|
// components/Stats/DragInput.tsx
|
|
19048
19048
|
import { useEffect as useEffect37, useRef as useRef34, useState as useState34 } from "react";
|