@douyinfe/semi-ui-19 2.99.0 → 2.99.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.
@@ -150,7 +150,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
150
150
  preventScroll?: boolean;
151
151
  showRestTagsPopover?: boolean;
152
152
  restTagsPopoverProps?: import("../popover").PopoverProps;
153
- } & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
153
+ } & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
154
154
  static Checkbox: React.ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
155
155
  static CheckboxGroup: React.ComponentType<Omit<import("../checkbox").CheckboxGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
156
156
  static Radio: React.ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<Omit<{
88
88
  preventScroll?: boolean;
89
89
  showRestTagsPopover?: boolean;
90
90
  restTagsPopoverProps?: import("../popover").PopoverProps;
91
- } & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
91
+ } & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
92
92
  declare const FormCheckboxGroup: import("react").ComponentType<Omit<import("../checkbox/checkboxGroup").CheckboxGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
93
93
  declare const FormCheckbox: import("react").ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
94
94
  declare const FormRadioGroup: import("react").ComponentType<Omit<import("../radio/radioGroup").RadioGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
@@ -149,19 +149,19 @@ export declare function withWarning(props: ModalReactProps): {
149
149
  type: "warning";
150
150
  };
151
151
  export declare function withError(props: ModalReactProps): {
152
+ title?: React.ReactNode;
152
153
  children?: React.ReactNode;
154
+ size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
153
155
  style?: React.CSSProperties;
154
156
  className?: string;
155
- getPopupContainer?: () => HTMLElement;
156
- footer?: React.ReactNode;
157
- header?: React.ReactNode;
158
- title?: React.ReactNode;
159
- direction?: any;
160
- size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
161
157
  motion?: boolean;
162
158
  visible?: boolean;
159
+ footer?: React.ReactNode;
160
+ header?: React.ReactNode;
163
161
  mask?: boolean;
164
162
  zIndex?: number;
163
+ getPopupContainer?: () => HTMLElement;
164
+ direction?: any;
165
165
  width?: string | number;
166
166
  height?: string | number;
167
167
  content?: React.ReactNode;
@@ -215,11 +215,9 @@ export declare function withError(props: ModalReactProps): {
215
215
  'aria-label'?: string;
216
216
  contentClassName?: string;
217
217
  colorful?: boolean;
218
- value?: string | number | readonly string[];
219
- form?: string;
220
- slot?: string;
221
218
  title?: string;
222
219
  name?: string;
220
+ value?: string | number | readonly string[];
223
221
  onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
224
222
  onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
225
223
  prefix?: string;
@@ -381,6 +379,8 @@ export declare function withError(props: ModalReactProps): {
381
379
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
382
380
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
383
381
  hidden?: boolean;
382
+ form?: string;
383
+ slot?: string;
384
384
  contextMenu?: string;
385
385
  defaultValue?: string | number | readonly string[];
386
386
  accessKey?: string;
@@ -61,7 +61,7 @@ export default class Title extends PureComponent<TitleProps> {
61
61
  underline: PropTypes.Requireable<boolean>;
62
62
  strong: PropTypes.Requireable<boolean>;
63
63
  type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "danger" | "tertiary" | "quaternary">;
64
- heading: PropTypes.Requireable<4 | 2 | 1 | 3 | 5 | 6>;
64
+ heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
65
65
  style: PropTypes.Requireable<object>;
66
66
  className: PropTypes.Requireable<string>;
67
67
  component: PropTypes.Requireable<string>;
@@ -145,7 +145,7 @@ declare class Upload extends BaseComponent<UploadProps, UploadState> {
145
145
  hotSpotLocation: PropTypes.Requireable<string>;
146
146
  itemStyle: PropTypes.Requireable<object>;
147
147
  limit: PropTypes.Requireable<number>;
148
- listType: PropTypes.Requireable<"picture" | "none" | "list">;
148
+ listType: PropTypes.Requireable<"none" | "picture" | "list">;
149
149
  maxSize: PropTypes.Requireable<number>;
150
150
  minSize: PropTypes.Requireable<number>;
151
151
  multiple: PropTypes.Requireable<boolean>;
@@ -150,7 +150,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
150
150
  preventScroll?: boolean;
151
151
  showRestTagsPopover?: boolean;
152
152
  restTagsPopoverProps?: import("../popover").PopoverProps;
153
- } & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
153
+ } & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
154
154
  static Checkbox: React.ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
155
155
  static CheckboxGroup: React.ComponentType<Omit<import("../checkbox").CheckboxGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
156
156
  static Radio: React.ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<Omit<{
88
88
  preventScroll?: boolean;
89
89
  showRestTagsPopover?: boolean;
90
90
  restTagsPopoverProps?: import("../popover").PopoverProps;
91
- } & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
91
+ } & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "rePosKey"> & import("./interface").CommonFieldProps, keyof import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
92
92
  declare const FormCheckboxGroup: import("react").ComponentType<Omit<import("../checkbox/checkboxGroup").CheckboxGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
93
93
  declare const FormCheckbox: import("react").ComponentType<Omit<import("./interface").CommonFieldProps, keyof import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
94
94
  declare const FormRadioGroup: import("react").ComponentType<Omit<import("../radio/radioGroup").RadioGroupProps, keyof import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
@@ -149,19 +149,19 @@ export declare function withWarning(props: ModalReactProps): {
149
149
  type: "warning";
150
150
  };
151
151
  export declare function withError(props: ModalReactProps): {
152
+ title?: React.ReactNode;
152
153
  children?: React.ReactNode;
154
+ size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
153
155
  style?: React.CSSProperties;
154
156
  className?: string;
155
- getPopupContainer?: () => HTMLElement;
156
- footer?: React.ReactNode;
157
- header?: React.ReactNode;
158
- title?: React.ReactNode;
159
- direction?: any;
160
- size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
161
157
  motion?: boolean;
162
158
  visible?: boolean;
159
+ footer?: React.ReactNode;
160
+ header?: React.ReactNode;
163
161
  mask?: boolean;
164
162
  zIndex?: number;
163
+ getPopupContainer?: () => HTMLElement;
164
+ direction?: any;
165
165
  width?: string | number;
166
166
  height?: string | number;
167
167
  content?: React.ReactNode;
@@ -215,11 +215,9 @@ export declare function withError(props: ModalReactProps): {
215
215
  'aria-label'?: string;
216
216
  contentClassName?: string;
217
217
  colorful?: boolean;
218
- value?: string | number | readonly string[];
219
- form?: string;
220
- slot?: string;
221
218
  title?: string;
222
219
  name?: string;
220
+ value?: string | number | readonly string[];
223
221
  onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
224
222
  onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
225
223
  prefix?: string;
@@ -381,6 +379,8 @@ export declare function withError(props: ModalReactProps): {
381
379
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
382
380
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
383
381
  hidden?: boolean;
382
+ form?: string;
383
+ slot?: string;
384
384
  contextMenu?: string;
385
385
  defaultValue?: string | number | readonly string[];
386
386
  accessKey?: string;
@@ -61,7 +61,7 @@ export default class Title extends PureComponent<TitleProps> {
61
61
  underline: PropTypes.Requireable<boolean>;
62
62
  strong: PropTypes.Requireable<boolean>;
63
63
  type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "danger" | "tertiary" | "quaternary">;
64
- heading: PropTypes.Requireable<4 | 2 | 1 | 3 | 5 | 6>;
64
+ heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
65
65
  style: PropTypes.Requireable<object>;
66
66
  className: PropTypes.Requireable<string>;
67
67
  component: PropTypes.Requireable<string>;
@@ -145,7 +145,7 @@ declare class Upload extends BaseComponent<UploadProps, UploadState> {
145
145
  hotSpotLocation: PropTypes.Requireable<string>;
146
146
  itemStyle: PropTypes.Requireable<object>;
147
147
  limit: PropTypes.Requireable<number>;
148
- listType: PropTypes.Requireable<"picture" | "none" | "list">;
148
+ listType: PropTypes.Requireable<"none" | "picture" | "list">;
149
149
  maxSize: PropTypes.Requireable<number>;
150
150
  minSize: PropTypes.Requireable<number>;
151
151
  multiple: PropTypes.Requireable<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui-19",
3
- "version": "2.99.0",
3
+ "version": "2.99.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. (React 19 Compatible)",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -8036,12 +8036,12 @@
8036
8036
  "@dnd-kit/core": "^6.0.8",
8037
8037
  "@dnd-kit/sortable": "^7.0.2",
8038
8038
  "@dnd-kit/utilities": "^3.2.1",
8039
- "@douyinfe/semi-animation": "2.99.0",
8040
- "@douyinfe/semi-animation-react": "2.99.0",
8041
- "@douyinfe/semi-foundation": "2.99.0",
8042
- "@douyinfe/semi-icons": "2.99.0",
8043
- "@douyinfe/semi-illustrations": "2.99.0",
8044
- "@douyinfe/semi-theme-default": "2.99.0",
8039
+ "@douyinfe/semi-animation": "2.99.1",
8040
+ "@douyinfe/semi-animation-react": "2.99.1",
8041
+ "@douyinfe/semi-foundation": "2.99.1",
8042
+ "@douyinfe/semi-icons": "2.99.1",
8043
+ "@douyinfe/semi-illustrations": "2.99.1",
8044
+ "@douyinfe/semi-theme-default": "2.99.1",
8045
8045
  "@tiptap/core": "^3.10.7",
8046
8046
  "@tiptap/extension-document": "^3.10.7",
8047
8047
  "@tiptap/extension-hard-break": "^3.10.7",
@@ -8113,7 +8113,7 @@
8113
8113
  ],
8114
8114
  "author": "",
8115
8115
  "license": "MIT",
8116
- "gitHead": "c62861b574b51ae39afe7da796ab4f14d1462ef2",
8116
+ "gitHead": "18031e63923290207dd08bb6c476accea3e0116c",
8117
8117
  "devDependencies": {
8118
8118
  "@babel/plugin-proposal-decorators": "^7.15.8",
8119
8119
  "@babel/plugin-transform-runtime": "^7.15.8",