pv-design 1.0.9 → 1.0.10

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.
@@ -0,0 +1,62 @@
1
+ import { jsxs as n, jsx as p } from "react/jsx-runtime";
2
+ import { ConfigProvider as d, Modal as i } from "antd";
3
+ const x = ({ theme: o, ...a }) => {
4
+ var t;
5
+ const r = {
6
+ titleColor: "rgba(204,204,204,0.85)",
7
+ ...((t = o == null ? void 0 : o.components) == null ? void 0 : t.Modal) || {}
8
+ };
9
+ return /* @__PURE__ */ n(
10
+ d,
11
+ {
12
+ prefixCls: "pv-modal",
13
+ theme: {
14
+ ...o || {},
15
+ components: {
16
+ Modal: r
17
+ }
18
+ },
19
+ children: [
20
+ /* @__PURE__ */ p("style", { children: `
21
+ .pv-modal-modal-content {
22
+ padding: 24px 28px 20px 28px !important;
23
+ border-radius: 12px !important;
24
+ box-shadow: 0px 8px 48px 1px rgba(0,0,0,0.4) !important;
25
+ }
26
+ .pv-modal-modal-title {
27
+ text-align: center;
28
+ height: 16px;
29
+ line-height: 16px !important;
30
+ }
31
+ .pv-modal-modal-close {
32
+ top: 16px !important;
33
+ right: 18px !important;
34
+ }
35
+ .pv-modal-modal-header {
36
+ margin-bottom: 32px !important;
37
+ }
38
+ .pv-modal-modal-footer {
39
+ margin-top: 20px !important;
40
+ }
41
+ .pv-modal-modal-footer{
42
+ button:nth-of-type(1) {
43
+ background: transparent;
44
+ }
45
+ button {
46
+ font-size: 13px;
47
+ }
48
+ }
49
+ ` }),
50
+ /* @__PURE__ */ p(
51
+ i,
52
+ {
53
+ ...a
54
+ }
55
+ )
56
+ ]
57
+ }
58
+ );
59
+ };
60
+ export {
61
+ x as default
62
+ };
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-BuZO4MfR.js"));
2
+ const r = o(() => import("./index-C5hvxSxS.js")), m = o(() => import("./index-BqnyaJFp.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.9",
3
+ "version": "1.0.10",
4
4
  "description": "pvmed ui design",
5
5
  "type": "module",
6
6
  "main": "./dist/pv-design.js",
@@ -1,46 +0,0 @@
1
- import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
- import { ConfigProvider as i, Modal as n } from "antd";
3
- const d = ({ theme: o, ...e }) => /* @__PURE__ */ p(
4
- i,
5
- {
6
- theme: {
7
- ...o || {},
8
- components: {
9
- Modal: {
10
- titleColor: "#cccccc"
11
- }
12
- }
13
- },
14
- children: [
15
- /* @__PURE__ */ t("style", { children: `
16
- .pvdesign-modal-content {
17
- padding: 24px 28px 20px 28px !important;
18
- }
19
- .pvdesign-modal-title {
20
- text-align: center;
21
- height: 16px;
22
- line-height: 16px !important;
23
- }
24
- .pvdesign-modal-close {
25
- top: 16px !important;
26
- right: 18px !important;
27
- }
28
- .pvdesign-modal-header {
29
- margin-bottom: 32px !important;
30
- }
31
- .pvdesign-modal-footer {
32
- margin-top: 20px !important;
33
- }
34
- ` }),
35
- /* @__PURE__ */ t(
36
- n,
37
- {
38
- ...e
39
- }
40
- )
41
- ]
42
- }
43
- );
44
- export {
45
- d as default
46
- };