Documentation, Prototyping, Inspection & Testing Workbench Tool for Svelte (SvelteKit Storybook alternative)
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] about 1 year ago
No significant changes
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
No significant changes
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
height
and width
props from the Variant
type in favor of a viewports
arrayviewports
exported constant from variants files to set viewports for all variants in fileThis repo changed to using release notes as the changelog, so the previous changelog notes have been moved into here
augmentSvelteConfigForKitbook
instead of the Kitbook Vite plugin because it now must come before vitePreprocess
to work properly. If you were previously customizing the MdSvex config, that is now passed in to the augmentSvelteConfigForKitbook
, which now takes a second argument that is an object of various config options..kitbook/WrapRootLayout.svelte
:import { pagesStore } from 'kitbook';
setContext('pages-store', pagesStore);
fileGlobs
array property passed to the kitbook
plugin. This is useful for incremental adoption of Kitbook.userSpecifiedViteConfigAdjustments
property passed to kitbook
plugin to viteConfigAdjustments
node_modules/kitbook
and use virtual module to achieve HMR. A Kitbook routes folder is no longer needed in consuming projects..kitbook/init.ts
file to give an async initialization option for Kitbook's that need it (e.g. i18n).kitbook/WrapRootLayout.svelte
to contain a settings context option to pass settings to your Kitbook like the title. Other needed global context items could also be added to this file.variants.ts
file updates from causing full page reload by improving HMR via using a self accepting HMR store..vite-kitbook
as the default cacheDir
to allow Kitbook to run at the same time as a normal app without conflict.let:props
to let:knobs
in the <Story>
component to open way for automatic component props in futurefoo/+page.svx
) into colocated story files next to your component (Foo.md
)packages/kitbook/src/docs
for new setup instructions to know how to remove unneeded items. But you really shouldn't be using the alpha yet - I'm just trying to distribute amongst my projects at the moment to iron out all the changes.Story
blockexpanded
prop to <Layout>
if desiring to start with folder tree already expanded.showCode
prop to Story
<Story>
using remark pluginsvelte-store-router
to svelte-pieces
QueryParam
component for Knobs
#000000
is used<ResponsiveSlideover>
for sidebar menu and improved header styling