@salutejs/plasma-typo
Advanced tools
Comparing version 0.5.0-canary.7.2268967435.0 to 0.5.0-canary.16.2280099367.0
@@ -0,1 +1,13 @@ | ||
# v0.4.1 (Thu May 05 2022) | ||
#### 🐛 Bug Fix | ||
- fix: packages structure [#17](https://github.com/salute-developers/plasma/pull/17) ([@Yeti-or](https://github.com/Yeti-or)) | ||
#### Authors: 1 | ||
- Vasiliy ([@Yeti-or](https://github.com/Yeti-or)) | ||
--- | ||
# v0.4.0 (Wed Apr 27 2022) | ||
@@ -2,0 +14,0 @@ |
import type { BreakWordProps, SpacingProps } from '@salutejs/plasma-core'; | ||
import type { BoldProps } from '../types'; | ||
export declare const DsplL: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const DsplM: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const DsplS: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const DsplL: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const DsplM: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const DsplS: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
//# sourceMappingURL=Dspl.d.ts.map |
@@ -14,15 +14,6 @@ "use strict"; | ||
var tokens_1 = require("../tokens"); | ||
exports.DsplL = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.dsplLBold : tokens_1.dsplL); | ||
}); | ||
exports.DsplM = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.dsplMBold : tokens_1.dsplM); | ||
}); | ||
exports.DsplS = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.dsplSBold : tokens_1.dsplS); | ||
}); | ||
exports.DsplL = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.dsplL); | ||
exports.DsplM = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.dsplM); | ||
exports.DsplS = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.dsplS); | ||
var templateObject_1, templateObject_2, templateObject_3; | ||
//# sourceMappingURL=Dspl.js.map |
import type { BreakWordProps, SpacingProps } from '@salutejs/plasma-core'; | ||
import type { BoldProps } from '../types'; | ||
export declare const H1: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const H2: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const H3: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const H4: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const H5: import("styled-components").StyledComponent<"div", any, SpacingProps & BoldProps & BreakWordProps, never>; | ||
export declare const H1: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const H2: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const H3: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const H4: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
export declare const H5: import("styled-components").StyledComponent<"div", any, SpacingProps & BreakWordProps, never>; | ||
//# sourceMappingURL=H.d.ts.map |
@@ -14,23 +14,8 @@ "use strict"; | ||
var tokens_1 = require("../tokens"); | ||
exports.H1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.h1Bold : tokens_1.h1); | ||
}); | ||
exports.H2 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.h2Bold : tokens_1.h2); | ||
}); | ||
exports.H3 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.h3Bold : tokens_1.h3); | ||
}); | ||
exports.H4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.h4Bold : tokens_1.h4); | ||
}); | ||
exports.H5 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? tokens_1.h5Bold : tokens_1.h5); | ||
}); | ||
exports.H1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.h1); | ||
exports.H2 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.h2); | ||
exports.H3 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.h3); | ||
exports.H4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.h4); | ||
exports.H5 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), plasma_core_1.applyHyphens, plasma_core_1.applySpacing, tokens_1.h5); | ||
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5; | ||
//# sourceMappingURL=H.js.map |
@@ -13,7 +13,2 @@ "use strict"; | ||
'font-size': '5.5rem', | ||
'font-weight': '400', | ||
'line-height': '5.75rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '5.5rem', | ||
'font-weight': '600', | ||
@@ -24,7 +19,2 @@ 'line-height': '5.75rem', | ||
'font-size': '3.5rem', | ||
'font-weight': '400', | ||
'line-height': '3.875rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '3.5rem', | ||
'font-weight': '600', | ||
@@ -35,7 +25,2 @@ 'line-height': '3.875rem', | ||
'font-size': '2.5rem', | ||
'font-weight': '400', | ||
'line-height': '2.875rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '2.5rem', | ||
'font-weight': '600', | ||
@@ -46,7 +31,2 @@ 'line-height': '2.875rem', | ||
'font-size': '1.75rem', | ||
'font-weight': '400', | ||
'line-height': '2.125rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '1.75rem', | ||
'font-weight': '600', | ||
@@ -57,7 +37,2 @@ 'line-height': '2.125rem', | ||
'font-size': '1.5rem', | ||
'font-weight': '400', | ||
'line-height': '1.875rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '1.5rem', | ||
'font-weight': '600', | ||
@@ -68,7 +43,2 @@ 'line-height': '1.875rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -79,7 +49,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -90,7 +55,2 @@ 'line-height': '1.5rem', | ||
'font-size': '0.875rem', | ||
'font-weight': '400', | ||
'line-height': '1.375rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '0.875rem', | ||
'font-weight': '600', | ||
@@ -193,7 +153,2 @@ 'line-height': '1.375rem', | ||
'font-size': '7rem', | ||
'font-weight': '400', | ||
'line-height': '7rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '7rem', | ||
'font-weight': '600', | ||
@@ -204,7 +159,2 @@ 'line-height': '7rem', | ||
'font-size': '4.5rem', | ||
'font-weight': '400', | ||
'line-height': '4.75rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '4.5rem', | ||
'font-weight': '600', | ||
@@ -215,7 +165,2 @@ 'line-height': '4.75rem', | ||
'font-size': '3rem', | ||
'font-weight': '400', | ||
'line-height': '3.375rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '3rem', | ||
'font-weight': '600', | ||
@@ -226,7 +171,2 @@ 'line-height': '3.375rem', | ||
'font-size': '2.5rem', | ||
'font-weight': '400', | ||
'line-height': '2.875rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '2.5rem', | ||
'font-weight': '600', | ||
@@ -237,7 +177,2 @@ 'line-height': '2.875rem', | ||
'font-size': '1.75rem', | ||
'font-weight': '400', | ||
'line-height': '2.125rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '1.75rem', | ||
'font-weight': '600', | ||
@@ -248,7 +183,2 @@ 'line-height': '2.125rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -259,7 +189,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -270,7 +195,2 @@ 'line-height': '1.5rem', | ||
'font-size': '1rem', | ||
'font-weight': '400', | ||
'line-height': '1.375rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '1rem', | ||
'font-weight': '600', | ||
@@ -373,7 +293,2 @@ 'line-height': '1.375rem', | ||
'font-size': '8rem', | ||
'font-weight': '400', | ||
'line-height': '8rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '8rem', | ||
'font-weight': '600', | ||
@@ -384,7 +299,2 @@ 'line-height': '8rem', | ||
'font-size': '5.5rem', | ||
'font-weight': '400', | ||
'line-height': '5.75rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '5.5rem', | ||
'font-weight': '600', | ||
@@ -395,7 +305,2 @@ 'line-height': '5.75rem', | ||
'font-size': '4rem', | ||
'font-weight': '400', | ||
'line-height': '4.25rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '4rem', | ||
'font-weight': '600', | ||
@@ -406,7 +311,2 @@ 'line-height': '4.25rem', | ||
'font-size': '3rem', | ||
'font-weight': '400', | ||
'line-height': '3.375rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '3rem', | ||
'font-weight': '600', | ||
@@ -417,7 +317,2 @@ 'line-height': '3.375rem', | ||
'font-size': '2rem', | ||
'font-weight': '400', | ||
'line-height': '2.375rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '2rem', | ||
'font-weight': '600', | ||
@@ -428,7 +323,2 @@ 'line-height': '2.375rem', | ||
'font-size': '1.5rem', | ||
'font-weight': '400', | ||
'line-height': '1.875rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.5rem', | ||
'font-weight': '600', | ||
@@ -439,7 +329,2 @@ 'line-height': '1.875rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -450,7 +335,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -457,0 +337,0 @@ 'line-height': '1.5rem', |
import type { CSSObject } from 'styled-components'; | ||
export declare const dsplL: CSSObject; | ||
export declare const dsplLBold: CSSObject; | ||
export declare const dsplM: CSSObject; | ||
export declare const dsplMBold: CSSObject; | ||
export declare const dsplS: CSSObject; | ||
export declare const dsplSBold: CSSObject; | ||
export declare const h1: CSSObject; | ||
export declare const h1Bold: CSSObject; | ||
export declare const h2: CSSObject; | ||
export declare const h2Bold: CSSObject; | ||
export declare const h3: CSSObject; | ||
export declare const h3Bold: CSSObject; | ||
export declare const h4: CSSObject; | ||
export declare const h4Bold: CSSObject; | ||
export declare const h5: CSSObject; | ||
export declare const h5Bold: CSSObject; | ||
export declare const bodyL: CSSObject; | ||
@@ -19,0 +11,0 @@ export declare const bodyLBold: CSSObject; |
@@ -14,3 +14,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.textXSBold = exports.textXS = exports.textSBold = exports.textS = exports.textMBold = exports.textM = exports.textLBold = exports.textL = exports.bodyXXSBold = exports.bodyXXS = exports.bodyXSBold = exports.bodyXS = exports.bodySBold = exports.bodyS = exports.bodyMBold = exports.bodyM = exports.bodyLBold = exports.bodyL = exports.h5Bold = exports.h5 = exports.h4Bold = exports.h4 = exports.h3Bold = exports.h3 = exports.h2Bold = exports.h2 = exports.h1Bold = exports.h1 = exports.dsplSBold = exports.dsplS = exports.dsplMBold = exports.dsplM = exports.dsplLBold = exports.dsplL = void 0; | ||
exports.textXSBold = exports.textXS = exports.textSBold = exports.textS = exports.textMBold = exports.textM = exports.textLBold = exports.textL = exports.bodyXXSBold = exports.bodyXXS = exports.bodyXSBold = exports.bodyXS = exports.bodySBold = exports.bodyS = exports.bodyMBold = exports.bodyM = exports.bodyLBold = exports.bodyL = exports.h5 = exports.h4 = exports.h3 = exports.h2 = exports.h1 = exports.dsplS = exports.dsplM = exports.dsplL = void 0; | ||
exports.dsplL = { | ||
@@ -24,3 +24,2 @@ fontFamily: 'var(--plasma-typo-dspl-l-font-family)', | ||
}; | ||
exports.dsplLBold = __assign(__assign({}, exports.dsplL), { fontWeight: 'var(--plasma-typo-dspl-l-bold-font-weight)' }); | ||
exports.dsplM = { | ||
@@ -34,3 +33,2 @@ fontFamily: 'var(--plasma-typo-dspl-m-font-family)', | ||
}; | ||
exports.dsplMBold = __assign(__assign({}, exports.dsplM), { fontWeight: 'var(--plasma-typo-dspl-m-bold-font-weight)' }); | ||
exports.dsplS = { | ||
@@ -44,3 +42,2 @@ fontFamily: 'var(--plasma-typo-dspl-s-font-family)', | ||
}; | ||
exports.dsplSBold = __assign(__assign({}, exports.dsplS), { fontWeight: 'var(--plasma-typo-dspl-s-bold-font-weight)' }); | ||
exports.h1 = { | ||
@@ -54,3 +51,2 @@ fontFamily: 'var(--plasma-typo-h1-font-family)', | ||
}; | ||
exports.h1Bold = __assign(__assign({}, exports.h1), { fontWeight: 'var(--plasma-typo-h1-bold-font-weight)' }); | ||
exports.h2 = { | ||
@@ -64,3 +60,2 @@ fontFamily: 'var(--plasma-typo-h2-font-family)', | ||
}; | ||
exports.h2Bold = __assign(__assign({}, exports.h2), { fontWeight: 'var(--plasma-typo-h2-bold-font-weight)' }); | ||
exports.h3 = { | ||
@@ -74,3 +69,2 @@ fontFamily: 'var(--plasma-typo-h3-font-family)', | ||
}; | ||
exports.h3Bold = __assign(__assign({}, exports.h3), { fontWeight: 'var(--plasma-typo-h3-bold-font-weight)' }); | ||
exports.h4 = { | ||
@@ -84,3 +78,2 @@ fontFamily: 'var(--plasma-typo-h4-font-family)', | ||
}; | ||
exports.h4Bold = __assign(__assign({}, exports.h4), { fontWeight: 'var(--plasma-typo-h4-bold-font-weight)' }); | ||
exports.h5 = { | ||
@@ -94,3 +87,2 @@ fontFamily: 'var(--plasma-typo-h5-font-family)', | ||
}; | ||
exports.h5Bold = __assign(__assign({}, exports.h5), { fontWeight: 'var(--plasma-typo-h5-bold-font-weight)' }); | ||
exports.bodyL = { | ||
@@ -97,0 +89,0 @@ fontFamily: 'var(--plasma-typo-body-l-font-family)', |
@@ -7,16 +7,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
import { applyHyphens, applySpacing } from '@salutejs/plasma-core'; | ||
import { dsplL, dsplLBold, dsplM, dsplMBold, dsplS, dsplSBold } from '../tokens'; | ||
export var DsplL = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? dsplLBold : dsplL); | ||
}); | ||
export var DsplM = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? dsplMBold : dsplM); | ||
}); | ||
export var DsplS = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? dsplSBold : dsplS); | ||
}); | ||
import { dsplL, dsplM, dsplS } from '../tokens'; | ||
export var DsplL = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, dsplL); | ||
export var DsplM = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, dsplM); | ||
export var DsplS = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, dsplS); | ||
var templateObject_1, templateObject_2, templateObject_3; | ||
//# sourceMappingURL=Dspl.js.map |
@@ -7,24 +7,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
import { applyHyphens, applySpacing } from '@salutejs/plasma-core'; | ||
import { h1, h1Bold, h2, h2Bold, h3, h3Bold, h4, h4Bold, h5, h5Bold } from '../tokens'; | ||
export var H1 = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? h1Bold : h1); | ||
}); | ||
export var H2 = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? h2Bold : h2); | ||
}); | ||
export var H3 = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? h3Bold : h3); | ||
}); | ||
export var H4 = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? h4Bold : h4); | ||
}); | ||
export var H5 = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, function (_a) { | ||
var _b = _a.bold, bold = _b === void 0 ? true : _b; | ||
return (bold ? h5Bold : h5); | ||
}); | ||
import { h1, h2, h3, h4, h5 } from '../tokens'; | ||
export var H1 = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, h1); | ||
export var H2 = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, h2); | ||
export var H3 = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, h3); | ||
export var H4 = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, h4); | ||
export var H5 = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), applyHyphens, applySpacing, h5); | ||
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5; | ||
//# sourceMappingURL=H.js.map |
@@ -10,7 +10,2 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
'font-size': '5.5rem', | ||
'font-weight': '400', | ||
'line-height': '5.75rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '5.5rem', | ||
'font-weight': '600', | ||
@@ -21,7 +16,2 @@ 'line-height': '5.75rem', | ||
'font-size': '3.5rem', | ||
'font-weight': '400', | ||
'line-height': '3.875rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '3.5rem', | ||
'font-weight': '600', | ||
@@ -32,7 +22,2 @@ 'line-height': '3.875rem', | ||
'font-size': '2.5rem', | ||
'font-weight': '400', | ||
'line-height': '2.875rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '2.5rem', | ||
'font-weight': '600', | ||
@@ -43,7 +28,2 @@ 'line-height': '2.875rem', | ||
'font-size': '1.75rem', | ||
'font-weight': '400', | ||
'line-height': '2.125rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '1.75rem', | ||
'font-weight': '600', | ||
@@ -54,7 +34,2 @@ 'line-height': '2.125rem', | ||
'font-size': '1.5rem', | ||
'font-weight': '400', | ||
'line-height': '1.875rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '1.5rem', | ||
'font-weight': '600', | ||
@@ -65,7 +40,2 @@ 'line-height': '1.875rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -76,7 +46,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -87,7 +52,2 @@ 'line-height': '1.5rem', | ||
'font-size': '0.875rem', | ||
'font-weight': '400', | ||
'line-height': '1.375rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '0.875rem', | ||
'font-weight': '600', | ||
@@ -190,7 +150,2 @@ 'line-height': '1.375rem', | ||
'font-size': '7rem', | ||
'font-weight': '400', | ||
'line-height': '7rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '7rem', | ||
'font-weight': '600', | ||
@@ -201,7 +156,2 @@ 'line-height': '7rem', | ||
'font-size': '4.5rem', | ||
'font-weight': '400', | ||
'line-height': '4.75rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '4.5rem', | ||
'font-weight': '600', | ||
@@ -212,7 +162,2 @@ 'line-height': '4.75rem', | ||
'font-size': '3rem', | ||
'font-weight': '400', | ||
'line-height': '3.375rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '3rem', | ||
'font-weight': '600', | ||
@@ -223,7 +168,2 @@ 'line-height': '3.375rem', | ||
'font-size': '2.5rem', | ||
'font-weight': '400', | ||
'line-height': '2.875rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '2.5rem', | ||
'font-weight': '600', | ||
@@ -234,7 +174,2 @@ 'line-height': '2.875rem', | ||
'font-size': '1.75rem', | ||
'font-weight': '400', | ||
'line-height': '2.125rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '1.75rem', | ||
'font-weight': '600', | ||
@@ -245,7 +180,2 @@ 'line-height': '2.125rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -256,7 +186,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -267,7 +192,2 @@ 'line-height': '1.5rem', | ||
'font-size': '1rem', | ||
'font-weight': '400', | ||
'line-height': '1.375rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '1rem', | ||
'font-weight': '600', | ||
@@ -370,7 +290,2 @@ 'line-height': '1.375rem', | ||
'font-size': '8rem', | ||
'font-weight': '400', | ||
'line-height': '8rem', | ||
}, | ||
'dspl-l-bold': { | ||
'font-size': '8rem', | ||
'font-weight': '600', | ||
@@ -381,7 +296,2 @@ 'line-height': '8rem', | ||
'font-size': '5.5rem', | ||
'font-weight': '400', | ||
'line-height': '5.75rem', | ||
}, | ||
'dspl-m-bold': { | ||
'font-size': '5.5rem', | ||
'font-weight': '600', | ||
@@ -392,7 +302,2 @@ 'line-height': '5.75rem', | ||
'font-size': '4rem', | ||
'font-weight': '400', | ||
'line-height': '4.25rem', | ||
}, | ||
'dspl-s-bold': { | ||
'font-size': '4rem', | ||
'font-weight': '600', | ||
@@ -403,7 +308,2 @@ 'line-height': '4.25rem', | ||
'font-size': '3rem', | ||
'font-weight': '400', | ||
'line-height': '3.375rem', | ||
}, | ||
'h1-bold': { | ||
'font-size': '3rem', | ||
'font-weight': '600', | ||
@@ -414,7 +314,2 @@ 'line-height': '3.375rem', | ||
'font-size': '2rem', | ||
'font-weight': '400', | ||
'line-height': '2.375rem', | ||
}, | ||
'h2-bold': { | ||
'font-size': '2rem', | ||
'font-weight': '600', | ||
@@ -425,7 +320,2 @@ 'line-height': '2.375rem', | ||
'font-size': '1.5rem', | ||
'font-weight': '400', | ||
'line-height': '1.875rem', | ||
}, | ||
'h3-bold': { | ||
'font-size': '1.5rem', | ||
'font-weight': '600', | ||
@@ -436,7 +326,2 @@ 'line-height': '1.875rem', | ||
'font-size': '1.25rem', | ||
'font-weight': '400', | ||
'line-height': '1.625rem', | ||
}, | ||
'h4-bold': { | ||
'font-size': '1.25rem', | ||
'font-weight': '600', | ||
@@ -447,7 +332,2 @@ 'line-height': '1.625rem', | ||
'font-size': '1.125rem', | ||
'font-weight': '400', | ||
'line-height': '1.5rem', | ||
}, | ||
'h5-bold': { | ||
'font-size': '1.125rem', | ||
'font-weight': '600', | ||
@@ -454,0 +334,0 @@ 'line-height': '1.5rem', |
@@ -20,3 +20,2 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
export var dsplLBold = __assign(__assign({}, dsplL), { fontWeight: 'var(--plasma-typo-dspl-l-bold-font-weight)' }); | ||
export var dsplM = { | ||
@@ -30,3 +29,2 @@ fontFamily: 'var(--plasma-typo-dspl-m-font-family)', | ||
}; | ||
export var dsplMBold = __assign(__assign({}, dsplM), { fontWeight: 'var(--plasma-typo-dspl-m-bold-font-weight)' }); | ||
export var dsplS = { | ||
@@ -40,3 +38,2 @@ fontFamily: 'var(--plasma-typo-dspl-s-font-family)', | ||
}; | ||
export var dsplSBold = __assign(__assign({}, dsplS), { fontWeight: 'var(--plasma-typo-dspl-s-bold-font-weight)' }); | ||
export var h1 = { | ||
@@ -50,3 +47,2 @@ fontFamily: 'var(--plasma-typo-h1-font-family)', | ||
}; | ||
export var h1Bold = __assign(__assign({}, h1), { fontWeight: 'var(--plasma-typo-h1-bold-font-weight)' }); | ||
export var h2 = { | ||
@@ -60,3 +56,2 @@ fontFamily: 'var(--plasma-typo-h2-font-family)', | ||
}; | ||
export var h2Bold = __assign(__assign({}, h2), { fontWeight: 'var(--plasma-typo-h2-bold-font-weight)' }); | ||
export var h3 = { | ||
@@ -70,3 +65,2 @@ fontFamily: 'var(--plasma-typo-h3-font-family)', | ||
}; | ||
export var h3Bold = __assign(__assign({}, h3), { fontWeight: 'var(--plasma-typo-h3-bold-font-weight)' }); | ||
export var h4 = { | ||
@@ -80,3 +74,2 @@ fontFamily: 'var(--plasma-typo-h4-font-family)', | ||
}; | ||
export var h4Bold = __assign(__assign({}, h4), { fontWeight: 'var(--plasma-typo-h4-bold-font-weight)' }); | ||
export var h5 = { | ||
@@ -90,3 +83,2 @@ fontFamily: 'var(--plasma-typo-h5-font-family)', | ||
}; | ||
export var h5Bold = __assign(__assign({}, h5), { fontWeight: 'var(--plasma-typo-h5-bold-font-weight)' }); | ||
export var bodyL = { | ||
@@ -93,0 +85,0 @@ fontFamily: 'var(--plasma-typo-body-l-font-family)', |
{ | ||
"name": "@salutejs/plasma-typo", | ||
"version": "0.5.0-canary.7.2268967435.0", | ||
"version": "0.5.0-canary.16.2280099367.0", | ||
"description": "Plasma Typography System's tokens", | ||
@@ -17,3 +17,3 @@ "author": "Salute Frontend Team <salute.developers@gmail.com>", | ||
"peerDependencies": { | ||
"@salutejs/plasma-core": "1.56.0", | ||
"@salutejs/plasma-core": ">=1.57.0", | ||
"react": ">=16.13.1", | ||
@@ -24,3 +24,3 @@ "react-dom": ">=16.13.1", | ||
"devDependencies": { | ||
"@salutejs/plasma-core": "1.58.0-canary.7.2268967435.0", | ||
"@salutejs/plasma-core": "1.58.0-canary.16.2280099367.0", | ||
"@types/node": "16.7.13", | ||
@@ -43,3 +43,3 @@ "@types/react": "16.9.38", | ||
"sideEffects": false, | ||
"gitHead": "cb789330f438b10d68b606b4eba363ffe77bc61d" | ||
"gitHead": "2e347b1c0499abd2137fb7909906691374fbabd6" | ||
} |
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
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
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
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
126404
1678