@apdesign/web-react 1.4.2 → 1.4.3
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/arco-icon.min.js +1 -1
- package/dist/arco.development.js +3 -3
- package/dist/arco.min.js +2 -2
- package/es/Menu/context.d.ts +1 -1
- package/es/Select/select.js +2 -1
- package/es/Typography/base.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Select/select.js +2 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/Menu/context.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare type HotkeyInfo = {
|
|
|
6
6
|
type: 'sibling' | 'generation' | 'enter';
|
|
7
7
|
};
|
|
8
8
|
export declare type ResetHotkeyInfo = (activeKey?: string) => void;
|
|
9
|
-
declare const MenuContext: import("react").Context<Pick<MenuProps, "collapse" | "
|
|
9
|
+
declare const MenuContext: import("react").Context<Pick<MenuProps, "collapse" | "icons" | "mode" | "inDropdown" | "theme" | "levelIndent" | "autoScrollIntoView" | "selectedKeys" | "openKeys" | "scrollConfig" | "triggerProps" | "tooltipProps"> & {
|
|
10
10
|
id?: string;
|
|
11
11
|
prefixCls?: string;
|
|
12
12
|
onClickMenuItem?: (key: string, event: any) => void;
|
package/es/Select/select.js
CHANGED
|
@@ -457,7 +457,8 @@ function Select(baseProps, ref) {
|
|
|
457
457
|
if (isMultipleMode) {
|
|
458
458
|
checkOption(optionValue, value.indexOf(optionValue) === -1 ? 'add' : 'remove');
|
|
459
459
|
// 点击一个选项时,清空输入框内容
|
|
460
|
-
if (!
|
|
460
|
+
if (!isMultipleQuickSelectMode &&
|
|
461
|
+
(!isObject(showSearch) || !showSearch.retainInputValueWhileSelect)) {
|
|
461
462
|
tryUpdateInputValue('', 'optionChecked');
|
|
462
463
|
}
|
|
463
464
|
}
|
package/es/Typography/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TypographyParagraphProps, TypographyTitleProps } from './interface';
|
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<TypographyParagraphProps & TypographyTitleProps & import("./interface").CommonProps & {
|
|
4
|
-
componentType: "
|
|
4
|
+
componentType: "Paragraph" | "Title" | "Text";
|
|
5
5
|
} & React.RefAttributes<unknown>>;
|
|
6
6
|
export default _default;
|
package/es/index.d.ts
CHANGED
|
@@ -139,4 +139,4 @@ export type { WatermarkProps } from './Watermark/interface';
|
|
|
139
139
|
export { default as Watermark } from './Watermark';
|
|
140
140
|
export type { ImageProps, ImagePreviewProps, ImagePreviewActionProps, ImagePreviewGroupProps } from './Image/interface';
|
|
141
141
|
export { default as Image } from './Image';
|
|
142
|
-
export declare const version = "1.4.
|
|
142
|
+
export declare const version = "1.4.3";
|
package/es/index.js
CHANGED
package/lib/Select/select.js
CHANGED
|
@@ -481,7 +481,8 @@ function Select(baseProps, ref) {
|
|
|
481
481
|
if (isMultipleMode) {
|
|
482
482
|
checkOption(optionValue, value.indexOf(optionValue) === -1 ? 'add' : 'remove');
|
|
483
483
|
// 点击一个选项时,清空输入框内容
|
|
484
|
-
if (!
|
|
484
|
+
if (!isMultipleQuickSelectMode &&
|
|
485
|
+
(!(0, is_1.isObject)(showSearch) || !showSearch.retainInputValueWhileSelect)) {
|
|
485
486
|
tryUpdateInputValue('', 'optionChecked');
|
|
486
487
|
}
|
|
487
488
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -139,4 +139,4 @@ export type { WatermarkProps } from './Watermark/interface';
|
|
|
139
139
|
export { default as Watermark } from './Watermark';
|
|
140
140
|
export type { ImageProps, ImagePreviewProps, ImagePreviewActionProps, ImagePreviewGroupProps } from './Image/interface';
|
|
141
141
|
export { default as Image } from './Image';
|
|
142
|
-
export declare const version = "1.4.
|
|
142
|
+
export declare const version = "1.4.3";
|
package/lib/index.js
CHANGED
|
@@ -147,4 +147,4 @@ var Watermark_1 = require("./Watermark");
|
|
|
147
147
|
Object.defineProperty(exports, "Watermark", { enumerable: true, get: function () { return __importDefault(Watermark_1).default; } });
|
|
148
148
|
var Image_1 = require("./Image");
|
|
149
149
|
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return __importDefault(Image_1).default; } });
|
|
150
|
-
exports.version = '1.4.
|
|
150
|
+
exports.version = '1.4.3';
|