@storybook/web-components 10.5.0-alpha.3 → 10.5.0-alpha.4
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 -1
- package/dist/preset.js +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1109,7 +1109,9 @@ type DecoratorsArgs<TRenderer extends Renderer, Decorators> = UnionToIntersectio
|
|
|
1109
1109
|
* provided in meta become optional in stories, while missing required args must be provided at the
|
|
1110
1110
|
* story level.
|
|
1111
1111
|
*/
|
|
1112
|
-
interface WebComponentsMeta<T extends WebComponentsTypes, MetaInput extends ComponentAnnotations<T>>
|
|
1112
|
+
interface WebComponentsMeta<T extends WebComponentsTypes, MetaInput extends ComponentAnnotations<T>>
|
|
1113
|
+
/** @ts-expect-error WebComponentsMeta requires two type parameters, but Meta's constraints differ */
|
|
1114
|
+
extends Meta$1<T, MetaInput> {
|
|
1113
1115
|
/**
|
|
1114
1116
|
* Creates a story with a custom render function that takes no args.
|
|
1115
1117
|
*
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_dmh9ed02ey from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_dmh9ed02ey from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_dmh9ed02ey from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_dmh9ed02ey.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_dmh9ed02ey.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_dmh9ed02ey.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/web-components",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.4",
|
|
4
4
|
"description": "Storybook Web Components renderer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"lit": "^2.0.0 || ^3.0.0",
|
|
66
|
-
"storybook": "^10.5.0-alpha.
|
|
66
|
+
"storybook": "^10.5.0-alpha.4"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|