storybook 9.0.0-alpha.10 → 9.0.0-alpha.11

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.
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var n = Object.defineProperty;
3
+ var s = Object.getOwnPropertyDescriptor;
4
+ var y = Object.getOwnPropertyNames;
5
+ var m = Object.prototype.hasOwnProperty;
6
+ var p = (e, t) => n(e, "name", { value: t, configurable: !0 });
7
+ var c = (e, t) => {
8
+ for (var o in t)
9
+ n(e, o, { get: t[o], enumerable: !0 });
10
+ }, u = (e, t, o, a) => {
11
+ if (t && typeof t == "object" || typeof t == "function")
12
+ for (let r of y(t))
13
+ !m.call(e, r) && r !== o && n(e, r, { get: () => t[r], enumerable: !(a = s(t, r)) || a.enumerable });
14
+ return e;
15
+ };
16
+ var f = (e) => u(n({}, "__esModule", { value: !0 }), e);
17
+
18
+ // src/component-testing/preview.ts
19
+ var x = {};
20
+ c(x, {
21
+ default: () => b
22
+ });
23
+ module.exports = f(x);
24
+ var i = require("storybook/internal/instrumenter"), l = require("storybook/preview-api");
25
+ var { step: S } = (0, i.instrument)(
26
+ {
27
+ // It seems like the label is unused, but the instrumenter has access to it
28
+ // The context will be bounded later in StoryRender, so that the user can write just:
29
+ // await step("label", (context) => {
30
+ // // labeled step
31
+ // });
32
+ step: /* @__PURE__ */ p(async (e, t, o) => t(o), "step")
33
+ },
34
+ { intercept: !0 }
35
+ ), b = /* @__PURE__ */ p(() => (0, l.definePreview)({
36
+ parameters: {
37
+ throwPlayFunctionExceptions: !1
38
+ },
39
+ runStep: S
40
+ }), "default");
@@ -0,0 +1,5 @@
1
+ import * as storybook_internal_types from 'storybook/internal/types';
2
+
3
+ declare const _default: () => storybook_internal_types.ProjectAnnotations<storybook_internal_types.Renderer>;
4
+
5
+ export { _default as default };
@@ -0,0 +1,25 @@
1
+ var n = Object.defineProperty;
2
+ var e = (o, t) => n(o, "name", { value: t, configurable: !0 });
3
+
4
+ // src/component-testing/preview.ts
5
+ import { instrument as p } from "storybook/internal/instrumenter";
6
+ import { definePreview as a } from "storybook/preview-api";
7
+ var { step: i } = p(
8
+ {
9
+ // It seems like the label is unused, but the instrumenter has access to it
10
+ // The context will be bounded later in StoryRender, so that the user can write just:
11
+ // await step("label", (context) => {
12
+ // // labeled step
13
+ // });
14
+ step: /* @__PURE__ */ e(async (o, t, r) => t(r), "step")
15
+ },
16
+ { intercept: !0 }
17
+ ), m = /* @__PURE__ */ e(() => a({
18
+ parameters: {
19
+ throwPlayFunctionExceptions: !1
20
+ },
21
+ runStep: i
22
+ }), "default");
23
+ export {
24
+ m as default
25
+ };
@@ -27115,6 +27115,7 @@ function R7(e) {
27115
27115
  /* @__PURE__ */ nt.default.createElement(
27116
27116
  uF,
27117
27117
  {
27118
+ id: "addons-menu-button",
27118
27119
  ref: r,
27119
27120
  active: N,
27120
27121
  preActive: R,
@@ -23794,6 +23794,7 @@ function n3(e) {
23794
23794
  /* @__PURE__ */ an.createElement(
23795
23795
  xI,
23796
23796
  {
23797
+ id: "addons-menu-button",
23797
23798
  ref: r,
23798
23799
  active: w,
23799
23800
  preActive: m,