pv-design 1.0.6 → 1.0.8
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.
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ConfigProvider as
|
|
3
|
-
const
|
|
4
|
-
var
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
return t ? t(
|
|
1
|
+
import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { ConfigProvider as i, Table as s } from "antd";
|
|
3
|
+
const u = ({ theme: a, customRowClass: t, ...r }) => {
|
|
4
|
+
var o;
|
|
5
|
+
const p = (d, l) => {
|
|
6
|
+
const b = l % 2 === 0 ? "pv-table-even-row" : "pv-table-odd-row";
|
|
7
|
+
return t ? t(b, d, l) : b;
|
|
8
|
+
}, e = {
|
|
9
|
+
colorBgContainer: "#18191a",
|
|
10
|
+
headerBg: "#18191a",
|
|
11
|
+
...((o = a == null ? void 0 : a.components) == null ? void 0 : o.Table) || {}
|
|
8
12
|
};
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
|
|
13
|
+
return /* @__PURE__ */ c(
|
|
14
|
+
i,
|
|
11
15
|
{
|
|
12
16
|
prefixCls: "pv-table",
|
|
13
17
|
theme: {
|
|
14
18
|
...a || {},
|
|
15
19
|
components: {
|
|
16
|
-
Table:
|
|
17
|
-
colorBgContainer: "#18191a",
|
|
18
|
-
headerBg: "#18191a",
|
|
19
|
-
...((e = a == null ? void 0 : a.components) == null ? void 0 : e.Table) || {}
|
|
20
|
-
}
|
|
20
|
+
Table: e
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
children: [
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ n("style", { children: `
|
|
25
25
|
.pv-table-table {
|
|
26
26
|
scrollbar-color: unset !important;
|
|
27
27
|
}
|
|
@@ -39,7 +39,7 @@ const m = ({ theme: a, customRowClass: t, ...r }) => {
|
|
|
39
39
|
.pv-table-table-body::-webkit-scrollbar-thumb {
|
|
40
40
|
background-color: #3D3E40;
|
|
41
41
|
border-radius: 8px;
|
|
42
|
-
border: 6px solid
|
|
42
|
+
border: 6px solid ${e.colorBgContainer};
|
|
43
43
|
}
|
|
44
44
|
.pv-table-body::-webkit-scrollbar-track {
|
|
45
45
|
background: transparent;
|
|
@@ -75,11 +75,11 @@ const m = ({ theme: a, customRowClass: t, ...r }) => {
|
|
|
75
75
|
padding: 5px 8px !important;
|
|
76
76
|
}
|
|
77
77
|
` }),
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
|
|
78
|
+
/* @__PURE__ */ n(
|
|
79
|
+
s,
|
|
80
80
|
{
|
|
81
81
|
...r,
|
|
82
|
-
rowClassName: r != null && r.rowClassName ? r.rowClassName :
|
|
82
|
+
rowClassName: r != null && r.rowClassName ? r.rowClassName : p
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
85
|
]
|
|
@@ -87,5 +87,5 @@ const m = ({ theme: a, customRowClass: t, ...r }) => {
|
|
|
87
87
|
);
|
|
88
88
|
};
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
u as default
|
|
91
91
|
};
|
package/dist/pv-design.js
CHANGED