@myst-theme/icons 0.5.7 → 0.5.9
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/index.d.ts +2 -0
- package/dist/{esm/index.d.ts.map → index.d.ts.map} +1 -1
- package/dist/index.js +1 -0
- package/dist/myst.d.ts.map +1 -0
- package/package.json +9 -8
- package/dist/cjs/index.d.ts +0 -2
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -17
- package/dist/cjs/myst.d.ts.map +0 -1
- package/dist/cjs/myst.js +0 -12
- package/dist/esm/index.d.ts +0 -2
- package/dist/esm/index.js +0 -1
- package/dist/esm/myst.d.ts +0 -10
- package/dist/esm/myst.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/myst.d.ts +0 -10
- package/dist/types/myst.d.ts.map +0 -1
- /package/dist/{cjs/myst.d.ts → myst.d.ts} +0 -0
- /package/dist/{esm/myst.js → myst.js} +0 -0
package/dist/index.d.ts
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './myst.js';
|
|
@@ -0,0 +1 @@
|
|
|
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,GAAyC,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY3F"}
|
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myst-theme/icons",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"types": "dist/
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=16"
|
|
13
|
+
},
|
|
11
14
|
"license": "MIT",
|
|
12
15
|
"scripts": {
|
|
13
16
|
"clean": "rimraf dist",
|
|
14
17
|
"lint": "eslint src/**/**.ts*",
|
|
15
18
|
"lint:format": "prettier --check \"src/**/*.{ts,tsx,md}\"",
|
|
16
19
|
"dev": "npm-run-all --parallel \"build:* -- --watch\"",
|
|
17
|
-
"build:
|
|
18
|
-
"build
|
|
19
|
-
"build:types": "tsc --declaration --emitDeclarationOnly --declarationMap --outDir dist/types",
|
|
20
|
-
"build": "npm-run-all -l clean -p build:cjs build:esm build:types"
|
|
20
|
+
"build:esm": "tsc",
|
|
21
|
+
"build": "npm-run-all -l clean -p build:esm"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {},
|
|
23
24
|
"peerDependencies": {
|
package/dist/cjs/index.d.ts
DELETED
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./myst"), exports);
|
package/dist/cjs/myst.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,GAAyC,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY3F"}
|
package/dist/cjs/myst.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MadeWithMyst = exports.MystLogo = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
function MystLogo({ size = 24, fill = '#616161', highlight = '#F37726', className, }) {
|
|
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
|
-
}
|
|
8
|
-
exports.MystLogo = MystLogo;
|
|
9
|
-
function MadeWithMyst({ url = 'https://mystmd.org/made-with-myst' }) {
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)("a", { className: "flex mx-auto text-gray-700 w-fit 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 ml-2 text-sm", children: "Made with MyST" })] }));
|
|
11
|
-
}
|
|
12
|
-
exports.MadeWithMyst = MadeWithMyst;
|
package/dist/esm/index.d.ts
DELETED
package/dist/esm/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './myst';
|
package/dist/esm/myst.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare function MystLogo({ size, fill, highlight, className, }: {
|
|
2
|
-
size?: number;
|
|
3
|
-
fill?: string | 'currentColor';
|
|
4
|
-
highlight?: string | 'currentColor';
|
|
5
|
-
className?: string;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function MadeWithMyst({ url }: {
|
|
8
|
-
url?: string;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=myst.d.ts.map
|
package/dist/esm/myst.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,GAAyC,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY3F"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
package/dist/types/myst.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare function MystLogo({ size, fill, highlight, className, }: {
|
|
2
|
-
size?: number;
|
|
3
|
-
fill?: string | 'currentColor';
|
|
4
|
-
highlight?: string | 'currentColor';
|
|
5
|
-
className?: string;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function MadeWithMyst({ url }: {
|
|
8
|
-
url?: string;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=myst.d.ts.map
|
package/dist/types/myst.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,GAAyC,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAY3F"}
|
|
File without changes
|
|
File without changes
|