storybook 9.0.16 → 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.
@@ -579,7 +579,9 @@ interface ErrorFormatterProps {
579
579
  }
580
580
  declare const ErrorFormatter: ({ error }: ErrorFormatterProps) => React__default.JSX.Element;
581
581
 
582
- declare const Checkbox: (props: React__default.InputHTMLAttributes<HTMLInputElement>) => React__default.JSX.Element;
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: storybook_theming.StyledComponent<Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "align" | "height" | "size" | "valid"> & {
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
- } & React$1.RefAttributes<any> & {
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, Checkbox, 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 };
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 };