@gemeente-denhaag/anchor-collapse
Advanced tools
Comparing version 0.1.1-alpha.217 to 0.1.1-alpha.218
@@ -1,1 +0,27 @@ | ||
'use strict'; | ||
'use strict';function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
}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)}}"; | ||
styleInject(css_248z); |
{ | ||
"name": "@gemeente-denhaag/anchor-collapse", | ||
"version": "0.1.1-alpha.217", | ||
"version": "0.1.1-alpha.218", | ||
"description": "An anchor collapse component", | ||
@@ -29,5 +29,6 @@ "bugs": "https://github.com/nl-design-system/denhaag/issues", | ||
"build": "rollup -c ../../rollup.config.mjs", | ||
"clean": "rimraf dist tsconfig.tsbuildinfo" | ||
"clean": "rimraf dist tsconfig.tsbuildinfo", | ||
"watch:components": "chokidar --silent --follow-symlinks \"src/**/*\" -c \"pnpm run build\"" | ||
}, | ||
"gitHead": "b3b390c174202f681ff4070c671c7b5a85041270" | ||
"gitHead": "643bf10c93681ac6e00bdbcb22e2dd8cbc294cdc" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30995
168