@texonom/nreact 1.1.1 → 1.1.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.
Files changed (97) hide show
  1. package/build/.tsbuildinfo +1 -1
  2. package/build/block.d.ts +20 -20
  3. package/build/chunk-N3C4YBY7.js +1378 -0
  4. package/build/components/asset-wrapper.d.ts +6 -6
  5. package/build/components/asset.d.ts +7 -7
  6. package/build/components/audio.d.ts +6 -6
  7. package/build/components/checkbox.d.ts +5 -5
  8. package/build/components/eoi.d.ts +7 -7
  9. package/build/components/file.d.ts +6 -6
  10. package/build/components/google-drive.d.ts +6 -6
  11. package/build/components/graceful-image.d.ts +3 -3
  12. package/build/components/header.d.ts +15 -15
  13. package/build/components/lazy-image.d.ts +13 -13
  14. package/build/components/lite-youtube-embed.d.ts +13 -13
  15. package/build/components/page-aside.d.ts +11 -11
  16. package/build/components/page-icon.d.ts +16 -16
  17. package/build/components/page-title.d.ts +12 -12
  18. package/build/components/search-dialog.d.ts +25 -25
  19. package/build/components/sync-pointer-block.d.ts +6 -6
  20. package/build/components/text.d.ts +17 -17
  21. package/build/context.d.ts +62 -61
  22. package/build/context.d.ts.map +1 -1
  23. package/build/dev/chunk-XOMF4TSV.js +1379 -0
  24. package/build/dev/chunk-XOMF4TSV.js.map +1 -0
  25. package/build/dev/index.js +697 -3
  26. package/build/dev/index.js.map +1 -1
  27. package/build/dev/third-party/code.js +1 -1
  28. package/build/dev/third-party/collection.js +1 -1
  29. package/build/dev/third-party/collection.js.map +1 -1
  30. package/build/dev/third-party/equation.js +1 -1
  31. package/build/icons/check.d.ts +3 -3
  32. package/build/icons/chevron-down-icon.d.ts +2 -2
  33. package/build/icons/clear-icon.d.ts +2 -2
  34. package/build/icons/collection-view-board.d.ts +3 -3
  35. package/build/icons/collection-view-calendar.d.ts +3 -3
  36. package/build/icons/collection-view-gallery.d.ts +3 -3
  37. package/build/icons/collection-view-icon.d.ts +8 -8
  38. package/build/icons/collection-view-list.d.ts +3 -3
  39. package/build/icons/collection-view-table.d.ts +3 -3
  40. package/build/icons/copy.d.ts +3 -3
  41. package/build/icons/default-page-icon.d.ts +2 -2
  42. package/build/icons/empty-icon.d.ts +2 -2
  43. package/build/icons/file-icon.d.ts +2 -2
  44. package/build/icons/link-icon.d.ts +2 -2
  45. package/build/icons/loading-icon.d.ts +2 -2
  46. package/build/icons/property-icon.d.ts +8 -8
  47. package/build/icons/search-icon.d.ts +2 -2
  48. package/build/icons/type-checkbox.d.ts +3 -3
  49. package/build/icons/type-date.d.ts +3 -3
  50. package/build/icons/type-email.d.ts +3 -3
  51. package/build/icons/type-file.d.ts +3 -3
  52. package/build/icons/type-formula.d.ts +3 -3
  53. package/build/icons/type-github.d.ts +3 -3
  54. package/build/icons/type-multi-select.d.ts +3 -3
  55. package/build/icons/type-number.d.ts +3 -3
  56. package/build/icons/type-person-2.d.ts +3 -3
  57. package/build/icons/type-person.d.ts +3 -3
  58. package/build/icons/type-phone-number.d.ts +3 -3
  59. package/build/icons/type-relation.d.ts +3 -3
  60. package/build/icons/type-select.d.ts +3 -3
  61. package/build/icons/type-text.d.ts +3 -3
  62. package/build/icons/type-timestamp.d.ts +3 -3
  63. package/build/icons/type-title.d.ts +3 -3
  64. package/build/icons/type-url.d.ts +3 -3
  65. package/build/index.d.ts +7 -7
  66. package/build/index.js +697 -3
  67. package/build/map-image-url.d.ts +2 -2
  68. package/build/map-page-url.d.ts +1 -1
  69. package/build/next.d.ts +3 -3
  70. package/build/renderer.d.ts +49 -49
  71. package/build/third-party/code.d.ts +16 -16
  72. package/build/third-party/code.js +1 -1
  73. package/build/third-party/collection-card.d.ts +3 -3
  74. package/build/third-party/collection-column-title.d.ts +5 -5
  75. package/build/third-party/collection-group.d.ts +3 -3
  76. package/build/third-party/collection-row.d.ts +7 -7
  77. package/build/third-party/collection-utils.d.ts +1 -1
  78. package/build/third-party/collection-view-board.d.ts +3 -3
  79. package/build/third-party/collection-view-gallery.d.ts +3 -3
  80. package/build/third-party/collection-view-list.d.ts +3 -3
  81. package/build/third-party/collection-view-table.d.ts +3 -3
  82. package/build/third-party/collection-view.d.ts +4 -4
  83. package/build/third-party/collection.d.ts +10 -10
  84. package/build/third-party/collection.js +1 -1
  85. package/build/third-party/equation.d.ts +8 -8
  86. package/build/third-party/equation.js +1 -1
  87. package/build/third-party/eval-formula.d.ts +20 -20
  88. package/build/third-party/modal.d.ts +2 -2
  89. package/build/third-party/pdf.d.ts +4 -4
  90. package/build/third-party/property.d.ts +21 -21
  91. package/build/types.d.ts +71 -71
  92. package/build/utils.d.ts +9 -9
  93. package/package.json +9 -9
  94. package/readme.md +3 -3
  95. package/build/chunk-RGP7M4NM.js +0 -2064
  96. package/build/dev/chunk-HLFRY3QP.js +0 -2065
  97. package/build/dev/chunk-HLFRY3QP.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  cs,
3
3
  useNotionContext
4
- } from "../chunk-HLFRY3QP.js";
4
+ } from "../chunk-XOMF4TSV.js";
5
5
  import {
6
6
  __objRest,
7
7
  __spreadValues
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- declare function SvgCheck(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCheck;
1
+ import * as 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 * as React from 'react';
2
- export declare const ChevronDownIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- export declare const ClearIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgCollectionViewBoard(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewBoard;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgCollectionViewCalendar(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewCalendar;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgCollectionViewGallery(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewGallery;
1
+ import * as 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 * as 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 * as 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 * as React from 'react';
2
- declare function SvgCollectionViewList(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewList;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgCollectionViewTable(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCollectionViewTable;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgCopy(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgCopy;
1
+ import * as 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 * as React from 'react';
2
- export declare const DefaultPageIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- export declare const EmptyIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- export declare const FileIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- export declare const LinkIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- export declare const LoadingIcon: (props: any) => React.JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const LoadingIcon: (props: any) => React.JSX.Element;
3
3
  //# sourceMappingURL=loading-icon.d.ts.map
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- import { PropertyType } from '@texonom/ntypes';
3
- interface PropertyIconProps {
4
- className?: string;
5
- type: PropertyType;
6
- }
7
- export declare const PropertyIcon: React.FC<PropertyIconProps>;
8
- export {};
1
+ import * as React from 'react';
2
+ import { PropertyType } from '@texonom/ntypes';
3
+ interface PropertyIconProps {
4
+ className?: string;
5
+ type: PropertyType;
6
+ }
7
+ export declare const PropertyIcon: React.FC<PropertyIconProps>;
8
+ export {};
9
9
  //# sourceMappingURL=property-icon.d.ts.map
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- export declare const SearchIcon: (props: any) => React.JSX.Element;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeCheckbox(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeCheckbox;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeDate(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeDate;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeEmail(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeEmail;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeFile(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeFile;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeFormula(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeFormula;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeGitHub(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeGitHub;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeMultiSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeMultiSelect;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeNumber;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypePerson2(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePerson2;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypePerson(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePerson;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypePhoneNumber(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypePhoneNumber;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeRelation(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeRelation;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeSelect(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeSelect;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeText(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeText;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeTimestamp(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeTimestamp;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeTitle(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeTitle;
1
+ import * as 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 * as React from 'react';
2
- declare function SvgTypeUrl(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
3
- export default SvgTypeUrl;
1
+ import * as 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,8 +1,8 @@
1
- export { NotionRenderer } from './renderer';
2
- export * from './types';
3
- export * from './utils';
4
- export * from './context';
5
- export * from './components/text';
6
- export * from './components/header';
7
- export * from './components/page-icon';
1
+ export { NotionRenderer } from './renderer';
2
+ export * from './types';
3
+ export * from './utils';
4
+ export * from './context';
5
+ export * from './components/text';
6
+ export * from './components/header';
7
+ export * from './components/page-icon';
8
8
  //# sourceMappingURL=index.d.ts.map