@semcore/illustration 16.0.12 → 17.0.0-prerelease.2
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/README.md +4 -4
- package/{AccessDenied → lib/AccessDenied}/index.d.ts +1 -1
- package/{AccessDenied → lib/AccessDenied}/index.js +2 -2
- package/{AccessDenied → lib/AccessDenied}/index.mjs +1 -1
- package/{AreaChart → lib/AccessLogIn}/index.d.ts +1 -1
- package/{AccessLogIn → lib/AccessLogIn}/index.js +2 -2
- package/{AccessLogIn → lib/AccessLogIn}/index.mjs +1 -1
- package/{Blocked → lib/AreaChart}/index.d.ts +1 -1
- package/{AreaChart → lib/AreaChart}/index.js +2 -2
- package/{AreaChart → lib/AreaChart}/index.mjs +1 -1
- package/{AccessLogIn → lib/Blocked}/index.d.ts +1 -1
- package/{Blocked → lib/Blocked}/index.js +2 -2
- package/{Blocked → lib/Blocked}/index.mjs +1 -1
- package/lib/ChoroplethMapChart/index.d.ts +28 -0
- package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.js +2 -2
- package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.mjs +1 -1
- package/lib/Coffee/index.d.ts +28 -0
- package/{Coffee → lib/Coffee}/index.js +2 -2
- package/{Coffee → lib/Coffee}/index.mjs +1 -1
- package/lib/Collection/index.d.ts +28 -0
- package/{Collection → lib/Collection}/index.js +2 -2
- package/{Collection → lib/Collection}/index.mjs +1 -1
- package/lib/CombinedChart/index.d.ts +28 -0
- package/{CombinedChart → lib/CombinedChart}/index.js +2 -2
- package/{CombinedChart → lib/CombinedChart}/index.mjs +1 -1
- package/lib/Configuration/index.d.ts +28 -0
- package/{Configuration → lib/Configuration}/index.js +2 -2
- package/{Configuration → lib/Configuration}/index.mjs +1 -1
- package/lib/Confirmation/index.d.ts +28 -0
- package/{Confirmation → lib/Confirmation}/index.js +2 -2
- package/{Confirmation → lib/Confirmation}/index.mjs +1 -1
- package/lib/Congrats/index.d.ts +28 -0
- package/{Congrats → lib/Congrats}/index.js +2 -2
- package/{Congrats → lib/Congrats}/index.mjs +1 -1
- package/lib/ConnectionLost/index.d.ts +28 -0
- package/{ConnectionLost → lib/ConnectionLost}/index.js +2 -2
- package/{ConnectionLost → lib/ConnectionLost}/index.mjs +1 -1
- package/lib/DeletedAccount/index.d.ts +28 -0
- package/{DeletedAccount → lib/DeletedAccount}/index.js +2 -2
- package/{DeletedAccount → lib/DeletedAccount}/index.mjs +1 -1
- package/lib/DeletedPage/index.d.ts +28 -0
- package/{DeletedPage → lib/DeletedPage}/index.js +2 -2
- package/{DeletedPage → lib/DeletedPage}/index.mjs +1 -1
- package/lib/Dns/index.d.ts +28 -0
- package/{Dns → lib/Dns}/index.js +2 -2
- package/{Dns → lib/Dns}/index.mjs +1 -1
- package/lib/DonutChart/index.d.ts +28 -0
- package/{DonutChart → lib/DonutChart}/index.js +2 -2
- package/{DonutChart → lib/DonutChart}/index.mjs +1 -1
- package/lib/Duplicates/index.d.ts +28 -0
- package/{Duplicates → lib/Duplicates}/index.js +2 -2
- package/{Duplicates → lib/Duplicates}/index.mjs +1 -1
- package/lib/Feedback/index.d.ts +28 -0
- package/{Feedback → lib/Feedback}/index.js +2 -2
- package/{Feedback → lib/Feedback}/index.mjs +1 -1
- package/lib/FunnelChart/index.d.ts +28 -0
- package/{FunnelChart → lib/FunnelChart}/index.js +2 -2
- package/{FunnelChart → lib/FunnelChart}/index.mjs +1 -1
- package/lib/Good/index.d.ts +28 -0
- package/{Good → lib/Good}/index.js +2 -2
- package/{Good → lib/Good}/index.mjs +1 -1
- package/lib/HeatMapChart/index.d.ts +28 -0
- package/{HeatMapChart → lib/HeatMapChart}/index.js +2 -2
- package/{HeatMapChart → lib/HeatMapChart}/index.mjs +1 -1
- package/lib/HorizontalBarChart/index.d.ts +28 -0
- package/{HorizontalBarChart → lib/HorizontalBarChart}/index.js +2 -2
- package/{HorizontalBarChart → lib/HorizontalBarChart}/index.mjs +1 -1
- package/lib/KagiChart/index.d.ts +28 -0
- package/{KagiChart → lib/KagiChart}/index.js +2 -2
- package/{KagiChart → lib/KagiChart}/index.mjs +1 -1
- package/lib/LineChart/index.d.ts +28 -0
- package/{LineChart → lib/LineChart}/index.js +2 -2
- package/{LineChart → lib/LineChart}/index.mjs +1 -1
- package/lib/LollipopChart/index.d.ts +28 -0
- package/{LollipopChart → lib/LollipopChart}/index.js +2 -2
- package/{LollipopChart → lib/LollipopChart}/index.mjs +1 -1
- package/lib/MailSent/index.d.ts +28 -0
- package/{MailSent → lib/MailSent}/index.js +2 -2
- package/{MailSent → lib/MailSent}/index.mjs +1 -1
- package/lib/Maintenance/index.d.ts +28 -0
- package/{Maintenance → lib/Maintenance}/index.js +2 -2
- package/{Maintenance → lib/Maintenance}/index.mjs +1 -1
- package/lib/Nexttime/index.d.ts +28 -0
- package/{Nexttime → lib/Nexttime}/index.js +2 -2
- package/{Nexttime → lib/Nexttime}/index.mjs +1 -1
- package/lib/NoPayment/index.d.ts +28 -0
- package/{NoPayment → lib/NoPayment}/index.js +2 -2
- package/{NoPayment → lib/NoPayment}/index.mjs +1 -1
- package/lib/NothingFound/index.d.ts +28 -0
- package/{NothingFound → lib/NothingFound}/index.js +2 -2
- package/{NothingFound → lib/NothingFound}/index.mjs +1 -1
- package/lib/OtherData/index.d.ts +28 -0
- package/{OtherData → lib/OtherData}/index.js +2 -2
- package/{OtherData → lib/OtherData}/index.mjs +1 -1
- package/lib/PageError/index.d.ts +28 -0
- package/{PageError → lib/PageError}/index.js +2 -2
- package/{PageError → lib/PageError}/index.mjs +1 -1
- package/lib/PageNotFound/index.d.ts +28 -0
- package/{PageNotFound → lib/PageNotFound}/index.js +2 -2
- package/{PageNotFound → lib/PageNotFound}/index.mjs +1 -1
- package/lib/PieChart/index.d.ts +28 -0
- package/{PieChart → lib/PieChart}/index.js +2 -2
- package/{PieChart → lib/PieChart}/index.mjs +1 -1
- package/lib/Processing/index.d.ts +28 -0
- package/{Processing → lib/Processing}/index.js +2 -2
- package/{Processing → lib/Processing}/index.mjs +1 -1
- package/lib/ProjectNotFound/index.d.ts +28 -0
- package/{ProjectNotFound → lib/ProjectNotFound}/index.js +2 -2
- package/{ProjectNotFound → lib/ProjectNotFound}/index.mjs +1 -1
- package/lib/RadarChart/index.d.ts +28 -0
- package/{RadarChart → lib/RadarChart}/index.js +2 -2
- package/{RadarChart → lib/RadarChart}/index.mjs +1 -1
- package/lib/RadialTreeChart/index.d.ts +28 -0
- package/{RadialTreeChart → lib/RadialTreeChart}/index.js +2 -2
- package/{RadialTreeChart → lib/RadialTreeChart}/index.mjs +1 -1
- package/lib/SankeyChart/index.d.ts +28 -0
- package/{SankeyChart → lib/SankeyChart}/index.js +2 -2
- package/{SankeyChart → lib/SankeyChart}/index.mjs +1 -1
- package/lib/ScatterPlotChart/index.d.ts +28 -0
- package/{ScatterPlotChart → lib/ScatterPlotChart}/index.js +2 -2
- package/{ScatterPlotChart → lib/ScatterPlotChart}/index.mjs +1 -1
- package/lib/StackedAreaChart/index.d.ts +28 -0
- package/{StackedAreaChart → lib/StackedAreaChart}/index.js +2 -2
- package/{StackedAreaChart → lib/StackedAreaChart}/index.mjs +1 -1
- package/lib/Suggestion/index.d.ts +28 -0
- package/{Suggestion → lib/Suggestion}/index.js +2 -2
- package/{Suggestion → lib/Suggestion}/index.mjs +1 -1
- package/lib/Suggestions/index.d.ts +28 -0
- package/{Suggestions → lib/Suggestions}/index.js +2 -2
- package/{Suggestions → lib/Suggestions}/index.mjs +1 -1
- package/lib/Table/index.d.ts +28 -0
- package/{Table → lib/Table}/index.js +2 -2
- package/{Table → lib/Table}/index.mjs +1 -1
- package/lib/TagCloud/index.d.ts +28 -0
- package/{TagCloud → lib/TagCloud}/index.js +2 -2
- package/{TagCloud → lib/TagCloud}/index.mjs +1 -1
- package/lib/TextLinksEtc/index.d.ts +28 -0
- package/{TextLinksEtc → lib/TextLinksEtc}/index.js +2 -2
- package/{TextLinksEtc → lib/TextLinksEtc}/index.mjs +1 -1
- package/lib/Timeout/index.d.ts +28 -0
- package/{Timeout → lib/Timeout}/index.js +2 -2
- package/{Timeout → lib/Timeout}/index.mjs +1 -1
- package/lib/UnderConstruction/index.d.ts +28 -0
- package/{UnderConstruction → lib/UnderConstruction}/index.js +2 -2
- package/{UnderConstruction → lib/UnderConstruction}/index.mjs +1 -1
- package/lib/VennChart/index.d.ts +28 -0
- package/{VennChart → lib/VennChart}/index.js +2 -2
- package/{VennChart → lib/VennChart}/index.mjs +1 -1
- package/lib/VerticalBarChart/index.d.ts +28 -0
- package/{VerticalBarChart → lib/VerticalBarChart}/index.js +2 -2
- package/{VerticalBarChart → lib/VerticalBarChart}/index.mjs +1 -1
- package/lib/Waiting/index.d.ts +28 -0
- package/{Waiting → lib/Waiting}/index.js +2 -2
- package/{Waiting → lib/Waiting}/index.mjs +1 -1
- package/lib/Warning/index.d.ts +28 -0
- package/{Warning → lib/Warning}/index.js +2 -2
- package/{Warning → lib/Warning}/index.mjs +1 -1
- 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 +161 -161
- package/transform.ts +12 -12
- package/ChoroplethMapChart/index.d.ts +0 -28
- package/Coffee/index.d.ts +0 -28
- package/Collection/index.d.ts +0 -28
- package/CombinedChart/index.d.ts +0 -28
- package/Configuration/index.d.ts +0 -28
- package/Confirmation/index.d.ts +0 -28
- package/Congrats/index.d.ts +0 -28
- package/ConnectionLost/index.d.ts +0 -28
- package/DeletedAccount/index.d.ts +0 -28
- package/DeletedPage/index.d.ts +0 -28
- package/Dns/index.d.ts +0 -28
- package/DonutChart/index.d.ts +0 -28
- package/Duplicates/index.d.ts +0 -28
- package/Feedback/index.d.ts +0 -28
- package/FunnelChart/index.d.ts +0 -28
- package/Good/index.d.ts +0 -28
- package/HeatMapChart/index.d.ts +0 -28
- package/HorizontalBarChart/index.d.ts +0 -28
- package/KagiChart/index.d.ts +0 -28
- package/LineChart/index.d.ts +0 -28
- package/LollipopChart/index.d.ts +0 -28
- package/MailSent/index.d.ts +0 -28
- package/Maintenance/index.d.ts +0 -28
- package/Nexttime/index.d.ts +0 -28
- package/NoPayment/index.d.ts +0 -28
- package/NothingFound/index.d.ts +0 -28
- package/OtherData/index.d.ts +0 -28
- package/PageError/index.d.ts +0 -28
- package/PageNotFound/index.d.ts +0 -28
- package/PieChart/index.d.ts +0 -28
- package/Processing/index.d.ts +0 -28
- package/ProjectNotFound/index.d.ts +0 -28
- package/RadarChart/index.d.ts +0 -28
- package/RadialTreeChart/index.d.ts +0 -28
- package/SankeyChart/index.d.ts +0 -28
- package/ScatterPlotChart/index.d.ts +0 -28
- package/StackedAreaChart/index.d.ts +0 -28
- package/Suggestion/index.d.ts +0 -28
- package/Suggestions/index.d.ts +0 -28
- package/Table/index.d.ts +0 -28
- package/TagCloud/index.d.ts +0 -28
- package/TextLinksEtc/index.d.ts +0 -28
- package/Timeout/index.d.ts +0 -28
- package/UnderConstruction/index.d.ts +0 -28
- package/VennChart/index.d.ts +0 -28
- package/VerticalBarChart/index.d.ts +0 -28
- package/Waiting/index.d.ts +0 -28
- package/Warning/index.d.ts +0 -28
- package/clear.ts +0 -25
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const Timeout = ({ fill = "none", width = "260", height = "260", viewBox = "0 0 260 260", primaryColor = "#6EDAFF", secondaryColor = "#000", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const Timeout = ({ fill = "none", width = "260", height = "260", viewBox = "0 0 260 260", primaryColor = "#6EDAFF", secondaryColor = "#000", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
@@ -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;
|
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const UnderConstruction = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const UnderConstruction = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
@@ -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;
|
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const VennChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const VennChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
@@ -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;
|
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const VerticalBarChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const VerticalBarChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
@@ -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;
|
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const Waiting = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const Waiting = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
|
@@ -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;
|
|
@@ -25,13 +25,13 @@ __export(stdin_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(stdin_exports);
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
|
-
var
|
|
28
|
+
var import_base_components = require("@semcore/base-components");
|
|
29
29
|
var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
|
|
30
30
|
const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
31
|
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
32
|
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
33
|
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
|
|
35
35
|
ref,
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
|
-
import { Box } from "@semcore/
|
|
3
|
+
import { Box } from "@semcore/base-components";
|
|
4
4
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
5
5
|
const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
6
|
const colorResolver = useColorResolver();
|
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.0";
|
|
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.0";
|
|
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.0";
|
|
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
|