x-star-design 0.0.26 → 0.0.27

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.
@@ -10,5 +10,4 @@ export interface CodeDetail {
10
10
  score: number;
11
11
  memory: number;
12
12
  submissionTime: number;
13
- link?: string;
14
13
  }
@@ -123,7 +123,7 @@ var CodeDetailModal = function CodeDetailModal(_ref) {
123
123
  }), showCode ? (codeData === null || codeData === void 0 ? void 0 : codeData.language) === 'plain' ? /*#__PURE__*/React.createElement(Button, {
124
124
  type: "link",
125
125
  icon: /*#__PURE__*/React.createElement(DownloadOutlined, null),
126
- href: codeData === null || codeData === void 0 ? void 0 : codeData.link
126
+ href: codeData === null || codeData === void 0 ? void 0 : codeData.source
127
127
  }, t('Download_File')) : /*#__PURE__*/React.createElement(CodeMirrorWrapper, {
128
128
  lang: codeData === null || codeData === void 0 ? void 0 : codeData.language,
129
129
  theme: Theme.LIGHT,
@@ -382,16 +382,16 @@
382
382
  font-style: normal;
383
383
  }
384
384
 
385
- .x-star-design-form {
385
+ .x-star-design-visualForm {
386
386
  width: 90%;
387
387
  }
388
- .x-star-design-form .x-star-design-row {
388
+ .x-star-design-visualForm .x-star-design-row {
389
389
  width: 100%;
390
390
  }
391
- .x-star-design-form .x-star-design-row .x-star-design-explainItem {
391
+ .x-star-design-visualForm .x-star-design-row .x-star-design-explainItem {
392
392
  margin: -20px 0 16px;
393
393
  }
394
- .x-star-design-form .x-star-design-row .x-star-design-form-item-extra {
394
+ .x-star-design-visualForm .x-star-design-row .x-star-design-form-item-extra {
395
395
  clear: both;
396
396
  color: rgba(0, 0, 0, 0.4509803922);
397
397
  font-size: 14px;
@@ -399,7 +399,7 @@
399
399
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
400
400
  min-height: 24px;
401
401
  }
402
- .x-star-design-form .x-star-design-formList {
402
+ .x-star-design-visualForm .x-star-design-formList {
403
403
  width: 100%;
404
404
  }
405
405
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-star-design",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "A react component library developed by turingstar",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",