@lonik/prestige 0.3.7 → 0.3.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/dist/ui.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { n as SidebarType } from "./content.types-C35WR0tv.js";
2
2
  import { TocItem } from "remark-flexible-toc";
3
3
  import React, { ReactNode } from "react";
4
- import * as react_jsx_runtime3 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
6
6
 
7
7
  //#region src/ui/components/aside/aside.d.ts
@@ -17,7 +17,7 @@ declare function Aside({
17
17
  children,
18
18
  className,
19
19
  ...props
20
- }: AsideProps): react_jsx_runtime3.JSX.Element;
20
+ }: AsideProps): react_jsx_runtime0.JSX.Element;
21
21
  //#endregion
22
22
  //#region src/ui/components/code/code.d.ts
23
23
  interface CodeProps {
@@ -27,7 +27,7 @@ interface CodeProps {
27
27
  declare function Code({
28
28
  code,
29
29
  language
30
- }: CodeProps): react_jsx_runtime3.JSX.Element;
30
+ }: CodeProps): react_jsx_runtime0.JSX.Element;
31
31
  //#endregion
32
32
  //#region src/ui/components/package-managers/package-managers.d.ts
33
33
  type CommandType = "add" | "create" | "exec" | "run";
@@ -48,26 +48,26 @@ declare function PackageManagers({
48
48
  dev,
49
49
  args,
50
50
  className
51
- }: PackageManagersProps): react_jsx_runtime3.JSX.Element;
51
+ }: PackageManagersProps): react_jsx_runtime0.JSX.Element;
52
52
  //#endregion
53
53
  //#region src/ui/components/tabs/tabs.d.ts
54
54
  declare function Tabs({
55
55
  orientation,
56
56
  className,
57
57
  ...props
58
- }: Tabs$1.Root.Props): react_jsx_runtime3.JSX.Element;
58
+ }: Tabs$1.Root.Props): react_jsx_runtime0.JSX.Element;
59
59
  declare function TabsList({
60
60
  className,
61
61
  ...props
62
- }: Tabs$1.List.Props): react_jsx_runtime3.JSX.Element;
62
+ }: Tabs$1.List.Props): react_jsx_runtime0.JSX.Element;
63
63
  declare function TabsTrigger({
64
64
  className,
65
65
  ...props
66
- }: Tabs$1.Tab.Props): react_jsx_runtime3.JSX.Element;
66
+ }: Tabs$1.Tab.Props): react_jsx_runtime0.JSX.Element;
67
67
  declare function TabsContent({
68
68
  className,
69
69
  ...props
70
- }: Tabs$1.Panel.Props): react_jsx_runtime3.JSX.Element;
70
+ }: Tabs$1.Panel.Props): react_jsx_runtime0.JSX.Element;
71
71
  //#endregion
72
72
  //#region src/ui/routes/prestige-shell.d.ts
73
73
  type RenderNode = () => ReactNode;
@@ -81,13 +81,13 @@ declare function PrestigeShell({
81
81
  }: {
82
82
  children: ReactNode;
83
83
  options?: PrestigeShellProps;
84
- }): react_jsx_runtime3.JSX.Element;
84
+ }): react_jsx_runtime0.JSX.Element;
85
85
  //#endregion
86
86
  //#region src/ui/core/header/header.d.ts
87
87
  type HeaderProps = Pick<PrestigeShellProps, "customHeaderTitle">;
88
88
  declare function Header({
89
89
  customHeaderTitle
90
- }: HeaderProps): react_jsx_runtime3.JSX.Element;
90
+ }: HeaderProps): react_jsx_runtime0.JSX.Element;
91
91
  //#endregion
92
92
  //#region src/ui/core/prestige-page.d.ts
93
93
  interface PrestigePageProps {
@@ -97,18 +97,18 @@ interface PrestigePageProps {
97
97
  declare function PrestigePage({
98
98
  children,
99
99
  toc
100
- }: PrestigePageProps): react_jsx_runtime3.JSX.Element;
100
+ }: PrestigePageProps): react_jsx_runtime0.JSX.Element;
101
101
  //#endregion
102
102
  //#region src/ui/routes/collection/collection.route.d.ts
103
103
  declare function CollectionRoute(sidebar: SidebarType, id: string): {
104
- component: () => react_jsx_runtime3.JSX.Element;
104
+ component: () => react_jsx_runtime0.JSX.Element;
105
105
  };
106
106
  //#endregion
107
107
  //#region src/ui/routes/content/content.route.d.ts
108
108
  declare function ContentRoute(inlineData: any): any;
109
109
  //#endregion
110
110
  //#region src/ui/routes/not-found.d.ts
111
- declare function NotFound(): react_jsx_runtime3.JSX.Element;
111
+ declare function NotFound(): react_jsx_runtime0.JSX.Element;
112
112
  //#endregion
113
113
  export { Aside, type AsideProps, type AsideType, Code, type CodeProps, CollectionRoute, ContentRoute, Header, NotFound, PackageManagers, type PackageManagersProps, PrestigePage, type PrestigePageProps, PrestigeShell, type PrestigeShellProps, Tabs, TabsContent, TabsList, TabsTrigger };
114
114
  //# sourceMappingURL=ui.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lonik/prestige",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Static Site Generator for Tanstack Start",
5
5
  "homepage": "https://github.com/lukonik/prestige#readme",
6
6
  "bugs": {
@@ -86,7 +86,8 @@
86
86
  "vite-tsconfig-paths": "^6.1.1",
87
87
  "yaml": "^2.8.2",
88
88
  "@lonik/themer": "^0.5.2",
89
- "@base-ui/react": "^1.2.0"
89
+ "@base-ui/react": "^1.2.0",
90
+ "@tailwindcss/typography": "^0.5.19"
90
91
  },
91
92
  "peerDependencies": {
92
93
  "@tailwindcss/vite": "^4.0.0",
@@ -95,7 +96,6 @@
95
96
  "tailwindcss": "^4.0.0",
96
97
  "@tanstack/react-router": ">=1.0.0",
97
98
  "@tanstack/react-start": ">=1.0.0",
98
- "nitro": "3.0.1-alpha.2",
99
99
  "vite": "^6.0.0 || ^7.0.0",
100
100
  "zod": "^4.3.6"
101
101
  },
@@ -103,7 +103,6 @@
103
103
  "sharp": "^0.34.5",
104
104
  "@lonik/oh-image": "^3.1.0",
105
105
  "@arethetypeswrong/core": "^0.18.2",
106
- "@tailwindcss/typography": "^0.5.19",
107
106
  "@tailwindcss/vite": "catalog:",
108
107
  "@tanstack/react-devtools": "catalog:",
109
108
  "@tanstack/react-router": "catalog:",
@@ -129,6 +128,7 @@
129
128
  "vite": ">=7.0.0",
130
129
  "vite-plugin-inspect": "^11.3.3",
131
130
  "vitest": "^4.0.16",
132
- "vitest-browser-react": "^2.0.2"
131
+ "vitest-browser-react": "^2.0.2",
132
+ "nitro": "3.0.1-alpha.2"
133
133
  }
134
134
  }
@@ -1,3 +1,6 @@
1
+ @plugin "@tailwindcss/typography";
2
+ @custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
3
+
1
4
  :root .prose {
2
5
  --tw-prose-body: var(--color-default-700);
3
6
  --tw-prose-headings: var(--color-default-900);