UNPKG

@stories-js/core

Version:

Stories web components to build stories

5 lines 778 B
/*! * (C) StoriesJS https://storiesjs.org - GPL-2.0 License */ System.register(["./p-fbcb0011.system.js","./p-3d5a0b0e.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h},function(t){r=t.s}],execute:function(){var s=":host{display:block;background-color:lightblue}nav{-ms-flex-negative:0;flex-shrink:0;height:100vh;width:200px}";var i=t("stories_sidebar",function(){function t(t){e(this,t)}t.prototype.render=function(){var t=r.stories;if(t&&Object.keys(t).length){return n("nav",null,n("h1",null,"Navigation"),Object.keys(t).map((function(e){var r=t[e];return n("li",null,n("a",{href:"/#path=".concat(e)},r.storyName))})))}return n("div",null,"No stories")};return t}());i.style=s}}})); //# sourceMappingURL=p-cf19bdc0.system.entry.js.map