@canyonjs/report-component 1.0.16 → 1.0.18

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/dist/index.css CHANGED
@@ -152,11 +152,14 @@
152
152
  border-bottom: 1px solid #e0e0e0;
153
153
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
154
154
  z-index: 1000;
155
- transition: max-height 0.3s ease, opacity 0.3s ease;
155
+ transition:
156
+ max-height 0.3s ease,
157
+ opacity 0.3s ease;
156
158
  opacity: 0;
157
159
  }
158
160
 
159
- .canyonjs-report-html .canyon-changed-code-coverage-content[style*="max-height: auto"] {
161
+ .canyonjs-report-html
162
+ .canyon-changed-code-coverage-content[style*="max-height: auto"] {
160
163
  opacity: 1;
161
164
  }
162
165
 
@@ -170,16 +173,21 @@
170
173
  }
171
174
 
172
175
  /* 下拉选项样式优化 */
173
- .canyonjs-report-html .canyon-changed-code-coverage-select-wrapper .ant-select-item {
176
+ .canyonjs-report-html .canyon-changed-code-coverage-select-wrapper
177
+ .ant-select-item {
174
178
  padding: 6px 12px !important;
175
179
  line-height: 20px !important;
176
180
  }
177
181
 
178
- .canyonjs-report-html .canyon-changed-code-coverage-select-wrapper .ant-select-item-option-active {
182
+ .canyonjs-report-html
183
+ .canyon-changed-code-coverage-select-wrapper
184
+ .ant-select-item-option-active {
179
185
  background-color: #f5f5f5;
180
186
  }
181
187
 
182
- .canyonjs-report-html .canyon-changed-code-coverage-select-wrapper .ant-select-item-option-content {
188
+ .canyonjs-report-html
189
+ .canyon-changed-code-coverage-select-wrapper
190
+ .ant-select-item-option-content {
183
191
  display: flex;
184
192
  align-items: center;
185
193
  }
package/dist/index.js CHANGED
@@ -392,9 +392,10 @@ const ChangedCodeCoverageTable = ({ coverage, addLines, onJumpToRange }) => {
392
392
  coverageStats.coveredCount,
393
393
  "/",
394
394
  coverageStats.totalCount,
395
- ") - ",
395
+ ") -",
396
+ " ",
396
397
  coverageStats.notCoveredCount,
397
- " 未覆盖"
398
+ " Not Covered"
398
399
  ] }),
399
400
  /* @__PURE__ */ jsx("span", {
400
401
  className: "canyon-changed-code-coverage-arrow",
@@ -988,7 +989,6 @@ var SummaryList_default = SummaryList;
988
989
  //#endregion
989
990
  //#region src/widgets/SummaryTree.tsx
990
991
  function checkSuffix(str) {
991
- console.log(str);
992
992
  return true;
993
993
  }
994
994
  const SummaryTree = ({ dataSource, onSelect, style, onlyChange }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canyonjs/report-component",
3
3
  "type": "module",
4
- "version": "1.0.16",
4
+ "version": "1.0.18",
5
5
  "author": "Travis Zhang<https://github.com/travzhang>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,8 +32,8 @@
32
32
  "@vitejs/plugin-react": "^5.1.1",
33
33
  "istanbul-lib-coverage": "^3.2.2",
34
34
  "tsdown": "^0.17.0",
35
- "@typescript/native-preview": "7.0.0-dev.20260119.1",
36
- "vite": "8.0.0-beta.0",
35
+ "@typescript/native-preview": "7.0.0-dev.20260126.1",
36
+ "vite": "8.0.0-beta.10",
37
37
  "@monaco-editor/react": "4.7.0"
38
38
  },
39
39
  "dependencies": {