pv-design 1.0.12 → 1.0.13

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,24 +1,24 @@
1
- import { jsxs as c, jsx as n } from "react/jsx-runtime";
2
- import { ConfigProvider as i, Table as s } from "antd";
3
- const w = ({ theme: a, customRowClass: e, ...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 e ? e(b, d, l) : b;
8
- }, t = {
1
+ import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
+ import { ConfigProvider as v, Table as c } from "antd";
3
+ const u = ({ theme: r, customRowClass: a, ...e }) => {
4
+ var t;
5
+ const b = (d, l) => {
6
+ const o = l % 2 === 0 ? "pv-table-even-row" : "pv-table-odd-row";
7
+ return a ? a(o, d, l) : o;
8
+ }, p = {
9
9
  colorBgContainer: "#18191a",
10
10
  headerBg: "#18191a",
11
11
  cellFontSizeSM: 12,
12
- ...((o = a == null ? void 0 : a.components) == null ? void 0 : o.Table) || {}
12
+ ...((t = r == null ? void 0 : r.components) == null ? void 0 : t.Table) || {}
13
13
  };
14
- return /* @__PURE__ */ c(
15
- i,
14
+ return /* @__PURE__ */ i(
15
+ v,
16
16
  {
17
17
  prefixCls: "pv-table",
18
18
  theme: {
19
- ...a || {},
19
+ ...r || {},
20
20
  components: {
21
- Table: t
21
+ Table: p
22
22
  }
23
23
  },
24
24
  children: [
@@ -29,22 +29,6 @@ const w = ({ theme: a, customRowClass: e, ...r }) => {
29
29
  .pv-table-table-header {
30
30
  border-right: 16px solid transparent !important;
31
31
  }
32
- .pv-table-table-body::-webkit-scrollbar {
33
- background-color: transparent;
34
- height: 16px;
35
- width: 16px;
36
- }
37
- .pv-table-table-body::-webkit-scrollbar-corner {
38
- background-color: transparent;
39
- }
40
- .pv-table-table-body::-webkit-scrollbar-thumb {
41
- background-color: #3D3E40;
42
- border-radius: 8px;
43
- border: 6px solid ${t.colorBgContainer};
44
- }
45
- .pv-table-body::-webkit-scrollbar-track {
46
- background: transparent;
47
- }
48
32
  .pv-table-even-row {
49
33
  background-color: #0a0a0a !important;
50
34
  }
@@ -74,10 +58,10 @@ const w = ({ theme: a, customRowClass: e, ...r }) => {
74
58
  }
75
59
  ` }),
76
60
  /* @__PURE__ */ n(
77
- s,
61
+ c,
78
62
  {
79
- ...r,
80
- rowClassName: r != null && r.rowClassName ? r.rowClassName : p
63
+ ...e,
64
+ rowClassName: e != null && e.rowClassName ? e.rowClassName : b
81
65
  }
82
66
  )
83
67
  ]
@@ -85,5 +69,5 @@ const w = ({ theme: a, customRowClass: e, ...r }) => {
85
69
  );
86
70
  };
87
71
  export {
88
- w as default
72
+ u as default
89
73
  };
package/dist/pv-design.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { lazy as o } from "react";
2
- const r = o(() => import("./index-C5hvxSxS.js")), m = o(() => import("./index-BqnyaJFp.js")), p = o(() => import("./index-Cqo4qO7u.js"));
2
+ const r = o(() => import("./index-C5hvxSxS.js")), m = o(() => import("./index-C85wIQ-Y.js")), p = o(() => import("./index-Cqo4qO7u.js"));
3
3
  export {
4
4
  p as PvModal,
5
5
  m as PvTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pv-design",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "pvmed ui design",
5
5
  "type": "module",
6
6
  "main": "./dist/pv-design.js",