@storybook/web-components 11.0.0-beta.4 → 11.0.0-beta.5
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.
|
@@ -8,7 +8,7 @@ __export(entry_preview_docs_exports, {
|
|
|
8
8
|
decorators: () => decorators,
|
|
9
9
|
parameters: () => parameters
|
|
10
10
|
});
|
|
11
|
-
import { SourceType as SourceType2 } from "storybook/internal/docs-tools";
|
|
11
|
+
import { SourceType as SourceType2, getSourceSnippetRuntime } from "storybook/internal/docs-tools";
|
|
12
12
|
|
|
13
13
|
// src/docs/print-hole.ts
|
|
14
14
|
import { isDirectiveResult, isTemplateResult } from "lit/directive-helpers.js";
|
|
@@ -308,12 +308,12 @@ function sourceDecorator(storyFn, context) {
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
// src/entry-preview-docs.ts
|
|
311
|
-
var
|
|
311
|
+
var snippetRuntime = getSourceSnippetRuntime(), decorators = snippetRuntime === "preview" ? [sourceDecorator] : [], parameters = {
|
|
312
312
|
docs: {
|
|
313
313
|
source: {
|
|
314
314
|
type: SourceType2.DYNAMIC,
|
|
315
315
|
language: "html",
|
|
316
|
-
...
|
|
316
|
+
...snippetRuntime === "server" ? { printHole } : {}
|
|
317
317
|
},
|
|
318
318
|
story: { inline: !0 }
|
|
319
319
|
}
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
getCustomElements,
|
|
3
3
|
isValidComponent,
|
|
4
4
|
isValidMetaData
|
|
5
|
-
} from "./_browser-chunks/chunk-
|
|
5
|
+
} from "./_browser-chunks/chunk-OL6OKC2Z.js";
|
|
6
6
|
import "./_browser-chunks/chunk-XOX44XZE.js";
|
|
7
|
-
import "./_browser-chunks/chunk-
|
|
7
|
+
import "./_browser-chunks/chunk-YZWJIPOA.js";
|
|
8
8
|
import "./_browser-chunks/chunk-4BE7D4DS.js";
|
|
9
9
|
|
|
10
10
|
// src/entry-preview-argtypes.ts
|
package/dist/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
setCustomElements,
|
|
7
7
|
setCustomElementsManifest,
|
|
8
8
|
setProjectAnnotations
|
|
9
|
-
} from "./_browser-chunks/chunk-
|
|
9
|
+
} from "./_browser-chunks/chunk-OL6OKC2Z.js";
|
|
10
10
|
import "./_browser-chunks/chunk-XOX44XZE.js";
|
|
11
|
-
import "./_browser-chunks/chunk-
|
|
11
|
+
import "./_browser-chunks/chunk-YZWJIPOA.js";
|
|
12
12
|
import "./_browser-chunks/chunk-4BE7D4DS.js";
|
|
13
13
|
export {
|
|
14
14
|
__definePreview,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/web-components",
|
|
3
|
-
"version": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.5",
|
|
4
4
|
"description": "Storybook Web Components renderer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"lit": "^2.0.0 || ^3.0.0",
|
|
77
|
-
"storybook": "^11.0.0-beta.
|
|
77
|
+
"storybook": "^11.0.0-beta.5",
|
|
78
78
|
"typescript": "^5.9.0 || ^6.0.0 || ^7.0.0"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|