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.
- package/README.md +20 -32
- package/dist/exporter/api.js +2 -2
- package/dist/exporter/api.js.map +1 -1
- package/dist/exporter/blocks.js +26 -4
- package/dist/exporter/blocks.js.map +1 -1
- package/dist/exporter/files.d.ts +4 -0
- package/dist/exporter/files.js +44 -1
- package/dist/exporter/files.js.map +1 -1
- package/dist/exporter/types.d.ts +44 -1
- package/dist/exporter/variables.d.ts +1 -0
- package/dist/exporter/variables.js +1 -0
- package/dist/exporter/variables.js.map +1 -1
- package/dist/ui/cjs/index.js +1 -20046
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/style.css +342 -0
- package/dist/ui/cjs/types/exporter/files.d.ts +4 -0
- package/dist/ui/cjs/types/exporter/types.d.ts +44 -1
- package/dist/ui/cjs/types/exporter/variables.d.ts +1 -0
- package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
- package/dist/ui/cjs/types/ui/components/List/Column.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/List/Column.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/List/List.d.ts +4 -1
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
- 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
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
- package/dist/ui/cjs/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
- 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
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/Page.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/Page.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/PageHandler.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/PageHandler.types.d.ts +1 -2
- package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
- package/dist/ui/cjs/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
- package/dist/ui/{esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
- 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
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Table/Column.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Table/Column.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/Table/TableHandler.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/index.d.ts +1 -3
- package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +19 -0
- package/dist/ui/cjs/types/ui/components/types.d.ts +0 -8
- package/dist/ui/esm/index.js +1 -19985
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/style.css +342 -0
- package/dist/ui/esm/types/exporter/files.d.ts +4 -0
- package/dist/ui/esm/types/exporter/types.d.ts +44 -1
- package/dist/ui/esm/types/exporter/variables.d.ts +1 -0
- package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
- package/dist/ui/esm/types/ui/components/List/Column.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/List/Column.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/List/List.d.ts +4 -1
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
- 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
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
- package/dist/ui/esm/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
- 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
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/Page.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/Page.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/PageHandler.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/PageHandler.types.d.ts +1 -2
- package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
- package/dist/ui/esm/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
- package/dist/ui/{umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → esm/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
- 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
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Table/Column.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Table/Column.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/Table/TableHandler.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/index.d.ts +1 -3
- package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +19 -0
- package/dist/ui/esm/types/ui/components/types.d.ts +0 -8
- package/dist/ui/types.d.ts +86 -54
- package/dist/ui/umd/index.js +1 -20050
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/style.css +342 -0
- package/dist/ui/umd/types/exporter/files.d.ts +4 -0
- package/dist/ui/umd/types/exporter/types.d.ts +44 -1
- package/dist/ui/umd/types/exporter/variables.d.ts +1 -0
- package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
- package/dist/ui/umd/types/ui/components/List/Column.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/List/Column.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/List/List.d.ts +4 -1
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
- 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
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
- package/dist/ui/umd/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
- 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
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/Page.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/Page.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/PageHandler.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/PageHandler.types.d.ts +1 -2
- package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +5 -2
- package/dist/ui/umd/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
- package/dist/ui/{cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion → umd/types/ui/components/Page/RichText/Mention/LinkPreviewMention}/LinkPreviewMention.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
- 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
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Table/Column.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Table/Column.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/Table/TableHandler.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/index.d.ts +1 -3
- package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +19 -0
- package/dist/ui/umd/types/ui/components/types.d.ts +0 -8
- package/package.json +35 -36
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
- /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
- /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
- /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
- /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
- /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
package/dist/ui/types.d.ts
CHANGED
|
@@ -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,
|
|
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
|
|
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:
|
|
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.
|
|
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,
|
|
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
|
|
534
|
-
|
|
577
|
+
interface BreadcrumbBlockProps {
|
|
578
|
+
block: BreadcrumbBlockObjectResponseEx;
|
|
535
579
|
link?: Link;
|
|
536
580
|
hrefs?: string[];
|
|
537
581
|
query?: ParsedUrlQueryInput;
|
|
538
582
|
}
|
|
539
|
-
|
|
540
|
-
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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:
|
|
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,
|
|
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 };
|