ydb-components-material 0.1.4 → 0.1.6
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.
- package/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/icon_error.a47c88b2.svg +1 -0
- package/build/docs/static/icon_success.67acd079.svg +1 -0
- package/build/docs/static/icon_warning.8ebf6588.svg +1 -0
- package/build/docs/umi.99c36200.js +1 -0
- package/build/docs/{umi.f39ab8b9.css → umi.f2b5fd06.css} +1 -1
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/check-res/index.d.ts +12 -0
- package/es/components/check-res/index.js +45 -0
- package/es/components/check-res/index.scss +17 -0
- package/es/components/tips/icon/icon_error.svg +1 -0
- package/es/components/tips/icon/icon_success.svg +1 -0
- package/es/components/tips/icon/icon_warning.svg +1 -0
- package/es/components/tips/index.d.ts +11 -0
- package/es/components/tips/index.js +35 -0
- package/es/components/tips/index.scss +17 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +2 -0
- package/es/style.js +1 -0
- package/lib/components/check-res/index.d.ts +12 -0
- package/lib/components/check-res/index.js +51 -0
- package/lib/components/check-res/index.scss +17 -0
- package/lib/components/tips/icon/icon_error.svg +1 -0
- package/lib/components/tips/icon/icon_success.svg +1 -0
- package/lib/components/tips/icon/icon_warning.svg +1 -0
- package/lib/components/tips/index.d.ts +11 -0
- package/lib/components/tips/index.js +41 -0
- package/lib/components/tips/index.scss +17 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +5 -1
- package/lib/style.js +1 -0
- package/lowcode/card-title/meta.ts +1 -1
- package/lowcode/check-loading/meta.ts +1 -1
- package/lowcode/check-res/meta.ts +88 -0
- package/lowcode/tips/meta.ts +103 -0
- package/lowcode_es/card-title/meta.js +1 -1
- package/lowcode_es/check-loading/meta.js +1 -1
- package/lowcode_es/check-res/meta.d.ts +22 -0
- package/lowcode_es/check-res/meta.js +78 -0
- package/lowcode_es/meta.js +4 -2
- package/lowcode_es/tips/meta.d.ts +22 -0
- package/lowcode_es/tips/meta.js +86 -0
- package/lowcode_lib/card-title/meta.js +1 -1
- package/lowcode_lib/check-loading/meta.js +1 -1
- package/lowcode_lib/check-res/meta.d.ts +22 -0
- package/lowcode_lib/check-res/meta.js +83 -0
- package/lowcode_lib/meta.js +6 -4
- package/lowcode_lib/tips/meta.d.ts +22 -0
- package/lowcode_lib/tips/meta.js +91 -0
- package/package.json +9 -9
- package/build/docs/umi.5b1b24a5.js +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var TipsMeta = {
|
|
3
|
+
"componentName": "Tips",
|
|
4
|
+
"title": "Tips",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "ydb-components-material",
|
|
10
|
+
"version": "0.1.5",
|
|
11
|
+
"exportName": "Tips",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "text",
|
|
22
|
+
"zh-CN": "标题"
|
|
23
|
+
},
|
|
24
|
+
"tip": "text | 标题"
|
|
25
|
+
},
|
|
26
|
+
"name": "text",
|
|
27
|
+
"description": "标题",
|
|
28
|
+
"setter": {
|
|
29
|
+
"componentName": "StringSetter",
|
|
30
|
+
"isRequired": true,
|
|
31
|
+
"initialValue": ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
"title": {
|
|
35
|
+
"label": {
|
|
36
|
+
"type": "i18n",
|
|
37
|
+
"en-US": "type",
|
|
38
|
+
"zh-CN": "type"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "type",
|
|
42
|
+
"setter": {
|
|
43
|
+
"componentName": "RadioGroupSetter",
|
|
44
|
+
"props": {
|
|
45
|
+
"dataSource": [{
|
|
46
|
+
"label": "success",
|
|
47
|
+
"value": "success"
|
|
48
|
+
}, {
|
|
49
|
+
"label": "warning",
|
|
50
|
+
"value": "warning"
|
|
51
|
+
}, {
|
|
52
|
+
"label": "error",
|
|
53
|
+
"value": "error"
|
|
54
|
+
}],
|
|
55
|
+
"options": [{
|
|
56
|
+
"label": "success",
|
|
57
|
+
"value": "success"
|
|
58
|
+
}, {
|
|
59
|
+
"label": "warning",
|
|
60
|
+
"value": "warning"
|
|
61
|
+
}, {
|
|
62
|
+
"label": "error",
|
|
63
|
+
"value": "error"
|
|
64
|
+
}]
|
|
65
|
+
},
|
|
66
|
+
"isRequired": true,
|
|
67
|
+
"initialValue": "success"
|
|
68
|
+
}
|
|
69
|
+
}],
|
|
70
|
+
"supports": {
|
|
71
|
+
"style": true
|
|
72
|
+
},
|
|
73
|
+
"component": {}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var snippets = [{
|
|
77
|
+
"title": "提示文字",
|
|
78
|
+
"screenshot": "",
|
|
79
|
+
"schema": {
|
|
80
|
+
"componentName": "Tips",
|
|
81
|
+
"props": {}
|
|
82
|
+
}
|
|
83
|
+
}];
|
|
84
|
+
export default _extends({}, TipsMeta, {
|
|
85
|
+
snippets: snippets
|
|
86
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var CheckResMeta = {
|
|
8
|
+
"componentName": "CheckRes",
|
|
9
|
+
"title": "预检结果",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "ydb-components-material",
|
|
15
|
+
"version": "0.1.4",
|
|
16
|
+
"exportName": "CheckRes",
|
|
17
|
+
"main": "src/index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "res",
|
|
27
|
+
"zh-CN": "检查结果"
|
|
28
|
+
},
|
|
29
|
+
"tip": "res | 检查结果"
|
|
30
|
+
},
|
|
31
|
+
"name": "res",
|
|
32
|
+
"description": "检查结果",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "BoolSetter",
|
|
35
|
+
"isRequired": false,
|
|
36
|
+
"initialValue": false
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "name",
|
|
43
|
+
"zh-CN": "检查项目"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"name": "name",
|
|
47
|
+
"setter": {
|
|
48
|
+
"componentName": "StringSetter",
|
|
49
|
+
"isRequired": true,
|
|
50
|
+
"initialValue": ""
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "hasBorderBottom",
|
|
57
|
+
"zh-CN": "下边框"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "hasBorderBottom",
|
|
61
|
+
"setter": {
|
|
62
|
+
"componentName": "BoolSetter",
|
|
63
|
+
"isRequired": true,
|
|
64
|
+
"initialValue": true
|
|
65
|
+
}
|
|
66
|
+
}],
|
|
67
|
+
"supports": {
|
|
68
|
+
"style": true
|
|
69
|
+
},
|
|
70
|
+
"component": {}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
var snippets = [{
|
|
74
|
+
"title": "预检结果",
|
|
75
|
+
"screenshot": "",
|
|
76
|
+
"schema": {
|
|
77
|
+
"componentName": "CheckRes",
|
|
78
|
+
"props": {}
|
|
79
|
+
}
|
|
80
|
+
}];
|
|
81
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, CheckResMeta, {
|
|
82
|
+
snippets: snippets
|
|
83
|
+
});
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -6,8 +6,10 @@ exports.components = exports.componentList = void 0;
|
|
|
6
6
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
7
|
var _meta = _interopRequireDefault(require("./card-title/meta"));
|
|
8
8
|
var _meta2 = _interopRequireDefault(require("./check-loading/meta"));
|
|
9
|
-
var _meta3 = _interopRequireDefault(require("./
|
|
10
|
-
var _meta4 = _interopRequireDefault(require("./colorful-
|
|
9
|
+
var _meta3 = _interopRequireDefault(require("./check-res/meta"));
|
|
10
|
+
var _meta4 = _interopRequireDefault(require("./colorful-button/meta"));
|
|
11
|
+
var _meta5 = _interopRequireDefault(require("./colorful-input/meta"));
|
|
12
|
+
var _meta6 = _interopRequireDefault(require("./tips/meta"));
|
|
11
13
|
var componentCategorySort = {};
|
|
12
14
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
13
15
|
componentCategorySort[item] = ++index;
|
|
@@ -79,7 +81,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
79
81
|
packageName = 'ydb-components-material';
|
|
80
82
|
}
|
|
81
83
|
if (version === void 0) {
|
|
82
|
-
version = '0.1.
|
|
84
|
+
version = '0.1.6';
|
|
83
85
|
}
|
|
84
86
|
if (basicLibraryVersion === void 0) {
|
|
85
87
|
basicLibraryVersion = {
|
|
@@ -106,7 +108,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
106
108
|
}
|
|
107
109
|
return meta;
|
|
108
110
|
}
|
|
109
|
-
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"]];
|
|
111
|
+
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"]];
|
|
110
112
|
var components = exports.components = [];
|
|
111
113
|
var npmInfo = {};
|
|
112
114
|
componentMetas.forEach(function (meta) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var TipsMeta = {
|
|
8
|
+
"componentName": "Tips",
|
|
9
|
+
"title": "Tips",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "ydb-components-material",
|
|
15
|
+
"version": "0.1.5",
|
|
16
|
+
"exportName": "Tips",
|
|
17
|
+
"main": "src/index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "text",
|
|
27
|
+
"zh-CN": "标题"
|
|
28
|
+
},
|
|
29
|
+
"tip": "text | 标题"
|
|
30
|
+
},
|
|
31
|
+
"name": "text",
|
|
32
|
+
"description": "标题",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "StringSetter",
|
|
35
|
+
"isRequired": true,
|
|
36
|
+
"initialValue": ""
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "type",
|
|
43
|
+
"zh-CN": "type"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"name": "type",
|
|
47
|
+
"setter": {
|
|
48
|
+
"componentName": "RadioGroupSetter",
|
|
49
|
+
"props": {
|
|
50
|
+
"dataSource": [{
|
|
51
|
+
"label": "success",
|
|
52
|
+
"value": "success"
|
|
53
|
+
}, {
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
}, {
|
|
57
|
+
"label": "error",
|
|
58
|
+
"value": "error"
|
|
59
|
+
}],
|
|
60
|
+
"options": [{
|
|
61
|
+
"label": "success",
|
|
62
|
+
"value": "success"
|
|
63
|
+
}, {
|
|
64
|
+
"label": "warning",
|
|
65
|
+
"value": "warning"
|
|
66
|
+
}, {
|
|
67
|
+
"label": "error",
|
|
68
|
+
"value": "error"
|
|
69
|
+
}]
|
|
70
|
+
},
|
|
71
|
+
"isRequired": true,
|
|
72
|
+
"initialValue": "success"
|
|
73
|
+
}
|
|
74
|
+
}],
|
|
75
|
+
"supports": {
|
|
76
|
+
"style": true
|
|
77
|
+
},
|
|
78
|
+
"component": {}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
var snippets = [{
|
|
82
|
+
"title": "提示文字",
|
|
83
|
+
"screenshot": "",
|
|
84
|
+
"schema": {
|
|
85
|
+
"componentName": "Tips",
|
|
86
|
+
"props": {}
|
|
87
|
+
}
|
|
88
|
+
}];
|
|
89
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, TipsMeta, {
|
|
90
|
+
snippets: snippets
|
|
91
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ydb-components-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "ydb-components-material",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"**/*.{css,scss,less,acss}": "f2elint exec stylelint"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
+
"moment": "latest",
|
|
63
64
|
"react": "^16.x",
|
|
64
|
-
"react-dom": "^16.x"
|
|
65
|
-
"moment": "latest"
|
|
65
|
+
"react-dom": "^16.x"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@alib/build-scripts": "^0.1.3",
|
|
@@ -70,21 +70,21 @@
|
|
|
70
70
|
"@alifd/theme-2": "^0.4.0",
|
|
71
71
|
"@types/react": "^16.14.24",
|
|
72
72
|
"@types/react-dom": "^16.9.4",
|
|
73
|
+
"@umijs/plugin-sass": "^1.1.1",
|
|
73
74
|
"build-plugin-component": "^1.12.1",
|
|
74
75
|
"build-plugin-fusion": "^0.1.0",
|
|
75
76
|
"cross-env": "^7.0.3",
|
|
76
|
-
"@umijs/plugin-sass": "^1.1.1",
|
|
77
77
|
"dumi": "^1.1.49",
|
|
78
78
|
"dumi-theme-default": "^1.1.24",
|
|
79
79
|
"f2elint": "^1.2.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"moment": "^2.29.4",
|
|
83
82
|
"@alifd/next": "^1.25.27",
|
|
83
|
+
"@babel/runtime": "^7.0.0",
|
|
84
|
+
"moment": "latest",
|
|
84
85
|
"prop-types": "^15.5.8",
|
|
85
86
|
"react": "^16.x",
|
|
86
|
-
"react-dom": "^16.x"
|
|
87
|
-
"@babel/runtime": "^7.0.0"
|
|
87
|
+
"react-dom": "^16.x"
|
|
88
88
|
},
|
|
89
89
|
"acceptDependencies": {
|
|
90
90
|
"webpack": "^4.46.x"
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
},
|
|
95
95
|
"componentConfig": {
|
|
96
96
|
"isComponentLibrary": true,
|
|
97
|
-
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.
|
|
97
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.6/build/lowcode/assets-prod.json"
|
|
98
98
|
},
|
|
99
99
|
"lcMeta": {
|
|
100
100
|
"type": "component"
|
|
101
101
|
},
|
|
102
|
-
"homepage": "https://unpkg.com/ydb-components-material@0.1.
|
|
102
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.6/build/index.html"
|
|
103
103
|
}
|