Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highlight-ui/typography

Package Overview
Dependencies
Maintainers
10
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-ui/typography - npm Package Compare versions

Comparing version 6.2.13 to 6.3.0-r18.0

122

dist/cjs/index.js

@@ -67,22 +67,22 @@ 'use strict';

var styles$1 = {
"heading-xsmall": "TokenisedTypography-module__onwaDh1v__v6-2-13",
"heading-small": "TokenisedTypography-module__EzGiEkH0__v6-2-13",
"heading-medium": "TokenisedTypography-module__aJ6ON-c9__v6-2-13",
"heading-large": "TokenisedTypography-module__OdqVI7Gq__v6-2-13",
"heading-xlarge": "TokenisedTypography-module__sKayCNWr__v6-2-13",
"heading-2xl": "TokenisedTypography-module__tdP9nm1h__v6-2-13",
"body-small": "TokenisedTypography-module__5SGkIeIV__v6-2-13",
"body-base": "TokenisedTypography-module__33RfT-o2__v6-2-13",
"body-large": "TokenisedTypography-module__6qCKH0-X__v6-2-13",
"body-strong-small": "TokenisedTypography-module__JhRHUPNe__v6-2-13",
"body-strong-base": "TokenisedTypography-module__4m-jV2Cj__v6-2-13",
"body-strong-large": "TokenisedTypography-module__mDM8xaOH__v6-2-13",
"page-heading": "TokenisedTypography-module__vfaNn-y6__v6-2-13",
"button": "TokenisedTypography-module__06-oo8NN__v6-2-13",
"form-label": "TokenisedTypography-module__WLEBFNws__v6-2-13",
"caption": "TokenisedTypography-module__eXnfr---__v6-2-13",
"text-link-default": "TokenisedTypography-module__SY0XbgdQ__v6-2-13",
"text-link-hover": "TokenisedTypography-module__iyPbDdvh__v6-2-13",
"table-data-regular": "TokenisedTypography-module__cEJrzxvS__v6-2-13",
"table-data-bold": "TokenisedTypography-module__hsz-gpO6__v6-2-13"
"heading-xsmall": "TokenisedTypography-module__onwaDh1v__v6-3-0-r18-0",
"heading-small": "TokenisedTypography-module__EzGiEkH0__v6-3-0-r18-0",
"heading-medium": "TokenisedTypography-module__aJ6ON-c9__v6-3-0-r18-0",
"heading-large": "TokenisedTypography-module__OdqVI7Gq__v6-3-0-r18-0",
"heading-xlarge": "TokenisedTypography-module__sKayCNWr__v6-3-0-r18-0",
"heading-2xl": "TokenisedTypography-module__tdP9nm1h__v6-3-0-r18-0",
"body-small": "TokenisedTypography-module__5SGkIeIV__v6-3-0-r18-0",
"body-base": "TokenisedTypography-module__33RfT-o2__v6-3-0-r18-0",
"body-large": "TokenisedTypography-module__6qCKH0-X__v6-3-0-r18-0",
"body-strong-small": "TokenisedTypography-module__JhRHUPNe__v6-3-0-r18-0",
"body-strong-base": "TokenisedTypography-module__4m-jV2Cj__v6-3-0-r18-0",
"body-strong-large": "TokenisedTypography-module__mDM8xaOH__v6-3-0-r18-0",
"page-heading": "TokenisedTypography-module__vfaNn-y6__v6-3-0-r18-0",
"button": "TokenisedTypography-module__06-oo8NN__v6-3-0-r18-0",
"form-label": "TokenisedTypography-module__WLEBFNws__v6-3-0-r18-0",
"caption": "TokenisedTypography-module__eXnfr---__v6-3-0-r18-0",
"text-link-default": "TokenisedTypography-module__SY0XbgdQ__v6-3-0-r18-0",
"text-link-hover": "TokenisedTypography-module__iyPbDdvh__v6-3-0-r18-0",
"table-data-regular": "TokenisedTypography-module__cEJrzxvS__v6-3-0-r18-0",
"table-data-bold": "TokenisedTypography-module__hsz-gpO6__v6-3-0-r18-0"
};

@@ -187,41 +187,41 @@ var TokenisedTypographyWithRef = function (_a, ref) {

var styles = {
"truncate": "BaseTypography-module__gDqXh7PB__v6-2-13",
"font-family-default": "BaseTypography-module__NmOUTvM0__v6-2-13",
"font-family-mono": "BaseTypography-module__po5OsKvS__v6-2-13",
"font-family-icon": "BaseTypography-module__dqFq7Ex4__v6-2-13",
"font-size-xsmall": "BaseTypography-module__C-LvOSG6__v6-2-13",
"font-size-small": "BaseTypography-module__J3YrpXUR__v6-2-13",
"font-size-base": "BaseTypography-module__8AgIdCaP__v6-2-13",
"font-size-large": "BaseTypography-module__l9zhB-Zw__v6-2-13",
"font-size-xlarge": "BaseTypography-module__ZA4BOkms__v6-2-13",
"font-size-2xl": "BaseTypography-module__WLdubQwo__v6-2-13",
"font-size-3xl": "BaseTypography-module__HeXVoMo-__v6-2-13",
"font-weight-regular": "BaseTypography-module__yf4pXXyL__v6-2-13",
"font-weight-semi-bold": "BaseTypography-module__05CxVvXB__v6-2-13",
"font-weight-bold": "BaseTypography-module__M9m6ZH--__v6-2-13",
"letter-spacing-base": "BaseTypography-module__SU2CO98j__v6-2-13",
"line-height-base": "BaseTypography-module__C4ENtalM__v6-2-13",
"line-height-large": "BaseTypography-module__6HvLgJ81__v6-2-13",
"line-height-xlarge": "BaseTypography-module__Rgd21ujg__v6-2-13",
"text-decoration-none": "BaseTypography-module__GSBUAW-e__v6-2-13",
"text-decoration-underline": "BaseTypography-module__EhGtBpHg__v6-2-13",
"text-case-none": "BaseTypography-module__4cilEc6K__v6-2-13",
"text-case-uppercase": "BaseTypography-module__615YmmQJ__v6-2-13",
"color-text-default": "BaseTypography-module__R2VZGFXf__v6-2-13",
"color-text-subdued": "BaseTypography-module__hMy86pq9__v6-2-13",
"color-text-hover": "BaseTypography-module__TTgrEHET__v6-2-13",
"color-text-disabled": "BaseTypography-module__-JmQP03c__v6-2-13",
"color-text-hint-text": "BaseTypography-module__6UJA7Uou__v6-2-13",
"color-text-on-primary": "BaseTypography-module__pAq7CRL3__v6-2-13",
"color-text-on-emphasis": "BaseTypography-module__AAWdp88x__v6-2-13",
"color-text-on-secondary": "BaseTypography-module__MK-EpEz5__v6-2-13",
"color-text-on-secondary-disabled": "BaseTypography-module__Zl6pJmtZ__v6-2-13",
"color-text-on-action-critical": "BaseTypography-module__2nncY0zu__v6-2-13",
"color-text-on-action-success": "BaseTypography-module__1nLJo2nO__v6-2-13",
"color-text-on-interactive": "BaseTypography-module__hz7awz-q__v6-2-13",
"color-text-on-interactive-subdued": "BaseTypography-module__cNLOfx9F__v6-2-13",
"color-text-on-background-warning": "BaseTypography-module__sGgr2ezo__v6-2-13",
"color-text-on-background-critical": "BaseTypography-module__UKmQ8dx7__v6-2-13",
"color-text-on-background-success": "BaseTypography-module__YIv-E-Qk__v6-2-13",
"typographyReset": "BaseTypography-module__JG0dB-pS__v6-2-13"
"truncate": "BaseTypography-module__gDqXh7PB__v6-3-0-r18-0",
"font-family-default": "BaseTypography-module__NmOUTvM0__v6-3-0-r18-0",
"font-family-mono": "BaseTypography-module__po5OsKvS__v6-3-0-r18-0",
"font-family-icon": "BaseTypography-module__dqFq7Ex4__v6-3-0-r18-0",
"font-size-xsmall": "BaseTypography-module__C-LvOSG6__v6-3-0-r18-0",
"font-size-small": "BaseTypography-module__J3YrpXUR__v6-3-0-r18-0",
"font-size-base": "BaseTypography-module__8AgIdCaP__v6-3-0-r18-0",
"font-size-large": "BaseTypography-module__l9zhB-Zw__v6-3-0-r18-0",
"font-size-xlarge": "BaseTypography-module__ZA4BOkms__v6-3-0-r18-0",
"font-size-2xl": "BaseTypography-module__WLdubQwo__v6-3-0-r18-0",
"font-size-3xl": "BaseTypography-module__HeXVoMo-__v6-3-0-r18-0",
"font-weight-regular": "BaseTypography-module__yf4pXXyL__v6-3-0-r18-0",
"font-weight-semi-bold": "BaseTypography-module__05CxVvXB__v6-3-0-r18-0",
"font-weight-bold": "BaseTypography-module__M9m6ZH--__v6-3-0-r18-0",
"letter-spacing-base": "BaseTypography-module__SU2CO98j__v6-3-0-r18-0",
"line-height-base": "BaseTypography-module__C4ENtalM__v6-3-0-r18-0",
"line-height-large": "BaseTypography-module__6HvLgJ81__v6-3-0-r18-0",
"line-height-xlarge": "BaseTypography-module__Rgd21ujg__v6-3-0-r18-0",
"text-decoration-none": "BaseTypography-module__GSBUAW-e__v6-3-0-r18-0",
"text-decoration-underline": "BaseTypography-module__EhGtBpHg__v6-3-0-r18-0",
"text-case-none": "BaseTypography-module__4cilEc6K__v6-3-0-r18-0",
"text-case-uppercase": "BaseTypography-module__615YmmQJ__v6-3-0-r18-0",
"color-text-default": "BaseTypography-module__R2VZGFXf__v6-3-0-r18-0",
"color-text-subdued": "BaseTypography-module__hMy86pq9__v6-3-0-r18-0",
"color-text-hover": "BaseTypography-module__TTgrEHET__v6-3-0-r18-0",
"color-text-disabled": "BaseTypography-module__-JmQP03c__v6-3-0-r18-0",
"color-text-hint-text": "BaseTypography-module__6UJA7Uou__v6-3-0-r18-0",
"color-text-on-primary": "BaseTypography-module__pAq7CRL3__v6-3-0-r18-0",
"color-text-on-emphasis": "BaseTypography-module__AAWdp88x__v6-3-0-r18-0",
"color-text-on-secondary": "BaseTypography-module__MK-EpEz5__v6-3-0-r18-0",
"color-text-on-secondary-disabled": "BaseTypography-module__Zl6pJmtZ__v6-3-0-r18-0",
"color-text-on-action-critical": "BaseTypography-module__2nncY0zu__v6-3-0-r18-0",
"color-text-on-action-success": "BaseTypography-module__1nLJo2nO__v6-3-0-r18-0",
"color-text-on-interactive": "BaseTypography-module__hz7awz-q__v6-3-0-r18-0",
"color-text-on-interactive-subdued": "BaseTypography-module__cNLOfx9F__v6-3-0-r18-0",
"color-text-on-background-warning": "BaseTypography-module__sGgr2ezo__v6-3-0-r18-0",
"color-text-on-background-critical": "BaseTypography-module__UKmQ8dx7__v6-3-0-r18-0",
"color-text-on-background-success": "BaseTypography-module__YIv-E-Qk__v6-3-0-r18-0",
"typographyReset": "BaseTypography-module__JG0dB-pS__v6-3-0-r18-0"
};

@@ -253,5 +253,5 @@ var BaseTypography = React__default["default"].forwardRef(function (_a, ref) {

var Component = as;
var typographyClass = classnames__default["default"](styles.typographyReset, ["font-family-" + fontFamily, "font-size-" + fontSize, "font-weight-" + fontWeight, "letter-spacing-" + letterSpacing, "line-height-" + lineHeight, "text-case-" + textTransform, "text-decoration-" + textDecoration].map(function (className) {
var typographyClass = classnames__default["default"](styles.typographyReset, ["font-family-".concat(fontFamily), "font-size-".concat(fontSize), "font-weight-".concat(fontWeight), "letter-spacing-".concat(letterSpacing), "line-height-".concat(lineHeight), "text-case-".concat(textTransform), "text-decoration-".concat(textDecoration)].map(function (className) {
return styles[className];
}), (_b = {}, _b[styles["color-" + color]] = color, _b), (_c = {}, _c[styles.truncate] = truncate, _c));
}), (_b = {}, _b[styles["color-".concat(color)]] = color, _b), (_c = {}, _c[styles.truncate] = truncate, _c));
return React__default["default"].createElement(Component, __assign({

@@ -258,0 +258,0 @@ className: typographyClass,

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

declare const TokenisedTypography: React.ForwardRefExoticComponent<{
token?: "heading-xsmall" | "heading-small" | "heading-medium" | "heading-large" | "heading-xlarge" | "heading-2xl" | "body-small" | "body-base" | "body-large" | "body-strong-small" | "body-strong-base" | "body-strong-large" | "page-heading" | "button" | "form-label" | "caption" | "text-link-default" | "text-link-hover" | "table-data-regular" | "table-data-bold" | undefined;
token?: "button" | "heading-xsmall" | "heading-small" | "heading-medium" | "heading-large" | "heading-xlarge" | "heading-2xl" | "body-small" | "body-base" | "body-large" | "body-strong-small" | "body-strong-base" | "body-strong-large" | "page-heading" | "form-label" | "caption" | "text-link-default" | "text-link-hover" | "table-data-regular" | "table-data-bold" | undefined;
fontFamily?: import("@highlight-ui/tokens").FontFamilyTokenType | undefined;

@@ -10,0 +10,0 @@ fontSize?: import("@highlight-ui/tokens").FontSizeTokenType | undefined;

@@ -47,22 +47,22 @@ import React from 'react';

var styles$1 = {
"heading-xsmall": "TokenisedTypography-module__onwaDh1v__v6-2-13",
"heading-small": "TokenisedTypography-module__EzGiEkH0__v6-2-13",
"heading-medium": "TokenisedTypography-module__aJ6ON-c9__v6-2-13",
"heading-large": "TokenisedTypography-module__OdqVI7Gq__v6-2-13",
"heading-xlarge": "TokenisedTypography-module__sKayCNWr__v6-2-13",
"heading-2xl": "TokenisedTypography-module__tdP9nm1h__v6-2-13",
"body-small": "TokenisedTypography-module__5SGkIeIV__v6-2-13",
"body-base": "TokenisedTypography-module__33RfT-o2__v6-2-13",
"body-large": "TokenisedTypography-module__6qCKH0-X__v6-2-13",
"body-strong-small": "TokenisedTypography-module__JhRHUPNe__v6-2-13",
"body-strong-base": "TokenisedTypography-module__4m-jV2Cj__v6-2-13",
"body-strong-large": "TokenisedTypography-module__mDM8xaOH__v6-2-13",
"page-heading": "TokenisedTypography-module__vfaNn-y6__v6-2-13",
"button": "TokenisedTypography-module__06-oo8NN__v6-2-13",
"form-label": "TokenisedTypography-module__WLEBFNws__v6-2-13",
"caption": "TokenisedTypography-module__eXnfr---__v6-2-13",
"text-link-default": "TokenisedTypography-module__SY0XbgdQ__v6-2-13",
"text-link-hover": "TokenisedTypography-module__iyPbDdvh__v6-2-13",
"table-data-regular": "TokenisedTypography-module__cEJrzxvS__v6-2-13",
"table-data-bold": "TokenisedTypography-module__hsz-gpO6__v6-2-13"
"heading-xsmall": "TokenisedTypography-module__onwaDh1v__v6-3-0-r18-0",
"heading-small": "TokenisedTypography-module__EzGiEkH0__v6-3-0-r18-0",
"heading-medium": "TokenisedTypography-module__aJ6ON-c9__v6-3-0-r18-0",
"heading-large": "TokenisedTypography-module__OdqVI7Gq__v6-3-0-r18-0",
"heading-xlarge": "TokenisedTypography-module__sKayCNWr__v6-3-0-r18-0",
"heading-2xl": "TokenisedTypography-module__tdP9nm1h__v6-3-0-r18-0",
"body-small": "TokenisedTypography-module__5SGkIeIV__v6-3-0-r18-0",
"body-base": "TokenisedTypography-module__33RfT-o2__v6-3-0-r18-0",
"body-large": "TokenisedTypography-module__6qCKH0-X__v6-3-0-r18-0",
"body-strong-small": "TokenisedTypography-module__JhRHUPNe__v6-3-0-r18-0",
"body-strong-base": "TokenisedTypography-module__4m-jV2Cj__v6-3-0-r18-0",
"body-strong-large": "TokenisedTypography-module__mDM8xaOH__v6-3-0-r18-0",
"page-heading": "TokenisedTypography-module__vfaNn-y6__v6-3-0-r18-0",
"button": "TokenisedTypography-module__06-oo8NN__v6-3-0-r18-0",
"form-label": "TokenisedTypography-module__WLEBFNws__v6-3-0-r18-0",
"caption": "TokenisedTypography-module__eXnfr---__v6-3-0-r18-0",
"text-link-default": "TokenisedTypography-module__SY0XbgdQ__v6-3-0-r18-0",
"text-link-hover": "TokenisedTypography-module__iyPbDdvh__v6-3-0-r18-0",
"table-data-regular": "TokenisedTypography-module__cEJrzxvS__v6-3-0-r18-0",
"table-data-bold": "TokenisedTypography-module__hsz-gpO6__v6-3-0-r18-0"
};

@@ -167,41 +167,41 @@ var TokenisedTypographyWithRef = function (_a, ref) {

var styles = {
"truncate": "BaseTypography-module__gDqXh7PB__v6-2-13",
"font-family-default": "BaseTypography-module__NmOUTvM0__v6-2-13",
"font-family-mono": "BaseTypography-module__po5OsKvS__v6-2-13",
"font-family-icon": "BaseTypography-module__dqFq7Ex4__v6-2-13",
"font-size-xsmall": "BaseTypography-module__C-LvOSG6__v6-2-13",
"font-size-small": "BaseTypography-module__J3YrpXUR__v6-2-13",
"font-size-base": "BaseTypography-module__8AgIdCaP__v6-2-13",
"font-size-large": "BaseTypography-module__l9zhB-Zw__v6-2-13",
"font-size-xlarge": "BaseTypography-module__ZA4BOkms__v6-2-13",
"font-size-2xl": "BaseTypography-module__WLdubQwo__v6-2-13",
"font-size-3xl": "BaseTypography-module__HeXVoMo-__v6-2-13",
"font-weight-regular": "BaseTypography-module__yf4pXXyL__v6-2-13",
"font-weight-semi-bold": "BaseTypography-module__05CxVvXB__v6-2-13",
"font-weight-bold": "BaseTypography-module__M9m6ZH--__v6-2-13",
"letter-spacing-base": "BaseTypography-module__SU2CO98j__v6-2-13",
"line-height-base": "BaseTypography-module__C4ENtalM__v6-2-13",
"line-height-large": "BaseTypography-module__6HvLgJ81__v6-2-13",
"line-height-xlarge": "BaseTypography-module__Rgd21ujg__v6-2-13",
"text-decoration-none": "BaseTypography-module__GSBUAW-e__v6-2-13",
"text-decoration-underline": "BaseTypography-module__EhGtBpHg__v6-2-13",
"text-case-none": "BaseTypography-module__4cilEc6K__v6-2-13",
"text-case-uppercase": "BaseTypography-module__615YmmQJ__v6-2-13",
"color-text-default": "BaseTypography-module__R2VZGFXf__v6-2-13",
"color-text-subdued": "BaseTypography-module__hMy86pq9__v6-2-13",
"color-text-hover": "BaseTypography-module__TTgrEHET__v6-2-13",
"color-text-disabled": "BaseTypography-module__-JmQP03c__v6-2-13",
"color-text-hint-text": "BaseTypography-module__6UJA7Uou__v6-2-13",
"color-text-on-primary": "BaseTypography-module__pAq7CRL3__v6-2-13",
"color-text-on-emphasis": "BaseTypography-module__AAWdp88x__v6-2-13",
"color-text-on-secondary": "BaseTypography-module__MK-EpEz5__v6-2-13",
"color-text-on-secondary-disabled": "BaseTypography-module__Zl6pJmtZ__v6-2-13",
"color-text-on-action-critical": "BaseTypography-module__2nncY0zu__v6-2-13",
"color-text-on-action-success": "BaseTypography-module__1nLJo2nO__v6-2-13",
"color-text-on-interactive": "BaseTypography-module__hz7awz-q__v6-2-13",
"color-text-on-interactive-subdued": "BaseTypography-module__cNLOfx9F__v6-2-13",
"color-text-on-background-warning": "BaseTypography-module__sGgr2ezo__v6-2-13",
"color-text-on-background-critical": "BaseTypography-module__UKmQ8dx7__v6-2-13",
"color-text-on-background-success": "BaseTypography-module__YIv-E-Qk__v6-2-13",
"typographyReset": "BaseTypography-module__JG0dB-pS__v6-2-13"
"truncate": "BaseTypography-module__gDqXh7PB__v6-3-0-r18-0",
"font-family-default": "BaseTypography-module__NmOUTvM0__v6-3-0-r18-0",
"font-family-mono": "BaseTypography-module__po5OsKvS__v6-3-0-r18-0",
"font-family-icon": "BaseTypography-module__dqFq7Ex4__v6-3-0-r18-0",
"font-size-xsmall": "BaseTypography-module__C-LvOSG6__v6-3-0-r18-0",
"font-size-small": "BaseTypography-module__J3YrpXUR__v6-3-0-r18-0",
"font-size-base": "BaseTypography-module__8AgIdCaP__v6-3-0-r18-0",
"font-size-large": "BaseTypography-module__l9zhB-Zw__v6-3-0-r18-0",
"font-size-xlarge": "BaseTypography-module__ZA4BOkms__v6-3-0-r18-0",
"font-size-2xl": "BaseTypography-module__WLdubQwo__v6-3-0-r18-0",
"font-size-3xl": "BaseTypography-module__HeXVoMo-__v6-3-0-r18-0",
"font-weight-regular": "BaseTypography-module__yf4pXXyL__v6-3-0-r18-0",
"font-weight-semi-bold": "BaseTypography-module__05CxVvXB__v6-3-0-r18-0",
"font-weight-bold": "BaseTypography-module__M9m6ZH--__v6-3-0-r18-0",
"letter-spacing-base": "BaseTypography-module__SU2CO98j__v6-3-0-r18-0",
"line-height-base": "BaseTypography-module__C4ENtalM__v6-3-0-r18-0",
"line-height-large": "BaseTypography-module__6HvLgJ81__v6-3-0-r18-0",
"line-height-xlarge": "BaseTypography-module__Rgd21ujg__v6-3-0-r18-0",
"text-decoration-none": "BaseTypography-module__GSBUAW-e__v6-3-0-r18-0",
"text-decoration-underline": "BaseTypography-module__EhGtBpHg__v6-3-0-r18-0",
"text-case-none": "BaseTypography-module__4cilEc6K__v6-3-0-r18-0",
"text-case-uppercase": "BaseTypography-module__615YmmQJ__v6-3-0-r18-0",
"color-text-default": "BaseTypography-module__R2VZGFXf__v6-3-0-r18-0",
"color-text-subdued": "BaseTypography-module__hMy86pq9__v6-3-0-r18-0",
"color-text-hover": "BaseTypography-module__TTgrEHET__v6-3-0-r18-0",
"color-text-disabled": "BaseTypography-module__-JmQP03c__v6-3-0-r18-0",
"color-text-hint-text": "BaseTypography-module__6UJA7Uou__v6-3-0-r18-0",
"color-text-on-primary": "BaseTypography-module__pAq7CRL3__v6-3-0-r18-0",
"color-text-on-emphasis": "BaseTypography-module__AAWdp88x__v6-3-0-r18-0",
"color-text-on-secondary": "BaseTypography-module__MK-EpEz5__v6-3-0-r18-0",
"color-text-on-secondary-disabled": "BaseTypography-module__Zl6pJmtZ__v6-3-0-r18-0",
"color-text-on-action-critical": "BaseTypography-module__2nncY0zu__v6-3-0-r18-0",
"color-text-on-action-success": "BaseTypography-module__1nLJo2nO__v6-3-0-r18-0",
"color-text-on-interactive": "BaseTypography-module__hz7awz-q__v6-3-0-r18-0",
"color-text-on-interactive-subdued": "BaseTypography-module__cNLOfx9F__v6-3-0-r18-0",
"color-text-on-background-warning": "BaseTypography-module__sGgr2ezo__v6-3-0-r18-0",
"color-text-on-background-critical": "BaseTypography-module__UKmQ8dx7__v6-3-0-r18-0",
"color-text-on-background-success": "BaseTypography-module__YIv-E-Qk__v6-3-0-r18-0",
"typographyReset": "BaseTypography-module__JG0dB-pS__v6-3-0-r18-0"
};

@@ -233,5 +233,5 @@ var BaseTypography = /*#__PURE__*/React.forwardRef(function (_a, ref) {

var Component = as;
var typographyClass = classnames(styles.typographyReset, ["font-family-" + fontFamily, "font-size-" + fontSize, "font-weight-" + fontWeight, "letter-spacing-" + letterSpacing, "line-height-" + lineHeight, "text-case-" + textTransform, "text-decoration-" + textDecoration].map(function (className) {
var typographyClass = classnames(styles.typographyReset, ["font-family-".concat(fontFamily), "font-size-".concat(fontSize), "font-weight-".concat(fontWeight), "letter-spacing-".concat(letterSpacing), "line-height-".concat(lineHeight), "text-case-".concat(textTransform), "text-decoration-".concat(textDecoration)].map(function (className) {
return styles[className];
}), (_b = {}, _b[styles["color-" + color]] = color, _b), (_c = {}, _c[styles.truncate] = truncate, _c));
}), (_b = {}, _b[styles["color-".concat(color)]] = color, _b), (_c = {}, _c[styles.truncate] = truncate, _c));
return /*#__PURE__*/React.createElement(Component, __assign({

@@ -238,0 +238,0 @@ className: typographyClass,

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

declare const TokenisedTypography: React.ForwardRefExoticComponent<{
token?: "heading-xsmall" | "heading-small" | "heading-medium" | "heading-large" | "heading-xlarge" | "heading-2xl" | "body-small" | "body-base" | "body-large" | "body-strong-small" | "body-strong-base" | "body-strong-large" | "page-heading" | "button" | "form-label" | "caption" | "text-link-default" | "text-link-hover" | "table-data-regular" | "table-data-bold" | undefined;
token?: "button" | "heading-xsmall" | "heading-small" | "heading-medium" | "heading-large" | "heading-xlarge" | "heading-2xl" | "body-small" | "body-base" | "body-large" | "body-strong-small" | "body-strong-base" | "body-strong-large" | "page-heading" | "form-label" | "caption" | "text-link-default" | "text-link-hover" | "table-data-regular" | "table-data-bold" | undefined;
fontFamily?: import("@highlight-ui/tokens").FontFamilyTokenType | undefined;

@@ -10,0 +10,0 @@ fontSize?: import("@highlight-ui/tokens").FontSizeTokenType | undefined;

{
"name": "@highlight-ui/typography",
"version": "6.2.13",
"version": "6.3.0-r18.0",
"author": "Personio GmbH & Co. KG",

@@ -31,15 +31,10 @@ "main": "dist/cjs/index.js",

"@codeshift/test-utils": "~0.2.0",
"@highlight-ui/configs-base-jest": "^3.1.4",
"@highlight-ui/configs-base-tsconfig": "^3.2.3",
"@highlight-ui/theme": "^9.3.18",
"@testing-library/dom": "8.19.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "13.5.0",
"@highlight-ui/configs-base-jest": "^3.2.0-r18.0",
"@highlight-ui/configs-base-tsconfig": "^3.3.0-r18.0",
"@highlight-ui/theme": "^9.4.0-r18.0",
"@types/jscodeshift": "~0.11.5",
"classnames": "~2.3.1",
"jest": "~27.2.3",
"jest": "29.7.0",
"jscodeshift": "~0.14.0",
"react": "17.0.2",
"react": "18.2.0",
"rimraf": "~3.0.2"

@@ -49,11 +44,11 @@ },

"classnames": "~2.3.1",
"react": "17.0.2"
"react": "18.2.0"
},
"dependencies": {
"@highlight-ui/tokens": "^4.3.2",
"@highlight-ui/utils-commons": "^2.5.3",
"@highlight-ui/utils-hooks": "^3.3.3",
"@highlight-ui/tokens": "^4.3.0-r18.0",
"@highlight-ui/utils-commons": "^2.6.0-r18.0",
"@highlight-ui/utils-hooks": "^3.4.0-r18.0",
"param-case": "~3.0.4"
},
"gitHead": "579a2b9560f60b612de909659f38e1460f39173a"
"gitHead": "5082727c3ee712c068ae49714fa9fc7e5dd0d3ad"
}

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

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