@storybook/addon-onboarding 8.5.0-beta.8 → 8.5.0-beta.9
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.
- package/package.json +3 -3
- package/dist/preset.d.ts +0 -6
- package/dist/preset.mjs +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-onboarding",
|
|
3
|
-
"version": "8.5.0-beta.
|
|
3
|
+
"version": "8.5.0-beta.9",
|
|
4
4
|
"description": "Storybook Addon Onboarding - Introduces a new onboarding experience",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook-addons",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@neoconfetti/react": "^1.0.0",
|
|
49
49
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
50
50
|
"@storybook/icons": "^1.2.12",
|
|
51
|
-
"@storybook/react": "8.5.0-beta.
|
|
51
|
+
"@storybook/react": "8.5.0-beta.9",
|
|
52
52
|
"framer-motion": "^11.0.3",
|
|
53
53
|
"react": "^18.2.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typescript": "^5.3.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"storybook": "^8.5.0-beta.
|
|
60
|
+
"storybook": "^8.5.0-beta.9"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
package/dist/preset.d.ts
DELETED
package/dist/preset.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import ESM_COMPAT_Module from 'node:module';
|
|
2
|
-
import { fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname } from 'node:path';
|
|
4
|
-
import { readFileSync } from 'node:fs';
|
|
5
|
-
import { telemetry } from 'storybook/internal/telemetry';
|
|
6
|
-
|
|
7
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
-
dirname(__filename);
|
|
9
|
-
const require = ESM_COMPAT_Module.createRequire(import.meta.url);
|
|
10
|
-
var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var STORYBOOK_ADDON_ONBOARDING_CHANNEL="STORYBOOK_ADDON_ONBOARDING_CHANNEL";var experimental_serverChannel=async(channel,options)=>{let{disableTelemetry}=await options.presets.apply("core",{});if(!disableTelemetry){let packageJsonPath=__require.resolve("@storybook/addon-onboarding/package.json"),{version:addonVersion}=JSON.parse(readFileSync(packageJsonPath,{encoding:"utf-8"}));channel.on(STORYBOOK_ADDON_ONBOARDING_CHANNEL,({type,...event})=>{type==="telemetry"&&telemetry("addon-onboarding",{...event,addonVersion});});}return channel};
|
|
11
|
-
|
|
12
|
-
export { experimental_serverChannel };
|