@next-core/illustrations 0.4.3 → 0.5.0
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/CHANGELOG.md +23 -2
- package/dist/illustrations/default/browser-version-low-dark.070ea4ba43589f48.png +0 -0
- package/dist/illustrations/default/create-content-dark.756b7b17e33f78d6.png +0 -0
- package/dist/illustrations/default/no-content-dark.4b00189fe3073a93.png +0 -0
- package/dist/illustrations/default/no-history-dark.8164f87ff7c3bccf.png +0 -0
- package/dist/illustrations/default/search-empty-dark.9f404e5eff4adbb9.png +0 -0
- package/dist/illustrations/exception/http-403-dark.ef32a74be2c7fda4.png +0 -0
- package/dist/illustrations/exception/http-404-dark.bb7ef10a563d9899.png +0 -0
- package/dist/illustrations/exception/http-500-dark.b53804258f967a1f.png +0 -0
- package/dist/illustrations/feedback/exception-dark.1b9cf6edbaff4c08.png +0 -0
- package/dist/illustrations/feedback/fail-dark.315c90cbee982055.png +0 -0
- package/dist/illustrations/feedback/info-dark.1323848910129900.png +0 -0
- package/dist/illustrations/feedback/success-dark.4c961b1f73139d0b.png +0 -0
- package/dist/index.bundle.js +56 -17
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +56 -17
- package/dist/index.esm.js.map +1 -1
- package/dist/types/Illustrations.d.ts +2 -0
- package/dist/types/categories.d.ts +24 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [0.5.0](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.6...@next-core/illustrations@0.5.0) (2022-01-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* adapt to the dark theme and add dark icons ([8268b9b](https://github.com/easyops-cn/next-core/commit/8268b9b4309d56bd2ca35465b00b92cc78634863))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.4.6](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.5...@next-core/illustrations@0.4.6) (2021-12-17)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @next-core/illustrations
|
|
9
20
|
|
|
@@ -11,13 +22,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
22
|
|
|
12
23
|
|
|
13
24
|
|
|
14
|
-
## [0.4.
|
|
25
|
+
## [0.4.5](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.4...@next-core/illustrations@0.4.5) (2021-11-18)
|
|
15
26
|
|
|
16
27
|
**Note:** Version bump only for package @next-core/illustrations
|
|
17
28
|
|
|
29
|
+
## [0.4.4](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.3...@next-core/illustrations@0.4.4) (2021-11-11)
|
|
18
30
|
|
|
31
|
+
### Bug Fixes
|
|
19
32
|
|
|
33
|
+
- refine assets path ([8cb81cc](https://github.com/easyops-cn/next-core/commit/8cb81cc748ee14686d71bce1a86dd0fdda1037e9))
|
|
20
34
|
|
|
35
|
+
## [0.4.3](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.2...@next-core/illustrations@0.4.3) (2021-11-09)
|
|
36
|
+
|
|
37
|
+
**Note:** Version bump only for package @next-core/illustrations
|
|
38
|
+
|
|
39
|
+
## [0.4.2](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.1...@next-core/illustrations@0.4.2) (2021-10-12)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @next-core/illustrations
|
|
21
42
|
|
|
22
43
|
## [0.4.1](https://github.com/easyops-cn/next-core/compare/@next-core/illustrations@0.4.0...@next-core/illustrations@0.4.1) (2021-09-06)
|
|
23
44
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.bundle.js
CHANGED
|
@@ -5,51 +5,87 @@
|
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var illustrationsByCategory = {
|
|
8
|
-
default: ["browser-version-low", "create-content", "no-content", "no-history", "search-empty"],
|
|
9
|
-
exception: ["http-403", "http-404", "http-500"],
|
|
10
|
-
feedback: ["exception", "fail", "info", "success"]
|
|
8
|
+
default: ["browser-version-low-dark", "browser-version-low", "create-content-dark", "create-content", "no-content-dark", "no-content", "no-history-dark", "no-history", "search-empty-dark", "search-empty"],
|
|
9
|
+
exception: ["http-403-dark", "http-403", "http-404-dark", "http-404", "http-500-dark", "http-500"],
|
|
10
|
+
feedback: ["exception-dark", "exception", "fail-dark", "fail", "info-dark", "info", "success-dark", "success"]
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var DefaultBrowserVersionLowDark = "default/browser-version-low-dark.070ea4ba43589f48.png";
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var DefaultBrowserVersionLow = "default/browser-version-low.c0e16e995fe2474f.png";
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var DefaultCreateContentDark = "default/create-content-dark.756b7b17e33f78d6.png";
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var DefaultCreateContent = "default/create-content.9f74e681aa0c3136.png";
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var DefaultNoContentDark = "default/no-content-dark.4b00189fe3073a93.png";
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var DefaultNoContent = "default/no-content.b2fae2fe14b82db3.png";
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var DefaultNoHistoryDark = "default/no-history-dark.8164f87ff7c3bccf.png";
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var DefaultNoHistory = "default/no-history.640c8692cc7b6873.png";
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var DefaultSearchEmptyDark = "default/search-empty-dark.9f404e5eff4adbb9.png";
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var DefaultSearchEmpty = "default/search-empty.4587158283ed7ce9.png";
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var ExceptionHttp_403Dark = "exception/http-403-dark.ef32a74be2c7fda4.png";
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var ExceptionHttp_403 = "exception/http-403.494862e54e1cd3b7.png";
|
|
36
|
+
|
|
37
|
+
var ExceptionHttp_404Dark = "exception/http-404-dark.bb7ef10a563d9899.png";
|
|
38
|
+
|
|
39
|
+
var ExceptionHttp_404 = "exception/http-404.b0415e68da2c9764.png";
|
|
40
|
+
|
|
41
|
+
var ExceptionHttp_500Dark = "exception/http-500-dark.b53804258f967a1f.png";
|
|
42
|
+
|
|
43
|
+
var ExceptionHttp_500 = "exception/http-500.0bb6e8481269dc01.png";
|
|
44
|
+
|
|
45
|
+
var FeedbackExceptionDark = "feedback/exception-dark.1b9cf6edbaff4c08.png";
|
|
46
|
+
|
|
47
|
+
var FeedbackException = "feedback/exception.31d66abeb73a63dc.png";
|
|
48
|
+
|
|
49
|
+
var FeedbackFailDark = "feedback/fail-dark.315c90cbee982055.png";
|
|
50
|
+
|
|
51
|
+
var FeedbackFail = "feedback/fail.f3940ed7e7e49f5f.png";
|
|
52
|
+
|
|
53
|
+
var FeedbackInfoDark = "feedback/info-dark.1323848910129900.png";
|
|
54
|
+
|
|
55
|
+
var FeedbackInfo = "feedback/info.60416d310f173a7c.png";
|
|
56
|
+
|
|
57
|
+
var FeedbackSuccessDark = "feedback/success-dark.4c961b1f73139d0b.png";
|
|
58
|
+
|
|
59
|
+
var FeedbackSuccess = "feedback/success.1f3978e0af841d7c.png";
|
|
36
60
|
|
|
37
61
|
var defaultCategory = {
|
|
62
|
+
"browser-version-low-dark": DefaultBrowserVersionLowDark,
|
|
38
63
|
"browser-version-low": DefaultBrowserVersionLow,
|
|
64
|
+
"create-content-dark": DefaultCreateContentDark,
|
|
39
65
|
"create-content": DefaultCreateContent,
|
|
66
|
+
"no-content-dark": DefaultNoContentDark,
|
|
40
67
|
"no-content": DefaultNoContent,
|
|
68
|
+
"no-history-dark": DefaultNoHistoryDark,
|
|
41
69
|
"no-history": DefaultNoHistory,
|
|
70
|
+
"search-empty-dark": DefaultSearchEmptyDark,
|
|
42
71
|
"search-empty": DefaultSearchEmpty
|
|
43
72
|
};
|
|
44
73
|
var exceptionCategory = {
|
|
74
|
+
"http-403-dark": ExceptionHttp_403Dark,
|
|
45
75
|
"http-403": ExceptionHttp_403,
|
|
76
|
+
"http-404-dark": ExceptionHttp_404Dark,
|
|
46
77
|
"http-404": ExceptionHttp_404,
|
|
78
|
+
"http-500-dark": ExceptionHttp_500Dark,
|
|
47
79
|
"http-500": ExceptionHttp_500
|
|
48
80
|
};
|
|
49
81
|
var feedbackCategory = {
|
|
82
|
+
"exception-dark": FeedbackExceptionDark,
|
|
50
83
|
exception: FeedbackException,
|
|
84
|
+
"fail-dark": FeedbackFailDark,
|
|
51
85
|
fail: FeedbackFail,
|
|
86
|
+
"info-dark": FeedbackInfoDark,
|
|
52
87
|
info: FeedbackInfo,
|
|
88
|
+
"success-dark": FeedbackSuccessDark,
|
|
53
89
|
success: FeedbackSuccess
|
|
54
90
|
};
|
|
55
91
|
var categories = {
|
|
@@ -59,10 +95,13 @@
|
|
|
59
95
|
};
|
|
60
96
|
|
|
61
97
|
function getIllustration(props) {
|
|
62
|
-
var _category;
|
|
98
|
+
var _category, _window$CORE_ROOT;
|
|
63
99
|
|
|
100
|
+
var theme = (props === null || props === void 0 ? void 0 : props.theme) || "light";
|
|
64
101
|
var category = (props === null || props === void 0 ? void 0 : props.category) || "default";
|
|
65
|
-
|
|
102
|
+
var name = theme === "dark-v2" ? "".concat(props.name, "-dark") : props.name;
|
|
103
|
+
var url = categories === null || categories === void 0 ? void 0 : (_category = categories[category]) === null || _category === void 0 ? void 0 : _category[name];
|
|
104
|
+
return url && "".concat((_window$CORE_ROOT = window.CORE_ROOT) !== null && _window$CORE_ROOT !== void 0 ? _window$CORE_ROOT : "", "assets/illustrations/").concat(url);
|
|
66
105
|
}
|
|
67
106
|
|
|
68
107
|
exports.getIllustration = getIllustration;
|
package/dist/index.bundle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.bundle.js","sources":["../src/illustrationsByCategory.ts","../src/images/default/browser-version-low.png","../src/images/default/create-content.png","../src/images/default/no-content.png","../src/images/default/no-history.png","../src/images/default/search-empty.png","../src/images/exception/http-403.png","../src/images/exception/http-404.png","../src/images/exception/http-500.png","../src/images/feedback/exception.png","../src/images/feedback/fail.png","../src/images/feedback/info.png","../src/images/feedback/success.png","../src/categories.ts","../src/Illustrations.ts"],"sourcesContent":["export const illustrationsByCategory = {\n default: [\n \"browser-version-low\",\n \"create-content\",\n \"no-content\",\n \"no-history\",\n \"search-empty\",\n ],\n exception: [\"http-403\"
|
|
1
|
+
{"version":3,"file":"index.bundle.js","sources":["../src/illustrationsByCategory.ts","../src/images/default/browser-version-low-dark.png","../src/images/default/browser-version-low.png","../src/images/default/create-content-dark.png","../src/images/default/create-content.png","../src/images/default/no-content-dark.png","../src/images/default/no-content.png","../src/images/default/no-history-dark.png","../src/images/default/no-history.png","../src/images/default/search-empty-dark.png","../src/images/default/search-empty.png","../src/images/exception/http-403-dark.png","../src/images/exception/http-403.png","../src/images/exception/http-404-dark.png","../src/images/exception/http-404.png","../src/images/exception/http-500-dark.png","../src/images/exception/http-500.png","../src/images/feedback/exception-dark.png","../src/images/feedback/exception.png","../src/images/feedback/fail-dark.png","../src/images/feedback/fail.png","../src/images/feedback/info-dark.png","../src/images/feedback/info.png","../src/images/feedback/success-dark.png","../src/images/feedback/success.png","../src/categories.ts","../src/Illustrations.ts"],"sourcesContent":["export const illustrationsByCategory = {\n default: [\n \"browser-version-low-dark\",\n \"browser-version-low\",\n \"create-content-dark\",\n \"create-content\",\n \"no-content-dark\",\n \"no-content\",\n \"no-history-dark\",\n \"no-history\",\n \"search-empty-dark\",\n \"search-empty\",\n ],\n exception: [\n \"http-403-dark\",\n \"http-403\",\n \"http-404-dark\",\n \"http-404\",\n \"http-500-dark\",\n \"http-500\",\n ],\n feedback: [\n \"exception-dark\",\n \"exception\",\n \"fail-dark\",\n \"fail\",\n \"info-dark\",\n \"info\",\n \"success-dark\",\n \"success\",\n ],\n};\n","export default \"default/browser-version-low-dark.070ea4ba43589f48.png\"","export default \"default/browser-version-low.c0e16e995fe2474f.png\"","export default \"default/create-content-dark.756b7b17e33f78d6.png\"","export default \"default/create-content.9f74e681aa0c3136.png\"","export default \"default/no-content-dark.4b00189fe3073a93.png\"","export default \"default/no-content.b2fae2fe14b82db3.png\"","export default \"default/no-history-dark.8164f87ff7c3bccf.png\"","export default \"default/no-history.640c8692cc7b6873.png\"","export default \"default/search-empty-dark.9f404e5eff4adbb9.png\"","export default \"default/search-empty.4587158283ed7ce9.png\"","export default \"exception/http-403-dark.ef32a74be2c7fda4.png\"","export default \"exception/http-403.494862e54e1cd3b7.png\"","export default \"exception/http-404-dark.bb7ef10a563d9899.png\"","export default \"exception/http-404.b0415e68da2c9764.png\"","export default \"exception/http-500-dark.b53804258f967a1f.png\"","export default \"exception/http-500.0bb6e8481269dc01.png\"","export default \"feedback/exception-dark.1b9cf6edbaff4c08.png\"","export default \"feedback/exception.31d66abeb73a63dc.png\"","export default \"feedback/fail-dark.315c90cbee982055.png\"","export default \"feedback/fail.f3940ed7e7e49f5f.png\"","export default \"feedback/info-dark.1323848910129900.png\"","export default \"feedback/info.60416d310f173a7c.png\"","export default \"feedback/success-dark.4c961b1f73139d0b.png\"","export default \"feedback/success.1f3978e0af841d7c.png\"","import DefaultBrowserVersionLowDark from \"./images/default/browser-version-low-dark.png\";\nimport DefaultBrowserVersionLow from \"./images/default/browser-version-low.png\";\nimport DefaultCreateContentDark from \"./images/default/create-content-dark.png\";\nimport DefaultCreateContent from \"./images/default/create-content.png\";\nimport DefaultNoContentDark from \"./images/default/no-content-dark.png\";\nimport DefaultNoContent from \"./images/default/no-content.png\";\nimport DefaultNoHistoryDark from \"./images/default/no-history-dark.png\";\nimport DefaultNoHistory from \"./images/default/no-history.png\";\nimport DefaultSearchEmptyDark from \"./images/default/search-empty-dark.png\";\nimport DefaultSearchEmpty from \"./images/default/search-empty.png\";\n\nimport ExceptionHttp_403Dark from \"./images/exception/http-403-dark.png\";\nimport ExceptionHttp_403 from \"./images/exception/http-403.png\";\nimport ExceptionHttp_404Dark from \"./images/exception/http-404-dark.png\";\nimport ExceptionHttp_404 from \"./images/exception/http-404.png\";\nimport ExceptionHttp_500Dark from \"./images/exception/http-500-dark.png\";\nimport ExceptionHttp_500 from \"./images/exception/http-500.png\";\n\nimport FeedbackExceptionDark from \"./images/feedback/exception-dark.png\";\nimport FeedbackException from \"./images/feedback/exception.png\";\nimport FeedbackFailDark from \"./images/feedback/fail-dark.png\";\nimport FeedbackFail from \"./images/feedback/fail.png\";\nimport FeedbackInfoDark from \"./images/feedback/info-dark.png\";\nimport FeedbackInfo from \"./images/feedback/info.png\";\nimport FeedbackSuccessDark from \"./images/feedback/success-dark.png\";\nimport FeedbackSuccess from \"./images/feedback/success.png\";\n\nexport const defaultCategory = {\n \"browser-version-low-dark\": DefaultBrowserVersionLowDark,\n \"browser-version-low\": DefaultBrowserVersionLow,\n \"create-content-dark\": DefaultCreateContentDark,\n \"create-content\": DefaultCreateContent,\n \"no-content-dark\": DefaultNoContentDark,\n \"no-content\": DefaultNoContent,\n \"no-history-dark\": DefaultNoHistoryDark,\n \"no-history\": DefaultNoHistory,\n \"search-empty-dark\": DefaultSearchEmptyDark,\n \"search-empty\": DefaultSearchEmpty,\n};\n\nexport const exceptionCategory = {\n \"http-403-dark\": ExceptionHttp_403Dark,\n \"http-403\": ExceptionHttp_403,\n \"http-404-dark\": ExceptionHttp_404Dark,\n \"http-404\": ExceptionHttp_404,\n \"http-500-dark\": ExceptionHttp_500Dark,\n \"http-500\": ExceptionHttp_500,\n};\n\nexport const feedbackCategory = {\n \"exception-dark\": FeedbackExceptionDark,\n exception: FeedbackException,\n \"fail-dark\": FeedbackFailDark,\n fail: FeedbackFail,\n \"info-dark\": FeedbackInfoDark,\n info: FeedbackInfo,\n \"success-dark\": FeedbackSuccessDark,\n success: FeedbackSuccess,\n};\n\nexport default {\n default: defaultCategory,\n exception: exceptionCategory,\n feedback: feedbackCategory,\n};\n","import categories from \"./categories\";\nimport { SiteTheme } from \"@next-core/brick-types\";\n\nexport interface IllustrationProps {\n name: string;\n category?: string;\n theme?: SiteTheme;\n}\n\nexport function getIllustration(props: IllustrationProps): any {\n const theme = props?.theme || \"light\";\n const category = props?.category || \"default\";\n const name = theme === \"dark-v2\" ? `${props.name}-dark` : props.name;\n const url = (categories as any)?.[category]?.[name];\n return url && `${window.CORE_ROOT ?? \"\"}assets/illustrations/${url}`;\n}\n"],"names":["illustrationsByCategory","default","exception","feedback","defaultCategory","DefaultBrowserVersionLowDark","DefaultBrowserVersionLow","DefaultCreateContentDark","DefaultCreateContent","DefaultNoContentDark","DefaultNoContent","DefaultNoHistoryDark","DefaultNoHistory","DefaultSearchEmptyDark","DefaultSearchEmpty","exceptionCategory","ExceptionHttp_403Dark","ExceptionHttp_403","ExceptionHttp_404Dark","ExceptionHttp_404","ExceptionHttp_500Dark","ExceptionHttp_500","feedbackCategory","FeedbackExceptionDark","FeedbackException","FeedbackFailDark","fail","FeedbackFail","FeedbackInfoDark","info","FeedbackInfo","FeedbackSuccessDark","success","FeedbackSuccess","getIllustration","props","theme","category","name","url","categories","window","CORE_ROOT"],"mappings":";;;;;;MAAaA,uBAAuB,GAAG;EACrCC,EAAAA,OAAO,EAAE,CACP,0BADO,EAEP,qBAFO,EAGP,qBAHO,EAIP,gBAJO,EAKP,iBALO,EAMP,YANO,EAOP,iBAPO,EAQP,YARO,EASP,mBATO,EAUP,cAVO,CAD4B;EAarCC,EAAAA,SAAS,EAAE,CACT,eADS,EAET,UAFS,EAGT,eAHS,EAIT,UAJS,EAKT,eALS,EAMT,UANS,CAb0B;EAqBrCC,EAAAA,QAAQ,EAAE,CACR,gBADQ,EAER,WAFQ,EAGR,WAHQ,EAIR,MAJQ,EAKR,WALQ,EAMR,MANQ,EAOR,cAPQ,EAQR,SARQ;EArB2B;;ACAvC,qCAAe;;ACAf,iCAAe;;ACAf,iCAAe;;ACAf,6BAAe;;ACAf,6BAAe;;ACAf,yBAAe;;ACAf,6BAAe;;ACAf,yBAAe;;ACAf,+BAAe;;ACAf,2BAAe;;ACAf,8BAAe;;ACAf,0BAAe;;ACAf,8BAAe;;ACAf,0BAAe;;ACAf,8BAAe;;ACAf,0BAAe;;ACAf,8BAAe;;ACAf,0BAAe;;ACAf,yBAAe;;ACAf,qBAAe;;ACAf,yBAAe;;ACAf,qBAAe;;ACAf,4BAAe;;ACAf,wBAAe;;EC2BR,IAAMC,eAAe,GAAG;EAC7B,8BAA4BC,4BADC;EAE7B,yBAAuBC,wBAFM;EAG7B,yBAAuBC,wBAHM;EAI7B,oBAAkBC,oBAJW;EAK7B,qBAAmBC,oBALU;EAM7B,gBAAcC,gBANe;EAO7B,qBAAmBC,oBAPU;EAQ7B,gBAAcC,gBARe;EAS7B,uBAAqBC,sBATQ;EAU7B,kBAAgBC;EAVa,CAAxB;EAaA,IAAMC,iBAAiB,GAAG;EAC/B,mBAAiBC,qBADc;EAE/B,cAAYC,iBAFmB;EAG/B,mBAAiBC,qBAHc;EAI/B,cAAYC,iBAJmB;EAK/B,mBAAiBC,qBALc;EAM/B,cAAYC;EANmB,CAA1B;EASA,IAAMC,gBAAgB,GAAG;EAC9B,oBAAkBC,qBADY;EAE9BrB,EAAAA,SAAS,EAAEsB,iBAFmB;EAG9B,eAAaC,gBAHiB;EAI9BC,EAAAA,IAAI,EAAEC,YAJwB;EAK9B,eAAaC,gBALiB;EAM9BC,EAAAA,IAAI,EAAEC,YANwB;EAO9B,kBAAgBC,mBAPc;EAQ9BC,EAAAA,OAAO,EAAEC;EARqB,CAAzB;AAWP,mBAAe;EACbhC,EAAAA,OAAO,EAAEG,eADI;EAEbF,EAAAA,SAAS,EAAEa,iBAFE;EAGbZ,EAAAA,QAAQ,EAAEmB;EAHG,CAAf;;ECnDO,SAASY,eAAT,CAAyBC,KAAzB,EAAwD;EAAA;;EAC7D,MAAMC,KAAK,GAAG,CAAAD,KAAK,SAAL,IAAAA,KAAK,WAAL,YAAAA,KAAK,CAAEC,KAAP,KAAgB,OAA9B;EACA,MAAMC,QAAQ,GAAG,CAAAF,KAAK,SAAL,IAAAA,KAAK,WAAL,YAAAA,KAAK,CAAEE,QAAP,KAAmB,SAApC;EACA,MAAMC,IAAI,GAAGF,KAAK,KAAK,SAAV,aAAyBD,KAAK,CAACG,IAA/B,aAA6CH,KAAK,CAACG,IAAhE;EACA,MAAMC,GAAG,GAAIC,UAAJ,aAAIA,UAAJ,oCAAIA,UAAD,CAAsBH,QAAtB,CAAH,8CAAG,UAAkCC,IAAlC,CAAZ;EACA,SAAOC,GAAG,mCAAOE,MAAM,CAACC,SAAd,iEAA2B,EAA3B,kCAAqDH,GAArD,CAAV;EACD;;;;;;;;;;;"}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,49 +1,85 @@
|
|
|
1
1
|
var illustrationsByCategory = {
|
|
2
|
-
default: ["browser-version-low", "create-content", "no-content", "no-history", "search-empty"],
|
|
3
|
-
exception: ["http-403", "http-404", "http-500"],
|
|
4
|
-
feedback: ["exception", "fail", "info", "success"]
|
|
2
|
+
default: ["browser-version-low-dark", "browser-version-low", "create-content-dark", "create-content", "no-content-dark", "no-content", "no-history-dark", "no-history", "search-empty-dark", "search-empty"],
|
|
3
|
+
exception: ["http-403-dark", "http-403", "http-404-dark", "http-404", "http-500-dark", "http-500"],
|
|
4
|
+
feedback: ["exception-dark", "exception", "fail-dark", "fail", "info-dark", "info", "success-dark", "success"]
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var DefaultBrowserVersionLowDark = "default/browser-version-low-dark.070ea4ba43589f48.png";
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var DefaultBrowserVersionLow = "default/browser-version-low.c0e16e995fe2474f.png";
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var DefaultCreateContentDark = "default/create-content-dark.756b7b17e33f78d6.png";
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var DefaultCreateContent = "default/create-content.9f74e681aa0c3136.png";
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var DefaultNoContentDark = "default/no-content-dark.4b00189fe3073a93.png";
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var DefaultNoContent = "default/no-content.b2fae2fe14b82db3.png";
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var DefaultNoHistoryDark = "default/no-history-dark.8164f87ff7c3bccf.png";
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var DefaultNoHistory = "default/no-history.640c8692cc7b6873.png";
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var DefaultSearchEmptyDark = "default/search-empty-dark.9f404e5eff4adbb9.png";
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var DefaultSearchEmpty = "default/search-empty.4587158283ed7ce9.png";
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var ExceptionHttp_403Dark = "exception/http-403-dark.ef32a74be2c7fda4.png";
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var ExceptionHttp_403 = "exception/http-403.494862e54e1cd3b7.png";
|
|
30
|
+
|
|
31
|
+
var ExceptionHttp_404Dark = "exception/http-404-dark.bb7ef10a563d9899.png";
|
|
32
|
+
|
|
33
|
+
var ExceptionHttp_404 = "exception/http-404.b0415e68da2c9764.png";
|
|
34
|
+
|
|
35
|
+
var ExceptionHttp_500Dark = "exception/http-500-dark.b53804258f967a1f.png";
|
|
36
|
+
|
|
37
|
+
var ExceptionHttp_500 = "exception/http-500.0bb6e8481269dc01.png";
|
|
38
|
+
|
|
39
|
+
var FeedbackExceptionDark = "feedback/exception-dark.1b9cf6edbaff4c08.png";
|
|
40
|
+
|
|
41
|
+
var FeedbackException = "feedback/exception.31d66abeb73a63dc.png";
|
|
42
|
+
|
|
43
|
+
var FeedbackFailDark = "feedback/fail-dark.315c90cbee982055.png";
|
|
44
|
+
|
|
45
|
+
var FeedbackFail = "feedback/fail.f3940ed7e7e49f5f.png";
|
|
46
|
+
|
|
47
|
+
var FeedbackInfoDark = "feedback/info-dark.1323848910129900.png";
|
|
48
|
+
|
|
49
|
+
var FeedbackInfo = "feedback/info.60416d310f173a7c.png";
|
|
50
|
+
|
|
51
|
+
var FeedbackSuccessDark = "feedback/success-dark.4c961b1f73139d0b.png";
|
|
52
|
+
|
|
53
|
+
var FeedbackSuccess = "feedback/success.1f3978e0af841d7c.png";
|
|
30
54
|
|
|
31
55
|
var defaultCategory = {
|
|
56
|
+
"browser-version-low-dark": DefaultBrowserVersionLowDark,
|
|
32
57
|
"browser-version-low": DefaultBrowserVersionLow,
|
|
58
|
+
"create-content-dark": DefaultCreateContentDark,
|
|
33
59
|
"create-content": DefaultCreateContent,
|
|
60
|
+
"no-content-dark": DefaultNoContentDark,
|
|
34
61
|
"no-content": DefaultNoContent,
|
|
62
|
+
"no-history-dark": DefaultNoHistoryDark,
|
|
35
63
|
"no-history": DefaultNoHistory,
|
|
64
|
+
"search-empty-dark": DefaultSearchEmptyDark,
|
|
36
65
|
"search-empty": DefaultSearchEmpty
|
|
37
66
|
};
|
|
38
67
|
var exceptionCategory = {
|
|
68
|
+
"http-403-dark": ExceptionHttp_403Dark,
|
|
39
69
|
"http-403": ExceptionHttp_403,
|
|
70
|
+
"http-404-dark": ExceptionHttp_404Dark,
|
|
40
71
|
"http-404": ExceptionHttp_404,
|
|
72
|
+
"http-500-dark": ExceptionHttp_500Dark,
|
|
41
73
|
"http-500": ExceptionHttp_500
|
|
42
74
|
};
|
|
43
75
|
var feedbackCategory = {
|
|
76
|
+
"exception-dark": FeedbackExceptionDark,
|
|
44
77
|
exception: FeedbackException,
|
|
78
|
+
"fail-dark": FeedbackFailDark,
|
|
45
79
|
fail: FeedbackFail,
|
|
80
|
+
"info-dark": FeedbackInfoDark,
|
|
46
81
|
info: FeedbackInfo,
|
|
82
|
+
"success-dark": FeedbackSuccessDark,
|
|
47
83
|
success: FeedbackSuccess
|
|
48
84
|
};
|
|
49
85
|
var categories = {
|
|
@@ -53,10 +89,13 @@ var categories = {
|
|
|
53
89
|
};
|
|
54
90
|
|
|
55
91
|
function getIllustration(props) {
|
|
56
|
-
var _category;
|
|
92
|
+
var _category, _window$CORE_ROOT;
|
|
57
93
|
|
|
94
|
+
var theme = (props === null || props === void 0 ? void 0 : props.theme) || "light";
|
|
58
95
|
var category = (props === null || props === void 0 ? void 0 : props.category) || "default";
|
|
59
|
-
|
|
96
|
+
var name = theme === "dark-v2" ? "".concat(props.name, "-dark") : props.name;
|
|
97
|
+
var url = categories === null || categories === void 0 ? void 0 : (_category = categories[category]) === null || _category === void 0 ? void 0 : _category[name];
|
|
98
|
+
return url && "".concat((_window$CORE_ROOT = window.CORE_ROOT) !== null && _window$CORE_ROOT !== void 0 ? _window$CORE_ROOT : "", "assets/illustrations/").concat(url);
|
|
60
99
|
}
|
|
61
100
|
|
|
62
101
|
export { getIllustration, illustrationsByCategory };
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../src/illustrationsByCategory.ts","../src/images/default/browser-version-low.png","../src/images/default/create-content.png","../src/images/default/no-content.png","../src/images/default/no-history.png","../src/images/default/search-empty.png","../src/images/exception/http-403.png","../src/images/exception/http-404.png","../src/images/exception/http-500.png","../src/images/feedback/exception.png","../src/images/feedback/fail.png","../src/images/feedback/info.png","../src/images/feedback/success.png","../src/categories.ts","../src/Illustrations.ts"],"sourcesContent":["export const illustrationsByCategory = {\n default: [\n \"browser-version-low\",\n \"create-content\",\n \"no-content\",\n \"no-history\",\n \"search-empty\",\n ],\n exception: [\"http-403\"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../src/illustrationsByCategory.ts","../src/images/default/browser-version-low-dark.png","../src/images/default/browser-version-low.png","../src/images/default/create-content-dark.png","../src/images/default/create-content.png","../src/images/default/no-content-dark.png","../src/images/default/no-content.png","../src/images/default/no-history-dark.png","../src/images/default/no-history.png","../src/images/default/search-empty-dark.png","../src/images/default/search-empty.png","../src/images/exception/http-403-dark.png","../src/images/exception/http-403.png","../src/images/exception/http-404-dark.png","../src/images/exception/http-404.png","../src/images/exception/http-500-dark.png","../src/images/exception/http-500.png","../src/images/feedback/exception-dark.png","../src/images/feedback/exception.png","../src/images/feedback/fail-dark.png","../src/images/feedback/fail.png","../src/images/feedback/info-dark.png","../src/images/feedback/info.png","../src/images/feedback/success-dark.png","../src/images/feedback/success.png","../src/categories.ts","../src/Illustrations.ts"],"sourcesContent":["export const illustrationsByCategory = {\n default: [\n \"browser-version-low-dark\",\n \"browser-version-low\",\n \"create-content-dark\",\n \"create-content\",\n \"no-content-dark\",\n \"no-content\",\n \"no-history-dark\",\n \"no-history\",\n \"search-empty-dark\",\n \"search-empty\",\n ],\n exception: [\n \"http-403-dark\",\n \"http-403\",\n \"http-404-dark\",\n \"http-404\",\n \"http-500-dark\",\n \"http-500\",\n ],\n feedback: [\n \"exception-dark\",\n \"exception\",\n \"fail-dark\",\n \"fail\",\n \"info-dark\",\n \"info\",\n \"success-dark\",\n \"success\",\n ],\n};\n","export default \"default/browser-version-low-dark.070ea4ba43589f48.png\"","export default \"default/browser-version-low.c0e16e995fe2474f.png\"","export default \"default/create-content-dark.756b7b17e33f78d6.png\"","export default \"default/create-content.9f74e681aa0c3136.png\"","export default \"default/no-content-dark.4b00189fe3073a93.png\"","export default \"default/no-content.b2fae2fe14b82db3.png\"","export default \"default/no-history-dark.8164f87ff7c3bccf.png\"","export default \"default/no-history.640c8692cc7b6873.png\"","export default \"default/search-empty-dark.9f404e5eff4adbb9.png\"","export default \"default/search-empty.4587158283ed7ce9.png\"","export default \"exception/http-403-dark.ef32a74be2c7fda4.png\"","export default \"exception/http-403.494862e54e1cd3b7.png\"","export default \"exception/http-404-dark.bb7ef10a563d9899.png\"","export default \"exception/http-404.b0415e68da2c9764.png\"","export default \"exception/http-500-dark.b53804258f967a1f.png\"","export default \"exception/http-500.0bb6e8481269dc01.png\"","export default \"feedback/exception-dark.1b9cf6edbaff4c08.png\"","export default \"feedback/exception.31d66abeb73a63dc.png\"","export default \"feedback/fail-dark.315c90cbee982055.png\"","export default \"feedback/fail.f3940ed7e7e49f5f.png\"","export default \"feedback/info-dark.1323848910129900.png\"","export default \"feedback/info.60416d310f173a7c.png\"","export default \"feedback/success-dark.4c961b1f73139d0b.png\"","export default \"feedback/success.1f3978e0af841d7c.png\"","import DefaultBrowserVersionLowDark from \"./images/default/browser-version-low-dark.png\";\nimport DefaultBrowserVersionLow from \"./images/default/browser-version-low.png\";\nimport DefaultCreateContentDark from \"./images/default/create-content-dark.png\";\nimport DefaultCreateContent from \"./images/default/create-content.png\";\nimport DefaultNoContentDark from \"./images/default/no-content-dark.png\";\nimport DefaultNoContent from \"./images/default/no-content.png\";\nimport DefaultNoHistoryDark from \"./images/default/no-history-dark.png\";\nimport DefaultNoHistory from \"./images/default/no-history.png\";\nimport DefaultSearchEmptyDark from \"./images/default/search-empty-dark.png\";\nimport DefaultSearchEmpty from \"./images/default/search-empty.png\";\n\nimport ExceptionHttp_403Dark from \"./images/exception/http-403-dark.png\";\nimport ExceptionHttp_403 from \"./images/exception/http-403.png\";\nimport ExceptionHttp_404Dark from \"./images/exception/http-404-dark.png\";\nimport ExceptionHttp_404 from \"./images/exception/http-404.png\";\nimport ExceptionHttp_500Dark from \"./images/exception/http-500-dark.png\";\nimport ExceptionHttp_500 from \"./images/exception/http-500.png\";\n\nimport FeedbackExceptionDark from \"./images/feedback/exception-dark.png\";\nimport FeedbackException from \"./images/feedback/exception.png\";\nimport FeedbackFailDark from \"./images/feedback/fail-dark.png\";\nimport FeedbackFail from \"./images/feedback/fail.png\";\nimport FeedbackInfoDark from \"./images/feedback/info-dark.png\";\nimport FeedbackInfo from \"./images/feedback/info.png\";\nimport FeedbackSuccessDark from \"./images/feedback/success-dark.png\";\nimport FeedbackSuccess from \"./images/feedback/success.png\";\n\nexport const defaultCategory = {\n \"browser-version-low-dark\": DefaultBrowserVersionLowDark,\n \"browser-version-low\": DefaultBrowserVersionLow,\n \"create-content-dark\": DefaultCreateContentDark,\n \"create-content\": DefaultCreateContent,\n \"no-content-dark\": DefaultNoContentDark,\n \"no-content\": DefaultNoContent,\n \"no-history-dark\": DefaultNoHistoryDark,\n \"no-history\": DefaultNoHistory,\n \"search-empty-dark\": DefaultSearchEmptyDark,\n \"search-empty\": DefaultSearchEmpty,\n};\n\nexport const exceptionCategory = {\n \"http-403-dark\": ExceptionHttp_403Dark,\n \"http-403\": ExceptionHttp_403,\n \"http-404-dark\": ExceptionHttp_404Dark,\n \"http-404\": ExceptionHttp_404,\n \"http-500-dark\": ExceptionHttp_500Dark,\n \"http-500\": ExceptionHttp_500,\n};\n\nexport const feedbackCategory = {\n \"exception-dark\": FeedbackExceptionDark,\n exception: FeedbackException,\n \"fail-dark\": FeedbackFailDark,\n fail: FeedbackFail,\n \"info-dark\": FeedbackInfoDark,\n info: FeedbackInfo,\n \"success-dark\": FeedbackSuccessDark,\n success: FeedbackSuccess,\n};\n\nexport default {\n default: defaultCategory,\n exception: exceptionCategory,\n feedback: feedbackCategory,\n};\n","import categories from \"./categories\";\nimport { SiteTheme } from \"@next-core/brick-types\";\n\nexport interface IllustrationProps {\n name: string;\n category?: string;\n theme?: SiteTheme;\n}\n\nexport function getIllustration(props: IllustrationProps): any {\n const theme = props?.theme || \"light\";\n const category = props?.category || \"default\";\n const name = theme === \"dark-v2\" ? `${props.name}-dark` : props.name;\n const url = (categories as any)?.[category]?.[name];\n return url && `${window.CORE_ROOT ?? \"\"}assets/illustrations/${url}`;\n}\n"],"names":["illustrationsByCategory","default","exception","feedback","defaultCategory","DefaultBrowserVersionLowDark","DefaultBrowserVersionLow","DefaultCreateContentDark","DefaultCreateContent","DefaultNoContentDark","DefaultNoContent","DefaultNoHistoryDark","DefaultNoHistory","DefaultSearchEmptyDark","DefaultSearchEmpty","exceptionCategory","ExceptionHttp_403Dark","ExceptionHttp_403","ExceptionHttp_404Dark","ExceptionHttp_404","ExceptionHttp_500Dark","ExceptionHttp_500","feedbackCategory","FeedbackExceptionDark","FeedbackException","FeedbackFailDark","fail","FeedbackFail","FeedbackInfoDark","info","FeedbackInfo","FeedbackSuccessDark","success","FeedbackSuccess","getIllustration","props","theme","category","name","url","categories","window","CORE_ROOT"],"mappings":"IAAaA,uBAAuB,GAAG;AACrCC,EAAAA,OAAO,EAAE,CACP,0BADO,EAEP,qBAFO,EAGP,qBAHO,EAIP,gBAJO,EAKP,iBALO,EAMP,YANO,EAOP,iBAPO,EAQP,YARO,EASP,mBATO,EAUP,cAVO,CAD4B;AAarCC,EAAAA,SAAS,EAAE,CACT,eADS,EAET,UAFS,EAGT,eAHS,EAIT,UAJS,EAKT,eALS,EAMT,UANS,CAb0B;AAqBrCC,EAAAA,QAAQ,EAAE,CACR,gBADQ,EAER,WAFQ,EAGR,WAHQ,EAIR,MAJQ,EAKR,WALQ,EAMR,MANQ,EAOR,cAPQ,EAQR,SARQ;AArB2B;;ACAvC,mCAAe;;ACAf,+BAAe;;ACAf,+BAAe;;ACAf,2BAAe;;ACAf,2BAAe;;ACAf,uBAAe;;ACAf,2BAAe;;ACAf,uBAAe;;ACAf,6BAAe;;ACAf,yBAAe;;ACAf,4BAAe;;ACAf,wBAAe;;ACAf,4BAAe;;ACAf,wBAAe;;ACAf,4BAAe;;ACAf,wBAAe;;ACAf,4BAAe;;ACAf,wBAAe;;ACAf,uBAAe;;ACAf,mBAAe;;ACAf,uBAAe;;ACAf,mBAAe;;ACAf,0BAAe;;ACAf,sBAAe;;AC2BR,IAAMC,eAAe,GAAG;AAC7B,8BAA4BC,4BADC;AAE7B,yBAAuBC,wBAFM;AAG7B,yBAAuBC,wBAHM;AAI7B,oBAAkBC,oBAJW;AAK7B,qBAAmBC,oBALU;AAM7B,gBAAcC,gBANe;AAO7B,qBAAmBC,oBAPU;AAQ7B,gBAAcC,gBARe;AAS7B,uBAAqBC,sBATQ;AAU7B,kBAAgBC;AAVa,CAAxB;AAaA,IAAMC,iBAAiB,GAAG;AAC/B,mBAAiBC,qBADc;AAE/B,cAAYC,iBAFmB;AAG/B,mBAAiBC,qBAHc;AAI/B,cAAYC,iBAJmB;AAK/B,mBAAiBC,qBALc;AAM/B,cAAYC;AANmB,CAA1B;AASA,IAAMC,gBAAgB,GAAG;AAC9B,oBAAkBC,qBADY;AAE9BrB,EAAAA,SAAS,EAAEsB,iBAFmB;AAG9B,eAAaC,gBAHiB;AAI9BC,EAAAA,IAAI,EAAEC,YAJwB;AAK9B,eAAaC,gBALiB;AAM9BC,EAAAA,IAAI,EAAEC,YANwB;AAO9B,kBAAgBC,mBAPc;AAQ9BC,EAAAA,OAAO,EAAEC;AARqB,CAAzB;AAWP,iBAAe;AACbhC,EAAAA,OAAO,EAAEG,eADI;AAEbF,EAAAA,SAAS,EAAEa,iBAFE;AAGbZ,EAAAA,QAAQ,EAAEmB;AAHG,CAAf;;ACnDO,SAASY,eAAT,CAAyBC,KAAzB,EAAwD;AAAA;;AAC7D,MAAMC,KAAK,GAAG,CAAAD,KAAK,SAAL,IAAAA,KAAK,WAAL,YAAAA,KAAK,CAAEC,KAAP,KAAgB,OAA9B;AACA,MAAMC,QAAQ,GAAG,CAAAF,KAAK,SAAL,IAAAA,KAAK,WAAL,YAAAA,KAAK,CAAEE,QAAP,KAAmB,SAApC;AACA,MAAMC,IAAI,GAAGF,KAAK,KAAK,SAAV,aAAyBD,KAAK,CAACG,IAA/B,aAA6CH,KAAK,CAACG,IAAhE;AACA,MAAMC,GAAG,GAAIC,UAAJ,aAAIA,UAAJ,oCAAIA,UAAD,CAAsBH,QAAtB,CAAH,8CAAG,UAAkCC,IAAlC,CAAZ;AACA,SAAOC,GAAG,mCAAOE,MAAM,CAACC,SAAd,iEAA2B,EAA3B,kCAAqDH,GAArD,CAAV;AACD;;;;"}
|
|
@@ -1,38 +1,62 @@
|
|
|
1
1
|
export declare const defaultCategory: {
|
|
2
|
+
"browser-version-low-dark": any;
|
|
2
3
|
"browser-version-low": any;
|
|
4
|
+
"create-content-dark": any;
|
|
3
5
|
"create-content": any;
|
|
6
|
+
"no-content-dark": any;
|
|
4
7
|
"no-content": any;
|
|
8
|
+
"no-history-dark": any;
|
|
5
9
|
"no-history": any;
|
|
10
|
+
"search-empty-dark": any;
|
|
6
11
|
"search-empty": any;
|
|
7
12
|
};
|
|
8
13
|
export declare const exceptionCategory: {
|
|
14
|
+
"http-403-dark": any;
|
|
9
15
|
"http-403": any;
|
|
16
|
+
"http-404-dark": any;
|
|
10
17
|
"http-404": any;
|
|
18
|
+
"http-500-dark": any;
|
|
11
19
|
"http-500": any;
|
|
12
20
|
};
|
|
13
21
|
export declare const feedbackCategory: {
|
|
22
|
+
"exception-dark": any;
|
|
14
23
|
exception: any;
|
|
24
|
+
"fail-dark": any;
|
|
15
25
|
fail: any;
|
|
26
|
+
"info-dark": any;
|
|
16
27
|
info: any;
|
|
28
|
+
"success-dark": any;
|
|
17
29
|
success: any;
|
|
18
30
|
};
|
|
19
31
|
declare const _default: {
|
|
20
32
|
default: {
|
|
33
|
+
"browser-version-low-dark": any;
|
|
21
34
|
"browser-version-low": any;
|
|
35
|
+
"create-content-dark": any;
|
|
22
36
|
"create-content": any;
|
|
37
|
+
"no-content-dark": any;
|
|
23
38
|
"no-content": any;
|
|
39
|
+
"no-history-dark": any;
|
|
24
40
|
"no-history": any;
|
|
41
|
+
"search-empty-dark": any;
|
|
25
42
|
"search-empty": any;
|
|
26
43
|
};
|
|
27
44
|
exception: {
|
|
45
|
+
"http-403-dark": any;
|
|
28
46
|
"http-403": any;
|
|
47
|
+
"http-404-dark": any;
|
|
29
48
|
"http-404": any;
|
|
49
|
+
"http-500-dark": any;
|
|
30
50
|
"http-500": any;
|
|
31
51
|
};
|
|
32
52
|
feedback: {
|
|
53
|
+
"exception-dark": any;
|
|
33
54
|
exception: any;
|
|
55
|
+
"fail-dark": any;
|
|
34
56
|
fail: any;
|
|
57
|
+
"info-dark": any;
|
|
35
58
|
info: any;
|
|
59
|
+
"success-dark": any;
|
|
36
60
|
success: any;
|
|
37
61
|
};
|
|
38
62
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/illustrations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/easyops-illustrations",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -29,7 +29,10 @@
|
|
|
29
29
|
"change-case": "^4.1.2",
|
|
30
30
|
"fs-extra": "^10.0.0",
|
|
31
31
|
"klaw-sync": "^6.0.0",
|
|
32
|
-
"prettier": "^2.
|
|
32
|
+
"prettier": "^2.5.1"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@next-core/brick-types": "^2.56.0"
|
|
36
|
+
},
|
|
37
|
+
"gitHead": "28f053abf94752998a42e502837ca7c3f1a96172"
|
|
35
38
|
}
|