@myst-theme/frontmatter 0.4.2 → 0.5.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/FrontmatterBlock.d.ts +3 -0
- package/dist/cjs/FrontmatterBlock.d.ts.map +1 -1
- package/dist/cjs/FrontmatterBlock.js +9 -2
- package/dist/esm/FrontmatterBlock.d.ts +3 -0
- package/dist/esm/FrontmatterBlock.d.ts.map +1 -1
- package/dist/esm/FrontmatterBlock.js +8 -2
- package/dist/types/FrontmatterBlock.d.ts +3 -0
- package/dist/types/FrontmatterBlock.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -23,6 +23,9 @@ export declare function DateString({ date, format, spacer, }: {
|
|
|
23
23
|
format?: Intl.DateTimeFormatOptions;
|
|
24
24
|
spacer?: boolean;
|
|
25
25
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
export declare function TwitterLink({ twitter: possibleLink }: {
|
|
27
|
+
twitter?: string;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
29
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
27
30
|
github?: string;
|
|
28
31
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AA+B/C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,S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,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,UAAU,EACV,WAAW,EACX,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAuEA"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FrontmatterBlock = exports.Journal = exports.OpenAccessBadge = exports.GitHubLink = exports.DateString = exports.DoiBadge = exports.DoiText = exports.AuthorAndAffiliations = exports.AuthorsList = exports.Author = void 0;
|
|
6
|
+
exports.FrontmatterBlock = exports.Journal = exports.OpenAccessBadge = exports.GitHubLink = exports.TwitterLink = exports.DateString = exports.DoiBadge = exports.DoiText = exports.AuthorAndAffiliations = exports.AuthorsList = exports.Author = void 0;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = __importDefault(require("react"));
|
|
9
9
|
const classnames_1 = __importDefault(require("classnames"));
|
|
@@ -15,7 +15,7 @@ function ExternalOrInternalLink({ to, className, title, children, }) {
|
|
|
15
15
|
return ((0, jsx_runtime_1.jsx)("a", { href: to, className: className, title: title, children: children }));
|
|
16
16
|
}
|
|
17
17
|
function Author({ author, className, }) {
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)("span", { className: (0, classnames_1.default)('font-semibold text-sm', className), children: [author.name, author.email && author.corresponding && ((0, jsx_runtime_1.jsx)("a", { className: "ml-1", href: `mailto:${author.email}`, title: `${author.name} <${author.email}>`, target: "_blank", rel: "noopener noreferrer", children: (0, jsx_runtime_1.jsx)(solid_1.EmailIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-blue-400 -translate-y-[0.1em]" }) })), author.orcid && ((0, jsx_runtime_1.jsx)("a", { className: "ml-1", href: `https://orcid.org/${author.orcid}`, target: "_blank", rel: "noopener noreferrer", title: "ORCID (Open Researcher and Contributor ID)", children: (0, jsx_runtime_1.jsx)(solid_1.OrcidIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#A9C751] -translate-y-[0.1em]" }) }))] }));
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("span", { className: (0, classnames_1.default)('font-semibold text-sm', className), children: [author.name, author.email && author.corresponding && ((0, jsx_runtime_1.jsx)("a", { className: "ml-1", href: `mailto:${author.email}`, title: `${author.name} <${author.email}>`, target: "_blank", rel: "noopener noreferrer", children: (0, jsx_runtime_1.jsx)(solid_1.EmailIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-blue-400 -translate-y-[0.1em]" }) })), author.orcid && ((0, jsx_runtime_1.jsx)("a", { className: "ml-1", href: `https://orcid.org/${author.orcid}`, target: "_blank", rel: "noopener noreferrer", title: "ORCID (Open Researcher and Contributor ID)", children: (0, jsx_runtime_1.jsx)(solid_1.OrcidIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#A9C751] -translate-y-[0.1em]" }) })), author.twitter && ((0, jsx_runtime_1.jsx)("a", { className: "ml-1", href: `https://twitter.com/${author.twitter}`, target: "_blank", rel: "noopener noreferrer", title: `Twitter: ${author.twitter}`, children: (0, jsx_runtime_1.jsx)(solid_1.TwitterIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#1DA1F2] -translate-y-[0.1em]" }) }))] }));
|
|
19
19
|
}
|
|
20
20
|
exports.Author = Author;
|
|
21
21
|
function AuthorsList({ authors }) {
|
|
@@ -75,6 +75,13 @@ function DateString({ date, format = {
|
|
|
75
75
|
return ((0, jsx_runtime_1.jsx)("time", { dateTime: date, className: (0, classnames_1.default)({ 'text-spacer': spacer }), children: dateString }));
|
|
76
76
|
}
|
|
77
77
|
exports.DateString = DateString;
|
|
78
|
+
function TwitterLink({ twitter: possibleLink }) {
|
|
79
|
+
if (!possibleLink)
|
|
80
|
+
return null;
|
|
81
|
+
const twitter = possibleLink.replace(/^(https?:\/\/)?twitter\.com\//, '');
|
|
82
|
+
return ((0, jsx_runtime_1.jsx)("a", { href: `https://twitter.com/${twitter}`, title: `Twitter: ${twitter}`, target: "_blank", rel: "noopener noreferrer", className: "text-inherit hover:text-inherit", children: (0, jsx_runtime_1.jsx)(solid_1.TwitterIcon, { className: "inline-block w-5 h-5 mr-1 opacity-60 hover:opacity-100" }) }));
|
|
83
|
+
}
|
|
84
|
+
exports.TwitterLink = TwitterLink;
|
|
78
85
|
function GitHubLink({ github: possibleLink }) {
|
|
79
86
|
if (!possibleLink)
|
|
80
87
|
return null;
|
|
@@ -23,6 +23,9 @@ export declare function DateString({ date, format, spacer, }: {
|
|
|
23
23
|
format?: Intl.DateTimeFormatOptions;
|
|
24
24
|
spacer?: boolean;
|
|
25
25
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
export declare function TwitterLink({ twitter: possibleLink }: {
|
|
27
|
+
twitter?: string;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
29
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
27
30
|
github?: string;
|
|
28
31
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../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AqB,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,kDAQA;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,kDAc1E;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,kDAcvE;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAazE;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,UAAU,EACV,WAAW,EACX,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAuEA"}
|
|
@@ -2,14 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { SourceFileKind } from 'myst-spec-ext';
|
|
5
|
-
import { JupyterIcon, OrcidIcon, OpenAccessIcon, GithubIcon, EmailIcon, RorIcon, } from '@scienceicons/react/24/solid';
|
|
5
|
+
import { JupyterIcon, OrcidIcon, OpenAccessIcon, GithubIcon, EmailIcon, RorIcon, TwitterIcon, } from '@scienceicons/react/24/solid';
|
|
6
6
|
import { LicenseBadges } from './licenses';
|
|
7
7
|
import { DownloadsDropdown } from './downloads';
|
|
8
8
|
function ExternalOrInternalLink({ to, className, title, children, }) {
|
|
9
9
|
return (_jsx("a", { href: to, className: className, title: title, children: children }));
|
|
10
10
|
}
|
|
11
11
|
export function Author({ author, className, }) {
|
|
12
|
-
return (_jsxs("span", { className: classNames('font-semibold text-sm', className), children: [author.name, author.email && author.corresponding && (_jsx("a", { className: "ml-1", href: `mailto:${author.email}`, title: `${author.name} <${author.email}>`, target: "_blank", rel: "noopener noreferrer", children: _jsx(EmailIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-blue-400 -translate-y-[0.1em]" }) })), author.orcid && (_jsx("a", { className: "ml-1", href: `https://orcid.org/${author.orcid}`, target: "_blank", rel: "noopener noreferrer", title: "ORCID (Open Researcher and Contributor ID)", children: _jsx(OrcidIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#A9C751] -translate-y-[0.1em]" }) }))] }));
|
|
12
|
+
return (_jsxs("span", { className: classNames('font-semibold text-sm', className), children: [author.name, author.email && author.corresponding && (_jsx("a", { className: "ml-1", href: `mailto:${author.email}`, title: `${author.name} <${author.email}>`, target: "_blank", rel: "noopener noreferrer", children: _jsx(EmailIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-blue-400 -translate-y-[0.1em]" }) })), author.orcid && (_jsx("a", { className: "ml-1", href: `https://orcid.org/${author.orcid}`, target: "_blank", rel: "noopener noreferrer", title: "ORCID (Open Researcher and Contributor ID)", children: _jsx(OrcidIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#A9C751] -translate-y-[0.1em]" }) })), author.twitter && (_jsx("a", { className: "ml-1", href: `https://twitter.com/${author.twitter}`, target: "_blank", rel: "noopener noreferrer", title: `Twitter: ${author.twitter}`, children: _jsx(TwitterIcon, { className: "w-4 h-4 inline-block text-gray-400 hover:text-[#1DA1F2] -translate-y-[0.1em]" }) }))] }));
|
|
13
13
|
}
|
|
14
14
|
export function AuthorsList({ authors }) {
|
|
15
15
|
if (!authors || authors.length === 0)
|
|
@@ -63,6 +63,12 @@ export function DateString({ date, format = {
|
|
|
63
63
|
const dateString = new Date(date).toLocaleDateString('en-US', format);
|
|
64
64
|
return (_jsx("time", { dateTime: date, className: classNames({ 'text-spacer': spacer }), children: dateString }));
|
|
65
65
|
}
|
|
66
|
+
export function TwitterLink({ twitter: possibleLink }) {
|
|
67
|
+
if (!possibleLink)
|
|
68
|
+
return null;
|
|
69
|
+
const twitter = possibleLink.replace(/^(https?:\/\/)?twitter\.com\//, '');
|
|
70
|
+
return (_jsx("a", { href: `https://twitter.com/${twitter}`, title: `Twitter: ${twitter}`, target: "_blank", rel: "noopener noreferrer", className: "text-inherit hover:text-inherit", children: _jsx(TwitterIcon, { className: "inline-block w-5 h-5 mr-1 opacity-60 hover:opacity-100" }) }));
|
|
71
|
+
}
|
|
66
72
|
export function GitHubLink({ github: possibleLink }) {
|
|
67
73
|
if (!possibleLink)
|
|
68
74
|
return null;
|
|
@@ -23,6 +23,9 @@ export declare function DateString({ date, format, spacer, }: {
|
|
|
23
23
|
format?: Intl.DateTimeFormatOptions;
|
|
24
24
|
spacer?: boolean;
|
|
25
25
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
export declare function TwitterLink({ twitter: possibleLink }: {
|
|
27
|
+
twitter?: string;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
29
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
27
30
|
github?: string;
|
|
28
31
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,k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,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,kDAc1E;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,kDAcvE;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAazE;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,UAAU,EACV,WAAW,EACX,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAuEA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myst-theme/frontmatter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@headlessui/react": "^1.7.15",
|
|
23
23
|
"@heroicons/react": "^2.0.18",
|
|
24
|
-
"@scienceicons/react": "^0.0.
|
|
24
|
+
"@scienceicons/react": "^0.0.5",
|
|
25
25
|
"classnames": "^2.3.2",
|
|
26
26
|
"myst-common": "*",
|
|
27
27
|
"myst-frontmatter": "*"
|