@storybook/angular 8.2.0-alpha.7 → 8.2.0-alpha.8

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.
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /*
3
- * @vitest-environment node
4
- */
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /*
3
- * @vitest-environment node
4
- */
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // @vitest-environment happy-dom
2
3
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
4
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
5
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // @vitest-environment happy-dom
2
3
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
4
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
5
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -10,6 +10,6 @@ export declare const createStorybookWrapperComponent: ({ selector, template, sto
10
10
  storyComponent: Type<unknown> | undefined;
11
11
  styles: string[];
12
12
  moduleMetadata: NgModuleMetadata;
13
- initialProps?: ICollection | undefined;
13
+ initialProps?: ICollection;
14
14
  analyzedMetadata: PropertyExtractor;
15
15
  }) => Type<any>;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // @vitest-environment happy-dom
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  const rxjs_1 = require("rxjs");
4
5
  const vitest_1 = require("vitest");
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // @vitest-environment happy-dom
2
3
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
4
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
5
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,4 +11,4 @@ export declare function applicationConfig<TArgs = any>(
11
11
  * Set of config options available during the application bootstrap operation.
12
12
  */
13
13
  config: ApplicationConfig): DecoratorFunction<AngularRenderer, TArgs>;
14
- export declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext<AngularRenderer, TArgs>) => ICollection) | undefined) => DecoratorFunction<AngularRenderer, TArgs>;
14
+ export declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext<AngularRenderer, TArgs>) => ICollection)) => DecoratorFunction<AngularRenderer, TArgs>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "8.2.0-alpha.7",
3
+ "version": "8.2.0-alpha.8",
4
4
  "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
5
5
  "keywords": [
6
6
  "storybook",
@@ -37,18 +37,18 @@
37
37
  "prep": "rimraf dist && node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@storybook/builder-webpack5": "8.2.0-alpha.7",
41
- "@storybook/client-logger": "8.2.0-alpha.7",
42
- "@storybook/core-common": "8.2.0-alpha.7",
43
- "@storybook/core-events": "8.2.0-alpha.7",
44
- "@storybook/core-server": "8.2.0-alpha.7",
45
- "@storybook/core-webpack": "8.2.0-alpha.7",
46
- "@storybook/docs-tools": "8.2.0-alpha.7",
40
+ "@storybook/builder-webpack5": "8.2.0-alpha.8",
41
+ "@storybook/client-logger": "8.2.0-alpha.8",
42
+ "@storybook/core-common": "8.2.0-alpha.8",
43
+ "@storybook/core-events": "8.2.0-alpha.8",
44
+ "@storybook/core-server": "8.2.0-alpha.8",
45
+ "@storybook/core-webpack": "8.2.0-alpha.8",
46
+ "@storybook/docs-tools": "8.2.0-alpha.8",
47
47
  "@storybook/global": "^5.0.0",
48
- "@storybook/node-logger": "8.2.0-alpha.7",
49
- "@storybook/preview-api": "8.2.0-alpha.7",
50
- "@storybook/telemetry": "8.2.0-alpha.7",
51
- "@storybook/types": "8.2.0-alpha.7",
48
+ "@storybook/node-logger": "8.2.0-alpha.8",
49
+ "@storybook/preview-api": "8.2.0-alpha.8",
50
+ "@storybook/telemetry": "8.2.0-alpha.8",
51
+ "@storybook/types": "8.2.0-alpha.8",
52
52
  "@types/node": "^18.0.0",
53
53
  "@types/react": "^18.0.37",
54
54
  "@types/react-dom": "^18.0.11",
@@ -80,7 +80,6 @@
80
80
  "@types/cross-spawn": "^6.0.2",
81
81
  "@types/tmp": "^0.2.3",
82
82
  "cross-spawn": "^7.0.3",
83
- "jsdom": "^23.0.1",
84
83
  "tmp": "^0.2.1",
85
84
  "typescript": "^5.3.2",
86
85
  "webpack": "5",
@@ -118,5 +117,5 @@
118
117
  "post": "./scripts/postbuild.js",
119
118
  "tsConfig": "tsconfig.build.json"
120
119
  },
121
- "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
120
+ "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
122
121
  }