@texonom/nreact 1.4.5 → 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 (105) 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 -0
  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 -63
  28. package/build/context.d.ts.map +1 -1
  29. package/build/dev/chunk-64UJZ76E.js +1307 -1307
  30. package/build/dev/chunk-N6EDMIQD.js +1358 -1358
  31. package/build/dev/chunk-P3V5A3W4.js +1182 -1182
  32. package/build/dev/chunk-PM5CWL6O.js +157 -157
  33. package/build/dev/chunk-Q4G2SZRD.js +83 -83
  34. package/build/dev/chunk-SEA7YL2O.js +1307 -1307
  35. package/build/dev/chunk-SVHGWLRK.js +1208 -0
  36. package/build/dev/chunk-SVHGWLRK.js.map +1 -0
  37. package/build/dev/chunk-ZJAJPWJX.js +1186 -0
  38. package/build/dev/chunk-ZJAJPWJX.js.map +1 -0
  39. package/build/dev/index.js +4 -1
  40. package/build/dev/index.js.map +1 -1
  41. package/build/dev/third-party/code.js +1 -1
  42. package/build/dev/third-party/collection.js +1 -1
  43. package/build/dev/third-party/equation.js +1 -1
  44. package/build/icons/check.d.ts +3 -3
  45. package/build/icons/chevron-down-icon.d.ts +2 -2
  46. package/build/icons/clear-icon.d.ts +2 -2
  47. package/build/icons/collection-view-board.d.ts +3 -3
  48. package/build/icons/collection-view-calendar.d.ts +3 -3
  49. package/build/icons/collection-view-gallery.d.ts +3 -3
  50. package/build/icons/collection-view-icon.d.ts +8 -8
  51. package/build/icons/collection-view-list.d.ts +3 -3
  52. package/build/icons/collection-view-table.d.ts +3 -3
  53. package/build/icons/copy.d.ts +3 -3
  54. package/build/icons/default-page-icon.d.ts +2 -2
  55. package/build/icons/empty-icon.d.ts +2 -2
  56. package/build/icons/file-icon.d.ts +2 -2
  57. package/build/icons/link-icon.d.ts +2 -2
  58. package/build/icons/loading-icon.d.ts +2 -2
  59. package/build/icons/property-icon.d.ts +44 -44
  60. package/build/icons/search-icon.d.ts +2 -2
  61. package/build/icons/type-checkbox.d.ts +3 -3
  62. package/build/icons/type-date.d.ts +3 -3
  63. package/build/icons/type-email.d.ts +3 -3
  64. package/build/icons/type-file.d.ts +3 -3
  65. package/build/icons/type-formula.d.ts +3 -3
  66. package/build/icons/type-github.d.ts +3 -3
  67. package/build/icons/type-multi-select.d.ts +3 -3
  68. package/build/icons/type-number.d.ts +3 -3
  69. package/build/icons/type-person-2.d.ts +3 -3
  70. package/build/icons/type-person.d.ts +3 -3
  71. package/build/icons/type-phone-number.d.ts +3 -3
  72. package/build/icons/type-relation.d.ts +3 -3
  73. package/build/icons/type-select.d.ts +3 -3
  74. package/build/icons/type-text.d.ts +3 -3
  75. package/build/icons/type-timestamp.d.ts +3 -3
  76. package/build/icons/type-title.d.ts +3 -3
  77. package/build/icons/type-url.d.ts +3 -3
  78. package/build/index.d.ts +24 -24
  79. package/build/index.js +4 -1
  80. package/build/next.d.ts.map +1 -1
  81. package/build/renderer.d.ts +50 -49
  82. package/build/renderer.d.ts.map +1 -1
  83. package/build/third-party/code.d.ts +16 -16
  84. package/build/third-party/code.js +1 -1
  85. package/build/third-party/collection-card.d.ts +3 -3
  86. package/build/third-party/collection-column-title.d.ts +5 -5
  87. package/build/third-party/collection-group.d.ts +3 -3
  88. package/build/third-party/collection-row.d.ts +7 -7
  89. package/build/third-party/collection-utils.d.ts +2 -2
  90. package/build/third-party/collection-view-board.d.ts +3 -3
  91. package/build/third-party/collection-view-gallery.d.ts +3 -3
  92. package/build/third-party/collection-view-list.d.ts +3 -3
  93. package/build/third-party/collection-view-table.d.ts +3 -3
  94. package/build/third-party/collection-view.d.ts +4 -4
  95. package/build/third-party/collection.d.ts +14 -14
  96. package/build/third-party/collection.js +1 -1
  97. package/build/third-party/equation.d.ts +8 -8
  98. package/build/third-party/equation.js +1 -1
  99. package/build/third-party/eval-formula.d.ts +20 -20
  100. package/build/third-party/modal.d.ts +2 -2
  101. package/build/third-party/pdf.d.ts +4 -4
  102. package/build/third-party/property.d.ts +21 -21
  103. package/build/types.d.ts +93 -93
  104. package/build/utils.d.ts +6 -6
  105. package/package.json +3 -3
@@ -1,45 +1,45 @@
1
- import React from 'react';
2
- import { PropertyType } from '@texonom/ntypes';
3
- import CheckboxIcon from './type-checkbox';
4
- import DateIcon from './type-date';
5
- import EmailIcon from './type-email';
6
- import FileIcon from './type-file';
7
- import FormulaIcon from './type-formula';
8
- import MultiSelectIcon from './type-multi-select';
9
- import NumberIcon from './type-number';
10
- import PersonIcon from './type-person';
11
- import Person2Icon from './type-person-2';
12
- import PhoneNumberIcon from './type-phone-number';
13
- import RelationIcon from './type-relation';
14
- import SelectIcon from './type-select';
15
- import TextIcon from './type-text';
16
- import TimestampIcon from './type-timestamp';
17
- import TitleIcon from './type-title';
18
- import UrlIcon from './type-url';
19
- interface PropertyIconProps {
20
- className?: string;
21
- type: PropertyType;
22
- }
23
- export declare const iconMap: {
24
- title: typeof TitleIcon;
25
- text: typeof TextIcon;
26
- number: typeof NumberIcon;
27
- select: typeof SelectIcon;
28
- multi_select: typeof MultiSelectIcon;
29
- date: typeof DateIcon;
30
- person: typeof PersonIcon;
31
- file: typeof FileIcon;
32
- checkbox: typeof CheckboxIcon;
33
- url: typeof UrlIcon;
34
- email: typeof EmailIcon;
35
- phone_number: typeof PhoneNumberIcon;
36
- formula: typeof FormulaIcon;
37
- relation: typeof RelationIcon;
38
- created_time: typeof TimestampIcon;
39
- last_edited_time: typeof TimestampIcon;
40
- created_by: typeof Person2Icon;
41
- last_edited_by: typeof Person2Icon;
42
- };
43
- export declare const PropertyIcon: React.FC<PropertyIconProps>;
44
- export {};
1
+ import React from 'react';
2
+ import { PropertyType } from '@texonom/ntypes';
3
+ import CheckboxIcon from './type-checkbox';
4
+ import DateIcon from './type-date';
5
+ import EmailIcon from './type-email';
6
+ import FileIcon from './type-file';
7
+ import FormulaIcon from './type-formula';
8
+ import MultiSelectIcon from './type-multi-select';
9
+ import NumberIcon from './type-number';
10
+ import PersonIcon from './type-person';
11
+ import Person2Icon from './type-person-2';
12
+ import PhoneNumberIcon from './type-phone-number';
13
+ import RelationIcon from './type-relation';
14
+ import SelectIcon from './type-select';
15
+ import TextIcon from './type-text';
16
+ import TimestampIcon from './type-timestamp';
17
+ import TitleIcon from './type-title';
18
+ import UrlIcon from './type-url';
19
+ interface PropertyIconProps {
20
+ className?: string;
21
+ type: PropertyType;
22
+ }
23
+ export declare const iconMap: {
24
+ title: typeof TitleIcon;
25
+ text: typeof TextIcon;
26
+ number: typeof NumberIcon;
27
+ select: typeof SelectIcon;
28
+ multi_select: typeof MultiSelectIcon;
29
+ date: typeof DateIcon;
30
+ person: typeof PersonIcon;
31
+ file: typeof FileIcon;
32
+ checkbox: typeof CheckboxIcon;
33
+ url: typeof UrlIcon;
34
+ email: typeof EmailIcon;
35
+ phone_number: typeof PhoneNumberIcon;
36
+ formula: typeof FormulaIcon;
37
+ relation: typeof RelationIcon;
38
+ created_time: typeof TimestampIcon;
39
+ last_edited_time: typeof TimestampIcon;
40
+ created_by: typeof Person2Icon;
41
+ last_edited_by: typeof Person2Icon;
42
+ };
43
+ export declare const PropertyIcon: React.FC<PropertyIconProps>;
44
+ export {};
45
45
  //# sourceMappingURL=property-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const SearchIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const SearchIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=search-icon.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeCheckbox(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeCheckbox;
1
+ import React from 'react';
2
+ declare function SvgTypeCheckbox(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeCheckbox;
4
4
  //# sourceMappingURL=type-checkbox.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeDate(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeDate;
1
+ import React from 'react';
2
+ declare function SvgTypeDate(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeDate;
4
4
  //# sourceMappingURL=type-date.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeEmail(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeEmail;
1
+ import React from 'react';
2
+ declare function SvgTypeEmail(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeEmail;
4
4
  //# sourceMappingURL=type-email.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeFile(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeFile;
1
+ import React from 'react';
2
+ declare function SvgTypeFile(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeFile;
4
4
  //# sourceMappingURL=type-file.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeFormula(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeFormula;
1
+ import React from 'react';
2
+ declare function SvgTypeFormula(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeFormula;
4
4
  //# sourceMappingURL=type-formula.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeGitHub(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeGitHub;
1
+ import React from 'react';
2
+ declare function SvgTypeGitHub(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeGitHub;
4
4
  //# sourceMappingURL=type-github.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeMultiSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeMultiSelect;
1
+ import React from 'react';
2
+ declare function SvgTypeMultiSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeMultiSelect;
4
4
  //# sourceMappingURL=type-multi-select.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeNumber;
1
+ import React from 'react';
2
+ declare function SvgTypeNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeNumber;
4
4
  //# sourceMappingURL=type-number.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypePerson2(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePerson2;
1
+ import React from 'react';
2
+ declare function SvgTypePerson2(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypePerson2;
4
4
  //# sourceMappingURL=type-person-2.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypePerson(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePerson;
1
+ import React from 'react';
2
+ declare function SvgTypePerson(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypePerson;
4
4
  //# sourceMappingURL=type-person.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypePhoneNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePhoneNumber;
1
+ import React from 'react';
2
+ declare function SvgTypePhoneNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypePhoneNumber;
4
4
  //# sourceMappingURL=type-phone-number.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeRelation(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeRelation;
1
+ import React from 'react';
2
+ declare function SvgTypeRelation(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeRelation;
4
4
  //# sourceMappingURL=type-relation.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeSelect;
1
+ import React from 'react';
2
+ declare function SvgTypeSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeSelect;
4
4
  //# sourceMappingURL=type-select.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeText(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeText;
1
+ import React from 'react';
2
+ declare function SvgTypeText(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeText;
4
4
  //# sourceMappingURL=type-text.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeTimestamp(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeTimestamp;
1
+ import React from 'react';
2
+ declare function SvgTypeTimestamp(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeTimestamp;
4
4
  //# sourceMappingURL=type-timestamp.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeTitle(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeTitle;
1
+ import React from 'react';
2
+ declare function SvgTypeTitle(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeTitle;
4
4
  //# sourceMappingURL=type-title.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgTypeUrl(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeUrl;
1
+ import React from 'react';
2
+ declare function SvgTypeUrl(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgTypeUrl;
4
4
  //# sourceMappingURL=type-url.d.ts.map
package/build/index.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- export { NotionRenderer } from './renderer';
2
- export * from './block';
3
- export * from './types';
4
- export * from './utils';
5
- export * from './context';
6
- export * from './renderer';
7
- export * from './components/text';
8
- export * from './components/header';
9
- export * from './components/page-icon';
10
- export * from './components/search-dialog';
11
- export * from './components/page-title';
12
- export * from './components/page-aside';
13
- export * from './components/lite-youtube-embed';
14
- export * from './components/file';
15
- export * from './components/eoi';
16
- export * from './components/asset';
17
- export * from './components/audio';
18
- export * from './components/checkbox';
19
- export * from './components/asset-wrapper';
20
- export * from './components/sync-pointer-block';
21
- export * from './components/graceful-image';
22
- export * from './components/google-drive';
23
- export * from './icons/property-icon';
24
- export * from './third-party/collection-column-title';
1
+ export { NotionRenderer } from './renderer';
2
+ export * from './block';
3
+ export * from './types';
4
+ export * from './utils';
5
+ export * from './context';
6
+ export * from './renderer';
7
+ export * from './components/text';
8
+ export * from './components/header';
9
+ export * from './components/page-icon';
10
+ export * from './components/search-dialog';
11
+ export * from './components/page-title';
12
+ export * from './components/page-aside';
13
+ export * from './components/lite-youtube-embed';
14
+ export * from './components/file';
15
+ export * from './components/eoi';
16
+ export * from './components/asset';
17
+ export * from './components/audio';
18
+ export * from './components/checkbox';
19
+ export * from './components/asset-wrapper';
20
+ export * from './components/sync-pointer-block';
21
+ export * from './components/graceful-image';
22
+ export * from './components/google-drive';
23
+ export * from './icons/property-icon';
24
+ export * from './third-party/collection-column-title';
25
25
  //# sourceMappingURL=index.d.ts.map
package/build/index.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  isBrowser,
32
32
  isUrl,
33
33
  useNotionContext
34
- } from "./chunk-IMWLLIUB.js";
34
+ } from "./chunk-YMM43AZ3.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __objRest,
@@ -751,6 +751,7 @@ var NotionRenderer = (_a) => {
751
751
  fullPage,
752
752
  rootPageId,
753
753
  rootDomain,
754
+ rootSpaceId,
754
755
  darkMode,
755
756
  previewImages,
756
757
  forceCustomImages,
@@ -774,6 +775,7 @@ var NotionRenderer = (_a) => {
774
775
  "fullPage",
775
776
  "rootPageId",
776
777
  "rootDomain",
778
+ "rootSpaceId",
777
779
  "darkMode",
778
780
  "previewImages",
779
781
  "forceCustomImages",
@@ -808,6 +810,7 @@ var NotionRenderer = (_a) => {
808
810
  fullPage,
809
811
  rootPageId,
810
812
  rootDomain,
813
+ rootSpaceId,
811
814
  darkMode,
812
815
  previewImages,
813
816
  forceCustomImages,
@@ -1 +1 @@
1
- {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,aAAa,GAAI,WAAW,GAAG,KAAG,KAAK,CAAC,EAAE,CAAC,GAAG,CA+B1D,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,GAAG,KAAG,KAAK,CAAC,EAAE,CAAC,GAAG,CAetD,CAAA"}
1
+ {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,aAAa,GAAI,WAAW,GAAG,KAAG,KAAK,CAAC,EAAE,CAAC,GAAG,CA+B1D,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,GAAG,KAAG,KAAK,CAAC,EAAE,CAAC,GAAG,CA4BtD,CAAA"}
@@ -1,50 +1,51 @@
1
- import React from 'react';
2
- import type { ExtendedRecordMap } from '@texonom/ntypes';
3
- import { MapImageUrlFn, MapPageUrlFn, NotionComponents, SearchNotionFn } from './types';
4
- export declare const NotionRenderer: React.FC<{
5
- recordMap: ExtendedRecordMap;
6
- components?: Partial<NotionComponents>;
7
- mapPageUrl?: MapPageUrlFn;
8
- mapImageUrl?: MapImageUrlFn;
9
- searchNotion?: SearchNotionFn;
10
- isShowingSearch?: boolean;
11
- onHideSearch?: () => void;
12
- rootPageId?: string;
13
- rootDomain?: string;
14
- fullPage?: boolean;
15
- darkMode?: boolean;
16
- previewImages?: boolean;
17
- forceCustomImages?: boolean;
18
- showCollectionViewDropdown?: boolean;
19
- linkTableTitleProperties?: boolean;
20
- isLinkCollectionToUrlProperty?: boolean;
21
- isImageZoomable?: boolean;
22
- showTableOfContents?: boolean;
23
- minTableOfContentsItems?: number;
24
- defaultPageIcon?: string;
25
- defaultPageCover?: string;
26
- defaultPageCoverPosition?: number;
27
- className?: string;
28
- bodyClassName?: string;
29
- header?: React.ReactNode;
30
- footer?: React.ReactNode;
31
- pageHeader?: React.ReactNode;
32
- pageFooter?: React.ReactNode;
33
- pageTitle?: React.ReactNode;
34
- pageAside?: React.ReactNode;
35
- pageCover?: React.ReactNode;
36
- blockId?: string;
37
- hideBlockId?: boolean;
38
- disableHeader?: boolean;
39
- }>;
40
- export declare const NotionBlockRenderer: React.FC<{
41
- className?: string;
42
- bodyClassName?: string;
43
- header?: React.ReactNode;
44
- footer?: React.ReactNode;
45
- disableHeader?: boolean;
46
- blockId?: string;
47
- hideBlockId?: boolean;
48
- level?: number;
49
- }>;
1
+ import React from 'react';
2
+ import type { ExtendedRecordMap } from '@texonom/ntypes';
3
+ import { MapImageUrlFn, MapPageUrlFn, NotionComponents, SearchNotionFn } from './types';
4
+ export declare const NotionRenderer: React.FC<{
5
+ recordMap: ExtendedRecordMap;
6
+ components?: Partial<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
+ linkTableTitleProperties?: boolean;
21
+ isLinkCollectionToUrlProperty?: boolean;
22
+ isImageZoomable?: boolean;
23
+ showTableOfContents?: boolean;
24
+ minTableOfContentsItems?: number;
25
+ defaultPageIcon?: string;
26
+ defaultPageCover?: string;
27
+ defaultPageCoverPosition?: number;
28
+ className?: string;
29
+ bodyClassName?: string;
30
+ header?: React.ReactNode;
31
+ footer?: React.ReactNode;
32
+ pageHeader?: React.ReactNode;
33
+ pageFooter?: React.ReactNode;
34
+ pageTitle?: React.ReactNode;
35
+ pageAside?: React.ReactNode;
36
+ pageCover?: React.ReactNode;
37
+ blockId?: string;
38
+ hideBlockId?: boolean;
39
+ disableHeader?: boolean;
40
+ }>;
41
+ export declare const NotionBlockRenderer: React.FC<{
42
+ className?: string;
43
+ bodyClassName?: string;
44
+ header?: React.ReactNode;
45
+ footer?: React.ReactNode;
46
+ disableHeader?: boolean;
47
+ blockId?: string;
48
+ hideBlockId?: boolean;
49
+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,KAAK,CAAC,SAAS,CAAA;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAiEA,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAkBA,CAAA"}
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- import { CodeBlock } from '@texonom/ntypes';
3
- import 'prismjs/components/prism-clike.min.js';
4
- import 'prismjs/components/prism-css-extras.min.js';
5
- import 'prismjs/components/prism-css.min.js';
6
- import 'prismjs/components/prism-javascript.min.js';
7
- import 'prismjs/components/prism-js-extras.min.js';
8
- import 'prismjs/components/prism-json.min.js';
9
- import 'prismjs/components/prism-jsx.min.js';
10
- import 'prismjs/components/prism-tsx.min.js';
11
- import 'prismjs/components/prism-typescript.min.js';
12
- export declare const Code: React.FC<{
13
- block: CodeBlock;
14
- defaultLanguage?: string;
15
- className?: string;
16
- }>;
1
+ import React from 'react';
2
+ import { CodeBlock } from '@texonom/ntypes';
3
+ import 'prismjs/components/prism-clike.min.js';
4
+ import 'prismjs/components/prism-css-extras.min.js';
5
+ import 'prismjs/components/prism-css.min.js';
6
+ import 'prismjs/components/prism-javascript.min.js';
7
+ import 'prismjs/components/prism-js-extras.min.js';
8
+ import 'prismjs/components/prism-json.min.js';
9
+ import 'prismjs/components/prism-jsx.min.js';
10
+ import 'prismjs/components/prism-tsx.min.js';
11
+ import 'prismjs/components/prism-typescript.min.js';
12
+ export declare const Code: React.FC<{
13
+ block: CodeBlock;
14
+ defaultLanguage?: string;
15
+ className?: string;
16
+ }>;
17
17
  //# sourceMappingURL=code.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Text,
3
3
  useNotionContext
4
- } from "../chunk-IMWLLIUB.js";
4
+ } from "../chunk-YMM43AZ3.js";
5
5
  import {
6
6
  __async,
7
7
  __commonJS,
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionCardProps } from '../types';
3
- export declare const CollectionCard: React.FC<CollectionCardProps>;
1
+ import React from 'react';
2
+ import { CollectionCardProps } from '../types';
3
+ export declare const CollectionCard: React.FC<CollectionCardProps>;
4
4
  //# sourceMappingURL=collection-card.d.ts.map
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { CollectionPropertySchema } from '@texonom/ntypes';
3
- export declare const CollectionColumnTitle: React.FC<{
4
- schema: CollectionPropertySchema;
5
- }>;
1
+ import React from 'react';
2
+ import { CollectionPropertySchema } from '@texonom/ntypes';
3
+ export declare const CollectionColumnTitle: React.FC<{
4
+ schema: CollectionPropertySchema;
5
+ }>;
6
6
  //# sourceMappingURL=collection-column-title.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionGroupProps } from '../types';
3
- export declare const CollectionGroup: React.FC<CollectionGroupProps>;
1
+ import React from 'react';
2
+ import { CollectionGroupProps } from '../types';
3
+ export declare const CollectionGroup: React.FC<CollectionGroupProps>;
4
4
  //# sourceMappingURL=collection-group.d.ts.map
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { PageBlock } from '@texonom/ntypes';
3
- export declare const CollectionRow: React.FC<{
4
- block: PageBlock;
5
- pageHeader?: boolean;
6
- className?: string;
7
- }>;
1
+ import React from 'react';
2
+ import { PageBlock } from '@texonom/ntypes';
3
+ export declare const CollectionRow: React.FC<{
4
+ block: PageBlock;
5
+ pageHeader?: boolean;
6
+ className?: string;
7
+ }>;
8
8
  //# sourceMappingURL=collection-row.d.ts.map
@@ -1,3 +1,3 @@
1
- import type { CollectionView, Collection } from '@texonom/ntypes';
2
- export declare function getCollectionGroups(collection: Collection, collectionView: CollectionView, collectionData: any, ...rest: any[]): any;
1
+ import type { CollectionView, Collection } from '@texonom/ntypes';
2
+ export declare function getCollectionGroups(collection: Collection, collectionView: CollectionView, collectionData: any, ...rest: any[]): any;
3
3
  //# sourceMappingURL=collection-utils.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionViewProps } from '../types';
3
- export declare const CollectionViewBoard: React.FC<CollectionViewProps>;
1
+ import React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewBoard: React.FC<CollectionViewProps>;
4
4
  //# sourceMappingURL=collection-view-board.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionViewProps } from '../types';
3
- export declare const CollectionViewGallery: React.FC<CollectionViewProps>;
1
+ import React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewGallery: React.FC<CollectionViewProps>;
4
4
  //# sourceMappingURL=collection-view-gallery.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionViewProps } from '../types';
3
- export declare const CollectionViewList: React.FC<CollectionViewProps>;
1
+ import React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewList: React.FC<CollectionViewProps>;
4
4
  //# sourceMappingURL=collection-view-list.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollectionViewProps } from '../types';
3
- export declare const CollectionViewTable: React.FC<CollectionViewProps>;
1
+ import React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewTable: React.FC<CollectionViewProps>;
4
4
  //# sourceMappingURL=collection-view-table.d.ts.map
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { CollectionViewProps } from '../types';
3
- export declare const CollectionViewImpl: React.FC<CollectionViewProps>;
4
- export declare const CollectionView: React.NamedExoticComponent<CollectionViewProps>;
1
+ import React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewImpl: React.FC<CollectionViewProps>;
4
+ export declare const CollectionView: React.NamedExoticComponent<CollectionViewProps>;
5
5
  //# sourceMappingURL=collection-view.d.ts.map