@netfoundry/docusaurus-theme 0.1.6 → 0.1.8

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/legacy.css CHANGED
@@ -2345,3 +2345,13 @@ aside nav {
2345
2345
  margin-bottom: 70px; /* with the hide menu button on small screens, it obscures the last menu item without this */
2346
2346
  }
2347
2347
  }
2348
+
2349
+ /*
2350
+ starting with docusaurus 3.8 they have implemented css layers. these layers need to be
2351
+ overridden here to ensure styles are applied properly
2352
+ */
2353
+ @layer docusaurus.infima {
2354
+ .margin-top--md {
2355
+ margin-top: 0 !important;
2356
+ }
2357
+ }
@@ -2345,3 +2345,13 @@ aside nav {
2345
2345
  margin-bottom: 70px; /* with the hide menu button on small screens, it obscures the last menu item without this */
2346
2346
  }
2347
2347
  }
2348
+
2349
+ /*
2350
+ starting with docusaurus 3.8 they have implemented css layers. these layers need to be
2351
+ overridden here to ensure styles are applied properly
2352
+ */
2353
+ @layer docusaurus.infima {
2354
+ .margin-top--md {
2355
+ margin-top: 0 !important;
2356
+ }
2357
+ }
@@ -13,6 +13,6 @@ export function OsTabs(props) {
13
13
  setDefaultValue('Windows');
14
14
  }
15
15
  }, []);
16
- return (_jsx(_Fragment, { children: _jsx(OriginalTabs, { ...props, defaultValue: defaultValue, children: props.children }) }));
16
+ return (_jsx(_Fragment, { children: _jsx(OriginalTabs, { ...props, defaultValue: defaultValue ?? undefined, children: props.children }) }));
17
17
  }
18
18
  //# sourceMappingURL=OsTabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OsTabs.js","sourceRoot":"","sources":["../../../../src/components/OsTabs/OsTabs.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAC,QAAQ,EAAE,SAAS,EAAiB,MAAM,OAAO,CAAC;AACjE,OAAO,YAAY,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM7C,MAAM,UAAU,MAAM,CAAC,KAAkB;I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,CAAC;IAEP,OAAO,CACH,4BACI,KAAC,YAAY,OAAK,KAAK,EAAE,YAAY,EAAE,YAAY,IAAI,SAAS,YAC3D,KAAK,CAAC,QAAQ,GACJ,GAGhB,CACN,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netfoundry/docusaurus-theme",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "NetFoundry Docusaurus theme with shared layout, footer, and styling",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -54,6 +54,7 @@
54
54
  "@docusaurus/theme-classic": "^3",
55
55
  "@docusaurus/theme-common": "^3",
56
56
  "@docusaurus/types": "^3",
57
+ "@types/js-yaml": "^4.0.9",
57
58
  "@types/react": "^18",
58
59
  "@types/react-dom": "^18",
59
60
  "jest": "^30.0.4",