magick-icons 0.1.94 → 0.1.95
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 +1 -20
- package/index.d.ts +1 -20
- package/index.js +0 -51
- package/index.js.map +1 -1
- package/index.mjs +0 -15
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/README.md +0 -116
package/index.d.mts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
|
|
3
|
-
|
|
4
|
-
* Props for the AiFlask1 icon component
|
|
5
|
-
* @property {number | string} [size] - Size of the icon (default: 24)
|
|
6
|
-
*/
|
|
7
|
-
interface AiFlask1Props extends React.SVGProps<SVGSVGElement> {
|
|
8
|
-
size?: number | string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* AiFlask1 icon component
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* import { AiFlask1 } from 'magick-icons';
|
|
15
|
-
*
|
|
16
|
-
* <AiFlask1 size={24} className="text-blue-500" strokeWidth={2} />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare const AiFlask1: React.ForwardRefExoticComponent<Omit<AiFlask1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
|
-
|
|
21
|
-
export { AiFlask1, type AiFlask1Props };
|
|
2
|
+
export { }
|
package/index.d.ts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
|
|
3
|
-
|
|
4
|
-
* Props for the AiFlask1 icon component
|
|
5
|
-
* @property {number | string} [size] - Size of the icon (default: 24)
|
|
6
|
-
*/
|
|
7
|
-
interface AiFlask1Props extends React.SVGProps<SVGSVGElement> {
|
|
8
|
-
size?: number | string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* AiFlask1 icon component
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* import { AiFlask1 } from 'magick-icons';
|
|
15
|
-
*
|
|
16
|
-
* <AiFlask1 size={24} className="text-blue-500" strokeWidth={2} />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare const AiFlask1: React.ForwardRefExoticComponent<Omit<AiFlask1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
|
-
|
|
21
|
-
export { AiFlask1, type AiFlask1Props };
|
|
2
|
+
export { }
|
package/index.js
CHANGED
|
@@ -1,53 +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
|
-
AiFlask1: () => AiFlask1
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(index_exports);
|
|
36
|
-
|
|
37
|
-
// dist/icons/AiFlask1.tsx
|
|
38
|
-
var import_react = __toESM(require("react"));
|
|
39
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
-
var AiFlask1 = import_react.default.forwardRef(
|
|
41
|
-
({ size, ...props }, ref) => {
|
|
42
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: [
|
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M12 19.42c-.4 0-.74-.27-.83-.66l-.23-.97c-.1-.42-.42-.74-.84-.84l-.97-.23a.846.846 0 0 1-.66-.83c0-.4.27-.74.66-.83l.97-.23c.42-.1.74-.42.84-.84l.23-.97c.09-.39.43-.66.83-.66s.74.27.83.66l.23.97c.1.42.42.74.84.84l.97.23c.39.09.66.43.66.83s-.27.74-.66.83l-.97.23c-.42.1-.74.42-.84.84l-.23.97c-.09.39-.43.66-.83.66m-.64-3.52c.25.17.47.39.64.64.17-.25.39-.47.64-.64-.25-.17-.47-.39-.64-.64-.17.25-.39.47-.64.64" }),
|
|
44
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M6.65 22.74c-1.49 0-2.69-.57-3.28-1.57-.6-1.01-.54-2.3.18-3.62l5-9.29c.23-.42.35-1.24.26-1.74l-.64-3.17c-.1-.52.03-1.05.37-1.45.33-.4.82-.63 1.35-.63h4.23c.52 0 1.02.23 1.35.64s.47.93.37 1.45l-.64 3.19c-.1.49.03 1.29.26 1.72l4.99 9.3c.71 1.33.78 2.62.17 3.63-.6 1.01-1.77 1.57-3.28 1.57zM9.89 2.76c-.1 0-.16.06-.19.09s-.07.11-.05.21l.64 3.17c.16.85-.02 2.02-.42 2.74l-5 9.28c-.46.84-.53 1.61-.21 2.15s1.03.84 1.99.84h10.69c.96 0 1.67-.3 2-.84.32-.54.25-1.3-.21-2.15l-4.99-9.29c-.4-.72-.58-1.9-.42-2.73l.64-3.18a.22.22 0 0 0-.05-.2c-.03-.03-.09-.09-.19-.09z" })
|
|
45
|
-
] });
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
AiFlask1.displayName = "AiFlask1";
|
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
-
0 && (module.exports = {
|
|
51
|
-
AiFlask1
|
|
52
|
-
});
|
|
53
2
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/index.mjs
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
// dist/icons/AiFlask1.tsx
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
var AiFlask1 = React.forwardRef(
|
|
5
|
-
({ size, ...props }, ref) => {
|
|
6
|
-
return /* @__PURE__ */ jsxs("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: [
|
|
7
|
-
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M12 19.42c-.4 0-.74-.27-.83-.66l-.23-.97c-.1-.42-.42-.74-.84-.84l-.97-.23a.846.846 0 0 1-.66-.83c0-.4.27-.74.66-.83l.97-.23c.42-.1.74-.42.84-.84l.23-.97c.09-.39.43-.66.83-.66s.74.27.83.66l.23.97c.1.42.42.74.84.84l.97.23c.39.09.66.43.66.83s-.27.74-.66.83l-.97.23c-.42.1-.74.42-.84.84l-.23.97c-.09.39-.43.66-.83.66m-.64-3.52c.25.17.47.39.64.64.17-.25.39-.47.64-.64-.25-.17-.47-.39-.64-.64-.17.25-.39.47-.64.64" }),
|
|
8
|
-
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M6.65 22.74c-1.49 0-2.69-.57-3.28-1.57-.6-1.01-.54-2.3.18-3.62l5-9.29c.23-.42.35-1.24.26-1.74l-.64-3.17c-.1-.52.03-1.05.37-1.45.33-.4.82-.63 1.35-.63h4.23c.52 0 1.02.23 1.35.64s.47.93.37 1.45l-.64 3.19c-.1.49.03 1.29.26 1.72l4.99 9.3c.71 1.33.78 2.62.17 3.63-.6 1.01-1.77 1.57-3.28 1.57zM9.89 2.76c-.1 0-.16.06-.19.09s-.07.11-.05.21l.64 3.17c.16.85-.02 2.02-.42 2.74l-5 9.28c-.46.84-.53 1.61-.21 2.15s1.03.84 1.99.84h10.69c.96 0 1.67-.3 2-.84.32-.54.25-1.3-.21-2.15l-4.99-9.29c-.4-.72-.58-1.9-.42-2.73l.64-3.18a.22.22 0 0 0-.05-.2c-.03-.03-.09-.09-.19-.09z" })
|
|
9
|
-
] });
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
AiFlask1.displayName = "AiFlask1";
|
|
13
|
-
export {
|
|
14
|
-
AiFlask1
|
|
15
|
-
};
|
|
16
1
|
//# sourceMappingURL=index.mjs.map
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
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
|