rotion 0.0.8 → 0.0.9
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 +18 -3
- 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 +24 -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 +331 -0
- package/dist/ui/cjs/types/exporter/files.d.ts +4 -0
- package/dist/ui/cjs/types/exporter/types.d.ts +24 -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/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 +4 -2
- package/dist/ui/cjs/types/ui/components/Page/PdfBlock/PdfBlock.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 +9 -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 +331 -0
- package/dist/ui/esm/types/exporter/files.d.ts +4 -0
- package/dist/ui/esm/types/exporter/types.d.ts +24 -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/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 +4 -2
- package/dist/ui/esm/types/ui/components/Page/PdfBlock/PdfBlock.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 +9 -0
- package/dist/ui/esm/types/ui/components/types.d.ts +0 -8
- package/dist/ui/types.d.ts +64 -53
- package/dist/ui/umd/index.js +1 -20050
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/style.css +331 -0
- package/dist/ui/umd/types/exporter/files.d.ts +4 -0
- package/dist/ui/umd/types/exporter/types.d.ts +24 -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/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 +4 -2
- package/dist/ui/umd/types/ui/components/Page/PdfBlock/PdfBlock.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 +9 -0
- package/dist/ui/umd/types/ui/components/types.d.ts +0 -8
- package/package.json +30 -33
- 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/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/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/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.d.ts +0 -0
- /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.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.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, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, FileBlockObjectResponse, 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,30 @@ type Breadcrumb = {
|
|
|
182
182
|
type BreadcrumbBlockObjectResponseEx = BreadcrumbBlockObjectResponse & {
|
|
183
183
|
list: Breadcrumb[];
|
|
184
184
|
};
|
|
185
|
-
type
|
|
185
|
+
type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
|
|
186
|
+
pdf: {
|
|
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 SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
|
|
206
|
+
children?: ListBlockChildrenResponseEx;
|
|
207
|
+
};
|
|
208
|
+
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 | FileBlockObjectResponse | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
|
|
186
209
|
type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
|
|
187
210
|
results: Array<BlockObjectResponse>;
|
|
188
211
|
children?: ListBlockChildrenResponse;
|
|
@@ -297,24 +320,19 @@ type QueryDatabaseResponseEx = QueryDatabaseResponse & {
|
|
|
297
320
|
meta: GetDatabaseResponseEx;
|
|
298
321
|
};
|
|
299
322
|
|
|
323
|
+
interface FetchDatabaseRes extends QueryDatabaseResponseEx {
|
|
324
|
+
}
|
|
325
|
+
|
|
300
326
|
interface Link extends React.FC<{
|
|
301
327
|
children: string | React.ReactNode;
|
|
302
328
|
className?: string;
|
|
303
329
|
href: string | UrlObject;
|
|
304
330
|
}> {
|
|
305
331
|
}
|
|
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
332
|
|
|
315
333
|
interface GalleryProps {
|
|
316
334
|
keys: string[];
|
|
317
|
-
db:
|
|
335
|
+
db: FetchDatabaseRes;
|
|
318
336
|
href?: string;
|
|
319
337
|
link?: Link;
|
|
320
338
|
query?: ParsedUrlQueryInput;
|
|
@@ -332,9 +350,11 @@ interface GalleryCardProps {
|
|
|
332
350
|
link?: Link;
|
|
333
351
|
query?: ParsedUrlQueryInput;
|
|
334
352
|
preview?: 'cover' | 'content';
|
|
353
|
+
size: 'small' | 'medium' | 'large';
|
|
354
|
+
fit: boolean;
|
|
335
355
|
}
|
|
336
356
|
|
|
337
|
-
declare const GalleryCard: ({ keys, page, href, link, query, preview }: GalleryCardProps) => React.JSX.Element;
|
|
357
|
+
declare const GalleryCard: ({ keys, page, href, link, query, preview, size, fit }: GalleryCardProps) => React.JSX.Element;
|
|
338
358
|
|
|
339
359
|
interface GalleryCheckboxFieldProps {
|
|
340
360
|
payload: boolean;
|
|
@@ -352,9 +372,10 @@ interface GalleryMultiSelectFieldProps {
|
|
|
352
372
|
payload: MultiSelectPropertyItemObjectResponse;
|
|
353
373
|
path: string;
|
|
354
374
|
link?: Link;
|
|
375
|
+
query?: ParsedUrlQueryInput;
|
|
355
376
|
}
|
|
356
377
|
|
|
357
|
-
declare const GalleryMultiSelectField: ({ payload, path, link }: GalleryMultiSelectFieldProps) => React.JSX.Element;
|
|
378
|
+
declare const GalleryMultiSelectField: ({ payload, path, link, query }: GalleryMultiSelectFieldProps) => React.JSX.Element;
|
|
358
379
|
|
|
359
380
|
interface GalleryNumberFieldProps {
|
|
360
381
|
payload: NumberPropertyItemObjectResponse;
|
|
@@ -364,9 +385,10 @@ declare const GalleryNumberField: ({ payload }: GalleryNumberFieldProps) => Reac
|
|
|
364
385
|
|
|
365
386
|
interface GalleryRichTextFieldProps {
|
|
366
387
|
payload: RichTextPropertyItemObjectResponse;
|
|
388
|
+
size?: 'small' | 'medium' | 'large';
|
|
367
389
|
}
|
|
368
390
|
|
|
369
|
-
declare const GalleryRichTextField: ({ payload }: GalleryRichTextFieldProps) => React.JSX.Element;
|
|
391
|
+
declare const GalleryRichTextField: ({ payload, size }: GalleryRichTextFieldProps) => React.JSX.Element;
|
|
370
392
|
|
|
371
393
|
interface GalleryTitleFieldProps {
|
|
372
394
|
payload: Array<TitlePropertyItemObjectResponse>;
|
|
@@ -389,7 +411,7 @@ interface ListProps {
|
|
|
389
411
|
children?: ReactNode;
|
|
390
412
|
}
|
|
391
413
|
|
|
392
|
-
declare const List: React.
|
|
414
|
+
declare const List: ({ keys, db, href, link, query }: ListProps) => React.JSX.Element;
|
|
393
415
|
|
|
394
416
|
interface ListCheckboxFieldProps {
|
|
395
417
|
payload: boolean;
|
|
@@ -465,17 +487,19 @@ declare const TableDateField: ({ payload }: TableDateFieldProps) => React.JSX.El
|
|
|
465
487
|
|
|
466
488
|
interface TableIconProps {
|
|
467
489
|
type: string;
|
|
490
|
+
className?: string;
|
|
468
491
|
}
|
|
469
492
|
|
|
470
|
-
declare const TableIcon: ({ type }: TableIconProps) => React.JSX.Element;
|
|
493
|
+
declare const TableIcon: ({ type, className }: TableIconProps) => React.JSX.Element;
|
|
471
494
|
|
|
472
495
|
interface TableMultiSelectFieldProps {
|
|
473
496
|
payload: MultiSelectPropertyItemObjectResponse;
|
|
474
497
|
path?: string;
|
|
475
498
|
link?: Link;
|
|
499
|
+
query?: ParsedUrlQueryInput;
|
|
476
500
|
}
|
|
477
501
|
|
|
478
|
-
declare const TableMultiSelectField: ({ payload, path, link }: TableMultiSelectFieldProps) => React.JSX.Element;
|
|
502
|
+
declare const TableMultiSelectField: ({ payload, path, link, query }: TableMultiSelectFieldProps) => React.JSX.Element;
|
|
479
503
|
|
|
480
504
|
interface TableNumberFieldProps {
|
|
481
505
|
payload: NumberPropertyItemObjectResponse;
|
|
@@ -493,9 +517,10 @@ interface TableSelectFieldProps {
|
|
|
493
517
|
payload: SelectPropertyItemObjectResponse;
|
|
494
518
|
path?: string;
|
|
495
519
|
link?: Link;
|
|
520
|
+
query?: ParsedUrlQueryInput;
|
|
496
521
|
}
|
|
497
522
|
|
|
498
|
-
declare const TableSelectField: ({ payload, path, link }: TableSelectFieldProps) => React.JSX.Element;
|
|
523
|
+
declare const TableSelectField: ({ payload, path, link, query }: TableSelectFieldProps) => React.JSX.Element;
|
|
499
524
|
|
|
500
525
|
interface TableTitleFieldProps {
|
|
501
526
|
payload: Array<TitlePropertyItemObjectResponse>;
|
|
@@ -518,11 +543,10 @@ interface PageProps {
|
|
|
518
543
|
href?: string;
|
|
519
544
|
link?: Link;
|
|
520
545
|
query?: ParsedUrlQueryInput;
|
|
521
|
-
modules?: ExternalModules;
|
|
522
546
|
breadcrumb_hrefs?: string[];
|
|
523
547
|
}
|
|
524
548
|
|
|
525
|
-
declare const Page: ({ blocks, href, link, query,
|
|
549
|
+
declare const Page: ({ blocks, href, link, query, breadcrumb_hrefs }: PageProps) => React.JSX.Element;
|
|
526
550
|
|
|
527
551
|
interface BookmarkBlockProps {
|
|
528
552
|
block: BookmarkBlockObjectResponseEx;
|
|
@@ -530,30 +554,32 @@ interface BookmarkBlockProps {
|
|
|
530
554
|
|
|
531
555
|
declare const BookmarkBlock: ({ block }: BookmarkBlockProps) => React.JSX.Element;
|
|
532
556
|
|
|
533
|
-
interface
|
|
534
|
-
|
|
557
|
+
interface BreadcrumbBlockProps {
|
|
558
|
+
block: BreadcrumbBlockObjectResponseEx;
|
|
535
559
|
link?: Link;
|
|
536
560
|
hrefs?: string[];
|
|
537
561
|
query?: ParsedUrlQueryInput;
|
|
538
562
|
}
|
|
539
|
-
|
|
540
|
-
|
|
563
|
+
|
|
564
|
+
declare const BreadcrumbBlock: ({ block, link, hrefs, query }: BreadcrumbBlockProps) => React.JSX.Element;
|
|
565
|
+
|
|
566
|
+
interface BreadcrumbsProps {
|
|
567
|
+
list: Breadcrumb[];
|
|
541
568
|
link?: Link;
|
|
542
569
|
hrefs?: string[];
|
|
543
570
|
query?: ParsedUrlQueryInput;
|
|
544
571
|
}
|
|
545
572
|
|
|
546
573
|
declare const Breadcrumbs: ({ list, link, hrefs, query }: BreadcrumbsProps) => React.JSX.Element;
|
|
547
|
-
declare const BreadcrumbBlock: ({ block, link, hrefs, query }: BreadcrumbBlockProps) => React.JSX.Element;
|
|
548
574
|
|
|
549
|
-
interface
|
|
575
|
+
interface BulletedListBlockProps {
|
|
550
576
|
block: BulletedListItemBlockObjectResponseEx;
|
|
551
577
|
href?: string;
|
|
552
578
|
link?: Link;
|
|
553
579
|
query?: ParsedUrlQueryInput;
|
|
554
580
|
}
|
|
555
581
|
|
|
556
|
-
declare const
|
|
582
|
+
declare const BulletedListBlock: ({ block, href, link, query }: BulletedListBlockProps) => React.JSX.Element;
|
|
557
583
|
|
|
558
584
|
interface CalloutBlockProps {
|
|
559
585
|
block: CalloutBlockObjectResponseEx;
|
|
@@ -581,10 +607,9 @@ declare const ChildPageBlock: ({ block, href, link, query }: ChildPageBlockProps
|
|
|
581
607
|
|
|
582
608
|
interface CodeBlockProps {
|
|
583
609
|
block: CodeBlockObjectResponse;
|
|
584
|
-
modules?: ExternalModules;
|
|
585
610
|
}
|
|
586
611
|
|
|
587
|
-
declare const CodeBlock: ({ block
|
|
612
|
+
declare const CodeBlock: ({ block }: CodeBlockProps) => React.JSX.Element;
|
|
588
613
|
|
|
589
614
|
interface ColumnListBlockProps {
|
|
590
615
|
block: ColumnListBlockObjectResponseEx;
|
|
@@ -625,38 +650,30 @@ type LinkPreviewBlockProps = {
|
|
|
625
650
|
|
|
626
651
|
declare const LinkPreviewBlock: ({ block }: LinkPreviewBlockProps) => React.JSX.Element;
|
|
627
652
|
|
|
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 {
|
|
653
|
+
interface NumberedListBlockProps {
|
|
639
654
|
block: NumberedListItemBlockObjectResponseEx;
|
|
640
655
|
href?: string;
|
|
641
656
|
link?: Link;
|
|
642
657
|
query?: ParsedUrlQueryInput;
|
|
643
658
|
}
|
|
644
659
|
|
|
645
|
-
declare const
|
|
660
|
+
declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) => React.JSX.Element;
|
|
646
661
|
|
|
647
662
|
interface PageIconProps {
|
|
648
|
-
name: 'figma' | 'slack' | 'github' | 'link';
|
|
663
|
+
name: 'figma' | 'slack' | 'github' | 'file' | 'link';
|
|
664
|
+
width?: string;
|
|
665
|
+
height?: string;
|
|
649
666
|
}
|
|
650
|
-
declare const PageIcon: ({ name }: PageIconProps) => React.JSX.Element;
|
|
667
|
+
declare const PageIcon: ({ name, width, height }: PageIconProps) => React.JSX.Element;
|
|
651
668
|
|
|
652
669
|
interface PdfBlockProps {
|
|
653
|
-
block:
|
|
670
|
+
block: PdfBlockObjectResponseEx;
|
|
654
671
|
}
|
|
655
672
|
|
|
656
673
|
declare const PdfBlock: ({ block }: PdfBlockProps) => React.JSX.Element;
|
|
657
674
|
|
|
658
675
|
interface SyncedBlockProps {
|
|
659
|
-
block:
|
|
676
|
+
block: SyncedBlockBlockObjectResponseEx;
|
|
660
677
|
}
|
|
661
678
|
|
|
662
679
|
declare const SyncedBlock: ({ block }: SyncedBlockProps) => React.JSX.Element;
|
|
@@ -673,15 +690,9 @@ interface TableOfContentsBlockProps {
|
|
|
673
690
|
|
|
674
691
|
declare const TableOfContentsBlock: ({ block }: TableOfContentsBlockProps) => React.JSX.Element;
|
|
675
692
|
|
|
676
|
-
interface TemplateBlockProps {
|
|
677
|
-
block: TemplateBlockObjectResponse;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
declare const TemplateBlock: ({ block }: TemplateBlockProps) => React.JSX.Element;
|
|
681
|
-
|
|
682
693
|
interface TextBlockProps {
|
|
683
694
|
tag: keyof JSX.IntrinsicElements;
|
|
684
|
-
block:
|
|
695
|
+
block: ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | QuoteBlockObjectResponse | DividerBlockObjectResponse;
|
|
685
696
|
}
|
|
686
697
|
|
|
687
698
|
declare const TextBlock: ({ tag, block }: TextBlockProps) => React.JSX.Element;
|
|
@@ -723,4 +734,4 @@ declare function UsePagination<T>(pages: T[], perPage: number): {
|
|
|
723
734
|
declare function BuildPlainTextByPage(blocks: ListBlockChildrenResponseEx): string;
|
|
724
735
|
declare function pathBasename(str: string): string;
|
|
725
736
|
|
|
726
|
-
export { BookmarkBlock, BreadcrumbBlock, Breadcrumbs, BuildPlainTextByPage,
|
|
737
|
+
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 };
|