rotion 1.16.3 → 1.17.1
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.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/ui/components/TableOfContents/TableOfContents.d.ts +14 -0
- package/dist/ui/cjs/types/ui/components/TableOfContents/TableOfContents.types.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/TableOfContents/index.d.ts +3 -0
- package/dist/ui/cjs/types/ui/components/index.d.ts +1 -0
- 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/ui/components/TableOfContents/TableOfContents.d.ts +14 -0
- package/dist/ui/esm/types/ui/components/TableOfContents/TableOfContents.types.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/TableOfContents/index.d.ts +3 -0
- package/dist/ui/esm/types/ui/components/index.d.ts +1 -0
- package/dist/ui/style-without-dark.css +1 -1
- package/dist/ui/types.d.ts +15 -1
- 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/ui/components/TableOfContents/TableOfContents.d.ts +14 -0
- package/dist/ui/umd/types/ui/components/TableOfContents/TableOfContents.types.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/TableOfContents/index.d.ts +3 -0
- package/dist/ui/umd/types/ui/components/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TableOfContentsProps } from './TableOfContents.types';
|
|
3
|
+
import '../tokens.css';
|
|
4
|
+
import './TableOfContents.css';
|
|
5
|
+
export declare function GenHtmlId(uuidv8Id: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Important:
|
|
8
|
+
*
|
|
9
|
+
* Unlike TableOfContentsBlock which is a Page block, this component is a
|
|
10
|
+
* Table of Contents generated from the page's blocks and extracts headings
|
|
11
|
+
* to create a navigation structure.
|
|
12
|
+
*/
|
|
13
|
+
declare const TableOfContents: ({ blocks }: TableOfContentsProps) => React.JSX.Element;
|
|
14
|
+
export default TableOfContents;
|