ztxkui 2.7.3 → 2.7.4

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,3 +1,4 @@
1
1
  /// <reference types="react" />
2
+ import './style.scss';
2
3
  declare function BasicDemo(): JSX.Element;
3
4
  export default BasicDemo;
@@ -1,6 +1,8 @@
1
1
  import InputNumber from 'components/InputNumber';
2
2
  import Tag from 'components/Tag';
3
+ import Input from 'components/Input';
3
4
  import { useState } from 'react';
5
+ import './style.scss';
4
6
  function BasicDemo() {
5
7
  var _a = useState(10), value = _a[0], setValue = _a[1];
6
8
  return (React.createElement(React.Fragment, null,
@@ -13,7 +15,8 @@ function BasicDemo() {
13
15
  React.createElement(Tag, { type: "normal" }, "\u4F60\u597D"),
14
16
  React.createElement(Tag, { type: "processing" }, "\u4F60\u597D"),
15
17
  React.createElement(Tag, { type: "warning" }, "\u4F60\u597D")),
16
- React.createElement("div", null,
17
- React.createElement("button", { onClick: function () { return console.log(value); } }, "\u83B7\u53D6\u6570\u636E"))));
18
+ React.createElement("div", { className: "placeholder" },
19
+ React.createElement("button", { onClick: function () { return console.log(value); } }, "\u83B7\u53D6\u6570\u636E")),
20
+ React.createElement(Input.TextArea, { className: "placeholder" })));
18
21
  }
19
22
  export default BasicDemo;
@@ -237,7 +237,7 @@ function EnhanceSelect(_a) {
237
237
  getRemoteDataHandle(value, '');
238
238
  // }
239
239
  };
240
- var onSearchHandle = debounce(searchHandle, 300);
240
+ var onSearchHandle = debounce(searchHandle, 800);
241
241
  // 1、如果传入list的话,那么直接使用list数据
242
242
  useEffect(function () {
243
243
  if (Array.isArray(list)) {
package/dist/index.css CHANGED
@@ -541,7 +541,7 @@ template {
541
541
  .zt-modal .ant-modal-content > .ant-modal-footer {
542
542
  text-align: center;
543
543
  border-top: 0;
544
- padding: 10px 0 20px 0;
544
+ padding: 10px 0 10px 0;
545
545
  }
546
546
 
547
547
  .zt-pagination {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",