@semcore/errors 3.0.3 → 3.1.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 +18 -0
- package/lib/cjs/Error.js +1 -1
- package/lib/cjs/index.d.ts +2 -2
- package/lib/es6/Error.js +1 -1
- package/lib/es6/index.d.ts +2 -2
- package/lib/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.1.0] - 2022-06-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Changed type names from 'iconNames' to 'iconNamesErrors' so that there are no intersections with other components.
|
|
10
|
+
|
|
11
|
+
## [3.0.5] - 2022-05-31
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/button` [4.0.4 ~> 4.0.5]).
|
|
16
|
+
|
|
17
|
+
## [3.0.4] - 2022-05-27
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Version patch update due to children dependencies update (`@semcore/button` [4.0.3 ~> 4.0.4]).
|
|
22
|
+
|
|
5
23
|
## [3.0.3] - 2022-05-23
|
|
6
24
|
|
|
7
25
|
### Changed
|
package/lib/cjs/Error.js
CHANGED
|
@@ -58,7 +58,7 @@ _core.sstyled.insert(
|
|
|
58
58
|
"__SDescription": "___SDescription_1l5sz_gg_",
|
|
59
59
|
"__SControls": "___SControls_1l5sz_gg_"
|
|
60
60
|
});
|
|
61
|
-
var version = "3.0
|
|
61
|
+
var version = "3.1.0";
|
|
62
62
|
|
|
63
63
|
var getIconPath = function getIconPath(name) {
|
|
64
64
|
return "//static.semrush.com/ui-kit/errors/".concat(version, "/").concat(name, ".svg");
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Box, IFlexProps } from '@semcore/flex-box';
|
|
|
3
3
|
import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesErrors =
|
|
7
7
|
| 'access_denied'
|
|
8
8
|
| 'blocked'
|
|
9
9
|
| 'confirmation'
|
|
@@ -86,7 +86,7 @@ declare const PageNotFound: <T>(props: IPageNotFoundProps & IErrorsProps & T) =>
|
|
|
86
86
|
declare const PageError: <T>(props: IPageErrorProps & IErrorsProps & T) => ReturnEl;
|
|
87
87
|
declare const Maintenance: <T>(props: IMaintenanceProps & IErrorsProps & T) => ReturnEl;
|
|
88
88
|
declare const AccessDenied: <T>(props: IAccessDeniedProps & IErrorsProps & T) => ReturnEl;
|
|
89
|
-
declare const getIconPath: (name:
|
|
89
|
+
declare const getIconPath: (name: iconNamesErrors) => string;
|
|
90
90
|
|
|
91
91
|
export default Error;
|
|
92
92
|
export { ProjectNotFound, PageNotFound, PageError, Maintenance, AccessDenied, getIconPath };
|
package/lib/es6/Error.js
CHANGED
|
@@ -41,7 +41,7 @@ _sstyled.insert(
|
|
|
41
41
|
"__SDescription": "___SDescription_1l5sz_gg_",
|
|
42
42
|
"__SControls": "___SControls_1l5sz_gg_"
|
|
43
43
|
});
|
|
44
|
-
var version = "3.0
|
|
44
|
+
var version = "3.1.0";
|
|
45
45
|
export var getIconPath = function getIconPath(name) {
|
|
46
46
|
return "//static.semrush.com/ui-kit/errors/".concat(version, "/").concat(name, ".svg");
|
|
47
47
|
};
|
package/lib/es6/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Box, IFlexProps } from '@semcore/flex-box';
|
|
|
3
3
|
import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesErrors =
|
|
7
7
|
| 'access_denied'
|
|
8
8
|
| 'blocked'
|
|
9
9
|
| 'confirmation'
|
|
@@ -86,7 +86,7 @@ declare const PageNotFound: <T>(props: IPageNotFoundProps & IErrorsProps & T) =>
|
|
|
86
86
|
declare const PageError: <T>(props: IPageErrorProps & IErrorsProps & T) => ReturnEl;
|
|
87
87
|
declare const Maintenance: <T>(props: IMaintenanceProps & IErrorsProps & T) => ReturnEl;
|
|
88
88
|
declare const AccessDenied: <T>(props: IAccessDeniedProps & IErrorsProps & T) => ReturnEl;
|
|
89
|
-
declare const getIconPath: (name:
|
|
89
|
+
declare const getIconPath: (name: iconNamesErrors) => string;
|
|
90
90
|
|
|
91
91
|
export default Error;
|
|
92
92
|
export { ProjectNotFound, PageNotFound, PageError, Maintenance, AccessDenied, getIconPath };
|
package/lib/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Box, IFlexProps } from '@semcore/flex-box';
|
|
|
3
3
|
import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesErrors =
|
|
7
7
|
| 'access_denied'
|
|
8
8
|
| 'blocked'
|
|
9
9
|
| 'confirmation'
|
|
@@ -86,7 +86,7 @@ declare const PageNotFound: <T>(props: IPageNotFoundProps & IErrorsProps & T) =>
|
|
|
86
86
|
declare const PageError: <T>(props: IPageErrorProps & IErrorsProps & T) => ReturnEl;
|
|
87
87
|
declare const Maintenance: <T>(props: IMaintenanceProps & IErrorsProps & T) => ReturnEl;
|
|
88
88
|
declare const AccessDenied: <T>(props: IAccessDeniedProps & IErrorsProps & T) => ReturnEl;
|
|
89
|
-
declare const getIconPath: (name:
|
|
89
|
+
declare const getIconPath: (name: iconNamesErrors) => string;
|
|
90
90
|
|
|
91
91
|
export default Error;
|
|
92
92
|
export { ProjectNotFound, PageNotFound, PageError, Maintenance, AccessDenied, getIconPath };
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Box, IFlexProps } from '@semcore/flex-box';
|
|
|
3
3
|
import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesErrors =
|
|
7
7
|
| 'access_denied'
|
|
8
8
|
| 'blocked'
|
|
9
9
|
| 'confirmation'
|
|
@@ -86,7 +86,7 @@ declare const PageNotFound: <T>(props: IPageNotFoundProps & IErrorsProps & T) =>
|
|
|
86
86
|
declare const PageError: <T>(props: IPageErrorProps & IErrorsProps & T) => ReturnEl;
|
|
87
87
|
declare const Maintenance: <T>(props: IMaintenanceProps & IErrorsProps & T) => ReturnEl;
|
|
88
88
|
declare const AccessDenied: <T>(props: IAccessDeniedProps & IErrorsProps & T) => ReturnEl;
|
|
89
|
-
declare const getIconPath: (name:
|
|
89
|
+
declare const getIconPath: (name: iconNamesErrors) => string;
|
|
90
90
|
|
|
91
91
|
export default Error;
|
|
92
92
|
export { ProjectNotFound, PageNotFound, PageError, Maintenance, AccessDenied, getIconPath };
|