@netfoundry/docusaurus-theme 0.2.1 → 0.3.0
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/css/theme.css +20 -72
- package/dist/css/theme.css +20 -72
- package/dist/src/components/Common/index.d.ts +0 -1
- package/dist/src/components/Common/index.d.ts.map +1 -1
- package/dist/src/components/Common/index.js +0 -1
- package/dist/src/components/Common/index.js.map +1 -1
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.d.ts.map +1 -1
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js +1 -3
- package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js.map +1 -1
- package/dist/src/components/index.d.ts +0 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +0 -1
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/options.d.ts +30 -27
- package/dist/src/options.d.ts.map +1 -1
- package/dist/theme/Layout/index.d.ts +9 -0
- package/dist/theme/Layout/index.d.ts.map +1 -1
- package/dist/theme/Layout/index.js +19 -17
- package/dist/theme/Layout/index.js.map +1 -1
- package/package.json +5 -11
- package/dist/src/components/Common/Logos.d.ts +0 -6
- package/dist/src/components/Common/Logos.d.ts.map +0 -1
- package/dist/src/components/Common/Logos.js +0 -7
- package/dist/src/components/Common/Logos.js.map +0 -1
- package/dist/src/components/NetFoundryFooter/defaults.d.ts +0 -19
- package/dist/src/components/NetFoundryFooter/defaults.d.ts.map +0 -1
- package/dist/src/components/NetFoundryFooter/defaults.js +0 -24
- package/dist/src/components/NetFoundryFooter/defaults.js.map +0 -1
- package/dist/src/components/ProductSearch/ProductSearch.d.ts +0 -10
- package/dist/src/components/ProductSearch/ProductSearch.d.ts.map +0 -1
- package/dist/src/components/ProductSearch/ProductSearch.js +0 -140
- package/dist/src/components/ProductSearch/ProductSearch.js.map +0 -1
- package/dist/src/components/ProductSearch/ProductSearch.module.css +0 -189
- package/dist/src/components/ProductSearch/index.d.ts +0 -4
- package/dist/src/components/ProductSearch/index.d.ts.map +0 -1
- package/dist/src/components/ProductSearch/index.js +0 -4
- package/dist/src/components/ProductSearch/index.js.map +0 -1
- package/dist/theme/BlogPostPage/Metadata.d.ts +0 -2
- package/dist/theme/BlogPostPage/Metadata.d.ts.map +0 -1
- package/dist/theme/BlogPostPage/Metadata.js +0 -2
- package/dist/theme/BlogPostPage/Metadata.js.map +0 -1
- package/dist/theme/BlogPostPage/StructuredData.d.ts +0 -2
- package/dist/theme/BlogPostPage/StructuredData.d.ts.map +0 -1
- package/dist/theme/BlogPostPage/StructuredData.js +0 -2
- package/dist/theme/BlogPostPage/StructuredData.js.map +0 -1
- package/dist/theme/BlogPostPage/index.d.ts +0 -14
- package/dist/theme/BlogPostPage/index.d.ts.map +0 -1
- package/dist/theme/BlogPostPage/index.js +0 -27
- package/dist/theme/BlogPostPage/index.js.map +0 -1
- package/dist/theme/BlogPostPage/index.module.css +0 -53
- package/dist/theme/DocSearch/index.d.ts +0 -3
- package/dist/theme/DocSearch/index.d.ts.map +0 -1
- package/dist/theme/DocSearch/index.js +0 -30
- package/dist/theme/DocSearch/index.js.map +0 -1
- package/dist/theme/DocSearch/styles.module.css +0 -12
- package/dist/theme/Navbar/Content/index.d.ts +0 -6
- package/dist/theme/Navbar/Content/index.d.ts.map +0 -1
- package/dist/theme/Navbar/Content/index.js +0 -27
- package/dist/theme/Navbar/Content/index.js.map +0 -1
- package/dist/theme/Navbar/Content/index.module.css +0 -0
- package/dist/theme/Navbar/Logo/index.d.ts +0 -3
- package/dist/theme/Navbar/Logo/index.d.ts.map +0 -1
- package/dist/theme/Navbar/Logo/index.js +0 -40
- package/dist/theme/Navbar/Logo/index.js.map +0 -1
- package/dist/theme/OsTabs/index.d.ts +0 -13
- package/dist/theme/OsTabs/index.d.ts.map +0 -1
- package/dist/theme/OsTabs/index.js +0 -20
- package/dist/theme/OsTabs/index.js.map +0 -1
- package/dist/theme/SearchBar/SearchBar.module.css +0 -37
- package/dist/theme/SearchBar/index.d.ts +0 -2
- package/dist/theme/SearchBar/index.d.ts.map +0 -1
- package/dist/theme/SearchBar/index.js +0 -36
- package/dist/theme/SearchBar/index.js.map +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { defaultNetFoundryFooterProps, defaultSocialProps } from "../../ui";
|
|
3
|
-
export const unifiedFooter = {
|
|
4
|
-
...defaultNetFoundryFooterProps(),
|
|
5
|
-
description: 'Cloud isn’t always viable. NetFoundry On-Prem™ lets you control and manage your own OpenZiti overlay network.',
|
|
6
|
-
socialProps: {
|
|
7
|
-
...defaultSocialProps,
|
|
8
|
-
githubUrl: 'https://github.com/netfoundry/',
|
|
9
|
-
youtubeUrl: 'https://youtube.com/netfoundry/',
|
|
10
|
-
linkedInUrl: 'https://www.linkedin.com/in/netfoundry/',
|
|
11
|
-
twitterUrl: 'https://twitter.com/netfoundry/',
|
|
12
|
-
},
|
|
13
|
-
documentationLinks: [
|
|
14
|
-
_jsx("a", { href: "/installation", children: "Getting Starteda 4" }, "new")
|
|
15
|
-
],
|
|
16
|
-
communityLinks: [
|
|
17
|
-
_jsx("a", { href: "/installation", children: "Getting Startedb 5" }, "new")
|
|
18
|
-
],
|
|
19
|
-
resourceLinks: [
|
|
20
|
-
_jsx("a", { href: "https://blog.openziti.io", children: "OpenZiti Tech Blog" }),
|
|
21
|
-
_jsx("a", { href: "https://netfoundry.io/", children: "NetFoundry" }),
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../src/components/NetFoundryFooter/defaults.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,4BAA4B,EAAE,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAG1E,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,GAAG,4BAA4B,EAAE;IACjC,WAAW,EACP,+GAA+G;IACnH,WAAW,EAAE;QACT,GAAG,kBAAkB;QACrB,SAAS,EAAE,gCAAgC;QAC3C,UAAU,EAAE,iCAAiC;QAC7C,WAAW,EAAE,yCAAyC;QACtD,UAAU,EAAE,iCAAiC;KAChD;IACD,kBAAkB,EAAE;QAChB,YAAa,IAAI,EAAC,eAAe,oCAA1B,KAAK,CAA4C;KAC3D;IACD,cAAc,EAAE;QACZ,YAAa,IAAI,EAAC,eAAe,oCAA1B,KAAK,CAA4C;KAC3D;IACD,aAAa,EAAE;QACX,YAAG,IAAI,EAAC,0BAA0B,mCAAuB;QACzD,YAAG,IAAI,EAAC,wBAAwB,2BAAe;KAClD;CACJ,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
appId: string;
|
|
3
|
-
apiKey: string;
|
|
4
|
-
indexName: string;
|
|
5
|
-
products?: string[];
|
|
6
|
-
extraContainerClasses?: string[];
|
|
7
|
-
};
|
|
8
|
-
export default function ProductSearch({ appId, apiKey, indexName, products, extraContainerClasses, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=ProductSearch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSearch/ProductSearch.tsx"],"names":[],"mappings":"AA+BA,KAAK,KAAK,GAAG;IACT,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;CACpC,CAAC;AA2GF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACI,KAAK,EACL,MAAM,EACN,SAAS,EACT,QAA8D,EAC9D,qBAA0B,GAC7B,EAAE,KAAK,2CA2J7C"}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// src/components/ProductSearch.tsx
|
|
3
|
-
import { useEffect, useMemo, useState } from "react";
|
|
4
|
-
import { InstantSearch, SearchBox, Pagination, Snippet, Configure, Stats, PoweredBy, useHits, useConfigure, useSearchBox, } from "react-instantsearch";
|
|
5
|
-
import { history } from "instantsearch.js/es/lib/routers";
|
|
6
|
-
import { singleIndex } from "instantsearch.js/es/lib/stateMappings";
|
|
7
|
-
import { liteClient as algoliasearch } from "algoliasearch/lite";
|
|
8
|
-
import styles from "./ProductSearch.module.css";
|
|
9
|
-
import clsx from "clsx";
|
|
10
|
-
function getUrl(h) {
|
|
11
|
-
return toRelative(((typeof h.url === "string" && h.url) ||
|
|
12
|
-
(Array.isArray(h.url) && h.url[0]) ||
|
|
13
|
-
h.url_without_anchor ||
|
|
14
|
-
h.url_without_variables ||
|
|
15
|
-
"#") + (h.anchor ? `#${h.anchor}` : ""));
|
|
16
|
-
}
|
|
17
|
-
function toRelative(href) {
|
|
18
|
-
try {
|
|
19
|
-
const u = new URL(href, typeof window !== "undefined" ? window.location.origin : "http://localhost");
|
|
20
|
-
return u.pathname + u.search + u.hash;
|
|
21
|
-
}
|
|
22
|
-
catch {
|
|
23
|
-
return href.startsWith("/") ? href : `/${href}`;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function shortUrl(h) {
|
|
27
|
-
return toRelative(getUrl(h));
|
|
28
|
-
}
|
|
29
|
-
function titleFrom(h) {
|
|
30
|
-
return (h.title ||
|
|
31
|
-
h.hierarchy?.lvl2 ||
|
|
32
|
-
h.hierarchy?.lvl1 ||
|
|
33
|
-
h.hierarchy?.lvl0 ||
|
|
34
|
-
shortUrl(h));
|
|
35
|
-
}
|
|
36
|
-
function ProductBadge({ p }) {
|
|
37
|
-
return p ? (_jsx("span", { className: `${styles.badge} ${styles[`p_${p}`]}`, children: p })) : null;
|
|
38
|
-
}
|
|
39
|
-
/** Configure-based filter (no remount, reliable) */
|
|
40
|
-
function ProductFilter({ product }) {
|
|
41
|
-
useConfigure({
|
|
42
|
-
facetFilters: product ? [[`docusaurus_tag:docs-${product}-current`]] : [],
|
|
43
|
-
});
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
/** Group by section (lvl0), then by page (no duplicate “Learn”) */
|
|
47
|
-
function GroupedHits() {
|
|
48
|
-
const { hits } = useHits();
|
|
49
|
-
const sections = new Map();
|
|
50
|
-
for (const h of hits) {
|
|
51
|
-
const lvl0 = h.hierarchy?.lvl0 || "Other";
|
|
52
|
-
const page = h.url_without_anchor ||
|
|
53
|
-
(typeof h.url === "string" ? h.url.split("#")[0] : "") ||
|
|
54
|
-
"";
|
|
55
|
-
const byPage = sections.get(lvl0) || new Map();
|
|
56
|
-
const g = byPage.get(page) ||
|
|
57
|
-
{ header: titleFrom(h), url: page || getUrl(h), lvl0, items: [] };
|
|
58
|
-
g.items.push(h);
|
|
59
|
-
byPage.set(page, g);
|
|
60
|
-
sections.set(lvl0, byPage);
|
|
61
|
-
}
|
|
62
|
-
return (_jsx("div", { className: styles.groupList, children: [...sections.entries()].map(([lvl0, byPage]) => (_jsxs("div", { className: styles.section, children: [_jsx("div", { className: styles.sectionHeader, children: lvl0 }), [...byPage.values()].map((g) => (_jsxs("div", { className: styles.group, children: [_jsxs("div", { className: styles.groupHeaderRow, children: [_jsx("a", { href: toRelative(g.url), className: styles.groupHeader, children: g.header }), _jsx(ProductBadge, { p: g.items[0].product })] }), _jsx("div", { className: styles.groupSnips, children: g.items.slice(0, 3).map((h, i) => (_jsx("div", { className: styles.snippet, children: _jsx(Snippet, { attribute: "content", hit: h }) }, i))) }), _jsx("div", { className: styles.groupUrl, children: _jsx("a", { href: getUrl(g.items[0]), children: shortUrl(g.items[0]) }) })] }, g.url)))] }, lvl0))) }));
|
|
63
|
-
}
|
|
64
|
-
function QueryWatcher({ onChange }) {
|
|
65
|
-
const { query } = useSearchBox();
|
|
66
|
-
useEffect(() => onChange(query.trim().length >= 2), [query, onChange]);
|
|
67
|
-
return null;
|
|
68
|
-
}
|
|
69
|
-
export default function ProductSearch({ appId, apiKey, indexName, products = ["frontdoor", "openziti", "onprem", "zlan", "zrok"], extraContainerClasses = [], }) {
|
|
70
|
-
// read initial pill from ?product= for back/forward + shareable URLs
|
|
71
|
-
const [product, setProduct] = useState("");
|
|
72
|
-
const [searchLongEnough, setSearchLongEnough] = useState(false);
|
|
73
|
-
useEffect(() => {
|
|
74
|
-
if (typeof window === "undefined")
|
|
75
|
-
return;
|
|
76
|
-
const p = new URLSearchParams(window.location.search).get("product") || "";
|
|
77
|
-
setProduct(p);
|
|
78
|
-
}, []);
|
|
79
|
-
useEffect(() => {
|
|
80
|
-
if (typeof window === "undefined")
|
|
81
|
-
return;
|
|
82
|
-
const u = new URL(window.location.href);
|
|
83
|
-
if (product)
|
|
84
|
-
u.searchParams.set("product", product);
|
|
85
|
-
else
|
|
86
|
-
u.searchParams.delete("product");
|
|
87
|
-
window.history.replaceState({}, "", u);
|
|
88
|
-
}, [product]);
|
|
89
|
-
const base = useMemo(() => algoliasearch(appId, apiKey), [appId, apiKey]);
|
|
90
|
-
// Gate only when no query AND no pill active (prevents “freeze” on pill-only)
|
|
91
|
-
const searchClient = useMemo(() => ({
|
|
92
|
-
...base,
|
|
93
|
-
search(requests) {
|
|
94
|
-
const allShort = requests.every((r) => (r.params?.query ?? "").length < 2);
|
|
95
|
-
if (allShort) { // block ALL searches until query >= 2
|
|
96
|
-
return Promise.resolve({
|
|
97
|
-
results: requests.map(() => ({
|
|
98
|
-
hits: [],
|
|
99
|
-
nbHits: 0,
|
|
100
|
-
page: 0,
|
|
101
|
-
nbPages: 0,
|
|
102
|
-
processingTimeMS: 0,
|
|
103
|
-
params: "",
|
|
104
|
-
query: "",
|
|
105
|
-
exhaustiveNbHits: false,
|
|
106
|
-
})),
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
return base.search(requests);
|
|
110
|
-
},
|
|
111
|
-
}), [base, product]);
|
|
112
|
-
return (_jsx("div", { className: styles.wrap, children: _jsxs(InstantSearch, { searchClient: searchClient, indexName: indexName, routing: {
|
|
113
|
-
router: history({ writeDelay: 300 }),
|
|
114
|
-
stateMapping: singleIndex(indexName),
|
|
115
|
-
}, children: [_jsx(QueryWatcher, { onChange: setSearchLongEnough }), _jsxs("div", { className: styles.topbar, children: [_jsx(SearchBox, { onKeyUp: (e) => {
|
|
116
|
-
setSearchLongEnough(e.currentTarget.value.length > 1);
|
|
117
|
-
}, autoFocus: true, classNames: { input: styles.searchInput }, placeholder: "Enter your search criteria here" }), _jsxs("div", { className: styles.pills, children: [_jsx("button", { className: `${styles.pill} ${!product ? styles.active : ""}`, onClick: () => searchLongEnough && setProduct(""), disabled: !searchLongEnough, children: "All" }), products.map((p) => (_jsx("button", { className: `${styles.pill} ${product === p ? styles.active : ""}`, onClick: () => searchLongEnough && setProduct(p), disabled: !searchLongEnough, children: p }, p)))] })] }), _jsx(Configure, { hitsPerPage: 20, attributesToRetrieve: [
|
|
118
|
-
"url",
|
|
119
|
-
"url_without_anchor",
|
|
120
|
-
"url_without_variables",
|
|
121
|
-
"anchor",
|
|
122
|
-
"hierarchy",
|
|
123
|
-
"product",
|
|
124
|
-
"content",
|
|
125
|
-
"title",
|
|
126
|
-
], attributesToHighlight: [
|
|
127
|
-
"title",
|
|
128
|
-
"hierarchy.lvl1",
|
|
129
|
-
"hierarchy.lvl2",
|
|
130
|
-
"content",
|
|
131
|
-
], attributesToSnippet: ["content:15"], snippetEllipsisText: "\u2026", distinct: true }), searchLongEnough && _jsx(ProductFilter, { product: product }), _jsxs("div", { className: clsx(styles.container, extraContainerClasses), children: [_jsxs("div", { className: styles.results, children: [_jsx("div", { className: styles.meta, children: _jsx(Stats, {}) }), _jsx("div", { className: styles.grid, children: _jsx(GroupedHits, {}) }), _jsx(Pagination, { showFirst: false, showLast: false, classNames: {
|
|
132
|
-
root: styles.pagination,
|
|
133
|
-
list: styles.pageList,
|
|
134
|
-
item: styles.pageItem,
|
|
135
|
-
selectedItem: styles.pageItemSelected,
|
|
136
|
-
disabledItem: styles.pageItemDisabled,
|
|
137
|
-
link: styles.pageLink,
|
|
138
|
-
} })] }), _jsxs("div", { className: styles.footer, children: [_jsxs("div", { className: styles.kbdRow, children: [_jsxs("span", { children: [_jsx("kbd", { children: "\u21B5" }), " open"] }), _jsxs("span", { children: [_jsx("kbd", { children: "\u2191" }), _jsx("kbd", { children: "\u2193" }), " navigate"] }), _jsxs("span", { children: [_jsx("kbd", { children: "esc" }), " close"] })] }), _jsx(PoweredBy, {})] })] })] }) }));
|
|
139
|
-
}
|
|
140
|
-
//# sourceMappingURL=ProductSearch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSearch.js","sourceRoot":"","sources":["../../../../src/components/ProductSearch/ProductSearch.tsx"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EACH,aAAa,EACb,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAS,EACT,KAAK,EACL,SAAS,EACT,OAAO,EACP,YAAY,EACZ,YAAY,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AAqBxB,SAAS,MAAM,CAAC,CAAS;IACrB,OAAO,UAAU,CACb,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK,QAAQ,IAAI,CAA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2BACZ,gCAAc,cACT,IACH,EACN,KAAC,SAAS,KAAG,IACX,IACJ,IACM,GACd,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/* src/components/ProductSearch.module.css */
|
|
2
|
-
|
|
3
|
-
/* ===== Layout ===== */
|
|
4
|
-
.wrap{max-width:980px;margin:0 auto;padding:1rem}
|
|
5
|
-
.topbar{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between;align-items:center;margin-bottom:.6rem}
|
|
6
|
-
.searchInput{
|
|
7
|
-
display:flex;
|
|
8
|
-
flex-grow:1;
|
|
9
|
-
height:44px;padding:0 .9rem;border-radius:12px;
|
|
10
|
-
border:1px solid var(--ifm-color-emphasis-300);background:var(--ifm-background-color);
|
|
11
|
-
transition:border-color .15s,box-shadow .15s,background .15s
|
|
12
|
-
}
|
|
13
|
-
.searchInput:focus{
|
|
14
|
-
outline:none;border-color:var(--ifm-color-primary);
|
|
15
|
-
box-shadow:0 0 0 3px color-mix(in oklab, var(--ifm-color-primary) 25%, transparent)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* ===== Pills ===== */
|
|
19
|
-
.pills{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}
|
|
20
|
-
.pill{
|
|
21
|
-
display:flex;
|
|
22
|
-
background: teal;
|
|
23
|
-
all:unset;cursor:pointer;user-select:none;
|
|
24
|
-
padding:.38rem .7rem;border:1px solid var(--ifm-color-emphasis-300);
|
|
25
|
-
border-radius:999px;background:linear-gradient(180deg,var(--ifm-background-color),color-mix(in oklab,var(--ifm-background-color) 85%, black));
|
|
26
|
-
font-size:.82rem;line-height:1;transition:transform .12s,box-shadow .12s,border-color .12s,background .12s
|
|
27
|
-
}
|
|
28
|
-
.pill:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
|
|
29
|
-
.pill[disabled]{opacity:.45;pointer-events:none}
|
|
30
|
-
.active{
|
|
31
|
-
background:linear-gradient(180deg,var(--ifm-color-primary),color-mix(in oklab,var(--ifm-color-primary) 85%, black));
|
|
32
|
-
color:#fff;border-color:var(--ifm-color-primary)
|
|
33
|
-
}
|
|
34
|
-
.activeChip{padding:.28rem .55rem;border:1px solid var(--ifm-color-emphasis-300);
|
|
35
|
-
border-radius:999px;background:var(--ifm-background-color);font-size:.75rem}
|
|
36
|
-
|
|
37
|
-
/* ===== Meta ===== */
|
|
38
|
-
.meta{display:flex;justify-content:space-between;align-items:center;margin:.35rem 0 .6rem;font-size:.86rem;color:var(--ifm-color-emphasis-700)}
|
|
39
|
-
|
|
40
|
-
/* ===== Grouped Hits ===== */
|
|
41
|
-
.grid{display:block}
|
|
42
|
-
.groupList{display:flex;flex-direction:column;gap:.7rem}
|
|
43
|
-
.group{
|
|
44
|
-
border:1px solid var(--ifm-color-emphasis-200);border-radius:14px;background:var(--ifm-background-color);
|
|
45
|
-
padding:.8rem .95rem;box-shadow:0 2px 10px rgba(0,0,0,.05);
|
|
46
|
-
transition:border-color .15s,box-shadow .15s,transform .12s
|
|
47
|
-
}
|
|
48
|
-
.group:hover{border-color:var(--ifm-color-primary);box-shadow:0 10px 24px rgba(0,0,0,.12);transform:translateY(-1px)}
|
|
49
|
-
.groupHeaderRow{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
|
|
50
|
-
.groupHeader{display:block;font-weight:800;letter-spacing:.2px;font-size:1.02rem;margin:0;text-decoration:none;color:var(--ifm-font-color-base)}
|
|
51
|
-
.breadcrumb{font-size:.76rem;color:var(--ifm-color-emphasis-700);margin:.08rem 0 .35rem}
|
|
52
|
-
.groupSnips{display:flex;flex-direction:column;gap:.3rem}
|
|
53
|
-
.snippet {
|
|
54
|
-
font-size:.92rem;
|
|
55
|
-
color:var(--ifm-color-emphasis-800);
|
|
56
|
-
line-height:1.35;
|
|
57
|
-
position:relative;
|
|
58
|
-
padding-left:1rem;
|
|
59
|
-
white-space:nowrap;
|
|
60
|
-
overflow:hidden;
|
|
61
|
-
text-overflow:ellipsis;
|
|
62
|
-
}
|
|
63
|
-
.snippet::before {
|
|
64
|
-
content:"▸";
|
|
65
|
-
position:absolute;
|
|
66
|
-
left:0;
|
|
67
|
-
color:var(--ifm-color-primary);
|
|
68
|
-
font-weight:700;
|
|
69
|
-
}
|
|
70
|
-
.groupUrl{
|
|
71
|
-
font-family:var(--content-font-family);
|
|
72
|
-
margin-top:.3rem;
|
|
73
|
-
white-space:nowrap;
|
|
74
|
-
overflow:hidden;
|
|
75
|
-
text-overflow:ellipsis
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/* ===== Badges ===== */
|
|
79
|
-
.badge{padding:.16rem .55rem;border-radius:999px;font-size:.72rem;border:1px solid var(--ifm-color-emphasis-300)}
|
|
80
|
-
.p_frontdoor{background:#e8f3ff;border-color:#c6e1ff;color:#145ea8}
|
|
81
|
-
.p_openziti{background:#e9fff3;border-color:#c8f2df;color:#0d7a4e}
|
|
82
|
-
.p_onprem{background:#fff3e8;border-color:#ffdcbf;color:#9a4d00}
|
|
83
|
-
.p_zlan{background:#f1edff;border-color:#d9d0ff;color:#5335b7}
|
|
84
|
-
|
|
85
|
-
/* ===== Pagination ===== */
|
|
86
|
-
.pagination{display:flex;justify-content:center;margin:.8rem 0}
|
|
87
|
-
.pageList{display:flex;gap:.35rem;list-style:none;padding:0;margin:0}
|
|
88
|
-
.pageItem{display:inline-flex}
|
|
89
|
-
.pageItemDisabled{opacity:.45;pointer-events:none}
|
|
90
|
-
.pageItemSelected .pageLink{background:var(--ifm-color-primary);color:#fff;border-color:var(--ifm-color-primary)}
|
|
91
|
-
.pageLink{
|
|
92
|
-
display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .6rem;
|
|
93
|
-
border:1px solid var(--ifm-color-emphasis-300);border-radius:.55rem;text-decoration:none;font-size:.82rem;
|
|
94
|
-
transition:transform .12s,background .12s,border-color .12s
|
|
95
|
-
}
|
|
96
|
-
.pageLink:hover{transform:translateY(-1px);border-color:var(--ifm-color-primary)}
|
|
97
|
-
|
|
98
|
-
/* ===== Highlights ===== */
|
|
99
|
-
:global(mark){
|
|
100
|
-
background:#ffe955;color:inherit;border-radius:3px;box-shadow:0 0 0 2px rgba(255,233,85,.25) inset
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* ===== Dark mode tweaks ===== */
|
|
104
|
-
:global(html[data-theme='dark']) .group{border-color:rgba(255,255,255,.09);box-shadow:0 2px 10px rgba(0,0,0,.35)}
|
|
105
|
-
:global(html[data-theme='dark']) .breadcrumb{color:var(--ifm-color-emphasis-600)}
|
|
106
|
-
:global(html[data-theme='dark']) .groupUrl{opacity:.95}
|
|
107
|
-
:global(html[data-theme='dark']) .pill{background:linear-gradient(180deg,#1b1b1d,#161618);border-color:rgba(255,255,255,.08)}
|
|
108
|
-
|
|
109
|
-
/* ===== DocSearch modal polish ===== */
|
|
110
|
-
:global(.DocSearch-Modal){border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.35)}
|
|
111
|
-
:global(.DocSearch-Input){height:48px;border-radius:12px}
|
|
112
|
-
:global(.DocSearch-Hit){border-radius:12px}
|
|
113
|
-
:global(.DocSearch-Hit a){border-radius:12px}
|
|
114
|
-
:global(.DocSearch-Hit-source){color:var(--ifm-color-primary)}
|
|
115
|
-
:global(.DocSearch-Footer){border-top:1px solid var(--ifm-color-emphasis-200)}
|
|
116
|
-
|
|
117
|
-
:global(.ais-SearchBox) { width: 100%; }
|
|
118
|
-
|
|
119
|
-
:global(.ais-SearchBox-form) {
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
width: 100%;
|
|
123
|
-
gap:.55rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
:global(.ais-SearchBox-input),
|
|
127
|
-
:global(.searchInput_ps_s) {
|
|
128
|
-
flex: 1 1 auto;
|
|
129
|
-
min-width: 0;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
:global(.ais-SearchBox-submit),
|
|
133
|
-
:global(.ais-SearchBox-reset),
|
|
134
|
-
:global(.ais-SearchBox-loadingIndicator) {
|
|
135
|
-
flex: 0 0 auto;
|
|
136
|
-
}
|
|
137
|
-
:global(.ais-SearchBox-submitIcon) {
|
|
138
|
-
height: .75rem;
|
|
139
|
-
width: .75rem;
|
|
140
|
-
}
|
|
141
|
-
:global(.ais-SearchBox-reset) {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
.container{display:flex;flex-direction:column;flex-grow:1}
|
|
147
|
-
.results{flex:1 1 auto;overflow:auto}
|
|
148
|
-
|
|
149
|
-
.footer{
|
|
150
|
-
position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;
|
|
151
|
-
gap:.75rem;background:var(--ifm-background-color);
|
|
152
|
-
border-top:1px solid var(--ifm-color-emphasis-200);
|
|
153
|
-
padding:.55rem .7rem;z-index:1;backdrop-filter:saturate(140%) blur(4px)
|
|
154
|
-
}
|
|
155
|
-
.kbdRow{display:flex;gap:.8rem;font-size:.82rem;color:var(--ifm-color-emphasis-700)}
|
|
156
|
-
.kbdRow kbd{border:1px solid var(--ifm-color-emphasis-300);border-bottom-width:2px;border-radius:7px;padding:.06rem .38rem;font-family:inherit}
|
|
157
|
-
|
|
158
|
-
.footer :global(.ais-PoweredBy){margin:0}
|
|
159
|
-
.footer :global(.ais-PoweredBy-logo){height:1rem}
|
|
160
|
-
|
|
161
|
-
/* tighten typographic weight in nested rows inside groups */
|
|
162
|
-
.groupList > div > div {color:var(--ifm-color-primary);}
|
|
163
|
-
|
|
164
|
-
/* Match pill colors to badge colors */
|
|
165
|
-
.pill.active[data-product="frontdoor"] {
|
|
166
|
-
background: #e8f3ff;
|
|
167
|
-
border-color: #c6e1ff;
|
|
168
|
-
color: #145ea8;
|
|
169
|
-
}
|
|
170
|
-
.pill.active[data-product="openziti"] {
|
|
171
|
-
background: #e9fff3;
|
|
172
|
-
border-color: #c8f2df;
|
|
173
|
-
color: #0d7a4e;
|
|
174
|
-
}
|
|
175
|
-
.pill.active[data-product="onprem"] {
|
|
176
|
-
background: #fff3e8;
|
|
177
|
-
border-color: #ffdcbf;
|
|
178
|
-
color: #9a4d00;
|
|
179
|
-
}
|
|
180
|
-
.pill.active[data-product="zlan"] {
|
|
181
|
-
background: #f1edff;
|
|
182
|
-
border-color: #d9d0ff;
|
|
183
|
-
color: #5335b7;
|
|
184
|
-
}
|
|
185
|
-
.pill.active[data-product="zrok"] {
|
|
186
|
-
background: #fff0f0;
|
|
187
|
-
border-color: #ffd0d0;
|
|
188
|
-
color: #b71c1c;
|
|
189
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSearch/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ProductSearch/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.d.ts","sourceRoot":"","sources":["../../../theme/BlogPostPage/Metadata.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,2DAA2D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../../theme/BlogPostPage/Metadata.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,2DAA2D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredData.d.ts","sourceRoot":"","sources":["../../../theme/BlogPostPage/StructuredData.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,iEAAiE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredData.js","sourceRoot":"","sources":["../../../theme/BlogPostPage/StructuredData.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,iEAAiE,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import { ReactNode } from 'react';
|
|
8
|
-
interface BlogPostPageProps {
|
|
9
|
-
content: any;
|
|
10
|
-
sidebar: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export default function BlogPostPage(props: BlogPostPageProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../theme/BlogPostPage/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAc,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AA6DvC,UAAU,iBAAiB;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAsB5D"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { HtmlClassNameProvider, ThemeClassNames } from '@docusaurus/theme-common';
|
|
4
|
-
import { BlogPostProvider, useBlogPost, } from '@docusaurus/plugin-content-blog/client';
|
|
5
|
-
import BlogLayout from '@theme/BlogLayout';
|
|
6
|
-
import BlogPostItem from '@theme/BlogPostItem';
|
|
7
|
-
import BlogPostPaginator from '@theme/BlogPostPaginator';
|
|
8
|
-
import BlogPostPageMetadata from '@theme/BlogPostPage/Metadata';
|
|
9
|
-
import BlogPostPageStructuredData from '@theme/BlogPostPage/StructuredData';
|
|
10
|
-
import TOC from '@theme/TOC';
|
|
11
|
-
import ContentVisibility from '@theme/ContentVisibility';
|
|
12
|
-
import styles from './index.module.css';
|
|
13
|
-
function BlogPostPageContent({ sidebar, children }) {
|
|
14
|
-
const { metadata, toc } = useBlogPost();
|
|
15
|
-
const { nextItem, prevItem, frontMatter } = metadata;
|
|
16
|
-
const { hide_table_of_contents: hideTableOfContents, toc_min_heading_level: tocMinHeadingLevel, toc_max_heading_level: tocMaxHeadingLevel, } = frontMatter;
|
|
17
|
-
return (_jsxs(BlogLayout, { sidebar: sidebar, toc: !hideTableOfContents && toc.length > 0 ? (_jsx(TOC, { toc: toc, minHeadingLevel: tocMinHeadingLevel, maxHeadingLevel: tocMaxHeadingLevel })) : undefined, children: [_jsx(ContentVisibility, { metadata: metadata }), _jsxs(BlogPostItem, { children: [(nextItem || prevItem) && (_jsxs("div", { className: styles.topPaginator, children: [_jsx(BlogPostPaginator, { nextItem: nextItem, prevItem: prevItem }), _jsx("hr", {})] })), children] }), (nextItem || prevItem) && (_jsx(BlogPostPaginator, { nextItem: nextItem, prevItem: prevItem }))] }));
|
|
18
|
-
}
|
|
19
|
-
export default function BlogPostPage(props) {
|
|
20
|
-
const BlogPostContent = props.content;
|
|
21
|
-
const BlogPostProviderComp = BlogPostProvider;
|
|
22
|
-
const HtmlClassNameProviderComp = HtmlClassNameProvider;
|
|
23
|
-
const BlogPostPageMetadataComp = BlogPostPageMetadata;
|
|
24
|
-
const BlogPostPageStructuredDataComp = BlogPostPageStructuredData;
|
|
25
|
-
return (_jsx(BlogPostProviderComp, { content: props.content, isBlogPostPage: true, children: _jsxs(HtmlClassNameProviderComp, { className: clsx(ThemeClassNames.wrapper.blogPages, ThemeClassNames.page.blogPostPage), children: [_jsx(BlogPostPageMetadataComp, {}), _jsx(BlogPostPageStructuredDataComp, {}), _jsx(BlogPostPageContent, { sidebar: props.sidebar, children: _jsx(BlogPostContent, {}) })] }) }));
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../theme/BlogPostPage/index.tsx"],"names":[],"mappings":";AAOA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAC,qBAAqB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAChF,OAAO,EACH,gBAAgB,EAChB,WAAW,GACd,MAAM,wCAAwC,CAAC;AAChD,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,iBAAiB,MAAM,0BAA0B,CAAC;AACzD,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAChE,OAAO,0BAA0B,MAAM,oCAAoC,CAAC;AAC5E,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,iBAAiB,MAAM,0BAA0B,CAAC;AACzD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAOxC,SAAS,mBAAmB,CAAC,EAAC,OAAO,EAAE,QAAQ,EAA2B;IACtE,MAAM,EAAC,QAAQ,EAAE,GAAG,EAAC,GAAG,WAAW,EAAE,CAAC;IACtC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAC,GAAG,QAAQ,CAAC;IACnD,MAAM,EACF,sBAAsB,EAAE,mBAAmB,EAC3C,qBAAqB,EAAE,kBAAkB,EACzC,qBAAqB,EAAE,kBAAkB,GAC5C,GAAG,WAAW,CAAC;IAEhB,OAAO,CACH,MAAC,UAAU,IACP,OAAO,EAAE,OAAO,EAChB,GAAG,EACC,CAAC,mBAAmB,IAAI,GAAG,C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AC;AACN,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* scope to your wrapper div className={styles.topPaginator} */
|
|
2
|
-
.topPaginator {
|
|
3
|
-
margin: 0 0 .5rem 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* reset Docusaurus paginator layout */
|
|
7
|
-
.topPaginator :global(.pagination-nav) {
|
|
8
|
-
margin: 0 !important;
|
|
9
|
-
padding: 0 !important;
|
|
10
|
-
display: flex !important;
|
|
11
|
-
justify-content: space-between !important;
|
|
12
|
-
align-items: center !important;
|
|
13
|
-
gap: 2rem !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* kill the card look */
|
|
17
|
-
.topPaginator :global(.pagination-nav__link) {
|
|
18
|
-
background: none !important;
|
|
19
|
-
border: 0 !important;
|
|
20
|
-
box-shadow: none !important;
|
|
21
|
-
padding: 0 !important;
|
|
22
|
-
margin: 0 !important;
|
|
23
|
-
min-height: auto !important;
|
|
24
|
-
display: inline-flex !important;
|
|
25
|
-
align-items: center !important;
|
|
26
|
-
color: var(--ifm-link-color) !important;
|
|
27
|
-
font-weight: 600;
|
|
28
|
-
line-height: 1.2;
|
|
29
|
-
text-decoration: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.topPaginator :global(.pagination-nav__link:hover) {
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* hide “Newer post / Older post” sublabels */
|
|
37
|
-
.topPaginator :global(.pagination-nav__sublabel) {
|
|
38
|
-
display: none !important;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* keep only the titles inline */
|
|
42
|
-
.topPaginator :global(.pagination-nav__label) {
|
|
43
|
-
display: inline !important;
|
|
44
|
-
padding: 0 !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* add chevrons automatically */
|
|
48
|
-
.topPaginator :global(.pagination-nav__link--prev .pagination-nav__label)::before {
|
|
49
|
-
content: "« ";
|
|
50
|
-
}
|
|
51
|
-
.topPaginator :global(.pagination-nav__link--next .pagination-nav__label)::after {
|
|
52
|
-
content: " »";
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../theme/DocSearch/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAgD9C,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,KAAK,2CAyBpD"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
// src/theme/DocSearch/index.tsx
|
|
3
|
-
import { useMemo, useState, useEffect } from "react";
|
|
4
|
-
import OriginalDocSearch from "@theme-original/DocSearch";
|
|
5
|
-
import { createPortal } from "react-dom";
|
|
6
|
-
import styles from "./styles.module.css";
|
|
7
|
-
const PRODUCTS = ["frontdoor", "openziti", "onprem", "zlan"];
|
|
8
|
-
function Pills({ product, setProduct, }) {
|
|
9
|
-
const [host, setHost] = useState(null);
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
const el = document.querySelector(".DocSearch-Modal .DocSearch-Form")?.parentElement ??
|
|
12
|
-
null;
|
|
13
|
-
setHost(el || null);
|
|
14
|
-
}, []);
|
|
15
|
-
if (!host)
|
|
16
|
-
return null;
|
|
17
|
-
return createPortal(_jsxs("div", { className: styles.pills, children: [_jsx("button", { type: "button", className: `${styles.pill} ${!product ? styles.active : ""}`, onClick: () => setProduct(""), children: "All" }), PRODUCTS.map((p) => (_jsx("button", { type: "button", className: `${styles.pill} ${product === p ? styles.active : ""}`, onClick: () => setProduct(p), children: p }, p)))] }), host);
|
|
18
|
-
}
|
|
19
|
-
export default function DocSearchWrapper(props) {
|
|
20
|
-
const [product, setProduct] = useState("");
|
|
21
|
-
const transformSearchParameters = useMemo(() => (params) => ({
|
|
22
|
-
...params,
|
|
23
|
-
facetFilters: [
|
|
24
|
-
...(params.facetFilters ?? []),
|
|
25
|
-
...(product ? [`product:${product}`] : []),
|
|
26
|
-
],
|
|
27
|
-
}), [product]);
|
|
28
|
-
return (_jsxs(_Fragment, { children: [_jsx(OriginalDocSearch, { ...props, transformSearchParameters: transformSearchParameters }), _jsx(Pills, { product: product, setProduct: setProduct })] }));
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../theme/DocSearch/index.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,OAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,MAAM,QAAQ,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAEtE,SAAS,KAAK,CAAC,EACI,OAAO,EACP,UAAU,GAI5B;IACG,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAqB,IAAI,CAAC,CAAC;IAE3D,SAAS,CAAC,GAAG,EAAE;QACX,MAAM,EAAE,GACJ,QAAQ,CAAC,aAAa,CAAC,kCAAkC,CAAC,EAAE,aAAa;YACzE,IAAI,CAAC;QACT,OAAO,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAEvB,OAAO,YAAY,CACf,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aACxB,iBACI,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,IAAI,C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
-
.pills{
|
|
3
|
-
display:flex;gap:.4rem;align-items:center;margin-top:.4rem;
|
|
4
|
-
padding:.25rem .25rem .35rem .25rem;flex-wrap:wrap
|
|
5
|
-
}
|
|
6
|
-
.pill{
|
|
7
|
-
padding:.35rem .7rem;border:1px solid var(--ifm-color-emphasis-300);
|
|
8
|
-
border-radius:999px;background:transparent;cursor:pointer;font-size:.85rem
|
|
9
|
-
}
|
|
10
|
-
.active{
|
|
11
|
-
background:var(--ifm-color-primary);color:#fff;border-color:var(--ifm-color-primary)
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { JSX } from 'react';
|
|
2
|
-
import OriginalNavbarContent from '@theme-original/Navbar/Content';
|
|
3
|
-
type Props = React.ComponentProps<typeof OriginalNavbarContent>;
|
|
4
|
-
export default function NavbarContent(props: Props): JSX.Element;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../theme/Navbar/Content/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAIjC,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AAWnE,KAAK,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAsC/D"}
|