rotion 0.0.8 → 0.0.10

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 (299) hide show
  1. package/README.md +20 -32
  2. package/dist/exporter/api.js +2 -2
  3. package/dist/exporter/api.js.map +1 -1
  4. package/dist/exporter/blocks.js +26 -4
  5. package/dist/exporter/blocks.js.map +1 -1
  6. package/dist/exporter/files.d.ts +4 -0
  7. package/dist/exporter/files.js +44 -1
  8. package/dist/exporter/files.js.map +1 -1
  9. package/dist/exporter/types.d.ts +44 -1
  10. package/dist/exporter/variables.d.ts +1 -0
  11. package/dist/exporter/variables.js +1 -0
  12. package/dist/exporter/variables.js.map +1 -1
  13. package/dist/ui/cjs/index.js +1 -20046
  14. package/dist/ui/cjs/index.js.map +1 -1
  15. package/dist/ui/cjs/style.css +342 -0
  16. package/dist/ui/cjs/types/exporter/files.d.ts +4 -0
  17. package/dist/ui/cjs/types/exporter/types.d.ts +44 -1
  18. package/dist/ui/cjs/types/exporter/variables.d.ts +1 -0
  19. package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  20. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  21. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  22. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  23. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  24. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  25. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  26. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  27. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  28. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  29. package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  30. package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  31. package/dist/ui/cjs/types/ui/components/List/Column.d.ts +4 -0
  32. package/dist/ui/cjs/types/ui/components/List/Column.types.d.ts +11 -0
  33. package/dist/ui/cjs/types/ui/components/List/List.d.ts +4 -1
  34. package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  35. package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  36. package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  37. package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  38. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  39. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  40. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  41. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  42. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  43. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  44. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  45. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  46. package/dist/ui/{umd/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  47. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  48. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  49. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  50. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  51. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  52. package/dist/ui/cjs/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  53. package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  54. package/dist/ui/cjs/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  55. package/dist/ui/cjs/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  56. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  57. package/dist/ui/{esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  58. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  59. package/dist/ui/cjs/types/ui/components/Page/Page.d.ts +1 -1
  60. package/dist/ui/cjs/types/ui/components/Page/Page.types.d.ts +2 -2
  61. package/dist/ui/cjs/types/ui/components/Page/PageHandler.d.ts +1 -1
  62. package/dist/ui/cjs/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  63. package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
  64. package/dist/ui/cjs/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  65. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  66. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  67. package/dist/ui/{esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
  68. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  69. package/dist/ui/{umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts → cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  70. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  71. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  72. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  73. package/dist/ui/cjs/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  74. package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  75. package/dist/ui/cjs/types/ui/components/Table/Column.d.ts +4 -0
  76. package/dist/ui/cjs/types/ui/components/Table/Column.types.d.ts +11 -0
  77. package/dist/ui/cjs/types/ui/components/Table/TableHandler.d.ts +1 -1
  78. package/dist/ui/cjs/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  79. package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  80. package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  81. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  82. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  83. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  84. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  85. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  86. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  87. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  88. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  89. package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  90. package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  91. package/dist/ui/cjs/types/ui/components/index.d.ts +1 -3
  92. package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +19 -0
  93. package/dist/ui/cjs/types/ui/components/types.d.ts +0 -8
  94. package/dist/ui/esm/index.js +1 -19985
  95. package/dist/ui/esm/index.js.map +1 -1
  96. package/dist/ui/esm/style.css +342 -0
  97. package/dist/ui/esm/types/exporter/files.d.ts +4 -0
  98. package/dist/ui/esm/types/exporter/types.d.ts +44 -1
  99. package/dist/ui/esm/types/exporter/variables.d.ts +1 -0
  100. package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  101. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  102. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  103. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  104. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  105. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  106. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  107. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  108. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  109. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  110. package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  111. package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  112. package/dist/ui/esm/types/ui/components/List/Column.d.ts +4 -0
  113. package/dist/ui/esm/types/ui/components/List/Column.types.d.ts +11 -0
  114. package/dist/ui/esm/types/ui/components/List/List.d.ts +4 -1
  115. package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  116. package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  117. package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  118. package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  119. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  120. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  121. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  122. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  123. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  124. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  125. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  126. package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  127. package/dist/ui/{cjs/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  128. package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  129. package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  130. package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  131. package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  132. package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  133. package/dist/ui/esm/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  134. package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  135. package/dist/ui/esm/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  136. package/dist/ui/esm/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  137. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  138. package/dist/ui/{umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  139. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  140. package/dist/ui/esm/types/ui/components/Page/Page.d.ts +1 -1
  141. package/dist/ui/esm/types/ui/components/Page/Page.types.d.ts +2 -2
  142. package/dist/ui/esm/types/ui/components/Page/PageHandler.d.ts +1 -1
  143. package/dist/ui/esm/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  144. package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
  145. package/dist/ui/esm/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  146. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  147. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  148. package/dist/ui/{umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → esm/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
  149. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  150. package/dist/ui/{cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts → esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  151. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  152. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  153. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  154. package/dist/ui/esm/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  155. package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  156. package/dist/ui/esm/types/ui/components/Table/Column.d.ts +4 -0
  157. package/dist/ui/esm/types/ui/components/Table/Column.types.d.ts +11 -0
  158. package/dist/ui/esm/types/ui/components/Table/TableHandler.d.ts +1 -1
  159. package/dist/ui/esm/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  160. package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  161. package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  162. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  163. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  164. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  165. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  166. package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  167. package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  168. package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  169. package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  170. package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  171. package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  172. package/dist/ui/esm/types/ui/components/index.d.ts +1 -3
  173. package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +19 -0
  174. package/dist/ui/esm/types/ui/components/types.d.ts +0 -8
  175. package/dist/ui/types.d.ts +86 -54
  176. package/dist/ui/umd/index.js +1 -20050
  177. package/dist/ui/umd/index.js.map +1 -1
  178. package/dist/ui/umd/style.css +342 -0
  179. package/dist/ui/umd/types/exporter/files.d.ts +4 -0
  180. package/dist/ui/umd/types/exporter/types.d.ts +44 -1
  181. package/dist/ui/umd/types/exporter/variables.d.ts +1 -0
  182. package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  183. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  184. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  185. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  186. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  187. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  188. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  189. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  190. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  191. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  192. package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  193. package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  194. package/dist/ui/umd/types/ui/components/List/Column.d.ts +4 -0
  195. package/dist/ui/umd/types/ui/components/List/Column.types.d.ts +11 -0
  196. package/dist/ui/umd/types/ui/components/List/List.d.ts +4 -1
  197. package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  198. package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  199. package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  200. package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  201. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  202. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  203. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  204. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  205. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  206. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  207. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  208. package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  209. package/dist/ui/{esm/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  210. package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  211. package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  212. package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  213. package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  214. package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  215. package/dist/ui/umd/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  216. package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  217. package/dist/ui/umd/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  218. package/dist/ui/umd/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  219. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  220. package/dist/ui/{cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  221. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  222. package/dist/ui/umd/types/ui/components/Page/Page.d.ts +1 -1
  223. package/dist/ui/umd/types/ui/components/Page/Page.types.d.ts +2 -2
  224. package/dist/ui/umd/types/ui/components/Page/PageHandler.d.ts +1 -1
  225. package/dist/ui/umd/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  226. package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
  227. package/dist/ui/umd/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  228. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  229. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  230. package/dist/ui/{cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → umd/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
  231. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  232. package/dist/ui/{esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts → umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  233. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  234. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  235. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  236. package/dist/ui/umd/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  237. package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  238. package/dist/ui/umd/types/ui/components/Table/Column.d.ts +4 -0
  239. package/dist/ui/umd/types/ui/components/Table/Column.types.d.ts +11 -0
  240. package/dist/ui/umd/types/ui/components/Table/TableHandler.d.ts +1 -1
  241. package/dist/ui/umd/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  242. package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  243. package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  244. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  245. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  246. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  247. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  248. package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  249. package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  250. package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  251. package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  252. package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  253. package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  254. package/dist/ui/umd/types/ui/components/index.d.ts +1 -3
  255. package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +19 -0
  256. package/dist/ui/umd/types/ui/components/types.d.ts +0 -8
  257. package/package.json +35 -36
  258. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  259. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  260. package/dist/ui/cjs/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  261. package/dist/ui/cjs/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  262. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  263. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  264. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
  265. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  266. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  267. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  268. package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  269. package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  270. package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  271. package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  272. package/dist/ui/esm/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  273. package/dist/ui/esm/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  274. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  275. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  276. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
  277. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  278. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  279. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  280. package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  281. package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  282. package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  283. package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  284. package/dist/ui/umd/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  285. package/dist/ui/umd/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  286. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  287. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  288. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
  289. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  290. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  291. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  292. package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  293. package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  294. /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  295. /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
  296. /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  297. /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
  298. /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  299. /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, BreadcrumbBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, SyncedBlockBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, PdfBlockObjectResponse, FileBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, ParagraphBlockObjectResponse, GetSelfResponse, MultiSelectPropertyItemObjectResponse, NumberPropertyItemObjectResponse, RichTextPropertyItemObjectResponse, TitlePropertyItemObjectResponse, SelectPropertyItemObjectResponse } from '@notionhq/client/build/src/api-endpoints.js';
2
+ import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, FileBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, MultiSelectPropertyItemObjectResponse, NumberPropertyItemObjectResponse, RichTextPropertyItemObjectResponse, TitlePropertyItemObjectResponse, SelectPropertyItemObjectResponse } from '@notionhq/client/build/src/api-endpoints.js';
3
3
  import { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import { UrlObject } from 'node:url';
5
5
 
@@ -182,7 +182,50 @@ type Breadcrumb = {
182
182
  type BreadcrumbBlockObjectResponseEx = BreadcrumbBlockObjectResponse & {
183
183
  list: Breadcrumb[];
184
184
  };
185
- type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponse | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponse | FileBlockObjectResponse | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
185
+ type FileBlockObjectResponseEx = FileBlockObjectResponse & {
186
+ file: {
187
+ type: "external";
188
+ external: {
189
+ url: TextRequest;
190
+ };
191
+ caption: Array<RichTextItemResponse>;
192
+ src: string;
193
+ size: number;
194
+ } | {
195
+ type: 'file';
196
+ file: {
197
+ url: string;
198
+ expiry_time: string;
199
+ };
200
+ caption: Array<RichTextItemResponse>;
201
+ src: string;
202
+ size: number;
203
+ };
204
+ };
205
+ type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
206
+ pdf: {
207
+ type: "external";
208
+ external: {
209
+ url: TextRequest;
210
+ };
211
+ caption: Array<RichTextItemResponse>;
212
+ src: string;
213
+ size: number;
214
+ } | {
215
+ type: 'file';
216
+ file: {
217
+ url: string;
218
+ expiry_time: string;
219
+ };
220
+ caption: Array<RichTextItemResponse>;
221
+ src: string;
222
+ size: number;
223
+ };
224
+ };
225
+ type SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
226
+ children?: ListBlockChildrenResponseEx;
227
+ };
228
+ type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
186
229
  type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
187
230
  results: Array<BlockObjectResponse>;
188
231
  children?: ListBlockChildrenResponse;
@@ -297,24 +340,19 @@ type QueryDatabaseResponseEx = QueryDatabaseResponse & {
297
340
  meta: GetDatabaseResponseEx;
298
341
  };
299
342
 
343
+ interface FetchDatabaseRes extends QueryDatabaseResponseEx {
344
+ }
345
+
300
346
  interface Link extends React.FC<{
301
347
  children: string | React.ReactNode;
302
348
  className?: string;
303
349
  href: string | UrlObject;
304
350
  }> {
305
351
  }
306
- interface ExternalModules {
307
- mermaid?: {
308
- init: (config?: {}, nodes?: string | HTMLElement, callback?: ((id: string) => unknown) | undefined) => Promise<void>;
309
- };
310
- prism?: {
311
- highlightElement: (element: Element, async?: boolean | undefined, callback?: (element: Element) => void | undefined) => void;
312
- };
313
- }
314
352
 
315
353
  interface GalleryProps {
316
354
  keys: string[];
317
- db: QueryDatabaseResponseEx;
355
+ db: FetchDatabaseRes;
318
356
  href?: string;
319
357
  link?: Link;
320
358
  query?: ParsedUrlQueryInput;
@@ -332,9 +370,11 @@ interface GalleryCardProps {
332
370
  link?: Link;
333
371
  query?: ParsedUrlQueryInput;
334
372
  preview?: 'cover' | 'content';
373
+ size: 'small' | 'medium' | 'large';
374
+ fit: boolean;
335
375
  }
336
376
 
337
- declare const GalleryCard: ({ keys, page, href, link, query, preview }: GalleryCardProps) => React.JSX.Element;
377
+ declare const GalleryCard: ({ keys, page, href, link, query, preview, size, fit }: GalleryCardProps) => React.JSX.Element;
338
378
 
339
379
  interface GalleryCheckboxFieldProps {
340
380
  payload: boolean;
@@ -352,9 +392,10 @@ interface GalleryMultiSelectFieldProps {
352
392
  payload: MultiSelectPropertyItemObjectResponse;
353
393
  path: string;
354
394
  link?: Link;
395
+ query?: ParsedUrlQueryInput;
355
396
  }
356
397
 
357
- declare const GalleryMultiSelectField: ({ payload, path, link }: GalleryMultiSelectFieldProps) => React.JSX.Element;
398
+ declare const GalleryMultiSelectField: ({ payload, path, link, query }: GalleryMultiSelectFieldProps) => React.JSX.Element;
358
399
 
359
400
  interface GalleryNumberFieldProps {
360
401
  payload: NumberPropertyItemObjectResponse;
@@ -364,9 +405,10 @@ declare const GalleryNumberField: ({ payload }: GalleryNumberFieldProps) => Reac
364
405
 
365
406
  interface GalleryRichTextFieldProps {
366
407
  payload: RichTextPropertyItemObjectResponse;
408
+ size?: 'small' | 'medium' | 'large';
367
409
  }
368
410
 
369
- declare const GalleryRichTextField: ({ payload }: GalleryRichTextFieldProps) => React.JSX.Element;
411
+ declare const GalleryRichTextField: ({ payload, size }: GalleryRichTextFieldProps) => React.JSX.Element;
370
412
 
371
413
  interface GalleryTitleFieldProps {
372
414
  payload: Array<TitlePropertyItemObjectResponse>;
@@ -389,7 +431,7 @@ interface ListProps {
389
431
  children?: ReactNode;
390
432
  }
391
433
 
392
- declare const List: React.FC<ListProps>;
434
+ declare const List: ({ keys, db, href, link, query }: ListProps) => React.JSX.Element;
393
435
 
394
436
  interface ListCheckboxFieldProps {
395
437
  payload: boolean;
@@ -465,17 +507,19 @@ declare const TableDateField: ({ payload }: TableDateFieldProps) => React.JSX.El
465
507
 
466
508
  interface TableIconProps {
467
509
  type: string;
510
+ className?: string;
468
511
  }
469
512
 
470
- declare const TableIcon: ({ type }: TableIconProps) => React.JSX.Element;
513
+ declare const TableIcon: ({ type, className }: TableIconProps) => React.JSX.Element;
471
514
 
472
515
  interface TableMultiSelectFieldProps {
473
516
  payload: MultiSelectPropertyItemObjectResponse;
474
517
  path?: string;
475
518
  link?: Link;
519
+ query?: ParsedUrlQueryInput;
476
520
  }
477
521
 
478
- declare const TableMultiSelectField: ({ payload, path, link }: TableMultiSelectFieldProps) => React.JSX.Element;
522
+ declare const TableMultiSelectField: ({ payload, path, link, query }: TableMultiSelectFieldProps) => React.JSX.Element;
479
523
 
480
524
  interface TableNumberFieldProps {
481
525
  payload: NumberPropertyItemObjectResponse;
@@ -493,9 +537,10 @@ interface TableSelectFieldProps {
493
537
  payload: SelectPropertyItemObjectResponse;
494
538
  path?: string;
495
539
  link?: Link;
540
+ query?: ParsedUrlQueryInput;
496
541
  }
497
542
 
498
- declare const TableSelectField: ({ payload, path, link }: TableSelectFieldProps) => React.JSX.Element;
543
+ declare const TableSelectField: ({ payload, path, link, query }: TableSelectFieldProps) => React.JSX.Element;
499
544
 
500
545
  interface TableTitleFieldProps {
501
546
  payload: Array<TitlePropertyItemObjectResponse>;
@@ -518,11 +563,10 @@ interface PageProps {
518
563
  href?: string;
519
564
  link?: Link;
520
565
  query?: ParsedUrlQueryInput;
521
- modules?: ExternalModules;
522
566
  breadcrumb_hrefs?: string[];
523
567
  }
524
568
 
525
- declare const Page: ({ blocks, href, link, query, modules, breadcrumb_hrefs }: PageProps) => React.JSX.Element;
569
+ declare const Page: ({ blocks, href, link, query, breadcrumb_hrefs }: PageProps) => React.JSX.Element;
526
570
 
527
571
  interface BookmarkBlockProps {
528
572
  block: BookmarkBlockObjectResponseEx;
@@ -530,30 +574,32 @@ interface BookmarkBlockProps {
530
574
 
531
575
  declare const BookmarkBlock: ({ block }: BookmarkBlockProps) => React.JSX.Element;
532
576
 
533
- interface BreadcrumbsProps {
534
- list: Breadcrumb[];
577
+ interface BreadcrumbBlockProps {
578
+ block: BreadcrumbBlockObjectResponseEx;
535
579
  link?: Link;
536
580
  hrefs?: string[];
537
581
  query?: ParsedUrlQueryInput;
538
582
  }
539
- interface BreadcrumbBlockProps {
540
- block: BreadcrumbBlockObjectResponseEx;
583
+
584
+ declare const BreadcrumbBlock: ({ block, link, hrefs, query }: BreadcrumbBlockProps) => React.JSX.Element;
585
+
586
+ interface BreadcrumbsProps {
587
+ list: Breadcrumb[];
541
588
  link?: Link;
542
589
  hrefs?: string[];
543
590
  query?: ParsedUrlQueryInput;
544
591
  }
545
592
 
546
593
  declare const Breadcrumbs: ({ list, link, hrefs, query }: BreadcrumbsProps) => React.JSX.Element;
547
- declare const BreadcrumbBlock: ({ block, link, hrefs, query }: BreadcrumbBlockProps) => React.JSX.Element;
548
594
 
549
- interface BulletedListBlocksProps {
595
+ interface BulletedListBlockProps {
550
596
  block: BulletedListItemBlockObjectResponseEx;
551
597
  href?: string;
552
598
  link?: Link;
553
599
  query?: ParsedUrlQueryInput;
554
600
  }
555
601
 
556
- declare const BulletedListBlocks: ({ block, href, link, query }: BulletedListBlocksProps) => React.JSX.Element;
602
+ declare const BulletedListBlock: ({ block, href, link, query }: BulletedListBlockProps) => React.JSX.Element;
557
603
 
558
604
  interface CalloutBlockProps {
559
605
  block: CalloutBlockObjectResponseEx;
@@ -581,10 +627,9 @@ declare const ChildPageBlock: ({ block, href, link, query }: ChildPageBlockProps
581
627
 
582
628
  interface CodeBlockProps {
583
629
  block: CodeBlockObjectResponse;
584
- modules?: ExternalModules;
585
630
  }
586
631
 
587
- declare const CodeBlock: ({ block, modules }: CodeBlockProps) => React.JSX.Element;
632
+ declare const CodeBlock: ({ block }: CodeBlockProps) => React.JSX.Element;
588
633
 
589
634
  interface ColumnListBlockProps {
590
635
  block: ColumnListBlockObjectResponseEx;
@@ -608,7 +653,7 @@ interface EquationBlockProps {
608
653
  declare const EquationBlock: ({ block }: EquationBlockProps) => React.JSX.Element;
609
654
 
610
655
  interface FileBlockProps {
611
- block: FileBlockObjectResponse;
656
+ block: FileBlockObjectResponseEx;
612
657
  }
613
658
 
614
659
  declare const FileBlock: ({ block }: FileBlockProps) => React.JSX.Element;
@@ -625,38 +670,31 @@ type LinkPreviewBlockProps = {
625
670
 
626
671
  declare const LinkPreviewBlock: ({ block }: LinkPreviewBlockProps) => React.JSX.Element;
627
672
 
628
- interface ListBlockProps {
629
- tag: keyof JSX.IntrinsicElements;
630
- blocks: BlockObjectResponse[];
631
- href?: string;
632
- link?: Link;
633
- query?: ParsedUrlQueryInput;
634
- }
635
-
636
- declare const ListBlock: ({ tag, blocks, href, link, query }: ListBlockProps) => React.JSX.Element;
637
-
638
- interface NumberedListBlocksProps {
673
+ interface NumberedListBlockProps {
639
674
  block: NumberedListItemBlockObjectResponseEx;
640
675
  href?: string;
641
676
  link?: Link;
642
677
  query?: ParsedUrlQueryInput;
643
678
  }
644
679
 
645
- declare const NumberedListBlocks: ({ block, href, link, query }: NumberedListBlocksProps) => React.JSX.Element;
680
+ declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) => React.JSX.Element;
646
681
 
647
682
  interface PageIconProps {
648
- name: 'figma' | 'slack' | 'github' | 'link';
683
+ name: 'figma' | 'slack' | 'github' | 'file' | 'link';
684
+ width?: string;
685
+ height?: string;
686
+ className?: string;
649
687
  }
650
- declare const PageIcon: ({ name }: PageIconProps) => React.JSX.Element;
688
+ declare const PageIcon: ({ name, width, height, className }: PageIconProps) => React.JSX.Element;
651
689
 
652
690
  interface PdfBlockProps {
653
- block: PdfBlockObjectResponse;
691
+ block: PdfBlockObjectResponseEx;
654
692
  }
655
693
 
656
694
  declare const PdfBlock: ({ block }: PdfBlockProps) => React.JSX.Element;
657
695
 
658
696
  interface SyncedBlockProps {
659
- block: SyncedBlockBlockObjectResponse;
697
+ block: SyncedBlockBlockObjectResponseEx;
660
698
  }
661
699
 
662
700
  declare const SyncedBlock: ({ block }: SyncedBlockProps) => React.JSX.Element;
@@ -673,15 +711,9 @@ interface TableOfContentsBlockProps {
673
711
 
674
712
  declare const TableOfContentsBlock: ({ block }: TableOfContentsBlockProps) => React.JSX.Element;
675
713
 
676
- interface TemplateBlockProps {
677
- block: TemplateBlockObjectResponse;
678
- }
679
-
680
- declare const TemplateBlock: ({ block }: TemplateBlockProps) => React.JSX.Element;
681
-
682
714
  interface TextBlockProps {
683
715
  tag: keyof JSX.IntrinsicElements;
684
- block: RichTextItemResponse[] | undefined;
716
+ block: ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | QuoteBlockObjectResponse | DividerBlockObjectResponse;
685
717
  }
686
718
 
687
719
  declare const TextBlock: ({ tag, block }: TextBlockProps) => React.JSX.Element;
@@ -723,4 +755,4 @@ declare function UsePagination<T>(pages: T[], perPage: number): {
723
755
  declare function BuildPlainTextByPage(blocks: ListBlockChildrenResponseEx): string;
724
756
  declare function pathBasename(str: string): string;
725
757
 
726
- export { BookmarkBlock, BreadcrumbBlock, Breadcrumbs, BuildPlainTextByPage, BulletedListBlocks, CalloutBlock, ChildDatabaseBlock, ChildPageBlock, CodeBlock, ColumnListBlock, EmbedBlock, EquationBlock, type ExternalModules, FileBlock, Gallery, GalleryCard, GalleryCheckboxField, GalleryDateField, GalleryMultiSelectField, GalleryNumberField, GalleryRichTextField, GalleryTitleField, GalleryUrlField, ImageBlock, type Link, LinkPreviewBlock, List, ListBlock, ListCheckboxField, ListDateField, ListMultiSelectField, ListNumberField, ListRichTextField, ListTitleField, ListUrlField, NumberedListBlocks, Page, PageIcon, PdfBlock, RichText, SyncedBlock, Table, TableBlock, TableCheckboxField, TableDateField, TableIcon, TableMultiSelectField, TableNumberField, TableOfContentsBlock, TableRichTextField, TableSelectField, TableTitleField, TableUrlField, TemplateBlock, TextBlock, ToDoBlock, ToggleBlock, UsePagination, VideoBlock, getLinkPathAndLinkKey, pathBasename, queryToString };
758
+ export { BookmarkBlock, BreadcrumbBlock, Breadcrumbs, BuildPlainTextByPage, BulletedListBlock, CalloutBlock, ChildDatabaseBlock, ChildPageBlock, CodeBlock, ColumnListBlock, EmbedBlock, EquationBlock, FileBlock, Gallery, GalleryCard, GalleryCheckboxField, GalleryDateField, GalleryMultiSelectField, GalleryNumberField, GalleryRichTextField, GalleryTitleField, GalleryUrlField, ImageBlock, type Link, LinkPreviewBlock, List, ListCheckboxField, ListDateField, ListMultiSelectField, ListNumberField, ListRichTextField, ListTitleField, ListUrlField, NumberedListBlock, Page, PageIcon, PdfBlock, RichText, SyncedBlock, Table, TableBlock, TableCheckboxField, TableDateField, TableIcon, TableMultiSelectField, TableNumberField, TableOfContentsBlock, TableRichTextField, TableSelectField, TableTitleField, TableUrlField, TextBlock, ToDoBlock, ToggleBlock, UsePagination, VideoBlock, getLinkPathAndLinkKey, pathBasename, queryToString };