slick-table 1.1.62 → 1.1.63
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.cjs.js +56 -56
- package/dist/index.es.js +1027 -1044
- package/dist/types/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts +59 -41
- package/src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts +1 -0
- package/src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts +1 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAsJA,wBAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columnCheckboxSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"columnCheckboxSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,OAIpC,CAAC"}
|
package/dist/types/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;AAIA,wBAA2B"}
|
package/package.json
CHANGED
|
@@ -13,53 +13,62 @@ const Container = styled(Box)({
|
|
|
13
13
|
maxWidth: "100%",
|
|
14
14
|
userSelect: "none",
|
|
15
15
|
|
|
16
|
-
"& .slick-header
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
backgroundColor: "#2196f3",
|
|
22
|
-
position: "absolute",
|
|
23
|
-
borderRadius: "50%",
|
|
24
|
-
border: "2px solid #f8f8f8",
|
|
25
|
-
top: "3px",
|
|
26
|
-
right: "3px",
|
|
27
|
-
},
|
|
28
|
-
"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
|
|
29
|
-
"& .slick-column-name": {
|
|
30
|
-
textOverflow: "ellipsis",
|
|
31
|
-
whiteSpace: "nowrap",
|
|
32
|
-
overflow: "hidden",
|
|
33
|
-
maxWidth: "calc(100% - 16px)",
|
|
16
|
+
"& .slick-header": {
|
|
17
|
+
borderTopColor: "transparent",
|
|
18
|
+
"& .slick-header-column": {
|
|
19
|
+
"&:last-child": {
|
|
20
|
+
borderRightColor: "transparent",
|
|
34
21
|
},
|
|
35
|
-
},
|
|
36
|
-
"&.slick-state-hover": {
|
|
37
22
|
"&.filter-active .slick-header-button::after": {
|
|
38
|
-
|
|
23
|
+
width: "7px",
|
|
24
|
+
height: "7px",
|
|
25
|
+
content: "''",
|
|
26
|
+
backgroundColor: "#2196f3",
|
|
27
|
+
position: "absolute",
|
|
28
|
+
borderRadius: "50%",
|
|
29
|
+
border: "2px solid #f8f8f8",
|
|
30
|
+
top: "3px",
|
|
31
|
+
right: "3px",
|
|
39
32
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
33
|
+
"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
|
|
34
|
+
"& .slick-column-name": {
|
|
35
|
+
textOverflow: "ellipsis",
|
|
36
|
+
whiteSpace: "nowrap",
|
|
37
|
+
overflow: "hidden",
|
|
38
|
+
maxWidth: "calc(100% - 16px)",
|
|
43
39
|
},
|
|
44
40
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
"&.slick-state-hover": {
|
|
42
|
+
"&.filter-active .slick-header-button::after": {
|
|
43
|
+
border: "2px solid #e8e8e8",
|
|
44
|
+
},
|
|
45
|
+
"& .slick-header-button": {
|
|
46
|
+
"&::before": {
|
|
47
|
+
backgroundColor: "#e8e8e8",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
"& .slick-column-name": {
|
|
52
|
+
fontSize,
|
|
53
|
+
},
|
|
54
|
+
"& .slick-header-button": {
|
|
55
55
|
width: "19px",
|
|
56
56
|
height: "12px",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
"&::before": {
|
|
58
|
+
position: "absolute",
|
|
59
|
+
content: "''",
|
|
60
|
+
width: "19px",
|
|
61
|
+
height: "12px",
|
|
62
|
+
top: "6px",
|
|
63
|
+
right: "5px",
|
|
64
|
+
backgroundImage:
|
|
65
|
+
"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
|
|
66
|
+
clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
|
|
67
|
+
backgroundColor: "transparent",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
"& .slick-resizable-handle": {
|
|
71
|
+
boxShadow: "none",
|
|
63
72
|
},
|
|
64
73
|
},
|
|
65
74
|
},
|
|
@@ -67,10 +76,17 @@ const Container = styled(Box)({
|
|
|
67
76
|
"& .slick-viewport": {
|
|
68
77
|
// Prevent displaying vertical scroll bar. Override this style when table exceeds available width
|
|
69
78
|
overflowX: "hidden !important",
|
|
70
|
-
|
|
79
|
+
scrollbarWidth: "thin",
|
|
71
80
|
"& .slick-cell": {
|
|
81
|
+
borderTop: "none",
|
|
82
|
+
borderRightStyle: "solid",
|
|
83
|
+
borderLeft: "none",
|
|
84
|
+
borderWidth: "1px",
|
|
72
85
|
display: "flex",
|
|
73
86
|
fontSize,
|
|
87
|
+
"&:last-child": {
|
|
88
|
+
borderRight: "none",
|
|
89
|
+
},
|
|
74
90
|
"&.text-center": {
|
|
75
91
|
justifyContent: "center",
|
|
76
92
|
textAlign: "center",
|
|
@@ -102,6 +118,7 @@ const Container = styled(Box)({
|
|
|
102
118
|
position: "absolute",
|
|
103
119
|
top: cellHeight,
|
|
104
120
|
"& div": {
|
|
121
|
+
fontSize,
|
|
105
122
|
"&:hover": {
|
|
106
123
|
cursor: "pointer",
|
|
107
124
|
},
|
|
@@ -120,6 +137,7 @@ const Container = styled(Box)({
|
|
|
120
137
|
display: "flex",
|
|
121
138
|
justifyContent: "flex-end",
|
|
122
139
|
alignItems: "center",
|
|
140
|
+
fontSize,
|
|
123
141
|
paddingRight: "5px",
|
|
124
142
|
borderBottom: "none",
|
|
125
143
|
fontWeight: "bold",
|
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
import { Box, styled } from "@mui/material";
|
|
2
2
|
|
|
3
|
-
const Wrapper = styled(Box)((
|
|
4
|
-
"& .slick-container": {
|
|
5
|
-
color: theme.palette.text.primary,
|
|
6
|
-
borderColor: theme.palette.background.paper,
|
|
7
|
-
|
|
8
|
-
"& .slick-viewport": {
|
|
9
|
-
backgroundColor: theme.palette.background.paper,
|
|
10
|
-
"& .grid-canvas": {
|
|
11
|
-
"& .ui-widget-content.slick-row": {
|
|
12
|
-
"&.even": {
|
|
13
|
-
backgroundColor: theme.palette.background.default,
|
|
14
|
-
},
|
|
15
|
-
"& .slick-cell": {
|
|
16
|
-
"&.active": {
|
|
17
|
-
borderColor: "#007bff",
|
|
18
|
-
"& input": {
|
|
19
|
-
color: theme.palette.text.primary,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
"&.selected": {
|
|
23
|
-
color: theme.palette.text.primary,
|
|
24
|
-
},
|
|
25
|
-
"& select": {
|
|
26
|
-
color: theme.palette.text.primary,
|
|
27
|
-
backgroundColor: theme.palette.background.default,
|
|
28
|
-
},
|
|
29
|
-
"& #autocomplete": {
|
|
30
|
-
backgroundColor: theme.palette.background.default,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
"& .slick-footerrow": {
|
|
38
|
-
backgroundColor: theme.palette.background.default,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
}));
|
|
3
|
+
const Wrapper = styled(Box)(() => ({}));
|
|
42
4
|
|
|
43
5
|
export default { Wrapper };
|