@storybook/addon-onboarding 0.0.29--canary.40.4dba997.0 → 0.0.29--canary.40.3282e5c.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-onboarding",
3
- "version": "0.0.29--canary.40.4dba997.0",
3
+ "version": "0.0.29--canary.40.3282e5c.0",
4
4
  "description": "Storybook Addon Onboarding - Introduces a new onboarding experience",
5
5
  "keywords": [
6
6
  "storybook-addons",
@@ -24,15 +24,10 @@
24
24
  "import": "./dist/index.mjs",
25
25
  "types": "./dist/index.d.ts"
26
26
  },
27
- "./manager": {
28
- "require": "./dist/manager.js",
29
- "import": "./dist/manager.mjs",
30
- "types": "./dist/manager.d.ts"
31
- },
32
- "./preview": {
33
- "require": "./dist/preview.js",
34
- "import": "./dist/preview.mjs",
35
- "types": "./dist/preview.d.ts"
27
+ "./preset": {
28
+ "require": "./dist/preset.js",
29
+ "import": "./dist/preset.mjs",
30
+ "types": "./dist/preset.d.ts"
36
31
  },
37
32
  "./package.json": "./package.json"
38
33
  },
@@ -46,8 +41,6 @@
46
41
  "*.d.ts"
47
42
  ],
48
43
  "scripts": {
49
- "clean": "rimraf ./dist",
50
- "prebuild": "yarn clean",
51
44
  "build": "tsup",
52
45
  "build:watch": "yarn build --watch",
53
46
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -73,62 +66,52 @@
73
66
  },
74
67
  "dependencies": {
75
68
  "@radix-ui/react-dialog": "^1.0.4",
76
- "@storybook/telemetry": "^7.0.18",
77
69
  "framer-motion": "^6.5.1",
78
70
  "react-confetti": "^6.1.0",
79
71
  "react-joyride": "^2.5.4",
80
72
  "react-use-measure": "^2.1.1"
81
73
  },
82
74
  "devDependencies": {
83
- "@storybook/addon-essentials": "^7.0.18",
84
- "@storybook/addon-interactions": "^7.0.18",
85
- "@storybook/addon-links": "^7.0.18",
86
- "@storybook/blocks": "^7.0.18",
87
- "@storybook/components": "^7.0.18",
88
- "@storybook/core-events": "^7.0.18",
75
+ "@storybook/addon-essentials": "^7.1.0-alpha.32",
76
+ "@storybook/addon-interactions": "^7.1.0-alpha.32",
77
+ "@storybook/addon-links": "^7.1.0-alpha.32",
78
+ "@storybook/blocks": "^7.1.0-alpha.32",
79
+ "@storybook/components": "^7.1.0-alpha.32",
80
+ "@storybook/core-events": "^7.1.0-alpha.32",
89
81
  "@storybook/jest": "^0.1.0",
90
- "@storybook/manager-api": "^7.0.18",
91
- "@storybook/react": "^7.0.18",
92
- "@storybook/react-vite": "^7.0.18",
82
+ "@storybook/manager-api": "^7.1.0-alpha.32",
83
+ "@storybook/react": "^7.1.0-alpha.32",
84
+ "@storybook/react-vite": "^7.1.0-alpha.32",
93
85
  "@storybook/testing-library": "^0.0.14-next.1",
94
- "@storybook/theming": "^7.0.17",
95
- "@storybook/types": "^7.0.17",
96
- "@types/lodash.throttle": "^4.1.7",
86
+ "@storybook/telemetry": "^7.1.0-alpha.32",
87
+ "@storybook/theming": "^7.1.0-alpha.32",
88
+ "@storybook/types": "^7.1.0-alpha.32",
97
89
  "@types/node": "^18.15.0",
98
90
  "@types/react": "^18.2.7",
99
91
  "@types/react-dom": "^18.2.4",
100
92
  "@vitejs/plugin-react": "^3.1.0",
101
93
  "auto": "^10.3.0",
102
- "boxen": "^5.0.1",
103
94
  "chromatic": "^6.17.4",
104
95
  "dedent": "^0.7.0",
105
96
  "nodemon": "^2.0.22",
106
97
  "npm-run-all": "^4.1.5",
107
98
  "prettier": "^2.3.1",
108
- "prompts": "^2.4.2",
109
- "prop-types": "^15.8.1",
110
99
  "react": "^18.0.0",
111
100
  "react-dom": "^18.0.0",
112
- "rimraf": "^3.0.2",
113
- "storybook": "^7.0.0",
101
+ "storybook": "^7.1.0-alpha.32",
114
102
  "tsup": "^6.6.3",
115
103
  "typescript": "^4.9.5",
116
104
  "vite": "^4.1.4"
117
105
  },
118
106
  "peerDependencies": {
119
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
120
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
121
- },
122
- "peerDependenciesMeta": {
123
- "react": {
124
- "optional": true
125
- },
126
- "react-dom": {
127
- "optional": true
128
- }
107
+ "@storybook/blocks": "^7.0.0",
108
+ "@storybook/components": "^7.0.0",
109
+ "@storybook/core-events": "^7.0.0",
110
+ "@storybook/manager-api": "^7.0.0",
111
+ "@storybook/theming": "^7.0.0",
112
+ "@storybook/types": "^7.0.0"
129
113
  },
130
114
  "publishConfig": {
131
115
  "access": "public"
132
- },
133
- "readme": "ERROR: No README data found!"
116
+ }
134
117
  }
package/preset.js ADDED
@@ -0,0 +1,8 @@
1
+ function managerEntries(entry = []) {
2
+ return [...entry, require.resolve("./dist/manager.mjs")];
3
+ }
4
+
5
+ module.exports = {
6
+ managerEntries,
7
+ ...require("./dist/preset")
8
+ }
package/dist/preview.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { ProjectAnnotations, Renderer } from '@storybook/types';
2
-
3
- /**
4
- * Note: if you want to use JSX in this file, rename it to `preview.tsx`
5
- * and update the entry prop in tsup.config.ts to use "src/preview.tsx",
6
- */
7
- declare const preview: ProjectAnnotations<Renderer>;
8
-
9
- export { preview as default };
package/dist/preview.js DELETED
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- var e={},o=e;
4
-
5
- module.exports = o;
6
- //# sourceMappingURL=out.js.map
7
- //# sourceMappingURL=preview.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/preview.ts"],"names":["preview","preview_default"],"mappings":"AAOA,IAAMA,EAAwC,CAAC,EAExCC,EAAQD","sourcesContent":["import type { Renderer, ProjectAnnotations } from \"@storybook/types\";\n\n/**\n * Note: if you want to use JSX in this file, rename it to `preview.tsx`\n * and update the entry prop in tsup.config.ts to use \"src/preview.tsx\",\n */\n\nconst preview: ProjectAnnotations<Renderer> = {};\n\nexport default preview;\n"]}
package/dist/preview.mjs DELETED
@@ -1,5 +0,0 @@
1
- var e={},o=e;
2
-
3
- export { o as default };
4
- //# sourceMappingURL=out.js.map
5
- //# sourceMappingURL=preview.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/preview.ts"],"names":["preview","preview_default"],"mappings":"AAOA,IAAMA,EAAwC,CAAC,EAExCC,EAAQD","sourcesContent":["import type { Renderer, ProjectAnnotations } from \"@storybook/types\";\n\n/**\n * Note: if you want to use JSX in this file, rename it to `preview.tsx`\n * and update the entry prop in tsup.config.ts to use \"src/preview.tsx\",\n */\n\nconst preview: ProjectAnnotations<Renderer> = {};\n\nexport default preview;\n"]}
package/manager.js DELETED
@@ -1 +0,0 @@
1
- export * from "./dist/manager";
package/preview.js DELETED
@@ -1 +0,0 @@
1
- export * from "./dist/preview";