@inntechcorp/it-design 3.1.7 → 3.1.10
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/dist/index.cjs.js +19 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +48 -32
- package/dist/radio/button/RadioButton.d.ts +1 -1
- package/dist/radio/button/styled.d.ts +1 -0
- package/dist/stories/RadioGroup.stories.d.ts +1 -1
- package/dist/types/RadioProps.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RadioButtonProps } from 'types/RadioProps';
|
|
2
|
-
export default function RadioButton({ id, name, value, type, buttonProps, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function RadioButton({ id, name, value, type, buttonProps, checked, hasError, disabled, children, icon, image, component, onChange, }: RadioButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,6 +6,7 @@ declare const SimpleButton: import("styled-components/dist/types").IStyledCompon
|
|
|
6
6
|
declare const InnerButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
7
|
declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
8
|
$hasCustomButton: boolean;
|
|
9
|
+
$disabled?: boolean;
|
|
9
10
|
}>> & string;
|
|
10
11
|
declare const ErrorBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
12
|
export { Wrapper, CheckIcon, PreIcon, Left, InnerButton, SimpleButton, Label, ErrorBorder };
|
|
@@ -15,6 +15,7 @@ export type RadioGroupProps = {
|
|
|
15
15
|
length?: number;
|
|
16
16
|
onlyFlow?: boolean;
|
|
17
17
|
autoSize?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
18
19
|
buttonProps?: ButtonProps;
|
|
19
20
|
onChange?: (value: string) => void;
|
|
20
21
|
onUpdate?: (value: string, update: boolean, validation: boolean) => void;
|
|
@@ -28,6 +29,7 @@ export type RadioButtonProps = {
|
|
|
28
29
|
checked?: boolean;
|
|
29
30
|
hasError?: boolean;
|
|
30
31
|
children?: React.ReactNode;
|
|
32
|
+
disabled?: boolean;
|
|
31
33
|
buttonProps?: ButtonProps;
|
|
32
34
|
icon?: string | null;
|
|
33
35
|
image?: string | null;
|