@storybook/addon-onboarding 10.2.0-beta.2 → 10.2.0-beta.4

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.
@@ -5808,7 +5808,7 @@ var TourGuide = ({
5808
5808
  TourGuide.render = (props) => {
5809
5809
  let container = document.getElementById("storybook-tour");
5810
5810
  container || (container = document.createElement("div"), container.id = "storybook-tour", document.body.appendChild(container)), root = root ?? createRoot(container), root.render(
5811
- React11.createElement(ThemeProvider, { theme: convert(themes.light) }, React11.createElement(
5811
+ props ? React11.createElement(ThemeProvider, { theme: convert(themes.light) }, React11.createElement(
5812
5812
  TourGuide,
5813
5813
  {
5814
5814
  ...props,
@@ -5819,7 +5819,7 @@ TourGuide.render = (props) => {
5819
5819
  props.onDismiss?.(), root?.render(null), root = null;
5820
5820
  }
5821
5821
  }
5822
- ))
5822
+ )) : null
5823
5823
  );
5824
5824
  };
5825
5825
 
package/dist/manager.js CHANGED
@@ -9,7 +9,7 @@ import React, { Suspense, lazy } from "react";
9
9
  import { createRoot } from "react-dom/client";
10
10
  import { STORY_SPECIFIED } from "storybook/internal/core-events";
11
11
  import { addons, internal_universalChecklistStore as checklistStore } from "storybook/manager-api";
12
- var Onboarding = lazy(() => import("./_browser-chunks/Onboarding-TQUYAXIU.js")), Survey = lazy(() => import("./_browser-chunks/Survey-DWFAZIJS.js")), root = null, render = (node) => {
12
+ var Onboarding = lazy(() => import("./_browser-chunks/Onboarding-Q5GKVBY2.js")), Survey = lazy(() => import("./_browser-chunks/Survey-DWFAZIJS.js")), root = null, render = (node) => {
13
13
  let container = document.getElementById("storybook-addon-onboarding");
14
14
  container || (container = document.createElement("div"), container.id = "storybook-addon-onboarding", document.body.appendChild(container)), root = root ?? createRoot(container), root.render(React.createElement(Suspense, { fallback: React.createElement("div", null) }, node));
15
15
  };
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_9o6o1pls1l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_9o6o1pls1l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_9o6o1pls1l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_eguvcjhsg3c from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_eguvcjhsg3c from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_eguvcjhsg3c from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_9o6o1pls1l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_9o6o1pls1l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_9o6o1pls1l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_eguvcjhsg3c.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_eguvcjhsg3c.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_eguvcjhsg3c.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,7 +14,7 @@ var require = CJS_COMPAT_NODE_MODULE_9o6o1pls1l.createRequire(import.meta.url);
14
14
  import { telemetry } from "storybook/internal/telemetry";
15
15
 
16
16
  // package.json
17
- var version = "10.2.0-beta.2";
17
+ var version = "10.2.0-beta.4";
18
18
 
19
19
  // src/constants.ts
20
20
  var ADDON_ID = "storybook/onboarding", ADDON_ONBOARDING_CHANNEL = `${ADDON_ID}/channel`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-onboarding",
3
- "version": "10.2.0-beta.2",
3
+ "version": "10.2.0-beta.4",
4
4
  "description": "Storybook Onboarding: Help new users learn how to write stories",
5
5
  "keywords": [
6
6
  "storybook",
@@ -55,7 +55,7 @@
55
55
  "typescript": "^5.9.3"
56
56
  },
57
57
  "peerDependencies": {
58
- "storybook": "^10.2.0-beta.2"
58
+ "storybook": "^10.2.0-beta.4"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"