pv-design 1.0.16 → 1.0.18

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,19 +1,19 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { ConfigProvider as e, Modal as i } from "antd";
3
- const x = ({ theme: o, LeftContent: r, RightContent: p, ...d }) => {
2
+ import { ConfigProvider as i, Modal as l } from "antd";
3
+ const x = ({ theme: o, LeftContent: r, RightContent: d, ...p }) => {
4
4
  var n;
5
- const l = {
5
+ const e = {
6
6
  titleColor: "rgba(204,204,204,0.85)",
7
7
  ...((n = o == null ? void 0 : o.components) == null ? void 0 : n.Modal) || {}
8
8
  };
9
9
  return /* @__PURE__ */ a(
10
- e,
10
+ i,
11
11
  {
12
12
  prefixCls: "pv-modal",
13
13
  theme: {
14
14
  ...o || {},
15
15
  components: {
16
- Modal: l
16
+ Modal: e
17
17
  }
18
18
  },
19
19
  children: [
@@ -56,6 +56,8 @@ const x = ({ theme: o, LeftContent: r, RightContent: p, ...d }) => {
56
56
  justify-content: space-between;
57
57
  align-items: center;
58
58
  background-color: #18191A;
59
+ border-radius: 8px;
60
+ width: 100%;
59
61
  }
60
62
  .pv-modal-content-left {
61
63
  border-right: 1px dashed #4F4F4F;
@@ -86,12 +88,12 @@ const x = ({ theme: o, LeftContent: r, RightContent: p, ...d }) => {
86
88
  }
87
89
  ` }),
88
90
  /* @__PURE__ */ t(
89
- i,
91
+ l,
90
92
  {
91
- ...d,
93
+ ...p,
92
94
  children: /* @__PURE__ */ a("div", { className: "pv-modal-content-container", children: [
93
95
  /* @__PURE__ */ t("div", { className: "pv-modal-content-left pv-modal-content-box", children: r }),
94
- /* @__PURE__ */ t("div", { className: "pv-modal-content-right pv-modal-content-box", children: p })
96
+ /* @__PURE__ */ t("div", { className: "pv-modal-content-right pv-modal-content-box", children: d })
95
97
  ] })
96
98
  }
97
99
  )
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")), i = o(() => import("./index-Dyq3zBZo.js")), m = o(() => import("./index-FYoViA-E.js")), p = o(() => import("./index-CeU3h31R.js"));
2
+ const r = o(() => import("./index-C5hvxSxS.js")), i = o(() => import("./index-Dyq3zBZo.js")), m = o(() => import("./index-FYoViA-E.js")), p = o(() => import("./index-CUPEuKJs.js"));
3
3
  export {
4
4
  m as PvModal,
5
5
  i as PvTable,
@@ -1,4 +1,5 @@
1
1
  import type { ModalProps, ThemeConfig } from 'antd';
2
+ import React from 'react';
2
3
  export interface ExtendedModalProps extends ModalProps {
3
4
  theme?: ThemeConfig;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import type { TableProps, ThemeConfig } from 'antd';
2
+ import React from 'react';
2
3
  /**
3
4
  * 扩展表格属性接口
4
5
  */
@@ -1,4 +1,5 @@
1
1
  import type { TabsProps, ThemeConfig } from 'antd';
2
+ import React from 'react';
2
3
  export interface ExtendedTabsProps extends TabsProps {
3
4
  theme?: ThemeConfig;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import type { ModalProps, ThemeConfig } from 'antd';
2
+ import React from 'react';
2
3
  export interface ExtendedModalProps extends ModalProps {
3
4
  theme?: ThemeConfig;
4
5
  LeftContent: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pv-design",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "pvmed ui design",
5
5
  "type": "module",
6
6
  "main": "./dist/pv-design.js",