@utrecht/component-library-react 1.0.0-alpha.14 → 1.0.0-alpha.140

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.
Files changed (103) hide show
  1. package/README.md +27 -3
  2. package/dist/{cjs/Article.d.ts → Article.d.ts} +9 -7
  3. package/dist/{cjs/Backdrop.d.ts → Backdrop.d.ts} +9 -7
  4. package/dist/Button.d.ts +27 -0
  5. package/dist/ButtonLink.d.ts +13 -0
  6. package/dist/{cjs/Checkbox.d.ts → Checkbox.d.ts} +5 -5
  7. package/dist/CustomRadioButton.d.ts +13 -0
  8. package/dist/DataList.d.ts +28 -0
  9. package/dist/{cjs/Document.d.ts → Document.d.ts} +9 -7
  10. package/dist/{cjs/Fieldset.d.ts → Fieldset.d.ts} +5 -3
  11. package/dist/{cjs/FieldsetLegend.d.ts → FieldsetLegend.d.ts} +5 -3
  12. package/dist/{cjs/FormField.d.ts → FormField.d.ts} +5 -3
  13. package/dist/{cjs/FormFieldDescription.d.ts → FormFieldDescription.d.ts} +9 -7
  14. package/dist/{cjs/FormLabel.d.ts → FormLabel.d.ts} +10 -8
  15. package/dist/{cjs/HTMLContent.d.ts → HTMLContent.d.ts} +9 -7
  16. package/dist/{cjs/Heading1.d.ts → Heading1.d.ts} +9 -7
  17. package/dist/{cjs/Heading2.d.ts → Heading2.d.ts} +9 -7
  18. package/dist/{cjs/Heading3.d.ts → Heading3.d.ts} +9 -7
  19. package/dist/{cjs/Heading4.d.ts → Heading4.d.ts} +9 -7
  20. package/dist/{cjs/Heading5.d.ts → Heading5.d.ts} +9 -7
  21. package/dist/{cjs/Heading6.d.ts → Heading6.d.ts} +9 -7
  22. package/dist/HeadingGroup.d.ts +9 -0
  23. package/dist/Image.d.ts +9 -0
  24. package/dist/{cjs/Link.d.ts → Link.d.ts} +13 -15
  25. package/dist/LinkButton.d.ts +12 -0
  26. package/dist/NumberValue.d.ts +11 -0
  27. package/dist/{cjs/OrderedList.d.ts → OrderedList.d.ts} +9 -7
  28. package/dist/{cjs/OrderedListItem.d.ts → OrderedListItem.d.ts} +9 -7
  29. package/dist/{cjs/Page.d.ts → Page.d.ts} +9 -7
  30. package/dist/{cjs/PageContent.d.ts → PageContent.d.ts} +13 -9
  31. package/dist/{cjs/PageFooter.d.ts → PageFooter.d.ts} +9 -7
  32. package/dist/{cjs/PageHeader.d.ts → PageHeader.d.ts} +9 -7
  33. package/dist/{cjs/Paragraph.d.ts → Paragraph.d.ts} +11 -9
  34. package/dist/PreHeading.d.ts +9 -0
  35. package/dist/{cjs/RadioButton.d.ts → RadioButton.d.ts} +5 -5
  36. package/dist/{cjs/Select.d.ts → Select.d.ts} +19 -11
  37. package/dist/{cjs/Separator.d.ts → Separator.d.ts} +7 -7
  38. package/dist/SkipLink.d.ts +5 -0
  39. package/dist/{cjs/Surface.d.ts → Surface.d.ts} +9 -7
  40. package/dist/{cjs/Table.d.ts → Table.d.ts} +9 -7
  41. package/dist/{cjs/TableBody.d.ts → TableBody.d.ts} +9 -7
  42. package/dist/{cjs/TableCaption.d.ts → TableCaption.d.ts} +9 -7
  43. package/dist/{cjs/TableCell.d.ts → TableCell.d.ts} +9 -7
  44. package/dist/{cjs/TableFooter.d.ts → TableFooter.d.ts} +9 -7
  45. package/dist/{cjs/TableHeader.d.ts → TableHeader.d.ts} +9 -7
  46. package/dist/{cjs/TableHeaderCell.d.ts → TableHeaderCell.d.ts} +9 -7
  47. package/dist/{cjs/TableRow.d.ts → TableRow.d.ts} +9 -7
  48. package/dist/{cjs/Textarea.d.ts → Textarea.d.ts} +5 -5
  49. package/dist/{cjs/Textbox.d.ts → Textbox.d.ts} +7 -7
  50. package/dist/{cjs/URLValue.d.ts → URLValue.d.ts} +9 -7
  51. package/dist/{cjs/UnorderedList.d.ts → UnorderedList.d.ts} +9 -7
  52. package/dist/{cjs/UnorderedListItem.d.ts → UnorderedListItem.d.ts} +9 -7
  53. package/dist/index.cjs.js +1001 -0
  54. package/dist/index.cjs.js.map +1 -0
  55. package/dist/{cjs/index.d.ts → index.d.ts} +55 -46
  56. package/dist/index.esm.js +935 -0
  57. package/dist/index.esm.js.map +1 -0
  58. package/package.json +40 -192
  59. package/dist/cjs/Article.js +0 -29
  60. package/dist/cjs/Backdrop.js +0 -29
  61. package/dist/cjs/Button.d.ts +0 -5
  62. package/dist/cjs/Button.js +0 -25
  63. package/dist/cjs/Checkbox.js +0 -25
  64. package/dist/cjs/Document.js +0 -29
  65. package/dist/cjs/Fieldset.js +0 -25
  66. package/dist/cjs/FieldsetLegend.js +0 -25
  67. package/dist/cjs/FormField.js +0 -25
  68. package/dist/cjs/FormFieldDescription.js +0 -25
  69. package/dist/cjs/FormLabel.js +0 -25
  70. package/dist/cjs/HTMLContent.js +0 -29
  71. package/dist/cjs/Heading1.js +0 -29
  72. package/dist/cjs/Heading2.js +0 -29
  73. package/dist/cjs/Heading3.js +0 -29
  74. package/dist/cjs/Heading4.js +0 -29
  75. package/dist/cjs/Heading5.js +0 -29
  76. package/dist/cjs/Heading6.js +0 -29
  77. package/dist/cjs/Link.js +0 -42
  78. package/dist/cjs/OrderedList.js +0 -29
  79. package/dist/cjs/OrderedListItem.js +0 -29
  80. package/dist/cjs/Page.js +0 -29
  81. package/dist/cjs/PageContent.js +0 -34
  82. package/dist/cjs/PageFooter.js +0 -29
  83. package/dist/cjs/PageHeader.js +0 -29
  84. package/dist/cjs/Paragraph.js +0 -29
  85. package/dist/cjs/RadioButton.js +0 -25
  86. package/dist/cjs/Select.js +0 -31
  87. package/dist/cjs/Separator.js +0 -30
  88. package/dist/cjs/Surface.js +0 -29
  89. package/dist/cjs/Table.js +0 -29
  90. package/dist/cjs/TableBody.js +0 -29
  91. package/dist/cjs/TableCaption.js +0 -29
  92. package/dist/cjs/TableCell.js +0 -29
  93. package/dist/cjs/TableFooter.js +0 -29
  94. package/dist/cjs/TableHeader.js +0 -29
  95. package/dist/cjs/TableHeaderCell.js +0 -29
  96. package/dist/cjs/TableRow.js +0 -29
  97. package/dist/cjs/Textarea.js +0 -25
  98. package/dist/cjs/Textbox.js +0 -25
  99. package/dist/cjs/URLValue.js +0 -29
  100. package/dist/cjs/UnorderedList.js +0 -29
  101. package/dist/cjs/UnorderedListItem.js +0 -29
  102. package/dist/cjs/index.js +0 -92
  103. package/dist/cjs/tsconfig.tsbuildinfo +0 -2533
package/README.md CHANGED
@@ -45,11 +45,11 @@ import { Document } from "@utrecht/component-library-react/Document";
45
45
  import { Heading1 } from "@utrecht/component-library-react/Heading1";
46
46
 
47
47
  // Package with CSS for white-label components
48
- import "@utrecht/component-library-css/dist/bem.css";
48
+ import "@utrecht/component-library-css";
49
49
 
50
50
  // Package with Utrecht design tokens for the white-label components
51
- // Substitute with your another theme for other organisations.
52
- import "@utrecht/design-tokens/dist/theme/index.css";
51
+ // Substitute with your another theme for other organizations.
52
+ import "@utrecht/design-tokens/dist/index.css";
53
53
 
54
54
  export const MyPage = () => (
55
55
  // Class name to apply the design tokens from the theme
@@ -59,6 +59,30 @@ export const MyPage = () => (
59
59
  );
60
60
  ```
61
61
 
62
+ Only when you use the `<HTMLContent/>` component, you should import the `html.css` from the `component-library-css`
63
+
64
+ ```jsx
65
+ import { HTMLContent } from "@utrecht/component-library-react";
66
+
67
+ import "@utrecht/component-library-css/dist/html.css";
68
+ import "@utrecht/design-tokens/dist/index.css";
69
+
70
+ export const MyPage = () => (
71
+ // Class name to apply the design tokens from the theme
72
+ <HTMLContent
73
+ className="utrecht-theme"
74
+ dangerouslySetInnerHTML={{
75
+ _html: `<h1>Heading 1</h1>
76
+ <h2>Heading 2</h2>
77
+ <h3>Heading 3</h3>
78
+ <h4>Heading 4</h4>
79
+ <h5>Heading 5</h5>
80
+ <h6>Heading 6</h6>`,
81
+ }}
82
+ />
83
+ );
84
+ ```
85
+
62
86
  ## Components overview
63
87
 
64
88
  We make components for React available when needed in a project. Not every component is available yet, and we welcome you to discuss contributions.
@@ -1,7 +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 & import("react").RefAttributes<HTMLElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLDivElement>>;
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,27 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
+ appearance?: string;
4
+ busy?: boolean;
5
+ hint?: string;
6
+ }
7
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLButtonElement>>;
10
+ export declare const PrimaryActionButton: {
11
+ ({ ...args }: {
12
+ [x: string]: any;
13
+ }): JSX.Element;
14
+ displayName: string;
15
+ };
16
+ export declare const SecondaryActionButton: {
17
+ ({ ...args }: {
18
+ [x: string]: any;
19
+ }): JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export declare const SubtleButton: {
23
+ ({ ...args }: {
24
+ [x: string]: any;
25
+ }): JSX.Element;
26
+ displayName: string;
27
+ };
@@ -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 { AnchorHTMLAttributes } from 'react';
7
+ export interface ButtonLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
8
+ appearance?: string;
9
+ external?: boolean;
10
+ }
11
+ export declare const ButtonLink: import("react").ForwardRefExoticComponent<ButtonLinkProps & {
12
+ children?: import("react").ReactNode;
13
+ } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,5 +1,5 @@
1
- import { InputHTMLAttributes } from 'react';
2
- export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
- invalid?: boolean;
4
- }
5
- export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
1
+ import { InputHTMLAttributes } from 'react';
2
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
+ invalid?: boolean;
4
+ }
5
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLDivElement>>;
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>>;
@@ -1,3 +1,5 @@
1
- import { FieldsetHTMLAttributes } from 'react';
2
- export declare type FieldsetProps = FieldsetHTMLAttributes<HTMLFieldSetElement>;
3
- export declare const Fieldset: import("react").ForwardRefExoticComponent<FieldsetProps & import("react").RefAttributes<HTMLFieldSetElement>>;
1
+ import { FieldsetHTMLAttributes } from 'react';
2
+ export declare type FieldsetProps = FieldsetHTMLAttributes<HTMLFieldSetElement>;
3
+ export declare const Fieldset: import("react").ForwardRefExoticComponent<FieldsetProps & {
4
+ children?: import("react").ReactNode;
5
+ } & import("react").RefAttributes<HTMLFieldSetElement>>;
@@ -1,3 +1,5 @@
1
- import { HTMLAttributes } from 'react';
2
- export declare type FieldsetLegendProps = HTMLAttributes<HTMLLegendElement>;
3
- export declare const FieldsetLegend: import("react").ForwardRefExoticComponent<FieldsetLegendProps & import("react").RefAttributes<HTMLLegendElement>>;
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>>;
@@ -1,3 +1,5 @@
1
- import { HTMLAttributes } from 'react';
2
- export declare type FormFieldProps = HTMLAttributes<HTMLDivElement>;
3
- export declare const FormField: import("react").ForwardRefExoticComponent<FormFieldProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type FormFieldProps = HTMLAttributes<HTMLDivElement>;
3
+ export declare const FormField: import("react").ForwardRefExoticComponent<FormFieldProps & {
4
+ children?: import("react").ReactNode;
5
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLDivElement>>;
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>>;
@@ -1,8 +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 & import("react").RefAttributes<HTMLLabelElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLDivElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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>>;
@@ -1,7 +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 & import("react").RefAttributes<HTMLHeadingElement>>;
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,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>>;
@@ -1,15 +1,13 @@
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 AnchorHTMLAttributes<HTMLAnchorElement> {
8
- activeStyle?: boolean;
9
- external?: boolean;
10
- focusStyle?: boolean;
11
- focusVisibleStyle?: boolean;
12
- hoverStyle?: boolean;
13
- visitedStyle?: boolean;
14
- }
15
- export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
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 AnchorHTMLAttributes<HTMLAnchorElement> {
8
+ boxContent?: boolean;
9
+ external?: boolean;
10
+ }
11
+ export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & {
12
+ children?: import("react").ReactNode;
13
+ } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,12 @@
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
+ }
10
+ export declare const LinkButton: import("react").ForwardRefExoticComponent<LinkButtonProps & {
11
+ children?: import("react").ReactNode;
12
+ } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -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>>;
@@ -1,7 +1,9 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
4
- */
5
- import { OlHTMLAttributes } from 'react';
6
- export declare type OrderedListProps = OlHTMLAttributes<HTMLOListElement>;
7
- export declare const OrderedList: import("react").ForwardRefExoticComponent<OrderedListProps & import("react").RefAttributes<HTMLOListElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { OlHTMLAttributes } from 'react';
6
+ export declare type OrderedListProps = OlHTMLAttributes<HTMLOListElement>;
7
+ export declare const OrderedList: import("react").ForwardRefExoticComponent<OrderedListProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLOListElement>>;
@@ -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 OrderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
7
- export declare const OrderedListItem: import("react").ForwardRefExoticComponent<OrderedListItemProps & import("react").RefAttributes<HTMLLIElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { LiHTMLAttributes } from 'react';
6
+ export declare type OrderedListItemProps = LiHTMLAttributes<HTMLLIElement>;
7
+ export declare const OrderedListItem: import("react").ForwardRefExoticComponent<OrderedListItemProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLLIElement>>;
@@ -1,7 +1,9 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
4
- */
5
- import { HTMLAttributes } from 'react';
6
- export declare type PageProps = HTMLAttributes<HTMLDivElement>;
7
- export declare const Page: import("react").ForwardRefExoticComponent<PageProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export declare type PageProps = HTMLAttributes<HTMLDivElement>;
7
+ export declare const Page: import("react").ForwardRefExoticComponent<PageProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,9 +1,13 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
4
- */
5
- import { HTMLAttributes } from 'react';
6
- export declare type PageContentProps = HTMLAttributes<HTMLDivElement>;
7
- export declare const PageContent: import("react").ForwardRefExoticComponent<PageContentProps & import("react").RefAttributes<HTMLDivElement>>;
8
- export declare type PageContentMainProps = HTMLAttributes<HTMLDivElement>;
9
- export declare const PageContentMain: import("react").ForwardRefExoticComponent<PageContentMainProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export declare 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 declare type PageContentMainProps = HTMLAttributes<HTMLDivElement>;
11
+ export declare const PageContentMain: import("react").ForwardRefExoticComponent<PageContentMainProps & {
12
+ children?: import("react").ReactNode;
13
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,9 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
4
- */
5
- import { HTMLAttributes } from 'react';
6
- export declare type PageFooterProps = HTMLAttributes<HTMLDivElement>;
7
- export declare const PageFooter: import("react").ForwardRefExoticComponent<PageFooterProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export declare type PageFooterProps = HTMLAttributes<HTMLDivElement>;
7
+ export declare const PageFooter: import("react").ForwardRefExoticComponent<PageFooterProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,9 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Robbert Broersma
4
- */
5
- import { HTMLAttributes } from 'react';
6
- export declare type PageHeaderProps = HTMLAttributes<HTMLDivElement>;
7
- export declare const PageHeader: import("react").ForwardRefExoticComponent<PageHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export declare 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,11 @@
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
- export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & import("react").RefAttributes<HTMLParagraphElement>>;
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
+ export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & {
10
+ children?: import("react").ReactNode;
11
+ } & 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 declare type PreHeadingProps = HTMLAttributes<HTMLParagraphElement>;
7
+ export declare const PreHeading: import("react").ForwardRefExoticComponent<PreHeadingProps & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<HTMLParagraphElement>>;
@@ -1,5 +1,5 @@
1
- import { InputHTMLAttributes } from 'react';
2
- export interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
- invalid?: boolean;
4
- }
5
- export declare const RadioButton: import("react").ForwardRefExoticComponent<RadioButtonProps & import("react").RefAttributes<HTMLInputElement>>;
1
+ import { InputHTMLAttributes } from 'react';
2
+ export interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
+ invalid?: boolean;
4
+ }
5
+ export declare const RadioButton: import("react").ForwardRefExoticComponent<RadioButtonProps & import("react").RefAttributes<HTMLInputElement>>;