@semcore/widget-empty 3.0.0 → 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/WidgetEmpty.js +1 -1
- package/lib/cjs/index.d.ts +2 -2
- package/lib/es6/WidgetEmpty.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 'iconNamesWidgetEmpty' so that there are no intersections with other components.
|
|
10
|
+
|
|
11
|
+
## [3.0.2] - 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/flex-box` [4.5.3 ~> 4.5.4]).
|
|
16
|
+
|
|
17
|
+
## [3.0.1] - 2022-05-19
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3]).
|
|
22
|
+
|
|
5
23
|
## [3.0.0] - 2022-05-17
|
|
6
24
|
|
|
7
25
|
### BREAK
|
package/lib/cjs/WidgetEmpty.js
CHANGED
|
@@ -56,7 +56,7 @@ _core.sstyled.insert(
|
|
|
56
56
|
"__STitle": "___STitle_lxb2f_gg_",
|
|
57
57
|
"__SDescription": "___SDescription_lxb2f_gg_"
|
|
58
58
|
});
|
|
59
|
-
var version = "3.
|
|
59
|
+
var version = "3.1.0";
|
|
60
60
|
|
|
61
61
|
var getIconPath = function getIconPath(name) {
|
|
62
62
|
return "https://static.semrush.com/ui-kit/widget-empty/".concat(version, "/").concat(name, ".svg");
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CProps, ReturnEl } from '@semcore/core';
|
|
|
3
3
|
import { Box, IFlexProps } from '@semcore/flex-box';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesWidgetEmpty =
|
|
7
7
|
| 'area-chart'
|
|
8
8
|
| 'choropleth-map-chart'
|
|
9
9
|
| 'coffee'
|
|
@@ -55,7 +55,7 @@ export interface IWidgetNoDataProps extends IWidgetEmptyProps, IWithI18nEnhanceP
|
|
|
55
55
|
/** Error description. If it is absent, use the local default one */
|
|
56
56
|
description?: React.ReactNode;
|
|
57
57
|
/* Data types */
|
|
58
|
-
type?:
|
|
58
|
+
type?: iconNamesWidgetEmpty;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const WidgetEmpty: (<T>(props: CProps<IWidgetEmptyProps> & T) => ReturnEl) & {
|
package/lib/es6/WidgetEmpty.js
CHANGED
|
@@ -37,7 +37,7 @@ _sstyled.insert(
|
|
|
37
37
|
"__STitle": "___STitle_lxb2f_gg_",
|
|
38
38
|
"__SDescription": "___SDescription_lxb2f_gg_"
|
|
39
39
|
});
|
|
40
|
-
var version = "3.
|
|
40
|
+
var version = "3.1.0";
|
|
41
41
|
export var getIconPath = function getIconPath(name) {
|
|
42
42
|
return "https://static.semrush.com/ui-kit/widget-empty/".concat(version, "/").concat(name, ".svg");
|
|
43
43
|
};
|
package/lib/es6/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CProps, ReturnEl } from '@semcore/core';
|
|
|
3
3
|
import { Box, IFlexProps } from '@semcore/flex-box';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesWidgetEmpty =
|
|
7
7
|
| 'area-chart'
|
|
8
8
|
| 'choropleth-map-chart'
|
|
9
9
|
| 'coffee'
|
|
@@ -55,7 +55,7 @@ export interface IWidgetNoDataProps extends IWidgetEmptyProps, IWithI18nEnhanceP
|
|
|
55
55
|
/** Error description. If it is absent, use the local default one */
|
|
56
56
|
description?: React.ReactNode;
|
|
57
57
|
/* Data types */
|
|
58
|
-
type?:
|
|
58
|
+
type?: iconNamesWidgetEmpty;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const WidgetEmpty: (<T>(props: CProps<IWidgetEmptyProps> & T) => ReturnEl) & {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CProps, ReturnEl } from '@semcore/core';
|
|
|
3
3
|
import { Box, IFlexProps } from '@semcore/flex-box';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesWidgetEmpty =
|
|
7
7
|
| 'area-chart'
|
|
8
8
|
| 'choropleth-map-chart'
|
|
9
9
|
| 'coffee'
|
|
@@ -55,7 +55,7 @@ export interface IWidgetNoDataProps extends IWidgetEmptyProps, IWithI18nEnhanceP
|
|
|
55
55
|
/** Error description. If it is absent, use the local default one */
|
|
56
56
|
description?: React.ReactNode;
|
|
57
57
|
/* Data types */
|
|
58
|
-
type?:
|
|
58
|
+
type?: iconNamesWidgetEmpty;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const WidgetEmpty: (<T>(props: CProps<IWidgetEmptyProps> & T) => ReturnEl) & {
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CProps, ReturnEl } from '@semcore/core';
|
|
|
3
3
|
import { Box, IFlexProps } from '@semcore/flex-box';
|
|
4
4
|
import { IWithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type iconNamesWidgetEmpty =
|
|
7
7
|
| 'area-chart'
|
|
8
8
|
| 'choropleth-map-chart'
|
|
9
9
|
| 'coffee'
|
|
@@ -55,7 +55,7 @@ export interface IWidgetNoDataProps extends IWidgetEmptyProps, IWithI18nEnhanceP
|
|
|
55
55
|
/** Error description. If it is absent, use the local default one */
|
|
56
56
|
description?: React.ReactNode;
|
|
57
57
|
/* Data types */
|
|
58
|
-
type?:
|
|
58
|
+
type?: iconNamesWidgetEmpty;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const WidgetEmpty: (<T>(props: CProps<IWidgetEmptyProps> & T) => ReturnEl) & {
|