mig-schema-table 1.0.9 → 1.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.css +58 -0
- package/dist/index.css.map +1 -0
- package/package.json +5 -5
- package/build/index.css +0 -132
- package/build/index.css.map +0 -1
- /package/{build → dist}/component/SchemaTable/Th/index.d.ts +0 -0
- /package/{build → dist}/component/SchemaTable/Th/index.js +0 -0
- /package/{build → dist}/component/SchemaTable/index.d.ts +0 -0
- /package/{build → dist}/component/SchemaTable/index.js +0 -0
- /package/{build → dist}/inc/date.d.ts +0 -0
- /package/{build → dist}/inc/date.js +0 -0
- /package/{build → dist}/inc/schema.d.ts +0 -0
- /package/{build → dist}/inc/schema.js +0 -0
- /package/{build → dist}/inc/string.d.ts +0 -0
- /package/{build → dist}/inc/string.js +0 -0
- /package/{build → dist}/index.d.ts +0 -0
- /package/{build → dist}/index.js +0 -0
- /package/{build → dist}/reportWebVitals.d.ts +0 -0
- /package/{build → dist}/reportWebVitals.js +0 -0
- /package/{build → dist}/setupTests.d.ts +0 -0
- /package/{build → dist}/setupTests.js +0 -0
- /package/{build → dist}/types/type.d.ts +0 -0
- /package/{build → dist}/types/type.js +0 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.schema-table {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
}
|
|
4
|
+
.schema-table__tbody {
|
|
5
|
+
overflow-x: hidden !important;
|
|
6
|
+
border-collapse: collapse;
|
|
7
|
+
width: 100%;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
.schema-table__th-row {
|
|
11
|
+
overflow: hidden !important;
|
|
12
|
+
}
|
|
13
|
+
.schema-table__th {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
background-color: #eee;
|
|
16
|
+
}
|
|
17
|
+
.schema-table__th,
|
|
18
|
+
.schema-table__th button {
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
margin-top: 10px;
|
|
21
|
+
display: flex;
|
|
22
|
+
}
|
|
23
|
+
.schema-table__th--unsortable {
|
|
24
|
+
padding-left: 1rem;
|
|
25
|
+
}
|
|
26
|
+
.schema-table__td {
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
padding-left: 8px;
|
|
31
|
+
align-items: center;
|
|
32
|
+
line-height: 40px;
|
|
33
|
+
}
|
|
34
|
+
.schema-table__td--odd {
|
|
35
|
+
background-color: #ddd;
|
|
36
|
+
}
|
|
37
|
+
.schema-table__td--even {
|
|
38
|
+
background-color: #fff;
|
|
39
|
+
}
|
|
40
|
+
.schema-table__td--selected {
|
|
41
|
+
background-color: #bbb;
|
|
42
|
+
}
|
|
43
|
+
.schema-table__search {
|
|
44
|
+
margin: 1rem;
|
|
45
|
+
padding-right: 1rem;
|
|
46
|
+
}
|
|
47
|
+
.schema-table__search input {
|
|
48
|
+
width: 100%;
|
|
49
|
+
line-height: 20px;
|
|
50
|
+
}
|
|
51
|
+
.schema-table--clickable-rows .schema-table__td {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
.schema-table button {
|
|
55
|
+
border: 1px solid transparent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/index.scss"],"names":[],"mappings":"AAAA;EAgEE;;AA/DA;EACE;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAEA;AAAA;EAEE;EACA;EACA;;AAGF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEF;EACE;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;;AAEF;EACE","file":"index.css"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mig-schema-table",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "1.0.11",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
|
-
"
|
|
6
|
+
"dist/"
|
|
7
7
|
],
|
|
8
|
-
"types": "./
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
9
|
"private": false,
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@testing-library/jest-dom": "^5.16.5",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"start": "react-scripts start",
|
|
32
|
-
"build": "tsc -p tsconfig.json; sass src/index.scss
|
|
32
|
+
"build": "tsc -p tsconfig.json; sass src/index.scss dist/index.css"
|
|
33
33
|
},
|
|
34
34
|
"eslintConfig": {
|
|
35
35
|
"extends": [
|
package/build/index.css
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
table {
|
|
2
|
-
border-collapse: collapse;
|
|
3
|
-
width: 100%;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
margin-top: 5px;
|
|
6
|
-
}
|
|
7
|
-
table thead {
|
|
8
|
-
width: calc(100% - 1em);
|
|
9
|
-
}
|
|
10
|
-
table thead, table tbody tr {
|
|
11
|
-
display: table;
|
|
12
|
-
width: 100%;
|
|
13
|
-
table-layout: fixed;
|
|
14
|
-
}
|
|
15
|
-
table tbody {
|
|
16
|
-
display: block;
|
|
17
|
-
overflow: auto;
|
|
18
|
-
max-height: 80vh;
|
|
19
|
-
}
|
|
20
|
-
table th {
|
|
21
|
-
background-color: lightgray;
|
|
22
|
-
text-align: left;
|
|
23
|
-
position: sticky;
|
|
24
|
-
top: 0;
|
|
25
|
-
}
|
|
26
|
-
table th .arrow {
|
|
27
|
-
border: solid black;
|
|
28
|
-
border-width: 0 3px 3px 0;
|
|
29
|
-
display: inline-block;
|
|
30
|
-
padding: 3px;
|
|
31
|
-
position: absolute;
|
|
32
|
-
right: 0;
|
|
33
|
-
margin: 6px;
|
|
34
|
-
}
|
|
35
|
-
table th, table td {
|
|
36
|
-
border-right: 1px solid #ddd;
|
|
37
|
-
border-left: 1px solid #ddd;
|
|
38
|
-
padding: 8px;
|
|
39
|
-
}
|
|
40
|
-
table td div {
|
|
41
|
-
text-overflow: ellipsis;
|
|
42
|
-
width: 100%;
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
table tbody tr {
|
|
47
|
-
height: 50px;
|
|
48
|
-
}
|
|
49
|
-
table tbody tr:hover {
|
|
50
|
-
background-color: #858585;
|
|
51
|
-
}
|
|
52
|
-
table tr:nth-child(even) {
|
|
53
|
-
background-color: #f2f2f2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ASC {
|
|
57
|
-
transform: rotate(45deg);
|
|
58
|
-
-webkit-transform: rotate(45deg);
|
|
59
|
-
transition: 0.5s;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.DSC {
|
|
63
|
-
transform: rotate(-135deg);
|
|
64
|
-
-webkit-transform: rotate(-135deg);
|
|
65
|
-
transition: 0.5s;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.tableTitle {
|
|
69
|
-
margin-top: 10px;
|
|
70
|
-
margin-bottom: 20px;
|
|
71
|
-
font-size: 25px;
|
|
72
|
-
font-weight: bold;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.schema-table {
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
}
|
|
78
|
-
.schema-table__tbody {
|
|
79
|
-
overflow-x: hidden !important;
|
|
80
|
-
border-collapse: collapse;
|
|
81
|
-
width: 100%;
|
|
82
|
-
cursor: pointer;
|
|
83
|
-
}
|
|
84
|
-
.schema-table__th-row {
|
|
85
|
-
overflow: hidden !important;
|
|
86
|
-
}
|
|
87
|
-
.schema-table__th {
|
|
88
|
-
overflow: hidden;
|
|
89
|
-
background-color: #eee;
|
|
90
|
-
}
|
|
91
|
-
.schema-table__th,
|
|
92
|
-
.schema-table__th button {
|
|
93
|
-
font-weight: bold;
|
|
94
|
-
margin-top: 10px;
|
|
95
|
-
display: flex;
|
|
96
|
-
}
|
|
97
|
-
.schema-table__th--unsortable {
|
|
98
|
-
padding-left: 1rem;
|
|
99
|
-
}
|
|
100
|
-
.schema-table__td {
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
white-space: nowrap;
|
|
103
|
-
text-overflow: ellipsis;
|
|
104
|
-
padding-left: 8px;
|
|
105
|
-
align-items: center;
|
|
106
|
-
line-height: 40px;
|
|
107
|
-
}
|
|
108
|
-
.schema-table__td--odd {
|
|
109
|
-
background-color: #ddd;
|
|
110
|
-
}
|
|
111
|
-
.schema-table__td--even {
|
|
112
|
-
background-color: #fff;
|
|
113
|
-
}
|
|
114
|
-
.schema-table__td--selected {
|
|
115
|
-
background-color: #bbb;
|
|
116
|
-
}
|
|
117
|
-
.schema-table__search {
|
|
118
|
-
margin: 1rem;
|
|
119
|
-
padding-right: 1rem;
|
|
120
|
-
}
|
|
121
|
-
.schema-table__search input {
|
|
122
|
-
width: 100%;
|
|
123
|
-
line-height: 20px;
|
|
124
|
-
}
|
|
125
|
-
.schema-table--clickable-rows .schema-table__td {
|
|
126
|
-
cursor: pointer;
|
|
127
|
-
}
|
|
128
|
-
.schema-table button {
|
|
129
|
-
border: 1px solid transparent;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/*# sourceMappingURL=index.css.map */
|
package/build/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/index.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AAIA;EACE;EACA;EACA;EACA;;AAKF;EACE;;AACA;EACE;;AAKN;EACE;;;AAIJ;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAIF;EAgEE;;AA/DA;EACE;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAEA;AAAA;EAEE;EACA;EACA;;AAGF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEF;EACE;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;;AAEF;EACE","file":"index.css"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{build → dist}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|