-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from jacob-8/integrated-kitbook
Integrated kitbook
- Loading branch information
Showing
126 changed files
with
2,255 additions
and
2,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
link-workspace-packages=false | ||
# link-workspace-packages=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/.svelte-kit* | ||
/dist | ||
/.svelte-kit | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { defineConfig } from "./src/lib/defineConfig"; | ||
|
||
export default defineConfig({ | ||
title: 'Kitbook', | ||
description: 'Svelte Component Documentation and Prototyping Workbench built using SvelteKit', | ||
viewports: [ | ||
{ | ||
name: 'Mobile', | ||
width: 320, | ||
height: 568, | ||
}, | ||
{ | ||
name: 'Desktop', | ||
width: 1024, | ||
height: 768, | ||
}, | ||
{ | ||
name: 'Tablet', | ||
width: 768, | ||
height: 1024, | ||
}, | ||
], | ||
// languages: [ | ||
// { | ||
// name: 'English', | ||
// code: 'en', | ||
// }, | ||
// { | ||
// name: 'Spanish', | ||
// code: 'es', | ||
// }, | ||
// ], | ||
githubURL: 'https://github.com/jacob-8/kitbook/tree/main/packages/kitbook', | ||
expandTree: true, | ||
isKitbookItself: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# Pass a Default Slot | ||
|
||
It would be great to support dynamic slots for variants, but that may be crazy until Svelte officially supports that. However, we can support an optional default slot of html or a component as seen in the variants below. | ||
It would be great to support dynamic slots for variants, but it would be error-prone until Svelte officially supports that. However, we can support an optional default slot of a string (you can pass html) or a component as seen in the variants below. | ||
|
||
Possible dynamic slot options to research further: | ||
- https://github.com/sveltejs/svelte/issues/2588 | ||
- https://github.com/sveltejs/svelte/pull/4296 | ||
- Playwright does them like this: https://github.com/microsoft/playwright/blob/d92fe16b76272afb19e7af5a2496f7efce45441d/packages/playwright-ct-svelte/registerSource.mjs#L82 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0014458
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
kitbook-template – ./packages/template
kitbook-template-polylingual.vercel.app
kitbook-template-git-main-polylingual.vercel.app
kitbook-template.vercel.app
0014458
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
svelte-pieces – ./packages/svelte-pieces
svelte-pieces-polylingual.vercel.app
svelte-pieces.vercel.app
svelte-pieces-git-main-polylingual.vercel.app
0014458
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
kitbook – ./packages/kitbook
kitbook-polylingual.vercel.app
kitbook.vercel.app
kitbook-git-main-polylingual.vercel.app