Skip to content

Commit

Permalink
Merge branch 'feat/cwc-storybook-7-vite' into feat/layer-sb-v7
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylam authored Jan 10, 2024
2 parents ff2d40d + bc62459 commit 67bf4ed
Show file tree
Hide file tree
Showing 95 changed files with 3,904 additions and 3,044 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
48 changes: 46 additions & 2 deletions packages/carbon-web-components/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* @license
*
* Copyright IBM Corp. 2023, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

import type { StorybookConfig } from '@storybook/web-components-vite';
import { mergeConfig } from 'vite';
import { litStyleLoader, litTemplateLoader } from '@mordech/vite-lit-loader';
Expand All @@ -12,17 +21,52 @@ const stories = glob.sync(
// '../src/**/*.stories.@(js|jsx|ts|tsx)',
// add mdx/story files as they are being worked on
'../src/**/combo-box.stories.ts',
'../src/**/combo-box.mdx',
'../src/**/combo-box.mdx',
'../src/**/dropdown.stories.ts',
'../src/**/dropdown.mdx',
'../src/**/dropdown.mdx',
'../src/**/data-table-*.stories.ts',
'../src/**/data-table.mdx',
'../src/**/ordered-list.stories.ts',
'../src/**/unordered-list.stories.ts',
'../src/**/list.mdx',
'../src/**/checkbox.stories.ts',
'../src/**/inline-loading.mdx',
'../src/**/inline-loading.stories.ts',
'../src/**/checkbox.mdx',
'../src/**/loading.stories.ts',
'../src/**/loading.mdx',
'../src/**/button.mdx',
'../src/**/button.stories.ts',
'../src/**/link.mdx',
'../src/**/link.stories.ts',
'../src/**/layer.stories.ts',
'../src/**/layer.mdx',
'../src/**/file-uploader.mdx',
'../src/**/modal.stories.ts',
'../src/**/modal.mdx',
'../src/**/file-uploader.stories.ts',
'../src/**/overflow-menu.mdx',
'../src/**/overflow-menu.stories.ts',
'../src/**/progress-bar.mdx',
'../src/**/progress-bar.stories.ts',
'../src/**/progress-indicator.mdx',
'../src/**/progress-indicator.stories.ts',
'../src/**/search.mdx',
'../src/**/search.stories.ts',
'../src/**/select.mdx',
'../src/**/select.stories.ts',
'../src/**/skeleton-placeholder.mdx',
'../src/**/skeleton-placeholder.stories.ts',
'../src/**/skeleton-text.mdx',
'../src/**/skeleton-text.stories.ts',
'../src/**/skip-to-content.mdx',
'../src/**/skip-to-content.stories.ts',
'../src/**/slider.mdx',
'../src/**/slider.stories.ts',
'../src/**/tag.mdx',
'../src/**/tag.stories.ts',
'../src/**/tooltip.mdx',
'../src/**/tooltip.stories.ts',
],
{
ignore: ['../src/**/docs/*.mdx'],
Expand Down
3 changes: 2 additions & 1 deletion packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@babel/runtime": "^7.16.3",
"@carbon/styles": "^1.45.0",
"flatpickr": "4.6.1",
"lit": "^2.7.6",
"lit": "^3.1.0",
"lodash-es": "^4.17.21"
},
"devDependencies": {
Expand All @@ -100,6 +100,7 @@
"@percy/cli": "^1.27.4",
"@percy/cypress": "^3.1.2",
"@percy/dom": "^1.27.5",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-node-resolve": "^8.4.0",
Expand Down
Loading

0 comments on commit 67bf4ed

Please sign in to comment.