@difizen/libro-lab 0.2.26 → 0.2.28
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.d.ts +2 -1
- package/es/common/icon.d.ts.map +1 -1
- package/es/image-viewer/open-handler.js +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +1 -0
- package/package.json +10 -10
- package/src/common/icon.tsx +1 -1
- package/src/image-viewer/open-handler.ts +1 -1
- package/src/index.ts +1 -0
package/es/common/icon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.less';
|
|
2
|
-
|
|
2
|
+
interface IProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
width?: string;
|
|
5
5
|
height?: string;
|
|
@@ -17,4 +17,5 @@ export declare function fileUnderKernel(): import("react/jsx-runtime").JSX.Eleme
|
|
|
17
17
|
export declare function runningKernel(): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare function runningTerminal(): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export declare function existedLSP(): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
20
21
|
//# sourceMappingURL=icon.d.ts.map
|
package/es/common/icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/common/icon.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAEtB,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/common/icon.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAEtB,UAAU,MAAM;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,2CAiCjC;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,2CAmCpC;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,2CA8BrC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,2CA+EzC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,2CA0C3C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,2CA8CxC;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,2CAuCrC;AAED,wBAAgB,iBAAiB,4CA4ChC;AAED,wBAAgB,UAAU,4CAmDzB;AAED,wBAAgB,eAAe,4CAmD9B;AAED,wBAAgB,aAAa,4CAsD5B;AAED,wBAAgB,eAAe,4CAE9B;AAED,wBAAgB,UAAU,4CA0CzB"}
|
|
@@ -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/es/index.d.ts
CHANGED
package/es/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
package/es/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-lab",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
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.
|
|
38
|
-
"@difizen/libro-jupyter": "^0.2.
|
|
39
|
-
"@difizen/libro-kernel": "^0.2.
|
|
40
|
-
"@difizen/libro-prompt-cell": "^0.2.
|
|
41
|
-
"@difizen/libro-terminal": "^0.2.
|
|
42
|
-
"@difizen/libro-toc": "^0.2.
|
|
43
|
-
"@difizen/libro-cofine-editor-core": "^0.2.
|
|
44
|
-
"@difizen/libro-language-client": "^0.2.
|
|
45
|
-
"@difizen/libro-widget": "^0.2.
|
|
37
|
+
"@difizen/libro-core": "^0.2.28",
|
|
38
|
+
"@difizen/libro-jupyter": "^0.2.28",
|
|
39
|
+
"@difizen/libro-kernel": "^0.2.28",
|
|
40
|
+
"@difizen/libro-prompt-cell": "^0.2.28",
|
|
41
|
+
"@difizen/libro-terminal": "^0.2.28",
|
|
42
|
+
"@difizen/libro-toc": "^0.2.28",
|
|
43
|
+
"@difizen/libro-cofine-editor-core": "^0.2.28",
|
|
44
|
+
"@difizen/libro-language-client": "^0.2.28",
|
|
45
|
+
"@difizen/libro-widget": "^0.2.28",
|
|
46
46
|
"@difizen/mana-app": "latest",
|
|
47
47
|
"@difizen/mana-common": "latest",
|
|
48
48
|
"@difizen/mana-react": "latest",
|
package/src/common/icon.tsx
CHANGED
|
@@ -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
|
}
|
package/src/index.ts
CHANGED