@para-ui/core 4.0.1 → 4.0.2

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/Form/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DeepClone } from '@paraview/lib';
3
3
  import React__default from 'react';
4
- import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-00dc302a.js';
4
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-80e8eb3f.js';
5
5
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
6
6
  import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
7
7
  import '../TextField/index.js';
package/FormItem/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { F as default } from '../_verture/index-00dc302a.js';
3
+ export { F as default } from '../_verture/index-80e8eb3f.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-5317fc89.js';
@@ -1,5 +1,5 @@
1
- import { u as useModal } from '../_verture/modalContext-ea977824.js';
2
- export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-ea977824.js';
1
+ import { u as useModal } from '../_verture/modalContext-8982647f.js';
2
+ export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-8982647f.js';
3
3
  import '../_verture/tslib.es6-55ed4bd2.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
package/Message/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { useEffect } from 'react';
3
3
  import ReactDOM from 'react-dom';
4
4
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
5
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
5
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
6
  import CloseIcon from '@para-ui/icons/Close';
7
7
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
8
8
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
@@ -16,7 +16,7 @@ const iconMapping = {
16
16
  info: jsx(WarningCircleF, {}),
17
17
  warn: jsx(WarningCircleF, {}),
18
18
  error: jsx(CloseCircleF, {}),
19
- success: jsx(SuccessOutlined, {})
19
+ success: jsx(CheckCircleF, {})
20
20
  };
21
21
  //获取window
22
22
  const getMsgWindow = () => {
package/Modal/index.js CHANGED
@@ -11,7 +11,7 @@ import clsx from 'clsx';
11
11
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
12
12
  import AutoTips from '../AutoTips/index.js';
13
13
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
14
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
14
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
15
15
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
16
16
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
17
17
  import { UUID } from '@paraview/lib';
@@ -32,7 +32,7 @@ styleInject(css_248z$1);
32
32
 
33
33
  //图标
34
34
  const iconMap = {
35
- success: jsx(SuccessOutlined, {}),
35
+ success: jsx(CheckCircleF, {}),
36
36
  warn: jsx(WarningCircleF, {}),
37
37
  warning: jsx(WarningCircleF, {}),
38
38
  error: jsx(CloseCircleF, {}),
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import Notification from 'rc-notification';
4
4
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
5
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
5
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
6
  import CloseIcon from '@para-ui/icons/Close';
7
7
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
8
8
  import clsx from 'clsx';
@@ -161,7 +161,7 @@ function getNotificationInstance(args, callback) {
161
161
  }
162
162
  //通知框类型图标
163
163
  const typeToIcon = {
164
- success: SuccessOutlined,
164
+ success: CheckCircleF,
165
165
  info: WarningCircleF,
166
166
  error: CloseCircleF,
167
167
  warning: WarningCircleF
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { useState, useEffect } from 'react';
3
3
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
4
4
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
5
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
5
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
6
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
7
7
 
8
8
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-password-rules {\n padding: 16px;\n line-height: 1.43;\n}\n.paraui-v4-password-rules > .password-rules-item:first-child > .password-rules-item-title {\n margin-top: 0px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-title {\n font-size: 14px;\n color: rgb(29, 33, 38);\n font-weight: 700;\n margin-bottom: 6px;\n margin-top: 10px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail {\n display: flex;\n margin-bottom: 6px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail:last-child {\n margin-bottom: 0;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-flag {\n min-width: 26px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-label {\n flex: 1;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag {\n margin-top: 0px;\n line-height: 1;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag svg {\n font-size: 18px;\n color: rgb(161, 168, 179);\n position: relative;\n top: 1px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order {\n font-size: 14px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order > .item-flag {\n margin-top: -1px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-success.rules-item-detail-icon > .item-flag svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-flag {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-label {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules.paraui-v4-password-rules-box-shadow {\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border-radius: 4px;\n}";
@@ -71,7 +71,7 @@ const PasswordRules = props => {
71
71
  if (type === 'order') {
72
72
  return "".concat(inx + 1, "\u3001");
73
73
  }
74
- if (result === true) return jsx(SuccessOutlined, {}); // 成功
74
+ if (result === true) return jsx(CheckCircleF, {}); // 成功
75
75
  return jsx(CloseCircleF, {});
76
76
  };
77
77
  // 处理内容
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import { useRef, useState, useMemo, useEffect } from 'react';
4
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
4
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
5
5
  import InfoOutlined from '@para-ui/icons/WarningCircle';
6
6
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
7
7
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
@@ -44,7 +44,7 @@ styleInject(css_248z);
44
44
 
45
45
  //图标
46
46
  const iconMapping = {
47
- success: jsx(SuccessOutlined, {}),
47
+ success: jsx(CheckCircleF, {}),
48
48
  warning: jsx(WarningCircleF, {}),
49
49
  error: jsx(CloseCircleF, {}),
50
50
  info: jsx(InfoOutlined, {})
package/Progress/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { Circle } from 'rc-progress';
4
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
4
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
5
5
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
6
6
  import Check from '@para-ui/icons/Check';
7
7
  import CloseIcon from '@para-ui/icons/Close';
@@ -252,7 +252,7 @@ const Progress = props => {
252
252
  if (format) return format(percent);
253
253
  if (isSuccessStatus) return type === 'circle' ? jsx(Check, {
254
254
  className: "success"
255
- }) : jsx(SuccessOutlined, {
255
+ }) : jsx(CheckCircleF, {
256
256
  className: "success"
257
257
  });
258
258
  if (status === 'exception') return type === 'circle' ? jsx(CloseIcon, {
@@ -0,0 +1,30 @@
1
+ import React, { ReactNode } from 'react';
2
+ import './index.scss';
3
+ export interface PromptProps {
4
+ /** 自定义样式名 **/
5
+ className?: string;
6
+ /** 样式 */
7
+ style?: React.CSSProperties;
8
+ /** 信息类型 */
9
+ type?: 'error' | 'success' | 'warn' | 'info';
10
+ /** 状态 固定 或 反馈 */
11
+ status?: 'fixed' | 'feedback';
12
+ /** 标题 */
13
+ title?: string;
14
+ /** 内容 可以为string也可以是array,也可以自定义 */
15
+ content?: string | string[];
16
+ /** 自定义内容 */
17
+ customContent?: ReactNode;
18
+ /** 是否展示 */
19
+ show?: boolean;
20
+ /** 是否展示关闭按钮 */
21
+ closeIcon?: boolean;
22
+ /** icon 自定义图标 */
23
+ icon?: ReactNode;
24
+ /** 关闭回调 */
25
+ onClose?: Function;
26
+ /** 是否显示边框 */
27
+ outline?: boolean;
28
+ }
29
+ export declare const Prompt: (props: PromptProps) => JSX.Element | null;
30
+ export default Prompt;
@@ -0,0 +1,97 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { useState, useEffect, useMemo } from 'react';
3
+ import clsx from 'clsx';
4
+ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
5
+ import WarningCircleF from '@para-ui/icons/WarningCircleF';
6
+ import CloseCircleF from '@para-ui/icons/CloseCircleF';
7
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
8
+ import CloseIcon from '@para-ui/icons/Close';
9
+ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
10
+
11
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-prompt {\n width: 100%;\n border-radius: 4px;\n padding: 10px 16px 10px 40px;\n position: relative;\n box-sizing: border-box;\n}\n.paraui-v4-prompt.prompt-outline {\n border-width: 1px;\n border-style: solid;\n}\n.paraui-v4-prompt.prompt-status-feedback-close {\n padding-right: 44px;\n}\n.paraui-v4-prompt .prompt-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n left: 16px;\n z-index: 2;\n}\n.paraui-v4-prompt .prompt-icon svg {\n width: 16px;\n height: 16px;\n}\n.paraui-v4-prompt .prompt-btn-close {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 2;\n margin-left: auto;\n cursor: pointer;\n}\n.paraui-v4-prompt .prompt-btn-close svg {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-prompt .prompt-title {\n width: 100%;\n font-weight: 600;\n height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n margin-bottom: 4px;\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item {\n margin-top: 4px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item:first-child {\n margin-top: 0;\n}\n.paraui-v4-prompt .prompt-content-item {\n width: 100%;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-content-item {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-content-item {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-content-item {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-content-item {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-info {\n background: rgb(240, 245, 255);\n}\n.paraui-v4-prompt.prompt-type-info svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-type-info.prompt-outline {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-prompt.prompt-type-error {\n background: rgb(255, 235, 235);\n}\n.paraui-v4-prompt.prompt-type-error svg {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-type-error.prompt-outline {\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-prompt.prompt-type-success {\n background: rgb(232, 252, 239);\n}\n.paraui-v4-prompt.prompt-type-success svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-success.prompt-outline {\n border-color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-warn {\n background: rgb(255, 246, 235);\n}\n.paraui-v4-prompt.prompt-type-warn svg {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-warn.prompt-outline {\n border-color: rgb(255, 147, 38);\n}";
12
+ styleInject(css_248z);
13
+
14
+ const iconMap = {
15
+ info: jsx(WarningCircleF, {
16
+ className: 'icon-info'
17
+ }),
18
+ error: jsx(CloseCircleF, {
19
+ className: 'icon-error'
20
+ }),
21
+ success: jsx(CheckCircleF, {
22
+ className: 'icon-success'
23
+ }),
24
+ warn: jsx(WarningCircleF, {
25
+ className: 'icon-warn'
26
+ })
27
+ };
28
+ const Prompt = props => {
29
+ const {
30
+ className,
31
+ style,
32
+ status = 'fixed',
33
+ type = 'info',
34
+ icon,
35
+ show,
36
+ title = '',
37
+ content,
38
+ customContent,
39
+ closeIcon,
40
+ onClose,
41
+ outline
42
+ } = props;
43
+ const [isShow, setIsShow] = useState(true);
44
+ useEffect(() => {
45
+ if (show === undefined || show === null) return;
46
+ setIsShow(show);
47
+ }, [show]);
48
+ const closePanel = () => {
49
+ onClose && onClose();
50
+ setIsShow(false);
51
+ };
52
+ const contentMemo = useMemo(() => {
53
+ if (customContent) return customContent;
54
+ if (content instanceof Array) {
55
+ return jsx("div", Object.assign({
56
+ className: 'prompt-content-list'
57
+ }, {
58
+ children: content.map((str, index) => jsx("div", Object.assign({
59
+ className: 'prompt-content-item'
60
+ }, {
61
+ children: str
62
+ }), index))
63
+ }));
64
+ }
65
+ if (typeof content === 'string') return jsx("div", Object.assign({
66
+ className: 'prompt-content-item'
67
+ }, {
68
+ children: content
69
+ }));
70
+ }, [content, customContent]);
71
+ if (!isShow) return null;
72
+ return jsxs("div", Object.assign({
73
+ className: clsx("".concat($prefixCls, "-prompt"), className, "prompt-type-".concat(type), {
74
+ 'prompt-outline': outline,
75
+ 'prompt-status-feedback': status === 'feedback',
76
+ 'prompt-status-feedback-close': closeIcon
77
+ }),
78
+ style: style
79
+ }, {
80
+ children: [jsx("div", Object.assign({
81
+ className: "prompt-icon"
82
+ }, {
83
+ children: icon || iconMap[type]
84
+ })), closeIcon && jsx("div", Object.assign({
85
+ className: 'prompt-btn-close',
86
+ onClick: closePanel
87
+ }, {
88
+ children: jsx(CloseIcon, {})
89
+ })), title && jsx("div", Object.assign({
90
+ className: "prompt-title"
91
+ }, {
92
+ children: title
93
+ })), contentMemo]
94
+ }));
95
+ };
96
+
97
+ export { Prompt, Prompt as default };
package/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 版本: 4.0.2
2
+ para-ui/core@4.0.2 发布
3
+ 【表格-Table】修复表格name不传,出现浮层边框
4
+ 【高亮提示-Prompt】新增组件
5
+ 【标签-Tag】修复非图标tag与图标tag不对齐问题
6
+
1
7
  ## 版本: 4.0.1
2
8
  para-ui/core@4.0.1 发布
3
9
  【浮层-Popover,PopConfirm,Dropdown】修复浮层隐藏出现边框
package/Status/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
4
4
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
5
- import SuccessOutlined from '@para-ui/icons/CheckCircleF';
5
+ import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
6
  import { t as tinycolor } from '../_verture/tinycolor-ece3542d.js';
7
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
8
 
@@ -28,7 +28,7 @@ const Status = props => {
28
28
  if (typeof icon === 'string') {
29
29
  switch (icon) {
30
30
  case 'success':
31
- return jsx(SuccessOutlined, {
31
+ return jsx(CheckCircleF, {
32
32
  className: "status-icon-".concat(icon)
33
33
  });
34
34
  case 'error':
package/Table/index.js CHANGED
@@ -796,7 +796,7 @@ const TableHead$1 = props => {
796
796
  }, {
797
797
  children: jsx(Popover, Object.assign({
798
798
  placement: "bottom-start",
799
- visible: filterHead.name === headCell.name,
799
+ visible: headCell.name !== undefined && filterHead.name === headCell.name,
800
800
  content: filterPopoverContent(),
801
801
  onVisibleChange: clickHideFilter,
802
802
  overlayClassName: str,
package/Tag/index.js CHANGED
@@ -15,7 +15,7 @@ import 'rc-tooltip/lib/placements';
15
15
  import '@para-ui/icons/Forbid';
16
16
  import '@paraview/lib';
17
17
 
18
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上午9:43\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tag-outline.paraui-v4-tag {\n border: 0.5px solid rgb(92, 101, 115);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-blue {\n border: 0.5px solid rgb(46, 101, 230);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-green {\n border: 0.5px solid rgb(19, 191, 76);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-yellow {\n border: 0.5px solid rgb(255, 147, 38);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-red {\n border: 0.5px solid rgb(244, 66, 66);\n}\n\n.paraui-v4-tag-edit-input {\n height: 24px;\n align-self: flex-start;\n margin: 0 8px 8px 0;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n\n.paraui-v4-tag {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n max-width: 100%;\n height: 24px;\n margin: 0 8px 8px 0;\n padding: 0 10px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n white-space: nowrap;\n background: rgb(234, 236, 241);\n border-radius: 2px;\n line-height: 18px;\n}\n.paraui-v4-tag .tag-custom-icon:hover {\n background: none !important;\n cursor: default;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-tag .tag-edit-icon {\n display: flex;\n}\n.paraui-v4-tag.paraui-v4-tag-small {\n height: 20px;\n font-size: 12px;\n padding: 0 6px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg {\n font-size: 12px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg + .paraui-v4-auto-tips {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-close-icon {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-edit-icon {\n font-size: 12px;\n}\n.paraui-v4-tag > svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-tag .tag-edit-icon {\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-edit-icon > svg {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tag .tag-close-icon {\n margin-left: 4px;\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n color: inherit;\n}\n.paraui-v4-tag > svg + .paraui-v4-auto-tips {\n margin-left: 4px;\n}\n.paraui-v4-tag.paraui-v4-tag-has-color, .paraui-v4-tag.paraui-v4-tag-has-color svg, .paraui-v4-tag.paraui-v4-tag-has-color svg:hover {\n color: inherit;\n}\n.paraui-v4-tag.paraui-v4-tag-blue {\n color: rgb(46, 101, 230);\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-green {\n color: rgb(19, 191, 76);\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-yellow {\n color: rgb(255, 147, 38);\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-red {\n color: rgb(244, 66, 66);\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-hidden {\n display: none;\n}\n\n.paraui-v4-tag-small svg {\n font-size: 12px;\n}\n\n.paraui-v4-tag-group {\n display: flex;\n align-items: center;\n flex-flow: row wrap;\n}\n.paraui-v4-tag-group .tag-group-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n.paraui-v4-tag-group .tag-group-input .tag-group-input-large {\n height: 28px;\n}\n.paraui-v4-tag-group .tag-group-new .tag-group-new-icon {\n padding: 0 5px;\n}\n.paraui-v4-tag-group .tag-group-add-btn {\n border: 1px dashed rgb(212, 218, 227);\n}\n.paraui-v4-tag-group .tag-group-add-btn .tag-edit-icon {\n background: none !important;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover {\n cursor: pointer;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover .tag-text {\n color: rgb(46, 101, 230);\n}";
18
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上午9:43\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tag-outline.paraui-v4-tag {\n border: 0.5px solid rgb(92, 101, 115);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-blue {\n border: 0.5px solid rgb(46, 101, 230);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-green {\n border: 0.5px solid rgb(19, 191, 76);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-yellow {\n border: 0.5px solid rgb(255, 147, 38);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-red {\n border: 0.5px solid rgb(244, 66, 66);\n}\n\n.paraui-v4-tag-edit-input {\n height: 24px;\n align-self: flex-start;\n margin: 0 8px 8px 0;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n\n.paraui-v4-tag {\n vertical-align: bottom;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n max-width: 100%;\n height: 24px;\n margin: 0 8px 8px 0;\n padding: 0 10px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n white-space: nowrap;\n background: rgb(234, 236, 241);\n border-radius: 2px;\n line-height: 18px;\n}\n.paraui-v4-tag .tag-custom-icon:hover {\n background: none !important;\n cursor: default;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-tag .tag-edit-icon {\n display: flex;\n}\n.paraui-v4-tag.paraui-v4-tag-small {\n height: 20px;\n font-size: 12px;\n padding: 0 6px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg {\n font-size: 12px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg + .paraui-v4-auto-tips {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-close-icon {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-edit-icon {\n font-size: 12px;\n}\n.paraui-v4-tag > svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-tag .tag-edit-icon {\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-edit-icon > svg {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tag .tag-close-icon {\n margin-left: 4px;\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n color: inherit;\n}\n.paraui-v4-tag > svg + .paraui-v4-auto-tips {\n margin-left: 4px;\n}\n.paraui-v4-tag.paraui-v4-tag-has-color, .paraui-v4-tag.paraui-v4-tag-has-color svg, .paraui-v4-tag.paraui-v4-tag-has-color svg:hover {\n color: inherit;\n}\n.paraui-v4-tag.paraui-v4-tag-blue {\n color: rgb(46, 101, 230);\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-green {\n color: rgb(19, 191, 76);\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-yellow {\n color: rgb(255, 147, 38);\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-red {\n color: rgb(244, 66, 66);\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-hidden {\n display: none;\n}\n\n.paraui-v4-tag-small svg {\n font-size: 12px;\n}\n\n.paraui-v4-tag-group {\n display: flex;\n align-items: center;\n flex-flow: row wrap;\n}\n.paraui-v4-tag-group .tag-group-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n.paraui-v4-tag-group .tag-group-input .tag-group-input-large {\n height: 28px;\n}\n.paraui-v4-tag-group .tag-group-new .tag-group-new-icon {\n padding: 0 5px;\n}\n.paraui-v4-tag-group .tag-group-add-btn {\n border: 1px dashed rgb(212, 218, 227);\n}\n.paraui-v4-tag-group .tag-group-add-btn .tag-edit-icon {\n background: none !important;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover {\n cursor: pointer;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover .tag-text {\n color: rgb(46, 101, 230);\n}";
19
19
  styleInject(css_248z);
20
20
 
21
21
  //tag group
package/index.d.ts CHANGED
@@ -94,6 +94,8 @@ export { default as Popover } from './Popover';
94
94
  export * from './Popover';
95
95
  export { default as Progress } from './Progress';
96
96
  export * from './Progress';
97
+ export { default as Prompt } from './Prompt';
98
+ export * from './Prompt';
97
99
  export { default as Querying } from './Querying';
98
100
  export * from './Querying';
99
101
  export { default as QuickReply } from './QuickReply';
package/index.js CHANGED
@@ -24,8 +24,8 @@ export { D as Dropdown } from './_verture/index-389675ab.js';
24
24
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
25
25
  export { default as Empty } from './Empty/index.js';
26
26
  export { default as Form } from './Form/index.js';
27
- export { F as FormItem } from './_verture/index-00dc302a.js';
28
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-ea977824.js';
27
+ export { F as FormItem } from './_verture/index-80e8eb3f.js';
28
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-8982647f.js';
29
29
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
30
30
  export { default as Help } from './Help/index.js';
31
31
  export { default as HelperText } from './HelperText/index.js';
@@ -46,6 +46,7 @@ export { default as PasswordRules } from './PasswordRules/index.js';
46
46
  export { PopConfirm } from './PopConfirm/index.js';
47
47
  export { Popover } from './Popover/index.js';
48
48
  export { Progress } from './Progress/index.js';
49
+ export { Prompt } from './Prompt/index.js';
49
50
  export { default as Querying } from './Querying/index.js';
50
51
  export { QuickReply, QuickReplyCode } from './QuickReply/index.js';
51
52
  export { Radio } from './Radio/index.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",