@douyinfe/semi-ui 2.23.3 → 2.23.5

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.
@@ -438,7 +438,7 @@ function withField(Component, opts) {
438
438
  const extraCls = (0, _classnames.default)("".concat(prefix, "-field-extra"), {
439
439
  ["".concat(prefix, "-field-extra-string")]: typeof extraText === 'string',
440
440
  ["".concat(prefix, "-field-extra-middle")]: mergeExtraPos === 'middle',
441
- ["".concat(prefix, "-field-extra-botttom")]: mergeExtraPos === 'bottom'
441
+ ["".concat(prefix, "-field-extra-bottom")]: mergeExtraPos === 'bottom'
442
442
  });
443
443
  const extraContent = extraText ? /*#__PURE__*/_react.default.createElement("div", {
444
444
  className: extraCls,
@@ -4,4 +4,4 @@ import Preview from "./preview";
4
4
  import '@douyinfe/semi-foundation/lib/cjs/image/image.css';
5
5
  export default Image;
6
6
  export { PreviewInner, Preview, };
7
- export { ImageProps, PreviewImageProps, PreviewProps, } from "./interface";
7
+ export type { ImageProps, PreviewImageProps, PreviewProps, } from "./interface";
@@ -3,12 +3,12 @@ import PropTypes from 'prop-types';
3
3
  import UploadFoundation from '@douyinfe/semi-foundation/lib/cjs/upload/foundation';
4
4
  import FileCard from './fileCard';
5
5
  import BaseComponent from '../_base/baseComponent';
6
- import { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError } from './interface';
6
+ import type { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError } from './interface';
7
7
  import { Locale } from '../locale/interface';
8
8
  import '@douyinfe/semi-foundation/lib/cjs/upload/upload.css';
9
9
  import type { CustomFile, UploadAdapter, BeforeUploadObjectResult, AfterUploadResult } from '@douyinfe/semi-foundation/lib/cjs/upload/foundation';
10
10
  import type { ValidateStatus } from '../_base/baseComponent';
11
- export { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError, BeforeUploadObjectResult, AfterUploadResult, };
11
+ export type { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError, BeforeUploadObjectResult, AfterUploadResult, };
12
12
  export interface UploadProps {
13
13
  accept?: string;
14
14
  action: string;
@@ -413,7 +413,7 @@ function withField(Component, opts) {
413
413
  const extraCls = classNames("".concat(prefix, "-field-extra"), {
414
414
  ["".concat(prefix, "-field-extra-string")]: typeof extraText === 'string',
415
415
  ["".concat(prefix, "-field-extra-middle")]: mergeExtraPos === 'middle',
416
- ["".concat(prefix, "-field-extra-botttom")]: mergeExtraPos === 'bottom'
416
+ ["".concat(prefix, "-field-extra-bottom")]: mergeExtraPos === 'bottom'
417
417
  });
418
418
  const extraContent = extraText ? /*#__PURE__*/React.createElement("div", {
419
419
  className: extraCls,
@@ -4,4 +4,4 @@ import Preview from "./preview";
4
4
  import '@douyinfe/semi-foundation/lib/es/image/image.css';
5
5
  export default Image;
6
6
  export { PreviewInner, Preview, };
7
- export { ImageProps, PreviewImageProps, PreviewProps, } from "./interface";
7
+ export type { ImageProps, PreviewImageProps, PreviewProps, } from "./interface";
@@ -3,12 +3,12 @@ import PropTypes from 'prop-types';
3
3
  import UploadFoundation from '@douyinfe/semi-foundation/lib/es/upload/foundation';
4
4
  import FileCard from './fileCard';
5
5
  import BaseComponent from '../_base/baseComponent';
6
- import { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError } from './interface';
6
+ import type { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError } from './interface';
7
7
  import { Locale } from '../locale/interface';
8
8
  import '@douyinfe/semi-foundation/lib/es/upload/upload.css';
9
9
  import type { CustomFile, UploadAdapter, BeforeUploadObjectResult, AfterUploadResult } from '@douyinfe/semi-foundation/lib/es/upload/foundation';
10
10
  import type { ValidateStatus } from '../_base/baseComponent';
11
- export { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError, BeforeUploadObjectResult, AfterUploadResult, };
11
+ export type { FileItem, RenderFileItemProps, UploadListType, PromptPositionType, BeforeUploadProps, AfterUploadProps, OnChangeProps, customRequestArgs, CustomError, BeforeUploadObjectResult, AfterUploadResult, };
12
12
  export interface UploadProps {
13
13
  accept?: string;
14
14
  action: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.23.3",
3
+ "version": "2.23.5",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -17,12 +17,12 @@
17
17
  "lib/*"
18
18
  ],
19
19
  "dependencies": {
20
- "@douyinfe/semi-animation": "2.12.0",
21
- "@douyinfe/semi-animation-react": "2.23.3",
22
- "@douyinfe/semi-foundation": "2.23.3",
23
- "@douyinfe/semi-icons": "2.23.3",
24
- "@douyinfe/semi-illustrations": "2.15.0",
25
- "@douyinfe/semi-theme-default": "2.23.3",
20
+ "@douyinfe/semi-animation": "2.23.5",
21
+ "@douyinfe/semi-animation-react": "2.23.5",
22
+ "@douyinfe/semi-foundation": "2.23.5",
23
+ "@douyinfe/semi-icons": "2.23.5",
24
+ "@douyinfe/semi-illustrations": "2.23.5",
25
+ "@douyinfe/semi-theme-default": "2.23.5",
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": "5aadb20452c9705c91bcc32013a4e7dee74e49fd",
72
+ "gitHead": "c3cd98419912c96831a20c5a9f8ce33295b19d5d",
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.23.3",
78
+ "@douyinfe/semi-scss-compile": "2.23.2",
79
79
  "@storybook/addon-knobs": "^6.3.1",
80
80
  "@types/lodash": "^4.14.176",
81
81
  "@types/react": ">=16.0.0",