@opensumi/ide-core-browser 2.20.2 → 2.20.3-next-1663831226.0
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,15 +10,18 @@ const BoxPanel = (_a) => {
|
|
|
10
10
|
var { className, children = [], direction = 'left-to-right' } = _a, restProps = tslib_1.__rest(_a, ["className", "children", "direction"]);
|
|
11
11
|
// convert children to list
|
|
12
12
|
const arrayChildren = react_1.default.Children.toArray(children);
|
|
13
|
-
return (react_1.default.createElement("div", Object.assign({}, restProps, { className: (0, classnames_1.default)(styles_module_less_1.default['box-panel'], className), style: { flexDirection: layout_1.Layout.getFlexDirection(direction), zIndex: restProps['z-index'] } }), arrayChildren.map((child, index) =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
return (react_1.default.createElement("div", Object.assign({}, restProps, { className: (0, classnames_1.default)(styles_module_less_1.default['box-panel'], className), style: { flexDirection: layout_1.Layout.getFlexDirection(direction), zIndex: restProps['z-index'] } }), arrayChildren.map((child, index) => {
|
|
14
|
+
var _a;
|
|
15
|
+
return (react_1.default.createElement("div", { key: index, className: (0, classnames_1.default)(styles_module_less_1.default.wrapper, (_a = child['props']) === null || _a === void 0 ? void 0 : _a.className), style: child['props']
|
|
16
|
+
? {
|
|
17
|
+
flex: child['props'].flex,
|
|
18
|
+
overflow: child['props'].overflow,
|
|
19
|
+
zIndex: child['props'].zIndex || child['props']['z-index'],
|
|
20
|
+
[layout_1.Layout.getMinSizeProperty(direction)]: child['props'].defaultSize,
|
|
21
|
+
backgroundColor: child['props'].backgroundColor,
|
|
22
|
+
}
|
|
23
|
+
: {} }, child));
|
|
24
|
+
})));
|
|
22
25
|
};
|
|
23
26
|
exports.BoxPanel = BoxPanel;
|
|
24
27
|
//# sourceMappingURL=box-panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box-panel.js","sourceRoot":"","sources":["../../../src/components/layout/box-panel.tsx"],"names":[],"mappings":";;;;AAAA,oEAA8B;AAC9B,0DAA0B;AAE1B,qCAAkC;AAClC,sFAA0C;AAWnC,MAAM,QAAQ,GAMhB,CAAC,EAAuE,EAAE,EAAE;QAA3E,EAAE,SAAS,EAAE,QAAQ,GAAG,EAAE,EAAE,SAAS,GAAG,eAAe,OAAgB,EAAX,SAAS,sBAArE,sCAAuE,CAAF;IACzE,2BAA2B;IAC3B,MAAM,aAAa,GAAG,eAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEvD,OAAO,CACL,uDACM,SAAS,IACb,SAAS,EAAE,IAAA,oBAAI,EAAC,4BAAM,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,EAC/C,KAAK,EAAE,EAAE,aAAa,EAAE,eAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,KAEzF,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"box-panel.js","sourceRoot":"","sources":["../../../src/components/layout/box-panel.tsx"],"names":[],"mappings":";;;;AAAA,oEAA8B;AAC9B,0DAA0B;AAE1B,qCAAkC;AAClC,sFAA0C;AAWnC,MAAM,QAAQ,GAMhB,CAAC,EAAuE,EAAE,EAAE;QAA3E,EAAE,SAAS,EAAE,QAAQ,GAAG,EAAE,EAAE,SAAS,GAAG,eAAe,OAAgB,EAAX,SAAS,sBAArE,sCAAuE,CAAF;IACzE,2BAA2B;IAC3B,MAAM,aAAa,GAAG,eAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEvD,OAAO,CACL,uDACM,SAAS,IACb,SAAS,EAAE,IAAA,oBAAI,EAAC,4BAAM,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,EAC/C,KAAK,EAAE,EAAE,aAAa,EAAE,eAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,KAEzF,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;;QAAC,OAAA,CACnC,uCACE,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,IAAA,oBAAI,EAAC,4BAAM,CAAC,OAAO,EAAE,MAAA,KAAK,CAAC,OAAO,CAAC,0CAAE,SAAS,CAAC,EAC1D,KAAK,EACH,KAAK,CAAC,OAAO,CAAC;gBACZ,CAAC,CAAC;oBACE,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI;oBACzB,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ;oBACjC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC;oBAC1D,CAAC,eAAM,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW;oBAClE,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,eAAe;iBAChD;gBACH,CAAC,CAAC,EAAE,IAGP,KAAK,CACF,CACP,CAAA;KAAA,CAAC,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,QAAQ,YAqCnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-core-browser",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.3-next-1663831226.0",
|
|
4
4
|
"description": "@opensumi/ide-core-browser",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"build": "tsc --build ../../configs/ts/references/tsconfig.core-browser.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-components": "2.20.
|
|
21
|
-
"@opensumi/ide-connection": "2.20.
|
|
22
|
-
"@opensumi/ide-core-common": "2.20.
|
|
20
|
+
"@opensumi/ide-components": "2.20.3-next-1663831226.0",
|
|
21
|
+
"@opensumi/ide-connection": "2.20.3-next-1663831226.0",
|
|
22
|
+
"@opensumi/ide-core-common": "2.20.3-next-1663831226.0",
|
|
23
23
|
"@opensumi/vscode-debugprotocol": "1.49.0-beta.1",
|
|
24
24
|
"@vscode/codicons": "0.0.27",
|
|
25
25
|
"ajv": "^6.10.0",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"vscode-languageserver-protocol": "3.16.0",
|
|
48
48
|
"vscode-textmate": "7.0.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "99f3a569670ebee1a388efc8724710e692d48417"
|
|
51
51
|
}
|