@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.
@@ -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 };
@@ -11,4 +11,4 @@ declare const meta: {
11
11
  export default meta;
12
12
  type Story = StoryObj<typeof meta>;
13
13
  export declare const Default: Story;
14
- export declare const DisabledChildren: Story;
14
+ export declare const Disabled: Story;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "3.1.7",
3
+ "version": "3.1.10",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",