You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 line
12 KiB

  1. "use strict";(self.webpackChunk_ihk24_storybook=self.webpackChunk_ihk24_storybook||[]).push([[7685],{"./stories/atoms/blockquote/BlockquoteComponent.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{k:()=>createBlockquote});__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),blockquote=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./stories/atoms/blockquote/blockquote.scss"),options={insert:"head",singleton:!1};injectStylesIntoStyleTag_default()(blockquote.Z,options);blockquote.Z.locals;var helpers=__webpack_require__("./stories/_global/scripts/helpers.js"),createBlockquote=function createBlockquote(_ref){var _ref$quote=_ref.quote,quote=void 0===_ref$quote?"Ein Unternehmen zu gründen, ähnelt dem Kuchenbacken: Du brauchst alle nötigen Zutaten und jede einzelne davon in der genau passenden Menge.":_ref$quote,_ref$author=_ref.author,author=void 0===_ref$author?"Max Mustermann, Unternehmer":_ref$author,_ref$type=_ref.type,type=void 0===_ref$type?"regular":_ref$type,blockquote=(0,helpers.az)("blockquote");return blockquote.dataset.quoteType=type,"string"==typeof quote?(0,helpers.az)("p",[],quote,blockquote):quote.map((function(p){(0,helpers.az)("p",[],p,blockquote)})),(0,helpers.az)("p",["author"],author,blockquote),blockquote}},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./stories/atoms/blockquote/blockquote.scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/cssWithMappingToString.js"),_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/css-loader/dist/runtime/getUrl.js"),_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__),_assets_img_quote_svg__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./stories/assets/img/quote.svg"),___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()),___CSS_LOADER_URL_REPLACEMENT_0___=_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(_assets_img_quote_svg__WEBPACK_IMPORTED_MODULE_3__);___CSS_LOADER_EXPORT___.push([module.id,'blockquote{border-left:6px solid var(--theme-color-secondary);margin:2em 0;padding-left:1.2em;font-style:italic}blockquote .author{font-style:normal;font-size:var(--font-size-small);line-height:1.2}.magazine-article blockquote,blockquote[data-quote-type=magazine]{border-left:0;font-weight:300;font-style:normal;margin:calc(var(--section-margin)*.6) 0;padding:0 20px 0 40px}@media(max-width: 767px){.magazine-article blockquote,blockquote[data-quote-type=magazine]{padding:0 0 0 20px}}.magazine-article blockquote p:not(.author),.magazine-article blockquote div.text,blockquote[data-quote-type=magazine] p:not(.author),blockquote[data-quote-type=magazine] div.text{line-height:1.3;font-size:var(--font-size-h2)}.magazine-article blockquote p:not(.author):first-child:before,.magazine-article blockquote div.text:first-child:before,blockquote[data-quote-type=magazine] p:not(.author):first-child:before,blockquote[data-quote-type=magazine] div.text:first-child:before{content:"";position:relative;display:block;width:30px;height:30px;background-image:url('+___CSS_LOADER_URL_REPLACEMENT_0___+');background-size:100%;margin:2px 0 2px -40px}@media(max-width: 767px){.magazine-article blockquote p:not(.author):first-child:before,.magazine-article blockquote div.text:first-child:before,blockquote[data-quote-type=magazine] p:not(.author):first-child:before,blockquote[data-quote-type=magazine] div.text:first-child:before{margin-left:-20px}}.magazine-article blockquote p:not(.author):last-child:after,.magazine-article blockquote div.text:last-child:after,.magazine-article blockquote .author:after,.magazine-article blockquote h4:after,blockquote[data-quote-type=magazine] p:not(.author):last-child:after,blockquote[data-quote-type=magazine] div.text:last-child:after,blockquote[data-quote-type=magazine] .author:after,blockquote[data-quote-type=magazine] h4:after{content:"";position:relative;display:block;width:30px;height:30px;background-image:url('+___CSS_LOADER_URL_REPLACEMENT_0___+');background-size:100%;margin:2px 0 2px -40px;transform:rotate(180deg)}@media(max-width: 767px){.magazine-article blockquote p:not(.author):last-child:after,.magazine-article blockquote div.text:last-child:after,.magazine-article blockquote .author:after,.magazine-article blockquote h4:after,blockquote[data-quote-type=magazine] p:not(.author):last-child:after,blockquote[data-quote-type=magazine] div.text:last-child:after,blockquote[data-quote-type=magazine] .author:after,blockquote[data-quote-type=magazine] h4:after{margin-left:-20px}}.magazine-article blockquote .author,.magazine-article blockquote h4,blockquote[data-quote-type=magazine] .author,blockquote[data-quote-type=magazine] h4{position:relative;font-weight:400;text-align:right;margin-right:-20px;margin-top:36px;font-family:"Source Sans Pro",sans-serif;font-size:18px}.magazine-article blockquote .author:before,.magazine-article blockquote h4:before,blockquote[data-quote-type=magazine] .author:before,blockquote[data-quote-type=magazine] h4:before{content:"— ";position:relative;top:-1px;margin-right:2px}.magazine-article blockquote .author:after,.magazine-article blockquote h4:after,blockquote[data-quote-type=magazine] .author:after,blockquote[data-quote-type=magazine] h4:after{position:absolute;top:-36px;left:0}@media(max-width: 767px){.magazine-article blockquote .author,.magazine-article blockquote h4,blockquote[data-quote-type=magazine] .author,blockquote[data-quote-type=magazine] h4{margin-right:0;padding-left:30px;font-size:16px;font-weight:500;margin-top:32px}.magazine-article blockquote .author:after,.magazine-article blockquote h4:after,blockquote[data-quote-type=magazine] .author:after,blockquote[data-quote-type=magazine] h4:after{top:-30px}}',"",{version:3,sources:["webpack://./stories/atoms/blockquote/blockquote.scss"],names:[],mappings:"AAAA,WAAA,kDACE,CAAA,YACA,CAAA,kBACA,CAAA,iBACA,CAAA,mBAEA,iBACE,CAAA,gCACA,CAAA,eACA,CAAA,kEAIJ,aACE,CAAA,eACA,CAAA,iBACA,CAAA,uCACA,CAAA,qBACA,CAAA,yBAEA,kEAPF,kBAQI,CAAA,CAAA,oLAGF,eACE,CAAA,6BACA,CAAA,gQAEA,UACE,CAAA,iBACA,CAAA,aACA,CAAA,UACA,CAAA,WACA,CAAA,wDACA,CAAA,oBACA,CAAA,sBACA,CAAA,yBAEA,gQAVF,iBAWI,CAAA,CAAA,0aAKN,UACE,CAAA,iBACA,CAAA,aACA,CAAA,UACA,CAAA,WACA,CAAA,wDACA,CAAA,oBACA,CAAA,sBACA,CAAA,wBACA,CAAA,yBAEA,0aAXF,iBAYI,CAAA,CAAA,0JAIJ,iBACE,CAAA,eACA,CAAA,gBACA,CAAA,kBACA,CAAA,eACA,CAAA,wCACA,CAAA,cACA,CAAA,sLAEA,YACE,CAAA,iBACA,CAAA,QACA,CAAA,gBACA,CAAA,kLAGF,iBACE,CAAA,SACA,CAAA,MACA,CAAA,yBAGF,0JAtBF,cAuBI,CAAA,iBACA,CAAA,cACA,CAAA,eACA,CAAA,eACA,CAAA,kLAEA,SACE,CAAA",sourcesContent:['blockquote {\n border-left: 6px solid var(--theme-color-secondary);\n margin: 2em 0;\n padding-left: 1.2em;\n font-style: italic;\n\n .author {\n font-style: normal;\n font-size: var(--font-size-small);\n line-height: 1.2;\n }\n}\n\n.magazine-article blockquote, blockquote[data-quote-type=\'magazine\'] {\n border-left: 0;\n font-weight: 300;\n font-style: normal;\n margin: calc(var(--section-margin) * 0.6) 0;\n padding: 0 20px 0 40px;\n\n @media(max-width: 767px) {\n padding: 0 0 0 20px;\n }\n\n p:not(.author), div.text {\n line-height: 1.3;\n font-size: var(--font-size-h2);\n\n &:first-child:before {\n content: "";\n position: relative;\n display: block;\n width: 30px;\n height: 30px;\n background-image: url(\'../../assets/img/quote.svg\');\n background-size: 100%;\n margin: 2px 0 2px -40px;\n\n @media(max-width: 767px) {\n margin-left: -20px;\n }\n }\n }\n\n p:not(.author):last-child:after, div.text:last-child:after, .author:after, h4:after {\n content: "";\n position: relative;\n display: block;\n width: 30px;\n height: 30px;\n background-image: url(\'../../assets/img/quote.svg\');\n background-size: 100%;\n margin: 2px 0 2px -40px;\n transform: rotate(180deg);\n\n @media(max-width: 767px) {\n margin-left: -20px;\n }\n }\n\n .author, h4 {\n position: relative;\n font-weight: 400;\n text-align: right;\n margin-right: -20px;\n margin-top: 36px;\n font-family: "Source Sans Pro", sans-serif;\n font-size: 18px;\n\n &:before {\n content: "— ";\n position: relative;\n top: -1px;\n margin-right: 2px;\n }\n\n &:after {\n position: absolute;\n top: -36px;\n left: 0;\n }\n\n @media(max-width: 767px) {\n margin-right: 0;\n padding-left: 30px;\n font-size: 16px;\n font-weight: 500;\n margin-top: 32px;\n\n &:after {\n top: -30px;\n }\n }\n }\n}'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./stories/atoms/blockquote/Blockquote.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MagazineBlockquote:()=>MagazineBlockquote,RegularBlockquote:()=>RegularBlockquote,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.error.cause.js"),__webpack_require__("./node_modules/core-js/modules/es.error.to-string.js");var _BlockquoteComponent__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./stories/atoms/blockquote/BlockquoteComponent.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}const __WEBPACK_DEFAULT_EXPORT__={title:"Atoms/Blockquote",args:{quote:["Ein Unternehmen zu gründen, ähnelt dem Kuchenbacken: Du brauchst alle nötigen Zutaten und jede einzelne davon in der genau passenden Menge."],author:"Max Mustermann, Unternehmer",type:"regular"},argTypes:{quote:{name:"Zitat"},author:{name:"Autor"},type:{name:"Seiten-Typ",control:"select",options:["regular","magazine"]}}};var Template=function Template(_ref){var args=_extends({},(function _objectDestructuringEmpty(obj){if(null==obj)throw new TypeError("Cannot destructure "+obj)}(_ref),_ref));return(0,_BlockquoteComponent__WEBPACK_IMPORTED_MODULE_4__.k)(Object.assign({},args))},RegularBlockquote=Template.bind({});RegularBlockquote.args={};var MagazineBlockquote=Template.bind({});MagazineBlockquote.args={type:"magazine"};var __namedExportsOrder=["RegularBlockquote","MagazineBlockquote"];RegularBlockquote.parameters={...RegularBlockquote.parameters,docs:{...RegularBlockquote.parameters?.docs,source:{originalSource:"({\n ...args\n}) => {\n return createBlockquote({\n ...args\n });\n}",...RegularBlockquote.parameters?.docs?.source}}},MagazineBlockquote.parameters={...MagazineBlockquote.parameters,docs:{...MagazineBlockquote.parameters?.docs,source:{originalSource:"({\n ...args\n}) => {\n return createBlockquote({\n ...args\n });\n}",...MagazineBlockquote.parameters?.docs?.source}}}},"./stories/assets/img/quote.svg":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__.p+"static/media/quote.ed16cf43.svg"}}]);