@portosaur/theme 0.3.0 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portosaur/theme",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Theme components for Portosaur - React components, static assets etc.",
5
5
  "license": "GPL-3.0-only",
6
6
  "author": "soymadip",
@@ -24,7 +24,8 @@
24
24
  },
25
25
  "./assets/*": "./assets/*",
26
26
  "./plugins/*": "./plugins/*",
27
- "./theme/*": "./theme/*"
27
+ "./theme/*": "./theme/*",
28
+ "./components/*": "./components/*"
28
29
  },
29
30
  "dependencies": {
30
31
  "@docusaurus/core": "^3.10.1",
@@ -33,7 +34,7 @@
33
34
  "@easyops-cn/docusaurus-search-local": "^0.55.1",
34
35
  "@fontsource-variable/lexend": "^5.2.11",
35
36
  "@fontsource/alata": "^5.2.8",
36
- "@portosaur/core": "^0.3.0",
37
+ "@portosaur/core": "^0.5.0",
37
38
  "chalk": "^5.6.2",
38
39
  "clsx": "^2.1.1",
39
40
  "favicons": "^7.2.0",
@@ -4,17 +4,20 @@ import Tabs from "@theme/Tabs";
4
4
  import TabItem from "@theme/TabItem";
5
5
  import { Pv, SrcPv } from "./components/Preview/index.js";
6
6
  import Tooltip from "./components/Tooltip/index.js";
7
- import NoteCards from "./components/NoteCards/index.jsx";
8
7
  import TopicList from "./components/TopicList/index.jsx";
8
+ import Indent from "./components/Indent/index.jsx";
9
+
10
+ // Make useful Custom Components available by default
9
11
  const components = {
10
12
  ...MDXComponents,
11
13
  Pv,
12
14
  SrcPv,
13
15
  TopicList,
14
- NoteCards,
15
16
  Details,
16
17
  Tabs,
17
18
  TabItem,
18
19
  Tooltip,
20
+ Indent,
19
21
  };
22
+
20
23
  export default components;
@@ -4,6 +4,7 @@ import { usePluginData } from "@docusaurus/useGlobalData";
4
4
  import NavArrow from "../components/NavArrow/index.jsx";
5
5
  import HashNavigation from "../utils/HashNavigation.jsx";
6
6
  import ScrollToTop from "../components/ScrollToTop/index.jsx";
7
+
7
8
  const style = {
8
9
  notesContainer: { padding: "2rem 0", maxWidth: "1200px", margin: "0 auto" },
9
10
  pageTitle: {