@opensumi/ide-components 3.4.6-next-1730347271.0 → 3.4.6-next-1730442794.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
@@ -660,6 +660,17 @@
660
660
  background: var(--notifications-background);
661
661
  color: var(--notifications-foreground);
662
662
  }
663
+ .kt-message-custom-content {
664
+ display: flex;
665
+ align-items: flex-start;
666
+ justify-content: center;
667
+ }
668
+ .kt-message-custom-content .anticon {
669
+ height: 21px;
670
+ display: flex;
671
+ align-items: center;
672
+ justify-content: center;
673
+ }
663
674
  .kt-message-success .anticon {
664
675
  color: #52c41a;
665
676
  }
@@ -1022,9 +1033,9 @@
1022
1033
  .kt-popover-placement-top .kt-popover-arrow,
1023
1034
  .kt-popover-placement-topLeft .kt-popover-arrow,
1024
1035
  .kt-popover-placement-topRight .kt-popover-arrow {
1025
- margin-left: -6px;
1026
- margin-bottom: 1px;
1027
- border-width: 6px 6px 0;
1036
+ bottom: 4px;
1037
+ margin-left: -5px;
1038
+ border-width: 5px 5px 0;
1028
1039
  border-top-color: var(--kt-popover-background);
1029
1040
  }
1030
1041
  .kt-popover-placement-top .kt-popover-arrow {
@@ -3264,9 +3275,9 @@
3264
3275
  .kt-popover-placement-top .kt-popover-arrow,
3265
3276
  .kt-popover-placement-topLeft .kt-popover-arrow,
3266
3277
  .kt-popover-placement-topRight .kt-popover-arrow {
3267
- margin-left: -6px;
3268
- margin-bottom: 1px;
3269
- border-width: 6px 6px 0;
3278
+ bottom: 4px;
3279
+ margin-left: -5px;
3280
+ border-width: 5px 5px 0;
3270
3281
  border-top-color: var(--kt-popover-background);
3271
3282
  }
3272
3283
  .kt-popover-placement-top .kt-popover-arrow {
@@ -3431,6 +3442,17 @@
3431
3442
  background: var(--notifications-background);
3432
3443
  color: var(--notifications-foreground);
3433
3444
  }
3445
+ .kt-message-custom-content {
3446
+ display: flex;
3447
+ align-items: flex-start;
3448
+ justify-content: center;
3449
+ }
3450
+ .kt-message-custom-content .anticon {
3451
+ height: 21px;
3452
+ display: flex;
3453
+ align-items: center;
3454
+ justify-content: center;
3455
+ }
3434
3456
  .kt-message-success .anticon {
3435
3457
  color: #52c41a;
3436
3458
  }
package/dist/index.js CHANGED
@@ -5594,7 +5594,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
5594
5594
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5595
5595
 
5596
5596
  "use strict";
5597
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Popover = exports.PopoverPosition = exports.PopoverTriggerType = 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 rc_tooltip_1 = tslib_1.__importDefault(__webpack_require__(/*! rc-tooltip */ \"../../node_modules/rc-tooltip/es/index.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\n__webpack_require__(/*! ./styles.less */ \"./src/popover/styles.less\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nvar PopoverTriggerType;\n(function (PopoverTriggerType) {\n PopoverTriggerType[\"hover\"] = \"hover\";\n PopoverTriggerType[\"click\"] = \"click\";\n PopoverTriggerType[\"focus\"] = \"focus\";\n})(PopoverTriggerType = exports.PopoverTriggerType || (exports.PopoverTriggerType = {}));\nvar PopoverPosition;\n(function (PopoverPosition) {\n PopoverPosition[\"top\"] = \"top\";\n PopoverPosition[\"bottom\"] = \"bottom\";\n PopoverPosition[\"left\"] = \"left\";\n PopoverPosition[\"right\"] = \"right\";\n PopoverPosition[\"topLeft\"] = \"topLeft\";\n PopoverPosition[\"topRight\"] = \"topRight\";\n PopoverPosition[\"bottomLeft\"] = \"bottomLeft\";\n PopoverPosition[\"bottomRight\"] = \"bottomRight\";\n PopoverPosition[\"leftTop\"] = \"leftTop\";\n PopoverPosition[\"leftBottom\"] = \"leftBottom\";\n PopoverPosition[\"rightTop\"] = \"rightTop\";\n PopoverPosition[\"rightBottom\"] = \"rightBottom\";\n})(PopoverPosition = exports.PopoverPosition || (exports.PopoverPosition = {}));\nconst Popover = (_a) => {\n var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer } = _a, restProps = tslib_1.__rest(_a, [\"children\", \"trigger\", \"visible\", \"content\", \"position\", \"showArrow\", \"title\", \"titleClassName\", \"overlay\", \"overlayClassName\", \"overlayStyle\", \"action\", \"delay\", \"zIndex\", \"onClickAction\", \"onVisibleChange\", \"getTooltipContainer\"]);\n const handleActionClick = (0, react_1.useCallback)((event) => {\n if (onClickAction) {\n onClickAction(event);\n }\n }, [onClickAction]);\n const overlayContent = (0, react_1.useMemo)(() => {\n if (overlay) {\n return overlay;\n }\n else {\n if (!title && !content) {\n return null;\n }\n return (react_1.default.createElement(react_1.default.Fragment, null,\n title && (react_1.default.createElement(\"p\", { className: (0, classnames_1.default)('kt-popover-title', titleClassName) },\n title,\n action && (react_1.default.createElement(button_1.Button, { size: 'small', type: 'link', onClick: handleActionClick }, action)))),\n content || ''));\n }\n }, [overlay, content, action, handleActionClick]);\n if (!overlayContent) {\n return children;\n }\n return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, getTooltipContainer: getTooltipContainer, overlay: overlayContent, zIndex: zIndex }),\n react_1.default.createElement(\"div\", { className: 'kt-popover-trigger' }, children)));\n};\nexports.Popover = Popover;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/popover/index.tsx?");
5597
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Popover = exports.PopoverPosition = exports.PopoverTriggerType = 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 rc_tooltip_1 = tslib_1.__importDefault(__webpack_require__(/*! rc-tooltip */ \"../../node_modules/rc-tooltip/es/index.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\n__webpack_require__(/*! ./styles.less */ \"./src/popover/styles.less\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nvar PopoverTriggerType;\n(function (PopoverTriggerType) {\n PopoverTriggerType[\"hover\"] = \"hover\";\n PopoverTriggerType[\"click\"] = \"click\";\n PopoverTriggerType[\"focus\"] = \"focus\";\n})(PopoverTriggerType = exports.PopoverTriggerType || (exports.PopoverTriggerType = {}));\nvar PopoverPosition;\n(function (PopoverPosition) {\n PopoverPosition[\"top\"] = \"top\";\n PopoverPosition[\"bottom\"] = \"bottom\";\n PopoverPosition[\"left\"] = \"left\";\n PopoverPosition[\"right\"] = \"right\";\n PopoverPosition[\"topLeft\"] = \"topLeft\";\n PopoverPosition[\"topRight\"] = \"topRight\";\n PopoverPosition[\"bottomLeft\"] = \"bottomLeft\";\n PopoverPosition[\"bottomRight\"] = \"bottomRight\";\n PopoverPosition[\"leftTop\"] = \"leftTop\";\n PopoverPosition[\"leftBottom\"] = \"leftBottom\";\n PopoverPosition[\"rightTop\"] = \"rightTop\";\n PopoverPosition[\"rightBottom\"] = \"rightBottom\";\n})(PopoverPosition = exports.PopoverPosition || (exports.PopoverPosition = {}));\nconst Popover = (_a) => {\n var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange } = _a, restProps = tslib_1.__rest(_a, [\"children\", \"trigger\", \"visible\", \"content\", \"position\", \"showArrow\", \"title\", \"titleClassName\", \"overlay\", \"overlayClassName\", \"overlayStyle\", \"action\", \"delay\", \"zIndex\", \"onClickAction\", \"onVisibleChange\"]);\n const handleActionClick = (0, react_1.useCallback)((event) => {\n if (onClickAction) {\n onClickAction(event);\n }\n }, [onClickAction]);\n const overlayContent = (0, react_1.useMemo)(() => {\n if (overlay) {\n return overlay;\n }\n else {\n if (!title && !content) {\n return null;\n }\n return (react_1.default.createElement(react_1.default.Fragment, null,\n title && (react_1.default.createElement(\"p\", { className: (0, classnames_1.default)('kt-popover-title', titleClassName) },\n title,\n action && (react_1.default.createElement(button_1.Button, { size: 'small', type: 'link', onClick: handleActionClick }, action)))),\n content || ''));\n }\n }, [overlay, content, action, handleActionClick]);\n if (!overlayContent) {\n return children;\n }\n return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, overlay: overlayContent, zIndex: zIndex }),\n react_1.default.createElement(\"div\", { className: 'kt-popover-trigger' }, children)));\n};\nexports.Popover = Popover;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/popover/index.tsx?");
5598
5598
 
5599
5599
  /***/ }),
5600
5600
 
@@ -30,6 +30,17 @@
30
30
  background: var(--notifications-background);
31
31
  color: var(--notifications-foreground);
32
32
  }
33
+ &-custom-content {
34
+ display: flex;
35
+ align-items: flex-start;
36
+ justify-content: center;
37
+ .anticon {
38
+ height: 21px;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ }
43
+ }
33
44
 
34
45
  &-success .@{iconfont-css-prefix} {
35
46
  color: @success-color;
@@ -37,7 +37,6 @@ export interface IPopoverProps {
37
37
  zIndex?: number;
38
38
  onClickAction?: (args: any) => void;
39
39
  onVisibleChange?: (visible: boolean) => void;
40
- getTooltipContainer?: (triggerNode: HTMLElement) => HTMLElement;
41
40
  [key: string]: any;
42
41
  }
43
42
  export declare const Popover: React.FC<IPopoverProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/popover/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,eAAe,CAAC;AAIvB,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;CAC5B;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,GAAG,kBAAkB,EAAE,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,gBAA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CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2E3C,CAAC"}
@@ -29,7 +29,7 @@ var PopoverPosition;
29
29
  PopoverPosition["rightBottom"] = "rightBottom";
30
30
  })(PopoverPosition = exports.PopoverPosition || (exports.PopoverPosition = {}));
31
31
  const Popover = (_a) => {
32
- var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer } = _a, restProps = tslib_1.__rest(_a, ["children", "trigger", "visible", "content", "position", "showArrow", "title", "titleClassName", "overlay", "overlayClassName", "overlayStyle", "action", "delay", "zIndex", "onClickAction", "onVisibleChange", "getTooltipContainer"]);
32
+ var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange } = _a, restProps = tslib_1.__rest(_a, ["children", "trigger", "visible", "content", "position", "showArrow", "title", "titleClassName", "overlay", "overlayClassName", "overlayStyle", "action", "delay", "zIndex", "onClickAction", "onVisibleChange"]);
33
33
  const handleActionClick = (0, react_1.useCallback)((event) => {
34
34
  if (onClickAction) {
35
35
  onClickAction(event);
@@ -53,7 +53,7 @@ const Popover = (_a) => {
53
53
  if (!overlayContent) {
54
54
  return children;
55
55
  }
56
- return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, getTooltipContainer: getTooltipContainer, overlay: overlayContent, zIndex: zIndex }),
56
+ return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, overlay: overlayContent, zIndex: zIndex }),
57
57
  react_1.default.createElement("div", { className: 'kt-popover-trigger' }, children)));
58
58
  };
59
59
  exports.Popover = Popover;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/popover/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,oEAAiC;AACjC,uDAAoD;AAEpD,yBAAuB;AAEvB,sCAAmC;AAEnC,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,qCAAe,CAAA;AACjB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,eAaX;AAbD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,8CAA2B,CAAA;IAC3B,sCAAmB,CAAA;IACnB,4CAAyB,CAAA;IACzB,wCAAqB,CAAA;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AE,OAAO,EAChB,SAAS,EAAE,QAAQ,EACnB,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,EACjD,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAC,YAAY,EACtB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,MAAM;QAEd,uCAAK,SAAS,EAAC,oBAAoB,IAAE,QAAQ,CAAO,CAC5C,CACX,CAAC;AACJ,CAAC,CAAC;AA3EW,QAAA,OAAO,WA2ElB"}
@@ -79,9 +79,9 @@
79
79
  .@{prefix}-popover-placement-top .@{prefix}-popover-arrow,
80
80
  .@{prefix}-popover-placement-topLeft .@{prefix}-popover-arrow,
81
81
  .@{prefix}-popover-placement-topRight .@{prefix}-popover-arrow {
82
- margin-left: -6px;
83
- margin-bottom: 1px;
84
- border-width: 6px 6px 0;
82
+ bottom: 4px;
83
+ margin-left: -5px;
84
+ border-width: 5px 5px 0;
85
85
  border-top-color: var(--kt-popover-background);
86
86
  }
87
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.4.6-next-1730347271.0",
3
+ "version": "3.4.6-next-1730442794.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.4.6-next-1730347271.0",
20
- "@opensumi/ide-utils": "3.4.6-next-1730347271.0",
19
+ "@opensumi/ide-core-common": "3.4.6-next-1730442794.0",
20
+ "@opensumi/ide-utils": "3.4.6-next-1730442794.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.4.6-next-1730347271.0",
41
+ "@opensumi/ide-dev-tool": "3.4.6-next-1730442794.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": "dc271e0c7c32f35a75bd4e45f28167773c912d13"
46
+ "gitHead": "759dad7d4dfb6077148f031bfbf0f29a26a88635"
47
47
  }