@donkit-ai/design-system 1.1.8 → 1.1.9
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.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface ButtonProps extends Omit<HTMLAttributes<HTMLElement>, 'onClick'
|
|
|
30
30
|
onClick?: (e: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
31
31
|
type?: 'button' | 'submit' | 'reset';
|
|
32
32
|
href?: string;
|
|
33
|
+
target?: string;
|
|
34
|
+
rel?: string;
|
|
33
35
|
'aria-label'?: string;
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -41,6 +43,8 @@ export interface TabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
41
43
|
children?: ReactNode;
|
|
42
44
|
size?: Size;
|
|
43
45
|
variant?: 'ghost' | 'underline';
|
|
46
|
+
value?: string;
|
|
47
|
+
onChange?: (value: string) => void;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
export declare function Tabs(props: TabsProps): JSX.Element;
|
|
@@ -54,6 +58,7 @@ export interface TabProps extends Omit<HTMLAttributes<HTMLElement>, 'onClick'> {
|
|
|
54
58
|
disabled?: boolean;
|
|
55
59
|
icon?: ReactNode;
|
|
56
60
|
href?: string;
|
|
61
|
+
value?: string;
|
|
57
62
|
}
|
|
58
63
|
|
|
59
64
|
export declare function Tab(props: TabProps): JSX.Element;
|
|
@@ -383,6 +388,8 @@ export interface TdProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
|
383
388
|
muted?: boolean;
|
|
384
389
|
truncate?: boolean;
|
|
385
390
|
nowrap?: boolean;
|
|
391
|
+
colSpan?: number;
|
|
392
|
+
rowSpan?: number;
|
|
386
393
|
}
|
|
387
394
|
|
|
388
395
|
export declare function Td(props: TdProps): JSX.Element;
|