storybook 9.0.15 → 9.0.17
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/bin/index.cjs +43 -43
- package/dist/bin/index.js +43 -43
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/common/index.cjs +43 -43
- package/dist/common/index.js +43 -43
- package/dist/components/index.cjs +4586 -4419
- package/dist/components/index.d.ts +8 -11
- package/dist/components/index.js +2743 -2572
- package/dist/core-server/index.d.ts +4 -1
- package/dist/core-server/presets/common-manager.js +13 -6
- package/dist/csf-tools/index.cjs +319 -321
- package/dist/csf-tools/index.js +239 -241
- package/dist/manager/globals-module-info.cjs +0 -1
- package/dist/manager/globals-module-info.js +0 -1
- package/dist/manager/globals-runtime.js +15178 -15008
- package/dist/manager/runtime.js +129 -124
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.d.ts +4 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/preview/runtime.js +10 -9
- package/dist/preview-api/index.cjs +10 -9
- package/dist/preview-api/index.d.ts +4 -1
- package/dist/preview-api/index.js +791 -790
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/viewport/index.d.ts +4 -1
- package/package.json +2 -1
|
@@ -579,7 +579,9 @@ interface ErrorFormatterProps {
|
|
|
579
579
|
}
|
|
580
580
|
declare const ErrorFormatter: ({ error }: ErrorFormatterProps) => React__default.JSX.Element;
|
|
581
581
|
|
|
582
|
-
|
|
582
|
+
type Sizes = '100%' | 'flex' | 'auto';
|
|
583
|
+
type Alignments = 'end' | 'center' | 'start';
|
|
584
|
+
type ValidationStates = 'valid' | 'error' | 'warn';
|
|
583
585
|
|
|
584
586
|
/**
|
|
585
587
|
* These types are copied from `react-textarea-autosize`. I copied them because of
|
|
@@ -600,9 +602,6 @@ interface TextareaAutosizeProps extends Omit<TextareaPropsRaw, 'style'> {
|
|
|
600
602
|
cacheMeasurements?: boolean;
|
|
601
603
|
style?: Style;
|
|
602
604
|
}
|
|
603
|
-
type Sizes = '100%' | 'flex' | 'auto';
|
|
604
|
-
type Alignments = 'end' | 'center' | 'start';
|
|
605
|
-
type ValidationStates = 'valid' | 'error' | 'warn';
|
|
606
605
|
|
|
607
606
|
interface FieldProps {
|
|
608
607
|
children?: ReactNode;
|
|
@@ -629,16 +628,12 @@ declare const Form: storybook_theming.StyledComponent<{
|
|
|
629
628
|
}, {}, {}> & {
|
|
630
629
|
displayName: string;
|
|
631
630
|
};
|
|
632
|
-
Select:
|
|
631
|
+
Select: ({ children, ...props }: Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "align" | "height" | "size" | "valid"> & {
|
|
633
632
|
size?: Sizes;
|
|
634
633
|
align?: Alignments;
|
|
635
634
|
valid?: ValidationStates;
|
|
636
635
|
height?: number;
|
|
637
|
-
}
|
|
638
|
-
theme?: storybook_theming.Theme;
|
|
639
|
-
}, {}, {}> & {
|
|
640
|
-
displayName: string;
|
|
641
|
-
};
|
|
636
|
+
}) => React$1.JSX.Element;
|
|
642
637
|
Textarea: storybook_theming.StyledComponent<Omit<Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
|
|
643
638
|
size?: Sizes;
|
|
644
639
|
align?: Alignments;
|
|
@@ -655,6 +650,8 @@ declare const Form: storybook_theming.StyledComponent<{
|
|
|
655
650
|
displayName: string;
|
|
656
651
|
};
|
|
657
652
|
Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
|
|
653
|
+
Checkbox: (props: React.InputHTMLAttributes<HTMLInputElement>) => React$1.JSX.Element;
|
|
654
|
+
Radio: (props: React.InputHTMLAttributes<HTMLInputElement>) => React$1.JSX.Element;
|
|
658
655
|
};
|
|
659
656
|
|
|
660
657
|
declare const top: "top";
|
|
@@ -1174,4 +1171,4 @@ declare const components: {
|
|
|
1174
1171
|
};
|
|
1175
1172
|
declare const resetComponents: Record<string, ElementType>;
|
|
1176
1173
|
|
|
1177
|
-
export { A, ActionBar, type ActionItem, AddonPanel, Badge, Bar, Blockquote, Button,
|
|
1174
|
+
export { A, ActionBar, type ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, ClipboardCode, Code, DL, Div, DocumentWrapper, EmptyTabContent, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, Img, LI, Link$1 as Link, ListItem, Loader, Modal, OL, P, Placeholder, Pre, ProgressSpinner, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, type SupportedLanguage, SyntaxHighlighter, type SyntaxHighlighterFormatTypes, type SyntaxHighlighterProps, type SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, type Link as TooltipLinkListLink, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };
|