rotion 0.0.7 → 0.0.8
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 +9 -4
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +2 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -2
- package/dist/ui/esm/index.js +9 -5
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +2 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -2
- package/dist/ui/types.d.ts +8 -1
- package/dist/ui/umd/index.js +9 -4
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +2 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { BreadcrumbBlockProps } from './BreadcrumbBlock.types';
|
|
2
|
+
import type { BreadcrumbBlockProps, BreadcrumbsProps } from './BreadcrumbBlock.types';
|
|
3
|
+
export declare const Breadcrumbs: ({ list, link, hrefs, query }: BreadcrumbsProps) => React.JSX.Element;
|
|
3
4
|
declare const BreadcrumbBlock: ({ block, link, hrefs, query }: BreadcrumbBlockProps) => React.JSX.Element;
|
|
4
5
|
export default BreadcrumbBlock;
|
|
@@ -10,6 +10,12 @@ export interface BreadcrumbLinkProps {
|
|
|
10
10
|
query?: ParsedUrlQueryInput;
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
}
|
|
13
|
+
export interface BreadcrumbsProps {
|
|
14
|
+
list: Breadcrumb[];
|
|
15
|
+
link?: Link;
|
|
16
|
+
hrefs?: string[];
|
|
17
|
+
query?: ParsedUrlQueryInput;
|
|
18
|
+
}
|
|
13
19
|
export interface BreadcrumbBlockProps {
|
|
14
20
|
block: BreadcrumbBlockObjectResponseEx;
|
|
15
21
|
link?: Link;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import BreadcrumbBlock from './BreadcrumbBlock';
|
|
2
|
-
export { BreadcrumbBlock };
|
|
1
|
+
import BreadcrumbBlock, { Breadcrumbs } from './BreadcrumbBlock';
|
|
2
|
+
export { BreadcrumbBlock, Breadcrumbs };
|