@para-ui/core 4.0.71 → 4.0.73

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.
@@ -433,12 +433,15 @@ function generateRangePicker(generateConfig) {
433
433
  };
434
434
  //open change
435
435
  var handleOpenChange = function handleOpenChange(open) {
436
- var _a;
436
+ var _a, _b;
437
437
  (_a = restProps.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(restProps, open);
438
438
  if (isolationPopupOnHide) {
439
439
  //关闭时隔离dom污染
440
440
  isolationPopupPollution(open, uuidRef);
441
441
  }
442
+ if (!open) {
443
+ (_b = innerRef.current) === null || _b === void 0 ? void 0 : _b.blur();
444
+ }
442
445
  };
443
446
  var renderPicker = function renderPicker() {
444
447
  var component = jsxs("div", Object.assign({
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 🎉 para-ui/core@4.0.73 发布
2
+
3
+ 🔧【Bugfix】
4
+
5
+ - 【上传-Upload】上传文件名称较长时无截断省略号问题修复
6
+
7
+ ## 🎉 para-ui/core@4.0.72 发布
8
+
9
+ 🔧【Bugfix】
10
+
11
+ - 【时间选择器-RangePicker】修复选中后再次展开错位,hover 后恢复原位置
12
+
1
13
  ## 🎉 para-ui/core@4.0.71 发布
2
14
 
3
15
  🔧【Feature】
@@ -23,7 +23,7 @@ import '../_verture/index-ca413216.js';
23
23
  * @date 2022/09/06 18:00
24
24
  * @description 存放富文本编辑器的一些默认配置
25
25
  */
26
- const TOOL_BAR_CONFIG = ['headerSelect', 'blockquote', '|', 'bold', 'underline', 'italic', {
26
+ var TOOL_BAR_CONFIG = ['headerSelect', 'blockquote', '|', 'bold', 'underline', 'italic', {
27
27
  key: 'group-more-style',
28
28
  title: '更多',
29
29
  iconSvg: '<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',
@@ -59,8 +59,8 @@ var zh = {
59
59
  };
60
60
 
61
61
  var localeJson = {
62
- zh,
63
- en
62
+ zh: zh,
63
+ en: en
64
64
  };
65
65
 
66
66
  var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-text-editor.is-error .text-editor-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-text-editor .w-e-max-length-info {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-text-editor .w-e-bar-item > button:hover {\n background: rgb(247, 248, 250);\n border-radius: 2px;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item {\n padding-left: 0;\n padding-right: 0;\n display: flex;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item > button {\n flex: 1;\n display: flex;\n justify-content: flex-start;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item > button:hover {\n background: rgb(247, 248, 250);\n border-radius: 2px;\n}\n.paraui-v4-text-editor .w-e-full-screen-container {\n z-index: 1000;\n}\n.paraui-v4-text-editor .text-editor-content {\n border: 1px solid rgb(212, 218, 227);\n border-radius: 4px;\n padding: 1px 0;\n background-color: #fff;\n}\n.paraui-v4-text-editor .text-editor-content > div:nth-child(1) {\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-text-editor .text-editor-content div[contenteditable=false] {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-text-editor .text-editor-content div[contenteditable=false]:hover {\n cursor: not-allowed;\n}\n.paraui-v4-text-editor .preview-mode > div:nth-child(1) {\n border-bottom: none;\n}";
package/Upload/index.js CHANGED
@@ -410,7 +410,7 @@ var UploadList = function UploadList(props) {
410
410
  }
411
411
  }, {
412
412
  children: file.name
413
- }), "view") : jsx("div", Object.assign({
413
+ }), "view") : jsx("span", Object.assign({
414
414
  className: listItemNameClass,
415
415
  onClick: function onClick(e) {
416
416
  return onPreview === null || onPreview === void 0 ? void 0 : onPreview(file, e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.71",
4
+ "version": "4.0.73",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",