@zgfe/business-lib 1.1.74 → 1.1.75

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.
@@ -7,7 +7,6 @@
7
7
  align-items: center;
8
8
  width: fit-content;
9
9
  min-width: 208px;
10
- max-width: calc(100% - 56px);
11
10
  .__select-handle();
12
11
  &.error {
13
12
  border-color: @error-color;
@@ -31,6 +30,9 @@
31
30
  line-height: 30px;
32
31
  }
33
32
  }
33
+ .biz-select-handle-content-label {
34
+ max-width: 450px;
35
+ }
34
36
  }
35
37
 
36
38
  &-drowdown {
@@ -141,11 +141,13 @@ var SelectHandle = /*#__PURE__*/React.forwardRef(function (props, ref) {
141
141
  title: props.label || props.value && props.value[labelField]
142
142
  }, /*#__PURE__*/React.createElement("span", {
143
143
  className: "".concat(classPrefix, "-content")
144
+ }, /*#__PURE__*/React.createElement("span", {
145
+ className: "".concat(classPrefix, "-content-label")
144
146
  }, showSelectIcon && ((_props$value = props.value) === null || _props$value === void 0 ? void 0 : _props$value.icon) && /*#__PURE__*/React.createElement("span", {
145
147
  className: "".concat(classPrefix, "-icon")
146
148
  }, props.value.icon), props.children || props.label || props.value && props.value[labelField] || /*#__PURE__*/React.createElement("span", {
147
149
  className: "".concat(classPrefix, "-holder")
148
- }, placeholder || '请选择')), /*#__PURE__*/React.createElement(IconFont, {
150
+ }, placeholder || '请选择'))), /*#__PURE__*/React.createElement(IconFont, {
149
151
  className: "".concat(classPrefix, "-expand-icon"),
150
152
  type: 'xiangxia'
151
153
  }));
@@ -121,7 +121,9 @@
121
121
  display: flex;
122
122
  flex: 1;
123
123
  align-items: center;
124
- .__default-overflow();
124
+ &-label {
125
+ .__default-overflow();
126
+ }
125
127
  }
126
128
  &-expand-icon {
127
129
  width: 14px;
@@ -6,7 +6,6 @@
6
6
  align-items: center;
7
7
  width: fit-content;
8
8
  min-width: 208px;
9
- max-width: calc(100% - 56px);
10
9
  .__select-handle();
11
10
  .biz-select-handle {
12
11
  flex: 1;
@@ -24,6 +23,9 @@
24
23
  box-shadow: none;
25
24
  }
26
25
  }
26
+ .biz-select-handle-content-label {
27
+ max-width: 450px;
28
+ }
27
29
  }
28
30
 
29
31
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.74",
3
+ "version": "1.1.75",
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": "03f3b5d09472eae8588b405314667fc5e3c4a6cd"
61
+ "gitHead": "af701318a51361351280834a64e3ef7c2653dff3"
62
62
  }