@texonom/nreact 1.4.6 → 1.4.7

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.
Files changed (101) hide show
  1. package/build/.tsbuildinfo +1 -1
  2. package/build/block.d.ts +20 -20
  3. package/build/chunk-2U7I3XVC.js +157 -157
  4. package/build/chunk-72RHNPWF.js +1307 -1307
  5. package/build/chunk-FCO7MUK6.js +83 -83
  6. package/build/chunk-H4QYS6CQ.js +1185 -1185
  7. package/build/chunk-IMWLLIUB.js +1182 -1182
  8. package/build/chunk-VP33CFNB.js +1358 -1358
  9. package/build/chunk-YMM43AZ3.js +1207 -0
  10. package/build/components/asset-wrapper.d.ts +6 -6
  11. package/build/components/asset.d.ts +7 -7
  12. package/build/components/audio.d.ts +6 -6
  13. package/build/components/checkbox.d.ts +5 -5
  14. package/build/components/eoi.d.ts +7 -7
  15. package/build/components/file.d.ts +6 -6
  16. package/build/components/google-drive.d.ts +6 -6
  17. package/build/components/graceful-image.d.ts +3 -3
  18. package/build/components/header.d.ts +15 -15
  19. package/build/components/lazy-image.d.ts +13 -13
  20. package/build/components/lite-youtube-embed.d.ts +13 -13
  21. package/build/components/page-aside.d.ts +11 -11
  22. package/build/components/page-icon.d.ts +16 -16
  23. package/build/components/page-title.d.ts +12 -12
  24. package/build/components/search-dialog.d.ts +26 -26
  25. package/build/components/sync-pointer-block.d.ts +6 -6
  26. package/build/components/text.d.ts +19 -19
  27. package/build/context.d.ts +64 -64
  28. package/build/dev/chunk-64UJZ76E.js +1307 -1307
  29. package/build/dev/chunk-N6EDMIQD.js +1358 -1358
  30. package/build/dev/chunk-P3V5A3W4.js +1182 -1182
  31. package/build/dev/chunk-PM5CWL6O.js +157 -157
  32. package/build/dev/chunk-Q4G2SZRD.js +83 -83
  33. package/build/dev/chunk-SEA7YL2O.js +1307 -1307
  34. package/build/dev/chunk-SVHGWLRK.js +1208 -0
  35. package/build/dev/chunk-SVHGWLRK.js.map +1 -0
  36. package/build/dev/chunk-ZJAJPWJX.js +1185 -1185
  37. package/build/dev/index.js +1 -1
  38. package/build/dev/third-party/code.js +1 -1
  39. package/build/dev/third-party/collection.js +1 -1
  40. package/build/dev/third-party/equation.js +1 -1
  41. package/build/icons/check.d.ts +3 -3
  42. package/build/icons/chevron-down-icon.d.ts +2 -2
  43. package/build/icons/clear-icon.d.ts +2 -2
  44. package/build/icons/collection-view-board.d.ts +3 -3
  45. package/build/icons/collection-view-calendar.d.ts +3 -3
  46. package/build/icons/collection-view-gallery.d.ts +3 -3
  47. package/build/icons/collection-view-icon.d.ts +8 -8
  48. package/build/icons/collection-view-list.d.ts +3 -3
  49. package/build/icons/collection-view-table.d.ts +3 -3
  50. package/build/icons/copy.d.ts +3 -3
  51. package/build/icons/default-page-icon.d.ts +2 -2
  52. package/build/icons/empty-icon.d.ts +2 -2
  53. package/build/icons/file-icon.d.ts +2 -2
  54. package/build/icons/link-icon.d.ts +2 -2
  55. package/build/icons/loading-icon.d.ts +2 -2
  56. package/build/icons/property-icon.d.ts +44 -44
  57. package/build/icons/search-icon.d.ts +2 -2
  58. package/build/icons/type-checkbox.d.ts +3 -3
  59. package/build/icons/type-date.d.ts +3 -3
  60. package/build/icons/type-email.d.ts +3 -3
  61. package/build/icons/type-file.d.ts +3 -3
  62. package/build/icons/type-formula.d.ts +3 -3
  63. package/build/icons/type-github.d.ts +3 -3
  64. package/build/icons/type-multi-select.d.ts +3 -3
  65. package/build/icons/type-number.d.ts +3 -3
  66. package/build/icons/type-person-2.d.ts +3 -3
  67. package/build/icons/type-person.d.ts +3 -3
  68. package/build/icons/type-phone-number.d.ts +3 -3
  69. package/build/icons/type-relation.d.ts +3 -3
  70. package/build/icons/type-select.d.ts +3 -3
  71. package/build/icons/type-text.d.ts +3 -3
  72. package/build/icons/type-timestamp.d.ts +3 -3
  73. package/build/icons/type-title.d.ts +3 -3
  74. package/build/icons/type-url.d.ts +3 -3
  75. package/build/index.d.ts +24 -24
  76. package/build/index.js +1 -1
  77. package/build/next.d.ts.map +1 -1
  78. package/build/renderer.d.ts +50 -50
  79. package/build/third-party/code.d.ts +16 -16
  80. package/build/third-party/code.js +1 -1
  81. package/build/third-party/collection-card.d.ts +3 -3
  82. package/build/third-party/collection-column-title.d.ts +5 -5
  83. package/build/third-party/collection-group.d.ts +3 -3
  84. package/build/third-party/collection-row.d.ts +7 -7
  85. package/build/third-party/collection-utils.d.ts +2 -2
  86. package/build/third-party/collection-view-board.d.ts +3 -3
  87. package/build/third-party/collection-view-gallery.d.ts +3 -3
  88. package/build/third-party/collection-view-list.d.ts +3 -3
  89. package/build/third-party/collection-view-table.d.ts +3 -3
  90. package/build/third-party/collection-view.d.ts +4 -4
  91. package/build/third-party/collection.d.ts +14 -14
  92. package/build/third-party/collection.js +1 -1
  93. package/build/third-party/equation.d.ts +8 -8
  94. package/build/third-party/equation.js +1 -1
  95. package/build/third-party/eval-formula.d.ts +20 -20
  96. package/build/third-party/modal.d.ts +2 -2
  97. package/build/third-party/pdf.d.ts +4 -4
  98. package/build/third-party/property.d.ts +21 -21
  99. package/build/types.d.ts +93 -93
  100. package/build/utils.d.ts +6 -6
  101. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Block } from '@texonom/ntypes';
3
- export declare const AssetWrapper: React.FC<{
4
- blockId: string;
5
- block: Block;
6
- }>;
1
+ import React from 'react';
2
+ import { Block } from '@texonom/ntypes';
3
+ export declare const AssetWrapper: React.FC<{
4
+ blockId: string;
5
+ block: Block;
6
+ }>;
7
7
  //# sourceMappingURL=asset-wrapper.d.ts.map
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { BaseContentBlock } from '@texonom/ntypes';
3
- export declare const Asset: React.FC<{
4
- block: BaseContentBlock;
5
- children: any;
6
- zoomable?: boolean;
7
- }>;
1
+ import React from 'react';
2
+ import { BaseContentBlock } from '@texonom/ntypes';
3
+ export declare const Asset: React.FC<{
4
+ block: BaseContentBlock;
5
+ children: any;
6
+ zoomable?: boolean;
7
+ }>;
8
8
  //# sourceMappingURL=asset.d.ts.map
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { AudioBlock } from '@texonom/ntypes';
3
- export declare const Audio: React.FC<{
4
- block: AudioBlock;
5
- className?: string;
6
- }>;
1
+ import React from 'react';
2
+ import { AudioBlock } from '@texonom/ntypes';
3
+ export declare const Audio: React.FC<{
4
+ block: AudioBlock;
5
+ className?: string;
6
+ }>;
7
7
  //# sourceMappingURL=audio.d.ts.map
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- export declare const Checkbox: React.FC<{
3
- isChecked: boolean;
4
- blockId: string | undefined;
5
- }>;
1
+ import React from 'react';
2
+ export declare const Checkbox: React.FC<{
3
+ isChecked: boolean;
4
+ blockId: string | undefined;
5
+ }>;
6
6
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { Block } from '@texonom/ntypes';
3
- export declare const EOI: React.FC<{
4
- block: Block;
5
- inline?: boolean;
6
- className?: string;
7
- }>;
1
+ import React from 'react';
2
+ import { Block } from '@texonom/ntypes';
3
+ export declare const EOI: React.FC<{
4
+ block: Block;
5
+ inline?: boolean;
6
+ className?: string;
7
+ }>;
8
8
  //# sourceMappingURL=eoi.d.ts.map
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { FileBlock } from '@texonom/ntypes';
3
- export declare const File: React.FC<{
4
- block: FileBlock;
5
- className?: string;
6
- }>;
1
+ import React from 'react';
2
+ import { FileBlock } from '@texonom/ntypes';
3
+ export declare const File: React.FC<{
4
+ block: FileBlock;
5
+ className?: string;
6
+ }>;
7
7
  //# sourceMappingURL=file.d.ts.map
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { GoogleDriveBlock } from '@texonom/ntypes';
3
- export declare const GoogleDrive: React.FC<{
4
- block: GoogleDriveBlock;
5
- className?: string;
6
- }>;
1
+ import React from 'react';
2
+ import { GoogleDriveBlock } from '@texonom/ntypes';
3
+ export declare const GoogleDrive: React.FC<{
4
+ block: GoogleDriveBlock;
5
+ className?: string;
6
+ }>;
7
7
  //# sourceMappingURL=google-drive.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { ImgProps } from 'react-image';
3
- export declare const GracefulImage: (props: ImgProps) => React.JSX.Element;
1
+ import React from 'react';
2
+ import { ImgProps } from 'react-image';
3
+ export declare const GracefulImage: (props: ImgProps) => React.JSX.Element;
4
4
  //# sourceMappingURL=graceful-image.d.ts.map
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { SearchNotionFn } from '../types';
3
- import type { Block, PageBlock, CollectionViewPageBlock } from '@texonom/ntypes';
4
- export declare const Header: React.FC<{
5
- block: CollectionViewPageBlock | PageBlock;
6
- }>;
7
- export declare const Breadcrumbs: React.FC<{
8
- block: Block;
9
- rootOnly?: boolean;
10
- }>;
11
- export declare const Search: React.FC<{
12
- block: Block;
13
- search?: SearchNotionFn;
14
- title?: React.ReactNode;
15
- }>;
1
+ import React from 'react';
2
+ import { SearchNotionFn } from '../types';
3
+ import type { Block, PageBlock, CollectionViewPageBlock } from '@texonom/ntypes';
4
+ export declare const Header: React.FC<{
5
+ block: CollectionViewPageBlock | PageBlock;
6
+ }>;
7
+ export declare const Breadcrumbs: React.FC<{
8
+ block: Block;
9
+ rootOnly?: boolean;
10
+ }>;
11
+ export declare const Search: React.FC<{
12
+ block: Block;
13
+ search?: SearchNotionFn;
14
+ title?: React.ReactNode;
15
+ }>;
16
16
  //# sourceMappingURL=header.d.ts.map
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- /**
3
- * Progressive, lazy images modeled after Medium's LQIP technique.
4
- */
5
- export declare const LazyImage: React.FC<{
6
- src?: string;
7
- alt?: string;
8
- className?: string;
9
- style?: React.CSSProperties;
10
- height?: number;
11
- zoomable?: boolean;
12
- priority?: boolean;
13
- }>;
1
+ import React from 'react';
2
+ /**
3
+ * Progressive, lazy images modeled after Medium's LQIP technique.
4
+ */
5
+ export declare const LazyImage: React.FC<{
6
+ src?: string;
7
+ alt?: string;
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ height?: number;
11
+ zoomable?: boolean;
12
+ priority?: boolean;
13
+ }>;
14
14
  //# sourceMappingURL=lazy-image.d.ts.map
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- export declare const LiteYouTubeEmbed: React.FC<{
3
- id: string;
4
- defaultPlay?: boolean;
5
- mute?: boolean;
6
- lazyImage?: boolean;
7
- iframeTitle?: string;
8
- alt?: string;
9
- params?: Record<string, string>;
10
- adLinksPreconnect?: boolean;
11
- style?: React.CSSProperties;
12
- className?: string;
13
- }>;
1
+ import React from 'react';
2
+ export declare const LiteYouTubeEmbed: React.FC<{
3
+ id: string;
4
+ defaultPlay?: boolean;
5
+ mute?: boolean;
6
+ lazyImage?: boolean;
7
+ iframeTitle?: string;
8
+ alt?: string;
9
+ params?: Record<string, string>;
10
+ adLinksPreconnect?: boolean;
11
+ style?: React.CSSProperties;
12
+ className?: string;
13
+ }>;
14
14
  //# sourceMappingURL=lite-youtube-embed.d.ts.map
@@ -1,12 +1,12 @@
1
- import React from 'react';
2
- import { TableOfContentsEntry } from '@texonom/nutils';
3
- export declare const PageAside: React.FC<{
4
- toc: Array<TableOfContentsEntry>;
5
- activeSection: string | null;
6
- setActiveSection: (activeSection: string | null) => unknown;
7
- hasToc: boolean;
8
- hasAside: boolean;
9
- pageAside?: React.ReactNode;
10
- className?: string;
11
- }>;
1
+ import React from 'react';
2
+ import { TableOfContentsEntry } from '@texonom/nutils';
3
+ export declare const PageAside: React.FC<{
4
+ toc: Array<TableOfContentsEntry>;
5
+ activeSection: string | null;
6
+ setActiveSection: (activeSection: string | null) => unknown;
7
+ hasToc: boolean;
8
+ hasAside: boolean;
9
+ pageAside?: React.ReactNode;
10
+ className?: string;
11
+ }>;
12
12
  //# sourceMappingURL=page-aside.d.ts.map
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- import { Block } from '@texonom/ntypes';
3
- export declare const PageIconImpl: React.FC<{
4
- block: Block;
5
- className?: string;
6
- inline?: boolean;
7
- hideDefaultIcon?: boolean;
8
- defaultIcon?: string;
9
- }>;
10
- export declare const PageIcon: React.NamedExoticComponent<{
11
- block: Block;
12
- className?: string;
13
- inline?: boolean;
14
- hideDefaultIcon?: boolean;
15
- defaultIcon?: string;
16
- }>;
1
+ import React from 'react';
2
+ import { Block } from '@texonom/ntypes';
3
+ export declare const PageIconImpl: React.FC<{
4
+ block: Block;
5
+ className?: string;
6
+ inline?: boolean;
7
+ hideDefaultIcon?: boolean;
8
+ defaultIcon?: string;
9
+ }>;
10
+ export declare const PageIcon: React.NamedExoticComponent<{
11
+ block: Block;
12
+ className?: string;
13
+ inline?: boolean;
14
+ hideDefaultIcon?: boolean;
15
+ defaultIcon?: string;
16
+ }>;
17
17
  //# sourceMappingURL=page-icon.d.ts.map
@@ -1,13 +1,13 @@
1
- import React from 'react';
2
- import { Block } from '@texonom/ntypes';
3
- export declare const PageTitleImpl: React.FC<{
4
- block: Block;
5
- className?: string;
6
- defaultIcon?: string;
7
- }>;
8
- export declare const PageTitle: React.NamedExoticComponent<{
9
- block: Block;
10
- className?: string;
11
- defaultIcon?: string;
12
- }>;
1
+ import React from 'react';
2
+ import { Block } from '@texonom/ntypes';
3
+ export declare const PageTitleImpl: React.FC<{
4
+ block: Block;
5
+ className?: string;
6
+ defaultIcon?: string;
7
+ }>;
8
+ export declare const PageTitle: React.NamedExoticComponent<{
9
+ block: Block;
10
+ className?: string;
11
+ defaultIcon?: string;
12
+ }>;
13
13
  //# sourceMappingURL=page-title.d.ts.map
@@ -1,27 +1,27 @@
1
- import React from 'react';
2
- import type { SearchParams, SearchResults } from '@texonom/ntypes';
3
- export declare class SearchDialog extends React.Component<{
4
- isOpen: boolean;
5
- rootBlockId: string;
6
- rootSpaceId: string;
7
- onClose: () => void;
8
- searchNotion: (params: SearchParams) => Promise<SearchResults>;
9
- }> {
10
- constructor(props: any);
11
- state: {
12
- isLoading: boolean;
13
- query: string;
14
- searchResult: any;
15
- searchError: any;
16
- };
17
- _inputRef: any;
18
- _search: any;
19
- componentDidMount(): void;
20
- render(): React.JSX.Element;
21
- _onAfterOpen: () => void;
22
- _onChangeQuery: (e: any) => void;
23
- _onClearQuery: () => void;
24
- _warmupSearch: () => Promise<void>;
25
- _searchImpl: () => Promise<void>;
26
- }
1
+ import React from 'react';
2
+ import type { SearchParams, SearchResults } from '@texonom/ntypes';
3
+ export declare class SearchDialog extends React.Component<{
4
+ isOpen: boolean;
5
+ rootBlockId: string;
6
+ rootSpaceId: string;
7
+ onClose: () => void;
8
+ searchNotion: (params: SearchParams) => Promise<SearchResults>;
9
+ }> {
10
+ constructor(props: any);
11
+ state: {
12
+ isLoading: boolean;
13
+ query: string;
14
+ searchResult: any;
15
+ searchError: any;
16
+ };
17
+ _inputRef: any;
18
+ _search: any;
19
+ componentDidMount(): void;
20
+ render(): React.JSX.Element;
21
+ _onAfterOpen: () => void;
22
+ _onChangeQuery: (e: any) => void;
23
+ _onClearQuery: () => void;
24
+ _warmupSearch: () => Promise<void>;
25
+ _searchImpl: () => Promise<void>;
26
+ }
27
27
  //# sourceMappingURL=search-dialog.d.ts.map
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import type { Block as BlockType } from '@texonom/ntypes';
3
- export declare const SyncPointerBlock: React.FC<{
4
- block: BlockType;
5
- level: number;
6
- }>;
1
+ import React from 'react';
2
+ import type { Block as BlockType } from '@texonom/ntypes';
3
+ export declare const SyncPointerBlock: React.FC<{
4
+ block: BlockType;
5
+ level: number;
6
+ }>;
7
7
  //# sourceMappingURL=sync-pointer-block.d.ts.map
@@ -1,20 +1,20 @@
1
- import React from 'react';
2
- import type { Block, Decoration } from '@texonom/ntypes';
3
- /**
4
- * Renders a single piece of Notion text, including basic rich text formatting.
5
- *
6
- * These represent the innermost leaf nodes of a Notion subtree.
7
- *
8
- * TODO: I think this implementation would be more correct if the reduce just added
9
- * attributes to the final element's style.
10
- */
11
- export declare const Text: React.FC<{
12
- value: Decoration[];
13
- block: Block;
14
- linkProps?: {
15
- [key: string]: unknown;
16
- };
17
- linkProtocol?: string;
18
- inline?: boolean;
19
- }>;
1
+ import React from 'react';
2
+ import type { Block, Decoration } from '@texonom/ntypes';
3
+ /**
4
+ * Renders a single piece of Notion text, including basic rich text formatting.
5
+ *
6
+ * These represent the innermost leaf nodes of a Notion subtree.
7
+ *
8
+ * TODO: I think this implementation would be more correct if the reduce just added
9
+ * attributes to the final element's style.
10
+ */
11
+ export declare const Text: React.FC<{
12
+ value: Decoration[];
13
+ block: Block;
14
+ linkProps?: {
15
+ [key: string]: unknown;
16
+ };
17
+ linkProtocol?: string;
18
+ inline?: boolean;
19
+ }>;
20
20
  //# sourceMappingURL=text.d.ts.map
@@ -1,65 +1,65 @@
1
- import React from 'react';
2
- import { MapImageUrlFn, MapPageUrlFn, NotionComponents, SearchNotionFn } from './types';
3
- import type { ExtendedRecordMap } from '@texonom/ntypes';
4
- export interface NotionContext {
5
- recordMap: ExtendedRecordMap;
6
- components: NotionComponents;
7
- mapPageUrl: MapPageUrlFn;
8
- mapImageUrl: MapImageUrlFn;
9
- searchNotion?: SearchNotionFn;
10
- isShowingSearch?: boolean;
11
- onHideSearch?: () => void;
12
- rootPageId?: string;
13
- rootDomain?: string;
14
- rootSpaceId?: string;
15
- fullPage: boolean;
16
- darkMode: boolean;
17
- previewImages: boolean;
18
- forceCustomImages: boolean;
19
- showCollectionViewDropdown: boolean;
20
- showTableOfContents: boolean;
21
- minTableOfContentsItems: number;
22
- linkTableTitleProperties: boolean;
23
- isLinkCollectionToUrlProperty: boolean;
24
- defaultPageIcon?: string;
25
- defaultPageCover?: string;
26
- defaultPageCoverPosition?: number;
27
- zoom: any;
28
- }
29
- export interface PartialNotionContext {
30
- children?: React.ReactNode;
31
- recordMap?: ExtendedRecordMap;
32
- components?: Partial<NotionComponents>;
33
- mapPageUrl?: MapPageUrlFn;
34
- mapImageUrl?: MapImageUrlFn;
35
- searchNotion?: SearchNotionFn;
36
- isShowingSearch?: boolean;
37
- onHideSearch?: () => void;
38
- rootPageId?: string;
39
- rootDomain?: string;
40
- rootSpaceId?: string;
41
- fullPage?: boolean;
42
- darkMode?: boolean;
43
- previewImages?: boolean;
44
- forceCustomImages?: boolean;
45
- showCollectionViewDropdown?: boolean;
46
- linkTableTitleProperties?: boolean;
47
- isLinkCollectionToUrlProperty?: boolean;
48
- showTableOfContents?: boolean;
49
- minTableOfContentsItems?: number;
50
- defaultPageIcon?: string;
51
- defaultPageCover?: string;
52
- defaultPageCoverPosition?: number;
53
- zoom?: any;
54
- }
55
- export declare const dummyLink: ({ href, rel, target, title, ...rest }: {
56
- [x: string]: any;
57
- href: any;
58
- rel: any;
59
- target: any;
60
- title: any;
61
- }) => React.JSX.Element;
62
- export declare const NotionContextProvider: React.FC<PartialNotionContext>;
63
- export declare const NotionContextConsumer: React.Consumer<NotionContext>;
64
- export declare const useNotionContext: () => NotionContext;
1
+ import React from 'react';
2
+ import { MapImageUrlFn, MapPageUrlFn, NotionComponents, SearchNotionFn } from './types';
3
+ import type { ExtendedRecordMap } from '@texonom/ntypes';
4
+ export interface NotionContext {
5
+ recordMap: ExtendedRecordMap;
6
+ components: NotionComponents;
7
+ mapPageUrl: MapPageUrlFn;
8
+ mapImageUrl: MapImageUrlFn;
9
+ searchNotion?: SearchNotionFn;
10
+ isShowingSearch?: boolean;
11
+ onHideSearch?: () => void;
12
+ rootPageId?: string;
13
+ rootDomain?: string;
14
+ rootSpaceId?: string;
15
+ fullPage: boolean;
16
+ darkMode: boolean;
17
+ previewImages: boolean;
18
+ forceCustomImages: boolean;
19
+ showCollectionViewDropdown: boolean;
20
+ showTableOfContents: boolean;
21
+ minTableOfContentsItems: number;
22
+ linkTableTitleProperties: boolean;
23
+ isLinkCollectionToUrlProperty: boolean;
24
+ defaultPageIcon?: string;
25
+ defaultPageCover?: string;
26
+ defaultPageCoverPosition?: number;
27
+ zoom: any;
28
+ }
29
+ export interface PartialNotionContext {
30
+ children?: React.ReactNode;
31
+ recordMap?: ExtendedRecordMap;
32
+ components?: Partial<NotionComponents>;
33
+ mapPageUrl?: MapPageUrlFn;
34
+ mapImageUrl?: MapImageUrlFn;
35
+ searchNotion?: SearchNotionFn;
36
+ isShowingSearch?: boolean;
37
+ onHideSearch?: () => void;
38
+ rootPageId?: string;
39
+ rootDomain?: string;
40
+ rootSpaceId?: string;
41
+ fullPage?: boolean;
42
+ darkMode?: boolean;
43
+ previewImages?: boolean;
44
+ forceCustomImages?: boolean;
45
+ showCollectionViewDropdown?: boolean;
46
+ linkTableTitleProperties?: boolean;
47
+ isLinkCollectionToUrlProperty?: boolean;
48
+ showTableOfContents?: boolean;
49
+ minTableOfContentsItems?: number;
50
+ defaultPageIcon?: string;
51
+ defaultPageCover?: string;
52
+ defaultPageCoverPosition?: number;
53
+ zoom?: any;
54
+ }
55
+ export declare const dummyLink: ({ href, rel, target, title, ...rest }: {
56
+ [x: string]: any;
57
+ href: any;
58
+ rel: any;
59
+ target: any;
60
+ title: any;
61
+ }) => React.JSX.Element;
62
+ export declare const NotionContextProvider: React.FC<PartialNotionContext>;
63
+ export declare const NotionContextConsumer: React.Consumer<NotionContext>;
64
+ export declare const useNotionContext: () => NotionContext;
65
65
  //# sourceMappingURL=context.d.ts.map