[d24f17c] | 1 | import { FC, ComponentProps } from 'react';
|
---|
| 2 |
|
---|
| 3 | declare const theme$1: {
|
---|
| 4 | BASE_FONT_FAMILY: string;
|
---|
| 5 | BASE_FONT_SIZE: string;
|
---|
| 6 | BASE_LINE_HEIGHT: number;
|
---|
| 7 | BASE_BACKGROUND_COLOR: string;
|
---|
| 8 | BASE_COLOR: string;
|
---|
| 9 | OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: number;
|
---|
| 10 | OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: number;
|
---|
| 11 | OBJECT_NAME_COLOR: string;
|
---|
| 12 | OBJECT_VALUE_NULL_COLOR: string;
|
---|
| 13 | OBJECT_VALUE_UNDEFINED_COLOR: string;
|
---|
| 14 | OBJECT_VALUE_REGEXP_COLOR: string;
|
---|
| 15 | OBJECT_VALUE_STRING_COLOR: string;
|
---|
| 16 | OBJECT_VALUE_SYMBOL_COLOR: string;
|
---|
| 17 | OBJECT_VALUE_NUMBER_COLOR: string;
|
---|
| 18 | OBJECT_VALUE_BOOLEAN_COLOR: string;
|
---|
| 19 | OBJECT_VALUE_FUNCTION_PREFIX_COLOR: string;
|
---|
| 20 | HTML_TAG_COLOR: string;
|
---|
| 21 | HTML_TAGNAME_COLOR: string;
|
---|
| 22 | HTML_TAGNAME_TEXT_TRANSFORM: string;
|
---|
| 23 | HTML_ATTRIBUTE_NAME_COLOR: string;
|
---|
| 24 | HTML_ATTRIBUTE_VALUE_COLOR: string;
|
---|
| 25 | HTML_COMMENT_COLOR: string;
|
---|
| 26 | HTML_DOCTYPE_COLOR: string;
|
---|
| 27 | ARROW_COLOR: string;
|
---|
| 28 | ARROW_MARGIN_RIGHT: number;
|
---|
| 29 | ARROW_FONT_SIZE: number;
|
---|
| 30 | ARROW_ANIMATION_DURATION: string;
|
---|
| 31 | TREENODE_FONT_FAMILY: string;
|
---|
| 32 | TREENODE_FONT_SIZE: string;
|
---|
| 33 | TREENODE_LINE_HEIGHT: number;
|
---|
| 34 | TREENODE_PADDING_LEFT: number;
|
---|
| 35 | TABLE_BORDER_COLOR: string;
|
---|
| 36 | TABLE_TH_BACKGROUND_COLOR: string;
|
---|
| 37 | TABLE_TH_HOVER_COLOR: string;
|
---|
| 38 | TABLE_SORT_ICON_COLOR: string;
|
---|
| 39 | TABLE_DATA_BACKGROUND_IMAGE: string;
|
---|
| 40 | TABLE_DATA_BACKGROUND_SIZE: string;
|
---|
| 41 | };
|
---|
| 42 |
|
---|
| 43 | declare const theme: {
|
---|
| 44 | BASE_FONT_FAMILY: string;
|
---|
| 45 | BASE_FONT_SIZE: string;
|
---|
| 46 | BASE_LINE_HEIGHT: number;
|
---|
| 47 | BASE_BACKGROUND_COLOR: string;
|
---|
| 48 | BASE_COLOR: string;
|
---|
| 49 | OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: number;
|
---|
| 50 | OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: number;
|
---|
| 51 | OBJECT_NAME_COLOR: string;
|
---|
| 52 | OBJECT_VALUE_NULL_COLOR: string;
|
---|
| 53 | OBJECT_VALUE_UNDEFINED_COLOR: string;
|
---|
| 54 | OBJECT_VALUE_REGEXP_COLOR: string;
|
---|
| 55 | OBJECT_VALUE_STRING_COLOR: string;
|
---|
| 56 | OBJECT_VALUE_SYMBOL_COLOR: string;
|
---|
| 57 | OBJECT_VALUE_NUMBER_COLOR: string;
|
---|
| 58 | OBJECT_VALUE_BOOLEAN_COLOR: string;
|
---|
| 59 | OBJECT_VALUE_FUNCTION_PREFIX_COLOR: string;
|
---|
| 60 | HTML_TAG_COLOR: string;
|
---|
| 61 | HTML_TAGNAME_COLOR: string;
|
---|
| 62 | HTML_TAGNAME_TEXT_TRANSFORM: string;
|
---|
| 63 | HTML_ATTRIBUTE_NAME_COLOR: string;
|
---|
| 64 | HTML_ATTRIBUTE_VALUE_COLOR: string;
|
---|
| 65 | HTML_COMMENT_COLOR: string;
|
---|
| 66 | HTML_DOCTYPE_COLOR: string;
|
---|
| 67 | ARROW_COLOR: string;
|
---|
| 68 | ARROW_MARGIN_RIGHT: number;
|
---|
| 69 | ARROW_FONT_SIZE: number;
|
---|
| 70 | ARROW_ANIMATION_DURATION: string;
|
---|
| 71 | TREENODE_FONT_FAMILY: string;
|
---|
| 72 | TREENODE_FONT_SIZE: string;
|
---|
| 73 | TREENODE_LINE_HEIGHT: number;
|
---|
| 74 | TREENODE_PADDING_LEFT: number;
|
---|
| 75 | TABLE_BORDER_COLOR: string;
|
---|
| 76 | TABLE_TH_BACKGROUND_COLOR: string;
|
---|
| 77 | TABLE_TH_HOVER_COLOR: string;
|
---|
| 78 | TABLE_SORT_ICON_COLOR: string;
|
---|
| 79 | TABLE_DATA_BACKGROUND_IMAGE: string;
|
---|
| 80 | TABLE_DATA_BACKGROUND_SIZE: string;
|
---|
| 81 | };
|
---|
| 82 |
|
---|
| 83 | declare const themedObjectInspector: ({ theme, ...restProps }: {
|
---|
| 84 | [x: string]: any;
|
---|
| 85 | theme?: string | undefined;
|
---|
| 86 | }) => JSX.Element;
|
---|
| 87 |
|
---|
| 88 | declare const themedTableInspector: ({ theme, ...restProps }: {
|
---|
| 89 | [x: string]: any;
|
---|
| 90 | theme?: string | undefined;
|
---|
| 91 | }) => JSX.Element;
|
---|
| 92 |
|
---|
| 93 | declare const ObjectLabel: FC<any>;
|
---|
| 94 |
|
---|
| 95 | declare const ObjectPreview: FC<any>;
|
---|
| 96 |
|
---|
| 97 | declare const ObjectRootLabel: FC<any>;
|
---|
| 98 |
|
---|
| 99 | declare const ObjectValue: FC<any>;
|
---|
| 100 |
|
---|
| 101 | declare const ObjectName: FC<any>;
|
---|
| 102 |
|
---|
| 103 | declare const Inspector: FC<TableInspectorProps | ObjectInspectorProps>;
|
---|
| 104 | interface TableInspectorProps extends ComponentProps<typeof themedTableInspector> {
|
---|
| 105 | table: true;
|
---|
| 106 | }
|
---|
| 107 | interface ObjectInspectorProps extends ComponentProps<typeof themedObjectInspector> {
|
---|
| 108 | table: false;
|
---|
| 109 | }
|
---|
| 110 |
|
---|
| 111 | export { Inspector, themedObjectInspector as ObjectInspector, ObjectLabel, ObjectName, ObjectPreview, ObjectRootLabel, ObjectValue, themedTableInspector as TableInspector, theme$1 as chromeDark, theme as chromeLight };
|
---|