Anvil/assets/preview-DB9FwMii.js.map

1 line
14 KiB
Text
Raw Normal View History

2024-07-31 10:01:28 +02:00
{"version":3,"file":"preview-DB9FwMii.js","sources":["../../node_modules/@storybook/addon-outline/dist/preview.mjs"],"sourcesContent":["import { useMemo, useEffect } from 'storybook/internal/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\n\nvar clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=input=>{let selector=typeof input==\"string\"?input:input.join(\"\"),element=global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element);},addOutlineStyles=(selector,css)=>{let existingStyle=global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=global.document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,global.document.head.appendChild(style);}};var PARAM_KEY=\"outline\";function outlineCSS(selector){return dedent`\n ${selector} body {\n outline: 1px solid #2980b9 !important;\n }\n\n ${selector} article {\n outline: 1px solid #3498db !important;\n }\n\n ${selector} nav {\n outline: 1px solid #0088c3 !important;\n }\n\n ${selector} aside {\n outline: 1px solid #33a0ce !important;\n }\n\n ${selector} section {\n outline: 1px solid #66b8da !important;\n }\n\n ${selector} header {\n outline: 1px solid #99cfe7 !important;\n }\n\n ${selector} footer {\n outline: 1px solid #cce7f3 !important;\n }\n\n ${selector} h1 {\n outline: 1px solid #162544 !important;\n }\n\n ${selector} h2 {\n outline: 1px solid #314e6e !important;\n }\n\n ${selector} h3 {\n outline: 1px solid #3e5e85 !important;\n }\n\n ${selector} h4 {\n outline: 1px solid #449baf !important;\n }\n\n ${selector} h5 {\n outline: 1px solid #c7d1cb !important;\n }\n\n ${selector} h6 {\n outline: 1px solid #4371d0 !important;\n }\n\n ${selector} main {\n outline: 1px solid #2f4f90 !important;\n }\n\n ${selector} address {\n outline: 1px solid #1a2c51 !important;\n }\n\n ${selector} div {\n outline: 1px solid #036cdb !important;\n }\n\n ${selector} p {\n outline: 1px solid #ac050b !important;\n }\n\n ${selector} hr {\n outline: 1px solid #ff063f !important;\n }\n\n ${selector} pre {\n outline: 1px solid #850440 !important;\n }\n\n ${selector} blockquote {\n outline: 1px solid #f1b8e7 !important;\n }\n\n ${selector} ol {\n outline: 1px solid #ff050c !important;\n }\n\n ${selector} ul {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} li {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} dl {\n outline: 1px solid #fd3427 !important;\n }\n\n ${selector} dt {\n outline: 1px solid #ff0043 !important;\n }\n\n ${selector} dd {\n outline: 1px solid #e80174 !important;\n }\n\n ${selector} figure {\n outline: 1px solid #ff00bb !important;\n }\n\n ${selector} figcaption {\n outline: 1px solid #bf0032 !important;\n }\n\n ${selector} table {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} caption {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} thead {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} tbody {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} tfoot {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} tr {\n outline: 1px solid #86c0b2 !important;\n }\n\n ${selector} th {\n outline: 1px solid #a1e7d6 !important;\n }\n\n ${selector} td {\n outline: 1px solid #3f5a54 !important;\n }\n\n ${selector} col {\n outline: 1px solid #6c9a8f !important;\n }\n\n ${selector} colgroup {\n outline: 1px solid #6c9a9d !important;\n }\n\n ${selector} button {\n outline: 1px solid #da8301 !important;\n }\n\n ${selector} datali