-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3326e1c
commit 55548bd
Showing
31 changed files
with
136 additions
and
65 deletions.
There are no files selected for viewing
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/lib/components/atoms/icon/Icon.svelte → src/lib/components/Icon.svelte
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
2 changes: 1 addition & 1 deletion
2
...components/atoms/icon/IconProvider.svelte → src/lib/components/IconProvider.svelte
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions
5
src/lib/components/organisms/Nav.svelte → src/lib/components/nav/Nav.svelte
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
4 changes: 2 additions & 2 deletions
4
.../molecules/nav/NavLanguageSelector.svelte → ...components/nav/NavLanguageSelector.svelte
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
16 changes: 9 additions & 7 deletions
16
.../components/molecules/nav/NavPopup.svelte → src/lib/components/nav/NavPopup.svelte
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,36 +1,35 @@ | ||
// Reexport your entry components here | ||
|
||
// System | ||
// System / Utils | ||
export * from './system/context.js' | ||
|
||
// Atoms | ||
export { default as Logo } from './components/atoms/Logo.svelte' | ||
export { default as Icon } from './components/atoms/icon/Icon.svelte' | ||
export { default as IconProvider } from './components/atoms/icon/IconProvider.svelte' | ||
export { default as Avatar } from './components/atoms/Avatar.svelte' | ||
|
||
export { default as RoundedOutlineButton } from './components/atoms/button/RoundedOutlineButton.svelte' | ||
export { default as TextButton } from './components/atoms/button/TextButton.svelte' | ||
|
||
export { default as FooterLink } from './components/atoms/footer/FooterLink.svelte' | ||
|
||
export { default as Popover } from './components/atoms/popover/Popover.svelte' | ||
|
||
export { default as NavPopupSection } from './components/atoms/nav/NavPopupSection.svelte' | ||
|
||
export { default as NavPopupItem } from './components/atoms/nav/NavPopupItem.svelte' | ||
export { default as NavPopupLink } from './components/atoms/nav/NavPopupLink.svelte' | ||
|
||
// Molecules | ||
export { default as FooterSection } from './components/molecules/footer/FooterSection.svelte' | ||
|
||
export { default as NavSignArea } from './components/molecules/nav/NavSignArea.svelte' | ||
export { default as NavPopup } from './components/molecules/nav/NavPopup.svelte' | ||
|
||
// Organisms | ||
export { default as Nav } from './components/organisms/Nav.svelte' | ||
export { default as Footer } from './components/organisms/Footer.svelte' | ||
export * from './assets/index.js' | ||
|
||
// Types | ||
export * from './types.js' | ||
export * from './assets/index.js' | ||
|
||
// ------ Components ------- | ||
|
||
// Not categorized | ||
export { default as Avatar } from './components/Avatar.svelte' | ||
export { default as Icon } from './components/Icon.svelte' | ||
export { default as IconProvider } from './components/IconProvider.svelte' | ||
export { default as Logo } from './components/Logo.svelte' | ||
export { default as Popover } from './components/Popover.svelte' | ||
|
||
// Buttons | ||
export { default as RoundedOutlinedButton } from './components/button/RoundedOutlinedButton.svelte' | ||
export { default as TextButton } from './components/button/TextButton.svelte' | ||
|
||
// Nav | ||
export { default as Nav } from './components/nav/Nav.svelte' | ||
export { default as NavPopup } from './components/nav/NavPopup.svelte' | ||
export { default as NavPopupItem } from './components/nav/NavPopupItem.svelte' | ||
export { default as NavPopupLink } from './components/nav/NavPopupLink.svelte' | ||
export { default as NavPopupSection } from './components/nav/NavPopupSection.svelte' | ||
export { default as NavSignArea } from './components/nav/NavSignArea.svelte' | ||
export { default as NavLanguageSelector } from './components/nav/NavLanguageSelector.svelte' | ||
|
||
// Footer | ||
export { default as Footer } from './components/footer/Footer.svelte' | ||
export { default as FooterLink } from './components/footer/FooterLink.svelte' | ||
export { default as FooterSection } from './components/footer/FooterSection.svelte' |
4 changes: 2 additions & 2 deletions
4
src/stories/atoms/Avatar.stories.svelte → src/stories/Avatar.stories.svelte
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<script lang="ts" context="module"> | ||
import FooterLink from '$lib/components/footer/FooterLink.svelte' | ||
import { Story, Template } from '@storybook/addon-svelte-csf' | ||
export const meta = { | ||
component: FooterLink, | ||
title: 'Components/Footer/Footer Link' | ||
} | ||
</script> | ||
|
||
<Template let:args> | ||
<FooterLink href="/" {...args}>Link</FooterLink> | ||
</Template> | ||
|
||
<Story name="Default" args={{}} /> | ||
|
||
<Story name="Minimal" args={{ minimal: 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 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<script lang="ts" context="module"> | ||
import { NavPopupItem } from '$lib/index.js' | ||
export const meta = { | ||
title: 'Components/Nav/Popup/Nav Popup Item', | ||
component: NavPopupItem | ||
} | ||
</script> | ||
|
||
<script lang="ts"> | ||
import { Story, Template } from '@storybook/addon-svelte-csf' | ||
</script> | ||
|
||
<Template let:args> | ||
<NavPopupItem {...args}>Item</NavPopupItem> | ||
</Template> | ||
|
||
<Story name="Default" args={{}} /> | ||
<Story name="Selected" args={{ selected: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script lang="ts" context="module"> | ||
import { NavPopupLink } from '$lib/index.js' | ||
export const meta = { | ||
title: 'Components/Nav/Popup/Nav Popup Link', | ||
component: NavPopupLink | ||
} | ||
</script> | ||
|
||
<script lang="ts"> | ||
import { Story, Template } from '@storybook/addon-svelte-csf' | ||
</script> | ||
|
||
<Template let:args> | ||
<NavPopupLink href="/" {...args}>Link</NavPopupLink> | ||
</Template> | ||
|
||
<Story name="Default" args={{}} /> |
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,20 @@ | ||
<script lang="ts" context="module"> | ||
import { NavPopupSection } from '$lib/index.js' | ||
export const meta = { | ||
title: 'Components/Nav/Popup/Nav Popup Section', | ||
component: NavPopupSection | ||
} | ||
</script> | ||
|
||
<script lang="ts"> | ||
import { Story, Template } from '@storybook/addon-svelte-csf' | ||
</script> | ||
|
||
<Template let:args> | ||
<NavPopupSection {...args} title="wow:example">section content</NavPopupSection> | ||
</Template> | ||
|
||
<Story name="Default" args={{}} /> | ||
|
||
<Story name="With back button" args={{ back: true }} /> |