@netfoundry/docusaurus-theme 0.10.16 → 0.10.19
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/product-picker.css +1 -1
- package/dist/css/product-picker.css +1 -1
- package/dist/theme/NavbarItem/types/VersionDropdown/index.js +1 -1
- package/dist/theme/NavbarItem/types/VersionDropdown/index.js.map +1 -1
- package/package.json +1 -1
- package/theme/NavbarItem/types/VersionDropdown/index.tsx +1 -1
package/css/product-picker.css
CHANGED
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
transition: all 0.2s ease;
|
|
175
175
|
border-radius: 8px;
|
|
176
176
|
}
|
|
177
|
-
.picker-link:hover { background: rgba(0, 118, 255, 0.06);
|
|
177
|
+
.picker-link:hover { background: rgba(0, 118, 255, 0.06); text-decoration: none; }
|
|
178
178
|
.picker-link strong { color: var(--ifm-font-color-base); font-size: 0.95rem; font-weight: 900; letter-spacing: -0.02em; display: block; text-decoration: none; }
|
|
179
179
|
.picker-link span { color: #64748b; font-size: 0.82rem; display: block; margin-top: 2px; line-height: 1.35; text-decoration: none; }
|
|
180
180
|
.nf-picker-panel--narrow .picker-link span { white-space: nowrap; }
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
transition: all 0.2s ease;
|
|
175
175
|
border-radius: 8px;
|
|
176
176
|
}
|
|
177
|
-
.picker-link:hover { background: rgba(0, 118, 255, 0.06);
|
|
177
|
+
.picker-link:hover { background: rgba(0, 118, 255, 0.06); text-decoration: none; }
|
|
178
178
|
.picker-link strong { color: var(--ifm-font-color-base); font-size: 0.95rem; font-weight: 900; letter-spacing: -0.02em; display: block; text-decoration: none; }
|
|
179
179
|
.picker-link span { color: #64748b; font-size: 0.82rem; display: block; margin-top: 2px; line-height: 1.35; text-decoration: none; }
|
|
180
180
|
.nf-picker-panel--narrow .picker-link span { white-space: nowrap; }
|
|
@@ -6,6 +6,6 @@ export default function VersionDropdown({ pathPrefix, docsPluginId, position })
|
|
|
6
6
|
const { pathname } = useLocation();
|
|
7
7
|
if (!pathname.startsWith(pathPrefix))
|
|
8
8
|
return null;
|
|
9
|
-
return _jsx(NavbarItem, { type: "docsVersionDropdown", docsPluginId: docsPluginId, position: position, dropdownItemsBefore: [], dropdownItemsAfter: [] });
|
|
9
|
+
return _jsx(NavbarItem, { type: "docsVersionDropdown", docsPluginId: docsPluginId, position: position, dropdownItemsBefore: [], dropdownItemsAfter: [], className: "nf-picker-trigger" });
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../theme/NavbarItem/types/VersionDropdown/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,UAAU,GAAG,cAA0C,CAAC;AAQ9D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAC,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAQ;IACjF,MAAM,EAAC,QAAQ,EAAC,GAAG,WAAW,EAAE,CAAC;IACjC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAClD,OAAO,KAAC,UAAU,IAAC,IAAI,EAAC,qBAAqB,EAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,EAAE,kBAAkB,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../theme/NavbarItem/types/VersionDropdown/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,UAAU,GAAG,cAA0C,CAAC;AAQ9D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAC,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAQ;IACjF,MAAM,EAAC,QAAQ,EAAC,GAAG,WAAW,EAAE,CAAC;IACjC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAClD,OAAO,KAAC,UAAU,IAAC,IAAI,EAAC,qBAAqB,EAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,SAAS,EAAC,mBAAmB,GAAG,CAAC;AAClL,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,5 +13,5 @@ type Props = {
|
|
|
13
13
|
export default function VersionDropdown({pathPrefix, docsPluginId, position}: Props) {
|
|
14
14
|
const {pathname} = useLocation();
|
|
15
15
|
if (!pathname.startsWith(pathPrefix)) return null;
|
|
16
|
-
return <NavbarItem type="docsVersionDropdown" docsPluginId={docsPluginId} position={position} dropdownItemsBefore={[]} dropdownItemsAfter={[]} />;
|
|
16
|
+
return <NavbarItem type="docsVersionDropdown" docsPluginId={docsPluginId} position={position} dropdownItemsBefore={[]} dropdownItemsAfter={[]} className="nf-picker-trigger" />;
|
|
17
17
|
}
|