react-lib-tools 0.0.12 → 0.0.13
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/{GettingStartedRoute-Da-KZIf6.cjs → GettingStartedRoute-BJh6Q9Fv.cjs} +2 -2
- package/dist/{GettingStartedRoute-Da-KZIf6.cjs.map → GettingStartedRoute-BJh6Q9Fv.cjs.map} +1 -1
- package/dist/{GettingStartedRoute-n1iZy0On.js → GettingStartedRoute-Bea34m1X.js} +2 -2
- package/dist/{GettingStartedRoute-n1iZy0On.js.map → GettingStartedRoute-Bea34m1X.js.map} +1 -1
- package/dist/{PageNotFound-BhQMB2FT.cjs → PageNotFound-CrHjMQNv.cjs} +2 -2
- package/dist/{PageNotFound-BhQMB2FT.cjs.map → PageNotFound-CrHjMQNv.cjs.map} +1 -1
- package/dist/{PageNotFound-BbBqPkkF.js → PageNotFound-DE5Z0RR6.js} +2 -2
- package/dist/{PageNotFound-BbBqPkkF.js.map → PageNotFound-DE5Z0RR6.js.map} +1 -1
- package/dist/{SupportRoute-CmcE6ZZa.cjs → SupportRoute-Bww0QSix.cjs} +2 -2
- package/dist/{SupportRoute-CmcE6ZZa.cjs.map → SupportRoute-Bww0QSix.cjs.map} +1 -1
- package/dist/{SupportRoute-DuPMzYIe.js → SupportRoute-DPlYEYJn.js} +2 -2
- package/dist/{SupportRoute-DuPMzYIe.js.map → SupportRoute-DPlYEYJn.js.map} +1 -1
- package/dist/{index-BiL6y7tb.cjs → index-BpfFWZm4.cjs} +2 -2
- package/dist/{index-BiL6y7tb.cjs.map → index-BpfFWZm4.cjs.map} +1 -1
- package/dist/{index-CUStiGoe.js → index-DdaUFzS-.js} +5 -5
- package/dist/{index-CUStiGoe.js.map → index-DdaUFzS-.js.map} +1 -1
- package/dist/react-lib-tools.cjs +1 -1
- package/dist/react-lib-tools.js +1 -1
- package/package.json +1 -1
- package/styles.css +22 -9
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-
|
|
2
|
-
//# sourceMappingURL=GettingStartedRoute-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-BpfFWZm4.cjs");function n(){const{overview:s,packageName:i,showOpenCollectLink:l}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:"Getting started"}),s,s&&e.jsx("div",{className:"text-xl mt-4",children:"Installation"}),e.jsx("div",{children:"Begin by installing the library from NPM:"}),e.jsxs("code",{className:"grow text-xs md:text-sm block text-left whitespace-pre-wrap rounded-md p-3 bg-black text-white!",children:["npm install ",e.jsx("span",{className:"tok-keyword",children:i})]}),e.jsxs(t.Callout,{intent:"primary",children:["TypeScript definitions are included within the published"," ",e.jsx("code",{children:"dist"})," folder."]}),e.jsx("div",{className:"text-xl mt-4",children:"Support"}),e.jsx("div",{children:"Here are some ways to support this project:"}),e.jsxs("ul",{className:"pl-8",children:[e.jsx("li",{className:"list-disc",children:e.jsx(t.ExternalLink,{href:"https://github.com/sponsors/bvaughn/",children:"Become a GitHub sponsor"})}),l&&e.jsx("li",{className:"list-disc",children:e.jsx(t.ExternalLink,{href:`https://opencollective.com/${i}#sponsor`,children:"Become an Open Collective sponsor"})}),e.jsx("li",{className:"list-disc",children:e.jsx(t.ExternalLink,{href:"http://givebrian.coffee/",children:"Buy me a coffee"})})]})]})}exports.default=n;
|
|
2
|
+
//# sourceMappingURL=GettingStartedRoute-BJh6Q9Fv.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStartedRoute-
|
|
1
|
+
{"version":3,"file":"GettingStartedRoute-BJh6Q9Fv.cjs","sources":["../lib/components/app/routes/GettingStartedRoute.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Callout } from \"../../Callout\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function GettingStartedRoute() {\n const { overview, packageName, showOpenCollectLink } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Getting started\" />\n {overview}\n {overview && <div className=\"text-xl mt-4\">Installation</div>}\n <div>Begin by installing the library from NPM:</div>\n <code className=\"grow text-xs md:text-sm block text-left whitespace-pre-wrap rounded-md p-3 bg-black text-white!\">\n npm install <span className=\"tok-keyword\">{packageName}</span>\n </code>\n <Callout intent=\"primary\">\n TypeScript definitions are included within the published{\" \"}\n <code>dist</code> folder.\n </Callout>\n <div className=\"text-xl mt-4\">Support</div>\n <div>Here are some ways to support this project:</div>\n <ul className=\"pl-8\">\n <li className=\"list-disc\">\n <ExternalLink href=\"https://github.com/sponsors/bvaughn/\">\n Become a GitHub sponsor\n </ExternalLink>\n </li>\n {showOpenCollectLink && (\n <li className=\"list-disc\">\n <ExternalLink\n href={`https://opencollective.com/${packageName}#sponsor`}\n >\n Become an Open Collective sponsor\n </ExternalLink>\n </li>\n )}\n <li className=\"list-disc\">\n <ExternalLink href=\"http://givebrian.coffee/\">\n Buy me a coffee\n </ExternalLink>\n </li>\n </ul>\n </Box>\n );\n}\n"],"names":["GettingStartedRoute","overview","packageName","showOpenCollectLink","useLibraryContext","jsxs","Box","jsx","Header","Callout","ExternalLink"],"mappings":"uJAMA,SAAwBA,GAAsB,CAC5C,KAAM,CAAE,SAAAC,EAAU,YAAAC,EAAa,oBAAAC,CAAA,EAAwBC,EAAAA,kBAAA,EAEvD,OACEC,EAAAA,KAACC,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAC,EAAAA,IAACC,EAAAA,OAAA,CAAO,MAAM,iBAAA,CAAkB,EAC/BP,EACAA,GAAYM,EAAAA,IAAC,MAAA,CAAI,UAAU,eAAe,SAAA,eAAY,EACvDA,EAAAA,IAAC,OAAI,SAAA,2CAAA,CAAyC,EAC9CF,EAAAA,KAAC,OAAA,CAAK,UAAU,kGAAkG,SAAA,CAAA,eACpGE,EAAAA,IAAC,OAAA,CAAK,UAAU,cAAe,SAAAL,CAAA,CAAY,CAAA,EACzD,EACAG,EAAAA,KAACI,EAAAA,QAAA,CAAQ,OAAO,UAAU,SAAA,CAAA,2DACiC,IACzDF,EAAAA,IAAC,QAAK,SAAA,MAAA,CAAI,EAAO,UAAA,EACnB,EACAA,EAAAA,IAAC,MAAA,CAAI,UAAU,eAAe,SAAA,UAAO,EACrCA,EAAAA,IAAC,OAAI,SAAA,6CAAA,CAA2C,EAChDF,EAAAA,KAAC,KAAA,CAAG,UAAU,OACZ,SAAA,CAAAE,EAAAA,IAAC,KAAA,CAAG,UAAU,YACZ,SAAAA,EAAAA,IAACG,gBAAa,KAAK,uCAAuC,mCAE1D,CAAA,CACF,EACCP,GACCI,EAAAA,IAAC,KAAA,CAAG,UAAU,YACZ,SAAAA,EAAAA,IAACG,EAAAA,aAAA,CACC,KAAM,8BAA8BR,CAAW,WAChD,SAAA,mCAAA,CAAA,EAGH,EAEFK,EAAAA,IAAC,MAAG,UAAU,YACZ,eAACG,EAAAA,aAAA,CAAa,KAAK,2BAA2B,SAAA,iBAAA,CAE9C,CAAA,CACF,CAAA,CAAA,CACF,CAAA,EACF,CAEJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as n, B as a, H as c, C as o, E as i } from "./index-
|
|
2
|
+
import { u as n, B as a, H as c, C as o, E as i } from "./index-DdaUFzS-.js";
|
|
3
3
|
function p() {
|
|
4
4
|
const { overview: s, packageName: l, showOpenCollectLink: r } = n();
|
|
5
5
|
return /* @__PURE__ */ t(a, { direction: "column", gap: 4, children: [
|
|
@@ -35,4 +35,4 @@ function p() {
|
|
|
35
35
|
export {
|
|
36
36
|
p as default
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=GettingStartedRoute-
|
|
38
|
+
//# sourceMappingURL=GettingStartedRoute-Bea34m1X.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStartedRoute-
|
|
1
|
+
{"version":3,"file":"GettingStartedRoute-Bea34m1X.js","sources":["../lib/components/app/routes/GettingStartedRoute.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Callout } from \"../../Callout\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function GettingStartedRoute() {\n const { overview, packageName, showOpenCollectLink } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Getting started\" />\n {overview}\n {overview && <div className=\"text-xl mt-4\">Installation</div>}\n <div>Begin by installing the library from NPM:</div>\n <code className=\"grow text-xs md:text-sm block text-left whitespace-pre-wrap rounded-md p-3 bg-black text-white!\">\n npm install <span className=\"tok-keyword\">{packageName}</span>\n </code>\n <Callout intent=\"primary\">\n TypeScript definitions are included within the published{\" \"}\n <code>dist</code> folder.\n </Callout>\n <div className=\"text-xl mt-4\">Support</div>\n <div>Here are some ways to support this project:</div>\n <ul className=\"pl-8\">\n <li className=\"list-disc\">\n <ExternalLink href=\"https://github.com/sponsors/bvaughn/\">\n Become a GitHub sponsor\n </ExternalLink>\n </li>\n {showOpenCollectLink && (\n <li className=\"list-disc\">\n <ExternalLink\n href={`https://opencollective.com/${packageName}#sponsor`}\n >\n Become an Open Collective sponsor\n </ExternalLink>\n </li>\n )}\n <li className=\"list-disc\">\n <ExternalLink href=\"http://givebrian.coffee/\">\n Buy me a coffee\n </ExternalLink>\n </li>\n </ul>\n </Box>\n );\n}\n"],"names":["GettingStartedRoute","overview","packageName","showOpenCollectLink","useLibraryContext","jsxs","Box","jsx","Header","Callout","ExternalLink"],"mappings":";;AAMA,SAAwBA,IAAsB;AAC5C,QAAM,EAAE,UAAAC,GAAU,aAAAC,GAAa,qBAAAC,EAAA,IAAwBC,EAAA;AAEvD,SACE,gBAAAC,EAACC,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAO,OAAM,kBAAA,CAAkB;AAAA,IAC/BP;AAAA,IACAA,KAAY,gBAAAM,EAAC,OAAA,EAAI,WAAU,gBAAe,UAAA,gBAAY;AAAA,IACvD,gBAAAA,EAAC,SAAI,UAAA,4CAAA,CAAyC;AAAA,IAC9C,gBAAAF,EAAC,QAAA,EAAK,WAAU,mGAAkG,UAAA;AAAA,MAAA;AAAA,MACpG,gBAAAE,EAAC,QAAA,EAAK,WAAU,eAAe,UAAAL,EAAA,CAAY;AAAA,IAAA,GACzD;AAAA,IACA,gBAAAG,EAACI,GAAA,EAAQ,QAAO,WAAU,UAAA;AAAA,MAAA;AAAA,MACiC;AAAA,MACzD,gBAAAF,EAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MAAO;AAAA,IAAA,GACnB;AAAA,IACA,gBAAAA,EAAC,OAAA,EAAI,WAAU,gBAAe,UAAA,WAAO;AAAA,IACrC,gBAAAA,EAAC,SAAI,UAAA,8CAAA,CAA2C;AAAA,IAChD,gBAAAF,EAAC,MAAA,EAAG,WAAU,QACZ,UAAA;AAAA,MAAA,gBAAAE,EAAC,MAAA,EAAG,WAAU,aACZ,UAAA,gBAAAA,EAACG,KAAa,MAAK,wCAAuC,qCAE1D,EAAA,CACF;AAAA,MACCP,KACC,gBAAAI,EAAC,MAAA,EAAG,WAAU,aACZ,UAAA,gBAAAA;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,MAAM,8BAA8BR,CAAW;AAAA,UAChD,UAAA;AAAA,QAAA;AAAA,MAAA,GAGH;AAAA,MAEF,gBAAAK,EAAC,QAAG,WAAU,aACZ,4BAACG,GAAA,EAAa,MAAK,4BAA2B,UAAA,kBAAA,CAE9C,EAAA,CACF;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("./index-
|
|
2
|
-
//# sourceMappingURL=PageNotFound-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("./index-BpfFWZm4.cjs");function i(){const{packageName:n}=e.useLibraryContext();return t.jsxs(e.Box,{direction:"column",gap:4,children:[t.jsx(e.Header,{title:"Page not found"}),t.jsxs(e.Callout,{intent:"danger",children:["The URL you requested can't be found. If you think this is an error,"," ",t.jsx(e.ExternalLink,{href:`https://github.com/bvaughn/${n}/issues/new`,children:"please file a GitHub issue"}),"."]})]})}exports.default=i;
|
|
2
|
+
//# sourceMappingURL=PageNotFound-CrHjMQNv.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageNotFound-
|
|
1
|
+
{"version":3,"file":"PageNotFound-CrHjMQNv.cjs","sources":["../lib/components/app/routes/PageNotFound.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Callout } from \"../../Callout\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function PageNotFoundRoute() {\n const { packageName } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Page not found\" />\n <Callout intent=\"danger\">\n The URL you requested can't be found. If you think this is an error,{\" \"}\n <ExternalLink\n href={`https://github.com/bvaughn/${packageName}/issues/new`}\n >\n please file a GitHub issue\n </ExternalLink>\n .\n </Callout>\n </Box>\n );\n}\n"],"names":["PageNotFoundRoute","packageName","useLibraryContext","jsxs","Box","jsx","Header","Callout","ExternalLink"],"mappings":"uJAMA,SAAwBA,GAAoB,CAC1C,KAAM,CAAE,YAAAC,CAAA,EAAgBC,oBAAA,EAExB,OACEC,EAAAA,KAACC,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAC,EAAAA,IAACC,EAAAA,OAAA,CAAO,MAAM,gBAAA,CAAiB,EAC/BH,EAAAA,KAACI,EAAAA,QAAA,CAAQ,OAAO,SAAS,SAAA,CAAA,uEAC8C,IACrEF,EAAAA,IAACG,EAAAA,aAAA,CACC,KAAM,8BAA8BP,CAAW,cAChD,SAAA,4BAAA,CAAA,EAEc,GAAA,CAAA,CAEjB,CAAA,EACF,CAEJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as a, B as o, H as r, C as s, E as i } from "./index-
|
|
2
|
+
import { u as a, B as o, H as r, C as s, E as i } from "./index-DdaUFzS-.js";
|
|
3
3
|
function l() {
|
|
4
4
|
const { packageName: n } = a();
|
|
5
5
|
return /* @__PURE__ */ e(o, { direction: "column", gap: 4, children: [
|
|
@@ -21,4 +21,4 @@ function l() {
|
|
|
21
21
|
export {
|
|
22
22
|
l as default
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=PageNotFound-
|
|
24
|
+
//# sourceMappingURL=PageNotFound-DE5Z0RR6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageNotFound-
|
|
1
|
+
{"version":3,"file":"PageNotFound-DE5Z0RR6.js","sources":["../lib/components/app/routes/PageNotFound.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Callout } from \"../../Callout\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function PageNotFoundRoute() {\n const { packageName } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Page not found\" />\n <Callout intent=\"danger\">\n The URL you requested can't be found. If you think this is an error,{\" \"}\n <ExternalLink\n href={`https://github.com/bvaughn/${packageName}/issues/new`}\n >\n please file a GitHub issue\n </ExternalLink>\n .\n </Callout>\n </Box>\n );\n}\n"],"names":["PageNotFoundRoute","packageName","useLibraryContext","jsxs","Box","jsx","Header","Callout","ExternalLink"],"mappings":";;AAMA,SAAwBA,IAAoB;AAC1C,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA;AAExB,SACE,gBAAAC,EAACC,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAO,OAAM,iBAAA,CAAiB;AAAA,IAC/B,gBAAAH,EAACI,GAAA,EAAQ,QAAO,UAAS,UAAA;AAAA,MAAA;AAAA,MAC8C;AAAA,MACrE,gBAAAF;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,MAAM,8BAA8BP,CAAW;AAAA,UAChD,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAEc;AAAA,IAAA,EAAA,CAEjB;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-
|
|
2
|
-
//# sourceMappingURL=SupportRoute-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-BpfFWZm4.cjs");function i(){const{packageName:s}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:"Support"}),e.jsxs("div",{children:[e.jsx(t.ExternalLink,{href:`https://github.com/bvaughn/${s}`,children:"GitHub"})," ","is the easiest place to look for help, but it's probably not the fastest. This project is maintained by a single developer so there is limited bandwidth for answering questions."]}),e.jsxs("div",{children:["I recommend asking questions on"," ",e.jsx(t.ExternalLink,{href:`https://stackoverflow.com/search?q=${s}`,children:"Stack Overflow"})," ","or"," ",e.jsx(t.ExternalLink,{href:"https://reddit.com/r/reactjs",children:"Reddit"})," ","to start with. Both sites have active communities who often respond quickly. If you don't find an answer there you can try opening a GitHub issue- but please take a moment first to see if your question has"," ",e.jsx(t.ExternalLink,{href:`https://github.com/bvaughn/${s}/issues?q=is%3Aissue%20state%3Aclosed`,children:"has already been answered"})," ","before opening a new one."]})]})}exports.default=i;
|
|
2
|
+
//# sourceMappingURL=SupportRoute-Bww0QSix.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportRoute-
|
|
1
|
+
{"version":3,"file":"SupportRoute-Bww0QSix.cjs","sources":["../lib/components/app/routes/SupportRoute.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function SupportRoute() {\n const { packageName } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Support\" />\n <div>\n <ExternalLink href={`https://github.com/bvaughn/${packageName}`}>\n GitHub\n </ExternalLink>{\" \"}\n is the easiest place to look for help, but it's probably not the\n fastest. This project is maintained by a single developer so there is\n limited bandwidth for answering questions.\n </div>\n <div>\n I recommend asking questions on{\" \"}\n <ExternalLink\n href={`https://stackoverflow.com/search?q=${packageName}`}\n >\n Stack Overflow\n </ExternalLink>{\" \"}\n or{\" \"}\n <ExternalLink href=\"https://reddit.com/r/reactjs\">Reddit</ExternalLink>{\" \"}\n to start with. Both sites have active communities who often respond\n quickly. If you don't find an answer there you can try opening a GitHub\n issue- but please take a moment first to see if your question has{\" \"}\n <ExternalLink\n href={`https://github.com/bvaughn/${packageName}/issues?q=is%3Aissue%20state%3Aclosed`}\n >\n has already been answered\n </ExternalLink>{\" \"}\n before opening a new one.\n </div>\n </Box>\n );\n}\n"],"names":["SupportRoute","packageName","useLibraryContext","jsxs","Box","jsx","Header","ExternalLink"],"mappings":"uJAKA,SAAwBA,GAAe,CACrC,KAAM,CAAE,YAAAC,CAAA,EAAgBC,oBAAA,EAExB,OACEC,EAAAA,KAACC,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAC,EAAAA,IAACC,EAAAA,OAAA,CAAO,MAAM,SAAA,CAAU,SACvB,MAAA,CACC,SAAA,CAAAD,MAACE,EAAAA,aAAA,CAAa,KAAM,8BAA8BN,CAAW,GAAI,SAAA,SAEjE,EAAgB,IAAI,mLAAA,EAItB,SACC,MAAA,CAAI,SAAA,CAAA,kCAC6B,IAChCI,EAAAA,IAACE,EAAAA,aAAA,CACC,KAAM,sCAAsCN,CAAW,GACxD,SAAA,gBAAA,CAAA,EAEe,IAAI,KACjB,IACHI,EAAAA,IAACE,EAAAA,aAAA,CAAa,KAAK,+BAA+B,SAAA,SAAM,EAAgB,IAAI,gNAGV,IAClEF,EAAAA,IAACE,EAAAA,aAAA,CACC,KAAM,8BAA8BN,CAAW,wCAChD,SAAA,2BAAA,CAAA,EAEe,IAAI,2BAAA,CAAA,CAEtB,CAAA,EACF,CAEJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as o, B as r, H as n, E as t } from "./index-
|
|
2
|
+
import { u as o, B as r, H as n, E as t } from "./index-DdaUFzS-.js";
|
|
3
3
|
function c() {
|
|
4
4
|
const { packageName: s } = o();
|
|
5
5
|
return /* @__PURE__ */ i(r, { direction: "column", gap: 4, children: [
|
|
@@ -41,4 +41,4 @@ function c() {
|
|
|
41
41
|
export {
|
|
42
42
|
c as default
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=SupportRoute-
|
|
44
|
+
//# sourceMappingURL=SupportRoute-DPlYEYJn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportRoute-
|
|
1
|
+
{"version":3,"file":"SupportRoute-DPlYEYJn.js","sources":["../lib/components/app/routes/SupportRoute.tsx"],"sourcesContent":["import { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { ExternalLink } from \"../../ExternalLink\";\nimport { Header } from \"../../Header\";\n\nexport default function SupportRoute() {\n const { packageName } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Support\" />\n <div>\n <ExternalLink href={`https://github.com/bvaughn/${packageName}`}>\n GitHub\n </ExternalLink>{\" \"}\n is the easiest place to look for help, but it's probably not the\n fastest. This project is maintained by a single developer so there is\n limited bandwidth for answering questions.\n </div>\n <div>\n I recommend asking questions on{\" \"}\n <ExternalLink\n href={`https://stackoverflow.com/search?q=${packageName}`}\n >\n Stack Overflow\n </ExternalLink>{\" \"}\n or{\" \"}\n <ExternalLink href=\"https://reddit.com/r/reactjs\">Reddit</ExternalLink>{\" \"}\n to start with. Both sites have active communities who often respond\n quickly. If you don't find an answer there you can try opening a GitHub\n issue- but please take a moment first to see if your question has{\" \"}\n <ExternalLink\n href={`https://github.com/bvaughn/${packageName}/issues?q=is%3Aissue%20state%3Aclosed`}\n >\n has already been answered\n </ExternalLink>{\" \"}\n before opening a new one.\n </div>\n </Box>\n );\n}\n"],"names":["SupportRoute","packageName","useLibraryContext","jsxs","Box","jsx","Header","ExternalLink"],"mappings":";;AAKA,SAAwBA,IAAe;AACrC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA;AAExB,SACE,gBAAAC,EAACC,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAO,OAAM,UAAA,CAAU;AAAA,sBACvB,OAAA,EACC,UAAA;AAAA,MAAA,gBAAAD,EAACE,GAAA,EAAa,MAAM,8BAA8BN,CAAW,IAAI,UAAA,UAEjE;AAAA,MAAgB;AAAA,MAAI;AAAA,IAAA,GAItB;AAAA,sBACC,OAAA,EAAI,UAAA;AAAA,MAAA;AAAA,MAC6B;AAAA,MAChC,gBAAAI;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAM,sCAAsCN,CAAW;AAAA,UACxD,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAEe;AAAA,MAAI;AAAA,MACjB;AAAA,MACH,gBAAAI,EAACE,GAAA,EAAa,MAAK,gCAA+B,UAAA,UAAM;AAAA,MAAgB;AAAA,MAAI;AAAA,MAGV;AAAA,MAClE,gBAAAF;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAM,8BAA8BN,CAAW;AAAA,UAChD,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAEe;AAAA,MAAI;AAAA,IAAA,EAAA,CAEtB;AAAA,EAAA,GACF;AAEJ;"}
|