@semcore/illustration 2.29.0 → 2.30.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/AccessDenied/index.d.ts +27 -3
- package/AccessDenied/index.js +211 -205
- package/AccessDenied/index.mjs +211 -205
- package/AccessLogIn/index.d.ts +27 -3
- package/AccessLogIn/index.js +313 -307
- package/AccessLogIn/index.mjs +313 -307
- package/AreaChart/index.d.ts +27 -3
- package/AreaChart/index.js +58 -52
- package/AreaChart/index.mjs +58 -52
- package/Blocked/index.d.ts +27 -3
- package/Blocked/index.js +462 -456
- package/Blocked/index.mjs +462 -456
- package/CHANGELOG.md +11 -1
- package/ChoroplethMapChart/index.d.ts +27 -3
- package/ChoroplethMapChart/index.js +80 -74
- package/ChoroplethMapChart/index.mjs +80 -74
- package/Coffee/index.d.ts +27 -3
- package/Coffee/index.js +65 -59
- package/Coffee/index.mjs +65 -59
- package/Collection/index.d.ts +27 -3
- package/Collection/index.js +59 -53
- package/Collection/index.mjs +59 -53
- package/CombinedChart/index.d.ts +27 -3
- package/CombinedChart/index.js +87 -81
- package/CombinedChart/index.mjs +87 -81
- package/Confirmation/index.d.ts +27 -3
- package/Confirmation/index.js +236 -230
- package/Confirmation/index.mjs +236 -230
- package/Congrats/index.d.ts +27 -3
- package/Congrats/index.js +116 -110
- package/Congrats/index.mjs +116 -110
- package/ConnectionLost/index.d.ts +27 -3
- package/ConnectionLost/index.js +268 -262
- package/ConnectionLost/index.mjs +268 -262
- package/DeletedAccount/index.d.ts +27 -3
- package/DeletedAccount/index.js +345 -339
- package/DeletedAccount/index.mjs +345 -339
- package/DeletedPage/index.d.ts +27 -3
- package/DeletedPage/index.js +50 -44
- package/DeletedPage/index.mjs +50 -44
- package/Dns/index.d.ts +27 -3
- package/Dns/index.js +149 -143
- package/Dns/index.mjs +149 -143
- package/DonutChart/index.d.ts +27 -3
- package/DonutChart/index.js +100 -94
- package/DonutChart/index.mjs +100 -94
- package/Duplicates/index.d.ts +27 -3
- package/Duplicates/index.js +77 -71
- package/Duplicates/index.mjs +77 -71
- package/Feedback/index.d.ts +27 -3
- package/Feedback/index.js +65 -59
- package/Feedback/index.mjs +65 -59
- package/FunnelChart/index.d.ts +27 -3
- package/FunnelChart/index.js +67 -61
- package/FunnelChart/index.mjs +67 -61
- package/Good/index.d.ts +27 -3
- package/Good/index.js +100 -94
- package/Good/index.mjs +100 -94
- package/HeatMapChart/index.d.ts +27 -3
- package/HeatMapChart/index.js +85 -79
- package/HeatMapChart/index.mjs +85 -79
- package/HorizontalBarChart/index.d.ts +27 -3
- package/HorizontalBarChart/index.js +71 -65
- package/HorizontalBarChart/index.mjs +71 -65
- package/KagiChart/index.d.ts +27 -3
- package/KagiChart/index.js +52 -46
- package/KagiChart/index.mjs +52 -46
- package/LineChart/index.d.ts +27 -3
- package/LineChart/index.js +55 -49
- package/LineChart/index.mjs +55 -49
- package/LollipopChart/index.d.ts +27 -3
- package/LollipopChart/index.js +72 -66
- package/LollipopChart/index.mjs +72 -66
- package/MailSent/index.d.ts +27 -3
- package/MailSent/index.js +111 -105
- package/MailSent/index.mjs +111 -105
- package/Maintenance/index.d.ts +27 -3
- package/Maintenance/index.js +332 -326
- package/Maintenance/index.mjs +332 -326
- package/Nexttime/index.d.ts +27 -3
- package/Nexttime/index.js +79 -73
- package/Nexttime/index.mjs +79 -73
- package/NoPayment/index.d.ts +27 -3
- package/NoPayment/index.js +273 -267
- package/NoPayment/index.mjs +273 -267
- package/NothingFound/index.d.ts +27 -3
- package/NothingFound/index.js +103 -97
- package/NothingFound/index.mjs +103 -97
- package/OtherData/index.d.ts +27 -3
- package/OtherData/index.js +86 -80
- package/OtherData/index.mjs +86 -80
- package/PageError/index.d.ts +27 -3
- package/PageError/index.js +193 -187
- package/PageError/index.mjs +193 -187
- package/PageNotFound/index.d.ts +27 -3
- package/PageNotFound/index.js +253 -247
- package/PageNotFound/index.mjs +253 -247
- package/PieChart/index.d.ts +27 -3
- package/PieChart/index.js +85 -79
- package/PieChart/index.mjs +85 -79
- package/Processing/index.d.ts +27 -3
- package/Processing/index.js +65 -59
- package/Processing/index.mjs +65 -59
- package/ProjectNotFound/index.d.ts +27 -3
- package/ProjectNotFound/index.js +216 -210
- package/ProjectNotFound/index.mjs +216 -210
- package/RadarChart/index.d.ts +27 -3
- package/RadarChart/index.js +64 -58
- package/RadarChart/index.mjs +64 -58
- package/RadialTreeChart/index.d.ts +27 -3
- package/RadialTreeChart/index.js +106 -100
- package/RadialTreeChart/index.mjs +106 -100
- package/SankeyChart/index.d.ts +27 -3
- package/SankeyChart/index.js +92 -86
- package/SankeyChart/index.mjs +92 -86
- package/ScatterPlotChart/index.d.ts +27 -3
- package/ScatterPlotChart/index.js +77 -71
- package/ScatterPlotChart/index.mjs +77 -71
- package/StackedAreaChart/index.d.ts +27 -3
- package/StackedAreaChart/index.js +79 -73
- package/StackedAreaChart/index.mjs +79 -73
- package/Suggestion/index.d.ts +27 -3
- package/Suggestion/index.js +63 -57
- package/Suggestion/index.mjs +63 -57
- package/Suggestions/index.d.ts +27 -3
- package/Suggestions/index.js +66 -60
- package/Suggestions/index.mjs +66 -60
- package/Table/index.d.ts +27 -3
- package/Table/index.js +50 -44
- package/Table/index.mjs +50 -44
- package/TagCloud/index.d.ts +27 -3
- package/TagCloud/index.js +77 -71
- package/TagCloud/index.mjs +77 -71
- package/TextLinksEtc/index.d.ts +27 -3
- package/TextLinksEtc/index.js +53 -47
- package/TextLinksEtc/index.mjs +53 -47
- package/Timeout/index.d.ts +27 -3
- package/Timeout/index.js +350 -344
- package/Timeout/index.mjs +350 -344
- package/UnderConstruction/index.d.ts +27 -3
- package/UnderConstruction/index.js +112 -106
- package/UnderConstruction/index.mjs +112 -106
- package/VennChart/index.d.ts +27 -3
- package/VennChart/index.js +78 -72
- package/VennChart/index.mjs +78 -72
- package/VerticalBarChart/index.d.ts +27 -3
- package/VerticalBarChart/index.js +72 -66
- package/VerticalBarChart/index.mjs +72 -66
- package/Waiting/index.d.ts +27 -3
- package/Waiting/index.js +65 -59
- package/Waiting/index.mjs +65 -59
- package/Warning/index.d.ts +27 -3
- package/Warning/index.js +60 -54
- package/Warning/index.mjs +60 -54
- package/lib/cjs/index.js +1 -1
- package/lib/es6/index.js +1 -1
- package/package.json +4 -3
- package/transform.ts +108 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [2.30.0] - 2024-07-09
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `primaryColor` and `secondaryColor` prop that allow to change primary color of illustrations.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Illustration components typings.
|
|
14
|
+
|
|
5
15
|
## [2.29.0] - 2024-06-26
|
|
6
16
|
|
|
7
17
|
### Changed
|
|
@@ -524,7 +534,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
524
534
|
|
|
525
535
|
### Added
|
|
526
536
|
|
|
527
|
-
- Added available for export function `getIllustrationPath` to get
|
|
537
|
+
- Added available for export function `getIllustrationPath` to get URL of illustrations.
|
|
528
538
|
|
|
529
539
|
## [1.1.0] - 2022-09-21
|
|
530
540
|
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import { Intergalactic } from '@semcore/core';
|
|
4
|
+
|
|
5
|
+
type IllustrationProps = BoxProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Main color of the illustration
|
|
8
|
+
**/
|
|
9
|
+
primaryColor?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Secondary color of the illustration
|
|
12
|
+
**/
|
|
13
|
+
secondaryColor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Changes background fill of the illustration
|
|
16
|
+
**/
|
|
17
|
+
fill?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Width of the illustration
|
|
20
|
+
**/
|
|
21
|
+
width?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Height of the illustration
|
|
24
|
+
**/
|
|
25
|
+
height?: string | number;
|
|
26
|
+
}
|
|
27
|
+
declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
|
|
28
|
+
export default Illustration;
|
|
@@ -26,79 +26,85 @@ module.exports = __toCommonJS(stdin_exports);
|
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
28
|
var import_flex_box = require("@semcore/flex-box");
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const ChoroplethMapChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
|
+
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
|
|
35
|
+
ref,
|
|
36
|
+
width,
|
|
37
|
+
height,
|
|
38
|
+
viewBox,
|
|
39
|
+
fill,
|
|
40
|
+
tag: "svg",
|
|
41
|
+
...props
|
|
42
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
43
|
+
d: "M39.959 1C18.46 1 1 15.865 1 37.502 1 58.89 21.838 68.305 39.465 78.876c.33.165.74.165 1.07 0C58.573 68.636 79 58.891 79 37.502 78.918 15.948 61.539 1 39.959 1Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
d: "M65.925 57.617s.086-.054.119-.086l6.495-4.324-3.134-1.696-3.134.756-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.51 6.51 0 0 0-.216.367v.021a5.638 5.638 0 0 0-.454 4.248l10.44 36.648a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342a2.94 2.94 0 0 0 .746-.346l.054-.032.01-.011Z",
|
|
47
|
+
fill: resolvedPrimaryColor,
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M71.763 53.553 24.091 66.555a2.734 2.734 0 0 1-3.35-1.892L9.749 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
54
|
+
fill: "#fff"
|
|
55
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
56
|
+
d: "M65.452 18.818 11.07 30.76l-1.34-4.69c-.962-3.372 1.156-6.852 4.593-7.555l42.884-8.743c3.134-.638 6.225 1.286 7.025 4.377l1.221 4.669Z",
|
|
57
|
+
fill: resolvedSecondaryColor
|
|
58
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
59
|
+
d: "M18.394 23.427a1.873 1.873 0 0 1-1.416 2.367c-1.08.238-2.226-.454-2.529-1.524a1.868 1.868 0 0 1 1.427-2.366c1.091-.227 2.215.464 2.518 1.534v-.01Z",
|
|
60
|
+
fill: "#fff"
|
|
61
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
62
|
+
d: "M25.375 21.958c.292 1.059-.324 2.107-1.394 2.334-1.07.227-2.183-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.08-.227 2.172.465 2.464 1.524v.01Z",
|
|
63
|
+
fill: resolvedPrimaryColor
|
|
64
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
65
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.372-3.08-3.415 5.879a6.51 6.51 0 0 0-.217.367v.022a5.638 5.638 0 0 0-.453 4.247l1.394 4.907 3.458-5.966v.01Z",
|
|
66
|
+
fill: resolvedSecondaryColor
|
|
67
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
68
|
+
d: "M71.763 53.553 24.091 66.555a2.734 2.734 0 0 1-3.35-1.892L9.749 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33v0Z",
|
|
69
|
+
stroke: resolvedSecondaryColor,
|
|
70
|
+
strokeLinecap: "round",
|
|
71
|
+
strokeLinejoin: "round",
|
|
72
|
+
strokeWidth: ".7"
|
|
73
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
74
|
+
d: "m19.636 37.994-.519 3.264 3.123-.746 2.184 2.605.55 3.069 2.378 2.205 3.967.151 1.426.303-1.361-.843-2.551-1.578.378-.487 1.297.033 2.432-3.242 2.064-1.74-2.55-1.881-.8.227-.227 1.783-.865.022-1.513-1.178 2.054-2.032-1.049-1.21-.637.108-1.081.918-7.328-1.232-1.372 1.48Z",
|
|
75
|
+
fill: resolvedPrimaryColor,
|
|
76
|
+
stroke: resolvedSecondaryColor,
|
|
77
|
+
strokeLinecap: "round",
|
|
78
|
+
strokeLinejoin: "round",
|
|
79
|
+
strokeWidth: ".7"
|
|
80
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
81
|
+
d: "m33.017 33.731 3.977-2.799 1.913.735-.086 4.301-2.897 2.832-.713-.227-1.037-4.323-1.038-.065-.119-.454ZM32.086 50.378l1.502-2.713 5.112 1.46.919.032.076 2.29-2.843 3.621.627 1.719-.573.497-1.902-1.157-.983-4.312-1.935-1.437Z",
|
|
82
|
+
fill: resolvedSecondaryColor,
|
|
83
|
+
stroke: resolvedSecondaryColor,
|
|
84
|
+
strokeLinecap: "round",
|
|
85
|
+
strokeLinejoin: "round",
|
|
86
|
+
strokeWidth: ".7"
|
|
87
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
88
|
+
d: "m41.384 46.005 1.697 1.264 2.69-1.08.606.205.875 3.393.681 1.06 1.08.529 1.017-.281.659-.908 1.654-6.29-4.183-2.745-2.097.54-1.815-.032-2.627 1.783-.237 2.562Z",
|
|
89
|
+
stroke: resolvedSecondaryColor,
|
|
90
|
+
strokeLinecap: "round",
|
|
91
|
+
strokeLinejoin: "round",
|
|
92
|
+
strokeWidth: ".7"
|
|
93
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
94
|
+
d: "m40.928 40.382.065 1.156.66.238 2.16-1.708 2.087.4 2.204-.54.249.195-.313 1.026 2.799 1.762 1.361-.562-.162-.605-1.577-.843.497-.487 2.312.508 1.114 1.103.994.68.627-.161.151-1.233.757-.734.886.626 1.07.108.454-.41-.195-.757.249-.313.853.043.638-.8.346-.497-.367-.508-.865-.756 1.33-1.557.172-.93-.108-1.318-.065-.237-1.07.043-.432-.238-.216-.8 1.275-.68.162-.465.638-.778.843.724.68.432.552-.173-.951-3.61-1.221-.605-7.674 2.507-1.07.627-.346-.389.249-.692-.27-.28-1.794.41-1.362 3.837-2.518 1.718-2.562-.562-1.729 2.54.919 1.21-2.486 2.335Z",
|
|
95
|
+
fill: resolvedPrimaryColor,
|
|
96
|
+
stroke: resolvedSecondaryColor,
|
|
97
|
+
strokeLinecap: "round",
|
|
98
|
+
strokeLinejoin: "round",
|
|
99
|
+
strokeWidth: ".7"
|
|
100
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
101
|
+
d: "m61.98 45.577 2.302-2.13 1.394-.356.908.097.162.627 1.243 1.027-.519 2.431-1.426.379-1.016-.822-2.41.627-.638-1.88Z",
|
|
102
|
+
fill: resolvedSecondaryColor,
|
|
103
|
+
stroke: resolvedSecondaryColor,
|
|
104
|
+
strokeLinecap: "round",
|
|
105
|
+
strokeLinejoin: "round",
|
|
106
|
+
strokeWidth: ".7"
|
|
107
|
+
}));
|
|
108
|
+
};
|
|
103
109
|
ChoroplethMapChart.displayName = "ChoroplethMapChart";
|
|
104
110
|
var stdin_default = (0, import_core.createBaseComponent)(ChoroplethMapChart);
|
|
@@ -1,80 +1,86 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/flex-box";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const ChoroplethMapChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
|
+
const colorResolver = useColorResolver();
|
|
7
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
8
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
9
|
+
return /* @__PURE__ */ React.createElement(Box, {
|
|
10
|
+
ref,
|
|
11
|
+
width,
|
|
12
|
+
height,
|
|
13
|
+
viewBox,
|
|
14
|
+
fill,
|
|
15
|
+
tag: "svg",
|
|
16
|
+
...props
|
|
17
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
18
|
+
d: "M39.959 1C18.46 1 1 15.865 1 37.502 1 58.89 21.838 68.305 39.465 78.876c.33.165.74.165 1.07 0C58.573 68.636 79 58.891 79 37.502 78.918 15.948 61.539 1 39.959 1Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M65.925 57.617s.086-.054.119-.086l6.495-4.324-3.134-1.696-3.134.756-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.51 6.51 0 0 0-.216.367v.021a5.638 5.638 0 0 0-.454 4.248l10.44 36.648a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342a2.94 2.94 0 0 0 .746-.346l.054-.032.01-.011Z",
|
|
22
|
+
fill: resolvedPrimaryColor,
|
|
23
|
+
stroke: resolvedSecondaryColor,
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round",
|
|
26
|
+
strokeWidth: ".7"
|
|
27
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
28
|
+
d: "M71.763 53.553 24.091 66.555a2.734 2.734 0 0 1-3.35-1.892L9.749 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
31
|
+
d: "M65.452 18.818 11.07 30.76l-1.34-4.69c-.962-3.372 1.156-6.852 4.593-7.555l42.884-8.743c3.134-.638 6.225 1.286 7.025 4.377l1.221 4.669Z",
|
|
32
|
+
fill: resolvedSecondaryColor
|
|
33
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
34
|
+
d: "M18.394 23.427a1.873 1.873 0 0 1-1.416 2.367c-1.08.238-2.226-.454-2.529-1.524a1.868 1.868 0 0 1 1.427-2.366c1.091-.227 2.215.464 2.518 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M25.375 21.958c.292 1.059-.324 2.107-1.394 2.334-1.07.227-2.183-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.08-.227 2.172.465 2.464 1.524v.01Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.372-3.08-3.415 5.879a6.51 6.51 0 0 0-.217.367v.022a5.638 5.638 0 0 0-.453 4.247l1.394 4.907 3.458-5.966v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M71.763 53.553 24.091 66.555a2.734 2.734 0 0 1-3.35-1.892L9.749 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33v0Z",
|
|
44
|
+
stroke: resolvedSecondaryColor,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: ".7"
|
|
48
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
+
d: "m19.636 37.994-.519 3.264 3.123-.746 2.184 2.605.55 3.069 2.378 2.205 3.967.151 1.426.303-1.361-.843-2.551-1.578.378-.487 1.297.033 2.432-3.242 2.064-1.74-2.55-1.881-.8.227-.227 1.783-.865.022-1.513-1.178 2.054-2.032-1.049-1.21-.637.108-1.081.918-7.328-1.232-1.372 1.48Z",
|
|
50
|
+
fill: resolvedPrimaryColor,
|
|
51
|
+
stroke: resolvedSecondaryColor,
|
|
52
|
+
strokeLinecap: "round",
|
|
53
|
+
strokeLinejoin: "round",
|
|
54
|
+
strokeWidth: ".7"
|
|
55
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
56
|
+
d: "m33.017 33.731 3.977-2.799 1.913.735-.086 4.301-2.897 2.832-.713-.227-1.037-4.323-1.038-.065-.119-.454ZM32.086 50.378l1.502-2.713 5.112 1.46.919.032.076 2.29-2.843 3.621.627 1.719-.573.497-1.902-1.157-.983-4.312-1.935-1.437Z",
|
|
57
|
+
fill: resolvedSecondaryColor,
|
|
58
|
+
stroke: resolvedSecondaryColor,
|
|
59
|
+
strokeLinecap: "round",
|
|
60
|
+
strokeLinejoin: "round",
|
|
61
|
+
strokeWidth: ".7"
|
|
62
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
63
|
+
d: "m41.384 46.005 1.697 1.264 2.69-1.08.606.205.875 3.393.681 1.06 1.08.529 1.017-.281.659-.908 1.654-6.29-4.183-2.745-2.097.54-1.815-.032-2.627 1.783-.237 2.562Z",
|
|
64
|
+
stroke: resolvedSecondaryColor,
|
|
65
|
+
strokeLinecap: "round",
|
|
66
|
+
strokeLinejoin: "round",
|
|
67
|
+
strokeWidth: ".7"
|
|
68
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
69
|
+
d: "m40.928 40.382.065 1.156.66.238 2.16-1.708 2.087.4 2.204-.54.249.195-.313 1.026 2.799 1.762 1.361-.562-.162-.605-1.577-.843.497-.487 2.312.508 1.114 1.103.994.68.627-.161.151-1.233.757-.734.886.626 1.07.108.454-.41-.195-.757.249-.313.853.043.638-.8.346-.497-.367-.508-.865-.756 1.33-1.557.172-.93-.108-1.318-.065-.237-1.07.043-.432-.238-.216-.8 1.275-.68.162-.465.638-.778.843.724.68.432.552-.173-.951-3.61-1.221-.605-7.674 2.507-1.07.627-.346-.389.249-.692-.27-.28-1.794.41-1.362 3.837-2.518 1.718-2.562-.562-1.729 2.54.919 1.21-2.486 2.335Z",
|
|
70
|
+
fill: resolvedPrimaryColor,
|
|
71
|
+
stroke: resolvedSecondaryColor,
|
|
72
|
+
strokeLinecap: "round",
|
|
73
|
+
strokeLinejoin: "round",
|
|
74
|
+
strokeWidth: ".7"
|
|
75
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
76
|
+
d: "m61.98 45.577 2.302-2.13 1.394-.356.908.097.162.627 1.243 1.027-.519 2.431-1.426.379-1.016-.822-2.41.627-.638-1.88Z",
|
|
77
|
+
fill: resolvedSecondaryColor,
|
|
78
|
+
stroke: resolvedSecondaryColor,
|
|
79
|
+
strokeLinecap: "round",
|
|
80
|
+
strokeLinejoin: "round",
|
|
81
|
+
strokeWidth: ".7"
|
|
82
|
+
}));
|
|
83
|
+
};
|
|
78
84
|
ChoroplethMapChart.displayName = "ChoroplethMapChart";
|
|
79
85
|
var stdin_default = createBaseComponent(ChoroplethMapChart);
|
|
80
86
|
export {
|
package/Coffee/index.d.ts
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import { Intergalactic } from '@semcore/core';
|
|
4
|
+
|
|
5
|
+
type IllustrationProps = BoxProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Main color of the illustration
|
|
8
|
+
**/
|
|
9
|
+
primaryColor?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Secondary color of the illustration
|
|
12
|
+
**/
|
|
13
|
+
secondaryColor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Changes background fill of the illustration
|
|
16
|
+
**/
|
|
17
|
+
fill?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Width of the illustration
|
|
20
|
+
**/
|
|
21
|
+
width?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Height of the illustration
|
|
24
|
+
**/
|
|
25
|
+
height?: string | number;
|
|
26
|
+
}
|
|
27
|
+
declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
|
|
28
|
+
export default Illustration;
|
package/Coffee/index.js
CHANGED
|
@@ -26,64 +26,70 @@ module.exports = __toCommonJS(stdin_exports);
|
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
28
|
var import_flex_box = require("@semcore/flex-box");
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const Coffee = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
|
+
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
|
|
35
|
+
ref,
|
|
36
|
+
width,
|
|
37
|
+
height,
|
|
38
|
+
viewBox,
|
|
39
|
+
fill,
|
|
40
|
+
tag: "svg",
|
|
41
|
+
...props
|
|
42
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
43
|
+
d: "M57.811 4.702c-7.315 0-13.78 3.558-17.813 9.006C35.93 8.216 29.4 4.647 22.03 4.702 10.184 4.779.46 14.095.018 25.93c-.928 24.576 34.687 50.08 39.46 53.384.321.22.73.22 1.04 0C45.19 75.954 80 50.14 80 26.89c0-12.255-9.934-22.178-22.178-22.178",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
d: "M43.678 64.804c14.64 0 26.51-2.939 26.51-6.564s-11.87-6.564-26.51-6.564c-14.641 0-26.51 2.94-26.51 6.564 0 3.625 11.869 6.564 26.51 6.564Z",
|
|
47
|
+
fill: "#fff",
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M43.678 64.815c-13.493 0-24.62-2.497-26.29-5.724.94 2.796 4.034 5.945 6.532 7.67.331.264.762.53 1.26.773.077.044.165.088.231.121 3.47 1.614 10.332 2.719 18.245 2.719 7.912 0 14.774-1.105 18.244-2.719.077-.033.154-.088.232-.121a6.89 6.89 0 0 0 1.26-.774c2.508-1.724 5.59-4.873 6.53-7.669-1.668 3.227-12.796 5.724-26.289 5.724h.045Z",
|
|
54
|
+
fill: resolvedSecondaryColor,
|
|
55
|
+
stroke: resolvedSecondaryColor,
|
|
56
|
+
strokeLinecap: "round",
|
|
57
|
+
strokeLinejoin: "round",
|
|
58
|
+
strokeWidth: ".7"
|
|
59
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
60
|
+
d: "M61.645 41.555c2.42-.597 3.78-.265 4.851.784 2.73 2.697-.928 10.41-8.188 12.476M26.472 60.66c-.42-.375-.64-.762-.64-1.17 0-2.443 7.989-4.42 17.834-4.42 4.863 0 9.272.486 12.498 1.26",
|
|
61
|
+
stroke: resolvedSecondaryColor,
|
|
62
|
+
strokeLinecap: "round",
|
|
63
|
+
strokeLinejoin: "round",
|
|
64
|
+
strokeWidth: ".7"
|
|
65
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
66
|
+
d: "M43.678 43.875c10.167 0 18.41-2.622 18.41-5.856 0-3.235-8.243-5.857-18.41-5.857-10.168 0-18.41 2.622-18.41 5.857 0 3.234 8.242 5.856 18.41 5.856Z",
|
|
67
|
+
fill: "#fff",
|
|
68
|
+
stroke: resolvedSecondaryColor,
|
|
69
|
+
strokeLinecap: "round",
|
|
70
|
+
strokeLinejoin: "round",
|
|
71
|
+
strokeWidth: ".7"
|
|
72
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
73
|
+
d: "M43.678 43.876c5.978 0 11.271-.907 14.63-2.321-1.779-2.044-7.647-3.547-14.63-3.547-6.984 0-12.852 1.503-14.63 3.547 3.358 1.403 8.652 2.32 14.63 2.32Z",
|
|
74
|
+
fill: resolvedSecondaryColor,
|
|
75
|
+
stroke: resolvedSecondaryColor,
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
strokeWidth: ".7"
|
|
79
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
80
|
+
d: "M62.088 38.019c0 3.237-8.244 5.856-18.41 5.856s-18.41-2.619-18.41-5.856c-1.249 10.575 3.713 19.404 8.442 22.819 1.536 1.27 5.415 2.176 9.957 2.176 4.541 0 8.42-.906 9.956-2.177 4.73-3.414 9.702-12.243 8.443-22.818h.022Z",
|
|
81
|
+
fill: "#fff",
|
|
82
|
+
stroke: resolvedSecondaryColor,
|
|
83
|
+
strokeLinecap: "round",
|
|
84
|
+
strokeLinejoin: "round",
|
|
85
|
+
strokeWidth: ".7"
|
|
86
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
87
|
+
d: "M32.981 49.323c.64-1.569 2.133-2.52 3.624-2.387 1.57.144 2.454 1.415 2.575 1.603M56.165 49.323c-.641-1.57-2.133-2.52-3.625-2.387-1.57.144-2.453 1.415-2.575 1.602M40.252 50.97c-.332 2.818 2.155 5.039 4.564 4.917 2.276-.11 4.398-2.287 4.066-4.917h-8.63ZM51.877 1c1.636 1.249 4.83 3.68 5.315 7.636 1.116 8.984-12.63 12.343-10.31 18.575M44.097 8.735c5.868 7.514-10.288 15.526-8.254 25.007.364 1.724 1.624 4.288 4.376 6.056",
|
|
88
|
+
stroke: resolvedSecondaryColor,
|
|
89
|
+
strokeLinecap: "round",
|
|
90
|
+
strokeLinejoin: "round",
|
|
91
|
+
strokeWidth: ".7"
|
|
92
|
+
}));
|
|
93
|
+
};
|
|
88
94
|
Coffee.displayName = "Coffee";
|
|
89
95
|
var stdin_default = (0, import_core.createBaseComponent)(Coffee);
|