@gemeente-denhaag/anchor-collapse
Advanced tools
Comparing version 0.1.1-alpha.245 to 0.1.1-alpha.246
'use strict';var css_248z = ".denhaag-anchor-collapse{--denhaag-anchor-collapse-content-display:none;--denhaag-anchor-collapse-icon-display:block;--denhaag-anchor-collapse-summary-pointer-events:auto;border-bottom:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color)}.denhaag-anchor-collapse:first-child{border-top:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color)}.denhaag-anchor-collapse--active{--denhaag-anchor-collapse-content-display:block;--denhaag-anchor-collapse-rotate:0deg;--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-active-color)}.denhaag-anchor-collapse__toggle{background-color:transparent;border:0;color:var(--denhaag-anchor-collapse-summary-color);cursor:pointer;font-family:var(--denhaag-anchor-collapse-summary-font-family,inherit);font-size:var(--denhaag-anchor-collapse-summary-font-size,inherit);font-weight:var(--denhaag-anchor-collapse-summary-font-weight,normal);margin-block-start:var(--denhaag-anchor-collapse-summary-margin-block-start,0);padding-block-end:var(--denhaag-anchor-collapse-summary-padding-block);padding-block-start:var(--denhaag-anchor-collapse-summary-padding-block);padding-inline-end:calc(var(--denhaag-anchor-collapse-summary-padding-inline)*2);padding-inline-start:var(--denhaag-anchor-collapse-summary-padding-inline);pointer-events:var(--denhaag-anchor-collapse-summary-pointer-events);text-align:var(--denhaag-anchor-collapse-summary-text-align);width:100%}.denhaag-anchor-collapse__summary{margin-block-end:0;margin-block-start:0;position:relative}.denhaag-anchor-collapse__summary--hover,.denhaag-anchor-collapse__toggle:hover{--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-hover-color)}.denhaag-anchor-collapse__summary--focus,.denhaag-anchor-collapse__toggle:focus-visible{--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-focus-color);outline:var(--denhaag-anchor-collapse-summary-focus-outline,var(--denhaag-focus-border))}.denhaag-anchor-collapse__summary>svg{display:var(--denhaag-anchor-collapse-icon-display);position:absolute;right:var(--denhaag-anchor-collapse-summary-padding-inline);top:50%;transform:translate(-50%,-50%) rotate(var(--denhaag-anchor-collapse-rotate))}.denhaag-anchor-collapse__content{border-top:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color);display:var(--denhaag-anchor-collapse-content-display);padding-block-end:var(--denhaag-anchor-collapse-content-padding-block-end,var(--denhaag-anchor-collapse-summary-padding-block));padding-block-start:var(--denhaag-anchor-collapse-content-padding-block-start,var(--denhaag-anchor-collapse-summary-padding-block));padding-inline-end:var(--denhaag-anchor-collapse-content-padding-inline-end,var(--denhaag-anchor-collapse-summary-padding-inline));padding-inline-start:var(--denhaag-anchor-collapse-content-padding-inline-start,var(--denhaag-anchor-collapse-summary-padding-inline))}@media (width >= 768px){.denhaag-anchor-collapse{--denhaag-anchor-collapse-border-color:transparent;--denhaag-anchor-collapse-content-display:block;--denhaag-anchor-collapse-icon-display:none;--denhaag-anchor-collapse-summary-pointer-events:none;--denhaag-anchor-collapse-summary-padding-block:0;--denhaag-anchor-collapse-summary-padding-inline:0;--denhaag-anchor-collapse-content-padding-block-end:0;--denhaag-anchor-collapse-content-padding-block-start:0;--denhaag-anchor-collapse-content-padding-inline-end:0;--denhaag-anchor-collapse-content-padding-inline-start:0;--denhaag-anchor-collapse-summary-color:var(--utrecht-heading-2-color,var(--utrecht-heading-color));--denhaag-anchor-collapse-summary-font-family:var(\n --utrecht-heading-2-font-family,var(--utrecht-heading-font-family,var(--utrecht-document-font-family))\n );--denhaag-anchor-collapse-summary-font-size:var(--utrecht-heading-2-font-size);--denhaag-anchor-collapse-summary-font-weight:var(\n --utrecht-heading-2-font-weight,var(--utrecht-heading-font-weight,bold)\n );--denhaag-anchor-collapse-summary-margin-block-start:var(--utrecht-heading-2-margin-block-start)}.denhaag-anchor-collapse__content{margin-block-start:var(--denhaag-anchor-collapse-content-margin-block-start,.5rem)}}"; | ||
if (typeof document !== 'undefined') { | ||
const head = document.head || document.getElementsByTagName('head')[0]; | ||
@@ -15,2 +17,3 @@ const style = document.createElement('style'); | ||
style.appendChild(document.createTextNode(css_248z)); | ||
} | ||
} | ||
} |
var css_248z = ".denhaag-anchor-collapse{--denhaag-anchor-collapse-content-display:none;--denhaag-anchor-collapse-icon-display:block;--denhaag-anchor-collapse-summary-pointer-events:auto;border-bottom:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color)}.denhaag-anchor-collapse:first-child{border-top:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color)}.denhaag-anchor-collapse--active{--denhaag-anchor-collapse-content-display:block;--denhaag-anchor-collapse-rotate:0deg;--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-active-color)}.denhaag-anchor-collapse__toggle{background-color:transparent;border:0;color:var(--denhaag-anchor-collapse-summary-color);cursor:pointer;font-family:var(--denhaag-anchor-collapse-summary-font-family,inherit);font-size:var(--denhaag-anchor-collapse-summary-font-size,inherit);font-weight:var(--denhaag-anchor-collapse-summary-font-weight,normal);margin-block-start:var(--denhaag-anchor-collapse-summary-margin-block-start,0);padding-block-end:var(--denhaag-anchor-collapse-summary-padding-block);padding-block-start:var(--denhaag-anchor-collapse-summary-padding-block);padding-inline-end:calc(var(--denhaag-anchor-collapse-summary-padding-inline)*2);padding-inline-start:var(--denhaag-anchor-collapse-summary-padding-inline);pointer-events:var(--denhaag-anchor-collapse-summary-pointer-events);text-align:var(--denhaag-anchor-collapse-summary-text-align);width:100%}.denhaag-anchor-collapse__summary{margin-block-end:0;margin-block-start:0;position:relative}.denhaag-anchor-collapse__summary--hover,.denhaag-anchor-collapse__toggle:hover{--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-hover-color)}.denhaag-anchor-collapse__summary--focus,.denhaag-anchor-collapse__toggle:focus-visible{--denhaag-anchor-collapse-summary-color:var(--denhaag-anchor-collapse-summary-focus-color);outline:var(--denhaag-anchor-collapse-summary-focus-outline,var(--denhaag-focus-border))}.denhaag-anchor-collapse__summary>svg{display:var(--denhaag-anchor-collapse-icon-display);position:absolute;right:var(--denhaag-anchor-collapse-summary-padding-inline);top:50%;transform:translate(-50%,-50%) rotate(var(--denhaag-anchor-collapse-rotate))}.denhaag-anchor-collapse__content{border-top:var(--denhaag-anchor-collapse-border-width) var(--denhaag-anchor-collapse-border-style) var(--denhaag-anchor-collapse-border-color);display:var(--denhaag-anchor-collapse-content-display);padding-block-end:var(--denhaag-anchor-collapse-content-padding-block-end,var(--denhaag-anchor-collapse-summary-padding-block));padding-block-start:var(--denhaag-anchor-collapse-content-padding-block-start,var(--denhaag-anchor-collapse-summary-padding-block));padding-inline-end:var(--denhaag-anchor-collapse-content-padding-inline-end,var(--denhaag-anchor-collapse-summary-padding-inline));padding-inline-start:var(--denhaag-anchor-collapse-content-padding-inline-start,var(--denhaag-anchor-collapse-summary-padding-inline))}@media (width >= 768px){.denhaag-anchor-collapse{--denhaag-anchor-collapse-border-color:transparent;--denhaag-anchor-collapse-content-display:block;--denhaag-anchor-collapse-icon-display:none;--denhaag-anchor-collapse-summary-pointer-events:none;--denhaag-anchor-collapse-summary-padding-block:0;--denhaag-anchor-collapse-summary-padding-inline:0;--denhaag-anchor-collapse-content-padding-block-end:0;--denhaag-anchor-collapse-content-padding-block-start:0;--denhaag-anchor-collapse-content-padding-inline-end:0;--denhaag-anchor-collapse-content-padding-inline-start:0;--denhaag-anchor-collapse-summary-color:var(--utrecht-heading-2-color,var(--utrecht-heading-color));--denhaag-anchor-collapse-summary-font-family:var(\n --utrecht-heading-2-font-family,var(--utrecht-heading-font-family,var(--utrecht-document-font-family))\n );--denhaag-anchor-collapse-summary-font-size:var(--utrecht-heading-2-font-size);--denhaag-anchor-collapse-summary-font-weight:var(\n --utrecht-heading-2-font-weight,var(--utrecht-heading-font-weight,bold)\n );--denhaag-anchor-collapse-summary-margin-block-start:var(--utrecht-heading-2-margin-block-start)}.denhaag-anchor-collapse__content{margin-block-start:var(--denhaag-anchor-collapse-content-margin-block-start,.5rem)}}"; | ||
if (typeof document !== 'undefined') { | ||
const head = document.head || document.getElementsByTagName('head')[0]; | ||
@@ -15,2 +17,3 @@ const style = document.createElement('style'); | ||
style.appendChild(document.createTextNode(css_248z)); | ||
} | ||
} | ||
} |
{ | ||
"name": "@gemeente-denhaag/anchor-collapse", | ||
"version": "0.1.1-alpha.245", | ||
"version": "0.1.1-alpha.246", | ||
"description": "An anchor collapse component", | ||
@@ -32,3 +32,3 @@ "bugs": "https://github.com/nl-design-system/denhaag/issues", | ||
}, | ||
"gitHead": "d15e15e52d0f938fc0d5eba0edd451a08ee6db48" | ||
"gitHead": "5dcb45117e560f0d96321a2be259da14b06b14db" | ||
} |
30737
152