@semcore/illustration 2.38.0 → 2.39.0-prerelease.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 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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["export 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":""}
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
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getIllustrationPath = void 0;
7
- var version = "2.38.0";
7
+ var version = "2.39.0";
8
8
 
9
9
  /**
10
10
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["export 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":""}
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
@@ -1,4 +1,4 @@
1
- var version = "2.38.0";
1
+ var version = "2.39.0";
2
2
 
3
3
  /**
4
4
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
@@ -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.38.0",
4
+ "version": "2.39.0-prerelease.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -10,11 +10,11 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@babel/runtime": "^7.17.9",
13
- "@semcore/flex-box": "5.37.0",
13
+ "@semcore/flex-box": "5.38.0-prerelease.0",
14
14
  "colorjs.io": "0.4.3"
15
15
  },
16
16
  "peerDependencies": {
17
- "@semcore/core": "^2.17.5",
17
+ "@semcore/core": "^2.36.0-prerelease.0",
18
18
  "react": "16.8 - 18",
19
19
  "react-dom": "16.8 - 18"
20
20
  },