x-star-design 0.0.27 → 0.0.29

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.
@@ -75,7 +75,7 @@ var CodeDetailModal = function CodeDetailModal(_ref) {
75
75
  key: 'download',
76
76
  align: 'center',
77
77
  title: t('File'),
78
- dataIndex: 'link',
78
+ dataIndex: 'source',
79
79
  width: 60,
80
80
  render: function render(v) {
81
81
  return /*#__PURE__*/React.createElement(Button, {
@@ -125,6 +125,10 @@ var CodeDetailModal = function CodeDetailModal(_ref) {
125
125
  icon: /*#__PURE__*/React.createElement(DownloadOutlined, null),
126
126
  href: codeData === null || codeData === void 0 ? void 0 : codeData.source
127
127
  }, t('Download_File')) : /*#__PURE__*/React.createElement(CodeMirrorWrapper, {
128
+ style: {
129
+ height: '50vh',
130
+ minHeight: 200
131
+ },
128
132
  lang: codeData === null || codeData === void 0 ? void 0 : codeData.language,
129
133
  theme: Theme.LIGHT,
130
134
  value: codeData === null || codeData === void 0 ? void 0 : codeData.source
@@ -47,7 +47,7 @@ var SingleDataConfig = function SingleDataConfig() {
47
47
  }), /*#__PURE__*/React.createElement(InputNumber, null))), /*#__PURE__*/React.createElement(MinusCircleOutlined, {
48
48
  className: "dynamic-delete-button",
49
49
  style: {
50
- lineHeight: 32,
50
+ lineHeight: '32px',
51
51
  height: 32
52
52
  },
53
53
  onClick: function onClick() {
@@ -51,7 +51,7 @@ var SubTaskConfig = function SubTaskConfig() {
51
51
  }), /*#__PURE__*/React.createElement(Input, null))), /*#__PURE__*/React.createElement(MinusCircleOutlined, {
52
52
  className: "dynamic-delete-button",
53
53
  style: {
54
- lineHeight: 32,
54
+ lineHeight: '32px',
55
55
  height: 32
56
56
  },
57
57
  onClick: function onClick() {
@@ -87,7 +87,7 @@ var VisualDataConfig = function VisualDataConfig(_ref) {
87
87
  return _ref2.apply(this, arguments);
88
88
  };
89
89
  }(),
90
- className: "".concat(prefix, "form")
90
+ className: "".concat(prefix, "visualForm")
91
91
  }, /*#__PURE__*/React.createElement(Row, {
92
92
  justify: "start",
93
93
  gutter: [16, 0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-star-design",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "A react component library developed by turingstar",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",