@regulaforensics/ui-components 0.0.10 → 0.0.11
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 +12 -3
- package/dist/index.js +7259 -7191
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -35,10 +35,9 @@ declare interface IArrowProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
35
35
|
fillColor?: string;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
declare interface IBlockProps {
|
|
38
|
+
declare interface IBlockProps extends HTMLAttributes<HTMLDivElement> {
|
|
39
39
|
width?: number | string;
|
|
40
40
|
height?: number | string;
|
|
41
|
-
isRound?: boolean;
|
|
42
41
|
borderRadius?: number;
|
|
43
42
|
}
|
|
44
43
|
|
|
@@ -166,6 +165,13 @@ export declare interface ISkeleton extends FC {
|
|
|
166
165
|
Block: typeof Block;
|
|
167
166
|
}
|
|
168
167
|
|
|
168
|
+
declare interface IStatusProps {
|
|
169
|
+
additionalFields?: Array<{
|
|
170
|
+
name: string;
|
|
171
|
+
value: string | number;
|
|
172
|
+
}>;
|
|
173
|
+
}
|
|
174
|
+
|
|
169
175
|
export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
|
|
170
176
|
dataSource: Array<Record<string, ReactNode>>;
|
|
171
177
|
columns: Array<{
|
|
@@ -180,6 +186,7 @@ export declare interface ITabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
180
186
|
children: ReactNode;
|
|
181
187
|
}>;
|
|
182
188
|
type?: 'line' | 'card';
|
|
189
|
+
onTabChange?: (tabIndex: number) => void;
|
|
183
190
|
}
|
|
184
191
|
|
|
185
192
|
export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {
|
|
@@ -234,7 +241,9 @@ declare type Size = '20x135' | '18x135' | '16x100' | '14x135' | '12x160' | '12x1
|
|
|
234
241
|
|
|
235
242
|
export declare const Skeleton: ISkeleton;
|
|
236
243
|
|
|
237
|
-
export declare const Status: FC
|
|
244
|
+
export declare const Status: FC<IStatusProps>;
|
|
245
|
+
|
|
246
|
+
export declare const StatusLoader: () => JSX_2.Element;
|
|
238
247
|
|
|
239
248
|
export declare const Table: FC<ITableProps>;
|
|
240
249
|
|