@difizen/libro-lab 0.2.25 → 0.2.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.
package/es/common/icon.js CHANGED
@@ -98,7 +98,7 @@ export function Loadding(props) {
98
98
  children: /*#__PURE__*/_jsx("g", {
99
99
  id: "1.1\u5BB9\u5668\u52A0\u8F7D\u4E2D-\u5173\u95ED\u63D0\u793A",
100
100
  transform: "translate(-1362.000000, -879.000000)",
101
- fill: "currentColor",
101
+ fill: "#1890FF",
102
102
  children: /*#__PURE__*/_jsx("g", {
103
103
  id: "\u7F16\u7EC4-20",
104
104
  transform: "translate(0.000000, 872.000000)",
@@ -54,7 +54,7 @@ export var ImageViewerOpenHandler = (_dec = singleton({
54
54
  function canHandle(uri, _options) {
55
55
  if (uri.scheme === 'file') {
56
56
  var ext = uri.path.ext;
57
- if (imageExtToTypes.has(ext)) {
57
+ if (imageExtToTypes.has(ext.toLowerCase())) {
58
58
  return 100;
59
59
  }
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-lab",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,15 +34,15 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-core": "^0.2.25",
38
- "@difizen/libro-jupyter": "^0.2.25",
39
- "@difizen/libro-kernel": "^0.2.25",
40
- "@difizen/libro-prompt-cell": "^0.2.25",
41
- "@difizen/libro-terminal": "^0.2.25",
42
- "@difizen/libro-toc": "^0.2.25",
43
- "@difizen/libro-cofine-editor-core": "^0.2.25",
44
- "@difizen/libro-language-client": "^0.2.25",
45
- "@difizen/libro-widget": "^0.2.25",
37
+ "@difizen/libro-core": "^0.2.27",
38
+ "@difizen/libro-jupyter": "^0.2.27",
39
+ "@difizen/libro-kernel": "^0.2.27",
40
+ "@difizen/libro-prompt-cell": "^0.2.27",
41
+ "@difizen/libro-terminal": "^0.2.27",
42
+ "@difizen/libro-toc": "^0.2.27",
43
+ "@difizen/libro-cofine-editor-core": "^0.2.27",
44
+ "@difizen/libro-language-client": "^0.2.27",
45
+ "@difizen/libro-widget": "^0.2.27",
46
46
  "@difizen/mana-app": "latest",
47
47
  "@difizen/mana-common": "latest",
48
48
  "@difizen/mana-react": "latest",
@@ -95,7 +95,7 @@ export function Loadding(props: IProps) {
95
95
  <g
96
96
  id="1.1容器加载中-关闭提示"
97
97
  transform="translate(-1362.000000, -879.000000)"
98
- fill="currentColor"
98
+ fill="#1890FF"
99
99
  >
100
100
  <g id="编组-20" transform="translate(0.000000, 872.000000)">
101
101
  <g id="编组-3" transform="translate(1302.000000, 5.000000)">
@@ -22,7 +22,7 @@ export class ImageViewerOpenHandler extends NavigatableViewOpenHandler<Navigatab
22
22
  canHandle(uri: URI, _options?: ViewOpenHandlerOptions) {
23
23
  if (uri.scheme === 'file') {
24
24
  const ext = uri.path.ext;
25
- if (imageExtToTypes.has(ext)) {
25
+ if (imageExtToTypes.has(ext.toLowerCase())) {
26
26
  return 100;
27
27
  }
28
28
  }