@inntechcorp/it-design 2.0.260 → 2.0.262
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 +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +66 -32
- package/dist/index.esm.js +11 -11
- package/dist/radio/button/RadioButton.d.ts +2 -0
- package/dist/radio/index.d.ts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/types/RadioProps.d.ts +8 -3
- package/dist/types/TabsProps.d.ts +1 -0
- package/package.json +1 -1
- package/dist/radio/button/Button.d.ts +0 -2
package/dist/radio/index.d.ts
CHANGED
package/dist/tabs/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TabsProps } from "../index";
|
|
2
|
-
declare const Tabs: ({ tabs, activeTabKey, variant, height, onTabChange }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Tabs: ({ tabs, activeTabKey, className, variant, height, onTabChange }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Tabs;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { ReactElement } from "react";
|
|
2
|
+
import { ButtonProps } from "./ButtonProps";
|
|
3
|
+
export type RadioType = "default" | "primary";
|
|
4
|
+
export type Direction = "column" | "row";
|
|
2
5
|
export type RadioGroupProps = {
|
|
3
6
|
name?: string;
|
|
4
7
|
message?: string;
|
|
5
|
-
type?:
|
|
8
|
+
type?: RadioType;
|
|
6
9
|
defaultValue?: string;
|
|
7
10
|
value?: string;
|
|
8
11
|
className?: string;
|
|
9
|
-
direction?:
|
|
12
|
+
direction?: Direction;
|
|
10
13
|
gap?: string;
|
|
11
14
|
length?: number;
|
|
12
15
|
onlyFlow?: boolean;
|
|
16
|
+
buttonProps?: ButtonProps;
|
|
13
17
|
onChange?: (value: string) => void;
|
|
14
18
|
onUpdate?: (value: string, update: boolean, validation: boolean) => void;
|
|
15
19
|
children?: React.ReactNode;
|
|
@@ -18,10 +22,11 @@ export type RadioButtonProps = {
|
|
|
18
22
|
id?: string;
|
|
19
23
|
name?: string;
|
|
20
24
|
value?: string;
|
|
21
|
-
type?:
|
|
25
|
+
type?: RadioType;
|
|
22
26
|
checked?: boolean;
|
|
23
27
|
hasError?: boolean;
|
|
24
28
|
children?: React.ReactNode;
|
|
29
|
+
buttonProps?: ButtonProps;
|
|
25
30
|
icon?: string | null;
|
|
26
31
|
image?: string | null;
|
|
27
32
|
onChange?: (value: string) => void;
|
package/package.json
CHANGED