@texonom/nreact 1.1.0

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 (185) hide show
  1. package/build/.tsbuildinfo +1 -0
  2. package/build/block.d.ts +21 -0
  3. package/build/block.d.ts.map +1 -0
  4. package/build/chunk-723T62SD.js +83 -0
  5. package/build/chunk-QXNFTOMG.js +2064 -0
  6. package/build/chunk-RGP7M4NM.js +2064 -0
  7. package/build/components/asset-wrapper.d.ts +7 -0
  8. package/build/components/asset-wrapper.d.ts.map +1 -0
  9. package/build/components/asset.d.ts +8 -0
  10. package/build/components/asset.d.ts.map +1 -0
  11. package/build/components/audio.d.ts +7 -0
  12. package/build/components/audio.d.ts.map +1 -0
  13. package/build/components/checkbox.d.ts +6 -0
  14. package/build/components/checkbox.d.ts.map +1 -0
  15. package/build/components/eoi.d.ts +8 -0
  16. package/build/components/eoi.d.ts.map +1 -0
  17. package/build/components/file.d.ts +7 -0
  18. package/build/components/file.d.ts.map +1 -0
  19. package/build/components/google-drive.d.ts +7 -0
  20. package/build/components/google-drive.d.ts.map +1 -0
  21. package/build/components/graceful-image.d.ts +4 -0
  22. package/build/components/graceful-image.d.ts.map +1 -0
  23. package/build/components/header.d.ts +16 -0
  24. package/build/components/header.d.ts.map +1 -0
  25. package/build/components/lazy-image.d.ts +14 -0
  26. package/build/components/lazy-image.d.ts.map +1 -0
  27. package/build/components/lite-youtube-embed.d.ts +14 -0
  28. package/build/components/lite-youtube-embed.d.ts.map +1 -0
  29. package/build/components/page-aside.d.ts +12 -0
  30. package/build/components/page-aside.d.ts.map +1 -0
  31. package/build/components/page-icon.d.ts +17 -0
  32. package/build/components/page-icon.d.ts.map +1 -0
  33. package/build/components/page-title.d.ts +13 -0
  34. package/build/components/page-title.d.ts.map +1 -0
  35. package/build/components/search-dialog.d.ts +26 -0
  36. package/build/components/search-dialog.d.ts.map +1 -0
  37. package/build/components/sync-pointer-block.d.ts +7 -0
  38. package/build/components/sync-pointer-block.d.ts.map +1 -0
  39. package/build/components/text.d.ts +18 -0
  40. package/build/components/text.d.ts.map +1 -0
  41. package/build/context.d.ts +62 -0
  42. package/build/context.d.ts.map +1 -0
  43. package/build/dev/chunk-DC3JZG5M.js +2065 -0
  44. package/build/dev/chunk-DC3JZG5M.js.map +1 -0
  45. package/build/dev/chunk-HLFRY3QP.js +2065 -0
  46. package/build/dev/chunk-HLFRY3QP.js.map +1 -0
  47. package/build/dev/chunk-JX5CEG3A.js +84 -0
  48. package/build/dev/chunk-JX5CEG3A.js.map +1 -0
  49. package/build/dev/index.js +48 -0
  50. package/build/dev/index.js.map +1 -0
  51. package/build/dev/third-party/code.js +142 -0
  52. package/build/dev/third-party/code.js.map +1 -0
  53. package/build/dev/third-party/collection.js +4513 -0
  54. package/build/dev/third-party/collection.js.map +1 -0
  55. package/build/dev/third-party/equation.js +37 -0
  56. package/build/dev/third-party/equation.js.map +1 -0
  57. package/build/dev/third-party/modal.js +8 -0
  58. package/build/dev/third-party/modal.js.map +1 -0
  59. package/build/dev/third-party/pdf.js +21 -0
  60. package/build/dev/third-party/pdf.js.map +1 -0
  61. package/build/icons/check.d.ts +4 -0
  62. package/build/icons/check.d.ts.map +1 -0
  63. package/build/icons/chevron-down-icon.d.ts +3 -0
  64. package/build/icons/chevron-down-icon.d.ts.map +1 -0
  65. package/build/icons/clear-icon.d.ts +3 -0
  66. package/build/icons/clear-icon.d.ts.map +1 -0
  67. package/build/icons/collection-view-board.d.ts +4 -0
  68. package/build/icons/collection-view-board.d.ts.map +1 -0
  69. package/build/icons/collection-view-calendar.d.ts +4 -0
  70. package/build/icons/collection-view-calendar.d.ts.map +1 -0
  71. package/build/icons/collection-view-gallery.d.ts +4 -0
  72. package/build/icons/collection-view-gallery.d.ts.map +1 -0
  73. package/build/icons/collection-view-icon.d.ts +9 -0
  74. package/build/icons/collection-view-icon.d.ts.map +1 -0
  75. package/build/icons/collection-view-list.d.ts +4 -0
  76. package/build/icons/collection-view-list.d.ts.map +1 -0
  77. package/build/icons/collection-view-table.d.ts +4 -0
  78. package/build/icons/collection-view-table.d.ts.map +1 -0
  79. package/build/icons/copy.d.ts +4 -0
  80. package/build/icons/copy.d.ts.map +1 -0
  81. package/build/icons/default-page-icon.d.ts +3 -0
  82. package/build/icons/default-page-icon.d.ts.map +1 -0
  83. package/build/icons/empty-icon.d.ts +3 -0
  84. package/build/icons/empty-icon.d.ts.map +1 -0
  85. package/build/icons/file-icon.d.ts +3 -0
  86. package/build/icons/file-icon.d.ts.map +1 -0
  87. package/build/icons/link-icon.d.ts +3 -0
  88. package/build/icons/link-icon.d.ts.map +1 -0
  89. package/build/icons/loading-icon.d.ts +3 -0
  90. package/build/icons/loading-icon.d.ts.map +1 -0
  91. package/build/icons/property-icon.d.ts +9 -0
  92. package/build/icons/property-icon.d.ts.map +1 -0
  93. package/build/icons/search-icon.d.ts +3 -0
  94. package/build/icons/search-icon.d.ts.map +1 -0
  95. package/build/icons/type-checkbox.d.ts +4 -0
  96. package/build/icons/type-checkbox.d.ts.map +1 -0
  97. package/build/icons/type-date.d.ts +4 -0
  98. package/build/icons/type-date.d.ts.map +1 -0
  99. package/build/icons/type-email.d.ts +4 -0
  100. package/build/icons/type-email.d.ts.map +1 -0
  101. package/build/icons/type-file.d.ts +4 -0
  102. package/build/icons/type-file.d.ts.map +1 -0
  103. package/build/icons/type-formula.d.ts +4 -0
  104. package/build/icons/type-formula.d.ts.map +1 -0
  105. package/build/icons/type-github.d.ts +4 -0
  106. package/build/icons/type-github.d.ts.map +1 -0
  107. package/build/icons/type-multi-select.d.ts +4 -0
  108. package/build/icons/type-multi-select.d.ts.map +1 -0
  109. package/build/icons/type-number.d.ts +4 -0
  110. package/build/icons/type-number.d.ts.map +1 -0
  111. package/build/icons/type-person-2.d.ts +4 -0
  112. package/build/icons/type-person-2.d.ts.map +1 -0
  113. package/build/icons/type-person.d.ts +4 -0
  114. package/build/icons/type-person.d.ts.map +1 -0
  115. package/build/icons/type-phone-number.d.ts +4 -0
  116. package/build/icons/type-phone-number.d.ts.map +1 -0
  117. package/build/icons/type-relation.d.ts +4 -0
  118. package/build/icons/type-relation.d.ts.map +1 -0
  119. package/build/icons/type-select.d.ts +4 -0
  120. package/build/icons/type-select.d.ts.map +1 -0
  121. package/build/icons/type-text.d.ts +4 -0
  122. package/build/icons/type-text.d.ts.map +1 -0
  123. package/build/icons/type-timestamp.d.ts +4 -0
  124. package/build/icons/type-timestamp.d.ts.map +1 -0
  125. package/build/icons/type-title.d.ts +4 -0
  126. package/build/icons/type-title.d.ts.map +1 -0
  127. package/build/icons/type-url.d.ts +4 -0
  128. package/build/icons/type-url.d.ts.map +1 -0
  129. package/build/index.d.ts +8 -0
  130. package/build/index.d.ts.map +1 -0
  131. package/build/index.js +47 -0
  132. package/build/map-image-url.d.ts +3 -0
  133. package/build/map-image-url.d.ts.map +1 -0
  134. package/build/map-page-url.d.ts +2 -0
  135. package/build/map-page-url.d.ts.map +1 -0
  136. package/build/next.d.ts +4 -0
  137. package/build/next.d.ts.map +1 -0
  138. package/build/renderer.d.ts +50 -0
  139. package/build/renderer.d.ts.map +1 -0
  140. package/build/third-party/code.d.ts +17 -0
  141. package/build/third-party/code.d.ts.map +1 -0
  142. package/build/third-party/code.js +141 -0
  143. package/build/third-party/collection-card.d.ts +4 -0
  144. package/build/third-party/collection-card.d.ts.map +1 -0
  145. package/build/third-party/collection-column-title.d.ts +6 -0
  146. package/build/third-party/collection-column-title.d.ts.map +1 -0
  147. package/build/third-party/collection-group.d.ts +4 -0
  148. package/build/third-party/collection-group.d.ts.map +1 -0
  149. package/build/third-party/collection-row.d.ts +8 -0
  150. package/build/third-party/collection-row.d.ts.map +1 -0
  151. package/build/third-party/collection-utils.d.ts +2 -0
  152. package/build/third-party/collection-utils.d.ts.map +1 -0
  153. package/build/third-party/collection-view-board.d.ts +4 -0
  154. package/build/third-party/collection-view-board.d.ts.map +1 -0
  155. package/build/third-party/collection-view-gallery.d.ts +4 -0
  156. package/build/third-party/collection-view-gallery.d.ts.map +1 -0
  157. package/build/third-party/collection-view-list.d.ts +4 -0
  158. package/build/third-party/collection-view-list.d.ts.map +1 -0
  159. package/build/third-party/collection-view-table.d.ts +4 -0
  160. package/build/third-party/collection-view-table.d.ts.map +1 -0
  161. package/build/third-party/collection-view.d.ts +5 -0
  162. package/build/third-party/collection-view.d.ts.map +1 -0
  163. package/build/third-party/collection.d.ts +11 -0
  164. package/build/third-party/collection.d.ts.map +1 -0
  165. package/build/third-party/collection.js +4512 -0
  166. package/build/third-party/equation.d.ts +9 -0
  167. package/build/third-party/equation.d.ts.map +1 -0
  168. package/build/third-party/equation.js +36 -0
  169. package/build/third-party/eval-formula.d.ts +21 -0
  170. package/build/third-party/eval-formula.d.ts.map +1 -0
  171. package/build/third-party/modal.d.ts +3 -0
  172. package/build/third-party/modal.d.ts.map +1 -0
  173. package/build/third-party/modal.js +7 -0
  174. package/build/third-party/pdf.d.ts +5 -0
  175. package/build/third-party/pdf.d.ts.map +1 -0
  176. package/build/third-party/pdf.js +20 -0
  177. package/build/third-party/property.d.ts +22 -0
  178. package/build/third-party/property.d.ts.map +1 -0
  179. package/build/types.d.ts +72 -0
  180. package/build/types.d.ts.map +1 -0
  181. package/build/utils.d.ts +10 -0
  182. package/build/utils.d.ts.map +1 -0
  183. package/package.json +62 -0
  184. package/readme.md +19 -0
  185. package/src/styles.css +2786 -0
@@ -0,0 +1,141 @@
1
+ import {
2
+ Text,
3
+ cs,
4
+ useNotionContext
5
+ } from "../chunk-RGP7M4NM.js";
6
+ import {
7
+ __async,
8
+ __commonJS,
9
+ __spreadValues,
10
+ __toESM
11
+ } from "../chunk-723T62SD.js";
12
+
13
+ // ../../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.js
14
+ var require_clipboard_copy = __commonJS({
15
+ "../../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.js"(exports, module) {
16
+ module.exports = clipboardCopy;
17
+ function makeError() {
18
+ return new DOMException("The request is not allowed", "NotAllowedError");
19
+ }
20
+ function copyClipboardApi(text) {
21
+ return __async(this, null, function* () {
22
+ if (!navigator.clipboard) {
23
+ throw makeError();
24
+ }
25
+ return navigator.clipboard.writeText(text);
26
+ });
27
+ }
28
+ function copyExecCommand(text) {
29
+ return __async(this, null, function* () {
30
+ const span = document.createElement("span");
31
+ span.textContent = text;
32
+ span.style.whiteSpace = "pre";
33
+ span.style.webkitUserSelect = "auto";
34
+ span.style.userSelect = "all";
35
+ document.body.appendChild(span);
36
+ const selection = window.getSelection();
37
+ const range = window.document.createRange();
38
+ selection.removeAllRanges();
39
+ range.selectNode(span);
40
+ selection.addRange(range);
41
+ let success = false;
42
+ try {
43
+ success = window.document.execCommand("copy");
44
+ } finally {
45
+ selection.removeAllRanges();
46
+ window.document.body.removeChild(span);
47
+ }
48
+ if (!success)
49
+ throw makeError();
50
+ });
51
+ }
52
+ function clipboardCopy(text) {
53
+ return __async(this, null, function* () {
54
+ try {
55
+ yield copyClipboardApi(text);
56
+ } catch (err) {
57
+ try {
58
+ yield copyExecCommand(text);
59
+ } catch (err2) {
60
+ throw err2 || err || makeError();
61
+ }
62
+ }
63
+ });
64
+ }
65
+ }
66
+ });
67
+
68
+ // src/third-party/code.tsx
69
+ var import_clipboard_copy = __toESM(require_clipboard_copy(), 1);
70
+ import * as React2 from "react";
71
+ import { getBlockTitle } from "@texonom/nutils";
72
+ import { highlightElement } from "prismjs";
73
+ import "prismjs/components/prism-clike.min.js";
74
+ import "prismjs/components/prism-css-extras.min.js";
75
+ import "prismjs/components/prism-css.min.js";
76
+ import "prismjs/components/prism-javascript.min.js";
77
+ import "prismjs/components/prism-js-extras.min.js";
78
+ import "prismjs/components/prism-json.min.js";
79
+ import "prismjs/components/prism-jsx.min.js";
80
+ import "prismjs/components/prism-tsx.min.js";
81
+ import "prismjs/components/prism-typescript.min.js";
82
+
83
+ // src/icons/copy.tsx
84
+ import * as React from "react";
85
+ function SvgCopy(props) {
86
+ return /* @__PURE__ */ React.createElement("svg", __spreadValues({ fill: "currentColor", viewBox: "0 0 16 16", width: "1em", version: "1.1" }, props), /* @__PURE__ */ React.createElement(
87
+ "path",
88
+ {
89
+ fillRule: "evenodd",
90
+ d: "M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"
91
+ }
92
+ ), /* @__PURE__ */ React.createElement(
93
+ "path",
94
+ {
95
+ fillRule: "evenodd",
96
+ d: "M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"
97
+ }
98
+ ));
99
+ }
100
+ var copy_default = SvgCopy;
101
+
102
+ // src/third-party/code.tsx
103
+ var Code = ({ block, defaultLanguage = "typescript", className }) => {
104
+ var _a, _b, _c;
105
+ const [isCopied, setIsCopied] = React2.useState(false);
106
+ const copyTimeout = React2.useRef();
107
+ const { recordMap } = useNotionContext();
108
+ const content = getBlockTitle(block, recordMap);
109
+ const language = (((_c = (_b = (_a = block.properties) == null ? void 0 : _a.language) == null ? void 0 : _b[0]) == null ? void 0 : _c[0]) || defaultLanguage).toLowerCase();
110
+ const caption = block.properties.caption;
111
+ const codeRef = React2.useRef();
112
+ React2.useEffect(() => {
113
+ if (codeRef.current)
114
+ try {
115
+ highlightElement(codeRef.current);
116
+ } catch (err) {
117
+ console.warn("prismjs highlight error", err);
118
+ }
119
+ }, [codeRef]);
120
+ const onClickCopyToClipboard = React2.useCallback(() => {
121
+ (0, import_clipboard_copy.default)(content);
122
+ setIsCopied(true);
123
+ if (copyTimeout.current) {
124
+ clearTimeout(copyTimeout.current);
125
+ copyTimeout.current = null;
126
+ }
127
+ copyTimeout.current = setTimeout(() => {
128
+ setIsCopied(false);
129
+ }, 1200);
130
+ }, [content, copyTimeout]);
131
+ const copyButton = /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy-button", onClick: onClickCopyToClipboard }, /* @__PURE__ */ React2.createElement(copy_default, null));
132
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("pre", { className: cs("notion-code", className) }, /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy" }, copyButton, isCopied && /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy-tooltip" }, /* @__PURE__ */ React2.createElement("div", null, isCopied ? "Copied" : "Copy"))), /* @__PURE__ */ React2.createElement("code", { className: `language-${language}`, ref: codeRef }, content)), caption && /* @__PURE__ */ React2.createElement("figcaption", { className: "notion-asset-caption" }, /* @__PURE__ */ React2.createElement(Text, { value: caption, block })));
133
+ };
134
+ export {
135
+ Code
136
+ };
137
+ /*! Bundled license information:
138
+
139
+ clipboard-copy/index.js:
140
+ (*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
141
+ */
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionCardProps } from '../types';
3
+ export declare const CollectionCard: React.FC<CollectionCardProps>;
4
+ //# sourceMappingURL=collection-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-card.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAI9C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6KxD,CAAA"}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { CollectionPropertySchema } from '@texonom/ntypes';
3
+ export declare const CollectionColumnTitle: React.FC<{
4
+ schema: CollectionPropertySchema;
5
+ }>;
6
+ //# sourceMappingURL=collection-column-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-column-title.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-column-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAI1D,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,MAAM,EAAE,wBAAwB,CAAA;CACjC,CAQA,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionGroupProps } from '../types';
3
+ export declare const CollectionGroup: React.FC<CollectionGroupProps>;
4
+ //# sourceMappingURL=collection-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-group.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0B1D,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as 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
+ //# sourceMappingURL=collection-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-row.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAO3C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,KAAK,EAAE,SAAS,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CA2DA,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function getCollectionGroups(collection: any, collectionView: any, collectionData: any, ...rest: any[]): any;
2
+ //# sourceMappingURL=collection-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-utils.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,OAAA,OAyCrG"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewBoard: React.FC<CollectionViewProps>;
4
+ //# sourceMappingURL=collection-view-board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-view-board.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-view-board.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAO9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0B7D,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewGallery: React.FC<CollectionViewProps>;
4
+ //# sourceMappingURL=collection-view-gallery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-view-gallery.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-view-gallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAQ9C,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkB/D,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewList: React.FC<CollectionViewProps>;
4
+ //# sourceMappingURL=collection-view-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-view-list.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-view-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAO9C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAY5D,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CollectionViewProps } from '../types';
3
+ export declare const CollectionViewTable: React.FC<CollectionViewProps>;
4
+ //# sourceMappingURL=collection-view-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-view-table.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-view-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAS9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgC7D,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as 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
+ //# sourceMappingURL=collection-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-view.d.ts","sourceRoot":"","sources":["../../src/third-party/collection-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAM9C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoB5D,CAAA;AAED,eAAO,MAAM,cAAc,iDAAiC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import * as types from '@texonom/ntypes';
3
+ import { NotionContext } from '../context';
4
+ import { PropertyImplMemo } from './property';
5
+ export declare const Collection: React.FC<{
6
+ block: types.CollectionViewBlock | types.CollectionViewPageBlock | types.PageBlock;
7
+ className?: string;
8
+ ctx: NotionContext;
9
+ }>;
10
+ export { PropertyImplMemo as Property };
11
+ //# sourceMappingURL=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../src/third-party/collection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAA;AAKxC,OAAO,EAAE,aAAa,EAA2C,MAAM,YAAY,CAAA;AAKnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAI7C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB,GAAG,KAAK,CAAC,uBAAuB,GAAG,KAAK,CAAC,SAAS,CAAA;IAClF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,aAAa,CAAA;CACnB,CAsCA,CAAA;AA6KD,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAA"}