oolib 2.136.0 → 2.137.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PercentBarChart/comps/CustomizedLabel/index.d.ts +2 -3
- package/dist/components/PercentBarChart/comps/CustomizedLabel/index.js +9 -3
- package/dist/components/PercentBarChart/index.d.ts +3 -1
- package/dist/components/PercentBarChart/index.js +7 -13
- package/dist/stories/Oolib/components/PercentBarChart.stories.js +4 -4
- package/dist/stories/v2/themes/Typo.stories.js +1 -0
- package/dist/v2/components/Typo2/index.d.ts +1 -0
- package/dist/v2/components/Typo2/index.js +3 -1
- package/dist/v2/components/Typo2/index.styled.d.ts +1 -0
- package/dist/v2/components/Typo2/index.styled.js +23 -22
- package/dist/v2/themes/typo.d.ts +1 -0
- package/dist/v2/themes/typo.js +23 -21
- package/package.json +1 -1
|
@@ -5,14 +5,13 @@ type TCustomizedLabeValue = {
|
|
|
5
5
|
count: number;
|
|
6
6
|
name: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const CustomizedLabel: ({ y, width, height, value,
|
|
8
|
+
export declare const CustomizedLabel: ({ y, width, height, value, plotDataPoint, opacity, _base_configs, onMouseOver, onMouseOut, onMouseDown, }: {
|
|
9
9
|
y?: number | string;
|
|
10
10
|
width?: number | string;
|
|
11
11
|
height?: number | string;
|
|
12
12
|
value?: TCustomizedLabeValue;
|
|
13
13
|
opacity: number;
|
|
14
|
-
|
|
15
|
-
showCount?: boolean;
|
|
14
|
+
plotDataPoint?: "percentage" | "count";
|
|
16
15
|
_base_configs: TBaseConfigs;
|
|
17
16
|
onMouseOver?: (e: React.MouseEvent<SVGRectElement, MouseEvent>, v: TCustomizedLabeValue) => void;
|
|
18
17
|
onMouseOut?: (e: React.MouseEvent<SVGRectElement, MouseEvent>, v: TCustomizedLabeValue) => void;
|
|
@@ -8,7 +8,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var themes_1 = require("../../../../themes");
|
|
9
9
|
var CustomizedLabel = function (_a) {
|
|
10
10
|
var y = _a.y, width = _a.width, //i think this is the width and the height of the bar. dont need it just yet..
|
|
11
|
-
height = _a.height, value = _a.value,
|
|
11
|
+
height = _a.height, value = _a.value, plotDataPoint = _a.plotDataPoint, opacity = _a.opacity, _base_configs = _a._base_configs, onMouseOver = _a.onMouseOver, onMouseOut = _a.onMouseOut, onMouseDown = _a.onMouseDown;
|
|
12
12
|
var yOffset = -(_base_configs.labelToBarGap + _base_configs.barHeight);
|
|
13
13
|
var percent = value.percentage;
|
|
14
14
|
var count = value.count;
|
|
@@ -16,8 +16,14 @@ var CustomizedLabel = function (_a) {
|
|
|
16
16
|
var percentXOffset = 0;
|
|
17
17
|
var xOffsetRelative = 10;
|
|
18
18
|
return (react_1.default.createElement("g", null,
|
|
19
|
-
react_1.default.createElement("text", { opacity: opacity, x: percentXOffset, y: y + yOffset, fill: themes_1.colors.greyColor100, textAnchor: "start", dominantBaseline: "middle", className: "UI_BODY_BOLD_SM" },
|
|
20
|
-
|
|
19
|
+
react_1.default.createElement("text", { opacity: opacity, x: percentXOffset, y: y + yOffset, fill: themes_1.colors.greyColor100, textAnchor: "start", dominantBaseline: "middle", className: "UI_BODY_BOLD_SM" },
|
|
20
|
+
plotDataPoint === "percentage"
|
|
21
|
+
? percent + "%"
|
|
22
|
+
: plotDataPoint === "count"
|
|
23
|
+
? count
|
|
24
|
+
: "",
|
|
25
|
+
plotDataPoint === "percentage" && ( // basically no need to show this only if plotDataPoint is count, since in that case, count is already shown above
|
|
26
|
+
react_1.default.createElement("tspan", { className: "UI_BODY_SM", dx: xOffsetRelative, y: y + yOffset, fill: themes_1.colors.greyColor80 }, count)),
|
|
21
27
|
react_1.default.createElement("tspan", { className: "UI_BODY_SM", dx: xOffsetRelative, y: y + yOffset, fill: themes_1.colors.greyColor80 }, name)),
|
|
22
28
|
react_1.default.createElement("rect", { onMouseDown: function (e) { return onMouseDown === null || onMouseDown === void 0 ? void 0 : onMouseDown(e, value); }, onMouseOver: function (e) { return onMouseOver === null || onMouseOver === void 0 ? void 0 : onMouseOver(e, value); }, onMouseOut: function (e) { return onMouseOut === null || onMouseOut === void 0 ? void 0 : onMouseOut(e, value); }, x: percentXOffset, y: y + _base_configs.mouseEventDetectorYOffset, width: width, height: _base_configs.mouseEventDetectorHeight, fill: "red", "fill-opacity": _base_configs.mouseEventDetectorOpacity })));
|
|
23
29
|
};
|
|
@@ -7,7 +7,7 @@ export type TBaseConfigs = {
|
|
|
7
7
|
mouseEventDetectorHeight: number;
|
|
8
8
|
mouseEventDetectorOpacity: number;
|
|
9
9
|
};
|
|
10
|
-
export declare const PercentBarChart: ({ data: _data, title, valuePath, labelPath, onClick, colors, colorIdx,
|
|
10
|
+
export declare const PercentBarChart: ({ data: _data, title, valuePath, labelPath, onClick, colors, colorIdx, plotDataPoint, }: {
|
|
11
11
|
data: any;
|
|
12
12
|
valuePath: string;
|
|
13
13
|
labelPath: string;
|
|
@@ -16,5 +16,7 @@ export declare const PercentBarChart: ({ data: _data, title, valuePath, labelPat
|
|
|
16
16
|
colors?: string[];
|
|
17
17
|
colorIdx?: number;
|
|
18
18
|
valueSuffix?: string;
|
|
19
|
+
plotDataPoint?: 'percentage' | 'count';
|
|
19
20
|
showCount?: boolean;
|
|
21
|
+
showPercent?: boolean;
|
|
20
22
|
}) => React.JSX.Element;
|
|
@@ -83,28 +83,23 @@ var PercentBarChart = function (_a) {
|
|
|
83
83
|
_c = _a.labelPath, // is relevant only for the initial data setting in useMemo. after that, the actual percentage is always stored against the 'percentage' key, and the count against the 'count' key
|
|
84
84
|
labelPath = _c === void 0 ? "name" : _c, // same as above for label path
|
|
85
85
|
onClick = _a.onClick, _d = _a.colors, colors = _d === void 0 ? chartColors : _d, _e = _a.colorIdx, colorIdx = _e === void 0 ? 0 : _e, //if you are rendering a grid of such charts, then maybe you want each of their colors to be different. in that case, increment this idx from the parent component
|
|
86
|
-
_f = _a.
|
|
87
|
-
|
|
86
|
+
_f = _a.plotDataPoint, //if you are rendering a grid of such charts, then maybe you want each of their colors to be different. in that case, increment this idx from the parent component
|
|
87
|
+
plotDataPoint = _f === void 0 ? 'percentage' : _f;
|
|
88
88
|
var totalCount = (0, getTotalCount_1.getTotalCount)({ data: _data, countPath: valuePath });
|
|
89
89
|
var data = (0, react_1.useMemo)(function () {
|
|
90
90
|
var finalData = __spreadArray([], _data, true);
|
|
91
91
|
finalData = finalData.map(function (d, i) {
|
|
92
|
-
var percentage = (0, _EXPORTS_1.getPercentage)((0, _EXPORTS_1.getVal)(d, valuePath), totalCount);
|
|
93
92
|
var count = (0, _EXPORTS_1.getVal)(d, valuePath);
|
|
94
93
|
return ({
|
|
95
|
-
labels: {
|
|
96
|
-
percentage: percentage,
|
|
97
|
-
count: count,
|
|
98
|
-
name: (0, _EXPORTS_1.getVal)(d, labelPath),
|
|
99
|
-
},
|
|
94
|
+
labels: __assign(__assign({}, (plotDataPoint === 'percentage' ? { percentage: (0, _EXPORTS_1.getPercentage)((0, _EXPORTS_1.getVal)(d, valuePath), totalCount) } : {})), { count: count, name: (0, _EXPORTS_1.getVal)(d, labelPath) }),
|
|
100
95
|
});
|
|
101
96
|
});
|
|
102
97
|
finalData.sort(function (a, b) {
|
|
103
|
-
return Number(b.
|
|
98
|
+
return Number((0, _EXPORTS_1.getVal)(b, "labels.".concat(plotDataPoint)) || 0) - Number((0, _EXPORTS_1.getVal)(a, "labels.".concat(plotDataPoint)) || 0);
|
|
104
99
|
});
|
|
105
100
|
return finalData;
|
|
106
101
|
}, [_data, labelPath, valuePath]);
|
|
107
|
-
var
|
|
102
|
+
var _g = (0, react_1.useState)(undefined), activeBar = _g[0], setActiveBar = _g[1];
|
|
108
103
|
var changeBarOpacityFn = function (name) {
|
|
109
104
|
return activeBar && activeBar !== name ? 0.4 : 1;
|
|
110
105
|
};
|
|
@@ -137,13 +132,12 @@ var PercentBarChart = function (_a) {
|
|
|
137
132
|
} },
|
|
138
133
|
react_1.default.createElement(recharts_1.XAxis, { hide: true, type: "number" }),
|
|
139
134
|
react_1.default.createElement(recharts_1.YAxis, { hide: true, type: "category" }),
|
|
140
|
-
react_1.default.createElement(recharts_1.Bar, { radius: _base_configs.barRadius, style: onClick ? { cursor: "pointer" } : {}, dataKey: "labels.
|
|
135
|
+
react_1.default.createElement(recharts_1.Bar, { radius: _base_configs.barRadius, style: onClick ? { cursor: "pointer" } : {}, dataKey: "labels.".concat(plotDataPoint) },
|
|
141
136
|
react_1.default.createElement(recharts_1.LabelList, { dataKey: "labels", offset: 0, content: function (props) { return react_1.default.createElement(CustomizedLabel_1.CustomizedLabel, __assign({ y: props.y,
|
|
142
137
|
width: props.width,
|
|
143
138
|
height: props.height,
|
|
144
139
|
value: props.value, //here value is the percentage
|
|
145
|
-
|
|
146
|
-
opacity: changeBarOpacityFn(props.value.name), _base_configs: _base_configs }, (onClick
|
|
140
|
+
plotDataPoint: plotDataPoint, opacity: changeBarOpacityFn(props.value.name), _base_configs: _base_configs }, (onClick
|
|
147
141
|
? {
|
|
148
142
|
onMouseOver: function (e, value) { return setActiveBar(value.name); },
|
|
149
143
|
onMouseOut: function () { return setActiveBar(undefined); },
|
|
@@ -10,10 +10,10 @@ exports.default = {
|
|
|
10
10
|
title: "Components/PercentBarChart",
|
|
11
11
|
};
|
|
12
12
|
var data = [
|
|
13
|
-
{ display:
|
|
14
|
-
{ display:
|
|
15
|
-
{ display:
|
|
16
|
-
{ display:
|
|
13
|
+
{ display: 'Logged In Once', value: 60 },
|
|
14
|
+
{ display: 'Registered Users', value: 100 },
|
|
15
|
+
{ display: 'Created Profile', value: 20 },
|
|
16
|
+
{ display: 'Wrote at least 1 story', value: 8 }
|
|
17
17
|
];
|
|
18
18
|
var PercentBarChart_ = function (args) {
|
|
19
19
|
var handleBarClick = function (name) {
|
|
@@ -86,6 +86,7 @@ var UIFont = function (args) { return (react_1.default.createElement("div", { st
|
|
|
86
86
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_BODY, compName: "UI_BODY" }),
|
|
87
87
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_BODY_BOLD, compName: "UI_BODY_BOLD" }),
|
|
88
88
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_BODY_SM, compName: "UI_BODY_SM" }),
|
|
89
|
+
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_BODY_SEMIBOLD, compName: "UI_BODY_SEMIBOLD" }),
|
|
89
90
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_BODY_BOLD_SM, compName: "UI_BODY_BOLD_SM" }),
|
|
90
91
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_PARAGRAPH, compName: "UI_PARAGRAPH" }),
|
|
91
92
|
react_1.default.createElement(GenComp, { args: args, Comp: Typo2_1.UI_PARAGRAPH_BOLD, compName: "UI_PARAGRAPH_BOLD" }),
|
|
@@ -33,6 +33,7 @@ export declare const UI_CARDTITLE: React.FunctionComponent<TypoCompProps>;
|
|
|
33
33
|
export declare const UI_CARDTITLE_BOLD: React.FunctionComponent<TypoCompProps>;
|
|
34
34
|
export declare const UI_BODY: React.FunctionComponent<TypoCompProps>;
|
|
35
35
|
export declare const UI_BODY_SM: React.FunctionComponent<TypoCompProps>;
|
|
36
|
+
export declare const UI_BODY_SEMIBOLD: React.FunctionComponent<TypoCompProps>;
|
|
36
37
|
export declare const UI_BODY_BOLD: React.FunctionComponent<TypoCompProps>;
|
|
37
38
|
export declare const UI_BODY_BOLD_SM: React.FunctionComponent<TypoCompProps>;
|
|
38
39
|
export declare const UI_PARAGRAPH: React.FunctionComponent<TypoCompProps>;
|
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.TypoV2ClassesProvider = exports.CONTENT_BODY_POSTIT = exports.CONTENT_TITLE_POSTIT = exports.CONTENT_QUOTE = exports.CONTENT_BODY_BOLD_ITALIC = exports.CONTENT_BODY_ITALIC = exports.CONTENT_BODY_BOLD = exports.CONTENT_BODY = exports.CONTENT_H3 = exports.CONTENT_H2 = exports.CONTENT_H1 = exports.UI_STAT_SM = exports.UI_STAT_LG = exports.UI_HELPTEXT = exports.UI_TAG = exports.UI_CAPTION = exports.UI_PARAGRAPH_BOLD = exports.UI_PARAGRAPH = exports.UI_BODY_BOLD_SM = exports.UI_BODY_BOLD = exports.UI_BODY_SM = exports.UI_BODY = exports.UI_CARDTITLE_BOLD = exports.UI_CARDTITLE = exports.UI_TITLE_SM = exports.UI_TITLE = exports.UI_HEADLINE_SM = exports.UI_HEADLINE = exports.UI_DISPLAY = void 0;
|
|
28
|
+
exports.TypoV2ClassesProvider = exports.CONTENT_BODY_POSTIT = exports.CONTENT_TITLE_POSTIT = exports.CONTENT_QUOTE = exports.CONTENT_BODY_BOLD_ITALIC = exports.CONTENT_BODY_ITALIC = exports.CONTENT_BODY_BOLD = exports.CONTENT_BODY = exports.CONTENT_H3 = exports.CONTENT_H2 = exports.CONTENT_H1 = exports.UI_STAT_SM = exports.UI_STAT_LG = exports.UI_HELPTEXT = exports.UI_TAG = exports.UI_CAPTION = exports.UI_PARAGRAPH_BOLD = exports.UI_PARAGRAPH = exports.UI_BODY_BOLD_SM = exports.UI_BODY_BOLD = exports.UI_BODY_SEMIBOLD = exports.UI_BODY_SM = exports.UI_BODY = exports.UI_CARDTITLE_BOLD = exports.UI_CARDTITLE = exports.UI_TITLE_SM = exports.UI_TITLE = exports.UI_HEADLINE_SM = exports.UI_HEADLINE = exports.UI_DISPLAY = void 0;
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var index_styled_1 = require("./index.styled");
|
|
31
31
|
var utilsOolib_1 = require("../../../utilsOolib");
|
|
@@ -89,6 +89,8 @@ var UI_BODY = function (props) { return react_1.default.createElement(GenComp, {
|
|
|
89
89
|
exports.UI_BODY = UI_BODY;
|
|
90
90
|
var UI_BODY_SM = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_SM_STYLED }); };
|
|
91
91
|
exports.UI_BODY_SM = UI_BODY_SM;
|
|
92
|
+
var UI_BODY_SEMIBOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_SEMIBOLD_STYLED }); };
|
|
93
|
+
exports.UI_BODY_SEMIBOLD = UI_BODY_SEMIBOLD;
|
|
92
94
|
var UI_BODY_BOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_BOLD_STYLED }); };
|
|
93
95
|
exports.UI_BODY_BOLD = UI_BODY_BOLD;
|
|
94
96
|
var UI_BODY_BOLD_SM = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_BOLD_SM_STYLED }); };
|
|
@@ -7,6 +7,7 @@ export declare const UI_CARDTITLE_STYLED: import("styled-components").StyledComp
|
|
|
7
7
|
export declare const UI_CARDTITLE_BOLD_STYLED: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
8
8
|
export declare const UI_BODY_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
9
9
|
export declare const UI_BODY_SM_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
10
|
+
export declare const UI_BODY_SEMIBOLD_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
10
11
|
export declare const UI_BODY_BOLD_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
11
12
|
export declare const UI_BODY_BOLD_SM_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
12
13
|
export declare const UI_PARAGRAPH_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -7,7 +7,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7
7
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.TYPO_V2_CLASSES = exports.CONTENT_BODY_POSTIT_STYLED = exports.CONTENT_TITLE_POSTIT_STYLED = exports.CONTENT_QUOTE_STYLED = exports.CONTENT_BODY_BOLD_ITALIC_STYLED = exports.CONTENT_BODY_ITALIC_STYLED = exports.CONTENT_BODY_BOLD_STYLED = exports.CONTENT_BODY_STYLED = exports.CONTENT_H3_STYLED = exports.CONTENT_H2_STYLED = exports.CONTENT_H1_STYLED = exports.UI_STAT_SM_STYLED = exports.UI_STAT_LG_STYLED = exports.UI_HELPTEXT_STYLED = exports.UI_TAG_STYLED = exports.UI_CAPTION_STYLED = exports.UI_PARAGRAPH_BOLD_STYLED = exports.UI_PARAGRAPH_STYLED = exports.UI_BODY_BOLD_SM_STYLED = exports.UI_BODY_BOLD_STYLED = exports.UI_BODY_SM_STYLED = exports.UI_BODY_STYLED = exports.UI_CARDTITLE_BOLD_STYLED = exports.UI_CARDTITLE_STYLED = exports.UI_TITLE_SM_STYLED = exports.UI_TITLE_STYLED = exports.UI_HEADLINE_SM_STYLED = exports.UI_HEADLINE_STYLED = exports.UI_DISPLAY_STYLED = void 0;
|
|
10
|
+
exports.TYPO_V2_CLASSES = exports.CONTENT_BODY_POSTIT_STYLED = exports.CONTENT_TITLE_POSTIT_STYLED = exports.CONTENT_QUOTE_STYLED = exports.CONTENT_BODY_BOLD_ITALIC_STYLED = exports.CONTENT_BODY_ITALIC_STYLED = exports.CONTENT_BODY_BOLD_STYLED = exports.CONTENT_BODY_STYLED = exports.CONTENT_H3_STYLED = exports.CONTENT_H2_STYLED = exports.CONTENT_H1_STYLED = exports.UI_STAT_SM_STYLED = exports.UI_STAT_LG_STYLED = exports.UI_HELPTEXT_STYLED = exports.UI_TAG_STYLED = exports.UI_CAPTION_STYLED = exports.UI_PARAGRAPH_BOLD_STYLED = exports.UI_PARAGRAPH_STYLED = exports.UI_BODY_BOLD_SM_STYLED = exports.UI_BODY_BOLD_STYLED = exports.UI_BODY_SEMIBOLD_STYLED = exports.UI_BODY_SM_STYLED = exports.UI_BODY_STYLED = exports.UI_CARDTITLE_BOLD_STYLED = exports.UI_CARDTITLE_STYLED = exports.UI_TITLE_SM_STYLED = exports.UI_TITLE_STYLED = exports.UI_HEADLINE_SM_STYLED = exports.UI_HEADLINE_STYLED = exports.UI_DISPLAY_STYLED = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var typo_1 = require("../../themes/typo");
|
|
13
13
|
// UI Fonts
|
|
@@ -20,27 +20,28 @@ exports.UI_CARDTITLE_STYLED = styled_components_1.default.h3(templateObject_6 ||
|
|
|
20
20
|
exports.UI_CARDTITLE_BOLD_STYLED = styled_components_1.default.h3(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_CARDTITLE_BOLD);
|
|
21
21
|
exports.UI_BODY_STYLED = styled_components_1.default.p(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_BODY);
|
|
22
22
|
exports.UI_BODY_SM_STYLED = styled_components_1.default.p(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_BODY_SM);
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
23
|
+
exports.UI_BODY_SEMIBOLD_STYLED = styled_components_1.default.p(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_BODY_SEMIBOLD);
|
|
24
|
+
exports.UI_BODY_BOLD_STYLED = styled_components_1.default.p(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typo_1.typo.UI_BODY_BOLD);
|
|
25
|
+
exports.UI_BODY_BOLD_SM_STYLED = styled_components_1.default.p(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_BODY_BOLD_SM);
|
|
26
|
+
exports.UI_PARAGRAPH_STYLED = styled_components_1.default.p(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_PARAGRAPH);
|
|
27
|
+
exports.UI_PARAGRAPH_BOLD_STYLED = styled_components_1.default.p(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_PARAGRAPH_BOLD);
|
|
28
|
+
exports.UI_CAPTION_STYLED = styled_components_1.default.p(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_CAPTION);
|
|
29
|
+
exports.UI_TAG_STYLED = styled_components_1.default.p(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_TAG);
|
|
30
|
+
exports.UI_HELPTEXT_STYLED = styled_components_1.default.p(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_HELPTEXT);
|
|
31
|
+
exports.UI_STAT_LG_STYLED = styled_components_1.default.h2(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_STAT_LG);
|
|
32
|
+
exports.UI_STAT_SM_STYLED = styled_components_1.default.h3(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
|
|
32
33
|
// Content Fonts
|
|
33
34
|
])), typo_1.typo.UI_STAT_SM);
|
|
34
35
|
// Content Fonts
|
|
35
|
-
exports.CONTENT_H1_STYLED = styled_components_1.default.h1(
|
|
36
|
-
exports.CONTENT_H2_STYLED = styled_components_1.default.h2(
|
|
37
|
-
exports.CONTENT_H3_STYLED = styled_components_1.default.h3(
|
|
38
|
-
exports.CONTENT_BODY_STYLED = styled_components_1.default.p(
|
|
39
|
-
exports.CONTENT_BODY_BOLD_STYLED = styled_components_1.default.p(
|
|
40
|
-
exports.CONTENT_BODY_ITALIC_STYLED = styled_components_1.default.p(
|
|
41
|
-
exports.CONTENT_BODY_BOLD_ITALIC_STYLED = styled_components_1.default.p(
|
|
42
|
-
exports.CONTENT_QUOTE_STYLED = styled_components_1.default.h4(
|
|
43
|
-
exports.CONTENT_TITLE_POSTIT_STYLED = styled_components_1.default.p(
|
|
44
|
-
exports.CONTENT_BODY_POSTIT_STYLED = styled_components_1.default.p(
|
|
45
|
-
exports.TYPO_V2_CLASSES = styled_components_1.default.div(
|
|
46
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29;
|
|
36
|
+
exports.CONTENT_H1_STYLED = styled_components_1.default.h1(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n ", " \n "], ["\n ", " \n "])), typo_1.typo.CONTENT_H1);
|
|
37
|
+
exports.CONTENT_H2_STYLED = styled_components_1.default.h2(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n ", " \n"], ["\n ", " \n"])), typo_1.typo.CONTENT_H2);
|
|
38
|
+
exports.CONTENT_H3_STYLED = styled_components_1.default.h3(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n ", " \n"], ["\n ", " \n"])), typo_1.typo.CONTENT_H3);
|
|
39
|
+
exports.CONTENT_BODY_STYLED = styled_components_1.default.p(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY);
|
|
40
|
+
exports.CONTENT_BODY_BOLD_STYLED = styled_components_1.default.p(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_BOLD);
|
|
41
|
+
exports.CONTENT_BODY_ITALIC_STYLED = styled_components_1.default.p(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_ITALIC);
|
|
42
|
+
exports.CONTENT_BODY_BOLD_ITALIC_STYLED = styled_components_1.default.p(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_BOLD_ITALIC);
|
|
43
|
+
exports.CONTENT_QUOTE_STYLED = styled_components_1.default.h4(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_QUOTE);
|
|
44
|
+
exports.CONTENT_TITLE_POSTIT_STYLED = styled_components_1.default.p(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_TITLE_POSTIT);
|
|
45
|
+
exports.CONTENT_BODY_POSTIT_STYLED = styled_components_1.default.p(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_POSTIT);
|
|
46
|
+
exports.TYPO_V2_CLASSES = styled_components_1.default.div(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n .UI_DISPLAY {\n ", "\n }\n\n .UI_HEADLINE {\n ", "\n }\n\n .UI_HEADLINE_SM {\n ", "\n }\n\n .UI_TITLE {\n ", "\n }\n\n\n .UI_TITLE_SM {\n ", "\n }\n\n .UI_CARDTITLE {\n ", "\n }\n \n .UI_CARDTITLE_BOLD {\n ", "\n }\n\n .UI_BODY {\n ", "\n }\n\n .UI_BODY_SM {\n ", "\n }\n\n .UI_BODY_SEMIBOLD {\n ", "\n }\n\n .UI_BODY_BOLD {\n ", "\n }\n\n .UI_BODY_BOLD_SM {\n ", "\n }\n\n .UI_PARAGRAPH {\n ", "\n }\n\n .UI_PARAGRAPH_BOLD {\n ", "\n }\n\n .UI_CAPTION {\n ", "\n }\n\n \n .UI_TAG {\n ", "\n }\n \n .UI_HELPTEXT {\n ", "\n }\n\n .UI_STAT_LG {\n ", "\n }\n\n .UI_STAT_SM {\n ", "\n }\n\n\n .CONTENT_H1 {\n ", "\n }\n .CONTENT_H2 {\n ", "\n }\n .CONTENT_H3 {\n ", "\n }\n .CONTENT_BODY {\n ", "\n }\n\n .CONTENT_BODY_BOLD {\n ", "\n }\n .CONTENT_BODY_ITALIC {\n ", "\n }\n .CONTENT_BODY_BOLD_ITALIC {\n ", "\n }\n .CONTENT_QUOTE {\n ", "\n }\n\n .CONTENT_TITLE_POSTIT {\n ", "\n }\n .CONTENT_BODY_POSTIT {\n ", "\n }\n"], ["\n .UI_DISPLAY {\n ", "\n }\n\n .UI_HEADLINE {\n ", "\n }\n\n .UI_HEADLINE_SM {\n ", "\n }\n\n .UI_TITLE {\n ", "\n }\n\n\n .UI_TITLE_SM {\n ", "\n }\n\n .UI_CARDTITLE {\n ", "\n }\n \n .UI_CARDTITLE_BOLD {\n ", "\n }\n\n .UI_BODY {\n ", "\n }\n\n .UI_BODY_SM {\n ", "\n }\n\n .UI_BODY_SEMIBOLD {\n ", "\n }\n\n .UI_BODY_BOLD {\n ", "\n }\n\n .UI_BODY_BOLD_SM {\n ", "\n }\n\n .UI_PARAGRAPH {\n ", "\n }\n\n .UI_PARAGRAPH_BOLD {\n ", "\n }\n\n .UI_CAPTION {\n ", "\n }\n\n \n .UI_TAG {\n ", "\n }\n \n .UI_HELPTEXT {\n ", "\n }\n\n .UI_STAT_LG {\n ", "\n }\n\n .UI_STAT_SM {\n ", "\n }\n\n\n .CONTENT_H1 {\n ", "\n }\n .CONTENT_H2 {\n ", "\n }\n .CONTENT_H3 {\n ", "\n }\n .CONTENT_BODY {\n ", "\n }\n\n .CONTENT_BODY_BOLD {\n ", "\n }\n .CONTENT_BODY_ITALIC {\n ", "\n }\n .CONTENT_BODY_BOLD_ITALIC {\n ", "\n }\n .CONTENT_QUOTE {\n ", "\n }\n\n .CONTENT_TITLE_POSTIT {\n ", "\n }\n .CONTENT_BODY_POSTIT {\n ", "\n }\n"])), typo_1.typo.UI_DISPLAY, typo_1.typo.UI_HEADLINE, typo_1.typo.UI_HEADLINE_SM, typo_1.typo.UI_TITLE, typo_1.typo.UI_TITLE_SM, typo_1.typo.UI_CARDTITLE, typo_1.typo.UI_CARDTITLE_BOLD, typo_1.typo.UI_BODY, typo_1.typo.UI_BODY_SM, typo_1.typo.UI_BODY_SEMIBOLD, typo_1.typo.UI_BODY_BOLD, typo_1.typo.UI_BODY_BOLD_SM, typo_1.typo.UI_PARAGRAPH, typo_1.typo.UI_PARAGRAPH_BOLD, typo_1.typo.UI_CAPTION, typo_1.typo.UI_TAG, typo_1.typo.UI_HELPTEXT, typo_1.typo.UI_STAT_LG, typo_1.typo.UI_STAT_SM, typo_1.typo.CONTENT_H1, typo_1.typo.CONTENT_H2, typo_1.typo.CONTENT_H3, typo_1.typo.CONTENT_BODY, typo_1.typo.CONTENT_BODY_BOLD, typo_1.typo.CONTENT_BODY_ITALIC, typo_1.typo.CONTENT_BODY_BOLD_ITALIC, typo_1.typo.CONTENT_QUOTE, typo_1.typo.CONTENT_TITLE_POSTIT, typo_1.typo.CONTENT_BODY_POSTIT);
|
|
47
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30;
|
package/dist/v2/themes/typo.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const typo: {
|
|
|
8
8
|
UI_CARDTITLE_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
9
9
|
UI_BODY: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
10
10
|
UI_BODY_SM: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
11
|
+
UI_BODY_SEMIBOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
11
12
|
UI_BODY_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
12
13
|
UI_BODY_BOLD_SM: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
13
14
|
UI_PARAGRAPH: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
package/dist/v2/themes/typo.js
CHANGED
|
@@ -27,29 +27,30 @@ var UI_TITLE_SM = (0, styled_components_1.css)(templateObject_8 || (templateObje
|
|
|
27
27
|
var UI_CARDTITLE = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 400;\n ", ";\n", ";\n"], ["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 400;\n ", ";\n", ";\n"])), uiFont, fontCss);
|
|
28
28
|
var UI_CARDTITLE_BOLD = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
29
29
|
var UI_BODY = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 400;\n ", ";\n", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 400;\n ", ";\n", ";\n"])), uiFont, fontCss);
|
|
30
|
-
var UI_BODY_SM = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n ", ";\n", ";\n"], ["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n ", ";\n", ";\n"])), uiFont, fontCss);
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
30
|
+
var UI_BODY_SM = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
31
|
+
var UI_BODY_SEMIBOLD = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 18.2px;\n font-weight: 500;\n ", "\n ", "\n"], ["\n font-size: 14px;\n line-height: 18.2px;\n font-weight: 500;\n ", "\n ", "\n"])), uiFont, fontCss);
|
|
32
|
+
var UI_BODY_BOLD = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
33
|
+
var UI_BODY_BOLD_SM = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
34
|
+
var UI_PARAGRAPH = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 20.44px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 20.44px;\n font-weight: 400;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
35
|
+
var UI_PARAGRAPH_BOLD = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 21px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 21px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
36
|
+
var UI_CAPTION = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: 11px;\n line-height: 11px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 11px;\n line-height: 11px;\n font-weight: 400;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
37
|
+
var UI_TAG = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n font-size: 10px;\n line-height: 10px;\n font-weight: 700; \n text-transform: uppercase;\n letter-spacing: 1px;\n ", ";\n ", ";\n"], ["\n font-size: 10px;\n line-height: 10px;\n font-weight: 700; \n text-transform: uppercase;\n letter-spacing: 1px;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
38
|
+
var UI_HELPTEXT = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400; \n ", ";\n ", ";\n"], ["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400; \n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
39
|
+
var UI_STAT_LG = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n font-size: 24px;\n line-height: 24px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 24px;\n line-height: 24px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
40
|
+
var UI_STAT_SM = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
41
|
+
var CONTENT_H1 = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n font-size: 36px;\n line-height: 50.4px;\n font-weight: 700;\n ", ";\n ", ";\n "], ["\n font-size: 36px;\n line-height: 50.4px;\n font-weight: 700;\n ", ";\n ", ";\n "])), contentFont, fontCss);
|
|
42
|
+
var CONTENT_H2 = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n font-size: 25px;\n line-height: 35px;\n font-weight: 700;\n ", ";\n ", ";\n "], ["\n font-size: 25px;\n line-height: 35px;\n font-weight: 700;\n ", ";\n ", ";\n "])), contentFont, fontCss);
|
|
43
|
+
var CONTENT_H3 = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n font-size: 18px;\n line-height: 25.2px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 18px;\n line-height: 25.2px;\n font-weight: 700;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
44
|
+
var CONTENT_BODY = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
45
|
+
var CONTENT_BODY_BOLD = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
46
|
+
var CONTENT_BODY_ITALIC = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
47
|
+
var CONTENT_BODY_BOLD_ITALIC = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n font-style: italic;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n font-style: italic;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
48
|
+
var CONTENT_QUOTE = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n padding: 0 16px;\n font-size: 24px;\n line-height: 35.04px;\n font-weight: 400;\n font-style: italic;\n position: relative;\n ::before {\n /* Quote line (left) */\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: inherit; \n width: 6px; \n background-color: ", "; // temp colors need to replace with material colors */\n }\n ", ";\n ", ";\n"], ["\n padding: 0 16px;\n font-size: 24px;\n line-height: 35.04px;\n font-weight: 400;\n font-style: italic;\n position: relative;\n ::before {\n /* Quote line (left) */\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: inherit; \n width: 6px; \n background-color: ", "; // temp colors need to replace with material colors */\n }\n ", ";\n ", ";\n"])), function (_a) {
|
|
48
49
|
var invert = _a.invert, colors = _a.theme.colors;
|
|
49
50
|
return invert ? colors.greyColor40 : (0, utilsOolib_1.getPrimaryColor100)(colors);
|
|
50
51
|
}, contentFont, fontCss);
|
|
51
|
-
var CONTENT_TITLE_POSTIT = (0, styled_components_1.css)(
|
|
52
|
-
var CONTENT_BODY_POSTIT = (0, styled_components_1.css)(
|
|
52
|
+
var CONTENT_TITLE_POSTIT = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n font-size: 15px;\n font-style: normal;\n font-weight: 700;\n line-height: 19.5px;\n ", ";\n ", ";\n"], ["\n font-size: 15px;\n font-style: normal;\n font-weight: 700;\n line-height: 19.5px;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
53
|
+
var CONTENT_BODY_POSTIT = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 19.5px;\n ", ";\n ", ";\n"], ["\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 19.5px;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
53
54
|
exports.typo = {
|
|
54
55
|
UI_DISPLAY: UI_DISPLAY,
|
|
55
56
|
UI_HEADLINE: UI_HEADLINE,
|
|
@@ -60,6 +61,7 @@ exports.typo = {
|
|
|
60
61
|
UI_CARDTITLE_BOLD: UI_CARDTITLE_BOLD,
|
|
61
62
|
UI_BODY: UI_BODY,
|
|
62
63
|
UI_BODY_SM: UI_BODY_SM,
|
|
64
|
+
UI_BODY_SEMIBOLD: UI_BODY_SEMIBOLD,
|
|
63
65
|
UI_BODY_BOLD: UI_BODY_BOLD,
|
|
64
66
|
UI_BODY_BOLD_SM: UI_BODY_BOLD_SM,
|
|
65
67
|
UI_PARAGRAPH: UI_PARAGRAPH,
|
|
@@ -80,4 +82,4 @@ exports.typo = {
|
|
|
80
82
|
CONTENT_TITLE_POSTIT: CONTENT_TITLE_POSTIT,
|
|
81
83
|
CONTENT_BODY_POSTIT: CONTENT_BODY_POSTIT
|
|
82
84
|
};
|
|
83
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31;
|
|
85
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
|