@notionhq/custom-blocks 0.1.27 → 0.1.28
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/dist/react/NotionCustomBlock.d.ts +1 -1
- package/dist/react/NotionCustomBlock.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.js +1 -1
- package/dist/react/useCustomBlockAutoResize.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/react/NotionCustomBlock.tsx +1 -1
- package/src/react/useCustomBlockAutoResize.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotionCustomBlock.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/custom-blocks/custom-blocks/sdk/src/react/NotionCustomBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAA;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"NotionCustomBlock.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/custom-blocks/custom-blocks/sdk/src/react/NotionCustomBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAA;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAoB,MAAM,YAAY,CAAA;AAM1E,OAAO,yBAAyB,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GAAG;IAC7D,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,SAAS,CAAC,CAAA;IACzD;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,QAAe,EACf,aAAa,EACb,UAAiB,GACjB,EAAE,sBAAsB,2CAsExB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useLayoutEffect, useState } from "react";
|
|
3
3
|
import { customBlockHost } from "../bridge/sandboxClient.js";
|
|
4
|
-
import { NotInIframeError } from "../
|
|
4
|
+
import { NotInIframeError } from "../init.js";
|
|
5
5
|
import { DebugMessageLog } from "./DebugMessageLog.js";
|
|
6
6
|
import { seedStandalonePreviewState } from "./standalonePreview.js";
|
|
7
7
|
import { useCustomBlockAutoResize } from "./useCustomBlockAutoResize.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
|
-
import { customBlock } from "../
|
|
2
|
+
import { customBlock } from "../customBlock.js";
|
|
3
3
|
/**
|
|
4
4
|
* Measures the sandbox's `#root` element and posts `resize` messages so the host iframe
|
|
5
5
|
* matches the block's border-box height. Unchanged values are deduped.
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode, useEffect, useLayoutEffect, useState } from "react"
|
|
2
2
|
import { customBlockHost } from "../bridge/sandboxClient.js"
|
|
3
|
-
import { type InitCustomBlockOptions, NotInIframeError } from "../
|
|
3
|
+
import { type InitCustomBlockOptions, NotInIframeError } from "../init.js"
|
|
4
4
|
import { DebugMessageLog } from "./DebugMessageLog.js"
|
|
5
5
|
import { seedStandalonePreviewState } from "./standalonePreview.js"
|
|
6
6
|
import { useCustomBlockAutoResize } from "./useCustomBlockAutoResize.js"
|