@utrecht/component-library-react 1.0.0-alpha.34 → 1.0.0-alpha.340
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 +25 -1
- package/dist/.jest-test-results.json +1 -0
- package/dist/Accordion.d.ts +49 -0
- package/dist/Alert.d.ts +13 -0
- package/dist/AlertDialog.d.ts +13 -0
- package/dist/Article.d.ts +9 -0
- package/dist/Backdrop.d.ts +9 -0
- package/dist/BadgeCounter.d.ts +12 -0
- package/dist/BadgeList.d.ts +9 -0
- package/dist/BreadcrumbNav.d.ts +23 -0
- package/dist/{cjs/Button.d.ts → Button.d.ts} +28 -24
- 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 +4 -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 +43 -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/ColorSample.d.ts +12 -0
- package/dist/CurrencyData.d.ts +13 -0
- package/dist/DataBadge.d.ts +13 -0
- package/dist/DataList.d.ts +28 -0
- package/dist/Document.d.ts +9 -0
- package/dist/Emphasis.d.ts +10 -0
- package/dist/Fieldset.d.ts +19 -0
- package/dist/FieldsetLegend.d.ts +5 -0
- 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} +9 -8
- package/dist/HTMLContent.d.ts +9 -0
- package/dist/Heading.d.ts +12 -0
- package/dist/Heading1.d.ts +9 -0
- package/dist/Heading2.d.ts +9 -0
- package/dist/Heading3.d.ts +9 -0
- package/dist/Heading4.d.ts +9 -0
- package/dist/Heading5.d.ts +9 -0
- package/dist/Heading6.d.ts +9 -0
- package/dist/HeadingGroup.d.ts +9 -0
- package/dist/IBANData.d.ts +11 -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/OrderedList.d.ts +9 -0
- package/dist/OrderedListItem.d.ts +9 -0
- package/dist/Page.d.ts +9 -0
- package/dist/PageContent.d.ts +13 -0
- package/dist/PageFooter.d.ts +9 -0
- package/dist/PageHeader.d.ts +9 -0
- package/dist/{cjs/Paragraph.d.ts → Paragraph.d.ts} +12 -9
- package/dist/PreHeading.d.ts +9 -0
- package/dist/RadioButton.d.ts +13 -0
- package/dist/{cjs/Select.d.ts → Select.d.ts} +20 -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/StatusBadge.d.ts +12 -0
- package/dist/Strong.d.ts +10 -0
- package/dist/Surface.d.ts +9 -0
- package/dist/Table.d.ts +9 -0
- package/dist/TableBody.d.ts +9 -0
- package/dist/TableCaption.d.ts +9 -0
- package/dist/TableCell.d.ts +11 -0
- package/dist/TableFooter.d.ts +9 -0
- package/dist/TableHeader.d.ts +9 -0
- package/dist/TableHeaderCell.d.ts +11 -0
- package/dist/TableRow.d.ts +12 -0
- package/dist/{cjs/Textarea.d.ts → Textarea.d.ts} +5 -5
- package/dist/{cjs/Textbox.d.ts → Textbox.d.ts} +7 -7
- package/dist/URLValue.d.ts +9 -0
- package/dist/UnorderedList.d.ts +9 -0
- package/dist/UnorderedListItem.d.ts +9 -0
- package/dist/css-module/Accordion.d.ts +49 -0
- 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/BadgeCounter.d.ts +12 -0
- package/dist/css-module/BadgeList.d.ts +9 -0
- package/dist/css-module/BreadcrumbNav.d.ts +23 -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 +4 -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 +43 -0
- package/dist/css-module/Calendar.d.ts +6 -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/ColorSample.d.ts +12 -0
- package/dist/css-module/CurrencyData.d.ts +13 -0
- package/dist/css-module/DataBadge.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 +9 -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/IBANData.d.ts +11 -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 +13 -0
- package/dist/css-module/Select.d.ts +20 -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/StatusBadge.d.ts +12 -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 +11 -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 +11 -0
- package/dist/css-module/TableRow.d.ts +12 -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/Accordion.d.ts +6 -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/BadgeCounter.d.ts +6 -0
- package/dist/css-module/css-module/BadgeList.d.ts +6 -0
- package/dist/css-module/css-module/BreadcrumbNav.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/Calendar.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/ColorSample.d.ts +6 -0
- package/dist/css-module/css-module/CurrencyData.d.ts +6 -0
- package/dist/css-module/css-module/DataBadge.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/IBANData.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 +6 -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/StatusBadge.d.ts +7 -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 +79 -47
- package/dist/css-module/index.d.ts +79 -0
- package/dist/css-module/index.js +2583 -0
- package/dist/css-module/index.js.map +1 -0
- package/dist/css-module/index.mjs +2495 -0
- package/dist/css-module/index.mjs.map +1 -0
- package/dist/index.cjs.js +2367 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.esm.js +2279 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +49 -332
- package/dist/cjs/Article.d.ts +0 -7
- package/dist/cjs/Article.js +0 -29
- package/dist/cjs/Backdrop.d.ts +0 -7
- package/dist/cjs/Backdrop.js +0 -29
- package/dist/cjs/Button.js +0 -43
- 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.d.ts +0 -7
- 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.d.ts +0 -3
- 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.d.ts +0 -7
- package/dist/cjs/HTMLContent.js +0 -29
- package/dist/cjs/Heading1.d.ts +0 -7
- package/dist/cjs/Heading1.js +0 -29
- package/dist/cjs/Heading2.d.ts +0 -7
- package/dist/cjs/Heading2.js +0 -29
- package/dist/cjs/Heading3.d.ts +0 -7
- package/dist/cjs/Heading3.js +0 -29
- package/dist/cjs/Heading4.d.ts +0 -7
- package/dist/cjs/Heading4.js +0 -29
- package/dist/cjs/Heading5.d.ts +0 -7
- package/dist/cjs/Heading5.js +0 -29
- package/dist/cjs/Heading6.d.ts +0 -7
- 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.d.ts +0 -7
- package/dist/cjs/OrderedList.js +0 -29
- package/dist/cjs/OrderedListItem.d.ts +0 -7
- package/dist/cjs/OrderedListItem.js +0 -29
- package/dist/cjs/Page.d.ts +0 -7
- package/dist/cjs/Page.js +0 -29
- package/dist/cjs/PageContent.d.ts +0 -9
- package/dist/cjs/PageContent.js +0 -34
- package/dist/cjs/PageFooter.d.ts +0 -7
- package/dist/cjs/PageFooter.js +0 -29
- package/dist/cjs/PageHeader.d.ts +0 -7
- package/dist/cjs/PageHeader.js +0 -29
- package/dist/cjs/Paragraph.js +0 -29
- package/dist/cjs/RadioButton.d.ts +0 -5
- 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.d.ts +0 -7
- package/dist/cjs/Surface.js +0 -29
- package/dist/cjs/Table.d.ts +0 -7
- package/dist/cjs/Table.js +0 -29
- package/dist/cjs/TableBody.d.ts +0 -7
- package/dist/cjs/TableBody.js +0 -29
- package/dist/cjs/TableCaption.d.ts +0 -7
- package/dist/cjs/TableCaption.js +0 -29
- package/dist/cjs/TableCell.d.ts +0 -7
- package/dist/cjs/TableCell.js +0 -29
- package/dist/cjs/TableFooter.d.ts +0 -7
- package/dist/cjs/TableFooter.js +0 -29
- package/dist/cjs/TableHeader.d.ts +0 -7
- package/dist/cjs/TableHeader.js +0 -29
- package/dist/cjs/TableHeaderCell.d.ts +0 -7
- package/dist/cjs/TableHeaderCell.js +0 -29
- package/dist/cjs/TableRow.d.ts +0 -7
- 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.d.ts +0 -7
- package/dist/cjs/URLValue.js +0 -29
- package/dist/cjs/UnorderedList.d.ts +0 -7
- package/dist/cjs/UnorderedList.js +0 -29
- package/dist/cjs/UnorderedListItem.d.ts +0 -7
- package/dist/cjs/UnorderedListItem.js +0 -29
- package/dist/cjs/index.js +0 -97
- package/dist/cjs/tsconfig.tsbuildinfo +0 -4039
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export 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 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 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 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 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 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 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,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface IBANDataProps extends HTMLAttributes<HTMLDataElement> {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const normalizeIBAN: (iban: string) => string;
|
|
10
|
+
export declare const formatIBAN: (normalizedIBAN: string) => string;
|
|
11
|
+
export declare const IBANData: import("react").ForwardRefExoticComponent<IBANDataProps & import("react").RefAttributes<HTMLDataElement>>;
|
package/dist/Icon.d.ts
ADDED
|
@@ -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 type IconProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Icon: import("react").ForwardRefExoticComponent<IconProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
package/dist/Image.d.ts
ADDED
|
@@ -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>>;
|
package/dist/Link.d.ts
ADDED
|
@@ -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>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { FC, ReactNode } from 'react';
|
|
6
|
+
export interface ListSocialProps {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const ListSocial: FC<ListSocialProps>;
|
|
10
|
+
export interface ListSocialItemProps {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const ListSocialItem: FC<ListSocialItemProps>;
|
package/dist/Mark.d.ts
ADDED
|
@@ -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 type MarkProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Mark: import("react").ForwardRefExoticComponent<MarkProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { DataHTMLAttributes } from 'react';
|
|
6
|
+
export interface NumberValueProps extends DataHTMLAttributes<HTMLDataElement> {
|
|
7
|
+
value?: number | string;
|
|
8
|
+
}
|
|
9
|
+
export declare const NumberValue: import("react").ForwardRefExoticComponent<NumberValueProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLDataElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { OlHTMLAttributes } from 'react';
|
|
6
|
+
export type OrderedListProps = OlHTMLAttributes<HTMLOListElement>;
|
|
7
|
+
export declare const OrderedList: import("react").ForwardRefExoticComponent<OrderedListProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLOListElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { LiHTMLAttributes } from 'react';
|
|
6
|
+
export type OrderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
|
|
7
|
+
export declare const OrderedListItem: import("react").ForwardRefExoticComponent<OrderedListItemProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
package/dist/Page.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type PageProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const Page: import("react").ForwardRefExoticComponent<PageProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type PageContentProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const PageContent: import("react").ForwardRefExoticComponent<PageContentProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export type PageContentMainProps = HTMLAttributes<HTMLDivElement>;
|
|
11
|
+
export declare const PageContentMain: import("react").ForwardRefExoticComponent<PageContentMainProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type PageFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const PageFooter: import("react").ForwardRefExoticComponent<PageFooterProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type PageHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const PageHeader: import("react").ForwardRefExoticComponent<PageHeaderProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
7
|
-
lead?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
7
|
+
lead?: boolean;
|
|
8
|
+
small?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type PreHeadingProps = HTMLAttributes<HTMLParagraphElement>;
|
|
7
|
+
export declare const PreHeading: import("react").ForwardRefExoticComponent<PreHeadingProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { InputHTMLAttributes } from 'react';
|
|
6
|
+
export type RadioButtonProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const RadioButton: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
10
|
+
invalid?: boolean | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import { OptionHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
-
export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { OptionHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
+
export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
3
|
+
busy?: boolean;
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* `noscript`: Don't let it affect CSS :invalid
|
|
7
|
+
*/
|
|
8
|
+
noscript?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLSelectElement>>;
|
|
13
|
+
export interface SelectOptionProps extends OptionHTMLAttributes<HTMLOptionElement> {
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
value?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const SelectOption: import("react").ForwardRefExoticComponent<SelectOptionProps & {
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
} & import("react").RefAttributes<HTMLOptionElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export
|
|
7
|
-
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type SeparatorProps = HTMLAttributes<HTMLHRElement>;
|
|
7
|
+
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
export type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
3
|
+
export declare const SkipLink: import("react").ForwardRefExoticComponent<LinkProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type SpotlightSectionType = 'info' | 'warning';
|
|
7
|
+
export interface SpotlightSectionProps extends HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
aside?: boolean;
|
|
9
|
+
type?: string | SpotlightSectionType;
|
|
10
|
+
}
|
|
11
|
+
export declare const SpotlightSection: import("react").ForwardRefExoticComponent<SpotlightSectionProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2023 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2023 Frameless B.V.
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export interface StatusBadgeProps extends HTMLAttributes<HTMLElement> {
|
|
8
|
+
status?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const StatusBadge: import("react").ForwardRefExoticComponent<StatusBadgeProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
package/dist/Strong.d.ts
ADDED
|
@@ -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 type StrongProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Strong: import("react").ForwardRefExoticComponent<StrongProps & {
|
|
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 { HTMLAttributes } from 'react';
|
|
6
|
+
export type SurfaceProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const Surface: import("react").ForwardRefExoticComponent<SurfaceProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Table.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { TableHTMLAttributes } from 'react';
|
|
6
|
+
export type TableProps = TableHTMLAttributes<HTMLTableElement>;
|
|
7
|
+
export declare const Table: import("react").ForwardRefExoticComponent<TableProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLTableElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
|
+
export declare const TableBody: import("react").ForwardRefExoticComponent<TableBodyProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
|
|
7
|
+
export declare const TableCaption: import("react").ForwardRefExoticComponent<TableCaptionProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { TdHTMLAttributes } from 'react';
|
|
6
|
+
export interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
|
+
export declare const TableFooter: import("react").ForwardRefExoticComponent<TableFooterProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
|
+
export declare const TableHeader: import("react").ForwardRefExoticComponent<TableHeaderProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { ThHTMLAttributes } from 'react';
|
|
6
|
+
export interface TableHeaderCellProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const TableHeaderCell: import("react").ForwardRefExoticComponent<TableHeaderCellProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
7
|
+
active?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const TableRow: import("react").ForwardRefExoticComponent<TableRowProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TextareaHTMLAttributes } from 'react';
|
|
2
|
-
export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
-
invalid?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
1
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
2
|
+
export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export
|
|
3
|
-
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
invalid?: boolean;
|
|
5
|
-
type?: TextboxTypes;
|
|
6
|
-
}
|
|
7
|
-
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export type TextboxTypes = 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
3
|
+
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
type?: TextboxTypes;
|
|
6
|
+
}
|
|
7
|
+
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type URLValueProps = HTMLAttributes<HTMLElement>;
|
|
7
|
+
export declare const URLValue: import("react").ForwardRefExoticComponent<URLValueProps & {
|
|
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 type UnorderedListProps = HTMLAttributes<HTMLUListElement>;
|
|
7
|
+
export declare const UnorderedList: import("react").ForwardRefExoticComponent<UnorderedListProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { LiHTMLAttributes } from 'react';
|
|
6
|
+
export 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,49 @@
|
|
|
1
|
+
import { ForwardedRef, HTMLAttributes, RefObject } from 'react';
|
|
2
|
+
export interface AccordionSectionProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
headingLevel?: number;
|
|
4
|
+
label: string;
|
|
5
|
+
body: any;
|
|
6
|
+
expanded?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
section?: boolean;
|
|
9
|
+
onActivate?: Function;
|
|
10
|
+
onButtonFocus?: Function;
|
|
11
|
+
onButtonBlur?: Function;
|
|
12
|
+
buttonRef?: RefObject<HTMLButtonElement>;
|
|
13
|
+
}
|
|
14
|
+
export declare const AccordionSection: import("react").ForwardRefExoticComponent<AccordionSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
headingLevel?: number;
|
|
17
|
+
heading?: string;
|
|
18
|
+
group?: false;
|
|
19
|
+
}
|
|
20
|
+
export declare const Accordion: import("react").ForwardRefExoticComponent<AccordionProps & {
|
|
21
|
+
children?: import("react").ReactNode;
|
|
22
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export declare const useAccordion: <T>(sections: T[], ref: RefObject<HTMLDivElement | undefined>) => {
|
|
24
|
+
ref: RefObject<HTMLDivElement | undefined>;
|
|
25
|
+
refs: RefObject<HTMLDivElement>[];
|
|
26
|
+
buttonRefs: RefObject<HTMLButtonElement>[];
|
|
27
|
+
activeElement: null;
|
|
28
|
+
sections: T[];
|
|
29
|
+
focusNextSection: (activeElement: RefObject<HTMLDivElement>) => void;
|
|
30
|
+
focusFirstSection: () => void;
|
|
31
|
+
focusPreviousSection: (activeElement: RefObject<HTMLDivElement>) => void;
|
|
32
|
+
focusLastSection: () => void;
|
|
33
|
+
};
|
|
34
|
+
interface AccordionSectionProviderProps {
|
|
35
|
+
defaultExpanded?: boolean;
|
|
36
|
+
expanded?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare const useAccordionSection: ({ defaultExpanded, expanded }: AccordionSectionProviderProps, ref: ForwardedRef<HTMLDivElement>) => {
|
|
39
|
+
ref: ForwardedRef<HTMLDivElement>;
|
|
40
|
+
expanded: boolean;
|
|
41
|
+
};
|
|
42
|
+
interface AccordionProviderProps {
|
|
43
|
+
sections: AccordionSectionProps[];
|
|
44
|
+
}
|
|
45
|
+
export declare const AccordionProvider: {
|
|
46
|
+
({ sections }: AccordionProviderProps): JSX.Element;
|
|
47
|
+
displayName: string;
|
|
48
|
+
};
|
|
49
|
+
export {};
|