@netfoundry/docusaurus-theme 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/layout.css +14 -0
- package/dist/css/legacy.css +2347 -0
- package/dist/css/theme.css +20 -0
- package/dist/css/vars-dark.css +7 -0
- package/dist/css/vars.css +8 -0
- package/dist/src/components/Alert/Alert.d.ts +9 -0
- package/dist/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.js +7 -0
- package/dist/src/components/Alert/Alert.js.map +1 -0
- package/{src/components/Alert/index.ts → dist/src/components/Alert/index.d.ts} +1 -0
- package/dist/src/components/Alert/index.d.ts.map +1 -0
- package/dist/src/components/Alert/index.js +2 -0
- package/dist/src/components/Alert/index.js.map +1 -0
- package/dist/src/components/CodeBlock/CodeBlock.d.ts +10 -0
- package/dist/src/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/src/components/CodeBlock/CodeBlock.js +8 -0
- package/dist/src/components/CodeBlock/CodeBlock.js.map +1 -0
- package/{src/components/CodeBlock/index.ts → dist/src/components/CodeBlock/index.d.ts} +1 -0
- package/dist/src/components/CodeBlock/index.d.ts.map +1 -0
- package/dist/src/components/CodeBlock/index.js +2 -0
- package/dist/src/components/CodeBlock/index.js.map +1 -0
- package/dist/src/components/Common/Common.d.ts +24 -0
- package/dist/src/components/Common/Common.d.ts.map +1 -0
- package/dist/src/components/Common/Common.js +20 -0
- package/dist/src/components/Common/Common.js.map +1 -0
- package/dist/src/components/Common/index.d.ts +2 -0
- package/dist/src/components/Common/index.d.ts.map +1 -0
- package/dist/src/components/Common/index.js +2 -0
- package/dist/src/components/Common/index.js.map +1 -0
- package/dist/src/components/NetFoundry/Divider/Divider.d.ts +3 -0
- package/dist/src/components/NetFoundry/Divider/Divider.d.ts.map +1 -0
- package/dist/src/components/NetFoundry/Divider/Divider.js +6 -0
- package/dist/src/components/NetFoundry/Divider/Divider.js.map +1 -0
- package/dist/src/components/NetFoundry/Divider/index.d.ts +2 -0
- package/dist/src/components/NetFoundry/Divider/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundry/Divider/index.js +2 -0
- package/dist/src/components/NetFoundry/Divider/index.js.map +1 -0
- package/dist/src/components/NetFoundry/index.d.ts +2 -0
- package/dist/src/components/NetFoundry/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundry/index.js +2 -0
- package/dist/src/components/NetFoundry/index.js.map +1 -0
- package/dist/src/components/NetFoundryFooter/NetFoundryFooter.d.ts +23 -0
- package/dist/src/components/NetFoundryFooter/NetFoundryFooter.d.ts.map +1 -0
- package/dist/src/components/NetFoundryFooter/NetFoundryFooter.js +63 -0
- package/dist/src/components/NetFoundryFooter/NetFoundryFooter.js.map +1 -0
- package/dist/src/components/NetFoundryFooter/index.d.ts +2 -0
- package/dist/src/components/NetFoundryFooter/index.d.ts.map +1 -0
- package/{src/components/NetFoundryFooter/index.ts → dist/src/components/NetFoundryFooter/index.js} +2 -1
- package/dist/src/components/NetFoundryFooter/index.js.map +1 -0
- package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.d.ts +7 -0
- package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.d.ts.map +1 -0
- package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.js +6 -0
- package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.js.map +1 -0
- package/{src/components/NetFoundryHighlight/index.ts → dist/src/components/NetFoundryHighlight/index.d.ts} +3 -2
- package/dist/src/components/NetFoundryHighlight/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundryHighlight/index.js +2 -0
- package/dist/src/components/NetFoundryHighlight/index.js.map +1 -0
- package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.d.ts +9 -0
- package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.d.ts.map +1 -0
- package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.js +8 -0
- package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.js.map +1 -0
- package/dist/src/components/NetFoundryHorizontalSection/index.d.ts +3 -0
- package/dist/src/components/NetFoundryHorizontalSection/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundryHorizontalSection/index.js +2 -0
- package/dist/src/components/NetFoundryHorizontalSection/index.js.map +1 -0
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.d.ts +30 -0
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.d.ts.map +1 -0
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js +35 -0
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js.map +1 -0
- package/dist/src/components/NetFoundryLayout/index.d.ts +2 -0
- package/dist/src/components/NetFoundryLayout/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundryLayout/index.js +2 -0
- package/dist/src/components/NetFoundryLayout/index.js.map +1 -0
- package/dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.d.ts +10 -0
- package/dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.d.ts.map +1 -0
- package/{src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.tsx → dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.js} +14 -22
- package/dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.js.map +1 -0
- package/dist/src/components/NetFoundryNavbarItems/index.d.ts +3 -0
- package/dist/src/components/NetFoundryNavbarItems/index.d.ts.map +1 -0
- package/dist/src/components/NetFoundryNavbarItems/index.js +2 -0
- package/dist/src/components/NetFoundryNavbarItems/index.js.map +1 -0
- package/dist/src/components/OsTabs/OsTabs.d.ts +6 -0
- package/dist/src/components/OsTabs/OsTabs.d.ts.map +1 -0
- package/dist/src/components/OsTabs/OsTabs.js +18 -0
- package/dist/src/components/OsTabs/OsTabs.js.map +1 -0
- package/dist/src/components/OsTabs/index.d.ts +3 -0
- package/dist/src/components/OsTabs/index.d.ts.map +1 -0
- package/dist/src/components/OsTabs/index.js +2 -0
- package/dist/src/components/OsTabs/index.js.map +1 -0
- package/dist/src/components/StarUs/StarUs.d.ts +7 -0
- package/dist/src/components/StarUs/StarUs.d.ts.map +1 -0
- package/dist/src/components/StarUs/StarUs.js +7 -0
- package/dist/src/components/StarUs/StarUs.js.map +1 -0
- package/dist/src/components/StarUs/index.d.ts +3 -0
- package/dist/src/components/StarUs/index.d.ts.map +1 -0
- package/{src/components/StarUs/index.ts → dist/src/components/StarUs/index.js} +1 -1
- package/dist/src/components/StarUs/index.js.map +1 -0
- package/dist/src/components/index.d.ts +12 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/{src/components/index.ts → dist/src/components/index.js} +3 -2
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/docusaurus-envhelper.d.ts +16 -0
- package/dist/src/docusaurus-envhelper.d.ts.map +1 -0
- package/{src/docusaurus-envhelper.ts → dist/src/docusaurus-envhelper.js} +66 -98
- package/dist/src/docusaurus-envhelper.js.map +1 -0
- package/dist/src/docusaurus-plugins/index.d.ts +8 -0
- package/dist/src/docusaurus-plugins/index.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/index.js +8 -0
- package/dist/src/docusaurus-plugins/index.js.map +1 -0
- package/dist/src/docusaurus-plugins/logger.d.ts +13 -0
- package/dist/src/docusaurus-plugins/logger.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/logger.js +41 -0
- package/dist/src/docusaurus-plugins/logger.js.map +1 -0
- package/dist/src/docusaurus-plugins/remarkCodeSections.d.ts +8 -0
- package/dist/src/docusaurus-plugins/remarkCodeSections.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/remarkCodeSections.js +96 -0
- package/dist/src/docusaurus-plugins/remarkCodeSections.js.map +1 -0
- package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.d.ts +11 -0
- package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.js +23 -0
- package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.js.map +1 -0
- package/dist/src/docusaurus-plugins/remarkScopedPath.d.ts +13 -0
- package/dist/src/docusaurus-plugins/remarkScopedPath.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/remarkScopedPath.js +48 -0
- package/dist/src/docusaurus-plugins/remarkScopedPath.js.map +1 -0
- package/dist/src/docusaurus-plugins/remarkYamlTable.d.ts +8 -0
- package/dist/src/docusaurus-plugins/remarkYamlTable.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/remarkYamlTable.js +50 -0
- package/dist/src/docusaurus-plugins/remarkYamlTable.js.map +1 -0
- package/dist/src/docusaurus-plugins/remarkYouTube.d.ts +8 -0
- package/dist/src/docusaurus-plugins/remarkYouTube.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/remarkYouTube.js +44 -0
- package/dist/src/docusaurus-plugins/remarkYouTube.js.map +1 -0
- package/dist/src/docusaurus-plugins/timedPlugin.d.ts +6 -0
- package/dist/src/docusaurus-plugins/timedPlugin.d.ts.map +1 -0
- package/dist/src/docusaurus-plugins/timedPlugin.js +16 -0
- package/dist/src/docusaurus-plugins/timedPlugin.js.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +32 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/node.d.ts +7 -0
- package/dist/src/node.d.ts.map +1 -0
- package/{src/node.ts → dist/src/node.js} +7 -6
- package/dist/src/node.js.map +1 -0
- package/{src/options.ts → dist/src/options.d.ts} +90 -95
- package/dist/src/options.d.ts.map +1 -0
- package/dist/src/options.js +2 -0
- package/dist/src/options.js.map +1 -0
- package/dist/src/plugins.d.ts +7 -0
- package/dist/src/plugins.d.ts.map +1 -0
- package/{src/plugins.ts → dist/src/plugins.js} +7 -6
- package/dist/src/plugins.js.map +1 -0
- package/dist/src/ui.d.ts +8 -0
- package/dist/src/ui.d.ts.map +1 -0
- package/{src/ui.ts → dist/src/ui.js} +8 -7
- package/dist/src/ui.js.map +1 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/version.d.ts.map +1 -0
- package/dist/src/version.js +2 -0
- package/dist/src/version.js.map +1 -0
- package/dist/theme/Layout/index.d.ts +19 -0
- package/dist/theme/Layout/index.d.ts.map +1 -0
- package/dist/theme/Layout/index.js +39 -0
- package/dist/theme/Layout/index.js.map +1 -0
- package/package.json +23 -15
- package/src/components/Alert/Alert.tsx +0 -24
- package/src/components/CodeBlock/CodeBlock.tsx +0 -32
- package/src/components/Common/Common.tsx +0 -53
- package/src/components/Common/index.ts +0 -1
- package/src/components/NetFoundry/Divider/Divider.tsx +0 -20
- package/src/components/NetFoundry/Divider/index.ts +0 -1
- package/src/components/NetFoundry/index.ts +0 -1
- package/src/components/NetFoundryFooter/NetFoundryFooter.tsx +0 -164
- package/src/components/NetFoundryHighlight/NetFoundryHighlight.tsx +0 -15
- package/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.tsx +0 -23
- package/src/components/NetFoundryHorizontalSection/index.ts +0 -2
- package/src/components/NetFoundryLayout/NetFoundryLayout.tsx +0 -110
- package/src/components/NetFoundryLayout/index.ts +0 -1
- package/src/components/NetFoundryNavbarItems/index.ts +0 -2
- package/src/components/OsTabs/OsTabs.tsx +0 -30
- package/src/components/OsTabs/index.ts +0 -2
- package/src/components/StarUs/StarUs.tsx +0 -19
- package/src/docusaurus-plugins/index.ts +0 -7
- package/src/docusaurus-plugins/logger.ts +0 -38
- package/src/docusaurus-plugins/remarkCodeSections.ts +0 -115
- package/src/docusaurus-plugins/remarkReplaceMetaUrl.ts +0 -35
- package/src/docusaurus-plugins/remarkScopedPath.ts +0 -70
- package/src/docusaurus-plugins/remarkYamlTable.ts +0 -83
- package/src/docusaurus-plugins/remarkYouTube.ts +0 -56
- package/src/docusaurus-plugins/timedPlugin.ts +0 -22
- package/src/index.ts +0 -46
- package/src/version.ts +0 -1
- package/theme/Layout/index.tsx +0 -74
- /package/{src → dist/src}/components/Alert/Alert.module.css +0 -0
- /package/{src → dist/src}/components/CodeBlock/CodeBlock.module.css +0 -0
- /package/{src → dist/src}/components/Common/Common.module.css +0 -0
- /package/{src → dist/src}/components/NetFoundry/Divider/Divider.module.css +0 -0
- /package/{src → dist/src}/components/NetFoundryFooter/styles.module.css +0 -0
- /package/{src → dist/src}/components/NetFoundryHighlight/styles.module.css +0 -0
- /package/{src → dist/src}/components/NetFoundryHorizontalSection/styles.module.css +0 -0
- /package/{src → dist/src}/components/NetFoundryLayout/NetFoundryLayout.module.css +0 -0
- /package/{src → dist/src}/components/StarUs/styles.module.css +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NetFoundry Docusaurus Theme - Combined Styles
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically loaded by the theme via getClientModules().
|
|
5
|
+
*
|
|
6
|
+
* Consuming projects no longer need to manually add these imports
|
|
7
|
+
* to their custom.css files.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* CSS variables for light mode */
|
|
11
|
+
@import "./vars.css";
|
|
12
|
+
|
|
13
|
+
/* CSS variables for dark mode */
|
|
14
|
+
@import "./vars-dark.css";
|
|
15
|
+
|
|
16
|
+
/* Layout styles */
|
|
17
|
+
@import "./layout.css";
|
|
18
|
+
|
|
19
|
+
/* Legacy design system variables and comprehensive styling */
|
|
20
|
+
@import "./legacy.css";
|
|
@@ -0,0 +1,9 @@
|
|
|
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>;
|
|
9
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAYtC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import styles from './Alert.module.css';
|
|
4
|
+
export const Alert = ({ type = 'info', title, children, className }) => {
|
|
5
|
+
return (_jsxs("div", { className: clsx(styles.alert, styles[type], className), children: [title && _jsx("div", { className: styles.title, children: title }), _jsx("div", { className: styles.content, children: children })] }));
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=Alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AASxC,MAAM,CAAC,MAAM,KAAK,GAAyB,CAAC,EAC1C,IAAI,GAAG,MAAM,EACb,KAAK,EACL,QAAQ,EACR,SAAS,EACV,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,aACxD,KAAK,IAAI,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,KAAK,GAAO,EACrD,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,YAAG,QAAQ,GAAO,IAC5C,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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>;
|
|
10
|
+
//# sourceMappingURL=CodeBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmB9C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useThemeConfig } from '@docusaurus/theme-common';
|
|
3
|
+
import styles from './CodeBlock.module.css';
|
|
4
|
+
export const CodeBlock = ({ children, language = 'text', title, showLineNumbers = false, className }) => {
|
|
5
|
+
const { prism } = useThemeConfig();
|
|
6
|
+
return (_jsxs("div", { className: `${styles.codeBlock} ${className || ''}`, children: [title && _jsx("div", { className: styles.title, children: title }), _jsx("pre", { className: `language-${language}`, children: _jsx("code", { className: `language-${language}`, children: children }) })] }));
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=CodeBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlock.js","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAU5C,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,EAClD,QAAQ,EACR,QAAQ,GAAG,MAAM,EACjB,KAAK,EACL,eAAe,GAAG,KAAK,EACvB,SAAS,EACV,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,GAAG,cAAc,EAAE,CAAC;IAEnC,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,IAAI,SAAS,IAAI,EAAE,EAAE,aACrD,KAAK,IAAI,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,KAAK,GAAO,EACrD,cAAK,SAAS,EAAE,YAAY,QAAQ,EAAE,YACpC,eAAM,SAAS,EAAE,YAAY,QAAQ,EAAE,YACpC,QAAQ,GACJ,GACH,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/CodeBlock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=Common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Common.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/Common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAInC,MAAM,WAAW,OAAO;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,OAAO;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,OAAO;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,CAAC,OAAO,CAK9C;AAED,wBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,CAAC,OAAO,CAK9C;AAED,wBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,CAAC,OAAO,CAK9C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAK5D"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import styles from './Common.module.css';
|
|
4
|
+
export function H1(props) {
|
|
5
|
+
const { children, id, className } = props;
|
|
6
|
+
return (_jsx("p", { id: id, className: clsx(styles.h1, className), children: children }));
|
|
7
|
+
}
|
|
8
|
+
export function H2(props) {
|
|
9
|
+
const { children, className } = props;
|
|
10
|
+
return (_jsx("p", { className: clsx(styles.h2, className), children: children }));
|
|
11
|
+
}
|
|
12
|
+
export function H3(props) {
|
|
13
|
+
const { children, style, className } = props;
|
|
14
|
+
return (_jsx("h3", { className: clsx(styles.h3, className), style: style, children: children }));
|
|
15
|
+
}
|
|
16
|
+
export function Highlight(props) {
|
|
17
|
+
const { children, className } = props;
|
|
18
|
+
return (_jsx("span", { className: clsx(styles.highlight, className), children: children }));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Common.js","sourceRoot":"","sources":["../../../../src/components/Common/Common.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAwBzC,MAAM,UAAU,EAAE,CAAC,KAAc;IAC7B,MAAM,EAAC,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IACxC,OAAO,CACH,YAAG,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAK,CACnE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,EAAE,CAAC,KAAc;IAC7B,MAAM,EAAC,QAAQ,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IACpC,OAAO,CACH,YAAG,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAK,CAC3D,CAAC;AACN,CAAC;AAED,MAAM,UAAU,EAAE,CAAC,KAAc;IAC7B,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IAC3C,OAAO,CACH,aAAI,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAM,CAC3E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACtC,OAAO,CACH,eAAM,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAQ,CACxE,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Common/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/NetFoundry/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAGjC,wBAAgB,OAAO,IAAI,GAAG,CAAC,OAAO,CAgBrC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styles from './Divider.module.css';
|
|
3
|
+
export function Divider() {
|
|
4
|
+
return (_jsxs("div", { className: styles.onpremConnector, children: [_jsx("div", { className: styles.onpremDot, "aria-hidden": "true", children: _jsx("svg", { viewBox: "0 0 24 24", role: "img", "aria-label": "endpoint", children: _jsx("circle", { cx: "12", cy: "12", r: "8", fill: "currentColor" }) }) }), _jsx("div", { className: styles.onpremLine, role: "presentation", "aria-hidden": "true" }), _jsx("div", { className: styles.onpremDot, "aria-hidden": "true", children: _jsx("svg", { viewBox: "0 0 24 24", role: "img", "aria-label": "endpoint", children: _jsx("circle", { cx: "12", cy: "12", r: "8", fill: "currentColor" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=Divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.js","sourceRoot":"","sources":["../../../../../src/components/NetFoundry/Divider/Divider.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAE1C,MAAM,UAAU,OAAO;IACnB,OAAO,CACH,eAAK,SAAS,EAAE,MAAM,CAAC,eAAe,aAClC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,iBAAc,MAAM,YAChD,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,gBAAY,UAAU,YACrD,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,cAAc,GAAG,GAClD,GACJ,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,IAAI,EAAC,cAAc,iBAAa,MAAM,GAAO,EAChF,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,iBAAc,MAAM,YAChD,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,gBAAY,UAAU,YACrD,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,cAAc,GAAG,GAClD,GACJ,IACJ,CACT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/NetFoundry/Divider/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/NetFoundry/Divider/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundry/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/NetFoundry/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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;
|
|
23
|
+
//# sourceMappingURL=NetFoundryFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryFooter/NetFoundryFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,aAAa,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAMtD,MAAM,WAAW,WAAW;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,eAAO,MAAM,kBAAkB,EAAE,WAOhC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAyB9G;AAcD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CA0F5D"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { NetFoundryHorizontalSection } from "../NetFoundryHorizontalSection";
|
|
4
|
+
import useBaseUrl from "@docusaurus/useBaseUrl";
|
|
5
|
+
import styles from './styles.module.css';
|
|
6
|
+
export const defaultSocialProps = {
|
|
7
|
+
twitterUrl: '',
|
|
8
|
+
linkedInUrl: '',
|
|
9
|
+
githubUrl: '',
|
|
10
|
+
facebookUrl: '',
|
|
11
|
+
instagramUrl: '',
|
|
12
|
+
youtubeUrl: '',
|
|
13
|
+
};
|
|
14
|
+
export function defaultNetFoundryFooterProps(overrides) {
|
|
15
|
+
return {
|
|
16
|
+
description: 'Self-hosted OpenZiti for enterprises needing compliance, control, and support.',
|
|
17
|
+
socialProps: {
|
|
18
|
+
githubUrl: 'https://github.com/openziti/ziti',
|
|
19
|
+
linkedInUrl: 'https://www.linkedin.com/company/netfoundry',
|
|
20
|
+
youtubeUrl: 'https://www.youtube.com/OpenZiti',
|
|
21
|
+
twitterUrl: 'https://x.com/OpenZiti'
|
|
22
|
+
},
|
|
23
|
+
documentationLinks: [
|
|
24
|
+
_jsx("a", { href: "/docs/openziti/learn/quickstarts/services/ztha", children: "Getting Started" }),
|
|
25
|
+
_jsx("a", { href: "/docs/openziti/reference/developer/api/", children: "API Reference" }),
|
|
26
|
+
_jsx("a", { href: "/docs/openziti/reference/developer/sdk/", children: "SDK Integration" }),
|
|
27
|
+
],
|
|
28
|
+
communityLinks: [
|
|
29
|
+
_jsx("a", { href: "https://github.com/openziti/ziti", children: "GitHub" }),
|
|
30
|
+
_jsx("a", { href: "https://openziti.discourse.group/", children: "Discourse Forum" }),
|
|
31
|
+
_jsx("a", { href: "/docs/openziti/policies/CONTRIBUTING", children: "Contributing" }),
|
|
32
|
+
],
|
|
33
|
+
resourceLinks: [
|
|
34
|
+
_jsx("a", { href: "https://blog.openziti.io", children: "OpenZiti Tech Blog" }),
|
|
35
|
+
_jsx("a", { href: "https://netfoundry.io/", children: "NetFoundry" }),
|
|
36
|
+
],
|
|
37
|
+
...overrides
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ListBlock({ title, items }) {
|
|
41
|
+
if (!items?.length)
|
|
42
|
+
return null;
|
|
43
|
+
return (_jsxs("div", { className: styles.footerColumn, children: [_jsx("h3", { children: title }), _jsx("ul", { className: styles.footerLinks, children: items.map((item, i) => _jsx("li", { children: item }, i)) })] }));
|
|
44
|
+
}
|
|
45
|
+
export function NetFoundryFooter(props) {
|
|
46
|
+
const { className, style, children, description } = props;
|
|
47
|
+
const sp = { ...defaultSocialProps, ...(props.socialProps ?? {}) };
|
|
48
|
+
if (children)
|
|
49
|
+
return _jsx(_Fragment, { children: children });
|
|
50
|
+
return (_jsx("footer", { className: clsx(className, styles.ozFooter), style: style, children: _jsxs(NetFoundryHorizontalSection, { className: styles.footer, children: [_jsx("div", { className: styles.footerContainer, children: _jsxs("div", { className: styles.footerGrid, children: [_jsxs("div", { className: styles.footerColumn, children: [_jsx("h3", { children: "NetFoundry" }), _jsx("p", { children: description ?? 'An open source project enabling developers to embed zero trust networking directly into applications.' }), _jsxs("div", { className: styles.footerSocialLinks, children: [sp.githubUrl && (_jsx("a", { href: sp.githubUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" }) }) })), sp.linkedInUrl && (_jsx("a", { href: sp.linkedInUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M15.996 16V10.1C15.996 7.5 15.375 5.49999 12.025 5.49999C10.4 5.49999 9.325 6.39999 8.875 7.29999H8.825V5.79999H5.65V16H8.95V10.7C8.95 9.30001 9.2 7.9 10.925 7.9C12.65 7.9 12.675 9.59999 12.675 10.8V16H15.996Z" }), _jsx("path", { d: "M0.25 5.79999H3.575V16H0.25V5.79999Z" }), _jsx("path", { d: "M1.9 0C0.85 0 0 0.85 0 1.9C0 2.95 0.85 3.8 1.9 3.8C2.95 3.8 3.8 2.95 3.8 1.9C3.8 0.85 2.95 0 1.9 0Z" })] }) })), sp.youtubeUrl && (_jsx("a", { href: sp.youtubeUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.969 4.69c-.183-1.358-1.062-2.275-2.361-2.46C12.371 2 8 2 8 2S3.629 2 2.362 2.229c-1.3.186-2.179 1.103-2.361 2.461C0 6.03 0 10 0 10s0 3.97.2 5.31c.183 1.358 1.062 2.275 2.361 2.46C3.63 18 8 18 8 18s4.371 0 5.638-.23c1.3-.185 2.178-1.102 2.361-2.46.2-1.34.2-5.31.2-5.31s0-3.97-.23-5.31zm-8.36, 8.57V6.73l3.76 2.27-3.76 2.26z" }) }) })), sp.twitterUrl && (_jsx("a", { href: sp.twitterUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.996 3.038c-.59.262-1.219.44-1.885.52.677-.406 1.194-1.05 1.438-1.815-.634.375-1.337.648-2.085.795-.598-.638-1.45-1.038-2.396-1.038-1.813 0-3.283 1.469-3.283 3.282 0 .257.03.507.085.748-2.728-.137-5.147-1.445-6.766-3.43-.282.485-.444 1.05-.444 1.651 0 1.14.58 2.143 1.46 2.732-.538-.017-1.044-.164-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.219-.276.075-.567.116-.866.116-.211 0-.416-.021-.617-.06.418 1.304 1.63 2.254 3.066 2.28-1.124.883-2.539 1.406-4.077 1.406-.265 0-.526-.015-.785-.046 1.453.933 3.178 1.475 5.032 1.475 6.038 0 9.34-5.002 9.34-9.34 0-.142-.004-.284-.01-.425.641-.463 1.198-1.039 1.638-1.696" }) }) })), sp.facebookUrl && (_jsx("a", { href: sp.facebookUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsx("span", { children: "f" }) })), sp.instagramUrl && (_jsx("a", { href: sp.instagramUrl, target: "_blank", className: styles.footerSocialLink, rel: "noreferrer", children: _jsx("span", { children: "ig" }) }))] })] }), _jsx(ListBlock, { title: "Documentation", items: props.documentationLinks ?? [
|
|
51
|
+
_jsx("a", { href: useBaseUrl("/docs/learn/quickstarts/services/ztha"), children: "Getting Started" }),
|
|
52
|
+
_jsx("a", { href: useBaseUrl("/docs/reference/developer/api/"), children: "API Reference" }),
|
|
53
|
+
_jsx("a", { href: useBaseUrl("/docs/reference/developer/sdk/"), children: "SDK Integration" }),
|
|
54
|
+
] }), _jsx(ListBlock, { title: "Community", items: props.communityLinks ?? [
|
|
55
|
+
_jsx("a", { href: "https://github.com/openziti/ziti", children: "GitHub" }),
|
|
56
|
+
_jsx("a", { href: "https://openziti.discourse.group/", children: "Discourse Forum" }),
|
|
57
|
+
_jsx("a", { href: "/docs/openziti/policies/CONTRIBUTING", children: "Contributing" }),
|
|
58
|
+
] }), _jsx(ListBlock, { title: "Resources", items: props.resourceLinks ?? [
|
|
59
|
+
_jsx("a", { href: "https://blog.openziti.io", children: "OpenZiti Tech Blog" }),
|
|
60
|
+
_jsx("a", { href: "https://netfoundry.io/", children: "NetFoundry" }),
|
|
61
|
+
] })] }) }), _jsx("div", { className: styles.footerCopyright, children: _jsx("p", { children: "\u00A9 2025 NetFoundry Inc. OpenZiti is an open source project sponsored by NetFoundry. All rights reserved." }) })] }) }));
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=NetFoundryFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryFooter.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryFooter/NetFoundryFooter.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,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CAChB,YAAG,IAAI,EAAE,EAAE,CAAC,YAAY,EAAE,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAAE,GAAG,EAAC,YAAY,YAC1F,gCAAe,GACf,CACP,IACC,IACJ,EAEN,KAAC,SAAS,IACN,KAAK,EAAC,eAAe,EACrB,KAAK,EAAE,KAAK,CAAC,kBAAkB,IAAI;oCAC/B,YAAG,IAAI,EAAE,UAAU,CAAC,uCAAuC,CAAC,gCAAqB;oCACjF,YAAG,IAAI,EAAE,UAAU,CAAC,gCAAgC,CAAC,8BAAmB;oCACxE,YAAG,IAAI,EAAE,UAAU,CAAC,gCAAgC,CAAC,gCAAqB;iCAC7E,GACH,EACF,KAAC,SAAS,IACN,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE,KAAK,CAAC,cAAc,IAAI;oCAC3B,YAAG,IAAI,EAAC,kCAAkC,uBAAW;oCACrD,YAAG,IAAI,EAAC,mCAAmC,gCAAoB;oCAC/D,YAAG,IAAI,EAAC,sCAAsC,6BAAiB;iCAClE,GACH,EACF,KAAC,SAAS,IACN,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE,KAAK,CAAC,aAAa,IAAI;oCAC1B,YAAG,IAAI,EAAC,0BAA0B,mCAAuB;oCACzD,YAAG,IAAI,EAAC,wBAAwB,2BAAe;iCAClD,GACH,IACA,GACJ,EAEN,cAAK,SAAS,EAAE,MAAM,CAAC,eAAe,YAClC,uIAA8G,GAC5G,IACoB,GACzB,CACZ,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryFooter/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/{src/components/NetFoundryFooter/index.ts → dist/src/components/NetFoundryFooter/index.js}
RENAMED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './NetFoundryFooter';
|
|
1
|
+
export * from './NetFoundryFooter';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryFooter/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
7
|
+
//# sourceMappingURL=NetFoundryHighlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryHighlight.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryHighlight/NetFoundryHighlight.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAOlE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function NetFoundryHighlight(props) {
|
|
3
|
+
const { children, style } = props;
|
|
4
|
+
return (_jsx("span", { style: style, children: _jsx("span", { style: { color: 'var(--ifm-color-primary)' }, children: children }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=NetFoundryHighlight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryHighlight.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryHighlight/NetFoundryHighlight.tsx"],"names":[],"mappings":";AAOA,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IAC/D,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAClC,OAAO,CACH,eAAM,KAAK,EAAE,KAAK,YACpB,eAAM,KAAK,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE,YAAG,QAAQ,GAAQ,GAChE,CACN,CAAC;AACN,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { NetFoundryHighlight } from './NetFoundryHighlight';
|
|
2
|
-
export type { NetFoundryHighlightProps } from './NetFoundryHighlight';
|
|
1
|
+
export { NetFoundryHighlight } from './NetFoundryHighlight';
|
|
2
|
+
export type { NetFoundryHighlightProps } from './NetFoundryHighlight';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryHighlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryHighlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
9
|
+
//# sourceMappingURL=NetFoundryHorizontalSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryHorizontalSection.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,gCAAgC,GAAG;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,2CAWlF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import styles from './styles.module.css';
|
|
4
|
+
export function NetFoundryHorizontalSection(props) {
|
|
5
|
+
const { children, className, style, id } = props;
|
|
6
|
+
return (_jsx("section", { className: clsx(className, styles.ozHorizontalSectionRoot, styles.ozhsContent), style: style, id: id, children: children }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=NetFoundryHorizontalSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryHorizontalSection.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,qBAAqB,CAAC;AASzC,MAAM,UAAU,2BAA2B,CAAC,KAAuC;IAC/E,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACjD,OAAO,CACH,kBACI,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC,WAAW,CAAC,EAC9E,KAAK,EAAE,KAAK,EACZ,EAAE,EAAE,EAAE,YAEL,QAAQ,GACH,CACb,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryHorizontalSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,YAAY,EAAE,gCAAgC,EAAG,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryHorizontalSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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;
|
|
30
|
+
//# sourceMappingURL=NetFoundryLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/NetFoundryLayout/NetFoundryLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAgBjC,OAAO,EAAoB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAGhD,MAAM,WAAW,SAAS;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,SAAS,GAAG,qBAAqB,GAAG,QAAQ,GAAG,KAAK,CAAC;QAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACL;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,IAAI,CAAC,EAAE,SAAS,CAAC;CACpB;AAUD,wBAAgB,gBAAgB,CAAC,EACI,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAuD,EACvD,WAAW,EACX,IAAI,EAAE,SAAc,GACvB,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CA6CtE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import ErrorBoundary from "@docusaurus/ErrorBoundary";
|
|
4
|
+
import { ThemeClassNames } from "@docusaurus/theme-common";
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { useKeyboardNavigation } from "@docusaurus/theme-common/internal";
|
|
7
|
+
import Head from "@docusaurus/Head";
|
|
8
|
+
import useBaseUrl from "@docusaurus/useBaseUrl";
|
|
9
|
+
import SkipToContent from "@theme/SkipToContent";
|
|
10
|
+
import AnnouncementBar from "@theme/AnnouncementBar";
|
|
11
|
+
import Navbar from "@theme/Navbar";
|
|
12
|
+
import LayoutProvider from "@theme/Layout/Provider";
|
|
13
|
+
import ErrorPageContent from "@theme/ErrorPageContent";
|
|
14
|
+
import styles from "./NetFoundryLayout.module.css";
|
|
15
|
+
import { NetFoundryFooter } from "../NetFoundryFooter";
|
|
16
|
+
import { StarUs } from "../StarUs";
|
|
17
|
+
import { version } from '../../version';
|
|
18
|
+
function useAbs() {
|
|
19
|
+
return (p) => {
|
|
20
|
+
if (!p)
|
|
21
|
+
return undefined;
|
|
22
|
+
if (p.startsWith("http"))
|
|
23
|
+
return p;
|
|
24
|
+
return new URL(useBaseUrl(p), window.location.origin).toString();
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function NetFoundryLayout({ children, noFooter, className, title, description, starProps = { repoUrl: "", label: "Star us on GitHub" }, footerProps, meta: metaInput = {}, }) {
|
|
28
|
+
useKeyboardNavigation();
|
|
29
|
+
const abs = useAbs();
|
|
30
|
+
const meta = metaInput;
|
|
31
|
+
const pageTitle = (meta.title ?? title ?? "") +
|
|
32
|
+
(meta.siteName ? ` | ${meta.siteName}` : "");
|
|
33
|
+
return (_jsxs(LayoutProvider, { children: [_jsxs(Head, { children: [_jsx("title", { children: pageTitle }), _jsx("meta", { "data-rh": "true", name: "nf-layout-version", content: version }), (meta.description ?? description) && (_jsx("meta", { name: "description", content: meta.description ?? description })), meta.url && _jsx("meta", { property: "og:url", content: meta.url }), meta.siteName && _jsx("meta", { property: "og:site_name", content: meta.siteName }), meta.title && _jsx("meta", { property: "og:title", content: meta.title }), meta.description && (_jsx("meta", { property: "og:description", content: meta.description })), meta.image && _jsx("meta", { property: "og:image", content: abs(meta.image) }), meta.locale && _jsx("meta", { property: "og:locale", content: meta.locale }), _jsx("meta", { name: "twitter:card", content: meta.twitterX?.card ?? "summary_large_image" }), meta.twitterX?.site && (_jsx("meta", { name: "twitter:site", content: meta.twitterX.site })), meta.twitterX?.creator && (_jsx("meta", { name: "twitter:creator", content: meta.twitterX.creator })), meta.image && (_jsx("meta", { name: "twitter:image", content: abs(meta.image) })), meta.twitterX?.imageAlt && (_jsx("meta", { name: "twitter:image:alt", content: meta.twitterX.imageAlt }))] }), _jsx(SkipToContent, {}), _jsx(AnnouncementBar, {}), _jsx(Navbar, {}), starProps.repoUrl && starProps.label && _jsx(StarUs, { ...starProps }), _jsxs("div", { className: clsx(ThemeClassNames.wrapper.main, styles.ozLayoutMainWrapper, className), children: [_jsx(ErrorBoundary, { fallback: (props) => _jsx(ErrorPageContent, { ...props }), children: children }), !noFooter && footerProps && _jsx(NetFoundryFooter, { ...footerProps })] })] }));
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=NetFoundryLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetFoundryLayout.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryLayout/NetFoundryLayout.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC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file":"index.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|