@gemeente-denhaag/link
Advanced tools
Comparing version 0.2.3-alpha.385 to 0.2.3-alpha.386
@@ -48,2 +48,4 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var React=require('react');/****************************************************************************** | ||
};function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}var css_248z = ".denhaag-link{color:var(--denhaag-link-color);cursor:var(--denhaag-link-cursor,pointer);font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding-inline-end:var(--denhaag-link-padding-inline-end,0);padding-inline-start:var(--denhaag-link-padding-inline-start,0);position:relative;text-decoration:var(--denhaag-link-text-decoration)}.denhaag-link--with-icon{align-items:center;display:inline-flex;gap:var(--denhaag-link-icon-gap);text-decoration:none;vertical-align:var(--denhaag-link-with-icon-vertical-align,baseline)}.denhaag-link--with-small-icon{--denhaag-link-icon-font-size:var(--denhaag-link-small-icon-font-size);--denhaag-link-icon-size:var(--denhaag-link-small-icon-size)}.denhaag-link--with-icon-start{--denhaag-link-icon-order:0;--denhaag-link-padding-inline-start:0}.denhaag-link--external,.denhaag-link--focus,.denhaag-link--hover,.denhaag-link:focus-visible,.denhaag-link:hover{text-decoration:var(--denhaag-link-text-decoration)}.denhaag-link--with-icon-end{--denhaag-link-icon-order:2;--denhaag-link-padding-inline-end:0}.denhaag-link--external{--denhaag-link-icon-align:var(--denhaag-link-external-icon-align)}.denhaag-link--focus,.denhaag-link:focus-visible{--denhaag-link-color:var(--denhaag-link-focus-color);outline:var(--denhaag-link-focus-outline)}.denhaag-link--hover,.denhaag-link:hover{--denhaag-link-color:var(--denhaag-link-hover-color);--denhaag-link-cursor:pointer}.denhaag-link--disabled,.denhaag-link--disabled--hover,.denhaag-link--disabled:hover{--denhaag-link-color:var(--denhaag-link-disabled-color);--denhaag-link-cursor:none;pointer-events:none}.denhaag-link__icon{align-items:var(--denhaag-link-icon-align);display:inline-flex;height:var(--denhaag-link-icon-size);justify-content:center;order:var(--denhaag-link-icon-order,0);position:relative;vertical-align:text-top;width:var(--denhaag-link-icon-size)}li .denhaag-link__icon{align-self:start;flex:1 0 auto}.denhaag-link__icon>:first-child{aspect-ratio:1/1;font-size:var(--denhaag-link-icon-font-size);height:var(--denhaag-link-icon-size);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:var(--denhaag-link-icon-size)}.denhaag-link__sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin-block-end:-1px;margin-block-start:-1px;margin-inline-end:-1px;margin-inline-start:-1px;overflow:hidden;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;position:absolute;width:1px}"; | ||
if (typeof document !== 'undefined') { | ||
const head = document.head || document.getElementsByTagName('head')[0]; | ||
@@ -62,3 +64,4 @@ const style = document.createElement('style'); | ||
style.appendChild(document.createTextNode(css_248z)); | ||
}var Link = function (_a) { | ||
} | ||
}var Link = function (_a) { | ||
var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.icon, icon = _c === void 0 ? undefined : _c, _d = _a.iconAlign, iconAlign = _d === void 0 ? 'end' : _d, _e = _a.tabIndex, tabIndex = _e === void 0 ? 0 : _e, children = _a.children, _f = _a.Link, Link = _f === void 0 ? BasicLink : _f, props = __rest(_a, ["disabled", "icon", "iconAlign", "tabIndex", "children", "Link"]); | ||
@@ -65,0 +68,0 @@ var rootClassNames = clsx('denhaag-link', { |
@@ -48,2 +48,4 @@ import React from'react';/****************************************************************************** | ||
};function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}var css_248z = ".denhaag-link{color:var(--denhaag-link-color);cursor:var(--denhaag-link-cursor,pointer);font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding-inline-end:var(--denhaag-link-padding-inline-end,0);padding-inline-start:var(--denhaag-link-padding-inline-start,0);position:relative;text-decoration:var(--denhaag-link-text-decoration)}.denhaag-link--with-icon{align-items:center;display:inline-flex;gap:var(--denhaag-link-icon-gap);text-decoration:none;vertical-align:var(--denhaag-link-with-icon-vertical-align,baseline)}.denhaag-link--with-small-icon{--denhaag-link-icon-font-size:var(--denhaag-link-small-icon-font-size);--denhaag-link-icon-size:var(--denhaag-link-small-icon-size)}.denhaag-link--with-icon-start{--denhaag-link-icon-order:0;--denhaag-link-padding-inline-start:0}.denhaag-link--external,.denhaag-link--focus,.denhaag-link--hover,.denhaag-link:focus-visible,.denhaag-link:hover{text-decoration:var(--denhaag-link-text-decoration)}.denhaag-link--with-icon-end{--denhaag-link-icon-order:2;--denhaag-link-padding-inline-end:0}.denhaag-link--external{--denhaag-link-icon-align:var(--denhaag-link-external-icon-align)}.denhaag-link--focus,.denhaag-link:focus-visible{--denhaag-link-color:var(--denhaag-link-focus-color);outline:var(--denhaag-link-focus-outline)}.denhaag-link--hover,.denhaag-link:hover{--denhaag-link-color:var(--denhaag-link-hover-color);--denhaag-link-cursor:pointer}.denhaag-link--disabled,.denhaag-link--disabled--hover,.denhaag-link--disabled:hover{--denhaag-link-color:var(--denhaag-link-disabled-color);--denhaag-link-cursor:none;pointer-events:none}.denhaag-link__icon{align-items:var(--denhaag-link-icon-align);display:inline-flex;height:var(--denhaag-link-icon-size);justify-content:center;order:var(--denhaag-link-icon-order,0);position:relative;vertical-align:text-top;width:var(--denhaag-link-icon-size)}li .denhaag-link__icon{align-self:start;flex:1 0 auto}.denhaag-link__icon>:first-child{aspect-ratio:1/1;font-size:var(--denhaag-link-icon-font-size);height:var(--denhaag-link-icon-size);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:var(--denhaag-link-icon-size)}.denhaag-link__sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin-block-end:-1px;margin-block-start:-1px;margin-inline-end:-1px;margin-inline-start:-1px;overflow:hidden;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;position:absolute;width:1px}"; | ||
if (typeof document !== 'undefined') { | ||
const head = document.head || document.getElementsByTagName('head')[0]; | ||
@@ -62,3 +64,4 @@ const style = document.createElement('style'); | ||
style.appendChild(document.createTextNode(css_248z)); | ||
}var Link = function (_a) { | ||
} | ||
}var Link = function (_a) { | ||
var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.icon, icon = _c === void 0 ? undefined : _c, _d = _a.iconAlign, iconAlign = _d === void 0 ? 'end' : _d, _e = _a.tabIndex, tabIndex = _e === void 0 ? 0 : _e, children = _a.children, _f = _a.Link, Link = _f === void 0 ? BasicLink : _f, props = __rest(_a, ["disabled", "icon", "iconAlign", "tabIndex", "children", "Link"]); | ||
@@ -65,0 +68,0 @@ var rootClassNames = clsx('denhaag-link', { |
{ | ||
"name": "@gemeente-denhaag/link", | ||
"version": "0.2.3-alpha.385", | ||
"version": "0.2.3-alpha.386", | ||
"description": "A Link component", | ||
@@ -33,3 +33,3 @@ "bugs": "https://github.com/nl-design-system/denhaag/issues", | ||
"dependencies": { | ||
"@gemeente-denhaag/icons": "0.2.3-alpha.385" | ||
"@gemeente-denhaag/icons": "0.2.3-alpha.386" | ||
}, | ||
@@ -39,3 +39,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "d15e15e52d0f938fc0d5eba0edd451a08ee6db48" | ||
"gitHead": "5dcb45117e560f0d96321a2be259da14b06b14db" | ||
} |
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
36377
285
+ Added@gemeente-denhaag/icons@0.2.3-alpha.386(transitive)
- Removed@gemeente-denhaag/icons@0.2.3-alpha.385(transitive)