@utrecht/component-library-react 1.0.0-alpha.244 → 1.0.0-alpha.246

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.
@@ -1,6 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
1
5
  import { InputHTMLAttributes } from 'react';
2
- export interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
- appearance?: string;
6
+ export type RadioButtonProps = InputHTMLAttributes<HTMLInputElement> & {
4
7
  invalid?: boolean;
5
- }
6
- export declare const RadioButton: import("react").ForwardRefExoticComponent<RadioButtonProps & import("react").RefAttributes<HTMLInputElement>>;
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,6 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
1
5
  import { InputHTMLAttributes } from 'react';
2
- export interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
3
- appearance?: string;
6
+ export type RadioButtonProps = InputHTMLAttributes<HTMLInputElement> & {
4
7
  invalid?: boolean;
5
- }
6
- export declare const RadioButton: import("react").ForwardRefExoticComponent<RadioButtonProps & import("react").RefAttributes<HTMLInputElement>>;
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>>;
@@ -3,5 +3,4 @@
3
3
  * Copyright (c) 2021 Robbert Broersma
4
4
  */
5
5
  import '../../../../components/radio-button/css/index.scss';
6
- import '../../../../components/custom-radio-button/css/index.scss';
7
6
  export * from '../RadioButton';
@@ -13,7 +13,6 @@ export { ButtonLink } from './ButtonLink';
13
13
  export { Checkbox } from './Checkbox';
14
14
  export { Code } from './Code';
15
15
  export { CodeBlock } from './CodeBlock';
16
- export { CustomRadioButton } from './CustomRadioButton';
17
16
  export { DataBadge } from './DataBadge';
18
17
  export { Document } from './Document';
19
18
  export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';
@@ -14,7 +14,6 @@ export * from './Calendar';
14
14
  export { Checkbox } from './Checkbox';
15
15
  export { Code } from './Code';
16
16
  export { CodeBlock } from './CodeBlock';
17
- export { CustomRadioButton } from './CustomRadioButton';
18
17
  export { DataBadge } from './DataBadge';
19
18
  export { Document } from './Document';
20
19
  export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';