@storybook/blocks 7.0.0-alpha.38 → 7.0.0-alpha.40
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/index.d.ts +2 -6
- package/dist/index.js +12 -12
- package/dist/index.mjs +23 -23
- package/package.json +14 -13
package/dist/index.d.ts
CHANGED
|
@@ -178,11 +178,6 @@ declare const Anchor: FC<AnchorProps>;
|
|
|
178
178
|
|
|
179
179
|
declare const DocsContext: Context<DocsContextProps<AnyFramework>>;
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* No longer supported, only here to help with error handling
|
|
183
|
-
*/
|
|
184
|
-
declare const CURRENT_SELECTION = ".";
|
|
185
|
-
declare const currentSelectionWarning: () => void;
|
|
186
181
|
declare const PRIMARY_STORY = "^";
|
|
187
182
|
declare type Component = any;
|
|
188
183
|
interface StoryData {
|
|
@@ -304,6 +299,7 @@ declare const DocsPage: FC;
|
|
|
304
299
|
interface DocsContainerProps<TFramework extends AnyFramework = AnyFramework> {
|
|
305
300
|
context: DocsContextProps<TFramework>;
|
|
306
301
|
theme?: ThemeVars;
|
|
302
|
+
children?: ReactNode;
|
|
307
303
|
}
|
|
308
304
|
declare const DocsContainer: FunctionComponent<DocsContainerProps>;
|
|
309
305
|
|
|
@@ -500,4 +496,4 @@ declare type ColorProps = ColorControlProps;
|
|
|
500
496
|
declare const LazyColorControl: React.LazyExoticComponent<React.FC<ColorControlProps>>;
|
|
501
497
|
declare const ColorControl: (props: ComponentProps<typeof LazyColorControl>) => JSX.Element;
|
|
502
498
|
|
|
503
|
-
export { AddContext, Anchor, AnchorMdx, AnchorProps, ArgsTable, BooleanConfig, BooleanControl, BooleanProps, BooleanValue,
|
|
499
|
+
export { AddContext, Anchor, AnchorMdx, AnchorProps, ArgsTable, BooleanConfig, BooleanControl, BooleanProps, BooleanValue, Canvas, CodeOrSourceMdx, ColorConfig, ColorControl, ColorItem, ColorPalette, ColorProps, ColorValue, Component, ComponentsTable, Control, ControlProps, ControlType, Controls, DateConfig, DateControl, DateProps, DateValue, DescriptionContainer as Description, DescriptionType, Docs, DocsContainer, DocsContainerProps, DocsContext, DocsPage, DocsProps, DocsStory, DocsStoryProps, ExternalDocs, ExternalDocsContainer, ExternalDocsProps, FilesControl, FilesControlProps, HeaderMdx, HeadersMdx, Heading, HeadingProps, IconGallery, IconItem, Meta, NoControlsWarning, NormalizedOptionsConfig, NumberConfig, NumberControl, NumberValue, ObjectConfig, ObjectControl, ObjectProps, ObjectValue, Options, OptionsArray, OptionsConfig, OptionsControl, OptionsControlType, OptionsMultiSelection, OptionsObject, OptionsProps, OptionsSelection, OptionsSingleSelection, PRIMARY_STORY, PresetColor, Primary, Props, ArgsTable$1 as PureArgsTable, RangeConfig, RangeControl, SortType, Source, SourceContainer, SourceContext, SourceContextProps, SourceItem, SourceState, Stories, Story, StoryData, StoryProps, StorySources, StoryTable, Subheading, Subtitle, TextConfig, TextControl, TextProps, TextValue, Title, Typeset, Wrapper, anchorBlockIdFromId, assertIsFn, extractComponentArgTypes, extractTitle, format, formatDate, formatTime, getComponent, getDescriptionProps, getSourceProps, getStoryId, getStoryProps, parse, parseDate, parseTime, storyBlockIdFromId };
|