@semcore/illustration 2.38.0 → 2.39.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 +6 -0
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es6/index.d.js.map +1 -1
- package/lib/es6/index.js +1 -1
- package/lib/types/index.d.ts +24 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [2.39.0] - 2024-11-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/flex-box` [5.37.0 ~> 5.38.0], `@semcore/core` [2.35.0 ~> 2.36.0]).
|
|
10
|
+
|
|
5
11
|
## [2.38.0] - 2024-10-28
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["\nexport type IllustrationProps = {\n /**\n * Main color of the illustration\n **/\n primaryColor?: string;\n /**\n * Secondary color of the illustration\n **/\n secondaryColor?: string;\n /**\n * Changes background fill of the illustration\n **/\n fill?: string;\n /**\n * Width of the illustration\n **/\n width?: string | number;\n /**\n * Height of the illustration\n **/\n height?: string | number;\n}\n\nexport type TIllustrationNamesErrors =\n | 'access_denied'\n | 'blocked'\n | 'confirmation'\n | 'connection_lost'\n | 'deleted_account'\n | 'dns'\n | 'maintenance'\n | 'no_payment'\n | 'page_error'\n | 'page_not_found'\n | 'project_not_found'\n | 'timeout';\n\nexport type TIllustrationNamesWidgetEmpty =\n | 'area-chart'\n | 'choropleth-map-chart'\n | 'coffee'\n | 'combined-chart'\n | 'congrats'\n | 'deleted-page'\n | 'donut-chart'\n | 'duplicates'\n | 'funnel-chart'\n | 'good'\n | 'heat-map-chart'\n | 'horizontal-bar-chart'\n | 'kagi-chart'\n | 'line-chart'\n | 'lollipop-chart'\n | 'nexttime'\n | 'nothing-found'\n | 'other-data'\n | 'pie-chart'\n | 'processing'\n | 'radar-chart'\n | 'radial-tree-chart'\n | 'sankey-chart'\n | 'scatter-plot-chart'\n | 'stacked-area-chart'\n | 'suggestion'\n | 'suggestions'\n | 'table'\n | 'tag-cloud'\n | 'text-links-etc'\n | 'under-construction'\n | 'venn-chart'\n | 'vertical-bar-chart'\n | 'warning';\n\ndeclare const getIllustrationPath: (\n name: TIllustrationNamesErrors | TIllustrationNamesWidgetEmpty,\n) => string;\n\nexport { getIllustrationPath };\n"],"mappings":""}
|
package/lib/cjs/index.js
CHANGED
package/lib/es6/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["\nexport type IllustrationProps = {\n /**\n * Main color of the illustration\n **/\n primaryColor?: string;\n /**\n * Secondary color of the illustration\n **/\n secondaryColor?: string;\n /**\n * Changes background fill of the illustration\n **/\n fill?: string;\n /**\n * Width of the illustration\n **/\n width?: string | number;\n /**\n * Height of the illustration\n **/\n height?: string | number;\n}\n\nexport type TIllustrationNamesErrors =\n | 'access_denied'\n | 'blocked'\n | 'confirmation'\n | 'connection_lost'\n | 'deleted_account'\n | 'dns'\n | 'maintenance'\n | 'no_payment'\n | 'page_error'\n | 'page_not_found'\n | 'project_not_found'\n | 'timeout';\n\nexport type TIllustrationNamesWidgetEmpty =\n | 'area-chart'\n | 'choropleth-map-chart'\n | 'coffee'\n | 'combined-chart'\n | 'congrats'\n | 'deleted-page'\n | 'donut-chart'\n | 'duplicates'\n | 'funnel-chart'\n | 'good'\n | 'heat-map-chart'\n | 'horizontal-bar-chart'\n | 'kagi-chart'\n | 'line-chart'\n | 'lollipop-chart'\n | 'nexttime'\n | 'nothing-found'\n | 'other-data'\n | 'pie-chart'\n | 'processing'\n | 'radar-chart'\n | 'radial-tree-chart'\n | 'sankey-chart'\n | 'scatter-plot-chart'\n | 'stacked-area-chart'\n | 'suggestion'\n | 'suggestions'\n | 'table'\n | 'tag-cloud'\n | 'text-links-etc'\n | 'under-construction'\n | 'venn-chart'\n | 'vertical-bar-chart'\n | 'warning';\n\ndeclare const getIllustrationPath: (\n name: TIllustrationNamesErrors | TIllustrationNamesWidgetEmpty,\n) => string;\n\nexport { getIllustrationPath };\n"],"mappings":""}
|
package/lib/es6/index.js
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
export type IllustrationProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Main color of the illustration
|
|
5
|
+
**/
|
|
6
|
+
primaryColor?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Secondary color of the illustration
|
|
9
|
+
**/
|
|
10
|
+
secondaryColor?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Changes background fill of the illustration
|
|
13
|
+
**/
|
|
14
|
+
fill?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Width of the illustration
|
|
17
|
+
**/
|
|
18
|
+
width?: string | number;
|
|
19
|
+
/**
|
|
20
|
+
* Height of the illustration
|
|
21
|
+
**/
|
|
22
|
+
height?: string | number;
|
|
23
|
+
}
|
|
24
|
+
|
|
1
25
|
export type TIllustrationNamesErrors =
|
|
2
26
|
| 'access_denied'
|
|
3
27
|
| 'blocked'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/illustration",
|
|
3
3
|
"description": "Semrush Illustration Component",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.39.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.17.9",
|
|
13
|
-
"@semcore/flex-box": "5.
|
|
13
|
+
"@semcore/flex-box": "5.38.0",
|
|
14
14
|
"colorjs.io": "0.4.3"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|