@douyinfe/semi-ui 2.21.3-alpha.0 → 2.22.0-beta.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/css/semi.css +4 -0
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +326 -274
- 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/lib/cjs/_base/baseComponent.js +3 -0
- package/lib/cjs/anchor/index.d.ts +1 -1
- package/lib/cjs/autoComplete/index.d.ts +1 -1
- package/lib/cjs/checkbox/checkbox.d.ts +5 -1
- package/lib/cjs/checkbox/checkbox.js +24 -0
- package/lib/cjs/checkbox/checkboxGroup.js +2 -2
- package/lib/cjs/checkbox/context.d.ts +1 -2
- package/lib/cjs/datePicker/datePicker.d.ts +2 -2
- package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
- package/lib/cjs/datePicker/quickControl.d.ts +1 -1
- package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/cjs/dropdown/dropdownMenu.d.ts +1 -0
- package/lib/cjs/dropdown/index.d.ts +2 -1
- package/lib/cjs/form/baseForm.d.ts +2 -2
- package/lib/cjs/form/field.d.ts +2 -2
- package/lib/cjs/image/preview.d.ts +1 -0
- package/lib/cjs/image/previewImage.d.ts +1 -1
- package/lib/cjs/image/previewImage.js +8 -5
- package/lib/cjs/image/previewInner.js +3 -3
- package/lib/cjs/input/index.d.ts +1 -0
- package/lib/cjs/input/textarea.js +1 -1
- package/lib/cjs/popover/index.d.ts +1 -1
- package/lib/cjs/select/index.d.ts +1 -1
- package/lib/cjs/slider/index.js +2 -2
- package/lib/cjs/spin/index.d.ts +1 -0
- package/lib/cjs/table/Table.d.ts +1 -1
- package/lib/cjs/table/Table.js +16 -0
- package/lib/cjs/table/TableHeaderRow.d.ts +1 -0
- package/lib/cjs/table/interface.d.ts +2 -0
- package/lib/cjs/tooltip/index.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/es/_base/baseComponent.js +3 -0
- package/lib/es/anchor/index.d.ts +1 -1
- package/lib/es/autoComplete/index.d.ts +1 -1
- package/lib/es/checkbox/checkbox.d.ts +5 -1
- package/lib/es/checkbox/checkbox.js +24 -0
- package/lib/es/checkbox/checkboxGroup.js +2 -2
- package/lib/es/checkbox/context.d.ts +1 -2
- package/lib/es/datePicker/datePicker.d.ts +2 -2
- package/lib/es/datePicker/monthsGrid.d.ts +1 -1
- package/lib/es/datePicker/quickControl.d.ts +1 -1
- package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/es/dropdown/dropdownMenu.d.ts +1 -0
- package/lib/es/dropdown/index.d.ts +2 -1
- package/lib/es/form/baseForm.d.ts +2 -2
- package/lib/es/form/field.d.ts +2 -2
- package/lib/es/image/preview.d.ts +1 -0
- package/lib/es/image/previewImage.d.ts +1 -1
- package/lib/es/image/previewImage.js +8 -5
- package/lib/es/image/previewInner.js +3 -3
- package/lib/es/input/index.d.ts +1 -0
- package/lib/es/input/textarea.js +1 -1
- package/lib/es/popover/index.d.ts +1 -1
- package/lib/es/select/index.d.ts +1 -1
- package/lib/es/slider/index.js +2 -2
- package/lib/es/spin/index.d.ts +1 -0
- package/lib/es/table/Table.d.ts +1 -1
- package/lib/es/table/Table.js +16 -0
- package/lib/es/table/TableHeaderRow.d.ts +1 -0
- package/lib/es/table/interface.d.ts +2 -0
- package/lib/es/tooltip/index.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/package.json +7 -8
|
@@ -59,7 +59,7 @@ declare class Dropdown extends BaseComponent<DropdownProps, DropdownState> {
|
|
|
59
59
|
render: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
60
60
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
61
61
|
visible: PropTypes.Requireable<boolean>;
|
|
62
|
-
position: PropTypes.Requireable<"
|
|
62
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
63
63
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
64
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
65
65
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
|
@@ -104,6 +104,7 @@ declare class Dropdown extends BaseComponent<DropdownProps, DropdownState> {
|
|
|
104
104
|
getCaches(): any;
|
|
105
105
|
setCache(key: any, value: any): void;
|
|
106
106
|
stopPropagation(e: any): void;
|
|
107
|
+
persistEvent: (event: any) => void;
|
|
107
108
|
};
|
|
108
109
|
handleVisibleChange: (visible: boolean) => any;
|
|
109
110
|
renderContent(): JSX.Element;
|
|
@@ -80,7 +80,7 @@ declare class Form extends BaseComponent<BaseFormProps, BaseFormState> {
|
|
|
80
80
|
emptyContent?: React.ReactNode;
|
|
81
81
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
82
82
|
zIndex?: number;
|
|
83
|
-
position?: "
|
|
83
|
+
position?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
84
84
|
onSearch?: (value: string) => void;
|
|
85
85
|
dropdownClassName?: string;
|
|
86
86
|
dropdownStyle?: React.CSSProperties;
|
|
@@ -126,7 +126,7 @@ declare class Form extends BaseComponent<BaseFormProps, BaseFormState> {
|
|
|
126
126
|
onListScroll?: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void;
|
|
127
127
|
children?: React.ReactNode;
|
|
128
128
|
preventScroll?: boolean;
|
|
129
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
129
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "motion"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
130
130
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
131
131
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
132
132
|
static Radio: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
|
package/lib/es/form/field.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
28
28
|
emptyContent?: import("react").ReactNode;
|
|
29
29
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
30
30
|
zIndex?: number;
|
|
31
|
-
position?: "
|
|
31
|
+
position?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
32
32
|
onSearch?: (value: string) => void;
|
|
33
33
|
dropdownClassName?: string;
|
|
34
34
|
dropdownStyle?: import("react").CSSProperties;
|
|
@@ -74,7 +74,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
74
74
|
onListScroll?: (e: import("react").UIEvent<HTMLDivElement, UIEvent>) => void;
|
|
75
75
|
children?: import("react").ReactNode;
|
|
76
76
|
preventScroll?: boolean;
|
|
77
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
77
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "motion"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
78
78
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
79
79
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
80
80
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -64,6 +64,7 @@ export default class Preview extends BaseComponent<PreviewProps, PreviewState> {
|
|
|
64
64
|
getCaches(): any;
|
|
65
65
|
setCache(key: any, value: any): void;
|
|
66
66
|
stopPropagation(e: any): void;
|
|
67
|
+
persistEvent: (event: any) => void;
|
|
67
68
|
};
|
|
68
69
|
foundation: PreviewFoundation;
|
|
69
70
|
previewGroupId: string;
|
|
@@ -28,7 +28,7 @@ export default class PreviewImage extends BaseComponent<PreviewImageProps, Previ
|
|
|
28
28
|
};
|
|
29
29
|
get adapter(): PreviewImageAdapter<PreviewImageProps, PreviewImageStates>;
|
|
30
30
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
31
|
-
imageRef:
|
|
31
|
+
imageRef: HTMLImageElement | null;
|
|
32
32
|
foundation: PreviewImageFoundation;
|
|
33
33
|
constructor(props: any);
|
|
34
34
|
componentDidMount(): void;
|
|
@@ -59,7 +59,7 @@ export default class PreviewImage extends BaseComponent {
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
this.registryImageRef = ref => {
|
|
62
|
-
if (this.imageRef
|
|
62
|
+
if (this.imageRef) {
|
|
63
63
|
this.imageRef.removeEventListener("wheel", this.handleWheel);
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -93,7 +93,7 @@ export default class PreviewImage extends BaseComponent {
|
|
|
93
93
|
left: 0
|
|
94
94
|
};
|
|
95
95
|
this.containerRef = /*#__PURE__*/React.createRef();
|
|
96
|
-
this.imageRef =
|
|
96
|
+
this.imageRef = null;
|
|
97
97
|
this.foundation = new PreviewImageFoundation(this.adapter);
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -107,10 +107,10 @@ export default class PreviewImage extends BaseComponent {
|
|
|
107
107
|
originImageWidth = size.originImageWidth;
|
|
108
108
|
originImageHeight = size.originImageHeight;
|
|
109
109
|
},
|
|
110
|
-
|
|
111
|
-
return this.containerRef;
|
|
110
|
+
getContainer: () => {
|
|
111
|
+
return this.containerRef.current;
|
|
112
112
|
},
|
|
113
|
-
|
|
113
|
+
getImage: () => {
|
|
114
114
|
return this.imageRef;
|
|
115
115
|
},
|
|
116
116
|
getMouseMove: () => startMouseMove,
|
|
@@ -125,6 +125,9 @@ export default class PreviewImage extends BaseComponent {
|
|
|
125
125
|
this.setState({
|
|
126
126
|
loading
|
|
127
127
|
});
|
|
128
|
+
},
|
|
129
|
+
setImageCursor: canDrag => {
|
|
130
|
+
this.imageRef.style.cursor = canDrag ? "grab" : "default";
|
|
128
131
|
}
|
|
129
132
|
});
|
|
130
133
|
}
|
|
@@ -56,7 +56,7 @@ export default class PreviewInner extends BaseComponent {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
this.handleMouseUp = e => {
|
|
59
|
-
this.foundation.handleMouseUp(e);
|
|
59
|
+
this.foundation.handleMouseUp(e.nativeEvent);
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
this.handleMouseMove = e => {
|
|
@@ -299,8 +299,8 @@ export default class PreviewInner extends BaseComponent {
|
|
|
299
299
|
onMouseDown: this.handleMouseDown,
|
|
300
300
|
onMouseUp: this.handleMouseUp,
|
|
301
301
|
onMouseMove: this.handleMouseMove,
|
|
302
|
-
onMouseOver: e => this.handleMouseEvent(e, "over"),
|
|
303
|
-
onMouseOut: e => this.handleMouseEvent(e, "out")
|
|
302
|
+
onMouseOver: e => this.handleMouseEvent(e.nativeEvent, "over"),
|
|
303
|
+
onMouseOut: e => this.handleMouseEvent(e.nativeEvent, "out")
|
|
304
304
|
}, /*#__PURE__*/React.createElement(Header, {
|
|
305
305
|
className: cls(hideViewerCls),
|
|
306
306
|
onClose: this.handlePreviewClose,
|
package/lib/es/input/index.d.ts
CHANGED
|
@@ -158,6 +158,7 @@ declare class Input extends BaseComponent<InputProps, InputState> {
|
|
|
158
158
|
getCaches(): any;
|
|
159
159
|
setCache(key: any, value: any): void;
|
|
160
160
|
stopPropagation(e: any): void;
|
|
161
|
+
persistEvent: (event: any) => void;
|
|
161
162
|
};
|
|
162
163
|
static getDerivedStateFromProps(props: InputProps, state: InputState): Partial<InputState>;
|
|
163
164
|
componentDidUpdate(prevProps: InputProps): void;
|
package/lib/es/input/textarea.js
CHANGED
|
@@ -53,7 +53,7 @@ declare class Popover extends React.PureComponent<PopoverProps, PopoverState> {
|
|
|
53
53
|
visible: PropTypes.Requireable<boolean>;
|
|
54
54
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
55
55
|
motion: PropTypes.Requireable<boolean | object>;
|
|
56
|
-
position: PropTypes.Requireable<"
|
|
56
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
57
57
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
58
58
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
|
59
59
|
trigger: PropTypes.Validator<"hover" | "focus" | "click" | "custom">;
|
package/lib/es/select/index.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ declare class Select extends BaseComponent<SelectProps, SelectState> {
|
|
|
168
168
|
emptyContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
169
169
|
onDropdownVisibleChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
170
170
|
zIndex: PropTypes.Requireable<number>;
|
|
171
|
-
position: PropTypes.Requireable<"
|
|
171
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
172
172
|
onSearch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
173
173
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
174
174
|
dropdownClassName: PropTypes.Requireable<string>;
|
package/lib/es/slider/index.js
CHANGED
|
@@ -456,8 +456,8 @@ export default class Slider extends BaseComponent {
|
|
|
456
456
|
setOverallVars: (key, value) => {
|
|
457
457
|
this[key] = value;
|
|
458
458
|
},
|
|
459
|
-
getMinHandleEl: () => this.minHanleEl,
|
|
460
|
-
getMaxHandleEl: () => this.maxHanleEl,
|
|
459
|
+
getMinHandleEl: () => this.minHanleEl.current,
|
|
460
|
+
getMaxHandleEl: () => this.maxHanleEl.current,
|
|
461
461
|
onHandleDown: e => {
|
|
462
462
|
this._addEventListener(document.body, 'mousemove', this.foundation.onHandleMove, false);
|
|
463
463
|
|
package/lib/es/spin/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare class Spin extends BaseComponent<SpinProps, SpinState> {
|
|
|
55
55
|
getCaches(): any;
|
|
56
56
|
setCache(key: any, value: any): void;
|
|
57
57
|
stopPropagation(e: any): void;
|
|
58
|
+
persistEvent: (event: any) => void;
|
|
58
59
|
};
|
|
59
60
|
componentWillUnmount(): void;
|
|
60
61
|
renderSpin(): JSX.Element;
|
package/lib/es/table/Table.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
|
|
|
300
300
|
showSizeChanger?: boolean;
|
|
301
301
|
showQuickJumper?: boolean;
|
|
302
302
|
popoverZIndex?: number;
|
|
303
|
-
popoverPosition?: "
|
|
303
|
+
popoverPosition?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
304
304
|
hideOnSinglePage?: boolean;
|
|
305
305
|
hoverShowPageSelect?: boolean;
|
|
306
306
|
};
|
package/lib/es/table/Table.js
CHANGED
|
@@ -1083,7 +1083,23 @@ class Table extends BaseComponent {
|
|
|
1083
1083
|
bodyHasScrollBar
|
|
1084
1084
|
});
|
|
1085
1085
|
}
|
|
1086
|
+
},
|
|
1087
|
+
|
|
1088
|
+
stopPropagation(e) {
|
|
1089
|
+
// The event definition here is not very accurate for now, it belongs to a broad structure definition
|
|
1090
|
+
if (e && typeof e === 'object') {
|
|
1091
|
+
if (typeof e.stopPropagation === 'function') {
|
|
1092
|
+
e.stopPropagation();
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
if (e.nativeEvent && typeof e.nativeEvent.stopPropagation === 'function') {
|
|
1096
|
+
e.nativeEvent.stopPropagation();
|
|
1097
|
+
} else if (typeof e.stopImmediatePropagation === 'function') {
|
|
1098
|
+
e.stopImmediatePropagation();
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1086
1101
|
}
|
|
1102
|
+
|
|
1087
1103
|
});
|
|
1088
1104
|
}
|
|
1089
1105
|
|
|
@@ -51,6 +51,7 @@ export default class TableHeaderRow extends BaseComponent<TableHeaderRowProps, R
|
|
|
51
51
|
getCaches(): any;
|
|
52
52
|
setCache(key: any, value: any): void;
|
|
53
53
|
stopPropagation(e: any): void;
|
|
54
|
+
persistEvent: (event: any) => void;
|
|
54
55
|
};
|
|
55
56
|
headerNode: HTMLElement;
|
|
56
57
|
context: TableContextProps;
|
|
@@ -133,6 +133,8 @@ export interface FilterDropdownItem {
|
|
|
133
133
|
}
|
|
134
134
|
export interface RenderOptions {
|
|
135
135
|
expandIcon?: React.ReactNode;
|
|
136
|
+
selection?: React.ReactNode;
|
|
137
|
+
indentText?: React.ReactNode;
|
|
136
138
|
}
|
|
137
139
|
export interface OnCellReturnObject extends React.TdHTMLAttributes<HTMLElement> {
|
|
138
140
|
[x: string]: any;
|
|
@@ -81,7 +81,7 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
|
|
|
81
81
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
82
82
|
motion: PropTypes.Requireable<boolean | object>;
|
|
83
83
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
84
|
-
position: PropTypes.Requireable<"
|
|
84
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
85
85
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
86
86
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
87
87
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
|
@@ -37,7 +37,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
37
37
|
underline: PropTypes.Requireable<boolean>;
|
|
38
38
|
strong: PropTypes.Requireable<boolean>;
|
|
39
39
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
|
|
40
|
-
heading: PropTypes.Requireable<
|
|
40
|
+
heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
|
|
41
41
|
style: PropTypes.Requireable<object>;
|
|
42
42
|
className: PropTypes.Requireable<string>;
|
|
43
43
|
component: PropTypes.Requireable<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@douyinfe/semi-animation": "2.12.0",
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.
|
|
22
|
-
"@douyinfe/semi-foundation": "2.
|
|
23
|
-
"@douyinfe/semi-icons": "2.
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.22.0-beta.0",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.22.0-beta.0",
|
|
23
|
+
"@douyinfe/semi-icons": "2.22.0-beta.0",
|
|
24
24
|
"@douyinfe/semi-illustrations": "2.15.0",
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.22.0-beta.0",
|
|
26
26
|
"async-validator": "^3.5.0",
|
|
27
27
|
"classnames": "^2.2.6",
|
|
28
28
|
"copy-text-to-clipboard": "^2.1.1",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"author": "",
|
|
71
71
|
"license": "MIT",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "6dbdc576c3bfa810e1fac609d87ee53ee0925483",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
76
76
|
"@babel/preset-env": "^7.15.8",
|
|
77
77
|
"@babel/preset-react": "^7.14.5",
|
|
78
|
-
"@douyinfe/semi-scss-compile": "2.
|
|
78
|
+
"@douyinfe/semi-scss-compile": "2.22.0-beta.0",
|
|
79
79
|
"@storybook/addon-knobs": "^6.3.1",
|
|
80
80
|
"@types/lodash": "^4.14.176",
|
|
81
81
|
"@types/react": ">=16.0.0",
|
|
@@ -97,7 +97,6 @@
|
|
|
97
97
|
"jsdom": "^15.2.1",
|
|
98
98
|
"merge2": "^1.4.1",
|
|
99
99
|
"null-loader": "^3.0.0",
|
|
100
|
-
"prop-types": "15.7.2",
|
|
101
100
|
"react-dnd": "^9.5.1",
|
|
102
101
|
"react-infinite-scroller": "^1.2.4",
|
|
103
102
|
"react-storybook-addon-props-combinations": "^1.1.0",
|