@m4l/icons 0.0.1 → 0.0.3

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.
@@ -0,0 +1,4 @@
1
+ import { SvgIcon } from '@mui/material';
2
+
3
+ export const ChevronUpOutlined: typeof SvgIcon;
4
+ export default ChevronUpOutlined;
@@ -0,0 +1,18 @@
1
+ /* eslint-disable */
2
+ // Este archivo es un template de Mustache, no código JavaScript válido
3
+ // Se usa por builder.mjs para generar los componentes de iconos
4
+ import { createSvgIcon } from '@mui/material/utils';
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ export const ChevronUpOutlined = createSvgIcon(/*#__PURE__*/_jsxs("svg", {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ fill: "none",
9
+ viewBox: "0 0 17 16",
10
+ children: [/*#__PURE__*/_jsx("path", {
11
+ fill: "#323B3B",
12
+ d: "m8.622 5.5 3.3221 3.322-.8723.678-2.4497-2.4497L6.1723 9.5 5.3 8.822 8.622 5.5Z"
13
+ }), /*#__PURE__*/_jsx("path", {
14
+ fill: "#323B3B",
15
+ d: "m8.622 5.5.0708-.0707-.0708-.0707-.0707.0707.0708.0707Zm3.3221 3.322.0614.079.0894-.0695-.0801-.0802-.0707.0708Zm-.8723.678-.0708.0707.0624.0624.0697-.0541-.0613-.079ZM8.6221 7.0503l.0707-.0707-.0708-.0707-.0707.0707.0708.0707ZM6.1723 9.5l-.0613.079.0697.0541.0623-.0624L6.1723 9.5ZM5.3 8.822l-.0707-.0707-.0802.0802.0895.0695.0614-.079ZM8.622 5.5l-.0707.0707 3.3221 3.322.0707-.0706.0707-.0708-3.322-3.322L8.622 5.5Zm3.3221 3.322-.0614-.079-.8723.678.0614.079.0613.079.8724-.678-.0614-.079Zm-.8723.678.0707-.0707-2.4497-2.4497-.0708.0707-.0707.0707 2.4497 2.4497.0708-.0707ZM8.6221 7.0503l-.0708-.0707-2.4497 2.4497.0707.0707.0707.0707L8.6928 7.121l-.0708-.0707ZM6.1723 9.5l.0614-.079-.8723-.678-.0614.079-.0614.079.8724.678.0613-.079ZM5.3 8.822l.0707.0708 3.322-3.322L8.622 5.5l-.0707-.0707-3.322 3.322.0707.0708Z"
16
+ })]
17
+ }), 'ChevronUpOutlined');
18
+ export default ChevronUpOutlined;
package/Close.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { SvgIcon } from '@mui/material';
2
+
3
+ export const Close: typeof SvgIcon;
4
+ export default Close;
package/Close.js ADDED
@@ -0,0 +1,15 @@
1
+ /* eslint-disable */
2
+ // Este archivo es un template de Mustache, no código JavaScript válido
3
+ // Se usa por builder.mjs para generar los componentes de iconos
4
+ import { createSvgIcon } from '@mui/material/utils';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ export const Close = createSvgIcon(/*#__PURE__*/_jsx("svg", {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ fill: "none",
9
+ viewBox: "0 0 14 14",
10
+ children: /*#__PURE__*/_jsx("path", {
11
+ fill: "#323B3B",
12
+ d: "M10.5137 4.1125 9.9012 3.5 7.0137 6.3875 4.1262 3.5l-.6125.6125L6.4012 7 3.5137 9.8875l.6125.6125 2.8875-2.8875L9.9012 10.5l.6125-.6125L7.6262 7l2.8875-2.8875Z"
13
+ })
14
+ }), 'Close');
15
+ export default Close;
package/DummyIcon.d.ts CHANGED
@@ -1,7 +1,4 @@
1
- /**
2
- * Icono dummy de prueba para validar la estrategia de distribución de iconos
3
- * siguiendo el patrón de mui-icons-material
4
- */
5
- export declare const DummyIcon: import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').SvgIconTypeMap<{}, "svg">> & {
6
- muiName: string;
7
- };
1
+ import { SvgIcon } from '@mui/material';
2
+
3
+ export const DummyIcon: typeof SvgIcon;
4
+ export default DummyIcon;
package/DummyIcon.js CHANGED
@@ -1,13 +1,22 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
- import { createSvgIcon as t } from "@mui/material/utils";
3
- const n = t(
4
- /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: [
5
- /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", "stroke-width": "2", fill: "none" }),
6
- /* @__PURE__ */ r("line", { x1: "12", y1: "6", x2: "12", y2: "18", stroke: "currentColor", "stroke-width": "2" }),
7
- /* @__PURE__ */ r("line", { x1: "6", y1: "12", x2: "18", y2: "12", stroke: "currentColor", "stroke-width": "2" })
8
- ] }),
9
- "DummyIcon"
10
- );
11
- export {
12
- n as DummyIcon
13
- };
1
+ /* eslint-disable */
2
+ // Este archivo es un template de Mustache, no código JavaScript válido
3
+ // Se usa por builder.mjs para generar los componentes de iconos
4
+ import { createSvgIcon } from '@mui/material/utils';
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ export const DummyIcon = createSvgIcon(/*#__PURE__*/_jsxs("svg", {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 24 24",
9
+ children: [/*#__PURE__*/_jsx("circle", {
10
+ cx: "12",
11
+ cy: "12",
12
+ r: "10",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ "stroke-width": "2"
16
+ }), /*#__PURE__*/_jsx("path", {
17
+ stroke: "currentColor",
18
+ "stroke-width": "2",
19
+ d: "M12 6v12m-6-6h12"
20
+ })]
21
+ }), 'DummyIcon');
22
+ export default DummyIcon;
package/index.d.ts CHANGED
@@ -1 +1,7 @@
1
- export { DummyIcon } from './DummyIcon';
1
+ import { SvgIcon } from '@mui/material';
2
+
3
+ type SvgIconComponent = typeof SvgIcon;
4
+
5
+ export const ChevronUpOutlined: SvgIconComponent;
6
+ export const Close: SvgIconComponent;
7
+ export const DummyIcon: SvgIconComponent;
package/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import { DummyIcon as r } from "./DummyIcon.js";
2
- export {
3
- r as DummyIcon
4
- };
1
+ export { ChevronUpOutlined } from './ChevronUpOutlined.js';
2
+ export { Close } from './Close.js';
3
+ export { DummyIcon } from './DummyIcon.js';
package/package.json CHANGED
@@ -1,42 +1,20 @@
1
1
  {
2
2
  "name": "@m4l/icons",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Icons - Iconos personalizados siguiendo la estrategia de mui-icons-material",
6
6
  "type": "module",
7
- "lint-staged": {
8
- "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
9
- },
10
7
  "peerDependencies": {
11
8
  "@mui/material": "5.16.7",
12
9
  "@types/react": "^18.0.0",
13
10
  "react": "^18.0.0"
14
11
  },
15
- "resolutions": {
16
- "eslint": "^9.12.0",
17
- "react": "^18.0.0",
18
- "@types/react": "^18.0.0",
19
- "@types/react-dom": "^18.0.0",
20
- "react-dom": "^18.0.0",
21
- "vite": "6.3.5",
22
- "typescript": "5.8.3"
23
- },
24
- "overrides": {
25
- "eslint": "^9.12.0",
26
- "react": "^18.0.0",
27
- "@types/react": "^18.0.0",
28
- "@types/react-dom": "^18.0.0",
29
- "react-dom": "^18.0.0",
30
- "vite": "6.3.5",
31
- "typescript": "5.8.3"
32
- },
33
12
  "files": [
34
13
  "*"
35
14
  ],
36
- "source": "./index.js",
37
- "main": "./dist/index.js",
38
- "module": "./index.js",
39
- "types": "./index.d.ts",
15
+ "main": "index.js",
16
+ "module": "index.js",
17
+ "types": "index.d.ts",
40
18
  "sideEffects": false,
41
19
  "publishConfig": {
42
20
  "access": "public"
@@ -44,11 +22,5 @@
44
22
  "engines": {
45
23
  "node": ">=12.0.0"
46
24
  },
47
- "packageManager": "yarn@4.5.0",
48
- "private": false,
49
- "exports": {
50
- ".": {
51
- "import": "./index.js"
52
- }
53
- }
54
- }
25
+ "packageManager": "yarn@4.5.0"
26
+ }