storybook 10.1.0 → 10.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/_node-chunks/{builder-manager-TBVQZVCU.js → builder-manager-4QKD5MM3.js} +12 -12
  2. package/dist/_node-chunks/{camelcase-GL7MRGAO.js → camelcase-IRQCWULJ.js} +7 -7
  3. package/dist/_node-chunks/{chunk-3H6TSCUK.js → chunk-2ROLNOX5.js} +20 -20
  4. package/dist/_node-chunks/chunk-2SKUXRHZ.js +23 -0
  5. package/dist/_node-chunks/{chunk-43EZZW55.js → chunk-3E6FUWUR.js} +6 -6
  6. package/dist/_node-chunks/{chunk-OOIMV6PC.js → chunk-4EINUCZX.js} +13 -13
  7. package/dist/_node-chunks/chunk-4ROB3WCB.js +61 -0
  8. package/dist/_node-chunks/{chunk-S5WYA56W.js → chunk-5K3HCA3T.js} +6 -6
  9. package/dist/_node-chunks/{chunk-D66GRLGY.js → chunk-AKO6A5CQ.js} +35 -34
  10. package/dist/_node-chunks/{chunk-IEYUK7LB.js → chunk-GGJB53L3.js} +7 -7
  11. package/dist/_node-chunks/{chunk-ZM6IRVDJ.js → chunk-GKZHMXCG.js} +7 -7
  12. package/dist/_node-chunks/{chunk-3KKQC5PO.js → chunk-HIQU6BTN.js} +7 -7
  13. package/dist/_node-chunks/{chunk-EYPUSWTN.js → chunk-HLP3H23G.js} +6 -6
  14. package/dist/_node-chunks/{chunk-ECQTJTVF.js → chunk-JTVV3ILI.js} +6 -6
  15. package/dist/_node-chunks/{chunk-5TTETS4K.js → chunk-M5WCOOCM.js} +6 -6
  16. package/dist/_node-chunks/{chunk-EZFFXFBR.js → chunk-NHMTWL5A.js} +7 -7
  17. package/dist/_node-chunks/chunk-NUXVDK4C.js +18 -0
  18. package/dist/_node-chunks/{chunk-ID62YRSB.js → chunk-OUCADXTV.js} +7 -7
  19. package/dist/_node-chunks/{chunk-TLS5NEN4.js → chunk-QTUMNOBG.js} +8 -8
  20. package/dist/_node-chunks/{chunk-G2K7S3M2.js → chunk-QXZ53NSP.js} +9 -9
  21. package/dist/_node-chunks/{chunk-OZOF7Z4L.js → chunk-QZH7V7G5.js} +8 -8
  22. package/dist/_node-chunks/{chunk-AY574RLF.js → chunk-RGS3LXAW.js} +7 -7
  23. package/dist/_node-chunks/{chunk-UUGKJ4LL.js → chunk-SKFB37NZ.js} +7 -7
  24. package/dist/_node-chunks/{chunk-27P77OTT.js → chunk-TAK5JLJT.js} +9 -9
  25. package/dist/_node-chunks/{chunk-ZQBOEJL3.js → chunk-TPC5WFN2.js} +6 -6
  26. package/dist/_node-chunks/{chunk-SMFX664O.js → chunk-TTOU3O3G.js} +10 -10
  27. package/dist/_node-chunks/{chunk-SE2MGKVJ.js → chunk-TXYTWWZH.js} +6 -6
  28. package/dist/_node-chunks/{chunk-4HOGBBWW.js → chunk-U255RR5H.js} +6 -6
  29. package/dist/_node-chunks/{chunk-SF2DKOPT.js → chunk-U5ZVDYGC.js} +13 -13
  30. package/dist/_node-chunks/{chunk-BUM2PW4Q.js → chunk-ZYCQYU5P.js} +7 -7
  31. package/dist/_node-chunks/{dist-7C7BHY55.js → dist-YCWFOINJ.js} +9 -9
  32. package/dist/_node-chunks/{globby-QG573UKS.js → globby-DJRLVC5S.js} +9 -9
  33. package/dist/_node-chunks/{lib-LFINDS7W.js → lib-IAG3XT2U.js} +7 -7
  34. package/dist/_node-chunks/{mdx-N42X6CFJ-Z5CA274Q.js → mdx-N42X6CFJ-QMOKL6WQ.js} +8 -8
  35. package/dist/_node-chunks/{p-limit-WBJVQT4H.js → p-limit-5RGYVFOA.js} +7 -7
  36. package/dist/babel/index.js +10 -10
  37. package/dist/bin/core.js +12 -12
  38. package/dist/bin/dispatcher.js +11 -11
  39. package/dist/bin/loader.js +9 -9
  40. package/dist/cli/index.d.ts +1 -1
  41. package/dist/cli/index.js +18 -18
  42. package/dist/common/index.js +19 -19
  43. package/dist/core-server/index.js +35 -35
  44. package/dist/core-server/presets/common-override-preset.js +9 -9
  45. package/dist/core-server/presets/common-preset.js +40 -86
  46. package/dist/csf-tools/index.js +9 -9
  47. package/dist/manager/globals-runtime.js +1 -1
  48. package/dist/manager/runtime.js +2 -7
  49. package/dist/manager-api/index.d.ts +178 -178
  50. package/dist/manager-api/index.js +1 -1
  51. package/dist/mocking-utils/index.js +8 -8
  52. package/dist/node-logger/index.js +9 -9
  53. package/dist/preview-api/index.d.ts +67 -68
  54. package/dist/server-errors.js +11 -11
  55. package/dist/telemetry/index.d.ts +1 -1
  56. package/dist/telemetry/index.js +23 -23
  57. package/package.json +1 -1
  58. package/dist/_node-chunks/chunk-L2IGA3QO.js +0 -61
  59. package/dist/_node-chunks/chunk-LPS2U25K.js +0 -18
  60. package/dist/_node-chunks/chunk-SJZFPUUP.js +0 -23
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_eb0hv8ko635 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_eb0hv8ko635 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_eb0hv8ko635 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y9c3v0cnkub from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y9c3v0cnkub from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y9c3v0cnkub from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_eb0hv8ko635.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_eb0hv8ko635.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_eb0hv8ko635.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y9c3v0cnkub.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y9c3v0cnkub.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y9c3v0cnkub.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -38,9 +38,9 @@ import {
38
38
  vitestTransform,
39
39
  writeConfig,
40
40
  writeCsf
41
- } from "../_node-chunks/chunk-OZOF7Z4L.js";
42
- import "../_node-chunks/chunk-BUM2PW4Q.js";
43
- import "../_node-chunks/chunk-ZQBOEJL3.js";
41
+ } from "../_node-chunks/chunk-QZH7V7G5.js";
42
+ import "../_node-chunks/chunk-ZYCQYU5P.js";
43
+ import "../_node-chunks/chunk-TPC5WFN2.js";
44
44
  export {
45
45
  BadMetaError,
46
46
  ConfigFile,
@@ -59891,7 +59891,7 @@ init_dist();
59891
59891
  var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
59892
59892
 
59893
59893
  // src/manager-api/version.ts
59894
- var version = "10.1.0";
59894
+ var version = "10.1.2";
59895
59895
 
59896
59896
  // src/manager-api/modules/versions.ts
59897
59897
  var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
@@ -6544,6 +6544,7 @@ var SUPPORTED_FRAMEWORKS = [
6544
6544
  "preact-vite" /* PREACT_VITE */,
6545
6545
  "react-native-web-vite" /* REACT_NATIVE_WEB_VITE */,
6546
6546
  "react-vite" /* REACT_VITE */,
6547
+ "solid" /* SOLID */,
6547
6548
  "svelte-vite" /* SVELTE_VITE */,
6548
6549
  "sveltekit" /* SVELTEKIT */,
6549
6550
  "vue3-vite" /* VUE3_VITE */,
@@ -10739,7 +10740,7 @@ var CodeWrapper = styled.div(({ theme }) => ({
10739
10740
  },
10740
10741
  {
10741
10742
  id: "renderComponent",
10742
- label: "Render a component",
10743
+ label: "Render your first component",
10743
10744
  criteria: "A story finished rendering successfully",
10744
10745
  subscribe: ({ api, done }) => api.on(
10745
10746
  STORY_FINISHED,
@@ -10804,7 +10805,6 @@ export const Primary: Story = {
10804
10805
  },
10805
10806
  {
10806
10807
  id: "moreComponents",
10807
- after: ["renderComponent"],
10808
10808
  label: "Add 5 components",
10809
10809
  content: ({ api }) => react_default.createElement(react_default.Fragment, null, react_default.createElement("p", null, "Storybook gets better as you add more components. Start with the easy ones, like Button or Avatar, and work your way up to more complex components, like Select, Autocomplete, or even full pages."), react_default.createElement(
10810
10810
  "img",
@@ -10838,7 +10838,6 @@ export const Primary: Story = {
10838
10838
  },
10839
10839
  {
10840
10840
  id: "moreStories",
10841
- after: ["renderComponent"],
10842
10841
  label: "Add 20 stories",
10843
10842
  content: ({ api }) => react_default.createElement(react_default.Fragment, null, react_default.createElement("p", null, "More stories for your components means better documentation and more test coverage."), react_default.createElement(
10844
10843
  "img",
@@ -10885,7 +10884,6 @@ export const Primary: Story = {
10885
10884
  items: [
10886
10885
  {
10887
10886
  id: "controls",
10888
- after: ["renderComponent"],
10889
10887
  label: "Change a story with Controls",
10890
10888
  available: () => !!globalThis?.FEATURES?.controls,
10891
10889
  criteria: "Story args are updated",
@@ -10914,7 +10912,6 @@ export const Primary: Story = {
10914
10912
  },
10915
10913
  {
10916
10914
  id: "viewports",
10917
- after: ["renderComponent"],
10918
10915
  label: "Check responsiveness with Viewports",
10919
10916
  available: () => !!globalThis?.FEATURES?.viewport,
10920
10917
  criteria: "Viewport global is updated",
@@ -10943,7 +10940,6 @@ export const Primary: Story = {
10943
10940
  },
10944
10941
  {
10945
10942
  id: "organizeStories",
10946
- after: ["renderComponent"],
10947
10943
  label: "Group your components",
10948
10944
  criteria: "A root node exists in the index",
10949
10945
  subscribe: subscribeToIndex(
@@ -11084,7 +11080,6 @@ export default {
11084
11080
  },
11085
11081
  {
11086
11082
  id: "writeInteractions",
11087
- after: ["renderComponent"],
11088
11083
  label: "Test functionality with interactions",
11089
11084
  available: () => !!globalThis?.FEATURES?.interactions,
11090
11085
  criteria: "At least one story with a play or test function",