Skip to content

Commit

Permalink
1.5.2 (#12)
Browse files Browse the repository at this point in the history
* 1.5.1

* 1.5.2
  • Loading branch information
sigurdarson authored Jan 21, 2024
1 parent 0d7f3bf commit e1ac57e
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 1 deletion.
4 changes: 4 additions & 0 deletions icons/edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/radio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slimicons",
"version": "1.5.0",
"version": "1.5.2",
"description": "Slim icons is a free & open source icon library by [Sig](https://twitter.com/GSigurdarson).",
"main": "dist/index.js",
"module": "src/index.js",
Expand Down
34 changes: 34 additions & 0 deletions src/Edit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"use strict";

function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
var SvgComponent = function SvgComponent(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: props.size || 24,
height: props.size || 24,
viewBox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, props), /*#__PURE__*/React.createElement("path", {
d: "M12 20H20",
stroke: props.color || "#000",
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
}), /*#__PURE__*/React.createElement("path", {
d: "M16.9521 9.85139L19.4194 7.38415C19.6035 7.20007 19.7495 6.98153 19.8491 6.74102C19.9487 6.5005 20 6.24272 20 5.98239C20 5.72206 19.9487 5.46428 19.8491 5.22376C19.7495 4.98325 19.6035 4.76471 19.4194 4.58063C19.2353 4.39655 19.0168 4.25052 18.7762 4.1509C18.5357 4.05128 18.2779 4 18.0176 4C17.4918 4 16.9876 4.20886 16.6158 4.58063L14.1486 7.04788M16.9521 9.85139L7.73803 19.0655L4 20L4.93451 16.262L14.1486 7.04788M16.9521 9.85139L14.1486 7.04788",
stroke: props.color || "#000",
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
}));
};
var _default = SvgComponent;
exports["default"] = _default;
34 changes: 34 additions & 0 deletions src/Radio.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"use strict";

function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
var SvgComponent = function SvgComponent(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: props.size || 24,
height: props.size || 24,
viewBox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, props), /*#__PURE__*/React.createElement("path", {
d: "M14 12C14 12.5304 13.7893 13.0391 13.4142 13.4142C13.0391 13.7893 12.5304 14 12 14C11.4696 14 10.9609 13.7893 10.5858 13.4142C10.2107 13.0391 10 12.5304 10 12C10 11.4696 10.2107 10.9609 10.5858 10.5858C10.9609 10.2107 11.4696 10 12 10C12.5304 10 13.0391 10.2107 13.4142 10.5858C13.7893 10.9609 14 11.4696 14 12Z",
stroke: props.color || "#000",
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
}), /*#__PURE__*/React.createElement("path", {
d: "M16.2399 7.75999C16.7978 8.31723 17.2404 8.97896 17.5423 9.70735C17.8442 10.4357 17.9997 11.2165 17.9997 12.005C17.9997 12.7935 17.8442 13.5742 17.5423 14.3026C17.2404 15.031 16.7978 15.6928 16.2399 16.25M7.75994 16.24C7.20208 15.6828 6.75953 15.021 6.45758 14.2926C6.15564 13.5642 6.00022 12.7835 6.00022 11.995C6.00022 11.2065 6.15564 10.4257 6.45758 9.69735C6.75953 8.96896 7.20208 8.30723 7.75994 7.74999M19.0699 4.92999C20.9446 6.80527 21.9978 9.34835 21.9978 12C21.9978 14.6516 20.9446 17.1947 19.0699 19.07M4.92994 19.07C3.05523 17.1947 2.00208 14.6516 2.00208 12C2.00208 9.34835 3.05523 6.80527 4.92994 4.92999",
stroke: props.color || "#000",
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
}));
};
var _default = SvgComponent;
exports["default"] = _default;
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export { default as DocumentReport } from './DocumentReport';
export { default as DocumentText } from './DocumentText';
export { default as Document } from './Document';
export { default as Download } from './Download';
export { default as Edit } from './Edit';
export { default as Ethereum } from './Ethereum';
export { default as ExternalLink } from './ExternalLink';
export { default as EyeBlink } from './EyeBlink';
Expand Down Expand Up @@ -151,6 +152,7 @@ export { default as PlusSmall } from './PlusSmall';
export { default as Plus } from './Plus';
export { default as PowerButton } from './PowerButton';
export { default as QrCode } from './QrCode';
export { default as Radio } from './Radio';
export { default as Rows } from './Rows';
export { default as Rss } from './Rss';
export { default as Search } from './Search';
Expand Down

0 comments on commit e1ac57e

Please sign in to comment.