Skip to content

Commit

Permalink
Deploy preview for PR 188 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
basilgood committed Jul 29, 2024
1 parent 9d978c6 commit 715cc08
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { x } from './directive-helpers-BXW8nDWk.js';
import './cosmoz-image-viewer-BHlHs0XA.js';

const images = [
"stories/images/stockholm.jpg",
"../stories/images/stockholm.jpg",
"this-is-a-loading-error.jpg",
() => "stories/images/a_size.png",
() => "../stories/images/a_size.png",
() => new Promise(
(resolve) => setTimeout(() => resolve("stories/images/strasbourg.jpg"), 500)
(resolve) => setTimeout(() => resolve("../stories/images/strasbourg.jpg"), 500)
)
];

Expand Down Expand Up @@ -42,7 +42,10 @@ const Basic = ({
?loop=${loop}
?show-zoom=${showZoom}
?detached-show-zoom=${detachedShowZoom}
.images=${["stories/images/cosmos1.jpg", "stories/images/cosmos2.jpg"]}
.images=${[
"../stories/images/cosmos1.jpg",
"../stories/images/cosmos2.jpg"
]}
></cosmoz-image-viewer>
`;
Basic.args = {
Expand All @@ -56,9 +59,12 @@ Basic.args = {
};
const Issue21 = () => {
const images1 = [
"stories/images/stockholm.jpg",
"stories/images/strasbourg.jpg"
], images2 = ["stories/images/cosmos1.jpg", "stories/images/cosmos2.jpg"];
"../stories/images/stockholm.jpg",
"../stories/images/strasbourg.jpg"
], images2 = [
"../stories/images/cosmos1.jpg",
"../stories/images/cosmos2.jpg"
];
return x`
<cosmoz-image-viewer
show-detach
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var hauntedPanZoom_stories = {
};
const Template = ({ disabled, height, zoomStiffness, panStiffness }) => x`
<haunted-pan-zoom
src="stories/images/a_size.png"
src="../stories/images/a_size.png"
style="height: ${height}px;"
?disabled=${disabled}
.zoomStiffness=${zoomStiffness}
Expand Down
4 changes: 2 additions & 2 deletions pr/pr-188/inline-module-a412f23235eb971c4a27c3950e98fd49.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if (SERVER_CHANNEL_URL) {
}

const importers = {
"./stories/cosmoz-image-viewer.stories.js": () => import('./cosmoz-image-viewer.stories-DDJ1vD2L.js'),
"./stories/haunted-pan-zoom.stories.js": () => import('./haunted-pan-zoom.stories-ZDpQzyCU.js')
"./stories/cosmoz-image-viewer.stories.js": () => import('./cosmoz-image-viewer.stories-CoLDOEHO.js'),
"./stories/haunted-pan-zoom.stories.js": () => import('./haunted-pan-zoom.stories-CZyguNNP.js')
};
function importFn(path) {
return importers[path]();
Expand Down
2 changes: 1 addition & 1 deletion pr/pr-188/project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1722242352881,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.8.1"},"framework":{"name":"@web/storybook-framework-web-components"},"renderer":"@storybook/web-components","storybookVersion":"7.6.20","storybookVersionSpecifier":"^7.6.20","language":"javascript","storybookPackages":{"@storybook/storybook-deployer":{"version":"2.8.16"},"@storybook/web-components":{"version":"7.6.20"},"@web/storybook-builder":{"version":null},"@web/storybook-framework-web-components":{"version":"0.1.2"},"storybook":{"version":"7.6.20"}},"addons":{"@storybook/addon-essentials":{"version":"7.6.20"},"@storybook/addon-links":{"version":"7.6.20"}}}
{"generatedAt":1722242500317,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.8.1"},"framework":{"name":"@web/storybook-framework-web-components"},"renderer":"@storybook/web-components","storybookVersion":"7.6.20","storybookVersionSpecifier":"^7.6.20","language":"javascript","storybookPackages":{"@storybook/storybook-deployer":{"version":"2.8.16"},"@storybook/web-components":{"version":"7.6.20"},"@web/storybook-builder":{"version":null},"@web/storybook-framework-web-components":{"version":"0.1.2"},"storybook":{"version":"7.6.20"}},"addons":{"@storybook/addon-essentials":{"version":"7.6.20"},"@storybook/addon-links":{"version":"7.6.20"}}}

0 comments on commit 715cc08

Please sign in to comment.