storybook 9.0.0-alpha.12 → 9.0.0-alpha.14
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/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/dist/actions/decorator.js +46 -47
- package/dist/actions/index.cjs +28 -29
- package/dist/actions/index.d.ts +0 -3
- package/dist/actions/index.js +27 -28
- package/dist/actions/preview.cjs +22 -23
- package/dist/actions/preview.js +18 -19
- package/dist/backgrounds/index.cjs +148 -0
- package/dist/backgrounds/index.d.ts +91 -0
- package/dist/backgrounds/index.js +130 -0
- package/dist/backgrounds/preview.cjs +143 -0
- package/dist/backgrounds/preview.d.ts +54 -0
- package/dist/backgrounds/preview.js +127 -0
- package/dist/bin/index.cjs +62 -73
- package/dist/bin/index.js +57 -68
- package/dist/builder-manager/index.cjs +390 -380
- package/dist/builder-manager/index.js +489 -479
- package/dist/channels/index.cjs +1018 -948
- package/dist/channels/index.js +1194 -1161
- package/dist/cli/bin/index.cjs +225 -225
- package/dist/cli/bin/index.js +234 -234
- package/dist/cli/index.cjs +1860 -1873
- package/dist/cli/index.js +308 -321
- package/dist/common/index.cjs +2396 -2380
- package/dist/common/index.d.ts +0 -11
- package/dist/common/index.js +2604 -2588
- package/dist/components/index.cjs +6393 -12704
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +4665 -10778
- package/dist/core-events/index.cjs +72 -84
- package/dist/core-events/index.d.ts +2 -77
- package/dist/core-events/index.js +61 -73
- package/dist/core-server/index.cjs +13484 -13318
- package/dist/core-server/index.js +13652 -13486
- package/dist/core-server/presets/common-manager.js +9815 -12
- package/dist/core-server/presets/common-preset.cjs +2809 -3005
- package/dist/core-server/presets/common-preset.js +2891 -3087
- package/dist/docs-tools/index.cjs +626 -600
- package/dist/docs-tools/index.js +613 -587
- package/dist/highlight/index.cjs +27 -0
- package/dist/highlight/index.d.ts +17 -0
- package/dist/highlight/index.js +7 -0
- package/dist/highlight/preview.cjs +81 -0
- package/dist/highlight/preview.d.ts +54 -0
- package/dist/highlight/preview.js +67 -0
- package/dist/instrumenter/index.cjs +70 -60
- package/dist/instrumenter/index.d.ts +8 -7
- package/dist/instrumenter/index.js +98 -88
- package/dist/manager/globals-module-info.cjs +12 -22
- package/dist/manager/globals-module-info.js +2 -12
- package/dist/manager/globals-runtime.js +31295 -33999
- package/dist/manager/runtime.js +3419 -3522
- package/dist/manager-api/index.cjs +2521 -2445
- package/dist/manager-api/index.d.ts +7 -21
- package/dist/manager-api/index.js +2431 -2349
- package/dist/measure/index.cjs +474 -0
- package/dist/measure/index.d.ts +66 -0
- package/dist/measure/index.js +462 -0
- package/dist/measure/preview.cjs +464 -0
- package/dist/measure/preview.d.ts +59 -0
- package/dist/measure/preview.js +448 -0
- package/dist/outline/index.cjs +528 -0
- package/dist/outline/index.d.ts +66 -0
- package/dist/outline/index.js +500 -0
- package/dist/outline/preview.cjs +518 -0
- package/dist/outline/preview.d.ts +59 -0
- package/dist/outline/preview.js +486 -0
- package/dist/preview/runtime.js +20735 -17220
- package/dist/preview-api/index.cjs +1069 -1057
- package/dist/preview-api/index.d.ts +384 -157
- package/dist/preview-api/index.js +1123 -1109
- package/dist/server-errors.cjs +66 -67
- package/dist/server-errors.d.ts +0 -1
- package/dist/server-errors.js +68 -69
- package/dist/test/index.cjs +1547 -1546
- package/dist/test/index.js +2308 -2307
- package/dist/test/preview.cjs +1906 -1905
- package/dist/test/preview.js +1439 -1438
- package/dist/test/spy.cjs +65 -64
- package/dist/test/spy.js +59 -58
- package/dist/types/index.cjs +10 -10
- package/dist/types/index.d.ts +203 -243
- package/package.json +122 -17
- package/dist/actions/manager.js +0 -1195
- package/dist/component-testing/manager.js +0 -3126
- package/dist/controls/manager.js +0 -5593
- package/dist/viewport/manager.js +0 -400
- /package/dist/{component-testing/manager.css → core-server/presets/common-manager.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storybook",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.14",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -83,6 +83,81 @@
|
|
|
83
83
|
"import": "./dist/core-server/presets/common-override-preset.js",
|
|
84
84
|
"require": "./dist/core-server/presets/common-override-preset.cjs"
|
|
85
85
|
},
|
|
86
|
+
"./internal/backgrounds": {
|
|
87
|
+
"types": "./dist/backgrounds/index.d.ts",
|
|
88
|
+
"import": "./dist/backgrounds/index.js",
|
|
89
|
+
"require": "./dist/backgrounds/index.cjs"
|
|
90
|
+
},
|
|
91
|
+
"./backgrounds": {
|
|
92
|
+
"types": "./dist/backgrounds/index.d.ts",
|
|
93
|
+
"import": "./dist/backgrounds/index.js",
|
|
94
|
+
"require": "./dist/backgrounds/index.cjs"
|
|
95
|
+
},
|
|
96
|
+
"./internal/backgrounds/preview": {
|
|
97
|
+
"types": "./dist/backgrounds/preview.d.ts",
|
|
98
|
+
"import": "./dist/backgrounds/preview.js",
|
|
99
|
+
"require": "./dist/backgrounds/preview.cjs"
|
|
100
|
+
},
|
|
101
|
+
"./backgrounds/preview": {
|
|
102
|
+
"types": "./dist/backgrounds/preview.d.ts",
|
|
103
|
+
"import": "./dist/backgrounds/preview.js",
|
|
104
|
+
"require": "./dist/backgrounds/preview.cjs"
|
|
105
|
+
},
|
|
106
|
+
"./internal/measure": {
|
|
107
|
+
"types": "./dist/measure/index.d.ts",
|
|
108
|
+
"import": "./dist/measure/index.js",
|
|
109
|
+
"require": "./dist/measure/index.cjs"
|
|
110
|
+
},
|
|
111
|
+
"./measure": {
|
|
112
|
+
"types": "./dist/measure/index.d.ts",
|
|
113
|
+
"import": "./dist/measure/index.js",
|
|
114
|
+
"require": "./dist/measure/index.cjs"
|
|
115
|
+
},
|
|
116
|
+
"./internal/measure/preview": {
|
|
117
|
+
"types": "./dist/measure/preview.d.ts",
|
|
118
|
+
"import": "./dist/measure/preview.js",
|
|
119
|
+
"require": "./dist/measure/preview.cjs"
|
|
120
|
+
},
|
|
121
|
+
"./measure/preview": {
|
|
122
|
+
"types": "./dist/measure/preview.d.ts",
|
|
123
|
+
"import": "./dist/measure/preview.js",
|
|
124
|
+
"require": "./dist/measure/preview.cjs"
|
|
125
|
+
},
|
|
126
|
+
"./internal/outline": {
|
|
127
|
+
"types": "./dist/outline/index.d.ts",
|
|
128
|
+
"import": "./dist/outline/index.js",
|
|
129
|
+
"require": "./dist/outline/index.cjs"
|
|
130
|
+
},
|
|
131
|
+
"./outline": {
|
|
132
|
+
"types": "./dist/outline/index.d.ts",
|
|
133
|
+
"import": "./dist/outline/index.js",
|
|
134
|
+
"require": "./dist/outline/index.cjs"
|
|
135
|
+
},
|
|
136
|
+
"./internal/outline/preview": {
|
|
137
|
+
"types": "./dist/outline/preview.d.ts",
|
|
138
|
+
"import": "./dist/outline/preview.js",
|
|
139
|
+
"require": "./dist/outline/preview.cjs"
|
|
140
|
+
},
|
|
141
|
+
"./outline/preview": {
|
|
142
|
+
"types": "./dist/outline/preview.d.ts",
|
|
143
|
+
"import": "./dist/outline/preview.js",
|
|
144
|
+
"require": "./dist/outline/preview.cjs"
|
|
145
|
+
},
|
|
146
|
+
"./internal/highlight": {
|
|
147
|
+
"types": "./dist/highlight/index.d.ts",
|
|
148
|
+
"import": "./dist/highlight/index.js",
|
|
149
|
+
"require": "./dist/highlight/index.cjs"
|
|
150
|
+
},
|
|
151
|
+
"./internal/highlight/preview": {
|
|
152
|
+
"types": "./dist/highlight/preview.d.ts",
|
|
153
|
+
"import": "./dist/highlight/preview.js",
|
|
154
|
+
"require": "./dist/highlight/preview.cjs"
|
|
155
|
+
},
|
|
156
|
+
"./highlight/preview": {
|
|
157
|
+
"types": "./dist/highlight/preview.d.ts",
|
|
158
|
+
"import": "./dist/highlight/preview.js",
|
|
159
|
+
"require": "./dist/highlight/preview.cjs"
|
|
160
|
+
},
|
|
86
161
|
"./internal/actions": {
|
|
87
162
|
"types": "./dist/actions/index.d.ts",
|
|
88
163
|
"import": "./dist/actions/index.js",
|
|
@@ -103,12 +178,6 @@
|
|
|
103
178
|
"import": "./dist/actions/preview.js",
|
|
104
179
|
"require": "./dist/actions/preview.cjs"
|
|
105
180
|
},
|
|
106
|
-
"./internal/actions/manager": {
|
|
107
|
-
"import": "./dist/actions/manager.js"
|
|
108
|
-
},
|
|
109
|
-
"./actions/manager": {
|
|
110
|
-
"import": "./dist/actions/manager.js"
|
|
111
|
-
},
|
|
112
181
|
"./internal/actions/decorator": {
|
|
113
182
|
"types": "./dist/actions/decorator.d.ts",
|
|
114
183
|
"import": "./dist/actions/decorator.js"
|
|
@@ -127,9 +196,6 @@
|
|
|
127
196
|
"import": "./dist/component-testing/preview.js",
|
|
128
197
|
"require": "./dist/component-testing/preview.cjs"
|
|
129
198
|
},
|
|
130
|
-
"./internal/component-testing/manager": {
|
|
131
|
-
"import": "./dist/component-testing/manager.js"
|
|
132
|
-
},
|
|
133
199
|
"./internal/viewport": {
|
|
134
200
|
"types": "./dist/viewport/index.d.ts",
|
|
135
201
|
"import": "./dist/viewport/index.js",
|
|
@@ -150,9 +216,6 @@
|
|
|
150
216
|
"import": "./dist/viewport/preview.js",
|
|
151
217
|
"require": "./dist/viewport/preview.cjs"
|
|
152
218
|
},
|
|
153
|
-
"./internal/viewport/manager": {
|
|
154
|
-
"import": "./dist/viewport/manager.js"
|
|
155
|
-
},
|
|
156
219
|
"./internal/controls": {
|
|
157
220
|
"types": "./dist/controls/index.d.ts",
|
|
158
221
|
"import": "./dist/controls/index.js",
|
|
@@ -163,9 +226,6 @@
|
|
|
163
226
|
"import": "./dist/controls/preview.js",
|
|
164
227
|
"require": "./dist/controls/preview.cjs"
|
|
165
228
|
},
|
|
166
|
-
"./internal/controls/manager": {
|
|
167
|
-
"import": "./dist/controls/manager.js"
|
|
168
|
-
},
|
|
169
229
|
"./internal/controls/decorator": {
|
|
170
230
|
"types": "./dist/controls/decorator.d.ts",
|
|
171
231
|
"import": "./dist/controls/decorator.js"
|
|
@@ -365,6 +425,51 @@
|
|
|
365
425
|
"internal/core-server": [
|
|
366
426
|
"./dist/core-server/index.d.ts"
|
|
367
427
|
],
|
|
428
|
+
"internal/backgrounds": [
|
|
429
|
+
"./dist/backgrounds/index.d.ts"
|
|
430
|
+
],
|
|
431
|
+
"backgrounds": [
|
|
432
|
+
"./dist/backgrounds/index.d.ts"
|
|
433
|
+
],
|
|
434
|
+
"internal/backgrounds/preview": [
|
|
435
|
+
"./dist/backgrounds/preview.d.ts"
|
|
436
|
+
],
|
|
437
|
+
"backgrounds/preview": [
|
|
438
|
+
"./dist/backgrounds/preview.d.ts"
|
|
439
|
+
],
|
|
440
|
+
"internal/measure": [
|
|
441
|
+
"./dist/measure/index.d.ts"
|
|
442
|
+
],
|
|
443
|
+
"measure": [
|
|
444
|
+
"./dist/measure/index.d.ts"
|
|
445
|
+
],
|
|
446
|
+
"internal/measure/preview": [
|
|
447
|
+
"./dist/measure/preview.d.ts"
|
|
448
|
+
],
|
|
449
|
+
"measure/preview": [
|
|
450
|
+
"./dist/measure/preview.d.ts"
|
|
451
|
+
],
|
|
452
|
+
"internal/outline": [
|
|
453
|
+
"./dist/outline/index.d.ts"
|
|
454
|
+
],
|
|
455
|
+
"outline": [
|
|
456
|
+
"./dist/outline/index.d.ts"
|
|
457
|
+
],
|
|
458
|
+
"internal/outline/preview": [
|
|
459
|
+
"./dist/outline/preview.d.ts"
|
|
460
|
+
],
|
|
461
|
+
"outline/preview": [
|
|
462
|
+
"./dist/outline/preview.d.ts"
|
|
463
|
+
],
|
|
464
|
+
"internal/highlight": [
|
|
465
|
+
"./dist/highlight/index.d.ts"
|
|
466
|
+
],
|
|
467
|
+
"internal/highlight/preview": [
|
|
468
|
+
"./dist/highlight/preview.d.ts"
|
|
469
|
+
],
|
|
470
|
+
"highlight/preview": [
|
|
471
|
+
"./dist/highlight/preview.d.ts"
|
|
472
|
+
],
|
|
368
473
|
"internal/actions": [
|
|
369
474
|
"./dist/actions/index.d.ts"
|
|
370
475
|
],
|
|
@@ -655,7 +760,7 @@
|
|
|
655
760
|
"store2": "^2.14.2",
|
|
656
761
|
"strip-ansi": "^7.1.0",
|
|
657
762
|
"strip-json-comments": "^5.0.1",
|
|
658
|
-
"telejson": "
|
|
763
|
+
"telejson": "8.0.0--canary.106.377d63b.0",
|
|
659
764
|
"tiny-invariant": "^1.3.1",
|
|
660
765
|
"tinyspy": "^3.0.2",
|
|
661
766
|
"ts-dedent": "^2.0.0",
|