@geneui/icons 1.0.1 → 1.0.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/icons/Check.js ADDED
@@ -0,0 +1,52 @@
1
+ import React from 'react';
2
+
3
+ function _extends() {
4
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
5
+ for (var e = 1; e < arguments.length; e++) {
6
+ var t = arguments[e];
7
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
8
+ }
9
+ return n;
10
+ }, _extends.apply(null, arguments);
11
+ }
12
+ function _objectWithoutProperties(e, t) {
13
+ if (null == e) return {};
14
+ var o,
15
+ r,
16
+ i = _objectWithoutPropertiesLoose(e, t);
17
+ if (Object.getOwnPropertySymbols) {
18
+ var s = Object.getOwnPropertySymbols(e);
19
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
20
+ }
21
+ return i;
22
+ }
23
+ function _objectWithoutPropertiesLoose(r, e) {
24
+ if (null == r) return {};
25
+ var t = {};
26
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
27
+ if (e.includes(n)) continue;
28
+ t[n] = r[n];
29
+ }
30
+ return t;
31
+ }
32
+
33
+ var _excluded = ["size", "color"];
34
+ var SvgCheck = function SvgCheck(_ref) {
35
+ var _ref$size = _ref.size,
36
+ size = _ref$size === void 0 ? 24 : _ref$size,
37
+ _ref$color = _ref.color,
38
+ color = _ref$color === void 0 ? "currentColor" : _ref$color,
39
+ props = _objectWithoutProperties(_ref, _excluded);
40
+ return /*#__PURE__*/React.createElement("svg", _extends({
41
+ width: size,
42
+ height: size,
43
+ viewBox: "0 0 24 24",
44
+ fill: color,
45
+ xmlns: "http://www.w3.org/2000/svg"
46
+ }, props), /*#__PURE__*/React.createElement("path", {
47
+ d: "M9.19 19.25a.75.75 0 0 1-.564-.255l-5.44-6.188a.756.756 0 0 1 .612-1.248.75.75 0 0 1 .516.253l4.867 5.535 10.491-12.33a.75.75 0 0 1 1.322.426.756.756 0 0 1-.176.55l-11.055 12.992a.756.756 0 0 1-.567.265h-.006Z",
48
+ fill: color
49
+ }));
50
+ };
51
+
52
+ export { SvgCheck as S, _objectWithoutProperties as _, _extends as a };
@@ -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="M9.19 19.25a.75.75 0 0 1-.564-.255l-5.44-6.188a.756.756 0 0 1 .612-1.248.75.75 0 0 1 .516.253l4.867 5.535 10.491-12.33a.75.75 0 0 1 1.322.426.756.756 0 0 1-.176.55l-11.055 12.992a.756.756 0 0 1-.567.265h-.006Z" fill="#262627"/></svg>
@@ -0,0 +1,23 @@
1
+ import { _ as _objectWithoutProperties, a as _extends } from './Check.js';
2
+ import React from 'react';
3
+
4
+ var _excluded = ["size", "color"];
5
+ var SvgSquare = function SvgSquare(_ref) {
6
+ var _ref$size = _ref.size,
7
+ size = _ref$size === void 0 ? 24 : _ref$size,
8
+ _ref$color = _ref.color,
9
+ color = _ref$color === void 0 ? "currentColor" : _ref$color,
10
+ props = _objectWithoutProperties(_ref, _excluded);
11
+ return /*#__PURE__*/React.createElement("svg", _extends({
12
+ width: size,
13
+ height: size,
14
+ viewBox: "0 0 24 24",
15
+ fill: color,
16
+ xmlns: "http://www.w3.org/2000/svg"
17
+ }, props), /*#__PURE__*/React.createElement("path", {
18
+ d: "M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14Z",
19
+ fill: color
20
+ }));
21
+ };
22
+
23
+ export { SvgSquare as S };
@@ -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="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14Z" fill="#262627"/></svg>
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+
2
+ interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ size?: 16 | 20 | 24 | 28 | 32 | 48;
4
+ color?: string;
5
+ }
6
+
7
+ export declare const Check: React.FC<IconProps>;
8
+ export declare const Square: React.FC<IconProps>;
package/metadata.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ export interface Icon {
2
+ id: string;
3
+ name: string;
4
+ set: 'major' | 'minor';
5
+ description: string;
6
+ keywords: string[];
7
+ aliases: string[];
8
+ sizes: 16 | 20 | 24 | 28 | 32 | 48;
9
+ deprecated: boolean;
10
+ }
11
+
12
+ declare const metadata: {
13
+ [iconId: string]: Icon;
14
+ };
15
+
16
+ export default metadata;
package/metadata.js ADDED
@@ -0,0 +1,47 @@
1
+ const metadata = {
2
+ "Check": {
3
+ "id": "CheckMajor",
4
+ "name": "Check",
5
+ "set": "Major",
6
+ "keywords": [
7
+ "checkmark",
8
+ "selected"
9
+ ],
10
+ "aliases": [
11
+ ""
12
+ ],
13
+ "description": "The icon should be use to mention check sign in order to mention selection or some aggrement",
14
+ "sizes": [
15
+ 16,
16
+ 20,
17
+ 24,
18
+ 28,
19
+ 32,
20
+ 48
21
+ ],
22
+ "creation_date": "7/31/2024, 2:10:56 PM"
23
+ },
24
+ "Square": {
25
+ "id": "SquareMajor",
26
+ "name": "Square",
27
+ "set": "Major",
28
+ "keywords": [
29
+ ""
30
+ ],
31
+ "aliases": [
32
+ ""
33
+ ],
34
+ "description": "",
35
+ "sizes": [
36
+ 16,
37
+ 20,
38
+ 24,
39
+ 28,
40
+ 32,
41
+ 48
42
+ ],
43
+ "creation_date": "8/16/2024, 1:50:18 PM"
44
+ }
45
+ };
46
+
47
+ export { metadata as default };
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@geneui/icons",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Gene UI icons distributed as SVG React components.",
5
5
  "author": "SoftConstruct",
6
6
  "main": "index.js",
7
- "module": "index.js",
8
7
  "types": "index.d.ts",
9
8
  "contributors": [
10
9
  "Hamik Hambardzumyan <hamik.hambardumyan@softconstruct.com> (https://github.com/hamikhambardzumyan)"
@@ -18,9 +17,6 @@
18
17
  "mark-as-deprecated": "",
19
18
  "bump-up-commit": "babel-node --config-file ./configs/.babelrc ./scripts/postPublish.js"
20
19
  },
21
- "files": [
22
- "dist/*"
23
- ],
24
20
  "devDependencies": {
25
21
  "@babel/cli": "^7.18.9",
26
22
  "@babel/core": "^7.18.9",