mig-schema-table 3.0.13 → 3.0.14
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/SchemaTable/index.d.ts +2 -2
- package/dist/index.css +3 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { oas31 } from "openapi3-ts";
|
|
3
3
|
import { IColumnConfig } from "../types";
|
|
4
|
-
export interface
|
|
4
|
+
export interface ISchemaTableProps<T> {
|
|
5
5
|
Heading?: any;
|
|
6
6
|
checkedIndexes?: number[];
|
|
7
7
|
config?: {
|
|
@@ -25,4 +25,4 @@ export interface ISchemaTableComponentProps<T> {
|
|
|
25
25
|
style?: React.CSSProperties;
|
|
26
26
|
width: number;
|
|
27
27
|
}
|
|
28
|
-
export default function SchemaTable<T>({ Heading, checkedIndexes, config, customElement, data, defaultSortAsc, defaultSortColumn, getRowClassName, getRowSelected, maxHeight, isSearchable, isColumnSearchable, isSortable, onCheckedIndexesChange, onRowClick, rowHeight, schema, searchPlaceholder, style, width, }:
|
|
28
|
+
export default function SchemaTable<T>({ Heading, checkedIndexes, config, customElement, data, defaultSortAsc, defaultSortColumn, getRowClassName, getRowSelected, maxHeight, isSearchable, isColumnSearchable, isSortable, onCheckedIndexesChange, onRowClick, rowHeight, schema, searchPlaceholder, style, width, }: ISchemaTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.css
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
.schema-table__column-filter {
|
|
13
13
|
background-color: #eee;
|
|
14
14
|
}
|
|
15
|
-
.schema-table__column-filter input,
|
|
15
|
+
.schema-table__column-filter input,
|
|
16
|
+
.schema-table__column-filter select {
|
|
16
17
|
width: 90%;
|
|
17
18
|
padding: 3px;
|
|
18
19
|
margin-top: 3px;
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
.schema-table__th {
|
|
30
31
|
background-color: #eee;
|
|
31
32
|
align-items: center;
|
|
33
|
+
padding-left: 8px;
|
|
32
34
|
}
|
|
33
35
|
.schema-table__th div {
|
|
34
36
|
overflow: hidden;
|
|
@@ -40,9 +42,6 @@
|
|
|
40
42
|
font-weight: bold;
|
|
41
43
|
display: flex;
|
|
42
44
|
}
|
|
43
|
-
.schema-table__th--unsortable {
|
|
44
|
-
padding-left: 8px;
|
|
45
|
-
}
|
|
46
45
|
.schema-table__td {
|
|
47
46
|
overflow: hidden;
|
|
48
47
|
white-space: nowrap;
|