@douyinfe/semi-ui 2.75.1-alpha.0 → 2.75.1-alpha.1
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/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
- package/lib/cjs/form/baseForm.d.ts +1 -1
- package/lib/cjs/form/field.d.ts +1 -1
- package/lib/cjs/modal/confirm.d.ts +10 -10
- package/lib/es/datePicker/monthsGrid.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +1 -1
- package/lib/es/form/field.d.ts +1 -1
- package/lib/es/modal/confirm.d.ts +10 -10
- package/package.json +8 -8
|
@@ -86,7 +86,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
86
86
|
renderMonth(month: Date, panelType: PanelType): React.JSX.Element;
|
|
87
87
|
handleWeeksRowNumChange: (weeksRowNum: number, panelType: PanelType) => void;
|
|
88
88
|
reselect: () => void;
|
|
89
|
-
getYAMOpenType: () => "
|
|
89
|
+
getYAMOpenType: () => "none" | "both" | "left" | "right";
|
|
90
90
|
renderTimePicker(panelType: PanelType, panelDetail: MonthInfo): React.JSX.Element;
|
|
91
91
|
renderYearAndMonth(panelType: PanelType, panelDetail: MonthInfo): React.JSX.Element;
|
|
92
92
|
renderSwitch(panelType: PanelType): React.JSX.Element;
|
|
@@ -147,7 +147,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
147
147
|
preventScroll?: boolean;
|
|
148
148
|
showRestTagsPopover?: boolean;
|
|
149
149
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
150
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
150
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
151
151
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
152
152
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
153
153
|
static Radio: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
|
package/lib/cjs/form/field.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
88
88
|
preventScroll?: boolean;
|
|
89
89
|
showRestTagsPopover?: boolean;
|
|
90
90
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
91
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
91
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
92
92
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
93
93
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
94
94
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -151,14 +151,14 @@ export declare function withError(props: ModalReactProps): {
|
|
|
151
151
|
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
152
152
|
style?: React.CSSProperties;
|
|
153
153
|
className?: string;
|
|
154
|
-
|
|
155
|
-
getPopupContainer?: () => HTMLElement;
|
|
154
|
+
visible?: boolean;
|
|
156
155
|
footer?: React.ReactNode;
|
|
157
156
|
header?: React.ReactNode;
|
|
158
|
-
direction?: any;
|
|
159
|
-
visible?: boolean;
|
|
160
157
|
mask?: boolean;
|
|
161
158
|
zIndex?: number;
|
|
159
|
+
getPopupContainer?: () => HTMLElement;
|
|
160
|
+
direction?: any;
|
|
161
|
+
motion?: boolean;
|
|
162
162
|
width?: string | number;
|
|
163
163
|
height?: string | number;
|
|
164
164
|
content?: React.ReactNode;
|
|
@@ -213,10 +213,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
213
213
|
title?: string;
|
|
214
214
|
name?: string;
|
|
215
215
|
value?: string | number | readonly string[];
|
|
216
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
217
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
218
|
-
form?: string;
|
|
219
|
-
slot?: string;
|
|
220
216
|
prefix?: string;
|
|
221
217
|
dangerouslySetInnerHTML?: {
|
|
222
218
|
__html: string | TrustedHTML;
|
|
@@ -369,13 +365,17 @@ export declare function withError(props: ModalReactProps): {
|
|
|
369
365
|
onScrollCapture?: React.UIEventHandler<HTMLButtonElement>;
|
|
370
366
|
onWheel?: React.WheelEventHandler<HTMLButtonElement>;
|
|
371
367
|
onWheelCapture?: React.WheelEventHandler<HTMLButtonElement>;
|
|
368
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
372
369
|
onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
370
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
373
371
|
onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
374
372
|
onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
375
373
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
376
374
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
377
375
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
378
376
|
hidden?: boolean;
|
|
377
|
+
form?: string;
|
|
378
|
+
slot?: string;
|
|
379
379
|
contextMenu?: string;
|
|
380
380
|
defaultValue?: string | number | readonly string[];
|
|
381
381
|
accessKey?: string;
|
|
@@ -385,7 +385,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
385
385
|
translate?: "yes" | "no";
|
|
386
386
|
role?: React.AriaRole;
|
|
387
387
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
388
|
-
inputMode?: "search" | "
|
|
388
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
389
389
|
nonce?: string;
|
|
390
390
|
tabIndex?: number;
|
|
391
391
|
color?: string;
|
|
@@ -423,7 +423,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
423
423
|
is?: string;
|
|
424
424
|
"aria-activedescendant"?: string;
|
|
425
425
|
"aria-atomic"?: boolean | "true" | "false";
|
|
426
|
-
"aria-autocomplete"?: "
|
|
426
|
+
"aria-autocomplete"?: "none" | "list" | "both" | "inline";
|
|
427
427
|
"aria-braillelabel"?: string;
|
|
428
428
|
"aria-brailleroledescription"?: string;
|
|
429
429
|
"aria-busy"?: boolean | "true" | "false";
|
|
@@ -86,7 +86,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
86
86
|
renderMonth(month: Date, panelType: PanelType): React.JSX.Element;
|
|
87
87
|
handleWeeksRowNumChange: (weeksRowNum: number, panelType: PanelType) => void;
|
|
88
88
|
reselect: () => void;
|
|
89
|
-
getYAMOpenType: () => "
|
|
89
|
+
getYAMOpenType: () => "none" | "both" | "left" | "right";
|
|
90
90
|
renderTimePicker(panelType: PanelType, panelDetail: MonthInfo): React.JSX.Element;
|
|
91
91
|
renderYearAndMonth(panelType: PanelType, panelDetail: MonthInfo): React.JSX.Element;
|
|
92
92
|
renderSwitch(panelType: PanelType): React.JSX.Element;
|
|
@@ -147,7 +147,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
147
147
|
preventScroll?: boolean;
|
|
148
148
|
showRestTagsPopover?: boolean;
|
|
149
149
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
150
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
150
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
151
151
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
152
152
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
153
153
|
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
|
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
88
88
|
preventScroll?: boolean;
|
|
89
89
|
showRestTagsPopover?: boolean;
|
|
90
90
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
91
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
91
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "getPopupContainer" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
92
92
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
93
93
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
94
94
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -151,14 +151,14 @@ export declare function withError(props: ModalReactProps): {
|
|
|
151
151
|
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
152
152
|
style?: React.CSSProperties;
|
|
153
153
|
className?: string;
|
|
154
|
-
|
|
155
|
-
getPopupContainer?: () => HTMLElement;
|
|
154
|
+
visible?: boolean;
|
|
156
155
|
footer?: React.ReactNode;
|
|
157
156
|
header?: React.ReactNode;
|
|
158
|
-
direction?: any;
|
|
159
|
-
visible?: boolean;
|
|
160
157
|
mask?: boolean;
|
|
161
158
|
zIndex?: number;
|
|
159
|
+
getPopupContainer?: () => HTMLElement;
|
|
160
|
+
direction?: any;
|
|
161
|
+
motion?: boolean;
|
|
162
162
|
width?: string | number;
|
|
163
163
|
height?: string | number;
|
|
164
164
|
content?: React.ReactNode;
|
|
@@ -213,10 +213,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
213
213
|
title?: string;
|
|
214
214
|
name?: string;
|
|
215
215
|
value?: string | number | readonly string[];
|
|
216
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
217
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
218
|
-
form?: string;
|
|
219
|
-
slot?: string;
|
|
220
216
|
prefix?: string;
|
|
221
217
|
dangerouslySetInnerHTML?: {
|
|
222
218
|
__html: string | TrustedHTML;
|
|
@@ -369,13 +365,17 @@ export declare function withError(props: ModalReactProps): {
|
|
|
369
365
|
onScrollCapture?: React.UIEventHandler<HTMLButtonElement>;
|
|
370
366
|
onWheel?: React.WheelEventHandler<HTMLButtonElement>;
|
|
371
367
|
onWheelCapture?: React.WheelEventHandler<HTMLButtonElement>;
|
|
368
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
372
369
|
onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
370
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
373
371
|
onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
374
372
|
onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
375
373
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
376
374
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
377
375
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
378
376
|
hidden?: boolean;
|
|
377
|
+
form?: string;
|
|
378
|
+
slot?: string;
|
|
379
379
|
contextMenu?: string;
|
|
380
380
|
defaultValue?: string | number | readonly string[];
|
|
381
381
|
accessKey?: string;
|
|
@@ -385,7 +385,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
385
385
|
translate?: "yes" | "no";
|
|
386
386
|
role?: React.AriaRole;
|
|
387
387
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
388
|
-
inputMode?: "search" | "
|
|
388
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
389
389
|
nonce?: string;
|
|
390
390
|
tabIndex?: number;
|
|
391
391
|
color?: string;
|
|
@@ -423,7 +423,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
423
423
|
is?: string;
|
|
424
424
|
"aria-activedescendant"?: string;
|
|
425
425
|
"aria-atomic"?: boolean | "true" | "false";
|
|
426
|
-
"aria-autocomplete"?: "
|
|
426
|
+
"aria-autocomplete"?: "none" | "list" | "both" | "inline";
|
|
427
427
|
"aria-braillelabel"?: string;
|
|
428
428
|
"aria-brailleroledescription"?: string;
|
|
429
429
|
"aria-busy"?: boolean | "true" | "false";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.75.1-alpha.
|
|
3
|
+
"version": "2.75.1-alpha.1",
|
|
4
4
|
"description": "A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"@dnd-kit/core": "^6.0.8",
|
|
21
21
|
"@dnd-kit/sortable": "^7.0.2",
|
|
22
22
|
"@dnd-kit/utilities": "^3.2.1",
|
|
23
|
-
"@douyinfe/semi-animation": "2.
|
|
24
|
-
"@douyinfe/semi-animation-react": "2.
|
|
25
|
-
"@douyinfe/semi-foundation": "2.75.1-alpha.
|
|
26
|
-
"@douyinfe/semi-icons": "2.
|
|
27
|
-
"@douyinfe/semi-illustrations": "2.
|
|
28
|
-
"@douyinfe/semi-theme-default": "2.
|
|
23
|
+
"@douyinfe/semi-animation": "2.75.1-alpha.1",
|
|
24
|
+
"@douyinfe/semi-animation-react": "2.75.1-alpha.1",
|
|
25
|
+
"@douyinfe/semi-foundation": "2.75.1-alpha.1",
|
|
26
|
+
"@douyinfe/semi-icons": "2.75.1-alpha.1",
|
|
27
|
+
"@douyinfe/semi-illustrations": "2.75.1-alpha.1",
|
|
28
|
+
"@douyinfe/semi-theme-default": "2.75.1-alpha.1",
|
|
29
29
|
"async-validator": "^3.5.0",
|
|
30
30
|
"classnames": "^2.2.6",
|
|
31
31
|
"copy-text-to-clipboard": "^2.1.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
],
|
|
79
79
|
"author": "",
|
|
80
80
|
"license": "MIT",
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "008eacc5033ed0cec2856002dfdf0ecd46debb67",
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
84
84
|
"@babel/plugin-transform-runtime": "^7.15.8",
|