@storybook/blocks 7.1.0-alpha.22 → 7.1.0-alpha.24

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -2
  2. package/package.json +12 -12
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _storybook_types from '@storybook/types';
2
1
  import { Conditional, DocsContextProps, PreparedStory, ModuleExports, ModuleExport, Parameters as Parameters$1, StrictArgTypes, Renderer as Renderer$1, Args as Args$1, StoryId, StoryContextForLoaders, StoryAnnotations, ResolvedModuleExportType, ResolvedModuleExportFromType, ProjectAnnotations, BaseAnnotations, ComponentTitle } from '@storybook/types';
3
2
  export { DocsContextProps } from '@storybook/types';
4
3
  import React, { ComponentProps, FunctionComponent, ReactNode, FC, PropsWithChildren, Context } from 'react';
@@ -471,7 +470,7 @@ type Of = Parameters<DocsContextProps['resolveOf']>[0];
471
470
  * if the resolved module is a meta it will include a preparedMeta property similar to a preparedStory
472
471
  * if the resolved module is a component it will include the project annotations
473
472
  */
474
- declare const useOf: <TType extends ResolvedModuleExportType>(moduleExportOrType: Of, validTypes?: TType[]) => ResolvedModuleExportFromType<TType, _storybook_types.Renderer>;
473
+ declare const useOf: <TType extends ResolvedModuleExportType>(moduleExportOrType: Of, validTypes?: TType[]) => ResolvedModuleExportFromType<TType>;
475
474
 
476
475
  declare enum DescriptionType {
477
476
  INFO = "info",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/blocks",
3
- "version": "7.1.0-alpha.22",
3
+ "version": "7.1.0-alpha.24",
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.22",
47
- "@storybook/client-logger": "7.1.0-alpha.22",
48
- "@storybook/components": "7.1.0-alpha.22",
49
- "@storybook/core-events": "7.1.0-alpha.22",
46
+ "@storybook/channels": "7.1.0-alpha.24",
47
+ "@storybook/client-logger": "7.1.0-alpha.24",
48
+ "@storybook/components": "7.1.0-alpha.24",
49
+ "@storybook/core-events": "7.1.0-alpha.24",
50
50
  "@storybook/csf": "^0.1.0",
51
- "@storybook/docs-tools": "7.1.0-alpha.22",
51
+ "@storybook/docs-tools": "7.1.0-alpha.24",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/manager-api": "7.1.0-alpha.22",
54
- "@storybook/preview-api": "7.1.0-alpha.22",
55
- "@storybook/theming": "7.1.0-alpha.22",
56
- "@storybook/types": "7.1.0-alpha.22",
53
+ "@storybook/manager-api": "7.1.0-alpha.24",
54
+ "@storybook/preview-api": "7.1.0-alpha.24",
55
+ "@storybook/theming": "7.1.0-alpha.24",
56
+ "@storybook/types": "7.1.0-alpha.24",
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.22",
70
+ "@storybook/addon-actions": "7.1.0-alpha.24",
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": "487ed44ae1fed86a78b0d2170bd53dc819075110"
85
+ "gitHead": "51cf5ea9af9e1a6464df2ec402828b2febdd0034"
86
86
  }