@amsterdam/design-system-react 0.3.0 → 0.5.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/LICENSE.md +1 -1
- package/LICENSE.txt +287 -0
- package/README.md +15 -3
- package/dist/index.cjs.js +624 -369
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +655 -34
- package/dist/index.esm.js +622 -372
- package/dist/index.esm.js.map +1 -1
- package/package.json +25 -25
- package/dist/Accordion/Accordion.d.ts +0 -15
- package/dist/Accordion/Accordion.test.d.ts +0 -1
- package/dist/Accordion/AccordionContext.d.ts +0 -8
- package/dist/Accordion/AccordionSection.d.ts +0 -12
- package/dist/Accordion/AccordionSection.test.d.ts +0 -1
- package/dist/Accordion/index.d.ts +0 -3
- package/dist/Accordion/useFocusWithArrow.test.d.ts +0 -1
- package/dist/Accordion/useFocusWithArrows.d.ts +0 -24
- package/dist/Alert/Alert.d.ts +0 -13
- package/dist/Alert/Alert.test.d.ts +0 -1
- package/dist/Alert/index.d.ts +0 -2
- package/dist/AspectRatio/AspectRatio.d.ts +0 -10
- package/dist/AspectRatio/AspectRatio.test.d.ts +0 -1
- package/dist/AspectRatio/index.d.ts +0 -2
- package/dist/Blockquote/Blockquote.d.ts +0 -15
- package/dist/Blockquote/Blockquote.test.d.ts +0 -1
- package/dist/Blockquote/index.d.ts +0 -2
- package/dist/Breadcrumb/Breadcrumb.d.ts +0 -11
- package/dist/Breadcrumb/Breadcrumb.test.d.ts +0 -1
- package/dist/Breadcrumb/index.d.ts +0 -2
- package/dist/Button/Button.d.ts +0 -12
- package/dist/Button/Button.test.d.ts +0 -1
- package/dist/Button/index.d.ts +0 -2
- package/dist/Card/Card.d.ts +0 -19
- package/dist/Card/Card.test.d.ts +0 -1
- package/dist/Card/index.d.ts +0 -2
- package/dist/Checkbox/Checkbox.d.ts +0 -12
- package/dist/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/Checkbox/index.d.ts +0 -2
- package/dist/Dialog/Dialog.d.ts +0 -9
- package/dist/Dialog/Dialog.test.d.ts +0 -1
- package/dist/Dialog/index.d.ts +0 -2
- package/dist/Footer/Footer.d.ts +0 -18
- package/dist/Footer/Footer.test.d.ts +0 -1
- package/dist/Footer/index.d.ts +0 -1
- package/dist/FormLabel/FormLabel.d.ts +0 -9
- package/dist/FormLabel/FormLabel.test.d.ts +0 -1
- package/dist/FormLabel/index.d.ts +0 -1
- package/dist/Grid/Grid.d.ts +0 -42
- package/dist/Grid/Grid.test.d.ts +0 -1
- package/dist/Grid/GridCell.d.ts +0 -18
- package/dist/Grid/GridCell.test.d.ts +0 -1
- package/dist/Grid/gridCellClasses.d.ts +0 -2
- package/dist/Grid/index.d.ts +0 -2
- package/dist/Header/Header.d.ts +0 -15
- package/dist/Header/Header.test.d.ts +0 -1
- package/dist/Header/index.d.ts +0 -2
- package/dist/Heading/Heading.d.ts +0 -29
- package/dist/Heading/Heading.test.d.ts +0 -1
- package/dist/Heading/index.d.ts +0 -2
- package/dist/Icon/Icon.d.ts +0 -12
- package/dist/Icon/Icon.test.d.ts +0 -1
- package/dist/Icon/index.d.ts +0 -2
- package/dist/Image/Image.d.ts +0 -9
- package/dist/Image/Image.test.d.ts +0 -1
- package/dist/Image/index.d.ts +0 -1
- package/dist/Link/Link.d.ts +0 -21
- package/dist/Link/Link.test.d.ts +0 -1
- package/dist/Link/index.d.ts +0 -2
- package/dist/Logo/Logo.d.ts +0 -10
- package/dist/Logo/Logo.test.d.ts +0 -1
- package/dist/Logo/brand/LogoAmsterdam.d.ts +0 -3
- package/dist/Logo/brand/LogoGgdAmsterdam.d.ts +0 -3
- package/dist/Logo/brand/LogoStadsarchief.d.ts +0 -3
- package/dist/Logo/brand/LogoStadsbankVanLening.d.ts +0 -3
- package/dist/Logo/brand/LogoVgaVerzekeringen.d.ts +0 -3
- package/dist/Logo/brand/index.d.ts +0 -5
- package/dist/Logo/index.d.ts +0 -2
- package/dist/Mark/Mark.d.ts +0 -8
- package/dist/Mark/Mark.test.d.ts +0 -1
- package/dist/Mark/index.d.ts +0 -2
- package/dist/OrderedList/OrderedList.d.ts +0 -17
- package/dist/OrderedList/OrderedList.test.d.ts +0 -1
- package/dist/OrderedList/index.d.ts +0 -2
- package/dist/Overlap/Overlap.d.ts +0 -8
- package/dist/Overlap/Overlap.test.d.ts +0 -1
- package/dist/Overlap/index.d.ts +0 -1
- package/dist/PageHeading/PageHeading.d.ts +0 -15
- package/dist/PageHeading/PageHeading.test.d.ts +0 -1
- package/dist/PageHeading/index.d.ts +0 -2
- package/dist/PageMenu/PageMenu.d.ts +0 -25
- package/dist/PageMenu/PageMenu.test.d.ts +0 -1
- package/dist/PageMenu/index.d.ts +0 -2
- package/dist/Pagination/Pagination.d.ts +0 -24
- package/dist/Pagination/Pagination.test.d.ts +0 -1
- package/dist/Pagination/index.d.ts +0 -2
- package/dist/Paragraph/Paragraph.d.ts +0 -17
- package/dist/Paragraph/Paragraph.test.d.ts +0 -1
- package/dist/Paragraph/index.d.ts +0 -2
- package/dist/Screen/Screen.d.ts +0 -11
- package/dist/Screen/Screen.test.d.ts +0 -1
- package/dist/Screen/index.d.ts +0 -2
- package/dist/SearchField/SearchField.d.ts +0 -14
- package/dist/SearchField/SearchField.test.d.ts +0 -1
- package/dist/SearchField/SearchFieldButton.d.ts +0 -9
- package/dist/SearchField/SearchFieldInput.d.ts +0 -10
- package/dist/SearchField/SearchFieldInput.test.d.ts +0 -1
- package/dist/SearchField/index.d.ts +0 -2
- package/dist/SkipLink/SkipLink.d.ts +0 -8
- package/dist/SkipLink/SkipLink.test.d.ts +0 -1
- package/dist/SkipLink/index.d.ts +0 -2
- package/dist/Spotlight/Spotlight.d.ts +0 -10
- package/dist/Spotlight/Spotlight.test.d.ts +0 -1
- package/dist/Spotlight/index.d.ts +0 -2
- package/dist/Switch/Switch.d.ts +0 -4
- package/dist/Switch/Switch.test.d.ts +0 -1
- package/dist/Switch/index.d.ts +0 -1
- package/dist/TextInput/TextInput.d.ts +0 -8
- package/dist/TextInput/TextInput.test.d.ts +0 -1
- package/dist/TextInput/index.d.ts +0 -2
- package/dist/TopTaskLink/TopTaskLink.d.ts +0 -10
- package/dist/TopTaskLink/TopTaskLink.test.d.ts +0 -1
- package/dist/TopTaskLink/index.d.ts +0 -1
- package/dist/UnorderedList/UnorderedList.d.ts +0 -17
- package/dist/UnorderedList/UnorderedList.test.d.ts +0 -1
- package/dist/UnorderedList/index.d.ts +0 -2
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +0 -8
- package/dist/VisuallyHidden/VisuallyHidden.test.d.ts +0 -1
- package/dist/VisuallyHidden/index.d.ts +0 -1
package/dist/Logo/Logo.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as LogoAmsterdam } from './LogoAmsterdam';
|
|
2
|
-
export { default as LogoGgdAmsterdam } from './LogoGgdAmsterdam';
|
|
3
|
-
export { default as LogoStadsarchief } from './LogoStadsarchief';
|
|
4
|
-
export { default as LogoStadsbankVanLening } from './LogoStadsbankVanLening';
|
|
5
|
-
export { default as LogoVgaVerzekeringen } from './LogoVgaVerzekeringen';
|
package/dist/Logo/index.d.ts
DELETED
package/dist/Mark/Mark.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
6
|
-
export interface MarkProps extends PropsWithChildren<HTMLAttributes<HTMLElement>> {
|
|
7
|
-
}
|
|
8
|
-
export declare const Mark: import("react").ForwardRefExoticComponent<MarkProps & import("react").RefAttributes<HTMLElement>>;
|
package/dist/Mark/Mark.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Mark/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { ForwardRefExoticComponent, LiHTMLAttributes, OlHTMLAttributes, PropsWithChildren, RefAttributes } from 'react';
|
|
6
|
-
export interface OrderedListProps extends PropsWithChildren<OlHTMLAttributes<HTMLOListElement>> {
|
|
7
|
-
markers?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface OrderedListComponent extends ForwardRefExoticComponent<OrderedListProps & RefAttributes<HTMLOListElement>> {
|
|
10
|
-
Item: typeof OrderedListItem;
|
|
11
|
-
}
|
|
12
|
-
export declare const OrderedList: OrderedListComponent;
|
|
13
|
-
export type OrderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
|
|
14
|
-
export declare const OrderedListItem: ForwardRefExoticComponent<OrderedListItemProps & {
|
|
15
|
-
children?: import("react").ReactNode;
|
|
16
|
-
} & RefAttributes<HTMLLIElement>>;
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { type HTMLAttributes } from 'react';
|
|
6
|
-
export declare const Overlap: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
7
|
-
children?: import("react").ReactNode;
|
|
8
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Overlap/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Overlap } from './Overlap';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export interface PageHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
7
|
-
/**
|
|
8
|
-
* De kleur van de titel
|
|
9
|
-
* Gebruik deze property om de titel in tegenovergestelde kleur te tonen.
|
|
10
|
-
*/
|
|
11
|
-
inverseColor?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const PageHeading: import("react").ForwardRefExoticComponent<PageHeadingProps & {
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ForwardRefExoticComponent, HTMLAttributes, PropsWithChildren, RefAttributes } from 'react';
|
|
6
|
-
type PageMenuProps = {
|
|
7
|
-
/**
|
|
8
|
-
* Whether the page menu’s items align to its end.
|
|
9
|
-
* If the menu itself aligns to the end of its container, you should set this to `true`.
|
|
10
|
-
*/
|
|
11
|
-
alignEnd?: boolean;
|
|
12
|
-
} & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
13
|
-
interface PageMenuComponent extends ForwardRefExoticComponent<PageMenuProps & RefAttributes<HTMLElement>> {
|
|
14
|
-
Link: typeof PageMenuLink;
|
|
15
|
-
}
|
|
16
|
-
export declare const PageMenu: PageMenuComponent;
|
|
17
|
-
export interface PageMenuLinkProps extends PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>> {
|
|
18
|
-
icon?: Function;
|
|
19
|
-
}
|
|
20
|
-
export interface PageMenuButtonProps extends PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>> {
|
|
21
|
-
icon?: Function;
|
|
22
|
-
showOnMobile?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const PageMenuLink: ForwardRefExoticComponent<PageMenuLinkProps & RefAttributes<HTMLAnchorElement>>;
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/PageMenu/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export interface PaginationProps extends HTMLAttributes<HTMLElement> {
|
|
7
|
-
/**
|
|
8
|
-
* The maximum amount of pages shown. This has a lower limit of 5
|
|
9
|
-
*/
|
|
10
|
-
maxVisiblePages?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Callback triggered when interaction changes the page number.
|
|
13
|
-
*/
|
|
14
|
-
onPageChange?: (page: number) => void;
|
|
15
|
-
/**
|
|
16
|
-
* The current page number.
|
|
17
|
-
*/
|
|
18
|
-
page?: number;
|
|
19
|
-
/**
|
|
20
|
-
* The total number of pages.
|
|
21
|
-
*/
|
|
22
|
-
totalPages: number;
|
|
23
|
-
}
|
|
24
|
-
export declare const Pagination: import("react").ForwardRefExoticComponent<PaginationProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
5
|
-
*/
|
|
6
|
-
import { HTMLAttributes } from 'react';
|
|
7
|
-
export interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
8
|
-
size?: 'small' | 'large';
|
|
9
|
-
/**
|
|
10
|
-
* De kleur van de paragraaf
|
|
11
|
-
* Gebruik deze property om de paragraaf in tegenovergestelde kleur te tonen.
|
|
12
|
-
*/
|
|
13
|
-
inverseColor?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & {
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
|
-
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Screen/Screen.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
6
|
-
type ScreenMaxWidth = 'wide' | 'x-wide';
|
|
7
|
-
export interface ScreenProps extends PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
|
|
8
|
-
maxWidth?: ScreenMaxWidth;
|
|
9
|
-
}
|
|
10
|
-
export declare const Screen: import("react").ForwardRefExoticComponent<ScreenProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Screen/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { ForwardRefExoticComponent, HTMLAttributes, PropsWithChildren, RefAttributes } from 'react';
|
|
6
|
-
import { SearchFieldButton } from './SearchFieldButton';
|
|
7
|
-
import { SearchFieldInput } from './SearchFieldInput';
|
|
8
|
-
export interface SearchFieldProps extends PropsWithChildren<HTMLAttributes<HTMLFormElement>> {
|
|
9
|
-
}
|
|
10
|
-
export interface SearchFieldComponent extends ForwardRefExoticComponent<SearchFieldProps & RefAttributes<HTMLFormElement>> {
|
|
11
|
-
Input: typeof SearchFieldInput;
|
|
12
|
-
Button: typeof SearchFieldButton;
|
|
13
|
-
}
|
|
14
|
-
export declare const SearchField: SearchFieldComponent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
interface SearchFieldButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
7
|
-
}
|
|
8
|
-
export declare const SearchFieldButton: import("react").ForwardRefExoticComponent<SearchFieldButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { InputHTMLAttributes } from 'react';
|
|
6
|
-
interface SearchFieldInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
-
label?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const SearchFieldInput: import("react").ForwardRefExoticComponent<SearchFieldInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import type { AnchorHTMLAttributes, PropsWithChildren } from 'react';
|
|
6
|
-
export interface SkipLinkProps extends PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>> {
|
|
7
|
-
}
|
|
8
|
-
export declare const SkipLink: import("react").ForwardRefExoticComponent<SkipLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/SkipLink/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
6
|
-
export interface SpotlightProps extends PropsWithChildren<HTMLAttributes<HTMLElement>> {
|
|
7
|
-
as?: 'article' | 'aside' | 'div' | 'footer' | 'section';
|
|
8
|
-
color?: 'blue' | 'dark-green' | 'green' | 'light-blue' | 'magenta' | 'orange' | 'purple' | 'yellow';
|
|
9
|
-
}
|
|
10
|
-
export declare const Spotlight: import("react").ForwardRefExoticComponent<SpotlightProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Switch/Switch.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/Switch/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Switch } from './Switch';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { InputHTMLAttributes } from 'react';
|
|
6
|
-
export interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
-
}
|
|
8
|
-
export declare const TextInput: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { AnchorHTMLAttributes } from 'react';
|
|
6
|
-
export interface TopTaskLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
7
|
-
label: string;
|
|
8
|
-
description: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const TopTaskLink: import("react").ForwardRefExoticComponent<TopTaskLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TopTaskLink } from './TopTaskLink';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { ForwardRefExoticComponent, HTMLAttributes, LiHTMLAttributes, PropsWithChildren, RefAttributes } from 'react';
|
|
6
|
-
export interface UnorderedListProps extends PropsWithChildren<HTMLAttributes<HTMLUListElement>> {
|
|
7
|
-
markers?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface UnorderedListComponent extends ForwardRefExoticComponent<UnorderedListProps & RefAttributes<HTMLUListElement>> {
|
|
10
|
-
Item: typeof UnorderedListItem;
|
|
11
|
-
}
|
|
12
|
-
export declare const UnorderedList: UnorderedListComponent;
|
|
13
|
-
export type UnorderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
|
|
14
|
-
export declare const UnorderedListItem: ForwardRefExoticComponent<UnorderedListItemProps & {
|
|
15
|
-
children?: import("react").ReactNode;
|
|
16
|
-
} & RefAttributes<HTMLLIElement>>;
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
7
|
-
children?: import("react").ReactNode;
|
|
8
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VisuallyHidden } from './VisuallyHidden';
|