rotion 0.4.0 → 1.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/dist/exporter/types.d.ts +1 -3
- package/dist/ui/cjs/index.css +1 -1
- package/dist/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/types.d.ts +1 -3
- package/dist/ui/cjs/types/ui/components/Gallery/Gallery.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +14 -4
- 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 -9
- 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 -2
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryFormulaField/index.d.ts +2 -0
- 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 +2 -6
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryPreview/GalleryPreview.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryPreview/GalleryPreview.types.d.ts +14 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryPreview/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/GallerySelectField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/GallerySelectField.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/LinkedTag.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/List/Column.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/Column.types.d.ts +2 -6
- package/dist/ui/cjs/types/ui/components/List/List.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/List.types.d.ts +13 -2
- package/dist/ui/cjs/types/ui/components/List/ListCheckboxField/ListCheckboxField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/List/ListFormulaField/ListFormulaField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/List/ListFormulaField/ListFormulaField.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/List/ListFormulaField/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/List/ListHandler.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListHandler.types.d.ts +7 -3
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +2 -6
- package/dist/ui/cjs/types/ui/components/List/ListNumberField/ListNumberField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListNumberField/ListNumberField.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/LinkedTagIfLinked.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/ListSelectField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/ListSelectField.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +2 -6
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/ListTitleField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/List/ListTitleField/ListTitleField.types.d.ts +2 -7
- package/dist/ui/cjs/types/ui/components/PrefixSuffix/PrefixSuffix.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/PrefixSuffix/PrefixSuffix.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/PrefixSuffix/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Table/Column.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/Column.types.d.ts +2 -6
- package/dist/ui/cjs/types/ui/components/Table/Table.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/Table.types.d.ts +14 -2
- package/dist/ui/cjs/types/ui/components/Table/TableCheckboxField/TableCheckboxField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/index.d.ts +2 -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 +6 -2
- 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 +2 -6
- package/dist/ui/cjs/types/ui/components/Table/TableNumberField/TableNumberField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableNumberField/TableNumberField.types.d.ts +2 -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 +2 -6
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +2 -7
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/TableTitleField.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Table/TableTitleField/TableTitleField.types.d.ts +2 -7
- package/dist/ui/cjs/types/ui/components/index.d.ts +8 -2
- package/dist/ui/cjs/types/ui/components/lib.d.ts +2 -1
- package/dist/ui/esm/index.css +1 -1
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/types.d.ts +1 -3
- package/dist/ui/esm/types/ui/components/Gallery/Gallery.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +14 -4
- 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 -9
- 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 -2
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryFormulaField/index.d.ts +2 -0
- 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 +2 -6
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryPreview/GalleryPreview.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryPreview/GalleryPreview.types.d.ts +14 -0
- package/dist/ui/esm/types/ui/components/Gallery/GalleryPreview/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/GallerySelectField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/GallerySelectField.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/LinkedTag.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/List/Column.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/Column.types.d.ts +2 -6
- package/dist/ui/esm/types/ui/components/List/List.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/List.types.d.ts +13 -2
- package/dist/ui/esm/types/ui/components/List/ListCheckboxField/ListCheckboxField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/List/ListFormulaField/ListFormulaField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/List/ListFormulaField/ListFormulaField.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/List/ListFormulaField/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/List/ListHandler.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListHandler.types.d.ts +7 -3
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +2 -6
- package/dist/ui/esm/types/ui/components/List/ListNumberField/ListNumberField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListNumberField/ListNumberField.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/List/ListSelectField/LinkedTagIfLinked.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/esm/types/ui/components/List/ListSelectField/ListSelectField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/List/ListSelectField/ListSelectField.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/List/ListSelectField/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +2 -6
- package/dist/ui/esm/types/ui/components/List/ListTitleField/ListTitleField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/List/ListTitleField/ListTitleField.types.d.ts +2 -7
- package/dist/ui/esm/types/ui/components/PrefixSuffix/PrefixSuffix.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/PrefixSuffix/PrefixSuffix.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/PrefixSuffix/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Table/Column.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/Column.types.d.ts +2 -6
- package/dist/ui/esm/types/ui/components/Table/Table.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/Table.types.d.ts +14 -2
- package/dist/ui/esm/types/ui/components/Table/TableCheckboxField/TableCheckboxField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/index.d.ts +2 -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 +6 -2
- 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 +2 -6
- package/dist/ui/esm/types/ui/components/Table/TableNumberField/TableNumberField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableNumberField/TableNumberField.types.d.ts +2 -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 +2 -6
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +2 -7
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/TableTitleField.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Table/TableTitleField/TableTitleField.types.d.ts +2 -7
- package/dist/ui/esm/types/ui/components/index.d.ts +8 -2
- package/dist/ui/esm/types/ui/components/lib.d.ts +2 -1
- package/dist/ui/style-without-dark.css +1 -1
- package/dist/ui/types.d.ts +165 -67
- package/dist/ui/umd/index.css +1 -1
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/types.d.ts +1 -3
- package/dist/ui/umd/types/ui/components/Gallery/Gallery.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +14 -4
- 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 -9
- 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 -2
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryFormulaField/GalleryFormulaField.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryFormulaField/index.d.ts +2 -0
- 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 +2 -6
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryPreview/GalleryPreview.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryPreview/GalleryPreview.types.d.ts +14 -0
- package/dist/ui/umd/types/ui/components/Gallery/GalleryPreview/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/GallerySelectField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/GallerySelectField.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/LinkedTag.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +10 -0
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/List/Column.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/Column.types.d.ts +2 -6
- package/dist/ui/umd/types/ui/components/List/List.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/List.types.d.ts +13 -2
- package/dist/ui/umd/types/ui/components/List/ListCheckboxField/ListCheckboxField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/List/ListFormulaField/ListFormulaField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/List/ListFormulaField/ListFormulaField.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/List/ListFormulaField/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/List/ListHandler.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListHandler.types.d.ts +7 -3
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +2 -6
- package/dist/ui/umd/types/ui/components/List/ListNumberField/ListNumberField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListNumberField/ListNumberField.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/List/ListSelectField/LinkedTagIfLinked.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +11 -0
- package/dist/ui/umd/types/ui/components/List/ListSelectField/ListSelectField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/List/ListSelectField/ListSelectField.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/List/ListSelectField/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +2 -6
- package/dist/ui/umd/types/ui/components/List/ListTitleField/ListTitleField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/List/ListTitleField/ListTitleField.types.d.ts +2 -7
- package/dist/ui/umd/types/ui/components/PrefixSuffix/PrefixSuffix.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/PrefixSuffix/PrefixSuffix.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/PrefixSuffix/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Table/Column.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/Column.types.d.ts +2 -6
- package/dist/ui/umd/types/ui/components/Table/Table.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/Table.types.d.ts +14 -2
- package/dist/ui/umd/types/ui/components/Table/TableCheckboxField/TableCheckboxField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/index.d.ts +2 -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 +6 -2
- 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 +2 -6
- package/dist/ui/umd/types/ui/components/Table/TableNumberField/TableNumberField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableNumberField/TableNumberField.types.d.ts +2 -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 +2 -6
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +2 -7
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/TableTitleField.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Table/TableTitleField/TableTitleField.types.d.ts +2 -7
- package/dist/ui/umd/types/ui/components/index.d.ts +8 -2
- package/dist/ui/umd/types/ui/components/lib.d.ts +2 -1
- package/package.json +2 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -9
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -9
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -9
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, 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 } from '@notionhq/client/build/src/api-endpoints.js';
|
|
2
|
+
import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, FileBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, GetPageResponse } from '@notionhq/client/build/src/api-endpoints.js';
|
|
3
3
|
import { ParsedUrlQueryInput } from 'node:querystring';
|
|
4
4
|
import { UrlObject } from 'node:url';
|
|
5
5
|
|
|
@@ -356,37 +356,61 @@ interface Link extends React.FC<{
|
|
|
356
356
|
}> {
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
+
interface GalleryPreviewOptions {
|
|
360
|
+
preview?: 'cover' | 'content';
|
|
361
|
+
size?: 'small' | 'medium' | 'large';
|
|
362
|
+
fit?: boolean;
|
|
363
|
+
height?: {
|
|
364
|
+
small: string;
|
|
365
|
+
medium: string;
|
|
366
|
+
large: string;
|
|
367
|
+
} | string;
|
|
368
|
+
}
|
|
369
|
+
|
|
359
370
|
interface GalleryProps {
|
|
360
371
|
keys: string[];
|
|
361
372
|
db: FetchDatabaseRes;
|
|
362
|
-
|
|
373
|
+
options?: GalleryOptions;
|
|
374
|
+
}
|
|
375
|
+
interface GalleryOptions {
|
|
376
|
+
href?: {
|
|
377
|
+
[key: string]: string;
|
|
378
|
+
};
|
|
363
379
|
link?: Link;
|
|
364
380
|
query?: ParsedUrlQueryInput;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
381
|
+
image?: GalleryPreviewOptions;
|
|
382
|
+
prefix?: {
|
|
383
|
+
[key: string]: string;
|
|
384
|
+
};
|
|
385
|
+
suffix?: {
|
|
386
|
+
[key: string]: string;
|
|
387
|
+
};
|
|
368
388
|
}
|
|
369
389
|
|
|
370
|
-
declare const Gallery: ({ keys, db,
|
|
390
|
+
declare const Gallery: ({ keys, db, options }: GalleryProps) => React.JSX.Element;
|
|
371
391
|
|
|
372
392
|
interface GalleryCardProps {
|
|
373
393
|
keys: string[];
|
|
374
394
|
page: PageObjectResponseEx;
|
|
375
|
-
|
|
395
|
+
options?: GalleryOptions;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
declare const GalleryCard: ({ keys, page, options }: GalleryCardProps) => React.JSX.Element;
|
|
399
|
+
|
|
400
|
+
interface GalleryPropertyOptions {
|
|
401
|
+
pathname?: string;
|
|
376
402
|
link?: Link;
|
|
377
403
|
query?: ParsedUrlQueryInput;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
fit: boolean;
|
|
404
|
+
prefix?: string;
|
|
405
|
+
suffix?: string;
|
|
381
406
|
}
|
|
382
407
|
|
|
383
|
-
declare const GalleryCard: ({ keys, page, href, link, query, preview, size, fit }: GalleryCardProps) => React.JSX.Element;
|
|
384
|
-
|
|
385
408
|
interface GalleryCheckboxFieldProps {
|
|
386
409
|
checked: boolean;
|
|
410
|
+
options?: GalleryPropertyOptions;
|
|
387
411
|
}
|
|
388
412
|
|
|
389
|
-
declare const GalleryCheckboxField: ({ checked }: GalleryCheckboxFieldProps) => React.JSX.Element;
|
|
413
|
+
declare const GalleryCheckboxField: ({ checked, options }: GalleryCheckboxFieldProps) => React.JSX.Element;
|
|
390
414
|
|
|
391
415
|
interface GalleryDateFieldProps {
|
|
392
416
|
date: DateResponse | null;
|
|
@@ -396,18 +420,24 @@ declare const GalleryDateField: ({ date }: GalleryDateFieldProps) => React.JSX.E
|
|
|
396
420
|
|
|
397
421
|
interface GalleryMultiSelectFieldProps {
|
|
398
422
|
multiSelect: SelectPropertyResponse[];
|
|
399
|
-
|
|
400
|
-
link?: Link;
|
|
401
|
-
query?: ParsedUrlQueryInput;
|
|
423
|
+
options?: GalleryPropertyOptions;
|
|
402
424
|
}
|
|
403
425
|
|
|
404
|
-
declare const GalleryMultiSelectField: ({ multiSelect,
|
|
426
|
+
declare const GalleryMultiSelectField$1: ({ multiSelect, options }: GalleryMultiSelectFieldProps) => React.JSX.Element;
|
|
427
|
+
|
|
428
|
+
interface GallerySelectFieldProps {
|
|
429
|
+
select: SelectPropertyResponse;
|
|
430
|
+
options?: GalleryPropertyOptions;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
declare const GalleryMultiSelectField: ({ select, options }: GallerySelectFieldProps) => React.JSX.Element;
|
|
405
434
|
|
|
406
435
|
interface GalleryNumberFieldProps {
|
|
407
436
|
number: number | null;
|
|
437
|
+
options?: GalleryPropertyOptions;
|
|
408
438
|
}
|
|
409
439
|
|
|
410
|
-
declare const GalleryNumberField: ({ number }: GalleryNumberFieldProps) => React.JSX.Element;
|
|
440
|
+
declare const GalleryNumberField: ({ number, options }: GalleryNumberFieldProps) => React.JSX.Element;
|
|
411
441
|
|
|
412
442
|
interface GalleryRichTextFieldProps {
|
|
413
443
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
@@ -428,22 +458,49 @@ interface GalleryUrlFieldProps {
|
|
|
428
458
|
|
|
429
459
|
declare const GalleryUrlField: ({ url }: GalleryUrlFieldProps) => React.JSX.Element;
|
|
430
460
|
|
|
461
|
+
interface GalleryFormulaFieldProps {
|
|
462
|
+
number: number | null;
|
|
463
|
+
options?: GalleryPropertyOptions;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
declare const GalleryFormulaField: ({ number, options }: GalleryFormulaFieldProps) => React.JSX.Element;
|
|
467
|
+
|
|
431
468
|
interface ListProps {
|
|
432
469
|
keys: string[];
|
|
433
470
|
db: QueryDatabaseResponseEx;
|
|
434
|
-
|
|
471
|
+
children?: ReactNode;
|
|
472
|
+
options?: ListOptions;
|
|
473
|
+
}
|
|
474
|
+
interface ListOptions {
|
|
475
|
+
href?: {
|
|
476
|
+
[key: string]: string;
|
|
477
|
+
};
|
|
435
478
|
link?: Link;
|
|
436
479
|
query?: ParsedUrlQueryInput;
|
|
437
|
-
|
|
480
|
+
suffix?: {
|
|
481
|
+
[key: string]: string;
|
|
482
|
+
};
|
|
483
|
+
prefix?: {
|
|
484
|
+
[key: string]: string;
|
|
485
|
+
};
|
|
438
486
|
}
|
|
439
487
|
|
|
440
|
-
declare const List: ({ keys, db,
|
|
488
|
+
declare const List: ({ keys, db, options }: ListProps) => React.JSX.Element;
|
|
489
|
+
|
|
490
|
+
interface ListPropertyOptions {
|
|
491
|
+
pathname?: string;
|
|
492
|
+
link?: Link;
|
|
493
|
+
query?: ParsedUrlQueryInput;
|
|
494
|
+
suffix?: string;
|
|
495
|
+
prefix?: string;
|
|
496
|
+
}
|
|
441
497
|
|
|
442
498
|
interface ListCheckboxFieldProps {
|
|
443
499
|
checked: boolean;
|
|
500
|
+
options?: ListPropertyOptions;
|
|
444
501
|
}
|
|
445
502
|
|
|
446
|
-
declare const ListCheckboxField: ({ checked }: ListCheckboxFieldProps) => React.JSX.Element;
|
|
503
|
+
declare const ListCheckboxField: ({ checked, options }: ListCheckboxFieldProps) => React.JSX.Element;
|
|
447
504
|
|
|
448
505
|
interface ListDateFieldProps {
|
|
449
506
|
date: DateResponse | null;
|
|
@@ -453,18 +510,24 @@ declare const ListDateField: ({ date }: ListDateFieldProps) => React.JSX.Element
|
|
|
453
510
|
|
|
454
511
|
interface ListMultiSelectFieldProps {
|
|
455
512
|
multiSelect: SelectPropertyResponse[];
|
|
456
|
-
|
|
457
|
-
link?: Link;
|
|
458
|
-
query?: ParsedUrlQueryInput;
|
|
513
|
+
options?: ListPropertyOptions;
|
|
459
514
|
}
|
|
460
515
|
|
|
461
|
-
declare const ListMultiSelectField: ({ multiSelect,
|
|
516
|
+
declare const ListMultiSelectField: ({ multiSelect, options }: ListMultiSelectFieldProps) => React.JSX.Element;
|
|
517
|
+
|
|
518
|
+
interface ListSelectFieldProps {
|
|
519
|
+
select: SelectPropertyResponse;
|
|
520
|
+
options?: ListPropertyOptions;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
declare const ListSelectField: ({ select, options }: ListSelectFieldProps) => React.JSX.Element;
|
|
462
524
|
|
|
463
525
|
interface ListNumberFieldProps {
|
|
464
526
|
number: number | null;
|
|
527
|
+
options?: ListPropertyOptions;
|
|
465
528
|
}
|
|
466
529
|
|
|
467
|
-
declare const ListNumberField: ({ number }: ListNumberFieldProps) => React.JSX.Element;
|
|
530
|
+
declare const ListNumberField: ({ number, options }: ListNumberFieldProps) => React.JSX.Element;
|
|
468
531
|
|
|
469
532
|
interface ListRichTextFieldProps {
|
|
470
533
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
@@ -474,13 +537,10 @@ declare const ListRichTextField: ({ textObjects }: ListRichTextFieldProps) => Re
|
|
|
474
537
|
|
|
475
538
|
interface ListTitleFieldProps {
|
|
476
539
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
477
|
-
|
|
478
|
-
slug: string;
|
|
479
|
-
link?: Link;
|
|
480
|
-
query?: ParsedUrlQueryInput;
|
|
540
|
+
options?: ListPropertyOptions;
|
|
481
541
|
}
|
|
482
542
|
|
|
483
|
-
declare const ListTitleField: ({ textObjects,
|
|
543
|
+
declare const ListTitleField: ({ textObjects, options }: ListTitleFieldProps) => React.JSX.Element;
|
|
484
544
|
|
|
485
545
|
interface ListUrlFieldProps {
|
|
486
546
|
url: string | null;
|
|
@@ -488,22 +548,50 @@ interface ListUrlFieldProps {
|
|
|
488
548
|
|
|
489
549
|
declare const ListUrlField: ({ url }: ListUrlFieldProps) => React.JSX.Element;
|
|
490
550
|
|
|
551
|
+
interface ListFormulaFieldProps {
|
|
552
|
+
number: number | null;
|
|
553
|
+
options?: ListPropertyOptions;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare const ListFormulaField: ({ number, options }: ListFormulaFieldProps) => React.JSX.Element;
|
|
557
|
+
|
|
491
558
|
interface TableProps {
|
|
492
559
|
keys: string[];
|
|
493
560
|
db: QueryDatabaseResponseEx;
|
|
494
|
-
|
|
561
|
+
children?: ReactNode;
|
|
562
|
+
options?: TableOptions;
|
|
563
|
+
}
|
|
564
|
+
interface TableOptions {
|
|
565
|
+
href?: {
|
|
566
|
+
[key: string]: string;
|
|
567
|
+
};
|
|
495
568
|
link?: Link;
|
|
496
569
|
query?: ParsedUrlQueryInput;
|
|
497
|
-
|
|
570
|
+
prefix?: {
|
|
571
|
+
[key: string]: string;
|
|
572
|
+
};
|
|
573
|
+
suffix?: {
|
|
574
|
+
[key: string]: string;
|
|
575
|
+
};
|
|
576
|
+
verticalLines?: boolean;
|
|
498
577
|
}
|
|
499
578
|
|
|
500
|
-
declare const Table: ({ keys, db,
|
|
579
|
+
declare const Table: ({ keys, db, options }: TableProps) => React.JSX.Element;
|
|
580
|
+
|
|
581
|
+
interface TablePropertyOptions {
|
|
582
|
+
pathname?: string;
|
|
583
|
+
link?: Link;
|
|
584
|
+
query?: ParsedUrlQueryInput;
|
|
585
|
+
suffix?: string;
|
|
586
|
+
prefix?: string;
|
|
587
|
+
}
|
|
501
588
|
|
|
502
589
|
interface TableCheckboxFieldProps {
|
|
503
590
|
checked: boolean;
|
|
591
|
+
options?: TablePropertyOptions;
|
|
504
592
|
}
|
|
505
593
|
|
|
506
|
-
declare const TableCheckboxField: ({ checked }: TableCheckboxFieldProps) => React.JSX.Element;
|
|
594
|
+
declare const TableCheckboxField: ({ checked, options }: TableCheckboxFieldProps) => React.JSX.Element;
|
|
507
595
|
|
|
508
596
|
interface TableDateFieldProps {
|
|
509
597
|
date: DateResponse | null;
|
|
@@ -520,18 +608,17 @@ declare const TableIcon: ({ type, className }: TableIconProps) => React.JSX.Elem
|
|
|
520
608
|
|
|
521
609
|
interface TableMultiSelectFieldProps {
|
|
522
610
|
multiSelect: SelectPropertyResponse[];
|
|
523
|
-
|
|
524
|
-
link?: Link;
|
|
525
|
-
query?: ParsedUrlQueryInput;
|
|
611
|
+
options?: TablePropertyOptions;
|
|
526
612
|
}
|
|
527
613
|
|
|
528
|
-
declare const TableMultiSelectField: ({ multiSelect,
|
|
614
|
+
declare const TableMultiSelectField: ({ multiSelect, options }: TableMultiSelectFieldProps) => React.JSX.Element;
|
|
529
615
|
|
|
530
616
|
interface TableNumberFieldProps {
|
|
531
617
|
number: number | null;
|
|
618
|
+
options?: TablePropertyOptions;
|
|
532
619
|
}
|
|
533
620
|
|
|
534
|
-
declare const TableNumberField: ({ number }: TableNumberFieldProps) => React.JSX.Element;
|
|
621
|
+
declare const TableNumberField: ({ number, options }: TableNumberFieldProps) => React.JSX.Element;
|
|
535
622
|
|
|
536
623
|
interface TableRichTextFieldProps {
|
|
537
624
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
@@ -541,22 +628,17 @@ declare const TableRichTextField: ({ textObjects }: TableRichTextFieldProps) =>
|
|
|
541
628
|
|
|
542
629
|
interface TableSelectFieldProps {
|
|
543
630
|
select: SelectPropertyResponse;
|
|
544
|
-
|
|
545
|
-
link?: Link;
|
|
546
|
-
query?: ParsedUrlQueryInput;
|
|
631
|
+
options?: TablePropertyOptions;
|
|
547
632
|
}
|
|
548
633
|
|
|
549
|
-
declare const TableSelectField: ({ select,
|
|
634
|
+
declare const TableSelectField: ({ select, options }: TableSelectFieldProps) => React.JSX.Element;
|
|
550
635
|
|
|
551
636
|
interface TableTitleFieldProps {
|
|
552
637
|
textObjects: RichTextItemResponseEx[] | RichTextItemResponse[];
|
|
553
|
-
|
|
554
|
-
slug?: string;
|
|
555
|
-
link?: Link;
|
|
556
|
-
query?: ParsedUrlQueryInput;
|
|
638
|
+
options?: TablePropertyOptions;
|
|
557
639
|
}
|
|
558
640
|
|
|
559
|
-
declare const TableTitleField: ({ textObjects,
|
|
641
|
+
declare const TableTitleField: ({ textObjects, options }: TableTitleFieldProps) => React.JSX.Element;
|
|
560
642
|
|
|
561
643
|
interface TableUrlFieldProps {
|
|
562
644
|
url: string | null;
|
|
@@ -564,6 +646,13 @@ interface TableUrlFieldProps {
|
|
|
564
646
|
|
|
565
647
|
declare const TableUrlField: ({ url }: TableUrlFieldProps) => React.JSX.Element;
|
|
566
648
|
|
|
649
|
+
interface TableFormulaFieldProps {
|
|
650
|
+
number: number | null;
|
|
651
|
+
options?: TablePropertyOptions;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
declare const TableFormulaField: ({ number, options }: TableFormulaFieldProps) => React.JSX.Element;
|
|
655
|
+
|
|
567
656
|
interface PageProps {
|
|
568
657
|
blocks: ListBlockChildrenResponseEx;
|
|
569
658
|
href?: string;
|
|
@@ -685,14 +774,6 @@ interface NumberedListBlockProps {
|
|
|
685
774
|
|
|
686
775
|
declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) => React.JSX.Element;
|
|
687
776
|
|
|
688
|
-
interface IconProps {
|
|
689
|
-
name: 'figma' | 'slack' | 'github' | 'file' | 'link';
|
|
690
|
-
width?: string;
|
|
691
|
-
height?: string;
|
|
692
|
-
className?: string;
|
|
693
|
-
}
|
|
694
|
-
declare const Icon: ({ name, width, height, className }: IconProps) => React.JSX.Element;
|
|
695
|
-
|
|
696
777
|
interface PdfBlockProps {
|
|
697
778
|
block: PdfBlockObjectResponseEx;
|
|
698
779
|
}
|
|
@@ -724,14 +805,6 @@ interface TextBlockProps {
|
|
|
724
805
|
|
|
725
806
|
declare const TextBlock: ({ tag, block }: TextBlockProps) => React.JSX.Element;
|
|
726
807
|
|
|
727
|
-
interface RichTextProps {
|
|
728
|
-
textObject?: RichTextItemResponseEx | RichTextItemResponse;
|
|
729
|
-
key?: string;
|
|
730
|
-
children?: ReactNode;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
declare const RichText: ({ textObject }: RichTextProps) => React.JSX.Element;
|
|
734
|
-
|
|
735
808
|
type ToDoBlockProps = {
|
|
736
809
|
block: ToDoBlockObjectResponse;
|
|
737
810
|
};
|
|
@@ -750,12 +823,37 @@ interface VideoBlockProps {
|
|
|
750
823
|
|
|
751
824
|
declare const VideoBlock: ({ block }: VideoBlockProps) => React.JSX.Element;
|
|
752
825
|
|
|
826
|
+
interface IconProps {
|
|
827
|
+
name: 'figma' | 'slack' | 'github' | 'file' | 'link';
|
|
828
|
+
width?: string;
|
|
829
|
+
height?: string;
|
|
830
|
+
className?: string;
|
|
831
|
+
}
|
|
832
|
+
declare const Icon: ({ name, width, height, className }: IconProps) => React.JSX.Element;
|
|
833
|
+
|
|
834
|
+
interface RichTextProps {
|
|
835
|
+
textObject?: RichTextItemResponseEx | RichTextItemResponse;
|
|
836
|
+
key?: string;
|
|
837
|
+
children?: ReactNode;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
declare const RichText: ({ textObject }: RichTextProps) => React.JSX.Element;
|
|
841
|
+
|
|
842
|
+
interface PrefixSuffixProps {
|
|
843
|
+
prefix?: string;
|
|
844
|
+
suffix?: string;
|
|
845
|
+
children?: ReactNode;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
declare const PrefixSuffix: ({ prefix, suffix, children }: PrefixSuffixProps) => React.JSX.Element;
|
|
849
|
+
|
|
753
850
|
declare const Checkbox: ({ bool }: {
|
|
754
851
|
bool: boolean;
|
|
755
852
|
}) => React.JSX.Element;
|
|
756
853
|
|
|
757
854
|
declare function queryToString(q: ParsedUrlQueryInput | undefined): string;
|
|
758
855
|
declare const getLinkPathAndLinkKey: (link: string) => [string, string];
|
|
856
|
+
declare function getSlug(key: string, page: GetPageResponse): string;
|
|
759
857
|
declare function UsePagination<T>(pages: T[], perPage: number): {
|
|
760
858
|
currentData(): T[];
|
|
761
859
|
next(): void;
|
|
@@ -773,4 +871,4 @@ declare function splitUrl(url: string): {
|
|
|
773
871
|
omittedPath: string;
|
|
774
872
|
};
|
|
775
873
|
|
|
776
|
-
export { BookmarkBlock, BreadcrumbBlock, Breadcrumbs, BuildPlainTextByPage, BulletedListBlock, CalloutBlock, Checkbox, ChildDatabaseBlock, ChildPageBlock, CodeBlock, ColumnListBlock, EmbedBlock, EquationBlock, FileBlock, Gallery, GalleryCard, GalleryCheckboxField, GalleryDateField, GalleryMultiSelectField, GalleryNumberField, GalleryRichTextField, GalleryTitleField, GalleryUrlField, Icon, ImageBlock, type Link, LinkPreviewBlock, List, ListCheckboxField, ListDateField, ListMultiSelectField, ListNumberField, ListRichTextField, ListTitleField, ListUrlField, NumberedListBlock, Page, PdfBlock, RichText, SyncedBlock, Table, TableBlock, TableCheckboxField, TableDateField, TableIcon, TableMultiSelectField, TableNumberField, TableOfContentsBlock, TableRichTextField, TableSelectField, TableTitleField, TableUrlField, TextBlock, ToDoBlock, ToggleBlock, UsePagination, VideoBlock, getDatetimeFormat, getLinkPathAndLinkKey, pathBasename, queryToString, splitUrl };
|
|
874
|
+
export { BookmarkBlock, BreadcrumbBlock, Breadcrumbs, BuildPlainTextByPage, BulletedListBlock, CalloutBlock, Checkbox, ChildDatabaseBlock, ChildPageBlock, CodeBlock, ColumnListBlock, EmbedBlock, EquationBlock, FileBlock, Gallery, GalleryCard, GalleryCheckboxField, GalleryDateField, GalleryFormulaField, GalleryMultiSelectField$1 as GalleryMultiSelectField, GalleryNumberField, GalleryRichTextField, GalleryMultiSelectField as GallerySelectField, GalleryTitleField, GalleryUrlField, Icon, ImageBlock, type Link, LinkPreviewBlock, List, ListCheckboxField, ListDateField, ListFormulaField, ListMultiSelectField, ListNumberField, ListRichTextField, ListSelectField, ListTitleField, ListUrlField, NumberedListBlock, Page, PdfBlock, PrefixSuffix, RichText, SyncedBlock, Table, TableBlock, TableCheckboxField, TableDateField, TableFormulaField, TableIcon, TableMultiSelectField, TableNumberField, TableOfContentsBlock, TableRichTextField, TableSelectField, TableTitleField, TableUrlField, TextBlock, ToDoBlock, ToggleBlock, UsePagination, VideoBlock, getDatetimeFormat, getLinkPathAndLinkKey, getSlug, pathBasename, queryToString, splitUrl };
|