@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
@@ -31,7 +31,7 @@ import {
31
31
  isBrowser,
32
32
  isUrl,
33
33
  useNotionContext
34
- } from "./chunk-ZJAJPWJX.js";
34
+ } from "./chunk-SVHGWLRK.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __objRest,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Text,
3
3
  useNotionContext
4
- } from "../chunk-ZJAJPWJX.js";
4
+ } from "../chunk-SVHGWLRK.js";
5
5
  import {
6
6
  __async,
7
7
  __commonJS,
@@ -12,7 +12,7 @@ import {
12
12
  dummyLink,
13
13
  formatDate,
14
14
  useNotionContext
15
- } from "../chunk-ZJAJPWJX.js";
15
+ } from "../chunk-SVHGWLRK.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __objRest,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useNotionContext
3
- } from "../chunk-ZJAJPWJX.js";
3
+ } from "../chunk-SVHGWLRK.js";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadValues
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCheck(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCheck;
1
+ import React from 'react';
2
+ declare function SvgCheck(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCheck;
4
4
  //# sourceMappingURL=check.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const ChevronDownIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const ChevronDownIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=chevron-down-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const ClearIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const ClearIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=clear-icon.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCollectionViewBoard(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewBoard;
1
+ import React from 'react';
2
+ declare function SvgCollectionViewBoard(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCollectionViewBoard;
4
4
  //# sourceMappingURL=collection-view-board.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCollectionViewCalendar(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewCalendar;
1
+ import React from 'react';
2
+ declare function SvgCollectionViewCalendar(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCollectionViewCalendar;
4
4
  //# sourceMappingURL=collection-view-calendar.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCollectionViewGallery(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewGallery;
1
+ import React from 'react';
2
+ declare function SvgCollectionViewGallery(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCollectionViewGallery;
4
4
  //# sourceMappingURL=collection-view-gallery.d.ts.map
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { CollectionViewType } from '@texonom/ntypes';
3
- interface CollectionViewIconProps {
4
- className?: string;
5
- type: CollectionViewType;
6
- }
7
- export declare const CollectionViewIcon: React.FC<CollectionViewIconProps>;
8
- export {};
1
+ import React from 'react';
2
+ import { CollectionViewType } from '@texonom/ntypes';
3
+ interface CollectionViewIconProps {
4
+ className?: string;
5
+ type: CollectionViewType;
6
+ }
7
+ export declare const CollectionViewIcon: React.FC<CollectionViewIconProps>;
8
+ export {};
9
9
  //# sourceMappingURL=collection-view-icon.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCollectionViewList(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewList;
1
+ import React from 'react';
2
+ declare function SvgCollectionViewList(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCollectionViewList;
4
4
  //# sourceMappingURL=collection-view-list.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCollectionViewTable(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewTable;
1
+ import React from 'react';
2
+ declare function SvgCollectionViewTable(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCollectionViewTable;
4
4
  //# sourceMappingURL=collection-view-table.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- declare function SvgCopy(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCopy;
1
+ import React from 'react';
2
+ declare function SvgCopy(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
+ export default SvgCopy;
4
4
  //# sourceMappingURL=copy.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const DefaultPageIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const DefaultPageIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=default-page-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const EmptyIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const EmptyIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=empty-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const FileIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const FileIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=file-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const LinkIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const LinkIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=link-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const LoadingIcon: (props: any) => React.JSX.Element;
1
+ import React from 'react';
2
+ export declare const LoadingIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=loading-icon.d.ts.map
@@ -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-H4QYS6CQ.js";
34
+ } from "./chunk-YMM43AZ3.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __objRest,
@@ -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,51 +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
- 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
- level?: number;
50
- }>;
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
+ level?: number;
50
+ }>;
51
51
  //# sourceMappingURL=renderer.d.ts.map
@@ -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