Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/storybook #158

Merged
merged 25 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f7a3791
feat: move stories to ts extension
florianstancioiu Mar 20, 2024
640ca88
fix: switch back to js files
florianstancioiu Mar 20, 2024
1890901
feat: add controls to existing stories
florianstancioiu Mar 20, 2024
a8bdef2
feat: try to add docs to stories
florianstancioiu Mar 21, 2024
b1f90ef
feat: upgrade to storybook 7
florianstancioiu Mar 21, 2024
91a8535
feat: enable the use of .ts files with esbuild
florianstancioiu Mar 21, 2024
979403c
chore: adjust workflow
megheaiulian Mar 21, 2024
fcbe3af
feat: try to make the show code feature work
florianstancioiu Mar 22, 2024
e095ebf
feat: try to make the CI/CD pass
florianstancioiu Mar 22, 2024
2ff554f
feat: avoid using Autocomplete.bind({})
florianstancioiu Mar 22, 2024
d18d916
feat: remove rimraf - try to make the checks pass
florianstancioiu Mar 22, 2024
7f9ffe3
feat: use styleMap to have a single Template func
florianstancioiu Mar 25, 2024
4b65093
feat: remove comments from web-dev-server config
florianstancioiu Mar 25, 2024
aa0b29c
feat: add descriptions to controls and stories
florianstancioiu Mar 25, 2024
fd931dc
feat: update Contour story
florianstancioiu Mar 25, 2024
1940154
fix: add src dir to tsconfig include
florianstancioiu Mar 25, 2024
fbfa4f9
fix: show contour only for Contour story
florianstancioiu Mar 25, 2024
06e83dc
fix: remove unneeded dependencies
florianstancioiu Mar 25, 2024
a81850d
feat(autocomplete): add missing props
megheaiulian Mar 26, 2024
8cb7f27
chore(deps): update deps
megheaiulian Mar 26, 2024
e8e10cf
chore(ci): adjust tsconfig
megheaiulian Mar 26, 2024
8fdc341
fix(ci): adjust tsconfig
megheaiulian Mar 26, 2024
c4de435
chore(ci): update scripts
megheaiulian Mar 26, 2024
975e214
feat: update preview
megheaiulian Mar 26, 2024
8998a66
feat: disable autodocs for storybook
florianstancioiu Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
node_modules/
coverage/
storybook-static/
.eslintcache
.DS_Store
dist/
storybook-static/
demo-storybook/
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
21 changes: 19 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
module.exports = {
stories: ['../stories/**/*.stories.{js,mdx}'],
import esbuild from 'rollup-plugin-esbuild';

/** @type { import('@web/storybook-framework-web-components').StorybookConfig } */
const config = {
stories: ['../stories/**/*.stories.{js,ts,mdx}'],
addons: ['@storybook/addon-essentials', '@storybook/addon-links'],
framework: {
name: '@web/storybook-framework-web-components',
},
/* Try to make the build parse TS files */
async rollupFinal(config) {
// add extra configuration for rollup
// e.g. a new plugin
config.plugins.push(esbuild({}));

return config;
},
};

export default config;
Loading
Loading