@storybook/html 11.0.0-alpha.7 → 11.0.0-alpha.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/dist/index.d.ts +3 -3
- package/dist/preset.js +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -11,19 +11,19 @@ interface HtmlRenderer extends WebRenderer {
|
|
|
11
11
|
/**
|
|
12
12
|
* Metadata to configure the stories for a component.
|
|
13
13
|
*
|
|
14
|
-
* @see [
|
|
14
|
+
* @see [Meta](https://storybook.js.org/docs/writing-stories/csf#meta)
|
|
15
15
|
*/
|
|
16
16
|
type Meta<TArgs = Args$1> = ComponentAnnotations<HtmlRenderer, TArgs>;
|
|
17
17
|
/**
|
|
18
18
|
* Story function that represents a CSFv2 component example.
|
|
19
19
|
*
|
|
20
|
-
* @see [
|
|
20
|
+
* @see [Stories](https://storybook.js.org/docs/writing-stories/csf#stories)
|
|
21
21
|
*/
|
|
22
22
|
type StoryFn<TArgs = Args$1> = AnnotatedStoryFn<HtmlRenderer, TArgs>;
|
|
23
23
|
/**
|
|
24
24
|
* Story object that represents a CSFv3 component example.
|
|
25
25
|
*
|
|
26
|
-
* @see [
|
|
26
|
+
* @see [Stories](https://storybook.js.org/docs/writing-stories/csf#stories)
|
|
27
27
|
*/
|
|
28
28
|
type StoryObj<TArgs = Args$1> = StoryAnnotations<HtmlRenderer, TArgs>;
|
|
29
29
|
type Decorator<TArgs = StrictArgs$1> = DecoratorFunction<HtmlRenderer, TArgs>;
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_dzqly7ibohu from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_dzqly7ibohu from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_dzqly7ibohu from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_dzqly7ibohu.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_dzqly7ibohu.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_dzqly7ibohu.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/html",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.9",
|
|
4
4
|
"description": "Storybook HTML renderer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typescript": "^6.0.3"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"storybook": "^11.0.0-alpha.
|
|
54
|
+
"storybook": "^11.0.0-alpha.9"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|