@douyinfe/semi-ui 2.49.0 → 2.49.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.
@@ -1,4 +1,6 @@
1
1
  import './_base/base.css';
2
+ export { default as BaseFoundation } from '@douyinfe/semi-foundation/lib/cjs/base/foundation';
3
+ export { default as BaseComponent } from "./_base/baseComponent";
2
4
  export { default as Anchor } from './anchor';
3
5
  export { default as AutoComplete } from './autoComplete';
4
6
  export { default as Avatar } from './avatar';
package/lib/cjs/index.js CHANGED
@@ -51,6 +51,18 @@ Object.defineProperty(exports, "Banner", {
51
51
  return _banner.default;
52
52
  }
53
53
  });
54
+ Object.defineProperty(exports, "BaseComponent", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _baseComponent.default;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "BaseFoundation", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _foundation.default;
64
+ }
65
+ });
54
66
  Object.defineProperty(exports, "Breadcrumb", {
55
67
  enumerable: true,
56
68
  get: function () {
@@ -562,6 +574,8 @@ Object.defineProperty(exports, "withFormState", {
562
574
  }
563
575
  });
564
576
  require("./_base/base.css");
577
+ var _foundation = _interopRequireDefault(require("@douyinfe/semi-foundation/lib/cjs/base/foundation"));
578
+ var _baseComponent = _interopRequireDefault(require("./_base/baseComponent"));
565
579
  var _anchor = _interopRequireDefault(require("./anchor"));
566
580
  var _autoComplete = _interopRequireDefault(require("./autoComplete"));
567
581
  var _avatar = _interopRequireDefault(require("./avatar"));
@@ -157,13 +157,13 @@ export declare function withError(props: ModalReactProps): {
157
157
  height?: string | number;
158
158
  content?: React.ReactNode;
159
159
  icon: string | number | boolean | React.ReactFragment | JSX.Element;
160
- onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
161
160
  closeOnEsc?: boolean;
162
161
  preventScroll?: boolean;
163
162
  afterClose?: () => void;
164
163
  keepDOM?: boolean;
165
164
  cancelText?: string;
166
165
  okText?: string;
166
+ onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
167
167
  closeIcon?: React.ReactNode;
168
168
  bodyStyle?: React.CSSProperties;
169
169
  closable?: boolean;
@@ -377,11 +377,6 @@ export declare function withError(props: ModalReactProps): {
377
377
  accessKey?: string;
378
378
  autoFocus?: boolean;
379
379
  content?: string;
380
- formAction?: string;
381
- formEncType?: string;
382
- formMethod?: string;
383
- formNoValidate?: boolean;
384
- formTarget?: string;
385
380
  contextMenu?: string;
386
381
  dir?: string;
387
382
  draggable?: boolean | "true" | "false";
@@ -463,6 +458,11 @@ export declare function withError(props: ModalReactProps): {
463
458
  'aria-valuemin'?: number;
464
459
  'aria-valuenow'?: number;
465
460
  'aria-valuetext'?: string;
461
+ formAction?: string;
462
+ formEncType?: string;
463
+ formMethod?: string;
464
+ formNoValidate?: boolean;
465
+ formTarget?: string;
466
466
  };
467
467
  };
468
468
  export declare function withConfirm(props: ModalReactProps): {
package/lib/es/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import './_base/base.css';
2
+ export { default as BaseFoundation } from '@douyinfe/semi-foundation/lib/es/base/foundation';
3
+ export { default as BaseComponent } from "./_base/baseComponent";
2
4
  export { default as Anchor } from './anchor';
3
5
  export { default as AutoComplete } from './autoComplete';
4
6
  export { default as Avatar } from './avatar';
package/lib/es/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import './_base/base.css';
2
+ export { default as BaseFoundation } from '@douyinfe/semi-foundation/lib/es/base/foundation';
3
+ export { default as BaseComponent } from "./_base/baseComponent";
2
4
  export { default as Anchor } from './anchor';
3
5
  export { default as AutoComplete } from './autoComplete';
4
6
  export { default as Avatar } from './avatar';
@@ -157,13 +157,13 @@ export declare function withError(props: ModalReactProps): {
157
157
  height?: string | number;
158
158
  content?: React.ReactNode;
159
159
  icon: string | number | boolean | React.ReactFragment | JSX.Element;
160
- onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
161
160
  closeOnEsc?: boolean;
162
161
  preventScroll?: boolean;
163
162
  afterClose?: () => void;
164
163
  keepDOM?: boolean;
165
164
  cancelText?: string;
166
165
  okText?: string;
166
+ onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
167
167
  closeIcon?: React.ReactNode;
168
168
  bodyStyle?: React.CSSProperties;
169
169
  closable?: boolean;
@@ -377,11 +377,6 @@ export declare function withError(props: ModalReactProps): {
377
377
  accessKey?: string;
378
378
  autoFocus?: boolean;
379
379
  content?: string;
380
- formAction?: string;
381
- formEncType?: string;
382
- formMethod?: string;
383
- formNoValidate?: boolean;
384
- formTarget?: string;
385
380
  contextMenu?: string;
386
381
  dir?: string;
387
382
  draggable?: boolean | "true" | "false";
@@ -463,6 +458,11 @@ export declare function withError(props: ModalReactProps): {
463
458
  'aria-valuemin'?: number;
464
459
  'aria-valuenow'?: number;
465
460
  'aria-valuetext'?: string;
461
+ formAction?: string;
462
+ formEncType?: string;
463
+ formMethod?: string;
464
+ formNoValidate?: boolean;
465
+ formTarget?: string;
466
466
  };
467
467
  };
468
468
  export declare function withConfirm(props: ModalReactProps): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.49.0",
3
+ "version": "2.49.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.49.0",
24
- "@douyinfe/semi-animation-react": "2.49.0",
25
- "@douyinfe/semi-foundation": "2.49.0",
26
- "@douyinfe/semi-icons": "2.49.0",
27
- "@douyinfe/semi-illustrations": "2.49.0",
28
- "@douyinfe/semi-theme-default": "2.49.0",
23
+ "@douyinfe/semi-animation": "2.49.1",
24
+ "@douyinfe/semi-animation-react": "2.49.1",
25
+ "@douyinfe/semi-foundation": "2.49.1",
26
+ "@douyinfe/semi-icons": "2.49.1",
27
+ "@douyinfe/semi-illustrations": "2.49.1",
28
+ "@douyinfe/semi-theme-default": "2.49.1",
29
29
  "async-validator": "^3.5.0",
30
30
  "classnames": "^2.2.6",
31
31
  "copy-text-to-clipboard": "^2.1.1",
@@ -75,7 +75,7 @@
75
75
  ],
76
76
  "author": "",
77
77
  "license": "MIT",
78
- "gitHead": "3ae380197586cc24c67bc2e6fb067533638206b2",
78
+ "gitHead": "5a1affe04071d02da9ef9dd990bb19c5d39d0462",
79
79
  "devDependencies": {
80
80
  "@babel/plugin-proposal-decorators": "^7.15.8",
81
81
  "@babel/plugin-transform-runtime": "^7.15.8",