@semcore/illustration 1.4.13 → 1.4.15
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.js +8 -19
- package/AccessDenied/index.mjs +0 -3
- package/AreaChart/index.js +8 -19
- package/AreaChart/index.mjs +0 -3
- package/Blocked/index.js +8 -19
- package/Blocked/index.mjs +0 -3
- package/CHANGELOG.md +2 -2
- package/ChoroplethMapChart/index.js +8 -19
- package/ChoroplethMapChart/index.mjs +0 -3
- package/Coffee/index.js +8 -19
- package/Coffee/index.mjs +0 -3
- package/Collection/index.js +8 -19
- package/Collection/index.mjs +0 -3
- package/CombinedChart/index.js +8 -19
- package/CombinedChart/index.mjs +0 -3
- package/Confirmation/index.js +8 -19
- package/Confirmation/index.mjs +0 -3
- package/Congrats/index.js +8 -19
- package/Congrats/index.mjs +0 -3
- package/ConnectionLost/index.js +8 -19
- package/ConnectionLost/index.mjs +0 -3
- package/DeletedAccount/index.js +8 -19
- package/DeletedAccount/index.mjs +0 -3
- package/DeletedPage/index.js +8 -19
- package/DeletedPage/index.mjs +0 -3
- package/Dns/index.js +8 -19
- package/Dns/index.mjs +0 -3
- package/DonutChart/index.js +8 -19
- package/DonutChart/index.mjs +0 -3
- package/Duplicates/index.js +8 -19
- package/Duplicates/index.mjs +0 -3
- package/Feedback/index.js +8 -19
- package/Feedback/index.mjs +0 -3
- package/FunnelChart/index.js +8 -19
- package/FunnelChart/index.mjs +0 -3
- package/Good/index.js +8 -19
- package/Good/index.mjs +0 -3
- package/HeatMapChart/index.js +8 -19
- package/HeatMapChart/index.mjs +0 -3
- package/HorizontalBarChart/index.js +8 -19
- package/HorizontalBarChart/index.mjs +0 -3
- package/KagiChart/index.js +8 -19
- package/KagiChart/index.mjs +0 -3
- package/LineChart/index.js +8 -19
- package/LineChart/index.mjs +0 -3
- package/LollipopChart/index.js +8 -19
- package/LollipopChart/index.mjs +0 -3
- package/MailSent/index.js +8 -19
- package/MailSent/index.mjs +0 -3
- package/Maintenance/index.js +8 -19
- package/Maintenance/index.mjs +0 -3
- package/Nexttime/index.js +8 -19
- package/Nexttime/index.mjs +0 -3
- package/NoPayment/index.js +8 -19
- package/NoPayment/index.mjs +0 -3
- package/NothingFound/index.js +8 -19
- package/NothingFound/index.mjs +0 -3
- package/OtherData/index.js +8 -19
- package/OtherData/index.mjs +0 -3
- package/PageError/index.js +8 -19
- package/PageError/index.mjs +0 -3
- package/PageNotFound/index.js +8 -19
- package/PageNotFound/index.mjs +0 -3
- package/PieChart/index.js +8 -19
- package/PieChart/index.mjs +0 -3
- package/Processing/index.js +8 -19
- package/Processing/index.mjs +0 -3
- package/ProjectNotFound/index.js +8 -19
- package/ProjectNotFound/index.mjs +0 -3
- package/RadarChart/index.js +8 -19
- package/RadarChart/index.mjs +0 -3
- package/RadialTreeChart/index.js +8 -19
- package/RadialTreeChart/index.mjs +0 -3
- package/SankeyChart/index.js +8 -19
- package/SankeyChart/index.mjs +0 -3
- package/ScatterPlotChart/index.js +8 -19
- package/ScatterPlotChart/index.mjs +0 -3
- package/StackedAreaChart/index.js +8 -19
- package/StackedAreaChart/index.mjs +0 -3
- package/Suggestion/index.js +8 -19
- package/Suggestion/index.mjs +0 -3
- package/Suggestions/index.js +8 -19
- package/Suggestions/index.mjs +0 -3
- package/Table/index.js +8 -19
- package/Table/index.mjs +0 -3
- package/TagCloud/index.js +8 -19
- package/TagCloud/index.mjs +0 -3
- package/TextLinksEtc/index.js +8 -19
- package/TextLinksEtc/index.mjs +0 -3
- package/Timeout/index.js +8 -19
- package/Timeout/index.mjs +0 -3
- package/UnderConstruction/index.js +8 -19
- package/UnderConstruction/index.mjs +0 -3
- package/VennChart/index.js +8 -19
- package/VennChart/index.mjs +0 -3
- package/VerticalBarChart/index.js +8 -19
- package/VerticalBarChart/index.mjs +0 -3
- package/Waiting/index.js +8 -19
- package/Waiting/index.mjs +0 -3
- package/Warning/index.js +8 -19
- package/Warning/index.mjs +0 -3
- package/lib/cjs/index.js +2 -4
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/index.js +2 -3
- package/lib/es6/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
12
|
var _flexBox = require("@semcore/flex-box");
|
|
19
|
-
|
|
20
13
|
var _excluded = ["fill", "width", "height", "viewBox"];
|
|
21
|
-
|
|
22
14
|
function UnderConstruction(_ref, ref) {
|
|
23
15
|
var _ref$fill = _ref.fill,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
|
|
17
|
+
_ref$width = _ref.width,
|
|
18
|
+
width = _ref$width === void 0 ? '80' : _ref$width,
|
|
19
|
+
_ref$height = _ref.height,
|
|
20
|
+
height = _ref$height === void 0 ? '80' : _ref$height,
|
|
21
|
+
_ref$viewBox = _ref.viewBox,
|
|
22
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
|
|
23
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
24
|
return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
|
|
33
25
|
ref: ref,
|
|
34
26
|
width: width,
|
|
@@ -154,9 +146,6 @@ function UnderConstruction(_ref, ref) {
|
|
|
154
146
|
shapeRendering: "geometricPrecision"
|
|
155
147
|
}));
|
|
156
148
|
}
|
|
157
|
-
|
|
158
149
|
UnderConstruction.displayName = 'UnderConstruction';
|
|
159
|
-
|
|
160
150
|
var _default = (0, _core.createBaseComponent)(UnderConstruction);
|
|
161
|
-
|
|
162
151
|
exports["default"] = _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { createBaseComponent } from '@semcore/core';
|
|
5
4
|
import { Box } from '@semcore/flex-box';
|
|
6
|
-
|
|
7
5
|
function UnderConstruction({
|
|
8
6
|
fill = 'none',
|
|
9
7
|
width = '80',
|
|
@@ -136,6 +134,5 @@ function UnderConstruction({
|
|
|
136
134
|
shapeRendering: "geometricPrecision"
|
|
137
135
|
}));
|
|
138
136
|
}
|
|
139
|
-
|
|
140
137
|
UnderConstruction.displayName = 'UnderConstruction';
|
|
141
138
|
export default createBaseComponent(UnderConstruction);
|
package/VennChart/index.js
CHANGED
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
12
|
var _flexBox = require("@semcore/flex-box");
|
|
19
|
-
|
|
20
13
|
var _excluded = ["fill", "width", "height", "viewBox"];
|
|
21
|
-
|
|
22
14
|
function VennChart(_ref, ref) {
|
|
23
15
|
var _ref$fill = _ref.fill,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
|
|
17
|
+
_ref$width = _ref.width,
|
|
18
|
+
width = _ref$width === void 0 ? '80' : _ref$width,
|
|
19
|
+
_ref$height = _ref.height,
|
|
20
|
+
height = _ref$height === void 0 ? '80' : _ref$height,
|
|
21
|
+
_ref$viewBox = _ref.viewBox,
|
|
22
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
|
|
23
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
24
|
return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
|
|
33
25
|
ref: ref,
|
|
34
26
|
width: width,
|
|
@@ -114,9 +106,6 @@ function VennChart(_ref, ref) {
|
|
|
114
106
|
shapeRendering: "geometricPrecision"
|
|
115
107
|
}));
|
|
116
108
|
}
|
|
117
|
-
|
|
118
109
|
VennChart.displayName = 'VennChart';
|
|
119
|
-
|
|
120
110
|
var _default = (0, _core.createBaseComponent)(VennChart);
|
|
121
|
-
|
|
122
111
|
exports["default"] = _default;
|
package/VennChart/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { createBaseComponent } from '@semcore/core';
|
|
5
4
|
import { Box } from '@semcore/flex-box';
|
|
6
|
-
|
|
7
5
|
function VennChart({
|
|
8
6
|
fill = 'none',
|
|
9
7
|
width = '80',
|
|
@@ -96,6 +94,5 @@ function VennChart({
|
|
|
96
94
|
shapeRendering: "geometricPrecision"
|
|
97
95
|
}));
|
|
98
96
|
}
|
|
99
|
-
|
|
100
97
|
VennChart.displayName = 'VennChart';
|
|
101
98
|
export default createBaseComponent(VennChart);
|
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
12
|
var _flexBox = require("@semcore/flex-box");
|
|
19
|
-
|
|
20
13
|
var _excluded = ["fill", "width", "height", "viewBox"];
|
|
21
|
-
|
|
22
14
|
function VerticalBarChart(_ref, ref) {
|
|
23
15
|
var _ref$fill = _ref.fill,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
|
|
17
|
+
_ref$width = _ref.width,
|
|
18
|
+
width = _ref$width === void 0 ? '80' : _ref$width,
|
|
19
|
+
_ref$height = _ref.height,
|
|
20
|
+
height = _ref$height === void 0 ? '80' : _ref$height,
|
|
21
|
+
_ref$viewBox = _ref.viewBox,
|
|
22
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
|
|
23
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
24
|
return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
|
|
33
25
|
ref: ref,
|
|
34
26
|
width: width,
|
|
@@ -107,9 +99,6 @@ function VerticalBarChart(_ref, ref) {
|
|
|
107
99
|
shapeRendering: "geometricPrecision"
|
|
108
100
|
}));
|
|
109
101
|
}
|
|
110
|
-
|
|
111
102
|
VerticalBarChart.displayName = 'VerticalBarChart';
|
|
112
|
-
|
|
113
103
|
var _default = (0, _core.createBaseComponent)(VerticalBarChart);
|
|
114
|
-
|
|
115
104
|
exports["default"] = _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { createBaseComponent } from '@semcore/core';
|
|
5
4
|
import { Box } from '@semcore/flex-box';
|
|
6
|
-
|
|
7
5
|
function VerticalBarChart({
|
|
8
6
|
fill = 'none',
|
|
9
7
|
width = '80',
|
|
@@ -89,6 +87,5 @@ function VerticalBarChart({
|
|
|
89
87
|
shapeRendering: "geometricPrecision"
|
|
90
88
|
}));
|
|
91
89
|
}
|
|
92
|
-
|
|
93
90
|
VerticalBarChart.displayName = 'VerticalBarChart';
|
|
94
91
|
export default createBaseComponent(VerticalBarChart);
|
package/Waiting/index.js
CHANGED
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
12
|
var _flexBox = require("@semcore/flex-box");
|
|
19
|
-
|
|
20
13
|
var _excluded = ["fill", "width", "height", "viewBox"];
|
|
21
|
-
|
|
22
14
|
function Waiting(_ref, ref) {
|
|
23
15
|
var _ref$fill = _ref.fill,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
|
|
17
|
+
_ref$width = _ref.width,
|
|
18
|
+
width = _ref$width === void 0 ? '80' : _ref$width,
|
|
19
|
+
_ref$height = _ref.height,
|
|
20
|
+
height = _ref$height === void 0 ? '80' : _ref$height,
|
|
21
|
+
_ref$viewBox = _ref.viewBox,
|
|
22
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
|
|
23
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
24
|
return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
|
|
33
25
|
ref: ref,
|
|
34
26
|
width: width,
|
|
@@ -100,9 +92,6 @@ function Waiting(_ref, ref) {
|
|
|
100
92
|
shapeRendering: "geometricPrecision"
|
|
101
93
|
}));
|
|
102
94
|
}
|
|
103
|
-
|
|
104
95
|
Waiting.displayName = 'Waiting';
|
|
105
|
-
|
|
106
96
|
var _default = (0, _core.createBaseComponent)(Waiting);
|
|
107
|
-
|
|
108
97
|
exports["default"] = _default;
|
package/Waiting/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { createBaseComponent } from '@semcore/core';
|
|
5
4
|
import { Box } from '@semcore/flex-box';
|
|
6
|
-
|
|
7
5
|
function Waiting({
|
|
8
6
|
fill = 'none',
|
|
9
7
|
width = '80',
|
|
@@ -82,6 +80,5 @@ function Waiting({
|
|
|
82
80
|
shapeRendering: "geometricPrecision"
|
|
83
81
|
}));
|
|
84
82
|
}
|
|
85
|
-
|
|
86
83
|
Waiting.displayName = 'Waiting';
|
|
87
84
|
export default createBaseComponent(Waiting);
|
package/Warning/index.js
CHANGED
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
12
|
var _flexBox = require("@semcore/flex-box");
|
|
19
|
-
|
|
20
13
|
var _excluded = ["fill", "width", "height", "viewBox"];
|
|
21
|
-
|
|
22
14
|
function Warning(_ref, ref) {
|
|
23
15
|
var _ref$fill = _ref.fill,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
|
|
17
|
+
_ref$width = _ref.width,
|
|
18
|
+
width = _ref$width === void 0 ? '80' : _ref$width,
|
|
19
|
+
_ref$height = _ref.height,
|
|
20
|
+
height = _ref$height === void 0 ? '80' : _ref$height,
|
|
21
|
+
_ref$viewBox = _ref.viewBox,
|
|
22
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
|
|
23
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
24
|
return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
|
|
33
25
|
ref: ref,
|
|
34
26
|
width: width,
|
|
@@ -93,9 +85,6 @@ function Warning(_ref, ref) {
|
|
|
93
85
|
shapeRendering: "geometricPrecision"
|
|
94
86
|
}));
|
|
95
87
|
}
|
|
96
|
-
|
|
97
88
|
Warning.displayName = 'Warning';
|
|
98
|
-
|
|
99
89
|
var _default = (0, _core.createBaseComponent)(Warning);
|
|
100
|
-
|
|
101
90
|
exports["default"] = _default;
|
package/Warning/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { createBaseComponent } from '@semcore/core';
|
|
5
4
|
import { Box } from '@semcore/flex-box';
|
|
6
|
-
|
|
7
5
|
function Warning({
|
|
8
6
|
fill = 'none',
|
|
9
7
|
width = '80',
|
|
@@ -75,6 +73,5 @@ function Warning({
|
|
|
75
73
|
shapeRendering: "geometricPrecision"
|
|
76
74
|
}));
|
|
77
75
|
}
|
|
78
|
-
|
|
79
76
|
Warning.displayName = 'Warning';
|
|
80
77
|
export default createBaseComponent(Warning);
|
package/lib/cjs/index.js
CHANGED
|
@@ -4,21 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getIllustrationPath = void 0;
|
|
7
|
-
var version = "1.4.
|
|
7
|
+
var version = "1.4.15";
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
10
|
* Formats string from `access_denied` or `access-denied` to `AccessDenied`
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
12
|
var formatName = function formatName(name) {
|
|
13
13
|
return name.split(/_|-/).map(function (el) {
|
|
14
14
|
return el[0].toUpperCase() + el.slice(1);
|
|
15
15
|
}).join('');
|
|
16
16
|
};
|
|
17
|
-
|
|
18
17
|
var getIllustrationPath = function getIllustrationPath(name) {
|
|
19
18
|
var formattedName = formatName(name);
|
|
20
19
|
return "https://static.semrush.com/ui-kit/illustration/".concat(version, "/").concat(formattedName, ".svg");
|
|
21
20
|
};
|
|
22
|
-
|
|
23
21
|
exports.getIllustrationPath = getIllustrationPath;
|
|
24
22
|
//# 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","formattedName"],"sources":["../../src/index.ts"],"sourcesContent":["const 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) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/ui-kit/illustration/${version}/${formattedName}.svg`;\n};\n"],"mappings":";;;;;;AAAA,IAAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName","concat","exports"],"sources":["../../src/index.ts"],"sourcesContent":["const 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) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/ui-kit/illustration/${version}/${formattedName}.svg`;\n};\n"],"mappings":";;;;;;AAAA,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,EAAE,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAEM,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAI,EAAK;EAC3C,IAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,yDAAAS,MAAA,CAAyDX,OAAO,OAAAW,MAAA,CAAID,aAAa;AACnF,CAAC;AAACE,OAAA,CAAAH,mBAAA,GAAAA,mBAAA"}
|
package/lib/es6/index.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
var version = "1.4.
|
|
1
|
+
var version = "1.4.15";
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* Formats string from `access_denied` or `access-denied` to `AccessDenied`
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
6
|
var formatName = function formatName(name) {
|
|
7
7
|
return name.split(/_|-/).map(function (el) {
|
|
8
8
|
return el[0].toUpperCase() + el.slice(1);
|
|
9
9
|
}).join('');
|
|
10
10
|
};
|
|
11
|
-
|
|
12
11
|
export var getIllustrationPath = function getIllustrationPath(name) {
|
|
13
12
|
var formattedName = formatName(name);
|
|
14
13
|
return "https://static.semrush.com/ui-kit/illustration/".concat(version, "/").concat(formattedName, ".svg");
|
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"],"sources":["../../src/index.ts"],"sourcesContent":["const 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) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/ui-kit/illustration/${version}/${formattedName}.svg`;\n};\n"],"mappings":"AAAA,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":["const 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) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/ui-kit/illustration/${version}/${formattedName}.svg`;\n};\n"],"mappings":"AAAA,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,EAAE,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAED,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAI,EAAK;EAC3C,IAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,yDAAAS,MAAA,CAAyDX,OAAO,OAAAW,MAAA,CAAID,aAAa;AACnF,CAAC"}
|