@svelteness/kit-docs
Advanced tools
Comparing version 0.22.12 to 0.23.0
@@ -5,6 +5,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
[x: string]: any; | ||
type?: 'flat' | 'raised'; | ||
arrow?: 'left' | 'right' | null; | ||
as?: 'button' | 'a'; | ||
class?: string; | ||
type?: "flat" | "raised" | undefined; | ||
arrow?: "left" | "right" | null | undefined; | ||
as?: "a" | "button" | undefined; | ||
class?: string | undefined; | ||
}; | ||
@@ -11,0 +11,0 @@ events: { |
@@ -5,3 +5,3 @@ /** @typedef {typeof __propDef.props} ChipProps */ | ||
export default class Chip extends SvelteComponentTyped<{ | ||
class?: string; | ||
class?: string | undefined; | ||
}, { | ||
@@ -19,3 +19,3 @@ [evt: string]: CustomEvent<any>; | ||
props: { | ||
class?: string; | ||
class?: string | undefined; | ||
}; | ||
@@ -22,0 +22,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
open?: boolean; | ||
open?: boolean | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
selected?: boolean; | ||
selected?: boolean | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
open?: boolean; | ||
open?: boolean | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
open?: boolean; | ||
overlay?: boolean; | ||
open?: boolean | undefined; | ||
overlay?: boolean | undefined; | ||
}; | ||
@@ -7,0 +7,0 @@ events: { |
@@ -5,9 +5,9 @@ import { SvelteComponentTyped } from "svelte"; | ||
title: string; | ||
options?: string[]; | ||
value?: string; | ||
disabled?: boolean; | ||
rounded?: boolean; | ||
raised?: boolean; | ||
arrowWidth?: number; | ||
arrowHeight?: number; | ||
options?: string[] | undefined; | ||
value?: string | undefined; | ||
disabled?: boolean | undefined; | ||
rounded?: boolean | undefined; | ||
raised?: boolean | undefined; | ||
arrowWidth?: number | undefined; | ||
arrowHeight?: number | undefined; | ||
}; | ||
@@ -14,0 +14,0 @@ events: { |
@@ -5,3 +5,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
props: { | ||
meta?: MarkdownMeta | null; | ||
meta?: MarkdownMeta | null | undefined; | ||
}; | ||
@@ -8,0 +8,0 @@ events: { |
@@ -5,9 +5,9 @@ import { SvelteComponentTyped } from "svelte"; | ||
props: { | ||
navigation?: Partial<NavigationConfig> | null; | ||
navigation?: Partial<NavigationConfig> | null | undefined; | ||
navbar: NavbarConfig | false; | ||
sidebar?: SidebarConfig | null; | ||
i18n?: Partial<I18NTranslations> | null; | ||
isSidebarOpen?: boolean; | ||
isNavPopoverOpen?: boolean; | ||
search?: boolean; | ||
sidebar?: SidebarConfig | null | undefined; | ||
i18n?: Partial<I18NTranslations> | null | undefined; | ||
isSidebarOpen?: boolean | undefined; | ||
isNavPopoverOpen?: boolean | undefined; | ||
search?: boolean | undefined; | ||
}; | ||
@@ -14,0 +14,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
search?: boolean; | ||
search?: boolean | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
@@ -6,3 +6,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
slug: string; | ||
match?: RegExp | null; | ||
match?: RegExp | null | undefined; | ||
}; | ||
@@ -9,0 +9,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
class?: string; | ||
style?: string; | ||
class?: string | undefined; | ||
style?: string | undefined; | ||
}; | ||
@@ -7,0 +7,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
open?: boolean; | ||
search?: boolean; | ||
open?: boolean | undefined; | ||
search?: boolean | undefined; | ||
class?: string | ((state: { | ||
open: boolean; | ||
}) => string); | ||
style?: string; | ||
}) => string) | undefined; | ||
style?: string | undefined; | ||
}; | ||
@@ -11,0 +11,0 @@ events: { |
@@ -5,7 +5,7 @@ import { SvelteComponentTyped } from "svelte"; | ||
type: 'discord' | 'gitHub' | 'twitter'; | ||
title?: string; | ||
title?: string | undefined; | ||
href: string; | ||
iconWidth?: number; | ||
iconHeight?: number; | ||
class?: string; | ||
iconWidth?: number | undefined; | ||
iconHeight?: number | undefined; | ||
class?: string | undefined; | ||
}; | ||
@@ -12,0 +12,0 @@ events: { |
@@ -15,6 +15,6 @@ import type { Load } from '@sveltejs/kit'; | ||
[x: string]: any; | ||
type?: 'flat' | 'raised'; | ||
arrow?: 'left' | 'right' | null; | ||
as?: 'button' | 'a'; | ||
class?: string; | ||
type?: "flat" | "raised" | undefined; | ||
arrow?: "left" | "right" | null | undefined; | ||
as?: "a" | "button" | undefined; | ||
class?: string | undefined; | ||
}; | ||
@@ -31,9 +31,9 @@ events: { | ||
props: { | ||
navigation?: Partial<NavigationConfig> | null; | ||
navigation?: Partial<NavigationConfig> | null | undefined; | ||
navbar: NavbarConfig | false; | ||
sidebar?: SidebarConfig | null; | ||
i18n?: Partial<I18NTranslations> | null; | ||
isSidebarOpen?: boolean; | ||
isNavPopoverOpen?: boolean; | ||
search?: boolean; | ||
sidebar?: SidebarConfig | null | undefined; | ||
i18n?: Partial<I18NTranslations> | null | undefined; | ||
isSidebarOpen?: boolean | undefined; | ||
isNavPopoverOpen?: boolean | undefined; | ||
search?: boolean | undefined; | ||
}; | ||
@@ -63,3 +63,3 @@ events: { | ||
props: { | ||
search?: boolean; | ||
search?: boolean | undefined; | ||
}; | ||
@@ -89,3 +89,3 @@ events: { | ||
slug: string; | ||
match?: RegExp | null; | ||
match?: RegExp | null | undefined; | ||
}; | ||
@@ -100,4 +100,4 @@ events: { | ||
props: { | ||
class?: string; | ||
style?: string; | ||
class?: string | undefined; | ||
style?: string | undefined; | ||
}; | ||
@@ -112,8 +112,8 @@ events: { | ||
props: { | ||
open?: boolean; | ||
search?: boolean; | ||
open?: boolean | undefined; | ||
search?: boolean | undefined; | ||
class?: string | ((state: { | ||
open: boolean; | ||
}) => string); | ||
style?: string; | ||
}) => string) | undefined; | ||
style?: string | undefined; | ||
}; | ||
@@ -134,13 +134,13 @@ events: { | ||
props: { | ||
lang?: string | null; | ||
ext?: string | null; | ||
code?: string | null; | ||
rawCode?: string | null; | ||
title?: string | null; | ||
linesCount?: number; | ||
showLineNumbers?: boolean; | ||
highlightLines?: [number, number][]; | ||
showCopyCode?: boolean; | ||
copyHighlightOnly?: boolean; | ||
copySteps?: boolean; | ||
lang?: string | null | undefined; | ||
ext?: string | null | undefined; | ||
code?: string | null | undefined; | ||
rawCode?: string | null | undefined; | ||
title?: string | null | undefined; | ||
linesCount?: number | undefined; | ||
showLineNumbers?: boolean | undefined; | ||
highlightLines?: [number, number][] | undefined; | ||
showCopyCode?: boolean | undefined; | ||
copyHighlightOnly?: boolean | undefined; | ||
copySteps?: boolean | undefined; | ||
}; | ||
@@ -155,3 +155,3 @@ events: { | ||
props: { | ||
class?: string; | ||
class?: string | undefined; | ||
}; | ||
@@ -180,3 +180,3 @@ events: { | ||
type: 'note' | 'info' | 'tip' | 'warning' | 'danger' | 'experimental'; | ||
title?: string | null; | ||
title?: string | null | undefined; | ||
}; | ||
@@ -193,5 +193,5 @@ events: { | ||
props: { | ||
title?: string | null; | ||
description?: string | null; | ||
orientation?: 'horizontal' | 'vertical'; | ||
title?: string | null | undefined; | ||
description?: string | null | undefined; | ||
orientation?: "horizontal" | "vertical" | undefined; | ||
}; | ||
@@ -228,3 +228,3 @@ events: { | ||
props: { | ||
links?: TabbedLink[]; | ||
links?: TabbedLink[] | undefined; | ||
}; | ||
@@ -239,3 +239,3 @@ events: { | ||
props: { | ||
headers?: string; | ||
headers?: string | undefined; | ||
}; | ||
@@ -250,3 +250,3 @@ events: { | ||
props: { | ||
open?: boolean; | ||
open?: boolean | undefined; | ||
}; | ||
@@ -264,3 +264,3 @@ events: { | ||
props: { | ||
selected?: boolean; | ||
selected?: boolean | undefined; | ||
}; | ||
@@ -280,3 +280,3 @@ events: { | ||
props: { | ||
open?: boolean; | ||
open?: boolean | undefined; | ||
}; | ||
@@ -291,4 +291,4 @@ events: { | ||
props: { | ||
open?: boolean; | ||
overlay?: boolean; | ||
open?: boolean | undefined; | ||
overlay?: boolean | undefined; | ||
}; | ||
@@ -310,9 +310,9 @@ events: { | ||
title: string; | ||
options?: string[]; | ||
value?: string; | ||
disabled?: boolean; | ||
rounded?: boolean; | ||
raised?: boolean; | ||
arrowWidth?: number; | ||
arrowHeight?: number; | ||
options?: string[] | undefined; | ||
value?: string | undefined; | ||
disabled?: boolean | undefined; | ||
rounded?: boolean | undefined; | ||
raised?: boolean | undefined; | ||
arrowWidth?: number | undefined; | ||
arrowHeight?: number | undefined; | ||
}; | ||
@@ -333,7 +333,7 @@ events: { | ||
type: 'discord' | 'gitHub' | 'twitter'; | ||
title?: string; | ||
title?: string | undefined; | ||
href: string; | ||
iconWidth?: number; | ||
iconHeight?: number; | ||
class?: string; | ||
iconWidth?: number | undefined; | ||
iconHeight?: number | undefined; | ||
class?: string | undefined; | ||
}; | ||
@@ -350,3 +350,3 @@ events: { | ||
props: { | ||
meta?: MarkdownMeta | null; | ||
meta?: MarkdownMeta | null | undefined; | ||
}; | ||
@@ -383,3 +383,3 @@ events: { | ||
export declare class Chip extends SvelteComponentTyped<{ | ||
class?: string; | ||
class?: string | undefined; | ||
}, { | ||
@@ -417,3 +417,3 @@ [evt: string]: CustomEvent<any>; | ||
update(this: void, updater: Updater<ColorScheme>): void; | ||
subscribe(this: void, run: Subscriber<ColorScheme>, invalidate?: (value?: ColorScheme) => void): Unsubscriber; | ||
subscribe(this: void, run: Subscriber<ColorScheme>, invalidate?: ((value?: ColorScheme | undefined) => void) | undefined): Unsubscriber; | ||
}; | ||
@@ -468,3 +468,3 @@ | ||
export declare const frontmatter: Readable<MarkdownFrontmatter>; | ||
export declare const frontmatter: Readable<MarkdownFrontmatter | undefined>; | ||
@@ -888,3 +888,3 @@ export declare function getI18nContext(): I18NContext; | ||
export declare class TableWrapper extends SvelteComponentTyped<{ | ||
class?: string; | ||
class?: string | undefined; | ||
}, { | ||
@@ -891,0 +891,0 @@ [evt: string]: CustomEvent<any>; |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
lang?: string | null; | ||
ext?: string | null; | ||
code?: string | null; | ||
rawCode?: string | null; | ||
title?: string | null; | ||
linesCount?: number; | ||
showLineNumbers?: boolean; | ||
highlightLines?: [number, number][]; | ||
showCopyCode?: boolean; | ||
copyHighlightOnly?: boolean; | ||
copySteps?: boolean; | ||
lang?: string | null | undefined; | ||
ext?: string | null | undefined; | ||
code?: string | null | undefined; | ||
rawCode?: string | null | undefined; | ||
title?: string | null | undefined; | ||
linesCount?: number | undefined; | ||
showLineNumbers?: boolean | undefined; | ||
highlightLines?: [number, number][] | undefined; | ||
showCopyCode?: boolean | undefined; | ||
copyHighlightOnly?: boolean | undefined; | ||
copySteps?: boolean | undefined; | ||
}; | ||
@@ -16,0 +16,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
class?: string; | ||
class?: string | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
@@ -5,3 +5,3 @@ /** @typedef {typeof __propDef.props} TableWrapperProps */ | ||
export default class TableWrapper extends SvelteComponentTyped<{ | ||
class?: string; | ||
class?: string | undefined; | ||
}, { | ||
@@ -19,3 +19,3 @@ [evt: string]: CustomEvent<any>; | ||
props: { | ||
class?: string; | ||
class?: string | undefined; | ||
}; | ||
@@ -22,0 +22,0 @@ events: { |
@@ -5,3 +5,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
type: 'note' | 'info' | 'tip' | 'warning' | 'danger' | 'experimental'; | ||
title?: string | null; | ||
title?: string | null | undefined; | ||
}; | ||
@@ -8,0 +8,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
title?: string | null; | ||
description?: string | null; | ||
orientation?: 'horizontal' | 'vertical'; | ||
title?: string | null | undefined; | ||
description?: string | null | undefined; | ||
orientation?: "horizontal" | "vertical" | undefined; | ||
}; | ||
@@ -8,0 +8,0 @@ events: { |
@@ -8,3 +8,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
props: { | ||
links?: TabbedLink[]; | ||
links?: TabbedLink[] | undefined; | ||
}; | ||
@@ -11,0 +11,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
declare const __propDef: { | ||
props: { | ||
headers?: string; | ||
headers?: string | undefined; | ||
}; | ||
@@ -6,0 +6,0 @@ events: { |
@@ -51,3 +51,3 @@ import { FilterPattern } from '@rollup/pluginutils'; | ||
export declare const createShikiPlugin: (options?: HighlighterOptions | undefined) => Promise<PluginSimple>; | ||
export declare const createShikiPlugin: (options?: HighlighterOptions) => Promise<PluginSimple>; | ||
@@ -211,3 +211,5 @@ export declare function createSidebarRequestHandler(options?: CreateSidebarRequestHandlerOptions): RequestHandler; | ||
export declare const kitDocsPlugin: (options?: KitDocsPluginOptions) => Plugin_2[]; | ||
declare const kitDocsPlugin: (options?: KitDocsPluginOptions) => Plugin_2[]; | ||
export default kitDocsPlugin; | ||
export { kitDocsPlugin } | ||
@@ -214,0 +216,0 @@ export declare type KitDocsPluginOptions = { |
{ | ||
"name": "@svelteness/kit-docs", | ||
"version": "0.22.12", | ||
"version": "0.23.0", | ||
"description": "Documentation integration for SvelteKit.", | ||
@@ -43,6 +43,6 @@ "license": "MIT", | ||
"build:client:types": "api-extractor run && rimraf temp client/**/*.d.ts", | ||
"build:node": "pnpm build:node:ext -- --entry=src/node/index.ts --outdir=node --platform=node --bundle --requireshim", | ||
"build:node": "pnpm build:node:ext --entry=src/node/index.ts --outdir=node --platform=node --bundle --requireshim", | ||
"build:node:ext": "node ../../.scripts/build.js --external=vite,@sveltejs,shiki", | ||
"build:node:types": "tsc -p src/node && api-extractor run -c api-extractor.node.json && rimraf node-types", | ||
"build:node:watch": "pnpm build:node -- -w", | ||
"build:node:watch": "pnpm build:node -w", | ||
"build:styles": "run-s build:styles:theme build:styles:docsearch", | ||
@@ -56,4 +56,4 @@ "build:styles:theme": "npx tailwindcss -c ./tailwind.config.cjs -i ./src/lib/styles/theme.css -o ./client/styles/theme.css", | ||
"lint:prettier": "prettier src --write --loglevel warn", | ||
"kit:dev": "svelte-kit dev -p 3001 --host", | ||
"kit:build": "run-s build:node kit:sync && svelte-kit build", | ||
"kit:dev": "vite dev --port 3001 --host", | ||
"kit:build": "run-s build:node kit:sync && vite build", | ||
"kit:preview": "sirv build -p 3001", | ||
@@ -77,5 +77,6 @@ "kit:sync": "svelte-kit sync" | ||
"@rollup/pluginutils": "^4.2.0", | ||
"@sveltejs/adapter-auto": "^1.0.0-next.30", | ||
"@sveltejs/adapter-static": "^1.0.0-next.29", | ||
"@sveltejs/kit": "^1.0.0-next.288", | ||
"@sveltejs/adapter-auto": "1.0.0-next.57", | ||
"@sveltejs/adapter-static": "1.0.0-next.35", | ||
"@sveltejs/kit": "1.0.0-next.370", | ||
"@svelteness/kit-docs": "link:.", | ||
"@tailwindcss/typography": "^0.5.2", | ||
@@ -108,3 +109,3 @@ "@types/react": "^17.0.39", | ||
"unplugin-icons": "^0.13.4", | ||
"vite": "^2.8.6" | ||
"vite": "^2.9.14" | ||
}, | ||
@@ -111,0 +112,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1418090
28686
38