@storybook/web-components 10.0.7 → 10.0.8
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/preset.js +10 -7
- package/package.json +3 -3
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gbswiqq3a0a from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gbswiqq3a0a from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gbswiqq3a0a from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gbswiqq3a0a.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gbswiqq3a0a.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gbswiqq3a0a.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -17,7 +17,10 @@ import { fileURLToPath } from "node:url";
|
|
|
17
17
|
var previewAnnotations = /* @__PURE__ */ __name(async (input = [], options) => {
|
|
18
18
|
const docsEnabled = Object.keys(await options.presets.apply("docs", {}, options)).length > 0;
|
|
19
19
|
const result = [];
|
|
20
|
-
return result.concat(input).concat([
|
|
20
|
+
return result.concat(input).concat([
|
|
21
|
+
fileURLToPath(import.meta.resolve("@storybook/web-components/entry-preview")),
|
|
22
|
+
fileURLToPath(import.meta.resolve("@storybook/web-components/entry-preview-argtypes"))
|
|
23
|
+
]).concat(
|
|
21
24
|
docsEnabled ? [fileURLToPath(import.meta.resolve("@storybook/web-components/entry-preview-docs"))] : []
|
|
22
25
|
);
|
|
23
26
|
}, "previewAnnotations");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/web-components",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.8",
|
|
4
4
|
"description": "Storybook Web Components renderer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"lit": "^2.0.0 || ^3.0.0",
|
|
69
|
-
"storybook": "^10.0.
|
|
69
|
+
"storybook": "^10.0.8"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae1l"
|
|
75
75
|
}
|