@storybook/blocks 7.1.0-alpha.24 → 7.1.0-alpha.26
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 +5 -5
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ type ArgsTableProps$1 = ArgsTableOptionProps & (ArgsTableDataProps | ArgsTableEr
|
|
|
104
104
|
*/
|
|
105
105
|
declare const ArgsTable$1: FC<ArgsTableProps$1>;
|
|
106
106
|
|
|
107
|
-
declare const NoControlsWarning: () => JSX.Element;
|
|
107
|
+
declare const NoControlsWarning: () => React.JSX.Element;
|
|
108
108
|
|
|
109
109
|
interface CommonProps {
|
|
110
110
|
story: PreparedStory;
|
|
@@ -503,7 +503,7 @@ type DocsProps<TRenderer extends Renderer$1 = Renderer$1> = {
|
|
|
503
503
|
docsParameter: Parameters$1;
|
|
504
504
|
context: DocsContextProps<TRenderer>;
|
|
505
505
|
};
|
|
506
|
-
declare function Docs<TRenderer extends Renderer$1 = Renderer$1>({ context, docsParameter, }: DocsProps<TRenderer>): JSX.Element;
|
|
506
|
+
declare function Docs<TRenderer extends Renderer$1 = Renderer$1>({ context, docsParameter, }: DocsProps<TRenderer>): React.JSX.Element;
|
|
507
507
|
|
|
508
508
|
declare const DocsPage: FC;
|
|
509
509
|
|
|
@@ -518,7 +518,7 @@ declare const DocsStory: FC<DocsStoryProps>;
|
|
|
518
518
|
type ExternalDocsProps<TRenderer extends Renderer$1 = Renderer$1> = {
|
|
519
519
|
projectAnnotationsList: ProjectAnnotations<TRenderer>[];
|
|
520
520
|
};
|
|
521
|
-
declare function ExternalDocs<TRenderer extends Renderer$1 = Renderer$1>({ projectAnnotationsList, children, }: PropsWithChildren<ExternalDocsProps<TRenderer>>): JSX.Element;
|
|
521
|
+
declare function ExternalDocs<TRenderer extends Renderer$1 = Renderer$1>({ projectAnnotationsList, children, }: PropsWithChildren<ExternalDocsProps<TRenderer>>): React.JSX.Element;
|
|
522
522
|
|
|
523
523
|
declare const ExternalDocsContainer: React.FC<{
|
|
524
524
|
projectAnnotations: any;
|
|
@@ -530,7 +530,7 @@ interface HeadingProps {
|
|
|
530
530
|
declare const Heading: FC<PropsWithChildren<HeadingProps>>;
|
|
531
531
|
|
|
532
532
|
type MarkdownProps = typeof PureMarkdown extends React.ComponentType<infer Props> ? Props : never;
|
|
533
|
-
declare const Markdown: (props: MarkdownProps) => JSX.Element;
|
|
533
|
+
declare const Markdown: (props: MarkdownProps) => React.JSX.Element;
|
|
534
534
|
|
|
535
535
|
type MetaProps = BaseAnnotations & {
|
|
536
536
|
of?: ModuleExports;
|
|
@@ -710,6 +710,6 @@ declare const FilesControl: FC<FilesControlProps>;
|
|
|
710
710
|
|
|
711
711
|
type ColorProps = ColorControlProps;
|
|
712
712
|
declare const LazyColorControl: React.LazyExoticComponent<React.FC<ColorControlProps>>;
|
|
713
|
-
declare const ColorControl: (props: ComponentProps<typeof LazyColorControl>) => JSX.Element;
|
|
713
|
+
declare const ColorControl: (props: ComponentProps<typeof LazyColorControl>) => React.JSX.Element;
|
|
714
714
|
|
|
715
715
|
export { AddContext, Anchor, AnchorMdx, AnchorProps, ArgTypes, 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, Markdown, Meta, NoControlsWarning, NormalizedOptionsConfig, NumberConfig, NumberControl, NumberValue, ObjectConfig, ObjectControl, ObjectProps, ObjectValue, Of, Options, OptionsArray, OptionsConfig, OptionsControl, OptionsControlType, OptionsMultiSelection, OptionsObject, OptionsProps, OptionsSelection, OptionsSingleSelection, PRIMARY_STORY, PresetColor, Primary, ArgsTable$1 as PureArgsTable, RangeConfig, RangeControl, SortType, Source, SourceContainer, SourceContext, SourceContextProps, SourceItem, SourceProps, SourceState, Stories, Story, StoryProps, StorySources, StoryTable, Subheading, Subtitle, TextConfig, TextControl, TextProps, TextValue, Title, Typeset, UNKNOWN_ARGS_HASH, Unstyled, Wrapper, anchorBlockIdFromId, argsHash, assertIsFn, extractComponentArgTypes, extractTitle, format, formatDate, formatTime, getComponent, getStoryId, getStoryProps, parse, parseDate, parseTime, useOf, useSourceProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/blocks",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.26",
|
|
4
4
|
"description": "Storybook Doc Blocks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@storybook/channels": "7.1.0-alpha.
|
|
47
|
-
"@storybook/client-logger": "7.1.0-alpha.
|
|
48
|
-
"@storybook/components": "7.1.0-alpha.
|
|
49
|
-
"@storybook/core-events": "7.1.0-alpha.
|
|
46
|
+
"@storybook/channels": "7.1.0-alpha.26",
|
|
47
|
+
"@storybook/client-logger": "7.1.0-alpha.26",
|
|
48
|
+
"@storybook/components": "7.1.0-alpha.26",
|
|
49
|
+
"@storybook/core-events": "7.1.0-alpha.26",
|
|
50
50
|
"@storybook/csf": "^0.1.0",
|
|
51
|
-
"@storybook/docs-tools": "7.1.0-alpha.
|
|
51
|
+
"@storybook/docs-tools": "7.1.0-alpha.26",
|
|
52
52
|
"@storybook/global": "^5.0.0",
|
|
53
|
-
"@storybook/manager-api": "7.1.0-alpha.
|
|
54
|
-
"@storybook/preview-api": "7.1.0-alpha.
|
|
55
|
-
"@storybook/theming": "7.1.0-alpha.
|
|
56
|
-
"@storybook/types": "7.1.0-alpha.
|
|
53
|
+
"@storybook/manager-api": "7.1.0-alpha.26",
|
|
54
|
+
"@storybook/preview-api": "7.1.0-alpha.26",
|
|
55
|
+
"@storybook/theming": "7.1.0-alpha.26",
|
|
56
|
+
"@storybook/types": "7.1.0-alpha.26",
|
|
57
57
|
"@types/lodash": "^4.14.167",
|
|
58
58
|
"color-convert": "^2.0.1",
|
|
59
59
|
"dequal": "^2.0.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"util-deprecate": "^1.0.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@storybook/addon-actions": "7.1.0-alpha.
|
|
70
|
+
"@storybook/addon-actions": "7.1.0-alpha.26",
|
|
71
71
|
"@types/color-convert": "^2.0.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"./src/index.ts"
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "515abaa55abc8ad20f906e4ce46cde3d3850991e"
|
|
86
86
|
}
|