@douyinfe/semi-ui 2.11.0-beta.1 → 2.11.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/anchor/link.tsx +2 -2
- package/autoComplete/index.tsx +3 -3
- package/avatar/interface.ts +2 -2
- package/badge/index.tsx +1 -1
- package/banner/index.tsx +4 -4
- package/breadcrumb/bread-context.tsx +1 -1
- package/card/cardGroup.tsx +1 -1
- package/card/index.tsx +1 -1
- package/cascader/index.tsx +4 -4
- package/collapse/index.tsx +1 -1
- package/collapse/item.tsx +1 -1
- package/collapsible/index.tsx +1 -1
- package/descriptions/item.tsx +1 -1
- package/dist/umd/semi-ui.js +27 -22
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/empty/index.tsx +1 -1
- package/form/errorMessage.tsx +1 -1
- package/form/interface.ts +1 -1
- package/form/label.tsx +1 -1
- package/form/section.tsx +2 -2
- package/form/slot.tsx +1 -1
- package/layout/Sider.tsx +1 -1
- package/lib/cjs/anchor/link.d.ts +2 -2
- package/lib/cjs/autoComplete/index.d.ts +1 -1
- package/lib/cjs/autoComplete/index.js +1 -1
- package/lib/cjs/avatar/interface.d.ts +2 -2
- package/lib/cjs/badge/index.d.ts +1 -1
- package/lib/cjs/banner/index.d.ts +4 -4
- package/lib/cjs/breadcrumb/bread-context.d.ts +1 -1
- package/lib/cjs/card/cardGroup.d.ts +1 -1
- package/lib/cjs/card/index.d.ts +1 -1
- package/lib/cjs/cascader/index.d.ts +1 -1
- package/lib/cjs/collapse/index.d.ts +1 -1
- package/lib/cjs/collapse/item.d.ts +1 -1
- package/lib/cjs/collapsible/index.d.ts +1 -1
- package/lib/cjs/descriptions/item.d.ts +1 -1
- package/lib/cjs/empty/index.d.ts +1 -1
- package/lib/cjs/form/errorMessage.d.ts +1 -1
- package/lib/cjs/form/interface.d.ts +1 -1
- package/lib/cjs/form/label.d.ts +1 -1
- package/lib/cjs/form/section.d.ts +2 -2
- package/lib/cjs/form/slot.d.ts +1 -1
- package/lib/cjs/layout/Sider.d.ts +1 -1
- package/lib/cjs/list/index.d.ts +1 -1
- package/lib/cjs/list/item.d.ts +1 -1
- package/lib/cjs/modal/Modal.d.ts +5 -5
- package/lib/cjs/modal/ModalContent.d.ts +1 -1
- package/lib/cjs/modal/confirm.d.ts +4 -2
- package/lib/cjs/modal/useModal/index.d.ts +16 -23
- package/lib/cjs/navigation/Footer.d.ts +1 -1
- package/lib/cjs/radio/radioGroup.d.ts +1 -1
- package/lib/cjs/select/index.d.ts +1 -1
- package/lib/cjs/select/index.js +27 -24
- package/lib/cjs/sideSheet/SideSheetContent.d.ts +1 -1
- package/lib/cjs/table/HeadTable.d.ts +2 -1
- package/lib/cjs/table/HeadTable.js +2 -1
- package/lib/cjs/table/Table.js +2 -0
- package/lib/cjs/table/interface.d.ts +1 -1
- package/lib/cjs/timeline/index.d.ts +1 -1
- package/lib/cjs/timeline/item.d.ts +1 -1
- package/lib/es/anchor/link.d.ts +2 -2
- package/lib/es/autoComplete/index.d.ts +1 -1
- package/lib/es/autoComplete/index.js +1 -1
- package/lib/es/avatar/interface.d.ts +2 -2
- package/lib/es/badge/index.d.ts +1 -1
- package/lib/es/banner/index.d.ts +4 -4
- package/lib/es/breadcrumb/bread-context.d.ts +1 -1
- package/lib/es/card/cardGroup.d.ts +1 -1
- package/lib/es/card/index.d.ts +1 -1
- package/lib/es/cascader/index.d.ts +1 -1
- package/lib/es/collapse/index.d.ts +1 -1
- package/lib/es/collapse/item.d.ts +1 -1
- package/lib/es/collapsible/index.d.ts +1 -1
- package/lib/es/descriptions/item.d.ts +1 -1
- package/lib/es/empty/index.d.ts +1 -1
- package/lib/es/form/errorMessage.d.ts +1 -1
- package/lib/es/form/interface.d.ts +1 -1
- package/lib/es/form/label.d.ts +1 -1
- package/lib/es/form/section.d.ts +2 -2
- package/lib/es/form/slot.d.ts +1 -1
- package/lib/es/layout/Sider.d.ts +1 -1
- package/lib/es/list/index.d.ts +1 -1
- package/lib/es/list/item.d.ts +1 -1
- package/lib/es/modal/Modal.d.ts +5 -5
- package/lib/es/modal/ModalContent.d.ts +1 -1
- package/lib/es/modal/confirm.d.ts +4 -2
- package/lib/es/modal/confirm.js +1 -1
- package/lib/es/modal/useModal/index.d.ts +16 -23
- package/lib/es/navigation/Footer.d.ts +1 -1
- package/lib/es/radio/radioGroup.d.ts +1 -1
- package/lib/es/select/index.d.ts +1 -1
- package/lib/es/select/index.js +23 -21
- package/lib/es/sideSheet/SideSheetContent.d.ts +1 -1
- package/lib/es/table/HeadTable.d.ts +2 -1
- package/lib/es/table/HeadTable.js +2 -1
- package/lib/es/table/Table.js +2 -0
- package/lib/es/table/interface.d.ts +1 -1
- package/lib/es/timeline/index.d.ts +1 -1
- package/lib/es/timeline/item.d.ts +1 -1
- package/list/index.tsx +1 -1
- package/list/item.tsx +1 -1
- package/modal/Modal.tsx +7 -7
- package/modal/ModalContent.tsx +1 -1
- package/modal/confirm.tsx +10 -11
- package/modal/useModal/index.tsx +9 -1
- package/navigation/Footer.tsx +2 -2
- package/package.json +9 -9
- package/radio/radioGroup.tsx +1 -1
- package/select/index.tsx +4 -2
- package/sideSheet/SideSheetContent.tsx +1 -1
- package/table/HeadTable.tsx +3 -1
- package/table/Table.tsx +2 -0
- package/table/_story/v2/FixedOnHeaderRow/index.jsx +134 -0
- package/table/_story/v2/index.js +2 -1
- package/table/interface.ts +1 -1
- package/timeline/index.tsx +1 -1
- package/timeline/item.tsx +1 -1
package/anchor/link.tsx
CHANGED
|
@@ -11,9 +11,9 @@ const prefixCls = cssClasses.PREFIX;
|
|
|
11
11
|
|
|
12
12
|
export interface LinkProps {
|
|
13
13
|
href?: string;
|
|
14
|
-
title?:
|
|
14
|
+
title?: ReactNode;
|
|
15
15
|
className?: string;
|
|
16
|
-
children?: ReactNode
|
|
16
|
+
children?: ReactNode;
|
|
17
17
|
style?: React.CSSProperties;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
}
|
package/autoComplete/index.tsx
CHANGED
|
@@ -57,7 +57,7 @@ export interface AutoCompleteProps<T extends AutoCompleteItems> {
|
|
|
57
57
|
dropdownMatchSelectWidth?: boolean;
|
|
58
58
|
dropdownClassName?: string;
|
|
59
59
|
dropdownStyle?: React.CSSProperties;
|
|
60
|
-
emptyContent?: React.ReactNode
|
|
60
|
+
emptyContent?: React.ReactNode;
|
|
61
61
|
getPopupContainer?: () => HTMLElement;
|
|
62
62
|
insetLabel?: React.ReactNode;
|
|
63
63
|
insetLabelId?: string;
|
|
@@ -218,8 +218,8 @@ class AutoComplete<T extends AutoCompleteItems> extends BaseComponent<AutoComple
|
|
|
218
218
|
|
|
219
219
|
warning(
|
|
220
220
|
'triggerRender' in this.props && typeof this.props.triggerRender === 'function',
|
|
221
|
-
`[Semi AutoComplete]
|
|
222
|
-
- If you are using the following props: 'suffix', 'prefix', 'showClear', 'validateStatus', and 'size',
|
|
221
|
+
`[Semi AutoComplete]
|
|
222
|
+
- If you are using the following props: 'suffix', 'prefix', 'showClear', 'validateStatus', and 'size',
|
|
223
223
|
please notice that they will be removed in the next major version.
|
|
224
224
|
Please use 'componentProps' to retrieve these props instead.
|
|
225
225
|
- If you are using 'onBlur', 'onFocus', please try to avoid using them and look for changes in the future.`
|
package/avatar/interface.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type AvatarColor =
|
|
|
22
22
|
| 'yellow';
|
|
23
23
|
|
|
24
24
|
export interface AvatarProps extends BaseProps {
|
|
25
|
-
children?: React.ReactNode
|
|
25
|
+
children?: React.ReactNode;
|
|
26
26
|
color?: AvatarColor;
|
|
27
27
|
shape?: AvatarShape;
|
|
28
28
|
size?: AvatarSize;
|
|
@@ -42,7 +42,7 @@ export type AvatarGroupSize = 'extra-extra-small' | 'extra-small' | 'small' | 'm
|
|
|
42
42
|
export type AvatarGroupOverlapFrom = 'start' | 'end';
|
|
43
43
|
|
|
44
44
|
export interface AvatarGroupProps {
|
|
45
|
-
children?: React.ReactNode
|
|
45
|
+
children?: React.ReactNode;
|
|
46
46
|
shape?: AvatarGroupShape;
|
|
47
47
|
size?: AvatarGroupSize;
|
|
48
48
|
overlapFrom?: AvatarGroupOverlapFrom;
|
package/badge/index.tsx
CHANGED
|
@@ -24,7 +24,7 @@ export interface BadgeProps {
|
|
|
24
24
|
onMouseEnter?: (e: React.MouseEvent) => any;
|
|
25
25
|
onMouseLeave?: (e: React.MouseEvent) => any;
|
|
26
26
|
onClick?: (e: React.MouseEvent) => any;
|
|
27
|
-
children?: React.ReactNode
|
|
27
|
+
children?: React.ReactNode;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export default class Badge extends PureComponent<BadgeProps> {
|
package/banner/index.tsx
CHANGED
|
@@ -20,15 +20,15 @@ export type Type = 'info' | 'danger' | 'warning' | 'success';
|
|
|
20
20
|
export interface BannerProps {
|
|
21
21
|
type?: Type;
|
|
22
22
|
className?: string;
|
|
23
|
-
children?: React.ReactNode
|
|
23
|
+
children?: React.ReactNode;
|
|
24
24
|
fullMode?: boolean;
|
|
25
25
|
title?: React.ReactNode;
|
|
26
26
|
description?: React.ReactNode;
|
|
27
|
-
icon?:
|
|
28
|
-
closeIcon?:
|
|
27
|
+
icon?: React.ReactNode;
|
|
28
|
+
closeIcon?: React.ReactNode;
|
|
29
29
|
style?: React.CSSProperties;
|
|
30
30
|
bordered?: boolean;
|
|
31
|
-
onClose
|
|
31
|
+
onClose?(e: React.MouseEvent):void;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export interface BannerState {
|
|
@@ -5,7 +5,7 @@ export interface BreadContextType {
|
|
|
5
5
|
onClick?: (info: BreadcrumbItemInfo, event: React.MouseEvent) => void;
|
|
6
6
|
showTooltip?: boolean | showToolTipProps;
|
|
7
7
|
compact?: boolean;
|
|
8
|
-
separator?:
|
|
8
|
+
separator?: React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
const BreadContext = React.createContext<BreadContextType>({});
|
package/card/cardGroup.tsx
CHANGED
|
@@ -11,7 +11,7 @@ export type CardGroupType = 'grid';
|
|
|
11
11
|
export interface CardGroupProps {
|
|
12
12
|
/** Card group style class name */
|
|
13
13
|
className?: string;
|
|
14
|
-
children?: React.ReactNode
|
|
14
|
+
children?: React.ReactNode;
|
|
15
15
|
/** Card Spacing */
|
|
16
16
|
spacing?: number | number[];
|
|
17
17
|
/** Card group inline style */
|
package/card/index.tsx
CHANGED
|
@@ -26,7 +26,7 @@ export interface CardProps {
|
|
|
26
26
|
bordered?: boolean;
|
|
27
27
|
/** Style class name */
|
|
28
28
|
className?: string;
|
|
29
|
-
children?: React.ReactNode
|
|
29
|
+
children?: React.ReactNode;
|
|
30
30
|
/** Cover */
|
|
31
31
|
cover?: ReactNode;
|
|
32
32
|
/** Additional additions to the right of the title */
|
package/cascader/index.tsx
CHANGED
|
@@ -62,7 +62,7 @@ export interface CascaderProps extends BasicCascaderProps {
|
|
|
62
62
|
motion?: Motion;
|
|
63
63
|
treeData?: Array<CascaderData>;
|
|
64
64
|
restTagsPopoverProps?: PopoverProps;
|
|
65
|
-
children?: React.ReactNode
|
|
65
|
+
children?: React.ReactNode;
|
|
66
66
|
value?: Value;
|
|
67
67
|
prefix?: ReactNode;
|
|
68
68
|
suffix?: ReactNode;
|
|
@@ -843,11 +843,11 @@ class Cascader extends BaseComponent<CascaderProps, CascaderState> {
|
|
|
843
843
|
const allowClear = this.showClearBtn();
|
|
844
844
|
if (allowClear) {
|
|
845
845
|
return (
|
|
846
|
-
<div
|
|
846
|
+
<div
|
|
847
847
|
className={clearCls}
|
|
848
|
-
onClick={this.handleClear}
|
|
848
|
+
onClick={this.handleClear}
|
|
849
849
|
onKeyPress={this.handleClearEnterPress}
|
|
850
|
-
role='button'
|
|
850
|
+
role='button'
|
|
851
851
|
tabIndex={0}
|
|
852
852
|
>
|
|
853
853
|
<IconClear />
|
package/collapse/index.tsx
CHANGED
|
@@ -20,7 +20,7 @@ export { CollapsePanelProps } from './item';
|
|
|
20
20
|
export interface CollapseReactProps extends CollapseProps{
|
|
21
21
|
expandIcon?: React.ReactNode;
|
|
22
22
|
collapseIcon?: React.ReactNode;
|
|
23
|
-
children?: React.ReactNode
|
|
23
|
+
children?: React.ReactNode;
|
|
24
24
|
style?: CSSProperties;
|
|
25
25
|
onChange?: (activeKey: CollapseProps['activeKey'], e: React.MouseEvent) => void;
|
|
26
26
|
}
|
package/collapse/item.tsx
CHANGED
package/collapsible/index.tsx
CHANGED
package/descriptions/item.tsx
CHANGED
|
@@ -7,7 +7,7 @@ import DescriptionsContext, { DescriptionsContextValue } from './descriptions-co
|
|
|
7
7
|
export interface DescriptionsItemProps {
|
|
8
8
|
hidden?: boolean;
|
|
9
9
|
className?: string;
|
|
10
|
-
children?: React.ReactNode |
|
|
10
|
+
children?: React.ReactNode | (() => React.ReactNode);
|
|
11
11
|
style?: React.CSSProperties;
|
|
12
12
|
itemKey?: React.ReactNode;
|
|
13
13
|
}
|
package/dist/umd/semi-ui.js
CHANGED
|
@@ -36635,7 +36635,7 @@ class autoComplete_AutoComplete extends baseComponent_BaseComponent {
|
|
|
36635
36635
|
this.triggerRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
36636
36636
|
this.optionsRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
36637
36637
|
this.clickOutsideHandler = null;
|
|
36638
|
-
Object(warning["a" /* default */])('triggerRender' in this.props && typeof this.props.triggerRender === 'function', "[Semi AutoComplete]
|
|
36638
|
+
Object(warning["a" /* default */])('triggerRender' in this.props && typeof this.props.triggerRender === 'function', "[Semi AutoComplete]\n - If you are using the following props: 'suffix', 'prefix', 'showClear', 'validateStatus', and 'size',\n please notice that they will be removed in the next major version.\n Please use 'componentProps' to retrieve these props instead.\n - If you are using 'onBlur', 'onFocus', please try to avoid using them and look for changes in the future.");
|
|
36639
36639
|
}
|
|
36640
36640
|
|
|
36641
36641
|
get adapter() {
|
|
@@ -77734,6 +77734,7 @@ var select_select = __webpack_require__("1d3+");
|
|
|
77734
77734
|
|
|
77735
77735
|
|
|
77736
77736
|
|
|
77737
|
+
|
|
77737
77738
|
|
|
77738
77739
|
|
|
77739
77740
|
const select_prefixcls = select_constants_cssClasses.PREFIX;
|
|
@@ -77741,7 +77742,7 @@ const select_key = 0; // Notes: Use the label of the option as the identifier, t
|
|
|
77741
77742
|
|
|
77742
77743
|
class select_Select extends baseComponent_BaseComponent {
|
|
77743
77744
|
constructor(props) {
|
|
77744
|
-
var _context, _context2, _context3, _context4, _context5, _context6, _context7
|
|
77745
|
+
var _context, _context2, _context3, _context4, _context5, _context6, _context7;
|
|
77745
77746
|
|
|
77746
77747
|
super(props);
|
|
77747
77748
|
|
|
@@ -77763,19 +77764,19 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
77763
77764
|
};
|
|
77764
77765
|
/* Generate random string */
|
|
77765
77766
|
|
|
77766
|
-
this.selectOptionListID =
|
|
77767
|
+
this.selectOptionListID = '';
|
|
77767
77768
|
this.virtualizeListRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
77768
77769
|
this.inputRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
77769
77770
|
this.triggerRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
77770
77771
|
this.optionsRef = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
77771
77772
|
this.clickOutsideHandler = null;
|
|
77772
|
-
this.onSelect = bind_default()(
|
|
77773
|
-
this.onClear = bind_default()(
|
|
77774
|
-
this.onMouseEnter = bind_default()(
|
|
77775
|
-
this.onMouseLeave = bind_default()(
|
|
77776
|
-
this.renderOption = bind_default()(
|
|
77777
|
-
this.onKeyPress = bind_default()(
|
|
77778
|
-
this.onClearBtnEnterPress = bind_default()(
|
|
77773
|
+
this.onSelect = bind_default()(_context = this.onSelect).call(_context, this);
|
|
77774
|
+
this.onClear = bind_default()(_context2 = this.onClear).call(_context2, this);
|
|
77775
|
+
this.onMouseEnter = bind_default()(_context3 = this.onMouseEnter).call(_context3, this);
|
|
77776
|
+
this.onMouseLeave = bind_default()(_context4 = this.onMouseLeave).call(_context4, this);
|
|
77777
|
+
this.renderOption = bind_default()(_context5 = this.renderOption).call(_context5, this);
|
|
77778
|
+
this.onKeyPress = bind_default()(_context6 = this.onKeyPress).call(_context6, this);
|
|
77779
|
+
this.onClearBtnEnterPress = bind_default()(_context7 = this.onClearBtnEnterPress).call(_context7, this);
|
|
77779
77780
|
this.foundation = new foundation_SelectFoundation(this.adapter);
|
|
77780
77781
|
Object(warning["a" /* default */])('optionLabelProp' in this.props, '[Semi Select] \'optionLabelProp\' has already been deprecated, please use \'renderSelectedItem\' instead.');
|
|
77781
77782
|
Object(warning["a" /* default */])('labelInValue' in this.props, '[Semi Select] \'labelInValue\' has already been deprecated, please use \'onChangeWithObject\' instead.');
|
|
@@ -77978,18 +77979,18 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
77978
77979
|
} catch (error) {}
|
|
77979
77980
|
},
|
|
77980
77981
|
updateScrollTop: index => {
|
|
77981
|
-
var
|
|
77982
|
+
var _context9, _context10;
|
|
77982
77983
|
|
|
77983
77984
|
// eslint-disable-next-line max-len
|
|
77984
77985
|
let optionClassName = ".".concat(select_prefixcls, "-option-selected");
|
|
77985
77986
|
|
|
77986
77987
|
if (index !== undefined) {
|
|
77987
|
-
var
|
|
77988
|
+
var _context8;
|
|
77988
77989
|
|
|
77989
|
-
optionClassName = concat_default()(
|
|
77990
|
+
optionClassName = concat_default()(_context8 = ".".concat(select_prefixcls, "-option:nth-child(")).call(_context8, index, ")");
|
|
77990
77991
|
}
|
|
77991
77992
|
|
|
77992
|
-
let destNode = document.querySelector(concat_default()(
|
|
77993
|
+
let destNode = document.querySelector(concat_default()(_context9 = concat_default()(_context10 = "#".concat(select_prefixcls, "-")).call(_context10, this.selectOptionListID, " ")).call(_context9, optionClassName));
|
|
77993
77994
|
|
|
77994
77995
|
if (is_array_default()(destNode)) {
|
|
77995
77996
|
// eslint-disable-next-line prefer-destructuring
|
|
@@ -78010,6 +78011,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78010
78011
|
|
|
78011
78012
|
componentDidMount() {
|
|
78012
78013
|
this.foundation.init();
|
|
78014
|
+
this.selectOptionListID = getUuidShort();
|
|
78013
78015
|
}
|
|
78014
78016
|
|
|
78015
78017
|
componentWillUnmount() {
|
|
@@ -78017,11 +78019,11 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78017
78019
|
}
|
|
78018
78020
|
|
|
78019
78021
|
componentDidUpdate(prevProps, prevState) {
|
|
78020
|
-
var
|
|
78022
|
+
var _context11, _context12;
|
|
78021
78023
|
|
|
78022
|
-
const prevChildrenKeys = map_default()(
|
|
78024
|
+
const prevChildrenKeys = map_default()(_context11 = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.toArray(prevProps.children)).call(_context11, child => child.key);
|
|
78023
78025
|
|
|
78024
|
-
const nowChildrenKeys = map_default()(
|
|
78026
|
+
const nowChildrenKeys = map_default()(_context12 = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.toArray(this.props.children)).call(_context12, child => child.key);
|
|
78025
78027
|
|
|
78026
78028
|
let isOptionsChanged = false;
|
|
78027
78029
|
|
|
@@ -78267,7 +78269,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78267
78269
|
}
|
|
78268
78270
|
|
|
78269
78271
|
renderOptions(children) {
|
|
78270
|
-
var
|
|
78272
|
+
var _context13;
|
|
78271
78273
|
|
|
78272
78274
|
const {
|
|
78273
78275
|
dropdownMinWidth,
|
|
@@ -78305,7 +78307,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78305
78307
|
});
|
|
78306
78308
|
const isEmpty = !options.length || !some_default()(options).call(options, item => item._show);
|
|
78307
78309
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
78308
|
-
id: concat_default()(
|
|
78310
|
+
id: concat_default()(_context13 = "".concat(select_prefixcls, "-")).call(_context13, this.selectOptionListID),
|
|
78309
78311
|
className: dropdownClassName,
|
|
78310
78312
|
style: style
|
|
78311
78313
|
}, outerTopSlot, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
@@ -78539,7 +78541,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78539
78541
|
}
|
|
78540
78542
|
|
|
78541
78543
|
renderSelection() {
|
|
78542
|
-
var
|
|
78544
|
+
var _context14;
|
|
78543
78545
|
|
|
78544
78546
|
const {
|
|
78545
78547
|
disabled,
|
|
@@ -78623,7 +78625,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
78623
78625
|
role: "combobox",
|
|
78624
78626
|
"aria-disabled": disabled,
|
|
78625
78627
|
"aria-expanded": isOpen,
|
|
78626
|
-
"aria-controls": concat_default()(
|
|
78628
|
+
"aria-controls": concat_default()(_context14 = "".concat(select_prefixcls, "-")).call(_context14, this.selectOptionListID),
|
|
78627
78629
|
"aria-haspopup": "listbox",
|
|
78628
78630
|
"aria-label": "select value",
|
|
78629
78631
|
"aria-invalid": this.props['aria-invalid'],
|
|
@@ -87733,7 +87735,8 @@ HeadTable_HeadTable.propTypes = {
|
|
|
87733
87735
|
}),
|
|
87734
87736
|
selectedRowKeysSet: prop_types_default.a.instanceOf(set_default.a).isRequired,
|
|
87735
87737
|
showHeader: prop_types_default.a.bool,
|
|
87736
|
-
onDidUpdate: prop_types_default.a.func
|
|
87738
|
+
onDidUpdate: prop_types_default.a.func,
|
|
87739
|
+
onHeaderRow: prop_types_default.a.func
|
|
87737
87740
|
};
|
|
87738
87741
|
HeadTable_HeadTable.defaultProps = {
|
|
87739
87742
|
handleBodyScroll: noop_default.a
|
|
@@ -90733,6 +90736,7 @@ class Table_Table extends baseComponent_BaseComponent {
|
|
|
90733
90736
|
components,
|
|
90734
90737
|
headerRef,
|
|
90735
90738
|
bodyRef,
|
|
90739
|
+
onHeaderRow,
|
|
90736
90740
|
rowSelection,
|
|
90737
90741
|
dataSource,
|
|
90738
90742
|
bodyHasScrollBar,
|
|
@@ -90753,6 +90757,7 @@ class Table_Table extends baseComponent_BaseComponent {
|
|
|
90753
90757
|
scroll: scroll,
|
|
90754
90758
|
showHeader: showHeader,
|
|
90755
90759
|
selectedRowKeysSet: selectedRowKeysSet,
|
|
90760
|
+
onHeaderRow: onHeaderRow,
|
|
90756
90761
|
dataSource: dataSource,
|
|
90757
90762
|
bodyHasScrollBar: bodyHasScrollBar
|
|
90758
90763
|
}) : null;
|