rotion 1.7.0 → 1.8.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/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/types.d.ts +0 -1
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/types.d.ts +0 -1
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/types.d.ts +0 -1
- package/package.json +20 -20
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ParagraphBlockObjectResponseEx, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, DividerBlockObjectResponse } from '../../../../exporter';
|
|
3
2
|
export interface TextBlockProps {
|
|
4
3
|
tag: keyof JSX.IntrinsicElements;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rotion",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "linyows/rotion",
|
|
6
6
|
"description": "This is react components that uses the notion API to display the notion's database and page.",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"prepublishOnly": "npm install && npm run test && npm run build"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"react": "^17.0.2 || ^18.0.0-0",
|
|
59
|
-
"react-dom": "^17.0.2 || ^18.0.0-0"
|
|
58
|
+
"react": "^17.0.2 || ^18.0.0-0 || ^19.0.0-0",
|
|
59
|
+
"react-dom": "^17.0.2 || ^18.0.0-0 || ^19.0.0-0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@notionhq/client": "^2.2.14",
|
|
@@ -77,28 +77,28 @@
|
|
|
77
77
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
78
78
|
"@rollup/plugin-terser": "^0.4.4",
|
|
79
79
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
80
|
-
"@storybook/addon-essentials": "^8.
|
|
81
|
-
"@storybook/addon-interactions": "^8.
|
|
82
|
-
"@storybook/addon-links": "^8.
|
|
83
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
84
|
-
"@storybook/addon-onboarding": "^8.
|
|
85
|
-
"@storybook/blocks": "^8.
|
|
86
|
-
"@storybook/react": "^8.
|
|
87
|
-
"@storybook/react-vite": "^8.
|
|
88
|
-
"@storybook/test": "^8.
|
|
89
|
-
"@storybook/theming": "^8.
|
|
80
|
+
"@storybook/addon-essentials": "^8.5.2",
|
|
81
|
+
"@storybook/addon-interactions": "^8.5.2",
|
|
82
|
+
"@storybook/addon-links": "^8.5.2",
|
|
83
|
+
"@storybook/addon-mdx-gfm": "^8.5.2",
|
|
84
|
+
"@storybook/addon-onboarding": "^8.5.2",
|
|
85
|
+
"@storybook/blocks": "^8.5.2",
|
|
86
|
+
"@storybook/react": "^8.5.2",
|
|
87
|
+
"@storybook/react-vite": "^8.5.2",
|
|
88
|
+
"@storybook/test": "^8.5.2",
|
|
89
|
+
"@storybook/theming": "^8.5.2",
|
|
90
90
|
"@tsconfig/node-lts-strictest-esm": "^18.12.1",
|
|
91
91
|
"@types/imagemin": "^8.0.5",
|
|
92
92
|
"@types/imagemin-webp": "^7.0.3",
|
|
93
93
|
"@types/katex": "^0.16.7",
|
|
94
|
-
"@types/node": "^
|
|
94
|
+
"@types/node": "^22.13.0",
|
|
95
95
|
"@types/prismjs": "^1.26.3",
|
|
96
96
|
"@types/react": "^18.2.45",
|
|
97
97
|
"@types/react-dom": "^18.2.18",
|
|
98
98
|
"@types/replace-ext": "^2.0.2",
|
|
99
99
|
"@types/rollup-plugin-peer-deps-external": "^2.2.4",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
101
|
-
"@typescript-eslint/parser": "^
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
101
|
+
"@typescript-eslint/parser": "^8.22.0",
|
|
102
102
|
"eslint": "^8",
|
|
103
103
|
"eslint-config-standard": "^17.1.0",
|
|
104
104
|
"eslint-plugin-import": "^2.29.1",
|
|
@@ -106,19 +106,19 @@
|
|
|
106
106
|
"eslint-plugin-promise": "^6.0.0",
|
|
107
107
|
"eslint-plugin-react": "^7.33.2",
|
|
108
108
|
"eslint-plugin-storybook": "^0.8.0",
|
|
109
|
-
"react": "^
|
|
110
|
-
"react-dom": "^
|
|
109
|
+
"react": "^19.0.0",
|
|
110
|
+
"react-dom": "^19.0.0",
|
|
111
111
|
"rollup": "^4.9.1",
|
|
112
112
|
"rollup-plugin-delete": "^2.0.0",
|
|
113
113
|
"rollup-plugin-dts": "^6.1.0",
|
|
114
114
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
115
115
|
"rollup-plugin-postcss": "^4.0.2",
|
|
116
|
-
"storybook": "^8.
|
|
116
|
+
"storybook": "^8.5.2",
|
|
117
117
|
"storybook-dark-mode": "^4.0.1",
|
|
118
118
|
"testdouble": "^3.20.1",
|
|
119
119
|
"tslib": "^2.6.2",
|
|
120
120
|
"tsx": "^4.13.2",
|
|
121
|
-
"typescript": "^5.
|
|
121
|
+
"typescript": "^5.7.3",
|
|
122
122
|
"uvu": "^0.5.6"
|
|
123
123
|
},
|
|
124
124
|
"extends": "@tsconfig/node-lts-strictest-esm"
|