@semcore/illustration 16.1.0-prerelease.1 → 16.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/lib/AccessDenied/index.d.ts +28 -0
- package/lib/AccessDenied/index.js +61 -0
- package/lib/AccessDenied/index.mjs +32 -0
- package/lib/AccessLogIn/index.d.ts +28 -0
- package/lib/AccessLogIn/index.js +61 -0
- package/lib/AccessLogIn/index.mjs +32 -0
- package/lib/AreaChart/index.d.ts +28 -0
- package/lib/AreaChart/index.js +67 -0
- package/lib/AreaChart/index.mjs +38 -0
- package/lib/Blocked/index.d.ts +28 -0
- package/lib/Blocked/index.js +153 -0
- package/lib/Blocked/index.mjs +124 -0
- package/lib/ChoroplethMapChart/index.d.ts +28 -0
- package/lib/ChoroplethMapChart/index.js +69 -0
- package/lib/ChoroplethMapChart/index.mjs +40 -0
- package/lib/Coffee/index.d.ts +28 -0
- package/lib/Coffee/index.js +64 -0
- package/lib/Coffee/index.mjs +35 -0
- package/lib/Collection/index.d.ts +28 -0
- package/lib/Collection/index.js +66 -0
- package/lib/Collection/index.mjs +37 -0
- package/lib/CombinedChart/index.d.ts +28 -0
- package/lib/CombinedChart/index.js +71 -0
- package/lib/CombinedChart/index.mjs +42 -0
- package/lib/Configuration/index.d.ts +28 -0
- package/lib/Configuration/index.js +82 -0
- package/lib/Configuration/index.mjs +53 -0
- package/lib/Confirmation/index.d.ts +28 -0
- package/lib/Confirmation/index.js +63 -0
- package/lib/Confirmation/index.mjs +34 -0
- package/lib/Congrats/index.d.ts +28 -0
- package/lib/Congrats/index.js +58 -0
- package/lib/Congrats/index.mjs +29 -0
- package/lib/ConnectionLost/index.d.ts +28 -0
- package/lib/ConnectionLost/index.js +66 -0
- package/lib/ConnectionLost/index.mjs +37 -0
- package/lib/DeletedAccount/index.d.ts +28 -0
- package/lib/DeletedAccount/index.js +82 -0
- package/lib/DeletedAccount/index.mjs +53 -0
- package/lib/DeletedPage/index.d.ts +28 -0
- package/lib/DeletedPage/index.js +58 -0
- package/lib/DeletedPage/index.mjs +29 -0
- package/lib/Dns/index.d.ts +28 -0
- package/lib/Dns/index.js +62 -0
- package/lib/Dns/index.mjs +33 -0
- package/lib/DonutChart/index.d.ts +28 -0
- package/lib/DonutChart/index.js +72 -0
- package/lib/DonutChart/index.mjs +43 -0
- package/lib/Duplicates/index.d.ts +28 -0
- package/lib/Duplicates/index.js +69 -0
- package/lib/Duplicates/index.mjs +40 -0
- package/lib/Feedback/index.d.ts +28 -0
- package/lib/Feedback/index.js +66 -0
- package/lib/Feedback/index.mjs +37 -0
- package/lib/FunnelChart/index.d.ts +28 -0
- package/lib/FunnelChart/index.js +68 -0
- package/lib/FunnelChart/index.mjs +39 -0
- package/lib/Good/index.d.ts +28 -0
- package/lib/Good/index.js +73 -0
- package/lib/Good/index.mjs +44 -0
- package/lib/HeatMapChart/index.d.ts +28 -0
- package/lib/HeatMapChart/index.js +70 -0
- package/lib/HeatMapChart/index.mjs +41 -0
- package/lib/HorizontalBarChart/index.d.ts +28 -0
- package/lib/HorizontalBarChart/index.js +68 -0
- package/lib/HorizontalBarChart/index.mjs +39 -0
- package/lib/KagiChart/index.d.ts +28 -0
- package/lib/KagiChart/index.js +65 -0
- package/lib/KagiChart/index.mjs +36 -0
- package/lib/LineChart/index.d.ts +28 -0
- package/lib/LineChart/index.js +66 -0
- package/lib/LineChart/index.mjs +37 -0
- package/lib/LollipopChart/index.d.ts +28 -0
- package/lib/LollipopChart/index.js +68 -0
- package/lib/LollipopChart/index.mjs +39 -0
- package/lib/MailSent/index.d.ts +28 -0
- package/lib/MailSent/index.js +58 -0
- package/lib/MailSent/index.mjs +29 -0
- package/lib/Maintenance/index.d.ts +28 -0
- package/lib/Maintenance/index.js +62 -0
- package/lib/Maintenance/index.mjs +33 -0
- package/lib/Nexttime/index.d.ts +28 -0
- package/lib/Nexttime/index.js +70 -0
- package/lib/Nexttime/index.mjs +41 -0
- package/lib/NoPayment/index.d.ts +28 -0
- package/lib/NoPayment/index.js +58 -0
- package/lib/NoPayment/index.mjs +29 -0
- package/lib/NothingFound/index.d.ts +28 -0
- package/lib/NothingFound/index.js +72 -0
- package/lib/NothingFound/index.mjs +43 -0
- package/lib/OtherData/index.d.ts +28 -0
- package/lib/OtherData/index.js +70 -0
- package/lib/OtherData/index.mjs +41 -0
- package/lib/PageError/index.d.ts +28 -0
- package/lib/PageError/index.js +95 -0
- package/lib/PageError/index.mjs +66 -0
- package/lib/PageNotFound/index.d.ts +28 -0
- package/lib/PageNotFound/index.js +113 -0
- package/lib/PageNotFound/index.mjs +84 -0
- package/lib/PieChart/index.d.ts +28 -0
- package/lib/PieChart/index.js +70 -0
- package/lib/PieChart/index.mjs +41 -0
- package/lib/Processing/index.d.ts +28 -0
- package/lib/Processing/index.js +67 -0
- package/lib/Processing/index.mjs +38 -0
- package/lib/ProjectNotFound/index.d.ts +28 -0
- package/lib/ProjectNotFound/index.js +95 -0
- package/lib/ProjectNotFound/index.mjs +66 -0
- package/lib/RadarChart/index.d.ts +28 -0
- package/lib/RadarChart/index.js +67 -0
- package/lib/RadarChart/index.mjs +38 -0
- package/lib/RadialTreeChart/index.d.ts +28 -0
- package/lib/RadialTreeChart/index.js +73 -0
- package/lib/RadialTreeChart/index.mjs +44 -0
- package/lib/SankeyChart/index.d.ts +28 -0
- package/lib/SankeyChart/index.js +71 -0
- package/lib/SankeyChart/index.mjs +42 -0
- package/lib/ScatterPlotChart/index.d.ts +28 -0
- package/lib/ScatterPlotChart/index.js +69 -0
- package/lib/ScatterPlotChart/index.mjs +40 -0
- package/lib/StackedAreaChart/index.d.ts +28 -0
- package/lib/StackedAreaChart/index.js +71 -0
- package/lib/StackedAreaChart/index.mjs +42 -0
- package/lib/Suggestion/index.d.ts +28 -0
- package/lib/Suggestion/index.js +67 -0
- package/lib/Suggestion/index.mjs +38 -0
- package/lib/Suggestions/index.d.ts +28 -0
- package/lib/Suggestions/index.js +67 -0
- package/lib/Suggestions/index.mjs +38 -0
- package/lib/Table/index.d.ts +28 -0
- package/lib/Table/index.js +64 -0
- package/lib/Table/index.mjs +35 -0
- package/lib/TagCloud/index.d.ts +28 -0
- package/lib/TagCloud/index.js +69 -0
- package/lib/TagCloud/index.mjs +40 -0
- package/lib/TextLinksEtc/index.d.ts +28 -0
- package/lib/TextLinksEtc/index.js +65 -0
- package/lib/TextLinksEtc/index.mjs +36 -0
- package/lib/Timeout/index.d.ts +28 -0
- package/lib/Timeout/index.js +61 -0
- package/lib/Timeout/index.mjs +32 -0
- package/lib/UnderConstruction/index.d.ts +28 -0
- package/lib/UnderConstruction/index.js +75 -0
- package/lib/UnderConstruction/index.mjs +46 -0
- package/lib/VennChart/index.d.ts +28 -0
- package/lib/VennChart/index.js +69 -0
- package/lib/VennChart/index.mjs +40 -0
- package/lib/VerticalBarChart/index.d.ts +28 -0
- package/lib/VerticalBarChart/index.js +68 -0
- package/lib/VerticalBarChart/index.mjs +39 -0
- package/lib/Waiting/index.d.ts +28 -0
- package/lib/Waiting/index.js +68 -0
- package/lib/Waiting/index.mjs +39 -0
- package/lib/Warning/index.d.ts +28 -0
- package/lib/Warning/index.js +66 -0
- package/lib/Warning/index.mjs +37 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/index.js +1 -1
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/index.mjs +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
import { BoxProps } from '@semcore/base-components';
|
|
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;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var stdin_exports = {};
|
|
29
|
+
__export(stdin_exports, {
|
|
30
|
+
default: () => stdin_default
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_core = require("@semcore/core");
|
|
35
|
+
var import_base_components = require("@semcore/base-components");
|
|
36
|
+
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
37
|
+
const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
38
|
+
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
39
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
40
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
41
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
42
|
+
import_base_components.Box,
|
|
43
|
+
{
|
|
44
|
+
ref,
|
|
45
|
+
width,
|
|
46
|
+
height,
|
|
47
|
+
viewBox,
|
|
48
|
+
fill,
|
|
49
|
+
tag: "svg",
|
|
50
|
+
"aria-hidden": true,
|
|
51
|
+
...props
|
|
52
|
+
},
|
|
53
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M40.51 79.997C62.49 79.714 79.977 61.39 79.977 39.4V.99a.994.994 0 0 0-.99-.99H54.306a.994.994 0 0 0-.99.99v2.753H27.638a.994.994 0 0 0-.99.99v35.265H.991A.985.985 0 0 0 0 41.01c.544 21.806 18.52 39.27 40.52 38.987", fill: resolvedPrimaryColor }),
|
|
54
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
55
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
56
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.146-.638 6.25 1.286 7.053 4.378l1.226 4.669.011-.01Z", fill: resolvedSecondaryColor }),
|
|
57
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.097.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z", fill: "#fff" }),
|
|
58
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M25.443 21.693c.293 1.06-.325 2.108-1.4 2.335-1.074.227-2.192-.454-2.485-1.524-.293-1.07.326-2.12 1.411-2.346 1.085-.227 2.181.465 2.474 1.524v.01Z", fill: resolvedPrimaryColor }),
|
|
59
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z", fill: resolvedSecondaryColor }),
|
|
60
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m40.481 27.976-7.447 28.427a.98.98 0 0 0 1.22 1.197l27.762-7.62c.73-.197.97-1.1.447-1.645L42.147 27.53c-.533-.545-1.47-.305-1.666.435v.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
61
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "m43.443 35.477 2.373 8.645", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }),
|
|
62
|
+
/* @__PURE__ */ import_react.default.createElement("path", { d: "M48.353 48.346c.185.675-.24 1.372-.947 1.557-.708.185-1.438-.196-1.623-.871-.185-.675.24-1.372.947-1.557.708-.185 1.427.207 1.612.871h.01Z", fill: resolvedSecondaryColor })
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
Warning.displayName = "Warning";
|
|
66
|
+
var stdin_default = (0, import_core.createBaseComponent)(Warning);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { createBaseComponent } from "@semcore/core";
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
|
+
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
|
+
const Warning = ({ 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(
|
|
10
|
+
Box,
|
|
11
|
+
{
|
|
12
|
+
ref,
|
|
13
|
+
width,
|
|
14
|
+
height,
|
|
15
|
+
viewBox,
|
|
16
|
+
fill,
|
|
17
|
+
tag: "svg",
|
|
18
|
+
"aria-hidden": true,
|
|
19
|
+
...props
|
|
20
|
+
},
|
|
21
|
+
/* @__PURE__ */ React.createElement("path", { d: "M40.51 79.997C62.49 79.714 79.977 61.39 79.977 39.4V.99a.994.994 0 0 0-.99-.99H54.306a.994.994 0 0 0-.99.99v2.753H27.638a.994.994 0 0 0-.99.99v35.265H.991A.985.985 0 0 0 0 41.01c.544 21.806 18.52 39.27 40.52 38.987", fill: resolvedPrimaryColor }),
|
|
22
|
+
/* @__PURE__ */ React.createElement("path", { d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
23
|
+
/* @__PURE__ */ React.createElement("path", { d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
24
|
+
/* @__PURE__ */ React.createElement("path", { d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.146-.638 6.25 1.286 7.053 4.378l1.226 4.669.011-.01Z", fill: resolvedSecondaryColor }),
|
|
25
|
+
/* @__PURE__ */ React.createElement("path", { d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.097.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z", fill: "#fff" }),
|
|
26
|
+
/* @__PURE__ */ React.createElement("path", { d: "M25.443 21.693c.293 1.06-.325 2.108-1.4 2.335-1.074.227-2.192-.454-2.485-1.524-.293-1.07.326-2.12 1.411-2.346 1.085-.227 2.181.465 2.474 1.524v.01Z", fill: resolvedPrimaryColor }),
|
|
27
|
+
/* @__PURE__ */ React.createElement("path", { d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z", fill: resolvedSecondaryColor }),
|
|
28
|
+
/* @__PURE__ */ React.createElement("path", { d: "m40.481 27.976-7.447 28.427a.98.98 0 0 0 1.22 1.197l27.762-7.62c.73-.197.97-1.1.447-1.645L42.147 27.53c-.533-.545-1.47-.305-1.666.435v.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
|
|
29
|
+
/* @__PURE__ */ React.createElement("path", { d: "m43.443 35.477 2.373 8.645", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }),
|
|
30
|
+
/* @__PURE__ */ React.createElement("path", { d: "M48.353 48.346c.185.675-.24 1.372-.947 1.557-.708.185-1.438-.196-1.623-.871-.185-.675.24-1.372.947-1.557.708-.185 1.427.207 1.612.871h.01Z", fill: resolvedSecondaryColor })
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
Warning.displayName = "Warning";
|
|
34
|
+
var stdin_default = createBaseComponent(Warning);
|
|
35
|
+
export {
|
|
36
|
+
stdin_default as default
|
|
37
|
+
};
|
package/lib/cjs/index.js
CHANGED
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","exports","formattedName","concat"],"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,IAAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","exports","formattedName","concat"],"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,IAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAAY,EAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAC,UAACC,EAAE;IAAA,OAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAEM,IAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAY,EAAK;EACnD,IAAMS,aAAa,GAAGV,UAAU,CAACC,IAAI,CAAC;EAEtC,iEAAAU,MAAA,CAAiEZ,OAAO,OAAAY,MAAA,CAAID,aAAa;AAC3F,CAAC","ignoreList":[]}
|
package/lib/es6/index.js
CHANGED
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","concat"],"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,IAAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName","concat"],"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,IAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAAY,EAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAC,UAACC,EAAE;IAAA,OAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAED,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAY,EAAK;EACnD,IAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,iEAAAS,MAAA,CAAiEX,OAAO,OAAAW,MAAA,CAAID,aAAa;AAC3F,CAAC","ignoreList":[]}
|
package/lib/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/illustration",
|
|
3
3
|
"description": "Semrush Illustration Component",
|
|
4
|
-
"version": "16.1.0
|
|
4
|
+
"version": "16.1.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/esm/index.mjs",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"colorjs.io": "0.4.3"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@semcore/base-components": "^16.6.0
|
|
15
|
+
"@semcore/base-components": "^16.6.0"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"fs-extra": "8.1.0",
|
|
26
26
|
"happy-dom": "9.20.3",
|
|
27
27
|
"svg-to-jsx": "1.0.4",
|
|
28
|
-
"@semcore/
|
|
29
|
-
"@semcore/
|
|
28
|
+
"@semcore/core": "16.6.0",
|
|
29
|
+
"@semcore/testing-utils": "1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|