@storybook/components 8.1.0-alpha.1 → 8.1.0-alpha.3
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { WithToolTipState, WithToolTipState as WithTooltip, WithTooltipPure } from './chunk-
|
|
1
|
+
export { WithToolTipState, WithToolTipState as WithTooltip, WithTooltipPure } from './chunk-J3DTSNVY.mjs';
|
|
2
2
|
import './chunk-FD4M6EBV.mjs';
|
|
3
3
|
import './chunk-SCHQIR5W.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -778,6 +778,8 @@ interface TabsProps {
|
|
|
778
778
|
}>[];
|
|
779
779
|
id?: string;
|
|
780
780
|
tools?: ReactNode;
|
|
781
|
+
showToolsWhenEmpty?: boolean;
|
|
782
|
+
emptyState?: ReactNode;
|
|
781
783
|
selected?: string;
|
|
782
784
|
actions?: {
|
|
783
785
|
onSelect: (id: string) => void;
|
|
@@ -808,6 +810,13 @@ declare class TabsState extends Component<TabsStateProps, TabsStateState> {
|
|
|
808
810
|
render(): react__default.JSX.Element;
|
|
809
811
|
}
|
|
810
812
|
|
|
813
|
+
interface Props {
|
|
814
|
+
title: react__default.ReactNode;
|
|
815
|
+
description?: react__default.ReactNode;
|
|
816
|
+
footer?: react__default.ReactNode;
|
|
817
|
+
}
|
|
818
|
+
declare const EmptyTabContent: ({ title, description, footer }: Props) => react__default.JSX.Element;
|
|
819
|
+
|
|
811
820
|
interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
812
821
|
href?: never;
|
|
813
822
|
target?: never;
|
|
@@ -852,7 +861,7 @@ interface FlexBarProps extends ComponentProps<typeof Bar> {
|
|
|
852
861
|
backgroundColor?: string;
|
|
853
862
|
}
|
|
854
863
|
declare const FlexBar: {
|
|
855
|
-
({ children, backgroundColor, ...rest }: FlexBarProps): react__default.JSX.Element;
|
|
864
|
+
({ children, backgroundColor, className, ...rest }: FlexBarProps): react__default.JSX.Element;
|
|
856
865
|
displayName: string;
|
|
857
866
|
};
|
|
858
867
|
|
|
@@ -1170,4 +1179,4 @@ declare const components: {
|
|
|
1170
1179
|
};
|
|
1171
1180
|
declare const resetComponents: Record<string, ElementType>;
|
|
1172
1181
|
|
|
1173
|
-
export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, ClipboardCode, Code, DL, Div, DocumentWrapper, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, IconsProps, Img, LI, Link$1 as Link, ListItem, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, SupportedLanguage, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, Link as TooltipLinkListLink, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, icons, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };
|
|
1182
|
+
export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, ClipboardCode, Code, DL, Div, DocumentWrapper, EmptyTabContent, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, IconsProps, Img, LI, Link$1 as Link, ListItem, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, SupportedLanguage, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, Link as TooltipLinkListLink, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, icons, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };
|