-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 65f176f.
- Loading branch information
1 parent
65f176f
commit f3bb301
Showing
456 changed files
with
73,201 additions
and
33,657 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,6 +1,8 @@ | ||
node_modules | ||
node_modules/.bin/acorn | ||
dist/* | ||
app/storybook-static/* | ||
app/.nuxt-storybook/* | ||
|
||
.idea/ | ||
.DS_Store |
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 @@ | ||
v20.17.0 | ||
v16.16.0 |
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,8 @@ | ||
import { create } from '@storybook/theming'; | ||
import logo from '../assets/logos/BundLogo.svg'; | ||
|
||
export default create({ | ||
base: 'light', | ||
brandTitle: 'My custom storybook', | ||
brandImage: logo, | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const { nuxifyStorybook } = require('../.nuxt-storybook/storybook/main.js') | ||
const path = require('path') | ||
|
||
module.exports = nuxifyStorybook({ | ||
stories: [ | ||
'../components/stories/**/*.stories.mdx', | ||
'../components/stories/**/*.stories.@(js|jsx|ts|tsx)', | ||
], | ||
addons: [], | ||
|
||
webpackFinal: async (config) => { | ||
// tell webpack to accept vtt files | ||
config.module.rules.push({ | ||
test: /\.vtt$/, | ||
use: ['url-loader'], | ||
}); | ||
|
||
// Return the altered config | ||
return config; | ||
}, | ||
}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { addons } from '@storybook/addons'; | ||
import bundTheme from './BundTheme'; | ||
|
||
addons.setConfig({ | ||
theme: bundTheme, | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import './docs-fullscreen.css' | ||
|
||
import { parameters as nuxtParameters } from '~~/.nuxt-storybook/storybook/preview.js' | ||
|
||
export const parameters = { | ||
...nuxtParameters, | ||
layout: 'fullscreen', | ||
actions: { argTypesRegex: '^on[A-Z].*' }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
html: { | ||
prettier: { | ||
tabWidth: 2, | ||
useTabs: false, | ||
// htmlWhitespaceSensitivity: 'strict', | ||
}, | ||
}, | ||
viewMode: 'docs', | ||
options: { | ||
storySort: { | ||
order: [ | ||
'Introduction', | ||
'Doc for developers', | ||
['HTML Structure', 'Add CSS classes'], | ||
'Foundations', | ||
[ | ||
'Overview', | ||
'Fonts', | ||
'Backgrounds', | ||
'Colors', | ||
'Icons', | ||
['List', 'Implementation'], | ||
], | ||
'Layouts', | ||
['General', 'Sections', 'Containers', 'Grids', 'Spacings', 'Ratios'], | ||
'Components', | ||
['Logo', 'Button'], | ||
'Sections', | ||
[ | ||
'Header', | ||
['TopBar', 'TopHeader', 'DesktopMenu'], | ||
'Hero', | ||
'Content', | ||
'Footer', | ||
], | ||
'Pages', | ||
['Homepage'], | ||
], | ||
}, | ||
}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import Vue from "vue"; | ||
import Vuex from "vuex"; | ||
|
||
Vue.use(Vuex); | ||
|
||
const store = new Vuex.Store({ | ||
|
||
modules: { | ||
layout: { | ||
namespaced: true, | ||
state: require("../store/layout.js").state, | ||
getters: require("../store/layout.js").getters, | ||
actions: require("../store/layout.js").actions, | ||
mutations: require("../store/layout.js").mutations | ||
} | ||
} | ||
}); | ||
|
||
export default store |
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,29 +1,37 @@ | ||
<template> | ||
<ul | ||
:id="`accordion-${id}`" | ||
class="accordion" | ||
class="accordion " | ||
:class="spaced ? 'accordion--spaced' : ''" | ||
> | ||
<slot /> | ||
</ul> | ||
</ul> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
<script> | ||
import Accordion from '../../../scripts/Accordion.js' | ||
import { onMounted } from 'vue' | ||
const props = defineProps({ | ||
id: { | ||
type: String, | ||
required: true, | ||
export default { | ||
name: 'Accordion', | ||
components: { | ||
Accordion | ||
}, | ||
spaced: { | ||
type: Boolean, | ||
default: () => false, | ||
props: { | ||
id: { | ||
type: String, | ||
required: true | ||
}, | ||
spaced: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}, | ||
}) | ||
onMounted(() => { | ||
Accordion.init(`#accordion-${props.id} button`) | ||
}) | ||
mounted () { | ||
Accordion.init ( | ||
`#accordion-${this.id} button` | ||
) | ||
} | ||
} | ||
</script> | ||
|
Oops, something went wrong.