@myst-theme/icons 0.1.2 → 0.3.1
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/dist/cjs/myst.d.ts +2 -3
- package/dist/cjs/myst.d.ts.map +1 -1
- package/dist/cjs/myst.js +2 -2
- package/dist/esm/myst.d.ts +2 -3
- package/dist/esm/myst.d.ts.map +1 -1
- package/dist/esm/myst.js +2 -2
- package/dist/types/myst.d.ts +2 -3
- package/dist/types/myst.d.ts.map +1 -1
- package/package.json +2 -8
package/dist/cjs/myst.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare function MystLogo({ size, fill, highlight, className, }: {
|
|
3
2
|
size?: number;
|
|
4
3
|
fill?: string | 'currentColor';
|
|
5
4
|
highlight?: string | 'currentColor';
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function MadeWithMyst({ url }: {
|
|
9
8
|
url?: string;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
//# sourceMappingURL=myst.d.ts.map
|
package/dist/cjs/myst.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,EACvB,IAAS,EACT,IAAgB,EAChB,SAAqB,EACrB,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAwBA;AAED,wBAAgB,YAAY,CAAC,EAAE,GAA6C,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY/F"}
|
package/dist/cjs/myst.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MadeWithMyst = exports.MystLogo = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
function MystLogo({ size = 24, fill = '#616161', highlight = '#F37726', className, }) {
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)("svg",
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", { style: { width: size, height: size }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 100", stroke: "none", className: className, children: (0, jsx_runtime_1.jsxs)("g", { id: "icon", children: [(0, jsx_runtime_1.jsx)("path", { fill: fill, d: "M23.8,54.8v-3.6l4.7-0.8V17.5l-4.7-0.8V13H36l13.4,31.7h0.2l13-31.7h12.6v3.6l-4.7,0.8v32.9l4.7,0.8v3.6h-15\n v-3.6l4.9-0.8V20.8H65L51.4,53.3h-3.8l-14-32.5h-0.1l0.2,17.4v12.1l5,0.8v3.6H23.8z" }), (0, jsx_runtime_1.jsx)("path", { fill: highlight, d: "M47,86.9c0-5.9-3.4-8.8-10.1-8.8h-8.4c-5.2,0-9.4-1.3-12.5-3.8c-3.1-2.5-5.4-6.2-6.8-11l4.8-1.6\n c1.8,5.6,6.4,8.6,13.8,8.8h9.2c6.4,0,10.8,2.5,13.1,7.5c2.3-5,6.7-7.5,13.1-7.5h8.4c7.8,0,12.7-2.9,14.6-8.7l4.8,1.6\n c-1.4,4.9-3.6,8.6-6.8,11.1c-3.1,2.5-7.3,3.7-12.4,3.8H63c-6.7,0-10,2.9-10,8.8" })] }) }));
|
|
7
7
|
}
|
|
8
8
|
exports.MystLogo = MystLogo;
|
|
9
9
|
function MadeWithMyst({ url = 'https://myst-tools.org/made-with-myst' }) {
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)("a",
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("a", { className: "flex w-fit mx-auto text-gray-700 hover:text-blue-700 dark:text-gray-200 dark:hover:text-blue-400", href: url, target: "_blank", rel: "noreferrer", children: [(0, jsx_runtime_1.jsx)(MystLogo, { fill: "currentColor" }), (0, jsx_runtime_1.jsx)("span", { className: "self-center text-sm ml-2", children: "Made with MyST" })] }));
|
|
11
11
|
}
|
|
12
12
|
exports.MadeWithMyst = MadeWithMyst;
|
package/dist/esm/myst.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare function MystLogo({ size, fill, highlight, className, }: {
|
|
3
2
|
size?: number;
|
|
4
3
|
fill?: string | 'currentColor';
|
|
5
4
|
highlight?: string | 'currentColor';
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function MadeWithMyst({ url }: {
|
|
9
8
|
url?: string;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
//# sourceMappingURL=myst.d.ts.map
|
package/dist/esm/myst.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,EACvB,IAAS,EACT,IAAgB,EAChB,SAAqB,EACrB,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAwBA;AAED,wBAAgB,YAAY,CAAC,EAAE,GAA6C,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY/F"}
|
package/dist/esm/myst.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
export function MystLogo({ size = 24, fill = '#616161', highlight = '#F37726', className, }) {
|
|
3
|
-
return (_jsx("svg",
|
|
3
|
+
return (_jsx("svg", { style: { width: size, height: size }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 100", stroke: "none", className: className, children: _jsxs("g", { id: "icon", children: [_jsx("path", { fill: fill, d: "M23.8,54.8v-3.6l4.7-0.8V17.5l-4.7-0.8V13H36l13.4,31.7h0.2l13-31.7h12.6v3.6l-4.7,0.8v32.9l4.7,0.8v3.6h-15\n v-3.6l4.9-0.8V20.8H65L51.4,53.3h-3.8l-14-32.5h-0.1l0.2,17.4v12.1l5,0.8v3.6H23.8z" }), _jsx("path", { fill: highlight, d: "M47,86.9c0-5.9-3.4-8.8-10.1-8.8h-8.4c-5.2,0-9.4-1.3-12.5-3.8c-3.1-2.5-5.4-6.2-6.8-11l4.8-1.6\n c1.8,5.6,6.4,8.6,13.8,8.8h9.2c6.4,0,10.8,2.5,13.1,7.5c2.3-5,6.7-7.5,13.1-7.5h8.4c7.8,0,12.7-2.9,14.6-8.7l4.8,1.6\n c-1.4,4.9-3.6,8.6-6.8,11.1c-3.1,2.5-7.3,3.7-12.4,3.8H63c-6.7,0-10,2.9-10,8.8" })] }) }));
|
|
4
4
|
}
|
|
5
5
|
export function MadeWithMyst({ url = 'https://myst-tools.org/made-with-myst' }) {
|
|
6
|
-
return (_jsxs("a",
|
|
6
|
+
return (_jsxs("a", { className: "flex w-fit mx-auto text-gray-700 hover:text-blue-700 dark:text-gray-200 dark:hover:text-blue-400", href: url, target: "_blank", rel: "noreferrer", children: [_jsx(MystLogo, { fill: "currentColor" }), _jsx("span", { className: "self-center text-sm ml-2", children: "Made with MyST" })] }));
|
|
7
7
|
}
|
package/dist/types/myst.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare function MystLogo({ size, fill, highlight, className, }: {
|
|
3
2
|
size?: number;
|
|
4
3
|
fill?: string | 'currentColor';
|
|
5
4
|
highlight?: string | 'currentColor';
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function MadeWithMyst({ url }: {
|
|
9
8
|
url?: string;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
//# sourceMappingURL=myst.d.ts.map
|
package/dist/types/myst.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"myst.d.ts","sourceRoot":"","sources":["../../src/myst.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,EACvB,IAAS,EACT,IAAgB,EAChB,SAAqB,EACrB,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAwBA;AAED,wBAAgB,YAAY,CAAC,EAAE,GAA6C,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY/F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myst-theme/icons",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -26,11 +26,5 @@
|
|
|
26
26
|
"react": "^16.8 || ^17.0 || ^18.0",
|
|
27
27
|
"react-dom": "^16.8 || ^17.0 || ^18.0"
|
|
28
28
|
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"eslint": "^8.21.0",
|
|
31
|
-
"eslint-config-curvenote": "latest",
|
|
32
|
-
"npm-run-all": "^4.1.5",
|
|
33
|
-
"tsconfig": "latest",
|
|
34
|
-
"typescript": "latest"
|
|
35
|
-
}
|
|
29
|
+
"devDependencies": {}
|
|
36
30
|
}
|