@netfoundry/docusaurus-shared 0.0.168

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 (112) hide show
  1. package/dist/components/Alert/Alert.d.ts +8 -0
  2. package/dist/components/Alert/index.d.ts +2 -0
  3. package/dist/components/CodeBlock/CodeBlock.d.ts +9 -0
  4. package/dist/components/CodeBlock/index.d.ts +2 -0
  5. package/dist/components/Common/Common.d.ts +23 -0
  6. package/dist/components/Common/index.d.ts +1 -0
  7. package/dist/components/NetFoundry/Divider/Divider.d.ts +2 -0
  8. package/dist/components/NetFoundry/Divider/index.d.ts +1 -0
  9. package/dist/components/NetFoundry/index.d.ts +1 -0
  10. package/dist/components/NetFoundryFooter/NetFoundryFooter.d.ts +22 -0
  11. package/dist/components/NetFoundryFooter/index.d.ts +1 -0
  12. package/dist/components/NetFoundryHighlight/NetFoundryHighlight.d.ts +6 -0
  13. package/dist/components/NetFoundryHighlight/index.d.ts +2 -0
  14. package/dist/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.d.ts +8 -0
  15. package/dist/components/NetFoundryHorizontalSection/index.d.ts +2 -0
  16. package/dist/components/NetFoundryLayout/NetFoundryLayout.d.ts +29 -0
  17. package/dist/components/NetFoundryLayout/index.d.ts +1 -0
  18. package/dist/components/NetFoundryNavbarItems/NetFoundryNavbarItems.d.ts +9 -0
  19. package/dist/components/NetFoundryNavbarItems/index.d.ts +2 -0
  20. package/dist/components/OsTabs/OsTabs.d.ts +5 -0
  21. package/dist/components/OsTabs/index.d.ts +2 -0
  22. package/dist/components/StarUs/StarUs.d.ts +6 -0
  23. package/dist/components/StarUs/index.d.ts +2 -0
  24. package/dist/components/index.d.ts +11 -0
  25. package/dist/docusaurus-envhelper.d.ts +15 -0
  26. package/dist/docusaurus-plugins/index.d.ts +7 -0
  27. package/dist/docusaurus-plugins/logger.d.ts +12 -0
  28. package/dist/docusaurus-plugins/remarkCodeSections.d.ts +7 -0
  29. package/dist/docusaurus-plugins/remarkReplaceMetaUrl.d.ts +10 -0
  30. package/dist/docusaurus-plugins/remarkScopedPath.d.ts +12 -0
  31. package/dist/docusaurus-plugins/remarkYamlTable.d.ts +7 -0
  32. package/dist/docusaurus-plugins/remarkYouTube.d.ts +7 -0
  33. package/dist/docusaurus-plugins/timedPlugin.d.ts +5 -0
  34. package/dist/index.cjs +8 -0
  35. package/dist/index.cjs.map +1 -0
  36. package/dist/index.css +1 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.esm.js +6 -0
  39. package/dist/index.esm.js.map +1 -0
  40. package/dist/node.cjs +80 -0
  41. package/dist/node.cjs.map +1 -0
  42. package/dist/node.d.ts +1 -0
  43. package/dist/node.esm.js +68 -0
  44. package/dist/node.esm.js.map +1 -0
  45. package/dist/plugins.cjs +4643 -0
  46. package/dist/plugins.cjs.map +1 -0
  47. package/dist/plugins.d.ts +1 -0
  48. package/dist/plugins.esm.js +4634 -0
  49. package/dist/plugins.esm.js.map +1 -0
  50. package/dist/ui.cjs +1312 -0
  51. package/dist/ui.cjs.map +1 -0
  52. package/dist/ui.d.ts +2 -0
  53. package/dist/ui.esm.js +1284 -0
  54. package/dist/ui.esm.js.map +1 -0
  55. package/dist/version.cjs +6 -0
  56. package/dist/version.cjs.map +1 -0
  57. package/dist/version.d.ts +1 -0
  58. package/dist/version.esm.js +4 -0
  59. package/dist/version.esm.js.map +1 -0
  60. package/package.json +82 -0
  61. package/src/components/Alert/Alert.module.css +39 -0
  62. package/src/components/Alert/Alert.tsx +24 -0
  63. package/src/components/Alert/index.ts +2 -0
  64. package/src/components/CodeBlock/CodeBlock.module.css +27 -0
  65. package/src/components/CodeBlock/CodeBlock.tsx +32 -0
  66. package/src/components/CodeBlock/index.ts +2 -0
  67. package/src/components/Common/Common.module.css +0 -0
  68. package/src/components/Common/Common.tsx +53 -0
  69. package/src/components/Common/index.ts +1 -0
  70. package/src/components/NetFoundry/Divider/Divider.module.css +23 -0
  71. package/src/components/NetFoundry/Divider/Divider.tsx +20 -0
  72. package/src/components/NetFoundry/Divider/index.ts +1 -0
  73. package/src/components/NetFoundry/index.ts +1 -0
  74. package/src/components/NetFoundryFooter/NetFoundryFooter.tsx +164 -0
  75. package/src/components/NetFoundryFooter/index.ts +1 -0
  76. package/src/components/NetFoundryFooter/styles.module.css +99 -0
  77. package/src/components/NetFoundryHighlight/NetFoundryHighlight.tsx +15 -0
  78. package/src/components/NetFoundryHighlight/index.ts +2 -0
  79. package/src/components/NetFoundryHighlight/styles.module.css +26 -0
  80. package/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.tsx +23 -0
  81. package/src/components/NetFoundryHorizontalSection/index.ts +2 -0
  82. package/src/components/NetFoundryHorizontalSection/styles.module.css +23 -0
  83. package/src/components/NetFoundryLayout/NetFoundryLayout.module.css +6 -0
  84. package/src/components/NetFoundryLayout/NetFoundryLayout.tsx +110 -0
  85. package/src/components/NetFoundryLayout/index.ts +1 -0
  86. package/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.tsx +22 -0
  87. package/src/components/NetFoundryNavbarItems/index.ts +2 -0
  88. package/src/components/OsTabs/OsTabs.tsx +30 -0
  89. package/src/components/OsTabs/index.ts +2 -0
  90. package/src/components/StarUs/StarUs.tsx +19 -0
  91. package/src/components/StarUs/index.ts +2 -0
  92. package/src/components/StarUs/styles.module.css +6 -0
  93. package/src/components/index.ts +11 -0
  94. package/src/css/layout.css +14 -0
  95. package/src/css/legacy.css +2348 -0
  96. package/src/css/vars-dark.css +7 -0
  97. package/src/css/vars.css +8 -0
  98. package/src/docusaurus-envhelper.ts +105 -0
  99. package/src/docusaurus-plugins/index.ts +7 -0
  100. package/src/docusaurus-plugins/logger.ts +38 -0
  101. package/src/docusaurus-plugins/remarkCodeSections.ts +115 -0
  102. package/src/docusaurus-plugins/remarkReplaceMetaUrl.ts +35 -0
  103. package/src/docusaurus-plugins/remarkScopedPath.ts +70 -0
  104. package/src/docusaurus-plugins/remarkYamlTable.ts +83 -0
  105. package/src/docusaurus-plugins/remarkYouTube.ts +56 -0
  106. package/src/docusaurus-plugins/timedPlugin.ts +22 -0
  107. package/src/global.d.ts +1 -0
  108. package/src/index.ts +3 -0
  109. package/src/node.ts +1 -0
  110. package/src/plugins.ts +1 -0
  111. package/src/ui.ts +2 -0
  112. package/src/version.ts +1 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface AlertProps {
3
+ type?: 'info' | 'warning' | 'error' | 'success';
4
+ title?: string;
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ export declare const Alert: React.FC<AlertProps>;
@@ -0,0 +1,2 @@
1
+ export { Alert } from './Alert';
2
+ export type { AlertProps } from './Alert';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface CodeBlockProps {
3
+ children: string;
4
+ language?: string;
5
+ title?: string;
6
+ showLineNumbers?: boolean;
7
+ className?: string;
8
+ }
9
+ export declare const CodeBlock: React.FC<CodeBlockProps>;
@@ -0,0 +1,2 @@
1
+ export { CodeBlock } from './CodeBlock';
2
+ export type { CodeBlockProps } from './CodeBlock';
@@ -0,0 +1,23 @@
1
+ import React, { JSX } from 'react';
2
+ export interface H1Props {
3
+ children: React.ReactNode;
4
+ id?: string;
5
+ className?: string;
6
+ }
7
+ export interface H2Props {
8
+ children: React.ReactNode;
9
+ className?: string;
10
+ }
11
+ export interface H3Props {
12
+ children: React.ReactNode;
13
+ style?: React.CSSProperties;
14
+ className?: string;
15
+ }
16
+ export interface HighlightProps {
17
+ children: React.ReactNode;
18
+ className?: string;
19
+ }
20
+ export declare function H1(props: H1Props): JSX.Element;
21
+ export declare function H2(props: H2Props): JSX.Element;
22
+ export declare function H3(props: H3Props): JSX.Element;
23
+ export declare function Highlight(props: HighlightProps): JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Common';
@@ -0,0 +1,2 @@
1
+ import { JSX } from 'react';
2
+ export declare function Divider(): JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Divider';
@@ -0,0 +1 @@
1
+ export * from './Divider';
@@ -0,0 +1,22 @@
1
+ import React, { CSSProperties, ReactNode } from 'react';
2
+ export interface SocialProps {
3
+ twitterUrl?: string;
4
+ linkedInUrl?: string;
5
+ githubUrl?: string;
6
+ facebookUrl?: string;
7
+ instagramUrl?: string;
8
+ youtubeUrl?: string;
9
+ }
10
+ export declare const defaultSocialProps: SocialProps;
11
+ export type NetFoundryFooterProps = {
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ description?: string;
15
+ socialProps?: SocialProps;
16
+ documentationLinks?: React.ReactNode[];
17
+ communityLinks?: React.ReactNode[];
18
+ resourceLinks?: React.ReactNode[];
19
+ children?: ReactNode;
20
+ };
21
+ export declare function defaultNetFoundryFooterProps(overrides?: Partial<NetFoundryFooterProps>): NetFoundryFooterProps;
22
+ export declare function NetFoundryFooter(props: NetFoundryFooterProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './NetFoundryFooter';
@@ -0,0 +1,6 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+ export type NetFoundryHighlightProps = {
3
+ children?: ReactNode;
4
+ style?: CSSProperties;
5
+ };
6
+ export declare function NetFoundryHighlight(props: NetFoundryHighlightProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { NetFoundryHighlight } from './NetFoundryHighlight';
2
+ export type { NetFoundryHighlightProps } from './NetFoundryHighlight';
@@ -0,0 +1,8 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+ export type NetFoundryHorizontalSectionProps = {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ id?: string;
7
+ };
8
+ export declare function NetFoundryHorizontalSection(props: NetFoundryHorizontalSectionProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { NetFoundryHorizontalSection } from './NetFoundryHorizontalSection';
2
+ export type { NetFoundryHorizontalSectionProps } from './NetFoundryHorizontalSection';
@@ -0,0 +1,29 @@
1
+ import React, { JSX } from "react";
2
+ import { NetFoundryFooterProps } from "../NetFoundryFooter";
3
+ import { StarUsProps } from "../StarUs";
4
+ export interface MetaProps {
5
+ title?: string;
6
+ description?: string;
7
+ url?: string;
8
+ image?: string;
9
+ siteName?: string;
10
+ locale?: string;
11
+ twitterX?: {
12
+ card?: "summary" | "summary_large_image" | "player" | "app";
13
+ site?: string;
14
+ creator?: string;
15
+ imageAlt?: string;
16
+ };
17
+ }
18
+ export interface NetFoundryLayoutProps {
19
+ children: React.ReactNode;
20
+ noFooter?: boolean;
21
+ className?: string;
22
+ footerClassName?: string;
23
+ title?: string;
24
+ description?: string;
25
+ starProps?: StarUsProps;
26
+ footerProps?: NetFoundryFooterProps;
27
+ meta?: MetaProps;
28
+ }
29
+ export declare function NetFoundryLayout({ children, noFooter, className, title, description, starProps, footerProps, meta: metaInput, }: NetFoundryLayoutProps): JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './NetFoundryLayout';
@@ -0,0 +1,9 @@
1
+ export type NavbarItem = {
2
+ label: string;
3
+ href?: string;
4
+ to?: string;
5
+ type?: string;
6
+ position?: 'left' | 'right';
7
+ sidebarId?: string;
8
+ };
9
+ export declare const NavbarItems: NavbarItem[];
@@ -0,0 +1,2 @@
1
+ export type { NavbarItem } from './NetFoundryNavbarItems';
2
+ export { NavbarItems } from './NetFoundryNavbarItems';
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react';
2
+ import OriginalTabs from '@theme/Tabs';
3
+ import type { ComponentProps } from 'react';
4
+ export type OsTabsProps = ComponentProps<typeof OriginalTabs>;
5
+ export declare function OsTabs(props: OsTabsProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { OsTabs } from './OsTabs';
2
+ export type { OsTabsProps } from './OsTabs';
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export type StarUsProps = {
3
+ repoUrl?: string;
4
+ label?: string;
5
+ };
6
+ export default function StarUs({ repoUrl, label }: StarUsProps): ReactNode;
@@ -0,0 +1,2 @@
1
+ export { default as StarUs } from './StarUs';
2
+ export type { StarUsProps } from './StarUs';
@@ -0,0 +1,11 @@
1
+ export * from './Alert';
2
+ export * from './CodeBlock';
3
+ export * from './Common';
4
+ export * from './NetFoundry';
5
+ export * from './NetFoundryFooter';
6
+ export * from './NetFoundryHighlight';
7
+ export * from './NetFoundryHorizontalSection';
8
+ export * from './NetFoundryLayout';
9
+ export * from './NetFoundryNavbarItems';
10
+ export * from './OsTabs';
11
+ export * from './StarUs';
@@ -0,0 +1,15 @@
1
+ import type { LoadContext, Plugin } from '@docusaurus/types';
2
+ export declare const DOCUSAURUS_DEBUG: boolean;
3
+ export declare const DOCUSAURUS_URL: string;
4
+ export declare const DOCUSAURUS_BASE_PATH: string | undefined;
5
+ export declare const DOCUSAURUS_DOCS_PATH: string | undefined;
6
+ export declare const DOCUSAURUS_CANONICAL_DOMAIN: string | undefined;
7
+ export declare const hotjarId: string;
8
+ export declare function cleanUrl(path: string): string;
9
+ export declare function docUrl(base: string, path: string): string;
10
+ export declare function absoluteUrl(base: string, path: string): string;
11
+ export declare function addDocsRedir(base: string, redirectsArr: {
12
+ to: string;
13
+ from: string[];
14
+ }[]): void;
15
+ export declare function pluginHotjar(context: LoadContext): Plugin;
@@ -0,0 +1,7 @@
1
+ export * from './logger';
2
+ export * from './remarkYouTube';
3
+ export * from './remarkScopedPath';
4
+ export * from './remarkReplaceMetaUrl';
5
+ export * from './remarkCodeSections';
6
+ export * from './remarkYamlTable';
7
+ export * from './timedPlugin';
@@ -0,0 +1,12 @@
1
+ export declare enum LogLevel {
2
+ Silent = 0,
3
+ Info = 1,
4
+ Debug = 2
5
+ }
6
+ export declare class Logger {
7
+ private level;
8
+ private name;
9
+ constructor(level: LogLevel, name: string);
10
+ log(msg: unknown, level?: LogLevel): void;
11
+ }
12
+ export declare function resolveLogLevel(val: unknown): LogLevel;
@@ -0,0 +1,7 @@
1
+ import type { Plugin } from "unified";
2
+ import { LogLevel } from "./logger";
3
+ interface Options {
4
+ logLevel?: LogLevel;
5
+ }
6
+ export declare const remarkCodeSections: Plugin<[Options?]>;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ import { Plugin } from 'unified';
2
+ import { Root } from 'mdast';
3
+ import { LogLevel } from './logger';
4
+ interface Options {
5
+ from: string;
6
+ to: string;
7
+ logLevel?: LogLevel;
8
+ }
9
+ export declare const remarkReplaceMetaUrl: Plugin<[Options], Root>;
10
+ export default remarkReplaceMetaUrl;
@@ -0,0 +1,12 @@
1
+ import { Plugin } from 'unified';
2
+ import { LogLevel } from './logger';
3
+ interface ScopedPathOptions {
4
+ from: string;
5
+ to: string;
6
+ }
7
+ interface Options {
8
+ mappings: ScopedPathOptions[];
9
+ logLevel?: LogLevel;
10
+ }
11
+ export declare const remarkScopedPath: Plugin<[Options]>;
12
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Plugin } from 'unified';
2
+ import { LogLevel } from './logger';
3
+ interface Options {
4
+ logLevel?: LogLevel;
5
+ }
6
+ export declare const remarkYamlTable: Plugin<[Options]>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { Plugin } from 'unified';
2
+ import { LogLevel } from './logger';
3
+ interface YouTubeOptions {
4
+ logLevel?: LogLevel;
5
+ }
6
+ export declare const remarkYouTube: Plugin<[YouTubeOptions]>;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ import { Plugin } from "unified";
2
+ import { LogLevel } from './logger';
3
+ export declare function timedPlugin<T extends Plugin>(name: string, plugin: T, opts?: {
4
+ logLevel?: LogLevel;
5
+ }): T;
package/dist/index.cjs ADDED
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ // src/index.ts
4
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
5
+ var version = require('../package.json').version;
6
+
7
+ exports.version = version;
8
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["// src/index.ts\r\n// eslint-disable-next-line @typescript-eslint/no-var-requires\r\nexport const version: string = require('../package.json').version;\r\n"],"names":[],"mappings":";;AAAA;AACA;AACO,IAAM,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC;;;;"}
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ .Alert-module_alert__7cYyI{border-left:4px solid;border-radius:.5rem;margin:1rem 0;padding:1rem}.Alert-module_title__abGgF{font-weight:700;margin-bottom:.5rem}.Alert-module_content__UXnmZ{line-height:1.5}.Alert-module_info__9r3r1{background-color:#e3f2fd;border-color:#2196f3;color:#0d47a1}.Alert-module_warning__q-j1Q{background-color:#fff3e0;border-color:#ff9800;color:#e65100}.Alert-module_error__xKhJP{background-color:#ffebee;border-color:#f44336;color:#b71c1c}.Alert-module_success__1bzoB{background-color:#e8f5e8;border-color:#4caf50;color:#1b5e20}.NetFoundryLayout-module_ozLayoutMainWrapper__a2vwh{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.CodeBlock-module_codeBlock__lPhMf{border-radius:.5rem;margin:1rem 0;overflow:hidden}.CodeBlock-module_title__VmVhd{background-color:var(--ifm-code-background);border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:.875rem;font-weight:700;padding:.5rem 1rem}.CodeBlock-module_codeBlock__lPhMf pre{background-color:var(--ifm-code-background);font-size:.875rem;line-height:1.5;margin:0;padding:1rem}.CodeBlock-module_codeBlock__lPhMf code{background-color:transparent;font-family:var(--ifm-font-family-monospace);padding:0}.styles-module_ozHorizontalSectionRoot__QwWz0{align-items:center;background-color:var(--ifm-background-color);display:flex;flex-direction:column;flex-grow:1;max-width:var(--ziti-max-width);width:100%}.styles-module_ozhsContent__haNeV{display:flex;flex-direction:column;max-width:100%;padding:20px}@media (min-width:1420px){.styles-module_ozhsContent__haNeV{min-width:var(--ziti-max-width);width:100%}}.styles-module_starUsRoot__hMNZp{align-items:center;background:linear-gradient(90deg,#0068f9,#f4044d);display:flex;justify-content:center}.styles-module_ozFooter__vHkQA{--ziti-footer-background-color:#121a36;--ziti-footer-color:#aaa;--accent:#ccc;width:100%;.styles-module_ozFooterSection__R4xaU{align-items:center;background-color:var(--ifm-background-color);display:flex;flex-direction:column;flex-grow:1;width:100%}.styles-module_footer__Qk0iB{background-color:var(--ziti-footer-background-color);color:var(--ziti-footer-color);padding:var(--space-md) var(--space-md);width:100%}.styles-module_footerContainer__azQkg{align-content:center;gap:2rem;margin-bottom:1rem;max-width:var(--ziti-landing-max-width);width:100%}.styles-module_footerGrid__fsf9C{display:grid;gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.styles-module_footerColumn__tK2bv h3{color:var(--light);font-size:1.2rem;margin-bottom:1.5rem}.styles-module_footerLinks__eOmJ9{list-style:none}.styles-module_footerLinks__eOmJ9 li{margin-bottom:.75rem}.styles-module_footerLinks__eOmJ9 a{color:#aaa;transition:var(--transition)}.styles-module_footerLinks__eOmJ9 a:hover{color:var(--accent);text-decoration:underline}.styles-module_footerCopyright__nWyvc{border-top:1px solid #2a3552;font-size:.9rem;padding-top:2rem;text-align:center}.styles-module_footerSocialLinks__b1FcV{display:flex;gap:1rem;margin-top:1rem}.styles-module_footerSocialLink__iAElV{align-items:center;background-color:#2a3552;border-radius:50%;color:var(--light);display:inline-flex;height:36px;justify-content:center;transition:var(--transition);width:36px}.styles-module_footerSocialLink__iAElV:hover{background-color:var(--primary);transform:translateY(-3px)}@media (max-width:850px){.styles-module_footerGrid__fsf9C{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}}.Divider-module_onpremConnector__n-280{align-items:center;display:flex;gap:.75rem}.Divider-module_onpremDot__R4fNX{align-items:center;display:flex;justify-content:center}.Divider-module_onpremDot__R4fNX svg{color:#9aa4b2;height:24px;width:24px}.Divider-module_onpremLine__Z3xDQ{background:linear-gradient(90deg,#c8d0d9,#9aa4b2,#c8d0d9);flex:1;height:1px}
@@ -0,0 +1 @@
1
+ export declare const version: string;
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
3
+ var version = require('../package.json').version;
4
+
5
+ export { version };
6
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../src/index.ts"],"sourcesContent":["// src/index.ts\r\n// eslint-disable-next-line @typescript-eslint/no-var-requires\r\nexport const version: string = require('../package.json').version;\r\n"],"names":[],"mappings":"AAAA;AACA;AACO,IAAM,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC;;;;"}
package/dist/node.cjs ADDED
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ var g = typeof globalThis !== "undefined" ? globalThis : {};
4
+ var RUNTIME_ENV = (function () {
5
+ if (g.process && typeof g.process.env === "object")
6
+ return g.process.env;
7
+ if (g.__DOCUSAURUS_ENV__)
8
+ return g.__DOCUSAURUS_ENV__;
9
+ return {};
10
+ })();
11
+ var getEnv = function (k, d) { var _a; return ((_a = RUNTIME_ENV[k]) !== null && _a !== void 0 ? _a : d); };
12
+ var ORIGIN = getEnv("DOCUSAURUS_URL") ||
13
+ (typeof window !== "undefined" ? window.location.origin : "http://localhost");
14
+ var DOCUSAURUS_DEBUG = getEnv("DOCUSAURUS_DEBUG") === "true";
15
+ var DOCUSAURUS_URL = ORIGIN;
16
+ var DOCUSAURUS_BASE_PATH = getEnv("DOCUSAURUS_BASE_PATH", "/base-url");
17
+ var DOCUSAURUS_DOCS_PATH = getEnv("DOCUSAURUS_DOCS_PATH", "/docs-path");
18
+ var DOCUSAURUS_CANONICAL_DOMAIN = getEnv("DOCUSAURUS_CANONICAL_DOMAIN", "canonical.domain.missing.local");
19
+ var hotjarId = getEnv("ZITI_HOTJAR_APPID", "6443327");
20
+ function cleanUrl(path) {
21
+ return path.replace(/([^:]\/)\/+/g, "$1");
22
+ }
23
+ function docUrl(base, path) {
24
+ return cleanUrl("".concat(base, "/").concat(path));
25
+ }
26
+ function absoluteUrl(base, path) {
27
+ return cleanUrl("".concat(base, "/").concat(DOCUSAURUS_DOCS_PATH, "/").concat(path));
28
+ }
29
+ function addDocsRedir(base, redirectsArr) {
30
+ if (getEnv("DEPLOY_ENV") === "kinsta") {
31
+ redirectsArr.push({
32
+ to: docUrl(base, "/learn/introduction/"),
33
+ from: [docUrl(base, "/docs")],
34
+ });
35
+ }
36
+ }
37
+ function pluginHotjar(context) {
38
+ var siteConfig = context.siteConfig;
39
+ var themeConfig = siteConfig.themeConfig;
40
+ var hotjar = themeConfig.hotjar;
41
+ if (!hotjar) {
42
+ throw new Error("You need to specify 'hotjar' object in 'themeConfig' with 'applicationId' field in it to use docusaurus-plugin-hotjar");
43
+ }
44
+ var applicationId = hotjar.applicationId;
45
+ if (!applicationId) {
46
+ throw new Error('You specified the `hotjar` object in `themeConfig` but the `applicationId` field was missing. ' +
47
+ 'Please ensure this is not a mistake.');
48
+ }
49
+ var isProd = process.env.NODE_ENV === 'production';
50
+ return {
51
+ name: 'docusaurus-plugin-hotjar',
52
+ injectHtmlTags: function () {
53
+ console.log("[hotjar] applicationId = ".concat(applicationId, " isProd = ").concat(isProd));
54
+ if (!isProd) {
55
+ return {};
56
+ }
57
+ return {
58
+ headTags: [
59
+ {
60
+ tagName: 'script',
61
+ innerHTML: "(function(h,o,t,j,a,r){\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n h._hjSettings={hjid:".concat(applicationId, ",hjsv:6};\n a=o.getElementsByTagName('head')[0];\n r=o.createElement('script');r.async=1;\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n a.appendChild(r);\n})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');"),
62
+ },
63
+ ],
64
+ };
65
+ },
66
+ };
67
+ }
68
+
69
+ exports.DOCUSAURUS_BASE_PATH = DOCUSAURUS_BASE_PATH;
70
+ exports.DOCUSAURUS_CANONICAL_DOMAIN = DOCUSAURUS_CANONICAL_DOMAIN;
71
+ exports.DOCUSAURUS_DEBUG = DOCUSAURUS_DEBUG;
72
+ exports.DOCUSAURUS_DOCS_PATH = DOCUSAURUS_DOCS_PATH;
73
+ exports.DOCUSAURUS_URL = DOCUSAURUS_URL;
74
+ exports.absoluteUrl = absoluteUrl;
75
+ exports.addDocsRedir = addDocsRedir;
76
+ exports.cleanUrl = cleanUrl;
77
+ exports.docUrl = docUrl;
78
+ exports.hotjarId = hotjarId;
79
+ exports.pluginHotjar = pluginHotjar;
80
+ //# sourceMappingURL=node.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.cjs","sources":["../src/docusaurus-envhelper.ts"],"sourcesContent":["import type { LoadContext, Plugin } from '@docusaurus/types';\r\n\r\n// Safe in browser & Node: check globalThis.process only by property access on a known object.\r\n// 1) Use Node's env if present; 2) else use browser-injected __DOCUSAURUS_ENV__; 3) else {}\r\ntype Env = Record<string, string | undefined>;\r\nconst g: any = typeof globalThis !== \"undefined\" ? globalThis : {};\r\n\r\nconst RUNTIME_ENV: Env = (() => {\r\n if (g.process && typeof g.process.env === \"object\") return g.process.env as Env;\r\n if (g.__DOCUSAURUS_ENV__) return g.__DOCUSAURUS_ENV__ as Env;\r\n return {};\r\n})();\r\n\r\nconst getEnv = (k: string, d?: string) =>\r\n (RUNTIME_ENV[k] ?? d) as string | undefined;\r\n\r\nconst ORIGIN =\r\n getEnv(\"DOCUSAURUS_URL\") ||\r\n (typeof window !== \"undefined\" ? window.location.origin : \"http://localhost\");\r\n\r\nexport const DOCUSAURUS_DEBUG = getEnv(\"DOCUSAURUS_DEBUG\") === \"true\";\r\nexport const DOCUSAURUS_URL = ORIGIN;\r\nexport const DOCUSAURUS_BASE_PATH = getEnv(\"DOCUSAURUS_BASE_PATH\", \"/base-url\");\r\nexport const DOCUSAURUS_DOCS_PATH = getEnv(\"DOCUSAURUS_DOCS_PATH\", \"/docs-path\");\r\nexport const DOCUSAURUS_CANONICAL_DOMAIN = getEnv(\"DOCUSAURUS_CANONICAL_DOMAIN\", \"canonical.domain.missing.local\");\r\nexport const hotjarId = getEnv(\"ZITI_HOTJAR_APPID\", \"6443327\")!;\r\n\r\nexport function cleanUrl(path: string) {\r\n return path.replace(/([^:]\\/)\\/+/g, \"$1\");\r\n}\r\n\r\nexport function docUrl(base: string, path: string): string {\r\n return cleanUrl(`${base}/${path}`);\r\n}\r\n\r\nexport function absoluteUrl(base: string, path: string): string {\r\n return cleanUrl(`${base}/${DOCUSAURUS_DOCS_PATH}/${path}`);\r\n}\r\n\r\nexport function addDocsRedir(base: string, redirectsArr: { to: string; from: string[] }[]) {\r\n if (getEnv(\"DEPLOY_ENV\") === \"kinsta\") {\r\n redirectsArr.push({\r\n to: docUrl(base, \"/learn/introduction/\"),\r\n from: [docUrl(base, \"/docs\")],\r\n });\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\ninterface HotjarThemeConfig {\r\n applicationId: string;\r\n}\r\n\r\nexport function pluginHotjar(context: LoadContext): Plugin {\r\n const { siteConfig } = context;\r\n const { themeConfig } = siteConfig;\r\n const { hotjar } = themeConfig as { hotjar?: HotjarThemeConfig };\r\n\r\n if (!hotjar) {\r\n throw new Error(\r\n `You need to specify 'hotjar' object in 'themeConfig' with 'applicationId' field in it to use docusaurus-plugin-hotjar`,\r\n );\r\n }\r\n\r\n const { applicationId } = hotjar;\r\n\r\n if (!applicationId) {\r\n throw new Error(\r\n 'You specified the `hotjar` object in `themeConfig` but the `applicationId` field was missing. ' +\r\n 'Please ensure this is not a mistake.',\r\n );\r\n }\r\n\r\n const isProd = process.env.NODE_ENV === 'production';\r\n\r\n return {\r\n name: 'docusaurus-plugin-hotjar',\r\n\r\n injectHtmlTags() {\r\n console.log(`[hotjar] applicationId = ${applicationId} isProd = ${isProd}`);\r\n if (!isProd) {\r\n return {};\r\n }\r\n\r\n return {\r\n headTags: [\r\n {\r\n tagName: 'script',\r\n innerHTML: `(function(h,o,t,j,a,r){\r\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\r\n h._hjSettings={hjid:${applicationId},hjsv:6};\r\n a=o.getElementsByTagName('head')[0];\r\n r=o.createElement('script');r.async=1;\r\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\r\n a.appendChild(r);\r\n})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');`,\r\n },\r\n ],\r\n };\r\n },\r\n };\r\n}\r\n"],"names":[],"mappings":";;AAKA,IAAM,CAAC,GAAQ,OAAO,UAAU,KAAK,WAAW,GAAG,UAAU,GAAG,EAAE;AAElE,IAAM,WAAW,GAAQ,CAAC,YAAA;IACtB,IAAI,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,KAAK,QAAQ;AAAE,QAAA,OAAO,CAAC,CAAC,OAAO,CAAC,GAAU;IAC/E,IAAI,CAAC,CAAC,kBAAkB;QAAE,OAAO,CAAC,CAAC,kBAAyB;AAC5D,IAAA,OAAO,EAAE;AACb,CAAC,GAAG;AAEJ,IAAM,MAAM,GAAG,UAAC,CAAS,EAAE,CAAU,YACjC,QAAC,MAAA,WAAW,CAAC,CAAC,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,CAAC,EAAuB,EAAA;AAE/C,IAAM,MAAM,GACR,MAAM,CAAC,gBAAgB,CAAC;AACxB,KAAC,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,kBAAkB,CAAC;AAE1E,IAAM,gBAAgB,GAAG,MAAM,CAAC,kBAAkB,CAAC,KAAK;AACxD,IAAM,cAAc,GAAG;AACvB,IAAM,oBAAoB,GAAG,MAAM,CAAC,sBAAsB,EAAE,WAAW;AACvE,IAAM,oBAAoB,GAAG,MAAM,CAAC,sBAAsB,EAAE,YAAY;AACxE,IAAM,2BAA2B,GAAG,MAAM,CAAC,6BAA6B,EAAE,gCAAgC;AAC1G,IAAM,QAAQ,GAAG,MAAM,CAAC,mBAAmB,EAAE,SAAS;AAEvD,SAAU,QAAQ,CAAC,IAAY,EA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BAA0B;QAEhC,cAAc,EAAA,YAAA;YACV,OAAO,CAAC,GAAG,CAAC,2BAAA,CAAA,MAAA,CAA4B,aAAa,EAAA,YAAA,CAAA,CAAA,MAAA,CAAa,MAAM,CAAE,CAAC;YAC3E,IAAI,CAAC,MAAM,EAAE;AACT,gBAAA,OAAO,EAAE;YACb;YAEA,OAAO;AACH,gBAAA,QAAQ,EAAE;AACN,oBAAA;AACI,wBAAA,OAAO,EAAE,QAAQ;wBACjB,SAAS,EAAE,gHAAA,CAAA,MAAA,CAEX,aAAa,EAAA,4OAAA,CAKgC;AAChD,qBAAA;AACJ,iBAAA;aACJ;QACL,CAAC;KACJ;AACL;;;;;;;;;;;;;;"}
package/dist/node.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './docusaurus-envhelper';
@@ -0,0 +1,68 @@
1
+ var g = typeof globalThis !== "undefined" ? globalThis : {};
2
+ var RUNTIME_ENV = (function () {
3
+ if (g.process && typeof g.process.env === "object")
4
+ return g.process.env;
5
+ if (g.__DOCUSAURUS_ENV__)
6
+ return g.__DOCUSAURUS_ENV__;
7
+ return {};
8
+ })();
9
+ var getEnv = function (k, d) { var _a; return ((_a = RUNTIME_ENV[k]) !== null && _a !== void 0 ? _a : d); };
10
+ var ORIGIN = getEnv("DOCUSAURUS_URL") ||
11
+ (typeof window !== "undefined" ? window.location.origin : "http://localhost");
12
+ var DOCUSAURUS_DEBUG = getEnv("DOCUSAURUS_DEBUG") === "true";
13
+ var DOCUSAURUS_URL = ORIGIN;
14
+ var DOCUSAURUS_BASE_PATH = getEnv("DOCUSAURUS_BASE_PATH", "/base-url");
15
+ var DOCUSAURUS_DOCS_PATH = getEnv("DOCUSAURUS_DOCS_PATH", "/docs-path");
16
+ var DOCUSAURUS_CANONICAL_DOMAIN = getEnv("DOCUSAURUS_CANONICAL_DOMAIN", "canonical.domain.missing.local");
17
+ var hotjarId = getEnv("ZITI_HOTJAR_APPID", "6443327");
18
+ function cleanUrl(path) {
19
+ return path.replace(/([^:]\/)\/+/g, "$1");
20
+ }
21
+ function docUrl(base, path) {
22
+ return cleanUrl("".concat(base, "/").concat(path));
23
+ }
24
+ function absoluteUrl(base, path) {
25
+ return cleanUrl("".concat(base, "/").concat(DOCUSAURUS_DOCS_PATH, "/").concat(path));
26
+ }
27
+ function addDocsRedir(base, redirectsArr) {
28
+ if (getEnv("DEPLOY_ENV") === "kinsta") {
29
+ redirectsArr.push({
30
+ to: docUrl(base, "/learn/introduction/"),
31
+ from: [docUrl(base, "/docs")],
32
+ });
33
+ }
34
+ }
35
+ function pluginHotjar(context) {
36
+ var siteConfig = context.siteConfig;
37
+ var themeConfig = siteConfig.themeConfig;
38
+ var hotjar = themeConfig.hotjar;
39
+ if (!hotjar) {
40
+ throw new Error("You need to specify 'hotjar' object in 'themeConfig' with 'applicationId' field in it to use docusaurus-plugin-hotjar");
41
+ }
42
+ var applicationId = hotjar.applicationId;
43
+ if (!applicationId) {
44
+ throw new Error('You specified the `hotjar` object in `themeConfig` but the `applicationId` field was missing. ' +
45
+ 'Please ensure this is not a mistake.');
46
+ }
47
+ var isProd = process.env.NODE_ENV === 'production';
48
+ return {
49
+ name: 'docusaurus-plugin-hotjar',
50
+ injectHtmlTags: function () {
51
+ console.log("[hotjar] applicationId = ".concat(applicationId, " isProd = ").concat(isProd));
52
+ if (!isProd) {
53
+ return {};
54
+ }
55
+ return {
56
+ headTags: [
57
+ {
58
+ tagName: 'script',
59
+ innerHTML: "(function(h,o,t,j,a,r){\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n h._hjSettings={hjid:".concat(applicationId, ",hjsv:6};\n a=o.getElementsByTagName('head')[0];\n r=o.createElement('script');r.async=1;\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n a.appendChild(r);\n})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');"),
60
+ },
61
+ ],
62
+ };
63
+ },
64
+ };
65
+ }
66
+
67
+ export { DOCUSAURUS_BASE_PATH, DOCUSAURUS_CANONICAL_DOMAIN, DOCUSAURUS_DEBUG, DOCUSAURUS_DOCS_PATH, DOCUSAURUS_URL, absoluteUrl, addDocsRedir, cleanUrl, docUrl, hotjarId, pluginHotjar };
68
+ //# sourceMappingURL=node.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.esm.js","sources":["../src/docusaurus-envhelper.ts"],"sourcesContent":["import type { LoadContext, Plugin } from '@docusaurus/types';\r\n\r\n// Safe in browser & Node: check globalThis.process only by property access on a known object.\r\n// 1) Use Node's env if present; 2) else use browser-injected __DOCUSAURUS_ENV__; 3) else {}\r\ntype Env = Record<string, string | undefined>;\r\nconst g: any = typeof globalThis !== \"undefined\" ? globalThis : {};\r\n\r\nconst RUNTIME_ENV: Env = (() => {\r\n if (g.process && typeof g.process.env === \"object\") return g.process.env as Env;\r\n if (g.__DOCUSAURUS_ENV__) return g.__DOCUSAURUS_ENV__ as Env;\r\n return {};\r\n})();\r\n\r\nconst getEnv = (k: string, d?: string) =>\r\n (RUNTIME_ENV[k] ?? d) as string | undefined;\r\n\r\nconst ORIGIN =\r\n getEnv(\"DOCUSAURUS_URL\") ||\r\n (typeof window !== \"undefined\" ? window.location.origin : \"http://localhost\");\r\n\r\nexport const DOCUSAURUS_DEBUG = getEnv(\"DOCUSAURUS_DEBUG\") === \"true\";\r\nexport const DOCUSAURUS_URL = ORIGIN;\r\nexport const DOCUSAURUS_BASE_PATH = getEnv(\"DOCUSAURUS_BASE_PATH\", \"/base-url\");\r\nexport const DOCUSAURUS_DOCS_PATH = getEnv(\"DOCUSAURUS_DOCS_PATH\", \"/docs-path\");\r\nexport const DOCUSAURUS_CANONICAL_DOMAIN = getEnv(\"DOCUSAURUS_CANONICAL_DOMAIN\", \"canonical.domain.missing.local\");\r\nexport const hotjarId = getEnv(\"ZITI_HOTJAR_APPID\", \"6443327\")!;\r\n\r\nexport function cleanUrl(path: string) {\r\n return path.replace(/([^:]\\/)\\/+/g, \"$1\");\r\n}\r\n\r\nexport function docUrl(base: string, path: string): string {\r\n return cleanUrl(`${base}/${path}`);\r\n}\r\n\r\nexport function absoluteUrl(base: string, path: string): string {\r\n return cleanUrl(`${base}/${DOCUSAURUS_DOCS_PATH}/${path}`);\r\n}\r\n\r\nexport function addDocsRedir(base: string, redirectsArr: { to: string; from: string[] }[]) {\r\n if (getEnv(\"DEPLOY_ENV\") === \"kinsta\") {\r\n redirectsArr.push({\r\n to: docUrl(base, \"/learn/introduction/\"),\r\n from: [docUrl(base, \"/docs\")],\r\n });\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\ninterface HotjarThemeConfig {\r\n applicationId: string;\r\n}\r\n\r\nexport function pluginHotjar(context: LoadContext): Plugin {\r\n const { siteConfig } = context;\r\n const { themeConfig } = siteConfig;\r\n const { hotjar } = themeConfig as { hotjar?: HotjarThemeConfig };\r\n\r\n if (!hotjar) {\r\n throw new Error(\r\n `You need to specify 'hotjar' object in 'themeConfig' with 'applicationId' field in it to use docusaurus-plugin-hotjar`,\r\n );\r\n }\r\n\r\n const { applicationId } = hotjar;\r\n\r\n if (!applicationId) {\r\n throw new Error(\r\n 'You specified the `hotjar` object in `themeConfig` but the `applicationId` field was missing. ' +\r\n 'Please ensure this is not a mistake.',\r\n );\r\n }\r\n\r\n const isProd = process.env.NODE_ENV === 'production';\r\n\r\n return {\r\n name: 'docusaurus-plugin-hotjar',\r\n\r\n injectHtmlTags() {\r\n console.log(`[hotjar] applicationId = ${applicationId} isProd = ${isProd}`);\r\n if (!isProd) {\r\n return {};\r\n }\r\n\r\n return {\r\n headTags: [\r\n {\r\n tagName: 'script',\r\n innerHTML: `(function(h,o,t,j,a,r){\r\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\r\n h._hjSettings={hjid:${applicationId},hjsv:6};\r\n a=o.getElementsByTagName('head')[0];\r\n r=o.createElement('script');r.async=1;\r\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\r\n a.appendChild(r);\r\n})(window,document,'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