rotion 3.0.0-rc.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +63 -0
- package/README.md +63 -0
- package/dist/ui/components/Gallery/Gallery.types.d.ts +2 -2
- package/dist/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryDateField/GalleryDateField.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryRichTextField/GalleryRichTextField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GallerySelectField/GallerySelectField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +1 -1
- package/dist/ui/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +1 -1
- package/dist/ui/components/List/Column.d.ts +1 -1
- package/dist/ui/components/List/List.types.d.ts +1 -1
- package/dist/ui/components/List/ListDateField/ListDateField.d.ts +1 -1
- package/dist/ui/components/List/ListFormulaField/ListFormulaField.types.d.ts +1 -1
- package/dist/ui/components/List/ListHandler.d.ts +1 -1
- package/dist/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +1 -1
- package/dist/ui/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +1 -1
- package/dist/ui/components/List/ListNumberField/ListNumberField.types.d.ts +1 -1
- package/dist/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/components/List/ListSelectField/ListSelectField.d.ts +1 -1
- package/dist/ui/components/List/ListSelectField/ListSelectField.types.d.ts +1 -1
- package/dist/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +1 -1
- package/dist/ui/components/List/ListTitleField/ListTitleField.types.d.ts +2 -2
- package/dist/ui/components/List/ListUrlField/ListUrlField.d.ts +1 -1
- package/dist/ui/components/Page/BookmarkBlock/BookmarkBlock.d.ts +1 -1
- package/dist/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +1 -1
- package/dist/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +2 -2
- package/dist/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +1 -1
- package/dist/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/ChildPageBlock/ChildPageBlock.d.ts +1 -1
- package/dist/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/EmbedBlock/EmbedBlock.d.ts +1 -1
- package/dist/ui/components/Page/FileBlock/FileBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +1 -1
- package/dist/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +2 -2
- package/dist/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/Page.types.d.ts +1 -1
- package/dist/ui/components/Page/PageHandler.d.ts +1 -1
- package/dist/ui/components/Page/PageHandler.types.d.ts +1 -1
- package/dist/ui/components/Page/SyncedBlock/SyncedBlock.d.ts +1 -1
- package/dist/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/TableBlock/TableBlock.d.ts +1 -1
- package/dist/ui/components/Page/TableBlock/TableBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/TextBlock/TextBlock.types.d.ts +1 -1
- package/dist/ui/components/Page/ToDoBlock/ToDoBlock.d.ts +1 -1
- package/dist/ui/components/Page/VideoBlock/VideoBlock.d.ts +1 -1
- package/dist/ui/components/Page/VideoBlock/VideoBlock.types.d.ts +1 -1
- package/dist/ui/components/RichText/Annotation/Annotation.d.ts +1 -1
- package/dist/ui/components/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/ui/components/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
- package/dist/ui/components/RichText/Mention/DateMention/DateMention.types.d.ts +1 -1
- package/dist/ui/components/RichText/Mention/Mention.d.ts +1 -1
- package/dist/ui/components/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts +1 -1
- package/dist/ui/components/RichText/Mention/UserMention/UserMention.d.ts +1 -1
- package/dist/ui/components/RichText/RichText.d.ts +1 -1
- package/dist/ui/components/Table/Column.d.ts +1 -1
- package/dist/ui/components/Table/Column.types.d.ts +1 -1
- package/dist/ui/components/Table/Table.types.d.ts +1 -1
- package/dist/ui/components/Table/TableDateField/TableDateField.d.ts +1 -1
- package/dist/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +1 -1
- package/dist/ui/components/Table/TableHandler.d.ts +1 -1
- package/dist/ui/components/Table/TableHandler.types.d.ts +1 -1
- package/dist/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +1 -1
- package/dist/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +1 -1
- package/dist/ui/components/Table/TableNumberField/TableNumberField.types.d.ts +1 -1
- package/dist/ui/components/Table/TableRichTextField/TableRichTextField.d.ts +1 -1
- package/dist/ui/components/Table/TableRichTextField/TableRichTextField.types.d.ts +1 -1
- package/dist/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
- package/dist/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +1 -1
- package/dist/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +1 -1
- package/dist/ui/components/Table/TableTitleField/TableTitleField.types.d.ts +2 -2
- package/dist/ui/components/Table/TableUrlField/TableUrlField.d.ts +1 -1
- package/dist/ui/components/TableOfContents/TableOfContents.types.d.ts +1 -1
- package/dist/ui/components/TableOfContents/index.d.ts +1 -2
- package/dist/ui/components/index.d.ts +22 -22
- package/dist/ui/components/lib.d.ts +1 -1
- package/dist/ui/components/types.d.ts +1 -1
- package/dist/ui/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui/esm/components/Gallery/Gallery.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryCard.js +9 -9
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryCard.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryHandler.js +9 -20
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryHandler.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryLinkedCard.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryCard/GalleryLinkedCard.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryDateField/GalleryDateField.js +10 -8
- package/dist/ui/esm/components/Gallery/GalleryDateField/GalleryDateField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryFormulaField/GalleryFormulaField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryMultiSelectField/LinkedTag.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryMultiSelectField/LinkedTag.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryNumberField/GalleryNumberField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryPreview/GalleryPreview.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryPreview/GalleryPreview.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryRichTextField/GalleryRichTextField.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryRichTextField/GalleryRichTextField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GallerySelectField/GallerySelectField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GallerySelectField/LinkedTag.js +1 -1
- package/dist/ui/esm/components/Gallery/GallerySelectField/LinkedTag.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryTitleField/GalleryTitleField.js +1 -1
- package/dist/ui/esm/components/Gallery/GalleryTitleField/GalleryTitleField.js.map +1 -1
- package/dist/ui/esm/components/Gallery/GalleryUrlField/GalleryUrlField.js +2 -2
- package/dist/ui/esm/components/Gallery/GalleryUrlField/GalleryUrlField.js.map +1 -1
- package/dist/ui/esm/components/Icon/Icon.js +1 -1
- package/dist/ui/esm/components/Icon/Icon.js.map +1 -1
- package/dist/ui/esm/components/List/Column.js +8 -8
- package/dist/ui/esm/components/List/Column.js.map +1 -1
- package/dist/ui/esm/components/List/List.js.map +1 -1
- package/dist/ui/esm/components/List/ListCheckboxField/ListCheckboxField.js.map +1 -1
- package/dist/ui/esm/components/List/ListDateField/ListDateField.js +10 -8
- package/dist/ui/esm/components/List/ListDateField/ListDateField.js.map +1 -1
- package/dist/ui/esm/components/List/ListFormulaField/ListFormulaField.js.map +1 -1
- package/dist/ui/esm/components/List/ListHandler.js +9 -20
- package/dist/ui/esm/components/List/ListHandler.js.map +1 -1
- package/dist/ui/esm/components/List/ListMultiSelectField/LinkedTagIfLinked.js +1 -1
- package/dist/ui/esm/components/List/ListMultiSelectField/LinkedTagIfLinked.js.map +1 -1
- package/dist/ui/esm/components/List/ListMultiSelectField/ListMultiSelectField.js +3 -3
- package/dist/ui/esm/components/List/ListMultiSelectField/ListMultiSelectField.js.map +1 -1
- package/dist/ui/esm/components/List/ListNumberField/ListNumberField.js.map +1 -1
- package/dist/ui/esm/components/List/ListRichTextField/ListRichTextField.js +1 -1
- package/dist/ui/esm/components/List/ListRichTextField/ListRichTextField.js.map +1 -1
- package/dist/ui/esm/components/List/ListSelectField/LinkedTagIfLinked.js +1 -1
- package/dist/ui/esm/components/List/ListSelectField/LinkedTagIfLinked.js.map +1 -1
- package/dist/ui/esm/components/List/ListSelectField/ListSelectField.js +2 -2
- package/dist/ui/esm/components/List/ListSelectField/ListSelectField.js.map +1 -1
- package/dist/ui/esm/components/List/ListTitleField/LinkedTitle.js +4 -4
- package/dist/ui/esm/components/List/ListTitleField/LinkedTitle.js.map +1 -1
- package/dist/ui/esm/components/List/ListTitleField/ListTitleField.js.map +1 -1
- package/dist/ui/esm/components/List/ListUrlField/ListUrlField.js +2 -2
- package/dist/ui/esm/components/List/ListUrlField/ListUrlField.js.map +1 -1
- package/dist/ui/esm/components/Page/BookmarkBlock/BookmarkBlock.js +3 -3
- package/dist/ui/esm/components/Page/BookmarkBlock/BookmarkBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/BreadcrumbBlock/BreadcrumbBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/BreadcrumbBlock/Breadcrumbs.js +1 -1
- package/dist/ui/esm/components/Page/BreadcrumbBlock/Breadcrumbs.js.map +1 -1
- package/dist/ui/esm/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.js +1 -1
- package/dist/ui/esm/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.js.map +1 -1
- package/dist/ui/esm/components/Page/BulletedListBlock/BulletedListBlock.js +3 -4
- package/dist/ui/esm/components/Page/BulletedListBlock/BulletedListBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/CalloutBlock/CalloutBlock.js +4 -4
- package/dist/ui/esm/components/Page/CalloutBlock/CalloutBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.js +3 -3
- package/dist/ui/esm/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ChildPageBlock/ChildPageBlock.js +3 -3
- package/dist/ui/esm/components/Page/ChildPageBlock/ChildPageBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/CodeBlock/Code/Code.js +20 -20
- package/dist/ui/esm/components/Page/CodeBlock/Code/Code.js.map +1 -1
- package/dist/ui/esm/components/Page/CodeBlock/CodeBlock.js +2 -2
- package/dist/ui/esm/components/Page/CodeBlock/CodeBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ColumnListBlock/ColumnListBlock.js +2 -1
- package/dist/ui/esm/components/Page/ColumnListBlock/ColumnListBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/EmbedBlock/EmbedBlock.js +5 -5
- package/dist/ui/esm/components/Page/EmbedBlock/EmbedBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/EquationBlock/EquationBlock.js +1 -1
- package/dist/ui/esm/components/Page/EquationBlock/EquationBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/FileBlock/FileBlock.js +5 -3
- package/dist/ui/esm/components/Page/FileBlock/FileBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ImageBlock/ImageBlock.js +3 -3
- package/dist/ui/esm/components/Page/ImageBlock/ImageBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/LinkPreviewBlock/LinkPreviewBlock.js +11 -11
- package/dist/ui/esm/components/Page/LinkPreviewBlock/LinkPreviewBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ListBlocks/ListBlocks.js +1 -1
- package/dist/ui/esm/components/Page/ListBlocks/ListBlocks.js.map +1 -1
- package/dist/ui/esm/components/Page/NumberedListBlock/NumberedListBlock.js +3 -4
- package/dist/ui/esm/components/Page/NumberedListBlock/NumberedListBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/Page.js +1 -1
- package/dist/ui/esm/components/Page/Page.js.map +1 -1
- package/dist/ui/esm/components/Page/PageHandler.js +3 -3
- package/dist/ui/esm/components/Page/PageHandler.js.map +1 -1
- package/dist/ui/esm/components/Page/PdfBlock/Pdf.js +24 -10
- package/dist/ui/esm/components/Page/PdfBlock/Pdf.js.map +1 -1
- package/dist/ui/esm/components/Page/PdfBlock/PdfBlock.js +3 -3
- package/dist/ui/esm/components/Page/PdfBlock/PdfBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/SyncedBlock/SyncedBlock.js +2 -2
- package/dist/ui/esm/components/Page/SyncedBlock/SyncedBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/TableBlock/TableBlock.js +8 -8
- package/dist/ui/esm/components/Page/TableBlock/TableBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/TableOfContentsBlock/TableOfContentsBlock.js +1 -1
- package/dist/ui/esm/components/Page/TableOfContentsBlock/TableOfContentsBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/TextBlock/TextBlock.js +3 -3
- package/dist/ui/esm/components/Page/TextBlock/TextBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ToDoBlock/ToDoBlock.js +4 -4
- package/dist/ui/esm/components/Page/ToDoBlock/ToDoBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/ToggleBlock/ToggleBlock.js +3 -3
- package/dist/ui/esm/components/Page/ToggleBlock/ToggleBlock.js.map +1 -1
- package/dist/ui/esm/components/Page/VideoBlock/VideoBlock.js +4 -4
- package/dist/ui/esm/components/Page/VideoBlock/VideoBlock.js.map +1 -1
- package/dist/ui/esm/components/PrefixSuffix/PrefixSuffix.js.map +1 -1
- package/dist/ui/esm/components/RichText/Annotation/Annotation.js +3 -4
- package/dist/ui/esm/components/RichText/Annotation/Annotation.js.map +1 -1
- package/dist/ui/esm/components/RichText/Caption.js +1 -1
- package/dist/ui/esm/components/RichText/Caption.js.map +1 -1
- package/dist/ui/esm/components/RichText/Equation/Equation.js +1 -1
- package/dist/ui/esm/components/RichText/Equation/Equation.js.map +1 -1
- package/dist/ui/esm/components/RichText/LinkIfLinked/LinkIfLinked.js +1 -1
- package/dist/ui/esm/components/RichText/LinkIfLinked/LinkIfLinked.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/DateMention/DateMention.js +3 -3
- package/dist/ui/esm/components/RichText/Mention/DateMention/DateMention.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/LinkPreviewMention/LinkPreviewMention.js +4 -4
- package/dist/ui/esm/components/RichText/Mention/LinkPreviewMention/LinkPreviewMention.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/Mention.js +12 -12
- package/dist/ui/esm/components/RichText/Mention/Mention.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.js +1 -1
- package/dist/ui/esm/components/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/TemplateMention/TemplateMention.js.map +1 -1
- package/dist/ui/esm/components/RichText/Mention/UserMention/UserMention.js +2 -2
- package/dist/ui/esm/components/RichText/Mention/UserMention/UserMention.js.map +1 -1
- package/dist/ui/esm/components/RichText/RichText.js +5 -5
- package/dist/ui/esm/components/RichText/RichText.js.map +1 -1
- package/dist/ui/esm/components/RichText/Text/Text.js +1 -1
- package/dist/ui/esm/components/RichText/Text/Text.js.map +1 -1
- package/dist/ui/esm/components/Table/Column.js +8 -8
- package/dist/ui/esm/components/Table/Column.js.map +1 -1
- package/dist/ui/esm/components/Table/Table.js +2 -2
- package/dist/ui/esm/components/Table/Table.js.map +1 -1
- package/dist/ui/esm/components/Table/TableCheckboxField/TableCheckboxField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableDateField/TableDateField.js +10 -8
- package/dist/ui/esm/components/Table/TableDateField/TableDateField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableFormulaField/TableFormulaField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableHandler.js +9 -20
- package/dist/ui/esm/components/Table/TableHandler.js.map +1 -1
- package/dist/ui/esm/components/Table/TableIcon/TableIcon.js +1 -2
- package/dist/ui/esm/components/Table/TableIcon/TableIcon.js.map +1 -1
- package/dist/ui/esm/components/Table/TableMultiSelectField/LinkedTagIfLinked.js +1 -1
- package/dist/ui/esm/components/Table/TableMultiSelectField/LinkedTagIfLinked.js.map +1 -1
- package/dist/ui/esm/components/Table/TableMultiSelectField/TableMultiSelectField.js +1 -1
- package/dist/ui/esm/components/Table/TableMultiSelectField/TableMultiSelectField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableNumberField/TableNumberField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableRichTextField/TableRichTextField.js +3 -3
- package/dist/ui/esm/components/Table/TableRichTextField/TableRichTextField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableSelectField/LinkedTagIfLinked.js +1 -1
- package/dist/ui/esm/components/Table/TableSelectField/LinkedTagIfLinked.js.map +1 -1
- package/dist/ui/esm/components/Table/TableSelectField/TableSelectField.js +2 -2
- package/dist/ui/esm/components/Table/TableSelectField/TableSelectField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableTitleField/LinkedTitleIfLinked.js +1 -1
- package/dist/ui/esm/components/Table/TableTitleField/LinkedTitleIfLinked.js.map +1 -1
- package/dist/ui/esm/components/Table/TableTitleField/TableTitleField.js +2 -2
- package/dist/ui/esm/components/Table/TableTitleField/TableTitleField.js.map +1 -1
- package/dist/ui/esm/components/Table/TableUrlField/TableUrlField.js +2 -2
- package/dist/ui/esm/components/Table/TableUrlField/TableUrlField.js.map +1 -1
- package/dist/ui/esm/components/TableOfContents/TableOfContents.js +4 -2
- package/dist/ui/esm/components/TableOfContents/TableOfContents.js.map +1 -1
- package/dist/ui/esm/components/TableOfContents/index.js +1 -2
- package/dist/ui/esm/components/TableOfContents/index.js.map +1 -1
- package/dist/ui/esm/components/index.js +22 -22
- package/dist/ui/esm/components/index.js.map +1 -1
- package/dist/ui/esm/components/lib.js +9 -7
- package/dist/ui/esm/components/lib.js.map +1 -1
- package/package.json +9 -15
package/README.ja.md
CHANGED
|
@@ -176,6 +176,69 @@ const db = await FetchDatabase({ database_id: 'YOUR_DATABASE_ID' })
|
|
|
176
176
|
- `Checkbox` - チェックボックスの表示
|
|
177
177
|
- `createClientLink` - Next.js App Router用ヘルパー(v2.0.1以降)
|
|
178
178
|
|
|
179
|
+
サンプル
|
|
180
|
+
--
|
|
181
|
+
|
|
182
|
+
`examples/` ディレクトリには、Notionデータベース連携を実演する完全なサンプルが含まれています。
|
|
183
|
+
|
|
184
|
+
### データベースのセットアップ
|
|
185
|
+
|
|
186
|
+
すべてのサンプルは、以下のプロパティを持つNotionデータベースが必要です:
|
|
187
|
+
|
|
188
|
+
| プロパティ名 | プロパティ型 |
|
|
189
|
+
|------------|-------------|
|
|
190
|
+
| Title | `title` |
|
|
191
|
+
| Tags | `multi_select`|
|
|
192
|
+
| Date | `date` |
|
|
193
|
+
|
|
194
|
+
### [nextjs-approuter](./examples/nextjs-approuter)
|
|
195
|
+
データベース対応のNext.js App Routerサンプル:
|
|
196
|
+
- インデックスページにデータベーステーブルビュー
|
|
197
|
+
- 個別記事用の動的 `[id]` ルート
|
|
198
|
+
- `generateStaticParams` を使ったServer Components
|
|
199
|
+
- CSS Modulesによるスタイリング
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
cd examples/nextjs-approuter
|
|
203
|
+
cp .env.example .env.local
|
|
204
|
+
# NOTION_TOKENとNOTION_DATABASE_IDを設定
|
|
205
|
+
npm install
|
|
206
|
+
npm run dev
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### [nextjs-pagerouter](./examples/nextjs-pagerouter)
|
|
210
|
+
データベース対応のNext.js Pages Routerサンプル:
|
|
211
|
+
- `getStaticProps` を使ったデータベーステーブルビュー
|
|
212
|
+
- `getStaticPaths` による動的 `[id]` ルート
|
|
213
|
+
- 従来のSSGワークフロー
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
cd examples/nextjs-pagerouter
|
|
217
|
+
cp .env.example .env.local
|
|
218
|
+
# NOTION_TOKENとNOTION_DATABASE_IDを設定
|
|
219
|
+
npm install
|
|
220
|
+
npm run dev
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### [astro](./examples/astro)
|
|
224
|
+
データベース対応のAstroサンプル:
|
|
225
|
+
- `.astro` ファイルでのデータベーステーブルビュー
|
|
226
|
+
- `getStaticPaths` による動的ルート
|
|
227
|
+
- `client:load` によるReactコンポーネント
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
cd examples/astro
|
|
231
|
+
cp .env.example .env
|
|
232
|
+
# NOTION_TOKENとNOTION_DATABASE_IDを設定
|
|
233
|
+
npm install
|
|
234
|
+
npm run dev
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
各サンプルのデモ内容:
|
|
238
|
+
- 3つのプロパティすべてを表示するデータベーステーブルビュー
|
|
239
|
+
- 完全なコンテンツを持つ個別記事ページ
|
|
240
|
+
- データベースと記事ビュー間のナビゲーション
|
|
241
|
+
|
|
179
242
|
スクリプト
|
|
180
243
|
--
|
|
181
244
|
|
package/README.md
CHANGED
|
@@ -175,6 +175,69 @@ Main Exports
|
|
|
175
175
|
- `Checkbox` – Renders checkboxes
|
|
176
176
|
- `createClientLink` – Helper for Next.js App Router (v2.0.1+)
|
|
177
177
|
|
|
178
|
+
Examples
|
|
179
|
+
--
|
|
180
|
+
|
|
181
|
+
The `examples/` directory contains complete working examples demonstrating Notion database integration.
|
|
182
|
+
|
|
183
|
+
### Database Setup
|
|
184
|
+
|
|
185
|
+
All examples require a Notion database with the following properties:
|
|
186
|
+
|
|
187
|
+
| Property Name | Property Type |
|
|
188
|
+
|--------------|---------------|
|
|
189
|
+
| Title | `title` |
|
|
190
|
+
| Tags | `multi_select`|
|
|
191
|
+
| Date | `date` |
|
|
192
|
+
|
|
193
|
+
### [nextjs-approuter](./examples/nextjs-approuter)
|
|
194
|
+
Next.js App Router example with database support:
|
|
195
|
+
- Database table view on the index page
|
|
196
|
+
- Dynamic `[id]` routes for individual articles
|
|
197
|
+
- Server Components with `generateStaticParams`
|
|
198
|
+
- CSS Modules for styling
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
cd examples/nextjs-approuter
|
|
202
|
+
cp .env.example .env.local
|
|
203
|
+
# Add your NOTION_TOKEN and NOTION_DATABASE_ID
|
|
204
|
+
npm install
|
|
205
|
+
npm run dev
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### [nextjs-pagerouter](./examples/nextjs-pagerouter)
|
|
209
|
+
Next.js Pages Router example with database support:
|
|
210
|
+
- Database table view using `getStaticProps`
|
|
211
|
+
- Dynamic `[id]` routes with `getStaticPaths`
|
|
212
|
+
- Traditional SSG workflow
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
cd examples/nextjs-pagerouter
|
|
216
|
+
cp .env.example .env.local
|
|
217
|
+
# Add your NOTION_TOKEN and NOTION_DATABASE_ID
|
|
218
|
+
npm install
|
|
219
|
+
npm run dev
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### [astro](./examples/astro)
|
|
223
|
+
Astro example with database support:
|
|
224
|
+
- Database table view in `.astro` files
|
|
225
|
+
- Dynamic routes with `getStaticPaths`
|
|
226
|
+
- React components with `client:load`
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
cd examples/astro
|
|
230
|
+
cp .env.example .env
|
|
231
|
+
# Add your NOTION_TOKEN and NOTION_DATABASE_ID
|
|
232
|
+
npm install
|
|
233
|
+
npm run dev
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Each example demonstrates:
|
|
237
|
+
- Database table view displaying all three properties
|
|
238
|
+
- Individual article pages with full content
|
|
239
|
+
- Navigation between database and article views
|
|
240
|
+
|
|
178
241
|
Scripts
|
|
179
242
|
--
|
|
180
243
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { FetchDatabaseRes } from '../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { FetchDatabaseRes } from '../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../types.js';
|
|
4
|
-
import { GalleryPreviewOptions } from './GalleryPreview/GalleryPreview.types';
|
|
4
|
+
import type { GalleryPreviewOptions } from './GalleryPreview/GalleryPreview.types';
|
|
5
5
|
export interface GalleryProps {
|
|
6
6
|
keys: string[];
|
|
7
7
|
db: FetchDatabaseRes;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { GalleryCardProps } from './GalleryCard.types';
|
|
2
2
|
|
|
3
|
-
declare const GalleryCard: ({ keys, page, options }: GalleryCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const GalleryCard: ({ keys, page, options }: GalleryCardProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default GalleryCard;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PageObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
|
-
import { GalleryOptions } from '../Gallery.types';
|
|
2
|
+
import type { GalleryOptions } from '../Gallery.types';
|
|
3
3
|
export interface GalleryCardProps {
|
|
4
4
|
keys: string[];
|
|
5
5
|
page: PageObjectResponseEx;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { GalleryHandlerProps } from './GalleryHandler.types';
|
|
2
|
-
declare const GalleryHandler: ({ property, options }: GalleryHandlerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const GalleryHandler: ({ property, options }: GalleryHandlerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default GalleryHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DatabaseProperty } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { DatabaseProperty } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface GalleryHandlerProps {
|
|
5
5
|
property?: DatabaseProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { GalleryDateFieldProps } from './GalleryDateField.types';
|
|
2
2
|
|
|
3
|
-
declare const GalleryDateField: ({ date }: GalleryDateFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const GalleryDateField: ({ date }: GalleryDateFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default GalleryDateField;
|
package/dist/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectPropertyResponse } from '../../../../exporter/index.js';
|
|
2
|
-
import { GalleryPropertyOptions } from '../GalleryCard/GalleryHandler.types';
|
|
2
|
+
import type { GalleryPropertyOptions } from '../GalleryCard/GalleryHandler.types';
|
|
3
3
|
export interface GalleryMultiSelectFieldProps {
|
|
4
4
|
multiSelect: SelectPropertyResponse[];
|
|
5
5
|
options?: GalleryPropertyOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RichTextItemResponse, RichTextItemResponseEx } from '../../../../exporter/index.js';
|
|
2
2
|
export interface GalleryRichTextFieldProps {
|
|
3
3
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
4
4
|
size?: 'small' | 'medium' | 'large';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectPropertyResponse } from '../../../../exporter/index.js';
|
|
2
|
-
import { GalleryPropertyOptions } from '../GalleryCard/GalleryHandler.types';
|
|
2
|
+
import type { GalleryPropertyOptions } from '../GalleryCard/GalleryHandler.types';
|
|
3
3
|
export interface GallerySelectFieldProps {
|
|
4
4
|
select: SelectPropertyResponse;
|
|
5
5
|
options?: GalleryPropertyOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RichTextItemResponse, RichTextItemResponseEx } from '../../../../exporter/index.js';
|
|
2
2
|
export interface GalleryTitleFieldProps {
|
|
3
3
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { GalleryUrlFieldProps } from './GalleryUrlField.types';
|
|
2
2
|
|
|
3
|
-
declare const GalleryUrlField: ({ url }: GalleryUrlFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const GalleryUrlField: ({ url }: GalleryUrlFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default GalleryUrlField;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ColumnProps } from './Column.types';
|
|
2
|
-
declare const Column: ({ name, page, options }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Column: ({ name, page, options }: ColumnProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default Column;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
import type { QueryDatabaseResponseEx } from '../../../exporter/index.js';
|
|
3
|
-
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
4
4
|
import type { Link } from '../types.js';
|
|
5
5
|
export interface ListProps {
|
|
6
6
|
keys: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ListDateFieldProps } from './ListDateField.types';
|
|
2
2
|
|
|
3
|
-
declare const ListDateField: ({ date }: ListDateFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ListDateField: ({ date }: ListDateFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default ListDateField;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ListHandlerProps } from './ListHandler.types';
|
|
2
|
-
declare const ListHandler: ({ property, options }: ListHandlerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ListHandler: ({ property, options }: ListHandlerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default ListHandler;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ListMultiSelectFieldProps } from './ListMultiSelectField.types';
|
|
2
2
|
|
|
3
|
-
declare const ListMultiSelectField: ({ multiSelect, options }: ListMultiSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ListMultiSelectField: ({ multiSelect, options }: ListMultiSelectFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default ListMultiSelectField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectPropertyResponse } from '../../../../exporter/index.js';
|
|
2
|
-
import { ListPropertyOptions } from '../ListHandler.types';
|
|
2
|
+
import type { ListPropertyOptions } from '../ListHandler.types';
|
|
3
3
|
export interface ListMultiSelectFieldProps {
|
|
4
4
|
multiSelect: SelectPropertyResponse[];
|
|
5
5
|
options?: ListPropertyOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ListSelectFieldProps } from './ListSelectField.types';
|
|
2
2
|
|
|
3
|
-
declare const ListSelectField: ({ select, options }: ListSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ListSelectField: ({ select, options }: ListSelectFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default ListSelectField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectPropertyResponse } from '../../../../exporter/index.js';
|
|
2
|
-
import { ListPropertyOptions } from '../ListHandler.types';
|
|
2
|
+
import type { ListPropertyOptions } from '../ListHandler.types';
|
|
3
3
|
export interface ListSelectFieldProps {
|
|
4
4
|
select: SelectPropertyResponse;
|
|
5
5
|
options?: ListPropertyOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RichTextItemResponse, RichTextItemResponseEx } from '../../../../exporter/index.js';
|
|
2
|
-
import { ListPropertyOptions } from '../ListHandler.types';
|
|
2
|
+
import type { ListPropertyOptions } from '../ListHandler.types';
|
|
3
3
|
export interface LinkedTitleProps {
|
|
4
4
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
5
5
|
options?: ListPropertyOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { ListPropertyOptions } from '../ListHandler.types';
|
|
1
|
+
import type { RichTextItemResponse, RichTextItemResponseEx } from '../../../../exporter/index.js';
|
|
2
|
+
import type { ListPropertyOptions } from '../ListHandler.types';
|
|
3
3
|
export interface ListTitleFieldProps {
|
|
4
4
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
5
5
|
options?: ListPropertyOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ListUrlFieldProps } from './ListUrlField.types';
|
|
2
2
|
|
|
3
|
-
declare const ListUrlField: ({ url }: ListUrlFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ListUrlField: ({ url }: ListUrlFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export default ListUrlField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BookmarkBlockProps } from './BookmarkBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const BookmarkBlock: ({ block }: BookmarkBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const BookmarkBlock: ({ block }: BookmarkBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default BookmarkBlock;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
-
import type { Link } from '../../types.js';
|
|
3
2
|
import type { BreadcrumbBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
|
+
import type { Link } from '../../types.js';
|
|
4
4
|
export interface BreadcrumbBlockProps {
|
|
5
5
|
block: BreadcrumbBlockObjectResponseEx;
|
|
6
6
|
link?: Link;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
-
import type { Link } from '../../types.js';
|
|
3
2
|
import type { Breadcrumb } from '../../../../exporter/index.js';
|
|
3
|
+
import type { Link } from '../../types.js';
|
|
4
4
|
export interface BreadcrumbsProps {
|
|
5
5
|
list: Breadcrumb[];
|
|
6
6
|
link?: Link;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
3
|
-
import type {
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
4
3
|
import type { Breadcrumb } from '../../../../exporter/index.js';
|
|
4
|
+
import type { Link } from '../../types.js';
|
|
5
5
|
export interface LinkedBreadcrumbIfLinkedProps {
|
|
6
6
|
breadcrumb: Breadcrumb;
|
|
7
7
|
link?: Link;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BulletedListItemBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { BulletedListItemBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface BulletedListBlockProps {
|
|
5
5
|
block: BulletedListItemBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CalloutBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { CalloutBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface CalloutBlockProps {
|
|
5
5
|
block: CalloutBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChildDatabaseBlockProps } from './ChildDatabaseBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const ChildDatabaseBlock: ({ block, href, link, query }: ChildDatabaseBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const ChildDatabaseBlock: ({ block, href, link, query }: ChildDatabaseBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default ChildDatabaseBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ChildDatabaseBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { ChildDatabaseBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface ChildDatabaseBlockProps {
|
|
5
5
|
block: ChildDatabaseBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChildPageBlockProps } from './ChildPageBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const ChildPageBlock: ({ block, href, link, query }: ChildPageBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const ChildPageBlock: ({ block, href, link, query }: ChildPageBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default ChildPageBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ChildPageBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { ChildPageBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface ChildPageBlockProps {
|
|
5
5
|
block: ChildPageBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColumnListBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { ColumnListBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface ColumnListBlockProps {
|
|
5
5
|
block: ColumnListBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EmbedBlockProps } from './EmbedBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const EmbedBlock: ({ block }: EmbedBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const EmbedBlock: ({ block }: EmbedBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default EmbedBlock;
|
|
@@ -2,5 +2,5 @@ import type { LinkPreviewBlockProps } from './LinkPreviewBlock.types';
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
declare const LinkPreviewBlock: ({ block }: LinkPreviewBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const LinkPreviewBlock: ({ block }: LinkPreviewBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
export default LinkPreviewBlock;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
1
2
|
import type { JSX } from 'react';
|
|
2
|
-
import type { Link } from '../../types.js';
|
|
3
3
|
import type { BlockObjectResponse } from '../../../../exporter/index.js';
|
|
4
|
-
import type {
|
|
4
|
+
import type { Link } from '../../types.js';
|
|
5
5
|
export interface ListBlocksProps {
|
|
6
6
|
tag: keyof JSX.IntrinsicElements;
|
|
7
7
|
blocks: BlockObjectResponse[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NumberedListItemBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { NumberedListItemBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../../types.js';
|
|
4
4
|
export interface NumberedListBlockProps {
|
|
5
5
|
block: NumberedListItemBlockObjectResponseEx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ListBlockChildrenResponseEx } from '../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { ListBlockChildrenResponseEx } from '../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../types.js';
|
|
4
4
|
export interface PageProps {
|
|
5
5
|
blocks: ListBlockChildrenResponseEx;
|
|
@@ -10,5 +10,5 @@ export declare const blockType: {
|
|
|
10
10
|
code: string;
|
|
11
11
|
quote: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const PageHandler: ({ block, href, link, query, breadcrumb_hrefs }: HandlerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const PageHandler: ({ block, href, link, query, breadcrumb_hrefs }: HandlerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
14
|
export default PageHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BlockObjectResponse } from '../../../exporter/index.js';
|
|
2
1
|
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
2
|
+
import type { BlockObjectResponse } from '../../../exporter/index.js';
|
|
3
3
|
import type { Link } from '../types.js';
|
|
4
4
|
export interface HandlerProps {
|
|
5
5
|
block: BlockObjectResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SyncedBlockProps } from './SyncedBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const SyncedBlock: ({ block }: SyncedBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const SyncedBlock: ({ block }: SyncedBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default SyncedBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RichTextItemResponse, TableBlockObjectResponseEx } from '../../../../exporter/index.js';
|
|
3
3
|
export interface TableBlockProps {
|
|
4
4
|
block: TableBlockObjectResponseEx;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { DividerBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, ParagraphBlockObjectResponseEx, QuoteBlockObjectResponse } from '../../../../exporter/index.js';
|
|
3
3
|
export interface TextBlockProps {
|
|
4
4
|
tag: keyof JSX.IntrinsicElements;
|
|
5
5
|
block: ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | QuoteBlockObjectResponse | DividerBlockObjectResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ToDoBlockProps } from './ToDoBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const ToDoBlock: ({ block }: ToDoBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const ToDoBlock: ({ block }: ToDoBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default ToDoBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { VideoBlockProps } from './VideoBlock.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const VideoBlock: ({ block }: VideoBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const VideoBlock: ({ block }: VideoBlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default VideoBlock;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VideoBlockObjectResponseEx,
|
|
1
|
+
import type { VideoBlockObjectResponseEx, VideoExternal, VideoFile } from '../../../../exporter/index.js';
|
|
2
2
|
export interface VideoBlockProps {
|
|
3
3
|
block: VideoBlockObjectResponseEx;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RichTextProps } from '../RichText.types';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare const Annotation: ({ textObject, children }: RichTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const Annotation: ({ textObject, children }: RichTextProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default Annotation;
|