@dracor/react 0.9.0 → 1.0.0-beta.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/README.md +42 -22
- package/dist/index.d.ts +208 -117
- package/dist/index.es.js +1548 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +44 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +98 -75
- package/src/dracor.css +142 -0
- package/ceteicean.js +0 -46
- package/dist/cjs/index.js +0 -4631
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/components/ApiDoc/ApiDoc.d.ts +0 -6
- package/dist/cjs/types/components/ApiDoc/ApiDoc.stories.d.ts +0 -21
- package/dist/cjs/types/components/ApiDoc/ApiDoc.test.d.ts +0 -1
- package/dist/cjs/types/components/ApiDoc/index.d.ts +0 -1
- package/dist/cjs/types/components/AuthorInfo/AuthorInfo.d.ts +0 -7
- package/dist/cjs/types/components/AuthorInfo/AuthorInfo.stories.d.ts +0 -10
- package/dist/cjs/types/components/AuthorInfo/AuthorInfo.test.d.ts +0 -1
- package/dist/cjs/types/components/AuthorInfo/index.d.ts +0 -1
- package/dist/cjs/types/components/Authors/Authors.d.ts +0 -10
- package/dist/cjs/types/components/Authors/Authors.stories.d.ts +0 -12
- package/dist/cjs/types/components/Authors/Authors.test.d.ts +0 -1
- package/dist/cjs/types/components/Authors/index.d.ts +0 -1
- package/dist/cjs/types/components/DebouncedInput/DebouncedInput.d.ts +0 -6
- package/dist/cjs/types/components/DebouncedInput/index.d.ts +0 -1
- package/dist/cjs/types/components/IdCopy/IdCopy.d.ts +0 -8
- package/dist/cjs/types/components/IdCopy/IdCopy.stories.d.ts +0 -11
- package/dist/cjs/types/components/IdCopy/IdCopy.test.d.ts +0 -1
- package/dist/cjs/types/components/IdCopy/index.d.ts +0 -1
- package/dist/cjs/types/components/IdLink/IdLink.d.ts +0 -7
- package/dist/cjs/types/components/IdLink/IdLink.stories.d.ts +0 -15
- package/dist/cjs/types/components/IdLink/IdLink.test.d.ts +0 -1
- package/dist/cjs/types/components/IdLink/index.d.ts +0 -1
- package/dist/cjs/types/components/Navigation/NavBar.d.ts +0 -13
- package/dist/cjs/types/components/Navigation/NavBar.stories.d.ts +0 -28
- package/dist/cjs/types/components/Navigation/NavBar.test.d.ts +0 -1
- package/dist/cjs/types/components/Navigation/NavItem.d.ts +0 -8
- package/dist/cjs/types/components/Navigation/NavItem.stories.d.ts +0 -19
- package/dist/cjs/types/components/Navigation/NavMenu.d.ts +0 -12
- package/dist/cjs/types/components/Navigation/NavMenu.stories.d.ts +0 -19
- package/dist/cjs/types/components/Navigation/index.d.ts +0 -1
- package/dist/cjs/types/components/TEIText/TEIText.d.ts +0 -14
- package/dist/cjs/types/components/TEIText/TEIText.stories.d.ts +0 -10
- package/dist/cjs/types/components/TEIText/index.d.ts +0 -1
- package/dist/cjs/types/components/Table/Table.d.ts +0 -11
- package/dist/cjs/types/components/Table/Table.stories.d.ts +0 -9
- package/dist/cjs/types/components/Table/Table.test.d.ts +0 -1
- package/dist/cjs/types/components/Table/index.d.ts +0 -1
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +0 -11
- package/dist/cjs/types/components/Tabs/Tabs.stories.d.ts +0 -23
- package/dist/cjs/types/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/cjs/types/components/Tabs/index.d.ts +0 -1
- package/dist/cjs/types/components/Years/Years.d.ts +0 -10
- package/dist/cjs/types/components/Years/Years.stories.d.ts +0 -11
- package/dist/cjs/types/components/Years/Years.test.d.ts +0 -1
- package/dist/cjs/types/components/Years/index.d.ts +0 -1
- package/dist/cjs/types/components/index.d.ts +0 -10
- package/dist/cjs/types/einakter-gh.d.ts +0 -2
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/testHelpers.d.ts +0 -7
- package/dist/cjs/types/utils.d.ts +0 -2
- package/dist/esm/index.js +0 -4618
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/components/ApiDoc/ApiDoc.d.ts +0 -6
- package/dist/esm/types/components/ApiDoc/ApiDoc.stories.d.ts +0 -21
- package/dist/esm/types/components/ApiDoc/ApiDoc.test.d.ts +0 -1
- package/dist/esm/types/components/ApiDoc/index.d.ts +0 -1
- package/dist/esm/types/components/AuthorInfo/AuthorInfo.d.ts +0 -7
- package/dist/esm/types/components/AuthorInfo/AuthorInfo.stories.d.ts +0 -10
- package/dist/esm/types/components/AuthorInfo/AuthorInfo.test.d.ts +0 -1
- package/dist/esm/types/components/AuthorInfo/index.d.ts +0 -1
- package/dist/esm/types/components/Authors/Authors.d.ts +0 -10
- package/dist/esm/types/components/Authors/Authors.stories.d.ts +0 -12
- package/dist/esm/types/components/Authors/Authors.test.d.ts +0 -1
- package/dist/esm/types/components/Authors/index.d.ts +0 -1
- package/dist/esm/types/components/DebouncedInput/DebouncedInput.d.ts +0 -6
- package/dist/esm/types/components/DebouncedInput/index.d.ts +0 -1
- package/dist/esm/types/components/IdCopy/IdCopy.d.ts +0 -8
- package/dist/esm/types/components/IdCopy/IdCopy.stories.d.ts +0 -11
- package/dist/esm/types/components/IdCopy/IdCopy.test.d.ts +0 -1
- package/dist/esm/types/components/IdCopy/index.d.ts +0 -1
- package/dist/esm/types/components/IdLink/IdLink.d.ts +0 -7
- package/dist/esm/types/components/IdLink/IdLink.stories.d.ts +0 -15
- package/dist/esm/types/components/IdLink/IdLink.test.d.ts +0 -1
- package/dist/esm/types/components/IdLink/index.d.ts +0 -1
- package/dist/esm/types/components/Navigation/NavBar.d.ts +0 -13
- package/dist/esm/types/components/Navigation/NavBar.stories.d.ts +0 -28
- package/dist/esm/types/components/Navigation/NavBar.test.d.ts +0 -1
- package/dist/esm/types/components/Navigation/NavItem.d.ts +0 -8
- package/dist/esm/types/components/Navigation/NavItem.stories.d.ts +0 -19
- package/dist/esm/types/components/Navigation/NavMenu.d.ts +0 -12
- package/dist/esm/types/components/Navigation/NavMenu.stories.d.ts +0 -19
- package/dist/esm/types/components/Navigation/index.d.ts +0 -1
- package/dist/esm/types/components/TEIText/TEIText.d.ts +0 -14
- package/dist/esm/types/components/TEIText/TEIText.stories.d.ts +0 -10
- package/dist/esm/types/components/TEIText/index.d.ts +0 -1
- package/dist/esm/types/components/Table/Table.d.ts +0 -11
- package/dist/esm/types/components/Table/Table.stories.d.ts +0 -9
- package/dist/esm/types/components/Table/Table.test.d.ts +0 -1
- package/dist/esm/types/components/Table/index.d.ts +0 -1
- package/dist/esm/types/components/Tabs/Tabs.d.ts +0 -11
- package/dist/esm/types/components/Tabs/Tabs.stories.d.ts +0 -23
- package/dist/esm/types/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/esm/types/components/Tabs/index.d.ts +0 -1
- package/dist/esm/types/components/Years/Years.d.ts +0 -10
- package/dist/esm/types/components/Years/Years.stories.d.ts +0 -11
- package/dist/esm/types/components/Years/Years.test.d.ts +0 -1
- package/dist/esm/types/components/Years/index.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +0 -10
- package/dist/esm/types/einakter-gh.d.ts +0 -2
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/testHelpers.d.ts +0 -7
- package/dist/esm/types/utils.d.ts +0 -2
- package/tailwind.js +0 -57
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ApiDoc from './ApiDoc';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ApiDoc;
|
|
6
|
-
tags: string[];
|
|
7
|
-
decorators: ((story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
8
|
-
url: string;
|
|
9
|
-
title?: string | undefined;
|
|
10
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
11
|
-
parameters: {
|
|
12
|
-
reactRouter: {
|
|
13
|
-
routing: {
|
|
14
|
-
path: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default meta;
|
|
20
|
-
type Story = StoryObj<typeof meta>;
|
|
21
|
-
export declare const Ecocor: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ApiDoc';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import AuthorInfo from './AuthorInfo';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof AuthorInfo;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Shakespeare: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AuthorInfo';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ data }: import("./Authors").Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
};
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof meta>;
|
|
9
|
-
export declare const Single: Story;
|
|
10
|
-
export declare const WithLink: Story;
|
|
11
|
-
export declare const WithPseudonym: Story;
|
|
12
|
-
export declare const MultipleAuthors: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Authors';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function DebouncedInput({ value: initialValue, onChange, debounce, ...props }: {
|
|
3
|
-
value: string | number;
|
|
4
|
-
onChange: (value: string | number) => void;
|
|
5
|
-
debounce?: number;
|
|
6
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './DebouncedInput';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import IdCopy from './IdCopy';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof IdCopy;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Basic: Story;
|
|
11
|
-
export declare const WithUri: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './IdCopy';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import IdLink from './IdLink';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof IdLink;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Wikidata: Story;
|
|
11
|
-
export declare const WikidataURI: Story;
|
|
12
|
-
export declare const Dracor: Story;
|
|
13
|
-
export declare const DracorURI: Story;
|
|
14
|
-
export declare const Wega: Story;
|
|
15
|
-
export declare const WegaURI: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './IdLink';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props as NavItemProps } from './NavItem';
|
|
3
|
-
import { Props as NavMenuProps } from './NavMenu';
|
|
4
|
-
export interface NavBarProps {
|
|
5
|
-
title: string;
|
|
6
|
-
logo?: string;
|
|
7
|
-
logoClass?: string;
|
|
8
|
-
version?: string;
|
|
9
|
-
gitHubUrl?: string;
|
|
10
|
-
gitHubIcon?: JSX.Element;
|
|
11
|
-
navItems?: (NavItemProps | NavMenuProps)[];
|
|
12
|
-
}
|
|
13
|
-
export default function NavBar({ title, logo, logoClass, version, gitHubUrl, gitHubIcon, navItems }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import NavBar from './NavBar';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NavBar;
|
|
6
|
-
tags: string[];
|
|
7
|
-
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
8
|
-
parameters: {
|
|
9
|
-
reactRouter: {
|
|
10
|
-
routing: {
|
|
11
|
-
path: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
argTypes: {
|
|
16
|
-
logo: {
|
|
17
|
-
control: {
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
options: string[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default meta;
|
|
25
|
-
type Story = StoryObj<typeof meta>;
|
|
26
|
-
export declare const Dracor: Story;
|
|
27
|
-
export declare const Einakter: Story;
|
|
28
|
-
export declare const Ecocor: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
label: string;
|
|
3
|
-
href: string;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export default function NavItem({ label, href, active, className }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare function itemClassNames(active?: boolean, className?: string): string;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import NavItem from './NavItem';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NavItem;
|
|
6
|
-
tags: string[];
|
|
7
|
-
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
8
|
-
parameters: {
|
|
9
|
-
reactRouter: {
|
|
10
|
-
routing: {
|
|
11
|
-
path: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Home: Story;
|
|
19
|
-
export declare const Active: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface Item {
|
|
2
|
-
label: string;
|
|
3
|
-
href: string;
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface Props {
|
|
7
|
-
label: string;
|
|
8
|
-
items: Item[];
|
|
9
|
-
menuClass?: string;
|
|
10
|
-
}
|
|
11
|
-
export default function NavMenu({ label, items, menuClass }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import NavMenu from './NavMenu';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NavMenu;
|
|
6
|
-
tags: string[];
|
|
7
|
-
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
8
|
-
parameters: {
|
|
9
|
-
reactRouter: {
|
|
10
|
-
routing: {
|
|
11
|
-
path: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Simple: Story;
|
|
19
|
-
export declare const Active: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './NavBar';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
/**
|
|
3
|
-
* URL to a TEI document
|
|
4
|
-
*/
|
|
5
|
-
url: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Component rendering a TEI document using [CETEIcean](https://github.com/TEIC/CETEIcean)
|
|
9
|
-
*
|
|
10
|
-
* Styling of the TEI elements is supported via the `ceteicean` tailwindcss
|
|
11
|
-
* plugin. Add `require('@dracor/react/ceteicean')` to the plugins array of your
|
|
12
|
-
* tailwind.config.js.
|
|
13
|
-
*/
|
|
14
|
-
export default function TEIText({ url }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TEIText from './TEIText';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof TEIText;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const MobyDick: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TEIText';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ColumnDef, SortDirection, SortingState } from '@tanstack/react-table';
|
|
2
|
-
export interface Props {
|
|
3
|
-
data: any[];
|
|
4
|
-
columns: ColumnDef<any>[];
|
|
5
|
-
defaultSort?: SortingState;
|
|
6
|
-
}
|
|
7
|
-
declare const Table: ({ columns, data: initialData, defaultSort }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Table;
|
|
9
|
-
export declare function SortIndicator({ status }: {
|
|
10
|
-
status: false | SortDirection;
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ columns, data: initialData, defaultSort }: import("./Table").Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
};
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof meta>;
|
|
9
|
-
export declare const Basic: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Table';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface TabData {
|
|
2
|
-
label: string;
|
|
3
|
-
href: string;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface Props {
|
|
7
|
-
data: TabData[];
|
|
8
|
-
}
|
|
9
|
-
export default function Tabs({ data: tabs }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare function linkClasses(active: boolean): string;
|
|
11
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Tabs from './Tabs';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Tabs;
|
|
6
|
-
tags: string[];
|
|
7
|
-
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
8
|
-
parameters: {
|
|
9
|
-
reactRouter: {
|
|
10
|
-
location: {
|
|
11
|
-
pathParams: {
|
|
12
|
-
page: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
routing: {
|
|
16
|
-
path: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default meta;
|
|
22
|
-
type Story = StoryObj<typeof meta>;
|
|
23
|
-
export declare const Basic: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Tabs';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
written?: number;
|
|
3
|
-
premiere?: number;
|
|
4
|
-
print?: number;
|
|
5
|
-
locale?: string;
|
|
6
|
-
labelWritten?: string;
|
|
7
|
-
labelPremiered?: string;
|
|
8
|
-
labelPrinted?: string;
|
|
9
|
-
}
|
|
10
|
-
export default function Years({ written, premiere, print, locale, labelPremiered, labelPrinted, labelWritten, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Years from './Years';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Years;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Basic: Story;
|
|
11
|
-
export declare const German: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Years';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as AuthorInfo } from './AuthorInfo';
|
|
2
|
-
export { default as Authors } from './Authors';
|
|
3
|
-
export { default as DebouncedInput } from './DebouncedInput';
|
|
4
|
-
export { default as IdCopy } from './IdCopy';
|
|
5
|
-
export { default as IdLink } from './IdLink';
|
|
6
|
-
export { default as NavBar } from './Navigation';
|
|
7
|
-
export { default as Table } from './Table';
|
|
8
|
-
export { default as Tabs } from './Tabs';
|
|
9
|
-
export { default as TEIText } from './TEIText';
|
|
10
|
-
export { default as Years } from './Years';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const withRouter: (children: JSX.Element, { route }?: {
|
|
3
|
-
route?: string | undefined;
|
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const withProviders: (children: JSX.Element, { route }?: {
|
|
6
|
-
route?: string | undefined;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|