storybook 9.0.0-alpha.12 → 9.0.0-alpha.13

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.
Files changed (78) hide show
  1. package/assets/docs/addon-backgrounds.gif +0 -0
  2. package/assets/docs/highlight.png +0 -0
  3. package/dist/backgrounds/index.cjs +148 -0
  4. package/dist/backgrounds/index.d.ts +91 -0
  5. package/dist/backgrounds/index.js +130 -0
  6. package/dist/backgrounds/preview.cjs +143 -0
  7. package/dist/backgrounds/preview.d.ts +54 -0
  8. package/dist/backgrounds/preview.js +127 -0
  9. package/dist/bin/index.cjs +63 -71
  10. package/dist/bin/index.js +53 -61
  11. package/dist/builder-manager/index.cjs +390 -380
  12. package/dist/builder-manager/index.js +489 -479
  13. package/dist/cli/bin/index.cjs +225 -225
  14. package/dist/cli/bin/index.js +234 -234
  15. package/dist/cli/index.cjs +0 -2
  16. package/dist/cli/index.js +0 -2
  17. package/dist/common/index.cjs +2399 -2378
  18. package/dist/common/index.d.ts +0 -8
  19. package/dist/common/index.js +2607 -2586
  20. package/dist/components/index.cjs +3394 -3372
  21. package/dist/components/index.js +3922 -3900
  22. package/dist/core-events/index.cjs +72 -84
  23. package/dist/core-events/index.d.ts +2 -77
  24. package/dist/core-events/index.js +61 -73
  25. package/dist/core-server/index.cjs +5258 -5168
  26. package/dist/core-server/index.js +6539 -6449
  27. package/dist/core-server/presets/common-manager.js +9815 -12
  28. package/dist/core-server/presets/common-preset.cjs +2809 -3005
  29. package/dist/core-server/presets/common-preset.js +2891 -3087
  30. package/dist/docs-tools/index.cjs +626 -600
  31. package/dist/docs-tools/index.js +613 -587
  32. package/dist/highlight/index.cjs +27 -0
  33. package/dist/highlight/index.d.ts +17 -0
  34. package/dist/highlight/index.js +7 -0
  35. package/dist/highlight/preview.cjs +81 -0
  36. package/dist/highlight/preview.d.ts +54 -0
  37. package/dist/highlight/preview.js +67 -0
  38. package/dist/instrumenter/index.cjs +70 -60
  39. package/dist/instrumenter/index.d.ts +8 -7
  40. package/dist/instrumenter/index.js +98 -88
  41. package/dist/manager/globals-module-info.cjs +12 -22
  42. package/dist/manager/globals-module-info.js +2 -12
  43. package/dist/manager/globals-runtime.js +24173 -23140
  44. package/dist/manager/runtime.js +3419 -3522
  45. package/dist/manager-api/index.cjs +1055 -1167
  46. package/dist/manager-api/index.d.ts +7 -21
  47. package/dist/manager-api/index.js +761 -877
  48. package/dist/measure/index.cjs +474 -0
  49. package/dist/measure/index.d.ts +66 -0
  50. package/dist/measure/index.js +462 -0
  51. package/dist/measure/preview.cjs +464 -0
  52. package/dist/measure/preview.d.ts +59 -0
  53. package/dist/measure/preview.js +448 -0
  54. package/dist/outline/index.cjs +528 -0
  55. package/dist/outline/index.d.ts +66 -0
  56. package/dist/outline/index.js +500 -0
  57. package/dist/outline/preview.cjs +518 -0
  58. package/dist/outline/preview.d.ts +59 -0
  59. package/dist/outline/preview.js +486 -0
  60. package/dist/preview/runtime.js +14441 -13330
  61. package/dist/preview-api/index.cjs +1067 -1071
  62. package/dist/preview-api/index.d.ts +61 -102
  63. package/dist/preview-api/index.js +1090 -1092
  64. package/dist/test/index.cjs +1547 -1546
  65. package/dist/test/index.js +2308 -2307
  66. package/dist/test/preview.cjs +1906 -1905
  67. package/dist/test/preview.d.ts +0 -6
  68. package/dist/test/preview.js +1439 -1438
  69. package/dist/test/spy.cjs +65 -64
  70. package/dist/test/spy.js +59 -58
  71. package/dist/types/index.cjs +10 -10
  72. package/dist/types/index.d.ts +206 -243
  73. package/package.json +121 -16
  74. package/dist/actions/manager.js +0 -1195
  75. package/dist/component-testing/manager.js +0 -3126
  76. package/dist/controls/manager.js +0 -5593
  77. package/dist/viewport/manager.js +0 -400
  78. /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.12",
3
+ "version": "9.0.0-alpha.13",
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
  ],