rotion 1.13.0 → 1.13.2
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 +117 -0
- package/README.md +101 -11
- package/dist/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +1 -0
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlock/NumberedListBlock.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/Page.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/PageHandler.d.ts +2 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +1 -0
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +1 -0
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlock/NumberedListBlock.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/Page.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/PageHandler.d.ts +2 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +1 -0
- package/dist/ui/types.d.ts +6 -5
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +1 -0
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlock/NumberedListBlock.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/Page.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/PageHandler.d.ts +2 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +1 -0
- package/package.json +3 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import type { BulletedListBlockProps } from './BulletedListBlock.types';
|
|
3
3
|
import '../../tokens.css';
|
|
4
4
|
import './BulletedListBlock.css';
|
|
5
|
-
declare const BulletedListBlock: ({ block, href, link, query }: BulletedListBlockProps) =>
|
|
5
|
+
declare const BulletedListBlock: ({ block, href, link, query }: BulletedListBlockProps) => JSX.Element;
|
|
6
6
|
export default BulletedListBlock;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import type { NumberedListBlockProps } from './NumberedListBlock.types';
|
|
3
3
|
import '../../tokens.css';
|
|
4
4
|
import './NumberedListBlock.css';
|
|
5
|
-
declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) =>
|
|
5
|
+
declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) => JSX.Element;
|
|
6
6
|
export default NumberedListBlock;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import type { PageProps } from './Page.types';
|
|
3
|
-
export declare const Page: ({ blocks, href, link, query, breadcrumb_hrefs }: PageProps) =>
|
|
3
|
+
export declare const Page: ({ blocks, href, link, query, breadcrumb_hrefs }: PageProps) => JSX.Element;
|
|
4
4
|
export default Page;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import type { HandlerProps } from './PageHandler.types';
|
|
3
3
|
export declare const blockType: {
|
|
4
4
|
heading_1: string;
|
|
@@ -11,5 +11,5 @@ export declare const blockType: {
|
|
|
11
11
|
code: string;
|
|
12
12
|
quote: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const PageHandler: ({ block, href, link, query, breadcrumb_hrefs }: HandlerProps) =>
|
|
14
|
+
export declare const PageHandler: ({ block, href, link, query, breadcrumb_hrefs }: HandlerProps) => JSX.Element;
|
|
15
15
|
export default PageHandler;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
1
2
|
import type { ParagraphBlockObjectResponseEx, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, DividerBlockObjectResponse } from '../../../../exporter';
|
|
2
3
|
export interface TextBlockProps {
|
|
3
4
|
tag: keyof JSX.IntrinsicElements;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rotion",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
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.",
|
|
@@ -94,10 +94,9 @@
|
|
|
94
94
|
"@types/katex": "^0.16.7",
|
|
95
95
|
"@types/node": "^22.13.1",
|
|
96
96
|
"@types/prismjs": "^1.26.5",
|
|
97
|
-
"@types/react": "^
|
|
98
|
-
"@types/react-dom": "^
|
|
97
|
+
"@types/react": "^19.1.5",
|
|
98
|
+
"@types/react-dom": "^19.1.5",
|
|
99
99
|
"@types/replace-ext": "^2.0.2",
|
|
100
|
-
"@types/rollup-plugin-peer-deps-external": "^2.2.4",
|
|
101
100
|
"@typescript-eslint/eslint-plugin": "^8.23.0",
|
|
102
101
|
"@typescript-eslint/parser": "^8.23.0",
|
|
103
102
|
"eslint": "^9.20.0",
|