@storybook/csf
Advanced tools
Comparing version 0.0.2-next.0 to 0.0.2-next.1
@@ -42,2 +42,3 @@ import { Simplify, UnionToIntersection } from 'type-fest'; | ||
declare type StoryKind = ComponentTitle; | ||
declare type Tag = string; | ||
interface StoryIdentifier { | ||
@@ -52,2 +53,3 @@ componentId: ComponentId; | ||
story: StoryName; | ||
tags: Tag[]; | ||
} | ||
@@ -267,2 +269,6 @@ declare type Parameters = { | ||
play?: PlayFunction<TFramework, TArgs>; | ||
/** | ||
* Named tags for a story, used to filter stories in different contexts. | ||
*/ | ||
tags?: Tag[]; | ||
} | ||
@@ -282,2 +288,6 @@ declare type StoryAnnotations<TFramework extends AnyFramework = AnyFramework, TArgs = Args, TRequiredArgs = Partial<TArgs>> = BaseAnnotations<TFramework, TArgs> & { | ||
play?: PlayFunction<TFramework, TArgs>; | ||
/** | ||
* Named tags for a story, used to filter stories in different contexts. | ||
*/ | ||
tags?: Tag[]; | ||
/** @deprecated */ | ||
@@ -343,2 +353,2 @@ story?: Omit<StoryAnnotations<TFramework, TArgs>, 'story'>; | ||
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, ProjectAnnotations, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictGlobalTypes, StrictInputType, ViewMode, includeConditionalArg, isExportStory, parseKind, sanitize, storyNameFromExport, toId }; | ||
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, ProjectAnnotations, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictGlobalTypes, StrictInputType, Tag, ViewMode, includeConditionalArg, isExportStory, parseKind, sanitize, storyNameFromExport, toId }; |
{ | ||
"name": "@storybook/csf", | ||
"version": "0.0.2-next.0", | ||
"version": "0.0.2-next.1", | ||
"description": "Component Story Format (CSF) utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
28470
524
0