vite-plugin-react-deck 1.1.5 → 1.4.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": "vite-plugin-react-deck",
3
- "version": "1.1.5",
3
+ "version": "1.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",
@@ -22,16 +22,16 @@
22
22
  "fast refresh"
23
23
  ],
24
24
  "dependencies": {
25
- "@mdx-js/mdx": "^3.0.1",
26
- "@mdx-js/react": "^3.0.1",
27
- "@swc/core": "^1.5.7",
28
- "glob": "^10.3.15",
25
+ "@mdx-js/mdx": "^3.1.1",
26
+ "@mdx-js/react": "^3.1.1",
27
+ "@swc/core": "^1.15.18",
28
+ "glob": "^13.0.6",
29
29
  "gray-matter": "^4.0.3",
30
- "hastscript": "^9.0.0",
31
- "lodash": "^4.17.21",
32
- "remark-directive": "^3.0.0",
33
- "remark-gfm": "^4.0.0",
34
- "unist-util-visit": "^5.0.0",
35
- "zod": "^3.23.8"
30
+ "hastscript": "^9.0.1",
31
+ "lodash": "^4.17.23",
32
+ "remark-directive": "^4.0.0",
33
+ "remark-gfm": "^4.0.1",
34
+ "unist-util-visit": "^5.1.0",
35
+ "zod": "^4.3.6"
36
36
  }
37
37
  }
package/slides.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ReactDeckOptions } from "./types";
1
+ import type { ReactDeckOptions } from "./types";
2
2
  type CompileOptions = Pick<ReactDeckOptions, "rehypePlugins" | "remarkPlugins">;
3
3
  /**
4
4
  * Slides are separated by "---" in the markdown file.
package/themes/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * as green from "./green";
2
2
  export * as purple from "./purple";
3
+ export * as solarizedLight from "./solarized-light";
@@ -0,0 +1,11 @@
1
+ export declare const themeTokens: {
2
+ colors: {
3
+ primary: string;
4
+ secondary: string;
5
+ tertiary: string;
6
+ };
7
+ fonts: {
8
+ header: string;
9
+ text: string;
10
+ };
11
+ };
package/types.d.ts CHANGED
@@ -2,13 +2,16 @@ import { z } from "zod";
2
2
  export interface ReactDeckOptions {
3
3
  rehypePlugins: any[];
4
4
  remarkPlugins: any[];
5
- theme: "green" | "purple";
5
+ theme: "green" | "purple" | "solarized-light";
6
+ /** Show the talks listing page. Defaults to true in dev, false in production. */
7
+ startupPage?: boolean;
6
8
  }
7
9
  export declare const PestacleConfigSchema: z.ZodObject<{
8
- theme: z.ZodDefault<z.ZodEnum<["green", "purple"]>>;
9
- }, "strip", z.ZodTypeAny, {
10
- theme?: "green" | "purple";
11
- }, {
12
- theme?: "green" | "purple";
13
- }>;
10
+ theme: z.ZodDefault<z.ZodEnum<{
11
+ green: "green";
12
+ purple: "purple";
13
+ "solarized-light": "solarized-light";
14
+ }>>;
15
+ startupPage: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strip>;
14
17
  export type PestacleConfig = z.infer<typeof PestacleConfigSchema>;