react-lib-tools 0.0.53 → 0.0.55

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.
Files changed (31) hide show
  1. package/dist/{CommonQuestionsRoute-C1cnoDUu.cjs → CommonQuestionsRoute-BtBWCmE-.cjs} +2 -2
  2. package/dist/{CommonQuestionsRoute-C1cnoDUu.cjs.map → CommonQuestionsRoute-BtBWCmE-.cjs.map} +1 -1
  3. package/dist/{CommonQuestionsRoute-B4oSkDKu.js → CommonQuestionsRoute-cxDNMDTN.js} +2 -2
  4. package/dist/{CommonQuestionsRoute-B4oSkDKu.js.map → CommonQuestionsRoute-cxDNMDTN.js.map} +1 -1
  5. package/dist/{GettingStartedRoute-BmgT6xvQ.cjs → GettingStartedRoute-BcwMwMaQ.cjs} +2 -2
  6. package/dist/{GettingStartedRoute-BmgT6xvQ.cjs.map → GettingStartedRoute-BcwMwMaQ.cjs.map} +1 -1
  7. package/dist/{GettingStartedRoute-CdyG0b_M.js → GettingStartedRoute-lX9d7ftu.js} +2 -2
  8. package/dist/{GettingStartedRoute-CdyG0b_M.js.map → GettingStartedRoute-lX9d7ftu.js.map} +1 -1
  9. package/dist/{PageNotFound-C982mFqz.cjs → PageNotFound-DXH-RS-2.cjs} +2 -2
  10. package/dist/{PageNotFound-C982mFqz.cjs.map → PageNotFound-DXH-RS-2.cjs.map} +1 -1
  11. package/dist/{PageNotFound-DFuJVroY.js → PageNotFound-vtP24O16.js} +2 -2
  12. package/dist/{PageNotFound-DFuJVroY.js.map → PageNotFound-vtP24O16.js.map} +1 -1
  13. package/dist/{SupportRoute-DgRhJ6zd.cjs → SupportRoute-CeStfUez.cjs} +2 -2
  14. package/dist/{SupportRoute-DgRhJ6zd.cjs.map → SupportRoute-CeStfUez.cjs.map} +1 -1
  15. package/dist/{SupportRoute-zpZt3czS.js → SupportRoute-j8wujhND.js} +2 -2
  16. package/dist/{SupportRoute-zpZt3czS.js.map → SupportRoute-j8wujhND.js.map} +1 -1
  17. package/dist/{VersionsRoute-BLU7VqAE.js → VersionsRoute-CkxkYbvJ.js} +2 -2
  18. package/dist/{VersionsRoute-BLU7VqAE.js.map → VersionsRoute-CkxkYbvJ.js.map} +1 -1
  19. package/dist/{VersionsRoute-D9AdJV3q.cjs → VersionsRoute-Cn5yBpXh.cjs} +2 -2
  20. package/dist/{VersionsRoute-D9AdJV3q.cjs.map → VersionsRoute-Cn5yBpXh.cjs.map} +1 -1
  21. package/dist/{index-CaRziUeA.js → index-DNgD0eLG.js} +55 -51
  22. package/dist/index-DNgD0eLG.js.map +1 -0
  23. package/dist/{index-CN7E-dGv.cjs → index-xGmhhL7J.cjs} +2 -2
  24. package/dist/index-xGmhhL7J.cjs.map +1 -0
  25. package/dist/react-lib-tools.cjs +1 -1
  26. package/dist/react-lib-tools.d.ts +1 -0
  27. package/dist/react-lib-tools.js +1 -1
  28. package/package.json +1 -1
  29. package/scripts/utils/docs/compileComponent.ts +2 -2
  30. package/dist/index-CN7E-dGv.cjs.map +0 -1
  31. package/dist/index-CaRziUeA.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),t=require("./index-CN7E-dGv.cjs");function i({children:s}){return e.jsx("dd",{className:"mb-2 flex flex-col gap-2",children:s})}function r({children:s,id:n}){return e.jsx("dt",{className:"pt-4",id:n,children:e.jsx("a",{className:"text-lg text-common-question-header! font-bold",href:`#${n}`,children:s})})}function c(){const{commonQuestions:s=[]}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:"Common questions"}),e.jsx("dl",{children:s.map(n=>e.jsxs(o.Fragment,{children:[e.jsx(r,{id:n.id,children:n.question}),e.jsx(i,{children:n.answer})]},n.id))})]})}exports.default=c;
2
- //# sourceMappingURL=CommonQuestionsRoute-C1cnoDUu.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),t=require("./index-xGmhhL7J.cjs");function i({children:s}){return e.jsx("dd",{className:"mb-2 flex flex-col gap-2",children:s})}function r({children:s,id:n}){return e.jsx("dt",{className:"pt-4",id:n,children:e.jsx("a",{className:"text-lg text-common-question-header! font-bold",href:`#${n}`,children:s})})}function c(){const{commonQuestions:s=[]}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:"Common questions"}),e.jsx("dl",{children:s.map(n=>e.jsxs(o.Fragment,{children:[e.jsx(r,{id:n.id,children:n.question}),e.jsx(i,{children:n.answer})]},n.id))})]})}exports.default=c;
2
+ //# sourceMappingURL=CommonQuestionsRoute-BtBWCmE-.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommonQuestionsRoute-C1cnoDUu.cjs","sources":["../lib/components/app/components/Answer.tsx","../lib/components/app/components/Question.tsx","../lib/components/app/routes/CommonQuestionsRoute.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\n\nexport function Answer({ children }: PropsWithChildren) {\n return <dd className=\"mb-2 flex flex-col gap-2\">{children}</dd>;\n}\n","import type { PropsWithChildren } from \"react\";\n\nexport function Question({ children, id }: PropsWithChildren<{ id: string }>) {\n return (\n <dt className=\"pt-4\" id={id}>\n <a\n className=\"text-lg text-common-question-header! font-bold\"\n href={`#${id}`}\n >\n {children}\n </a>\n </dt>\n );\n}\n","import { Fragment } from \"react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { Answer } from \"../components/Answer\";\nimport { Question } from \"../components/Question\";\n\nexport default function CommonQuestionsRoute() {\n const { commonQuestions = [] } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Common questions\" />\n <dl>\n {commonQuestions.map((current) => (\n <Fragment key={current.id}>\n <Question id={current.id}>{current.question}</Question>\n <Answer>{current.answer}</Answer>\n </Fragment>\n ))}\n </dl>\n </Box>\n );\n}\n"],"names":["Answer","children","jsx","Question","id","CommonQuestionsRoute","commonQuestions","useLibraryContext","jsxs","Box","Header","current","Fragment"],"mappings":"0KAEO,SAASA,EAAO,CAAE,SAAAC,GAA+B,CACtD,OAAOC,EAAAA,IAAC,KAAA,CAAG,UAAU,2BAA4B,SAAAD,CAAA,CAAS,CAC5D,CCFO,SAASE,EAAS,CAAE,SAAAF,EAAU,GAAAG,GAAyC,CAC5E,OACEF,EAAAA,IAAC,KAAA,CAAG,UAAU,OAAO,GAAAE,EACnB,SAAAF,EAAAA,IAAC,IAAA,CACC,UAAU,iDACV,KAAM,IAAIE,CAAE,GAEX,SAAAH,CAAA,CAAA,EAEL,CAEJ,CCNA,SAAwBI,GAAuB,CAC7C,KAAM,CAAE,gBAAAC,EAAkB,EAAC,EAAMC,oBAAA,EAEjC,OACEC,EAAAA,KAACC,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAP,EAAAA,IAACQ,EAAAA,OAAA,CAAO,MAAM,kBAAA,CAAmB,QAChC,KAAA,CACE,SAAAJ,EAAgB,IAAKK,UACnBC,WAAA,CACC,SAAA,CAAAV,MAACC,EAAA,CAAS,GAAIQ,EAAQ,GAAK,WAAQ,SAAS,EAC5CT,EAAAA,IAACF,EAAA,CAAQ,SAAAW,EAAQ,MAAA,CAAO,CAAA,GAFXA,EAAQ,EAGvB,CACD,CAAA,CACH,CAAA,EACF,CAEJ"}
1
+ {"version":3,"file":"CommonQuestionsRoute-BtBWCmE-.cjs","sources":["../lib/components/app/components/Answer.tsx","../lib/components/app/components/Question.tsx","../lib/components/app/routes/CommonQuestionsRoute.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\n\nexport function Answer({ children }: PropsWithChildren) {\n return <dd className=\"mb-2 flex flex-col gap-2\">{children}</dd>;\n}\n","import type { PropsWithChildren } from \"react\";\n\nexport function Question({ children, id }: PropsWithChildren<{ id: string }>) {\n return (\n <dt className=\"pt-4\" id={id}>\n <a\n className=\"text-lg text-common-question-header! font-bold\"\n href={`#${id}`}\n >\n {children}\n </a>\n </dt>\n );\n}\n","import { Fragment } from \"react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { Answer } from \"../components/Answer\";\nimport { Question } from \"../components/Question\";\n\nexport default function CommonQuestionsRoute() {\n const { commonQuestions = [] } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Common questions\" />\n <dl>\n {commonQuestions.map((current) => (\n <Fragment key={current.id}>\n <Question id={current.id}>{current.question}</Question>\n <Answer>{current.answer}</Answer>\n </Fragment>\n ))}\n </dl>\n </Box>\n );\n}\n"],"names":["Answer","children","jsx","Question","id","CommonQuestionsRoute","commonQuestions","useLibraryContext","jsxs","Box","Header","current","Fragment"],"mappings":"0KAEO,SAASA,EAAO,CAAE,SAAAC,GAA+B,CACtD,OAAOC,EAAAA,IAAC,KAAA,CAAG,UAAU,2BAA4B,SAAAD,CAAA,CAAS,CAC5D,CCFO,SAASE,EAAS,CAAE,SAAAF,EAAU,GAAAG,GAAyC,CAC5E,OACEF,EAAAA,IAAC,KAAA,CAAG,UAAU,OAAO,GAAAE,EACnB,SAAAF,EAAAA,IAAC,IAAA,CACC,UAAU,iDACV,KAAM,IAAIE,CAAE,GAEX,SAAAH,CAAA,CAAA,EAEL,CAEJ,CCNA,SAAwBI,GAAuB,CAC7C,KAAM,CAAE,gBAAAC,EAAkB,EAAC,EAAMC,oBAAA,EAEjC,OACEC,EAAAA,KAACC,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAP,EAAAA,IAACQ,EAAAA,OAAA,CAAO,MAAM,kBAAA,CAAmB,QAChC,KAAA,CACE,SAAAJ,EAAgB,IAAKK,UACnBC,WAAA,CACC,SAAA,CAAAV,MAACC,EAAA,CAAS,GAAIQ,EAAQ,GAAK,WAAQ,SAAS,EAC5CT,EAAAA,IAACF,EAAA,CAAQ,SAAAW,EAAQ,MAAA,CAAO,CAAA,GAFXA,EAAQ,EAGvB,CACD,CAAA,CACH,CAAA,EACF,CAEJ"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
2
  import { Fragment as s } from "react";
3
- import { u as i, B as r, H as m } from "./index-CaRziUeA.js";
3
+ import { u as i, B as r, H as m } from "./index-DNgD0eLG.js";
4
4
  function a({ children: n }) {
5
5
  return /* @__PURE__ */ o("dd", { className: "mb-2 flex flex-col gap-2", children: n });
6
6
  }
@@ -27,4 +27,4 @@ function f() {
27
27
  export {
28
28
  f as default
29
29
  };
30
- //# sourceMappingURL=CommonQuestionsRoute-B4oSkDKu.js.map
30
+ //# sourceMappingURL=CommonQuestionsRoute-cxDNMDTN.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommonQuestionsRoute-B4oSkDKu.js","sources":["../lib/components/app/components/Answer.tsx","../lib/components/app/components/Question.tsx","../lib/components/app/routes/CommonQuestionsRoute.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\n\nexport function Answer({ children }: PropsWithChildren) {\n return <dd className=\"mb-2 flex flex-col gap-2\">{children}</dd>;\n}\n","import type { PropsWithChildren } from \"react\";\n\nexport function Question({ children, id }: PropsWithChildren<{ id: string }>) {\n return (\n <dt className=\"pt-4\" id={id}>\n <a\n className=\"text-lg text-common-question-header! font-bold\"\n href={`#${id}`}\n >\n {children}\n </a>\n </dt>\n );\n}\n","import { Fragment } from \"react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { Answer } from \"../components/Answer\";\nimport { Question } from \"../components/Question\";\n\nexport default function CommonQuestionsRoute() {\n const { commonQuestions = [] } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Common questions\" />\n <dl>\n {commonQuestions.map((current) => (\n <Fragment key={current.id}>\n <Question id={current.id}>{current.question}</Question>\n <Answer>{current.answer}</Answer>\n </Fragment>\n ))}\n </dl>\n </Box>\n );\n}\n"],"names":["Answer","children","jsx","Question","id","CommonQuestionsRoute","commonQuestions","useLibraryContext","jsxs","Box","Header","current","Fragment"],"mappings":";;;AAEO,SAASA,EAAO,EAAE,UAAAC,KAA+B;AACtD,SAAO,gBAAAC,EAAC,MAAA,EAAG,WAAU,4BAA4B,UAAAD,EAAA,CAAS;AAC5D;ACFO,SAASE,EAAS,EAAE,UAAAF,GAAU,IAAAG,KAAyC;AAC5E,SACE,gBAAAF,EAAC,MAAA,EAAG,WAAU,QAAO,IAAAE,GACnB,UAAA,gBAAAF;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAM,IAAIE,CAAE;AAAA,MAEX,UAAAH;AAAA,IAAA;AAAA,EAAA,GAEL;AAEJ;ACNA,SAAwBI,IAAuB;AAC7C,QAAM,EAAE,iBAAAC,IAAkB,GAAC,IAAMC,EAAA;AAEjC,SACE,gBAAAC,EAACC,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAP,EAACQ,GAAA,EAAO,OAAM,mBAAA,CAAmB;AAAA,sBAChC,MAAA,EACE,UAAAJ,EAAgB,IAAI,CAACK,wBACnBC,GAAA,EACC,UAAA;AAAA,MAAA,gBAAAV,EAACC,GAAA,EAAS,IAAIQ,EAAQ,IAAK,YAAQ,UAAS;AAAA,MAC5C,gBAAAT,EAACF,GAAA,EAAQ,UAAAW,EAAQ,OAAA,CAAO;AAAA,IAAA,KAFXA,EAAQ,EAGvB,CACD,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
1
+ {"version":3,"file":"CommonQuestionsRoute-cxDNMDTN.js","sources":["../lib/components/app/components/Answer.tsx","../lib/components/app/components/Question.tsx","../lib/components/app/routes/CommonQuestionsRoute.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\n\nexport function Answer({ children }: PropsWithChildren) {\n return <dd className=\"mb-2 flex flex-col gap-2\">{children}</dd>;\n}\n","import type { PropsWithChildren } from \"react\";\n\nexport function Question({ children, id }: PropsWithChildren<{ id: string }>) {\n return (\n <dt className=\"pt-4\" id={id}>\n <a\n className=\"text-lg text-common-question-header! font-bold\"\n href={`#${id}`}\n >\n {children}\n </a>\n </dt>\n );\n}\n","import { Fragment } from \"react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { Answer } from \"../components/Answer\";\nimport { Question } from \"../components/Question\";\n\nexport default function CommonQuestionsRoute() {\n const { commonQuestions = [] } = useLibraryContext();\n\n return (\n <Box direction=\"column\" gap={4}>\n <Header title=\"Common questions\" />\n <dl>\n {commonQuestions.map((current) => (\n <Fragment key={current.id}>\n <Question id={current.id}>{current.question}</Question>\n <Answer>{current.answer}</Answer>\n </Fragment>\n ))}\n </dl>\n </Box>\n );\n}\n"],"names":["Answer","children","jsx","Question","id","CommonQuestionsRoute","commonQuestions","useLibraryContext","jsxs","Box","Header","current","Fragment"],"mappings":";;;AAEO,SAASA,EAAO,EAAE,UAAAC,KAA+B;AACtD,SAAO,gBAAAC,EAAC,MAAA,EAAG,WAAU,4BAA4B,UAAAD,EAAA,CAAS;AAC5D;ACFO,SAASE,EAAS,EAAE,UAAAF,GAAU,IAAAG,KAAyC;AAC5E,SACE,gBAAAF,EAAC,MAAA,EAAG,WAAU,QAAO,IAAAE,GACnB,UAAA,gBAAAF;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAM,IAAIE,CAAE;AAAA,MAEX,UAAAH;AAAA,IAAA;AAAA,EAAA,GAEL;AAEJ;ACNA,SAAwBI,IAAuB;AAC7C,QAAM,EAAE,iBAAAC,IAAkB,GAAC,IAAMC,EAAA;AAEjC,SACE,gBAAAC,EAACC,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAP,EAACQ,GAAA,EAAO,OAAM,mBAAA,CAAmB;AAAA,sBAChC,MAAA,EACE,UAAAJ,EAAgB,IAAI,CAACK,wBACnBC,GAAA,EACC,UAAA;AAAA,MAAA,gBAAAV,EAACC,GAAA,EAAS,IAAIQ,EAAQ,IAAK,YAAQ,UAAS;AAAA,MAC5C,gBAAAT,EAACF,GAAA,EAAQ,UAAAW,EAAQ,OAAA,CAAO;AAAA,IAAA,KAFXA,EAAQ,EAGvB,CACD,EAAA,CACH;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-CN7E-dGv.cjs");function n(){const{overview:i,packageName:s,showOpenCollectLink:l}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:`Getting started with ${s}`}),i,i&&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:s})]}),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/${s}#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-BmgT6xvQ.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-xGmhhL7J.cjs");function n(){const{overview:i,packageName:s,showOpenCollectLink:l}=t.useLibraryContext();return e.jsxs(t.Box,{direction:"column",gap:4,children:[e.jsx(t.Header,{title:`Getting started with ${s}`}),i,i&&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:s})]}),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/${s}#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-BcwMwMaQ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStartedRoute-BmgT6xvQ.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 with ${packageName}`} />\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,MAAO,wBAAwBN,CAAW,GAAI,EACrDD,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
+ {"version":3,"file":"GettingStartedRoute-BcwMwMaQ.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 with ${packageName}`} />\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,MAAO,wBAAwBN,CAAW,GAAI,EACrDD,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 s } from "./index-CaRziUeA.js";
2
+ import { u as n, B as a, H as c, C as o, E as s } from "./index-DNgD0eLG.js";
3
3
  function p() {
4
4
  const { overview: l, packageName: i, 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-CdyG0b_M.js.map
38
+ //# sourceMappingURL=GettingStartedRoute-lX9d7ftu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStartedRoute-CdyG0b_M.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 with ${packageName}`} />\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,OAAO,wBAAwBN,CAAW,IAAI;AAAA,IACrDD;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
+ {"version":3,"file":"GettingStartedRoute-lX9d7ftu.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 with ${packageName}`} />\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,OAAO,wBAAwBN,CAAW,IAAI;AAAA,IACrDD;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-CN7E-dGv.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-C982mFqz.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("./index-xGmhhL7J.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-DXH-RS-2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageNotFound-C982mFqz.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
+ {"version":3,"file":"PageNotFound-DXH-RS-2.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-CaRziUeA.js";
2
+ import { u as a, B as o, H as r, C as s, E as i } from "./index-DNgD0eLG.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-DFuJVroY.js.map
24
+ //# sourceMappingURL=PageNotFound-vtP24O16.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageNotFound-DFuJVroY.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
+ {"version":3,"file":"PageNotFound-vtP24O16.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-CN7E-dGv.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-DgRhJ6zd.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-xGmhhL7J.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-CeStfUez.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"SupportRoute-DgRhJ6zd.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
+ {"version":3,"file":"SupportRoute-CeStfUez.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-CaRziUeA.js";
2
+ import { u as o, B as r, H as n, E as t } from "./index-DNgD0eLG.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-zpZt3czS.js.map
44
+ //# sourceMappingURL=SupportRoute-j8wujhND.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SupportRoute-zpZt3czS.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;"}
1
+ {"version":3,"file":"SupportRoute-j8wujhND.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;"}
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as a, Fragment as n } from "react/jsx-runtime";
2
- import { u as i, E as l, S as c, B as C, H as m } from "./index-CaRziUeA.js";
2
+ import { u as i, E as l, S as c, B as C, H as m } from "./index-DNgD0eLG.js";
3
3
  import * as o from "react";
4
4
  function L(t, e = "Assertion error") {
5
5
  if (!t)
@@ -51,4 +51,4 @@ function f() {
51
51
  export {
52
52
  f as default
53
53
  };
54
- //# sourceMappingURL=VersionsRoute-BLU7VqAE.js.map
54
+ //# sourceMappingURL=VersionsRoute-CkxkYbvJ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VersionsRoute-BLU7VqAE.js","sources":["../scripts/utils/assert.ts","../public/svgs/globe.svg?react","../lib/components/app/components/VersionLink.tsx","../lib/components/app/routes/VersionsRoute.tsx"],"sourcesContent":["export function assert(\n expectedCondition: unknown,\n message: string = \"Assertion error\"\n): asserts expectedCondition {\n if (!expectedCondition) {\n console.error(message);\n\n throw Error(message);\n }\n}\n","import * as React from \"react\";\nconst SvgGlobe = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 640 640\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\" }));\nexport default SvgGlobe;\n","import GlobeIcon from \"../../../../public/svgs/globe.svg?react\";\nimport TagsIcon from \"../../../../public/svgs/tags.svg?react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { ExternalLink } from \"../../ExternalLink\";\n\nexport function VersionLink({\n url,\n version\n}: {\n url: string;\n version: string;\n}) {\n const { packageName } = useLibraryContext();\n\n return (\n <li className=\"list-disc\">\n {version.split(\".\").slice(0, 1).join(\".\")}\n <span className=\"text-slate-400\">.x</span>\n {url && (\n <ExternalLink\n aria-label={`Documentation for version ${version}`}\n className=\"ml-4\"\n href={url}\n >\n <GlobeIcon className=\"inline w-4 h-4 text-teal-200\" /> documentation\n </ExternalLink>\n )}\n <ExternalLink\n aria-label={`GitHub tag for version ${version}`}\n className=\"ml-4\"\n href={`https://github.com/bvaughn/${packageName}/releases/tag/${version}`}\n >\n <TagsIcon className=\"inline w-4 h-4 text-teal-200\" /> source code\n </ExternalLink>\n </li>\n );\n}\n","import { Fragment } from \"react/jsx-runtime\";\nimport { assert } from \"../../../../scripts/utils/assert\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { VersionLink } from \"../components/VersionLink\";\n\n// Major versions only\n\nexport default function VersionsRoute() {\n const { versions } = useLibraryContext();\n assert(versions !== undefined);\n\n return (\n <Box direction=\"column\" gap={2}>\n <Header title=\"Previous releases\" />\n <div>Click below to view documentation for past releases.</div>\n <ul className=\"pl-8\">\n {Object.entries(versions)\n .sort((a, b) => b[0].localeCompare(a[0]))\n .map(([version, url]) => (\n <Fragment key={version}>\n <VersionLink key={version} url={url} version={version} />\n </Fragment>\n ))}\n </ul>\n </Box>\n );\n}\n"],"names":["assert","expectedCondition","message","SvgGlobe","props","React","VersionLink","url","version","packageName","useLibraryContext","jsxs","jsx","ExternalLink","GlobeIcon","TagsIcon","VersionsRoute","versions","Box","Header","a","b","Fragment"],"mappings":";;;AAAO,SAASA,EACdC,GACAC,IAAkB,mBACS;AAC3B,MAAI,CAACD;AACH,kBAAQ,MAAMC,CAAO,GAEf,MAAMA,CAAO;AAEvB;ACRA,MAAMC,IAAW,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,eAAe,MAAM,gBAAgB,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,ytCAAwtC,CAAE,CAAC;ACI76C,SAASC,EAAY;AAAA,EAC1B,KAAAC;AAAA,EACA,SAAAC;AACF,GAGG;AACD,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA;AAExB,SACE,gBAAAC,EAAC,MAAA,EAAG,WAAU,aACX,UAAA;AAAA,IAAAH,EAAQ,MAAM,GAAG,EAAE,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG;AAAA,IACxC,gBAAAI,EAAC,QAAA,EAAK,WAAU,kBAAiB,UAAA,MAAE;AAAA,IAClCL,KACC,gBAAAI;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,cAAY,6BAA6BL,CAAO;AAAA,QAChD,WAAU;AAAA,QACV,MAAMD;AAAA,QAEN,UAAA;AAAA,UAAA,gBAAAK,EAACE,GAAA,EAAU,WAAU,+BAAA,CAA+B;AAAA,UAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAG1D,gBAAAH;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,cAAY,0BAA0BL,CAAO;AAAA,QAC7C,WAAU;AAAA,QACV,MAAM,8BAA8BC,CAAW,iBAAiBD,CAAO;AAAA,QAEvE,UAAA;AAAA,UAAA,gBAAAI,EAACG,GAAA,EAAS,WAAU,+BAAA,CAA+B;AAAA,UAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACvD,GACF;AAEJ;AC3BA,SAAwBC,IAAgB;AACtC,QAAM,EAAE,UAAAC,EAAA,IAAaP,EAAA;AACrB,SAAAV,EAAOiB,MAAa,MAAS,GAG3B,gBAAAN,EAACO,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAN,EAACO,GAAA,EAAO,OAAM,oBAAA,CAAoB;AAAA,IAClC,gBAAAP,EAAC,SAAI,UAAA,uDAAA,CAAoD;AAAA,sBACxD,MAAA,EAAG,WAAU,QACX,UAAA,OAAO,QAAQK,CAAQ,EACrB,KAAK,CAACG,GAAGC,MAAMA,EAAE,CAAC,EAAE,cAAcD,EAAE,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,CAACZ,GAASD,CAAG,MACjB,gBAAAK,EAACU,GAAA,EACC,UAAA,gBAAAV,EAACN,KAA0B,KAAAC,GAAU,SAAAC,EAAA,GAAnBA,CAAqC,EAAA,GAD1CA,CAEf,CACD,EAAA,CACL;AAAA,EAAA,GACF;AAEJ;"}
1
+ {"version":3,"file":"VersionsRoute-CkxkYbvJ.js","sources":["../scripts/utils/assert.ts","../public/svgs/globe.svg?react","../lib/components/app/components/VersionLink.tsx","../lib/components/app/routes/VersionsRoute.tsx"],"sourcesContent":["export function assert(\n expectedCondition: unknown,\n message: string = \"Assertion error\"\n): asserts expectedCondition {\n if (!expectedCondition) {\n console.error(message);\n\n throw Error(message);\n }\n}\n","import * as React from \"react\";\nconst SvgGlobe = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 640 640\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\" }));\nexport default SvgGlobe;\n","import GlobeIcon from \"../../../../public/svgs/globe.svg?react\";\nimport TagsIcon from \"../../../../public/svgs/tags.svg?react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { ExternalLink } from \"../../ExternalLink\";\n\nexport function VersionLink({\n url,\n version\n}: {\n url: string;\n version: string;\n}) {\n const { packageName } = useLibraryContext();\n\n return (\n <li className=\"list-disc\">\n {version.split(\".\").slice(0, 1).join(\".\")}\n <span className=\"text-slate-400\">.x</span>\n {url && (\n <ExternalLink\n aria-label={`Documentation for version ${version}`}\n className=\"ml-4\"\n href={url}\n >\n <GlobeIcon className=\"inline w-4 h-4 text-teal-200\" /> documentation\n </ExternalLink>\n )}\n <ExternalLink\n aria-label={`GitHub tag for version ${version}`}\n className=\"ml-4\"\n href={`https://github.com/bvaughn/${packageName}/releases/tag/${version}`}\n >\n <TagsIcon className=\"inline w-4 h-4 text-teal-200\" /> source code\n </ExternalLink>\n </li>\n );\n}\n","import { Fragment } from \"react/jsx-runtime\";\nimport { assert } from \"../../../../scripts/utils/assert\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { VersionLink } from \"../components/VersionLink\";\n\n// Major versions only\n\nexport default function VersionsRoute() {\n const { versions } = useLibraryContext();\n assert(versions !== undefined);\n\n return (\n <Box direction=\"column\" gap={2}>\n <Header title=\"Previous releases\" />\n <div>Click below to view documentation for past releases.</div>\n <ul className=\"pl-8\">\n {Object.entries(versions)\n .sort((a, b) => b[0].localeCompare(a[0]))\n .map(([version, url]) => (\n <Fragment key={version}>\n <VersionLink key={version} url={url} version={version} />\n </Fragment>\n ))}\n </ul>\n </Box>\n );\n}\n"],"names":["assert","expectedCondition","message","SvgGlobe","props","React","VersionLink","url","version","packageName","useLibraryContext","jsxs","jsx","ExternalLink","GlobeIcon","TagsIcon","VersionsRoute","versions","Box","Header","a","b","Fragment"],"mappings":";;;AAAO,SAASA,EACdC,GACAC,IAAkB,mBACS;AAC3B,MAAI,CAACD;AACH,kBAAQ,MAAMC,CAAO,GAEf,MAAMA,CAAO;AAEvB;ACRA,MAAMC,IAAW,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,eAAe,MAAM,gBAAgB,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,ytCAAwtC,CAAE,CAAC;ACI76C,SAASC,EAAY;AAAA,EAC1B,KAAAC;AAAA,EACA,SAAAC;AACF,GAGG;AACD,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA;AAExB,SACE,gBAAAC,EAAC,MAAA,EAAG,WAAU,aACX,UAAA;AAAA,IAAAH,EAAQ,MAAM,GAAG,EAAE,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG;AAAA,IACxC,gBAAAI,EAAC,QAAA,EAAK,WAAU,kBAAiB,UAAA,MAAE;AAAA,IAClCL,KACC,gBAAAI;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,cAAY,6BAA6BL,CAAO;AAAA,QAChD,WAAU;AAAA,QACV,MAAMD;AAAA,QAEN,UAAA;AAAA,UAAA,gBAAAK,EAACE,GAAA,EAAU,WAAU,+BAAA,CAA+B;AAAA,UAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAG1D,gBAAAH;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,cAAY,0BAA0BL,CAAO;AAAA,QAC7C,WAAU;AAAA,QACV,MAAM,8BAA8BC,CAAW,iBAAiBD,CAAO;AAAA,QAEvE,UAAA;AAAA,UAAA,gBAAAI,EAACG,GAAA,EAAS,WAAU,+BAAA,CAA+B;AAAA,UAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACvD,GACF;AAEJ;AC3BA,SAAwBC,IAAgB;AACtC,QAAM,EAAE,UAAAC,EAAA,IAAaP,EAAA;AACrB,SAAAV,EAAOiB,MAAa,MAAS,GAG3B,gBAAAN,EAACO,GAAA,EAAI,WAAU,UAAS,KAAK,GAC3B,UAAA;AAAA,IAAA,gBAAAN,EAACO,GAAA,EAAO,OAAM,oBAAA,CAAoB;AAAA,IAClC,gBAAAP,EAAC,SAAI,UAAA,uDAAA,CAAoD;AAAA,sBACxD,MAAA,EAAG,WAAU,QACX,UAAA,OAAO,QAAQK,CAAQ,EACrB,KAAK,CAACG,GAAGC,MAAMA,EAAE,CAAC,EAAE,cAAcD,EAAE,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,CAACZ,GAASD,CAAG,MACjB,gBAAAK,EAACU,GAAA,EACC,UAAA,gBAAAV,EAACN,KAA0B,KAAAC,GAAU,SAAAC,EAAA,GAAnBA,CAAqC,EAAA,GAD1CA,CAEf,CACD,EAAA,CACL;AAAA,EAAA,GACF;AAEJ;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),n=require("./index-CN7E-dGv.cjs"),l=require("react");function i(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const o=i(l);function c(t,e="Assertion error"){if(!t)throw console.error(e),Error(e)}const u=t=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",...t},o.createElement("path",{d:"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z"}));function C({url:t,version:e}){const{packageName:s}=n.useLibraryContext();return r.jsxs("li",{className:"list-disc",children:[e.split(".").slice(0,1).join("."),r.jsx("span",{className:"text-slate-400",children:".x"}),t&&r.jsxs(n.ExternalLink,{"aria-label":`Documentation for version ${e}`,className:"ml-4",href:t,children:[r.jsx(u,{className:"inline w-4 h-4 text-teal-200"})," documentation"]}),r.jsxs(n.ExternalLink,{"aria-label":`GitHub tag for version ${e}`,className:"ml-4",href:`https://github.com/bvaughn/${s}/releases/tag/${e}`,children:[r.jsx(n.SvgTags,{className:"inline w-4 h-4 text-teal-200"})," source code"]})]})}function d(){const{versions:t}=n.useLibraryContext();return c(t!==void 0),r.jsxs(n.Box,{direction:"column",gap:2,children:[r.jsx(n.Header,{title:"Previous releases"}),r.jsx("div",{children:"Click below to view documentation for past releases."}),r.jsx("ul",{className:"pl-8",children:Object.entries(t).sort((e,s)=>s[0].localeCompare(e[0])).map(([e,s])=>r.jsx(r.Fragment,{children:r.jsx(C,{url:s,version:e},e)},e))})]})}exports.default=d;
2
- //# sourceMappingURL=VersionsRoute-D9AdJV3q.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),n=require("./index-xGmhhL7J.cjs"),l=require("react");function i(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const o=i(l);function c(t,e="Assertion error"){if(!t)throw console.error(e),Error(e)}const u=t=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",...t},o.createElement("path",{d:"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z"}));function C({url:t,version:e}){const{packageName:s}=n.useLibraryContext();return r.jsxs("li",{className:"list-disc",children:[e.split(".").slice(0,1).join("."),r.jsx("span",{className:"text-slate-400",children:".x"}),t&&r.jsxs(n.ExternalLink,{"aria-label":`Documentation for version ${e}`,className:"ml-4",href:t,children:[r.jsx(u,{className:"inline w-4 h-4 text-teal-200"})," documentation"]}),r.jsxs(n.ExternalLink,{"aria-label":`GitHub tag for version ${e}`,className:"ml-4",href:`https://github.com/bvaughn/${s}/releases/tag/${e}`,children:[r.jsx(n.SvgTags,{className:"inline w-4 h-4 text-teal-200"})," source code"]})]})}function d(){const{versions:t}=n.useLibraryContext();return c(t!==void 0),r.jsxs(n.Box,{direction:"column",gap:2,children:[r.jsx(n.Header,{title:"Previous releases"}),r.jsx("div",{children:"Click below to view documentation for past releases."}),r.jsx("ul",{className:"pl-8",children:Object.entries(t).sort((e,s)=>s[0].localeCompare(e[0])).map(([e,s])=>r.jsx(r.Fragment,{children:r.jsx(C,{url:s,version:e},e)},e))})]})}exports.default=d;
2
+ //# sourceMappingURL=VersionsRoute-Cn5yBpXh.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"VersionsRoute-D9AdJV3q.cjs","sources":["../scripts/utils/assert.ts","../public/svgs/globe.svg?react","../lib/components/app/components/VersionLink.tsx","../lib/components/app/routes/VersionsRoute.tsx"],"sourcesContent":["export function assert(\n expectedCondition: unknown,\n message: string = \"Assertion error\"\n): asserts expectedCondition {\n if (!expectedCondition) {\n console.error(message);\n\n throw Error(message);\n }\n}\n","import * as React from \"react\";\nconst SvgGlobe = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 640 640\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\" }));\nexport default SvgGlobe;\n","import GlobeIcon from \"../../../../public/svgs/globe.svg?react\";\nimport TagsIcon from \"../../../../public/svgs/tags.svg?react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { ExternalLink } from \"../../ExternalLink\";\n\nexport function VersionLink({\n url,\n version\n}: {\n url: string;\n version: string;\n}) {\n const { packageName } = useLibraryContext();\n\n return (\n <li className=\"list-disc\">\n {version.split(\".\").slice(0, 1).join(\".\")}\n <span className=\"text-slate-400\">.x</span>\n {url && (\n <ExternalLink\n aria-label={`Documentation for version ${version}`}\n className=\"ml-4\"\n href={url}\n >\n <GlobeIcon className=\"inline w-4 h-4 text-teal-200\" /> documentation\n </ExternalLink>\n )}\n <ExternalLink\n aria-label={`GitHub tag for version ${version}`}\n className=\"ml-4\"\n href={`https://github.com/bvaughn/${packageName}/releases/tag/${version}`}\n >\n <TagsIcon className=\"inline w-4 h-4 text-teal-200\" /> source code\n </ExternalLink>\n </li>\n );\n}\n","import { Fragment } from \"react/jsx-runtime\";\nimport { assert } from \"../../../../scripts/utils/assert\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { VersionLink } from \"../components/VersionLink\";\n\n// Major versions only\n\nexport default function VersionsRoute() {\n const { versions } = useLibraryContext();\n assert(versions !== undefined);\n\n return (\n <Box direction=\"column\" gap={2}>\n <Header title=\"Previous releases\" />\n <div>Click below to view documentation for past releases.</div>\n <ul className=\"pl-8\">\n {Object.entries(versions)\n .sort((a, b) => b[0].localeCompare(a[0]))\n .map(([version, url]) => (\n <Fragment key={version}>\n <VersionLink key={version} url={url} version={version} />\n </Fragment>\n ))}\n </ul>\n </Box>\n );\n}\n"],"names":["assert","expectedCondition","message","SvgGlobe","props","React","VersionLink","url","version","packageName","useLibraryContext","jsxs","jsx","ExternalLink","GlobeIcon","TagsIcon","VersionsRoute","versions","Box","Header","a","b","Fragment"],"mappings":"ocAAO,SAASA,EACdC,EACAC,EAAkB,kBACS,CAC3B,GAAI,CAACD,EACH,cAAQ,MAAMC,CAAO,EAEf,MAAMA,CAAO,CAEvB,CCRA,MAAMC,EAAYC,GAA0BC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,QAAS,cAAe,KAAM,eAAgB,GAAGD,CAAK,EAAoBC,EAAM,cAAc,OAAQ,CAAE,EAAG,wtCAAwtC,CAAE,CAAC,ECI76C,SAASC,EAAY,CAC1B,IAAAC,EACA,QAAAC,CACF,EAGG,CACD,KAAM,CAAE,YAAAC,CAAA,EAAgBC,oBAAA,EAExB,OACEC,EAAAA,KAAC,KAAA,CAAG,UAAU,YACX,SAAA,CAAAH,EAAQ,MAAM,GAAG,EAAE,MAAM,EAAG,CAAC,EAAE,KAAK,GAAG,EACxCI,EAAAA,IAAC,OAAA,CAAK,UAAU,iBAAiB,SAAA,KAAE,EAClCL,GACCI,EAAAA,KAACE,EAAAA,aAAA,CACC,aAAY,6BAA6BL,CAAO,GAChD,UAAU,OACV,KAAMD,EAEN,SAAA,CAAAK,EAAAA,IAACE,EAAA,CAAU,UAAU,8BAAA,CAA+B,EAAE,gBAAA,CAAA,CAAA,EAG1DH,EAAAA,KAACE,EAAAA,aAAA,CACC,aAAY,0BAA0BL,CAAO,GAC7C,UAAU,OACV,KAAM,8BAA8BC,CAAW,iBAAiBD,CAAO,GAEvE,SAAA,CAAAI,EAAAA,IAACG,EAAAA,QAAA,CAAS,UAAU,8BAAA,CAA+B,EAAE,cAAA,CAAA,CAAA,CACvD,EACF,CAEJ,CC3BA,SAAwBC,GAAgB,CACtC,KAAM,CAAE,SAAAC,CAAA,EAAaP,oBAAA,EACrB,OAAAV,EAAOiB,IAAa,MAAS,EAG3BN,EAAAA,KAACO,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAN,EAAAA,IAACO,EAAAA,OAAA,CAAO,MAAM,mBAAA,CAAoB,EAClCP,EAAAA,IAAC,OAAI,SAAA,sDAAA,CAAoD,QACxD,KAAA,CAAG,UAAU,OACX,SAAA,OAAO,QAAQK,CAAQ,EACrB,KAAK,CAACG,EAAGC,IAAMA,EAAE,CAAC,EAAE,cAAcD,EAAE,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,CAACZ,EAASD,CAAG,IACjBK,EAAAA,IAACU,EAAAA,SAAA,CACC,SAAAV,EAAAA,IAACN,GAA0B,IAAAC,EAAU,QAAAC,CAAA,EAAnBA,CAAqC,CAAA,EAD1CA,CAEf,CACD,CAAA,CACL,CAAA,EACF,CAEJ"}
1
+ {"version":3,"file":"VersionsRoute-Cn5yBpXh.cjs","sources":["../scripts/utils/assert.ts","../public/svgs/globe.svg?react","../lib/components/app/components/VersionLink.tsx","../lib/components/app/routes/VersionsRoute.tsx"],"sourcesContent":["export function assert(\n expectedCondition: unknown,\n message: string = \"Assertion error\"\n): asserts expectedCondition {\n if (!expectedCondition) {\n console.error(message);\n\n throw Error(message);\n }\n}\n","import * as React from \"react\";\nconst SvgGlobe = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 640 640\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M119.7 263.7L150.6 294.6C156.6 300.6 164.7 304 173.2 304L194.7 304C203.2 304 211.3 307.4 217.3 313.4L246.6 342.7C252.6 348.7 256 356.8 256 365.3L256 402.8C256 411.3 259.4 419.4 265.4 425.4L278.7 438.7C284.7 444.7 288.1 452.8 288.1 461.3L288.1 480C288.1 497.7 302.4 512 320.1 512C337.8 512 352.1 497.7 352.1 480L352.1 477.3C352.1 468.8 355.5 460.7 361.5 454.7L406.8 409.4C412.8 403.4 416.2 395.3 416.2 386.8L416.2 352.1C416.2 334.4 401.9 320.1 384.2 320.1L301.5 320.1C293 320.1 284.9 316.7 278.9 310.7L262.9 294.7C258.7 290.5 256.3 284.7 256.3 278.7C256.3 266.2 266.4 256.1 278.9 256.1L313.6 256.1C326.1 256.1 336.2 246 336.2 233.5C336.2 227.5 333.8 221.7 329.6 217.5L309.9 197.8C306 194 304 189.1 304 184C304 178.9 306 174 309.7 170.3L327 153C332.8 147.2 336.1 139.3 336.1 131.1C336.1 123.9 333.7 117.4 329.7 112.2C326.5 112.1 323.3 112 320.1 112C224.7 112 144.4 176.2 119.8 263.7zM528 320C528 285.4 519.6 252.8 504.6 224.2C498.2 225.1 491.9 228.1 486.7 233.3L473.3 246.7C467.3 252.7 463.9 260.8 463.9 269.3L463.9 304C463.9 321.7 478.2 336 495.9 336L520 336C522.5 336 525 335.7 527.3 335.2C527.7 330.2 527.8 325.1 527.8 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\" }));\nexport default SvgGlobe;\n","import GlobeIcon from \"../../../../public/svgs/globe.svg?react\";\nimport TagsIcon from \"../../../../public/svgs/tags.svg?react\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { ExternalLink } from \"../../ExternalLink\";\n\nexport function VersionLink({\n url,\n version\n}: {\n url: string;\n version: string;\n}) {\n const { packageName } = useLibraryContext();\n\n return (\n <li className=\"list-disc\">\n {version.split(\".\").slice(0, 1).join(\".\")}\n <span className=\"text-slate-400\">.x</span>\n {url && (\n <ExternalLink\n aria-label={`Documentation for version ${version}`}\n className=\"ml-4\"\n href={url}\n >\n <GlobeIcon className=\"inline w-4 h-4 text-teal-200\" /> documentation\n </ExternalLink>\n )}\n <ExternalLink\n aria-label={`GitHub tag for version ${version}`}\n className=\"ml-4\"\n href={`https://github.com/bvaughn/${packageName}/releases/tag/${version}`}\n >\n <TagsIcon className=\"inline w-4 h-4 text-teal-200\" /> source code\n </ExternalLink>\n </li>\n );\n}\n","import { Fragment } from \"react/jsx-runtime\";\nimport { assert } from \"../../../../scripts/utils/assert\";\nimport { useLibraryContext } from \"../../../hooks/useLibraryContext\";\nimport { Box } from \"../../Box\";\nimport { Header } from \"../../Header\";\nimport { VersionLink } from \"../components/VersionLink\";\n\n// Major versions only\n\nexport default function VersionsRoute() {\n const { versions } = useLibraryContext();\n assert(versions !== undefined);\n\n return (\n <Box direction=\"column\" gap={2}>\n <Header title=\"Previous releases\" />\n <div>Click below to view documentation for past releases.</div>\n <ul className=\"pl-8\">\n {Object.entries(versions)\n .sort((a, b) => b[0].localeCompare(a[0]))\n .map(([version, url]) => (\n <Fragment key={version}>\n <VersionLink key={version} url={url} version={version} />\n </Fragment>\n ))}\n </ul>\n </Box>\n );\n}\n"],"names":["assert","expectedCondition","message","SvgGlobe","props","React","VersionLink","url","version","packageName","useLibraryContext","jsxs","jsx","ExternalLink","GlobeIcon","TagsIcon","VersionsRoute","versions","Box","Header","a","b","Fragment"],"mappings":"ocAAO,SAASA,EACdC,EACAC,EAAkB,kBACS,CAC3B,GAAI,CAACD,EACH,cAAQ,MAAMC,CAAO,EAEf,MAAMA,CAAO,CAEvB,CCRA,MAAMC,EAAYC,GAA0BC,EAAM,cAAc,MAAO,CAAE,MAAO,6BAA8B,QAAS,cAAe,KAAM,eAAgB,GAAGD,CAAK,EAAoBC,EAAM,cAAc,OAAQ,CAAE,EAAG,wtCAAwtC,CAAE,CAAC,ECI76C,SAASC,EAAY,CAC1B,IAAAC,EACA,QAAAC,CACF,EAGG,CACD,KAAM,CAAE,YAAAC,CAAA,EAAgBC,oBAAA,EAExB,OACEC,EAAAA,KAAC,KAAA,CAAG,UAAU,YACX,SAAA,CAAAH,EAAQ,MAAM,GAAG,EAAE,MAAM,EAAG,CAAC,EAAE,KAAK,GAAG,EACxCI,EAAAA,IAAC,OAAA,CAAK,UAAU,iBAAiB,SAAA,KAAE,EAClCL,GACCI,EAAAA,KAACE,EAAAA,aAAA,CACC,aAAY,6BAA6BL,CAAO,GAChD,UAAU,OACV,KAAMD,EAEN,SAAA,CAAAK,EAAAA,IAACE,EAAA,CAAU,UAAU,8BAAA,CAA+B,EAAE,gBAAA,CAAA,CAAA,EAG1DH,EAAAA,KAACE,EAAAA,aAAA,CACC,aAAY,0BAA0BL,CAAO,GAC7C,UAAU,OACV,KAAM,8BAA8BC,CAAW,iBAAiBD,CAAO,GAEvE,SAAA,CAAAI,EAAAA,IAACG,EAAAA,QAAA,CAAS,UAAU,8BAAA,CAA+B,EAAE,cAAA,CAAA,CAAA,CACvD,EACF,CAEJ,CC3BA,SAAwBC,GAAgB,CACtC,KAAM,CAAE,SAAAC,CAAA,EAAaP,oBAAA,EACrB,OAAAV,EAAOiB,IAAa,MAAS,EAG3BN,EAAAA,KAACO,EAAAA,IAAA,CAAI,UAAU,SAAS,IAAK,EAC3B,SAAA,CAAAN,EAAAA,IAACO,EAAAA,OAAA,CAAO,MAAM,mBAAA,CAAoB,EAClCP,EAAAA,IAAC,OAAI,SAAA,sDAAA,CAAoD,QACxD,KAAA,CAAG,UAAU,OACX,SAAA,OAAO,QAAQK,CAAQ,EACrB,KAAK,CAACG,EAAGC,IAAMA,EAAE,CAAC,EAAE,cAAcD,EAAE,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,CAACZ,EAASD,CAAG,IACjBK,EAAAA,IAACU,EAAAA,SAAA,CACC,SAAAV,EAAAA,IAACN,GAA0B,IAAAC,EAAU,QAAAC,CAAA,EAAnBA,CAAqC,CAAA,EAD1CA,CAEf,CACD,CAAA,CACL,CAAA,EACF,CAEJ"}
@@ -9797,43 +9797,45 @@ function Wa({
9797
9797
  commonQuestions: t,
9798
9798
  overview: n,
9799
9799
  packageDescription: r,
9800
- packageName: o,
9801
- repositoryUrl: i,
9802
- showOpenCollectLink: l,
9803
- versions: a
9800
+ packageLogo: o,
9801
+ packageName: i,
9802
+ repositoryUrl: l,
9803
+ showOpenCollectLink: a,
9804
+ versions: s
9804
9805
  }) {
9805
- const [s, c] = J({
9806
+ const [c, u] = J({
9806
9807
  isNavVisible: !1,
9807
9808
  isSiteSearchVisible: !1
9808
- }), u = Z(
9809
- (d) => c(
9810
- (h) => h.isNavVisible === d ? h : {
9811
- ...h,
9812
- isNavVisible: d
9809
+ }), f = Z(
9810
+ (h) => u(
9811
+ (g) => g.isNavVisible === h ? g : {
9812
+ ...g,
9813
+ isNavVisible: h
9813
9814
  }
9814
9815
  ),
9815
9816
  []
9816
- ), f = Z(
9817
- (d) => c(
9818
- (h) => h.isSiteSearchVisible === d ? h : {
9819
- ...h,
9820
- isSiteSearchVisible: d
9817
+ ), p = Z(
9818
+ (h) => u(
9819
+ (g) => g.isSiteSearchVisible === h ? g : {
9820
+ ...g,
9821
+ isSiteSearchVisible: h
9821
9822
  }
9822
9823
  ),
9823
9824
  []
9824
- ), p = ce(
9825
+ ), d = ce(
9825
9826
  () => ({
9826
9827
  commonQuestions: t,
9827
- isNavVisible: s.isNavVisible,
9828
- isSiteSearchVisible: s.isSiteSearchVisible,
9828
+ isNavVisible: c.isNavVisible,
9829
+ isSiteSearchVisible: c.isSiteSearchVisible,
9829
9830
  overview: n,
9830
9831
  packageDescription: r,
9831
- packageName: o,
9832
- repositoryUrl: i.replace(".git", ""),
9833
- setIsNavVisible: u,
9834
- setIsSiteSearchVisible: f,
9835
- showOpenCollectLink: !!l,
9836
- versions: a
9832
+ packageLogo: o,
9833
+ packageName: i,
9834
+ repositoryUrl: l.replace(".git", ""),
9835
+ setIsNavVisible: f,
9836
+ setIsSiteSearchVisible: p,
9837
+ showOpenCollectLink: !!a,
9838
+ versions: s
9837
9839
  }),
9838
9840
  [
9839
9841
  t,
@@ -9841,15 +9843,16 @@ function Wa({
9841
9843
  r,
9842
9844
  o,
9843
9845
  i,
9844
- u,
9845
- f,
9846
9846
  l,
9847
- s.isNavVisible,
9848
- s.isSiteSearchVisible,
9849
- a
9847
+ f,
9848
+ p,
9849
+ a,
9850
+ c.isNavVisible,
9851
+ c.isSiteSearchVisible,
9852
+ s
9850
9853
  ]
9851
9854
  );
9852
- return /* @__PURE__ */ R(Qi.Provider, { children: e, value: p });
9855
+ return /* @__PURE__ */ R(Qi.Provider, { children: e, value: d });
9853
9856
  }
9854
9857
  Wa.displayName = "LibraryContextProvider";
9855
9858
  function mg() {
@@ -9868,11 +9871,11 @@ function mg() {
9868
9871
  }, [n, e, t]), null;
9869
9872
  }
9870
9873
  const pg = {
9871
- "*": Mt(() => import("./PageNotFound-DFuJVroY.js")),
9872
- "/": Mt(() => import("./GettingStartedRoute-CdyG0b_M.js")),
9873
- "/common-questions": Mt(() => import("./CommonQuestionsRoute-B4oSkDKu.js")),
9874
- "/support": Mt(() => import("./SupportRoute-zpZt3czS.js")),
9875
- "/versions": Mt(() => import("./VersionsRoute-BLU7VqAE.js"))
9874
+ "*": Mt(() => import("./PageNotFound-vtP24O16.js")),
9875
+ "/": Mt(() => import("./GettingStartedRoute-lX9d7ftu.js")),
9876
+ "/common-questions": Mt(() => import("./CommonQuestionsRoute-cxDNMDTN.js")),
9877
+ "/support": Mt(() => import("./SupportRoute-j8wujhND.js")),
9878
+ "/versions": Mt(() => import("./VersionsRoute-CkxkYbvJ.js"))
9876
9879
  };
9877
9880
  function hg(e, t = 250) {
9878
9881
  const [n, r] = J(e);
@@ -10168,16 +10171,17 @@ function Sg({
10168
10171
  isNavVisible: r,
10169
10172
  isSiteSearchVisible: o,
10170
10173
  packageDescription: i,
10171
- packageName: l,
10172
- setIsNavVisible: a,
10173
- setIsSiteSearchVisible: s,
10174
- versions: c
10174
+ packageLogo: l,
10175
+ packageName: a,
10176
+ setIsNavVisible: s,
10177
+ setIsSiteSearchVisible: c,
10178
+ versions: u
10175
10179
  } = Ln();
10176
10180
  return /* @__PURE__ */ Y(Mc, { children: [
10177
10181
  /* @__PURE__ */ R(mg, {}),
10178
10182
  /* @__PURE__ */ Y("div", { className: "h-full w-full max-w-350 mx-auto flex flex-col", children: [
10179
10183
  /* @__PURE__ */ Y(Pe, { align: "center", className: "h-12 w-full p-4", direction: "row", gap: 4, children: [
10180
- /* @__PURE__ */ R(Uc, { className: "shrink-0 w-8 h-8" }),
10184
+ l ?? /* @__PURE__ */ R(Uc, { className: "shrink-0 w-8 h-8" }),
10181
10185
  /* @__PURE__ */ Y(
10182
10186
  Pe,
10183
10187
  {
@@ -10189,7 +10193,7 @@ function Sg({
10189
10193
  /* @__PURE__ */ R(
10190
10194
  qn,
10191
10195
  {
10192
- children: l,
10196
+ children: a,
10193
10197
  className: "text-xl text-header-package-name! font-bold cursor-pointer truncate",
10194
10198
  to: "/"
10195
10199
  }
@@ -10204,7 +10208,7 @@ function Sg({
10204
10208
  Pi,
10205
10209
  {
10206
10210
  isActive: o,
10207
- onClick: () => s(!o),
10211
+ onClick: () => c(!o),
10208
10212
  title: "Site search",
10209
10213
  children: /* @__PURE__ */ Y("div", { className: "h-8 flex items-center justify-center gap-1 px-2 rounded-full text-sm bg-black/40 hover:bg-black/60 transition-colors!", children: [
10210
10214
  /* @__PURE__ */ R(Ai, { className: "w-4 h-4" }),
@@ -10212,7 +10216,7 @@ function Sg({
10212
10216
  ] })
10213
10217
  }
10214
10218
  ),
10215
- c !== void 0 && /* @__PURE__ */ R(
10219
+ u !== void 0 && /* @__PURE__ */ R(
10216
10220
  wr,
10217
10221
  {
10218
10222
  ariaLabel: "Documentation for other versions",
@@ -10227,7 +10231,7 @@ function Sg({
10227
10231
  ariaLabel: "NPM project page",
10228
10232
  children: /* @__PURE__ */ R(zc, { className: "w-8 h-8" }),
10229
10233
  className: "hidden sm:block",
10230
- href: `https://www.npmjs.com/package/${l}`,
10234
+ href: `https://www.npmjs.com/package/${a}`,
10231
10235
  title: "NPM package"
10232
10236
  }
10233
10237
  ),
@@ -10237,7 +10241,7 @@ function Sg({
10237
10241
  ariaLabel: "GitHub project page",
10238
10242
  children: /* @__PURE__ */ R(Wc, { className: "w-6 h-6" }),
10239
10243
  className: "hidden sm:block",
10240
- href: `https://github.com/bvaughn/${l}`,
10244
+ href: `https://github.com/bvaughn/${a}`,
10241
10245
  title: "Source code"
10242
10246
  }
10243
10247
  ),
@@ -10247,7 +10251,7 @@ function Sg({
10247
10251
  ariaLabel: "Site navigation menu",
10248
10252
  className: "block md:hidden",
10249
10253
  isActive: r,
10250
- onClick: () => a(!r),
10254
+ onClick: () => s(!r),
10251
10255
  title: r ? "Hide menu" : "Show menu",
10252
10256
  children: r ? /* @__PURE__ */ R(bs, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" }) : /* @__PURE__ */ R(ls, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" })
10253
10257
  }
@@ -10281,13 +10285,13 @@ function Sg({
10281
10285
  children: /* @__PURE__ */ R(uc, { children: Object.entries({
10282
10286
  ...pg,
10283
10287
  ...n
10284
- }).map(([u, f]) => /* @__PURE__ */ R(
10288
+ }).map(([f, p]) => /* @__PURE__ */ R(
10285
10289
  Gi,
10286
10290
  {
10287
- element: /* @__PURE__ */ R(_a, { children: /* @__PURE__ */ R(f, {}) }, u),
10288
- path: u
10291
+ element: /* @__PURE__ */ R(_a, { children: /* @__PURE__ */ R(p, {}) }, f),
10292
+ path: f
10289
10293
  },
10290
- u
10294
+ f
10291
10295
  )) })
10292
10296
  }
10293
10297
  )
@@ -10696,4 +10700,4 @@ export {
10696
10700
  Jg as n,
10697
10701
  Ln as u
10698
10702
  };
10699
- //# sourceMappingURL=index-CaRziUeA.js.map
10703
+ //# sourceMappingURL=index-DNgD0eLG.js.map