storybook 9.0.0-alpha.13 → 9.0.0-alpha.15

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 (36) hide show
  1. package/dist/actions/decorator.js +46 -47
  2. package/dist/actions/index.cjs +28 -29
  3. package/dist/actions/index.d.ts +0 -3
  4. package/dist/actions/index.js +27 -28
  5. package/dist/actions/preview.cjs +22 -23
  6. package/dist/actions/preview.js +18 -19
  7. package/dist/bin/index.cjs +67 -71
  8. package/dist/bin/index.js +56 -60
  9. package/dist/channels/index.cjs +1018 -948
  10. package/dist/channels/index.js +1194 -1161
  11. package/dist/cli/bin/index.cjs +1 -1
  12. package/dist/cli/bin/index.js +1 -1
  13. package/dist/cli/index.cjs +1860 -1871
  14. package/dist/cli/index.js +308 -319
  15. package/dist/common/index.cjs +43 -49
  16. package/dist/common/index.d.ts +0 -4
  17. package/dist/common/index.js +43 -49
  18. package/dist/components/index.cjs +6375 -12708
  19. package/dist/components/index.d.ts +1 -2
  20. package/dist/components/index.js +4647 -10782
  21. package/dist/core-server/index.cjs +13626 -13550
  22. package/dist/core-server/index.js +11863 -11787
  23. package/dist/core-server/presets/common-manager.js +3221 -3138
  24. package/dist/manager/globals-runtime.js +29817 -33554
  25. package/dist/manager-api/index.cjs +2518 -2330
  26. package/dist/manager-api/index.js +2432 -2234
  27. package/dist/preview/runtime.js +18415 -16011
  28. package/dist/preview-api/index.cjs +619 -603
  29. package/dist/preview-api/index.d.ts +386 -118
  30. package/dist/preview-api/index.js +542 -526
  31. package/dist/server-errors.cjs +132 -118
  32. package/dist/server-errors.d.ts +4 -2
  33. package/dist/server-errors.js +127 -113
  34. package/dist/test/preview.d.ts +6 -0
  35. package/dist/types/index.d.ts +1 -4
  36. package/package.json +2 -2
@@ -2,7 +2,6 @@ import * as React$1 from 'react';
2
2
  import React__default, { ComponentProps, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, ButtonHTMLAttributes, SyntheticEvent, Component, RefObject, FC, PropsWithChildren, DetailedHTMLProps, RefAttributes, ElementType } from 'react';
3
3
  import * as storybook_theming from 'storybook/theming';
4
4
  import { FunctionInterpolation } from 'storybook/theming';
5
- import { BuiltInParserName } from 'prettier';
6
5
  import { Addon_RenderOptions } from 'storybook/internal/types';
7
6
 
8
7
  declare const A: storybook_theming.StyledComponent<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
@@ -174,7 +173,7 @@ interface SyntaxHighlighterCustomProps {
174
173
  className?: string;
175
174
  renderer?: SyntaxHighlighterRenderer;
176
175
  }
177
- type SyntaxHighlighterFormatTypes = boolean | 'dedent' | BuiltInParserName;
176
+ type SyntaxHighlighterFormatTypes = boolean | 'dedent';
178
177
  type LineTagPropsFunction = (lineNumber: number) => React.HTMLProps<HTMLElement>;
179
178
  type SupportedLanguage = 'text' | keyof typeof supportedLanguages;
180
179
  interface SyntaxHighlighterBaseProps {