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.
- package/dist/actions/decorator.js +46 -47
- package/dist/actions/index.cjs +28 -29
- package/dist/actions/index.d.ts +0 -3
- package/dist/actions/index.js +27 -28
- package/dist/actions/preview.cjs +22 -23
- package/dist/actions/preview.js +18 -19
- package/dist/bin/index.cjs +67 -71
- package/dist/bin/index.js +56 -60
- package/dist/channels/index.cjs +1018 -948
- package/dist/channels/index.js +1194 -1161
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/cli/index.cjs +1860 -1871
- package/dist/cli/index.js +308 -319
- package/dist/common/index.cjs +43 -49
- package/dist/common/index.d.ts +0 -4
- package/dist/common/index.js +43 -49
- package/dist/components/index.cjs +6375 -12708
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +4647 -10782
- package/dist/core-server/index.cjs +13626 -13550
- package/dist/core-server/index.js +11863 -11787
- package/dist/core-server/presets/common-manager.js +3221 -3138
- package/dist/manager/globals-runtime.js +29817 -33554
- package/dist/manager-api/index.cjs +2518 -2330
- package/dist/manager-api/index.js +2432 -2234
- package/dist/preview/runtime.js +18415 -16011
- package/dist/preview-api/index.cjs +619 -603
- package/dist/preview-api/index.d.ts +386 -118
- package/dist/preview-api/index.js +542 -526
- package/dist/server-errors.cjs +132 -118
- package/dist/server-errors.d.ts +4 -2
- package/dist/server-errors.js +127 -113
- package/dist/test/preview.d.ts +6 -0
- package/dist/types/index.d.ts +1 -4
- 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'
|
|
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 {
|