@opensumi/ide-components 3.5.1-next-1733469232.0 → 3.6.1-next-1733711618.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.
package/dist/index.css CHANGED
@@ -321,13 +321,6 @@
321
321
  .wrapper .kticon-info-circle {
322
322
  color: var(--kt-modalInfoIcon-foreground);
323
323
  }
324
- .wrapper .kt-modal-close-x {
325
- margin: 50% 50% 0 0;
326
- width: 20px;
327
- height: 20px;
328
- line-height: 20px;
329
- color: var(--kt-notificationsCloseIcon-foreground);
330
- }
331
324
  .kt-dialog-content {
332
325
  display: flex;
333
326
  }
@@ -959,9 +952,9 @@
959
952
  border-radius: 0 0 2px 2px;
960
953
  }
961
954
  .kt-overlay .kt-modal-close-x {
962
- margin: 12px 22px 0 0;
963
- width: 20px;
964
- height: 20px;
955
+ margin: 8px 10px 0 0;
956
+ width: 16px;
957
+ height: 16px;
965
958
  line-height: 20px;
966
959
  color: var(--kt-notificationsCloseIcon-foreground);
967
960
  }
@@ -2864,9 +2857,9 @@
2864
2857
  border-radius: 0 0 2px 2px;
2865
2858
  }
2866
2859
  .kt-overlay .kt-modal-close-x {
2867
- margin: 12px 22px 0 0;
2868
- width: 20px;
2869
- height: 20px;
2860
+ margin: 8px 10px 0 0;
2861
+ width: 16px;
2862
+ height: 16px;
2870
2863
  line-height: 20px;
2871
2864
  color: var(--kt-notificationsCloseIcon-foreground);
2872
2865
  }
@@ -2886,13 +2879,6 @@
2886
2879
  .wrapper .kticon-info-circle {
2887
2880
  color: var(--kt-modalInfoIcon-foreground);
2888
2881
  }
2889
- .wrapper .kt-modal-close-x {
2890
- margin: 50% 50% 0 0;
2891
- width: 20px;
2892
- height: 20px;
2893
- line-height: 20px;
2894
- color: var(--kt-notificationsCloseIcon-foreground);
2895
- }
2896
2882
  .kt-dialog-content {
2897
2883
  display: flex;
2898
2884
  }
package/dist/index.js CHANGED
@@ -5242,7 +5242,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
5242
5242
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5243
5243
 
5244
5244
  "use strict";
5245
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Dialog = exports.DialogContent = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst react_1 = tslib_1.__importDefault(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_core_common_1 = __webpack_require__(/*! @opensumi/ide-core-common */ \"../core-common/lib/index.js\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nconst common_1 = __webpack_require__(/*! ../common */ \"./src/common.ts\");\nconst icon_1 = __webpack_require__(/*! ../icon */ \"./src/icon/index.ts\");\nconst overlay_1 = __webpack_require__(/*! ../overlay */ \"./src/overlay/index.tsx\");\n__webpack_require__(/*! ./styles.less */ \"./src/dialog/styles.less\");\nconst DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(button_1.Button, { onClick: onCancel, type: 'secondary' }, cancelText || (0, ide_core_common_1.localize)('ButtonCancel')),\n react_1.default.createElement(button_1.Button, { onClick: onOk }, okText || (0, ide_core_common_1.localize)('ButtonOK'))));\nconst DialogContent = ({ onClose, closable, type = 'confirm', messageType = common_1.MessageType.Info, icon, message, buttons, title, onOk, onCancel, okText, cancelText, }) => {\n const { getIcon: getContextIcon } = react_1.default.useContext(icon_1.IconContext);\n return (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content' },\n icon && (react_1.default.createElement(\"div\", { style: { color: icon.color }, className: (0, classnames_1.default)('kt-dialog-icon', (0, icon_1.getIcon)(icon.className) || getContextIcon(icon.className)) })),\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content_area' },\n react_1.default.createElement(\"p\", { className: 'kt-dialog-content_title' }, title),\n message && react_1.default.createElement(\"span\", { className: 'kt-dialog-message' }, message)),\n closable && type !== 'basic' && (react_1.default.createElement(\"button\", { className: (0, classnames_1.default)('kt-dialog-closex', (0, icon_1.getIcon)('close')), onClick: onClose }))),\n messageType !== common_1.MessageType.Empty && type !== 'basic' && (react_1.default.createElement(\"div\", { className: 'kt-dialog-buttonWrap' }, type === 'confirm' ? (buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })) : (react_1.default.createElement(button_1.Button, { onClick: onClose }, \"OK\"))))));\n};\nexports.DialogContent = DialogContent;\nconst Dialog = (_a) => {\n var { visible, onClose, closable, afterClose, messageType, icon, message, detail, buttons, type = 'confirm', title, onOk, onCancel, okText, cancelText, getContainer, keyboard } = _a, restProps = tslib_1.__rest(_a, [\"visible\", \"onClose\", \"closable\", \"afterClose\", \"messageType\", \"icon\", \"message\", \"detail\", \"buttons\", \"type\", \"title\", \"onOk\", \"onCancel\", \"okText\", \"cancelText\", \"getContainer\", \"keyboard\"]);\n return (react_1.default.createElement(overlay_1.Overlay, Object.assign({ visible: visible, onClose: onClose, title: type === 'basic' ? title : null, closable: type === 'basic', getContainer: getContainer, keyboard: keyboard, footer: type === 'basic'\n ? buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })\n : undefined, afterClose: afterClose }, restProps),\n react_1.default.createElement(exports.DialogContent, Object.assign({ title: message, message: detail, buttons: buttons, visible: visible, icon: icon }, restProps))));\n};\nexports.Dialog = Dialog;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/dialog/index.tsx?");
5245
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Dialog = exports.DialogContent = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst react_1 = tslib_1.__importDefault(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_core_common_1 = __webpack_require__(/*! @opensumi/ide-core-common */ \"../core-common/lib/index.js\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nconst common_1 = __webpack_require__(/*! ../common */ \"./src/common.ts\");\nconst icon_1 = __webpack_require__(/*! ../icon */ \"./src/icon/index.ts\");\nconst overlay_1 = __webpack_require__(/*! ../overlay */ \"./src/overlay/index.tsx\");\n__webpack_require__(/*! ./styles.less */ \"./src/dialog/styles.less\");\nconst DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(button_1.Button, { onClick: onCancel, type: 'secondary' }, cancelText || (0, ide_core_common_1.localize)('ButtonCancel')),\n react_1.default.createElement(button_1.Button, { onClick: onOk }, okText || (0, ide_core_common_1.localize)('ButtonOK'))));\nconst DialogContent = ({ onClose, closable, type = 'confirm', messageType = common_1.MessageType.Info, icon, message, buttons, title, onOk, onCancel, okText, cancelText, }) => {\n const { getIcon: getContextIcon } = react_1.default.useContext(icon_1.IconContext);\n return (react_1.default.createElement(react_1.default.Fragment, null,\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content' },\n icon && (react_1.default.createElement(\"div\", { style: { color: icon.color }, className: (0, classnames_1.default)('kt-dialog-icon', (0, icon_1.getIcon)(icon.className) || getContextIcon(icon.className)) })),\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content_area' },\n react_1.default.createElement(\"div\", { className: 'kt-dialog-content_title' }, title),\n message && react_1.default.createElement(\"span\", { className: 'kt-dialog-message' }, message)),\n closable && type !== 'basic' && (react_1.default.createElement(\"button\", { className: (0, classnames_1.default)('kt-dialog-closex', (0, icon_1.getIcon)('close')), onClick: onClose }))),\n messageType !== common_1.MessageType.Empty && type !== 'basic' && (react_1.default.createElement(\"div\", { className: 'kt-dialog-buttonWrap' }, type === 'confirm' ? (buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })) : (react_1.default.createElement(button_1.Button, { onClick: onClose }, \"OK\"))))));\n};\nexports.DialogContent = DialogContent;\nconst Dialog = (_a) => {\n var { visible, onClose, closable, afterClose, messageType, icon, message, detail, buttons, type = 'confirm', title, onOk, onCancel, okText, cancelText, getContainer, keyboard } = _a, restProps = tslib_1.__rest(_a, [\"visible\", \"onClose\", \"closable\", \"afterClose\", \"messageType\", \"icon\", \"message\", \"detail\", \"buttons\", \"type\", \"title\", \"onOk\", \"onCancel\", \"okText\", \"cancelText\", \"getContainer\", \"keyboard\"]);\n return (react_1.default.createElement(overlay_1.Overlay, Object.assign({ visible: visible, onClose: onClose, title: type === 'basic' ? title : null, closable: type === 'basic', getContainer: getContainer, keyboard: keyboard, footer: type === 'basic'\n ? buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })\n : undefined, afterClose: afterClose }, restProps),\n react_1.default.createElement(exports.DialogContent, Object.assign({ title: message, message: detail, buttons: buttons, visible: visible, icon: icon }, restProps))));\n};\nexports.Dialog = Dialog;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/dialog/index.tsx?");
5246
5246
 
5247
5247
  /***/ }),
5248
5248
 
@@ -6179,6 +6179,17 @@ eval("\n/* ---------------------------------------------------------------------
6179
6179
 
6180
6180
  /***/ }),
6181
6181
 
6182
+ /***/ "../core-common/lib/collections.js":
6183
+ /*!*****************************************!*\
6184
+ !*** ../core-common/lib/collections.js ***!
6185
+ \*****************************************/
6186
+ /***/ ((__unused_webpack_module, exports) => {
6187
+
6188
+ "use strict";
6189
+ eval("\n// *****************************************************************************\n// Copyright (C) 2023 STMicroelectronics and others.\n//\n// This program and the accompanying materials are made available under the\n// terms of the Eclipse Public License v. 2.0 which is available at\n// http://www.eclipse.org/legal/epl-2.0.\n//\n// This Source Code may also be made available under the following Secondary\n// Licenses when the conditions for such availability set forth in the Eclipse\n// Public License v. 2.0 are satisfied: GNU General Public License, version 2\n// with the GNU Classpath Exception which is available at\n// https://www.gnu.org/software/classpath/license.html.\n//\n// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0\n// *****************************************************************************\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.MultiKeyMap = void 0;\n/**\n * A convenience class for managing a \"map of maps\" of arbitrary depth\n */\nclass MultiKeyMap {\n constructor(keyLength) {\n this.keyLength = keyLength;\n this.rootMap = new Map();\n }\n static create(keyLength, data) {\n const result = new MultiKeyMap(keyLength);\n for (const entry of data) {\n result.set(entry[0], entry[1]);\n }\n return result;\n }\n set(key, value) {\n if (this.keyLength !== key.length) {\n throw new Error(`inappropriate key length: ${key.length}, should be ${this.keyLength}`);\n }\n let map = this.rootMap;\n for (let i = 0; i < this.keyLength - 1; i++) {\n let existing = map.get(key[i]);\n if (!existing) {\n existing = new Map();\n map.set(key[i], existing);\n }\n map = existing;\n }\n const oldValue = map.get(key[this.keyLength - 1]);\n map.set(key[this.keyLength - 1], value);\n return oldValue;\n }\n get(key) {\n if (this.keyLength !== key.length) {\n throw new Error(`inappropriate key length: ${key.length}, should be ${this.keyLength}`);\n }\n let map = this.rootMap;\n for (let i = 0; i < this.keyLength - 1; i++) {\n map = map.get(key[i]);\n if (!map) {\n return undefined;\n }\n }\n return map.get(key[this.keyLength - 1]);\n }\n /**\n * Checks whether the given key is present in the map\n * @param key the key to test. It can have a length < the key length\n * @returns whether the key exists\n */\n has(key) {\n if (this.keyLength < key.length) {\n throw new Error(`inappropriate key length: ${key.length}, should <= ${this.keyLength}`);\n }\n let map = this.rootMap;\n for (let i = 0; i < key.length - 1; i++) {\n map = map.get(key[i]);\n if (!map) {\n return false;\n }\n }\n return map.has(key[key.length - 1]);\n }\n /**\n * Deletes the value with the given key from the map\n * @param key the key to remove. It can have a length < the key length\n * @returns whether the key was present in the map\n */\n delete(key) {\n if (this.keyLength < key.length) {\n throw new Error(`inappropriate key length: ${key.length}, should <= ${this.keyLength}`);\n }\n let map = this.rootMap;\n for (let i = 0; i < this.keyLength - 1; i++) {\n map = map.get(key[i]);\n if (!map) {\n return false;\n }\n }\n return map.delete(key[key.length - 1]);\n }\n /**\n * Iterates over all entries in the map. The ordering semantics are like iterating over a map of maps.\n * @param handler Handler for each entry\n */\n forEach(handler) {\n this.doForeach(handler, this.rootMap, []);\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n doForeach(handler, currentMap, keys) {\n if (keys.length === this.keyLength - 1) {\n currentMap.forEach((v, k) => {\n handler(v, [...keys, k]);\n });\n }\n else {\n currentMap.forEach((v, k) => {\n this.doForeach(handler, v, [...keys, k]);\n });\n }\n }\n}\nexports.MultiKeyMap = MultiKeyMap;\n//# sourceMappingURL=collections.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/collections.js?");
6190
+
6191
+ /***/ }),
6192
+
6182
6193
  /***/ "../core-common/lib/command.js":
6183
6194
  /*!*************************************!*\
6184
6195
  !*** ../core-common/lib/command.js ***!
@@ -6373,7 +6384,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
6373
6384
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6374
6385
 
6375
6386
  "use strict";
6376
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./di-helper */ \"../core-common/lib/di-helper/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./event-bus */ \"../core-common/lib/event-bus/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./contribution-provider */ \"../core-common/lib/contribution-provider.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./declare */ \"../core-common/lib/declare.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./editor */ \"../core-common/lib/editor.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./reference */ \"../core-common/lib/reference.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./module */ \"../core-common/lib/module.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./command */ \"../core-common/lib/command.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./menu */ \"../core-common/lib/menu.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./localize */ \"../core-common/lib/localize.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./types */ \"../core-common/lib/types/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./preferences */ \"../core-common/lib/preferences/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./storage */ \"../core-common/lib/storage.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./network */ \"../core-common/lib/network.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./log */ \"../core-common/lib/log.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./json-schema */ \"../core-common/lib/json-schema.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/reporter.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./connection */ \"../core-common/lib/connection.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./comparers */ \"../core-common/lib/comparers.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./problem-pattern */ \"../core-common/lib/problem-pattern.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./problem-matcher */ \"../core-common/lib/problem-matcher.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./task-definition */ \"../core-common/lib/task-definition.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./line-text */ \"../core-common/lib/line-text.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./keyboard */ \"../core-common/lib/keyboard/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./theme */ \"../core-common/lib/theme.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./env */ \"../core-common/lib/env.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./credential */ \"../core-common/lib/credential.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./crypto */ \"../core-common/lib/crypto.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./markdown */ \"../core-common/lib/markdown.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./settings */ \"../core-common/lib/settings/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./utils */ \"../core-common/lib/utils/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./clipboard */ \"../core-common/lib/clipboard.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./mime */ \"../core-common/lib/mime.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./application.lifecycle */ \"../core-common/lib/application.lifecycle.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./extension.schema */ \"../core-common/lib/extension.schema.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./ai-native */ \"../core-common/lib/ai-native/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./remote-service */ \"../core-common/lib/remote-service/index.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/index.js?");
6387
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./di-helper */ \"../core-common/lib/di-helper/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./event-bus */ \"../core-common/lib/event-bus/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./contribution-provider */ \"../core-common/lib/contribution-provider.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./declare */ \"../core-common/lib/declare.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./editor */ \"../core-common/lib/editor.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./reference */ \"../core-common/lib/reference.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./module */ \"../core-common/lib/module.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./command */ \"../core-common/lib/command.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./menu */ \"../core-common/lib/menu.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./localize */ \"../core-common/lib/localize.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./types */ \"../core-common/lib/types/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./preferences */ \"../core-common/lib/preferences/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./storage */ \"../core-common/lib/storage.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./network */ \"../core-common/lib/network.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./log */ \"../core-common/lib/log.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./json-schema */ \"../core-common/lib/json-schema.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/reporter.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./connection */ \"../core-common/lib/connection.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./comparers */ \"../core-common/lib/comparers.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./problem-pattern */ \"../core-common/lib/problem-pattern.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./problem-matcher */ \"../core-common/lib/problem-matcher.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./task-definition */ \"../core-common/lib/task-definition.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./line-text */ \"../core-common/lib/line-text.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./keyboard */ \"../core-common/lib/keyboard/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./theme */ \"../core-common/lib/theme.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./env */ \"../core-common/lib/env.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./credential */ \"../core-common/lib/credential.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./crypto */ \"../core-common/lib/crypto.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./markdown */ \"../core-common/lib/markdown.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./settings */ \"../core-common/lib/settings/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./utils */ \"../core-common/lib/utils/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./clipboard */ \"../core-common/lib/clipboard.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./mime */ \"../core-common/lib/mime.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./application.lifecycle */ \"../core-common/lib/application.lifecycle.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./extension.schema */ \"../core-common/lib/extension.schema.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./ai-native */ \"../core-common/lib/ai-native/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./remote-service */ \"../core-common/lib/remote-service/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./collections */ \"../core-common/lib/collections.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/index.js?");
6377
6388
 
6378
6389
  /***/ }),
6379
6390
 
@@ -19,7 +19,7 @@ const DialogContent = ({ onClose, closable, type = 'confirm', messageType = comm
19
19
  react_1.default.createElement("div", { className: 'kt-dialog-content' },
20
20
  icon && (react_1.default.createElement("div", { style: { color: icon.color }, className: (0, classnames_1.default)('kt-dialog-icon', (0, icon_1.getIcon)(icon.className) || getContextIcon(icon.className)) })),
21
21
  react_1.default.createElement("div", { className: 'kt-dialog-content_area' },
22
- react_1.default.createElement("p", { className: 'kt-dialog-content_title' }, title),
22
+ react_1.default.createElement("div", { className: 'kt-dialog-content_title' }, title),
23
23
  message && react_1.default.createElement("span", { className: 'kt-dialog-message' }, message)),
24
24
  closable && type !== 'basic' && (react_1.default.createElement("button", { className: (0, classnames_1.default)('kt-dialog-closex', (0, icon_1.getIcon)('close')), onClick: onClose }))),
25
25
  messageType !== common_1.MessageType.Empty && type !== 'basic' && (react_1.default.createElement("div", { className: 'kt-dialog-buttonWrap' }, type === 'confirm' ? (buttons || react_1.default.createElement(DefaultButtons, { onCancel: onCancel, onOk: onOk, okText: okText, cancelText: cancelText })) : (react_1.default.createElement(button_1.Button, { onClick: onClose }, "OK"))))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,0DAA0B;AAE1B,+DAAqD;AAErD,sCAAmC;AACnC,sCAAwC;AACxC,kCAA+C;AAC/C,wCAAoD;AAEpD,yBAAuB;AA2BvB,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACjE;IACE,8BAAC,eAAM,IAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAC,WAAW,IACxC,UAAU,IAAI,IAAA,0BAAQ,EAAC,cAAc,CAAC,CAChC;IACT,8BAAC,eAAM,IAAC,OAAO,EAAE,IAAI,IAAG,MAAM,IAAI,IAAA,0BAAQ,EAAC,UAAU,CAAC,CAAU,CAC/D,CACJ,CAAC;AAEK,MAAM,aAAa,GAA2B,CAAC,EACpD,OAAO,EACP,QAAQ,EACR,IAAI,GAAG,SAAS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AAU,KAClB,SAAS;IAEb,8BAAC,qBAAa,IAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,KAAM,SAAS,GAAI,CACzG,CACX,CAAC;AArCW,QAAA,MAAM,UAqCjB"}
@@ -15,14 +15,6 @@
15
15
  .kticon-info-circle {
16
16
  color: var(--kt-modalInfoIcon-foreground);
17
17
  }
18
-
19
- .@{prefix}-modal-close-x {
20
- margin: 50% 50% 0 0;
21
- width: 20px;
22
- height: 20px;
23
- line-height: 20px;
24
- color: var(--kt-notificationsCloseIcon-foreground);
25
- }
26
18
  }
27
19
 
28
20
  .@{prefix}-dialog-content {
@@ -33,9 +33,9 @@
33
33
  }
34
34
 
35
35
  &-close-x {
36
- margin: 12px 22px 0 0;
37
- width: 20px;
38
- height: 20px;
36
+ margin: 8px 10px 0 0;
37
+ width: 16px;
38
+ height: 16px;
39
39
  line-height: 20px;
40
40
  color: var(--kt-notificationsCloseIcon-foreground);
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.5.1-next-1733469232.0",
3
+ "version": "3.6.1-next-1733711618.0",
4
4
  "description": "@opensumi/ide-components",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@ant-design/icons": "^4.6.4",
19
- "@opensumi/ide-core-common": "3.5.1-next-1733469232.0",
20
- "@opensumi/ide-utils": "3.5.1-next-1733469232.0",
19
+ "@opensumi/ide-core-common": "3.6.1-next-1733711618.0",
20
+ "@opensumi/ide-utils": "3.6.1-next-1733711618.0",
21
21
  "@opensumi/react-custom-scrollbars-2": "^4.3.4",
22
22
  "@rc-component/mini-decimal": "^1.0.1",
23
23
  "fuzzy": "^0.1.3",
@@ -38,10 +38,10 @@
38
38
  "react-window": "^1.8.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@opensumi/ide-dev-tool": "3.5.1-next-1733469232.0",
41
+ "@opensumi/ide-dev-tool": "3.6.1-next-1733711618.0",
42
42
  "@types/marked": "^4.0.7",
43
43
  "@types/react-window": "^1.8.5",
44
44
  "prop-types": "^15.8.1"
45
45
  },
46
- "gitHead": "984bdc6ce8916ae28d7f6ffb3003e9ab8f40963b"
46
+ "gitHead": "4dc6a9f13d56a9e06bd7b97e70127902d485be1a"
47
47
  }