@teamix/pro 1.5.10-release.1 → 1.5.10-release.10

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/es/card/index.js CHANGED
@@ -207,20 +207,20 @@ export var ProCard = function ProCard(props) {
207
207
  type: "down-fill"
208
208
  }), /*#__PURE__*/React.createElement("div", {
209
209
  className: cls('title-name')
210
- }, /*#__PURE__*/React.createElement(ProField, {
210
+ }, typeof title === 'string' ? /*#__PURE__*/React.createElement(ProField, {
211
211
  value: title,
212
212
  type: "text",
213
213
  render: {
214
214
  ellipsis: true
215
215
  }
216
- }))), !hasCollapse && /*#__PURE__*/React.createElement("div", {
216
+ }) : title)), !hasCollapse && /*#__PURE__*/React.createElement("div", {
217
217
  className: cls('title-name'),
218
218
  style: {
219
219
  maxWidth: "calc(100% - ".concat(headerWithoutTitleWidth, "px)")
220
220
  }
221
- }, /*#__PURE__*/React.createElement(Ellipsis, {
221
+ }, typeof title === 'string' ? /*#__PURE__*/React.createElement(Ellipsis, {
222
222
  tooltip: title
223
- }, title)), tooltip && /*#__PURE__*/React.createElement("div", {
223
+ }, title) : title), tooltip && /*#__PURE__*/React.createElement("div", {
224
224
  className: cls('title-tooltip')
225
225
  }, /*#__PURE__*/React.createElement(Balloon.Tooltip, {
226
226
  align: "t",
@@ -68,9 +68,15 @@
68
68
  &-name {
69
69
  flex-shrink: 0;
70
70
  }
71
+ &-name > .teamix-pro-field {
72
+ width: calc(100% - 24px);
73
+ }
71
74
 
72
75
  &-collapse {
73
76
  cursor: pointer;
77
+ .teamix-pro-card-title-name {
78
+ width: 100%;
79
+ }
74
80
 
75
81
  & > i {
76
82
  transition: transform 0.2s;
package/es/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.10-release.1";
31
+ declare const version = "1.5.10-release.10";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/es/index.js CHANGED
@@ -35,7 +35,7 @@ export * from './table';
35
35
  export * from './sidebar';
36
36
  export * from './utils';
37
37
  export * from './timeline';
38
- var version = '1.5.10-release.1';
38
+ var version = '1.5.10-release.10';
39
39
  // By TeamixTest
40
40
  window.postMessage({
41
41
  source: 'teamix-test-devtools',
package/lib/card/index.js CHANGED
@@ -231,20 +231,20 @@ var ProCard = function ProCard(props) {
231
231
  type: "down-fill"
232
232
  }), /*#__PURE__*/_react.default.createElement("div", {
233
233
  className: cls('title-name')
234
- }, /*#__PURE__*/_react.default.createElement(_proField.default, {
234
+ }, typeof title === 'string' ? /*#__PURE__*/_react.default.createElement(_proField.default, {
235
235
  value: title,
236
236
  type: "text",
237
237
  render: {
238
238
  ellipsis: true
239
239
  }
240
- }))), !hasCollapse && /*#__PURE__*/_react.default.createElement("div", {
240
+ }) : title)), !hasCollapse && /*#__PURE__*/_react.default.createElement("div", {
241
241
  className: cls('title-name'),
242
242
  style: {
243
243
  maxWidth: "calc(100% - ".concat(headerWithoutTitleWidth, "px)")
244
244
  }
245
- }, /*#__PURE__*/_react.default.createElement(_proField.Ellipsis, {
245
+ }, typeof title === 'string' ? /*#__PURE__*/_react.default.createElement(_proField.Ellipsis, {
246
246
  tooltip: title
247
- }, title)), tooltip && /*#__PURE__*/_react.default.createElement("div", {
247
+ }, title) : title), tooltip && /*#__PURE__*/_react.default.createElement("div", {
248
248
  className: cls('title-tooltip')
249
249
  }, /*#__PURE__*/_react.default.createElement(_components.Balloon.Tooltip, {
250
250
  align: "t",
@@ -68,9 +68,15 @@
68
68
  &-name {
69
69
  flex-shrink: 0;
70
70
  }
71
+ &-name > .teamix-pro-field {
72
+ width: calc(100% - 24px);
73
+ }
71
74
 
72
75
  &-collapse {
73
76
  cursor: pointer;
77
+ .teamix-pro-card-title-name {
78
+ width: 100%;
79
+ }
74
80
 
75
81
  & > i {
76
82
  transition: transform 0.2s;
package/lib/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.10-release.1";
31
+ declare const version = "1.5.10-release.10";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/lib/index.js CHANGED
@@ -280,7 +280,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
280
280
  if (!((_window = window) === null || _window === void 0 ? void 0 : _window.TEAMIXPRO_WITHOUT_ICON)) {
281
281
  _icon.default.setConfig(_utils.default.getTeamixIconConfig());
282
282
  }
283
- var version = '1.5.10-release.1';
283
+ var version = '1.5.10-release.10';
284
284
  // By TeamixTest
285
285
  exports.version = version;
286
286
  window.postMessage({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamix/pro",
3
- "version": "1.5.10-release.1",
3
+ "version": "1.5.10-release.10",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",