@semcore/icon 3.9.0 → 3.10.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 +6 -0
- package/JavaScript/l/index.d.ts +6 -0
- package/JavaScript/l/index.js +52 -0
- package/JavaScript/l/index.mjs +32 -0
- package/JavaScript/m/index.d.ts +6 -0
- package/JavaScript/m/index.js +52 -0
- package/JavaScript/m/index.mjs +32 -0
- package/lib/cjs/Icon.js +7 -7
- package/lib/es6/Icon.js +7 -7
- package/package.json +1 -1
- package/svg-new/icon/JavaScript/l.svg +1 -0
- package/svg-new/icon/JavaScript/m.svg +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function JavaScript(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '24' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '24' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "JavaScript",
|
|
33
|
+
"data-group": "l",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M2 4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z",
|
|
39
|
+
fill: "#F7DF1E",
|
|
40
|
+
shapeRendering: "geometricPrecision"
|
|
41
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
42
|
+
d: "m7 18.347 1.51-.89c.29.503.555.929 1.19.929.61 0 .994-.232.994-1.136v-6.147h1.853v6.172c0 1.873-1.125 2.725-2.767 2.725-1.483 0-2.343-.75-2.78-1.653m6.553-.194 1.51-.852c.397.633.913 1.098 1.826 1.098.768 0 1.258-.375 1.258-.891 0-.62-.503-.84-1.35-1.2l-.464-.195c-1.337-.555-2.224-1.252-2.224-2.724 0-1.356 1.06-2.389 2.714-2.389 1.178 0 2.026.4 2.634 1.446l-1.443.904c-.317-.555-.662-.774-1.191-.774-.543 0-.887.335-.887.774 0 .542.344.762 1.139 1.098l.463.193c1.575.66 2.462 1.33 2.462 2.841C20 19.109 18.69 20 16.929 20c-1.721 0-2.833-.8-3.376-1.846",
|
|
43
|
+
fill: "#000",
|
|
44
|
+
shapeRendering: "geometricPrecision"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
JavaScript.displayName = 'JavaScript';
|
|
49
|
+
|
|
50
|
+
var _default = (0, _core.createBaseComponent)(JavaScript);
|
|
51
|
+
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function JavaScript({
|
|
8
|
+
width = '24',
|
|
9
|
+
height = '24',
|
|
10
|
+
viewBox = '0 0 24 24',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "JavaScript",
|
|
16
|
+
"data-group": "l",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M2 4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z",
|
|
22
|
+
fill: "#F7DF1E",
|
|
23
|
+
shapeRendering: "geometricPrecision"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "m7 18.347 1.51-.89c.29.503.555.929 1.19.929.61 0 .994-.232.994-1.136v-6.147h1.853v6.172c0 1.873-1.125 2.725-2.767 2.725-1.483 0-2.343-.75-2.78-1.653m6.553-.194 1.51-.852c.397.633.913 1.098 1.826 1.098.768 0 1.258-.375 1.258-.891 0-.62-.503-.84-1.35-1.2l-.464-.195c-1.337-.555-2.224-1.252-2.224-2.724 0-1.356 1.06-2.389 2.714-2.389 1.178 0 2.026.4 2.634 1.446l-1.443.904c-.317-.555-.662-.774-1.191-.774-.543 0-.887.335-.887.774 0 .542.344.762 1.139 1.098l.463.193c1.575.66 2.462 1.33 2.462 2.841C20 19.109 18.69 20 16.929 20c-1.721 0-2.833-.8-3.376-1.846",
|
|
26
|
+
fill: "#000",
|
|
27
|
+
shapeRendering: "geometricPrecision"
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
JavaScript.displayName = 'JavaScript';
|
|
32
|
+
export default createBaseComponent(JavaScript);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function JavaScript(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '16' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '16' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "JavaScript",
|
|
33
|
+
"data-group": "m",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1Z",
|
|
39
|
+
fill: "#F7DF1E",
|
|
40
|
+
shapeRendering: "geometricPrecision"
|
|
41
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
42
|
+
d: "m4 13.53 1.277-.791c.246.447.47.826 1.008.826.515 0 .84-.206.84-1.01V7.092h1.568v5.486c0 1.664-.952 2.422-2.34 2.422C5.097 15 4.37 14.334 4 13.53m5.545-.171 1.277-.758c.336.563.773.976 1.546.976.65 0 1.064-.333 1.064-.792 0-.551-.426-.746-1.143-1.068l-.392-.172c-1.131-.493-1.881-1.113-1.881-2.422 0-1.205.896-2.123 2.296-2.123.997 0 1.714.356 2.229 1.286l-1.221.803c-.269-.493-.56-.689-1.008-.689-.46 0-.75.299-.75.689 0 .482.29.677.963.976l.391.172C14.25 10.822 15 11.419 15 12.762 15 14.208 13.891 15 12.401 15c-1.456 0-2.397-.712-2.856-1.641",
|
|
43
|
+
fill: "#000",
|
|
44
|
+
shapeRendering: "geometricPrecision"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
JavaScript.displayName = 'JavaScript';
|
|
49
|
+
|
|
50
|
+
var _default = (0, _core.createBaseComponent)(JavaScript);
|
|
51
|
+
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function JavaScript({
|
|
8
|
+
width = '16',
|
|
9
|
+
height = '16',
|
|
10
|
+
viewBox = '0 0 16 16',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "JavaScript",
|
|
16
|
+
"data-group": "m",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1Z",
|
|
22
|
+
fill: "#F7DF1E",
|
|
23
|
+
shapeRendering: "geometricPrecision"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "m4 13.53 1.277-.791c.246.447.47.826 1.008.826.515 0 .84-.206.84-1.01V7.092h1.568v5.486c0 1.664-.952 2.422-2.34 2.422C5.097 15 4.37 14.334 4 13.53m5.545-.171 1.277-.758c.336.563.773.976 1.546.976.65 0 1.064-.333 1.064-.792 0-.551-.426-.746-1.143-1.068l-.392-.172c-1.131-.493-1.881-1.113-1.881-2.422 0-1.205.896-2.123 2.296-2.123.997 0 1.714.356 2.229 1.286l-1.221.803c-.269-.493-.56-.689-1.008-.689-.46 0-.75.299-.75.689 0 .482.29.677.963.976l.391.172C14.25 10.822 15 11.419 15 12.762 15 14.208 13.891 15 12.401 15c-1.456 0-2.397-.712-2.856-1.641",
|
|
26
|
+
fill: "#000",
|
|
27
|
+
shapeRendering: "geometricPrecision"
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
JavaScript.displayName = 'JavaScript';
|
|
32
|
+
export default createBaseComponent(JavaScript);
|
package/lib/cjs/Icon.js
CHANGED
|
@@ -52,16 +52,16 @@ var styles = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SIcon_tzfeq_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:none;color:var(--color_tzfeq)}.___SIcon_tzfeq_gg_.__keyboardFocused_tzfeq_gg_{box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}.___SIcon_tzfeq_gg_.__interactive_tzfeq_gg_{cursor:pointer}@media (hover: hover){.___SIcon_tzfeq_gg_.__interactive_tzfeq_gg_:hover{color:var(--color-interactive_tzfeq)}}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "tzfeq_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SIcon": "
|
|
61
|
-
"--color": "--
|
|
62
|
-
"_keyboardFocused": "
|
|
63
|
-
"_interactive": "
|
|
64
|
-
"--color-interactive": "--color-
|
|
60
|
+
"__SIcon": "___SIcon_tzfeq_gg_",
|
|
61
|
+
"--color": "--color_tzfeq",
|
|
62
|
+
"_keyboardFocused": "__keyboardFocused_tzfeq_gg_",
|
|
63
|
+
"_interactive": "__interactive_tzfeq_gg_",
|
|
64
|
+
"--color-interactive": "--color-interactive_tzfeq"
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
function Icon(props, ref) {
|
package/lib/es6/Icon.js
CHANGED
|
@@ -25,16 +25,16 @@ var styles = (
|
|
|
25
25
|
/*__reshadow_css_start__*/
|
|
26
26
|
_sstyled.insert(
|
|
27
27
|
/*__inner_css_start__*/
|
|
28
|
-
".
|
|
28
|
+
".___SIcon_tzfeq_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:none;color:var(--color_tzfeq)}.___SIcon_tzfeq_gg_.__keyboardFocused_tzfeq_gg_{box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}.___SIcon_tzfeq_gg_.__interactive_tzfeq_gg_{cursor:pointer}@media (hover: hover){.___SIcon_tzfeq_gg_.__interactive_tzfeq_gg_:hover{color:var(--color-interactive_tzfeq)}}"
|
|
29
29
|
/*__inner_css_end__*/
|
|
30
|
-
, "
|
|
30
|
+
, "tzfeq_gg_")
|
|
31
31
|
/*__reshadow_css_end__*/
|
|
32
32
|
, {
|
|
33
|
-
"__SIcon": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_keyboardFocused": "
|
|
36
|
-
"_interactive": "
|
|
37
|
-
"--color-interactive": "--color-
|
|
33
|
+
"__SIcon": "___SIcon_tzfeq_gg_",
|
|
34
|
+
"--color": "--color_tzfeq",
|
|
35
|
+
"_keyboardFocused": "__keyboardFocused_tzfeq_gg_",
|
|
36
|
+
"_interactive": "__interactive_tzfeq_gg_",
|
|
37
|
+
"--color-interactive": "--color-interactive_tzfeq"
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
function Icon(props, ref) {
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z" fill="#F7DF1E"/><path d="m7 18.347 1.51-.89c.29.503.555.929 1.19.929.61 0 .994-.232.994-1.136v-6.147h1.853v6.172c0 1.873-1.125 2.725-2.767 2.725-1.483 0-2.343-.75-2.78-1.653m6.553-.194 1.51-.852c.397.633.913 1.098 1.826 1.098.768 0 1.258-.375 1.258-.891 0-.62-.503-.84-1.35-1.2l-.464-.195c-1.337-.555-2.224-1.252-2.224-2.724 0-1.356 1.06-2.389 2.714-2.389 1.178 0 2.026.4 2.634 1.446l-1.443.904c-.317-.555-.662-.774-1.191-.774-.543 0-.887.335-.887.774 0 .542.344.762 1.139 1.098l.463.193c1.575.66 2.462 1.33 2.462 2.841C20 19.109 18.69 20 16.929 20c-1.721 0-2.833-.8-3.376-1.846" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1Z" fill="#F7DF1E"/><path d="m4 13.53 1.277-.791c.246.447.47.826 1.008.826.515 0 .84-.206.84-1.01V7.092h1.568v5.486c0 1.664-.952 2.422-2.34 2.422C5.097 15 4.37 14.334 4 13.53m5.545-.171 1.277-.758c.336.563.773.976 1.546.976.65 0 1.064-.333 1.064-.792 0-.551-.426-.746-1.143-1.068l-.392-.172c-1.131-.493-1.881-1.113-1.881-2.422 0-1.205.896-2.123 2.296-2.123.997 0 1.714.356 2.229 1.286l-1.221.803c-.269-.493-.56-.689-1.008-.689-.46 0-.75.299-.75.689 0 .482.29.677.963.976l.391.172C14.25 10.822 15 11.419 15 12.762 15 14.208 13.891 15 12.401 15c-1.456 0-2.397-.712-2.856-1.641" fill="#000"/></svg>
|