@gemeente-denhaag/accordion
Advanced tools
Comparing version 0.2.3-alpha.357 to 0.2.3-alpha.358
@@ -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-accordion{font-family:var(--denhaag-accordion-font-family)}.denhaag-accordion__container{border:var(--denhaag-accordion-container-border);position:var(--denhaag-accordion-container-position)}.denhaag-accordion__container:last-child{border-bottom-left-radius:var(--denhaag-accordion-container-border-radius);border-bottom-right-radius:var(--denhaag-accordion-container-border-radius);border-top:var(--denhaag-accordion-container-border-top)}.denhaag-accordion__container:first-child{--denhaag-accordion-container-border-top:var(--denhaag-accordion-container-border);border-top-left-radius:var(--denhaag-accordion-container-border-radius);border-top-right-radius:var(--denhaag-accordion-container-border-radius)}.denhaag-accordion__container+.denhaag-accordion__container{border-top:var(--denhaag-accordion-container-border-top)}.denhaag-accordion__panel{align-items:var(--denhaag-accordion-panel-align-items);background-color:var(--denhaag-accordion-panel-background-color);border-radius:var(--denhaag-accordion-panel-border-radius);display:var(--denhaag-accordion-panel-display);font-family:inherit;font-size:var(--denhaag-accordion-panel-font-size);font-weight:var(--denhaag-accordion-panel-font-weight,400);margin-block-end:var(--denhaag-accordion-panel-margin-block);margin-block-start:var(--denhaag-accordion-panel-margin-block);min-height:var(--denhaag-accordion-panel-min-height);outline:var(--denhaag-accordion-panel-outline);padding-block-end:var(--denhaag-accordion-panel-padding-block);padding-block-start:var(--denhaag-accordion-panel-padding-block);padding-inline-end:var(--denhaag-accordion-panel-padding-inline);position:inherit;text-decoration:var(--denhaag-accordion-panel-text-decoration);width:inherit}.denhaag-accordion__panel>.denhaag-icon{color:inherit;pointer-events:none;position:var(--denhaag-accordion-icon-position);right:var(--denhaag-accordion-icon-right);top:var(--denhaag-accordion-icon-top);transform:var(--denhaag-accordion-icon-transform)}.denhaag-accordion__title{background:inherit;border:inherit;flex-grow:var(--denhaag-accordion-title-flex-grow);font-family:inherit;font-size:inherit;font-weight:inherit;hyphens:auto;margin-block-end:0;margin-block-start:0;padding-block-end:var(--denhaag-accordion-title-padding-block);padding-block-start:var(--denhaag-accordion-title-padding-block);padding-inline-end:calc(var(--denhaag-accordion-title-padding-inline)*2 + var(--denhaag-accordion-icon-width, 0));padding-inline-start:var(--denhaag-accordion-title-padding-inline);text-align:inherit}.denhaag-accordion__panel--hover .denhaag-accordion__title,.denhaag-accordion__panel--hover .denhaag-icon,.denhaag-accordion__title--focus,.denhaag-accordion__title--focus+.denhaag-icon,.denhaag-accordion__title:focus-visible{color:var(--denhaag-accordion-panel-color);outline:var(--denhaag-accordion-panel-outline)}.denhaag-accordion__container--open .denhaag-accordion__title,.denhaag-accordion__container--open .denhaag-icon{color:inherit}.denhaag-accordion__title--disabled,.denhaag-accordion__title--disabled+.denhaag-icon,.denhaag-accordion__title[disabled],.denhaag-accordion__title[disabled]+.denhaag-icon{z-index:1}.denhaag-accordion__title:focus-visible,.denhaag-accordion__title:focus-visible+.denhaag-icon{color:var(--denhaag-accordion-panel-color);outline:var(--denhaag-accordion-panel-outline)}.denhaag-accordion__container--open .denhaag-accordion__panel--hover .denhaag-accordion__title,.denhaag-accordion__container--open .denhaag-accordion__panel--hover .denhaag-icon,.denhaag-accordion__container--open .denhaag-accordion__panel:hover .denhaag-accordion__title,.denhaag-accordion__container--open .denhaag-accordion__panel:hover .denhaag-icon{color:var(--denhaag-accordion-container-open-color)}.denhaag-accordion__panel:hover .denhaag-accordion__title:not([disabled]),.denhaag-accordion__panel:hover .denhaag-accordion__title:not([disabled])+.denhaag-icon{color:var(--denhaag-accordion-panel-color);outline:var(--denhaag-accordion-panel-outline)}.denhaag-accordion__title--disabled:before,.denhaag-accordion__title[disabled]:before{background-color:var(--denhaag-accordion-title-disabled-background-color);content:\"\";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.denhaag-accordion__title--focus:after,.denhaag-accordion__title:focus-visible:after{border-radius:var(--denhaag-accordion-title-focus-border-radius);content:\"\";height:100%;left:0;outline:var(--denhaag-accordion-title-focus-outline);position:absolute;top:0;width:100%}.denhaag-accordion__container--open{--denhaag-accordion-details-display:var(--denhaag-accordion-details-open-display);--denhaag-accordion-title-color:var(--denhaag-accordion-container-open-title-color);--denhaag-accordion-icon-color:var(--denhaag-accordion-container-open-icon-color);--denhaag-accordion-icon-transform:var(--denhaag-accordion-container-open-icon-transform)}.denhaag-accordion__container--open .denhaag-accordion__panel{--denhaag-accordion-panel-font-weight:var(--denhaag-accordion-container-open-panel-font-weight);color:var(--denhaag-accordion-container-open-panel-color)}.denhaag-accordion__details{display:var(--denhaag-accordion-details-display);margin-inline-end:var(--denhaag-accordion-details-margin-inline-end);padding-block-end:var(--denhaag-accordion-details-padding-block-end);padding-block-start:var(--denhaag-accordion-details-padding-block-start);padding-inline-end:var(--denhaag-accordion-details-padding-inline);padding-inline-start:var(--denhaag-accordion-details-padding-inline)}"; | ||
styleInject(css_248z); |
{ | ||
"name": "@gemeente-denhaag/accordion", | ||
"version": "0.2.3-alpha.357", | ||
"version": "0.2.3-alpha.358", | ||
"description": "An Accordion 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
36534
226