[storybook] Update Storybook and add a control for BS3/BS5 (#20948)

* [storybook] Update Storybook to version 8.3.5

* [storybook] Run storybook with `--no-open`. Fixes xdg-utils issue

* [storybook] Create decorator for BS3/BS5

* [storybook] Add `bsVersionDecorator` to stories

* [storybook] Fix bugs in stories

* [storybook] Fixup `useMeta` type. Use `DeepPartial`

* [storybook] Fix types

GitOrigin-RevId: 48c0f0fefb1ab2d4863ab59051b900b1908a613c
This commit is contained in:
Antoine Clausse
2024-10-14 11:07:40 +00:00
committed by Copybot
parent 4f838ccacf
commit 4a8b79080b
63 changed files with 2244 additions and 6726 deletions
+10 -9
View File
@@ -42,7 +42,7 @@
"lezer-latex:benchmark": "node scripts/lezer-latex/benchmark.mjs",
"lezer-latex:benchmark-incremental": "node scripts/lezer-latex/test-incremental-parser.mjs",
"routes": "bin/routes",
"storybook": "storybook dev -p 6006",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"precompile-pug": "node app/src/infrastructure/Views",
"local:nodemon": "set -a;. ../../config/dev-environment.env;. ./docker-compose.common.env;. ../../config/local-dev.env;. ./local-dev.env;. ../../config/local.env; set +a; echo $OVERLEAF_CONFIG; WEB_PORT=13000 LISTEN_ADDRESS=0.0.0.0 npm run nodemon",
@@ -221,15 +221,15 @@
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624",
"@sentry/browser": "7.46.0",
"@storybook/addon-a11y": "^8.0.4",
"@storybook/addon-essentials": "^8.0.4",
"@storybook/addon-interactions": "^8.0.4",
"@storybook/addon-links": "^8.0.4",
"@storybook/addon-a11y": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/react": "^8.0.4",
"@storybook/react-webpack5": "^8.0.4",
"@storybook/theming": "^8.0.4",
"@storybook/react": "^8.3.5",
"@storybook/react-webpack5": "^8.3.5",
"@storybook/theming": "^8.3.5",
"@testing-library/cypress": "^10.0.1",
"@testing-library/dom": "^9.3.0",
"@testing-library/react": "^12.1.5",
@@ -354,12 +354,13 @@
"sinon": "^7.5.0",
"sinon-chai": "^3.7.0",
"sinon-mongoose": "^2.3.0",
"storybook": "^8.0.4",
"storybook": "^8.3.5",
"stylelint-config-standard-scss": "^13.1.0",
"terser-webpack-plugin": "^5.3.9",
"thread-loader": "^4.0.2",
"timekeeper": "^2.2.0",
"to-string-loader": "^1.2.0",
"tty-browserify": "^0.0.1",
"typescript": "^5.0.4",
"webpack": "^5.93.0",
"webpack-assets-manifest": "^5.2.1",