@dracor/react 1.0.0-beta.5 → 1.0.0-rc.2
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 -12
- package/dist/index.es.js +405 -410
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -23
- package/dist/index.umd.js.map +1 -1
- package/package.json +48 -47
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColumnDef } from '@tanstack/react-table';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
3
|
import { JSX as JSX_2 } from 'react';
|
|
4
|
+
import { LinkProps } from '@tanstack/react-router';
|
|
4
5
|
import { SortingState } from '@tanstack/react-table';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -52,11 +53,9 @@ export declare function IdCopy({ children, className, uri, prefix, icon, }: Prop
|
|
|
52
53
|
|
|
53
54
|
export declare function IdLink({ showLabel, children, className }: Props_7): JSX.Element;
|
|
54
55
|
|
|
55
|
-
declare
|
|
56
|
+
declare type Item = LinkProps & {
|
|
56
57
|
label: string;
|
|
57
|
-
|
|
58
|
-
selected?: boolean;
|
|
59
|
-
}
|
|
58
|
+
};
|
|
60
59
|
|
|
61
60
|
export declare function LanguageMenu({ languages, current, onSelect, }: Props_8): JSX.Element;
|
|
62
61
|
|
|
@@ -174,18 +173,14 @@ declare interface Props_8 {
|
|
|
174
173
|
onSelect: (lang: string) => void;
|
|
175
174
|
}
|
|
176
175
|
|
|
177
|
-
declare
|
|
176
|
+
declare type Props_9 = LinkProps & {
|
|
178
177
|
label: string;
|
|
179
|
-
href: string;
|
|
180
|
-
active?: boolean;
|
|
181
178
|
className?: string;
|
|
182
|
-
}
|
|
179
|
+
};
|
|
183
180
|
|
|
184
|
-
declare
|
|
181
|
+
declare type TabData = LinkProps & {
|
|
185
182
|
label: string;
|
|
186
|
-
|
|
187
|
-
active?: boolean;
|
|
188
|
-
}
|
|
183
|
+
};
|
|
189
184
|
|
|
190
185
|
export declare function Table<T>({ columns, data: initialData, defaultSort }: Props_11<T>): JSX.Element;
|
|
191
186
|
|