@kmkf-fe-packages/basic-components 0.2.2 → 0.3.1-alpha.2

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.
@@ -12,6 +12,7 @@ export interface SliderType {
12
12
  allowHalf?: boolean;
13
13
  style?: any;
14
14
  textStyle?: any;
15
+ allowClear?: boolean;
15
16
  }
16
17
  declare function ApaasRate(props: Partial<SliderType>): React.ReactElement;
17
18
  export default ApaasRate;
@@ -1,12 +1,12 @@
1
1
  import './index.less';
2
2
  export interface GoodsProps {
3
- value: GoodsValues;
4
- type: number;
3
+ value?: GoodsValues;
4
+ type?: number;
5
5
  enableItemId?: boolean;
6
6
  enableSupplierName?: boolean;
7
7
  userNick?: string;
8
8
  maxLength: number;
9
- onChange: (value: any) => void;
9
+ onChange?: (value: any) => void;
10
10
  shopList: any[];
11
11
  shopId?: string;
12
12
  disabled?: boolean;
package/package.json CHANGED
@@ -1,23 +1,21 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.2.2",
3
+ "version": "0.3.1-alpha.2",
4
4
  "description": "> TODO: description",
5
+ "author": "wangzhenggui <jianjia.wzg@raycloud.com>",
5
6
  "homepage": "",
6
7
  "license": "ISC",
7
- "author": "wangzhenggui <jianjia.wzg@raycloud.com>",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.esm.js",
10
- "files": [
11
- "dist"
12
- ],
13
10
  "scripts": {
14
- "async": "yarn build && yalc push",
15
11
  "build": "father-build",
16
12
  "start": "dumi dev",
13
+ "async": "yarn build && yalc push",
17
14
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
18
15
  },
19
- "dependencies": {
20
- "umi-request": "^1.4.0"
16
+ "gitHead": "47d57b41788f6c3283a068017db8980fdd122d6e",
17
+ "publishConfig": {
18
+ "access": "public"
21
19
  },
22
20
  "devDependencies": {
23
21
  "@umijs/test": "^3.0.5",
@@ -29,13 +27,15 @@
29
27
  "prettier": "^2.2.1",
30
28
  "yorkie": "^2.0.0"
31
29
  },
30
+ "dependencies": {
31
+ "umi-request": "^1.4.0"
32
+ },
32
33
  "peerDependencies": {
33
34
  "@ant-design/icons": "^4.7.0",
34
35
  "antd": "^4.21.4",
35
36
  "react": "^16.8.0"
36
37
  },
37
- "publishConfig": {
38
- "access": "public"
39
- },
40
- "gitHead": "7349498d2e1ec8689f314d5d01fa16421dabe44a"
38
+ "files": [
39
+ "dist"
40
+ ]
41
41
  }