x-star-design 0.0.56 → 0.0.58
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.
|
@@ -103,10 +103,11 @@ var CodeDetailModal = function CodeDetailModal(_ref) {
|
|
|
103
103
|
title: t('Submission_Time'),
|
|
104
104
|
dataIndex: 'submissionTime',
|
|
105
105
|
render: function render(v) {
|
|
106
|
-
return v ?
|
|
106
|
+
return v ? formatDate(v * 1000, {
|
|
107
107
|
lang: lang,
|
|
108
|
-
separator: '-'
|
|
109
|
-
|
|
108
|
+
separator: '-',
|
|
109
|
+
showSecond: true
|
|
110
|
+
}) : '-';
|
|
110
111
|
}
|
|
111
112
|
}];
|
|
112
113
|
return /*#__PURE__*/React.createElement(ConfigProviderWrapper, null, /*#__PURE__*/React.createElement(Modal, _extends({
|
package/dist/styles/index.css
CHANGED
|
@@ -400,20 +400,16 @@
|
|
|
400
400
|
}
|
|
401
401
|
@keyframes dot {
|
|
402
402
|
/* 动态改变显示宽度,但始终让总占据空间不变,避免抖动 */
|
|
403
|
-
0% {
|
|
404
|
-
width: 0;
|
|
405
|
-
margin-right: 1.5em;
|
|
406
|
-
}
|
|
407
403
|
33% {
|
|
408
|
-
width: 0.
|
|
409
|
-
margin-right:
|
|
404
|
+
width: 0.6em;
|
|
405
|
+
margin-right: 1.2em;
|
|
410
406
|
}
|
|
411
407
|
66% {
|
|
412
|
-
width:
|
|
413
|
-
margin-right: 0.
|
|
408
|
+
width: 1.2em;
|
|
409
|
+
margin-right: 0.6em;
|
|
414
410
|
}
|
|
415
411
|
100% {
|
|
416
|
-
width: 1.
|
|
412
|
+
width: 1.8em;
|
|
417
413
|
margin-right: 0;
|
|
418
414
|
}
|
|
419
415
|
}
|
|
@@ -253,7 +253,11 @@ var VirtualTable = function VirtualTable(props) {
|
|
|
253
253
|
var width = _ref6.width;
|
|
254
254
|
return setTableWidth(width);
|
|
255
255
|
}
|
|
256
|
-
}, /*#__PURE__*/React.createElement("div",
|
|
256
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
257
|
+
style: {
|
|
258
|
+
width: '100%'
|
|
259
|
+
}
|
|
260
|
+
}, /*#__PURE__*/React.createElement(Table, _extends({}, props, {
|
|
257
261
|
className: classNames("".concat(prefix, "-virtual-table"), props.className),
|
|
258
262
|
pagination: false,
|
|
259
263
|
components: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-star-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.58",
|
|
4
4
|
"description": "A react component library developed by turingstar",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react-error-boundary": "^4.0.13",
|
|
64
64
|
"react-sortable-hoc": "^2.0.0",
|
|
65
65
|
"react-window": "^1.8.9",
|
|
66
|
-
"x-star-utils": "^0.0.
|
|
66
|
+
"x-star-utils": "^0.0.13"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@ant-design/icons": "^5.3.6",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"@types/react-dom": "^18.0.0",
|
|
84
84
|
"@types/react-window": "^1.8.5",
|
|
85
85
|
"@umijs/lint": "^4.0.0",
|
|
86
|
-
"antd": "^5.16.
|
|
86
|
+
"antd": "^5.16.5",
|
|
87
87
|
"babel-plugin-inline-import-data-uri": "^1.0.1",
|
|
88
|
-
"dayjs": "^1.11.
|
|
88
|
+
"dayjs": "^1.11.11",
|
|
89
89
|
"dumi": "^2.2.0",
|
|
90
90
|
"eslint": "^8.23.0",
|
|
91
91
|
"father": "^4.1.0",
|