@silicajs/theme-amethyst 0.2.3 → 0.2.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/callout.d.ts +2 -2
- package/dist/code-block.d.ts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/index.d.ts +4 -5
- package/dist/mermaid.d.ts +2 -2
- package/dist/sidebar.d.ts +2 -2
- package/package.json +5 -5
package/dist/callout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type CalloutProps = HTMLAttributes<HTMLElement> & {
|
|
@@ -7,6 +7,6 @@ type CalloutProps = HTMLAttributes<HTMLElement> & {
|
|
|
7
7
|
"data-callout-foldable"?: string;
|
|
8
8
|
"data-callout-open"?: string;
|
|
9
9
|
};
|
|
10
|
-
declare function Callout({ children, className, "data-callout": callout, "data-callout-title": title, "data-callout-foldable": foldable, "data-callout-open": open, ...props }: CalloutProps):
|
|
10
|
+
declare function Callout({ children, className, "data-callout": callout, "data-callout-title": title, "data-callout-foldable": foldable, "data-callout-open": open, ...props }: CalloutProps): react.JSX.Element;
|
|
11
11
|
|
|
12
12
|
export { Callout, type CalloutProps };
|
package/dist/code-block.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type CodeBlockProps = HTMLAttributes<HTMLElement> & {
|
|
5
5
|
"data-language"?: string;
|
|
6
6
|
"data-language-label"?: string;
|
|
7
7
|
};
|
|
8
|
-
declare function CodeBlock({ children, className, "data-language": language, "data-language-label": languageLabel, ...props }: CodeBlockProps):
|
|
8
|
+
declare function CodeBlock({ children, className, "data-language": language, "data-language-label": languageLabel, ...props }: CodeBlockProps): react.JSX.Element;
|
|
9
9
|
|
|
10
10
|
export { CodeBlock, type CodeBlockProps };
|
package/dist/embed.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type EmbedProps = HTMLAttributes<HTMLElement> & {
|
|
@@ -6,6 +6,6 @@ type EmbedProps = HTMLAttributes<HTMLElement> & {
|
|
|
6
6
|
"data-embed-target"?: string;
|
|
7
7
|
src?: string;
|
|
8
8
|
};
|
|
9
|
-
declare function Embed({ children, className, "data-embed-kind": kind, "data-embed-target": target, src, ...props }: EmbedProps):
|
|
9
|
+
declare function Embed({ children, className, "data-embed-kind": kind, "data-embed-target": target, src, ...props }: EmbedProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { Embed, type EmbedProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ThemePageProps, ThemeRootLayoutProps, ThemeSiteLayoutProps } from '@silicajs/core/theme';
|
|
3
3
|
import { Callout } from './callout.js';
|
|
4
4
|
import { CodeBlock } from './code-block.js';
|
|
5
5
|
import { Embed } from './embed.js';
|
|
6
6
|
import { Mermaid } from './mermaid.js';
|
|
7
|
-
import 'react';
|
|
8
7
|
|
|
9
|
-
declare function RootLayout({ config, children, Provider, }: ThemeRootLayoutProps):
|
|
10
|
-
declare function SiteLayout({ navigationEndpoint, config, children, }: ThemeSiteLayoutProps):
|
|
11
|
-
declare function PageRenderer({ page, breadcrumbs, backlinks }: ThemePageProps):
|
|
8
|
+
declare function RootLayout({ config, children, Provider, }: ThemeRootLayoutProps): react.JSX.Element;
|
|
9
|
+
declare function SiteLayout({ navigationEndpoint, config, children, }: ThemeSiteLayoutProps): react.JSX.Element;
|
|
10
|
+
declare function PageRenderer({ page, breadcrumbs, backlinks }: ThemePageProps): react.JSX.Element;
|
|
12
11
|
declare const components: {
|
|
13
12
|
"silica-callout": typeof Callout;
|
|
14
13
|
"silica-code-block": typeof CodeBlock;
|
package/dist/mermaid.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type MermaidProps = HTMLAttributes<HTMLElement> & {
|
|
5
5
|
"data-source"?: string;
|
|
6
6
|
};
|
|
7
|
-
declare function Mermaid({ children, className, "data-source": source, ...props }: MermaidProps):
|
|
7
|
+
declare function Mermaid({ children, className, "data-source": source, ...props }: MermaidProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { Mermaid, type MermaidProps };
|
package/dist/sidebar.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ThemeLayoutConfig } from '@silicajs/core/theme';
|
|
3
3
|
|
|
4
4
|
type SidebarProps = {
|
|
5
5
|
navigationEndpoint: string;
|
|
6
6
|
config: ThemeLayoutConfig;
|
|
7
7
|
};
|
|
8
|
-
declare function Sidebar({ navigationEndpoint, config }: SidebarProps):
|
|
8
|
+
declare function Sidebar({ navigationEndpoint, config }: SidebarProps): react.JSX.Element;
|
|
9
9
|
|
|
10
10
|
export { Sidebar, type SidebarProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silicajs/theme-amethyst",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Amethyst theme for Silica — Tailwind v4 + Base UI, violet accent, Mintlify-style layout.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"test": "vitest run --passWithNoTests"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@silicajs/components": "^0.2.
|
|
28
|
-
"@silicajs/core": "^0.
|
|
27
|
+
"@silicajs/components": "^0.2.4",
|
|
28
|
+
"@silicajs/core": "^0.6.1",
|
|
29
29
|
"@silicajs/ui": "^0.1.2",
|
|
30
|
-
"@tailwindcss/typography": "^0.5.
|
|
30
|
+
"@tailwindcss/typography": "^0.5.20",
|
|
31
31
|
"class-variance-authority": "^0.7.1",
|
|
32
32
|
"lucide-react": "^1.17.0"
|
|
33
33
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"react-dom": "^19.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/react": "^19.2.
|
|
39
|
+
"@types/react": "^19.2.17",
|
|
40
40
|
"@types/react-dom": "^19.2.3",
|
|
41
41
|
"react": "^19.2.6",
|
|
42
42
|
"react-dom": "^19.2.7",
|