@utrecht/component-library-react 1.0.0-alpha.20 → 1.0.0-alpha.201
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 +26 -2
- package/dist/Alert.d.ts +13 -0
- package/dist/AlertDialog.d.ts +13 -0
- package/dist/{cjs/Article.d.ts → Article.d.ts} +9 -7
- package/dist/{cjs/Backdrop.d.ts → Backdrop.d.ts} +9 -7
- package/dist/Button.d.ts +28 -0
- package/dist/ButtonGroup.d.ts +10 -0
- package/dist/ButtonLink.d.ts +14 -0
- package/dist/Calendar/CalendarButton.d.ts +5 -0
- package/dist/Calendar/CalendarIcon.d.ts +5 -0
- package/dist/Calendar/CalendarNavigation.d.ts +5 -0
- package/dist/Calendar/CalendarNavigationButtons.d.ts +13 -0
- package/dist/Calendar/CalendarNavigationLabel.d.ts +6 -0
- package/dist/Calendar/CalendarTableDaysContainer.d.ts +5 -0
- package/dist/Calendar/CalendarTableDaysItem.d.ts +5 -0
- package/dist/Calendar/CalendarTableDaysItemDay.d.ts +11 -0
- package/dist/Calendar/CalendarTableWeeksContainer.d.ts +4 -0
- package/dist/Calendar/CalendarTableWeeksItem.d.ts +5 -0
- package/dist/Calendar/IconArrowLeft.d.ts +7 -0
- package/dist/Calendar/IconArrowLeftDouble.d.ts +7 -0
- package/dist/Calendar/IconArrowRight.d.ts +7 -0
- package/dist/Calendar/IconArrowRightDouble.d.ts +7 -0
- package/dist/Calendar/index.d.ts +41 -0
- package/dist/{cjs/Checkbox.d.ts → Checkbox.d.ts} +6 -5
- package/dist/Code.d.ts +10 -0
- package/dist/CodeBlock.d.ts +10 -0
- package/dist/CustomRadioButton.d.ts +13 -0
- package/dist/DataList.d.ts +28 -0
- package/dist/{cjs/Document.d.ts → Document.d.ts} +9 -7
- package/dist/Emphasis.d.ts +10 -0
- package/dist/Fieldset.d.ts +19 -0
- package/dist/{cjs/FieldsetLegend.d.ts → FieldsetLegend.d.ts} +5 -3
- package/dist/Figure.d.ts +5 -0
- package/dist/FigureCaption.d.ts +5 -0
- package/dist/FormField.d.ts +8 -0
- package/dist/{cjs/FormFieldDescription.d.ts → FormFieldDescription.d.ts} +9 -7
- package/dist/{cjs/FormLabel.d.ts → FormLabel.d.ts} +10 -8
- package/dist/{cjs/HTMLContent.d.ts → HTMLContent.d.ts} +9 -7
- package/dist/Heading.d.ts +12 -0
- package/dist/{cjs/Heading1.d.ts → Heading1.d.ts} +9 -7
- package/dist/{cjs/Heading2.d.ts → Heading2.d.ts} +9 -7
- package/dist/{cjs/Heading3.d.ts → Heading3.d.ts} +9 -7
- package/dist/{cjs/Heading4.d.ts → Heading4.d.ts} +9 -7
- package/dist/{cjs/Heading5.d.ts → Heading5.d.ts} +9 -7
- package/dist/{cjs/Heading6.d.ts → Heading6.d.ts} +9 -7
- package/dist/HeadingGroup.d.ts +9 -0
- package/dist/Icon.d.ts +10 -0
- package/dist/Image.d.ts +9 -0
- package/dist/Link.d.ts +14 -0
- package/dist/LinkButton.d.ts +13 -0
- package/dist/LinkSocial.d.ts +11 -0
- package/dist/ListSocial.d.ts +13 -0
- package/dist/Mark.d.ts +10 -0
- package/dist/NumberValue.d.ts +11 -0
- package/dist/{cjs/OrderedList.d.ts → OrderedList.d.ts} +9 -7
- package/dist/{cjs/OrderedListItem.d.ts → OrderedListItem.d.ts} +9 -7
- package/dist/{cjs/Page.d.ts → Page.d.ts} +9 -7
- package/dist/{cjs/PageContent.d.ts → PageContent.d.ts} +13 -9
- package/dist/{cjs/PageFooter.d.ts → PageFooter.d.ts} +9 -7
- package/dist/{cjs/PageHeader.d.ts → PageHeader.d.ts} +9 -7
- package/dist/{cjs/Paragraph.d.ts → Paragraph.d.ts} +12 -9
- package/dist/PreHeading.d.ts +9 -0
- package/dist/{cjs/RadioButton.d.ts → RadioButton.d.ts} +6 -5
- package/dist/{cjs/Select.d.ts → Select.d.ts} +19 -11
- package/dist/{cjs/Separator.d.ts → Separator.d.ts} +7 -7
- package/dist/SkipLink.d.ts +5 -0
- package/dist/SpotlightSection.d.ts +13 -0
- package/dist/Strong.d.ts +10 -0
- package/dist/{cjs/Surface.d.ts → Surface.d.ts} +9 -7
- package/dist/{cjs/Table.d.ts → Table.d.ts} +9 -7
- package/dist/{cjs/TableBody.d.ts → TableBody.d.ts} +9 -7
- package/dist/{cjs/TableCaption.d.ts → TableCaption.d.ts} +9 -7
- package/dist/{cjs/TableCell.d.ts → TableCell.d.ts} +9 -7
- package/dist/{cjs/TableFooter.d.ts → TableFooter.d.ts} +9 -7
- package/dist/{cjs/TableHeader.d.ts → TableHeader.d.ts} +9 -7
- package/dist/{cjs/TableHeaderCell.d.ts → TableHeaderCell.d.ts} +9 -7
- package/dist/{cjs/TableRow.d.ts → TableRow.d.ts} +9 -7
- package/dist/{cjs/Textarea.d.ts → Textarea.d.ts} +5 -5
- package/dist/{cjs/Textbox.d.ts → Textbox.d.ts} +7 -7
- package/dist/{cjs/URLValue.d.ts → URLValue.d.ts} +9 -7
- package/dist/{cjs/UnorderedList.d.ts → UnorderedList.d.ts} +9 -7
- package/dist/{cjs/UnorderedListItem.d.ts → UnorderedListItem.d.ts} +9 -7
- package/dist/css-module/Alert.d.ts +13 -0
- package/dist/css-module/AlertDialog.d.ts +13 -0
- package/dist/css-module/Article.d.ts +9 -0
- package/dist/css-module/Backdrop.d.ts +9 -0
- package/dist/css-module/Button.d.ts +28 -0
- package/dist/css-module/ButtonGroup.d.ts +10 -0
- package/dist/css-module/ButtonLink.d.ts +14 -0
- package/dist/css-module/Calendar/CalendarButton.d.ts +5 -0
- package/dist/css-module/Calendar/CalendarIcon.d.ts +5 -0
- package/dist/css-module/Calendar/CalendarNavigation.d.ts +5 -0
- package/dist/css-module/Calendar/CalendarNavigationButtons.d.ts +13 -0
- package/dist/css-module/Calendar/CalendarNavigationLabel.d.ts +6 -0
- package/dist/css-module/Calendar/CalendarTableDaysContainer.d.ts +5 -0
- package/dist/css-module/Calendar/CalendarTableDaysItem.d.ts +5 -0
- package/dist/css-module/Calendar/CalendarTableDaysItemDay.d.ts +11 -0
- package/dist/css-module/Calendar/CalendarTableWeeksContainer.d.ts +4 -0
- package/dist/css-module/Calendar/CalendarTableWeeksItem.d.ts +5 -0
- package/dist/css-module/Calendar/IconArrowLeft.d.ts +7 -0
- package/dist/css-module/Calendar/IconArrowLeftDouble.d.ts +7 -0
- package/dist/css-module/Calendar/IconArrowRight.d.ts +7 -0
- package/dist/css-module/Calendar/IconArrowRightDouble.d.ts +7 -0
- package/dist/css-module/Calendar/index.d.ts +41 -0
- package/dist/css-module/Checkbox.d.ts +6 -0
- package/dist/css-module/Code.d.ts +10 -0
- package/dist/css-module/CodeBlock.d.ts +10 -0
- package/dist/css-module/CustomRadioButton.d.ts +13 -0
- package/dist/css-module/DataList.d.ts +28 -0
- package/dist/css-module/Document.d.ts +9 -0
- package/dist/css-module/Emphasis.d.ts +10 -0
- package/dist/css-module/Fieldset.d.ts +19 -0
- package/dist/css-module/FieldsetLegend.d.ts +5 -0
- package/dist/css-module/Figure.d.ts +5 -0
- package/dist/css-module/FigureCaption.d.ts +5 -0
- package/dist/css-module/FormField.d.ts +8 -0
- package/dist/css-module/FormFieldDescription.d.ts +9 -0
- package/dist/css-module/FormLabel.d.ts +10 -0
- package/dist/css-module/HTMLContent.d.ts +9 -0
- package/dist/css-module/Heading.d.ts +12 -0
- package/dist/css-module/Heading1.d.ts +9 -0
- package/dist/css-module/Heading2.d.ts +9 -0
- package/dist/css-module/Heading3.d.ts +9 -0
- package/dist/css-module/Heading4.d.ts +9 -0
- package/dist/css-module/Heading5.d.ts +9 -0
- package/dist/css-module/Heading6.d.ts +9 -0
- package/dist/css-module/HeadingGroup.d.ts +9 -0
- package/dist/css-module/Icon.d.ts +10 -0
- package/dist/css-module/Image.d.ts +9 -0
- package/dist/css-module/Link.d.ts +14 -0
- package/dist/css-module/LinkButton.d.ts +13 -0
- package/dist/css-module/LinkSocial.d.ts +11 -0
- package/dist/css-module/ListSocial.d.ts +13 -0
- package/dist/css-module/Mark.d.ts +10 -0
- package/dist/css-module/NumberValue.d.ts +11 -0
- package/dist/css-module/OrderedList.d.ts +9 -0
- package/dist/css-module/OrderedListItem.d.ts +9 -0
- package/dist/css-module/Page.d.ts +9 -0
- package/dist/css-module/PageContent.d.ts +13 -0
- package/dist/css-module/PageFooter.d.ts +9 -0
- package/dist/css-module/PageHeader.d.ts +9 -0
- package/dist/css-module/Paragraph.d.ts +12 -0
- package/dist/css-module/PreHeading.d.ts +9 -0
- package/dist/css-module/RadioButton.d.ts +6 -0
- package/dist/css-module/Select.d.ts +19 -0
- package/dist/css-module/Separator.d.ts +7 -0
- package/dist/css-module/SkipLink.d.ts +5 -0
- package/dist/css-module/SpotlightSection.d.ts +13 -0
- package/dist/css-module/Strong.d.ts +10 -0
- package/dist/css-module/Surface.d.ts +9 -0
- package/dist/css-module/Table.d.ts +9 -0
- package/dist/css-module/TableBody.d.ts +9 -0
- package/dist/css-module/TableCaption.d.ts +9 -0
- package/dist/css-module/TableCell.d.ts +9 -0
- package/dist/css-module/TableFooter.d.ts +9 -0
- package/dist/css-module/TableHeader.d.ts +9 -0
- package/dist/css-module/TableHeaderCell.d.ts +9 -0
- package/dist/css-module/TableRow.d.ts +9 -0
- package/dist/css-module/Textarea.d.ts +5 -0
- package/dist/css-module/Textbox.d.ts +7 -0
- package/dist/css-module/URLValue.d.ts +9 -0
- package/dist/css-module/UnorderedList.d.ts +9 -0
- package/dist/css-module/UnorderedListItem.d.ts +9 -0
- package/dist/css-module/css-module/Alert.d.ts +6 -0
- package/dist/css-module/css-module/AlertDialog.d.ts +6 -0
- package/dist/css-module/css-module/Article.d.ts +6 -0
- package/dist/css-module/css-module/Backdrop.d.ts +6 -0
- package/dist/css-module/css-module/Button.d.ts +6 -0
- package/dist/css-module/css-module/ButtonGroup.d.ts +6 -0
- package/dist/css-module/css-module/ButtonLink.d.ts +6 -0
- package/dist/css-module/css-module/Checkbox.d.ts +7 -0
- package/dist/css-module/css-module/Code.d.ts +6 -0
- package/dist/css-module/css-module/CodeBlock.d.ts +6 -0
- package/dist/css-module/css-module/CustomRadioButton.d.ts +6 -0
- package/dist/css-module/css-module/DataList.d.ts +6 -0
- package/dist/css-module/css-module/Document.d.ts +6 -0
- package/dist/css-module/css-module/Emphasis.d.ts +6 -0
- package/dist/css-module/css-module/Fieldset.d.ts +6 -0
- package/dist/css-module/css-module/FieldsetLegend.d.ts +6 -0
- package/dist/css-module/css-module/Figure.d.ts +6 -0
- package/dist/css-module/css-module/FigureCaption.d.ts +6 -0
- package/dist/css-module/css-module/FormField.d.ts +6 -0
- package/dist/css-module/css-module/FormFieldDescription.d.ts +6 -0
- package/dist/css-module/css-module/FormLabel.d.ts +6 -0
- package/dist/css-module/css-module/HTMLContent.d.ts +6 -0
- package/dist/css-module/css-module/Heading.d.ts +11 -0
- package/dist/css-module/css-module/Heading1.d.ts +6 -0
- package/dist/css-module/css-module/Heading2.d.ts +6 -0
- package/dist/css-module/css-module/Heading3.d.ts +6 -0
- package/dist/css-module/css-module/Heading4.d.ts +6 -0
- package/dist/css-module/css-module/Heading5.d.ts +6 -0
- package/dist/css-module/css-module/Heading6.d.ts +6 -0
- package/dist/css-module/css-module/HeadingGroup.d.ts +6 -0
- package/dist/css-module/css-module/Icon.d.ts +6 -0
- package/dist/css-module/css-module/Image.d.ts +6 -0
- package/dist/css-module/css-module/Link.d.ts +6 -0
- package/dist/css-module/css-module/LinkButton.d.ts +6 -0
- package/dist/css-module/css-module/LinkSocial.d.ts +6 -0
- package/dist/css-module/css-module/ListSocial.d.ts +6 -0
- package/dist/css-module/css-module/Mark.d.ts +6 -0
- package/dist/css-module/css-module/NumberValue.d.ts +6 -0
- package/dist/css-module/css-module/OrderedList.d.ts +6 -0
- package/dist/css-module/css-module/OrderedListItem.d.ts +6 -0
- package/dist/css-module/css-module/Page.d.ts +6 -0
- package/dist/css-module/css-module/PageContent.d.ts +6 -0
- package/dist/css-module/css-module/PageFooter.d.ts +6 -0
- package/dist/css-module/css-module/PageHeader.d.ts +6 -0
- package/dist/css-module/css-module/Paragraph.d.ts +6 -0
- package/dist/css-module/css-module/PreHeading.d.ts +6 -0
- package/dist/css-module/css-module/RadioButton.d.ts +7 -0
- package/dist/css-module/css-module/Select.d.ts +6 -0
- package/dist/css-module/css-module/Separator.d.ts +6 -0
- package/dist/css-module/css-module/SkipLink.d.ts +6 -0
- package/dist/css-module/css-module/SpotlightSection.d.ts +6 -0
- package/dist/css-module/css-module/Strong.d.ts +6 -0
- package/dist/css-module/css-module/Surface.d.ts +6 -0
- package/dist/css-module/css-module/Table.d.ts +6 -0
- package/dist/css-module/css-module/TableBody.d.ts +5 -0
- package/dist/css-module/css-module/TableCaption.d.ts +5 -0
- package/dist/css-module/css-module/TableCell.d.ts +5 -0
- package/dist/css-module/css-module/TableFooter.d.ts +5 -0
- package/dist/css-module/css-module/TableHeader.d.ts +5 -0
- package/dist/css-module/css-module/TableHeaderCell.d.ts +5 -0
- package/dist/css-module/css-module/TableRow.d.ts +5 -0
- package/dist/css-module/css-module/Textarea.d.ts +6 -0
- package/dist/css-module/css-module/Textbox.d.ts +6 -0
- package/dist/css-module/css-module/URLValue.d.ts +6 -0
- package/dist/css-module/css-module/UnorderedList.d.ts +6 -0
- package/dist/css-module/css-module/UnorderedListItem.d.ts +6 -0
- package/dist/{cjs → css-module/css-module}/index.d.ts +70 -47
- package/dist/css-module/index.d.ts +71 -0
- package/dist/css-module/index.js +1551 -0
- package/dist/css-module/index.js.map +1 -0
- package/dist/css-module/index.mjs +1469 -0
- package/dist/css-module/index.mjs.map +1 -0
- package/dist/index.cjs.js +1773 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +71 -0
- package/dist/index.esm.js +1688 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +44 -195
- package/dist/cjs/Article.js +0 -29
- package/dist/cjs/Backdrop.js +0 -29
- package/dist/cjs/Button.d.ts +0 -5
- package/dist/cjs/Button.js +0 -25
- package/dist/cjs/ButtonLink.d.ts +0 -15
- package/dist/cjs/ButtonLink.js +0 -52
- package/dist/cjs/Checkbox.js +0 -25
- package/dist/cjs/Document.js +0 -29
- package/dist/cjs/Fieldset.d.ts +0 -3
- package/dist/cjs/Fieldset.js +0 -25
- package/dist/cjs/FieldsetLegend.js +0 -25
- package/dist/cjs/FormField.d.ts +0 -3
- package/dist/cjs/FormField.js +0 -25
- package/dist/cjs/FormFieldDescription.js +0 -25
- package/dist/cjs/FormLabel.js +0 -25
- package/dist/cjs/HTMLContent.js +0 -29
- package/dist/cjs/Heading1.js +0 -29
- package/dist/cjs/Heading2.js +0 -29
- package/dist/cjs/Heading3.js +0 -29
- package/dist/cjs/Heading4.js +0 -29
- package/dist/cjs/Heading5.js +0 -29
- package/dist/cjs/Heading6.js +0 -29
- package/dist/cjs/Link.d.ts +0 -15
- package/dist/cjs/Link.js +0 -42
- package/dist/cjs/OrderedList.js +0 -29
- package/dist/cjs/OrderedListItem.js +0 -29
- package/dist/cjs/Page.js +0 -29
- package/dist/cjs/PageContent.js +0 -34
- package/dist/cjs/PageFooter.js +0 -29
- package/dist/cjs/PageHeader.js +0 -29
- package/dist/cjs/Paragraph.js +0 -29
- package/dist/cjs/RadioButton.js +0 -25
- package/dist/cjs/Select.js +0 -31
- package/dist/cjs/Separator.js +0 -30
- package/dist/cjs/Surface.js +0 -29
- package/dist/cjs/Table.js +0 -29
- package/dist/cjs/TableBody.js +0 -29
- package/dist/cjs/TableCaption.js +0 -29
- package/dist/cjs/TableCell.js +0 -29
- package/dist/cjs/TableFooter.js +0 -29
- package/dist/cjs/TableHeader.js +0 -29
- package/dist/cjs/TableHeaderCell.js +0 -29
- package/dist/cjs/TableRow.js +0 -29
- package/dist/cjs/Textarea.js +0 -25
- package/dist/cjs/Textbox.js +0 -25
- package/dist/cjs/URLValue.js +0 -29
- package/dist/cjs/UnorderedList.js +0 -29
- package/dist/cjs/UnorderedListItem.js +0 -29
- package/dist/cjs/index.js +0 -94
- package/dist/cjs/tsconfig.tsbuildinfo +0 -3951
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
-
*/
|
|
5
|
-
import { LiHTMLAttributes } from 'react';
|
|
6
|
-
export declare type UnorderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
|
|
7
|
-
export declare const UnorderedListItem: import("react").ForwardRefExoticComponent<UnorderedListItemProps &
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { LiHTMLAttributes } from 'react';
|
|
6
|
+
export declare type UnorderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
|
|
7
|
+
export declare const UnorderedListItem: import("react").ForwardRefExoticComponent<UnorderedListItemProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
export declare type AlertType = 'info' | 'ok' | 'warning' | 'error';
|
|
7
|
+
export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
type?: string | AlertType;
|
|
10
|
+
}
|
|
11
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<AlertProps & {
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { DialogHTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
export declare type AlertDialogType = 'error' | 'info' | 'warning';
|
|
7
|
+
export interface AlertDialogProps extends DialogHTMLAttributes<HTMLDialogElement> {
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
type?: string | AlertDialogType;
|
|
10
|
+
}
|
|
11
|
+
export declare const AlertDialog: import("react").ForwardRefExoticComponent<AlertDialogProps & {
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLDialogElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type ArticleProps = HTMLAttributes<HTMLElement>;
|
|
7
|
+
export declare const Article: import("react").ForwardRefExoticComponent<ArticleProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type BackdropProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const Backdrop: import("react").ForwardRefExoticComponent<BackdropProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
appearance?: string;
|
|
4
|
+
busy?: boolean;
|
|
5
|
+
hint?: string;
|
|
6
|
+
pressed?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export declare const PrimaryActionButton: {
|
|
12
|
+
({ ...args }: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const SecondaryActionButton: {
|
|
18
|
+
({ ...args }: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const SubtleButton: {
|
|
24
|
+
({ ...args }: {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
}): JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
declare type ButtonGroupProps = HTMLAttributes<HTMLParagraphElement>;
|
|
7
|
+
export declare const ButtonGroup: import("react").ForwardRefExoticComponent<ButtonGroupProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
7
|
+
export interface ButtonLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'> {
|
|
8
|
+
appearance?: string;
|
|
9
|
+
external?: boolean;
|
|
10
|
+
placeholder?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ButtonLink: import("react").ForwardRefExoticComponent<ButtonLinkProps & {
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarButtonProps } from './CalendarButton';
|
|
3
|
+
interface CalendarNavigationButtonsProps extends CalendarButtonProps {
|
|
4
|
+
onPreviousClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
|
+
onNextClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
6
|
+
previousIcon?: any;
|
|
7
|
+
nextIcon?: any;
|
|
8
|
+
previousTitle?: string;
|
|
9
|
+
nextTitle?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const CalendarNavigationButtons: React.FC<CalendarNavigationButtonsProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CalendarTableDaysContainerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement> {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const CalendarTableDaysContainer: React.FC<CalendarTableDaysContainerProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CalendarTableDaysItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement> {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const CalendarTableDaysItem: React.FC<CalendarTableDaysItemProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarButtonProps } from './CalendarButton';
|
|
3
|
+
export interface CalendarTableDaysItemDayProps extends CalendarButtonProps {
|
|
4
|
+
day: string;
|
|
5
|
+
dayOutOfTheMonth?: boolean;
|
|
6
|
+
isToday: boolean;
|
|
7
|
+
emphasis?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const CalendarTableDaysItemDay: React.FC<CalendarTableDaysItemDayProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CalendarTableWeeksItemProps extends React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement> {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const CalendarTableWeeksItem: React.FC<CalendarTableWeeksItemProps>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Locale } from 'date-fns';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
declare type Events = {
|
|
4
|
+
date: string;
|
|
5
|
+
emphasis?: boolean;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
interface CalendarProps {
|
|
10
|
+
/**
|
|
11
|
+
* `onCalendarClick` It's a callback function that returns the selected date, triggered when you click on the day
|
|
12
|
+
*
|
|
13
|
+
* */
|
|
14
|
+
onCalendarClick: (date: string) => void;
|
|
15
|
+
/**
|
|
16
|
+
* `events` An array of event objects that contain some properties that allow you to change the calendar day style base on your value
|
|
17
|
+
* `{date?: Date; emphasis?: boolean; selected?: boolean; disabled?: boolean;}`
|
|
18
|
+
*
|
|
19
|
+
* */
|
|
20
|
+
events?: Events[];
|
|
21
|
+
/**
|
|
22
|
+
* `currentDate` The default value is `new Date()`, but you can provide a different date
|
|
23
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
|
|
24
|
+
* */
|
|
25
|
+
currentDate?: Date;
|
|
26
|
+
/**
|
|
27
|
+
* `locale` to change the calendar language by using 'date-fns/locale'
|
|
28
|
+
* `import { nl, enUS } from 'date-fns/locale';`
|
|
29
|
+
* */
|
|
30
|
+
locale?: Locale;
|
|
31
|
+
previousYearButtonTitle?: string;
|
|
32
|
+
nextYearButtonTitle?: string;
|
|
33
|
+
previousMonthButtonTitle?: string;
|
|
34
|
+
nextMonthButtonTitle?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Calendar Component
|
|
38
|
+
* powered by date-fns, so that make it easy to use the `date-fns` date functions & locale
|
|
39
|
+
* */
|
|
40
|
+
export declare const Calendar: FC<CalendarProps>;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
|
|
3
|
+
appearance?: string;
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Code: import("react").ForwardRefExoticComponent<CodeProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeBlockProps = HTMLAttributes<HTMLPreElement>;
|
|
8
|
+
export declare const CodeBlock: import("react").ForwardRefExoticComponent<CodeBlockProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLPreElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { InputHTMLAttributes } from 'react';
|
|
6
|
+
export declare type CustomRadioButtonProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const CustomRadioButton: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
10
|
+
invalid?: boolean | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface DataListProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
+
appearance?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const DataList: import("react").ForwardRefExoticComponent<DataListProps & {
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
} & import("react").RefAttributes<HTMLDListElement>>;
|
|
8
|
+
export declare type DataListItemProps = HTMLAttributes<HTMLDivElement>;
|
|
9
|
+
export declare const DataListItem: import("react").ForwardRefExoticComponent<DataListItemProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export declare type DataListKeyProps = HTMLAttributes<HTMLElement>;
|
|
13
|
+
export declare const DataListKey: import("react").ForwardRefExoticComponent<DataListKeyProps & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
16
|
+
export interface DataListValueProps extends HTMLAttributes<HTMLElement> {
|
|
17
|
+
value?: number | string;
|
|
18
|
+
emptyDescription?: string;
|
|
19
|
+
multiline?: boolean;
|
|
20
|
+
notranslate?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const DataListValue: import("react").ForwardRefExoticComponent<DataListValueProps & {
|
|
23
|
+
children?: import("react").ReactNode;
|
|
24
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
25
|
+
export declare type DataListActionsProps = HTMLAttributes<HTMLElement>;
|
|
26
|
+
export declare const DataListActions: import("react").ForwardRefExoticComponent<DataListActionsProps & {
|
|
27
|
+
children?: import("react").ReactNode;
|
|
28
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type DocumentProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const Document: import("react").ForwardRefExoticComponent<DocumentProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type EmphasisProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Emphasis: import("react").ForwardRefExoticComponent<EmphasisProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FieldsetHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
|
+
export interface FieldsetProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
'aria-describedby'?: string;
|
|
4
|
+
'aria-label'?: string;
|
|
5
|
+
'aria-labelledby'?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
form?: string;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Fieldset: import("react").ForwardRefExoticComponent<FieldsetProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export interface FieldsetOnlyProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const FieldsetOnly: import("react").ForwardRefExoticComponent<FieldsetOnlyProps & {
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
} & import("react").RefAttributes<HTMLFieldSetElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type FieldsetLegendProps = HTMLAttributes<HTMLLegendElement>;
|
|
3
|
+
export declare const FieldsetLegend: import("react").ForwardRefExoticComponent<FieldsetLegendProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLLegendElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type FigureProps = HTMLAttributes<HTMLElement>;
|
|
3
|
+
export declare const Figure: import("react").ForwardRefExoticComponent<FigureProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type FigureCaptionProps = HTMLAttributes<HTMLElement>;
|
|
3
|
+
export declare const FigureCaption: import("react").ForwardRefExoticComponent<FigureCaptionProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
type?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const FormField: import("react").ForwardRefExoticComponent<FormFieldProps & {
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface FormFieldDescriptionProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
valid?: boolean;
|
|
5
|
+
warning?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const FormFieldDescription: import("react").ForwardRefExoticComponent<FormFieldDescriptionProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LabelHTMLAttributes } from 'react';
|
|
2
|
+
export interface FormLabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
3
|
+
htmlFor: string;
|
|
4
|
+
type?: 'checkbox' | 'radio';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const FormLabel: import("react").ForwardRefExoticComponent<FormLabelProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type HTMLContentProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const HTMLContent: import("react").ForwardRefExoticComponent<HTMLContentProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
7
|
+
appearance?: string;
|
|
8
|
+
level: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const Heading: import("react").ForwardRefExoticComponent<HeadingProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading1Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading1: import("react").ForwardRefExoticComponent<Heading1Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading2Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading2: import("react").ForwardRefExoticComponent<Heading2Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading3Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading3: import("react").ForwardRefExoticComponent<Heading3Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading4Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading4: import("react").ForwardRefExoticComponent<Heading4Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading5Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading5: import("react").ForwardRefExoticComponent<Heading5Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type Heading6Props = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
+
export declare const Heading6: import("react").ForwardRefExoticComponent<Heading6Props & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export declare type HeadingGroupProps = HTMLAttributes<HTMLElement>;
|
|
7
|
+
export declare const HeadingGroup: import("react").ForwardRefExoticComponent<HeadingGroupProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type IconProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Icon: import("react").ForwardRefExoticComponent<IconProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { ImgHTMLAttributes } from 'react';
|
|
6
|
+
export interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
7
|
+
photo?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Image: import("react").ForwardRefExoticComponent<ImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
7
|
+
export interface LinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'> {
|
|
8
|
+
boxContent?: boolean;
|
|
9
|
+
external?: boolean;
|
|
10
|
+
placeholder?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & {
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
7
|
+
export interface LinkButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
pressed?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const LinkButton: import("react").ForwardRefExoticComponent<LinkButtonProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
6
|
+
export interface LinkSocialProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
7
|
+
external?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const LinkSocial: import("react").ForwardRefExoticComponent<LinkSocialProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|