diff --git a/web/.knip.json b/web/.knip.json index 168139382..14699af16 100644 --- a/web/.knip.json +++ b/web/.knip.json @@ -75,6 +75,12 @@ "stylelint-config-standard", "stylelint-config-standard-scss", "postcss", - "stylelint" + "stylelint", + "@babel/core", + "@storybook/addon-mdx-gfm", + "@storybook/addon-styling-webpack", + "@storybook/nextjs", + "@storybook/react", + "resolve-url-loader", ] } \ No newline at end of file diff --git a/web/.storybook/main.js b/web/.storybook/main.js index add1d485b..4806267cc 100644 --- a/web/.storybook/main.js +++ b/web/.storybook/main.js @@ -110,20 +110,6 @@ module.exports = { use: ['@svgr/webpack'], }); - // config.module.rules.push({ - // test: /\.less$/, - // use: [ - // require.resolve('style-loader'), - // require.resolve('css-loader'), - // { - // loader: require.resolve('less-loader'), - // options: { - // lessOptions: { javascriptEnabled: true }, - // }, - // }, - // ], - // }); - return config; }, @@ -135,6 +121,6 @@ module.exports = { staticDirs: ['../public', '../../static', './story-assets'], docs: { - autodocs: true, + autodocs: false, }, }; diff --git a/web/.storybook/stories-category-doc-pages/Emoji.stories.mdx b/web/.storybook/stories-category-doc-pages/Emoji.stories.mdx index c3874b988..b2b6ae433 100644 --- a/web/.storybook/stories-category-doc-pages/Emoji.stories.mdx +++ b/web/.storybook/stories-category-doc-pages/Emoji.stories.mdx @@ -1,4 +1,4 @@ -import { Canvas, Meta, Story, Description, IconGallery, IconItem } from '@storybook/addon-docs'; +import { Canvas, Meta, Story, IconGallery, IconItem } from '@storybook/addon-docs'; import { Image, ImageRow } from './ImageAsset'; @@ -6,14 +6,11 @@ import { Image, ImageRow } from './ImageAsset'; # Built-in Custom Emoji - LICENSE -`} /> @@ -85,14 +82,11 @@ import { Image, ImageRow } from './ImageAsset'; - LICENSE -`} /> @@ -116,14 +110,11 @@ import { Image, ImageRow } from './ImageAsset'; - LICENSE -`} /> @@ -156,14 +147,11 @@ import { Image, ImageRow } from './ImageAsset'; - LICENSE -`} /> diff --git a/web/.storybook/stories-category-doc-pages/colors/ComponentColors.stories.mdx b/web/.storybook/stories-category-doc-pages/colors/ComponentColors.stories.mdx index 5ef40e736..b8c4e058e 100644 --- a/web/.storybook/stories-category-doc-pages/colors/ComponentColors.stories.mdx +++ b/web/.storybook/stories-category-doc-pages/colors/ComponentColors.stories.mdx @@ -1,4 +1,4 @@ -import { Canvas, Meta, Story, ColorPalette, ColorItem, Description } from '@storybook/addon-docs'; +import { Canvas, Meta, Story, ColorPalette, ColorItem } from '@storybook/addon-docs'; import { ColorRow, getColor } from './Color'; - - - - - - - - - - - - - - - - - @@ -7,14 +7,11 @@ import { Image, ImageRow } from './ImageAsset'; {{#each emojiCollections}} - LICENSE -`} /> {{#each images}}