@storybook/components 7.0.0-alpha.1 → 7.0.0-alpha.12

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/html.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import{Ha as d,Ia as c,a}from"./chunk-X32VMURG.mjs";import"./chunk-IE3SZHMD.mjs";import{a as o}from"./chunk-4HFE7HIP.mjs";import"./chunk-SEEBCDLS.mjs";import"./chunk-B5E6VV27.mjs";import"./chunk-HK5F4PFQ.mjs";import"./chunk-MGIUKE7Y.mjs";import"./chunk-XFP3TTPB.mjs";import{d as p,f as s,g as m,i as e}from"./chunk-YLDU3KBJ.mjs";var r=s((l,t)=>{e();t.exports=p("util").deprecate});e();var n=m(r()),y=(0,n.default)(()=>{},o`
1
+ import{a as p,da as e,ea as r}from"./chunk-LLX7EXC4.mjs";import"./chunk-S7OMGUUK.mjs";import{a as t}from"./chunk-CGLRSHNT.mjs";import"./chunk-YVBGO3YY.mjs";import"./chunk-QR7ITAPP.mjs";import{e as o}from"./chunk-OFUVGIED.mjs";o();import n from"util-deprecate";var s=n(()=>{},t`
2
2
  The entry point '@storybook/components/html' is deprecated. Please use '@storybook/components' directly instead.
3
3
 
4
4
  See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-storybook-components-html-entry-point
5
- `);y();export{d as components,a as nameSpaceClassNames,c as resetComponents};
5
+ `);s();export{e as components,p as nameSpaceClassNames,r as resetComponents};
package/dist/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  import * as react from 'react';
2
- import react__default, { ComponentProps, FunctionComponent, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, Component, MutableRefObject, SyntheticEvent, FC, ElementType } from 'react';
2
+ import react__default, { ComponentProps, FunctionComponent, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, Component, RefObject, SyntheticEvent, ElementType } from 'react';
3
3
  import * as _storybook_theming from '@storybook/theming';
4
- import { Theme } from '@storybook/theming';
4
+ import { Theme, CSSObject } from '@storybook/theming';
5
5
  import { BuiltInParserName } from 'prettier';
6
6
  import * as react_textarea_autosize from 'react-textarea-autosize';
7
- import { Conditional, Parameters } from '@storybook/csf';
8
7
 
9
8
  declare const A: _storybook_theming.StyledComponent<any, {
10
9
  theme: _storybook_theming.Theme;
@@ -159,21 +158,24 @@ interface SyntaxHighlighterCustomProps {
159
158
  declare type SyntaxHighlighterFormatTypes = boolean | 'dedent' | BuiltInParserName;
160
159
  declare type lineTagPropsFunction = (lineNumber: number) => React.HTMLProps<HTMLElement>;
161
160
  interface SyntaxHighlighterBaseProps {
162
- language?: string;
163
- style?: any;
161
+ children?: React.ReactNode;
162
+ codeTagProps?: React.HTMLProps<HTMLElement>;
164
163
  customStyle?: any;
164
+ language?: string;
165
+ lineNumberStyle?: any;
165
166
  lineProps?: lineTagPropsFunction | React.HTMLProps<HTMLElement>;
166
- codeTagProps?: React.HTMLProps<HTMLElement>;
167
- useInlineStyles?: boolean;
168
167
  showLineNumbers?: boolean;
169
168
  startingLineNumber?: number;
170
- lineNumberStyle?: any;
169
+ style?: any;
170
+ useInlineStyles?: boolean;
171
171
  }
172
172
  declare type SyntaxHighlighterProps = SyntaxHighlighterBaseProps & SyntaxHighlighterCustomProps;
173
173
 
174
174
  declare const LazySyntaxHighlighter: react__default.LazyExoticComponent<react__default.FunctionComponent<SyntaxHighlighterProps>>;
175
175
  declare const SyntaxHighlighter: (props: ComponentProps<typeof LazySyntaxHighlighter>) => JSX.Element;
176
176
 
177
+ declare function createCopyToClipboardFunction(): (text: string) => any;
178
+
177
179
  interface ActionItem {
178
180
  title: string | JSX.Element;
179
181
  className?: string;
@@ -186,15 +188,20 @@ interface ActionBarProps {
186
188
  declare const ActionBar: FunctionComponent<ActionBarProps>;
187
189
 
188
190
  interface SpacedProps {
191
+ children?: react__default.ReactNode;
189
192
  col?: number;
190
193
  row?: number;
191
194
  outer?: number | boolean;
192
195
  }
193
196
  declare const Spaced: FunctionComponent<SpacedProps>;
194
197
 
195
- declare const Placeholder: FunctionComponent;
198
+ interface PlaceholderProps {
199
+ children?: react__default.ReactNode;
200
+ }
201
+ declare const Placeholder: FunctionComponent<PlaceholderProps>;
196
202
 
197
203
  interface ScrollAreaProps {
204
+ children?: react__default.ReactNode;
198
205
  horizontal?: boolean;
199
206
  vertical?: boolean;
200
207
  className?: string;
@@ -210,7 +217,7 @@ declare function ZoomElement({ scale, children }: ZoomProps): JSX.Element;
210
217
  declare type IZoomIFrameProps = {
211
218
  scale: number;
212
219
  children: ReactElement<HTMLIFrameElement>;
213
- iFrameRef: MutableRefObject<HTMLIFrameElement>;
220
+ iFrameRef: RefObject<HTMLIFrameElement>;
214
221
  active?: boolean;
215
222
  };
216
223
  declare class ZoomIFrame extends Component<IZoomIFrameProps> {
@@ -244,6 +251,7 @@ declare const ButtonWrapper: _storybook_theming.StyledComponent<react__default.D
244
251
  declare const Button: FunctionComponent<ComponentProps<typeof ButtonWrapper>>;
245
252
 
246
253
  interface FieldProps {
254
+ children?: ReactNode;
247
255
  label?: ReactNode;
248
256
  }
249
257
 
@@ -252,7 +260,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
252
260
  Input: _storybook_theming.StyledComponent<any, {
253
261
  size?: "flex" | "auto" | "100%";
254
262
  align?: "center" | "end" | "start";
255
- valid?: "error" | "valid" | "warn";
263
+ valid?: "valid" | "error" | "warn";
256
264
  height?: number;
257
265
  }, _storybook_theming.Theme> & {
258
266
  displayName: string;
@@ -260,7 +268,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
260
268
  Select: _storybook_theming.StyledComponent<any, Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "size" | "valid" | "align"> & {
261
269
  size?: "flex" | "auto" | "100%";
262
270
  align?: "center" | "end" | "start";
263
- valid?: "error" | "valid" | "warn";
271
+ valid?: "valid" | "error" | "warn";
264
272
  height?: number;
265
273
  }, _storybook_theming.Theme> & {
266
274
  displayName: string;
@@ -268,7 +276,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
268
276
  Textarea: _storybook_theming.StyledComponent<any, Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "size" | "valid" | "align"> & {
269
277
  size?: "flex" | "auto" | "100%";
270
278
  align?: "center" | "end" | "start";
271
- valid?: "error" | "valid" | "warn";
279
+ valid?: "valid" | "error" | "warn";
272
280
  height?: number;
273
281
  }, _storybook_theming.Theme> & {
274
282
  displayName: string;
@@ -501,6 +509,7 @@ interface TabWrapperProps {
501
509
  }
502
510
  declare const TabWrapper: FunctionComponent<TabWrapperProps>;
503
511
  interface TabsProps {
512
+ children?: FuncChildren[] | ReactNode;
504
513
  id?: string;
505
514
  tools?: ReactNode;
506
515
  selected?: string;
@@ -512,9 +521,11 @@ interface TabsProps {
512
521
  bordered?: boolean;
513
522
  }
514
523
  declare const Tabs: FunctionComponent<TabsProps>;
515
- declare type FuncChildren = () => void;
524
+ declare type FuncChildren = ({ active }: {
525
+ active: boolean;
526
+ }) => JSX.Element;
516
527
  interface TabsStateProps {
517
- children: (ReactNode | FuncChildren)[];
528
+ children: FuncChildren[] | ReactNode;
518
529
  initial: string;
519
530
  absolute: boolean;
520
531
  bordered: boolean;
@@ -542,6 +553,7 @@ interface IconButtonProps {
542
553
  disabled?: boolean;
543
554
  }
544
555
  declare const IconButton: _storybook_theming.StyledComponent<any, IconButtonProps, _storybook_theming.Theme>;
556
+ declare const IconButtonSkeleton: () => JSX.Element;
545
557
 
546
558
  declare const Separator: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, SeparatorProps, _storybook_theming.Theme>;
547
559
  declare const interleaveSeparators: (list: any[]) => any;
@@ -759,337 +771,6 @@ declare const StorybookLogo: FunctionComponent<{
759
771
 
760
772
  declare const StorybookIcon: FunctionComponent<{}>;
761
773
 
762
- interface DescriptionProps {
763
- markdown: string;
764
- }
765
- /**
766
- * A markdown description for a component, typically used to show the
767
- * components docgen docs.
768
- */
769
- declare const Description: FunctionComponent<DescriptionProps>;
770
-
771
- interface DocsPageProps {
772
- title: string;
773
- subtitle?: string;
774
- }
775
- declare const Title: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, Theme>;
776
- declare const Subtitle: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, Theme>;
777
- declare const DocsContent: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<react__default.ClassAttributes<HTMLDivElement> & react__default.HTMLAttributes<HTMLDivElement>, keyof react__default.HTMLAttributes<HTMLDivElement>>, Theme>;
778
- declare const DocsWrapper: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, Theme>;
779
- declare const DocsPageWrapper: FC;
780
-
781
- declare const StyledSyntaxHighlighter: _storybook_theming.StyledComponent<any, {}, _storybook_theming.Theme>;
782
- declare enum SourceError {
783
- NO_STORY = "There\u2019s no story here.",
784
- SOURCE_UNAVAILABLE = "Oh no! The source is not available."
785
- }
786
- interface SourceErrorProps {
787
- isLoading?: boolean;
788
- error?: SourceError;
789
- }
790
- interface SourceCodeProps {
791
- language?: string;
792
- code?: string;
793
- format?: ComponentProps<typeof SyntaxHighlighter>['format'];
794
- dark?: boolean;
795
- }
796
- declare type SourceProps = SourceErrorProps & SourceCodeProps;
797
- /**
798
- * Syntax-highlighted source code for a component (or anything!)
799
- */
800
- declare const Source: FunctionComponent<SourceProps>;
801
-
802
- interface PreviewProps {
803
- isLoading?: true;
804
- isColumn?: boolean;
805
- columns?: number;
806
- withSource?: SourceProps;
807
- isExpanded?: boolean;
808
- withToolbar?: boolean;
809
- className?: string;
810
- additionalActions?: ActionItem[];
811
- }
812
- /**
813
- * A preview component for showing one or more component `Story`
814
- * items. The preview also shows the source for the component
815
- * as a drop-down.
816
- */
817
- declare const Preview: FunctionComponent<PreviewProps>;
818
- declare const PreviewSkeleton: () => JSX.Element;
819
-
820
- interface JsDocParam {
821
- name: string;
822
- description?: string;
823
- }
824
- interface JsDocReturns {
825
- description?: string;
826
- }
827
- interface JsDocTags {
828
- params?: JsDocParam[];
829
- returns?: JsDocReturns;
830
- }
831
- interface PropSummaryValue {
832
- summary: string;
833
- detail?: string;
834
- required?: boolean;
835
- }
836
- declare type PropType = PropSummaryValue;
837
- declare type PropDefaultValue = PropSummaryValue;
838
- interface TableAnnotation {
839
- type: PropType;
840
- jsDocTags?: JsDocTags;
841
- defaultValue?: PropDefaultValue;
842
- category?: string;
843
- }
844
- interface ArgType {
845
- name?: string;
846
- description?: string;
847
- defaultValue?: any;
848
- if?: Conditional;
849
- [key: string]: any;
850
- }
851
- interface ArgTypes {
852
- [key: string]: ArgType;
853
- }
854
- interface Args {
855
- [key: string]: any;
856
- }
857
- declare type Globals = {
858
- [name: string]: any;
859
- };
860
-
861
- declare const TableWrapper: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
862
- compact?: boolean;
863
- inAddonPanel?: boolean;
864
- isLoading?: boolean;
865
- }, _storybook_theming.Theme>;
866
- declare enum ArgsTableError {
867
- NO_COMPONENT = "No component found.",
868
- ARGS_UNSUPPORTED = "Args unsupported. See Args documentation for your framework."
869
- }
870
- declare type SortType = 'alpha' | 'requiredFirst' | 'none';
871
- interface ArgsTableOptionProps {
872
- updateArgs?: (args: Args) => void;
873
- resetArgs?: (argNames?: string[]) => void;
874
- compact?: boolean;
875
- inAddonPanel?: boolean;
876
- initialExpandedArgs?: boolean;
877
- isLoading?: boolean;
878
- sort?: SortType;
879
- }
880
- interface ArgsTableDataProps {
881
- rows: ArgTypes;
882
- args?: Args;
883
- globals?: Globals;
884
- }
885
- interface ArgsTableErrorProps {
886
- error: ArgsTableError;
887
- }
888
- interface ArgsTableLoadingProps {
889
- isLoading: true;
890
- }
891
- declare const argsTableLoadingData: ArgsTableDataProps;
892
- declare type ArgsTableProps = ArgsTableOptionProps & (ArgsTableDataProps | ArgsTableErrorProps | ArgsTableLoadingProps);
893
- /**
894
- * Display the props for a component as a props table. Each row is a collection of
895
- * ArgDefs, usually derived from docgen info for the component.
896
- */
897
- declare const ArgsTable: FC<ArgsTableProps>;
898
-
899
- interface TabbedArgsTableProps {
900
- tabs: Record<string, ArgsTableProps>;
901
- sort?: SortType;
902
- }
903
- declare const TabbedArgsTable: FC<TabbedArgsTableProps>;
904
-
905
- declare const NoControlsWarning: () => JSX.Element;
906
-
907
- declare enum StoryError {
908
- NO_STORY = "No component or story to display"
909
- }
910
- interface CommonProps {
911
- title?: string;
912
- height?: string;
913
- id: string;
914
- }
915
- interface InlineStoryProps extends CommonProps {
916
- parameters: Parameters;
917
- storyFn: ElementType;
918
- }
919
- declare type IFrameStoryProps = CommonProps;
920
- declare type StoryProps = InlineStoryProps | IFrameStoryProps;
921
- /**
922
- * A story element, either rendered inline or in an iframe,
923
- * with configurable height.
924
- */
925
- declare const Story: FunctionComponent<StoryProps & {
926
- inline?: boolean;
927
- error?: StoryError;
928
- }>;
929
- declare const StorySkeleton: () => JSX.Element;
930
-
931
- interface IFrameProps {
932
- id: string;
933
- key?: string;
934
- title: string;
935
- src: string;
936
- allowFullScreen: boolean;
937
- scale: number;
938
- style?: any;
939
- }
940
- interface BodyStyle {
941
- width: string;
942
- height: string;
943
- transform: string;
944
- transformOrigin: string;
945
- }
946
- declare class IFrame extends Component<IFrameProps> {
947
- iframe: any;
948
- componentDidMount(): void;
949
- shouldComponentUpdate(nextProps: IFrameProps): boolean;
950
- setIframeBodyStyle(style: BodyStyle): any;
951
- render(): JSX.Element;
952
- }
953
-
954
- interface TypesetProps {
955
- fontFamily?: string;
956
- fontSizes: string[];
957
- fontWeight?: number;
958
- sampleText?: string;
959
- }
960
- /**
961
- * Convenient styleguide documentation showing examples of type
962
- * with different sizes and weights and configurable sample text.
963
- */
964
- declare const Typeset: FunctionComponent<TypesetProps>;
965
-
966
- declare type Colors = string[] | {
967
- [key: string]: string;
968
- };
969
- interface ColorItemProps {
970
- title: string;
971
- subtitle: string;
972
- colors: Colors;
973
- }
974
- /**
975
- * A single color row your styleguide showing title, subtitle and one or more colors, used
976
- * as a child of `ColorPalette`.
977
- */
978
- declare const ColorItem: FunctionComponent<ColorItemProps>;
979
- /**
980
- * Styleguide documentation for colors, including names, captions, and color swatches,
981
- * all specified as `ColorItem` children of this wrapper component.
982
- */
983
- declare const ColorPalette: FunctionComponent;
984
-
985
- interface IconItemProps {
986
- name: string;
987
- }
988
- /**
989
- * An individual icon with a caption and an example (passed as `children`).
990
- */
991
- declare const IconItem: FunctionComponent<IconItemProps>;
992
- /**
993
- * Show a grid of icons, as specified by `IconItem`.
994
- */
995
- declare const IconGallery: FunctionComponent;
996
-
997
- interface ControlProps<T> {
998
- name: string;
999
- value?: T;
1000
- defaultValue?: T;
1001
- argType?: ArgType;
1002
- onChange: (value: T) => T | void;
1003
- onFocus?: (evt: any) => void;
1004
- onBlur?: (evt: any) => void;
1005
- }
1006
- declare type BooleanValue = boolean;
1007
- interface BooleanConfig {
1008
- }
1009
- declare type ColorValue = string;
1010
- declare type PresetColor = ColorValue | {
1011
- color: ColorValue;
1012
- title?: string;
1013
- };
1014
- interface ColorConfig {
1015
- presetColors?: PresetColor[];
1016
- startOpen?: boolean;
1017
- }
1018
- declare type DateValue = Date | number;
1019
- interface DateConfig {
1020
- }
1021
- declare type NumberValue = number;
1022
- interface NumberConfig {
1023
- min?: number;
1024
- max?: number;
1025
- step?: number;
1026
- }
1027
- declare type RangeConfig = NumberConfig;
1028
- declare type ObjectValue = any;
1029
- interface ObjectConfig {
1030
- }
1031
- declare type OptionsSingleSelection = any;
1032
- declare type OptionsMultiSelection = any[];
1033
- declare type OptionsSelection = OptionsSingleSelection | OptionsMultiSelection;
1034
- declare type OptionsArray = any[];
1035
- declare type OptionsObject = Record<string, any>;
1036
- declare type Options = OptionsArray | OptionsObject;
1037
- declare type OptionsControlType = 'radio' | 'inline-radio' | 'check' | 'inline-check' | 'select' | 'multi-select';
1038
- interface OptionsConfig {
1039
- labels: Record<any, string>;
1040
- options: Options;
1041
- type: OptionsControlType;
1042
- }
1043
- interface NormalizedOptionsConfig {
1044
- options: OptionsObject;
1045
- }
1046
- declare type TextValue = string;
1047
- interface TextConfig {
1048
- }
1049
- declare type ControlType = 'array' | 'boolean' | 'color' | 'date' | 'number' | 'range' | 'object' | OptionsControlType | 'text';
1050
- declare type Control = BooleanConfig | ColorConfig | DateConfig | NumberConfig | ObjectConfig | OptionsConfig | RangeConfig | TextConfig;
1051
- declare type Controls = Record<string, Control>;
1052
-
1053
- declare type ColorControlProps = ControlProps<ColorValue> & ColorConfig;
1054
-
1055
- declare type BooleanProps = ControlProps<BooleanValue> & BooleanConfig;
1056
- declare const BooleanControl: FC<BooleanProps>;
1057
-
1058
- declare const parseDate: (value: string) => Date;
1059
- declare const parseTime: (value: string) => Date;
1060
- declare const formatDate: (value: Date | number) => string;
1061
- declare const formatTime: (value: Date | number) => string;
1062
- declare type DateProps = ControlProps<DateValue> & DateConfig;
1063
- declare const DateControl: FC<DateProps>;
1064
-
1065
- declare type NumberProps = ControlProps<NumberValue | null> & NumberConfig;
1066
- declare const parse: (value: string) => number;
1067
- declare const format: (value: NumberValue) => string;
1068
- declare const NumberControl: FC<NumberProps>;
1069
-
1070
- declare type OptionsProps = ControlProps<OptionsSelection> & OptionsConfig;
1071
- declare const OptionsControl: FC<OptionsProps>;
1072
-
1073
- declare type ObjectProps = ControlProps<ObjectValue> & ObjectConfig & {
1074
- theme: any;
1075
- };
1076
- declare const ObjectControl: FC<ObjectProps>;
1077
-
1078
- declare type RangeProps = ControlProps<NumberValue | null> & RangeConfig;
1079
- declare const RangeControl: FC<RangeProps>;
1080
-
1081
- declare type TextProps = ControlProps<TextValue | undefined> & TextConfig;
1082
- declare const TextControl: FC<TextProps>;
1083
-
1084
- interface FilesControlProps extends ControlProps<string[]> {
1085
- accept?: string;
1086
- }
1087
- declare const FilesControl: FunctionComponent<FilesControlProps>;
1088
-
1089
- declare type ColorProps = ColorControlProps;
1090
- declare const LazyColorControl: react__default.LazyExoticComponent<react__default.FC<ColorControlProps>>;
1091
- declare const ColorControl: (props: ComponentProps<typeof LazyColorControl>) => JSX.Element;
1092
-
1093
774
  declare const ProgressWrapper: _storybook_theming.StyledComponent<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<react__default.ClassAttributes<HTMLDivElement> & react__default.HTMLAttributes<HTMLDivElement>, keyof react__default.HTMLAttributes<HTMLDivElement>>, _storybook_theming.Theme>;
1094
775
  interface Progress {
1095
776
  value: number;
@@ -1115,6 +796,22 @@ declare const nameSpaceClassNames: ({ ...props }: {
1115
796
  [x: string]: any;
1116
797
  };
1117
798
 
799
+ /**
800
+ * This is a "local" reset to style subtrees with Storybook styles
801
+ *
802
+ * We can't style individual elements (e.g. h1, h2, etc.) in here
803
+ * because the CSS specificity is too high, so those styles can too
804
+ * easily override child elements that are not expecting it.
805
+ */
806
+ declare const ResetWrapper: _storybook_theming.StyledComponent<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, _storybook_theming.Theme>;
807
+
808
+ declare const codeCommon: ({ theme }: {
809
+ theme: Theme;
810
+ }) => CSSObject;
811
+ declare const withReset: ({ theme }: {
812
+ theme: Theme;
813
+ }) => CSSObject;
814
+
1118
815
  declare const components: {
1119
816
  h1: (props: react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
1120
817
  h2: (props: react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
@@ -1141,4 +838,4 @@ declare const components: {
1141
838
  };
1142
839
  declare const resetComponents: Record<string, ElementType>;
1143
840
 
1144
- export { A, ActionBar, AddonPanel, ArgType, ArgTypes, Args, ArgsTable, ArgsTableDataProps, ArgsTableError, ArgsTableErrorProps, ArgsTableLoadingProps, ArgsTableOptionProps, ArgsTableProps, Badge, Bar, Blockquote, BooleanConfig, BooleanControl, BooleanProps, BooleanValue, Button, Code, ColorConfig, ColorControl, ColorItem, ColorPalette, ColorProps, ColorValue, Control, ControlProps, ControlType, Controls, DL, DateConfig, DateControl, DateProps, DateValue, Description, DescriptionProps, Div, DocsContent, DocsPageProps, DocsPageWrapper, DocsWrapper, DocumentWrapper, FilesControl, FilesControlProps, FlexBar, Form, Globals, H1, H2, H3, H4, H5, H6, HR, IFrame, IconButton, IconGallery, IconItem, Icons, IconsProps, Img, JsDocParam, JsDocReturns, JsDocTags, LI, Link$1 as Link, Loader, NoControlsWarning, NormalizedOptionsConfig, NumberConfig, NumberControl, NumberValue, OL, ObjectConfig, ObjectControl, ObjectProps, ObjectValue, Options, OptionsArray, OptionsConfig, OptionsControl, OptionsControlType, OptionsMultiSelection, OptionsObject, OptionsProps, OptionsSelection, OptionsSingleSelection, P, Placeholder, Pre, PresetColor, Preview, PreviewProps, PreviewSkeleton, PropDefaultValue, PropSummaryValue, PropType, RangeConfig, RangeControl, ScrollArea, Separator, SortType, Source, SourceError, SourceProps, Spaced, Span, Story, StoryError, StorySkeleton, StorybookIcon, StorybookLogo, StyledSyntaxHighlighter, Subtitle, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, TabbedArgsTable, TabbedArgsTableProps, Table, TableAnnotation, TableWrapper, Tabs, TabsState, TextConfig, TextControl, TextProps, TextValue, Title, TooltipLinkList, TooltipMessage, TooltipNote, Typeset, TypesetProps, UL, WithTooltip, WithTooltipPure, Zoom, argsTableLoadingData, components, format, formatDate, formatTime, getStoryHref, interleaveSeparators, nameSpaceClassNames, parse, parseDate, parseTime, resetComponents };
841
+ export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, IconsProps, Img, LI, Link$1 as Link, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };