@stories-js/core
Version:
Stories web components to build stories
5 lines • 1.14 kB
JavaScript
/*!
* (C) StoriesJS https://storiesjs.org - GPL-2.0 License
*/
import{r as registerInstance,h}from"./index-49238f69.js";var toolBarCss=".bar{color:var(--stories-bar-text-color, black);width:100%;height:40px;-ms-flex-negative:0;flex-shrink:0;overflow:auto;overflow-y:hidden}.inner{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;position:relative;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-negative:0;flex-shrink:0;height:40px;background-color:transparent}.side{display:-ms-flexbox;display:flex;white-space:nowrap;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-negative:0;flex-shrink:0;margin-left:3px;margin-right:3px}.side.left>*{margin-left:4px}.side.right{margin-left:30px}.side.right>*{margin-right:4px}";var ToolBar=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h("div",{class:"bar"},h("div",{class:"inner"},h("div",{class:"side left"},h("slot",{name:"left"})),h("div",{class:"side right"},h("slot",{name:"right"}))))};return e}();ToolBar.style=toolBarCss;export{ToolBar as stories_tool_bar};
//# sourceMappingURL=stories-tool-bar.entry.js.map