@semcore/illustration 17.0.1-prerelease.0 → 17.0.2-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 +85 -3
- package/README.md +5 -32
- package/lib/MailSent/index.js +14 -3
- package/lib/MailSent/index.mjs +14 -3
- package/lib/cjs/index.js +7 -8
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/index.js +6 -8
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/index.mjs +6 -8
- package/package.json +171 -178
- package/svg/MailSent.svg +1 -27
- package/transform.ts +21 -20
- package/types/svg-to-jsx.d.ts +1 -1
- package/vite.config.ts +24 -0
- package/AccessDenied/index.d.ts +0 -28
- package/AccessDenied/index.js +0 -242
- package/AccessDenied/index.mjs +0 -220
- package/AccessLogIn/index.d.ts +0 -28
- package/AccessLogIn/index.js +0 -344
- package/AccessLogIn/index.mjs +0 -322
- package/AreaChart/index.d.ts +0 -28
- package/AreaChart/index.js +0 -89
- package/AreaChart/index.mjs +0 -67
- package/Blocked/index.d.ts +0 -28
- package/Blocked/index.js +0 -493
- package/Blocked/index.mjs +0 -471
- package/ChoroplethMapChart/index.d.ts +0 -28
- package/ChoroplethMapChart/index.js +0 -111
- package/ChoroplethMapChart/index.mjs +0 -89
- package/Coffee/index.d.ts +0 -28
- package/Coffee/index.js +0 -96
- package/Coffee/index.mjs +0 -74
- package/Collection/index.d.ts +0 -28
- package/Collection/index.js +0 -90
- package/Collection/index.mjs +0 -68
- package/CombinedChart/index.d.ts +0 -28
- package/CombinedChart/index.js +0 -118
- package/CombinedChart/index.mjs +0 -96
- package/Configuration/index.d.ts +0 -28
- package/Configuration/index.js +0 -197
- package/Configuration/index.mjs +0 -175
- package/Confirmation/index.d.ts +0 -28
- package/Confirmation/index.js +0 -267
- package/Confirmation/index.mjs +0 -245
- package/Congrats/index.d.ts +0 -28
- package/Congrats/index.js +0 -147
- package/Congrats/index.mjs +0 -125
- package/ConnectionLost/index.d.ts +0 -28
- package/ConnectionLost/index.js +0 -299
- package/ConnectionLost/index.mjs +0 -277
- package/DeletedAccount/index.d.ts +0 -28
- package/DeletedAccount/index.js +0 -376
- package/DeletedAccount/index.mjs +0 -354
- package/DeletedPage/index.d.ts +0 -28
- package/DeletedPage/index.js +0 -81
- package/DeletedPage/index.mjs +0 -59
- package/Dns/index.d.ts +0 -28
- package/Dns/index.js +0 -180
- package/Dns/index.mjs +0 -158
- package/DonutChart/index.d.ts +0 -28
- package/DonutChart/index.js +0 -131
- package/DonutChart/index.mjs +0 -109
- package/Duplicates/index.d.ts +0 -28
- package/Duplicates/index.js +0 -108
- package/Duplicates/index.mjs +0 -86
- package/Feedback/index.d.ts +0 -28
- package/Feedback/index.js +0 -96
- package/Feedback/index.mjs +0 -74
- package/FunnelChart/index.d.ts +0 -28
- package/FunnelChart/index.js +0 -98
- package/FunnelChart/index.mjs +0 -76
- package/Good/index.d.ts +0 -28
- package/Good/index.js +0 -131
- package/Good/index.mjs +0 -109
- package/HeatMapChart/index.d.ts +0 -28
- package/HeatMapChart/index.js +0 -116
- package/HeatMapChart/index.mjs +0 -94
- package/HorizontalBarChart/index.d.ts +0 -28
- package/HorizontalBarChart/index.js +0 -102
- package/HorizontalBarChart/index.mjs +0 -80
- package/KagiChart/index.d.ts +0 -28
- package/KagiChart/index.js +0 -83
- package/KagiChart/index.mjs +0 -61
- package/LineChart/index.d.ts +0 -28
- package/LineChart/index.js +0 -86
- package/LineChart/index.mjs +0 -64
- package/LollipopChart/index.d.ts +0 -28
- package/LollipopChart/index.js +0 -103
- package/LollipopChart/index.mjs +0 -81
- package/MailSent/index.d.ts +0 -28
- package/MailSent/index.js +0 -142
- package/MailSent/index.mjs +0 -120
- package/Maintenance/index.d.ts +0 -28
- package/Maintenance/index.js +0 -363
- package/Maintenance/index.mjs +0 -341
- package/Nexttime/index.d.ts +0 -28
- package/Nexttime/index.js +0 -110
- package/Nexttime/index.mjs +0 -88
- package/NoPayment/index.d.ts +0 -28
- package/NoPayment/index.js +0 -304
- package/NoPayment/index.mjs +0 -282
- package/NothingFound/index.d.ts +0 -28
- package/NothingFound/index.js +0 -134
- package/NothingFound/index.mjs +0 -112
- package/OtherData/index.d.ts +0 -28
- package/OtherData/index.js +0 -117
- package/OtherData/index.mjs +0 -95
- package/PageError/index.d.ts +0 -28
- package/PageError/index.js +0 -224
- package/PageError/index.mjs +0 -202
- package/PageNotFound/index.d.ts +0 -28
- package/PageNotFound/index.js +0 -284
- package/PageNotFound/index.mjs +0 -262
- package/PieChart/index.d.ts +0 -28
- package/PieChart/index.js +0 -116
- package/PieChart/index.mjs +0 -94
- package/Processing/index.d.ts +0 -28
- package/Processing/index.js +0 -96
- package/Processing/index.mjs +0 -74
- package/ProjectNotFound/index.d.ts +0 -28
- package/ProjectNotFound/index.js +0 -247
- package/ProjectNotFound/index.mjs +0 -225
- package/RadarChart/index.d.ts +0 -28
- package/RadarChart/index.js +0 -95
- package/RadarChart/index.mjs +0 -73
- package/RadialTreeChart/index.d.ts +0 -28
- package/RadialTreeChart/index.js +0 -137
- package/RadialTreeChart/index.mjs +0 -115
- package/SankeyChart/index.d.ts +0 -28
- package/SankeyChart/index.js +0 -123
- package/SankeyChart/index.mjs +0 -101
- package/ScatterPlotChart/index.d.ts +0 -28
- package/ScatterPlotChart/index.js +0 -108
- package/ScatterPlotChart/index.mjs +0 -86
- package/StackedAreaChart/index.d.ts +0 -28
- package/StackedAreaChart/index.js +0 -110
- package/StackedAreaChart/index.mjs +0 -88
- package/Suggestion/index.d.ts +0 -28
- package/Suggestion/index.js +0 -94
- package/Suggestion/index.mjs +0 -72
- package/Suggestions/index.d.ts +0 -28
- package/Suggestions/index.js +0 -97
- package/Suggestions/index.mjs +0 -75
- package/Table/index.d.ts +0 -28
- package/Table/index.js +0 -81
- package/Table/index.mjs +0 -59
- package/TagCloud/index.d.ts +0 -28
- package/TagCloud/index.js +0 -108
- package/TagCloud/index.mjs +0 -86
- package/TextLinksEtc/index.d.ts +0 -28
- package/TextLinksEtc/index.js +0 -84
- package/TextLinksEtc/index.mjs +0 -62
- package/Timeout/index.d.ts +0 -28
- package/Timeout/index.js +0 -381
- package/Timeout/index.mjs +0 -359
- package/UnderConstruction/index.d.ts +0 -28
- package/UnderConstruction/index.js +0 -143
- package/UnderConstruction/index.mjs +0 -121
- package/VennChart/index.d.ts +0 -28
- package/VennChart/index.js +0 -109
- package/VennChart/index.mjs +0 -87
- package/VerticalBarChart/index.d.ts +0 -28
- package/VerticalBarChart/index.js +0 -103
- package/VerticalBarChart/index.mjs +0 -81
- package/Waiting/index.d.ts +0 -28
- package/Waiting/index.js +0 -96
- package/Waiting/index.mjs +0 -74
- package/Warning/index.d.ts +0 -28
- package/Warning/index.js +0 -91
- package/Warning/index.mjs +0 -69
- package/clear.ts +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,95 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [17.0.
|
|
5
|
+
## [17.0.2] - 2026-05-19
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- `MailSent` illustration. Fixed the tiny issue with the cropped hand.
|
|
10
|
+
|
|
11
|
+
## [17.0.1] - 2026-04-16
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Build processing to correct extract styles.
|
|
16
|
+
|
|
17
|
+
## [17.0.0] - 2026-04-15
|
|
18
|
+
|
|
19
|
+
### BREAK
|
|
20
|
+
|
|
21
|
+
- New major version as a separate package with illustrations.
|
|
22
|
+
|
|
23
|
+
## [16.0.12] - 2025-10-29
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.4.0 ~> 16.4.1]).
|
|
28
|
+
|
|
29
|
+
## [16.0.11] - 2025-10-06
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.2.3 ~> 16.4.0]).
|
|
34
|
+
|
|
35
|
+
## [16.0.10] - 2025-09-17
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.2.2 ~> 16.2.3]).
|
|
40
|
+
|
|
41
|
+
## [16.0.9] - 2025-09-05
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.2.1 ~> 16.2.2]).
|
|
46
|
+
|
|
47
|
+
## [16.0.8] - 2025-08-29
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.2.0 ~> 16.2.1]).
|
|
52
|
+
|
|
53
|
+
## [16.0.7] - 2025-08-07
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.1.2 ~> 16.2.0]).
|
|
58
|
+
|
|
59
|
+
## [16.0.6] - 2025-07-23
|
|
8
60
|
|
|
9
61
|
### Changed
|
|
10
62
|
|
|
11
|
-
- Version
|
|
63
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.1.1 ~> 16.1.2]).
|
|
64
|
+
|
|
65
|
+
## [16.0.5] - 2025-07-04
|
|
66
|
+
|
|
67
|
+
### Changed
|
|
68
|
+
|
|
69
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.1.0 ~> 16.1.1]).
|
|
70
|
+
|
|
71
|
+
## [16.0.4] - 2025-06-23
|
|
72
|
+
|
|
73
|
+
### Changed
|
|
74
|
+
|
|
75
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.0.2 ~> 16.1.0]).
|
|
76
|
+
|
|
77
|
+
## [16.0.3] - 2025-06-16
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
|
|
81
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.0.1 ~> 16.0.2]).
|
|
82
|
+
|
|
83
|
+
## [16.0.2] - 2025-05-30
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
|
|
87
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.0.0 ~> 16.0.1]).
|
|
88
|
+
|
|
89
|
+
## [16.0.0] - 2025-05-19
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
|
|
93
|
+
- Major version.
|
|
12
94
|
|
|
13
95
|
## [2.44.2] - 2025-05-13
|
|
14
96
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/@semcore/illustration)
|
|
4
4
|
[](https://www.npmjs.com/package/@semcore/illustration)
|
|
5
|
-
[](https://github.com/semrush/intergalactic/blob/
|
|
5
|
+
[](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE)
|
|
6
6
|
|
|
7
7
|
> This component is part of the Intergalactic Design System
|
|
8
8
|
|
|
@@ -13,52 +13,25 @@
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
npm install
|
|
16
|
+
npm install @semcore/illustration
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
|
-
```jsx
|
|
22
|
-
import MailSentReact from 'intergalactic/illustration/MailSent';
|
|
23
|
-
import MailSentSVG from 'intergalactic/illustration/svg/MailSent.svg';
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
<details>
|
|
27
|
-
<summary>Alternative installation and use</summary>
|
|
28
|
-
|
|
29
|
-
**We do not recommend this usage path due to possible dependency and update issues.**
|
|
30
|
-
|
|
31
|
-
### Install
|
|
32
|
-
|
|
33
|
-
You can only install one package from the design system
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
npm install @semcore/illustration @semcore/core
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
`@semcore/core` - _is the basic package by which we create our components, and it contains all of the common logic
|
|
40
|
-
of the components that is discussed below. There should only be one version of the package in the project._
|
|
41
|
-
|
|
42
|
-
### Usage
|
|
43
|
-
|
|
44
|
-
You can use the package the same way but without `/ui/` in the import path.
|
|
45
|
-
|
|
46
21
|
```jsx
|
|
47
22
|
import MailSentReact from '@semcore/illustration/MailSent';
|
|
48
23
|
import MailSentSVG from '@semcore/illustration/svg/MailSent.svg';
|
|
49
24
|
```
|
|
50
25
|
|
|
51
|
-
</details>
|
|
52
|
-
|
|
53
26
|
## 👤 Author
|
|
54
27
|
|
|
55
|
-
[UI-kit team](https://github.com/semrush/intergalactic/blob/
|
|
28
|
+
[UI-kit team](https://github.com/semrush/intergalactic/blob/HEAD/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
|
|
56
29
|
|
|
57
30
|
## 🤝 Contributing
|
|
58
31
|
|
|
59
32
|
Contributions, issues and feature requests are welcome!
|
|
60
33
|
|
|
61
|
-
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/
|
|
34
|
+
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/HEAD/CONTRIBUTING.md).
|
|
62
35
|
|
|
63
36
|
## Show your support
|
|
64
37
|
|
|
@@ -66,4 +39,4 @@ Give a ⭐️ if this project helped you!
|
|
|
66
39
|
|
|
67
40
|
## 📝 License
|
|
68
41
|
|
|
69
|
-
This project is [MIT](https://github.com/semrush/intergalactic/blob/
|
|
42
|
+
This project is [MIT](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE) licensed.
|
package/lib/MailSent/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var import_react = __toESM(require("react"));
|
|
|
34
34
|
var import_core = require("@semcore/core");
|
|
35
35
|
var import_base_components = require("@semcore/base-components");
|
|
36
36
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
37
|
-
const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#
|
|
37
|
+
const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45e0a8", secondaryColor = "#000", ...props }, ref) => {
|
|
38
38
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
39
39
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
40
40
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
@@ -50,8 +50,19 @@ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 8
|
|
|
50
50
|
"aria-hidden": true,
|
|
51
51
|
...props
|
|
52
52
|
},
|
|
53
|
-
/* @__PURE__ */ import_react.default.createElement("
|
|
54
|
-
/* @__PURE__ */ import_react.default.createElement("
|
|
53
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: resolvedPrimaryColor }),
|
|
54
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m28.844 45.034.198.348c6.152-3.43 24.04-13.589 27.358-10.467-1.123-3.082-16.923.328-27.556 10.12M28.287 31.464c-1.799 5.965-9.152 24.325-13.356 30.13l2.982.905 1.57-1.312c4.193-9.494 9.937-25.846 10.245-31.274-.497-.258-.954.14-1.44 1.551", fill: "#fff" }),
|
|
55
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M14.931 61.657c4.204-5.805 11.558-24.126 13.356-30.16s5.019 5.965 3.21 11.054", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
56
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M27.85 45.687c10.613-10.298 27.1-13.916 28.252-10.775.686 1.879-13.346 6.223-18.295 12.246", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
57
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M44.197 21.818c-3.22-1.154-8.536-2.873-11.378-3.669C36.913 16.33 69.587 4.233 72.24 3c-.914 4.086-4.889 18.171-6.668 24.782-4.8-1.67-9.669-3.131-12.849-4.165a69 69 0 0 0-5.376 8.3c-1.172-3.837-2.315-8.27-3.15-10.1", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
58
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m44.744 21.967 16.635-11.015M52.694 23.607 72.21 3M47.725 32.404l7.81-7.535", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
59
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m47.953 30.605 3.439-5.607.964-1.123 2.057.607.427-.13-3.339 3.41-2.454 2.256-1.322 1.104z", fill: resolvedSecondaryColor }),
|
|
60
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m33.624 21.887-10.743 5.09M40.66 22.881l-6.848 4.344M61.677 28.846l-4.015 9.79", stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
61
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M46.413 40.774c3.588 2.406-1.858 8.47-3.657 10.06", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
62
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M46.9 43.756c4.114 2.078 1.153 7.714-1.163 10.537", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
63
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M48.58 48.727c5.475 4.453-12.472 23.579-13.774 24.633", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
64
|
+
/* @__PURE__ */ import_react.default.createElement("mask", { height: "73", id: "igc-mailsent-el-0", style: { "maskType": "alpha" }, width: "72", x: "4", y: "5", maskUnits: "userSpaceOnUse" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: "#45dfa7" })),
|
|
65
|
+
/* @__PURE__ */ import_react.default.createElement("g", { mask: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", fill: resolvedSecondaryColor }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }))
|
|
55
66
|
);
|
|
56
67
|
};
|
|
57
68
|
MailSent.displayName = "MailSent";
|
package/lib/MailSent/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
|
-
const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#
|
|
5
|
+
const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45e0a8", secondaryColor = "#000", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
7
7
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
8
8
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
@@ -18,8 +18,19 @@ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 8
|
|
|
18
18
|
"aria-hidden": true,
|
|
19
19
|
...props
|
|
20
20
|
},
|
|
21
|
-
/* @__PURE__ */ React.createElement("
|
|
22
|
-
/* @__PURE__ */ React.createElement("
|
|
21
|
+
/* @__PURE__ */ React.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: resolvedPrimaryColor }),
|
|
22
|
+
/* @__PURE__ */ React.createElement("path", { d: "m28.844 45.034.198.348c6.152-3.43 24.04-13.589 27.358-10.467-1.123-3.082-16.923.328-27.556 10.12M28.287 31.464c-1.799 5.965-9.152 24.325-13.356 30.13l2.982.905 1.57-1.312c4.193-9.494 9.937-25.846 10.245-31.274-.497-.258-.954.14-1.44 1.551", fill: "#fff" }),
|
|
23
|
+
/* @__PURE__ */ React.createElement("path", { d: "M14.931 61.657c4.204-5.805 11.558-24.126 13.356-30.16s5.019 5.965 3.21 11.054", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
24
|
+
/* @__PURE__ */ React.createElement("path", { d: "M27.85 45.687c10.613-10.298 27.1-13.916 28.252-10.775.686 1.879-13.346 6.223-18.295 12.246", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
25
|
+
/* @__PURE__ */ React.createElement("path", { d: "M44.197 21.818c-3.22-1.154-8.536-2.873-11.378-3.669C36.913 16.33 69.587 4.233 72.24 3c-.914 4.086-4.889 18.171-6.668 24.782-4.8-1.67-9.669-3.131-12.849-4.165a69 69 0 0 0-5.376 8.3c-1.172-3.837-2.315-8.27-3.15-10.1", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
26
|
+
/* @__PURE__ */ React.createElement("path", { d: "m44.744 21.967 16.635-11.015M52.694 23.607 72.21 3M47.725 32.404l7.81-7.535", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
27
|
+
/* @__PURE__ */ React.createElement("path", { d: "m47.953 30.605 3.439-5.607.964-1.123 2.057.607.427-.13-3.339 3.41-2.454 2.256-1.322 1.104z", fill: resolvedSecondaryColor }),
|
|
28
|
+
/* @__PURE__ */ React.createElement("path", { d: "m33.624 21.887-10.743 5.09M40.66 22.881l-6.848 4.344M61.677 28.846l-4.015 9.79", stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
29
|
+
/* @__PURE__ */ React.createElement("path", { d: "M46.413 40.774c3.588 2.406-1.858 8.47-3.657 10.06", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
30
|
+
/* @__PURE__ */ React.createElement("path", { d: "M46.9 43.756c4.114 2.078 1.153 7.714-1.163 10.537", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
31
|
+
/* @__PURE__ */ React.createElement("path", { d: "M48.58 48.727c5.475 4.453-12.472 23.579-13.774 24.633", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
|
|
32
|
+
/* @__PURE__ */ React.createElement("mask", { height: "73", id: "igc-mailsent-el-0", style: { "maskType": "alpha" }, width: "72", x: "4", y: "5", maskUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: "#45dfa7" })),
|
|
33
|
+
/* @__PURE__ */ React.createElement("g", { mask: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ React.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", fill: resolvedSecondaryColor }), /* @__PURE__ */ React.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }))
|
|
23
34
|
);
|
|
24
35
|
};
|
|
25
36
|
MailSent.displayName = "MailSent";
|
package/lib/cjs/index.js
CHANGED
|
@@ -4,18 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getIllustrationPath = void 0;
|
|
7
|
-
|
|
7
|
+
const version = "17.0.2";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Formats string from `access_denied` or `access-denied` to `AccessDenied`
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
return name.split(/_|-/).map(
|
|
14
|
-
return el[0].toUpperCase() + el.slice(1);
|
|
15
|
-
}).join('');
|
|
12
|
+
const formatName = name => {
|
|
13
|
+
return name.split(/_|-/).map(el => el[0].toUpperCase() + el.slice(1)).join('');
|
|
16
14
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return
|
|
15
|
+
const getIllustrationPath = name => {
|
|
16
|
+
const formattedName = formatName(name);
|
|
17
|
+
return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
|
|
20
18
|
};
|
|
19
|
+
exports.getIllustrationPath = getIllustrationPath;
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","
|
|
1
|
+
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName","exports"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":";;;;;;AAEA,MAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,MAAMC,UAAU,GAAIC,IAAY,IAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC,CAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAEM,MAAMC,mBAAmB,GAAIP,IAAY,IAAK;EACnD,MAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,OAAO,0DAA0DF,OAAO,IAAIU,aAAa,MAAM;AACjG,CAAC;AAACC,OAAA,CAAAF,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
package/lib/es6/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
const version = "17.0.2";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Formats string from `access_denied` or `access-denied` to `AccessDenied`
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
return name.split(/_|-/).map(
|
|
8
|
-
return el[0].toUpperCase() + el.slice(1);
|
|
9
|
-
}).join('');
|
|
6
|
+
const formatName = name => {
|
|
7
|
+
return name.split(/_|-/).map(el => el[0].toUpperCase() + el.slice(1)).join('');
|
|
10
8
|
};
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
return
|
|
9
|
+
export const getIllustrationPath = name => {
|
|
10
|
+
const formattedName = formatName(name);
|
|
11
|
+
return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
|
|
14
12
|
};
|
|
15
13
|
//# sourceMappingURL=index.js.map
|
package/lib/es6/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName"
|
|
1
|
+
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":"AAEA,MAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,MAAMC,UAAU,GAAIC,IAAY,IAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC,CAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAED,OAAO,MAAMC,mBAAmB,GAAIP,IAAY,IAAK;EACnD,MAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,OAAO,0DAA0DF,OAAO,IAAIU,aAAa,MAAM;AACjG,CAAC","ignoreList":[]}
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return name.split(/_|-/).map(
|
|
4
|
-
return el[0].toUpperCase() + el.slice(1);
|
|
5
|
-
}).join("");
|
|
1
|
+
const version = "17.0.2";
|
|
2
|
+
const formatName = (name) => {
|
|
3
|
+
return name.split(/_|-/).map((el) => el[0].toUpperCase() + el.slice(1)).join("");
|
|
6
4
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
5
|
+
const getIllustrationPath = (name) => {
|
|
6
|
+
const formattedName = formatName(name);
|
|
7
|
+
return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
|
|
10
8
|
};
|
|
11
9
|
export {
|
|
12
10
|
getIllustrationPath
|