magick-icons 0.1.88 → 0.1.90

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/index.d.mts CHANGED
@@ -1,21 +1,2 @@
1
- import React from 'react';
2
1
 
3
- /**
4
- * Props for the BatteryEmpty1 icon component
5
- * @property {number | string} [size] - Size of the icon (default: 24)
6
- */
7
- interface BatteryEmpty1Props extends React.SVGProps<SVGSVGElement> {
8
- size?: number | string;
9
- }
10
- /**
11
- * BatteryEmpty1 icon component
12
- * @example
13
- * ```tsx
14
- * import { BatteryEmpty1 } from 'magick-icons';
15
- *
16
- * <BatteryEmpty1 size={24} className="text-blue-500" strokeWidth={2} />
17
- * ```
18
- */
19
- declare const BatteryEmpty1: React.ForwardRefExoticComponent<Omit<BatteryEmpty1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
20
-
21
- export { BatteryEmpty1, type BatteryEmpty1Props };
2
+ export { }
package/index.d.ts CHANGED
@@ -1,21 +1,2 @@
1
- import React from 'react';
2
1
 
3
- /**
4
- * Props for the BatteryEmpty1 icon component
5
- * @property {number | string} [size] - Size of the icon (default: 24)
6
- */
7
- interface BatteryEmpty1Props extends React.SVGProps<SVGSVGElement> {
8
- size?: number | string;
9
- }
10
- /**
11
- * BatteryEmpty1 icon component
12
- * @example
13
- * ```tsx
14
- * import { BatteryEmpty1 } from 'magick-icons';
15
- *
16
- * <BatteryEmpty1 size={24} className="text-blue-500" strokeWidth={2} />
17
- * ```
18
- */
19
- declare const BatteryEmpty1: React.ForwardRefExoticComponent<Omit<BatteryEmpty1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
20
-
21
- export { BatteryEmpty1, type BatteryEmpty1Props };
2
+ export { }
package/index.js CHANGED
@@ -1,50 +1,2 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // dist/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
33
- BatteryEmpty1: () => BatteryEmpty1
34
- });
35
- module.exports = __toCommonJS(index_exports);
36
-
37
- // dist/icons/BatteryEmpty1.tsx
38
- var import_react = __toESM(require("react"));
39
- var import_jsx_runtime = require("react/jsx-runtime");
40
- var BatteryEmpty1 = import_react.default.forwardRef(
41
- ({ size, ...props }, ref) => {
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M13 19.75H7c-4.41 0-5.75-1.34-5.75-5.75v-4c0-4.41 1.34-5.75 5.75-5.75h6c4.41 0 5.75 1.34 5.75 5.75l-.25 2.5c0 4.41-1.09 7.25-5.5 7.25m-6-14c-3.58 0-4.25.68-4.25 4.25v4c0 3.57.67 4.25 4.25 4.25h6c3.58 0 4.25-.68 4.25-4.25v-4c0-3.57-.67-4.25-4.25-4.25zM20.5 15.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75c.59 0 .72-.09.73-.09.02-.06.02-.41.02-.66v-2c0-.25 0-.59-.04-.68.01.01-.16-.07-.71-.07-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.08 0 2.25 1.02 2.25 2.25v2c0 1.23-.17 2.25-2.25 2.25" }) });
43
- }
44
- );
45
- BatteryEmpty1.displayName = "BatteryEmpty1";
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- BatteryEmpty1
49
- });
50
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts","icons/BatteryEmpty1.tsx"],"sourcesContent":["// Auto-generated file - do not edit manually\n/**\n * @packageDocumentation\n * Magick Icons - SVG icon components for React\n * \n * @example\n * ```tsx\n * import { BatteryEmpty1 } from 'magick-icons';\n * \n * function MyComponent() {\n * return <BatteryEmpty1 size={24} className=\"text-blue-500\" />;\n * }\n * ```\n */\n\n/**\n * BatteryEmpty1 icon component and its props type\n * @see {@link BatteryEmpty1Props} for available props\n */\nexport { BatteryEmpty1, type BatteryEmpty1Props } from './icons/BatteryEmpty1';\n","import React from 'react';\n\n/**\n * Props for the BatteryEmpty1 icon component\n * @property {number | string} [size] - Size of the icon (default: 24)\n */\nexport interface BatteryEmpty1Props extends React.SVGProps<SVGSVGElement> {\n size?: number | string;\n}\n\n/**\n * BatteryEmpty1 icon component\n * @example\n * ```tsx\n * import { BatteryEmpty1 } from 'magick-icons';\n * \n * <BatteryEmpty1 size={24} className=\"text-blue-500\" strokeWidth={2} />\n * ```\n */\nexport const BatteryEmpty1 = React.forwardRef<SVGSVGElement, BatteryEmpty1Props>(\n ({ size, ...props }, ref) => {\n return (\n <svg ref={ref} xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" {...props}><path fill=\"#1e293b\" d=\"M13 19.75H7c-4.41 0-5.75-1.34-5.75-5.75v-4c0-4.41 1.34-5.75 5.75-5.75h6c4.41 0 5.75 1.34 5.75 5.75l-.25 2.5c0 4.41-1.09 7.25-5.5 7.25m-6-14c-3.58 0-4.25.68-4.25 4.25v4c0 3.57.67 4.25 4.25 4.25h6c3.58 0 4.25-.68 4.25-4.25v-4c0-3.57-.67-4.25-4.25-4.25zM20.5 15.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75c.59 0 .72-.09.73-.09.02-.06.02-.41.02-.66v-2c0-.25 0-.59-.04-.68.01.01-.16-.07-.71-.07-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.08 0 2.25 1.02 2.25 2.25v2c0 1.23-.17 2.25-2.25 2.25\"/></svg>\n );\n }\n);\n\nBatteryEmpty1.displayName = 'BatteryEmpty1';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAkB;AAsBwG;AAHnH,IAAM,gBAAgB,aAAAA,QAAM;AAAA,EACjC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC3B,WACE,4CAAC,SAAI,KAAU,OAAM,8BAA6B,OAAM,MAAK,QAAO,MAAK,MAAK,QAAO,SAAQ,aAAa,GAAG,OAAO,sDAAC,UAAK,MAAK,WAAU,GAAE,keAAge,GAAE;AAAA,EAEjnB;AACF;AAEA,cAAc,cAAc;","names":["React"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/index.mjs CHANGED
@@ -1,13 +1 @@
1
- // dist/icons/BatteryEmpty1.tsx
2
- import React from "react";
3
- import { jsx } from "react/jsx-runtime";
4
- var BatteryEmpty1 = React.forwardRef(
5
- ({ size, ...props }, ref) => {
6
- return /* @__PURE__ */ jsx("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M13 19.75H7c-4.41 0-5.75-1.34-5.75-5.75v-4c0-4.41 1.34-5.75 5.75-5.75h6c4.41 0 5.75 1.34 5.75 5.75l-.25 2.5c0 4.41-1.09 7.25-5.5 7.25m-6-14c-3.58 0-4.25.68-4.25 4.25v4c0 3.57.67 4.25 4.25 4.25h6c3.58 0 4.25-.68 4.25-4.25v-4c0-3.57-.67-4.25-4.25-4.25zM20.5 15.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75c.59 0 .72-.09.73-.09.02-.06.02-.41.02-.66v-2c0-.25 0-.59-.04-.68.01.01-.16-.07-.71-.07-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.08 0 2.25 1.02 2.25 2.25v2c0 1.23-.17 2.25-2.25 2.25" }) });
7
- }
8
- );
9
- BatteryEmpty1.displayName = "BatteryEmpty1";
10
- export {
11
- BatteryEmpty1
12
- };
13
1
  //# sourceMappingURL=index.mjs.map
package/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["icons/BatteryEmpty1.tsx"],"sourcesContent":["import React from 'react';\n\n/**\n * Props for the BatteryEmpty1 icon component\n * @property {number | string} [size] - Size of the icon (default: 24)\n */\nexport interface BatteryEmpty1Props extends React.SVGProps<SVGSVGElement> {\n size?: number | string;\n}\n\n/**\n * BatteryEmpty1 icon component\n * @example\n * ```tsx\n * import { BatteryEmpty1 } from 'magick-icons';\n * \n * <BatteryEmpty1 size={24} className=\"text-blue-500\" strokeWidth={2} />\n * ```\n */\nexport const BatteryEmpty1 = React.forwardRef<SVGSVGElement, BatteryEmpty1Props>(\n ({ size, ...props }, ref) => {\n return (\n <svg ref={ref} xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" {...props}><path fill=\"#1e293b\" d=\"M13 19.75H7c-4.41 0-5.75-1.34-5.75-5.75v-4c0-4.41 1.34-5.75 5.75-5.75h6c4.41 0 5.75 1.34 5.75 5.75l-.25 2.5c0 4.41-1.09 7.25-5.5 7.25m-6-14c-3.58 0-4.25.68-4.25 4.25v4c0 3.57.67 4.25 4.25 4.25h6c3.58 0 4.25-.68 4.25-4.25v-4c0-3.57-.67-4.25-4.25-4.25zM20.5 15.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75c.59 0 .72-.09.73-.09.02-.06.02-.41.02-.66v-2c0-.25 0-.59-.04-.68.01.01-.16-.07-.71-.07-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.08 0 2.25 1.02 2.25 2.25v2c0 1.23-.17 2.25-2.25 2.25\"/></svg>\n );\n }\n);\n\nBatteryEmpty1.displayName = 'BatteryEmpty1';\n"],"mappings":";AAAA,OAAO,WAAW;AAsBwG;AAHnH,IAAM,gBAAgB,MAAM;AAAA,EACjC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC3B,WACE,oBAAC,SAAI,KAAU,OAAM,8BAA6B,OAAM,MAAK,QAAO,MAAK,MAAK,QAAO,SAAQ,aAAa,GAAG,OAAO,8BAAC,UAAK,MAAK,WAAU,GAAE,keAAge,GAAE;AAAA,EAEjnB;AACF;AAEA,cAAc,cAAc;","names":[]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magick-icons",
3
- "version": "0.1.88",
3
+ "version": "0.1.90",
4
4
  "description": "Icon library for company projects",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
package/README.md DELETED
@@ -1,116 +0,0 @@
1
- # Magick Icons
2
-
3
- SVG React icon components with TypeScript support.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install magick-icons
9
- # or
10
- pnpm add magick-icons
11
- # or
12
- yarn add magick-icons
13
- ```
14
-
15
- ## Usage
16
-
17
- ```tsx
18
- import { ChatFullScreen, Finance } from 'magick-icons';
19
-
20
- function App() {
21
- return (
22
- <div>
23
- <ChatFullScreen size={24} className="text-blue-500" />
24
- <Finance size={32} color="red" />
25
- </div>
26
- );
27
- }
28
- ```
29
-
30
- ## Available Icons
31
-
32
- - `ChatFullScreen`
33
- - `Finance`
34
-
35
- ## Props
36
-
37
- All icons accept standard SVG props plus:
38
-
39
- ```tsx
40
- interface IconProps extends React.SVGProps<SVGSVGElement> {
41
- size?: number | string; // Default: 24
42
- }
43
- ```
44
-
45
- ## Examples
46
-
47
- ### Basic Usage
48
- ```tsx
49
- <ChatFullScreen />
50
- ```
51
-
52
- ### Custom Size
53
- ```tsx
54
- <ChatFullScreen size={48} />
55
- <ChatFullScreen size="2rem" />
56
- ```
57
-
58
- ### Custom Styling
59
- ```tsx
60
- <ChatFullScreen
61
- className="text-blue-500 hover:text-blue-700"
62
- style={{ cursor: 'pointer' }}
63
- />
64
- ```
65
-
66
- ### With Props
67
- ```tsx
68
- <Finance
69
- size={32}
70
- color="currentColor"
71
- onClick={() => console.log('clicked')}
72
- aria-label="Finance icon"
73
- />
74
- ```
75
-
76
- ## TypeScript
77
-
78
- Full TypeScript support with prop types:
79
-
80
- ```tsx
81
- import { ChatFullScreen, ChatFullScreenProps } from 'magick-icons';
82
-
83
- const props: ChatFullScreenProps = {
84
- size: 24,
85
- className: "icon",
86
- };
87
-
88
- <ChatFullScreen {...props} />
89
- ```
90
-
91
- ## IDE Autocomplete
92
-
93
- ### VS Code
94
- Enable auto-imports in settings:
95
- - `typescript.suggest.autoImports`: true
96
- - `javascript.suggest.autoImports`: true
97
-
98
- Then type `<ChatFullScreen` and accept the suggestion to auto-import.
99
-
100
- ### Manual Import
101
- Type the import first for autocomplete:
102
- ```tsx
103
- import { ChatFullScreen } from 'magick-icons';
104
- // Now typing <Chat will autocomplete
105
- ```
106
-
107
- ## Updating
108
-
109
- To get the latest icons:
110
- ```bash
111
- pnpm add magick-icons@latest
112
- ```
113
-
114
- ## License
115
-
116
- MIT