New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@entur/typography

Package Overview
Dependencies
Maintainers
0
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/typography - npm Package Compare versions

Comparing version 1.8.50-alpha.0 to 1.8.50-beta.0

2

dist/BaseHeading.d.ts

@@ -17,3 +17,3 @@ import React from 'react';

export type BaseHeadingProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;
export declare const BaseHeading: <E extends React.ElementType<any> = "h1">({ className, level, margin, as, ...rest }: BaseHeadingProps<E>) => JSX.Element;
export declare const BaseHeading: <E extends React.ElementType = "h1">({ className, level, margin, as, ...rest }: BaseHeadingProps<E>) => JSX.Element;
export {};

@@ -15,3 +15,3 @@ import React from 'react';

declare const defaultElement = "code";
export declare const CodeText: <E extends React.ElementType<any> = "code">({ className, as, ...rest }: CodeTextProps<E>) => JSX.Element;
export declare const CodeText: <E extends React.ElementType = "code">({ className, as, ...rest }: CodeTextProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "em";
export declare const EmphasizedText: <E extends React.ElementType<any> = "em">({ className, margin, as, ...rest }: EmphasizedTextProps<E>) => JSX.Element;
export declare const EmphasizedText: <E extends React.ElementType = "em">({ className, margin, as, ...rest }: EmphasizedTextProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

export type Heading1Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading1OwnProps>;
export declare const Heading1: <E extends React.ElementType<any> = "h1">({ margin, children, as, ...rest }: Heading1Props<E>) => JSX.Element;
export declare const Heading1: <E extends React.ElementType = "h1">({ margin, children, as, ...rest }: Heading1Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "h2";
export declare const Heading2: <E extends React.ElementType<any> = "h2">({ margin, children, as, ...rest }: Heading2Props<E>) => JSX.Element;
export declare const Heading2: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: Heading2Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "h3";
export declare const Heading3: <E extends React.ElementType<any> = "h3">({ margin, children, as, ...rest }: Heading3Props<E>) => JSX.Element;
export declare const Heading3: <E extends React.ElementType = "h3">({ margin, children, as, ...rest }: Heading3Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "h4";
export declare const Heading4: <E extends React.ElementType<any> = "h4">({ margin, children, as, ...rest }: Heading4Props<E>) => JSX.Element;
export declare const Heading4: <E extends React.ElementType = "h4">({ margin, children, as, ...rest }: Heading4Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "h5";
export declare const Heading5: <E extends React.ElementType<any> = "h5">({ margin, children, as, ...rest }: Heading5Props<E>) => JSX.Element;
export declare const Heading5: <E extends React.ElementType = "h5">({ margin, children, as, ...rest }: Heading5Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "h6";
export declare const Heading6: <E extends React.ElementType<any> = "h6">({ margin, children, as, ...rest }: Heading6Props<E>) => JSX.Element;
export declare const Heading6: <E extends React.ElementType = "h6">({ margin, children, as, ...rest }: Heading6Props<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "label";
export declare const Label: <E extends React.ElementType<any> = "label">({ className, margin, as, ...rest }: LabelProps<E>) => JSX.Element;
export declare const Label: <E extends React.ElementType = "label">({ className, margin, as, ...rest }: LabelProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "p";
export declare const LeadParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: LeadParagraphProps<E>) => JSX.Element;
export declare const LeadParagraph: <E extends React.ElementType = "p">({ className, margin, as, ...rest }: LeadParagraphProps<E>) => JSX.Element;
export {};

@@ -21,3 +21,3 @@ import React from 'react';

declare const defaultElement = "a";
export declare const Link: <E extends React.ElementType<any> = "a">({ external, ariaLabelExternalIcon, className, margin, children, as, ...rest }: LinkProps<E>) => JSX.Element;
export declare const Link: <E extends React.ElementType = "a">({ external, ariaLabelExternalIcon, className, margin, children, as, ...rest }: LinkProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "p";
export declare const Paragraph: <E extends React.ElementType<any> = "p">({ margin, className, as, ...rest }: ParagraphProps<E>) => JSX.Element;
export declare const Paragraph: <E extends React.ElementType = "p">({ margin, className, as, ...rest }: ParagraphProps<E>) => JSX.Element;
export {};

@@ -14,2 +14,4 @@ import React from 'react';

export type PreformattedTextProps<T extends React.ElementType> = PolymorphicComponentProps<T, PreformattedTextOwnProps>;
export declare const PreformattedText: <E extends React.ElementType<any> = "pre">({ className, as, ...rest }: PreformattedTextProps<E>) => JSX.Element;
declare const defaultElement = "pre";
export declare const PreformattedText: <E extends React.ElementType = "pre">({ className, as, ...rest }: PreformattedTextProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "span";
export declare const SmallText: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
export declare const SmallText: <E extends React.ElementType = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "strong";
export declare const StrongText: <E extends React.ElementType<any> = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
export declare const StrongText: <E extends React.ElementType = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "span";
export declare const SubLabel: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
export declare const SubLabel: <E extends React.ElementType = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

declare const defaultElement = "p";
export declare const SubParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
export declare const SubParagraph: <E extends React.ElementType = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
export {};

@@ -11,26 +11,18 @@ 'use strict';

function _extends() {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
return _extends = Object.assign ? Object.assign.bind() : function (n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
return target;
};
return _extends.apply(this, arguments);
return n;
}, _extends.apply(null, arguments);
}
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
function _objectWithoutPropertiesLoose(r, e) {
if (null == r) return {};
var t = {};
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
if (e.includes(n)) continue;
t[n] = r[n];
}
return target;
return t;
}

@@ -37,0 +29,0 @@

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@entur/utils"),a=require("react"),t=require("classnames"),r=require("@entur/icons");function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},n.apply(this,arguments)}function s(e,a){if(null==e)return{};var t,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)a.indexOf(t=s[r])>=0||(n[t]=e[t]);return n}var o=["className","ref"],l=["className"],m=["className","as"],i=["className","margin","as"],c=["className","level","margin","as"],d=function(e){var r,o=e.className,l=e.level,m=e.margin,i=e.as,d=s(e,c),g="eds-h"+l;return a.createElement(i||"h1",n({className:t(g,(r={},r[g+"--margin-top"]="top"===m,r[g+"--margin-bottom"]="bottom"===m,r[g+"--margin-none"]="none"===m,r),o)},d))},g=["margin","children","as"],p=["margin","children","as"],u=["margin","children","as"],b=["margin","children","as"],h=["margin","children","as"],v=["margin","children","as"],N=["className","margin","as"],x=["className","margin","as"],f=["external","ariaLabelExternalIcon","className","margin","children","as"],E=["className","margin","as"],k=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,E);return a.createElement(i||"strong",n({className:t("eds-strong-text",(r={},r["eds-strong-text--margin-top"]="top"===m,r["eds-strong-text--margin-bottom"]="bottom"===m,r["eds-strong-text--margin-none"]="none"===m,r),o)},c))},y=["children","className","title"],q=["className","type"],L=["margin","className","as"],O=["className","as"],H=["className","margin","as"],P=["className","margin","as"],_=["className","margin","as"],j=["className"];e.warnAboutMissingStyles("typography"),exports.Blockquote=function(e){var r=e.className,l=e.ref,m=s(e,o);return a.createElement("blockquote",n({className:t("eds-blockquote",r),ref:l},m))},exports.BlockquoteFooter=function(e){var r=e.className,o=s(e,l);return a.createElement("footer",n({className:t("eds-blockquote__footer",r)},o))},exports.CodeText=function(e){var r=e.className,o=e.as,l=s(e,m);return a.createElement(o||"code",n({className:t("eds-code-text",r)},l))},exports.EmphasizedText=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,c=e.as,d=s(e,i);return a.createElement(c||"em",n({className:t("eds-emphasized-text",(r={},r["eds-emphasized-text--margin-top"]="top"===m,r["eds-emphasized-text--margin-bottom"]="bottom"===m,r["eds-emphasized-text--margin-none"]="none"===m,r),o)},d))},exports.Heading1=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,g);return a.createElement(d,n({as:l||"h1",margin:r},m,{level:1}),o)},exports.Heading2=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,p);return a.createElement(d,n({as:l||"h2",margin:r},m,{level:2}),o)},exports.Heading3=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,u);return a.createElement(d,n({as:l||"h3",margin:r},m,{level:3}),o)},exports.Heading4=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,b);return a.createElement(d,n({as:l||"h4",margin:r},m,{level:4}),o)},exports.Heading5=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,h);return a.createElement(d,n({as:l||"h5",margin:r},m,{level:5}),o)},exports.Heading6=function(e){var t=e.margin,r=void 0===t?"both":t,o=e.children,l=e.as,m=s(e,v);return a.createElement(d,n({as:l||"h6",margin:r},m,{level:6}),o)},exports.Label=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,N);return a.createElement(i||"label",n({className:t("eds-label",(r={},r["eds-label--margin-top"]="top"===m,r["eds-label--margin-bottom"]="bottom"===m,r["eds-label--margin-none"]="none"===m,r),o)},c))},exports.LeadParagraph=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,x);return a.createElement(i||"p",n({className:t("eds-lead-paragraph",(r={},r["eds-lead-paragraph--margin-top"]="top"===m,r["eds-lead-paragraph--margin-bottom"]="bottom"===m,r["eds-lead-paragraph--margin-none"]="none"===m,r),o)},c))},exports.Link=function(e){var o,l=e.external,m=void 0!==l&&l,i=e.ariaLabelExternalIcon,c=void 0===i?"(ekstern lenke)":i,d=e.className,g=e.margin,p=void 0===g?"both":g,u=e.children,b=e.as,h=s(e,f);return a.createElement(b||"a",n({className:t("eds-link",(o={},o["eds-link--margin-top"]="top"===p,o["eds-link--margin-bottom"]="bottom"===p,o["eds-link--margin-none"]="none"===p,o),d)},h),u,m?a.createElement(r.ExternalIcon,{className:"eds-link--ext-icon","aria-label":c}):a.createElement(a.Fragment,null))},exports.ListItem=function(e){var r=e.children,o=e.className,l=e.title,m=s(e,y);return a.createElement("li",n({className:t("eds-list-item",o)},m),l&&a.createElement(k,{className:"eds-list-item__title"},l),r)},exports.NumberedList=function(e){var r,o=e.className,l=e.type,m=void 0===l?"1":l,i=s(e,q);return a.createElement("ol",n({className:t("eds-numbered-list",(r={},r["eds-numbered-list--type-"+m]=m,r),o),type:m},i))},exports.Paragraph=function(e){var r=e.margin,o=void 0===r?"bottom":r,l=e.className,m=e.as,i=s(e,L);return a.createElement(m||"p",n({className:t("eds-paragraph",{"eds-paragraph--margin-bottom":"bottom"===o,"eds-paragraph--margin-none":"none"===o},l)},i))},exports.PreformattedText=function(e){var r=e.className,o=e.as,l=s(e,O);return a.createElement(o||"pre",n({className:t("eds-preformatted-text",r)},l))},exports.SmallText=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,H);return a.createElement(i||"span",n({className:t("eds-small-text",(r={},r["eds-small-text--margin-top"]="top"===m,r["eds-small-text--margin-bottom"]="bottom"===m,r["eds-small-text--margin-none"]="none"===m,r),o)},c))},exports.StrongText=k,exports.SubLabel=function(e){var r,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,P);return a.createElement(i||"span",n({className:t("eds-sub-label",(r={},r["eds-sub-label--margin-top"]="top"===m,r["eds-sub-label--margin-bottom"]="bottom"===m,r["eds-sub-label--margin-none"]="none"===m,r),o)},c))},exports.SubParagraph=function(e){var r,o=e.className,l=e.margin,m=e.as,i=s(e,_);return a.createElement(m||"p",n({className:t("eds-sub-paragraph",(r={},r["eds-sub-paragraph--margin-top"]="top"===l,r["eds-sub-paragraph--margin-bottom"]="bottom"===l,r["eds-sub-paragraph--margin-none"]="none"===l,r),o)},i))},exports.UnorderedList=function(e){var r=e.className,o=s(e,j);return a.createElement("ul",n({className:t("eds-unordered-list",r)},o))};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@entur/utils"),a=require("react"),r=require("classnames"),t=require("@entur/icons");function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var t in r)({}).hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},n.apply(null,arguments)}function s(e,a){if(null==e)return{};var r={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(a.includes(t))continue;r[t]=e[t]}return r}var o=["className","ref"],l=["className"],m=["className","as"],i=["className","margin","as"],c=["className","level","margin","as"],d=function(e){var t,o=e.className,l=e.level,m=e.margin,i=e.as,d=s(e,c),g="eds-h"+l;return a.createElement(i||"h1",n({className:r(g,(t={},t[g+"--margin-top"]="top"===m,t[g+"--margin-bottom"]="bottom"===m,t[g+"--margin-none"]="none"===m,t),o)},d))},g=["margin","children","as"],p=["margin","children","as"],u=["margin","children","as"],b=["margin","children","as"],h=["margin","children","as"],v=["margin","children","as"],N=["className","margin","as"],x=["className","margin","as"],f=["external","ariaLabelExternalIcon","className","margin","children","as"],E=["className","margin","as"],k=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,E);return a.createElement(i||"strong",n({className:r("eds-strong-text",(t={},t["eds-strong-text--margin-top"]="top"===m,t["eds-strong-text--margin-bottom"]="bottom"===m,t["eds-strong-text--margin-none"]="none"===m,t),o)},c))},y=["children","className","title"],q=["className","type"],L=["margin","className","as"],P=["className","as"],H=["className","margin","as"],_=["className","margin","as"],z=["className","margin","as"],O=["className"];e.warnAboutMissingStyles("typography"),exports.Blockquote=function(e){var t=e.className,l=e.ref,m=s(e,o);return a.createElement("blockquote",n({className:r("eds-blockquote",t),ref:l},m))},exports.BlockquoteFooter=function(e){var t=e.className,o=s(e,l);return a.createElement("footer",n({className:r("eds-blockquote__footer",t)},o))},exports.CodeText=function(e){var t=e.className,o=e.as,l=s(e,m);return a.createElement(o||"code",n({className:r("eds-code-text",t)},l))},exports.EmphasizedText=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,c=e.as,d=s(e,i);return a.createElement(c||"em",n({className:r("eds-emphasized-text",(t={},t["eds-emphasized-text--margin-top"]="top"===m,t["eds-emphasized-text--margin-bottom"]="bottom"===m,t["eds-emphasized-text--margin-none"]="none"===m,t),o)},d))},exports.Heading1=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,g);return a.createElement(d,n({as:l||"h1",margin:t},m,{level:1}),o)},exports.Heading2=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,p);return a.createElement(d,n({as:l||"h2",margin:t},m,{level:2}),o)},exports.Heading3=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,u);return a.createElement(d,n({as:l||"h3",margin:t},m,{level:3}),o)},exports.Heading4=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,b);return a.createElement(d,n({as:l||"h4",margin:t},m,{level:4}),o)},exports.Heading5=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,h);return a.createElement(d,n({as:l||"h5",margin:t},m,{level:5}),o)},exports.Heading6=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,v);return a.createElement(d,n({as:l||"h6",margin:t},m,{level:6}),o)},exports.Label=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,N);return a.createElement(i||"label",n({className:r("eds-label",(t={},t["eds-label--margin-top"]="top"===m,t["eds-label--margin-bottom"]="bottom"===m,t["eds-label--margin-none"]="none"===m,t),o)},c))},exports.LeadParagraph=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,x);return a.createElement(i||"p",n({className:r("eds-lead-paragraph",(t={},t["eds-lead-paragraph--margin-top"]="top"===m,t["eds-lead-paragraph--margin-bottom"]="bottom"===m,t["eds-lead-paragraph--margin-none"]="none"===m,t),o)},c))},exports.Link=function(e){var o,l=e.external,m=void 0!==l&&l,i=e.ariaLabelExternalIcon,c=void 0===i?"(ekstern lenke)":i,d=e.className,g=e.margin,p=void 0===g?"both":g,u=e.children,b=e.as,h=s(e,f);return a.createElement(b||"a",n({className:r("eds-link",(o={},o["eds-link--margin-top"]="top"===p,o["eds-link--margin-bottom"]="bottom"===p,o["eds-link--margin-none"]="none"===p,o),d)},h),u,m?a.createElement(t.ExternalIcon,{className:"eds-link--ext-icon","aria-label":c}):a.createElement(a.Fragment,null))},exports.ListItem=function(e){var t=e.children,o=e.className,l=e.title,m=s(e,y);return a.createElement("li",n({className:r("eds-list-item",o)},m),l&&a.createElement(k,{className:"eds-list-item__title"},l),t)},exports.NumberedList=function(e){var t,o=e.className,l=e.type,m=void 0===l?"1":l,i=s(e,q);return a.createElement("ol",n({className:r("eds-numbered-list",(t={},t["eds-numbered-list--type-"+m]=m,t),o),type:m},i))},exports.Paragraph=function(e){var t=e.margin,o=void 0===t?"bottom":t,l=e.className,m=e.as,i=s(e,L);return a.createElement(m||"p",n({className:r("eds-paragraph",{"eds-paragraph--margin-bottom":"bottom"===o,"eds-paragraph--margin-none":"none"===o},l)},i))},exports.PreformattedText=function(e){var t=e.className,o=e.as,l=s(e,P);return a.createElement(o||"pre",n({className:r("eds-preformatted-text",t)},l))},exports.SmallText=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,H);return a.createElement(i||"span",n({className:r("eds-small-text",(t={},t["eds-small-text--margin-top"]="top"===m,t["eds-small-text--margin-bottom"]="bottom"===m,t["eds-small-text--margin-none"]="none"===m,t),o)},c))},exports.StrongText=k,exports.SubLabel=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,_);return a.createElement(i||"span",n({className:r("eds-sub-label",(t={},t["eds-sub-label--margin-top"]="top"===m,t["eds-sub-label--margin-bottom"]="bottom"===m,t["eds-sub-label--margin-none"]="none"===m,t),o)},c))},exports.SubParagraph=function(e){var t,o=e.className,l=e.margin,m=e.as,i=s(e,z);return a.createElement(m||"p",n({className:r("eds-sub-paragraph",(t={},t["eds-sub-paragraph--margin-top"]="top"===l,t["eds-sub-paragraph--margin-bottom"]="bottom"===l,t["eds-sub-paragraph--margin-none"]="none"===l,t),o)},i))},exports.UnorderedList=function(e){var t=e.className,o=s(e,O);return a.createElement("ul",n({className:r("eds-unordered-list",t)},o))};
//# sourceMappingURL=typography.cjs.production.min.js.map

@@ -7,26 +7,18 @@ import { warnAboutMissingStyles } from '@entur/utils';

function _extends() {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
return _extends = Object.assign ? Object.assign.bind() : function (n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
return target;
};
return _extends.apply(this, arguments);
return n;
}, _extends.apply(null, arguments);
}
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
function _objectWithoutPropertiesLoose(r, e) {
if (null == r) return {};
var t = {};
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
if (e.includes(n)) continue;
t[n] = r[n];
}
return target;
return t;
}

@@ -33,0 +25,0 @@

{
"name": "@entur/typography",
"version": "1.8.50-alpha.0",
"version": "1.8.50-beta.0",
"license": "SEE LICENSE IN README.md",

@@ -30,9 +30,12 @@ "main": "dist/index.js",

"dependencies": {
"@entur/icons": "^7.5.0",
"@entur/tokens": "^3.17.3",
"@entur/utils": "^1.0.0-alpha.0",
"@entur/icons": "^7.5.1-beta.0",
"@entur/tokens": "^3.17.4-beta.0",
"@entur/utils": "^0.12.2-beta.0",
"classnames": "^2.3.1",
"normalize-scss": "^7.0.1"
"normalize-scss": "^8.0.0"
},
"gitHead": "b653c119e54372ec210ed20aa99ded642f114c69"
"devDependencies": {
"dts-cli": "2.0.5"
},
"gitHead": "b213fa4fd10a1a07abada3fa987b7ee2ed110ac2"
}

@@ -9,3 +9,3 @@ # Typography

> 💡 Looking for the [documentation](https://design.entur.no/komponenter/resources/typography)?
> 💡 Looking for the [documentation](https://design.entur.no/komponenter/ressurser/typography)?

@@ -22,3 +22,3 @@ ## Installation

Please refer to the [documentation](https://design.entur.no/komponenter/resources/typography) for usage information.
Please refer to the [documentation](https://design.entur.no/komponenter/ressurser/typography) for usage information.

@@ -25,0 +25,0 @@ ## Licenses

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc