@zgfe/business-lib 1.0.23-alpha.1 → 1.0.23

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.
@@ -24,14 +24,13 @@ var IconFont = function IconFont(props) {
24
24
  return /*#__PURE__*/React.createElement("span", _objectSpread({
25
25
  className: iconClassName,
26
26
  style: {
27
- fontSize: "".concat(props.size, "px")
27
+ fontSize: props.size ? "".concat(props.size, "px") : 'inherit'
28
28
  }
29
29
  }, rest));
30
30
  };
31
31
 
32
32
  IconFont.defaultProps = {
33
33
  className: '',
34
- family: 'bsicon',
35
- size: 16
34
+ family: 'bsicon'
36
35
  };
37
36
  export default IconFont;
@@ -105,7 +105,7 @@ var SelectHandle = /*#__PURE__*/React.forwardRef(function (props, ref) {
105
105
 
106
106
  return /*#__PURE__*/React.createElement("div", {
107
107
  ref: handleRef,
108
- className: "".concat(classPrefix, "-input ").concat(classPrefix, "-single-input ").concat(props.theme ? props.theme : '', "\n ").concat(props.disable ? 'disable' : '', " ").concat(focus ? 'active' : '', " \n ").concat(border ? '' : 'borderless', " ").concat(props.size ? props.size : ''),
108
+ className: "".concat(classPrefix, "-input ").concat(classPrefix, "-single-input ").concat(props.theme ? props.theme : '', "\n ").concat(props.disable ? 'disable' : '', " ").concat(focus ? 'active' : '', " \n ").concat(border ? '' : 'borderless', " ").concat(props.size ? props.size : 'middle'),
109
109
  title: props.label || props.value && props.value[labelField]
110
110
  }, props.label || props.value && props.value[labelField] || /*#__PURE__*/React.createElement("span", {
111
111
  className: "".concat(classPrefix, "-holder")
@@ -112,7 +112,8 @@ export default (function () {
112
112
  }
113
113
  }
114
114
  }, /*#__PURE__*/React.createElement(BizEventSelector, {
115
- showAllEvent: showOverview
115
+ showAllEvent: showOverview,
116
+ border: false
116
117
  })));
117
118
  }), fields.length < 5 && /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
118
119
  className: "biz-add-btn ".concat(enableAdd ? '' : 'disabled'),
@@ -58,6 +58,7 @@ export default (function () {
58
58
  onChange: onChange,
59
59
  max: 3
60
60
  }, /*#__PURE__*/React.createElement(BizEventSelector, {
61
- showAllEvent: true
61
+ showAllEvent: true,
62
+ border: false
62
63
  }))), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("p", null, "\u5F53\u524D\u503C\uFF1A", JSON.stringify(target)));
63
64
  });
@@ -26,11 +26,11 @@
26
26
  }
27
27
 
28
28
  &-option-icon {
29
- display: none;
29
+ // display: none;
30
30
  flex: none;
31
31
  width: @icon-width;
32
32
  color: @text-color-secondary;
33
- line-height: 2em;
33
+ line-height: @height-base;
34
34
  text-align: center;
35
35
  border-radius: @border-radius-small;
36
36
 
@@ -123,7 +123,7 @@ var Text = function Text(props) {
123
123
  }
124
124
  }, period, /*#__PURE__*/React.createElement("span", {
125
125
  className: "".concat(classPrefix, "-text-desc-value")
126
- }, event.name), attrs, runtimes);
126
+ }, event.alias || event.name), attrs, runtimes);
127
127
  }
128
128
 
129
129
  function renderAttrs(event, attrs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.23-alpha.1",
3
+ "version": "1.0.23",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "70f1208c676545bc2b07571dd3ea1cb4a3e45867"
61
+ "gitHead": "dad1fb1f8ea56b75db14f01e471a64ac50538831"
62
62
  }