diff --git a/asset-manifest.json b/asset-manifest.json index 720888ece..2547a183e 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -4,9 +4,9 @@ "0.e672e4eb.iframe.bundle.js.map": "./0.e672e4eb.iframe.bundle.js.map", "1.3e0d30ce.iframe.bundle.js": "./1.3e0d30ce.iframe.bundle.js", "2.b82fafb0.iframe.bundle.js": "./2.b82fafb0.iframe.bundle.js", - "main.css": "./static/css/main.835c8763.chunk.css", - "main.js": "./main.cb6269f2.iframe.bundle.js", - "main.css.map": "./static/css/main.835c8763.chunk.css.map", + "main.css": "./static/css/main.85c2e46f.chunk.css", + "main.js": "./main.9942f499.iframe.bundle.js", + "main.css.map": "./static/css/main.85c2e46f.chunk.css.map", "runtime~main.js": "./runtime~main.6c6b7827.iframe.bundle.js", "vendors~main.js": "./vendors~main.d576653f.iframe.bundle.js", "vendors~main.js.map": "./vendors~main.d576653f.iframe.bundle.js.map", @@ -35,7 +35,7 @@ "entrypoints": [ "runtime~main.6c6b7827.iframe.bundle.js", "vendors~main.d576653f.iframe.bundle.js", - "static/css/main.835c8763.chunk.css", - "main.cb6269f2.iframe.bundle.js" + "static/css/main.85c2e46f.chunk.css", + "main.9942f499.iframe.bundle.js" ] } \ No newline at end of file diff --git a/iframe.html b/iframe.html index 0db526ce6..5feb43932 100644 --- a/iframe.html +++ b/iframe.html @@ -338,7 +338,7 @@ /* eslint-enable object-shorthand */ }) ); - };

No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file + window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}]; \ No newline at end of file diff --git a/main.9942f499.iframe.bundle.js b/main.9942f499.iframe.bundle.js new file mode 100644 index 000000000..3934f3190 --- /dev/null +++ b/main.9942f499.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"./.storybook/preview.js-generated-config-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"parameters",(function(){return parameters}));var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),parameters={actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},chromatic:{pauseAnimationAtEnd:!0,viewports:[400,1200]}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function SvgIconArrowUiSmallLeft(_ref,svgRef){var title=_ref.title,titleId=_ref.titleId,props=_objectWithoutProperties(_ref,_excluded);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",_extends({width:61,height:8,viewBox:"0 0 61 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:svgRef,"aria-labelledby":titleId},props),title?react__WEBPACK_IMPORTED_MODULE_0__.createElement("title",{id:titleId},title):null,_path||(_path=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"arrow__body",d:"M60.5 3.68198H0.5",stroke:"black"})),_path2||(_path2=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"arrow__head",d:"M0.14645 3.32843C-0.0488168 3.52369 -0.0488168 3.84027 0.14645 4.03553L3.32842 7.21751C3.52369 7.41278 3.84027 7.41278 4.03553 7.21751C4.23078 7.02225 4.23078 6.70567 4.03553 6.51041L1.2071 3.68198L4.03553 0.85355C4.23078 0.658291 4.23078 0.341708 4.03553 0.146446C3.84027 -0.0488155 3.52369 -0.0488155 3.32842 0.146446L0.14645 3.32843ZM3.5 3.18198H0.499996V4.18198H3.5V3.18198Z",fill:"black"})))}var ForwardRef=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIconArrowUiSmallLeft);__webpack_require__.p},"./node_modules/@svgr/webpack/lib/index.js?-svgo,+titleProp,+ref!./src/stories/Library/Arrows/icon-arrow-ui/icon-arrow-ui-small-right.svg":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ForwardRef}));var _path,_path2,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_excluded=["title","titleId"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function SvgIconArrowUiSmallRight(_ref,svgRef){var title=_ref.title,titleId=_ref.titleId,props=_objectWithoutProperties(_ref,_excluded);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",_extends({width:61,height:9,viewBox:"0 0 61 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:svgRef,"aria-labelledby":titleId},props),title?react__WEBPACK_IMPORTED_MODULE_0__.createElement("title",{id:titleId},title):null,_path||(_path=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"arrow__body",d:"M60 4.5H0",stroke:"currentColor"})),_path2||(_path2=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"arrow__head",d:"M60.3537 4.85355C60.5489 4.65829 60.5489 4.34171 60.3537 4.14645L57.1717 0.96447C56.9764 0.769208 56.6598 0.769208 56.4646 0.96447C56.2693 1.15973 56.2693 1.47631 56.4646 1.67157L59.293 4.5L56.4646 7.32843C56.2693 7.52369 56.2693 7.84027 56.4646 8.03553C56.6598 8.2308 56.9764 8.2308 57.1717 8.03553L60.3537 4.85355ZM60.0001 4H57.0001V5H60.0001V4Z",fill:"currentColor"})))}var ForwardRef=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIconArrowUiSmallRight);__webpack_require__.p},"./node_modules/@svgr/webpack/lib/index.js?-svgo,+titleProp,+ref!./src/stories/Library/Icons/icon-favourite/icon-favourite.svg":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ForwardRef}));var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_excluded=["title","titleId"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function SvgIconFavourite(_ref,svgRef){var title=_ref.title,titleId=_ref.titleId,props=_objectWithoutProperties(_ref,_excluded);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",_extends({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:svgRef,"aria-labelledby":titleId},props),title?react__WEBPACK_IMPORTED_MODULE_0__.createElement("title",{id:titleId},title):null,_path||(_path=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.5 20L10.2675 18.921C5.89 15.1035 3 12.5858 3 9.49591C3 6.9782 5.057 5 7.675 5C9.154 5 10.5735 5.66213 11.5 6.70845C12.4265 5.66213 13.846 5 15.325 5C17.943 5 20 6.9782 20 9.49591C20 12.5858 17.11 15.1035 12.7325 18.9292L11.5 20Z",stroke:"currentColor",strokeWidth:2})))}var ForwardRef=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIconFavourite);__webpack_require__.p},"./src sync recursive ^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$":function(module,exports,__webpack_require__){var map={"./stories/Blocks/advanced-search/AdvancedSearch.stories.tsx":"./src/stories/Blocks/advanced-search/AdvancedSearch.stories.tsx","./stories/Blocks/article/Article.stories.tsx":"./src/stories/Blocks/article/Article.stories.tsx","./stories/Blocks/autosuggest/Autosuggest.stories.tsx":"./src/stories/Blocks/autosuggest/Autosuggest.stories.tsx","./stories/Blocks/footer/Footer.stories.tsx":"./src/stories/Blocks/footer/Footer.stories.tsx","./stories/Blocks/header/Header.stories.tsx":"./src/stories/Blocks/header/Header.stories.tsx","./stories/Blocks/material-banner/MaterialBanner.stories.tsx":"./src/stories/Blocks/material-banner/MaterialBanner.stories.tsx","./stories/Blocks/material-manifestation-item/MaterialMainfestationItem.stories.tsx":"./src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.stories.tsx","./stories/Blocks/material-page/MaterialPage.stories.tsx":"./src/stories/Blocks/material-page/MaterialPage.stories.tsx","./stories/Blocks/reservation/forms/form.stories.tsx":"./src/stories/Blocks/reservation/forms/form.stories.tsx","./stories/Blocks/status-loans/statusLoans.stories.tsx":"./src/stories/Blocks/status-loans/statusLoans.stories.tsx","./stories/Blocks/status-userprofile/statusUserprofile.stories.tsx":"./src/stories/Blocks/status-userprofile/statusUserprofile.stories.tsx","./stories/Library/Arrows/icon-arrow-accent/ArrowAccent.stories.tsx":"./src/stories/Library/Arrows/icon-arrow-accent/ArrowAccent.stories.tsx","./stories/Library/Arrows/icon-arrow-ui/ArrowUI.stories.tsx":"./src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.stories.tsx","./stories/Library/Buttons/button-favourite/ButtonFavourite.stories.tsx":"./src/stories/Library/Buttons/button-favourite/ButtonFavourite.stories.tsx","./stories/Library/Buttons/button-ui/ButtonUI.stories.tsx":"./src/stories/Library/Buttons/button-ui/ButtonUI.stories.tsx","./stories/Library/Buttons/button/Button.stories.tsx":"./src/stories/Library/Buttons/button/Button.stories.tsx","./stories/Library/Buttons/button/LinkButton.stories.tsx":"./src/stories/Library/Buttons/button/LinkButton.stories.tsx","./stories/Library/Buttons/button/button-expand/button-expand.stories.tsx":"./src/stories/Library/Buttons/button/button-expand/button-expand.stories.tsx","./stories/Library/Buttons/icon-button/IconButton.stories.tsx":"./src/stories/Library/Buttons/icon-button/IconButton.stories.tsx","./stories/Library/Buttons/row-button/RowButton.stories.tsx":"./src/stories/Library/Buttons/row-button/RowButton.stories.tsx","./stories/Library/Buttons/row-button/RowButtons.stories.tsx":"./src/stories/Library/Buttons/row-button/RowButtons.stories.tsx","./stories/Library/Buttons/toggle-button/ToggleButton.stories.tsx":"./src/stories/Library/Buttons/toggle-button/ToggleButton.stories.tsx","./stories/Library/Forms/checkbox/Checkbox.stories.tsx":"./src/stories/Library/Forms/checkbox/Checkbox.stories.tsx","./stories/Library/Forms/input/Input.stories.tsx":"./src/stories/Library/Forms/input/Input.stories.tsx","./stories/Library/Icons/icon-basic/IconBasic.stories.tsx":"./src/stories/Library/Icons/icon-basic/IconBasic.stories.tsx","./stories/Library/Icons/icon-collection/IconCollection.stories.tsx":"./src/stories/Library/Icons/icon-collection/IconCollection.stories.tsx","./stories/Library/Icons/icon-favourite/IconFavourite.stories.tsx":"./src/stories/Library/Icons/icon-favourite/IconFavourite.stories.tsx","./stories/Library/Icons/icon-social/IconSocial.stories.tsx":"./src/stories/Library/Icons/icon-social/IconSocial.stories.tsx","./stories/Library/Icons/icon-watch/IconWatch.stories.tsx":"./src/stories/Library/Icons/icon-watch/IconWatch.stories.tsx","./stories/Library/Lists/list-dashboard/ListDashboard.stories.tsx":"./src/stories/Library/Lists/list-dashboard/ListDashboard.stories.tsx","./stories/Library/Lists/list-description/ListDescription.stories.tsx":"./src/stories/Library/Lists/list-description/ListDescription.stories.tsx","./stories/Library/Lists/list-details/ListDetails.stories.tsx":"./src/stories/Library/Lists/list-details/ListDetails.stories.tsx","./stories/Library/Lists/list-empty/ListEmpty.stories.tsx":"./src/stories/Library/Lists/list-empty/ListEmpty.stories.tsx","./stories/Library/Lists/list-find-on-shelf/ListFindOnShelf.stories.tsx":"./src/stories/Library/Lists/list-find-on-shelf/ListFindOnShelf.stories.tsx","./stories/Library/Lists/list-materials/ListMaterials.stories.tsx":"./src/stories/Library/Lists/list-materials/ListMaterials.stories.tsx","./stories/Library/Lists/list-reservation/ListReservationsAndLoans.stories.tsx":"./src/stories/Library/Lists/list-reservation/ListReservationsAndLoans.stories.tsx","./stories/Library/Modals/modal-cta/ModalCTA.stories.tsx":"./src/stories/Library/Modals/modal-cta/ModalCTA.stories.tsx","./stories/Library/Modals/modal-details/ModalDetails.stories.tsx":"./src/stories/Library/Modals/modal-details/ModalDetails.stories.tsx","./stories/Library/Modals/modal-facet-browser/FacetBrowser.stories.tsx":"./src/stories/Library/Modals/modal-facet-browser/FacetBrowser.stories.tsx","./stories/Library/Modals/modal-find-on-shelf/ModalFindOnShelf.stories.tsx":"./src/stories/Library/Modals/modal-find-on-shelf/ModalFindOnShelf.stories.tsx","./stories/Library/Modals/modal-header/ModalHeader.stories.tsx":"./src/stories/Library/Modals/modal-header/ModalHeader.stories.tsx","./stories/Library/Modals/modal-infomedia/Infomedia.stories.tsx":"./src/stories/Library/Modals/modal-infomedia/Infomedia.stories.tsx","./stories/Library/Modals/modal-loan/ModalLoan.stories.tsx":"./src/stories/Library/Modals/modal-loan/ModalLoan.stories.tsx","./stories/Library/Modals/modal-login/ModalLogin.stories.tsx":"./src/stories/Library/Modals/modal-login/ModalLogin.stories.tsx","./stories/Library/Modals/modal-pause/ModalPause.stories.tsx":"./src/stories/Library/Modals/modal-pause/ModalPause.stories.tsx","./stories/Library/Modals/modal-profile/ModalProfile.stories.tsx":"./src/stories/Library/Modals/modal-profile/ModalProfile.stories.tsx","./stories/Library/Modals/modal-reservation/reservation.stories.tsx":"./src/stories/Library/Modals/modal-reservation/reservation.stories.tsx","./stories/Library/Modals/modal-search/ModalSearch.stories.tsx":"./src/stories/Library/Modals/modal-search/ModalSearch.stories.tsx","./stories/Library/Modals/modal-text/ModalText.stories.tsx":"./src/stories/Library/Modals/modal-text/ModalText.stories.tsx","./stories/Library/accordion/Accordion.stories.tsx":"./src/stories/Library/accordion/Accordion.stories.tsx","./stories/Library/autosuggest-material/AutosuggestMaterial.stories.tsx":"./src/stories/Library/autosuggest-material/AutosuggestMaterial.stories.tsx","./stories/Library/autosuggest-text/AutosuggestText.stories.tsx":"./src/stories/Library/autosuggest-text/AutosuggestText.stories.tsx","./stories/Library/availability-label/AvailabilityLabel.stories.tsx":"./src/stories/Library/availability-label/AvailabilityLabel.stories.tsx","./stories/Library/avatar/Avatar.stories.tsx":"./src/stories/Library/avatar/Avatar.stories.tsx","./stories/Library/boxed-text/BoxedText.stories.tsx":"./src/stories/Library/boxed-text/BoxedText.stories.tsx","./stories/Library/breadcrumb/Breadcrumb.stories.tsx":"./src/stories/Library/breadcrumb/Breadcrumb.stories.tsx","./stories/Library/breakpoints/Breakpoints.stories.tsx":"./src/stories/Library/breakpoints/Breakpoints.stories.tsx","./stories/Library/button-box/ButtonBox.stories.tsx":"./src/stories/Library/button-box/ButtonBox.stories.tsx","./stories/Library/campaign/Campaign.stories.tsx":"./src/stories/Library/campaign/Campaign.stories.tsx","./stories/Library/card-list-item/CardListItem.stories.tsx":"./src/stories/Library/card-list-item/CardListItem.stories.tsx","./stories/Library/card-list-page/CardListPage.stories.tsx":"./src/stories/Library/card-list-page/CardListPage.stories.tsx","./stories/Library/card-list-page/SearchResultTitle.stories.tsx":"./src/stories/Library/card-list-page/SearchResultTitle.stories.tsx","./stories/Library/colors/colors/Colors.stories.tsx":"./src/stories/Library/colors/colors/Colors.stories.tsx","./stories/Library/colors/identity-color/IdentityColor.stories.tsx":"./src/stories/Library/colors/identity-color/IdentityColor.stories.tsx","./stories/Library/counter/Counter.stories.tsx":"./src/stories/Library/counter/Counter.stories.tsx","./stories/Library/cover/Cover.stories.tsx":"./src/stories/Library/cover/Cover.stories.tsx","./stories/Library/disclosure/Disclosure.stories.tsx":"./src/stories/Library/disclosure/Disclosure.stories.tsx","./stories/Library/dropdown/Dropdown.stories.tsx":"./src/stories/Library/dropdown/Dropdown.stories.tsx","./stories/Library/heading/Heading.stories.tsx":"./src/stories/Library/heading/Heading.stories.tsx","./stories/Library/instant-loan/InstantLoan.stories.tsx":"./src/stories/Library/instant-loan/InstantLoan.stories.tsx","./stories/Library/layout/Spacing.stories.tsx":"./src/stories/Library/layout/Spacing.stories.tsx","./stories/Library/link-filters/LinkFilters.stories.tsx":"./src/stories/Library/link-filters/LinkFilters.stories.tsx","./stories/Library/links/Links.stories.tsx":"./src/stories/Library/links/Links.stories.tsx","./stories/Library/links/arrow-link/ArrowLink.stories.tsx":"./src/stories/Library/links/arrow-link/ArrowLink.stories.tsx","./stories/Library/list-buttons/ListButtons.stories.tsx":"./src/stories/Library/list-buttons/ListButtons.stories.tsx","./stories/Library/logo/Logo.stories.tsx":"./src/stories/Library/logo/Logo.stories.tsx","./stories/Library/material-card/MaterialCard.stories.tsx":"./src/stories/Library/material-card/MaterialCard.stories.tsx","./stories/Library/multiselect/Multiselect.stories.tsx":"./src/stories/Library/multiselect/Multiselect.stories.tsx","./stories/Library/number/Number.stories.tsx":"./src/stories/Library/number/Number.stories.tsx","./stories/Library/pagefold/Pagefold.stories.tsx":"./src/stories/Library/pagefold/Pagefold.stories.tsx","./stories/Library/patron-info/PatronInfo.stories.tsx":"./src/stories/Library/patron-info/PatronInfo.stories.tsx","./stories/Library/pause-reservation/PauseReservation.stories.tsx":"./src/stories/Library/pause-reservation/PauseReservation.stories.tsx","./stories/Library/progress-bar/progressBar.stories.tsx":"./src/stories/Library/progress-bar/progressBar.stories.tsx","./stories/Library/promo-bar/PromoBar.stories.tsx":"./src/stories/Library/promo-bar/PromoBar.stories.tsx","./stories/Library/recommenders/Recommenders.stories.tsx":"./src/stories/Library/recommenders/Recommenders.stories.tsx","./stories/Library/review/Review.stories.tsx":"./src/stories/Library/review/Review.stories.tsx","./stories/Library/shadows/Shadows.stories.tsx":"./src/stories/Library/shadows/Shadows.stories.tsx","./stories/Library/status-label/StatusLabel.stories.tsx":"./src/stories/Library/status-label/StatusLabel.stories.tsx","./stories/Library/tag/Tag.stories.tsx":"./src/stories/Library/tag/Tag.stories.tsx","./stories/Library/typography/Typography.stories.tsx":"./src/stories/Library/typography/Typography.stories.tsx","./stories/Library/warning-status/WarningStatus.stories.tsx":"./src/stories/Library/warning-status/WarningStatus.stories.tsx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./src sync recursive ^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"},"./src sync recursive ^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$":function(module,exports,__webpack_require__){var map={"./stories/Introduction.stories.mdx":"./src/stories/Introduction.stories.mdx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./src sync recursive ^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},"./src/stories/Blocks/advanced-search/AdvancedSearch.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"AdvancedSearch",(function(){return AdvancedSearch_stories_AdvancedSearch})),__webpack_require__.d(__webpack_exports__,"CqlSearch",(function(){return CqlSearch}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),Dropdown=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./src/stories/Library/dropdown/Dropdown.tsx")),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),InputWithDropdown_InputWithDropdown=function InputWithDropdown(_ref){var inputPlaceholder=_ref.inputPlaceholder;return Object(jsx_runtime.jsxs)("div",{className:"input-with-dropdown",children:[Object(jsx_runtime.jsx)("input",{className:"input-with-dropdown__input focus-styling__input",type:"text",placeholder:inputPlaceholder}),Object(jsx_runtime.jsx)(Dropdown.a,{ariaLabel:"input field dropdown",list:[{title:"Alle indekser"},{title:"Alle indekser"},{title:"Alle indekser"}],arrowIcon:"chevron",classNames:"dropdown--grey-borders input-with-dropdown__dropdown",innerClassNames:{select:"dropdown__select--inline-body-font focus-styling",arrowWrapper:"dropdown__arrows--inline"}}),Object(jsx_runtime.jsx)("button",{children:Object(jsx_runtime.jsx)("img",{className:"input-with-dropdown__icon",src:"icons/collection/MinusButton.svg",alt:"Minus button icon"})})]})};try{InputWithDropdown_InputWithDropdown.displayName="InputWithDropdown",InputWithDropdown_InputWithDropdown.__docgenInfo={description:"",displayName:"InputWithDropdown",props:{inputPlaceholder:{defaultValue:null,description:"",name:"inputPlaceholder",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/input-with-dropdown/InputWithDropdown.tsx#InputWithDropdown"]={docgenInfo:InputWithDropdown_InputWithDropdown.__docgenInfo,name:"InputWithDropdown",path:"src/stories/Library/input-with-dropdown/InputWithDropdown.tsx#InputWithDropdown"})}catch(__react_docgen_typescript_loader_error){}var Multiselect=__webpack_require__("./src/stories/Library/multiselect/Multiselect.tsx"),Button=__webpack_require__("./src/stories/Library/Buttons/button/Button.tsx"),clsx=__webpack_require__("./node_modules/clsx/dist/clsx.mjs"),Links=__webpack_require__("./src/stories/Library/links/Links.tsx"),Pagefold=__webpack_require__("./src/stories/Library/pagefold/Pagefold.tsx"),InputPreview_InputPreview=function InputPreview(_ref){var _ref$cqlPreviewText=_ref.cqlPreviewText,cqlPreviewText=void 0===_ref$cqlPreviewText?"placeholder text":_ref$cqlPreviewText,_ref$isMobile=_ref.isMobile,isMobile=void 0!==_ref$isMobile&&_ref$isMobile;return Object(jsx_runtime.jsxs)(Pagefold.a,{size:"large",isInheriting:!0,isAContainer:!1,className:Object(clsx.b)("input-and-preview__preview",{"input-and-preview__preview--mobile":isMobile}),children:[Object(jsx_runtime.jsx)("div",{className:"text-body-medium-medium mb-24 capitalize-first",children:"CQL søgestreng"}),Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular mb-32",children:cqlPreviewText}),Object(jsx_runtime.jsxs)("section",{children:[Object(jsx_runtime.jsx)("button",{className:"link-tag mr-16 capitalize-first",children:"Nulstil"}),Object(jsx_runtime.jsxs)("button",{className:"link-tag mr-16 capitalize-first",children:["Kopier streng",Object(jsx_runtime.jsx)("img",{className:"inline-icon",src:"icons/collection/Check.svg",alt:""})]}),Object(jsx_runtime.jsx)(Links.a,{href:"/",linkText:"Rediger CQL",classNames:"link-tag"})]})]})},input_preview_InputPreview=InputPreview_InputPreview;try{InputPreview_InputPreview.displayName="InputPreview",InputPreview_InputPreview.__docgenInfo={description:"",displayName:"InputPreview",props:{cqlPreviewText:{defaultValue:{value:"placeholder text"},description:"",name:"cqlPreviewText",required:!1,type:{name:"string"}},isMobile:{defaultValue:{value:"false"},description:"",name:"isMobile",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/input-preview/InputPreview.tsx#InputPreview"]={docgenInfo:InputPreview_InputPreview.__docgenInfo,name:"InputPreview",path:"src/stories/Library/input-preview/InputPreview.tsx#InputPreview"})}catch(__react_docgen_typescript_loader_error){}var CardListPageData=__webpack_require__("./src/stories/Library/card-list-page/CardListPageData.ts"),CardListItem=__webpack_require__("./src/stories/Library/card-list-item/CardListItem.tsx"),ResultPager=__webpack_require__("./src/stories/Library/card-list-page/ResultPager.tsx"),AdvancedSearch_AdvancedSearch=function AdvancedSearch(_ref){var inputPlaceholder=_ref.inputPlaceholder,inputAmount=_ref.inputAmount,cqlPreviewText=_ref.cqlPreviewText,isCqlSearch=_ref.isCqlSearch;return Object(jsx_runtime.jsxs)("div",{className:"advanced-search",children:[Object(jsx_runtime.jsx)("h1",{className:"text-header-h2 advanced-search__title capitalize-first",children:isCqlSearch?"CQL søgning":"Avanceret søgning"}),!isCqlSearch&&Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsxs)("div",{className:"input-and-preview",children:[Object(jsx_runtime.jsxs)("div",{className:"input-and-preview__input",children:[Object(jsx_runtime.jsx)(InputWithDropdown_InputWithDropdown,{inputPlaceholder:inputPlaceholder}),Array(inputAmount-1).fill(0).map((function(){return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsxs)("div",{className:"advanced-search__clauses",children:[Object(jsx_runtime.jsx)("button",{className:"advanced-search__clause focus-styling",children:"OG"}),Object(jsx_runtime.jsx)("button",{className:"advanced-search__clause advanced-search__clause--grey focus-styling",children:"ELLER"}),Object(jsx_runtime.jsx)("button",{className:"advanced-search__clause advanced-search__clause--grey focus-styling",children:"IKKE"})]}),Object(jsx_runtime.jsx)(InputWithDropdown_InputWithDropdown,{inputPlaceholder:inputPlaceholder})]})})),Object(jsx_runtime.jsxs)("button",{className:"advanced-search__clauses",children:[Object(jsx_runtime.jsx)("img",{className:"mr-8",src:"icons/collection/PlusButton.svg",alt:"Plus button icon"}),"Tilføj ny linje"]})]}),Object(jsx_runtime.jsx)(input_preview_InputPreview,{cqlPreviewText:cqlPreviewText})]}),Object(jsx_runtime.jsx)("section",{className:"advanced-search__filters",children:Array(3).fill(0).map((function(item,index){return Object(jsx_runtime.jsx)("div",{className:"advanced-search__filter",children:Object(jsx_runtime.jsx)(Multiselect.a,{options:["Mulighed 1","Mulighed 2","Mulighed 3"],withCaption:!0,isOpen:0===index})},"".concat(item).concat(index))}))}),Object(jsx_runtime.jsx)(input_preview_InputPreview,{cqlPreviewText:cqlPreviewText,isMobile:!0})]}),isCqlSearch&&Object(jsx_runtime.jsx)("textarea",{className:"advanced-search__cql-input focus-styling__input",cols:100,rows:5,placeholder:"e.g. title=snemand*"}),Object(jsx_runtime.jsxs)("footer",{className:"advanced-search__footer",children:[isCqlSearch&&Object(jsx_runtime.jsx)("button",{className:"link-tag advanced-search__back-button",children:"Til avanceret søgning"}),Object(jsx_runtime.jsx)(Button.a,{size:"xlarge",label:"Søg",buttonType:"none",variant:"filled",collapsible:!1,disabled:!1,classNames:"advanced-search__search-button"})]}),Object(jsx_runtime.jsx)("div",{className:"advanced-search__divider"}),Object(jsx_runtime.jsxs)("section",{children:[Object(jsx_runtime.jsx)("h2",{className:"text-header-h2 advanced-search__title capitalize-first",children:"Viser materialer (20)"}),Object(jsx_runtime.jsx)("button",{className:"link-tag mb-16",children:"Link til søgninget"}),Object(jsx_runtime.jsx)("div",{className:"card-list-page__list my-32",children:CardListPageData.a.searchResult.map((function(item,i){return Object(jsx_runtime.jsx)(CardListItem.a,Object(objectSpread2.a)(Object(objectSpread2.a)({},item),{},{tintIndex:i}))}))}),Object(jsx_runtime.jsx)(ResultPager.a,{currentResults:10,totalResults:20})]})]})};try{AdvancedSearch_AdvancedSearch.displayName="AdvancedSearch",AdvancedSearch_AdvancedSearch.__docgenInfo={description:"",displayName:"AdvancedSearch",props:{inputPlaceholder:{defaultValue:null,description:"",name:"inputPlaceholder",required:!0,type:{name:"string"}},inputAmount:{defaultValue:null,description:"",name:"inputAmount",required:!0,type:{name:"number"}},cqlPreviewText:{defaultValue:null,description:"",name:"cqlPreviewText",required:!0,type:{name:"string"}},isCqlSearch:{defaultValue:null,description:"",name:"isCqlSearch",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/advanced-search/AdvancedSearch.tsx#AdvancedSearch"]={docgenInfo:AdvancedSearch_AdvancedSearch.__docgenInfo,name:"AdvancedSearch",path:"src/stories/Blocks/advanced-search/AdvancedSearch.tsx#AdvancedSearch"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Advanced Search",component:AdvancedSearch_AdvancedSearch,decorators:[esm.a],argTypes:{inputPlaceholder:{name:"Input placeholder",defaultValue:"Søgeterm",control:{type:"text"}},inputAmount:{name:"Amount of input rows",defaultValue:2,control:{type:"number"}},cqlPreviewText:{name:"CQL preview text",defaultValue:"title = harry potter AND subtitle = and the philosophers stone",control:{type:"text"}},isCqlSearch:{name:"Is CQL search?",defaultValue:!1,control:{type:"boolean"}}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?type=design&node-id=9759%3A31313&mode=design&t=G77riF8Vp9iyZ7pP-1"}}};var AdvancedSearch_stories_Template=function Template(args){return Object(jsx_runtime.jsx)(AdvancedSearch_AdvancedSearch,Object(objectSpread2.a)({},args))},AdvancedSearch_stories_AdvancedSearch=AdvancedSearch_stories_Template.bind({}),CqlSearch=AdvancedSearch_stories_Template.bind({});CqlSearch.args={isCqlSearch:!0},AdvancedSearch_stories_AdvancedSearch.parameters=Object(objectSpread2.a)({storySource:{source:"(\n args: AdvancedSearchProps\n) => "}},AdvancedSearch_stories_AdvancedSearch.parameters),CqlSearch.parameters=Object(objectSpread2.a)({storySource:{source:"(\n args: AdvancedSearchProps\n) => "}},CqlSearch.parameters)},"./src/stories/Blocks/article/Article.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),RowButtons=__webpack_require__("./src/stories/Library/Buttons/row-button/RowButtons.tsx"),ArrowLink=__webpack_require__("./src/stories/Library/links/arrow-link/ArrowLink.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),ArticleHeader_ArticleHeader=function ArticleHeader(_ref){var title=_ref.title,subtitle=_ref.subtitle,author=_ref.author,date=_ref.date;return Object(jsx_runtime.jsxs)("header",{className:"article-header",children:[Object(jsx_runtime.jsx)(ArrowLink.a,{label:"Go back",className:"article-header__back-link"}),Object(jsx_runtime.jsx)("h1",{className:"article-header__title",children:title}),Object(jsx_runtime.jsx)("p",{className:"article-header__subtitle",children:subtitle}),Object(jsx_runtime.jsxs)("p",{className:"article-header__info",children:["Af",Object(jsx_runtime.jsx)("a",{href:"/",className:"article-header__author",children:author}),Object(jsx_runtime.jsx)("time",{className:"article-header__date",children:date})]}),Object(jsx_runtime.jsx)(RowButtons.a,{labels:["Netmedier","Licenser","This is hiddden"]})]})},article_header_ArticleHeader=ArticleHeader_ArticleHeader;try{ArticleHeader_ArticleHeader.displayName="ArticleHeader",ArticleHeader_ArticleHeader.__docgenInfo={description:"",displayName:"ArticleHeader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},subtitle:{defaultValue:null,description:"",name:"subtitle",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}},date:{defaultValue:null,description:"",name:"date",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/article-header/ArticleHeader.tsx#ArticleHeader"]={docgenInfo:ArticleHeader_ArticleHeader.__docgenInfo,name:"ArticleHeader",path:"src/stories/Library/article-header/ArticleHeader.tsx#ArticleHeader"})}catch(__react_docgen_typescript_loader_error){}var Article_Article=function Article(_ref){var title=_ref.title,subtitle=_ref.subtitle,author=_ref.author,date=_ref.date;return Object(jsx_runtime.jsx)("article",{className:"article",children:Object(jsx_runtime.jsx)(article_header_ArticleHeader,{title:title,subtitle:subtitle,author:author,date:date})})},article_Article=Article_Article;try{Article_Article.displayName="Article",Article_Article.__docgenInfo={description:"",displayName:"Article",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},subtitle:{defaultValue:null,description:"",name:"subtitle",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}},date:{defaultValue:null,description:"",name:"date",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/article/Article.tsx#Article"]={docgenInfo:Article_Article.__docgenInfo,name:"Article",path:"src/stories/Blocks/article/Article.tsx#Article"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Article",component:article_Article,decorators:[esm.a],argTypes:{title:{defaultValue:"Jesper Stein vinder Læsernes Bogpris for Rampen’"},subtitle:{defaultValue:"Jesper Stein har begået en hudløst ærlig og tankevækkende skildring af en skilsmisseramt familie. En selvbiografisk roman, som har ramt læserne i hjertet."},author:{defaultValue:"Lene Kuhlmann Frandsen"},date:{defaultValue:"08. April 21"}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?type=design&node-id=7477%3A39048&mode=dev"}}};var Default=function Template(args){return Object(jsx_runtime.jsx)(article_Article,Object(objectSpread2.a)({},args))}.bind({});Default.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n
\n)"}},Default.parameters)},"./src/stories/Blocks/autosuggest/Autosuggest.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"TwoMaterials",(function(){return TwoMaterials})),__webpack_require__.d(__webpack_exports__,"OneMaterial",(function(){return OneMaterial}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),clsx=__webpack_require__("./node_modules/clsx/dist/clsx.mjs"),AutosuggestMaterial=__webpack_require__("./src/stories/Library/autosuggest-material/AutosuggestMaterial.tsx"),AutosuggestText=__webpack_require__("./src/stories/Library/autosuggest-text/AutosuggestText.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),Autosuggest_Autosuggest=function Autosuggest(_ref){var textSuggestions=_ref.textSuggestions,categoryText=_ref.categoryText,materialSuggestions=_ref.materialSuggestions,classes=_ref.classes;return Object(jsx_runtime.jsxs)("ul",{className:"autosuggest pb-16",children:[Object(jsx_runtime.jsx)(AutosuggestText.a,{textSuggestions:textSuggestions}),Object(jsx_runtime.jsx)(AutosuggestMaterial.a,{materialSuggestions:materialSuggestions,classes:classes}),Object(jsx_runtime.jsx)(AutosuggestText.a,{textSuggestions:textSuggestions,categoryText:categoryText})]})};try{Autosuggest_Autosuggest.displayName="Autosuggest",Autosuggest_Autosuggest.__docgenInfo={description:"",displayName:"Autosuggest",props:{textSuggestions:{defaultValue:null,description:"",name:"textSuggestions",required:!0,type:{name:"string[]"}},categoryText:{defaultValue:null,description:"",name:"categoryText",required:!1,type:{name:"string | undefined"}},materialSuggestions:{defaultValue:null,description:"",name:"materialSuggestions",required:!0,type:{name:"{ cover: string; title: string; author: string; year: string; }[]"}},classes:{defaultValue:null,description:"",name:"classes",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/autosuggest/Autosuggest.tsx#Autosuggest"]={docgenInfo:Autosuggest_Autosuggest.__docgenInfo,name:"Autosuggest",path:"src/stories/Blocks/autosuggest/Autosuggest.tsx#Autosuggest"})}catch(__react_docgen_typescript_loader_error){}var AutosuggestMaterial_stories=__webpack_require__("./src/stories/Library/autosuggest-material/AutosuggestMaterial.stories.tsx"),AutosuggestText_stories=__webpack_require__("./src/stories/Library/autosuggest-text/AutosuggestText.stories.tsx"),helper=__webpack_require__("./src/stories/Library/autosuggest-material/helper.ts"),Autosuggest_stories_Template=(__webpack_exports__.default={title:"Blocks / Autosuggest",component:Autosuggest_Autosuggest,decorators:[esm.a],argTypes:Object(objectSpread2.a)(Object(objectSpread2.a)({},AutosuggestMaterial_stories.default.argTypes),AutosuggestText_stories.default.argTypes),parameters:{design:{type:"figma",url:"https://www.figma.com/file/ETOZIfmgGS1HUfio57SOh7/S%C3%B8gning?node-id=4709%3A24976"}}},function Template(args){return Object(jsx_runtime.jsxs)("header",{className:"header",style:{height:"144px"},children:[Object(jsx_runtime.jsx)("div",{className:"header__logo-desktop",children:Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular",children:"Context"})}),Object(jsx_runtime.jsxs)("div",{className:"header__menu",children:[Object(jsx_runtime.jsx)("nav",{className:"header__menu-first",children:Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular",children:"Context"})}),Object(jsx_runtime.jsx)("div",{className:"header__menu-second",children:Object(jsx_runtime.jsxs)("div",{className:"header__menu-search",children:[Object(jsx_runtime.jsx)("input",{className:"header__menu-search-input text-body-medium-regular",type:"text",placeholder:"This field is here just for context."}),Object(jsx_runtime.jsx)("img",{className:"header__menu-search-icon",src:"icons/basic/icon-search.svg",alt:"search icon"}),Object(jsx_runtime.jsx)("img",{className:"header__menu-dropdown-icon",src:"icons/collection/ExpandMore.svg",alt:"expand dropdown icon"}),Object(jsx_runtime.jsx)(Autosuggest_Autosuggest,Object(objectSpread2.a)({},args))]})})]}),Object(jsx_runtime.jsx)("div",{className:"header__clock",children:Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular",children:"Context"})})]})}),Default=Autosuggest_stories_Template.bind({}),Autosuggest_stories_getStoryArguments=function getStoryArguments(suggestions){var _AutosuggestMaterialS,_AutosuggestMaterialS2;return Object(objectSpread2.a)(Object(objectSpread2.a)({},AutosuggestText_stories.default.argTypes),{},{materialSuggestions:Object(objectSpread2.a)(Object(objectSpread2.a)({},Object(objectSpread2.a)({},null===(_AutosuggestMaterialS=AutosuggestMaterial_stories.default.argTypes)||void 0===_AutosuggestMaterialS?void 0:_AutosuggestMaterialS.materialSuggestions)),{},{defaultValue:helper.a.slice(0,suggestions)}),classes:Object(objectSpread2.a)(Object(objectSpread2.a)({},Object(objectSpread2.a)({},null===(_AutosuggestMaterialS2=AutosuggestMaterial_stories.default.argTypes)||void 0===_AutosuggestMaterialS2?void 0:_AutosuggestMaterialS2.classes)),{},{defaultValue:Object(clsx.b)({"autosuggest__material-item--two":2===suggestions,"autosuggest__material-item--one":1===suggestions})})})},TwoMaterials=Autosuggest_stories_Template.bind({});TwoMaterials.argTypes=Autosuggest_stories_getStoryArguments(2);var OneMaterial=Autosuggest_stories_Template.bind({});OneMaterial.argTypes=Autosuggest_stories_getStoryArguments(1),Default.parameters=Object(objectSpread2.a)({storySource:{source:'(\n args: AutosuggestProps\n) => (\n // Apart from , everything else is here just for the story\n // context. The autosuggest styling is directly dependent on the header component,\n // Please keep up to date with Header.tsx\n
\n
\n

Context

\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n
\n

Context

\n
\n
\n)'}},Default.parameters),TwoMaterials.parameters=Object(objectSpread2.a)({storySource:{source:'(\n args: AutosuggestProps\n) => (\n // Apart from , everything else is here just for the story\n // context. The autosuggest styling is directly dependent on the header component,\n // Please keep up to date with Header.tsx\n
\n
\n

Context

\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n
\n

Context

\n
\n
\n)'}},TwoMaterials.parameters),OneMaterial.parameters=Object(objectSpread2.a)({storySource:{source:'(\n args: AutosuggestProps\n) => (\n // Apart from , everything else is here just for the story\n // context. The autosuggest styling is directly dependent on the header component,\n // Please keep up to date with Header.tsx\n
\n
\n

Context

\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n
\n

Context

\n
\n
\n)'}},OneMaterial.parameters)},"./src/stories/Blocks/footer/Footer.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Footer",(function(){return Footer_stories_Footer}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),Pagefold=__webpack_require__("./src/stories/Library/pagefold/Pagefold.tsx"),Accordion=__webpack_require__("./src/stories/Library/accordion/Accordion.tsx"),Dropdown=__webpack_require__("./src/stories/Library/dropdown/Dropdown.tsx"),Logo=__webpack_require__("./src/stories/Library/logo/Logo.tsx"),Links=__webpack_require__("./src/stories/Library/links/Links.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),FooterColumn_FooterColumn=function FooterColumn(_ref){var title=_ref.title,links=_ref.links;return Object(jsx_runtime.jsxs)("div",{className:"footer-column",children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h4",children:title}),Object(jsx_runtime.jsx)("ul",{children:links.map((function(link){return Object(jsx_runtime.jsx)("li",{className:"footer-column--link",children:Object(jsx_runtime.jsx)(Links.a,{href:"/",linkText:link})})}))})]})};try{FooterColumn_FooterColumn.displayName="FooterColumn",FooterColumn_FooterColumn.__docgenInfo={description:"",displayName:"FooterColumn",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},links:{defaultValue:null,description:"",name:"links",required:!0,type:{name:"string[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/footer/FooterColumn.tsx#FooterColumn"]={docgenInfo:FooterColumn_FooterColumn.__docgenInfo,name:"FooterColumn",path:"src/stories/Blocks/footer/FooterColumn.tsx#FooterColumn"})}catch(__react_docgen_typescript_loader_error){}var accordionList=__webpack_require__("./src/stories/Library/accordion/accordionList.ts"),dropdownList=[{title:"DK",href:"/"},{title:"SEK",href:"/"},{title:"ENG",href:"/"}],Footer_Footer=function Footer(){return Object(jsx_runtime.jsxs)("footer",{className:"footer",children:[Object(jsx_runtime.jsx)("h2",{className:"hide-visually",children:"Globale links"}),Object(jsx_runtime.jsx)("div",{className:"footer__mobile",children:Object(jsx_runtime.jsxs)(Pagefold.a,{isInheriting:!0,isAContainer:!0,size:"small",children:[Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h4 mb-16",children:"Åbningstider"}),Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular mb-24",children:"Bibliotekerne lorem ipsum consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore."}),Object(jsx_runtime.jsx)("div",{className:"footer__column-link mb-48",children:Object(jsx_runtime.jsx)(Links.a,{href:"/",linkText:"Se bibliotekernes åbningstider"})})]}),Object(jsx_runtime.jsx)(Accordion.a,{list:accordionList.a}),Object(jsx_runtime.jsxs)("div",{className:"footer__widgets mt-48",children:[Object(jsx_runtime.jsx)(Dropdown.a,{list:dropdownList,ariaLabel:"dropdown",arrowIcon:"triangles"}),Object(jsx_runtime.jsx)(Logo.a,{fallback:!1,libraryName:"",altText:"logo"})]}),Object(jsx_runtime.jsx)("div",{className:"footer__separator mt-24"}),Object(jsx_runtime.jsxs)("div",{className:"footer__site-info mt-24",children:[Object(jsx_runtime.jsx)("div",{className:"footer__site-info-links",children:Object(jsx_runtime.jsxs)("ul",{children:[Object(jsx_runtime.jsx)("li",{children:Object(jsx_runtime.jsx)("a",{href:"",className:"footer__site-info-link",children:"Behandling af persondata"})}),Object(jsx_runtime.jsx)("li",{children:Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Servicedeklaration"})}),Object(jsx_runtime.jsx)("li",{children:Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Relement"})}),Object(jsx_runtime.jsx)("li",{children:Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Tilgængelighed"})})]})}),Object(jsx_runtime.jsxs)("div",{className:"footer__site-info-icons mt-32",children:[Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-facebook.svg",alt:"Facebook link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-instagram.svg",alt:"Instagram link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-youtube.svg",alt:"Youtube link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-spotify.svg",alt:"Spotify link"})})]})]})]})}),Object(jsx_runtime.jsx)("div",{className:"footer__desktop",children:Object(jsx_runtime.jsxs)(Pagefold.a,{isInheriting:!0,isAContainer:!0,size:"medium",children:[Object(jsx_runtime.jsxs)("div",{className:"footer__column-wrapper",children:[Object(jsx_runtime.jsxs)("div",{className:"footer__column",children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h4 mb-16",children:"Åbningstider"}),Object(jsx_runtime.jsxs)("div",{className:"footer__column",children:[Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular",children:"Bibliotekerne lorem ipsum consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore."}),Object(jsx_runtime.jsx)("div",{className:"footer__column-link",children:Object(jsx_runtime.jsx)(Links.a,{href:"/",linkText:"Se bibliotekernes åbningstider"})})]})]}),Object(jsx_runtime.jsx)(FooterColumn_FooterColumn,{title:"Om bibliotekerne",links:["Brug af bibliotekerne","Erstatninger og gebyrer","Opret bruger","Biblioteket - A til Å","Internetadgang","Print, scan og kopi","Booking af lokaler","Nyhedsbrev"]}),Object(jsx_runtime.jsx)(FooterColumn_FooterColumn,{title:"Online tilbud",links:["Litteratursiden","Bibliotek.dk","eReolen","Filmstriben"]}),Object(jsx_runtime.jsxs)("div",{className:"footer__column",children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h4 mb-16",children:"Kontakt"}),Object(jsx_runtime.jsxs)("p",{className:"text-body-medium-regular",children:["Lyngby-Taarbæk Bibliotekerne ",Object(jsx_runtime.jsx)("br",{}),"Lyngby Hovedgade 28 ",Object(jsx_runtime.jsx)("br",{}),"2800 Kgs. Lyngby ",Object(jsx_runtime.jsx)("br",{}),Object(jsx_runtime.jsx)("br",{}),Object(jsx_runtime.jsx)("a",{className:"footer__column-phone",href:"tel:4545973700",children:"+45 45 97 37 00"}),Object(jsx_runtime.jsx)("br",{}),"Man - fre / Kl. 10-16 ",Object(jsx_runtime.jsx)("br",{})]}),Object(jsx_runtime.jsx)("div",{className:"footer__column-link",children:Object(jsx_runtime.jsx)(Links.a,{href:"/",linkText:"info@ltk.dk"})})]}),Object(jsx_runtime.jsx)(FooterColumn_FooterColumn,{title:"Text",links:["Lorem ipsum a la lorem ip","Bibliotekerne lorem","Labore ipsum","Adipisci velit le lorem"]}),Object(jsx_runtime.jsx)(FooterColumn_FooterColumn,{title:"Text",links:["Lorem ipsum a la lorem ip","Bibliotekerne lorem","Labore ipsum","Adipisci velit le lorem"]}),Object(jsx_runtime.jsx)(FooterColumn_FooterColumn,{title:"Text",links:["Lorem ipsum a la lorem ip","Bibliotekerne lorem","Labore ipsum","Adipisci velit le lorem"]})]}),Object(jsx_runtime.jsxs)("div",{className:"footer__widgets mt-80",children:[Object(jsx_runtime.jsx)(Dropdown.a,{list:dropdownList,ariaLabel:"dropdown",arrowIcon:"triangles"}),Object(jsx_runtime.jsx)(Logo.a,{fallback:!1,libraryName:"",altText:"logo"})]}),Object(jsx_runtime.jsx)("div",{className:"footer__separator"}),Object(jsx_runtime.jsxs)("div",{className:"footer__site-info",children:[Object(jsx_runtime.jsxs)("div",{className:"footer__site-info-icons",children:[Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-facebook.svg",alt:"Facebook link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-instagram.svg",alt:"Instagram link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-youtube.svg",alt:"Youtube link"})}),Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/social/icon-social-spotify.svg",alt:"Spotify link"})})]}),Object(jsx_runtime.jsxs)("div",{className:"footer__site-info-links color-secondary-gray",children:[Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Behandling af persondata"}),Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Servicedeklaration"}),Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Relement"}),Object(jsx_runtime.jsx)("a",{href:"/",className:"footer__site-info-link",children:"Tilgængelighed"})]})]})]})})]})},Footer_stories_Footer=(__webpack_exports__.default={title:"Blocks / Footer",component:Footer_Footer,decorators:[esm.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=1354%3A8716"}}},function Footer(){return Object(jsx_runtime.jsx)(Footer_Footer,{})});Footer_stories_Footer.parameters=Object(objectSpread2.a)({storySource:{source:"() => "}},Footer_stories_Footer.parameters)},"./src/stories/Blocks/header/Header.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Header",(function(){return Header_stories_Header})),__webpack_require__.d(__webpack_exports__,"StickyHeaderWithContent",(function(){return Header_stories_StickyHeaderWithContent}));var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),Logo=__webpack_require__("./src/stories/Library/logo/Logo.tsx"),Pagefold=__webpack_require__("./src/stories/Library/pagefold/Pagefold.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),list=[{title:"Det sker",href:"/"},{title:"Biblioteker & åbningstider",href:"/"},{title:"Digitale tilbud",href:"/"},{title:"Litteratur",href:"/"},{title:"Børn & forældre",href:"/"}],Header_Header=function Header(props){var signedIn=props.signedIn,haveNotification=props.haveNotification,username=props.username,inputPlaceholder=props.inputPlaceholder,openDropdown=props.openDropdown,_useState=Object(react.useState)(openDropdown),_useState2=Object(slicedToArray.a)(_useState,2),isDropdownOpen=_useState2[0],setIsDropdownOpen=_useState2[1];return Object(react.useEffect)((function(){__webpack_require__("./src/stories/Blocks/header/header-toggle.js"),__webpack_require__("./src/stories/Blocks/header/header-sticky.js")}),[]),Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsxs)("header",{className:"header",children:[Object(jsx_runtime.jsx)("div",{className:"header__logo-desktop",children:Object(jsx_runtime.jsx)("a",{className:"header__logo-desktop-link",href:"/",children:Object(jsx_runtime.jsx)(Logo.a,{fallback:!1,libraryName:"Hjørring",altText:"Logo image of libary"})})}),Object(jsx_runtime.jsxs)("div",{className:"header__menu",children:[Object(jsx_runtime.jsxs)("nav",{className:"header__menu-first",children:[Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsxs)("div",{className:"header__menu-navigation-mobile",children:[Object(jsx_runtime.jsx)(Pagefold.a,{isInheriting:!1,isAContainer:!1,size:"small",className:"header__menu-navigation-button header__button",compProps:{id:"header__menu--open",onClick:function onClick(){return window.eventHeader()}},children:Object(jsx_runtime.jsx)("img",{src:"icons/basic/icon-menu.svg",alt:"List of bookmarks"})}),Object(jsx_runtime.jsx)("div",{className:"header__menu-navigation-logo",children:Object(jsx_runtime.jsx)(Logo.a,{fallback:!0,libraryName:"Lyngby-Taarbæk",altText:"Logo image of libary"})})]}),Object(jsx_runtime.jsx)("ul",{className:"header__menu-navigation",children:list.map((function(i){return Object(jsx_runtime.jsx)("li",{className:"header__menu-navigation-item",children:Object(jsx_runtime.jsx)("a",{href:i.href,className:"header__menu-navigation-link text-body-medium-regular hide-linkstyle",children:i.title})})}))})]}),Object(jsx_runtime.jsx)("div",{className:"header__menu-profile header__button",children:Object(jsx_runtime.jsxs)("a",{href:"/",className:"hide-linkstyle",children:[signedIn&&haveNotification&&Object(jsx_runtime.jsx)("div",{className:"header__notification bg-signal-alert"}),Object(jsx_runtime.jsx)("img",{src:"icons/basic/icon-profile.svg",alt:"Profile"}),signedIn&&Object(jsx_runtime.jsx)("span",{className:"text-small-caption",children:username})]})}),Object(jsx_runtime.jsx)("div",{className:"header__menu-bookmarked header__button",children:Object(jsx_runtime.jsx)("a",{href:"/",children:Object(jsx_runtime.jsx)("img",{src:"icons/basic/icon-heart.svg",alt:"List of bookmarks"})})})]}),Object(jsx_runtime.jsx)("div",{children:Object(jsx_runtime.jsxs)("div",{className:"header__menu-search",children:[Object(jsx_runtime.jsxs)("form",{className:"header__menu-search-form",children:[Object(jsx_runtime.jsx)("input",{className:"header__menu-search-input text-body-medium-regular",type:"text",placeholder:inputPlaceholder}),Object(jsx_runtime.jsx)("img",{className:"header__menu-search-icon",src:"icons/basic/icon-search.svg",alt:"search icon"})]}),Object(jsx_runtime.jsx)("img",{className:"header__menu-dropdown-icon",onClick:function onClick(){return setIsDropdownOpen(!isDropdownOpen)},src:"icons/collection/ExpandMore.svg",alt:"expand dropdown icon"}),isDropdownOpen&&Object(jsx_runtime.jsx)("div",{className:"header__menu-dropdown",children:Object(jsx_runtime.jsx)("ul",{children:Object(jsx_runtime.jsx)("li",{className:"header__menu-dropdown-item",children:"Avanceret søgning"})})})]})})]}),Object(jsx_runtime.jsxs)("div",{className:"header__clock",children:[Object(jsx_runtime.jsx)(Pagefold.a,{isInheriting:!1,isAContainer:!1,size:"medium"}),Object(jsx_runtime.jsxs)("div",{className:"header__clock-items",children:[Object(jsx_runtime.jsx)("img",{src:"icons/basic/icon-watch-static.svg",className:"mb-8",alt:"clock icon"}),Object(jsx_runtime.jsx)("span",{className:"text-small-caption",children:"Fredag"}),Object(jsx_runtime.jsx)("span",{className:"text-small-caption",children:"28 Maj"})]})]})]}),Object(jsx_runtime.jsxs)("div",{id:"header__overlay",onClick:function onClick(){return window.eventHeader()},children:[Object(jsx_runtime.jsxs)("div",{className:"header__overlay-main",children:[Object(jsx_runtime.jsx)("img",{id:"header__menu--close",src:"icons/basic/icon-cross-medium.svg"}),Object(jsx_runtime.jsx)("ul",{className:"header__overlay-menu",children:list.map((function(i){return Object(jsx_runtime.jsx)("li",{className:"header__overlay-menu-item",children:Object(jsx_runtime.jsx)("a",{href:i.href,className:"header__overlay-menu-link text-body-large hide-linkstyle",children:i.title})})}))})]}),Object(jsx_runtime.jsx)("div",{className:"header__overlay-backdrop"})]})]})};try{Header_Header.displayName="Header",Header_Header.__docgenInfo={description:"",displayName:"Header",props:{signedIn:{defaultValue:null,description:"",name:"signedIn",required:!0,type:{name:"boolean"}},haveNotification:{defaultValue:null,description:"",name:"haveNotification",required:!0,type:{name:"boolean"}},username:{defaultValue:null,description:"",name:"username",required:!0,type:{name:"string"}},inputPlaceholder:{defaultValue:null,description:"",name:"inputPlaceholder",required:!0,type:{name:"string"}},openDropdown:{defaultValue:null,description:"",name:"openDropdown",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/header/Header.tsx#Header"]={docgenInfo:Header_Header.__docgenInfo,name:"Header",path:"src/stories/Blocks/header/Header.tsx#Header"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Header",component:Header_Header,decorators:[esm.a],argTypes:{signedIn:{defaultValue:!1},haveNotification:{defaultValue:!1},username:{defaultValue:"Christine"},inputPlaceholder:{defaultValue:"Søg blandt bibliotekets materialer"},openDropdown:{defaultValue:!1}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=264%3A2160"}}};var Header_stories_Header=function Header(args){return Object(jsx_runtime.jsx)(Header_Header,Object(objectSpread2.a)({},args))},Header_stories_StickyHeaderWithContent=function StickyHeaderWithContent(props){return Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsx)(Header_Header,Object(objectSpread2.a)({},props)),Object(jsx_runtime.jsxs)("main",{className:"p-16",children:[Object(jsx_runtime.jsx)("p",{className:"my-16",children:Object(jsx_runtime.jsx)("strong",{children:"Because of limitations regarding determing y position and scroll in an iframe open the frame to see the sticky header in action"})}),Object(toConsumableArray.a)(Array(50)).map((function(){return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsx)("p",{children:"Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat."}),Object(jsx_runtime.jsx)("p",{children:"Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus."})]})}))]})]})};Header_stories_Header.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n \n)"}},Header_stories_Header.parameters),Header_stories_StickyHeaderWithContent.parameters=Object(objectSpread2.a)({storySource:{source:'(props: HeaderProps) => (\n
\n \n
\n

\n \n Because of limitations regarding determing y position and scroll in an\n iframe open the frame to see the sticky header in action\n \n

\n {[...Array(50)].map(() => (\n <>\n

\n Morbi in sem quis dui placerat ornare. Pellentesque odio nisi,\n euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras\n consequat.\n

\n

\n Praesent dapibus, neque id cursus faucibus, tortor neque egestas\n augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam\n dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.\n

\n \n ))}\n
\n
\n)'}},Header_stories_StickyHeaderWithContent.parameters);try{Header_stories_StickyHeaderWithContent.displayName="StickyHeaderWithContent",Header_stories_StickyHeaderWithContent.__docgenInfo={description:"",displayName:"StickyHeaderWithContent",props:{signedIn:{defaultValue:null,description:"",name:"signedIn",required:!0,type:{name:"boolean"}},haveNotification:{defaultValue:null,description:"",name:"haveNotification",required:!0,type:{name:"boolean"}},username:{defaultValue:null,description:"",name:"username",required:!0,type:{name:"string"}},inputPlaceholder:{defaultValue:null,description:"",name:"inputPlaceholder",required:!0,type:{name:"string"}},openDropdown:{defaultValue:null,description:"",name:"openDropdown",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/header/Header.stories.tsx#StickyHeaderWithContent"]={docgenInfo:Header_stories_StickyHeaderWithContent.__docgenInfo,name:"StickyHeaderWithContent",path:"src/stories/Blocks/header/Header.stories.tsx#StickyHeaderWithContent"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Blocks/header/header-sticky.js":function(module,exports){window.addEventListener("DOMContentLoaded",(function(){var scrollDirection="up",lastScrollY=window.scrollY,headerOffsetTop=document.querySelector("header").offsetTop;window.addEventListener("scroll",(function updateStickyHeader(_ref){var _ref$initialHeaderYpo=_ref.initialHeaderYposition,initialHeaderYposition=void 0===_ref$initialHeaderYpo?null:_ref$initialHeaderYpo,_ref$headerDownTopPos=_ref.headerDownTopPositionOffset,headerDownTopPositionOffset=void 0===_ref$headerDownTopPos?5:_ref$headerDownTopPos,_ref$waitPx=_ref.waitPx,waitPx=void 0===_ref$waitPx?5:_ref$waitPx,headerYStartPosition=null!=initialHeaderYposition?initialHeaderYposition:headerOffsetTop,scrollY=window.scrollY,direction=scrollY>lastScrollY?"down":"up";if(direction!==scrollDirection&&Math.abs(scrollY-lastScrollY)>waitPx&&(scrollDirection=direction),lastScrollY=scrollY>0?scrollY:0,"down"===scrollDirection){var headerDownTopPosition=document.querySelector("header").offsetHeight+headerDownTopPositionOffset;document.querySelector("header").style.top="-".concat(headerDownTopPosition,"px")}else document.querySelector("header").style.top="".concat(headerYStartPosition,"px")}))}))},"./src/stories/Blocks/header/header-toggle.js":function(module,exports){window.eventHeader=function(){var elementOverlay=document.getElementById("header__overlay"),elementClose=document.getElementById("header__menu--close"),elementOpen=document.getElementById("header__menu--open");elementOverlay&&elementClose&&elementOpen?elementOverlay.classList.toggle("visible"):console.info("Header - Couldn't find elements")}},"./src/stories/Blocks/material-banner/MaterialBanner.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Item",(function(){return Item}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),Dropdown=__webpack_require__("./src/stories/Library/dropdown/Dropdown.tsx"),LinkFilters=__webpack_require__("./src/stories/Library/link-filters/LinkFilters.tsx"),MaterialCard=__webpack_require__("./src/stories/Library/material-card/MaterialCard.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),MaterialBanner_MaterialBanner=function MaterialBanner(_ref){var title=_ref.title,body=_ref.body,linkFilters=_ref.linkFilters,covers=_ref.covers,showBodyText=_ref.showBodyText,showLinkfilters=_ref.showLinkfilters,dropdownList=linkFilters.map((function(i){return{title:i.title,href:i.href||""}}));return Object(jsx_runtime.jsxs)("div",{className:"material-banner",children:[Object(jsx_runtime.jsxs)("div",{className:"material-banner__header",children:[Object(jsx_runtime.jsxs)("div",{className:"material-banner__row",children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h2",children:title}),showLinkfilters&&Object(jsx_runtime.jsxs)("div",{className:"material-banner__menu",children:[Object(jsx_runtime.jsx)(LinkFilters.a,{filters:linkFilters}),Object(jsx_runtime.jsx)(Dropdown.a,{ariaLabel:"Dropdown filter",list:dropdownList,arrowIcon:"triangles"})]})]}),showBodyText&&Object(jsx_runtime.jsx)("p",{className:"text-body-medium-regular",children:body})]}),Object(jsx_runtime.jsx)("ul",{className:"material-banner__cards",children:covers.map((function(item,index){return Object(jsx_runtime.jsx)("li",{children:Object(jsx_runtime.jsx)(MaterialCard.a,Object(objectSpread2.a)({},item),index)})}))})]})};try{MaterialBanner_MaterialBanner.displayName="MaterialBanner",MaterialBanner_MaterialBanner.__docgenInfo={description:"",displayName:"MaterialBanner",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},body:{defaultValue:null,description:"",name:"body",required:!0,type:{name:"string"}},linkFilters:{defaultValue:null,description:"",name:"linkFilters",required:!0,type:{name:"LinkFilter[]"}},button:{defaultValue:null,description:"",name:"button",required:!1,type:{name:"ButtonProps | undefined"}},covers:{defaultValue:null,description:"",name:"covers",required:!0,type:{name:"MaterialCardProps[]"}},showLinkfilters:{defaultValue:null,description:"",name:"showLinkfilters",required:!0,type:{name:"boolean"}},showBodyText:{defaultValue:null,description:"",name:"showBodyText",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/material-banner/MaterialBanner.tsx#MaterialBanner"]={docgenInfo:MaterialBanner_MaterialBanner.__docgenInfo,name:"MaterialBanner",path:"src/stories/Blocks/material-banner/MaterialBanner.tsx#MaterialBanner"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Material Banner",component:MaterialBanner_MaterialBanner,decorators:[esm.a],argTypes:{},parameters:{}};var Item=function Template(args){return Object(jsx_runtime.jsx)(MaterialBanner_MaterialBanner,Object(objectSpread2.a)({},args))}.bind({});Item.args={title:"Nyt på hylderne",body:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",covers:[{title:"De uadskillelige",description:"Simone de Beauvoir",isLiked:!1,cover:{src:"images/book_cover_1.jpg",animate:!0,size:"medium",tint:"80"}},{title:"Den lille bog om dansk design",description:"Af Marie Hugsted",isLiked:!1,cover:{src:"images/book_cover_7.jpg",animate:!0,size:"medium",tint:"40"}},{title:"Audrey Hepburn",description:"Isabel Sánchez Vegara",isLiked:!0,cover:{src:"images/book_cover_3.jpg",animate:!0,size:"medium",tint:"100"}},{title:"Døgnkioskmennesket",description:"Sayaka Murata",isLiked:!1,cover:{src:"images/book_cover_4.jpg",animate:!0,size:"medium",tint:"120"}},{title:"Experiment with photosynthesis",description:"Søren Rasmussen",isLiked:!1,cover:{src:"images/book_cover_5.jpg",animate:!0,size:"medium",tint:"20"}},{title:"Sauna",description:"Af Anton M. Berg",isLiked:!1,cover:{src:"images/book_cover_6.jpg",animate:!0,size:"medium",tint:"80"}},{title:"De uadskillelige",description:"Simone de Beauvoir",isLiked:!1,cover:{src:"images/book_cover_1.jpg",animate:!0,size:"medium",tint:"40"}},{title:"Den lille bog om dansk design",description:"Af Marie Hugsted",isLiked:!1,cover:{src:"images/book_cover_2.jpg",animate:!0,size:"medium",tint:"100"}}],linkFilters:[{title:"Bob Dylan 80 år",href:"/",counter:"8"},{title:"Familien Bridgerton",href:"/",counter:"24"},{title:"Bøger til din ferie",href:"/",counter:"48"},{title:"Læs dig gennem Danmark",href:"/",counter:"16"}],button:void 0,showLinkfilters:!0},Item.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n \n)"}},Item.parameters)},"./src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Item",(function(){return Item}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),_MaterialMainfestationItem__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Blocks / Material Manifestation Item",component:_MaterialMainfestationItem__WEBPACK_IMPORTED_MODULE_2__.a,decorators:[storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/ETOZIfmgGS1HUfio57SOh7/S%C3%B8gning?node-id=427%3A16644"}},argTypes:{title:{control:{type:"text"},defaultValue:"Audrey Hepburn"},author:{control:{type:"text"},defaultValue:"Sánchez Vegara, Amaia Arrazola"},year:{control:{type:"text"},defaultValue:"2018"},detailsData:{control:{type:"object"}}}};var Item=function Template(args){return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_MaterialMainfestationItem__WEBPACK_IMPORTED_MODULE_2__.a,Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({},args))}.bind({});Item.args={detailsData:{Type:{value:"Bog",type:"standard"},Sprog:{value:"Dansk",type:"standard"},Bidragsydere:{value:"Karsten Sand Iversen",type:"link"},Originaltitel:{value:"Ulysses (1922)",type:"standard"},ISBN:{value:"9788763814584",type:"standard"},Udgave:{value:"Udgave, 2. oplag (2015)",type:"standard"},Omfang:{value:"795 sider",type:"standard"},Forlag:{value:"Rosinante",type:"standard"},"Målgruppe":{value:"Voksenmateriale",type:"standard"}}},Item.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:"(args) => {\n return ;\n}"}},Item.parameters)},"./src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return MaterialMainfestationItem}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_Library_availability_label_AvailabilityLabel__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Library/availability-label/AvailabilityLabel.tsx"),_Library_Buttons_button_Button__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/stories/Library/Buttons/button/Button.tsx"),_Library_Lists_list_description_ListDescription__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/stories/Library/Lists/list-description/ListDescription.tsx"),_Library_cover_Cover__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/stories/Library/cover/Cover.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/react/jsx-runtime.js"),MaterialMainfestationItem=function MaterialMainfestationItem(_ref){var title=_ref.title,author=_ref.author,year=_ref.year,detailsData=_ref.detailsData,_useState=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),_useState2=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(_useState,2),isOpen=_useState2[0],setIsOpen=_useState2[1];return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div",{className:"material-manifestation-item",children:[Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div",{className:"material-manifestation-item__availability",children:Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Library_availability_label_AvailabilityLabel__WEBPACK_IMPORTED_MODULE_2__.a,{manifestationType:"Bog",availability:"Hjemme",status:"available"})}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div",{className:"material-manifestation-item__cover",children:Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Library_cover_Cover__WEBPACK_IMPORTED_MODULE_5__.a,{src:"images/book_cover_3.jpg",size:"small",animate:!1,tint:"120"})}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div",{className:"material-manifestation-item__text",children:[Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h3",{className:"material-manifestation-item__title text-header-h4",children:title}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("p",{className:"text-small-caption",children:"Af ".concat(author," (").concat(year,")")}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div",{className:"material-manifestation-item__details ".concat(isOpen?"expanded":""),onClick:function onClick(){setIsOpen(!isOpen)},children:[Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("p",{className:"link-tag text-small-caption",children:"Detaljer om materialet "}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("img",{src:"icons/collection/ExpandMore.svg",alt:"ExpandMore"})]}),isOpen&&Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Library_Lists_list_description_ListDescription__WEBPACK_IMPORTED_MODULE_4__.a,{className:"mt-24",data:detailsData})]}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div",{className:"material-manifestation-item__buttons",children:[Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_Library_Buttons_button_Button__WEBPACK_IMPORTED_MODULE_3__.a,{label:"RESERVER",buttonType:"none",disabled:!1,collapsible:!1,size:"small",variant:"filled",classNames:"reserve-button"}),Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button",{className:"link-tag text-small-caption material-manifestation-item__find",children:"Find på hylden"})]})]})};try{MaterialMainfestationItem.displayName="MaterialMainfestationItem",MaterialMainfestationItem.__docgenInfo={description:"",displayName:"MaterialMainfestationItem",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}},year:{defaultValue:null,description:"",name:"year",required:!0,type:{name:"string"}},detailsData:{defaultValue:null,description:"",name:"detailsData",required:!0,type:{name:"ListData"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.tsx#MaterialMainfestationItem"]={docgenInfo:MaterialMainfestationItem.__docgenInfo,name:"MaterialMainfestationItem",path:"src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.tsx#MaterialMainfestationItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Blocks/material-page/MaterialPage.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Item",(function(){return Item})),__webpack_require__.d(__webpack_exports__,"SkeletonVersion",(function(){return MaterialPage_stories_SkeletonVersion}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),Disclosure=__webpack_require__("./src/stories/Library/disclosure/Disclosure.tsx"),HorizontalTermLine=__webpack_require__("./src/stories/Library/horizontal-term-line/HorizontalTermLine.tsx"),ListDescription=__webpack_require__("./src/stories/Library/Lists/list-description/ListDescription.tsx"),ListDescriptionFakeData=__webpack_require__("./src/stories/Library/Lists/list-description/ListDescriptionFakeData.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),react=__webpack_require__("./node_modules/react/index.js"),horizontalTermLines=[{title:"Nr. 3",subTitle:"i serien",linkList:[{text:"Vejen til Jerusalem",url:"/"}]},{title:"I samme serie",linkList:[{text:"Tempelridderen",url:"/"},{text:"Riget ved vejens ende",url:"/"},{text:"Arven efter Arn",url:"/"}]},{title:"Emneord",linkList:[{text:"Sverige",url:"/"},{text:"historie",url:"/"},{text:"klosterliv",url:"/"},{text:"korstogene",url:"/"},{text:"middelalderen",url:"/"}]}],MaterialDescription_MaterialDescription=function MaterialDescription(_ref){var description=_ref.description;return Object(jsx_runtime.jsxs)("section",{className:"material-description",children:[Object(jsx_runtime.jsx)("h2",{className:"text-header-h4 pb-16",children:"Beskrivelse"}),Object(jsx_runtime.jsx)("p",{className:"text-body-large material-description__content",children:description}),Object(jsx_runtime.jsx)("div",{className:"material-description__links mt-32",children:horizontalTermLines.map((function(item,index){return Object(react.createElement)(HorizontalTermLine.a,Object(objectSpread2.a)(Object(objectSpread2.a)({},item),{},{key:Object(HorizontalTermLine.b)(index)}))}))})]})},material_description_MaterialDescription=MaterialDescription_MaterialDescription;try{MaterialDescription_MaterialDescription.displayName="MaterialDescription",MaterialDescription_MaterialDescription.__docgenInfo={description:"",displayName:"MaterialDescription",props:{description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/material-description/MaterialDescription.tsx#MaterialDescription"]={docgenInfo:MaterialDescription_MaterialDescription.__docgenInfo,name:"MaterialDescription",path:"src/stories/Library/material-description/MaterialDescription.tsx#MaterialDescription"})}catch(__react_docgen_typescript_loader_error){}var AvailabilityLabel=__webpack_require__("./src/stories/Library/availability-label/AvailabilityLabel.tsx"),ButtonFavourite=__webpack_require__("./src/stories/Library/Buttons/button-favourite/ButtonFavourite.tsx"),Button=__webpack_require__("./src/stories/Library/Buttons/button/Button.tsx"),Cover=__webpack_require__("./src/stories/Library/cover/Cover.tsx"),MaterialHeaderText_MaterialHeaderText=function MaterialHeaderText(_ref){var title=_ref.title,author=_ref.author;return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsx)("h1",{className:"text-header-h1 mb-16",children:title}),Object(jsx_runtime.jsxs)("p",{className:"text-body-large",children:[Object(jsx_runtime.jsx)("span",{children:"Af "}),author]})]})},material_header_MaterialHeaderText=MaterialHeaderText_MaterialHeaderText;try{MaterialHeaderText_MaterialHeaderText.displayName="MaterialHeaderText",MaterialHeaderText_MaterialHeaderText.__docgenInfo={description:"",displayName:"MaterialHeaderText",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/material-header/MaterialHeaderText.tsx#MaterialHeaderText"]={docgenInfo:MaterialHeaderText_MaterialHeaderText.__docgenInfo,name:"MaterialHeaderText",path:"src/stories/Library/material-header/MaterialHeaderText.tsx#MaterialHeaderText"})}catch(__react_docgen_typescript_loader_error){}var MaterialPeriodicalSelect_MaterialPeriodicalSelect=function MaterialPeriodicalSelect(){var placeholderData={year:["2017","2018","2019","2020","2021","2022"],weeks:["30","31","32","33","34","35"]};return Object(jsx_runtime.jsxs)("div",{className:"text-small-caption material-periodical ",children:[Object(jsx_runtime.jsxs)("div",{className:"material-periodical-select",children:[Object(jsx_runtime.jsx)("label",{htmlFor:"year",children:"Årgang"}),Object(jsx_runtime.jsx)("div",{className:"material-periodical-select__border-container",children:Object(jsx_runtime.jsx)("select",{id:"year",children:placeholderData.year.map((function(year){return Object(jsx_runtime.jsx)("option",{value:year,children:year},year)}))})})]}),Object(jsx_runtime.jsxs)("div",{className:"material-periodical-select",children:[Object(jsx_runtime.jsx)("label",{htmlFor:"weeks",children:"Uge"}),Object(jsx_runtime.jsx)("div",{className:"material-periodical-select__border-container",children:Object(jsx_runtime.jsx)("select",{id:"weeks",children:placeholderData.weeks.map((function(week){return Object(jsx_runtime.jsx)("option",{value:week,children:week},week)}))})})]})]})},material_header_MaterialPeriodicalSelect=MaterialPeriodicalSelect_MaterialPeriodicalSelect;try{MaterialPeriodicalSelect_MaterialPeriodicalSelect.displayName="MaterialPeriodicalSelect",MaterialPeriodicalSelect_MaterialPeriodicalSelect.__docgenInfo={description:"",displayName:"MaterialPeriodicalSelect",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/material-header/MaterialPeriodicalSelect.tsx#MaterialPeriodicalSelect"]={docgenInfo:MaterialPeriodicalSelect_MaterialPeriodicalSelect.__docgenInfo,name:"MaterialPeriodicalSelect",path:"src/stories/Library/material-header/MaterialPeriodicalSelect.tsx#MaterialPeriodicalSelect"})}catch(__react_docgen_typescript_loader_error){}var listOfAvailabilityLabels=[{manifestationType:"Bog",availability:"Hjemme",status:"selected",button:!0},{manifestationType:"Bog",availability:"Hjemme",status:"available",button:!0},{manifestationType:"Bog",availability:"Hjemme",status:"available",button:!0},{manifestationType:"Bog",availability:"Hjemme",status:"available",button:!0},{manifestationType:"Bog",availability:"Hjemme",status:"available",button:!0}].map((function(item,index){return Object(react.createElement)(AvailabilityLabel.a,Object(objectSpread2.a)(Object(objectSpread2.a)({},item),{},{key:Object(HorizontalTermLine.b)(index)}))})),MaterialHeader_MaterialHeader=function MaterialHeader(_ref){var title=_ref.title,author=_ref.author,periodical=_ref.periodical,ctaText=_ref.ctaText;return Object(jsx_runtime.jsxs)("header",{className:"material-header",children:[Object(jsx_runtime.jsx)("div",{className:"material-header__cover",children:Object(jsx_runtime.jsx)(Cover.a,{src:"images/book_cover_3_large.jpeg",size:"xlarge",tint:"120",animate:!0,shadow:!0})}),Object(jsx_runtime.jsxs)("div",{className:"material-header__content",children:[Object(jsx_runtime.jsx)(ButtonFavourite.a,{}),Object(jsx_runtime.jsx)(material_header_MaterialHeaderText,{title:title,author:author}),Object(jsx_runtime.jsx)("div",{className:"material-header__availability-label",children:listOfAvailabilityLabels}),periodical&&Object(jsx_runtime.jsx)(material_header_MaterialPeriodicalSelect,{}),Object(jsx_runtime.jsxs)("div",{className:"material-header__button",children:[Object(jsx_runtime.jsx)(Button.a,{label:periodical?"RESERVER MAGASIN":"RESERVER BOG",buttonType:"none",variant:"filled",disabled:!1,collapsible:!1,size:"large",classNames:"capitalize-all"}),Object(jsx_runtime.jsx)(Button.a,{label:"FIND PÅ HYLDEN",buttonType:"none",variant:"outline",disabled:!1,collapsible:!1,size:"large",classNames:"capitalize-all"})]}),ctaText&&Object(jsx_runtime.jsx)("p",{className:"mt-16 text-small-caption",children:ctaText})]})]})},material_header_MaterialHeader=MaterialHeader_MaterialHeader;try{MaterialHeader_MaterialHeader.displayName="MaterialHeader",MaterialHeader_MaterialHeader.__docgenInfo={description:"",displayName:"MaterialHeader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}},periodical:{defaultValue:null,description:"",name:"periodical",required:!1,type:{name:"boolean | undefined"}},ctaText:{defaultValue:null,description:"",name:"ctaText",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/material-header/MaterialHeader.tsx#MaterialHeader"]={docgenInfo:MaterialHeader_MaterialHeader.__docgenInfo,name:"MaterialHeader",path:"src/stories/Library/material-header/MaterialHeader.tsx#MaterialHeader"})}catch(__react_docgen_typescript_loader_error){}var Review=__webpack_require__("./src/stories/Library/review/Review.tsx"),MaterialMainfestationItem=__webpack_require__("./src/stories/Blocks/material-manifestation-item/MaterialMainfestationItem.tsx"),MaterialPage_MaterialPage=function MaterialPage(_ref){var title=_ref.title,author=_ref.author,periodical=_ref.periodical,ctaText=_ref.ctaText,description=_ref.description;return Object(jsx_runtime.jsxs)("div",{className:"material-page",children:[Object(jsx_runtime.jsx)(material_header_MaterialHeader,{title:title,author:author,periodical:periodical,ctaText:ctaText}),Object(jsx_runtime.jsx)(material_description_MaterialDescription,{description:description}),Object(jsx_runtime.jsx)(Disclosure.a,{headline:"Udgaver (2)",icon:"Various",headingLevel:"h2",children:[1,2].map((function(item){return Object(jsx_runtime.jsx)(MaterialMainfestationItem.a,{title:"Title",author:"Author",year:"2022",detailsData:ListDescriptionFakeData.a},Object(HorizontalTermLine.b)(item))}))}),Object(jsx_runtime.jsx)(Disclosure.a,{headline:"Detaljer",icon:"Receipt",headingLevel:"h2",children:Object(jsx_runtime.jsx)(ListDescription.a,{data:ListDescriptionFakeData.a,className:"pl-80 pb-48"})}),Object(jsx_runtime.jsx)(Disclosure.a,{headline:"Anmeldelser",icon:"Create",headingLevel:"h2",children:Object(jsx_runtime.jsx)(Review.a,{numberOfReviews:1,meta:"Meta headline",hearts:3,headline:"Headline",body:"Body text of the review...",linkText:"Link to review",linkLink:"/"})})]})},material_page_MaterialPage=MaterialPage_MaterialPage;try{MaterialPage_MaterialPage.displayName="MaterialPage",MaterialPage_MaterialPage.__docgenInfo={description:"",displayName:"MaterialPage",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},author:{defaultValue:null,description:"",name:"author",required:!0,type:{name:"string"}},periodical:{defaultValue:null,description:"",name:"periodical",required:!1,type:{name:"boolean | undefined"}},ctaText:{defaultValue:null,description:"",name:"ctaText",required:!1,type:{name:"string | undefined"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/material-page/MaterialPage.tsx#MaterialPage"]={docgenInfo:MaterialPage_MaterialPage.__docgenInfo,name:"MaterialPage",path:"src/stories/Blocks/material-page/MaterialPage.tsx#MaterialPage"})}catch(__react_docgen_typescript_loader_error){}var MaterialPageSkeleton_MaterialPageSkeleton=function MaterialPageSkeleton(){return Object(jsx_runtime.jsxs)("section",{className:"material-page ssc",children:[Object(jsx_runtime.jsxs)("header",{className:"material-header",children:[Object(jsx_runtime.jsx)("div",{className:"material-header__cover",children:Object(jsx_runtime.jsx)("div",{className:"ssc-square cover cover--size-xlarge cover--aspect-xlarge"})}),Object(jsx_runtime.jsx)("div",{className:"material-header__content",children:Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsxs)("div",{className:"scc-wrapper",children:[Object(jsx_runtime.jsx)("div",{className:"ssc-square mb-32"}),Object(jsx_runtime.jsx)("div",{className:"ssc-head-line mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-head-line mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-head-line mb-48"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-30",children:" "})]}),Object(jsx_runtime.jsxs)("div",{className:"scc-wrapper pt-48",children:[Object(jsx_runtime.jsx)("div",{className:"ssc-head-line w-80 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-head-line w-80 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line"})]})]})})]}),Object(jsx_runtime.jsxs)("section",{className:"material-description",children:[Object(jsx_runtime.jsx)("div",{className:"ssc-head-line w-20 mb"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-60 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-60 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-60 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-60 mb"}),Object(jsx_runtime.jsxs)("div",{className:"scc-wrapper pt-16",children:[Object(jsx_runtime.jsx)("div",{className:"ssc-head-line w-10 mt mb"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-70 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-70 mbs"}),Object(jsx_runtime.jsx)("div",{className:"ssc-line w-70 mbs"})]})]})]})},material_page_MaterialPageSkeleton=MaterialPageSkeleton_MaterialPageSkeleton;try{MaterialPageSkeleton_MaterialPageSkeleton.displayName="MaterialPageSkeleton",MaterialPageSkeleton_MaterialPageSkeleton.__docgenInfo={description:"",displayName:"MaterialPageSkeleton",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/material-page/MaterialPageSkeleton.tsx#MaterialPageSkeleton"]={docgenInfo:MaterialPageSkeleton_MaterialPageSkeleton.__docgenInfo,name:"MaterialPageSkeleton",path:"src/stories/Blocks/material-page/MaterialPageSkeleton.tsx#MaterialPageSkeleton"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Material Page",component:material_page_MaterialPage,decorators:[esm.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/ETOZIfmgGS1HUfio57SOh7/S%C3%B8gning?node-id=416%3A12503"}},argTypes:{title:{control:{type:"text"}},author:{control:{type:"text"}},periodical:{control:{type:"boolean"}},ctaText:{control:{type:"text"}},description:{control:{type:"text"}}}};var Item=function Template(args){return Object(jsx_runtime.jsx)(material_page_MaterialPage,Object(objectSpread2.a)({},args))}.bind({});Item.args={title:"Audrey Hepburn",author:"James Joyce (2013)",periodical:!1,ctaText:"Vi har 8 eksemplarer og 21 står i kø",description:"Stormandssønnen Arn får hos cisterciensermunkene i Sverige og Danmark den bedste uddannelse, der findes i middelalderens Europa. Men hans lærere aner, at han ikke er bestemt til at være klosterbroder og vil gøre bedre fyldest som Kristi strids... "};var MaterialPage_stories_SkeletonVersion=function SkeletonVersion(){return Object(jsx_runtime.jsx)(material_page_MaterialPageSkeleton,{})};Item.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => {\n return ;\n}"}},Item.parameters),MaterialPage_stories_SkeletonVersion.parameters=Object(objectSpread2.a)({storySource:{source:"() => "}},MaterialPage_stories_SkeletonVersion.parameters)},"./src/stories/Blocks/reservation/forms/form.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"EmailModal",(function(){return EmailModal})),__webpack_require__.d(__webpack_exports__,"SmsModal",(function(){return SmsModal})),__webpack_require__.d(__webpack_exports__,"ExpirationModal",(function(){return ExpirationModal})),__webpack_require__.d(__webpack_exports__,"CollectModal",(function(){return CollectModal}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),Input=__webpack_require__("./src/stories/Library/Forms/input/Input.tsx"),Button=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./src/stories/Library/Buttons/button/Button.tsx")),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),Form_Form=function Form(_ref){var title=_ref.title,description=_ref.description,children=_ref.children;return Object(jsx_runtime.jsx)("section",{className:"reservation-modal reservation-form",children:Object(jsx_runtime.jsxs)("div",{className:"reservation-form__content",children:[Object(jsx_runtime.jsxs)("div",{className:"reservation-form__header",children:[Object(jsx_runtime.jsx)("h3",{className:"text-header-h3 mb-35",children:title}),description.map((function(paragraph){return Object(jsx_runtime.jsx)("p",{className:"text-body-large",children:paragraph})}))]}),children&&Object(jsx_runtime.jsx)("div",{className:"reservation-form__body mt-35",children:children}),Object(jsx_runtime.jsx)("div",{className:"reservation-form__footer mt-48",children:Object(jsx_runtime.jsx)(Button.a,{label:"Gem",buttonType:"none",disabled:!1,collapsible:!1,size:"xlarge",variant:"filled"})})]})})},forms_Form=Form_Form;try{Form_Form.displayName="Form",Form_Form.__docgenInfo={description:"",displayName:"Form",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"",name:"description",required:!0,type:{name:"string[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/reservation/forms/Form.tsx#Form"]={docgenInfo:Form_Form.__docgenInfo,name:"Form",path:"src/stories/Blocks/reservation/forms/Form.tsx#Form"})}catch(__react_docgen_typescript_loader_error){}var Email_Email=function Email(){return Object(jsx_runtime.jsx)(forms_Form,{title:"Ændring af email",description:["Hvis du ønsker at få notifikationer på e-mail kan du indtaste eller ændre den ønskede e-mail hér."],children:Object(jsx_runtime.jsx)(Input.a,{description:"Indtast e-mail",id:"id",label:"E-mail",type:"text"})})},forms_Email=Email_Email;try{Email_Email.displayName="Email",Email_Email.__docgenInfo={description:"",displayName:"Email",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/reservation/forms/Email.tsx#Email"]={docgenInfo:Email_Email.__docgenInfo,name:"Email",path:"src/stories/Blocks/reservation/forms/Email.tsx#Email"})}catch(__react_docgen_typescript_loader_error){}var Sms_Sms=function Sms(){return Object(jsx_runtime.jsx)(forms_Form,{title:"Ændring af telefonnummer",description:["Hvis du ønsker at få notifikationer på sms kan du indtaste eller ændre dit telefonnummer hér."],children:Object(jsx_runtime.jsx)(Input.a,{description:"Indtast telefonnummer",id:"id",label:"Telefonnummer",type:"text"})})},forms_Sms=Sms_Sms;try{Sms_Sms.displayName="Sms",Sms_Sms.__docgenInfo={description:"",displayName:"Sms",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/reservation/forms/Sms.tsx#Sms"]={docgenInfo:Sms_Sms.__docgenInfo,name:"Sms",path:"src/stories/Blocks/reservation/forms/Sms.tsx#Sms"})}catch(__react_docgen_typescript_loader_error){}var Dropdown=__webpack_require__("./src/stories/Library/dropdown/Dropdown.tsx"),Expiration_Expiration=function Expiration(){return Object(jsx_runtime.jsx)(forms_Form,{title:"Har ingen interesse efter",description:["Her kan du angive, hvor længe du har interesse i at vente på bøgerne.","Når perioden er udløbet, vil reservationen ophøre."],children:Object(jsx_runtime.jsx)(Dropdown.a,{ariaLabel:"Har ingen interesse efter",list:[{title:"1 måned",href:""},{title:"2 måneder",href:""},{title:"3 måneder",href:""},{title:"6 måneder",href:""},{title:"12 måneder",href:""}],arrowIcon:"chevron"})})},forms_Expiration=Expiration_Expiration;try{Expiration_Expiration.displayName="Expiration",Expiration_Expiration.__docgenInfo={description:"",displayName:"Expiration",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/reservation/forms/Expiration.tsx#Expiration"]={docgenInfo:Expiration_Expiration.__docgenInfo,name:"Expiration",path:"src/stories/Blocks/reservation/forms/Expiration.tsx#Expiration"})}catch(__react_docgen_typescript_loader_error){}var forms_Collect=function Collect(){return Object(jsx_runtime.jsx)(forms_Form,{title:"Afhentningsbibliotek",description:["Hvor ønsker du at afhente dine bøger?"],children:Object(jsx_runtime.jsx)(Dropdown.a,{ariaLabel:"Afheningsbibliotek",list:[{title:"Hovedbiblioteket, Krystalgade",href:""},{title:"Blågårdens Bibliotek",href:""},{title:"Brønshøj Bibliotek",href:""},{title:"Christianshavns Bibliotek",href:""},{title:"Husum Bibliotek",href:""},{title:"Islands Brygge Bibliotek",href:""},{title:"Øbro Jagtvej Bibliotek",href:""},{title:"Biblioteket Rentemestervej",href:""},{title:"Nørrebro Bibliotek",href:""},{title:"Solvang Bibliotek",href:""},{title:"Sundby Bibliotek",href:""},{title:"Bibliotekshuset",href:""},{title:"Sydhavnens Bibliotek",href:""},{title:"Tingbjerg Bibliotek",href:""},{title:"Valby Bibliotek",href:""},{title:"Kulturstationen Vanløse. Biblioteket",href:""},{title:"Vesterbro Bibliotek",href:""},{title:"Vigerslev Bibliotek",href:""},{title:"Østerbro Bibliotek",href:""},{title:"Ørestad Bibliotek",href:""}],arrowIcon:"chevron"})})},EmailModal=(__webpack_exports__.default={title:"Blocks / Reservation / Forms",component:forms_Email,decorators:[esm.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/ETOZIfmgGS1HUfio57SOh7/S%C3%B8gning?node-id=4560%3A33328"}},argTypes:{}},function EmailModalTemplate(args){return Object(jsx_runtime.jsx)(forms_Email,Object(objectSpread2.a)({},args))}.bind({})),SmsModal=function SmsModalTemplate(args){return Object(jsx_runtime.jsx)(forms_Sms,Object(objectSpread2.a)({},args))}.bind({}),ExpirationModal=function ExpirationModalTemplate(args){return Object(jsx_runtime.jsx)(forms_Expiration,Object(objectSpread2.a)({},args))}.bind({}),CollectModal=function CollectModalTemplate(args){return Object(jsx_runtime.jsx)(forms_Collect,Object(objectSpread2.a)({},args))}.bind({});EmailModal.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => {\n return ;\n}"}},EmailModal.parameters),SmsModal.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => {\n return ;\n}"}},SmsModal.parameters),ExpirationModal.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => {\n return ;\n}"}},ExpirationModal.parameters),CollectModal.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => {\n return ;\n}"}},CollectModal.parameters)},"./src/stories/Blocks/status-loans/statusLoans.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StatusLoans",(function(){return statusLoans_stories_StatusLoans}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),progressBar=__webpack_require__("./src/stories/Library/progress-bar/progressBar.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),statusLoans_StatusLoans=function StatusLoans(props){var statusBarsData=props.statusBarsData,statusBarsTitle=props.title,link=props.link,bread=props.bread,url=link.link,linkText=link.text;return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsx)("h1",{className:"text-header-h1 m-8",children:statusBarsTitle}),Object(jsx_runtime.jsxs)("div",{className:"m-8 text-body-small-regular",children:["".concat(bread," "),Object(jsx_runtime.jsx)("a",{href:url,className:"text-links",children:linkText})]}),Object(jsx_runtime.jsx)("div",{className:"dpl-status-loans",children:statusBarsData.map((function(_ref){var statusBars=_ref.statusBars,title=_ref.title;return Object(jsx_runtime.jsxs)("div",{className:"dpl-status-loans__container m-8",children:[Object(jsx_runtime.jsx)("h2",{className:"text-header-h2",children:title}),statusBars.map((function(_ref2){var statusBarTitle=_ref2.title,amount=_ref2.amount,fullAmount=_ref2.fullAmount,outOf=_ref2.outOf;return Object(jsx_runtime.jsx)(progressBar.a,{title:statusBarTitle,fullAmount:fullAmount,outOf:outOf,amount:amount})}))]})}))})]})};try{statusLoans_StatusLoans.displayName="StatusLoans",statusLoans_StatusLoans.__docgenInfo={description:"",displayName:"StatusLoans",props:{statusBarsData:{defaultValue:null,description:"",name:"statusBarsData",required:!0,type:{name:"StatusProps[]"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},link:{defaultValue:null,description:"",name:"link",required:!0,type:{name:"LinkProps"}},bread:{defaultValue:null,description:"",name:"bread",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/status-loans/statusLoans.tsx#StatusLoans"]={docgenInfo:statusLoans_StatusLoans.__docgenInfo,name:"StatusLoans",path:"src/stories/Blocks/status-loans/statusLoans.tsx#StatusLoans"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Userprofile / Status loans",component:statusLoans_StatusLoans,parameters:{design:{type:"figma",url:"https://www.figma.com/file/xouARmJCONbzbZhpD8XpcM/Brugerprofil?node-id=1239%3A66855"}},argTypes:{statusBarsData:{defaultValue:[{title:"Lån pr. måned",statusBars:[{amount:1,fullAmount:4,title:"Ebøger",outOf:"ud af"},{amount:2,fullAmount:10,title:"Lydbøger",outOf:"ud af"}]}]},title:{defaultValue:"Digitale lån (Ereolen)"},bread:{defaultValue:"På mange digitale materialer, er der er begrænsning på, hvor mange du kan låne pr. måned. Der findes dog en række materialer uden begrænsning."},link:{defaultValue:{text:"Se titler du altid kan låne",link:"https://www.figma.com/file/xouARmJCONbzbZhpD8XpcM/Brugerprofil?node-id=1239%3A66855"}}}};var statusLoans_stories_StatusLoans=function Template(args){return Object(jsx_runtime.jsx)(statusLoans_StatusLoans,Object(objectSpread2.a)({},args))}.bind({});statusLoans_stories_StatusLoans.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n \n)"}},statusLoans_stories_StatusLoans.parameters)},"./src/stories/Blocks/status-userprofile/statusUserprofile.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StatusUserprofile",(function(){return statusUserprofile_stories_StatusUserprofile})),__webpack_require__.d(__webpack_exports__,"StatusUserprofileEmpty",(function(){return StatusUserprofileEmpty}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),ListEmpty=__webpack_require__("./src/stories/Library/Lists/list-empty/ListEmpty.tsx"),ListDashboard=__webpack_require__("./src/stories/Library/Lists/list-dashboard/ListDashboard.tsx"),LinkFilters=__webpack_require__("./src/stories/Library/link-filters/LinkFilters.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),statusUserprofile_StatusUserprofile=function StatusUserprofile(props){var loansTitle=props.loansTitle,loans=props.loans,reservationsTitle=props.reservationsTitle,reservations=props.reservations;return Object(jsx_runtime.jsxs)("div",{className:"status-userprofile",children:[Object(jsx_runtime.jsxs)("div",{className:"status-userprofile__column",children:[Object(jsx_runtime.jsx)(LinkFilters.a,{filters:loansTitle}),loans.length?loans.map((function(item,index){return Object(jsx_runtime.jsx)("div",{className:"status-userprofile__loans-list-item",children:Object(jsx_runtime.jsx)(ListDashboard.a,{title:item.title,number:item.number,label:item.label,showDot:item.showDot,href:item.href})},index)})):Object(jsx_runtime.jsx)(ListEmpty.a,{className:"mt-16",text:"Du har i øjeblikket 0 fysiske lån"})]}),Object(jsx_runtime.jsxs)("div",{className:"status-userprofile__column",children:[Object(jsx_runtime.jsx)(LinkFilters.a,{filters:reservationsTitle}),reservations.length?reservations.map((function(item,index){return Object(jsx_runtime.jsx)("div",{className:"status-userprofile__reservation-list-item",children:Object(jsx_runtime.jsx)(ListDashboard.a,{title:item.title,number:item.number,label:item.label,showDot:item.showDot,href:item.href})},index)})):Object(jsx_runtime.jsx)(ListEmpty.a,{className:"mt-16",text:"Du har i øjebilkket 0 reserveringer"})]})]})};try{statusUserprofile_StatusUserprofile.displayName="StatusUserprofile",statusUserprofile_StatusUserprofile.__docgenInfo={description:"",displayName:"StatusUserprofile",props:{loansTitle:{defaultValue:null,description:"",name:"loansTitle",required:!0,type:{name:"LinkFilter[]"}},loans:{defaultValue:null,description:"",name:"loans",required:!0,type:{name:"ListDashboardProps[]"}},reservationsTitle:{defaultValue:null,description:"",name:"reservationsTitle",required:!0,type:{name:"LinkFilter[]"}},reservations:{defaultValue:null,description:"",name:"reservations",required:!0,type:{name:"ListDashboardProps[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Blocks/status-userprofile/statusUserprofile.tsx#StatusUserprofile"]={docgenInfo:statusUserprofile_StatusUserprofile.__docgenInfo,name:"StatusUserprofile",path:"src/stories/Blocks/status-userprofile/statusUserprofile.tsx#StatusUserprofile"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.default={title:"Blocks / Userprofile / Loans and Reservations",component:statusUserprofile_StatusUserprofile,parameters:{design:{type:"figma",url:"https://www.figma.com/file/xouARmJCONbzbZhpD8XpcM/Brugerprofil?node-id=1060%3A56449"},layout:"fullscreen",allowFullscreen:!0},argTypes:{loansTitle:{control:{type:"object"},defaultValue:[{title:"Fysiske lån",href:"/",counter:"12"}]},loans:{control:{type:"object"},defaultValue:[{label:{label:"overskredet",status:"danger"},number:{label:1,status:"danger"},title:"Afleveret for sent",showDot:!0,href:"/"},{label:{label:"Udløber snart",status:"warning"},number:{label:3,status:"warning"},title:"Afleveres snart",showDot:!0,href:"/"},{number:{label:8,status:"neutral"},title:"Længere afleveringstid",showDot:!1,href:"/"}]},reservationsTitle:{control:{type:"object"},defaultValue:[{title:"Reserveringer",href:"/",counter:"12"}]},reservations:{control:{type:"object"},defaultValue:[{label:{label:"klar til lån",status:"info"},number:{label:2,status:"info"},title:"Klar til dig",showDot:!0,href:"/"},{number:{label:10,status:"neutral"},title:"Stadig i kø",showDot:!1,href:"/"}]}}};var statusUserprofile_stories_Template=function Template(args){return Object(jsx_runtime.jsx)(statusUserprofile_StatusUserprofile,Object(objectSpread2.a)({},args))},statusUserprofile_stories_StatusUserprofile=statusUserprofile_stories_Template.bind({}),StatusUserprofileEmpty=statusUserprofile_stories_Template.bind({});StatusUserprofileEmpty.parameters={design:{type:"figma",url:"https://www.figma.com/file/xouARmJCONbzbZhpD8XpcM/Brugerprofil?node-id=1064%3A56889"},layout:"fullscreen",allowFullscreen:!0},StatusUserprofileEmpty.argTypes={loansTitle:{control:{type:"object"},defaultValue:[{title:"Fysiske lån",href:"/",counter:"0"}]},loans:{control:{type:"object"},defaultValue:[]},reservationsTitle:{control:{type:"object"},defaultValue:[{title:"Reserveringer",href:"/",counter:"0"}]},reservations:{control:{type:"object"},defaultValue:[]}},statusUserprofile_stories_StatusUserprofile.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n \n)"}},statusUserprofile_stories_StatusUserprofile.parameters),StatusUserprofileEmpty.parameters=Object(objectSpread2.a)({storySource:{source:"(args) => (\n \n)"}},StatusUserprofileEmpty.parameters)},"./src/stories/Introduction.stories.mdx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__("./node_modules/react/index.js");var _mdx_js_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};const componentMeta={title:"Introduction",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs={...componentMeta.parameters.docs||{},page:()=>Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__.b)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_2__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__.b)(MDXContent,null))},__webpack_exports__.default=componentMeta},"./src/stories/Library/Arrows/icon-arrow-accent/ArrowAccent.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ArrowAccent",(function(){return ArrowAccent_stories_ArrowAccent}));var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),icon_arrow_accent_ArrowAccent=function IconAccent(){return Object(jsx_runtime.jsx)("img",{src:"icons/arrow-accent/icon-arrow-accent.svg",alt:"arrow accent"})},StoryBase={title:"Library / Arrows / Arrow Accent",component:icon_arrow_accent_ArrowAccent,decorators:[esm.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=282%3A3763"},layout:"centered"}},ArrowAccent_stories_ArrowAccent=(__webpack_exports__.default=StoryBase,function ArrowAccent(){return Object(jsx_runtime.jsx)(icon_arrow_accent_ArrowAccent,{})});ArrowAccent_stories_ArrowAccent.parameters=Object(objectSpread2.a)({storySource:{source:"() => "}},ArrowAccent_stories_ArrowAccent.parameters);try{Meta.displayName="Meta",Meta.__docgenInfo={description:"Metadata to configure the stories for a component.",displayName:"Meta",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/Arrows/icon-arrow-accent/ArrowAccent.stories.tsx#Meta"]={docgenInfo:Meta.__docgenInfo,name:"Meta",path:"src/stories/Library/Arrows/icon-arrow-accent/ArrowAccent.stories.tsx#Meta"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ArrowUI",(function(){return ArrowUI}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),_ArrowUI__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js"),StoryBase={title:"Library / Arrows / Arrow UI",component:_ArrowUI__WEBPACK_IMPORTED_MODULE_2__.a,decorators:[storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__.a],argTypes:{direction:{defaultValue:"right"},hover:{defaultValue:!0},size:{defaultValue:"large"}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=264%3A3146"},layout:"centered"}};__webpack_exports__.default=StoryBase;var ArrowUI=function ArrowUI(props){return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ArrowUI__WEBPACK_IMPORTED_MODULE_2__.a,Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)(Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({},props),{},{children:Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",{className:"internal-arrow-box",children:"To animate the arrow on hover, we have to embed the svg inline"})}))};ArrowUI.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:'(props: IconArrowProps) => (\n \n
\n To animate the arrow on hover, we have to embed the svg inline\n
\n
\n)'}},ArrowUI.parameters);try{ArrowUI.displayName="ArrowUI",ArrowUI.__docgenInfo={description:"",displayName:"ArrowUI",props:{size:{defaultValue:null,description:"",name:"size",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}},direction:{defaultValue:null,description:"",name:"direction",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'}]}},hover:{defaultValue:null,description:"",name:"hover",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.stories.tsx#ArrowUI"]={docgenInfo:ArrowUI.__docgenInfo,name:"ArrowUI",path:"src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.stories.tsx#ArrowUI"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ArrowUI_IconArrow}));var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");function InvalidProps(){return Object(jsx_runtime.jsx)("h1",{children:"Invalid props"})}var _path,_path2,react=__webpack_require__("./node_modules/react/index.js"),_excluded=["title","titleId"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function SvgIconArrowUiLargeLeft(_ref,svgRef){var title=_ref.title,titleId=_ref.titleId,props=_objectWithoutProperties(_ref,_excluded);return react.createElement("svg",_extends({width:151,height:16,viewBox:"0 0 151 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:svgRef,"aria-labelledby":titleId},props),title?react.createElement("title",{id:titleId},title):null,_path||(_path=react.createElement("path",{className:"arrow__body",d:"M151 8H1",stroke:"black",strokeWidth:2})),_path2||(_path2=react.createElement("path",{className:"arrow__head",d:"M0.280147 7.23183C-0.0933823 7.65606 -0.0933823 8.34395 0.280147 8.76817L6.36718 15.6818C6.74071 16.1061 7.34632 16.1061 7.71985 15.6818C8.09338 15.2575 8.09338 14.5697 7.71985 14.1455L2.30916 8L7.71985 1.85462C8.09338 1.43029 8.09338 0.742507 7.71985 0.318171C7.34632 -0.106057 6.7407 -0.106057 6.36718 0.318171L0.280147 7.23183ZM7.17364 7H4.06506H0.956487V9H4.06506H7.17364V7Z",fill:"black"})))}var icon_arrow_ui_large_right_path,icon_arrow_ui_large_right_path2,ForwardRef=react.forwardRef(SvgIconArrowUiLargeLeft),icon_arrow_ui_large_right_excluded=(__webpack_require__.p,["title","titleId"]);function icon_arrow_ui_large_right_extends(){return icon_arrow_ui_large_right_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function SvgIconArrowUiLargeRight(_ref,svgRef){var title=_ref.title,titleId=_ref.titleId,props=icon_arrow_ui_large_right_objectWithoutProperties(_ref,icon_arrow_ui_large_right_excluded);return react.createElement("svg",icon_arrow_ui_large_right_extends({width:151,height:16,viewBox:"0 0 151 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:svgRef,"aria-labelledby":titleId},props),title?react.createElement("title",{id:titleId},title):null,icon_arrow_ui_large_right_path||(icon_arrow_ui_large_right_path=react.createElement("path",{className:"arrow__body",d:"M150 8H0",stroke:"black",strokeWidth:2})),icon_arrow_ui_large_right_path2||(icon_arrow_ui_large_right_path2=react.createElement("path",{className:"arrow__head",d:"M150.707 8.7071C151.098 8.31657 151.098 7.68341 150.707 7.29288L144.343 0.928925C143.953 0.538401 143.319 0.538401 142.929 0.928925C142.538 1.31945 142.538 1.95261 142.929 2.34314L148.586 7.99999L142.929 13.6569C142.538 14.0474 142.538 14.6805 142.929 15.0711C143.319 15.4616 143.953 15.4616 144.343 15.0711L150.707 8.7071ZM142 8.99999H150V6.99999H142V8.99999Z",fill:"black"})))}var icon_arrow_ui_large_right_ForwardRef=react.forwardRef(SvgIconArrowUiLargeRight),icon_arrow_ui_small_left=(__webpack_require__.p,__webpack_require__("./node_modules/@svgr/webpack/lib/index.js?-svgo,+titleProp,+ref!./src/stories/Library/Arrows/icon-arrow-ui/icon-arrow-ui-small-left.svg")),icon_arrow_ui_small_right=__webpack_require__("./node_modules/@svgr/webpack/lib/index.js?-svgo,+titleProp,+ref!./src/stories/Library/Arrows/icon-arrow-ui/icon-arrow-ui-small-right.svg"),ArrowUI_IconArrow=function IconArrow(_ref){var size=_ref.size,direction=_ref.direction,hover=_ref.hover,children=_ref.children,isRight="right"===direction,ArrowComp=function getDynamicArrow(){return"large"===size?isRight?icon_arrow_ui_large_right_ForwardRef:ForwardRef:"small"===size?isRight?icon_arrow_ui_small_right.a:icon_arrow_ui_small_left.a:InvalidProps}();return hover?Object(jsx_runtime.jsxs)("div",{className:"arrow arrow__hover--".concat(direction,"-").concat(size),children:[children,Object(jsx_runtime.jsx)(ArrowComp,{})]}):Object(jsx_runtime.jsx)("img",{src:function getStaticArrow(){return"large"===size?isRight?"icon-arrow-ui-large-right.svg":"icon-arrow-ui-large-left.svg":"small"===size?isRight?"icon-arrow-ui-small-right.svg":"icon-arrow-ui-small-left.svg":""}()})};try{ArrowUI_IconArrow.displayName="IconArrow",ArrowUI_IconArrow.__docgenInfo={description:"",displayName:"IconArrow",props:{size:{defaultValue:null,description:"",name:"size",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}},direction:{defaultValue:null,description:"",name:"direction",required:!0,type:{name:"enum",value:[{value:'"right"'},{value:'"left"'}]}},hover:{defaultValue:null,description:"",name:"hover",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.tsx#IconArrow"]={docgenInfo:ArrowUI_IconArrow.__docgenInfo,name:"IconArrow",path:"src/stories/Library/Arrows/icon-arrow-ui/ArrowUI.tsx#IconArrow"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Library/Buttons/button-favourite/ButtonFavourite.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"favourite",(function(){return favourite}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),_ButtonFavourite__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Library/Buttons/button-favourite/ButtonFavourite.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Library / Buttons / Button Favourite",component:_ButtonFavourite__WEBPACK_IMPORTED_MODULE_2__.a,decorators:[storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__.a],parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=656%3A5407"}},argTypes:{fill:{control:"boolean",defaultValue:!0}}};var favourite=function Template(args){return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ButtonFavourite__WEBPACK_IMPORTED_MODULE_2__.a,Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({},args))}.bind({});favourite.args={},favourite.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:"(args) => (\n \n)"}},favourite.parameters)},"./src/stories/Library/Buttons/button-favourite/ButtonFavourite.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ButtonFavourite}));var _Icons_icon_favourite_IconFavourite__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/stories/Library/Icons/icon-favourite/IconFavourite.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),ButtonFavourite=function ButtonFavourite(_ref){var fill=_ref.fill;return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button",{type:"button","aria-label":"Tilføj til favoritter",className:"button-favourite",children:Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Icons_icon_favourite_IconFavourite__WEBPACK_IMPORTED_MODULE_0__.a,{fill:fill})})};try{ButtonFavourite.displayName="ButtonFavourite",ButtonFavourite.__docgenInfo={description:"",displayName:"ButtonFavourite",props:{fill:{defaultValue:null,description:"",name:"fill",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/Buttons/button-favourite/ButtonFavourite.tsx#ButtonFavourite"]={docgenInfo:ButtonFavourite.__docgenInfo,name:"ButtonFavourite",path:"src/stories/Library/Buttons/button-favourite/ButtonFavourite.tsx#ButtonFavourite"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Library/Buttons/button-ui/ButtonUI.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Hover",(function(){return Hover}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),_ButtonUI__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Library/Buttons/button-ui/ButtonUI.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Library / Buttons / Button",component:_ButtonUI__WEBPACK_IMPORTED_MODULE_2__.a,decorators:[storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__.a],argTypes:{label:{defaultValue:"Se hele kalenderen"},disabled:{defaultValue:!1},collapsible:{defaultValue:!1},size:{defaultValue:"medium"},variant:{defaultValue:"outline"}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=296%3A5345"},layout:"centered"}};var Template=function Template(args){return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ButtonUI__WEBPACK_IMPORTED_MODULE_2__.a,Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({},args))},Default=Template.bind({});Default.args={};var Hover=Template.bind({});Hover.args={},Default.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:"(args) => (\n \n)"}},Default.parameters),Hover.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:"(args) => (\n \n)"}},Hover.parameters)},"./src/stories/Library/Buttons/button-ui/ButtonUI.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ButtonUI}));var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/jsx-runtime.js"),ButtonUI=function ButtonUI(_ref){var content=_ref.content,classes=_ref.classes,children=_ref.children,onClick=_ref.onClick,ariaLabel=_ref.ariaLabel,describe=_ref.describe;return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button",{type:"button","aria-describedby":describe,className:"btn-ui ".concat(classes||""),onClick:onClick,"aria-label":ariaLabel,children:function getChild(){return"LABEL"===content.kind?content.label:"ICON"===content.kind?Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img",{src:content.url,alt:content.alt}):"CHILDREN"===content.kind?children:null}()})};try{ButtonUI.displayName="ButtonUI",ButtonUI.__docgenInfo={description:"",displayName:"ButtonUI",props:{content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"ContentIcon | ContentLabel | ContentChildren"}},classes:{defaultValue:null,description:"",name:"classes",required:!1,type:{name:"string | undefined"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!0,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void) | undefined"}},describe:{defaultValue:null,description:"",name:"describe",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/Library/Buttons/button-ui/ButtonUI.tsx#ButtonUI"]={docgenInfo:ButtonUI.__docgenInfo,name:"ButtonUI",path:"src/stories/Library/Buttons/button-ui/ButtonUI.tsx#ButtonUI"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/Library/Buttons/button/Button.stories.tsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Hover",(function(){return Hover})),__webpack_require__.d(__webpack_exports__,"Search",(function(){return Search})),__webpack_require__.d(__webpack_exports__,"Inactive",(function(){return Inactive})),__webpack_require__.d(__webpack_exports__,"Active",(function(){return Active}));var _home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/storybook-addon-designs/esm/index.js"),_Button__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/stories/Library/Buttons/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Library / Buttons / Button",component:_Button__WEBPACK_IMPORTED_MODULE_2__.a,decorators:[storybook_addon_designs__WEBPACK_IMPORTED_MODULE_1__.a],argTypes:{label:{defaultValue:"Se hele kalenderen"},disabled:{defaultValue:!1},collapsible:{defaultValue:!1},size:{defaultValue:"medium"},variant:{defaultValue:"outline"}},parameters:{design:{type:"figma",url:"https://www.figma.com/file/Zx9GrkFA3l4ISvyZD2q0Qi/Designsystem?node-id=296%3A5345"},layout:"centered"}};var Template=function Template(args){return Object(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_2__.a,Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({},args))},Default=Template.bind({});Default.args={label:"default state",buttonType:"none",collapsible:!0};var Hover=Template.bind({});Hover.args={label:"hover state",buttonType:"default",collapsible:!0};var Search=Template.bind({});Search.args={label:"se alle søgeresultater",buttonType:"search"};var Inactive=Template.bind({});Inactive.args={label:"inactive state",buttonType:"search",disabled:!0};var Active=Template.bind({});Active.args={label:"active state",buttonType:"none",variant:"filled"},Default.parameters=Object(_home_runner_work_dpl_design_system_dpl_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.a)({storySource:{source:"(args) =>